Index: src/gpu/gl/GrGLAssembleInterface.cpp |
diff --git a/src/gpu/gl/GrGLAssembleInterface.cpp b/src/gpu/gl/GrGLAssembleInterface.cpp |
index dbc54adbe494315176a3ad327d461766d96b563e..93d49556b193d514fd06c95b0736f912075b34c4 100644 |
--- a/src/gpu/gl/GrGLAssembleInterface.cpp |
+++ b/src/gpu/gl/GrGLAssembleInterface.cpp |
@@ -745,6 +745,33 @@ const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get) { |
GET_PROC_SUFFIX(ProgramPathFragmentInputGen, NV); |
} |
+ if (extensions.has("GL_CHROMIUM_path_rendering")) { |
+ GET_PROC_SUFFIX(MatrixLoadf, CHROMIUM); |
+ GET_PROC_SUFFIX(MatrixLoadIdentity, CHROMIUM); |
+ GET_PROC_SUFFIX(PathCommands, CHROMIUM); |
+ GET_PROC_SUFFIX(PathParameteri, CHROMIUM); |
+ GET_PROC_SUFFIX(PathParameterf, CHROMIUM); |
+ GET_PROC_SUFFIX(GenPaths, CHROMIUM); |
+ GET_PROC_SUFFIX(DeletePaths, CHROMIUM); |
+ GET_PROC_SUFFIX(IsPath, CHROMIUM); |
+ GET_PROC_SUFFIX(PathStencilFunc, CHROMIUM); |
+ GET_PROC_SUFFIX(StencilFillPath, CHROMIUM); |
+ GET_PROC_SUFFIX(StencilStrokePath, CHROMIUM); |
+ GET_PROC_SUFFIX(StencilFillPathInstanced, CHROMIUM); |
+ GET_PROC_SUFFIX(StencilStrokePathInstanced, CHROMIUM); |
+ GET_PROC_SUFFIX(CoverFillPath, CHROMIUM); |
+ GET_PROC_SUFFIX(CoverStrokePath, CHROMIUM); |
+ GET_PROC_SUFFIX(CoverFillPathInstanced, CHROMIUM); |
+ GET_PROC_SUFFIX(CoverStrokePathInstanced, CHROMIUM); |
+ GET_PROC_SUFFIX(StencilThenCoverFillPath, CHROMIUM); |
+ GET_PROC_SUFFIX(StencilThenCoverStrokePath, CHROMIUM); |
+ GET_PROC_SUFFIX(StencilThenCoverFillPathInstanced, CHROMIUM); |
+ GET_PROC_SUFFIX(StencilThenCoverStrokePathInstanced, CHROMIUM); |
+ GET_PROC_SUFFIX(ProgramPathFragmentInputGen, CHROMIUM); |
+ // GL_CHROMIUM_path_rendering additions: |
+ GET_PROC_SUFFIX(BindFragmentInputLocation, CHROMIUM); |
+ } |
+ |
if (extensions.has("GL_NV_framebuffer_mixed_samples")) { |
GET_PROC_SUFFIX(CoverageModulation, NV); |
} |