Adjust the position of the partial Frame
[platform/framework/native/uifw.git] / inc / gl.h
1 /* $Change: 1028567 $ */
2 #ifndef __gl_h_
3 #define __gl_h_
4
5 /* $Revision: #1 $ on $Date: 2011/08/12 $ */
6
7 /**
8  * @file                gl.h
9  * @brief               This is the header file for the OpenGL(R) ES 1.1.
10  *
11  * This header file contains the declarations of the OpenGL(R) ES 1.1.
12  */
13
14 #include "glplatform.h"
15 #include "glmacro.h"
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 /*
22  * This document is licensed under the SGI Free Software B License Version
23  * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
24  */
25
26 /**
27  * @addtogroup opengles
28  *
29  * @{
30  */
31
32 /*-------------------------------------------------------------------------
33  * Data type definitions
34  *-----------------------------------------------------------------------*/
35
36 #if 0   // move to "khrplatform.h"
37 typedef void GLvoid;
38 typedef unsigned int GLenum;
39 typedef unsigned char GLboolean;
40 typedef unsigned int GLbitfield;
41 typedef khronos_int8_t GLbyte;
42 typedef short GLshort;
43 typedef int GLint;
44 typedef int GLsizei;
45 typedef khronos_uint8_t GLubyte;
46 typedef unsigned short GLushort;
47 typedef unsigned int GLuint;
48 typedef khronos_float_t GLfloat;
49 typedef khronos_float_t GLclampf;
50 typedef khronos_int32_t GLfixed;
51 typedef khronos_int32_t GLclampx;
52
53 typedef khronos_intptr_t GLintptr;
54 typedef khronos_ssize_t GLsizeiptr;
55 #endif
56
57 /*************************************************************/
58
59 /* OpenGL ES core versions */
60 #define GL_VERSION_ES_CM_1_0          1
61 #define GL_VERSION_ES_CL_1_0          1
62 #define GL_VERSION_ES_CM_1_1          1
63 #define GL_VERSION_ES_CL_1_1          1
64
65 /* ClearBufferMask */
66 #define GL_DEPTH_BUFFER_BIT               0x00000100
67 #define GL_STENCIL_BUFFER_BIT             0x00000400
68 #define GL_COLOR_BUFFER_BIT               0x00004000
69
70 /* Boolean */
71 #define GL_FALSE                          0
72 #define GL_TRUE                           1
73
74 /* BeginMode */
75 #define GL_POINTS                         0x0000
76 #define GL_LINES                          0x0001
77 #define GL_LINE_LOOP                      0x0002
78 #define GL_LINE_STRIP                     0x0003
79 #define GL_TRIANGLES                      0x0004
80 #define GL_TRIANGLE_STRIP                 0x0005
81 #define GL_TRIANGLE_FAN                   0x0006
82
83 /* AlphaFunction */
84 #define GL_NEVER                          0x0200
85 #define GL_LESS                           0x0201
86 #define GL_EQUAL                          0x0202
87 #define GL_LEQUAL                         0x0203
88 #define GL_GREATER                        0x0204
89 #define GL_NOTEQUAL                       0x0205
90 #define GL_GEQUAL                         0x0206
91 #define GL_ALWAYS                         0x0207
92
93 /* BlendingFactorDest */
94 #define GL_ZERO                           0
95 #define GL_ONE                            1
96 #define GL_SRC_COLOR                      0x0300
97 #define GL_ONE_MINUS_SRC_COLOR            0x0301
98 #define GL_SRC_ALPHA                      0x0302
99 #define GL_ONE_MINUS_SRC_ALPHA            0x0303
100 #define GL_DST_ALPHA                      0x0304
101 #define GL_ONE_MINUS_DST_ALPHA            0x0305
102
103 /* BlendingFactorSrc */
104 /*      GL_ZERO */
105 /*      GL_ONE */
106 #define GL_DST_COLOR                      0x0306
107 #define GL_ONE_MINUS_DST_COLOR            0x0307
108 #define GL_SRC_ALPHA_SATURATE             0x0308
109 /*      GL_SRC_ALPHA */
110 /*      GL_ONE_MINUS_SRC_ALPHA */
111 /*      GL_DST_ALPHA */
112 /*      GL_ONE_MINUS_DST_ALPHA */
113
114 /* ClipPlaneName */
115 #define GL_CLIP_PLANE0                    0x3000
116 #define GL_CLIP_PLANE1                    0x3001
117 #define GL_CLIP_PLANE2                    0x3002
118 #define GL_CLIP_PLANE3                    0x3003
119 #define GL_CLIP_PLANE4                    0x3004
120 #define GL_CLIP_PLANE5                    0x3005
121
122 /* ColorMaterialFace */
123 /*      GL_FRONT_AND_BACK */
124
125 /* ColorMaterialParameter */
126 /*      GL_AMBIENT_AND_DIFFUSE */
127
128 /* ColorPointerType */
129 /*      GL_UNSIGNED_BYTE */
130 /*      GL_FLOAT */
131 /*      GL_FIXED */
132
133 /* CullFaceMode */
134 #define GL_FRONT                          0x0404
135 #define GL_BACK                           0x0405
136 #define GL_FRONT_AND_BACK                 0x0408
137
138 /* DepthFunction */
139 /*      GL_NEVER */
140 /*      GL_LESS */
141 /*      GL_EQUAL */
142 /*      GL_LEQUAL */
143 /*      GL_GREATER */
144 /*      GL_NOTEQUAL */
145 /*      GL_GEQUAL */
146 /*      GL_ALWAYS */
147
148 /* EnableCap */
149 #define GL_FOG                            0x0B60
150 #define GL_LIGHTING                       0x0B50
151 #define GL_TEXTURE_2D                     0x0DE1
152 #define GL_CULL_FACE                      0x0B44
153 #define GL_ALPHA_TEST                     0x0BC0
154 #define GL_BLEND                          0x0BE2
155 #define GL_COLOR_LOGIC_OP                 0x0BF2
156 #define GL_DITHER                         0x0BD0
157 #define GL_STENCIL_TEST                   0x0B90
158 #define GL_DEPTH_TEST                     0x0B71
159 /*      GL_LIGHT0 */
160 /*      GL_LIGHT1 */
161 /*      GL_LIGHT2 */
162 /*      GL_LIGHT3 */
163 /*      GL_LIGHT4 */
164 /*      GL_LIGHT5 */
165 /*      GL_LIGHT6 */
166 /*      GL_LIGHT7 */
167 #define GL_POINT_SMOOTH                   0x0B10
168 #define GL_LINE_SMOOTH                    0x0B20
169 #define GL_SCISSOR_TEST                   0x0C11
170 #define GL_COLOR_MATERIAL                 0x0B57
171 #define GL_NORMALIZE                      0x0BA1
172 #define GL_RESCALE_NORMAL                 0x803A
173 #define GL_POLYGON_OFFSET_FILL            0x8037
174 #define GL_VERTEX_ARRAY                   0x8074
175 #define GL_NORMAL_ARRAY                   0x8075
176 #define GL_COLOR_ARRAY                    0x8076
177 #define GL_TEXTURE_COORD_ARRAY            0x8078
178 #define GL_MULTISAMPLE                    0x809D
179 #define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
180 #define GL_SAMPLE_ALPHA_TO_ONE            0x809F
181 #define GL_SAMPLE_COVERAGE                0x80A0
182
183 /* ErrorCode */
184 #define GL_NO_ERROR                       0
185 #define GL_INVALID_ENUM                   0x0500
186 #define GL_INVALID_VALUE                  0x0501
187 #define GL_INVALID_OPERATION              0x0502
188 #define GL_STACK_OVERFLOW                 0x0503
189 #define GL_STACK_UNDERFLOW                0x0504
190 #define GL_OUT_OF_MEMORY                  0x0505
191
192 /* FogMode */
193 /*      GL_LINEAR */
194 #define GL_EXP                            0x0800
195 #define GL_EXP2                           0x0801
196
197 /* FogParameter */
198 #define GL_FOG_DENSITY                    0x0B62
199 #define GL_FOG_START                      0x0B63
200 #define GL_FOG_END                        0x0B64
201 #define GL_FOG_MODE                       0x0B65
202 #define GL_FOG_COLOR                      0x0B66
203
204 /* FrontFaceDirection */
205 #define GL_CW                             0x0900
206 #define GL_CCW                            0x0901
207
208 /* GetPName */
209 #define GL_CURRENT_COLOR                  0x0B00
210 #define GL_CURRENT_NORMAL                 0x0B02
211 #define GL_CURRENT_TEXTURE_COORDS         0x0B03
212 #define GL_POINT_SIZE                     0x0B11
213 #define GL_POINT_SIZE_MIN                 0x8126
214 #define GL_POINT_SIZE_MAX                 0x8127
215 #define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
216 #define GL_POINT_DISTANCE_ATTENUATION     0x8129
217 #define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
218 #define GL_LINE_WIDTH                     0x0B21
219 #define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
220 #define GL_ALIASED_POINT_SIZE_RANGE       0x846D
221 #define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
222 #define GL_CULL_FACE_MODE                 0x0B45
223 #define GL_FRONT_FACE                     0x0B46
224 #define GL_SHADE_MODEL                    0x0B54
225 #define GL_DEPTH_RANGE                    0x0B70
226 #define GL_DEPTH_WRITEMASK                0x0B72
227 #define GL_DEPTH_CLEAR_VALUE              0x0B73
228 #define GL_DEPTH_FUNC                     0x0B74
229 #define GL_STENCIL_CLEAR_VALUE            0x0B91
230 #define GL_STENCIL_FUNC                   0x0B92
231 #define GL_STENCIL_VALUE_MASK             0x0B93
232 #define GL_STENCIL_FAIL                   0x0B94
233 #define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
234 #define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
235 #define GL_STENCIL_REF                    0x0B97
236 #define GL_STENCIL_WRITEMASK              0x0B98
237 #define GL_MATRIX_MODE                    0x0BA0
238 #define GL_VIEWPORT                       0x0BA2
239 #define GL_MODELVIEW_STACK_DEPTH          0x0BA3
240 #define GL_PROJECTION_STACK_DEPTH         0x0BA4
241 #define GL_TEXTURE_STACK_DEPTH            0x0BA5
242 #define GL_MODELVIEW_MATRIX               0x0BA6
243 #define GL_PROJECTION_MATRIX              0x0BA7
244 #define GL_TEXTURE_MATRIX                 0x0BA8
245 #define GL_ALPHA_TEST_FUNC                0x0BC1
246 #define GL_ALPHA_TEST_REF                 0x0BC2
247 #define GL_BLEND_DST                      0x0BE0
248 #define GL_BLEND_SRC                      0x0BE1
249 #define GL_LOGIC_OP_MODE                  0x0BF0
250 #define GL_SCISSOR_BOX                    0x0C10
251 #define GL_SCISSOR_TEST                   0x0C11
252 #define GL_COLOR_CLEAR_VALUE              0x0C22
253 #define GL_COLOR_WRITEMASK                0x0C23
254 #define GL_UNPACK_ALIGNMENT               0x0CF5
255 #define GL_PACK_ALIGNMENT                 0x0D05
256 #define GL_MAX_LIGHTS                     0x0D31
257 #define GL_MAX_CLIP_PLANES                0x0D32
258 #define GL_MAX_TEXTURE_SIZE               0x0D33
259 #define GL_MAX_MODELVIEW_STACK_DEPTH      0x0D36
260 #define GL_MAX_PROJECTION_STACK_DEPTH     0x0D38
261 #define GL_MAX_TEXTURE_STACK_DEPTH        0x0D39
262 #define GL_MAX_VIEWPORT_DIMS              0x0D3A
263 #define GL_MAX_TEXTURE_UNITS              0x84E2
264 #define GL_SUBPIXEL_BITS                  0x0D50
265 #define GL_RED_BITS                       0x0D52
266 #define GL_GREEN_BITS                     0x0D53
267 #define GL_BLUE_BITS                      0x0D54
268 #define GL_ALPHA_BITS                     0x0D55
269 #define GL_DEPTH_BITS                     0x0D56
270 #define GL_STENCIL_BITS                   0x0D57
271 #define GL_POLYGON_OFFSET_UNITS           0x2A00
272 #define GL_POLYGON_OFFSET_FILL            0x8037
273 #define GL_POLYGON_OFFSET_FACTOR          0x8038
274 #define GL_TEXTURE_BINDING_2D             0x8069
275 #define GL_VERTEX_ARRAY_SIZE              0x807A
276 #define GL_VERTEX_ARRAY_TYPE              0x807B
277 #define GL_VERTEX_ARRAY_STRIDE            0x807C
278 #define GL_NORMAL_ARRAY_TYPE              0x807E
279 #define GL_NORMAL_ARRAY_STRIDE            0x807F
280 #define GL_COLOR_ARRAY_SIZE               0x8081
281 #define GL_COLOR_ARRAY_TYPE               0x8082
282 #define GL_COLOR_ARRAY_STRIDE             0x8083
283 #define GL_TEXTURE_COORD_ARRAY_SIZE       0x8088
284 #define GL_TEXTURE_COORD_ARRAY_TYPE       0x8089
285 #define GL_TEXTURE_COORD_ARRAY_STRIDE     0x808A
286 #define GL_VERTEX_ARRAY_POINTER           0x808E
287 #define GL_NORMAL_ARRAY_POINTER           0x808F
288 #define GL_COLOR_ARRAY_POINTER            0x8090
289 #define GL_TEXTURE_COORD_ARRAY_POINTER    0x8092
290 #define GL_SAMPLE_BUFFERS                 0x80A8
291 #define GL_SAMPLES                        0x80A9
292 #define GL_SAMPLE_COVERAGE_VALUE          0x80AA
293 #define GL_SAMPLE_COVERAGE_INVERT         0x80AB
294
295 /* GetTextureParameter */
296 /*      GL_TEXTURE_MAG_FILTER */
297 /*      GL_TEXTURE_MIN_FILTER */
298 /*      GL_TEXTURE_WRAP_S */
299 /*      GL_TEXTURE_WRAP_T */
300
301 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS       0x86A2
302 #define GL_COMPRESSED_TEXTURE_FORMATS           0x86A3
303
304 /* HintMode */
305 #define GL_DONT_CARE                      0x1100
306 #define GL_FASTEST                        0x1101
307 #define GL_NICEST                         0x1102
308
309 /* HintTarget */
310 #define GL_PERSPECTIVE_CORRECTION_HINT    0x0C50
311 #define GL_POINT_SMOOTH_HINT              0x0C51
312 #define GL_LINE_SMOOTH_HINT               0x0C52
313 #define GL_FOG_HINT                       0x0C54
314 #define GL_GENERATE_MIPMAP_HINT           0x8192
315
316 /* LightModelParameter */
317 #define GL_LIGHT_MODEL_AMBIENT            0x0B53
318 #define GL_LIGHT_MODEL_TWO_SIDE           0x0B52
319
320 /* LightParameter */
321 #define GL_AMBIENT                        0x1200
322 #define GL_DIFFUSE                        0x1201
323 #define GL_SPECULAR                       0x1202
324 #define GL_POSITION                       0x1203
325 #define GL_SPOT_DIRECTION                 0x1204
326 #define GL_SPOT_EXPONENT                  0x1205
327 #define GL_SPOT_CUTOFF                    0x1206
328 #define GL_CONSTANT_ATTENUATION           0x1207
329 #define GL_LINEAR_ATTENUATION             0x1208
330 #define GL_QUADRATIC_ATTENUATION          0x1209
331
332 /* DataType */
333 #define GL_BYTE                           0x1400
334 #define GL_UNSIGNED_BYTE                  0x1401
335 #define GL_SHORT                          0x1402
336 #define GL_UNSIGNED_SHORT                 0x1403
337 #define GL_FLOAT                          0x1406
338 #define GL_FIXED                          0x140C
339
340 /* LogicOp */
341 #define GL_CLEAR                          0x1500
342 #define GL_AND                            0x1501
343 #define GL_AND_REVERSE                    0x1502
344 #define GL_COPY                           0x1503
345 #define GL_AND_INVERTED                   0x1504
346 #define GL_NOOP                           0x1505
347 #define GL_XOR                            0x1506
348 #define GL_OR                             0x1507
349 #define GL_NOR                            0x1508
350 #define GL_EQUIV                          0x1509
351 #define GL_INVERT                         0x150A
352 #define GL_OR_REVERSE                     0x150B
353 #define GL_COPY_INVERTED                  0x150C
354 #define GL_OR_INVERTED                    0x150D
355 #define GL_NAND                           0x150E
356 #define GL_SET                            0x150F
357
358 /* MaterialFace */
359 /*      GL_FRONT_AND_BACK */
360
361 /* MaterialParameter */
362 #define GL_EMISSION                       0x1600
363 #define GL_SHININESS                      0x1601
364 #define GL_AMBIENT_AND_DIFFUSE            0x1602
365 /*      GL_AMBIENT */
366 /*      GL_DIFFUSE */
367 /*      GL_SPECULAR */
368
369 /* MatrixMode */
370 #define GL_MODELVIEW                      0x1700
371 #define GL_PROJECTION                     0x1701
372 #define GL_TEXTURE                        0x1702
373
374 /* NormalPointerType */
375 /*      GL_BYTE */
376 /*      GL_SHORT */
377 /*      GL_FLOAT */
378 /*      GL_FIXED */
379
380 /* PixelFormat */
381 #define GL_ALPHA                          0x1906
382 #define GL_RGB                            0x1907
383 #define GL_RGBA                           0x1908
384 #define GL_LUMINANCE                      0x1909
385 #define GL_LUMINANCE_ALPHA                0x190A
386
387 /* PixelStoreParameter */
388 #define GL_UNPACK_ALIGNMENT               0x0CF5
389 #define GL_PACK_ALIGNMENT                 0x0D05
390
391 /* PixelType */
392 /*      GL_UNSIGNED_BYTE */
393 #define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
394 #define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
395 #define GL_UNSIGNED_SHORT_5_6_5           0x8363
396
397 /* ShadingModel */
398 #define GL_FLAT                           0x1D00
399 #define GL_SMOOTH                         0x1D01
400
401 /* StencilFunction */
402 /*      GL_NEVER */
403 /*      GL_LESS */
404 /*      GL_EQUAL */
405 /*      GL_LEQUAL */
406 /*      GL_GREATER */
407 /*      GL_NOTEQUAL */
408 /*      GL_GEQUAL */
409 /*      GL_ALWAYS */
410
411 /* StencilOp */
412 /*      GL_ZERO */
413 #define GL_KEEP                           0x1E00
414 #define GL_REPLACE                        0x1E01
415 #define GL_INCR                           0x1E02
416 #define GL_DECR                           0x1E03
417 /*      GL_INVERT */
418
419 /* StringName */
420 #define GL_VENDOR                         0x1F00
421 #define GL_RENDERER                       0x1F01
422 #define GL_VERSION                        0x1F02
423 #define GL_EXTENSIONS                     0x1F03
424
425 /* TexCoordPointerType */
426 /*      GL_SHORT */
427 /*      GL_FLOAT */
428 /*      GL_FIXED */
429 /*      GL_BYTE */
430
431 /* TextureEnvMode */
432 #define GL_MODULATE                       0x2100
433 #define GL_DECAL                          0x2101
434 /*      GL_BLEND */
435 #define GL_ADD                            0x0104
436 /*      GL_REPLACE */
437
438 /* TextureEnvParameter */
439 #define GL_TEXTURE_ENV_MODE               0x2200
440 #define GL_TEXTURE_ENV_COLOR              0x2201
441
442 /* TextureEnvTarget */
443 #define GL_TEXTURE_ENV                    0x2300
444
445 /* TextureMagFilter */
446 #define GL_NEAREST                        0x2600
447 #define GL_LINEAR                         0x2601
448
449 /* TextureMinFilter */
450 /*      GL_NEAREST */
451 /*      GL_LINEAR */
452 #define GL_NEAREST_MIPMAP_NEAREST         0x2700
453 #define GL_LINEAR_MIPMAP_NEAREST          0x2701
454 #define GL_NEAREST_MIPMAP_LINEAR          0x2702
455 #define GL_LINEAR_MIPMAP_LINEAR           0x2703
456
457 /* TextureParameterName */
458 #define GL_TEXTURE_MAG_FILTER             0x2800
459 #define GL_TEXTURE_MIN_FILTER             0x2801
460 #define GL_TEXTURE_WRAP_S                 0x2802
461 #define GL_TEXTURE_WRAP_T                 0x2803
462 #define GL_GENERATE_MIPMAP                0x8191
463
464 /* TextureTarget */
465 /*      GL_TEXTURE_2D */
466
467 /* TextureUnit */
468 #define GL_TEXTURE0                       0x84C0
469 #define GL_TEXTURE1                       0x84C1
470 #define GL_TEXTURE2                       0x84C2
471 #define GL_TEXTURE3                       0x84C3
472 #define GL_TEXTURE4                       0x84C4
473 #define GL_TEXTURE5                       0x84C5
474 #define GL_TEXTURE6                       0x84C6
475 #define GL_TEXTURE7                       0x84C7
476 #define GL_TEXTURE8                       0x84C8
477 #define GL_TEXTURE9                       0x84C9
478 #define GL_TEXTURE10                      0x84CA
479 #define GL_TEXTURE11                      0x84CB
480 #define GL_TEXTURE12                      0x84CC
481 #define GL_TEXTURE13                      0x84CD
482 #define GL_TEXTURE14                      0x84CE
483 #define GL_TEXTURE15                      0x84CF
484 #define GL_TEXTURE16                      0x84D0
485 #define GL_TEXTURE17                      0x84D1
486 #define GL_TEXTURE18                      0x84D2
487 #define GL_TEXTURE19                      0x84D3
488 #define GL_TEXTURE20                      0x84D4
489 #define GL_TEXTURE21                      0x84D5
490 #define GL_TEXTURE22                      0x84D6
491 #define GL_TEXTURE23                      0x84D7
492 #define GL_TEXTURE24                      0x84D8
493 #define GL_TEXTURE25                      0x84D9
494 #define GL_TEXTURE26                      0x84DA
495 #define GL_TEXTURE27                      0x84DB
496 #define GL_TEXTURE28                      0x84DC
497 #define GL_TEXTURE29                      0x84DD
498 #define GL_TEXTURE30                      0x84DE
499 #define GL_TEXTURE31                      0x84DF
500 #define GL_ACTIVE_TEXTURE                 0x84E0
501 #define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
502
503 /* TextureWrapMode */
504 #define GL_REPEAT                         0x2901
505 #define GL_CLAMP_TO_EDGE                  0x812F
506
507 /* VertexPointerType */
508 /*      GL_SHORT */
509 /*      GL_FLOAT */
510 /*      GL_FIXED */
511 /*      GL_BYTE */
512
513 /* LightName */
514 #define GL_LIGHT0                         0x4000
515 #define GL_LIGHT1                         0x4001
516 #define GL_LIGHT2                         0x4002
517 #define GL_LIGHT3                         0x4003
518 #define GL_LIGHT4                         0x4004
519 #define GL_LIGHT5                         0x4005
520 #define GL_LIGHT6                         0x4006
521 #define GL_LIGHT7                         0x4007
522
523 /* Buffer Objects */
524 #define GL_ARRAY_BUFFER                   0x8892
525 #define GL_ELEMENT_ARRAY_BUFFER           0x8893
526
527 #define GL_ARRAY_BUFFER_BINDING           0x8894
528 #define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
529 #define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
530 #define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
531 #define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
532 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
533
534 #define GL_STATIC_DRAW                    0x88E4
535 #define GL_DYNAMIC_DRAW                   0x88E8
536
537 #define GL_BUFFER_SIZE                    0x8764
538 #define GL_BUFFER_USAGE                   0x8765
539
540 /* Texture combine + dot3 */
541 #define GL_SUBTRACT                       0x84E7
542 #define GL_COMBINE                        0x8570
543 #define GL_COMBINE_RGB                    0x8571
544 #define GL_COMBINE_ALPHA                  0x8572
545 #define GL_RGB_SCALE                      0x8573
546 #define GL_ADD_SIGNED                     0x8574
547 #define GL_INTERPOLATE                    0x8575
548 #define GL_CONSTANT                       0x8576
549 #define GL_PRIMARY_COLOR                  0x8577
550 #define GL_PREVIOUS                       0x8578
551 #define GL_OPERAND0_RGB                   0x8590
552 #define GL_OPERAND1_RGB                   0x8591
553 #define GL_OPERAND2_RGB                   0x8592
554 #define GL_OPERAND0_ALPHA                 0x8598
555 #define GL_OPERAND1_ALPHA                 0x8599
556 #define GL_OPERAND2_ALPHA                 0x859A
557
558 #define GL_ALPHA_SCALE                    0x0D1C
559
560 #define GL_SRC0_RGB                       0x8580
561 #define GL_SRC1_RGB                       0x8581
562 #define GL_SRC2_RGB                       0x8582
563 #define GL_SRC0_ALPHA                     0x8588
564 #define GL_SRC1_ALPHA                     0x8589
565 #define GL_SRC2_ALPHA                     0x858A
566
567 #define GL_DOT3_RGB                       0x86AE
568 #define GL_DOT3_RGBA                      0x86AF
569
570 /*------------------------------------------------------------------------*
571  * required OES extension tokens
572  *------------------------------------------------------------------------*/
573
574 /* OES_read_format */
575 #ifndef GL_OES_read_format
576 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES                   0x8B9A
577 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES                 0x8B9B
578 #endif
579
580 /* GL_OES_compressed_paletted_texture */
581 #ifndef GL_OES_compressed_paletted_texture
582 #define GL_PALETTE4_RGB8_OES              0x8B90
583 #define GL_PALETTE4_RGBA8_OES             0x8B91
584 #define GL_PALETTE4_R5_G6_B5_OES          0x8B92
585 #define GL_PALETTE4_RGBA4_OES             0x8B93
586 #define GL_PALETTE4_RGB5_A1_OES           0x8B94
587 #define GL_PALETTE8_RGB8_OES              0x8B95
588 #define GL_PALETTE8_RGBA8_OES             0x8B96
589 #define GL_PALETTE8_R5_G6_B5_OES          0x8B97
590 #define GL_PALETTE8_RGBA4_OES             0x8B98
591 #define GL_PALETTE8_RGB5_A1_OES           0x8B99
592 #endif
593
594 /* OES_point_size_array */
595 #ifndef GL_OES_point_size_array
596 #define GL_POINT_SIZE_ARRAY_OES           0x8B9C
597 #define GL_POINT_SIZE_ARRAY_TYPE_OES      0x898A
598 #define GL_POINT_SIZE_ARRAY_STRIDE_OES    0x898B
599 #define GL_POINT_SIZE_ARRAY_POINTER_OES   0x898C
600 #define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES 0x8B9F
601 #endif
602
603 /* GL_OES_point_sprite */
604 #ifndef GL_OES_point_sprite
605 #define GL_POINT_SPRITE_OES               0x8861
606 #define GL_COORD_REPLACE_OES              0x8862
607 #endif
608
609 /*************************************************************/
610
611 /* Available only in Common profile */
612 /**
613  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
614  *
615  * @since 2.0
616  */
617 GL_API void GL_APIENTRY glAlphaFunc(GLenum func, GLclampf ref);
618 /**
619  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
620  *
621  * @since 2.0
622  */
623 GL_API void GL_APIENTRY glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
624 /**
625  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
626  *
627  * @since 2.0
628  */
629 GL_API void GL_APIENTRY glClearDepthf(GLclampf depth);
630 /**
631  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
632  *
633  * @since 2.0
634  */
635 GL_API void GL_APIENTRY glClipPlanef(GLenum plane, const GLfloat* equation);
636 /**
637  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
638  *
639  * @since 2.0
640  */
641 GL_API void GL_APIENTRY glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
642 /**
643  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
644  *
645  * @since 2.0
646  */
647 GL_API void GL_APIENTRY glDepthRangef(GLclampf zNear, GLclampf zFar);
648 /**
649  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
650  *
651  * @since 2.0
652  */
653 GL_API void GL_APIENTRY glFogf(GLenum pname, GLfloat param);
654 /**
655  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
656  *
657  * @since 2.0
658  */
659 GL_API void GL_APIENTRY glFogfv(GLenum pname, const GLfloat* params);
660 /**
661  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
662  *
663  * @since 2.0
664  */
665 GL_API void GL_APIENTRY glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
666 /**
667  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
668  *
669  * @since 2.0
670  */
671 GL_API void GL_APIENTRY glGetClipPlanef(GLenum pname, GLfloat eqn[4]);
672 /**
673  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
674  *
675  * @since 2.0
676  */
677 GL_API void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat* params);
678 /**
679  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
680  *
681  * @since 2.0
682  */
683 GL_API void GL_APIENTRY glGetLightfv(GLenum light, GLenum pname, GLfloat* params);
684 /**
685  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
686  *
687  * @since 2.0
688  */
689 GL_API void GL_APIENTRY glGetMaterialfv(GLenum face, GLenum pname, GLfloat* params);
690 /**
691  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
692  *
693  * @since 2.0
694  */
695 GL_API void GL_APIENTRY glGetTexEnvfv(GLenum env, GLenum pname, GLfloat* params);
696 /**
697  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
698  *
699  * @since 2.0
700  */
701 GL_API void GL_APIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params);
702 /**
703  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
704  *
705  * @since 2.0
706  */
707 GL_API void GL_APIENTRY glLightModelf(GLenum pname, GLfloat param);
708 /**
709  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
710  *
711  * @since 2.0
712  */
713 GL_API void GL_APIENTRY glLightModelfv(GLenum pname, const GLfloat* params);
714 /**
715  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
716  *
717  * @since 2.0
718  */
719 GL_API void GL_APIENTRY glLightf(GLenum light, GLenum pname, GLfloat param);
720 /**
721  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
722  *
723  * @since 2.0
724  */
725 GL_API void GL_APIENTRY glLightfv(GLenum light, GLenum pname, const GLfloat* params);
726 /**
727  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
728  *
729  * @since 2.0
730  */
731 GL_API void GL_APIENTRY glLineWidth(GLfloat width);
732 /**
733  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
734  *
735  * @since 2.0
736  */
737 GL_API void GL_APIENTRY glLoadMatrixf(const GLfloat* m);
738 /**
739  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
740  *
741  * @since 2.0
742  */
743 GL_API void GL_APIENTRY glMaterialf(GLenum face, GLenum pname, GLfloat param);
744 /**
745  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
746  *
747  * @since 2.0
748  */
749 GL_API void GL_APIENTRY glMaterialfv(GLenum face, GLenum pname, const GLfloat* params);
750 /**
751  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
752  *
753  * @since 2.0
754  */
755 GL_API void GL_APIENTRY glMultMatrixf(const GLfloat* m);
756 /**
757  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
758  *
759  * @since 2.0
760  */
761 GL_API void GL_APIENTRY glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
762 /**
763  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
764  *
765  * @since 2.0
766  */
767 GL_API void GL_APIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
768 /**
769  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
770  *
771  * @since 2.0
772  */
773 GL_API void GL_APIENTRY glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
774 /**
775  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
776  *
777  * @since 2.0
778  */
779 GL_API void GL_APIENTRY glPointParameterf(GLenum pname, GLfloat param);
780 /**
781  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
782  *
783  * @since 2.0
784  */
785 GL_API void GL_APIENTRY glPointParameterfv(GLenum pname, const GLfloat* params);
786 /**
787  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
788  *
789  * @since 2.0
790  */
791 GL_API void GL_APIENTRY glPointSize(GLfloat size);
792 /**
793  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
794  *
795  * @since 2.0
796  */
797 GL_API void GL_APIENTRY glPolygonOffset(GLfloat factor, GLfloat units);
798 /**
799  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
800  *
801  * @since 2.0
802  */
803 GL_API void GL_APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
804 /**
805  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
806  *
807  * @since 2.0
808  */
809 GL_API void GL_APIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z);
810 /**
811  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
812  *
813  * @since 2.0
814  */
815 GL_API void GL_APIENTRY glTexEnvf(GLenum target, GLenum pname, GLfloat param);
816 /**
817  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
818  *
819  * @since 2.0
820  */
821 GL_API void GL_APIENTRY glTexEnvfv(GLenum target, GLenum pname, const GLfloat* params);
822 /**
823  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
824  *
825  * @since 2.0
826  */
827 GL_API void GL_APIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param);
828 /**
829  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
830  *
831  * @since 2.0
832  */
833 GL_API void GL_APIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params);
834 /**
835  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
836  *
837  * @since 2.0
838  */
839 GL_API void GL_APIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z);
840
841 /* Available in both Common and Common-Lite profiles */
842 /**
843  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
844  *
845  * @since 2.0
846  */
847 GL_API void GL_APIENTRY glActiveTexture(GLenum texture);
848 /**
849  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
850  *
851  * @since 2.0
852  */
853 GL_API void GL_APIENTRY glAlphaFuncx(GLenum func, GLclampx ref);
854 /**
855  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
856  *
857  * @since 2.0
858  */
859 GL_API void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer);
860 /**
861  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
862  *
863  * @since 2.0
864  */
865 GL_API void GL_APIENTRY glBindTexture(GLenum target, GLuint texture);
866 /**
867  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
868  *
869  * @since 2.0
870  */
871 GL_API void GL_APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor);
872 /**
873  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
874  *
875  * @since 2.0
876  */
877 GL_API void GL_APIENTRY glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage);
878 /**
879  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
880  *
881  * @since 2.0
882  */
883 GL_API void GL_APIENTRY glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data);
884 /**
885  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
886  *
887  * @since 2.0
888  */
889 GL_API void GL_APIENTRY glClear(GLbitfield mask);
890 /**
891  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
892  *
893  * @since 2.0
894  */
895 GL_API void GL_APIENTRY glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
896 /**
897  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
898  *
899  * @since 2.0
900  */
901 GL_API void GL_APIENTRY glClearDepthx(GLclampx depth);
902 /**
903  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
904  *
905  * @since 2.0
906  */
907 GL_API void GL_APIENTRY glClearStencil(GLint s);
908 /**
909  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
910  *
911  * @since 2.0
912  */
913 GL_API void GL_APIENTRY glClientActiveTexture(GLenum texture);
914 /**
915  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
916  *
917  * @since 2.0
918  */
919 GL_API void GL_APIENTRY glClipPlanex(GLenum plane, const GLfixed* equation);
920 /**
921  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
922  *
923  * @since 2.0
924  */
925 GL_API void GL_APIENTRY glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
926 /**
927  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
928  *
929  * @since 2.0
930  */
931 GL_API void GL_APIENTRY glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
932 /**
933  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
934  *
935  * @since 2.0
936  */
937 GL_API void GL_APIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
938 /**
939  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
940  *
941  * @since 2.0
942  */
943 GL_API void GL_APIENTRY glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
944 /**
945  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
946  *
947  * @since 2.0
948  */
949 GL_API void GL_APIENTRY glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data);
950 /**
951  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
952  *
953  * @since 2.0
954  */
955 GL_API void GL_APIENTRY glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data);
956 /**
957  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
958  *
959  * @since 2.0
960  */
961 GL_API void GL_APIENTRY glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
962 /**
963  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
964  *
965  * @since 2.0
966  */
967 GL_API void GL_APIENTRY glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
968 /**
969  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
970  *
971  * @since 2.0
972  */
973 GL_API void GL_APIENTRY glCullFace(GLenum mode);
974 /**
975  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
976  *
977  * @since 2.0
978  */
979 GL_API void GL_APIENTRY glDeleteBuffers(GLsizei n, const GLuint* buffers);
980 /**
981  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
982  *
983  * @since 2.0
984  */
985 GL_API void GL_APIENTRY glDeleteTextures(GLsizei n, const GLuint* textures);
986 /**
987  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
988  *
989  * @since 2.0
990  */
991 GL_API void GL_APIENTRY glDepthFunc(GLenum func);
992 /**
993  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
994  *
995  * @since 2.0
996  */
997 GL_API void GL_APIENTRY glDepthMask(GLboolean flag);
998 /**
999  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1000  *
1001  * @since 2.0
1002  */
1003 GL_API void GL_APIENTRY glDepthRangex(GLclampx zNear, GLclampx zFar);
1004 /**
1005  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1006  *
1007  * @since 2.0
1008  */
1009 GL_API void GL_APIENTRY glDisable(GLenum cap);
1010 /**
1011  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1012  *
1013  * @since 2.0
1014  */
1015 GL_API void GL_APIENTRY glDisableClientState(GLenum array);
1016 /**
1017  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1018  *
1019  * @since 2.0
1020  */
1021 GL_API void GL_APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count);
1022 /**
1023  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1024  *
1025  * @since 2.0
1026  */
1027 GL_API void GL_APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices);
1028 /**
1029  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1030  *
1031  * @since 2.0
1032  */
1033 GL_API void GL_APIENTRY glEnable(GLenum cap);
1034 /**
1035  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1036  *
1037  * @since 2.0
1038  */
1039 GL_API void GL_APIENTRY glEnableClientState(GLenum array);
1040 /**
1041  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1042  *
1043  * @since 2.0
1044  */
1045 GL_API void GL_APIENTRY glFinish(void);
1046 /**
1047  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1048  *
1049  * @since 2.0
1050  */
1051 GL_API void GL_APIENTRY glFlush(void);
1052 /**
1053  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1054  *
1055  * @since 2.0
1056  */
1057 GL_API void GL_APIENTRY glFogx(GLenum pname, GLfixed param);
1058 /**
1059  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1060  *
1061  * @since 2.0
1062  */
1063 GL_API void GL_APIENTRY glFogxv(GLenum pname, const GLfixed* params);
1064 /**
1065  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1066  *
1067  * @since 2.0
1068  */
1069 GL_API void GL_APIENTRY glFrontFace(GLenum mode);
1070 /**
1071  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1072  *
1073  * @since 2.0
1074  */
1075 GL_API void GL_APIENTRY glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
1076 /**
1077  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1078  *
1079  * @since 2.0
1080  */
1081 GL_API void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean* params);
1082 /**
1083  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1084  *
1085  * @since 2.0
1086  */
1087 GL_API void GL_APIENTRY glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params);
1088 /**
1089  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1090  *
1091  * @since 2.0
1092  */
1093 GL_API void GL_APIENTRY glGetClipPlanex(GLenum pname, GLfixed eqn[4]);
1094 /**
1095  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1096  *
1097  * @since 2.0
1098  */
1099 GL_API void GL_APIENTRY glGenBuffers(GLsizei n, GLuint* buffers);
1100 /**
1101  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1102  *
1103  * @since 2.0
1104  */
1105 GL_API void GL_APIENTRY glGenTextures(GLsizei n, GLuint* textures);
1106 /**
1107  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1108  *
1109  * @since 2.0
1110  */
1111 GL_API GLenum GL_APIENTRY glGetError(void);
1112 /**
1113  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1114  *
1115  * @since 2.0
1116  */
1117 GL_API void GL_APIENTRY glGetFixedv(GLenum pname, GLfixed* params);
1118 /**
1119  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1120  *
1121  * @since 2.0
1122  */
1123 GL_API void GL_APIENTRY glGetIntegerv(GLenum pname, GLint* params);
1124 /**
1125  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1126  *
1127  * @since 2.0
1128  */
1129 GL_API void GL_APIENTRY glGetLightxv(GLenum light, GLenum pname, GLfixed* params);
1130 /**
1131  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1132  *
1133  * @since 2.0
1134  */
1135 GL_API void GL_APIENTRY glGetMaterialxv(GLenum face, GLenum pname, GLfixed* params);
1136 /**
1137  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1138  *
1139  * @since 2.0
1140  */
1141 GL_API void GL_APIENTRY glGetPointerv(GLenum pname, void** params);
1142 /**
1143  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1144  *
1145  * @since 2.0
1146  */
1147 GL_API const GLubyte* GL_APIENTRY glGetString(GLenum name);
1148 /**
1149  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1150  *
1151  * @since 2.0
1152  */
1153 GL_API void GL_APIENTRY glGetTexEnviv(GLenum env, GLenum pname, GLint* params);
1154 /**
1155  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1156  *
1157  * @since 2.0
1158  */
1159 GL_API void GL_APIENTRY glGetTexEnvxv(GLenum env, GLenum pname, GLfixed* params);
1160 /**
1161  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1162  *
1163  * @since 2.0
1164  */
1165 GL_API void GL_APIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint* params);
1166 /**
1167  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1168  *
1169  * @since 2.0
1170  */
1171 GL_API void GL_APIENTRY glGetTexParameterxv(GLenum target, GLenum pname, GLfixed* params);
1172 /**
1173  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1174  *
1175  * @since 2.0
1176  */
1177 GL_API void GL_APIENTRY glHint(GLenum target, GLenum mode);
1178 /**
1179  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1180  *
1181  * @since 2.0
1182  */
1183 GL_API GLboolean GL_APIENTRY glIsBuffer(GLuint buffer);
1184 /**
1185  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1186  *
1187  * @since 2.0
1188  */
1189 GL_API GLboolean GL_APIENTRY glIsEnabled(GLenum cap);
1190 /**
1191  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1192  *
1193  * @since 2.0
1194  */
1195 GL_API GLboolean GL_APIENTRY glIsTexture(GLuint texture);
1196 /**
1197  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1198  *
1199  * @since 2.0
1200  */
1201 GL_API void GL_APIENTRY glLightModelx(GLenum pname, GLfixed param);
1202 /**
1203  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1204  *
1205  * @since 2.0
1206  */
1207 GL_API void GL_APIENTRY glLightModelxv(GLenum pname, const GLfixed* params);
1208 /**
1209  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1210  *
1211  * @since 2.0
1212  */
1213 GL_API void GL_APIENTRY glLightx(GLenum light, GLenum pname, GLfixed param);
1214 /**
1215  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1216  *
1217  * @since 2.0
1218  */
1219 GL_API void GL_APIENTRY glLightxv(GLenum light, GLenum pname, const GLfixed* params);
1220 /**
1221  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1222  *
1223  * @since 2.0
1224  */
1225 GL_API void GL_APIENTRY glLineWidthx(GLfixed width);
1226 /**
1227  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1228  *
1229  * @since 2.0
1230  */
1231 GL_API void GL_APIENTRY glLoadIdentity(void);
1232 /**
1233  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1234  *
1235  * @since 2.0
1236  */
1237 GL_API void GL_APIENTRY glLoadMatrixx(const GLfixed* m);
1238 /**
1239  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1240  *
1241  * @since 2.0
1242  */
1243 GL_API void GL_APIENTRY glLogicOp(GLenum opcode);
1244 /**
1245  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1246  *
1247  * @since 2.0
1248  */
1249 GL_API void GL_APIENTRY glMaterialx(GLenum face, GLenum pname, GLfixed param);
1250 /**
1251  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1252  *
1253  * @since 2.0
1254  */
1255 GL_API void GL_APIENTRY glMaterialxv(GLenum face, GLenum pname, const GLfixed* params);
1256 /**
1257  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1258  *
1259  * @since 2.0
1260  */
1261 GL_API void GL_APIENTRY glMatrixMode(GLenum mode);
1262 /**
1263  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1264  *
1265  * @since 2.0
1266  */
1267 GL_API void GL_APIENTRY glMultMatrixx(const GLfixed* m);
1268 /**
1269  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1270  *
1271  * @since 2.0
1272  */
1273 GL_API void GL_APIENTRY glMultiTexCoord4x(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
1274 /**
1275  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1276  *
1277  * @since 2.0
1278  */
1279 GL_API void GL_APIENTRY glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz);
1280 /**
1281  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1282  *
1283  * @since 2.0
1284  */
1285 GL_API void GL_APIENTRY glNormalPointer(GLenum type, GLsizei stride, const GLvoid* pointer);
1286 /**
1287  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1288  *
1289  * @since 2.0
1290  */
1291 GL_API void GL_APIENTRY glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
1292 /**
1293  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1294  *
1295  * @since 2.0
1296  */
1297 GL_API void GL_APIENTRY glPixelStorei(GLenum pname, GLint param);
1298 /**
1299  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1300  *
1301  * @since 2.0
1302  */
1303 GL_API void GL_APIENTRY glPointParameterx(GLenum pname, GLfixed param);
1304 /**
1305  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1306  *
1307  * @since 2.0
1308  */
1309 GL_API void GL_APIENTRY glPointParameterxv(GLenum pname, const GLfixed* params);
1310 /**
1311  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1312  *
1313  * @since 2.0
1314  */
1315 GL_API void GL_APIENTRY glPointSizex(GLfixed size);
1316 /**
1317  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1318  *
1319  * @since 2.0
1320  */
1321 GL_API void GL_APIENTRY glPolygonOffsetx(GLfixed factor, GLfixed units);
1322 /**
1323  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1324  *
1325  * @since 2.0
1326  */
1327 GL_API void GL_APIENTRY glPopMatrix(void);
1328 /**
1329  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1330  *
1331  * @since 2.0
1332  */
1333 GL_API void GL_APIENTRY glPushMatrix(void);
1334 /**
1335  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1336  *
1337  * @since 2.0
1338  */
1339 GL_API void GL_APIENTRY glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
1340 /**
1341  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1342  *
1343  * @since 2.0
1344  */
1345 GL_API void GL_APIENTRY glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
1346 /**
1347  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1348  *
1349  * @since 2.0
1350  */
1351 GL_API void GL_APIENTRY glSampleCoverage(GLclampf value, GLboolean invert);
1352 /**
1353  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1354  *
1355  * @since 2.0
1356  */
1357 GL_API void GL_APIENTRY glSampleCoveragex(GLclampx value, GLboolean invert);
1358 /**
1359  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1360  *
1361  * @since 2.0
1362  */
1363 GL_API void GL_APIENTRY glScalex(GLfixed x, GLfixed y, GLfixed z);
1364 /**
1365  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1366  *
1367  * @since 2.0
1368  */
1369 GL_API void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
1370 /**
1371  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1372  *
1373  * @since 2.0
1374  */
1375 GL_API void GL_APIENTRY glShadeModel(GLenum mode);
1376 /**
1377  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1378  *
1379  * @since 2.0
1380  */
1381 GL_API void GL_APIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask);
1382 /**
1383  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1384  *
1385  * @since 2.0
1386  */
1387 GL_API void GL_APIENTRY glStencilMask(GLuint mask);
1388 /**
1389  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1390  *
1391  * @since 2.0
1392  */
1393 GL_API void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
1394 /**
1395  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1396  *
1397  * @since 2.0
1398  */
1399 GL_API void GL_APIENTRY glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
1400 /**
1401  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1402  *
1403  * @since 2.0
1404  */
1405 GL_API void GL_APIENTRY glTexEnvi(GLenum target, GLenum pname, GLint param);
1406 /**
1407  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1408  *
1409  * @since 2.0
1410  */
1411 GL_API void GL_APIENTRY glTexEnvx(GLenum target, GLenum pname, GLfixed param);
1412 /**
1413  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1414  *
1415  * @since 2.0
1416  */
1417 GL_API void GL_APIENTRY glTexEnviv(GLenum target, GLenum pname, const GLint* params);
1418 /**
1419  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1420  *
1421  * @since 2.0
1422  */
1423 GL_API void GL_APIENTRY glTexEnvxv(GLenum target, GLenum pname, const GLfixed* params);
1424 /**
1425  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1426  *
1427  * @since 2.0
1428  */
1429 GL_API void GL_APIENTRY glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
1430 /**
1431  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1432  *
1433  * @since 2.0
1434  */
1435 GL_API void GL_APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param);
1436 /**
1437  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1438  *
1439  * @since 2.0
1440  */
1441 GL_API void GL_APIENTRY glTexParameterx(GLenum target, GLenum pname, GLfixed param);
1442 /**
1443  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1444  *
1445  * @since 2.0
1446  */
1447 GL_API void GL_APIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint* params);
1448 /**
1449  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1450  *
1451  * @since 2.0
1452  */
1453 GL_API void GL_APIENTRY glTexParameterxv(GLenum target, GLenum pname, const GLfixed* params);
1454 /**
1455  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1456  *
1457  * @since 2.0
1458  */
1459 GL_API void GL_APIENTRY glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
1460 /**
1461  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1462  *
1463  * @since 2.0
1464  */
1465 GL_API void GL_APIENTRY glTranslatex(GLfixed x, GLfixed y, GLfixed z);
1466 /**
1467  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1468  *
1469  * @since 2.0
1470  */
1471 GL_API void GL_APIENTRY glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
1472 /**
1473  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/1.1/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 1.1</a>.
1474  *
1475  * @since 2.0
1476  */
1477 GL_API void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
1478
1479 /*------------------------------------------------------------------------*
1480  * Required OES extension functions
1481  *------------------------------------------------------------------------*/
1482
1483 /* GL_OES_read_format */
1484 #ifndef GL_OES_read_format
1485 #define GL_OES_read_format 1
1486 #endif
1487
1488 /* GL_OES_compressed_paletted_texture */
1489 #ifndef GL_OES_compressed_paletted_texture
1490 #define GL_OES_compressed_paletted_texture 1
1491 #endif
1492
1493 /* GL_OES_point_size_array */
1494 #ifndef GL_OES_point_size_array
1495 #define GL_OES_point_size_array 1
1496 /**
1497  * @page EGLglPointSizePointerOES Compatibility for glPointSizePointerOES.
1498  * @section CompClassNameMethodNamePageIssueSection Issues
1499  *      Implementation of this method in API versions prior to 1.2 has the following issue: @n
1500  *
1501  * -# This method does not work as expected in API versions prior to 1.2.
1502  *
1503  * @section CompClassNameMethodNamePageSolutionSection Resolutions
1504  * The issue mentioned above is resolved in API version 1.1, and it is recommended to use API version 1.2 or above.
1505 */
1506 /**
1507  *
1508  * Defines an array of point sizes.
1509  * You can find more details at the Khronos Group site: http://www.khronos.org/opengles/sdk/1.1/docs/man.
1510  *
1511  * @since       2.0
1512  *
1513 */
1514 GL_API void GL_APIENTRY glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid* pointer);
1515 #endif
1516
1517 /* GL_OES_point_sprite */
1518 #ifndef GL_OES_point_sprite
1519 #define GL_OES_point_sprite 1
1520 #endif
1521
1522 /**
1523  * @}
1524  */
1525
1526 #ifdef __cplusplus
1527 }
1528 #endif
1529
1530 #endif /* __gl_h_ */