summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
Diffstat (limited to 'skia')
-rw-r--r--skia/config/SkUserConfig.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index 9e5c364b..ae8015d 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -129,6 +129,13 @@
#define SK_SUPPORT_UNITTEST
#endif
+/* If this is not defined, skia dithers gradients. Turning this on will make
+ gradients look better, but might have a performance impact. When it's turned
+ on, several webkit pixel tests will need to be rebaselined, too.
+ http://crbug.com/41756
+ */
+#define SK_DISABLE_DITHER_32BIT_GRADIENT
+
// ===== Begin Chrome-specific definitions =====
#define SK_SCALAR_IS_FLOAT