revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / mesa / src / mapi / glapi / gen-es / es1_EXT.xml
blobc1e86373d8bfa8c2a0af04a47a52fc1f78c92a57
1 <?xml version="1.0"?>
2 <!DOCTYPE OpenGLAPI SYSTEM "../gen/gl_API.dtd">
4 <!-- OpenGL ES 1.x extensions -->
6 <OpenGLAPI>
8 <xi:include href="es_EXT.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
10 <!-- part of es1.1 extension pack -->
11 <category name="GL_OES_blend_equation_separate" number="1">
12     <enum name="BLEND_EQUATION_RGB_OES"        count="1"  value="0x8009">
13         <size name="Get" mode="get"/>
14     </enum>
15     <enum name="BLEND_EQUATION_ALPHA_OES"      count="1"  value="0x883D">
16         <size name="Get" mode="get"/>
17     </enum>
19     <function name="BlendEquationSeparateOES" offset="assign">
20         <param name="modeRGB" type="GLenum"/>
21         <param name="modeA" type="GLenum"/>
22         <glx rop="4228"/>
23     </function>
24 </category>
26 <!-- part of es1.1 extension pack -->
27 <category name="GL_OES_blend_func_separate" number="2">
28     <enum name="BLEND_DST_RGB_OES"             count="1"  value="0x80C8">
29         <size name="Get" mode="get"/>
30     </enum>
31     <enum name="BLEND_SRC_RGB_OES"             count="1"  value="0x80C9">
32         <size name="Get" mode="get"/>
33     </enum>
34     <enum name="BLEND_DST_ALPHA_OES"           count="1"  value="0x80CA">
35         <size name="Get" mode="get"/>
36     </enum>
37     <enum name="BLEND_SRC_ALPHA_OES"           count="1"  value="0x80CB">
38         <size name="Get" mode="get"/>
39     </enum>
41     <function name="BlendFuncSeparateOES" offset="assign">
42         <param name="sfactorRGB" type="GLenum"/>
43         <param name="dfactorRGB" type="GLenum"/>
44         <param name="sfactorAlpha" type="GLenum"/>
45         <param name="dfactorAlpha" type="GLenum"/>
46         <glx rop="4134"/>
47     </function>
48 </category>
50 <!-- part of es1.1 extension pack -->
51 <category name="GL_OES_blend_subtract" number="3">
52     <enum name="FUNC_ADD_OES"                             value="0x8006"/>
53     <enum name="BLEND_EQUATION_OES"            count="1"  value="0x8009">
54         <size name="Get" mode="get"/>
55     </enum>
56     <enum name="FUNC_SUBTRACT_OES"                        value="0x800A"/>
57     <enum name="FUNC_REVERSE_SUBTRACT_OES"                value="0x800B"/>
59     <function name="BlendEquationOES" offset="337">
60         <param name="mode" type="GLenum"/>
61         <glx rop="4097"/>
62     </function>
63 </category>
65 <!-- core addition to es1.0 and later -->
66 <category name="GL_OES_byte_coordinates" number="4">
67     <enum name="BYTE"                                     value="0x1400"/>
68 </category>
70 <!-- optional for es1.1 -->
71 <category name="GL_OES_draw_texture" number="7">
72     <enum name="TEXTURE_CROP_RECT_OES"                    value="0x8B9D"/>
74     <function name="DrawTexiOES" offset="assign">
75         <param name="x" type="GLint"/>
76         <param name="y" type="GLint"/>
77         <param name="z" type="GLint"/>
78         <param name="width" type="GLint"/>
79         <param name="height" type="GLint"/>
80     </function>
82     <function name="DrawTexivOES" offset="assign">
83         <param name="coords" type="const GLint *" count="5"/>
84     </function>
86     <function name="DrawTexfOES" offset="assign">
87         <param name="x" type="GLfloat"/>
88         <param name="y" type="GLfloat"/>
89         <param name="z" type="GLfloat"/>
90         <param name="width" type="GLfloat"/>
91         <param name="height" type="GLfloat"/>
92     </function>
94     <function name="DrawTexfvOES" offset="assign">
95         <param name="coords" type="const GLfloat *" count="5"/>
96     </function>
98     <function name="DrawTexsOES" offset="assign">
99         <param name="x" type="GLshort"/>
100         <param name="y" type="GLshort"/>
101         <param name="z" type="GLshort"/>
102         <param name="width" type="GLshort"/>
103         <param name="height" type="GLshort"/>
104     </function>
106     <function name="DrawTexsvOES" offset="assign">
107         <param name="coords" type="const GLshort *" count="5"/>
108     </function>
110     <function name="DrawTexxOES" offset="assign">
111         <param name="x" type="GLfixed"/>
112         <param name="y" type="GLfixed"/>
113         <param name="z" type="GLfixed"/>
114         <param name="width" type="GLfixed"/>
115         <param name="height" type="GLfixed"/>
116     </function>
118     <function name="DrawTexxvOES" offset="assign">
119         <param name="coords" type="const GLfixed *" count="5"/>
120     </function>
122     <!-- TexParameter{ifx}v is skipped here -->
123 </category>
125 <!-- core addition to es1.0 and later -->
126 <category name="GL_OES_fixed_point" number="9">
127     <enum name="FIXED_OES"                                value="0x140C"/>
129     <!-- additon to es1.0 -->
130     <function name="AlphaFuncxOES" alias="AlphaFuncx">
131         <param name="func" type="GLenum"/>
132         <param name="ref" type="GLclampx"/>
133     </function>
135     <function name="ClearColorxOES" alias="ClearColorx">
136         <param name="red" type="GLclampx"/>
137         <param name="green" type="GLclampx"/>
138         <param name="blue" type="GLclampx"/>
139         <param name="alpha" type="GLclampx"/>
140     </function>
142     <function name="ClearDepthxOES" alias="ClearDepthx">
143         <param name="depth" type="GLclampx"/>
144     </function>
146     <function name="Color4xOES" alias="Color4x">
147         <param name="red" type="GLfixed"/>
148         <param name="green" type="GLfixed"/>
149         <param name="blue" type="GLfixed"/>
150         <param name="alpha" type="GLfixed"/>
151     </function>
153     <function name="DepthRangexOES" alias="DepthRangex">
154         <param name="zNear" type="GLclampx"/>
155         <param name="zFar" type="GLclampx"/>
156     </function>
158     <function name="FogxOES" alias="Fogx">
159         <param name="pname" type="GLenum"/>
160         <param name="param" type="GLfixed"/>
161     </function>
163     <function name="FogxvOES" alias="Fogxv">
164         <param name="pname" type="GLenum"/>
165         <param name="params" type="const GLfixed *" variable_param="pname"/>
166     </function>
168     <function name="FrustumxOES" alias="Frustumx">
169         <param name="left" type="GLfixed"/>
170         <param name="right" type="GLfixed"/>
171         <param name="bottom" type="GLfixed"/>
172         <param name="top" type="GLfixed"/>
173         <param name="zNear" type="GLfixed"/>
174         <param name="zFar" type="GLfixed"/>
175     </function>
177     <function name="LightModelxOES" alias="LightModelx">
178         <param name="pname" type="GLenum"/>
179         <param name="param" type="GLfixed"/>
180     </function>
182     <function name="LightModelxvOES" alias="LightModelxv">
183         <param name="pname" type="GLenum"/>
184         <param name="params" type="const GLfixed *" variable_param="pname"/>
185     </function>
187     <function name="LightxOES" alias="Lightx">
188         <param name="light" type="GLenum"/>
189         <param name="pname" type="GLenum"/>
190         <param name="param" type="GLfixed"/>
191     </function>
193     <function name="LightxvOES" alias="Lightxv">
194         <param name="light" type="GLenum"/>
195         <param name="pname" type="GLenum"/>
196         <param name="params" type="const GLfixed *" variable_param="pname"/>
197     </function>
199     <function name="LineWidthxOES" alias="LineWidthx">
200         <param name="width" type="GLfixed"/>
201     </function>
203     <function name="LoadMatrixxOES" alias="LoadMatrixx">
204         <param name="m" type="const GLfixed *" count="16"/>
205     </function>
207     <function name="MaterialxOES" alias="Materialx">
208         <param name="face" type="GLenum"/>
209         <param name="pname" type="GLenum"/>
210         <param name="param" type="GLfixed"/>
211     </function>
213     <function name="MaterialxvOES" alias="Materialxv">
214         <param name="face" type="GLenum"/>
215         <param name="pname" type="GLenum"/>
216         <param name="params" type="const GLfixed *" variable_param="pname"/>
217     </function>
219     <function name="MultiTexCoord4xOES" alias="MultiTexCoord4x">
220         <param name="target" type="GLenum"/>
221         <param name="s" type="GLfixed"/>
222         <param name="t" type="GLfixed"/>
223         <param name="r" type="GLfixed"/>
224         <param name="q" type="GLfixed"/>
225     </function>
227     <function name="MultMatrixxOES" alias="MultMatrixx">
228         <param name="m" type="const GLfixed *" count="16"/>
229     </function>
231     <function name="Normal3xOES" alias="Normal3x">
232         <param name="nx" type="GLfixed"/>
233         <param name="ny" type="GLfixed"/>
234         <param name="nz" type="GLfixed"/>
235     </function>
237     <function name="OrthoxOES" alias="Orthox">
238         <param name="left" type="GLfixed"/>
239         <param name="right" type="GLfixed"/>
240         <param name="bottom" type="GLfixed"/>
241         <param name="top" type="GLfixed"/>
242         <param name="zNear" type="GLfixed"/>
243         <param name="zFar" type="GLfixed"/>
244     </function>
246     <function name="PointSizexOES" alias="PointSizex">
247         <param name="size" type="GLfixed"/>
248     </function>
250     <function name="PolygonOffsetxOES" alias="PolygonOffsetx">
251         <param name="factor" type="GLfixed"/>
252         <param name="units" type="GLfixed"/>
253     </function>
255     <function name="RotatexOES" alias="Rotatex">
256         <param name="angle" type="GLfixed"/>
257         <param name="x" type="GLfixed"/>
258         <param name="y" type="GLfixed"/>
259         <param name="z" type="GLfixed"/>
260     </function>
262     <function name="SampleCoveragexOES" alias="SampleCoveragex">
263         <param name="value" type="GLclampx"/>
264         <param name="invert" type="GLboolean"/>
265     </function>
267     <function name="ScalexOES" alias="Scalex">
268         <param name="x" type="GLfixed"/>
269         <param name="y" type="GLfixed"/>
270         <param name="z" type="GLfixed"/>
271     </function>
273     <function name="TexEnvxOES" alias="TexEnvx">
274         <param name="target" type="GLenum"/>
275         <param name="pname" type="GLenum"/>
276         <param name="param" type="GLfixed"/>
277     </function>
279     <function name="TexEnvxvOES" alias="TexEnvxv">
280         <param name="target" type="GLenum"/>
281         <param name="pname" type="GLenum"/>
282         <param name="params" type="const GLfixed *" variable_param="pname"/>
283     </function>
285     <function name="TexParameterxOES" alias="TexParameterx">
286         <param name="target" type="GLenum"/>
287         <param name="pname" type="GLenum"/>
288         <param name="param" type="GLfixed"/>
289     </function>
291     <function name="TranslatexOES" alias="Translatex">
292         <param name="x" type="GLfixed"/>
293         <param name="y" type="GLfixed"/>
294         <param name="z" type="GLfixed"/>
295     </function>
297     <!-- additon to es1.1 -->
298     <function name="ClipPlanexOES" alias="ClipPlanex">
299         <param name="plane" type="GLenum"/>
300         <param name="equation" type="const GLfixed *" count="4"/>
301     </function>
303     <function name="GetClipPlanexOES" alias="GetClipPlanex">
304         <param name="plane" type="GLenum"/>
305         <param name="equation" type="GLfixed *" output="true" count="4"/>
306     </function>
308     <function name="GetFixedvOES" alias="GetFixedv">
309         <param name="pname" type="GLenum"/>
310         <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
311     </function>
313     <function name="GetLightxvOES" alias="GetLightxv">
314         <param name="light" type="GLenum"/>
315         <param name="pname" type="GLenum"/>
316         <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
317     </function>
319     <function name="GetMaterialxvOES" alias="GetMaterialxv">
320         <param name="face" type="GLenum"/>
321         <param name="pname" type="GLenum"/>
322         <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
323     </function>
325     <function name="GetTexEnvxvOES" alias="GetTexEnvxv">
326         <param name="target" type="GLenum"/>
327         <param name="pname" type="GLenum"/>
328         <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
329     </function>
331     <function name="GetTexParameterxvOES" alias="GetTexParameterxv">
332         <param name="target" type="GLenum"/>
333         <param name="pname" type="GLenum"/>
334         <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
335     </function>
337     <function name="PointParameterxOES" alias="PointParameterx">
338         <param name="pname" type="GLenum"/>
339         <param name="param" type="GLfixed"/>
340     </function>
342     <function name="PointParameterxvOES" alias="PointParameterxv">
343         <param name="pname" type="GLenum"/>
344         <param name="params" type="const GLfixed *"/>
345     </function>
347     <function name="TexParameterxvOES" alias="TexParameterxv">
348         <param name="target" type="GLenum"/>
349         <param name="pname" type="GLenum"/>
350         <param name="params" type="const GLfixed *" variable_param="pname"/>
351     </function>
352 </category>
354 <!-- part of es1.1 extension pack -->
355 <category name="GL_OES_framebuffer_object" number="10">
356     <enum name="NONE_OES"                                 value="0"/>
357     <enum name="INVALID_FRAMEBUFFER_OPERATION_OES"        value="0x0506"/>
358     <enum name="RGBA4_OES"                                value="0x8056"/>
359     <enum name="RGB5_A1_OES"                              value="0x8057"/>
360     <enum name="DEPTH_COMPONENT16_OES"                    value="0x81A5"/>
362     <enum name="MAX_RENDERBUFFER_SIZE_OES"                value="0x84E8"/>
363     <enum name="FRAMEBUFFER_BINDING_OES"                  value="0x8CA6"/>
364     <enum name="RENDERBUFFER_BINDING_OES"                 value="0x8CA7"/>
365     <enum name="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES"   value="0x8CD0"/>
366     <enum name="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES"   value="0x8CD1"/>
367     <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES" value="0x8CD2"/>
368     <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES" value="0x8CD3"/>
369     <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES" value="0x8CD4"/>
370     <enum name="FRAMEBUFFER_COMPLETE_OES"                 value="0x8CD5"/>
371     <enum name="FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES"    value="0x8CD6"/>
372     <enum name="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES" value="0x8CD7"/>
373     <enum name="FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES"    value="0x8CD9"/>
374     <enum name="FRAMEBUFFER_INCOMPLETE_FORMATS_OES"       value="0x8CDA"/>
375     <enum name="FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_OES"   value="0x8CDB"/>
376     <enum name="FRAMEBUFFER_INCOMPLETE_READ_BUFFER_OES"   value="0x8CDC"/>
377     <enum name="FRAMEBUFFER_UNSUPPORTED_OES"              value="0x8CDD"/>
378     <enum name="COLOR_ATTACHMENT0_OES"                    value="0x8CE0"/>
379     <enum name="DEPTH_ATTACHMENT_OES"                     value="0x8D00"/>
380     <enum name="STENCIL_ATTACHMENT_OES"                   value="0x8D20"/>
381     <enum name="FRAMEBUFFER_OES"                          value="0x8D40"/>
382     <enum name="RENDERBUFFER_OES"                         value="0x8D41"/>
383     <enum name="RENDERBUFFER_WIDTH_OES"                   value="0x8D42"/>
384     <enum name="RENDERBUFFER_HEIGHT_OES"                  value="0x8D43"/>
385     <enum name="RENDERBUFFER_INTERNAL_FORMAT_OES"         value="0x8D44"/>
386     <enum name="STENCIL_INDEX1_OES"                       value="0x8D46"/>
387     <enum name="STENCIL_INDEX4_OES"                       value="0x8D47"/>
388     <enum name="STENCIL_INDEX8_OES"                       value="0x8D48"/>
389     <enum name="RENDERBUFFER_RED_SIZE_OES"                value="0x8D50"/>
390     <enum name="RENDERBUFFER_GREEN_SIZE_OES"              value="0x8D51"/>
391     <enum name="RENDERBUFFER_BLUE_SIZE_OES"               value="0x8D52"/>
392     <enum name="RENDERBUFFER_ALPHA_SIZE_OES"              value="0x8D53"/>
393     <enum name="RENDERBUFFER_DEPTH_SIZE_OES"              value="0x8D54"/>
394     <enum name="RENDERBUFFER_STENCIL_SIZE_OES"            value="0x8D55"/>
395     <enum name="RGB565_OES"                               value="0x8D62"/>
397     <function name="BindFramebufferOES" offset="assign">
398         <param name="target" type="GLenum"/>
399         <param name="framebuffer" type="GLuint"/>
400     </function>
402     <function name="BindRenderbufferOES" offset="assign">
403         <param name="target" type="GLenum"/>
404         <param name="renderbuffer" type="GLuint"/>
405     </function>
407     <function name="CheckFramebufferStatusOES" offset="assign">
408         <param name="target" type="GLenum"/>
409         <return type="GLenum"/>
410     </function>
412     <function name="DeleteFramebuffersOES" offset="assign">
413         <param name="n" type="GLsizei" counter="true"/>
414         <param name="framebuffers" type="const GLuint *" count="n"/>
415     </function>
417     <function name="DeleteRenderbuffersOES" offset="assign">
418         <param name="n" type="GLsizei" counter="true"/>
419         <param name="renderbuffers" type="const GLuint *" count="n"/>
420     </function>
422     <function name="FramebufferRenderbufferOES" offset="assign">
423         <param name="target" type="GLenum"/>
424         <param name="attachment" type="GLenum"/>
425         <param name="renderbuffertarget" type="GLenum"/>
426         <param name="renderbuffer" type="GLuint"/>
427     </function>
429     <function name="FramebufferTexture2DOES" offset="assign">
430         <param name="target" type="GLenum"/>
431         <param name="attachment" type="GLenum"/>
432         <param name="textarget" type="GLenum"/>
433         <param name="texture" type="GLuint"/>
434         <param name="level" type="GLint"/>
435     </function>
437     <function name="GenerateMipmapOES" offset="assign">
438         <param name="target" type="GLenum"/>
439     </function>
441     <function name="GenFramebuffersOES" offset="assign">
442         <param name="n" type="GLsizei" counter="true"/>
443         <param name="framebuffers" type="GLuint *" count="n" output="true"/>
444     </function>
446     <function name="GenRenderbuffersOES" offset="assign">
447         <param name="n" type="GLsizei" counter="true"/>
448         <param name="renderbuffers" type="GLuint *" count="n" output="true"/>
449     </function>
451     <function name="GetFramebufferAttachmentParameterivOES" offset="assign">
452         <param name="target" type="GLenum"/>
453         <param name="attachment" type="GLenum"/>
454         <param name="pname" type="GLenum"/>
455         <param name="params" type="GLint *" output="true"/>
456     </function>
458     <function name="GetRenderbufferParameterivOES" offset="assign">
459         <param name="target" type="GLenum"/>
460         <param name="pname" type="GLenum"/>
461         <param name="params" type="GLint *" output="true"/>
462     </function>
464     <function name="IsFramebufferOES" offset="assign">
465         <param name="framebuffer" type="GLuint"/>
466         <return type="GLboolean"/>
467     </function>
469     <function name="IsRenderbufferOES" offset="assign">
470         <param name="renderbuffer" type="GLuint"/>
471         <return type="GLboolean"/>
472     </function>
474     <function name="RenderbufferStorageOES" offset="assign">
475         <param name="target" type="GLenum"/>
476         <param name="internalformat" type="GLenum"/>
477         <param name="width" type="GLsizei"/>
478         <param name="height" type="GLsizei"/>
479     </function>
480 </category>
482 <!-- core addition to es1.1 -->
483 <category name="GL_OES_matrix_get" number="11">
484     <enum name="MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES"   value="0x898D"/>
485     <enum name="PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES"  value="0x898E"/>
486     <enum name="TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES"     value="0x898F"/>
487 </category>
489 <!-- optional for es1.1 -->
490 <category name="GL_OES_matrix_palette" number="12">
491     <enum name="MAX_VERTEX_UNITS_OES"                     value="0x86A4"/>
492     <enum name="WEIGHT_ARRAY_TYPE_OES"                    value="0x86A9"/>
493     <enum name="WEIGHT_ARRAY_STRIDE_OES"                  value="0x86AA"/>
494     <enum name="WEIGHT_ARRAY_SIZE_OES"                    value="0x86AB"/>
495     <enum name="WEIGHT_ARRAY_POINTER_OES"                 value="0x86AC"/>
496     <enum name="WEIGHT_ARRAY_OES"                         value="0x86AD"/>
497     <enum name="MATRIX_PALETTE_OES"                       value="0x8840"/>
498     <enum name="MAX_PALETTE_MATRICES_OES"                 value="0x8842"/>
499     <enum name="CURRENT_PALETTE_MATRIX_OES"               value="0x8843"/>
500     <enum name="MATRIX_INDEX_ARRAY_OES"                   value="0x8844"/>
501     <enum name="MATRIX_INDEX_ARRAY_SIZE_OES"              value="0x8846"/>
502     <enum name="MATRIX_INDEX_ARRAY_TYPE_OES"              value="0x8847"/>
503     <enum name="MATRIX_INDEX_ARRAY_STRIDE_OES"            value="0x8848"/>
504     <enum name="MATRIX_INDEX_ARRAY_POINTER_OES"           value="0x8849"/>
505     <enum name="WEIGHT_ARRAY_BUFFER_BINDING_OES"          value="0x889E"/>
506     <enum name="MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES"    value="0x8B9E"/>
508     <function name="CurrentPaletteMatrixOES">
509         <param name="matrixpaletteindex" type="GLuint"/>
510     </function>
512     <function name="LoadPaletteFromModelViewMatrixOES">
513     </function>
515     <function name="MatrixIndexPointerOES">
516         <param name="size" type="GLint"/>
517         <param name="type" type="GLenum"/>
518         <param name="stride" type="GLsizei"/>
519         <param name="pointer" type="const GLvoid *"/>
520     </function>
522     <function name="WeightPointerOES">
523         <param name="size" type="GLint"/>
524         <param name="type" type="GLenum"/>
525         <param name="stride" type="GLsizei"/>
526         <param name="pointer" type="const GLvoid *"/>
527     </function>
528 </category>
530 <!-- required for es1.1 -->
531 <category name="GL_OES_point_size_array" number="14">
532     <enum name="POINT_SIZE_ARRAY_TYPE_OES"                value="0x898A"/>
533     <enum name="POINT_SIZE_ARRAY_STRIDE_OES"              value="0x898B"/>
534     <enum name="POINT_SIZE_ARRAY_POINTER_OES"             value="0x898C"/>
535     <enum name="POINT_SIZE_ARRAY_OES"                     value="0x8B9C"/>
536     <enum name="POINT_SIZE_ARRAY_BUFFER_BINDING_OES"      value="0x8B9F"/>
538     <function name="PointSizePointerOES" offset="assign">
539         <param name="type" type="GLenum"/>
540         <param name="stride" type="GLsizei"/>
541         <param name="pointer" type="const GLvoid *"/>
542     </function>
543 </category>
545 <!-- required for es1.1 -->
546 <category name="GL_OES_point_sprite" number="15">
547     <enum name="POINT_SPRITE_OES"                         value="0x8861"/>
548     <enum name="COORD_REPLACE_OES"                        value="0x8862"/>
549 </category>
551 <!-- optional for es1.0 -->
552 <category name="GL_OES_query_matrix" number="16">
553     <function name="QueryMatrixxOES" offset="assign">
554         <param name="mantissa" type="GLfixed *" count="16" />
555         <param name="exponent" type="GLint *" count="16" />
556         <return type="GLbitfield"/>
557     </function>
558 </category>
560 <!-- required for es1.0 and later -->
561 <category name="GL_OES_read_format" number="17">
562     <enum name="IMPLEMENTATION_COLOR_READ_TYPE_OES"       value="0x8B9A"/>
563     <enum name="IMPLEMENTATION_COLOR_READ_FORMAT_OES"     value="0x8B9B"/>
564 </category>
566 <!-- core addition to es1.0 and later -->
567 <category name="GL_OES_single_precision" number="18">
568     <!-- additon to es1.0 -->
569     <function name="ClearDepthfOES" alias="ClearDepthf">
570         <param name="depth" type="GLclampf"/>
571     </function>
573     <function name="DepthRangefOES" alias="DepthRangef">
574         <param name="zNear" type="GLclampf"/>
575         <param name="zFar" type="GLclampf"/>
576     </function>
578     <function name="FrustumfOES" alias="Frustumf">
579         <param name="left" type="GLfloat"/>
580         <param name="right" type="GLfloat"/>
581         <param name="bottom" type="GLfloat"/>
582         <param name="top" type="GLfloat"/>
583         <param name="zNear" type="GLfloat"/>
584         <param name="zFar" type="GLfloat"/>
585     </function>
587     <function name="OrthofOES" alias="Orthof">
588         <param name="left" type="GLfloat"/>
589         <param name="right" type="GLfloat"/>
590         <param name="bottom" type="GLfloat"/>
591         <param name="top" type="GLfloat"/>
592         <param name="zNear" type="GLfloat"/>
593         <param name="zFar" type="GLfloat"/>
594     </function>
596     <!-- additon to es1.1 -->
597     <function name="ClipPlanefOES" alias="ClipPlanef">
598         <param name="plane" type="GLenum"/>
599         <param name="equation" type="const GLfloat *" count="4"/>
600     </function>
602     <function name="GetClipPlanefOES" alias="GetClipPlanef">
603         <param name="plane" type="GLenum"/>
604         <param name="equation" type="GLfloat *" output="true" count="4"/>
605     </function>
606 </category>
608 <!-- part of es1.1 extension pack -->
609 <category name="GL_OES_texture_cube_map" number="20">
610     <enum name="TEXTURE_GEN_MODE_OES"                  value="0x2500"/>
611     <enum name="NORMAL_MAP_OES"                        value="0x8511"/>
612     <enum name="REFLECTION_MAP_OES"                    value="0x8512"/>
613     <enum name="TEXTURE_CUBE_MAP_OES"                  value="0x8513"/>
614     <enum name="TEXTURE_BINDING_CUBE_MAP_OES"          value="0x8514"/>
615     <enum name="TEXTURE_CUBE_MAP_POSITIVE_X_OES"       value="0x8515"/>
616     <enum name="TEXTURE_CUBE_MAP_NEGATIVE_X_OES"       value="0x8516"/>
617     <enum name="TEXTURE_CUBE_MAP_POSITIVE_Y_OES"       value="0x8517"/>
618     <enum name="TEXTURE_CUBE_MAP_NEGATIVE_Y_OES"       value="0x8518"/>
619     <enum name="TEXTURE_CUBE_MAP_POSITIVE_Z_OES"       value="0x8519"/>
620     <enum name="TEXTURE_CUBE_MAP_NEGATIVE_Z_OES"       value="0x851A"/>
621     <enum name="MAX_CUBE_MAP_TEXTURE_SIZE_OES"         value="0x851C"/>
622     <enum name="TEXTURE_GEN_STR_OES"                   value="0x8D60"/>
624     <function name="GetTexGenfvOES" offset="279">
625         <param name="coord" type="GLenum"/>
626         <param name="pname" type="GLenum"/>
627         <param name="params" type="GLfloat *" output="true" variable_param="pname"/>
628         <glx sop="133"/>
629     </function>
631     <function name="GetTexGenivOES" offset="280">
632         <param name="coord" type="GLenum"/>
633         <param name="pname" type="GLenum"/>
634         <param name="params" type="GLint *" output="true" variable_param="pname"/>
635         <glx sop="134"/>
636     </function>
638     <function name="GetTexGenxvOES" offset="assign">
639         <param name="coord" type="GLenum"/>
640         <param name="pname" type="GLenum"/>
641         <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
642     </function>
644     <function name="TexGenfOES" offset="190">
645         <param name="coord" type="GLenum"/>
646         <param name="pname" type="GLenum"/>
647         <param name="param" type="GLfloat"/>
648         <glx rop="117"/>
649     </function>
651     <function name="TexGenfvOES" offset="191">
652         <param name="coord" type="GLenum"/>
653         <param name="pname" type="GLenum"/>
654         <param name="params" type="const GLfloat *" variable_param="pname"/>
655         <glx rop="118"/>
656     </function>
658     <function name="TexGeniOES" offset="192">
659         <param name="coord" type="GLenum"/>
660         <param name="pname" type="GLenum"/>
661         <param name="param" type="GLint"/>
662         <glx rop="119"/>
663     </function>
665     <function name="TexGenivOES" offset="193">
666         <param name="coord" type="GLenum"/>
667         <param name="pname" type="GLenum"/>
668         <param name="params" type="const GLint *" variable_param="pname"/>
669         <glx rop="120"/>
670     </function>
672     <function name="TexGenxOES" offset="assign">
673         <param name="coord" type="GLenum"/>
674         <param name="pname" type="GLenum"/>
675         <param name="param" type="GLint"/>
676     </function>
678     <function name="TexGenxvOES" offset="assign">
679         <param name="coord" type="GLenum"/>
680         <param name="pname" type="GLenum"/>
681         <param name="params" type="const GLfixed *" variable_param="pname"/>
682     </function>
683 </category>
685 <category name="GL_OES_texture_env_crossbar" number="21">
686     <!-- No new functions, types, enums. -->
687 </category>
689 <category name="GL_OES_texture_mirrored_repeat" number="22">
690     <!-- No new functions, types, enums. -->
691 </category>
693 <category name="GL_EXT_texture_lod_bias" number="60">
694     <enum name="TEXTURE_FILTER_CONTROL_EXT"               value="0x8500"/>
695     <enum name="TEXTURE_LOD_BIAS_EXT"                     value="0x8501"/>
696     <enum name="MAX_TEXTURE_LOD_BIAS_EXT"                 value="0x84FD"/>
697 </category>
699 </OpenGLAPI>