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

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: 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: ui/gl/generate_bindings.py
diff --git a/ui/gl/generate_bindings.py b/ui/gl/generate_bindings.py
index ba11cc7119f1998fd8b97c77225490947bfa7c07..353ebbb49a0ca9cd7a448eb03d75aec236f8e2cb 100755
--- a/ui/gl/generate_bindings.py
+++ b/ui/gl/generate_bindings.py
@@ -847,6 +847,106 @@ GL_FUNCTIONS = [
'gl_versions': ['gl4'],
'extensions': ['GL_EXT_direct_state_access'] }],
'arguments': 'GLenum matrixMode' },
+{ 'return_type': 'GLuint',
+ 'known_as': 'glGenPathsNV',
+ 'versions': [{ 'name': 'glGenPathsNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLsizei range' },
+{ 'return_type': 'void',
+ 'known_as': 'glDeletePathsNV',
+ 'versions': [{ 'name': 'glDeletePathsNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLuint path, GLsizei range' },
+{ 'return_type': 'void',
+ 'known_as': 'glPathCommandsNV',
+ 'versions': [{ 'name': 'glPathCommandsNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLuint path, GLsizei numCommands, const GLubyte* commands, '
+ 'GLsizei numCoords, GLenum coordType, const GLvoid* coords' },
+{ 'return_type': 'void',
+ 'known_as': 'glPathParameteriNV',
+ 'versions': [{ 'name': 'glPathParameteriNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLuint path, GLenum pname, GLint value' },
+{ 'return_type': 'void',
+ 'known_as': 'glPathParameterfNV',
+ 'versions': [{ 'name': 'glPathParameterfNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLuint path, GLenum pname, GLfloat value' },
+{ 'return_type': 'void',
+ 'known_as': 'glPathStencilFuncNV',
+ 'versions': [{ 'name': 'glPathStencilFuncNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLenum func, GLint ref, GLuint mask' },
+{ 'return_type': 'void',
+ 'known_as': 'glStencilFillPathNV',
+ 'versions': [{ 'name': 'glStencilFillPathNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLuint path, GLenum fillMode, GLuint mask' },
+{ 'return_type': 'void',
+ 'known_as': 'glStencilFillPathInstancedNV',
+ 'versions': [{ 'name': 'glStencilFillPathInstancedNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLsizei numPaths, GLenum pathNameType, const void* paths, '
+ 'GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, '
+ 'const GLfloat* transformValues' },
+{ 'return_type': 'void',
+ 'known_as': 'glStencilStrokePathNV',
+ 'versions': [{ 'name': 'glStencilStrokePathNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLuint path, GLint reference, GLuint mask' },
+{ 'return_type': 'void',
+ 'known_as': 'glStencilStrokePathInstancedNV',
+ 'versions': [{ 'name': 'glStencilStrokePathInstancedNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLsizei numPaths, GLenum pathNameType, const void* paths, '
+ 'GLuint pathBase, GLint ref, GLuint mask, GLenum transformType, '
+ 'const GLfloat* transformValues' },
+{ 'return_type': 'void',
+ 'known_as': 'glPathTexGenNV',
+ 'versions': [{ 'name': 'glPathTexGenNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLenum texCoordSet, GLenum genMode, '
+ 'GLint components, const GLfloat* coeffs', },
+{ 'return_type': 'void',
+ 'known_as': 'glCoverFillPathNV',
+ 'versions': [{ 'name': 'glCoverFillPathNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLuint path, GLenum coverMode' },
+{ 'return_type': 'void',
+ 'known_as': 'glCoverFillPathInstancedNV',
+ 'versions': [{ 'name': 'glCoverFillPathInstancedNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLsizei numPaths, GLenum pathNameType, const void* paths, '
+ 'GLuint pathBase, GLenum coverMode, GLenum transformType, '
+ 'const GLfloat* transformValues' },
+{ 'return_type': 'void',
+ 'known_as': 'glCoverStrokePathNV',
+ 'versions': [{ 'name': 'glCoverStrokePathNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLuint name, GLenum coverMode' },
+{ 'return_type': 'void',
+ 'known_as': 'glCoverStrokePathInstancedNV',
+ 'versions': [{ 'name': 'glCoverStrokePathInstancedNV',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLsizei numPaths, GLenum pathNameType, const void* paths, '
+ 'GLuint pathBase, GLenum coverMode, GLenum transformType, '
+ 'const GLfloat* transformValues' },
]
OSMESA_FUNCTIONS = [

Powered by Google App Engine
This is Rietveld 408576698