mesa/es: Remove redundant stencil op fail/zfail/zpass validation
[mesa.git] / src / mesa / main / APIspec.xml
1 <?xml version="1.0"?>
2 <!DOCTYPE apispec SYSTEM "APIspec.dtd">
3
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
7
8 <function name="Color3f" template="Color" gltype="GLfloat" vector_size="3" expand_vector="true"/>
9
10 and glColor4iv can be generated from
11
12 <function name="Color4iv" template="Color" gltype="GLint" vector_size="4"/>
13
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.
18
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.
22 -->
23
24 <apispec>
25
26 <template name="Color">
27 <proto>
28 <return type="void"/>
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"/>
34 </vector>
35 </proto>
36 </template>
37
38 <template name="ClipPlane">
39 <proto>
40 <return type="void"/>
41 <param name="plane" type="GLenum"/>
42 <vector name="equation" type="const GLtype *" size="4"/>
43 </proto>
44 </template>
45
46 <template name="CullFace">
47 <proto>
48 <return type="void"/>
49 <param name="mode" type="GLenum"/>
50 </proto>
51 </template>
52
53 <template name="Fog">
54 <proto>
55 <return type="void"/>
56 <param name="pname" type="GLenum"/>
57 <vector name="params" type="const GLtype *" size="dynamic">
58 <param name="param" type="GLtype"/>
59 </vector>
60 </proto>
61
62 <desc name="pname">
63 <value name="GL_FOG_MODE"/>
64 <desc name="param">
65 <value name="GL_EXP"/>
66 <value name="GL_EXP2"/>
67 <value name="GL_LINEAR"/>
68 </desc>
69 </desc>
70
71 <desc name="pname">
72 <value name="GL_FOG_COLOR"/>
73
74 <desc name="params" vector_size="4"/>
75 </desc>
76
77 <desc name="pname">
78 <value name="GL_FOG_DENSITY"/>
79 <value name="GL_FOG_START"/>
80 <value name="GL_FOG_END"/>
81
82 <desc name="params" vector_size="1"/>
83 </desc>
84 </template>
85
86 <template name="FrontFace">
87 <proto>
88 <return type="void"/>
89 <param name="mode" type="GLenum"/>
90 </proto>
91 </template>
92
93 <template name="Hint">
94 <proto>
95 <return type="void"/>
96 <param name="target" type="GLenum"/>
97 <param name="mode" type="GLenum"/>
98 </proto>
99
100 <desc name="target" category="GLES1.1">
101 <value name="GL_FOG_HINT"/>
102 <value name="GL_LINE_SMOOTH_HINT"/>
103 <value name="GL_PERSPECTIVE_CORRECTION_HINT"/>
104 <value name="GL_POINT_SMOOTH_HINT"/>
105 </desc>
106 <desc name="target" category="OES_standard_derivatives">
107 <value name="GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES"/>
108 </desc>
109 <desc name="target">
110 <value name="GL_GENERATE_MIPMAP_HINT"/>
111 </desc>
112 </template>
113
114 <template name="Light">
115 <proto>
116 <return type="void"/>
117 <param name="light" type="GLenum"/>
118 <param name="pname" type="GLenum"/>
119 <vector name="params" type="const GLtype *" size="dynamic">
120 <param name="param" type="GLtype"/>
121 </vector>
122 </proto>
123 </template>
124
125 <template name="LightModel">
126 <proto>
127 <return type="void"/>
128 <param name="pname" type="GLenum"/>
129 <vector name="params" type="const GLtype *" size="dynamic">
130 <param name="param" type="GLtype"/>
131 </vector>
132 </proto>
133
134 <desc name="pname">
135 <value name="GL_LIGHT_MODEL_AMBIENT"/>
136
137 <desc name="params" vector_size="4"/>
138 </desc>
139
140 <desc name="pname">
141 <value name="GL_LIGHT_MODEL_TWO_SIDE"/>
142 <desc name="param">
143 <value name="GL_TRUE"/>
144 <value name="GL_FALSE"/>
145 </desc>
146 </desc>
147 </template>
148
149 <template name="LineWidth">
150 <proto>
151 <return type="void"/>
152 <param name="width" type="GLtype"/>
153 </proto>
154 </template>
155
156 <template name="Material">
157 <proto>
158 <return type="void"/>
159 <param name="face" type="GLenum"/>
160 <param name="pname" type="GLenum"/>
161 <vector name="params" type="const GLtype *" size="dynamic">
162 <param name="param" type="GLtype"/>
163 </vector>
164 </proto>
165
166 <desc name="face">
167 <value name="GL_FRONT_AND_BACK"/>
168 </desc>
169
170 <desc name="pname">
171 <value name="GL_AMBIENT"/>
172 <value name="GL_DIFFUSE"/>
173 <value name="GL_AMBIENT_AND_DIFFUSE"/>
174 <value name="GL_SPECULAR"/>
175 <value name="GL_EMISSION"/>
176
177 <desc name="params" vector_size="4"/>
178 </desc>
179
180 <desc name="pname">
181 <value name="GL_SHININESS"/>
182
183 <desc name="params" vector_size="1"/>
184 </desc>
185 </template>
186
187 <template name="PointSize">
188 <proto>
189 <return type="void"/>
190 <param name="size" type="GLtype"/>
191 </proto>
192 </template>
193
194 <template name="PointSizePointer">
195 <proto>
196 <return type="void"/>
197 <param name="type" type="GLenum"/>
198 <param name="stride" type="GLsizei"/>
199 <param name="pointer" type="const GLvoid *"/>
200 </proto>
201
202 <desc name="type">
203 <value name="GL_FLOAT"/>
204 <value name="GL_FIXED"/>
205 </desc>
206 </template>
207
208 <template name="Scissor">
209 <proto>
210 <return type="void"/>
211 <param name="x" type="GLint"/>
212 <param name="y" type="GLint"/>
213 <param name="width" type="GLsizei"/>
214 <param name="height" type="GLsizei"/>
215 </proto>
216 </template>
217
218 <template name="ShadeModel">
219 <proto>
220 <return type="void"/>
221 <param name="mode" type="GLenum"/>
222 </proto>
223 </template>
224
225 <template name="TexParameter">
226 <proto>
227 <return type="void"/>
228 <param name="target" type="GLenum"/>
229 <param name="pname" type="GLenum"/>
230 <vector name="params" type="const GLtype *" size="dynamic">
231 <param name="param" type="GLtype"/>
232 </vector>
233 </proto>
234
235 <desc name="target">
236 <value name="GL_TEXTURE_2D"/>
237 <value name="GL_TEXTURE_CUBE_MAP" category="GLES2.0"/>
238 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
239 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
240 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
241 </desc>
242
243 <desc name="pname">
244 <value name="GL_TEXTURE_WRAP_S"/>
245 <value name="GL_TEXTURE_WRAP_T"/>
246 <value name="GL_TEXTURE_WRAP_R_OES" category="OES_texture_3D"/>
247
248 <desc name="param">
249 <value name="GL_CLAMP_TO_EDGE"/>
250 <value name="GL_REPEAT"/>
251 <value name="GL_MIRRORED_REPEAT" category="GLES2.0"/>
252 <value name="GL_MIRRORED_REPEAT_OES" category="OES_texture_mirrored_repeat"/>
253 </desc>
254 </desc>
255
256 <desc name="pname">
257 <value name="GL_TEXTURE_MIN_FILTER"/>
258 <value name="GL_TEXTURE_MAG_FILTER"/>
259 <value name="GL_TEXTURE_MAX_ANISOTROPY_EXT" category="EXT_texture_filter_anisotropic"/>
260 </desc>
261
262 <desc name="pname" category="GLES1.1">
263 <value name="GL_GENERATE_MIPMAP"/>
264
265 <desc name="param">
266 <value name="GL_TRUE"/>
267 <value name="GL_FALSE"/>
268 </desc>
269 </desc>
270
271 <desc name="pname" category="OES_draw_texture">
272 <value name="GL_TEXTURE_CROP_RECT_OES"/>
273 <desc name="params" vector_size="4"/>
274 </desc>
275 </template>
276
277 <template name="TexImage2D">
278 <proto>
279 <return type="void"/>
280 <param name="target" type="GLenum"/>
281 <param name="level" type="GLint"/>
282 <param name="internalFormat" type="GLint"/> <!-- should be GLenum -->
283 <param name="width" type="GLsizei"/>
284 <param name="height" type="GLsizei"/>
285 <param name="border" type="GLint"/>
286 <param name="format" type="GLenum"/>
287 <param name="type" type="GLenum"/>
288 <param name="pixels" type="const GLvoid *"/>
289 </proto>
290
291 <desc name="target">
292 <value name="GL_TEXTURE_2D"/>
293 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
294 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
295 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
296 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
297 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
298 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
299 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
300 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
301 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
302 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
303 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
304 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
305 </desc>
306
307 <desc name="internalFormat">
308 <value name="GL_ALPHA"/>
309
310 <desc name="format" error="GL_INVALID_VALUE">
311 <value name="GL_ALPHA"/>
312 </desc>
313 </desc>
314
315 <desc name="internalFormat">
316 <value name="GL_RGB"/>
317
318 <desc name="format" error="GL_INVALID_VALUE">
319 <value name="GL_RGB"/>
320 </desc>
321 </desc>
322
323 <desc name="internalFormat">
324 <value name="GL_RGBA"/>
325
326 <desc name="format" error="GL_INVALID_VALUE">
327 <value name="GL_RGBA"/>
328 </desc>
329 </desc>
330
331 <desc name="internalFormat">
332 <value name="GL_LUMINANCE"/>
333
334 <desc name="format" error="GL_INVALID_VALUE">
335 <value name="GL_LUMINANCE"/>
336 </desc>
337 </desc>
338
339 <desc name="internalFormat">
340 <value name="GL_LUMINANCE_ALPHA"/>
341
342 <desc name="format" error="GL_INVALID_VALUE">
343 <value name="GL_LUMINANCE_ALPHA"/>
344 </desc>
345 </desc>
346
347 <desc name="internalFormat" category="OES_depth_texture">
348 <value name="GL_DEPTH_COMPONENT"/>
349
350 <desc name="format" error="GL_INVALID_VALUE">
351 <value name="GL_DEPTH_COMPONENT"/>
352 </desc>
353 </desc>
354
355 <desc name="internalFormat" category="OES_packed_depth_stencil">
356 <value name="GL_DEPTH_STENCIL_OES"/>
357
358 <desc name="format" error="GL_INVALID_VALUE">
359 <value name="GL_DEPTH_STENCIL_OES"/>
360 </desc>
361 </desc>
362
363 <desc name="internalFormat" category="EXT_texture_format_BGRA8888">
364 <value name="GL_BGRA_EXT"/>
365
366 <desc name="format" error="GL_INVALID_VALUE">
367 <value name="GL_BGRA_EXT"/>
368 </desc>
369 </desc>
370
371 <desc name="border" error="GL_INVALID_VALUE">
372 <value name="0"/>
373 </desc>
374
375 <desc name="format">
376 <value name="GL_ALPHA"/>
377
378 <desc name="type" error="GL_INVALID_OPERATION">
379 <value name="GL_UNSIGNED_BYTE"/>
380 <value name="GL_FLOAT" category="OES_texture_float"/>
381 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
382 </desc>
383 </desc>
384
385 <desc name="format">
386 <value name="GL_RGB"/>
387
388 <desc name="type" error="GL_INVALID_OPERATION">
389 <value name="GL_UNSIGNED_BYTE"/>
390 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
391 <value name="GL_FLOAT" category="OES_texture_float"/>
392 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
393 </desc>
394 </desc>
395
396 <desc name="format">
397 <value name="GL_RGBA"/>
398
399 <desc name="type" error="GL_INVALID_OPERATION">
400 <value name="GL_UNSIGNED_BYTE"/>
401 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
402 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
403 <value name="GL_FLOAT" category="OES_texture_float"/>
404 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
405 <value name="GL_UNSIGNED_INT_2_10_10_10_REV_EXT" category="EXT_texture_type_2_10_10_10_REV"/>
406 </desc>
407 </desc>
408
409 <desc name="format">
410 <value name="GL_LUMINANCE"/>
411
412 <desc name="type" error="GL_INVALID_OPERATION">
413 <value name="GL_UNSIGNED_BYTE"/>
414 <value name="GL_FLOAT" category="OES_texture_float"/>
415 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
416 </desc>
417 </desc>
418
419 <desc name="format">
420 <value name="GL_LUMINANCE_ALPHA"/>
421
422 <desc name="type" error="GL_INVALID_OPERATION">
423 <value name="GL_UNSIGNED_BYTE"/>
424 <value name="GL_FLOAT" category="OES_texture_float"/>
425 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
426 </desc>
427 </desc>
428
429 <desc name="format" category="OES_depth_texture">
430 <value name="GL_DEPTH_COMPONENT"/>
431
432 <desc name="type" error="GL_INVALID_OPERATION">
433 <value name="GL_UNSIGNED_SHORT"/>
434 <value name="GL_UNSIGNED_INT"/>
435 </desc>
436 </desc>
437
438 <desc name="format" category="OES_packed_depth_stencil">
439 <value name="GL_DEPTH_STENCIL_OES"/>
440 <desc name="type" error="GL_INVALID_OPERATION">
441 <value name="GL_UNSIGNED_INT_24_8_OES"/>
442 </desc>
443 </desc>
444
445 <desc name="format" category="EXT_texture_format_BGRA8888">
446 <value name="GL_BGRA_EXT"/>
447
448 <desc name="type" error="GL_INVALID_OPERATION">
449 <value name="GL_UNSIGNED_BYTE"/>
450 </desc>
451 </desc>
452 </template>
453
454 <template name="TexEnv">
455 <proto>
456 <return type="void"/>
457 <param name="target" type="GLenum"/>
458 <param name="pname" type="GLenum"/>
459 <vector name="params" type="const GLtype *" size="dynamic">
460 <param name="param" type="GLtype"/>
461 </vector>
462 </proto>
463
464 <desc name="target" category="OES_point_sprite">
465 <value name="GL_POINT_SPRITE_OES"/>
466
467 <desc name="pname">
468 <value name="GL_COORD_REPLACE_OES"/>
469 </desc>
470 </desc>
471
472 <desc name="pname" category="OES_point_sprite">
473 <value name="GL_COORD_REPLACE_OES"/>
474
475 <desc name="param">
476 <value name="GL_TRUE"/>
477 <value name="GL_FALSE"/>
478 </desc>
479 </desc>
480
481 <desc name="target" category="EXT_texture_lod_bias">
482 <value name="GL_TEXTURE_FILTER_CONTROL_EXT"/>
483
484 <desc name="pname">
485 <value name="GL_TEXTURE_LOD_BIAS_EXT"/>
486 </desc>
487 </desc>
488
489 <desc name="pname" category="EXT_texture_lod_bias">
490 <value name="GL_TEXTURE_LOD_BIAS_EXT"/>
491 <desc name="params" vector_size="1"/>
492 </desc>
493
494 <desc name="target">
495 <value name="GL_TEXTURE_ENV"/>
496
497 <desc name="pname">
498 <value name="GL_TEXTURE_ENV_MODE"/>
499 <value name="GL_COMBINE_RGB"/>
500 <value name="GL_COMBINE_ALPHA"/>
501 <value name="GL_RGB_SCALE"/>
502 <value name="GL_ALPHA_SCALE"/>
503 <value name="GL_SRC0_RGB"/>
504 <value name="GL_SRC1_RGB"/>
505 <value name="GL_SRC2_RGB"/>
506 <value name="GL_SRC0_ALPHA"/>
507 <value name="GL_SRC1_ALPHA"/>
508 <value name="GL_SRC2_ALPHA"/>
509 <value name="GL_OPERAND0_RGB"/>
510 <value name="GL_OPERAND1_RGB"/>
511 <value name="GL_OPERAND2_RGB"/>
512 <value name="GL_OPERAND0_ALPHA"/>
513 <value name="GL_OPERAND1_ALPHA"/>
514 <value name="GL_OPERAND2_ALPHA"/>
515 <value name="GL_TEXTURE_ENV_COLOR"/>
516 </desc>
517 </desc>
518
519 <desc name="pname">
520 <value name="GL_TEXTURE_ENV_MODE"/>
521
522 <desc name="param">
523 <value name="GL_REPLACE"/>
524 <value name="GL_MODULATE"/>
525 <value name="GL_DECAL"/>
526 <value name="GL_BLEND"/>
527 <value name="GL_ADD"/>
528 <value name="GL_COMBINE"/>
529 </desc>
530 </desc>
531
532 <desc name="pname">
533 <value name="GL_COMBINE_RGB"/>
534
535 <desc name="param">
536 <value name="GL_REPLACE"/>
537 <value name="GL_MODULATE"/>
538 <value name="GL_ADD"/>
539 <value name="GL_ADD_SIGNED"/>
540 <value name="GL_INTERPOLATE"/>
541 <value name="GL_SUBTRACT"/>
542 <value name="GL_DOT3_RGB"/>
543 <value name="GL_DOT3_RGBA"/>
544 </desc>
545 </desc>
546
547 <desc name="pname">
548 <value name="GL_COMBINE_ALPHA"/>
549
550 <desc name="param">
551 <value name="GL_REPLACE"/>
552 <value name="GL_MODULATE"/>
553 <value name="GL_ADD"/>
554 <value name="GL_ADD_SIGNED"/>
555 <value name="GL_INTERPOLATE"/>
556 <value name="GL_SUBTRACT"/>
557 </desc>
558 </desc>
559
560 <desc name="pname">
561 <value name="GL_RGB_SCALE"/>
562 <value name="GL_ALPHA_SCALE"/>
563 </desc>
564
565 <desc name="pname">
566 <value name="GL_SRC0_RGB"/>
567 <value name="GL_SRC1_RGB"/>
568 <value name="GL_SRC2_RGB"/>
569 <value name="GL_SRC0_ALPHA"/>
570 <value name="GL_SRC1_ALPHA"/>
571 <value name="GL_SRC2_ALPHA"/>
572
573 <desc name="param">
574 <value name="GL_TEXTURE"/>
575 <value name="GL_CONSTANT"/>
576 <value name="GL_PRIMARY_COLOR"/>
577 <value name="GL_PREVIOUS"/>
578
579 <range base="GL_TEXTURE" from="0" to="31" category="OES_texture_env_crossbar"/>
580 </desc>
581 </desc>
582
583 <desc name="pname">
584 <value name="GL_OPERAND0_RGB"/>
585 <value name="GL_OPERAND1_RGB"/>
586 <value name="GL_OPERAND2_RGB"/>
587
588 <desc name="param">
589 <value name="GL_SRC_COLOR"/>
590 <value name="GL_ONE_MINUS_SRC_COLOR"/>
591 <value name="GL_SRC_ALPHA"/>
592 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
593 </desc>
594 </desc>
595
596 <desc name="pname">
597 <value name="GL_OPERAND0_ALPHA"/>
598 <value name="GL_OPERAND1_ALPHA"/>
599 <value name="GL_OPERAND2_ALPHA"/>
600
601 <desc name="param">
602 <value name="GL_SRC_ALPHA"/>
603 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
604 </desc>
605 </desc>
606
607 <desc name="pname">
608 <value name="GL_TEXTURE_ENV_COLOR"/>
609
610 <desc name="params" vector_size="4"/>
611 </desc>
612 </template>
613
614 <template name="TexGen">
615 <proto>
616 <return type="void"/>
617 <param name="coord" type="GLenum"/>
618 <param name="pname" type="GLenum"/>
619 <vector name="params" type="const GLtype *" size="dynamic">
620 <param name="param" type="GLtype"/>
621 </vector>
622 </proto>
623
624 <desc name="coord" category="OES_texture_cube_map">
625 <value name="GL_TEXTURE_GEN_STR_OES"/>
626 </desc>
627
628 <desc name="pname" category="OES_texture_cube_map">
629 <value name="GL_TEXTURE_GEN_MODE_OES"/>
630
631 <desc name="param">
632 <value name="GL_NORMAL_MAP_OES"/>
633 <value name="GL_REFLECTION_MAP_OES"/>
634 </desc>
635 </desc>
636 </template>
637
638 <template name="Clear">
639 <proto>
640 <return type="void"/>
641 <param name="mask" type="GLbitfield"/>
642 </proto>
643
644 <desc name="mask" error="GL_INVALID_VALUE">
645 <value name="0"/>
646 <value name="(GL_COLOR_BUFFER_BIT)"/>
647 <value name="(GL_DEPTH_BUFFER_BIT)"/>
648 <value name="(GL_STENCIL_BUFFER_BIT)"/>
649 <value name="(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT)"/>
650 <value name="(GL_COLOR_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)"/>
651 <value name="(GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)"/>
652 <value name="(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)"/>
653 </desc>
654 </template>
655
656 <template name="ClearColor">
657 <proto>
658 <return type="void"/>
659 <param name="red" type="GLtype"/>
660 <param name="green" type="GLtype"/>
661 <param name="blue" type="GLtype"/>
662 <param name="alpha" type="GLtype"/>
663 </proto>
664 </template>
665
666 <template name="ClearStencil">
667 <proto>
668 <return type="void"/>
669 <param name="s" type="GLint"/>
670 </proto>
671 </template>
672
673 <template name="ClearDepth">
674 <proto>
675 <return type="void"/>
676 <param name="depth" type="GLtype"/>
677 </proto>
678 </template>
679
680 <template name="StencilMask">
681 <proto>
682 <return type="void"/>
683 <param name="mask" type="GLuint"/>
684 </proto>
685 </template>
686
687 <template name="StencilMaskSeparate">
688 <proto>
689 <return type="void"/>
690 <param name="face" type="GLenum"/>
691 <param name="mask" type="GLuint"/>
692 </proto>
693 </template>
694
695 <template name="ColorMask">
696 <proto>
697 <return type="void"/>
698 <param name="red" type="GLboolean"/>
699 <param name="green" type="GLboolean"/>
700 <param name="blue" type="GLboolean"/>
701 <param name="alpha" type="GLboolean"/>
702 </proto>
703 </template>
704
705 <template name="DepthMask">
706 <proto>
707 <return type="void"/>
708 <param name="flag" type="GLboolean"/>
709 </proto>
710 </template>
711
712 <template name="Disable">
713 <proto>
714 <return type="void"/>
715 <param name="cap" type="GLenum"/>
716 </proto>
717
718 <desc name="cap" category="GLES1.1">
719 <value name="GL_NORMALIZE"/>
720 <value name="GL_RESCALE_NORMAL"/>
721
722 <range base="GL_CLIP_PLANE" from="0" to="5"/>
723 <value name="GL_CLIP_PLANE0+6"/>
724 <value name="GL_CLIP_PLANE0+7"/>
725
726 <value name="GL_FOG"/>
727 <value name="GL_LIGHTING"/>
728 <value name="GL_COLOR_MATERIAL"/>
729
730 <range base="GL_LIGHT" from="0" to="7"/>
731
732 <value name="GL_POINT_SMOOTH"/>
733 <value name="GL_LINE_SMOOTH"/>
734 <value name="GL_CULL_FACE"/>
735 <value name="GL_POLYGON_OFFSET_FILL"/>
736 <value name="GL_MULTISAMPLE"/>
737 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
738 <value name="GL_SAMPLE_ALPHA_TO_ONE"/>
739 <value name="GL_SAMPLE_COVERAGE"/>
740 <value name="GL_TEXTURE_2D"/>
741 <value name="GL_SCISSOR_TEST"/>
742 <value name="GL_ALPHA_TEST"/>
743 <value name="GL_STENCIL_TEST"/>
744 <value name="GL_DEPTH_TEST"/>
745 <value name="GL_BLEND"/>
746 <value name="GL_DITHER"/>
747 <value name="GL_COLOR_LOGIC_OP"/>
748
749 <value name="GL_POINT_SPRITE_OES" category="OES_point_sprite"/>
750 <value name="GL_MATRIX_PALETTE_OES" category="OES_matrix_palette"/>
751 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
752 <value name="GL_TEXTURE_GEN_STR_OES" category="OES_texture_cube_map"/>
753 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
754 </desc>
755
756 <desc name="cap" category="GLES2.0">
757 <value name="GL_CULL_FACE"/>
758 <value name="GL_SCISSOR_TEST"/>
759 <value name="GL_POLYGON_OFFSET_FILL"/>
760 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
761 <value name="GL_SAMPLE_COVERAGE"/>
762 <value name="GL_STENCIL_TEST"/>
763 <value name="GL_DEPTH_TEST"/>
764 <value name="GL_DITHER"/>
765 <value name="GL_BLEND"/>
766 </desc>
767 </template>
768
769 <!-- it is exactly the same as Disable -->
770 <template name="Enable">
771 <proto>
772 <return type="void"/>
773 <param name="cap" type="GLenum"/>
774 </proto>
775
776 <desc name="cap" category="GLES1.1">
777 <value name="GL_NORMALIZE"/>
778 <value name="GL_RESCALE_NORMAL"/>
779
780 <range base="GL_CLIP_PLANE" from="0" to="5"/>
781 <value name="GL_CLIP_PLANE0+6"/>
782 <value name="GL_CLIP_PLANE0+7"/>
783
784 <value name="GL_FOG"/>
785 <value name="GL_LIGHTING"/>
786 <value name="GL_COLOR_MATERIAL"/>
787
788 <range base="GL_LIGHT" from="0" to="7"/>
789
790 <value name="GL_POINT_SMOOTH"/>
791 <value name="GL_LINE_SMOOTH"/>
792 <value name="GL_CULL_FACE"/>
793 <value name="GL_POLYGON_OFFSET_FILL"/>
794 <value name="GL_MULTISAMPLE"/>
795 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
796 <value name="GL_SAMPLE_ALPHA_TO_ONE"/>
797 <value name="GL_SAMPLE_COVERAGE"/>
798 <value name="GL_TEXTURE_2D"/>
799 <value name="GL_SCISSOR_TEST"/>
800 <value name="GL_ALPHA_TEST"/>
801 <value name="GL_STENCIL_TEST"/>
802 <value name="GL_DEPTH_TEST"/>
803 <value name="GL_BLEND"/>
804 <value name="GL_DITHER"/>
805 <value name="GL_COLOR_LOGIC_OP"/>
806
807 <value name="GL_POINT_SPRITE_OES" category="OES_point_sprite"/>
808 <value name="GL_MATRIX_PALETTE_OES" category="OES_matrix_palette"/>
809 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
810 <value name="GL_TEXTURE_GEN_STR_OES" category="OES_texture_cube_map"/>
811 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
812 </desc>
813
814 <desc name="cap" category="GLES2.0">
815 <value name="GL_CULL_FACE"/>
816 <value name="GL_SCISSOR_TEST"/>
817 <value name="GL_POLYGON_OFFSET_FILL"/>
818 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
819 <value name="GL_SAMPLE_COVERAGE"/>
820 <value name="GL_STENCIL_TEST"/>
821 <value name="GL_DEPTH_TEST"/>
822 <value name="GL_DITHER"/>
823 <value name="GL_BLEND"/>
824 </desc>
825 </template>
826
827 <template name="Finish">
828 <proto>
829 <return type="void"/>
830 </proto>
831 </template>
832
833 <template name="Flush">
834 <proto>
835 <return type="void"/>
836 </proto>
837 </template>
838
839 <template name="AlphaFunc">
840 <proto>
841 <return type="void"/>
842 <param name="func" type="GLenum"/>
843 <param name="ref" type="GLtype"/>
844 </proto>
845 </template>
846
847 <template name="BlendFunc">
848 <proto>
849 <return type="void"/>
850 <param name="sfactor" type="GLenum"/>
851 <param name="dfactor" type="GLenum"/>
852 </proto>
853
854 <desc name="sfactor">
855 <value name="GL_ZERO"/>
856 <value name="GL_ONE"/>
857 <value name="GL_SRC_COLOR"/>
858 <value name="GL_ONE_MINUS_SRC_COLOR"/>
859 <value name="GL_SRC_ALPHA"/>
860 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
861 <value name="GL_DST_ALPHA"/>
862 <value name="GL_ONE_MINUS_DST_ALPHA"/>
863 <value name="GL_DST_COLOR"/>
864 <value name="GL_ONE_MINUS_DST_COLOR"/>
865 <value name="GL_SRC_ALPHA_SATURATE"/>
866
867 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
868 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
869 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
870 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
871 </desc>
872
873 <desc name="dfactor">
874 <value name="GL_ZERO"/>
875 <value name="GL_ONE"/>
876 <value name="GL_SRC_COLOR"/>
877 <value name="GL_ONE_MINUS_SRC_COLOR"/>
878 <value name="GL_SRC_ALPHA"/>
879 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
880 <value name="GL_DST_ALPHA"/>
881 <value name="GL_ONE_MINUS_DST_ALPHA"/>
882 <value name="GL_DST_COLOR"/>
883 <value name="GL_ONE_MINUS_DST_COLOR"/>
884
885 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
886 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
887 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
888 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
889 </desc>
890 </template>
891
892 <template name="LogicOp">
893 <proto>
894 <return type="void"/>
895 <param name="opcode" type="GLenum"/>
896 </proto>
897 </template>
898
899 <template name="StencilFunc">
900 <proto>
901 <return type="void"/>
902 <param name="func" type="GLenum"/>
903 <param name="ref" type="GLint"/>
904 <param name="mask" type="GLuint"/>
905 </proto>
906 </template>
907
908 <template name="StencilFuncSeparate">
909 <proto>
910 <return type="void"/>
911 <param name="face" type="GLenum"/>
912 <param name="func" type="GLenum"/>
913 <param name="ref" type="GLint"/>
914 <param name="mask" type="GLuint"/>
915 </proto>
916 </template>
917
918 <template name="StencilOp">
919 <proto>
920 <return type="void"/>
921 <param name="fail" type="GLenum"/>
922 <param name="zfail" type="GLenum"/>
923 <param name="zpass" type="GLenum"/>
924 </proto>
925 </template>
926
927 <template name="StencilOpSeparate">
928 <proto>
929 <return type="void"/>
930 <param name="face" type="GLenum"/>
931 <param name="fail" type="GLenum"/>
932 <param name="zfail" type="GLenum"/>
933 <param name="zpass" type="GLenum"/>
934 </proto>
935 </template>
936
937 <template name="DepthFunc">
938 <proto>
939 <return type="void"/>
940 <param name="func" type="GLenum"/>
941 </proto>
942
943 <desc name="func">
944 <value name="GL_NEVER"/>
945 <value name="GL_LESS"/>
946 <value name="GL_EQUAL"/>
947 <value name="GL_LEQUAL"/>
948 <value name="GL_GREATER"/>
949 <value name="GL_NOTEQUAL"/>
950 <value name="GL_GEQUAL"/>
951 <value name="GL_ALWAYS"/>
952 </desc>
953 </template>
954
955 <template name="PixelStore">
956 <proto>
957 <return type="void"/>
958 <param name="pname" type="GLenum"/>
959 <param name="param" type="GLtype"/>
960 </proto>
961
962 <desc name="pname">
963 <value name="GL_PACK_ALIGNMENT"/>
964 <desc name="param" error="GL_INVALID_VALUE">
965 <value name="1"/>
966 <value name="2"/>
967 <value name="4"/>
968 <value name="8"/>
969 </desc>
970 </desc>
971
972 <desc name="pname">
973 <value name="GL_UNPACK_ALIGNMENT"/>
974 <desc name="param" error="GL_INVALID_VALUE">
975 <value name="1"/>
976 <value name="2"/>
977 <value name="4"/>
978 <value name="8"/>
979 </desc>
980 </desc>
981
982 <desc name="pname" category="EXT_unpack_subimage">
983 <value name="GL_UNPACK_ROW_LENGTH"/>
984 <value name="GL_UNPACK_SKIP_PIXELS"/>
985 <value name="GL_UNPACK_SKIP_ROWS"/>
986 </desc>
987
988 </template>
989
990 <template name="ReadPixels" direction="get">
991 <proto>
992 <return type="void"/>
993 <param name="x" type="GLint"/>
994 <param name="y" type="GLint"/>
995 <param name="width" type="GLsizei"/>
996 <param name="height" type="GLsizei"/>
997 <param name="format" type="GLenum"/>
998 <param name="type" type="GLenum"/>
999 <param name="pixels" type="GLvoid *"/>
1000 </proto>
1001
1002 <!-- Technically, only two combinations are actually allowed:
1003 GL_RGBA/GL_UNSIGNED_BYTE, and some implementation-specific
1004 internal preferred combination. I don't know what that is, so I'm
1005 allowing any valid combination for now; the underlying support
1006 should fail when necessary.-->
1007 <desc name="format">
1008 <value name="GL_ALPHA"/>
1009 <desc name="type" error="GL_INVALID_OPERATION">
1010 <value name="GL_UNSIGNED_BYTE"/>
1011 </desc>
1012 </desc>
1013
1014 <desc name="format">
1015 <value name="GL_RGB"/>
1016 <desc name="type" error="GL_INVALID_OPERATION">
1017 <value name="GL_UNSIGNED_BYTE"/>
1018 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
1019 </desc>
1020 </desc>
1021
1022 <desc name="format">
1023 <value name="GL_RGBA"/>
1024 <desc name="type" error="GL_INVALID_OPERATION">
1025 <value name="GL_UNSIGNED_BYTE"/>
1026 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
1027 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
1028 </desc>
1029 </desc>
1030
1031 <desc name="format">
1032 <value name="GL_LUMINANCE"/>
1033 <desc name="type" error="GL_INVALID_OPERATION">
1034 <value name="GL_UNSIGNED_BYTE"/>
1035 </desc>
1036 </desc>
1037
1038 <desc name="format">
1039 <value name="GL_LUMINANCE_ALPHA"/>
1040 <desc name="type" error="GL_INVALID_OPERATION">
1041 <value name="GL_UNSIGNED_BYTE"/>
1042 </desc>
1043 </desc>
1044
1045 <desc name="format" category="EXT_read_format_bgra">
1046 <value name="GL_BGRA_EXT"/>
1047
1048 <desc name="type" error="GL_INVALID_OPERATION">
1049 <value name="GL_UNSIGNED_BYTE"/>
1050 <value name="GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT"/>
1051 <value name="GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT"/>
1052 </desc>
1053 </desc>
1054 </template>
1055
1056 <template name="GetClipPlane" direction="get">
1057 <proto>
1058 <return type="void"/>
1059 <param name="plane" type="GLenum"/>
1060 <vector name="equation" type="GLtype *" size="4"/>
1061 </proto>
1062 </template>
1063
1064 <template name="GetError" direction="get">
1065 <proto>
1066 <return type="GLenum"/>
1067 </proto>
1068 </template>
1069
1070 <!-- template for GetFloatv, GetIntegerv, GetBoolean, and GetFixedv -->
1071 <template name="GetState" direction="get">
1072 <proto>
1073 <return type="void"/>
1074 <param name="pname" type="GLenum"/>
1075 <vector name="params" type="GLtype *" size="dynamic"/>
1076 </proto>
1077 <!-- param checking is done in mesa -->
1078 </template>
1079
1080 <template name="GetLight" direction="get">
1081 <proto>
1082 <return type="void"/>
1083 <param name="light" type="GLenum"/>
1084 <param name="pname" type="GLenum"/>
1085 <vector name="params" type="GLtype *" size="dynamic"/>
1086 </proto>
1087 </template>
1088
1089 <template name="GetMaterial" direction="get">
1090 <proto>
1091 <return type="void"/>
1092 <param name="face" type="GLenum"/>
1093 <param name="pname" type="GLenum"/>
1094 <vector name="params" type="GLtype *" size="dynamic">
1095 <param name="param" type="GLtype"/>
1096 </vector>
1097 </proto>
1098
1099 <desc name="face">
1100 <value name="GL_FRONT"/>
1101 <value name="GL_BACK"/>
1102 </desc>
1103
1104 <desc name="pname">
1105 <value name="GL_SHININESS"/>
1106 <desc name="params" vector_size="1"/>
1107 </desc>
1108
1109 <desc name="pname">
1110 <value name="GL_AMBIENT"/>
1111 <value name="GL_DIFFUSE"/>
1112 <value name="GL_AMBIENT_AND_DIFFUSE"/>
1113 <value name="GL_SPECULAR"/>
1114 <value name="GL_EMISSION"/>
1115
1116 <desc name="params" vector_size="4"/>
1117 </desc>
1118 </template>
1119
1120 <template name="GetString" direction="get">
1121 <proto>
1122 <return type="const GLubyte *"/>
1123 <param name="name" type="GLenum"/>
1124 </proto>
1125
1126 <desc name="name">
1127 <value name="GL_VENDOR"/>
1128 <value name="GL_RENDERER"/>
1129 <value name="GL_VERSION"/>
1130 <value name="GL_EXTENSIONS"/>
1131 <value name="GL_SHADING_LANGUAGE_VERSION" category="GLES2.0"/>
1132 </desc>
1133 </template>
1134
1135 <template name="GetTexEnv" direction="get">
1136 <proto>
1137 <return type="void"/>
1138 <param name="target" type="GLenum"/>
1139 <param name="pname" type="GLenum"/>
1140 <vector name="params" type="GLtype *" size="dynamic"/>
1141 </proto>
1142
1143 <desc name="target" category="OES_point_sprite">
1144 <value name="GL_POINT_SPRITE_OES"/>
1145 <desc name="pname">
1146 <value name="GL_COORD_REPLACE_OES"/>
1147 </desc>
1148 </desc>
1149
1150 <desc name="pname" category="OES_point_sprite">
1151 <value name="GL_COORD_REPLACE_OES"/>
1152 <desc name="params" vector_size="1" convert="false"/>
1153 </desc>
1154
1155 <desc name="target" category="EXT_texture_lod_bias">
1156 <value name="GL_TEXTURE_FILTER_CONTROL_EXT"/>
1157
1158 <desc name="pname">
1159 <value name="GL_TEXTURE_LOD_BIAS_EXT"/>
1160 </desc>
1161 </desc>
1162
1163 <desc name="pname" category="EXT_texture_lod_bias">
1164 <value name="GL_TEXTURE_LOD_BIAS_EXT"/>
1165 <desc name="params" vector_size="1"/>
1166 </desc>
1167
1168 <desc name="target">
1169 <value name="GL_TEXTURE_ENV"/>
1170
1171 <desc name="pname">
1172 <value name="GL_TEXTURE_ENV_COLOR"/>
1173 <value name="GL_RGB_SCALE"/>
1174 <value name="GL_ALPHA_SCALE"/>
1175 <value name="GL_TEXTURE_ENV_MODE"/>
1176 <value name="GL_COMBINE_RGB"/>
1177 <value name="GL_COMBINE_ALPHA"/>
1178 <value name="GL_SRC0_RGB"/>
1179 <value name="GL_SRC1_RGB"/>
1180 <value name="GL_SRC2_RGB"/>
1181 <value name="GL_SRC0_ALPHA"/>
1182 <value name="GL_SRC1_ALPHA"/>
1183 <value name="GL_SRC2_ALPHA"/>
1184 <value name="GL_OPERAND0_RGB"/>
1185 <value name="GL_OPERAND1_RGB"/>
1186 <value name="GL_OPERAND2_RGB"/>
1187 <value name="GL_OPERAND0_ALPHA"/>
1188 <value name="GL_OPERAND1_ALPHA"/>
1189 <value name="GL_OPERAND2_ALPHA"/>
1190 </desc>
1191 </desc>
1192
1193 <desc name="pname">
1194 <value name="GL_TEXTURE_ENV_COLOR"/>
1195 <desc name="params" vector_size="4"/>
1196 </desc>
1197
1198 <desc name="pname">
1199 <value name="GL_RGB_SCALE"/>
1200 <value name="GL_ALPHA_SCALE"/>
1201
1202 <desc name="params" vector_size="1"/>
1203 </desc>
1204
1205 <desc name="pname">
1206 <value name="GL_TEXTURE_ENV_MODE"/>
1207 <value name="GL_COMBINE_RGB"/>
1208 <value name="GL_COMBINE_ALPHA"/>
1209 <value name="GL_SRC0_RGB"/>
1210 <value name="GL_SRC1_RGB"/>
1211 <value name="GL_SRC2_RGB"/>
1212 <value name="GL_SRC0_ALPHA"/>
1213 <value name="GL_SRC1_ALPHA"/>
1214 <value name="GL_SRC2_ALPHA"/>
1215 <value name="GL_OPERAND0_RGB"/>
1216 <value name="GL_OPERAND1_RGB"/>
1217 <value name="GL_OPERAND2_RGB"/>
1218 <value name="GL_OPERAND0_ALPHA"/>
1219 <value name="GL_OPERAND1_ALPHA"/>
1220 <value name="GL_OPERAND2_ALPHA"/>
1221
1222 <desc name="params" vector_size="1" convert="false"/>
1223 </desc>
1224 </template>
1225
1226 <template name="GetTexGen" direction="get">
1227 <proto>
1228 <return type="void"/>
1229 <param name="coord" type="GLenum"/>
1230 <param name="pname" type="GLenum"/>
1231 <vector name="params" type="GLtype *" size="dynamic"/>
1232 </proto>
1233
1234 <desc name="coord">
1235 <value name="GL_TEXTURE_GEN_STR_OES"/>
1236 </desc>
1237 <desc name="pname">
1238 <value name="GL_TEXTURE_GEN_MODE_OES"/>
1239 <desc name="params" vector_size="1" convert="false"/>
1240 </desc>
1241 </template>
1242
1243 <template name="GetTexParameter" direction="get">
1244 <proto>
1245 <return type="void"/>
1246 <param name="target" type="GLenum"/>
1247 <param name="pname" type="GLenum"/>
1248 <vector name="params" type="GLtype *" size="dynamic"/>
1249 </proto>
1250
1251 <desc name="target">
1252 <value name="GL_TEXTURE_2D"/>
1253 <value name="GL_TEXTURE_CUBE_MAP" category="GLES2.0"/>
1254 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
1255 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
1256 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
1257 </desc>
1258
1259 <desc name="pname">
1260 <value name="GL_TEXTURE_WRAP_S"/>
1261 <value name="GL_TEXTURE_WRAP_T"/>
1262 <value name="GL_TEXTURE_WRAP_R_OES" category="OES_texture_3D"/>
1263 <value name="GL_TEXTURE_MIN_FILTER"/>
1264 <value name="GL_TEXTURE_MAG_FILTER"/>
1265 <value name="GL_GENERATE_MIPMAP" category="GLES1.1"/>
1266
1267 <desc name="params" vector_size="1" convert="false"/>
1268 </desc>
1269
1270 <desc name="pname" category="OES_draw_texture">
1271 <value name="GL_TEXTURE_CROP_RECT_OES"/>
1272 <desc name="params" vector_size="4"/>
1273 </desc>
1274 </template>
1275
1276 <template name="IsEnabled" direction="get">
1277 <proto>
1278 <return type="GLboolean"/>
1279 <param name="cap" type="GLenum"/>
1280 </proto>
1281
1282 <desc name="cap" category="GLES1.1">
1283 <value name="GL_NORMALIZE"/>
1284 <value name="GL_RESCALE_NORMAL"/>
1285
1286 <range base="GL_CLIP_PLANE" from="0" to="5"/>
1287 <value name="GL_CLIP_PLANE0+6"/>
1288 <value name="GL_CLIP_PLANE0+7"/>
1289
1290 <value name="GL_FOG"/>
1291 <value name="GL_LIGHTING"/>
1292 <value name="GL_COLOR_MATERIAL"/>
1293
1294 <range base="GL_LIGHT" from="0" to="7"/>
1295
1296 <value name="GL_POINT_SMOOTH"/>
1297 <value name="GL_LINE_SMOOTH"/>
1298 <value name="GL_CULL_FACE"/>
1299 <value name="GL_POLYGON_OFFSET_FILL"/>
1300 <value name="GL_MULTISAMPLE"/>
1301 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
1302 <value name="GL_SAMPLE_ALPHA_TO_ONE"/>
1303 <value name="GL_SAMPLE_COVERAGE"/>
1304 <value name="GL_TEXTURE_2D"/>
1305 <value name="GL_SCISSOR_TEST"/>
1306 <value name="GL_ALPHA_TEST"/>
1307 <value name="GL_STENCIL_TEST"/>
1308 <value name="GL_DEPTH_TEST"/>
1309 <value name="GL_BLEND"/>
1310 <value name="GL_DITHER"/>
1311 <value name="GL_COLOR_LOGIC_OP"/>
1312
1313 <value name="GL_POINT_SPRITE_OES" category="OES_point_sprite"/>
1314 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
1315 <value name="GL_TEXTURE_GEN_STR_OES" category="OES_texture_cube_map"/>
1316
1317 <value name="GL_VERTEX_ARRAY"/>
1318 <value name="GL_NORMAL_ARRAY"/>
1319 <value name="GL_COLOR_ARRAY"/>
1320 <value name="GL_TEXTURE_COORD_ARRAY"/>
1321 <value name="GL_MATRIX_INDEX_ARRAY_OES" category="OES_matrix_palette"/>
1322 <value name="GL_WEIGHT_ARRAY_OES" category="OES_matrix_palette"/>
1323 <value name="GL_POINT_SIZE_ARRAY_OES" category="OES_point_size_array"/>
1324 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
1325 </desc>
1326
1327 <desc name="cap" category="GLES2.0">
1328 <value name="GL_CULL_FACE"/>
1329 <value name="GL_SCISSOR_TEST"/>
1330 <value name="GL_POLYGON_OFFSET_FILL"/>
1331 <value name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
1332 <value name="GL_SAMPLE_COVERAGE"/>
1333 <value name="GL_STENCIL_TEST"/>
1334 <value name="GL_DEPTH_TEST"/>
1335 <value name="GL_DITHER"/>
1336 <value name="GL_BLEND"/>
1337 </desc>
1338 </template>
1339
1340 <template name="DepthRange">
1341 <proto>
1342 <return type="void"/>
1343 <param name="zNear" type="GLtype"/>
1344 <param name="zFar" type="GLtype"/>
1345 </proto>
1346 </template>
1347
1348 <template name="Frustum">
1349 <proto>
1350 <return type="void"/>
1351 <param name="left" type="GLtype"/>
1352 <param name="right" type="GLtype"/>
1353 <param name="bottom" type="GLtype"/>
1354 <param name="top" type="GLtype"/>
1355 <param name="zNear" type="GLtype"/>
1356 <param name="zFar" type="GLtype"/>
1357 </proto>
1358 </template>
1359
1360 <template name="LoadIdentity">
1361 <proto>
1362 <return type="void"/>
1363 </proto>
1364 </template>
1365
1366 <template name="LoadMatrix">
1367 <proto>
1368 <return type="void"/>
1369 <vector name="m" type="const GLtype *" size="16"/>
1370 </proto>
1371 </template>
1372
1373 <template name="MatrixMode">
1374 <proto>
1375 <return type="void"/>
1376 <param name="mode" type="GLenum"/>
1377 </proto>
1378
1379 <desc name="mode">
1380 <value name="GL_MODELVIEW"/>
1381 <value name="GL_PROJECTION"/>
1382 <value name="GL_TEXTURE"/>
1383 <value name="GL_MATRIX_PALETTE_OES" category="OES_matrix_palette"/>
1384 </desc>
1385 </template>
1386
1387 <template name="MultMatrix">
1388 <proto>
1389 <return type="void"/>
1390 <vector name="m" type="const GLtype *" size="16"/>
1391 </proto>
1392 </template>
1393
1394 <template name="Ortho">
1395 <proto>
1396 <return type="void"/>
1397 <param name="left" type="GLtype"/>
1398 <param name="right" type="GLtype"/>
1399 <param name="bottom" type="GLtype"/>
1400 <param name="top" type="GLtype"/>
1401 <param name="zNear" type="GLtype"/>
1402 <param name="zFar" type="GLtype"/>
1403 </proto>
1404 </template>
1405
1406 <template name="PopMatrix">
1407 <proto>
1408 <return type="void"/>
1409 </proto>
1410 </template>
1411
1412 <template name="PushMatrix">
1413 <proto>
1414 <return type="void"/>
1415 </proto>
1416 </template>
1417
1418 <template name="Rotate">
1419 <proto>
1420 <return type="void"/>
1421 <param name="angle" type="GLtype"/>
1422 <param name="x" type="GLtype"/>
1423 <param name="y" type="GLtype"/>
1424 <param name="z" type="GLtype"/>
1425 </proto>
1426 </template>
1427
1428 <template name="Scale">
1429 <proto>
1430 <return type="void"/>
1431 <param name="x" type="GLtype"/>
1432 <param name="y" type="GLtype"/>
1433 <param name="z" type="GLtype"/>
1434 </proto>
1435 </template>
1436
1437 <template name="Translate">
1438 <proto>
1439 <return type="void"/>
1440 <param name="x" type="GLtype"/>
1441 <param name="y" type="GLtype"/>
1442 <param name="z" type="GLtype"/>
1443 </proto>
1444 </template>
1445
1446 <template name="Viewport">
1447 <proto>
1448 <return type="void"/>
1449 <param name="x" type="GLint"/>
1450 <param name="y" type="GLint"/>
1451 <param name="width" type="GLsizei"/>
1452 <param name="height" type="GLsizei"/>
1453 </proto>
1454 </template>
1455
1456 <template name="ColorPointer">
1457 <proto>
1458 <return type="void"/>
1459 <param name="size" type="GLint"/>
1460 <param name="type" type="GLenum"/>
1461 <param name="stride" type="GLsizei"/>
1462 <param name="pointer" type="const GLvoid *"/>
1463 </proto>
1464
1465 <desc name="size" error="GL_INVALID_VALUE">
1466 <value name="4"/>
1467 </desc>
1468
1469 <desc name="type">
1470 <value name="GL_UNSIGNED_BYTE"/>
1471 <value name="GL_FLOAT"/>
1472 <value name="GL_FIXED"/>
1473 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
1474 </desc>
1475 </template>
1476
1477 <template name="DisableClientState">
1478 <proto>
1479 <return type="void"/>
1480 <param name="array" type="GLenum"/>
1481 </proto>
1482
1483 <desc name="array">
1484 <value name="GL_VERTEX_ARRAY"/>
1485 <value name="GL_NORMAL_ARRAY"/>
1486 <value name="GL_COLOR_ARRAY"/>
1487 <value name="GL_TEXTURE_COORD_ARRAY"/>
1488 <value name="GL_MATRIX_INDEX_ARRAY_OES" category="OES_matrix_palette"/>
1489 <value name="GL_WEIGHT_ARRAY_OES" category="OES_matrix_palette"/>
1490 <value name="GL_POINT_SIZE_ARRAY_OES" category="OES_point_size_array"/>
1491 </desc>
1492 </template>
1493
1494 <template name="DrawArrays">
1495 <proto>
1496 <return type="void"/>
1497 <param name="mode" type="GLenum"/>
1498 <param name="first" type="GLint"/>
1499 <param name="count" type="GLsizei"/>
1500 </proto>
1501
1502 <desc name="mode">
1503 <value name="GL_POINTS"/>
1504 <value name="GL_LINES"/>
1505 <value name="GL_LINE_LOOP"/>
1506 <value name="GL_LINE_STRIP"/>
1507 <value name="GL_TRIANGLES"/>
1508 <value name="GL_TRIANGLE_STRIP"/>
1509 <value name="GL_TRIANGLE_FAN"/>
1510 </desc>
1511 </template>
1512
1513 <template name="DrawElements">
1514 <proto>
1515 <return type="void"/>
1516 <param name="mode" type="GLenum"/>
1517 <param name="count" type="GLsizei"/>
1518 <param name="type" type="GLenum"/>
1519 <param name="indices" type="const GLvoid *"/>
1520 </proto>
1521
1522 <desc name="mode">
1523 <value name="GL_POINTS"/>
1524 <value name="GL_LINES"/>
1525 <value name="GL_LINE_LOOP"/>
1526 <value name="GL_LINE_STRIP"/>
1527 <value name="GL_TRIANGLES"/>
1528 <value name="GL_TRIANGLE_STRIP"/>
1529 <value name="GL_TRIANGLE_FAN"/>
1530 </desc>
1531
1532 <desc name="type">
1533 <value name="GL_UNSIGNED_BYTE"/>
1534 <value name="GL_UNSIGNED_SHORT"/>
1535 <value name="GL_UNSIGNED_INT" category="OES_element_index_uint"/>
1536 </desc>
1537 </template>
1538
1539 <template name="EnableClientState">
1540 <proto>
1541 <return type="void"/>
1542 <param name="array" type="GLenum"/>
1543 </proto>
1544
1545 <desc name="array">
1546 <value name="GL_VERTEX_ARRAY"/>
1547 <value name="GL_NORMAL_ARRAY"/>
1548 <value name="GL_COLOR_ARRAY"/>
1549 <value name="GL_TEXTURE_COORD_ARRAY"/>
1550 <value name="GL_MATRIX_INDEX_ARRAY_OES" category="OES_matrix_palette"/>
1551 <value name="GL_WEIGHT_ARRAY_OES" category="OES_matrix_palette"/>
1552 <value name="GL_POINT_SIZE_ARRAY_OES" category="OES_point_size_array"/>
1553 </desc>
1554 </template>
1555
1556 <template name="GetPointer" direction="get">
1557 <proto>
1558 <return type="void"/>
1559 <param name="pname" type="GLenum"/>
1560 <vector name="params" type="GLvoid **" size="dynamic"/>
1561 </proto>
1562
1563 <desc name="pname">
1564 <value name="GL_VERTEX_ARRAY_POINTER"/>
1565 <value name="GL_NORMAL_ARRAY_POINTER"/>
1566 <value name="GL_COLOR_ARRAY_POINTER"/>
1567 <value name="GL_TEXTURE_COORD_ARRAY_POINTER"/>
1568 <value name="GL_MATRIX_INDEX_ARRAY_POINTER_OES" category="OES_matrix_palette"/>
1569 <value name="GL_WEIGHT_ARRAY_POINTER_OES" category="OES_matrix_palette"/>
1570 <value name="GL_POINT_SIZE_ARRAY_POINTER_OES" category="OES_point_size_array"/>
1571 </desc>
1572 </template>
1573
1574 <template name="Normal">
1575 <proto>
1576 <return type="void"/>
1577 <vector name="v" type="const GLtype *" size="3">
1578 <param name="nx" type="GLtype"/>
1579 <param name="ny" type="GLtype"/>
1580 <param name="nz" type="GLtype"/>
1581 </vector>
1582 </proto>
1583 </template>
1584
1585 <template name="NormalPointer">
1586 <proto>
1587 <return type="void"/>
1588 <param name="type" type="GLenum"/>
1589 <param name="stride" type="GLsizei"/>
1590 <param name="pointer" type="const GLvoid *"/>
1591 </proto>
1592
1593 <desc name="type">
1594 <value name="GL_BYTE"/>
1595 <value name="GL_SHORT"/>
1596 <value name="GL_FLOAT"/>
1597 <value name="GL_FIXED"/>
1598 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
1599 </desc>
1600 </template>
1601
1602 <template name="TexCoordPointer">
1603 <proto>
1604 <return type="void"/>
1605 <param name="size" type="GLint"/>
1606 <param name="type" type="GLenum"/>
1607 <param name="stride" type="GLsizei"/>
1608 <param name="pointer" type="const GLvoid *"/>
1609 </proto>
1610
1611 <desc name="size" error="GL_INVALID_VALUE">
1612 <value name="2"/>
1613 <value name="3"/>
1614 <value name="4"/>
1615 </desc>
1616
1617 <desc name="type">
1618 <value name="GL_BYTE"/>
1619 <value name="GL_SHORT"/>
1620 <value name="GL_FLOAT"/>
1621 <value name="GL_FIXED"/>
1622 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
1623 </desc>
1624 </template>
1625
1626 <template name="VertexPointer">
1627 <proto>
1628 <return type="void"/>
1629 <param name="size" type="GLint"/>
1630 <param name="type" type="GLenum"/>
1631 <param name="stride" type="GLsizei"/>
1632 <param name="pointer" type="const GLvoid *"/>
1633 </proto>
1634
1635 <desc name="size" error="GL_INVALID_VALUE">
1636 <value name="2"/>
1637 <value name="3"/>
1638 <value name="4"/>
1639 </desc>
1640
1641 <desc name="type">
1642 <value name="GL_BYTE"/>
1643 <value name="GL_SHORT"/>
1644 <value name="GL_FLOAT"/>
1645 <value name="GL_FIXED"/>
1646 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
1647 </desc>
1648 </template>
1649
1650 <template name="PolygonOffset">
1651 <proto>
1652 <return type="void"/>
1653 <param name="factor" type="GLtype"/>
1654 <param name="units" type="GLtype"/>
1655 </proto>
1656 </template>
1657
1658 <template name="CopyTexImage2D">
1659 <proto>
1660 <return type="void"/>
1661 <param name="target" type="GLenum"/>
1662 <param name="level" type="GLint"/>
1663 <param name="internalFormat" type="GLenum"/>
1664 <param name="x" type="GLint"/>
1665 <param name="y" type="GLint"/>
1666 <param name="width" type="GLsizei"/>
1667 <param name="height" type="GLsizei"/>
1668 <param name="border" type="GLint"/>
1669 </proto>
1670
1671 <desc name="target">
1672 <value name="GL_TEXTURE_2D"/>
1673 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
1674 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
1675 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
1676 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
1677 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
1678 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
1679 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
1680 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
1681 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
1682 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
1683 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
1684 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
1685 </desc>
1686
1687 <desc name="internalFormat" error="GL_INVALID_VALUE">
1688 <value name="GL_ALPHA"/>
1689 <value name="GL_RGB"/>
1690 <value name="GL_RGBA"/>
1691 <value name="GL_LUMINANCE"/>
1692 <value name="GL_LUMINANCE_ALPHA"/>
1693 </desc>
1694
1695 <desc name="border" error="GL_INVALID_VALUE">
1696 <value name="0"/>
1697 </desc>
1698 </template>
1699
1700 <template name="CopyTexSubImage2D">
1701 <proto>
1702 <return type="void"/>
1703 <param name="target" type="GLenum"/>
1704 <param name="level" type="GLint"/>
1705 <param name="xoffset" type="GLint"/>
1706 <param name="yoffset" type="GLint"/>
1707 <param name="x" type="GLint"/>
1708 <param name="y" type="GLint"/>
1709 <param name="width" type="GLsizei"/>
1710 <param name="height" type="GLsizei"/>
1711 </proto>
1712
1713 <desc name="target">
1714 <value name="GL_TEXTURE_2D"/>
1715 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
1716 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
1717 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
1718 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
1719 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
1720 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
1721 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
1722 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
1723 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
1724 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
1725 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
1726 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
1727 </desc>
1728 </template>
1729
1730 <template name="TexSubImage2D">
1731 <proto>
1732 <return type="void"/>
1733 <param name="target" type="GLenum"/>
1734 <param name="level" type="GLint"/>
1735 <param name="xoffset" type="GLint"/>
1736 <param name="yoffset" type="GLint"/>
1737 <param name="width" type="GLsizei"/>
1738 <param name="height" type="GLsizei"/>
1739 <param name="format" type="GLenum"/>
1740 <param name="type" type="GLenum"/>
1741 <param name="pixels" type="const GLvoid *"/>
1742 </proto>
1743
1744 <desc name="target">
1745 <value name="GL_TEXTURE_2D"/>
1746 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
1747 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
1748 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
1749 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
1750 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
1751 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
1752 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
1753 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
1754 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
1755 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
1756 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
1757 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
1758 </desc>
1759
1760 <desc name="format">
1761 <value name="GL_ALPHA"/>
1762
1763 <desc name="type" error="GL_INVALID_OPERATION">
1764 <value name="GL_UNSIGNED_BYTE"/>
1765 <value name="GL_FLOAT" category="OES_texture_float"/>
1766 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1767 </desc>
1768 </desc>
1769
1770 <desc name="format">
1771 <value name="GL_RGB"/>
1772
1773 <desc name="type" error="GL_INVALID_OPERATION">
1774 <value name="GL_UNSIGNED_BYTE"/>
1775 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
1776 <value name="GL_FLOAT" category="OES_texture_float"/>
1777 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1778 </desc>
1779 </desc>
1780
1781 <desc name="format">
1782 <value name="GL_RGBA"/>
1783
1784 <desc name="type" error="GL_INVALID_OPERATION">
1785 <value name="GL_UNSIGNED_BYTE"/>
1786 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
1787 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
1788 <value name="GL_FLOAT" category="OES_texture_float"/>
1789 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1790 <value name="GL_UNSIGNED_INT_2_10_10_10_REV_EXT" category="EXT_texture_type_2_10_10_10_REV"/>
1791 </desc>
1792 </desc>
1793
1794 <desc name="format">
1795 <value name="GL_LUMINANCE"/>
1796
1797 <desc name="type" error="GL_INVALID_OPERATION">
1798 <value name="GL_UNSIGNED_BYTE"/>
1799 <value name="GL_FLOAT" category="OES_texture_float"/>
1800 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1801 </desc>
1802 </desc>
1803
1804 <desc name="format">
1805 <value name="GL_LUMINANCE_ALPHA"/>
1806
1807 <desc name="type" error="GL_INVALID_OPERATION">
1808 <value name="GL_UNSIGNED_BYTE"/>
1809 <value name="GL_FLOAT" category="OES_texture_float"/>
1810 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1811 </desc>
1812 </desc>
1813
1814 <desc name="format" category="OES_depth_texture">
1815 <value name="GL_DEPTH_COMPONENT"/>
1816
1817 <desc name="type" error="GL_INVALID_OPERATION">
1818 <value name="GL_UNSIGNED_SHORT"/>
1819 <value name="GL_UNSIGNED_INT"/>
1820 </desc>
1821 </desc>
1822
1823 <desc name="format" category="OES_packed_depth_stencil">
1824 <value name="GL_DEPTH_STENCIL_OES"/>
1825
1826 <desc name="type" error="GL_INVALID_OPERATION">
1827 <value name="GL_UNSIGNED_INT_24_8_OES"/>
1828 </desc>
1829 </desc>
1830
1831 <desc name="format" category="EXT_texture_format_BGRA8888">
1832 <value name="GL_BGRA_EXT"/>
1833
1834 <desc name="type" error="GL_INVALID_OPERATION">
1835 <value name="GL_UNSIGNED_BYTE"/>
1836 </desc>
1837 </desc>
1838 </template>
1839
1840 <template name="BindTexture">
1841 <proto>
1842 <return type="void"/>
1843 <param name="target" type="GLenum"/>
1844 <param name="texture" type="GLuint"/>
1845 </proto>
1846
1847 <desc name="target">
1848 <value name="GL_TEXTURE_2D"/>
1849 <value name="GL_TEXTURE_CUBE_MAP" category="GLES2.0"/>
1850 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
1851 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
1852 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
1853 </desc>
1854 </template>
1855
1856 <template name="DeleteTextures">
1857 <proto>
1858 <return type="void"/>
1859 <param name="n" type="GLsizei"/>
1860 <param name="textures" type="const GLuint *"/>
1861 </proto>
1862 </template>
1863
1864 <template name="GenTextures" direction="get">
1865 <proto>
1866 <return type="void"/>
1867 <param name="n" type="GLsizei"/>
1868 <param name="textures" type="GLuint *"/>
1869 </proto>
1870 </template>
1871
1872 <template name="IsTexture" direction="get">
1873 <proto>
1874 <return type="GLboolean"/>
1875 <param name="texture" type="GLuint"/>
1876 </proto>
1877 </template>
1878
1879 <template name="BlendColor">
1880 <proto>
1881 <return type="void"/>
1882 <param name="red" type="GLtype"/>
1883 <param name="green" type="GLtype"/>
1884 <param name="blue" type="GLtype"/>
1885 <param name="alpha" type="GLtype"/>
1886 </proto>
1887 </template>
1888
1889 <template name="BlendEquation">
1890 <proto>
1891 <return type="void"/>
1892 <param name="mode" type="GLenum"/>
1893 </proto>
1894 </template>
1895
1896 <template name="BlendEquationSeparate">
1897 <proto>
1898 <return type="void"/>
1899 <param name="modeRGB" type="GLenum"/>
1900 <param name="modeAlpha" type="GLenum"/>
1901 </proto>
1902 </template>
1903
1904 <template name="TexImage3D">
1905 <proto>
1906 <return type="void"/>
1907 <param name="target" type="GLenum"/>
1908 <param name="level" type="GLint"/>
1909 <param name="internalFormat" type="GLenum"/>
1910 <param name="width" type="GLsizei"/>
1911 <param name="height" type="GLsizei"/>
1912 <param name="depth" type="GLsizei"/>
1913 <param name="border" type="GLint"/>
1914 <param name="format" type="GLenum"/>
1915 <param name="type" type="GLenum"/>
1916 <param name="pixels" type="const GLvoid *"/>
1917 </proto>
1918
1919 <desc name="target">
1920 <value name="GL_TEXTURE_3D_OES"/>
1921 </desc>
1922
1923 <desc name="internalFormat">
1924 <value name="GL_ALPHA"/>
1925 <value name="GL_RGB"/>
1926 <value name="GL_RGBA"/>
1927 <value name="GL_LUMINANCE"/>
1928 <value name="GL_LUMINANCE_ALPHA"/>
1929 </desc>
1930
1931 <desc name="format">
1932 <value name="GL_ALPHA"/>
1933
1934 <desc name="type" error="GL_INVALID_OPERATION">
1935 <value name="GL_UNSIGNED_BYTE"/>
1936 <value name="GL_FLOAT" category="OES_texture_float"/>
1937 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1938 </desc>
1939 </desc>
1940
1941 <desc name="format">
1942 <value name="GL_RGB"/>
1943
1944 <desc name="type" error="GL_INVALID_OPERATION">
1945 <value name="GL_UNSIGNED_BYTE"/>
1946 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
1947 <value name="GL_FLOAT" category="OES_texture_float"/>
1948 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1949 </desc>
1950 </desc>
1951
1952 <desc name="format">
1953 <value name="GL_RGBA"/>
1954
1955 <desc name="type" error="GL_INVALID_OPERATION">
1956 <value name="GL_UNSIGNED_BYTE"/>
1957 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
1958 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
1959 <value name="GL_FLOAT" category="OES_texture_float"/>
1960 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1961 <value name="GL_UNSIGNED_INT_2_10_10_10_REV_EXT" category="EXT_texture_type_2_10_10_10_REV"/>
1962 </desc>
1963 </desc>
1964
1965 <desc name="format">
1966 <value name="GL_LUMINANCE"/>
1967
1968 <desc name="type" error="GL_INVALID_OPERATION">
1969 <value name="GL_UNSIGNED_BYTE"/>
1970 <value name="GL_FLOAT" category="OES_texture_float"/>
1971 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1972 </desc>
1973 </desc>
1974
1975 <desc name="format">
1976 <value name="GL_LUMINANCE_ALPHA"/>
1977
1978 <desc name="type" error="GL_INVALID_OPERATION">
1979 <value name="GL_UNSIGNED_BYTE"/>
1980 <value name="GL_FLOAT" category="OES_texture_float"/>
1981 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
1982 </desc>
1983 </desc>
1984 </template>
1985
1986 <template name="TexSubImage3D">
1987 <proto>
1988 <return type="void"/>
1989 <param name="target" type="GLenum"/>
1990 <param name="level" type="GLint"/>
1991 <param name="xoffset" type="GLint"/>
1992 <param name="yoffset" type="GLint"/>
1993 <param name="zoffset" type="GLint"/>
1994 <param name="width" type="GLsizei"/>
1995 <param name="height" type="GLsizei"/>
1996 <param name="depth" type="GLsizei"/>
1997 <param name="format" type="GLenum"/>
1998 <param name="type" type="GLenum"/>
1999 <param name="pixels" type="const GLvoid *"/>
2000 </proto>
2001
2002 <desc name="target">
2003 <value name="GL_TEXTURE_3D_OES"/>
2004 </desc>
2005
2006 <desc name="format">
2007 <value name="GL_ALPHA"/>
2008
2009 <desc name="type" error="GL_INVALID_OPERATION">
2010 <value name="GL_UNSIGNED_BYTE"/>
2011 <value name="GL_FLOAT" category="OES_texture_float"/>
2012 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2013 </desc>
2014 </desc>
2015
2016 <desc name="format">
2017 <value name="GL_RGB"/>
2018
2019 <desc name="type" error="GL_INVALID_OPERATION">
2020 <value name="GL_UNSIGNED_BYTE"/>
2021 <value name="GL_UNSIGNED_SHORT_5_6_5"/>
2022 <value name="GL_FLOAT" category="OES_texture_float"/>
2023 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2024 </desc>
2025 </desc>
2026
2027 <desc name="format">
2028 <value name="GL_RGBA"/>
2029
2030 <desc name="type" error="GL_INVALID_OPERATION">
2031 <value name="GL_UNSIGNED_BYTE"/>
2032 <value name="GL_UNSIGNED_SHORT_4_4_4_4"/>
2033 <value name="GL_UNSIGNED_SHORT_5_5_5_1"/>
2034 <value name="GL_FLOAT" category="OES_texture_float"/>
2035 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2036 <value name="GL_UNSIGNED_INT_2_10_10_10_REV_EXT" category="EXT_texture_type_2_10_10_10_REV"/>
2037 </desc>
2038 </desc>
2039
2040 <desc name="format">
2041 <value name="GL_LUMINANCE"/>
2042
2043 <desc name="type" error="GL_INVALID_OPERATION">
2044 <value name="GL_UNSIGNED_BYTE"/>
2045 <value name="GL_FLOAT" category="OES_texture_float"/>
2046 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2047 </desc>
2048 </desc>
2049
2050 <desc name="format">
2051 <value name="GL_LUMINANCE_ALPHA"/>
2052
2053 <desc name="type" error="GL_INVALID_OPERATION">
2054 <value name="GL_UNSIGNED_BYTE"/>
2055 <value name="GL_FLOAT" category="OES_texture_float"/>
2056 <value name="GL_HALF_FLOAT_OES" category="OES_texture_half_float"/>
2057 </desc>
2058 </desc>
2059 </template>
2060
2061 <template name="CopyTexSubImage3D">
2062 <proto>
2063 <return type="void"/>
2064 <param name="target" type="GLenum"/>
2065 <param name="level" type="GLint"/>
2066 <param name="xoffset" type="GLint"/>
2067 <param name="yoffset" type="GLint"/>
2068 <param name="zoffset" type="GLint"/>
2069 <param name="x" type="GLint"/>
2070 <param name="y" type="GLint"/>
2071 <param name="width" type="GLsizei"/>
2072 <param name="height" type="GLsizei"/>
2073 </proto>
2074
2075 <desc name="target">
2076 <value name="GL_TEXTURE_3D_OES"/>
2077 </desc>
2078 </template>
2079
2080 <template name="MultiTexCoord">
2081 <proto>
2082 <return type="void"/>
2083 <param name="texture" type="GLenum"/>
2084 <vector name="v" type="const GLtype *" size="dynamic">
2085 <param name="s" type="GLtype"/>
2086 <param name="t" type="GLtype"/>
2087 <param name="r" type="GLtype"/>
2088 <param name="q" type="GLtype"/>
2089 </vector>
2090 </proto>
2091 </template>
2092
2093 <template name="CompressedTexImage3D">
2094 <proto>
2095 <return type="void"/>
2096 <param name="target" type="GLenum"/>
2097 <param name="level" type="GLint"/>
2098 <param name="internalFormat" type="GLenum"/>
2099 <param name="width" type="GLsizei"/>
2100 <param name="height" type="GLsizei"/>
2101 <param name="depth" type="GLsizei"/>
2102 <param name="border" type="GLint"/>
2103 <param name="imagesize" type="GLsizei"/>
2104 <param name="data" type="const GLvoid *"/>
2105 </proto>
2106
2107 <desc name="target">
2108 <value name="GL_TEXTURE_3D_OES"/>
2109 </desc>
2110
2111 <desc name="internalFormat">
2112 <value name="GL_3DC_X_AMD" category="AMD_compressed_3DC_texture"/>
2113 <value name="GL_3DC_XY_AMD" category="AMD_compressed_3DC_texture"/>
2114 <value name="GL_ATC_RGB_AMD" category="AMD_compressed_ATC_texture"/>
2115 <value name="GL_ATC_RGBA_EXPLICIT_ALPHA_AMD" category="AMD_compressed_ATC_texture"/>
2116 <value name="GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD" category="AMD_compressed_ATC_texture"/>
2117 </desc>
2118 </template>
2119
2120 <template name="CompressedTexSubImage3D">
2121 <proto>
2122 <return type="void"/>
2123 <param name="target" type="GLenum"/>
2124 <param name="level" type="GLint"/>
2125 <param name="xoffset" type="GLint"/>
2126 <param name="yoffset" type="GLint"/>
2127 <param name="zoffset" type="GLint"/>
2128 <param name="width" type="GLsizei"/>
2129 <param name="height" type="GLsizei"/>
2130 <param name="depth" type="GLsizei"/>
2131 <param name="format" type="GLenum"/>
2132 <param name="imagesize" type="GLsizei"/>
2133 <param name="data" type="const GLvoid *"/>
2134 </proto>
2135
2136 <desc name="target">
2137 <value name="GL_TEXTURE_3D_OES"/>
2138 </desc>
2139 </template>
2140
2141 <template name="ActiveTexture">
2142 <proto>
2143 <return type="void"/>
2144 <param name="texture" type="GLenum"/>
2145 </proto>
2146 </template>
2147
2148 <template name="ClientActiveTexture">
2149 <proto>
2150 <return type="void"/>
2151 <param name="texture" type="GLenum"/>
2152 </proto>
2153 </template>
2154
2155 <template name="SampleCoverage">
2156 <proto>
2157 <return type="void"/>
2158 <param name="value" type="GLtype"/>
2159 <param name="invert" type="GLboolean"/>
2160 </proto>
2161 </template>
2162
2163 <template name="CompressedTexImage2D">
2164 <proto>
2165 <return type="void"/>
2166 <param name="target" type="GLenum"/>
2167 <param name="level" type="GLint"/>
2168 <param name="internalFormat" type="GLenum"/>
2169 <param name="width" type="GLsizei"/>
2170 <param name="height" type="GLsizei"/>
2171 <param name="border" type="GLint"/>
2172 <param name="imageSize" type="GLsizei"/>
2173 <param name="data" type="const GLvoid *"/>
2174 </proto>
2175
2176 <desc name="target">
2177 <value name="GL_TEXTURE_2D"/>
2178 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
2179 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
2180 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
2181 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
2182 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
2183 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
2184 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
2185 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
2186 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
2187 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
2188 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
2189 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
2190 </desc>
2191
2192 <desc name="internalFormat">
2193 <value name="GL_ETC1_RGB8_OES" category="OES_compressed_ETC1_RGB8_texture"/>
2194
2195 <value name="GL_PALETTE4_RGB8_OES" category="OES_compressed_paletted_texture"/>
2196 <value name="GL_PALETTE4_RGBA8_OES" category="OES_compressed_paletted_texture"/>
2197 <value name="GL_PALETTE4_R5_G6_B5_OES" category="OES_compressed_paletted_texture"/>
2198 <value name="GL_PALETTE4_RGBA4_OES" category="OES_compressed_paletted_texture"/>
2199 <value name="GL_PALETTE4_RGB5_A1_OES" category="OES_compressed_paletted_texture"/>
2200 <value name="GL_PALETTE8_RGB8_OES" category="OES_compressed_paletted_texture"/>
2201 <value name="GL_PALETTE8_RGBA8_OES" category="OES_compressed_paletted_texture"/>
2202 <value name="GL_PALETTE8_R5_G6_B5_OES" category="OES_compressed_paletted_texture"/>
2203 <value name="GL_PALETTE8_RGBA4_OES" category="OES_compressed_paletted_texture"/>
2204 <value name="GL_PALETTE8_RGB5_A1_OES" category="OES_compressed_paletted_texture"/>
2205
2206 <value name="GL_3DC_X_AMD" category="AMD_compressed_3DC_texture"/>
2207 <value name="GL_3DC_XY_AMD" category="AMD_compressed_3DC_texture"/>
2208
2209 <value name="GL_ATC_RGB_AMD" category="AMD_compressed_ATC_texture"/>
2210 <value name="GL_ATC_RGBA_EXPLICIT_ALPHA_AMD" category="AMD_compressed_ATC_texture"/>
2211 <value name="GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD" category="AMD_compressed_ATC_texture"/>
2212
2213 <value name="GL_COMPRESSED_RGB_S3TC_DXT1_EXT" category="EXT_texture_compression_dxt1"/>
2214 <value name="GL_COMPRESSED_RGBA_S3TC_DXT1_EXT" category="EXT_texture_compression_dxt1"/>
2215 </desc>
2216
2217 <desc name="border" error="GL_INVALID_VALUE">
2218 <value name="0"/>
2219 </desc>
2220 </template>
2221
2222 <template name="CompressedTexSubImage2D">
2223 <proto>
2224 <return type="void"/>
2225 <param name="target" type="GLenum"/>
2226 <param name="level" type="GLint"/>
2227 <param name="xoffset" type="GLint"/>
2228 <param name="yoffset" type="GLint"/>
2229 <param name="width" type="GLsizei"/>
2230 <param name="height" type="GLsizei"/>
2231 <param name="format" type="GLenum"/>
2232 <param name="imageSize" type="GLsizei"/>
2233 <param name="data" type="const GLvoid *"/>
2234 </proto>
2235
2236 <desc name="target">
2237 <value name="GL_TEXTURE_2D"/>
2238 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
2239 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
2240 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
2241 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
2242 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
2243 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
2244 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
2245 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
2246 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
2247 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
2248 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
2249 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
2250 </desc>
2251
2252 <desc name="format">
2253 <value name="GL_COMPRESSED_RGB_S3TC_DXT1_EXT" category="EXT_texture_compression_dxt1"/>
2254 <value name="GL_COMPRESSED_RGBA_S3TC_DXT1_EXT" category="EXT_texture_compression_dxt1"/>
2255 </desc>
2256 </template>
2257
2258 <template name="BlendFuncSeparate">
2259 <proto>
2260 <return type="void"/>
2261 <param name="srcRGB" type="GLenum"/>
2262 <param name="dstRGB" type="GLenum"/>
2263 <param name="srcAlpha" type="GLenum"/>
2264 <param name="dstAlpha" type="GLenum"/>
2265 </proto>
2266
2267 <desc name="srcRGB">
2268 <value name="GL_ZERO"/>
2269 <value name="GL_ONE"/>
2270 <value name="GL_SRC_COLOR"/>
2271 <value name="GL_ONE_MINUS_SRC_COLOR"/>
2272 <value name="GL_SRC_ALPHA"/>
2273 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
2274 <value name="GL_DST_ALPHA"/>
2275 <value name="GL_ONE_MINUS_DST_ALPHA"/>
2276 <value name="GL_DST_COLOR"/>
2277 <value name="GL_ONE_MINUS_DST_COLOR"/>
2278 <value name="GL_SRC_ALPHA_SATURATE"/>
2279
2280 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
2281 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
2282 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
2283 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
2284 </desc>
2285
2286 <desc name="dstRGB">
2287 <value name="GL_ZERO"/>
2288 <value name="GL_ONE"/>
2289 <value name="GL_SRC_COLOR"/>
2290 <value name="GL_ONE_MINUS_SRC_COLOR"/>
2291 <value name="GL_SRC_ALPHA"/>
2292 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
2293 <value name="GL_DST_ALPHA"/>
2294 <value name="GL_ONE_MINUS_DST_ALPHA"/>
2295 <value name="GL_DST_COLOR"/>
2296 <value name="GL_ONE_MINUS_DST_COLOR"/>
2297
2298 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
2299 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
2300 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
2301 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
2302 </desc>
2303
2304 <desc name="srcAlpha">
2305 <value name="GL_ZERO"/>
2306 <value name="GL_ONE"/>
2307 <value name="GL_SRC_COLOR"/>
2308 <value name="GL_ONE_MINUS_SRC_COLOR"/>
2309 <value name="GL_SRC_ALPHA"/>
2310 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
2311 <value name="GL_DST_ALPHA"/>
2312 <value name="GL_ONE_MINUS_DST_ALPHA"/>
2313 <value name="GL_DST_COLOR"/>
2314 <value name="GL_ONE_MINUS_DST_COLOR"/>
2315 <value name="GL_SRC_ALPHA_SATURATE"/>
2316
2317 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
2318 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
2319 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
2320 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
2321 </desc>
2322
2323 <desc name="dstAlpha">
2324 <value name="GL_ZERO"/>
2325 <value name="GL_ONE"/>
2326 <value name="GL_SRC_COLOR"/>
2327 <value name="GL_ONE_MINUS_SRC_COLOR"/>
2328 <value name="GL_SRC_ALPHA"/>
2329 <value name="GL_ONE_MINUS_SRC_ALPHA"/>
2330 <value name="GL_DST_ALPHA"/>
2331 <value name="GL_ONE_MINUS_DST_ALPHA"/>
2332 <value name="GL_DST_COLOR"/>
2333 <value name="GL_ONE_MINUS_DST_COLOR"/>
2334
2335 <value name="GL_CONSTANT_COLOR" category="GLES2.0"/>
2336 <value name="GL_ONE_MINUS_CONSTANT_COLOR" category="GLES2.0"/>
2337 <value name="GL_CONSTANT_ALPHA" category="GLES2.0"/>
2338 <value name="GL_ONE_MINUS_CONSTANT_ALPHA" category="GLES2.0"/>
2339 </desc>
2340 </template>
2341
2342 <template name="PointParameter">
2343 <proto>
2344 <return type="void"/>
2345 <param name="pname" type="GLenum"/>
2346 <vector name="params" type="const GLtype *" size="dynamic">
2347 <param name="param" type="GLtype"/>
2348 </vector>
2349 </proto>
2350
2351 <desc name="pname">
2352 <value name="GL_POINT_SIZE_MIN"/>
2353 <value name="GL_POINT_SIZE_MAX"/>
2354 <value name="GL_POINT_FADE_THRESHOLD_SIZE"/>
2355
2356 <desc name="params" vector_size="1"/>
2357 </desc>
2358
2359 <desc name="pname">
2360 <value name="GL_POINT_DISTANCE_ATTENUATION"/>
2361 <desc name="params" vector_size="3"/>
2362 </desc>
2363 </template>
2364
2365 <template name="VertexAttrib">
2366 <proto>
2367 <return type="void"/>
2368 <param name="index" type="GLuint"/>
2369 <vector name="v" type="const GLtype *" size="dynamic">
2370 <param name="x" type="GLtype"/>
2371 <param name="y" type="GLtype"/>
2372 <param name="z" type="GLtype"/>
2373 <param name="w" type="GLtype"/>
2374 </vector>
2375 </proto>
2376 </template>
2377
2378 <template name="VertexAttribPointer">
2379 <proto>
2380 <return type="void"/>
2381 <param name="index" type="GLuint"/>
2382 <param name="size" type="GLint"/>
2383 <param name="type" type="GLenum"/>
2384 <param name="normalized" type="GLboolean"/>
2385 <param name="stride" type="GLsizei"/>
2386 <param name="pointer" type="const GLvoid *"/>
2387 </proto>
2388
2389 <desc name="size" error="GL_INVALID_VALUE">
2390 <value name="1"/>
2391 <value name="2"/>
2392 <value name="3"/>
2393 <value name="4"/>
2394 </desc>
2395
2396 <desc name="type" error="GL_INVALID_VALUE">
2397 <value name="GL_BYTE"/>
2398 <value name="GL_UNSIGNED_BYTE"/>
2399 <value name="GL_SHORT"/>
2400 <value name="GL_UNSIGNED_SHORT"/>
2401 <value name="GL_FLOAT"/>
2402 <value name="GL_FIXED"/>
2403 <value name="GL_HALF_FLOAT_OES" category="OES_vertex_half_float"/>
2404 <value name="GL_UNSIGNED_INT_10_10_10_2_OES" category="OES_vertex_type_10_10_10_2"/>
2405 <value name="GL_INT_10_10_10_2_OES" category="OES_vertex_type_10_10_10_2"/>
2406 </desc>
2407
2408 <desc name="type" category="OES_vertex_type_10_10_10_2">
2409 <value name="GL_UNSIGNED_INT_10_10_10_2_OES"/>
2410 <value name="GL_INT_10_10_10_2_OES"/>
2411
2412 <desc name="size">
2413 <value name="3"/>
2414 <value name="4"/>
2415 </desc>
2416 </desc>
2417 </template>
2418
2419 <template name="EnableVertexAttribArray">
2420 <proto>
2421 <return type="void"/>
2422 <param name="index" type="GLuint"/>
2423 </proto>
2424 </template>
2425
2426 <template name="DisableVertexAttribArray">
2427 <proto>
2428 <return type="void"/>
2429 <param name="index" type="GLuint"/>
2430 </proto>
2431 </template>
2432
2433 <template name="IsProgram" direction="get">
2434 <proto>
2435 <return type="GLboolean"/>
2436 <param name="program" type="GLuint"/>
2437 </proto>
2438 </template>
2439
2440 <template name="GetProgram" direction="get">
2441 <proto>
2442 <return type="void"/>
2443 <param name="program" type="GLuint"/>
2444 <param name="pname" type="GLenum"/>
2445 <vector name="params" type="GLtype *" size="dynamic"/>
2446 </proto>
2447
2448 <desc name="pname">
2449 <value name="GL_DELETE_STATUS"/>
2450 <value name="GL_LINK_STATUS"/>
2451 <value name="GL_VALIDATE_STATUS"/>
2452 <value name="GL_INFO_LOG_LENGTH"/>
2453 <value name="GL_ATTACHED_SHADERS"/>
2454 <value name="GL_ACTIVE_ATTRIBUTES"/>
2455 <value name="GL_ACTIVE_ATTRIBUTE_MAX_LENGTH"/>
2456 <value name="GL_ACTIVE_UNIFORMS"/>
2457 <value name="GL_ACTIVE_UNIFORM_MAX_LENGTH"/>
2458 <value name="GL_PROGRAM_BINARY_LENGTH_OES" category="OES_get_program_binary"/>
2459
2460 <desc name="params" convert="false"/>
2461 </desc>
2462 </template>
2463
2464 <template name="GetVertexAttrib" direction="get">
2465 <proto>
2466 <return type="void"/>
2467 <param name="index" type="GLuint"/>
2468 <param name="pname" type="GLenum"/>
2469 <vector name="params" type="GLtype *" size="dynamic"/>
2470 </proto>
2471
2472 <desc name="pname">
2473 <value name="GL_VERTEX_ATTRIB_ARRAY_ENABLED"/>
2474 <value name="GL_VERTEX_ATTRIB_ARRAY_SIZE"/>
2475 <value name="GL_VERTEX_ATTRIB_ARRAY_STRIDE"/>
2476 <value name="GL_VERTEX_ATTRIB_ARRAY_TYPE"/>
2477 <value name="GL_VERTEX_ATTRIB_ARRAY_NORMALIZED"/>
2478 <value name="GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING"/>
2479
2480 <desc name="params" vector_size="1" convert="false"/>
2481 </desc>
2482
2483 <desc name="pname">
2484 <value name="GL_CURRENT_VERTEX_ATTRIB"/>
2485 <desc name="params" vector_size="16?" convert="false"/>
2486 </desc>
2487 </template>
2488
2489 <template name="GetVertexAttribPointer" direction="get">
2490 <proto>
2491 <return type="void"/>
2492 <param name="index" type="GLuint"/>
2493 <param name="pname" type="GLenum"/>
2494 <vector name="pointer" type="GLvoid **" size="dynamic"/>
2495 </proto>
2496
2497 <desc name="pname">
2498 <value name="GL_VERTEX_ATTRIB_ARRAY_POINTER"/>
2499 </desc>
2500 </template>
2501
2502 <template name="GetBufferPointer" direction="get">
2503 <proto>
2504 <return type="void"/>
2505 <param name="target" type="GLenum"/>
2506 <param name="pname" type="GLenum"/>
2507 <vector name="params" type="GLvoid **" size="dynamic"/>
2508 </proto>
2509
2510 <desc name="target">
2511 <value name="GL_ARRAY_BUFFER"/>
2512 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2513 </desc>
2514
2515 <desc name="pname">
2516 <value name="GL_BUFFER_MAP_POINTER_OES"/>
2517 </desc>
2518 </template>
2519
2520 <template name="MapBuffer" direction="get">
2521 <proto>
2522 <return type="void *"/>
2523 <param name="target" type="GLenum"/>
2524 <param name="access" type="GLenum"/>
2525 </proto>
2526
2527 <desc name="target">
2528 <value name="GL_ARRAY_BUFFER"/>
2529 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2530 </desc>
2531
2532 <desc name="access">
2533 <value name="GL_WRITE_ONLY_OES"/>
2534 </desc>
2535 </template>
2536
2537 <template name="UnmapBuffer" direction="get">
2538 <proto>
2539 <return type="GLboolean"/>
2540 <param name="target" type="GLenum"/>
2541 </proto>
2542
2543 <desc name="target">
2544 <value name="GL_ARRAY_BUFFER"/>
2545 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2546 </desc>
2547 </template>
2548
2549 <template name="BindBuffer">
2550 <proto>
2551 <return type="void"/>
2552 <param name="target" type="GLenum"/>
2553 <param name="buffer" type="GLuint"/>
2554 </proto>
2555
2556 <desc name="target">
2557 <value name="GL_ARRAY_BUFFER"/>
2558 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2559 </desc>
2560 </template>
2561
2562 <template name="BufferData">
2563 <proto>
2564 <return type="void"/>
2565 <param name="target" type="GLenum"/>
2566 <param name="size" type="GLsizeiptr"/>
2567 <param name="data" type="const GLvoid *"/>
2568 <param name="usage" type="GLenum"/>
2569 </proto>
2570
2571 <desc name="target">
2572 <value name="GL_ARRAY_BUFFER"/>
2573 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2574 </desc>
2575
2576 <desc name="usage">
2577 <value name="GL_STATIC_DRAW"/>
2578 <value name="GL_DYNAMIC_DRAW"/>
2579 <value name="GL_STREAM_DRAW" category="GLES2.0"/>
2580 </desc>
2581 </template>
2582
2583 <template name="BufferSubData">
2584 <proto>
2585 <return type="void"/>
2586 <param name="target" type="GLenum"/>
2587 <param name="offset" type="GLintptr"/>
2588 <param name="size" type="GLsizeiptr"/>
2589 <param name="data" type="const GLvoid *"/>
2590 </proto>
2591
2592 <desc name="target">
2593 <value name="GL_ARRAY_BUFFER"/>
2594 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2595 </desc>
2596 </template>
2597
2598 <template name="DeleteBuffers">
2599 <proto>
2600 <return type="void"/>
2601 <param name="n" type="GLsizei"/>
2602 <param name="buffer" type="const GLuint *"/>
2603 </proto>
2604 </template>
2605
2606 <template name="GenBuffers" direction="get">
2607 <proto>
2608 <return type="void"/>
2609 <param name="n" type="GLsizei"/>
2610 <param name="buffer" type="GLuint *"/>
2611 </proto>
2612 </template>
2613
2614 <template name="GetBufferParameter" direction="get">
2615 <proto>
2616 <return type="void"/>
2617 <param name="target" type="GLenum"/>
2618 <param name="pname" type="GLenum"/>
2619 <vector name="params" type="GLtype *" size="dynamic"/>
2620 </proto>
2621
2622 <desc name="target">
2623 <value name="GL_ARRAY_BUFFER"/>
2624 <value name="GL_ELEMENT_ARRAY_BUFFER"/>
2625 </desc>
2626
2627 <desc name="pname">
2628 <value name="GL_BUFFER_SIZE"/>
2629 <value name="GL_BUFFER_USAGE"/>
2630 <value name="GL_BUFFER_ACCESS_OES" category="OES_mapbuffer"/>
2631 <value name="GL_BUFFER_MAPPED_OES" category="OES_mapbuffer"/>
2632 </desc>
2633 </template>
2634
2635 <template name="IsBuffer" direction="get">
2636 <proto>
2637 <return type="GLboolean"/>
2638 <param name="buffer" type="GLuint"/>
2639 </proto>
2640 </template>
2641
2642 <template name="CreateShader">
2643 <proto>
2644 <return type="GLuint"/>
2645 <param name="type" type="GLenum"/>
2646 </proto>
2647
2648 <desc name="type">
2649 <value name="GL_VERTEX_SHADER"/>
2650 <value name="GL_FRAGMENT_SHADER"/>
2651 </desc>
2652 </template>
2653
2654 <template name="ShaderSource">
2655 <proto>
2656 <return type="void"/>
2657 <param name="shader" type="GLuint"/>
2658 <param name="count" type="GLsizei"/>
2659 <param name="string" type="const GLchar * const *"/>
2660 <param name="length" type="const int *"/>
2661 </proto>
2662 </template>
2663
2664 <template name="CompileShader">
2665 <proto>
2666 <return type="void"/>
2667 <param name="shader" type="GLuint"/>
2668 </proto>
2669 </template>
2670
2671 <template name="ReleaseShaderCompiler">
2672 <proto>
2673 <return type="void"/>
2674 </proto>
2675 </template>
2676
2677 <template name="DeleteShader">
2678 <proto>
2679 <return type="void"/>
2680 <param name="shader" type="GLuint"/>
2681 </proto>
2682 </template>
2683
2684 <template name="ShaderBinary">
2685 <proto>
2686 <return type="void"/>
2687 <param name="n" type="GLsizei"/>
2688 <param name="shaders" type="const GLuint *"/>
2689 <param name="binaryformat" type="GLenum"/>
2690 <param name="binary" type="const GLvoid *"/>
2691 <param name="length" type="GLsizei"/>
2692 </proto>
2693 </template>
2694
2695 <template name="CreateProgram">
2696 <proto>
2697 <return type="GLuint"/>
2698 </proto>
2699 </template>
2700
2701 <template name="AttachShader">
2702 <proto>
2703 <return type="void"/>
2704 <param name="program" type="GLuint"/>
2705 <param name="shader" type="GLuint"/>
2706 </proto>
2707 </template>
2708
2709 <template name="DetachShader">
2710 <proto>
2711 <return type="void"/>
2712 <param name="program" type="GLuint"/>
2713 <param name="shader" type="GLuint"/>
2714 </proto>
2715 </template>
2716
2717 <template name="LinkProgram">
2718 <proto>
2719 <return type="void"/>
2720 <param name="program" type="GLuint"/>
2721 </proto>
2722 </template>
2723
2724 <template name="UseProgram">
2725 <proto>
2726 <return type="void"/>
2727 <param name="program" type="GLuint"/>
2728 </proto>
2729 </template>
2730
2731 <template name="DeleteProgram">
2732 <proto>
2733 <return type="void"/>
2734 <param name="program" type="GLuint"/>
2735 </proto>
2736 </template>
2737
2738 <template name="GetActiveAttrib" direction="get">
2739 <proto>
2740 <return type="void"/>
2741 <param name="program" type="GLuint"/>
2742 <param name="index" type="GLuint"/>
2743 <param name="bufSize" type="GLsizei"/>
2744 <param name="length" type="GLsizei *"/>
2745 <param name="size" type="GLint *"/>
2746 <param name="type" type="GLenum *"/>
2747 <param name="name" type="GLchar *"/>
2748 </proto>
2749 </template>
2750
2751 <template name="GetAttribLocation" direction="get">
2752 <proto>
2753 <return type="GLint"/>
2754 <param name="program" type="GLuint"/>
2755 <param name="name" type="const char *"/>
2756 </proto>
2757 </template>
2758
2759 <template name="BindAttribLocation">
2760 <proto>
2761 <return type="void"/>
2762 <param name="program" type="GLuint"/>
2763 <param name="index" type="GLuint"/>
2764 <param name="name" type="const char *"/>
2765 </proto>
2766 </template>
2767
2768 <template name="GetUniformLocation" direction="get">
2769 <proto>
2770 <return type="GLint"/>
2771 <param name="program" type="GLuint"/>
2772 <param name="name" type="const char *"/>
2773 </proto>
2774 </template>
2775
2776 <template name="GetActiveUniform" direction="get">
2777 <proto>
2778 <return type="void"/>
2779 <param name="program" type="GLuint"/>
2780 <param name="index" type="GLuint"/>
2781 <param name="bufSize" type="GLsizei"/>
2782 <param name="length" type="GLsizei *"/>
2783 <param name="size" type="GLint *"/>
2784 <param name="type" type="GLenum *"/>
2785 <param name="name" type="GLchar *"/>
2786 </proto>
2787 </template>
2788
2789 <template name="Uniform">
2790 <proto>
2791 <return type="void"/>
2792 <param name="location" type="GLint"/>
2793 <param name="count" type="GLsizei" hide_if_expanded="true"/>
2794 <vector name="values" type="const GLtype *" size="dynamic">
2795 <param name="v0" type="GLtype"/>
2796 <param name="v1" type="GLtype"/>
2797 <param name="v2" type="GLtype"/>
2798 <param name="v3" type="GLtype"/>
2799 </vector>
2800 </proto>
2801 </template>
2802
2803 <template name="UniformMatrix">
2804 <proto>
2805 <return type="void"/>
2806 <param name="location" type="GLint"/>
2807 <param name="count" type="GLsizei"/>
2808 <param name="transpose" type="GLboolean"/>
2809 <vector name="value" type="const GLtype *" size="dynamic"/>
2810 </proto>
2811 </template>
2812
2813 <template name="ValidateProgram">
2814 <proto>
2815 <return type="void"/>
2816 <param name="program" type="GLuint"/>
2817 </proto>
2818 </template>
2819
2820 <template name="GenerateMipmap">
2821 <proto>
2822 <return type="void"/>
2823 <param name="target" type="GLenum"/>
2824 </proto>
2825
2826 <desc name="target">
2827 <value name="GL_TEXTURE_2D"/>
2828 <value name="GL_TEXTURE_CUBE_MAP" category="GLES2.0"/>
2829 <value name="GL_TEXTURE_CUBE_MAP_OES" category="OES_texture_cube_map"/>
2830 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
2831 </desc>
2832 </template>
2833
2834 <template name="BindFramebuffer">
2835 <proto>
2836 <return type="void"/>
2837 <param name="target" type="GLenum"/>
2838 <param name="framebuffer" type="GLuint"/>
2839 </proto>
2840 </template>
2841
2842 <template name="DeleteFramebuffers">
2843 <proto>
2844 <return type="void"/>
2845 <param name="n" type="GLsizei"/>
2846 <param name="framebuffers" type="const GLuint *"/>
2847 </proto>
2848 </template>
2849
2850 <template name="GenFramebuffers">
2851 <proto>
2852 <return type="void"/>
2853 <param name="n" type="GLsizei"/>
2854 <param name="ids" type="GLuint *"/>
2855 </proto>
2856 </template>
2857
2858 <template name="BindRenderbuffer">
2859 <proto>
2860 <return type="void"/>
2861 <param name="target" type="GLenum"/>
2862 <param name="renderbuffer" type="GLuint"/>
2863 </proto>
2864 </template>
2865
2866 <template name="DeleteRenderbuffers">
2867 <proto>
2868 <return type="void"/>
2869 <param name="n" type="GLsizei"/>
2870 <param name="renderbuffers" type="const GLuint *"/>
2871 </proto>
2872 </template>
2873
2874 <template name="GenRenderbuffers">
2875 <proto>
2876 <return type="void"/>
2877 <param name="n" type="GLsizei"/>
2878 <param name="renderbuffers" type="GLuint *"/>
2879 </proto>
2880 </template>
2881
2882 <template name="RenderbufferStorage">
2883 <proto>
2884 <return type="void"/>
2885 <param name="target" type="GLenum"/>
2886 <param name="internalFormat" type="GLenum"/>
2887 <param name="width" type="GLsizei"/>
2888 <param name="height" type="GLsizei"/>
2889 </proto>
2890
2891 <desc name="internalFormat">
2892 <value name="GL_DEPTH_COMPONENT16_OES" category="OES_framebuffer_object"/>
2893 <value name="GL_RGBA4_OES" category="OES_framebuffer_object"/>
2894 <value name="GL_RGB5_A1_OES" category="OES_framebuffer_object"/>
2895 <value name="GL_RGB565_OES" category="OES_framebuffer_object"/>
2896 <value name="GL_STENCIL_INDEX8_OES" category="OES_stencil8"/>
2897
2898 <value name="GL_DEPTH_COMPONENT16" category="GLES2.0"/>
2899 <value name="GL_RGBA4" category="GLES2.0"/>
2900 <value name="GL_RGB5_A1" category="GLES2.0"/>
2901 <value name="GL_RGB565" category="GLES2.0"/>
2902 <value name="GL_STENCIL_INDEX8" category="GLES2.0"/>
2903
2904 <value name="GL_DEPTH_COMPONENT24_OES" category="OES_depth24"/>
2905 <value name="GL_DEPTH_COMPONENT32_OES" category="OES_depth32"/>
2906 <value name="GL_RGB8_OES" category="OES_rgb8_rgba8"/>
2907 <value name="GL_RGBA8_OES" category="OES_rgb8_rgba8"/>
2908 <value name="GL_STENCIL_INDEX1_OES" category="OES_stencil1"/>
2909 <value name="GL_STENCIL_INDEX4_OES" category="OES_stencil4"/>
2910 <value name="GL_DEPTH24_STENCIL8_OES" category="OES_packed_depth_stencil"/>
2911 </desc>
2912 </template>
2913
2914 <template name="FramebufferRenderbuffer">
2915 <proto>
2916 <return type="void"/>
2917 <param name="target" type="GLenum"/>
2918 <param name="attachment" type="GLenum"/>
2919 <param name="renderbuffertarget" type="GLenum"/>
2920 <param name="renderbuffer" type="GLuint"/>
2921 </proto>
2922 </template>
2923
2924 <template name="FramebufferTexture2D">
2925 <proto>
2926 <return type="void"/>
2927 <param name="target" type="GLenum"/>
2928 <param name="attachment" type="GLenum"/>
2929 <param name="textarget" type="GLenum"/>
2930 <param name="texture" type="GLuint"/>
2931 <param name="level" type="GLint"/>
2932 </proto>
2933
2934 <desc name="textarget" error="GL_INVALID_OPERATION">
2935 <value name="GL_TEXTURE_2D"/>
2936 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X" category="GLES2.0"/>
2937 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y" category="GLES2.0"/>
2938 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z" category="GLES2.0"/>
2939 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X" category="GLES2.0"/>
2940 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" category="GLES2.0"/>
2941 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" category="GLES2.0"/>
2942 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" category="OES_texture_cube_map"/>
2943 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" category="OES_texture_cube_map"/>
2944 <value name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" category="OES_texture_cube_map"/>
2945 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" category="OES_texture_cube_map"/>
2946 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" category="OES_texture_cube_map"/>
2947 <value name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" category="OES_texture_cube_map"/>
2948 </desc>
2949 <!-- According to the base specification, "level" must be 0. But
2950 extension GL_OES_fbo_render_mipmap lifts that restriction,
2951 so no restriction is placed here. -->
2952 </template>
2953
2954 <template name="FramebufferTexture3D">
2955 <proto>
2956 <return type="void"/>
2957 <param name="target" type="GLenum"/>
2958 <param name="attachment" type="GLenum"/>
2959 <param name="textarget" type="GLenum"/>
2960 <param name="texture" type="GLuint"/>
2961 <param name="level" type="GLint"/>
2962 <param name="zoffset" type="GLint"/>
2963 </proto>
2964
2965 <desc name="textarget" error="GL_INVALID_OPERATION">
2966 <value name="GL_TEXTURE_3D_OES" category="OES_texture_3D"/>
2967 </desc>
2968 </template>
2969
2970 <template name="CheckFramebufferStatus" direction="get">
2971 <proto>
2972 <return type="GLenum"/>
2973 <param name="target" type="GLenum"/>
2974 </proto>
2975 </template>
2976
2977 <template name="GetFramebufferAttachmentParameter" direction="get">
2978 <proto>
2979 <return type="void"/>
2980 <param name="target" type="GLenum"/>
2981 <param name="attachment" type="GLenum"/>
2982 <param name="pname" type="GLenum"/>
2983 <vector name="params" type="GLtype *" size="dynamic"/>
2984 </proto>
2985
2986 <desc name="pname">
2987 <value name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES" category="OES_framebuffer_object"/>
2988 <value name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES" category="OES_framebuffer_object"/>
2989 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES" category="OES_framebuffer_object"/>
2990 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES" category="OES_framebuffer_object"/>
2991
2992 <value name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE" category="GLES2.0"/>
2993 <value name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME" category="GLES2.0"/>
2994 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL" category="GLES2.0"/>
2995 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE" category="GLES2.0"/>
2996 <value name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES" category="OES_texture_3D"/>
2997
2998 <desc name="params" vector_size="1" convert="false"/>
2999 </desc>
3000 </template>
3001
3002 <template name="GetRenderbufferParameter" direction="get">
3003 <proto>
3004 <return type="void"/>
3005 <param name="target" type="GLenum"/>
3006 <param name="pname" type="GLenum"/>
3007 <vector name="params" type="GLtype *" size="dynamic"/>
3008 </proto>
3009
3010 <desc name="pname" category="OES_framebuffer_object">
3011 <value name="GL_RENDERBUFFER_WIDTH_OES"/>
3012 <value name="GL_RENDERBUFFER_HEIGHT_OES"/>
3013 <value name="GL_RENDERBUFFER_INTERNAL_FORMAT_OES"/>
3014 <value name="GL_RENDERBUFFER_RED_SIZE_OES"/>
3015 <value name="GL_RENDERBUFFER_GREEN_SIZE_OES"/>
3016 <value name="GL_RENDERBUFFER_BLUE_SIZE_OES"/>
3017 <value name="GL_RENDERBUFFER_ALPHA_SIZE_OES"/>
3018 <value name="GL_RENDERBUFFER_DEPTH_SIZE_OES"/>
3019 <value name="GL_RENDERBUFFER_STENCIL_SIZE_OES"/>
3020
3021 <desc name="params" vector_size="1" convert="false"/>
3022 </desc>
3023
3024 <desc name="pname" category="GLES2.0">
3025 <value name="GL_RENDERBUFFER_WIDTH"/>
3026 <value name="GL_RENDERBUFFER_HEIGHT"/>
3027 <value name="GL_RENDERBUFFER_INTERNAL_FORMAT"/>
3028 <value name="GL_RENDERBUFFER_RED_SIZE"/>
3029 <value name="GL_RENDERBUFFER_GREEN_SIZE"/>
3030 <value name="GL_RENDERBUFFER_BLUE_SIZE"/>
3031 <value name="GL_RENDERBUFFER_ALPHA_SIZE"/>
3032 <value name="GL_RENDERBUFFER_DEPTH_SIZE"/>
3033 <value name="GL_RENDERBUFFER_STENCIL_SIZE"/>
3034
3035 <desc name="params" vector_size="1" convert="false"/>
3036 </desc>
3037 </template>
3038
3039 <template name="IsRenderbuffer" direction="get">
3040 <proto>
3041 <return type="GLboolean"/>
3042 <param name="renderbuffer" type="GLuint"/>
3043 </proto>
3044 </template>
3045
3046 <template name="IsFramebuffer" direction="get">
3047 <proto>
3048 <return type="GLboolean"/>
3049 <param name="framebuffer" type="GLuint"/>
3050 </proto>
3051 </template>
3052
3053 <template name="IsShader" direction="get">
3054 <proto>
3055 <return type="GLboolean"/>
3056 <param name="shader" type="GLuint"/>
3057 </proto>
3058 </template>
3059
3060 <template name="GetShader" direction="get">
3061 <proto>
3062 <return type="void"/>
3063 <param name="shader" type="GLuint"/>
3064 <param name="pname" type="GLenum"/>
3065 <vector name="params" type="GLtype *" size="dynamic"/>
3066 </proto>
3067
3068 <desc name="pname">
3069 <value name="GL_SHADER_TYPE"/>
3070 <value name="GL_COMPILE_STATUS"/>
3071 <value name="GL_DELETE_STATUS"/>
3072 <value name="GL_INFO_LOG_LENGTH"/>
3073 <value name="GL_SHADER_SOURCE_LENGTH"/>
3074 </desc>
3075 </template>
3076
3077 <template name="GetAttachedShaders" direction="get">
3078 <proto>
3079 <return type="void"/>
3080 <param name="program" type="GLuint"/>
3081 <param name="maxCount" type="GLsizei"/>
3082 <param name="count" type="GLsizei *"/>
3083 <param name="shaders" type="GLuint *"/>
3084 </proto>
3085 </template>
3086
3087 <template name="GetShaderInfoLog" direction="get">
3088 <proto>
3089 <return type="void"/>
3090 <param name="shader" type="GLuint"/>
3091 <param name="bufSize" type="GLsizei"/>
3092 <param name="length" type="GLsizei *"/>
3093 <param name="infoLog" type="GLchar *"/>
3094 </proto>
3095 </template>
3096
3097 <template name="GetProgramInfoLog" direction="get">
3098 <proto>
3099 <return type="void"/>
3100 <param name="program" type="GLuint"/>
3101 <param name="bufSize" type="GLsizei"/>
3102 <param name="length" type="GLsizei *"/>
3103 <param name="infoLog" type="GLchar *"/>
3104 </proto>
3105 </template>
3106
3107 <template name="GetShaderSource" direction="get">
3108 <proto>
3109 <return type="void"/>
3110 <param name="shader" type="GLuint"/>
3111 <param name="bufSize" type="GLsizei"/>
3112 <param name="length" type="GLsizei *"/>
3113 <param name="source" type="GLchar *"/>
3114 </proto>
3115 </template>
3116
3117 <template name="GetShaderPrecisionFormat" direction="get">
3118 <proto>
3119 <return type="void"/>
3120 <param name="shadertype" type="GLenum"/>
3121 <param name="precisiontype" type="GLenum"/>
3122 <param name="range" type="GLint *"/>
3123 <param name="precision" type="GLint *"/>
3124 </proto>
3125
3126 <desc name="shadertype">
3127 <value name="GL_VERTEX_SHADER"/>
3128 <value name="GL_FRAGMENT_SHADER"/>
3129 </desc>
3130
3131 <desc name="precisiontype">
3132 <value name="GL_LOW_FLOAT"/>
3133 <value name="GL_MEDIUM_FLOAT"/>
3134 <value name="GL_HIGH_FLOAT"/>
3135 <value name="GL_LOW_INT"/>
3136 <value name="GL_MEDIUM_INT"/>
3137 <value name="GL_HIGH_INT"/>
3138 </desc>
3139 </template>
3140
3141 <template name="GetUniform" direction="get">
3142 <proto>
3143 <return type="void"/>
3144 <param name="program" type="GLuint"/>
3145 <param name="location" type="GLint"/>
3146 <vector name="params" type="GLtype *" size="dynamic"/>
3147 </proto>
3148 </template>
3149
3150 <template name="QueryMatrix" direction="get">
3151 <proto>
3152 <return type="GLbitfield"/>
3153 <vector name="mantissa" type="GLtype *" size="16"/>
3154 <vector name="exponent" type="GLint *" size="16"/>
3155 </proto>
3156 </template>
3157
3158 <template name="DrawTex">
3159 <proto>
3160 <return type="void"/>
3161 <vector name="coords" type="const GLtype *" size="5">
3162 <param name="x" type="GLtype"/>
3163 <param name="y" type="GLtype"/>
3164 <param name="z" type="GLtype"/>
3165 <param name="w" type="GLtype"/>
3166 <param name="h" type="GLtype"/>
3167 </vector>
3168 </proto>
3169 </template>
3170
3171 <template name="MultiDrawArrays">
3172 <proto>
3173 <return type="void"/>
3174 <param name="mode" type="GLenum"/>
3175 <param name="first" type="const GLint *"/>
3176 <param name="count" type="const GLsizei *"/>
3177 <param name="primcount" type="GLsizei"/>
3178 </proto>
3179
3180 <desc name="mode">
3181 <value name="GL_POINTS"/>
3182 <value name="GL_LINES"/>
3183 <value name="GL_LINE_LOOP"/>
3184 <value name="GL_LINE_STRIP"/>
3185 <value name="GL_TRIANGLES"/>
3186 <value name="GL_TRIANGLE_STRIP"/>
3187 <value name="GL_TRIANGLE_FAN"/>
3188 </desc>
3189 </template>
3190
3191 <template name="MultiDrawElements">
3192 <proto>
3193 <return type="void"/>
3194 <param name="mode" type="GLenum"/>
3195 <param name="count" type="const GLsizei *"/>
3196 <param name="type" type="GLenum"/>
3197 <param name="indices" type="const GLvoid **"/>
3198 <param name="primcount" type="GLsizei"/>
3199 </proto>
3200
3201 <desc name="mode">
3202 <value name="GL_POINTS"/>
3203 <value name="GL_LINES"/>
3204 <value name="GL_LINE_LOOP"/>
3205 <value name="GL_LINE_STRIP"/>
3206 <value name="GL_TRIANGLES"/>
3207 <value name="GL_TRIANGLE_STRIP"/>
3208 <value name="GL_TRIANGLE_FAN"/>
3209 </desc>
3210
3211 <desc name="type">
3212 <value name="GL_UNSIGNED_BYTE"/>
3213 <value name="GL_UNSIGNED_SHORT"/>
3214 <value name="GL_UNSIGNED_INT" category="OES_element_index_uint"/>
3215 </desc>
3216 </template>
3217
3218 <template name="EGLImageTargetTexture2D">
3219 <proto>
3220 <return type="void"/>
3221 <param name="target" type="GLenum"/>
3222 <param name="image" type="GLeglImageOES"/>
3223 </proto>
3224
3225 <desc name="target">
3226 <value name="GL_TEXTURE_2D"/>
3227 <value name="GL_TEXTURE_EXTERNAL_OES" category="OES_EGL_image_external"/>
3228 </desc>
3229 </template>
3230
3231 <template name="EGLImageTargetRenderbufferStorage">
3232 <proto>
3233 <return type="void"/>
3234 <param name="target" type="GLenum"/>
3235 <param name="image" type="GLeglImageOES"/>
3236 </proto>
3237 </template>
3238
3239 <template name="DrawBuffers">
3240 <proto>
3241 <return type="void"/>
3242 <param name="n" type="GLsizei"/>
3243 <param name="bufs" type="const GLenum *"/>
3244 </proto>
3245 </template>
3246
3247 <template name="ReadBuffer">
3248 <proto>
3249 <return type="void"/>
3250 <param name="mode" type="GLenum"/>
3251 </proto>
3252 </template>
3253
3254 <api name="mesa" implementation="true">
3255 <category name="MESA"/>
3256
3257 <function name="Color4f" default_prefix="_es_" template="Color" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3258 <function name="ClipPlane" template="ClipPlane" gltype="GLdouble"/>
3259 <function name="CullFace" template="CullFace"/>
3260
3261 <function name="Fogf" template="Fog" gltype="GLfloat" expand_vector="true"/>
3262 <function name="Fogfv" template="Fog" gltype="GLfloat"/>
3263
3264 <function name="FrontFace" template="FrontFace"/>
3265 <function name="Hint" template="Hint"/>
3266
3267 <function name="Lightf" template="Light" gltype="GLfloat" expand_vector="true"/>
3268 <function name="Lightfv" template="Light" gltype="GLfloat"/>
3269
3270 <function name="LightModelf" template="LightModel" gltype="GLfloat" expand_vector="true"/>
3271 <function name="LightModelfv" template="LightModel" gltype="GLfloat"/>
3272
3273 <function name="LineWidth" template="LineWidth" gltype="GLfloat"/>
3274
3275 <function name="Materialf" default_prefix="_es_" template="Material" gltype="GLfloat" expand_vector="true"/>
3276 <function name="Materialfv" default_prefix="_es_" template="Material" gltype="GLfloat"/>
3277
3278 <function name="PointSize" template="PointSize" gltype="GLfloat"/>
3279 <function name="PointSizePointer" template="PointSizePointer"/>
3280
3281 <function name="Scissor" template="Scissor"/>
3282 <function name="ShadeModel" template="ShadeModel"/>
3283
3284 <function name="TexParameterf" template="TexParameter" gltype="GLfloat" expand_vector="true"/>
3285 <function name="TexParameterfv" template="TexParameter" gltype="GLfloat"/>
3286 <function name="TexParameteri" template="TexParameter" gltype="GLint" expand_vector="true"/>
3287 <function name="TexParameteriv" template="TexParameter" gltype="GLint"/>
3288
3289 <function name="TexImage2D" template="TexImage2D"/>
3290
3291 <function name="TexEnvf" template="TexEnv" gltype="GLfloat" expand_vector="true"/>
3292 <function name="TexEnvi" template="TexEnv" gltype="GLint" expand_vector="true"/>
3293 <function name="TexEnvfv" template="TexEnv" gltype="GLfloat"/>
3294 <function name="TexEnviv" template="TexEnv" gltype="GLint"/>
3295
3296 <function name="TexGenf" template="TexGen" gltype="GLfloat" expand_vector="true"/>
3297 <function name="TexGenfv" template="TexGen" gltype="GLfloat"/>
3298
3299 <function name="Clear" template="Clear"/>
3300 <function name="ClearColor" template="ClearColor" gltype="GLclampf"/>
3301 <function name="ClearStencil" template="ClearStencil"/>
3302 <function name="ClearDepth" template="ClearDepth" gltype="GLclampd"/>
3303 <function name="ClearDepthf" template="ClearDepth" gltype="GLclampf"/>
3304
3305 <function name="StencilMask" template="StencilMask"/>
3306 <function name="StencilMaskSeparate" template="StencilMaskSeparate"/>
3307 <function name="ColorMask" template="ColorMask"/>
3308 <function name="DepthMask" template="DepthMask"/>
3309 <function name="Disable" template="Disable"/>
3310 <function name="Enable" template="Enable"/>
3311 <function name="Finish" template="Finish"/>
3312 <function name="Flush" template="Flush"/>
3313
3314 <function name="AlphaFunc" template="AlphaFunc" gltype="GLclampf"/>
3315
3316 <function name="BlendFunc" template="BlendFunc"/>
3317 <function name="LogicOp" template="LogicOp"/>
3318 <function name="StencilFunc" template="StencilFunc"/>
3319 <function name="StencilFuncSeparate" template="StencilFuncSeparate"/>
3320 <function name="StencilOp" template="StencilOp"/>
3321 <function name="StencilOpSeparate" template="StencilOpSeparate"/>
3322 <function name="DepthFunc" template="DepthFunc"/>
3323 <function name="PixelStorei" template="PixelStore" gltype="GLint"/>
3324
3325 <function name="ReadPixels" template="ReadPixels"/>
3326 <function name="GetBooleanv" template="GetState" gltype="GLboolean"/>
3327 <function name="GetClipPlane" template="GetClipPlane" gltype="GLdouble"/>
3328 <function name="GetError" template="GetError"/>
3329 <function name="GetFloatv" template="GetState" gltype="GLfloat"/>
3330 <function name="GetFixedv" template="GetState" gltype="GLfixed"/>
3331 <function name="GetIntegerv" template="GetState" gltype="GLint"/>
3332
3333 <function name="GetLightfv" template="GetLight" gltype="GLfloat"/>
3334 <function name="GetMaterialfv" template="GetMaterial" gltype="GLfloat"/>
3335 <function name="GetMaterialiv" template="GetMaterial" gltype="GLint"/>
3336
3337 <function name="GetString" template="GetString"/>
3338
3339 <function name="GetTexEnvfv" template="GetTexEnv" gltype="GLfloat"/>
3340 <function name="GetTexEnviv" template="GetTexEnv" gltype="GLint"/>
3341 <function name="GetTexGenfv" template="GetTexGen" gltype="GLfloat"/>
3342 <function name="GetTexParameterfv" template="GetTexParameter" gltype="GLfloat"/>
3343 <function name="GetTexParameteriv" template="GetTexParameter" gltype="GLint"/>
3344
3345 <function name="IsEnabled" template="IsEnabled"/>
3346
3347 <function name="DepthRange" template="DepthRange" gltype="GLclampd"/>
3348 <function name="DepthRangef" template="DepthRange" gltype="GLclampf"/>
3349 <function name="Frustum" template="Frustum" gltype="GLdouble"/>
3350
3351 <function name="LoadIdentity" template="LoadIdentity"/>
3352 <function name="LoadMatrixf" template="LoadMatrix" gltype="GLfloat"/>
3353 <function name="MatrixMode" template="MatrixMode"/>
3354
3355 <function name="MultMatrixf" template="MultMatrix" gltype="GLfloat"/>
3356 <function name="Ortho" template="Ortho" gltype="GLdouble"/>
3357 <function name="PopMatrix" template="PopMatrix"/>
3358 <function name="PushMatrix" template="PushMatrix"/>
3359
3360 <function name="Rotatef" template="Rotate" gltype="GLfloat"/>
3361 <function name="Scalef" template="Scale" gltype="GLfloat"/>
3362 <function name="Translatef" template="Translate" gltype="GLfloat"/>
3363
3364 <function name="Viewport" template="Viewport"/>
3365
3366 <function name="ColorPointer" template="ColorPointer"/>
3367 <function name="DisableClientState" template="DisableClientState"/>
3368 <function name="DrawArrays" template="DrawArrays"/>
3369 <function name="DrawElements" template="DrawElements"/>
3370 <function name="EnableClientState" template="EnableClientState"/>
3371
3372 <function name="GetPointerv" template="GetPointer"/>
3373 <function name="Normal3f" default_prefix="_es_" template="Normal" gltype="GLfloat" expand_vector="true"/>
3374 <function name="NormalPointer" template="NormalPointer"/>
3375 <function name="TexCoordPointer" template="TexCoordPointer"/>
3376 <function name="VertexPointer" template="VertexPointer"/>
3377
3378 <function name="PolygonOffset" template="PolygonOffset" gltype="GLfloat"/>
3379 <function name="CopyTexImage2D" template="CopyTexImage2D"/>
3380 <function name="CopyTexSubImage2D" template="CopyTexSubImage2D"/>
3381 <function name="TexSubImage2D" template="TexSubImage2D"/>
3382
3383 <function name="BindTexture" template="BindTexture"/>
3384 <function name="DeleteTextures" template="DeleteTextures"/>
3385 <function name="GenTextures" template="GenTextures"/>
3386 <function name="IsTexture" template="IsTexture"/>
3387
3388 <function name="BlendColor" template="BlendColor" gltype="GLclampf"/>
3389 <function name="BlendEquation" template="BlendEquation"/>
3390 <function name="BlendEquationSeparateEXT" template="BlendEquationSeparate"/>
3391
3392 <function name="TexImage3D" template="TexImage3D"/>
3393 <function name="TexSubImage3D" template="TexSubImage3D"/>
3394 <function name="CopyTexSubImage3D" template="CopyTexSubImage3D"/>
3395
3396 <function name="CompressedTexImage3DARB" template="CompressedTexImage3D"/>
3397 <function name="CompressedTexSubImage3DARB" template="CompressedTexSubImage3D"/>
3398
3399 <function name="ActiveTextureARB" template="ActiveTexture"/>
3400 <function name="ClientActiveTextureARB" template="ClientActiveTexture"/>
3401
3402 <function name="MultiTexCoord4f" default_prefix="_es_" template="MultiTexCoord" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3403
3404 <function name="SampleCoverageARB" template="SampleCoverage" gltype="GLclampf"/>
3405
3406 <function name="CompressedTexImage2DARB" template="CompressedTexImage2D"/>
3407 <function name="CompressedTexSubImage2DARB" template="CompressedTexSubImage2D"/>
3408
3409 <function name="BlendFuncSeparateEXT" template="BlendFuncSeparate"/>
3410
3411 <function name="PointParameterf" template="PointParameter" gltype="GLfloat" expand_vector="true"/>
3412 <function name="PointParameterfv" template="PointParameter" gltype="GLfloat"/>
3413
3414 <function name="VertexAttrib1f" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="1" expand_vector="true"/>
3415 <function name="VertexAttrib2f" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="2" expand_vector="true"/>
3416 <function name="VertexAttrib3f" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="3" expand_vector="true"/>
3417 <function name="VertexAttrib4f" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3418 <function name="VertexAttrib1fv" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="1"/>
3419 <function name="VertexAttrib2fv" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="2"/>
3420 <function name="VertexAttrib3fv" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="3"/>
3421 <function name="VertexAttrib4fv" default_prefix="_es_" template="VertexAttrib" gltype="GLfloat" vector_size="4"/>
3422
3423 <function name="VertexAttribPointerARB" template="VertexAttribPointer"/>
3424 <function name="EnableVertexAttribArrayARB" template="EnableVertexAttribArray"/>
3425 <function name="DisableVertexAttribArrayARB" template="DisableVertexAttribArray"/>
3426
3427 <function name="IsProgram" template="IsProgram"/>
3428 <function name="GetProgramiv" template="GetProgram" gltype="GLint"/>
3429
3430 <function name="GetVertexAttribfvARB" template="GetVertexAttrib" gltype="GLfloat"/>
3431 <function name="GetVertexAttribivARB" template="GetVertexAttrib" gltype="GLint"/>
3432 <function name="GetVertexAttribPointervARB" template="GetVertexAttribPointer"/>
3433
3434 <function name="GetBufferPointervARB" template="GetBufferPointer"/>
3435 <function name="MapBufferARB" template="MapBuffer"/>
3436 <function name="UnmapBufferARB" template="UnmapBuffer"/>
3437 <function name="BindBufferARB" template="BindBuffer"/>
3438 <function name="BufferDataARB" template="BufferData"/>
3439 <function name="BufferSubDataARB" template="BufferSubData"/>
3440 <function name="DeleteBuffersARB" template="DeleteBuffers"/>
3441 <function name="GenBuffersARB" template="GenBuffers"/>
3442 <function name="GetBufferParameterivARB" template="GetBufferParameter" gltype="GLint"/>
3443 <function name="IsBufferARB" template="IsBuffer"/>
3444
3445 <function name="CreateShader" template="CreateShader"/>
3446 <function name="ShaderSourceARB" template="ShaderSource"/>
3447 <function name="CompileShaderARB" template="CompileShader"/>
3448 <function name="ReleaseShaderCompiler" template="ReleaseShaderCompiler"/>
3449 <function name="DeleteShader" template="DeleteShader"/>
3450 <function name="ShaderBinary" template="ShaderBinary"/>
3451 <function name="CreateProgram" template="CreateProgram"/>
3452 <function name="AttachShader" template="AttachShader"/>
3453 <function name="DetachShader" template="DetachShader"/>
3454 <function name="LinkProgramARB" template="LinkProgram"/>
3455 <function name="UseProgramObjectARB" template="UseProgram"/>
3456 <function name="DeleteProgram" template="DeleteProgram"/>
3457
3458 <function name="GetActiveAttribARB" template="GetActiveAttrib"/>
3459 <function name="GetAttribLocationARB" template="GetAttribLocation"/>
3460 <function name="BindAttribLocationARB" template="BindAttribLocation"/>
3461 <function name="GetUniformLocationARB" template="GetUniformLocation"/>
3462 <function name="GetActiveUniformARB" template="GetActiveUniform"/>
3463
3464 <function name="Uniform1fARB" template="Uniform" gltype="GLfloat" vector_size="1" expand_vector="true"/>
3465 <function name="Uniform2fARB" template="Uniform" gltype="GLfloat" vector_size="2" expand_vector="true"/>
3466 <function name="Uniform3fARB" template="Uniform" gltype="GLfloat" vector_size="3" expand_vector="true"/>
3467 <function name="Uniform4fARB" template="Uniform" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3468 <function name="Uniform1iARB" template="Uniform" gltype="GLint" vector_size="1" expand_vector="true"/>
3469 <function name="Uniform2iARB" template="Uniform" gltype="GLint" vector_size="2" expand_vector="true"/>
3470 <function name="Uniform3iARB" template="Uniform" gltype="GLint" vector_size="3" expand_vector="true"/>
3471 <function name="Uniform4iARB" template="Uniform" gltype="GLint" vector_size="4" expand_vector="true"/>
3472 <function name="Uniform1fvARB" template="Uniform" gltype="GLfloat" vector_size="1"/>
3473 <function name="Uniform2fvARB" template="Uniform" gltype="GLfloat" vector_size="2"/>
3474 <function name="Uniform3fvARB" template="Uniform" gltype="GLfloat" vector_size="3"/>
3475 <function name="Uniform4fvARB" template="Uniform" gltype="GLfloat" vector_size="4"/>
3476 <function name="Uniform1ivARB" template="Uniform" gltype="GLint" vector_size="1"/>
3477 <function name="Uniform2ivARB" template="Uniform" gltype="GLint" vector_size="2"/>
3478 <function name="Uniform3ivARB" template="Uniform" gltype="GLint" vector_size="3"/>
3479 <function name="Uniform4ivARB" template="Uniform" gltype="GLint" vector_size="4"/>
3480
3481 <function name="UniformMatrix2fvARB" template="UniformMatrix" gltype="GLfloat" vector_size="2"/>
3482 <function name="UniformMatrix3fvARB" template="UniformMatrix" gltype="GLfloat" vector_size="3"/>
3483 <function name="UniformMatrix4fvARB" template="UniformMatrix" gltype="GLfloat" vector_size="4"/>
3484
3485 <function name="ValidateProgramARB" template="ValidateProgram"/>
3486
3487 <function name="GenerateMipmapEXT" template="GenerateMipmap"/>
3488 <function name="BindFramebufferEXT" template="BindFramebuffer"/>
3489 <function name="DeleteFramebuffersEXT" template="DeleteFramebuffers"/>
3490 <function name="GenFramebuffersEXT" template="GenFramebuffers"/>
3491 <function name="BindRenderbufferEXT" template="BindRenderbuffer"/>
3492 <function name="DeleteRenderbuffersEXT" template="DeleteRenderbuffers"/>
3493 <function name="GenRenderbuffersEXT" template="GenRenderbuffers"/>
3494 <function name="RenderbufferStorageEXT" template="RenderbufferStorage"/>
3495 <function name="FramebufferRenderbufferEXT" template="FramebufferRenderbuffer"/>
3496 <function name="FramebufferTexture2DEXT" template="FramebufferTexture2D"/>
3497 <function name="FramebufferTexture3DEXT" template="FramebufferTexture3D"/>
3498 <function name="CheckFramebufferStatusEXT" template="CheckFramebufferStatus"/>
3499 <function name="GetFramebufferAttachmentParameterivEXT" template="GetFramebufferAttachmentParameter" gltype="GLint"/>
3500 <function name="GetRenderbufferParameterivEXT" template="GetRenderbufferParameter" gltype="GLint"/>
3501 <function name="IsRenderbufferEXT" template="IsRenderbuffer"/>
3502 <function name="IsFramebufferEXT" template="IsFramebuffer"/>
3503
3504 <function name="IsShader" template="IsShader"/>
3505 <function name="GetShaderiv" template="GetShader" gltype="GLint"/>
3506 <function name="GetAttachedShaders" template="GetAttachedShaders"/>
3507 <function name="GetShaderInfoLog" template="GetShaderInfoLog"/>
3508 <function name="GetProgramInfoLog" template="GetProgramInfoLog"/>
3509 <function name="GetShaderSourceARB" template="GetShaderSource"/>
3510 <function name="GetShaderPrecisionFormat" template="GetShaderPrecisionFormat"/>
3511 <function name="GetUniformfvARB" template="GetUniform" gltype="GLfloat"/>
3512 <function name="GetUniformivARB" template="GetUniform" gltype="GLint"/>
3513
3514 <function name="DrawTexf" template="DrawTex" gltype="GLfloat" expand_vector="true"/>
3515 <function name="DrawTexfv" template="DrawTex" gltype="GLfloat"/>
3516 <function name="DrawTexi" template="DrawTex" gltype="GLint" expand_vector="true"/>
3517 <function name="DrawTexiv" template="DrawTex" gltype="GLint"/>
3518 <function name="DrawTexs" template="DrawTex" gltype="GLshort" expand_vector="true"/>
3519 <function name="DrawTexsv" template="DrawTex" gltype="GLshort"/>
3520
3521 <!-- EXT_multi_draw_arrays -->
3522 <function name="MultiDrawArraysEXT" template="MultiDrawArrays"/>
3523 <function name="MultiDrawElementsEXT" template="MultiDrawElements"/>
3524
3525 <!-- OES_EGL_image -->
3526 <function name="EGLImageTargetTexture2DOES" template="EGLImageTargetTexture2D"/>
3527 <function name="EGLImageTargetRenderbufferStorageOES" template="EGLImageTargetRenderbufferStorage"/>
3528
3529 <function name="DrawBuffersARB" template="DrawBuffers"/>
3530
3531 <function name="ReadBuffer" template="ReadBuffer"/>
3532
3533 </api>
3534
3535 <api name="GLES1.1">
3536 <category name="GLES1.1"/>
3537
3538 <category name="OES_byte_coordinates"/>
3539 <category name="OES_fixed_point"/>
3540 <category name="OES_single_precision"/>
3541 <category name="OES_matrix_get"/>
3542 <category name="OES_read_format"/>
3543 <category name="OES_compressed_paletted_texture"/>
3544 <category name="OES_compressed_ETC1_RGB8_texture"/>
3545 <category name="OES_point_size_array"/>
3546 <category name="OES_point_sprite"/>
3547 <category name="OES_query_matrix"/>
3548 <category name="OES_draw_texture"/>
3549 <category name="OES_blend_equation_separate"/>
3550 <category name="OES_blend_func_separate"/>
3551 <category name="OES_blend_subtract"/>
3552 <category name="OES_stencil_wrap"/>
3553 <category name="OES_texture_cube_map"/>
3554 <category name="OES_texture_env_crossbar"/>
3555 <category name="OES_texture_mirrored_repeat"/>
3556 <category name="OES_framebuffer_object"/>
3557 <category name="OES_depth24"/>
3558 <category name="OES_depth32"/>
3559 <category name="OES_fbo_render_mipmap"/>
3560 <category name="OES_rgb8_rgba8"/>
3561 <category name="OES_stencil1"/>
3562 <category name="OES_stencil4"/>
3563 <category name="OES_stencil8"/>
3564 <category name="OES_element_index_uint"/>
3565 <category name="OES_mapbuffer"/>
3566 <category name="EXT_texture_filter_anisotropic"/>
3567 <category name="EXT_texture_format_BGRA8888"/>
3568 <category name="EXT_read_format_bgra"/>
3569
3570 <category name="ARB_texture_non_power_of_two"/>
3571 <!-- disabled due to missing enums
3572 <category name="EXT_texture_compression_dxt1"/>
3573 -->
3574 <category name="EXT_texture_lod_bias"/>
3575 <category name="EXT_blend_minmax"/>
3576 <category name="EXT_multi_draw_arrays"/>
3577 <category name="OES_EGL_image"/>
3578 <category name="OES_EGL_image_external"/>
3579
3580 <category name="OES_matrix_palette"/>
3581
3582 <function name="Color4f" external="true" template="Color" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3583 <function name="Color4ub" template="Color" gltype="GLubyte" vector_size="4" expand_vector="true"/>
3584 <function name="Color4x" template="Color" gltype="GLfixed" vector_size="4" expand_vector="true"/>
3585
3586 <function name="ClipPlanef" template="ClipPlane" gltype="GLfloat"/>
3587 <function name="ClipPlanex" template="ClipPlane" gltype="GLfixed"/>
3588
3589 <function name="CullFace" template="CullFace"/>
3590
3591 <function name="Fogf" template="Fog" gltype="GLfloat" expand_vector="true"/>
3592 <function name="Fogx" template="Fog" gltype="GLfixed" expand_vector="true"/>
3593 <function name="Fogfv" template="Fog" gltype="GLfloat"/>
3594 <function name="Fogxv" template="Fog" gltype="GLfixed"/>
3595
3596 <function name="FrontFace" template="FrontFace"/>
3597 <function name="Hint" template="Hint"/>
3598
3599 <function name="Lightf" template="Light" gltype="GLfloat" expand_vector="true"/>
3600 <function name="Lightx" template="Light" gltype="GLfixed" expand_vector="true"/>
3601 <function name="Lightfv" template="Light" gltype="GLfloat"/>
3602 <function name="Lightxv" template="Light" gltype="GLfixed"/>
3603
3604 <function name="LightModelf" template="LightModel" gltype="GLfloat" expand_vector="true"/>
3605 <function name="LightModelx" template="LightModel" gltype="GLfixed" expand_vector="true"/>
3606 <function name="LightModelfv" template="LightModel" gltype="GLfloat"/>
3607 <function name="LightModelxv" template="LightModel" gltype="GLfixed"/>
3608
3609 <function name="LineWidth" template="LineWidth" gltype="GLfloat"/>
3610 <function name="LineWidthx" template="LineWidth" gltype="GLfixed"/>
3611
3612 <function name="Materialf" external="true" template="Material" gltype="GLfloat" expand_vector="true"/>
3613 <function name="Materialfv" external="true" template="Material" gltype="GLfloat"/>
3614 <function name="Materialx" template="Material" gltype="GLfixed" expand_vector="true"/>
3615 <function name="Materialxv" template="Material" gltype="GLfixed"/>
3616
3617 <function name="PointSize" template="PointSize" gltype="GLfloat"/>
3618 <function name="PointSizex" template="PointSize" gltype="GLfixed"/>
3619 <function name="PointSizePointerOES" template="PointSizePointer"/>
3620
3621 <function name="Scissor" template="Scissor"/>
3622 <function name="ShadeModel" template="ShadeModel"/>
3623
3624 <function name="TexParameterf" template="TexParameter" gltype="GLfloat" expand_vector="true"/>
3625 <function name="TexParameterfv" template="TexParameter" gltype="GLfloat"/>
3626 <function name="TexParameteri" template="TexParameter" gltype="GLint" expand_vector="true"/>
3627 <function name="TexParameteriv" template="TexParameter" gltype="GLint"/>
3628 <function name="TexParameterx" template="TexParameter" gltype="GLfixed" expand_vector="true"/>
3629 <function name="TexParameterxv" template="TexParameter" gltype="GLfixed"/>
3630
3631 <function name="TexImage2D" template="TexImage2D"/>
3632
3633 <function name="TexEnvf" template="TexEnv" gltype="GLfloat" expand_vector="true"/>
3634 <function name="TexEnvfv" template="TexEnv" gltype="GLfloat"/>
3635 <function name="TexEnvi" template="TexEnv" gltype="GLint" expand_vector="true"/>
3636 <function name="TexEnviv" template="TexEnv" gltype="GLint"/>
3637 <function name="TexEnvx" template="TexEnv" gltype="GLfixed" expand_vector="true"/>
3638 <function name="TexEnvxv" template="TexEnv" gltype="GLfixed"/>
3639
3640 <function name="TexGenfOES" external="true" template="TexGen" gltype="GLfloat" expand_vector="true"/>
3641 <function name="TexGenfvOES" external="true" template="TexGen" gltype="GLfloat"/>
3642 <function name="TexGeniOES" external="true" template="TexGen" gltype="GLint" expand_vector="true"/>
3643 <function name="TexGenivOES" external="true" template="TexGen" gltype="GLint"/>
3644 <function name="TexGenxOES" external="true" template="TexGen" gltype="GLfixed" expand_vector="true"/>
3645 <function name="TexGenxvOES" external="true" template="TexGen" gltype="GLfixed"/>
3646
3647 <function name="Clear" template="Clear"/>
3648 <function name="ClearColor" template="ClearColor" gltype="GLclampf"/>
3649 <function name="ClearColorx" template="ClearColor" gltype="GLclampx"/>
3650
3651 <function name="ClearStencil" template="ClearStencil"/>
3652 <function name="ClearDepthf" template="ClearDepth" gltype="GLclampf"/>
3653 <function name="ClearDepthx" template="ClearDepth" gltype="GLclampx"/>
3654
3655 <function name="StencilMask" template="StencilMask"/>
3656 <function name="ColorMask" template="ColorMask"/>
3657 <function name="DepthMask" template="DepthMask"/>
3658
3659 <function name="Disable" template="Disable"/>
3660 <function name="Enable" template="Enable"/>
3661 <function name="Finish" template="Finish"/>
3662 <function name="Flush" template="Flush"/>
3663
3664 <function name="AlphaFunc" template="AlphaFunc" gltype="GLclampf"/>
3665 <function name="AlphaFuncx" template="AlphaFunc" gltype="GLclampx"/>
3666
3667 <function name="BlendFunc" template="BlendFunc"/>
3668 <function name="LogicOp" template="LogicOp"/>
3669 <function name="StencilFunc" template="StencilFunc"/>
3670
3671 <function name="StencilOp" template="StencilOp"/>
3672 <function name="DepthFunc" template="DepthFunc"/>
3673
3674 <function name="PixelStorei" template="PixelStore" gltype="GLint"/>
3675 <function name="ReadPixels" template="ReadPixels"/>
3676
3677 <function name="GetBooleanv" template="GetState" gltype="GLboolean"/>
3678
3679 <function name="GetClipPlanef" template="GetClipPlane" gltype="GLfloat"/>
3680 <function name="GetClipPlanex" template="GetClipPlane" gltype="GLfixed"/>
3681
3682 <function name="GetError" template="GetError"/>
3683 <function name="GetFloatv" template="GetState" gltype="GLfloat"/>
3684 <function name="GetFixedv" template="GetState" gltype="GLfixed"/>
3685 <function name="GetIntegerv" template="GetState" gltype="GLint"/>
3686
3687 <function name="GetLightfv" template="GetLight" gltype="GLfloat"/>
3688 <function name="GetLightxv" template="GetLight" gltype="GLfixed"/>
3689
3690 <function name="GetMaterialfv" template="GetMaterial" gltype="GLfloat"/>
3691 <function name="GetMaterialxv" template="GetMaterial" gltype="GLfixed"/>
3692
3693 <function name="GetString" template="GetString"/>
3694
3695 <function name="GetTexEnvfv" template="GetTexEnv" gltype="GLfloat"/>
3696 <function name="GetTexEnviv" template="GetTexEnv" gltype="GLint"/>
3697 <function name="GetTexEnvxv" template="GetTexEnv" gltype="GLfixed"/>
3698
3699 <function name="GetTexGenfvOES" external="true" template="GetTexGen" gltype="GLfloat"/>
3700 <function name="GetTexGenivOES" external="true" template="GetTexGen" gltype="GLint"/>
3701 <function name="GetTexGenxvOES" external="true" template="GetTexGen" gltype="GLfixed"/>
3702
3703 <function name="GetTexParameterfv" template="GetTexParameter" gltype="GLfloat"/>
3704 <function name="GetTexParameteriv" template="GetTexParameter" gltype="GLint"/>
3705 <function name="GetTexParameterxv" template="GetTexParameter" gltype="GLfixed"/>
3706
3707 <function name="IsEnabled" template="IsEnabled"/>
3708
3709 <function name="DepthRangef" template="DepthRange" gltype="GLclampf"/>
3710 <function name="DepthRangex" template="DepthRange" gltype="GLclampx"/>
3711
3712 <function name="Frustumf" template="Frustum" gltype="GLfloat"/>
3713 <function name="Frustumx" template="Frustum" gltype="GLfixed"/>
3714
3715 <function name="LoadIdentity" template="LoadIdentity"/>
3716 <function name="LoadMatrixf" template="LoadMatrix" gltype="GLfloat"/>
3717 <function name="LoadMatrixx" template="LoadMatrix" gltype="GLfixed"/>
3718 <function name="MatrixMode" template="MatrixMode"/>
3719
3720 <function name="MultMatrixf" template="MultMatrix" gltype="GLfloat"/>
3721 <function name="MultMatrixx" template="MultMatrix" gltype="GLfixed"/>
3722 <function name="Orthof" template="Ortho" gltype="GLfloat"/>
3723 <function name="Orthox" template="Ortho" gltype="GLfixed"/>
3724
3725 <function name="PopMatrix" template="PopMatrix"/>
3726 <function name="PushMatrix" template="PushMatrix"/>
3727
3728 <function name="Rotatef" template="Rotate" gltype="GLfloat"/>
3729 <function name="Rotatex" template="Rotate" gltype="GLfixed"/>
3730 <function name="Scalef" template="Scale" gltype="GLfloat"/>
3731 <function name="Scalex" template="Scale" gltype="GLfixed"/>
3732 <function name="Translatef" template="Translate" gltype="GLfloat"/>
3733 <function name="Translatex" template="Translate" gltype="GLfixed"/>
3734
3735 <function name="Viewport" template="Viewport"/>
3736 <function name="ColorPointer" template="ColorPointer"/>
3737 <function name="DisableClientState" template="DisableClientState"/>
3738 <function name="DrawArrays" template="DrawArrays"/>
3739 <function name="DrawElements" template="DrawElements"/>
3740 <function name="EnableClientState" template="EnableClientState"/>
3741
3742 <function name="GetPointerv" template="GetPointer"/>
3743
3744 <function name="Normal3f" external="true" template="Normal" gltype="GLfloat" expand_vector="true"/>
3745 <function name="Normal3x" template="Normal" gltype="GLfixed" expand_vector="true"/>
3746 <function name="NormalPointer" template="NormalPointer"/>
3747 <function name="TexCoordPointer" template="TexCoordPointer"/>
3748 <function name="VertexPointer" template="VertexPointer"/>
3749
3750 <function name="PolygonOffset" template="PolygonOffset" gltype="GLfloat"/>
3751 <function name="PolygonOffsetx" template="PolygonOffset" gltype="GLfixed"/>
3752
3753 <function name="CopyTexImage2D" template="CopyTexImage2D"/>
3754 <function name="CopyTexSubImage2D" template="CopyTexSubImage2D"/>
3755
3756 <function name="TexSubImage2D" template="TexSubImage2D"/>
3757
3758 <function name="BindTexture" template="BindTexture"/>
3759 <function name="DeleteTextures" template="DeleteTextures"/>
3760 <function name="GenTextures" template="GenTextures"/>
3761 <function name="IsTexture" template="IsTexture"/>
3762
3763 <function name="BlendEquationOES" template="BlendEquation"/>
3764 <function name="BlendEquationSeparateOES" template="BlendEquationSeparate"/>
3765
3766 <function name="MultiTexCoord4x" template="MultiTexCoord" gltype="GLfixed" vector_size="4" expand_vector="true"/>
3767
3768 <function name="ActiveTexture" template="ActiveTexture"/>
3769 <function name="ClientActiveTexture" template="ClientActiveTexture"/>
3770
3771 <function name="MultiTexCoord4f" external="true" template="MultiTexCoord" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3772
3773 <function name="SampleCoverage" template="SampleCoverage" gltype="GLclampf"/>
3774 <function name="SampleCoveragex" template="SampleCoverage" gltype="GLclampx"/>
3775
3776 <!-- CompressedTexImage2D calls out to two different functions based on
3777 whether the image is a paletted image or not -->
3778 <function name="CompressedTexImage2D" template="CompressedTexImage2D"/>
3779 <function name="CompressedTexSubImage2D" template="CompressedTexSubImage2D"/>
3780
3781 <function name="BlendFuncSeparateOES" template="BlendFuncSeparate"/>
3782
3783 <function name="PointParameterf" template="PointParameter" gltype="GLfloat" expand_vector="true"/>
3784 <function name="PointParameterfv" template="PointParameter" gltype="GLfloat"/>
3785 <function name="PointParameterx" template="PointParameter" gltype="GLfixed" expand_vector="true"/>
3786 <function name="PointParameterxv" template="PointParameter" gltype="GLfixed"/>
3787
3788 <!-- OES_mapbuffer -->
3789 <function name="GetBufferPointervOES" template="GetBufferPointer"/>
3790 <function name="MapBufferOES" template="MapBuffer"/>
3791 <function name="UnmapBufferOES" template="UnmapBuffer"/>
3792
3793 <function name="BindBuffer" template="BindBuffer"/>
3794 <function name="BufferData" template="BufferData"/>
3795 <function name="BufferSubData" template="BufferSubData"/>
3796 <function name="DeleteBuffers" template="DeleteBuffers"/>
3797 <function name="GenBuffers" template="GenBuffers"/>
3798 <function name="GetBufferParameteriv" template="GetBufferParameter" gltype="GLint"/>
3799 <function name="IsBuffer" template="IsBuffer"/>
3800
3801 <!-- OES_framebuffer_object -->
3802 <function name="GenerateMipmapOES" template="GenerateMipmap"/>
3803 <function name="BindFramebufferOES" template="BindFramebuffer"/>
3804 <function name="DeleteFramebuffersOES" template="DeleteFramebuffers"/>
3805 <function name="GenFramebuffersOES" template="GenFramebuffers"/>
3806 <function name="BindRenderbufferOES" template="BindRenderbuffer"/>
3807 <function name="DeleteRenderbuffersOES" template="DeleteRenderbuffers"/>
3808 <function name="GenRenderbuffersOES" template="GenRenderbuffers"/>
3809 <function name="RenderbufferStorageOES" external="true" template="RenderbufferStorage"/>
3810 <function name="FramebufferRenderbufferOES" template="FramebufferRenderbuffer"/>
3811 <function name="FramebufferTexture2DOES" template="FramebufferTexture2D"/>
3812 <function name="CheckFramebufferStatusOES" template="CheckFramebufferStatus"/>
3813 <function name="GetFramebufferAttachmentParameterivOES" template="GetFramebufferAttachmentParameter" gltype="GLint"/>
3814 <function name="GetRenderbufferParameterivOES" template="GetRenderbufferParameter" gltype="GLint"/>
3815 <function name="IsRenderbufferOES" template="IsRenderbuffer"/>
3816 <function name="IsFramebufferOES" template="IsFramebuffer"/>
3817
3818 <!-- OES_query_matrix -->
3819 <!-- QueryMatrixx returns values in an unusual, decomposed, fixed-value
3820 form; it has its own code for this -->
3821 <function name="QueryMatrixxOES" external="true" template="QueryMatrix" gltype="GLfixed"/>
3822
3823 <!-- OES_draw_texture -->
3824 <function name="DrawTexfOES" template="DrawTex" gltype="GLfloat" expand_vector="true"/>
3825 <function name="DrawTexiOES" template="DrawTex" gltype="GLint" expand_vector="true"/>
3826 <function name="DrawTexsOES" template="DrawTex" gltype="GLshort" expand_vector="true"/>
3827 <function name="DrawTexxOES" template="DrawTex" gltype="GLfixed" expand_vector="true"/>
3828 <function name="DrawTexfvOES" template="DrawTex" gltype="GLfloat"/>
3829 <function name="DrawTexivOES" template="DrawTex" gltype="GLint"/>
3830 <function name="DrawTexsvOES" template="DrawTex" gltype="GLshort"/>
3831 <function name="DrawTexxvOES" template="DrawTex" gltype="GLfixed"/>
3832
3833 <!-- EXT_multi_draw_arrays -->
3834 <function name="MultiDrawArraysEXT" template="MultiDrawArrays"/>
3835 <function name="MultiDrawElementsEXT" template="MultiDrawElements"/>
3836
3837 <!-- OES_EGL_image -->
3838 <function name="EGLImageTargetTexture2DOES" template="EGLImageTargetTexture2D"/>
3839 <function name="EGLImageTargetRenderbufferStorageOES" template="EGLImageTargetRenderbufferStorage"/>
3840 </api>
3841
3842 <api name="GLES2.0">
3843 <category name="GLES2.0"/>
3844
3845 <category name="OES_compressed_paletted_texture"/>
3846 <category name="OES_compressed_ETC1_RGB8_texture"/>
3847 <category name="OES_depth24"/>
3848 <category name="OES_depth32"/>
3849 <category name="OES_fbo_render_mipmap"/>
3850 <category name="OES_rgb8_rgba8"/>
3851 <category name="OES_stencil1"/>
3852 <category name="OES_stencil4"/>
3853 <category name="OES_element_index_uint"/>
3854 <category name="OES_mapbuffer"/>
3855 <category name="OES_texture_3D"/>
3856 <category name="OES_texture_npot"/>
3857 <category name="EXT_texture_filter_anisotropic"/>
3858 <category name="EXT_texture_type_2_10_10_10_REV"/>
3859 <category name="OES_depth_texture"/>
3860 <category name="OES_packed_depth_stencil"/>
3861 <category name="OES_standard_derivatives"/>
3862 <category name="EXT_texture_format_BGRA8888"/>
3863 <category name="EXT_texture_rg"/>
3864 <category name="EXT_read_format_bgra"/>
3865
3866 <category name="EXT_texture_compression_dxt1"/>
3867 <category name="EXT_blend_minmax"/>
3868 <category name="EXT_multi_draw_arrays"/>
3869 <category name="OES_EGL_image"/>
3870 <category name="OES_EGL_image_external"/>
3871 <category name="EXT_unpack_subimage"/>
3872
3873 <category name="NV_draw_buffers"/>
3874 <category name="NV_read_buffer"/>
3875
3876 <function name="DrawBuffersNV" template="DrawBuffers"/>
3877 <function name="ReadBufferNV" template="ReadBuffer"/>
3878
3879 <function name="CullFace" template="CullFace"/>
3880
3881 <function name="FrontFace" template="FrontFace"/>
3882 <function name="Hint" template="Hint"/>
3883
3884 <function name="LineWidth" template="LineWidth" gltype="GLfloat"/>
3885
3886 <function name="Scissor" template="Scissor"/>
3887
3888 <function name="TexParameterf" template="TexParameter" gltype="GLfloat" expand_vector="true"/>
3889 <function name="TexParameterfv" template="TexParameter" gltype="GLfloat"/>
3890 <function name="TexParameteri" template="TexParameter" gltype="GLint" expand_vector="true"/>
3891 <function name="TexParameteriv" template="TexParameter" gltype="GLint"/>
3892
3893 <function name="TexImage2D" template="TexImage2D"/>
3894
3895 <function name="Clear" template="Clear"/>
3896 <function name="ClearColor" template="ClearColor" gltype="GLclampf"/>
3897 <function name="ClearStencil" template="ClearStencil"/>
3898 <function name="ClearDepthf" template="ClearDepth" gltype="GLclampf"/>
3899
3900 <function name="StencilMask" template="StencilMask"/>
3901 <function name="StencilMaskSeparate" template="StencilMaskSeparate"/>
3902 <function name="ColorMask" template="ColorMask"/>
3903 <function name="DepthMask" template="DepthMask"/>
3904 <function name="Disable" template="Disable"/>
3905 <function name="Enable" template="Enable"/>
3906 <function name="Finish" template="Finish"/>
3907 <function name="Flush" template="Flush"/>
3908
3909 <function name="BlendFunc" template="BlendFunc"/>
3910
3911 <function name="StencilFunc" template="StencilFunc"/>
3912 <function name="StencilFuncSeparate" template="StencilFuncSeparate"/>
3913 <function name="StencilOp" template="StencilOp"/>
3914 <function name="StencilOpSeparate" template="StencilOpSeparate"/>
3915
3916 <function name="DepthFunc" template="DepthFunc"/>
3917
3918 <function name="PixelStorei" template="PixelStore" gltype="GLint"/>
3919 <function name="ReadPixels" template="ReadPixels"/>
3920
3921 <function name="GetBooleanv" template="GetState" gltype="GLboolean"/>
3922 <function name="GetError" template="GetError"/>
3923 <function name="GetFloatv" template="GetState" gltype="GLfloat"/>
3924 <function name="GetIntegerv" template="GetState" gltype="GLint"/>
3925
3926 <function name="GetString" template="GetString"/>
3927
3928 <function name="GetTexParameterfv" template="GetTexParameter" gltype="GLfloat"/>
3929 <function name="GetTexParameteriv" template="GetTexParameter" gltype="GLint"/>
3930
3931 <function name="IsEnabled" template="IsEnabled"/>
3932
3933 <function name="DepthRangef" template="DepthRange" gltype="GLclampf"/>
3934
3935 <function name="Viewport" template="Viewport"/>
3936
3937 <function name="DrawArrays" template="DrawArrays"/>
3938 <function name="DrawElements" template="DrawElements"/>
3939
3940 <function name="PolygonOffset" template="PolygonOffset" gltype="GLfloat"/>
3941 <function name="CopyTexImage2D" template="CopyTexImage2D"/>
3942 <function name="CopyTexSubImage2D" template="CopyTexSubImage2D"/>
3943 <function name="TexSubImage2D" template="TexSubImage2D"/>
3944
3945 <function name="BindTexture" template="BindTexture"/>
3946 <function name="DeleteTextures" template="DeleteTextures"/>
3947 <function name="GenTextures" template="GenTextures"/>
3948 <function name="IsTexture" template="IsTexture"/>
3949
3950 <function name="BlendColor" template="BlendColor" gltype="GLclampf"/>
3951 <function name="BlendEquation" template="BlendEquation"/>
3952 <function name="BlendEquationSeparate" template="BlendEquationSeparate"/>
3953
3954 <function name="TexImage3DOES" template="TexImage3D"/>
3955 <function name="TexSubImage3DOES" template="TexSubImage3D"/>
3956 <function name="CopyTexSubImage3DOES" template="CopyTexSubImage3D"/>
3957
3958 <function name="CompressedTexImage3DOES" template="CompressedTexImage3D"/>
3959 <function name="CompressedTexSubImage3DOES" template="CompressedTexSubImage3D"/>
3960
3961 <function name="ActiveTexture" template="ActiveTexture"/>
3962
3963 <function name="SampleCoverage" template="SampleCoverage" gltype="GLclampf"/>
3964
3965 <function name="CompressedTexImage2D" template="CompressedTexImage2D"/>
3966 <function name="CompressedTexSubImage2D" template="CompressedTexSubImage2D"/>
3967
3968 <function name="BlendFuncSeparate" template="BlendFuncSeparate"/>
3969
3970 <function name="VertexAttrib1f" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="1" expand_vector="true"/>
3971 <function name="VertexAttrib2f" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="2" expand_vector="true"/>
3972 <function name="VertexAttrib3f" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="3" expand_vector="true"/>
3973 <function name="VertexAttrib4f" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="4" expand_vector="true"/>
3974 <function name="VertexAttrib1fv" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="1"/>
3975 <function name="VertexAttrib2fv" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="2"/>
3976 <function name="VertexAttrib3fv" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="3"/>
3977 <function name="VertexAttrib4fv" external="true" template="VertexAttrib" gltype="GLfloat" vector_size="4"/>
3978
3979 <function name="VertexAttribPointer" template="VertexAttribPointer"/>
3980
3981 <function name="EnableVertexAttribArray" template="EnableVertexAttribArray"/>
3982 <function name="DisableVertexAttribArray" template="DisableVertexAttribArray"/>
3983
3984 <function name="IsProgram" template="IsProgram"/>
3985 <function name="GetProgramiv" template="GetProgram" gltype="GLint"/>
3986
3987 <function name="GetVertexAttribfv" template="GetVertexAttrib" gltype="GLfloat"/>
3988 <function name="GetVertexAttribiv" template="GetVertexAttrib" gltype="GLint"/>
3989 <function name="GetVertexAttribPointerv" template="GetVertexAttribPointer"/>
3990
3991 <function name="GetBufferPointervOES" template="GetBufferPointer"/>
3992 <function name="MapBufferOES" template="MapBuffer"/>
3993 <function name="UnmapBufferOES" template="UnmapBuffer"/>
3994 <function name="BindBuffer" template="BindBuffer"/>
3995 <function name="BufferData" template="BufferData"/>
3996 <function name="BufferSubData" template="BufferSubData"/>
3997 <function name="DeleteBuffers" template="DeleteBuffers"/>
3998 <function name="GenBuffers" template="GenBuffers"/>
3999 <function name="GetBufferParameteriv" template="GetBufferParameter" gltype="GLint"/>
4000 <function name="IsBuffer" template="IsBuffer"/>
4001
4002 <function name="CreateShader" template="CreateShader"/>
4003 <function name="ShaderSource" template="ShaderSource"/>
4004 <function name="CompileShader" template="CompileShader"/>
4005 <function name="ReleaseShaderCompiler" template="ReleaseShaderCompiler"/>
4006 <function name="DeleteShader" template="DeleteShader"/>
4007 <function name="ShaderBinary" template="ShaderBinary"/>
4008 <function name="CreateProgram" template="CreateProgram"/>
4009 <function name="AttachShader" template="AttachShader"/>
4010 <function name="DetachShader" template="DetachShader"/>
4011 <function name="LinkProgram" template="LinkProgram"/>
4012 <function name="UseProgram" template="UseProgram"/>
4013 <function name="DeleteProgram" template="DeleteProgram"/>
4014
4015 <function name="GetActiveAttrib" template="GetActiveAttrib"/>
4016 <function name="GetAttribLocation" template="GetAttribLocation"/>
4017 <function name="BindAttribLocation" template="BindAttribLocation"/>
4018 <function name="GetUniformLocation" template="GetUniformLocation"/>
4019 <function name="GetActiveUniform" template="GetActiveUniform"/>
4020
4021 <function name="Uniform1f" template="Uniform" gltype="GLfloat" vector_size="1" expand_vector="true"/>
4022 <function name="Uniform2f" template="Uniform" gltype="GLfloat" vector_size="2" expand_vector="true"/>
4023 <function name="Uniform3f" template="Uniform" gltype="GLfloat" vector_size="3" expand_vector="true"/>
4024 <function name="Uniform4f" template="Uniform" gltype="GLfloat" vector_size="4" expand_vector="true"/>
4025 <function name="Uniform1i" template="Uniform" gltype="GLint" vector_size="1" expand_vector="true"/>
4026 <function name="Uniform2i" template="Uniform" gltype="GLint" vector_size="2" expand_vector="true"/>
4027 <function name="Uniform3i" template="Uniform" gltype="GLint" vector_size="3" expand_vector="true"/>
4028 <function name="Uniform4i" template="Uniform" gltype="GLint" vector_size="4" expand_vector="true"/>
4029
4030 <function name="Uniform1fv" template="Uniform" gltype="GLfloat" vector_size="1"/>
4031 <function name="Uniform2fv" template="Uniform" gltype="GLfloat" vector_size="2"/>
4032 <function name="Uniform3fv" template="Uniform" gltype="GLfloat" vector_size="3"/>
4033 <function name="Uniform4fv" template="Uniform" gltype="GLfloat" vector_size="4"/>
4034 <function name="Uniform1iv" template="Uniform" gltype="GLint" vector_size="1"/>
4035 <function name="Uniform2iv" template="Uniform" gltype="GLint" vector_size="2"/>
4036 <function name="Uniform3iv" template="Uniform" gltype="GLint" vector_size="3"/>
4037 <function name="Uniform4iv" template="Uniform" gltype="GLint" vector_size="4"/>
4038
4039 <function name="UniformMatrix2fv" template="UniformMatrix" gltype="GLfloat" vector_size="2"/>
4040 <function name="UniformMatrix3fv" template="UniformMatrix" gltype="GLfloat" vector_size="3"/>
4041 <function name="UniformMatrix4fv" template="UniformMatrix" gltype="GLfloat" vector_size="4"/>
4042
4043 <function name="ValidateProgram" template="ValidateProgram"/>
4044
4045 <function name="GenerateMipmap" template="GenerateMipmap"/>
4046 <function name="BindFramebuffer" template="BindFramebuffer"/>
4047 <function name="DeleteFramebuffers" template="DeleteFramebuffers"/>
4048 <function name="GenFramebuffers" template="GenFramebuffers"/>
4049 <function name="BindRenderbuffer" template="BindRenderbuffer"/>
4050 <function name="DeleteRenderbuffers" template="DeleteRenderbuffers"/>
4051 <function name="GenRenderbuffers" template="GenRenderbuffers"/>
4052 <function name="RenderbufferStorage" external="true" template="RenderbufferStorage"/>
4053 <function name="FramebufferRenderbuffer" template="FramebufferRenderbuffer"/>
4054 <function name="FramebufferTexture2D" template="FramebufferTexture2D"/>
4055 <function name="FramebufferTexture3DOES" template="FramebufferTexture3D"/>
4056 <function name="CheckFramebufferStatus" template="CheckFramebufferStatus"/>
4057 <function name="GetFramebufferAttachmentParameteriv" template="GetFramebufferAttachmentParameter" gltype="GLint"/>
4058 <function name="GetRenderbufferParameteriv" template="GetRenderbufferParameter" gltype="GLint"/>
4059 <function name="IsRenderbuffer" template="IsRenderbuffer"/>
4060 <function name="IsFramebuffer" template="IsFramebuffer"/>
4061
4062 <function name="IsShader" template="IsShader"/>
4063 <function name="GetShaderiv" template="GetShader" gltype="GLint"/>
4064 <function name="GetAttachedShaders" template="GetAttachedShaders"/>
4065 <function name="GetShaderInfoLog" template="GetShaderInfoLog"/>
4066 <function name="GetProgramInfoLog" template="GetProgramInfoLog"/>
4067 <function name="GetShaderSource" template="GetShaderSource"/>
4068 <function name="GetShaderPrecisionFormat" template="GetShaderPrecisionFormat"/>
4069 <function name="GetUniformfv" template="GetUniform" gltype="GLfloat"/>
4070 <function name="GetUniformiv" template="GetUniform" gltype="GLint"/>
4071
4072 <!-- EXT_multi_draw_arrays -->
4073 <function name="MultiDrawArraysEXT" template="MultiDrawArrays"/>
4074 <function name="MultiDrawElementsEXT" template="MultiDrawElements"/>
4075
4076 <!-- OES_EGL_image -->
4077 <function name="EGLImageTargetTexture2DOES" template="EGLImageTargetTexture2D"/>
4078 <function name="EGLImageTargetRenderbufferStorageOES" template="EGLImageTargetRenderbufferStorage"/>
4079 </api>
4080
4081 </apispec>