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

Unified Diff: ui/gl/generate_bindings.py

Issue 169603002: Add initial support for NV_path_rendering extension to gpu command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comment Created 6 years, 4 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/skia_bindings/gl_bindings_skia_cmd_buffer.cc ('k') | ui/gl/gl_bindings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/generate_bindings.py
diff --git a/ui/gl/generate_bindings.py b/ui/gl/generate_bindings.py
index 2ff3de99637daf58def3fb42d1d970fa4063bb0a..b685cb661577a1710581e6acff5112960e3f908b 100755
--- a/ui/gl/generate_bindings.py
+++ b/ui/gl/generate_bindings.py
@@ -840,6 +840,24 @@ GL_FUNCTIONS = [
'gl_versions': ['es1', 'es2'] }],
'arguments': 'GLenum target, GLsizei numAttachments, '
'const GLenum* attachments' },
+{ 'return_type': 'void',
+ 'known_as': 'glMatrixLoadfEXT',
+ 'versions': [{ 'name': 'glMatrixLoadfEXT',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_EXT_direct_state_access'] },
+ { 'name': 'glMatrixLoadfEXT',
+ 'gl_versions': ['es3'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLenum matrixMode, const GLfloat* m' },
+{ 'return_type': 'void',
+ 'known_as': 'glMatrixLoadIdentityEXT',
+ 'versions': [{ 'name': 'glMatrixLoadIdentityEXT',
+ 'gl_versions': ['gl4'],
+ 'extensions': ['GL_EXT_direct_state_access'] },
+ { 'name': 'glMatrixLoadIdentityEXT',
+ 'gl_versions': ['es3'],
+ 'extensions': ['GL_NV_path_rendering'] }],
+ 'arguments': 'GLenum matrixMode' },
]
OSMESA_FUNCTIONS = [
« no previous file with comments | « gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc ('k') | ui/gl/gl_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698