| 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',
|
|
|