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