summaryrefslogtreecommitdiffstats
path: root/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc')
-rw-r--r--gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc23
1 files changed, 21 insertions, 2 deletions
diff --git a/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc b/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc
index 36ff45b..024c9cc 100644
--- a/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc
+++ b/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc
@@ -146,8 +146,27 @@ GrGLInterface* CreateCommandBufferSkiaGLBinding() {
functions->fBindUniformLocation = glBindUniformLocationCHROMIUM;
functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM;
functions->fGenerateMipmap = glGenerateMipmap;
- functions->fMatrixLoadf = glMatrixLoadfCHROMIUM;
- functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM;
+ if (false) {
+ // These are disabled until the full extension is implemented.
+ // Otherwise the interface fails validation and the context can not
+ // be created.
+ functions->fMatrixLoadf = glMatrixLoadfCHROMIUM;
+ functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM;
+ functions->fPathCommands = glPathCommandsCHROMIUM;
+ functions->fPathParameteri = glPathParameteriCHROMIUM;
+ functions->fPathParameterf = glPathParameterfCHROMIUM;
+ functions->fGenPaths = glGenPathsCHROMIUM;
+ functions->fIsPath = glIsPathCHROMIUM;
+ functions->fDeletePaths = glDeletePathsCHROMIUM;
+ functions->fPathStencilFunc = glPathStencilFuncCHROMIUM;
+ functions->fStencilFillPath = glStencilFillPathCHROMIUM;
+ functions->fStencilStrokePath = glStencilStrokePathCHROMIUM;
+ functions->fCoverFillPath = glCoverFillPathCHROMIUM;
+ functions->fCoverStrokePath = glCoverStrokePathCHROMIUM;
+ functions->fStencilThenCoverFillPath = glStencilThenCoverFillPathCHROMIUM;
+ functions->fStencilThenCoverStrokePath =
+ glStencilThenCoverStrokePathCHROMIUM;
+ }
return interface;
}