Bug 688365 - Enable Skia 'New AA' mode. r=jrmuizel

This commit is contained in:
Matt Woodrow 2011-10-31 13:47:43 +13:00
Родитель a09fd888f0
Коммит 4c40c77478
3 изменённых файлов: 25 добавлений и 1 удалений

22
gfx/skia/new-aa.patch Normal file
Просмотреть файл

@ -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