include/SDL_opengles.h
branchgsoc2008_iphone
changeset 2366 4a6d5bff9521
child 2437 83cf833940ba
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/include/SDL_opengles.h	Fri Jul 18 18:09:04 2008 +0000
     1.3 @@ -0,0 +1,811 @@
     1.4 +#ifndef __gl_h_
     1.5 +#define __gl_h_
     1.6 +
     1.7 +/* $Id: gl.h 4533 2007-11-26 11:19:35Z markc $ */
     1.8 +
     1.9 +//#include <GLES/glplatform.h>
    1.10 +
    1.11 +#ifdef __cplusplus
    1.12 +extern "C" {
    1.13 +#endif
    1.14 +
    1.15 +#ifdef __IPHONEOS__
    1.16 +#include <OpenGLES/ES1/gl.h>
    1.17 +#endif
    1.18 +	
    1.19 +#ifndef APIENTRY
    1.20 +#define APIENTRY
    1.21 +#endif	
    1.22 +	
    1.23 +#ifndef GL_APIENTRY
    1.24 +#define GL_APIENTRY
    1.25 +#endif	
    1.26 +	
    1.27 +	
    1.28 +/*
    1.29 +** License Applicability. Except to the extent portions of this file are
    1.30 +** made subject to an alternative license as permitted in the SGI Free
    1.31 +** Software License B, Version 1.0 (the "License"), the contents of this
    1.32 +** file are subject only to the provisions of the License. You may not use
    1.33 +** this file except in compliance with the License. You may obtain a copy
    1.34 +** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
    1.35 +** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
    1.36 +**
    1.37 +** http://oss.sgi.com/projects/FreeB
    1.38 +**
    1.39 +** Note that, as provided in the License, the Software is distributed on an
    1.40 +** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
    1.41 +** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
    1.42 +** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
    1.43 +** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
    1.44 +**
    1.45 +** Original Code. The Original Code is: OpenGL Sample Implementation,
    1.46 +** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
    1.47 +** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
    1.48 +** Copyright in any portions created by third parties is as indicated
    1.49 +** elsewhere herein. All Rights Reserved.
    1.50 +**
    1.51 +** Additional Notice Provisions: The application programming interfaces
    1.52 +** established by SGI in conjunction with the Original Code are The
    1.53 +** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
    1.54 +** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
    1.55 +** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
    1.56 +** Window System(R) (Version 1.3), released October 19, 1998. This software
    1.57 +** was created using the OpenGL(R) version 1.2.1 Sample Implementation
    1.58 +** published by SGI, but has not been independently verified as being
    1.59 +** compliant with the OpenGL(R) version 1.2.1 Specification.
    1.60 +*/
    1.61 +
    1.62 +typedef unsigned int    GLenum;
    1.63 +typedef unsigned char   GLboolean;
    1.64 +typedef unsigned int    GLbitfield;
    1.65 +typedef signed char     GLbyte;
    1.66 +typedef short           GLshort;
    1.67 +typedef int             GLint;
    1.68 +typedef int             GLsizei;
    1.69 +typedef unsigned char   GLubyte;
    1.70 +typedef unsigned short  GLushort;
    1.71 +typedef unsigned int    GLuint;
    1.72 +typedef float           GLfloat;
    1.73 +typedef float           GLclampf;
    1.74 +typedef void            GLvoid;
    1.75 +typedef int             GLfixed;
    1.76 +typedef int             GLclampx;
    1.77 +
    1.78 +typedef int             GLintptr;
    1.79 +typedef int             GLsizeiptr;
    1.80 +
    1.81 +
    1.82 +/*************************************************************/
    1.83 +
    1.84 +/* OpenGL ES core versions */
    1.85 +#define GL_VERSION_ES_CM_1_0		  1
    1.86 +#define GL_VERSION_ES_CL_1_0		  1
    1.87 +#define GL_VERSION_ES_CM_1_1		  1
    1.88 +#define GL_VERSION_ES_CL_1_1		  1
    1.89 +
    1.90 +/* ClearBufferMask */
    1.91 +#define GL_DEPTH_BUFFER_BIT               0x00000100
    1.92 +#define GL_STENCIL_BUFFER_BIT             0x00000400
    1.93 +#define GL_COLOR_BUFFER_BIT               0x00004000
    1.94 +
    1.95 +/* Boolean */
    1.96 +#define GL_FALSE                          0
    1.97 +#define GL_TRUE                           1
    1.98 +
    1.99 +/* BeginMode */
   1.100 +#define GL_POINTS                         0x0000
   1.101 +#define GL_LINES                          0x0001
   1.102 +#define GL_LINE_LOOP                      0x0002
   1.103 +#define GL_LINE_STRIP                     0x0003
   1.104 +#define GL_TRIANGLES                      0x0004
   1.105 +#define GL_TRIANGLE_STRIP                 0x0005
   1.106 +#define GL_TRIANGLE_FAN                   0x0006
   1.107 +
   1.108 +/* AlphaFunction */
   1.109 +#define GL_NEVER                          0x0200
   1.110 +#define GL_LESS                           0x0201
   1.111 +#define GL_EQUAL                          0x0202
   1.112 +#define GL_LEQUAL                         0x0203
   1.113 +#define GL_GREATER                        0x0204
   1.114 +#define GL_NOTEQUAL                       0x0205
   1.115 +#define GL_GEQUAL                         0x0206
   1.116 +#define GL_ALWAYS                         0x0207
   1.117 +
   1.118 +/* BlendingFactorDest */
   1.119 +#define GL_ZERO                           0
   1.120 +#define GL_ONE                            1
   1.121 +#define GL_SRC_COLOR                      0x0300
   1.122 +#define GL_ONE_MINUS_SRC_COLOR            0x0301
   1.123 +#define GL_SRC_ALPHA                      0x0302
   1.124 +#define GL_ONE_MINUS_SRC_ALPHA            0x0303
   1.125 +#define GL_DST_ALPHA                      0x0304
   1.126 +#define GL_ONE_MINUS_DST_ALPHA            0x0305
   1.127 +
   1.128 +/* BlendingFactorSrc */
   1.129 +/*      GL_ZERO */
   1.130 +/*      GL_ONE */
   1.131 +#define GL_DST_COLOR                      0x0306
   1.132 +#define GL_ONE_MINUS_DST_COLOR            0x0307
   1.133 +#define GL_SRC_ALPHA_SATURATE             0x0308
   1.134 +/*      GL_SRC_ALPHA */
   1.135 +/*      GL_ONE_MINUS_SRC_ALPHA */
   1.136 +/*      GL_DST_ALPHA */
   1.137 +/*      GL_ONE_MINUS_DST_ALPHA */
   1.138 +
   1.139 +/* ClipPlaneName */
   1.140 +#define GL_CLIP_PLANE0                    0x3000
   1.141 +#define GL_CLIP_PLANE1                    0x3001
   1.142 +#define GL_CLIP_PLANE2                    0x3002
   1.143 +#define GL_CLIP_PLANE3                    0x3003
   1.144 +#define GL_CLIP_PLANE4                    0x3004
   1.145 +#define GL_CLIP_PLANE5                    0x3005
   1.146 +
   1.147 +/* ColorMaterialFace */
   1.148 +/*      GL_FRONT_AND_BACK */
   1.149 +
   1.150 +/* ColorMaterialParameter */
   1.151 +/*      GL_AMBIENT_AND_DIFFUSE */
   1.152 +
   1.153 +/* ColorPointerType */
   1.154 +/*      GL_UNSIGNED_BYTE */
   1.155 +/*      GL_FLOAT */
   1.156 +/*      GL_FIXED */
   1.157 +
   1.158 +/* CullFaceMode */
   1.159 +#define GL_FRONT                          0x0404
   1.160 +#define GL_BACK                           0x0405
   1.161 +#define GL_FRONT_AND_BACK                 0x0408
   1.162 +
   1.163 +/* DepthFunction */
   1.164 +/*      GL_NEVER */
   1.165 +/*      GL_LESS */
   1.166 +/*      GL_EQUAL */
   1.167 +/*      GL_LEQUAL */
   1.168 +/*      GL_GREATER */
   1.169 +/*      GL_NOTEQUAL */
   1.170 +/*      GL_GEQUAL */
   1.171 +/*      GL_ALWAYS */
   1.172 +
   1.173 +/* EnableCap */
   1.174 +#define GL_FOG                            0x0B60
   1.175 +#define GL_LIGHTING                       0x0B50
   1.176 +#define GL_TEXTURE_2D                     0x0DE1
   1.177 +#define GL_CULL_FACE                      0x0B44
   1.178 +#define GL_ALPHA_TEST                     0x0BC0
   1.179 +#define GL_BLEND                          0x0BE2
   1.180 +#define GL_COLOR_LOGIC_OP                 0x0BF2
   1.181 +#define GL_DITHER                         0x0BD0
   1.182 +#define GL_STENCIL_TEST                   0x0B90
   1.183 +#define GL_DEPTH_TEST                     0x0B71
   1.184 +/*      GL_LIGHT0 */
   1.185 +/*      GL_LIGHT1 */
   1.186 +/*      GL_LIGHT2 */
   1.187 +/*      GL_LIGHT3 */
   1.188 +/*      GL_LIGHT4 */
   1.189 +/*      GL_LIGHT5 */
   1.190 +/*      GL_LIGHT6 */
   1.191 +/*      GL_LIGHT7 */
   1.192 +#define GL_POINT_SMOOTH                   0x0B10
   1.193 +#define GL_LINE_SMOOTH                    0x0B20
   1.194 +#define GL_SCISSOR_TEST                   0x0C11
   1.195 +#define GL_COLOR_MATERIAL                 0x0B57
   1.196 +#define GL_NORMALIZE                      0x0BA1
   1.197 +#define GL_RESCALE_NORMAL                 0x803A
   1.198 +#define GL_POLYGON_OFFSET_FILL            0x8037
   1.199 +#define GL_VERTEX_ARRAY                   0x8074
   1.200 +#define GL_NORMAL_ARRAY                   0x8075
   1.201 +#define GL_COLOR_ARRAY                    0x8076
   1.202 +#define GL_TEXTURE_COORD_ARRAY            0x8078
   1.203 +#define GL_MULTISAMPLE                    0x809D
   1.204 +#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
   1.205 +#define GL_SAMPLE_ALPHA_TO_ONE            0x809F
   1.206 +#define GL_SAMPLE_COVERAGE                0x80A0
   1.207 +
   1.208 +/* ErrorCode */
   1.209 +#define GL_NO_ERROR                       0
   1.210 +#define GL_INVALID_ENUM                   0x0500
   1.211 +#define GL_INVALID_VALUE                  0x0501
   1.212 +#define GL_INVALID_OPERATION              0x0502
   1.213 +#define GL_STACK_OVERFLOW                 0x0503
   1.214 +#define GL_STACK_UNDERFLOW                0x0504
   1.215 +#define GL_OUT_OF_MEMORY                  0x0505
   1.216 +
   1.217 +/* FogMode */
   1.218 +/*      GL_LINEAR */
   1.219 +#define GL_EXP                            0x0800
   1.220 +#define GL_EXP2                           0x0801
   1.221 +
   1.222 +/* FogParameter */
   1.223 +#define GL_FOG_DENSITY                    0x0B62
   1.224 +#define GL_FOG_START                      0x0B63
   1.225 +#define GL_FOG_END                        0x0B64
   1.226 +#define GL_FOG_MODE                       0x0B65
   1.227 +#define GL_FOG_COLOR                      0x0B66
   1.228 +
   1.229 +/* FrontFaceDirection */
   1.230 +#define GL_CW                             0x0900
   1.231 +#define GL_CCW                            0x0901
   1.232 +
   1.233 +/* GetPName */
   1.234 +#define GL_CURRENT_COLOR                  0x0B00
   1.235 +#define GL_CURRENT_NORMAL                 0x0B02
   1.236 +#define GL_CURRENT_TEXTURE_COORDS         0x0B03
   1.237 +#define GL_POINT_SIZE                     0x0B11
   1.238 +#define GL_POINT_SIZE_MIN                 0x8126
   1.239 +#define GL_POINT_SIZE_MAX                 0x8127
   1.240 +#define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
   1.241 +#define GL_POINT_DISTANCE_ATTENUATION     0x8129
   1.242 +#define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
   1.243 +#define GL_LINE_WIDTH                     0x0B21
   1.244 +#define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
   1.245 +#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
   1.246 +#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
   1.247 +#define GL_CULL_FACE_MODE                 0x0B45
   1.248 +#define GL_FRONT_FACE                     0x0B46
   1.249 +#define GL_SHADE_MODEL                    0x0B54
   1.250 +#define GL_DEPTH_RANGE                    0x0B70
   1.251 +#define GL_DEPTH_WRITEMASK                0x0B72
   1.252 +#define GL_DEPTH_CLEAR_VALUE              0x0B73
   1.253 +#define GL_DEPTH_FUNC                     0x0B74
   1.254 +#define GL_STENCIL_CLEAR_VALUE            0x0B91
   1.255 +#define GL_STENCIL_FUNC                   0x0B92
   1.256 +#define GL_STENCIL_VALUE_MASK             0x0B93
   1.257 +#define GL_STENCIL_FAIL                   0x0B94
   1.258 +#define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
   1.259 +#define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
   1.260 +#define GL_STENCIL_REF                    0x0B97
   1.261 +#define GL_STENCIL_WRITEMASK              0x0B98
   1.262 +#define GL_MATRIX_MODE                    0x0BA0
   1.263 +#define GL_VIEWPORT                       0x0BA2
   1.264 +#define GL_MODELVIEW_STACK_DEPTH          0x0BA3
   1.265 +#define GL_PROJECTION_STACK_DEPTH         0x0BA4
   1.266 +#define GL_TEXTURE_STACK_DEPTH            0x0BA5
   1.267 +#define GL_MODELVIEW_MATRIX               0x0BA6
   1.268 +#define GL_PROJECTION_MATRIX              0x0BA7
   1.269 +#define GL_TEXTURE_MATRIX                 0x0BA8
   1.270 +#define GL_ALPHA_TEST_FUNC                0x0BC1
   1.271 +#define GL_ALPHA_TEST_REF                 0x0BC2
   1.272 +#define GL_BLEND_DST                      0x0BE0
   1.273 +#define GL_BLEND_SRC                      0x0BE1
   1.274 +#define GL_LOGIC_OP_MODE                  0x0BF0
   1.275 +#define GL_SCISSOR_BOX                    0x0C10
   1.276 +#define GL_SCISSOR_TEST                   0x0C11
   1.277 +#define GL_COLOR_CLEAR_VALUE              0x0C22
   1.278 +#define GL_COLOR_WRITEMASK                0x0C23
   1.279 +#define GL_UNPACK_ALIGNMENT               0x0CF5
   1.280 +#define GL_PACK_ALIGNMENT                 0x0D05
   1.281 +#define GL_MAX_LIGHTS                     0x0D31
   1.282 +#define GL_MAX_CLIP_PLANES                0x0D32
   1.283 +#define GL_MAX_TEXTURE_SIZE               0x0D33
   1.284 +#define GL_MAX_MODELVIEW_STACK_DEPTH      0x0D36
   1.285 +#define GL_MAX_PROJECTION_STACK_DEPTH     0x0D38
   1.286 +#define GL_MAX_TEXTURE_STACK_DEPTH        0x0D39
   1.287 +#define GL_MAX_VIEWPORT_DIMS              0x0D3A
   1.288 +#define GL_MAX_TEXTURE_UNITS              0x84E2
   1.289 +#define GL_SUBPIXEL_BITS                  0x0D50
   1.290 +#define GL_RED_BITS                       0x0D52
   1.291 +#define GL_GREEN_BITS                     0x0D53
   1.292 +#define GL_BLUE_BITS                      0x0D54
   1.293 +#define GL_ALPHA_BITS                     0x0D55
   1.294 +#define GL_DEPTH_BITS                     0x0D56
   1.295 +#define GL_STENCIL_BITS                   0x0D57
   1.296 +#define GL_POLYGON_OFFSET_UNITS           0x2A00
   1.297 +#define GL_POLYGON_OFFSET_FILL            0x8037
   1.298 +#define GL_POLYGON_OFFSET_FACTOR          0x8038
   1.299 +#define GL_TEXTURE_BINDING_2D             0x8069
   1.300 +#define GL_VERTEX_ARRAY_SIZE              0x807A
   1.301 +#define GL_VERTEX_ARRAY_TYPE              0x807B
   1.302 +#define GL_VERTEX_ARRAY_STRIDE            0x807C
   1.303 +#define GL_NORMAL_ARRAY_TYPE              0x807E
   1.304 +#define GL_NORMAL_ARRAY_STRIDE            0x807F
   1.305 +#define GL_COLOR_ARRAY_SIZE               0x8081
   1.306 +#define GL_COLOR_ARRAY_TYPE               0x8082
   1.307 +#define GL_COLOR_ARRAY_STRIDE             0x8083
   1.308 +#define GL_TEXTURE_COORD_ARRAY_SIZE       0x8088
   1.309 +#define GL_TEXTURE_COORD_ARRAY_TYPE       0x8089
   1.310 +#define GL_TEXTURE_COORD_ARRAY_STRIDE     0x808A
   1.311 +#define GL_VERTEX_ARRAY_POINTER           0x808E
   1.312 +#define GL_NORMAL_ARRAY_POINTER           0x808F
   1.313 +#define GL_COLOR_ARRAY_POINTER            0x8090
   1.314 +#define GL_TEXTURE_COORD_ARRAY_POINTER    0x8092
   1.315 +#define GL_SAMPLE_BUFFERS                 0x80A8
   1.316 +#define GL_SAMPLES                        0x80A9
   1.317 +#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
   1.318 +#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
   1.319 +
   1.320 +/* GetTextureParameter */
   1.321 +/*      GL_TEXTURE_MAG_FILTER */
   1.322 +/*      GL_TEXTURE_MIN_FILTER */
   1.323 +/*      GL_TEXTURE_WRAP_S */
   1.324 +/*      GL_TEXTURE_WRAP_T */
   1.325 +
   1.326 +#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
   1.327 +#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
   1.328 +
   1.329 +/* HintMode */
   1.330 +#define GL_DONT_CARE                      0x1100
   1.331 +#define GL_FASTEST                        0x1101
   1.332 +#define GL_NICEST                         0x1102
   1.333 +
   1.334 +/* HintTarget */
   1.335 +#define GL_PERSPECTIVE_CORRECTION_HINT    0x0C50
   1.336 +#define GL_POINT_SMOOTH_HINT              0x0C51
   1.337 +#define GL_LINE_SMOOTH_HINT               0x0C52
   1.338 +#define GL_FOG_HINT                       0x0C54
   1.339 +#define GL_GENERATE_MIPMAP_HINT           0x8192
   1.340 +
   1.341 +/* LightModelParameter */
   1.342 +#define GL_LIGHT_MODEL_AMBIENT            0x0B53
   1.343 +#define GL_LIGHT_MODEL_TWO_SIDE           0x0B52
   1.344 +
   1.345 +/* LightParameter */
   1.346 +#define GL_AMBIENT                        0x1200
   1.347 +#define GL_DIFFUSE                        0x1201
   1.348 +#define GL_SPECULAR                       0x1202
   1.349 +#define GL_POSITION                       0x1203
   1.350 +#define GL_SPOT_DIRECTION                 0x1204
   1.351 +#define GL_SPOT_EXPONENT                  0x1205
   1.352 +#define GL_SPOT_CUTOFF                    0x1206
   1.353 +#define GL_CONSTANT_ATTENUATION           0x1207
   1.354 +#define GL_LINEAR_ATTENUATION             0x1208
   1.355 +#define GL_QUADRATIC_ATTENUATION          0x1209
   1.356 +
   1.357 +/* DataType */
   1.358 +#define GL_BYTE                           0x1400
   1.359 +#define GL_UNSIGNED_BYTE                  0x1401
   1.360 +#define GL_SHORT                          0x1402
   1.361 +#define GL_UNSIGNED_SHORT                 0x1403
   1.362 +#define GL_FLOAT                          0x1406
   1.363 +#define GL_FIXED                          0x140C
   1.364 +
   1.365 +/* LogicOp */
   1.366 +#define GL_CLEAR                          0x1500
   1.367 +#define GL_AND                            0x1501
   1.368 +#define GL_AND_REVERSE                    0x1502
   1.369 +#define GL_COPY                           0x1503
   1.370 +#define GL_AND_INVERTED                   0x1504
   1.371 +#define GL_NOOP                           0x1505
   1.372 +#define GL_XOR                            0x1506
   1.373 +#define GL_OR                             0x1507
   1.374 +#define GL_NOR                            0x1508
   1.375 +#define GL_EQUIV                          0x1509
   1.376 +#define GL_INVERT                         0x150A
   1.377 +#define GL_OR_REVERSE                     0x150B
   1.378 +#define GL_COPY_INVERTED                  0x150C
   1.379 +#define GL_OR_INVERTED                    0x150D
   1.380 +#define GL_NAND                           0x150E
   1.381 +#define GL_SET                            0x150F
   1.382 +
   1.383 +/* MaterialFace */
   1.384 +/*      GL_FRONT_AND_BACK */
   1.385 +
   1.386 +/* MaterialParameter */
   1.387 +#define GL_EMISSION                       0x1600
   1.388 +#define GL_SHININESS                      0x1601
   1.389 +#define GL_AMBIENT_AND_DIFFUSE            0x1602
   1.390 +/*      GL_AMBIENT */
   1.391 +/*      GL_DIFFUSE */
   1.392 +/*      GL_SPECULAR */
   1.393 +
   1.394 +/* MatrixMode */
   1.395 +#define GL_MODELVIEW                      0x1700
   1.396 +#define GL_PROJECTION                     0x1701
   1.397 +#define GL_TEXTURE                        0x1702
   1.398 +
   1.399 +/* NormalPointerType */
   1.400 +/*      GL_BYTE */
   1.401 +/*      GL_SHORT */
   1.402 +/*      GL_FLOAT */
   1.403 +/*      GL_FIXED */
   1.404 +
   1.405 +/* PixelFormat */
   1.406 +#define GL_ALPHA                          0x1906
   1.407 +#define GL_RGB                            0x1907
   1.408 +#define GL_RGBA                           0x1908
   1.409 +#define GL_LUMINANCE                      0x1909
   1.410 +#define GL_LUMINANCE_ALPHA                0x190A
   1.411 +
   1.412 +/* PixelStoreParameter */
   1.413 +#define GL_UNPACK_ALIGNMENT               0x0CF5
   1.414 +#define GL_PACK_ALIGNMENT                 0x0D05
   1.415 +
   1.416 +/* PixelType */
   1.417 +/*      GL_UNSIGNED_BYTE */
   1.418 +#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
   1.419 +#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
   1.420 +#define GL_UNSIGNED_SHORT_5_6_5           0x8363
   1.421 +
   1.422 +/* ShadingModel */
   1.423 +#define GL_FLAT                           0x1D00
   1.424 +#define GL_SMOOTH                         0x1D01
   1.425 +
   1.426 +/* StencilFunction */
   1.427 +/*      GL_NEVER */
   1.428 +/*      GL_LESS */
   1.429 +/*      GL_EQUAL */
   1.430 +/*      GL_LEQUAL */
   1.431 +/*      GL_GREATER */
   1.432 +/*      GL_NOTEQUAL */
   1.433 +/*      GL_GEQUAL */
   1.434 +/*      GL_ALWAYS */
   1.435 +
   1.436 +/* StencilOp */
   1.437 +/*      GL_ZERO */
   1.438 +#define GL_KEEP                           0x1E00
   1.439 +#define GL_REPLACE                        0x1E01
   1.440 +#define GL_INCR                           0x1E02
   1.441 +#define GL_DECR                           0x1E03
   1.442 +/*      GL_INVERT */
   1.443 +
   1.444 +/* StringName */
   1.445 +#define GL_VENDOR                         0x1F00
   1.446 +#define GL_RENDERER                       0x1F01
   1.447 +#define GL_VERSION                        0x1F02
   1.448 +#define GL_EXTENSIONS                     0x1F03
   1.449 +
   1.450 +/* TexCoordPointerType */
   1.451 +/*      GL_SHORT */
   1.452 +/*      GL_FLOAT */
   1.453 +/*      GL_FIXED */
   1.454 +/*      GL_BYTE */
   1.455 +
   1.456 +/* TextureEnvMode */
   1.457 +#define GL_MODULATE                       0x2100
   1.458 +#define GL_DECAL                          0x2101
   1.459 +/*      GL_BLEND */
   1.460 +#define GL_ADD                            0x0104
   1.461 +/*      GL_REPLACE */
   1.462 +
   1.463 +/* TextureEnvParameter */
   1.464 +#define GL_TEXTURE_ENV_MODE               0x2200
   1.465 +#define GL_TEXTURE_ENV_COLOR              0x2201
   1.466 +
   1.467 +/* TextureEnvTarget */
   1.468 +#define GL_TEXTURE_ENV                    0x2300
   1.469 +
   1.470 +/* TextureMagFilter */
   1.471 +#define GL_NEAREST                        0x2600
   1.472 +#define GL_LINEAR                         0x2601
   1.473 +
   1.474 +/* TextureMinFilter */
   1.475 +/*      GL_NEAREST */
   1.476 +/*      GL_LINEAR */
   1.477 +#define GL_NEAREST_MIPMAP_NEAREST         0x2700
   1.478 +#define GL_LINEAR_MIPMAP_NEAREST          0x2701
   1.479 +#define GL_NEAREST_MIPMAP_LINEAR          0x2702
   1.480 +#define GL_LINEAR_MIPMAP_LINEAR           0x2703
   1.481 +
   1.482 +/* TextureParameterName */
   1.483 +#define GL_TEXTURE_MAG_FILTER             0x2800
   1.484 +#define GL_TEXTURE_MIN_FILTER             0x2801
   1.485 +#define GL_TEXTURE_WRAP_S                 0x2802
   1.486 +#define GL_TEXTURE_WRAP_T                 0x2803
   1.487 +#define GL_GENERATE_MIPMAP                0x8191
   1.488 +
   1.489 +/* TextureTarget */
   1.490 +/*      GL_TEXTURE_2D */
   1.491 +
   1.492 +/* TextureUnit */
   1.493 +#define GL_TEXTURE0                       0x84C0
   1.494 +#define GL_TEXTURE1                       0x84C1
   1.495 +#define GL_TEXTURE2                       0x84C2
   1.496 +#define GL_TEXTURE3                       0x84C3
   1.497 +#define GL_TEXTURE4                       0x84C4
   1.498 +#define GL_TEXTURE5                       0x84C5
   1.499 +#define GL_TEXTURE6                       0x84C6
   1.500 +#define GL_TEXTURE7                       0x84C7
   1.501 +#define GL_TEXTURE8                       0x84C8
   1.502 +#define GL_TEXTURE9                       0x84C9
   1.503 +#define GL_TEXTURE10                      0x84CA
   1.504 +#define GL_TEXTURE11                      0x84CB
   1.505 +#define GL_TEXTURE12                      0x84CC
   1.506 +#define GL_TEXTURE13                      0x84CD
   1.507 +#define GL_TEXTURE14                      0x84CE
   1.508 +#define GL_TEXTURE15                      0x84CF
   1.509 +#define GL_TEXTURE16                      0x84D0
   1.510 +#define GL_TEXTURE17                      0x84D1
   1.511 +#define GL_TEXTURE18                      0x84D2
   1.512 +#define GL_TEXTURE19                      0x84D3
   1.513 +#define GL_TEXTURE20                      0x84D4
   1.514 +#define GL_TEXTURE21                      0x84D5
   1.515 +#define GL_TEXTURE22                      0x84D6
   1.516 +#define GL_TEXTURE23                      0x84D7
   1.517 +#define GL_TEXTURE24                      0x84D8
   1.518 +#define GL_TEXTURE25                      0x84D9
   1.519 +#define GL_TEXTURE26                      0x84DA
   1.520 +#define GL_TEXTURE27                      0x84DB
   1.521 +#define GL_TEXTURE28                      0x84DC
   1.522 +#define GL_TEXTURE29                      0x84DD
   1.523 +#define GL_TEXTURE30                      0x84DE
   1.524 +#define GL_TEXTURE31                      0x84DF
   1.525 +#define GL_ACTIVE_TEXTURE                 0x84E0
   1.526 +#define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
   1.527 +
   1.528 +/* TextureWrapMode */
   1.529 +#define GL_REPEAT                         0x2901
   1.530 +#define GL_CLAMP_TO_EDGE                  0x812F
   1.531 +
   1.532 +/* VertexPointerType */
   1.533 +/*      GL_SHORT */
   1.534 +/*      GL_FLOAT */
   1.535 +/*      GL_FIXED */
   1.536 +/*      GL_BYTE */
   1.537 +
   1.538 +/* LightName */
   1.539 +#define GL_LIGHT0                         0x4000
   1.540 +#define GL_LIGHT1                         0x4001
   1.541 +#define GL_LIGHT2                         0x4002
   1.542 +#define GL_LIGHT3                         0x4003
   1.543 +#define GL_LIGHT4                         0x4004
   1.544 +#define GL_LIGHT5                         0x4005
   1.545 +#define GL_LIGHT6                         0x4006
   1.546 +#define GL_LIGHT7                         0x4007
   1.547 +
   1.548 +/* Buffer Objects */
   1.549 +#define GL_ARRAY_BUFFER                   0x8892
   1.550 +#define GL_ELEMENT_ARRAY_BUFFER           0x8893
   1.551 +
   1.552 +#define GL_ARRAY_BUFFER_BINDING               0x8894
   1.553 +#define GL_ELEMENT_ARRAY_BUFFER_BINDING       0x8895
   1.554 +#define GL_VERTEX_ARRAY_BUFFER_BINDING        0x8896
   1.555 +#define GL_NORMAL_ARRAY_BUFFER_BINDING        0x8897
   1.556 +#define GL_COLOR_ARRAY_BUFFER_BINDING         0x8898
   1.557 +#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
   1.558 +
   1.559 +#define GL_STATIC_DRAW                    0x88E4
   1.560 +#define GL_DYNAMIC_DRAW                   0x88E8
   1.561 +
   1.562 +#define GL_BUFFER_SIZE                    0x8764
   1.563 +#define GL_BUFFER_USAGE                   0x8765
   1.564 +
   1.565 +/* Texture combine + dot3 */
   1.566 +#define GL_SUBTRACT                       0x84E7
   1.567 +#define GL_COMBINE                        0x8570
   1.568 +#define GL_COMBINE_RGB                    0x8571
   1.569 +#define GL_COMBINE_ALPHA                  0x8572
   1.570 +#define GL_RGB_SCALE                      0x8573
   1.571 +#define GL_ADD_SIGNED                     0x8574
   1.572 +#define GL_INTERPOLATE                    0x8575
   1.573 +#define GL_CONSTANT                       0x8576
   1.574 +#define GL_PRIMARY_COLOR                  0x8577
   1.575 +#define GL_PREVIOUS                       0x8578
   1.576 +#define GL_OPERAND0_RGB                   0x8590
   1.577 +#define GL_OPERAND1_RGB                   0x8591
   1.578 +#define GL_OPERAND2_RGB                   0x8592
   1.579 +#define GL_OPERAND0_ALPHA                 0x8598
   1.580 +#define GL_OPERAND1_ALPHA                 0x8599
   1.581 +#define GL_OPERAND2_ALPHA                 0x859A
   1.582 +
   1.583 +#define GL_ALPHA_SCALE                    0x0D1C
   1.584 +
   1.585 +#define GL_SRC0_RGB                       0x8580
   1.586 +#define GL_SRC1_RGB                       0x8581
   1.587 +#define GL_SRC2_RGB                       0x8582
   1.588 +#define GL_SRC0_ALPHA                     0x8588
   1.589 +#define GL_SRC1_ALPHA                     0x8589
   1.590 +#define GL_SRC2_ALPHA                     0x858A
   1.591 +
   1.592 +#define GL_DOT3_RGB                       0x86AE
   1.593 +#define GL_DOT3_RGBA                      0x86AF
   1.594 +
   1.595 +/*------------------------------------------------------------------------*
   1.596 + * required OES extension tokens
   1.597 + *------------------------------------------------------------------------*/
   1.598 +
   1.599 +/* OES_read_format */
   1.600 +#ifndef GL_OES_read_format
   1.601 +#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES                   0x8B9A
   1.602 +#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES                 0x8B9B
   1.603 +#endif
   1.604 +
   1.605 +/* GL_OES_compressed_paletted_texture */
   1.606 +#ifndef GL_OES_compressed_paletted_texture
   1.607 +#define GL_PALETTE4_RGB8_OES                                    0x8B90
   1.608 +#define GL_PALETTE4_RGBA8_OES                                   0x8B91
   1.609 +#define GL_PALETTE4_R5_G6_B5_OES                                0x8B92
   1.610 +#define GL_PALETTE4_RGBA4_OES                                   0x8B93
   1.611 +#define GL_PALETTE4_RGB5_A1_OES                                 0x8B94
   1.612 +#define GL_PALETTE8_RGB8_OES                                    0x8B95
   1.613 +#define GL_PALETTE8_RGBA8_OES                                   0x8B96
   1.614 +#define GL_PALETTE8_R5_G6_B5_OES                                0x8B97
   1.615 +#define GL_PALETTE8_RGBA4_OES                                   0x8B98
   1.616 +#define GL_PALETTE8_RGB5_A1_OES                                 0x8B99
   1.617 +#endif
   1.618 +
   1.619 +/* OES_point_size_array */
   1.620 +#ifndef GL_OES_point_size_array
   1.621 +#define GL_POINT_SIZE_ARRAY_OES                                 0x8B9C
   1.622 +#define GL_POINT_SIZE_ARRAY_TYPE_OES                            0x898A
   1.623 +#define GL_POINT_SIZE_ARRAY_STRIDE_OES                          0x898B
   1.624 +#define GL_POINT_SIZE_ARRAY_POINTER_OES                         0x898C
   1.625 +#define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES                  0x8B9F
   1.626 +#endif
   1.627 +
   1.628 +/* GL_OES_point_sprite */
   1.629 +#ifndef GL_OES_point_sprite
   1.630 +#define GL_POINT_SPRITE_OES                                     0x8861
   1.631 +#define GL_COORD_REPLACE_OES                                    0x8862
   1.632 +#endif
   1.633 +
   1.634 +/*************************************************************/
   1.635 +
   1.636 +/* Available only in Common profile */
   1.637 +GL_API void GL_APIENTRY glAlphaFunc (GLenum func, GLclampf ref);
   1.638 +GL_API void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
   1.639 +GL_API void GL_APIENTRY glClearDepthf (GLclampf depth);
   1.640 +GL_API void GL_APIENTRY glClipPlanef (GLenum plane, const GLfloat *equation);
   1.641 +GL_API void GL_APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
   1.642 +GL_API void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
   1.643 +GL_API void GL_APIENTRY glFogf (GLenum pname, GLfloat param);
   1.644 +GL_API void GL_APIENTRY glFogfv (GLenum pname, const GLfloat *params);
   1.645 +GL_API void GL_APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
   1.646 +GL_API void GL_APIENTRY glGetClipPlanef (GLenum pname, GLfloat eqn[4]);
   1.647 +GL_API void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *params);
   1.648 +GL_API void GL_APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
   1.649 +GL_API void GL_APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
   1.650 +GL_API void GL_APIENTRY glGetTexEnvfv (GLenum env, GLenum pname, GLfloat *params);
   1.651 +GL_API void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
   1.652 +GL_API void GL_APIENTRY glLightModelf (GLenum pname, GLfloat param);
   1.653 +GL_API void GL_APIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
   1.654 +GL_API void GL_APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
   1.655 +GL_API void GL_APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
   1.656 +GL_API void GL_APIENTRY glLineWidth (GLfloat width);
   1.657 +GL_API void GL_APIENTRY glLoadMatrixf (const GLfloat *m);
   1.658 +GL_API void GL_APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
   1.659 +GL_API void GL_APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
   1.660 +GL_API void GL_APIENTRY glMultMatrixf (const GLfloat *m);
   1.661 +GL_API void GL_APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
   1.662 +GL_API void GL_APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
   1.663 +GL_API void GL_APIENTRY glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
   1.664 +GL_API void GL_APIENTRY glPointParameterf (GLenum pname, GLfloat param);
   1.665 +GL_API void GL_APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
   1.666 +GL_API void GL_APIENTRY glPointSize (GLfloat size);
   1.667 +GL_API void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
   1.668 +GL_API void GL_APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
   1.669 +GL_API void GL_APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
   1.670 +GL_API void GL_APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
   1.671 +GL_API void GL_APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
   1.672 +GL_API void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
   1.673 +GL_API void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
   1.674 +GL_API void GL_APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
   1.675 +
   1.676 +/* Available in both Common and Common-Lite profiles */
   1.677 +GL_API void GL_APIENTRY glActiveTexture (GLenum texture);
   1.678 +GL_API void GL_APIENTRY glAlphaFuncx (GLenum func, GLclampx ref);
   1.679 +GL_API void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer);
   1.680 +GL_API void GL_APIENTRY glBindTexture (GLenum target, GLuint texture);
   1.681 +GL_API void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
   1.682 +GL_API void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
   1.683 +GL_API void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
   1.684 +GL_API void GL_APIENTRY glClear (GLbitfield mask);
   1.685 +GL_API void GL_APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
   1.686 +GL_API void GL_APIENTRY glClearDepthx (GLclampx depth);
   1.687 +GL_API void GL_APIENTRY glClearStencil (GLint s);
   1.688 +GL_API void GL_APIENTRY glClientActiveTexture (GLenum texture);
   1.689 +GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation);
   1.690 +GL_API void GL_APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
   1.691 +GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
   1.692 +GL_API void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
   1.693 +GL_API void GL_APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
   1.694 +GL_API void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
   1.695 +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);
   1.696 +GL_API void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
   1.697 +GL_API void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   1.698 +GL_API void GL_APIENTRY glCullFace (GLenum mode);
   1.699 +GL_API void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
   1.700 +GL_API void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
   1.701 +GL_API void GL_APIENTRY glDepthFunc (GLenum func);
   1.702 +GL_API void GL_APIENTRY glDepthMask (GLboolean flag);
   1.703 +GL_API void GL_APIENTRY glDepthRangex (GLclampx zNear, GLclampx zFar);
   1.704 +GL_API void GL_APIENTRY glDisable (GLenum cap);
   1.705 +GL_API void GL_APIENTRY glDisableClientState (GLenum array);
   1.706 +GL_API void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
   1.707 +GL_API void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
   1.708 +GL_API void GL_APIENTRY glEnable (GLenum cap);
   1.709 +GL_API void GL_APIENTRY glEnableClientState (GLenum array);
   1.710 +GL_API void GL_APIENTRY glFinish (void);
   1.711 +GL_API void GL_APIENTRY glFlush (void);
   1.712 +GL_API void GL_APIENTRY glFogx (GLenum pname, GLfixed param);
   1.713 +GL_API void GL_APIENTRY glFogxv (GLenum pname, const GLfixed *params);
   1.714 +GL_API void GL_APIENTRY glFrontFace (GLenum mode);
   1.715 +GL_API void GL_APIENTRY glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
   1.716 +GL_API void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *params);
   1.717 +GL_API void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
   1.718 +GL_API void GL_APIENTRY glGetClipPlanex (GLenum pname, GLfixed eqn[4]);
   1.719 +GL_API void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
   1.720 +GL_API void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures);
   1.721 +GL_API GLenum GL_APIENTRY glGetError (void);
   1.722 +GL_API void GL_APIENTRY glGetFixedv (GLenum pname, GLfixed *params);
   1.723 +GL_API void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *params);
   1.724 +GL_API void GL_APIENTRY glGetLightxv (GLenum light, GLenum pname, GLfixed *params);
   1.725 +GL_API void GL_APIENTRY glGetMaterialxv (GLenum face, GLenum pname, GLfixed *params);
   1.726 +GL_API void GL_APIENTRY glGetPointerv (GLenum pname, void **params);
   1.727 +GL_API const GLubyte * GL_APIENTRY glGetString (GLenum name);
   1.728 +GL_API void GL_APIENTRY glGetTexEnviv (GLenum env, GLenum pname, GLint *params);
   1.729 +GL_API void GL_APIENTRY glGetTexEnvxv (GLenum env, GLenum pname, GLfixed *params);
   1.730 +GL_API void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
   1.731 +GL_API void GL_APIENTRY glGetTexParameterxv (GLenum target, GLenum pname, GLfixed *params);
   1.732 +GL_API void GL_APIENTRY glHint (GLenum target, GLenum mode);
   1.733 +GL_API GLboolean GL_APIENTRY glIsBuffer (GLuint buffer);
   1.734 +GL_API GLboolean GL_APIENTRY glIsEnabled (GLenum cap);
   1.735 +GL_API GLboolean GL_APIENTRY glIsTexture (GLuint texture);
   1.736 +GL_API void GL_APIENTRY glLightModelx (GLenum pname, GLfixed param);
   1.737 +GL_API void GL_APIENTRY glLightModelxv (GLenum pname, const GLfixed *params);
   1.738 +GL_API void GL_APIENTRY glLightx (GLenum light, GLenum pname, GLfixed param);
   1.739 +GL_API void GL_APIENTRY glLightxv (GLenum light, GLenum pname, const GLfixed *params);
   1.740 +GL_API void GL_APIENTRY glLineWidthx (GLfixed width);
   1.741 +GL_API void GL_APIENTRY glLoadIdentity (void);
   1.742 +GL_API void GL_APIENTRY glLoadMatrixx (const GLfixed *m);
   1.743 +GL_API void GL_APIENTRY glLogicOp (GLenum opcode);
   1.744 +GL_API void GL_APIENTRY glMaterialx (GLenum face, GLenum pname, GLfixed param);
   1.745 +GL_API void GL_APIENTRY glMaterialxv (GLenum face, GLenum pname, const GLfixed *params);
   1.746 +GL_API void GL_APIENTRY glMatrixMode (GLenum mode);
   1.747 +GL_API void GL_APIENTRY glMultMatrixx (const GLfixed *m);
   1.748 +GL_API void GL_APIENTRY glMultiTexCoord4x (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
   1.749 +GL_API void GL_APIENTRY glNormal3x (GLfixed nx, GLfixed ny, GLfixed nz);
   1.750 +GL_API void GL_APIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
   1.751 +GL_API void GL_APIENTRY glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
   1.752 +GL_API void GL_APIENTRY glPixelStorei (GLenum pname, GLint param);
   1.753 +GL_API void GL_APIENTRY glPointParameterx (GLenum pname, GLfixed param);
   1.754 +GL_API void GL_APIENTRY glPointParameterxv (GLenum pname, const GLfixed *params);
   1.755 +GL_API void GL_APIENTRY glPointSizex (GLfixed size);
   1.756 +GL_API void GL_APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units);
   1.757 +GL_API void GL_APIENTRY glPopMatrix (void);
   1.758 +GL_API void GL_APIENTRY glPushMatrix (void);
   1.759 +GL_API void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
   1.760 +GL_API void GL_APIENTRY glRotatex (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
   1.761 +GL_API void GL_APIENTRY glSampleCoverage (GLclampf value, GLboolean invert);
   1.762 +GL_API void GL_APIENTRY glSampleCoveragex (GLclampx value, GLboolean invert);
   1.763 +GL_API void GL_APIENTRY glScalex (GLfixed x, GLfixed y, GLfixed z);
   1.764 +GL_API void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
   1.765 +GL_API void GL_APIENTRY glShadeModel (GLenum mode);
   1.766 +GL_API void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
   1.767 +GL_API void GL_APIENTRY glStencilMask (GLuint mask);
   1.768 +GL_API void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
   1.769 +GL_API void GL_APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
   1.770 +GL_API void GL_APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
   1.771 +GL_API void GL_APIENTRY glTexEnvx (GLenum target, GLenum pname, GLfixed param);
   1.772 +GL_API void GL_APIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params);
   1.773 +GL_API void GL_APIENTRY glTexEnvxv (GLenum target, GLenum pname, const GLfixed *params);
   1.774 +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);
   1.775 +GL_API void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
   1.776 +GL_API void GL_APIENTRY glTexParameterx (GLenum target, GLenum pname, GLfixed param);
   1.777 +GL_API void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
   1.778 +GL_API void GL_APIENTRY glTexParameterxv (GLenum target, GLenum pname, const GLfixed *params);
   1.779 +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);
   1.780 +GL_API void GL_APIENTRY glTranslatex (GLfixed x, GLfixed y, GLfixed z);
   1.781 +GL_API void GL_APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
   1.782 +GL_API void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
   1.783 +
   1.784 +/*------------------------------------------------------------------------*
   1.785 + * Required OES extension functions
   1.786 + *------------------------------------------------------------------------*/
   1.787 +
   1.788 +/* GL_OES_read_format */
   1.789 +#ifndef GL_OES_read_format
   1.790 +#define GL_OES_read_format 1
   1.791 +#endif
   1.792 +
   1.793 +/* GL_OES_compressed_paletted_texture */
   1.794 +#ifndef GL_OES_compressed_paletted_texture
   1.795 +#define GL_OES_compressed_paletted_texture 1
   1.796 +#endif
   1.797 +
   1.798 +/* GL_OES_point_size_array */
   1.799 +#ifndef GL_OES_point_size_array
   1.800 +#define GL_OES_point_size_array 1
   1.801 +GL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, const GLvoid *pointer);
   1.802 +#endif
   1.803 +
   1.804 +/* GL_OES_point_sprite */
   1.805 +#ifndef GL_OES_point_sprite
   1.806 +#define GL_OES_point_sprite 1
   1.807 +#endif
   1.808 +
   1.809 +#ifdef __cplusplus
   1.810 +}
   1.811 +#endif
   1.812 +
   1.813 +#endif /* __gl_h_ */
   1.814 +