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

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: 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: src/gpu/GrContextFactory.h
diff --git a/src/gpu/GrContextFactory.h b/src/gpu/GrContextFactory.h
index 7afa3108c69d8984e0d63cd76350570dc764d4be..b29acc55483e1d270d55cca09ae0d86097be7f3a 100644
--- a/src/gpu/GrContextFactory.h
+++ b/src/gpu/GrContextFactory.h
@@ -35,6 +35,8 @@ public:
#endif
#if SK_COMMAND_BUFFER
kCommandBuffer_GLContextType, //! Chromium command buffer OpenGL ES context.
bsalomon 2016/02/12 14:03:27 Can we rename this CommandBufferES2?
Kimmo Kinnunen 2016/02/15 08:10:14 Done.
+ kCommandBufferES3_GLContextType, //! Chromium command buffer OpenGL ES 3.0 context.
+ //! Not ready for production.
#endif
#if SK_MESA
kMESA_GLContextType, //! MESA OpenGL context
@@ -84,6 +86,8 @@ public:
#if SK_COMMAND_BUFFER
case kCommandBuffer_GLContextType:
return "commandbuffer";
+ case kCommandBufferES3_GLContextType:
+ return "commandbuffer3";
#endif
#if SK_MESA
case kMESA_GLContextType:

Powered by Google App Engine
This is Rietveld 408576698