diff options
author | Yuqian Li <liyuqian@google.com> | 2017-01-12 15:35:15 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-01-12 21:13:20 +0000 |
commit | b46fff60bc82fe6f0c64b2241d854a121f7cb5f9 (patch) | |
tree | 02dd344b40691317a7847f77200f050622555d9e /tools/flags/SkCommonFlags.cpp | |
parent | 25b60833e7c3dd25f2317b3f0e7af07f04b5beba (diff) |
The only difference is that we now put the guard flag SK_SUPPORT_LEGACY_AAA in
SkUserConfig.h instead of SkScan.h. Previously, SkAnalyticEdge.cpp doesn't get
that flag from SkScan.h and that caused many problems.
BUG=skia:
TBR=reed@google.com,caryclark@google.com
Change-Id: I7b89d3cb64ad71715101d2a5e8e77be3a8a6fa16
Reviewed-on: https://skia-review.googlesource.com/6972
Reviewed-by: Yuqian Li <liyuqian@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'tools/flags/SkCommonFlags.cpp')
-rw-r--r-- | tools/flags/SkCommonFlags.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/flags/SkCommonFlags.cpp b/tools/flags/SkCommonFlags.cpp index 52a5388ddf..0148bcd820 100644 --- a/tools/flags/SkCommonFlags.cpp +++ b/tools/flags/SkCommonFlags.cpp @@ -68,6 +68,10 @@ DEFINE_bool2(pre_log, p, false, "Log before running each test. May be incomprehe DEFINE_bool(analyticAA, true, "If false, disable analytic anti-aliasing"); +DEFINE_bool(forceAnalyticAA, false, "Force analytic anti-aliasing even if the path is complicated: " + "whether it's concave or convex, we consider a path complicated" + "if its number of points is comparable to its resolution."); + bool CollectImages(SkCommandLineFlags::StringArray images, SkTArray<SkString>* output) { SkASSERT(output); |