| Index: gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc
|
| diff --git a/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc b/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc
|
| index 36ff45bc7a3bcb563399537c819964fdd1907f4a..024c9ccf4e2236c181880c815ff58cc770715470 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;
|
| }
|
|
|