summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/APPLE_vertex_array_object.xml
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2006-08-22 16:34:38 +0000
committerIan Romanick <idr@us.ibm.com>2006-08-22 16:34:38 +0000
commit4e4b5f40081cb3e4cefe4dce30712d8d330c0774 (patch)
tree65b722305bb81a0c014903d20cf7d3715fbde83f /src/mesa/glapi/APPLE_vertex_array_object.xml
parent6423ec914530a84ee16977d95b64116e63eca22c (diff)
Add new attribute called static_dispatch to the <function> element. This
boolean attribute, which defaults to true, determines whether or not a static dispatch function is available in libGL for applications to link against. Ideally, any new functions that are not part of the ABI should not have directly accessable dispatch functions. This forces applications to use glXGetProcAddress to access these functions. By doing this we can gracefully remove functions from libGL without breaking the linkage of applications. Note that the static dispatch functions are still generated. However, they are given names like gl_dispatch_stub_820 and are marked with the "hidden" linker attribute. All extension functions added since the previous Mesa release (6.5) have been marked as 'static_dispatch="false"'.
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 3c0c1cc57f..0d871563d0 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">
+ <function name="BindVertexArrayAPPLE" offset="819" static_dispatch="false">
<param name="array" type="GLuint"/>
</function>
- <function name="DeleteVertexArraysAPPLE" offset="820">
+ <function name="DeleteVertexArraysAPPLE" offset="820" static_dispatch="false">
<param name="n" type="GLsizei"/>
<param name="arrays" type="const GLuint *" count="n"/>
</function>
- <function name="GenVertexArraysAPPLE" offset="821">
+ <function name="GenVertexArraysAPPLE" offset="821" static_dispatch="false">
<param name="n" type="GLsizei"/>
<param name="arrays" type="GLuint *" count="n" output="true"/>
</function>
- <function name="IsVertexArrayAPPLE" offset="822">
+ <function name="IsVertexArrayAPPLE" offset="822" static_dispatch="false">
<param name="array" type="GLuint"/>
<return type="GLboolean"/>
</function>