| Index: src/gpu/gl/GrGLAssembleGLESInterface.h
|
| diff --git a/src/gpu/gl/GrGLAssembleGLESInterface.h b/src/gpu/gl/GrGLAssembleGLESInterface.h
|
| index 30602c12d5e417a57b72d1ac4486ecbc99ecdef2..43f48c25945f9dd96a20878500581cbdbf80fbe1 100644
|
| --- a/src/gpu/gl/GrGLAssembleGLESInterface.h
|
| +++ b/src/gpu/gl/GrGLAssembleGLESInterface.h
|
| @@ -249,6 +249,35 @@ static const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get
|
| GET_PROC(InvalidateTexImage);
|
| GET_PROC(InvalidateTexSubImage);
|
|
|
| +#if GL_ES_VERSION_3_1
|
| + GET_LINKED(GetProgramResourceLocation);
|
| +#else
|
| + if (version >= GR_GL_VER(3,1)) {
|
| + GET_PROC(GetProgramResourceLocation);
|
| + }
|
| +#endif
|
| +
|
| + if (extensions.has("GL_NV_path_rendering")) {
|
| + GET_PROC_SUFFIX(MatrixLoadf, EXT);
|
| + GET_PROC_SUFFIX(MatrixLoadIdentity, EXT);
|
| + GET_PROC_SUFFIX(PathCommands, NV);
|
| + GET_PROC_SUFFIX(PathCoords, NV);
|
| + GET_PROC_SUFFIX(PathParameteri, NV);
|
| + GET_PROC_SUFFIX(PathParameterf, NV);
|
| + GET_PROC_SUFFIX(GenPaths, NV);
|
| + GET_PROC_SUFFIX(DeletePaths, NV);
|
| + GET_PROC_SUFFIX(PathStencilFunc, NV);
|
| + GET_PROC_SUFFIX(StencilFillPath, NV);
|
| + GET_PROC_SUFFIX(StencilStrokePath, NV);
|
| + GET_PROC_SUFFIX(StencilFillPathInstanced, NV);
|
| + GET_PROC_SUFFIX(StencilStrokePathInstanced, NV);
|
| + GET_PROC_SUFFIX(CoverFillPath, NV);
|
| + GET_PROC_SUFFIX(CoverStrokePath, NV);
|
| + GET_PROC_SUFFIX(CoverFillPathInstanced, NV);
|
| + GET_PROC_SUFFIX(CoverStrokePathInstanced, NV);
|
| + GET_PROC_SUFFIX(ProgramPathFragmentInputGen, NV);
|
| + }
|
| +
|
| interface->fStandard = kGLES_GrGLStandard;
|
| interface->fExtensions.swap(&extensions);
|
|
|
|
|