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.
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"/>
55 <enum name="DEPTH_TEST" count="1" value="0x0B71">
56 <size name="Get" mode="get"/>
58 <enum name="STENCIL_TEST" count="1" value="0x0B90">
59 <size name="Get" mode="get"/>
61 <enum name="DITHER" count="1" value="0x0BD0">
62 <size name="Get" mode="get"/>
64 <enum name="BLEND" count="1" value="0x0BE2">
65 <size name="Get" mode="get"/>
67 <enum name="SCISSOR_TEST" count="1" value="0x0C11">
68 <size name="Get" mode="get"/>
70 <enum name="UNPACK_ALIGNMENT" count="1" value="0x0CF5">
71 <size name="Get" mode="get"/>
73 <enum name="PACK_ALIGNMENT" count="1" value="0x0D05">
74 <size name="Get" mode="get"/>
76 <enum name="MAX_TEXTURE_SIZE" count="1" value="0x0D33">
77 <size name="Get" mode="get"/>
79 <enum name="MAX_VIEWPORT_DIMS" count="2" value="0x0D3A">
80 <size name="Get" mode="get"/>
82 <enum name="SUBPIXEL_BITS" count="1" value="0x0D50">
83 <size name="Get" mode="get"/>
85 <enum name="RED_BITS" count="1" value="0x0D52">
86 <size name="Get" mode="get"/>
88 <enum name="GREEN_BITS" count="1" value="0x0D53">
89 <size name="Get" mode="get"/>
91 <enum name="BLUE_BITS" count="1" value="0x0D54">
92 <size name="Get" mode="get"/>
94 <enum name="ALPHA_BITS" count="1" value="0x0D55">
95 <size name="Get" mode="get"/>
97 <enum name="DEPTH_BITS" count="1" value="0x0D56">
98 <size name="Get" mode="get"/>
100 <enum name="STENCIL_BITS" count="1" value="0x0D57">
101 <size name="Get" mode="get"/>
103 <enum name="TEXTURE_2D" count="1" value="0x0DE1">
104 <size name="Get" mode="get"/>
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"/>
112 <enum name="UNSIGNED_BYTE" count="1" value="0x1401">
113 <size name="CallLists"/>
115 <enum name="SHORT" count="2" value="0x1402">
116 <size name="CallLists"/>
118 <enum name="UNSIGNED_SHORT" count="2" value="0x1403">
119 <size name="CallLists"/>
121 <enum name="FLOAT" count="4" value="0x1406">
122 <size name="CallLists"/>
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"/>
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"/>
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"/>
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"/>
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"/>
199 <function name="Clear" offset="203">
200 <param name="mask" type="GLbitfield"/>
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"/>
212 <function name="ClearStencil" offset="207">
213 <param name="s" type="GLint"/>
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"/>
225 <function name="CullFace" offset="152">
226 <param name="mode" type="GLenum"/>
230 <function name="DepthFunc" offset="245">
231 <param name="func" type="GLenum"/>
235 <function name="DepthMask" offset="211">
236 <param name="flag" type="GLboolean"/>
240 <function name="Disable" offset="214">
241 <param name="cap" type="GLenum"/>
242 <glx rop="138" handcode="client"/>
245 <function name="Enable" offset="215">
246 <param name="cap" type="GLenum"/>
247 <glx rop="139" handcode="client"/>
250 <function name="Finish" offset="216">
251 <glx sop="108" handcode="true"/>
254 <function name="Flush" offset="217">
255 <glx sop="142" handcode="true"/>
258 <function name="FrontFace" offset="157">
259 <param name="mode" type="GLenum"/>
263 <function name="GetError" offset="261">
264 <return type="GLenum"/>
265 <glx sop="115" handcode="client"/>
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"/>
274 <function name="GetString" offset="275">
275 <param name="name" type="GLenum"/>
276 <return type="const GLubyte *"/>
277 <glx sop="129" handcode="true"/>
280 <function name="Hint" offset="158">
281 <param name="target" type="GLenum"/>
282 <param name="mode" type="GLenum"/>
286 <function name="LineWidth" offset="168">
287 <param name="width" type="GLfloat"/>
291 <function name="PixelStorei" offset="250">
292 <param name="pname" type="GLenum"/>
293 <param name="param" type="GLint"/>
294 <glx sop="110" handcode="client"/>
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"/>
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"/>
316 <function name="StencilFunc" offset="243">
317 <param name="func" type="GLenum"/>
318 <param name="ref" type="GLint"/>
319 <param name="mask" type="GLuint"/>
323 <function name="StencilMask" offset="209">
324 <param name="mask" type="GLuint"/>
328 <function name="StencilOp" offset="244">
329 <param name="fail" type="GLenum"/>
330 <param name="zfail" type="GLenum"/>
331 <param name="zpass" type="GLenum"/>
335 <function name="TexParameterf" offset="178">
336 <param name="target" type="GLenum"/>
337 <param name="pname" type="GLenum"/>
338 <param name="param" type="GLfloat"/>
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"/>
350 <!-- these are not in OpenGL ES 1.0 -->
351 <enum name="LINE_WIDTH" count="1" value="0x0B21">
352 <size name="Get" mode="get"/>
354 <enum name="CULL_FACE_MODE" count="1" value="0x0B45">
355 <size name="Get" mode="get"/>
357 <enum name="FRONT_FACE" count="1" value="0x0B46">
358 <size name="Get" mode="get"/>
360 <enum name="DEPTH_RANGE" count="2" value="0x0B70">
361 <size name="Get" mode="get"/>
363 <enum name="DEPTH_WRITEMASK" count="1" value="0x0B72">
364 <size name="Get" mode="get"/>
366 <enum name="DEPTH_CLEAR_VALUE" count="1" value="0x0B73">
367 <size name="Get" mode="get"/>
369 <enum name="DEPTH_FUNC" count="1" value="0x0B74">
370 <size name="Get" mode="get"/>
372 <enum name="STENCIL_CLEAR_VALUE" count="1" value="0x0B91">
373 <size name="Get" mode="get"/>
375 <enum name="STENCIL_FUNC" count="1" value="0x0B92">
376 <size name="Get" mode="get"/>
378 <enum name="STENCIL_VALUE_MASK" count="1" value="0x0B93">
379 <size name="Get" mode="get"/>
381 <enum name="STENCIL_FAIL" count="1" value="0x0B94">
382 <size name="Get" mode="get"/>
384 <enum name="STENCIL_PASS_DEPTH_FAIL" count="1" value="0x0B95">
385 <size name="Get" mode="get"/>
387 <enum name="STENCIL_PASS_DEPTH_PASS" count="1" value="0x0B96">
388 <size name="Get" mode="get"/>
390 <enum name="STENCIL_REF" count="1" value="0x0B97">
391 <size name="Get" mode="get"/>
393 <enum name="STENCIL_WRITEMASK" count="1" value="0x0B98">
394 <size name="Get" mode="get"/>
396 <enum name="VIEWPORT" count="4" value="0x0BA2">
397 <size name="Get" mode="get"/>
399 <enum name="SCISSOR_BOX" count="4" value="0x0C10">
400 <size name="Get" mode="get"/>
402 <enum name="COLOR_CLEAR_VALUE" count="4" value="0x0C22">
403 <size name="Get" mode="get"/>
405 <enum name="COLOR_WRITEMASK" count="4" value="0x0C23">
406 <size name="Get" mode="get"/>
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"/>
416 <function name="TexParameteri" offset="180">
417 <param name="target" type="GLenum"/>
418 <param name="pname" type="GLenum"/>
419 <param name="param" type="GLint"/>
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"/>
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"/>
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"/>
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"/>
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"/>
456 <function name="IsEnabled" offset="286">
457 <param name="cap" type="GLenum"/>
458 <return type="GLboolean"/>
459 <glx sop="140" handcode="client"/>
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"/>
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"/>
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"/>
497 <function name="DeleteTextures" offset="327">
498 <param name="n" type="GLsizei" counter="true"/>
499 <param name="textures" type="const GLuint *" count="n"/>
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"/>
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"/>
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"/>
524 <function name="PolygonOffset" offset="319">
525 <param name="factor" type="GLfloat"/>
526 <param name="units" type="GLfloat"/>
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"/>
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"/>
548 <enum name="POLYGON_OFFSET_FACTOR" count="1" value="0x8038">
549 <size name="Get" mode="get"/>
551 <enum name="TEXTURE_BINDING_2D" count="1" value="0x8069">
552 <size name="Get" mode="get"/>
555 <function name="IsTexture" offset="330">
556 <param name="texture" type="GLuint"/>
557 <return type="GLboolean"/>
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"/>
571 <enum name="ALIASED_LINE_WIDTH_RANGE" count="2" value="0x846E">
572 <size name="Get" mode="get"/>
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"/>
581 <enum name="SAMPLE_COVERAGE" count="1" value="0x80A0">
582 <size name="Get" mode="get"/>
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"/>
619 <enum name="COMPRESSED_TEXTURE_FORMATS" count="-1" value="0x86A3">
620 <size name="Get" mode="get"/>
623 <function name="ActiveTexture" offset="374">
624 <param name="texture" type="GLenum"/>
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"/>
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"/>
653 <function name="SampleCoverage" offset="assign">
654 <param name="value" type="GLclampf"/>
655 <param name="invert" type="GLboolean"/>
659 <!-- these are not in OpenGL ES 1.0 -->
660 <enum name="SAMPLE_BUFFERS" count="1" value="0x80A8">
661 <size name="Get" mode="get"/>
663 <enum name="SAMPLES" count="1" value="0x80A9">
664 <size name="Get" mode="get"/>
666 <enum name="SAMPLE_COVERAGE_VALUE" count="1" value="0x80AA">
667 <size name="Get" mode="get"/>
669 <enum name="SAMPLE_COVERAGE_INVERT" count="1" value="0x80AB">
670 <size name="Get" mode="get"/>
672 <enum name="ACTIVE_TEXTURE" count="1" value="0x84E0">
673 <size name="Get" mode="get"/>
677 <!-- base subset of OpenGL 1.4 -->
678 <category name="base1.4">
679 <enum name="GENERATE_MIPMAP_HINT" value="0x8192"/>
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"/>
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"/>
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"/>
718 <function name="DeleteBuffers" offset="assign">
719 <param name="n" type="GLsizei" counter="true"/>
720 <param name="buffer" type="const GLuint *" count="n"/>
724 <function name="GenBuffers" offset="assign">
725 <param name="n" type="GLsizei" counter="true"/>
726 <param name="buffer" type="GLuint *" output="true" count="n"/>
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"/>
737 <function name="IsBuffer" offset="assign">
738 <param name="buffer" type="GLuint"/>
739 <return type="GLboolean"/>