1 /*
   2  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   3  *
   4  * This code is free software; you can redistribute it and/or modify it
   5  * under the terms of the GNU General Public License version 2 only, as
   6  * published by the Free Software Foundation.  Oracle designates this
   7  * particular file as subject to the "Classpath" exception as provided
   8  * by Oracle in the LICENSE file that accompanied this code.
   9  *
  10  * This code is distributed in the hope that it will be useful, but WITHOUT
  11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  */
  24 
  25 #ifndef __gl_glext_h_
  26 #define __gl_glext_h_ 1
  27 
  28 #ifdef __cplusplus
  29 extern "C" {
  30 #endif
  31 
  32 /*
  33 ** This file is available under and governed by the GNU General Public
  34 ** License version 2 only, as published by the Free Software Foundation.
  35 ** However, the following notice accompanied the original version of this
  36 ** file:
  37 **
  38 ** Copyright (c) 2013-2018 The Khronos Group Inc.
  39 **
  40 ** Permission is hereby granted, free of charge, to any person obtaining a
  41 ** copy of this software and/or associated documentation files (the
  42 ** "Materials"), to deal in the Materials without restriction, including
  43 ** without limitation the rights to use, copy, modify, merge, publish,
  44 ** distribute, sublicense, and/or sell copies of the Materials, and to
  45 ** permit persons to whom the Materials are furnished to do so, subject to
  46 ** the following conditions:
  47 **
  48 ** The above copyright notice and this permission notice shall be included
  49 ** in all copies or substantial portions of the Materials.
  50 **
  51 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  52 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  53 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  54 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  55 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  56 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  57 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
  58 */
  59 /*
  60 ** This header is generated from the Khronos OpenGL / OpenGL ES XML
  61 ** API Registry. The current version of the Registry, generator scripts
  62 ** used to make the header, and the header can be found at
  63 **   https://github.com/KhronosGroup/OpenGL-Registry
  64 */
  65 
  66 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
  67 #ifndef WIN32_LEAN_AND_MEAN
  68 #define WIN32_LEAN_AND_MEAN 1
  69 #endif
  70 #include <windows.h>
  71 #endif
  72 
  73 #ifndef APIENTRY
  74 #define APIENTRY
  75 #endif
  76 #ifndef APIENTRYP
  77 #define APIENTRYP APIENTRY *
  78 #endif
  79 #ifndef GLAPI
  80 #define GLAPI extern
  81 #endif
  82 
  83 #define GL_GLEXT_VERSION 20190611
  84 
  85 /* JDK modification */
  86 #include <J2D_GL/khrplatform.h>
  87 
  88 /* Generated C header for:
  89  * API: gl
  90  * Profile: compatibility
  91  * Versions considered: .*
  92  * Versions emitted: 1\.[2-9]|[234]\.[0-9]
  93  * Default extensions included: gl
  94  * Additional extensions included: _nomatch_^
  95  * Extensions removed: _nomatch_^
  96  */
  97 
  98 #ifndef GL_VERSION_1_2
  99 #define GL_VERSION_1_2 1
 100 #define GL_UNSIGNED_BYTE_3_3_2            0x8032
 101 #define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
 102 #define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
 103 #define GL_UNSIGNED_INT_8_8_8_8           0x8035
 104 #define GL_UNSIGNED_INT_10_10_10_2        0x8036

 105 #define GL_TEXTURE_BINDING_3D             0x806A
 106 #define GL_PACK_SKIP_IMAGES               0x806B
 107 #define GL_PACK_IMAGE_HEIGHT              0x806C
 108 #define GL_UNPACK_SKIP_IMAGES             0x806D
 109 #define GL_UNPACK_IMAGE_HEIGHT            0x806E
 110 #define GL_TEXTURE_3D                     0x806F
 111 #define GL_PROXY_TEXTURE_3D               0x8070
 112 #define GL_TEXTURE_DEPTH                  0x8071
 113 #define GL_TEXTURE_WRAP_R                 0x8072
 114 #define GL_MAX_3D_TEXTURE_SIZE            0x8073
 115 #define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
 116 #define GL_UNSIGNED_SHORT_5_6_5           0x8363
 117 #define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
 118 #define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
 119 #define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
 120 #define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
 121 #define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
 122 #define GL_BGR                            0x80E0
 123 #define GL_BGRA                           0x80E1
 124 #define GL_MAX_ELEMENTS_VERTICES          0x80E8
 125 #define GL_MAX_ELEMENTS_INDICES           0x80E9
 126 #define GL_CLAMP_TO_EDGE                  0x812F
 127 #define GL_TEXTURE_MIN_LOD                0x813A
 128 #define GL_TEXTURE_MAX_LOD                0x813B
 129 #define GL_TEXTURE_BASE_LEVEL             0x813C
 130 #define GL_TEXTURE_MAX_LEVEL              0x813D



 131 #define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
 132 #define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
 133 #define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
 134 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23

 135 #define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
 136 #define GL_RESCALE_NORMAL                 0x803A
 137 #define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
 138 #define GL_SINGLE_COLOR                   0x81F9
 139 #define GL_SEPARATE_SPECULAR_COLOR        0x81FA
 140 #define GL_ALIASED_POINT_SIZE_RANGE       0x846D
 141 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
 142 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);
 143 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);
 144 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
 145 #ifdef GL_GLEXT_PROTOTYPES
 146 GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
 147 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);
 148 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);
 149 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
 150 #endif
 151 #endif /* GL_VERSION_1_2 */













































































 152 
 153 #ifndef GL_VERSION_1_3
 154 #define GL_VERSION_1_3 1
 155 #define GL_TEXTURE0                       0x84C0
 156 #define GL_TEXTURE1                       0x84C1
 157 #define GL_TEXTURE2                       0x84C2
 158 #define GL_TEXTURE3                       0x84C3
 159 #define GL_TEXTURE4                       0x84C4
 160 #define GL_TEXTURE5                       0x84C5
 161 #define GL_TEXTURE6                       0x84C6
 162 #define GL_TEXTURE7                       0x84C7
 163 #define GL_TEXTURE8                       0x84C8
 164 #define GL_TEXTURE9                       0x84C9
 165 #define GL_TEXTURE10                      0x84CA
 166 #define GL_TEXTURE11                      0x84CB
 167 #define GL_TEXTURE12                      0x84CC
 168 #define GL_TEXTURE13                      0x84CD
 169 #define GL_TEXTURE14                      0x84CE
 170 #define GL_TEXTURE15                      0x84CF
 171 #define GL_TEXTURE16                      0x84D0
 172 #define GL_TEXTURE17                      0x84D1
 173 #define GL_TEXTURE18                      0x84D2
 174 #define GL_TEXTURE19                      0x84D3
 175 #define GL_TEXTURE20                      0x84D4
 176 #define GL_TEXTURE21                      0x84D5
 177 #define GL_TEXTURE22                      0x84D6
 178 #define GL_TEXTURE23                      0x84D7
 179 #define GL_TEXTURE24                      0x84D8
 180 #define GL_TEXTURE25                      0x84D9
 181 #define GL_TEXTURE26                      0x84DA
 182 #define GL_TEXTURE27                      0x84DB
 183 #define GL_TEXTURE28                      0x84DC
 184 #define GL_TEXTURE29                      0x84DD
 185 #define GL_TEXTURE30                      0x84DE
 186 #define GL_TEXTURE31                      0x84DF
 187 #define GL_ACTIVE_TEXTURE                 0x84E0






 188 #define GL_MULTISAMPLE                    0x809D
 189 #define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
 190 #define GL_SAMPLE_ALPHA_TO_ONE            0x809F
 191 #define GL_SAMPLE_COVERAGE                0x80A0
 192 #define GL_SAMPLE_BUFFERS                 0x80A8
 193 #define GL_SAMPLES                        0x80A9
 194 #define GL_SAMPLE_COVERAGE_VALUE          0x80AA
 195 #define GL_SAMPLE_COVERAGE_INVERT         0x80AB



 196 #define GL_TEXTURE_CUBE_MAP               0x8513
 197 #define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
 198 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
 199 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
 200 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
 201 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
 202 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
 203 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
 204 #define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
 205 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C




 206 #define GL_COMPRESSED_RGB                 0x84ED
 207 #define GL_COMPRESSED_RGBA                0x84EE
 208 #define GL_TEXTURE_COMPRESSION_HINT       0x84EF
 209 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
 210 #define GL_TEXTURE_COMPRESSED             0x86A1
 211 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
 212 #define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
 213 #define GL_CLAMP_TO_BORDER                0x812D
 214 #define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
 215 #define GL_MAX_TEXTURE_UNITS              0x84E2
 216 #define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
 217 #define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
 218 #define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
 219 #define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
 220 #define GL_MULTISAMPLE_BIT                0x20000000
 221 #define GL_NORMAL_MAP                     0x8511
 222 #define GL_REFLECTION_MAP                 0x8512
 223 #define GL_COMPRESSED_ALPHA               0x84E9
 224 #define GL_COMPRESSED_LUMINANCE           0x84EA
 225 #define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
 226 #define GL_COMPRESSED_INTENSITY           0x84EC
 227 #define GL_COMBINE                        0x8570
 228 #define GL_COMBINE_RGB                    0x8571
 229 #define GL_COMBINE_ALPHA                  0x8572
 230 #define GL_SOURCE0_RGB                    0x8580
 231 #define GL_SOURCE1_RGB                    0x8581
 232 #define GL_SOURCE2_RGB                    0x8582
 233 #define GL_SOURCE0_ALPHA                  0x8588
 234 #define GL_SOURCE1_ALPHA                  0x8589
 235 #define GL_SOURCE2_ALPHA                  0x858A
 236 #define GL_OPERAND0_RGB                   0x8590
 237 #define GL_OPERAND1_RGB                   0x8591
 238 #define GL_OPERAND2_RGB                   0x8592
 239 #define GL_OPERAND0_ALPHA                 0x8598
 240 #define GL_OPERAND1_ALPHA                 0x8599
 241 #define GL_OPERAND2_ALPHA                 0x859A
 242 #define GL_RGB_SCALE                      0x8573
 243 #define GL_ADD_SIGNED                     0x8574
 244 #define GL_INTERPOLATE                    0x8575
 245 #define GL_SUBTRACT                       0x84E7
 246 #define GL_CONSTANT                       0x8576
 247 #define GL_PRIMARY_COLOR                  0x8577
 248 #define GL_PREVIOUS                       0x8578
 249 #define GL_DOT3_RGB                       0x86AE
 250 #define GL_DOT3_RGBA                      0x86AF
 251 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
 252 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
 253 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
 254 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
 255 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
 256 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);
 257 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
 258 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
 259 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
 260 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
 261 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
 262 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
 263 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
 264 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
 265 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
 266 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
 267 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
 268 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
 269 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
 270 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
 271 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
 272 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
 273 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
 274 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
 275 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
 276 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
 277 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
 278 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
 279 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
 280 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
 281 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
 282 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
 283 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
 284 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
 285 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
 286 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
 287 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
 288 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
 289 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
 290 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
 291 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
 292 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
 293 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
 294 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
 295 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
 296 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
 297 #ifdef GL_GLEXT_PROTOTYPES
 298 GLAPI void APIENTRY glActiveTexture (GLenum texture);
 299 GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
 300 GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
 301 GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
 302 GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
 303 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);
 304 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
 305 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
 306 GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
 307 GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
 308 GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
 309 GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
 310 GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
 311 GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
 312 GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
 313 GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
 314 GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
 315 GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
 316 GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
 317 GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
 318 GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
 319 GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
 320 GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
 321 GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
 322 GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
 323 GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
 324 GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
 325 GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
 326 GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
 327 GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
 328 GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
 329 GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
 330 GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
 331 GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
 332 GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
 333 GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
 334 GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
 335 GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
 336 GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
 337 GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
 338 GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
 339 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
 340 GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
 341 GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
 342 GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
 343 GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
 344 #endif
 345 #endif /* GL_VERSION_1_3 */
 346 
 347 #ifndef GL_VERSION_1_4
 348 #define GL_VERSION_1_4 1
 349 #define GL_BLEND_DST_RGB                  0x80C8
 350 #define GL_BLEND_SRC_RGB                  0x80C9
 351 #define GL_BLEND_DST_ALPHA                0x80CA
 352 #define GL_BLEND_SRC_ALPHA                0x80CB


 353 #define GL_POINT_FADE_THRESHOLD_SIZE      0x8128



 354 #define GL_DEPTH_COMPONENT16              0x81A5
 355 #define GL_DEPTH_COMPONENT24              0x81A6
 356 #define GL_DEPTH_COMPONENT32              0x81A7
 357 #define GL_MIRRORED_REPEAT                0x8370
 358 #define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
 359 #define GL_TEXTURE_LOD_BIAS               0x8501
 360 #define GL_INCR_WRAP                      0x8507
 361 #define GL_DECR_WRAP                      0x8508
 362 #define GL_TEXTURE_DEPTH_SIZE             0x884A
 363 #define GL_TEXTURE_COMPARE_MODE           0x884C
 364 #define GL_TEXTURE_COMPARE_FUNC           0x884D
 365 #define GL_POINT_SIZE_MIN                 0x8126
 366 #define GL_POINT_SIZE_MAX                 0x8127
 367 #define GL_POINT_DISTANCE_ATTENUATION     0x8129
 368 #define GL_GENERATE_MIPMAP                0x8191
 369 #define GL_GENERATE_MIPMAP_HINT           0x8192
 370 #define GL_FOG_COORDINATE_SOURCE          0x8450
 371 #define GL_FOG_COORDINATE                 0x8451
 372 #define GL_FRAGMENT_DEPTH                 0x8452
 373 #define GL_CURRENT_FOG_COORDINATE         0x8453
 374 #define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
 375 #define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
 376 #define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
 377 #define GL_FOG_COORDINATE_ARRAY           0x8457
 378 #define GL_COLOR_SUM                      0x8458
 379 #define GL_CURRENT_SECONDARY_COLOR        0x8459
 380 #define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
 381 #define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
 382 #define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
 383 #define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
 384 #define GL_SECONDARY_COLOR_ARRAY          0x845E

 385 #define GL_TEXTURE_FILTER_CONTROL         0x8500




 386 #define GL_DEPTH_TEXTURE_MODE             0x884B


 387 #define GL_COMPARE_R_TO_TEXTURE           0x884E
 388 #define GL_BLEND_COLOR                    0x8005
 389 #define GL_BLEND_EQUATION                 0x8009
 390 #define GL_CONSTANT_COLOR                 0x8001
 391 #define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
 392 #define GL_CONSTANT_ALPHA                 0x8003
 393 #define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
 394 #define GL_FUNC_ADD                       0x8006
 395 #define GL_FUNC_REVERSE_SUBTRACT          0x800B
 396 #define GL_FUNC_SUBTRACT                  0x800A
 397 #define GL_MIN                            0x8007
 398 #define GL_MAX                            0x8008
 399 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
 400 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
 401 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
 402 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
 403 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
 404 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
 405 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
 406 typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
 407 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
 408 typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
 409 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
 410 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
 411 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
 412 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
 413 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
 414 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
 415 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
 416 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
 417 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
 418 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
 419 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
 420 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
 421 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
 422 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
 423 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
 424 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
 425 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
 426 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
 427 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
 428 typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
 429 typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
 430 typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
 431 typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
 432 typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
 433 typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
 434 typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
 435 typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
 436 typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
 437 typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
 438 typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
 439 typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
 440 typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
 441 typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
 442 typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
 443 typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
 444 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
 445 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
 446 #ifdef GL_GLEXT_PROTOTYPES
 447 GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
 448 GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
 449 GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
 450 GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
 451 GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
 452 GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
 453 GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
 454 GLAPI void APIENTRY glFogCoordf (GLfloat coord);
 455 GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
 456 GLAPI void APIENTRY glFogCoordd (GLdouble coord);
 457 GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
 458 GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer);
 459 GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
 460 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
 461 GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
 462 GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
 463 GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
 464 GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
 465 GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
 466 GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
 467 GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
 468 GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
 469 GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
 470 GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
 471 GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
 472 GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
 473 GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
 474 GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
 475 GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
 476 GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
 477 GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
 478 GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
 479 GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
 480 GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
 481 GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
 482 GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
 483 GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
 484 GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
 485 GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
 486 GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
 487 GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
 488 GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
 489 GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
 490 GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
 491 GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
 492 GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
 493 GLAPI void APIENTRY glBlendEquation (GLenum mode);
 494 #endif
 495 #endif /* GL_VERSION_1_4 */
 496 
 497 #ifndef GL_VERSION_1_5
 498 #define GL_VERSION_1_5 1
 499 typedef khronos_ssize_t GLsizeiptr;
 500 typedef khronos_intptr_t GLintptr;
 501 #define GL_BUFFER_SIZE                    0x8764
 502 #define GL_BUFFER_USAGE                   0x8765
 503 #define GL_QUERY_COUNTER_BITS             0x8864
 504 #define GL_CURRENT_QUERY                  0x8865
 505 #define GL_QUERY_RESULT                   0x8866
 506 #define GL_QUERY_RESULT_AVAILABLE         0x8867
 507 #define GL_ARRAY_BUFFER                   0x8892
 508 #define GL_ELEMENT_ARRAY_BUFFER           0x8893
 509 #define GL_ARRAY_BUFFER_BINDING           0x8894
 510 #define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895









 511 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
 512 #define GL_READ_ONLY                      0x88B8
 513 #define GL_WRITE_ONLY                     0x88B9
 514 #define GL_READ_WRITE                     0x88BA
 515 #define GL_BUFFER_ACCESS                  0x88BB
 516 #define GL_BUFFER_MAPPED                  0x88BC
 517 #define GL_BUFFER_MAP_POINTER             0x88BD
 518 #define GL_STREAM_DRAW                    0x88E0
 519 #define GL_STREAM_READ                    0x88E1
 520 #define GL_STREAM_COPY                    0x88E2
 521 #define GL_STATIC_DRAW                    0x88E4
 522 #define GL_STATIC_READ                    0x88E5
 523 #define GL_STATIC_COPY                    0x88E6
 524 #define GL_DYNAMIC_DRAW                   0x88E8
 525 #define GL_DYNAMIC_READ                   0x88E9
 526 #define GL_DYNAMIC_COPY                   0x88EA
 527 #define GL_SAMPLES_PASSED                 0x8914
 528 #define GL_SRC1_ALPHA                     0x8589
 529 #define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
 530 #define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
 531 #define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
 532 #define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
 533 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
 534 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
 535 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
 536 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
 537 #define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
 538 #define GL_FOG_COORD_SRC                  0x8450
 539 #define GL_FOG_COORD                      0x8451
 540 #define GL_CURRENT_FOG_COORD              0x8453
 541 #define GL_FOG_COORD_ARRAY_TYPE           0x8454
 542 #define GL_FOG_COORD_ARRAY_STRIDE         0x8455
 543 #define GL_FOG_COORD_ARRAY_POINTER        0x8456
 544 #define GL_FOG_COORD_ARRAY                0x8457
 545 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
 546 #define GL_SRC0_RGB                       0x8580
 547 #define GL_SRC1_RGB                       0x8581
 548 #define GL_SRC2_RGB                       0x8582
 549 #define GL_SRC0_ALPHA                     0x8588
 550 #define GL_SRC2_ALPHA                     0x858A
 551 typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
 552 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
 553 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
 554 typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
 555 typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
 556 typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
 557 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
 558 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
 559 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
 560 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
 561 typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
 562 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
 563 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
 564 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
 565 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
 566 typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
 567 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
 568 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
 569 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
 570 #ifdef GL_GLEXT_PROTOTYPES
 571 GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
 572 GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
 573 GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
 574 GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
 575 GLAPI void APIENTRY glEndQuery (GLenum target);
 576 GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
 577 GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
 578 GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
 579 GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
 580 GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
 581 GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
 582 GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
 583 GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
 584 GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
 585 GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
 586 GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
 587 GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
 588 GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
 589 GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
 590 #endif
 591 #endif /* GL_VERSION_1_5 */
 592 
 593 #ifndef GL_VERSION_2_0
 594 #define GL_VERSION_2_0 1
 595 typedef char GLchar;
 596 #define GL_BLEND_EQUATION_RGB             0x8009
 597 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
 598 #define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
 599 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
 600 #define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
 601 #define GL_CURRENT_VERTEX_ATTRIB          0x8626
 602 #define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642

 603 #define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
 604 #define GL_STENCIL_BACK_FUNC              0x8800
 605 #define GL_STENCIL_BACK_FAIL              0x8801
 606 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
 607 #define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
 608 #define GL_MAX_DRAW_BUFFERS               0x8824
 609 #define GL_DRAW_BUFFER0                   0x8825
 610 #define GL_DRAW_BUFFER1                   0x8826
 611 #define GL_DRAW_BUFFER2                   0x8827
 612 #define GL_DRAW_BUFFER3                   0x8828
 613 #define GL_DRAW_BUFFER4                   0x8829
 614 #define GL_DRAW_BUFFER5                   0x882A
 615 #define GL_DRAW_BUFFER6                   0x882B
 616 #define GL_DRAW_BUFFER7                   0x882C
 617 #define GL_DRAW_BUFFER8                   0x882D
 618 #define GL_DRAW_BUFFER9                   0x882E
 619 #define GL_DRAW_BUFFER10                  0x882F
 620 #define GL_DRAW_BUFFER11                  0x8830
 621 #define GL_DRAW_BUFFER12                  0x8831
 622 #define GL_DRAW_BUFFER13                  0x8832
 623 #define GL_DRAW_BUFFER14                  0x8833
 624 #define GL_DRAW_BUFFER15                  0x8834
 625 #define GL_BLEND_EQUATION_ALPHA           0x883D


 626 #define GL_MAX_VERTEX_ATTRIBS             0x8869
 627 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A

 628 #define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
 629 #define GL_FRAGMENT_SHADER                0x8B30
 630 #define GL_VERTEX_SHADER                  0x8B31
 631 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
 632 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
 633 #define GL_MAX_VARYING_FLOATS             0x8B4B
 634 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
 635 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
 636 #define GL_SHADER_TYPE                    0x8B4F
 637 #define GL_FLOAT_VEC2                     0x8B50
 638 #define GL_FLOAT_VEC3                     0x8B51
 639 #define GL_FLOAT_VEC4                     0x8B52
 640 #define GL_INT_VEC2                       0x8B53
 641 #define GL_INT_VEC3                       0x8B54
 642 #define GL_INT_VEC4                       0x8B55
 643 #define GL_BOOL                           0x8B56
 644 #define GL_BOOL_VEC2                      0x8B57
 645 #define GL_BOOL_VEC3                      0x8B58
 646 #define GL_BOOL_VEC4                      0x8B59
 647 #define GL_FLOAT_MAT2                     0x8B5A
 648 #define GL_FLOAT_MAT3                     0x8B5B
 649 #define GL_FLOAT_MAT4                     0x8B5C
 650 #define GL_SAMPLER_1D                     0x8B5D
 651 #define GL_SAMPLER_2D                     0x8B5E
 652 #define GL_SAMPLER_3D                     0x8B5F
 653 #define GL_SAMPLER_CUBE                   0x8B60
 654 #define GL_SAMPLER_1D_SHADOW              0x8B61
 655 #define GL_SAMPLER_2D_SHADOW              0x8B62
 656 #define GL_DELETE_STATUS                  0x8B80
 657 #define GL_COMPILE_STATUS                 0x8B81
 658 #define GL_LINK_STATUS                    0x8B82
 659 #define GL_VALIDATE_STATUS                0x8B83
 660 #define GL_INFO_LOG_LENGTH                0x8B84
 661 #define GL_ATTACHED_SHADERS               0x8B85
 662 #define GL_ACTIVE_UNIFORMS                0x8B86
 663 #define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
 664 #define GL_SHADER_SOURCE_LENGTH           0x8B88
 665 #define GL_ACTIVE_ATTRIBUTES              0x8B89
 666 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
 667 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
 668 #define GL_SHADING_LANGUAGE_VERSION       0x8B8C
 669 #define GL_CURRENT_PROGRAM                0x8B8D
 670 #define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
 671 #define GL_LOWER_LEFT                     0x8CA1
 672 #define GL_UPPER_LEFT                     0x8CA2
 673 #define GL_STENCIL_BACK_REF               0x8CA3
 674 #define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
 675 #define GL_STENCIL_BACK_WRITEMASK         0x8CA5
 676 #define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
 677 #define GL_POINT_SPRITE                   0x8861
 678 #define GL_COORD_REPLACE                  0x8862
 679 #define GL_MAX_TEXTURE_COORDS             0x8871
 680 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
 681 typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
 682 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
 683 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
 684 typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
 685 typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
 686 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
 687 typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
 688 typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
 689 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
 690 typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
 691 typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
 692 typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
 693 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
 694 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
 695 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
 696 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
 697 typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
 698 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
 699 typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
 700 typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
 701 typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
 702 typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
 703 typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
 704 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
 705 typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
 706 typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
 707 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
 708 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
 709 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
 710 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
 711 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
 712 typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
 713 typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
 714 typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
 715 typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
 716 typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
 717 typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
 718 typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
 719 typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
 720 typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
 721 typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
 722 typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
 723 typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
 724 typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
 725 typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
 726 typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
 727 typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
 728 typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
 729 typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
 730 typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
 731 typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
 732 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 733 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 734 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 735 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
 736 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
 737 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
 738 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
 739 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
 740 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
 741 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
 742 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
 743 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
 744 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
 745 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
 746 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
 747 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
 748 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
 749 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
 750 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
 751 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
 752 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
 753 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
 754 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
 755 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
 756 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
 757 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
 758 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
 759 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
 760 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
 761 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
 762 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
 763 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
 764 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
 765 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
 766 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
 767 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
 768 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
 769 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
 770 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
 771 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
 772 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
 773 #ifdef GL_GLEXT_PROTOTYPES
 774 GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
 775 GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
 776 GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
 777 GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
 778 GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
 779 GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
 780 GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
 781 GLAPI void APIENTRY glCompileShader (GLuint shader);
 782 GLAPI GLuint APIENTRY glCreateProgram (void);
 783 GLAPI GLuint APIENTRY glCreateShader (GLenum type);
 784 GLAPI void APIENTRY glDeleteProgram (GLuint program);
 785 GLAPI void APIENTRY glDeleteShader (GLuint shader);
 786 GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
 787 GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
 788 GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
 789 GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
 790 GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
 791 GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
 792 GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
 793 GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
 794 GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
 795 GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
 796 GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
 797 GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
 798 GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
 799 GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
 800 GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
 801 GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
 802 GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
 803 GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
 804 GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
 805 GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
 806 GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
 807 GLAPI void APIENTRY glLinkProgram (GLuint program);
 808 GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
 809 GLAPI void APIENTRY glUseProgram (GLuint program);
 810 GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
 811 GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
 812 GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
 813 GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
 814 GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
 815 GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
 816 GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
 817 GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
 818 GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
 819 GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
 820 GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
 821 GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
 822 GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
 823 GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
 824 GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
 825 GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
 826 GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 827 GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 828 GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 829 GLAPI void APIENTRY glValidateProgram (GLuint program);
 830 GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
 831 GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
 832 GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
 833 GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
 834 GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
 835 GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
 836 GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
 837 GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
 838 GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
 839 GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
 840 GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
 841 GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
 842 GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
 843 GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
 844 GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
 845 GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
 846 GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
 847 GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
 848 GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
 849 GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
 850 GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
 851 GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
 852 GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
 853 GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
 854 GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
 855 GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
 856 GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
 857 GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
 858 GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
 859 GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
 860 GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
 861 GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
 862 GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
 863 GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
 864 GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
 865 GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
 866 GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
 867 #endif
 868 #endif /* GL_VERSION_2_0 */
 869 
 870 #ifndef GL_VERSION_2_1
 871 #define GL_VERSION_2_1 1
 872 #define GL_PIXEL_PACK_BUFFER              0x88EB
 873 #define GL_PIXEL_UNPACK_BUFFER            0x88EC
 874 #define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
 875 #define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
 876 #define GL_FLOAT_MAT2x3                   0x8B65
 877 #define GL_FLOAT_MAT2x4                   0x8B66
 878 #define GL_FLOAT_MAT3x2                   0x8B67
 879 #define GL_FLOAT_MAT3x4                   0x8B68
 880 #define GL_FLOAT_MAT4x2                   0x8B69
 881 #define GL_FLOAT_MAT4x3                   0x8B6A
 882 #define GL_SRGB                           0x8C40
 883 #define GL_SRGB8                          0x8C41
 884 #define GL_SRGB_ALPHA                     0x8C42
 885 #define GL_SRGB8_ALPHA8                   0x8C43
 886 #define GL_COMPRESSED_SRGB                0x8C48
 887 #define GL_COMPRESSED_SRGB_ALPHA          0x8C49
 888 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
 889 #define GL_SLUMINANCE_ALPHA               0x8C44
 890 #define GL_SLUMINANCE8_ALPHA8             0x8C45
 891 #define GL_SLUMINANCE                     0x8C46
 892 #define GL_SLUMINANCE8                    0x8C47
 893 #define GL_COMPRESSED_SLUMINANCE          0x8C4A
 894 #define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
 895 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 896 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 897 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 898 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 899 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 900 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 901 #ifdef GL_GLEXT_PROTOTYPES
 902 GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 903 GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 904 GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 905 GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 906 GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 907 GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 908 #endif
 909 #endif /* GL_VERSION_2_1 */
 910 
 911 #ifndef GL_VERSION_3_0
 912 #define GL_VERSION_3_0 1
 913 typedef khronos_uint16_t GLhalf;
 914 #define GL_COMPARE_REF_TO_TEXTURE         0x884E
 915 #define GL_CLIP_DISTANCE0                 0x3000
 916 #define GL_CLIP_DISTANCE1                 0x3001
 917 #define GL_CLIP_DISTANCE2                 0x3002
 918 #define GL_CLIP_DISTANCE3                 0x3003
 919 #define GL_CLIP_DISTANCE4                 0x3004
 920 #define GL_CLIP_DISTANCE5                 0x3005
 921 #define GL_CLIP_DISTANCE6                 0x3006
 922 #define GL_CLIP_DISTANCE7                 0x3007
 923 #define GL_MAX_CLIP_DISTANCES             0x0D32
 924 #define GL_MAJOR_VERSION                  0x821B
 925 #define GL_MINOR_VERSION                  0x821C
 926 #define GL_NUM_EXTENSIONS                 0x821D
 927 #define GL_CONTEXT_FLAGS                  0x821E
 928 #define GL_COMPRESSED_RED                 0x8225
 929 #define GL_COMPRESSED_RG                  0x8226
 930 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
 931 #define GL_RGBA32F                        0x8814
 932 #define GL_RGB32F                         0x8815
 933 #define GL_RGBA16F                        0x881A
 934 #define GL_RGB16F                         0x881B
 935 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER    0x88FD
 936 #define GL_MAX_ARRAY_TEXTURE_LAYERS       0x88FF
 937 #define GL_MIN_PROGRAM_TEXEL_OFFSET       0x8904
 938 #define GL_MAX_PROGRAM_TEXEL_OFFSET       0x8905
 939 #define GL_CLAMP_READ_COLOR               0x891C
 940 #define GL_FIXED_ONLY                     0x891D
 941 #define GL_MAX_VARYING_COMPONENTS         0x8B4B
 942 #define GL_TEXTURE_1D_ARRAY               0x8C18
 943 #define GL_PROXY_TEXTURE_1D_ARRAY         0x8C19
 944 #define GL_TEXTURE_2D_ARRAY               0x8C1A
 945 #define GL_PROXY_TEXTURE_2D_ARRAY         0x8C1B
 946 #define GL_TEXTURE_BINDING_1D_ARRAY       0x8C1C
 947 #define GL_TEXTURE_BINDING_2D_ARRAY       0x8C1D
 948 #define GL_R11F_G11F_B10F                 0x8C3A
 949 #define GL_UNSIGNED_INT_10F_11F_11F_REV   0x8C3B
 950 #define GL_RGB9_E5                        0x8C3D
 951 #define GL_UNSIGNED_INT_5_9_9_9_REV       0x8C3E
 952 #define GL_TEXTURE_SHARED_SIZE            0x8C3F
 953 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
 954 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
 955 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
 956 #define GL_TRANSFORM_FEEDBACK_VARYINGS    0x8C83
 957 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
 958 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
 959 #define GL_PRIMITIVES_GENERATED           0x8C87
 960 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
 961 #define GL_RASTERIZER_DISCARD             0x8C89
 962 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
 963 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
 964 #define GL_INTERLEAVED_ATTRIBS            0x8C8C
 965 #define GL_SEPARATE_ATTRIBS               0x8C8D
 966 #define GL_TRANSFORM_FEEDBACK_BUFFER      0x8C8E
 967 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
 968 #define GL_RGBA32UI                       0x8D70
 969 #define GL_RGB32UI                        0x8D71
 970 #define GL_RGBA16UI                       0x8D76
 971 #define GL_RGB16UI                        0x8D77
 972 #define GL_RGBA8UI                        0x8D7C
 973 #define GL_RGB8UI                         0x8D7D
 974 #define GL_RGBA32I                        0x8D82
 975 #define GL_RGB32I                         0x8D83
 976 #define GL_RGBA16I                        0x8D88
 977 #define GL_RGB16I                         0x8D89
 978 #define GL_RGBA8I                         0x8D8E
 979 #define GL_RGB8I                          0x8D8F
 980 #define GL_RED_INTEGER                    0x8D94
 981 #define GL_GREEN_INTEGER                  0x8D95
 982 #define GL_BLUE_INTEGER                   0x8D96
 983 #define GL_RGB_INTEGER                    0x8D98
 984 #define GL_RGBA_INTEGER                   0x8D99
 985 #define GL_BGR_INTEGER                    0x8D9A
 986 #define GL_BGRA_INTEGER                   0x8D9B
 987 #define GL_SAMPLER_1D_ARRAY               0x8DC0
 988 #define GL_SAMPLER_2D_ARRAY               0x8DC1
 989 #define GL_SAMPLER_1D_ARRAY_SHADOW        0x8DC3
 990 #define GL_SAMPLER_2D_ARRAY_SHADOW        0x8DC4
 991 #define GL_SAMPLER_CUBE_SHADOW            0x8DC5
 992 #define GL_UNSIGNED_INT_VEC2              0x8DC6
 993 #define GL_UNSIGNED_INT_VEC3              0x8DC7
 994 #define GL_UNSIGNED_INT_VEC4              0x8DC8
 995 #define GL_INT_SAMPLER_1D                 0x8DC9
 996 #define GL_INT_SAMPLER_2D                 0x8DCA
 997 #define GL_INT_SAMPLER_3D                 0x8DCB
 998 #define GL_INT_SAMPLER_CUBE               0x8DCC
 999 #define GL_INT_SAMPLER_1D_ARRAY           0x8DCE
1000 #define GL_INT_SAMPLER_2D_ARRAY           0x8DCF
1001 #define GL_UNSIGNED_INT_SAMPLER_1D        0x8DD1
1002 #define GL_UNSIGNED_INT_SAMPLER_2D        0x8DD2
1003 #define GL_UNSIGNED_INT_SAMPLER_3D        0x8DD3
1004 #define GL_UNSIGNED_INT_SAMPLER_CUBE      0x8DD4
1005 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY  0x8DD6
1006 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY  0x8DD7
1007 #define GL_QUERY_WAIT                     0x8E13
1008 #define GL_QUERY_NO_WAIT                  0x8E14
1009 #define GL_QUERY_BY_REGION_WAIT           0x8E15
1010 #define GL_QUERY_BY_REGION_NO_WAIT        0x8E16
1011 #define GL_BUFFER_ACCESS_FLAGS            0x911F
1012 #define GL_BUFFER_MAP_LENGTH              0x9120
1013 #define GL_BUFFER_MAP_OFFSET              0x9121
1014 #define GL_DEPTH_COMPONENT32F             0x8CAC
1015 #define GL_DEPTH32F_STENCIL8              0x8CAD
1016 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
1017 #define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
1018 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
1019 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
1020 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
1021 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
1022 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
1023 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
1024 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
1025 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
1026 #define GL_FRAMEBUFFER_DEFAULT            0x8218
1027 #define GL_FRAMEBUFFER_UNDEFINED          0x8219
1028 #define GL_DEPTH_STENCIL_ATTACHMENT       0x821A
1029 #define GL_MAX_RENDERBUFFER_SIZE          0x84E8
1030 #define GL_DEPTH_STENCIL                  0x84F9
1031 #define GL_UNSIGNED_INT_24_8              0x84FA
1032 #define GL_DEPTH24_STENCIL8               0x88F0
1033 #define GL_TEXTURE_STENCIL_SIZE           0x88F1
1034 #define GL_TEXTURE_RED_TYPE               0x8C10
1035 #define GL_TEXTURE_GREEN_TYPE             0x8C11
1036 #define GL_TEXTURE_BLUE_TYPE              0x8C12
1037 #define GL_TEXTURE_ALPHA_TYPE             0x8C13
1038 #define GL_TEXTURE_DEPTH_TYPE             0x8C16
1039 #define GL_UNSIGNED_NORMALIZED            0x8C17
1040 #define GL_FRAMEBUFFER_BINDING            0x8CA6
1041 #define GL_DRAW_FRAMEBUFFER_BINDING       0x8CA6
1042 #define GL_RENDERBUFFER_BINDING           0x8CA7
1043 #define GL_READ_FRAMEBUFFER               0x8CA8
1044 #define GL_DRAW_FRAMEBUFFER               0x8CA9
1045 #define GL_READ_FRAMEBUFFER_BINDING       0x8CAA
1046 #define GL_RENDERBUFFER_SAMPLES           0x8CAB
1047 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
1048 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
1049 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
1050 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
1051 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
1052 #define GL_FRAMEBUFFER_COMPLETE           0x8CD5
1053 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
1054 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
1055 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
1056 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
1057 #define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
1058 #define GL_MAX_COLOR_ATTACHMENTS          0x8CDF
1059 #define GL_COLOR_ATTACHMENT0              0x8CE0
1060 #define GL_COLOR_ATTACHMENT1              0x8CE1
1061 #define GL_COLOR_ATTACHMENT2              0x8CE2
1062 #define GL_COLOR_ATTACHMENT3              0x8CE3
1063 #define GL_COLOR_ATTACHMENT4              0x8CE4
1064 #define GL_COLOR_ATTACHMENT5              0x8CE5
1065 #define GL_COLOR_ATTACHMENT6              0x8CE6
1066 #define GL_COLOR_ATTACHMENT7              0x8CE7
1067 #define GL_COLOR_ATTACHMENT8              0x8CE8
1068 #define GL_COLOR_ATTACHMENT9              0x8CE9
1069 #define GL_COLOR_ATTACHMENT10             0x8CEA
1070 #define GL_COLOR_ATTACHMENT11             0x8CEB
1071 #define GL_COLOR_ATTACHMENT12             0x8CEC
1072 #define GL_COLOR_ATTACHMENT13             0x8CED
1073 #define GL_COLOR_ATTACHMENT14             0x8CEE
1074 #define GL_COLOR_ATTACHMENT15             0x8CEF
1075 #define GL_COLOR_ATTACHMENT16             0x8CF0
1076 #define GL_COLOR_ATTACHMENT17             0x8CF1
1077 #define GL_COLOR_ATTACHMENT18             0x8CF2
1078 #define GL_COLOR_ATTACHMENT19             0x8CF3
1079 #define GL_COLOR_ATTACHMENT20             0x8CF4
1080 #define GL_COLOR_ATTACHMENT21             0x8CF5
1081 #define GL_COLOR_ATTACHMENT22             0x8CF6
1082 #define GL_COLOR_ATTACHMENT23             0x8CF7
1083 #define GL_COLOR_ATTACHMENT24             0x8CF8
1084 #define GL_COLOR_ATTACHMENT25             0x8CF9
1085 #define GL_COLOR_ATTACHMENT26             0x8CFA
1086 #define GL_COLOR_ATTACHMENT27             0x8CFB
1087 #define GL_COLOR_ATTACHMENT28             0x8CFC
1088 #define GL_COLOR_ATTACHMENT29             0x8CFD
1089 #define GL_COLOR_ATTACHMENT30             0x8CFE
1090 #define GL_COLOR_ATTACHMENT31             0x8CFF
1091 #define GL_DEPTH_ATTACHMENT               0x8D00
1092 #define GL_STENCIL_ATTACHMENT             0x8D20
1093 #define GL_FRAMEBUFFER                    0x8D40
1094 #define GL_RENDERBUFFER                   0x8D41
1095 #define GL_RENDERBUFFER_WIDTH             0x8D42
1096 #define GL_RENDERBUFFER_HEIGHT            0x8D43
1097 #define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
1098 #define GL_STENCIL_INDEX1                 0x8D46
1099 #define GL_STENCIL_INDEX4                 0x8D47
1100 #define GL_STENCIL_INDEX8                 0x8D48
1101 #define GL_STENCIL_INDEX16                0x8D49
1102 #define GL_RENDERBUFFER_RED_SIZE          0x8D50
1103 #define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
1104 #define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
1105 #define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
1106 #define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
1107 #define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
1108 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
1109 #define GL_MAX_SAMPLES                    0x8D57
1110 #define GL_INDEX                          0x8222
1111 #define GL_TEXTURE_LUMINANCE_TYPE         0x8C14
1112 #define GL_TEXTURE_INTENSITY_TYPE         0x8C15
1113 #define GL_FRAMEBUFFER_SRGB               0x8DB9
1114 #define GL_HALF_FLOAT                     0x140B
1115 #define GL_MAP_READ_BIT                   0x0001
1116 #define GL_MAP_WRITE_BIT                  0x0002
1117 #define GL_MAP_INVALIDATE_RANGE_BIT       0x0004
1118 #define GL_MAP_INVALIDATE_BUFFER_BIT      0x0008
1119 #define GL_MAP_FLUSH_EXPLICIT_BIT         0x0010
1120 #define GL_MAP_UNSYNCHRONIZED_BIT         0x0020
1121 #define GL_COMPRESSED_RED_RGTC1           0x8DBB
1122 #define GL_COMPRESSED_SIGNED_RED_RGTC1    0x8DBC
1123 #define GL_COMPRESSED_RG_RGTC2            0x8DBD
1124 #define GL_COMPRESSED_SIGNED_RG_RGTC2     0x8DBE
1125 #define GL_RG                             0x8227
1126 #define GL_RG_INTEGER                     0x8228
1127 #define GL_R8                             0x8229
1128 #define GL_R16                            0x822A
1129 #define GL_RG8                            0x822B
1130 #define GL_RG16                           0x822C
1131 #define GL_R16F                           0x822D
1132 #define GL_R32F                           0x822E
1133 #define GL_RG16F                          0x822F
1134 #define GL_RG32F                          0x8230
1135 #define GL_R8I                            0x8231
1136 #define GL_R8UI                           0x8232
1137 #define GL_R16I                           0x8233
1138 #define GL_R16UI                          0x8234
1139 #define GL_R32I                           0x8235
1140 #define GL_R32UI                          0x8236
1141 #define GL_RG8I                           0x8237
1142 #define GL_RG8UI                          0x8238
1143 #define GL_RG16I                          0x8239
1144 #define GL_RG16UI                         0x823A
1145 #define GL_RG32I                          0x823B
1146 #define GL_RG32UI                         0x823C
1147 #define GL_VERTEX_ARRAY_BINDING           0x85B5
1148 #define GL_CLAMP_VERTEX_COLOR             0x891A
1149 #define GL_CLAMP_FRAGMENT_COLOR           0x891B
1150 #define GL_ALPHA_INTEGER                  0x8D97
1151 typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1152 typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
1153 typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
1154 typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
1155 typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
1156 typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
1157 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
1158 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
1159 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
1160 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
1161 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
1162 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
1163 typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
1164 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
1165 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
1166 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1167 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
1168 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
1169 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
1170 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
1171 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
1172 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
1173 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
1174 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
1175 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
1176 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
1177 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
1178 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
1179 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
1180 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
1181 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
1182 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
1183 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
1184 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
1185 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
1186 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
1187 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
1188 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
1189 typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
1190 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
1191 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
1192 typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
1193 typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
1194 typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
1195 typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1196 typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1197 typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1198 typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1199 typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1200 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
1201 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
1202 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
1203 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
1204 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
1205 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
1206 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
1207 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
1208 typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
1209 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
1210 typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
1211 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
1212 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
1213 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
1214 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
1215 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
1216 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
1217 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
1218 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
1219 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
1220 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1221 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1222 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
1223 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
1224 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
1225 typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
1226 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
1227 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1228 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
1229 typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1230 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
1231 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
1232 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
1233 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
1234 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
1235 #ifdef GL_GLEXT_PROTOTYPES
1236 GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1237 GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
1238 GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
1239 GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
1240 GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
1241 GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
1242 GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
1243 GLAPI void APIENTRY glEndTransformFeedback (void);
1244 GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
1245 GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
1246 GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
1247 GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
1248 GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
1249 GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
1250 GLAPI void APIENTRY glEndConditionalRender (void);
1251 GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1252 GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
1253 GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
1254 GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
1255 GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
1256 GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
1257 GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
1258 GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
1259 GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
1260 GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
1261 GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
1262 GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
1263 GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
1264 GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
1265 GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
1266 GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
1267 GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
1268 GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
1269 GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
1270 GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
1271 GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
1272 GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
1273 GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
1274 GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
1275 GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
1276 GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
1277 GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
1278 GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
1279 GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
1280 GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1281 GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
1282 GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
1283 GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
1284 GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
1285 GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
1286 GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
1287 GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
1288 GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
1289 GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
1290 GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
1291 GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
1292 GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
1293 GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
1294 GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
1295 GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
1296 GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
1297 GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
1298 GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
1299 GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
1300 GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
1301 GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
1302 GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
1303 GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
1304 GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
1305 GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1306 GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1307 GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
1308 GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
1309 GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
1310 GLAPI void APIENTRY glGenerateMipmap (GLenum target);
1311 GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
1312 GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1313 GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
1314 GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1315 GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
1316 GLAPI void APIENTRY glBindVertexArray (GLuint array);
1317 GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
1318 GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
1319 GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
1320 #endif
1321 #endif /* GL_VERSION_3_0 */
1322 
1323 #ifndef GL_VERSION_3_1
1324 #define GL_VERSION_3_1 1
1325 #define GL_SAMPLER_2D_RECT                0x8B63
1326 #define GL_SAMPLER_2D_RECT_SHADOW         0x8B64
1327 #define GL_SAMPLER_BUFFER                 0x8DC2
1328 #define GL_INT_SAMPLER_2D_RECT            0x8DCD
1329 #define GL_INT_SAMPLER_BUFFER             0x8DD0
1330 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT   0x8DD5
1331 #define GL_UNSIGNED_INT_SAMPLER_BUFFER    0x8DD8
1332 #define GL_TEXTURE_BUFFER                 0x8C2A
1333 #define GL_MAX_TEXTURE_BUFFER_SIZE        0x8C2B
1334 #define GL_TEXTURE_BINDING_BUFFER         0x8C2C
1335 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
1336 #define GL_TEXTURE_RECTANGLE              0x84F5
1337 #define GL_TEXTURE_BINDING_RECTANGLE      0x84F6
1338 #define GL_PROXY_TEXTURE_RECTANGLE        0x84F7
1339 #define GL_MAX_RECTANGLE_TEXTURE_SIZE     0x84F8
1340 #define GL_R8_SNORM                       0x8F94
1341 #define GL_RG8_SNORM                      0x8F95
1342 #define GL_RGB8_SNORM                     0x8F96
1343 #define GL_RGBA8_SNORM                    0x8F97
1344 #define GL_R16_SNORM                      0x8F98
1345 #define GL_RG16_SNORM                     0x8F99
1346 #define GL_RGB16_SNORM                    0x8F9A
1347 #define GL_RGBA16_SNORM                   0x8F9B
1348 #define GL_SIGNED_NORMALIZED              0x8F9C
1349 #define GL_PRIMITIVE_RESTART              0x8F9D
1350 #define GL_PRIMITIVE_RESTART_INDEX        0x8F9E
1351 #define GL_COPY_READ_BUFFER               0x8F36
1352 #define GL_COPY_WRITE_BUFFER              0x8F37
1353 #define GL_UNIFORM_BUFFER                 0x8A11
1354 #define GL_UNIFORM_BUFFER_BINDING         0x8A28
1355 #define GL_UNIFORM_BUFFER_START           0x8A29
1356 #define GL_UNIFORM_BUFFER_SIZE            0x8A2A
1357 #define GL_MAX_VERTEX_UNIFORM_BLOCKS      0x8A2B
1358 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS    0x8A2C
1359 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS    0x8A2D
1360 #define GL_MAX_COMBINED_UNIFORM_BLOCKS    0x8A2E
1361 #define GL_MAX_UNIFORM_BUFFER_BINDINGS    0x8A2F
1362 #define GL_MAX_UNIFORM_BLOCK_SIZE         0x8A30
1363 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
1364 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
1365 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
1366 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
1367 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
1368 #define GL_ACTIVE_UNIFORM_BLOCKS          0x8A36
1369 #define GL_UNIFORM_TYPE                   0x8A37
1370 #define GL_UNIFORM_SIZE                   0x8A38
1371 #define GL_UNIFORM_NAME_LENGTH            0x8A39
1372 #define GL_UNIFORM_BLOCK_INDEX            0x8A3A
1373 #define GL_UNIFORM_OFFSET                 0x8A3B
1374 #define GL_UNIFORM_ARRAY_STRIDE           0x8A3C
1375 #define GL_UNIFORM_MATRIX_STRIDE          0x8A3D
1376 #define GL_UNIFORM_IS_ROW_MAJOR           0x8A3E
1377 #define GL_UNIFORM_BLOCK_BINDING          0x8A3F
1378 #define GL_UNIFORM_BLOCK_DATA_SIZE        0x8A40
1379 #define GL_UNIFORM_BLOCK_NAME_LENGTH      0x8A41
1380 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS  0x8A42
1381 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
1382 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
1383 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
1384 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
1385 #define GL_INVALID_INDEX                  0xFFFFFFFFu
1386 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
1387 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
1388 typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
1389 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
1390 typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
1391 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1392 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1393 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
1394 typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
1395 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
1396 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
1397 typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
1398 #ifdef GL_GLEXT_PROTOTYPES
1399 GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
1400 GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
1401 GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
1402 GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
1403 GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
1404 GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1405 GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1406 GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
1407 GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
1408 GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
1409 GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
1410 GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
1411 #endif
1412 #endif /* GL_VERSION_3_1 */
1413 
1414 #ifndef GL_VERSION_3_2
1415 #define GL_VERSION_3_2 1
1416 typedef struct __GLsync *GLsync;
1417 typedef khronos_uint64_t GLuint64;
1418 typedef khronos_int64_t GLint64;
1419 #define GL_CONTEXT_CORE_PROFILE_BIT       0x00000001
1420 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
1421 #define GL_LINES_ADJACENCY                0x000A
1422 #define GL_LINE_STRIP_ADJACENCY           0x000B
1423 #define GL_TRIANGLES_ADJACENCY            0x000C
1424 #define GL_TRIANGLE_STRIP_ADJACENCY       0x000D
1425 #define GL_PROGRAM_POINT_SIZE             0x8642
1426 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
1427 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
1428 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
1429 #define GL_GEOMETRY_SHADER                0x8DD9
1430 #define GL_GEOMETRY_VERTICES_OUT          0x8916
1431 #define GL_GEOMETRY_INPUT_TYPE            0x8917
1432 #define GL_GEOMETRY_OUTPUT_TYPE           0x8918
1433 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
1434 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES   0x8DE0
1435 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
1436 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS   0x9122
1437 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS  0x9123
1438 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
1439 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS  0x9125
1440 #define GL_CONTEXT_PROFILE_MASK           0x9126
1441 #define GL_DEPTH_CLAMP                    0x864F
1442 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
1443 #define GL_FIRST_VERTEX_CONVENTION        0x8E4D
1444 #define GL_LAST_VERTEX_CONVENTION         0x8E4E
1445 #define GL_PROVOKING_VERTEX               0x8E4F
1446 #define GL_TEXTURE_CUBE_MAP_SEAMLESS      0x884F
1447 #define GL_MAX_SERVER_WAIT_TIMEOUT        0x9111
1448 #define GL_OBJECT_TYPE                    0x9112
1449 #define GL_SYNC_CONDITION                 0x9113
1450 #define GL_SYNC_STATUS                    0x9114
1451 #define GL_SYNC_FLAGS                     0x9115
1452 #define GL_SYNC_FENCE                     0x9116
1453 #define GL_SYNC_GPU_COMMANDS_COMPLETE     0x9117
1454 #define GL_UNSIGNALED                     0x9118
1455 #define GL_SIGNALED                       0x9119
1456 #define GL_ALREADY_SIGNALED               0x911A
1457 #define GL_TIMEOUT_EXPIRED                0x911B
1458 #define GL_CONDITION_SATISFIED            0x911C
1459 #define GL_WAIT_FAILED                    0x911D
1460 #define GL_TIMEOUT_IGNORED                0xFFFFFFFFFFFFFFFFull
1461 #define GL_SYNC_FLUSH_COMMANDS_BIT        0x00000001
1462 #define GL_SAMPLE_POSITION                0x8E50
1463 #define GL_SAMPLE_MASK                    0x8E51
1464 #define GL_SAMPLE_MASK_VALUE              0x8E52
1465 #define GL_MAX_SAMPLE_MASK_WORDS          0x8E59
1466 #define GL_TEXTURE_2D_MULTISAMPLE         0x9100
1467 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE   0x9101
1468 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY   0x9102
1469 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
1470 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
1471 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
1472 #define GL_TEXTURE_SAMPLES                0x9106
1473 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
1474 #define GL_SAMPLER_2D_MULTISAMPLE         0x9108
1475 #define GL_INT_SAMPLER_2D_MULTISAMPLE     0x9109
1476 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
1477 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY   0x910B
1478 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
1479 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
1480 #define GL_MAX_COLOR_TEXTURE_SAMPLES      0x910E
1481 #define GL_MAX_DEPTH_TEXTURE_SAMPLES      0x910F
1482 #define GL_MAX_INTEGER_SAMPLES            0x9110
1483 typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1484 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1485 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1486 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
1487 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
1488 typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
1489 typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
1490 typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
1491 typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1492 typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1493 typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
1494 typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1495 typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
1496 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
1497 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
1498 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
1499 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
1500 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
1501 typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
1502 #ifdef GL_GLEXT_PROTOTYPES
1503 GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1504 GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1505 GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1506 GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
1507 GLAPI void APIENTRY glProvokingVertex (GLenum mode);
1508 GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
1509 GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
1510 GLAPI void APIENTRY glDeleteSync (GLsync sync);
1511 GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1512 GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1513 GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
1514 GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1515 GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
1516 GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
1517 GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
1518 GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
1519 GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
1520 GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
1521 GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
1522 #endif
1523 #endif /* GL_VERSION_3_2 */
1524 
1525 #ifndef GL_VERSION_3_3
1526 #define GL_VERSION_3_3 1
1527 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR    0x88FE
1528 #define GL_SRC1_COLOR                     0x88F9
1529 #define GL_ONE_MINUS_SRC1_COLOR           0x88FA
1530 #define GL_ONE_MINUS_SRC1_ALPHA           0x88FB
1531 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS   0x88FC
1532 #define GL_ANY_SAMPLES_PASSED             0x8C2F
1533 #define GL_SAMPLER_BINDING                0x8919
1534 #define GL_RGB10_A2UI                     0x906F
1535 #define GL_TEXTURE_SWIZZLE_R              0x8E42
1536 #define GL_TEXTURE_SWIZZLE_G              0x8E43
1537 #define GL_TEXTURE_SWIZZLE_B              0x8E44
1538 #define GL_TEXTURE_SWIZZLE_A              0x8E45
1539 #define GL_TEXTURE_SWIZZLE_RGBA           0x8E46
1540 #define GL_TIME_ELAPSED                   0x88BF
1541 #define GL_TIMESTAMP                      0x8E28
1542 #define GL_INT_2_10_10_10_REV             0x8D9F
1543 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1544 typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
1545 typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
1546 typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
1547 typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
1548 typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
1549 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
1550 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
1551 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
1552 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
1553 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
1554 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
1555 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
1556 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
1557 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
1558 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
1559 typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
1560 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
1561 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
1562 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
1563 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1564 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1565 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1566 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1567 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1568 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1569 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1570 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1571 typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
1572 typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
1573 typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
1574 typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
1575 typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
1576 typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
1577 typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
1578 typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
1579 typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
1580 typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
1581 typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
1582 typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
1583 typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
1584 typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
1585 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
1586 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1587 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
1588 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1589 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
1590 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1591 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
1592 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1593 typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
1594 typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
1595 typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
1596 typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
1597 typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
1598 typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
1599 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
1600 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
1601 #ifdef GL_GLEXT_PROTOTYPES
1602 GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1603 GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
1604 GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
1605 GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
1606 GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
1607 GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
1608 GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
1609 GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
1610 GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
1611 GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
1612 GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
1613 GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
1614 GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
1615 GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
1616 GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
1617 GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
1618 GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
1619 GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
1620 GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
1621 GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
1622 GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1623 GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1624 GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1625 GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1626 GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1627 GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1628 GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1629 GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1630 GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
1631 GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
1632 GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
1633 GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
1634 GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
1635 GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
1636 GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
1637 GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
1638 GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
1639 GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
1640 GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
1641 GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
1642 GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
1643 GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
1644 GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
1645 GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
1646 GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
1647 GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
1648 GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
1649 GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
1650 GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
1651 GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
1652 GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
1653 GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
1654 GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
1655 GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
1656 GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
1657 GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
1658 GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
1659 GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
1660 #endif
1661 #endif /* GL_VERSION_3_3 */
1662 
1663 #ifndef GL_VERSION_4_0
1664 #define GL_VERSION_4_0 1
1665 #define GL_SAMPLE_SHADING                 0x8C36
1666 #define GL_MIN_SAMPLE_SHADING_VALUE       0x8C37
1667 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
1668 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
1669 #define GL_TEXTURE_CUBE_MAP_ARRAY         0x9009
1670 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
1671 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY   0x900B
1672 #define GL_SAMPLER_CUBE_MAP_ARRAY         0x900C
1673 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW  0x900D
1674 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY     0x900E
1675 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
1676 #define GL_DRAW_INDIRECT_BUFFER           0x8F3F
1677 #define GL_DRAW_INDIRECT_BUFFER_BINDING   0x8F43
1678 #define GL_GEOMETRY_SHADER_INVOCATIONS    0x887F
1679 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
1680 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
1681 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
1682 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
1683 #define GL_MAX_VERTEX_STREAMS             0x8E71
1684 #define GL_DOUBLE_VEC2                    0x8FFC
1685 #define GL_DOUBLE_VEC3                    0x8FFD
1686 #define GL_DOUBLE_VEC4                    0x8FFE
1687 #define GL_DOUBLE_MAT2                    0x8F46
1688 #define GL_DOUBLE_MAT3                    0x8F47
1689 #define GL_DOUBLE_MAT4                    0x8F48
1690 #define GL_DOUBLE_MAT2x3                  0x8F49
1691 #define GL_DOUBLE_MAT2x4                  0x8F4A
1692 #define GL_DOUBLE_MAT3x2                  0x8F4B
1693 #define GL_DOUBLE_MAT3x4                  0x8F4C
1694 #define GL_DOUBLE_MAT4x2                  0x8F4D
1695 #define GL_DOUBLE_MAT4x3                  0x8F4E
1696 #define GL_ACTIVE_SUBROUTINES             0x8DE5
1697 #define GL_ACTIVE_SUBROUTINE_UNIFORMS     0x8DE6
1698 #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
1699 #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH   0x8E48
1700 #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
1701 #define GL_MAX_SUBROUTINES                0x8DE7
1702 #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
1703 #define GL_NUM_COMPATIBLE_SUBROUTINES     0x8E4A
1704 #define GL_COMPATIBLE_SUBROUTINES         0x8E4B
1705 #define GL_PATCHES                        0x000E
1706 #define GL_PATCH_VERTICES                 0x8E72
1707 #define GL_PATCH_DEFAULT_INNER_LEVEL      0x8E73
1708 #define GL_PATCH_DEFAULT_OUTER_LEVEL      0x8E74
1709 #define GL_TESS_CONTROL_OUTPUT_VERTICES   0x8E75
1710 #define GL_TESS_GEN_MODE                  0x8E76
1711 #define GL_TESS_GEN_SPACING               0x8E77
1712 #define GL_TESS_GEN_VERTEX_ORDER          0x8E78
1713 #define GL_TESS_GEN_POINT_MODE            0x8E79
1714 #define GL_ISOLINES                       0x8E7A
1715 #define GL_FRACTIONAL_ODD                 0x8E7B
1716 #define GL_FRACTIONAL_EVEN                0x8E7C
1717 #define GL_MAX_PATCH_VERTICES             0x8E7D
1718 #define GL_MAX_TESS_GEN_LEVEL             0x8E7E
1719 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
1720 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
1721 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
1722 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
1723 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
1724 #define GL_MAX_TESS_PATCH_COMPONENTS      0x8E84
1725 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
1726 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
1727 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
1728 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
1729 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
1730 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
1731 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
1732 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
1733 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
1734 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
1735 #define GL_TESS_EVALUATION_SHADER         0x8E87
1736 #define GL_TESS_CONTROL_SHADER            0x8E88
1737 #define GL_TRANSFORM_FEEDBACK             0x8E22
1738 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
1739 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
1740 #define GL_TRANSFORM_FEEDBACK_BINDING     0x8E25
1741 #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
1742 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
1743 typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
1744 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1745 typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
1746 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1747 typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
1748 typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
1749 typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
1750 typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
1751 typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
1752 typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1753 typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1754 typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1755 typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1756 typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1757 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1758 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1759 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1760 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1761 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1762 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1763 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1764 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1765 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1766 typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
1767 typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1768 typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1769 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1770 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1771 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1772 typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
1773 typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
1774 typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
1775 typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
1776 typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
1777 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
1778 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
1779 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
1780 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
1781 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
1782 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
1783 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
1784 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
1785 typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
1786 typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
1787 typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
1788 #ifdef GL_GLEXT_PROTOTYPES
1789 GLAPI void APIENTRY glMinSampleShading (GLfloat value);
1790 GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
1791 GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1792 GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
1793 GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1794 GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
1795 GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
1796 GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
1797 GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
1798 GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
1799 GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1800 GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
1801 GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
1802 GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
1803 GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
1804 GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1805 GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1806 GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1807 GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1808 GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1809 GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1810 GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1811 GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1812 GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1813 GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
1814 GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
1815 GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
1816 GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1817 GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1818 GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1819 GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
1820 GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
1821 GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
1822 GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
1823 GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
1824 GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
1825 GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
1826 GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
1827 GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
1828 GLAPI void APIENTRY glPauseTransformFeedback (void);
1829 GLAPI void APIENTRY glResumeTransformFeedback (void);
1830 GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
1831 GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
1832 GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
1833 GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
1834 GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
1835 #endif
1836 #endif /* GL_VERSION_4_0 */
1837 
1838 #ifndef GL_VERSION_4_1
1839 #define GL_VERSION_4_1 1
1840 #define GL_FIXED                          0x140C
1841 #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
1842 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
1843 #define GL_LOW_FLOAT                      0x8DF0
1844 #define GL_MEDIUM_FLOAT                   0x8DF1
1845 #define GL_HIGH_FLOAT                     0x8DF2
1846 #define GL_LOW_INT                        0x8DF3
1847 #define GL_MEDIUM_INT                     0x8DF4
1848 #define GL_HIGH_INT                       0x8DF5
1849 #define GL_SHADER_COMPILER                0x8DFA
1850 #define GL_SHADER_BINARY_FORMATS          0x8DF8
1851 #define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
1852 #define GL_MAX_VERTEX_UNIFORM_VECTORS     0x8DFB
1853 #define GL_MAX_VARYING_VECTORS            0x8DFC
1854 #define GL_MAX_FRAGMENT_UNIFORM_VECTORS   0x8DFD
1855 #define GL_RGB565                         0x8D62
1856 #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
1857 #define GL_PROGRAM_BINARY_LENGTH          0x8741
1858 #define GL_NUM_PROGRAM_BINARY_FORMATS     0x87FE
1859 #define GL_PROGRAM_BINARY_FORMATS         0x87FF
1860 #define GL_VERTEX_SHADER_BIT              0x00000001
1861 #define GL_FRAGMENT_SHADER_BIT            0x00000002
1862 #define GL_GEOMETRY_SHADER_BIT            0x00000004
1863 #define GL_TESS_CONTROL_SHADER_BIT        0x00000008
1864 #define GL_TESS_EVALUATION_SHADER_BIT     0x00000010
1865 #define GL_ALL_SHADER_BITS                0xFFFFFFFF
1866 #define GL_PROGRAM_SEPARABLE              0x8258
1867 #define GL_ACTIVE_PROGRAM                 0x8259
1868 #define GL_PROGRAM_PIPELINE_BINDING       0x825A
1869 #define GL_MAX_VIEWPORTS                  0x825B
1870 #define GL_VIEWPORT_SUBPIXEL_BITS         0x825C
1871 #define GL_VIEWPORT_BOUNDS_RANGE          0x825D
1872 #define GL_LAYER_PROVOKING_VERTEX         0x825E
1873 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
1874 #define GL_UNDEFINED_VERTEX               0x8260
1875 typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
1876 typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
1877 typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1878 typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
1879 typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
1880 typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1881 typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
1882 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
1883 typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
1884 typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
1885 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
1886 typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
1887 typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
1888 typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
1889 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
1890 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
1891 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
1892 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1893 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
1894 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1895 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
1896 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1897 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
1898 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1899 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
1900 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1901 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1902 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1903 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
1904 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1905 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
1906 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1907 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1908 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1909 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1910 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1911 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
1912 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1913 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1914 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1915 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1916 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1917 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1918 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1919 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
1920 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1921 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1922 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1923 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1924 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1925 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1926 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1927 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1928 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1929 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1930 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1931 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1932 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1933 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1934 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1935 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1936 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1937 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1938 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1939 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1940 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1941 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
1942 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1943 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
1944 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
1945 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
1946 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1947 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
1948 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
1949 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
1950 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
1951 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1952 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
1953 typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
1954 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
1955 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
1956 typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
1957 typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
1958 typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
1959 typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
1960 typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
1961 typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
1962 typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
1963 #ifdef GL_GLEXT_PROTOTYPES
1964 GLAPI void APIENTRY glReleaseShaderCompiler (void);
1965 GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
1966 GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1967 GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
1968 GLAPI void APIENTRY glClearDepthf (GLfloat d);
1969 GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1970 GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
1971 GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
1972 GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
1973 GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
1974 GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
1975 GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
1976 GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
1977 GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
1978 GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
1979 GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
1980 GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
1981 GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1982 GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
1983 GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1984 GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
1985 GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1986 GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
1987 GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
1988 GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
1989 GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1990 GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1991 GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1992 GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
1993 GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1994 GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
1995 GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
1996 GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1997 GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1998 GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1999 GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
2000 GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
2001 GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
2002 GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
2003 GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
2004 GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
2005 GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
2006 GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
2007 GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
2008 GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
2009 GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
2010 GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
2011 GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
2012 GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2013 GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2014 GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2015 GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2016 GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2017 GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2018 GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2019 GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2020 GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2021 GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2022 GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2023 GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2024 GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2025 GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2026 GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2027 GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2028 GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2029 GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2030 GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
2031 GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
2032 GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
2033 GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
2034 GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
2035 GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
2036 GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
2037 GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
2038 GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
2039 GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
2040 GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
2041 GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
2042 GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
2043 GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
2044 GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
2045 GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
2046 GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
2047 GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
2048 GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
2049 GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
2050 GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
2051 GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
2052 #endif
2053 #endif /* GL_VERSION_4_1 */
2054 
2055 #ifndef GL_VERSION_4_2
2056 #define GL_VERSION_4_2 1
2057 #define GL_COPY_READ_BUFFER_BINDING       0x8F36
2058 #define GL_COPY_WRITE_BUFFER_BINDING      0x8F37
2059 #define GL_TRANSFORM_FEEDBACK_ACTIVE      0x8E24
2060 #define GL_TRANSFORM_FEEDBACK_PAUSED      0x8E23
2061 #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH  0x9127
2062 #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
2063 #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH  0x9129
2064 #define GL_UNPACK_COMPRESSED_BLOCK_SIZE   0x912A
2065 #define GL_PACK_COMPRESSED_BLOCK_WIDTH    0x912B
2066 #define GL_PACK_COMPRESSED_BLOCK_HEIGHT   0x912C
2067 #define GL_PACK_COMPRESSED_BLOCK_DEPTH    0x912D
2068 #define GL_PACK_COMPRESSED_BLOCK_SIZE     0x912E
2069 #define GL_NUM_SAMPLE_COUNTS              0x9380
2070 #define GL_MIN_MAP_BUFFER_ALIGNMENT       0x90BC
2071 #define GL_ATOMIC_COUNTER_BUFFER          0x92C0
2072 #define GL_ATOMIC_COUNTER_BUFFER_BINDING  0x92C1
2073 #define GL_ATOMIC_COUNTER_BUFFER_START    0x92C2
2074 #define GL_ATOMIC_COUNTER_BUFFER_SIZE     0x92C3
2075 #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
2076 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
2077 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
2078 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
2079 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
2080 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
2081 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
2082 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
2083 #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
2084 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
2085 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
2086 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
2087 #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
2088 #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
2089 #define GL_MAX_VERTEX_ATOMIC_COUNTERS     0x92D2
2090 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
2091 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
2092 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS   0x92D5
2093 #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS   0x92D6
2094 #define GL_MAX_COMBINED_ATOMIC_COUNTERS   0x92D7
2095 #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
2096 #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
2097 #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS  0x92D9
2098 #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
2099 #define GL_UNSIGNED_INT_ATOMIC_COUNTER    0x92DB
2100 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
2101 #define GL_ELEMENT_ARRAY_BARRIER_BIT      0x00000002
2102 #define GL_UNIFORM_BARRIER_BIT            0x00000004
2103 #define GL_TEXTURE_FETCH_BARRIER_BIT      0x00000008
2104 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
2105 #define GL_COMMAND_BARRIER_BIT            0x00000040
2106 #define GL_PIXEL_BUFFER_BARRIER_BIT       0x00000080
2107 #define GL_TEXTURE_UPDATE_BARRIER_BIT     0x00000100
2108 #define GL_BUFFER_UPDATE_BARRIER_BIT      0x00000200
2109 #define GL_FRAMEBUFFER_BARRIER_BIT        0x00000400
2110 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
2111 #define GL_ATOMIC_COUNTER_BARRIER_BIT     0x00001000
2112 #define GL_ALL_BARRIER_BITS               0xFFFFFFFF
2113 #define GL_MAX_IMAGE_UNITS                0x8F38
2114 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
2115 #define GL_IMAGE_BINDING_NAME             0x8F3A
2116 #define GL_IMAGE_BINDING_LEVEL            0x8F3B
2117 #define GL_IMAGE_BINDING_LAYERED          0x8F3C
2118 #define GL_IMAGE_BINDING_LAYER            0x8F3D
2119 #define GL_IMAGE_BINDING_ACCESS           0x8F3E
2120 #define GL_IMAGE_1D                       0x904C
2121 #define GL_IMAGE_2D                       0x904D
2122 #define GL_IMAGE_3D                       0x904E
2123 #define GL_IMAGE_2D_RECT                  0x904F
2124 #define GL_IMAGE_CUBE                     0x9050
2125 #define GL_IMAGE_BUFFER                   0x9051
2126 #define GL_IMAGE_1D_ARRAY                 0x9052
2127 #define GL_IMAGE_2D_ARRAY                 0x9053
2128 #define GL_IMAGE_CUBE_MAP_ARRAY           0x9054
2129 #define GL_IMAGE_2D_MULTISAMPLE           0x9055
2130 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY     0x9056
2131 #define GL_INT_IMAGE_1D                   0x9057
2132 #define GL_INT_IMAGE_2D                   0x9058
2133 #define GL_INT_IMAGE_3D                   0x9059
2134 #define GL_INT_IMAGE_2D_RECT              0x905A
2135 #define GL_INT_IMAGE_CUBE                 0x905B
2136 #define GL_INT_IMAGE_BUFFER               0x905C
2137 #define GL_INT_IMAGE_1D_ARRAY             0x905D
2138 #define GL_INT_IMAGE_2D_ARRAY             0x905E
2139 #define GL_INT_IMAGE_CUBE_MAP_ARRAY       0x905F
2140 #define GL_INT_IMAGE_2D_MULTISAMPLE       0x9060
2141 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
2142 #define GL_UNSIGNED_INT_IMAGE_1D          0x9062
2143 #define GL_UNSIGNED_INT_IMAGE_2D          0x9063
2144 #define GL_UNSIGNED_INT_IMAGE_3D          0x9064
2145 #define GL_UNSIGNED_INT_IMAGE_2D_RECT     0x9065
2146 #define GL_UNSIGNED_INT_IMAGE_CUBE        0x9066
2147 #define GL_UNSIGNED_INT_IMAGE_BUFFER      0x9067
2148 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY    0x9068
2149 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY    0x9069
2150 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
2151 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
2152 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
2153 #define GL_MAX_IMAGE_SAMPLES              0x906D
2154 #define GL_IMAGE_BINDING_FORMAT           0x906E
2155 #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
2156 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
2157 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
2158 #define GL_MAX_VERTEX_IMAGE_UNIFORMS      0x90CA
2159 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
2160 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
2161 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS    0x90CD
2162 #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS    0x90CE
2163 #define GL_MAX_COMBINED_IMAGE_UNIFORMS    0x90CF
2164 #define GL_COMPRESSED_RGBA_BPTC_UNORM     0x8E8C
2165 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
2166 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
2167 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
2168 #define GL_TEXTURE_IMMUTABLE_FORMAT       0x912F
2169 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2170 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2171 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2172 typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
2173 typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2174 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2175 typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
2176 typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2177 typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2178 typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2179 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
2180 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
2181 #ifdef GL_GLEXT_PROTOTYPES
2182 GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2183 GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2184 GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2185 GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
2186 GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2187 GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2188 GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
2189 GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2190 GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2191 GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2192 GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
2193 GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
2194 #endif
2195 #endif /* GL_VERSION_4_2 */
2196 
2197 #ifndef GL_VERSION_4_3
2198 #define GL_VERSION_4_3 1
2199 typedef void (APIENTRY  *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
2200 #define GL_NUM_SHADING_LANGUAGE_VERSIONS  0x82E9
2201 #define GL_VERTEX_ATTRIB_ARRAY_LONG       0x874E
2202 #define GL_COMPRESSED_RGB8_ETC2           0x9274
2203 #define GL_COMPRESSED_SRGB8_ETC2          0x9275
2204 #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
2205 #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
2206 #define GL_COMPRESSED_RGBA8_ETC2_EAC      0x9278
2207 #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
2208 #define GL_COMPRESSED_R11_EAC             0x9270
2209 #define GL_COMPRESSED_SIGNED_R11_EAC      0x9271
2210 #define GL_COMPRESSED_RG11_EAC            0x9272
2211 #define GL_COMPRESSED_SIGNED_RG11_EAC     0x9273
2212 #define GL_PRIMITIVE_RESTART_FIXED_INDEX  0x8D69
2213 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
2214 #define GL_MAX_ELEMENT_INDEX              0x8D6B
2215 #define GL_COMPUTE_SHADER                 0x91B9
2216 #define GL_MAX_COMPUTE_UNIFORM_BLOCKS     0x91BB
2217 #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
2218 #define GL_MAX_COMPUTE_IMAGE_UNIFORMS     0x91BD
2219 #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
2220 #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
2221 #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
2222 #define GL_MAX_COMPUTE_ATOMIC_COUNTERS    0x8265
2223 #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
2224 #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
2225 #define GL_MAX_COMPUTE_WORK_GROUP_COUNT   0x91BE
2226 #define GL_MAX_COMPUTE_WORK_GROUP_SIZE    0x91BF
2227 #define GL_COMPUTE_WORK_GROUP_SIZE        0x8267
2228 #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
2229 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
2230 #define GL_DISPATCH_INDIRECT_BUFFER       0x90EE
2231 #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
2232 #define GL_COMPUTE_SHADER_BIT             0x00000020
2233 #define GL_DEBUG_OUTPUT_SYNCHRONOUS       0x8242
2234 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
2235 #define GL_DEBUG_CALLBACK_FUNCTION        0x8244
2236 #define GL_DEBUG_CALLBACK_USER_PARAM      0x8245
2237 #define GL_DEBUG_SOURCE_API               0x8246
2238 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM     0x8247
2239 #define GL_DEBUG_SOURCE_SHADER_COMPILER   0x8248
2240 #define GL_DEBUG_SOURCE_THIRD_PARTY       0x8249
2241 #define GL_DEBUG_SOURCE_APPLICATION       0x824A
2242 #define GL_DEBUG_SOURCE_OTHER             0x824B
2243 #define GL_DEBUG_TYPE_ERROR               0x824C
2244 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
2245 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR  0x824E
2246 #define GL_DEBUG_TYPE_PORTABILITY         0x824F
2247 #define GL_DEBUG_TYPE_PERFORMANCE         0x8250
2248 #define GL_DEBUG_TYPE_OTHER               0x8251
2249 #define GL_MAX_DEBUG_MESSAGE_LENGTH       0x9143
2250 #define GL_MAX_DEBUG_LOGGED_MESSAGES      0x9144
2251 #define GL_DEBUG_LOGGED_MESSAGES          0x9145
2252 #define GL_DEBUG_SEVERITY_HIGH            0x9146
2253 #define GL_DEBUG_SEVERITY_MEDIUM          0x9147
2254 #define GL_DEBUG_SEVERITY_LOW             0x9148
2255 #define GL_DEBUG_TYPE_MARKER              0x8268
2256 #define GL_DEBUG_TYPE_PUSH_GROUP          0x8269
2257 #define GL_DEBUG_TYPE_POP_GROUP           0x826A
2258 #define GL_DEBUG_SEVERITY_NOTIFICATION    0x826B
2259 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH    0x826C
2260 #define GL_DEBUG_GROUP_STACK_DEPTH        0x826D
2261 #define GL_BUFFER                         0x82E0
2262 #define GL_SHADER                         0x82E1
2263 #define GL_PROGRAM                        0x82E2
2264 #define GL_QUERY                          0x82E3
2265 #define GL_PROGRAM_PIPELINE               0x82E4
2266 #define GL_SAMPLER                        0x82E6
2267 #define GL_MAX_LABEL_LENGTH               0x82E8
2268 #define GL_DEBUG_OUTPUT                   0x92E0
2269 #define GL_CONTEXT_FLAG_DEBUG_BIT         0x00000002
2270 #define GL_MAX_UNIFORM_LOCATIONS          0x826E
2271 #define GL_FRAMEBUFFER_DEFAULT_WIDTH      0x9310
2272 #define GL_FRAMEBUFFER_DEFAULT_HEIGHT     0x9311
2273 #define GL_FRAMEBUFFER_DEFAULT_LAYERS     0x9312
2274 #define GL_FRAMEBUFFER_DEFAULT_SAMPLES    0x9313
2275 #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
2276 #define GL_MAX_FRAMEBUFFER_WIDTH          0x9315
2277 #define GL_MAX_FRAMEBUFFER_HEIGHT         0x9316
2278 #define GL_MAX_FRAMEBUFFER_LAYERS         0x9317
2279 #define GL_MAX_FRAMEBUFFER_SAMPLES        0x9318
2280 #define GL_INTERNALFORMAT_SUPPORTED       0x826F
2281 #define GL_INTERNALFORMAT_PREFERRED       0x8270
2282 #define GL_INTERNALFORMAT_RED_SIZE        0x8271
2283 #define GL_INTERNALFORMAT_GREEN_SIZE      0x8272
2284 #define GL_INTERNALFORMAT_BLUE_SIZE       0x8273
2285 #define GL_INTERNALFORMAT_ALPHA_SIZE      0x8274
2286 #define GL_INTERNALFORMAT_DEPTH_SIZE      0x8275
2287 #define GL_INTERNALFORMAT_STENCIL_SIZE    0x8276
2288 #define GL_INTERNALFORMAT_SHARED_SIZE     0x8277
2289 #define GL_INTERNALFORMAT_RED_TYPE        0x8278
2290 #define GL_INTERNALFORMAT_GREEN_TYPE      0x8279
2291 #define GL_INTERNALFORMAT_BLUE_TYPE       0x827A
2292 #define GL_INTERNALFORMAT_ALPHA_TYPE      0x827B
2293 #define GL_INTERNALFORMAT_DEPTH_TYPE      0x827C
2294 #define GL_INTERNALFORMAT_STENCIL_TYPE    0x827D
2295 #define GL_MAX_WIDTH                      0x827E
2296 #define GL_MAX_HEIGHT                     0x827F
2297 #define GL_MAX_DEPTH                      0x8280
2298 #define GL_MAX_LAYERS                     0x8281
2299 #define GL_MAX_COMBINED_DIMENSIONS        0x8282
2300 #define GL_COLOR_COMPONENTS               0x8283
2301 #define GL_DEPTH_COMPONENTS               0x8284
2302 #define GL_STENCIL_COMPONENTS             0x8285
2303 #define GL_COLOR_RENDERABLE               0x8286
2304 #define GL_DEPTH_RENDERABLE               0x8287
2305 #define GL_STENCIL_RENDERABLE             0x8288
2306 #define GL_FRAMEBUFFER_RENDERABLE         0x8289
2307 #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
2308 #define GL_FRAMEBUFFER_BLEND              0x828B
2309 #define GL_READ_PIXELS                    0x828C
2310 #define GL_READ_PIXELS_FORMAT             0x828D
2311 #define GL_READ_PIXELS_TYPE               0x828E
2312 #define GL_TEXTURE_IMAGE_FORMAT           0x828F
2313 #define GL_TEXTURE_IMAGE_TYPE             0x8290
2314 #define GL_GET_TEXTURE_IMAGE_FORMAT       0x8291
2315 #define GL_GET_TEXTURE_IMAGE_TYPE         0x8292
2316 #define GL_MIPMAP                         0x8293
2317 #define GL_MANUAL_GENERATE_MIPMAP         0x8294
2318 #define GL_AUTO_GENERATE_MIPMAP           0x8295
2319 #define GL_COLOR_ENCODING                 0x8296
2320 #define GL_SRGB_READ                      0x8297
2321 #define GL_SRGB_WRITE                     0x8298
2322 #define GL_FILTER                         0x829A
2323 #define GL_VERTEX_TEXTURE                 0x829B
2324 #define GL_TESS_CONTROL_TEXTURE           0x829C
2325 #define GL_TESS_EVALUATION_TEXTURE        0x829D
2326 #define GL_GEOMETRY_TEXTURE               0x829E
2327 #define GL_FRAGMENT_TEXTURE               0x829F
2328 #define GL_COMPUTE_TEXTURE                0x82A0
2329 #define GL_TEXTURE_SHADOW                 0x82A1
2330 #define GL_TEXTURE_GATHER                 0x82A2
2331 #define GL_TEXTURE_GATHER_SHADOW          0x82A3
2332 #define GL_SHADER_IMAGE_LOAD              0x82A4
2333 #define GL_SHADER_IMAGE_STORE             0x82A5
2334 #define GL_SHADER_IMAGE_ATOMIC            0x82A6
2335 #define GL_IMAGE_TEXEL_SIZE               0x82A7
2336 #define GL_IMAGE_COMPATIBILITY_CLASS      0x82A8
2337 #define GL_IMAGE_PIXEL_FORMAT             0x82A9
2338 #define GL_IMAGE_PIXEL_TYPE               0x82AA
2339 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
2340 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
2341 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
2342 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
2343 #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
2344 #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
2345 #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE  0x82B3
2346 #define GL_CLEAR_BUFFER                   0x82B4
2347 #define GL_TEXTURE_VIEW                   0x82B5
2348 #define GL_VIEW_COMPATIBILITY_CLASS       0x82B6
2349 #define GL_FULL_SUPPORT                   0x82B7
2350 #define GL_CAVEAT_SUPPORT                 0x82B8
2351 #define GL_IMAGE_CLASS_4_X_32             0x82B9
2352 #define GL_IMAGE_CLASS_2_X_32             0x82BA
2353 #define GL_IMAGE_CLASS_1_X_32             0x82BB
2354 #define GL_IMAGE_CLASS_4_X_16             0x82BC
2355 #define GL_IMAGE_CLASS_2_X_16             0x82BD
2356 #define GL_IMAGE_CLASS_1_X_16             0x82BE
2357 #define GL_IMAGE_CLASS_4_X_8              0x82BF
2358 #define GL_IMAGE_CLASS_2_X_8              0x82C0
2359 #define GL_IMAGE_CLASS_1_X_8              0x82C1
2360 #define GL_IMAGE_CLASS_11_11_10           0x82C2
2361 #define GL_IMAGE_CLASS_10_10_10_2         0x82C3
2362 #define GL_VIEW_CLASS_128_BITS            0x82C4
2363 #define GL_VIEW_CLASS_96_BITS             0x82C5
2364 #define GL_VIEW_CLASS_64_BITS             0x82C6
2365 #define GL_VIEW_CLASS_48_BITS             0x82C7
2366 #define GL_VIEW_CLASS_32_BITS             0x82C8
2367 #define GL_VIEW_CLASS_24_BITS             0x82C9
2368 #define GL_VIEW_CLASS_16_BITS             0x82CA
2369 #define GL_VIEW_CLASS_8_BITS              0x82CB
2370 #define GL_VIEW_CLASS_S3TC_DXT1_RGB       0x82CC
2371 #define GL_VIEW_CLASS_S3TC_DXT1_RGBA      0x82CD
2372 #define GL_VIEW_CLASS_S3TC_DXT3_RGBA      0x82CE
2373 #define GL_VIEW_CLASS_S3TC_DXT5_RGBA      0x82CF
2374 #define GL_VIEW_CLASS_RGTC1_RED           0x82D0
2375 #define GL_VIEW_CLASS_RGTC2_RG            0x82D1
2376 #define GL_VIEW_CLASS_BPTC_UNORM          0x82D2
2377 #define GL_VIEW_CLASS_BPTC_FLOAT          0x82D3
2378 #define GL_UNIFORM                        0x92E1
2379 #define GL_UNIFORM_BLOCK                  0x92E2
2380 #define GL_PROGRAM_INPUT                  0x92E3
2381 #define GL_PROGRAM_OUTPUT                 0x92E4
2382 #define GL_BUFFER_VARIABLE                0x92E5
2383 #define GL_SHADER_STORAGE_BLOCK           0x92E6
2384 #define GL_VERTEX_SUBROUTINE              0x92E8
2385 #define GL_TESS_CONTROL_SUBROUTINE        0x92E9
2386 #define GL_TESS_EVALUATION_SUBROUTINE     0x92EA
2387 #define GL_GEOMETRY_SUBROUTINE            0x92EB
2388 #define GL_FRAGMENT_SUBROUTINE            0x92EC
2389 #define GL_COMPUTE_SUBROUTINE             0x92ED
2390 #define GL_VERTEX_SUBROUTINE_UNIFORM      0x92EE
2391 #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
2392 #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
2393 #define GL_GEOMETRY_SUBROUTINE_UNIFORM    0x92F1
2394 #define GL_FRAGMENT_SUBROUTINE_UNIFORM    0x92F2
2395 #define GL_COMPUTE_SUBROUTINE_UNIFORM     0x92F3
2396 #define GL_TRANSFORM_FEEDBACK_VARYING     0x92F4
2397 #define GL_ACTIVE_RESOURCES               0x92F5
2398 #define GL_MAX_NAME_LENGTH                0x92F6
2399 #define GL_MAX_NUM_ACTIVE_VARIABLES       0x92F7
2400 #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
2401 #define GL_NAME_LENGTH                    0x92F9
2402 #define GL_TYPE                           0x92FA
2403 #define GL_ARRAY_SIZE                     0x92FB
2404 #define GL_OFFSET                         0x92FC
2405 #define GL_BLOCK_INDEX                    0x92FD
2406 #define GL_ARRAY_STRIDE                   0x92FE
2407 #define GL_MATRIX_STRIDE                  0x92FF
2408 #define GL_IS_ROW_MAJOR                   0x9300
2409 #define GL_ATOMIC_COUNTER_BUFFER_INDEX    0x9301
2410 #define GL_BUFFER_BINDING                 0x9302
2411 #define GL_BUFFER_DATA_SIZE               0x9303
2412 #define GL_NUM_ACTIVE_VARIABLES           0x9304
2413 #define GL_ACTIVE_VARIABLES               0x9305
2414 #define GL_REFERENCED_BY_VERTEX_SHADER    0x9306
2415 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
2416 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
2417 #define GL_REFERENCED_BY_GEOMETRY_SHADER  0x9309
2418 #define GL_REFERENCED_BY_FRAGMENT_SHADER  0x930A
2419 #define GL_REFERENCED_BY_COMPUTE_SHADER   0x930B
2420 #define GL_TOP_LEVEL_ARRAY_SIZE           0x930C
2421 #define GL_TOP_LEVEL_ARRAY_STRIDE         0x930D
2422 #define GL_LOCATION                       0x930E
2423 #define GL_LOCATION_INDEX                 0x930F
2424 #define GL_IS_PER_PATCH                   0x92E7
2425 #define GL_SHADER_STORAGE_BUFFER          0x90D2
2426 #define GL_SHADER_STORAGE_BUFFER_BINDING  0x90D3
2427 #define GL_SHADER_STORAGE_BUFFER_START    0x90D4
2428 #define GL_SHADER_STORAGE_BUFFER_SIZE     0x90D5
2429 #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
2430 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
2431 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
2432 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
2433 #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
2434 #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
2435 #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
2436 #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
2437 #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE  0x90DE
2438 #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
2439 #define GL_SHADER_STORAGE_BARRIER_BIT     0x00002000
2440 #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
2441 #define GL_DEPTH_STENCIL_TEXTURE_MODE     0x90EA
2442 #define GL_TEXTURE_BUFFER_OFFSET          0x919D
2443 #define GL_TEXTURE_BUFFER_SIZE            0x919E
2444 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
2445 #define GL_TEXTURE_VIEW_MIN_LEVEL         0x82DB
2446 #define GL_TEXTURE_VIEW_NUM_LEVELS        0x82DC
2447 #define GL_TEXTURE_VIEW_MIN_LAYER         0x82DD
2448 #define GL_TEXTURE_VIEW_NUM_LAYERS        0x82DE
2449 #define GL_TEXTURE_IMMUTABLE_LEVELS       0x82DF
2450 #define GL_VERTEX_ATTRIB_BINDING          0x82D4
2451 #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET  0x82D5
2452 #define GL_VERTEX_BINDING_DIVISOR         0x82D6
2453 #define GL_VERTEX_BINDING_OFFSET          0x82D7
2454 #define GL_VERTEX_BINDING_STRIDE          0x82D8
2455 #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
2456 #define GL_MAX_VERTEX_ATTRIB_BINDINGS     0x82DA
2457 #define GL_VERTEX_BINDING_BUFFER          0x8F4F
2458 #define GL_DISPLAY_LIST                   0x82E7
2459 typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
2460 typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2461 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
2462 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
2463 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);
2464 typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
2465 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2466 typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
2467 typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2468 typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
2469 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
2470 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
2471 typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
2472 typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2473 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
2474 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
2475 typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2476 typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2477 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2478 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
2479 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2480 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2481 typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
2482 typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2483 typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2484 typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2485 typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2486 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2487 typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2488 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2489 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2490 typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
2491 typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
2492 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2493 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2494 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
2495 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2496 typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
2497 typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
2498 typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
2499 typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
2500 typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
2501 typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
2502 #ifdef GL_GLEXT_PROTOTYPES
2503 GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
2504 GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2505 GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
2506 GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
2507 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);
2508 GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
2509 GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
2510 GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
2511 GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2512 GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
2513 GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
2514 GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
2515 GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
2516 GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2517 GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
2518 GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
2519 GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2520 GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
2521 GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2522 GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
2523 GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
2524 GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
2525 GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
2526 GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2527 GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2528 GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2529 GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2530 GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2531 GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2532 GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2533 GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2534 GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
2535 GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
2536 GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2537 GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2538 GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
2539 GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2540 GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
2541 GLAPI void APIENTRY glPopDebugGroup (void);
2542 GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
2543 GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
2544 GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
2545 GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
2546 #endif
2547 #endif /* GL_VERSION_4_3 */
2548 
2549 #ifndef GL_VERSION_4_4
2550 #define GL_VERSION_4_4 1
2551 #define GL_MAX_VERTEX_ATTRIB_STRIDE       0x82E5
2552 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
2553 #define GL_TEXTURE_BUFFER_BINDING         0x8C2A
2554 #define GL_MAP_PERSISTENT_BIT             0x0040
2555 #define GL_MAP_COHERENT_BIT               0x0080
2556 #define GL_DYNAMIC_STORAGE_BIT            0x0100
2557 #define GL_CLIENT_STORAGE_BIT             0x0200
2558 #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
2559 #define GL_BUFFER_IMMUTABLE_STORAGE       0x821F
2560 #define GL_BUFFER_STORAGE_FLAGS           0x8220
2561 #define GL_CLEAR_TEXTURE                  0x9365
2562 #define GL_LOCATION_COMPONENT             0x934A
2563 #define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
2564 #define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
2565 #define GL_QUERY_BUFFER                   0x9192
2566 #define GL_QUERY_BUFFER_BARRIER_BIT       0x00008000
2567 #define GL_QUERY_BUFFER_BINDING           0x9193
2568 #define GL_QUERY_RESULT_NO_WAIT           0x9194
2569 #define GL_MIRROR_CLAMP_TO_EDGE           0x8743
2570 typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
2571 typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
2572 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);
2573 typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
2574 typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
2575 typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
2576 typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
2577 typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
2578 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2579 #ifdef GL_GLEXT_PROTOTYPES
2580 GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
2581 GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
2582 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);
2583 GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
2584 GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
2585 GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
2586 GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
2587 GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
2588 GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2589 #endif
2590 #endif /* GL_VERSION_4_4 */
2591 
2592 #ifndef GL_VERSION_4_5
2593 #define GL_VERSION_4_5 1
2594 #define GL_CONTEXT_LOST                   0x0507
2595 #define GL_NEGATIVE_ONE_TO_ONE            0x935E
2596 #define GL_ZERO_TO_ONE                    0x935F
2597 #define GL_CLIP_ORIGIN                    0x935C
2598 #define GL_CLIP_DEPTH_MODE                0x935D
2599 #define GL_QUERY_WAIT_INVERTED            0x8E17
2600 #define GL_QUERY_NO_WAIT_INVERTED         0x8E18
2601 #define GL_QUERY_BY_REGION_WAIT_INVERTED  0x8E19
2602 #define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A
2603 #define GL_MAX_CULL_DISTANCES             0x82F9
2604 #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA
2605 #define GL_TEXTURE_TARGET                 0x1006
2606 #define GL_QUERY_TARGET                   0x82EA
2607 #define GL_GUILTY_CONTEXT_RESET           0x8253
2608 #define GL_INNOCENT_CONTEXT_RESET         0x8254
2609 #define GL_UNKNOWN_CONTEXT_RESET          0x8255
2610 #define GL_RESET_NOTIFICATION_STRATEGY    0x8256
2611 #define GL_LOSE_CONTEXT_ON_RESET          0x8252
2612 #define GL_NO_RESET_NOTIFICATION          0x8261
2613 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
2614 #define GL_CONTEXT_RELEASE_BEHAVIOR       0x82FB
2615 #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
2616 typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth);
2617 typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
2618 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer);
2619 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
2620 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param);
2621 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param);
2622 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
2623 typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers);
2624 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
2625 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
2626 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
2627 typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2628 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2629 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2630 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access);
2631 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
2632 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer);
2633 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
2634 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params);
2635 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params);
2636 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params);
2637 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
2638 typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
2639 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2640 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param);
2641 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
2642 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
2643 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf);
2644 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
2645 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src);
2646 typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
2647 typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2648 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
2649 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
2650 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2651 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
2652 typedef void (APIENTRYP PFNGLBLITNAMEDFRAMEBUFFERPROC) (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2653 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target);
2654 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param);
2655 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
2656 typedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
2657 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
2658 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2659 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
2660 typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures);
2661 typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer);
2662 typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2663 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
2664 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2665 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2666 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2667 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2668 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
2669 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
2670 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
2671 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
2672 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
2673 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
2674 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2675 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2676 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2677 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param);
2678 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param);
2679 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param);
2680 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params);
2681 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params);
2682 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param);
2683 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture);
2684 typedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture);
2685 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2686 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
2687 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params);
2688 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params);
2689 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params);
2690 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params);
2691 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params);
2692 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params);
2693 typedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
2694 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2695 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2696 typedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer);
2697 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2698 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2699 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
2700 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2701 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2702 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2703 typedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
2704 typedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param);
2705 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
2706 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
2707 typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers);
2708 typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
2709 typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids);
2710 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2711 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2712 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2713 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2714 typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers);
2715 typedef void (APIENTRYP PFNGLGETTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2716 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
2717 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void);
2718 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
2719 typedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2720 typedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2721 typedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
2722 typedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
2723 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
2724 typedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
2725 typedef void (APIENTRYP PFNGLGETNMAPDVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
2726 typedef void (APIENTRYP PFNGLGETNMAPFVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
2727 typedef void (APIENTRYP PFNGLGETNMAPIVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
2728 typedef void (APIENTRYP PFNGLGETNPIXELMAPFVPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
2729 typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVPROC) (GLenum map, GLsizei bufSize, GLuint *values);
2730 typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVPROC) (GLenum map, GLsizei bufSize, GLushort *values);
2731 typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEPROC) (GLsizei bufSize, GLubyte *pattern);
2732 typedef void (APIENTRYP PFNGLGETNCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
2733 typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
2734 typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
2735 typedef void (APIENTRYP PFNGLGETNHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2736 typedef void (APIENTRYP PFNGLGETNMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2737 typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void);
2738 #ifdef GL_GLEXT_PROTOTYPES
2739 GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth);
2740 GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids);
2741 GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer);
2742 GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
2743 GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param);
2744 GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param);
2745 GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
2746 GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers);
2747 GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
2748 GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
2749 GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
2750 GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2751 GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2752 GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2753 GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access);
2754 GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
2755 GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer);
2756 GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length);
2757 GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params);
2758 GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params);
2759 GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params);
2760 GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
2761 GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers);
2762 GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2763 GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param);
2764 GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
2765 GLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
2766 GLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf);
2767 GLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs);
2768 GLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src);
2769 GLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
2770 GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2771 GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
2772 GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
2773 GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2774 GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
2775 GLAPI void APIENTRY glBlitNamedFramebuffer (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2776 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target);
2777 GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param);
2778 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
2779 GLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers);
2780 GLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
2781 GLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2782 GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params);
2783 GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures);
2784 GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer);
2785 GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2786 GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
2787 GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2788 GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2789 GLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2790 GLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2791 GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
2792 GLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
2793 GLAPI void APIENTRY glTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
2794 GLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
2795 GLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
2796 GLAPI void APIENTRY glCompressedTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
2797 GLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2798 GLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2799 GLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2800 GLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param);
2801 GLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param);
2802 GLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param);
2803 GLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params);
2804 GLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params);
2805 GLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param);
2806 GLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture);
2807 GLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture);
2808 GLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2809 GLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
2810 GLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params);
2811 GLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params);
2812 GLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params);
2813 GLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params);
2814 GLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params);
2815 GLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params);
2816 GLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays);
2817 GLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index);
2818 GLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index);
2819 GLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer);
2820 GLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2821 GLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2822 GLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
2823 GLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2824 GLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2825 GLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2826 GLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor);
2827 GLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param);
2828 GLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
2829 GLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
2830 GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers);
2831 GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines);
2832 GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids);
2833 GLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2834 GLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2835 GLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2836 GLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2837 GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers);
2838 GLAPI void APIENTRY glGetTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2839 GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
2840 GLAPI GLenum APIENTRY glGetGraphicsResetStatus (void);
2841 GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
2842 GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2843 GLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2844 GLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
2845 GLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params);
2846 GLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
2847 GLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
2848 GLAPI void APIENTRY glGetnMapdv (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
2849 GLAPI void APIENTRY glGetnMapfv (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
2850 GLAPI void APIENTRY glGetnMapiv (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
2851 GLAPI void APIENTRY glGetnPixelMapfv (GLenum map, GLsizei bufSize, GLfloat *values);
2852 GLAPI void APIENTRY glGetnPixelMapuiv (GLenum map, GLsizei bufSize, GLuint *values);
2853 GLAPI void APIENTRY glGetnPixelMapusv (GLenum map, GLsizei bufSize, GLushort *values);
2854 GLAPI void APIENTRY glGetnPolygonStipple (GLsizei bufSize, GLubyte *pattern);
2855 GLAPI void APIENTRY glGetnColorTable (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
2856 GLAPI void APIENTRY glGetnConvolutionFilter (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
2857 GLAPI void APIENTRY glGetnSeparableFilter (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
2858 GLAPI void APIENTRY glGetnHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2859 GLAPI void APIENTRY glGetnMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2860 GLAPI void APIENTRY glTextureBarrier (void);
2861 #endif
2862 #endif /* GL_VERSION_4_5 */
2863 
2864 #ifndef GL_VERSION_4_6
2865 #define GL_VERSION_4_6 1
2866 #define GL_SHADER_BINARY_FORMAT_SPIR_V    0x9551
2867 #define GL_SPIR_V_BINARY                  0x9552
2868 #define GL_PARAMETER_BUFFER               0x80EE
2869 #define GL_PARAMETER_BUFFER_BINDING       0x80EF
2870 #define GL_CONTEXT_FLAG_NO_ERROR_BIT      0x00000008
2871 #define GL_VERTICES_SUBMITTED             0x82EE
2872 #define GL_PRIMITIVES_SUBMITTED           0x82EF
2873 #define GL_VERTEX_SHADER_INVOCATIONS      0x82F0
2874 #define GL_TESS_CONTROL_SHADER_PATCHES    0x82F1
2875 #define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2
2876 #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3
2877 #define GL_FRAGMENT_SHADER_INVOCATIONS    0x82F4
2878 #define GL_COMPUTE_SHADER_INVOCATIONS     0x82F5
2879 #define GL_CLIPPING_INPUT_PRIMITIVES      0x82F6
2880 #define GL_CLIPPING_OUTPUT_PRIMITIVES     0x82F7
2881 #define GL_POLYGON_OFFSET_CLAMP           0x8E1B
2882 #define GL_SPIR_V_EXTENSIONS              0x9553
2883 #define GL_NUM_SPIR_V_EXTENSIONS          0x9554
2884 #define GL_TEXTURE_MAX_ANISOTROPY         0x84FE
2885 #define GL_MAX_TEXTURE_MAX_ANISOTROPY     0x84FF
2886 #define GL_TRANSFORM_FEEDBACK_OVERFLOW    0x82EC
2887 #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED
2888 typedef void (APIENTRYP PFNGLSPECIALIZESHADERPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
2889 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
2890 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
2891 typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
2892 #ifdef GL_GLEXT_PROTOTYPES
2893 GLAPI void APIENTRY glSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
2894 GLAPI void APIENTRY glMultiDrawArraysIndirectCount (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
2895 GLAPI void APIENTRY glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
2896 GLAPI void APIENTRY glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp);
2897 #endif
2898 #endif /* GL_VERSION_4_6 */
2899 
2900 #ifndef GL_ARB_ES2_compatibility
2901 #define GL_ARB_ES2_compatibility 1
2902 #endif /* GL_ARB_ES2_compatibility */
2903 
2904 #ifndef GL_ARB_ES3_1_compatibility
2905 #define GL_ARB_ES3_1_compatibility 1
2906 #endif /* GL_ARB_ES3_1_compatibility */
2907 
2908 #ifndef GL_ARB_ES3_2_compatibility
2909 #define GL_ARB_ES3_2_compatibility 1
2910 #define GL_PRIMITIVE_BOUNDING_BOX_ARB     0x92BE
2911 #define GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB 0x9381
2912 #define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB 0x9382
2913 typedef void (APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXARBPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
2914 #ifdef GL_GLEXT_PROTOTYPES
2915 GLAPI void APIENTRY glPrimitiveBoundingBoxARB (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
2916 #endif
2917 #endif /* GL_ARB_ES3_2_compatibility */
2918 
2919 #ifndef GL_ARB_ES3_compatibility
2920 #define GL_ARB_ES3_compatibility 1
2921 #endif /* GL_ARB_ES3_compatibility */
2922 
2923 #ifndef GL_ARB_arrays_of_arrays
2924 #define GL_ARB_arrays_of_arrays 1
2925 #endif /* GL_ARB_arrays_of_arrays */
2926 
2927 #ifndef GL_ARB_base_instance
2928 #define GL_ARB_base_instance 1
2929 #endif /* GL_ARB_base_instance */
2930 
2931 #ifndef GL_ARB_bindless_texture
2932 #define GL_ARB_bindless_texture 1
2933 typedef khronos_uint64_t GLuint64EXT;
2934 #define GL_UNSIGNED_INT64_ARB             0x140F
2935 typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
2936 typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
2937 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
2938 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
2939 typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2940 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
2941 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
2942 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
2943 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
2944 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
2945 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2946 typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
2947 typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
2948 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
2949 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
2950 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
2951 #ifdef GL_GLEXT_PROTOTYPES
2952 GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
2953 GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
2954 GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
2955 GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
2956 GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2957 GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
2958 GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
2959 GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
2960 GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
2961 GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
2962 GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2963 GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
2964 GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
2965 GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
2966 GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
2967 GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
2968 #endif
2969 #endif /* GL_ARB_bindless_texture */
2970 
2971 #ifndef GL_ARB_blend_func_extended
2972 #define GL_ARB_blend_func_extended 1
2973 #endif /* GL_ARB_blend_func_extended */
2974 
2975 #ifndef GL_ARB_buffer_storage
2976 #define GL_ARB_buffer_storage 1
2977 #endif /* GL_ARB_buffer_storage */
2978 
2979 #ifndef GL_ARB_cl_event
2980 #define GL_ARB_cl_event 1
2981 struct _cl_context;
2982 struct _cl_event;
2983 #define GL_SYNC_CL_EVENT_ARB              0x8240
2984 #define GL_SYNC_CL_EVENT_COMPLETE_ARB     0x8241
2985 typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
2986 #ifdef GL_GLEXT_PROTOTYPES
2987 GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
2988 #endif
2989 #endif /* GL_ARB_cl_event */
2990 
2991 #ifndef GL_ARB_clear_buffer_object
2992 #define GL_ARB_clear_buffer_object 1
2993 #endif /* GL_ARB_clear_buffer_object */
2994 
2995 #ifndef GL_ARB_clear_texture
2996 #define GL_ARB_clear_texture 1
2997 #endif /* GL_ARB_clear_texture */
2998 
2999 #ifndef GL_ARB_clip_control
3000 #define GL_ARB_clip_control 1
3001 #endif /* GL_ARB_clip_control */
3002 
3003 #ifndef GL_ARB_color_buffer_float
3004 #define GL_ARB_color_buffer_float 1
3005 #define GL_RGBA_FLOAT_MODE_ARB            0x8820
3006 #define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
3007 #define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
3008 #define GL_CLAMP_READ_COLOR_ARB           0x891C
3009 #define GL_FIXED_ONLY_ARB                 0x891D
3010 typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
3011 #ifdef GL_GLEXT_PROTOTYPES
3012 GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);


























3013 #endif
3014 #endif /* GL_ARB_color_buffer_float */
3015 
3016 #ifndef GL_ARB_compatibility
3017 #define GL_ARB_compatibility 1
3018 #endif /* GL_ARB_compatibility */
3019 
3020 #ifndef GL_ARB_compressed_texture_pixel_storage
3021 #define GL_ARB_compressed_texture_pixel_storage 1
3022 #endif /* GL_ARB_compressed_texture_pixel_storage */
3023 
3024 #ifndef GL_ARB_compute_shader
3025 #define GL_ARB_compute_shader 1
3026 #endif /* GL_ARB_compute_shader */
3027 
3028 #ifndef GL_ARB_compute_variable_group_size
3029 #define GL_ARB_compute_variable_group_size 1
3030 #define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
3031 #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
3032 #define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
3033 #define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
3034 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);
3035 #ifdef GL_GLEXT_PROTOTYPES
3036 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);
3037 #endif
3038 #endif /* GL_ARB_compute_variable_group_size */
3039 
3040 #ifndef GL_ARB_conditional_render_inverted
3041 #define GL_ARB_conditional_render_inverted 1
3042 #endif /* GL_ARB_conditional_render_inverted */
3043 
3044 #ifndef GL_ARB_conservative_depth
3045 #define GL_ARB_conservative_depth 1
3046 #endif /* GL_ARB_conservative_depth */
3047 
3048 #ifndef GL_ARB_copy_buffer
3049 #define GL_ARB_copy_buffer 1
3050 #endif /* GL_ARB_copy_buffer */
3051 
3052 #ifndef GL_ARB_copy_image
3053 #define GL_ARB_copy_image 1
3054 #endif /* GL_ARB_copy_image */
3055 
3056 #ifndef GL_ARB_cull_distance
3057 #define GL_ARB_cull_distance 1
3058 #endif /* GL_ARB_cull_distance */
3059 
3060 #ifndef GL_ARB_debug_output
3061 #define GL_ARB_debug_output 1
3062 typedef void (APIENTRY  *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
3063 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB   0x8242
3064 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
3065 #define GL_DEBUG_CALLBACK_FUNCTION_ARB    0x8244
3066 #define GL_DEBUG_CALLBACK_USER_PARAM_ARB  0x8245
3067 #define GL_DEBUG_SOURCE_API_ARB           0x8246
3068 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
3069 #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
3070 #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB   0x8249
3071 #define GL_DEBUG_SOURCE_APPLICATION_ARB   0x824A
3072 #define GL_DEBUG_SOURCE_OTHER_ARB         0x824B
3073 #define GL_DEBUG_TYPE_ERROR_ARB           0x824C
3074 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
3075 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
3076 #define GL_DEBUG_TYPE_PORTABILITY_ARB     0x824F
3077 #define GL_DEBUG_TYPE_PERFORMANCE_ARB     0x8250
3078 #define GL_DEBUG_TYPE_OTHER_ARB           0x8251
3079 #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB   0x9143
3080 #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB  0x9144
3081 #define GL_DEBUG_LOGGED_MESSAGES_ARB      0x9145
3082 #define GL_DEBUG_SEVERITY_HIGH_ARB        0x9146
3083 #define GL_DEBUG_SEVERITY_MEDIUM_ARB      0x9147
3084 #define GL_DEBUG_SEVERITY_LOW_ARB         0x9148
3085 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
3086 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
3087 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
3088 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
3089 #ifdef GL_GLEXT_PROTOTYPES
3090 GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
3091 GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
3092 GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
3093 GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
3094 #endif
3095 #endif /* GL_ARB_debug_output */
3096 
3097 #ifndef GL_ARB_depth_buffer_float
3098 #define GL_ARB_depth_buffer_float 1
3099 #endif /* GL_ARB_depth_buffer_float */
3100 
3101 #ifndef GL_ARB_depth_clamp
3102 #define GL_ARB_depth_clamp 1
3103 #endif /* GL_ARB_depth_clamp */
3104 
3105 #ifndef GL_ARB_depth_texture
3106 #define GL_ARB_depth_texture 1
3107 #define GL_DEPTH_COMPONENT16_ARB          0x81A5
3108 #define GL_DEPTH_COMPONENT24_ARB          0x81A6
3109 #define GL_DEPTH_COMPONENT32_ARB          0x81A7
3110 #define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
3111 #define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
3112 #endif /* GL_ARB_depth_texture */



3113 
3114 #ifndef GL_ARB_derivative_control
3115 #define GL_ARB_derivative_control 1
3116 #endif /* GL_ARB_derivative_control */
3117 
3118 #ifndef GL_ARB_direct_state_access
3119 #define GL_ARB_direct_state_access 1
3120 #endif /* GL_ARB_direct_state_access */
3121 
3122 #ifndef GL_ARB_draw_buffers
3123 #define GL_ARB_draw_buffers 1
3124 #define GL_MAX_DRAW_BUFFERS_ARB           0x8824
3125 #define GL_DRAW_BUFFER0_ARB               0x8825
3126 #define GL_DRAW_BUFFER1_ARB               0x8826
3127 #define GL_DRAW_BUFFER2_ARB               0x8827
3128 #define GL_DRAW_BUFFER3_ARB               0x8828
3129 #define GL_DRAW_BUFFER4_ARB               0x8829
3130 #define GL_DRAW_BUFFER5_ARB               0x882A
3131 #define GL_DRAW_BUFFER6_ARB               0x882B
3132 #define GL_DRAW_BUFFER7_ARB               0x882C
3133 #define GL_DRAW_BUFFER8_ARB               0x882D
3134 #define GL_DRAW_BUFFER9_ARB               0x882E
3135 #define GL_DRAW_BUFFER10_ARB              0x882F
3136 #define GL_DRAW_BUFFER11_ARB              0x8830
3137 #define GL_DRAW_BUFFER12_ARB              0x8831
3138 #define GL_DRAW_BUFFER13_ARB              0x8832
3139 #define GL_DRAW_BUFFER14_ARB              0x8833
3140 #define GL_DRAW_BUFFER15_ARB              0x8834
3141 typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
3142 #ifdef GL_GLEXT_PROTOTYPES
3143 GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
3144 #endif
3145 #endif /* GL_ARB_draw_buffers */
3146 
3147 #ifndef GL_ARB_draw_buffers_blend
3148 #define GL_ARB_draw_buffers_blend 1
3149 typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
3150 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
3151 typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
3152 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
3153 #ifdef GL_GLEXT_PROTOTYPES
3154 GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
3155 GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
3156 GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
3157 GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);

3158 #endif
3159 #endif /* GL_ARB_draw_buffers_blend */
3160 
3161 #ifndef GL_ARB_draw_elements_base_vertex
3162 #define GL_ARB_draw_elements_base_vertex 1
3163 #endif /* GL_ARB_draw_elements_base_vertex */
3164 
3165 #ifndef GL_ARB_draw_indirect
3166 #define GL_ARB_draw_indirect 1
3167 #endif /* GL_ARB_draw_indirect */



3168 
3169 #ifndef GL_ARB_draw_instanced
3170 #define GL_ARB_draw_instanced 1
3171 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
3172 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
3173 #ifdef GL_GLEXT_PROTOTYPES
3174 GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
3175 GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);


















































































3176 #endif
3177 #endif /* GL_ARB_draw_instanced */
3178 
3179 #ifndef GL_ARB_enhanced_layouts
3180 #define GL_ARB_enhanced_layouts 1
3181 #endif /* GL_ARB_enhanced_layouts */
3182 
3183 #ifndef GL_ARB_explicit_attrib_location
3184 #define GL_ARB_explicit_attrib_location 1
3185 #endif /* GL_ARB_explicit_attrib_location */




3186 
3187 #ifndef GL_ARB_explicit_uniform_location
3188 #define GL_ARB_explicit_uniform_location 1
3189 #endif /* GL_ARB_explicit_uniform_location */


3190 
3191 #ifndef GL_ARB_fragment_coord_conventions
3192 #define GL_ARB_fragment_coord_conventions 1
3193 #endif /* GL_ARB_fragment_coord_conventions */
3194 
3195 #ifndef GL_ARB_fragment_layer_viewport
3196 #define GL_ARB_fragment_layer_viewport 1
3197 #endif /* GL_ARB_fragment_layer_viewport */
3198 
3199 #ifndef GL_ARB_fragment_program
3200 #define GL_ARB_fragment_program 1
3201 #define GL_FRAGMENT_PROGRAM_ARB           0x8804



















3202 #define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875
3203 #define GL_PROGRAM_LENGTH_ARB             0x8627
3204 #define GL_PROGRAM_FORMAT_ARB             0x8876
3205 #define GL_PROGRAM_BINDING_ARB            0x8677
3206 #define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
3207 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
3208 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
3209 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
3210 #define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
3211 #define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
3212 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
3213 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
3214 #define GL_PROGRAM_PARAMETERS_ARB         0x88A8
3215 #define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
3216 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
3217 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
3218 #define GL_PROGRAM_ATTRIBS_ARB            0x88AC
3219 #define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
3220 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
3221 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF




3222 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
3223 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
3224 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
3225 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
3226 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
3227 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
3228 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
3229 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
3230 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
3231 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
3232 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
3233 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
3234 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
3235 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
3236 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
3237 #define GL_PROGRAM_STRING_ARB             0x8628
3238 #define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
3239 #define GL_CURRENT_MATRIX_ARB             0x8641
3240 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7
3241 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
3242 #define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
3243 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
3244 #define GL_MAX_TEXTURE_COORDS_ARB         0x8871
3245 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
3246 #define GL_PROGRAM_ERROR_STRING_ARB       0x8874
3247 #define GL_MATRIX0_ARB                    0x88C0
3248 #define GL_MATRIX1_ARB                    0x88C1
3249 #define GL_MATRIX2_ARB                    0x88C2
3250 #define GL_MATRIX3_ARB                    0x88C3
3251 #define GL_MATRIX4_ARB                    0x88C4
3252 #define GL_MATRIX5_ARB                    0x88C5
3253 #define GL_MATRIX6_ARB                    0x88C6
3254 #define GL_MATRIX7_ARB                    0x88C7
3255 #define GL_MATRIX8_ARB                    0x88C8
3256 #define GL_MATRIX9_ARB                    0x88C9
3257 #define GL_MATRIX10_ARB                   0x88CA
3258 #define GL_MATRIX11_ARB                   0x88CB
3259 #define GL_MATRIX12_ARB                   0x88CC
3260 #define GL_MATRIX13_ARB                   0x88CD
3261 #define GL_MATRIX14_ARB                   0x88CE
3262 #define GL_MATRIX15_ARB                   0x88CF
3263 #define GL_MATRIX16_ARB                   0x88D0
3264 #define GL_MATRIX17_ARB                   0x88D1
3265 #define GL_MATRIX18_ARB                   0x88D2
3266 #define GL_MATRIX19_ARB                   0x88D3
3267 #define GL_MATRIX20_ARB                   0x88D4
3268 #define GL_MATRIX21_ARB                   0x88D5
3269 #define GL_MATRIX22_ARB                   0x88D6
3270 #define GL_MATRIX23_ARB                   0x88D7
3271 #define GL_MATRIX24_ARB                   0x88D8
3272 #define GL_MATRIX25_ARB                   0x88D9
3273 #define GL_MATRIX26_ARB                   0x88DA
3274 #define GL_MATRIX27_ARB                   0x88DB
3275 #define GL_MATRIX28_ARB                   0x88DC
3276 #define GL_MATRIX29_ARB                   0x88DD
3277 #define GL_MATRIX30_ARB                   0x88DE
3278 #define GL_MATRIX31_ARB                   0x88DF
3279 typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string);
3280 typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
3281 typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
3282 typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
3283 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3284 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
3285 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3286 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
3287 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3288 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
3289 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3290 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
3291 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
3292 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
3293 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
3294 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
3295 typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3296 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string);
3297 typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
3298 #ifdef GL_GLEXT_PROTOTYPES
3299 GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string);
3300 GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
3301 GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
3302 GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
3303 GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3304 GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
3305 GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3306 GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
3307 GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3308 GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
3309 GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3310 GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
3311 GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
3312 GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
3313 GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
3314 GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
3315 GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
3316 GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string);
3317 GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
3318 #endif
3319 #endif /* GL_ARB_fragment_program */
3320 
3321 #ifndef GL_ARB_fragment_program_shadow
3322 #define GL_ARB_fragment_program_shadow 1
3323 #endif /* GL_ARB_fragment_program_shadow */














3324 
3325 #ifndef GL_ARB_fragment_shader
3326 #define GL_ARB_fragment_shader 1
3327 #define GL_FRAGMENT_SHADER_ARB            0x8B30
3328 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
3329 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
3330 #endif /* GL_ARB_fragment_shader */



























3331 
3332 #ifndef GL_ARB_fragment_shader_interlock
3333 #define GL_ARB_fragment_shader_interlock 1
3334 #endif /* GL_ARB_fragment_shader_interlock */
3335 
3336 #ifndef GL_ARB_framebuffer_no_attachments
3337 #define GL_ARB_framebuffer_no_attachments 1
3338 #endif /* GL_ARB_framebuffer_no_attachments */
3339 
3340 #ifndef GL_ARB_framebuffer_object
3341 #define GL_ARB_framebuffer_object 1
3342 #endif /* GL_ARB_framebuffer_object */
3343 
3344 #ifndef GL_ARB_framebuffer_sRGB
3345 #define GL_ARB_framebuffer_sRGB 1
3346 #endif /* GL_ARB_framebuffer_sRGB */
3347 
3348 #ifndef GL_ARB_geometry_shader4
3349 #define GL_ARB_geometry_shader4 1
3350 #define GL_LINES_ADJACENCY_ARB            0x000A
3351 #define GL_LINE_STRIP_ADJACENCY_ARB       0x000B
3352 #define GL_TRIANGLES_ADJACENCY_ARB        0x000C
3353 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB   0x000D
3354 #define GL_PROGRAM_POINT_SIZE_ARB         0x8642
3355 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
3356 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
3357 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
3358 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
3359 #define GL_GEOMETRY_SHADER_ARB            0x8DD9
3360 #define GL_GEOMETRY_VERTICES_OUT_ARB      0x8DDA
3361 #define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
3362 #define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
3363 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
3364 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
3365 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
3366 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
3367 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
3368 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
3369 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
3370 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
3371 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
3372 #ifdef GL_GLEXT_PROTOTYPES
3373 GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
3374 GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
3375 GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
3376 GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
3377 #endif
3378 #endif /* GL_ARB_geometry_shader4 */
3379 
3380 #ifndef GL_ARB_get_program_binary
3381 #define GL_ARB_get_program_binary 1
3382 #endif /* GL_ARB_get_program_binary */
3383 
3384 #ifndef GL_ARB_get_texture_sub_image
3385 #define GL_ARB_get_texture_sub_image 1
3386 #endif /* GL_ARB_get_texture_sub_image */
3387 
3388 #ifndef GL_ARB_gl_spirv
3389 #define GL_ARB_gl_spirv 1
3390 #define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551
3391 #define GL_SPIR_V_BINARY_ARB              0x9552
3392 typedef void (APIENTRYP PFNGLSPECIALIZESHADERARBPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
3393 #ifdef GL_GLEXT_PROTOTYPES
3394 GLAPI void APIENTRY glSpecializeShaderARB (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
3395 #endif
3396 #endif /* GL_ARB_gl_spirv */
3397 
3398 #ifndef GL_ARB_gpu_shader5
3399 #define GL_ARB_gpu_shader5 1
3400 #endif /* GL_ARB_gpu_shader5 */
3401 
3402 #ifndef GL_ARB_gpu_shader_fp64
3403 #define GL_ARB_gpu_shader_fp64 1
3404 #endif /* GL_ARB_gpu_shader_fp64 */
3405 
3406 #ifndef GL_ARB_gpu_shader_int64
3407 #define GL_ARB_gpu_shader_int64 1
3408 #define GL_INT64_ARB                      0x140E
3409 #define GL_INT64_VEC2_ARB                 0x8FE9
3410 #define GL_INT64_VEC3_ARB                 0x8FEA
3411 #define GL_INT64_VEC4_ARB                 0x8FEB
3412 #define GL_UNSIGNED_INT64_VEC2_ARB        0x8FF5
3413 #define GL_UNSIGNED_INT64_VEC3_ARB        0x8FF6
3414 #define GL_UNSIGNED_INT64_VEC4_ARB        0x8FF7
3415 typedef void (APIENTRYP PFNGLUNIFORM1I64ARBPROC) (GLint location, GLint64 x);
3416 typedef void (APIENTRYP PFNGLUNIFORM2I64ARBPROC) (GLint location, GLint64 x, GLint64 y);
3417 typedef void (APIENTRYP PFNGLUNIFORM3I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z);
3418 typedef void (APIENTRYP PFNGLUNIFORM4I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3419 typedef void (APIENTRYP PFNGLUNIFORM1I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3420 typedef void (APIENTRYP PFNGLUNIFORM2I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3421 typedef void (APIENTRYP PFNGLUNIFORM3I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3422 typedef void (APIENTRYP PFNGLUNIFORM4I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3423 typedef void (APIENTRYP PFNGLUNIFORM1UI64ARBPROC) (GLint location, GLuint64 x);
3424 typedef void (APIENTRYP PFNGLUNIFORM2UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y);
3425 typedef void (APIENTRYP PFNGLUNIFORM3UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3426 typedef void (APIENTRYP PFNGLUNIFORM4UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3427 typedef void (APIENTRYP PFNGLUNIFORM1UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3428 typedef void (APIENTRYP PFNGLUNIFORM2UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3429 typedef void (APIENTRYP PFNGLUNIFORM3UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3430 typedef void (APIENTRYP PFNGLUNIFORM4UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3431 typedef void (APIENTRYP PFNGLGETUNIFORMI64VARBPROC) (GLuint program, GLint location, GLint64 *params);
3432 typedef void (APIENTRYP PFNGLGETUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLuint64 *params);
3433 typedef void (APIENTRYP PFNGLGETNUNIFORMI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
3434 typedef void (APIENTRYP PFNGLGETNUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
3435 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64ARBPROC) (GLuint program, GLint location, GLint64 x);
3436 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y);
3437 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
3438 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3439 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3440 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3441 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3442 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3443 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64ARBPROC) (GLuint program, GLint location, GLuint64 x);
3444 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y);
3445 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3446 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3447 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3448 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3449 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3450 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3451 #ifdef GL_GLEXT_PROTOTYPES
3452 GLAPI void APIENTRY glUniform1i64ARB (GLint location, GLint64 x);
3453 GLAPI void APIENTRY glUniform2i64ARB (GLint location, GLint64 x, GLint64 y);
3454 GLAPI void APIENTRY glUniform3i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z);
3455 GLAPI void APIENTRY glUniform4i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3456 GLAPI void APIENTRY glUniform1i64vARB (GLint location, GLsizei count, const GLint64 *value);
3457 GLAPI void APIENTRY glUniform2i64vARB (GLint location, GLsizei count, const GLint64 *value);
3458 GLAPI void APIENTRY glUniform3i64vARB (GLint location, GLsizei count, const GLint64 *value);
3459 GLAPI void APIENTRY glUniform4i64vARB (GLint location, GLsizei count, const GLint64 *value);
3460 GLAPI void APIENTRY glUniform1ui64ARB (GLint location, GLuint64 x);
3461 GLAPI void APIENTRY glUniform2ui64ARB (GLint location, GLuint64 x, GLuint64 y);
3462 GLAPI void APIENTRY glUniform3ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3463 GLAPI void APIENTRY glUniform4ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3464 GLAPI void APIENTRY glUniform1ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3465 GLAPI void APIENTRY glUniform2ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3466 GLAPI void APIENTRY glUniform3ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3467 GLAPI void APIENTRY glUniform4ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3468 GLAPI void APIENTRY glGetUniformi64vARB (GLuint program, GLint location, GLint64 *params);
3469 GLAPI void APIENTRY glGetUniformui64vARB (GLuint program, GLint location, GLuint64 *params);
3470 GLAPI void APIENTRY glGetnUniformi64vARB (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
3471 GLAPI void APIENTRY glGetnUniformui64vARB (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
3472 GLAPI void APIENTRY glProgramUniform1i64ARB (GLuint program, GLint location, GLint64 x);
3473 GLAPI void APIENTRY glProgramUniform2i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y);
3474 GLAPI void APIENTRY glProgramUniform3i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
3475 GLAPI void APIENTRY glProgramUniform4i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3476 GLAPI void APIENTRY glProgramUniform1i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3477 GLAPI void APIENTRY glProgramUniform2i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3478 GLAPI void APIENTRY glProgramUniform3i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3479 GLAPI void APIENTRY glProgramUniform4i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3480 GLAPI void APIENTRY glProgramUniform1ui64ARB (GLuint program, GLint location, GLuint64 x);
3481 GLAPI void APIENTRY glProgramUniform2ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y);
3482 GLAPI void APIENTRY glProgramUniform3ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3483 GLAPI void APIENTRY glProgramUniform4ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3484 GLAPI void APIENTRY glProgramUniform1ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3485 GLAPI void APIENTRY glProgramUniform2ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3486 GLAPI void APIENTRY glProgramUniform3ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3487 GLAPI void APIENTRY glProgramUniform4ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3488 #endif
3489 #endif /* GL_ARB_gpu_shader_int64 */
3490 
3491 #ifndef GL_ARB_half_float_pixel
3492 #define GL_ARB_half_float_pixel 1
3493 typedef khronos_uint16_t GLhalfARB;
3494 #define GL_HALF_FLOAT_ARB                 0x140B
3495 #endif /* GL_ARB_half_float_pixel */































3496 
3497 #ifndef GL_ARB_half_float_vertex
3498 #define GL_ARB_half_float_vertex 1
3499 #endif /* GL_ARB_half_float_vertex */






3500 
3501 #ifndef GL_ARB_imaging
3502 #define GL_ARB_imaging 1
3503 #define GL_CONVOLUTION_1D                 0x8010
3504 #define GL_CONVOLUTION_2D                 0x8011
3505 #define GL_SEPARABLE_2D                   0x8012
3506 #define GL_CONVOLUTION_BORDER_MODE        0x8013
3507 #define GL_CONVOLUTION_FILTER_SCALE       0x8014
3508 #define GL_CONVOLUTION_FILTER_BIAS        0x8015
3509 #define GL_REDUCE                         0x8016
3510 #define GL_CONVOLUTION_FORMAT             0x8017
3511 #define GL_CONVOLUTION_WIDTH              0x8018
3512 #define GL_CONVOLUTION_HEIGHT             0x8019
3513 #define GL_MAX_CONVOLUTION_WIDTH          0x801A
3514 #define GL_MAX_CONVOLUTION_HEIGHT         0x801B
3515 #define GL_POST_CONVOLUTION_RED_SCALE     0x801C
3516 #define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
3517 #define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
3518 #define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
3519 #define GL_POST_CONVOLUTION_RED_BIAS      0x8020
3520 #define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
3521 #define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
3522 #define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
3523 #define GL_HISTOGRAM                      0x8024
3524 #define GL_PROXY_HISTOGRAM                0x8025
3525 #define GL_HISTOGRAM_WIDTH                0x8026
3526 #define GL_HISTOGRAM_FORMAT               0x8027
3527 #define GL_HISTOGRAM_RED_SIZE             0x8028
3528 #define GL_HISTOGRAM_GREEN_SIZE           0x8029
3529 #define GL_HISTOGRAM_BLUE_SIZE            0x802A
3530 #define GL_HISTOGRAM_ALPHA_SIZE           0x802B
3531 #define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
3532 #define GL_HISTOGRAM_SINK                 0x802D
3533 #define GL_MINMAX                         0x802E
3534 #define GL_MINMAX_FORMAT                  0x802F
3535 #define GL_MINMAX_SINK                    0x8030
3536 #define GL_TABLE_TOO_LARGE                0x8031
3537 #define GL_COLOR_MATRIX                   0x80B1
3538 #define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
3539 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
3540 #define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
3541 #define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
3542 #define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
3543 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
3544 #define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
3545 #define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
3546 #define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
3547 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
3548 #define GL_COLOR_TABLE                    0x80D0
3549 #define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
3550 #define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
3551 #define GL_PROXY_COLOR_TABLE              0x80D3
3552 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
3553 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
3554 #define GL_COLOR_TABLE_SCALE              0x80D6
3555 #define GL_COLOR_TABLE_BIAS               0x80D7
3556 #define GL_COLOR_TABLE_FORMAT             0x80D8
3557 #define GL_COLOR_TABLE_WIDTH              0x80D9
3558 #define GL_COLOR_TABLE_RED_SIZE           0x80DA
3559 #define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
3560 #define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
3561 #define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
3562 #define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
3563 #define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
3564 #define GL_CONSTANT_BORDER                0x8151
3565 #define GL_REPLICATE_BORDER               0x8153
3566 #define GL_CONVOLUTION_BORDER_COLOR       0x8154
3567 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
3568 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3569 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3570 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3571 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table);
3572 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3573 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3574 typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
3575 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3576 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
3577 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
3578 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
3579 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3580 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
3581 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3582 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3583 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3584 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image);
3585 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3586 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3587 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
3588 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
3589 typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3590 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3591 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3592 typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3593 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3594 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3595 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3596 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
3597 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
3598 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
3599 #ifdef GL_GLEXT_PROTOTYPES
3600 GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
3601 GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
3602 GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
3603 GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3604 GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table);
3605 GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
3606 GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
3607 GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
3608 GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3609 GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
3610 GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
3611 GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
3612 GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
3613 GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
3614 GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
3615 GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3616 GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3617 GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image);
3618 GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
3619 GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
3620 GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
3621 GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
3622 GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3623 GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
3624 GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
3625 GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3626 GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
3627 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
3628 GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3629 GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
3630 GLAPI void APIENTRY glResetHistogram (GLenum target);
3631 GLAPI void APIENTRY glResetMinmax (GLenum target);
3632 #endif
3633 #endif /* GL_ARB_imaging */
3634 
3635 #ifndef GL_ARB_indirect_parameters
3636 #define GL_ARB_indirect_parameters 1
3637 #define GL_PARAMETER_BUFFER_ARB           0x80EE
3638 #define GL_PARAMETER_BUFFER_BINDING_ARB   0x80EF
3639 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3640 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3641 #ifdef GL_GLEXT_PROTOTYPES
3642 GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3643 GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3644 #endif
3645 #endif /* GL_ARB_indirect_parameters */
3646 
3647 #ifndef GL_ARB_instanced_arrays
3648 #define GL_ARB_instanced_arrays 1
3649 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
3650 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
3651 #ifdef GL_GLEXT_PROTOTYPES
3652 GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
3653 #endif
3654 #endif /* GL_ARB_instanced_arrays */
3655 
3656 #ifndef GL_ARB_internalformat_query
3657 #define GL_ARB_internalformat_query 1
3658 #endif /* GL_ARB_internalformat_query */
3659 
3660 #ifndef GL_ARB_internalformat_query2
3661 #define GL_ARB_internalformat_query2 1
3662 #define GL_SRGB_DECODE_ARB                0x8299
3663 #define GL_VIEW_CLASS_EAC_R11             0x9383
3664 #define GL_VIEW_CLASS_EAC_RG11            0x9384
3665 #define GL_VIEW_CLASS_ETC2_RGB            0x9385
3666 #define GL_VIEW_CLASS_ETC2_RGBA           0x9386
3667 #define GL_VIEW_CLASS_ETC2_EAC_RGBA       0x9387
3668 #define GL_VIEW_CLASS_ASTC_4x4_RGBA       0x9388
3669 #define GL_VIEW_CLASS_ASTC_5x4_RGBA       0x9389
3670 #define GL_VIEW_CLASS_ASTC_5x5_RGBA       0x938A
3671 #define GL_VIEW_CLASS_ASTC_6x5_RGBA       0x938B
3672 #define GL_VIEW_CLASS_ASTC_6x6_RGBA       0x938C
3673 #define GL_VIEW_CLASS_ASTC_8x5_RGBA       0x938D
3674 #define GL_VIEW_CLASS_ASTC_8x6_RGBA       0x938E
3675 #define GL_VIEW_CLASS_ASTC_8x8_RGBA       0x938F
3676 #define GL_VIEW_CLASS_ASTC_10x5_RGBA      0x9390
3677 #define GL_VIEW_CLASS_ASTC_10x6_RGBA      0x9391
3678 #define GL_VIEW_CLASS_ASTC_10x8_RGBA      0x9392
3679 #define GL_VIEW_CLASS_ASTC_10x10_RGBA     0x9393
3680 #define GL_VIEW_CLASS_ASTC_12x10_RGBA     0x9394
3681 #define GL_VIEW_CLASS_ASTC_12x12_RGBA     0x9395
3682 #endif /* GL_ARB_internalformat_query2 */
3683 
3684 #ifndef GL_ARB_invalidate_subdata
3685 #define GL_ARB_invalidate_subdata 1
3686 #endif /* GL_ARB_invalidate_subdata */
3687 
3688 #ifndef GL_ARB_map_buffer_alignment
3689 #define GL_ARB_map_buffer_alignment 1
3690 #endif /* GL_ARB_map_buffer_alignment */
3691 
3692 #ifndef GL_ARB_map_buffer_range
3693 #define GL_ARB_map_buffer_range 1
3694 #endif /* GL_ARB_map_buffer_range */
3695 
3696 #ifndef GL_ARB_matrix_palette
3697 #define GL_ARB_matrix_palette 1
3698 #define GL_MATRIX_PALETTE_ARB             0x8840
3699 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
3700 #define GL_MAX_PALETTE_MATRICES_ARB       0x8842
3701 #define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
3702 #define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
3703 #define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
3704 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
3705 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
3706 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
3707 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
3708 typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
3709 typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
3710 typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
3711 typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
3712 typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
3713 #ifdef GL_GLEXT_PROTOTYPES
3714 GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
3715 GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
3716 GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
3717 GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
3718 GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
3719 #endif
3720 #endif /* GL_ARB_matrix_palette */
3721 
3722 #ifndef GL_ARB_multi_bind
3723 #define GL_ARB_multi_bind 1
3724 #endif /* GL_ARB_multi_bind */
3725 
3726 #ifndef GL_ARB_multi_draw_indirect
3727 #define GL_ARB_multi_draw_indirect 1
3728 #endif /* GL_ARB_multi_draw_indirect */
3729 
3730 #ifndef GL_ARB_multisample
3731 #define GL_ARB_multisample 1
3732 #define GL_MULTISAMPLE_ARB                0x809D
3733 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
3734 #define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
3735 #define GL_SAMPLE_COVERAGE_ARB            0x80A0
3736 #define GL_SAMPLE_BUFFERS_ARB             0x80A8
3737 #define GL_SAMPLES_ARB                    0x80A9
3738 #define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
3739 #define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
3740 #define GL_MULTISAMPLE_BIT_ARB            0x20000000
3741 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
3742 #ifdef GL_GLEXT_PROTOTYPES
3743 GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
3744 #endif
3745 #endif /* GL_ARB_multisample */
3746 
3747 #ifndef GL_ARB_multitexture
3748 #define GL_ARB_multitexture 1
3749 #define GL_TEXTURE0_ARB                   0x84C0
3750 #define GL_TEXTURE1_ARB                   0x84C1
3751 #define GL_TEXTURE2_ARB                   0x84C2
3752 #define GL_TEXTURE3_ARB                   0x84C3
3753 #define GL_TEXTURE4_ARB                   0x84C4
3754 #define GL_TEXTURE5_ARB                   0x84C5
3755 #define GL_TEXTURE6_ARB                   0x84C6
3756 #define GL_TEXTURE7_ARB                   0x84C7
3757 #define GL_TEXTURE8_ARB                   0x84C8
3758 #define GL_TEXTURE9_ARB                   0x84C9
3759 #define GL_TEXTURE10_ARB                  0x84CA
3760 #define GL_TEXTURE11_ARB                  0x84CB
3761 #define GL_TEXTURE12_ARB                  0x84CC
3762 #define GL_TEXTURE13_ARB                  0x84CD
3763 #define GL_TEXTURE14_ARB                  0x84CE
3764 #define GL_TEXTURE15_ARB                  0x84CF
3765 #define GL_TEXTURE16_ARB                  0x84D0
3766 #define GL_TEXTURE17_ARB                  0x84D1
3767 #define GL_TEXTURE18_ARB                  0x84D2
3768 #define GL_TEXTURE19_ARB                  0x84D3
3769 #define GL_TEXTURE20_ARB                  0x84D4
3770 #define GL_TEXTURE21_ARB                  0x84D5
3771 #define GL_TEXTURE22_ARB                  0x84D6
3772 #define GL_TEXTURE23_ARB                  0x84D7
3773 #define GL_TEXTURE24_ARB                  0x84D8
3774 #define GL_TEXTURE25_ARB                  0x84D9
3775 #define GL_TEXTURE26_ARB                  0x84DA
3776 #define GL_TEXTURE27_ARB                  0x84DB
3777 #define GL_TEXTURE28_ARB                  0x84DC
3778 #define GL_TEXTURE29_ARB                  0x84DD
3779 #define GL_TEXTURE30_ARB                  0x84DE
3780 #define GL_TEXTURE31_ARB                  0x84DF
3781 #define GL_ACTIVE_TEXTURE_ARB             0x84E0
3782 #define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
3783 #define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
3784 typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
3785 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
3786 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
3787 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
3788 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
3789 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
3790 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
3791 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
3792 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
3793 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
3794 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
3795 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
3796 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
3797 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
3798 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
3799 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
3800 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
3801 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
3802 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3803 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
3804 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3805 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
3806 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
3807 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
3808 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
3809 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
3810 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3811 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
3812 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3813 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
3814 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
3815 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
3816 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3817 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
3818 #ifdef GL_GLEXT_PROTOTYPES
3819 GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
3820 GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
3821 GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
3822 GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
3823 GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
3824 GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
3825 GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
3826 GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
3827 GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
3828 GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
3829 GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
3830 GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
3831 GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
3832 GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
3833 GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
3834 GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
3835 GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
3836 GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
3837 GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3838 GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
3839 GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3840 GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
3841 GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
3842 GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
3843 GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
3844 GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
3845 GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3846 GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
3847 GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3848 GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
3849 GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
3850 GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
3851 GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3852 GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
3853 #endif
3854 #endif /* GL_ARB_multitexture */
3855 
3856 #ifndef GL_ARB_occlusion_query
3857 #define GL_ARB_occlusion_query 1
3858 #define GL_QUERY_COUNTER_BITS_ARB         0x8864
3859 #define GL_CURRENT_QUERY_ARB              0x8865
3860 #define GL_QUERY_RESULT_ARB               0x8866
3861 #define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
3862 #define GL_SAMPLES_PASSED_ARB             0x8914
3863 typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
3864 typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
3865 typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
3866 typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
3867 typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
3868 typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3869 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
3870 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
3871 #ifdef GL_GLEXT_PROTOTYPES
3872 GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
3873 GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
3874 GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
3875 GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
3876 GLAPI void APIENTRY glEndQueryARB (GLenum target);
3877 GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
3878 GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
3879 GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
3880 #endif
3881 #endif /* GL_ARB_occlusion_query */
3882 
3883 #ifndef GL_ARB_occlusion_query2
3884 #define GL_ARB_occlusion_query2 1
3885 #endif /* GL_ARB_occlusion_query2 */
3886 
3887 #ifndef GL_ARB_parallel_shader_compile
3888 #define GL_ARB_parallel_shader_compile 1
3889 #define GL_MAX_SHADER_COMPILER_THREADS_ARB 0x91B0
3890 #define GL_COMPLETION_STATUS_ARB          0x91B1
3891 typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSARBPROC) (GLuint count);
3892 #ifdef GL_GLEXT_PROTOTYPES
3893 GLAPI void APIENTRY glMaxShaderCompilerThreadsARB (GLuint count);
3894 #endif
3895 #endif /* GL_ARB_parallel_shader_compile */
3896 
3897 #ifndef GL_ARB_pipeline_statistics_query
3898 #define GL_ARB_pipeline_statistics_query 1
3899 #define GL_VERTICES_SUBMITTED_ARB         0x82EE
3900 #define GL_PRIMITIVES_SUBMITTED_ARB       0x82EF
3901 #define GL_VERTEX_SHADER_INVOCATIONS_ARB  0x82F0
3902 #define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1
3903 #define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2
3904 #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3
3905 #define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4
3906 #define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5
3907 #define GL_CLIPPING_INPUT_PRIMITIVES_ARB  0x82F6
3908 #define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7
3909 #endif /* GL_ARB_pipeline_statistics_query */
3910 
3911 #ifndef GL_ARB_pixel_buffer_object
3912 #define GL_ARB_pixel_buffer_object 1
3913 #define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
3914 #define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
3915 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
3916 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
3917 #endif /* GL_ARB_pixel_buffer_object */












3918 
3919 #ifndef GL_ARB_point_parameters
3920 #define GL_ARB_point_parameters 1
3921 #define GL_POINT_SIZE_MIN_ARB             0x8126
3922 #define GL_POINT_SIZE_MAX_ARB             0x8127
3923 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
3924 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
3925 typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
3926 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
3927 #ifdef GL_GLEXT_PROTOTYPES
3928 GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
3929 GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
3930 #endif
3931 #endif /* GL_ARB_point_parameters */
3932 
3933 #ifndef GL_ARB_point_sprite
3934 #define GL_ARB_point_sprite 1
3935 #define GL_POINT_SPRITE_ARB               0x8861
3936 #define GL_COORD_REPLACE_ARB              0x8862
3937 #endif /* GL_ARB_point_sprite */


3938 
3939 #ifndef GL_ARB_polygon_offset_clamp
3940 #define GL_ARB_polygon_offset_clamp 1
3941 #endif /* GL_ARB_polygon_offset_clamp */
3942 
3943 #ifndef GL_ARB_post_depth_coverage
3944 #define GL_ARB_post_depth_coverage 1
3945 #endif /* GL_ARB_post_depth_coverage */
3946 
3947 #ifndef GL_ARB_program_interface_query
3948 #define GL_ARB_program_interface_query 1
3949 #endif /* GL_ARB_program_interface_query */
3950 
3951 #ifndef GL_ARB_provoking_vertex
3952 #define GL_ARB_provoking_vertex 1
3953 #endif /* GL_ARB_provoking_vertex */
3954 
3955 #ifndef GL_ARB_query_buffer_object
3956 #define GL_ARB_query_buffer_object 1
3957 #endif /* GL_ARB_query_buffer_object */
3958 
3959 #ifndef GL_ARB_robust_buffer_access_behavior
3960 #define GL_ARB_robust_buffer_access_behavior 1
3961 #endif /* GL_ARB_robust_buffer_access_behavior */
3962 
3963 #ifndef GL_ARB_robustness
3964 #define GL_ARB_robustness 1
3965 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
3966 #define GL_LOSE_CONTEXT_ON_RESET_ARB      0x8252
3967 #define GL_GUILTY_CONTEXT_RESET_ARB       0x8253
3968 #define GL_INNOCENT_CONTEXT_RESET_ARB     0x8254
3969 #define GL_UNKNOWN_CONTEXT_RESET_ARB      0x8255
3970 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
3971 #define GL_NO_RESET_NOTIFICATION_ARB      0x8261
3972 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
3973 typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
3974 typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3975 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
3976 typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3977 typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3978 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
3979 typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
3980 typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
3981 typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
3982 typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
3983 typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
3984 typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
3985 typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
3986 typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
3987 typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
3988 typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
3989 typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
3990 typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3991 typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3992 #ifdef GL_GLEXT_PROTOTYPES
3993 GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
3994 GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
3995 GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3996 GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
3997 GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3998 GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3999 GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
4000 GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
4001 GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
4002 GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
4003 GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
4004 GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
4005 GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
4006 GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
4007 GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
4008 GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
4009 GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
4010 GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
4011 GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
4012 GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
4013 #endif
4014 #endif /* GL_ARB_robustness */
4015 
4016 #ifndef GL_ARB_robustness_isolation
4017 #define GL_ARB_robustness_isolation 1
4018 #endif /* GL_ARB_robustness_isolation */
4019 
4020 #ifndef GL_ARB_sample_locations
4021 #define GL_ARB_sample_locations 1
4022 #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB 0x933D
4023 #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB 0x933E
4024 #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB 0x933F
4025 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340
4026 #define GL_SAMPLE_LOCATION_ARB            0x8E50
4027 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB 0x9341
4028 #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB 0x9342
4029 #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB 0x9343
4030 typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
4031 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
4032 typedef void (APIENTRYP PFNGLEVALUATEDEPTHVALUESARBPROC) (void);
4033 #ifdef GL_GLEXT_PROTOTYPES
4034 GLAPI void APIENTRY glFramebufferSampleLocationsfvARB (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
4035 GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvARB (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
4036 GLAPI void APIENTRY glEvaluateDepthValuesARB (void);
4037 #endif
4038 #endif /* GL_ARB_sample_locations */
4039 
4040 #ifndef GL_ARB_sample_shading
4041 #define GL_ARB_sample_shading 1
4042 #define GL_SAMPLE_SHADING_ARB             0x8C36
4043 #define GL_MIN_SAMPLE_SHADING_VALUE_ARB   0x8C37
4044 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
4045 #ifdef GL_GLEXT_PROTOTYPES
4046 GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
4047 #endif
4048 #endif /* GL_ARB_sample_shading */
4049 
4050 #ifndef GL_ARB_sampler_objects
4051 #define GL_ARB_sampler_objects 1
4052 #endif /* GL_ARB_sampler_objects */
4053 
4054 #ifndef GL_ARB_seamless_cube_map
4055 #define GL_ARB_seamless_cube_map 1
4056 #endif /* GL_ARB_seamless_cube_map */
4057 
4058 #ifndef GL_ARB_seamless_cubemap_per_texture
4059 #define GL_ARB_seamless_cubemap_per_texture 1
4060 #endif /* GL_ARB_seamless_cubemap_per_texture */
4061 
4062 #ifndef GL_ARB_separate_shader_objects
4063 #define GL_ARB_separate_shader_objects 1
4064 #endif /* GL_ARB_separate_shader_objects */
4065 
4066 #ifndef GL_ARB_shader_atomic_counter_ops
4067 #define GL_ARB_shader_atomic_counter_ops 1
4068 #endif /* GL_ARB_shader_atomic_counter_ops */
4069 
4070 #ifndef GL_ARB_shader_atomic_counters
4071 #define GL_ARB_shader_atomic_counters 1
4072 #endif /* GL_ARB_shader_atomic_counters */
4073 
4074 #ifndef GL_ARB_shader_ballot
4075 #define GL_ARB_shader_ballot 1
4076 #endif /* GL_ARB_shader_ballot */
4077 
4078 #ifndef GL_ARB_shader_bit_encoding
4079 #define GL_ARB_shader_bit_encoding 1
4080 #endif /* GL_ARB_shader_bit_encoding */
4081 
4082 #ifndef GL_ARB_shader_clock
4083 #define GL_ARB_shader_clock 1
4084 #endif /* GL_ARB_shader_clock */
4085 
4086 #ifndef GL_ARB_shader_draw_parameters
4087 #define GL_ARB_shader_draw_parameters 1
4088 #endif /* GL_ARB_shader_draw_parameters */
4089 
4090 #ifndef GL_ARB_shader_group_vote
4091 #define GL_ARB_shader_group_vote 1
4092 #endif /* GL_ARB_shader_group_vote */
4093 
4094 #ifndef GL_ARB_shader_image_load_store
4095 #define GL_ARB_shader_image_load_store 1
4096 #endif /* GL_ARB_shader_image_load_store */
4097 
4098 #ifndef GL_ARB_shader_image_size
4099 #define GL_ARB_shader_image_size 1
4100 #endif /* GL_ARB_shader_image_size */
4101 
4102 #ifndef GL_ARB_shader_objects
4103 #define GL_ARB_shader_objects 1
4104 #ifdef __APPLE__
4105 #ifdef BUILDING_MESA
4106 /* Avoid uint <-> void* warnings */
4107 typedef unsigned long GLhandleARB;
4108 #else
4109 typedef void *GLhandleARB;
4110 #endif
4111 #else
4112 typedef unsigned int GLhandleARB;
4113 #endif
4114 typedef char GLcharARB;
4115 #define GL_PROGRAM_OBJECT_ARB             0x8B40
4116 #define GL_SHADER_OBJECT_ARB              0x8B48
4117 #define GL_OBJECT_TYPE_ARB                0x8B4E
4118 #define GL_OBJECT_SUBTYPE_ARB             0x8B4F
4119 #define GL_FLOAT_VEC2_ARB                 0x8B50
4120 #define GL_FLOAT_VEC3_ARB                 0x8B51
4121 #define GL_FLOAT_VEC4_ARB                 0x8B52
4122 #define GL_INT_VEC2_ARB                   0x8B53
4123 #define GL_INT_VEC3_ARB                   0x8B54
4124 #define GL_INT_VEC4_ARB                   0x8B55
4125 #define GL_BOOL_ARB                       0x8B56
4126 #define GL_BOOL_VEC2_ARB                  0x8B57
4127 #define GL_BOOL_VEC3_ARB                  0x8B58
4128 #define GL_BOOL_VEC4_ARB                  0x8B59
4129 #define GL_FLOAT_MAT2_ARB                 0x8B5A
4130 #define GL_FLOAT_MAT3_ARB                 0x8B5B
4131 #define GL_FLOAT_MAT4_ARB                 0x8B5C
4132 #define GL_SAMPLER_1D_ARB                 0x8B5D
4133 #define GL_SAMPLER_2D_ARB                 0x8B5E
4134 #define GL_SAMPLER_3D_ARB                 0x8B5F
4135 #define GL_SAMPLER_CUBE_ARB               0x8B60
4136 #define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
4137 #define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
4138 #define GL_SAMPLER_2D_RECT_ARB            0x8B63
4139 #define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
4140 #define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
4141 #define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
4142 #define GL_OBJECT_LINK_STATUS_ARB         0x8B82
4143 #define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
4144 #define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
4145 #define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
4146 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
4147 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
4148 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
4149 typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
4150 typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
4151 typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
4152 typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
4153 typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
4154 typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
4155 typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
4156 typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
4157 typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
4158 typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
4159 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
4160 typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
4161 typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
4162 typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
4163 typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
4164 typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
4165 typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
4166 typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
4167 typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
4168 typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4169 typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4170 typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4171 typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4172 typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4173 typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4174 typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4175 typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4176 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4177 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4178 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4179 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
4180 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
4181 typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
4182 typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
4183 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
4184 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4185 typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
4186 typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
4187 typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
4188 #ifdef GL_GLEXT_PROTOTYPES
4189 GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
4190 GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
4191 GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
4192 GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
4193 GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
4194 GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
4195 GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
4196 GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
4197 GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
4198 GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
4199 GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
4200 GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
4201 GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
4202 GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
4203 GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
4204 GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
4205 GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
4206 GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
4207 GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
4208 GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
4209 GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
4210 GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
4211 GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
4212 GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
4213 GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
4214 GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
4215 GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
4216 GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4217 GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4218 GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4219 GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
4220 GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
4221 GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
4222 GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
4223 GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
4224 GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4225 GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
4226 GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
4227 GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
4228 #endif
4229 #endif /* GL_ARB_shader_objects */
4230 
4231 #ifndef GL_ARB_shader_precision
4232 #define GL_ARB_shader_precision 1
4233 #endif /* GL_ARB_shader_precision */
4234 
4235 #ifndef GL_ARB_shader_stencil_export
4236 #define GL_ARB_shader_stencil_export 1
4237 #endif /* GL_ARB_shader_stencil_export */
4238 
4239 #ifndef GL_ARB_shader_storage_buffer_object
4240 #define GL_ARB_shader_storage_buffer_object 1
4241 #endif /* GL_ARB_shader_storage_buffer_object */
4242 
4243 #ifndef GL_ARB_shader_subroutine
4244 #define GL_ARB_shader_subroutine 1
4245 #endif /* GL_ARB_shader_subroutine */
4246 
4247 #ifndef GL_ARB_shader_texture_image_samples
4248 #define GL_ARB_shader_texture_image_samples 1
4249 #endif /* GL_ARB_shader_texture_image_samples */
4250 
4251 #ifndef GL_ARB_shader_texture_lod
4252 #define GL_ARB_shader_texture_lod 1
4253 #endif /* GL_ARB_shader_texture_lod */
4254 
4255 #ifndef GL_ARB_shader_viewport_layer_array
4256 #define GL_ARB_shader_viewport_layer_array 1
4257 #endif /* GL_ARB_shader_viewport_layer_array */
4258 
4259 #ifndef GL_ARB_shading_language_100
4260 #define GL_ARB_shading_language_100 1
4261 #define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
4262 #endif /* GL_ARB_shading_language_100 */
4263 
4264 #ifndef GL_ARB_shading_language_420pack
4265 #define GL_ARB_shading_language_420pack 1
4266 #endif /* GL_ARB_shading_language_420pack */
4267 
4268 #ifndef GL_ARB_shading_language_include
4269 #define GL_ARB_shading_language_include 1
4270 #define GL_SHADER_INCLUDE_ARB             0x8DAE
4271 #define GL_NAMED_STRING_LENGTH_ARB        0x8DE9
4272 #define GL_NAMED_STRING_TYPE_ARB          0x8DEA
4273 typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
4274 typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
4275 typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
4276 typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
4277 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
4278 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
4279 #ifdef GL_GLEXT_PROTOTYPES
4280 GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
4281 GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
4282 GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
4283 GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
4284 GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
4285 GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
4286 #endif
4287 #endif /* GL_ARB_shading_language_include */
4288 
4289 #ifndef GL_ARB_shading_language_packing
4290 #define GL_ARB_shading_language_packing 1
4291 #endif /* GL_ARB_shading_language_packing */
4292 
4293 #ifndef GL_ARB_shadow
4294 #define GL_ARB_shadow 1
4295 #define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
4296 #define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
4297 #define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
4298 #endif /* GL_ARB_shadow */
4299 
4300 #ifndef GL_ARB_shadow_ambient
4301 #define GL_ARB_shadow_ambient 1
4302 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
4303 #endif /* GL_ARB_shadow_ambient */
4304 
4305 #ifndef GL_ARB_sparse_buffer
4306 #define GL_ARB_sparse_buffer 1
4307 #define GL_SPARSE_STORAGE_BIT_ARB         0x0400
4308 #define GL_SPARSE_BUFFER_PAGE_SIZE_ARB    0x82F8
4309 typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
4310 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4311 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4312 #ifdef GL_GLEXT_PROTOTYPES
4313 GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
4314 GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4315 GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4316 #endif
4317 #endif /* GL_ARB_sparse_buffer */
4318 
4319 #ifndef GL_ARB_sparse_texture
4320 #define GL_ARB_sparse_texture 1
4321 #define GL_TEXTURE_SPARSE_ARB             0x91A6
4322 #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB    0x91A7
4323 #define GL_NUM_SPARSE_LEVELS_ARB          0x91AA
4324 #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB     0x91A8
4325 #define GL_VIRTUAL_PAGE_SIZE_X_ARB        0x9195
4326 #define GL_VIRTUAL_PAGE_SIZE_Y_ARB        0x9196
4327 #define GL_VIRTUAL_PAGE_SIZE_Z_ARB        0x9197
4328 #define GL_MAX_SPARSE_TEXTURE_SIZE_ARB    0x9198
4329 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
4330 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
4331 #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
4332 typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
4333 #ifdef GL_GLEXT_PROTOTYPES
4334 GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
4335 #endif
4336 #endif /* GL_ARB_sparse_texture */
4337 
4338 #ifndef GL_ARB_sparse_texture2
4339 #define GL_ARB_sparse_texture2 1
4340 #endif /* GL_ARB_sparse_texture2 */
4341 
4342 #ifndef GL_ARB_sparse_texture_clamp
4343 #define GL_ARB_sparse_texture_clamp 1
4344 #endif /* GL_ARB_sparse_texture_clamp */
4345 
4346 #ifndef GL_ARB_spirv_extensions
4347 #define GL_ARB_spirv_extensions 1
4348 #endif /* GL_ARB_spirv_extensions */
4349 
4350 #ifndef GL_ARB_stencil_texturing
4351 #define GL_ARB_stencil_texturing 1
4352 #endif /* GL_ARB_stencil_texturing */
4353 
4354 #ifndef GL_ARB_sync
4355 #define GL_ARB_sync 1
4356 #endif /* GL_ARB_sync */
4357 
4358 #ifndef GL_ARB_tessellation_shader
4359 #define GL_ARB_tessellation_shader 1
4360 #endif /* GL_ARB_tessellation_shader */
4361 
4362 #ifndef GL_ARB_texture_barrier
4363 #define GL_ARB_texture_barrier 1
4364 #endif /* GL_ARB_texture_barrier */
4365 
4366 #ifndef GL_ARB_texture_border_clamp
4367 #define GL_ARB_texture_border_clamp 1
4368 #define GL_CLAMP_TO_BORDER_ARB            0x812D
4369 #endif /* GL_ARB_texture_border_clamp */
4370 
4371 #ifndef GL_ARB_texture_buffer_object
4372 #define GL_ARB_texture_buffer_object 1
4373 #define GL_TEXTURE_BUFFER_ARB             0x8C2A
4374 #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB    0x8C2B
4375 #define GL_TEXTURE_BINDING_BUFFER_ARB     0x8C2C
4376 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
4377 #define GL_TEXTURE_BUFFER_FORMAT_ARB      0x8C2E
4378 typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
4379 #ifdef GL_GLEXT_PROTOTYPES
4380 GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
4381 #endif
4382 #endif /* GL_ARB_texture_buffer_object */
4383 
4384 #ifndef GL_ARB_texture_buffer_object_rgb32
4385 #define GL_ARB_texture_buffer_object_rgb32 1
4386 #endif /* GL_ARB_texture_buffer_object_rgb32 */
4387 
4388 #ifndef GL_ARB_texture_buffer_range
4389 #define GL_ARB_texture_buffer_range 1
4390 #endif /* GL_ARB_texture_buffer_range */
4391 
4392 #ifndef GL_ARB_texture_compression
4393 #define GL_ARB_texture_compression 1
4394 #define GL_COMPRESSED_ALPHA_ARB           0x84E9
4395 #define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
4396 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
4397 #define GL_COMPRESSED_INTENSITY_ARB       0x84EC
4398 #define GL_COMPRESSED_RGB_ARB             0x84ED
4399 #define GL_COMPRESSED_RGBA_ARB            0x84EE
4400 #define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
4401 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
4402 #define GL_TEXTURE_COMPRESSED_ARB         0x86A1
4403 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
4404 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
4405 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
4406 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
4407 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
4408 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);
4409 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
4410 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
4411 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
4412 #ifdef GL_GLEXT_PROTOTYPES
4413 GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
4414 GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
4415 GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
4416 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);
4417 GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
4418 GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
4419 GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img);
4420 #endif
4421 #endif /* GL_ARB_texture_compression */
4422 
4423 #ifndef GL_ARB_texture_compression_bptc
4424 #define GL_ARB_texture_compression_bptc 1
4425 #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
4426 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
4427 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
4428 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
4429 #endif /* GL_ARB_texture_compression_bptc */
4430 
4431 #ifndef GL_ARB_texture_compression_rgtc
4432 #define GL_ARB_texture_compression_rgtc 1
4433 #endif /* GL_ARB_texture_compression_rgtc */
4434 
4435 #ifndef GL_ARB_texture_cube_map
4436 #define GL_ARB_texture_cube_map 1
4437 #define GL_NORMAL_MAP_ARB                 0x8511
4438 #define GL_REFLECTION_MAP_ARB             0x8512
4439 #define GL_TEXTURE_CUBE_MAP_ARB           0x8513
4440 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
4441 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
4442 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
4443 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
4444 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
4445 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
4446 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
4447 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
4448 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
4449 #endif /* GL_ARB_texture_cube_map */
4450 
4451 #ifndef GL_ARB_texture_cube_map_array
4452 #define GL_ARB_texture_cube_map_array 1
4453 #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB     0x9009
4454 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
4455 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
4456 #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB     0x900C
4457 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
4458 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
4459 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
4460 #endif /* GL_ARB_texture_cube_map_array */
4461 
4462 #ifndef GL_ARB_texture_env_add
4463 #define GL_ARB_texture_env_add 1
4464 #endif /* GL_ARB_texture_env_add */
4465 
4466 #ifndef GL_ARB_texture_env_combine
4467 #define GL_ARB_texture_env_combine 1
4468 #define GL_COMBINE_ARB                    0x8570
4469 #define GL_COMBINE_RGB_ARB                0x8571
4470 #define GL_COMBINE_ALPHA_ARB              0x8572
4471 #define GL_SOURCE0_RGB_ARB                0x8580
4472 #define GL_SOURCE1_RGB_ARB                0x8581
4473 #define GL_SOURCE2_RGB_ARB                0x8582
4474 #define GL_SOURCE0_ALPHA_ARB              0x8588
4475 #define GL_SOURCE1_ALPHA_ARB              0x8589
4476 #define GL_SOURCE2_ALPHA_ARB              0x858A
4477 #define GL_OPERAND0_RGB_ARB               0x8590
4478 #define GL_OPERAND1_RGB_ARB               0x8591
4479 #define GL_OPERAND2_RGB_ARB               0x8592
4480 #define GL_OPERAND0_ALPHA_ARB             0x8598
4481 #define GL_OPERAND1_ALPHA_ARB             0x8599
4482 #define GL_OPERAND2_ALPHA_ARB             0x859A
4483 #define GL_RGB_SCALE_ARB                  0x8573
4484 #define GL_ADD_SIGNED_ARB                 0x8574
4485 #define GL_INTERPOLATE_ARB                0x8575
4486 #define GL_SUBTRACT_ARB                   0x84E7
4487 #define GL_CONSTANT_ARB                   0x8576
4488 #define GL_PRIMARY_COLOR_ARB              0x8577
4489 #define GL_PREVIOUS_ARB                   0x8578
4490 #endif /* GL_ARB_texture_env_combine */
4491 
4492 #ifndef GL_ARB_texture_env_crossbar
4493 #define GL_ARB_texture_env_crossbar 1
4494 #endif /* GL_ARB_texture_env_crossbar */
4495 
4496 #ifndef GL_ARB_texture_env_dot3
4497 #define GL_ARB_texture_env_dot3 1
4498 #define GL_DOT3_RGB_ARB                   0x86AE
4499 #define GL_DOT3_RGBA_ARB                  0x86AF
4500 #endif /* GL_ARB_texture_env_dot3 */
4501 
4502 #ifndef GL_ARB_texture_filter_anisotropic
4503 #define GL_ARB_texture_filter_anisotropic 1
4504 #endif /* GL_ARB_texture_filter_anisotropic */
4505 
4506 #ifndef GL_ARB_texture_filter_minmax
4507 #define GL_ARB_texture_filter_minmax 1
4508 #define GL_TEXTURE_REDUCTION_MODE_ARB     0x9366
4509 #define GL_WEIGHTED_AVERAGE_ARB           0x9367
4510 #endif /* GL_ARB_texture_filter_minmax */
4511 
4512 #ifndef GL_ARB_texture_float
4513 #define GL_ARB_texture_float 1
4514 #define GL_TEXTURE_RED_TYPE_ARB           0x8C10
4515 #define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
4516 #define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
4517 #define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
4518 #define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
4519 #define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
4520 #define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
4521 #define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
4522 #define GL_RGBA32F_ARB                    0x8814
4523 #define GL_RGB32F_ARB                     0x8815
4524 #define GL_ALPHA32F_ARB                   0x8816
4525 #define GL_INTENSITY32F_ARB               0x8817
4526 #define GL_LUMINANCE32F_ARB               0x8818
4527 #define GL_LUMINANCE_ALPHA32F_ARB         0x8819
4528 #define GL_RGBA16F_ARB                    0x881A
4529 #define GL_RGB16F_ARB                     0x881B
4530 #define GL_ALPHA16F_ARB                   0x881C
4531 #define GL_INTENSITY16F_ARB               0x881D
4532 #define GL_LUMINANCE16F_ARB               0x881E
4533 #define GL_LUMINANCE_ALPHA16F_ARB         0x881F
4534 #endif /* GL_ARB_texture_float */
4535 
4536 #ifndef GL_ARB_texture_gather
4537 #define GL_ARB_texture_gather 1
4538 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
4539 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
4540 #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
4541 #endif /* GL_ARB_texture_gather */
4542 
4543 #ifndef GL_ARB_texture_mirror_clamp_to_edge
4544 #define GL_ARB_texture_mirror_clamp_to_edge 1
4545 #endif /* GL_ARB_texture_mirror_clamp_to_edge */
4546 
4547 #ifndef GL_ARB_texture_mirrored_repeat
4548 #define GL_ARB_texture_mirrored_repeat 1
4549 #define GL_MIRRORED_REPEAT_ARB            0x8370
4550 #endif /* GL_ARB_texture_mirrored_repeat */
4551 
4552 #ifndef GL_ARB_texture_multisample
4553 #define GL_ARB_texture_multisample 1
4554 #endif /* GL_ARB_texture_multisample */




4555 
4556 #ifndef GL_ARB_texture_non_power_of_two
4557 #define GL_ARB_texture_non_power_of_two 1
4558 #endif /* GL_ARB_texture_non_power_of_two */


4559 
4560 #ifndef GL_ARB_texture_query_levels
4561 #define GL_ARB_texture_query_levels 1
4562 #endif /* GL_ARB_texture_query_levels */
4563 
4564 #ifndef GL_ARB_texture_query_lod
4565 #define GL_ARB_texture_query_lod 1
4566 #endif /* GL_ARB_texture_query_lod */






































4567 
4568 #ifndef GL_ARB_texture_rectangle
4569 #define GL_ARB_texture_rectangle 1
4570 #define GL_TEXTURE_RECTANGLE_ARB          0x84F5
4571 #define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
4572 #define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
4573 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
4574 #endif /* GL_ARB_texture_rectangle */




4575 
4576 #ifndef GL_ARB_texture_rg
4577 #define GL_ARB_texture_rg 1
4578 #endif /* GL_ARB_texture_rg */
4579 
4580 #ifndef GL_ARB_texture_rgb10_a2ui
4581 #define GL_ARB_texture_rgb10_a2ui 1
4582 #endif /* GL_ARB_texture_rgb10_a2ui */
4583 
4584 #ifndef GL_ARB_texture_stencil8
4585 #define GL_ARB_texture_stencil8 1
4586 #endif /* GL_ARB_texture_stencil8 */
4587 
4588 #ifndef GL_ARB_texture_storage
4589 #define GL_ARB_texture_storage 1
4590 #endif /* GL_ARB_texture_storage */
4591 
4592 #ifndef GL_ARB_texture_storage_multisample
4593 #define GL_ARB_texture_storage_multisample 1
4594 #endif /* GL_ARB_texture_storage_multisample */
4595 
4596 #ifndef GL_ARB_texture_swizzle
4597 #define GL_ARB_texture_swizzle 1
4598 #endif /* GL_ARB_texture_swizzle */
4599 
4600 #ifndef GL_ARB_texture_view
4601 #define GL_ARB_texture_view 1
4602 #endif /* GL_ARB_texture_view */
4603 
4604 #ifndef GL_ARB_timer_query
4605 #define GL_ARB_timer_query 1
4606 #endif /* GL_ARB_timer_query */
4607 
4608 #ifndef GL_ARB_transform_feedback2
4609 #define GL_ARB_transform_feedback2 1
4610 #endif /* GL_ARB_transform_feedback2 */
4611 
4612 #ifndef GL_ARB_transform_feedback3
4613 #define GL_ARB_transform_feedback3 1
4614 #endif /* GL_ARB_transform_feedback3 */
4615 
4616 #ifndef GL_ARB_transform_feedback_instanced
4617 #define GL_ARB_transform_feedback_instanced 1
4618 #endif /* GL_ARB_transform_feedback_instanced */
4619 
4620 #ifndef GL_ARB_transform_feedback_overflow_query
4621 #define GL_ARB_transform_feedback_overflow_query 1
4622 #define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC
4623 #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED
4624 #endif /* GL_ARB_transform_feedback_overflow_query */
4625 
4626 #ifndef GL_ARB_transpose_matrix
4627 #define GL_ARB_transpose_matrix 1
4628 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
4629 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
4630 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
4631 #define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
4632 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
4633 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
4634 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
4635 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
4636 #ifdef GL_GLEXT_PROTOTYPES
4637 GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
4638 GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
4639 GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
4640 GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
4641 #endif
4642 #endif /* GL_ARB_transpose_matrix */
4643 
4644 #ifndef GL_ARB_uniform_buffer_object
4645 #define GL_ARB_uniform_buffer_object 1
4646 #endif /* GL_ARB_uniform_buffer_object */
4647 
4648 #ifndef GL_ARB_vertex_array_bgra
4649 #define GL_ARB_vertex_array_bgra 1
4650 #endif /* GL_ARB_vertex_array_bgra */
4651 
4652 #ifndef GL_ARB_vertex_array_object
4653 #define GL_ARB_vertex_array_object 1
4654 #endif /* GL_ARB_vertex_array_object */
4655 
4656 #ifndef GL_ARB_vertex_attrib_64bit
4657 #define GL_ARB_vertex_attrib_64bit 1
4658 #endif /* GL_ARB_vertex_attrib_64bit */
4659 
4660 #ifndef GL_ARB_vertex_attrib_binding
4661 #define GL_ARB_vertex_attrib_binding 1
4662 #endif /* GL_ARB_vertex_attrib_binding */
4663 
4664 #ifndef GL_ARB_vertex_blend
4665 #define GL_ARB_vertex_blend 1
4666 #define GL_MAX_VERTEX_UNITS_ARB           0x86A4
4667 #define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
4668 #define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
4669 #define GL_VERTEX_BLEND_ARB               0x86A7
4670 #define GL_CURRENT_WEIGHT_ARB             0x86A8
4671 #define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
4672 #define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
4673 #define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
4674 #define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
4675 #define GL_WEIGHT_ARRAY_ARB               0x86AD
4676 #define GL_MODELVIEW0_ARB                 0x1700
4677 #define GL_MODELVIEW1_ARB                 0x850A
4678 #define GL_MODELVIEW2_ARB                 0x8722
4679 #define GL_MODELVIEW3_ARB                 0x8723
4680 #define GL_MODELVIEW4_ARB                 0x8724
4681 #define GL_MODELVIEW5_ARB                 0x8725
4682 #define GL_MODELVIEW6_ARB                 0x8726
4683 #define GL_MODELVIEW7_ARB                 0x8727
4684 #define GL_MODELVIEW8_ARB                 0x8728
4685 #define GL_MODELVIEW9_ARB                 0x8729
4686 #define GL_MODELVIEW10_ARB                0x872A
4687 #define GL_MODELVIEW11_ARB                0x872B
4688 #define GL_MODELVIEW12_ARB                0x872C
4689 #define GL_MODELVIEW13_ARB                0x872D
4690 #define GL_MODELVIEW14_ARB                0x872E
4691 #define GL_MODELVIEW15_ARB                0x872F
4692 #define GL_MODELVIEW16_ARB                0x8730
4693 #define GL_MODELVIEW17_ARB                0x8731
4694 #define GL_MODELVIEW18_ARB                0x8732
4695 #define GL_MODELVIEW19_ARB                0x8733
4696 #define GL_MODELVIEW20_ARB                0x8734
4697 #define GL_MODELVIEW21_ARB                0x8735
4698 #define GL_MODELVIEW22_ARB                0x8736
4699 #define GL_MODELVIEW23_ARB                0x8737
4700 #define GL_MODELVIEW24_ARB                0x8738
4701 #define GL_MODELVIEW25_ARB                0x8739
4702 #define GL_MODELVIEW26_ARB                0x873A
4703 #define GL_MODELVIEW27_ARB                0x873B
4704 #define GL_MODELVIEW28_ARB                0x873C
4705 #define GL_MODELVIEW29_ARB                0x873D
4706 #define GL_MODELVIEW30_ARB                0x873E
4707 #define GL_MODELVIEW31_ARB                0x873F
4708 typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
4709 typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
4710 typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
4711 typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
4712 typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
4713 typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
4714 typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
4715 typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
4716 typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
4717 typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
4718 #ifdef GL_GLEXT_PROTOTYPES
4719 GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
4720 GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
4721 GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
4722 GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
4723 GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
4724 GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
4725 GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
4726 GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
4727 GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
4728 GLAPI void APIENTRY glVertexBlendARB (GLint count);
4729 #endif
4730 #endif /* GL_ARB_vertex_blend */
4731 
4732 #ifndef GL_ARB_vertex_buffer_object
4733 #define GL_ARB_vertex_buffer_object 1
4734 typedef khronos_ssize_t GLsizeiptrARB;
4735 typedef khronos_intptr_t GLintptrARB;
4736 #define GL_BUFFER_SIZE_ARB                0x8764
4737 #define GL_BUFFER_USAGE_ARB               0x8765
4738 #define GL_ARRAY_BUFFER_ARB               0x8892
4739 #define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
4740 #define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
4741 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
4742 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
4743 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
4744 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
4745 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
4746 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
4747 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
4748 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
4749 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
4750 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
4751 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
4752 #define GL_READ_ONLY_ARB                  0x88B8
4753 #define GL_WRITE_ONLY_ARB                 0x88B9
4754 #define GL_READ_WRITE_ARB                 0x88BA
4755 #define GL_BUFFER_ACCESS_ARB              0x88BB
4756 #define GL_BUFFER_MAPPED_ARB              0x88BC
4757 #define GL_BUFFER_MAP_POINTER_ARB         0x88BD
4758 #define GL_STREAM_DRAW_ARB                0x88E0
4759 #define GL_STREAM_READ_ARB                0x88E1
4760 #define GL_STREAM_COPY_ARB                0x88E2
4761 #define GL_STATIC_DRAW_ARB                0x88E4
4762 #define GL_STATIC_READ_ARB                0x88E5
4763 #define GL_STATIC_COPY_ARB                0x88E6
4764 #define GL_DYNAMIC_DRAW_ARB               0x88E8
4765 #define GL_DYNAMIC_READ_ARB               0x88E9
4766 #define GL_DYNAMIC_COPY_ARB               0x88EA
4767 typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
4768 typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
4769 typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
4770 typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
4771 typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
4772 typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
4773 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
4774 typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
4775 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
4776 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
4777 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params);
4778 #ifdef GL_GLEXT_PROTOTYPES
4779 GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
4780 GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
4781 GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
4782 GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
4783 GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
4784 GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
4785 GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
4786 GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
4787 GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
4788 GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
4789 GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params);
4790 #endif
4791 #endif /* GL_ARB_vertex_buffer_object */
4792 
4793 #ifndef GL_ARB_vertex_program
4794 #define GL_ARB_vertex_program 1
4795 #define GL_COLOR_SUM_ARB                  0x8458
4796 #define GL_VERTEX_PROGRAM_ARB             0x8620
4797 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
4798 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
4799 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
4800 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
4801 #define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
4802 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
4803 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
4804 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
4805 #define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
4806 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
4807 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
4808 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
4809 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
4810 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
4811 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
4812 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
4813 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
4814 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
4815 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
4816 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
4817 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
4818 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
4819 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
4820 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
4821 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
4822 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
4823 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
4824 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
4825 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
4826 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
4827 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
4828 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
4829 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
4830 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
4831 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
4832 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
4833 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
4834 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
4835 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
4836 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
4837 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
4838 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
4839 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4840 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
4841 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
4842 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
4843 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
4844 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
4845 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
4846 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
4847 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
4848 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
4849 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
4850 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
4851 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
4852 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
4853 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer);
4854 #ifdef GL_GLEXT_PROTOTYPES
4855 GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
4856 GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
4857 GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
4858 GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
4859 GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
4860 GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
4861 GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
4862 GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
4863 GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
4864 GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
4865 GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
4866 GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
4867 GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
4868 GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
4869 GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
4870 GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
4871 GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
4872 GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
4873 GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
4874 GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
4875 GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
4876 GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
4877 GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
4878 GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
4879 GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
4880 GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
4881 GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
4882 GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
4883 GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4884 GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
4885 GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
4886 GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
4887 GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
4888 GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
4889 GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
4890 GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
4891 GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
4892 GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
4893 GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
4894 GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
4895 GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
4896 GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
4897 GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer);
4898 #endif
4899 #endif /* GL_ARB_vertex_program */
4900 
4901 #ifndef GL_ARB_vertex_shader
4902 #define GL_ARB_vertex_shader 1
4903 #define GL_VERTEX_SHADER_ARB              0x8B31
4904 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
4905 #define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
4906 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
4907 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
4908 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
4909 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
4910 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
4911 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4912 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
4913 #ifdef GL_GLEXT_PROTOTYPES
4914 GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
4915 GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4916 GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
4917 #endif
4918 #endif /* GL_ARB_vertex_shader */
4919 
4920 #ifndef GL_ARB_vertex_type_10f_11f_11f_rev
4921 #define GL_ARB_vertex_type_10f_11f_11f_rev 1
4922 #endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
4923 
4924 #ifndef GL_ARB_vertex_type_2_10_10_10_rev
4925 #define GL_ARB_vertex_type_2_10_10_10_rev 1
4926 #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
4927 
4928 #ifndef GL_ARB_viewport_array
4929 #define GL_ARB_viewport_array 1
4930 #endif /* GL_ARB_viewport_array */
4931 
4932 #ifndef GL_ARB_window_pos
4933 #define GL_ARB_window_pos 1
4934 typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
4935 typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
4936 typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
4937 typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
4938 typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
4939 typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
4940 typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
4941 typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
4942 typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
4943 typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
4944 typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
4945 typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
4946 typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
4947 typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
4948 typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
4949 typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
4950 #ifdef GL_GLEXT_PROTOTYPES
4951 GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
4952 GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
4953 GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
4954 GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
4955 GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
4956 GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
4957 GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
4958 GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
4959 GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
4960 GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
4961 GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
4962 GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
4963 GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
4964 GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
4965 GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
4966 GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
4967 #endif
4968 #endif /* GL_ARB_window_pos */
4969 
4970 #ifndef GL_KHR_blend_equation_advanced
4971 #define GL_KHR_blend_equation_advanced 1
4972 #define GL_MULTIPLY_KHR                   0x9294
4973 #define GL_SCREEN_KHR                     0x9295
4974 #define GL_OVERLAY_KHR                    0x9296
4975 #define GL_DARKEN_KHR                     0x9297
4976 #define GL_LIGHTEN_KHR                    0x9298
4977 #define GL_COLORDODGE_KHR                 0x9299
4978 #define GL_COLORBURN_KHR                  0x929A
4979 #define GL_HARDLIGHT_KHR                  0x929B
4980 #define GL_SOFTLIGHT_KHR                  0x929C
4981 #define GL_DIFFERENCE_KHR                 0x929E
4982 #define GL_EXCLUSION_KHR                  0x92A0
4983 #define GL_HSL_HUE_KHR                    0x92AD
4984 #define GL_HSL_SATURATION_KHR             0x92AE
4985 #define GL_HSL_COLOR_KHR                  0x92AF
4986 #define GL_HSL_LUMINOSITY_KHR             0x92B0
4987 typedef void (APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
4988 #ifdef GL_GLEXT_PROTOTYPES
4989 GLAPI void APIENTRY glBlendBarrierKHR (void);
4990 #endif
4991 #endif /* GL_KHR_blend_equation_advanced */
4992 
4993 #ifndef GL_KHR_blend_equation_advanced_coherent
4994 #define GL_KHR_blend_equation_advanced_coherent 1
4995 #define GL_BLEND_ADVANCED_COHERENT_KHR    0x9285
4996 #endif /* GL_KHR_blend_equation_advanced_coherent */
4997 
4998 #ifndef GL_KHR_context_flush_control
4999 #define GL_KHR_context_flush_control 1
5000 #endif /* GL_KHR_context_flush_control */
5001 
5002 #ifndef GL_KHR_debug
5003 #define GL_KHR_debug 1
5004 #endif /* GL_KHR_debug */
5005 
5006 #ifndef GL_KHR_no_error
5007 #define GL_KHR_no_error 1
5008 #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR  0x00000008
5009 #endif /* GL_KHR_no_error */
5010 
5011 #ifndef GL_KHR_parallel_shader_compile
5012 #define GL_KHR_parallel_shader_compile 1
5013 #define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0
5014 #define GL_COMPLETION_STATUS_KHR          0x91B1
5015 typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count);
5016 #ifdef GL_GLEXT_PROTOTYPES
5017 GLAPI void APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count);
5018 #endif
5019 #endif /* GL_KHR_parallel_shader_compile */
5020 
5021 #ifndef GL_KHR_robust_buffer_access_behavior
5022 #define GL_KHR_robust_buffer_access_behavior 1
5023 #endif /* GL_KHR_robust_buffer_access_behavior */
5024 
5025 #ifndef GL_KHR_robustness
5026 #define GL_KHR_robustness 1
5027 #define GL_CONTEXT_ROBUST_ACCESS          0x90F3
5028 #endif /* GL_KHR_robustness */
5029 
5030 #ifndef GL_KHR_texture_compression_astc_hdr
5031 #define GL_KHR_texture_compression_astc_hdr 1
5032 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR   0x93B0
5033 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR   0x93B1
5034 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR   0x93B2
5035 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR   0x93B3
5036 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR   0x93B4
5037 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR   0x93B5
5038 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR   0x93B6
5039 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR   0x93B7
5040 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR  0x93B8
5041 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR  0x93B9
5042 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR  0x93BA
5043 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
5044 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
5045 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
5046 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
5047 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
5048 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
5049 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
5050 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
5051 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
5052 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
5053 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
5054 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
5055 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
5056 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
5057 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
5058 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
5059 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
5060 #endif /* GL_KHR_texture_compression_astc_hdr */
5061 
5062 #ifndef GL_KHR_texture_compression_astc_ldr
5063 #define GL_KHR_texture_compression_astc_ldr 1
5064 #endif /* GL_KHR_texture_compression_astc_ldr */
5065 
5066 #ifndef GL_KHR_texture_compression_astc_sliced_3d
5067 #define GL_KHR_texture_compression_astc_sliced_3d 1
5068 #endif /* GL_KHR_texture_compression_astc_sliced_3d */
5069 
5070 #ifndef GL_OES_byte_coordinates
5071 #define GL_OES_byte_coordinates 1
5072 typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
5073 typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords);
5074 typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t);
5075 typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords);
5076 typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
5077 typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords);
5078 typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
5079 typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords);
5080 typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s);
5081 typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords);
5082 typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t);
5083 typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords);
5084 typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
5085 typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
5086 typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
5087 typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
5088 typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x, GLbyte y);
5089 typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
5090 typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
5091 typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
5092 typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
5093 typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
5094 #ifdef GL_GLEXT_PROTOTYPES
5095 GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
5096 GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords);
5097 GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t);
5098 GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords);
5099 GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
5100 GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords);
5101 GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
5102 GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords);
5103 GLAPI void APIENTRY glTexCoord1bOES (GLbyte s);
5104 GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords);
5105 GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t);
5106 GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords);
5107 GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
5108 GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
5109 GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
5110 GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
5111 GLAPI void APIENTRY glVertex2bOES (GLbyte x, GLbyte y);
5112 GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
5113 GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y, GLbyte z);
5114 GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
5115 GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
5116 GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
5117 #endif
5118 #endif /* GL_OES_byte_coordinates */
5119 
5120 #ifndef GL_OES_compressed_paletted_texture
5121 #define GL_OES_compressed_paletted_texture 1
5122 #define GL_PALETTE4_RGB8_OES              0x8B90
5123 #define GL_PALETTE4_RGBA8_OES             0x8B91
5124 #define GL_PALETTE4_R5_G6_B5_OES          0x8B92
5125 #define GL_PALETTE4_RGBA4_OES             0x8B93
5126 #define GL_PALETTE4_RGB5_A1_OES           0x8B94
5127 #define GL_PALETTE8_RGB8_OES              0x8B95
5128 #define GL_PALETTE8_RGBA8_OES             0x8B96
5129 #define GL_PALETTE8_R5_G6_B5_OES          0x8B97
5130 #define GL_PALETTE8_RGBA4_OES             0x8B98
5131 #define GL_PALETTE8_RGB5_A1_OES           0x8B99
5132 #endif /* GL_OES_compressed_paletted_texture */
5133 
5134 #ifndef GL_OES_fixed_point
5135 #define GL_OES_fixed_point 1
5136 typedef khronos_int32_t GLfixed;
5137 #define GL_FIXED_OES                      0x140C
5138 typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
5139 typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5140 typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
5141 typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
5142 typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5143 typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
5144 typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
5145 typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
5146 typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
5147 typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
5148 typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
5149 typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
5150 typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
5151 typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
5152 typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
5153 typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
5154 typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
5155 typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
5156 typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
5157 typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
5158 typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
5159 typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
5160 typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
5161 typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
5162 typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
5163 typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
5164 typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
5165 typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
5166 typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
5167 typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
5168 typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
5169 typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
5170 typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
5171 typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
5172 typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
5173 typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value);
5174 typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
5175 typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5176 typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5177 typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue);
5178 typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components);
5179 typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components);
5180 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
5181 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
5182 typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u);
5183 typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords);
5184 typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v);
5185 typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords);
5186 typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer);
5187 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
5188 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
5189 typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params);
5190 typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v);
5191 typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
5192 typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values);
5193 typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
5194 typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params);
5195 typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component);
5196 typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component);
5197 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
5198 typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
5199 typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
5200 typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2);
5201 typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
5202 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
5203 typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s);
5204 typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords);
5205 typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t);
5206 typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords);
5207 typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
5208 typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords);
5209 typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords);
5210 typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords);
5211 typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token);
5212 typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values);
5213 typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param);
5214 typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param);
5215 typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor);
5216 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities);
5217 typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y);
5218 typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords);
5219 typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
5220 typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords);
5221 typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
5222 typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords);
5223 typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
5224 typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2);
5225 typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s);
5226 typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords);
5227 typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t);
5228 typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords);
5229 typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r);
5230 typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords);
5231 typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
5232 typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords);
5233 typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
5234 typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
5235 typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x);
5236 typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords);
5237 typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y);
5238 typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords);
5239 typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
5240 typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords);
5241 #ifdef GL_GLEXT_PROTOTYPES
5242 GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref);
5243 GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5244 GLAPI void APIENTRY glClearDepthxOES (GLfixed depth);
5245 GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
5246 GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5247 GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f);
5248 GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param);
5249 GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param);
5250 GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
5251 GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
5252 GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
5253 GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params);
5254 GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
5255 GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
5256 GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param);
5257 GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
5258 GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
5259 GLAPI void APIENTRY glLineWidthxOES (GLfixed width);
5260 GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m);
5261 GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
5262 GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param);
5263 GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m);
5264 GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
5265 GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
5266 GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
5267 GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
5268 GLAPI void APIENTRY glPointSizexOES (GLfixed size);
5269 GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
5270 GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
5271 GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
5272 GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
5273 GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
5274 GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
5275 GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
5276 GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
5277 GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value);
5278 GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
5279 GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5280 GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5281 GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue);
5282 GLAPI void APIENTRY glColor3xvOES (const GLfixed *components);
5283 GLAPI void APIENTRY glColor4xvOES (const GLfixed *components);
5284 GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param);
5285 GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
5286 GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u);
5287 GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords);
5288 GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v);
5289 GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords);
5290 GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer);
5291 GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
5292 GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
5293 GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params);
5294 GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v);
5295 GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param);
5296 GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values);
5297 GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
5298 GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params);
5299 GLAPI void APIENTRY glIndexxOES (GLfixed component);
5300 GLAPI void APIENTRY glIndexxvOES (const GLfixed *component);
5301 GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m);
5302 GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
5303 GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
5304 GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2);
5305 GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
5306 GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m);
5307 GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s);
5308 GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords);
5309 GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t);
5310 GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords);
5311 GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
5312 GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords);
5313 GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords);
5314 GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords);
5315 GLAPI void APIENTRY glPassThroughxOES (GLfixed token);
5316 GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values);
5317 GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param);
5318 GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param);
5319 GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor);
5320 GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities);
5321 GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y);
5322 GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords);
5323 GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z);
5324 GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords);
5325 GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
5326 GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords);
5327 GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
5328 GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2);
5329 GLAPI void APIENTRY glTexCoord1xOES (GLfixed s);
5330 GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords);
5331 GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t);
5332 GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords);
5333 GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r);
5334 GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords);
5335 GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
5336 GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords);
5337 GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
5338 GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
5339 GLAPI void APIENTRY glVertex2xOES (GLfixed x);
5340 GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords);
5341 GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y);
5342 GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords);
5343 GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z);
5344 GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords);
5345 #endif
5346 #endif /* GL_OES_fixed_point */
5347 
5348 #ifndef GL_OES_query_matrix
5349 #define GL_OES_query_matrix 1
5350 typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent);
5351 #ifdef GL_GLEXT_PROTOTYPES
5352 GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
5353 #endif
5354 #endif /* GL_OES_query_matrix */
5355 
5356 #ifndef GL_OES_read_format
5357 #define GL_OES_read_format 1
5358 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
5359 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
5360 #endif /* GL_OES_read_format */













5361 
5362 #ifndef GL_OES_single_precision
5363 #define GL_OES_single_precision 1
5364 typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
5365 typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
5366 typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
5367 typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5368 typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
5369 typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5370 #ifdef GL_GLEXT_PROTOTYPES
5371 GLAPI void APIENTRY glClearDepthfOES (GLclampf depth);
5372 GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
5373 GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f);
5374 GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5375 GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
5376 GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
5377 #endif
5378 #endif /* GL_OES_single_precision */
5379 
5380 #ifndef GL_3DFX_multisample
5381 #define GL_3DFX_multisample 1
5382 #define GL_MULTISAMPLE_3DFX               0x86B2
5383 #define GL_SAMPLE_BUFFERS_3DFX            0x86B3
5384 #define GL_SAMPLES_3DFX                   0x86B4
5385 #define GL_MULTISAMPLE_BIT_3DFX           0x20000000
5386 #endif /* GL_3DFX_multisample */
5387 
5388 #ifndef GL_3DFX_tbuffer
5389 #define GL_3DFX_tbuffer 1
5390 typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
5391 #ifdef GL_GLEXT_PROTOTYPES
5392 GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);






5393 #endif
5394 #endif /* GL_3DFX_tbuffer */
5395 
5396 #ifndef GL_3DFX_texture_compression_FXT1
5397 #define GL_3DFX_texture_compression_FXT1 1
5398 #define GL_COMPRESSED_RGB_FXT1_3DFX       0x86B0
5399 #define GL_COMPRESSED_RGBA_FXT1_3DFX      0x86B1
5400 #endif /* GL_3DFX_texture_compression_FXT1 */
5401 
5402 #ifndef GL_AMD_blend_minmax_factor
5403 #define GL_AMD_blend_minmax_factor 1
5404 #define GL_FACTOR_MIN_AMD                 0x901C
5405 #define GL_FACTOR_MAX_AMD                 0x901D
5406 #endif /* GL_AMD_blend_minmax_factor */
5407 
5408 #ifndef GL_AMD_conservative_depth
5409 #define GL_AMD_conservative_depth 1
5410 #endif /* GL_AMD_conservative_depth */
5411 
5412 #ifndef GL_AMD_debug_output
5413 #define GL_AMD_debug_output 1
5414 typedef void (APIENTRY  *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);
5415 #define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD   0x9143
5416 #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD  0x9144
5417 #define GL_DEBUG_LOGGED_MESSAGES_AMD      0x9145
5418 #define GL_DEBUG_SEVERITY_HIGH_AMD        0x9146
5419 #define GL_DEBUG_SEVERITY_MEDIUM_AMD      0x9147
5420 #define GL_DEBUG_SEVERITY_LOW_AMD         0x9148
5421 #define GL_DEBUG_CATEGORY_API_ERROR_AMD   0x9149
5422 #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
5423 #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
5424 #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
5425 #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
5426 #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
5427 #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
5428 #define GL_DEBUG_CATEGORY_OTHER_AMD       0x9150
5429 typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
5430 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
5431 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
5432 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
5433 #ifdef GL_GLEXT_PROTOTYPES
5434 GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
5435 GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
5436 GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
5437 GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
5438 #endif
5439 #endif /* GL_AMD_debug_output */
5440 
5441 #ifndef GL_AMD_depth_clamp_separate
5442 #define GL_AMD_depth_clamp_separate 1
5443 #define GL_DEPTH_CLAMP_NEAR_AMD           0x901E
5444 #define GL_DEPTH_CLAMP_FAR_AMD            0x901F
5445 #endif /* GL_AMD_depth_clamp_separate */
5446 
5447 #ifndef GL_AMD_draw_buffers_blend
5448 #define GL_AMD_draw_buffers_blend 1
5449 typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
5450 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
5451 typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
5452 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
5453 #ifdef GL_GLEXT_PROTOTYPES
5454 GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
5455 GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
5456 GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
5457 GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
5458 #endif
5459 #endif /* GL_AMD_draw_buffers_blend */
5460 
5461 #ifndef GL_AMD_framebuffer_multisample_advanced
5462 #define GL_AMD_framebuffer_multisample_advanced 1
5463 #define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2
5464 #define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3
5465 #define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4
5466 #define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5
5467 #define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6
5468 #define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7
5469 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5470 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5471 #ifdef GL_GLEXT_PROTOTYPES
5472 GLAPI void APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5473 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5474 #endif
5475 #endif /* GL_AMD_framebuffer_multisample_advanced */
5476 
5477 #ifndef GL_AMD_framebuffer_sample_positions
5478 #define GL_AMD_framebuffer_sample_positions 1
5479 #define GL_SUBSAMPLE_DISTANCE_AMD         0x883F
5480 #define GL_PIXELS_PER_SAMPLE_PATTERN_X_AMD 0x91AE
5481 #define GL_PIXELS_PER_SAMPLE_PATTERN_Y_AMD 0x91AF
5482 #define GL_ALL_PIXELS_AMD                 0xFFFFFFFF
5483 typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5484 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5485 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC) (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5486 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC) (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5487 #ifdef GL_GLEXT_PROTOTYPES
5488 GLAPI void APIENTRY glFramebufferSamplePositionsfvAMD (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5489 GLAPI void APIENTRY glNamedFramebufferSamplePositionsfvAMD (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5490 GLAPI void APIENTRY glGetFramebufferParameterfvAMD (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5491 GLAPI void APIENTRY glGetNamedFramebufferParameterfvAMD (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5492 #endif
5493 #endif /* GL_AMD_framebuffer_sample_positions */
5494 
5495 #ifndef GL_AMD_gcn_shader
5496 #define GL_AMD_gcn_shader 1
5497 #endif /* GL_AMD_gcn_shader */
5498 
5499 #ifndef GL_AMD_gpu_shader_half_float
5500 #define GL_AMD_gpu_shader_half_float 1
5501 #define GL_FLOAT16_NV                     0x8FF8
5502 #define GL_FLOAT16_VEC2_NV                0x8FF9
5503 #define GL_FLOAT16_VEC3_NV                0x8FFA
5504 #define GL_FLOAT16_VEC4_NV                0x8FFB
5505 #define GL_FLOAT16_MAT2_AMD               0x91C5
5506 #define GL_FLOAT16_MAT3_AMD               0x91C6
5507 #define GL_FLOAT16_MAT4_AMD               0x91C7
5508 #define GL_FLOAT16_MAT2x3_AMD             0x91C8
5509 #define GL_FLOAT16_MAT2x4_AMD             0x91C9
5510 #define GL_FLOAT16_MAT3x2_AMD             0x91CA
5511 #define GL_FLOAT16_MAT3x4_AMD             0x91CB
5512 #define GL_FLOAT16_MAT4x2_AMD             0x91CC
5513 #define GL_FLOAT16_MAT4x3_AMD             0x91CD
5514 #endif /* GL_AMD_gpu_shader_half_float */
5515 
5516 #ifndef GL_AMD_gpu_shader_int16
5517 #define GL_AMD_gpu_shader_int16 1
5518 #endif /* GL_AMD_gpu_shader_int16 */
5519 
5520 #ifndef GL_AMD_gpu_shader_int64
5521 #define GL_AMD_gpu_shader_int64 1
5522 typedef khronos_int64_t GLint64EXT;
5523 #define GL_INT64_NV                       0x140E
5524 #define GL_UNSIGNED_INT64_NV              0x140F
5525 #define GL_INT8_NV                        0x8FE0
5526 #define GL_INT8_VEC2_NV                   0x8FE1
5527 #define GL_INT8_VEC3_NV                   0x8FE2
5528 #define GL_INT8_VEC4_NV                   0x8FE3
5529 #define GL_INT16_NV                       0x8FE4
5530 #define GL_INT16_VEC2_NV                  0x8FE5
5531 #define GL_INT16_VEC3_NV                  0x8FE6
5532 #define GL_INT16_VEC4_NV                  0x8FE7
5533 #define GL_INT64_VEC2_NV                  0x8FE9
5534 #define GL_INT64_VEC3_NV                  0x8FEA
5535 #define GL_INT64_VEC4_NV                  0x8FEB
5536 #define GL_UNSIGNED_INT8_NV               0x8FEC
5537 #define GL_UNSIGNED_INT8_VEC2_NV          0x8FED
5538 #define GL_UNSIGNED_INT8_VEC3_NV          0x8FEE
5539 #define GL_UNSIGNED_INT8_VEC4_NV          0x8FEF
5540 #define GL_UNSIGNED_INT16_NV              0x8FF0
5541 #define GL_UNSIGNED_INT16_VEC2_NV         0x8FF1
5542 #define GL_UNSIGNED_INT16_VEC3_NV         0x8FF2
5543 #define GL_UNSIGNED_INT16_VEC4_NV         0x8FF3
5544 #define GL_UNSIGNED_INT64_VEC2_NV         0x8FF5
5545 #define GL_UNSIGNED_INT64_VEC3_NV         0x8FF6
5546 #define GL_UNSIGNED_INT64_VEC4_NV         0x8FF7
5547 typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
5548 typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
5549 typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5550 typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5551 typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5552 typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5553 typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5554 typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
5555 typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
5556 typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
5557 typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5558 typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5559 typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5560 typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5561 typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5562 typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
5563 typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
5564 typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
5565 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
5566 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
5567 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5568 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5569 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5570 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5571 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5572 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5573 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
5574 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
5575 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5576 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5577 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5578 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5579 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5580 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5581 #ifdef GL_GLEXT_PROTOTYPES
5582 GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
5583 GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
5584 GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5585 GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5586 GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5587 GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5588 GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5589 GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
5590 GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
5591 GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
5592 GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5593 GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5594 GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5595 GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5596 GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5597 GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
5598 GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
5599 GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
5600 GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
5601 GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
5602 GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
5603 GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
5604 GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5605 GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5606 GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5607 GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
5608 GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
5609 GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
5610 GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
5611 GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
5612 GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5613 GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5614 GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5615 GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
5616 #endif
5617 #endif /* GL_AMD_gpu_shader_int64 */
5618 
5619 #ifndef GL_AMD_interleaved_elements
5620 #define GL_AMD_interleaved_elements 1
5621 #define GL_VERTEX_ELEMENT_SWIZZLE_AMD     0x91A4
5622 #define GL_VERTEX_ID_SWIZZLE_AMD          0x91A5
5623 typedef void (APIENTRYP PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param);
5624 #ifdef GL_GLEXT_PROTOTYPES
5625 GLAPI void APIENTRY glVertexAttribParameteriAMD (GLuint index, GLenum pname, GLint param);
5626 #endif
5627 #endif /* GL_AMD_interleaved_elements */
5628 
5629 #ifndef GL_AMD_multi_draw_indirect
5630 #define GL_AMD_multi_draw_indirect 1
5631 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
5632 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
5633 #ifdef GL_GLEXT_PROTOTYPES
5634 GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
5635 GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
5636 #endif
5637 #endif /* GL_AMD_multi_draw_indirect */
5638 
5639 #ifndef GL_AMD_name_gen_delete
5640 #define GL_AMD_name_gen_delete 1
5641 #define GL_DATA_BUFFER_AMD                0x9151
5642 #define GL_PERFORMANCE_MONITOR_AMD        0x9152
5643 #define GL_QUERY_OBJECT_AMD               0x9153
5644 #define GL_VERTEX_ARRAY_OBJECT_AMD        0x9154
5645 #define GL_SAMPLER_OBJECT_AMD             0x9155
5646 typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
5647 typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
5648 typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
5649 #ifdef GL_GLEXT_PROTOTYPES
5650 GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
5651 GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
5652 GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
5653 #endif
5654 #endif /* GL_AMD_name_gen_delete */
5655 
5656 #ifndef GL_AMD_occlusion_query_event
5657 #define GL_AMD_occlusion_query_event 1
5658 #define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F
5659 #define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001
5660 #define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002
5661 #define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004
5662 #define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008
5663 #define GL_QUERY_ALL_EVENT_BITS_AMD       0xFFFFFFFF
5664 typedef void (APIENTRYP PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param);
5665 #ifdef GL_GLEXT_PROTOTYPES
5666 GLAPI void APIENTRY glQueryObjectParameteruiAMD (GLenum target, GLuint id, GLenum pname, GLuint param);
5667 #endif
5668 #endif /* GL_AMD_occlusion_query_event */
5669 
5670 #ifndef GL_AMD_performance_monitor
5671 #define GL_AMD_performance_monitor 1
5672 #define GL_COUNTER_TYPE_AMD               0x8BC0
5673 #define GL_COUNTER_RANGE_AMD              0x8BC1
5674 #define GL_UNSIGNED_INT64_AMD             0x8BC2
5675 #define GL_PERCENTAGE_AMD                 0x8BC3
5676 #define GL_PERFMON_RESULT_AVAILABLE_AMD   0x8BC4
5677 #define GL_PERFMON_RESULT_SIZE_AMD        0x8BC5
5678 #define GL_PERFMON_RESULT_AMD             0x8BC6
5679 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
5680 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
5681 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
5682 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
5683 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
5684 typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
5685 typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
5686 typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
5687 typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
5688 typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
5689 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
5690 #ifdef GL_GLEXT_PROTOTYPES
5691 GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
5692 GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
5693 GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
5694 GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
5695 GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
5696 GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
5697 GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
5698 GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
5699 GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
5700 GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
5701 GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
5702 #endif
5703 #endif /* GL_AMD_performance_monitor */
5704 
5705 #ifndef GL_AMD_pinned_memory
5706 #define GL_AMD_pinned_memory 1
5707 #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
5708 #endif /* GL_AMD_pinned_memory */
5709 
5710 #ifndef GL_AMD_query_buffer_object
5711 #define GL_AMD_query_buffer_object 1
5712 #define GL_QUERY_BUFFER_AMD               0x9192
5713 #define GL_QUERY_BUFFER_BINDING_AMD       0x9193
5714 #define GL_QUERY_RESULT_NO_WAIT_AMD       0x9194
5715 #endif /* GL_AMD_query_buffer_object */
5716 
5717 #ifndef GL_AMD_sample_positions
5718 #define GL_AMD_sample_positions 1
5719 typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
5720 #ifdef GL_GLEXT_PROTOTYPES
5721 GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
5722 #endif
5723 #endif /* GL_AMD_sample_positions */
5724 
5725 #ifndef GL_AMD_seamless_cubemap_per_texture
5726 #define GL_AMD_seamless_cubemap_per_texture 1
5727 #endif /* GL_AMD_seamless_cubemap_per_texture */
5728 
5729 #ifndef GL_AMD_shader_atomic_counter_ops
5730 #define GL_AMD_shader_atomic_counter_ops 1
5731 #endif /* GL_AMD_shader_atomic_counter_ops */
5732 
5733 #ifndef GL_AMD_shader_ballot
5734 #define GL_AMD_shader_ballot 1
5735 #endif /* GL_AMD_shader_ballot */
5736 
5737 #ifndef GL_AMD_shader_explicit_vertex_parameter
5738 #define GL_AMD_shader_explicit_vertex_parameter 1
5739 #endif /* GL_AMD_shader_explicit_vertex_parameter */
5740 
5741 #ifndef GL_AMD_shader_gpu_shader_half_float_fetch
5742 #define GL_AMD_shader_gpu_shader_half_float_fetch 1
5743 #endif /* GL_AMD_shader_gpu_shader_half_float_fetch */
5744 
5745 #ifndef GL_AMD_shader_image_load_store_lod
5746 #define GL_AMD_shader_image_load_store_lod 1
5747 #endif /* GL_AMD_shader_image_load_store_lod */
5748 
5749 #ifndef GL_AMD_shader_stencil_export
5750 #define GL_AMD_shader_stencil_export 1
5751 #endif /* GL_AMD_shader_stencil_export */
5752 
5753 #ifndef GL_AMD_shader_trinary_minmax
5754 #define GL_AMD_shader_trinary_minmax 1
5755 #endif /* GL_AMD_shader_trinary_minmax */
5756 
5757 #ifndef GL_AMD_sparse_texture
5758 #define GL_AMD_sparse_texture 1
5759 #define GL_VIRTUAL_PAGE_SIZE_X_AMD        0x9195
5760 #define GL_VIRTUAL_PAGE_SIZE_Y_AMD        0x9196
5761 #define GL_VIRTUAL_PAGE_SIZE_Z_AMD        0x9197
5762 #define GL_MAX_SPARSE_TEXTURE_SIZE_AMD    0x9198
5763 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
5764 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
5765 #define GL_MIN_SPARSE_LEVEL_AMD           0x919B
5766 #define GL_MIN_LOD_WARNING_AMD            0x919C
5767 #define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
5768 typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5769 typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5770 #ifdef GL_GLEXT_PROTOTYPES
5771 GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5772 GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
5773 #endif
5774 #endif /* GL_AMD_sparse_texture */
5775 
5776 #ifndef GL_AMD_stencil_operation_extended
5777 #define GL_AMD_stencil_operation_extended 1
5778 #define GL_SET_AMD                        0x874A
5779 #define GL_REPLACE_VALUE_AMD              0x874B
5780 #define GL_STENCIL_OP_VALUE_AMD           0x874C
5781 #define GL_STENCIL_BACK_OP_VALUE_AMD      0x874D
5782 typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
5783 #ifdef GL_GLEXT_PROTOTYPES
5784 GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
5785 #endif
5786 #endif /* GL_AMD_stencil_operation_extended */
5787 
5788 #ifndef GL_AMD_texture_gather_bias_lod
5789 #define GL_AMD_texture_gather_bias_lod 1
5790 #endif /* GL_AMD_texture_gather_bias_lod */
5791 
5792 #ifndef GL_AMD_texture_texture4
5793 #define GL_AMD_texture_texture4 1
5794 #endif /* GL_AMD_texture_texture4 */
5795 
5796 #ifndef GL_AMD_transform_feedback3_lines_triangles
5797 #define GL_AMD_transform_feedback3_lines_triangles 1
5798 #endif /* GL_AMD_transform_feedback3_lines_triangles */
5799 
5800 #ifndef GL_AMD_transform_feedback4
5801 #define GL_AMD_transform_feedback4 1
5802 #define GL_STREAM_RASTERIZATION_AMD       0x91A0
5803 #endif /* GL_AMD_transform_feedback4 */
5804 
5805 #ifndef GL_AMD_vertex_shader_layer
5806 #define GL_AMD_vertex_shader_layer 1
5807 #endif /* GL_AMD_vertex_shader_layer */
5808 
5809 #ifndef GL_AMD_vertex_shader_tessellator
5810 #define GL_AMD_vertex_shader_tessellator 1
5811 #define GL_SAMPLER_BUFFER_AMD             0x9001
5812 #define GL_INT_SAMPLER_BUFFER_AMD         0x9002
5813 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
5814 #define GL_TESSELLATION_MODE_AMD          0x9004
5815 #define GL_TESSELLATION_FACTOR_AMD        0x9005
5816 #define GL_DISCRETE_AMD                   0x9006
5817 #define GL_CONTINUOUS_AMD                 0x9007
5818 typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
5819 typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
5820 #ifdef GL_GLEXT_PROTOTYPES
5821 GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
5822 GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
5823 #endif
5824 #endif /* GL_AMD_vertex_shader_tessellator */
5825 
5826 #ifndef GL_AMD_vertex_shader_viewport_index
5827 #define GL_AMD_vertex_shader_viewport_index 1
5828 #endif /* GL_AMD_vertex_shader_viewport_index */
5829 
5830 #ifndef GL_APPLE_aux_depth_stencil
5831 #define GL_APPLE_aux_depth_stencil 1
5832 #define GL_AUX_DEPTH_STENCIL_APPLE        0x8A14
5833 #endif /* GL_APPLE_aux_depth_stencil */
5834 
5835 #ifndef GL_APPLE_client_storage
5836 #define GL_APPLE_client_storage 1
5837 #define GL_UNPACK_CLIENT_STORAGE_APPLE    0x85B2
5838 #endif /* GL_APPLE_client_storage */



5839 
5840 #ifndef GL_APPLE_element_array
5841 #define GL_APPLE_element_array 1
5842 #define GL_ELEMENT_ARRAY_APPLE            0x8A0C
5843 #define GL_ELEMENT_ARRAY_TYPE_APPLE       0x8A0D
5844 #define GL_ELEMENT_ARRAY_POINTER_APPLE    0x8A0E
5845 typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer);
5846 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
5847 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
5848 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
5849 typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
5850 #ifdef GL_GLEXT_PROTOTYPES
5851 GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const void *pointer);
5852 GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
5853 GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
5854 GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
5855 GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
5856 #endif
5857 #endif /* GL_APPLE_element_array */
5858 
5859 #ifndef GL_APPLE_fence
5860 #define GL_APPLE_fence 1
5861 #define GL_DRAW_PIXELS_APPLE              0x8A0A
5862 #define GL_FENCE_APPLE                    0x8A0B
5863 typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
5864 typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
5865 typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
5866 typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
5867 typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
5868 typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
5869 typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
5870 typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
5871 #ifdef GL_GLEXT_PROTOTYPES
5872 GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
5873 GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
5874 GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
5875 GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
5876 GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
5877 GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
5878 GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
5879 GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
5880 #endif
5881 #endif /* GL_APPLE_fence */
5882 
5883 #ifndef GL_APPLE_float_pixels
5884 #define GL_APPLE_float_pixels 1
5885 #define GL_HALF_APPLE                     0x140B
5886 #define GL_RGBA_FLOAT32_APPLE             0x8814
5887 #define GL_RGB_FLOAT32_APPLE              0x8815
5888 #define GL_ALPHA_FLOAT32_APPLE            0x8816
5889 #define GL_INTENSITY_FLOAT32_APPLE        0x8817
5890 #define GL_LUMINANCE_FLOAT32_APPLE        0x8818
5891 #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE  0x8819
5892 #define GL_RGBA_FLOAT16_APPLE             0x881A
5893 #define GL_RGB_FLOAT16_APPLE              0x881B
5894 #define GL_ALPHA_FLOAT16_APPLE            0x881C
5895 #define GL_INTENSITY_FLOAT16_APPLE        0x881D
5896 #define GL_LUMINANCE_FLOAT16_APPLE        0x881E
5897 #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE  0x881F
5898 #define GL_COLOR_FLOAT_APPLE              0x8A0F
5899 #endif /* GL_APPLE_float_pixels */
5900 
5901 #ifndef GL_APPLE_flush_buffer_range
5902 #define GL_APPLE_flush_buffer_range 1
5903 #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
5904 #define GL_BUFFER_FLUSHING_UNMAP_APPLE    0x8A13
5905 typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
5906 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
5907 #ifdef GL_GLEXT_PROTOTYPES
5908 GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
5909 GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
5910 #endif
5911 #endif /* GL_APPLE_flush_buffer_range */
5912 
5913 #ifndef GL_APPLE_object_purgeable
5914 #define GL_APPLE_object_purgeable 1
5915 #define GL_BUFFER_OBJECT_APPLE            0x85B3
5916 #define GL_RELEASED_APPLE                 0x8A19
5917 #define GL_VOLATILE_APPLE                 0x8A1A
5918 #define GL_RETAINED_APPLE                 0x8A1B
5919 #define GL_UNDEFINED_APPLE                0x8A1C
5920 #define GL_PURGEABLE_APPLE                0x8A1D
5921 typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
5922 typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
5923 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
5924 #ifdef GL_GLEXT_PROTOTYPES
5925 GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
5926 GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
5927 GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
5928 #endif
5929 #endif /* GL_APPLE_object_purgeable */
5930 
5931 #ifndef GL_APPLE_rgb_422
5932 #define GL_APPLE_rgb_422 1
5933 #define GL_RGB_422_APPLE                  0x8A1F
5934 #define GL_UNSIGNED_SHORT_8_8_APPLE       0x85BA
5935 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE   0x85BB
5936 #define GL_RGB_RAW_422_APPLE              0x8A51
5937 #endif /* GL_APPLE_rgb_422 */
5938 
5939 #ifndef GL_APPLE_row_bytes
5940 #define GL_APPLE_row_bytes 1
5941 #define GL_PACK_ROW_BYTES_APPLE           0x8A15
5942 #define GL_UNPACK_ROW_BYTES_APPLE         0x8A16
5943 #endif /* GL_APPLE_row_bytes */


5944 
5945 #ifndef GL_APPLE_specular_vector
5946 #define GL_APPLE_specular_vector 1
5947 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
5948 #endif /* GL_APPLE_specular_vector */


5949 
5950 #ifndef GL_APPLE_texture_range
5951 #define GL_APPLE_texture_range 1
5952 #define GL_TEXTURE_RANGE_LENGTH_APPLE     0x85B7
5953 #define GL_TEXTURE_RANGE_POINTER_APPLE    0x85B8
5954 #define GL_TEXTURE_STORAGE_HINT_APPLE     0x85BC
5955 #define GL_STORAGE_PRIVATE_APPLE          0x85BD
5956 #define GL_STORAGE_CACHED_APPLE           0x85BE
5957 #define GL_STORAGE_SHARED_APPLE           0x85BF
5958 typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const void *pointer);
5959 typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params);
5960 #ifdef GL_GLEXT_PROTOTYPES
5961 GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const void *pointer);
5962 GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void **params);




5963 #endif
5964 #endif /* GL_APPLE_texture_range */
5965 
5966 #ifndef GL_APPLE_transform_hint
5967 #define GL_APPLE_transform_hint 1
5968 #define GL_TRANSFORM_HINT_APPLE           0x85B1
5969 #endif /* GL_APPLE_transform_hint */
5970 
5971 #ifndef GL_APPLE_vertex_array_object
5972 #define GL_APPLE_vertex_array_object 1
5973 #define GL_VERTEX_ARRAY_BINDING_APPLE     0x85B5
5974 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
5975 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
5976 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
5977 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
5978 #ifdef GL_GLEXT_PROTOTYPES
5979 GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
5980 GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
5981 GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
5982 GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);





















5983 #endif
5984 #endif /* GL_APPLE_vertex_array_object */
5985 
5986 #ifndef GL_APPLE_vertex_array_range
5987 #define GL_APPLE_vertex_array_range 1
5988 #define GL_VERTEX_ARRAY_RANGE_APPLE       0x851D
5989 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
5990 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
5991 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
5992 #define GL_STORAGE_CLIENT_APPLE           0x85B4
5993 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
5994 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
5995 typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
5996 #ifdef GL_GLEXT_PROTOTYPES
5997 GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, void *pointer);
5998 GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, void *pointer);
5999 GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
6000 #endif
6001 #endif /* GL_APPLE_vertex_array_range */
6002 
6003 #ifndef GL_APPLE_vertex_program_evaluators
6004 #define GL_APPLE_vertex_program_evaluators 1
6005 #define GL_VERTEX_ATTRIB_MAP1_APPLE       0x8A00
6006 #define GL_VERTEX_ATTRIB_MAP2_APPLE       0x8A01
6007 #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE  0x8A02
6008 #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
6009 #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
6010 #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
6011 #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE  0x8A06
6012 #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
6013 #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
6014 #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
6015 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
6016 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
6017 typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
6018 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
6019 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
6020 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
6021 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
6022 #ifdef GL_GLEXT_PROTOTYPES
6023 GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
6024 GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
6025 GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
6026 GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
6027 GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
6028 GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
6029 GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
6030 #endif
6031 #endif /* GL_APPLE_vertex_program_evaluators */
6032 
6033 #ifndef GL_APPLE_ycbcr_422
6034 #define GL_APPLE_ycbcr_422 1
6035 #define GL_YCBCR_422_APPLE                0x85B9
6036 #endif /* GL_APPLE_ycbcr_422 */
6037 
6038 #ifndef GL_ATI_draw_buffers
6039 #define GL_ATI_draw_buffers 1
6040 #define GL_MAX_DRAW_BUFFERS_ATI           0x8824
6041 #define GL_DRAW_BUFFER0_ATI               0x8825
6042 #define GL_DRAW_BUFFER1_ATI               0x8826
6043 #define GL_DRAW_BUFFER2_ATI               0x8827
6044 #define GL_DRAW_BUFFER3_ATI               0x8828
6045 #define GL_DRAW_BUFFER4_ATI               0x8829
6046 #define GL_DRAW_BUFFER5_ATI               0x882A
6047 #define GL_DRAW_BUFFER6_ATI               0x882B
6048 #define GL_DRAW_BUFFER7_ATI               0x882C
6049 #define GL_DRAW_BUFFER8_ATI               0x882D
6050 #define GL_DRAW_BUFFER9_ATI               0x882E
6051 #define GL_DRAW_BUFFER10_ATI              0x882F
6052 #define GL_DRAW_BUFFER11_ATI              0x8830
6053 #define GL_DRAW_BUFFER12_ATI              0x8831
6054 #define GL_DRAW_BUFFER13_ATI              0x8832
6055 #define GL_DRAW_BUFFER14_ATI              0x8833
6056 #define GL_DRAW_BUFFER15_ATI              0x8834
6057 typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
6058 #ifdef GL_GLEXT_PROTOTYPES
6059 GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
6060 #endif
6061 #endif /* GL_ATI_draw_buffers */
6062 
6063 #ifndef GL_ATI_element_array
6064 #define GL_ATI_element_array 1
6065 #define GL_ELEMENT_ARRAY_ATI              0x8768
6066 #define GL_ELEMENT_ARRAY_TYPE_ATI         0x8769
6067 #define GL_ELEMENT_ARRAY_POINTER_ATI      0x876A
6068 typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void *pointer);
6069 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
6070 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
6071 #ifdef GL_GLEXT_PROTOTYPES
6072 GLAPI void APIENTRY glElementPointerATI (GLenum type, const void *pointer);
6073 GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
6074 GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
6075 #endif
6076 #endif /* GL_ATI_element_array */
6077 
6078 #ifndef GL_ATI_envmap_bumpmap
6079 #define GL_ATI_envmap_bumpmap 1
6080 #define GL_BUMP_ROT_MATRIX_ATI            0x8775
6081 #define GL_BUMP_ROT_MATRIX_SIZE_ATI       0x8776
6082 #define GL_BUMP_NUM_TEX_UNITS_ATI         0x8777
6083 #define GL_BUMP_TEX_UNITS_ATI             0x8778
6084 #define GL_DUDV_ATI                       0x8779
6085 #define GL_DU8DV8_ATI                     0x877A
6086 #define GL_BUMP_ENVMAP_ATI                0x877B
6087 #define GL_BUMP_TARGET_ATI                0x877C
6088 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
6089 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
6090 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
6091 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
6092 #ifdef GL_GLEXT_PROTOTYPES
6093 GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
6094 GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
6095 GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
6096 GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
6097 #endif
6098 #endif /* GL_ATI_envmap_bumpmap */
6099 
6100 #ifndef GL_ATI_fragment_shader
6101 #define GL_ATI_fragment_shader 1
6102 #define GL_FRAGMENT_SHADER_ATI            0x8920
6103 #define GL_REG_0_ATI                      0x8921
6104 #define GL_REG_1_ATI                      0x8922
6105 #define GL_REG_2_ATI                      0x8923
6106 #define GL_REG_3_ATI                      0x8924
6107 #define GL_REG_4_ATI                      0x8925
6108 #define GL_REG_5_ATI                      0x8926
6109 #define GL_REG_6_ATI                      0x8927
6110 #define GL_REG_7_ATI                      0x8928
6111 #define GL_REG_8_ATI                      0x8929
6112 #define GL_REG_9_ATI                      0x892A
6113 #define GL_REG_10_ATI                     0x892B
6114 #define GL_REG_11_ATI                     0x892C
6115 #define GL_REG_12_ATI                     0x892D
6116 #define GL_REG_13_ATI                     0x892E
6117 #define GL_REG_14_ATI                     0x892F
6118 #define GL_REG_15_ATI                     0x8930
6119 #define GL_REG_16_ATI                     0x8931
6120 #define GL_REG_17_ATI                     0x8932
6121 #define GL_REG_18_ATI                     0x8933
6122 #define GL_REG_19_ATI                     0x8934
6123 #define GL_REG_20_ATI                     0x8935
6124 #define GL_REG_21_ATI                     0x8936
6125 #define GL_REG_22_ATI                     0x8937
6126 #define GL_REG_23_ATI                     0x8938
6127 #define GL_REG_24_ATI                     0x8939
6128 #define GL_REG_25_ATI                     0x893A
6129 #define GL_REG_26_ATI                     0x893B
6130 #define GL_REG_27_ATI                     0x893C
6131 #define GL_REG_28_ATI                     0x893D
6132 #define GL_REG_29_ATI                     0x893E
6133 #define GL_REG_30_ATI                     0x893F
6134 #define GL_REG_31_ATI                     0x8940
6135 #define GL_CON_0_ATI                      0x8941
6136 #define GL_CON_1_ATI                      0x8942
6137 #define GL_CON_2_ATI                      0x8943
6138 #define GL_CON_3_ATI                      0x8944
6139 #define GL_CON_4_ATI                      0x8945
6140 #define GL_CON_5_ATI                      0x8946
6141 #define GL_CON_6_ATI                      0x8947
6142 #define GL_CON_7_ATI                      0x8948
6143 #define GL_CON_8_ATI                      0x8949
6144 #define GL_CON_9_ATI                      0x894A
6145 #define GL_CON_10_ATI                     0x894B
6146 #define GL_CON_11_ATI                     0x894C
6147 #define GL_CON_12_ATI                     0x894D
6148 #define GL_CON_13_ATI                     0x894E
6149 #define GL_CON_14_ATI                     0x894F
6150 #define GL_CON_15_ATI                     0x8950
6151 #define GL_CON_16_ATI                     0x8951
6152 #define GL_CON_17_ATI                     0x8952
6153 #define GL_CON_18_ATI                     0x8953
6154 #define GL_CON_19_ATI                     0x8954
6155 #define GL_CON_20_ATI                     0x8955
6156 #define GL_CON_21_ATI                     0x8956
6157 #define GL_CON_22_ATI                     0x8957
6158 #define GL_CON_23_ATI                     0x8958
6159 #define GL_CON_24_ATI                     0x8959
6160 #define GL_CON_25_ATI                     0x895A
6161 #define GL_CON_26_ATI                     0x895B
6162 #define GL_CON_27_ATI                     0x895C
6163 #define GL_CON_28_ATI                     0x895D
6164 #define GL_CON_29_ATI                     0x895E
6165 #define GL_CON_30_ATI                     0x895F
6166 #define GL_CON_31_ATI                     0x8960
6167 #define GL_MOV_ATI                        0x8961
6168 #define GL_ADD_ATI                        0x8963
6169 #define GL_MUL_ATI                        0x8964
6170 #define GL_SUB_ATI                        0x8965
6171 #define GL_DOT3_ATI                       0x8966
6172 #define GL_DOT4_ATI                       0x8967
6173 #define GL_MAD_ATI                        0x8968
6174 #define GL_LERP_ATI                       0x8969
6175 #define GL_CND_ATI                        0x896A
6176 #define GL_CND0_ATI                       0x896B
6177 #define GL_DOT2_ADD_ATI                   0x896C
6178 #define GL_SECONDARY_INTERPOLATOR_ATI     0x896D
6179 #define GL_NUM_FRAGMENT_REGISTERS_ATI     0x896E
6180 #define GL_NUM_FRAGMENT_CONSTANTS_ATI     0x896F
6181 #define GL_NUM_PASSES_ATI                 0x8970
6182 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI  0x8971
6183 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI     0x8972
6184 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
6185 #define GL_NUM_LOOPBACK_COMPONENTS_ATI    0x8974
6186 #define GL_COLOR_ALPHA_PAIRING_ATI        0x8975
6187 #define GL_SWIZZLE_STR_ATI                0x8976
6188 #define GL_SWIZZLE_STQ_ATI                0x8977
6189 #define GL_SWIZZLE_STR_DR_ATI             0x8978
6190 #define GL_SWIZZLE_STQ_DQ_ATI             0x8979
6191 #define GL_SWIZZLE_STRQ_ATI               0x897A
6192 #define GL_SWIZZLE_STRQ_DQ_ATI            0x897B
6193 #define GL_RED_BIT_ATI                    0x00000001
6194 #define GL_GREEN_BIT_ATI                  0x00000002
6195 #define GL_BLUE_BIT_ATI                   0x00000004
6196 #define GL_2X_BIT_ATI                     0x00000001
6197 #define GL_4X_BIT_ATI                     0x00000002
6198 #define GL_8X_BIT_ATI                     0x00000004
6199 #define GL_HALF_BIT_ATI                   0x00000008
6200 #define GL_QUARTER_BIT_ATI                0x00000010
6201 #define GL_EIGHTH_BIT_ATI                 0x00000020
6202 #define GL_SATURATE_BIT_ATI               0x00000040
6203 #define GL_COMP_BIT_ATI                   0x00000002
6204 #define GL_NEGATE_BIT_ATI                 0x00000004
6205 #define GL_BIAS_BIT_ATI                   0x00000008
6206 typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
6207 typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
6208 typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
6209 typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
6210 typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
6211 typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
6212 typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
6213 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
6214 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
6215 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
6216 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
6217 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
6218 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
6219 typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
6220 #ifdef GL_GLEXT_PROTOTYPES
6221 GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
6222 GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
6223 GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
6224 GLAPI void APIENTRY glBeginFragmentShaderATI (void);
6225 GLAPI void APIENTRY glEndFragmentShaderATI (void);
6226 GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
6227 GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
6228 GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
6229 GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
6230 GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
6231 GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
6232 GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
6233 GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
6234 GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
6235 #endif
6236 #endif /* GL_ATI_fragment_shader */
6237 
6238 #ifndef GL_ATI_map_object_buffer
6239 #define GL_ATI_map_object_buffer 1
6240 typedef void *(APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
6241 typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
6242 #ifdef GL_GLEXT_PROTOTYPES
6243 GLAPI void *APIENTRY glMapObjectBufferATI (GLuint buffer);
6244 GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
6245 #endif
6246 #endif /* GL_ATI_map_object_buffer */
6247 
6248 #ifndef GL_ATI_meminfo
6249 #define GL_ATI_meminfo 1
6250 #define GL_VBO_FREE_MEMORY_ATI            0x87FB
6251 #define GL_TEXTURE_FREE_MEMORY_ATI        0x87FC
6252 #define GL_RENDERBUFFER_FREE_MEMORY_ATI   0x87FD
6253 #endif /* GL_ATI_meminfo */
6254 
6255 #ifndef GL_ATI_pixel_format_float
6256 #define GL_ATI_pixel_format_float 1
6257 #define GL_RGBA_FLOAT_MODE_ATI            0x8820
6258 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
6259 #endif /* GL_ATI_pixel_format_float */
6260 
6261 #ifndef GL_ATI_pn_triangles
6262 #define GL_ATI_pn_triangles 1
6263 #define GL_PN_TRIANGLES_ATI               0x87F0
6264 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
6265 #define GL_PN_TRIANGLES_POINT_MODE_ATI    0x87F2
6266 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI   0x87F3
6267 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
6268 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
6269 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
6270 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
6271 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
6272 typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
6273 typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
6274 #ifdef GL_GLEXT_PROTOTYPES
6275 GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
6276 GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
6277 #endif
6278 #endif /* GL_ATI_pn_triangles */
6279 
6280 #ifndef GL_ATI_separate_stencil
6281 #define GL_ATI_separate_stencil 1
6282 #define GL_STENCIL_BACK_FUNC_ATI          0x8800
6283 #define GL_STENCIL_BACK_FAIL_ATI          0x8801
6284 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
6285 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
6286 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
6287 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
6288 #ifdef GL_GLEXT_PROTOTYPES
6289 GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
6290 GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
6291 #endif
6292 #endif /* GL_ATI_separate_stencil */
6293 
6294 #ifndef GL_ATI_text_fragment_shader
6295 #define GL_ATI_text_fragment_shader 1
6296 #define GL_TEXT_FRAGMENT_SHADER_ATI       0x8200
6297 #endif /* GL_ATI_text_fragment_shader */




















6298 
6299 #ifndef GL_ATI_texture_env_combine3
6300 #define GL_ATI_texture_env_combine3 1
6301 #define GL_MODULATE_ADD_ATI               0x8744
6302 #define GL_MODULATE_SIGNED_ADD_ATI        0x8745
6303 #define GL_MODULATE_SUBTRACT_ATI          0x8746
6304 #endif /* GL_ATI_texture_env_combine3 */



6305 
6306 #ifndef GL_ATI_texture_float
6307 #define GL_ATI_texture_float 1
6308 #define GL_RGBA_FLOAT32_ATI               0x8814
6309 #define GL_RGB_FLOAT32_ATI                0x8815
6310 #define GL_ALPHA_FLOAT32_ATI              0x8816
6311 #define GL_INTENSITY_FLOAT32_ATI          0x8817
6312 #define GL_LUMINANCE_FLOAT32_ATI          0x8818
6313 #define GL_LUMINANCE_ALPHA_FLOAT32_ATI    0x8819
6314 #define GL_RGBA_FLOAT16_ATI               0x881A
6315 #define GL_RGB_FLOAT16_ATI                0x881B
6316 #define GL_ALPHA_FLOAT16_ATI              0x881C
6317 #define GL_INTENSITY_FLOAT16_ATI          0x881D
6318 #define GL_LUMINANCE_FLOAT16_ATI          0x881E
6319 #define GL_LUMINANCE_ALPHA_FLOAT16_ATI    0x881F
6320 #endif /* GL_ATI_texture_float */
6321 
6322 #ifndef GL_ATI_texture_mirror_once
6323 #define GL_ATI_texture_mirror_once 1
6324 #define GL_MIRROR_CLAMP_ATI               0x8742
6325 #define GL_MIRROR_CLAMP_TO_EDGE_ATI       0x8743
6326 #endif /* GL_ATI_texture_mirror_once */

6327 
6328 #ifndef GL_ATI_vertex_array_object
6329 #define GL_ATI_vertex_array_object 1
6330 #define GL_STATIC_ATI                     0x8760
6331 #define GL_DYNAMIC_ATI                    0x8761
6332 #define GL_PRESERVE_ATI                   0x8762
6333 #define GL_DISCARD_ATI                    0x8763
6334 #define GL_OBJECT_BUFFER_SIZE_ATI         0x8764
6335 #define GL_OBJECT_BUFFER_USAGE_ATI        0x8765
6336 #define GL_ARRAY_OBJECT_BUFFER_ATI        0x8766
6337 #define GL_ARRAY_OBJECT_OFFSET_ATI        0x8767
6338 typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void *pointer, GLenum usage);
6339 typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
6340 typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
6341 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
6342 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
6343 typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
6344 typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6345 typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
6346 typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
6347 typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6348 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
6349 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
6350 #ifdef GL_GLEXT_PROTOTYPES
6351 GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const void *pointer, GLenum usage);
6352 GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
6353 GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
6354 GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
6355 GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
6356 GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
6357 GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6358 GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
6359 GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
6360 GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
6361 GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
6362 GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
6363 #endif
6364 #endif /* GL_ATI_vertex_array_object */
6365 
6366 #ifndef GL_ATI_vertex_attrib_array_object
6367 #define GL_ATI_vertex_attrib_array_object 1
6368 typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
6369 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
6370 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
6371 #ifdef GL_GLEXT_PROTOTYPES
6372 GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
6373 GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
6374 GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
6375 #endif
6376 #endif /* GL_ATI_vertex_attrib_array_object */
6377 
6378 #ifndef GL_ATI_vertex_streams
6379 #define GL_ATI_vertex_streams 1
6380 #define GL_MAX_VERTEX_STREAMS_ATI         0x876B
6381 #define GL_VERTEX_STREAM0_ATI             0x876C
6382 #define GL_VERTEX_STREAM1_ATI             0x876D
6383 #define GL_VERTEX_STREAM2_ATI             0x876E
6384 #define GL_VERTEX_STREAM3_ATI             0x876F
6385 #define GL_VERTEX_STREAM4_ATI             0x8770
6386 #define GL_VERTEX_STREAM5_ATI             0x8771
6387 #define GL_VERTEX_STREAM6_ATI             0x8772
6388 #define GL_VERTEX_STREAM7_ATI             0x8773
6389 #define GL_VERTEX_SOURCE_ATI              0x8774
6390 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
6391 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
6392 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
6393 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
6394 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
6395 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
6396 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
6397 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
6398 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
6399 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
6400 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
6401 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
6402 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
6403 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
6404 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
6405 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
6406 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
6407 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
6408 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
6409 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
6410 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
6411 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
6412 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
6413 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
6414 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
6415 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
6416 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
6417 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
6418 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6419 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
6420 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6421 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
6422 typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
6423 typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
6424 typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
6425 typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
6426 typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
6427 typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
6428 typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
6429 typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
6430 typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
6431 typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
6432 typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
6433 typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
6434 typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
6435 #ifdef GL_GLEXT_PROTOTYPES
6436 GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
6437 GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
6438 GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
6439 GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
6440 GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
6441 GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
6442 GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
6443 GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
6444 GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
6445 GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
6446 GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
6447 GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
6448 GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
6449 GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
6450 GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
6451 GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
6452 GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
6453 GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
6454 GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
6455 GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
6456 GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
6457 GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
6458 GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
6459 GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
6460 GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
6461 GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
6462 GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
6463 GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
6464 GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6465 GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
6466 GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6467 GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
6468 GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
6469 GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
6470 GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
6471 GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
6472 GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
6473 GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
6474 GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
6475 GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
6476 GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
6477 GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
6478 GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
6479 GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
6480 GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
6481 #endif
6482 #endif /* GL_ATI_vertex_streams */
6483 
6484 #ifndef GL_EXT_422_pixels
6485 #define GL_EXT_422_pixels 1
6486 #define GL_422_EXT                        0x80CC
6487 #define GL_422_REV_EXT                    0x80CD
6488 #define GL_422_AVERAGE_EXT                0x80CE
6489 #define GL_422_REV_AVERAGE_EXT            0x80CF
6490 #endif /* GL_EXT_422_pixels */
6491 
6492 #ifndef GL_EXT_EGL_image_storage
6493 #define GL_EXT_EGL_image_storage 1
6494 typedef void *GLeglImageOES;
6495 typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list);
6496 typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
6497 #ifdef GL_GLEXT_PROTOTYPES
6498 GLAPI void APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list);
6499 GLAPI void APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
6500 #endif
6501 #endif /* GL_EXT_EGL_image_storage */
6502 
6503 #ifndef GL_EXT_abgr
6504 #define GL_EXT_abgr 1
6505 #define GL_ABGR_EXT                       0x8000
6506 #endif /* GL_EXT_abgr */
6507 
6508 #ifndef GL_EXT_bgra
6509 #define GL_EXT_bgra 1
6510 #define GL_BGR_EXT                        0x80E0
6511 #define GL_BGRA_EXT                       0x80E1
6512 #endif /* GL_EXT_bgra */

6513 
6514 #ifndef GL_EXT_bindable_uniform
6515 #define GL_EXT_bindable_uniform 1
6516 #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
6517 #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
6518 #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
6519 #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT  0x8DED
6520 #define GL_UNIFORM_BUFFER_EXT             0x8DEE
6521 #define GL_UNIFORM_BUFFER_BINDING_EXT     0x8DEF
6522 typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
6523 typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
6524 typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
6525 #ifdef GL_GLEXT_PROTOTYPES
6526 GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
6527 GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
6528 GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
6529 #endif
6530 #endif /* GL_EXT_bindable_uniform */
6531 
6532 #ifndef GL_EXT_blend_color
6533 #define GL_EXT_blend_color 1
6534 #define GL_CONSTANT_COLOR_EXT             0x8001
6535 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
6536 #define GL_CONSTANT_ALPHA_EXT             0x8003
6537 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
6538 #define GL_BLEND_COLOR_EXT                0x8005
6539 typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
6540 #ifdef GL_GLEXT_PROTOTYPES
6541 GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
6542 #endif
6543 #endif /* GL_EXT_blend_color */
6544 
6545 #ifndef GL_EXT_blend_equation_separate
6546 #define GL_EXT_blend_equation_separate 1
6547 #define GL_BLEND_EQUATION_RGB_EXT         0x8009
6548 #define GL_BLEND_EQUATION_ALPHA_EXT       0x883D
6549 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
6550 #ifdef GL_GLEXT_PROTOTYPES
6551 GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
6552 #endif
6553 #endif /* GL_EXT_blend_equation_separate */
6554 
6555 #ifndef GL_EXT_blend_func_separate
6556 #define GL_EXT_blend_func_separate 1
6557 #define GL_BLEND_DST_RGB_EXT              0x80C8
6558 #define GL_BLEND_SRC_RGB_EXT              0x80C9
6559 #define GL_BLEND_DST_ALPHA_EXT            0x80CA
6560 #define GL_BLEND_SRC_ALPHA_EXT            0x80CB
6561 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
6562 #ifdef GL_GLEXT_PROTOTYPES
6563 GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
6564 #endif
6565 #endif /* GL_EXT_blend_func_separate */
6566 
6567 #ifndef GL_EXT_blend_logic_op
6568 #define GL_EXT_blend_logic_op 1
6569 #endif /* GL_EXT_blend_logic_op */

6570 
6571 #ifndef GL_EXT_blend_minmax
6572 #define GL_EXT_blend_minmax 1
6573 #define GL_MIN_EXT                        0x8007
6574 #define GL_MAX_EXT                        0x8008
6575 #define GL_FUNC_ADD_EXT                   0x8006
6576 #define GL_BLEND_EQUATION_EXT             0x8009
6577 typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
6578 #ifdef GL_GLEXT_PROTOTYPES
6579 GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);







6580 #endif
6581 #endif /* GL_EXT_blend_minmax */
6582 
6583 #ifndef GL_EXT_blend_subtract
6584 #define GL_EXT_blend_subtract 1
6585 #define GL_FUNC_SUBTRACT_EXT              0x800A
6586 #define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
6587 #endif /* GL_EXT_blend_subtract */





































































6588 
6589 #ifndef GL_EXT_clip_volume_hint
6590 #define GL_EXT_clip_volume_hint 1
6591 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT  0x80F0
6592 #endif /* GL_EXT_clip_volume_hint */


















6593 
6594 #ifndef GL_EXT_cmyka
6595 #define GL_EXT_cmyka 1
6596 #define GL_CMYK_EXT                       0x800C
6597 #define GL_CMYKA_EXT                      0x800D
6598 #define GL_PACK_CMYK_HINT_EXT             0x800E
6599 #define GL_UNPACK_CMYK_HINT_EXT           0x800F
6600 #endif /* GL_EXT_cmyka */
6601 
6602 #ifndef GL_EXT_color_subtable
6603 #define GL_EXT_color_subtable 1
6604 typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
6605 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
6606 #ifdef GL_GLEXT_PROTOTYPES
6607 GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
6608 GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
6609 #endif
6610 #endif /* GL_EXT_color_subtable */
6611 
6612 #ifndef GL_EXT_compiled_vertex_array
6613 #define GL_EXT_compiled_vertex_array 1
6614 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT   0x81A8
6615 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT   0x81A9
6616 typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
6617 typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
6618 #ifdef GL_GLEXT_PROTOTYPES
6619 GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
6620 GLAPI void APIENTRY glUnlockArraysEXT (void);
6621 #endif
6622 #endif /* GL_EXT_compiled_vertex_array */
6623 
6624 #ifndef GL_EXT_convolution
6625 #define GL_EXT_convolution 1
6626 #define GL_CONVOLUTION_1D_EXT             0x8010
6627 #define GL_CONVOLUTION_2D_EXT             0x8011
6628 #define GL_SEPARABLE_2D_EXT               0x8012
6629 #define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
6630 #define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
6631 #define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
6632 #define GL_REDUCE_EXT                     0x8016
6633 #define GL_CONVOLUTION_FORMAT_EXT         0x8017
6634 #define GL_CONVOLUTION_WIDTH_EXT          0x8018
6635 #define GL_CONVOLUTION_HEIGHT_EXT         0x8019
6636 #define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
6637 #define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
6638 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
6639 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
6640 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
6641 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
6642 #define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
6643 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
6644 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
6645 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
6646 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
6647 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
6648 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
6649 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
6650 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
6651 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
6652 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6653 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
6654 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *image);
6655 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
6656 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
6657 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
6658 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
6659 #ifdef GL_GLEXT_PROTOTYPES
6660 GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
6661 GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
6662 GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
6663 GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
6664 GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
6665 GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
6666 GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6667 GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
6668 GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void *image);
6669 GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
6670 GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
6671 GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
6672 GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
6673 #endif
6674 #endif /* GL_EXT_convolution */
6675 
6676 #ifndef GL_EXT_coordinate_frame
6677 #define GL_EXT_coordinate_frame 1
6678 #define GL_TANGENT_ARRAY_EXT              0x8439
6679 #define GL_BINORMAL_ARRAY_EXT             0x843A
6680 #define GL_CURRENT_TANGENT_EXT            0x843B
6681 #define GL_CURRENT_BINORMAL_EXT           0x843C
6682 #define GL_TANGENT_ARRAY_TYPE_EXT         0x843E
6683 #define GL_TANGENT_ARRAY_STRIDE_EXT       0x843F
6684 #define GL_BINORMAL_ARRAY_TYPE_EXT        0x8440
6685 #define GL_BINORMAL_ARRAY_STRIDE_EXT      0x8441
6686 #define GL_TANGENT_ARRAY_POINTER_EXT      0x8442
6687 #define GL_BINORMAL_ARRAY_POINTER_EXT     0x8443
6688 #define GL_MAP1_TANGENT_EXT               0x8444
6689 #define GL_MAP2_TANGENT_EXT               0x8445
6690 #define GL_MAP1_BINORMAL_EXT              0x8446
6691 #define GL_MAP2_BINORMAL_EXT              0x8447
6692 typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
6693 typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
6694 typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
6695 typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
6696 typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
6697 typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
6698 typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
6699 typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
6700 typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
6701 typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
6702 typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
6703 typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
6704 typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
6705 typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
6706 typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
6707 typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
6708 typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
6709 typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
6710 typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
6711 typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
6712 typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
6713 typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
6714 #ifdef GL_GLEXT_PROTOTYPES
6715 GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
6716 GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
6717 GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
6718 GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
6719 GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
6720 GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
6721 GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
6722 GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
6723 GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
6724 GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
6725 GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
6726 GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
6727 GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
6728 GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
6729 GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
6730 GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
6731 GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
6732 GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
6733 GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
6734 GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
6735 GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const void *pointer);
6736 GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const void *pointer);
6737 #endif
6738 #endif /* GL_EXT_coordinate_frame */
6739 
6740 #ifndef GL_EXT_copy_texture
6741 #define GL_EXT_copy_texture 1
6742 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6743 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6744 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6745 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6746 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6747 #ifdef GL_GLEXT_PROTOTYPES
6748 GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6749 GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6750 GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6751 GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6752 GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6753 #endif
6754 #endif /* GL_EXT_copy_texture */
6755 
6756 #ifndef GL_EXT_cull_vertex
6757 #define GL_EXT_cull_vertex 1
6758 #define GL_CULL_VERTEX_EXT                0x81AA
6759 #define GL_CULL_VERTEX_EYE_POSITION_EXT   0x81AB
6760 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
6761 typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
6762 typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
6763 #ifdef GL_GLEXT_PROTOTYPES
6764 GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
6765 GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
6766 #endif
6767 #endif /* GL_EXT_cull_vertex */
6768 
6769 #ifndef GL_EXT_debug_label
6770 #define GL_EXT_debug_label 1
6771 #define GL_PROGRAM_PIPELINE_OBJECT_EXT    0x8A4F
6772 #define GL_PROGRAM_OBJECT_EXT             0x8B40
6773 #define GL_SHADER_OBJECT_EXT              0x8B48
6774 #define GL_BUFFER_OBJECT_EXT              0x9151
6775 #define GL_QUERY_OBJECT_EXT               0x9153
6776 #define GL_VERTEX_ARRAY_OBJECT_EXT        0x9154
6777 typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
6778 typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
6779 #ifdef GL_GLEXT_PROTOTYPES
6780 GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
6781 GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
6782 #endif
6783 #endif /* GL_EXT_debug_label */
6784 
6785 #ifndef GL_EXT_debug_marker
6786 #define GL_EXT_debug_marker 1
6787 typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
6788 typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
6789 typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
6790 #ifdef GL_GLEXT_PROTOTYPES
6791 GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
6792 GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
6793 GLAPI void APIENTRY glPopGroupMarkerEXT (void);

6794 #endif
6795 #endif /* GL_EXT_debug_marker */
6796 
6797 #ifndef GL_EXT_depth_bounds_test
6798 #define GL_EXT_depth_bounds_test 1
6799 #define GL_DEPTH_BOUNDS_TEST_EXT          0x8890
6800 #define GL_DEPTH_BOUNDS_EXT               0x8891
6801 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
6802 #ifdef GL_GLEXT_PROTOTYPES
6803 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
6804 #endif
6805 #endif /* GL_EXT_depth_bounds_test */
6806 
6807 #ifndef GL_EXT_direct_state_access
6808 #define GL_EXT_direct_state_access 1
6809 #define GL_PROGRAM_MATRIX_EXT             0x8E2D
6810 #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT   0x8E2E
6811 #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
6812 typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
6813 typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
6814 typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
6815 typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
6816 typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
6817 typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
6818 typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
6819 typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6820 typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6821 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
6822 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
6823 typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6824 typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
6825 typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
6826 typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
6827 typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
6828 typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
6829 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
6830 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
6831 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
6832 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6833 typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6834 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
6835 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6836 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
6837 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6838 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6839 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6840 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6841 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6842 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
6843 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
6844 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
6845 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
6846 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
6847 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
6848 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6849 typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
6850 typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
6851 typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6852 typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6853 typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
6854 typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6855 typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
6856 typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
6857 typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
6858 typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
6859 typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
6860 typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
6861 typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6862 typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6863 typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
6864 typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
6865 typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
6866 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
6867 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6868 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
6869 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
6870 typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
6871 typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
6872 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
6873 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
6874 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
6875 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
6876 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
6877 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6878 typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
6879 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
6880 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6881 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
6882 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
6883 typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
6884 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
6885 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6886 typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
6887 typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
6888 typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
6889 typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
6890 typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data);
6891 typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
6892 typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
6893 typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
6894 typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
6895 typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
6896 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
6897 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6898 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6899 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
6900 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
6901 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6902 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img);
6903 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
6904 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
6905 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
6906 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
6907 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
6908 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
6909 typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img);
6910 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
6911 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
6912 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
6913 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
6914 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
6915 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
6916 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
6917 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
6918 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
6919 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params);
6920 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
6921 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
6922 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
6923 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
6924 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
6925 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
6926 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
6927 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
6928 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
6929 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6930 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6931 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6932 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
6933 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6934 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6935 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6936 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
6937 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6938 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6939 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6940 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6941 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6942 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6943 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6944 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6945 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6946 typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
6947 typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
6948 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
6949 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
6950 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
6951 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
6952 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
6953 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
6954 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
6955 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
6956 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
6957 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
6958 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
6959 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
6960 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6961 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6962 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6963 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
6964 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
6965 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
6966 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
6967 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
6968 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
6969 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
6970 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
6971 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
6972 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
6973 typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
6974 typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
6975 typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params);
6976 typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params);
6977 typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params);
6978 typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
6979 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6980 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
6981 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6982 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
6983 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
6984 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
6985 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
6986 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string);
6987 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
6988 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
6989 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
6990 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
6991 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
6992 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6993 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6994 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
6995 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
6996 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
6997 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
6998 typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
6999 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
7000 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
7001 typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
7002 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
7003 typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
7004 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
7005 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
7006 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
7007 typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
7008 typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
7009 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7010 typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7011 typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
7012 typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
7013 typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
7014 typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7015 typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7016 typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
7017 typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7018 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
7019 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7020 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
7021 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
7022 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
7023 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
7024 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param);
7025 typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param);
7026 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
7027 typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param);
7028 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
7029 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
7030 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
7031 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
7032 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
7033 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
7034 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
7035 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
7036 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
7037 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
7038 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7039 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7040 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7041 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7042 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7043 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7044 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7045 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7046 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7047 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7048 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7049 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7050 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7051 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7052 typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
7053 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
7054 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
7055 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
7056 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
7057 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
7058 typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
7059 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
7060 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
7061 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
7062 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
7063 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
7064 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7065 typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
7066 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
7067 #ifdef GL_GLEXT_PROTOTYPES
7068 GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
7069 GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
7070 GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
7071 GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
7072 GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
7073 GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
7074 GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
7075 GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
7076 GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
7077 GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
7078 GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
7079 GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
7080 GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
7081 GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
7082 GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
7083 GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
7084 GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
7085 GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
7086 GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
7087 GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
7088 GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
7089 GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
7090 GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
7091 GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
7092 GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
7093 GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
7094 GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
7095 GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
7096 GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
7097 GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
7098 GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
7099 GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
7100 GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
7101 GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
7102 GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
7103 GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
7104 GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
7105 GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
7106 GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
7107 GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
7108 GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
7109 GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
7110 GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
7111 GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
7112 GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
7113 GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
7114 GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
7115 GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
7116 GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
7117 GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
7118 GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
7119 GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
7120 GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
7121 GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
7122 GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
7123 GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
7124 GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
7125 GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
7126 GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
7127 GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
7128 GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
7129 GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
7130 GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
7131 GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
7132 GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
7133 GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
7134 GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
7135 GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
7136 GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
7137 GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
7138 GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
7139 GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
7140 GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
7141 GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
7142 GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
7143 GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
7144 GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
7145 GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
7146 GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data);
7147 GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
7148 GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
7149 GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
7150 GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
7151 GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
7152 GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
7153 GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
7154 GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
7155 GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
7156 GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
7157 GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
7158 GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img);
7159 GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
7160 GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
7161 GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
7162 GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
7163 GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
7164 GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
7165 GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img);
7166 GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
7167 GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
7168 GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
7169 GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
7170 GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
7171 GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
7172 GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
7173 GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
7174 GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
7175 GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params);
7176 GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
7177 GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
7178 GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
7179 GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
7180 GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
7181 GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
7182 GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
7183 GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
7184 GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
7185 GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7186 GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7187 GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7188 GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7189 GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
7190 GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
7191 GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
7192 GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
7193 GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7194 GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7195 GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7196 GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7197 GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7198 GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7199 GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7200 GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7201 GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7202 GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
7203 GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
7204 GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
7205 GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
7206 GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
7207 GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
7208 GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
7209 GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
7210 GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
7211 GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
7212 GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
7213 GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
7214 GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
7215 GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7216 GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
7217 GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
7218 GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
7219 GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
7220 GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7221 GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
7222 GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
7223 GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
7224 GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
7225 GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
7226 GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
7227 GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
7228 GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
7229 GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index);
7230 GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index);
7231 GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params);
7232 GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params);
7233 GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params);
7234 GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
7235 GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7236 GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
7237 GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
7238 GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
7239 GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
7240 GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
7241 GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
7242 GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string);
7243 GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
7244 GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
7245 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7246 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
7247 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
7248 GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7249 GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7250 GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7251 GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7252 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
7253 GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
7254 GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
7255 GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
7256 GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
7257 GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
7258 GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
7259 GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
7260 GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
7261 GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
7262 GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
7263 GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
7264 GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
7265 GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7266 GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7267 GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
7268 GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
7269 GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
7270 GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7271 GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7272 GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
7273 GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7274 GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
7275 GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7276 GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array);
7277 GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array);
7278 GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
7279 GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
7280 GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param);
7281 GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param);
7282 GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
7283 GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param);
7284 GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
7285 GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
7286 GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
7287 GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
7288 GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
7289 GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
7290 GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
7291 GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
7292 GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
7293 GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
7294 GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7295 GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7296 GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7297 GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7298 GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7299 GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7300 GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7301 GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7302 GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7303 GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7304 GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7305 GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7306 GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7307 GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7308 GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
7309 GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
7310 GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
7311 GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
7312 GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
7313 GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
7314 GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
7315 GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
7316 GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
7317 GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
7318 GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
7319 GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
7320 GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
7321 GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
7322 GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
7323 #endif
7324 #endif /* GL_EXT_direct_state_access */
7325 
7326 #ifndef GL_EXT_draw_buffers2
7327 #define GL_EXT_draw_buffers2 1
7328 typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
7329 #ifdef GL_GLEXT_PROTOTYPES
7330 GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
7331 #endif
7332 #endif /* GL_EXT_draw_buffers2 */
7333 
7334 #ifndef GL_EXT_draw_instanced
7335 #define GL_EXT_draw_instanced 1
7336 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
7337 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
7338 #ifdef GL_GLEXT_PROTOTYPES
7339 GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
7340 GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
7341 #endif
7342 #endif /* GL_EXT_draw_instanced */
7343 
7344 #ifndef GL_EXT_draw_range_elements
7345 #define GL_EXT_draw_range_elements 1
7346 #define GL_MAX_ELEMENTS_VERTICES_EXT      0x80E8
7347 #define GL_MAX_ELEMENTS_INDICES_EXT       0x80E9
7348 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
7349 #ifdef GL_GLEXT_PROTOTYPES
7350 GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
7351 #endif
7352 #endif /* GL_EXT_draw_range_elements */
7353 
7354 #ifndef GL_EXT_external_buffer
7355 #define GL_EXT_external_buffer 1
7356 typedef void *GLeglClientBufferEXT;
7357 typedef void (APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7358 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7359 #ifdef GL_GLEXT_PROTOTYPES
7360 GLAPI void APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7361 GLAPI void APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7362 #endif
7363 #endif /* GL_EXT_external_buffer */
7364 
7365 #ifndef GL_EXT_fog_coord
7366 #define GL_EXT_fog_coord 1
7367 #define GL_FOG_COORDINATE_SOURCE_EXT      0x8450
7368 #define GL_FOG_COORDINATE_EXT             0x8451
7369 #define GL_FRAGMENT_DEPTH_EXT             0x8452
7370 #define GL_CURRENT_FOG_COORDINATE_EXT     0x8453
7371 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT  0x8454
7372 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
7373 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
7374 #define GL_FOG_COORDINATE_ARRAY_EXT       0x8457
7375 typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
7376 typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
7377 typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
7378 typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
7379 typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
7380 #ifdef GL_GLEXT_PROTOTYPES
7381 GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
7382 GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
7383 GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
7384 GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
7385 GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const void *pointer);
7386 #endif
7387 #endif /* GL_EXT_fog_coord */
7388 
7389 #ifndef GL_EXT_framebuffer_blit
7390 #define GL_EXT_framebuffer_blit 1
7391 #define GL_READ_FRAMEBUFFER_EXT           0x8CA8
7392 #define GL_DRAW_FRAMEBUFFER_EXT           0x8CA9
7393 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT   0x8CA6
7394 #define GL_READ_FRAMEBUFFER_BINDING_EXT   0x8CAA
7395 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
7396 #ifdef GL_GLEXT_PROTOTYPES
7397 GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
7398 #endif
7399 #endif /* GL_EXT_framebuffer_blit */
7400 
7401 #ifndef GL_EXT_framebuffer_multisample
7402 #define GL_EXT_framebuffer_multisample 1
7403 #define GL_RENDERBUFFER_SAMPLES_EXT       0x8CAB
7404 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
7405 #define GL_MAX_SAMPLES_EXT                0x8D57
7406 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7407 #ifdef GL_GLEXT_PROTOTYPES
7408 GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7409 #endif
7410 #endif /* GL_EXT_framebuffer_multisample */
7411 
7412 #ifndef GL_EXT_framebuffer_multisample_blit_scaled
7413 #define GL_EXT_framebuffer_multisample_blit_scaled 1
7414 #define GL_SCALED_RESOLVE_FASTEST_EXT     0x90BA
7415 #define GL_SCALED_RESOLVE_NICEST_EXT      0x90BB
7416 #endif /* GL_EXT_framebuffer_multisample_blit_scaled */
7417 
7418 #ifndef GL_EXT_framebuffer_object
7419 #define GL_EXT_framebuffer_object 1
7420 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
7421 #define GL_MAX_RENDERBUFFER_SIZE_EXT      0x84E8
7422 #define GL_FRAMEBUFFER_BINDING_EXT        0x8CA6
7423 #define GL_RENDERBUFFER_BINDING_EXT       0x8CA7
7424 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
7425 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
7426 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
7427 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
7428 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
7429 #define GL_FRAMEBUFFER_COMPLETE_EXT       0x8CD5
7430 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
7431 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
7432 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
7433 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
7434 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
7435 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
7436 #define GL_FRAMEBUFFER_UNSUPPORTED_EXT    0x8CDD
7437 #define GL_MAX_COLOR_ATTACHMENTS_EXT      0x8CDF
7438 #define GL_COLOR_ATTACHMENT0_EXT          0x8CE0
7439 #define GL_COLOR_ATTACHMENT1_EXT          0x8CE1
7440 #define GL_COLOR_ATTACHMENT2_EXT          0x8CE2
7441 #define GL_COLOR_ATTACHMENT3_EXT          0x8CE3
7442 #define GL_COLOR_ATTACHMENT4_EXT          0x8CE4
7443 #define GL_COLOR_ATTACHMENT5_EXT          0x8CE5
7444 #define GL_COLOR_ATTACHMENT6_EXT          0x8CE6
7445 #define GL_COLOR_ATTACHMENT7_EXT          0x8CE7
7446 #define GL_COLOR_ATTACHMENT8_EXT          0x8CE8
7447 #define GL_COLOR_ATTACHMENT9_EXT          0x8CE9
7448 #define GL_COLOR_ATTACHMENT10_EXT         0x8CEA
7449 #define GL_COLOR_ATTACHMENT11_EXT         0x8CEB
7450 #define GL_COLOR_ATTACHMENT12_EXT         0x8CEC
7451 #define GL_COLOR_ATTACHMENT13_EXT         0x8CED
7452 #define GL_COLOR_ATTACHMENT14_EXT         0x8CEE
7453 #define GL_COLOR_ATTACHMENT15_EXT         0x8CEF
7454 #define GL_DEPTH_ATTACHMENT_EXT           0x8D00
7455 #define GL_STENCIL_ATTACHMENT_EXT         0x8D20
7456 #define GL_FRAMEBUFFER_EXT                0x8D40
7457 #define GL_RENDERBUFFER_EXT               0x8D41
7458 #define GL_RENDERBUFFER_WIDTH_EXT         0x8D42
7459 #define GL_RENDERBUFFER_HEIGHT_EXT        0x8D43
7460 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
7461 #define GL_STENCIL_INDEX1_EXT             0x8D46
7462 #define GL_STENCIL_INDEX4_EXT             0x8D47
7463 #define GL_STENCIL_INDEX8_EXT             0x8D48
7464 #define GL_STENCIL_INDEX16_EXT            0x8D49
7465 #define GL_RENDERBUFFER_RED_SIZE_EXT      0x8D50
7466 #define GL_RENDERBUFFER_GREEN_SIZE_EXT    0x8D51
7467 #define GL_RENDERBUFFER_BLUE_SIZE_EXT     0x8D52
7468 #define GL_RENDERBUFFER_ALPHA_SIZE_EXT    0x8D53
7469 #define GL_RENDERBUFFER_DEPTH_SIZE_EXT    0x8D54
7470 #define GL_RENDERBUFFER_STENCIL_SIZE_EXT  0x8D55
7471 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
7472 typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
7473 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
7474 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
7475 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
7476 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7477 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
7478 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
7479 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
7480 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
7481 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
7482 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7483 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7484 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7485 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7486 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
7487 typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
7488 #ifdef GL_GLEXT_PROTOTYPES
7489 GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
7490 GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
7491 GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
7492 GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
7493 GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
7494 GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
7495 GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
7496 GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
7497 GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
7498 GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
7499 GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
7500 GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7501 GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7502 GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7503 GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7504 GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
7505 GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
7506 #endif
7507 #endif /* GL_EXT_framebuffer_object */
7508 
7509 #ifndef GL_EXT_framebuffer_sRGB
7510 #define GL_EXT_framebuffer_sRGB 1
7511 #define GL_FRAMEBUFFER_SRGB_EXT           0x8DB9
7512 #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT   0x8DBA
7513 #endif /* GL_EXT_framebuffer_sRGB */
7514 
7515 #ifndef GL_EXT_geometry_shader4
7516 #define GL_EXT_geometry_shader4 1
7517 #define GL_GEOMETRY_SHADER_EXT            0x8DD9
7518 #define GL_GEOMETRY_VERTICES_OUT_EXT      0x8DDA
7519 #define GL_GEOMETRY_INPUT_TYPE_EXT        0x8DDB
7520 #define GL_GEOMETRY_OUTPUT_TYPE_EXT       0x8DDC
7521 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
7522 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
7523 #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
7524 #define GL_MAX_VARYING_COMPONENTS_EXT     0x8B4B
7525 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
7526 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
7527 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
7528 #define GL_LINES_ADJACENCY_EXT            0x000A
7529 #define GL_LINE_STRIP_ADJACENCY_EXT       0x000B
7530 #define GL_TRIANGLES_ADJACENCY_EXT        0x000C
7531 #define GL_TRIANGLE_STRIP_ADJACENCY_EXT   0x000D
7532 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
7533 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
7534 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
7535 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
7536 #define GL_PROGRAM_POINT_SIZE_EXT         0x8642
7537 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
7538 #ifdef GL_GLEXT_PROTOTYPES
7539 GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
7540 #endif
7541 #endif /* GL_EXT_geometry_shader4 */
7542 
7543 #ifndef GL_EXT_gpu_program_parameters
7544 #define GL_EXT_gpu_program_parameters 1
7545 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7546 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7547 #ifdef GL_GLEXT_PROTOTYPES
7548 GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7549 GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
7550 #endif
7551 #endif /* GL_EXT_gpu_program_parameters */
7552 
7553 #ifndef GL_EXT_gpu_shader4
7554 #define GL_EXT_gpu_shader4 1
7555 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
7556 #define GL_SAMPLER_1D_ARRAY_EXT           0x8DC0
7557 #define GL_SAMPLER_2D_ARRAY_EXT           0x8DC1
7558 #define GL_SAMPLER_BUFFER_EXT             0x8DC2
7559 #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT    0x8DC3
7560 #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT    0x8DC4
7561 #define GL_SAMPLER_CUBE_SHADOW_EXT        0x8DC5
7562 #define GL_UNSIGNED_INT_VEC2_EXT          0x8DC6
7563 #define GL_UNSIGNED_INT_VEC3_EXT          0x8DC7
7564 #define GL_UNSIGNED_INT_VEC4_EXT          0x8DC8
7565 #define GL_INT_SAMPLER_1D_EXT             0x8DC9
7566 #define GL_INT_SAMPLER_2D_EXT             0x8DCA
7567 #define GL_INT_SAMPLER_3D_EXT             0x8DCB
7568 #define GL_INT_SAMPLER_CUBE_EXT           0x8DCC
7569 #define GL_INT_SAMPLER_2D_RECT_EXT        0x8DCD
7570 #define GL_INT_SAMPLER_1D_ARRAY_EXT       0x8DCE
7571 #define GL_INT_SAMPLER_2D_ARRAY_EXT       0x8DCF
7572 #define GL_INT_SAMPLER_BUFFER_EXT         0x8DD0
7573 #define GL_UNSIGNED_INT_SAMPLER_1D_EXT    0x8DD1
7574 #define GL_UNSIGNED_INT_SAMPLER_2D_EXT    0x8DD2
7575 #define GL_UNSIGNED_INT_SAMPLER_3D_EXT    0x8DD3
7576 #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT  0x8DD4
7577 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
7578 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
7579 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
7580 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
7581 #define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT   0x8904
7582 #define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT   0x8905
7583 typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
7584 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
7585 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
7586 typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
7587 typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
7588 typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
7589 typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7590 typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7591 typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7592 typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7593 typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7594 #ifdef GL_GLEXT_PROTOTYPES
7595 GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
7596 GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
7597 GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
7598 GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
7599 GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
7600 GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
7601 GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7602 GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
7603 GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
7604 GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
7605 GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
7606 #endif
7607 #endif /* GL_EXT_gpu_shader4 */
7608 
7609 #ifndef GL_EXT_histogram
7610 #define GL_EXT_histogram 1
7611 #define GL_HISTOGRAM_EXT                  0x8024
7612 #define GL_PROXY_HISTOGRAM_EXT            0x8025
7613 #define GL_HISTOGRAM_WIDTH_EXT            0x8026
7614 #define GL_HISTOGRAM_FORMAT_EXT           0x8027
7615 #define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
7616 #define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
7617 #define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
7618 #define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
7619 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
7620 #define GL_HISTOGRAM_SINK_EXT             0x802D
7621 #define GL_MINMAX_EXT                     0x802E
7622 #define GL_MINMAX_FORMAT_EXT              0x802F
7623 #define GL_MINMAX_SINK_EXT                0x8030
7624 #define GL_TABLE_TOO_LARGE_EXT            0x8031
7625 typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7626 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7627 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7628 typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7629 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7630 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7631 typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
7632 typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
7633 typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
7634 typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
7635 #ifdef GL_GLEXT_PROTOTYPES
7636 GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7637 GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7638 GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
7639 GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
7640 GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7641 GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
7642 GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
7643 GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
7644 GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
7645 GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
7646 #endif
7647 #endif /* GL_EXT_histogram */
7648 
7649 #ifndef GL_EXT_index_array_formats
7650 #define GL_EXT_index_array_formats 1
7651 #define GL_IUI_V2F_EXT                    0x81AD
7652 #define GL_IUI_V3F_EXT                    0x81AE
7653 #define GL_IUI_N3F_V2F_EXT                0x81AF
7654 #define GL_IUI_N3F_V3F_EXT                0x81B0
7655 #define GL_T2F_IUI_V2F_EXT                0x81B1
7656 #define GL_T2F_IUI_V3F_EXT                0x81B2
7657 #define GL_T2F_IUI_N3F_V2F_EXT            0x81B3
7658 #define GL_T2F_IUI_N3F_V3F_EXT            0x81B4
7659 #endif /* GL_EXT_index_array_formats */
7660 
7661 #ifndef GL_EXT_index_func
7662 #define GL_EXT_index_func 1
7663 #define GL_INDEX_TEST_EXT                 0x81B5
7664 #define GL_INDEX_TEST_FUNC_EXT            0x81B6
7665 #define GL_INDEX_TEST_REF_EXT             0x81B7
7666 typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
7667 #ifdef GL_GLEXT_PROTOTYPES
7668 GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
7669 #endif
7670 #endif /* GL_EXT_index_func */
7671 
7672 #ifndef GL_EXT_index_material
7673 #define GL_EXT_index_material 1
7674 #define GL_INDEX_MATERIAL_EXT             0x81B8
7675 #define GL_INDEX_MATERIAL_PARAMETER_EXT   0x81B9
7676 #define GL_INDEX_MATERIAL_FACE_EXT        0x81BA
7677 typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
7678 #ifdef GL_GLEXT_PROTOTYPES
7679 GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
7680 #endif
7681 #endif /* GL_EXT_index_material */
7682 
7683 #ifndef GL_EXT_index_texture
7684 #define GL_EXT_index_texture 1
7685 #endif /* GL_EXT_index_texture */
7686 
7687 #ifndef GL_EXT_light_texture
7688 #define GL_EXT_light_texture 1
7689 #define GL_FRAGMENT_MATERIAL_EXT          0x8349
7690 #define GL_FRAGMENT_NORMAL_EXT            0x834A
7691 #define GL_FRAGMENT_COLOR_EXT             0x834C
7692 #define GL_ATTENUATION_EXT                0x834D
7693 #define GL_SHADOW_ATTENUATION_EXT         0x834E
7694 #define GL_TEXTURE_APPLICATION_MODE_EXT   0x834F
7695 #define GL_TEXTURE_LIGHT_EXT              0x8350
7696 #define GL_TEXTURE_MATERIAL_FACE_EXT      0x8351
7697 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
7698 typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
7699 typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
7700 typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
7701 #ifdef GL_GLEXT_PROTOTYPES
7702 GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
7703 GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
7704 GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
7705 #endif
7706 #endif /* GL_EXT_light_texture */
7707 
7708 #ifndef GL_EXT_memory_object
7709 #define GL_EXT_memory_object 1
7710 #define GL_TEXTURE_TILING_EXT             0x9580
7711 #define GL_DEDICATED_MEMORY_OBJECT_EXT    0x9581
7712 #define GL_PROTECTED_MEMORY_OBJECT_EXT    0x959B
7713 #define GL_NUM_TILING_TYPES_EXT           0x9582
7714 #define GL_TILING_TYPES_EXT               0x9583
7715 #define GL_OPTIMAL_TILING_EXT             0x9584
7716 #define GL_LINEAR_TILING_EXT              0x9585
7717 #define GL_NUM_DEVICE_UUIDS_EXT           0x9596
7718 #define GL_DEVICE_UUID_EXT                0x9597
7719 #define GL_DRIVER_UUID_EXT                0x9598
7720 #define GL_UUID_SIZE_EXT                  16
7721 typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data);
7722 typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data);
7723 typedef void (APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects);
7724 typedef GLboolean (APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject);
7725 typedef void (APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects);
7726 typedef void (APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params);
7727 typedef void (APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params);
7728 typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
7729 typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7730 typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
7731 typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7732 typedef void (APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
7733 typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
7734 typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7735 typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
7736 typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7737 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
7738 typedef void (APIENTRYP PFNGLTEXSTORAGEMEM1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
7739 typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM1DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
7740 #ifdef GL_GLEXT_PROTOTYPES
7741 GLAPI void APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data);
7742 GLAPI void APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data);
7743 GLAPI void APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects);
7744 GLAPI GLboolean APIENTRY glIsMemoryObjectEXT (GLuint memoryObject);
7745 GLAPI void APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects);
7746 GLAPI void APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params);
7747 GLAPI void APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params);
7748 GLAPI void APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
7749 GLAPI void APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7750 GLAPI void APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
7751 GLAPI void APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7752 GLAPI void APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
7753 GLAPI void APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
7754 GLAPI void APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7755 GLAPI void APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
7756 GLAPI void APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
7757 GLAPI void APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
7758 GLAPI void APIENTRY glTexStorageMem1DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
7759 GLAPI void APIENTRY glTextureStorageMem1DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
7760 #endif
7761 #endif /* GL_EXT_memory_object */
7762 
7763 #ifndef GL_EXT_memory_object_fd
7764 #define GL_EXT_memory_object_fd 1
7765 #define GL_HANDLE_TYPE_OPAQUE_FD_EXT      0x9586
7766 typedef void (APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
7767 #ifdef GL_GLEXT_PROTOTYPES
7768 GLAPI void APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
7769 #endif
7770 #endif /* GL_EXT_memory_object_fd */
7771 
7772 #ifndef GL_EXT_memory_object_win32
7773 #define GL_EXT_memory_object_win32 1
7774 #define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT   0x9587
7775 #define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588
7776 #define GL_DEVICE_LUID_EXT                0x9599
7777 #define GL_DEVICE_NODE_MASK_EXT           0x959A
7778 #define GL_LUID_SIZE_EXT                  8
7779 #define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589
7780 #define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A
7781 #define GL_HANDLE_TYPE_D3D11_IMAGE_EXT    0x958B
7782 #define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C
7783 typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
7784 typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
7785 #ifdef GL_GLEXT_PROTOTYPES
7786 GLAPI void APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
7787 GLAPI void APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
7788 #endif
7789 #endif /* GL_EXT_memory_object_win32 */
7790 
7791 #ifndef GL_EXT_misc_attribute
7792 #define GL_EXT_misc_attribute 1
7793 #endif /* GL_EXT_misc_attribute */

7794 
7795 #ifndef GL_EXT_multi_draw_arrays
7796 #define GL_EXT_multi_draw_arrays 1
7797 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
7798 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
7799 #ifdef GL_GLEXT_PROTOTYPES
7800 GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
7801 GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
7802 #endif
7803 #endif /* GL_EXT_multi_draw_arrays */
7804 
7805 #ifndef GL_EXT_multisample
7806 #define GL_EXT_multisample 1
7807 #define GL_MULTISAMPLE_EXT                0x809D
7808 #define GL_SAMPLE_ALPHA_TO_MASK_EXT       0x809E
7809 #define GL_SAMPLE_ALPHA_TO_ONE_EXT        0x809F
7810 #define GL_SAMPLE_MASK_EXT                0x80A0
7811 #define GL_1PASS_EXT                      0x80A1
7812 #define GL_2PASS_0_EXT                    0x80A2
7813 #define GL_2PASS_1_EXT                    0x80A3
7814 #define GL_4PASS_0_EXT                    0x80A4
7815 #define GL_4PASS_1_EXT                    0x80A5
7816 #define GL_4PASS_2_EXT                    0x80A6
7817 #define GL_4PASS_3_EXT                    0x80A7
7818 #define GL_SAMPLE_BUFFERS_EXT             0x80A8
7819 #define GL_SAMPLES_EXT                    0x80A9
7820 #define GL_SAMPLE_MASK_VALUE_EXT          0x80AA
7821 #define GL_SAMPLE_MASK_INVERT_EXT         0x80AB
7822 #define GL_SAMPLE_PATTERN_EXT             0x80AC
7823 #define GL_MULTISAMPLE_BIT_EXT            0x20000000
7824 typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
7825 typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
7826 #ifdef GL_GLEXT_PROTOTYPES
7827 GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
7828 GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
7829 #endif
7830 #endif /* GL_EXT_multisample */
7831 
7832 #ifndef GL_EXT_multiview_tessellation_geometry_shader
7833 #define GL_EXT_multiview_tessellation_geometry_shader 1
7834 #endif /* GL_EXT_multiview_tessellation_geometry_shader */
7835 
7836 #ifndef GL_EXT_multiview_texture_multisample
7837 #define GL_EXT_multiview_texture_multisample 1
7838 #endif /* GL_EXT_multiview_texture_multisample */
7839 
7840 #ifndef GL_EXT_multiview_timer_query
7841 #define GL_EXT_multiview_timer_query 1
7842 #endif /* GL_EXT_multiview_timer_query */
7843 
7844 #ifndef GL_EXT_packed_depth_stencil
7845 #define GL_EXT_packed_depth_stencil 1
7846 #define GL_DEPTH_STENCIL_EXT              0x84F9
7847 #define GL_UNSIGNED_INT_24_8_EXT          0x84FA
7848 #define GL_DEPTH24_STENCIL8_EXT           0x88F0
7849 #define GL_TEXTURE_STENCIL_SIZE_EXT       0x88F1
7850 #endif /* GL_EXT_packed_depth_stencil */
7851 
7852 #ifndef GL_EXT_packed_float
7853 #define GL_EXT_packed_float 1
7854 #define GL_R11F_G11F_B10F_EXT             0x8C3A
7855 #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
7856 #define GL_RGBA_SIGNED_COMPONENTS_EXT     0x8C3C
7857 #endif /* GL_EXT_packed_float */
7858 
7859 #ifndef GL_EXT_packed_pixels
7860 #define GL_EXT_packed_pixels 1
7861 #define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
7862 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
7863 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
7864 #define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
7865 #define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
7866 #endif /* GL_EXT_packed_pixels */
7867 
7868 #ifndef GL_EXT_paletted_texture
7869 #define GL_EXT_paletted_texture 1
7870 #define GL_COLOR_INDEX1_EXT               0x80E2
7871 #define GL_COLOR_INDEX2_EXT               0x80E3
7872 #define GL_COLOR_INDEX4_EXT               0x80E4
7873 #define GL_COLOR_INDEX8_EXT               0x80E5
7874 #define GL_COLOR_INDEX12_EXT              0x80E6
7875 #define GL_COLOR_INDEX16_EXT              0x80E7
7876 #define GL_TEXTURE_INDEX_SIZE_EXT         0x80ED
7877 typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
7878 typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void *data);
7879 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7880 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7881 #ifdef GL_GLEXT_PROTOTYPES
7882 GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
7883 GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void *data);
7884 GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
7885 GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7886 #endif
7887 #endif /* GL_EXT_paletted_texture */
7888 
7889 #ifndef GL_EXT_pixel_buffer_object
7890 #define GL_EXT_pixel_buffer_object 1
7891 #define GL_PIXEL_PACK_BUFFER_EXT          0x88EB
7892 #define GL_PIXEL_UNPACK_BUFFER_EXT        0x88EC
7893 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT  0x88ED
7894 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
7895 #endif /* GL_EXT_pixel_buffer_object */
7896 
7897 #ifndef GL_EXT_pixel_transform
7898 #define GL_EXT_pixel_transform 1
7899 #define GL_PIXEL_TRANSFORM_2D_EXT         0x8330
7900 #define GL_PIXEL_MAG_FILTER_EXT           0x8331
7901 #define GL_PIXEL_MIN_FILTER_EXT           0x8332
7902 #define GL_PIXEL_CUBIC_WEIGHT_EXT         0x8333
7903 #define GL_CUBIC_EXT                      0x8334
7904 #define GL_AVERAGE_EXT                    0x8335
7905 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
7906 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
7907 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT  0x8338
7908 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
7909 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
7910 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
7911 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
7912 typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7913 typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7914 #ifdef GL_GLEXT_PROTOTYPES
7915 GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
7916 GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
7917 GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
7918 GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
7919 GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params);
7920 GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7921 #endif
7922 #endif /* GL_EXT_pixel_transform */
7923 
7924 #ifndef GL_EXT_pixel_transform_color_table
7925 #define GL_EXT_pixel_transform_color_table 1
7926 #endif /* GL_EXT_pixel_transform_color_table */
7927 
7928 #ifndef GL_EXT_point_parameters
7929 #define GL_EXT_point_parameters 1
7930 #define GL_POINT_SIZE_MIN_EXT             0x8126
7931 #define GL_POINT_SIZE_MAX_EXT             0x8127
7932 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT  0x8128
7933 #define GL_DISTANCE_ATTENUATION_EXT       0x8129
7934 typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
7935 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
7936 #ifdef GL_GLEXT_PROTOTYPES
7937 GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
7938 GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
7939 #endif
7940 #endif /* GL_EXT_point_parameters */
7941 
7942 #ifndef GL_EXT_polygon_offset
7943 #define GL_EXT_polygon_offset 1
7944 #define GL_POLYGON_OFFSET_EXT             0x8037
7945 #define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
7946 #define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
7947 typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
7948 #ifdef GL_GLEXT_PROTOTYPES
7949 GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
7950 #endif
7951 #endif /* GL_EXT_polygon_offset */
7952 
7953 #ifndef GL_EXT_polygon_offset_clamp
7954 #define GL_EXT_polygon_offset_clamp 1
7955 #define GL_POLYGON_OFFSET_CLAMP_EXT       0x8E1B
7956 typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
7957 #ifdef GL_GLEXT_PROTOTYPES
7958 GLAPI void APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp);
7959 #endif
7960 #endif /* GL_EXT_polygon_offset_clamp */
7961 
7962 #ifndef GL_EXT_post_depth_coverage
7963 #define GL_EXT_post_depth_coverage 1
7964 #endif /* GL_EXT_post_depth_coverage */
7965 
7966 #ifndef GL_EXT_provoking_vertex
7967 #define GL_EXT_provoking_vertex 1
7968 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
7969 #define GL_FIRST_VERTEX_CONVENTION_EXT    0x8E4D
7970 #define GL_LAST_VERTEX_CONVENTION_EXT     0x8E4E
7971 #define GL_PROVOKING_VERTEX_EXT           0x8E4F
7972 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
7973 #ifdef GL_GLEXT_PROTOTYPES
7974 GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
7975 #endif
7976 #endif /* GL_EXT_provoking_vertex */
7977 
7978 #ifndef GL_EXT_raster_multisample
7979 #define GL_EXT_raster_multisample 1
7980 #define GL_RASTER_MULTISAMPLE_EXT         0x9327
7981 #define GL_RASTER_SAMPLES_EXT             0x9328
7982 #define GL_MAX_RASTER_SAMPLES_EXT         0x9329
7983 #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
7984 #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
7985 #define GL_EFFECTIVE_RASTER_SAMPLES_EXT   0x932C
7986 typedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
7987 #ifdef GL_GLEXT_PROTOTYPES
7988 GLAPI void APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
7989 #endif
7990 #endif /* GL_EXT_raster_multisample */
7991 
7992 #ifndef GL_EXT_rescale_normal
7993 #define GL_EXT_rescale_normal 1
7994 #define GL_RESCALE_NORMAL_EXT             0x803A
7995 #endif /* GL_EXT_rescale_normal */
7996 
7997 #ifndef GL_EXT_secondary_color
7998 #define GL_EXT_secondary_color 1
7999 #define GL_COLOR_SUM_EXT                  0x8458
8000 #define GL_CURRENT_SECONDARY_COLOR_EXT    0x8459
8001 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
8002 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
8003 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
8004 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
8005 #define GL_SECONDARY_COLOR_ARRAY_EXT      0x845E
8006 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
8007 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
8008 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
8009 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
8010 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
8011 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
8012 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
8013 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
8014 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
8015 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
8016 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
8017 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
8018 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
8019 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
8020 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
8021 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
8022 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
8023 #ifdef GL_GLEXT_PROTOTYPES
8024 GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
8025 GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
8026 GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
8027 GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
8028 GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
8029 GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
8030 GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
8031 GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
8032 GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
8033 GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
8034 GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
8035 GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
8036 GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
8037 GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
8038 GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
8039 GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
8040 GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
8041 #endif
8042 #endif /* GL_EXT_secondary_color */
8043 
8044 #ifndef GL_EXT_semaphore
8045 #define GL_EXT_semaphore 1
8046 #define GL_LAYOUT_GENERAL_EXT             0x958D
8047 #define GL_LAYOUT_COLOR_ATTACHMENT_EXT    0x958E
8048 #define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F
8049 #define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590
8050 #define GL_LAYOUT_SHADER_READ_ONLY_EXT    0x9591
8051 #define GL_LAYOUT_TRANSFER_SRC_EXT        0x9592
8052 #define GL_LAYOUT_TRANSFER_DST_EXT        0x9593
8053 #define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530
8054 #define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531
8055 typedef void (APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores);
8056 typedef void (APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores);
8057 typedef GLboolean (APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore);
8058 typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params);
8059 typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params);
8060 typedef void (APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
8061 typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
8062 #ifdef GL_GLEXT_PROTOTYPES
8063 GLAPI void APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores);
8064 GLAPI void APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores);
8065 GLAPI GLboolean APIENTRY glIsSemaphoreEXT (GLuint semaphore);
8066 GLAPI void APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params);
8067 GLAPI void APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params);
8068 GLAPI void APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
8069 GLAPI void APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
8070 #endif
8071 #endif /* GL_EXT_semaphore */
8072 
8073 #ifndef GL_EXT_semaphore_fd
8074 #define GL_EXT_semaphore_fd 1
8075 typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd);
8076 #ifdef GL_GLEXT_PROTOTYPES
8077 GLAPI void APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd);
8078 #endif
8079 #endif /* GL_EXT_semaphore_fd */
8080 
8081 #ifndef GL_EXT_semaphore_win32
8082 #define GL_EXT_semaphore_win32 1
8083 #define GL_HANDLE_TYPE_D3D12_FENCE_EXT    0x9594
8084 #define GL_D3D12_FENCE_VALUE_EXT          0x9595
8085 typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle);
8086 typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name);
8087 #ifdef GL_GLEXT_PROTOTYPES
8088 GLAPI void APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle);
8089 GLAPI void APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name);
8090 #endif
8091 #endif /* GL_EXT_semaphore_win32 */
8092 
8093 #ifndef GL_EXT_separate_shader_objects
8094 #define GL_EXT_separate_shader_objects 1
8095 #define GL_ACTIVE_PROGRAM_EXT             0x8B8D
8096 typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
8097 typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
8098 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
8099 #ifdef GL_GLEXT_PROTOTYPES
8100 GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
8101 GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
8102 GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
8103 #endif
8104 #endif /* GL_EXT_separate_shader_objects */
8105 
8106 #ifndef GL_EXT_separate_specular_color
8107 #define GL_EXT_separate_specular_color 1
8108 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT  0x81F8
8109 #define GL_SINGLE_COLOR_EXT               0x81F9
8110 #define GL_SEPARATE_SPECULAR_COLOR_EXT    0x81FA
8111 #endif /* GL_EXT_separate_specular_color */
8112 
8113 #ifndef GL_EXT_shader_framebuffer_fetch
8114 #define GL_EXT_shader_framebuffer_fetch 1
8115 #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
8116 #endif /* GL_EXT_shader_framebuffer_fetch */
8117 
8118 #ifndef GL_EXT_shader_framebuffer_fetch_non_coherent
8119 #define GL_EXT_shader_framebuffer_fetch_non_coherent 1
8120 typedef void (APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void);
8121 #ifdef GL_GLEXT_PROTOTYPES
8122 GLAPI void APIENTRY glFramebufferFetchBarrierEXT (void);
8123 #endif
8124 #endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */
8125 
8126 #ifndef GL_EXT_shader_image_load_formatted
8127 #define GL_EXT_shader_image_load_formatted 1
8128 #endif /* GL_EXT_shader_image_load_formatted */
8129 
8130 #ifndef GL_EXT_shader_image_load_store
8131 #define GL_EXT_shader_image_load_store 1
8132 #define GL_MAX_IMAGE_UNITS_EXT            0x8F38
8133 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
8134 #define GL_IMAGE_BINDING_NAME_EXT         0x8F3A
8135 #define GL_IMAGE_BINDING_LEVEL_EXT        0x8F3B
8136 #define GL_IMAGE_BINDING_LAYERED_EXT      0x8F3C
8137 #define GL_IMAGE_BINDING_LAYER_EXT        0x8F3D
8138 #define GL_IMAGE_BINDING_ACCESS_EXT       0x8F3E
8139 #define GL_IMAGE_1D_EXT                   0x904C
8140 #define GL_IMAGE_2D_EXT                   0x904D
8141 #define GL_IMAGE_3D_EXT                   0x904E
8142 #define GL_IMAGE_2D_RECT_EXT              0x904F
8143 #define GL_IMAGE_CUBE_EXT                 0x9050
8144 #define GL_IMAGE_BUFFER_EXT               0x9051
8145 #define GL_IMAGE_1D_ARRAY_EXT             0x9052
8146 #define GL_IMAGE_2D_ARRAY_EXT             0x9053
8147 #define GL_IMAGE_CUBE_MAP_ARRAY_EXT       0x9054
8148 #define GL_IMAGE_2D_MULTISAMPLE_EXT       0x9055
8149 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
8150 #define GL_INT_IMAGE_1D_EXT               0x9057
8151 #define GL_INT_IMAGE_2D_EXT               0x9058
8152 #define GL_INT_IMAGE_3D_EXT               0x9059
8153 #define GL_INT_IMAGE_2D_RECT_EXT          0x905A
8154 #define GL_INT_IMAGE_CUBE_EXT             0x905B
8155 #define GL_INT_IMAGE_BUFFER_EXT           0x905C
8156 #define GL_INT_IMAGE_1D_ARRAY_EXT         0x905D
8157 #define GL_INT_IMAGE_2D_ARRAY_EXT         0x905E
8158 #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT   0x905F
8159 #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT   0x9060
8160 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
8161 #define GL_UNSIGNED_INT_IMAGE_1D_EXT      0x9062
8162 #define GL_UNSIGNED_INT_IMAGE_2D_EXT      0x9063
8163 #define GL_UNSIGNED_INT_IMAGE_3D_EXT      0x9064
8164 #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
8165 #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT    0x9066
8166 #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT  0x9067
8167 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
8168 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
8169 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
8170 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
8171 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
8172 #define GL_MAX_IMAGE_SAMPLES_EXT          0x906D
8173 #define GL_IMAGE_BINDING_FORMAT_EXT       0x906E
8174 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
8175 #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT  0x00000002
8176 #define GL_UNIFORM_BARRIER_BIT_EXT        0x00000004
8177 #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT  0x00000008
8178 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
8179 #define GL_COMMAND_BARRIER_BIT_EXT        0x00000040
8180 #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT   0x00000080
8181 #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
8182 #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT  0x00000200
8183 #define GL_FRAMEBUFFER_BARRIER_BIT_EXT    0x00000400
8184 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
8185 #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
8186 #define GL_ALL_BARRIER_BITS_EXT           0xFFFFFFFF
8187 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
8188 typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
8189 #ifdef GL_GLEXT_PROTOTYPES
8190 GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
8191 GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
8192 #endif
8193 #endif /* GL_EXT_shader_image_load_store */
8194 
8195 #ifndef GL_EXT_shader_integer_mix
8196 #define GL_EXT_shader_integer_mix 1
8197 #endif /* GL_EXT_shader_integer_mix */
8198 
8199 #ifndef GL_EXT_shadow_funcs
8200 #define GL_EXT_shadow_funcs 1
8201 #endif /* GL_EXT_shadow_funcs */
8202 
8203 #ifndef GL_EXT_shared_texture_palette
8204 #define GL_EXT_shared_texture_palette 1
8205 #define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB
8206 #endif /* GL_EXT_shared_texture_palette */
8207 
8208 #ifndef GL_EXT_sparse_texture2
8209 #define GL_EXT_sparse_texture2 1
8210 #endif /* GL_EXT_sparse_texture2 */
8211 
8212 #ifndef GL_EXT_stencil_clear_tag
8213 #define GL_EXT_stencil_clear_tag 1
8214 #define GL_STENCIL_TAG_BITS_EXT           0x88F2
8215 #define GL_STENCIL_CLEAR_TAG_VALUE_EXT    0x88F3
8216 typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
8217 #ifdef GL_GLEXT_PROTOTYPES
8218 GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
8219 #endif
8220 #endif /* GL_EXT_stencil_clear_tag */
8221 
8222 #ifndef GL_EXT_stencil_two_side
8223 #define GL_EXT_stencil_two_side 1
8224 #define GL_STENCIL_TEST_TWO_SIDE_EXT      0x8910
8225 #define GL_ACTIVE_STENCIL_FACE_EXT        0x8911
8226 typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
8227 #ifdef GL_GLEXT_PROTOTYPES
8228 GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);


8229 #endif
8230 #endif /* GL_EXT_stencil_two_side */
8231 
8232 #ifndef GL_EXT_stencil_wrap
8233 #define GL_EXT_stencil_wrap 1
8234 #define GL_INCR_WRAP_EXT                  0x8507
8235 #define GL_DECR_WRAP_EXT                  0x8508
8236 #endif /* GL_EXT_stencil_wrap */
8237 
8238 #ifndef GL_EXT_subtexture
8239 #define GL_EXT_subtexture 1
8240 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
8241 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
8242 #ifdef GL_GLEXT_PROTOTYPES
8243 GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
8244 GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
8245 #endif
8246 #endif /* GL_EXT_subtexture */
8247 
8248 #ifndef GL_EXT_texture
8249 #define GL_EXT_texture 1
8250 #define GL_ALPHA4_EXT                     0x803B
8251 #define GL_ALPHA8_EXT                     0x803C
8252 #define GL_ALPHA12_EXT                    0x803D
8253 #define GL_ALPHA16_EXT                    0x803E
8254 #define GL_LUMINANCE4_EXT                 0x803F
8255 #define GL_LUMINANCE8_EXT                 0x8040
8256 #define GL_LUMINANCE12_EXT                0x8041
8257 #define GL_LUMINANCE16_EXT                0x8042
8258 #define GL_LUMINANCE4_ALPHA4_EXT          0x8043
8259 #define GL_LUMINANCE6_ALPHA2_EXT          0x8044
8260 #define GL_LUMINANCE8_ALPHA8_EXT          0x8045
8261 #define GL_LUMINANCE12_ALPHA4_EXT         0x8046
8262 #define GL_LUMINANCE12_ALPHA12_EXT        0x8047
8263 #define GL_LUMINANCE16_ALPHA16_EXT        0x8048
8264 #define GL_INTENSITY_EXT                  0x8049
8265 #define GL_INTENSITY4_EXT                 0x804A
8266 #define GL_INTENSITY8_EXT                 0x804B
8267 #define GL_INTENSITY12_EXT                0x804C
8268 #define GL_INTENSITY16_EXT                0x804D
8269 #define GL_RGB2_EXT                       0x804E
8270 #define GL_RGB4_EXT                       0x804F
8271 #define GL_RGB5_EXT                       0x8050
8272 #define GL_RGB8_EXT                       0x8051
8273 #define GL_RGB10_EXT                      0x8052
8274 #define GL_RGB12_EXT                      0x8053
8275 #define GL_RGB16_EXT                      0x8054
8276 #define GL_RGBA2_EXT                      0x8055
8277 #define GL_RGBA4_EXT                      0x8056
8278 #define GL_RGB5_A1_EXT                    0x8057
8279 #define GL_RGBA8_EXT                      0x8058
8280 #define GL_RGB10_A2_EXT                   0x8059
8281 #define GL_RGBA12_EXT                     0x805A
8282 #define GL_RGBA16_EXT                     0x805B
8283 #define GL_TEXTURE_RED_SIZE_EXT           0x805C
8284 #define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
8285 #define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
8286 #define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
8287 #define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
8288 #define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
8289 #define GL_REPLACE_EXT                    0x8062
8290 #define GL_PROXY_TEXTURE_1D_EXT           0x8063
8291 #define GL_PROXY_TEXTURE_2D_EXT           0x8064
8292 #define GL_TEXTURE_TOO_LARGE_EXT          0x8065
8293 #endif /* GL_EXT_texture */
8294 
8295 #ifndef GL_EXT_texture3D
8296 #define GL_EXT_texture3D 1
8297 #define GL_PACK_SKIP_IMAGES_EXT           0x806B
8298 #define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
8299 #define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
8300 #define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
8301 #define GL_TEXTURE_3D_EXT                 0x806F
8302 #define GL_PROXY_TEXTURE_3D_EXT           0x8070
8303 #define GL_TEXTURE_DEPTH_EXT              0x8071
8304 #define GL_TEXTURE_WRAP_R_EXT             0x8072
8305 #define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
8306 typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
8307 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
8308 #ifdef GL_GLEXT_PROTOTYPES
8309 GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
8310 GLAPI void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
8311 #endif
8312 #endif /* GL_EXT_texture3D */
8313 
8314 #ifndef GL_EXT_texture_array
8315 #define GL_EXT_texture_array 1
8316 #define GL_TEXTURE_1D_ARRAY_EXT           0x8C18
8317 #define GL_PROXY_TEXTURE_1D_ARRAY_EXT     0x8C19
8318 #define GL_TEXTURE_2D_ARRAY_EXT           0x8C1A
8319 #define GL_PROXY_TEXTURE_2D_ARRAY_EXT     0x8C1B
8320 #define GL_TEXTURE_BINDING_1D_ARRAY_EXT   0x8C1C
8321 #define GL_TEXTURE_BINDING_2D_ARRAY_EXT   0x8C1D
8322 #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT   0x88FF
8323 #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
8324 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8325 #ifdef GL_GLEXT_PROTOTYPES
8326 GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8327 #endif
8328 #endif /* GL_EXT_texture_array */
8329 
8330 #ifndef GL_EXT_texture_buffer_object
8331 #define GL_EXT_texture_buffer_object 1
8332 #define GL_TEXTURE_BUFFER_EXT             0x8C2A
8333 #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT    0x8C2B
8334 #define GL_TEXTURE_BINDING_BUFFER_EXT     0x8C2C
8335 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
8336 #define GL_TEXTURE_BUFFER_FORMAT_EXT      0x8C2E
8337 typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
8338 #ifdef GL_GLEXT_PROTOTYPES
8339 GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
8340 #endif
8341 #endif /* GL_EXT_texture_buffer_object */
8342 
8343 #ifndef GL_EXT_texture_compression_latc
8344 #define GL_EXT_texture_compression_latc 1
8345 #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
8346 #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
8347 #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
8348 #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
8349 #endif /* GL_EXT_texture_compression_latc */
8350 
8351 #ifndef GL_EXT_texture_compression_rgtc
8352 #define GL_EXT_texture_compression_rgtc 1
8353 #define GL_COMPRESSED_RED_RGTC1_EXT       0x8DBB
8354 #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
8355 #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
8356 #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
8357 #endif /* GL_EXT_texture_compression_rgtc */
8358 
8359 #ifndef GL_EXT_texture_compression_s3tc
8360 #define GL_EXT_texture_compression_s3tc 1
8361 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
8362 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
8363 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
8364 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
8365 #endif /* GL_EXT_texture_compression_s3tc */
8366 
8367 #ifndef GL_EXT_texture_cube_map
8368 #define GL_EXT_texture_cube_map 1
8369 #define GL_NORMAL_MAP_EXT                 0x8511
8370 #define GL_REFLECTION_MAP_EXT             0x8512
8371 #define GL_TEXTURE_CUBE_MAP_EXT           0x8513
8372 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
8373 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
8374 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
8375 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
8376 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
8377 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
8378 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
8379 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT     0x851B
8380 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT  0x851C
8381 #endif /* GL_EXT_texture_cube_map */
8382 
8383 #ifndef GL_EXT_texture_env_add
8384 #define GL_EXT_texture_env_add 1
8385 #endif /* GL_EXT_texture_env_add */
8386 
8387 #ifndef GL_EXT_texture_env_combine
8388 #define GL_EXT_texture_env_combine 1
8389 #define GL_COMBINE_EXT                    0x8570
8390 #define GL_COMBINE_RGB_EXT                0x8571
8391 #define GL_COMBINE_ALPHA_EXT              0x8572
8392 #define GL_RGB_SCALE_EXT                  0x8573
8393 #define GL_ADD_SIGNED_EXT                 0x8574
8394 #define GL_INTERPOLATE_EXT                0x8575
8395 #define GL_CONSTANT_EXT                   0x8576
8396 #define GL_PRIMARY_COLOR_EXT              0x8577
8397 #define GL_PREVIOUS_EXT                   0x8578
8398 #define GL_SOURCE0_RGB_EXT                0x8580
8399 #define GL_SOURCE1_RGB_EXT                0x8581
8400 #define GL_SOURCE2_RGB_EXT                0x8582
8401 #define GL_SOURCE0_ALPHA_EXT              0x8588
8402 #define GL_SOURCE1_ALPHA_EXT              0x8589
8403 #define GL_SOURCE2_ALPHA_EXT              0x858A
8404 #define GL_OPERAND0_RGB_EXT               0x8590
8405 #define GL_OPERAND1_RGB_EXT               0x8591
8406 #define GL_OPERAND2_RGB_EXT               0x8592
8407 #define GL_OPERAND0_ALPHA_EXT             0x8598
8408 #define GL_OPERAND1_ALPHA_EXT             0x8599
8409 #define GL_OPERAND2_ALPHA_EXT             0x859A
8410 #endif /* GL_EXT_texture_env_combine */
8411 
8412 #ifndef GL_EXT_texture_env_dot3
8413 #define GL_EXT_texture_env_dot3 1
8414 #define GL_DOT3_RGB_EXT                   0x8740
8415 #define GL_DOT3_RGBA_EXT                  0x8741
8416 #endif /* GL_EXT_texture_env_dot3 */
8417 
8418 #ifndef GL_EXT_texture_filter_anisotropic
8419 #define GL_EXT_texture_filter_anisotropic 1
8420 #define GL_TEXTURE_MAX_ANISOTROPY_EXT     0x84FE
8421 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
8422 #endif /* GL_EXT_texture_filter_anisotropic */
8423 
8424 #ifndef GL_EXT_texture_filter_minmax
8425 #define GL_EXT_texture_filter_minmax 1
8426 #define GL_TEXTURE_REDUCTION_MODE_EXT     0x9366
8427 #define GL_WEIGHTED_AVERAGE_EXT           0x9367
8428 #endif /* GL_EXT_texture_filter_minmax */
8429 
8430 #ifndef GL_EXT_texture_integer
8431 #define GL_EXT_texture_integer 1
8432 #define GL_RGBA32UI_EXT                   0x8D70
8433 #define GL_RGB32UI_EXT                    0x8D71
8434 #define GL_ALPHA32UI_EXT                  0x8D72
8435 #define GL_INTENSITY32UI_EXT              0x8D73
8436 #define GL_LUMINANCE32UI_EXT              0x8D74
8437 #define GL_LUMINANCE_ALPHA32UI_EXT        0x8D75
8438 #define GL_RGBA16UI_EXT                   0x8D76
8439 #define GL_RGB16UI_EXT                    0x8D77
8440 #define GL_ALPHA16UI_EXT                  0x8D78
8441 #define GL_INTENSITY16UI_EXT              0x8D79
8442 #define GL_LUMINANCE16UI_EXT              0x8D7A
8443 #define GL_LUMINANCE_ALPHA16UI_EXT        0x8D7B
8444 #define GL_RGBA8UI_EXT                    0x8D7C
8445 #define GL_RGB8UI_EXT                     0x8D7D
8446 #define GL_ALPHA8UI_EXT                   0x8D7E
8447 #define GL_INTENSITY8UI_EXT               0x8D7F
8448 #define GL_LUMINANCE8UI_EXT               0x8D80
8449 #define GL_LUMINANCE_ALPHA8UI_EXT         0x8D81
8450 #define GL_RGBA32I_EXT                    0x8D82
8451 #define GL_RGB32I_EXT                     0x8D83
8452 #define GL_ALPHA32I_EXT                   0x8D84
8453 #define GL_INTENSITY32I_EXT               0x8D85
8454 #define GL_LUMINANCE32I_EXT               0x8D86
8455 #define GL_LUMINANCE_ALPHA32I_EXT         0x8D87
8456 #define GL_RGBA16I_EXT                    0x8D88
8457 #define GL_RGB16I_EXT                     0x8D89
8458 #define GL_ALPHA16I_EXT                   0x8D8A
8459 #define GL_INTENSITY16I_EXT               0x8D8B
8460 #define GL_LUMINANCE16I_EXT               0x8D8C
8461 #define GL_LUMINANCE_ALPHA16I_EXT         0x8D8D
8462 #define GL_RGBA8I_EXT                     0x8D8E
8463 #define GL_RGB8I_EXT                      0x8D8F
8464 #define GL_ALPHA8I_EXT                    0x8D90
8465 #define GL_INTENSITY8I_EXT                0x8D91
8466 #define GL_LUMINANCE8I_EXT                0x8D92
8467 #define GL_LUMINANCE_ALPHA8I_EXT          0x8D93
8468 #define GL_RED_INTEGER_EXT                0x8D94
8469 #define GL_GREEN_INTEGER_EXT              0x8D95
8470 #define GL_BLUE_INTEGER_EXT               0x8D96
8471 #define GL_ALPHA_INTEGER_EXT              0x8D97
8472 #define GL_RGB_INTEGER_EXT                0x8D98
8473 #define GL_RGBA_INTEGER_EXT               0x8D99
8474 #define GL_BGR_INTEGER_EXT                0x8D9A
8475 #define GL_BGRA_INTEGER_EXT               0x8D9B
8476 #define GL_LUMINANCE_INTEGER_EXT          0x8D9C
8477 #define GL_LUMINANCE_ALPHA_INTEGER_EXT    0x8D9D
8478 #define GL_RGBA_INTEGER_MODE_EXT          0x8D9E
8479 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
8480 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
8481 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
8482 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
8483 typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
8484 typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
8485 #ifdef GL_GLEXT_PROTOTYPES
8486 GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
8487 GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
8488 GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
8489 GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
8490 GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
8491 GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
8492 #endif
8493 #endif /* GL_EXT_texture_integer */
8494 
8495 #ifndef GL_EXT_texture_lod_bias
8496 #define GL_EXT_texture_lod_bias 1
8497 #define GL_MAX_TEXTURE_LOD_BIAS_EXT       0x84FD
8498 #define GL_TEXTURE_FILTER_CONTROL_EXT     0x8500
8499 #define GL_TEXTURE_LOD_BIAS_EXT           0x8501
8500 #endif /* GL_EXT_texture_lod_bias */
8501 
8502 #ifndef GL_EXT_texture_mirror_clamp
8503 #define GL_EXT_texture_mirror_clamp 1
8504 #define GL_MIRROR_CLAMP_EXT               0x8742
8505 #define GL_MIRROR_CLAMP_TO_EDGE_EXT       0x8743
8506 #define GL_MIRROR_CLAMP_TO_BORDER_EXT     0x8912
8507 #endif /* GL_EXT_texture_mirror_clamp */
8508 
8509 #ifndef GL_EXT_texture_object
8510 #define GL_EXT_texture_object 1
8511 #define GL_TEXTURE_PRIORITY_EXT           0x8066
8512 #define GL_TEXTURE_RESIDENT_EXT           0x8067
8513 #define GL_TEXTURE_1D_BINDING_EXT         0x8068
8514 #define GL_TEXTURE_2D_BINDING_EXT         0x8069
8515 #define GL_TEXTURE_3D_BINDING_EXT         0x806A
8516 typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
8517 typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
8518 typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
8519 typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
8520 typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
8521 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
8522 #ifdef GL_GLEXT_PROTOTYPES
8523 GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
8524 GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
8525 GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
8526 GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
8527 GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
8528 GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
8529 #endif
8530 #endif /* GL_EXT_texture_object */
8531 
8532 #ifndef GL_EXT_texture_perturb_normal
8533 #define GL_EXT_texture_perturb_normal 1
8534 #define GL_PERTURB_EXT                    0x85AE
8535 #define GL_TEXTURE_NORMAL_EXT             0x85AF
8536 typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
8537 #ifdef GL_GLEXT_PROTOTYPES
8538 GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);











8539 #endif
8540 #endif /* GL_EXT_texture_perturb_normal */
8541 
8542 #ifndef GL_EXT_texture_sRGB
8543 #define GL_EXT_texture_sRGB 1
8544 #define GL_SRGB_EXT                       0x8C40
8545 #define GL_SRGB8_EXT                      0x8C41
8546 #define GL_SRGB_ALPHA_EXT                 0x8C42
8547 #define GL_SRGB8_ALPHA8_EXT               0x8C43
8548 #define GL_SLUMINANCE_ALPHA_EXT           0x8C44
8549 #define GL_SLUMINANCE8_ALPHA8_EXT         0x8C45
8550 #define GL_SLUMINANCE_EXT                 0x8C46
8551 #define GL_SLUMINANCE8_EXT                0x8C47
8552 #define GL_COMPRESSED_SRGB_EXT            0x8C48
8553 #define GL_COMPRESSED_SRGB_ALPHA_EXT      0x8C49
8554 #define GL_COMPRESSED_SLUMINANCE_EXT      0x8C4A
8555 #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
8556 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT  0x8C4C
8557 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
8558 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
8559 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
8560 #endif /* GL_EXT_texture_sRGB */
8561 
8562 #ifndef GL_EXT_texture_sRGB_R8
8563 #define GL_EXT_texture_sRGB_R8 1
8564 #define GL_SR8_EXT                        0x8FBD
8565 #endif /* GL_EXT_texture_sRGB_R8 */
8566 
8567 #ifndef GL_EXT_texture_sRGB_decode
8568 #define GL_EXT_texture_sRGB_decode 1
8569 #define GL_TEXTURE_SRGB_DECODE_EXT        0x8A48
8570 #define GL_DECODE_EXT                     0x8A49
8571 #define GL_SKIP_DECODE_EXT                0x8A4A
8572 #endif /* GL_EXT_texture_sRGB_decode */
8573 
8574 #ifndef GL_EXT_texture_shadow_lod
8575 #define GL_EXT_texture_shadow_lod 1
8576 #endif /* GL_EXT_texture_shadow_lod */
8577 
8578 #ifndef GL_EXT_texture_shared_exponent
8579 #define GL_EXT_texture_shared_exponent 1
8580 #define GL_RGB9_E5_EXT                    0x8C3D
8581 #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT   0x8C3E
8582 #define GL_TEXTURE_SHARED_SIZE_EXT        0x8C3F
8583 #endif /* GL_EXT_texture_shared_exponent */
8584 
8585 #ifndef GL_EXT_texture_snorm
8586 #define GL_EXT_texture_snorm 1
8587 #define GL_ALPHA_SNORM                    0x9010
8588 #define GL_LUMINANCE_SNORM                0x9011
8589 #define GL_LUMINANCE_ALPHA_SNORM          0x9012
8590 #define GL_INTENSITY_SNORM                0x9013
8591 #define GL_ALPHA8_SNORM                   0x9014
8592 #define GL_LUMINANCE8_SNORM               0x9015
8593 #define GL_LUMINANCE8_ALPHA8_SNORM        0x9016
8594 #define GL_INTENSITY8_SNORM               0x9017
8595 #define GL_ALPHA16_SNORM                  0x9018
8596 #define GL_LUMINANCE16_SNORM              0x9019
8597 #define GL_LUMINANCE16_ALPHA16_SNORM      0x901A
8598 #define GL_INTENSITY16_SNORM              0x901B
8599 #define GL_RED_SNORM                      0x8F90
8600 #define GL_RG_SNORM                       0x8F91
8601 #define GL_RGB_SNORM                      0x8F92
8602 #define GL_RGBA_SNORM                     0x8F93
8603 #endif /* GL_EXT_texture_snorm */
8604 
8605 #ifndef GL_EXT_texture_swizzle
8606 #define GL_EXT_texture_swizzle 1
8607 #define GL_TEXTURE_SWIZZLE_R_EXT          0x8E42
8608 #define GL_TEXTURE_SWIZZLE_G_EXT          0x8E43
8609 #define GL_TEXTURE_SWIZZLE_B_EXT          0x8E44
8610 #define GL_TEXTURE_SWIZZLE_A_EXT          0x8E45
8611 #define GL_TEXTURE_SWIZZLE_RGBA_EXT       0x8E46
8612 #endif /* GL_EXT_texture_swizzle */
8613 
8614 #ifndef GL_EXT_timer_query
8615 #define GL_EXT_timer_query 1
8616 #define GL_TIME_ELAPSED_EXT               0x88BF
8617 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
8618 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
8619 #ifdef GL_GLEXT_PROTOTYPES
8620 GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
8621 GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
8622 #endif
8623 #endif /* GL_EXT_timer_query */
8624 
8625 #ifndef GL_EXT_transform_feedback
8626 #define GL_EXT_transform_feedback 1
8627 #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT  0x8C8E
8628 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
8629 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
8630 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
8631 #define GL_INTERLEAVED_ATTRIBS_EXT        0x8C8C
8632 #define GL_SEPARATE_ATTRIBS_EXT           0x8C8D
8633 #define GL_PRIMITIVES_GENERATED_EXT       0x8C87
8634 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
8635 #define GL_RASTERIZER_DISCARD_EXT         0x8C89
8636 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
8637 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
8638 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
8639 #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
8640 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
8641 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
8642 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
8643 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
8644 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
8645 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
8646 typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
8647 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
8648 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
8649 #ifdef GL_GLEXT_PROTOTYPES
8650 GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
8651 GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
8652 GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
8653 GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
8654 GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
8655 GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
8656 GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
8657 #endif
8658 #endif /* GL_EXT_transform_feedback */
8659 
8660 #ifndef GL_EXT_vertex_array
8661 #define GL_EXT_vertex_array 1
8662 #define GL_VERTEX_ARRAY_EXT               0x8074
8663 #define GL_NORMAL_ARRAY_EXT               0x8075
8664 #define GL_COLOR_ARRAY_EXT                0x8076
8665 #define GL_INDEX_ARRAY_EXT                0x8077
8666 #define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
8667 #define GL_EDGE_FLAG_ARRAY_EXT            0x8079
8668 #define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
8669 #define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
8670 #define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
8671 #define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
8672 #define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
8673 #define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
8674 #define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
8675 #define GL_COLOR_ARRAY_SIZE_EXT           0x8081
8676 #define GL_COLOR_ARRAY_TYPE_EXT           0x8082
8677 #define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
8678 #define GL_COLOR_ARRAY_COUNT_EXT          0x8084
8679 #define GL_INDEX_ARRAY_TYPE_EXT           0x8085
8680 #define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
8681 #define GL_INDEX_ARRAY_COUNT_EXT          0x8087
8682 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
8683 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
8684 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
8685 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
8686 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
8687 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
8688 #define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
8689 #define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
8690 #define GL_COLOR_ARRAY_POINTER_EXT        0x8090
8691 #define GL_INDEX_ARRAY_POINTER_EXT        0x8091
8692 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
8693 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
8694 typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
8695 typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8696 typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
8697 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
8698 typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, void **params);
8699 typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8700 typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8701 typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8702 typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8703 #ifdef GL_GLEXT_PROTOTYPES
8704 GLAPI void APIENTRY glArrayElementEXT (GLint i);
8705 GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8706 GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
8707 GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
8708 GLAPI void APIENTRY glGetPointervEXT (GLenum pname, void **params);
8709 GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8710 GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8711 GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8712 GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
8713 #endif
8714 #endif /* GL_EXT_vertex_array */
8715 
8716 #ifndef GL_EXT_vertex_array_bgra
8717 #define GL_EXT_vertex_array_bgra 1
8718 #endif /* GL_EXT_vertex_array_bgra */
8719 
8720 #ifndef GL_EXT_vertex_attrib_64bit
8721 #define GL_EXT_vertex_attrib_64bit 1
8722 #define GL_DOUBLE_VEC2_EXT                0x8FFC
8723 #define GL_DOUBLE_VEC3_EXT                0x8FFD
8724 #define GL_DOUBLE_VEC4_EXT                0x8FFE
8725 #define GL_DOUBLE_MAT2_EXT                0x8F46
8726 #define GL_DOUBLE_MAT3_EXT                0x8F47
8727 #define GL_DOUBLE_MAT4_EXT                0x8F48
8728 #define GL_DOUBLE_MAT2x3_EXT              0x8F49
8729 #define GL_DOUBLE_MAT2x4_EXT              0x8F4A
8730 #define GL_DOUBLE_MAT3x2_EXT              0x8F4B
8731 #define GL_DOUBLE_MAT3x4_EXT              0x8F4C
8732 #define GL_DOUBLE_MAT4x2_EXT              0x8F4D
8733 #define GL_DOUBLE_MAT4x3_EXT              0x8F4E
8734 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
8735 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
8736 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
8737 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8738 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
8739 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
8740 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
8741 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
8742 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
8743 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
8744 #ifdef GL_GLEXT_PROTOTYPES
8745 GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
8746 GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
8747 GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
8748 GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8749 GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
8750 GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
8751 GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
8752 GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
8753 GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
8754 GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































8755 #endif
8756 #endif /* GL_EXT_vertex_attrib_64bit */
8757 
8758 #ifndef GL_EXT_vertex_shader
8759 #define GL_EXT_vertex_shader 1
8760 #define GL_VERTEX_SHADER_EXT              0x8780
8761 #define GL_VERTEX_SHADER_BINDING_EXT      0x8781
8762 #define GL_OP_INDEX_EXT                   0x8782
8763 #define GL_OP_NEGATE_EXT                  0x8783
8764 #define GL_OP_DOT3_EXT                    0x8784
8765 #define GL_OP_DOT4_EXT                    0x8785
8766 #define GL_OP_MUL_EXT                     0x8786
8767 #define GL_OP_ADD_EXT                     0x8787
8768 #define GL_OP_MADD_EXT                    0x8788
8769 #define GL_OP_FRAC_EXT                    0x8789
8770 #define GL_OP_MAX_EXT                     0x878A
8771 #define GL_OP_MIN_EXT                     0x878B
8772 #define GL_OP_SET_GE_EXT                  0x878C
8773 #define GL_OP_SET_LT_EXT                  0x878D
8774 #define GL_OP_CLAMP_EXT                   0x878E
8775 #define GL_OP_FLOOR_EXT                   0x878F
8776 #define GL_OP_ROUND_EXT                   0x8790
8777 #define GL_OP_EXP_BASE_2_EXT              0x8791
8778 #define GL_OP_LOG_BASE_2_EXT              0x8792
8779 #define GL_OP_POWER_EXT                   0x8793
8780 #define GL_OP_RECIP_EXT                   0x8794
8781 #define GL_OP_RECIP_SQRT_EXT              0x8795
8782 #define GL_OP_SUB_EXT                     0x8796
8783 #define GL_OP_CROSS_PRODUCT_EXT           0x8797
8784 #define GL_OP_MULTIPLY_MATRIX_EXT         0x8798
8785 #define GL_OP_MOV_EXT                     0x8799
8786 #define GL_OUTPUT_VERTEX_EXT              0x879A
8787 #define GL_OUTPUT_COLOR0_EXT              0x879B
8788 #define GL_OUTPUT_COLOR1_EXT              0x879C
8789 #define GL_OUTPUT_TEXTURE_COORD0_EXT      0x879D
8790 #define GL_OUTPUT_TEXTURE_COORD1_EXT      0x879E
8791 #define GL_OUTPUT_TEXTURE_COORD2_EXT      0x879F
8792 #define GL_OUTPUT_TEXTURE_COORD3_EXT      0x87A0
8793 #define GL_OUTPUT_TEXTURE_COORD4_EXT      0x87A1
8794 #define GL_OUTPUT_TEXTURE_COORD5_EXT      0x87A2
8795 #define GL_OUTPUT_TEXTURE_COORD6_EXT      0x87A3
8796 #define GL_OUTPUT_TEXTURE_COORD7_EXT      0x87A4
8797 #define GL_OUTPUT_TEXTURE_COORD8_EXT      0x87A5
8798 #define GL_OUTPUT_TEXTURE_COORD9_EXT      0x87A6
8799 #define GL_OUTPUT_TEXTURE_COORD10_EXT     0x87A7
8800 #define GL_OUTPUT_TEXTURE_COORD11_EXT     0x87A8
8801 #define GL_OUTPUT_TEXTURE_COORD12_EXT     0x87A9
8802 #define GL_OUTPUT_TEXTURE_COORD13_EXT     0x87AA
8803 #define GL_OUTPUT_TEXTURE_COORD14_EXT     0x87AB
8804 #define GL_OUTPUT_TEXTURE_COORD15_EXT     0x87AC
8805 #define GL_OUTPUT_TEXTURE_COORD16_EXT     0x87AD
8806 #define GL_OUTPUT_TEXTURE_COORD17_EXT     0x87AE
8807 #define GL_OUTPUT_TEXTURE_COORD18_EXT     0x87AF
8808 #define GL_OUTPUT_TEXTURE_COORD19_EXT     0x87B0
8809 #define GL_OUTPUT_TEXTURE_COORD20_EXT     0x87B1
8810 #define GL_OUTPUT_TEXTURE_COORD21_EXT     0x87B2
8811 #define GL_OUTPUT_TEXTURE_COORD22_EXT     0x87B3
8812 #define GL_OUTPUT_TEXTURE_COORD23_EXT     0x87B4
8813 #define GL_OUTPUT_TEXTURE_COORD24_EXT     0x87B5
8814 #define GL_OUTPUT_TEXTURE_COORD25_EXT     0x87B6
8815 #define GL_OUTPUT_TEXTURE_COORD26_EXT     0x87B7
8816 #define GL_OUTPUT_TEXTURE_COORD27_EXT     0x87B8
8817 #define GL_OUTPUT_TEXTURE_COORD28_EXT     0x87B9
8818 #define GL_OUTPUT_TEXTURE_COORD29_EXT     0x87BA
8819 #define GL_OUTPUT_TEXTURE_COORD30_EXT     0x87BB
8820 #define GL_OUTPUT_TEXTURE_COORD31_EXT     0x87BC
8821 #define GL_OUTPUT_FOG_EXT                 0x87BD
8822 #define GL_SCALAR_EXT                     0x87BE
8823 #define GL_VECTOR_EXT                     0x87BF
8824 #define GL_MATRIX_EXT                     0x87C0
8825 #define GL_VARIANT_EXT                    0x87C1
8826 #define GL_INVARIANT_EXT                  0x87C2
8827 #define GL_LOCAL_CONSTANT_EXT             0x87C3
8828 #define GL_LOCAL_EXT                      0x87C4
8829 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
8830 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
8831 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
8832 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
8833 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT   0x87C9
8834 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
8835 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
8836 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
8837 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
8838 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
8839 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
8840 #define GL_VERTEX_SHADER_VARIANTS_EXT     0x87D0
8841 #define GL_VERTEX_SHADER_INVARIANTS_EXT   0x87D1
8842 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
8843 #define GL_VERTEX_SHADER_LOCALS_EXT       0x87D3
8844 #define GL_VERTEX_SHADER_OPTIMIZED_EXT    0x87D4
8845 #define GL_X_EXT                          0x87D5
8846 #define GL_Y_EXT                          0x87D6
8847 #define GL_Z_EXT                          0x87D7
8848 #define GL_W_EXT                          0x87D8
8849 #define GL_NEGATIVE_X_EXT                 0x87D9
8850 #define GL_NEGATIVE_Y_EXT                 0x87DA
8851 #define GL_NEGATIVE_Z_EXT                 0x87DB
8852 #define GL_NEGATIVE_W_EXT                 0x87DC
8853 #define GL_ZERO_EXT                       0x87DD
8854 #define GL_ONE_EXT                        0x87DE
8855 #define GL_NEGATIVE_ONE_EXT               0x87DF
8856 #define GL_NORMALIZED_RANGE_EXT           0x87E0
8857 #define GL_FULL_RANGE_EXT                 0x87E1
8858 #define GL_CURRENT_VERTEX_EXT             0x87E2
8859 #define GL_MVP_MATRIX_EXT                 0x87E3
8860 #define GL_VARIANT_VALUE_EXT              0x87E4
8861 #define GL_VARIANT_DATATYPE_EXT           0x87E5
8862 #define GL_VARIANT_ARRAY_STRIDE_EXT       0x87E6
8863 #define GL_VARIANT_ARRAY_TYPE_EXT         0x87E7
8864 #define GL_VARIANT_ARRAY_EXT              0x87E8
8865 #define GL_VARIANT_ARRAY_POINTER_EXT      0x87E9
8866 #define GL_INVARIANT_VALUE_EXT            0x87EA
8867 #define GL_INVARIANT_DATATYPE_EXT         0x87EB
8868 #define GL_LOCAL_CONSTANT_VALUE_EXT       0x87EC
8869 #define GL_LOCAL_CONSTANT_DATATYPE_EXT    0x87ED
8870 typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
8871 typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
8872 typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
8873 typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
8874 typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
8875 typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
8876 typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
8877 typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
8878 typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8879 typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8880 typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
8881 typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
8882 typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
8883 typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const void *addr);
8884 typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const void *addr);
8885 typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
8886 typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
8887 typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
8888 typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
8889 typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
8890 typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
8891 typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
8892 typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
8893 typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const void *addr);
8894 typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
8895 typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
8896 typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
8897 typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
8898 typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
8899 typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
8900 typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
8901 typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
8902 typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
8903 typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
8904 typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
8905 typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, void **data);
8906 typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
8907 typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
8908 typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
8909 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
8910 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
8911 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
8912 #ifdef GL_GLEXT_PROTOTYPES
8913 GLAPI void APIENTRY glBeginVertexShaderEXT (void);
8914 GLAPI void APIENTRY glEndVertexShaderEXT (void);
8915 GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
8916 GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
8917 GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
8918 GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
8919 GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
8920 GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
8921 GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8922 GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
8923 GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
8924 GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
8925 GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
8926 GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const void *addr);
8927 GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const void *addr);
8928 GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
8929 GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
8930 GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
8931 GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
8932 GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
8933 GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
8934 GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
8935 GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
8936 GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void *addr);
8937 GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
8938 GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
8939 GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
8940 GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
8941 GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
8942 GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
8943 GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
8944 GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
8945 GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
8946 GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
8947 GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
8948 GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, void **data);
8949 GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
8950 GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
8951 GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
8952 GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
8953 GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
8954 GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);







































8955 #endif
8956 #endif /* GL_EXT_vertex_shader */
8957 
8958 #ifndef GL_EXT_vertex_weighting
8959 #define GL_EXT_vertex_weighting 1
8960 #define GL_MODELVIEW0_STACK_DEPTH_EXT     0x0BA3
8961 #define GL_MODELVIEW1_STACK_DEPTH_EXT     0x8502
8962 #define GL_MODELVIEW0_MATRIX_EXT          0x0BA6
8963 #define GL_MODELVIEW1_MATRIX_EXT          0x8506
8964 #define GL_VERTEX_WEIGHTING_EXT           0x8509
8965 #define GL_MODELVIEW0_EXT                 0x1700
8966 #define GL_MODELVIEW1_EXT                 0x850A
8967 #define GL_CURRENT_VERTEX_WEIGHT_EXT      0x850B
8968 #define GL_VERTEX_WEIGHT_ARRAY_EXT        0x850C
8969 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT   0x850D
8970 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT   0x850E
8971 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
8972 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
8973 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
8974 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
8975 typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
8976 #ifdef GL_GLEXT_PROTOTYPES
8977 GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
8978 GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
8979 GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
8980 #endif
8981 #endif /* GL_EXT_vertex_weighting */
8982 
8983 #ifndef GL_EXT_win32_keyed_mutex
8984 #define GL_EXT_win32_keyed_mutex 1
8985 typedef GLboolean (APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout);
8986 typedef GLboolean (APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key);
8987 #ifdef GL_GLEXT_PROTOTYPES
8988 GLAPI GLboolean APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout);
8989 GLAPI GLboolean APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key);

8990 #endif
8991 #endif /* GL_EXT_win32_keyed_mutex */
8992 
8993 #ifndef GL_EXT_window_rectangles
8994 #define GL_EXT_window_rectangles 1
8995 #define GL_INCLUSIVE_EXT                  0x8F10
8996 #define GL_EXCLUSIVE_EXT                  0x8F11
8997 #define GL_WINDOW_RECTANGLE_EXT           0x8F12
8998 #define GL_WINDOW_RECTANGLE_MODE_EXT      0x8F13
8999 #define GL_MAX_WINDOW_RECTANGLES_EXT      0x8F14
9000 #define GL_NUM_WINDOW_RECTANGLES_EXT      0x8F15
9001 typedef void (APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box);
9002 #ifdef GL_GLEXT_PROTOTYPES
9003 GLAPI void APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box);
9004 #endif
9005 #endif /* GL_EXT_window_rectangles */
9006 
9007 #ifndef GL_EXT_x11_sync_object
9008 #define GL_EXT_x11_sync_object 1
9009 #define GL_SYNC_X11_FENCE_EXT             0x90E1
9010 typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
9011 #ifdef GL_GLEXT_PROTOTYPES
9012 GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
9013 #endif
9014 #endif /* GL_EXT_x11_sync_object */
9015 
9016 #ifndef GL_GREMEDY_frame_terminator
9017 #define GL_GREMEDY_frame_terminator 1
9018 typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
9019 #ifdef GL_GLEXT_PROTOTYPES
9020 GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
9021 #endif
9022 #endif /* GL_GREMEDY_frame_terminator */
9023 
9024 #ifndef GL_GREMEDY_string_marker
9025 #define GL_GREMEDY_string_marker 1
9026 typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void *string);
9027 #ifdef GL_GLEXT_PROTOTYPES
9028 GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const void *string);
9029 #endif
9030 #endif /* GL_GREMEDY_string_marker */
9031 
9032 #ifndef GL_HP_convolution_border_modes
9033 #define GL_HP_convolution_border_modes 1
9034 #define GL_IGNORE_BORDER_HP               0x8150
9035 #define GL_CONSTANT_BORDER_HP             0x8151
9036 #define GL_REPLICATE_BORDER_HP            0x8153
9037 #define GL_CONVOLUTION_BORDER_COLOR_HP    0x8154
9038 #endif /* GL_HP_convolution_border_modes */
9039 
9040 #ifndef GL_HP_image_transform
9041 #define GL_HP_image_transform 1
9042 #define GL_IMAGE_SCALE_X_HP               0x8155
9043 #define GL_IMAGE_SCALE_Y_HP               0x8156
9044 #define GL_IMAGE_TRANSLATE_X_HP           0x8157
9045 #define GL_IMAGE_TRANSLATE_Y_HP           0x8158
9046 #define GL_IMAGE_ROTATE_ANGLE_HP          0x8159
9047 #define GL_IMAGE_ROTATE_ORIGIN_X_HP       0x815A
9048 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP       0x815B
9049 #define GL_IMAGE_MAG_FILTER_HP            0x815C
9050 #define GL_IMAGE_MIN_FILTER_HP            0x815D
9051 #define GL_IMAGE_CUBIC_WEIGHT_HP          0x815E
9052 #define GL_CUBIC_HP                       0x815F
9053 #define GL_AVERAGE_HP                     0x8160
9054 #define GL_IMAGE_TRANSFORM_2D_HP          0x8161
9055 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
9056 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
9057 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
9058 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
9059 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
9060 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
9061 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
9062 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
9063 #ifdef GL_GLEXT_PROTOTYPES
9064 GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
9065 GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
9066 GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
9067 GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
9068 GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
9069 GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
9070 #endif
9071 #endif /* GL_HP_image_transform */
9072 
9073 #ifndef GL_HP_occlusion_test
9074 #define GL_HP_occlusion_test 1
9075 #define GL_OCCLUSION_TEST_HP              0x8165
9076 #define GL_OCCLUSION_TEST_RESULT_HP       0x8166
9077 #endif /* GL_HP_occlusion_test */
9078 
9079 #ifndef GL_HP_texture_lighting
9080 #define GL_HP_texture_lighting 1
9081 #define GL_TEXTURE_LIGHTING_MODE_HP       0x8167
9082 #define GL_TEXTURE_POST_SPECULAR_HP       0x8168
9083 #define GL_TEXTURE_PRE_SPECULAR_HP        0x8169
9084 #endif /* GL_HP_texture_lighting */
9085 
9086 #ifndef GL_IBM_cull_vertex
9087 #define GL_IBM_cull_vertex 1
9088 #define GL_CULL_VERTEX_IBM                103050
9089 #endif /* GL_IBM_cull_vertex */
9090 
9091 #ifndef GL_IBM_multimode_draw_arrays
9092 #define GL_IBM_multimode_draw_arrays 1
9093 typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
9094 typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
9095 #ifdef GL_GLEXT_PROTOTYPES
9096 GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
9097 GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);





9098 #endif
9099 #endif /* GL_IBM_multimode_draw_arrays */
9100 
9101 #ifndef GL_IBM_rasterpos_clip
9102 #define GL_IBM_rasterpos_clip 1
9103 #define GL_RASTER_POSITION_UNCLIPPED_IBM  0x19262
9104 #endif /* GL_IBM_rasterpos_clip */
9105 
9106 #ifndef GL_IBM_static_data
9107 #define GL_IBM_static_data 1
9108 #define GL_ALL_STATIC_DATA_IBM            103060
9109 #define GL_STATIC_VERTEX_ARRAY_IBM        103061
9110 typedef void (APIENTRYP PFNGLFLUSHSTATICDATAIBMPROC) (GLenum target);
9111 #ifdef GL_GLEXT_PROTOTYPES
9112 GLAPI void APIENTRY glFlushStaticDataIBM (GLenum target);




9113 #endif
9114 #endif /* GL_IBM_static_data */
9115 
9116 #ifndef GL_IBM_texture_mirrored_repeat
9117 #define GL_IBM_texture_mirrored_repeat 1
9118 #define GL_MIRRORED_REPEAT_IBM            0x8370
9119 #endif /* GL_IBM_texture_mirrored_repeat */



























9120 
9121 #ifndef GL_IBM_vertex_array_lists
9122 #define GL_IBM_vertex_array_lists 1
9123 #define GL_VERTEX_ARRAY_LIST_IBM          103070
9124 #define GL_NORMAL_ARRAY_LIST_IBM          103071
9125 #define GL_COLOR_ARRAY_LIST_IBM           103072
9126 #define GL_INDEX_ARRAY_LIST_IBM           103073
9127 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM   103074
9128 #define GL_EDGE_FLAG_ARRAY_LIST_IBM       103075
9129 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM  103076
9130 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
9131 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM   103080
9132 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM   103081
9133 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM    103082
9134 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM    103083
9135 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
9136 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
9137 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
9138 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
9139 typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9140 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9141 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean **pointer, GLint ptrstride);
9142 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9143 typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9144 typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9145 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9146 typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9147 #ifdef GL_GLEXT_PROTOTYPES
9148 GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9149 GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9150 GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean **pointer, GLint ptrstride);
9151 GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9152 GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9153 GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9154 GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9155 GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
9156 #endif
9157 #endif /* GL_IBM_vertex_array_lists */
9158 
9159 #ifndef GL_INGR_blend_func_separate
9160 #define GL_INGR_blend_func_separate 1
9161 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
9162 #ifdef GL_GLEXT_PROTOTYPES
9163 GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
9164 #endif
9165 #endif /* GL_INGR_blend_func_separate */
9166 
9167 #ifndef GL_INGR_color_clamp
9168 #define GL_INGR_color_clamp 1
9169 #define GL_RED_MIN_CLAMP_INGR             0x8560
9170 #define GL_GREEN_MIN_CLAMP_INGR           0x8561
9171 #define GL_BLUE_MIN_CLAMP_INGR            0x8562
9172 #define GL_ALPHA_MIN_CLAMP_INGR           0x8563
9173 #define GL_RED_MAX_CLAMP_INGR             0x8564
9174 #define GL_GREEN_MAX_CLAMP_INGR           0x8565
9175 #define GL_BLUE_MAX_CLAMP_INGR            0x8566
9176 #define GL_ALPHA_MAX_CLAMP_INGR           0x8567
9177 #endif /* GL_INGR_color_clamp */
9178 
9179 #ifndef GL_INGR_interlace_read
9180 #define GL_INGR_interlace_read 1
9181 #define GL_INTERLACE_READ_INGR            0x8568
9182 #endif /* GL_INGR_interlace_read */
9183 
9184 #ifndef GL_INTEL_blackhole_render
9185 #define GL_INTEL_blackhole_render 1
9186 #define GL_BLACKHOLE_RENDER_INTEL         0x83FC
9187 #endif /* GL_INTEL_blackhole_render */
9188 
9189 #ifndef GL_INTEL_conservative_rasterization
9190 #define GL_INTEL_conservative_rasterization 1
9191 #define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE
9192 #endif /* GL_INTEL_conservative_rasterization */
9193 
9194 #ifndef GL_INTEL_fragment_shader_ordering
9195 #define GL_INTEL_fragment_shader_ordering 1
9196 #endif /* GL_INTEL_fragment_shader_ordering */
9197 
9198 #ifndef GL_INTEL_framebuffer_CMAA
9199 #define GL_INTEL_framebuffer_CMAA 1
9200 typedef void (APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void);
9201 #ifdef GL_GLEXT_PROTOTYPES
9202 GLAPI void APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void);
9203 #endif
9204 #endif /* GL_INTEL_framebuffer_CMAA */
9205 
9206 #ifndef GL_INTEL_map_texture
9207 #define GL_INTEL_map_texture 1
9208 #define GL_TEXTURE_MEMORY_LAYOUT_INTEL    0x83FF
9209 #define GL_LAYOUT_DEFAULT_INTEL           0
9210 #define GL_LAYOUT_LINEAR_INTEL            1
9211 #define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2
9212 typedef void (APIENTRYP PFNGLSYNCTEXTUREINTELPROC) (GLuint texture);
9213 typedef void (APIENTRYP PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level);
9214 typedef void *(APIENTRYP PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
9215 #ifdef GL_GLEXT_PROTOTYPES
9216 GLAPI void APIENTRY glSyncTextureINTEL (GLuint texture);
9217 GLAPI void APIENTRY glUnmapTexture2DINTEL (GLuint texture, GLint level);
9218 GLAPI void *APIENTRY glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
9219 #endif
9220 #endif /* GL_INTEL_map_texture */
9221 
9222 #ifndef GL_INTEL_parallel_arrays
9223 #define GL_INTEL_parallel_arrays 1
9224 #define GL_PARALLEL_ARRAYS_INTEL          0x83F4
9225 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
9226 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
9227 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
9228 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
9229 typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
9230 typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void **pointer);
9231 typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
9232 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
9233 #ifdef GL_GLEXT_PROTOTYPES
9234 GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const void **pointer);
9235 GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const void **pointer);
9236 GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const void **pointer);
9237 GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const void **pointer);
9238 #endif
9239 #endif /* GL_INTEL_parallel_arrays */
9240 
9241 #ifndef GL_INTEL_performance_query
9242 #define GL_INTEL_performance_query 1
9243 #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
9244 #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
9245 #define GL_PERFQUERY_WAIT_INTEL           0x83FB
9246 #define GL_PERFQUERY_FLUSH_INTEL          0x83FA
9247 #define GL_PERFQUERY_DONOT_FLUSH_INTEL    0x83F9
9248 #define GL_PERFQUERY_COUNTER_EVENT_INTEL  0x94F0
9249 #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
9250 #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
9251 #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
9252 #define GL_PERFQUERY_COUNTER_RAW_INTEL    0x94F4
9253 #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
9254 #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
9255 #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
9256 #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
9257 #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
9258 #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
9259 #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
9260 #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
9261 #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
9262 #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
9263 typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
9264 typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
9265 typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
9266 typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
9267 typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
9268 typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
9269 typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
9270 typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
9271 typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
9272 typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
9273 #ifdef GL_GLEXT_PROTOTYPES
9274 GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
9275 GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
9276 GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
9277 GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
9278 GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
9279 GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
9280 GLAPI void APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
9281 GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
9282 GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
9283 GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
9284 #endif
9285 #endif /* GL_INTEL_performance_query */
9286 
9287 #ifndef GL_MESAX_texture_stack
9288 #define GL_MESAX_texture_stack 1
9289 #define GL_TEXTURE_1D_STACK_MESAX         0x8759
9290 #define GL_TEXTURE_2D_STACK_MESAX         0x875A
9291 #define GL_PROXY_TEXTURE_1D_STACK_MESAX   0x875B
9292 #define GL_PROXY_TEXTURE_2D_STACK_MESAX   0x875C
9293 #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
9294 #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
9295 #endif /* GL_MESAX_texture_stack */
9296 
9297 #ifndef GL_MESA_pack_invert
9298 #define GL_MESA_pack_invert 1
9299 #define GL_PACK_INVERT_MESA               0x8758
9300 #endif /* GL_MESA_pack_invert */
9301 
9302 #ifndef GL_MESA_program_binary_formats
9303 #define GL_MESA_program_binary_formats 1
9304 #define GL_PROGRAM_BINARY_FORMAT_MESA     0x875F
9305 #endif /* GL_MESA_program_binary_formats */
9306 
9307 #ifndef GL_MESA_resize_buffers
9308 #define GL_MESA_resize_buffers 1
9309 typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
9310 #ifdef GL_GLEXT_PROTOTYPES
9311 GLAPI void APIENTRY glResizeBuffersMESA (void);


9312 #endif
9313 #endif /* GL_MESA_resize_buffers */
9314 
9315 #ifndef GL_MESA_shader_integer_functions
9316 #define GL_MESA_shader_integer_functions 1
9317 #endif /* GL_MESA_shader_integer_functions */
9318 
9319 #ifndef GL_MESA_tile_raster_order
9320 #define GL_MESA_tile_raster_order 1
9321 #define GL_TILE_RASTER_ORDER_FIXED_MESA   0x8BB8
9322 #define GL_TILE_RASTER_ORDER_INCREASING_X_MESA 0x8BB9
9323 #define GL_TILE_RASTER_ORDER_INCREASING_Y_MESA 0x8BBA
9324 #endif /* GL_MESA_tile_raster_order */
9325 
9326 #ifndef GL_MESA_window_pos
9327 #define GL_MESA_window_pos 1


























9328 typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
9329 typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
9330 typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
9331 typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
9332 typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
9333 typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
9334 typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
9335 typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
9336 typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
9337 typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
9338 typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
9339 typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
9340 typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
9341 typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
9342 typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
9343 typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
9344 typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9345 typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
9346 typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9347 typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
9348 typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
9349 typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
9350 typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
9351 typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
9352 #ifdef GL_GLEXT_PROTOTYPES
9353 GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
9354 GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
9355 GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
9356 GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
9357 GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
9358 GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
9359 GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
9360 GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
9361 GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
9362 GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
9363 GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
9364 GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
9365 GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
9366 GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
9367 GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
9368 GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
9369 GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9370 GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
9371 GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9372 GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
9373 GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
9374 GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
9375 GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
9376 GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
9377 #endif
9378 #endif /* GL_MESA_window_pos */
9379 
9380 #ifndef GL_MESA_ycbcr_texture
9381 #define GL_MESA_ycbcr_texture 1
9382 #define GL_UNSIGNED_SHORT_8_8_MESA        0x85BA
9383 #define GL_UNSIGNED_SHORT_8_8_REV_MESA    0x85BB
9384 #define GL_YCBCR_MESA                     0x8757
9385 #endif /* GL_MESA_ycbcr_texture */
9386 
9387 #ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers
9388 #define GL_NVX_blend_equation_advanced_multi_draw_buffers 1
9389 #endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
9390 
9391 #ifndef GL_NVX_conditional_render
9392 #define GL_NVX_conditional_render 1
9393 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
9394 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) (void);
9395 #ifdef GL_GLEXT_PROTOTYPES
9396 GLAPI void APIENTRY glBeginConditionalRenderNVX (GLuint id);
9397 GLAPI void APIENTRY glEndConditionalRenderNVX (void);
9398 #endif
9399 #endif /* GL_NVX_conditional_render */
9400 
9401 #ifndef GL_NVX_gpu_memory_info
9402 #define GL_NVX_gpu_memory_info 1
9403 #define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
9404 #define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
9405 #define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
9406 #define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
9407 #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
9408 #endif /* GL_NVX_gpu_memory_info */
9409 
9410 #ifndef GL_NVX_linked_gpu_multicast
9411 #define GL_NVX_linked_gpu_multicast 1
9412 #define GL_LGPU_SEPARATE_STORAGE_BIT_NVX  0x0800
9413 #define GL_MAX_LGPU_GPUS_NVX              0x92BA
9414 typedef void (APIENTRYP PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
9415 typedef void (APIENTRYP PFNGLLGPUCOPYIMAGESUBDATANVXPROC) (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
9416 typedef void (APIENTRYP PFNGLLGPUINTERLOCKNVXPROC) (void);
9417 #ifdef GL_GLEXT_PROTOTYPES
9418 GLAPI void APIENTRY glLGPUNamedBufferSubDataNVX (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
9419 GLAPI void APIENTRY glLGPUCopyImageSubDataNVX (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
9420 GLAPI void APIENTRY glLGPUInterlockNVX (void);
9421 #endif
9422 #endif /* GL_NVX_linked_gpu_multicast */
9423 
9424 #ifndef GL_NV_alpha_to_coverage_dither_control
9425 #define GL_NV_alpha_to_coverage_dither_control 1
9426 #define GL_ALPHA_TO_COVERAGE_DITHER_DEFAULT_NV 0x934D
9427 #define GL_ALPHA_TO_COVERAGE_DITHER_ENABLE_NV 0x934E
9428 #define GL_ALPHA_TO_COVERAGE_DITHER_DISABLE_NV 0x934F
9429 #define GL_ALPHA_TO_COVERAGE_DITHER_MODE_NV 0x92BF
9430 typedef void (APIENTRYP PFNGLALPHATOCOVERAGEDITHERCONTROLNVPROC) (GLenum mode);
9431 #ifdef GL_GLEXT_PROTOTYPES
9432 GLAPI void APIENTRY glAlphaToCoverageDitherControlNV (GLenum mode);
9433 #endif
9434 #endif /* GL_NV_alpha_to_coverage_dither_control */
9435 
9436 #ifndef GL_NV_bindless_multi_draw_indirect
9437 #define GL_NV_bindless_multi_draw_indirect 1
9438 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
9439 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
9440 #ifdef GL_GLEXT_PROTOTYPES
9441 GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
9442 GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
9443 #endif
9444 #endif /* GL_NV_bindless_multi_draw_indirect */
9445 
9446 #ifndef GL_NV_bindless_multi_draw_indirect_count
9447 #define GL_NV_bindless_multi_draw_indirect_count 1
9448 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9449 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9450 #ifdef GL_GLEXT_PROTOTYPES
9451 GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9452 GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9453 #endif
9454 #endif /* GL_NV_bindless_multi_draw_indirect_count */
9455 
9456 #ifndef GL_NV_bindless_texture
9457 #define GL_NV_bindless_texture 1
9458 typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
9459 typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
9460 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
9461 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
9462 typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
9463 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
9464 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
9465 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
9466 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
9467 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
9468 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
9469 typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
9470 typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
9471 #ifdef GL_GLEXT_PROTOTYPES
9472 GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
9473 GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
9474 GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
9475 GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
9476 GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
9477 GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
9478 GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
9479 GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
9480 GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
9481 GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
9482 GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
9483 GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
9484 GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
9485 #endif
9486 #endif /* GL_NV_bindless_texture */
9487 
9488 #ifndef GL_NV_blend_equation_advanced
9489 #define GL_NV_blend_equation_advanced 1
9490 #define GL_BLEND_OVERLAP_NV               0x9281
9491 #define GL_BLEND_PREMULTIPLIED_SRC_NV     0x9280
9492 #define GL_BLUE_NV                        0x1905
9493 #define GL_COLORBURN_NV                   0x929A
9494 #define GL_COLORDODGE_NV                  0x9299
9495 #define GL_CONJOINT_NV                    0x9284
9496 #define GL_CONTRAST_NV                    0x92A1
9497 #define GL_DARKEN_NV                      0x9297
9498 #define GL_DIFFERENCE_NV                  0x929E
9499 #define GL_DISJOINT_NV                    0x9283
9500 #define GL_DST_ATOP_NV                    0x928F
9501 #define GL_DST_IN_NV                      0x928B
9502 #define GL_DST_NV                         0x9287
9503 #define GL_DST_OUT_NV                     0x928D
9504 #define GL_DST_OVER_NV                    0x9289
9505 #define GL_EXCLUSION_NV                   0x92A0
9506 #define GL_GREEN_NV                       0x1904
9507 #define GL_HARDLIGHT_NV                   0x929B
9508 #define GL_HARDMIX_NV                     0x92A9
9509 #define GL_HSL_COLOR_NV                   0x92AF
9510 #define GL_HSL_HUE_NV                     0x92AD
9511 #define GL_HSL_LUMINOSITY_NV              0x92B0
9512 #define GL_HSL_SATURATION_NV              0x92AE
9513 #define GL_INVERT_OVG_NV                  0x92B4
9514 #define GL_INVERT_RGB_NV                  0x92A3
9515 #define GL_LIGHTEN_NV                     0x9298
9516 #define GL_LINEARBURN_NV                  0x92A5
9517 #define GL_LINEARDODGE_NV                 0x92A4
9518 #define GL_LINEARLIGHT_NV                 0x92A7
9519 #define GL_MINUS_CLAMPED_NV               0x92B3
9520 #define GL_MINUS_NV                       0x929F
9521 #define GL_MULTIPLY_NV                    0x9294
9522 #define GL_OVERLAY_NV                     0x9296
9523 #define GL_PINLIGHT_NV                    0x92A8
9524 #define GL_PLUS_CLAMPED_ALPHA_NV          0x92B2
9525 #define GL_PLUS_CLAMPED_NV                0x92B1
9526 #define GL_PLUS_DARKER_NV                 0x9292
9527 #define GL_PLUS_NV                        0x9291
9528 #define GL_RED_NV                         0x1903
9529 #define GL_SCREEN_NV                      0x9295
9530 #define GL_SOFTLIGHT_NV                   0x929C
9531 #define GL_SRC_ATOP_NV                    0x928E
9532 #define GL_SRC_IN_NV                      0x928A
9533 #define GL_SRC_NV                         0x9286
9534 #define GL_SRC_OUT_NV                     0x928C
9535 #define GL_SRC_OVER_NV                    0x9288
9536 #define GL_UNCORRELATED_NV                0x9282
9537 #define GL_VIVIDLIGHT_NV                  0x92A6
9538 #define GL_XOR_NV                         0x1506
9539 typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
9540 typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
9541 #ifdef GL_GLEXT_PROTOTYPES
9542 GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
9543 GLAPI void APIENTRY glBlendBarrierNV (void);
9544 #endif
9545 #endif /* GL_NV_blend_equation_advanced */
9546 
9547 #ifndef GL_NV_blend_equation_advanced_coherent
9548 #define GL_NV_blend_equation_advanced_coherent 1
9549 #define GL_BLEND_ADVANCED_COHERENT_NV     0x9285
9550 #endif /* GL_NV_blend_equation_advanced_coherent */
9551 
9552 #ifndef GL_NV_blend_minmax_factor
9553 #define GL_NV_blend_minmax_factor 1
9554 #endif /* GL_NV_blend_minmax_factor */
9555 
9556 #ifndef GL_NV_blend_square
9557 #define GL_NV_blend_square 1
9558 #endif /* GL_NV_blend_square */
9559 
9560 #ifndef GL_NV_clip_space_w_scaling
9561 #define GL_NV_clip_space_w_scaling 1
9562 #define GL_VIEWPORT_POSITION_W_SCALE_NV   0x937C
9563 #define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D
9564 #define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E
9565 typedef void (APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
9566 #ifdef GL_GLEXT_PROTOTYPES
9567 GLAPI void APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
9568 #endif
9569 #endif /* GL_NV_clip_space_w_scaling */
9570 
9571 #ifndef GL_NV_command_list
9572 #define GL_NV_command_list 1
9573 #define GL_TERMINATE_SEQUENCE_COMMAND_NV  0x0000
9574 #define GL_NOP_COMMAND_NV                 0x0001
9575 #define GL_DRAW_ELEMENTS_COMMAND_NV       0x0002
9576 #define GL_DRAW_ARRAYS_COMMAND_NV         0x0003
9577 #define GL_DRAW_ELEMENTS_STRIP_COMMAND_NV 0x0004
9578 #define GL_DRAW_ARRAYS_STRIP_COMMAND_NV   0x0005
9579 #define GL_DRAW_ELEMENTS_INSTANCED_COMMAND_NV 0x0006
9580 #define GL_DRAW_ARRAYS_INSTANCED_COMMAND_NV 0x0007
9581 #define GL_ELEMENT_ADDRESS_COMMAND_NV     0x0008
9582 #define GL_ATTRIBUTE_ADDRESS_COMMAND_NV   0x0009
9583 #define GL_UNIFORM_ADDRESS_COMMAND_NV     0x000A
9584 #define GL_BLEND_COLOR_COMMAND_NV         0x000B
9585 #define GL_STENCIL_REF_COMMAND_NV         0x000C
9586 #define GL_LINE_WIDTH_COMMAND_NV          0x000D
9587 #define GL_POLYGON_OFFSET_COMMAND_NV      0x000E
9588 #define GL_ALPHA_REF_COMMAND_NV           0x000F
9589 #define GL_VIEWPORT_COMMAND_NV            0x0010
9590 #define GL_SCISSOR_COMMAND_NV             0x0011
9591 #define GL_FRONT_FACE_COMMAND_NV          0x0012
9592 typedef void (APIENTRYP PFNGLCREATESTATESNVPROC) (GLsizei n, GLuint *states);
9593 typedef void (APIENTRYP PFNGLDELETESTATESNVPROC) (GLsizei n, const GLuint *states);
9594 typedef GLboolean (APIENTRYP PFNGLISSTATENVPROC) (GLuint state);
9595 typedef void (APIENTRYP PFNGLSTATECAPTURENVPROC) (GLuint state, GLenum mode);
9596 typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size);
9597 typedef GLushort (APIENTRYP PFNGLGETSTAGEINDEXNVPROC) (GLenum shadertype);
9598 typedef void (APIENTRYP PFNGLDRAWCOMMANDSNVPROC) (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count);
9599 typedef void (APIENTRYP PFNGLDRAWCOMMANDSADDRESSNVPROC) (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count);
9600 typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESNVPROC) (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
9601 typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC) (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
9602 typedef void (APIENTRYP PFNGLCREATECOMMANDLISTSNVPROC) (GLsizei n, GLuint *lists);
9603 typedef void (APIENTRYP PFNGLDELETECOMMANDLISTSNVPROC) (GLsizei n, const GLuint *lists);
9604 typedef GLboolean (APIENTRYP PFNGLISCOMMANDLISTNVPROC) (GLuint list);
9605 typedef void (APIENTRYP PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC) (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
9606 typedef void (APIENTRYP PFNGLCOMMANDLISTSEGMENTSNVPROC) (GLuint list, GLuint segments);
9607 typedef void (APIENTRYP PFNGLCOMPILECOMMANDLISTNVPROC) (GLuint list);
9608 typedef void (APIENTRYP PFNGLCALLCOMMANDLISTNVPROC) (GLuint list);
9609 #ifdef GL_GLEXT_PROTOTYPES
9610 GLAPI void APIENTRY glCreateStatesNV (GLsizei n, GLuint *states);
9611 GLAPI void APIENTRY glDeleteStatesNV (GLsizei n, const GLuint *states);
9612 GLAPI GLboolean APIENTRY glIsStateNV (GLuint state);
9613 GLAPI void APIENTRY glStateCaptureNV (GLuint state, GLenum mode);
9614 GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size);
9615 GLAPI GLushort APIENTRY glGetStageIndexNV (GLenum shadertype);
9616 GLAPI void APIENTRY glDrawCommandsNV (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count);
9617 GLAPI void APIENTRY glDrawCommandsAddressNV (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count);
9618 GLAPI void APIENTRY glDrawCommandsStatesNV (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
9619 GLAPI void APIENTRY glDrawCommandsStatesAddressNV (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
9620 GLAPI void APIENTRY glCreateCommandListsNV (GLsizei n, GLuint *lists);
9621 GLAPI void APIENTRY glDeleteCommandListsNV (GLsizei n, const GLuint *lists);
9622 GLAPI GLboolean APIENTRY glIsCommandListNV (GLuint list);
9623 GLAPI void APIENTRY glListDrawCommandsStatesClientNV (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
9624 GLAPI void APIENTRY glCommandListSegmentsNV (GLuint list, GLuint segments);
9625 GLAPI void APIENTRY glCompileCommandListNV (GLuint list);
9626 GLAPI void APIENTRY glCallCommandListNV (GLuint list);
9627 #endif
9628 #endif /* GL_NV_command_list */
9629 
9630 #ifndef GL_NV_compute_program5
9631 #define GL_NV_compute_program5 1
9632 #define GL_COMPUTE_PROGRAM_NV             0x90FB
9633 #define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
9634 #endif /* GL_NV_compute_program5 */
9635 
9636 #ifndef GL_NV_compute_shader_derivatives
9637 #define GL_NV_compute_shader_derivatives 1
9638 #endif /* GL_NV_compute_shader_derivatives */
9639 
9640 #ifndef GL_NV_conditional_render
9641 #define GL_NV_conditional_render 1
9642 #define GL_QUERY_WAIT_NV                  0x8E13
9643 #define GL_QUERY_NO_WAIT_NV               0x8E14
9644 #define GL_QUERY_BY_REGION_WAIT_NV        0x8E15
9645 #define GL_QUERY_BY_REGION_NO_WAIT_NV     0x8E16
9646 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
9647 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
9648 #ifdef GL_GLEXT_PROTOTYPES
9649 GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
9650 GLAPI void APIENTRY glEndConditionalRenderNV (void);
9651 #endif
9652 #endif /* GL_NV_conditional_render */
9653 
9654 #ifndef GL_NV_conservative_raster
9655 #define GL_NV_conservative_raster 1
9656 #define GL_CONSERVATIVE_RASTERIZATION_NV  0x9346
9657 #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
9658 #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
9659 #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
9660 typedef void (APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
9661 #ifdef GL_GLEXT_PROTOTYPES
9662 GLAPI void APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
9663 #endif
9664 #endif /* GL_NV_conservative_raster */
9665 
9666 #ifndef GL_NV_conservative_raster_dilate
9667 #define GL_NV_conservative_raster_dilate 1
9668 #define GL_CONSERVATIVE_RASTER_DILATE_NV  0x9379
9669 #define GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV 0x937A
9670 #define GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV 0x937B
9671 typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERFNVPROC) (GLenum pname, GLfloat value);
9672 #ifdef GL_GLEXT_PROTOTYPES
9673 GLAPI void APIENTRY glConservativeRasterParameterfNV (GLenum pname, GLfloat value);
9674 #endif
9675 #endif /* GL_NV_conservative_raster_dilate */
9676 
9677 #ifndef GL_NV_conservative_raster_pre_snap
9678 #define GL_NV_conservative_raster_pre_snap 1
9679 #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550
9680 #endif /* GL_NV_conservative_raster_pre_snap */
9681 
9682 #ifndef GL_NV_conservative_raster_pre_snap_triangles
9683 #define GL_NV_conservative_raster_pre_snap_triangles 1
9684 #define GL_CONSERVATIVE_RASTER_MODE_NV    0x954D
9685 #define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E
9686 #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F
9687 typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param);
9688 #ifdef GL_GLEXT_PROTOTYPES
9689 GLAPI void APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param);
9690 #endif
9691 #endif /* GL_NV_conservative_raster_pre_snap_triangles */
9692 
9693 #ifndef GL_NV_conservative_raster_underestimation
9694 #define GL_NV_conservative_raster_underestimation 1
9695 #endif /* GL_NV_conservative_raster_underestimation */
9696 
9697 #ifndef GL_NV_copy_depth_to_color
9698 #define GL_NV_copy_depth_to_color 1
9699 #define GL_DEPTH_STENCIL_TO_RGBA_NV       0x886E
9700 #define GL_DEPTH_STENCIL_TO_BGRA_NV       0x886F
9701 #endif /* GL_NV_copy_depth_to_color */
9702 
9703 #ifndef GL_NV_copy_image
9704 #define GL_NV_copy_image 1
9705 typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) (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 width, GLsizei height, GLsizei depth);
9706 #ifdef GL_GLEXT_PROTOTYPES
9707 GLAPI void APIENTRY glCopyImageSubDataNV (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 width, GLsizei height, GLsizei depth);
9708 #endif
9709 #endif /* GL_NV_copy_image */
9710 
9711 #ifndef GL_NV_deep_texture3D
9712 #define GL_NV_deep_texture3D 1
9713 #define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0
9714 #define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV   0x90D1
9715 #endif /* GL_NV_deep_texture3D */
9716 
9717 #ifndef GL_NV_depth_buffer_float
9718 #define GL_NV_depth_buffer_float 1
9719 #define GL_DEPTH_COMPONENT32F_NV          0x8DAB
9720 #define GL_DEPTH32F_STENCIL8_NV           0x8DAC
9721 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
9722 #define GL_DEPTH_BUFFER_FLOAT_MODE_NV     0x8DAF
9723 typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
9724 typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
9725 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
9726 #ifdef GL_GLEXT_PROTOTYPES
9727 GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
9728 GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
9729 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
9730 #endif
9731 #endif /* GL_NV_depth_buffer_float */
9732 
9733 #ifndef GL_NV_depth_clamp
9734 #define GL_NV_depth_clamp 1
9735 #define GL_DEPTH_CLAMP_NV                 0x864F
9736 #endif /* GL_NV_depth_clamp */
9737 
9738 #ifndef GL_NV_draw_texture
9739 #define GL_NV_draw_texture 1
9740 typedef void (APIENTRYP PFNGLDRAWTEXTURENVPROC) (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
9741 #ifdef GL_GLEXT_PROTOTYPES
9742 GLAPI void APIENTRY glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
9743 #endif
9744 #endif /* GL_NV_draw_texture */
9745 
9746 #ifndef GL_NV_draw_vulkan_image
9747 #define GL_NV_draw_vulkan_image 1
9748 typedef void (APIENTRY  *GLVULKANPROCNV)(void);
9749 typedef void (APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
9750 typedef GLVULKANPROCNV (APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name);
9751 typedef void (APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
9752 typedef void (APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
9753 typedef void (APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence);
9754 #ifdef GL_GLEXT_PROTOTYPES
9755 GLAPI void APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
9756 GLAPI GLVULKANPROCNV APIENTRY glGetVkProcAddrNV (const GLchar *name);
9757 GLAPI void APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore);
9758 GLAPI void APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore);
9759 GLAPI void APIENTRY glSignalVkFenceNV (GLuint64 vkFence);
9760 #endif
9761 #endif /* GL_NV_draw_vulkan_image */
9762 
9763 #ifndef GL_NV_evaluators
9764 #define GL_NV_evaluators 1
9765 #define GL_EVAL_2D_NV                     0x86C0
9766 #define GL_EVAL_TRIANGULAR_2D_NV          0x86C1
9767 #define GL_MAP_TESSELLATION_NV            0x86C2
9768 #define GL_MAP_ATTRIB_U_ORDER_NV          0x86C3
9769 #define GL_MAP_ATTRIB_V_ORDER_NV          0x86C4
9770 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
9771 #define GL_EVAL_VERTEX_ATTRIB0_NV         0x86C6
9772 #define GL_EVAL_VERTEX_ATTRIB1_NV         0x86C7
9773 #define GL_EVAL_VERTEX_ATTRIB2_NV         0x86C8
9774 #define GL_EVAL_VERTEX_ATTRIB3_NV         0x86C9
9775 #define GL_EVAL_VERTEX_ATTRIB4_NV         0x86CA
9776 #define GL_EVAL_VERTEX_ATTRIB5_NV         0x86CB
9777 #define GL_EVAL_VERTEX_ATTRIB6_NV         0x86CC
9778 #define GL_EVAL_VERTEX_ATTRIB7_NV         0x86CD
9779 #define GL_EVAL_VERTEX_ATTRIB8_NV         0x86CE
9780 #define GL_EVAL_VERTEX_ATTRIB9_NV         0x86CF
9781 #define GL_EVAL_VERTEX_ATTRIB10_NV        0x86D0
9782 #define GL_EVAL_VERTEX_ATTRIB11_NV        0x86D1
9783 #define GL_EVAL_VERTEX_ATTRIB12_NV        0x86D2
9784 #define GL_EVAL_VERTEX_ATTRIB13_NV        0x86D3
9785 #define GL_EVAL_VERTEX_ATTRIB14_NV        0x86D4
9786 #define GL_EVAL_VERTEX_ATTRIB15_NV        0x86D5
9787 #define GL_MAX_MAP_TESSELLATION_NV        0x86D6
9788 #define GL_MAX_RATIONAL_EVAL_ORDER_NV     0x86D7
9789 typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
9790 typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
9791 typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
9792 typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
9793 typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
9794 typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
9795 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
9796 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
9797 typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
9798 #ifdef GL_GLEXT_PROTOTYPES
9799 GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
9800 GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
9801 GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
9802 GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
9803 GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
9804 GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
9805 GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
9806 GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
9807 GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
9808 #endif
9809 #endif /* GL_NV_evaluators */
9810 
9811 #ifndef GL_NV_explicit_multisample
9812 #define GL_NV_explicit_multisample 1
9813 #define GL_SAMPLE_POSITION_NV             0x8E50
9814 #define GL_SAMPLE_MASK_NV                 0x8E51
9815 #define GL_SAMPLE_MASK_VALUE_NV           0x8E52
9816 #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
9817 #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
9818 #define GL_TEXTURE_RENDERBUFFER_NV        0x8E55
9819 #define GL_SAMPLER_RENDERBUFFER_NV        0x8E56
9820 #define GL_INT_SAMPLER_RENDERBUFFER_NV    0x8E57
9821 #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
9822 #define GL_MAX_SAMPLE_MASK_WORDS_NV       0x8E59
9823 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
9824 typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
9825 typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
9826 #ifdef GL_GLEXT_PROTOTYPES
9827 GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
9828 GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
9829 GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
9830 #endif
9831 #endif /* GL_NV_explicit_multisample */
9832 
9833 #ifndef GL_NV_fence
9834 #define GL_NV_fence 1
9835 #define GL_ALL_COMPLETED_NV               0x84F2
9836 #define GL_FENCE_STATUS_NV                0x84F3
9837 #define GL_FENCE_CONDITION_NV             0x84F4
9838 typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
9839 typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
9840 typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
9841 typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
9842 typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
9843 typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
9844 typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
9845 #ifdef GL_GLEXT_PROTOTYPES
9846 GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
9847 GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
9848 GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
9849 GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
9850 GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
9851 GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
9852 GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
9853 #endif
9854 #endif /* GL_NV_fence */
9855 
9856 #ifndef GL_NV_fill_rectangle
9857 #define GL_NV_fill_rectangle 1
9858 #define GL_FILL_RECTANGLE_NV              0x933C
9859 #endif /* GL_NV_fill_rectangle */
9860 
9861 #ifndef GL_NV_float_buffer
9862 #define GL_NV_float_buffer 1
9863 #define GL_FLOAT_R_NV                     0x8880
9864 #define GL_FLOAT_RG_NV                    0x8881
9865 #define GL_FLOAT_RGB_NV                   0x8882
9866 #define GL_FLOAT_RGBA_NV                  0x8883
9867 #define GL_FLOAT_R16_NV                   0x8884
9868 #define GL_FLOAT_R32_NV                   0x8885
9869 #define GL_FLOAT_RG16_NV                  0x8886
9870 #define GL_FLOAT_RG32_NV                  0x8887
9871 #define GL_FLOAT_RGB16_NV                 0x8888
9872 #define GL_FLOAT_RGB32_NV                 0x8889
9873 #define GL_FLOAT_RGBA16_NV                0x888A
9874 #define GL_FLOAT_RGBA32_NV                0x888B
9875 #define GL_TEXTURE_FLOAT_COMPONENTS_NV    0x888C
9876 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV     0x888D
9877 #define GL_FLOAT_RGBA_MODE_NV             0x888E
9878 #endif /* GL_NV_float_buffer */
9879 
9880 #ifndef GL_NV_fog_distance
9881 #define GL_NV_fog_distance 1
9882 #define GL_FOG_DISTANCE_MODE_NV           0x855A
9883 #define GL_EYE_RADIAL_NV                  0x855B
9884 #define GL_EYE_PLANE_ABSOLUTE_NV          0x855C
9885 #endif /* GL_NV_fog_distance */
9886 
9887 #ifndef GL_NV_fragment_coverage_to_color
9888 #define GL_NV_fragment_coverage_to_color 1
9889 #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV  0x92DD
9890 #define GL_FRAGMENT_COVERAGE_COLOR_NV     0x92DE
9891 typedef void (APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color);
9892 #ifdef GL_GLEXT_PROTOTYPES
9893 GLAPI void APIENTRY glFragmentCoverageColorNV (GLuint color);




9894 #endif
9895 #endif /* GL_NV_fragment_coverage_to_color */
9896 
9897 #ifndef GL_NV_fragment_program
9898 #define GL_NV_fragment_program 1
9899 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
9900 #define GL_FRAGMENT_PROGRAM_NV            0x8870
9901 #define GL_MAX_TEXTURE_COORDS_NV          0x8871
9902 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV     0x8872
9903 #define GL_FRAGMENT_PROGRAM_BINDING_NV    0x8873
9904 #define GL_PROGRAM_ERROR_STRING_NV        0x8874
9905 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9906 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
9907 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9908 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
9909 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
9910 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
9911 #ifdef GL_GLEXT_PROTOTYPES
9912 GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9913 GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
9914 GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9915 GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
9916 GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
9917 GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);











9918 #endif
9919 #endif /* GL_NV_fragment_program */
9920 
9921 #ifndef GL_NV_fragment_program2
9922 #define GL_NV_fragment_program2 1
9923 #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
9924 #define GL_MAX_PROGRAM_CALL_DEPTH_NV      0x88F5
9925 #define GL_MAX_PROGRAM_IF_DEPTH_NV        0x88F6
9926 #define GL_MAX_PROGRAM_LOOP_DEPTH_NV      0x88F7
9927 #define GL_MAX_PROGRAM_LOOP_COUNT_NV      0x88F8
9928 #endif /* GL_NV_fragment_program2 */
9929 
9930 #ifndef GL_NV_fragment_program4
9931 #define GL_NV_fragment_program4 1
9932 #endif /* GL_NV_fragment_program4 */
9933 
9934 #ifndef GL_NV_fragment_program_option
9935 #define GL_NV_fragment_program_option 1
9936 #endif /* GL_NV_fragment_program_option */
9937 
9938 #ifndef GL_NV_fragment_shader_barycentric
9939 #define GL_NV_fragment_shader_barycentric 1
9940 #endif /* GL_NV_fragment_shader_barycentric */
9941 
9942 #ifndef GL_NV_fragment_shader_interlock
9943 #define GL_NV_fragment_shader_interlock 1
9944 #endif /* GL_NV_fragment_shader_interlock */
9945 
9946 #ifndef GL_NV_framebuffer_mixed_samples
9947 #define GL_NV_framebuffer_mixed_samples 1
9948 #define GL_COVERAGE_MODULATION_TABLE_NV   0x9331
9949 #define GL_COLOR_SAMPLES_NV               0x8E20
9950 #define GL_DEPTH_SAMPLES_NV               0x932D
9951 #define GL_STENCIL_SAMPLES_NV             0x932E
9952 #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
9953 #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
9954 #define GL_COVERAGE_MODULATION_NV         0x9332
9955 #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
9956 typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v);
9957 typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v);
9958 typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components);
9959 #ifdef GL_GLEXT_PROTOTYPES
9960 GLAPI void APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v);
9961 GLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v);
9962 GLAPI void APIENTRY glCoverageModulationNV (GLenum components);
9963 #endif
9964 #endif /* GL_NV_framebuffer_mixed_samples */
9965 
9966 #ifndef GL_NV_framebuffer_multisample_coverage
9967 #define GL_NV_framebuffer_multisample_coverage 1
9968 #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
9969 #define GL_RENDERBUFFER_COLOR_SAMPLES_NV  0x8E10
9970 #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
9971 #define GL_MULTISAMPLE_COVERAGE_MODES_NV  0x8E12
9972 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
9973 #ifdef GL_GLEXT_PROTOTYPES
9974 GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
9975 #endif
9976 #endif /* GL_NV_framebuffer_multisample_coverage */
9977 
9978 #ifndef GL_NV_geometry_program4
9979 #define GL_NV_geometry_program4 1
9980 #define GL_GEOMETRY_PROGRAM_NV            0x8C26
9981 #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
9982 #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
9983 typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
9984 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
9985 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
9986 #ifdef GL_GLEXT_PROTOTYPES
9987 GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
9988 GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
9989 GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
9990 #endif
9991 #endif /* GL_NV_geometry_program4 */
9992 
9993 #ifndef GL_NV_geometry_shader4
9994 #define GL_NV_geometry_shader4 1
9995 #endif /* GL_NV_geometry_shader4 */
9996 
9997 #ifndef GL_NV_geometry_shader_passthrough
9998 #define GL_NV_geometry_shader_passthrough 1
9999 #endif /* GL_NV_geometry_shader_passthrough */
10000 
10001 #ifndef GL_NV_gpu_multicast
10002 #define GL_NV_gpu_multicast 1
10003 #define GL_PER_GPU_STORAGE_BIT_NV         0x0800
10004 #define GL_MULTICAST_GPUS_NV              0x92BA
10005 #define GL_RENDER_GPU_MASK_NV             0x9558
10006 #define GL_PER_GPU_STORAGE_NV             0x9548
10007 #define GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9549
10008 typedef void (APIENTRYP PFNGLRENDERGPUMASKNVPROC) (GLbitfield mask);
10009 typedef void (APIENTRYP PFNGLMULTICASTBUFFERSUBDATANVPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
10010 typedef void (APIENTRYP PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC) (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
10011 typedef void (APIENTRYP PFNGLMULTICASTCOPYIMAGESUBDATANVPROC) (GLuint srcGpu, GLbitfield dstGpuMask, 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);
10012 typedef void (APIENTRYP PFNGLMULTICASTBLITFRAMEBUFFERNVPROC) (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
10013 typedef void (APIENTRYP PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
10014 typedef void (APIENTRYP PFNGLMULTICASTBARRIERNVPROC) (void);
10015 typedef void (APIENTRYP PFNGLMULTICASTWAITSYNCNVPROC) (GLuint signalGpu, GLbitfield waitGpuMask);
10016 typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint *params);
10017 typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint *params);
10018 typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint64 *params);
10019 typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params);
10020 #ifdef GL_GLEXT_PROTOTYPES
10021 GLAPI void APIENTRY glRenderGpuMaskNV (GLbitfield mask);
10022 GLAPI void APIENTRY glMulticastBufferSubDataNV (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
10023 GLAPI void APIENTRY glMulticastCopyBufferSubDataNV (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
10024 GLAPI void APIENTRY glMulticastCopyImageSubDataNV (GLuint srcGpu, GLbitfield dstGpuMask, 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);
10025 GLAPI void APIENTRY glMulticastBlitFramebufferNV (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
10026 GLAPI void APIENTRY glMulticastFramebufferSampleLocationsfvNV (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
10027 GLAPI void APIENTRY glMulticastBarrierNV (void);
10028 GLAPI void APIENTRY glMulticastWaitSyncNV (GLuint signalGpu, GLbitfield waitGpuMask);
10029 GLAPI void APIENTRY glMulticastGetQueryObjectivNV (GLuint gpu, GLuint id, GLenum pname, GLint *params);
10030 GLAPI void APIENTRY glMulticastGetQueryObjectuivNV (GLuint gpu, GLuint id, GLenum pname, GLuint *params);
10031 GLAPI void APIENTRY glMulticastGetQueryObjecti64vNV (GLuint gpu, GLuint id, GLenum pname, GLint64 *params);
10032 GLAPI void APIENTRY glMulticastGetQueryObjectui64vNV (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params);
10033 #endif
10034 #endif /* GL_NV_gpu_multicast */
10035 
10036 #ifndef GL_NV_gpu_program4
10037 #define GL_NV_gpu_program4 1
10038 #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV    0x8904
10039 #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV    0x8905
10040 #define GL_PROGRAM_ATTRIB_COMPONENTS_NV   0x8906
10041 #define GL_PROGRAM_RESULT_COMPONENTS_NV   0x8907
10042 #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
10043 #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
10044 #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
10045 #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
10046 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
10047 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
10048 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
10049 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10050 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
10051 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
10052 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
10053 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
10054 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
10055 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10056 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
10057 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
10058 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
10059 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
10060 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
10061 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
10062 #ifdef GL_GLEXT_PROTOTYPES
10063 GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
10064 GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
10065 GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
10066 GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10067 GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
10068 GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
10069 GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
10070 GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
10071 GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
10072 GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10073 GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
10074 GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
10075 GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
10076 GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
10077 GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
10078 GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
10079 #endif
10080 #endif /* GL_NV_gpu_program4 */
10081 
10082 #ifndef GL_NV_gpu_program5
10083 #define GL_NV_gpu_program5 1
10084 #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
10085 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
10086 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
10087 #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
10088 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
10089 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
10090 #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
10091 #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV  0x8F45
10092 typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
10093 typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
10094 #ifdef GL_GLEXT_PROTOTYPES
10095 GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
10096 GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
10097 #endif
10098 #endif /* GL_NV_gpu_program5 */
10099 
10100 #ifndef GL_NV_gpu_program5_mem_extended
10101 #define GL_NV_gpu_program5_mem_extended 1
10102 #endif /* GL_NV_gpu_program5_mem_extended */
10103 
10104 #ifndef GL_NV_gpu_shader5
10105 #define GL_NV_gpu_shader5 1
10106 #endif /* GL_NV_gpu_shader5 */
10107 
10108 #ifndef GL_NV_half_float
10109 #define GL_NV_half_float 1
10110 typedef unsigned short GLhalfNV;
10111 #define GL_HALF_FLOAT_NV                  0x140B
10112 typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
10113 typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
10114 typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
10115 typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
10116 typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
10117 typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
10118 typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
10119 typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
10120 typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
10121 typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
10122 typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
10123 typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
10124 typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
10125 typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
10126 typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
10127 typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
10128 typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
10129 typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
10130 typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
10131 typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
10132 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
10133 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
10134 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
10135 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
10136 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
10137 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
10138 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
10139 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
10140 typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
10141 typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
10142 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
10143 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
10144 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
10145 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
10146 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
10147 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
10148 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
10149 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
10150 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
10151 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
10152 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
10153 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
10154 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
10155 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
10156 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
10157 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
10158 #ifdef GL_GLEXT_PROTOTYPES
10159 GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
10160 GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
10161 GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
10162 GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
10163 GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
10164 GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
10165 GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
10166 GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
10167 GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
10168 GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
10169 GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
10170 GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
10171 GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
10172 GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
10173 GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
10174 GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
10175 GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
10176 GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
10177 GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
10178 GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
10179 GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
10180 GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
10181 GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
10182 GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
10183 GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
10184 GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
10185 GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
10186 GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
10187 GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
10188 GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
10189 GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
10190 GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
10191 GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
10192 GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
10193 GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
10194 GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
10195 GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
10196 GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
10197 GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
10198 GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
10199 GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
10200 GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
10201 GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
10202 GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
10203 GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
10204 GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
10205 #endif
10206 #endif /* GL_NV_half_float */
10207 
10208 #ifndef GL_NV_internalformat_sample_query
10209 #define GL_NV_internalformat_sample_query 1
10210 #define GL_MULTISAMPLES_NV                0x9371
10211 #define GL_SUPERSAMPLE_SCALE_X_NV         0x9372
10212 #define GL_SUPERSAMPLE_SCALE_Y_NV         0x9373
10213 #define GL_CONFORMANT_NV                  0x9374
10214 typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params);
10215 #ifdef GL_GLEXT_PROTOTYPES
10216 GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params);
10217 #endif
10218 #endif /* GL_NV_internalformat_sample_query */
10219 
10220 #ifndef GL_NV_light_max_exponent
10221 #define GL_NV_light_max_exponent 1
10222 #define GL_MAX_SHININESS_NV               0x8504
10223 #define GL_MAX_SPOT_EXPONENT_NV           0x8505
10224 #endif /* GL_NV_light_max_exponent */
10225 
10226 #ifndef GL_NV_memory_attachment
10227 #define GL_NV_memory_attachment 1
10228 #define GL_ATTACHED_MEMORY_OBJECT_NV      0x95A4
10229 #define GL_ATTACHED_MEMORY_OFFSET_NV      0x95A5
10230 #define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6
10231 #define GL_MEMORY_ATTACHABLE_SIZE_NV      0x95A7
10232 #define GL_MEMORY_ATTACHABLE_NV           0x95A8
10233 #define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9
10234 #define GL_DETACHED_TEXTURES_NV           0x95AA
10235 #define GL_DETACHED_BUFFERS_NV            0x95AB
10236 #define GL_MAX_DETACHED_TEXTURES_NV       0x95AC
10237 #define GL_MAX_DETACHED_BUFFERS_NV        0x95AD
10238 typedef void (APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
10239 typedef void (APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) (GLuint memory, GLenum pname);
10240 typedef void (APIENTRYP PFNGLTEXATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
10241 typedef void (APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
10242 typedef void (APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC) (GLuint texture, GLuint memory, GLuint64 offset);
10243 typedef void (APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) (GLuint buffer, GLuint memory, GLuint64 offset);
10244 #ifdef GL_GLEXT_PROTOTYPES
10245 GLAPI void APIENTRY glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
10246 GLAPI void APIENTRY glResetMemoryObjectParameterNV (GLuint memory, GLenum pname);
10247 GLAPI void APIENTRY glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
10248 GLAPI void APIENTRY glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
10249 GLAPI void APIENTRY glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset);
10250 GLAPI void APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset);
10251 #endif
10252 #endif /* GL_NV_memory_attachment */
10253 
10254 #ifndef GL_NV_mesh_shader
10255 #define GL_NV_mesh_shader 1
10256 #define GL_MESH_SHADER_NV                 0x9559
10257 #define GL_TASK_SHADER_NV                 0x955A
10258 #define GL_MAX_MESH_UNIFORM_BLOCKS_NV     0x8E60
10259 #define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61
10260 #define GL_MAX_MESH_IMAGE_UNIFORMS_NV     0x8E62
10261 #define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63
10262 #define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64
10263 #define GL_MAX_MESH_ATOMIC_COUNTERS_NV    0x8E65
10264 #define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66
10265 #define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67
10266 #define GL_MAX_TASK_UNIFORM_BLOCKS_NV     0x8E68
10267 #define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69
10268 #define GL_MAX_TASK_IMAGE_UNIFORMS_NV     0x8E6A
10269 #define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B
10270 #define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C
10271 #define GL_MAX_TASK_ATOMIC_COUNTERS_NV    0x8E6D
10272 #define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E
10273 #define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F
10274 #define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2
10275 #define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3
10276 #define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV  0x9536
10277 #define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV  0x9537
10278 #define GL_MAX_MESH_OUTPUT_VERTICES_NV    0x9538
10279 #define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV  0x9539
10280 #define GL_MAX_TASK_OUTPUT_COUNT_NV       0x953A
10281 #define GL_MAX_DRAW_MESH_TASKS_COUNT_NV   0x953D
10282 #define GL_MAX_MESH_VIEWS_NV              0x9557
10283 #define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF
10284 #define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543
10285 #define GL_MAX_MESH_WORK_GROUP_SIZE_NV    0x953B
10286 #define GL_MAX_TASK_WORK_GROUP_SIZE_NV    0x953C
10287 #define GL_MESH_WORK_GROUP_SIZE_NV        0x953E
10288 #define GL_TASK_WORK_GROUP_SIZE_NV        0x953F
10289 #define GL_MESH_VERTICES_OUT_NV           0x9579
10290 #define GL_MESH_PRIMITIVES_OUT_NV         0x957A
10291 #define GL_MESH_OUTPUT_TYPE_NV            0x957B
10292 #define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C
10293 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D
10294 #define GL_REFERENCED_BY_MESH_SHADER_NV   0x95A0
10295 #define GL_REFERENCED_BY_TASK_SHADER_NV   0x95A1
10296 #define GL_MESH_SHADER_BIT_NV             0x00000040
10297 #define GL_TASK_SHADER_BIT_NV             0x00000080
10298 #define GL_MESH_SUBROUTINE_NV             0x957C
10299 #define GL_TASK_SUBROUTINE_NV             0x957D
10300 #define GL_MESH_SUBROUTINE_UNIFORM_NV     0x957E
10301 #define GL_TASK_SUBROUTINE_UNIFORM_NV     0x957F
10302 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E
10303 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F
10304 typedef void (APIENTRYP PFNGLDRAWMESHTASKSNVPROC) (GLuint first, GLuint count);
10305 typedef void (APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect);
10306 typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride);
10307 typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
10308 #ifdef GL_GLEXT_PROTOTYPES
10309 GLAPI void APIENTRY glDrawMeshTasksNV (GLuint first, GLuint count);
10310 GLAPI void APIENTRY glDrawMeshTasksIndirectNV (GLintptr indirect);
10311 GLAPI void APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride);
10312 GLAPI void APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
10313 #endif
10314 #endif /* GL_NV_mesh_shader */
10315 
10316 #ifndef GL_NV_multisample_coverage
10317 #define GL_NV_multisample_coverage 1
10318 #endif /* GL_NV_multisample_coverage */
10319 
10320 #ifndef GL_NV_multisample_filter_hint
10321 #define GL_NV_multisample_filter_hint 1
10322 #define GL_MULTISAMPLE_FILTER_HINT_NV     0x8534
10323 #endif /* GL_NV_multisample_filter_hint */





10324 
10325 #ifndef GL_NV_occlusion_query
10326 #define GL_NV_occlusion_query 1
10327 #define GL_PIXEL_COUNTER_BITS_NV          0x8864
10328 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV  0x8865
10329 #define GL_PIXEL_COUNT_NV                 0x8866
10330 #define GL_PIXEL_COUNT_AVAILABLE_NV       0x8867
10331 typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
10332 typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
10333 typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
10334 typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
10335 typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
10336 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
10337 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
10338 #ifdef GL_GLEXT_PROTOTYPES
10339 GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
10340 GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
10341 GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
10342 GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
10343 GLAPI void APIENTRY glEndOcclusionQueryNV (void);
10344 GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
10345 GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
10346 #endif
10347 #endif /* GL_NV_occlusion_query */
10348 
10349 #ifndef GL_NV_packed_depth_stencil
10350 #define GL_NV_packed_depth_stencil 1
10351 #define GL_DEPTH_STENCIL_NV               0x84F9
10352 #define GL_UNSIGNED_INT_24_8_NV           0x84FA
10353 #endif /* GL_NV_packed_depth_stencil */
10354 
10355 #ifndef GL_NV_parameter_buffer_object
10356 #define GL_NV_parameter_buffer_object 1
10357 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
10358 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
10359 #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
10360 #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
10361 #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
10362 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
10363 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
10364 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
10365 #ifdef GL_GLEXT_PROTOTYPES
10366 GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
10367 GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
10368 GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
10369 #endif
10370 #endif /* GL_NV_parameter_buffer_object */
10371 
10372 #ifndef GL_NV_parameter_buffer_object2
10373 #define GL_NV_parameter_buffer_object2 1
10374 #endif /* GL_NV_parameter_buffer_object2 */
10375 
10376 #ifndef GL_NV_path_rendering
10377 #define GL_NV_path_rendering 1
10378 #define GL_PATH_FORMAT_SVG_NV             0x9070
10379 #define GL_PATH_FORMAT_PS_NV              0x9071
10380 #define GL_STANDARD_FONT_NAME_NV          0x9072
10381 #define GL_SYSTEM_FONT_NAME_NV            0x9073
10382 #define GL_FILE_NAME_NV                   0x9074
10383 #define GL_PATH_STROKE_WIDTH_NV           0x9075
10384 #define GL_PATH_END_CAPS_NV               0x9076
10385 #define GL_PATH_INITIAL_END_CAP_NV        0x9077
10386 #define GL_PATH_TERMINAL_END_CAP_NV       0x9078
10387 #define GL_PATH_JOIN_STYLE_NV             0x9079
10388 #define GL_PATH_MITER_LIMIT_NV            0x907A
10389 #define GL_PATH_DASH_CAPS_NV              0x907B
10390 #define GL_PATH_INITIAL_DASH_CAP_NV       0x907C
10391 #define GL_PATH_TERMINAL_DASH_CAP_NV      0x907D
10392 #define GL_PATH_DASH_OFFSET_NV            0x907E
10393 #define GL_PATH_CLIENT_LENGTH_NV          0x907F
10394 #define GL_PATH_FILL_MODE_NV              0x9080
10395 #define GL_PATH_FILL_MASK_NV              0x9081
10396 #define GL_PATH_FILL_COVER_MODE_NV        0x9082
10397 #define GL_PATH_STROKE_COVER_MODE_NV      0x9083
10398 #define GL_PATH_STROKE_MASK_NV            0x9084
10399 #define GL_COUNT_UP_NV                    0x9088
10400 #define GL_COUNT_DOWN_NV                  0x9089
10401 #define GL_PATH_OBJECT_BOUNDING_BOX_NV    0x908A
10402 #define GL_CONVEX_HULL_NV                 0x908B
10403 #define GL_BOUNDING_BOX_NV                0x908D
10404 #define GL_TRANSLATE_X_NV                 0x908E
10405 #define GL_TRANSLATE_Y_NV                 0x908F
10406 #define GL_TRANSLATE_2D_NV                0x9090
10407 #define GL_TRANSLATE_3D_NV                0x9091
10408 #define GL_AFFINE_2D_NV                   0x9092
10409 #define GL_AFFINE_3D_NV                   0x9094
10410 #define GL_TRANSPOSE_AFFINE_2D_NV         0x9096
10411 #define GL_TRANSPOSE_AFFINE_3D_NV         0x9098
10412 #define GL_UTF8_NV                        0x909A
10413 #define GL_UTF16_NV                       0x909B
10414 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
10415 #define GL_PATH_COMMAND_COUNT_NV          0x909D
10416 #define GL_PATH_COORD_COUNT_NV            0x909E
10417 #define GL_PATH_DASH_ARRAY_COUNT_NV       0x909F
10418 #define GL_PATH_COMPUTED_LENGTH_NV        0x90A0
10419 #define GL_PATH_FILL_BOUNDING_BOX_NV      0x90A1
10420 #define GL_PATH_STROKE_BOUNDING_BOX_NV    0x90A2
10421 #define GL_SQUARE_NV                      0x90A3
10422 #define GL_ROUND_NV                       0x90A4
10423 #define GL_TRIANGULAR_NV                  0x90A5
10424 #define GL_BEVEL_NV                       0x90A6
10425 #define GL_MITER_REVERT_NV                0x90A7
10426 #define GL_MITER_TRUNCATE_NV              0x90A8
10427 #define GL_SKIP_MISSING_GLYPH_NV          0x90A9
10428 #define GL_USE_MISSING_GLYPH_NV           0x90AA
10429 #define GL_PATH_ERROR_POSITION_NV         0x90AB
10430 #define GL_ACCUM_ADJACENT_PAIRS_NV        0x90AD
10431 #define GL_ADJACENT_PAIRS_NV              0x90AE
10432 #define GL_FIRST_TO_REST_NV               0x90AF
10433 #define GL_PATH_GEN_MODE_NV               0x90B0
10434 #define GL_PATH_GEN_COEFF_NV              0x90B1
10435 #define GL_PATH_GEN_COMPONENTS_NV         0x90B3
10436 #define GL_PATH_STENCIL_FUNC_NV           0x90B7
10437 #define GL_PATH_STENCIL_REF_NV            0x90B8
10438 #define GL_PATH_STENCIL_VALUE_MASK_NV     0x90B9
10439 #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
10440 #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
10441 #define GL_PATH_COVER_DEPTH_FUNC_NV       0x90BF
10442 #define GL_PATH_DASH_OFFSET_RESET_NV      0x90B4
10443 #define GL_MOVE_TO_RESETS_NV              0x90B5
10444 #define GL_MOVE_TO_CONTINUES_NV           0x90B6
10445 #define GL_CLOSE_PATH_NV                  0x00
10446 #define GL_MOVE_TO_NV                     0x02
10447 #define GL_RELATIVE_MOVE_TO_NV            0x03
10448 #define GL_LINE_TO_NV                     0x04
10449 #define GL_RELATIVE_LINE_TO_NV            0x05
10450 #define GL_HORIZONTAL_LINE_TO_NV          0x06
10451 #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
10452 #define GL_VERTICAL_LINE_TO_NV            0x08
10453 #define GL_RELATIVE_VERTICAL_LINE_TO_NV   0x09
10454 #define GL_QUADRATIC_CURVE_TO_NV          0x0A
10455 #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
10456 #define GL_CUBIC_CURVE_TO_NV              0x0C
10457 #define GL_RELATIVE_CUBIC_CURVE_TO_NV     0x0D
10458 #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV   0x0E
10459 #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
10460 #define GL_SMOOTH_CUBIC_CURVE_TO_NV       0x10
10461 #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
10462 #define GL_SMALL_CCW_ARC_TO_NV            0x12
10463 #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV   0x13
10464 #define GL_SMALL_CW_ARC_TO_NV             0x14
10465 #define GL_RELATIVE_SMALL_CW_ARC_TO_NV    0x15
10466 #define GL_LARGE_CCW_ARC_TO_NV            0x16
10467 #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV   0x17
10468 #define GL_LARGE_CW_ARC_TO_NV             0x18
10469 #define GL_RELATIVE_LARGE_CW_ARC_TO_NV    0x19
10470 #define GL_RESTART_PATH_NV                0xF0
10471 #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV    0xF2
10472 #define GL_DUP_LAST_CUBIC_CURVE_TO_NV     0xF4
10473 #define GL_RECT_NV                        0xF6
10474 #define GL_CIRCULAR_CCW_ARC_TO_NV         0xF8
10475 #define GL_CIRCULAR_CW_ARC_TO_NV          0xFA
10476 #define GL_CIRCULAR_TANGENT_ARC_TO_NV     0xFC
10477 #define GL_ARC_TO_NV                      0xFE
10478 #define GL_RELATIVE_ARC_TO_NV             0xFF
10479 #define GL_BOLD_BIT_NV                    0x01
10480 #define GL_ITALIC_BIT_NV                  0x02
10481 #define GL_GLYPH_WIDTH_BIT_NV             0x01
10482 #define GL_GLYPH_HEIGHT_BIT_NV            0x02
10483 #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
10484 #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
10485 #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
10486 #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
10487 #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
10488 #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
10489 #define GL_GLYPH_HAS_KERNING_BIT_NV       0x100
10490 #define GL_FONT_X_MIN_BOUNDS_BIT_NV       0x00010000
10491 #define GL_FONT_Y_MIN_BOUNDS_BIT_NV       0x00020000
10492 #define GL_FONT_X_MAX_BOUNDS_BIT_NV       0x00040000
10493 #define GL_FONT_Y_MAX_BOUNDS_BIT_NV       0x00080000
10494 #define GL_FONT_UNITS_PER_EM_BIT_NV       0x00100000
10495 #define GL_FONT_ASCENDER_BIT_NV           0x00200000
10496 #define GL_FONT_DESCENDER_BIT_NV          0x00400000
10497 #define GL_FONT_HEIGHT_BIT_NV             0x00800000
10498 #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV  0x01000000
10499 #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
10500 #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
10501 #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
10502 #define GL_FONT_HAS_KERNING_BIT_NV        0x10000000
10503 #define GL_ROUNDED_RECT_NV                0xE8
10504 #define GL_RELATIVE_ROUNDED_RECT_NV       0xE9
10505 #define GL_ROUNDED_RECT2_NV               0xEA
10506 #define GL_RELATIVE_ROUNDED_RECT2_NV      0xEB
10507 #define GL_ROUNDED_RECT4_NV               0xEC
10508 #define GL_RELATIVE_ROUNDED_RECT4_NV      0xED
10509 #define GL_ROUNDED_RECT8_NV               0xEE
10510 #define GL_RELATIVE_ROUNDED_RECT8_NV      0xEF
10511 #define GL_RELATIVE_RECT_NV               0xF7
10512 #define GL_FONT_GLYPHS_AVAILABLE_NV       0x9368
10513 #define GL_FONT_TARGET_UNAVAILABLE_NV     0x9369
10514 #define GL_FONT_UNAVAILABLE_NV            0x936A
10515 #define GL_FONT_UNINTELLIGIBLE_NV         0x936B
10516 #define GL_CONIC_CURVE_TO_NV              0x1A
10517 #define GL_RELATIVE_CONIC_CURVE_TO_NV     0x1B
10518 #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV  0x20000000
10519 #define GL_STANDARD_FONT_FORMAT_NV        0x936C
10520 #define GL_2_BYTES_NV                     0x1407
10521 #define GL_3_BYTES_NV                     0x1408
10522 #define GL_4_BYTES_NV                     0x1409
10523 #define GL_EYE_LINEAR_NV                  0x2400
10524 #define GL_OBJECT_LINEAR_NV               0x2401
10525 #define GL_CONSTANT_NV                    0x8576
10526 #define GL_PATH_FOG_GEN_MODE_NV           0x90AC
10527 #define GL_PRIMARY_COLOR_NV               0x852C
10528 #define GL_SECONDARY_COLOR_NV             0x852D
10529 #define GL_PATH_GEN_COLOR_FORMAT_NV       0x90B2
10530 #define GL_PATH_PROJECTION_NV             0x1701
10531 #define GL_PATH_MODELVIEW_NV              0x1700
10532 #define GL_PATH_MODELVIEW_STACK_DEPTH_NV  0x0BA3
10533 #define GL_PATH_MODELVIEW_MATRIX_NV       0x0BA6
10534 #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
10535 #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
10536 #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
10537 #define GL_PATH_PROJECTION_MATRIX_NV      0x0BA7
10538 #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
10539 #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
10540 #define GL_FRAGMENT_INPUT_NV              0x936D
10541 typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
10542 typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
10543 typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
10544 typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
10545 typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
10546 typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
10547 typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
10548 typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
10549 typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
10550 typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
10551 typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
10552 typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
10553 typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
10554 typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
10555 typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
10556 typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);