skia2/tools/flags
Yuqian Li 89a0e72287 Implement Analytic AA for General Paths (with Guard against Chrome)
I've set up a SK_SUPPORT_LEGACY_AAA flag to guard against Chromium layout tests. I also set that flag in this CL so theoretically this CL won't trigger any GM changes. I'll use this to verify my guard, and remove that flag and actually enables concave AAA in a future CL.

When enabled, for most simple concave paths (e.g., rectangle stroke, rrect stroke, sawtooth, stars...), the Analytic AA achieves 1.3x-2x speedup, and they look much prettier. And they probably are the majority in our use cases by number. But they probably are not the majority by time cost; a single complicated path may cost 10x-100x more time to render than a rectangle stroke... For those complicated paths, we fall back to supersampling by default as we're likely to be 1.1-1.2x slower and the quality improvement is not visually significant. However, one can use gSkForceAnalyticAA to disable that fallback.

BUG=skia:

Change-Id: If9549a3acc4a187cfaf7eb51890c148da3083d31
Reviewed-on: https://skia-review.googlesource.com/6091
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>
2017-01-12 17:17:32 +00:00
..
SkCommandLineFlags.cpp Populate ALL copies of a command line flag during parsing 2016-10-24 19:32:55 +00:00
SkCommandLineFlags.h Move SkTDArray to private. 2016-02-18 08:53:33 -08:00
SkCommonFlags.cpp Implement Analytic AA for General Paths (with Guard against Chrome) 2017-01-12 17:17:32 +00:00
SkCommonFlags.h Implement Analytic AA for General Paths (with Guard against Chrome) 2017-01-12 17:17:32 +00:00
SkCommonFlagsConfig.cpp Get latest ANGLE as of January 6, 2017 2017-01-11 15:12:40 +00:00
SkCommonFlagsConfig.h Remove SkAutoTDelete. 2016-11-03 19:03:40 +00:00