aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/flags/SkCommonFlags.cpp
diff options
context:
space:
mode:
authorGravatar Chris Dalton <csmartdalton@google.com>2018-07-26 12:34:49 -0600
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-27 13:30:17 +0000
commit9acfc6cac2c68ab48121b321ad4e2d14f03224c7 (patch)
treed741076005affbcc58dba8e5d8897c96810f50b9 /tools/flags/SkCommonFlags.cpp
parent55b1e61684548465123e77535c2031c98b4fd66d (diff)
Add kAAHairline to GpuPathRenderers
With the upcoming ccpr stroking, this will no longer be the only path renderer that can handle hairlines. Bug: skia: Change-Id: I45b30ccd578bee1388a3a07a234af76a19768de6 Reviewed-on: https://skia-review.googlesource.com/142272 Commit-Queue: Chris Dalton <csmartdalton@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tools/flags/SkCommonFlags.cpp')
-rw-r--r--tools/flags/SkCommonFlags.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/flags/SkCommonFlags.cpp b/tools/flags/SkCommonFlags.cpp
index 459f65579f..9a8194cadf 100644
--- a/tools/flags/SkCommonFlags.cpp
+++ b/tools/flags/SkCommonFlags.cpp
@@ -161,10 +161,10 @@ DEFINE_bool(cachePathMasks, true, "Allows path mask textures to be cached in GPU
DEFINE_bool(noGS, false, "Disables support for geometry shaders.");
-DEFINE_string(pr, "default",
+DEFINE_string(pr, "all",
"Set of enabled gpu path renderers. Defined as a list of: "
- "[~]all [~]default [~]dashline [~]nvpr [~]aaconvex "
- "[~]aalinearizing [~]small [~]tess]");
+ "[~]none [~]dashline [~]nvpr [~]ccpr [~]aahairline [~]aaconvex [~]aalinearizing "
+ "[~]small [~]tess] [~]all");
void SetCtxOptionsFromCommonFlags(GrContextOptions* ctxOptions) {
static std::unique_ptr<SkExecutor> gGpuExecutor = (0 != FLAGS_gpuThreads)