Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: tools/flags/SkCommonFlagsConfig.cpp

Issue 2358173002: GN: take over CommandBuffer bot (Closed)
Patch Set: GYP too Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/TestConfigParsing.cpp ('k') | tools/gpu/GrContextFactory.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/flags/SkCommonFlagsConfig.cpp
diff --git a/tools/flags/SkCommonFlagsConfig.cpp b/tools/flags/SkCommonFlagsConfig.cpp
index 381f9c50f220c6cf6edfaaa0b160f60aa7299656..d0e5f60e4f8a082c2f15947c545c2e186949cadb 100644
--- a/tools/flags/SkCommonFlagsConfig.cpp
+++ b/tools/flags/SkCommonFlagsConfig.cpp
@@ -66,9 +66,7 @@ static const struct {
#endif
,{ "angle-gl", "gpu", "api=angle-gl" }
#endif
-#if SK_COMMAND_BUFFER
,{ "commandbuffer", "gpu", "api=commandbuffer" }
-#endif
#if SK_MESA
,{ "mesa", "gpu", "api=mesa" }
#endif
@@ -122,9 +120,7 @@ static const char configExtendedHelp[] =
#endif
"\t\tangle-gl\t\t\tUse ANGLE OpenGL.\n"
#endif
-#if SK_COMMAND_BUFFER
"\t\tcommandbuffer\t\tUse command buffer.\n"
-#endif
#if SK_MESA
"\t\tmesa\t\t\tUse MESA.\n"
#endif
@@ -249,12 +245,10 @@ static bool parse_option_gpu_api(const SkString& value,
return true;
}
#endif
-#if SK_COMMAND_BUFFER
if (value.equals("commandbuffer")) {
*outContextType = GrContextFactory::kCommandBuffer_ContextType;
return true;
}
-#endif
#if SK_MESA
if (value.equals("mesa")) {
*outContextType = GrContextFactory::kMESA_ContextType;
« no previous file with comments | « tests/TestConfigParsing.cpp ('k') | tools/gpu/GrContextFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698