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

Unified Diff: src/gpu/GrContextFactory.h

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: comment wording 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
« no previous file with comments | « samplecode/SampleApp.cpp ('k') | src/gpu/GrContextFactory.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrContextFactory.h
diff --git a/src/gpu/GrContextFactory.h b/src/gpu/GrContextFactory.h
index 7afa3108c69d8984e0d63cd76350570dc764d4be..ca4420e182d6a7d63886132e42b407b7e8d6c001 100644
--- a/src/gpu/GrContextFactory.h
+++ b/src/gpu/GrContextFactory.h
@@ -34,7 +34,9 @@ public:
kANGLE_GL_GLContextType, //! ANGLE on OpenGL OpenGL ES context.
#endif
#if SK_COMMAND_BUFFER
- kCommandBuffer_GLContextType, //! Chromium command buffer OpenGL ES context.
+ kCommandBufferES2_GLContextType, //! Chromium command buffer OpenGL ES 2.0 context.
+ kCommandBufferES3_GLContextType, //! Chromium command buffer OpenGL ES 3.0 context.
+ //! Not ready for production.
#endif
#if SK_MESA
kMESA_GLContextType, //! MESA OpenGL context
@@ -82,8 +84,10 @@ public:
return "angle-gl";
#endif
#if SK_COMMAND_BUFFER
- case kCommandBuffer_GLContextType:
+ case kCommandBufferES2_GLContextType:
return "commandbuffer";
+ case kCommandBufferES3_GLContextType:
+ return "commandbuffer3";
#endif
#if SK_MESA
case kMESA_GLContextType:
« no previous file with comments | « samplecode/SampleApp.cpp ('k') | src/gpu/GrContextFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698