1<?xml version="1.0"?>
2<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
3
4<OpenGLAPI>
5<category name="GL_EXT_framebuffer_object" number="310">
6    <enum name="FRAMEBUFFER_EXT"                          value="0x8D40"/>
7    <enum name="RENDERBUFFER_EXT"                         value="0x8D41"/>
8    <enum name="RENDERBUFFER_WIDTH_EXT"                   value="0x8D42"/>
9    <enum name="RENDERBUFFER_HEIGHT_EXT"                  value="0x8D43"/>
10    <enum name="RENDERBUFFER_INTERNAL_FORMAT_EXT"         value="0x8D44"/>
11    <enum name="STENCIL_INDEX_EXT"                        value="0x8D45"/>
12    <enum name="STENCIL_INDEX1_EXT"                       value="0x8D46"/>
13    <enum name="STENCIL_INDEX4_EXT"                       value="0x8D47"/>
14    <enum name="STENCIL_INDEX8_EXT"                       value="0x8D48"/>
15    <enum name="STENCIL_INDEX16_EXT"                      value="0x8D49"/>
16
17    <enum name="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT"   count="1" value="0x8CD0">
18        <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/>
19    </enum>
20    <enum name="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT"   count="1" value="0x8CD1">
21        <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/>
22    </enum>
23    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT" count="1" value="0x8CD2">
24        <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/>
25    </enum>
26    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT" count="1" value="0x8CD3">
27        <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/>
28    </enum>
29    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT"    count="1" value="0x8CD4">
30        <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/>
31    </enum>
32
33    <enum name="COLOR_ATTACHMENT0_EXT"                    value="0x8CE0"/>
34    <enum name="COLOR_ATTACHMENT1_EXT"                    value="0x8CE1"/>
35    <enum name="COLOR_ATTACHMENT2_EXT"                    value="0x8CE2"/>
36    <enum name="COLOR_ATTACHMENT3_EXT"                    value="0x8CE3"/>
37    <enum name="COLOR_ATTACHMENT4_EXT"                    value="0x8CE4"/>
38    <enum name="COLOR_ATTACHMENT5_EXT"                    value="0x8CE5"/>
39    <enum name="COLOR_ATTACHMENT6_EXT"                    value="0x8CE6"/>
40    <enum name="COLOR_ATTACHMENT7_EXT"                    value="0x8CE7"/>
41    <enum name="COLOR_ATTACHMENT8_EXT"                    value="0x8CE8"/>
42    <enum name="COLOR_ATTACHMENT9_EXT"                    value="0x8CE9"/>
43    <enum name="COLOR_ATTACHMENT10_EXT"                   value="0x8CEA"/>
44    <enum name="COLOR_ATTACHMENT11_EXT"                   value="0x8CEB"/>
45    <enum name="COLOR_ATTACHMENT12_EXT"                   value="0x8CEC"/>
46    <enum name="COLOR_ATTACHMENT13_EXT"                   value="0x8CED"/>
47    <enum name="COLOR_ATTACHMENT14_EXT"                   value="0x8CEE"/>
48    <enum name="COLOR_ATTACHMENT15_EXT"                   value="0x8CEF"/>
49    <enum name="DEPTH_ATTACHMENT_EXT"                     value="0x8D00"/>
50    <enum name="STENCIL_ATTACHMENT_EXT"                   value="0x8D20"/>
51
52    <enum name="FRAMEBUFFER_COMPLETE_EXT"                 value="0x8CD5"/>
53    <enum name="FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT"    value="0x8CD6"/>
54    <enum name="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT"   value="0x8CD7"/>
55    <enum name="FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT" value="0x8CD8"/>
56    <enum name="FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT"    value="0x8CD9"/>
57    <enum name="FRAMEBUFFER_INCOMPLETE_FORMATS_EXT"       value="0x8CDA"/>
58    <enum name="FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT"   value="0x8CDB"/>
59    <enum name="FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT"   value="0x8CDC"/>
60    <enum name="FRAMEBUFFER_UNSUPPORTED_EXT"              value="0x8CDD"/>
61    <enum name="FRAMEBUFFER_STATUS_ERROR_EXT"             value="0x8CDE"/>
62    <enum name="FRAMEBUFFER_BINDING_EXT"        count="1" value="0x8CA6">
63        <size name="Get" mode="get"/>
64    </enum>
65    <enum name="RENDERBUFFER_BINDING_EXT"       count="1" value="0x8CA7">
66        <size name="Get" mode="get"/>
67    </enum>
68    <enum name="MAX_COLOR_ATTACHMENTS_EXT"      count="1" value="0x8CDF">
69        <size name="Get" mode="get"/>
70    </enum>
71    <enum name="MAX_RENDERBUFFER_SIZE_EXT"      count="1" value="0x84E8">
72        <size name="Get" mode="get"/>
73    </enum>
74    <enum name="INVALID_FRAMEBUFFER_OPERATION_EXT"        value="0x0506"/>
75
76    <function name="IsRenderbufferEXT" offset="assign">
77        <param name="renderbuffer" type="GLuint"/>
78	<return type="GLboolean"/>
79	<glx vendorpriv="1422"/>
80    </function>
81
82    <function name="BindRenderbufferEXT" offset="assign">
83        <param name="target" type="GLenum"/>
84        <param name="renderbuffer" type="GLuint"/>
85	<glx rop="4316"/>
86    </function>
87
88    <function name="DeleteRenderbuffersEXT" offset="assign">
89        <param name="n" type="GLsizei" counter="true"/>
90        <param name="renderbuffers" type="const GLuint *" count="n"/>
91	<glx rop="4317"/>
92    </function>
93
94    <function name="GenRenderbuffersEXT" offset="assign">
95        <param name="n" type="GLsizei" counter="true"/>
96        <param name="renderbuffers" type="GLuint *" count="n" output="true"/>
97	<glx vendorpriv="1423" always_array="true"/>
98    </function>
99
100    <function name="RenderbufferStorageEXT" offset="assign">
101        <param name="target" type="GLenum"/>
102        <param name="internalformat" type="GLenum"/>
103        <param name="width" type="GLsizei"/>
104        <param name="height" type="GLsizei"/>
105	<glx rop="4318"/>
106    </function>
107
108    <function name="GetRenderbufferParameterivEXT" offset="assign">
109        <param name="target" type="GLenum"/>
110        <param name="pname" type="GLenum"/>
111        <param name="params" type="GLint *" output="true"/>
112	<glx vendorpriv="1424"/>
113    </function>
114
115    <function name="IsFramebufferEXT" offset="assign">
116        <param name="framebuffer" type="GLuint"/>
117	<return type="GLboolean"/>
118	<glx vendorpriv="1425"/>
119    </function>
120
121    <function name="BindFramebufferEXT" offset="assign">
122        <param name="target" type="GLenum"/>
123        <param name="framebuffer" type="GLuint"/>
124	<glx rop="4319"/>
125    </function>
126
127    <function name="DeleteFramebuffersEXT" offset="assign">
128        <param name="n" type="GLsizei" counter="true"/>
129        <param name="framebuffers" type="const GLuint *" count="n"/>
130	<glx rop="4320"/>
131    </function>
132
133    <function name="GenFramebuffersEXT" offset="assign">
134        <param name="n" type="GLsizei" counter="true"/>
135        <param name="framebuffers" type="GLuint *" count="n" output="true"/>
136	<glx vendorpriv="1426" always_array="true"/>
137    </function>
138
139    <function name="CheckFramebufferStatusEXT" offset="assign">
140        <param name="target" type="GLenum"/>
141	<return type="GLenum"/>
142	<glx vendorpriv="1427"/>
143    </function>
144
145    <function name="FramebufferTexture1DEXT" offset="assign">
146        <param name="target" type="GLenum"/>
147        <param name="attachment" type="GLenum"/>
148        <param name="textarget" type="GLenum"/>
149        <param name="texture" type="GLuint"/>
150        <param name="level" type="GLint"/>
151	<glx rop="4321"/>
152    </function>
153
154    <function name="FramebufferTexture2DEXT" offset="assign">
155        <param name="target" type="GLenum"/>
156        <param name="attachment" type="GLenum"/>
157        <param name="textarget" type="GLenum"/>
158        <param name="texture" type="GLuint"/>
159        <param name="level" type="GLint"/>
160	<glx rop="4322"/>
161    </function>
162
163    <function name="FramebufferTexture3DEXT" offset="assign">
164        <param name="target" type="GLenum"/>
165        <param name="attachment" type="GLenum"/>
166        <param name="textarget" type="GLenum"/>
167        <param name="texture" type="GLuint"/>
168        <param name="level" type="GLint"/>
169        <param name="zoffset" type="GLint"/>
170	<glx rop="4323"/>
171    </function>
172
173    <function name="FramebufferRenderbufferEXT" offset="assign">
174        <param name="target" type="GLenum"/>
175        <param name="attachment" type="GLenum"/>
176        <param name="renderbuffertarget" type="GLenum"/>
177        <param name="renderbuffer" type="GLuint"/>
178	<glx rop="4324"/>
179    </function>
180
181    <function name="GetFramebufferAttachmentParameterivEXT" offset="assign">
182        <param name="target" type="GLenum"/>
183        <param name="attachment" type="GLenum"/>
184        <param name="pname" type="GLenum"/>
185        <param name="params" type="GLint *" output="true"/>
186	<glx vendorpriv="1428"/>
187    </function>
188
189    <function name="GenerateMipmapEXT" offset="assign">
190        <param name="target" type="GLenum"/>
191	<glx rop="4325"/>
192    </function>
193</category>
194
195<category name="GL_EXT_framebuffer_blit" number="316">
196    <enum name="READ_FRAMEBUFFER_EXT" value="0x8CA8"/>
197    <enum name="DRAW_FRAMEBUFFER_EXT" value="0x8CA9"/>
198    <enum name="DRAW_FRAMEBUFFER_BINDING_EXT" count="1" value="0x8CA6">
199        <size name="Get" mode="get"/>
200    </enum>
201    <enum name="READ_FRAMEBUFFER_BINDING_EXT" count="1" value="0x8CAA">
202        <size name="Get" mode="get"/>
203    </enum>
204    <function name="BlitFramebufferEXT" offset="assign" static_dispatch="false">
205        <param name="srcX0" type="GLint"/>
206        <param name="srcY0" type="GLint"/>
207        <param name="srcX1" type="GLint"/>
208        <param name="srcY1" type="GLint"/>
209        <param name="dstX0" type="GLint"/>
210        <param name="dstY0" type="GLint"/>
211        <param name="dstX1" type="GLint"/>
212        <param name="dstY1" type="GLint"/>
213        <param name="mask" type="GLbitfield"/>
214        <param name="filter" type="GLenum"/>
215        <glx rop="4330"/>
216    </function>
217</category>
218
219<category name="GL_EXT_framebuffer_multisample" number="317">
220    <enum name="RENDERBUFFER_SAMPLES_EXT"                  value="0x8CAB"/>
221    <enum name="FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT"    value="0x8D56"/>
222    <enum name="MAX_SAMPLES_EXT"                 count="1" value="0x8D57">
223        <size name="Get" mode="get"/>
224    </enum>
225
226    <function name="RenderbufferStorageMultisampleEXT" alias="RenderbufferStorageMultisample">
227        <param name="target" type="GLenum"/>
228        <param name="samples" type="GLsizei"/>
229        <param name="internalformat" type="GLenum"/>
230        <param name="width" type="GLsizei"/>
231        <param name="height" type="GLsizei"/>
232    </function>
233</category>
234
235</OpenGLAPI>
236