summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/EXT_framebuffer_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/EXT_framebuffer_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/EXT_framebuffer_object.xml')
-rw-r--r--src/mesa/glapi/EXT_framebuffer_object.xml35
1 files changed, 18 insertions, 17 deletions
diff --git a/src/mesa/glapi/EXT_framebuffer_object.xml b/src/mesa/glapi/EXT_framebuffer_object.xml
index 5057bdc8bf..d2a18b6424 100644
--- a/src/mesa/glapi/EXT_framebuffer_object.xml
+++ b/src/mesa/glapi/EXT_framebuffer_object.xml
@@ -67,31 +67,31 @@
<enum name="INVALID_FRAMEBUFFER_OPERATION_EXT" value="0x0506"/>
- <function name="IsRenderbufferEXT" offset="796">
+ <function name="IsRenderbufferEXT" offset="assign">
<param name="renderbuffer" type="GLuint"/>
<return type="GLboolean"/>
<glx vendorpriv="1422"/>
</function>
- <function name="BindRenderbufferEXT" offset="797">
+ <function name="BindRenderbufferEXT" offset="assign">
<param name="target" type="GLenum"/>
<param name="renderbuffer" type="GLuint"/>
<glx rop="4316"/>
</function>
- <function name="DeleteRenderbuffersEXT" offset="798">
+ <function name="DeleteRenderbuffersEXT" offset="assign">
<param name="n" type="GLsizei" counter="true"/>
<param name="renderbuffers" type="const GLuint *" count="n"/>
<glx rop="4317"/>
</function>
- <function name="GenRenderbuffersEXT" offset="799">
+ <function name="GenRenderbuffersEXT" offset="assign">
<param name="n" type="GLsizei" counter="true"/>
<param name="renderbuffers" type="GLuint *" count="n" output="true"/>
<glx vendorpriv="1423" always_array="true"/>
</function>
- <function name="RenderbufferStorageEXT" offset="800">
+ <function name="RenderbufferStorageEXT" offset="assign">
<param name="target" type="GLenum"/>
<param name="internalformat" type="GLenum"/>
<param name="width" type="GLsizei"/>
@@ -99,44 +99,44 @@
<glx rop="4318"/>
</function>
- <function name="GetRenderbufferParameterivEXT" offset="801">
+ <function name="GetRenderbufferParameterivEXT" offset="assign">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLint *" output="true"/>
<glx vendorpriv="1424"/>
</function>
- <function name="IsFramebufferEXT" offset="802">
+ <function name="IsFramebufferEXT" offset="assign">
<param name="framebuffer" type="GLuint"/>
<return type="GLboolean"/>
<glx vendorpriv="1425"/>
</function>
- <function name="BindFramebufferEXT" offset="803">
+ <function name="BindFramebufferEXT" offset="assign">
<param name="target" type="GLenum"/>
<param name="framebuffer" type="GLuint"/>
<glx rop="4319"/>
</function>
- <function name="DeleteFramebuffersEXT" offset="804">
+ <function name="DeleteFramebuffersEXT" offset="assign">
<param name="n" type="GLsizei" counter="true"/>
<param name="framebuffers" type="const GLuint *" count="n"/>
<glx rop="4320"/>
</function>
- <function name="GenFramebuffersEXT" offset="805">
+ <function name="GenFramebuffersEXT" offset="assign">
<param name="n" type="GLsizei" counter="true"/>
<param name="framebuffers" type="GLuint *" count="n" output="true"/>
<glx vendorpriv="1426" always_array="true"/>
</function>
- <function name="CheckFramebufferStatusEXT" offset="806">
+ <function name="CheckFramebufferStatusEXT" offset="assign">
<param name="target" type="GLenum"/>
<return type="GLenum"/>
<glx vendorpriv="1427"/>
</function>
- <function name="FramebufferTexture1DEXT" offset="807">
+ <function name="FramebufferTexture1DEXT" offset="assign">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="textarget" type="GLenum"/>
@@ -145,7 +145,7 @@
<glx rop="4321"/>
</function>
- <function name="FramebufferTexture2DEXT" offset="808">
+ <function name="FramebufferTexture2DEXT" offset="assign">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="textarget" type="GLenum"/>
@@ -154,7 +154,7 @@
<glx rop="4322"/>
</function>
- <function name="FramebufferTexture3DEXT" offset="809">
+ <function name="FramebufferTexture3DEXT" offset="assign">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="textarget" type="GLenum"/>
@@ -164,7 +164,7 @@
<glx rop="4323"/>
</function>
- <function name="FramebufferRenderbufferEXT" offset="810">
+ <function name="FramebufferRenderbufferEXT" offset="assign">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="renderbuffertarget" type="GLenum"/>
@@ -172,7 +172,8 @@
<glx rop="4324"/>
</function>
- <function name="GetFramebufferAttachmentParameterivEXT" offset="811">
+ <function name="GetFramebufferAttachmentParameterivEXT"
+offset="assign">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="pname" type="GLenum"/>
@@ -180,7 +181,7 @@
<glx vendorpriv="1428"/>
</function>
- <function name="GenerateMipmapEXT" offset="812">
+ <function name="GenerateMipmapEXT" offset="assign">
<param name="target" type="GLenum"/>
<glx rop="4325"/>
</function>