revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / mesa / src / mapi / glapi / gen-es / base2_API.xml
blobb59ef62de64b353b610f942ec9c9aae99884ab74
1 <?xml version="1.0"?>
2 <!DOCTYPE OpenGLAPI SYSTEM "../gen/gl_API.dtd">
4 <!-- OpenGL and OpenGL ES 2.x APIs -->
6 <OpenGLAPI>
8 <xi:include href="base1_API.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
10 <!-- base subset of OpenGL 2.0 -->
11 <category name="base2.0">
12     <enum name="BLEND_EQUATION_RGB"            count="1"  value="0x8009"> <!-- same as BLEND_EQUATION -->
13         <size name="Get" mode="get"/>
14     </enum>
15     <enum name="VERTEX_ATTRIB_ARRAY_ENABLED"   count="1"  value="0x8622">
16         <size name="GetVertexAttribdv" mode="get"/>
17         <size name="GetVertexAttribfv" mode="get"/>
18         <size name="GetVertexAttribiv" mode="get"/>
19     </enum>
20     <enum name="VERTEX_ATTRIB_ARRAY_SIZE"      count="1"  value="0x8623">
21         <size name="GetVertexAttribdv" mode="get"/>
22         <size name="GetVertexAttribfv" mode="get"/>
23         <size name="GetVertexAttribiv" mode="get"/>
24     </enum>
25     <enum name="VERTEX_ATTRIB_ARRAY_STRIDE"     count="1" value="0x8624">
26         <size name="GetVertexAttribdv" mode="get"/>
27         <size name="GetVertexAttribfv" mode="get"/>
28         <size name="GetVertexAttribiv" mode="get"/>
29     </enum>
30     <enum name="VERTEX_ATTRIB_ARRAY_TYPE"      count="1"  value="0x8625">
31         <size name="GetVertexAttribdv" mode="get"/>
32         <size name="GetVertexAttribfv" mode="get"/>
33         <size name="GetVertexAttribiv" mode="get"/>
34     </enum>
35     <enum name="CURRENT_VERTEX_ATTRIB"         count="1"  value="0x8626">
36         <size name="GetVertexAttribdv" mode="get"/>
37         <size name="GetVertexAttribfv" mode="get"/>
38         <size name="GetVertexAttribiv" mode="get"/>
39     </enum>
40     <enum name="VERTEX_ATTRIB_ARRAY_POINTER"              value="0x8645"/>
41     <enum name="STENCIL_BACK_FUNC"             count="1"  value="0x8800">
42         <size name="Get" mode="get"/>
43     </enum>
44     <enum name="STENCIL_BACK_FAIL"             count="1"  value="0x8801">
45         <size name="Get" mode="get"/>
46     </enum>
47     <enum name="STENCIL_BACK_PASS_DEPTH_FAIL"  count="1"  value="0x8802">
48         <size name="Get" mode="get"/>
49     </enum>
50     <enum name="STENCIL_BACK_PASS_DEPTH_PASS"  count="1"  value="0x8803">
51         <size name="Get" mode="get"/>
52     </enum>
53     <enum name="BLEND_EQUATION_ALPHA"          count="1"  value="0x883D">
54         <size name="Get" mode="get"/>
55     </enum>
56     <enum name="MAX_VERTEX_ATTRIBS"            count="1"  value="0x8869">
57         <size name="Get" mode="get"/>
58     </enum>
59     <enum name="VERTEX_ATTRIB_ARRAY_NORMALIZED"           value="0x886A"/>
60     <enum name="MAX_TEXTURE_IMAGE_UNITS"       count="1"  value="0x8872">
61         <size name="Get" mode="get"/>
62     </enum>
63     <enum name="FRAGMENT_SHADER"                          value="0x8B30"/>
64     <enum name="VERTEX_SHADER"                            value="0x8B31"/>
65     <enum name="MAX_VERTEX_TEXTURE_IMAGE_UNITS"           value="0x8B4C"/>
66     <enum name="MAX_COMBINED_TEXTURE_IMAGE_UNITS"         value="0x8B4D"/>
67     <enum name="SHADER_TYPE"                              value="0x8B4F"/>
68     <enum name="FLOAT_VEC2"                               value="0x8B50"/>
69     <enum name="FLOAT_VEC3"                               value="0x8B51"/>
70     <enum name="FLOAT_VEC4"                               value="0x8B52"/>
71     <enum name="INT_VEC2"                                 value="0x8B53"/>
72     <enum name="INT_VEC3"                                 value="0x8B54"/>
73     <enum name="INT_VEC4"                                 value="0x8B55"/>
74     <enum name="BOOL"                                     value="0x8B56"/>
75     <enum name="BOOL_VEC2"                                value="0x8B57"/>
76     <enum name="BOOL_VEC3"                                value="0x8B58"/>
77     <enum name="BOOL_VEC4"                                value="0x8B59"/>
78     <enum name="FLOAT_MAT2"                               value="0x8B5A"/>
79     <enum name="FLOAT_MAT3"                               value="0x8B5B"/>
80     <enum name="FLOAT_MAT4"                               value="0x8B5C"/>
81     <enum name="SAMPLER_2D"                               value="0x8B5E"/>
82     <enum name="SAMPLER_CUBE"                             value="0x8B60"/>
83     <enum name="DELETE_STATUS"                            value="0x8B80"/>
84     <enum name="COMPILE_STATUS"                           value="0x8B81"/>
85     <enum name="LINK_STATUS"                              value="0x8B82"/>
86     <enum name="VALIDATE_STATUS"                          value="0x8B83"/>
87     <enum name="INFO_LOG_LENGTH"                          value="0x8B84"/>
88     <enum name="ATTACHED_SHADERS"                         value="0x8B85"/>
89     <enum name="ACTIVE_UNIFORMS"                          value="0x8B86"/>
90     <enum name="ACTIVE_UNIFORM_MAX_LENGTH"                value="0x8B87"/>
91     <enum name="SHADER_SOURCE_LENGTH"                     value="0x8B88"/>
92     <enum name="ACTIVE_ATTRIBUTES"                        value="0x8B89"/>
93     <enum name="ACTIVE_ATTRIBUTE_MAX_LENGTH"              value="0x8B8A"/>
94     <enum name="SHADING_LANGUAGE_VERSION"                 value="0x8B8C"/>
95     <enum name="CURRENT_PROGRAM"                          value="0x8B8D"/>
96     <enum name="STENCIL_BACK_REF"                         value="0x8CA3"/>
97     <enum name="STENCIL_BACK_VALUE_MASK"                  value="0x8CA4"/>
98     <enum name="STENCIL_BACK_WRITEMASK"                   value="0x8CA5"/>
100     <type name="char"    size="1"                  glx_name="CARD8"/>
102     <function name="AttachShader" offset="assign">
103         <param name="program" type="GLuint"/>
104         <param name="shader" type="GLuint"/>
105         <glx ignore="true"/>
106     </function>
108     <function name="BindAttribLocation" offset="assign">
109         <param name="program" type="GLuint"/>
110         <param name="index" type="GLuint"/>
111         <param name="name" type="const GLchar *"/>
112         <glx ignore="true"/>
113     </function>
115     <function name="BlendEquationSeparate" offset="assign">
116         <param name="modeRGB" type="GLenum"/>
117         <param name="modeA" type="GLenum"/>
118         <glx rop="4228"/>
119     </function>
121     <function name="CompileShader" offset="assign">
122         <param name="shader" type="GLuint"/>
123         <glx ignore="true"/>
124     </function>
126     <function name="CreateProgram" offset="assign">
127         <return type="GLuint"/>
128         <glx ignore="true"/>
129     </function>
131     <function name="CreateShader" offset="assign">
132         <param name="type" type="GLenum"/>
133         <return type="GLuint"/>
134         <glx ignore="true"/>
135     </function>
137     <function name="DeleteProgram" offset="assign">
138         <param name="program" type="GLuint"/>
139         <glx ignore="true"/>
140     </function>
142     <function name="DeleteShader" offset="assign">
143         <param name="program" type="GLuint"/>
144         <glx ignore="true"/>
145     </function>
147     <function name="DetachShader" offset="assign">
148         <param name="program" type="GLuint"/>
149         <param name="shader" type="GLuint"/>
150         <glx ignore="true"/>
151     </function>
153     <function name="DisableVertexAttribArray" offset="assign">
154         <param name="index" type="GLuint"/>
155         <glx ignore="true"/>
156     </function>
158     <function name="EnableVertexAttribArray" offset="assign">
159         <param name="index" type="GLuint"/>
160         <glx ignore="true"/>
161     </function>
163     <function name="GetActiveAttrib" offset="assign">
164         <param name="program" type="GLuint"/>
165         <param name="index" type="GLuint"/>
166         <param name="bufSize" type="GLsizei "/>
167         <param name="length" type="GLsizei *" output="true"/>
168         <param name="size" type="GLint *" output="true"/>
169         <param name="type" type="GLenum *" output="true"/>
170         <param name="name" type="GLchar *" output="true"/>
171         <glx ignore="true"/>
172     </function>
174     <function name="GetActiveUniform" offset="assign">
175         <param name="program" type="GLuint"/>
176         <param name="index" type="GLuint"/>
177         <param name="bufSize" type="GLsizei"/>
178         <param name="length" type="GLsizei *" output="true"/>
179         <param name="size" type="GLint *" output="true"/>
180         <param name="type" type="GLenum *" output="true"/>
181         <param name="name" type="GLchar *" output="true"/>
182         <glx ignore="true"/>
183     </function>
185     <function name="GetAttachedShaders" offset="assign">
186         <param name="program" type="GLuint"/>
187         <param name="maxCount" type="GLsizei"/>
188         <param name="count" type="GLsizei *" output="true"/>
189         <param name="obj" type="GLuint *" output="true"/>
190         <glx ignore="true"/>
191     </function>
193     <function name="GetAttribLocation" offset="assign">
194         <param name="program" type="GLuint"/>
195         <param name="name" type="const GLchar *"/>
196         <return type="GLint"/>
197         <glx ignore="true"/>
198     </function>
200     <function name="GetProgramiv" offset="assign">
201         <param name="program" type="GLuint"/>
202         <param name="pname" type="GLenum"/>
203         <param name="params" type="GLint *"/>
204         <glx ignore="true"/>
205     </function>
207     <function name="GetProgramInfoLog" offset="assign">
208         <param name="program" type="GLuint"/>
209         <param name="bufSize" type="GLsizei"/>
210         <param name="length" type="GLsizei *"/>
211         <param name="infoLog" type="GLchar *"/>
212         <glx ignore="true"/>
213     </function>
215     <function name="GetShaderiv" offset="assign">
216         <param name="shader" type="GLuint"/>
217         <param name="pname" type="GLenum"/>
218         <param name="params" type="GLint *"/>
219         <glx ignore="true"/>
220     </function>
222     <function name="GetShaderInfoLog" offset="assign">
223         <param name="shader" type="GLuint"/>
224         <param name="bufSize" type="GLsizei"/>
225         <param name="length" type="GLsizei *"/>
226         <param name="infoLog" type="GLchar *"/>
227         <glx ignore="true"/>
228     </function>
230     <function name="GetShaderSource" offset="assign">
231         <param name="shader" type="GLuint"/>
232         <param name="bufSize" type="GLsizei"/>
233         <param name="length" type="GLsizei *" output="true"/>
234         <param name="source" type="GLchar *" output="true"/>
235         <glx ignore="true"/>
236     </function>
238     <function name="GetUniformfv" offset="assign">
239         <param name="program" type="GLuint"/>
240         <param name="location" type="GLint"/>
241         <param name="params" type="GLfloat *" output="true"/>
242         <glx ignore="true"/>
243     </function>
245     <function name="GetUniformiv" offset="assign">
246         <param name="program" type="GLuint"/>
247         <param name="location" type="GLint"/>
248         <param name="params" type="GLint *"/>
249         <glx ignore="true"/>
250     </function>
252     <function name="GetUniformLocation" offset="assign">
253         <param name="program" type="GLuint"/>
254         <param name="name" type="const GLchar *"/>
255         <return type="GLint"/>
256         <glx ignore="true"/>
257     </function>
259     <function name="GetVertexAttribfv" offset="assign">
260         <param name="index" type="GLuint"/>
261         <param name="pname" type="GLenum"/>
262         <param name="params" type="GLfloat *" output="true" variable_param="pname"/>
263         <glx ignore="true"/>
264     </function>
266     <function name="GetVertexAttribiv" offset="assign">
267         <param name="index" type="GLuint"/>
268         <param name="pname" type="GLenum"/>
269         <param name="params" type="GLint *" output="true" variable_param="pname"/>
270         <glx ignore="true"/>
271     </function>
273     <function name="GetVertexAttribPointerv" offset="assign">
274         <param name="index" type="GLuint"/>
275         <param name="pname" type="GLenum"/>
276         <param name="pointer" type="GLvoid **" output="true"/>
277         <glx ignore="true"/>
278     </function>
280     <function name="IsProgram" offset="assign">
281         <param name="program" type="GLuint"/>
282         <return type="GLboolean"/>
283         <glx ignore="true"/>
284     </function>
286     <function name="IsShader" offset="assign">
287         <param name="shader" type="GLuint"/>
288         <return type="GLboolean"/>
289         <glx ignore="true"/>
290     </function>
292     <function name="LinkProgram" offset="assign">
293         <param name="program" type="GLuint"/>
294         <glx ignore="true"/>
295     </function>
297     <function name="ShaderSource" offset="assign">
298         <param name="shader" type="GLuint"/>
299         <param name="count" type="GLsizei"/>
300         <param name="string" type="const GLchar **"/>
301         <param name="length" type="const GLint *"/>
302         <glx ignore="true"/>
303     </function>
305     <function name="StencilFuncSeparate" offset="assign">
306         <param name="face" type="GLenum"/>
307         <param name="func" type="GLenum"/>
308         <param name="ref" type="GLint"/>
309         <param name="mask" type="GLuint"/>
310         <glx ignore="true"/>
311     </function>
313     <function name="StencilOpSeparate" offset="assign">
314         <param name="face" type="GLenum"/>
315         <param name="sfail" type="GLenum"/>
316         <param name="zfail" type="GLenum"/>
317         <param name="zpass" type="GLenum"/>
318         <glx ignore="true"/>
319     </function>
321     <function name="StencilMaskSeparate" offset="assign">
322         <param name="face" type="GLenum"/>
323         <param name="mask" type="GLuint"/>
324         <glx ignore="true"/>
325     </function>
327     <function name="Uniform1f" offset="assign">
328         <param name="location" type="GLint"/>
329         <param name="v0" type="GLfloat"/>
330         <glx ignore="true"/>
331     </function>
333     <function name="Uniform1fv" offset="assign">
334         <param name="location" type="GLint"/>
335         <param name="count" type="GLsizei"/>
336         <param name="value" type="const GLfloat *"/>
337         <glx ignore="true"/>
338     </function>
340     <function name="Uniform1i" offset="assign">
341         <param name="location" type="GLint"/>
342         <param name="v0" type="GLint"/>
343         <glx ignore="true"/>
344     </function>
346     <function name="Uniform1iv" offset="assign">
347         <param name="location" type="GLint"/>
348         <param name="count" type="GLsizei"/>
349         <param name="value" type="const GLint *"/>
350         <glx ignore="true"/>
351     </function>
353     <function name="Uniform2f" offset="assign">
354         <param name="location" type="GLint"/>
355         <param name="v0" type="GLfloat"/>
356         <param name="v1" type="GLfloat"/>
357         <glx ignore="true"/>
358     </function>
360     <function name="Uniform2fv" offset="assign">
361         <param name="location" type="GLint"/>
362         <param name="count" type="GLsizei"/>
363         <param name="value" type="const GLfloat *"/>
364         <glx ignore="true"/>
365     </function>
367     <function name="Uniform2i" offset="assign">
368         <param name="location" type="GLint"/>
369         <param name="v0" type="GLint"/>
370         <param name="v1" type="GLint"/>
371         <glx ignore="true"/>
372     </function>
374     <function name="Uniform2iv" offset="assign">
375         <param name="location" type="GLint"/>
376         <param name="count" type="GLsizei"/>
377         <param name="value" type="const GLint *"/>
378         <glx ignore="true"/>
379     </function>
381     <function name="Uniform3f" offset="assign">
382         <param name="location" type="GLint"/>
383         <param name="v0" type="GLfloat"/>
384         <param name="v1" type="GLfloat"/>
385         <param name="v2" type="GLfloat"/>
386         <glx ignore="true"/>
387     </function>
389     <function name="Uniform3fv" offset="assign">
390         <param name="location" type="GLint"/>
391         <param name="count" type="GLsizei"/>
392         <param name="value" type="const GLfloat *"/>
393         <glx ignore="true"/>
394     </function>
396     <function name="Uniform3i" offset="assign">
397         <param name="location" type="GLint"/>
398         <param name="v0" type="GLint"/>
399         <param name="v1" type="GLint"/>
400         <param name="v2" type="GLint"/>
401         <glx ignore="true"/>
402     </function>
404     <function name="Uniform3iv" offset="assign">
405         <param name="location" type="GLint"/>
406         <param name="count" type="GLsizei"/>
407         <param name="value" type="const GLint *"/>
408         <glx ignore="true"/>
409     </function>
411     <function name="Uniform4f" offset="assign">
412         <param name="location" type="GLint"/>
413         <param name="v0" type="GLfloat"/>
414         <param name="v1" type="GLfloat"/>
415         <param name="v2" type="GLfloat"/>
416         <param name="v3" type="GLfloat"/>
417         <glx ignore="true"/>
418     </function>
420     <function name="Uniform4fv" offset="assign">
421         <param name="location" type="GLint"/>
422         <param name="count" type="GLsizei"/>
423         <param name="value" type="const GLfloat *"/>
424         <glx ignore="true"/>
425     </function>
427     <function name="Uniform4i" offset="assign">
428         <param name="location" type="GLint"/>
429         <param name="v0" type="GLint"/>
430         <param name="v1" type="GLint"/>
431         <param name="v2" type="GLint"/>
432         <param name="v3" type="GLint"/>
433         <glx ignore="true"/>
434     </function>
436     <function name="Uniform4iv" offset="assign">
437         <param name="location" type="GLint"/>
438         <param name="count" type="GLsizei"/>
439         <param name="value" type="const GLint *"/>
440         <glx ignore="true"/>
441     </function>
443     <function name="UniformMatrix2fv" offset="assign">
444         <param name="location" type="GLint"/>
445         <param name="count" type="GLsizei"/>
446         <param name="transpose" type="GLboolean"/>
447         <param name="value" type="const GLfloat *"/>
448         <glx ignore="true"/>
449     </function>
451     <function name="UniformMatrix3fv" offset="assign">
452         <param name="location" type="GLint"/>
453         <param name="count" type="GLsizei"/>
454         <param name="transpose" type="GLboolean"/>
455         <param name="value" type="const GLfloat *"/>
456         <glx ignore="true"/>
457     </function>
459     <function name="UniformMatrix4fv" offset="assign">
460         <param name="location" type="GLint"/>
461         <param name="count" type="GLsizei"/>
462         <param name="transpose" type="GLboolean"/>
463         <param name="value" type="const GLfloat *"/>
464         <glx ignore="true"/>
465     </function>
467     <function name="UseProgram" offset="assign">
468         <param name="program" type="GLuint"/>
469         <glx ignore="true"/>
470     </function>
472     <function name="ValidateProgram" offset="assign">
473         <param name="program" type="GLuint"/>
474         <glx ignore="true"/>
475     </function>
477     <function name="VertexAttrib1f" offset="assign">
478         <param name="index" type="GLuint"/>
479         <param name="x" type="GLfloat"/>
480     </function>
482     <function name="VertexAttrib1fv" offset="assign">
483         <param name="index" type="GLuint"/>
484         <param name="v" type="const GLfloat *"/>
485     </function>
487     <function name="VertexAttrib2f" offset="assign">
488         <param name="index" type="GLuint"/>
489         <param name="x" type="GLfloat"/>
490         <param name="y" type="GLfloat"/>
491     </function>
493     <function name="VertexAttrib2fv" offset="assign">
494         <param name="index" type="GLuint"/>
495         <param name="v" type="const GLfloat *"/>
496     </function>
498     <function name="VertexAttrib3f" offset="assign">
499         <param name="index" type="GLuint"/>
500         <param name="x" type="GLfloat"/>
501         <param name="y" type="GLfloat"/>
502         <param name="z" type="GLfloat"/>
503     </function>
505     <function name="VertexAttrib3fv" offset="assign">
506         <param name="index" type="GLuint"/>
507         <param name="v" type="const GLfloat *"/>
508     </function>
510     <function name="VertexAttrib4f" offset="assign">
511         <param name="index" type="GLuint"/>
512         <param name="x" type="GLfloat"/>
513         <param name="y" type="GLfloat"/>
514         <param name="z" type="GLfloat"/>
515         <param name="w" type="GLfloat"/>
516     </function>
518     <function name="VertexAttrib4fv" offset="assign">
519         <param name="index" type="GLuint"/>
520         <param name="v" type="const GLfloat *"/>
521     </function>
523     <function name="VertexAttribPointer" offset="assign">
524         <param name="index" type="GLuint"/>
525         <param name="size" type="GLint"/>
526         <param name="type" type="GLenum"/>
527         <param name="normalized" type="GLboolean"/>
528         <param name="stride" type="GLsizei"/>
529         <param name="pointer" type="const GLvoid *"/>
530     </function>
531 </category>
533 </OpenGLAPI>