summaryrefslogtreecommitdiffstats
path: root/ui/gfx/gl/generate_bindings.py
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-08 19:02:53 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-08 19:02:53 +0000
commit882ba1e272371308cfecfb5436eb5dec0ee0cea5 (patch)
tree4bc2e0a9ad3f557a693252c9057831fac3cdd130 /ui/gfx/gl/generate_bindings.py
parentda20ec411725ebed3aaffab88095b2201a9511fe (diff)
downloadchromium_src-882ba1e272371308cfecfb5436eb5dec0ee0cea5.zip
chromium_src-882ba1e272371308cfecfb5436eb5dec0ee0cea5.tar.gz
chromium_src-882ba1e272371308cfecfb5436eb5dec0ee0cea5.tar.bz2
Add support for GL_EXT_occlusion_query_boolean
TEST=unit tests BUG=88601 Review URL: http://codereview.chromium.org/9555011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125649 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/gl/generate_bindings.py')
-rwxr-xr-xui/gfx/gl/generate_bindings.py34
1 files changed, 27 insertions, 7 deletions
diff --git a/ui/gfx/gl/generate_bindings.py b/ui/gfx/gl/generate_bindings.py
index 2a255c7..ed80602 100755
--- a/ui/gfx/gl/generate_bindings.py
+++ b/ui/gfx/gl/generate_bindings.py
@@ -18,7 +18,10 @@ GL_FUNCTIONS = [
'names': ['glAttachShader'],
'arguments': 'GLuint program, GLuint shader', },
{ 'return_type': 'void',
- 'names': ['glBeginQuery', 'glBeginQueryEXT', 'glBeginQueryARB'],
+ 'names': ['glBeginQuery'],
+ 'arguments': 'GLenum target, GLuint id', },
+{ 'return_type': 'void',
+ 'names': ['glBeginQueryARB', 'glBeginQueryEXT'],
'arguments': 'GLenum target, GLuint id', },
{ 'return_type': 'void',
'names': ['glBindAttribLocation'],
@@ -134,7 +137,7 @@ GL_FUNCTIONS = [
'names': ['glCullFace'],
'arguments': 'GLenum mode', },
{ 'return_type': 'void',
- 'names': ['glDeleteBuffersARB', 'glDeleteBuffers', 'glDeleteQueriesEXT'],
+ 'names': ['glDeleteBuffersARB', 'glDeleteBuffers'],
'arguments': 'GLsizei n, const GLuint* buffers', },
{ 'return_type': 'void',
'names': ['glDeleteFramebuffersEXT', 'glDeleteFramebuffers'],
@@ -146,6 +149,9 @@ GL_FUNCTIONS = [
'names': ['glDeleteQueries'],
'arguments': 'GLsizei n, const GLuint* ids', },
{ 'return_type': 'void',
+ 'names': ['glDeleteQueriesARB', 'glDeleteQueriesEXT'],
+ 'arguments': 'GLsizei n, const GLuint* ids', },
+{ 'return_type': 'void',
'names': ['glDeleteRenderbuffersEXT', 'glDeleteRenderbuffers'],
'arguments': 'GLsizei n, const GLuint* renderbuffers', },
{ 'return_type': 'void',
@@ -201,7 +207,10 @@ GL_FUNCTIONS = [
'names': ['glEnableVertexAttribArray'],
'arguments': 'GLuint index', },
{ 'return_type': 'void',
- 'names': ['glEndQuery', 'glEndQueryARB', 'glEndQueryEXT'],
+ 'names': ['glEndQuery'],
+ 'arguments': 'GLenum target', },
+{ 'return_type': 'void',
+ 'names': ['glEndQueryARB', 'glEndQueryEXT'],
'arguments': 'GLenum target', },
{ 'return_type': 'void',
'names': ['glFinish'],
@@ -226,7 +235,10 @@ GL_FUNCTIONS = [
'names': ['glGenBuffersARB', 'glGenBuffers'],
'arguments': 'GLsizei n, GLuint* buffers', },
{ 'return_type': 'void',
- 'names': ['glGenQueries', 'glGenQueriesARB', 'glGenQueriesEXT'],
+ 'names': ['glGenQueries'],
+ 'arguments': 'GLsizei n, GLuint* ids', },
+{ 'return_type': 'void',
+ 'names': ['glGenQueriesARB', 'glGenQueriesEXT'],
'arguments': 'GLsizei n, GLuint* ids', },
{ 'return_type': 'void',
'names': ['glGenerateMipmapEXT', 'glGenerateMipmap'],
@@ -291,7 +303,10 @@ GL_FUNCTIONS = [
'arguments':
'GLuint program, GLsizei bufsize, GLsizei* length, char* infolog', },
{ 'return_type': 'void',
- 'names': ['glGetQueryiv', 'glGetQueryivARB', 'glGetQueryivEXT'],
+ 'names': ['glGetQueryiv'],
+ 'arguments': 'GLenum target, GLenum pname, GLint* params', },
+{ 'return_type': 'void',
+ 'names': ['glGetQueryivARB', 'glGetQueryivEXT'],
'arguments': 'GLenum target, GLenum pname, GLint* params', },
{ 'return_type': 'void',
'names': ['glGetQueryObjecti64v'],
@@ -303,8 +318,10 @@ GL_FUNCTIONS = [
'names': ['glGetQueryObjectui64v'],
'arguments': 'GLuint id, GLenum pname, GLuint64* params', },
{ 'return_type': 'void',
- 'names': ['glGetQueryObjectuiv', 'glGetQueryObjectuivARB',
- 'glGetQueryObjectuivEXT'],
+ 'names': ['glGetQueryObjectuiv'],
+ 'arguments': 'GLuint id, GLenum pname, GLuint* params', },
+{ 'return_type': 'void',
+ 'names': ['glGetQueryObjectuivARB', 'glGetQueryObjectuivEXT'],
'arguments': 'GLuint id, GLenum pname, GLuint* params', },
{ 'return_type': 'void',
'names': ['glGetRenderbufferParameterivEXT', 'glGetRenderbufferParameteriv'],
@@ -377,6 +394,9 @@ GL_FUNCTIONS = [
'names': ['glIsProgram'],
'arguments': 'GLuint program', },
{ 'return_type': 'GLboolean',
+ 'names': ['glIsQueryARB', 'glIsQueryEXT'],
+ 'arguments': 'GLuint query', },
+{ 'return_type': 'GLboolean',
'names': ['glIsRenderbufferEXT', 'glIsRenderbuffer'],
'arguments': 'GLuint renderbuffer', },
{ 'return_type': 'GLboolean',