1 #ifndef __gles1_gl_h_ 2 #define __gles1_gl_h_ 1 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 /* 9 ** Copyright (c) 2013-2018 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 #ifndef GL_APIENTRYP 40 #define GL_APIENTRYP GL_APIENTRY* 41 #endif 42 43 /* Generated on date 20181204 */ 44 45 /* Generated C header for: 46 * API: gles1 47 * Profile: common 48 * Versions considered: .* 49 * Versions emitted: .* 50 * Default extensions included: None 51 * Additional extensions included: ^(GL_OES_read_format|GL_OES_compressed_paletted_texture|GL_OES_point_size_array|GL_OES_point_sprite)$ 52 * Extensions removed: _nomatch_^ 53 */ 54 55 #ifndef GL_VERSION_ES_CM_1_0 56 #define GL_VERSION_ES_CM_1_0 1 57 #include <KHR/khrplatform.h> 58 typedef khronos_int8_t GLbyte; 59 typedef khronos_float_t GLclampf; 60 typedef khronos_int16_t GLshort; 61 typedef khronos_uint16_t GLushort; 62 typedef void GLvoid; 63 typedef unsigned int GLenum; 64 typedef khronos_float_t GLfloat; 65 typedef khronos_int32_t GLfixed; 66 typedef unsigned int GLuint; 67 typedef khronos_ssize_t GLsizeiptr; 68 typedef khronos_intptr_t GLintptr; 69 typedef unsigned int GLbitfield; 70 typedef int GLint; 71 typedef khronos_uint8_t GLubyte; 72 typedef unsigned char GLboolean; 73 typedef int GLsizei; 74 typedef khronos_int32_t GLclampx; 75 #define GL_VERSION_ES_CL_1_0 1 76 #define GL_VERSION_ES_CM_1_1 1 77 #define GL_VERSION_ES_CL_1_1 1 78 #define GL_DEPTH_BUFFER_BIT 0x00000100 79 #define GL_STENCIL_BUFFER_BIT 0x00000400 80 #define GL_COLOR_BUFFER_BIT 0x00004000 81 #define GL_FALSE 0 82 #define GL_TRUE 1 83 #define GL_POINTS 0x0000 84 #define GL_LINES 0x0001 85 #define GL_LINE_LOOP 0x0002 86 #define GL_LINE_STRIP 0x0003 87 #define GL_TRIANGLES 0x0004 88 #define GL_TRIANGLE_STRIP 0x0005 89 #define GL_TRIANGLE_FAN 0x0006 90 #define GL_NEVER 0x0200 91 #define GL_LESS 0x0201 92 #define GL_EQUAL 0x0202 93 #define GL_LEQUAL 0x0203 94 #define GL_GREATER 0x0204 95 #define GL_NOTEQUAL 0x0205 96 #define GL_GEQUAL 0x0206 97 #define GL_ALWAYS 0x0207 98 #define GL_ZERO 0 99 #define GL_ONE 1 100 #define GL_SRC_COLOR 0x0300 101 #define GL_ONE_MINUS_SRC_COLOR 0x0301 102 #define GL_SRC_ALPHA 0x0302 103 #define GL_ONE_MINUS_SRC_ALPHA 0x0303 104 #define GL_DST_ALPHA 0x0304 105 #define GL_ONE_MINUS_DST_ALPHA 0x0305 106 #define GL_DST_COLOR 0x0306 107 #define GL_ONE_MINUS_DST_COLOR 0x0307 108 #define GL_SRC_ALPHA_SATURATE 0x0308 109 #define GL_CLIP_PLANE0 0x3000 110 #define GL_CLIP_PLANE1 0x3001 111 #define GL_CLIP_PLANE2 0x3002 112 #define GL_CLIP_PLANE3 0x3003 113 #define GL_CLIP_PLANE4 0x3004 114 #define GL_CLIP_PLANE5 0x3005 115 #define GL_FRONT 0x0404 116 #define GL_BACK 0x0405 117 #define GL_FRONT_AND_BACK 0x0408 118 #define GL_FOG 0x0B60 119 #define GL_LIGHTING 0x0B50 120 #define GL_TEXTURE_2D 0x0DE1 121 #define GL_CULL_FACE 0x0B44 122 #define GL_ALPHA_TEST 0x0BC0 123 #define GL_BLEND 0x0BE2 124 #define GL_COLOR_LOGIC_OP 0x0BF2 125 #define GL_DITHER 0x0BD0 126 #define GL_STENCIL_TEST 0x0B90 127 #define GL_DEPTH_TEST 0x0B71 128 #define GL_POINT_SMOOTH 0x0B10 129 #define GL_LINE_SMOOTH 0x0B20 130 #define GL_SCISSOR_TEST 0x0C11 131 #define GL_COLOR_MATERIAL 0x0B57 132 #define GL_NORMALIZE 0x0BA1 133 #define GL_RESCALE_NORMAL 0x803A 134 #define GL_VERTEX_ARRAY 0x8074 135 #define GL_NORMAL_ARRAY 0x8075 136 #define GL_COLOR_ARRAY 0x8076 137 #define GL_TEXTURE_COORD_ARRAY 0x8078 138 #define GL_MULTISAMPLE 0x809D 139 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E 140 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F 141 #define GL_SAMPLE_COVERAGE 0x80A0 142 #define GL_NO_ERROR 0 143 #define GL_INVALID_ENUM 0x0500 144 #define GL_INVALID_VALUE 0x0501 145 #define GL_INVALID_OPERATION 0x0502 146 #define GL_STACK_OVERFLOW 0x0503 147 #define GL_STACK_UNDERFLOW 0x0504 148 #define GL_OUT_OF_MEMORY 0x0505 149 #define GL_EXP 0x0800 150 #define GL_EXP2 0x0801 151 #define GL_FOG_DENSITY 0x0B62 152 #define GL_FOG_START 0x0B63 153 #define GL_FOG_END 0x0B64 154 #define GL_FOG_MODE 0x0B65 155 #define GL_FOG_COLOR 0x0B66 156 #define GL_CW 0x0900 157 #define GL_CCW 0x0901 158 #define GL_CURRENT_COLOR 0x0B00 159 #define GL_CURRENT_NORMAL 0x0B02 160 #define GL_CURRENT_TEXTURE_COORDS 0x0B03 161 #define GL_POINT_SIZE 0x0B11 162 #define GL_POINT_SIZE_MIN 0x8126 163 #define GL_POINT_SIZE_MAX 0x8127 164 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 165 #define GL_POINT_DISTANCE_ATTENUATION 0x8129 166 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 167 #define GL_LINE_WIDTH 0x0B21 168 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 169 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D 170 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E 171 #define GL_CULL_FACE_MODE 0x0B45 172 #define GL_FRONT_FACE 0x0B46 173 #define GL_SHADE_MODEL 0x0B54 174 #define GL_DEPTH_RANGE 0x0B70 175 #define GL_DEPTH_WRITEMASK 0x0B72 176 #define GL_DEPTH_CLEAR_VALUE 0x0B73 177 #define GL_DEPTH_FUNC 0x0B74 178 #define GL_STENCIL_CLEAR_VALUE 0x0B91 179 #define GL_STENCIL_FUNC 0x0B92 180 #define GL_STENCIL_VALUE_MASK 0x0B93 181 #define GL_STENCIL_FAIL 0x0B94 182 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 183 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 184 #define GL_STENCIL_REF 0x0B97 185 #define GL_STENCIL_WRITEMASK 0x0B98 186 #define GL_MATRIX_MODE 0x0BA0 187 #define GL_VIEWPORT 0x0BA2 188 #define GL_MODELVIEW_STACK_DEPTH 0x0BA3 189 #define GL_PROJECTION_STACK_DEPTH 0x0BA4 190 #define GL_TEXTURE_STACK_DEPTH 0x0BA5 191 #define GL_MODELVIEW_MATRIX 0x0BA6 192 #define GL_PROJECTION_MATRIX 0x0BA7 193 #define GL_TEXTURE_MATRIX 0x0BA8 194 #define GL_ALPHA_TEST_FUNC 0x0BC1 195 #define GL_ALPHA_TEST_REF 0x0BC2 196 #define GL_BLEND_DST 0x0BE0 197 #define GL_BLEND_SRC 0x0BE1 198 #define GL_LOGIC_OP_MODE 0x0BF0 199 #define GL_SCISSOR_BOX 0x0C10 200 #define GL_COLOR_CLEAR_VALUE 0x0C22 201 #define GL_COLOR_WRITEMASK 0x0C23 202 #define GL_MAX_LIGHTS 0x0D31 203 #define GL_MAX_CLIP_PLANES 0x0D32 204 #define GL_MAX_TEXTURE_SIZE 0x0D33 205 #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 206 #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 207 #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 208 #define GL_MAX_VIEWPORT_DIMS 0x0D3A 209 #define GL_MAX_TEXTURE_UNITS 0x84E2 210 #define GL_SUBPIXEL_BITS 0x0D50 211 #define GL_RED_BITS 0x0D52 212 #define GL_GREEN_BITS 0x0D53 213 #define GL_BLUE_BITS 0x0D54 214 #define GL_ALPHA_BITS 0x0D55 215 #define GL_DEPTH_BITS 0x0D56 216 #define GL_STENCIL_BITS 0x0D57 217 #define GL_POLYGON_OFFSET_UNITS 0x2A00 218 #define GL_POLYGON_OFFSET_FILL 0x8037 219 #define GL_POLYGON_OFFSET_FACTOR 0x8038 220 #define GL_TEXTURE_BINDING_2D 0x8069 221 #define GL_VERTEX_ARRAY_SIZE 0x807A 222 #define GL_VERTEX_ARRAY_TYPE 0x807B 223 #define GL_VERTEX_ARRAY_STRIDE 0x807C 224 #define GL_NORMAL_ARRAY_TYPE 0x807E 225 #define GL_NORMAL_ARRAY_STRIDE 0x807F 226 #define GL_COLOR_ARRAY_SIZE 0x8081 227 #define GL_COLOR_ARRAY_TYPE 0x8082 228 #define GL_COLOR_ARRAY_STRIDE 0x8083 229 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 230 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 231 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A 232 #define GL_VERTEX_ARRAY_POINTER 0x808E 233 #define GL_NORMAL_ARRAY_POINTER 0x808F 234 #define GL_COLOR_ARRAY_POINTER 0x8090 235 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 236 #define GL_SAMPLE_BUFFERS 0x80A8 237 #define GL_SAMPLES 0x80A9 238 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA 239 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB 240 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 241 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 242 #define GL_DONT_CARE 0x1100 243 #define GL_FASTEST 0x1101 244 #define GL_NICEST 0x1102 245 #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 246 #define GL_POINT_SMOOTH_HINT 0x0C51 247 #define GL_LINE_SMOOTH_HINT 0x0C52 248 #define GL_FOG_HINT 0x0C54 249 #define GL_GENERATE_MIPMAP_HINT 0x8192 250 #define GL_LIGHT_MODEL_AMBIENT 0x0B53 251 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 252 #define GL_AMBIENT 0x1200 253 #define GL_DIFFUSE 0x1201 254 #define GL_SPECULAR 0x1202 255 #define GL_POSITION 0x1203 256 #define GL_SPOT_DIRECTION 0x1204 257 #define GL_SPOT_EXPONENT 0x1205 258 #define GL_SPOT_CUTOFF 0x1206 259 #define GL_CONSTANT_ATTENUATION 0x1207 260 #define GL_LINEAR_ATTENUATION 0x1208 261 #define GL_QUADRATIC_ATTENUATION 0x1209 262 #define GL_BYTE 0x1400 263 #define GL_UNSIGNED_BYTE 0x1401 264 #define GL_SHORT 0x1402 265 #define GL_UNSIGNED_SHORT 0x1403 266 #define GL_FLOAT 0x1406 267 #define GL_FIXED 0x140C 268 #define GL_CLEAR 0x1500 269 #define GL_AND 0x1501 270 #define GL_AND_REVERSE 0x1502 271 #define GL_COPY 0x1503 272 #define GL_AND_INVERTED 0x1504 273 #define GL_NOOP 0x1505 274 #define GL_XOR 0x1506 275 #define GL_OR 0x1507 276 #define GL_NOR 0x1508 277 #define GL_EQUIV 0x1509 278 #define GL_INVERT 0x150A 279 #define GL_OR_REVERSE 0x150B 280 #define GL_COPY_INVERTED 0x150C 281 #define GL_OR_INVERTED 0x150D 282 #define GL_NAND 0x150E 283 #define GL_SET 0x150F 284 #define GL_EMISSION 0x1600 285 #define GL_SHININESS 0x1601 286 #define GL_AMBIENT_AND_DIFFUSE 0x1602 287 #define GL_MODELVIEW 0x1700 288 #define GL_PROJECTION 0x1701 289 #define GL_TEXTURE 0x1702 290 #define GL_ALPHA 0x1906 291 #define GL_RGB 0x1907 292 #define GL_RGBA 0x1908 293 #define GL_LUMINANCE 0x1909 294 #define GL_LUMINANCE_ALPHA 0x190A 295 #define GL_UNPACK_ALIGNMENT 0x0CF5 296 #define GL_PACK_ALIGNMENT 0x0D05 297 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 298 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 299 #define GL_UNSIGNED_SHORT_5_6_5 0x8363 300 #define GL_FLAT 0x1D00 301 #define GL_SMOOTH 0x1D01 302 #define GL_KEEP 0x1E00 303 #define GL_REPLACE 0x1E01 304 #define GL_INCR 0x1E02 305 #define GL_DECR 0x1E03 306 #define GL_VENDOR 0x1F00 307 #define GL_RENDERER 0x1F01 308 #define GL_VERSION 0x1F02 309 #define GL_EXTENSIONS 0x1F03 310 #define GL_MODULATE 0x2100 311 #define GL_DECAL 0x2101 312 #define GL_ADD 0x0104 313 #define GL_TEXTURE_ENV_MODE 0x2200 314 #define GL_TEXTURE_ENV_COLOR 0x2201 315 #define GL_TEXTURE_ENV 0x2300 316 #define GL_NEAREST 0x2600 317 #define GL_LINEAR 0x2601 318 #define GL_NEAREST_MIPMAP_NEAREST 0x2700 319 #define GL_LINEAR_MIPMAP_NEAREST 0x2701 320 #define GL_NEAREST_MIPMAP_LINEAR 0x2702 321 #define GL_LINEAR_MIPMAP_LINEAR 0x2703 322 #define GL_TEXTURE_MAG_FILTER 0x2800 323 #define GL_TEXTURE_MIN_FILTER 0x2801 324 #define GL_TEXTURE_WRAP_S 0x2802 325 #define GL_TEXTURE_WRAP_T 0x2803 326 #define GL_GENERATE_MIPMAP 0x8191 327 #define GL_TEXTURE0 0x84C0 328 #define GL_TEXTURE1 0x84C1 329 #define GL_TEXTURE2 0x84C2 330 #define GL_TEXTURE3 0x84C3 331 #define GL_TEXTURE4 0x84C4 332 #define GL_TEXTURE5 0x84C5 333 #define GL_TEXTURE6 0x84C6 334 #define GL_TEXTURE7 0x84C7 335 #define GL_TEXTURE8 0x84C8 336 #define GL_TEXTURE9 0x84C9 337 #define GL_TEXTURE10 0x84CA 338 #define GL_TEXTURE11 0x84CB 339 #define GL_TEXTURE12 0x84CC 340 #define GL_TEXTURE13 0x84CD 341 #define GL_TEXTURE14 0x84CE 342 #define GL_TEXTURE15 0x84CF 343 #define GL_TEXTURE16 0x84D0 344 #define GL_TEXTURE17 0x84D1 345 #define GL_TEXTURE18 0x84D2 346 #define GL_TEXTURE19 0x84D3 347 #define GL_TEXTURE20 0x84D4 348 #define GL_TEXTURE21 0x84D5 349 #define GL_TEXTURE22 0x84D6 350 #define GL_TEXTURE23 0x84D7 351 #define GL_TEXTURE24 0x84D8 352 #define GL_TEXTURE25 0x84D9 353 #define GL_TEXTURE26 0x84DA 354 #define GL_TEXTURE27 0x84DB 355 #define GL_TEXTURE28 0x84DC 356 #define GL_TEXTURE29 0x84DD 357 #define GL_TEXTURE30 0x84DE 358 #define GL_TEXTURE31 0x84DF 359 #define GL_ACTIVE_TEXTURE 0x84E0 360 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 361 #define GL_REPEAT 0x2901 362 #define GL_CLAMP_TO_EDGE 0x812F 363 #define GL_LIGHT0 0x4000 364 #define GL_LIGHT1 0x4001 365 #define GL_LIGHT2 0x4002 366 #define GL_LIGHT3 0x4003 367 #define GL_LIGHT4 0x4004 368 #define GL_LIGHT5 0x4005 369 #define GL_LIGHT6 0x4006 370 #define GL_LIGHT7 0x4007 371 #define GL_ARRAY_BUFFER 0x8892 372 #define GL_ELEMENT_ARRAY_BUFFER 0x8893 373 #define GL_ARRAY_BUFFER_BINDING 0x8894 374 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 375 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 376 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 377 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 378 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A 379 #define GL_STATIC_DRAW 0x88E4 380 #define GL_DYNAMIC_DRAW 0x88E8 381 #define GL_BUFFER_SIZE 0x8764 382 #define GL_BUFFER_USAGE 0x8765 383 #define GL_SUBTRACT 0x84E7 384 #define GL_COMBINE 0x8570 385 #define GL_COMBINE_RGB 0x8571 386 #define GL_COMBINE_ALPHA 0x8572 387 #define GL_RGB_SCALE 0x8573 388 #define GL_ADD_SIGNED 0x8574 389 #define GL_INTERPOLATE 0x8575 390 #define GL_CONSTANT 0x8576 391 #define GL_PRIMARY_COLOR 0x8577 392 #define GL_PREVIOUS 0x8578 393 #define GL_OPERAND0_RGB 0x8590 394 #define GL_OPERAND1_RGB 0x8591 395 #define GL_OPERAND2_RGB 0x8592 396 #define GL_OPERAND0_ALPHA 0x8598 397 #define GL_OPERAND1_ALPHA 0x8599 398 #define GL_OPERAND2_ALPHA 0x859A 399 #define GL_ALPHA_SCALE 0x0D1C 400 #define GL_SRC0_RGB 0x8580 401 #define GL_SRC1_RGB 0x8581 402 #define GL_SRC2_RGB 0x8582 403 #define GL_SRC0_ALPHA 0x8588 404 #define GL_SRC1_ALPHA 0x8589 405 #define GL_SRC2_ALPHA 0x858A 406 #define GL_DOT3_RGB 0x86AE 407 #define GL_DOT3_RGBA 0x86AF 408 typedef void (GL_APIENTRYP PFNGLALPHAFUNCPROC) (GLenum func, GLfloat ref); 409 typedef void (GL_APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 410 typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); 411 typedef void (GL_APIENTRYP PFNGLCLIPPLANEFPROC) (GLenum p, const GLfloat *eqn); 412 typedef void (GL_APIENTRYP PFNGLCOLOR4FPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 413 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); 414 typedef void (GL_APIENTRYP PFNGLFOGFPROC) (GLenum pname, GLfloat param); 415 typedef void (GL_APIENTRYP PFNGLFOGFVPROC) (GLenum pname, const GLfloat *params); 416 typedef void (GL_APIENTRYP PFNGLFRUSTUMFPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); 417 typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEFPROC) (GLenum plane, GLfloat *equation); 418 typedef void (GL_APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data); 419 typedef void (GL_APIENTRYP PFNGLGETLIGHTFVPROC) (GLenum light, GLenum pname, GLfloat *params); 420 typedef void (GL_APIENTRYP PFNGLGETMATERIALFVPROC) (GLenum face, GLenum pname, GLfloat *params); 421 typedef void (GL_APIENTRYP PFNGLGETTEXENVFVPROC) (GLenum target, GLenum pname, GLfloat *params); 422 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 423 typedef void (GL_APIENTRYP PFNGLLIGHTMODELFPROC) (GLenum pname, GLfloat param); 424 typedef void (GL_APIENTRYP PFNGLLIGHTMODELFVPROC) (GLenum pname, const GLfloat *params); 425 typedef void (GL_APIENTRYP PFNGLLIGHTFPROC) (GLenum light, GLenum pname, GLfloat param); 426 typedef void (GL_APIENTRYP PFNGLLIGHTFVPROC) (GLenum light, GLenum pname, const GLfloat *params); 427 typedef void (GL_APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width); 428 typedef void (GL_APIENTRYP PFNGLLOADMATRIXFPROC) (const GLfloat *m); 429 typedef void (GL_APIENTRYP PFNGLMATERIALFPROC) (GLenum face, GLenum pname, GLfloat param); 430 typedef void (GL_APIENTRYP PFNGLMATERIALFVPROC) (GLenum face, GLenum pname, const GLfloat *params); 431 typedef void (GL_APIENTRYP PFNGLMULTMATRIXFPROC) (const GLfloat *m); 432 typedef void (GL_APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 433 typedef void (GL_APIENTRYP PFNGLNORMAL3FPROC) (GLfloat nx, GLfloat ny, GLfloat nz); 434 typedef void (GL_APIENTRYP PFNGLORTHOFPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); 435 typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); 436 typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); 437 typedef void (GL_APIENTRYP PFNGLPOINTSIZEPROC) (GLfloat size); 438 typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units); 439 typedef void (GL_APIENTRYP PFNGLROTATEFPROC) (GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 440 typedef void (GL_APIENTRYP PFNGLSCALEFPROC) (GLfloat x, GLfloat y, GLfloat z); 441 typedef void (GL_APIENTRYP PFNGLTEXENVFPROC) (GLenum target, GLenum pname, GLfloat param); 442 typedef void (GL_APIENTRYP PFNGLTEXENVFVPROC) (GLenum target, GLenum pname, const GLfloat *params); 443 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); 444 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); 445 typedef void (GL_APIENTRYP PFNGLTRANSLATEFPROC) (GLfloat x, GLfloat y, GLfloat z); 446 typedef void (GL_APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); 447 typedef void (GL_APIENTRYP PFNGLALPHAFUNCXPROC) (GLenum func, GLfixed ref); 448 typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); 449 typedef void (GL_APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture); 450 typedef void (GL_APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor); 451 typedef void (GL_APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage); 452 typedef void (GL_APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); 453 typedef void (GL_APIENTRYP PFNGLCLEARPROC) (GLbitfield mask); 454 typedef void (GL_APIENTRYP PFNGLCLEARCOLORXPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 455 typedef void (GL_APIENTRYP PFNGLCLEARDEPTHXPROC) (GLfixed depth); 456 typedef void (GL_APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s); 457 typedef void (GL_APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); 458 typedef void (GL_APIENTRYP PFNGLCLIPPLANEXPROC) (GLenum plane, const GLfixed *equation); 459 typedef void (GL_APIENTRYP PFNGLCOLOR4UBPROC) (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); 460 typedef void (GL_APIENTRYP PFNGLCOLOR4XPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 461 typedef void (GL_APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 462 typedef void (GL_APIENTRYP PFNGLCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); 463 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); 464 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); 465 typedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 466 typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 467 typedef void (GL_APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); 468 typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); 469 typedef void (GL_APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures); 470 typedef void (GL_APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func); 471 typedef void (GL_APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag); 472 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEXPROC) (GLfixed n, GLfixed f); 473 typedef void (GL_APIENTRYP PFNGLDISABLEPROC) (GLenum cap); 474 typedef void (GL_APIENTRYP PFNGLDISABLECLIENTSTATEPROC) (GLenum array); 475 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count); 476 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices); 477 typedef void (GL_APIENTRYP PFNGLENABLEPROC) (GLenum cap); 478 typedef void (GL_APIENTRYP PFNGLENABLECLIENTSTATEPROC) (GLenum array); 479 typedef void (GL_APIENTRYP PFNGLFINISHPROC) (void); 480 typedef void (GL_APIENTRYP PFNGLFLUSHPROC) (void); 481 typedef void (GL_APIENTRYP PFNGLFOGXPROC) (GLenum pname, GLfixed param); 482 typedef void (GL_APIENTRYP PFNGLFOGXVPROC) (GLenum pname, const GLfixed *param); 483 typedef void (GL_APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); 484 typedef void (GL_APIENTRYP PFNGLFRUSTUMXPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); 485 typedef void (GL_APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data); 486 typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 487 typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEXPROC) (GLenum plane, GLfixed *equation); 488 typedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); 489 typedef void (GL_APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures); 490 typedef GLenum (GL_APIENTRYP PFNGLGETERRORPROC) (void); 491 typedef void (GL_APIENTRYP PFNGLGETFIXEDVPROC) (GLenum pname, GLfixed *params); 492 typedef void (GL_APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data); 493 typedef void (GL_APIENTRYP PFNGLGETLIGHTXVPROC) (GLenum light, GLenum pname, GLfixed *params); 494 typedef void (GL_APIENTRYP PFNGLGETMATERIALXVPROC) (GLenum face, GLenum pname, GLfixed *params); 495 typedef void (GL_APIENTRYP PFNGLGETPOINTERVPROC) (GLenum pname, void **params); 496 typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGPROC) (GLenum name); 497 typedef void (GL_APIENTRYP PFNGLGETTEXENVIVPROC) (GLenum target, GLenum pname, GLint *params); 498 typedef void (GL_APIENTRYP PFNGLGETTEXENVXVPROC) (GLenum target, GLenum pname, GLfixed *params); 499 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 500 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERXVPROC) (GLenum target, GLenum pname, GLfixed *params); 501 typedef void (GL_APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); 502 typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); 503 typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDPROC) (GLenum cap); 504 typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture); 505 typedef void (GL_APIENTRYP PFNGLLIGHTMODELXPROC) (GLenum pname, GLfixed param); 506 typedef void (GL_APIENTRYP PFNGLLIGHTMODELXVPROC) (GLenum pname, const GLfixed *param); 507 typedef void (GL_APIENTRYP PFNGLLIGHTXPROC) (GLenum light, GLenum pname, GLfixed param); 508 typedef void (GL_APIENTRYP PFNGLLIGHTXVPROC) (GLenum light, GLenum pname, const GLfixed *params); 509 typedef void (GL_APIENTRYP PFNGLLINEWIDTHXPROC) (GLfixed width); 510 typedef void (GL_APIENTRYP PFNGLLOADIDENTITYPROC) (void); 511 typedef void (GL_APIENTRYP PFNGLLOADMATRIXXPROC) (const GLfixed *m); 512 typedef void (GL_APIENTRYP PFNGLLOGICOPPROC) (GLenum opcode); 513 typedef void (GL_APIENTRYP PFNGLMATERIALXPROC) (GLenum face, GLenum pname, GLfixed param); 514 typedef void (GL_APIENTRYP PFNGLMATERIALXVPROC) (GLenum face, GLenum pname, const GLfixed *param); 515 typedef void (GL_APIENTRYP PFNGLMATRIXMODEPROC) (GLenum mode); 516 typedef void (GL_APIENTRYP PFNGLMULTMATRIXXPROC) (const GLfixed *m); 517 typedef void (GL_APIENTRYP PFNGLMULTITEXCOORD4XPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); 518 typedef void (GL_APIENTRYP PFNGLNORMAL3XPROC) (GLfixed nx, GLfixed ny, GLfixed nz); 519 typedef void (GL_APIENTRYP PFNGLNORMALPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer); 520 typedef void (GL_APIENTRYP PFNGLORTHOXPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); 521 typedef void (GL_APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param); 522 typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXPROC) (GLenum pname, GLfixed param); 523 typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXVPROC) (GLenum pname, const GLfixed *params); 524 typedef void (GL_APIENTRYP PFNGLPOINTSIZEXPROC) (GLfixed size); 525 typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETXPROC) (GLfixed factor, GLfixed units); 526 typedef void (GL_APIENTRYP PFNGLPOPMATRIXPROC) (void); 527 typedef void (GL_APIENTRYP PFNGLPUSHMATRIXPROC) (void); 528 typedef void (GL_APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); 529 typedef void (GL_APIENTRYP PFNGLROTATEXPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); 530 typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); 531 typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEXPROC) (GLclampx value, GLboolean invert); 532 typedef void (GL_APIENTRYP PFNGLSCALEXPROC) (GLfixed x, GLfixed y, GLfixed z); 533 typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); 534 typedef void (GL_APIENTRYP PFNGLSHADEMODELPROC) (GLenum mode); 535 typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); 536 typedef void (GL_APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask); 537 typedef void (GL_APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass); 538 typedef void (GL_APIENTRYP PFNGLTEXCOORDPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); 539 typedef void (GL_APIENTRYP PFNGLTEXENVIPROC) (GLenum target, GLenum pname, GLint param); 540 typedef void (GL_APIENTRYP PFNGLTEXENVXPROC) (GLenum target, GLenum pname, GLfixed param); 541 typedef void (GL_APIENTRYP PFNGLTEXENVIVPROC) (GLenum target, GLenum pname, const GLint *params); 542 typedef void (GL_APIENTRYP PFNGLTEXENVXVPROC) (GLenum target, GLenum pname, const GLfixed *params); 543 typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 544 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); 545 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERXPROC) (GLenum target, GLenum pname, GLfixed param); 546 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); 547 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERXVPROC) (GLenum target, GLenum pname, const GLfixed *params); 548 typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 549 typedef void (GL_APIENTRYP PFNGLTRANSLATEXPROC) (GLfixed x, GLfixed y, GLfixed z); 550 typedef void (GL_APIENTRYP PFNGLVERTEXPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); 551 typedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); 552 #if GL_GLES_PROTOTYPES 553 GL_API void GL_APIENTRY glAlphaFunc (GLenum func, GLfloat ref); 554 GL_API void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 555 GL_API void GL_APIENTRY glClearDepthf (GLfloat d); 556 GL_API void GL_APIENTRY glClipPlanef (GLenum p, const GLfloat *eqn); 557 GL_API void GL_APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 558 GL_API void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); 559 GL_API void GL_APIENTRY glFogf (GLenum pname, GLfloat param); 560 GL_API void GL_APIENTRY glFogfv (GLenum pname, const GLfloat *params); 561 GL_API void GL_APIENTRY glFrustumf (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); 562 GL_API void GL_APIENTRY glGetClipPlanef (GLenum plane, GLfloat *equation); 563 GL_API void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data); 564 GL_API void GL_APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params); 565 GL_API void GL_APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params); 566 GL_API void GL_APIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params); 567 GL_API void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); 568 GL_API void GL_APIENTRY glLightModelf (GLenum pname, GLfloat param); 569 GL_API void GL_APIENTRY glLightModelfv (GLenum pname, const GLfloat *params); 570 GL_API void GL_APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param); 571 GL_API void GL_APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params); 572 GL_API void GL_APIENTRY glLineWidth (GLfloat width); 573 GL_API void GL_APIENTRY glLoadMatrixf (const GLfloat *m); 574 GL_API void GL_APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param); 575 GL_API void GL_APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params); 576 GL_API void GL_APIENTRY glMultMatrixf (const GLfloat *m); 577 GL_API void GL_APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 578 GL_API void GL_APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz); 579 GL_API void GL_APIENTRY glOrthof (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); 580 GL_API void GL_APIENTRY glPointParameterf (GLenum pname, GLfloat param); 581 GL_API void GL_APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params); 582 GL_API void GL_APIENTRY glPointSize (GLfloat size); 583 GL_API void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); 584 GL_API void GL_APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 585 GL_API void GL_APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z); 586 GL_API void GL_APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param); 587 GL_API void GL_APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params); 588 GL_API void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); 589 GL_API void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); 590 GL_API void GL_APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z); 591 GL_API void GL_APIENTRY glActiveTexture (GLenum texture); 592 GL_API void GL_APIENTRY glAlphaFuncx (GLenum func, GLfixed ref); 593 GL_API void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); 594 GL_API void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); 595 GL_API void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); 596 GL_API void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); 597 GL_API void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); 598 GL_API void GL_APIENTRY glClear (GLbitfield mask); 599 GL_API void GL_APIENTRY glClearColorx (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 600 GL_API void GL_APIENTRY glClearDepthx (GLfixed depth); 601 GL_API void GL_APIENTRY glClearStencil (GLint s); 602 GL_API void GL_APIENTRY glClientActiveTexture (GLenum texture); 603 GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation); 604 GL_API void GL_APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); 605 GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 606 GL_API void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 607 GL_API void GL_APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer); 608 GL_API void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); 609 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); 610 GL_API void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 611 GL_API void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 612 GL_API void GL_APIENTRY glCullFace (GLenum mode); 613 GL_API void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); 614 GL_API void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); 615 GL_API void GL_APIENTRY glDepthFunc (GLenum func); 616 GL_API void GL_APIENTRY glDepthMask (GLboolean flag); 617 GL_API void GL_APIENTRY glDepthRangex (GLfixed n, GLfixed f); 618 GL_API void GL_APIENTRY glDisable (GLenum cap); 619 GL_API void GL_APIENTRY glDisableClientState (GLenum array); 620 GL_API void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); 621 GL_API void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); 622 GL_API void GL_APIENTRY glEnable (GLenum cap); 623 GL_API void GL_APIENTRY glEnableClientState (GLenum array); 624 GL_API void GL_APIENTRY glFinish (void); 625 GL_API void GL_APIENTRY glFlush (void); 626 GL_API void GL_APIENTRY glFogx (GLenum pname, GLfixed param); 627 GL_API void GL_APIENTRY glFogxv (GLenum pname, const GLfixed *param); 628 GL_API void GL_APIENTRY glFrontFace (GLenum mode); 629 GL_API void GL_APIENTRY glFrustumx (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); 630 GL_API void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); 631 GL_API void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); 632 GL_API void GL_APIENTRY glGetClipPlanex (GLenum plane, GLfixed *equation); 633 GL_API void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); 634 GL_API void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); 635 GL_API GLenum GL_APIENTRY glGetError (void); 636 GL_API void GL_APIENTRY glGetFixedv (GLenum pname, GLfixed *params); 637 GL_API void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data); 638 GL_API void GL_APIENTRY glGetLightxv (GLenum light, GLenum pname, GLfixed *params); 639 GL_API void GL_APIENTRY glGetMaterialxv (GLenum face, GLenum pname, GLfixed *params); 640 GL_API void GL_APIENTRY glGetPointerv (GLenum pname, void **params); 641 GL_API const GLubyte *GL_APIENTRY glGetString (GLenum name); 642 GL_API void GL_APIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params); 643 GL_API void GL_APIENTRY glGetTexEnvxv (GLenum target, GLenum pname, GLfixed *params); 644 GL_API void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); 645 GL_API void GL_APIENTRY glGetTexParameterxv (GLenum target, GLenum pname, GLfixed *params); 646 GL_API void GL_APIENTRY glHint (GLenum target, GLenum mode); 647 GL_API GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); 648 GL_API GLboolean GL_APIENTRY glIsEnabled (GLenum cap); 649 GL_API GLboolean GL_APIENTRY glIsTexture (GLuint texture); 650 GL_API void GL_APIENTRY glLightModelx (GLenum pname, GLfixed param); 651 GL_API void GL_APIENTRY glLightModelxv (GLenum pname, const GLfixed *param); 652 GL_API void GL_APIENTRY glLightx (GLenum light, GLenum pname, GLfixed param); 653 GL_API void GL_APIENTRY glLightxv (GLenum light, GLenum pname, const GLfixed *params); 654 GL_API void GL_APIENTRY glLineWidthx (GLfixed width); 655 GL_API void GL_APIENTRY glLoadIdentity (void); 656 GL_API void GL_APIENTRY glLoadMatrixx (const GLfixed *m); 657 GL_API void GL_APIENTRY glLogicOp (GLenum opcode); 658 GL_API void GL_APIENTRY glMaterialx (GLenum face, GLenum pname, GLfixed param); 659 GL_API void GL_APIENTRY glMaterialxv (GLenum face, GLenum pname, const GLfixed *param); 660 GL_API void GL_APIENTRY glMatrixMode (GLenum mode); 661 GL_API void GL_APIENTRY glMultMatrixx (const GLfixed *m); 662 GL_API void GL_APIENTRY glMultiTexCoord4x (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); 663 GL_API void GL_APIENTRY glNormal3x (GLfixed nx, GLfixed ny, GLfixed nz); 664 GL_API void GL_APIENTRY glNormalPointer (GLenum type, GLsizei stride, const void *pointer); 665 GL_API void GL_APIENTRY glOrthox (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); 666 GL_API void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); 667 GL_API void GL_APIENTRY glPointParameterx (GLenum pname, GLfixed param); 668 GL_API void GL_APIENTRY glPointParameterxv (GLenum pname, const GLfixed *params); 669 GL_API void GL_APIENTRY glPointSizex (GLfixed size); 670 GL_API void GL_APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units); 671 GL_API void GL_APIENTRY glPopMatrix (void); 672 GL_API void GL_APIENTRY glPushMatrix (void); 673 GL_API void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); 674 GL_API void GL_APIENTRY glRotatex (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); 675 GL_API void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); 676 GL_API void GL_APIENTRY glSampleCoveragex (GLclampx value, GLboolean invert); 677 GL_API void GL_APIENTRY glScalex (GLfixed x, GLfixed y, GLfixed z); 678 GL_API void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); 679 GL_API void GL_APIENTRY glShadeModel (GLenum mode); 680 GL_API void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); 681 GL_API void GL_APIENTRY glStencilMask (GLuint mask); 682 GL_API void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); 683 GL_API void GL_APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const void *pointer); 684 GL_API void GL_APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param); 685 GL_API void GL_APIENTRY glTexEnvx (GLenum target, GLenum pname, GLfixed param); 686 GL_API void GL_APIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params); 687 GL_API void GL_APIENTRY glTexEnvxv (GLenum target, GLenum pname, const GLfixed *params); 688 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); 689 GL_API void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); 690 GL_API void GL_APIENTRY glTexParameterx (GLenum target, GLenum pname, GLfixed param); 691 GL_API void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); 692 GL_API void GL_APIENTRY glTexParameterxv (GLenum target, GLenum pname, const GLfixed *params); 693 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); 694 GL_API void GL_APIENTRY glTranslatex (GLfixed x, GLfixed y, GLfixed z); 695 GL_API void GL_APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const void *pointer); 696 GL_API void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); 697 #endif 698 #endif /* GL_VERSION_ES_CM_1_0 */ 699 700 #ifndef GL_OES_compressed_paletted_texture 701 #define GL_OES_compressed_paletted_texture 1 702 #define GL_PALETTE4_RGB8_OES 0x8B90 703 #define GL_PALETTE4_RGBA8_OES 0x8B91 704 #define GL_PALETTE4_R5_G6_B5_OES 0x8B92 705 #define GL_PALETTE4_RGBA4_OES 0x8B93 706 #define GL_PALETTE4_RGB5_A1_OES 0x8B94 707 #define GL_PALETTE8_RGB8_OES 0x8B95 708 #define GL_PALETTE8_RGBA8_OES 0x8B96 709 #define GL_PALETTE8_R5_G6_B5_OES 0x8B97 710 #define GL_PALETTE8_RGBA4_OES 0x8B98 711 #define GL_PALETTE8_RGB5_A1_OES 0x8B99 712 #endif /* GL_OES_compressed_paletted_texture */ 713 714 #ifndef GL_OES_point_size_array 715 #define GL_OES_point_size_array 1 716 #define GL_POINT_SIZE_ARRAY_OES 0x8B9C 717 #define GL_POINT_SIZE_ARRAY_TYPE_OES 0x898A 718 #define GL_POINT_SIZE_ARRAY_STRIDE_OES 0x898B 719 #define GL_POINT_SIZE_ARRAY_POINTER_OES 0x898C 720 #define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES 0x8B9F 721 typedef void (GL_APIENTRYP PFNGLPOINTSIZEPOINTEROESPROC) (GLenum type, GLsizei stride, const void *pointer); 722 #if GL_GLES_PROTOTYPES 723 GL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, const void *pointer); 724 #endif 725 #endif /* GL_OES_point_size_array */ 726 727 #ifndef GL_OES_point_sprite 728 #define GL_OES_point_sprite 1 729 #define GL_POINT_SPRITE_OES 0x8861 730 #define GL_COORD_REPLACE_OES 0x8862 731 #endif /* GL_OES_point_sprite */ 732 733 #ifndef GL_OES_read_format 734 #define GL_OES_read_format 1 735 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A 736 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B 737 #endif /* GL_OES_read_format */ 738 739 #ifdef __cplusplus 740 } 741 #endif 742 743 #endif 744