<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">

<OpenGLAPI>
<category name="GL_EXT_framebuffer_object" number="310">
    <enum name="FRAMEBUFFER_EXT"                          value="0x8D40"/>
    <enum name="RENDERBUFFER_EXT"                         value="0x8D41"/>
    <enum name="RENDERBUFFER_WIDTH_EXT"                   value="0x8D42"/>
    <enum name="RENDERBUFFER_HEIGHT_EXT"                  value="0x8D43"/>
    <enum name="RENDERBUFFER_INTERNAL_FORMAT_EXT"         value="0x8D44"/>
    <enum name="STENCIL_INDEX1_EXT"                       value="0x8D46"/>
    <enum name="STENCIL_INDEX4_EXT"                       value="0x8D47"/>
    <enum name="STENCIL_INDEX8_EXT"                       value="0x8D48"/>
    <enum name="STENCIL_INDEX16_EXT"                      value="0x8D49"/>

    <enum name="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT"   count="1" value="0x8CD0">
        <size name="GetFramebufferAttachmentParameteriv" mode="get"/>
    </enum>
    <enum name="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT"   count="1" value="0x8CD1">
        <size name="GetFramebufferAttachmentParameteriv" mode="get"/>
    </enum>
    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT" count="1" value="0x8CD2">
        <size name="GetFramebufferAttachmentParameteriv" mode="get"/>
    </enum>
    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT" count="1" value="0x8CD3">
        <size name="GetFramebufferAttachmentParameteriv" mode="get"/>
    </enum>
    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT"    count="1" value="0x8CD4">
        <size name="GetFramebufferAttachmentParameteriv" mode="get"/>
    </enum>

    <enum name="COLOR_ATTACHMENT0_EXT"                    value="0x8CE0"/>
    <enum name="COLOR_ATTACHMENT1_EXT"                    value="0x8CE1"/>
    <enum name="COLOR_ATTACHMENT2_EXT"                    value="0x8CE2"/>
    <enum name="COLOR_ATTACHMENT3_EXT"                    value="0x8CE3"/>
    <enum name="COLOR_ATTACHMENT4_EXT"                    value="0x8CE4"/>
    <enum name="COLOR_ATTACHMENT5_EXT"                    value="0x8CE5"/>
    <enum name="COLOR_ATTACHMENT6_EXT"                    value="0x8CE6"/>
    <enum name="COLOR_ATTACHMENT7_EXT"                    value="0x8CE7"/>
    <enum name="COLOR_ATTACHMENT8_EXT"                    value="0x8CE8"/>
    <enum name="COLOR_ATTACHMENT9_EXT"                    value="0x8CE9"/>
    <enum name="COLOR_ATTACHMENT10_EXT"                   value="0x8CEA"/>
    <enum name="COLOR_ATTACHMENT11_EXT"                   value="0x8CEB"/>
    <enum name="COLOR_ATTACHMENT12_EXT"                   value="0x8CEC"/>
    <enum name="COLOR_ATTACHMENT13_EXT"                   value="0x8CED"/>
    <enum name="COLOR_ATTACHMENT14_EXT"                   value="0x8CEE"/>
    <enum name="COLOR_ATTACHMENT15_EXT"                   value="0x8CEF"/>
    <enum name="DEPTH_ATTACHMENT_EXT"                     value="0x8D00"/>
    <enum name="STENCIL_ATTACHMENT_EXT"                   value="0x8D20"/>

    <enum name="FRAMEBUFFER_COMPLETE_EXT"                 value="0x8CD5"/>
    <enum name="FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT"    value="0x8CD6"/>
    <enum name="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT"   value="0x8CD7"/>
    <enum name="FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT"    value="0x8CD9"/>
    <enum name="FRAMEBUFFER_INCOMPLETE_FORMATS_EXT"       value="0x8CDA"/>
    <enum name="FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT"   value="0x8CDB"/>
    <enum name="FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT"   value="0x8CDC"/>
    <enum name="FRAMEBUFFER_UNSUPPORTED_EXT"              value="0x8CDD"/>
    <enum name="FRAMEBUFFER_BINDING_EXT"        count="1" value="0x8CA6">
        <size name="Get" mode="get"/>
    </enum>
    <enum name="RENDERBUFFER_BINDING_EXT"       count="1" value="0x8CA7">
        <size name="Get" mode="get"/>
    </enum>
    <enum name="MAX_COLOR_ATTACHMENTS_EXT"      count="1" value="0x8CDF">
        <size name="Get" mode="get"/>
    </enum>
    <enum name="MAX_RENDERBUFFER_SIZE_EXT"      count="1" value="0x84E8">
        <size name="Get" mode="get"/>
    </enum>
    <enum name="INVALID_FRAMEBUFFER_OPERATION_EXT"        value="0x0506"/>

    <function name="IsRenderbufferEXT" alias="IsRenderbuffer">
        <param name="renderbuffer" type="GLuint"/>
	<return type="GLboolean"/>
    </function>

    <function name="BindRenderbufferEXT" deprecated="3.1">
        <param name="target" type="GLenum"/>
        <param name="renderbuffer" type="GLuint"/>
        <glx rop="4316"/>
    </function>

    <function name="DeleteRenderbuffersEXT" alias="DeleteRenderbuffers">
        <param name="n" type="GLsizei"/>
        <param name="renderbuffers" type="const GLuint *"/>
    </function>

    <function name="GenRenderbuffersEXT" alias="GenRenderbuffers">
        <param name="n" type="GLsizei"/>
        <param name="renderbuffers" type="GLuint *"/>
    </function>

    <function name="RenderbufferStorageEXT" alias="RenderbufferStorage">
        <param name="target" type="GLenum"/>
        <param name="internalformat" type="GLenum"/>
        <param name="width" type="GLsizei"/>
        <param name="height" type="GLsizei"/>
    </function>

    <function name="GetRenderbufferParameterivEXT" alias="GetRenderbufferParameteriv">
        <param name="target" type="GLenum"/>
        <param name="pname" type="GLenum"/>
        <param name="params" type="GLint *"/>
    </function>

    <function name="IsFramebufferEXT" alias="IsFramebuffer">
        <param name="framebuffer" type="GLuint"/>
	<return type="GLboolean"/>
    </function>

    <function name="BindFramebufferEXT" deprecated="3.1">
        <param name="target" type="GLenum"/>
        <param name="framebuffer" type="GLuint"/>
        <glx rop="4319"/>
    </function>

    <function name="DeleteFramebuffersEXT" alias="DeleteFramebuffers">
        <param name="n" type="GLsizei"/>
        <param name="framebuffers" type="const GLuint *"/>
    </function>

    <function name="GenFramebuffersEXT" alias="GenFramebuffers">
        <param name="n" type="GLsizei"/>
        <param name="framebuffers" type="GLuint *"/>
    </function>

    <function name="CheckFramebufferStatusEXT" alias="CheckFramebufferStatus">
        <param name="target" type="GLenum"/>
	<return type="GLenum"/>
    </function>

    <function name="FramebufferTexture1DEXT" alias="FramebufferTexture1D">
        <param name="target" type="GLenum"/>
        <param name="attachment" type="GLenum"/>
        <param name="textarget" type="GLenum"/>
        <param name="texture" type="GLuint"/>
        <param name="level" type="GLint"/>
    </function>

    <function name="FramebufferTexture2DEXT" alias="FramebufferTexture2D">
        <param name="target" type="GLenum"/>
        <param name="attachment" type="GLenum"/>
        <param name="textarget" type="GLenum"/>
        <param name="texture" type="GLuint"/>
        <param name="level" type="GLint"/>
    </function>

    <function name="FramebufferTexture3DEXT" alias="FramebufferTexture3D">
        <param name="target" type="GLenum"/>
        <param name="attachment" type="GLenum"/>
        <param name="textarget" type="GLenum"/>
        <param name="texture" type="GLuint"/>
        <param name="level" type="GLint"/>
        <param name="zoffset" type="GLint"/>
    </function>

    <function name="FramebufferRenderbufferEXT" alias="FramebufferRenderbuffer">
        <param name="target" type="GLenum"/>
        <param name="attachment" type="GLenum"/>
        <param name="renderbuffertarget" type="GLenum"/>
        <param name="renderbuffer" type="GLuint"/>
    </function>

    <function name="GetFramebufferAttachmentParameterivEXT" alias="GetFramebufferAttachmentParameteriv">
        <param name="target" type="GLenum"/>
        <param name="attachment" type="GLenum"/>
        <param name="pname" type="GLenum"/>
        <param name="params" type="GLint *"/>
    </function>

    <function name="GenerateMipmapEXT" alias="GenerateMipmap">
        <param name="target" type="GLenum"/>
    </function>
</category>

<category name="GL_EXT_framebuffer_blit" number="316">
    <enum name="READ_FRAMEBUFFER_EXT" value="0x8CA8"/>
    <enum name="DRAW_FRAMEBUFFER_EXT" value="0x8CA9"/>
    <enum name="DRAW_FRAMEBUFFER_BINDING_EXT" count="1" value="0x8CA6">
        <size name="Get" mode="get"/>
    </enum>
    <enum name="READ_FRAMEBUFFER_BINDING_EXT" count="1" value="0x8CAA">
        <size name="Get" mode="get"/>
    </enum>
    <function name="BlitFramebufferEXT" alias="BlitFramebuffer">
        <param name="srcX0" type="GLint"/>
        <param name="srcY0" type="GLint"/>
        <param name="srcX1" type="GLint"/>
        <param name="srcY1" type="GLint"/>
        <param name="dstX0" type="GLint"/>
        <param name="dstY0" type="GLint"/>
        <param name="dstX1" type="GLint"/>
        <param name="dstY1" type="GLint"/>
        <param name="mask" type="GLbitfield"/>
        <param name="filter" type="GLenum"/>
    </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>