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

Unified Diff: src/core/SkScan.cpp

Issue 2499723002: Revert of Set analytic AA as default. (Closed)
Patch Set: 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
« no previous file with comments | « src/core/SkAntiRun.h ('k') | src/core/SkScan_AAAPath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkScan.cpp
diff --git a/src/core/SkScan.cpp b/src/core/SkScan.cpp
index 5a02c61b4484a5b90504d6af3fb8777cef25f242..a7ecf31826aec4d9f61c1fffade68f96366908b8 100644
--- a/src/core/SkScan.cpp
+++ b/src/core/SkScan.cpp
@@ -10,10 +10,10 @@
#include "SkBlitter.h"
#include "SkRasterClip.h"
-#ifdef SK_NO_ANALYTIC_AA
+#ifdef SK_ANALYTIC_AA
+ std::atomic<bool> gSkUseAnalyticAA{true};
+#else
std::atomic<bool> gSkUseAnalyticAA{false};
-#else
- std::atomic<bool> gSkUseAnalyticAA{true};
#endif
static inline void blitrect(SkBlitter* blitter, const SkIRect& r) {
« no previous file with comments | « src/core/SkAntiRun.h ('k') | src/core/SkScan_AAAPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698