Index: include/gpu/gl/GrGLInterface.h |
diff --git a/include/gpu/gl/GrGLInterface.h b/include/gpu/gl/GrGLInterface.h |
index 9d6025974085dbffe856b1313d11e7c5d9d2c6d3..e20f808dd89cfec1c6712524e6a29446f2a8ca37 100644 |
--- a/include/gpu/gl/GrGLInterface.h |
+++ b/include/gpu/gl/GrGLInterface.h |
@@ -57,6 +57,13 @@ const GrGLInterface* GrGLCreateMesaInterface(); |
const GrGLInterface* GrGLCreateANGLEInterface(); |
#endif |
+#if SK_COMMAND_BUFFER |
+/** |
+ * Creates a GrGLInterface for a Command Buffer context. |
+ */ |
+const GrGLInterface* GrGLCreateCommandBufferInterface(); |
+#endif |
+ |
/** |
* Creates a null GrGLInterface that doesn't draw anything. Used for measuring |
* CPU overhead. |