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"/>
53 <value name="GL_FRONT"/>
54 <value name="GL_BACK"/>
55 <value name="GL_FRONT_AND_BACK"/>
62 <param name="pname" type="GLenum"/>
63 <vector name="params" type="const GLtype *" size="dynamic">
64 <param name="param" type="GLtype"/>
69 <value name="GL_FOG_MODE"/>
71 <value name="GL_EXP"/>
72 <value name="GL_EXP2"/>
73 <value name="GL_LINEAR"/>
78 <value name="GL_FOG_COLOR"/>
80 <desc name="params" vector_size="4"/>
84 <value name="GL_FOG_DENSITY"/>
85 <value name="GL_FOG_START"/>
86 <value name="GL_FOG_END"/>
88 <desc name="params" vector_size="1"/>
92 <template name="FrontFace">
95 <param name="mode" type="GLenum"/>
100 <value name="GL_CCW"/>
104 <template name="Hint">
106 <return type="void"/>
107 <param name="target" type="GLenum"/>
108 <param name="mode" type="GLenum"/>
111 <desc name="target" category="GLES1.1">
112 <value name="GL_FOG_HINT"/>
113 <value name="GL_LINE_SMOOTH_HINT"/>
114 <value name="GL_PERSPECTIVE_CORRECTION_HINT"/>
115 <value name="GL_POINT_SMOOTH_HINT"/>
117 <desc name="target" category="OES_standard_derivatives">
118 <value name="GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES"/>
121 <value name="GL_GENERATE_MIPMAP_HINT"/>
125 <value name="GL_FASTEST"/>
126 <value name="GL_NICEST"/>
127 <value name="GL_DONT_CARE"/>
131 <template name="Light">
133 <return type="void"/>
134 <param name="light" type="GLenum"/>
135 <param name="pname" type="GLenum"/>
136 <vector name="params" type="const GLtype *" size="dynamic">
137 <param name="param" type="GLtype"/>
142 <range base="GL_LIGHT" from="0" to="7"/>
146 <value name="GL_AMBIENT"/>
147 <value name="GL_DIFFUSE"/>
148 <value name="GL_SPECULAR"/>
149 <value name="GL_POSITION"/>
151 <desc name="params" vector_size="4"/>
155 <value name="GL_SPOT_DIRECTION"/>
157 <desc name="params" vector_size="3"/>
161 <value name="GL_SPOT_EXPONENT"/>
162 <value name="GL_SPOT_CUTOFF"/>
163 <value name="GL_CONSTANT_ATTENUATION"/>
164 <value name="GL_LINEAR_ATTENUATION"/>
165 <value name="GL_QUADRATIC_ATTENUATION"/>
167 <desc name="params" vector_size="1"/>
171 <template name="LightModel">
173 <return type="void"/>
174 <param name="pname" type="GLenum"/>
175 <vector name="params" type="const GLtype *" size="dynamic">
176 <param name="param" type="GLtype"/>
181 <value name="GL_LIGHT_MODEL_AMBIENT"/>
183 <desc name="params" vector_size="4"/>
187 <value name="GL_LIGHT_MODEL_TWO_SIDE"/>
189 <value name="GL_TRUE"/>
190 <value name="GL_FALSE"/>
195 <template name="LineWidth">
197 <return type="void"/>
198 <param name="width" type="GLtype"/>
202 <template name="Material">
204 <return type="void"/>
205 <param name="face" type="GLenum"/>
206 <param name="pname" type="GLenum"/>
207 <vector name="params" type="const GLtype *" size="dynamic">
208 <param name="param" type="GLtype"/>
213 <value name="GL_FRONT_AND_BACK"/>
217 <value name="GL_AMBIENT"/>
218 <value name="GL_DIFFUSE"/>
219 <value name="GL_AMBIENT_AND_DIFFUSE"/>
220 <value name="GL_SPECULAR"/>
221 <value name="GL_EMISSION"/>
223 <desc name="params" vector_size="4"/>
227 <value name="GL_SHININESS"/>
229 <desc name="params" vector_size="1"/>
233 <template name="PointSize">
235 <return type="void"/>
236 <param name="size" type="GLtype"/>
240 <template name="PointSizePointer">
242 <return type="void"/>
243 <param name="type" type="GLenum"/>
244 <param name="stride" type="GLsizei"/>
245 <param name="pointer" type="const GLvoid *"/>
249 <value name="GL_FLOAT"/>
250 <value name="GL_FIXED"/>
254 <template name="Scissor">
256 <return type="void"/>
257 <param name="x" type="GLint"/>
258 <param name="y" type="GLint"/>
259 <param name="width" type="GLsizei"/>
260 <param name="height" type="GLsizei"/>
264 <template name="ShadeModel">
266 <return type="void"/>
267 <param name="mode" type="GLenum"/>
271 <value name="GL_FLAT"/>
272 <value name="GL_SMOOTH"/>
276 <template name="TexParameter">
278 <return type="void"/>
279 <param name="target" type="GLenum"/>
280 <param name="pname" type="GLenum"/>
281 <vector name="params" type="const GLtype *" size="dynamic">
282 <param name="param" type="GLtype"/>
287 <value name="GL_TEXTURE_2D"/>
288 <value name="GL_TEXTURE_CUBE_MAP" category="GLES2.0"/>
289 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
290 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
291 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
295 <value name="GL_TEXTURE_WRAP_S"/>
296 <value name="GL_TEXTURE_WRAP_T"/>
297 <value name="GL_TEXTURE_WRAP_R_OES" category="OES_texture_3D"/>
300 <value name="GL_CLAMP_TO_EDGE"/>
301 <value name="GL_REPEAT"/>
302 <value name="GL_MIRRORED_REPEAT" category="GLES2.0"/>
303 <value name="GL_MIRRORED_REPEAT_OES" category="OES_texture_mirrored_repeat"/>
308 <value name="GL_TEXTURE_MIN_FILTER"/>
311 <value name="GL_NEAREST"/>
312 <value name="GL_LINEAR"/>
313 <value name="GL_NEAREST_MIPMAP_NEAREST"/>
314 <value name="GL_NEAREST_MIPMAP_LINEAR"/>
315 <value name="GL_LINEAR_MIPMAP_NEAREST"/>
316 <value name="GL_LINEAR_MIPMAP_LINEAR"/>
321 <value name="GL_TEXTURE_MAG_FILTER"/>
324 <value name="GL_NEAREST"/>
325 <value name="GL_LINEAR"/>
329 <desc name="pname" category="GLES1.1">
330 <value name="GL_GENERATE_MIPMAP"/>
333 <value name="GL_TRUE"/>
334 <value name="GL_FALSE"/>
338 <desc name="pname" category="EXT_texture_filter_anisotropic">
339 <value name="GL_TEXTURE_MAX_ANISOTROPY_EXT"/>
340 <desc name="params" vector_size="1"/>
343 <desc name="pname" category="OES_draw_texture">
344 <value name="GL_TEXTURE_CROP_RECT_OES"/>
345 <desc name="params" vector_size="4"/>
349 <template name="TexImage2D">
351 <return type="void"/>
352 <param name="target" type="GLenum"/>
353 <param name="level" type="GLint"/>
354 <param name="internalFormat" type="GLint"/> <!-- should be GLenum -->
355 <param name="width" type="GLsizei"/>
356 <param name="height" type="GLsizei"/>
357 <param name="border" type="GLint"/>
358 <param name="format" type="GLenum"/>
359 <param name="type" type="GLenum"/>
360 <param name="pixels" type="const GLvoid *"/>
364 <value name="GL_TEXTURE_2D"/>
365 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
366 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
367 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
368 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
369 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
370 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
371 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
372 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
373 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
374 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
375 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
376 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
379 <desc name="internalFormat">
380 <value name="GL_ALPHA"/>
382 <desc name="format" error="GL_INVALID_VALUE">
383 <value name="GL_ALPHA"/>
387 <desc name="internalFormat">
388 <value name="GL_RGB"/>
390 <desc name="format" error="GL_INVALID_VALUE">
391 <value name="GL_RGB"/>
395 <desc name="internalFormat">
396 <value name="GL_RGBA"/>
398 <desc name="format" error="GL_INVALID_VALUE">
399 <value name="GL_RGBA"/>
403 <desc name="internalFormat">
404 <value name="GL_LUMINANCE"/>
406 <desc name="format" error="GL_INVALID_VALUE">
407 <value name="GL_LUMINANCE"/>
411 <desc name="internalFormat">
412 <value name="GL_LUMINANCE_ALPHA"/>
414 <desc name="format" error="GL_INVALID_VALUE">
415 <value name="GL_LUMINANCE_ALPHA"/>
419 <desc name="internalFormat" category="OES_depth_texture">
420 <value name="GL_DEPTH_COMPONENT"/>
422 <desc name="format" error="GL_INVALID_VALUE">
423 <value name="GL_DEPTH_COMPONENT"/>
427 <desc name="internalFormat" category="OES_packed_depth_stencil">
428 <value name="GL_DEPTH_STENCIL_OES"/>
430 <desc name="format" error="GL_INVALID_VALUE">
431 <value name="GL_DEPTH_STENCIL_OES"/>
435 <desc name="internalFormat" category="EXT_texture_format_BGRA8888">
436 <value name="GL_BGRA_EXT"/>
438 <desc name="format" error="GL_INVALID_VALUE">
439 <value name="GL_BGRA_EXT"/>
443 <desc name="border" error="GL_INVALID_VALUE">
448 <value name="GL_ALPHA"/>
450 <desc name="type" error="GL_INVALID_OPERATION">
451 <value name="GL_UNSIGNED_BYTE"/>
452 <value name="GL_FLOAT" category="OES_texture_float"/>
453 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
458 <value name="GL_RGB"/>
460 <desc name="type" error="GL_INVALID_OPERATION">
461 <value name="GL_UNSIGNED_BYTE"/>
462 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
463 <value name="GL_FLOAT" category="OES_texture_float"/>
464 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
469 <value name="GL_RGBA"/>
471 <desc name="type" error="GL_INVALID_OPERATION">
472 <value name="GL_UNSIGNED_BYTE"/>
473 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
474 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
475 <value name="GL_FLOAT" category="OES_texture_float"/>
476 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
477 <value name="GL_UNSIGNED_INT_2_10_10_10_REV_EXT" category="EXT_texture_type_2_10_10_10_REV"/>
482 <value name="GL_LUMINANCE"/>
484 <desc name="type" error="GL_INVALID_OPERATION">
485 <value name="GL_UNSIGNED_BYTE"/>
486 <value name="GL_FLOAT" category="OES_texture_float"/>
487 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
492 <value name="GL_LUMINANCE_ALPHA"/>
494 <desc name="type" error="GL_INVALID_OPERATION">
495 <value name="GL_UNSIGNED_BYTE"/>
496 <value name="GL_FLOAT" category="OES_texture_float"/>
497 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
501 <desc name="format" category="OES_depth_texture">
502 <value name="GL_DEPTH_COMPONENT"/>
504 <desc name="type" error="GL_INVALID_OPERATION">
505 <value name="GL_UNSIGNED_SHORT"/>
506 <value name="GL_UNSIGNED_INT"/>
510 <desc name="format" category="OES_packed_depth_stencil">
511 <value name="GL_DEPTH_STENCIL_OES"/>
512 <desc name="type" error="GL_INVALID_OPERATION">
513 <value name="GL_UNSIGNED_INT_24_8_OES"/>
517 <desc name="format" category="EXT_texture_format_BGRA8888">
518 <value name="GL_BGRA_EXT"/>
520 <desc name="type" error="GL_INVALID_OPERATION">
521 <value name="GL_UNSIGNED_BYTE"/>
526 <template name="TexEnv">
528 <return type="void"/>
529 <param name="target" type="GLenum"/>
530 <param name="pname" type="GLenum"/>
531 <vector name="params" type="const GLtype *" size="dynamic">
532 <param name="param" type="GLtype"/>
536 <desc name="target" category="OES_point_sprite">
537 <value name="GL_POINT_SPRITE_OES"/>
540 <value name="GL_COORD_REPLACE_OES"/>
544 <desc name="pname" category="OES_point_sprite">
545 <value name="GL_COORD_REPLACE_OES"/>
548 <value name="GL_TRUE"/>
549 <value name="GL_FALSE"/>
553 <desc name="target" category="EXT_texture_lod_bias">
554 <value name="GL_TEXTURE_FILTER_CONTROL_EXT"/>
557 <value name="GL_TEXTURE_LOD_BIAS_EXT"/>
561 <desc name="pname" category="EXT_texture_lod_bias">
562 <value name="GL_TEXTURE_LOD_BIAS_EXT"/>
563 <desc name="params" vector_size="1"/>
567 <value name="GL_TEXTURE_ENV"/>
570 <value name="GL_TEXTURE_ENV_MODE"/>
571 <value name="GL_COMBINE_RGB"/>
572 <value name="GL_COMBINE_ALPHA"/>
573 <value name="GL_RGB_SCALE"/>
574 <value name="GL_ALPHA_SCALE"/>
575 <value name="GL_SRC0_RGB"/>
576 <value name="GL_SRC1_RGB"/>
577 <value name="GL_SRC2_RGB"/>
578 <value name="GL_SRC0_ALPHA"/>
579 <value name="GL_SRC1_ALPHA"/>
580 <value name="GL_SRC2_ALPHA"/>
581 <value name="GL_OPERAND0_RGB"/>
582 <value name="GL_OPERAND1_RGB"/>
583 <value name="GL_OPERAND2_RGB"/>
584 <value name="GL_OPERAND0_ALPHA"/>
585 <value name="GL_OPERAND1_ALPHA"/>
586 <value name="GL_OPERAND2_ALPHA"/>
587 <value name="GL_TEXTURE_ENV_COLOR"/>
592 <value name="GL_TEXTURE_ENV_MODE"/>
595 <value name="GL_REPLACE"/>
596 <value name="GL_MODULATE"/>
597 <value name="GL_DECAL"/>
598 <value name="GL_BLEND"/>
599 <value name="GL_ADD"/>
600 <value name="GL_COMBINE"/>
605 <value name="GL_COMBINE_RGB"/>
608 <value name="GL_REPLACE"/>
609 <value name="GL_MODULATE"/>
610 <value name="GL_ADD"/>
611 <value name="GL_ADD_SIGNED"/>
612 <value name="GL_INTERPOLATE"/>
613 <value name="GL_SUBTRACT"/>
614 <value name="GL_DOT3_RGB"/>
615 <value name="GL_DOT3_RGBA"/>
620 <value name="GL_COMBINE_ALPHA"/>
623 <value name="GL_REPLACE"/>
624 <value name="GL_MODULATE"/>
625 <value name="GL_ADD"/>
626 <value name="GL_ADD_SIGNED"/>
627 <value name="GL_INTERPOLATE"/>
628 <value name="GL_SUBTRACT"/>
633 <value name="GL_RGB_SCALE"/>
634 <value name="GL_ALPHA_SCALE"/>
638 <value name="GL_SRC0_RGB"/>
639 <value name="GL_SRC1_RGB"/>
640 <value name="GL_SRC2_RGB"/>
641 <value name="GL_SRC0_ALPHA"/>
642 <value name="GL_SRC1_ALPHA"/>
643 <value name="GL_SRC2_ALPHA"/>
646 <value name="GL_TEXTURE"/>
647 <value name="GL_CONSTANT"/>
648 <value name="GL_PRIMARY_COLOR"/>
649 <value name="GL_PREVIOUS"/>
651 <range base="GL_TEXTURE" from="0" to="31" category="OES_texture_env_crossbar"/>
656 <value name="GL_OPERAND0_RGB"/>
657 <value name="GL_OPERAND1_RGB"/>
658 <value name="GL_OPERAND2_RGB"/>
661 <value name="GL_SRC_COLOR"/>
662 <value name="GL_ONE_MINUS_SRC_COLOR"/>
663 <value name="GL_SRC_ALPHA"/>
664 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
669 <value name="GL_OPERAND0_ALPHA"/>
670 <value name="GL_OPERAND1_ALPHA"/>
671 <value name="GL_OPERAND2_ALPHA"/>
674 <value name="GL_SRC_ALPHA"/>
675 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
680 <value name="GL_TEXTURE_ENV_COLOR"/>
682 <desc name="params" vector_size="4"/>
686 <template name="TexGen">
688 <return type="void"/>
689 <param name="coord" type="GLenum"/>
690 <param name="pname" type="GLenum"/>
691 <vector name="params" type="const GLtype *" size="dynamic">
692 <param name="param" type="GLtype"/>
696 <desc name="coord" category="OES_texture_cube_map">
697 <value name="GL_TEXTURE_GEN_STR_OES"/>
700 <desc name="pname" category="OES_texture_cube_map">
701 <value name="GL_TEXTURE_GEN_MODE_OES"/>
704 <value name="GL_NORMAL_MAP_OES"/>
705 <value name="GL_REFLECTION_MAP_OES"/>
710 <template name="Clear">
712 <return type="void"/>
713 <param name="mask" type="GLbitfield"/>
716 <desc name="mask" error="GL_INVALID_VALUE">
718 <value name="(GL_COLOR_BUFFER_BIT)"/>
719 <value name="(GL_DEPTH_BUFFER_BIT)"/>
720 <value name="(GL_STENCIL_BUFFER_BIT)"/>
721 <value name="(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT)"/>
722 <value name="(GL_COLOR_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)"/>
723 <value name="(GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)"/>
724 <value name="(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)"/>
728 <template name="ClearColor">
730 <return type="void"/>
731 <param name="red" type="GLtype"/>
732 <param name="green" type="GLtype"/>
733 <param name="blue" type="GLtype"/>
734 <param name="alpha" type="GLtype"/>
738 <template name="ClearStencil">
740 <return type="void"/>
741 <param name="s" type="GLint"/>
745 <template name="ClearDepth">
747 <return type="void"/>
748 <param name="depth" type="GLtype"/>
752 <template name="StencilMask">
754 <return type="void"/>
755 <param name="mask" type="GLuint"/>
759 <template name="StencilMaskSeparate">
761 <return type="void"/>
762 <param name="face" type="GLenum"/>
763 <param name="mask" type="GLuint"/>
767 <value name="GL_FRONT"/>
768 <value name="GL_BACK"/>
769 <value name="GL_FRONT_AND_BACK"/>
773 <template name="ColorMask">
775 <return type="void"/>
776 <param name="red" type="GLboolean"/>
777 <param name="green" type="GLboolean"/>
778 <param name="blue" type="GLboolean"/>
779 <param name="alpha" type="GLboolean"/>
783 <template name="DepthMask">
785 <return type="void"/>
786 <param name="flag" type="GLboolean"/>
790 <template name="Disable">
792 <return type="void"/>
793 <param name="cap" type="GLenum"/>
796 <desc name="cap" category="GLES1.1">
797 <value name="GL_NORMALIZE"/>
798 <value name="GL_RESCALE_NORMAL"/>
800 <range base="GL_CLIP_PLANE" from="0" to="5"/>
801 <value name="GL_CLIP_PLANE0+6"/>
802 <value name="GL_CLIP_PLANE0+7"/>
804 <value name="GL_FOG"/>
805 <value name="GL_LIGHTING"/>
806 <value name="GL_COLOR_MATERIAL"/>
808 <range base="GL_LIGHT" from="0" to="7"/>
810 <value name="GL_POINT_SMOOTH"/>
811 <value name="GL_LINE_SMOOTH"/>
812 <value name="GL_CULL_FACE"/>
813 <value name="GL_POLYGON_OFFSET_FILL"/>
814 <value name="GL_MULTISAMPLE"/>
815 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
816 <value name="GL_SAMPLE_ALPHA_TO_ONE"/>
817 <value name="GL_SAMPLE_COVERAGE"/>
818 <value name="GL_TEXTURE_2D"/>
819 <value name="GL_SCISSOR_TEST"/>
820 <value name="GL_ALPHA_TEST"/>
821 <value name="GL_STENCIL_TEST"/>
822 <value name="GL_DEPTH_TEST"/>
823 <value name="GL_BLEND"/>
824 <value name="GL_DITHER"/>
825 <value name="GL_COLOR_LOGIC_OP"/>
827 <value name="GL_POINT_SPRITE_OES" category="OES_point_sprite"/>
828 <value name="GL_MATRIX_PALETTE_OES" category="OES_matrix_palette"/>
829 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
830 <value name="GL_TEXTURE_GEN_STR_OES" category="OES_texture_cube_map"/>
831 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
834 <desc name="cap" category="GLES2.0">
835 <value name="GL_CULL_FACE"/>
836 <value name="GL_SCISSOR_TEST"/>
837 <value name="GL_POLYGON_OFFSET_FILL"/>
838 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
839 <value name="GL_SAMPLE_COVERAGE"/>
840 <value name="GL_STENCIL_TEST"/>
841 <value name="GL_DEPTH_TEST"/>
842 <value name="GL_DITHER"/>
843 <value name="GL_BLEND"/>
847 <!-- it is exactly the same as Disable -->
848 <template name="Enable">
850 <return type="void"/>
851 <param name="cap" type="GLenum"/>
854 <desc name="cap" category="GLES1.1">
855 <value name="GL_NORMALIZE"/>
856 <value name="GL_RESCALE_NORMAL"/>
858 <range base="GL_CLIP_PLANE" from="0" to="5"/>
859 <value name="GL_CLIP_PLANE0+6"/>
860 <value name="GL_CLIP_PLANE0+7"/>
862 <value name="GL_FOG"/>
863 <value name="GL_LIGHTING"/>
864 <value name="GL_COLOR_MATERIAL"/>
866 <range base="GL_LIGHT" from="0" to="7"/>
868 <value name="GL_POINT_SMOOTH"/>
869 <value name="GL_LINE_SMOOTH"/>
870 <value name="GL_CULL_FACE"/>
871 <value name="GL_POLYGON_OFFSET_FILL"/>
872 <value name="GL_MULTISAMPLE"/>
873 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
874 <value name="GL_SAMPLE_ALPHA_TO_ONE"/>
875 <value name="GL_SAMPLE_COVERAGE"/>
876 <value name="GL_TEXTURE_2D"/>
877 <value name="GL_SCISSOR_TEST"/>
878 <value name="GL_ALPHA_TEST"/>
879 <value name="GL_STENCIL_TEST"/>
880 <value name="GL_DEPTH_TEST"/>
881 <value name="GL_BLEND"/>
882 <value name="GL_DITHER"/>
883 <value name="GL_COLOR_LOGIC_OP"/>
885 <value name="GL_POINT_SPRITE_OES" category="OES_point_sprite"/>
886 <value name="GL_MATRIX_PALETTE_OES" category="OES_matrix_palette"/>
887 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
888 <value name="GL_TEXTURE_GEN_STR_OES" category="OES_texture_cube_map"/>
889 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
892 <desc name="cap" category="GLES2.0">
893 <value name="GL_CULL_FACE"/>
894 <value name="GL_SCISSOR_TEST"/>
895 <value name="GL_POLYGON_OFFSET_FILL"/>
896 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
897 <value name="GL_SAMPLE_COVERAGE"/>
898 <value name="GL_STENCIL_TEST"/>
899 <value name="GL_DEPTH_TEST"/>
900 <value name="GL_DITHER"/>
901 <value name="GL_BLEND"/>
905 <template name="Finish">
907 <return type="void"/>
911 <template name="Flush">
913 <return type="void"/>
917 <template name="AlphaFunc">
919 <return type="void"/>
920 <param name="func" type="GLenum"/>
921 <param name="ref" type="GLtype"/>
924 <value name="GL_NEVER"/>
925 <value name="GL_LESS"/>
926 <value name="GL_EQUAL"/>
927 <value name="GL_LEQUAL"/>
928 <value name="GL_GREATER"/>
929 <value name="GL_NOTEQUAL"/>
930 <value name="GL_GEQUAL"/>
931 <value name="GL_ALWAYS"/>
935 <template name="BlendFunc">
937 <return type="void"/>
938 <param name="sfactor" type="GLenum"/>
939 <param name="dfactor" type="GLenum"/>
942 <desc name="sfactor">
943 <value name="GL_ZERO"/>
944 <value name="GL_ONE"/>
945 <value name="GL_SRC_COLOR"/>
946 <value name="GL_ONE_MINUS_SRC_COLOR"/>
947 <value name="GL_SRC_ALPHA"/>
948 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
949 <value name="GL_DST_ALPHA"/>
950 <value name="GL_ONE_MINUS_DST_ALPHA"/>
951 <value name="GL_DST_COLOR"/>
952 <value name="GL_ONE_MINUS_DST_COLOR"/>
953 <value name="GL_SRC_ALPHA_SATURATE"/>
955 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
956 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
957 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
958 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
961 <desc name="dfactor">
962 <value name="GL_ZERO"/>
963 <value name="GL_ONE"/>
964 <value name="GL_SRC_COLOR"/>
965 <value name="GL_ONE_MINUS_SRC_COLOR"/>
966 <value name="GL_SRC_ALPHA"/>
967 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
968 <value name="GL_DST_ALPHA"/>
969 <value name="GL_ONE_MINUS_DST_ALPHA"/>
970 <value name="GL_DST_COLOR"/>
971 <value name="GL_ONE_MINUS_DST_COLOR"/>
973 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
974 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
975 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
976 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
980 <template name="LogicOp">
982 <return type="void"/>
983 <param name="opcode" type="GLenum"/>
987 <value name="GL_CLEAR"/>
988 <value name="GL_SET"/>
989 <value name="GL_COPY"/>
990 <value name="GL_COPY_INVERTED"/>
991 <value name="GL_NOOP"/>
992 <value name="GL_INVERT"/>
993 <value name="GL_AND"/>
994 <value name="GL_NAND"/>
995 <value name="GL_OR"/>
996 <value name="GL_NOR"/>
997 <value name="GL_XOR"/>
998 <value name="GL_EQUIV"/>
999 <value name="GL_AND_REVERSE"/>
1000 <value name="GL_AND_INVERTED"/>
1001 <value name="GL_OR_REVERSE"/>
1002 <value name="GL_OR_INVERTED"/>
1006 <template name="StencilFunc">
1008 <return type="void"/>
1009 <param name="func" type="GLenum"/>
1010 <param name="ref" type="GLint"/>
1011 <param name="mask" type="GLuint"/>
1015 <value name="GL_NEVER"/>
1016 <value name="GL_LESS"/>
1017 <value name="GL_LEQUAL"/>
1018 <value name="GL_GREATER"/>
1019 <value name="GL_GEQUAL"/>
1020 <value name="GL_EQUAL"/>
1021 <value name="GL_NOTEQUAL"/>
1022 <value name="GL_ALWAYS"/>
1026 <template name="StencilFuncSeparate">
1028 <return type="void"/>
1029 <param name="face" type="GLenum"/>
1030 <param name="func" type="GLenum"/>
1031 <param name="ref" type="GLint"/>
1032 <param name="mask" type="GLuint"/>
1036 <value name="GL_FRONT"/>
1037 <value name="GL_BACK"/>
1038 <value name="GL_FRONT_AND_BACK"/>
1042 <value name="GL_NEVER"/>
1043 <value name="GL_LESS"/>
1044 <value name="GL_LEQUAL"/>
1045 <value name="GL_GREATER"/>
1046 <value name="GL_GEQUAL"/>
1047 <value name="GL_EQUAL"/>
1048 <value name="GL_NOTEQUAL"/>
1049 <value name="GL_ALWAYS"/>
1053 <template name="StencilOp">
1055 <return type="void"/>
1056 <param name="fail" type="GLenum"/>
1057 <param name="zfail" type="GLenum"/>
1058 <param name="zpass" type="GLenum"/>
1062 <value name="GL_KEEP"/>
1063 <value name="GL_ZERO"/>
1064 <value name="GL_REPLACE"/>
1065 <value name="GL_INCR"/>
1066 <value name="GL_DECR"/>
1067 <value name="GL_INVERT"/>
1068 <value name="GL_INCR_WRAP" category="GLES2.0"/>
1069 <value name="GL_DECR_WRAP" category="GLES2.0"/>
1070 <value name="GL_INCR_WRAP_OES" category="OES_stencil_wrap"/>
1071 <value name="GL_DECR_WRAP_OES" category="OES_stencil_wrap"/>
1075 <value name="GL_KEEP"/>
1076 <value name="GL_ZERO"/>
1077 <value name="GL_REPLACE"/>
1078 <value name="GL_INCR"/>
1079 <value name="GL_DECR"/>
1080 <value name="GL_INVERT"/>
1081 <value name="GL_INCR_WRAP" category="GLES2.0"/>
1082 <value name="GL_DECR_WRAP" category="GLES2.0"/>
1083 <value name="GL_INCR_WRAP_OES" category="OES_stencil_wrap"/>
1084 <value name="GL_DECR_WRAP_OES" category="OES_stencil_wrap"/>
1088 <value name="GL_KEEP"/>
1089 <value name="GL_ZERO"/>
1090 <value name="GL_REPLACE"/>
1091 <value name="GL_INCR"/>
1092 <value name="GL_DECR"/>
1093 <value name="GL_INVERT"/>
1094 <value name="GL_INCR_WRAP" category="GLES2.0"/>
1095 <value name="GL_DECR_WRAP" category="GLES2.0"/>
1096 <value name="GL_INCR_WRAP_OES" category="OES_stencil_wrap"/>
1097 <value name="GL_DECR_WRAP_OES" category="OES_stencil_wrap"/>
1101 <template name="StencilOpSeparate">
1103 <return type="void"/>
1104 <param name="face" type="GLenum"/>
1105 <param name="fail" type="GLenum"/>
1106 <param name="zfail" type="GLenum"/>
1107 <param name="zpass" type="GLenum"/>
1111 <value name="GL_FRONT"/>
1112 <value name="GL_BACK"/>
1113 <value name="GL_FRONT_AND_BACK"/>
1117 <value name="GL_KEEP"/>
1118 <value name="GL_ZERO"/>
1119 <value name="GL_REPLACE"/>
1120 <value name="GL_INCR"/>
1121 <value name="GL_DECR"/>
1122 <value name="GL_INVERT"/>
1123 <value name="GL_INCR_WRAP"/>
1124 <value name="GL_DECR_WRAP"/>
1128 <value name="GL_KEEP"/>
1129 <value name="GL_ZERO"/>
1130 <value name="GL_REPLACE"/>
1131 <value name="GL_INCR"/>
1132 <value name="GL_DECR"/>
1133 <value name="GL_INVERT"/>
1134 <value name="GL_INCR_WRAP"/>
1135 <value name="GL_DECR_WRAP"/>
1139 <value name="GL_KEEP"/>
1140 <value name="GL_ZERO"/>
1141 <value name="GL_REPLACE"/>
1142 <value name="GL_INCR"/>
1143 <value name="GL_DECR"/>
1144 <value name="GL_INVERT"/>
1145 <value name="GL_INCR_WRAP"/>
1146 <value name="GL_DECR_WRAP"/>
1150 <template name="DepthFunc">
1152 <return type="void"/>
1153 <param name="func" type="GLenum"/>
1157 <value name="GL_NEVER"/>
1158 <value name="GL_LESS"/>
1159 <value name="GL_EQUAL"/>
1160 <value name="GL_LEQUAL"/>
1161 <value name="GL_GREATER"/>
1162 <value name="GL_NOTEQUAL"/>
1163 <value name="GL_GEQUAL"/>
1164 <value name="GL_ALWAYS"/>
1168 <template name="PixelStore">
1170 <return type="void"/>
1171 <param name="pname" type="GLenum"/>
1172 <param name="param" type="GLtype"/>
1176 <value name="GL_PACK_ALIGNMENT"/>
1177 <value name="GL_UNPACK_ALIGNMENT"/>
1180 <desc name="param" error="GL_INVALID_VALUE">
1188 <template name="ReadPixels" direction="get">
1190 <return type="void"/>
1191 <param name="x" type="GLint"/>
1192 <param name="y" type="GLint"/>
1193 <param name="width" type="GLsizei"/>
1194 <param name="height" type="GLsizei"/>
1195 <param name="format" type="GLenum"/>
1196 <param name="type" type="GLenum"/>
1197 <param name="pixels" type="GLvoid *"/>
1200 <!-- Technically, only two combinations are actually allowed:
1201 GL_RGBA/GL_UNSIGNED_BYTE, and some implementation-specific
1202 internal preferred combination. I don't know what that is, so I'm
1203 allowing any valid combination for now; the underlying support
1204 should fail when necessary.-->
1205 <desc name="format">
1206 <value name="GL_ALPHA"/>
1207 <desc name="type" error="GL_INVALID_OPERATION">
1208 <value name="GL_UNSIGNED_BYTE"/>
1212 <desc name="format">
1213 <value name="GL_RGB"/>
1214 <desc name="type" error="GL_INVALID_OPERATION">
1215 <value name="GL_UNSIGNED_BYTE"/>
1216 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
1220 <desc name="format">
1221 <value name="GL_RGBA"/>
1222 <desc name="type" error="GL_INVALID_OPERATION">
1223 <value name="GL_UNSIGNED_BYTE"/>
1224 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
1225 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
1229 <desc name="format">
1230 <value name="GL_LUMINANCE"/>
1231 <desc name="type" error="GL_INVALID_OPERATION">
1232 <value name="GL_UNSIGNED_BYTE"/>
1236 <desc name="format">
1237 <value name="GL_LUMINANCE_ALPHA"/>
1238 <desc name="type" error="GL_INVALID_OPERATION">
1239 <value name="GL_UNSIGNED_BYTE"/>
1243 <desc name="format" category="EXT_read_format_bgra">
1244 <value name="GL_BGRA_EXT"/>
1246 <desc name="type" error="GL_INVALID_OPERATION">
1247 <value name="GL_UNSIGNED_BYTE"/>
1248 <value name="GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT"/>
1249 <value name="GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT"/>
1254 <template name="GetClipPlane" direction="get">
1256 <return type="void"/>
1257 <param name="plane" type="GLenum"/>
1258 <vector name="equation" type="GLtype *" size="4"/>
1262 <template name="GetError" direction="get">
1264 <return type="GLenum"/>
1268 <!-- template for GetFloatv, GetIntegerv, GetBoolean, and GetFixedv -->
1269 <template name="GetState" direction="get">
1271 <return type="void"/>
1272 <param name="pname" type="GLenum"/>
1273 <vector name="params" type="GLtype *" size="dynamic"/>
1275 <!-- param checking is done in mesa -->
1278 <template name="GetLight" direction="get">
1280 <return type="void"/>
1281 <param name="light" type="GLenum"/>
1282 <param name="pname" type="GLenum"/>
1283 <vector name="params" type="GLtype *" size="dynamic"/>
1287 <range base="GL_LIGHT" from="0" to="7"/>
1291 <value name="GL_AMBIENT"/>
1292 <value name="GL_DIFFUSE"/>
1293 <value name="GL_SPECULAR"/>
1294 <value name="GL_POSITION"/>
1296 <desc name="params" vector_size="4"/>
1300 <value name="GL_SPOT_DIRECTION"/>
1302 <desc name="params" vector_size="3"/>
1306 <value name="GL_SPOT_EXPONENT"/>
1307 <value name="GL_SPOT_CUTOFF"/>
1308 <value name="GL_CONSTANT_ATTENUATION"/>
1309 <value name="GL_LINEAR_ATTENUATION"/>
1310 <value name="GL_QUADRATIC_ATTENUATION"/>
1312 <desc name="params" vector_size="1"/>
1316 <template name="GetMaterial" direction="get">
1318 <return type="void"/>
1319 <param name="face" type="GLenum"/>
1320 <param name="pname" type="GLenum"/>
1321 <vector name="params" type="GLtype *" size="dynamic">
1322 <param name="param" type="GLtype"/>
1327 <value name="GL_FRONT"/>
1328 <value name="GL_BACK"/>
1332 <value name="GL_SHININESS"/>
1333 <desc name="params" vector_size="1"/>
1337 <value name="GL_AMBIENT"/>
1338 <value name="GL_DIFFUSE"/>
1339 <value name="GL_AMBIENT_AND_DIFFUSE"/>
1340 <value name="GL_SPECULAR"/>
1341 <value name="GL_EMISSION"/>
1343 <desc name="params" vector_size="4"/>
1347 <template name="GetString" direction="get">
1349 <return type="const GLubyte *"/>
1350 <param name="name" type="GLenum"/>
1354 <value name="GL_VENDOR"/>
1355 <value name="GL_RENDERER"/>
1356 <value name="GL_VERSION"/>
1357 <value name="GL_EXTENSIONS"/>
1358 <value name="GL_SHADING_LANGUAGE_VERSION" category="GLES2.0"/>
1362 <template name="GetTexEnv" direction="get">
1364 <return type="void"/>
1365 <param name="target" type="GLenum"/>
1366 <param name="pname" type="GLenum"/>
1367 <vector name="params" type="GLtype *" size="dynamic"/>
1370 <desc name="target" category="OES_point_sprite">
1371 <value name="GL_POINT_SPRITE_OES"/>
1373 <value name="GL_COORD_REPLACE_OES"/>
1377 <desc name="pname" category="OES_point_sprite">
1378 <value name="GL_COORD_REPLACE_OES"/>
1379 <desc name="params" vector_size="1" convert="false"/>
1382 <desc name="target" category="EXT_texture_lod_bias">
1383 <value name="GL_TEXTURE_FILTER_CONTROL_EXT"/>
1386 <value name="GL_TEXTURE_LOD_BIAS_EXT"/>
1390 <desc name="pname" category="EXT_texture_lod_bias">
1391 <value name="GL_TEXTURE_LOD_BIAS_EXT"/>
1392 <desc name="params" vector_size="1"/>
1395 <desc name="target">
1396 <value name="GL_TEXTURE_ENV"/>
1399 <value name="GL_TEXTURE_ENV_COLOR"/>
1400 <value name="GL_RGB_SCALE"/>
1401 <value name="GL_ALPHA_SCALE"/>
1402 <value name="GL_TEXTURE_ENV_MODE"/>
1403 <value name="GL_COMBINE_RGB"/>
1404 <value name="GL_COMBINE_ALPHA"/>
1405 <value name="GL_SRC0_RGB"/>
1406 <value name="GL_SRC1_RGB"/>
1407 <value name="GL_SRC2_RGB"/>
1408 <value name="GL_SRC0_ALPHA"/>
1409 <value name="GL_SRC1_ALPHA"/>
1410 <value name="GL_SRC2_ALPHA"/>
1411 <value name="GL_OPERAND0_RGB"/>
1412 <value name="GL_OPERAND1_RGB"/>
1413 <value name="GL_OPERAND2_RGB"/>
1414 <value name="GL_OPERAND0_ALPHA"/>
1415 <value name="GL_OPERAND1_ALPHA"/>
1416 <value name="GL_OPERAND2_ALPHA"/>
1421 <value name="GL_TEXTURE_ENV_COLOR"/>
1422 <desc name="params" vector_size="4"/>
1426 <value name="GL_RGB_SCALE"/>
1427 <value name="GL_ALPHA_SCALE"/>
1429 <desc name="params" vector_size="1"/>
1433 <value name="GL_TEXTURE_ENV_MODE"/>
1434 <value name="GL_COMBINE_RGB"/>
1435 <value name="GL_COMBINE_ALPHA"/>
1436 <value name="GL_SRC0_RGB"/>
1437 <value name="GL_SRC1_RGB"/>
1438 <value name="GL_SRC2_RGB"/>
1439 <value name="GL_SRC0_ALPHA"/>
1440 <value name="GL_SRC1_ALPHA"/>
1441 <value name="GL_SRC2_ALPHA"/>
1442 <value name="GL_OPERAND0_RGB"/>
1443 <value name="GL_OPERAND1_RGB"/>
1444 <value name="GL_OPERAND2_RGB"/>
1445 <value name="GL_OPERAND0_ALPHA"/>
1446 <value name="GL_OPERAND1_ALPHA"/>
1447 <value name="GL_OPERAND2_ALPHA"/>
1449 <desc name="params" vector_size="1" convert="false"/>
1453 <template name="GetTexGen" direction="get">
1455 <return type="void"/>
1456 <param name="coord" type="GLenum"/>
1457 <param name="pname" type="GLenum"/>
1458 <vector name="params" type="GLtype *" size="dynamic"/>
1462 <value name="GL_TEXTURE_GEN_STR_OES"/>
1465 <value name="GL_TEXTURE_GEN_MODE_OES"/>
1466 <desc name="params" vector_size="1" convert="false"/>
1470 <template name="GetTexParameter" direction="get">
1472 <return type="void"/>
1473 <param name="target" type="GLenum"/>
1474 <param name="pname" type="GLenum"/>
1475 <vector name="params" type="GLtype *" size="dynamic"/>
1478 <desc name="target">
1479 <value name="GL_TEXTURE_2D"/>
1480 <value name="GL_TEXTURE_CUBE_MAP" category="GLES2.0"/>
1481 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
1482 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
1483 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
1487 <value name="GL_TEXTURE_WRAP_S"/>
1488 <value name="GL_TEXTURE_WRAP_T"/>
1489 <value name="GL_TEXTURE_WRAP_R_OES" category="OES_texture_3D"/>
1490 <value name="GL_TEXTURE_MIN_FILTER"/>
1491 <value name="GL_TEXTURE_MAG_FILTER"/>
1492 <value name="GL_GENERATE_MIPMAP" category="GLES1.1"/>
1494 <desc name="params" vector_size="1" convert="false"/>
1497 <desc name="pname" category="OES_draw_texture">
1498 <value name="GL_TEXTURE_CROP_RECT_OES"/>
1499 <desc name="params" vector_size="4"/>
1503 <template name="IsEnabled" direction="get">
1505 <return type="GLboolean"/>
1506 <param name="cap" type="GLenum"/>
1509 <desc name="cap" category="GLES1.1">
1510 <value name="GL_NORMALIZE"/>
1511 <value name="GL_RESCALE_NORMAL"/>
1513 <range base="GL_CLIP_PLANE" from="0" to="5"/>
1514 <value name="GL_CLIP_PLANE0+6"/>
1515 <value name="GL_CLIP_PLANE0+7"/>
1517 <value name="GL_FOG"/>
1518 <value name="GL_LIGHTING"/>
1519 <value name="GL_COLOR_MATERIAL"/>
1521 <range base="GL_LIGHT" from="0" to="7"/>
1523 <value name="GL_POINT_SMOOTH"/>
1524 <value name="GL_LINE_SMOOTH"/>
1525 <value name="GL_CULL_FACE"/>
1526 <value name="GL_POLYGON_OFFSET_FILL"/>
1527 <value name="GL_MULTISAMPLE"/>
1528 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
1529 <value name="GL_SAMPLE_ALPHA_TO_ONE"/>
1530 <value name="GL_SAMPLE_COVERAGE"/>
1531 <value name="GL_TEXTURE_2D"/>
1532 <value name="GL_SCISSOR_TEST"/>
1533 <value name="GL_ALPHA_TEST"/>
1534 <value name="GL_STENCIL_TEST"/>
1535 <value name="GL_DEPTH_TEST"/>
1536 <value name="GL_BLEND"/>
1537 <value name="GL_DITHER"/>
1538 <value name="GL_COLOR_LOGIC_OP"/>
1540 <value name="GL_POINT_SPRITE_OES" category="OES_point_sprite"/>
1541 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
1542 <value name="GL_TEXTURE_GEN_STR_OES" category="OES_texture_cube_map"/>
1544 <value name="GL_VERTEX_ARRAY"/>
1545 <value name="GL_NORMAL_ARRAY"/>
1546 <value name="GL_COLOR_ARRAY"/>
1547 <value name="GL_TEXTURE_COORD_ARRAY"/>
1548 <value name="GL_MATRIX_INDEX_ARRAY_OES" category="OES_matrix_palette"/>
1549 <value name="GL_WEIGHT_ARRAY_OES" category="OES_matrix_palette"/>
1550 <value name="GL_POINT_SIZE_ARRAY_OES" category="OES_point_size_array"/>
1551 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
1554 <desc name="cap" category="GLES2.0">
1555 <value name="GL_CULL_FACE"/>
1556 <value name="GL_SCISSOR_TEST"/>
1557 <value name="GL_POLYGON_OFFSET_FILL"/>
1558 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
1559 <value name="GL_SAMPLE_COVERAGE"/>
1560 <value name="GL_STENCIL_TEST"/>
1561 <value name="GL_DEPTH_TEST"/>
1562 <value name="GL_DITHER"/>
1563 <value name="GL_BLEND"/>
1567 <template name="DepthRange">
1569 <return type="void"/>
1570 <param name="zNear" type="GLtype"/>
1571 <param name="zFar" type="GLtype"/>
1575 <template name="Frustum">
1577 <return type="void"/>
1578 <param name="left" type="GLtype"/>
1579 <param name="right" type="GLtype"/>
1580 <param name="bottom" type="GLtype"/>
1581 <param name="top" type="GLtype"/>
1582 <param name="zNear" type="GLtype"/>
1583 <param name="zFar" type="GLtype"/>
1587 <template name="LoadIdentity">
1589 <return type="void"/>
1593 <template name="LoadMatrix">
1595 <return type="void"/>
1596 <vector name="m" type="const GLtype *" size="16"/>
1600 <template name="MatrixMode">
1602 <return type="void"/>
1603 <param name="mode" type="GLenum"/>
1607 <value name="GL_MODELVIEW"/>
1608 <value name="GL_PROJECTION"/>
1609 <value name="GL_TEXTURE"/>
1610 <value name="GL_MATRIX_PALETTE_OES" category="OES_matrix_palette"/>
1614 <template name="MultMatrix">
1616 <return type="void"/>
1617 <vector name="m" type="const GLtype *" size="16"/>
1621 <template name="Ortho">
1623 <return type="void"/>
1624 <param name="left" type="GLtype"/>
1625 <param name="right" type="GLtype"/>
1626 <param name="bottom" type="GLtype"/>
1627 <param name="top" type="GLtype"/>
1628 <param name="zNear" type="GLtype"/>
1629 <param name="zFar" type="GLtype"/>
1633 <template name="PopMatrix">
1635 <return type="void"/>
1639 <template name="PushMatrix">
1641 <return type="void"/>
1645 <template name="Rotate">
1647 <return type="void"/>
1648 <param name="angle" type="GLtype"/>
1649 <param name="x" type="GLtype"/>
1650 <param name="y" type="GLtype"/>
1651 <param name="z" type="GLtype"/>
1655 <template name="Scale">
1657 <return type="void"/>
1658 <param name="x" type="GLtype"/>
1659 <param name="y" type="GLtype"/>
1660 <param name="z" type="GLtype"/>
1664 <template name="Translate">
1666 <return type="void"/>
1667 <param name="x" type="GLtype"/>
1668 <param name="y" type="GLtype"/>
1669 <param name="z" type="GLtype"/>
1673 <template name="Viewport">
1675 <return type="void"/>
1676 <param name="x" type="GLint"/>
1677 <param name="y" type="GLint"/>
1678 <param name="width" type="GLsizei"/>
1679 <param name="height" type="GLsizei"/>
1683 <template name="ColorPointer">
1685 <return type="void"/>
1686 <param name="size" type="GLint"/>
1687 <param name="type" type="GLenum"/>
1688 <param name="stride" type="GLsizei"/>
1689 <param name="pointer" type="const GLvoid *"/>
1692 <desc name="size" error="GL_INVALID_VALUE">
1697 <value name="GL_UNSIGNED_BYTE"/>
1698 <value name="GL_FLOAT"/>
1699 <value name="GL_FIXED"/>
1700 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
1704 <template name="DisableClientState">
1706 <return type="void"/>
1707 <param name="array" type="GLenum"/>
1711 <value name="GL_VERTEX_ARRAY"/>
1712 <value name="GL_NORMAL_ARRAY"/>
1713 <value name="GL_COLOR_ARRAY"/>
1714 <value name="GL_TEXTURE_COORD_ARRAY"/>
1715 <value name="GL_MATRIX_INDEX_ARRAY_OES" category="OES_matrix_palette"/>
1716 <value name="GL_WEIGHT_ARRAY_OES" category="OES_matrix_palette"/>
1717 <value name="GL_POINT_SIZE_ARRAY_OES" category="OES_point_size_array"/>
1721 <template name="DrawArrays">
1723 <return type="void"/>
1724 <param name="mode" type="GLenum"/>
1725 <param name="first" type="GLint"/>
1726 <param name="count" type="GLsizei"/>
1730 <value name="GL_POINTS"/>
1731 <value name="GL_LINES"/>
1732 <value name="GL_LINE_LOOP"/>
1733 <value name="GL_LINE_STRIP"/>
1734 <value name="GL_TRIANGLES"/>
1735 <value name="GL_TRIANGLE_STRIP"/>
1736 <value name="GL_TRIANGLE_FAN"/>
1740 <template name="DrawElements">
1742 <return type="void"/>
1743 <param name="mode" type="GLenum"/>
1744 <param name="count" type="GLsizei"/>
1745 <param name="type" type="GLenum"/>
1746 <param name="indices" type="const GLvoid *"/>
1750 <value name="GL_POINTS"/>
1751 <value name="GL_LINES"/>
1752 <value name="GL_LINE_LOOP"/>
1753 <value name="GL_LINE_STRIP"/>
1754 <value name="GL_TRIANGLES"/>
1755 <value name="GL_TRIANGLE_STRIP"/>
1756 <value name="GL_TRIANGLE_FAN"/>
1760 <value name="GL_UNSIGNED_BYTE"/>
1761 <value name="GL_UNSIGNED_SHORT"/>
1762 <value name="GL_UNSIGNED_INT" category="OES_element_index_uint"/>
1766 <template name="EnableClientState">
1768 <return type="void"/>
1769 <param name="array" type="GLenum"/>
1773 <value name="GL_VERTEX_ARRAY"/>
1774 <value name="GL_NORMAL_ARRAY"/>
1775 <value name="GL_COLOR_ARRAY"/>
1776 <value name="GL_TEXTURE_COORD_ARRAY"/>
1777 <value name="GL_MATRIX_INDEX_ARRAY_OES" category="OES_matrix_palette"/>
1778 <value name="GL_WEIGHT_ARRAY_OES" category="OES_matrix_palette"/>
1779 <value name="GL_POINT_SIZE_ARRAY_OES" category="OES_point_size_array"/>
1783 <template name="GetPointer" direction="get">
1785 <return type="void"/>
1786 <param name="pname" type="GLenum"/>
1787 <vector name="params" type="GLvoid **" size="dynamic"/>
1791 <value name="GL_VERTEX_ARRAY_POINTER"/>
1792 <value name="GL_NORMAL_ARRAY_POINTER"/>
1793 <value name="GL_COLOR_ARRAY_POINTER"/>
1794 <value name="GL_TEXTURE_COORD_ARRAY_POINTER"/>
1795 <value name="GL_MATRIX_INDEX_ARRAY_POINTER_OES" category="OES_matrix_palette"/>
1796 <value name="GL_WEIGHT_ARRAY_POINTER_OES" category="OES_matrix_palette"/>
1797 <value name="GL_POINT_SIZE_ARRAY_POINTER_OES" category="OES_point_size_array"/>
1801 <template name="Normal">
1803 <return type="void"/>
1804 <vector name="v" type="const GLtype *" size="3">
1805 <param name="nx" type="GLtype"/>
1806 <param name="ny" type="GLtype"/>
1807 <param name="nz" type="GLtype"/>
1812 <template name="NormalPointer">
1814 <return type="void"/>
1815 <param name="type" type="GLenum"/>
1816 <param name="stride" type="GLsizei"/>
1817 <param name="pointer" type="const GLvoid *"/>
1821 <value name="GL_BYTE"/>
1822 <value name="GL_SHORT"/>
1823 <value name="GL_FLOAT"/>
1824 <value name="GL_FIXED"/>
1825 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
1829 <template name="TexCoordPointer">
1831 <return type="void"/>
1832 <param name="size" type="GLint"/>
1833 <param name="type" type="GLenum"/>
1834 <param name="stride" type="GLsizei"/>
1835 <param name="pointer" type="const GLvoid *"/>
1838 <desc name="size" error="GL_INVALID_VALUE">
1845 <value name="GL_BYTE"/>
1846 <value name="GL_SHORT"/>
1847 <value name="GL_FLOAT"/>
1848 <value name="GL_FIXED"/>
1849 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
1853 <template name="VertexPointer">
1855 <return type="void"/>
1856 <param name="size" type="GLint"/>
1857 <param name="type" type="GLenum"/>
1858 <param name="stride" type="GLsizei"/>
1859 <param name="pointer" type="const GLvoid *"/>
1862 <desc name="size" error="GL_INVALID_VALUE">
1869 <value name="GL_BYTE"/>
1870 <value name="GL_SHORT"/>
1871 <value name="GL_FLOAT"/>
1872 <value name="GL_FIXED"/>
1873 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
1877 <template name="PolygonOffset">
1879 <return type="void"/>
1880 <param name="factor" type="GLtype"/>
1881 <param name="units" type="GLtype"/>
1885 <template name="CopyTexImage2D">
1887 <return type="void"/>
1888 <param name="target" type="GLenum"/>
1889 <param name="level" type="GLint"/>
1890 <param name="internalFormat" type="GLenum"/>
1891 <param name="x" type="GLint"/>
1892 <param name="y" type="GLint"/>
1893 <param name="width" type="GLsizei"/>
1894 <param name="height" type="GLsizei"/>
1895 <param name="border" type="GLint"/>
1898 <desc name="target">
1899 <value name="GL_TEXTURE_2D"/>
1900 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
1901 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
1902 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
1903 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
1904 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
1905 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
1906 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
1907 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
1908 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
1909 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
1910 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
1911 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
1914 <desc name="internalFormat" error="GL_INVALID_VALUE">
1915 <value name="GL_ALPHA"/>
1916 <value name="GL_RGB"/>
1917 <value name="GL_RGBA"/>
1918 <value name="GL_LUMINANCE"/>
1919 <value name="GL_LUMINANCE_ALPHA"/>
1922 <desc name="border" error="GL_INVALID_VALUE">
1927 <template name="CopyTexSubImage2D">
1929 <return type="void"/>
1930 <param name="target" type="GLenum"/>
1931 <param name="level" type="GLint"/>
1932 <param name="xoffset" type="GLint"/>
1933 <param name="yoffset" type="GLint"/>
1934 <param name="x" type="GLint"/>
1935 <param name="y" type="GLint"/>
1936 <param name="width" type="GLsizei"/>
1937 <param name="height" type="GLsizei"/>
1940 <desc name="target">
1941 <value name="GL_TEXTURE_2D"/>
1942 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
1943 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
1944 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
1945 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
1946 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
1947 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
1948 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
1949 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
1950 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
1951 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
1952 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
1953 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
1957 <template name="TexSubImage2D">
1959 <return type="void"/>
1960 <param name="target" type="GLenum"/>
1961 <param name="level" type="GLint"/>
1962 <param name="xoffset" type="GLint"/>
1963 <param name="yoffset" type="GLint"/>
1964 <param name="width" type="GLsizei"/>
1965 <param name="height" type="GLsizei"/>
1966 <param name="format" type="GLenum"/>
1967 <param name="type" type="GLenum"/>
1968 <param name="pixels" type="const GLvoid *"/>
1971 <desc name="target">
1972 <value name="GL_TEXTURE_2D"/>
1973 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
1974 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
1975 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
1976 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
1977 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
1978 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
1979 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
1980 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
1981 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
1982 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
1983 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
1984 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
1987 <desc name="format">
1988 <value name="GL_ALPHA"/>
1990 <desc name="type" error="GL_INVALID_OPERATION">
1991 <value name="GL_UNSIGNED_BYTE"/>
1992 <value name="GL_FLOAT" category="OES_texture_float"/>
1993 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1997 <desc name="format">
1998 <value name="GL_RGB"/>
2000 <desc name="type" error="GL_INVALID_OPERATION">
2001 <value name="GL_UNSIGNED_BYTE"/>
2002 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
2003 <value name="GL_FLOAT" category="OES_texture_float"/>
2004 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2008 <desc name="format">
2009 <value name="GL_RGBA"/>
2011 <desc name="type" error="GL_INVALID_OPERATION">
2012 <value name="GL_UNSIGNED_BYTE"/>
2013 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
2014 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
2015 <value name="GL_FLOAT" category="OES_texture_float"/>
2016 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2017 <value name="GL_UNSIGNED_INT_2_10_10_10_REV_EXT" category="EXT_texture_type_2_10_10_10_REV"/>
2021 <desc name="format">
2022 <value name="GL_LUMINANCE"/>
2024 <desc name="type" error="GL_INVALID_OPERATION">
2025 <value name="GL_UNSIGNED_BYTE"/>
2026 <value name="GL_FLOAT" category="OES_texture_float"/>
2027 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2031 <desc name="format">
2032 <value name="GL_LUMINANCE_ALPHA"/>
2034 <desc name="type" error="GL_INVALID_OPERATION">
2035 <value name="GL_UNSIGNED_BYTE"/>
2036 <value name="GL_FLOAT" category="OES_texture_float"/>
2037 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2041 <desc name="format" category="OES_depth_texture">
2042 <value name="GL_DEPTH_COMPONENT"/>
2044 <desc name="type" error="GL_INVALID_OPERATION">
2045 <value name="GL_UNSIGNED_SHORT"/>
2046 <value name="GL_UNSIGNED_INT"/>
2050 <desc name="format" category="OES_packed_depth_stencil">
2051 <value name="GL_DEPTH_STENCIL_OES"/>
2053 <desc name="type" error="GL_INVALID_OPERATION">
2054 <value name="GL_UNSIGNED_INT_24_8_OES"/>
2058 <desc name="format" category="EXT_texture_format_BGRA8888">
2059 <value name="GL_BGRA_EXT"/>
2061 <desc name="type" error="GL_INVALID_OPERATION">
2062 <value name="GL_UNSIGNED_BYTE"/>
2067 <template name="BindTexture">
2069 <return type="void"/>
2070 <param name="target" type="GLenum"/>
2071 <param name="texture" type="GLuint"/>
2074 <desc name="target">
2075 <value name="GL_TEXTURE_2D"/>
2076 <value name="GL_TEXTURE_CUBE_MAP" category="GLES2.0"/>
2077 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
2078 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
2079 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
2083 <template name="DeleteTextures">
2085 <return type="void"/>
2086 <param name="n" type="GLsizei"/>
2087 <param name="textures" type="const GLuint *"/>
2091 <template name="GenTextures" direction="get">
2093 <return type="void"/>
2094 <param name="n" type="GLsizei"/>
2095 <param name="textures" type="GLuint *"/>
2099 <template name="IsTexture" direction="get">
2101 <return type="GLboolean"/>
2102 <param name="texture" type="GLuint"/>
2106 <template name="BlendColor">
2108 <return type="void"/>
2109 <param name="red" type="GLtype"/>
2110 <param name="green" type="GLtype"/>
2111 <param name="blue" type="GLtype"/>
2112 <param name="alpha" type="GLtype"/>
2116 <template name="BlendEquation">
2118 <return type="void"/>
2119 <param name="mode" type="GLenum"/>
2123 <value name="GL_FUNC_ADD" category="GLES2.0"/>
2124 <value name="GL_FUNC_SUBTRACT" category="GLES2.0"/>
2125 <value name="GL_FUNC_REVERSE_SUBTRACT" category="GLES2.0"/>
2126 <value name="GL_FUNC_ADD_OES" category="OES_blend_subtract"/>
2127 <value name="GL_FUNC_SUBTRACT_OES" category="OES_blend_subtract"/>
2128 <value name="GL_FUNC_REVERSE_SUBTRACT_OES" category="OES_blend_subtract"/>
2130 <value name="GL_MIN_EXT" category="EXT_blend_minmax"/>
2131 <value name="GL_MAX_EXT" category="EXT_blend_minmax"/>
2135 <template name="BlendEquationSeparate">
2137 <return type="void"/>
2138 <param name="modeRGB" type="GLenum"/>
2139 <param name="modeAlpha" type="GLenum"/>
2142 <desc name="modeRGB">
2143 <value name="GL_FUNC_ADD" category="GLES2.0"/>
2144 <value name="GL_FUNC_SUBTRACT" category="GLES2.0"/>
2145 <value name="GL_FUNC_REVERSE_SUBTRACT" category="GLES2.0"/>
2146 <value name="GL_FUNC_ADD_OES" category="OES_blend_subtract"/>
2147 <value name="GL_FUNC_SUBTRACT_OES" category="OES_blend_subtract"/>
2148 <value name="GL_FUNC_REVERSE_SUBTRACT_OES" category="OES_blend_subtract"/>
2150 <value name="GL_MIN_EXT" category="EXT_blend_minmax"/>
2151 <value name="GL_MAX_EXT" category="EXT_blend_minmax"/>
2154 <desc name="modeAlpha">
2155 <value name="GL_FUNC_ADD" category="GLES2.0"/>
2156 <value name="GL_FUNC_SUBTRACT" category="GLES2.0"/>
2157 <value name="GL_FUNC_REVERSE_SUBTRACT" category="GLES2.0"/>
2158 <value name="GL_FUNC_ADD_OES" category="OES_blend_subtract"/>
2159 <value name="GL_FUNC_SUBTRACT_OES" category="OES_blend_subtract"/>
2160 <value name="GL_FUNC_REVERSE_SUBTRACT_OES" category="OES_blend_subtract"/>
2162 <value name="GL_MIN_EXT" category="EXT_blend_minmax"/>
2163 <value name="GL_MAX_EXT" category="EXT_blend_minmax"/>
2167 <template name="TexImage3D">
2169 <return type="void"/>
2170 <param name="target" type="GLenum"/>
2171 <param name="level" type="GLint"/>
2172 <param name="internalFormat" type="GLenum"/>
2173 <param name="width" type="GLsizei"/>
2174 <param name="height" type="GLsizei"/>
2175 <param name="depth" type="GLsizei"/>
2176 <param name="border" type="GLint"/>
2177 <param name="format" type="GLenum"/>
2178 <param name="type" type="GLenum"/>
2179 <param name="pixels" type="const GLvoid *"/>
2182 <desc name="target">
2183 <value name="GL_TEXTURE_3D_OES"/>
2186 <desc name="internalFormat">
2187 <value name="GL_ALPHA"/>
2188 <value name="GL_RGB"/>
2189 <value name="GL_RGBA"/>
2190 <value name="GL_LUMINANCE"/>
2191 <value name="GL_LUMINANCE_ALPHA"/>
2194 <desc name="format">
2195 <value name="GL_ALPHA"/>
2197 <desc name="type" error="GL_INVALID_OPERATION">
2198 <value name="GL_UNSIGNED_BYTE"/>
2199 <value name="GL_FLOAT" category="OES_texture_float"/>
2200 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2204 <desc name="format">
2205 <value name="GL_RGB"/>
2207 <desc name="type" error="GL_INVALID_OPERATION">
2208 <value name="GL_UNSIGNED_BYTE"/>
2209 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
2210 <value name="GL_FLOAT" category="OES_texture_float"/>
2211 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2215 <desc name="format">
2216 <value name="GL_RGBA"/>
2218 <desc name="type" error="GL_INVALID_OPERATION">
2219 <value name="GL_UNSIGNED_BYTE"/>
2220 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
2221 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
2222 <value name="GL_FLOAT" category="OES_texture_float"/>
2223 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2224 <value name="GL_UNSIGNED_INT_2_10_10_10_REV_EXT" category="EXT_texture_type_2_10_10_10_REV"/>
2228 <desc name="format">
2229 <value name="GL_LUMINANCE"/>
2231 <desc name="type" error="GL_INVALID_OPERATION">
2232 <value name="GL_UNSIGNED_BYTE"/>
2233 <value name="GL_FLOAT" category="OES_texture_float"/>
2234 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2238 <desc name="format">
2239 <value name="GL_LUMINANCE_ALPHA"/>
2241 <desc name="type" error="GL_INVALID_OPERATION">
2242 <value name="GL_UNSIGNED_BYTE"/>
2243 <value name="GL_FLOAT" category="OES_texture_float"/>
2244 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2249 <template name="TexSubImage3D">
2251 <return type="void"/>
2252 <param name="target" type="GLenum"/>
2253 <param name="level" type="GLint"/>
2254 <param name="xoffset" type="GLint"/>
2255 <param name="yoffset" type="GLint"/>
2256 <param name="zoffset" type="GLint"/>
2257 <param name="width" type="GLsizei"/>
2258 <param name="height" type="GLsizei"/>
2259 <param name="depth" type="GLsizei"/>
2260 <param name="format" type="GLenum"/>
2261 <param name="type" type="GLenum"/>
2262 <param name="pixels" type="const GLvoid *"/>
2265 <desc name="target">
2266 <value name="GL_TEXTURE_3D_OES"/>
2269 <desc name="format">
2270 <value name="GL_ALPHA"/>
2272 <desc name="type" error="GL_INVALID_OPERATION">
2273 <value name="GL_UNSIGNED_BYTE"/>
2274 <value name="GL_FLOAT" category="OES_texture_float"/>
2275 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2279 <desc name="format">
2280 <value name="GL_RGB"/>
2282 <desc name="type" error="GL_INVALID_OPERATION">
2283 <value name="GL_UNSIGNED_BYTE"/>
2284 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
2285 <value name="GL_FLOAT" category="OES_texture_float"/>
2286 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2290 <desc name="format">
2291 <value name="GL_RGBA"/>
2293 <desc name="type" error="GL_INVALID_OPERATION">
2294 <value name="GL_UNSIGNED_BYTE"/>
2295 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
2296 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
2297 <value name="GL_FLOAT" category="OES_texture_float"/>
2298 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2299 <value name="GL_UNSIGNED_INT_2_10_10_10_REV_EXT" category="EXT_texture_type_2_10_10_10_REV"/>
2303 <desc name="format">
2304 <value name="GL_LUMINANCE"/>
2306 <desc name="type" error="GL_INVALID_OPERATION">
2307 <value name="GL_UNSIGNED_BYTE"/>
2308 <value name="GL_FLOAT" category="OES_texture_float"/>
2309 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2313 <desc name="format">
2314 <value name="GL_LUMINANCE_ALPHA"/>
2316 <desc name="type" error="GL_INVALID_OPERATION">
2317 <value name="GL_UNSIGNED_BYTE"/>
2318 <value name="GL_FLOAT" category="OES_texture_float"/>
2319 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2324 <template name="CopyTexSubImage3D">
2326 <return type="void"/>
2327 <param name="target" type="GLenum"/>
2328 <param name="level" type="GLint"/>
2329 <param name="xoffset" type="GLint"/>
2330 <param name="yoffset" type="GLint"/>
2331 <param name="zoffset" type="GLint"/>
2332 <param name="x" type="GLint"/>
2333 <param name="y" type="GLint"/>
2334 <param name="width" type="GLsizei"/>
2335 <param name="height" type="GLsizei"/>
2338 <desc name="target">
2339 <value name="GL_TEXTURE_3D_OES"/>
2343 <template name="MultiTexCoord">
2345 <return type="void"/>
2346 <param name="texture" type="GLenum"/>
2347 <vector name="v" type="const GLtype *" size="dynamic">
2348 <param name="s" type="GLtype"/>
2349 <param name="t" type="GLtype"/>
2350 <param name="r" type="GLtype"/>
2351 <param name="q" type="GLtype"/>
2355 <desc name="texture">
2356 <range base="GL_TEXTURE" from="0" to="31"/>
2360 <template name="CompressedTexImage3D">
2362 <return type="void"/>
2363 <param name="target" type="GLenum"/>
2364 <param name="level" type="GLint"/>
2365 <param name="internalFormat" type="GLenum"/>
2366 <param name="width" type="GLsizei"/>
2367 <param name="height" type="GLsizei"/>
2368 <param name="depth" type="GLsizei"/>
2369 <param name="border" type="GLint"/>
2370 <param name="imagesize" type="GLsizei"/>
2371 <param name="data" type="const GLvoid *"/>
2374 <desc name="target">
2375 <value name="GL_TEXTURE_3D_OES"/>
2378 <desc name="internalFormat">
2379 <value name="GL_3DC_X_AMD" category="AMD_compressed_3DC_texture"/>
2380 <value name="GL_3DC_XY_AMD" category="AMD_compressed_3DC_texture"/>
2381 <value name="GL_ATC_RGB_AMD" category="AMD_compressed_ATC_texture"/>
2382 <value name="GL_ATC_RGBA_EXPLICIT_ALPHA_AMD" category="AMD_compressed_ATC_texture"/>
2383 <value name="GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD" category="AMD_compressed_ATC_texture"/>
2387 <template name="CompressedTexSubImage3D">
2389 <return type="void"/>
2390 <param name="target" type="GLenum"/>
2391 <param name="level" type="GLint"/>
2392 <param name="xoffset" type="GLint"/>
2393 <param name="yoffset" type="GLint"/>
2394 <param name="zoffset" type="GLint"/>
2395 <param name="width" type="GLsizei"/>
2396 <param name="height" type="GLsizei"/>
2397 <param name="depth" type="GLsizei"/>
2398 <param name="format" type="GLenum"/>
2399 <param name="imagesize" type="GLsizei"/>
2400 <param name="data" type="const GLvoid *"/>
2403 <desc name="target">
2404 <value name="GL_TEXTURE_3D_OES"/>
2408 <template name="ActiveTexture">
2410 <return type="void"/>
2411 <param name="texture" type="GLenum"/>
2414 <desc name="texture">
2415 <range base="GL_TEXTURE" from="0" to="31"/>
2419 <template name="ClientActiveTexture">
2421 <return type="void"/>
2422 <param name="texture" type="GLenum"/>
2425 <desc name="texture">
2426 <range base="GL_TEXTURE" from="0" to="31"/>
2430 <template name="SampleCoverage">
2432 <return type="void"/>
2433 <param name="value" type="GLtype"/>
2434 <param name="invert" type="GLboolean"/>
2438 <template name="CompressedTexImage2D">
2440 <return type="void"/>
2441 <param name="target" type="GLenum"/>
2442 <param name="level" type="GLint"/>
2443 <param name="internalFormat" type="GLenum"/>
2444 <param name="width" type="GLsizei"/>
2445 <param name="height" type="GLsizei"/>
2446 <param name="border" type="GLint"/>
2447 <param name="imageSize" type="GLsizei"/>
2448 <param name="data" type="const GLvoid *"/>
2451 <desc name="target">
2452 <value name="GL_TEXTURE_2D"/>
2453 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
2454 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
2455 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
2456 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
2457 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
2458 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
2459 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
2460 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
2461 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
2462 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
2463 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
2464 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
2467 <desc name="internalFormat">
2468 <value name="GL_ETC1_RGB8_OES" category="OES_compressed_ETC1_RGB8_texture"/>
2470 <value name="GL_PALETTE4_RGB8_OES" category="OES_compressed_paletted_texture"/>
2471 <value name="GL_PALETTE4_RGBA8_OES" category="OES_compressed_paletted_texture"/>
2472 <value name="GL_PALETTE4_R5_G6_B5_OES" category="OES_compressed_paletted_texture"/>
2473 <value name="GL_PALETTE4_RGBA4_OES" category="OES_compressed_paletted_texture"/>
2474 <value name="GL_PALETTE4_RGB5_A1_OES" category="OES_compressed_paletted_texture"/>
2475 <value name="GL_PALETTE8_RGB8_OES" category="OES_compressed_paletted_texture"/>
2476 <value name="GL_PALETTE8_RGBA8_OES" category="OES_compressed_paletted_texture"/>
2477 <value name="GL_PALETTE8_R5_G6_B5_OES" category="OES_compressed_paletted_texture"/>
2478 <value name="GL_PALETTE8_RGBA4_OES" category="OES_compressed_paletted_texture"/>
2479 <value name="GL_PALETTE8_RGB5_A1_OES" category="OES_compressed_paletted_texture"/>
2481 <value name="GL_3DC_X_AMD" category="AMD_compressed_3DC_texture"/>
2482 <value name="GL_3DC_XY_AMD" category="AMD_compressed_3DC_texture"/>
2484 <value name="GL_ATC_RGB_AMD" category="AMD_compressed_ATC_texture"/>
2485 <value name="GL_ATC_RGBA_EXPLICIT_ALPHA_AMD" category="AMD_compressed_ATC_texture"/>
2486 <value name="GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD" category="AMD_compressed_ATC_texture"/>
2488 <value name="GL_COMPRESSED_RGB_S3TC_DXT1_EXT" category="EXT_texture_compression_dxt1"/>
2489 <value name="GL_COMPRESSED_RGBA_S3TC_DXT1_EXT" category="EXT_texture_compression_dxt1"/>
2492 <desc name="border" error="GL_INVALID_VALUE">
2497 <template name="CompressedTexSubImage2D">
2499 <return type="void"/>
2500 <param name="target" type="GLenum"/>
2501 <param name="level" type="GLint"/>
2502 <param name="xoffset" type="GLint"/>
2503 <param name="yoffset" type="GLint"/>
2504 <param name="width" type="GLsizei"/>
2505 <param name="height" type="GLsizei"/>
2506 <param name="format" type="GLenum"/>
2507 <param name="imageSize" type="GLsizei"/>
2508 <param name="data" type="const GLvoid *"/>
2511 <desc name="target">
2512 <value name="GL_TEXTURE_2D"/>
2513 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
2514 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
2515 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
2516 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
2517 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
2518 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
2519 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
2520 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
2521 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
2522 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
2523 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
2524 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
2527 <desc name="format">
2528 <value name="GL_COMPRESSED_RGB_S3TC_DXT1_EXT" category="EXT_texture_compression_dxt1"/>
2529 <value name="GL_COMPRESSED_RGBA_S3TC_DXT1_EXT" category="EXT_texture_compression_dxt1"/>
2533 <template name="BlendFuncSeparate">
2535 <return type="void"/>
2536 <param name="srcRGB" type="GLenum"/>
2537 <param name="dstRGB" type="GLenum"/>
2538 <param name="srcAlpha" type="GLenum"/>
2539 <param name="dstAlpha" type="GLenum"/>
2542 <desc name="srcRGB">
2543 <value name="GL_ZERO"/>
2544 <value name="GL_ONE"/>
2545 <value name="GL_SRC_COLOR"/>
2546 <value name="GL_ONE_MINUS_SRC_COLOR"/>
2547 <value name="GL_SRC_ALPHA"/>
2548 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
2549 <value name="GL_DST_ALPHA"/>
2550 <value name="GL_ONE_MINUS_DST_ALPHA"/>
2551 <value name="GL_DST_COLOR"/>
2552 <value name="GL_ONE_MINUS_DST_COLOR"/>
2553 <value name="GL_SRC_ALPHA_SATURATE"/>
2555 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
2556 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
2557 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
2558 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
2561 <desc name="dstRGB">
2562 <value name="GL_ZERO"/>
2563 <value name="GL_ONE"/>
2564 <value name="GL_SRC_COLOR"/>
2565 <value name="GL_ONE_MINUS_SRC_COLOR"/>
2566 <value name="GL_SRC_ALPHA"/>
2567 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
2568 <value name="GL_DST_ALPHA"/>
2569 <value name="GL_ONE_MINUS_DST_ALPHA"/>
2570 <value name="GL_DST_COLOR"/>
2571 <value name="GL_ONE_MINUS_DST_COLOR"/>
2573 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
2574 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
2575 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
2576 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
2579 <desc name="srcAlpha">
2580 <value name="GL_ZERO"/>
2581 <value name="GL_ONE"/>
2582 <value name="GL_SRC_COLOR"/>
2583 <value name="GL_ONE_MINUS_SRC_COLOR"/>
2584 <value name="GL_SRC_ALPHA"/>
2585 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
2586 <value name="GL_DST_ALPHA"/>
2587 <value name="GL_ONE_MINUS_DST_ALPHA"/>
2588 <value name="GL_DST_COLOR"/>
2589 <value name="GL_ONE_MINUS_DST_COLOR"/>
2590 <value name="GL_SRC_ALPHA_SATURATE"/>
2592 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
2593 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
2594 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
2595 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
2598 <desc name="dstAlpha">
2599 <value name="GL_ZERO"/>
2600 <value name="GL_ONE"/>
2601 <value name="GL_SRC_COLOR"/>
2602 <value name="GL_ONE_MINUS_SRC_COLOR"/>
2603 <value name="GL_SRC_ALPHA"/>
2604 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
2605 <value name="GL_DST_ALPHA"/>
2606 <value name="GL_ONE_MINUS_DST_ALPHA"/>
2607 <value name="GL_DST_COLOR"/>
2608 <value name="GL_ONE_MINUS_DST_COLOR"/>
2610 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
2611 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
2612 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
2613 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
2617 <template name="PointParameter">
2619 <return type="void"/>
2620 <param name="pname" type="GLenum"/>
2621 <vector name="params" type="const GLtype *" size="dynamic">
2622 <param name="param" type="GLtype"/>
2627 <value name="GL_POINT_SIZE_MIN"/>
2628 <value name="GL_POINT_SIZE_MAX"/>
2629 <value name="GL_POINT_FADE_THRESHOLD_SIZE"/>
2631 <desc name="params" vector_size="1"/>
2635 <value name="GL_POINT_DISTANCE_ATTENUATION"/>
2636 <desc name="params" vector_size="3"/>
2640 <template name="VertexAttrib">
2642 <return type="void"/>
2643 <param name="index" type="GLuint"/>
2644 <vector name="v" type="const GLtype *" size="dynamic">
2645 <param name="x" type="GLtype"/>
2646 <param name="y" type="GLtype"/>
2647 <param name="z" type="GLtype"/>
2648 <param name="w" type="GLtype"/>
2653 <template name="VertexAttribPointer">
2655 <return type="void"/>
2656 <param name="index" type="GLuint"/>
2657 <param name="size" type="GLint"/>
2658 <param name="type" type="GLenum"/>
2659 <param name="normalized" type="GLboolean"/>
2660 <param name="stride" type="GLsizei"/>
2661 <param name="pointer" type="const GLvoid *"/>
2664 <desc name="size" error="GL_INVALID_VALUE">
2671 <desc name="type" error="GL_INVALID_VALUE">
2672 <value name="GL_BYTE"/>
2673 <value name="GL_UNSIGNED_BYTE"/>
2674 <value name="GL_SHORT"/>
2675 <value name="GL_UNSIGNED_SHORT"/>
2676 <value name="GL_FLOAT"/>
2677 <value name="GL_FIXED"/>
2678 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
2679 <value name="GL_UNSIGNED_INT_10_10_10_2_OES" category="OES_vertex_type_10_10_10_2"/>
2680 <value name="GL_INT_10_10_10_2_OES" category="OES_vertex_type_10_10_10_2"/>
2683 <desc name="type" category="OES_vertex_type_10_10_10_2">
2684 <value name="GL_UNSIGNED_INT_10_10_10_2_OES"/>
2685 <value name="GL_INT_10_10_10_2_OES"/>
2694 <template name="EnableVertexAttribArray">
2696 <return type="void"/>
2697 <param name="index" type="GLuint"/>
2701 <template name="DisableVertexAttribArray">
2703 <return type="void"/>
2704 <param name="index" type="GLuint"/>
2708 <template name="IsProgram" direction="get">
2710 <return type="GLboolean"/>
2711 <param name="program" type="GLuint"/>
2715 <template name="GetProgram" direction="get">
2717 <return type="void"/>
2718 <param name="program" type="GLuint"/>
2719 <param name="pname" type="GLenum"/>
2720 <vector name="params" type="GLtype *" size="dynamic"/>
2724 <value name="GL_DELETE_STATUS"/>
2725 <value name="GL_LINK_STATUS"/>
2726 <value name="GL_VALIDATE_STATUS"/>
2727 <value name="GL_INFO_LOG_LENGTH"/>
2728 <value name="GL_ATTACHED_SHADERS"/>
2729 <value name="GL_ACTIVE_ATTRIBUTES"/>
2730 <value name="GL_ACTIVE_ATTRIBUTE_MAX_LENGTH"/>
2731 <value name="GL_ACTIVE_UNIFORMS"/>
2732 <value name="GL_ACTIVE_UNIFORM_MAX_LENGTH"/>
2733 <value name="GL_PROGRAM_BINARY_LENGTH_OES" category="OES_get_program_binary"/>
2735 <desc name="params" convert="false"/>
2739 <template name="GetVertexAttrib" direction="get">
2741 <return type="void"/>
2742 <param name="index" type="GLuint"/>
2743 <param name="pname" type="GLenum"/>
2744 <vector name="params" type="GLtype *" size="dynamic"/>
2748 <value name="GL_VERTEX_ATTRIB_ARRAY_ENABLED"/>
2749 <value name="GL_VERTEX_ATTRIB_ARRAY_SIZE"/>
2750 <value name="GL_VERTEX_ATTRIB_ARRAY_STRIDE"/>
2751 <value name="GL_VERTEX_ATTRIB_ARRAY_TYPE"/>
2752 <value name="GL_VERTEX_ATTRIB_ARRAY_NORMALIZED"/>
2753 <value name="GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING"/>
2755 <desc name="params" vector_size="1" convert="false"/>
2759 <value name="GL_CURRENT_VERTEX_ATTRIB"/>
2760 <desc name="params" vector_size="16?" convert="false"/>
2764 <template name="GetVertexAttribPointer" direction="get">
2766 <return type="void"/>
2767 <param name="index" type="GLuint"/>
2768 <param name="pname" type="GLenum"/>
2769 <vector name="pointer" type="GLvoid **" size="dynamic"/>
2773 <value name="GL_VERTEX_ATTRIB_ARRAY_POINTER"/>
2777 <template name="GetBufferPointer" direction="get">
2779 <return type="void"/>
2780 <param name="target" type="GLenum"/>
2781 <param name="pname" type="GLenum"/>
2782 <vector name="params" type="GLvoid **" size="dynamic"/>
2785 <desc name="target">
2786 <value name="GL_ARRAY_BUFFER"/>
2787 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2791 <value name="GL_BUFFER_MAP_POINTER_OES"/>
2795 <template name="MapBuffer" direction="get">
2797 <return type="void *"/>
2798 <param name="target" type="GLenum"/>
2799 <param name="access" type="GLenum"/>
2802 <desc name="target">
2803 <value name="GL_ARRAY_BUFFER"/>
2804 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2807 <desc name="access">
2808 <value name="GL_WRITE_ONLY_OES"/>
2812 <template name="UnmapBuffer" direction="get">
2814 <return type="GLboolean"/>
2815 <param name="target" type="GLenum"/>
2818 <desc name="target">
2819 <value name="GL_ARRAY_BUFFER"/>
2820 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2824 <template name="BindBuffer">
2826 <return type="void"/>
2827 <param name="target" type="GLenum"/>
2828 <param name="buffer" type="GLuint"/>
2831 <desc name="target">
2832 <value name="GL_ARRAY_BUFFER"/>
2833 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2837 <template name="BufferData">
2839 <return type="void"/>
2840 <param name="target" type="GLenum"/>
2841 <param name="size" type="GLsizeiptr"/>
2842 <param name="data" type="const GLvoid *"/>
2843 <param name="usage" type="GLenum"/>
2846 <desc name="target">
2847 <value name="GL_ARRAY_BUFFER"/>
2848 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2852 <value name="GL_STATIC_DRAW"/>
2853 <value name="GL_DYNAMIC_DRAW"/>
2854 <value name="GL_STREAM_DRAW" category="GLES2.0"/>
2858 <template name="BufferSubData">
2860 <return type="void"/>
2861 <param name="target" type="GLenum"/>
2862 <param name="offset" type="GLintptr"/>
2863 <param name="size" type="GLsizeiptr"/>
2864 <param name="data" type="const GLvoid *"/>
2867 <desc name="target">
2868 <value name="GL_ARRAY_BUFFER"/>
2869 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2873 <template name="DeleteBuffers">
2875 <return type="void"/>
2876 <param name="n" type="GLsizei"/>
2877 <param name="buffer" type="const GLuint *"/>
2881 <template name="GenBuffers" direction="get">
2883 <return type="void"/>
2884 <param name="n" type="GLsizei"/>
2885 <param name="buffer" type="GLuint *"/>
2889 <template name="GetBufferParameter" direction="get">
2891 <return type="void"/>
2892 <param name="target" type="GLenum"/>
2893 <param name="pname" type="GLenum"/>
2894 <vector name="params" type="GLtype *" size="dynamic"/>
2897 <desc name="target">
2898 <value name="GL_ARRAY_BUFFER"/>
2899 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2903 <value name="GL_BUFFER_SIZE"/>
2904 <value name="GL_BUFFER_USAGE"/>
2905 <value name="GL_BUFFER_ACCESS_OES" category="OES_mapbuffer"/>
2906 <value name="GL_BUFFER_MAPPED_OES" category="OES_mapbuffer"/>
2910 <template name="IsBuffer" direction="get">
2912 <return type="GLboolean"/>
2913 <param name="buffer" type="GLuint"/>
2917 <template name="CreateShader">
2919 <return type="GLuint"/>
2920 <param name="type" type="GLenum"/>
2924 <value name="GL_VERTEX_SHADER"/>
2925 <value name="GL_FRAGMENT_SHADER"/>
2929 <template name="ShaderSource">
2931 <return type="void"/>
2932 <param name="shader" type="GLuint"/>
2933 <param name="count" type="GLsizei"/>
2934 <param name="string" type="const GLchar **"/>
2935 <param name="length" type="const int *"/>
2939 <template name="CompileShader">
2941 <return type="void"/>
2942 <param name="shader" type="GLuint"/>
2946 <template name="ReleaseShaderCompiler">
2948 <return type="void"/>
2952 <template name="DeleteShader">
2954 <return type="void"/>
2955 <param name="shader" type="GLuint"/>
2959 <template name="ShaderBinary">
2961 <return type="void"/>
2962 <param name="n" type="GLsizei"/>
2963 <param name="shaders" type="const GLuint *"/>
2964 <param name="binaryformat" type="GLenum"/>
2965 <param name="binary" type="const GLvoid *"/>
2966 <param name="length" type="GLsizei"/>
2970 <template name="CreateProgram">
2972 <return type="GLuint"/>
2976 <template name="AttachShader">
2978 <return type="void"/>
2979 <param name="program" type="GLuint"/>
2980 <param name="shader" type="GLuint"/>
2984 <template name="DetachShader">
2986 <return type="void"/>
2987 <param name="program" type="GLuint"/>
2988 <param name="shader" type="GLuint"/>
2992 <template name="LinkProgram">
2994 <return type="void"/>
2995 <param name="program" type="GLuint"/>
2999 <template name="UseProgram">
3001 <return type="void"/>
3002 <param name="program" type="GLuint"/>
3006 <template name="DeleteProgram">
3008 <return type="void"/>
3009 <param name="program" type="GLuint"/>
3013 <template name="GetActiveAttrib" direction="get">
3015 <return type="void"/>
3016 <param name="program" type="GLuint"/>
3017 <param name="index" type="GLuint"/>
3018 <param name="bufSize" type="GLsizei"/>
3019 <param name="length" type="GLsizei *"/>
3020 <param name="size" type="GLint *"/>
3021 <param name="type" type="GLenum *"/>
3022 <param name="name" type="GLchar *"/>
3026 <template name="GetAttribLocation" direction="get">
3028 <return type="GLint"/>
3029 <param name="program" type="GLuint"/>
3030 <param name="name" type="const char *"/>
3034 <template name="BindAttribLocation">
3036 <return type="void"/>
3037 <param name="program" type="GLuint"/>
3038 <param name="index" type="GLuint"/>
3039 <param name="name" type="const char *"/>
3043 <template name="GetUniformLocation" direction="get">
3045 <return type="GLint"/>
3046 <param name="program" type="GLuint"/>
3047 <param name="name" type="const char *"/>
3051 <template name="GetActiveUniform" direction="get">
3053 <return type="void"/>
3054 <param name="program" type="GLuint"/>
3055 <param name="index" type="GLuint"/>
3056 <param name="bufSize" type="GLsizei"/>
3057 <param name="length" type="GLsizei *"/>
3058 <param name="size" type="GLint *"/>
3059 <param name="type" type="GLenum *"/>
3060 <param name="name" type="GLchar *"/>
3064 <template name="Uniform">
3066 <return type="void"/>
3067 <param name="location" type="GLint"/>
3068 <param name="count" type="GLsizei" hide_if_expanded="true"/>
3069 <vector name="values" type="const GLtype *" size="dynamic">
3070 <param name="v0" type="GLtype"/>
3071 <param name="v1" type="GLtype"/>
3072 <param name="v2" type="GLtype"/>
3073 <param name="v3" type="GLtype"/>
3078 <template name="UniformMatrix">
3080 <return type="void"/>
3081 <param name="location" type="GLint"/>
3082 <param name="count" type="GLsizei"/>
3083 <param name="transpose" type="GLboolean"/>
3084 <vector name="value" type="const GLtype *" size="dynamic"/>
3088 <template name="ValidateProgram">
3090 <return type="void"/>
3091 <param name="program" type="GLuint"/>
3095 <template name="GenerateMipmap">
3097 <return type="void"/>
3098 <param name="target" type="GLenum"/>
3101 <desc name="target">
3102 <value name="GL_TEXTURE_2D"/>
3103 <value name="GL_TEXTURE_CUBE_MAP" category="GLES2.0"/>
3104 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
3105 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
3109 <template name="BindFramebuffer">
3111 <return type="void"/>
3112 <param name="target" type="GLenum"/>
3113 <param name="framebuffer" type="GLuint"/>
3117 <template name="DeleteFramebuffers">
3119 <return type="void"/>
3120 <param name="n" type="GLsizei"/>
3121 <param name="framebuffers" type="const GLuint *"/>
3125 <template name="GenFramebuffers">
3127 <return type="void"/>
3128 <param name="n" type="GLsizei"/>
3129 <param name="ids" type="GLuint *"/>
3133 <template name="BindRenderbuffer">
3135 <return type="void"/>
3136 <param name="target" type="GLenum"/>
3137 <param name="renderbuffer" type="GLuint"/>
3141 <template name="DeleteRenderbuffers">
3143 <return type="void"/>
3144 <param name="n" type="GLsizei"/>
3145 <param name="renderbuffers" type="const GLuint *"/>
3149 <template name="GenRenderbuffers">
3151 <return type="void"/>
3152 <param name="n" type="GLsizei"/>
3153 <param name="renderbuffers" type="GLuint *"/>
3157 <template name="RenderbufferStorage">
3159 <return type="void"/>
3160 <param name="target" type="GLenum"/>
3161 <param name="internalFormat" type="GLenum"/>
3162 <param name="width" type="GLsizei"/>
3163 <param name="height" type="GLsizei"/>
3166 <desc name="internalFormat">
3167 <value name="GL_DEPTH_COMPONENT16_OES" category="OES_framebuffer_object"/>
3168 <value name="GL_RGBA4_OES" category="OES_framebuffer_object"/>
3169 <value name="GL_RGB5_A1_OES" category="OES_framebuffer_object"/>
3170 <value name="GL_RGB565_OES" category="OES_framebuffer_object"/>
3171 <value name="GL_STENCIL_INDEX8_OES" category="OES_stencil8"/>
3173 <value name="GL_DEPTH_COMPONENT16" category="GLES2.0"/>
3174 <value name="GL_RGBA4" category="GLES2.0"/>
3175 <value name="GL_RGB5_A1" category="GLES2.0"/>
3176 <value name="GL_RGB565" category="GLES2.0"/>
3177 <value name="GL_STENCIL_INDEX8" category="GLES2.0"/>
3179 <value name="GL_DEPTH_COMPONENT24_OES" category="OES_depth24"/>
3180 <value name="GL_DEPTH_COMPONENT32_OES" category="OES_depth32"/>
3181 <value name="GL_RGB8_OES" category="OES_rgb8_rgba8"/>
3182 <value name="GL_RGBA8_OES" category="OES_rgb8_rgba8"/>
3183 <value name="GL_STENCIL_INDEX1_OES" category="OES_stencil1"/>
3184 <value name="GL_STENCIL_INDEX4_OES" category="OES_stencil4"/>
3185 <value name="GL_DEPTH24_STENCIL8_OES" category="OES_packed_depth_stencil"/>
3189 <template name="FramebufferRenderbuffer">
3191 <return type="void"/>
3192 <param name="target" type="GLenum"/>
3193 <param name="attachment" type="GLenum"/>
3194 <param name="renderbuffertarget" type="GLenum"/>
3195 <param name="renderbuffer" type="GLuint"/>
3199 <template name="FramebufferTexture2D">
3201 <return type="void"/>
3202 <param name="target" type="GLenum"/>
3203 <param name="attachment" type="GLenum"/>
3204 <param name="textarget" type="GLenum"/>
3205 <param name="texture" type="GLuint"/>
3206 <param name="level" type="GLint"/>
3209 <desc name="textarget" error="GL_INVALID_OPERATION">
3210 <value name="GL_TEXTURE_2D"/>
3211 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
3212 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
3213 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
3214 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
3215 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
3216 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
3217 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
3218 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
3219 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
3220 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
3221 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
3222 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
3224 <!-- According to the base specification, "level" must be 0. But
3225 extension GL_OES_fbo_render_mipmap lifts that restriction,
3226 so no restriction is placed here. -->
3229 <template name="FramebufferTexture3D">
3231 <return type="void"/>
3232 <param name="target" type="GLenum"/>
3233 <param name="attachment" type="GLenum"/>
3234 <param name="textarget" type="GLenum"/>
3235 <param name="texture" type="GLuint"/>
3236 <param name="level" type="GLint"/>
3237 <param name="zoffset" type="GLint"/>
3240 <desc name="textarget" error="GL_INVALID_OPERATION">
3241 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
3245 <template name="CheckFramebufferStatus" direction="get">
3247 <return type="GLenum"/>
3248 <param name="target" type="GLenum"/>
3252 <template name="GetFramebufferAttachmentParameter" direction="get">
3254 <return type="void"/>
3255 <param name="target" type="GLenum"/>
3256 <param name="attachment" type="GLenum"/>
3257 <param name="pname" type="GLenum"/>
3258 <vector name="params" type="GLtype *" size="dynamic"/>
3262 <value name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES" category="OES_framebuffer_object"/>
3263 <value name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES" category="OES_framebuffer_object"/>
3264 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES" category="OES_framebuffer_object"/>
3265 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES" category="OES_framebuffer_object"/>
3267 <value name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE" category="GLES2.0"/>
3268 <value name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME" category="GLES2.0"/>
3269 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL" category="GLES2.0"/>
3270 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE" category="GLES2.0"/>
3271 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES" category="OES_texture_3D"/>
3273 <desc name="params" vector_size="1" convert="false"/>
3277 <template name="GetRenderbufferParameter" direction="get">
3279 <return type="void"/>
3280 <param name="target" type="GLenum"/>
3281 <param name="pname" type="GLenum"/>
3282 <vector name="params" type="GLtype *" size="dynamic"/>
3285 <desc name="pname" category="OES_framebuffer_object">
3286 <value name="GL_RENDERBUFFER_WIDTH_OES"/>
3287 <value name="GL_RENDERBUFFER_HEIGHT_OES"/>
3288 <value name="GL_RENDERBUFFER_INTERNAL_FORMAT_OES"/>
3289 <value name="GL_RENDERBUFFER_RED_SIZE_OES"/>
3290 <value name="GL_RENDERBUFFER_GREEN_SIZE_OES"/>
3291 <value name="GL_RENDERBUFFER_BLUE_SIZE_OES"/>
3292 <value name="GL_RENDERBUFFER_ALPHA_SIZE_OES"/>
3293 <value name="GL_RENDERBUFFER_DEPTH_SIZE_OES"/>
3294 <value name="GL_RENDERBUFFER_STENCIL_SIZE_OES"/>
3296 <desc name="params" vector_size="1" convert="false"/>
3299 <desc name="pname" category="GLES2.0">
3300 <value name="GL_RENDERBUFFER_WIDTH"/>
3301 <value name="GL_RENDERBUFFER_HEIGHT"/>
3302 <value name="GL_RENDERBUFFER_INTERNAL_FORMAT"/>
3303 <value name="GL_RENDERBUFFER_RED_SIZE"/>
3304 <value name="GL_RENDERBUFFER_GREEN_SIZE"/>
3305 <value name="GL_RENDERBUFFER_BLUE_SIZE"/>
3306 <value name="GL_RENDERBUFFER_ALPHA_SIZE"/>
3307 <value name="GL_RENDERBUFFER_DEPTH_SIZE"/>
3308 <value name="GL_RENDERBUFFER_STENCIL_SIZE"/>
3310 <desc name="params" vector_size="1" convert="false"/>
3314 <template name="IsRenderbuffer" direction="get">
3316 <return type="GLboolean"/>
3317 <param name="renderbuffer" type="GLuint"/>
3321 <template name="IsFramebuffer" direction="get">
3323 <return type="GLboolean"/>
3324 <param name="framebuffer" type="GLuint"/>
3328 <template name="IsShader" direction="get">
3330 <return type="GLboolean"/>
3331 <param name="shader" type="GLuint"/>
3335 <template name="GetShader" direction="get">
3337 <return type="void"/>
3338 <param name="shader" type="GLuint"/>
3339 <param name="pname" type="GLenum"/>
3340 <vector name="params" type="GLtype *" size="dynamic"/>
3344 <value name="GL_SHADER_TYPE"/>
3345 <value name="GL_COMPILE_STATUS"/>
3346 <value name="GL_DELETE_STATUS"/>
3347 <value name="GL_INFO_LOG_LENGTH"/>
3348 <value name="GL_SHADER_SOURCE_LENGTH"/>
3352 <template name="GetAttachedShaders" direction="get">
3354 <return type="void"/>
3355 <param name="program" type="GLuint"/>
3356 <param name="maxCount" type="GLsizei"/>
3357 <param name="count" type="GLsizei *"/>
3358 <param name="shaders" type="GLuint *"/>
3362 <template name="GetShaderInfoLog" direction="get">
3364 <return type="void"/>
3365 <param name="shader" type="GLuint"/>
3366 <param name="bufSize" type="GLsizei"/>
3367 <param name="length" type="GLsizei *"/>
3368 <param name="infoLog" type="GLchar *"/>
3372 <template name="GetProgramInfoLog" direction="get">
3374 <return type="void"/>
3375 <param name="program" type="GLuint"/>
3376 <param name="bufSize" type="GLsizei"/>
3377 <param name="length" type="GLsizei *"/>
3378 <param name="infoLog" type="GLchar *"/>
3382 <template name="GetShaderSource" direction="get">
3384 <return type="void"/>
3385 <param name="shader" type="GLuint"/>
3386 <param name="bufSize" type="GLsizei"/>
3387 <param name="length" type="GLsizei *"/>
3388 <param name="source" type="GLchar *"/>
3392 <template name="GetShaderPrecisionFormat" direction="get">
3394 <return type="void"/>
3395 <param name="shadertype" type="GLenum"/>
3396 <param name="precisiontype" type="GLenum"/>
3397 <param name="range" type="GLint *"/>
3398 <param name="precision" type="GLint *"/>
3401 <desc name="shadertype">
3402 <value name="GL_VERTEX_SHADER"/>
3403 <value name="GL_FRAGMENT_SHADER"/>
3406 <desc name="precisiontype">
3407 <value name="GL_LOW_FLOAT"/>
3408 <value name="GL_MEDIUM_FLOAT"/>
3409 <value name="GL_HIGH_FLOAT"/>
3410 <value name="GL_LOW_INT"/>
3411 <value name="GL_MEDIUM_INT"/>
3412 <value name="GL_HIGH_INT"/>
3416 <template name="GetUniform" direction="get">
3418 <return type="void"/>
3419 <param name="program" type="GLuint"/>
3420 <param name="location" type="GLint"/>
3421 <vector name="params" type="GLtype *" size="dynamic"/>
3425 <template name="QueryMatrix" direction="get">
3427 <return type="GLbitfield"/>
3428 <vector name="mantissa" type="GLtype *" size="16"/>
3429 <vector name="exponent" type="GLint *" size="16"/>
3433 <template name="DrawTex">
3435 <return type="void"/>
3436 <vector name="coords" type="const GLtype *" size="5">
3437 <param name="x" type="GLtype"/>
3438 <param name="y" type="GLtype"/>
3439 <param name="z" type="GLtype"/>
3440 <param name="w" type="GLtype"/>
3441 <param name="h" type="GLtype"/>
3446 <template name="MultiDrawArrays">
3448 <return type="void"/>
3449 <param name="mode" type="GLenum"/>
3450 <param name="first" type="const GLint *"/>
3451 <param name="count" type="const GLsizei *"/>
3452 <param name="primcount" type="GLsizei"/>
3456 <value name="GL_POINTS"/>
3457 <value name="GL_LINES"/>
3458 <value name="GL_LINE_LOOP"/>
3459 <value name="GL_LINE_STRIP"/>
3460 <value name="GL_TRIANGLES"/>
3461 <value name="GL_TRIANGLE_STRIP"/>
3462 <value name="GL_TRIANGLE_FAN"/>
3466 <template name="MultiDrawElements">
3468 <return type="void"/>
3469 <param name="mode" type="GLenum"/>
3470 <param name="count" type="const GLsizei *"/>
3471 <param name="type" type="GLenum"/>
3472 <param name="indices" type="const GLvoid **"/>
3473 <param name="primcount" type="GLsizei"/>
3477 <value name="GL_POINTS"/>
3478 <value name="GL_LINES"/>
3479 <value name="GL_LINE_LOOP"/>
3480 <value name="GL_LINE_STRIP"/>
3481 <value name="GL_TRIANGLES"/>
3482 <value name="GL_TRIANGLE_STRIP"/>
3483 <value name="GL_TRIANGLE_FAN"/>
3487 <value name="GL_UNSIGNED_BYTE"/>
3488 <value name="GL_UNSIGNED_SHORT"/>
3489 <value name="GL_UNSIGNED_INT" category="OES_element_index_uint"/>
3493 <template name="EGLImageTargetTexture2D">
3495 <return type="void"/>
3496 <param name="target" type="GLenum"/>
3497 <param name="image" type="GLeglImageOES"/>
3500 <desc name="target">
3501 <value name="GL_TEXTURE_2D"/>
3502 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
3506 <template name="EGLImageTargetRenderbufferStorage">
3508 <return type="void"/>
3509 <param name="target" type="GLenum"/>
3510 <param name="image" type="GLeglImageOES"/>
3514 <template name="DrawBuffers">
3516 <return type="void"/>
3517 <param name="n" type="GLsizei"/>
3518 <param name="bufs" type="const GLenum *"/>
3522 <api name="mesa" implementation="true">
3523 <category name="MESA"/>
3525 <function name="Color4f" default_prefix="_es_" template="Color" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3526 <function name="ClipPlane" template="ClipPlane" gltype="GLdouble"/>
3527 <function name="CullFace" template="CullFace"/>
3529 <function name="Fogf" template="Fog" gltype="GLfloat" expand_vector="true"/>
3530 <function name="Fogfv" template="Fog" gltype="GLfloat"/>
3532 <function name="FrontFace" template="FrontFace"/>
3533 <function name="Hint" template="Hint"/>
3535 <function name="Lightf" template="Light" gltype="GLfloat" expand_vector="true"/>
3536 <function name="Lightfv" template="Light" gltype="GLfloat"/>
3538 <function name="LightModelf" template="LightModel" gltype="GLfloat" expand_vector="true"/>
3539 <function name="LightModelfv" template="LightModel" gltype="GLfloat"/>
3541 <function name="LineWidth" template="LineWidth" gltype="GLfloat"/>
3543 <function name="Materialf" default_prefix="_es_" template="Material" gltype="GLfloat" expand_vector="true"/>
3544 <function name="Materialfv" default_prefix="_es_" template="Material" gltype="GLfloat"/>
3546 <function name="PointSize" template="PointSize" gltype="GLfloat"/>
3547 <function name="PointSizePointer" template="PointSizePointer"/>
3549 <function name="Scissor" template="Scissor"/>
3550 <function name="ShadeModel" template="ShadeModel"/>
3552 <function name="TexParameterf" template="TexParameter" gltype="GLfloat" expand_vector="true"/>
3553 <function name="TexParameterfv" template="TexParameter" gltype="GLfloat"/>
3554 <function name="TexParameteri" template="TexParameter" gltype="GLint" expand_vector="true"/>
3555 <function name="TexParameteriv" template="TexParameter" gltype="GLint"/>
3557 <function name="TexImage2D" template="TexImage2D"/>
3559 <function name="TexEnvf" template="TexEnv" gltype="GLfloat" expand_vector="true"/>
3560 <function name="TexEnvi" template="TexEnv" gltype="GLint" expand_vector="true"/>
3561 <function name="TexEnvfv" template="TexEnv" gltype="GLfloat"/>
3562 <function name="TexEnviv" template="TexEnv" gltype="GLint"/>
3564 <function name="TexGenf" template="TexGen" gltype="GLfloat" expand_vector="true"/>
3565 <function name="TexGenfv" template="TexGen" gltype="GLfloat"/>
3567 <function name="Clear" template="Clear"/>
3568 <function name="ClearColor" template="ClearColor" gltype="GLclampf"/>
3569 <function name="ClearStencil" template="ClearStencil"/>
3570 <function name="ClearDepth" template="ClearDepth" gltype="GLclampd"/>
3571 <function name="ClearDepthf" template="ClearDepth" gltype="GLclampf"/>
3573 <function name="StencilMask" template="StencilMask"/>
3574 <function name="StencilMaskSeparate" template="StencilMaskSeparate"/>
3575 <function name="ColorMask" template="ColorMask"/>
3576 <function name="DepthMask" template="DepthMask"/>
3577 <function name="Disable" template="Disable"/>
3578 <function name="Enable" template="Enable"/>
3579 <function name="Finish" template="Finish"/>
3580 <function name="Flush" template="Flush"/>
3582 <function name="AlphaFunc" template="AlphaFunc" gltype="GLclampf"/>
3584 <function name="BlendFunc" template="BlendFunc"/>
3585 <function name="LogicOp" template="LogicOp"/>
3586 <function name="StencilFunc" template="StencilFunc"/>
3587 <function name="StencilFuncSeparate" template="StencilFuncSeparate"/>
3588 <function name="StencilOp" template="StencilOp"/>
3589 <function name="StencilOpSeparate" template="StencilOpSeparate"/>
3590 <function name="DepthFunc" template="DepthFunc"/>
3591 <function name="PixelStorei" template="PixelStore" gltype="GLint"/>
3593 <function name="ReadPixels" template="ReadPixels"/>
3594 <function name="GetBooleanv" template="GetState" gltype="GLboolean"/>
3595 <function name="GetClipPlane" template="GetClipPlane" gltype="GLdouble"/>
3596 <function name="GetError" template="GetError"/>
3597 <function name="GetFloatv" template="GetState" gltype="GLfloat"/>
3598 <function name="GetFixedv" template="GetState" gltype="GLfixed"/>
3599 <function name="GetIntegerv" template="GetState" gltype="GLint"/>
3601 <function name="GetLightfv" template="GetLight" gltype="GLfloat"/>
3602 <function name="GetMaterialfv" template="GetMaterial" gltype="GLfloat"/>
3603 <function name="GetMaterialiv" template="GetMaterial" gltype="GLint"/>
3605 <function name="GetString" template="GetString"/>
3607 <function name="GetTexEnvfv" template="GetTexEnv" gltype="GLfloat"/>
3608 <function name="GetTexEnviv" template="GetTexEnv" gltype="GLint"/>
3609 <function name="GetTexGenfv" template="GetTexGen" gltype="GLfloat"/>
3610 <function name="GetTexParameterfv" template="GetTexParameter" gltype="GLfloat"/>
3611 <function name="GetTexParameteriv" template="GetTexParameter" gltype="GLint"/>
3613 <function name="IsEnabled" template="IsEnabled"/>
3615 <function name="DepthRange" template="DepthRange" gltype="GLclampd"/>
3616 <function name="DepthRangef" template="DepthRange" gltype="GLclampf"/>
3617 <function name="Frustum" template="Frustum" gltype="GLdouble"/>
3619 <function name="LoadIdentity" template="LoadIdentity"/>
3620 <function name="LoadMatrixf" template="LoadMatrix" gltype="GLfloat"/>
3621 <function name="MatrixMode" template="MatrixMode"/>
3623 <function name="MultMatrixf" template="MultMatrix" gltype="GLfloat"/>
3624 <function name="Ortho" template="Ortho" gltype="GLdouble"/>
3625 <function name="PopMatrix" template="PopMatrix"/>
3626 <function name="PushMatrix" template="PushMatrix"/>
3628 <function name="Rotatef" template="Rotate" gltype="GLfloat"/>
3629 <function name="Scalef" template="Scale" gltype="GLfloat"/>
3630 <function name="Translatef" template="Translate" gltype="GLfloat"/>
3632 <function name="Viewport" template="Viewport"/>
3634 <function name="ColorPointer" template="ColorPointer"/>
3635 <function name="DisableClientState" template="DisableClientState"/>
3636 <function name="DrawArrays" template="DrawArrays"/>
3637 <function name="DrawElements" template="DrawElements"/>
3638 <function name="EnableClientState" template="EnableClientState"/>
3640 <function name="GetPointerv" template="GetPointer"/>
3641 <function name="Normal3f" default_prefix="_es_" template="Normal" gltype="GLfloat" expand_vector="true"/>
3642 <function name="NormalPointer" template="NormalPointer"/>
3643 <function name="TexCoordPointer" template="TexCoordPointer"/>
3644 <function name="VertexPointer" template="VertexPointer"/>
3646 <function name="PolygonOffset" template="PolygonOffset" gltype="GLfloat"/>
3647 <function name="CopyTexImage2D" template="CopyTexImage2D"/>
3648 <function name="CopyTexSubImage2D" template="CopyTexSubImage2D"/>
3649 <function name="TexSubImage2D" template="TexSubImage2D"/>
3651 <function name="BindTexture" template="BindTexture"/>
3652 <function name="DeleteTextures" template="DeleteTextures"/>
3653 <function name="GenTextures" template="GenTextures"/>
3654 <function name="IsTexture" template="IsTexture"/>
3656 <function name="BlendColor" template="BlendColor" gltype="GLclampf"/>
3657 <function name="BlendEquation" template="BlendEquation"/>
3658 <function name="BlendEquationSeparateEXT" template="BlendEquationSeparate"/>
3660 <function name="TexImage3D" template="TexImage3D"/>
3661 <function name="TexSubImage3D" template="TexSubImage3D"/>
3662 <function name="CopyTexSubImage3D" template="CopyTexSubImage3D"/>
3664 <function name="CompressedTexImage3DARB" template="CompressedTexImage3D"/>
3665 <function name="CompressedTexSubImage3DARB" template="CompressedTexSubImage3D"/>
3667 <function name="ActiveTextureARB" template="ActiveTexture"/>
3668 <function name="ClientActiveTextureARB" template="ClientActiveTexture"/>
3670 <function name="MultiTexCoord4f" default_prefix="_es_" template="MultiTexCoord" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3672 <function name="SampleCoverageARB" template="SampleCoverage" gltype="GLclampf"/>
3674 <function name="CompressedTexImage2DARB" template="CompressedTexImage2D"/>
3675 <function name="CompressedTexSubImage2DARB" template="CompressedTexSubImage2D"/>
3677 <function name="BlendFuncSeparateEXT" template="BlendFuncSeparate"/>
3679 <function name="PointParameterf" template="PointParameter" gltype="GLfloat" expand_vector="true"/>
3680 <function name="PointParameterfv" template="PointParameter" gltype="GLfloat"/>
3682 <function name="VertexAttrib1f" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="1" expand_vector="true"/>
3683 <function name="VertexAttrib2f" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="2" expand_vector="true"/>
3684 <function name="VertexAttrib3f" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="3" expand_vector="true"/>
3685 <function name="VertexAttrib4f" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3686 <function name="VertexAttrib1fv" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="1"/>
3687 <function name="VertexAttrib2fv" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="2"/>
3688 <function name="VertexAttrib3fv" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="3"/>
3689 <function name="VertexAttrib4fv" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="4"/>
3691 <function name="VertexAttribPointerARB" template="VertexAttribPointer"/>
3692 <function name="EnableVertexAttribArrayARB" template="EnableVertexAttribArray"/>
3693 <function name="DisableVertexAttribArrayARB" template="DisableVertexAttribArray"/>
3695 <function name="IsProgram" template="IsProgram"/>
3696 <function name="GetProgramiv" template="GetProgram" gltype="GLint"/>
3698 <function name="GetVertexAttribfvARB" template="GetVertexAttrib" gltype="GLfloat"/>
3699 <function name="GetVertexAttribivARB" template="GetVertexAttrib" gltype="GLint"/>
3700 <function name="GetVertexAttribPointervARB" template="GetVertexAttribPointer"/>
3702 <function name="GetBufferPointervARB" template="GetBufferPointer"/>
3703 <function name="MapBufferARB" template="MapBuffer"/>
3704 <function name="UnmapBufferARB" template="UnmapBuffer"/>
3705 <function name="BindBufferARB" template="BindBuffer"/>
3706 <function name="BufferDataARB" template="BufferData"/>
3707 <function name="BufferSubDataARB" template="BufferSubData"/>
3708 <function name="DeleteBuffersARB" template="DeleteBuffers"/>
3709 <function name="GenBuffersARB" template="GenBuffers"/>
3710 <function name="GetBufferParameterivARB" template="GetBufferParameter" gltype="GLint"/>
3711 <function name="IsBufferARB" template="IsBuffer"/>
3713 <function name="CreateShader" template="CreateShader"/>
3714 <function name="ShaderSourceARB" template="ShaderSource"/>
3715 <function name="CompileShaderARB" template="CompileShader"/>
3716 <function name="ReleaseShaderCompiler" template="ReleaseShaderCompiler"/>
3717 <function name="DeleteShader" template="DeleteShader"/>
3718 <function name="ShaderBinary" template="ShaderBinary"/>
3719 <function name="CreateProgram" template="CreateProgram"/>
3720 <function name="AttachShader" template="AttachShader"/>
3721 <function name="DetachShader" template="DetachShader"/>
3722 <function name="LinkProgramARB" template="LinkProgram"/>
3723 <function name="UseProgramObjectARB" template="UseProgram"/>
3724 <function name="DeleteProgram" template="DeleteProgram"/>
3726 <function name="GetActiveAttribARB" template="GetActiveAttrib"/>
3727 <function name="GetAttribLocationARB" template="GetAttribLocation"/>
3728 <function name="BindAttribLocationARB" template="BindAttribLocation"/>
3729 <function name="GetUniformLocationARB" template="GetUniformLocation"/>
3730 <function name="GetActiveUniformARB" template="GetActiveUniform"/>
3732 <function name="Uniform1fARB" template="Uniform" gltype="GLfloat" vector_size="1" expand_vector="true"/>
3733 <function name="Uniform2fARB" template="Uniform" gltype="GLfloat" vector_size="2" expand_vector="true"/>
3734 <function name="Uniform3fARB" template="Uniform" gltype="GLfloat" vector_size="3" expand_vector="true"/>
3735 <function name="Uniform4fARB" template="Uniform" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3736 <function name="Uniform1iARB" template="Uniform" gltype="GLint" vector_size="1" expand_vector="true"/>
3737 <function name="Uniform2iARB" template="Uniform" gltype="GLint" vector_size="2" expand_vector="true"/>
3738 <function name="Uniform3iARB" template="Uniform" gltype="GLint" vector_size="3" expand_vector="true"/>
3739 <function name="Uniform4iARB" template="Uniform" gltype="GLint" vector_size="4" expand_vector="true"/>
3740 <function name="Uniform1fvARB" template="Uniform" gltype="GLfloat" vector_size="1"/>
3741 <function name="Uniform2fvARB" template="Uniform" gltype="GLfloat" vector_size="2"/>
3742 <function name="Uniform3fvARB" template="Uniform" gltype="GLfloat" vector_size="3"/>
3743 <function name="Uniform4fvARB" template="Uniform" gltype="GLfloat" vector_size="4"/>
3744 <function name="Uniform1ivARB" template="Uniform" gltype="GLint" vector_size="1"/>
3745 <function name="Uniform2ivARB" template="Uniform" gltype="GLint" vector_size="2"/>
3746 <function name="Uniform3ivARB" template="Uniform" gltype="GLint" vector_size="3"/>
3747 <function name="Uniform4ivARB" template="Uniform" gltype="GLint" vector_size="4"/>
3749 <function name="UniformMatrix2fvARB" template="UniformMatrix" gltype="GLfloat" vector_size="2"/>
3750 <function name="UniformMatrix3fvARB" template="UniformMatrix" gltype="GLfloat" vector_size="3"/>
3751 <function name="UniformMatrix4fvARB" template="UniformMatrix" gltype="GLfloat" vector_size="4"/>
3753 <function name="ValidateProgramARB" template="ValidateProgram"/>
3755 <function name="GenerateMipmapEXT" template="GenerateMipmap"/>
3756 <function name="BindFramebufferEXT" template="BindFramebuffer"/>
3757 <function name="DeleteFramebuffersEXT" template="DeleteFramebuffers"/>
3758 <function name="GenFramebuffersEXT" template="GenFramebuffers"/>
3759 <function name="BindRenderbufferEXT" template="BindRenderbuffer"/>
3760 <function name="DeleteRenderbuffersEXT" template="DeleteRenderbuffers"/>
3761 <function name="GenRenderbuffersEXT" template="GenRenderbuffers"/>
3762 <function name="RenderbufferStorageEXT" template="RenderbufferStorage"/>
3763 <function name="FramebufferRenderbufferEXT" template="FramebufferRenderbuffer"/>
3764 <function name="FramebufferTexture2DEXT" template="FramebufferTexture2D"/>
3765 <function name="FramebufferTexture3DEXT" template="FramebufferTexture3D"/>
3766 <function name="CheckFramebufferStatusEXT" template="CheckFramebufferStatus"/>
3767 <function name="GetFramebufferAttachmentParameterivEXT" template="GetFramebufferAttachmentParameter" gltype="GLint"/>
3768 <function name="GetRenderbufferParameterivEXT" template="GetRenderbufferParameter" gltype="GLint"/>
3769 <function name="IsRenderbufferEXT" template="IsRenderbuffer"/>
3770 <function name="IsFramebufferEXT" template="IsFramebuffer"/>
3772 <function name="IsShader" template="IsShader"/>
3773 <function name="GetShaderiv" template="GetShader" gltype="GLint"/>
3774 <function name="GetAttachedShaders" template="GetAttachedShaders"/>
3775 <function name="GetShaderInfoLog" template="GetShaderInfoLog"/>
3776 <function name="GetProgramInfoLog" template="GetProgramInfoLog"/>
3777 <function name="GetShaderSourceARB" template="GetShaderSource"/>
3778 <function name="GetShaderPrecisionFormat" template="GetShaderPrecisionFormat"/>
3779 <function name="GetUniformfvARB" template="GetUniform" gltype="GLfloat"/>
3780 <function name="GetUniformivARB" template="GetUniform" gltype="GLint"/>
3782 <function name="DrawTexf" template="DrawTex" gltype="GLfloat" expand_vector="true"/>
3783 <function name="DrawTexfv" template="DrawTex" gltype="GLfloat"/>
3784 <function name="DrawTexi" template="DrawTex" gltype="GLint" expand_vector="true"/>
3785 <function name="DrawTexiv" template="DrawTex" gltype="GLint"/>
3786 <function name="DrawTexs" template="DrawTex" gltype="GLshort" expand_vector="true"/>
3787 <function name="DrawTexsv" template="DrawTex" gltype="GLshort"/>
3789 <!-- EXT_multi_draw_arrays -->
3790 <function name="MultiDrawArraysEXT" template="MultiDrawArrays"/>
3791 <function name="MultiDrawElementsEXT" template="MultiDrawElements"/>
3793 <!-- OES_EGL_image -->
3794 <function name="EGLImageTargetTexture2DOES" template="EGLImageTargetTexture2D"/>
3795 <function name="EGLImageTargetRenderbufferStorageOES" template="EGLImageTargetRenderbufferStorage"/>
3797 <function name="DrawBuffersARB" template="DrawBuffers"/>
3800 <api name="GLES1.1">
3801 <category name="GLES1.1"/>
3803 <category name="OES_byte_coordinates"/>
3804 <category name="OES_fixed_point"/>
3805 <category name="OES_single_precision"/>
3806 <category name="OES_matrix_get"/>
3807 <category name="OES_read_format"/>
3808 <category name="OES_compressed_paletted_texture"/>
3809 <category name="OES_point_size_array"/>
3810 <category name="OES_point_sprite"/>
3811 <category name="OES_query_matrix"/>
3812 <category name="OES_draw_texture"/>
3813 <category name="OES_blend_equation_separate"/>
3814 <category name="OES_blend_func_separate"/>
3815 <category name="OES_blend_subtract"/>
3816 <category name="OES_stencil_wrap"/>
3817 <category name="OES_texture_cube_map"/>
3818 <category name="OES_texture_env_crossbar"/>
3819 <category name="OES_texture_mirrored_repeat"/>
3820 <category name="OES_framebuffer_object"/>
3821 <category name="OES_depth24"/>
3822 <category name="OES_depth32"/>
3823 <category name="OES_fbo_render_mipmap"/>
3824 <category name="OES_rgb8_rgba8"/>
3825 <category name="OES_stencil1"/>
3826 <category name="OES_stencil4"/>
3827 <category name="OES_stencil8"/>
3828 <category name="OES_element_index_uint"/>
3829 <category name="OES_mapbuffer"/>
3830 <category name="EXT_texture_filter_anisotropic"/>
3832 <category name="ARB_texture_non_power_of_two"/>
3833 <!-- disabled due to missing enums
3834 <category name="EXT_texture_compression_dxt1"/>
3836 <category name="EXT_texture_lod_bias"/>
3837 <category name="EXT_blend_minmax"/>
3838 <category name="EXT_multi_draw_arrays"/>
3839 <category name="OES_EGL_image"/>
3840 <category name="OES_EGL_image_external"/>
3842 <category name="OES_matrix_palette"/>
3844 <function name="Color4f" external="true" template="Color" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3845 <function name="Color4ub" template="Color" gltype="GLubyte" vector_size="4" expand_vector="true"/>
3846 <function name="Color4x" template="Color" gltype="GLfixed" vector_size="4" expand_vector="true"/>
3848 <function name="ClipPlanef" template="ClipPlane" gltype="GLfloat"/>
3849 <function name="ClipPlanex" template="ClipPlane" gltype="GLfixed"/>
3851 <function name="CullFace" template="CullFace"/>
3853 <function name="Fogf" template="Fog" gltype="GLfloat" expand_vector="true"/>
3854 <function name="Fogx" template="Fog" gltype="GLfixed" expand_vector="true"/>
3855 <function name="Fogfv" template="Fog" gltype="GLfloat"/>
3856 <function name="Fogxv" template="Fog" gltype="GLfixed"/>
3858 <function name="FrontFace" template="FrontFace"/>
3859 <function name="Hint" template="Hint"/>
3861 <function name="Lightf" template="Light" gltype="GLfloat" expand_vector="true"/>
3862 <function name="Lightx" template="Light" gltype="GLfixed" expand_vector="true"/>
3863 <function name="Lightfv" template="Light" gltype="GLfloat"/>
3864 <function name="Lightxv" template="Light" gltype="GLfixed"/>
3866 <function name="LightModelf" template="LightModel" gltype="GLfloat" expand_vector="true"/>
3867 <function name="LightModelx" template="LightModel" gltype="GLfixed" expand_vector="true"/>
3868 <function name="LightModelfv" template="LightModel" gltype="GLfloat"/>
3869 <function name="LightModelxv" template="LightModel" gltype="GLfixed"/>
3871 <function name="LineWidth" template="LineWidth" gltype="GLfloat"/>
3872 <function name="LineWidthx" template="LineWidth" gltype="GLfixed"/>
3874 <function name="Materialf" external="true" template="Material" gltype="GLfloat" expand_vector="true"/>
3875 <function name="Materialfv" external="true" template="Material" gltype="GLfloat"/>
3876 <function name="Materialx" template="Material" gltype="GLfixed" expand_vector="true"/>
3877 <function name="Materialxv" template="Material" gltype="GLfixed"/>
3879 <function name="PointSize" template="PointSize" gltype="GLfloat"/>
3880 <function name="PointSizex" template="PointSize" gltype="GLfixed"/>
3881 <function name="PointSizePointerOES" template="PointSizePointer"/>
3883 <function name="Scissor" template="Scissor"/>
3884 <function name="ShadeModel" template="ShadeModel"/>
3886 <function name="TexParameterf" template="TexParameter" gltype="GLfloat" expand_vector="true"/>
3887 <function name="TexParameterfv" template="TexParameter" gltype="GLfloat"/>
3888 <function name="TexParameteri" template="TexParameter" gltype="GLint" expand_vector="true"/>
3889 <function name="TexParameteriv" template="TexParameter" gltype="GLint"/>
3890 <function name="TexParameterx" template="TexParameter" gltype="GLfixed" expand_vector="true"/>
3891 <function name="TexParameterxv" template="TexParameter" gltype="GLfixed"/>
3893 <function name="TexImage2D" template="TexImage2D"/>
3895 <function name="TexEnvf" template="TexEnv" gltype="GLfloat" expand_vector="true"/>
3896 <function name="TexEnvfv" template="TexEnv" gltype="GLfloat"/>
3897 <function name="TexEnvi" template="TexEnv" gltype="GLint" expand_vector="true"/>
3898 <function name="TexEnviv" template="TexEnv" gltype="GLint"/>
3899 <function name="TexEnvx" template="TexEnv" gltype="GLfixed" expand_vector="true"/>
3900 <function name="TexEnvxv" template="TexEnv" gltype="GLfixed"/>
3902 <function name="TexGenfOES" external="true" template="TexGen" gltype="GLfloat" expand_vector="true"/>
3903 <function name="TexGenfvOES" external="true" template="TexGen" gltype="GLfloat"/>
3904 <function name="TexGeniOES" external="true" template="TexGen" gltype="GLint" expand_vector="true"/>
3905 <function name="TexGenivOES" external="true" template="TexGen" gltype="GLint"/>
3906 <function name="TexGenxOES" external="true" template="TexGen" gltype="GLfixed" expand_vector="true"/>
3907 <function name="TexGenxvOES" external="true" template="TexGen" gltype="GLfixed"/>
3909 <function name="Clear" template="Clear"/>
3910 <function name="ClearColor" template="ClearColor" gltype="GLclampf"/>
3911 <function name="ClearColorx" template="ClearColor" gltype="GLclampx"/>
3913 <function name="ClearStencil" template="ClearStencil"/>
3914 <function name="ClearDepthf" template="ClearDepth" gltype="GLclampf"/>
3915 <function name="ClearDepthx" template="ClearDepth" gltype="GLclampx"/>
3917 <function name="StencilMask" template="StencilMask"/>
3918 <function name="ColorMask" template="ColorMask"/>
3919 <function name="DepthMask" template="DepthMask"/>
3921 <function name="Disable" template="Disable"/>
3922 <function name="Enable" template="Enable"/>
3923 <function name="Finish" template="Finish"/>
3924 <function name="Flush" template="Flush"/>
3926 <function name="AlphaFunc" template="AlphaFunc" gltype="GLclampf"/>
3927 <function name="AlphaFuncx" template="AlphaFunc" gltype="GLclampx"/>
3929 <function name="BlendFunc" template="BlendFunc"/>
3930 <function name="LogicOp" template="LogicOp"/>
3931 <function name="StencilFunc" template="StencilFunc"/>
3933 <function name="StencilOp" template="StencilOp"/>
3934 <function name="DepthFunc" template="DepthFunc"/>
3936 <function name="PixelStorei" template="PixelStore" gltype="GLint"/>
3937 <function name="ReadPixels" template="ReadPixels"/>
3939 <function name="GetBooleanv" template="GetState" gltype="GLboolean"/>
3941 <function name="GetClipPlanef" template="GetClipPlane" gltype="GLfloat"/>
3942 <function name="GetClipPlanex" template="GetClipPlane" gltype="GLfixed"/>
3944 <function name="GetError" template="GetError"/>
3945 <function name="GetFloatv" template="GetState" gltype="GLfloat"/>
3946 <function name="GetFixedv" template="GetState" gltype="GLfixed"/>
3947 <function name="GetIntegerv" template="GetState" gltype="GLint"/>
3949 <function name="GetLightfv" template="GetLight" gltype="GLfloat"/>
3950 <function name="GetLightxv" template="GetLight" gltype="GLfixed"/>
3952 <function name="GetMaterialfv" template="GetMaterial" gltype="GLfloat"/>
3953 <function name="GetMaterialxv" template="GetMaterial" gltype="GLfixed"/>
3955 <function name="GetString" template="GetString"/>
3957 <function name="GetTexEnvfv" template="GetTexEnv" gltype="GLfloat"/>
3958 <function name="GetTexEnviv" template="GetTexEnv" gltype="GLint"/>
3959 <function name="GetTexEnvxv" template="GetTexEnv" gltype="GLfixed"/>
3961 <function name="GetTexGenfvOES" external="true" template="GetTexGen" gltype="GLfloat"/>
3962 <function name="GetTexGenivOES" external="true" template="GetTexGen" gltype="GLint"/>
3963 <function name="GetTexGenxvOES" external="true" template="GetTexGen" gltype="GLfixed"/>
3965 <function name="GetTexParameterfv" template="GetTexParameter" gltype="GLfloat"/>
3966 <function name="GetTexParameteriv" template="GetTexParameter" gltype="GLint"/>
3967 <function name="GetTexParameterxv" template="GetTexParameter" gltype="GLfixed"/>
3969 <function name="IsEnabled" template="IsEnabled"/>
3971 <function name="DepthRangef" template="DepthRange" gltype="GLclampf"/>
3972 <function name="DepthRangex" template="DepthRange" gltype="GLclampx"/>
3974 <function name="Frustumf" template="Frustum" gltype="GLfloat"/>
3975 <function name="Frustumx" template="Frustum" gltype="GLfixed"/>
3977 <function name="LoadIdentity" template="LoadIdentity"/>
3978 <function name="LoadMatrixf" template="LoadMatrix" gltype="GLfloat"/>
3979 <function name="LoadMatrixx" template="LoadMatrix" gltype="GLfixed"/>
3980 <function name="MatrixMode" template="MatrixMode"/>
3982 <function name="MultMatrixf" template="MultMatrix" gltype="GLfloat"/>
3983 <function name="MultMatrixx" template="MultMatrix" gltype="GLfixed"/>
3984 <function name="Orthof" template="Ortho" gltype="GLfloat"/>
3985 <function name="Orthox" template="Ortho" gltype="GLfixed"/>
3987 <function name="PopMatrix" template="PopMatrix"/>
3988 <function name="PushMatrix" template="PushMatrix"/>
3990 <function name="Rotatef" template="Rotate" gltype="GLfloat"/>
3991 <function name="Rotatex" template="Rotate" gltype="GLfixed"/>
3992 <function name="Scalef" template="Scale" gltype="GLfloat"/>
3993 <function name="Scalex" template="Scale" gltype="GLfixed"/>
3994 <function name="Translatef" template="Translate" gltype="GLfloat"/>
3995 <function name="Translatex" template="Translate" gltype="GLfixed"/>
3997 <function name="Viewport" template="Viewport"/>
3998 <function name="ColorPointer" template="ColorPointer"/>
3999 <function name="DisableClientState" template="DisableClientState"/>
4000 <function name="DrawArrays" template="DrawArrays"/>
4001 <function name="DrawElements" template="DrawElements"/>
4002 <function name="EnableClientState" template="EnableClientState"/>
4004 <function name="GetPointerv" template="GetPointer"/>
4006 <function name="Normal3f" external="true" template="Normal" gltype="GLfloat" expand_vector="true"/>
4007 <function name="Normal3x" template="Normal" gltype="GLfixed" expand_vector="true"/>
4008 <function name="NormalPointer" template="NormalPointer"/>
4009 <function name="TexCoordPointer" template="TexCoordPointer"/>
4010 <function name="VertexPointer" template="VertexPointer"/>
4012 <function name="PolygonOffset" template="PolygonOffset" gltype="GLfloat"/>
4013 <function name="PolygonOffsetx" template="PolygonOffset" gltype="GLfixed"/>
4015 <function name="CopyTexImage2D" template="CopyTexImage2D"/>
4016 <function name="CopyTexSubImage2D" template="CopyTexSubImage2D"/>
4018 <function name="TexSubImage2D" template="TexSubImage2D"/>
4020 <function name="BindTexture" template="BindTexture"/>
4021 <function name="DeleteTextures" template="DeleteTextures"/>
4022 <function name="GenTextures" template="GenTextures"/>
4023 <function name="IsTexture" template="IsTexture"/>
4025 <function name="BlendEquationOES" template="BlendEquation"/>
4026 <function name="BlendEquationSeparateOES" template="BlendEquationSeparate"/>
4028 <function name="MultiTexCoord4x" template="MultiTexCoord" gltype="GLfixed" vector_size="4" expand_vector="true"/>
4030 <function name="ActiveTexture" template="ActiveTexture"/>
4031 <function name="ClientActiveTexture" template="ClientActiveTexture"/>
4033 <function name="MultiTexCoord4f" external="true" template="MultiTexCoord" gltype="GLfloat" vector_size="4" expand_vector="true"/>
4035 <function name="SampleCoverage" template="SampleCoverage" gltype="GLclampf"/>
4036 <function name="SampleCoveragex" template="SampleCoverage" gltype="GLclampx"/>
4038 <!-- CompressedTexImage2D calls out to two different functions based on
4039 whether the image is a paletted image or not -->
4040 <function name="CompressedTexImage2D" template="CompressedTexImage2D"/>
4041 <function name="CompressedTexSubImage2D" template="CompressedTexSubImage2D"/>
4043 <function name="BlendFuncSeparateOES" template="BlendFuncSeparate"/>
4045 <function name="PointParameterf" template="PointParameter" gltype="GLfloat" expand_vector="true"/>
4046 <function name="PointParameterfv" template="PointParameter" gltype="GLfloat"/>
4047 <function name="PointParameterx" template="PointParameter" gltype="GLfixed" expand_vector="true"/>
4048 <function name="PointParameterxv" template="PointParameter" gltype="GLfixed"/>
4050 <!-- OES_mapbuffer -->
4051 <function name="GetBufferPointervOES" template="GetBufferPointer"/>
4052 <function name="MapBufferOES" template="MapBuffer"/>
4053 <function name="UnmapBufferOES" template="UnmapBuffer"/>
4055 <function name="BindBuffer" template="BindBuffer"/>
4056 <function name="BufferData" template="BufferData"/>
4057 <function name="BufferSubData" template="BufferSubData"/>
4058 <function name="DeleteBuffers" template="DeleteBuffers"/>
4059 <function name="GenBuffers" template="GenBuffers"/>
4060 <function name="GetBufferParameteriv" template="GetBufferParameter" gltype="GLint"/>
4061 <function name="IsBuffer" template="IsBuffer"/>
4063 <!-- OES_framebuffer_object -->
4064 <function name="GenerateMipmapOES" template="GenerateMipmap"/>
4065 <function name="BindFramebufferOES" template="BindFramebuffer"/>
4066 <function name="DeleteFramebuffersOES" template="DeleteFramebuffers"/>
4067 <function name="GenFramebuffersOES" template="GenFramebuffers"/>
4068 <function name="BindRenderbufferOES" template="BindRenderbuffer"/>
4069 <function name="DeleteRenderbuffersOES" template="DeleteRenderbuffers"/>
4070 <function name="GenRenderbuffersOES" template="GenRenderbuffers"/>
4071 <function name="RenderbufferStorageOES" external="true" template="RenderbufferStorage"/>
4072 <function name="FramebufferRenderbufferOES" template="FramebufferRenderbuffer"/>
4073 <function name="FramebufferTexture2DOES" template="FramebufferTexture2D"/>
4074 <function name="CheckFramebufferStatusOES" template="CheckFramebufferStatus"/>
4075 <function name="GetFramebufferAttachmentParameterivOES" template="GetFramebufferAttachmentParameter" gltype="GLint"/>
4076 <function name="GetRenderbufferParameterivOES" template="GetRenderbufferParameter" gltype="GLint"/>
4077 <function name="IsRenderbufferOES" template="IsRenderbuffer"/>
4078 <function name="IsFramebufferOES" template="IsFramebuffer"/>
4080 <!-- OES_query_matrix -->
4081 <!-- QueryMatrixx returns values in an unusual, decomposed, fixed-value
4082 form; it has its own code for this -->
4083 <function name="QueryMatrixxOES" external="true" template="QueryMatrix" gltype="GLfixed"/>
4085 <!-- OES_draw_texture -->
4086 <function name="DrawTexfOES" template="DrawTex" gltype="GLfloat" expand_vector="true"/>
4087 <function name="DrawTexiOES" template="DrawTex" gltype="GLint" expand_vector="true"/>
4088 <function name="DrawTexsOES" template="DrawTex" gltype="GLshort" expand_vector="true"/>
4089 <function name="DrawTexxOES" template="DrawTex" gltype="GLfixed" expand_vector="true"/>
4090 <function name="DrawTexfvOES" template="DrawTex" gltype="GLfloat"/>
4091 <function name="DrawTexivOES" template="DrawTex" gltype="GLint"/>
4092 <function name="DrawTexsvOES" template="DrawTex" gltype="GLshort"/>
4093 <function name="DrawTexxvOES" template="DrawTex" gltype="GLfixed"/>
4095 <!-- EXT_multi_draw_arrays -->
4096 <function name="MultiDrawArraysEXT" template="MultiDrawArrays"/>
4097 <function name="MultiDrawElementsEXT" template="MultiDrawElements"/>
4099 <!-- OES_EGL_image -->
4100 <function name="EGLImageTargetTexture2DOES" template="EGLImageTargetTexture2D"/>
4101 <function name="EGLImageTargetRenderbufferStorageOES" template="EGLImageTargetRenderbufferStorage"/>
4104 <api name="GLES2.0">
4105 <category name="GLES2.0"/>
4107 <category name="OES_compressed_paletted_texture"/>
4108 <category name="OES_depth24"/>
4109 <category name="OES_depth32"/>
4110 <category name="OES_fbo_render_mipmap"/>
4111 <category name="OES_rgb8_rgba8"/>
4112 <category name="OES_stencil1"/>
4113 <category name="OES_stencil4"/>
4114 <category name="OES_element_index_uint"/>
4115 <category name="OES_mapbuffer"/>
4116 <category name="OES_texture_3D"/>
4117 <category name="OES_texture_npot"/>
4118 <category name="EXT_texture_filter_anisotropic"/>
4119 <category name="EXT_texture_type_2_10_10_10_REV"/>
4120 <category name="OES_depth_texture"/>
4121 <category name="OES_packed_depth_stencil"/>
4122 <category name="OES_standard_derivatives"/>
4123 <category name="EXT_texture_format_BGRA8888"/>
4125 <category name="EXT_texture_compression_dxt1"/>
4126 <category name="EXT_blend_minmax"/>
4127 <category name="EXT_multi_draw_arrays"/>
4128 <category name="OES_EGL_image"/>
4129 <category name="OES_EGL_image_external"/>
4131 <category name="NV_draw_buffers"/>
4132 <function name="DrawBuffersNV" template="DrawBuffers"/>
4134 <function name="CullFace" template="CullFace"/>
4136 <function name="FrontFace" template="FrontFace"/>
4137 <function name="Hint" template="Hint"/>
4139 <function name="LineWidth" template="LineWidth" gltype="GLfloat"/>
4141 <function name="Scissor" template="Scissor"/>
4143 <function name="TexParameterf" template="TexParameter" gltype="GLfloat" expand_vector="true"/>
4144 <function name="TexParameterfv" template="TexParameter" gltype="GLfloat"/>
4145 <function name="TexParameteri" template="TexParameter" gltype="GLint" expand_vector="true"/>
4146 <function name="TexParameteriv" template="TexParameter" gltype="GLint"/>
4148 <function name="TexImage2D" template="TexImage2D"/>
4150 <function name="Clear" template="Clear"/>
4151 <function name="ClearColor" template="ClearColor" gltype="GLclampf"/>
4152 <function name="ClearStencil" template="ClearStencil"/>
4153 <function name="ClearDepthf" template="ClearDepth" gltype="GLclampf"/>
4155 <function name="StencilMask" template="StencilMask"/>
4156 <function name="StencilMaskSeparate" template="StencilMaskSeparate"/>
4157 <function name="ColorMask" template="ColorMask"/>
4158 <function name="DepthMask" template="DepthMask"/>
4159 <function name="Disable" template="Disable"/>
4160 <function name="Enable" template="Enable"/>
4161 <function name="Finish" template="Finish"/>
4162 <function name="Flush" template="Flush"/>
4164 <function name="BlendFunc" template="BlendFunc"/>
4166 <function name="StencilFunc" template="StencilFunc"/>
4167 <function name="StencilFuncSeparate" template="StencilFuncSeparate"/>
4168 <function name="StencilOp" template="StencilOp"/>
4169 <function name="StencilOpSeparate" template="StencilOpSeparate"/>
4171 <function name="DepthFunc" template="DepthFunc"/>
4173 <function name="PixelStorei" template="PixelStore" gltype="GLint"/>
4174 <function name="ReadPixels" template="ReadPixels"/>
4176 <function name="GetBooleanv" template="GetState" gltype="GLboolean"/>
4177 <function name="GetError" template="GetError"/>
4178 <function name="GetFloatv" template="GetState" gltype="GLfloat"/>
4179 <function name="GetIntegerv" template="GetState" gltype="GLint"/>
4181 <function name="GetString" template="GetString"/>
4183 <function name="GetTexParameterfv" template="GetTexParameter" gltype="GLfloat"/>
4184 <function name="GetTexParameteriv" template="GetTexParameter" gltype="GLint"/>
4186 <function name="IsEnabled" template="IsEnabled"/>
4188 <function name="DepthRangef" template="DepthRange" gltype="GLclampf"/>
4190 <function name="Viewport" template="Viewport"/>
4192 <function name="DrawArrays" template="DrawArrays"/>
4193 <function name="DrawElements" template="DrawElements"/>
4195 <function name="PolygonOffset" template="PolygonOffset" gltype="GLfloat"/>
4196 <function name="CopyTexImage2D" template="CopyTexImage2D"/>
4197 <function name="CopyTexSubImage2D" template="CopyTexSubImage2D"/>
4198 <function name="TexSubImage2D" template="TexSubImage2D"/>
4200 <function name="BindTexture" template="BindTexture"/>
4201 <function name="DeleteTextures" template="DeleteTextures"/>
4202 <function name="GenTextures" template="GenTextures"/>
4203 <function name="IsTexture" template="IsTexture"/>
4205 <function name="BlendColor" template="BlendColor" gltype="GLclampf"/>
4206 <function name="BlendEquation" template="BlendEquation"/>
4207 <function name="BlendEquationSeparate" template="BlendEquationSeparate"/>
4209 <function name="TexImage3DOES" template="TexImage3D"/>
4210 <function name="TexSubImage3DOES" template="TexSubImage3D"/>
4211 <function name="CopyTexSubImage3DOES" template="CopyTexSubImage3D"/>
4213 <function name="CompressedTexImage3DOES" template="CompressedTexImage3D"/>
4214 <function name="CompressedTexSubImage3DOES" template="CompressedTexSubImage3D"/>
4216 <function name="ActiveTexture" template="ActiveTexture"/>
4218 <function name="SampleCoverage" template="SampleCoverage" gltype="GLclampf"/>
4220 <function name="CompressedTexImage2D" template="CompressedTexImage2D"/>
4221 <function name="CompressedTexSubImage2D" template="CompressedTexSubImage2D"/>
4223 <function name="BlendFuncSeparate" template="BlendFuncSeparate"/>
4225 <function name="VertexAttrib1f" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="1" expand_vector="true"/>
4226 <function name="VertexAttrib2f" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="2" expand_vector="true"/>
4227 <function name="VertexAttrib3f" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="3" expand_vector="true"/>
4228 <function name="VertexAttrib4f" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="4" expand_vector="true"/>
4229 <function name="VertexAttrib1fv" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="1"/>
4230 <function name="VertexAttrib2fv" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="2"/>
4231 <function name="VertexAttrib3fv" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="3"/>
4232 <function name="VertexAttrib4fv" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="4"/>
4234 <function name="VertexAttribPointer" template="VertexAttribPointer"/>
4236 <function name="EnableVertexAttribArray" template="EnableVertexAttribArray"/>
4237 <function name="DisableVertexAttribArray" template="DisableVertexAttribArray"/>
4239 <function name="IsProgram" template="IsProgram"/>
4240 <function name="GetProgramiv" template="GetProgram" gltype="GLint"/>
4242 <function name="GetVertexAttribfv" template="GetVertexAttrib" gltype="GLfloat"/>
4243 <function name="GetVertexAttribiv" template="GetVertexAttrib" gltype="GLint"/>
4244 <function name="GetVertexAttribPointerv" template="GetVertexAttribPointer"/>
4246 <function name="GetBufferPointervOES" template="GetBufferPointer"/>
4247 <function name="MapBufferOES" template="MapBuffer"/>
4248 <function name="UnmapBufferOES" template="UnmapBuffer"/>
4249 <function name="BindBuffer" template="BindBuffer"/>
4250 <function name="BufferData" template="BufferData"/>
4251 <function name="BufferSubData" template="BufferSubData"/>
4252 <function name="DeleteBuffers" template="DeleteBuffers"/>
4253 <function name="GenBuffers" template="GenBuffers"/>
4254 <function name="GetBufferParameteriv" template="GetBufferParameter" gltype="GLint"/>
4255 <function name="IsBuffer" template="IsBuffer"/>
4257 <function name="CreateShader" template="CreateShader"/>
4258 <function name="ShaderSource" template="ShaderSource"/>
4259 <function name="CompileShader" template="CompileShader"/>
4260 <function name="ReleaseShaderCompiler" template="ReleaseShaderCompiler"/>
4261 <function name="DeleteShader" template="DeleteShader"/>
4262 <function name="ShaderBinary" template="ShaderBinary"/>
4263 <function name="CreateProgram" template="CreateProgram"/>
4264 <function name="AttachShader" template="AttachShader"/>
4265 <function name="DetachShader" template="DetachShader"/>
4266 <function name="LinkProgram" template="LinkProgram"/>
4267 <function name="UseProgram" template="UseProgram"/>
4268 <function name="DeleteProgram" template="DeleteProgram"/>
4270 <function name="GetActiveAttrib" template="GetActiveAttrib"/>
4271 <function name="GetAttribLocation" template="GetAttribLocation"/>
4272 <function name="BindAttribLocation" template="BindAttribLocation"/>
4273 <function name="GetUniformLocation" template="GetUniformLocation"/>
4274 <function name="GetActiveUniform" template="GetActiveUniform"/>
4276 <function name="Uniform1f" template="Uniform" gltype="GLfloat" vector_size="1" expand_vector="true"/>
4277 <function name="Uniform2f" template="Uniform" gltype="GLfloat" vector_size="2" expand_vector="true"/>
4278 <function name="Uniform3f" template="Uniform" gltype="GLfloat" vector_size="3" expand_vector="true"/>
4279 <function name="Uniform4f" template="Uniform" gltype="GLfloat" vector_size="4" expand_vector="true"/>
4280 <function name="Uniform1i" template="Uniform" gltype="GLint" vector_size="1" expand_vector="true"/>
4281 <function name="Uniform2i" template="Uniform" gltype="GLint" vector_size="2" expand_vector="true"/>
4282 <function name="Uniform3i" template="Uniform" gltype="GLint" vector_size="3" expand_vector="true"/>
4283 <function name="Uniform4i" template="Uniform" gltype="GLint" vector_size="4" expand_vector="true"/>
4285 <function name="Uniform1fv" template="Uniform" gltype="GLfloat" vector_size="1"/>
4286 <function name="Uniform2fv" template="Uniform" gltype="GLfloat" vector_size="2"/>
4287 <function name="Uniform3fv" template="Uniform" gltype="GLfloat" vector_size="3"/>
4288 <function name="Uniform4fv" template="Uniform" gltype="GLfloat" vector_size="4"/>
4289 <function name="Uniform1iv" template="Uniform" gltype="GLint" vector_size="1"/>
4290 <function name="Uniform2iv" template="Uniform" gltype="GLint" vector_size="2"/>
4291 <function name="Uniform3iv" template="Uniform" gltype="GLint" vector_size="3"/>
4292 <function name="Uniform4iv" template="Uniform" gltype="GLint" vector_size="4"/>
4294 <function name="UniformMatrix2fv" template="UniformMatrix" gltype="GLfloat" vector_size="2"/>
4295 <function name="UniformMatrix3fv" template="UniformMatrix" gltype="GLfloat" vector_size="3"/>
4296 <function name="UniformMatrix4fv" template="UniformMatrix" gltype="GLfloat" vector_size="4"/>
4298 <function name="ValidateProgram" template="ValidateProgram"/>
4300 <function name="GenerateMipmap" template="GenerateMipmap"/>
4301 <function name="BindFramebuffer" template="BindFramebuffer"/>
4302 <function name="DeleteFramebuffers" template="DeleteFramebuffers"/>
4303 <function name="GenFramebuffers" template="GenFramebuffers"/>
4304 <function name="BindRenderbuffer" template="BindRenderbuffer"/>
4305 <function name="DeleteRenderbuffers" template="DeleteRenderbuffers"/>
4306 <function name="GenRenderbuffers" template="GenRenderbuffers"/>
4307 <function name="RenderbufferStorage" external="true" template="RenderbufferStorage"/>
4308 <function name="FramebufferRenderbuffer" template="FramebufferRenderbuffer"/>
4309 <function name="FramebufferTexture2D" template="FramebufferTexture2D"/>
4310 <function name="FramebufferTexture3DOES" template="FramebufferTexture3D"/>
4311 <function name="CheckFramebufferStatus" template="CheckFramebufferStatus"/>
4312 <function name="GetFramebufferAttachmentParameteriv" template="GetFramebufferAttachmentParameter" gltype="GLint"/>
4313 <function name="GetRenderbufferParameteriv" template="GetRenderbufferParameter" gltype="GLint"/>
4314 <function name="IsRenderbuffer" template="IsRenderbuffer"/>
4315 <function name="IsFramebuffer" template="IsFramebuffer"/>
4317 <function name="IsShader" template="IsShader"/>
4318 <function name="GetShaderiv" template="GetShader" gltype="GLint"/>
4319 <function name="GetAttachedShaders" template="GetAttachedShaders"/>
4320 <function name="GetShaderInfoLog" template="GetShaderInfoLog"/>
4321 <function name="GetProgramInfoLog" template="GetProgramInfoLog"/>
4322 <function name="GetShaderSource" template="GetShaderSource"/>
4323 <function name="GetShaderPrecisionFormat" template="GetShaderPrecisionFormat"/>
4324 <function name="GetUniformfv" template="GetUniform" gltype="GLfloat"/>
4325 <function name="GetUniformiv" template="GetUniform" gltype="GLint"/>
4327 <!-- EXT_multi_draw_arrays -->
4328 <function name="MultiDrawArraysEXT" template="MultiDrawArrays"/>
4329 <function name="MultiDrawElementsEXT" template="MultiDrawElements"/>
4331 <!-- OES_EGL_image -->
4332 <function name="EGLImageTargetTexture2DOES" template="EGLImageTargetTexture2D"/>
4333 <function name="EGLImageTargetRenderbufferStorageOES" template="EGLImageTargetRenderbufferStorage"/>