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

Unified Diff: ui/gl/generate_bindings.py

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: Created 5 years, 6 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 2667b24eee070e9d50b08125657257d5b2df1b44..af558106a86bcf6c88f013898dcc01dbb84d38e9 100755
--- a/ui/gl/generate_bindings.py
+++ b/ui/gl/generate_bindings.py
@@ -235,6 +235,12 @@ GL_FUNCTIONS = [
'arguments':
'GLenum target, GLint level, GLint xoffset, GLint yoffset, '
'GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height', },
+{ 'return_type': 'void',
+ 'names': ['glCoverFillPathNV'],
+ 'arguments': 'GLuint path, GLenum coverMode' },
+{ 'return_type': 'void',
+ 'names': ['glCoverStrokePathNV'],
+ 'arguments': 'GLuint name, GLenum coverMode' },
{ 'return_type': 'GLuint',
'names': ['glCreateProgram'],
'arguments': 'void', },
@@ -260,6 +266,9 @@ GL_FUNCTIONS = [
'names': ['glDeleteFramebuffersEXT', 'glDeleteFramebuffers'],
'arguments': 'GLsizei n, const GLuint* framebuffers', },
{ 'return_type': 'void',
+ 'names': ['glDeletePathsNV'],
+ 'arguments': 'GLuint path, GLsizei range' },
+{ 'return_type': 'void',
'names': ['glDeleteProgram'],
'arguments': 'GLuint program', },
{ 'return_type': 'void',
@@ -438,6 +447,9 @@ GL_FUNCTIONS = [
{ 'return_type': 'void',
'names': ['glGenFramebuffersEXT', 'glGenFramebuffers'],
'arguments': 'GLsizei n, GLuint* framebuffers', },
+{ 'return_type': 'GLuint',
+ 'names': ['glGenPathsNV'],
+ 'arguments': 'GLsizei range' },
{ 'return_type': 'void',
'versions': [{ 'name': 'glGenQueries' },
{ 'name': 'glGenQueriesARB', },
@@ -705,6 +717,9 @@ GL_FUNCTIONS = [
'names': ['glIsFramebufferEXT', 'glIsFramebuffer'],
'arguments': 'GLuint framebuffer', },
{ 'return_type': 'GLboolean',
+ 'names': ['glIsPathNV'],
+ 'arguments': 'GLuint path' },
+{ 'return_type': 'GLboolean',
'names': ['glIsProgram'],
'arguments': 'GLuint program', },
{ 'return_type': 'GLboolean',
@@ -771,6 +786,19 @@ GL_FUNCTIONS = [
'GL_NV_path_rendering'] },],
'arguments': 'GLenum matrixMode' },
{ 'return_type': 'void',
+ 'names': ['glPathCommandsNV'],
+ 'arguments': 'GLuint path, GLsizei numCommands, const GLubyte* commands, '
+ 'GLsizei numCoords, GLenum coordType, const GLvoid* coords' },
+{ 'return_type': 'void',
+ 'names': ['glPathParameterfNV'],
+ 'arguments': 'GLuint path, GLenum pname, GLfloat value' },
+{ 'return_type': 'void',
+ 'names': ['glPathParameteriNV'],
+ 'arguments': 'GLuint path, GLenum pname, GLint value' },
+{ 'return_type': 'void',
+ 'names': ['glPathStencilFuncNV'],
+ 'arguments': 'GLenum func, GLint ref, GLuint mask' },
+{ 'return_type': 'void',
'versions': [{ 'name': 'glPauseTransformFeedback' }],
'arguments': 'void', },
{ 'return_type': 'void',
@@ -889,6 +917,9 @@ GL_FUNCTIONS = [
});
""", },
{ 'return_type': 'void',
+ 'names': ['glStencilFillPathNV'],
+ 'arguments': 'GLuint path, GLenum fillMode, GLuint mask' },
+{ 'return_type': 'void',
'names': ['glStencilFunc'],
'arguments': 'GLenum func, GLint ref, GLuint mask', },
{ 'return_type': 'void',
@@ -906,6 +937,15 @@ GL_FUNCTIONS = [
{ 'return_type': 'void',
'names': ['glStencilOpSeparate'],
'arguments': 'GLenum face, GLenum fail, GLenum zfail, GLenum zpass', },
+{ 'return_type': 'void',
+ 'names': ['glStencilStrokePathNV'],
+ 'arguments': 'GLuint path, GLint reference, GLuint mask' },
+{ 'return_type': 'void',
+ 'names': ['glStencilThenCoverFillPathNV'],
+ 'arguments': 'GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode', },
+{ 'return_type': 'void',
+ 'names': ['glStencilThenCoverStrokePathNV'],
+ 'arguments': 'GLuint path, GLint reference, GLuint mask, GLenum coverMode', },
{ 'return_type': 'GLboolean',
'known_as': 'glTestFenceAPPLE',
'versions': [{ 'name': 'glTestFenceAPPLE',

Powered by Google App Engine
This is Rietveld 408576698