diff options
Diffstat (limited to 'src/gpu/gl/GrGLAssembleInterface.h')
-rw-r--r-- | src/gpu/gl/GrGLAssembleInterface.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLAssembleInterface.h b/src/gpu/gl/GrGLAssembleInterface.h index 36a4513447..4bd88367ca 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); |