diff options
author | Yuqian Li <liyuqian@google.com> | 2017-01-13 10:13:13 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-01-13 16:07:48 +0000 |
commit | 550148ba572acc75e73d3c7d600ea7fa43db55f2 (patch) | |
tree | 68814ff1d5d49683928208c2d25ca64ccc18f817 /bench/nanobench.cpp | |
parent | 905a94ff39edae7b86d060b4a13aadc838769398 (diff) |
The only difference is that we now also put the guard flag
SK_SUPPORT_LEGACY_AAA in SkUserConfig.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: I134bb76cebd6fffa712f438076668765321bba3b
Reviewed-on: https://skia-review.googlesource.com/6992
Reviewed-by: Yuqian Li <liyuqian@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'bench/nanobench.cpp')
-rw-r--r-- | bench/nanobench.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp index 34aaee8dd0..7e053198e4 100644 --- a/bench/nanobench.cpp +++ b/bench/nanobench.cpp @@ -1198,6 +1198,10 @@ int nanobench_main() { gSkUseAnalyticAA = FLAGS_analyticAA; + if (FLAGS_forceAnalyticAA) { + gSkForceAnalyticAA = true; + } + int runs = 0; BenchmarkStream benchStream; while (Benchmark* b = benchStream.next()) { |