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

Unified Diff: tools/flags/SkCommonFlagsConfig.cpp

Issue 1684413003: Implement support for using GL ES 3.0 with command buffer (Closed) Base URL: https://skia.googlesource.com/skia.git@no-texture-rectangle-gles
Patch Set: Created 4 years, 10 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
Index: tools/flags/SkCommonFlagsConfig.cpp
diff --git a/tools/flags/SkCommonFlagsConfig.cpp b/tools/flags/SkCommonFlagsConfig.cpp
index e2aa3270f2dd15ab681476f05cb3e71c45d7bd1b..c3f2932cc98aec755b02026e47c8aef071fbbaed 100644
--- a/tools/flags/SkCommonFlagsConfig.cpp
+++ b/tools/flags/SkCommonFlagsConfig.cpp
@@ -64,6 +64,7 @@ static const char configExtendedHelp[] =
#endif
#if SK_COMMAND_BUFFER
"\t\tcommandbuffer\t\tUse command buffer.\n"
+ "\t\tcommandbuffer3\t\tUse command buffer ES 3.0 (experimental).\n"
#endif
#if SK_MESA
"\t\tmesa\t\t\tUse MESA.\n"
@@ -217,6 +218,10 @@ static bool parse_option_gpu_api(const SkString& value,
*outContextType = GrContextFactory::kCommandBuffer_GLContextType;
return true;
}
+ if (value.equals("commandbuffer3")) {
+ *outContextType = GrContextFactory::kCommandBufferES3_GLContextType;
+ return true;
+ }
#endif
#if SK_MESA
if (value.equals("mesa")) {
« src/gpu/gl/GrGLInterface.cpp ('K') | « src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698