aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-08-21 18:03:49 -0700
committerIan Romanick <[email protected]>2012-08-29 15:09:37 -0700
commit36ceabfb745f27bc5754ee2a9766945d1dd59551 (patch)
treec718c75da2d93fb12ec4bf8da4b0c19c67f862d0 /src/mapi
parent35cf6aeb8c26821e704db737b61cf2623b3e8f6b (diff)
mesa/es: Enable GL_OES_vertex_array_object
Functionally the same as GL_ARB_vertex_array_object. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/es_EXT.xml26
-rw-r--r--src/mapi/glapi/gen/gles_api.py5
2 files changed, 31 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index d012ccd5bf3..fc2ec621e23 100644
--- a/src/mapi/glapi/gen/es_EXT.xml
+++ b/src/mapi/glapi/gen/es_EXT.xml
@@ -619,6 +619,32 @@
<!-- 69. GL_EXT_multi_draw_arrays -->
+<!-- 71. GL_OES_vertex_array_object -->
+<category name="GL_OES_vertex_array_object" number="71">
+ <function name="BindVertexArrayOES" alias="BindVertexArray">
+ <param name="array" type="GLuint"/>
+ </function>
+
+ <function name="DeleteVertexArraysOES" alias="DeleteVertexArraysAPPLE">
+ <param name="n" type="GLsizei"/>
+ <param name="arrays" type="const GLuint *" count="n"/>
+ </function>
+
+ <function name="GenVertexArraysOES" alias="GenVertexArrays">
+ <param name="n" type="GLsizei"/>
+ <param name="arrays" type="GLuint *" output="true" count="n"/>
+ </function>
+
+ <function name="IsVertexArrayOES" alias="IsVertexArrayAPPLE">
+ <param name="array" type="GLuint"/>
+ <return type="GLboolean"/>
+ </function>
+
+ <enum name="VERTEX_ARRAY_BINDING_OES" count="1" value="0x85B5">
+ <size name="Get" mode="get"/>
+ </enum>
+</category>
+
<!-- 87. GL_OES_EGL_image_external -->
<category name="GL_OES_EGL_image_external" number="87">
<enum name="TEXTURE_EXTERNAL_OES" value="0x8D65"/>
diff --git a/src/mapi/glapi/gen/gles_api.py b/src/mapi/glapi/gen/gles_api.py
index 70ae2e300ea..8dfef655a8c 100644
--- a/src/mapi/glapi/gen/gles_api.py
+++ b/src/mapi/glapi/gen/gles_api.py
@@ -449,6 +449,11 @@ es2_api = es2_core + (
# GL_OES_get_program_binary
'GetProgramBinaryOES',
'ProgramBinaryOES',
+ # GL_OES_vertex_array_object
+ 'BindVertexArrayOES',
+ 'DeleteVertexArraysOES',
+ 'GenVertexArraysOES',
+ 'IsVertexArrayOES',
# GL_NV_draw_buffers
'DrawBuffersNV',
# GL_NV_read_buffer