Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / mesa / src / mapi / glapi / gen-es / base1_API.xml
blob720be257ca20d8f13be934089b41c504d261f49a
1 <?xml version="1.0"?>
2 <!DOCTYPE OpenGLAPI SYSTEM "../gen/gl_API.dtd">
4 <!-- OpenGL and OpenGL ES 1.x APIs
5      This file defines the base categories that can be shared by all APIs.
6      They are defined in an incremental fashion.
7 -->
9 <OpenGLAPI>
11 <!-- base subset of OpenGL 1.0 -->
12 <category name="base1.0">
13     <enum name="FALSE"                                    value="0x0"/>
14     <enum name="TRUE"                                     value="0x1"/>
15     <enum name="ZERO"                                     value="0x0"/>
16     <enum name="ONE"                                      value="0x1"/>
17     <enum name="NO_ERROR"                                 value="0x0"/>
19     <enum name="POINTS"                                   value="0x0000"/>
20     <enum name="LINES"                                    value="0x0001"/>
21     <enum name="LINE_LOOP"                                value="0x0002"/>
22     <enum name="LINE_STRIP"                               value="0x0003"/>
23     <enum name="TRIANGLES"                                value="0x0004"/>
24     <enum name="TRIANGLE_STRIP"                           value="0x0005"/>
25     <enum name="TRIANGLE_FAN"                             value="0x0006"/>
26     <enum name="NEVER"                                    value="0x0200"/>
27     <enum name="LESS"                                     value="0x0201"/>
28     <enum name="EQUAL"                                    value="0x0202"/>
29     <enum name="LEQUAL"                                   value="0x0203"/>
30     <enum name="GREATER"                                  value="0x0204"/>
31     <enum name="NOTEQUAL"                                 value="0x0205"/>
32     <enum name="GEQUAL"                                   value="0x0206"/>
33     <enum name="ALWAYS"                                   value="0x0207"/>
34     <enum name="SRC_COLOR"                                value="0x0300"/>
35     <enum name="ONE_MINUS_SRC_COLOR"                      value="0x0301"/>
36     <enum name="SRC_ALPHA"                                value="0x0302"/>
37     <enum name="ONE_MINUS_SRC_ALPHA"                      value="0x0303"/>
38     <enum name="DST_ALPHA"                                value="0x0304"/>
39     <enum name="ONE_MINUS_DST_ALPHA"                      value="0x0305"/>
40     <enum name="DST_COLOR"                                value="0x0306"/>
41     <enum name="ONE_MINUS_DST_COLOR"                      value="0x0307"/>
42     <enum name="SRC_ALPHA_SATURATE"                       value="0x0308"/>
43     <enum name="FRONT"                                    value="0x0404"/>
44     <enum name="BACK"                                     value="0x0405"/>
45     <enum name="FRONT_AND_BACK"                           value="0x0408"/>
46     <enum name="INVALID_ENUM"                             value="0x0500"/>
47     <enum name="INVALID_VALUE"                            value="0x0501"/>
48     <enum name="INVALID_OPERATION"                        value="0x0502"/>
49     <enum name="OUT_OF_MEMORY"                            value="0x0505"/>
50     <enum name="CW"                                       value="0x0900"/>
51     <enum name="CCW"                                      value="0x0901"/>
52     <enum name="CULL_FACE"                     count="1"  value="0x0B44">
53         <size name="Get" mode="get"/>
54     </enum>
55     <enum name="DEPTH_TEST"                    count="1"  value="0x0B71">
56         <size name="Get" mode="get"/>
57     </enum>
58     <enum name="STENCIL_TEST"                  count="1"  value="0x0B90">
59         <size name="Get" mode="get"/>
60     </enum>
61     <enum name="DITHER"                        count="1"  value="0x0BD0">
62         <size name="Get" mode="get"/>
63     </enum>
64     <enum name="BLEND"                         count="1"  value="0x0BE2">
65         <size name="Get" mode="get"/>
66     </enum>
67     <enum name="SCISSOR_TEST"                  count="1"  value="0x0C11">
68         <size name="Get" mode="get"/>
69     </enum>
70     <enum name="UNPACK_ALIGNMENT"              count="1"  value="0x0CF5">
71         <size name="Get" mode="get"/>
72     </enum>
73     <enum name="PACK_ALIGNMENT"                count="1"  value="0x0D05">
74         <size name="Get" mode="get"/>
75     </enum>
76     <enum name="MAX_TEXTURE_SIZE"              count="1"  value="0x0D33">
77         <size name="Get" mode="get"/>
78     </enum>
79     <enum name="MAX_VIEWPORT_DIMS"             count="2"  value="0x0D3A">
80         <size name="Get" mode="get"/>
81     </enum>
82     <enum name="SUBPIXEL_BITS"                 count="1"  value="0x0D50">
83         <size name="Get" mode="get"/>
84     </enum>
85     <enum name="RED_BITS"                      count="1"  value="0x0D52">
86         <size name="Get" mode="get"/>
87     </enum>
88     <enum name="GREEN_BITS"                    count="1"  value="0x0D53">
89         <size name="Get" mode="get"/>
90     </enum>
91     <enum name="BLUE_BITS"                     count="1"  value="0x0D54">
92         <size name="Get" mode="get"/>
93     </enum>
94     <enum name="ALPHA_BITS"                    count="1"  value="0x0D55">
95         <size name="Get" mode="get"/>
96     </enum>
97     <enum name="DEPTH_BITS"                    count="1"  value="0x0D56">
98         <size name="Get" mode="get"/>
99     </enum>
100     <enum name="STENCIL_BITS"                  count="1"  value="0x0D57">
101         <size name="Get" mode="get"/>
102     </enum>
103     <enum name="TEXTURE_2D"                    count="1"  value="0x0DE1">
104         <size name="Get" mode="get"/>
105     </enum>
106     <enum name="DONT_CARE"                                value="0x1100"/>
107     <enum name="FASTEST"                                  value="0x1101"/>
108     <enum name="NICEST"                                   value="0x1102"/>
109     <enum name="BYTE"                          count="1"  value="0x1400">
110         <size name="CallLists"/>
111     </enum>
112     <enum name="UNSIGNED_BYTE"                 count="1"  value="0x1401">
113         <size name="CallLists"/>
114     </enum>
115     <enum name="SHORT"                         count="2"  value="0x1402">
116         <size name="CallLists"/>
117     </enum>
118     <enum name="UNSIGNED_SHORT"                count="2"  value="0x1403">
119         <size name="CallLists"/>
120     </enum>
121     <enum name="FLOAT"                         count="4"  value="0x1406">
122         <size name="CallLists"/>
123     </enum>
124     <enum name="INVERT"                                   value="0x150A"/>
125     <enum name="TEXTURE"                                  value="0x1702"/>
126     <enum name="ALPHA"                                    value="0x1906"/>
127     <enum name="RGB"                                      value="0x1907"/>
128     <enum name="RGBA"                                     value="0x1908"/>
129     <enum name="LUMINANCE"                                value="0x1909"/>
130     <enum name="LUMINANCE_ALPHA"                          value="0x190A"/>
131     <enum name="KEEP"                                     value="0x1E00"/>
132     <enum name="REPLACE"                                  value="0x1E01"/>
133     <enum name="INCR"                                     value="0x1E02"/>
134     <enum name="DECR"                                     value="0x1E03"/>
135     <enum name="VENDOR"                                   value="0x1F00"/>
136     <enum name="RENDERER"                                 value="0x1F01"/>
137     <enum name="VERSION"                                  value="0x1F02"/>
138     <enum name="EXTENSIONS"                               value="0x1F03"/>
139     <enum name="NEAREST"                                  value="0x2600"/>
140     <enum name="LINEAR"                                   value="0x2601"/>
141     <enum name="NEAREST_MIPMAP_NEAREST"                   value="0x2700"/>
142     <enum name="LINEAR_MIPMAP_NEAREST"                    value="0x2701"/>
143     <enum name="NEAREST_MIPMAP_LINEAR"                    value="0x2702"/>
144     <enum name="LINEAR_MIPMAP_LINEAR"                     value="0x2703"/>
145     <enum name="TEXTURE_MAG_FILTER"            count="1"  value="0x2800">
146         <size name="TexParameterfv"/>
147         <size name="TexParameteriv"/>
148         <size name="GetTexParameterfv" mode="get"/>
149         <size name="GetTexParameteriv" mode="get"/>
150     </enum>
151     <enum name="TEXTURE_MIN_FILTER"            count="1"  value="0x2801">
152         <size name="TexParameterfv"/>
153         <size name="TexParameteriv"/>
154         <size name="GetTexParameterfv" mode="get"/>
155         <size name="GetTexParameteriv" mode="get"/>
156     </enum>
157     <enum name="TEXTURE_WRAP_S"                count="1"  value="0x2802">
158         <size name="TexParameterfv"/>
159         <size name="TexParameteriv"/>
160         <size name="GetTexParameterfv" mode="get"/>
161         <size name="GetTexParameteriv" mode="get"/>
162     </enum>
163     <enum name="TEXTURE_WRAP_T"                count="1"  value="0x2803">
164         <size name="TexParameterfv"/>
165         <size name="TexParameteriv"/>
166         <size name="GetTexParameterfv" mode="get"/>
167         <size name="GetTexParameteriv" mode="get"/>
168     </enum>
169     <enum name="REPEAT"                                   value="0x2901"/>
171     <enum name="DEPTH_BUFFER_BIT"                         value="0x00000100"/>
172     <enum name="STENCIL_BUFFER_BIT"                       value="0x00000400"/>
173     <enum name="COLOR_BUFFER_BIT"                         value="0x00004000"/>
175     <type name="float"   size="4"  float="true"    glx_name="FLOAT32"/>
176     <type name="clampf"  size="4"  float="true"    glx_name="FLOAT32"/>
178     <type name="int"     size="4"                  glx_name="CARD32"/>
179     <type name="uint"    size="4"  unsigned="true" glx_name="CARD32"/>
180     <type name="sizei"   size="4"                  glx_name="CARD32"/>
181     <type name="enum"    size="4"  unsigned="true" glx_name="ENUM"/>
182     <type name="bitfield" size="4" unsigned="true" glx_name="CARD32"/>
184     <type name="short"   size="2"                  glx_name="CARD16"/>
185     <type name="ushort"  size="2"  unsigned="true" glx_name="CARD16"/>
187     <type name="byte"    size="1"                  glx_name="CARD8"/>
188     <type name="ubyte"   size="1"  unsigned="true" glx_name="CARD8"/>
189     <type name="boolean" size="1"  unsigned="true" glx_name="CARD8"/>
191     <type name="void"    size="1"/>
193     <function name="BlendFunc" offset="241">
194         <param name="sfactor" type="GLenum"/>
195         <param name="dfactor" type="GLenum"/>
196         <glx rop="160"/>
197     </function>
199     <function name="Clear" offset="203">
200         <param name="mask" type="GLbitfield"/>
201         <glx rop="127"/>
202     </function>
204     <function name="ClearColor" offset="206">
205         <param name="red" type="GLclampf"/>
206         <param name="green" type="GLclampf"/>
207         <param name="blue" type="GLclampf"/>
208         <param name="alpha" type="GLclampf"/>
209         <glx rop="130"/>
210     </function>
212     <function name="ClearStencil" offset="207">
213         <param name="s" type="GLint"/>
214         <glx rop="131"/>
215     </function>
217     <function name="ColorMask" offset="210">
218         <param name="red" type="GLboolean"/>
219         <param name="green" type="GLboolean"/>
220         <param name="blue" type="GLboolean"/>
221         <param name="alpha" type="GLboolean"/>
222         <glx rop="134"/>
223     </function>
225     <function name="CullFace" offset="152">
226         <param name="mode" type="GLenum"/>
227         <glx rop="79"/>
228     </function>
230     <function name="DepthFunc" offset="245">
231         <param name="func" type="GLenum"/>
232         <glx rop="164"/>
233     </function>
235     <function name="DepthMask" offset="211">
236         <param name="flag" type="GLboolean"/>
237         <glx rop="135"/>
238     </function>
240     <function name="Disable" offset="214">
241         <param name="cap" type="GLenum"/>
242         <glx rop="138" handcode="client"/>
243     </function>
245     <function name="Enable" offset="215">
246         <param name="cap" type="GLenum"/>
247         <glx rop="139" handcode="client"/>
248     </function>
250     <function name="Finish" offset="216">
251         <glx sop="108" handcode="true"/>
252     </function>
254     <function name="Flush" offset="217">
255         <glx sop="142" handcode="true"/>
256     </function>
258     <function name="FrontFace" offset="157">
259         <param name="mode" type="GLenum"/>
260         <glx rop="84"/>
261     </function>
263     <function name="GetError" offset="261">
264         <return type="GLenum"/>
265         <glx sop="115" handcode="client"/>
266     </function>
268     <function name="GetIntegerv" offset="263">
269         <param name="pname" type="GLenum"/>
270         <param name="params" type="GLint *" output="true" variable_param="pname"/>
271         <glx sop="117" handcode="client"/>
272     </function>
274     <function name="GetString" offset="275">
275         <param name="name" type="GLenum"/>
276         <return type="const GLubyte *"/>
277         <glx sop="129" handcode="true"/>
278     </function>
280     <function name="Hint" offset="158">
281         <param name="target" type="GLenum"/>
282         <param name="mode" type="GLenum"/>
283         <glx rop="85"/>
284     </function>
286     <function name="LineWidth" offset="168">
287         <param name="width" type="GLfloat"/>
288         <glx rop="95"/>
289     </function>
291     <function name="PixelStorei" offset="250">
292         <param name="pname" type="GLenum"/>
293         <param name="param" type="GLint"/>
294         <glx sop="110" handcode="client"/>
295     </function>
297     <function name="ReadPixels" offset="256">
298         <param name="x" type="GLint"/>
299         <param name="y" type="GLint"/>
300         <param name="width" type="GLsizei"/>
301         <param name="height" type="GLsizei"/>
302         <param name="format" type="GLenum"/>
303         <param name="type" type="GLenum"/>
304         <param name="pixels" type="GLvoid *" output="true"  img_width="width" img_height="height" img_format="format" img_type="type" img_target="0"/>
305         <glx sop="111"/>
306     </function>
308     <function name="Scissor" offset="176">
309         <param name="x" type="GLint"/>
310         <param name="y" type="GLint"/>
311         <param name="width" type="GLsizei"/>
312         <param name="height" type="GLsizei"/>
313         <glx rop="103"/>
314     </function>
316     <function name="StencilFunc" offset="243">
317         <param name="func" type="GLenum"/>
318         <param name="ref" type="GLint"/>
319         <param name="mask" type="GLuint"/>
320         <glx rop="162"/>
321     </function>
323     <function name="StencilMask" offset="209">
324         <param name="mask" type="GLuint"/>
325         <glx rop="133"/>
326     </function>
328     <function name="StencilOp" offset="244">
329         <param name="fail" type="GLenum"/>
330         <param name="zfail" type="GLenum"/>
331         <param name="zpass" type="GLenum"/>
332         <glx rop="163"/>
333     </function>
335     <function name="TexParameterf" offset="178">
336         <param name="target" type="GLenum"/>
337         <param name="pname" type="GLenum"/>
338         <param name="param" type="GLfloat"/>
339         <glx rop="105"/>
340     </function>
342     <function name="Viewport" offset="305">
343         <param name="x" type="GLint"/>
344         <param name="y" type="GLint"/>
345         <param name="width" type="GLsizei"/>
346         <param name="height" type="GLsizei"/>
347         <glx rop="191"/>
348     </function>
350     <!-- these are not in OpenGL ES 1.0 -->
351     <enum name="LINE_WIDTH"                    count="1"  value="0x0B21">
352         <size name="Get" mode="get"/>
353     </enum>
354     <enum name="CULL_FACE_MODE"                count="1"  value="0x0B45">
355         <size name="Get" mode="get"/>
356     </enum>
357     <enum name="FRONT_FACE"                    count="1"  value="0x0B46">
358         <size name="Get" mode="get"/>
359     </enum>
360     <enum name="DEPTH_RANGE"                   count="2"  value="0x0B70">
361         <size name="Get" mode="get"/>
362     </enum>
363     <enum name="DEPTH_WRITEMASK"               count="1"  value="0x0B72">
364         <size name="Get" mode="get"/>
365     </enum>
366     <enum name="DEPTH_CLEAR_VALUE"             count="1"  value="0x0B73">
367         <size name="Get" mode="get"/>
368     </enum>
369     <enum name="DEPTH_FUNC"                    count="1"  value="0x0B74">
370         <size name="Get" mode="get"/>
371     </enum>
372     <enum name="STENCIL_CLEAR_VALUE"           count="1"  value="0x0B91">
373         <size name="Get" mode="get"/>
374     </enum>
375     <enum name="STENCIL_FUNC"                  count="1"  value="0x0B92">
376         <size name="Get" mode="get"/>
377     </enum>
378     <enum name="STENCIL_VALUE_MASK"            count="1"  value="0x0B93">
379         <size name="Get" mode="get"/>
380     </enum>
381     <enum name="STENCIL_FAIL"                  count="1"  value="0x0B94">
382         <size name="Get" mode="get"/>
383     </enum>
384     <enum name="STENCIL_PASS_DEPTH_FAIL"       count="1"  value="0x0B95">
385         <size name="Get" mode="get"/>
386     </enum>
387     <enum name="STENCIL_PASS_DEPTH_PASS"       count="1"  value="0x0B96">
388         <size name="Get" mode="get"/>
389     </enum>
390     <enum name="STENCIL_REF"                   count="1"  value="0x0B97">
391         <size name="Get" mode="get"/>
392     </enum>
393     <enum name="STENCIL_WRITEMASK"             count="1"  value="0x0B98">
394         <size name="Get" mode="get"/>
395     </enum>
396     <enum name="VIEWPORT"                      count="4"  value="0x0BA2">
397         <size name="Get" mode="get"/>
398     </enum>
399     <enum name="SCISSOR_BOX"                   count="4"  value="0x0C10">
400         <size name="Get" mode="get"/>
401     </enum>
402     <enum name="COLOR_CLEAR_VALUE"             count="4"  value="0x0C22">
403         <size name="Get" mode="get"/>
404     </enum>
405     <enum name="COLOR_WRITEMASK"               count="4"  value="0x0C23">
406         <size name="Get" mode="get"/>
407     </enum>
409     <function name="TexParameterfv" offset="179">
410         <param name="target" type="GLenum"/>
411         <param name="pname" type="GLenum"/>
412         <param name="params" type="const GLfloat *" variable_param="pname"/>
413         <glx rop="106"/>
414     </function>
416     <function name="TexParameteri" offset="180">
417         <param name="target" type="GLenum"/>
418         <param name="pname" type="GLenum"/>
419         <param name="param" type="GLint"/>
420         <glx rop="107"/>
421     </function>
423     <function name="TexParameteriv" offset="181">
424         <param name="target" type="GLenum"/>
425         <param name="pname" type="GLenum"/>
426         <param name="params" type="const GLint *" variable_param="pname"/>
427         <glx rop="108"/>
428     </function>
430     <function name="GetBooleanv" offset="258">
431         <param name="pname" type="GLenum"/>
432         <param name="params" type="GLboolean *" output="true" variable_param="pname"/>
433         <glx sop="112" handcode="client"/>
434     </function>
436     <function name="GetFloatv" offset="262">
437         <param name="pname" type="GLenum"/>
438         <param name="params" type="GLfloat *" output="true" variable_param="pname"/>
439         <glx sop="116" handcode="client"/>
440     </function>
442     <function name="GetTexParameterfv" offset="282">
443         <param name="target" type="GLenum"/>
444         <param name="pname" type="GLenum"/>
445         <param name="params" type="GLfloat *" output="true" variable_param="pname"/>
446         <glx sop="136"/>
447     </function>
449     <function name="GetTexParameteriv" offset="283">
450         <param name="target" type="GLenum"/>
451         <param name="pname" type="GLenum"/>
452         <param name="params" type="GLint *" output="true" variable_param="pname"/>
453         <glx sop="137"/>
454     </function>
456     <function name="IsEnabled" offset="286">
457         <param name="cap" type="GLenum"/>
458         <return type="GLboolean"/>
459         <glx sop="140" handcode="client"/>
460     </function>
461 </category>
463 <!-- base subset of OpenGL 1.1 -->
464 <category name="base1.1">
465     <enum name="POLYGON_OFFSET_FILL"                      value="0x8037"/>
467     <function name="BindTexture" offset="307">
468         <param name="target" type="GLenum"/>
469         <param name="texture" type="GLuint"/>
470         <glx rop="4117"/>
471     </function>
473     <function name="CopyTexImage2D" offset="324">
474         <param name="target" type="GLenum"/>
475         <param name="level" type="GLint"/>
476         <param name="internalformat" type="GLenum"/>
477         <param name="x" type="GLint"/>
478         <param name="y" type="GLint"/>
479         <param name="width" type="GLsizei"/>
480         <param name="height" type="GLsizei"/>
481         <param name="border" type="GLint"/>
482         <glx rop="4120"/>
483     </function>
485     <function name="CopyTexSubImage2D" offset="326">
486         <param name="target" type="GLenum"/>
487         <param name="level" type="GLint"/>
488         <param name="xoffset" type="GLint"/>
489         <param name="yoffset" type="GLint"/>
490         <param name="x" type="GLint"/>
491         <param name="y" type="GLint"/>
492         <param name="width" type="GLsizei"/>
493         <param name="height" type="GLsizei"/>
494         <glx rop="4122"/>
495     </function>
497     <function name="DeleteTextures" offset="327">
498         <param name="n" type="GLsizei" counter="true"/>
499         <param name="textures" type="const GLuint *" count="n"/>
500         <glx sop="144"/>
501     </function>
503     <function name="DrawArrays" offset="310">
504         <param name="mode" type="GLenum"/>
505         <param name="first" type="GLint"/>
506         <param name="count" type="GLsizei"/>
507         <glx rop="193" handcode="true"/>
508     </function>
510     <function name="DrawElements" offset="311">
511         <param name="mode" type="GLenum"/>
512         <param name="count" type="GLsizei"/>
513         <param name="type" type="GLenum"/>
514         <param name="indices" type="const GLvoid *"/>
515         <glx handcode="true"/>
516     </function>
518     <function name="GenTextures" offset="328">
519         <param name="n" type="GLsizei" counter="true"/>
520         <param name="textures" type="GLuint *" output="true" count="n"/>
521         <glx sop="145" always_array="true"/>
522     </function>
524     <function name="PolygonOffset" offset="319">
525         <param name="factor" type="GLfloat"/>
526         <param name="units" type="GLfloat"/>
527         <glx rop="192"/>
528     </function>
530     <function name="TexSubImage2D" offset="333">
531         <param name="target" type="GLenum"/>
532         <param name="level" type="GLint"/>
533         <param name="xoffset" type="GLint"/>
534         <param name="yoffset" type="GLint"/>
535         <param name="width" type="GLsizei"/>
536         <param name="height" type="GLsizei"/>
537         <param name="format" type="GLenum"/>
538         <param name="type" type="GLenum"/>
539         <param name="UNUSED" type="GLuint" padding="true"/>
540         <param name="pixels" type="const GLvoid *" img_width="width" img_height="height" img_xoff="xoffset" img_yoff="yoffset" img_format="format" img_type="type" img_target="target" img_pad_dimensions="true"/>
541         <glx rop="4100" large="true"/>
542     </function>
544     <!-- these are not in OpenGL ES 1.0 -->
545     <enum name="POLYGON_OFFSET_UNITS"          count="1"  value="0x2A00">
546         <size name="Get" mode="get"/>
547     </enum>
548     <enum name="POLYGON_OFFSET_FACTOR"         count="1"  value="0x8038">
549         <size name="Get" mode="get"/>
550     </enum>
551     <enum name="TEXTURE_BINDING_2D"            count="1"  value="0x8069">
552         <size name="Get" mode="get"/>
553     </enum>
555     <function name="IsTexture" offset="330">
556         <param name="texture" type="GLuint"/>
557         <return type="GLboolean"/>
558         <glx sop="146"/>
559     </function>
560 </category>
562 <!-- base subset of OpenGL 1.2 -->
563 <category name="base1.2">
564     <enum name="UNSIGNED_SHORT_4_4_4_4"                   value="0x8033"/>
565     <enum name="UNSIGNED_SHORT_5_5_5_1"                   value="0x8034"/>
566     <enum name="CLAMP_TO_EDGE"                            value="0x812F"/>
567     <enum name="UNSIGNED_SHORT_5_6_5"                     value="0x8363"/>
568     <enum name="ALIASED_POINT_SIZE_RANGE"      count="2"  value="0x846D">
569         <size name="Get" mode="get"/>
570     </enum>
571     <enum name="ALIASED_LINE_WIDTH_RANGE"      count="2"  value="0x846E">
572         <size name="Get" mode="get"/>
573     </enum>
574 </category>
576 <!-- base subset of OpenGL 1.3 -->
577 <category name="base1.3">
578     <enum name="SAMPLE_ALPHA_TO_COVERAGE"      count="1"  value="0x809E">
579         <size name="Get" mode="get"/>
580     </enum>
581     <enum name="SAMPLE_COVERAGE"               count="1"  value="0x80A0">
582         <size name="Get" mode="get"/>
583     </enum>
584     <enum name="TEXTURE0"                                 value="0x84C0"/>
585     <enum name="TEXTURE1"                                 value="0x84C1"/>
586     <enum name="TEXTURE2"                                 value="0x84C2"/>
587     <enum name="TEXTURE3"                                 value="0x84C3"/>
588     <enum name="TEXTURE4"                                 value="0x84C4"/>
589     <enum name="TEXTURE5"                                 value="0x84C5"/>
590     <enum name="TEXTURE6"                                 value="0x84C6"/>
591     <enum name="TEXTURE7"                                 value="0x84C7"/>
592     <enum name="TEXTURE8"                                 value="0x84C8"/>
593     <enum name="TEXTURE9"                                 value="0x84C9"/>
594     <enum name="TEXTURE10"                                value="0x84CA"/>
595     <enum name="TEXTURE11"                                value="0x84CB"/>
596     <enum name="TEXTURE12"                                value="0x84CC"/>
597     <enum name="TEXTURE13"                                value="0x84CD"/>
598     <enum name="TEXTURE14"                                value="0x84CE"/>
599     <enum name="TEXTURE15"                                value="0x84CF"/>
600     <enum name="TEXTURE16"                                value="0x84D0"/>
601     <enum name="TEXTURE17"                                value="0x84D1"/>
602     <enum name="TEXTURE18"                                value="0x84D2"/>
603     <enum name="TEXTURE19"                                value="0x84D3"/>
604     <enum name="TEXTURE20"                                value="0x84D4"/>
605     <enum name="TEXTURE21"                                value="0x84D5"/>
606     <enum name="TEXTURE22"                                value="0x84D6"/>
607     <enum name="TEXTURE23"                                value="0x84D7"/>
608     <enum name="TEXTURE24"                                value="0x84D8"/>
609     <enum name="TEXTURE25"                                value="0x84D9"/>
610     <enum name="TEXTURE26"                                value="0x84DA"/>
611     <enum name="TEXTURE27"                                value="0x84DB"/>
612     <enum name="TEXTURE28"                                value="0x84DC"/>
613     <enum name="TEXTURE29"                                value="0x84DD"/>
614     <enum name="TEXTURE30"                                value="0x84DE"/>
615     <enum name="TEXTURE31"                                value="0x84DF"/>
616     <enum name="NUM_COMPRESSED_TEXTURE_FORMATS" count="1" value="0x86A2">
617         <size name="Get" mode="get"/>
618     </enum>
619     <enum name="COMPRESSED_TEXTURE_FORMATS"    count="-1"  value="0x86A3">
620         <size name="Get" mode="get"/>
621     </enum>
623     <function name="ActiveTexture" offset="374">
624         <param name="texture" type="GLenum"/>
625         <glx rop="197"/>
626     </function>
628     <function name="CompressedTexImage2D" offset="assign">
629         <param name="target" type="GLenum"/>
630         <param name="level" type="GLint"/>
631         <param name="internalformat" type="GLenum"/>
632         <param name="width" type="GLsizei"/>
633         <param name="height" type="GLsizei"/>
634         <param name="border" type="GLint"/>
635         <param name="imageSize" type="GLsizei" counter="true"/>
636         <param name="data" type="const GLvoid *" count="imageSize"/>
637         <glx rop="215" handcode="client"/>
638     </function>
640     <function name="CompressedTexSubImage2D" offset="assign">
641         <param name="target" type="GLenum"/>
642         <param name="level" type="GLint"/>
643         <param name="xoffset" type="GLint"/>
644         <param name="yoffset" type="GLint"/>
645         <param name="width" type="GLsizei"/>
646         <param name="height" type="GLsizei"/>
647         <param name="format" type="GLenum"/>
648         <param name="imageSize" type="GLsizei" counter="true"/>
649         <param name="data" type="const GLvoid *" count="imageSize"/>
650         <glx rop="218" handcode="client"/>
651     </function>
653     <function name="SampleCoverage" offset="assign">
654         <param name="value" type="GLclampf"/>
655         <param name="invert" type="GLboolean"/>
656         <glx rop="229"/>
657     </function>
659     <!-- these are not in OpenGL ES 1.0 -->
660     <enum name="SAMPLE_BUFFERS"                count="1"  value="0x80A8">
661         <size name="Get" mode="get"/>
662     </enum>
663     <enum name="SAMPLES"                       count="1"  value="0x80A9">
664         <size name="Get" mode="get"/>
665     </enum>
666     <enum name="SAMPLE_COVERAGE_VALUE"         count="1"  value="0x80AA">
667         <size name="Get" mode="get"/>
668     </enum>
669     <enum name="SAMPLE_COVERAGE_INVERT"        count="1"  value="0x80AB">
670         <size name="Get" mode="get"/>
671     </enum>
672     <enum name="ACTIVE_TEXTURE"                count="1"  value="0x84E0">
673         <size name="Get" mode="get"/>
674     </enum>
675 </category>
677 <!-- base subset of OpenGL 1.4 -->
678 <category name="base1.4">
679     <enum name="GENERATE_MIPMAP_HINT"                     value="0x8192"/>
680 </category>
682 <!-- base subset of OpenGL 1.5 -->
683 <category name="base1.5">
684     <enum name="BUFFER_SIZE"                              value="0x8764"/>
685     <enum name="BUFFER_USAGE"                             value="0x8765"/>
686     <enum name="ARRAY_BUFFER"                             value="0x8892"/>
687     <enum name="ELEMENT_ARRAY_BUFFER"                     value="0x8893"/>
688     <enum name="ARRAY_BUFFER_BINDING"                     value="0x8894"/>
689     <enum name="ELEMENT_ARRAY_BUFFER_BINDING"             value="0x8895"/>
690     <enum name="STATIC_DRAW"                              value="0x88E4"/>
691     <enum name="DYNAMIC_DRAW"                             value="0x88E8"/>
693     <type name="intptr"   size="4"                  glx_name="CARD32"/>
694     <type name="sizeiptr" size="4"                  glx_name="CARD32"/>
696     <function name="BindBuffer" offset="assign">
697         <param name="target" type="GLenum"/>
698         <param name="buffer" type="GLuint"/>
699         <glx ignore="true"/>
700     </function>
702     <function name="BufferData" offset="assign">
703         <param name="target" type="GLenum"/>
704         <param name="size" type="GLsizeiptr" counter="true"/>
705         <param name="data" type="const GLvoid *" count="size" img_null_flag="true"/>
706         <param name="usage" type="GLenum"/>
707         <glx ignore="true"/>
708     </function>
710     <function name="BufferSubData" offset="assign">
711         <param name="target" type="GLenum"/>
712         <param name="offset" type="GLintptr"/>
713         <param name="size" type="GLsizeiptr" counter="true"/>
714         <param name="data" type="const GLvoid *" count="size"/>
715         <glx ignore="true"/>
716     </function>
718     <function name="DeleteBuffers" offset="assign">
719         <param name="n" type="GLsizei" counter="true"/>
720         <param name="buffer" type="const GLuint *" count="n"/>
721         <glx ignore="true"/>
722     </function>
724     <function name="GenBuffers" offset="assign">
725         <param name="n" type="GLsizei" counter="true"/>
726         <param name="buffer" type="GLuint *" output="true" count="n"/>
727         <glx ignore="true"/>
728     </function>
730     <function name="GetBufferParameteriv" offset="assign">
731         <param name="target" type="GLenum"/>
732         <param name="pname" type="GLenum"/>
733         <param name="params" type="GLint *" output="true" variable_param="pname"/>
734         <glx ignore="true"/>
735     </function>
737     <function name="IsBuffer" offset="assign">
738         <param name="buffer" type="GLuint"/>
739         <return type="GLboolean"/>
740         <glx ignore="true"/>
741     </function>
742 </category>
744 </OpenGLAPI>