• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef __gl_h_
2 #define __gl_h_ 1
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 /*
9 ** Copyright (c) 2013-2017 The Khronos Group Inc.
10 **
11 ** Permission is hereby granted, free of charge, to any person obtaining a
12 ** copy of this software and/or associated documentation files (the
13 ** "Materials"), to deal in the Materials without restriction, including
14 ** without limitation the rights to use, copy, modify, merge, publish,
15 ** distribute, sublicense, and/or sell copies of the Materials, and to
16 ** permit persons to whom the Materials are furnished to do so, subject to
17 ** the following conditions:
18 **
19 ** The above copyright notice and this permission notice shall be included
20 ** in all copies or substantial portions of the Materials.
21 **
22 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
29 */
30 /*
31 ** This header is generated from the Khronos OpenGL / OpenGL ES XML
32 ** API Registry. The current version of the Registry, generator scripts
33 ** used to make the header, and the header can be found at
34 **   https://github.com/KhronosGroup/OpenGL-Registry
35 */
36 
37 #include <GLES/glplatform.h>
38 
39 /* Generated on date 20170613 */
40 
41 /* Generated C header for:
42  * API: gles1
43  * Profile: common
44  * Versions considered: .*
45  * Versions emitted: .*
46  * Default extensions included: None
47  * Additional extensions included: ^(GL_OES_read_format|GL_OES_compressed_paletted_texture|GL_OES_point_size_array|GL_OES_point_sprite)$
48  * Extensions removed: _nomatch_^
49  */
50 
51 #ifndef GL_VERSION_ES_CM_1_0
52 #define GL_VERSION_ES_CM_1_0 1
53 typedef void GLvoid;
54 typedef char GLchar;
55 typedef unsigned int GLenum;
56 #include <KHR/khrplatform.h>
57 typedef khronos_float_t GLfloat;
58 typedef khronos_int32_t GLfixed;
59 typedef unsigned int GLuint;
60 typedef khronos_ssize_t GLsizeiptr;
61 typedef khronos_intptr_t GLintptr;
62 typedef unsigned int GLbitfield;
63 typedef int GLint;
64 typedef unsigned short GLushort;
65 typedef short GLshort;
66 typedef khronos_int8_t GLbyte;
67 typedef khronos_uint8_t GLubyte;
68 typedef unsigned char GLboolean;
69 typedef int GLsizei;
70 typedef khronos_float_t GLclampf;
71 typedef khronos_int32_t GLclampx;
72 #define GL_VERSION_ES_CL_1_0              1
73 #define GL_VERSION_ES_CM_1_1              1
74 #define GL_VERSION_ES_CL_1_1              1
75 #define GL_DEPTH_BUFFER_BIT               0x00000100
76 #define GL_STENCIL_BUFFER_BIT             0x00000400
77 #define GL_COLOR_BUFFER_BIT               0x00004000
78 #define GL_FALSE                          0
79 #define GL_TRUE                           1
80 #define GL_POINTS                         0x0000
81 #define GL_LINES                          0x0001
82 #define GL_LINE_LOOP                      0x0002
83 #define GL_LINE_STRIP                     0x0003
84 #define GL_TRIANGLES                      0x0004
85 #define GL_TRIANGLE_STRIP                 0x0005
86 #define GL_TRIANGLE_FAN                   0x0006
87 #define GL_NEVER                          0x0200
88 #define GL_LESS                           0x0201
89 #define GL_EQUAL                          0x0202
90 #define GL_LEQUAL                         0x0203
91 #define GL_GREATER                        0x0204
92 #define GL_NOTEQUAL                       0x0205
93 #define GL_GEQUAL                         0x0206
94 #define GL_ALWAYS                         0x0207
95 #define GL_ZERO                           0
96 #define GL_ONE                            1
97 #define GL_SRC_COLOR                      0x0300
98 #define GL_ONE_MINUS_SRC_COLOR            0x0301
99 #define GL_SRC_ALPHA                      0x0302
100 #define GL_ONE_MINUS_SRC_ALPHA            0x0303
101 #define GL_DST_ALPHA                      0x0304
102 #define GL_ONE_MINUS_DST_ALPHA            0x0305
103 #define GL_DST_COLOR                      0x0306
104 #define GL_ONE_MINUS_DST_COLOR            0x0307
105 #define GL_SRC_ALPHA_SATURATE             0x0308
106 #define GL_CLIP_PLANE0                    0x3000
107 #define GL_CLIP_PLANE1                    0x3001
108 #define GL_CLIP_PLANE2                    0x3002
109 #define GL_CLIP_PLANE3                    0x3003
110 #define GL_CLIP_PLANE4                    0x3004
111 #define GL_CLIP_PLANE5                    0x3005
112 #define GL_FRONT                          0x0404
113 #define GL_BACK                           0x0405
114 #define GL_FRONT_AND_BACK                 0x0408
115 #define GL_FOG                            0x0B60
116 #define GL_LIGHTING                       0x0B50
117 #define GL_TEXTURE_2D                     0x0DE1
118 #define GL_CULL_FACE                      0x0B44
119 #define GL_ALPHA_TEST                     0x0BC0
120 #define GL_BLEND                          0x0BE2
121 #define GL_COLOR_LOGIC_OP                 0x0BF2
122 #define GL_DITHER                         0x0BD0
123 #define GL_STENCIL_TEST                   0x0B90
124 #define GL_DEPTH_TEST                     0x0B71
125 #define GL_POINT_SMOOTH                   0x0B10
126 #define GL_LINE_SMOOTH                    0x0B20
127 #define GL_SCISSOR_TEST                   0x0C11
128 #define GL_COLOR_MATERIAL                 0x0B57
129 #define GL_NORMALIZE                      0x0BA1
130 #define GL_RESCALE_NORMAL                 0x803A
131 #define GL_VERTEX_ARRAY                   0x8074
132 #define GL_NORMAL_ARRAY                   0x8075
133 #define GL_COLOR_ARRAY                    0x8076
134 #define GL_TEXTURE_COORD_ARRAY            0x8078
135 #define GL_MULTISAMPLE                    0x809D
136 #define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
137 #define GL_SAMPLE_ALPHA_TO_ONE            0x809F
138 #define GL_SAMPLE_COVERAGE                0x80A0
139 #define GL_NO_ERROR                       0
140 #define GL_INVALID_ENUM                   0x0500
141 #define GL_INVALID_VALUE                  0x0501
142 #define GL_INVALID_OPERATION              0x0502
143 #define GL_STACK_OVERFLOW                 0x0503
144 #define GL_STACK_UNDERFLOW                0x0504
145 #define GL_OUT_OF_MEMORY                  0x0505
146 #define GL_EXP                            0x0800
147 #define GL_EXP2                           0x0801
148 #define GL_FOG_DENSITY                    0x0B62
149 #define GL_FOG_START                      0x0B63
150 #define GL_FOG_END                        0x0B64
151 #define GL_FOG_MODE                       0x0B65
152 #define GL_FOG_COLOR                      0x0B66
153 #define GL_CW                             0x0900
154 #define GL_CCW                            0x0901
155 #define GL_CURRENT_COLOR                  0x0B00
156 #define GL_CURRENT_NORMAL                 0x0B02
157 #define GL_CURRENT_TEXTURE_COORDS         0x0B03
158 #define GL_POINT_SIZE                     0x0B11
159 #define GL_POINT_SIZE_MIN                 0x8126
160 #define GL_POINT_SIZE_MAX                 0x8127
161 #define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
162 #define GL_POINT_DISTANCE_ATTENUATION     0x8129
163 #define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
164 #define GL_LINE_WIDTH                     0x0B21
165 #define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
166 #define GL_ALIASED_POINT_SIZE_RANGE       0x846D
167 #define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
168 #define GL_CULL_FACE_MODE                 0x0B45
169 #define GL_FRONT_FACE                     0x0B46
170 #define GL_SHADE_MODEL                    0x0B54
171 #define GL_DEPTH_RANGE                    0x0B70
172 #define GL_DEPTH_WRITEMASK                0x0B72
173 #define GL_DEPTH_CLEAR_VALUE              0x0B73
174 #define GL_DEPTH_FUNC                     0x0B74
175 #define GL_STENCIL_CLEAR_VALUE            0x0B91
176 #define GL_STENCIL_FUNC                   0x0B92
177 #define GL_STENCIL_VALUE_MASK             0x0B93
178 #define GL_STENCIL_FAIL                   0x0B94
179 #define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
180 #define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
181 #define GL_STENCIL_REF                    0x0B97
182 #define GL_STENCIL_WRITEMASK              0x0B98
183 #define GL_MATRIX_MODE                    0x0BA0
184 #define GL_VIEWPORT                       0x0BA2
185 #define GL_MODELVIEW_STACK_DEPTH          0x0BA3
186 #define GL_PROJECTION_STACK_DEPTH         0x0BA4
187 #define GL_TEXTURE_STACK_DEPTH            0x0BA5
188 #define GL_MODELVIEW_MATRIX               0x0BA6
189 #define GL_PROJECTION_MATRIX              0x0BA7
190 #define GL_TEXTURE_MATRIX                 0x0BA8
191 #define GL_ALPHA_TEST_FUNC                0x0BC1
192 #define GL_ALPHA_TEST_REF                 0x0BC2
193 #define GL_BLEND_DST                      0x0BE0
194 #define GL_BLEND_SRC                      0x0BE1
195 #define GL_LOGIC_OP_MODE                  0x0BF0
196 #define GL_SCISSOR_BOX                    0x0C10
197 #define GL_COLOR_CLEAR_VALUE              0x0C22
198 #define GL_COLOR_WRITEMASK                0x0C23
199 #define GL_MAX_LIGHTS                     0x0D31
200 #define GL_MAX_CLIP_PLANES                0x0D32
201 #define GL_MAX_TEXTURE_SIZE               0x0D33
202 #define GL_MAX_MODELVIEW_STACK_DEPTH      0x0D36
203 #define GL_MAX_PROJECTION_STACK_DEPTH     0x0D38
204 #define GL_MAX_TEXTURE_STACK_DEPTH        0x0D39
205 #define GL_MAX_VIEWPORT_DIMS              0x0D3A
206 #define GL_MAX_TEXTURE_UNITS              0x84E2
207 #define GL_SUBPIXEL_BITS                  0x0D50
208 #define GL_RED_BITS                       0x0D52
209 #define GL_GREEN_BITS                     0x0D53
210 #define GL_BLUE_BITS                      0x0D54
211 #define GL_ALPHA_BITS                     0x0D55
212 #define GL_DEPTH_BITS                     0x0D56
213 #define GL_STENCIL_BITS                   0x0D57
214 #define GL_POLYGON_OFFSET_UNITS           0x2A00
215 #define GL_POLYGON_OFFSET_FILL            0x8037
216 #define GL_POLYGON_OFFSET_FACTOR          0x8038
217 #define GL_TEXTURE_BINDING_2D             0x8069
218 #define GL_VERTEX_ARRAY_SIZE              0x807A
219 #define GL_VERTEX_ARRAY_TYPE              0x807B
220 #define GL_VERTEX_ARRAY_STRIDE            0x807C
221 #define GL_NORMAL_ARRAY_TYPE              0x807E
222 #define GL_NORMAL_ARRAY_STRIDE            0x807F
223 #define GL_COLOR_ARRAY_SIZE               0x8081
224 #define GL_COLOR_ARRAY_TYPE               0x8082
225 #define GL_COLOR_ARRAY_STRIDE             0x8083
226 #define GL_TEXTURE_COORD_ARRAY_SIZE       0x8088
227 #define GL_TEXTURE_COORD_ARRAY_TYPE       0x8089
228 #define GL_TEXTURE_COORD_ARRAY_STRIDE     0x808A
229 #define GL_VERTEX_ARRAY_POINTER           0x808E
230 #define GL_NORMAL_ARRAY_POINTER           0x808F
231 #define GL_COLOR_ARRAY_POINTER            0x8090
232 #define GL_TEXTURE_COORD_ARRAY_POINTER    0x8092
233 #define GL_SAMPLE_BUFFERS                 0x80A8
234 #define GL_SAMPLES                        0x80A9
235 #define GL_SAMPLE_COVERAGE_VALUE          0x80AA
236 #define GL_SAMPLE_COVERAGE_INVERT         0x80AB
237 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
238 #define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
239 #define GL_DONT_CARE                      0x1100
240 #define GL_FASTEST                        0x1101
241 #define GL_NICEST                         0x1102
242 #define GL_PERSPECTIVE_CORRECTION_HINT    0x0C50
243 #define GL_POINT_SMOOTH_HINT              0x0C51
244 #define GL_LINE_SMOOTH_HINT               0x0C52
245 #define GL_FOG_HINT                       0x0C54
246 #define GL_GENERATE_MIPMAP_HINT           0x8192
247 #define GL_LIGHT_MODEL_AMBIENT            0x0B53
248 #define GL_LIGHT_MODEL_TWO_SIDE           0x0B52
249 #define GL_AMBIENT                        0x1200
250 #define GL_DIFFUSE                        0x1201
251 #define GL_SPECULAR                       0x1202
252 #define GL_POSITION                       0x1203
253 #define GL_SPOT_DIRECTION                 0x1204
254 #define GL_SPOT_EXPONENT                  0x1205
255 #define GL_SPOT_CUTOFF                    0x1206
256 #define GL_CONSTANT_ATTENUATION           0x1207
257 #define GL_LINEAR_ATTENUATION             0x1208
258 #define GL_QUADRATIC_ATTENUATION          0x1209
259 #define GL_BYTE                           0x1400
260 #define GL_UNSIGNED_BYTE                  0x1401
261 #define GL_SHORT                          0x1402
262 #define GL_UNSIGNED_SHORT                 0x1403
263 #define GL_FLOAT                          0x1406
264 #define GL_FIXED                          0x140C
265 #define GL_CLEAR                          0x1500
266 #define GL_AND                            0x1501
267 #define GL_AND_REVERSE                    0x1502
268 #define GL_COPY                           0x1503
269 #define GL_AND_INVERTED                   0x1504
270 #define GL_NOOP                           0x1505
271 #define GL_XOR                            0x1506
272 #define GL_OR                             0x1507
273 #define GL_NOR                            0x1508
274 #define GL_EQUIV                          0x1509
275 #define GL_INVERT                         0x150A
276 #define GL_OR_REVERSE                     0x150B
277 #define GL_COPY_INVERTED                  0x150C
278 #define GL_OR_INVERTED                    0x150D
279 #define GL_NAND                           0x150E
280 #define GL_SET                            0x150F
281 #define GL_EMISSION                       0x1600
282 #define GL_SHININESS                      0x1601
283 #define GL_AMBIENT_AND_DIFFUSE            0x1602
284 #define GL_MODELVIEW                      0x1700
285 #define GL_PROJECTION                     0x1701
286 #define GL_TEXTURE                        0x1702
287 #define GL_ALPHA                          0x1906
288 #define GL_RGB                            0x1907
289 #define GL_RGBA                           0x1908
290 #define GL_LUMINANCE                      0x1909
291 #define GL_LUMINANCE_ALPHA                0x190A
292 #define GL_UNPACK_ALIGNMENT               0x0CF5
293 #define GL_PACK_ALIGNMENT                 0x0D05
294 #define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
295 #define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
296 #define GL_UNSIGNED_SHORT_5_6_5           0x8363
297 #define GL_FLAT                           0x1D00
298 #define GL_SMOOTH                         0x1D01
299 #define GL_KEEP                           0x1E00
300 #define GL_REPLACE                        0x1E01
301 #define GL_INCR                           0x1E02
302 #define GL_DECR                           0x1E03
303 #define GL_VENDOR                         0x1F00
304 #define GL_RENDERER                       0x1F01
305 #define GL_VERSION                        0x1F02
306 #define GL_EXTENSIONS                     0x1F03
307 #define GL_MODULATE                       0x2100
308 #define GL_DECAL                          0x2101
309 #define GL_ADD                            0x0104
310 #define GL_TEXTURE_ENV_MODE               0x2200
311 #define GL_TEXTURE_ENV_COLOR              0x2201
312 #define GL_TEXTURE_ENV                    0x2300
313 #define GL_NEAREST                        0x2600
314 #define GL_LINEAR                         0x2601
315 #define GL_NEAREST_MIPMAP_NEAREST         0x2700
316 #define GL_LINEAR_MIPMAP_NEAREST          0x2701
317 #define GL_NEAREST_MIPMAP_LINEAR          0x2702
318 #define GL_LINEAR_MIPMAP_LINEAR           0x2703
319 #define GL_TEXTURE_MAG_FILTER             0x2800
320 #define GL_TEXTURE_MIN_FILTER             0x2801
321 #define GL_TEXTURE_WRAP_S                 0x2802
322 #define GL_TEXTURE_WRAP_T                 0x2803
323 #define GL_GENERATE_MIPMAP                0x8191
324 #define GL_TEXTURE0                       0x84C0
325 #define GL_TEXTURE1                       0x84C1
326 #define GL_TEXTURE2                       0x84C2
327 #define GL_TEXTURE3                       0x84C3
328 #define GL_TEXTURE4                       0x84C4
329 #define GL_TEXTURE5                       0x84C5
330 #define GL_TEXTURE6                       0x84C6
331 #define GL_TEXTURE7                       0x84C7
332 #define GL_TEXTURE8                       0x84C8
333 #define GL_TEXTURE9                       0x84C9
334 #define GL_TEXTURE10                      0x84CA
335 #define GL_TEXTURE11                      0x84CB
336 #define GL_TEXTURE12                      0x84CC
337 #define GL_TEXTURE13                      0x84CD
338 #define GL_TEXTURE14                      0x84CE
339 #define GL_TEXTURE15                      0x84CF
340 #define GL_TEXTURE16                      0x84D0
341 #define GL_TEXTURE17                      0x84D1
342 #define GL_TEXTURE18                      0x84D2
343 #define GL_TEXTURE19                      0x84D3
344 #define GL_TEXTURE20                      0x84D4
345 #define GL_TEXTURE21                      0x84D5
346 #define GL_TEXTURE22                      0x84D6
347 #define GL_TEXTURE23                      0x84D7
348 #define GL_TEXTURE24                      0x84D8
349 #define GL_TEXTURE25                      0x84D9
350 #define GL_TEXTURE26                      0x84DA
351 #define GL_TEXTURE27                      0x84DB
352 #define GL_TEXTURE28                      0x84DC
353 #define GL_TEXTURE29                      0x84DD
354 #define GL_TEXTURE30                      0x84DE
355 #define GL_TEXTURE31                      0x84DF
356 #define GL_ACTIVE_TEXTURE                 0x84E0
357 #define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
358 #define GL_REPEAT                         0x2901
359 #define GL_CLAMP_TO_EDGE                  0x812F
360 #define GL_LIGHT0                         0x4000
361 #define GL_LIGHT1                         0x4001
362 #define GL_LIGHT2                         0x4002
363 #define GL_LIGHT3                         0x4003
364 #define GL_LIGHT4                         0x4004
365 #define GL_LIGHT5                         0x4005
366 #define GL_LIGHT6                         0x4006
367 #define GL_LIGHT7                         0x4007
368 #define GL_ARRAY_BUFFER                   0x8892
369 #define GL_ELEMENT_ARRAY_BUFFER           0x8893
370 #define GL_ARRAY_BUFFER_BINDING           0x8894
371 #define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
372 #define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
373 #define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
374 #define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
375 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
376 #define GL_STATIC_DRAW                    0x88E4
377 #define GL_DYNAMIC_DRAW                   0x88E8
378 #define GL_BUFFER_SIZE                    0x8764
379 #define GL_BUFFER_USAGE                   0x8765
380 #define GL_SUBTRACT                       0x84E7
381 #define GL_COMBINE                        0x8570
382 #define GL_COMBINE_RGB                    0x8571
383 #define GL_COMBINE_ALPHA                  0x8572
384 #define GL_RGB_SCALE                      0x8573
385 #define GL_ADD_SIGNED                     0x8574
386 #define GL_INTERPOLATE                    0x8575
387 #define GL_CONSTANT                       0x8576
388 #define GL_PRIMARY_COLOR                  0x8577
389 #define GL_PREVIOUS                       0x8578
390 #define GL_OPERAND0_RGB                   0x8590
391 #define GL_OPERAND1_RGB                   0x8591
392 #define GL_OPERAND2_RGB                   0x8592
393 #define GL_OPERAND0_ALPHA                 0x8598
394 #define GL_OPERAND1_ALPHA                 0x8599
395 #define GL_OPERAND2_ALPHA                 0x859A
396 #define GL_ALPHA_SCALE                    0x0D1C
397 #define GL_SRC0_RGB                       0x8580
398 #define GL_SRC1_RGB                       0x8581
399 #define GL_SRC2_RGB                       0x8582
400 #define GL_SRC0_ALPHA                     0x8588
401 #define GL_SRC1_ALPHA                     0x8589
402 #define GL_SRC2_ALPHA                     0x858A
403 #define GL_DOT3_RGB                       0x86AE
404 #define GL_DOT3_RGBA                      0x86AF
405 GL_API void GL_APIENTRY glAlphaFunc (GLenum func, GLfloat ref);
406 GL_API void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
407 GL_API void GL_APIENTRY glClearDepthf (GLfloat d);
408 GL_API void GL_APIENTRY glClipPlanef (GLenum p, const GLfloat *eqn);
409 GL_API void GL_APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
410 GL_API void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f);
411 GL_API void GL_APIENTRY glFogf (GLenum pname, GLfloat param);
412 GL_API void GL_APIENTRY glFogfv (GLenum pname, const GLfloat *params);
413 GL_API void GL_APIENTRY glFrustumf (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
414 GL_API void GL_APIENTRY glGetClipPlanef (GLenum plane, GLfloat *equation);
415 GL_API void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data);
416 GL_API void GL_APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
417 GL_API void GL_APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
418 GL_API void GL_APIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
419 GL_API void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
420 GL_API void GL_APIENTRY glLightModelf (GLenum pname, GLfloat param);
421 GL_API void GL_APIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
422 GL_API void GL_APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
423 GL_API void GL_APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
424 GL_API void GL_APIENTRY glLineWidth (GLfloat width);
425 GL_API void GL_APIENTRY glLoadMatrixf (const GLfloat *m);
426 GL_API void GL_APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
427 GL_API void GL_APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
428 GL_API void GL_APIENTRY glMultMatrixf (const GLfloat *m);
429 GL_API void GL_APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
430 GL_API void GL_APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
431 GL_API void GL_APIENTRY glOrthof (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
432 GL_API void GL_APIENTRY glPointParameterf (GLenum pname, GLfloat param);
433 GL_API void GL_APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
434 GL_API void GL_APIENTRY glPointSize (GLfloat size);
435 GL_API void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
436 GL_API void GL_APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
437 GL_API void GL_APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
438 GL_API void GL_APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
439 GL_API void GL_APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
440 GL_API void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
441 GL_API void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
442 GL_API void GL_APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
443 GL_API void GL_APIENTRY glActiveTexture (GLenum texture);
444 GL_API void GL_APIENTRY glAlphaFuncx (GLenum func, GLfixed ref);
445 GL_API void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer);
446 GL_API void GL_APIENTRY glBindTexture (GLenum target, GLuint texture);
447 GL_API void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
448 GL_API void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
449 GL_API void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
450 GL_API void GL_APIENTRY glClear (GLbitfield mask);
451 GL_API void GL_APIENTRY glClearColorx (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
452 GL_API void GL_APIENTRY glClearDepthx (GLfixed depth);
453 GL_API void GL_APIENTRY glClearStencil (GLint s);
454 GL_API void GL_APIENTRY glClientActiveTexture (GLenum texture);
455 GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation);
456 GL_API void GL_APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
457 GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
458 GL_API void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
459 GL_API void GL_APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
460 GL_API void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
461 GL_API void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
462 GL_API void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
463 GL_API void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
464 GL_API void GL_APIENTRY glCullFace (GLenum mode);
465 GL_API void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
466 GL_API void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
467 GL_API void GL_APIENTRY glDepthFunc (GLenum func);
468 GL_API void GL_APIENTRY glDepthMask (GLboolean flag);
469 GL_API void GL_APIENTRY glDepthRangex (GLfixed n, GLfixed f);
470 GL_API void GL_APIENTRY glDisable (GLenum cap);
471 GL_API void GL_APIENTRY glDisableClientState (GLenum array);
472 GL_API void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
473 GL_API void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices);
474 GL_API void GL_APIENTRY glEnable (GLenum cap);
475 GL_API void GL_APIENTRY glEnableClientState (GLenum array);
476 GL_API void GL_APIENTRY glFinish (void);
477 GL_API void GL_APIENTRY glFlush (void);
478 GL_API void GL_APIENTRY glFogx (GLenum pname, GLfixed param);
479 GL_API void GL_APIENTRY glFogxv (GLenum pname, const GLfixed *param);
480 GL_API void GL_APIENTRY glFrontFace (GLenum mode);
481 GL_API void GL_APIENTRY glFrustumx (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
482 GL_API void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data);
483 GL_API void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
484 GL_API void GL_APIENTRY glGetClipPlanex (GLenum plane, GLfixed *equation);
485 GL_API void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
486 GL_API void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures);
487 GL_API GLenum GL_APIENTRY glGetError (void);
488 GL_API void GL_APIENTRY glGetFixedv (GLenum pname, GLfixed *params);
489 GL_API void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data);
490 GL_API void GL_APIENTRY glGetLightxv (GLenum light, GLenum pname, GLfixed *params);
491 GL_API void GL_APIENTRY glGetMaterialxv (GLenum face, GLenum pname, GLfixed *params);
492 GL_API void GL_APIENTRY glGetPointerv (GLenum pname, void **params);
493 GL_API const GLubyte *GL_APIENTRY glGetString (GLenum name);
494 GL_API void GL_APIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
495 GL_API void GL_APIENTRY glGetTexEnvxv (GLenum target, GLenum pname, GLfixed *params);
496 GL_API void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
497 GL_API void GL_APIENTRY glGetTexParameterxv (GLenum target, GLenum pname, GLfixed *params);
498 GL_API void GL_APIENTRY glHint (GLenum target, GLenum mode);
499 GL_API GLboolean GL_APIENTRY glIsBuffer (GLuint buffer);
500 GL_API GLboolean GL_APIENTRY glIsEnabled (GLenum cap);
501 GL_API GLboolean GL_APIENTRY glIsTexture (GLuint texture);
502 GL_API void GL_APIENTRY glLightModelx (GLenum pname, GLfixed param);
503 GL_API void GL_APIENTRY glLightModelxv (GLenum pname, const GLfixed *param);
504 GL_API void GL_APIENTRY glLightx (GLenum light, GLenum pname, GLfixed param);
505 GL_API void GL_APIENTRY glLightxv (GLenum light, GLenum pname, const GLfixed *params);
506 GL_API void GL_APIENTRY glLineWidthx (GLfixed width);
507 GL_API void GL_APIENTRY glLoadIdentity (void);
508 GL_API void GL_APIENTRY glLoadMatrixx (const GLfixed *m);
509 GL_API void GL_APIENTRY glLogicOp (GLenum opcode);
510 GL_API void GL_APIENTRY glMaterialx (GLenum face, GLenum pname, GLfixed param);
511 GL_API void GL_APIENTRY glMaterialxv (GLenum face, GLenum pname, const GLfixed *param);
512 GL_API void GL_APIENTRY glMatrixMode (GLenum mode);
513 GL_API void GL_APIENTRY glMultMatrixx (const GLfixed *m);
514 GL_API void GL_APIENTRY glMultiTexCoord4x (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
515 GL_API void GL_APIENTRY glNormal3x (GLfixed nx, GLfixed ny, GLfixed nz);
516 GL_API void GL_APIENTRY glNormalPointer (GLenum type, GLsizei stride, const void *pointer);
517 GL_API void GL_APIENTRY glOrthox (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
518 GL_API void GL_APIENTRY glPixelStorei (GLenum pname, GLint param);
519 GL_API void GL_APIENTRY glPointParameterx (GLenum pname, GLfixed param);
520 GL_API void GL_APIENTRY glPointParameterxv (GLenum pname, const GLfixed *params);
521 GL_API void GL_APIENTRY glPointSizex (GLfixed size);
522 GL_API void GL_APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units);
523 GL_API void GL_APIENTRY glPopMatrix (void);
524 GL_API void GL_APIENTRY glPushMatrix (void);
525 GL_API void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
526 GL_API void GL_APIENTRY glRotatex (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
527 GL_API void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
528 GL_API void GL_APIENTRY glSampleCoveragex (GLclampx value, GLboolean invert);
529 GL_API void GL_APIENTRY glScalex (GLfixed x, GLfixed y, GLfixed z);
530 GL_API void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
531 GL_API void GL_APIENTRY glShadeModel (GLenum mode);
532 GL_API void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
533 GL_API void GL_APIENTRY glStencilMask (GLuint mask);
534 GL_API void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
535 GL_API void GL_APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
536 GL_API void GL_APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
537 GL_API void GL_APIENTRY glTexEnvx (GLenum target, GLenum pname, GLfixed param);
538 GL_API void GL_APIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params);
539 GL_API void GL_APIENTRY glTexEnvxv (GLenum target, GLenum pname, const GLfixed *params);
540 GL_API void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
541 GL_API void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
542 GL_API void GL_APIENTRY glTexParameterx (GLenum target, GLenum pname, GLfixed param);
543 GL_API void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
544 GL_API void GL_APIENTRY glTexParameterxv (GLenum target, GLenum pname, const GLfixed *params);
545 GL_API void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
546 GL_API void GL_APIENTRY glTranslatex (GLfixed x, GLfixed y, GLfixed z);
547 GL_API void GL_APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
548 GL_API void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
549 #endif /* GL_VERSION_ES_CM_1_0 */
550 
551 #ifndef GL_OES_compressed_paletted_texture
552 #define GL_OES_compressed_paletted_texture 1
553 #define GL_PALETTE4_RGB8_OES              0x8B90
554 #define GL_PALETTE4_RGBA8_OES             0x8B91
555 #define GL_PALETTE4_R5_G6_B5_OES          0x8B92
556 #define GL_PALETTE4_RGBA4_OES             0x8B93
557 #define GL_PALETTE4_RGB5_A1_OES           0x8B94
558 #define GL_PALETTE8_RGB8_OES              0x8B95
559 #define GL_PALETTE8_RGBA8_OES             0x8B96
560 #define GL_PALETTE8_R5_G6_B5_OES          0x8B97
561 #define GL_PALETTE8_RGBA4_OES             0x8B98
562 #define GL_PALETTE8_RGB5_A1_OES           0x8B99
563 #endif /* GL_OES_compressed_paletted_texture */
564 
565 #ifndef GL_OES_point_size_array
566 #define GL_OES_point_size_array 1
567 #define GL_POINT_SIZE_ARRAY_OES           0x8B9C
568 #define GL_POINT_SIZE_ARRAY_TYPE_OES      0x898A
569 #define GL_POINT_SIZE_ARRAY_STRIDE_OES    0x898B
570 #define GL_POINT_SIZE_ARRAY_POINTER_OES   0x898C
571 #define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES 0x8B9F
572 GL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, const void *pointer);
573 #endif /* GL_OES_point_size_array */
574 
575 #ifndef GL_OES_point_sprite
576 #define GL_OES_point_sprite 1
577 #define GL_POINT_SPRITE_OES               0x8861
578 #define GL_COORD_REPLACE_OES              0x8862
579 #endif /* GL_OES_point_sprite */
580 
581 #ifndef GL_OES_read_format
582 #define GL_OES_read_format 1
583 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
584 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
585 #endif /* GL_OES_read_format */
586 
587 #ifdef __cplusplus
588 }
589 #endif
590 
591 #endif
592