aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkScan.cpp
diff options
context:
space:
mode:
authorGravatar Yuqian Li <liyuqian@google.com>2017-11-21 13:34:01 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-21 18:56:19 +0000
commit61170a07191f0483ff405afc620cb0d554063375 (patch)
treef1a35a6592b2fadb400ae970ba34ed46dc34981f /src/core/SkScan.cpp
parent67b190bc3f6ee0035c6bac28974f53c53ec32d6f (diff)
Enable DAA for MSVC
It seems that we don't have to worry about MSVC's performance. If we're worried, we can revert this CL after the run of our perf bots so I can get the latest performance benchmark. A large set of golden images in MSVC config are expected to change with this CL. TBR: mtklein@google.com Merge branch 'master' of https://skia.googlesource.com/skia Change add to toggle in the comments Bug: skia: Change-Id: If682673bab558f87196d4437c405732ba2ffcf87 Reviewed-on: https://skia-review.googlesource.com/74400 Reviewed-by: Yuqian Li <liyuqian@google.com> Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'src/core/SkScan.cpp')
-rw-r--r--src/core/SkScan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkScan.cpp b/src/core/SkScan.cpp
index 307993f310..2603284f32 100644
--- a/src/core/SkScan.cpp
+++ b/src/core/SkScan.cpp
@@ -13,7 +13,7 @@
std::atomic<bool> gSkUseAnalyticAA{true};
std::atomic<bool> gSkForceAnalyticAA{false};
-#if defined(SK_SUPPORT_LEGACY_DELTA_AA) || (defined(_MSC_VER) && !defined(__clang__))
+#if defined(SK_SUPPORT_LEGACY_DELTA_AA)
std::atomic<bool> gSkUseDeltaAA{false};
#else
std::atomic<bool> gSkUseDeltaAA{true};