From c0e66273f8ad456e02a6d8be6b203356164b3c98 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Wed, 30 Aug 2017 14:41:12 -0400 Subject: Make AA hairline renderer non-optional Change-Id: I0d4166a4e9ea894f479755f9f7137c5941cf8a22 Reviewed-on: https://skia-review.googlesource.com/41081 Reviewed-by: Greg Daniel Commit-Queue: Brian Osman --- tools/flags/SkCommonFlagsPathRenderer.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/flags/SkCommonFlagsPathRenderer.h b/tools/flags/SkCommonFlagsPathRenderer.h index 9a89bb93ea..8ed74aa8fb 100644 --- a/tools/flags/SkCommonFlagsPathRenderer.h +++ b/tools/flags/SkCommonFlagsPathRenderer.h @@ -19,7 +19,7 @@ DECLARE_string(pr); #define DEFINE_pathrenderer_flag \ DEFINE_string(pr, "default", \ "Set of enabled gpu path renderers. Defined as a list of: " \ - "[[~]all [~]default [~]dashline [~]nvpr [~]msaa [~]aahairline [~]aaconvex " \ + "[[~]all [~]default [~]dashline [~]nvpr [~]msaa [~]aaconvex " \ "[~]aalinearizing [~]small [~]tess]") inline GrContextOptions::GpuPathRenderers get_named_pathrenderers_flags(const char* name) { @@ -34,8 +34,6 @@ inline GrContextOptions::GpuPathRenderers get_named_pathrenderers_flags(const ch return GpuPathRenderers::kStencilAndCover; } else if (!strcmp(name, "msaa")) { return GpuPathRenderers::kMSAA; - } else if (!strcmp(name, "aahairline")) { - return GpuPathRenderers::kAAHairline; } else if (!strcmp(name, "aaconvex")) { return GpuPathRenderers::kAAConvex; } else if (!strcmp(name, "aalinearizing")) { -- cgit v1.2.3