summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/APPLE_vertex_array_object.xml
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2006-08-24 20:14:45 +0000
committerIan Romanick <idr@us.ibm.com>2006-08-24 20:14:45 +0000
commitbf83e652f6d023f1cdcf83ec3ebac024dc0032dc (patch)
tree5821a0bd691b71b989a7e77245ad8ca6e5b22887 /src/mesa/glapi/APPLE_vertex_array_object.xml
parent5947f8fd636004aa2f57fb792be0cf737610f2ba (diff)
Add a new offset mode to the GL API XML. This mode, called "assign,"
tells the scripts to assign an available offset to the function. The important changes are in src/mesa/glapi/gl_XML.py and src/mesa/glapi/*.xml. Since the DRI drivers only depend on functions required by the ABI (e.g., GL 1.2 + ARB_multitexture) having fixed offsets, all functions not in the ABI use "assign" mode. This has caused the offset of basically every function outside the ABI to change. I have verified that a libGL with this patch works with a DRI driver without the patch. Futher, several function were removed from the dispatch tables altogether. These are the functions for the following extensions: GL_SGIS_texture_filter4 GL_SGIS_texture4D GL_SGIS_detail_texture GL_SGIS_sharpen_texture GL_SGIX_sprite GL_SGIX_instruments GL_SGIX_framezoom GL_SGIX_tag_sample_buffer GL_SGIX_reference_plane GL_SGIX_flush_raster GL_SGIX_list_priority GL_SGIX_fragment_lighting GL_PGI_misc_hints GL_EXT_index_material GL_EXT_index_func GL_3DFX_tbuffer This removes 50 functions from the dispatch table.
Diffstat (limited to 'src/mesa/glapi/APPLE_vertex_array_object.xml')
-rw-r--r--src/mesa/glapi/APPLE_vertex_array_object.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/glapi/APPLE_vertex_array_object.xml b/src/mesa/glapi/APPLE_vertex_array_object.xml
index 0d871563d0..bd8427eaf6 100644
--- a/src/mesa/glapi/APPLE_vertex_array_object.xml
+++ b/src/mesa/glapi/APPLE_vertex_array_object.xml
@@ -5,21 +5,21 @@
<category name="GL_APPLE_vertex_array_object" number="273">
<enum name="VERTEX_ARRAY_BINDING_APPLE" value="0x85B5"/>
- <function name="BindVertexArrayAPPLE" offset="819" static_dispatch="false">
+ <function name="BindVertexArrayAPPLE" offset="assign" static_dispatch="false">
<param name="array" type="GLuint"/>
</function>
- <function name="DeleteVertexArraysAPPLE" offset="820" static_dispatch="false">
+ <function name="DeleteVertexArraysAPPLE" offset="assign" static_dispatch="false">
<param name="n" type="GLsizei"/>
<param name="arrays" type="const GLuint *" count="n"/>
</function>
- <function name="GenVertexArraysAPPLE" offset="821" static_dispatch="false">
+ <function name="GenVertexArraysAPPLE" offset="assign" static_dispatch="false">
<param name="n" type="GLsizei"/>
<param name="arrays" type="GLuint *" count="n" output="true"/>
</function>
- <function name="IsVertexArrayAPPLE" offset="822" static_dispatch="false">
+ <function name="IsVertexArrayAPPLE" offset="assign" static_dispatch="false">
<param name="array" type="GLuint"/>
<return type="GLboolean"/>
</function>