| Index: src/gpu/gl/GrGLAssembleInterface.h
|
| diff --git a/src/gpu/gl/GrGLAssembleInterface.h b/src/gpu/gl/GrGLAssembleInterface.h
|
| index 36a4513447497e8cc065722eb28ebb54df6cc88d..aa0fbcadd581987e89b576c43bc51452be50d8cb 100644
|
| --- a/src/gpu/gl/GrGLAssembleInterface.h
|
| +++ b/src/gpu/gl/GrGLAssembleInterface.h
|
| @@ -11,8 +11,22 @@
|
| typedef void(*GrGLFuncPtr)();
|
| typedef GrGLFuncPtr (*GrGLGetProc)(void* ctx, const char name[]);
|
|
|
| +
|
| +/**
|
| + * Generic function for creating a GrGLInterface for an either OpenGL or GLES. It calls
|
| + * get() to get each function address. ctx is a generic ptr passed to and interpreted by get().
|
| + */
|
| +const GrGLInterface* GrGLAssembleInterface(void* ctx, GrGLGetProc get);
|
| +
|
| /**
|
| * Generic function for creating a GrGLInterface for an OpenGL (but not GLES) context. It calls
|
| * 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);
|
|
|