summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/gl_API.xml
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2006-08-22 16:34:38 +0000
committerIan Romanick <[email protected]>2006-08-22 16:34:38 +0000
commit4e4b5f40081cb3e4cefe4dce30712d8d330c0774 (patch)
tree65b722305bb81a0c014903d20cf7d3715fbde83f /src/mesa/glapi/gl_API.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/gl_API.xml')
-rw-r--r--src/mesa/glapi/gl_API.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/gl_API.xml b/src/mesa/glapi/gl_API.xml
index 419d3bc880c..b5b549ccf06 100644
--- a/src/mesa/glapi/gl_API.xml
+++ b/src/mesa/glapi/gl_API.xml
@@ -11552,14 +11552,14 @@
</category>
<category name="GL_EXT_gpu_program_parameters" number="319">
- <function name="ProgramEnvParameters4fvEXT" offset="823">
+ <function name="ProgramEnvParameters4fvEXT" offset="823" static_dispatch="false">
<param name="target" type="GLenum"/>
<param name="index" type="GLuint"/>
<param name="count" type="GLsizei"/>
<param name="params" type="const GLfloat *"/>
</function>
- <function name="ProgramLocalParameters4fvEXT" offset="824">
+ <function name="ProgramLocalParameters4fvEXT" offset="824" static_dispatch="false">
<param name="target" type="GLenum"/>
<param name="index" type="GLuint"/>
<param name="count" type="GLsizei"/>