SDL_opengl: Update to glext.h from Khronos dated 2014-05-21.
authorJørgen P. Tjernø <jorgen@uberent.com>
Wed, 04 Jun 2014 01:32:52 -0700
changeset 880720294e387cab
parent 8806 1a413cfc6ab7
child 8808 da1e1d6e84c4
SDL_opengl: Update to glext.h from Khronos dated 2014-05-21.

This updates to the latest glext.h from Khorons that includes the OpenGL
4.4 specification. It was retrieved from
http://www.opengl.org/registry/api/GL/glext.h at 2014-06-04.
include/SDL_opengl_glext.h
     1.1 --- a/include/SDL_opengl_glext.h	Wed Jun 04 01:27:13 2014 -0700
     1.2 +++ b/include/SDL_opengl_glext.h	Wed Jun 04 01:32:52 2014 -0700
     1.3 @@ -1,12 +1,12 @@
     1.4  #ifndef __glext_h_
     1.5 -#define __glext_h_
     1.6 +#define __glext_h_ 1
     1.7  
     1.8  #ifdef __cplusplus
     1.9  extern "C" {
    1.10  #endif
    1.11  
    1.12  /*
    1.13 -** Copyright (c) 2007-2010 The Khronos Group Inc.
    1.14 +** Copyright (c) 2013-2014 The Khronos Group Inc.
    1.15  **
    1.16  ** Permission is hereby granted, free of charge, to any person obtaining a
    1.17  ** copy of this software and/or associated documentation files (the
    1.18 @@ -27,15 +27,19 @@
    1.19  ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
    1.20  ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
    1.21  */
    1.22 -
    1.23 -/* Header file version number, required by OpenGL ABI for Linux */
    1.24 -/* glext.h last updated $Date: 2010-08-03 01:30:25 -0700 (Tue, 03 Aug 2010) $ */
    1.25 -/* Current version at http://www.opengl.org/registry/ */
    1.26 -#define GL_GLEXT_VERSION 64
    1.27 -/* Function declaration macros - to move into glplatform.h */
    1.28 +/*
    1.29 +** This header is generated from the Khronos OpenGL / OpenGL ES XML
    1.30 +** API Registry. The current version of the Registry, generator scripts
    1.31 +** used to make the header, and the header can be found at
    1.32 +**   http://www.opengl.org/registry/
    1.33 +**
    1.34 +** Khronos $Revision: 26745 $ on $Date: 2014-05-21 03:12:26 -0700 (Wed, 21 May 2014) $
    1.35 +*/
    1.36  
    1.37  #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
    1.38 +#ifndef WIN32_LEAN_AND_MEAN
    1.39  #define WIN32_LEAN_AND_MEAN 1
    1.40 +#endif
    1.41  #include <windows.h>
    1.42  #endif
    1.43  
    1.44 @@ -49,9 +53,20 @@
    1.45  #define GLAPI extern
    1.46  #endif
    1.47  
    1.48 -/*************************************************************/
    1.49 +#define GL_GLEXT_VERSION 20140521
    1.50 +
    1.51 +/* Generated C header for:
    1.52 + * API: gl
    1.53 + * Profile: compatibility
    1.54 + * Versions considered: .*
    1.55 + * Versions emitted: 1\.[2-9]|[234]\.[0-9]
    1.56 + * Default extensions included: gl
    1.57 + * Additional extensions included: _nomatch_^
    1.58 + * Extensions removed: _nomatch_^
    1.59 + */
    1.60  
    1.61  #ifndef GL_VERSION_1_2
    1.62 +#define GL_VERSION_1_2 1
    1.63  #define GL_UNSIGNED_BYTE_3_3_2            0x8032
    1.64  #define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
    1.65  #define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
    1.66 @@ -88,98 +103,25 @@
    1.67  #define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
    1.68  #define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
    1.69  #define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
    1.70 -#endif
    1.71 -
    1.72 -#ifndef GL_VERSION_1_2_DEPRECATED
    1.73  #define GL_RESCALE_NORMAL                 0x803A
    1.74  #define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
    1.75  #define GL_SINGLE_COLOR                   0x81F9
    1.76  #define GL_SEPARATE_SPECULAR_COLOR        0x81FA
    1.77  #define GL_ALIASED_POINT_SIZE_RANGE       0x846D
    1.78 -#endif
    1.79 -
    1.80 -#ifndef GL_ARB_imaging
    1.81 -#define GL_CONSTANT_COLOR                 0x8001
    1.82 -#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
    1.83 -#define GL_CONSTANT_ALPHA                 0x8003
    1.84 -#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
    1.85 -#define GL_BLEND_COLOR                    0x8005
    1.86 -#define GL_FUNC_ADD                       0x8006
    1.87 -#define GL_MIN                            0x8007
    1.88 -#define GL_MAX                            0x8008
    1.89 -#define GL_BLEND_EQUATION                 0x8009
    1.90 -#define GL_FUNC_SUBTRACT                  0x800A
    1.91 -#define GL_FUNC_REVERSE_SUBTRACT          0x800B
    1.92 -#endif
    1.93 -
    1.94 -#ifndef GL_ARB_imaging_DEPRECATED
    1.95 -#define GL_CONVOLUTION_1D                 0x8010
    1.96 -#define GL_CONVOLUTION_2D                 0x8011
    1.97 -#define GL_SEPARABLE_2D                   0x8012
    1.98 -#define GL_CONVOLUTION_BORDER_MODE        0x8013
    1.99 -#define GL_CONVOLUTION_FILTER_SCALE       0x8014
   1.100 -#define GL_CONVOLUTION_FILTER_BIAS        0x8015
   1.101 -#define GL_REDUCE                         0x8016
   1.102 -#define GL_CONVOLUTION_FORMAT             0x8017
   1.103 -#define GL_CONVOLUTION_WIDTH              0x8018
   1.104 -#define GL_CONVOLUTION_HEIGHT             0x8019
   1.105 -#define GL_MAX_CONVOLUTION_WIDTH          0x801A
   1.106 -#define GL_MAX_CONVOLUTION_HEIGHT         0x801B
   1.107 -#define GL_POST_CONVOLUTION_RED_SCALE     0x801C
   1.108 -#define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
   1.109 -#define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
   1.110 -#define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
   1.111 -#define GL_POST_CONVOLUTION_RED_BIAS      0x8020
   1.112 -#define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
   1.113 -#define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
   1.114 -#define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
   1.115 -#define GL_HISTOGRAM                      0x8024
   1.116 -#define GL_PROXY_HISTOGRAM                0x8025
   1.117 -#define GL_HISTOGRAM_WIDTH                0x8026
   1.118 -#define GL_HISTOGRAM_FORMAT               0x8027
   1.119 -#define GL_HISTOGRAM_RED_SIZE             0x8028
   1.120 -#define GL_HISTOGRAM_GREEN_SIZE           0x8029
   1.121 -#define GL_HISTOGRAM_BLUE_SIZE            0x802A
   1.122 -#define GL_HISTOGRAM_ALPHA_SIZE           0x802B
   1.123 -#define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
   1.124 -#define GL_HISTOGRAM_SINK                 0x802D
   1.125 -#define GL_MINMAX                         0x802E
   1.126 -#define GL_MINMAX_FORMAT                  0x802F
   1.127 -#define GL_MINMAX_SINK                    0x8030
   1.128 -#define GL_TABLE_TOO_LARGE                0x8031
   1.129 -#define GL_COLOR_MATRIX                   0x80B1
   1.130 -#define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
   1.131 -#define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
   1.132 -#define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
   1.133 -#define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
   1.134 -#define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
   1.135 -#define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
   1.136 -#define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
   1.137 -#define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
   1.138 -#define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
   1.139 -#define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
   1.140 -#define GL_COLOR_TABLE                    0x80D0
   1.141 -#define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
   1.142 -#define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
   1.143 -#define GL_PROXY_COLOR_TABLE              0x80D3
   1.144 -#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
   1.145 -#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
   1.146 -#define GL_COLOR_TABLE_SCALE              0x80D6
   1.147 -#define GL_COLOR_TABLE_BIAS               0x80D7
   1.148 -#define GL_COLOR_TABLE_FORMAT             0x80D8
   1.149 -#define GL_COLOR_TABLE_WIDTH              0x80D9
   1.150 -#define GL_COLOR_TABLE_RED_SIZE           0x80DA
   1.151 -#define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
   1.152 -#define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
   1.153 -#define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
   1.154 -#define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
   1.155 -#define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
   1.156 -#define GL_CONSTANT_BORDER                0x8151
   1.157 -#define GL_REPLICATE_BORDER               0x8153
   1.158 -#define GL_CONVOLUTION_BORDER_COLOR       0x8154
   1.159 -#endif
   1.160 +typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
   1.161 +typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
   1.162 +typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
   1.163 +typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   1.164 +#ifdef GL_GLEXT_PROTOTYPES
   1.165 +GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
   1.166 +GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
   1.167 +GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
   1.168 +GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   1.169 +#endif
   1.170 +#endif /* GL_VERSION_1_2 */
   1.171  
   1.172  #ifndef GL_VERSION_1_3
   1.173 +#define GL_VERSION_1_3 1
   1.174  #define GL_TEXTURE0                       0x84C0
   1.175  #define GL_TEXTURE1                       0x84C1
   1.176  #define GL_TEXTURE2                       0x84C2
   1.177 @@ -239,9 +181,6 @@
   1.178  #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
   1.179  #define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
   1.180  #define GL_CLAMP_TO_BORDER                0x812D
   1.181 -#endif
   1.182 -
   1.183 -#ifndef GL_VERSION_1_3_DEPRECATED
   1.184  #define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
   1.185  #define GL_MAX_TEXTURE_UNITS              0x84E2
   1.186  #define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
   1.187 @@ -279,9 +218,104 @@
   1.188  #define GL_PREVIOUS                       0x8578
   1.189  #define GL_DOT3_RGB                       0x86AE
   1.190  #define GL_DOT3_RGBA                      0x86AF
   1.191 -#endif
   1.192 +typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
   1.193 +typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
   1.194 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
   1.195 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
   1.196 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
   1.197 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
   1.198 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
   1.199 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
   1.200 +typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
   1.201 +typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
   1.202 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
   1.203 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
   1.204 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
   1.205 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
   1.206 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
   1.207 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
   1.208 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
   1.209 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
   1.210 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
   1.211 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
   1.212 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
   1.213 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
   1.214 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
   1.215 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
   1.216 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
   1.217 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
   1.218 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
   1.219 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
   1.220 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
   1.221 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
   1.222 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
   1.223 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
   1.224 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
   1.225 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
   1.226 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
   1.227 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
   1.228 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
   1.229 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
   1.230 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
   1.231 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
   1.232 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
   1.233 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
   1.234 +typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
   1.235 +typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
   1.236 +typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
   1.237 +typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
   1.238 +#ifdef GL_GLEXT_PROTOTYPES
   1.239 +GLAPI void APIENTRY glActiveTexture (GLenum texture);
   1.240 +GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
   1.241 +GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
   1.242 +GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
   1.243 +GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
   1.244 +GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
   1.245 +GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
   1.246 +GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
   1.247 +GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
   1.248 +GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
   1.249 +GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
   1.250 +GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
   1.251 +GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
   1.252 +GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
   1.253 +GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
   1.254 +GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
   1.255 +GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
   1.256 +GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
   1.257 +GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
   1.258 +GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
   1.259 +GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
   1.260 +GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
   1.261 +GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
   1.262 +GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
   1.263 +GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
   1.264 +GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
   1.265 +GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
   1.266 +GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
   1.267 +GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
   1.268 +GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
   1.269 +GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
   1.270 +GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
   1.271 +GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
   1.272 +GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
   1.273 +GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
   1.274 +GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
   1.275 +GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
   1.276 +GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
   1.277 +GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
   1.278 +GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
   1.279 +GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
   1.280 +GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
   1.281 +GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
   1.282 +GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
   1.283 +GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
   1.284 +GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
   1.285 +#endif
   1.286 +#endif /* GL_VERSION_1_3 */
   1.287  
   1.288  #ifndef GL_VERSION_1_4
   1.289 +#define GL_VERSION_1_4 1
   1.290  #define GL_BLEND_DST_RGB                  0x80C8
   1.291  #define GL_BLEND_SRC_RGB                  0x80C9
   1.292  #define GL_BLEND_DST_ALPHA                0x80CA
   1.293 @@ -298,9 +332,6 @@
   1.294  #define GL_TEXTURE_DEPTH_SIZE             0x884A
   1.295  #define GL_TEXTURE_COMPARE_MODE           0x884C
   1.296  #define GL_TEXTURE_COMPARE_FUNC           0x884D
   1.297 -#endif
   1.298 -
   1.299 -#ifndef GL_VERSION_1_4_DEPRECATED
   1.300  #define GL_POINT_SIZE_MIN                 0x8126
   1.301  #define GL_POINT_SIZE_MAX                 0x8127
   1.302  #define GL_POINT_DISTANCE_ATTENUATION     0x8129
   1.303 @@ -324,9 +355,118 @@
   1.304  #define GL_TEXTURE_FILTER_CONTROL         0x8500
   1.305  #define GL_DEPTH_TEXTURE_MODE             0x884B
   1.306  #define GL_COMPARE_R_TO_TEXTURE           0x884E
   1.307 -#endif
   1.308 +#define GL_FUNC_ADD                       0x8006
   1.309 +#define GL_FUNC_SUBTRACT                  0x800A
   1.310 +#define GL_FUNC_REVERSE_SUBTRACT          0x800B
   1.311 +#define GL_MIN                            0x8007
   1.312 +#define GL_MAX                            0x8008
   1.313 +#define GL_CONSTANT_COLOR                 0x8001
   1.314 +#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
   1.315 +#define GL_CONSTANT_ALPHA                 0x8003
   1.316 +#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
   1.317 +typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
   1.318 +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
   1.319 +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
   1.320 +typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
   1.321 +typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
   1.322 +typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
   1.323 +typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
   1.324 +typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
   1.325 +typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
   1.326 +typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
   1.327 +typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
   1.328 +typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
   1.329 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
   1.330 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
   1.331 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
   1.332 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
   1.333 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
   1.334 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
   1.335 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
   1.336 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
   1.337 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
   1.338 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
   1.339 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
   1.340 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
   1.341 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
   1.342 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
   1.343 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
   1.344 +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
   1.345 +typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
   1.346 +typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
   1.347 +typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
   1.348 +typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
   1.349 +typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
   1.350 +typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
   1.351 +typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
   1.352 +typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
   1.353 +typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
   1.354 +typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
   1.355 +typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
   1.356 +typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
   1.357 +typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
   1.358 +typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
   1.359 +typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
   1.360 +typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
   1.361 +typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
   1.362 +typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
   1.363 +typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
   1.364 +#ifdef GL_GLEXT_PROTOTYPES
   1.365 +GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
   1.366 +GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
   1.367 +GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
   1.368 +GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
   1.369 +GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
   1.370 +GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
   1.371 +GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
   1.372 +GLAPI void APIENTRY glFogCoordf (GLfloat coord);
   1.373 +GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
   1.374 +GLAPI void APIENTRY glFogCoordd (GLdouble coord);
   1.375 +GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
   1.376 +GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer);
   1.377 +GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
   1.378 +GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
   1.379 +GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
   1.380 +GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
   1.381 +GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
   1.382 +GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
   1.383 +GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
   1.384 +GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
   1.385 +GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
   1.386 +GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
   1.387 +GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
   1.388 +GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
   1.389 +GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
   1.390 +GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
   1.391 +GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
   1.392 +GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
   1.393 +GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
   1.394 +GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
   1.395 +GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
   1.396 +GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
   1.397 +GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
   1.398 +GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
   1.399 +GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
   1.400 +GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
   1.401 +GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
   1.402 +GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
   1.403 +GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
   1.404 +GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
   1.405 +GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
   1.406 +GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
   1.407 +GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
   1.408 +GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
   1.409 +GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
   1.410 +GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
   1.411 +GLAPI void APIENTRY glBlendEquation (GLenum mode);
   1.412 +#endif
   1.413 +#endif /* GL_VERSION_1_4 */
   1.414  
   1.415  #ifndef GL_VERSION_1_5
   1.416 +#define GL_VERSION_1_5 1
   1.417 +#include <stddef.h>
   1.418 +typedef ptrdiff_t GLsizeiptr;
   1.419 +typedef ptrdiff_t GLintptr;
   1.420  #define GL_BUFFER_SIZE                    0x8764
   1.421  #define GL_BUFFER_USAGE                   0x8765
   1.422  #define GL_QUERY_COUNTER_BITS             0x8864
   1.423 @@ -354,9 +494,7 @@
   1.424  #define GL_DYNAMIC_READ                   0x88E9
   1.425  #define GL_DYNAMIC_COPY                   0x88EA
   1.426  #define GL_SAMPLES_PASSED                 0x8914
   1.427 -#endif
   1.428 -
   1.429 -#ifndef GL_VERSION_1_5_DEPRECATED
   1.430 +#define GL_SRC1_ALPHA                     0x8589
   1.431  #define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
   1.432  #define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
   1.433  #define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
   1.434 @@ -378,11 +516,52 @@
   1.435  #define GL_SRC1_RGB                       0x8581
   1.436  #define GL_SRC2_RGB                       0x8582
   1.437  #define GL_SRC0_ALPHA                     0x8588
   1.438 -#define GL_SRC1_ALPHA                     0x8589
   1.439  #define GL_SRC2_ALPHA                     0x858A
   1.440 -#endif
   1.441 +typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
   1.442 +typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
   1.443 +typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
   1.444 +typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
   1.445 +typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
   1.446 +typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
   1.447 +typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
   1.448 +typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
   1.449 +typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
   1.450 +typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
   1.451 +typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
   1.452 +typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
   1.453 +typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
   1.454 +typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
   1.455 +typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
   1.456 +typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
   1.457 +typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
   1.458 +typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
   1.459 +typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
   1.460 +#ifdef GL_GLEXT_PROTOTYPES
   1.461 +GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
   1.462 +GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
   1.463 +GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
   1.464 +GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
   1.465 +GLAPI void APIENTRY glEndQuery (GLenum target);
   1.466 +GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
   1.467 +GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
   1.468 +GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
   1.469 +GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
   1.470 +GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
   1.471 +GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
   1.472 +GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
   1.473 +GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
   1.474 +GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
   1.475 +GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
   1.476 +GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
   1.477 +GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
   1.478 +GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
   1.479 +GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
   1.480 +#endif
   1.481 +#endif /* GL_VERSION_1_5 */
   1.482  
   1.483  #ifndef GL_VERSION_2_0
   1.484 +#define GL_VERSION_2_0 1
   1.485 +typedef char GLchar;
   1.486  #define GL_BLEND_EQUATION_RGB             0x8009
   1.487  #define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
   1.488  #define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
   1.489 @@ -463,16 +642,202 @@
   1.490  #define GL_STENCIL_BACK_REF               0x8CA3
   1.491  #define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
   1.492  #define GL_STENCIL_BACK_WRITEMASK         0x8CA5
   1.493 -#endif
   1.494 -
   1.495 -#ifndef GL_VERSION_2_0_DEPRECATED
   1.496  #define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
   1.497  #define GL_POINT_SPRITE                   0x8861
   1.498  #define GL_COORD_REPLACE                  0x8862
   1.499  #define GL_MAX_TEXTURE_COORDS             0x8871
   1.500 -#endif
   1.501 +typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
   1.502 +typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
   1.503 +typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
   1.504 +typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
   1.505 +typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
   1.506 +typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
   1.507 +typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
   1.508 +typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
   1.509 +typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
   1.510 +typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
   1.511 +typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
   1.512 +typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
   1.513 +typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
   1.514 +typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
   1.515 +typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
   1.516 +typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
   1.517 +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
   1.518 +typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
   1.519 +typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
   1.520 +typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
   1.521 +typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
   1.522 +typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
   1.523 +typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
   1.524 +typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
   1.525 +typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
   1.526 +typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
   1.527 +typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
   1.528 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
   1.529 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
   1.530 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
   1.531 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
   1.532 +typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
   1.533 +typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
   1.534 +typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
   1.535 +typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
   1.536 +typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
   1.537 +typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
   1.538 +typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
   1.539 +typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
   1.540 +typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
   1.541 +typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
   1.542 +typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
   1.543 +typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
   1.544 +typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
   1.545 +typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
   1.546 +typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
   1.547 +typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
   1.548 +typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
   1.549 +typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
   1.550 +typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
   1.551 +typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
   1.552 +typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
   1.553 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.554 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.555 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.556 +typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
   1.557 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
   1.558 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
   1.559 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
   1.560 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
   1.561 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
   1.562 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
   1.563 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
   1.564 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
   1.565 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
   1.566 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
   1.567 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
   1.568 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
   1.569 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
   1.570 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
   1.571 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
   1.572 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
   1.573 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
   1.574 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
   1.575 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
   1.576 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
   1.577 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
   1.578 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
   1.579 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
   1.580 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
   1.581 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
   1.582 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
   1.583 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   1.584 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
   1.585 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   1.586 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
   1.587 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
   1.588 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
   1.589 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
   1.590 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
   1.591 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
   1.592 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
   1.593 +typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
   1.594 +#ifdef GL_GLEXT_PROTOTYPES
   1.595 +GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
   1.596 +GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
   1.597 +GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
   1.598 +GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
   1.599 +GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
   1.600 +GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
   1.601 +GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
   1.602 +GLAPI void APIENTRY glCompileShader (GLuint shader);
   1.603 +GLAPI GLuint APIENTRY glCreateProgram (void);
   1.604 +GLAPI GLuint APIENTRY glCreateShader (GLenum type);
   1.605 +GLAPI void APIENTRY glDeleteProgram (GLuint program);
   1.606 +GLAPI void APIENTRY glDeleteShader (GLuint shader);
   1.607 +GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
   1.608 +GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
   1.609 +GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
   1.610 +GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
   1.611 +GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
   1.612 +GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
   1.613 +GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
   1.614 +GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
   1.615 +GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
   1.616 +GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
   1.617 +GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
   1.618 +GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
   1.619 +GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
   1.620 +GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
   1.621 +GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
   1.622 +GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
   1.623 +GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
   1.624 +GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
   1.625 +GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
   1.626 +GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
   1.627 +GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
   1.628 +GLAPI void APIENTRY glLinkProgram (GLuint program);
   1.629 +GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
   1.630 +GLAPI void APIENTRY glUseProgram (GLuint program);
   1.631 +GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
   1.632 +GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
   1.633 +GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
   1.634 +GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
   1.635 +GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
   1.636 +GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
   1.637 +GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
   1.638 +GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
   1.639 +GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
   1.640 +GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
   1.641 +GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
   1.642 +GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
   1.643 +GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
   1.644 +GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
   1.645 +GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
   1.646 +GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
   1.647 +GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.648 +GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.649 +GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.650 +GLAPI void APIENTRY glValidateProgram (GLuint program);
   1.651 +GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
   1.652 +GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
   1.653 +GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
   1.654 +GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
   1.655 +GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
   1.656 +GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
   1.657 +GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
   1.658 +GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
   1.659 +GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
   1.660 +GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
   1.661 +GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
   1.662 +GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
   1.663 +GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
   1.664 +GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
   1.665 +GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
   1.666 +GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
   1.667 +GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
   1.668 +GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
   1.669 +GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
   1.670 +GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
   1.671 +GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
   1.672 +GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
   1.673 +GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
   1.674 +GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
   1.675 +GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
   1.676 +GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
   1.677 +GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   1.678 +GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
   1.679 +GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   1.680 +GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
   1.681 +GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
   1.682 +GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
   1.683 +GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
   1.684 +GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
   1.685 +GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
   1.686 +GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
   1.687 +GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
   1.688 +#endif
   1.689 +#endif /* GL_VERSION_2_0 */
   1.690  
   1.691  #ifndef GL_VERSION_2_1
   1.692 +#define GL_VERSION_2_1 1
   1.693  #define GL_PIXEL_PACK_BUFFER              0x88EB
   1.694  #define GL_PIXEL_UNPACK_BUFFER            0x88EC
   1.695  #define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
   1.696 @@ -489,9 +854,6 @@
   1.697  #define GL_SRGB8_ALPHA8                   0x8C43
   1.698  #define GL_COMPRESSED_SRGB                0x8C48
   1.699  #define GL_COMPRESSED_SRGB_ALPHA          0x8C49
   1.700 -#endif
   1.701 -
   1.702 -#ifndef GL_VERSION_2_1_DEPRECATED
   1.703  #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
   1.704  #define GL_SLUMINANCE_ALPHA               0x8C44
   1.705  #define GL_SLUMINANCE8_ALPHA8             0x8C45
   1.706 @@ -499,9 +861,25 @@
   1.707  #define GL_SLUMINANCE8                    0x8C47
   1.708  #define GL_COMPRESSED_SLUMINANCE          0x8C4A
   1.709  #define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
   1.710 -#endif
   1.711 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.712 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.713 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.714 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.715 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.716 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.717 +#ifdef GL_GLEXT_PROTOTYPES
   1.718 +GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.719 +GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.720 +GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.721 +GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.722 +GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.723 +GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.724 +#endif
   1.725 +#endif /* GL_VERSION_2_1 */
   1.726  
   1.727  #ifndef GL_VERSION_3_0
   1.728 +#define GL_VERSION_3_0 1
   1.729 +typedef unsigned short GLhalf;
   1.730  #define GL_COMPARE_REF_TO_TEXTURE         0x884E
   1.731  #define GL_CLIP_DISTANCE0                 0x3000
   1.732  #define GL_CLIP_DISTANCE1                 0x3001
   1.733 @@ -516,11 +894,9 @@
   1.734  #define GL_MINOR_VERSION                  0x821C
   1.735  #define GL_NUM_EXTENSIONS                 0x821D
   1.736  #define GL_CONTEXT_FLAGS                  0x821E
   1.737 -#define GL_DEPTH_BUFFER                   0x8223
   1.738 -#define GL_STENCIL_BUFFER                 0x8224
   1.739  #define GL_COMPRESSED_RED                 0x8225
   1.740  #define GL_COMPRESSED_RG                  0x8226
   1.741 -#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
   1.742 +#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
   1.743  #define GL_RGBA32F                        0x8814
   1.744  #define GL_RGB32F                         0x8815
   1.745  #define GL_RGBA16F                        0x881A
   1.746 @@ -604,954 +980,9 @@
   1.747  #define GL_BUFFER_ACCESS_FLAGS            0x911F
   1.748  #define GL_BUFFER_MAP_LENGTH              0x9120
   1.749  #define GL_BUFFER_MAP_OFFSET              0x9121
   1.750 -/* Reuse tokens from ARB_depth_buffer_float */
   1.751 -/* reuse GL_DEPTH_COMPONENT32F */
   1.752 -/* reuse GL_DEPTH32F_STENCIL8 */
   1.753 -/* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */
   1.754 -/* Reuse tokens from ARB_framebuffer_object */
   1.755 -/* reuse GL_INVALID_FRAMEBUFFER_OPERATION */
   1.756 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
   1.757 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
   1.758 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
   1.759 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
   1.760 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
   1.761 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
   1.762 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
   1.763 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
   1.764 -/* reuse GL_FRAMEBUFFER_DEFAULT */
   1.765 -/* reuse GL_FRAMEBUFFER_UNDEFINED */
   1.766 -/* reuse GL_DEPTH_STENCIL_ATTACHMENT */
   1.767 -/* reuse GL_INDEX */
   1.768 -/* reuse GL_MAX_RENDERBUFFER_SIZE */
   1.769 -/* reuse GL_DEPTH_STENCIL */
   1.770 -/* reuse GL_UNSIGNED_INT_24_8 */
   1.771 -/* reuse GL_DEPTH24_STENCIL8 */
   1.772 -/* reuse GL_TEXTURE_STENCIL_SIZE */
   1.773 -/* reuse GL_TEXTURE_RED_TYPE */
   1.774 -/* reuse GL_TEXTURE_GREEN_TYPE */
   1.775 -/* reuse GL_TEXTURE_BLUE_TYPE */
   1.776 -/* reuse GL_TEXTURE_ALPHA_TYPE */
   1.777 -/* reuse GL_TEXTURE_DEPTH_TYPE */
   1.778 -/* reuse GL_UNSIGNED_NORMALIZED */
   1.779 -/* reuse GL_FRAMEBUFFER_BINDING */
   1.780 -/* reuse GL_DRAW_FRAMEBUFFER_BINDING */
   1.781 -/* reuse GL_RENDERBUFFER_BINDING */
   1.782 -/* reuse GL_READ_FRAMEBUFFER */
   1.783 -/* reuse GL_DRAW_FRAMEBUFFER */
   1.784 -/* reuse GL_READ_FRAMEBUFFER_BINDING */
   1.785 -/* reuse GL_RENDERBUFFER_SAMPLES */
   1.786 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
   1.787 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
   1.788 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
   1.789 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
   1.790 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
   1.791 -/* reuse GL_FRAMEBUFFER_COMPLETE */
   1.792 -/* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
   1.793 -/* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
   1.794 -/* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */
   1.795 -/* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */
   1.796 -/* reuse GL_FRAMEBUFFER_UNSUPPORTED */
   1.797 -/* reuse GL_MAX_COLOR_ATTACHMENTS */
   1.798 -/* reuse GL_COLOR_ATTACHMENT0 */
   1.799 -/* reuse GL_COLOR_ATTACHMENT1 */
   1.800 -/* reuse GL_COLOR_ATTACHMENT2 */
   1.801 -/* reuse GL_COLOR_ATTACHMENT3 */
   1.802 -/* reuse GL_COLOR_ATTACHMENT4 */
   1.803 -/* reuse GL_COLOR_ATTACHMENT5 */
   1.804 -/* reuse GL_COLOR_ATTACHMENT6 */
   1.805 -/* reuse GL_COLOR_ATTACHMENT7 */
   1.806 -/* reuse GL_COLOR_ATTACHMENT8 */
   1.807 -/* reuse GL_COLOR_ATTACHMENT9 */
   1.808 -/* reuse GL_COLOR_ATTACHMENT10 */
   1.809 -/* reuse GL_COLOR_ATTACHMENT11 */
   1.810 -/* reuse GL_COLOR_ATTACHMENT12 */
   1.811 -/* reuse GL_COLOR_ATTACHMENT13 */
   1.812 -/* reuse GL_COLOR_ATTACHMENT14 */
   1.813 -/* reuse GL_COLOR_ATTACHMENT15 */
   1.814 -/* reuse GL_DEPTH_ATTACHMENT */
   1.815 -/* reuse GL_STENCIL_ATTACHMENT */
   1.816 -/* reuse GL_FRAMEBUFFER */
   1.817 -/* reuse GL_RENDERBUFFER */
   1.818 -/* reuse GL_RENDERBUFFER_WIDTH */
   1.819 -/* reuse GL_RENDERBUFFER_HEIGHT */
   1.820 -/* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */
   1.821 -/* reuse GL_STENCIL_INDEX1 */
   1.822 -/* reuse GL_STENCIL_INDEX4 */
   1.823 -/* reuse GL_STENCIL_INDEX8 */
   1.824 -/* reuse GL_STENCIL_INDEX16 */
   1.825 -/* reuse GL_RENDERBUFFER_RED_SIZE */
   1.826 -/* reuse GL_RENDERBUFFER_GREEN_SIZE */
   1.827 -/* reuse GL_RENDERBUFFER_BLUE_SIZE */
   1.828 -/* reuse GL_RENDERBUFFER_ALPHA_SIZE */
   1.829 -/* reuse GL_RENDERBUFFER_DEPTH_SIZE */
   1.830 -/* reuse GL_RENDERBUFFER_STENCIL_SIZE */
   1.831 -/* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
   1.832 -/* reuse GL_MAX_SAMPLES */
   1.833 -/* Reuse tokens from ARB_framebuffer_sRGB */
   1.834 -/* reuse GL_FRAMEBUFFER_SRGB */
   1.835 -/* Reuse tokens from ARB_half_float_vertex */
   1.836 -/* reuse GL_HALF_FLOAT */
   1.837 -/* Reuse tokens from ARB_map_buffer_range */
   1.838 -/* reuse GL_MAP_READ_BIT */
   1.839 -/* reuse GL_MAP_WRITE_BIT */
   1.840 -/* reuse GL_MAP_INVALIDATE_RANGE_BIT */
   1.841 -/* reuse GL_MAP_INVALIDATE_BUFFER_BIT */
   1.842 -/* reuse GL_MAP_FLUSH_EXPLICIT_BIT */
   1.843 -/* reuse GL_MAP_UNSYNCHRONIZED_BIT */
   1.844 -/* Reuse tokens from ARB_texture_compression_rgtc */
   1.845 -/* reuse GL_COMPRESSED_RED_RGTC1 */
   1.846 -/* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */
   1.847 -/* reuse GL_COMPRESSED_RG_RGTC2 */
   1.848 -/* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */
   1.849 -/* Reuse tokens from ARB_texture_rg */
   1.850 -/* reuse GL_RG */
   1.851 -/* reuse GL_RG_INTEGER */
   1.852 -/* reuse GL_R8 */
   1.853 -/* reuse GL_R16 */
   1.854 -/* reuse GL_RG8 */
   1.855 -/* reuse GL_RG16 */
   1.856 -/* reuse GL_R16F */
   1.857 -/* reuse GL_R32F */
   1.858 -/* reuse GL_RG16F */
   1.859 -/* reuse GL_RG32F */
   1.860 -/* reuse GL_R8I */
   1.861 -/* reuse GL_R8UI */
   1.862 -/* reuse GL_R16I */
   1.863 -/* reuse GL_R16UI */
   1.864 -/* reuse GL_R32I */
   1.865 -/* reuse GL_R32UI */
   1.866 -/* reuse GL_RG8I */
   1.867 -/* reuse GL_RG8UI */
   1.868 -/* reuse GL_RG16I */
   1.869 -/* reuse GL_RG16UI */
   1.870 -/* reuse GL_RG32I */
   1.871 -/* reuse GL_RG32UI */
   1.872 -/* Reuse tokens from ARB_vertex_array_object */
   1.873 -/* reuse GL_VERTEX_ARRAY_BINDING */
   1.874 -#endif
   1.875 -
   1.876 -#ifndef GL_VERSION_3_0_DEPRECATED
   1.877 -#define GL_CLAMP_VERTEX_COLOR             0x891A
   1.878 -#define GL_CLAMP_FRAGMENT_COLOR           0x891B
   1.879 -#define GL_ALPHA_INTEGER                  0x8D97
   1.880 -/* Reuse tokens from ARB_framebuffer_object */
   1.881 -/* reuse GL_TEXTURE_LUMINANCE_TYPE */
   1.882 -/* reuse GL_TEXTURE_INTENSITY_TYPE */
   1.883 -#endif
   1.884 -
   1.885 -#ifndef GL_VERSION_3_1
   1.886 -#define GL_SAMPLER_2D_RECT                0x8B63
   1.887 -#define GL_SAMPLER_2D_RECT_SHADOW         0x8B64
   1.888 -#define GL_SAMPLER_BUFFER                 0x8DC2
   1.889 -#define GL_INT_SAMPLER_2D_RECT            0x8DCD
   1.890 -#define GL_INT_SAMPLER_BUFFER             0x8DD0
   1.891 -#define GL_UNSIGNED_INT_SAMPLER_2D_RECT   0x8DD5
   1.892 -#define GL_UNSIGNED_INT_SAMPLER_BUFFER    0x8DD8
   1.893 -#define GL_TEXTURE_BUFFER                 0x8C2A
   1.894 -#define GL_MAX_TEXTURE_BUFFER_SIZE        0x8C2B
   1.895 -#define GL_TEXTURE_BINDING_BUFFER         0x8C2C
   1.896 -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
   1.897 -#define GL_TEXTURE_BUFFER_FORMAT          0x8C2E
   1.898 -#define GL_TEXTURE_RECTANGLE              0x84F5
   1.899 -#define GL_TEXTURE_BINDING_RECTANGLE      0x84F6
   1.900 -#define GL_PROXY_TEXTURE_RECTANGLE        0x84F7
   1.901 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE     0x84F8
   1.902 -#define GL_RED_SNORM                      0x8F90
   1.903 -#define GL_RG_SNORM                       0x8F91
   1.904 -#define GL_RGB_SNORM                      0x8F92
   1.905 -#define GL_RGBA_SNORM                     0x8F93
   1.906 -#define GL_R8_SNORM                       0x8F94
   1.907 -#define GL_RG8_SNORM                      0x8F95
   1.908 -#define GL_RGB8_SNORM                     0x8F96
   1.909 -#define GL_RGBA8_SNORM                    0x8F97
   1.910 -#define GL_R16_SNORM                      0x8F98
   1.911 -#define GL_RG16_SNORM                     0x8F99
   1.912 -#define GL_RGB16_SNORM                    0x8F9A
   1.913 -#define GL_RGBA16_SNORM                   0x8F9B
   1.914 -#define GL_SIGNED_NORMALIZED              0x8F9C
   1.915 -#define GL_PRIMITIVE_RESTART              0x8F9D
   1.916 -#define GL_PRIMITIVE_RESTART_INDEX        0x8F9E
   1.917 -/* Reuse tokens from ARB_copy_buffer */
   1.918 -/* reuse GL_COPY_READ_BUFFER */
   1.919 -/* reuse GL_COPY_WRITE_BUFFER */
   1.920 -/* Reuse tokens from ARB_draw_instanced (none) */
   1.921 -/* Reuse tokens from ARB_uniform_buffer_object */
   1.922 -/* reuse GL_UNIFORM_BUFFER */
   1.923 -/* reuse GL_UNIFORM_BUFFER_BINDING */
   1.924 -/* reuse GL_UNIFORM_BUFFER_START */
   1.925 -/* reuse GL_UNIFORM_BUFFER_SIZE */
   1.926 -/* reuse GL_MAX_VERTEX_UNIFORM_BLOCKS */
   1.927 -/* reuse GL_MAX_FRAGMENT_UNIFORM_BLOCKS */
   1.928 -/* reuse GL_MAX_COMBINED_UNIFORM_BLOCKS */
   1.929 -/* reuse GL_MAX_UNIFORM_BUFFER_BINDINGS */
   1.930 -/* reuse GL_MAX_UNIFORM_BLOCK_SIZE */
   1.931 -/* reuse GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS */
   1.932 -/* reuse GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS */
   1.933 -/* reuse GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT */
   1.934 -/* reuse GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH */
   1.935 -/* reuse GL_ACTIVE_UNIFORM_BLOCKS */
   1.936 -/* reuse GL_UNIFORM_TYPE */
   1.937 -/* reuse GL_UNIFORM_SIZE */
   1.938 -/* reuse GL_UNIFORM_NAME_LENGTH */
   1.939 -/* reuse GL_UNIFORM_BLOCK_INDEX */
   1.940 -/* reuse GL_UNIFORM_OFFSET */
   1.941 -/* reuse GL_UNIFORM_ARRAY_STRIDE */
   1.942 -/* reuse GL_UNIFORM_MATRIX_STRIDE */
   1.943 -/* reuse GL_UNIFORM_IS_ROW_MAJOR */
   1.944 -/* reuse GL_UNIFORM_BLOCK_BINDING */
   1.945 -/* reuse GL_UNIFORM_BLOCK_DATA_SIZE */
   1.946 -/* reuse GL_UNIFORM_BLOCK_NAME_LENGTH */
   1.947 -/* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS */
   1.948 -/* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES */
   1.949 -/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER */
   1.950 -/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER */
   1.951 -/* reuse GL_INVALID_INDEX */
   1.952 -#endif
   1.953 -
   1.954 -#ifndef GL_VERSION_3_2
   1.955 -#define GL_CONTEXT_CORE_PROFILE_BIT       0x00000001
   1.956 -#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
   1.957 -#define GL_LINES_ADJACENCY                0x000A
   1.958 -#define GL_LINE_STRIP_ADJACENCY           0x000B
   1.959 -#define GL_TRIANGLES_ADJACENCY            0x000C
   1.960 -#define GL_TRIANGLE_STRIP_ADJACENCY       0x000D
   1.961 -#define GL_PROGRAM_POINT_SIZE             0x8642
   1.962 -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
   1.963 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
   1.964 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
   1.965 -#define GL_GEOMETRY_SHADER                0x8DD9
   1.966 -#define GL_GEOMETRY_VERTICES_OUT          0x8916
   1.967 -#define GL_GEOMETRY_INPUT_TYPE            0x8917
   1.968 -#define GL_GEOMETRY_OUTPUT_TYPE           0x8918
   1.969 -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
   1.970 -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES   0x8DE0
   1.971 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
   1.972 -#define GL_MAX_VERTEX_OUTPUT_COMPONENTS   0x9122
   1.973 -#define GL_MAX_GEOMETRY_INPUT_COMPONENTS  0x9123
   1.974 -#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
   1.975 -#define GL_MAX_FRAGMENT_INPUT_COMPONENTS  0x9125
   1.976 -#define GL_CONTEXT_PROFILE_MASK           0x9126
   1.977 -/* reuse GL_MAX_VARYING_COMPONENTS */
   1.978 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
   1.979 -/* Reuse tokens from ARB_depth_clamp */
   1.980 -/* reuse GL_DEPTH_CLAMP */
   1.981 -/* Reuse tokens from ARB_draw_elements_base_vertex (none) */
   1.982 -/* Reuse tokens from ARB_fragment_coord_conventions (none) */
   1.983 -/* Reuse tokens from ARB_provoking_vertex */
   1.984 -/* reuse GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION */
   1.985 -/* reuse GL_FIRST_VERTEX_CONVENTION */
   1.986 -/* reuse GL_LAST_VERTEX_CONVENTION */
   1.987 -/* reuse GL_PROVOKING_VERTEX */
   1.988 -/* Reuse tokens from ARB_seamless_cube_map */
   1.989 -/* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
   1.990 -/* Reuse tokens from ARB_sync */
   1.991 -/* reuse GL_MAX_SERVER_WAIT_TIMEOUT */
   1.992 -/* reuse GL_OBJECT_TYPE */
   1.993 -/* reuse GL_SYNC_CONDITION */
   1.994 -/* reuse GL_SYNC_STATUS */
   1.995 -/* reuse GL_SYNC_FLAGS */
   1.996 -/* reuse GL_SYNC_FENCE */
   1.997 -/* reuse GL_SYNC_GPU_COMMANDS_COMPLETE */
   1.998 -/* reuse GL_UNSIGNALED */
   1.999 -/* reuse GL_SIGNALED */
  1.1000 -/* reuse GL_ALREADY_SIGNALED */
  1.1001 -/* reuse GL_TIMEOUT_EXPIRED */
  1.1002 -/* reuse GL_CONDITION_SATISFIED */
  1.1003 -/* reuse GL_WAIT_FAILED */
  1.1004 -/* reuse GL_TIMEOUT_IGNORED */
  1.1005 -/* reuse GL_SYNC_FLUSH_COMMANDS_BIT */
  1.1006 -/* reuse GL_TIMEOUT_IGNORED */
  1.1007 -/* Reuse tokens from ARB_texture_multisample */
  1.1008 -/* reuse GL_SAMPLE_POSITION */
  1.1009 -/* reuse GL_SAMPLE_MASK */
  1.1010 -/* reuse GL_SAMPLE_MASK_VALUE */
  1.1011 -/* reuse GL_MAX_SAMPLE_MASK_WORDS */
  1.1012 -/* reuse GL_TEXTURE_2D_MULTISAMPLE */
  1.1013 -/* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE */
  1.1014 -/* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */
  1.1015 -/* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY */
  1.1016 -/* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE */
  1.1017 -/* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY */
  1.1018 -/* reuse GL_TEXTURE_SAMPLES */
  1.1019 -/* reuse GL_TEXTURE_FIXED_SAMPLE_LOCATIONS */
  1.1020 -/* reuse GL_SAMPLER_2D_MULTISAMPLE */
  1.1021 -/* reuse GL_INT_SAMPLER_2D_MULTISAMPLE */
  1.1022 -/* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE */
  1.1023 -/* reuse GL_SAMPLER_2D_MULTISAMPLE_ARRAY */
  1.1024 -/* reuse GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
  1.1025 -/* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
  1.1026 -/* reuse GL_MAX_COLOR_TEXTURE_SAMPLES */
  1.1027 -/* reuse GL_MAX_DEPTH_TEXTURE_SAMPLES */
  1.1028 -/* reuse GL_MAX_INTEGER_SAMPLES */
  1.1029 -/* Don't need to reuse tokens from ARB_vertex_array_bgra since they're already in 1.2 core */
  1.1030 -#endif
  1.1031 -
  1.1032 -#ifndef GL_VERSION_3_3
  1.1033 -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR    0x88FE
  1.1034 -/* Reuse tokens from ARB_blend_func_extended */
  1.1035 -/* reuse GL_SRC1_COLOR */
  1.1036 -/* reuse GL_ONE_MINUS_SRC1_COLOR */
  1.1037 -/* reuse GL_ONE_MINUS_SRC1_ALPHA */
  1.1038 -/* reuse GL_MAX_DUAL_SOURCE_DRAW_BUFFERS */
  1.1039 -/* Reuse tokens from ARB_explicit_attrib_location (none) */
  1.1040 -/* Reuse tokens from ARB_occlusion_query2 */
  1.1041 -/* reuse GL_ANY_SAMPLES_PASSED */
  1.1042 -/* Reuse tokens from ARB_sampler_objects */
  1.1043 -/* reuse GL_SAMPLER_BINDING */
  1.1044 -/* Reuse tokens from ARB_shader_bit_encoding (none) */
  1.1045 -/* Reuse tokens from ARB_texture_rgb10_a2ui */
  1.1046 -/* reuse GL_RGB10_A2UI */
  1.1047 -/* Reuse tokens from ARB_texture_swizzle */
  1.1048 -/* reuse GL_TEXTURE_SWIZZLE_R */
  1.1049 -/* reuse GL_TEXTURE_SWIZZLE_G */
  1.1050 -/* reuse GL_TEXTURE_SWIZZLE_B */
  1.1051 -/* reuse GL_TEXTURE_SWIZZLE_A */
  1.1052 -/* reuse GL_TEXTURE_SWIZZLE_RGBA */
  1.1053 -/* Reuse tokens from ARB_timer_query */
  1.1054 -/* reuse GL_TIME_ELAPSED */
  1.1055 -/* reuse GL_TIMESTAMP */
  1.1056 -/* Reuse tokens from ARB_vertex_type_2_10_10_10_rev */
  1.1057 -/* reuse GL_INT_2_10_10_10_REV */
  1.1058 -#endif
  1.1059 -
  1.1060 -#ifndef GL_VERSION_4_0
  1.1061 -#define GL_SAMPLE_SHADING                 0x8C36
  1.1062 -#define GL_MIN_SAMPLE_SHADING_VALUE       0x8C37
  1.1063 -#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
  1.1064 -#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
  1.1065 -#define GL_TEXTURE_CUBE_MAP_ARRAY         0x9009
  1.1066 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
  1.1067 -#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY   0x900B
  1.1068 -#define GL_SAMPLER_CUBE_MAP_ARRAY         0x900C
  1.1069 -#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW  0x900D
  1.1070 -#define GL_INT_SAMPLER_CUBE_MAP_ARRAY     0x900E
  1.1071 -#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
  1.1072 -/* Reuse tokens from ARB_texture_query_lod (none) */
  1.1073 -/* Reuse tokens from ARB_draw_buffers_blend (none) */
  1.1074 -/* Reuse tokens from ARB_draw_indirect */
  1.1075 -/* reuse GL_DRAW_INDIRECT_BUFFER */
  1.1076 -/* reuse GL_DRAW_INDIRECT_BUFFER_BINDING */
  1.1077 -/* Reuse tokens from ARB_gpu_shader5 */
  1.1078 -/* reuse GL_GEOMETRY_SHADER_INVOCATIONS */
  1.1079 -/* reuse GL_MAX_GEOMETRY_SHADER_INVOCATIONS */
  1.1080 -/* reuse GL_MIN_FRAGMENT_INTERPOLATION_OFFSET */
  1.1081 -/* reuse GL_MAX_FRAGMENT_INTERPOLATION_OFFSET */
  1.1082 -/* reuse GL_FRAGMENT_INTERPOLATION_OFFSET_BITS */
  1.1083 -/* reuse GL_MAX_VERTEX_STREAMS */
  1.1084 -/* Reuse tokens from ARB_gpu_shader_fp64 */
  1.1085 -/* reuse GL_DOUBLE_VEC2 */
  1.1086 -/* reuse GL_DOUBLE_VEC3 */
  1.1087 -/* reuse GL_DOUBLE_VEC4 */
  1.1088 -/* reuse GL_DOUBLE_MAT2 */
  1.1089 -/* reuse GL_DOUBLE_MAT3 */
  1.1090 -/* reuse GL_DOUBLE_MAT4 */
  1.1091 -/* reuse GL_DOUBLE_MAT2x3 */
  1.1092 -/* reuse GL_DOUBLE_MAT2x4 */
  1.1093 -/* reuse GL_DOUBLE_MAT3x2 */
  1.1094 -/* reuse GL_DOUBLE_MAT3x4 */
  1.1095 -/* reuse GL_DOUBLE_MAT4x2 */
  1.1096 -/* reuse GL_DOUBLE_MAT4x3 */
  1.1097 -/* Reuse tokens from ARB_shader_subroutine */
  1.1098 -/* reuse GL_ACTIVE_SUBROUTINES */
  1.1099 -/* reuse GL_ACTIVE_SUBROUTINE_UNIFORMS */
  1.1100 -/* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS */
  1.1101 -/* reuse GL_ACTIVE_SUBROUTINE_MAX_LENGTH */
  1.1102 -/* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH */
  1.1103 -/* reuse GL_MAX_SUBROUTINES */
  1.1104 -/* reuse GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS */
  1.1105 -/* reuse GL_NUM_COMPATIBLE_SUBROUTINES */
  1.1106 -/* reuse GL_COMPATIBLE_SUBROUTINES */
  1.1107 -/* Reuse tokens from ARB_tessellation_shader */
  1.1108 -/* reuse GL_PATCHES */
  1.1109 -/* reuse GL_PATCH_VERTICES */
  1.1110 -/* reuse GL_PATCH_DEFAULT_INNER_LEVEL */
  1.1111 -/* reuse GL_PATCH_DEFAULT_OUTER_LEVEL */
  1.1112 -/* reuse GL_TESS_CONTROL_OUTPUT_VERTICES */
  1.1113 -/* reuse GL_TESS_GEN_MODE */
  1.1114 -/* reuse GL_TESS_GEN_SPACING */
  1.1115 -/* reuse GL_TESS_GEN_VERTEX_ORDER */
  1.1116 -/* reuse GL_TESS_GEN_POINT_MODE */
  1.1117 -/* reuse GL_ISOLINES */
  1.1118 -/* reuse GL_FRACTIONAL_ODD */
  1.1119 -/* reuse GL_FRACTIONAL_EVEN */
  1.1120 -/* reuse GL_MAX_PATCH_VERTICES */
  1.1121 -/* reuse GL_MAX_TESS_GEN_LEVEL */
  1.1122 -/* reuse GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS */
  1.1123 -/* reuse GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS */
  1.1124 -/* reuse GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS */
  1.1125 -/* reuse GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS */
  1.1126 -/* reuse GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS */
  1.1127 -/* reuse GL_MAX_TESS_PATCH_COMPONENTS */
  1.1128 -/* reuse GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS */
  1.1129 -/* reuse GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS */
  1.1130 -/* reuse GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS */
  1.1131 -/* reuse GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS */
  1.1132 -/* reuse GL_MAX_TESS_CONTROL_INPUT_COMPONENTS */
  1.1133 -/* reuse GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS */
  1.1134 -/* reuse GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS */
  1.1135 -/* reuse GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS */
  1.1136 -/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER */
  1.1137 -/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER */
  1.1138 -/* reuse GL_TESS_EVALUATION_SHADER */
  1.1139 -/* reuse GL_TESS_CONTROL_SHADER */
  1.1140 -/* Reuse tokens from ARB_texture_buffer_object_rgb32 (none) */
  1.1141 -/* Reuse tokens from ARB_transform_feedback2 */
  1.1142 -/* reuse GL_TRANSFORM_FEEDBACK */
  1.1143 -/* reuse GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
  1.1144 -/* reuse GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
  1.1145 -/* reuse GL_TRANSFORM_FEEDBACK_BINDING */
  1.1146 -/* Reuse tokens from ARB_transform_feedback3 */
  1.1147 -/* reuse GL_MAX_TRANSFORM_FEEDBACK_BUFFERS */
  1.1148 -/* reuse GL_MAX_VERTEX_STREAMS */
  1.1149 -#endif
  1.1150 -
  1.1151 -#ifndef GL_VERSION_4_1
  1.1152 -/* Reuse tokens from ARB_ES2_compatibility */
  1.1153 -/* reuse GL_FIXED */
  1.1154 -/* reuse GL_IMPLEMENTATION_COLOR_READ_TYPE */
  1.1155 -/* reuse GL_IMPLEMENTATION_COLOR_READ_FORMAT */
  1.1156 -/* reuse GL_LOW_FLOAT */
  1.1157 -/* reuse GL_MEDIUM_FLOAT */
  1.1158 -/* reuse GL_HIGH_FLOAT */
  1.1159 -/* reuse GL_LOW_INT */
  1.1160 -/* reuse GL_MEDIUM_INT */
  1.1161 -/* reuse GL_HIGH_INT */
  1.1162 -/* reuse GL_SHADER_COMPILER */
  1.1163 -/* reuse GL_NUM_SHADER_BINARY_FORMATS */
  1.1164 -/* reuse GL_MAX_VERTEX_UNIFORM_VECTORS */
  1.1165 -/* reuse GL_MAX_VARYING_VECTORS */
  1.1166 -/* reuse GL_MAX_FRAGMENT_UNIFORM_VECTORS */
  1.1167 -/* Reuse tokens from ARB_get_program_binary */
  1.1168 -/* reuse GL_PROGRAM_BINARY_RETRIEVABLE_HINT */
  1.1169 -/* reuse GL_PROGRAM_BINARY_LENGTH */
  1.1170 -/* reuse GL_NUM_PROGRAM_BINARY_FORMATS */
  1.1171 -/* reuse GL_PROGRAM_BINARY_FORMATS */
  1.1172 -/* Reuse tokens from ARB_separate_shader_objects */
  1.1173 -/* reuse GL_VERTEX_SHADER_BIT */
  1.1174 -/* reuse GL_FRAGMENT_SHADER_BIT */
  1.1175 -/* reuse GL_GEOMETRY_SHADER_BIT */
  1.1176 -/* reuse GL_TESS_CONTROL_SHADER_BIT */
  1.1177 -/* reuse GL_TESS_EVALUATION_SHADER_BIT */
  1.1178 -/* reuse GL_ALL_SHADER_BITS */
  1.1179 -/* reuse GL_PROGRAM_SEPARABLE */
  1.1180 -/* reuse GL_ACTIVE_PROGRAM */
  1.1181 -/* reuse GL_PROGRAM_PIPELINE_BINDING */
  1.1182 -/* Reuse tokens from ARB_shader_precision (none) */
  1.1183 -/* Reuse tokens from ARB_vertex_attrib_64bit - all are in GL 3.0 and 4.0 already */
  1.1184 -/* Reuse tokens from ARB_viewport_array - some are in GL 1.1 and ARB_provoking_vertex already */
  1.1185 -/* reuse GL_MAX_VIEWPORTS */
  1.1186 -/* reuse GL_VIEWPORT_SUBPIXEL_BITS */
  1.1187 -/* reuse GL_VIEWPORT_BOUNDS_RANGE */
  1.1188 -/* reuse GL_LAYER_PROVOKING_VERTEX */
  1.1189 -/* reuse GL_VIEWPORT_INDEX_PROVOKING_VERTEX */
  1.1190 -/* reuse GL_UNDEFINED_VERTEX */
  1.1191 -#endif
  1.1192 -
  1.1193 -#ifndef GL_ARB_multitexture
  1.1194 -#define GL_TEXTURE0_ARB                   0x84C0
  1.1195 -#define GL_TEXTURE1_ARB                   0x84C1
  1.1196 -#define GL_TEXTURE2_ARB                   0x84C2
  1.1197 -#define GL_TEXTURE3_ARB                   0x84C3
  1.1198 -#define GL_TEXTURE4_ARB                   0x84C4
  1.1199 -#define GL_TEXTURE5_ARB                   0x84C5
  1.1200 -#define GL_TEXTURE6_ARB                   0x84C6
  1.1201 -#define GL_TEXTURE7_ARB                   0x84C7
  1.1202 -#define GL_TEXTURE8_ARB                   0x84C8
  1.1203 -#define GL_TEXTURE9_ARB                   0x84C9
  1.1204 -#define GL_TEXTURE10_ARB                  0x84CA
  1.1205 -#define GL_TEXTURE11_ARB                  0x84CB
  1.1206 -#define GL_TEXTURE12_ARB                  0x84CC
  1.1207 -#define GL_TEXTURE13_ARB                  0x84CD
  1.1208 -#define GL_TEXTURE14_ARB                  0x84CE
  1.1209 -#define GL_TEXTURE15_ARB                  0x84CF
  1.1210 -#define GL_TEXTURE16_ARB                  0x84D0
  1.1211 -#define GL_TEXTURE17_ARB                  0x84D1
  1.1212 -#define GL_TEXTURE18_ARB                  0x84D2
  1.1213 -#define GL_TEXTURE19_ARB                  0x84D3
  1.1214 -#define GL_TEXTURE20_ARB                  0x84D4
  1.1215 -#define GL_TEXTURE21_ARB                  0x84D5
  1.1216 -#define GL_TEXTURE22_ARB                  0x84D6
  1.1217 -#define GL_TEXTURE23_ARB                  0x84D7
  1.1218 -#define GL_TEXTURE24_ARB                  0x84D8
  1.1219 -#define GL_TEXTURE25_ARB                  0x84D9
  1.1220 -#define GL_TEXTURE26_ARB                  0x84DA
  1.1221 -#define GL_TEXTURE27_ARB                  0x84DB
  1.1222 -#define GL_TEXTURE28_ARB                  0x84DC
  1.1223 -#define GL_TEXTURE29_ARB                  0x84DD
  1.1224 -#define GL_TEXTURE30_ARB                  0x84DE
  1.1225 -#define GL_TEXTURE31_ARB                  0x84DF
  1.1226 -#define GL_ACTIVE_TEXTURE_ARB             0x84E0
  1.1227 -#define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
  1.1228 -#define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
  1.1229 -#endif
  1.1230 -
  1.1231 -#ifndef GL_ARB_transpose_matrix
  1.1232 -#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
  1.1233 -#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
  1.1234 -#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
  1.1235 -#define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
  1.1236 -#endif
  1.1237 -
  1.1238 -#ifndef GL_ARB_multisample
  1.1239 -#define GL_MULTISAMPLE_ARB                0x809D
  1.1240 -#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
  1.1241 -#define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
  1.1242 -#define GL_SAMPLE_COVERAGE_ARB            0x80A0
  1.1243 -#define GL_SAMPLE_BUFFERS_ARB             0x80A8
  1.1244 -#define GL_SAMPLES_ARB                    0x80A9
  1.1245 -#define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
  1.1246 -#define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
  1.1247 -#define GL_MULTISAMPLE_BIT_ARB            0x20000000
  1.1248 -#endif
  1.1249 -
  1.1250 -#ifndef GL_ARB_texture_env_add
  1.1251 -#endif
  1.1252 -
  1.1253 -#ifndef GL_ARB_texture_cube_map
  1.1254 -#define GL_NORMAL_MAP_ARB                 0x8511
  1.1255 -#define GL_REFLECTION_MAP_ARB             0x8512
  1.1256 -#define GL_TEXTURE_CUBE_MAP_ARB           0x8513
  1.1257 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
  1.1258 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
  1.1259 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
  1.1260 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
  1.1261 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
  1.1262 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
  1.1263 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
  1.1264 -#define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
  1.1265 -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
  1.1266 -#endif
  1.1267 -
  1.1268 -#ifndef GL_ARB_texture_compression
  1.1269 -#define GL_COMPRESSED_ALPHA_ARB           0x84E9
  1.1270 -#define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
  1.1271 -#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
  1.1272 -#define GL_COMPRESSED_INTENSITY_ARB       0x84EC
  1.1273 -#define GL_COMPRESSED_RGB_ARB             0x84ED
  1.1274 -#define GL_COMPRESSED_RGBA_ARB            0x84EE
  1.1275 -#define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
  1.1276 -#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
  1.1277 -#define GL_TEXTURE_COMPRESSED_ARB         0x86A1
  1.1278 -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
  1.1279 -#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
  1.1280 -#endif
  1.1281 -
  1.1282 -#ifndef GL_ARB_texture_border_clamp
  1.1283 -#define GL_CLAMP_TO_BORDER_ARB            0x812D
  1.1284 -#endif
  1.1285 -
  1.1286 -#ifndef GL_ARB_point_parameters
  1.1287 -#define GL_POINT_SIZE_MIN_ARB             0x8126
  1.1288 -#define GL_POINT_SIZE_MAX_ARB             0x8127
  1.1289 -#define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
  1.1290 -#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
  1.1291 -#endif
  1.1292 -
  1.1293 -#ifndef GL_ARB_vertex_blend
  1.1294 -#define GL_MAX_VERTEX_UNITS_ARB           0x86A4
  1.1295 -#define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
  1.1296 -#define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
  1.1297 -#define GL_VERTEX_BLEND_ARB               0x86A7
  1.1298 -#define GL_CURRENT_WEIGHT_ARB             0x86A8
  1.1299 -#define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
  1.1300 -#define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
  1.1301 -#define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
  1.1302 -#define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
  1.1303 -#define GL_WEIGHT_ARRAY_ARB               0x86AD
  1.1304 -#define GL_MODELVIEW0_ARB                 0x1700
  1.1305 -#define GL_MODELVIEW1_ARB                 0x850A
  1.1306 -#define GL_MODELVIEW2_ARB                 0x8722
  1.1307 -#define GL_MODELVIEW3_ARB                 0x8723
  1.1308 -#define GL_MODELVIEW4_ARB                 0x8724
  1.1309 -#define GL_MODELVIEW5_ARB                 0x8725
  1.1310 -#define GL_MODELVIEW6_ARB                 0x8726
  1.1311 -#define GL_MODELVIEW7_ARB                 0x8727
  1.1312 -#define GL_MODELVIEW8_ARB                 0x8728
  1.1313 -#define GL_MODELVIEW9_ARB                 0x8729
  1.1314 -#define GL_MODELVIEW10_ARB                0x872A
  1.1315 -#define GL_MODELVIEW11_ARB                0x872B
  1.1316 -#define GL_MODELVIEW12_ARB                0x872C
  1.1317 -#define GL_MODELVIEW13_ARB                0x872D
  1.1318 -#define GL_MODELVIEW14_ARB                0x872E
  1.1319 -#define GL_MODELVIEW15_ARB                0x872F
  1.1320 -#define GL_MODELVIEW16_ARB                0x8730
  1.1321 -#define GL_MODELVIEW17_ARB                0x8731
  1.1322 -#define GL_MODELVIEW18_ARB                0x8732
  1.1323 -#define GL_MODELVIEW19_ARB                0x8733
  1.1324 -#define GL_MODELVIEW20_ARB                0x8734
  1.1325 -#define GL_MODELVIEW21_ARB                0x8735
  1.1326 -#define GL_MODELVIEW22_ARB                0x8736
  1.1327 -#define GL_MODELVIEW23_ARB                0x8737
  1.1328 -#define GL_MODELVIEW24_ARB                0x8738
  1.1329 -#define GL_MODELVIEW25_ARB                0x8739
  1.1330 -#define GL_MODELVIEW26_ARB                0x873A
  1.1331 -#define GL_MODELVIEW27_ARB                0x873B
  1.1332 -#define GL_MODELVIEW28_ARB                0x873C
  1.1333 -#define GL_MODELVIEW29_ARB                0x873D
  1.1334 -#define GL_MODELVIEW30_ARB                0x873E
  1.1335 -#define GL_MODELVIEW31_ARB                0x873F
  1.1336 -#endif
  1.1337 -
  1.1338 -#ifndef GL_ARB_matrix_palette
  1.1339 -#define GL_MATRIX_PALETTE_ARB             0x8840
  1.1340 -#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
  1.1341 -#define GL_MAX_PALETTE_MATRICES_ARB       0x8842
  1.1342 -#define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
  1.1343 -#define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
  1.1344 -#define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
  1.1345 -#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
  1.1346 -#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
  1.1347 -#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
  1.1348 -#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
  1.1349 -#endif
  1.1350 -
  1.1351 -#ifndef GL_ARB_texture_env_combine
  1.1352 -#define GL_COMBINE_ARB                    0x8570
  1.1353 -#define GL_COMBINE_RGB_ARB                0x8571
  1.1354 -#define GL_COMBINE_ALPHA_ARB              0x8572
  1.1355 -#define GL_SOURCE0_RGB_ARB                0x8580
  1.1356 -#define GL_SOURCE1_RGB_ARB                0x8581
  1.1357 -#define GL_SOURCE2_RGB_ARB                0x8582
  1.1358 -#define GL_SOURCE0_ALPHA_ARB              0x8588
  1.1359 -#define GL_SOURCE1_ALPHA_ARB              0x8589
  1.1360 -#define GL_SOURCE2_ALPHA_ARB              0x858A
  1.1361 -#define GL_OPERAND0_RGB_ARB               0x8590
  1.1362 -#define GL_OPERAND1_RGB_ARB               0x8591
  1.1363 -#define GL_OPERAND2_RGB_ARB               0x8592
  1.1364 -#define GL_OPERAND0_ALPHA_ARB             0x8598
  1.1365 -#define GL_OPERAND1_ALPHA_ARB             0x8599
  1.1366 -#define GL_OPERAND2_ALPHA_ARB             0x859A
  1.1367 -#define GL_RGB_SCALE_ARB                  0x8573
  1.1368 -#define GL_ADD_SIGNED_ARB                 0x8574
  1.1369 -#define GL_INTERPOLATE_ARB                0x8575
  1.1370 -#define GL_SUBTRACT_ARB                   0x84E7
  1.1371 -#define GL_CONSTANT_ARB                   0x8576
  1.1372 -#define GL_PRIMARY_COLOR_ARB              0x8577
  1.1373 -#define GL_PREVIOUS_ARB                   0x8578
  1.1374 -#endif
  1.1375 -
  1.1376 -#ifndef GL_ARB_texture_env_crossbar
  1.1377 -#endif
  1.1378 -
  1.1379 -#ifndef GL_ARB_texture_env_dot3
  1.1380 -#define GL_DOT3_RGB_ARB                   0x86AE
  1.1381 -#define GL_DOT3_RGBA_ARB                  0x86AF
  1.1382 -#endif
  1.1383 -
  1.1384 -#ifndef GL_ARB_texture_mirrored_repeat
  1.1385 -#define GL_MIRRORED_REPEAT_ARB            0x8370
  1.1386 -#endif
  1.1387 -
  1.1388 -#ifndef GL_ARB_depth_texture
  1.1389 -#define GL_DEPTH_COMPONENT16_ARB          0x81A5
  1.1390 -#define GL_DEPTH_COMPONENT24_ARB          0x81A6
  1.1391 -#define GL_DEPTH_COMPONENT32_ARB          0x81A7
  1.1392 -#define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
  1.1393 -#define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
  1.1394 -#endif
  1.1395 -
  1.1396 -#ifndef GL_ARB_shadow
  1.1397 -#define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
  1.1398 -#define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
  1.1399 -#define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
  1.1400 -#endif
  1.1401 -
  1.1402 -#ifndef GL_ARB_shadow_ambient
  1.1403 -#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
  1.1404 -#endif
  1.1405 -
  1.1406 -#ifndef GL_ARB_window_pos
  1.1407 -#endif
  1.1408 -
  1.1409 -#ifndef GL_ARB_vertex_program
  1.1410 -#define GL_COLOR_SUM_ARB                  0x8458
  1.1411 -#define GL_VERTEX_PROGRAM_ARB             0x8620
  1.1412 -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
  1.1413 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
  1.1414 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
  1.1415 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
  1.1416 -#define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
  1.1417 -#define GL_PROGRAM_LENGTH_ARB             0x8627
  1.1418 -#define GL_PROGRAM_STRING_ARB             0x8628
  1.1419 -#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
  1.1420 -#define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
  1.1421 -#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
  1.1422 -#define GL_CURRENT_MATRIX_ARB             0x8641
  1.1423 -#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
  1.1424 -#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
  1.1425 -#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
  1.1426 -#define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
  1.1427 -#define GL_PROGRAM_BINDING_ARB            0x8677
  1.1428 -#define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
  1.1429 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
  1.1430 -#define GL_PROGRAM_ERROR_STRING_ARB       0x8874
  1.1431 -#define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875
  1.1432 -#define GL_PROGRAM_FORMAT_ARB             0x8876
  1.1433 -#define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
  1.1434 -#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
  1.1435 -#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
  1.1436 -#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
  1.1437 -#define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
  1.1438 -#define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
  1.1439 -#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
  1.1440 -#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
  1.1441 -#define GL_PROGRAM_PARAMETERS_ARB         0x88A8
  1.1442 -#define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
  1.1443 -#define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
  1.1444 -#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
  1.1445 -#define GL_PROGRAM_ATTRIBS_ARB            0x88AC
  1.1446 -#define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
  1.1447 -#define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
  1.1448 -#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
  1.1449 -#define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
  1.1450 -#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
  1.1451 -#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
  1.1452 -#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
  1.1453 -#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
  1.1454 -#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
  1.1455 -#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
  1.1456 -#define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7
  1.1457 -#define GL_MATRIX0_ARB                    0x88C0
  1.1458 -#define GL_MATRIX1_ARB                    0x88C1
  1.1459 -#define GL_MATRIX2_ARB                    0x88C2
  1.1460 -#define GL_MATRIX3_ARB                    0x88C3
  1.1461 -#define GL_MATRIX4_ARB                    0x88C4
  1.1462 -#define GL_MATRIX5_ARB                    0x88C5
  1.1463 -#define GL_MATRIX6_ARB                    0x88C6
  1.1464 -#define GL_MATRIX7_ARB                    0x88C7
  1.1465 -#define GL_MATRIX8_ARB                    0x88C8
  1.1466 -#define GL_MATRIX9_ARB                    0x88C9
  1.1467 -#define GL_MATRIX10_ARB                   0x88CA
  1.1468 -#define GL_MATRIX11_ARB                   0x88CB
  1.1469 -#define GL_MATRIX12_ARB                   0x88CC
  1.1470 -#define GL_MATRIX13_ARB                   0x88CD
  1.1471 -#define GL_MATRIX14_ARB                   0x88CE
  1.1472 -#define GL_MATRIX15_ARB                   0x88CF
  1.1473 -#define GL_MATRIX16_ARB                   0x88D0
  1.1474 -#define GL_MATRIX17_ARB                   0x88D1
  1.1475 -#define GL_MATRIX18_ARB                   0x88D2
  1.1476 -#define GL_MATRIX19_ARB                   0x88D3
  1.1477 -#define GL_MATRIX20_ARB                   0x88D4
  1.1478 -#define GL_MATRIX21_ARB                   0x88D5
  1.1479 -#define GL_MATRIX22_ARB                   0x88D6
  1.1480 -#define GL_MATRIX23_ARB                   0x88D7
  1.1481 -#define GL_MATRIX24_ARB                   0x88D8
  1.1482 -#define GL_MATRIX25_ARB                   0x88D9
  1.1483 -#define GL_MATRIX26_ARB                   0x88DA
  1.1484 -#define GL_MATRIX27_ARB                   0x88DB
  1.1485 -#define GL_MATRIX28_ARB                   0x88DC
  1.1486 -#define GL_MATRIX29_ARB                   0x88DD
  1.1487 -#define GL_MATRIX30_ARB                   0x88DE
  1.1488 -#define GL_MATRIX31_ARB                   0x88DF
  1.1489 -#endif
  1.1490 -
  1.1491 -#ifndef GL_ARB_fragment_program
  1.1492 -#define GL_FRAGMENT_PROGRAM_ARB           0x8804
  1.1493 -#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
  1.1494 -#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
  1.1495 -#define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
  1.1496 -#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
  1.1497 -#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
  1.1498 -#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
  1.1499 -#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
  1.1500 -#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
  1.1501 -#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
  1.1502 -#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
  1.1503 -#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
  1.1504 -#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
  1.1505 -#define GL_MAX_TEXTURE_COORDS_ARB         0x8871
  1.1506 -#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
  1.1507 -#endif
  1.1508 -
  1.1509 -#ifndef GL_ARB_vertex_buffer_object
  1.1510 -#define GL_BUFFER_SIZE_ARB                0x8764
  1.1511 -#define GL_BUFFER_USAGE_ARB               0x8765
  1.1512 -#define GL_ARRAY_BUFFER_ARB               0x8892
  1.1513 -#define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
  1.1514 -#define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
  1.1515 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
  1.1516 -#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
  1.1517 -#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
  1.1518 -#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
  1.1519 -#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
  1.1520 -#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
  1.1521 -#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
  1.1522 -#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
  1.1523 -#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
  1.1524 -#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
  1.1525 -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
  1.1526 -#define GL_READ_ONLY_ARB                  0x88B8
  1.1527 -#define GL_WRITE_ONLY_ARB                 0x88B9
  1.1528 -#define GL_READ_WRITE_ARB                 0x88BA
  1.1529 -#define GL_BUFFER_ACCESS_ARB              0x88BB
  1.1530 -#define GL_BUFFER_MAPPED_ARB              0x88BC
  1.1531 -#define GL_BUFFER_MAP_POINTER_ARB         0x88BD
  1.1532 -#define GL_STREAM_DRAW_ARB                0x88E0
  1.1533 -#define GL_STREAM_READ_ARB                0x88E1
  1.1534 -#define GL_STREAM_COPY_ARB                0x88E2
  1.1535 -#define GL_STATIC_DRAW_ARB                0x88E4
  1.1536 -#define GL_STATIC_READ_ARB                0x88E5
  1.1537 -#define GL_STATIC_COPY_ARB                0x88E6
  1.1538 -#define GL_DYNAMIC_DRAW_ARB               0x88E8
  1.1539 -#define GL_DYNAMIC_READ_ARB               0x88E9
  1.1540 -#define GL_DYNAMIC_COPY_ARB               0x88EA
  1.1541 -#endif
  1.1542 -
  1.1543 -#ifndef GL_ARB_occlusion_query
  1.1544 -#define GL_QUERY_COUNTER_BITS_ARB         0x8864
  1.1545 -#define GL_CURRENT_QUERY_ARB              0x8865
  1.1546 -#define GL_QUERY_RESULT_ARB               0x8866
  1.1547 -#define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
  1.1548 -#define GL_SAMPLES_PASSED_ARB             0x8914
  1.1549 -#endif
  1.1550 -
  1.1551 -#ifndef GL_ARB_shader_objects
  1.1552 -#define GL_PROGRAM_OBJECT_ARB             0x8B40
  1.1553 -#define GL_SHADER_OBJECT_ARB              0x8B48
  1.1554 -#define GL_OBJECT_TYPE_ARB                0x8B4E
  1.1555 -#define GL_OBJECT_SUBTYPE_ARB             0x8B4F
  1.1556 -#define GL_FLOAT_VEC2_ARB                 0x8B50
  1.1557 -#define GL_FLOAT_VEC3_ARB                 0x8B51
  1.1558 -#define GL_FLOAT_VEC4_ARB                 0x8B52
  1.1559 -#define GL_INT_VEC2_ARB                   0x8B53
  1.1560 -#define GL_INT_VEC3_ARB                   0x8B54
  1.1561 -#define GL_INT_VEC4_ARB                   0x8B55
  1.1562 -#define GL_BOOL_ARB                       0x8B56
  1.1563 -#define GL_BOOL_VEC2_ARB                  0x8B57
  1.1564 -#define GL_BOOL_VEC3_ARB                  0x8B58
  1.1565 -#define GL_BOOL_VEC4_ARB                  0x8B59
  1.1566 -#define GL_FLOAT_MAT2_ARB                 0x8B5A
  1.1567 -#define GL_FLOAT_MAT3_ARB                 0x8B5B
  1.1568 -#define GL_FLOAT_MAT4_ARB                 0x8B5C
  1.1569 -#define GL_SAMPLER_1D_ARB                 0x8B5D
  1.1570 -#define GL_SAMPLER_2D_ARB                 0x8B5E
  1.1571 -#define GL_SAMPLER_3D_ARB                 0x8B5F
  1.1572 -#define GL_SAMPLER_CUBE_ARB               0x8B60
  1.1573 -#define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
  1.1574 -#define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
  1.1575 -#define GL_SAMPLER_2D_RECT_ARB            0x8B63
  1.1576 -#define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
  1.1577 -#define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
  1.1578 -#define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
  1.1579 -#define GL_OBJECT_LINK_STATUS_ARB         0x8B82
  1.1580 -#define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
  1.1581 -#define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
  1.1582 -#define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
  1.1583 -#define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
  1.1584 -#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
  1.1585 -#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
  1.1586 -#endif
  1.1587 -
  1.1588 -#ifndef GL_ARB_vertex_shader
  1.1589 -#define GL_VERTEX_SHADER_ARB              0x8B31
  1.1590 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
  1.1591 -#define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
  1.1592 -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
  1.1593 -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
  1.1594 -#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
  1.1595 -#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
  1.1596 -#endif
  1.1597 -
  1.1598 -#ifndef GL_ARB_fragment_shader
  1.1599 -#define GL_FRAGMENT_SHADER_ARB            0x8B30
  1.1600 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
  1.1601 -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
  1.1602 -#endif
  1.1603 -
  1.1604 -#ifndef GL_ARB_shading_language_100
  1.1605 -#define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
  1.1606 -#endif
  1.1607 -
  1.1608 -#ifndef GL_ARB_texture_non_power_of_two
  1.1609 -#endif
  1.1610 -
  1.1611 -#ifndef GL_ARB_point_sprite
  1.1612 -#define GL_POINT_SPRITE_ARB               0x8861
  1.1613 -#define GL_COORD_REPLACE_ARB              0x8862
  1.1614 -#endif
  1.1615 -
  1.1616 -#ifndef GL_ARB_fragment_program_shadow
  1.1617 -#endif
  1.1618 -
  1.1619 -#ifndef GL_ARB_draw_buffers
  1.1620 -#define GL_MAX_DRAW_BUFFERS_ARB           0x8824
  1.1621 -#define GL_DRAW_BUFFER0_ARB               0x8825
  1.1622 -#define GL_DRAW_BUFFER1_ARB               0x8826
  1.1623 -#define GL_DRAW_BUFFER2_ARB               0x8827
  1.1624 -#define GL_DRAW_BUFFER3_ARB               0x8828
  1.1625 -#define GL_DRAW_BUFFER4_ARB               0x8829
  1.1626 -#define GL_DRAW_BUFFER5_ARB               0x882A
  1.1627 -#define GL_DRAW_BUFFER6_ARB               0x882B
  1.1628 -#define GL_DRAW_BUFFER7_ARB               0x882C
  1.1629 -#define GL_DRAW_BUFFER8_ARB               0x882D
  1.1630 -#define GL_DRAW_BUFFER9_ARB               0x882E
  1.1631 -#define GL_DRAW_BUFFER10_ARB              0x882F
  1.1632 -#define GL_DRAW_BUFFER11_ARB              0x8830
  1.1633 -#define GL_DRAW_BUFFER12_ARB              0x8831
  1.1634 -#define GL_DRAW_BUFFER13_ARB              0x8832
  1.1635 -#define GL_DRAW_BUFFER14_ARB              0x8833
  1.1636 -#define GL_DRAW_BUFFER15_ARB              0x8834
  1.1637 -#endif
  1.1638 -
  1.1639 -#ifndef GL_ARB_texture_rectangle
  1.1640 -#define GL_TEXTURE_RECTANGLE_ARB          0x84F5
  1.1641 -#define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
  1.1642 -#define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
  1.1643 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
  1.1644 -#endif
  1.1645 -
  1.1646 -#ifndef GL_ARB_color_buffer_float
  1.1647 -#define GL_RGBA_FLOAT_MODE_ARB            0x8820
  1.1648 -#define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
  1.1649 -#define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
  1.1650 -#define GL_CLAMP_READ_COLOR_ARB           0x891C
  1.1651 -#define GL_FIXED_ONLY_ARB                 0x891D
  1.1652 -#endif
  1.1653 -
  1.1654 -#ifndef GL_ARB_half_float_pixel
  1.1655 -#define GL_HALF_FLOAT_ARB                 0x140B
  1.1656 -#endif
  1.1657 -
  1.1658 -#ifndef GL_ARB_texture_float
  1.1659 -#define GL_TEXTURE_RED_TYPE_ARB           0x8C10
  1.1660 -#define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
  1.1661 -#define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
  1.1662 -#define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
  1.1663 -#define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
  1.1664 -#define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
  1.1665 -#define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
  1.1666 -#define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
  1.1667 -#define GL_RGBA32F_ARB                    0x8814
  1.1668 -#define GL_RGB32F_ARB                     0x8815
  1.1669 -#define GL_ALPHA32F_ARB                   0x8816
  1.1670 -#define GL_INTENSITY32F_ARB               0x8817
  1.1671 -#define GL_LUMINANCE32F_ARB               0x8818
  1.1672 -#define GL_LUMINANCE_ALPHA32F_ARB         0x8819
  1.1673 -#define GL_RGBA16F_ARB                    0x881A
  1.1674 -#define GL_RGB16F_ARB                     0x881B
  1.1675 -#define GL_ALPHA16F_ARB                   0x881C
  1.1676 -#define GL_INTENSITY16F_ARB               0x881D
  1.1677 -#define GL_LUMINANCE16F_ARB               0x881E
  1.1678 -#define GL_LUMINANCE_ALPHA16F_ARB         0x881F
  1.1679 -#endif
  1.1680 -
  1.1681 -#ifndef GL_ARB_pixel_buffer_object
  1.1682 -#define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
  1.1683 -#define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
  1.1684 -#define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
  1.1685 -#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
  1.1686 -#endif
  1.1687 -
  1.1688 -#ifndef GL_ARB_depth_buffer_float
  1.1689  #define GL_DEPTH_COMPONENT32F             0x8CAC
  1.1690  #define GL_DEPTH32F_STENCIL8              0x8CAD
  1.1691  #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
  1.1692 -#endif
  1.1693 -
  1.1694 -#ifndef GL_ARB_draw_instanced
  1.1695 -#endif
  1.1696 -
  1.1697 -#ifndef GL_ARB_framebuffer_object
  1.1698  #define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
  1.1699  #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
  1.1700  #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
  1.1701 @@ -1576,7 +1007,7 @@
  1.1702  #define GL_TEXTURE_DEPTH_TYPE             0x8C16
  1.1703  #define GL_UNSIGNED_NORMALIZED            0x8C17
  1.1704  #define GL_FRAMEBUFFER_BINDING            0x8CA6
  1.1705 -#define GL_DRAW_FRAMEBUFFER_BINDING       GL_FRAMEBUFFER_BINDING
  1.1706 +#define GL_DRAW_FRAMEBUFFER_BINDING       0x8CA6
  1.1707  #define GL_RENDERBUFFER_BINDING           0x8CA7
  1.1708  #define GL_READ_FRAMEBUFFER               0x8CA8
  1.1709  #define GL_DRAW_FRAMEBUFFER               0x8CA9
  1.1710 @@ -1629,74 +1060,21 @@
  1.1711  #define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
  1.1712  #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
  1.1713  #define GL_MAX_SAMPLES                    0x8D57
  1.1714 -#endif
  1.1715 -
  1.1716 -#ifndef GL_ARB_framebuffer_object_DEPRECATED
  1.1717  #define GL_INDEX                          0x8222
  1.1718  #define GL_TEXTURE_LUMINANCE_TYPE         0x8C14
  1.1719  #define GL_TEXTURE_INTENSITY_TYPE         0x8C15
  1.1720 -#endif
  1.1721 -
  1.1722 -#ifndef GL_ARB_framebuffer_sRGB
  1.1723  #define GL_FRAMEBUFFER_SRGB               0x8DB9
  1.1724 -#endif
  1.1725 -
  1.1726 -#ifndef GL_ARB_geometry_shader4
  1.1727 -#define GL_LINES_ADJACENCY_ARB            0x000A
  1.1728 -#define GL_LINE_STRIP_ADJACENCY_ARB       0x000B
  1.1729 -#define GL_TRIANGLES_ADJACENCY_ARB        0x000C
  1.1730 -#define GL_TRIANGLE_STRIP_ADJACENCY_ARB   0x000D
  1.1731 -#define GL_PROGRAM_POINT_SIZE_ARB         0x8642
  1.1732 -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
  1.1733 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
  1.1734 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
  1.1735 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
  1.1736 -#define GL_GEOMETRY_SHADER_ARB            0x8DD9
  1.1737 -#define GL_GEOMETRY_VERTICES_OUT_ARB      0x8DDA
  1.1738 -#define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
  1.1739 -#define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
  1.1740 -#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
  1.1741 -#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
  1.1742 -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
  1.1743 -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
  1.1744 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
  1.1745 -/* reuse GL_MAX_VARYING_COMPONENTS */
  1.1746 -/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
  1.1747 -#endif
  1.1748 -
  1.1749 -#ifndef GL_ARB_half_float_vertex
  1.1750  #define GL_HALF_FLOAT                     0x140B
  1.1751 -#endif
  1.1752 -
  1.1753 -#ifndef GL_ARB_instanced_arrays
  1.1754 -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
  1.1755 -#endif
  1.1756 -
  1.1757 -#ifndef GL_ARB_map_buffer_range
  1.1758  #define GL_MAP_READ_BIT                   0x0001
  1.1759  #define GL_MAP_WRITE_BIT                  0x0002
  1.1760  #define GL_MAP_INVALIDATE_RANGE_BIT       0x0004
  1.1761  #define GL_MAP_INVALIDATE_BUFFER_BIT      0x0008
  1.1762  #define GL_MAP_FLUSH_EXPLICIT_BIT         0x0010
  1.1763  #define GL_MAP_UNSYNCHRONIZED_BIT         0x0020
  1.1764 -#endif
  1.1765 -
  1.1766 -#ifndef GL_ARB_texture_buffer_object
  1.1767 -#define GL_TEXTURE_BUFFER_ARB             0x8C2A
  1.1768 -#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB    0x8C2B
  1.1769 -#define GL_TEXTURE_BINDING_BUFFER_ARB     0x8C2C
  1.1770 -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
  1.1771 -#define GL_TEXTURE_BUFFER_FORMAT_ARB      0x8C2E
  1.1772 -#endif
  1.1773 -
  1.1774 -#ifndef GL_ARB_texture_compression_rgtc
  1.1775  #define GL_COMPRESSED_RED_RGTC1           0x8DBB
  1.1776  #define GL_COMPRESSED_SIGNED_RED_RGTC1    0x8DBC
  1.1777  #define GL_COMPRESSED_RG_RGTC2            0x8DBD
  1.1778  #define GL_COMPRESSED_SIGNED_RG_RGTC2     0x8DBE
  1.1779 -#endif
  1.1780 -
  1.1781 -#ifndef GL_ARB_texture_rg
  1.1782  #define GL_RG                             0x8227
  1.1783  #define GL_RG_INTEGER                     0x8228
  1.1784  #define GL_R8                             0x8229
  1.1785 @@ -1719,25 +1097,222 @@
  1.1786  #define GL_RG16UI                         0x823A
  1.1787  #define GL_RG32I                          0x823B
  1.1788  #define GL_RG32UI                         0x823C
  1.1789 -#endif
  1.1790 -
  1.1791 -#ifndef GL_ARB_vertex_array_object
  1.1792  #define GL_VERTEX_ARRAY_BINDING           0x85B5
  1.1793 -#endif
  1.1794 -
  1.1795 -#ifndef GL_ARB_uniform_buffer_object
  1.1796 +#define GL_CLAMP_VERTEX_COLOR             0x891A
  1.1797 +#define GL_CLAMP_FRAGMENT_COLOR           0x891B
  1.1798 +#define GL_ALPHA_INTEGER                  0x8D97
  1.1799 +typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1.1800 +typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
  1.1801 +typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
  1.1802 +typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
  1.1803 +typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
  1.1804 +typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
  1.1805 +typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
  1.1806 +typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
  1.1807 +typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1.1808 +typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
  1.1809 +typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  1.1810 +typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  1.1811 +typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
  1.1812 +typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
  1.1813 +typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
  1.1814 +typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1.1815 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
  1.1816 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
  1.1817 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
  1.1818 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
  1.1819 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
  1.1820 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  1.1821 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
  1.1822 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
  1.1823 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  1.1824 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1.1825 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
  1.1826 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
  1.1827 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
  1.1828 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
  1.1829 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
  1.1830 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
  1.1831 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
  1.1832 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
  1.1833 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
  1.1834 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
  1.1835 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
  1.1836 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
  1.1837 +typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
  1.1838 +typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
  1.1839 +typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
  1.1840 +typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
  1.1841 +typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
  1.1842 +typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  1.1843 +typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1.1844 +typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1.1845 +typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1.1846 +typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1.1847 +typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1.1848 +typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
  1.1849 +typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
  1.1850 +typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
  1.1851 +typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
  1.1852 +typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
  1.1853 +typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
  1.1854 +typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  1.1855 +typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  1.1856 +typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
  1.1857 +typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
  1.1858 +typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
  1.1859 +typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
  1.1860 +typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
  1.1861 +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  1.1862 +typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1.1863 +typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
  1.1864 +typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
  1.1865 +typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
  1.1866 +typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
  1.1867 +typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
  1.1868 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1.1869 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1.1870 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  1.1871 +typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  1.1872 +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  1.1873 +typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
  1.1874 +typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  1.1875 +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1.1876 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1.1877 +typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1.1878 +typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
  1.1879 +typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
  1.1880 +typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
  1.1881 +typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
  1.1882 +typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
  1.1883 +#ifdef GL_GLEXT_PROTOTYPES
  1.1884 +GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1.1885 +GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
  1.1886 +GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
  1.1887 +GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
  1.1888 +GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
  1.1889 +GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
  1.1890 +GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
  1.1891 +GLAPI void APIENTRY glEndTransformFeedback (void);
  1.1892 +GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1.1893 +GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
  1.1894 +GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  1.1895 +GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  1.1896 +GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
  1.1897 +GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
  1.1898 +GLAPI void APIENTRY glEndConditionalRender (void);
  1.1899 +GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1.1900 +GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
  1.1901 +GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
  1.1902 +GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
  1.1903 +GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
  1.1904 +GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
  1.1905 +GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
  1.1906 +GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
  1.1907 +GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
  1.1908 +GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
  1.1909 +GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1.1910 +GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
  1.1911 +GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
  1.1912 +GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
  1.1913 +GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
  1.1914 +GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
  1.1915 +GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
  1.1916 +GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
  1.1917 +GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
  1.1918 +GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
  1.1919 +GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
  1.1920 +GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
  1.1921 +GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
  1.1922 +GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
  1.1923 +GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
  1.1924 +GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
  1.1925 +GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
  1.1926 +GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
  1.1927 +GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
  1.1928 +GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1.1929 +GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
  1.1930 +GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
  1.1931 +GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
  1.1932 +GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
  1.1933 +GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
  1.1934 +GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
  1.1935 +GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
  1.1936 +GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
  1.1937 +GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
  1.1938 +GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
  1.1939 +GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  1.1940 +GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  1.1941 +GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
  1.1942 +GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
  1.1943 +GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
  1.1944 +GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
  1.1945 +GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
  1.1946 +GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  1.1947 +GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
  1.1948 +GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
  1.1949 +GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
  1.1950 +GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
  1.1951 +GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
  1.1952 +GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
  1.1953 +GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1.1954 +GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1.1955 +GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  1.1956 +GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  1.1957 +GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  1.1958 +GLAPI void APIENTRY glGenerateMipmap (GLenum target);
  1.1959 +GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  1.1960 +GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1.1961 +GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1.1962 +GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1.1963 +GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
  1.1964 +GLAPI void APIENTRY glBindVertexArray (GLuint array);
  1.1965 +GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
  1.1966 +GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
  1.1967 +GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
  1.1968 +#endif
  1.1969 +#endif /* GL_VERSION_3_0 */
  1.1970 +
  1.1971 +#ifndef GL_VERSION_3_1
  1.1972 +#define GL_VERSION_3_1 1
  1.1973 +#define GL_SAMPLER_2D_RECT                0x8B63
  1.1974 +#define GL_SAMPLER_2D_RECT_SHADOW         0x8B64
  1.1975 +#define GL_SAMPLER_BUFFER                 0x8DC2
  1.1976 +#define GL_INT_SAMPLER_2D_RECT            0x8DCD
  1.1977 +#define GL_INT_SAMPLER_BUFFER             0x8DD0
  1.1978 +#define GL_UNSIGNED_INT_SAMPLER_2D_RECT   0x8DD5
  1.1979 +#define GL_UNSIGNED_INT_SAMPLER_BUFFER    0x8DD8
  1.1980 +#define GL_TEXTURE_BUFFER                 0x8C2A
  1.1981 +#define GL_MAX_TEXTURE_BUFFER_SIZE        0x8C2B
  1.1982 +#define GL_TEXTURE_BINDING_BUFFER         0x8C2C
  1.1983 +#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
  1.1984 +#define GL_TEXTURE_RECTANGLE              0x84F5
  1.1985 +#define GL_TEXTURE_BINDING_RECTANGLE      0x84F6
  1.1986 +#define GL_PROXY_TEXTURE_RECTANGLE        0x84F7
  1.1987 +#define GL_MAX_RECTANGLE_TEXTURE_SIZE     0x84F8
  1.1988 +#define GL_R8_SNORM                       0x8F94
  1.1989 +#define GL_RG8_SNORM                      0x8F95
  1.1990 +#define GL_RGB8_SNORM                     0x8F96
  1.1991 +#define GL_RGBA8_SNORM                    0x8F97
  1.1992 +#define GL_R16_SNORM                      0x8F98
  1.1993 +#define GL_RG16_SNORM                     0x8F99
  1.1994 +#define GL_RGB16_SNORM                    0x8F9A
  1.1995 +#define GL_RGBA16_SNORM                   0x8F9B
  1.1996 +#define GL_SIGNED_NORMALIZED              0x8F9C
  1.1997 +#define GL_PRIMITIVE_RESTART              0x8F9D
  1.1998 +#define GL_PRIMITIVE_RESTART_INDEX        0x8F9E
  1.1999 +#define GL_COPY_READ_BUFFER               0x8F36
  1.2000 +#define GL_COPY_WRITE_BUFFER              0x8F37
  1.2001  #define GL_UNIFORM_BUFFER                 0x8A11
  1.2002  #define GL_UNIFORM_BUFFER_BINDING         0x8A28
  1.2003  #define GL_UNIFORM_BUFFER_START           0x8A29
  1.2004  #define GL_UNIFORM_BUFFER_SIZE            0x8A2A
  1.2005  #define GL_MAX_VERTEX_UNIFORM_BLOCKS      0x8A2B
  1.2006 -#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS    0x8A2C
  1.2007  #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS    0x8A2D
  1.2008  #define GL_MAX_COMBINED_UNIFORM_BLOCKS    0x8A2E
  1.2009  #define GL_MAX_UNIFORM_BUFFER_BINDINGS    0x8A2F
  1.2010  #define GL_MAX_UNIFORM_BLOCK_SIZE         0x8A30
  1.2011  #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
  1.2012 -#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
  1.2013  #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
  1.2014  #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
  1.2015  #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
  1.2016 @@ -1756,45 +1331,106 @@
  1.2017  #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS  0x8A42
  1.2018  #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
  1.2019  #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
  1.2020 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
  1.2021  #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
  1.2022  #define GL_INVALID_INDEX                  0xFFFFFFFFu
  1.2023 -#endif
  1.2024 -
  1.2025 -#ifndef GL_ARB_compatibility
  1.2026 -/* ARB_compatibility just defines tokens from core 3.0 */
  1.2027 -#endif
  1.2028 -
  1.2029 -#ifndef GL_ARB_copy_buffer
  1.2030 -#define GL_COPY_READ_BUFFER               0x8F36
  1.2031 -#define GL_COPY_WRITE_BUFFER              0x8F37
  1.2032 -#endif
  1.2033 -
  1.2034 -#ifndef GL_ARB_shader_texture_lod
  1.2035 -#endif
  1.2036 -
  1.2037 -#ifndef GL_ARB_depth_clamp
  1.2038 +typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
  1.2039 +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
  1.2040 +typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  1.2041 +typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
  1.2042 +typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  1.2043 +typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
  1.2044 +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  1.2045 +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  1.2046 +typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
  1.2047 +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  1.2048 +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  1.2049 +typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  1.2050 +#ifdef GL_GLEXT_PROTOTYPES
  1.2051 +GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
  1.2052 +GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
  1.2053 +GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
  1.2054 +GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
  1.2055 +GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  1.2056 +GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
  1.2057 +GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  1.2058 +GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  1.2059 +GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
  1.2060 +GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  1.2061 +GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  1.2062 +GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  1.2063 +#endif
  1.2064 +#endif /* GL_VERSION_3_1 */
  1.2065 +
  1.2066 +#ifndef GL_VERSION_3_2
  1.2067 +#define GL_VERSION_3_2 1
  1.2068 +typedef struct __GLsync *GLsync;
  1.2069 +#ifndef GLEXT_64_TYPES_DEFINED
  1.2070 +/* This code block is duplicated in glxext.h, so must be protected */
  1.2071 +#define GLEXT_64_TYPES_DEFINED
  1.2072 +/* Define int32_t, int64_t, and uint64_t types for UST/MSC */
  1.2073 +/* (as used in the GL_EXT_timer_query extension). */
  1.2074 +#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  1.2075 +#include <inttypes.h>
  1.2076 +#elif defined(__sun__) || defined(__digital__)
  1.2077 +#include <inttypes.h>
  1.2078 +#if defined(__STDC__)
  1.2079 +#if defined(__arch64__) || defined(_LP64)
  1.2080 +typedef long int int64_t;
  1.2081 +typedef unsigned long int uint64_t;
  1.2082 +#else
  1.2083 +typedef long long int int64_t;
  1.2084 +typedef unsigned long long int uint64_t;
  1.2085 +#endif /* __arch64__ */
  1.2086 +#endif /* __STDC__ */
  1.2087 +#elif defined( __VMS ) || defined(__sgi)
  1.2088 +#include <inttypes.h>
  1.2089 +#elif defined(__SCO__) || defined(__USLC__)
  1.2090 +#include <stdint.h>
  1.2091 +#elif defined(__UNIXOS2__) || defined(__SOL64__)
  1.2092 +typedef long int int32_t;
  1.2093 +typedef long long int int64_t;
  1.2094 +typedef unsigned long long int uint64_t;
  1.2095 +#elif defined(_WIN32) && defined(__GNUC__)
  1.2096 +#include <stdint.h>
  1.2097 +#elif defined(_WIN32)
  1.2098 +typedef __int32 int32_t;
  1.2099 +typedef __int64 int64_t;
  1.2100 +typedef unsigned __int64 uint64_t;
  1.2101 +#else
  1.2102 +/* Fallback if nothing above works */
  1.2103 +#include <inttypes.h>
  1.2104 +#endif
  1.2105 +#endif
  1.2106 +typedef uint64_t GLuint64;
  1.2107 +typedef int64_t GLint64;
  1.2108 +#define GL_CONTEXT_CORE_PROFILE_BIT       0x00000001
  1.2109 +#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
  1.2110 +#define GL_LINES_ADJACENCY                0x000A
  1.2111 +#define GL_LINE_STRIP_ADJACENCY           0x000B
  1.2112 +#define GL_TRIANGLES_ADJACENCY            0x000C
  1.2113 +#define GL_TRIANGLE_STRIP_ADJACENCY       0x000D
  1.2114 +#define GL_PROGRAM_POINT_SIZE             0x8642
  1.2115 +#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
  1.2116 +#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
  1.2117 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
  1.2118 +#define GL_GEOMETRY_SHADER                0x8DD9
  1.2119 +#define GL_GEOMETRY_VERTICES_OUT          0x8916
  1.2120 +#define GL_GEOMETRY_INPUT_TYPE            0x8917
  1.2121 +#define GL_GEOMETRY_OUTPUT_TYPE           0x8918
  1.2122 +#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
  1.2123 +#define GL_MAX_GEOMETRY_OUTPUT_VERTICES   0x8DE0
  1.2124 +#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
  1.2125 +#define GL_MAX_VERTEX_OUTPUT_COMPONENTS   0x9122
  1.2126 +#define GL_MAX_GEOMETRY_INPUT_COMPONENTS  0x9123
  1.2127 +#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
  1.2128 +#define GL_MAX_FRAGMENT_INPUT_COMPONENTS  0x9125
  1.2129 +#define GL_CONTEXT_PROFILE_MASK           0x9126
  1.2130  #define GL_DEPTH_CLAMP                    0x864F
  1.2131 -#endif
  1.2132 -
  1.2133 -#ifndef GL_ARB_draw_elements_base_vertex
  1.2134 -#endif
  1.2135 -
  1.2136 -#ifndef GL_ARB_fragment_coord_conventions
  1.2137 -#endif
  1.2138 -
  1.2139 -#ifndef GL_ARB_provoking_vertex
  1.2140  #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
  1.2141  #define GL_FIRST_VERTEX_CONVENTION        0x8E4D
  1.2142  #define GL_LAST_VERTEX_CONVENTION         0x8E4E
  1.2143  #define GL_PROVOKING_VERTEX               0x8E4F
  1.2144 -#endif
  1.2145 -
  1.2146 -#ifndef GL_ARB_seamless_cube_map
  1.2147  #define GL_TEXTURE_CUBE_MAP_SEAMLESS      0x884F
  1.2148 -#endif
  1.2149 -
  1.2150 -#ifndef GL_ARB_sync
  1.2151  #define GL_MAX_SERVER_WAIT_TIMEOUT        0x9111
  1.2152  #define GL_OBJECT_TYPE                    0x9112
  1.2153  #define GL_SYNC_CONDITION                 0x9113
  1.2154 @@ -1808,11 +1444,8 @@
  1.2155  #define GL_TIMEOUT_EXPIRED                0x911B
  1.2156  #define GL_CONDITION_SATISFIED            0x911C
  1.2157  #define GL_WAIT_FAILED                    0x911D
  1.2158 +#define GL_TIMEOUT_IGNORED                0xFFFFFFFFFFFFFFFFull
  1.2159  #define GL_SYNC_FLUSH_COMMANDS_BIT        0x00000001
  1.2160 -#define GL_TIMEOUT_IGNORED                0xFFFFFFFFFFFFFFFFull
  1.2161 -#endif
  1.2162 -
  1.2163 -#ifndef GL_ARB_texture_multisample
  1.2164  #define GL_SAMPLE_POSITION                0x8E50
  1.2165  #define GL_SAMPLE_MASK                    0x8E51
  1.2166  #define GL_SAMPLE_MASK_VALUE              0x8E52
  1.2167 @@ -1834,111 +1467,207 @@
  1.2168  #define GL_MAX_COLOR_TEXTURE_SAMPLES      0x910E
  1.2169  #define GL_MAX_DEPTH_TEXTURE_SAMPLES      0x910F
  1.2170  #define GL_MAX_INTEGER_SAMPLES            0x9110
  1.2171 -#endif
  1.2172 -
  1.2173 -#ifndef GL_ARB_vertex_array_bgra
  1.2174 -/* reuse GL_BGRA */
  1.2175 -#endif
  1.2176 -
  1.2177 -#ifndef GL_ARB_draw_buffers_blend
  1.2178 -#endif
  1.2179 -
  1.2180 -#ifndef GL_ARB_sample_shading
  1.2181 -#define GL_SAMPLE_SHADING_ARB             0x8C36
  1.2182 -#define GL_MIN_SAMPLE_SHADING_VALUE_ARB   0x8C37
  1.2183 -#endif
  1.2184 -
  1.2185 -#ifndef GL_ARB_texture_cube_map_array
  1.2186 -#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB     0x9009
  1.2187 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
  1.2188 -#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
  1.2189 -#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB     0x900C
  1.2190 -#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
  1.2191 -#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
  1.2192 -#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
  1.2193 -#endif
  1.2194 -
  1.2195 -#ifndef GL_ARB_texture_gather
  1.2196 -#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
  1.2197 -#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
  1.2198 -#endif
  1.2199 -
  1.2200 -#ifndef GL_ARB_texture_query_lod
  1.2201 -#endif
  1.2202 -
  1.2203 -#ifndef GL_ARB_shading_language_include
  1.2204 -#define GL_SHADER_INCLUDE_ARB             0x8DAE
  1.2205 -#define GL_NAMED_STRING_LENGTH_ARB        0x8DE9
  1.2206 -#define GL_NAMED_STRING_TYPE_ARB          0x8DEA
  1.2207 -#endif
  1.2208 -
  1.2209 -#ifndef GL_ARB_texture_compression_bptc
  1.2210 -#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
  1.2211 -#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
  1.2212 -#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
  1.2213 -#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
  1.2214 -#endif
  1.2215 -
  1.2216 -#ifndef GL_ARB_blend_func_extended
  1.2217 +typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1.2218 +typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1.2219 +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1.2220 +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
  1.2221 +typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
  1.2222 +typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
  1.2223 +typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
  1.2224 +typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
  1.2225 +typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1.2226 +typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1.2227 +typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
  1.2228 +typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  1.2229 +typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
  1.2230 +typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
  1.2231 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1.2232 +typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  1.2233 +typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  1.2234 +typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
  1.2235 +typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
  1.2236 +#ifdef GL_GLEXT_PROTOTYPES
  1.2237 +GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1.2238 +GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1.2239 +GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1.2240 +GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
  1.2241 +GLAPI void APIENTRY glProvokingVertex (GLenum mode);
  1.2242 +GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
  1.2243 +GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
  1.2244 +GLAPI void APIENTRY glDeleteSync (GLsync sync);
  1.2245 +GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1.2246 +GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1.2247 +GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
  1.2248 +GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  1.2249 +GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
  1.2250 +GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
  1.2251 +GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1.2252 +GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  1.2253 +GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  1.2254 +GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
  1.2255 +GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
  1.2256 +#endif
  1.2257 +#endif /* GL_VERSION_3_2 */
  1.2258 +
  1.2259 +#ifndef GL_VERSION_3_3
  1.2260 +#define GL_VERSION_3_3 1
  1.2261 +#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR    0x88FE
  1.2262  #define GL_SRC1_COLOR                     0x88F9
  1.2263 -/* reuse GL_SRC1_ALPHA */
  1.2264  #define GL_ONE_MINUS_SRC1_COLOR           0x88FA
  1.2265  #define GL_ONE_MINUS_SRC1_ALPHA           0x88FB
  1.2266  #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS   0x88FC
  1.2267 -#endif
  1.2268 -
  1.2269 -#ifndef GL_ARB_explicit_attrib_location
  1.2270 -#endif
  1.2271 -
  1.2272 -#ifndef GL_ARB_occlusion_query2
  1.2273  #define GL_ANY_SAMPLES_PASSED             0x8C2F
  1.2274 -#endif
  1.2275 -
  1.2276 -#ifndef GL_ARB_sampler_objects
  1.2277  #define GL_SAMPLER_BINDING                0x8919
  1.2278 -#endif
  1.2279 -
  1.2280 -#ifndef GL_ARB_shader_bit_encoding
  1.2281 -#endif
  1.2282 -
  1.2283 -#ifndef GL_ARB_texture_rgb10_a2ui
  1.2284  #define GL_RGB10_A2UI                     0x906F
  1.2285 -#endif
  1.2286 -
  1.2287 -#ifndef GL_ARB_texture_swizzle
  1.2288  #define GL_TEXTURE_SWIZZLE_R              0x8E42
  1.2289  #define GL_TEXTURE_SWIZZLE_G              0x8E43
  1.2290  #define GL_TEXTURE_SWIZZLE_B              0x8E44
  1.2291  #define GL_TEXTURE_SWIZZLE_A              0x8E45
  1.2292  #define GL_TEXTURE_SWIZZLE_RGBA           0x8E46
  1.2293 -#endif
  1.2294 -
  1.2295 -#ifndef GL_ARB_timer_query
  1.2296  #define GL_TIME_ELAPSED                   0x88BF
  1.2297  #define GL_TIMESTAMP                      0x8E28
  1.2298 -#endif
  1.2299 -
  1.2300 -#ifndef GL_ARB_vertex_type_2_10_10_10_rev
  1.2301 -/* reuse GL_UNSIGNED_INT_2_10_10_10_REV */
  1.2302  #define GL_INT_2_10_10_10_REV             0x8D9F
  1.2303 -#endif
  1.2304 -
  1.2305 -#ifndef GL_ARB_draw_indirect
  1.2306 +typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1.2307 +typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
  1.2308 +typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
  1.2309 +typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
  1.2310 +typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
  1.2311 +typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
  1.2312 +typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
  1.2313 +typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  1.2314 +typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
  1.2315 +typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
  1.2316 +typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  1.2317 +typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
  1.2318 +typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  1.2319 +typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  1.2320 +typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
  1.2321 +typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
  1.2322 +typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
  1.2323 +typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
  1.2324 +typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
  1.2325 +typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
  1.2326 +typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1.2327 +typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1.2328 +typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1.2329 +typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1.2330 +typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1.2331 +typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1.2332 +typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1.2333 +typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1.2334 +typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
  1.2335 +typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
  1.2336 +typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
  1.2337 +typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
  1.2338 +typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
  1.2339 +typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
  1.2340 +typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
  1.2341 +typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
  1.2342 +typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
  1.2343 +typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
  1.2344 +typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
  1.2345 +typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
  1.2346 +typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
  1.2347 +typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
  1.2348 +typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1.2349 +typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1.2350 +typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1.2351 +typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1.2352 +typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1.2353 +typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1.2354 +typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1.2355 +typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1.2356 +typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
  1.2357 +typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
  1.2358 +typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
  1.2359 +typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
  1.2360 +typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
  1.2361 +typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
  1.2362 +typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
  1.2363 +typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
  1.2364 +#ifdef GL_GLEXT_PROTOTYPES
  1.2365 +GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1.2366 +GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
  1.2367 +GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
  1.2368 +GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
  1.2369 +GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
  1.2370 +GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
  1.2371 +GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
  1.2372 +GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
  1.2373 +GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
  1.2374 +GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
  1.2375 +GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
  1.2376 +GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
  1.2377 +GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
  1.2378 +GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
  1.2379 +GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
  1.2380 +GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
  1.2381 +GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
  1.2382 +GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
  1.2383 +GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
  1.2384 +GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
  1.2385 +GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1.2386 +GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1.2387 +GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1.2388 +GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1.2389 +GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1.2390 +GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1.2391 +GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1.2392 +GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1.2393 +GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
  1.2394 +GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
  1.2395 +GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
  1.2396 +GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
  1.2397 +GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
  1.2398 +GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
  1.2399 +GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
  1.2400 +GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
  1.2401 +GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
  1.2402 +GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
  1.2403 +GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
  1.2404 +GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
  1.2405 +GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
  1.2406 +GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
  1.2407 +GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
  1.2408 +GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
  1.2409 +GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
  1.2410 +GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
  1.2411 +GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
  1.2412 +GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
  1.2413 +GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
  1.2414 +GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
  1.2415 +GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
  1.2416 +GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
  1.2417 +GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
  1.2418 +GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
  1.2419 +GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
  1.2420 +GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
  1.2421 +GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
  1.2422 +GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
  1.2423 +#endif
  1.2424 +#endif /* GL_VERSION_3_3 */
  1.2425 +
  1.2426 +#ifndef GL_VERSION_4_0
  1.2427 +#define GL_VERSION_4_0 1
  1.2428 +#define GL_SAMPLE_SHADING                 0x8C36
  1.2429 +#define GL_MIN_SAMPLE_SHADING_VALUE       0x8C37
  1.2430 +#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
  1.2431 +#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
  1.2432 +#define GL_TEXTURE_CUBE_MAP_ARRAY         0x9009
  1.2433 +#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
  1.2434 +#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY   0x900B
  1.2435 +#define GL_SAMPLER_CUBE_MAP_ARRAY         0x900C
  1.2436 +#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW  0x900D
  1.2437 +#define GL_INT_SAMPLER_CUBE_MAP_ARRAY     0x900E
  1.2438 +#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
  1.2439  #define GL_DRAW_INDIRECT_BUFFER           0x8F3F
  1.2440  #define GL_DRAW_INDIRECT_BUFFER_BINDING   0x8F43
  1.2441 -#endif
  1.2442 -
  1.2443 -#ifndef GL_ARB_gpu_shader5
  1.2444  #define GL_GEOMETRY_SHADER_INVOCATIONS    0x887F
  1.2445  #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
  1.2446  #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
  1.2447  #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
  1.2448  #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
  1.2449 -/* reuse GL_MAX_VERTEX_STREAMS */
  1.2450 -#endif
  1.2451 -
  1.2452 -#ifndef GL_ARB_gpu_shader_fp64
  1.2453 -/* reuse GL_DOUBLE */
  1.2454 +#define GL_MAX_VERTEX_STREAMS             0x8E71
  1.2455  #define GL_DOUBLE_VEC2                    0x8FFC
  1.2456  #define GL_DOUBLE_VEC3                    0x8FFD
  1.2457  #define GL_DOUBLE_VEC4                    0x8FFE
  1.2458 @@ -1951,9 +1680,6 @@
  1.2459  #define GL_DOUBLE_MAT3x4                  0x8F4C
  1.2460  #define GL_DOUBLE_MAT4x2                  0x8F4D
  1.2461  #define GL_DOUBLE_MAT4x3                  0x8F4E
  1.2462 -#endif
  1.2463 -
  1.2464 -#ifndef GL_ARB_shader_subroutine
  1.2465  #define GL_ACTIVE_SUBROUTINES             0x8DE5
  1.2466  #define GL_ACTIVE_SUBROUTINE_UNIFORMS     0x8DE6
  1.2467  #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
  1.2468 @@ -1963,11 +1689,6 @@
  1.2469  #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
  1.2470  #define GL_NUM_COMPATIBLE_SUBROUTINES     0x8E4A
  1.2471  #define GL_COMPATIBLE_SUBROUTINES         0x8E4B
  1.2472 -/* reuse GL_UNIFORM_SIZE */
  1.2473 -/* reuse GL_UNIFORM_NAME_LENGTH */
  1.2474 -#endif
  1.2475 -
  1.2476 -#ifndef GL_ARB_tessellation_shader
  1.2477  #define GL_PATCHES                        0x000E
  1.2478  #define GL_PATCH_VERTICES                 0x8E72
  1.2479  #define GL_PATCH_DEFAULT_INNER_LEVEL      0x8E73
  1.2480 @@ -1977,14 +1698,9 @@
  1.2481  #define GL_TESS_GEN_SPACING               0x8E77
  1.2482  #define GL_TESS_GEN_VERTEX_ORDER          0x8E78
  1.2483  #define GL_TESS_GEN_POINT_MODE            0x8E79
  1.2484 -/* reuse GL_TRIANGLES */
  1.2485 -/* reuse GL_QUADS */
  1.2486  #define GL_ISOLINES                       0x8E7A
  1.2487 -/* reuse GL_EQUAL */
  1.2488  #define GL_FRACTIONAL_ODD                 0x8E7B
  1.2489  #define GL_FRACTIONAL_EVEN                0x8E7C
  1.2490 -/* reuse GL_CCW */
  1.2491 -/* reuse GL_CW */
  1.2492  #define GL_MAX_PATCH_VERTICES             0x8E7D
  1.2493  #define GL_MAX_TESS_GEN_LEVEL             0x8E7E
  1.2494  #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
  1.2495 @@ -2005,27 +1721,109 @@
  1.2496  #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
  1.2497  #define GL_TESS_EVALUATION_SHADER         0x8E87
  1.2498  #define GL_TESS_CONTROL_SHADER            0x8E88
  1.2499 -#endif
  1.2500 -
  1.2501 -#ifndef GL_ARB_texture_buffer_object_rgb32
  1.2502 -/* reuse GL_RGB32F */
  1.2503 -/* reuse GL_RGB32UI */
  1.2504 -/* reuse GL_RGB32I */
  1.2505 -#endif
  1.2506 -
  1.2507 -#ifndef GL_ARB_transform_feedback2
  1.2508  #define GL_TRANSFORM_FEEDBACK             0x8E22
  1.2509  #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
  1.2510  #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
  1.2511  #define GL_TRANSFORM_FEEDBACK_BINDING     0x8E25
  1.2512 -#endif
  1.2513 -
  1.2514 -#ifndef GL_ARB_transform_feedback3
  1.2515  #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
  1.2516 -#define GL_MAX_VERTEX_STREAMS             0x8E71
  1.2517 -#endif
  1.2518 -
  1.2519 -#ifndef GL_ARB_ES2_compatibility
  1.2520 +typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
  1.2521 +typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
  1.2522 +typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1.2523 +typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
  1.2524 +typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1.2525 +typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
  1.2526 +typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
  1.2527 +typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
  1.2528 +typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
  1.2529 +typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
  1.2530 +typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.2531 +typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1.2532 +typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1.2533 +typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1.2534 +typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1.2535 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2536 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2537 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2538 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2539 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2540 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2541 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2542 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2543 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2544 +typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
  1.2545 +typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  1.2546 +typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  1.2547 +typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  1.2548 +typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1.2549 +typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1.2550 +typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
  1.2551 +typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
  1.2552 +typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  1.2553 +typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
  1.2554 +typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
  1.2555 +typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
  1.2556 +typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
  1.2557 +typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
  1.2558 +typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
  1.2559 +typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
  1.2560 +typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
  1.2561 +typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
  1.2562 +typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
  1.2563 +typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
  1.2564 +typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
  1.2565 +typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  1.2566 +#ifdef GL_GLEXT_PROTOTYPES
  1.2567 +GLAPI void APIENTRY glMinSampleShading (GLfloat value);
  1.2568 +GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
  1.2569 +GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1.2570 +GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
  1.2571 +GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1.2572 +GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
  1.2573 +GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
  1.2574 +GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
  1.2575 +GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
  1.2576 +GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
  1.2577 +GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.2578 +GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
  1.2579 +GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
  1.2580 +GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
  1.2581 +GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
  1.2582 +GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2583 +GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2584 +GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2585 +GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2586 +GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2587 +GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2588 +GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2589 +GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2590 +GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2591 +GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
  1.2592 +GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
  1.2593 +GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
  1.2594 +GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  1.2595 +GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1.2596 +GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1.2597 +GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
  1.2598 +GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
  1.2599 +GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  1.2600 +GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
  1.2601 +GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
  1.2602 +GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
  1.2603 +GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
  1.2604 +GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
  1.2605 +GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
  1.2606 +GLAPI void APIENTRY glPauseTransformFeedback (void);
  1.2607 +GLAPI void APIENTRY glResumeTransformFeedback (void);
  1.2608 +GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
  1.2609 +GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
  1.2610 +GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
  1.2611 +GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
  1.2612 +GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
  1.2613 +#endif
  1.2614 +#endif /* GL_VERSION_4_0 */
  1.2615 +
  1.2616 +#ifndef GL_VERSION_4_1
  1.2617 +#define GL_VERSION_4_1 1
  1.2618  #define GL_FIXED                          0x140C
  1.2619  #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
  1.2620  #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
  1.2621 @@ -2036,20 +1834,16 @@
  1.2622  #define GL_MEDIUM_INT                     0x8DF4
  1.2623  #define GL_HIGH_INT                       0x8DF5
  1.2624  #define GL_SHADER_COMPILER                0x8DFA
  1.2625 +#define GL_SHADER_BINARY_FORMATS          0x8DF8
  1.2626  #define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
  1.2627  #define GL_MAX_VERTEX_UNIFORM_VECTORS     0x8DFB
  1.2628  #define GL_MAX_VARYING_VECTORS            0x8DFC
  1.2629  #define GL_MAX_FRAGMENT_UNIFORM_VECTORS   0x8DFD
  1.2630 -#endif
  1.2631 -
  1.2632 -#ifndef GL_ARB_get_program_binary
  1.2633 +#define GL_RGB565                         0x8D62
  1.2634  #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
  1.2635  #define GL_PROGRAM_BINARY_LENGTH          0x8741
  1.2636  #define GL_NUM_PROGRAM_BINARY_FORMATS     0x87FE
  1.2637  #define GL_PROGRAM_BINARY_FORMATS         0x87FF
  1.2638 -#endif
  1.2639 -
  1.2640 -#ifndef GL_ARB_separate_shader_objects
  1.2641  #define GL_VERTEX_SHADER_BIT              0x00000001
  1.2642  #define GL_FRAGMENT_SHADER_BIT            0x00000002
  1.2643  #define GL_GEOMETRY_SHADER_BIT            0x00000004
  1.2644 @@ -2059,49 +1853,863 @@
  1.2645  #define GL_PROGRAM_SEPARABLE              0x8258
  1.2646  #define GL_ACTIVE_PROGRAM                 0x8259
  1.2647  #define GL_PROGRAM_PIPELINE_BINDING       0x825A
  1.2648 -#endif
  1.2649 -
  1.2650 -#ifndef GL_ARB_shader_precision
  1.2651 -#endif
  1.2652 -
  1.2653 -#ifndef GL_ARB_vertex_attrib_64bit
  1.2654 -/* reuse GL_RGB32I */
  1.2655 -/* reuse GL_DOUBLE_VEC2 */
  1.2656 -/* reuse GL_DOUBLE_VEC3 */
  1.2657 -/* reuse GL_DOUBLE_VEC4 */
  1.2658 -/* reuse GL_DOUBLE_MAT2 */
  1.2659 -/* reuse GL_DOUBLE_MAT3 */
  1.2660 -/* reuse GL_DOUBLE_MAT4 */
  1.2661 -/* reuse GL_DOUBLE_MAT2x3 */
  1.2662 -/* reuse GL_DOUBLE_MAT2x4 */
  1.2663 -/* reuse GL_DOUBLE_MAT3x2 */
  1.2664 -/* reuse GL_DOUBLE_MAT3x4 */
  1.2665 -/* reuse GL_DOUBLE_MAT4x2 */
  1.2666 -/* reuse GL_DOUBLE_MAT4x3 */
  1.2667 -#endif
  1.2668 -
  1.2669 -#ifndef GL_ARB_viewport_array
  1.2670 -/* reuse GL_SCISSOR_BOX */
  1.2671 -/* reuse GL_VIEWPORT */
  1.2672 -/* reuse GL_DEPTH_RANGE */
  1.2673 -/* reuse GL_SCISSOR_TEST */
  1.2674  #define GL_MAX_VIEWPORTS                  0x825B
  1.2675  #define GL_VIEWPORT_SUBPIXEL_BITS         0x825C
  1.2676  #define GL_VIEWPORT_BOUNDS_RANGE          0x825D
  1.2677  #define GL_LAYER_PROVOKING_VERTEX         0x825E
  1.2678  #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
  1.2679  #define GL_UNDEFINED_VERTEX               0x8260
  1.2680 -/* reuse GL_FIRST_VERTEX_CONVENTION */
  1.2681 -/* reuse GL_LAST_VERTEX_CONVENTION */
  1.2682 -/* reuse GL_PROVOKING_VERTEX */
  1.2683 -#endif
  1.2684 +typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
  1.2685 +typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
  1.2686 +typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  1.2687 +typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
  1.2688 +typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
  1.2689 +typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  1.2690 +typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
  1.2691 +typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
  1.2692 +typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
  1.2693 +typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
  1.2694 +typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
  1.2695 +typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
  1.2696 +typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
  1.2697 +typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
  1.2698 +typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
  1.2699 +typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
  1.2700 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
  1.2701 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1.2702 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
  1.2703 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1.2704 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
  1.2705 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1.2706 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
  1.2707 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1.2708 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  1.2709 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1.2710 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  1.2711 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1.2712 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  1.2713 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1.2714 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  1.2715 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1.2716 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  1.2717 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1.2718 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1.2719 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1.2720 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  1.2721 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1.2722 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  1.2723 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1.2724 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1.2725 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1.2726 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1.2727 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1.2728 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  1.2729 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1.2730 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1.2731 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1.2732 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2733 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2734 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2735 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2736 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2737 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2738 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2739 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2740 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2741 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2742 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2743 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2744 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2745 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2746 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2747 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2748 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2749 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2750 +typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
  1.2751 +typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  1.2752 +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
  1.2753 +typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
  1.2754 +typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  1.2755 +typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.2756 +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
  1.2757 +typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
  1.2758 +typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
  1.2759 +typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
  1.2760 +typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1.2761 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  1.2762 +typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
  1.2763 +typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  1.2764 +typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
  1.2765 +typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
  1.2766 +typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  1.2767 +typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
  1.2768 +typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
  1.2769 +typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
  1.2770 +typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
  1.2771 +typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
  1.2772 +#ifdef GL_GLEXT_PROTOTYPES
  1.2773 +GLAPI void APIENTRY glReleaseShaderCompiler (void);
  1.2774 +GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
  1.2775 +GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  1.2776 +GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
  1.2777 +GLAPI void APIENTRY glClearDepthf (GLfloat d);
  1.2778 +GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  1.2779 +GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
  1.2780 +GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
  1.2781 +GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
  1.2782 +GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
  1.2783 +GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
  1.2784 +GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
  1.2785 +GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
  1.2786 +GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
  1.2787 +GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
  1.2788 +GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
  1.2789 +GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
  1.2790 +GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  1.2791 +GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
  1.2792 +GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1.2793 +GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
  1.2794 +GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1.2795 +GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
  1.2796 +GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1.2797 +GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
  1.2798 +GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  1.2799 +GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  1.2800 +GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1.2801 +GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  1.2802 +GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1.2803 +GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
  1.2804 +GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1.2805 +GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  1.2806 +GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  1.2807 +GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1.2808 +GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1.2809 +GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  1.2810 +GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1.2811 +GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  1.2812 +GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1.2813 +GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1.2814 +GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  1.2815 +GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1.2816 +GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1.2817 +GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  1.2818 +GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1.2819 +GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1.2820 +GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1.2821 +GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2822 +GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2823 +GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2824 +GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2825 +GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2826 +GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2827 +GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2828 +GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2829 +GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2830 +GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2831 +GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2832 +GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2833 +GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2834 +GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2835 +GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2836 +GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2837 +GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2838 +GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1.2839 +GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
  1.2840 +GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  1.2841 +GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
  1.2842 +GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
  1.2843 +GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  1.2844 +GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.2845 +GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
  1.2846 +GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
  1.2847 +GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
  1.2848 +GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
  1.2849 +GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1.2850 +GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
  1.2851 +GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
  1.2852 +GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  1.2853 +GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
  1.2854 +GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
  1.2855 +GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  1.2856 +GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
  1.2857 +GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
  1.2858 +GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
  1.2859 +GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
  1.2860 +GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
  1.2861 +#endif
  1.2862 +#endif /* GL_VERSION_4_1 */
  1.2863 +
  1.2864 +#ifndef GL_VERSION_4_2
  1.2865 +#define GL_VERSION_4_2 1
  1.2866 +#define GL_UNPACK_COMPRESSED_BLOCK_WIDTH  0x9127
  1.2867 +#define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
  1.2868 +#define GL_UNPACK_COMPRESSED_BLOCK_DEPTH  0x9129
  1.2869 +#define GL_UNPACK_COMPRESSED_BLOCK_SIZE   0x912A
  1.2870 +#define GL_PACK_COMPRESSED_BLOCK_WIDTH    0x912B
  1.2871 +#define GL_PACK_COMPRESSED_BLOCK_HEIGHT   0x912C
  1.2872 +#define GL_PACK_COMPRESSED_BLOCK_DEPTH    0x912D
  1.2873 +#define GL_PACK_COMPRESSED_BLOCK_SIZE     0x912E
  1.2874 +#define GL_NUM_SAMPLE_COUNTS              0x9380
  1.2875 +#define GL_MIN_MAP_BUFFER_ALIGNMENT       0x90BC
  1.2876 +#define GL_ATOMIC_COUNTER_BUFFER          0x92C0
  1.2877 +#define GL_ATOMIC_COUNTER_BUFFER_BINDING  0x92C1
  1.2878 +#define GL_ATOMIC_COUNTER_BUFFER_START    0x92C2
  1.2879 +#define GL_ATOMIC_COUNTER_BUFFER_SIZE     0x92C3
  1.2880 +#define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
  1.2881 +#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
  1.2882 +#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
  1.2883 +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
  1.2884 +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
  1.2885 +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
  1.2886 +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
  1.2887 +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
  1.2888 +#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
  1.2889 +#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
  1.2890 +#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
  1.2891 +#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
  1.2892 +#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
  1.2893 +#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
  1.2894 +#define GL_MAX_VERTEX_ATOMIC_COUNTERS     0x92D2
  1.2895 +#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
  1.2896 +#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
  1.2897 +#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS   0x92D5
  1.2898 +#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS   0x92D6
  1.2899 +#define GL_MAX_COMBINED_ATOMIC_COUNTERS   0x92D7
  1.2900 +#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
  1.2901 +#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
  1.2902 +#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS  0x92D9
  1.2903 +#define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
  1.2904 +#define GL_UNSIGNED_INT_ATOMIC_COUNTER    0x92DB
  1.2905 +#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
  1.2906 +#define GL_ELEMENT_ARRAY_BARRIER_BIT      0x00000002
  1.2907 +#define GL_UNIFORM_BARRIER_BIT            0x00000004
  1.2908 +#define GL_TEXTURE_FETCH_BARRIER_BIT      0x00000008
  1.2909 +#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
  1.2910 +#define GL_COMMAND_BARRIER_BIT            0x00000040
  1.2911 +#define GL_PIXEL_BUFFER_BARRIER_BIT       0x00000080
  1.2912 +#define GL_TEXTURE_UPDATE_BARRIER_BIT     0x00000100
  1.2913 +#define GL_BUFFER_UPDATE_BARRIER_BIT      0x00000200
  1.2914 +#define GL_FRAMEBUFFER_BARRIER_BIT        0x00000400
  1.2915 +#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
  1.2916 +#define GL_ATOMIC_COUNTER_BARRIER_BIT     0x00001000
  1.2917 +#define GL_ALL_BARRIER_BITS               0xFFFFFFFF
  1.2918 +#define GL_MAX_IMAGE_UNITS                0x8F38
  1.2919 +#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
  1.2920 +#define GL_IMAGE_BINDING_NAME             0x8F3A
  1.2921 +#define GL_IMAGE_BINDING_LEVEL            0x8F3B
  1.2922 +#define GL_IMAGE_BINDING_LAYERED          0x8F3C
  1.2923 +#define GL_IMAGE_BINDING_LAYER            0x8F3D
  1.2924 +#define GL_IMAGE_BINDING_ACCESS           0x8F3E
  1.2925 +#define GL_IMAGE_1D                       0x904C
  1.2926 +#define GL_IMAGE_2D                       0x904D
  1.2927 +#define GL_IMAGE_3D                       0x904E
  1.2928 +#define GL_IMAGE_2D_RECT                  0x904F
  1.2929 +#define GL_IMAGE_CUBE                     0x9050
  1.2930 +#define GL_IMAGE_BUFFER                   0x9051
  1.2931 +#define GL_IMAGE_1D_ARRAY                 0x9052
  1.2932 +#define GL_IMAGE_2D_ARRAY                 0x9053
  1.2933 +#define GL_IMAGE_CUBE_MAP_ARRAY           0x9054
  1.2934 +#define GL_IMAGE_2D_MULTISAMPLE           0x9055
  1.2935 +#define GL_IMAGE_2D_MULTISAMPLE_ARRAY     0x9056
  1.2936 +#define GL_INT_IMAGE_1D                   0x9057
  1.2937 +#define GL_INT_IMAGE_2D                   0x9058
  1.2938 +#define GL_INT_IMAGE_3D                   0x9059
  1.2939 +#define GL_INT_IMAGE_2D_RECT              0x905A
  1.2940 +#define GL_INT_IMAGE_CUBE                 0x905B
  1.2941 +#define GL_INT_IMAGE_BUFFER               0x905C
  1.2942 +#define GL_INT_IMAGE_1D_ARRAY             0x905D
  1.2943 +#define GL_INT_IMAGE_2D_ARRAY             0x905E
  1.2944 +#define GL_INT_IMAGE_CUBE_MAP_ARRAY       0x905F
  1.2945 +#define GL_INT_IMAGE_2D_MULTISAMPLE       0x9060
  1.2946 +#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
  1.2947 +#define GL_UNSIGNED_INT_IMAGE_1D          0x9062
  1.2948 +#define GL_UNSIGNED_INT_IMAGE_2D          0x9063
  1.2949 +#define GL_UNSIGNED_INT_IMAGE_3D          0x9064
  1.2950 +#define GL_UNSIGNED_INT_IMAGE_2D_RECT     0x9065
  1.2951 +#define GL_UNSIGNED_INT_IMAGE_CUBE        0x9066
  1.2952 +#define GL_UNSIGNED_INT_IMAGE_BUFFER      0x9067
  1.2953 +#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY    0x9068
  1.2954 +#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY    0x9069
  1.2955 +#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
  1.2956 +#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
  1.2957 +#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
  1.2958 +#define GL_MAX_IMAGE_SAMPLES              0x906D
  1.2959 +#define GL_IMAGE_BINDING_FORMAT           0x906E
  1.2960 +#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
  1.2961 +#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
  1.2962 +#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
  1.2963 +#define GL_MAX_VERTEX_IMAGE_UNIFORMS      0x90CA
  1.2964 +#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
  1.2965 +#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
  1.2966 +#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS    0x90CD
  1.2967 +#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS    0x90CE
  1.2968 +#define GL_MAX_COMBINED_IMAGE_UNIFORMS    0x90CF
  1.2969 +#define GL_COMPRESSED_RGBA_BPTC_UNORM     0x8E8C
  1.2970 +#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
  1.2971 +#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
  1.2972 +#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
  1.2973 +#define GL_TEXTURE_IMMUTABLE_FORMAT       0x912F
  1.2974 +typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  1.2975 +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  1.2976 +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  1.2977 +typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
  1.2978 +typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
  1.2979 +typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  1.2980 +typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
  1.2981 +typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  1.2982 +typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  1.2983 +typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  1.2984 +typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
  1.2985 +typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
  1.2986 +#ifdef GL_GLEXT_PROTOTYPES
  1.2987 +GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  1.2988 +GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  1.2989 +GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  1.2990 +GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
  1.2991 +GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
  1.2992 +GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  1.2993 +GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
  1.2994 +GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  1.2995 +GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  1.2996 +GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  1.2997 +GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
  1.2998 +GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
  1.2999 +#endif
  1.3000 +#endif /* GL_VERSION_4_2 */
  1.3001 +
  1.3002 +#ifndef GL_VERSION_4_3
  1.3003 +#define GL_VERSION_4_3 1
  1.3004 +typedef void (APIENTRY  *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
  1.3005 +#define GL_NUM_SHADING_LANGUAGE_VERSIONS  0x82E9
  1.3006 +#define GL_VERTEX_ATTRIB_ARRAY_LONG       0x874E
  1.3007 +#define GL_COMPRESSED_RGB8_ETC2           0x9274
  1.3008 +#define GL_COMPRESSED_SRGB8_ETC2          0x9275
  1.3009 +#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
  1.3010 +#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
  1.3011 +#define GL_COMPRESSED_RGBA8_ETC2_EAC      0x9278
  1.3012 +#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
  1.3013 +#define GL_COMPRESSED_R11_EAC             0x9270
  1.3014 +#define GL_COMPRESSED_SIGNED_R11_EAC      0x9271
  1.3015 +#define GL_COMPRESSED_RG11_EAC            0x9272
  1.3016 +#define GL_COMPRESSED_SIGNED_RG11_EAC     0x9273
  1.3017 +#define GL_PRIMITIVE_RESTART_FIXED_INDEX  0x8D69
  1.3018 +#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
  1.3019 +#define GL_MAX_ELEMENT_INDEX              0x8D6B
  1.3020 +#define GL_COMPUTE_SHADER                 0x91B9
  1.3021 +#define GL_MAX_COMPUTE_UNIFORM_BLOCKS     0x91BB
  1.3022 +#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
  1.3023 +#define GL_MAX_COMPUTE_IMAGE_UNIFORMS     0x91BD
  1.3024 +#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
  1.3025 +#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
  1.3026 +#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
  1.3027 +#define GL_MAX_COMPUTE_ATOMIC_COUNTERS    0x8265
  1.3028 +#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
  1.3029 +#define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
  1.3030 +#define GL_MAX_COMPUTE_WORK_GROUP_COUNT   0x91BE
  1.3031 +#define GL_MAX_COMPUTE_WORK_GROUP_SIZE    0x91BF
  1.3032 +#define GL_COMPUTE_WORK_GROUP_SIZE        0x8267
  1.3033 +#define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
  1.3034 +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
  1.3035 +#define GL_DISPATCH_INDIRECT_BUFFER       0x90EE
  1.3036 +#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
  1.3037 +#define GL_DEBUG_OUTPUT_SYNCHRONOUS       0x8242
  1.3038 +#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
  1.3039 +#define GL_DEBUG_CALLBACK_FUNCTION        0x8244
  1.3040 +#define GL_DEBUG_CALLBACK_USER_PARAM      0x8245
  1.3041 +#define GL_DEBUG_SOURCE_API               0x8246
  1.3042 +#define GL_DEBUG_SOURCE_WINDOW_SYSTEM     0x8247
  1.3043 +#define GL_DEBUG_SOURCE_SHADER_COMPILER   0x8248
  1.3044 +#define GL_DEBUG_SOURCE_THIRD_PARTY       0x8249
  1.3045 +#define GL_DEBUG_SOURCE_APPLICATION       0x824A
  1.3046 +#define GL_DEBUG_SOURCE_OTHER             0x824B
  1.3047 +#define GL_DEBUG_TYPE_ERROR               0x824C
  1.3048 +#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
  1.3049 +#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR  0x824E
  1.3050 +#define GL_DEBUG_TYPE_PORTABILITY         0x824F
  1.3051 +#define GL_DEBUG_TYPE_PERFORMANCE         0x8250
  1.3052 +#define GL_DEBUG_TYPE_OTHER               0x8251
  1.3053 +#define GL_MAX_DEBUG_MESSAGE_LENGTH       0x9143
  1.3054 +#define GL_MAX_DEBUG_LOGGED_MESSAGES      0x9144
  1.3055 +#define GL_DEBUG_LOGGED_MESSAGES          0x9145
  1.3056 +#define GL_DEBUG_SEVERITY_HIGH            0x9146
  1.3057 +#define GL_DEBUG_SEVERITY_MEDIUM          0x9147
  1.3058 +#define GL_DEBUG_SEVERITY_LOW             0x9148
  1.3059 +#define GL_DEBUG_TYPE_MARKER              0x8268
  1.3060 +#define GL_DEBUG_TYPE_PUSH_GROUP          0x8269
  1.3061 +#define GL_DEBUG_TYPE_POP_GROUP           0x826A
  1.3062 +#define GL_DEBUG_SEVERITY_NOTIFICATION    0x826B
  1.3063 +#define GL_MAX_DEBUG_GROUP_STACK_DEPTH    0x826C
  1.3064 +#define GL_DEBUG_GROUP_STACK_DEPTH        0x826D
  1.3065 +#define GL_BUFFER                         0x82E0
  1.3066 +#define GL_SHADER                         0x82E1
  1.3067 +#define GL_PROGRAM                        0x82E2
  1.3068 +#define GL_QUERY                          0x82E3
  1.3069 +#define GL_PROGRAM_PIPELINE               0x82E4
  1.3070 +#define GL_SAMPLER                        0x82E6
  1.3071 +#define GL_MAX_LABEL_LENGTH               0x82E8
  1.3072 +#define GL_DEBUG_OUTPUT                   0x92E0
  1.3073 +#define GL_CONTEXT_FLAG_DEBUG_BIT         0x00000002
  1.3074 +#define GL_MAX_UNIFORM_LOCATIONS          0x826E
  1.3075 +#define GL_FRAMEBUFFER_DEFAULT_WIDTH      0x9310
  1.3076 +#define GL_FRAMEBUFFER_DEFAULT_HEIGHT     0x9311
  1.3077 +#define GL_FRAMEBUFFER_DEFAULT_LAYERS     0x9312
  1.3078 +#define GL_FRAMEBUFFER_DEFAULT_SAMPLES    0x9313
  1.3079 +#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
  1.3080 +#define GL_MAX_FRAMEBUFFER_WIDTH          0x9315
  1.3081 +#define GL_MAX_FRAMEBUFFER_HEIGHT         0x9316
  1.3082 +#define GL_MAX_FRAMEBUFFER_LAYERS         0x9317
  1.3083 +#define GL_MAX_FRAMEBUFFER_SAMPLES        0x9318
  1.3084 +#define GL_INTERNALFORMAT_SUPPORTED       0x826F
  1.3085 +#define GL_INTERNALFORMAT_PREFERRED       0x8270
  1.3086 +#define GL_INTERNALFORMAT_RED_SIZE        0x8271
  1.3087 +#define GL_INTERNALFORMAT_GREEN_SIZE      0x8272
  1.3088 +#define GL_INTERNALFORMAT_BLUE_SIZE       0x8273
  1.3089 +#define GL_INTERNALFORMAT_ALPHA_SIZE      0x8274
  1.3090 +#define GL_INTERNALFORMAT_DEPTH_SIZE      0x8275
  1.3091 +#define GL_INTERNALFORMAT_STENCIL_SIZE    0x8276
  1.3092 +#define GL_INTERNALFORMAT_SHARED_SIZE     0x8277
  1.3093 +#define GL_INTERNALFORMAT_RED_TYPE        0x8278
  1.3094 +#define GL_INTERNALFORMAT_GREEN_TYPE      0x8279
  1.3095 +#define GL_INTERNALFORMAT_BLUE_TYPE       0x827A
  1.3096 +#define GL_INTERNALFORMAT_ALPHA_TYPE      0x827B
  1.3097 +#define GL_INTERNALFORMAT_DEPTH_TYPE      0x827C
  1.3098 +#define GL_INTERNALFORMAT_STENCIL_TYPE    0x827D
  1.3099 +#define GL_MAX_WIDTH                      0x827E
  1.3100 +#define GL_MAX_HEIGHT                     0x827F
  1.3101 +#define GL_MAX_DEPTH                      0x8280
  1.3102 +#define GL_MAX_LAYERS                     0x8281
  1.3103 +#define GL_MAX_COMBINED_DIMENSIONS        0x8282
  1.3104 +#define GL_COLOR_COMPONENTS               0x8283
  1.3105 +#define GL_DEPTH_COMPONENTS               0x8284
  1.3106 +#define GL_STENCIL_COMPONENTS             0x8285
  1.3107 +#define GL_COLOR_RENDERABLE               0x8286
  1.3108 +#define GL_DEPTH_RENDERABLE               0x8287
  1.3109 +#define GL_STENCIL_RENDERABLE             0x8288
  1.3110 +#define GL_FRAMEBUFFER_RENDERABLE         0x8289
  1.3111 +#define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
  1.3112 +#define GL_FRAMEBUFFER_BLEND              0x828B
  1.3113 +#define GL_READ_PIXELS                    0x828C
  1.3114 +#define GL_READ_PIXELS_FORMAT             0x828D
  1.3115 +#define GL_READ_PIXELS_TYPE               0x828E
  1.3116 +#define GL_TEXTURE_IMAGE_FORMAT           0x828F
  1.3117 +#define GL_TEXTURE_IMAGE_TYPE             0x8290
  1.3118 +#define GL_GET_TEXTURE_IMAGE_FORMAT       0x8291
  1.3119 +#define GL_GET_TEXTURE_IMAGE_TYPE         0x8292
  1.3120 +#define GL_MIPMAP                         0x8293
  1.3121 +#define GL_MANUAL_GENERATE_MIPMAP         0x8294
  1.3122 +#define GL_AUTO_GENERATE_MIPMAP           0x8295
  1.3123 +#define GL_COLOR_ENCODING                 0x8296
  1.3124 +#define GL_SRGB_READ                      0x8297
  1.3125 +#define GL_SRGB_WRITE                     0x8298
  1.3126 +#define GL_FILTER                         0x829A
  1.3127 +#define GL_VERTEX_TEXTURE                 0x829B
  1.3128 +#define GL_TESS_CONTROL_TEXTURE           0x829C
  1.3129 +#define GL_TESS_EVALUATION_TEXTURE        0x829D
  1.3130 +#define GL_GEOMETRY_TEXTURE               0x829E
  1.3131 +#define GL_FRAGMENT_TEXTURE               0x829F
  1.3132 +#define GL_COMPUTE_TEXTURE                0x82A0
  1.3133 +#define GL_TEXTURE_SHADOW                 0x82A1
  1.3134 +#define GL_TEXTURE_GATHER                 0x82A2
  1.3135 +#define GL_TEXTURE_GATHER_SHADOW          0x82A3
  1.3136 +#define GL_SHADER_IMAGE_LOAD              0x82A4
  1.3137 +#define GL_SHADER_IMAGE_STORE             0x82A5
  1.3138 +#define GL_SHADER_IMAGE_ATOMIC            0x82A6
  1.3139 +#define GL_IMAGE_TEXEL_SIZE               0x82A7
  1.3140 +#define GL_IMAGE_COMPATIBILITY_CLASS      0x82A8
  1.3141 +#define GL_IMAGE_PIXEL_FORMAT             0x82A9
  1.3142 +#define GL_IMAGE_PIXEL_TYPE               0x82AA
  1.3143 +#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
  1.3144 +#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
  1.3145 +#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
  1.3146 +#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
  1.3147 +#define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
  1.3148 +#define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
  1.3149 +#define GL_TEXTURE_COMPRESSED_BLOCK_SIZE  0x82B3
  1.3150 +#define GL_CLEAR_BUFFER                   0x82B4
  1.3151 +#define GL_TEXTURE_VIEW                   0x82B5
  1.3152 +#define GL_VIEW_COMPATIBILITY_CLASS       0x82B6
  1.3153 +#define GL_FULL_SUPPORT                   0x82B7
  1.3154 +#define GL_CAVEAT_SUPPORT                 0x82B8
  1.3155 +#define GL_IMAGE_CLASS_4_X_32             0x82B9
  1.3156 +#define GL_IMAGE_CLASS_2_X_32             0x82BA
  1.3157 +#define GL_IMAGE_CLASS_1_X_32             0x82BB
  1.3158 +#define GL_IMAGE_CLASS_4_X_16             0x82BC
  1.3159 +#define GL_IMAGE_CLASS_2_X_16             0x82BD
  1.3160 +#define GL_IMAGE_CLASS_1_X_16             0x82BE
  1.3161 +#define GL_IMAGE_CLASS_4_X_8              0x82BF
  1.3162 +#define GL_IMAGE_CLASS_2_X_8              0x82C0
  1.3163 +#define GL_IMAGE_CLASS_1_X_8              0x82C1
  1.3164 +#define GL_IMAGE_CLASS_11_11_10           0x82C2
  1.3165 +#define GL_IMAGE_CLASS_10_10_10_2         0x82C3
  1.3166 +#define GL_VIEW_CLASS_128_BITS            0x82C4
  1.3167 +#define GL_VIEW_CLASS_96_BITS             0x82C5
  1.3168 +#define GL_VIEW_CLASS_64_BITS             0x82C6
  1.3169 +#define GL_VIEW_CLASS_48_BITS             0x82C7
  1.3170 +#define GL_VIEW_CLASS_32_BITS             0x82C8
  1.3171 +#define GL_VIEW_CLASS_24_BITS             0x82C9
  1.3172 +#define GL_VIEW_CLASS_16_BITS             0x82CA
  1.3173 +#define GL_VIEW_CLASS_8_BITS              0x82CB
  1.3174 +#define GL_VIEW_CLASS_S3TC_DXT1_RGB       0x82CC
  1.3175 +#define GL_VIEW_CLASS_S3TC_DXT1_RGBA      0x82CD
  1.3176 +#define GL_VIEW_CLASS_S3TC_DXT3_RGBA      0x82CE
  1.3177 +#define GL_VIEW_CLASS_S3TC_DXT5_RGBA      0x82CF
  1.3178 +#define GL_VIEW_CLASS_RGTC1_RED           0x82D0
  1.3179 +#define GL_VIEW_CLASS_RGTC2_RG            0x82D1
  1.3180 +#define GL_VIEW_CLASS_BPTC_UNORM          0x82D2
  1.3181 +#define GL_VIEW_CLASS_BPTC_FLOAT          0x82D3
  1.3182 +#define GL_UNIFORM                        0x92E1
  1.3183 +#define GL_UNIFORM_BLOCK                  0x92E2
  1.3184 +#define GL_PROGRAM_INPUT                  0x92E3
  1.3185 +#define GL_PROGRAM_OUTPUT                 0x92E4
  1.3186 +#define GL_BUFFER_VARIABLE                0x92E5
  1.3187 +#define GL_SHADER_STORAGE_BLOCK           0x92E6
  1.3188 +#define GL_VERTEX_SUBROUTINE              0x92E8
  1.3189 +#define GL_TESS_CONTROL_SUBROUTINE        0x92E9
  1.3190 +#define GL_TESS_EVALUATION_SUBROUTINE     0x92EA
  1.3191 +#define GL_GEOMETRY_SUBROUTINE            0x92EB
  1.3192 +#define GL_FRAGMENT_SUBROUTINE            0x92EC
  1.3193 +#define GL_COMPUTE_SUBROUTINE             0x92ED
  1.3194 +#define GL_VERTEX_SUBROUTINE_UNIFORM      0x92EE
  1.3195 +#define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
  1.3196 +#define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
  1.3197 +#define GL_GEOMETRY_SUBROUTINE_UNIFORM    0x92F1
  1.3198 +#define GL_FRAGMENT_SUBROUTINE_UNIFORM    0x92F2
  1.3199 +#define GL_COMPUTE_SUBROUTINE_UNIFORM     0x92F3
  1.3200 +#define GL_TRANSFORM_FEEDBACK_VARYING     0x92F4
  1.3201 +#define GL_ACTIVE_RESOURCES               0x92F5
  1.3202 +#define GL_MAX_NAME_LENGTH                0x92F6
  1.3203 +#define GL_MAX_NUM_ACTIVE_VARIABLES       0x92F7
  1.3204 +#define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
  1.3205 +#define GL_NAME_LENGTH                    0x92F9
  1.3206 +#define GL_TYPE                           0x92FA
  1.3207 +#define GL_ARRAY_SIZE                     0x92FB
  1.3208 +#define GL_OFFSET                         0x92FC
  1.3209 +#define GL_BLOCK_INDEX                    0x92FD
  1.3210 +#define GL_ARRAY_STRIDE                   0x92FE
  1.3211 +#define GL_MATRIX_STRIDE                  0x92FF
  1.3212 +#define GL_IS_ROW_MAJOR                   0x9300
  1.3213 +#define GL_ATOMIC_COUNTER_BUFFER_INDEX    0x9301
  1.3214 +#define GL_BUFFER_BINDING                 0x9302
  1.3215 +#define GL_BUFFER_DATA_SIZE               0x9303
  1.3216 +#define GL_NUM_ACTIVE_VARIABLES           0x9304
  1.3217 +#define GL_ACTIVE_VARIABLES               0x9305
  1.3218 +#define GL_REFERENCED_BY_VERTEX_SHADER    0x9306
  1.3219 +#define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
  1.3220 +#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
  1.3221 +#define GL_REFERENCED_BY_GEOMETRY_SHADER  0x9309
  1.3222 +#define GL_REFERENCED_BY_FRAGMENT_SHADER  0x930A
  1.3223 +#define GL_REFERENCED_BY_COMPUTE_SHADER   0x930B
  1.3224 +#define GL_TOP_LEVEL_ARRAY_SIZE           0x930C
  1.3225 +#define GL_TOP_LEVEL_ARRAY_STRIDE         0x930D
  1.3226 +#define GL_LOCATION                       0x930E
  1.3227 +#define GL_LOCATION_INDEX                 0x930F
  1.3228 +#define GL_IS_PER_PATCH                   0x92E7
  1.3229 +#define GL_SHADER_STORAGE_BUFFER          0x90D2
  1.3230 +#define GL_SHADER_STORAGE_BUFFER_BINDING  0x90D3
  1.3231 +#define GL_SHADER_STORAGE_BUFFER_START    0x90D4
  1.3232 +#define GL_SHADER_STORAGE_BUFFER_SIZE     0x90D5
  1.3233 +#define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
  1.3234 +#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
  1.3235 +#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
  1.3236 +#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
  1.3237 +#define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
  1.3238 +#define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
  1.3239 +#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
  1.3240 +#define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
  1.3241 +#define GL_MAX_SHADER_STORAGE_BLOCK_SIZE  0x90DE
  1.3242 +#define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
  1.3243 +#define GL_SHADER_STORAGE_BARRIER_BIT     0x00002000
  1.3244 +#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
  1.3245 +#define GL_DEPTH_STENCIL_TEXTURE_MODE     0x90EA
  1.3246 +#define GL_TEXTURE_BUFFER_OFFSET          0x919D
  1.3247 +#define GL_TEXTURE_BUFFER_SIZE            0x919E
  1.3248 +#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
  1.3249 +#define GL_TEXTURE_VIEW_MIN_LEVEL         0x82DB
  1.3250 +#define GL_TEXTURE_VIEW_NUM_LEVELS        0x82DC
  1.3251 +#define GL_TEXTURE_VIEW_MIN_LAYER         0x82DD
  1.3252 +#define GL_TEXTURE_VIEW_NUM_LAYERS        0x82DE
  1.3253 +#define GL_TEXTURE_IMMUTABLE_LEVELS       0x82DF
  1.3254 +#define GL_VERTEX_ATTRIB_BINDING          0x82D4
  1.3255 +#define GL_VERTEX_ATTRIB_RELATIVE_OFFSET  0x82D5
  1.3256 +#define GL_VERTEX_BINDING_DIVISOR         0x82D6
  1.3257 +#define GL_VERTEX_BINDING_OFFSET          0x82D7
  1.3258 +#define GL_VERTEX_BINDING_STRIDE          0x82D8
  1.3259 +#define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
  1.3260 +#define GL_MAX_VERTEX_ATTRIB_BINDINGS     0x82DA
  1.3261 +#define GL_VERTEX_BINDING_BUFFER          0x8F4F
  1.3262 +#define GL_DISPLAY_LIST                   0x82E7
  1.3263 +typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
  1.3264 +typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  1.3265 +typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  1.3266 +typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
  1.3267 +typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
  1.3268 +typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
  1.3269 +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1.3270 +typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
  1.3271 +typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  1.3272 +typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
  1.3273 +typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  1.3274 +typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
  1.3275 +typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  1.3276 +typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  1.3277 +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  1.3278 +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  1.3279 +typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
  1.3280 +typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  1.3281 +typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  1.3282 +typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
  1.3283 +typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  1.3284 +typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  1.3285 +typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  1.3286 +typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1.3287 +typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  1.3288 +typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  1.3289 +typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  1.3290 +typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  1.3291 +typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  1.3292 +typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  1.3293 +typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  1.3294 +typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
  1.3295 +typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
  1.3296 +typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  1.3297 +typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  1.3298 +typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
  1.3299 +typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  1.3300 +typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  1.3301 +typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
  1.3302 +typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  1.3303 +typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  1.3304 +typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
  1.3305 +typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  1.3306 +#ifdef GL_GLEXT_PROTOTYPES
  1.3307 +GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
  1.3308 +GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  1.3309 +GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  1.3310 +GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
  1.3311 +GLAPI void APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
  1.3312 +GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
  1.3313 +GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
  1.3314 +GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
  1.3315 +GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  1.3316 +GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
  1.3317 +GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
  1.3318 +GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
  1.3319 +GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  1.3320 +GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  1.3321 +GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  1.3322 +GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  1.3323 +GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
  1.3324 +GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
  1.3325 +GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  1.3326 +GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
  1.3327 +GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
  1.3328 +GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
  1.3329 +GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  1.3330 +GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1.3331 +GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  1.3332 +GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  1.3333 +GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  1.3334 +GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  1.3335 +GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  1.3336 +GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  1.3337 +GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  1.3338 +GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
  1.3339 +GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
  1.3340 +GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  1.3341 +GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  1.3342 +GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
  1.3343 +GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  1.3344 +GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  1.3345 +GLAPI void APIENTRY glPopDebugGroup (void);
  1.3346 +GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  1.3347 +GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  1.3348 +GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
  1.3349 +GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  1.3350 +#endif
  1.3351 +#endif /* GL_VERSION_4_3 */
  1.3352 +
  1.3353 +#ifndef GL_VERSION_4_4
  1.3354 +#define GL_VERSION_4_4 1
  1.3355 +#define GL_MAX_VERTEX_ATTRIB_STRIDE       0x82E5
  1.3356 +#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
  1.3357 +#define GL_TEXTURE_BUFFER_BINDING         0x8C2A
  1.3358 +#define GL_MAP_PERSISTENT_BIT             0x0040
  1.3359 +#define GL_MAP_COHERENT_BIT               0x0080
  1.3360 +#define GL_DYNAMIC_STORAGE_BIT            0x0100
  1.3361 +#define GL_CLIENT_STORAGE_BIT             0x0200
  1.3362 +#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
  1.3363 +#define GL_BUFFER_IMMUTABLE_STORAGE       0x821F
  1.3364 +#define GL_BUFFER_STORAGE_FLAGS           0x8220
  1.3365 +#define GL_CLEAR_TEXTURE                  0x9365
  1.3366 +#define GL_LOCATION_COMPONENT             0x934A
  1.3367 +#define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
  1.3368 +#define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
  1.3369 +#define GL_QUERY_BUFFER                   0x9192
  1.3370 +#define GL_QUERY_BUFFER_BARRIER_BIT       0x00008000
  1.3371 +#define GL_QUERY_BUFFER_BINDING           0x9193
  1.3372 +#define GL_QUERY_RESULT_NO_WAIT           0x9194
  1.3373 +#define GL_MIRROR_CLAMP_TO_EDGE           0x8743
  1.3374 +typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  1.3375 +typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
  1.3376 +typedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
  1.3377 +typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
  1.3378 +typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
  1.3379 +typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
  1.3380 +typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
  1.3381 +typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
  1.3382 +typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  1.3383 +#ifdef GL_GLEXT_PROTOTYPES
  1.3384 +GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  1.3385 +GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
  1.3386 +GLAPI void APIENTRY glClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
  1.3387 +GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
  1.3388 +GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
  1.3389 +GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
  1.3390 +GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
  1.3391 +GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
  1.3392 +GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  1.3393 +#endif
  1.3394 +#endif /* GL_VERSION_4_4 */
  1.3395 +
  1.3396 +#ifndef GL_ARB_ES2_compatibility
  1.3397 +#define GL_ARB_ES2_compatibility 1
  1.3398 +#endif /* GL_ARB_ES2_compatibility */
  1.3399 +
  1.3400 +#ifndef GL_ARB_ES3_compatibility
  1.3401 +#define GL_ARB_ES3_compatibility 1
  1.3402 +#endif /* GL_ARB_ES3_compatibility */
  1.3403 +
  1.3404 +#ifndef GL_ARB_arrays_of_arrays
  1.3405 +#define GL_ARB_arrays_of_arrays 1
  1.3406 +#endif /* GL_ARB_arrays_of_arrays */
  1.3407 +
  1.3408 +#ifndef GL_ARB_base_instance
  1.3409 +#define GL_ARB_base_instance 1
  1.3410 +#endif /* GL_ARB_base_instance */
  1.3411 +
  1.3412 +#ifndef GL_ARB_bindless_texture
  1.3413 +#define GL_ARB_bindless_texture 1
  1.3414 +typedef uint64_t GLuint64EXT;
  1.3415 +#define GL_UNSIGNED_INT64_ARB             0x140F
  1.3416 +typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
  1.3417 +typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
  1.3418 +typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
  1.3419 +typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
  1.3420 +typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  1.3421 +typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
  1.3422 +typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
  1.3423 +typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
  1.3424 +typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
  1.3425 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
  1.3426 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  1.3427 +typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
  1.3428 +typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
  1.3429 +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
  1.3430 +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
  1.3431 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
  1.3432 +#ifdef GL_GLEXT_PROTOTYPES
  1.3433 +GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
  1.3434 +GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
  1.3435 +GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
  1.3436 +GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
  1.3437 +GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  1.3438 +GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
  1.3439 +GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
  1.3440 +GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
  1.3441 +GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
  1.3442 +GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
  1.3443 +GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  1.3444 +GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
  1.3445 +GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
  1.3446 +GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
  1.3447 +GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
  1.3448 +GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
  1.3449 +#endif
  1.3450 +#endif /* GL_ARB_bindless_texture */
  1.3451 +
  1.3452 +#ifndef GL_ARB_blend_func_extended
  1.3453 +#define GL_ARB_blend_func_extended 1
  1.3454 +#endif /* GL_ARB_blend_func_extended */
  1.3455 +
  1.3456 +#ifndef GL_ARB_buffer_storage
  1.3457 +#define GL_ARB_buffer_storage 1
  1.3458 +#endif /* GL_ARB_buffer_storage */
  1.3459  
  1.3460  #ifndef GL_ARB_cl_event
  1.3461 +#define GL_ARB_cl_event 1
  1.3462 +struct _cl_context;
  1.3463 +struct _cl_event;
  1.3464  #define GL_SYNC_CL_EVENT_ARB              0x8240
  1.3465  #define GL_SYNC_CL_EVENT_COMPLETE_ARB     0x8241
  1.3466 -#endif
  1.3467 +typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
  1.3468 +#ifdef GL_GLEXT_PROTOTYPES
  1.3469 +GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
  1.3470 +#endif
  1.3471 +#endif /* GL_ARB_cl_event */
  1.3472 +
  1.3473 +#ifndef GL_ARB_clear_buffer_object
  1.3474 +#define GL_ARB_clear_buffer_object 1
  1.3475 +#endif /* GL_ARB_clear_buffer_object */
  1.3476 +
  1.3477 +#ifndef GL_ARB_clear_texture
  1.3478 +#define GL_ARB_clear_texture 1
  1.3479 +#endif /* GL_ARB_clear_texture */
  1.3480 +
  1.3481 +#ifndef GL_ARB_color_buffer_float
  1.3482 +#define GL_ARB_color_buffer_float 1
  1.3483 +#define GL_RGBA_FLOAT_MODE_ARB            0x8820
  1.3484 +#define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
  1.3485 +#define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
  1.3486 +#define GL_CLAMP_READ_COLOR_ARB           0x891C
  1.3487 +#define GL_FIXED_ONLY_ARB                 0x891D
  1.3488 +typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
  1.3489 +#ifdef GL_GLEXT_PROTOTYPES
  1.3490 +GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
  1.3491 +#endif
  1.3492 +#endif /* GL_ARB_color_buffer_float */
  1.3493 +
  1.3494 +#ifndef GL_ARB_compatibility
  1.3495 +#define GL_ARB_compatibility 1
  1.3496 +#endif /* GL_ARB_compatibility */
  1.3497 +
  1.3498 +#ifndef GL_ARB_compressed_texture_pixel_storage
  1.3499 +#define GL_ARB_compressed_texture_pixel_storage 1
  1.3500 +#endif /* GL_ARB_compressed_texture_pixel_storage */
  1.3501 +
  1.3502 +#ifndef GL_ARB_compute_shader
  1.3503 +#define GL_ARB_compute_shader 1
  1.3504 +#define GL_COMPUTE_SHADER_BIT             0x00000020
  1.3505 +#endif /* GL_ARB_compute_shader */
  1.3506 +
  1.3507 +#ifndef GL_ARB_compute_variable_group_size
  1.3508 +#define GL_ARB_compute_variable_group_size 1
  1.3509 +#define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
  1.3510 +#define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
  1.3511 +#define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
  1.3512 +#define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
  1.3513 +typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
  1.3514 +#ifdef GL_GLEXT_PROTOTYPES
  1.3515 +GLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
  1.3516 +#endif
  1.3517 +#endif /* GL_ARB_compute_variable_group_size */
  1.3518 +
  1.3519 +#ifndef GL_ARB_conservative_depth
  1.3520 +#define GL_ARB_conservative_depth 1
  1.3521 +#endif /* GL_ARB_conservative_depth */
  1.3522 +
  1.3523 +#ifndef GL_ARB_copy_buffer
  1.3524 +#define GL_ARB_copy_buffer 1
  1.3525 +#define GL_COPY_READ_BUFFER_BINDING       0x8F36
  1.3526 +#define GL_COPY_WRITE_BUFFER_BINDING      0x8F37
  1.3527 +#endif /* GL_ARB_copy_buffer */
  1.3528 +
  1.3529 +#ifndef GL_ARB_copy_image
  1.3530 +#define GL_ARB_copy_image 1
  1.3531 +#endif /* GL_ARB_copy_image */
  1.3532  
  1.3533  #ifndef GL_ARB_debug_output
  1.3534 +#define GL_ARB_debug_output 1
  1.3535 +typedef void (APIENTRY  *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
  1.3536  #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB   0x8242
  1.3537  #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
  1.3538  #define GL_DEBUG_CALLBACK_FUNCTION_ARB    0x8244
  1.3539 @@ -2124,10 +2732,726 @@
  1.3540  #define GL_DEBUG_SEVERITY_HIGH_ARB        0x9146
  1.3541  #define GL_DEBUG_SEVERITY_MEDIUM_ARB      0x9147
  1.3542  #define GL_DEBUG_SEVERITY_LOW_ARB         0x9148
  1.3543 -#endif
  1.3544 +typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  1.3545 +typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  1.3546 +typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
  1.3547 +typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  1.3548 +#ifdef GL_GLEXT_PROTOTYPES
  1.3549 +GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  1.3550 +GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  1.3551 +GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
  1.3552 +GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  1.3553 +#endif
  1.3554 +#endif /* GL_ARB_debug_output */
  1.3555 +
  1.3556 +#ifndef GL_ARB_depth_buffer_float
  1.3557 +#define GL_ARB_depth_buffer_float 1
  1.3558 +#endif /* GL_ARB_depth_buffer_float */
  1.3559 +
  1.3560 +#ifndef GL_ARB_depth_clamp
  1.3561 +#define GL_ARB_depth_clamp 1
  1.3562 +#endif /* GL_ARB_depth_clamp */
  1.3563 +
  1.3564 +#ifndef GL_ARB_depth_texture
  1.3565 +#define GL_ARB_depth_texture 1
  1.3566 +#define GL_DEPTH_COMPONENT16_ARB          0x81A5
  1.3567 +#define GL_DEPTH_COMPONENT24_ARB          0x81A6
  1.3568 +#define GL_DEPTH_COMPONENT32_ARB          0x81A7
  1.3569 +#define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
  1.3570 +#define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
  1.3571 +#endif /* GL_ARB_depth_texture */
  1.3572 +
  1.3573 +#ifndef GL_ARB_draw_buffers
  1.3574 +#define GL_ARB_draw_buffers 1
  1.3575 +#define GL_MAX_DRAW_BUFFERS_ARB           0x8824
  1.3576 +#define GL_DRAW_BUFFER0_ARB               0x8825
  1.3577 +#define GL_DRAW_BUFFER1_ARB               0x8826
  1.3578 +#define GL_DRAW_BUFFER2_ARB               0x8827
  1.3579 +#define GL_DRAW_BUFFER3_ARB               0x8828
  1.3580 +#define GL_DRAW_BUFFER4_ARB               0x8829
  1.3581 +#define GL_DRAW_BUFFER5_ARB               0x882A
  1.3582 +#define GL_DRAW_BUFFER6_ARB               0x882B
  1.3583 +#define GL_DRAW_BUFFER7_ARB               0x882C
  1.3584 +#define GL_DRAW_BUFFER8_ARB               0x882D
  1.3585 +#define GL_DRAW_BUFFER9_ARB               0x882E
  1.3586 +#define GL_DRAW_BUFFER10_ARB              0x882F
  1.3587 +#define GL_DRAW_BUFFER11_ARB              0x8830
  1.3588 +#define GL_DRAW_BUFFER12_ARB              0x8831
  1.3589 +#define GL_DRAW_BUFFER13_ARB              0x8832
  1.3590 +#define GL_DRAW_BUFFER14_ARB              0x8833
  1.3591 +#define GL_DRAW_BUFFER15_ARB              0x8834
  1.3592 +typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
  1.3593 +#ifdef GL_GLEXT_PROTOTYPES
  1.3594 +GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
  1.3595 +#endif
  1.3596 +#endif /* GL_ARB_draw_buffers */
  1.3597 +
  1.3598 +#ifndef GL_ARB_draw_buffers_blend
  1.3599 +#define GL_ARB_draw_buffers_blend 1
  1.3600 +typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
  1.3601 +typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1.3602 +typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
  1.3603 +typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1.3604 +#ifdef GL_GLEXT_PROTOTYPES
  1.3605 +GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
  1.3606 +GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1.3607 +GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
  1.3608 +GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1.3609 +#endif
  1.3610 +#endif /* GL_ARB_draw_buffers_blend */
  1.3611 +
  1.3612 +#ifndef GL_ARB_draw_elements_base_vertex
  1.3613 +#define GL_ARB_draw_elements_base_vertex 1
  1.3614 +#endif /* GL_ARB_draw_elements_base_vertex */
  1.3615 +
  1.3616 +#ifndef GL_ARB_draw_indirect
  1.3617 +#define GL_ARB_draw_indirect 1
  1.3618 +#endif /* GL_ARB_draw_indirect */
  1.3619 +
  1.3620 +#ifndef GL_ARB_draw_instanced
  1.3621 +#define GL_ARB_draw_instanced 1
  1.3622 +typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  1.3623 +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  1.3624 +#ifdef GL_GLEXT_PROTOTYPES
  1.3625 +GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  1.3626 +GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  1.3627 +#endif
  1.3628 +#endif /* GL_ARB_draw_instanced */
  1.3629 +
  1.3630 +#ifndef GL_ARB_enhanced_layouts
  1.3631 +#define GL_ARB_enhanced_layouts 1
  1.3632 +#endif /* GL_ARB_enhanced_layouts */
  1.3633 +
  1.3634 +#ifndef GL_ARB_explicit_attrib_location
  1.3635 +#define GL_ARB_explicit_attrib_location 1
  1.3636 +#endif /* GL_ARB_explicit_attrib_location */
  1.3637 +
  1.3638 +#ifndef GL_ARB_explicit_uniform_location
  1.3639 +#define GL_ARB_explicit_uniform_location 1
  1.3640 +#endif /* GL_ARB_explicit_uniform_location */
  1.3641 +
  1.3642 +#ifndef GL_ARB_fragment_coord_conventions
  1.3643 +#define GL_ARB_fragment_coord_conventions 1
  1.3644 +#endif /* GL_ARB_fragment_coord_conventions */
  1.3645 +
  1.3646 +#ifndef GL_ARB_fragment_layer_viewport
  1.3647 +#define GL_ARB_fragment_layer_viewport 1
  1.3648 +#endif /* GL_ARB_fragment_layer_viewport */
  1.3649 +
  1.3650 +#ifndef GL_ARB_fragment_program
  1.3651 +#define GL_ARB_fragment_program 1
  1.3652 +#define GL_FRAGMENT_PROGRAM_ARB           0x8804
  1.3653 +#define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875
  1.3654 +#define GL_PROGRAM_LENGTH_ARB             0x8627
  1.3655 +#define GL_PROGRAM_FORMAT_ARB             0x8876
  1.3656 +#define GL_PROGRAM_BINDING_ARB            0x8677
  1.3657 +#define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
  1.3658 +#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
  1.3659 +#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
  1.3660 +#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
  1.3661 +#define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
  1.3662 +#define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
  1.3663 +#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
  1.3664 +#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
  1.3665 +#define GL_PROGRAM_PARAMETERS_ARB         0x88A8
  1.3666 +#define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
  1.3667 +#define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
  1.3668 +#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
  1.3669 +#define GL_PROGRAM_ATTRIBS_ARB            0x88AC
  1.3670 +#define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
  1.3671 +#define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
  1.3672 +#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
  1.3673 +#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
  1.3674 +#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
  1.3675 +#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
  1.3676 +#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
  1.3677 +#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
  1.3678 +#define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
  1.3679 +#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
  1.3680 +#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
  1.3681 +#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
  1.3682 +#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
  1.3683 +#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
  1.3684 +#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
  1.3685 +#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
  1.3686 +#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
  1.3687 +#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
  1.3688 +#define GL_PROGRAM_STRING_ARB             0x8628
  1.3689 +#define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
  1.3690 +#define GL_CURRENT_MATRIX_ARB             0x8641
  1.3691 +#define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7
  1.3692 +#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
  1.3693 +#define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
  1.3694 +#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
  1.3695 +#define GL_MAX_TEXTURE_COORDS_ARB         0x8871
  1.3696 +#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
  1.3697 +#define GL_PROGRAM_ERROR_STRING_ARB       0x8874
  1.3698 +#define GL_MATRIX0_ARB                    0x88C0
  1.3699 +#define GL_MATRIX1_ARB                    0x88C1
  1.3700 +#define GL_MATRIX2_ARB                    0x88C2
  1.3701 +#define GL_MATRIX3_ARB                    0x88C3
  1.3702 +#define GL_MATRIX4_ARB                    0x88C4
  1.3703 +#define GL_MATRIX5_ARB                    0x88C5
  1.3704 +#define GL_MATRIX6_ARB                    0x88C6
  1.3705 +#define GL_MATRIX7_ARB                    0x88C7
  1.3706 +#define GL_MATRIX8_ARB                    0x88C8
  1.3707 +#define GL_MATRIX9_ARB                    0x88C9
  1.3708 +#define GL_MATRIX10_ARB                   0x88CA
  1.3709 +#define GL_MATRIX11_ARB                   0x88CB
  1.3710 +#define GL_MATRIX12_ARB                   0x88CC
  1.3711 +#define GL_MATRIX13_ARB                   0x88CD
  1.3712 +#define GL_MATRIX14_ARB                   0x88CE
  1.3713 +#define GL_MATRIX15_ARB                   0x88CF
  1.3714 +#define GL_MATRIX16_ARB                   0x88D0
  1.3715 +#define GL_MATRIX17_ARB                   0x88D1
  1.3716 +#define GL_MATRIX18_ARB                   0x88D2
  1.3717 +#define GL_MATRIX19_ARB                   0x88D3
  1.3718 +#define GL_MATRIX20_ARB                   0x88D4
  1.3719 +#define GL_MATRIX21_ARB                   0x88D5
  1.3720 +#define GL_MATRIX22_ARB                   0x88D6
  1.3721 +#define GL_MATRIX23_ARB                   0x88D7
  1.3722 +#define GL_MATRIX24_ARB                   0x88D8
  1.3723 +#define GL_MATRIX25_ARB                   0x88D9
  1.3724 +#define GL_MATRIX26_ARB                   0x88DA
  1.3725 +#define GL_MATRIX27_ARB                   0x88DB
  1.3726 +#define GL_MATRIX28_ARB                   0x88DC
  1.3727 +#define GL_MATRIX29_ARB                   0x88DD
  1.3728 +#define GL_MATRIX30_ARB                   0x88DE
  1.3729 +#define GL_MATRIX31_ARB                   0x88DF
  1.3730 +typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string);
  1.3731 +typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
  1.3732 +typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
  1.3733 +typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
  1.3734 +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.3735 +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  1.3736 +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1.3737 +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  1.3738 +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.3739 +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  1.3740 +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1.3741 +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  1.3742 +typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  1.3743 +typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  1.3744 +typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  1.3745 +typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  1.3746 +typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  1.3747 +typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string);
  1.3748 +typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
  1.3749 +#ifdef GL_GLEXT_PROTOTYPES
  1.3750 +GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string);
  1.3751 +GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
  1.3752 +GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
  1.3753 +GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
  1.3754 +GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.3755 +GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
  1.3756 +GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1.3757 +GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
  1.3758 +GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.3759 +GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
  1.3760 +GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1.3761 +GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
  1.3762 +GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
  1.3763 +GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
  1.3764 +GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
  1.3765 +GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
  1.3766 +GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
  1.3767 +GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string);
  1.3768 +GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
  1.3769 +#endif
  1.3770 +#endif /* GL_ARB_fragment_program */
  1.3771 +
  1.3772 +#ifndef GL_ARB_fragment_program_shadow
  1.3773 +#define GL_ARB_fragment_program_shadow 1
  1.3774 +#endif /* GL_ARB_fragment_program_shadow */
  1.3775 +
  1.3776 +#ifndef GL_ARB_fragment_shader
  1.3777 +#define GL_ARB_fragment_shader 1
  1.3778 +#define GL_FRAGMENT_SHADER_ARB            0x8B30
  1.3779 +#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
  1.3780 +#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
  1.3781 +#endif /* GL_ARB_fragment_shader */
  1.3782 +
  1.3783 +#ifndef GL_ARB_framebuffer_no_attachments
  1.3784 +#define GL_ARB_framebuffer_no_attachments 1
  1.3785 +#endif /* GL_ARB_framebuffer_no_attachments */
  1.3786 +
  1.3787 +#ifndef GL_ARB_framebuffer_object
  1.3788 +#define GL_ARB_framebuffer_object 1
  1.3789 +#endif /* GL_ARB_framebuffer_object */
  1.3790 +
  1.3791 +#ifndef GL_ARB_framebuffer_sRGB
  1.3792 +#define GL_ARB_framebuffer_sRGB 1
  1.3793 +#endif /* GL_ARB_framebuffer_sRGB */
  1.3794 +
  1.3795 +#ifndef GL_ARB_geometry_shader4
  1.3796 +#define GL_ARB_geometry_shader4 1
  1.3797 +#define GL_LINES_ADJACENCY_ARB            0x000A
  1.3798 +#define GL_LINE_STRIP_ADJACENCY_ARB       0x000B
  1.3799 +#define GL_TRIANGLES_ADJACENCY_ARB        0x000C
  1.3800 +#define GL_TRIANGLE_STRIP_ADJACENCY_ARB   0x000D
  1.3801 +#define GL_PROGRAM_POINT_SIZE_ARB         0x8642
  1.3802 +#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
  1.3803 +#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
  1.3804 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
  1.3805 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
  1.3806 +#define GL_GEOMETRY_SHADER_ARB            0x8DD9
  1.3807 +#define GL_GEOMETRY_VERTICES_OUT_ARB      0x8DDA
  1.3808 +#define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
  1.3809 +#define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
  1.3810 +#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
  1.3811 +#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
  1.3812 +#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
  1.3813 +#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
  1.3814 +#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
  1.3815 +typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
  1.3816 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1.3817 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1.3818 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  1.3819 +#ifdef GL_GLEXT_PROTOTYPES
  1.3820 +GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
  1.3821 +GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1.3822 +GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1.3823 +GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  1.3824 +#endif
  1.3825 +#endif /* GL_ARB_geometry_shader4 */
  1.3826 +
  1.3827 +#ifndef GL_ARB_get_program_binary
  1.3828 +#define GL_ARB_get_program_binary 1
  1.3829 +#endif /* GL_ARB_get_program_binary */
  1.3830 +
  1.3831 +#ifndef GL_ARB_gpu_shader5
  1.3832 +#define GL_ARB_gpu_shader5 1
  1.3833 +#endif /* GL_ARB_gpu_shader5 */
  1.3834 +
  1.3835 +#ifndef GL_ARB_gpu_shader_fp64
  1.3836 +#define GL_ARB_gpu_shader_fp64 1
  1.3837 +#endif /* GL_ARB_gpu_shader_fp64 */
  1.3838 +
  1.3839 +#ifndef GL_ARB_half_float_pixel
  1.3840 +#define GL_ARB_half_float_pixel 1
  1.3841 +typedef unsigned short GLhalfARB;
  1.3842 +#define GL_HALF_FLOAT_ARB                 0x140B
  1.3843 +#endif /* GL_ARB_half_float_pixel */
  1.3844 +
  1.3845 +#ifndef GL_ARB_half_float_vertex
  1.3846 +#define GL_ARB_half_float_vertex 1
  1.3847 +#endif /* GL_ARB_half_float_vertex */
  1.3848 +
  1.3849 +#ifndef GL_ARB_imaging
  1.3850 +#define GL_ARB_imaging 1
  1.3851 +#define GL_BLEND_COLOR                    0x8005
  1.3852 +#define GL_BLEND_EQUATION                 0x8009
  1.3853 +#define GL_CONVOLUTION_1D                 0x8010
  1.3854 +#define GL_CONVOLUTION_2D                 0x8011
  1.3855 +#define GL_SEPARABLE_2D                   0x8012
  1.3856 +#define GL_CONVOLUTION_BORDER_MODE        0x8013
  1.3857 +#define GL_CONVOLUTION_FILTER_SCALE       0x8014
  1.3858 +#define GL_CONVOLUTION_FILTER_BIAS        0x8015
  1.3859 +#define GL_REDUCE                         0x8016
  1.3860 +#define GL_CONVOLUTION_FORMAT             0x8017
  1.3861 +#define GL_CONVOLUTION_WIDTH              0x8018
  1.3862 +#define GL_CONVOLUTION_HEIGHT             0x8019
  1.3863 +#define GL_MAX_CONVOLUTION_WIDTH          0x801A
  1.3864 +#define GL_MAX_CONVOLUTION_HEIGHT         0x801B
  1.3865 +#define GL_POST_CONVOLUTION_RED_SCALE     0x801C
  1.3866 +#define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
  1.3867 +#define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
  1.3868 +#define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
  1.3869 +#define GL_POST_CONVOLUTION_RED_BIAS      0x8020
  1.3870 +#define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
  1.3871 +#define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
  1.3872 +#define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
  1.3873 +#define GL_HISTOGRAM                      0x8024
  1.3874 +#define GL_PROXY_HISTOGRAM                0x8025
  1.3875 +#define GL_HISTOGRAM_WIDTH                0x8026
  1.3876 +#define GL_HISTOGRAM_FORMAT               0x8027
  1.3877 +#define GL_HISTOGRAM_RED_SIZE             0x8028
  1.3878 +#define GL_HISTOGRAM_GREEN_SIZE           0x8029
  1.3879 +#define GL_HISTOGRAM_BLUE_SIZE            0x802A
  1.3880 +#define GL_HISTOGRAM_ALPHA_SIZE           0x802B
  1.3881 +#define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
  1.3882 +#define GL_HISTOGRAM_SINK                 0x802D
  1.3883 +#define GL_MINMAX                         0x802E
  1.3884 +#define GL_MINMAX_FORMAT                  0x802F
  1.3885 +#define GL_MINMAX_SINK                    0x8030
  1.3886 +#define GL_TABLE_TOO_LARGE                0x8031
  1.3887 +#define GL_COLOR_MATRIX                   0x80B1
  1.3888 +#define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
  1.3889 +#define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
  1.3890 +#define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
  1.3891 +#define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
  1.3892 +#define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
  1.3893 +#define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
  1.3894 +#define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
  1.3895 +#define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
  1.3896 +#define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
  1.3897 +#define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
  1.3898 +#define GL_COLOR_TABLE                    0x80D0
  1.3899 +#define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
  1.3900 +#define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
  1.3901 +#define GL_PROXY_COLOR_TABLE              0x80D3
  1.3902 +#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
  1.3903 +#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
  1.3904 +#define GL_COLOR_TABLE_SCALE              0x80D6
  1.3905 +#define GL_COLOR_TABLE_BIAS               0x80D7
  1.3906 +#define GL_COLOR_TABLE_FORMAT             0x80D8
  1.3907 +#define GL_COLOR_TABLE_WIDTH              0x80D9
  1.3908 +#define GL_COLOR_TABLE_RED_SIZE           0x80DA
  1.3909 +#define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
  1.3910 +#define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
  1.3911 +#define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
  1.3912 +#define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
  1.3913 +#define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
  1.3914 +#define GL_CONSTANT_BORDER                0x8151
  1.3915 +#define GL_REPLICATE_BORDER               0x8153
  1.3916 +#define GL_CONVOLUTION_BORDER_COLOR       0x8154
  1.3917 +typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  1.3918 +typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  1.3919 +typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  1.3920 +typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  1.3921 +typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table);
  1.3922 +typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  1.3923 +typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1.3924 +typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  1.3925 +typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  1.3926 +typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  1.3927 +typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  1.3928 +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
  1.3929 +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  1.3930 +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
  1.3931 +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  1.3932 +typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  1.3933 +typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  1.3934 +typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image);
  1.3935 +typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  1.3936 +typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1.3937 +typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  1.3938 +typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  1.3939 +typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  1.3940 +typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  1.3941 +typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1.3942 +typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  1.3943 +typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  1.3944 +typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1.3945 +typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  1.3946 +typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  1.3947 +typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
  1.3948 +typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
  1.3949 +#ifdef GL_GLEXT_PROTOTYPES
  1.3950 +GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  1.3951 +GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  1.3952 +GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
  1.3953 +GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  1.3954 +GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table);
  1.3955 +GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
  1.3956 +GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
  1.3957 +GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  1.3958 +GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  1.3959 +GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  1.3960 +GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  1.3961 +GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
  1.3962 +GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  1.3963 +GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
  1.3964 +GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
  1.3965 +GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  1.3966 +GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  1.3967 +GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image);
  1.3968 +GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
  1.3969 +GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
  1.3970 +GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  1.3971 +GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  1.3972 +GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  1.3973 +GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
  1.3974 +GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
  1.3975 +GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  1.3976 +GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
  1.3977 +GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
  1.3978 +GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  1.3979 +GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
  1.3980 +GLAPI void APIENTRY glResetHistogram (GLenum target);
  1.3981 +GLAPI void APIENTRY glResetMinmax (GLenum target);
  1.3982 +#endif
  1.3983 +#endif /* GL_ARB_imaging */
  1.3984 +
  1.3985 +#ifndef GL_ARB_indirect_parameters
  1.3986 +#define GL_ARB_indirect_parameters 1
  1.3987 +#define GL_PARAMETER_BUFFER_ARB           0x80EE
  1.3988 +#define GL_PARAMETER_BUFFER_BINDING_ARB   0x80EF
  1.3989 +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  1.3990 +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  1.3991 +#ifdef GL_GLEXT_PROTOTYPES
  1.3992 +GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  1.3993 +GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  1.3994 +#endif
  1.3995 +#endif /* GL_ARB_indirect_parameters */
  1.3996 +
  1.3997 +#ifndef GL_ARB_instanced_arrays
  1.3998 +#define GL_ARB_instanced_arrays 1
  1.3999 +#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
  1.4000 +typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
  1.4001 +#ifdef GL_GLEXT_PROTOTYPES
  1.4002 +GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
  1.4003 +#endif
  1.4004 +#endif /* GL_ARB_instanced_arrays */
  1.4005 +
  1.4006 +#ifndef GL_ARB_internalformat_query
  1.4007 +#define GL_ARB_internalformat_query 1
  1.4008 +#endif /* GL_ARB_internalformat_query */
  1.4009 +
  1.4010 +#ifndef GL_ARB_internalformat_query2
  1.4011 +#define GL_ARB_internalformat_query2 1
  1.4012 +#define GL_SRGB_DECODE_ARB                0x8299
  1.4013 +#endif /* GL_ARB_internalformat_query2 */
  1.4014 +
  1.4015 +#ifndef GL_ARB_invalidate_subdata
  1.4016 +#define GL_ARB_invalidate_subdata 1
  1.4017 +#endif /* GL_ARB_invalidate_subdata */
  1.4018 +
  1.4019 +#ifndef GL_ARB_map_buffer_alignment
  1.4020 +#define GL_ARB_map_buffer_alignment 1
  1.4021 +#endif /* GL_ARB_map_buffer_alignment */
  1.4022 +
  1.4023 +#ifndef GL_ARB_map_buffer_range
  1.4024 +#define GL_ARB_map_buffer_range 1
  1.4025 +#endif /* GL_ARB_map_buffer_range */
  1.4026 +
  1.4027 +#ifndef GL_ARB_matrix_palette
  1.4028 +#define GL_ARB_matrix_palette 1
  1.4029 +#define GL_MATRIX_PALETTE_ARB             0x8840
  1.4030 +#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
  1.4031 +#define GL_MAX_PALETTE_MATRICES_ARB       0x8842
  1.4032 +#define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
  1.4033 +#define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
  1.4034 +#define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
  1.4035 +#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
  1.4036 +#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
  1.4037 +#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
  1.4038 +#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
  1.4039 +typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
  1.4040 +typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
  1.4041 +typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
  1.4042 +typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
  1.4043 +typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  1.4044 +#ifdef GL_GLEXT_PROTOTYPES
  1.4045 +GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
  1.4046 +GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
  1.4047 +GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
  1.4048 +GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
  1.4049 +GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
  1.4050 +#endif
  1.4051 +#endif /* GL_ARB_matrix_palette */
  1.4052 +
  1.4053 +#ifndef GL_ARB_multi_bind
  1.4054 +#define GL_ARB_multi_bind 1
  1.4055 +#endif /* GL_ARB_multi_bind */
  1.4056 +
  1.4057 +#ifndef GL_ARB_multi_draw_indirect
  1.4058 +#define GL_ARB_multi_draw_indirect 1
  1.4059 +#endif /* GL_ARB_multi_draw_indirect */
  1.4060 +
  1.4061 +#ifndef GL_ARB_multisample
  1.4062 +#define GL_ARB_multisample 1
  1.4063 +#define GL_MULTISAMPLE_ARB                0x809D
  1.4064 +#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
  1.4065 +#define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
  1.4066 +#define GL_SAMPLE_COVERAGE_ARB            0x80A0
  1.4067 +#define GL_SAMPLE_BUFFERS_ARB             0x80A8
  1.4068 +#define GL_SAMPLES_ARB                    0x80A9
  1.4069 +#define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
  1.4070 +#define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
  1.4071 +#define GL_MULTISAMPLE_BIT_ARB            0x20000000
  1.4072 +typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
  1.4073 +#ifdef GL_GLEXT_PROTOTYPES
  1.4074 +GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
  1.4075 +#endif
  1.4076 +#endif /* GL_ARB_multisample */
  1.4077 +
  1.4078 +#ifndef GL_ARB_multitexture
  1.4079 +#define GL_ARB_multitexture 1
  1.4080 +#define GL_TEXTURE0_ARB                   0x84C0
  1.4081 +#define GL_TEXTURE1_ARB                   0x84C1
  1.4082 +#define GL_TEXTURE2_ARB                   0x84C2
  1.4083 +#define GL_TEXTURE3_ARB                   0x84C3
  1.4084 +#define GL_TEXTURE4_ARB                   0x84C4
  1.4085 +#define GL_TEXTURE5_ARB                   0x84C5
  1.4086 +#define GL_TEXTURE6_ARB                   0x84C6
  1.4087 +#define GL_TEXTURE7_ARB                   0x84C7
  1.4088 +#define GL_TEXTURE8_ARB                   0x84C8
  1.4089 +#define GL_TEXTURE9_ARB                   0x84C9
  1.4090 +#define GL_TEXTURE10_ARB                  0x84CA
  1.4091 +#define GL_TEXTURE11_ARB                  0x84CB
  1.4092 +#define GL_TEXTURE12_ARB                  0x84CC
  1.4093 +#define GL_TEXTURE13_ARB                  0x84CD
  1.4094 +#define GL_TEXTURE14_ARB                  0x84CE
  1.4095 +#define GL_TEXTURE15_ARB                  0x84CF
  1.4096 +#define GL_TEXTURE16_ARB                  0x84D0
  1.4097 +#define GL_TEXTURE17_ARB                  0x84D1
  1.4098 +#define GL_TEXTURE18_ARB                  0x84D2
  1.4099 +#define GL_TEXTURE19_ARB                  0x84D3
  1.4100 +#define GL_TEXTURE20_ARB                  0x84D4
  1.4101 +#define GL_TEXTURE21_ARB                  0x84D5
  1.4102 +#define GL_TEXTURE22_ARB                  0x84D6
  1.4103 +#define GL_TEXTURE23_ARB                  0x84D7
  1.4104 +#define GL_TEXTURE24_ARB                  0x84D8
  1.4105 +#define GL_TEXTURE25_ARB                  0x84D9
  1.4106 +#define GL_TEXTURE26_ARB                  0x84DA
  1.4107 +#define GL_TEXTURE27_ARB                  0x84DB
  1.4108 +#define GL_TEXTURE28_ARB                  0x84DC
  1.4109 +#define GL_TEXTURE29_ARB                  0x84DD
  1.4110 +#define GL_TEXTURE30_ARB                  0x84DE
  1.4111 +#define GL_TEXTURE31_ARB                  0x84DF
  1.4112 +#define GL_ACTIVE_TEXTURE_ARB             0x84E0
  1.4113 +#define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
  1.4114 +#define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
  1.4115 +typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
  1.4116 +typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
  1.4117 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
  1.4118 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
  1.4119 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
  1.4120 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
  1.4121 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
  1.4122 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
  1.4123 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
  1.4124 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
  1.4125 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
  1.4126 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
  1.4127 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
  1.4128 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
  1.4129 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
  1.4130 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
  1.4131 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
  1.4132 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
  1.4133 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  1.4134 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
  1.4135 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  1.4136 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
  1.4137 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
  1.4138 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
  1.4139 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  1.4140 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
  1.4141 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  1.4142 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
  1.4143 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  1.4144 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
  1.4145 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  1.4146 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
  1.4147 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  1.4148 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
  1.4149 +#ifdef GL_GLEXT_PROTOTYPES
  1.4150 +GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
  1.4151 +GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
  1.4152 +GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
  1.4153 +GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
  1.4154 +GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
  1.4155 +GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
  1.4156 +GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
  1.4157 +GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
  1.4158 +GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
  1.4159 +GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
  1.4160 +GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
  1.4161 +GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
  1.4162 +GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
  1.4163 +GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
  1.4164 +GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
  1.4165 +GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
  1.4166 +GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
  1.4167 +GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
  1.4168 +GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  1.4169 +GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
  1.4170 +GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  1.4171 +GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
  1.4172 +GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
  1.4173 +GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
  1.4174 +GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
  1.4175 +GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
  1.4176 +GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  1.4177 +GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
  1.4178 +GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  1.4179 +GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
  1.4180 +GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
  1.4181 +GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
  1.4182 +GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  1.4183 +GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
  1.4184 +#endif
  1.4185 +#endif /* GL_ARB_multitexture */
  1.4186 +
  1.4187 +#ifndef GL_ARB_occlusion_query
  1.4188 +#define GL_ARB_occlusion_query 1
  1.4189 +#define GL_QUERY_COUNTER_BITS_ARB         0x8864
  1.4190 +#define GL_CURRENT_QUERY_ARB              0x8865
  1.4191 +#define GL_QUERY_RESULT_ARB               0x8866
  1.4192 +#define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
  1.4193 +#define GL_SAMPLES_PASSED_ARB             0x8914
  1.4194 +typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
  1.4195 +typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
  1.4196 +typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
  1.4197 +typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
  1.4198 +typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
  1.4199 +typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  1.4200 +typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
  1.4201 +typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
  1.4202 +#ifdef GL_GLEXT_PROTOTYPES
  1.4203 +GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
  1.4204 +GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
  1.4205 +GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
  1.4206 +GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
  1.4207 +GLAPI void APIENTRY glEndQueryARB (GLenum target);
  1.4208 +GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
  1.4209 +GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
  1.4210 +GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
  1.4211 +#endif
  1.4212 +#endif /* GL_ARB_occlusion_query */
  1.4213 +
  1.4214 +#ifndef GL_ARB_occlusion_query2
  1.4215 +#define GL_ARB_occlusion_query2 1
  1.4216 +#endif /* GL_ARB_occlusion_query2 */
  1.4217 +
  1.4218 +#ifndef GL_ARB_pixel_buffer_object
  1.4219 +#define GL_ARB_pixel_buffer_object 1
  1.4220 +#define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
  1.4221 +#define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
  1.4222 +#define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
  1.4223 +#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
  1.4224 +#endif /* GL_ARB_pixel_buffer_object */
  1.4225 +
  1.4226 +#ifndef GL_ARB_point_parameters
  1.4227 +#define GL_ARB_point_parameters 1
  1.4228 +#define GL_POINT_SIZE_MIN_ARB             0x8126
  1.4229 +#define GL_POINT_SIZE_MAX_ARB             0x8127
  1.4230 +#define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
  1.4231 +#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
  1.4232 +typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
  1.4233 +typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
  1.4234 +#ifdef GL_GLEXT_PROTOTYPES
  1.4235 +GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
  1.4236 +GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
  1.4237 +#endif
  1.4238 +#endif /* GL_ARB_point_parameters */
  1.4239 +
  1.4240 +#ifndef GL_ARB_point_sprite
  1.4241 +#define GL_ARB_point_sprite 1
  1.4242 +#define GL_POINT_SPRITE_ARB               0x8861
  1.4243 +#define GL_COORD_REPLACE_ARB              0x8862
  1.4244 +#endif /* GL_ARB_point_sprite */
  1.4245 +
  1.4246 +#ifndef GL_ARB_program_interface_query
  1.4247 +#define GL_ARB_program_interface_query 1
  1.4248 +#endif /* GL_ARB_program_interface_query */
  1.4249 +
  1.4250 +#ifndef GL_ARB_provoking_vertex
  1.4251 +#define GL_ARB_provoking_vertex 1
  1.4252 +#endif /* GL_ARB_provoking_vertex */
  1.4253 +
  1.4254 +#ifndef GL_ARB_query_buffer_object
  1.4255 +#define GL_ARB_query_buffer_object 1
  1.4256 +#endif /* GL_ARB_query_buffer_object */
  1.4257 +
  1.4258 +#ifndef GL_ARB_robust_buffer_access_behavior
  1.4259 +#define GL_ARB_robust_buffer_access_behavior 1
  1.4260 +#endif /* GL_ARB_robust_buffer_access_behavior */
  1.4261  
  1.4262  #ifndef GL_ARB_robustness
  1.4263 -/* reuse GL_NO_ERROR */
  1.4264 +#define GL_ARB_robustness 1
  1.4265  #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
  1.4266  #define GL_LOSE_CONTEXT_ON_RESET_ARB      0x8252
  1.4267  #define GL_GUILTY_CONTEXT_RESET_ARB       0x8253
  1.4268 @@ -2135,1490 +3459,1900 @@
  1.4269  #define GL_UNKNOWN_CONTEXT_RESET_ARB      0x8255
  1.4270  #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
  1.4271  #define GL_NO_RESET_NOTIFICATION_ARB      0x8261
  1.4272 -#endif
  1.4273 +typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
  1.4274 +typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
  1.4275 +typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  1.4276 +typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
  1.4277 +typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  1.4278 +typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  1.4279 +typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  1.4280 +typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  1.4281 +typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  1.4282 +typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  1.4283 +typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  1.4284 +typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
  1.4285 +typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
  1.4286 +typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
  1.4287 +typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
  1.4288 +typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
  1.4289 +typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
  1.4290 +typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
  1.4291 +typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  1.4292 +typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  1.4293 +#ifdef GL_GLEXT_PROTOTYPES
  1.4294 +GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
  1.4295 +GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
  1.4296 +GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  1.4297 +GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
  1.4298 +GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  1.4299 +GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  1.4300 +GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  1.4301 +GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  1.4302 +GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  1.4303 +GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  1.4304 +GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  1.4305 +GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
  1.4306 +GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
  1.4307 +GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
  1.4308 +GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
  1.4309 +GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
  1.4310 +GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
  1.4311 +GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
  1.4312 +GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  1.4313 +GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  1.4314 +#endif
  1.4315 +#endif /* GL_ARB_robustness */
  1.4316 +
  1.4317 +#ifndef GL_ARB_robustness_isolation
  1.4318 +#define GL_ARB_robustness_isolation 1
  1.4319 +#endif /* GL_ARB_robustness_isolation */
  1.4320 +
  1.4321 +#ifndef GL_ARB_sample_shading
  1.4322 +#define GL_ARB_sample_shading 1
  1.4323 +#define GL_SAMPLE_SHADING_ARB             0x8C36
  1.4324 +#define GL_MIN_SAMPLE_SHADING_VALUE_ARB   0x8C37
  1.4325 +typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
  1.4326 +#ifdef GL_GLEXT_PROTOTYPES
  1.4327 +GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
  1.4328 +#endif
  1.4329 +#endif /* GL_ARB_sample_shading */
  1.4330 +
  1.4331 +#ifndef GL_ARB_sampler_objects
  1.4332 +#define GL_ARB_sampler_objects 1
  1.4333 +#endif /* GL_ARB_sampler_objects */
  1.4334 +
  1.4335 +#ifndef GL_ARB_seamless_cube_map
  1.4336 +#define GL_ARB_seamless_cube_map 1
  1.4337 +#endif /* GL_ARB_seamless_cube_map */
  1.4338 +
  1.4339 +#ifndef GL_ARB_seamless_cubemap_per_texture
  1.4340 +#define GL_ARB_seamless_cubemap_per_texture 1
  1.4341 +#endif /* GL_ARB_seamless_cubemap_per_texture */
  1.4342 +
  1.4343 +#ifndef GL_ARB_separate_shader_objects
  1.4344 +#define GL_ARB_separate_shader_objects 1
  1.4345 +#endif /* GL_ARB_separate_shader_objects */
  1.4346 +
  1.4347 +#ifndef GL_ARB_shader_atomic_counters
  1.4348 +#define GL_ARB_shader_atomic_counters 1
  1.4349 +#endif /* GL_ARB_shader_atomic_counters */
  1.4350 +
  1.4351 +#ifndef GL_ARB_shader_bit_encoding
  1.4352 +#define GL_ARB_shader_bit_encoding 1
  1.4353 +#endif /* GL_ARB_shader_bit_encoding */
  1.4354 +
  1.4355 +#ifndef GL_ARB_shader_draw_parameters
  1.4356 +#define GL_ARB_shader_draw_parameters 1
  1.4357 +#endif /* GL_ARB_shader_draw_parameters */
  1.4358 +
  1.4359 +#ifndef GL_ARB_shader_group_vote
  1.4360 +#define GL_ARB_shader_group_vote 1
  1.4361 +#endif /* GL_ARB_shader_group_vote */
  1.4362 +
  1.4363 +#ifndef GL_ARB_shader_image_load_store
  1.4364 +#define GL_ARB_shader_image_load_store 1
  1.4365 +#endif /* GL_ARB_shader_image_load_store */
  1.4366 +
  1.4367 +#ifndef GL_ARB_shader_image_size
  1.4368 +#define GL_ARB_shader_image_size 1
  1.4369 +#endif /* GL_ARB_shader_image_size */
  1.4370 +
  1.4371 +#ifndef GL_ARB_shader_objects
  1.4372 +#define GL_ARB_shader_objects 1
  1.4373 +#ifdef __APPLE__
  1.4374 +typedef void *GLhandleARB;
  1.4375 +#else
  1.4376 +typedef unsigned int GLhandleARB;
  1.4377 +#endif
  1.4378 +typedef char GLcharARB;
  1.4379 +#define GL_PROGRAM_OBJECT_ARB             0x8B40
  1.4380 +#define GL_SHADER_OBJECT_ARB              0x8B48
  1.4381 +#define GL_OBJECT_TYPE_ARB                0x8B4E
  1.4382 +#define GL_OBJECT_SUBTYPE_ARB             0x8B4F
  1.4383 +#define GL_FLOAT_VEC2_ARB                 0x8B50
  1.4384 +#define GL_FLOAT_VEC3_ARB                 0x8B51
  1.4385 +#define GL_FLOAT_VEC4_ARB                 0x8B52
  1.4386 +#define GL_INT_VEC2_ARB                   0x8B53
  1.4387 +#define GL_INT_VEC3_ARB                   0x8B54
  1.4388 +#define GL_INT_VEC4_ARB                   0x8B55
  1.4389 +#define GL_BOOL_ARB                       0x8B56
  1.4390 +#define GL_BOOL_VEC2_ARB                  0x8B57
  1.4391 +#define GL_BOOL_VEC3_ARB                  0x8B58
  1.4392 +#define GL_BOOL_VEC4_ARB                  0x8B59
  1.4393 +#define GL_FLOAT_MAT2_ARB                 0x8B5A
  1.4394 +#define GL_FLOAT_MAT3_ARB                 0x8B5B
  1.4395 +#define GL_FLOAT_MAT4_ARB                 0x8B5C
  1.4396 +#define GL_SAMPLER_1D_ARB                 0x8B5D
  1.4397 +#define GL_SAMPLER_2D_ARB                 0x8B5E
  1.4398 +#define GL_SAMPLER_3D_ARB                 0x8B5F
  1.4399 +#define GL_SAMPLER_CUBE_ARB               0x8B60
  1.4400 +#define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
  1.4401 +#define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
  1.4402 +#define GL_SAMPLER_2D_RECT_ARB            0x8B63
  1.4403 +#define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
  1.4404 +#define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
  1.4405 +#define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
  1.4406 +#define GL_OBJECT_LINK_STATUS_ARB         0x8B82
  1.4407 +#define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
  1.4408 +#define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
  1.4409 +#define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
  1.4410 +#define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
  1.4411 +#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
  1.4412 +#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
  1.4413 +typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
  1.4414 +typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
  1.4415 +typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
  1.4416 +typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
  1.4417 +typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
  1.4418 +typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
  1.4419 +typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
  1.4420 +typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
  1.4421 +typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
  1.4422 +typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
  1.4423 +typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
  1.4424 +typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
  1.4425 +typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
  1.4426 +typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1.4427 +typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1.4428 +typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
  1.4429 +typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
  1.4430 +typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  1.4431 +typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1.4432 +typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  1.4433 +typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  1.4434 +typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  1.4435 +typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  1.4436 +typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  1.4437 +typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  1.4438 +typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  1.4439 +typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  1.4440 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.4441 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.4442 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.4443 +typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
  1.4444 +typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
  1.4445 +typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  1.4446 +typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  1.4447 +typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  1.4448 +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  1.4449 +typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
  1.4450 +typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
  1.4451 +typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  1.4452 +#ifdef GL_GLEXT_PROTOTYPES
  1.4453 +GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
  1.4454 +GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
  1.4455 +GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
  1.4456 +GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
  1.4457 +GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
  1.4458 +GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
  1.4459 +GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
  1.4460 +GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
  1.4461 +GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
  1.4462 +GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
  1.4463 +GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
  1.4464 +GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
  1.4465 +GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
  1.4466 +GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1.4467 +GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1.4468 +GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
  1.4469 +GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
  1.4470 +GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
  1.4471 +GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1.4472 +GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
  1.4473 +GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
  1.4474 +GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
  1.4475 +GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
  1.4476 +GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
  1.4477 +GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
  1.4478 +GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
  1.4479 +GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
  1.4480 +GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.4481 +GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.4482 +GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.4483 +GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
  1.4484 +GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
  1.4485 +GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  1.4486 +GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  1.4487 +GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
  1.4488 +GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  1.4489 +GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
  1.4490 +GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
  1.4491 +GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  1.4492 +#endif
  1.4493 +#endif /* GL_ARB_shader_objects */
  1.4494 +
  1.4495 +#ifndef GL_ARB_shader_precision
  1.4496 +#define GL_ARB_shader_precision 1
  1.4497 +#endif /* GL_ARB_shader_precision */
  1.4498  
  1.4499  #ifndef GL_ARB_shader_stencil_export
  1.4500 -#endif
  1.4501 -
  1.4502 -#ifndef GL_EXT_abgr
  1.4503 -#define GL_ABGR_EXT                       0x8000
  1.4504 -#endif
  1.4505 -
  1.4506 -#ifndef GL_EXT_blend_color
  1.4507 -#define GL_CONSTANT_COLOR_EXT             0x8001
  1.4508 -#define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
  1.4509 -#define GL_CONSTANT_ALPHA_EXT             0x8003
  1.4510 -#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
  1.4511 -#define GL_BLEND_COLOR_EXT                0x8005
  1.4512 -#endif
  1.4513 -
  1.4514 -#ifndef GL_EXT_polygon_offset
  1.4515 -#define GL_POLYGON_OFFSET_EXT             0x8037
  1.4516 -#define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
  1.4517 -#define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
  1.4518 -#endif
  1.4519 -
  1.4520 -#ifndef GL_EXT_texture
  1.4521 -#define GL_ALPHA4_EXT                     0x803B
  1.4522 -#define GL_ALPHA8_EXT                     0x803C
  1.4523 -#define GL_ALPHA12_EXT                    0x803D
  1.4524 -#define GL_ALPHA16_EXT                    0x803E
  1.4525 -#define GL_LUMINANCE4_EXT                 0x803F
  1.4526 -#define GL_LUMINANCE8_EXT                 0x8040
  1.4527 -#define GL_LUMINANCE12_EXT                0x8041
  1.4528 -#define GL_LUMINANCE16_EXT                0x8042
  1.4529 -#define GL_LUMINANCE4_ALPHA4_EXT          0x8043
  1.4530 -#define GL_LUMINANCE6_ALPHA2_EXT          0x8044
  1.4531 -#define GL_LUMINANCE8_ALPHA8_EXT          0x8045
  1.4532 -#define GL_LUMINANCE12_ALPHA4_EXT         0x8046
  1.4533 -#define GL_LUMINANCE12_ALPHA12_EXT        0x8047
  1.4534 -#define GL_LUMINANCE16_ALPHA16_EXT        0x8048
  1.4535 -#define GL_INTENSITY_EXT                  0x8049
  1.4536 -#define GL_INTENSITY4_EXT                 0x804A
  1.4537 -#define GL_INTENSITY8_EXT                 0x804B
  1.4538 -#define GL_INTENSITY12_EXT                0x804C
  1.4539 -#define GL_INTENSITY16_EXT                0x804D
  1.4540 -#define GL_RGB2_EXT                       0x804E
  1.4541 -#define GL_RGB4_EXT                       0x804F
  1.4542 -#define GL_RGB5_EXT                       0x8050
  1.4543 -#define GL_RGB8_EXT                       0x8051
  1.4544 -#define GL_RGB10_EXT                      0x8052
  1.4545 -#define GL_RGB12_EXT                      0x8053
  1.4546 -#define GL_RGB16_EXT                      0x8054
  1.4547 -#define GL_RGBA2_EXT                      0x8055
  1.4548 -#define GL_RGBA4_EXT                      0x8056
  1.4549 -#define GL_RGB5_A1_EXT                    0x8057
  1.4550 -#define GL_RGBA8_EXT                      0x8058
  1.4551 -#define GL_RGB10_A2_EXT                   0x8059
  1.4552 -#define GL_RGBA12_EXT                     0x805A
  1.4553 -#define GL_RGBA16_EXT                     0x805B
  1.4554 -#define GL_TEXTURE_RED_SIZE_EXT           0x805C
  1.4555 -#define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
  1.4556 -#define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
  1.4557 -#define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
  1.4558 -#define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
  1.4559 -#define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
  1.4560 -#define GL_REPLACE_EXT                    0x8062
  1.4561 -#define GL_PROXY_TEXTURE_1D_EXT           0x8063
  1.4562 -#define GL_PROXY_TEXTURE_2D_EXT           0x8064
  1.4563 -#define GL_TEXTURE_TOO_LARGE_EXT          0x8065
  1.4564 -#endif
  1.4565 -
  1.4566 -#ifndef GL_EXT_texture3D
  1.4567 -#define GL_PACK_SKIP_IMAGES_EXT           0x806B
  1.4568 -#define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
  1.4569 -#define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
  1.4570 -#define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
  1.4571 -#define GL_TEXTURE_3D_EXT                 0x806F
  1.4572 -#define GL_PROXY_TEXTURE_3D_EXT           0x8070
  1.4573 -#define GL_TEXTURE_DEPTH_EXT              0x8071
  1.4574 -#define GL_TEXTURE_WRAP_R_EXT             0x8072
  1.4575 -#define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
  1.4576 -#endif
  1.4577 -
  1.4578 -#ifndef GL_SGIS_texture_filter4
  1.4579 -#define GL_FILTER4_SGIS                   0x8146
  1.4580 -#define GL_TEXTURE_FILTER4_SIZE_SGIS      0x8147
  1.4581 -#endif
  1.4582 -
  1.4583 -#ifndef GL_EXT_subtexture
  1.4584 -#endif
  1.4585 -
  1.4586 -#ifndef GL_EXT_copy_texture
  1.4587 -#endif
  1.4588 -
  1.4589 -#ifndef GL_EXT_histogram
  1.4590 -#define GL_HISTOGRAM_EXT                  0x8024
  1.4591 -#define GL_PROXY_HISTOGRAM_EXT            0x8025
  1.4592 -#define GL_HISTOGRAM_WIDTH_EXT            0x8026
  1.4593 -#define GL_HISTOGRAM_FORMAT_EXT           0x8027
  1.4594 -#define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
  1.4595 -#define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
  1.4596 -#define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
  1.4597 -#define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
  1.4598 -#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
  1.4599 -#define GL_HISTOGRAM_SINK_EXT             0x802D
  1.4600 -#define GL_MINMAX_EXT                     0x802E
  1.4601 -#define GL_MINMAX_FORMAT_EXT              0x802F
  1.4602 -#define GL_MINMAX_SINK_EXT                0x8030
  1.4603 -#define GL_TABLE_TOO_LARGE_EXT            0x8031
  1.4604 -#endif
  1.4605 -
  1.4606 -#ifndef GL_EXT_convolution
  1.4607 -#define GL_CONVOLUTION_1D_EXT             0x8010
  1.4608 -#define GL_CONVOLUTION_2D_EXT             0x8011
  1.4609 -#define GL_SEPARABLE_2D_EXT               0x8012
  1.4610 -#define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
  1.4611 -#define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
  1.4612 -#define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
  1.4613 -#define GL_REDUCE_EXT                     0x8016
  1.4614 -#define GL_CONVOLUTION_FORMAT_EXT         0x8017
  1.4615 -#define GL_CONVOLUTION_WIDTH_EXT          0x8018
  1.4616 -#define GL_CONVOLUTION_HEIGHT_EXT         0x8019
  1.4617 -#define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
  1.4618 -#define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
  1.4619 -#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
  1.4620 -#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
  1.4621 -#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
  1.4622 -#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
  1.4623 -#define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
  1.4624 -#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
  1.4625 -#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
  1.4626 -#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
  1.4627 -#endif
  1.4628 -
  1.4629 -#ifndef GL_SGI_color_matrix
  1.4630 -#define GL_COLOR_MATRIX_SGI               0x80B1
  1.4631 -#define GL_COLOR_MATRIX_STACK_DEPTH_SGI   0x80B2
  1.4632 -#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
  1.4633 -#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
  1.4634 -#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
  1.4635 -#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
  1.4636 -#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
  1.4637 -#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
  1.4638 -#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
  1.4639 -#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
  1.4640 -#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
  1.4641 -#endif
  1.4642 -
  1.4643 -#ifndef GL_SGI_color_table
  1.4644 -#define GL_COLOR_TABLE_SGI                0x80D0
  1.4645 -#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
  1.4646 -#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
  1.4647 -#define GL_PROXY_COLOR_TABLE_SGI          0x80D3
  1.4648 -#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
  1.4649 -#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
  1.4650 -#define GL_COLOR_TABLE_SCALE_SGI          0x80D6
  1.4651 -#define GL_COLOR_TABLE_BIAS_SGI           0x80D7
  1.4652 -#define GL_COLOR_TABLE_FORMAT_SGI         0x80D8
  1.4653 -#define GL_COLOR_TABLE_WIDTH_SGI          0x80D9
  1.4654 -#define GL_COLOR_TABLE_RED_SIZE_SGI       0x80DA
  1.4655 -#define GL_COLOR_TABLE_GREEN_SIZE_SGI     0x80DB
  1.4656 -#define GL_COLOR_TABLE_BLUE_SIZE_SGI      0x80DC
  1.4657 -#define GL_COLOR_TABLE_ALPHA_SIZE_SGI     0x80DD
  1.4658 -#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
  1.4659 -#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
  1.4660 -#endif
  1.4661 -
  1.4662 -#ifndef GL_SGIS_pixel_texture
  1.4663 -#define GL_PIXEL_TEXTURE_SGIS             0x8353
  1.4664 -#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
  1.4665 -#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
  1.4666 -#define GL_PIXEL_GROUP_COLOR_SGIS         0x8356
  1.4667 -#endif
  1.4668 -
  1.4669 -#ifndef GL_SGIX_pixel_texture
  1.4670 -#define GL_PIXEL_TEX_GEN_SGIX             0x8139
  1.4671 -#define GL_PIXEL_TEX_GEN_MODE_SGIX        0x832B
  1.4672 -#endif
  1.4673 -
  1.4674 -#ifndef GL_SGIS_texture4D
  1.4675 -#define GL_PACK_SKIP_VOLUMES_SGIS         0x8130
  1.4676 -#define GL_PACK_IMAGE_DEPTH_SGIS          0x8131
  1.4677 -#define GL_UNPACK_SKIP_VOLUMES_SGIS       0x8132
  1.4678 -#define GL_UNPACK_IMAGE_DEPTH_SGIS        0x8133
  1.4679 -#define GL_TEXTURE_4D_SGIS                0x8134
  1.4680 -#define GL_PROXY_TEXTURE_4D_SGIS          0x8135
  1.4681 -#define GL_TEXTURE_4DSIZE_SGIS            0x8136
  1.4682 -#define GL_TEXTURE_WRAP_Q_SGIS            0x8137
  1.4683 -#define GL_MAX_4D_TEXTURE_SIZE_SGIS       0x8138
  1.4684 -#define GL_TEXTURE_4D_BINDING_SGIS        0x814F
  1.4685 -#endif
  1.4686 -
  1.4687 -#ifndef GL_SGI_texture_color_table
  1.4688 -#define GL_TEXTURE_COLOR_TABLE_SGI        0x80BC
  1.4689 -#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI  0x80BD
  1.4690 -#endif
  1.4691 -
  1.4692 -#ifndef GL_EXT_cmyka
  1.4693 -#define GL_CMYK_EXT                       0x800C
  1.4694 -#define GL_CMYKA_EXT                      0x800D
  1.4695 -#define GL_PACK_CMYK_HINT_EXT             0x800E
  1.4696 -#define GL_UNPACK_CMYK_HINT_EXT           0x800F
  1.4697 -#endif
  1.4698 -
  1.4699 -#ifndef GL_EXT_texture_object
  1.4700 -#define GL_TEXTURE_PRIORITY_EXT           0x8066
  1.4701 -#define GL_TEXTURE_RESIDENT_EXT           0x8067
  1.4702 -#define GL_TEXTURE_1D_BINDING_EXT         0x8068
  1.4703 -#define GL_TEXTURE_2D_BINDING_EXT         0x8069
  1.4704 -#define GL_TEXTURE_3D_BINDING_EXT         0x806A
  1.4705 -#endif
  1.4706 -
  1.4707 -#ifndef GL_SGIS_detail_texture
  1.4708 -#define GL_DETAIL_TEXTURE_2D_SGIS         0x8095
  1.4709 -#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
  1.4710 -#define GL_LINEAR_DETAIL_SGIS             0x8097
  1.4711 -#define GL_LINEAR_DETAIL_ALPHA_SGIS       0x8098
  1.4712 -#define GL_LINEAR_DETAIL_COLOR_SGIS       0x8099
  1.4713 -#define GL_DETAIL_TEXTURE_LEVEL_SGIS      0x809A
  1.4714 -#define GL_DETAIL_TEXTURE_MODE_SGIS       0x809B
  1.4715 -#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
  1.4716 -#endif
  1.4717 -
  1.4718 -#ifndef GL_SGIS_sharpen_texture
  1.4719 -#define GL_LINEAR_SHARPEN_SGIS            0x80AD
  1.4720 -#define GL_LINEAR_SHARPEN_ALPHA_SGIS      0x80AE
  1.4721 -#define GL_LINEAR_SHARPEN_COLOR_SGIS      0x80AF
  1.4722 -#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
  1.4723 -#endif
  1.4724 -
  1.4725 -#ifndef GL_EXT_packed_pixels
  1.4726 -#define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
  1.4727 -#define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
  1.4728 -#define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
  1.4729 -#define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
  1.4730 -#define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
  1.4731 -#endif
  1.4732 -
  1.4733 -#ifndef GL_SGIS_texture_lod
  1.4734 -#define GL_TEXTURE_MIN_LOD_SGIS           0x813A
  1.4735 -#define GL_TEXTURE_MAX_LOD_SGIS           0x813B
  1.4736 -#define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
  1.4737 -#define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
  1.4738 -#endif
  1.4739 -
  1.4740 -#ifndef GL_SGIS_multisample
  1.4741 -#define GL_MULTISAMPLE_SGIS               0x809D
  1.4742 -#define GL_SAMPLE_ALPHA_TO_MASK_SGIS      0x809E
  1.4743 -#define GL_SAMPLE_ALPHA_TO_ONE_SGIS       0x809F
  1.4744 -#define GL_SAMPLE_MASK_SGIS               0x80A0
  1.4745 -#define GL_1PASS_SGIS                     0x80A1
  1.4746 -#define GL_2PASS_0_SGIS                   0x80A2
  1.4747 -#define GL_2PASS_1_SGIS                   0x80A3
  1.4748 -#define GL_4PASS_0_SGIS                   0x80A4
  1.4749 -#define GL_4PASS_1_SGIS                   0x80A5
  1.4750 -#define GL_4PASS_2_SGIS                   0x80A6
  1.4751 -#define GL_4PASS_3_SGIS                   0x80A7
  1.4752 -#define GL_SAMPLE_BUFFERS_SGIS            0x80A8
  1.4753 -#define GL_SAMPLES_SGIS                   0x80A9
  1.4754 -#define GL_SAMPLE_MASK_VALUE_SGIS         0x80AA
  1.4755 -#define GL_SAMPLE_MASK_INVERT_SGIS        0x80AB
  1.4756 -#define GL_SAMPLE_PATTERN_SGIS            0x80AC
  1.4757 -#endif
  1.4758 -
  1.4759 -#ifndef GL_EXT_rescale_normal
  1.4760 -#define GL_RESCALE_NORMAL_EXT             0x803A
  1.4761 -#endif
  1.4762 -
  1.4763 -#ifndef GL_EXT_vertex_array
  1.4764 -#define GL_VERTEX_ARRAY_EXT               0x8074
  1.4765 -#define GL_NORMAL_ARRAY_EXT               0x8075
  1.4766 -#define GL_COLOR_ARRAY_EXT                0x8076
  1.4767 -#define GL_INDEX_ARRAY_EXT                0x8077
  1.4768 -#define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
  1.4769 -#define GL_EDGE_FLAG_ARRAY_EXT            0x8079
  1.4770 -#define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
  1.4771 -#define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
  1.4772 -#define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
  1.4773 -#define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
  1.4774 -#define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
  1.4775 -#define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
  1.4776 -#define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
  1.4777 -#define GL_COLOR_ARRAY_SIZE_EXT           0x8081
  1.4778 -#define GL_COLOR_ARRAY_TYPE_EXT           0x8082
  1.4779 -#define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
  1.4780 -#define GL_COLOR_ARRAY_COUNT_EXT          0x8084
  1.4781 -#define GL_INDEX_ARRAY_TYPE_EXT           0x8085
  1.4782 -#define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
  1.4783 -#define GL_INDEX_ARRAY_COUNT_EXT          0x8087
  1.4784 -#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
  1.4785 -#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
  1.4786 -#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
  1.4787 -#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
  1.4788 -#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
  1.4789 -#define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
  1.4790 -#define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
  1.4791 -#define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
  1.4792 -#define GL_COLOR_ARRAY_POINTER_EXT        0x8090
  1.4793 -#define GL_INDEX_ARRAY_POINTER_EXT        0x8091
  1.4794 -#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
  1.4795 -#define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
  1.4796 -#endif
  1.4797 -
  1.4798 -#ifndef GL_EXT_misc_attribute
  1.4799 -#endif
  1.4800 -
  1.4801 -#ifndef GL_SGIS_generate_mipmap
  1.4802 -#define GL_GENERATE_MIPMAP_SGIS           0x8191
  1.4803 -#define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
  1.4804 -#endif
  1.4805 -
  1.4806 -#ifndef GL_SGIX_clipmap
  1.4807 -#define GL_LINEAR_CLIPMAP_LINEAR_SGIX     0x8170
  1.4808 -#define GL_TEXTURE_CLIPMAP_CENTER_SGIX    0x8171
  1.4809 -#define GL_TEXTURE_CLIPMAP_FRAME_SGIX     0x8172
  1.4810 -#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX    0x8173
  1.4811 -#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
  1.4812 -#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
  1.4813 -#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX     0x8176
  1.4814 -#define GL_MAX_CLIPMAP_DEPTH_SGIX         0x8177
  1.4815 -#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
  1.4816 -#define GL_NEAREST_CLIPMAP_NEAREST_SGIX   0x844D
  1.4817 -#define GL_NEAREST_CLIPMAP_LINEAR_SGIX    0x844E
  1.4818 -#define GL_LINEAR_CLIPMAP_NEAREST_SGIX    0x844F
  1.4819 -#endif
  1.4820 -
  1.4821 -#ifndef GL_SGIX_shadow
  1.4822 -#define GL_TEXTURE_COMPARE_SGIX           0x819A
  1.4823 -#define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
  1.4824 -#define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
  1.4825 -#define GL_TEXTURE_GEQUAL_R_SGIX          0x819D
  1.4826 -#endif
  1.4827 -
  1.4828 -#ifndef GL_SGIS_texture_edge_clamp
  1.4829 -#define GL_CLAMP_TO_EDGE_SGIS             0x812F
  1.4830 -#endif
  1.4831 -
  1.4832 -#ifndef GL_SGIS_texture_border_clamp
  1.4833 -#define GL_CLAMP_TO_BORDER_SGIS           0x812D
  1.4834 -#endif
  1.4835 -
  1.4836 -#ifndef GL_EXT_blend_minmax
  1.4837 -#define GL_FUNC_ADD_EXT                   0x8006
  1.4838 -#define GL_MIN_EXT                        0x8007
  1.4839 -#define GL_MAX_EXT                        0x8008
  1.4840 -#define GL_BLEND_EQUATION_EXT             0x8009
  1.4841 -#endif
  1.4842 -
  1.4843 -#ifndef GL_EXT_blend_subtract
  1.4844 -#define GL_FUNC_SUBTRACT_EXT              0x800A
  1.4845 -#define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
  1.4846 -#endif
  1.4847 -
  1.4848 -#ifndef GL_EXT_blend_logic_op
  1.4849 -#endif
  1.4850 -
  1.4851 -#ifndef GL_SGIX_interlace
  1.4852 -#define GL_INTERLACE_SGIX                 0x8094
  1.4853 -#endif
  1.4854 -
  1.4855 -#ifndef GL_SGIX_pixel_tiles
  1.4856 -#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
  1.4857 -#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
  1.4858 -#define GL_PIXEL_TILE_WIDTH_SGIX          0x8140
  1.4859 -#define GL_PIXEL_TILE_HEIGHT_SGIX         0x8141
  1.4860 -#define GL_PIXEL_TILE_GRID_WIDTH_SGIX     0x8142
  1.4861 -#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX    0x8143
  1.4862 -#define GL_PIXEL_TILE_GRID_DEPTH_SGIX     0x8144
  1.4863 -#define GL_PIXEL_TILE_CACHE_SIZE_SGIX     0x8145
  1.4864 -#endif
  1.4865 -
  1.4866 -#ifndef GL_SGIS_texture_select
  1.4867 -#define GL_DUAL_ALPHA4_SGIS               0x8110
  1.4868 -#define GL_DUAL_ALPHA8_SGIS               0x8111
  1.4869 -#define GL_DUAL_ALPHA12_SGIS              0x8112
  1.4870 -#define GL_DUAL_ALPHA16_SGIS              0x8113
  1.4871 -#define GL_DUAL_LUMINANCE4_SGIS           0x8114
  1.4872 -#define GL_DUAL_LUMINANCE8_SGIS           0x8115
  1.4873 -#define GL_DUAL_LUMINANCE12_SGIS          0x8116
  1.4874 -#define GL_DUAL_LUMINANCE16_SGIS          0x8117
  1.4875 -#define GL_DUAL_INTENSITY4_SGIS           0x8118
  1.4876 -#define GL_DUAL_INTENSITY8_SGIS           0x8119
  1.4877 -#define GL_DUAL_INTENSITY12_SGIS          0x811A
  1.4878 -#define GL_DUAL_INTENSITY16_SGIS          0x811B
  1.4879 -#define GL_DUAL_LUMINANCE_ALPHA4_SGIS     0x811C
  1.4880 -#define GL_DUAL_LUMINANCE_ALPHA8_SGIS     0x811D
  1.4881 -#define GL_QUAD_ALPHA4_SGIS               0x811E
  1.4882 -#define GL_QUAD_ALPHA8_SGIS               0x811F
  1.4883 -#define GL_QUAD_LUMINANCE4_SGIS           0x8120
  1.4884 -#define GL_QUAD_LUMINANCE8_SGIS           0x8121
  1.4885 -#define GL_QUAD_INTENSITY4_SGIS           0x8122
  1.4886 -#define GL_QUAD_INTENSITY8_SGIS           0x8123
  1.4887 -#define GL_DUAL_TEXTURE_SELECT_SGIS       0x8124
  1.4888 -#define GL_QUAD_TEXTURE_SELECT_SGIS       0x8125
  1.4889 -#endif
  1.4890 -
  1.4891 -#ifndef GL_SGIX_sprite
  1.4892 -#define GL_SPRITE_SGIX                    0x8148
  1.4893 -#define GL_SPRITE_MODE_SGIX               0x8149
  1.4894 -#define GL_SPRITE_AXIS_SGIX               0x814A
  1.4895 -#define GL_SPRITE_TRANSLATION_SGIX        0x814B
  1.4896 -#define GL_SPRITE_AXIAL_SGIX              0x814C
  1.4897 -#define GL_SPRITE_OBJECT_ALIGNED_SGIX     0x814D
  1.4898 -#define GL_SPRITE_EYE_ALIGNED_SGIX        0x814E
  1.4899 -#endif
  1.4900 -
  1.4901 -#ifndef GL_SGIX_texture_multi_buffer
  1.4902 -#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
  1.4903 -#endif
  1.4904 -
  1.4905 -#ifndef GL_EXT_point_parameters
  1.4906 -#define GL_POINT_SIZE_MIN_EXT             0x8126
  1.4907 -#define GL_POINT_SIZE_MAX_EXT             0x8127
  1.4908 -#define GL_POINT_FADE_THRESHOLD_SIZE_EXT  0x8128
  1.4909 -#define GL_DISTANCE_ATTENUATION_EXT       0x8129
  1.4910 -#endif
  1.4911 -
  1.4912 -#ifndef GL_SGIS_point_parameters
  1.4913 -#define GL_POINT_SIZE_MIN_SGIS            0x8126
  1.4914 -#define GL_POINT_SIZE_MAX_SGIS            0x8127
  1.4915 -#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
  1.4916 -#define GL_DISTANCE_ATTENUATION_SGIS      0x8129
  1.4917 -#endif
  1.4918 -
  1.4919 -#ifndef GL_SGIX_instruments
  1.4920 -#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
  1.4921 -#define GL_INSTRUMENT_MEASUREMENTS_SGIX   0x8181
  1.4922 -#endif
  1.4923 -
  1.4924 -#ifndef GL_SGIX_texture_scale_bias
  1.4925 -#define GL_POST_TEXTURE_FILTER_BIAS_SGIX  0x8179
  1.4926 -#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
  1.4927 -#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
  1.4928 -#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
  1.4929 -#endif
  1.4930 -
  1.4931 -#ifndef GL_SGIX_framezoom
  1.4932 -#define GL_FRAMEZOOM_SGIX                 0x818B
  1.4933 -#define GL_FRAMEZOOM_FACTOR_SGIX          0x818C
  1.4934 -#define GL_MAX_FRAMEZOOM_FACTOR_SGIX      0x818D
  1.4935 -#endif
  1.4936 -
  1.4937 -#ifndef GL_SGIX_tag_sample_buffer
  1.4938 -#endif
  1.4939 -
  1.4940 -#ifndef GL_FfdMaskSGIX
  1.4941 -#define GL_TEXTURE_DEFORMATION_BIT_SGIX   0x00000001
  1.4942 -#define GL_GEOMETRY_DEFORMATION_BIT_SGIX  0x00000002
  1.4943 -#endif
  1.4944 -
  1.4945 -#ifndef GL_SGIX_polynomial_ffd
  1.4946 -#define GL_GEOMETRY_DEFORMATION_SGIX      0x8194
  1.4947 -#define GL_TEXTURE_DEFORMATION_SGIX       0x8195
  1.4948 -#define GL_DEFORMATIONS_MASK_SGIX         0x8196
  1.4949 -#define GL_MAX_DEFORMATION_ORDER_SGIX     0x8197
  1.4950 -#endif
  1.4951 -
  1.4952 -#ifndef GL_SGIX_reference_plane
  1.4953 -#define GL_REFERENCE_PLANE_SGIX           0x817D
  1.4954 -#define GL_REFERENCE_PLANE_EQUATION_SGIX  0x817E
  1.4955 -#endif
  1.4956 -
  1.4957 -#ifndef GL_SGIX_flush_raster
  1.4958 -#endif
  1.4959 -
  1.4960 -#ifndef GL_SGIX_depth_texture
  1.4961 -#define GL_DEPTH_COMPONENT16_SGIX         0x81A5
  1.4962 -#define GL_DEPTH_COMPONENT24_SGIX         0x81A6
  1.4963 -#define GL_DEPTH_COMPONENT32_SGIX         0x81A7
  1.4964 -#endif
  1.4965 -
  1.4966 -#ifndef GL_SGIS_fog_function
  1.4967 -#define GL_FOG_FUNC_SGIS                  0x812A
  1.4968 -#define GL_FOG_FUNC_POINTS_SGIS           0x812B
  1.4969 -#define GL_MAX_FOG_FUNC_POINTS_SGIS       0x812C
  1.4970 -#endif
  1.4971 -
  1.4972 -#ifndef GL_SGIX_fog_offset
  1.4973 -#define GL_FOG_OFFSET_SGIX                0x8198
  1.4974 -#define GL_FOG_OFFSET_VALUE_SGIX          0x8199
  1.4975 -#endif
  1.4976 -
  1.4977 -#ifndef GL_HP_image_transform
  1.4978 -#define GL_IMAGE_SCALE_X_HP               0x8155
  1.4979 -#define GL_IMAGE_SCALE_Y_HP               0x8156
  1.4980 -#define GL_IMAGE_TRANSLATE_X_HP           0x8157
  1.4981 -#define GL_IMAGE_TRANSLATE_Y_HP           0x8158
  1.4982 -#define GL_IMAGE_ROTATE_ANGLE_HP          0x8159
  1.4983 -#define GL_IMAGE_ROTATE_ORIGIN_X_HP       0x815A
  1.4984 -#define GL_IMAGE_ROTATE_ORIGIN_Y_HP       0x815B
  1.4985 -#define GL_IMAGE_MAG_FILTER_HP            0x815C
  1.4986 -#define GL_IMAGE_MIN_FILTER_HP            0x815D
  1.4987 -#define GL_IMAGE_CUBIC_WEIGHT_HP          0x815E
  1.4988 -#define GL_CUBIC_HP                       0x815F
  1.4989 -#define GL_AVERAGE_HP                     0x8160
  1.4990 -#define GL_IMAGE_TRANSFORM_2D_HP          0x8161
  1.4991 -#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
  1.4992 -#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
  1.4993 -#endif
  1.4994 -
  1.4995 -#ifndef GL_HP_convolution_border_modes
  1.4996 -#define GL_IGNORE_BORDER_HP               0x8150
  1.4997 -#define GL_CONSTANT_BORDER_HP             0x8151
  1.4998 -#define GL_REPLICATE_BORDER_HP            0x8153
  1.4999 -#define GL_CONVOLUTION_BORDER_COLOR_HP    0x8154
  1.5000 -#endif
  1.5001 -
  1.5002 -#ifndef GL_INGR_palette_buffer
  1.5003 -#endif
  1.5004 -
  1.5005 -#ifndef GL_SGIX_texture_add_env
  1.5006 -#define GL_TEXTURE_ENV_BIAS_SGIX          0x80BE
  1.5007 -#endif
  1.5008 -
  1.5009 -#ifndef GL_EXT_color_subtable
  1.5010 -#endif
  1.5011 -
  1.5012 -#ifndef GL_PGI_vertex_hints
  1.5013 -#define GL_VERTEX_DATA_HINT_PGI           0x1A22A
  1.5014 -#define GL_VERTEX_CONSISTENT_HINT_PGI     0x1A22B
  1.5015 -#define GL_MATERIAL_SIDE_HINT_PGI         0x1A22C
  1.5016 -#define GL_MAX_VERTEX_HINT_PGI            0x1A22D
  1.5017 -#define GL_COLOR3_BIT_PGI                 0x00010000
  1.5018 -#define GL_COLOR4_BIT_PGI                 0x00020000
  1.5019 -#define GL_EDGEFLAG_BIT_PGI               0x00040000
  1.5020 -#define GL_INDEX_BIT_PGI                  0x00080000
  1.5021 -#define GL_MAT_AMBIENT_BIT_PGI            0x00100000
  1.5022 -#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
  1.5023 -#define GL_MAT_DIFFUSE_BIT_PGI            0x00400000
  1.5024 -#define GL_MAT_EMISSION_BIT_PGI           0x00800000
  1.5025 -#define GL_MAT_COLOR_INDEXES_BIT_PGI      0x01000000
  1.5026 -#define GL_MAT_SHININESS_BIT_PGI          0x02000000
  1.5027 -#define GL_MAT_SPECULAR_BIT_PGI           0x04000000
  1.5028 -#define GL_NORMAL_BIT_PGI                 0x08000000
  1.5029 -#define GL_TEXCOORD1_BIT_PGI              0x10000000
  1.5030 -#define GL_TEXCOORD2_BIT_PGI              0x20000000
  1.5031 -#define GL_TEXCOORD3_BIT_PGI              0x40000000
  1.5032 -#define GL_TEXCOORD4_BIT_PGI              0x80000000
  1.5033 -#define GL_VERTEX23_BIT_PGI               0x00000004
  1.5034 -#define GL_VERTEX4_BIT_PGI                0x00000008
  1.5035 -#endif
  1.5036 -
  1.5037 -#ifndef GL_PGI_misc_hints
  1.5038 -#define GL_PREFER_DOUBLEBUFFER_HINT_PGI   0x1A1F8
  1.5039 -#define GL_CONSERVE_MEMORY_HINT_PGI       0x1A1FD
  1.5040 -#define GL_RECLAIM_MEMORY_HINT_PGI        0x1A1FE
  1.5041 -#define GL_NATIVE_GRAPHICS_HANDLE_PGI     0x1A202
  1.5042 -#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
  1.5043 -#define GL_NATIVE_GRAPHICS_END_HINT_PGI   0x1A204
  1.5044 -#define GL_ALWAYS_FAST_HINT_PGI           0x1A20C
  1.5045 -#define GL_ALWAYS_SOFT_HINT_PGI           0x1A20D
  1.5046 -#define GL_ALLOW_DRAW_OBJ_HINT_PGI        0x1A20E
  1.5047 -#define GL_ALLOW_DRAW_WIN_HINT_PGI        0x1A20F
  1.5048 -#define GL_ALLOW_DRAW_FRG_HINT_PGI        0x1A210
  1.5049 -#define GL_ALLOW_DRAW_MEM_HINT_PGI        0x1A211
  1.5050 -#define GL_STRICT_DEPTHFUNC_HINT_PGI      0x1A216
  1.5051 -#define GL_STRICT_LIGHTING_HINT_PGI       0x1A217
  1.5052 -#define GL_STRICT_SCISSOR_HINT_PGI        0x1A218
  1.5053 -#define GL_FULL_STIPPLE_HINT_PGI          0x1A219
  1.5054 -#define GL_CLIP_NEAR_HINT_PGI             0x1A220
  1.5055 -#define GL_CLIP_FAR_HINT_PGI              0x1A221
  1.5056 -#define GL_WIDE_LINE_HINT_PGI             0x1A222
  1.5057 -#define GL_BACK_NORMALS_HINT_PGI          0x1A223
  1.5058 -#endif
  1.5059 -
  1.5060 -#ifndef GL_EXT_paletted_texture
  1.5061 -#define GL_COLOR_INDEX1_EXT               0x80E2
  1.5062 -#define GL_COLOR_INDEX2_EXT               0x80E3
  1.5063 -#define GL_COLOR_INDEX4_EXT               0x80E4
  1.5064 -#define GL_COLOR_INDEX8_EXT               0x80E5
  1.5065 -#define GL_COLOR_INDEX12_EXT              0x80E6
  1.5066 -#define GL_COLOR_INDEX16_EXT              0x80E7
  1.5067 -#define GL_TEXTURE_INDEX_SIZE_EXT         0x80ED
  1.5068 -#endif
  1.5069 -
  1.5070 -#ifndef GL_EXT_clip_volume_hint
  1.5071 -#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT  0x80F0
  1.5072 -#endif
  1.5073 -
  1.5074 -#ifndef GL_SGIX_list_priority
  1.5075 -#define GL_LIST_PRIORITY_SGIX             0x8182
  1.5076 -#endif
  1.5077 -
  1.5078 -#ifndef GL_SGIX_ir_instrument1
  1.5079 -#define GL_IR_INSTRUMENT1_SGIX            0x817F
  1.5080 -#endif
  1.5081 -
  1.5082 -#ifndef GL_SGIX_calligraphic_fragment
  1.5083 -#define GL_CALLIGRAPHIC_FRAGMENT_SGIX     0x8183
  1.5084 -#endif
  1.5085 -
  1.5086 -#ifndef GL_SGIX_texture_lod_bias
  1.5087 -#define GL_TEXTURE_LOD_BIAS_S_SGIX        0x818E
  1.5088 -#define GL_TEXTURE_LOD_BIAS_T_SGIX        0x818F
  1.5089 -#define GL_TEXTURE_LOD_BIAS_R_SGIX        0x8190
  1.5090 -#endif
  1.5091 -
  1.5092 -#ifndef GL_SGIX_shadow_ambient
  1.5093 -#define GL_SHADOW_AMBIENT_SGIX            0x80BF
  1.5094 -#endif
  1.5095 -
  1.5096 -#ifndef GL_EXT_index_texture
  1.5097 -#endif
  1.5098 -
  1.5099 -#ifndef GL_EXT_index_material
  1.5100 -#define GL_INDEX_MATERIAL_EXT             0x81B8
  1.5101 -#define GL_INDEX_MATERIAL_PARAMETER_EXT   0x81B9
  1.5102 -#define GL_INDEX_MATERIAL_FACE_EXT        0x81BA
  1.5103 -#endif
  1.5104 -
  1.5105 -#ifndef GL_EXT_index_func
  1.5106 -#define GL_INDEX_TEST_EXT                 0x81B5
  1.5107 -#define GL_INDEX_TEST_FUNC_EXT            0x81B6
  1.5108 -#define GL_INDEX_TEST_REF_EXT             0x81B7
  1.5109 -#endif
  1.5110 -
  1.5111 -#ifndef GL_EXT_index_array_formats
  1.5112 -#define GL_IUI_V2F_EXT                    0x81AD
  1.5113 -#define GL_IUI_V3F_EXT                    0x81AE
  1.5114 -#define GL_IUI_N3F_V2F_EXT                0x81AF
  1.5115 -#define GL_IUI_N3F_V3F_EXT                0x81B0
  1.5116 -#define GL_T2F_IUI_V2F_EXT                0x81B1
  1.5117 -#define GL_T2F_IUI_V3F_EXT                0x81B2
  1.5118 -#define GL_T2F_IUI_N3F_V2F_EXT            0x81B3
  1.5119 -#define GL_T2F_IUI_N3F_V3F_EXT            0x81B4
  1.5120 -#endif
  1.5121 -
  1.5122 -#ifndef GL_EXT_compiled_vertex_array
  1.5123 -#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT   0x81A8
  1.5124 -#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT   0x81A9
  1.5125 -#endif
  1.5126 -
  1.5127 -#ifndef GL_EXT_cull_vertex
  1.5128 -#define GL_CULL_VERTEX_EXT                0x81AA
  1.5129 -#define GL_CULL_VERTEX_EYE_POSITION_EXT   0x81AB
  1.5130 -#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
  1.5131 -#endif
  1.5132 -
  1.5133 -#ifndef GL_SGIX_ycrcb
  1.5134 -#define GL_YCRCB_422_SGIX                 0x81BB
  1.5135 -#define GL_YCRCB_444_SGIX                 0x81BC
  1.5136 -#endif
  1.5137 -
  1.5138 -#ifndef GL_SGIX_fragment_lighting
  1.5139 -#define GL_FRAGMENT_LIGHTING_SGIX         0x8400
  1.5140 -#define GL_FRAGMENT_COLOR_MATERIAL_SGIX   0x8401
  1.5141 -#define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
  1.5142 -#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
  1.5143 -#define GL_MAX_FRAGMENT_LIGHTS_SGIX       0x8404
  1.5144 -#define GL_MAX_ACTIVE_LIGHTS_SGIX         0x8405
  1.5145 -#define GL_CURRENT_RASTER_NORMAL_SGIX     0x8406
  1.5146 -#define GL_LIGHT_ENV_MODE_SGIX            0x8407
  1.5147 -#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
  1.5148 -#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
  1.5149 -#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
  1.5150 -#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
  1.5151 -#define GL_FRAGMENT_LIGHT0_SGIX           0x840C
  1.5152 -#define GL_FRAGMENT_LIGHT1_SGIX           0x840D
  1.5153 -#define GL_FRAGMENT_LIGHT2_SGIX           0x840E
  1.5154 -#define GL_FRAGMENT_LIGHT3_SGIX           0x840F
  1.5155 -#define GL_FRAGMENT_LIGHT4_SGIX           0x8410
  1.5156 -#define GL_FRAGMENT_LIGHT5_SGIX           0x8411
  1.5157 -#define GL_FRAGMENT_LIGHT6_SGIX           0x8412
  1.5158 -#define GL_FRAGMENT_LIGHT7_SGIX           0x8413
  1.5159 -#endif
  1.5160 -
  1.5161 -#ifndef GL_IBM_rasterpos_clip
  1.5162 -#define GL_RASTER_POSITION_UNCLIPPED_IBM  0x19262
  1.5163 -#endif
  1.5164 -
  1.5165 -#ifndef GL_HP_texture_lighting
  1.5166 -#define GL_TEXTURE_LIGHTING_MODE_HP       0x8167
  1.5167 -#define GL_TEXTURE_POST_SPECULAR_HP       0x8168
  1.5168 -#define GL_TEXTURE_PRE_SPECULAR_HP        0x8169
  1.5169 -#endif
  1.5170 -
  1.5171 -#ifndef GL_EXT_draw_range_elements
  1.5172 -#define GL_MAX_ELEMENTS_VERTICES_EXT      0x80E8
  1.5173 -#define GL_MAX_ELEMENTS_INDICES_EXT       0x80E9
  1.5174 -#endif
  1.5175 -
  1.5176 -#ifndef GL_WIN_phong_shading
  1.5177 -#define GL_PHONG_WIN                      0x80EA
  1.5178 -#define GL_PHONG_HINT_WIN                 0x80EB
  1.5179 -#endif
  1.5180 -
  1.5181 -#ifndef GL_WIN_specular_fog
  1.5182 -#define GL_FOG_SPECULAR_TEXTURE_WIN       0x80EC
  1.5183 -#endif
  1.5184 -
  1.5185 -#ifndef GL_EXT_light_texture
  1.5186 -#define GL_FRAGMENT_MATERIAL_EXT          0x8349
  1.5187 -#define GL_FRAGMENT_NORMAL_EXT            0x834A
  1.5188 -#define GL_FRAGMENT_COLOR_EXT             0x834C
  1.5189 -#define GL_ATTENUATION_EXT                0x834D
  1.5190 -#define GL_SHADOW_ATTENUATION_EXT         0x834E
  1.5191 -#define GL_TEXTURE_APPLICATION_MODE_EXT   0x834F
  1.5192 -#define GL_TEXTURE_LIGHT_EXT              0x8350
  1.5193 -#define GL_TEXTURE_MATERIAL_FACE_EXT      0x8351
  1.5194 -#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
  1.5195 -/* reuse GL_FRAGMENT_DEPTH_EXT */
  1.5196 -#endif
  1.5197 -
  1.5198 -#ifndef GL_SGIX_blend_alpha_minmax
  1.5199 -#define GL_ALPHA_MIN_SGIX                 0x8320
  1.5200 -#define GL_ALPHA_MAX_SGIX                 0x8321
  1.5201 -#endif
  1.5202 -
  1.5203 -#ifndef GL_SGIX_impact_pixel_texture
  1.5204 -#define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX   0x8184
  1.5205 -#define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX     0x8185
  1.5206 -#define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX     0x8186
  1.5207 -#define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187
  1.5208 -#define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188
  1.5209 -#define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX    0x8189
  1.5210 -#define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX    0x818A
  1.5211 -#endif
  1.5212 -
  1.5213 -#ifndef GL_EXT_bgra
  1.5214 -#define GL_BGR_EXT                        0x80E0
  1.5215 -#define GL_BGRA_EXT                       0x80E1
  1.5216 -#endif
  1.5217 -
  1.5218 -#ifndef GL_SGIX_async
  1.5219 -#define GL_ASYNC_MARKER_SGIX              0x8329
  1.5220 -#endif
  1.5221 -
  1.5222 -#ifndef GL_SGIX_async_pixel
  1.5223 -#define GL_ASYNC_TEX_IMAGE_SGIX           0x835C
  1.5224 -#define GL_ASYNC_DRAW_PIXELS_SGIX         0x835D
  1.5225 -#define GL_ASYNC_READ_PIXELS_SGIX         0x835E
  1.5226 -#define GL_MAX_ASYNC_TEX_IMAGE_SGIX       0x835F
  1.5227 -#define GL_MAX_ASYNC_DRAW_PIXELS_SGIX     0x8360
  1.5228 -#define GL_MAX_ASYNC_READ_PIXELS_SGIX     0x8361
  1.5229 -#endif
  1.5230 -
  1.5231 -#ifndef GL_SGIX_async_histogram
  1.5232 -#define GL_ASYNC_HISTOGRAM_SGIX           0x832C
  1.5233 -#define GL_MAX_ASYNC_HISTOGRAM_SGIX       0x832D
  1.5234 -#endif
  1.5235 -
  1.5236 -#ifndef GL_INTEL_texture_scissor
  1.5237 -#endif
  1.5238 -
  1.5239 -#ifndef GL_INTEL_parallel_arrays
  1.5240 -#define GL_PARALLEL_ARRAYS_INTEL          0x83F4
  1.5241 -#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
  1.5242 -#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
  1.5243 -#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
  1.5244 -#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
  1.5245 -#endif
  1.5246 -
  1.5247 -#ifndef GL_HP_occlusion_test
  1.5248 -#define GL_OCCLUSION_TEST_HP              0x8165
  1.5249 -#define GL_OCCLUSION_TEST_RESULT_HP       0x8166
  1.5250 -#endif
  1.5251 -
  1.5252 -#ifndef GL_EXT_pixel_transform
  1.5253 -#define GL_PIXEL_TRANSFORM_2D_EXT         0x8330
  1.5254 -#define GL_PIXEL_MAG_FILTER_EXT           0x8331
  1.5255 -#define GL_PIXEL_MIN_FILTER_EXT           0x8332
  1.5256 -#define GL_PIXEL_CUBIC_WEIGHT_EXT         0x8333
  1.5257 -#define GL_CUBIC_EXT                      0x8334
  1.5258 -#define GL_AVERAGE_EXT                    0x8335
  1.5259 -#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
  1.5260 -#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
  1.5261 -#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT  0x8338
  1.5262 -#endif
  1.5263 -
  1.5264 -#ifndef GL_EXT_pixel_transform_color_table
  1.5265 -#endif
  1.5266 -
  1.5267 -#ifndef GL_EXT_shared_texture_palette
  1.5268 -#define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB
  1.5269 -#endif
  1.5270 -
  1.5271 -#ifndef GL_EXT_separate_specular_color
  1.5272 -#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT  0x81F8
  1.5273 -#define GL_SINGLE_COLOR_EXT               0x81F9
  1.5274 -#define GL_SEPARATE_SPECULAR_COLOR_EXT    0x81FA
  1.5275 -#endif
  1.5276 -
  1.5277 -#ifndef GL_EXT_secondary_color
  1.5278 -#define GL_COLOR_SUM_EXT                  0x8458
  1.5279 -#define GL_CURRENT_SECONDARY_COLOR_EXT    0x8459
  1.5280 -#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
  1.5281 -#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
  1.5282 -#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
  1.5283 -#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
  1.5284 -#define GL_SECONDARY_COLOR_ARRAY_EXT      0x845E
  1.5285 -#endif
  1.5286 -
  1.5287 -#ifndef GL_EXT_texture_perturb_normal
  1.5288 -#define GL_PERTURB_EXT                    0x85AE
  1.5289 -#define GL_TEXTURE_NORMAL_EXT             0x85AF
  1.5290 -#endif
  1.5291 -
  1.5292 -#ifndef GL_EXT_multi_draw_arrays
  1.5293 -#endif
  1.5294 -
  1.5295 -#ifndef GL_EXT_fog_coord
  1.5296 -#define GL_FOG_COORDINATE_SOURCE_EXT      0x8450
  1.5297 -#define GL_FOG_COORDINATE_EXT             0x8451
  1.5298 -#define GL_FRAGMENT_DEPTH_EXT             0x8452
  1.5299 -#define GL_CURRENT_FOG_COORDINATE_EXT     0x8453
  1.5300 -#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT  0x8454
  1.5301 -#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
  1.5302 -#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
  1.5303 -#define GL_FOG_COORDINATE_ARRAY_EXT       0x8457
  1.5304 -#endif
  1.5305 -
  1.5306 -#ifndef GL_REND_screen_coordinates
  1.5307 -#define GL_SCREEN_COORDINATES_REND        0x8490
  1.5308 -#define GL_INVERTED_SCREEN_W_REND         0x8491
  1.5309 -#endif
  1.5310 -
  1.5311 -#ifndef GL_EXT_coordinate_frame
  1.5312 -#define GL_TANGENT_ARRAY_EXT              0x8439
  1.5313 -#define GL_BINORMAL_ARRAY_EXT             0x843A
  1.5314 -#define GL_CURRENT_TANGENT_EXT            0x843B
  1.5315 -#define GL_CURRENT_BINORMAL_EXT           0x843C
  1.5316 -#define GL_TANGENT_ARRAY_TYPE_EXT         0x843E
  1.5317 -#define GL_TANGENT_ARRAY_STRIDE_EXT       0x843F
  1.5318 -#define GL_BINORMAL_ARRAY_TYPE_EXT        0x8440
  1.5319 -#define GL_BINORMAL_ARRAY_STRIDE_EXT      0x8441
  1.5320 -#define GL_TANGENT_ARRAY_POINTER_EXT      0x8442
  1.5321 -#define GL_BINORMAL_ARRAY_POINTER_EXT     0x8443
  1.5322 -#define GL_MAP1_TANGENT_EXT               0x8444
  1.5323 -#define GL_MAP2_TANGENT_EXT               0x8445
  1.5324 -#define GL_MAP1_BINORMAL_EXT              0x8446
  1.5325 -#define GL_MAP2_BINORMAL_EXT              0x8447
  1.5326 -#endif
  1.5327 -
  1.5328 -#ifndef GL_EXT_texture_env_combine
  1.5329 -#define GL_COMBINE_EXT                    0x8570
  1.5330 -#define GL_COMBINE_RGB_EXT                0x8571
  1.5331 -#define GL_COMBINE_ALPHA_EXT              0x8572
  1.5332 -#define GL_RGB_SCALE_EXT                  0x8573
  1.5333 -#define GL_ADD_SIGNED_EXT                 0x8574
  1.5334 -#define GL_INTERPOLATE_EXT                0x8575
  1.5335 -#define GL_CONSTANT_EXT                   0x8576
  1.5336 -#define GL_PRIMARY_COLOR_EXT              0x8577
  1.5337 -#define GL_PREVIOUS_EXT                   0x8578
  1.5338 -#define GL_SOURCE0_RGB_EXT                0x8580
  1.5339 -#define GL_SOURCE1_RGB_EXT                0x8581
  1.5340 -#define GL_SOURCE2_RGB_EXT                0x8582
  1.5341 -#define GL_SOURCE0_ALPHA_EXT              0x8588
  1.5342 -#define GL_SOURCE1_ALPHA_EXT              0x8589
  1.5343 -#define GL_SOURCE2_ALPHA_EXT              0x858A
  1.5344 -#define GL_OPERAND0_RGB_EXT               0x8590
  1.5345 -#define GL_OPERAND1_RGB_EXT               0x8591
  1.5346 -#define GL_OPERAND2_RGB_EXT               0x8592
  1.5347 -#define GL_OPERAND0_ALPHA_EXT             0x8598
  1.5348 -#define GL_OPERAND1_ALPHA_EXT             0x8599
  1.5349 -#define GL_OPERAND2_ALPHA_EXT             0x859A
  1.5350 -#endif
  1.5351 -
  1.5352 -#ifndef GL_APPLE_specular_vector
  1.5353 -#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
  1.5354 -#endif
  1.5355 -
  1.5356 -#ifndef GL_APPLE_transform_hint
  1.5357 -#define GL_TRANSFORM_HINT_APPLE           0x85B1
  1.5358 -#endif
  1.5359 -
  1.5360 -#ifndef GL_SGIX_fog_scale
  1.5361 -#define GL_FOG_SCALE_SGIX                 0x81FC
  1.5362 -#define GL_FOG_SCALE_VALUE_SGIX           0x81FD
  1.5363 -#endif
  1.5364 -
  1.5365 -#ifndef GL_SUNX_constant_data
  1.5366 -#define GL_UNPACK_CONSTANT_DATA_SUNX      0x81D5
  1.5367 -#define GL_TEXTURE_CONSTANT_DATA_SUNX     0x81D6
  1.5368 -#endif
  1.5369 -
  1.5370 -#ifndef GL_SUN_global_alpha
  1.5371 -#define GL_GLOBAL_ALPHA_SUN               0x81D9
  1.5372 -#define GL_GLOBAL_ALPHA_FACTOR_SUN        0x81DA
  1.5373 -#endif
  1.5374 -
  1.5375 -#ifndef GL_SUN_triangle_list
  1.5376 -#define GL_RESTART_SUN                    0x0001
  1.5377 -#define GL_REPLACE_MIDDLE_SUN             0x0002
  1.5378 -#define GL_REPLACE_OLDEST_SUN             0x0003
  1.5379 -#define GL_TRIANGLE_LIST_SUN              0x81D7
  1.5380 -#define GL_REPLACEMENT_CODE_SUN           0x81D8
  1.5381 -#define GL_REPLACEMENT_CODE_ARRAY_SUN     0x85C0
  1.5382 -#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
  1.5383 -#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
  1.5384 -#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
  1.5385 -#define GL_R1UI_V3F_SUN                   0x85C4
  1.5386 -#define GL_R1UI_C4UB_V3F_SUN              0x85C5
  1.5387 -#define GL_R1UI_C3F_V3F_SUN               0x85C6
  1.5388 -#define GL_R1UI_N3F_V3F_SUN               0x85C7
  1.5389 -#define GL_R1UI_C4F_N3F_V3F_SUN           0x85C8
  1.5390 -#define GL_R1UI_T2F_V3F_SUN               0x85C9
  1.5391 -#define GL_R1UI_T2F_N3F_V3F_SUN           0x85CA
  1.5392 -#define GL_R1UI_T2F_C4F_N3F_V3F_SUN       0x85CB
  1.5393 -#endif
  1.5394 -
  1.5395 -#ifndef GL_SUN_vertex
  1.5396 -#endif
  1.5397 -
  1.5398 -#ifndef GL_EXT_blend_func_separate
  1.5399 -#define GL_BLEND_DST_RGB_EXT              0x80C8
  1.5400 -#define GL_BLEND_SRC_RGB_EXT              0x80C9
  1.5401 -#define GL_BLEND_DST_ALPHA_EXT            0x80CA
  1.5402 -#define GL_BLEND_SRC_ALPHA_EXT            0x80CB
  1.5403 -#endif
  1.5404 -
  1.5405 -#ifndef GL_INGR_color_clamp
  1.5406 -#define GL_RED_MIN_CLAMP_INGR             0x8560
  1.5407 -#define GL_GREEN_MIN_CLAMP_INGR           0x8561
  1.5408 -#define GL_BLUE_MIN_CLAMP_INGR            0x8562
  1.5409 -#define GL_ALPHA_MIN_CLAMP_INGR           0x8563
  1.5410 -#define GL_RED_MAX_CLAMP_INGR             0x8564
  1.5411 -#define GL_GREEN_MAX_CLAMP_INGR           0x8565
  1.5412 -#define GL_BLUE_MAX_CLAMP_INGR            0x8566
  1.5413 -#define GL_ALPHA_MAX_CLAMP_INGR           0x8567
  1.5414 -#endif
  1.5415 -
  1.5416 -#ifndef GL_INGR_interlace_read
  1.5417 -#define GL_INTERLACE_READ_INGR            0x8568
  1.5418 -#endif
  1.5419 -
  1.5420 -#ifndef GL_EXT_stencil_wrap
  1.5421 -#define GL_INCR_WRAP_EXT                  0x8507
  1.5422 -#define GL_DECR_WRAP_EXT                  0x8508
  1.5423 -#endif
  1.5424 -
  1.5425 -#ifndef GL_EXT_422_pixels
  1.5426 -#define GL_422_EXT                        0x80CC
  1.5427 -#define GL_422_REV_EXT                    0x80CD
  1.5428 -#define GL_422_AVERAGE_EXT                0x80CE
  1.5429 -#define GL_422_REV_AVERAGE_EXT            0x80CF
  1.5430 -#endif
  1.5431 -
  1.5432 -#ifndef GL_NV_texgen_reflection
  1.5433 -#define GL_NORMAL_MAP_NV                  0x8511
  1.5434 -#define GL_REFLECTION_MAP_NV              0x8512
  1.5435 -#endif
  1.5436 -
  1.5437 -#ifndef GL_EXT_texture_cube_map
  1.5438 -#define GL_NORMAL_MAP_EXT                 0x8511
  1.5439 -#define GL_REFLECTION_MAP_EXT             0x8512
  1.5440 -#define GL_TEXTURE_CUBE_MAP_EXT           0x8513
  1.5441 -#define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
  1.5442 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
  1.5443 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
  1.5444 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
  1.5445 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
  1.5446 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
  1.5447 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
  1.5448 -#define GL_PROXY_TEXTURE_CUBE_MAP_EXT     0x851B
  1.5449 -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT  0x851C
  1.5450 -#endif
  1.5451 -
  1.5452 -#ifndef GL_SUN_convolution_border_modes
  1.5453 -#define GL_WRAP_BORDER_SUN                0x81D4
  1.5454 -#endif
  1.5455 -
  1.5456 -#ifndef GL_EXT_texture_env_add
  1.5457 -#endif
  1.5458 -
  1.5459 -#ifndef GL_EXT_texture_lod_bias
  1.5460 -#define GL_MAX_TEXTURE_LOD_BIAS_EXT       0x84FD
  1.5461 -#define GL_TEXTURE_FILTER_CONTROL_EXT     0x8500
  1.5462 -#define GL_TEXTURE_LOD_BIAS_EXT           0x8501
  1.5463 -#endif
  1.5464 -
  1.5465 -#ifndef GL_EXT_texture_filter_anisotropic
  1.5466 -#define GL_TEXTURE_MAX_ANISOTROPY_EXT     0x84FE
  1.5467 -#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
  1.5468 -#endif
  1.5469 -
  1.5470 -#ifndef GL_EXT_vertex_weighting
  1.5471 -#define GL_MODELVIEW0_STACK_DEPTH_EXT     GL_MODELVIEW_STACK_DEPTH
  1.5472 -#define GL_MODELVIEW1_STACK_DEPTH_EXT     0x8502
  1.5473 -#define GL_MODELVIEW0_MATRIX_EXT          GL_MODELVIEW_MATRIX
  1.5474 -#define GL_MODELVIEW1_MATRIX_EXT          0x8506
  1.5475 -#define GL_VERTEX_WEIGHTING_EXT           0x8509
  1.5476 -#define GL_MODELVIEW0_EXT                 GL_MODELVIEW
  1.5477 -#define GL_MODELVIEW1_EXT                 0x850A
  1.5478 -#define GL_CURRENT_VERTEX_WEIGHT_EXT      0x850B
  1.5479 -#define GL_VERTEX_WEIGHT_ARRAY_EXT        0x850C
  1.5480 -#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT   0x850D
  1.5481 -#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT   0x850E
  1.5482 -#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
  1.5483 -#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
  1.5484 -#endif
  1.5485 -
  1.5486 -#ifndef GL_NV_light_max_exponent
  1.5487 -#define GL_MAX_SHININESS_NV               0x8504
  1.5488 -#define GL_MAX_SPOT_EXPONENT_NV           0x8505
  1.5489 -#endif
  1.5490 -
  1.5491 -#ifndef GL_NV_vertex_array_range
  1.5492 -#define GL_VERTEX_ARRAY_RANGE_NV          0x851D
  1.5493 -#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV   0x851E
  1.5494 -#define GL_VERTEX_ARRAY_RANGE_VALID_NV    0x851F
  1.5495 -#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
  1.5496 -#define GL_VERTEX_ARRAY_RANGE_POINTER_NV  0x8521
  1.5497 -#endif
  1.5498 -
  1.5499 -#ifndef GL_NV_register_combiners
  1.5500 -#define GL_REGISTER_COMBINERS_NV          0x8522
  1.5501 -#define GL_VARIABLE_A_NV                  0x8523
  1.5502 -#define GL_VARIABLE_B_NV                  0x8524
  1.5503 -#define GL_VARIABLE_C_NV                  0x8525
  1.5504 -#define GL_VARIABLE_D_NV                  0x8526
  1.5505 -#define GL_VARIABLE_E_NV                  0x8527
  1.5506 -#define GL_VARIABLE_F_NV                  0x8528
  1.5507 -#define GL_VARIABLE_G_NV                  0x8529
  1.5508 -#define GL_CONSTANT_COLOR0_NV             0x852A
  1.5509 -#define GL_CONSTANT_COLOR1_NV             0x852B
  1.5510 -#define GL_PRIMARY_COLOR_NV               0x852C
  1.5511 -#define GL_SECONDARY_COLOR_NV             0x852D
  1.5512 -#define GL_SPARE0_NV                      0x852E
  1.5513 -#define GL_SPARE1_NV                      0x852F
  1.5514 -#define GL_DISCARD_NV                     0x8530
  1.5515 -#define GL_E_TIMES_F_NV                   0x8531
  1.5516 -#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
  1.5517 -#define GL_UNSIGNED_IDENTITY_NV           0x8536
  1.5518 -#define GL_UNSIGNED_INVERT_NV             0x8537
  1.5519 -#define GL_EXPAND_NORMAL_NV               0x8538
  1.5520 -#define GL_EXPAND_NEGATE_NV               0x8539
  1.5521 -#define GL_HALF_BIAS_NORMAL_NV            0x853A
  1.5522 -#define GL_HALF_BIAS_NEGATE_NV            0x853B
  1.5523 -#define GL_SIGNED_IDENTITY_NV             0x853C
  1.5524 -#define GL_SIGNED_NEGATE_NV               0x853D
  1.5525 -#define GL_SCALE_BY_TWO_NV                0x853E
  1.5526 -#define GL_SCALE_BY_FOUR_NV               0x853F
  1.5527 -#define GL_SCALE_BY_ONE_HALF_NV           0x8540
  1.5528 -#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV   0x8541
  1.5529 -#define GL_COMBINER_INPUT_NV              0x8542
  1.5530 -#define GL_COMBINER_MAPPING_NV            0x8543
  1.5531 -#define GL_COMBINER_COMPONENT_USAGE_NV    0x8544
  1.5532 -#define GL_COMBINER_AB_DOT_PRODUCT_NV     0x8545
  1.5533 -#define GL_COMBINER_CD_DOT_PRODUCT_NV     0x8546
  1.5534 -#define GL_COMBINER_MUX_SUM_NV            0x8547
  1.5535 -#define GL_COMBINER_SCALE_NV              0x8548
  1.5536 -#define GL_COMBINER_BIAS_NV               0x8549
  1.5537 -#define GL_COMBINER_AB_OUTPUT_NV          0x854A
  1.5538 -#define GL_COMBINER_CD_OUTPUT_NV          0x854B
  1.5539 -#define GL_COMBINER_SUM_OUTPUT_NV         0x854C
  1.5540 -#define GL_MAX_GENERAL_COMBINERS_NV       0x854D
  1.5541 -#define GL_NUM_GENERAL_COMBINERS_NV       0x854E
  1.5542 -#define GL_COLOR_SUM_CLAMP_NV             0x854F
  1.5543 -#define GL_COMBINER0_NV                   0x8550
  1.5544 -#define GL_COMBINER1_NV                   0x8551
  1.5545 -#define GL_COMBINER2_NV                   0x8552
  1.5546 -#define GL_COMBINER3_NV                   0x8553
  1.5547 -#define GL_COMBINER4_NV                   0x8554
  1.5548 -#define GL_COMBINER5_NV                   0x8555
  1.5549 -#define GL_COMBINER6_NV                   0x8556
  1.5550 -#define GL_COMBINER7_NV                   0x8557
  1.5551 -/* reuse GL_TEXTURE0_ARB */
  1.5552 -/* reuse GL_TEXTURE1_ARB */
  1.5553 -/* reuse GL_ZERO */
  1.5554 -/* reuse GL_NONE */
  1.5555 -/* reuse GL_FOG */
  1.5556 -#endif
  1.5557 -
  1.5558 -#ifndef GL_NV_fog_distance
  1.5559 -#define GL_FOG_DISTANCE_MODE_NV           0x855A
  1.5560 -#define GL_EYE_RADIAL_NV                  0x855B
  1.5561 -#define GL_EYE_PLANE_ABSOLUTE_NV          0x855C
  1.5562 -/* reuse GL_EYE_PLANE */
  1.5563 -#endif
  1.5564 -
  1.5565 -#ifndef GL_NV_texgen_emboss
  1.5566 -#define GL_EMBOSS_LIGHT_NV                0x855D
  1.5567 -#define GL_EMBOSS_CONSTANT_NV             0x855E
  1.5568 -#define GL_EMBOSS_MAP_NV                  0x855F
  1.5569 -#endif
  1.5570 -
  1.5571 -#ifndef GL_NV_blend_square
  1.5572 -#endif
  1.5573 -
  1.5574 -#ifndef GL_NV_texture_env_combine4
  1.5575 -#define GL_COMBINE4_NV                    0x8503
  1.5576 -#define GL_SOURCE3_RGB_NV                 0x8583
  1.5577 -#define GL_SOURCE3_ALPHA_NV               0x858B
  1.5578 -#define GL_OPERAND3_RGB_NV                0x8593
  1.5579 -#define GL_OPERAND3_ALPHA_NV              0x859B
  1.5580 -#endif
  1.5581 -
  1.5582 -#ifndef GL_MESA_resize_buffers
  1.5583 -#endif
  1.5584 -
  1.5585 -#ifndef GL_MESA_window_pos
  1.5586 -#endif
  1.5587 -
  1.5588 -#ifndef GL_EXT_texture_compression_s3tc
  1.5589 -#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
  1.5590 -#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
  1.5591 -#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
  1.5592 -#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
  1.5593 -#endif
  1.5594 -
  1.5595 -#ifndef GL_IBM_cull_vertex
  1.5596 -#define GL_CULL_VERTEX_IBM                103050
  1.5597 -#endif
  1.5598 -
  1.5599 -#ifndef GL_IBM_multimode_draw_arrays
  1.5600 -#endif
  1.5601 -
  1.5602 -#ifndef GL_IBM_vertex_array_lists
  1.5603 -#define GL_VERTEX_ARRAY_LIST_IBM          103070
  1.5604 -#define GL_NORMAL_ARRAY_LIST_IBM          103071
  1.5605 -#define GL_COLOR_ARRAY_LIST_IBM           103072
  1.5606 -#define GL_INDEX_ARRAY_LIST_IBM           103073
  1.5607 -#define GL_TEXTURE_COORD_ARRAY_LIST_IBM   103074
  1.5608 -#define GL_EDGE_FLAG_ARRAY_LIST_IBM       103075
  1.5609 -#define GL_FOG_COORDINATE_ARRAY_LIST_IBM  103076
  1.5610 -#define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
  1.5611 -#define GL_VERTEX_ARRAY_LIST_STRIDE_IBM   103080
  1.5612 -#define GL_NORMAL_ARRAY_LIST_STRIDE_IBM   103081
  1.5613 -#define GL_COLOR_ARRAY_LIST_STRIDE_IBM    103082
  1.5614 -#define GL_INDEX_ARRAY_LIST_STRIDE_IBM    103083
  1.5615 -#define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
  1.5616 -#define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
  1.5617 -#define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
  1.5618 -#define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
  1.5619 -#endif
  1.5620 -
  1.5621 -#ifndef GL_SGIX_subsample
  1.5622 -#define GL_PACK_SUBSAMPLE_RATE_SGIX       0x85A0
  1.5623 -#define GL_UNPACK_SUBSAMPLE_RATE_SGIX     0x85A1
  1.5624 -#define GL_PIXEL_SUBSAMPLE_4444_SGIX      0x85A2
  1.5625 -#define GL_PIXEL_SUBSAMPLE_2424_SGIX      0x85A3
  1.5626 -#define GL_PIXEL_SUBSAMPLE_4242_SGIX      0x85A4
  1.5627 -#endif
  1.5628 -
  1.5629 -#ifndef GL_SGIX_ycrcb_subsample
  1.5630 -#endif
  1.5631 -
  1.5632 -#ifndef GL_SGIX_ycrcba
  1.5633 -#define GL_YCRCB_SGIX                     0x8318
  1.5634 -#define GL_YCRCBA_SGIX                    0x8319
  1.5635 -#endif
  1.5636 -
  1.5637 -#ifndef GL_SGI_depth_pass_instrument
  1.5638 -#define GL_DEPTH_PASS_INSTRUMENT_SGIX     0x8310
  1.5639 -#define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
  1.5640 -#define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
  1.5641 -#endif
  1.5642 -
  1.5643 -#ifndef GL_3DFX_texture_compression_FXT1
  1.5644 -#define GL_COMPRESSED_RGB_FXT1_3DFX       0x86B0
  1.5645 -#define GL_COMPRESSED_RGBA_FXT1_3DFX      0x86B1
  1.5646 -#endif
  1.5647 +#define GL_ARB_shader_stencil_export 1
  1.5648 +#endif /* GL_ARB_shader_stencil_export */
  1.5649 +
  1.5650 +#ifndef GL_ARB_shader_storage_buffer_object
  1.5651 +#define GL_ARB_shader_storage_buffer_object 1
  1.5652 +#endif /* GL_ARB_shader_storage_buffer_object */
  1.5653 +
  1.5654 +#ifndef GL_ARB_shader_subroutine
  1.5655 +#define GL_ARB_shader_subroutine 1
  1.5656 +#endif /* GL_ARB_shader_subroutine */
  1.5657 +
  1.5658 +#ifndef GL_ARB_shader_texture_lod
  1.5659 +#define GL_ARB_shader_texture_lod 1
  1.5660 +#endif /* GL_ARB_shader_texture_lod */
  1.5661 +
  1.5662 +#ifndef GL_ARB_shading_language_100
  1.5663 +#define GL_ARB_shading_language_100 1
  1.5664 +#define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
  1.5665 +#endif /* GL_ARB_shading_language_100 */
  1.5666 +
  1.5667 +#ifndef GL_ARB_shading_language_420pack
  1.5668 +#define GL_ARB_shading_language_420pack 1
  1.5669 +#endif /* GL_ARB_shading_language_420pack */
  1.5670 +
  1.5671 +#ifndef GL_ARB_shading_language_include
  1.5672 +#define GL_ARB_shading_language_include 1
  1.5673 +#define GL_SHADER_INCLUDE_ARB             0x8DAE
  1.5674 +#define GL_NAMED_STRING_LENGTH_ARB        0x8DE9
  1.5675 +#define GL_NAMED_STRING_TYPE_ARB          0x8DEA
  1.5676 +typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  1.5677 +typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  1.5678 +typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
  1.5679 +typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  1.5680 +typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  1.5681 +typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  1.5682 +#ifdef GL_GLEXT_PROTOTYPES
  1.5683 +GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  1.5684 +GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
  1.5685 +GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
  1.5686 +GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
  1.5687 +GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  1.5688 +GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  1.5689 +#endif
  1.5690 +#endif /* GL_ARB_shading_language_include */
  1.5691 +
  1.5692 +#ifndef GL_ARB_shading_language_packing
  1.5693 +#define GL_ARB_shading_language_packing 1
  1.5694 +#endif /* GL_ARB_shading_language_packing */
  1.5695 +
  1.5696 +#ifndef GL_ARB_shadow
  1.5697 +#define GL_ARB_shadow 1
  1.5698 +#define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
  1.5699 +#define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
  1.5700 +#define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
  1.5701 +#endif /* GL_ARB_shadow */
  1.5702 +
  1.5703 +#ifndef GL_ARB_shadow_ambient
  1.5704 +#define GL_ARB_shadow_ambient 1
  1.5705 +#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
  1.5706 +#endif /* GL_ARB_shadow_ambient */
  1.5707 +
  1.5708 +#ifndef GL_ARB_sparse_texture
  1.5709 +#define GL_ARB_sparse_texture 1
  1.5710 +#define GL_TEXTURE_SPARSE_ARB             0x91A6
  1.5711 +#define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB    0x91A7
  1.5712 +#define GL_MIN_SPARSE_LEVEL_ARB           0x919B
  1.5713 +#define GL_NUM_VIRTUAL_PAGE_SIZES_ARB     0x91A8
  1.5714 +#define GL_VIRTUAL_PAGE_SIZE_X_ARB        0x9195
  1.5715 +#define GL_VIRTUAL_PAGE_SIZE_Y_ARB        0x9196
  1.5716 +#define GL_VIRTUAL_PAGE_SIZE_Z_ARB        0x9197
  1.5717 +#define GL_MAX_SPARSE_TEXTURE_SIZE_ARB    0x9198
  1.5718 +#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
  1.5719 +#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
  1.5720 +#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
  1.5721 +typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
  1.5722 +#ifdef GL_GLEXT_PROTOTYPES
  1.5723 +GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
  1.5724 +#endif
  1.5725 +#endif /* GL_ARB_sparse_texture */
  1.5726 +
  1.5727 +#ifndef GL_ARB_stencil_texturing
  1.5728 +#define GL_ARB_stencil_texturing 1
  1.5729 +#endif /* GL_ARB_stencil_texturing */
  1.5730 +
  1.5731 +#ifndef GL_ARB_sync
  1.5732 +#define GL_ARB_sync 1
  1.5733 +#endif /* GL_ARB_sync */
  1.5734 +
  1.5735 +#ifndef GL_ARB_tessellation_shader
  1.5736 +#define GL_ARB_tessellation_shader 1
  1.5737 +#endif /* GL_ARB_tessellation_shader */
  1.5738 +
  1.5739 +#ifndef GL_ARB_texture_border_clamp
  1.5740 +#define GL_ARB_texture_border_clamp 1
  1.5741 +#define GL_CLAMP_TO_BORDER_ARB            0x812D
  1.5742 +#endif /* GL_ARB_texture_border_clamp */
  1.5743 +
  1.5744 +#ifndef GL_ARB_texture_buffer_object
  1.5745 +#define GL_ARB_texture_buffer_object 1
  1.5746 +#define GL_TEXTURE_BUFFER_ARB             0x8C2A
  1.5747 +#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB    0x8C2B
  1.5748 +#define GL_TEXTURE_BINDING_BUFFER_ARB     0x8C2C
  1.5749 +#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
  1.5750 +#define GL_TEXTURE_BUFFER_FORMAT_ARB      0x8C2E
  1.5751 +typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  1.5752 +#ifdef GL_GLEXT_PROTOTYPES
  1.5753 +GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
  1.5754 +#endif
  1.5755 +#endif /* GL_ARB_texture_buffer_object */
  1.5756 +
  1.5757 +#ifndef GL_ARB_texture_buffer_object_rgb32
  1.5758 +#define GL_ARB_texture_buffer_object_rgb32 1
  1.5759 +#endif /* GL_ARB_texture_buffer_object_rgb32 */
  1.5760 +
  1.5761 +#ifndef GL_ARB_texture_buffer_range
  1.5762 +#define GL_ARB_texture_buffer_range 1
  1.5763 +#endif /* GL_ARB_texture_buffer_range */
  1.5764 +
  1.5765 +#ifndef GL_ARB_texture_compression
  1.5766 +#define GL_ARB_texture_compression 1
  1.5767 +#define GL_COMPRESSED_ALPHA_ARB           0x84E9
  1.5768 +#define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
  1.5769 +#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
  1.5770 +#define GL_COMPRESSED_INTENSITY_ARB       0x84EC
  1.5771 +#define GL_COMPRESSED_RGB_ARB             0x84ED
  1.5772 +#define GL_COMPRESSED_RGBA_ARB            0x84EE
  1.5773 +#define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
  1.5774 +#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
  1.5775 +#define GL_TEXTURE_COMPRESSED_ARB         0x86A1
  1.5776 +#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
  1.5777 +#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
  1.5778 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  1.5779 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  1.5780 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  1.5781 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
  1.5782 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  1.5783 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  1.5784 +typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
  1.5785 +#ifdef GL_GLEXT_PROTOTYPES
  1.5786 +GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  1.5787 +GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  1.5788 +GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  1.5789 +GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
  1.5790 +GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  1.5791 +GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  1.5792 +GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img);
  1.5793 +#endif
  1.5794 +#endif /* GL_ARB_texture_compression */
  1.5795 +
  1.5796 +#ifndef GL_ARB_texture_compression_bptc
  1.5797 +#define GL_ARB_texture_compression_bptc 1
  1.5798 +#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
  1.5799 +#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
  1.5800 +#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
  1.5801 +#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
  1.5802 +#endif /* GL_ARB_texture_compression_bptc */
  1.5803 +
  1.5804 +#ifndef GL_ARB_texture_compression_rgtc
  1.5805 +#define GL_ARB_texture_compression_rgtc 1
  1.5806 +#endif /* GL_ARB_texture_compression_rgtc */
  1.5807 +
  1.5808 +#ifndef GL_ARB_texture_cube_map
  1.5809 +#define GL_ARB_texture_cube_map 1
  1.5810 +#define GL_NORMAL_MAP_ARB                 0x8511
  1.5811 +#define GL_REFLECTION_MAP_ARB             0x8512
  1.5812 +#define GL_TEXTURE_CUBE_MAP_ARB           0x8513
  1.5813 +#define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
  1.5814 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
  1.5815 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
  1.5816 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
  1.5817 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
  1.5818 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
  1.5819 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
  1.5820 +#define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
  1.5821 +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
  1.5822 +#endif /* GL_ARB_texture_cube_map */
  1.5823 +
  1.5824 +#ifndef GL_ARB_texture_cube_map_array
  1.5825 +#define GL_ARB_texture_cube_map_array 1
  1.5826 +#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB     0x9009
  1.5827 +#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
  1.5828 +#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
  1.5829 +#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB     0x900C
  1.5830 +#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
  1.5831 +#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
  1.5832 +#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
  1.5833 +#endif /* GL_ARB_texture_cube_map_array */
  1.5834 +
  1.5835 +#ifndef GL_ARB_texture_env_add
  1.5836 +#define GL_ARB_texture_env_add 1
  1.5837 +#endif /* GL_ARB_texture_env_add */
  1.5838 +
  1.5839 +#ifndef GL_ARB_texture_env_combine
  1.5840 +#define GL_ARB_texture_env_combine 1
  1.5841 +#define GL_COMBINE_ARB                    0x8570
  1.5842 +#define GL_COMBINE_RGB_ARB                0x8571
  1.5843 +#define GL_COMBINE_ALPHA_ARB              0x8572
  1.5844 +#define GL_SOURCE0_RGB_ARB                0x8580
  1.5845 +#define GL_SOURCE1_RGB_ARB                0x8581
  1.5846 +#define GL_SOURCE2_RGB_ARB                0x8582
  1.5847 +#define GL_SOURCE0_ALPHA_ARB              0x8588
  1.5848 +#define GL_SOURCE1_ALPHA_ARB              0x8589
  1.5849 +#define GL_SOURCE2_ALPHA_ARB              0x858A
  1.5850 +#define GL_OPERAND0_RGB_ARB               0x8590
  1.5851 +#define GL_OPERAND1_RGB_ARB               0x8591
  1.5852 +#define GL_OPERAND2_RGB_ARB               0x8592
  1.5853 +#define GL_OPERAND0_ALPHA_ARB             0x8598
  1.5854 +#define GL_OPERAND1_ALPHA_ARB             0x8599
  1.5855 +#define GL_OPERAND2_ALPHA_ARB             0x859A
  1.5856 +#define GL_RGB_SCALE_ARB                  0x8573
  1.5857 +#define GL_ADD_SIGNED_ARB                 0x8574
  1.5858 +#define GL_INTERPOLATE_ARB                0x8575
  1.5859 +#define GL_SUBTRACT_ARB                   0x84E7
  1.5860 +#define GL_CONSTANT_ARB                   0x8576
  1.5861 +#define GL_PRIMARY_COLOR_ARB              0x8577
  1.5862 +#define GL_PREVIOUS_ARB                   0x8578
  1.5863 +#endif /* GL_ARB_texture_env_combine */
  1.5864 +
  1.5865 +#ifndef GL_ARB_texture_env_crossbar
  1.5866 +#define GL_ARB_texture_env_crossbar 1
  1.5867 +#endif /* GL_ARB_texture_env_crossbar */
  1.5868 +
  1.5869 +#ifndef GL_ARB_texture_env_dot3
  1.5870 +#define GL_ARB_texture_env_dot3 1
  1.5871 +#define GL_DOT3_RGB_ARB                   0x86AE
  1.5872 +#define GL_DOT3_RGBA_ARB                  0x86AF
  1.5873 +#endif /* GL_ARB_texture_env_dot3 */
  1.5874 +
  1.5875 +#ifndef GL_ARB_texture_float
  1.5876 +#define GL_ARB_texture_float 1
  1.5877 +#define GL_TEXTURE_RED_TYPE_ARB           0x8C10
  1.5878 +#define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
  1.5879 +#define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
  1.5880 +#define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
  1.5881 +#define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
  1.5882 +#define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
  1.5883 +#define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
  1.5884 +#define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
  1.5885 +#define GL_RGBA32F_ARB                    0x8814
  1.5886 +#define GL_RGB32F_ARB                     0x8815
  1.5887 +#define GL_ALPHA32F_ARB                   0x8816
  1.5888 +#define GL_INTENSITY32F_ARB               0x8817
  1.5889 +#define GL_LUMINANCE32F_ARB               0x8818
  1.5890 +#define GL_LUMINANCE_ALPHA32F_ARB         0x8819
  1.5891 +#define GL_RGBA16F_ARB                    0x881A
  1.5892 +#define GL_RGB16F_ARB                     0x881B
  1.5893 +#define GL_ALPHA16F_ARB                   0x881C
  1.5894 +#define GL_INTENSITY16F_ARB               0x881D
  1.5895 +#define GL_LUMINANCE16F_ARB               0x881E
  1.5896 +#define GL_LUMINANCE_ALPHA16F_ARB         0x881F
  1.5897 +#endif /* GL_ARB_texture_float */
  1.5898 +
  1.5899 +#ifndef GL_ARB_texture_gather
  1.5900 +#define GL_ARB_texture_gather 1
  1.5901 +#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
  1.5902 +#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
  1.5903 +#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
  1.5904 +#endif /* GL_ARB_texture_gather */
  1.5905 +
  1.5906 +#ifndef GL_ARB_texture_mirror_clamp_to_edge
  1.5907 +#define GL_ARB_texture_mirror_clamp_to_edge 1
  1.5908 +#endif /* GL_ARB_texture_mirror_clamp_to_edge */
  1.5909 +
  1.5910 +#ifndef GL_ARB_texture_mirrored_repeat
  1.5911 +#define GL_ARB_texture_mirrored_repeat 1
  1.5912 +#define GL_MIRRORED_REPEAT_ARB            0x8370
  1.5913 +#endif /* GL_ARB_texture_mirrored_repeat */
  1.5914 +
  1.5915 +#ifndef GL_ARB_texture_multisample
  1.5916 +#define GL_ARB_texture_multisample 1
  1.5917 +#endif /* GL_ARB_texture_multisample */
  1.5918 +
  1.5919 +#ifndef GL_ARB_texture_non_power_of_two
  1.5920 +#define GL_ARB_texture_non_power_of_two 1
  1.5921 +#endif /* GL_ARB_texture_non_power_of_two */
  1.5922 +
  1.5923 +#ifndef GL_ARB_texture_query_levels
  1.5924 +#define GL_ARB_texture_query_levels 1
  1.5925 +#endif /* GL_ARB_texture_query_levels */
  1.5926 +
  1.5927 +#ifndef GL_ARB_texture_query_lod
  1.5928 +#define GL_ARB_texture_query_lod 1
  1.5929 +#endif /* GL_ARB_texture_query_lod */
  1.5930 +
  1.5931 +#ifndef GL_ARB_texture_rectangle
  1.5932 +#define GL_ARB_texture_rectangle 1
  1.5933 +#define GL_TEXTURE_RECTANGLE_ARB          0x84F5
  1.5934 +#define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
  1.5935 +#define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
  1.5936 +#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
  1.5937 +#endif /* GL_ARB_texture_rectangle */
  1.5938 +
  1.5939 +#ifndef GL_ARB_texture_rg
  1.5940 +#define GL_ARB_texture_rg 1
  1.5941 +#endif /* GL_ARB_texture_rg */
  1.5942 +
  1.5943 +#ifndef GL_ARB_texture_rgb10_a2ui
  1.5944 +#define GL_ARB_texture_rgb10_a2ui 1
  1.5945 +#endif /* GL_ARB_texture_rgb10_a2ui */
  1.5946 +
  1.5947 +#ifndef GL_ARB_texture_stencil8
  1.5948 +#define GL_ARB_texture_stencil8 1
  1.5949 +#endif /* GL_ARB_texture_stencil8 */
  1.5950 +
  1.5951 +#ifndef GL_ARB_texture_storage
  1.5952 +#define GL_ARB_texture_storage 1
  1.5953 +#endif /* GL_ARB_texture_storage */
  1.5954 +
  1.5955 +#ifndef GL_ARB_texture_storage_multisample
  1.5956 +#define GL_ARB_texture_storage_multisample 1
  1.5957 +#endif /* GL_ARB_texture_storage_multisample */
  1.5958 +
  1.5959 +#ifndef GL_ARB_texture_swizzle
  1.5960 +#define GL_ARB_texture_swizzle 1
  1.5961 +#endif /* GL_ARB_texture_swizzle */
  1.5962 +
  1.5963 +#ifndef GL_ARB_texture_view
  1.5964 +#define GL_ARB_texture_view 1
  1.5965 +#endif /* GL_ARB_texture_view */
  1.5966 +
  1.5967 +#ifndef GL_ARB_timer_query
  1.5968 +#define GL_ARB_timer_query 1
  1.5969 +#endif /* GL_ARB_timer_query */
  1.5970 +
  1.5971 +#ifndef GL_ARB_transform_feedback2
  1.5972 +#define GL_ARB_transform_feedback2 1
  1.5973 +#define GL_TRANSFORM_FEEDBACK_PAUSED      0x8E23
  1.5974 +#define GL_TRANSFORM_FEEDBACK_ACTIVE      0x8E24
  1.5975 +#endif /* GL_ARB_transform_feedback2 */
  1.5976 +
  1.5977 +#ifndef GL_ARB_transform_feedback3
  1.5978 +#define GL_ARB_transform_feedback3 1
  1.5979 +#endif /* GL_ARB_transform_feedback3 */
  1.5980 +
  1.5981 +#ifndef GL_ARB_transform_feedback_instanced
  1.5982 +#define GL_ARB_transform_feedback_instanced 1
  1.5983 +#endif /* GL_ARB_transform_feedback_instanced */
  1.5984 +
  1.5985 +#ifndef GL_ARB_transpose_matrix
  1.5986 +#define GL_ARB_transpose_matrix 1
  1.5987 +#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
  1.5988 +#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
  1.5989 +#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
  1.5990 +#define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
  1.5991 +typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  1.5992 +typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  1.5993 +typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  1.5994 +typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  1.5995 +#ifdef GL_GLEXT_PROTOTYPES
  1.5996 +GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
  1.5997 +GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
  1.5998 +GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
  1.5999 +GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
  1.6000 +#endif
  1.6001 +#endif /* GL_ARB_transpose_matrix */
  1.6002 +
  1.6003 +#ifndef GL_ARB_uniform_buffer_object
  1.6004 +#define GL_ARB_uniform_buffer_object 1
  1.6005 +#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS    0x8A2C
  1.6006 +#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
  1.6007 +#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
  1.6008 +#endif /* GL_ARB_uniform_buffer_object */
  1.6009 +
  1.6010 +#ifndef GL_ARB_vertex_array_bgra
  1.6011 +#define GL_ARB_vertex_array_bgra 1
  1.6012 +#endif /* GL_ARB_vertex_array_bgra */
  1.6013 +
  1.6014 +#ifndef GL_ARB_vertex_array_object
  1.6015 +#define GL_ARB_vertex_array_object 1
  1.6016 +#endif /* GL_ARB_vertex_array_object */
  1.6017 +
  1.6018 +#ifndef GL_ARB_vertex_attrib_64bit
  1.6019 +#define GL_ARB_vertex_attrib_64bit 1
  1.6020 +#endif /* GL_ARB_vertex_attrib_64bit */
  1.6021 +
  1.6022 +#ifndef GL_ARB_vertex_attrib_binding
  1.6023 +#define GL_ARB_vertex_attrib_binding 1
  1.6024 +#endif /* GL_ARB_vertex_attrib_binding */
  1.6025 +
  1.6026 +#ifndef GL_ARB_vertex_blend
  1.6027 +#define GL_ARB_vertex_blend 1
  1.6028 +#define GL_MAX_VERTEX_UNITS_ARB           0x86A4
  1.6029 +#define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
  1.6030 +#define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
  1.6031 +#define GL_VERTEX_BLEND_ARB               0x86A7
  1.6032 +#define GL_CURRENT_WEIGHT_ARB             0x86A8
  1.6033 +#define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
  1.6034 +#define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
  1.6035 +#define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
  1.6036 +#define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
  1.6037 +#define GL_WEIGHT_ARRAY_ARB               0x86AD
  1.6038 +#define GL_MODELVIEW0_ARB                 0x1700
  1.6039 +#define GL_MODELVIEW1_ARB                 0x850A
  1.6040 +#define GL_MODELVIEW2_ARB                 0x8722
  1.6041 +#define GL_MODELVIEW3_ARB                 0x8723
  1.6042 +#define GL_MODELVIEW4_ARB                 0x8724
  1.6043 +#define GL_MODELVIEW5_ARB                 0x8725
  1.6044 +#define GL_MODELVIEW6_ARB                 0x8726
  1.6045 +#define GL_MODELVIEW7_ARB                 0x8727
  1.6046 +#define GL_MODELVIEW8_ARB                 0x8728
  1.6047 +#define GL_MODELVIEW9_ARB                 0x8729
  1.6048 +#define GL_MODELVIEW10_ARB                0x872A
  1.6049 +#define GL_MODELVIEW11_ARB                0x872B
  1.6050 +#define GL_MODELVIEW12_ARB                0x872C
  1.6051 +#define GL_MODELVIEW13_ARB                0x872D
  1.6052 +#define GL_MODELVIEW14_ARB                0x872E
  1.6053 +#define GL_MODELVIEW15_ARB                0x872F
  1.6054 +#define GL_MODELVIEW16_ARB                0x8730
  1.6055 +#define GL_MODELVIEW17_ARB                0x8731
  1.6056 +#define GL_MODELVIEW18_ARB                0x8732
  1.6057 +#define GL_MODELVIEW19_ARB                0x8733
  1.6058 +#define GL_MODELVIEW20_ARB                0x8734
  1.6059 +#define GL_MODELVIEW21_ARB                0x8735
  1.6060 +#define GL_MODELVIEW22_ARB                0x8736
  1.6061 +#define GL_MODELVIEW23_ARB                0x8737
  1.6062 +#define GL_MODELVIEW24_ARB                0x8738
  1.6063 +#define GL_MODELVIEW25_ARB                0x8739
  1.6064 +#define GL_MODELVIEW26_ARB                0x873A
  1.6065 +#define GL_MODELVIEW27_ARB                0x873B
  1.6066 +#define GL_MODELVIEW28_ARB                0x873C
  1.6067 +#define GL_MODELVIEW29_ARB                0x873D
  1.6068 +#define GL_MODELVIEW30_ARB                0x873E
  1.6069 +#define GL_MODELVIEW31_ARB                0x873F
  1.6070 +typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
  1.6071 +typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
  1.6072 +typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
  1.6073 +typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
  1.6074 +typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
  1.6075 +typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
  1.6076 +typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
  1.6077 +typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
  1.6078 +typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  1.6079 +typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
  1.6080 +#ifdef GL_GLEXT_PROTOTYPES
  1.6081 +GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
  1.6082 +GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
  1.6083 +GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
  1.6084 +GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
  1.6085 +GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
  1.6086 +GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
  1.6087 +GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
  1.6088 +GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
  1.6089 +GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
  1.6090 +GLAPI void APIENTRY glVertexBlendARB (GLint count);
  1.6091 +#endif
  1.6092 +#endif /* GL_ARB_vertex_blend */
  1.6093 +
  1.6094 +#ifndef GL_ARB_vertex_buffer_object
  1.6095 +#define GL_ARB_vertex_buffer_object 1
  1.6096 +typedef ptrdiff_t GLsizeiptrARB;
  1.6097 +typedef ptrdiff_t GLintptrARB;
  1.6098 +#define GL_BUFFER_SIZE_ARB                0x8764
  1.6099 +#define GL_BUFFER_USAGE_ARB               0x8765
  1.6100 +#define GL_ARRAY_BUFFER_ARB               0x8892
  1.6101 +#define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
  1.6102 +#define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
  1.6103 +#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
  1.6104 +#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
  1.6105 +#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
  1.6106 +#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
  1.6107 +#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
  1.6108 +#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
  1.6109 +#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
  1.6110 +#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
  1.6111 +#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
  1.6112 +#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
  1.6113 +#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
  1.6114 +#define GL_READ_ONLY_ARB                  0x88B8
  1.6115 +#define GL_WRITE_ONLY_ARB                 0x88B9
  1.6116 +#define GL_READ_WRITE_ARB                 0x88BA
  1.6117 +#define GL_BUFFER_ACCESS_ARB              0x88BB
  1.6118 +#define GL_BUFFER_MAPPED_ARB              0x88BC
  1.6119 +#define GL_BUFFER_MAP_POINTER_ARB         0x88BD
  1.6120 +#define GL_STREAM_DRAW_ARB                0x88E0
  1.6121 +#define GL_STREAM_READ_ARB                0x88E1
  1.6122 +#define GL_STREAM_COPY_ARB                0x88E2
  1.6123 +#define GL_STATIC_DRAW_ARB                0x88E4
  1.6124 +#define GL_STATIC_READ_ARB                0x88E5
  1.6125 +#define GL_STATIC_COPY_ARB                0x88E6
  1.6126 +#define GL_DYNAMIC_DRAW_ARB               0x88E8
  1.6127 +#define GL_DYNAMIC_READ_ARB               0x88E9
  1.6128 +#define GL_DYNAMIC_COPY_ARB               0x88EA
  1.6129 +typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
  1.6130 +typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
  1.6131 +typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
  1.6132 +typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
  1.6133 +typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
  1.6134 +typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
  1.6135 +typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
  1.6136 +typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
  1.6137 +typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
  1.6138 +typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  1.6139 +typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params);
  1.6140 +#ifdef GL_GLEXT_PROTOTYPES
  1.6141 +GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
  1.6142 +GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
  1.6143 +GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
  1.6144 +GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
  1.6145 +GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
  1.6146 +GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
  1.6147 +GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
  1.6148 +GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
  1.6149 +GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
  1.6150 +GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
  1.6151 +GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params);
  1.6152 +#endif
  1.6153 +#endif /* GL_ARB_vertex_buffer_object */
  1.6154 +
  1.6155 +#ifndef GL_ARB_vertex_program
  1.6156 +#define GL_ARB_vertex_program 1
  1.6157 +#define GL_COLOR_SUM_ARB                  0x8458
  1.6158 +#define GL_VERTEX_PROGRAM_ARB             0x8620
  1.6159 +#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
  1.6160 +#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
  1.6161 +#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
  1.6162 +#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
  1.6163 +#define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
  1.6164 +#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
  1.6165 +#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
  1.6166 +#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
  1.6167 +#define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
  1.6168 +#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
  1.6169 +#define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
  1.6170 +#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
  1.6171 +#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
  1.6172 +#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
  1.6173 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
  1.6174 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
  1.6175 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
  1.6176 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
  1.6177 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
  1.6178 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
  1.6179 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
  1.6180 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
  1.6181 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
  1.6182 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
  1.6183 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
  1.6184 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
  1.6185 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  1.6186 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
  1.6187 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  1.6188 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
  1.6189 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  1.6190 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
  1.6191 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
  1.6192 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
  1.6193 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
  1.6194 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  1.6195 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
  1.6196 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
  1.6197 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
  1.6198 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
  1.6199 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.6200 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
  1.6201 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1.6202 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
  1.6203 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
  1.6204 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  1.6205 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
  1.6206 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
  1.6207 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
  1.6208 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
  1.6209 +typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  1.6210 +typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  1.6211 +typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  1.6212 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
  1.6213 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
  1.6214 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
  1.6215 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer);
  1.6216 +#ifdef GL_GLEXT_PROTOTYPES
  1.6217 +GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
  1.6218 +GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
  1.6219 +GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
  1.6220 +GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
  1.6221 +GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
  1.6222 +GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
  1.6223 +GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
  1.6224 +GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
  1.6225 +GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
  1.6226 +GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
  1.6227 +GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
  1.6228 +GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
  1.6229 +GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  1.6230 +GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
  1.6231 +GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  1.6232 +GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
  1.6233 +GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
  1.6234 +GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
  1.6235 +GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
  1.6236 +GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
  1.6237 +GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
  1.6238 +GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  1.6239 +GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
  1.6240 +GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
  1.6241 +GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
  1.6242 +GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
  1.6243 +GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.6244 +GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
  1.6245 +GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1.6246 +GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
  1.6247 +GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
  1.6248 +GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  1.6249 +GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
  1.6250 +GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
  1.6251 +GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
  1.6252 +GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
  1.6253 +GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  1.6254 +GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
  1.6255 +GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
  1.6256 +GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
  1.6257 +GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
  1.6258 +GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
  1.6259 +GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer);
  1.6260 +#endif
  1.6261 +#endif /* GL_ARB_vertex_program */
  1.6262 +
  1.6263 +#ifndef GL_ARB_vertex_shader
  1.6264 +#define GL_ARB_vertex_shader 1
  1.6265 +#define GL_VERTEX_SHADER_ARB              0x8B31
  1.6266 +#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
  1.6267 +#define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
  1.6268 +#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
  1.6269 +#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
  1.6270 +#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
  1.6271 +#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
  1.6272 +typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  1.6273 +typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  1.6274 +typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  1.6275 +#ifdef GL_GLEXT_PROTOTYPES
  1.6276 +GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  1.6277 +GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  1.6278 +GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
  1.6279 +#endif
  1.6280 +#endif /* GL_ARB_vertex_shader */
  1.6281 +
  1.6282 +#ifndef GL_ARB_vertex_type_10f_11f_11f_rev
  1.6283 +#define GL_ARB_vertex_type_10f_11f_11f_rev 1
  1.6284 +#endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
  1.6285 +
  1.6286 +#ifndef GL_ARB_vertex_type_2_10_10_10_rev
  1.6287 +#define GL_ARB_vertex_type_2_10_10_10_rev 1
  1.6288 +#endif /* GL_ARB_vertex_type_2_10_10_10_rev */
  1.6289 +
  1.6290 +#ifndef GL_ARB_viewport_array
  1.6291 +#define GL_ARB_viewport_array 1
  1.6292 +#endif /* GL_ARB_viewport_array */
  1.6293 +
  1.6294 +#ifndef GL_ARB_window_pos
  1.6295 +#define GL_ARB_window_pos 1
  1.6296 +typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
  1.6297 +typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
  1.6298 +typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
  1.6299 +typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
  1.6300 +typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
  1.6301 +typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
  1.6302 +typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
  1.6303 +typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
  1.6304 +typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
  1.6305 +typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
  1.6306 +typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
  1.6307 +typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
  1.6308 +typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
  1.6309 +typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
  1.6310 +typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
  1.6311 +typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
  1.6312 +#ifdef GL_GLEXT_PROTOTYPES
  1.6313 +GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
  1.6314 +GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
  1.6315 +GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
  1.6316 +GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
  1.6317 +GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
  1.6318 +GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
  1.6319 +GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
  1.6320 +GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
  1.6321 +GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
  1.6322 +GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
  1.6323 +GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
  1.6324 +GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
  1.6325 +GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
  1.6326 +GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
  1.6327 +GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
  1.6328 +GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
  1.6329 +#endif
  1.6330 +#endif /* GL_ARB_window_pos */
  1.6331 +
  1.6332 +#ifndef GL_KHR_debug
  1.6333 +#define GL_KHR_debug 1
  1.6334 +#endif /* GL_KHR_debug */
  1.6335 +
  1.6336 +#ifndef GL_KHR_texture_compression_astc_hdr
  1.6337 +#define GL_KHR_texture_compression_astc_hdr 1
  1.6338 +#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR   0x93B0
  1.6339 +#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR   0x93B1
  1.6340 +#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR   0x93B2
  1.6341 +#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR   0x93B3
  1.6342 +#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR   0x93B4
  1.6343 +#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR   0x93B5
  1.6344 +#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR   0x93B6
  1.6345 +#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR   0x93B7
  1.6346 +#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR  0x93B8
  1.6347 +#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR  0x93B9
  1.6348 +#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR  0x93BA
  1.6349 +#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
  1.6350 +#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
  1.6351 +#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
  1.6352 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
  1.6353 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
  1.6354 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
  1.6355 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
  1.6356 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
  1.6357 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
  1.6358 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
  1.6359 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
  1.6360 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
  1.6361 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
  1.6362 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
  1.6363 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
  1.6364 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
  1.6365 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
  1.6366 +#endif /* GL_KHR_texture_compression_astc_hdr */
  1.6367 +
  1.6368 +#ifndef GL_KHR_texture_compression_astc_ldr
  1.6369 +#define GL_KHR_texture_compression_astc_ldr 1
  1.6370 +#endif /* GL_KHR_texture_compression_astc_ldr */
  1.6371 +
  1.6372 +#ifndef GL_OES_byte_coordinates
  1.6373 +#define GL_OES_byte_coordinates 1
  1.6374 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
  1.6375 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords);
  1.6376 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t);
  1.6377 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords);
  1.6378 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
  1.6379 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords);
  1.6380 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  1.6381 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords);
  1.6382 +typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s);
  1.6383 +typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords);
  1.6384 +typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t);
  1.6385 +typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords);
  1.6386 +typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
  1.6387 +typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
  1.6388 +typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  1.6389 +typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
  1.6390 +typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x);
  1.6391 +typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
  1.6392 +typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y);
  1.6393 +typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
  1.6394 +typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
  1.6395 +typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
  1.6396 +#ifdef GL_GLEXT_PROTOTYPES
  1.6397 +GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
  1.6398 +GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords);
  1.6399 +GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t);
  1.6400 +GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords);
  1.6401 +GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
  1.6402 +GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords);
  1.6403 +GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  1.6404 +GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords);
  1.6405 +GLAPI void APIENTRY glTexCoord1bOES (GLbyte s);
  1.6406 +GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords);
  1.6407 +GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t);
  1.6408 +GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords);
  1.6409 +GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
  1.6410 +GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
  1.6411 +GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  1.6412 +GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
  1.6413 +GLAPI void APIENTRY glVertex2bOES (GLbyte x);
  1.6414 +GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
  1.6415 +GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y);
  1.6416 +GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
  1.6417 +GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z);
  1.6418 +GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
  1.6419 +#endif
  1.6420 +#endif /* GL_OES_byte_coordinates */
  1.6421 +
  1.6422 +#ifndef GL_OES_compressed_paletted_texture
  1.6423 +#define GL_OES_compressed_paletted_texture 1
  1.6424 +#define GL_PALETTE4_RGB8_OES              0x8B90
  1.6425 +#define GL_PALETTE4_RGBA8_OES             0x8B91
  1.6426 +#define GL_PALETTE4_R5_G6_B5_OES          0x8B92
  1.6427 +#define GL_PALETTE4_RGBA4_OES             0x8B93
  1.6428 +#define GL_PALETTE4_RGB5_A1_OES           0x8B94
  1.6429 +#define GL_PALETTE8_RGB8_OES              0x8B95
  1.6430 +#define GL_PALETTE8_RGBA8_OES             0x8B96
  1.6431 +#define GL_PALETTE8_R5_G6_B5_OES          0x8B97
  1.6432 +#define GL_PALETTE8_RGBA4_OES             0x8B98
  1.6433 +#define GL_PALETTE8_RGB5_A1_OES           0x8B99
  1.6434 +#endif /* GL_OES_compressed_paletted_texture */
  1.6435 +
  1.6436 +#ifndef GL_OES_fixed_point
  1.6437 +#define GL_OES_fixed_point 1
  1.6438 +typedef GLint GLfixed;
  1.6439 +#define GL_FIXED_OES                      0x140C
  1.6440 +typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
  1.6441 +typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  1.6442 +typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
  1.6443 +typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
  1.6444 +typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  1.6445 +typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
  1.6446 +typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
  1.6447 +typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
  1.6448 +typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  1.6449 +typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
  1.6450 +typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
  1.6451 +typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  1.6452 +typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  1.6453 +typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
  1.6454 +typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
  1.6455 +typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
  1.6456 +typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
  1.6457 +typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
  1.6458 +typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
  1.6459 +typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
  1.6460 +typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
  1.6461 +typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
  1.6462 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  1.6463 +typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
  1.6464 +typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  1.6465 +typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
  1.6466 +typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
  1.6467 +typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
  1.6468 +typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
  1.6469 +typedef void (APIENTRYP PFNGLSAMPLECOVERAGEOESPROC) (GLfixed value, GLboolean invert);
  1.6470 +typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  1.6471 +typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  1.6472 +typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  1.6473 +typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  1.6474 +typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  1.6475 +typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  1.6476 +typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value);
  1.6477 +typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
  1.6478 +typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  1.6479 +typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  1.6480 +typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue);
  1.6481 +typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components);
  1.6482 +typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components);
  1.6483 +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  1.6484 +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  1.6485 +typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u);
  1.6486 +typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords);
  1.6487 +typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v);
  1.6488 +typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords);
  1.6489 +typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer);
  1.6490 +typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  1.6491 +typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  1.6492 +typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params);
  1.6493 +typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v);
  1.6494 +typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
  1.6495 +typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values);
  1.6496 +typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
  1.6497 +typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params);
  1.6498 +typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component);
  1.6499 +typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component);
  1.6500 +typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
  1.6501 +typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
  1.6502 +typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
  1.6503 +typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2);
  1.6504 +typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
  1.6505 +typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
  1.6506 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s);
  1.6507 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords);
  1.6508 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t);
  1.6509 +typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords);
  1.6510 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
  1.6511 +typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords);
  1.6512 +typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords);
  1.6513 +typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords);
  1.6514 +typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token);
  1.6515 +typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values);
  1.6516 +typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param);
  1.6517 +typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param);
  1.6518 +typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor);
  1.6519 +typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities);
  1.6520 +typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y);
  1.6521 +typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords);
  1.6522 +typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  1.6523 +typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords);
  1.6524 +typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
  1.6525 +typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords);
  1.6526 +typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
  1.6527 +typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2);
  1.6528 +typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s);
  1.6529 +typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords);
  1.6530 +typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t);
  1.6531 +typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords);
  1.6532 +typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r);
  1.6533 +typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords);
  1.6534 +typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  1.6535 +typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords);
  1.6536 +typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
  1.6537 +typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
  1.6538 +typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x);
  1.6539 +typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords);
  1.6540 +typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y);
  1.6541 +typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords);
  1.6542 +typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  1.6543 +typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords);
  1.6544 +#ifdef GL_GLEXT_PROTOTYPES
  1.6545 +GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref);
  1.6546 +GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  1.6547 +GLAPI void APIENTRY glClearDepthxOES (GLfixed depth);
  1.6548 +GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
  1.6549 +GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  1.6550 +GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f);
  1.6551 +GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param);
  1.6552 +GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param);
  1.6553 +GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  1.6554 +GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
  1.6555 +GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
  1.6556 +GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params);
  1.6557 +GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  1.6558 +GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
  1.6559 +GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param);
  1.6560 +GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
  1.6561 +GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
  1.6562 +GLAPI void APIENTRY glLineWidthxOES (GLfixed width);
  1.6563 +GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m);
  1.6564 +GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
  1.6565 +GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param);
  1.6566 +GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m);
  1.6567 +GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  1.6568 +GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
  1.6569 +GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  1.6570 +GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
  1.6571 +GLAPI void APIENTRY glPointSizexOES (GLfixed size);
  1.6572 +GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
  1.6573 +GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
  1.6574 +GLAPI void APIENTRY glSampleCoverageOES (GLfixed value, GLboolean invert);
  1.6575 +GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
  1.6576 +GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
  1.6577 +GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
  1.6578 +GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
  1.6579 +GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
  1.6580 +GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
  1.6581 +GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value);
  1.6582 +GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
  1.6583 +GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  1.6584 +GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  1.6585 +GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue);
  1.6586 +GLAPI void APIENTRY glColor3xvOES (const GLfixed *components);
  1.6587 +GLAPI void APIENTRY glColor4xvOES (const GLfixed *components);
  1.6588 +GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param);
  1.6589 +GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
  1.6590 +GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u);
  1.6591 +GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords);
  1.6592 +GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v);
  1.6593 +GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords);
  1.6594 +GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer);
  1.6595 +GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  1.6596 +GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  1.6597 +GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params);
  1.6598 +GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v);
  1.6599 +GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param);
  1.6600 +GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values);
  1.6601 +GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
  1.6602 +GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params);
  1.6603 +GLAPI void APIENTRY glIndexxOES (GLfixed component);
  1.6604 +GLAPI void APIENTRY glIndexxvOES (const GLfixed *component);
  1.6605 +GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m);
  1.6606 +GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
  1.6607 +GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
  1.6608 +GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2);
  1.6609 +GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
  1.6610 +GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m);
  1.6611 +GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s);
  1.6612 +GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords);
  1.6613 +GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t);
  1.6614 +GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords);
  1.6615 +GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
  1.6616 +GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords);
  1.6617 +GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords);
  1.6618 +GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords);
  1.6619 +GLAPI void APIENTRY glPassThroughxOES (GLfixed token);
  1.6620 +GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values);
  1.6621 +GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param);
  1.6622 +GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param);
  1.6623 +GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor);
  1.6624 +GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities);
  1.6625 +GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y);
  1.6626 +GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords);
  1.6627 +GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z);
  1.6628 +GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords);
  1.6629 +GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
  1.6630 +GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords);
  1.6631 +GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
  1.6632 +GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2);
  1.6633 +GLAPI void APIENTRY glTexCoord1xOES (GLfixed s);
  1.6634 +GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords);
  1.6635 +GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t);
  1.6636 +GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords);
  1.6637 +GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r);
  1.6638 +GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords);
  1.6639 +GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  1.6640 +GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords);
  1.6641 +GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
  1.6642 +GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
  1.6643 +GLAPI void APIENTRY glVertex2xOES (GLfixed x);
  1.6644 +GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords);
  1.6645 +GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y);
  1.6646 +GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords);
  1.6647 +GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z);
  1.6648 +GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords);
  1.6649 +#endif
  1.6650 +#endif /* GL_OES_fixed_point */
  1.6651 +
  1.6652 +#ifndef GL_OES_query_matrix
  1.6653 +#define GL_OES_query_matrix 1
  1.6654 +typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent);
  1.6655 +#ifdef GL_GLEXT_PROTOTYPES
  1.6656 +GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
  1.6657 +#endif
  1.6658 +#endif /* GL_OES_query_matrix */
  1.6659 +
  1.6660 +#ifndef GL_OES_read_format
  1.6661 +#define GL_OES_read_format 1
  1.6662 +#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
  1.6663 +#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
  1.6664 +#endif /* GL_OES_read_format */
  1.6665 +
  1.6666 +#ifndef GL_OES_single_precision
  1.6667 +#define GL_OES_single_precision 1
  1.6668 +typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
  1.6669 +typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
  1.6670 +typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
  1.6671 +typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  1.6672 +typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
  1.6673 +typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  1.6674 +#ifdef GL_GLEXT_PROTOTYPES
  1.6675 +GLAPI void APIENTRY glClearDepthfOES (GLclampf depth);
  1.6676 +GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
  1.6677 +GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f);
  1.6678 +GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  1.6679 +GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
  1.6680 +GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  1.6681 +#endif
  1.6682 +#endif /* GL_OES_single_precision */
  1.6683  
  1.6684  #ifndef GL_3DFX_multisample
  1.6685 +#define GL_3DFX_multisample 1
  1.6686  #define GL_MULTISAMPLE_3DFX               0x86B2
  1.6687  #define GL_SAMPLE_BUFFERS_3DFX            0x86B3
  1.6688  #define GL_SAMPLES_3DFX                   0x86B4
  1.6689  #define GL_MULTISAMPLE_BIT_3DFX           0x20000000
  1.6690 -#endif
  1.6691 +#endif /* GL_3DFX_multisample */
  1.6692  
  1.6693  #ifndef GL_3DFX_tbuffer
  1.6694 -#endif
  1.6695 -
  1.6696 -#ifndef GL_EXT_multisample
  1.6697 -#define GL_MULTISAMPLE_EXT                0x809D
  1.6698 -#define GL_SAMPLE_ALPHA_TO_MASK_EXT       0x809E
  1.6699 -#define GL_SAMPLE_ALPHA_TO_ONE_EXT        0x809F
  1.6700 -#define GL_SAMPLE_MASK_EXT                0x80A0
  1.6701 -#define GL_1PASS_EXT                      0x80A1
  1.6702 -#define GL_2PASS_0_EXT                    0x80A2
  1.6703 -#define GL_2PASS_1_EXT                    0x80A3
  1.6704 -#define GL_4PASS_0_EXT                    0x80A4
  1.6705 -#define GL_4PASS_1_EXT                    0x80A5
  1.6706 -#define GL_4PASS_2_EXT                    0x80A6
  1.6707 -#define GL_4PASS_3_EXT                    0x80A7
  1.6708 -#define GL_SAMPLE_BUFFERS_EXT             0x80A8
  1.6709 -#define GL_SAMPLES_EXT                    0x80A9
  1.6710 -#define GL_SAMPLE_MASK_VALUE_EXT          0x80AA
  1.6711 -#define GL_SAMPLE_MASK_INVERT_EXT         0x80AB
  1.6712 -#define GL_SAMPLE_PATTERN_EXT             0x80AC
  1.6713 -#define GL_MULTISAMPLE_BIT_EXT            0x20000000
  1.6714 -#endif
  1.6715 -
  1.6716 -#ifndef GL_SGIX_vertex_preclip
  1.6717 -#define GL_VERTEX_PRECLIP_SGIX            0x83EE
  1.6718 -#define GL_VERTEX_PRECLIP_HINT_SGIX       0x83EF
  1.6719 -#endif
  1.6720 -
  1.6721 -#ifndef GL_SGIX_convolution_accuracy
  1.6722 -#define GL_CONVOLUTION_HINT_SGIX          0x8316
  1.6723 -#endif
  1.6724 -
  1.6725 -#ifndef GL_SGIX_resample
  1.6726 -#define GL_PACK_RESAMPLE_SGIX             0x842C
  1.6727 -#define GL_UNPACK_RESAMPLE_SGIX           0x842D
  1.6728 -#define GL_RESAMPLE_REPLICATE_SGIX        0x842E
  1.6729 -#define GL_RESAMPLE_ZERO_FILL_SGIX        0x842F
  1.6730 -#define GL_RESAMPLE_DECIMATE_SGIX         0x8430
  1.6731 -#endif
  1.6732 -
  1.6733 -#ifndef GL_SGIS_point_line_texgen
  1.6734 -#define GL_EYE_DISTANCE_TO_POINT_SGIS     0x81F0
  1.6735 -#define GL_OBJECT_DISTANCE_TO_POINT_SGIS  0x81F1
  1.6736 -#define GL_EYE_DISTANCE_TO_LINE_SGIS      0x81F2
  1.6737 -#define GL_OBJECT_DISTANCE_TO_LINE_SGIS   0x81F3
  1.6738 -#define GL_EYE_POINT_SGIS                 0x81F4
  1.6739 -#define GL_OBJECT_POINT_SGIS              0x81F5
  1.6740 -#define GL_EYE_LINE_SGIS                  0x81F6
  1.6741 -#define GL_OBJECT_LINE_SGIS               0x81F7
  1.6742 -#endif
  1.6743 -
  1.6744 -#ifndef GL_SGIS_texture_color_mask
  1.6745 -#define GL_TEXTURE_COLOR_WRITEMASK_SGIS   0x81EF
  1.6746 -#endif
  1.6747 -
  1.6748 -#ifndef GL_EXT_texture_env_dot3
  1.6749 -#define GL_DOT3_RGB_EXT                   0x8740
  1.6750 -#define GL_DOT3_RGBA_EXT                  0x8741
  1.6751 -#endif
  1.6752 -
  1.6753 -#ifndef GL_ATI_texture_mirror_once
  1.6754 -#define GL_MIRROR_CLAMP_ATI               0x8742
  1.6755 -#define GL_MIRROR_CLAMP_TO_EDGE_ATI       0x8743
  1.6756 -#endif
  1.6757 -
  1.6758 -#ifndef GL_NV_fence
  1.6759 -#define GL_ALL_COMPLETED_NV               0x84F2
  1.6760 -#define GL_FENCE_STATUS_NV                0x84F3
  1.6761 -#define GL_FENCE_CONDITION_NV             0x84F4
  1.6762 -#endif
  1.6763 -
  1.6764 -#ifndef GL_IBM_texture_mirrored_repeat
  1.6765 -#define GL_MIRRORED_REPEAT_IBM            0x8370
  1.6766 -#endif
  1.6767 -
  1.6768 -#ifndef GL_NV_evaluators
  1.6769 -#define GL_EVAL_2D_NV                     0x86C0
  1.6770 -#define GL_EVAL_TRIANGULAR_2D_NV          0x86C1
  1.6771 -#define GL_MAP_TESSELLATION_NV            0x86C2
  1.6772 -#define GL_MAP_ATTRIB_U_ORDER_NV          0x86C3
  1.6773 -#define GL_MAP_ATTRIB_V_ORDER_NV          0x86C4
  1.6774 -#define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
  1.6775 -#define GL_EVAL_VERTEX_ATTRIB0_NV         0x86C6
  1.6776 -#define GL_EVAL_VERTEX_ATTRIB1_NV         0x86C7
  1.6777 -#define GL_EVAL_VERTEX_ATTRIB2_NV         0x86C8
  1.6778 -#define GL_EVAL_VERTEX_ATTRIB3_NV         0x86C9
  1.6779 -#define GL_EVAL_VERTEX_ATTRIB4_NV         0x86CA
  1.6780 -#define GL_EVAL_VERTEX_ATTRIB5_NV         0x86CB
  1.6781 -#define GL_EVAL_VERTEX_ATTRIB6_NV         0x86CC
  1.6782 -#define GL_EVAL_VERTEX_ATTRIB7_NV         0x86CD
  1.6783 -#define GL_EVAL_VERTEX_ATTRIB8_NV         0x86CE
  1.6784 -#define GL_EVAL_VERTEX_ATTRIB9_NV         0x86CF
  1.6785 -#define GL_EVAL_VERTEX_ATTRIB10_NV        0x86D0
  1.6786 -#define GL_EVAL_VERTEX_ATTRIB11_NV        0x86D1
  1.6787 -#define GL_EVAL_VERTEX_ATTRIB12_NV        0x86D2
  1.6788 -#define GL_EVAL_VERTEX_ATTRIB13_NV        0x86D3
  1.6789 -#define GL_EVAL_VERTEX_ATTRIB14_NV        0x86D4
  1.6790 -#define GL_EVAL_VERTEX_ATTRIB15_NV        0x86D5
  1.6791 -#define GL_MAX_MAP_TESSELLATION_NV        0x86D6
  1.6792 -#define GL_MAX_RATIONAL_EVAL_ORDER_NV     0x86D7
  1.6793 -#endif
  1.6794 -
  1.6795 -#ifndef GL_NV_packed_depth_stencil
  1.6796 -#define GL_DEPTH_STENCIL_NV               0x84F9
  1.6797 -#define GL_UNSIGNED_INT_24_8_NV           0x84FA
  1.6798 -#endif
  1.6799 -
  1.6800 -#ifndef GL_NV_register_combiners2
  1.6801 -#define GL_PER_STAGE_CONSTANTS_NV         0x8535
  1.6802 -#endif
  1.6803 -
  1.6804 -#ifndef GL_NV_texture_compression_vtc
  1.6805 -#endif
  1.6806 -
  1.6807 -#ifndef GL_NV_texture_rectangle
  1.6808 -#define GL_TEXTURE_RECTANGLE_NV           0x84F5
  1.6809 -#define GL_TEXTURE_BINDING_RECTANGLE_NV   0x84F6
  1.6810 -#define GL_PROXY_TEXTURE_RECTANGLE_NV     0x84F7
  1.6811 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV  0x84F8
  1.6812 -#endif
  1.6813 -
  1.6814 -#ifndef GL_NV_texture_shader
  1.6815 -#define GL_OFFSET_TEXTURE_RECTANGLE_NV    0x864C
  1.6816 -#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
  1.6817 -#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
  1.6818 -#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
  1.6819 -#define GL_UNSIGNED_INT_S8_S8_8_8_NV      0x86DA
  1.6820 -#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV  0x86DB
  1.6821 -#define GL_DSDT_MAG_INTENSITY_NV          0x86DC
  1.6822 -#define GL_SHADER_CONSISTENT_NV           0x86DD
  1.6823 -#define GL_TEXTURE_SHADER_NV              0x86DE
  1.6824 -#define GL_SHADER_OPERATION_NV            0x86DF
  1.6825 -#define GL_CULL_MODES_NV                  0x86E0
  1.6826 -#define GL_OFFSET_TEXTURE_MATRIX_NV       0x86E1
  1.6827 -#define GL_OFFSET_TEXTURE_SCALE_NV        0x86E2
  1.6828 -#define GL_OFFSET_TEXTURE_BIAS_NV         0x86E3
  1.6829 -#define GL_OFFSET_TEXTURE_2D_MATRIX_NV    GL_OFFSET_TEXTURE_MATRIX_NV
  1.6830 -#define GL_OFFSET_TEXTURE_2D_SCALE_NV     GL_OFFSET_TEXTURE_SCALE_NV
  1.6831 -#define GL_OFFSET_TEXTURE_2D_BIAS_NV      GL_OFFSET_TEXTURE_BIAS_NV
  1.6832 -#define GL_PREVIOUS_TEXTURE_INPUT_NV      0x86E4
  1.6833 -#define GL_CONST_EYE_NV                   0x86E5
  1.6834 -#define GL_PASS_THROUGH_NV                0x86E6
  1.6835 -#define GL_CULL_FRAGMENT_NV               0x86E7
  1.6836 -#define GL_OFFSET_TEXTURE_2D_NV           0x86E8
  1.6837 -#define GL_DEPENDENT_AR_TEXTURE_2D_NV     0x86E9
  1.6838 -#define GL_DEPENDENT_GB_TEXTURE_2D_NV     0x86EA
  1.6839 -#define GL_DOT_PRODUCT_NV                 0x86EC
  1.6840 -#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV   0x86ED
  1.6841 -#define GL_DOT_PRODUCT_TEXTURE_2D_NV      0x86EE
  1.6842 -#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
  1.6843 -#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
  1.6844 -#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
  1.6845 -#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
  1.6846 -#define GL_HILO_NV                        0x86F4
  1.6847 -#define GL_DSDT_NV                        0x86F5
  1.6848 -#define GL_DSDT_MAG_NV                    0x86F6
  1.6849 -#define GL_DSDT_MAG_VIB_NV                0x86F7
  1.6850 -#define GL_HILO16_NV                      0x86F8
  1.6851 -#define GL_SIGNED_HILO_NV                 0x86F9
  1.6852 -#define GL_SIGNED_HILO16_NV               0x86FA
  1.6853 -#define GL_SIGNED_RGBA_NV                 0x86FB
  1.6854 -#define GL_SIGNED_RGBA8_NV                0x86FC
  1.6855 -#define GL_SIGNED_RGB_NV                  0x86FE
  1.6856 -#define GL_SIGNED_RGB8_NV                 0x86FF
  1.6857 -#define GL_SIGNED_LUMINANCE_NV            0x8701
  1.6858 -#define GL_SIGNED_LUMINANCE8_NV           0x8702
  1.6859 -#define GL_SIGNED_LUMINANCE_ALPHA_NV      0x8703
  1.6860 -#define GL_SIGNED_LUMINANCE8_ALPHA8_NV    0x8704
  1.6861 -#define GL_SIGNED_ALPHA_NV                0x8705
  1.6862 -#define GL_SIGNED_ALPHA8_NV               0x8706
  1.6863 -#define GL_SIGNED_INTENSITY_NV            0x8707
  1.6864 -#define GL_SIGNED_INTENSITY8_NV           0x8708
  1.6865 -#define GL_DSDT8_NV                       0x8709
  1.6866 -#define GL_DSDT8_MAG8_NV                  0x870A
  1.6867 -#define GL_DSDT8_MAG8_INTENSITY8_NV       0x870B
  1.6868 -#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV   0x870C
  1.6869 -#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
  1.6870 -#define GL_HI_SCALE_NV                    0x870E
  1.6871 -#define GL_LO_SCALE_NV                    0x870F
  1.6872 -#define GL_DS_SCALE_NV                    0x8710
  1.6873 -#define GL_DT_SCALE_NV                    0x8711
  1.6874 -#define GL_MAGNITUDE_SCALE_NV             0x8712
  1.6875 -#define GL_VIBRANCE_SCALE_NV              0x8713
  1.6876 -#define GL_HI_BIAS_NV                     0x8714
  1.6877 -#define GL_LO_BIAS_NV                     0x8715
  1.6878 -#define GL_DS_BIAS_NV                     0x8716
  1.6879 -#define GL_DT_BIAS_NV                     0x8717
  1.6880 -#define GL_MAGNITUDE_BIAS_NV              0x8718
  1.6881 -#define GL_VIBRANCE_BIAS_NV               0x8719
  1.6882 -#define GL_TEXTURE_BORDER_VALUES_NV       0x871A
  1.6883 -#define GL_TEXTURE_HI_SIZE_NV             0x871B
  1.6884 -#define GL_TEXTURE_LO_SIZE_NV             0x871C
  1.6885 -#define GL_TEXTURE_DS_SIZE_NV             0x871D
  1.6886 -#define GL_TEXTURE_DT_SIZE_NV             0x871E
  1.6887 -#define GL_TEXTURE_MAG_SIZE_NV            0x871F
  1.6888 -#endif
  1.6889 -
  1.6890 -#ifndef GL_NV_texture_shader2
  1.6891 -#define GL_DOT_PRODUCT_TEXTURE_3D_NV      0x86EF
  1.6892 -#endif
  1.6893 -
  1.6894 -#ifndef GL_NV_vertex_array_range2
  1.6895 -#define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
  1.6896 -#endif
  1.6897 -
  1.6898 -#ifndef GL_NV_vertex_program
  1.6899 -#define GL_VERTEX_PROGRAM_NV              0x8620
  1.6900 -#define GL_VERTEX_STATE_PROGRAM_NV        0x8621
  1.6901 -#define GL_ATTRIB_ARRAY_SIZE_NV           0x8623
  1.6902 -#define GL_ATTRIB_ARRAY_STRIDE_NV         0x8624
  1.6903 -#define GL_ATTRIB_ARRAY_TYPE_NV           0x8625
  1.6904 -#define GL_CURRENT_ATTRIB_NV              0x8626
  1.6905 -#define GL_PROGRAM_LENGTH_NV              0x8627
  1.6906 -#define GL_PROGRAM_STRING_NV              0x8628
  1.6907 -#define GL_MODELVIEW_PROJECTION_NV        0x8629
  1.6908 -#define GL_IDENTITY_NV                    0x862A
  1.6909 -#define GL_INVERSE_NV                     0x862B
  1.6910 -#define GL_TRANSPOSE_NV                   0x862C
  1.6911 -#define GL_INVERSE_TRANSPOSE_NV           0x862D
  1.6912 -#define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
  1.6913 -#define GL_MAX_TRACK_MATRICES_NV          0x862F
  1.6914 -#define GL_MATRIX0_NV                     0x8630