diff options
author | Brian Salomon <bsalomon@google.com> | 2017-03-06 11:29:48 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-06 17:10:10 +0000 |
commit | 42c456fd20bd45dd02f6d5eb0af7acf04341b1ee (patch) | |
tree | 8ef8bc1815f2725a7d40822c78d12b1ae6f10db6 /tools/flags | |
parent | 0bb6f38e511365670b9917ad76ece6f0bee9e282 (diff) |
Remove PLS path renderer
Change-Id: Ib727b0749a5a7da95832970e79804417e8b6a247
Reviewed-on: https://skia-review.googlesource.com/9300
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tools/flags')
-rw-r--r-- | tools/flags/SkCommonFlagsPathRenderer.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/tools/flags/SkCommonFlagsPathRenderer.h b/tools/flags/SkCommonFlagsPathRenderer.h index 3cab7afb7f..5e0d8fdecd 100644 --- a/tools/flags/SkCommonFlagsPathRenderer.h +++ b/tools/flags/SkCommonFlagsPathRenderer.h @@ -16,11 +16,11 @@ DECLARE_string(pr); -#define DEFINE_pathrenderer_flag \ - DEFINE_string(pr, "all", \ - "Set of enabled gpu path renderers. Defined as a list of: " \ - "[[~]all [~]dashline [~]nvpr [~]msaa [~]aahairline [~]aaconvex " \ - "[~]aalinearizing [~]pls [~]sdf [~]tess [~]grdefault]") +#define DEFINE_pathrenderer_flag \ + DEFINE_string(pr, "all", \ + "Set of enabled gpu path renderers. Defined as a list of: " \ + "[[~]all [~]dashline [~]nvpr [~]msaa [~]aahairline [~]aaconvex " \ + "[~]aalinearizing [~]sdf [~]tess [~]grdefault]") inline GrContextOptions::GpuPathRenderers get_named_pathrenderers_flags(const char* name) { using GpuPathRenderers = GrContextOptions::GpuPathRenderers; @@ -38,8 +38,6 @@ inline GrContextOptions::GpuPathRenderers get_named_pathrenderers_flags(const ch return GpuPathRenderers::kAAConvex; } else if (!strcmp(name, "aalinearizing")) { return GpuPathRenderers::kAALinearizing; - } else if (!strcmp(name, "pls")) { - return GpuPathRenderers::kPLS; } else if (!strcmp(name, "sdf")) { return GpuPathRenderers::kDistanceField; } else if (!strcmp(name, "tess")) { |