Index: src/gpu/gl/GrGLAssembleInterface.h |
diff --git a/src/gpu/gl/GrGLAssembleInterface.h b/src/gpu/gl/GrGLAssembleInterface.h |
index 36a4513447497e8cc065722eb28ebb54df6cc88d..4bd88367ca048d16d210edf2210c84b0b34f4919 100644 |
--- a/src/gpu/gl/GrGLAssembleInterface.h |
+++ b/src/gpu/gl/GrGLAssembleInterface.h |
@@ -16,3 +16,10 @@ typedef GrGLFuncPtr (*GrGLGetProc)(void* ctx, const char name[]); |
* get() to get each function address. ctx is a generic ptr passed to and interpreted by get(). |
*/ |
const GrGLInterface* GrGLAssembleGLInterface(void* ctx, GrGLGetProc get); |
+ |
+/** |
+ * Generic function for creating a GrGLInterface for an OpenGL ES (but not Open GL) context. It |
+ * calls get() to get each function address. ctx is a generic ptr passed to and interpreted by |
+ * get(). |
+ */ |
+const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get); |