зеркало из https://github.com/mozilla/pjs.git
Bug 688365 - Enable Skia 'New AA' mode. r=jrmuizel
This commit is contained in:
Родитель
a09fd888f0
Коммит
4c40c77478
|
@ -0,0 +1,22 @@
|
|||
diff --git a/gfx/skia/src/core/SkScan_AntiPath.cpp b/gfx/skia/src/core/SkScan_AntiPath.cpp
|
||||
--- a/gfx/skia/src/core/SkScan_AntiPath.cpp
|
||||
+++ b/gfx/skia/src/core/SkScan_AntiPath.cpp
|
||||
@@ -26,17 +26,17 @@
|
||||
this is often faster for large objects with big spans
|
||||
|
||||
NEW_AA is a set of code-changes to try to make both paths produce identical
|
||||
results. Its not quite there yet, though the remaining differences may be
|
||||
in the subsequent blits, and not in the different masks/runs...
|
||||
*/
|
||||
//#define FORCE_SUPERMASK
|
||||
//#define FORCE_RLE
|
||||
-//#define SK_SUPPORT_NEW_AA
|
||||
+#define SK_SUPPORT_NEW_AA
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class BaseSuperBlitter : public SkBlitter {
|
||||
public:
|
||||
BaseSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir,
|
||||
const SkRegion& clip);
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
*/
|
||||
//#define FORCE_SUPERMASK
|
||||
//#define FORCE_RLE
|
||||
//#define SK_SUPPORT_NEW_AA
|
||||
#define SK_SUPPORT_NEW_AA
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
|
@ -99,3 +99,5 @@ patch -p3 < arm-opts.patch
|
|||
patch -p3 < fix-gradient-clamp.patch
|
||||
# Bug 687189 - Implement SkPaint::getPosTextPath.
|
||||
patch -p3 < getpostextpath.patch
|
||||
# Bug 688365 - Enable Skia 'New AA' mode.
|
||||
patch -p3 < new-aa.patch
|
||||
|
|
Загрузка…
Ссылка в новой задаче