Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc

Issue 169403005: command_buffer: Implement path rendering functions for CHROMIUM_path_rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nv-pr-02-texgen
Patch Set: improve parameter validation and write up the extension .txt file Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 2894cf7c7d52b9b469bffa19352dde0e8317b27a..1e4f99337863e5fa4f068b04495ee555b5df1424 100644
--- a/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc
+++ b/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc
@@ -140,6 +140,23 @@ GrGLInterface* CreateCommandBufferSkiaGLBinding() {
functions->fBindUniformLocation = glBindUniformLocationCHROMIUM;
functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM;
functions->fGenerateMipmap = glGenerateMipmap;
+ functions->fMatrixLoadf = glMatrixLoadfCHROMIUM;
+ functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM;
+ functions->fPathCommands = glPathCommandsCHROMIUM;
+ functions->fPathParameteri = glPathParameteriCHROMIUM;
+ functions->fPathParameterf = glPathParameterfCHROMIUM;
+ functions->fGenPaths = glGenPathsCHROMIUM;
+ functions->fDeletePaths = glDeletePathsCHROMIUM;
+ functions->fPathStencilFunc = glPathStencilFuncCHROMIUM;
+ functions->fStencilFillPath = glStencilFillPathCHROMIUM;
+ functions->fStencilFillPathInstanced = glStencilFillPathInstancedCHROMIUM;
+ functions->fStencilStrokePath = glStencilStrokePathCHROMIUM;
+ functions->fStencilStrokePathInstanced = glStencilStrokePathInstancedCHROMIUM;
+ functions->fCoverFillPath = glCoverFillPathCHROMIUM;
+ functions->fCoverFillPathInstanced = glCoverFillPathInstancedCHROMIUM;
+ functions->fCoverStrokePath = glCoverStrokePathCHROMIUM;
+ functions->fCoverStrokePathInstanced = glCoverStrokePathInstancedCHROMIUM;
+ functions->fPathTexGen = glPathTexGenCHROMIUM;
return interface;
}

Powered by Google App Engine
This is Rietveld 408576698