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

Unified Diff: ui/gl/generate_bindings.py

Issue 1309743005: command_buffer: Implement EXT_blend_func_extended (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase Created 5 years 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 d5019b8b8feffdd6aeefc8d63c0b21041ed84b2a..c1d08a05d5f2b47caa75eee5dd09cca77a928e01 100755
--- a/ui/gl/generate_bindings.py
+++ b/ui/gl/generate_bindings.py
@@ -79,12 +79,19 @@ GL_FUNCTIONS = [
'arguments': 'GLenum target, GLuint index, GLuint buffer, GLintptr offset, '
'GLsizeiptr size', },
{ 'return_type': 'void',
- 'names': ['glBindFragDataLocation'],
+ 'versions': [{ 'name': 'glBindFragDataLocation',
+ 'extensions': ['GL_ARB_blend_func_extended'] },
+ { 'name': 'glBindFragDataLocationEXT',
+ 'extensions': ['GL_EXT_blend_func_extended'] }],
'arguments': 'GLuint program, GLuint colorNumber, const char* name', },
{ 'return_type': 'void',
- 'names': ['glBindFragDataLocationIndexed'],
+ 'versions': [{ 'name': 'glBindFragDataLocationIndexed',
+ 'extensions': ['GL_ARB_blend_func_extended'] },
+ { 'name': 'glBindFragDataLocationIndexedEXT',
+ 'extensions': ['GL_EXT_blend_func_extended'] }],
'arguments':
- 'GLuint program, GLuint colorNumber, GLuint index, const char* name', },
+ 'GLuint program, GLuint colorNumber, GLuint index, const char* name',
+},
{ 'return_type': 'void',
'names': ['glBindFramebufferEXT', 'glBindFramebuffer'],
'arguments': 'GLenum target, GLuint framebuffer', },
@@ -543,6 +550,12 @@ GL_FUNCTIONS = [
'names': ['glGetFloatv'],
'arguments': 'GLenum pname, GLfloat* params', },
{ 'return_type': 'GLint',
+ 'versions': [{'name': 'glGetFragDataIndex',
+ 'extensions': ['GL_ARB_blend_func_extended']},
+ {'name': 'glGetFragDataIndexEXT',
+ 'extensions': ['GL_EXT_blend_func_extended']}],
+ 'arguments': 'GLuint program, const char* name', },
+{ 'return_type': 'GLint',
'versions': [{ 'name': 'glGetFragDataLocation' }],
'arguments': 'GLuint program, const char* name', },
{ 'return_type': 'void',
« 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