diff options
author | liyuqian <liyuqian@google.com> | 2016-11-14 11:17:16 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-14 11:17:16 -0800 |
commit | bfebe22ed54d1e3a00888292f10ed8b9714135d3 (patch) | |
tree | 8167550331439bd1f783e71be9476a0e091fca45 /src/core/SkScan.cpp | |
parent | 286b96f876953c94c178e3abbeb4eab186ad1fef (diff) |
Set analytic AA as default.
We'll use https://codereview.chromium.org/2471123002/ to keep Chrome from using
analytic AA until we fix all the Chrome tests.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2471133002
Committed: https://skia.googlesource.com/skia/+/dca4f6530013cf43a2557ccb07f5cb4fd916b8e8
Review-Url: https://codereview.chromium.org/2471133002
Diffstat (limited to 'src/core/SkScan.cpp')
-rw-r--r-- | src/core/SkScan.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/SkScan.cpp b/src/core/SkScan.cpp index a7ecf31826..5a02c61b44 100644 --- a/src/core/SkScan.cpp +++ b/src/core/SkScan.cpp @@ -10,10 +10,10 @@ #include "SkBlitter.h" #include "SkRasterClip.h" -#ifdef SK_ANALYTIC_AA - std::atomic<bool> gSkUseAnalyticAA{true}; -#else +#ifdef SK_NO_ANALYTIC_AA std::atomic<bool> gSkUseAnalyticAA{false}; +#else + std::atomic<bool> gSkUseAnalyticAA{true}; #endif static inline void blitrect(SkBlitter* blitter, const SkIRect& r) { |