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

Unified Diff: gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc

Issue 477623004: command_buffer: Support instanced path rendering in gpu command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-03-path-funcs
Patch Set: fix msvc signedness warning in an unittest Created 5 years, 2 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
« no previous file with comments | « gpu/command_buffer/tests/gl_chromium_path_rendering_unittest.cc ('k') | mojo/gpu/mojo_gles2_impl_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 024c9ccf4e2236c181880c815ff58cc770715470..c92cb2254079507527b0338be1600913f9aeebb5 100644
--- a/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc
+++ b/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc
@@ -7,6 +7,7 @@
#ifndef GL_GLEXT_PROTOTYPES
#define GL_GLEXT_PROTOTYPES
#endif
+#include "base/logging.h"
#include "gpu/GLES2/gl2extchromium.h"
#include "third_party/khronos/GLES2/gl2.h"
#include "third_party/khronos/GLES2/gl2ext.h"
@@ -166,6 +167,15 @@ GrGLInterface* CreateCommandBufferSkiaGLBinding() {
functions->fStencilThenCoverFillPath = glStencilThenCoverFillPathCHROMIUM;
functions->fStencilThenCoverStrokePath =
glStencilThenCoverStrokePathCHROMIUM;
+ functions->fStencilFillPathInstanced = glStencilFillPathInstancedCHROMIUM;
+ functions->fStencilStrokePathInstanced =
+ glStencilStrokePathInstancedCHROMIUM;
+ functions->fCoverFillPathInstanced = glCoverFillPathInstancedCHROMIUM;
+ functions->fCoverStrokePathInstanced = glCoverStrokePathInstancedCHROMIUM;
+ functions->fStencilThenCoverFillPathInstanced =
+ glStencilThenCoverFillPathInstancedCHROMIUM;
+ functions->fStencilThenCoverStrokePathInstanced =
+ glStencilThenCoverStrokePathInstancedCHROMIUM;
}
return interface;
« no previous file with comments | « gpu/command_buffer/tests/gl_chromium_path_rendering_unittest.cc ('k') | mojo/gpu/mojo_gles2_impl_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698