cbbb80805ed881abec9d857d2923fe2301243546
[mesa.git] / src / mapi / glapi / gen / EXT_direct_state_access.xml
1 <?xml version="1.0"?>
2 <!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
3
4 <!-- Note: no GLX protocol info yet. -->
5
6 <OpenGLAPI>
7
8 <category name="GL_EXT_direct_state_access" number="353">
9
10 <!--
11 This extension is unusual in that it is ALL interactions
12 with specific GL versions and other extensions.
13 -->
14
15 <enum name="PROGRAM_MATRIX_EXT" value="0x8E2D"/>
16 <enum name="TRANSPOSE_PROGRAM_MATRIX_EXT" value="0x8E2E"/>
17 <enum name="PROGRAM_MATRIX_STACK_DEPTH_EXT" value="0x8E2F"/>
18
19 <!-- GL1.0 extras -->
20
21 <function name="MatrixLoadfEXT" offset="assign">
22 <param name="matrixMode" type="GLenum" />
23 <param name="m" type="const GLfloat *" />
24 </function>
25 <function name="MatrixLoaddEXT" offset="assign">
26 <param name="matrixMode" type="GLenum" />
27 <param name="m" type="const GLdouble *" />
28 </function>
29 <function name="MatrixMultfEXT" offset="assign">
30 <param name="matrixMode" type="GLenum" />
31 <param name="m" type="const GLfloat *" />
32 </function>
33 <function name="MatrixMultdEXT" offset="assign">
34 <param name="matrixMode" type="GLenum" />
35 <param name="m" type="const GLdouble *" />
36 </function>
37 <function name="MatrixLoadIdentityEXT" offset="assign">
38 <param name="matrixMode" type="GLenum" />
39 </function>
40 <function name="MatrixRotatefEXT" offset="assign">
41 <param name="matrixMode" type="GLenum" />
42 <param name="angle" type="GLfloat" />
43 <param name="x" type="GLfloat" />
44 <param name="y" type="GLfloat" />
45 <param name="z" type="GLfloat" />
46 </function>
47 <function name="MatrixRotatedEXT" offset="assign">
48 <param name="matrixMode" type="GLenum" />
49 <param name="angle" type="GLdouble" />
50 <param name="x" type="GLdouble" />
51 <param name="y" type="GLdouble" />
52 <param name="z" type="GLdouble" />
53 </function>
54 <function name="MatrixScalefEXT" offset="assign">
55 <param name="matrixMode" type="GLenum" />
56 <param name="x" type="GLfloat" />
57 <param name="y" type="GLfloat" />
58 <param name="z" type="GLfloat" />
59 </function>
60 <function name="MatrixScaledEXT" offset="assign">
61 <param name="matrixMode" type="GLenum" />
62 <param name="x" type="GLdouble" />
63 <param name="y" type="GLdouble" />
64 <param name="z" type="GLdouble" />
65 </function>
66 <function name="MatrixTranslatefEXT" offset="assign">
67 <param name="matrixMode" type="GLenum" />
68 <param name="x" type="GLfloat" />
69 <param name="y" type="GLfloat" />
70 <param name="z" type="GLfloat" />
71 </function>
72 <function name="MatrixTranslatedEXT" offset="assign">
73 <param name="matrixMode" type="GLenum" />
74 <param name="x" type="GLdouble" />
75 <param name="y" type="GLdouble" />
76 <param name="z" type="GLdouble" />
77 </function>
78 <function name="MatrixOrthoEXT" offset="assign">
79 <param name="matrixMode" type="GLenum" />
80 <param name="l" type="GLdouble" />
81 <param name="r" type="GLdouble" />
82 <param name="b" type="GLdouble" />
83 <param name="t" type="GLdouble" />
84 <param name="n" type="GLdouble" />
85 <param name="f" type="GLdouble" />
86 </function>
87 <function name="MatrixFrustumEXT" offset="assign">
88 <param name="matrixMode" type="GLenum" />
89 <param name="l" type="GLdouble" />
90 <param name="r" type="GLdouble" />
91 <param name="b" type="GLdouble" />
92 <param name="t" type="GLdouble" />
93 <param name="n" type="GLdouble" />
94 <param name="f" type="GLdouble" />
95 </function>
96 <function name="MatrixPushEXT" offset="assign">
97 <param name="matrixMode" type="GLenum" />
98 </function>
99 <function name="MatrixPopEXT" offset="assign">
100 <param name="matrixMode" type="GLenum" />
101 </function>
102
103 <!-- OpenGL 1.1 -->
104
105 <function name="GetTextureParameterivEXT">
106 <param name="texture" type="GLuint" />
107 <param name="target" type="GLenum" />
108 <param name="pname" type="GLenum" />
109 <param name="params" type="GLint *" />
110 </function>
111
112 <function name="GetTextureParameterfvEXT">
113 <param name="texture" type="GLuint" />
114 <param name="target" type="GLenum" />
115 <param name="pname" type="GLenum" />
116 <param name="params" type="float *" />
117 </function>
118
119 <function name="TextureParameteriEXT">
120 <param name="texture" type="GLuint" />
121 <param name="target" type="GLenum" />
122 <param name="pname" type="GLenum" />
123 <param name="param" type="int" />
124 </function>
125
126 <function name="TextureParameterivEXT">
127 <param name="texture" type="GLuint" />
128 <param name="target" type="GLenum" />
129 <param name="pname" type="GLenum" />
130 <param name="params" type="const GLint *" />
131 </function>
132
133 <function name="TextureParameterfEXT">
134 <param name="texture" type="GLuint" />
135 <param name="target" type="GLenum" />
136 <param name="pname" type="GLenum" />
137 <param name="param" type="float" />
138 </function>
139
140 <function name="TextureParameterfvEXT">
141 <param name="texture" type="GLuint" />
142 <param name="target" type="GLenum" />
143 <param name="pname" type="GLenum" />
144 <param name="params" type="const float *" />
145 </function>
146
147 <function name="TextureImage1DEXT">
148 <param name="texture" type="GLuint" />
149 <param name="target" type="GLenum" />
150 <param name="level" type="GLint" />
151 <param name="internalFormat" type="GLint" />
152 <param name="width" type="GLsizei" />
153 <param name="border" type="GLint" />
154 <param name="format" type="GLenum" />
155 <param name="type" type="GLenum" />
156 <param name="pixels" type="const GLvoid *" />
157 </function>
158
159 <function name="TextureImage2DEXT">
160 <param name="texture" type="GLuint" />
161 <param name="target" type="GLenum" />
162 <param name="level" type="GLint" />
163 <param name="internalFormat" type="GLint" />
164 <param name="width" type="GLsizei" />
165 <param name="height" type="GLsizei" />
166 <param name="border" type="GLint" />
167 <param name="format" type="GLenum" />
168 <param name="type" type="GLenum" />
169 <param name="pixels" type="const GLvoid *" />
170 </function>
171
172 <function name="TextureImage3DEXT">
173 <param name="texture" type="GLuint" />
174 <param name="target" type="GLenum" />
175 <param name="level" type="GLint" />
176 <param name="internalFormat" type="GLint" />
177 <param name="width" type="GLsizei" />
178 <param name="height" type="GLsizei" />
179 <param name="depth" type="GLsizei" />
180 <param name="border" type="GLint" />
181 <param name="format" type="GLenum" />
182 <param name="type" type="GLenum" />
183 <param name="pixels" type="const GLvoid *" />
184 </function>
185
186 <function name="TextureSubImage1DEXT">
187 <param name="texture" type="GLuint" />
188 <param name="target" type="GLenum" />
189 <param name="level" type="GLint" />
190 <param name="xoffset" type="GLint" />
191 <param name="width" type="GLsizei" />
192 <param name="format" type="GLenum" />
193 <param name="type" type="GLenum" />
194 <param name="pixels" type="const GLvoid *" />
195 </function>
196
197 <function name="TextureSubImage2DEXT">
198 <param name="texture" type="GLuint" />
199 <param name="target" type="GLenum" />
200 <param name="level" type="GLint" />
201 <param name="xoffset" type="GLint" />
202 <param name="yoffset" type="GLint" />
203 <param name="width" type="GLsizei" />
204 <param name="height" type="GLsizei" />
205 <param name="format" type="GLenum" />
206 <param name="type" type="GLenum" />
207 <param name="pixels" type="const GLvoid *" />
208 </function>
209
210 <function name="TextureSubImage3DEXT">
211 <param name="texture" type="GLuint" />
212 <param name="target" type="GLenum" />
213 <param name="level" type="GLint" />
214 <param name="xoffset" type="GLint" />
215 <param name="yoffset" type="GLint" />
216 <param name="zoffset" type="GLint" />
217 <param name="width" type="GLsizei" />
218 <param name="height" type="GLsizei" />
219 <param name="depth" type="GLsizei" />
220 <param name="format" type="GLenum" />
221 <param name="type" type="GLenum" />
222 <param name="pixels" type="const GLvoid *" />
223 </function>
224
225 <function name="CopyTextureImage1DEXT">
226 <param name="texture" type="GLuint" />
227 <param name="target" type="GLenum" />
228 <param name="level" type="GLint" />
229 <param name="internalFormat" type="GLenum" />
230 <param name="x" type="GLint" />
231 <param name="y" type="GLint" />
232 <param name="width" type="GLsizei" />
233 <param name="border" type="int" />
234 </function>
235
236 <function name="CopyTextureImage2DEXT">
237 <param name="texture" type="GLuint" />
238 <param name="target" type="GLenum" />
239 <param name="level" type="GLint" />
240 <param name="internalFormat" type="GLenum" />
241 <param name="x" type="GLint" />
242 <param name="y" type="GLint" />
243 <param name="width" type="GLsizei" />
244 <param name="height" type="GLsizei" />
245 <param name="border" type="int" />
246 </function>
247
248 <function name="CopyTextureSubImage1DEXT">
249 <param name="texture" type="GLuint" />
250 <param name="target" type="GLenum" />
251 <param name="level" type="GLint" />
252 <param name="xoffset" type="GLint" />
253 <param name="x" type="GLint" />
254 <param name="y" type="GLint" />
255 <param name="width" type="GLsizei" />
256 </function>
257
258 <function name="CopyTextureSubImage2DEXT">
259 <param name="texture" type="GLuint" />
260 <param name="target" type="GLenum" />
261 <param name="level" type="GLint" />
262 <param name="xoffset" type="GLint" />
263 <param name="yoffset" type="GLint" />
264 <param name="x" type="GLint" />
265 <param name="y" type="GLint" />
266 <param name="width" type="GLsizei" />
267 <param name="height" type="GLsizei" />
268 </function>
269
270 <function name="CopyTextureSubImage3DEXT">
271 <param name="texture" type="GLuint" />
272 <param name="target" type="GLenum" />
273 <param name="level" type="GLint" />
274 <param name="xoffset" type="GLint" />
275 <param name="yoffset" type="GLint" />
276 <param name="zoffset" type="GLint" />
277 <param name="x" type="GLint" />
278 <param name="y" type="GLint" />
279 <param name="width" type="GLsizei" />
280 <param name="height" type="GLsizei" />
281 </function>
282
283 <function name="GetTextureImageEXT">
284 <param name="texture" type="GLuint" />
285 <param name="target" type="GLenum" />
286 <param name="level" type="GLint" />
287 <param name="format" type="GLenum" />
288 <param name="type" type="GLenum" />
289 <param name="pixels" type="GLvoid *" />
290 </function>
291
292 <!-- OpenGL 1.2.1 -->
293
294 <function name="BindMultiTextureEXT">
295 <param name="texunit" type="GLenum" />
296 <param name="target" type="GLenum" />
297 <param name="texture" type="GLuint" />
298 </function>
299
300 <!-- OpenGL 1.3 -->
301
302 <function name="MatrixLoadTransposefEXT" offset="assign">
303 <param name="matrixMode" type="GLenum" />
304 <param name="m" type="const GLfloat *" />
305 </function>
306
307 <function name="MatrixLoadTransposedEXT" offset="assign">
308 <param name="matrixMode" type="GLenum" />
309 <param name="m" type="const GLdouble *" />
310 </function>
311
312 <function name="MatrixMultTransposefEXT" offset="assign">
313 <param name="matrixMode" type="GLenum" />
314 <param name="m" type="const GLfloat *" />
315 </function>
316
317 <function name="MatrixMultTransposedEXT" offset="assign">
318 <param name="matrixMode" type="GLenum" />
319 <param name="m" type="const GLdouble *" />
320 </function>
321
322 <function name="CompressedTextureSubImage2DEXT">
323 <param name="texture" type="GLuint" />
324 <param name="target" type="GLenum" />
325 <param name="level" type="GLint" />
326 <param name="xoffset" type="GLint" />
327 <param name="yoffset" type="GLint" />
328 <param name="width" type="GLsizei" />
329 <param name="height" type="GLsizei" />
330 <param name="format" type="GLenum" />
331 <param name="imageSize" type="GLsizei" />
332 <param name="data" type="const GLvoid *" />
333 </function>
334
335 <!-- OpenGL 1.5 -->
336
337 <function name="NamedBufferDataEXT">
338 <param name="buffer" type="GLuint" />
339 <param name="size" type="GLsizeiptr" />
340 <param name="data" type="const GLvoid *" />
341 <param name="usage" type="GLenum" />
342 </function>
343
344 <function name="NamedBufferSubDataEXT">
345 <param name="buffer" type="GLuint" />
346 <param name="offset" type="GLintptr" />
347 <param name="size" type="GLsizeiptr" />
348 <param name="data" type="const GLvoid *" />
349 </function>
350
351 <function name="MapNamedBufferEXT">
352 <return type="GLvoid *" />
353 <param name="buffer" type="GLuint" />
354 <param name="access" type="GLenum" />
355 </function>
356
357 <function name="UnmapNamedBufferEXT">
358 <return type="GLboolean" />
359 <param name="buffer" type="GLuint" />
360 </function>
361
362 <!-- OpenGL 3.0 -->
363
364 <function name="MapNamedBufferRangeEXT">
365 <return type="GLvoid *" />
366 <param name="buffer" type="GLuint" />
367 <param name="offset" type="GLintptr" />
368 <param name="length" type="GLsizeiptr" />
369 <param name="access" type="GLbitfield" />
370 </function>
371
372 </category>
373 </OpenGLAPI>