ARB_fbo: Add GL_EXT_framebuffer_multisample
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 11 Nov 2009 23:15:35 +0000 (15:15 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 18 Nov 2009 00:25:37 +0000 (16:25 -0800)
Add GL_EXT_framebuffer_multisample.  Make
glRenderbufferStorageMultisampleEXT in GL_EXT_framebuffer_object alias
glRenderbufferStorageMultisample.  Also add the missing GLX render
opcode to glRenderbufferStorageMultisample.

Since this extension is layered on GL_EXT_framebuffer_object, I put it
in EXT_framebuffer_object.xml.

src/mesa/glapi/ARB_framebuffer_object.xml
src/mesa/glapi/EXT_framebuffer_object.xml

index 89c23938fb86a84d7b1c49314cb033adf9eebdf8..e6bdcd6e509cb0078eeec8cda32cec6bdaef451c 100644 (file)
         <param name="internalformat" type="GLenum"/>
         <param name="width" type="GLsizei"/>
         <param name="height" type="GLsizei"/>
+        <glx rop="4331"/>
     </function>
 
     <function name="GetRenderbufferParameteriv" alias="GetRenderbufferParameterivEXT">
index 5559b48b11a8d8ffd6aff00e84eb43c49453f18f..8c5b1c3a1ee60f6e05ef14479746a0fc81b4cf26 100644 (file)
     </function>
 </category>
 
+<category name="GL_EXT_framebuffer_multisample" number="317">
+    <enum name="RENDERBUFFER_SAMPLES_EXT"                  value="0x8CAB"/>
+    <enum name="FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT"    value="0x8D56"/>
+    <enum name="MAX_SAMPLES_EXT"                 count="1" value="0x8D57">
+        <size name="Get" mode="get"/>
+    </enum>
+
+    <function name="RenderbufferStorageMultisampleEXT" alias="RenderbufferStorageMultisample">
+        <param name="target" type="GLenum"/>
+        <param name="samples" type="GLsizei"/>
+        <param name="internalformat" type="GLenum"/>
+        <param name="width" type="GLsizei"/>
+        <param name="height" type="GLsizei"/>
+    </function>
+</category>
+
 </OpenGLAPI>