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

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: Created 5 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
Index: ui/gl/generate_bindings.py
diff --git a/ui/gl/generate_bindings.py b/ui/gl/generate_bindings.py
index 636d08743c79358759fee38d74e0906ce8a91f07..078aa7d470e7081ade2ecb8edce08e66bf00a697 100755
--- a/ui/gl/generate_bindings.py
+++ b/ui/gl/generate_bindings.py
@@ -74,12 +74,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', },
@@ -538,6 +545,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',

Powered by Google App Engine
This is Rietveld 408576698