2 <!DOCTYPE apispec SYSTEM "APIspec.dtd">
4 <!-- A function is generated from a template. Multiple functions can be
5 generated from a single template with different arguments. For example,
6 glColor3f can be generated from
8 <function name="Color3f" template="Color" gltype="GLfloat" vector_size="3" expand_vector="true"/>
10 and glColor4iv can be generated from
12 <function name="Color4iv" template="Color" gltype="GLint" vector_size="4"/>
14 In a template, there are <desc>s that describe the properties of
15 parameters. A <desc> can enumerate the valid values of a parameter. It
16 can also specify the error code when an invalid value is given, and etc.
17 By nesting <desc>s, they can create dependency between parameters.
19 A function can be marked as external. It means that the function cannot
20 be dispatched to the corresponding mesa function, if one exists, directly,
21 and requires an external implementation.
26 <template name="Color">
29 <vector name="v" type="const GLtype *" size="dynamic">
30 <param name="red" type="GLtype"/>
31 <param name="green" type="GLtype"/>
32 <param name="blue" type="GLtype"/>
33 <param name="alpha" type="GLtype"/>
38 <template name="ClipPlane">
41 <param name="plane" type="GLenum"/>
42 <vector name="equation" type="const GLtype *" size="4"/>
46 <template name="CullFace">
49 <param name="mode" type="GLenum"/>
56 <param name="pname" type="GLenum"/>
57 <vector name="params" type="const GLtype *" size="dynamic">
58 <param name="param" type="GLtype"/>
63 <value name="GL_FOG_MODE"/>
65 <value name="GL_EXP"/>
66 <value name="GL_EXP2"/>
67 <value name="GL_LINEAR"/>
72 <value name="GL_FOG_COLOR"/>
74 <desc name="params" vector_size="4"/>
78 <value name="GL_FOG_DENSITY"/>
79 <value name="GL_FOG_START"/>
80 <value name="GL_FOG_END"/>
82 <desc name="params" vector_size="1"/>
86 <template name="FrontFace">
89 <param name="mode" type="GLenum"/>
93 <template name="Hint">
96 <param name="target" type="GLenum"/>
97 <param name="mode" type="GLenum"/>
100 <desc name="target" category="GLES1.1">
101 <value name="GL_FOG_HINT"/>
102 <value name="GL_LINE_SMOOTH_HINT"/>
103 <value name="GL_PERSPECTIVE_CORRECTION_HINT"/>
104 <value name="GL_POINT_SMOOTH_HINT"/>
106 <desc name="target" category="OES_standard_derivatives">
107 <value name="GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES"/>
110 <value name="GL_GENERATE_MIPMAP_HINT"/>
114 <template name="Light">
116 <return type="void"/>
117 <param name="light" type="GLenum"/>
118 <param name="pname" type="GLenum"/>
119 <vector name="params" type="const GLtype *" size="dynamic">
120 <param name="param" type="GLtype"/>
125 <template name="LightModel">
127 <return type="void"/>
128 <param name="pname" type="GLenum"/>
129 <vector name="params" type="const GLtype *" size="dynamic">
130 <param name="param" type="GLtype"/>
135 <value name="GL_LIGHT_MODEL_AMBIENT"/>
137 <desc name="params" vector_size="4"/>
141 <value name="GL_LIGHT_MODEL_TWO_SIDE"/>
143 <value name="GL_TRUE"/>
144 <value name="GL_FALSE"/>
149 <template name="LineWidth">
151 <return type="void"/>
152 <param name="width" type="GLtype"/>
156 <template name="Material">
158 <return type="void"/>
159 <param name="face" type="GLenum"/>
160 <param name="pname" type="GLenum"/>
161 <vector name="params" type="const GLtype *" size="dynamic">
162 <param name="param" type="GLtype"/>
167 <value name="GL_FRONT_AND_BACK"/>
171 <value name="GL_AMBIENT"/>
172 <value name="GL_DIFFUSE"/>
173 <value name="GL_AMBIENT_AND_DIFFUSE"/>
174 <value name="GL_SPECULAR"/>
175 <value name="GL_EMISSION"/>
177 <desc name="params" vector_size="4"/>
181 <value name="GL_SHININESS"/>
183 <desc name="params" vector_size="1"/>
187 <template name="PointSize">
189 <return type="void"/>
190 <param name="size" type="GLtype"/>
194 <template name="PointSizePointer">
196 <return type="void"/>
197 <param name="type" type="GLenum"/>
198 <param name="stride" type="GLsizei"/>
199 <param name="pointer" type="const GLvoid *"/>
203 <value name="GL_FLOAT"/>
204 <value name="GL_FIXED"/>
208 <template name="Scissor">
210 <return type="void"/>
211 <param name="x" type="GLint"/>
212 <param name="y" type="GLint"/>
213 <param name="width" type="GLsizei"/>
214 <param name="height" type="GLsizei"/>
218 <template name="ShadeModel">
220 <return type="void"/>
221 <param name="mode" type="GLenum"/>
225 <value name="GL_FLAT"/>
226 <value name="GL_SMOOTH"/>
230 <template name="TexParameter">
232 <return type="void"/>
233 <param name="target" type="GLenum"/>
234 <param name="pname" type="GLenum"/>
235 <vector name="params" type="const GLtype *" size="dynamic">
236 <param name="param" type="GLtype"/>
241 <value name="GL_TEXTURE_2D"/>
242 <value name="GL_TEXTURE_CUBE_MAP" category="GLES2.0"/>
243 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
244 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
245 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
249 <value name="GL_TEXTURE_WRAP_S"/>
250 <value name="GL_TEXTURE_WRAP_T"/>
251 <value name="GL_TEXTURE_WRAP_R_OES" category="OES_texture_3D"/>
254 <value name="GL_CLAMP_TO_EDGE"/>
255 <value name="GL_REPEAT"/>
256 <value name="GL_MIRRORED_REPEAT" category="GLES2.0"/>
257 <value name="GL_MIRRORED_REPEAT_OES" category="OES_texture_mirrored_repeat"/>
262 <value name="GL_TEXTURE_MIN_FILTER"/>
263 <value name="GL_TEXTURE_MAG_FILTER"/>
264 <value name="GL_TEXTURE_MAX_ANISOTROPY_EXT" category="EXT_texture_filter_anisotropic"/>
267 <desc name="pname" category="GLES1.1">
268 <value name="GL_GENERATE_MIPMAP"/>
271 <value name="GL_TRUE"/>
272 <value name="GL_FALSE"/>
276 <desc name="pname" category="OES_draw_texture">
277 <value name="GL_TEXTURE_CROP_RECT_OES"/>
278 <desc name="params" vector_size="4"/>
282 <template name="TexImage2D">
284 <return type="void"/>
285 <param name="target" type="GLenum"/>
286 <param name="level" type="GLint"/>
287 <param name="internalFormat" type="GLint"/> <!-- should be GLenum -->
288 <param name="width" type="GLsizei"/>
289 <param name="height" type="GLsizei"/>
290 <param name="border" type="GLint"/>
291 <param name="format" type="GLenum"/>
292 <param name="type" type="GLenum"/>
293 <param name="pixels" type="const GLvoid *"/>
297 <value name="GL_TEXTURE_2D"/>
298 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
299 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
300 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
301 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
302 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
303 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
304 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
305 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
306 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
307 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
308 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
309 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
312 <desc name="internalFormat">
313 <value name="GL_ALPHA"/>
315 <desc name="format" error="GL_INVALID_VALUE">
316 <value name="GL_ALPHA"/>
320 <desc name="internalFormat">
321 <value name="GL_RGB"/>
323 <desc name="format" error="GL_INVALID_VALUE">
324 <value name="GL_RGB"/>
328 <desc name="internalFormat">
329 <value name="GL_RGBA"/>
331 <desc name="format" error="GL_INVALID_VALUE">
332 <value name="GL_RGBA"/>
336 <desc name="internalFormat">
337 <value name="GL_LUMINANCE"/>
339 <desc name="format" error="GL_INVALID_VALUE">
340 <value name="GL_LUMINANCE"/>
344 <desc name="internalFormat">
345 <value name="GL_LUMINANCE_ALPHA"/>
347 <desc name="format" error="GL_INVALID_VALUE">
348 <value name="GL_LUMINANCE_ALPHA"/>
352 <desc name="internalFormat" category="OES_depth_texture">
353 <value name="GL_DEPTH_COMPONENT"/>
355 <desc name="format" error="GL_INVALID_VALUE">
356 <value name="GL_DEPTH_COMPONENT"/>
360 <desc name="internalFormat" category="OES_packed_depth_stencil">
361 <value name="GL_DEPTH_STENCIL_OES"/>
363 <desc name="format" error="GL_INVALID_VALUE">
364 <value name="GL_DEPTH_STENCIL_OES"/>
368 <desc name="internalFormat" category="EXT_texture_format_BGRA8888">
369 <value name="GL_BGRA_EXT"/>
371 <desc name="format" error="GL_INVALID_VALUE">
372 <value name="GL_BGRA_EXT"/>
376 <desc name="border" error="GL_INVALID_VALUE">
381 <value name="GL_ALPHA"/>
383 <desc name="type" error="GL_INVALID_OPERATION">
384 <value name="GL_UNSIGNED_BYTE"/>
385 <value name="GL_FLOAT" category="OES_texture_float"/>
386 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
391 <value name="GL_RGB"/>
393 <desc name="type" error="GL_INVALID_OPERATION">
394 <value name="GL_UNSIGNED_BYTE"/>
395 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
396 <value name="GL_FLOAT" category="OES_texture_float"/>
397 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
402 <value name="GL_RGBA"/>
404 <desc name="type" error="GL_INVALID_OPERATION">
405 <value name="GL_UNSIGNED_BYTE"/>
406 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
407 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
408 <value name="GL_FLOAT" category="OES_texture_float"/>
409 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
410 <value name="GL_UNSIGNED_INT_2_10_10_10_REV_EXT" category="EXT_texture_type_2_10_10_10_REV"/>
415 <value name="GL_LUMINANCE"/>
417 <desc name="type" error="GL_INVALID_OPERATION">
418 <value name="GL_UNSIGNED_BYTE"/>
419 <value name="GL_FLOAT" category="OES_texture_float"/>
420 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
425 <value name="GL_LUMINANCE_ALPHA"/>
427 <desc name="type" error="GL_INVALID_OPERATION">
428 <value name="GL_UNSIGNED_BYTE"/>
429 <value name="GL_FLOAT" category="OES_texture_float"/>
430 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
434 <desc name="format" category="OES_depth_texture">
435 <value name="GL_DEPTH_COMPONENT"/>
437 <desc name="type" error="GL_INVALID_OPERATION">
438 <value name="GL_UNSIGNED_SHORT"/>
439 <value name="GL_UNSIGNED_INT"/>
443 <desc name="format" category="OES_packed_depth_stencil">
444 <value name="GL_DEPTH_STENCIL_OES"/>
445 <desc name="type" error="GL_INVALID_OPERATION">
446 <value name="GL_UNSIGNED_INT_24_8_OES"/>
450 <desc name="format" category="EXT_texture_format_BGRA8888">
451 <value name="GL_BGRA_EXT"/>
453 <desc name="type" error="GL_INVALID_OPERATION">
454 <value name="GL_UNSIGNED_BYTE"/>
459 <template name="TexEnv">
461 <return type="void"/>
462 <param name="target" type="GLenum"/>
463 <param name="pname" type="GLenum"/>
464 <vector name="params" type="const GLtype *" size="dynamic">
465 <param name="param" type="GLtype"/>
469 <desc name="target" category="OES_point_sprite">
470 <value name="GL_POINT_SPRITE_OES"/>
473 <value name="GL_COORD_REPLACE_OES"/>
477 <desc name="pname" category="OES_point_sprite">
478 <value name="GL_COORD_REPLACE_OES"/>
481 <value name="GL_TRUE"/>
482 <value name="GL_FALSE"/>
486 <desc name="target" category="EXT_texture_lod_bias">
487 <value name="GL_TEXTURE_FILTER_CONTROL_EXT"/>
490 <value name="GL_TEXTURE_LOD_BIAS_EXT"/>
494 <desc name="pname" category="EXT_texture_lod_bias">
495 <value name="GL_TEXTURE_LOD_BIAS_EXT"/>
496 <desc name="params" vector_size="1"/>
500 <value name="GL_TEXTURE_ENV"/>
503 <value name="GL_TEXTURE_ENV_MODE"/>
504 <value name="GL_COMBINE_RGB"/>
505 <value name="GL_COMBINE_ALPHA"/>
506 <value name="GL_RGB_SCALE"/>
507 <value name="GL_ALPHA_SCALE"/>
508 <value name="GL_SRC0_RGB"/>
509 <value name="GL_SRC1_RGB"/>
510 <value name="GL_SRC2_RGB"/>
511 <value name="GL_SRC0_ALPHA"/>
512 <value name="GL_SRC1_ALPHA"/>
513 <value name="GL_SRC2_ALPHA"/>
514 <value name="GL_OPERAND0_RGB"/>
515 <value name="GL_OPERAND1_RGB"/>
516 <value name="GL_OPERAND2_RGB"/>
517 <value name="GL_OPERAND0_ALPHA"/>
518 <value name="GL_OPERAND1_ALPHA"/>
519 <value name="GL_OPERAND2_ALPHA"/>
520 <value name="GL_TEXTURE_ENV_COLOR"/>
525 <value name="GL_TEXTURE_ENV_MODE"/>
528 <value name="GL_REPLACE"/>
529 <value name="GL_MODULATE"/>
530 <value name="GL_DECAL"/>
531 <value name="GL_BLEND"/>
532 <value name="GL_ADD"/>
533 <value name="GL_COMBINE"/>
538 <value name="GL_COMBINE_RGB"/>
541 <value name="GL_REPLACE"/>
542 <value name="GL_MODULATE"/>
543 <value name="GL_ADD"/>
544 <value name="GL_ADD_SIGNED"/>
545 <value name="GL_INTERPOLATE"/>
546 <value name="GL_SUBTRACT"/>
547 <value name="GL_DOT3_RGB"/>
548 <value name="GL_DOT3_RGBA"/>
553 <value name="GL_COMBINE_ALPHA"/>
556 <value name="GL_REPLACE"/>
557 <value name="GL_MODULATE"/>
558 <value name="GL_ADD"/>
559 <value name="GL_ADD_SIGNED"/>
560 <value name="GL_INTERPOLATE"/>
561 <value name="GL_SUBTRACT"/>
566 <value name="GL_RGB_SCALE"/>
567 <value name="GL_ALPHA_SCALE"/>
571 <value name="GL_SRC0_RGB"/>
572 <value name="GL_SRC1_RGB"/>
573 <value name="GL_SRC2_RGB"/>
574 <value name="GL_SRC0_ALPHA"/>
575 <value name="GL_SRC1_ALPHA"/>
576 <value name="GL_SRC2_ALPHA"/>
579 <value name="GL_TEXTURE"/>
580 <value name="GL_CONSTANT"/>
581 <value name="GL_PRIMARY_COLOR"/>
582 <value name="GL_PREVIOUS"/>
584 <range base="GL_TEXTURE" from="0" to="31" category="OES_texture_env_crossbar"/>
589 <value name="GL_OPERAND0_RGB"/>
590 <value name="GL_OPERAND1_RGB"/>
591 <value name="GL_OPERAND2_RGB"/>
594 <value name="GL_SRC_COLOR"/>
595 <value name="GL_ONE_MINUS_SRC_COLOR"/>
596 <value name="GL_SRC_ALPHA"/>
597 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
602 <value name="GL_OPERAND0_ALPHA"/>
603 <value name="GL_OPERAND1_ALPHA"/>
604 <value name="GL_OPERAND2_ALPHA"/>
607 <value name="GL_SRC_ALPHA"/>
608 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
613 <value name="GL_TEXTURE_ENV_COLOR"/>
615 <desc name="params" vector_size="4"/>
619 <template name="TexGen">
621 <return type="void"/>
622 <param name="coord" type="GLenum"/>
623 <param name="pname" type="GLenum"/>
624 <vector name="params" type="const GLtype *" size="dynamic">
625 <param name="param" type="GLtype"/>
629 <desc name="coord" category="OES_texture_cube_map">
630 <value name="GL_TEXTURE_GEN_STR_OES"/>
633 <desc name="pname" category="OES_texture_cube_map">
634 <value name="GL_TEXTURE_GEN_MODE_OES"/>
637 <value name="GL_NORMAL_MAP_OES"/>
638 <value name="GL_REFLECTION_MAP_OES"/>
643 <template name="Clear">
645 <return type="void"/>
646 <param name="mask" type="GLbitfield"/>
649 <desc name="mask" error="GL_INVALID_VALUE">
651 <value name="(GL_COLOR_BUFFER_BIT)"/>
652 <value name="(GL_DEPTH_BUFFER_BIT)"/>
653 <value name="(GL_STENCIL_BUFFER_BIT)"/>
654 <value name="(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT)"/>
655 <value name="(GL_COLOR_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)"/>
656 <value name="(GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)"/>
657 <value name="(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)"/>
661 <template name="ClearColor">
663 <return type="void"/>
664 <param name="red" type="GLtype"/>
665 <param name="green" type="GLtype"/>
666 <param name="blue" type="GLtype"/>
667 <param name="alpha" type="GLtype"/>
671 <template name="ClearStencil">
673 <return type="void"/>
674 <param name="s" type="GLint"/>
678 <template name="ClearDepth">
680 <return type="void"/>
681 <param name="depth" type="GLtype"/>
685 <template name="StencilMask">
687 <return type="void"/>
688 <param name="mask" type="GLuint"/>
692 <template name="StencilMaskSeparate">
694 <return type="void"/>
695 <param name="face" type="GLenum"/>
696 <param name="mask" type="GLuint"/>
700 <template name="ColorMask">
702 <return type="void"/>
703 <param name="red" type="GLboolean"/>
704 <param name="green" type="GLboolean"/>
705 <param name="blue" type="GLboolean"/>
706 <param name="alpha" type="GLboolean"/>
710 <template name="DepthMask">
712 <return type="void"/>
713 <param name="flag" type="GLboolean"/>
717 <template name="Disable">
719 <return type="void"/>
720 <param name="cap" type="GLenum"/>
723 <desc name="cap" category="GLES1.1">
724 <value name="GL_NORMALIZE"/>
725 <value name="GL_RESCALE_NORMAL"/>
727 <range base="GL_CLIP_PLANE" from="0" to="5"/>
728 <value name="GL_CLIP_PLANE0+6"/>
729 <value name="GL_CLIP_PLANE0+7"/>
731 <value name="GL_FOG"/>
732 <value name="GL_LIGHTING"/>
733 <value name="GL_COLOR_MATERIAL"/>
735 <range base="GL_LIGHT" from="0" to="7"/>
737 <value name="GL_POINT_SMOOTH"/>
738 <value name="GL_LINE_SMOOTH"/>
739 <value name="GL_CULL_FACE"/>
740 <value name="GL_POLYGON_OFFSET_FILL"/>
741 <value name="GL_MULTISAMPLE"/>
742 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
743 <value name="GL_SAMPLE_ALPHA_TO_ONE"/>
744 <value name="GL_SAMPLE_COVERAGE"/>
745 <value name="GL_TEXTURE_2D"/>
746 <value name="GL_SCISSOR_TEST"/>
747 <value name="GL_ALPHA_TEST"/>
748 <value name="GL_STENCIL_TEST"/>
749 <value name="GL_DEPTH_TEST"/>
750 <value name="GL_BLEND"/>
751 <value name="GL_DITHER"/>
752 <value name="GL_COLOR_LOGIC_OP"/>
754 <value name="GL_POINT_SPRITE_OES" category="OES_point_sprite"/>
755 <value name="GL_MATRIX_PALETTE_OES" category="OES_matrix_palette"/>
756 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
757 <value name="GL_TEXTURE_GEN_STR_OES" category="OES_texture_cube_map"/>
758 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
761 <desc name="cap" category="GLES2.0">
762 <value name="GL_CULL_FACE"/>
763 <value name="GL_SCISSOR_TEST"/>
764 <value name="GL_POLYGON_OFFSET_FILL"/>
765 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
766 <value name="GL_SAMPLE_COVERAGE"/>
767 <value name="GL_STENCIL_TEST"/>
768 <value name="GL_DEPTH_TEST"/>
769 <value name="GL_DITHER"/>
770 <value name="GL_BLEND"/>
774 <!-- it is exactly the same as Disable -->
775 <template name="Enable">
777 <return type="void"/>
778 <param name="cap" type="GLenum"/>
781 <desc name="cap" category="GLES1.1">
782 <value name="GL_NORMALIZE"/>
783 <value name="GL_RESCALE_NORMAL"/>
785 <range base="GL_CLIP_PLANE" from="0" to="5"/>
786 <value name="GL_CLIP_PLANE0+6"/>
787 <value name="GL_CLIP_PLANE0+7"/>
789 <value name="GL_FOG"/>
790 <value name="GL_LIGHTING"/>
791 <value name="GL_COLOR_MATERIAL"/>
793 <range base="GL_LIGHT" from="0" to="7"/>
795 <value name="GL_POINT_SMOOTH"/>
796 <value name="GL_LINE_SMOOTH"/>
797 <value name="GL_CULL_FACE"/>
798 <value name="GL_POLYGON_OFFSET_FILL"/>
799 <value name="GL_MULTISAMPLE"/>
800 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
801 <value name="GL_SAMPLE_ALPHA_TO_ONE"/>
802 <value name="GL_SAMPLE_COVERAGE"/>
803 <value name="GL_TEXTURE_2D"/>
804 <value name="GL_SCISSOR_TEST"/>
805 <value name="GL_ALPHA_TEST"/>
806 <value name="GL_STENCIL_TEST"/>
807 <value name="GL_DEPTH_TEST"/>
808 <value name="GL_BLEND"/>
809 <value name="GL_DITHER"/>
810 <value name="GL_COLOR_LOGIC_OP"/>
812 <value name="GL_POINT_SPRITE_OES" category="OES_point_sprite"/>
813 <value name="GL_MATRIX_PALETTE_OES" category="OES_matrix_palette"/>
814 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
815 <value name="GL_TEXTURE_GEN_STR_OES" category="OES_texture_cube_map"/>
816 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
819 <desc name="cap" category="GLES2.0">
820 <value name="GL_CULL_FACE"/>
821 <value name="GL_SCISSOR_TEST"/>
822 <value name="GL_POLYGON_OFFSET_FILL"/>
823 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
824 <value name="GL_SAMPLE_COVERAGE"/>
825 <value name="GL_STENCIL_TEST"/>
826 <value name="GL_DEPTH_TEST"/>
827 <value name="GL_DITHER"/>
828 <value name="GL_BLEND"/>
832 <template name="Finish">
834 <return type="void"/>
838 <template name="Flush">
840 <return type="void"/>
844 <template name="AlphaFunc">
846 <return type="void"/>
847 <param name="func" type="GLenum"/>
848 <param name="ref" type="GLtype"/>
852 <template name="BlendFunc">
854 <return type="void"/>
855 <param name="sfactor" type="GLenum"/>
856 <param name="dfactor" type="GLenum"/>
859 <desc name="sfactor">
860 <value name="GL_ZERO"/>
861 <value name="GL_ONE"/>
862 <value name="GL_SRC_COLOR"/>
863 <value name="GL_ONE_MINUS_SRC_COLOR"/>
864 <value name="GL_SRC_ALPHA"/>
865 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
866 <value name="GL_DST_ALPHA"/>
867 <value name="GL_ONE_MINUS_DST_ALPHA"/>
868 <value name="GL_DST_COLOR"/>
869 <value name="GL_ONE_MINUS_DST_COLOR"/>
870 <value name="GL_SRC_ALPHA_SATURATE"/>
872 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
873 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
874 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
875 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
878 <desc name="dfactor">
879 <value name="GL_ZERO"/>
880 <value name="GL_ONE"/>
881 <value name="GL_SRC_COLOR"/>
882 <value name="GL_ONE_MINUS_SRC_COLOR"/>
883 <value name="GL_SRC_ALPHA"/>
884 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
885 <value name="GL_DST_ALPHA"/>
886 <value name="GL_ONE_MINUS_DST_ALPHA"/>
887 <value name="GL_DST_COLOR"/>
888 <value name="GL_ONE_MINUS_DST_COLOR"/>
890 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
891 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
892 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
893 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
897 <template name="LogicOp">
899 <return type="void"/>
900 <param name="opcode" type="GLenum"/>
904 <template name="StencilFunc">
906 <return type="void"/>
907 <param name="func" type="GLenum"/>
908 <param name="ref" type="GLint"/>
909 <param name="mask" type="GLuint"/>
913 <template name="StencilFuncSeparate">
915 <return type="void"/>
916 <param name="face" type="GLenum"/>
917 <param name="func" type="GLenum"/>
918 <param name="ref" type="GLint"/>
919 <param name="mask" type="GLuint"/>
923 <template name="StencilOp">
925 <return type="void"/>
926 <param name="fail" type="GLenum"/>
927 <param name="zfail" type="GLenum"/>
928 <param name="zpass" type="GLenum"/>
932 <value name="GL_KEEP"/>
933 <value name="GL_ZERO"/>
934 <value name="GL_REPLACE"/>
935 <value name="GL_INCR"/>
936 <value name="GL_DECR"/>
937 <value name="GL_INVERT"/>
938 <value name="GL_INCR_WRAP" category="GLES2.0"/>
939 <value name="GL_DECR_WRAP" category="GLES2.0"/>
940 <value name="GL_INCR_WRAP_OES" category="OES_stencil_wrap"/>
941 <value name="GL_DECR_WRAP_OES" category="OES_stencil_wrap"/>
945 <value name="GL_KEEP"/>
946 <value name="GL_ZERO"/>
947 <value name="GL_REPLACE"/>
948 <value name="GL_INCR"/>
949 <value name="GL_DECR"/>
950 <value name="GL_INVERT"/>
951 <value name="GL_INCR_WRAP" category="GLES2.0"/>
952 <value name="GL_DECR_WRAP" category="GLES2.0"/>
953 <value name="GL_INCR_WRAP_OES" category="OES_stencil_wrap"/>
954 <value name="GL_DECR_WRAP_OES" category="OES_stencil_wrap"/>
958 <value name="GL_KEEP"/>
959 <value name="GL_ZERO"/>
960 <value name="GL_REPLACE"/>
961 <value name="GL_INCR"/>
962 <value name="GL_DECR"/>
963 <value name="GL_INVERT"/>
964 <value name="GL_INCR_WRAP" category="GLES2.0"/>
965 <value name="GL_DECR_WRAP" category="GLES2.0"/>
966 <value name="GL_INCR_WRAP_OES" category="OES_stencil_wrap"/>
967 <value name="GL_DECR_WRAP_OES" category="OES_stencil_wrap"/>
971 <template name="StencilOpSeparate">
973 <return type="void"/>
974 <param name="face" type="GLenum"/>
975 <param name="fail" type="GLenum"/>
976 <param name="zfail" type="GLenum"/>
977 <param name="zpass" type="GLenum"/>
981 <value name="GL_KEEP"/>
982 <value name="GL_ZERO"/>
983 <value name="GL_REPLACE"/>
984 <value name="GL_INCR"/>
985 <value name="GL_DECR"/>
986 <value name="GL_INVERT"/>
987 <value name="GL_INCR_WRAP"/>
988 <value name="GL_DECR_WRAP"/>
992 <value name="GL_KEEP"/>
993 <value name="GL_ZERO"/>
994 <value name="GL_REPLACE"/>
995 <value name="GL_INCR"/>
996 <value name="GL_DECR"/>
997 <value name="GL_INVERT"/>
998 <value name="GL_INCR_WRAP"/>
999 <value name="GL_DECR_WRAP"/>
1003 <value name="GL_KEEP"/>
1004 <value name="GL_ZERO"/>
1005 <value name="GL_REPLACE"/>
1006 <value name="GL_INCR"/>
1007 <value name="GL_DECR"/>
1008 <value name="GL_INVERT"/>
1009 <value name="GL_INCR_WRAP"/>
1010 <value name="GL_DECR_WRAP"/>
1014 <template name="DepthFunc">
1016 <return type="void"/>
1017 <param name="func" type="GLenum"/>
1021 <value name="GL_NEVER"/>
1022 <value name="GL_LESS"/>
1023 <value name="GL_EQUAL"/>
1024 <value name="GL_LEQUAL"/>
1025 <value name="GL_GREATER"/>
1026 <value name="GL_NOTEQUAL"/>
1027 <value name="GL_GEQUAL"/>
1028 <value name="GL_ALWAYS"/>
1032 <template name="PixelStore">
1034 <return type="void"/>
1035 <param name="pname" type="GLenum"/>
1036 <param name="param" type="GLtype"/>
1040 <value name="GL_PACK_ALIGNMENT"/>
1041 <desc name="param" error="GL_INVALID_VALUE">
1050 <value name="GL_UNPACK_ALIGNMENT"/>
1051 <desc name="param" error="GL_INVALID_VALUE">
1059 <desc name="pname" category="EXT_unpack_subimage">
1060 <value name="GL_UNPACK_ROW_LENGTH"/>
1061 <value name="GL_UNPACK_SKIP_PIXELS"/>
1062 <value name="GL_UNPACK_SKIP_ROWS"/>
1067 <template name="ReadPixels" direction="get">
1069 <return type="void"/>
1070 <param name="x" type="GLint"/>
1071 <param name="y" type="GLint"/>
1072 <param name="width" type="GLsizei"/>
1073 <param name="height" type="GLsizei"/>
1074 <param name="format" type="GLenum"/>
1075 <param name="type" type="GLenum"/>
1076 <param name="pixels" type="GLvoid *"/>
1079 <!-- Technically, only two combinations are actually allowed:
1080 GL_RGBA/GL_UNSIGNED_BYTE, and some implementation-specific
1081 internal preferred combination. I don't know what that is, so I'm
1082 allowing any valid combination for now; the underlying support
1083 should fail when necessary.-->
1084 <desc name="format">
1085 <value name="GL_ALPHA"/>
1086 <desc name="type" error="GL_INVALID_OPERATION">
1087 <value name="GL_UNSIGNED_BYTE"/>
1091 <desc name="format">
1092 <value name="GL_RGB"/>
1093 <desc name="type" error="GL_INVALID_OPERATION">
1094 <value name="GL_UNSIGNED_BYTE"/>
1095 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
1099 <desc name="format">
1100 <value name="GL_RGBA"/>
1101 <desc name="type" error="GL_INVALID_OPERATION">
1102 <value name="GL_UNSIGNED_BYTE"/>
1103 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
1104 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
1108 <desc name="format">
1109 <value name="GL_LUMINANCE"/>
1110 <desc name="type" error="GL_INVALID_OPERATION">
1111 <value name="GL_UNSIGNED_BYTE"/>
1115 <desc name="format">
1116 <value name="GL_LUMINANCE_ALPHA"/>
1117 <desc name="type" error="GL_INVALID_OPERATION">
1118 <value name="GL_UNSIGNED_BYTE"/>
1122 <desc name="format" category="EXT_read_format_bgra">
1123 <value name="GL_BGRA_EXT"/>
1125 <desc name="type" error="GL_INVALID_OPERATION">
1126 <value name="GL_UNSIGNED_BYTE"/>
1127 <value name="GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT"/>
1128 <value name="GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT"/>
1133 <template name="GetClipPlane" direction="get">
1135 <return type="void"/>
1136 <param name="plane" type="GLenum"/>
1137 <vector name="equation" type="GLtype *" size="4"/>
1141 <template name="GetError" direction="get">
1143 <return type="GLenum"/>
1147 <!-- template for GetFloatv, GetIntegerv, GetBoolean, and GetFixedv -->
1148 <template name="GetState" direction="get">
1150 <return type="void"/>
1151 <param name="pname" type="GLenum"/>
1152 <vector name="params" type="GLtype *" size="dynamic"/>
1154 <!-- param checking is done in mesa -->
1157 <template name="GetLight" direction="get">
1159 <return type="void"/>
1160 <param name="light" type="GLenum"/>
1161 <param name="pname" type="GLenum"/>
1162 <vector name="params" type="GLtype *" size="dynamic"/>
1166 <template name="GetMaterial" direction="get">
1168 <return type="void"/>
1169 <param name="face" type="GLenum"/>
1170 <param name="pname" type="GLenum"/>
1171 <vector name="params" type="GLtype *" size="dynamic">
1172 <param name="param" type="GLtype"/>
1177 <value name="GL_FRONT"/>
1178 <value name="GL_BACK"/>
1182 <value name="GL_SHININESS"/>
1183 <desc name="params" vector_size="1"/>
1187 <value name="GL_AMBIENT"/>
1188 <value name="GL_DIFFUSE"/>
1189 <value name="GL_AMBIENT_AND_DIFFUSE"/>
1190 <value name="GL_SPECULAR"/>
1191 <value name="GL_EMISSION"/>
1193 <desc name="params" vector_size="4"/>
1197 <template name="GetString" direction="get">
1199 <return type="const GLubyte *"/>
1200 <param name="name" type="GLenum"/>
1204 <value name="GL_VENDOR"/>
1205 <value name="GL_RENDERER"/>
1206 <value name="GL_VERSION"/>
1207 <value name="GL_EXTENSIONS"/>
1208 <value name="GL_SHADING_LANGUAGE_VERSION" category="GLES2.0"/>
1212 <template name="GetTexEnv" direction="get">
1214 <return type="void"/>
1215 <param name="target" type="GLenum"/>
1216 <param name="pname" type="GLenum"/>
1217 <vector name="params" type="GLtype *" size="dynamic"/>
1220 <desc name="target" category="OES_point_sprite">
1221 <value name="GL_POINT_SPRITE_OES"/>
1223 <value name="GL_COORD_REPLACE_OES"/>
1227 <desc name="pname" category="OES_point_sprite">
1228 <value name="GL_COORD_REPLACE_OES"/>
1229 <desc name="params" vector_size="1" convert="false"/>
1232 <desc name="target" category="EXT_texture_lod_bias">
1233 <value name="GL_TEXTURE_FILTER_CONTROL_EXT"/>
1236 <value name="GL_TEXTURE_LOD_BIAS_EXT"/>
1240 <desc name="pname" category="EXT_texture_lod_bias">
1241 <value name="GL_TEXTURE_LOD_BIAS_EXT"/>
1242 <desc name="params" vector_size="1"/>
1245 <desc name="target">
1246 <value name="GL_TEXTURE_ENV"/>
1249 <value name="GL_TEXTURE_ENV_COLOR"/>
1250 <value name="GL_RGB_SCALE"/>
1251 <value name="GL_ALPHA_SCALE"/>
1252 <value name="GL_TEXTURE_ENV_MODE"/>
1253 <value name="GL_COMBINE_RGB"/>
1254 <value name="GL_COMBINE_ALPHA"/>
1255 <value name="GL_SRC0_RGB"/>
1256 <value name="GL_SRC1_RGB"/>
1257 <value name="GL_SRC2_RGB"/>
1258 <value name="GL_SRC0_ALPHA"/>
1259 <value name="GL_SRC1_ALPHA"/>
1260 <value name="GL_SRC2_ALPHA"/>
1261 <value name="GL_OPERAND0_RGB"/>
1262 <value name="GL_OPERAND1_RGB"/>
1263 <value name="GL_OPERAND2_RGB"/>
1264 <value name="GL_OPERAND0_ALPHA"/>
1265 <value name="GL_OPERAND1_ALPHA"/>
1266 <value name="GL_OPERAND2_ALPHA"/>
1271 <value name="GL_TEXTURE_ENV_COLOR"/>
1272 <desc name="params" vector_size="4"/>
1276 <value name="GL_RGB_SCALE"/>
1277 <value name="GL_ALPHA_SCALE"/>
1279 <desc name="params" vector_size="1"/>
1283 <value name="GL_TEXTURE_ENV_MODE"/>
1284 <value name="GL_COMBINE_RGB"/>
1285 <value name="GL_COMBINE_ALPHA"/>
1286 <value name="GL_SRC0_RGB"/>
1287 <value name="GL_SRC1_RGB"/>
1288 <value name="GL_SRC2_RGB"/>
1289 <value name="GL_SRC0_ALPHA"/>
1290 <value name="GL_SRC1_ALPHA"/>
1291 <value name="GL_SRC2_ALPHA"/>
1292 <value name="GL_OPERAND0_RGB"/>
1293 <value name="GL_OPERAND1_RGB"/>
1294 <value name="GL_OPERAND2_RGB"/>
1295 <value name="GL_OPERAND0_ALPHA"/>
1296 <value name="GL_OPERAND1_ALPHA"/>
1297 <value name="GL_OPERAND2_ALPHA"/>
1299 <desc name="params" vector_size="1" convert="false"/>
1303 <template name="GetTexGen" direction="get">
1305 <return type="void"/>
1306 <param name="coord" type="GLenum"/>
1307 <param name="pname" type="GLenum"/>
1308 <vector name="params" type="GLtype *" size="dynamic"/>
1312 <value name="GL_TEXTURE_GEN_STR_OES"/>
1315 <value name="GL_TEXTURE_GEN_MODE_OES"/>
1316 <desc name="params" vector_size="1" convert="false"/>
1320 <template name="GetTexParameter" direction="get">
1322 <return type="void"/>
1323 <param name="target" type="GLenum"/>
1324 <param name="pname" type="GLenum"/>
1325 <vector name="params" type="GLtype *" size="dynamic"/>
1328 <desc name="target">
1329 <value name="GL_TEXTURE_2D"/>
1330 <value name="GL_TEXTURE_CUBE_MAP" category="GLES2.0"/>
1331 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
1332 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
1333 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
1337 <value name="GL_TEXTURE_WRAP_S"/>
1338 <value name="GL_TEXTURE_WRAP_T"/>
1339 <value name="GL_TEXTURE_WRAP_R_OES" category="OES_texture_3D"/>
1340 <value name="GL_TEXTURE_MIN_FILTER"/>
1341 <value name="GL_TEXTURE_MAG_FILTER"/>
1342 <value name="GL_GENERATE_MIPMAP" category="GLES1.1"/>
1344 <desc name="params" vector_size="1" convert="false"/>
1347 <desc name="pname" category="OES_draw_texture">
1348 <value name="GL_TEXTURE_CROP_RECT_OES"/>
1349 <desc name="params" vector_size="4"/>
1353 <template name="IsEnabled" direction="get">
1355 <return type="GLboolean"/>
1356 <param name="cap" type="GLenum"/>
1359 <desc name="cap" category="GLES1.1">
1360 <value name="GL_NORMALIZE"/>
1361 <value name="GL_RESCALE_NORMAL"/>
1363 <range base="GL_CLIP_PLANE" from="0" to="5"/>
1364 <value name="GL_CLIP_PLANE0+6"/>
1365 <value name="GL_CLIP_PLANE0+7"/>
1367 <value name="GL_FOG"/>
1368 <value name="GL_LIGHTING"/>
1369 <value name="GL_COLOR_MATERIAL"/>
1371 <range base="GL_LIGHT" from="0" to="7"/>
1373 <value name="GL_POINT_SMOOTH"/>
1374 <value name="GL_LINE_SMOOTH"/>
1375 <value name="GL_CULL_FACE"/>
1376 <value name="GL_POLYGON_OFFSET_FILL"/>
1377 <value name="GL_MULTISAMPLE"/>
1378 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
1379 <value name="GL_SAMPLE_ALPHA_TO_ONE"/>
1380 <value name="GL_SAMPLE_COVERAGE"/>
1381 <value name="GL_TEXTURE_2D"/>
1382 <value name="GL_SCISSOR_TEST"/>
1383 <value name="GL_ALPHA_TEST"/>
1384 <value name="GL_STENCIL_TEST"/>
1385 <value name="GL_DEPTH_TEST"/>
1386 <value name="GL_BLEND"/>
1387 <value name="GL_DITHER"/>
1388 <value name="GL_COLOR_LOGIC_OP"/>
1390 <value name="GL_POINT_SPRITE_OES" category="OES_point_sprite"/>
1391 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
1392 <value name="GL_TEXTURE_GEN_STR_OES" category="OES_texture_cube_map"/>
1394 <value name="GL_VERTEX_ARRAY"/>
1395 <value name="GL_NORMAL_ARRAY"/>
1396 <value name="GL_COLOR_ARRAY"/>
1397 <value name="GL_TEXTURE_COORD_ARRAY"/>
1398 <value name="GL_MATRIX_INDEX_ARRAY_OES" category="OES_matrix_palette"/>
1399 <value name="GL_WEIGHT_ARRAY_OES" category="OES_matrix_palette"/>
1400 <value name="GL_POINT_SIZE_ARRAY_OES" category="OES_point_size_array"/>
1401 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
1404 <desc name="cap" category="GLES2.0">
1405 <value name="GL_CULL_FACE"/>
1406 <value name="GL_SCISSOR_TEST"/>
1407 <value name="GL_POLYGON_OFFSET_FILL"/>
1408 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
1409 <value name="GL_SAMPLE_COVERAGE"/>
1410 <value name="GL_STENCIL_TEST"/>
1411 <value name="GL_DEPTH_TEST"/>
1412 <value name="GL_DITHER"/>
1413 <value name="GL_BLEND"/>
1417 <template name="DepthRange">
1419 <return type="void"/>
1420 <param name="zNear" type="GLtype"/>
1421 <param name="zFar" type="GLtype"/>
1425 <template name="Frustum">
1427 <return type="void"/>
1428 <param name="left" type="GLtype"/>
1429 <param name="right" type="GLtype"/>
1430 <param name="bottom" type="GLtype"/>
1431 <param name="top" type="GLtype"/>
1432 <param name="zNear" type="GLtype"/>
1433 <param name="zFar" type="GLtype"/>
1437 <template name="LoadIdentity">
1439 <return type="void"/>
1443 <template name="LoadMatrix">
1445 <return type="void"/>
1446 <vector name="m" type="const GLtype *" size="16"/>
1450 <template name="MatrixMode">
1452 <return type="void"/>
1453 <param name="mode" type="GLenum"/>
1457 <value name="GL_MODELVIEW"/>
1458 <value name="GL_PROJECTION"/>
1459 <value name="GL_TEXTURE"/>
1460 <value name="GL_MATRIX_PALETTE_OES" category="OES_matrix_palette"/>
1464 <template name="MultMatrix">
1466 <return type="void"/>
1467 <vector name="m" type="const GLtype *" size="16"/>
1471 <template name="Ortho">
1473 <return type="void"/>
1474 <param name="left" type="GLtype"/>
1475 <param name="right" type="GLtype"/>
1476 <param name="bottom" type="GLtype"/>
1477 <param name="top" type="GLtype"/>
1478 <param name="zNear" type="GLtype"/>
1479 <param name="zFar" type="GLtype"/>
1483 <template name="PopMatrix">
1485 <return type="void"/>
1489 <template name="PushMatrix">
1491 <return type="void"/>
1495 <template name="Rotate">
1497 <return type="void"/>
1498 <param name="angle" type="GLtype"/>
1499 <param name="x" type="GLtype"/>
1500 <param name="y" type="GLtype"/>
1501 <param name="z" type="GLtype"/>
1505 <template name="Scale">
1507 <return type="void"/>
1508 <param name="x" type="GLtype"/>
1509 <param name="y" type="GLtype"/>
1510 <param name="z" type="GLtype"/>
1514 <template name="Translate">
1516 <return type="void"/>
1517 <param name="x" type="GLtype"/>
1518 <param name="y" type="GLtype"/>
1519 <param name="z" type="GLtype"/>
1523 <template name="Viewport">
1525 <return type="void"/>
1526 <param name="x" type="GLint"/>
1527 <param name="y" type="GLint"/>
1528 <param name="width" type="GLsizei"/>
1529 <param name="height" type="GLsizei"/>
1533 <template name="ColorPointer">
1535 <return type="void"/>
1536 <param name="size" type="GLint"/>
1537 <param name="type" type="GLenum"/>
1538 <param name="stride" type="GLsizei"/>
1539 <param name="pointer" type="const GLvoid *"/>
1542 <desc name="size" error="GL_INVALID_VALUE">
1547 <value name="GL_UNSIGNED_BYTE"/>
1548 <value name="GL_FLOAT"/>
1549 <value name="GL_FIXED"/>
1550 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
1554 <template name="DisableClientState">
1556 <return type="void"/>
1557 <param name="array" type="GLenum"/>
1561 <value name="GL_VERTEX_ARRAY"/>
1562 <value name="GL_NORMAL_ARRAY"/>
1563 <value name="GL_COLOR_ARRAY"/>
1564 <value name="GL_TEXTURE_COORD_ARRAY"/>
1565 <value name="GL_MATRIX_INDEX_ARRAY_OES" category="OES_matrix_palette"/>
1566 <value name="GL_WEIGHT_ARRAY_OES" category="OES_matrix_palette"/>
1567 <value name="GL_POINT_SIZE_ARRAY_OES" category="OES_point_size_array"/>
1571 <template name="DrawArrays">
1573 <return type="void"/>
1574 <param name="mode" type="GLenum"/>
1575 <param name="first" type="GLint"/>
1576 <param name="count" type="GLsizei"/>
1580 <value name="GL_POINTS"/>
1581 <value name="GL_LINES"/>
1582 <value name="GL_LINE_LOOP"/>
1583 <value name="GL_LINE_STRIP"/>
1584 <value name="GL_TRIANGLES"/>
1585 <value name="GL_TRIANGLE_STRIP"/>
1586 <value name="GL_TRIANGLE_FAN"/>
1590 <template name="DrawElements">
1592 <return type="void"/>
1593 <param name="mode" type="GLenum"/>
1594 <param name="count" type="GLsizei"/>
1595 <param name="type" type="GLenum"/>
1596 <param name="indices" type="const GLvoid *"/>
1600 <value name="GL_POINTS"/>
1601 <value name="GL_LINES"/>
1602 <value name="GL_LINE_LOOP"/>
1603 <value name="GL_LINE_STRIP"/>
1604 <value name="GL_TRIANGLES"/>
1605 <value name="GL_TRIANGLE_STRIP"/>
1606 <value name="GL_TRIANGLE_FAN"/>
1610 <value name="GL_UNSIGNED_BYTE"/>
1611 <value name="GL_UNSIGNED_SHORT"/>
1612 <value name="GL_UNSIGNED_INT" category="OES_element_index_uint"/>
1616 <template name="EnableClientState">
1618 <return type="void"/>
1619 <param name="array" type="GLenum"/>
1623 <value name="GL_VERTEX_ARRAY"/>
1624 <value name="GL_NORMAL_ARRAY"/>
1625 <value name="GL_COLOR_ARRAY"/>
1626 <value name="GL_TEXTURE_COORD_ARRAY"/>
1627 <value name="GL_MATRIX_INDEX_ARRAY_OES" category="OES_matrix_palette"/>
1628 <value name="GL_WEIGHT_ARRAY_OES" category="OES_matrix_palette"/>
1629 <value name="GL_POINT_SIZE_ARRAY_OES" category="OES_point_size_array"/>
1633 <template name="GetPointer" direction="get">
1635 <return type="void"/>
1636 <param name="pname" type="GLenum"/>
1637 <vector name="params" type="GLvoid **" size="dynamic"/>
1641 <value name="GL_VERTEX_ARRAY_POINTER"/>
1642 <value name="GL_NORMAL_ARRAY_POINTER"/>
1643 <value name="GL_COLOR_ARRAY_POINTER"/>
1644 <value name="GL_TEXTURE_COORD_ARRAY_POINTER"/>
1645 <value name="GL_MATRIX_INDEX_ARRAY_POINTER_OES" category="OES_matrix_palette"/>
1646 <value name="GL_WEIGHT_ARRAY_POINTER_OES" category="OES_matrix_palette"/>
1647 <value name="GL_POINT_SIZE_ARRAY_POINTER_OES" category="OES_point_size_array"/>
1651 <template name="Normal">
1653 <return type="void"/>
1654 <vector name="v" type="const GLtype *" size="3">
1655 <param name="nx" type="GLtype"/>
1656 <param name="ny" type="GLtype"/>
1657 <param name="nz" type="GLtype"/>
1662 <template name="NormalPointer">
1664 <return type="void"/>
1665 <param name="type" type="GLenum"/>
1666 <param name="stride" type="GLsizei"/>
1667 <param name="pointer" type="const GLvoid *"/>
1671 <value name="GL_BYTE"/>
1672 <value name="GL_SHORT"/>
1673 <value name="GL_FLOAT"/>
1674 <value name="GL_FIXED"/>
1675 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
1679 <template name="TexCoordPointer">
1681 <return type="void"/>
1682 <param name="size" type="GLint"/>
1683 <param name="type" type="GLenum"/>
1684 <param name="stride" type="GLsizei"/>
1685 <param name="pointer" type="const GLvoid *"/>
1688 <desc name="size" error="GL_INVALID_VALUE">
1695 <value name="GL_BYTE"/>
1696 <value name="GL_SHORT"/>
1697 <value name="GL_FLOAT"/>
1698 <value name="GL_FIXED"/>
1699 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
1703 <template name="VertexPointer">
1705 <return type="void"/>
1706 <param name="size" type="GLint"/>
1707 <param name="type" type="GLenum"/>
1708 <param name="stride" type="GLsizei"/>
1709 <param name="pointer" type="const GLvoid *"/>
1712 <desc name="size" error="GL_INVALID_VALUE">
1719 <value name="GL_BYTE"/>
1720 <value name="GL_SHORT"/>
1721 <value name="GL_FLOAT"/>
1722 <value name="GL_FIXED"/>
1723 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
1727 <template name="PolygonOffset">
1729 <return type="void"/>
1730 <param name="factor" type="GLtype"/>
1731 <param name="units" type="GLtype"/>
1735 <template name="CopyTexImage2D">
1737 <return type="void"/>
1738 <param name="target" type="GLenum"/>
1739 <param name="level" type="GLint"/>
1740 <param name="internalFormat" type="GLenum"/>
1741 <param name="x" type="GLint"/>
1742 <param name="y" type="GLint"/>
1743 <param name="width" type="GLsizei"/>
1744 <param name="height" type="GLsizei"/>
1745 <param name="border" type="GLint"/>
1748 <desc name="target">
1749 <value name="GL_TEXTURE_2D"/>
1750 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
1751 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
1752 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
1753 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
1754 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
1755 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
1756 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
1757 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
1758 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
1759 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
1760 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
1761 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
1764 <desc name="internalFormat" error="GL_INVALID_VALUE">
1765 <value name="GL_ALPHA"/>
1766 <value name="GL_RGB"/>
1767 <value name="GL_RGBA"/>
1768 <value name="GL_LUMINANCE"/>
1769 <value name="GL_LUMINANCE_ALPHA"/>
1772 <desc name="border" error="GL_INVALID_VALUE">
1777 <template name="CopyTexSubImage2D">
1779 <return type="void"/>
1780 <param name="target" type="GLenum"/>
1781 <param name="level" type="GLint"/>
1782 <param name="xoffset" type="GLint"/>
1783 <param name="yoffset" type="GLint"/>
1784 <param name="x" type="GLint"/>
1785 <param name="y" type="GLint"/>
1786 <param name="width" type="GLsizei"/>
1787 <param name="height" type="GLsizei"/>
1790 <desc name="target">
1791 <value name="GL_TEXTURE_2D"/>
1792 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
1793 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
1794 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
1795 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
1796 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
1797 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
1798 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
1799 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
1800 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
1801 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
1802 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
1803 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
1807 <template name="TexSubImage2D">
1809 <return type="void"/>
1810 <param name="target" type="GLenum"/>
1811 <param name="level" type="GLint"/>
1812 <param name="xoffset" type="GLint"/>
1813 <param name="yoffset" type="GLint"/>
1814 <param name="width" type="GLsizei"/>
1815 <param name="height" type="GLsizei"/>
1816 <param name="format" type="GLenum"/>
1817 <param name="type" type="GLenum"/>
1818 <param name="pixels" type="const GLvoid *"/>
1821 <desc name="target">
1822 <value name="GL_TEXTURE_2D"/>
1823 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
1824 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
1825 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
1826 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
1827 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
1828 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
1829 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
1830 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
1831 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
1832 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
1833 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
1834 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
1837 <desc name="format">
1838 <value name="GL_ALPHA"/>
1840 <desc name="type" error="GL_INVALID_OPERATION">
1841 <value name="GL_UNSIGNED_BYTE"/>
1842 <value name="GL_FLOAT" category="OES_texture_float"/>
1843 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1847 <desc name="format">
1848 <value name="GL_RGB"/>
1850 <desc name="type" error="GL_INVALID_OPERATION">
1851 <value name="GL_UNSIGNED_BYTE"/>
1852 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
1853 <value name="GL_FLOAT" category="OES_texture_float"/>
1854 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1858 <desc name="format">
1859 <value name="GL_RGBA"/>
1861 <desc name="type" error="GL_INVALID_OPERATION">
1862 <value name="GL_UNSIGNED_BYTE"/>
1863 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
1864 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
1865 <value name="GL_FLOAT" category="OES_texture_float"/>
1866 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1867 <value name="GL_UNSIGNED_INT_2_10_10_10_REV_EXT" category="EXT_texture_type_2_10_10_10_REV"/>
1871 <desc name="format">
1872 <value name="GL_LUMINANCE"/>
1874 <desc name="type" error="GL_INVALID_OPERATION">
1875 <value name="GL_UNSIGNED_BYTE"/>
1876 <value name="GL_FLOAT" category="OES_texture_float"/>
1877 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1881 <desc name="format">
1882 <value name="GL_LUMINANCE_ALPHA"/>
1884 <desc name="type" error="GL_INVALID_OPERATION">
1885 <value name="GL_UNSIGNED_BYTE"/>
1886 <value name="GL_FLOAT" category="OES_texture_float"/>
1887 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1891 <desc name="format" category="OES_depth_texture">
1892 <value name="GL_DEPTH_COMPONENT"/>
1894 <desc name="type" error="GL_INVALID_OPERATION">
1895 <value name="GL_UNSIGNED_SHORT"/>
1896 <value name="GL_UNSIGNED_INT"/>
1900 <desc name="format" category="OES_packed_depth_stencil">
1901 <value name="GL_DEPTH_STENCIL_OES"/>
1903 <desc name="type" error="GL_INVALID_OPERATION">
1904 <value name="GL_UNSIGNED_INT_24_8_OES"/>
1908 <desc name="format" category="EXT_texture_format_BGRA8888">
1909 <value name="GL_BGRA_EXT"/>
1911 <desc name="type" error="GL_INVALID_OPERATION">
1912 <value name="GL_UNSIGNED_BYTE"/>
1917 <template name="BindTexture">
1919 <return type="void"/>
1920 <param name="target" type="GLenum"/>
1921 <param name="texture" type="GLuint"/>
1924 <desc name="target">
1925 <value name="GL_TEXTURE_2D"/>
1926 <value name="GL_TEXTURE_CUBE_MAP" category="GLES2.0"/>
1927 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
1928 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
1929 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
1933 <template name="DeleteTextures">
1935 <return type="void"/>
1936 <param name="n" type="GLsizei"/>
1937 <param name="textures" type="const GLuint *"/>
1941 <template name="GenTextures" direction="get">
1943 <return type="void"/>
1944 <param name="n" type="GLsizei"/>
1945 <param name="textures" type="GLuint *"/>
1949 <template name="IsTexture" direction="get">
1951 <return type="GLboolean"/>
1952 <param name="texture" type="GLuint"/>
1956 <template name="BlendColor">
1958 <return type="void"/>
1959 <param name="red" type="GLtype"/>
1960 <param name="green" type="GLtype"/>
1961 <param name="blue" type="GLtype"/>
1962 <param name="alpha" type="GLtype"/>
1966 <template name="BlendEquation">
1968 <return type="void"/>
1969 <param name="mode" type="GLenum"/>
1973 <template name="BlendEquationSeparate">
1975 <return type="void"/>
1976 <param name="modeRGB" type="GLenum"/>
1977 <param name="modeAlpha" type="GLenum"/>
1981 <template name="TexImage3D">
1983 <return type="void"/>
1984 <param name="target" type="GLenum"/>
1985 <param name="level" type="GLint"/>
1986 <param name="internalFormat" type="GLenum"/>
1987 <param name="width" type="GLsizei"/>
1988 <param name="height" type="GLsizei"/>
1989 <param name="depth" type="GLsizei"/>
1990 <param name="border" type="GLint"/>
1991 <param name="format" type="GLenum"/>
1992 <param name="type" type="GLenum"/>
1993 <param name="pixels" type="const GLvoid *"/>
1996 <desc name="target">
1997 <value name="GL_TEXTURE_3D_OES"/>
2000 <desc name="internalFormat">
2001 <value name="GL_ALPHA"/>
2002 <value name="GL_RGB"/>
2003 <value name="GL_RGBA"/>
2004 <value name="GL_LUMINANCE"/>
2005 <value name="GL_LUMINANCE_ALPHA"/>
2008 <desc name="format">
2009 <value name="GL_ALPHA"/>
2011 <desc name="type" error="GL_INVALID_OPERATION">
2012 <value name="GL_UNSIGNED_BYTE"/>
2013 <value name="GL_FLOAT" category="OES_texture_float"/>
2014 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2018 <desc name="format">
2019 <value name="GL_RGB"/>
2021 <desc name="type" error="GL_INVALID_OPERATION">
2022 <value name="GL_UNSIGNED_BYTE"/>
2023 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
2024 <value name="GL_FLOAT" category="OES_texture_float"/>
2025 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2029 <desc name="format">
2030 <value name="GL_RGBA"/>
2032 <desc name="type" error="GL_INVALID_OPERATION">
2033 <value name="GL_UNSIGNED_BYTE"/>
2034 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
2035 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
2036 <value name="GL_FLOAT" category="OES_texture_float"/>
2037 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2038 <value name="GL_UNSIGNED_INT_2_10_10_10_REV_EXT" category="EXT_texture_type_2_10_10_10_REV"/>
2042 <desc name="format">
2043 <value name="GL_LUMINANCE"/>
2045 <desc name="type" error="GL_INVALID_OPERATION">
2046 <value name="GL_UNSIGNED_BYTE"/>
2047 <value name="GL_FLOAT" category="OES_texture_float"/>
2048 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2052 <desc name="format">
2053 <value name="GL_LUMINANCE_ALPHA"/>
2055 <desc name="type" error="GL_INVALID_OPERATION">
2056 <value name="GL_UNSIGNED_BYTE"/>
2057 <value name="GL_FLOAT" category="OES_texture_float"/>
2058 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2063 <template name="TexSubImage3D">
2065 <return type="void"/>
2066 <param name="target" type="GLenum"/>
2067 <param name="level" type="GLint"/>
2068 <param name="xoffset" type="GLint"/>
2069 <param name="yoffset" type="GLint"/>
2070 <param name="zoffset" type="GLint"/>
2071 <param name="width" type="GLsizei"/>
2072 <param name="height" type="GLsizei"/>
2073 <param name="depth" type="GLsizei"/>
2074 <param name="format" type="GLenum"/>
2075 <param name="type" type="GLenum"/>
2076 <param name="pixels" type="const GLvoid *"/>
2079 <desc name="target">
2080 <value name="GL_TEXTURE_3D_OES"/>
2083 <desc name="format">
2084 <value name="GL_ALPHA"/>
2086 <desc name="type" error="GL_INVALID_OPERATION">
2087 <value name="GL_UNSIGNED_BYTE"/>
2088 <value name="GL_FLOAT" category="OES_texture_float"/>
2089 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2093 <desc name="format">
2094 <value name="GL_RGB"/>
2096 <desc name="type" error="GL_INVALID_OPERATION">
2097 <value name="GL_UNSIGNED_BYTE"/>
2098 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
2099 <value name="GL_FLOAT" category="OES_texture_float"/>
2100 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2104 <desc name="format">
2105 <value name="GL_RGBA"/>
2107 <desc name="type" error="GL_INVALID_OPERATION">
2108 <value name="GL_UNSIGNED_BYTE"/>
2109 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
2110 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
2111 <value name="GL_FLOAT" category="OES_texture_float"/>
2112 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2113 <value name="GL_UNSIGNED_INT_2_10_10_10_REV_EXT" category="EXT_texture_type_2_10_10_10_REV"/>
2117 <desc name="format">
2118 <value name="GL_LUMINANCE"/>
2120 <desc name="type" error="GL_INVALID_OPERATION">
2121 <value name="GL_UNSIGNED_BYTE"/>
2122 <value name="GL_FLOAT" category="OES_texture_float"/>
2123 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2127 <desc name="format">
2128 <value name="GL_LUMINANCE_ALPHA"/>
2130 <desc name="type" error="GL_INVALID_OPERATION">
2131 <value name="GL_UNSIGNED_BYTE"/>
2132 <value name="GL_FLOAT" category="OES_texture_float"/>
2133 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2138 <template name="CopyTexSubImage3D">
2140 <return type="void"/>
2141 <param name="target" type="GLenum"/>
2142 <param name="level" type="GLint"/>
2143 <param name="xoffset" type="GLint"/>
2144 <param name="yoffset" type="GLint"/>
2145 <param name="zoffset" type="GLint"/>
2146 <param name="x" type="GLint"/>
2147 <param name="y" type="GLint"/>
2148 <param name="width" type="GLsizei"/>
2149 <param name="height" type="GLsizei"/>
2152 <desc name="target">
2153 <value name="GL_TEXTURE_3D_OES"/>
2157 <template name="MultiTexCoord">
2159 <return type="void"/>
2160 <param name="texture" type="GLenum"/>
2161 <vector name="v" type="const GLtype *" size="dynamic">
2162 <param name="s" type="GLtype"/>
2163 <param name="t" type="GLtype"/>
2164 <param name="r" type="GLtype"/>
2165 <param name="q" type="GLtype"/>
2170 <template name="CompressedTexImage3D">
2172 <return type="void"/>
2173 <param name="target" type="GLenum"/>
2174 <param name="level" type="GLint"/>
2175 <param name="internalFormat" type="GLenum"/>
2176 <param name="width" type="GLsizei"/>
2177 <param name="height" type="GLsizei"/>
2178 <param name="depth" type="GLsizei"/>
2179 <param name="border" type="GLint"/>
2180 <param name="imagesize" type="GLsizei"/>
2181 <param name="data" type="const GLvoid *"/>
2184 <desc name="target">
2185 <value name="GL_TEXTURE_3D_OES"/>
2188 <desc name="internalFormat">
2189 <value name="GL_3DC_X_AMD" category="AMD_compressed_3DC_texture"/>
2190 <value name="GL_3DC_XY_AMD" category="AMD_compressed_3DC_texture"/>
2191 <value name="GL_ATC_RGB_AMD" category="AMD_compressed_ATC_texture"/>
2192 <value name="GL_ATC_RGBA_EXPLICIT_ALPHA_AMD" category="AMD_compressed_ATC_texture"/>
2193 <value name="GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD" category="AMD_compressed_ATC_texture"/>
2197 <template name="CompressedTexSubImage3D">
2199 <return type="void"/>
2200 <param name="target" type="GLenum"/>
2201 <param name="level" type="GLint"/>
2202 <param name="xoffset" type="GLint"/>
2203 <param name="yoffset" type="GLint"/>
2204 <param name="zoffset" type="GLint"/>
2205 <param name="width" type="GLsizei"/>
2206 <param name="height" type="GLsizei"/>
2207 <param name="depth" type="GLsizei"/>
2208 <param name="format" type="GLenum"/>
2209 <param name="imagesize" type="GLsizei"/>
2210 <param name="data" type="const GLvoid *"/>
2213 <desc name="target">
2214 <value name="GL_TEXTURE_3D_OES"/>
2218 <template name="ActiveTexture">
2220 <return type="void"/>
2221 <param name="texture" type="GLenum"/>
2225 <template name="ClientActiveTexture">
2227 <return type="void"/>
2228 <param name="texture" type="GLenum"/>
2232 <template name="SampleCoverage">
2234 <return type="void"/>
2235 <param name="value" type="GLtype"/>
2236 <param name="invert" type="GLboolean"/>
2240 <template name="CompressedTexImage2D">
2242 <return type="void"/>
2243 <param name="target" type="GLenum"/>
2244 <param name="level" type="GLint"/>
2245 <param name="internalFormat" type="GLenum"/>
2246 <param name="width" type="GLsizei"/>
2247 <param name="height" type="GLsizei"/>
2248 <param name="border" type="GLint"/>
2249 <param name="imageSize" type="GLsizei"/>
2250 <param name="data" type="const GLvoid *"/>
2253 <desc name="target">
2254 <value name="GL_TEXTURE_2D"/>
2255 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
2256 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
2257 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
2258 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
2259 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
2260 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
2261 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
2262 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
2263 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
2264 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
2265 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
2266 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
2269 <desc name="internalFormat">
2270 <value name="GL_ETC1_RGB8_OES" category="OES_compressed_ETC1_RGB8_texture"/>
2272 <value name="GL_PALETTE4_RGB8_OES" category="OES_compressed_paletted_texture"/>
2273 <value name="GL_PALETTE4_RGBA8_OES" category="OES_compressed_paletted_texture"/>
2274 <value name="GL_PALETTE4_R5_G6_B5_OES" category="OES_compressed_paletted_texture"/>
2275 <value name="GL_PALETTE4_RGBA4_OES" category="OES_compressed_paletted_texture"/>
2276 <value name="GL_PALETTE4_RGB5_A1_OES" category="OES_compressed_paletted_texture"/>
2277 <value name="GL_PALETTE8_RGB8_OES" category="OES_compressed_paletted_texture"/>
2278 <value name="GL_PALETTE8_RGBA8_OES" category="OES_compressed_paletted_texture"/>
2279 <value name="GL_PALETTE8_R5_G6_B5_OES" category="OES_compressed_paletted_texture"/>
2280 <value name="GL_PALETTE8_RGBA4_OES" category="OES_compressed_paletted_texture"/>
2281 <value name="GL_PALETTE8_RGB5_A1_OES" category="OES_compressed_paletted_texture"/>
2283 <value name="GL_3DC_X_AMD" category="AMD_compressed_3DC_texture"/>
2284 <value name="GL_3DC_XY_AMD" category="AMD_compressed_3DC_texture"/>
2286 <value name="GL_ATC_RGB_AMD" category="AMD_compressed_ATC_texture"/>
2287 <value name="GL_ATC_RGBA_EXPLICIT_ALPHA_AMD" category="AMD_compressed_ATC_texture"/>
2288 <value name="GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD" category="AMD_compressed_ATC_texture"/>
2290 <value name="GL_COMPRESSED_RGB_S3TC_DXT1_EXT" category="EXT_texture_compression_dxt1"/>
2291 <value name="GL_COMPRESSED_RGBA_S3TC_DXT1_EXT" category="EXT_texture_compression_dxt1"/>
2294 <desc name="border" error="GL_INVALID_VALUE">
2299 <template name="CompressedTexSubImage2D">
2301 <return type="void"/>
2302 <param name="target" type="GLenum"/>
2303 <param name="level" type="GLint"/>
2304 <param name="xoffset" type="GLint"/>
2305 <param name="yoffset" type="GLint"/>
2306 <param name="width" type="GLsizei"/>
2307 <param name="height" type="GLsizei"/>
2308 <param name="format" type="GLenum"/>
2309 <param name="imageSize" type="GLsizei"/>
2310 <param name="data" type="const GLvoid *"/>
2313 <desc name="target">
2314 <value name="GL_TEXTURE_2D"/>
2315 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
2316 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
2317 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
2318 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
2319 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
2320 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
2321 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
2322 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
2323 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
2324 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
2325 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
2326 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
2329 <desc name="format">
2330 <value name="GL_COMPRESSED_RGB_S3TC_DXT1_EXT" category="EXT_texture_compression_dxt1"/>
2331 <value name="GL_COMPRESSED_RGBA_S3TC_DXT1_EXT" category="EXT_texture_compression_dxt1"/>
2335 <template name="BlendFuncSeparate">
2337 <return type="void"/>
2338 <param name="srcRGB" type="GLenum"/>
2339 <param name="dstRGB" type="GLenum"/>
2340 <param name="srcAlpha" type="GLenum"/>
2341 <param name="dstAlpha" type="GLenum"/>
2344 <desc name="srcRGB">
2345 <value name="GL_ZERO"/>
2346 <value name="GL_ONE"/>
2347 <value name="GL_SRC_COLOR"/>
2348 <value name="GL_ONE_MINUS_SRC_COLOR"/>
2349 <value name="GL_SRC_ALPHA"/>
2350 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
2351 <value name="GL_DST_ALPHA"/>
2352 <value name="GL_ONE_MINUS_DST_ALPHA"/>
2353 <value name="GL_DST_COLOR"/>
2354 <value name="GL_ONE_MINUS_DST_COLOR"/>
2355 <value name="GL_SRC_ALPHA_SATURATE"/>
2357 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
2358 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
2359 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
2360 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
2363 <desc name="dstRGB">
2364 <value name="GL_ZERO"/>
2365 <value name="GL_ONE"/>
2366 <value name="GL_SRC_COLOR"/>
2367 <value name="GL_ONE_MINUS_SRC_COLOR"/>
2368 <value name="GL_SRC_ALPHA"/>
2369 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
2370 <value name="GL_DST_ALPHA"/>
2371 <value name="GL_ONE_MINUS_DST_ALPHA"/>
2372 <value name="GL_DST_COLOR"/>
2373 <value name="GL_ONE_MINUS_DST_COLOR"/>
2375 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
2376 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
2377 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
2378 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
2381 <desc name="srcAlpha">
2382 <value name="GL_ZERO"/>
2383 <value name="GL_ONE"/>
2384 <value name="GL_SRC_COLOR"/>
2385 <value name="GL_ONE_MINUS_SRC_COLOR"/>
2386 <value name="GL_SRC_ALPHA"/>
2387 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
2388 <value name="GL_DST_ALPHA"/>
2389 <value name="GL_ONE_MINUS_DST_ALPHA"/>
2390 <value name="GL_DST_COLOR"/>
2391 <value name="GL_ONE_MINUS_DST_COLOR"/>
2392 <value name="GL_SRC_ALPHA_SATURATE"/>
2394 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
2395 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
2396 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
2397 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
2400 <desc name="dstAlpha">
2401 <value name="GL_ZERO"/>
2402 <value name="GL_ONE"/>
2403 <value name="GL_SRC_COLOR"/>
2404 <value name="GL_ONE_MINUS_SRC_COLOR"/>
2405 <value name="GL_SRC_ALPHA"/>
2406 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
2407 <value name="GL_DST_ALPHA"/>
2408 <value name="GL_ONE_MINUS_DST_ALPHA"/>
2409 <value name="GL_DST_COLOR"/>
2410 <value name="GL_ONE_MINUS_DST_COLOR"/>
2412 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
2413 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
2414 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
2415 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
2419 <template name="PointParameter">
2421 <return type="void"/>
2422 <param name="pname" type="GLenum"/>
2423 <vector name="params" type="const GLtype *" size="dynamic">
2424 <param name="param" type="GLtype"/>
2429 <value name="GL_POINT_SIZE_MIN"/>
2430 <value name="GL_POINT_SIZE_MAX"/>
2431 <value name="GL_POINT_FADE_THRESHOLD_SIZE"/>
2433 <desc name="params" vector_size="1"/>
2437 <value name="GL_POINT_DISTANCE_ATTENUATION"/>
2438 <desc name="params" vector_size="3"/>
2442 <template name="VertexAttrib">
2444 <return type="void"/>
2445 <param name="index" type="GLuint"/>
2446 <vector name="v" type="const GLtype *" size="dynamic">
2447 <param name="x" type="GLtype"/>
2448 <param name="y" type="GLtype"/>
2449 <param name="z" type="GLtype"/>
2450 <param name="w" type="GLtype"/>
2455 <template name="VertexAttribPointer">
2457 <return type="void"/>
2458 <param name="index" type="GLuint"/>
2459 <param name="size" type="GLint"/>
2460 <param name="type" type="GLenum"/>
2461 <param name="normalized" type="GLboolean"/>
2462 <param name="stride" type="GLsizei"/>
2463 <param name="pointer" type="const GLvoid *"/>
2466 <desc name="size" error="GL_INVALID_VALUE">
2473 <desc name="type" error="GL_INVALID_VALUE">
2474 <value name="GL_BYTE"/>
2475 <value name="GL_UNSIGNED_BYTE"/>
2476 <value name="GL_SHORT"/>
2477 <value name="GL_UNSIGNED_SHORT"/>
2478 <value name="GL_FLOAT"/>
2479 <value name="GL_FIXED"/>
2480 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
2481 <value name="GL_UNSIGNED_INT_10_10_10_2_OES" category="OES_vertex_type_10_10_10_2"/>
2482 <value name="GL_INT_10_10_10_2_OES" category="OES_vertex_type_10_10_10_2"/>
2485 <desc name="type" category="OES_vertex_type_10_10_10_2">
2486 <value name="GL_UNSIGNED_INT_10_10_10_2_OES"/>
2487 <value name="GL_INT_10_10_10_2_OES"/>
2496 <template name="EnableVertexAttribArray">
2498 <return type="void"/>
2499 <param name="index" type="GLuint"/>
2503 <template name="DisableVertexAttribArray">
2505 <return type="void"/>
2506 <param name="index" type="GLuint"/>
2510 <template name="IsProgram" direction="get">
2512 <return type="GLboolean"/>
2513 <param name="program" type="GLuint"/>
2517 <template name="GetProgram" direction="get">
2519 <return type="void"/>
2520 <param name="program" type="GLuint"/>
2521 <param name="pname" type="GLenum"/>
2522 <vector name="params" type="GLtype *" size="dynamic"/>
2526 <value name="GL_DELETE_STATUS"/>
2527 <value name="GL_LINK_STATUS"/>
2528 <value name="GL_VALIDATE_STATUS"/>
2529 <value name="GL_INFO_LOG_LENGTH"/>
2530 <value name="GL_ATTACHED_SHADERS"/>
2531 <value name="GL_ACTIVE_ATTRIBUTES"/>
2532 <value name="GL_ACTIVE_ATTRIBUTE_MAX_LENGTH"/>
2533 <value name="GL_ACTIVE_UNIFORMS"/>
2534 <value name="GL_ACTIVE_UNIFORM_MAX_LENGTH"/>
2535 <value name="GL_PROGRAM_BINARY_LENGTH_OES" category="OES_get_program_binary"/>
2537 <desc name="params" convert="false"/>
2541 <template name="GetVertexAttrib" direction="get">
2543 <return type="void"/>
2544 <param name="index" type="GLuint"/>
2545 <param name="pname" type="GLenum"/>
2546 <vector name="params" type="GLtype *" size="dynamic"/>
2550 <value name="GL_VERTEX_ATTRIB_ARRAY_ENABLED"/>
2551 <value name="GL_VERTEX_ATTRIB_ARRAY_SIZE"/>
2552 <value name="GL_VERTEX_ATTRIB_ARRAY_STRIDE"/>
2553 <value name="GL_VERTEX_ATTRIB_ARRAY_TYPE"/>
2554 <value name="GL_VERTEX_ATTRIB_ARRAY_NORMALIZED"/>
2555 <value name="GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING"/>
2557 <desc name="params" vector_size="1" convert="false"/>
2561 <value name="GL_CURRENT_VERTEX_ATTRIB"/>
2562 <desc name="params" vector_size="16?" convert="false"/>
2566 <template name="GetVertexAttribPointer" direction="get">
2568 <return type="void"/>
2569 <param name="index" type="GLuint"/>
2570 <param name="pname" type="GLenum"/>
2571 <vector name="pointer" type="GLvoid **" size="dynamic"/>
2575 <value name="GL_VERTEX_ATTRIB_ARRAY_POINTER"/>
2579 <template name="GetBufferPointer" direction="get">
2581 <return type="void"/>
2582 <param name="target" type="GLenum"/>
2583 <param name="pname" type="GLenum"/>
2584 <vector name="params" type="GLvoid **" size="dynamic"/>
2587 <desc name="target">
2588 <value name="GL_ARRAY_BUFFER"/>
2589 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2593 <value name="GL_BUFFER_MAP_POINTER_OES"/>
2597 <template name="MapBuffer" direction="get">
2599 <return type="void *"/>
2600 <param name="target" type="GLenum"/>
2601 <param name="access" type="GLenum"/>
2604 <desc name="target">
2605 <value name="GL_ARRAY_BUFFER"/>
2606 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2609 <desc name="access">
2610 <value name="GL_WRITE_ONLY_OES"/>
2614 <template name="UnmapBuffer" direction="get">
2616 <return type="GLboolean"/>
2617 <param name="target" type="GLenum"/>
2620 <desc name="target">
2621 <value name="GL_ARRAY_BUFFER"/>
2622 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2626 <template name="BindBuffer">
2628 <return type="void"/>
2629 <param name="target" type="GLenum"/>
2630 <param name="buffer" type="GLuint"/>
2633 <desc name="target">
2634 <value name="GL_ARRAY_BUFFER"/>
2635 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2639 <template name="BufferData">
2641 <return type="void"/>
2642 <param name="target" type="GLenum"/>
2643 <param name="size" type="GLsizeiptr"/>
2644 <param name="data" type="const GLvoid *"/>
2645 <param name="usage" type="GLenum"/>
2648 <desc name="target">
2649 <value name="GL_ARRAY_BUFFER"/>
2650 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2654 <value name="GL_STATIC_DRAW"/>
2655 <value name="GL_DYNAMIC_DRAW"/>
2656 <value name="GL_STREAM_DRAW" category="GLES2.0"/>
2660 <template name="BufferSubData">
2662 <return type="void"/>
2663 <param name="target" type="GLenum"/>
2664 <param name="offset" type="GLintptr"/>
2665 <param name="size" type="GLsizeiptr"/>
2666 <param name="data" type="const GLvoid *"/>
2669 <desc name="target">
2670 <value name="GL_ARRAY_BUFFER"/>
2671 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2675 <template name="DeleteBuffers">
2677 <return type="void"/>
2678 <param name="n" type="GLsizei"/>
2679 <param name="buffer" type="const GLuint *"/>
2683 <template name="GenBuffers" direction="get">
2685 <return type="void"/>
2686 <param name="n" type="GLsizei"/>
2687 <param name="buffer" type="GLuint *"/>
2691 <template name="GetBufferParameter" direction="get">
2693 <return type="void"/>
2694 <param name="target" type="GLenum"/>
2695 <param name="pname" type="GLenum"/>
2696 <vector name="params" type="GLtype *" size="dynamic"/>
2699 <desc name="target">
2700 <value name="GL_ARRAY_BUFFER"/>
2701 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2705 <value name="GL_BUFFER_SIZE"/>
2706 <value name="GL_BUFFER_USAGE"/>
2707 <value name="GL_BUFFER_ACCESS_OES" category="OES_mapbuffer"/>
2708 <value name="GL_BUFFER_MAPPED_OES" category="OES_mapbuffer"/>
2712 <template name="IsBuffer" direction="get">
2714 <return type="GLboolean"/>
2715 <param name="buffer" type="GLuint"/>
2719 <template name="CreateShader">
2721 <return type="GLuint"/>
2722 <param name="type" type="GLenum"/>
2726 <value name="GL_VERTEX_SHADER"/>
2727 <value name="GL_FRAGMENT_SHADER"/>
2731 <template name="ShaderSource">
2733 <return type="void"/>
2734 <param name="shader" type="GLuint"/>
2735 <param name="count" type="GLsizei"/>
2736 <param name="string" type="const GLchar * const *"/>
2737 <param name="length" type="const int *"/>
2741 <template name="CompileShader">
2743 <return type="void"/>
2744 <param name="shader" type="GLuint"/>
2748 <template name="ReleaseShaderCompiler">
2750 <return type="void"/>
2754 <template name="DeleteShader">
2756 <return type="void"/>
2757 <param name="shader" type="GLuint"/>
2761 <template name="ShaderBinary">
2763 <return type="void"/>
2764 <param name="n" type="GLsizei"/>
2765 <param name="shaders" type="const GLuint *"/>
2766 <param name="binaryformat" type="GLenum"/>
2767 <param name="binary" type="const GLvoid *"/>
2768 <param name="length" type="GLsizei"/>
2772 <template name="CreateProgram">
2774 <return type="GLuint"/>
2778 <template name="AttachShader">
2780 <return type="void"/>
2781 <param name="program" type="GLuint"/>
2782 <param name="shader" type="GLuint"/>
2786 <template name="DetachShader">
2788 <return type="void"/>
2789 <param name="program" type="GLuint"/>
2790 <param name="shader" type="GLuint"/>
2794 <template name="LinkProgram">
2796 <return type="void"/>
2797 <param name="program" type="GLuint"/>
2801 <template name="UseProgram">
2803 <return type="void"/>
2804 <param name="program" type="GLuint"/>
2808 <template name="DeleteProgram">
2810 <return type="void"/>
2811 <param name="program" type="GLuint"/>
2815 <template name="GetActiveAttrib" direction="get">
2817 <return type="void"/>
2818 <param name="program" type="GLuint"/>
2819 <param name="index" type="GLuint"/>
2820 <param name="bufSize" type="GLsizei"/>
2821 <param name="length" type="GLsizei *"/>
2822 <param name="size" type="GLint *"/>
2823 <param name="type" type="GLenum *"/>
2824 <param name="name" type="GLchar *"/>
2828 <template name="GetAttribLocation" direction="get">
2830 <return type="GLint"/>
2831 <param name="program" type="GLuint"/>
2832 <param name="name" type="const char *"/>
2836 <template name="BindAttribLocation">
2838 <return type="void"/>
2839 <param name="program" type="GLuint"/>
2840 <param name="index" type="GLuint"/>
2841 <param name="name" type="const char *"/>
2845 <template name="GetUniformLocation" direction="get">
2847 <return type="GLint"/>
2848 <param name="program" type="GLuint"/>
2849 <param name="name" type="const char *"/>
2853 <template name="GetActiveUniform" direction="get">
2855 <return type="void"/>
2856 <param name="program" type="GLuint"/>
2857 <param name="index" type="GLuint"/>
2858 <param name="bufSize" type="GLsizei"/>
2859 <param name="length" type="GLsizei *"/>
2860 <param name="size" type="GLint *"/>
2861 <param name="type" type="GLenum *"/>
2862 <param name="name" type="GLchar *"/>
2866 <template name="Uniform">
2868 <return type="void"/>
2869 <param name="location" type="GLint"/>
2870 <param name="count" type="GLsizei" hide_if_expanded="true"/>
2871 <vector name="values" type="const GLtype *" size="dynamic">
2872 <param name="v0" type="GLtype"/>
2873 <param name="v1" type="GLtype"/>
2874 <param name="v2" type="GLtype"/>
2875 <param name="v3" type="GLtype"/>
2880 <template name="UniformMatrix">
2882 <return type="void"/>
2883 <param name="location" type="GLint"/>
2884 <param name="count" type="GLsizei"/>
2885 <param name="transpose" type="GLboolean"/>
2886 <vector name="value" type="const GLtype *" size="dynamic"/>
2890 <template name="ValidateProgram">
2892 <return type="void"/>
2893 <param name="program" type="GLuint"/>
2897 <template name="GenerateMipmap">
2899 <return type="void"/>
2900 <param name="target" type="GLenum"/>
2903 <desc name="target">
2904 <value name="GL_TEXTURE_2D"/>
2905 <value name="GL_TEXTURE_CUBE_MAP" category="GLES2.0"/>
2906 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
2907 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
2911 <template name="BindFramebuffer">
2913 <return type="void"/>
2914 <param name="target" type="GLenum"/>
2915 <param name="framebuffer" type="GLuint"/>
2919 <template name="DeleteFramebuffers">
2921 <return type="void"/>
2922 <param name="n" type="GLsizei"/>
2923 <param name="framebuffers" type="const GLuint *"/>
2927 <template name="GenFramebuffers">
2929 <return type="void"/>
2930 <param name="n" type="GLsizei"/>
2931 <param name="ids" type="GLuint *"/>
2935 <template name="BindRenderbuffer">
2937 <return type="void"/>
2938 <param name="target" type="GLenum"/>
2939 <param name="renderbuffer" type="GLuint"/>
2943 <template name="DeleteRenderbuffers">
2945 <return type="void"/>
2946 <param name="n" type="GLsizei"/>
2947 <param name="renderbuffers" type="const GLuint *"/>
2951 <template name="GenRenderbuffers">
2953 <return type="void"/>
2954 <param name="n" type="GLsizei"/>
2955 <param name="renderbuffers" type="GLuint *"/>
2959 <template name="RenderbufferStorage">
2961 <return type="void"/>
2962 <param name="target" type="GLenum"/>
2963 <param name="internalFormat" type="GLenum"/>
2964 <param name="width" type="GLsizei"/>
2965 <param name="height" type="GLsizei"/>
2968 <desc name="internalFormat">
2969 <value name="GL_DEPTH_COMPONENT16_OES" category="OES_framebuffer_object"/>
2970 <value name="GL_RGBA4_OES" category="OES_framebuffer_object"/>
2971 <value name="GL_RGB5_A1_OES" category="OES_framebuffer_object"/>
2972 <value name="GL_RGB565_OES" category="OES_framebuffer_object"/>
2973 <value name="GL_STENCIL_INDEX8_OES" category="OES_stencil8"/>
2975 <value name="GL_DEPTH_COMPONENT16" category="GLES2.0"/>
2976 <value name="GL_RGBA4" category="GLES2.0"/>
2977 <value name="GL_RGB5_A1" category="GLES2.0"/>
2978 <value name="GL_RGB565" category="GLES2.0"/>
2979 <value name="GL_STENCIL_INDEX8" category="GLES2.0"/>
2981 <value name="GL_DEPTH_COMPONENT24_OES" category="OES_depth24"/>
2982 <value name="GL_DEPTH_COMPONENT32_OES" category="OES_depth32"/>
2983 <value name="GL_RGB8_OES" category="OES_rgb8_rgba8"/>
2984 <value name="GL_RGBA8_OES" category="OES_rgb8_rgba8"/>
2985 <value name="GL_STENCIL_INDEX1_OES" category="OES_stencil1"/>
2986 <value name="GL_STENCIL_INDEX4_OES" category="OES_stencil4"/>
2987 <value name="GL_DEPTH24_STENCIL8_OES" category="OES_packed_depth_stencil"/>
2991 <template name="FramebufferRenderbuffer">
2993 <return type="void"/>
2994 <param name="target" type="GLenum"/>
2995 <param name="attachment" type="GLenum"/>
2996 <param name="renderbuffertarget" type="GLenum"/>
2997 <param name="renderbuffer" type="GLuint"/>
3001 <template name="FramebufferTexture2D">
3003 <return type="void"/>
3004 <param name="target" type="GLenum"/>
3005 <param name="attachment" type="GLenum"/>
3006 <param name="textarget" type="GLenum"/>
3007 <param name="texture" type="GLuint"/>
3008 <param name="level" type="GLint"/>
3011 <desc name="textarget" error="GL_INVALID_OPERATION">
3012 <value name="GL_TEXTURE_2D"/>
3013 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
3014 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
3015 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
3016 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
3017 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
3018 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
3019 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
3020 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
3021 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
3022 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
3023 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
3024 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
3026 <!-- According to the base specification, "level" must be 0. But
3027 extension GL_OES_fbo_render_mipmap lifts that restriction,
3028 so no restriction is placed here. -->
3031 <template name="FramebufferTexture3D">
3033 <return type="void"/>
3034 <param name="target" type="GLenum"/>
3035 <param name="attachment" type="GLenum"/>
3036 <param name="textarget" type="GLenum"/>
3037 <param name="texture" type="GLuint"/>
3038 <param name="level" type="GLint"/>
3039 <param name="zoffset" type="GLint"/>
3042 <desc name="textarget" error="GL_INVALID_OPERATION">
3043 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
3047 <template name="CheckFramebufferStatus" direction="get">
3049 <return type="GLenum"/>
3050 <param name="target" type="GLenum"/>
3054 <template name="GetFramebufferAttachmentParameter" direction="get">
3056 <return type="void"/>
3057 <param name="target" type="GLenum"/>
3058 <param name="attachment" type="GLenum"/>
3059 <param name="pname" type="GLenum"/>
3060 <vector name="params" type="GLtype *" size="dynamic"/>
3064 <value name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES" category="OES_framebuffer_object"/>
3065 <value name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES" category="OES_framebuffer_object"/>
3066 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES" category="OES_framebuffer_object"/>
3067 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES" category="OES_framebuffer_object"/>
3069 <value name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE" category="GLES2.0"/>
3070 <value name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME" category="GLES2.0"/>
3071 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL" category="GLES2.0"/>
3072 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE" category="GLES2.0"/>
3073 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES" category="OES_texture_3D"/>
3075 <desc name="params" vector_size="1" convert="false"/>
3079 <template name="GetRenderbufferParameter" direction="get">
3081 <return type="void"/>
3082 <param name="target" type="GLenum"/>
3083 <param name="pname" type="GLenum"/>
3084 <vector name="params" type="GLtype *" size="dynamic"/>
3087 <desc name="pname" category="OES_framebuffer_object">
3088 <value name="GL_RENDERBUFFER_WIDTH_OES"/>
3089 <value name="GL_RENDERBUFFER_HEIGHT_OES"/>
3090 <value name="GL_RENDERBUFFER_INTERNAL_FORMAT_OES"/>
3091 <value name="GL_RENDERBUFFER_RED_SIZE_OES"/>
3092 <value name="GL_RENDERBUFFER_GREEN_SIZE_OES"/>
3093 <value name="GL_RENDERBUFFER_BLUE_SIZE_OES"/>
3094 <value name="GL_RENDERBUFFER_ALPHA_SIZE_OES"/>
3095 <value name="GL_RENDERBUFFER_DEPTH_SIZE_OES"/>
3096 <value name="GL_RENDERBUFFER_STENCIL_SIZE_OES"/>
3098 <desc name="params" vector_size="1" convert="false"/>
3101 <desc name="pname" category="GLES2.0">
3102 <value name="GL_RENDERBUFFER_WIDTH"/>
3103 <value name="GL_RENDERBUFFER_HEIGHT"/>
3104 <value name="GL_RENDERBUFFER_INTERNAL_FORMAT"/>
3105 <value name="GL_RENDERBUFFER_RED_SIZE"/>
3106 <value name="GL_RENDERBUFFER_GREEN_SIZE"/>
3107 <value name="GL_RENDERBUFFER_BLUE_SIZE"/>
3108 <value name="GL_RENDERBUFFER_ALPHA_SIZE"/>
3109 <value name="GL_RENDERBUFFER_DEPTH_SIZE"/>
3110 <value name="GL_RENDERBUFFER_STENCIL_SIZE"/>
3112 <desc name="params" vector_size="1" convert="false"/>
3116 <template name="IsRenderbuffer" direction="get">
3118 <return type="GLboolean"/>
3119 <param name="renderbuffer" type="GLuint"/>
3123 <template name="IsFramebuffer" direction="get">
3125 <return type="GLboolean"/>
3126 <param name="framebuffer" type="GLuint"/>
3130 <template name="IsShader" direction="get">
3132 <return type="GLboolean"/>
3133 <param name="shader" type="GLuint"/>
3137 <template name="GetShader" direction="get">
3139 <return type="void"/>
3140 <param name="shader" type="GLuint"/>
3141 <param name="pname" type="GLenum"/>
3142 <vector name="params" type="GLtype *" size="dynamic"/>
3146 <value name="GL_SHADER_TYPE"/>
3147 <value name="GL_COMPILE_STATUS"/>
3148 <value name="GL_DELETE_STATUS"/>
3149 <value name="GL_INFO_LOG_LENGTH"/>
3150 <value name="GL_SHADER_SOURCE_LENGTH"/>
3154 <template name="GetAttachedShaders" direction="get">
3156 <return type="void"/>
3157 <param name="program" type="GLuint"/>
3158 <param name="maxCount" type="GLsizei"/>
3159 <param name="count" type="GLsizei *"/>
3160 <param name="shaders" type="GLuint *"/>
3164 <template name="GetShaderInfoLog" direction="get">
3166 <return type="void"/>
3167 <param name="shader" type="GLuint"/>
3168 <param name="bufSize" type="GLsizei"/>
3169 <param name="length" type="GLsizei *"/>
3170 <param name="infoLog" type="GLchar *"/>
3174 <template name="GetProgramInfoLog" direction="get">
3176 <return type="void"/>
3177 <param name="program" type="GLuint"/>
3178 <param name="bufSize" type="GLsizei"/>
3179 <param name="length" type="GLsizei *"/>
3180 <param name="infoLog" type="GLchar *"/>
3184 <template name="GetShaderSource" direction="get">
3186 <return type="void"/>
3187 <param name="shader" type="GLuint"/>
3188 <param name="bufSize" type="GLsizei"/>
3189 <param name="length" type="GLsizei *"/>
3190 <param name="source" type="GLchar *"/>
3194 <template name="GetShaderPrecisionFormat" direction="get">
3196 <return type="void"/>
3197 <param name="shadertype" type="GLenum"/>
3198 <param name="precisiontype" type="GLenum"/>
3199 <param name="range" type="GLint *"/>
3200 <param name="precision" type="GLint *"/>
3203 <desc name="shadertype">
3204 <value name="GL_VERTEX_SHADER"/>
3205 <value name="GL_FRAGMENT_SHADER"/>
3208 <desc name="precisiontype">
3209 <value name="GL_LOW_FLOAT"/>
3210 <value name="GL_MEDIUM_FLOAT"/>
3211 <value name="GL_HIGH_FLOAT"/>
3212 <value name="GL_LOW_INT"/>
3213 <value name="GL_MEDIUM_INT"/>
3214 <value name="GL_HIGH_INT"/>
3218 <template name="GetUniform" direction="get">
3220 <return type="void"/>
3221 <param name="program" type="GLuint"/>
3222 <param name="location" type="GLint"/>
3223 <vector name="params" type="GLtype *" size="dynamic"/>
3227 <template name="QueryMatrix" direction="get">
3229 <return type="GLbitfield"/>
3230 <vector name="mantissa" type="GLtype *" size="16"/>
3231 <vector name="exponent" type="GLint *" size="16"/>
3235 <template name="DrawTex">
3237 <return type="void"/>
3238 <vector name="coords" type="const GLtype *" size="5">
3239 <param name="x" type="GLtype"/>
3240 <param name="y" type="GLtype"/>
3241 <param name="z" type="GLtype"/>
3242 <param name="w" type="GLtype"/>
3243 <param name="h" type="GLtype"/>
3248 <template name="MultiDrawArrays">
3250 <return type="void"/>
3251 <param name="mode" type="GLenum"/>
3252 <param name="first" type="const GLint *"/>
3253 <param name="count" type="const GLsizei *"/>
3254 <param name="primcount" type="GLsizei"/>
3258 <value name="GL_POINTS"/>
3259 <value name="GL_LINES"/>
3260 <value name="GL_LINE_LOOP"/>
3261 <value name="GL_LINE_STRIP"/>
3262 <value name="GL_TRIANGLES"/>
3263 <value name="GL_TRIANGLE_STRIP"/>
3264 <value name="GL_TRIANGLE_FAN"/>
3268 <template name="MultiDrawElements">
3270 <return type="void"/>
3271 <param name="mode" type="GLenum"/>
3272 <param name="count" type="const GLsizei *"/>
3273 <param name="type" type="GLenum"/>
3274 <param name="indices" type="const GLvoid **"/>
3275 <param name="primcount" type="GLsizei"/>
3279 <value name="GL_POINTS"/>
3280 <value name="GL_LINES"/>
3281 <value name="GL_LINE_LOOP"/>
3282 <value name="GL_LINE_STRIP"/>
3283 <value name="GL_TRIANGLES"/>
3284 <value name="GL_TRIANGLE_STRIP"/>
3285 <value name="GL_TRIANGLE_FAN"/>
3289 <value name="GL_UNSIGNED_BYTE"/>
3290 <value name="GL_UNSIGNED_SHORT"/>
3291 <value name="GL_UNSIGNED_INT" category="OES_element_index_uint"/>
3295 <template name="EGLImageTargetTexture2D">
3297 <return type="void"/>
3298 <param name="target" type="GLenum"/>
3299 <param name="image" type="GLeglImageOES"/>
3302 <desc name="target">
3303 <value name="GL_TEXTURE_2D"/>
3304 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
3308 <template name="EGLImageTargetRenderbufferStorage">
3310 <return type="void"/>
3311 <param name="target" type="GLenum"/>
3312 <param name="image" type="GLeglImageOES"/>
3316 <template name="DrawBuffers">
3318 <return type="void"/>
3319 <param name="n" type="GLsizei"/>
3320 <param name="bufs" type="const GLenum *"/>
3324 <template name="ReadBuffer">
3326 <return type="void"/>
3327 <param name="mode" type="GLenum"/>
3331 <api name="mesa" implementation="true">
3332 <category name="MESA"/>
3334 <function name="Color4f" default_prefix="_es_" template="Color" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3335 <function name="ClipPlane" template="ClipPlane" gltype="GLdouble"/>
3336 <function name="CullFace" template="CullFace"/>
3338 <function name="Fogf" template="Fog" gltype="GLfloat" expand_vector="true"/>
3339 <function name="Fogfv" template="Fog" gltype="GLfloat"/>
3341 <function name="FrontFace" template="FrontFace"/>
3342 <function name="Hint" template="Hint"/>
3344 <function name="Lightf" template="Light" gltype="GLfloat" expand_vector="true"/>
3345 <function name="Lightfv" template="Light" gltype="GLfloat"/>
3347 <function name="LightModelf" template="LightModel" gltype="GLfloat" expand_vector="true"/>
3348 <function name="LightModelfv" template="LightModel" gltype="GLfloat"/>
3350 <function name="LineWidth" template="LineWidth" gltype="GLfloat"/>
3352 <function name="Materialf" default_prefix="_es_" template="Material" gltype="GLfloat" expand_vector="true"/>
3353 <function name="Materialfv" default_prefix="_es_" template="Material" gltype="GLfloat"/>
3355 <function name="PointSize" template="PointSize" gltype="GLfloat"/>
3356 <function name="PointSizePointer" template="PointSizePointer"/>
3358 <function name="Scissor" template="Scissor"/>
3359 <function name="ShadeModel" template="ShadeModel"/>
3361 <function name="TexParameterf" template="TexParameter" gltype="GLfloat" expand_vector="true"/>
3362 <function name="TexParameterfv" template="TexParameter" gltype="GLfloat"/>
3363 <function name="TexParameteri" template="TexParameter" gltype="GLint" expand_vector="true"/>
3364 <function name="TexParameteriv" template="TexParameter" gltype="GLint"/>
3366 <function name="TexImage2D" template="TexImage2D"/>
3368 <function name="TexEnvf" template="TexEnv" gltype="GLfloat" expand_vector="true"/>
3369 <function name="TexEnvi" template="TexEnv" gltype="GLint" expand_vector="true"/>
3370 <function name="TexEnvfv" template="TexEnv" gltype="GLfloat"/>
3371 <function name="TexEnviv" template="TexEnv" gltype="GLint"/>
3373 <function name="TexGenf" template="TexGen" gltype="GLfloat" expand_vector="true"/>
3374 <function name="TexGenfv" template="TexGen" gltype="GLfloat"/>
3376 <function name="Clear" template="Clear"/>
3377 <function name="ClearColor" template="ClearColor" gltype="GLclampf"/>
3378 <function name="ClearStencil" template="ClearStencil"/>
3379 <function name="ClearDepth" template="ClearDepth" gltype="GLclampd"/>
3380 <function name="ClearDepthf" template="ClearDepth" gltype="GLclampf"/>
3382 <function name="StencilMask" template="StencilMask"/>
3383 <function name="StencilMaskSeparate" template="StencilMaskSeparate"/>
3384 <function name="ColorMask" template="ColorMask"/>
3385 <function name="DepthMask" template="DepthMask"/>
3386 <function name="Disable" template="Disable"/>
3387 <function name="Enable" template="Enable"/>
3388 <function name="Finish" template="Finish"/>
3389 <function name="Flush" template="Flush"/>
3391 <function name="AlphaFunc" template="AlphaFunc" gltype="GLclampf"/>
3393 <function name="BlendFunc" template="BlendFunc"/>
3394 <function name="LogicOp" template="LogicOp"/>
3395 <function name="StencilFunc" template="StencilFunc"/>
3396 <function name="StencilFuncSeparate" template="StencilFuncSeparate"/>
3397 <function name="StencilOp" template="StencilOp"/>
3398 <function name="StencilOpSeparate" template="StencilOpSeparate"/>
3399 <function name="DepthFunc" template="DepthFunc"/>
3400 <function name="PixelStorei" template="PixelStore" gltype="GLint"/>
3402 <function name="ReadPixels" template="ReadPixels"/>
3403 <function name="GetBooleanv" template="GetState" gltype="GLboolean"/>
3404 <function name="GetClipPlane" template="GetClipPlane" gltype="GLdouble"/>
3405 <function name="GetError" template="GetError"/>
3406 <function name="GetFloatv" template="GetState" gltype="GLfloat"/>
3407 <function name="GetFixedv" template="GetState" gltype="GLfixed"/>
3408 <function name="GetIntegerv" template="GetState" gltype="GLint"/>
3410 <function name="GetLightfv" template="GetLight" gltype="GLfloat"/>
3411 <function name="GetMaterialfv" template="GetMaterial" gltype="GLfloat"/>
3412 <function name="GetMaterialiv" template="GetMaterial" gltype="GLint"/>
3414 <function name="GetString" template="GetString"/>
3416 <function name="GetTexEnvfv" template="GetTexEnv" gltype="GLfloat"/>
3417 <function name="GetTexEnviv" template="GetTexEnv" gltype="GLint"/>
3418 <function name="GetTexGenfv" template="GetTexGen" gltype="GLfloat"/>
3419 <function name="GetTexParameterfv" template="GetTexParameter" gltype="GLfloat"/>
3420 <function name="GetTexParameteriv" template="GetTexParameter" gltype="GLint"/>
3422 <function name="IsEnabled" template="IsEnabled"/>
3424 <function name="DepthRange" template="DepthRange" gltype="GLclampd"/>
3425 <function name="DepthRangef" template="DepthRange" gltype="GLclampf"/>
3426 <function name="Frustum" template="Frustum" gltype="GLdouble"/>
3428 <function name="LoadIdentity" template="LoadIdentity"/>
3429 <function name="LoadMatrixf" template="LoadMatrix" gltype="GLfloat"/>
3430 <function name="MatrixMode" template="MatrixMode"/>
3432 <function name="MultMatrixf" template="MultMatrix" gltype="GLfloat"/>
3433 <function name="Ortho" template="Ortho" gltype="GLdouble"/>
3434 <function name="PopMatrix" template="PopMatrix"/>
3435 <function name="PushMatrix" template="PushMatrix"/>
3437 <function name="Rotatef" template="Rotate" gltype="GLfloat"/>
3438 <function name="Scalef" template="Scale" gltype="GLfloat"/>
3439 <function name="Translatef" template="Translate" gltype="GLfloat"/>
3441 <function name="Viewport" template="Viewport"/>
3443 <function name="ColorPointer" template="ColorPointer"/>
3444 <function name="DisableClientState" template="DisableClientState"/>
3445 <function name="DrawArrays" template="DrawArrays"/>
3446 <function name="DrawElements" template="DrawElements"/>
3447 <function name="EnableClientState" template="EnableClientState"/>
3449 <function name="GetPointerv" template="GetPointer"/>
3450 <function name="Normal3f" default_prefix="_es_" template="Normal" gltype="GLfloat" expand_vector="true"/>
3451 <function name="NormalPointer" template="NormalPointer"/>
3452 <function name="TexCoordPointer" template="TexCoordPointer"/>
3453 <function name="VertexPointer" template="VertexPointer"/>
3455 <function name="PolygonOffset" template="PolygonOffset" gltype="GLfloat"/>
3456 <function name="CopyTexImage2D" template="CopyTexImage2D"/>
3457 <function name="CopyTexSubImage2D" template="CopyTexSubImage2D"/>
3458 <function name="TexSubImage2D" template="TexSubImage2D"/>
3460 <function name="BindTexture" template="BindTexture"/>
3461 <function name="DeleteTextures" template="DeleteTextures"/>
3462 <function name="GenTextures" template="GenTextures"/>
3463 <function name="IsTexture" template="IsTexture"/>
3465 <function name="BlendColor" template="BlendColor" gltype="GLclampf"/>
3466 <function name="BlendEquation" template="BlendEquation"/>
3467 <function name="BlendEquationSeparateEXT" template="BlendEquationSeparate"/>
3469 <function name="TexImage3D" template="TexImage3D"/>
3470 <function name="TexSubImage3D" template="TexSubImage3D"/>
3471 <function name="CopyTexSubImage3D" template="CopyTexSubImage3D"/>
3473 <function name="CompressedTexImage3DARB" template="CompressedTexImage3D"/>
3474 <function name="CompressedTexSubImage3DARB" template="CompressedTexSubImage3D"/>
3476 <function name="ActiveTextureARB" template="ActiveTexture"/>
3477 <function name="ClientActiveTextureARB" template="ClientActiveTexture"/>
3479 <function name="MultiTexCoord4f" default_prefix="_es_" template="MultiTexCoord" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3481 <function name="SampleCoverageARB" template="SampleCoverage" gltype="GLclampf"/>
3483 <function name="CompressedTexImage2DARB" template="CompressedTexImage2D"/>
3484 <function name="CompressedTexSubImage2DARB" template="CompressedTexSubImage2D"/>
3486 <function name="BlendFuncSeparateEXT" template="BlendFuncSeparate"/>
3488 <function name="PointParameterf" template="PointParameter" gltype="GLfloat" expand_vector="true"/>
3489 <function name="PointParameterfv" template="PointParameter" gltype="GLfloat"/>
3491 <function name="VertexAttrib1f" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="1" expand_vector="true"/>
3492 <function name="VertexAttrib2f" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="2" expand_vector="true"/>
3493 <function name="VertexAttrib3f" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="3" expand_vector="true"/>
3494 <function name="VertexAttrib4f" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3495 <function name="VertexAttrib1fv" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="1"/>
3496 <function name="VertexAttrib2fv" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="2"/>
3497 <function name="VertexAttrib3fv" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="3"/>
3498 <function name="VertexAttrib4fv" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="4"/>
3500 <function name="VertexAttribPointerARB" template="VertexAttribPointer"/>
3501 <function name="EnableVertexAttribArrayARB" template="EnableVertexAttribArray"/>
3502 <function name="DisableVertexAttribArrayARB" template="DisableVertexAttribArray"/>
3504 <function name="IsProgram" template="IsProgram"/>
3505 <function name="GetProgramiv" template="GetProgram" gltype="GLint"/>
3507 <function name="GetVertexAttribfvARB" template="GetVertexAttrib" gltype="GLfloat"/>
3508 <function name="GetVertexAttribivARB" template="GetVertexAttrib" gltype="GLint"/>
3509 <function name="GetVertexAttribPointervARB" template="GetVertexAttribPointer"/>
3511 <function name="GetBufferPointervARB" template="GetBufferPointer"/>
3512 <function name="MapBufferARB" template="MapBuffer"/>
3513 <function name="UnmapBufferARB" template="UnmapBuffer"/>
3514 <function name="BindBufferARB" template="BindBuffer"/>
3515 <function name="BufferDataARB" template="BufferData"/>
3516 <function name="BufferSubDataARB" template="BufferSubData"/>
3517 <function name="DeleteBuffersARB" template="DeleteBuffers"/>
3518 <function name="GenBuffersARB" template="GenBuffers"/>
3519 <function name="GetBufferParameterivARB" template="GetBufferParameter" gltype="GLint"/>
3520 <function name="IsBufferARB" template="IsBuffer"/>
3522 <function name="CreateShader" template="CreateShader"/>
3523 <function name="ShaderSourceARB" template="ShaderSource"/>
3524 <function name="CompileShaderARB" template="CompileShader"/>
3525 <function name="ReleaseShaderCompiler" template="ReleaseShaderCompiler"/>
3526 <function name="DeleteShader" template="DeleteShader"/>
3527 <function name="ShaderBinary" template="ShaderBinary"/>
3528 <function name="CreateProgram" template="CreateProgram"/>
3529 <function name="AttachShader" template="AttachShader"/>
3530 <function name="DetachShader" template="DetachShader"/>
3531 <function name="LinkProgramARB" template="LinkProgram"/>
3532 <function name="UseProgramObjectARB" template="UseProgram"/>
3533 <function name="DeleteProgram" template="DeleteProgram"/>
3535 <function name="GetActiveAttribARB" template="GetActiveAttrib"/>
3536 <function name="GetAttribLocationARB" template="GetAttribLocation"/>
3537 <function name="BindAttribLocationARB" template="BindAttribLocation"/>
3538 <function name="GetUniformLocationARB" template="GetUniformLocation"/>
3539 <function name="GetActiveUniformARB" template="GetActiveUniform"/>
3541 <function name="Uniform1fARB" template="Uniform" gltype="GLfloat" vector_size="1" expand_vector="true"/>
3542 <function name="Uniform2fARB" template="Uniform" gltype="GLfloat" vector_size="2" expand_vector="true"/>
3543 <function name="Uniform3fARB" template="Uniform" gltype="GLfloat" vector_size="3" expand_vector="true"/>
3544 <function name="Uniform4fARB" template="Uniform" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3545 <function name="Uniform1iARB" template="Uniform" gltype="GLint" vector_size="1" expand_vector="true"/>
3546 <function name="Uniform2iARB" template="Uniform" gltype="GLint" vector_size="2" expand_vector="true"/>
3547 <function name="Uniform3iARB" template="Uniform" gltype="GLint" vector_size="3" expand_vector="true"/>
3548 <function name="Uniform4iARB" template="Uniform" gltype="GLint" vector_size="4" expand_vector="true"/>
3549 <function name="Uniform1fvARB" template="Uniform" gltype="GLfloat" vector_size="1"/>
3550 <function name="Uniform2fvARB" template="Uniform" gltype="GLfloat" vector_size="2"/>
3551 <function name="Uniform3fvARB" template="Uniform" gltype="GLfloat" vector_size="3"/>
3552 <function name="Uniform4fvARB" template="Uniform" gltype="GLfloat" vector_size="4"/>
3553 <function name="Uniform1ivARB" template="Uniform" gltype="GLint" vector_size="1"/>
3554 <function name="Uniform2ivARB" template="Uniform" gltype="GLint" vector_size="2"/>
3555 <function name="Uniform3ivARB" template="Uniform" gltype="GLint" vector_size="3"/>
3556 <function name="Uniform4ivARB" template="Uniform" gltype="GLint" vector_size="4"/>
3558 <function name="UniformMatrix2fvARB" template="UniformMatrix" gltype="GLfloat" vector_size="2"/>
3559 <function name="UniformMatrix3fvARB" template="UniformMatrix" gltype="GLfloat" vector_size="3"/>
3560 <function name="UniformMatrix4fvARB" template="UniformMatrix" gltype="GLfloat" vector_size="4"/>
3562 <function name="ValidateProgramARB" template="ValidateProgram"/>
3564 <function name="GenerateMipmapEXT" template="GenerateMipmap"/>
3565 <function name="BindFramebufferEXT" template="BindFramebuffer"/>
3566 <function name="DeleteFramebuffersEXT" template="DeleteFramebuffers"/>
3567 <function name="GenFramebuffersEXT" template="GenFramebuffers"/>
3568 <function name="BindRenderbufferEXT" template="BindRenderbuffer"/>
3569 <function name="DeleteRenderbuffersEXT" template="DeleteRenderbuffers"/>
3570 <function name="GenRenderbuffersEXT" template="GenRenderbuffers"/>
3571 <function name="RenderbufferStorageEXT" template="RenderbufferStorage"/>
3572 <function name="FramebufferRenderbufferEXT" template="FramebufferRenderbuffer"/>
3573 <function name="FramebufferTexture2DEXT" template="FramebufferTexture2D"/>
3574 <function name="FramebufferTexture3DEXT" template="FramebufferTexture3D"/>
3575 <function name="CheckFramebufferStatusEXT" template="CheckFramebufferStatus"/>
3576 <function name="GetFramebufferAttachmentParameterivEXT" template="GetFramebufferAttachmentParameter" gltype="GLint"/>
3577 <function name="GetRenderbufferParameterivEXT" template="GetRenderbufferParameter" gltype="GLint"/>
3578 <function name="IsRenderbufferEXT" template="IsRenderbuffer"/>
3579 <function name="IsFramebufferEXT" template="IsFramebuffer"/>
3581 <function name="IsShader" template="IsShader"/>
3582 <function name="GetShaderiv" template="GetShader" gltype="GLint"/>
3583 <function name="GetAttachedShaders" template="GetAttachedShaders"/>
3584 <function name="GetShaderInfoLog" template="GetShaderInfoLog"/>
3585 <function name="GetProgramInfoLog" template="GetProgramInfoLog"/>
3586 <function name="GetShaderSourceARB" template="GetShaderSource"/>
3587 <function name="GetShaderPrecisionFormat" template="GetShaderPrecisionFormat"/>
3588 <function name="GetUniformfvARB" template="GetUniform" gltype="GLfloat"/>
3589 <function name="GetUniformivARB" template="GetUniform" gltype="GLint"/>
3591 <function name="DrawTexf" template="DrawTex" gltype="GLfloat" expand_vector="true"/>
3592 <function name="DrawTexfv" template="DrawTex" gltype="GLfloat"/>
3593 <function name="DrawTexi" template="DrawTex" gltype="GLint" expand_vector="true"/>
3594 <function name="DrawTexiv" template="DrawTex" gltype="GLint"/>
3595 <function name="DrawTexs" template="DrawTex" gltype="GLshort" expand_vector="true"/>
3596 <function name="DrawTexsv" template="DrawTex" gltype="GLshort"/>
3598 <!-- EXT_multi_draw_arrays -->
3599 <function name="MultiDrawArraysEXT" template="MultiDrawArrays"/>
3600 <function name="MultiDrawElementsEXT" template="MultiDrawElements"/>
3602 <!-- OES_EGL_image -->
3603 <function name="EGLImageTargetTexture2DOES" template="EGLImageTargetTexture2D"/>
3604 <function name="EGLImageTargetRenderbufferStorageOES" template="EGLImageTargetRenderbufferStorage"/>
3606 <function name="DrawBuffersARB" template="DrawBuffers"/>
3608 <function name="ReadBuffer" template="ReadBuffer"/>
3612 <api name="GLES1.1">
3613 <category name="GLES1.1"/>
3615 <category name="OES_byte_coordinates"/>
3616 <category name="OES_fixed_point"/>
3617 <category name="OES_single_precision"/>
3618 <category name="OES_matrix_get"/>
3619 <category name="OES_read_format"/>
3620 <category name="OES_compressed_paletted_texture"/>
3621 <category name="OES_compressed_ETC1_RGB8_texture"/>
3622 <category name="OES_point_size_array"/>
3623 <category name="OES_point_sprite"/>
3624 <category name="OES_query_matrix"/>
3625 <category name="OES_draw_texture"/>
3626 <category name="OES_blend_equation_separate"/>
3627 <category name="OES_blend_func_separate"/>
3628 <category name="OES_blend_subtract"/>
3629 <category name="OES_stencil_wrap"/>
3630 <category name="OES_texture_cube_map"/>
3631 <category name="OES_texture_env_crossbar"/>
3632 <category name="OES_texture_mirrored_repeat"/>
3633 <category name="OES_framebuffer_object"/>
3634 <category name="OES_depth24"/>
3635 <category name="OES_depth32"/>
3636 <category name="OES_fbo_render_mipmap"/>
3637 <category name="OES_rgb8_rgba8"/>
3638 <category name="OES_stencil1"/>
3639 <category name="OES_stencil4"/>
3640 <category name="OES_stencil8"/>
3641 <category name="OES_element_index_uint"/>
3642 <category name="OES_mapbuffer"/>
3643 <category name="EXT_texture_filter_anisotropic"/>
3644 <category name="EXT_texture_format_BGRA8888"/>
3645 <category name="EXT_read_format_bgra"/>
3647 <category name="ARB_texture_non_power_of_two"/>
3648 <!-- disabled due to missing enums
3649 <category name="EXT_texture_compression_dxt1"/>
3651 <category name="EXT_texture_lod_bias"/>
3652 <category name="EXT_blend_minmax"/>
3653 <category name="EXT_multi_draw_arrays"/>
3654 <category name="OES_EGL_image"/>
3655 <category name="OES_EGL_image_external"/>
3657 <category name="OES_matrix_palette"/>
3659 <function name="Color4f" external="true" template="Color" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3660 <function name="Color4ub" template="Color" gltype="GLubyte" vector_size="4" expand_vector="true"/>
3661 <function name="Color4x" template="Color" gltype="GLfixed" vector_size="4" expand_vector="true"/>
3663 <function name="ClipPlanef" template="ClipPlane" gltype="GLfloat"/>
3664 <function name="ClipPlanex" template="ClipPlane" gltype="GLfixed"/>
3666 <function name="CullFace" template="CullFace"/>
3668 <function name="Fogf" template="Fog" gltype="GLfloat" expand_vector="true"/>
3669 <function name="Fogx" template="Fog" gltype="GLfixed" expand_vector="true"/>
3670 <function name="Fogfv" template="Fog" gltype="GLfloat"/>
3671 <function name="Fogxv" template="Fog" gltype="GLfixed"/>
3673 <function name="FrontFace" template="FrontFace"/>
3674 <function name="Hint" template="Hint"/>
3676 <function name="Lightf" template="Light" gltype="GLfloat" expand_vector="true"/>
3677 <function name="Lightx" template="Light" gltype="GLfixed" expand_vector="true"/>
3678 <function name="Lightfv" template="Light" gltype="GLfloat"/>
3679 <function name="Lightxv" template="Light" gltype="GLfixed"/>
3681 <function name="LightModelf" template="LightModel" gltype="GLfloat" expand_vector="true"/>
3682 <function name="LightModelx" template="LightModel" gltype="GLfixed" expand_vector="true"/>
3683 <function name="LightModelfv" template="LightModel" gltype="GLfloat"/>
3684 <function name="LightModelxv" template="LightModel" gltype="GLfixed"/>
3686 <function name="LineWidth" template="LineWidth" gltype="GLfloat"/>
3687 <function name="LineWidthx" template="LineWidth" gltype="GLfixed"/>
3689 <function name="Materialf" external="true" template="Material" gltype="GLfloat" expand_vector="true"/>
3690 <function name="Materialfv" external="true" template="Material" gltype="GLfloat"/>
3691 <function name="Materialx" template="Material" gltype="GLfixed" expand_vector="true"/>
3692 <function name="Materialxv" template="Material" gltype="GLfixed"/>
3694 <function name="PointSize" template="PointSize" gltype="GLfloat"/>
3695 <function name="PointSizex" template="PointSize" gltype="GLfixed"/>
3696 <function name="PointSizePointerOES" template="PointSizePointer"/>
3698 <function name="Scissor" template="Scissor"/>
3699 <function name="ShadeModel" template="ShadeModel"/>
3701 <function name="TexParameterf" template="TexParameter" gltype="GLfloat" expand_vector="true"/>
3702 <function name="TexParameterfv" template="TexParameter" gltype="GLfloat"/>
3703 <function name="TexParameteri" template="TexParameter" gltype="GLint" expand_vector="true"/>
3704 <function name="TexParameteriv" template="TexParameter" gltype="GLint"/>
3705 <function name="TexParameterx" template="TexParameter" gltype="GLfixed" expand_vector="true"/>
3706 <function name="TexParameterxv" template="TexParameter" gltype="GLfixed"/>
3708 <function name="TexImage2D" template="TexImage2D"/>
3710 <function name="TexEnvf" template="TexEnv" gltype="GLfloat" expand_vector="true"/>
3711 <function name="TexEnvfv" template="TexEnv" gltype="GLfloat"/>
3712 <function name="TexEnvi" template="TexEnv" gltype="GLint" expand_vector="true"/>
3713 <function name="TexEnviv" template="TexEnv" gltype="GLint"/>
3714 <function name="TexEnvx" template="TexEnv" gltype="GLfixed" expand_vector="true"/>
3715 <function name="TexEnvxv" template="TexEnv" gltype="GLfixed"/>
3717 <function name="TexGenfOES" external="true" template="TexGen" gltype="GLfloat" expand_vector="true"/>
3718 <function name="TexGenfvOES" external="true" template="TexGen" gltype="GLfloat"/>
3719 <function name="TexGeniOES" external="true" template="TexGen" gltype="GLint" expand_vector="true"/>
3720 <function name="TexGenivOES" external="true" template="TexGen" gltype="GLint"/>
3721 <function name="TexGenxOES" external="true" template="TexGen" gltype="GLfixed" expand_vector="true"/>
3722 <function name="TexGenxvOES" external="true" template="TexGen" gltype="GLfixed"/>
3724 <function name="Clear" template="Clear"/>
3725 <function name="ClearColor" template="ClearColor" gltype="GLclampf"/>
3726 <function name="ClearColorx" template="ClearColor" gltype="GLclampx"/>
3728 <function name="ClearStencil" template="ClearStencil"/>
3729 <function name="ClearDepthf" template="ClearDepth" gltype="GLclampf"/>
3730 <function name="ClearDepthx" template="ClearDepth" gltype="GLclampx"/>
3732 <function name="StencilMask" template="StencilMask"/>
3733 <function name="ColorMask" template="ColorMask"/>
3734 <function name="DepthMask" template="DepthMask"/>
3736 <function name="Disable" template="Disable"/>
3737 <function name="Enable" template="Enable"/>
3738 <function name="Finish" template="Finish"/>
3739 <function name="Flush" template="Flush"/>
3741 <function name="AlphaFunc" template="AlphaFunc" gltype="GLclampf"/>
3742 <function name="AlphaFuncx" template="AlphaFunc" gltype="GLclampx"/>
3744 <function name="BlendFunc" template="BlendFunc"/>
3745 <function name="LogicOp" template="LogicOp"/>
3746 <function name="StencilFunc" template="StencilFunc"/>
3748 <function name="StencilOp" template="StencilOp"/>
3749 <function name="DepthFunc" template="DepthFunc"/>
3751 <function name="PixelStorei" template="PixelStore" gltype="GLint"/>
3752 <function name="ReadPixels" template="ReadPixels"/>
3754 <function name="GetBooleanv" template="GetState" gltype="GLboolean"/>
3756 <function name="GetClipPlanef" template="GetClipPlane" gltype="GLfloat"/>
3757 <function name="GetClipPlanex" template="GetClipPlane" gltype="GLfixed"/>
3759 <function name="GetError" template="GetError"/>
3760 <function name="GetFloatv" template="GetState" gltype="GLfloat"/>
3761 <function name="GetFixedv" template="GetState" gltype="GLfixed"/>
3762 <function name="GetIntegerv" template="GetState" gltype="GLint"/>
3764 <function name="GetLightfv" template="GetLight" gltype="GLfloat"/>
3765 <function name="GetLightxv" template="GetLight" gltype="GLfixed"/>
3767 <function name="GetMaterialfv" template="GetMaterial" gltype="GLfloat"/>
3768 <function name="GetMaterialxv" template="GetMaterial" gltype="GLfixed"/>
3770 <function name="GetString" template="GetString"/>
3772 <function name="GetTexEnvfv" template="GetTexEnv" gltype="GLfloat"/>
3773 <function name="GetTexEnviv" template="GetTexEnv" gltype="GLint"/>
3774 <function name="GetTexEnvxv" template="GetTexEnv" gltype="GLfixed"/>
3776 <function name="GetTexGenfvOES" external="true" template="GetTexGen" gltype="GLfloat"/>
3777 <function name="GetTexGenivOES" external="true" template="GetTexGen" gltype="GLint"/>
3778 <function name="GetTexGenxvOES" external="true" template="GetTexGen" gltype="GLfixed"/>
3780 <function name="GetTexParameterfv" template="GetTexParameter" gltype="GLfloat"/>
3781 <function name="GetTexParameteriv" template="GetTexParameter" gltype="GLint"/>
3782 <function name="GetTexParameterxv" template="GetTexParameter" gltype="GLfixed"/>
3784 <function name="IsEnabled" template="IsEnabled"/>
3786 <function name="DepthRangef" template="DepthRange" gltype="GLclampf"/>
3787 <function name="DepthRangex" template="DepthRange" gltype="GLclampx"/>
3789 <function name="Frustumf" template="Frustum" gltype="GLfloat"/>
3790 <function name="Frustumx" template="Frustum" gltype="GLfixed"/>
3792 <function name="LoadIdentity" template="LoadIdentity"/>
3793 <function name="LoadMatrixf" template="LoadMatrix" gltype="GLfloat"/>
3794 <function name="LoadMatrixx" template="LoadMatrix" gltype="GLfixed"/>
3795 <function name="MatrixMode" template="MatrixMode"/>
3797 <function name="MultMatrixf" template="MultMatrix" gltype="GLfloat"/>
3798 <function name="MultMatrixx" template="MultMatrix" gltype="GLfixed"/>
3799 <function name="Orthof" template="Ortho" gltype="GLfloat"/>
3800 <function name="Orthox" template="Ortho" gltype="GLfixed"/>
3802 <function name="PopMatrix" template="PopMatrix"/>
3803 <function name="PushMatrix" template="PushMatrix"/>
3805 <function name="Rotatef" template="Rotate" gltype="GLfloat"/>
3806 <function name="Rotatex" template="Rotate" gltype="GLfixed"/>
3807 <function name="Scalef" template="Scale" gltype="GLfloat"/>
3808 <function name="Scalex" template="Scale" gltype="GLfixed"/>
3809 <function name="Translatef" template="Translate" gltype="GLfloat"/>
3810 <function name="Translatex" template="Translate" gltype="GLfixed"/>
3812 <function name="Viewport" template="Viewport"/>
3813 <function name="ColorPointer" template="ColorPointer"/>
3814 <function name="DisableClientState" template="DisableClientState"/>
3815 <function name="DrawArrays" template="DrawArrays"/>
3816 <function name="DrawElements" template="DrawElements"/>
3817 <function name="EnableClientState" template="EnableClientState"/>
3819 <function name="GetPointerv" template="GetPointer"/>
3821 <function name="Normal3f" external="true" template="Normal" gltype="GLfloat" expand_vector="true"/>
3822 <function name="Normal3x" template="Normal" gltype="GLfixed" expand_vector="true"/>
3823 <function name="NormalPointer" template="NormalPointer"/>
3824 <function name="TexCoordPointer" template="TexCoordPointer"/>
3825 <function name="VertexPointer" template="VertexPointer"/>
3827 <function name="PolygonOffset" template="PolygonOffset" gltype="GLfloat"/>
3828 <function name="PolygonOffsetx" template="PolygonOffset" gltype="GLfixed"/>
3830 <function name="CopyTexImage2D" template="CopyTexImage2D"/>
3831 <function name="CopyTexSubImage2D" template="CopyTexSubImage2D"/>
3833 <function name="TexSubImage2D" template="TexSubImage2D"/>
3835 <function name="BindTexture" template="BindTexture"/>
3836 <function name="DeleteTextures" template="DeleteTextures"/>
3837 <function name="GenTextures" template="GenTextures"/>
3838 <function name="IsTexture" template="IsTexture"/>
3840 <function name="BlendEquationOES" template="BlendEquation"/>
3841 <function name="BlendEquationSeparateOES" template="BlendEquationSeparate"/>
3843 <function name="MultiTexCoord4x" template="MultiTexCoord" gltype="GLfixed" vector_size="4" expand_vector="true"/>
3845 <function name="ActiveTexture" template="ActiveTexture"/>
3846 <function name="ClientActiveTexture" template="ClientActiveTexture"/>
3848 <function name="MultiTexCoord4f" external="true" template="MultiTexCoord" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3850 <function name="SampleCoverage" template="SampleCoverage" gltype="GLclampf"/>
3851 <function name="SampleCoveragex" template="SampleCoverage" gltype="GLclampx"/>
3853 <!-- CompressedTexImage2D calls out to two different functions based on
3854 whether the image is a paletted image or not -->
3855 <function name="CompressedTexImage2D" template="CompressedTexImage2D"/>
3856 <function name="CompressedTexSubImage2D" template="CompressedTexSubImage2D"/>
3858 <function name="BlendFuncSeparateOES" template="BlendFuncSeparate"/>
3860 <function name="PointParameterf" template="PointParameter" gltype="GLfloat" expand_vector="true"/>
3861 <function name="PointParameterfv" template="PointParameter" gltype="GLfloat"/>
3862 <function name="PointParameterx" template="PointParameter" gltype="GLfixed" expand_vector="true"/>
3863 <function name="PointParameterxv" template="PointParameter" gltype="GLfixed"/>
3865 <!-- OES_mapbuffer -->
3866 <function name="GetBufferPointervOES" template="GetBufferPointer"/>
3867 <function name="MapBufferOES" template="MapBuffer"/>
3868 <function name="UnmapBufferOES" template="UnmapBuffer"/>
3870 <function name="BindBuffer" template="BindBuffer"/>
3871 <function name="BufferData" template="BufferData"/>
3872 <function name="BufferSubData" template="BufferSubData"/>
3873 <function name="DeleteBuffers" template="DeleteBuffers"/>
3874 <function name="GenBuffers" template="GenBuffers"/>
3875 <function name="GetBufferParameteriv" template="GetBufferParameter" gltype="GLint"/>
3876 <function name="IsBuffer" template="IsBuffer"/>
3878 <!-- OES_framebuffer_object -->
3879 <function name="GenerateMipmapOES" template="GenerateMipmap"/>
3880 <function name="BindFramebufferOES" template="BindFramebuffer"/>
3881 <function name="DeleteFramebuffersOES" template="DeleteFramebuffers"/>
3882 <function name="GenFramebuffersOES" template="GenFramebuffers"/>
3883 <function name="BindRenderbufferOES" template="BindRenderbuffer"/>
3884 <function name="DeleteRenderbuffersOES" template="DeleteRenderbuffers"/>
3885 <function name="GenRenderbuffersOES" template="GenRenderbuffers"/>
3886 <function name="RenderbufferStorageOES" external="true" template="RenderbufferStorage"/>
3887 <function name="FramebufferRenderbufferOES" template="FramebufferRenderbuffer"/>
3888 <function name="FramebufferTexture2DOES" template="FramebufferTexture2D"/>
3889 <function name="CheckFramebufferStatusOES" template="CheckFramebufferStatus"/>
3890 <function name="GetFramebufferAttachmentParameterivOES" template="GetFramebufferAttachmentParameter" gltype="GLint"/>
3891 <function name="GetRenderbufferParameterivOES" template="GetRenderbufferParameter" gltype="GLint"/>
3892 <function name="IsRenderbufferOES" template="IsRenderbuffer"/>
3893 <function name="IsFramebufferOES" template="IsFramebuffer"/>
3895 <!-- OES_query_matrix -->
3896 <!-- QueryMatrixx returns values in an unusual, decomposed, fixed-value
3897 form; it has its own code for this -->
3898 <function name="QueryMatrixxOES" external="true" template="QueryMatrix" gltype="GLfixed"/>
3900 <!-- OES_draw_texture -->
3901 <function name="DrawTexfOES" template="DrawTex" gltype="GLfloat" expand_vector="true"/>
3902 <function name="DrawTexiOES" template="DrawTex" gltype="GLint" expand_vector="true"/>
3903 <function name="DrawTexsOES" template="DrawTex" gltype="GLshort" expand_vector="true"/>
3904 <function name="DrawTexxOES" template="DrawTex" gltype="GLfixed" expand_vector="true"/>
3905 <function name="DrawTexfvOES" template="DrawTex" gltype="GLfloat"/>
3906 <function name="DrawTexivOES" template="DrawTex" gltype="GLint"/>
3907 <function name="DrawTexsvOES" template="DrawTex" gltype="GLshort"/>
3908 <function name="DrawTexxvOES" template="DrawTex" gltype="GLfixed"/>
3910 <!-- EXT_multi_draw_arrays -->
3911 <function name="MultiDrawArraysEXT" template="MultiDrawArrays"/>
3912 <function name="MultiDrawElementsEXT" template="MultiDrawElements"/>
3914 <!-- OES_EGL_image -->
3915 <function name="EGLImageTargetTexture2DOES" template="EGLImageTargetTexture2D"/>
3916 <function name="EGLImageTargetRenderbufferStorageOES" template="EGLImageTargetRenderbufferStorage"/>
3919 <api name="GLES2.0">
3920 <category name="GLES2.0"/>
3922 <category name="OES_compressed_paletted_texture"/>
3923 <category name="OES_compressed_ETC1_RGB8_texture"/>
3924 <category name="OES_depth24"/>
3925 <category name="OES_depth32"/>
3926 <category name="OES_fbo_render_mipmap"/>
3927 <category name="OES_rgb8_rgba8"/>
3928 <category name="OES_stencil1"/>
3929 <category name="OES_stencil4"/>
3930 <category name="OES_element_index_uint"/>
3931 <category name="OES_mapbuffer"/>
3932 <category name="OES_texture_3D"/>
3933 <category name="OES_texture_npot"/>
3934 <category name="EXT_texture_filter_anisotropic"/>
3935 <category name="EXT_texture_type_2_10_10_10_REV"/>
3936 <category name="OES_depth_texture"/>
3937 <category name="OES_packed_depth_stencil"/>
3938 <category name="OES_standard_derivatives"/>
3939 <category name="EXT_texture_format_BGRA8888"/>
3940 <category name="EXT_texture_rg"/>
3941 <category name="EXT_read_format_bgra"/>
3943 <category name="EXT_texture_compression_dxt1"/>
3944 <category name="EXT_blend_minmax"/>
3945 <category name="EXT_multi_draw_arrays"/>
3946 <category name="OES_EGL_image"/>
3947 <category name="OES_EGL_image_external"/>
3948 <category name="EXT_unpack_subimage"/>
3950 <category name="NV_draw_buffers"/>
3951 <category name="NV_read_buffer"/>
3953 <function name="DrawBuffersNV" template="DrawBuffers"/>
3954 <function name="ReadBufferNV" template="ReadBuffer"/>
3956 <function name="CullFace" template="CullFace"/>
3958 <function name="FrontFace" template="FrontFace"/>
3959 <function name="Hint" template="Hint"/>
3961 <function name="LineWidth" template="LineWidth" gltype="GLfloat"/>
3963 <function name="Scissor" template="Scissor"/>
3965 <function name="TexParameterf" template="TexParameter" gltype="GLfloat" expand_vector="true"/>
3966 <function name="TexParameterfv" template="TexParameter" gltype="GLfloat"/>
3967 <function name="TexParameteri" template="TexParameter" gltype="GLint" expand_vector="true"/>
3968 <function name="TexParameteriv" template="TexParameter" gltype="GLint"/>
3970 <function name="TexImage2D" template="TexImage2D"/>
3972 <function name="Clear" template="Clear"/>
3973 <function name="ClearColor" template="ClearColor" gltype="GLclampf"/>
3974 <function name="ClearStencil" template="ClearStencil"/>
3975 <function name="ClearDepthf" template="ClearDepth" gltype="GLclampf"/>
3977 <function name="StencilMask" template="StencilMask"/>
3978 <function name="StencilMaskSeparate" template="StencilMaskSeparate"/>
3979 <function name="ColorMask" template="ColorMask"/>
3980 <function name="DepthMask" template="DepthMask"/>
3981 <function name="Disable" template="Disable"/>
3982 <function name="Enable" template="Enable"/>
3983 <function name="Finish" template="Finish"/>
3984 <function name="Flush" template="Flush"/>
3986 <function name="BlendFunc" template="BlendFunc"/>
3988 <function name="StencilFunc" template="StencilFunc"/>
3989 <function name="StencilFuncSeparate" template="StencilFuncSeparate"/>
3990 <function name="StencilOp" template="StencilOp"/>
3991 <function name="StencilOpSeparate" template="StencilOpSeparate"/>
3993 <function name="DepthFunc" template="DepthFunc"/>
3995 <function name="PixelStorei" template="PixelStore" gltype="GLint"/>
3996 <function name="ReadPixels" template="ReadPixels"/>
3998 <function name="GetBooleanv" template="GetState" gltype="GLboolean"/>
3999 <function name="GetError" template="GetError"/>
4000 <function name="GetFloatv" template="GetState" gltype="GLfloat"/>
4001 <function name="GetIntegerv" template="GetState" gltype="GLint"/>
4003 <function name="GetString" template="GetString"/>
4005 <function name="GetTexParameterfv" template="GetTexParameter" gltype="GLfloat"/>
4006 <function name="GetTexParameteriv" template="GetTexParameter" gltype="GLint"/>
4008 <function name="IsEnabled" template="IsEnabled"/>
4010 <function name="DepthRangef" template="DepthRange" gltype="GLclampf"/>
4012 <function name="Viewport" template="Viewport"/>
4014 <function name="DrawArrays" template="DrawArrays"/>
4015 <function name="DrawElements" template="DrawElements"/>
4017 <function name="PolygonOffset" template="PolygonOffset" gltype="GLfloat"/>
4018 <function name="CopyTexImage2D" template="CopyTexImage2D"/>
4019 <function name="CopyTexSubImage2D" template="CopyTexSubImage2D"/>
4020 <function name="TexSubImage2D" template="TexSubImage2D"/>
4022 <function name="BindTexture" template="BindTexture"/>
4023 <function name="DeleteTextures" template="DeleteTextures"/>
4024 <function name="GenTextures" template="GenTextures"/>
4025 <function name="IsTexture" template="IsTexture"/>
4027 <function name="BlendColor" template="BlendColor" gltype="GLclampf"/>
4028 <function name="BlendEquation" template="BlendEquation"/>
4029 <function name="BlendEquationSeparate" template="BlendEquationSeparate"/>
4031 <function name="TexImage3DOES" template="TexImage3D"/>
4032 <function name="TexSubImage3DOES" template="TexSubImage3D"/>
4033 <function name="CopyTexSubImage3DOES" template="CopyTexSubImage3D"/>
4035 <function name="CompressedTexImage3DOES" template="CompressedTexImage3D"/>
4036 <function name="CompressedTexSubImage3DOES" template="CompressedTexSubImage3D"/>
4038 <function name="ActiveTexture" template="ActiveTexture"/>
4040 <function name="SampleCoverage" template="SampleCoverage" gltype="GLclampf"/>
4042 <function name="CompressedTexImage2D" template="CompressedTexImage2D"/>
4043 <function name="CompressedTexSubImage2D" template="CompressedTexSubImage2D"/>
4045 <function name="BlendFuncSeparate" template="BlendFuncSeparate"/>
4047 <function name="VertexAttrib1f" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="1" expand_vector="true"/>
4048 <function name="VertexAttrib2f" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="2" expand_vector="true"/>
4049 <function name="VertexAttrib3f" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="3" expand_vector="true"/>
4050 <function name="VertexAttrib4f" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="4" expand_vector="true"/>
4051 <function name="VertexAttrib1fv" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="1"/>
4052 <function name="VertexAttrib2fv" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="2"/>
4053 <function name="VertexAttrib3fv" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="3"/>
4054 <function name="VertexAttrib4fv" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="4"/>
4056 <function name="VertexAttribPointer" template="VertexAttribPointer"/>
4058 <function name="EnableVertexAttribArray" template="EnableVertexAttribArray"/>
4059 <function name="DisableVertexAttribArray" template="DisableVertexAttribArray"/>
4061 <function name="IsProgram" template="IsProgram"/>
4062 <function name="GetProgramiv" template="GetProgram" gltype="GLint"/>
4064 <function name="GetVertexAttribfv" template="GetVertexAttrib" gltype="GLfloat"/>
4065 <function name="GetVertexAttribiv" template="GetVertexAttrib" gltype="GLint"/>
4066 <function name="GetVertexAttribPointerv" template="GetVertexAttribPointer"/>
4068 <function name="GetBufferPointervOES" template="GetBufferPointer"/>
4069 <function name="MapBufferOES" template="MapBuffer"/>
4070 <function name="UnmapBufferOES" template="UnmapBuffer"/>
4071 <function name="BindBuffer" template="BindBuffer"/>
4072 <function name="BufferData" template="BufferData"/>
4073 <function name="BufferSubData" template="BufferSubData"/>
4074 <function name="DeleteBuffers" template="DeleteBuffers"/>
4075 <function name="GenBuffers" template="GenBuffers"/>
4076 <function name="GetBufferParameteriv" template="GetBufferParameter" gltype="GLint"/>
4077 <function name="IsBuffer" template="IsBuffer"/>
4079 <function name="CreateShader" template="CreateShader"/>
4080 <function name="ShaderSource" template="ShaderSource"/>
4081 <function name="CompileShader" template="CompileShader"/>
4082 <function name="ReleaseShaderCompiler" template="ReleaseShaderCompiler"/>
4083 <function name="DeleteShader" template="DeleteShader"/>
4084 <function name="ShaderBinary" template="ShaderBinary"/>
4085 <function name="CreateProgram" template="CreateProgram"/>
4086 <function name="AttachShader" template="AttachShader"/>
4087 <function name="DetachShader" template="DetachShader"/>
4088 <function name="LinkProgram" template="LinkProgram"/>
4089 <function name="UseProgram" template="UseProgram"/>
4090 <function name="DeleteProgram" template="DeleteProgram"/>
4092 <function name="GetActiveAttrib" template="GetActiveAttrib"/>
4093 <function name="GetAttribLocation" template="GetAttribLocation"/>
4094 <function name="BindAttribLocation" template="BindAttribLocation"/>
4095 <function name="GetUniformLocation" template="GetUniformLocation"/>
4096 <function name="GetActiveUniform" template="GetActiveUniform"/>
4098 <function name="Uniform1f" template="Uniform" gltype="GLfloat" vector_size="1" expand_vector="true"/>
4099 <function name="Uniform2f" template="Uniform" gltype="GLfloat" vector_size="2" expand_vector="true"/>
4100 <function name="Uniform3f" template="Uniform" gltype="GLfloat" vector_size="3" expand_vector="true"/>
4101 <function name="Uniform4f" template="Uniform" gltype="GLfloat" vector_size="4" expand_vector="true"/>
4102 <function name="Uniform1i" template="Uniform" gltype="GLint" vector_size="1" expand_vector="true"/>
4103 <function name="Uniform2i" template="Uniform" gltype="GLint" vector_size="2" expand_vector="true"/>
4104 <function name="Uniform3i" template="Uniform" gltype="GLint" vector_size="3" expand_vector="true"/>
4105 <function name="Uniform4i" template="Uniform" gltype="GLint" vector_size="4" expand_vector="true"/>
4107 <function name="Uniform1fv" template="Uniform" gltype="GLfloat" vector_size="1"/>
4108 <function name="Uniform2fv" template="Uniform" gltype="GLfloat" vector_size="2"/>
4109 <function name="Uniform3fv" template="Uniform" gltype="GLfloat" vector_size="3"/>
4110 <function name="Uniform4fv" template="Uniform" gltype="GLfloat" vector_size="4"/>
4111 <function name="Uniform1iv" template="Uniform" gltype="GLint" vector_size="1"/>
4112 <function name="Uniform2iv" template="Uniform" gltype="GLint" vector_size="2"/>
4113 <function name="Uniform3iv" template="Uniform" gltype="GLint" vector_size="3"/>
4114 <function name="Uniform4iv" template="Uniform" gltype="GLint" vector_size="4"/>
4116 <function name="UniformMatrix2fv" template="UniformMatrix" gltype="GLfloat" vector_size="2"/>
4117 <function name="UniformMatrix3fv" template="UniformMatrix" gltype="GLfloat" vector_size="3"/>
4118 <function name="UniformMatrix4fv" template="UniformMatrix" gltype="GLfloat" vector_size="4"/>
4120 <function name="ValidateProgram" template="ValidateProgram"/>
4122 <function name="GenerateMipmap" template="GenerateMipmap"/>
4123 <function name="BindFramebuffer" template="BindFramebuffer"/>
4124 <function name="DeleteFramebuffers" template="DeleteFramebuffers"/>
4125 <function name="GenFramebuffers" template="GenFramebuffers"/>
4126 <function name="BindRenderbuffer" template="BindRenderbuffer"/>
4127 <function name="DeleteRenderbuffers" template="DeleteRenderbuffers"/>
4128 <function name="GenRenderbuffers" template="GenRenderbuffers"/>
4129 <function name="RenderbufferStorage" external="true" template="RenderbufferStorage"/>
4130 <function name="FramebufferRenderbuffer" template="FramebufferRenderbuffer"/>
4131 <function name="FramebufferTexture2D" template="FramebufferTexture2D"/>
4132 <function name="FramebufferTexture3DOES" template="FramebufferTexture3D"/>
4133 <function name="CheckFramebufferStatus" template="CheckFramebufferStatus"/>
4134 <function name="GetFramebufferAttachmentParameteriv" template="GetFramebufferAttachmentParameter" gltype="GLint"/>
4135 <function name="GetRenderbufferParameteriv" template="GetRenderbufferParameter" gltype="GLint"/>
4136 <function name="IsRenderbuffer" template="IsRenderbuffer"/>
4137 <function name="IsFramebuffer" template="IsFramebuffer"/>
4139 <function name="IsShader" template="IsShader"/>
4140 <function name="GetShaderiv" template="GetShader" gltype="GLint"/>
4141 <function name="GetAttachedShaders" template="GetAttachedShaders"/>
4142 <function name="GetShaderInfoLog" template="GetShaderInfoLog"/>
4143 <function name="GetProgramInfoLog" template="GetProgramInfoLog"/>
4144 <function name="GetShaderSource" template="GetShaderSource"/>
4145 <function name="GetShaderPrecisionFormat" template="GetShaderPrecisionFormat"/>
4146 <function name="GetUniformfv" template="GetUniform" gltype="GLfloat"/>
4147 <function name="GetUniformiv" template="GetUniform" gltype="GLint"/>
4149 <!-- EXT_multi_draw_arrays -->
4150 <function name="MultiDrawArraysEXT" template="MultiDrawArrays"/>
4151 <function name="MultiDrawElementsEXT" template="MultiDrawElements"/>
4153 <!-- OES_EGL_image -->
4154 <function name="EGLImageTargetTexture2DOES" template="EGLImageTargetTexture2D"/>
4155 <function name="EGLImageTargetRenderbufferStorageOES" template="EGLImageTargetRenderbufferStorage"/>