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: |