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

Unified Diff: ui/gl/generate_bindings.py

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
Index: ui/gl/generate_bindings.py
diff --git a/ui/gl/generate_bindings.py b/ui/gl/generate_bindings.py
index 3a35a43f50bdf3c975508c8f460cb3126ee3ee15..72ee92dfd330552efdb674bb3af84a78ce2444df 100755
--- a/ui/gl/generate_bindings.py
+++ b/ui/gl/generate_bindings.py
@@ -245,9 +245,19 @@ GL_FUNCTIONS = [
'GLenum target, GLint level, GLint xoffset, GLint yoffset, '
'GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height', },
{ 'return_type': 'void',
+ 'names': ['glCoverFillPathInstancedNV'],
+ 'arguments': 'GLsizei numPaths, GLenum pathNameType, const void* paths, '
+ 'GLuint pathBase, GLenum coverMode, GLenum transformType, '
+ 'const GLfloat* transformValues' },
+{ 'return_type': 'void',
'names': ['glCoverFillPathNV'],
'arguments': 'GLuint path, GLenum coverMode' },
{ 'return_type': 'void',
+ 'names': ['glCoverStrokePathInstancedNV'],
+ 'arguments': 'GLsizei numPaths, GLenum pathNameType, const void* paths, '
+ 'GLuint pathBase, GLenum coverMode, GLenum transformType, '
+ 'const GLfloat* transformValues' },
+{ 'return_type': 'void',
'names': ['glCoverStrokePathNV'],
'arguments': 'GLuint name, GLenum coverMode' },
{ 'return_type': 'GLuint',
@@ -926,6 +936,11 @@ GL_FUNCTIONS = [
});
""", },
{ 'return_type': 'void',
+ 'names': ['glStencilFillPathInstancedNV'],
+ 'arguments': 'GLsizei numPaths, GLenum pathNameType, const void* paths, '
+ 'GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, '
+ 'const GLfloat* transformValues' },
+{ 'return_type': 'void',
'names': ['glStencilFillPathNV'],
'arguments': 'GLuint path, GLenum fillMode, GLuint mask' },
{ 'return_type': 'void',
@@ -947,13 +962,30 @@ GL_FUNCTIONS = [
'names': ['glStencilOpSeparate'],
'arguments': 'GLenum face, GLenum fail, GLenum zfail, GLenum zpass', },
{ 'return_type': 'void',
+ 'names': ['glStencilStrokePathInstancedNV'],
+ 'arguments': 'GLsizei numPaths, GLenum pathNameType, const void* paths, '
+ 'GLuint pathBase, GLint ref, GLuint mask, GLenum transformType, '
+ 'const GLfloat* transformValues' },
+{ 'return_type': 'void',
'names': ['glStencilStrokePathNV'],
'arguments': 'GLuint path, GLint reference, GLuint mask' },
{ 'return_type': 'void',
+ 'names': ['glStencilThenCoverFillPathInstancedNV'],
+ 'arguments': 'GLsizei numPaths, GLenum pathNameType, const void* paths, '
+ 'GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, '
+ 'GLenum transformType, const GLfloat* transformValues',
+ 'is_optional': True, },
+{ 'return_type': 'void',
'names': ['glStencilThenCoverFillPathNV'],
'arguments': 'GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode',
'is_optional': True, },
{ 'return_type': 'void',
+ 'names': ['glStencilThenCoverStrokePathInstancedNV'],
+ 'arguments': 'GLsizei numPaths, GLenum pathNameType, const void* paths, '
+ 'GLuint pathBase, GLint ref, GLuint mask, GLenum coverMode, '
+ 'GLenum transformType, const GLfloat* transformValues',
+ 'is_optional': True, },
+{ 'return_type': 'void',
'names': ['glStencilThenCoverStrokePathNV'],
'arguments': 'GLuint path, GLint reference, GLuint mask, GLenum coverMode',
'is_optional': True, },
« no previous file with comments | « third_party/mojo/src/mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h ('k') | ui/gl/gl_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698