mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 688365 - Enable Skia 'New AA' mode. r=jrmuizel
This commit is contained in:
parent
886c69cb88
commit
75646cdbb8
22
gfx/skia/new-aa.patch
Normal file
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
|
||||
|
Loading…
Reference in New Issue
Block a user