Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Unified Diff: skia/config/SkUserConfig.h

Issue 2457393004: Turn on Analytic AA in Chrome (Attempt 3) (Closed)
Patch Set: Remove NO_ANALYTIC_AA for the future switch Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: skia/config/SkUserConfig.h
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index f78b40a916a23d29b518e0c9d04551dab1e2487e..b5819dc0e0cb4da04260e98d44842593c04ae5f2 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -228,6 +228,10 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
# define SK_SUPPORT_LEGACY_EVAL_CUBIC
#endif
+#ifndef SK_ANALYTIC_AA
+# define SK_ANALYTIC_AA
+#endif
+
///////////////////////// Imported from BUILD.gn and skia_common.gypi
/* In some places Skia can use static initializers for global initialization,
@@ -261,10 +265,6 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
// Enabling the screenspace AA tessellating path renderer needs rebaselines.
#define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER
-// Disable analytic AA until we fix all the Chrome tests.
-// (we now set analytic AA as default in Skia.)
-#define SK_NO_ANALYTIC_AA
-
// ===== End Chrome-specific definitions =====
#endif

Powered by Google App Engine
This is Rietveld 408576698