include/SDL_opengl.h
changeset 2788 44be910366a9
parent 1978 542c78b6fb12
child 2859 99210400e8b9
     1.1 --- a/include/SDL_opengl.h	Tue Nov 25 05:29:14 2008 +0000
     1.2 +++ b/include/SDL_opengl.h	Tue Nov 25 08:40:52 2008 +0000
     1.3 @@ -60,32 +60,26 @@
     1.4  #endif
     1.5  
     1.6  /*
     1.7 -** License Applicability. Except to the extent portions of this file are
     1.8 -** made subject to an alternative license as permitted in the SGI Free
     1.9 -** Software License B, Version 1.1 (the "License"), the contents of this
    1.10 -** file are subject only to the provisions of the License. You may not use
    1.11 -** this file except in compliance with the License. You may obtain a copy
    1.12 -** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
    1.13 -** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
    1.14 +** Copyright (c) 2007 The Khronos Group Inc.
    1.15  ** 
    1.16 -** http://oss.sgi.com/projects/FreeB
    1.17 +** Permission is hereby granted, free of charge, to any person obtaining a
    1.18 +** copy of this software and/or associated documentation files (the
    1.19 +** "Materials"), to deal in the Materials without restriction, including
    1.20 +** without limitation the rights to use, copy, modify, merge, publish,
    1.21 +** distribute, sublicense, and/or sell copies of the Materials, and to
    1.22 +** permit persons to whom the Materials are furnished to do so, subject to
    1.23 +** the following conditions:
    1.24  ** 
    1.25 -** Note that, as provided in the License, the Software is distributed on an
    1.26 -** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
    1.27 -** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
    1.28 -** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
    1.29 -** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
    1.30 +** The above copyright notice and this permission notice shall be included
    1.31 +** in all copies or substantial portions of the Materials.
    1.32  ** 
    1.33 -** Original Code. The Original Code is: OpenGL Sample Implementation,
    1.34 -** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
    1.35 -** Inc. The Original Code is Copyright (c) 1991-2004 Silicon Graphics, Inc.
    1.36 -** Copyright in any portions created by third parties is as indicated
    1.37 -** elsewhere herein. All Rights Reserved.
    1.38 -** 
    1.39 -** Additional Notice Provisions: This software was created using the
    1.40 -** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
    1.41 -** not been independently verified as being compliant with the OpenGL(R)
    1.42 -** version 1.2.1 Specification.
    1.43 +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    1.44 +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    1.45 +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    1.46 +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
    1.47 +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
    1.48 +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
    1.49 +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
    1.50  */
    1.51  
    1.52  #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
    1.53 @@ -106,9 +100,9 @@
    1.54  /*************************************************************/
    1.55  
    1.56  /* Header file version number, required by OpenGL ABI for Linux */
    1.57 -/* glext.h last updated 2005/06/20 */
    1.58 -/* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */
    1.59 -#define GL_GLEXT_VERSION 29
    1.60 +/* glext.h last updated 2008/11/14 */
    1.61 +/* Current version at http://www.opengl.org/registry/ */
    1.62 +#define GL_GLEXT_VERSION 44
    1.63  
    1.64  #ifndef GL_VERSION_1_2
    1.65  #define GL_UNSIGNED_BYTE_3_3_2            0x8032
    1.66 @@ -513,6 +507,269 @@
    1.67  #define GL_STENCIL_BACK_WRITEMASK         0x8CA5
    1.68  #endif
    1.69  
    1.70 +#ifndef GL_VERSION_2_1
    1.71 +#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
    1.72 +#define GL_PIXEL_PACK_BUFFER              0x88EB
    1.73 +#define GL_PIXEL_UNPACK_BUFFER            0x88EC
    1.74 +#define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
    1.75 +#define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
    1.76 +#define GL_FLOAT_MAT2x3                   0x8B65
    1.77 +#define GL_FLOAT_MAT2x4                   0x8B66
    1.78 +#define GL_FLOAT_MAT3x2                   0x8B67
    1.79 +#define GL_FLOAT_MAT3x4                   0x8B68
    1.80 +#define GL_FLOAT_MAT4x2                   0x8B69
    1.81 +#define GL_FLOAT_MAT4x3                   0x8B6A
    1.82 +#define GL_SRGB                           0x8C40
    1.83 +#define GL_SRGB8                          0x8C41
    1.84 +#define GL_SRGB_ALPHA                     0x8C42
    1.85 +#define GL_SRGB8_ALPHA8                   0x8C43
    1.86 +#define GL_SLUMINANCE_ALPHA               0x8C44
    1.87 +#define GL_SLUMINANCE8_ALPHA8             0x8C45
    1.88 +#define GL_SLUMINANCE                     0x8C46
    1.89 +#define GL_SLUMINANCE8                    0x8C47
    1.90 +#define GL_COMPRESSED_SRGB                0x8C48
    1.91 +#define GL_COMPRESSED_SRGB_ALPHA          0x8C49
    1.92 +#define GL_COMPRESSED_SLUMINANCE          0x8C4A
    1.93 +#define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
    1.94 +#endif
    1.95 +
    1.96 +#ifndef GL_VERSION_3_0
    1.97 +#define GL_COMPARE_REF_TO_TEXTURE         GL_COMPARE_R_TO_TEXTURE_ARB
    1.98 +#define GL_CLIP_DISTANCE0                 GL_CLIP_PLANE0
    1.99 +#define GL_CLIP_DISTANCE1                 GL_CLIP_PLANE1
   1.100 +#define GL_CLIP_DISTANCE2                 GL_CLIP_PLANE2
   1.101 +#define GL_CLIP_DISTANCE3                 GL_CLIP_PLANE3
   1.102 +#define GL_CLIP_DISTANCE4                 GL_CLIP_PLANE4
   1.103 +#define GL_CLIP_DISTANCE5                 GL_CLIP_PLANE5
   1.104 +#define GL_MAX_CLIP_DISTANCES             GL_MAX_CLIP_PLANES
   1.105 +#define GL_MAJOR_VERSION                  0x821B
   1.106 +#define GL_MINOR_VERSION                  0x821C
   1.107 +#define GL_NUM_EXTENSIONS                 0x821D
   1.108 +#define GL_CONTEXT_FLAGS                  0x821E
   1.109 +#define GL_DEPTH_BUFFER                   0x8223
   1.110 +#define GL_STENCIL_BUFFER                 0x8224
   1.111 +#define GL_COMPRESSED_RED                 0x8225
   1.112 +#define GL_COMPRESSED_RG                  0x8226
   1.113 +#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
   1.114 +#define GL_RGBA32F                        0x8814
   1.115 +#define GL_RGB32F                         0x8815
   1.116 +#define GL_RGBA16F                        0x881A
   1.117 +#define GL_RGB16F                         0x881B
   1.118 +#define GL_VERTEX_ATTRIB_ARRAY_INTEGER    0x88FD
   1.119 +#define GL_MAX_ARRAY_TEXTURE_LAYERS       0x88FF
   1.120 +#define GL_MIN_PROGRAM_TEXEL_OFFSET       0x8904
   1.121 +#define GL_MAX_PROGRAM_TEXEL_OFFSET       0x8905
   1.122 +#define GL_CLAMP_VERTEX_COLOR             0x891A
   1.123 +#define GL_CLAMP_FRAGMENT_COLOR           0x891B
   1.124 +#define GL_CLAMP_READ_COLOR               0x891C
   1.125 +#define GL_FIXED_ONLY                     0x891D
   1.126 +#define GL_MAX_VARYING_COMPONENTS         GL_MAX_VARYING_FLOATS
   1.127 +#define GL_TEXTURE_RED_TYPE               0x8C10
   1.128 +#define GL_TEXTURE_GREEN_TYPE             0x8C11
   1.129 +#define GL_TEXTURE_BLUE_TYPE              0x8C12
   1.130 +#define GL_TEXTURE_ALPHA_TYPE             0x8C13
   1.131 +#define GL_TEXTURE_LUMINANCE_TYPE         0x8C14
   1.132 +#define GL_TEXTURE_INTENSITY_TYPE         0x8C15
   1.133 +#define GL_TEXTURE_DEPTH_TYPE             0x8C16
   1.134 +#define GL_UNSIGNED_NORMALIZED            0x8C17
   1.135 +#define GL_TEXTURE_1D_ARRAY               0x8C18
   1.136 +#define GL_PROXY_TEXTURE_1D_ARRAY         0x8C19
   1.137 +#define GL_TEXTURE_2D_ARRAY               0x8C1A
   1.138 +#define GL_PROXY_TEXTURE_2D_ARRAY         0x8C1B
   1.139 +#define GL_TEXTURE_BINDING_1D_ARRAY       0x8C1C
   1.140 +#define GL_TEXTURE_BINDING_2D_ARRAY       0x8C1D
   1.141 +#define GL_R11F_G11F_B10F                 0x8C3A
   1.142 +#define GL_UNSIGNED_INT_10F_11F_11F_REV   0x8C3B
   1.143 +#define GL_RGB9_E5                        0x8C3D
   1.144 +#define GL_UNSIGNED_INT_5_9_9_9_REV       0x8C3E
   1.145 +#define GL_TEXTURE_SHARED_SIZE            0x8C3F
   1.146 +#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
   1.147 +#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
   1.148 +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
   1.149 +#define GL_TRANSFORM_FEEDBACK_VARYINGS    0x8C83
   1.150 +#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
   1.151 +#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
   1.152 +#define GL_PRIMITIVES_GENERATED           0x8C87
   1.153 +#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
   1.154 +#define GL_RASTERIZER_DISCARD             0x8C89
   1.155 +#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
   1.156 +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
   1.157 +#define GL_INTERLEAVED_ATTRIBS            0x8C8C
   1.158 +#define GL_SEPARATE_ATTRIBS               0x8C8D
   1.159 +#define GL_TRANSFORM_FEEDBACK_BUFFER      0x8C8E
   1.160 +#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
   1.161 +#define GL_RGBA32UI                       0x8D70
   1.162 +#define GL_RGB32UI                        0x8D71
   1.163 +#define GL_RGBA16UI                       0x8D76
   1.164 +#define GL_RGB16UI                        0x8D77
   1.165 +#define GL_RGBA8UI                        0x8D7C
   1.166 +#define GL_RGB8UI                         0x8D7D
   1.167 +#define GL_RGBA32I                        0x8D82
   1.168 +#define GL_RGB32I                         0x8D83
   1.169 +#define GL_RGBA16I                        0x8D88
   1.170 +#define GL_RGB16I                         0x8D89
   1.171 +#define GL_RGBA8I                         0x8D8E
   1.172 +#define GL_RGB8I                          0x8D8F
   1.173 +#define GL_RED_INTEGER                    0x8D94
   1.174 +#define GL_GREEN_INTEGER                  0x8D95
   1.175 +#define GL_BLUE_INTEGER                   0x8D96
   1.176 +#define GL_ALPHA_INTEGER                  0x8D97
   1.177 +#define GL_RGB_INTEGER                    0x8D98
   1.178 +#define GL_RGBA_INTEGER                   0x8D99
   1.179 +#define GL_BGR_INTEGER                    0x8D9A
   1.180 +#define GL_BGRA_INTEGER                   0x8D9B
   1.181 +#define GL_SAMPLER_1D_ARRAY               0x8DC0
   1.182 +#define GL_SAMPLER_2D_ARRAY               0x8DC1
   1.183 +#define GL_SAMPLER_1D_ARRAY_SHADOW        0x8DC3
   1.184 +#define GL_SAMPLER_2D_ARRAY_SHADOW        0x8DC4
   1.185 +#define GL_SAMPLER_CUBE_SHADOW            0x8DC5
   1.186 +#define GL_UNSIGNED_INT_VEC2              0x8DC6
   1.187 +#define GL_UNSIGNED_INT_VEC3              0x8DC7
   1.188 +#define GL_UNSIGNED_INT_VEC4              0x8DC8
   1.189 +#define GL_INT_SAMPLER_1D                 0x8DC9
   1.190 +#define GL_INT_SAMPLER_2D                 0x8DCA
   1.191 +#define GL_INT_SAMPLER_3D                 0x8DCB
   1.192 +#define GL_INT_SAMPLER_CUBE               0x8DCC
   1.193 +#define GL_INT_SAMPLER_1D_ARRAY           0x8DCE
   1.194 +#define GL_INT_SAMPLER_2D_ARRAY           0x8DCF
   1.195 +#define GL_UNSIGNED_INT_SAMPLER_1D        0x8DD1
   1.196 +#define GL_UNSIGNED_INT_SAMPLER_2D        0x8DD2
   1.197 +#define GL_UNSIGNED_INT_SAMPLER_3D        0x8DD3
   1.198 +#define GL_UNSIGNED_INT_SAMPLER_CUBE      0x8DD4
   1.199 +#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY  0x8DD6
   1.200 +#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY  0x8DD7
   1.201 +#define GL_QUERY_WAIT                     0x8E13
   1.202 +#define GL_QUERY_NO_WAIT                  0x8E14
   1.203 +#define GL_QUERY_BY_REGION_WAIT           0x8E15
   1.204 +#define GL_QUERY_BY_REGION_NO_WAIT        0x8E16
   1.205 +/* Reuse tokens from ARB_depth_buffer_float */
   1.206 +/* reuse GL_DEPTH_COMPONENT32F */
   1.207 +/* reuse GL_DEPTH32F_STENCIL8 */
   1.208 +/* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */
   1.209 +/* Reuse tokens from ARB_framebuffer_object */
   1.210 +/* reuse GL_INVALID_FRAMEBUFFER_OPERATION */
   1.211 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
   1.212 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
   1.213 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
   1.214 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
   1.215 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
   1.216 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
   1.217 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
   1.218 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
   1.219 +/* reuse GL_FRAMEBUFFER_DEFAULT */
   1.220 +/* reuse GL_FRAMEBUFFER_UNDEFINED */
   1.221 +/* reuse GL_DEPTH_STENCIL_ATTACHMENT */
   1.222 +/* reuse GL_INDEX */
   1.223 +/* reuse GL_MAX_RENDERBUFFER_SIZE */
   1.224 +/* reuse GL_DEPTH_STENCIL */
   1.225 +/* reuse GL_UNSIGNED_INT_24_8 */
   1.226 +/* reuse GL_DEPTH24_STENCIL8 */
   1.227 +/* reuse GL_TEXTURE_STENCIL_SIZE */
   1.228 +/* reuse GL_TEXTURE_RED_TYPE */
   1.229 +/* reuse GL_TEXTURE_GREEN_TYPE */
   1.230 +/* reuse GL_TEXTURE_BLUE_TYPE */
   1.231 +/* reuse GL_TEXTURE_ALPHA_TYPE */
   1.232 +/* reuse GL_TEXTURE_LUMINANCE_TYPE */
   1.233 +/* reuse GL_TEXTURE_INTENSITY_TYPE */
   1.234 +/* reuse GL_TEXTURE_DEPTH_TYPE */
   1.235 +/* reuse GL_UNSIGNED_NORMALIZED */
   1.236 +/* reuse GL_FRAMEBUFFER_BINDING */
   1.237 +/* reuse GL_DRAW_FRAMEBUFFER_BINDING */
   1.238 +/* reuse GL_RENDERBUFFER_BINDING */
   1.239 +/* reuse GL_READ_FRAMEBUFFER */
   1.240 +/* reuse GL_DRAW_FRAMEBUFFER */
   1.241 +/* reuse GL_READ_FRAMEBUFFER_BINDING */
   1.242 +/* reuse GL_RENDERBUFFER_SAMPLES */
   1.243 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
   1.244 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
   1.245 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
   1.246 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
   1.247 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
   1.248 +/* reuse GL_FRAMEBUFFER_COMPLETE */
   1.249 +/* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
   1.250 +/* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
   1.251 +/* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */
   1.252 +/* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */
   1.253 +/* reuse GL_FRAMEBUFFER_UNSUPPORTED */
   1.254 +/* reuse GL_MAX_COLOR_ATTACHMENTS */
   1.255 +/* reuse GL_COLOR_ATTACHMENT0 */
   1.256 +/* reuse GL_COLOR_ATTACHMENT1 */
   1.257 +/* reuse GL_COLOR_ATTACHMENT2 */
   1.258 +/* reuse GL_COLOR_ATTACHMENT3 */
   1.259 +/* reuse GL_COLOR_ATTACHMENT4 */
   1.260 +/* reuse GL_COLOR_ATTACHMENT5 */
   1.261 +/* reuse GL_COLOR_ATTACHMENT6 */
   1.262 +/* reuse GL_COLOR_ATTACHMENT7 */
   1.263 +/* reuse GL_COLOR_ATTACHMENT8 */
   1.264 +/* reuse GL_COLOR_ATTACHMENT9 */
   1.265 +/* reuse GL_COLOR_ATTACHMENT10 */
   1.266 +/* reuse GL_COLOR_ATTACHMENT11 */
   1.267 +/* reuse GL_COLOR_ATTACHMENT12 */
   1.268 +/* reuse GL_COLOR_ATTACHMENT13 */
   1.269 +/* reuse GL_COLOR_ATTACHMENT14 */
   1.270 +/* reuse GL_COLOR_ATTACHMENT15 */
   1.271 +/* reuse GL_DEPTH_ATTACHMENT */
   1.272 +/* reuse GL_STENCIL_ATTACHMENT */
   1.273 +/* reuse GL_FRAMEBUFFER */
   1.274 +/* reuse GL_RENDERBUFFER */
   1.275 +/* reuse GL_RENDERBUFFER_WIDTH */
   1.276 +/* reuse GL_RENDERBUFFER_HEIGHT */
   1.277 +/* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */
   1.278 +/* reuse GL_STENCIL_INDEX1 */
   1.279 +/* reuse GL_STENCIL_INDEX4 */
   1.280 +/* reuse GL_STENCIL_INDEX8 */
   1.281 +/* reuse GL_STENCIL_INDEX16 */
   1.282 +/* reuse GL_RENDERBUFFER_RED_SIZE */
   1.283 +/* reuse GL_RENDERBUFFER_GREEN_SIZE */
   1.284 +/* reuse GL_RENDERBUFFER_BLUE_SIZE */
   1.285 +/* reuse GL_RENDERBUFFER_ALPHA_SIZE */
   1.286 +/* reuse GL_RENDERBUFFER_DEPTH_SIZE */
   1.287 +/* reuse GL_RENDERBUFFER_STENCIL_SIZE */
   1.288 +/* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
   1.289 +/* reuse GL_MAX_SAMPLES */
   1.290 +/* Reuse tokens from ARB_framebuffer_sRGB */
   1.291 +/* reuse GL_FRAMEBUFFER_SRGB */
   1.292 +/* Reuse tokens from ARB_half_float_vertex */
   1.293 +/* reuse GL_HALF_FLOAT */
   1.294 +/* Reuse tokens from ARB_map_buffer_range */
   1.295 +/* reuse GL_MAP_READ_BIT */
   1.296 +/* reuse GL_MAP_WRITE_BIT */
   1.297 +/* reuse GL_MAP_INVALIDATE_RANGE_BIT */
   1.298 +/* reuse GL_MAP_INVALIDATE_BUFFER_BIT */
   1.299 +/* reuse GL_MAP_FLUSH_EXPLICIT_BIT */
   1.300 +/* reuse GL_MAP_UNSYNCHRONIZED_BIT */
   1.301 +/* Reuse tokens from ARB_texture_compression_rgtc */
   1.302 +/* reuse GL_COMPRESSED_RED_RGTC1 */
   1.303 +/* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */
   1.304 +/* reuse GL_COMPRESSED_RG_RGTC2 */
   1.305 +/* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */
   1.306 +/* Reuse tokens from ARB_texture_rg */
   1.307 +/* reuse GL_RG */
   1.308 +/* reuse GL_RG_INTEGER */
   1.309 +/* reuse GL_R8 */
   1.310 +/* reuse GL_R16 */
   1.311 +/* reuse GL_RG8 */
   1.312 +/* reuse GL_RG16 */
   1.313 +/* reuse GL_R16F */
   1.314 +/* reuse GL_R32F */
   1.315 +/* reuse GL_RG16F */
   1.316 +/* reuse GL_RG32F */
   1.317 +/* reuse GL_R8I */
   1.318 +/* reuse GL_R8UI */
   1.319 +/* reuse GL_R16I */
   1.320 +/* reuse GL_R16UI */
   1.321 +/* reuse GL_R32I */
   1.322 +/* reuse GL_R32UI */
   1.323 +/* reuse GL_RG8I */
   1.324 +/* reuse GL_RG8UI */
   1.325 +/* reuse GL_RG16I */
   1.326 +/* reuse GL_RG16UI */
   1.327 +/* reuse GL_RG32I */
   1.328 +/* reuse GL_RG32UI */
   1.329 +/* Reuse tokens from ARB_vertex_array_object */
   1.330 +/* reuse GL_VERTEX_ARRAY_BINDING */
   1.331 +#endif
   1.332 +
   1.333  #ifndef GL_ARB_multitexture
   1.334  #define GL_TEXTURE0_ARB                   0x84C0
   1.335  #define GL_TEXTURE1_ARB                   0x84C1
   1.336 @@ -1008,6 +1265,177 @@
   1.337  #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
   1.338  #endif
   1.339  
   1.340 +#ifndef GL_ARB_depth_buffer_float
   1.341 +#define GL_DEPTH_COMPONENT32F             0x8CAC
   1.342 +#define GL_DEPTH32F_STENCIL8              0x8CAD
   1.343 +#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
   1.344 +#endif
   1.345 +
   1.346 +#ifndef GL_ARB_draw_instanced
   1.347 +#endif
   1.348 +
   1.349 +#ifndef GL_ARB_framebuffer_object
   1.350 +#define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
   1.351 +#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
   1.352 +#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
   1.353 +#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
   1.354 +#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
   1.355 +#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
   1.356 +#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
   1.357 +#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
   1.358 +#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
   1.359 +#define GL_FRAMEBUFFER_DEFAULT            0x8218
   1.360 +#define GL_FRAMEBUFFER_UNDEFINED          0x8219
   1.361 +#define GL_DEPTH_STENCIL_ATTACHMENT       0x821A
   1.362 +#define GL_INDEX                          0x8222
   1.363 +#define GL_MAX_RENDERBUFFER_SIZE          0x84E8
   1.364 +#define GL_DEPTH_STENCIL                  0x84F9
   1.365 +#define GL_UNSIGNED_INT_24_8              0x84FA
   1.366 +#define GL_DEPTH24_STENCIL8               0x88F0
   1.367 +#define GL_TEXTURE_STENCIL_SIZE           0x88F1
   1.368 +#define GL_FRAMEBUFFER_BINDING            0x8CA6
   1.369 +#define GL_DRAW_FRAMEBUFFER_BINDING       GL_FRAMEBUFFER_BINDING
   1.370 +#define GL_RENDERBUFFER_BINDING           0x8CA7
   1.371 +#define GL_READ_FRAMEBUFFER               0x8CA8
   1.372 +#define GL_DRAW_FRAMEBUFFER               0x8CA9
   1.373 +#define GL_READ_FRAMEBUFFER_BINDING       0x8CAA
   1.374 +#define GL_RENDERBUFFER_SAMPLES           0x8CAB
   1.375 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
   1.376 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
   1.377 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
   1.378 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
   1.379 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
   1.380 +#define GL_FRAMEBUFFER_COMPLETE           0x8CD5
   1.381 +#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
   1.382 +#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
   1.383 +#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
   1.384 +#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
   1.385 +#define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
   1.386 +#define GL_MAX_COLOR_ATTACHMENTS          0x8CDF
   1.387 +#define GL_COLOR_ATTACHMENT0              0x8CE0
   1.388 +#define GL_COLOR_ATTACHMENT1              0x8CE1
   1.389 +#define GL_COLOR_ATTACHMENT2              0x8CE2
   1.390 +#define GL_COLOR_ATTACHMENT3              0x8CE3
   1.391 +#define GL_COLOR_ATTACHMENT4              0x8CE4
   1.392 +#define GL_COLOR_ATTACHMENT5              0x8CE5
   1.393 +#define GL_COLOR_ATTACHMENT6              0x8CE6
   1.394 +#define GL_COLOR_ATTACHMENT7              0x8CE7
   1.395 +#define GL_COLOR_ATTACHMENT8              0x8CE8
   1.396 +#define GL_COLOR_ATTACHMENT9              0x8CE9
   1.397 +#define GL_COLOR_ATTACHMENT10             0x8CEA
   1.398 +#define GL_COLOR_ATTACHMENT11             0x8CEB
   1.399 +#define GL_COLOR_ATTACHMENT12             0x8CEC
   1.400 +#define GL_COLOR_ATTACHMENT13             0x8CED
   1.401 +#define GL_COLOR_ATTACHMENT14             0x8CEE
   1.402 +#define GL_COLOR_ATTACHMENT15             0x8CEF
   1.403 +#define GL_DEPTH_ATTACHMENT               0x8D00
   1.404 +#define GL_STENCIL_ATTACHMENT             0x8D20
   1.405 +#define GL_FRAMEBUFFER                    0x8D40
   1.406 +#define GL_RENDERBUFFER                   0x8D41
   1.407 +#define GL_RENDERBUFFER_WIDTH             0x8D42
   1.408 +#define GL_RENDERBUFFER_HEIGHT            0x8D43
   1.409 +#define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
   1.410 +#define GL_STENCIL_INDEX1                 0x8D46
   1.411 +#define GL_STENCIL_INDEX4                 0x8D47
   1.412 +#define GL_STENCIL_INDEX8                 0x8D48
   1.413 +#define GL_STENCIL_INDEX16                0x8D49
   1.414 +#define GL_RENDERBUFFER_RED_SIZE          0x8D50
   1.415 +#define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
   1.416 +#define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
   1.417 +#define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
   1.418 +#define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
   1.419 +#define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
   1.420 +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
   1.421 +#define GL_MAX_SAMPLES                    0x8D57
   1.422 +#endif
   1.423 +
   1.424 +#ifndef GL_ARB_framebuffer_sRGB
   1.425 +#define GL_FRAMEBUFFER_SRGB               0x8DB9
   1.426 +#endif
   1.427 +
   1.428 +#ifndef GL_ARB_geometry_shader4
   1.429 +#define GL_LINES_ADJACENCY_ARB            0x000A
   1.430 +#define GL_LINE_STRIP_ADJACENCY_ARB       0x000B
   1.431 +#define GL_TRIANGLES_ADJACENCY_ARB        0x000C
   1.432 +#define GL_TRIANGLE_STRIP_ADJACENCY_ARB   0x000D
   1.433 +#define GL_PROGRAM_POINT_SIZE_ARB         0x8642
   1.434 +#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
   1.435 +#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
   1.436 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
   1.437 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
   1.438 +#define GL_GEOMETRY_SHADER_ARB            0x8DD9
   1.439 +#define GL_GEOMETRY_VERTICES_OUT_ARB      0x8DDA
   1.440 +#define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
   1.441 +#define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
   1.442 +#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
   1.443 +#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
   1.444 +#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
   1.445 +#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
   1.446 +#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
   1.447 +/* reuse GL_MAX_VARYING_COMPONENTS */
   1.448 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
   1.449 +#endif
   1.450 +
   1.451 +#ifndef GL_ARB_half_float_vertex
   1.452 +#define GL_HALF_FLOAT                     0x140B
   1.453 +#endif
   1.454 +
   1.455 +#ifndef GL_ARB_instanced_arrays
   1.456 +#endif
   1.457 +
   1.458 +#ifndef GL_ARB_map_buffer_range
   1.459 +#define GL_MAP_READ_BIT                   0x0001
   1.460 +#define GL_MAP_WRITE_BIT                  0x0002
   1.461 +#define GL_MAP_INVALIDATE_RANGE_BIT       0x0004
   1.462 +#define GL_MAP_INVALIDATE_BUFFER_BIT      0x0008
   1.463 +#define GL_MAP_FLUSH_EXPLICIT_BIT         0x0010
   1.464 +#define GL_MAP_UNSYNCHRONIZED_BIT         0x0020
   1.465 +#endif
   1.466 +
   1.467 +#ifndef GL_ARB_texture_buffer_object
   1.468 +#define GL_TEXTURE_BUFFER_ARB             0x8C2A
   1.469 +#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB    0x8C2B
   1.470 +#define GL_TEXTURE_BINDING_BUFFER_ARB     0x8C2C
   1.471 +#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
   1.472 +#define GL_TEXTURE_BUFFER_FORMAT_ARB      0x8C2E
   1.473 +#endif
   1.474 +
   1.475 +#ifndef GL_ARB_texture_compression_rgtc
   1.476 +#define GL_COMPRESSED_RED_RGTC1           0x8DBB
   1.477 +#define GL_COMPRESSED_SIGNED_RED_RGTC1    0x8DBC
   1.478 +#define GL_COMPRESSED_RG_RGTC2            0x8DBD
   1.479 +#define GL_COMPRESSED_SIGNED_RG_RGTC2     0x8DBE
   1.480 +#endif
   1.481 +
   1.482 +#ifndef GL_ARB_texture_rg
   1.483 +#define GL_RG                             0x8227
   1.484 +#define GL_RG_INTEGER                     0x8228
   1.485 +#define GL_R8                             0x8229
   1.486 +#define GL_R16                            0x822A
   1.487 +#define GL_RG8                            0x822B
   1.488 +#define GL_RG16                           0x822C
   1.489 +#define GL_R16F                           0x822D
   1.490 +#define GL_R32F                           0x822E
   1.491 +#define GL_RG16F                          0x822F
   1.492 +#define GL_RG32F                          0x8230
   1.493 +#define GL_R8I                            0x8231
   1.494 +#define GL_R8UI                           0x8232
   1.495 +#define GL_R16I                           0x8233
   1.496 +#define GL_R16UI                          0x8234
   1.497 +#define GL_R32I                           0x8235
   1.498 +#define GL_R32UI                          0x8236
   1.499 +#define GL_RG8I                           0x8237
   1.500 +#define GL_RG8UI                          0x8238
   1.501 +#define GL_RG16I                          0x8239
   1.502 +#define GL_RG16UI                         0x823A
   1.503 +#define GL_RG32I                          0x823B
   1.504 +#define GL_RG32UI                         0x823C
   1.505 +#endif
   1.506 +
   1.507 +#ifndef GL_ARB_vertex_array_object
   1.508 +#define GL_VERTEX_ARRAY_BINDING           0x85B5
   1.509 +#endif
   1.510 +
   1.511  #ifndef GL_EXT_abgr
   1.512  #define GL_ABGR_EXT                       0x8000
   1.513  #endif
   1.514 @@ -3047,7 +3475,6 @@
   1.515  #define GL_FRAMEBUFFER_COMPLETE_EXT       0x8CD5
   1.516  #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
   1.517  #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
   1.518 -#define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT 0x8CD8
   1.519  #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
   1.520  #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
   1.521  #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
   1.522 @@ -3092,6 +3519,403 @@
   1.523  #ifndef GL_GREMEDY_string_marker
   1.524  #endif
   1.525  
   1.526 +#ifndef GL_EXT_packed_depth_stencil
   1.527 +#define GL_DEPTH_STENCIL_EXT              0x84F9
   1.528 +#define GL_UNSIGNED_INT_24_8_EXT          0x84FA
   1.529 +#define GL_DEPTH24_STENCIL8_EXT           0x88F0
   1.530 +#define GL_TEXTURE_STENCIL_SIZE_EXT       0x88F1
   1.531 +#endif
   1.532 +
   1.533 +#ifndef GL_EXT_stencil_clear_tag
   1.534 +#define GL_STENCIL_TAG_BITS_EXT           0x88F2
   1.535 +#define GL_STENCIL_CLEAR_TAG_VALUE_EXT    0x88F3
   1.536 +#endif
   1.537 +
   1.538 +#ifndef GL_EXT_texture_sRGB
   1.539 +#define GL_SRGB_EXT                       0x8C40
   1.540 +#define GL_SRGB8_EXT                      0x8C41
   1.541 +#define GL_SRGB_ALPHA_EXT                 0x8C42
   1.542 +#define GL_SRGB8_ALPHA8_EXT               0x8C43
   1.543 +#define GL_SLUMINANCE_ALPHA_EXT           0x8C44
   1.544 +#define GL_SLUMINANCE8_ALPHA8_EXT         0x8C45
   1.545 +#define GL_SLUMINANCE_EXT                 0x8C46
   1.546 +#define GL_SLUMINANCE8_EXT                0x8C47
   1.547 +#define GL_COMPRESSED_SRGB_EXT            0x8C48
   1.548 +#define GL_COMPRESSED_SRGB_ALPHA_EXT      0x8C49
   1.549 +#define GL_COMPRESSED_SLUMINANCE_EXT      0x8C4A
   1.550 +#define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
   1.551 +#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT  0x8C4C
   1.552 +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
   1.553 +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
   1.554 +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
   1.555 +#endif
   1.556 +
   1.557 +#ifndef GL_EXT_framebuffer_blit
   1.558 +#define GL_READ_FRAMEBUFFER_EXT           0x8CA8
   1.559 +#define GL_DRAW_FRAMEBUFFER_EXT           0x8CA9
   1.560 +#define GL_DRAW_FRAMEBUFFER_BINDING_EXT   GL_FRAMEBUFFER_BINDING_EXT
   1.561 +#define GL_READ_FRAMEBUFFER_BINDING_EXT   0x8CAA
   1.562 +#endif
   1.563 +
   1.564 +#ifndef GL_EXT_framebuffer_multisample
   1.565 +#define GL_RENDERBUFFER_SAMPLES_EXT       0x8CAB
   1.566 +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
   1.567 +#define GL_MAX_SAMPLES_EXT                0x8D57
   1.568 +#endif
   1.569 +
   1.570 +#ifndef GL_MESAX_texture_stack
   1.571 +#define GL_TEXTURE_1D_STACK_MESAX         0x8759
   1.572 +#define GL_TEXTURE_2D_STACK_MESAX         0x875A
   1.573 +#define GL_PROXY_TEXTURE_1D_STACK_MESAX   0x875B
   1.574 +#define GL_PROXY_TEXTURE_2D_STACK_MESAX   0x875C
   1.575 +#define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
   1.576 +#define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
   1.577 +#endif
   1.578 +
   1.579 +#ifndef GL_EXT_timer_query
   1.580 +#define GL_TIME_ELAPSED_EXT               0x88BF
   1.581 +#endif
   1.582 +
   1.583 +#ifndef GL_EXT_gpu_program_parameters
   1.584 +#endif
   1.585 +
   1.586 +#ifndef GL_APPLE_flush_buffer_range
   1.587 +#define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
   1.588 +#define GL_BUFFER_FLUSHING_UNMAP_APPLE    0x8A13
   1.589 +#endif
   1.590 +
   1.591 +#ifndef GL_NV_gpu_program4
   1.592 +#define GL_MIN_PROGRAM_TEXEL_OFFSET_NV    0x8904
   1.593 +#define GL_MAX_PROGRAM_TEXEL_OFFSET_NV    0x8905
   1.594 +#define GL_PROGRAM_ATTRIB_COMPONENTS_NV   0x8906
   1.595 +#define GL_PROGRAM_RESULT_COMPONENTS_NV   0x8907
   1.596 +#define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
   1.597 +#define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
   1.598 +#define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
   1.599 +#define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
   1.600 +#endif
   1.601 +
   1.602 +#ifndef GL_NV_geometry_program4
   1.603 +#define GL_LINES_ADJACENCY_EXT            0x000A
   1.604 +#define GL_LINE_STRIP_ADJACENCY_EXT       0x000B
   1.605 +#define GL_TRIANGLES_ADJACENCY_EXT        0x000C
   1.606 +#define GL_TRIANGLE_STRIP_ADJACENCY_EXT   0x000D
   1.607 +#define GL_GEOMETRY_PROGRAM_NV            0x8C26
   1.608 +#define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
   1.609 +#define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
   1.610 +#define GL_GEOMETRY_VERTICES_OUT_EXT      0x8DDA
   1.611 +#define GL_GEOMETRY_INPUT_TYPE_EXT        0x8DDB
   1.612 +#define GL_GEOMETRY_OUTPUT_TYPE_EXT       0x8DDC
   1.613 +#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
   1.614 +#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
   1.615 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
   1.616 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
   1.617 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
   1.618 +#define GL_PROGRAM_POINT_SIZE_EXT         0x8642
   1.619 +#endif
   1.620 +
   1.621 +#ifndef GL_EXT_geometry_shader4
   1.622 +#define GL_GEOMETRY_SHADER_EXT            0x8DD9
   1.623 +/* reuse GL_GEOMETRY_VERTICES_OUT_EXT */
   1.624 +/* reuse GL_GEOMETRY_INPUT_TYPE_EXT */
   1.625 +/* reuse GL_GEOMETRY_OUTPUT_TYPE_EXT */
   1.626 +/* reuse GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT */
   1.627 +#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
   1.628 +#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
   1.629 +#define GL_MAX_VARYING_COMPONENTS_EXT     0x8B4B
   1.630 +#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
   1.631 +#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
   1.632 +#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
   1.633 +/* reuse GL_LINES_ADJACENCY_EXT */
   1.634 +/* reuse GL_LINE_STRIP_ADJACENCY_EXT */
   1.635 +/* reuse GL_TRIANGLES_ADJACENCY_EXT */
   1.636 +/* reuse GL_TRIANGLE_STRIP_ADJACENCY_EXT */
   1.637 +/* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT */
   1.638 +/* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT */
   1.639 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT */
   1.640 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
   1.641 +/* reuse GL_PROGRAM_POINT_SIZE_EXT */
   1.642 +#endif
   1.643 +
   1.644 +#ifndef GL_NV_vertex_program4
   1.645 +#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
   1.646 +#endif
   1.647 +
   1.648 +#ifndef GL_EXT_gpu_shader4
   1.649 +#define GL_SAMPLER_1D_ARRAY_EXT           0x8DC0
   1.650 +#define GL_SAMPLER_2D_ARRAY_EXT           0x8DC1
   1.651 +#define GL_SAMPLER_BUFFER_EXT             0x8DC2
   1.652 +#define GL_SAMPLER_1D_ARRAY_SHADOW_EXT    0x8DC3
   1.653 +#define GL_SAMPLER_2D_ARRAY_SHADOW_EXT    0x8DC4
   1.654 +#define GL_SAMPLER_CUBE_SHADOW_EXT        0x8DC5
   1.655 +#define GL_UNSIGNED_INT_VEC2_EXT          0x8DC6
   1.656 +#define GL_UNSIGNED_INT_VEC3_EXT          0x8DC7
   1.657 +#define GL_UNSIGNED_INT_VEC4_EXT          0x8DC8
   1.658 +#define GL_INT_SAMPLER_1D_EXT             0x8DC9
   1.659 +#define GL_INT_SAMPLER_2D_EXT             0x8DCA
   1.660 +#define GL_INT_SAMPLER_3D_EXT             0x8DCB
   1.661 +#define GL_INT_SAMPLER_CUBE_EXT           0x8DCC
   1.662 +#define GL_INT_SAMPLER_2D_RECT_EXT        0x8DCD
   1.663 +#define GL_INT_SAMPLER_1D_ARRAY_EXT       0x8DCE
   1.664 +#define GL_INT_SAMPLER_2D_ARRAY_EXT       0x8DCF
   1.665 +#define GL_INT_SAMPLER_BUFFER_EXT         0x8DD0
   1.666 +#define GL_UNSIGNED_INT_SAMPLER_1D_EXT    0x8DD1
   1.667 +#define GL_UNSIGNED_INT_SAMPLER_2D_EXT    0x8DD2
   1.668 +#define GL_UNSIGNED_INT_SAMPLER_3D_EXT    0x8DD3
   1.669 +#define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT  0x8DD4
   1.670 +#define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
   1.671 +#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
   1.672 +#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
   1.673 +#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
   1.674 +#endif
   1.675 +
   1.676 +#ifndef GL_EXT_draw_instanced
   1.677 +#endif
   1.678 +
   1.679 +#ifndef GL_EXT_packed_float
   1.680 +#define GL_R11F_G11F_B10F_EXT             0x8C3A
   1.681 +#define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
   1.682 +#define GL_RGBA_SIGNED_COMPONENTS_EXT     0x8C3C
   1.683 +#endif
   1.684 +
   1.685 +#ifndef GL_EXT_texture_array
   1.686 +#define GL_TEXTURE_1D_ARRAY_EXT           0x8C18
   1.687 +#define GL_PROXY_TEXTURE_1D_ARRAY_EXT     0x8C19
   1.688 +#define GL_TEXTURE_2D_ARRAY_EXT           0x8C1A
   1.689 +#define GL_PROXY_TEXTURE_2D_ARRAY_EXT     0x8C1B
   1.690 +#define GL_TEXTURE_BINDING_1D_ARRAY_EXT   0x8C1C
   1.691 +#define GL_TEXTURE_BINDING_2D_ARRAY_EXT   0x8C1D
   1.692 +#define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT   0x88FF
   1.693 +#define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
   1.694 +/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
   1.695 +#endif
   1.696 +
   1.697 +#ifndef GL_EXT_texture_buffer_object
   1.698 +#define GL_TEXTURE_BUFFER_EXT             0x8C2A
   1.699 +#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT    0x8C2B
   1.700 +#define GL_TEXTURE_BINDING_BUFFER_EXT     0x8C2C
   1.701 +#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
   1.702 +#define GL_TEXTURE_BUFFER_FORMAT_EXT      0x8C2E
   1.703 +#endif
   1.704 +
   1.705 +#ifndef GL_EXT_texture_compression_latc
   1.706 +#define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
   1.707 +#define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
   1.708 +#define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
   1.709 +#define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
   1.710 +#endif
   1.711 +
   1.712 +#ifndef GL_EXT_texture_compression_rgtc
   1.713 +#define GL_COMPRESSED_RED_RGTC1_EXT       0x8DBB
   1.714 +#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
   1.715 +#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
   1.716 +#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
   1.717 +#endif
   1.718 +
   1.719 +#ifndef GL_EXT_texture_shared_exponent
   1.720 +#define GL_RGB9_E5_EXT                    0x8C3D
   1.721 +#define GL_UNSIGNED_INT_5_9_9_9_REV_EXT   0x8C3E
   1.722 +#define GL_TEXTURE_SHARED_SIZE_EXT        0x8C3F
   1.723 +#endif
   1.724 +
   1.725 +#ifndef GL_NV_depth_buffer_float
   1.726 +#define GL_DEPTH_COMPONENT32F_NV          0x8DAB
   1.727 +#define GL_DEPTH32F_STENCIL8_NV           0x8DAC
   1.728 +#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
   1.729 +#define GL_DEPTH_BUFFER_FLOAT_MODE_NV     0x8DAF
   1.730 +#endif
   1.731 +
   1.732 +#ifndef GL_NV_fragment_program4
   1.733 +#endif
   1.734 +
   1.735 +#ifndef GL_NV_framebuffer_multisample_coverage
   1.736 +#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
   1.737 +#define GL_RENDERBUFFER_COLOR_SAMPLES_NV  0x8E10
   1.738 +#define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
   1.739 +#define GL_MULTISAMPLE_COVERAGE_MODES_NV  0x8E12
   1.740 +#endif
   1.741 +
   1.742 +#ifndef GL_EXT_framebuffer_sRGB
   1.743 +#define GL_FRAMEBUFFER_SRGB_EXT           0x8DB9
   1.744 +#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT   0x8DBA
   1.745 +#endif
   1.746 +
   1.747 +#ifndef GL_NV_geometry_shader4
   1.748 +#endif
   1.749 +
   1.750 +#ifndef GL_NV_parameter_buffer_object
   1.751 +#define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
   1.752 +#define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
   1.753 +#define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
   1.754 +#define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
   1.755 +#define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
   1.756 +#endif
   1.757 +
   1.758 +#ifndef GL_EXT_draw_buffers2
   1.759 +#endif
   1.760 +
   1.761 +#ifndef GL_NV_transform_feedback
   1.762 +#define GL_BACK_PRIMARY_COLOR_NV          0x8C77
   1.763 +#define GL_BACK_SECONDARY_COLOR_NV        0x8C78
   1.764 +#define GL_TEXTURE_COORD_NV               0x8C79
   1.765 +#define GL_CLIP_DISTANCE_NV               0x8C7A
   1.766 +#define GL_VERTEX_ID_NV                   0x8C7B
   1.767 +#define GL_PRIMITIVE_ID_NV                0x8C7C
   1.768 +#define GL_GENERIC_ATTRIB_NV              0x8C7D
   1.769 +#define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV  0x8C7E
   1.770 +#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
   1.771 +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
   1.772 +#define GL_ACTIVE_VARYINGS_NV             0x8C81
   1.773 +#define GL_ACTIVE_VARYING_MAX_LENGTH_NV   0x8C82
   1.774 +#define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
   1.775 +#define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
   1.776 +#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
   1.777 +#define GL_TRANSFORM_FEEDBACK_RECORD_NV   0x8C86
   1.778 +#define GL_PRIMITIVES_GENERATED_NV        0x8C87
   1.779 +#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
   1.780 +#define GL_RASTERIZER_DISCARD_NV          0x8C89
   1.781 +#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV 0x8C8A
   1.782 +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
   1.783 +#define GL_INTERLEAVED_ATTRIBS_NV         0x8C8C
   1.784 +#define GL_SEPARATE_ATTRIBS_NV            0x8C8D
   1.785 +#define GL_TRANSFORM_FEEDBACK_BUFFER_NV   0x8C8E
   1.786 +#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
   1.787 +#endif
   1.788 +
   1.789 +#ifndef GL_EXT_bindable_uniform
   1.790 +#define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
   1.791 +#define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
   1.792 +#define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
   1.793 +#define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT  0x8DED
   1.794 +#define GL_UNIFORM_BUFFER_EXT             0x8DEE
   1.795 +#define GL_UNIFORM_BUFFER_BINDING_EXT     0x8DEF
   1.796 +#endif
   1.797 +
   1.798 +#ifndef GL_EXT_texture_integer
   1.799 +#define GL_RGBA32UI_EXT                   0x8D70
   1.800 +#define GL_RGB32UI_EXT                    0x8D71
   1.801 +#define GL_ALPHA32UI_EXT                  0x8D72
   1.802 +#define GL_INTENSITY32UI_EXT              0x8D73
   1.803 +#define GL_LUMINANCE32UI_EXT              0x8D74
   1.804 +#define GL_LUMINANCE_ALPHA32UI_EXT        0x8D75
   1.805 +#define GL_RGBA16UI_EXT                   0x8D76
   1.806 +#define GL_RGB16UI_EXT                    0x8D77
   1.807 +#define GL_ALPHA16UI_EXT                  0x8D78
   1.808 +#define GL_INTENSITY16UI_EXT              0x8D79
   1.809 +#define GL_LUMINANCE16UI_EXT              0x8D7A
   1.810 +#define GL_LUMINANCE_ALPHA16UI_EXT        0x8D7B
   1.811 +#define GL_RGBA8UI_EXT                    0x8D7C
   1.812 +#define GL_RGB8UI_EXT                     0x8D7D
   1.813 +#define GL_ALPHA8UI_EXT                   0x8D7E
   1.814 +#define GL_INTENSITY8UI_EXT               0x8D7F
   1.815 +#define GL_LUMINANCE8UI_EXT               0x8D80
   1.816 +#define GL_LUMINANCE_ALPHA8UI_EXT         0x8D81
   1.817 +#define GL_RGBA32I_EXT                    0x8D82
   1.818 +#define GL_RGB32I_EXT                     0x8D83
   1.819 +#define GL_ALPHA32I_EXT                   0x8D84
   1.820 +#define GL_INTENSITY32I_EXT               0x8D85
   1.821 +#define GL_LUMINANCE32I_EXT               0x8D86
   1.822 +#define GL_LUMINANCE_ALPHA32I_EXT         0x8D87
   1.823 +#define GL_RGBA16I_EXT                    0x8D88
   1.824 +#define GL_RGB16I_EXT                     0x8D89
   1.825 +#define GL_ALPHA16I_EXT                   0x8D8A
   1.826 +#define GL_INTENSITY16I_EXT               0x8D8B
   1.827 +#define GL_LUMINANCE16I_EXT               0x8D8C
   1.828 +#define GL_LUMINANCE_ALPHA16I_EXT         0x8D8D
   1.829 +#define GL_RGBA8I_EXT                     0x8D8E
   1.830 +#define GL_RGB8I_EXT                      0x8D8F
   1.831 +#define GL_ALPHA8I_EXT                    0x8D90
   1.832 +#define GL_INTENSITY8I_EXT                0x8D91
   1.833 +#define GL_LUMINANCE8I_EXT                0x8D92
   1.834 +#define GL_LUMINANCE_ALPHA8I_EXT          0x8D93
   1.835 +#define GL_RED_INTEGER_EXT                0x8D94
   1.836 +#define GL_GREEN_INTEGER_EXT              0x8D95
   1.837 +#define GL_BLUE_INTEGER_EXT               0x8D96
   1.838 +#define GL_ALPHA_INTEGER_EXT              0x8D97
   1.839 +#define GL_RGB_INTEGER_EXT                0x8D98
   1.840 +#define GL_RGBA_INTEGER_EXT               0x8D99
   1.841 +#define GL_BGR_INTEGER_EXT                0x8D9A
   1.842 +#define GL_BGRA_INTEGER_EXT               0x8D9B
   1.843 +#define GL_LUMINANCE_INTEGER_EXT          0x8D9C
   1.844 +#define GL_LUMINANCE_ALPHA_INTEGER_EXT    0x8D9D
   1.845 +#define GL_RGBA_INTEGER_MODE_EXT          0x8D9E
   1.846 +#endif
   1.847 +
   1.848 +#ifndef GL_GREMEDY_frame_terminator
   1.849 +#endif
   1.850 +
   1.851 +#ifndef GL_NV_conditional_render
   1.852 +#define GL_QUERY_WAIT_NV                  0x8E13
   1.853 +#define GL_QUERY_NO_WAIT_NV               0x8E14
   1.854 +#define GL_QUERY_BY_REGION_WAIT_NV        0x8E15
   1.855 +#define GL_QUERY_BY_REGION_NO_WAIT_NV     0x8E16
   1.856 +#endif
   1.857 +
   1.858 +#ifndef GL_NV_present_video
   1.859 +#define GL_FRAME_NV                       0x8E26
   1.860 +#define GL_FIELDS_NV                      0x8E27
   1.861 +#define GL_CURRENT_TIME_NV                0x8E28
   1.862 +#define GL_NUM_FILL_STREAMS_NV            0x8E29
   1.863 +#define GL_PRESENT_TIME_NV                0x8E2A
   1.864 +#define GL_PRESENT_DURATION_NV            0x8E2B
   1.865 +#endif
   1.866 +
   1.867 +#ifndef GL_EXT_transform_feedback
   1.868 +#define GL_TRANSFORM_FEEDBACK_BUFFER_EXT  0x8C8E
   1.869 +#define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
   1.870 +#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
   1.871 +#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
   1.872 +#define GL_INTERLEAVED_ATTRIBS_EXT        0x8C8C
   1.873 +#define GL_SEPARATE_ATTRIBS_EXT           0x8C8D
   1.874 +#define GL_PRIMITIVES_GENERATED_EXT       0x8C87
   1.875 +#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
   1.876 +#define GL_RASTERIZER_DISCARD_EXT         0x8C89
   1.877 +#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
   1.878 +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
   1.879 +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
   1.880 +#define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
   1.881 +#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
   1.882 +#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
   1.883 +#endif
   1.884 +
   1.885 +#ifndef GL_EXT_direct_state_access
   1.886 +#define GL_PROGRAM_MATRIX_EXT             0x8E2D
   1.887 +#define GL_TRANSPOSE_PROGRAM_MATRIX_EXT   0x8E2E
   1.888 +#define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
   1.889 +#endif
   1.890 +
   1.891 +#ifndef GL_EXT_vertex_array_bgra
   1.892 +/* reuse GL_BGRA */
   1.893 +#endif
   1.894 +
   1.895 +#ifndef GL_EXT_texture_swizzle
   1.896 +#define GL_TEXTURE_SWIZZLE_R_EXT          0x8E42
   1.897 +#define GL_TEXTURE_SWIZZLE_G_EXT          0x8E43
   1.898 +#define GL_TEXTURE_SWIZZLE_B_EXT          0x8E44
   1.899 +#define GL_TEXTURE_SWIZZLE_A_EXT          0x8E45
   1.900 +#define GL_TEXTURE_SWIZZLE_RGBA_EXT       0x8E46
   1.901 +#endif
   1.902 +
   1.903 +#ifndef GL_NV_explicit_multisample
   1.904 +#define GL_SAMPLE_POSITION_NV             0x8E50
   1.905 +#define GL_SAMPLE_MASK_NV                 0x8E51
   1.906 +#define GL_SAMPLE_MASK_VALUE_NV           0x8E52
   1.907 +#define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
   1.908 +#define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
   1.909 +#define GL_MAX_SAMPLE_MASK_WORDS_NV       0x8E59
   1.910 +#define GL_TEXTURE_RENDERBUFFER_NV        0x8E55
   1.911 +#define GL_SAMPLER_RENDERBUFFER_NV        0x8E56
   1.912 +#define GL_INT_SAMPLER_RENDERBUFFER_NV    0x8E57
   1.913 +#define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
   1.914 +#endif
   1.915 +
   1.916 +#ifndef GL_NV_transform_feedback2
   1.917 +#define GL_TRANSFORM_FEEDBACK_NV          0x8E22
   1.918 +#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
   1.919 +#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
   1.920 +#define GL_TRANSFORM_FEEDBACK_BINDING_NV  0x8E25
   1.921 +#endif
   1.922 +
   1.923  
   1.924  /*************************************************************/
   1.925  
   1.926 @@ -3128,6 +3952,48 @@
   1.927  typedef unsigned short GLhalfNV;
   1.928  #endif
   1.929  
   1.930 +#ifndef GLEXT_64_TYPES_DEFINED
   1.931 +/* This code block is duplicated in glxext.h, so must be protected */
   1.932 +#define GLEXT_64_TYPES_DEFINED
   1.933 +/* Define int32_t, int64_t, and uint64_t types for UST/MSC */
   1.934 +/* (as used in the GL_EXT_timer_query extension). */
   1.935 +#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
   1.936 +#include <inttypes.h>
   1.937 +#elif defined(__sun__) || defined(__digital__)
   1.938 +#include <inttypes.h>
   1.939 +#if defined(__STDC__)
   1.940 +#if defined(__arch64__) || defined(_LP64)
   1.941 +typedef long int int64_t;
   1.942 +typedef unsigned long int uint64_t;
   1.943 +#else
   1.944 +typedef long long int int64_t;
   1.945 +typedef unsigned long long int uint64_t;
   1.946 +#endif /* __arch64__ */
   1.947 +#endif /* __STDC__ */
   1.948 +#elif defined( __VMS ) || defined(__sgi)
   1.949 +#include <inttypes.h>
   1.950 +#elif defined(__SCO__) || defined(__USLC__)
   1.951 +#include <stdint.h>
   1.952 +#elif defined(__UNIXOS2__) || defined(__SOL64__)
   1.953 +typedef long int int32_t;
   1.954 +typedef long long int int64_t;
   1.955 +typedef unsigned long long int uint64_t;
   1.956 +#elif defined(_WIN32) && defined(__GNUC__)
   1.957 +#include <stdint.h>
   1.958 +#elif defined(_WIN32)
   1.959 +typedef __int32 int32_t;
   1.960 +typedef __int64 int64_t;
   1.961 +typedef unsigned __int64 uint64_t;
   1.962 +#else
   1.963 +#include <inttypes.h>     /* Fallback option */
   1.964 +#endif
   1.965 +#endif
   1.966 +
   1.967 +#ifndef GL_EXT_timer_query
   1.968 +typedef int64_t GLint64EXT;
   1.969 +typedef uint64_t GLuint64EXT;
   1.970 +#endif
   1.971 +
   1.972  #ifndef GL_VERSION_1_2
   1.973  #define GL_VERSION_1_2 1
   1.974  #ifdef GL_GLEXT_PROTOTYPES
   1.975 @@ -3640,6 +4506,150 @@
   1.976  typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
   1.977  #endif
   1.978  
   1.979 +#ifndef GL_VERSION_2_1
   1.980 +#define GL_VERSION_2_1 1
   1.981 +#ifdef GL_GLEXT_PROTOTYPES
   1.982 +GLAPI void APIENTRY glUniformMatrix2x3fv (GLint, GLsizei, GLboolean, const GLfloat *);
   1.983 +GLAPI void APIENTRY glUniformMatrix3x2fv (GLint, GLsizei, GLboolean, const GLfloat *);
   1.984 +GLAPI void APIENTRY glUniformMatrix2x4fv (GLint, GLsizei, GLboolean, const GLfloat *);
   1.985 +GLAPI void APIENTRY glUniformMatrix4x2fv (GLint, GLsizei, GLboolean, const GLfloat *);
   1.986 +GLAPI void APIENTRY glUniformMatrix3x4fv (GLint, GLsizei, GLboolean, const GLfloat *);
   1.987 +GLAPI void APIENTRY glUniformMatrix4x3fv (GLint, GLsizei, GLboolean, const GLfloat *);
   1.988 +#endif /* GL_GLEXT_PROTOTYPES */
   1.989 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.990 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.991 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.992 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.993 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.994 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.995 +#endif
   1.996 +
   1.997 +#ifndef GL_VERSION_3_0
   1.998 +#define GL_VERSION_3_0 1
   1.999 +/* OpenGL 3.0 also reuses entry points from these extensions: */
  1.1000 +/* ARB_framebuffer_object */
  1.1001 +/* ARB_map_buffer_range */
  1.1002 +/* ARB_vertex_array_object */
  1.1003 +#ifdef GL_GLEXT_PROTOTYPES
  1.1004 +GLAPI void APIENTRY glColorMaski (GLuint, GLboolean, GLboolean, GLboolean, GLboolean);
  1.1005 +GLAPI void APIENTRY glGetBooleani_v (GLenum, GLuint, GLboolean *);
  1.1006 +GLAPI void APIENTRY glGetIntegeri_v (GLenum, GLuint, GLint *);
  1.1007 +GLAPI void APIENTRY glEnablei (GLenum, GLuint);
  1.1008 +GLAPI void APIENTRY glDisablei (GLenum, GLuint);
  1.1009 +GLAPI GLboolean APIENTRY glIsEnabledi (GLenum, GLuint);
  1.1010 +GLAPI void APIENTRY glBeginTransformFeedback (GLenum);
  1.1011 +GLAPI void APIENTRY glEndTransformFeedback (void);
  1.1012 +GLAPI void APIENTRY glBindBufferRange (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr);
  1.1013 +GLAPI void APIENTRY glBindBufferBase (GLenum, GLuint, GLuint);
  1.1014 +GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint, GLsizei, const GLint *, GLenum);
  1.1015 +GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint, GLuint, GLint *);
  1.1016 +GLAPI void APIENTRY glClampColor (GLenum, GLenum);
  1.1017 +GLAPI void APIENTRY glBeginConditionalRender (GLuint, GLenum);
  1.1018 +GLAPI void APIENTRY glEndConditionalRender (void);
  1.1019 +GLAPI void APIENTRY glVertexAttribI1i (GLuint, GLint);
  1.1020 +GLAPI void APIENTRY glVertexAttribI2i (GLuint, GLint, GLint);
  1.1021 +GLAPI void APIENTRY glVertexAttribI3i (GLuint, GLint, GLint, GLint);
  1.1022 +GLAPI void APIENTRY glVertexAttribI4i (GLuint, GLint, GLint, GLint, GLint);
  1.1023 +GLAPI void APIENTRY glVertexAttribI1ui (GLuint, GLuint);
  1.1024 +GLAPI void APIENTRY glVertexAttribI2ui (GLuint, GLuint, GLuint);
  1.1025 +GLAPI void APIENTRY glVertexAttribI3ui (GLuint, GLuint, GLuint, GLuint);
  1.1026 +GLAPI void APIENTRY glVertexAttribI4ui (GLuint, GLuint, GLuint, GLuint, GLuint);
  1.1027 +GLAPI void APIENTRY glVertexAttribI1iv (GLuint, const GLint *);
  1.1028 +GLAPI void APIENTRY glVertexAttribI2iv (GLuint, const GLint *);
  1.1029 +GLAPI void APIENTRY glVertexAttribI3iv (GLuint, const GLint *);
  1.1030 +GLAPI void APIENTRY glVertexAttribI4iv (GLuint, const GLint *);
  1.1031 +GLAPI void APIENTRY glVertexAttribI1uiv (GLuint, const GLuint *);
  1.1032 +GLAPI void APIENTRY glVertexAttribI2uiv (GLuint, const GLuint *);
  1.1033 +GLAPI void APIENTRY glVertexAttribI3uiv (GLuint, const GLuint *);
  1.1034 +GLAPI void APIENTRY glVertexAttribI4uiv (GLuint, const GLuint *);
  1.1035 +GLAPI void APIENTRY glVertexAttribI4bv (GLuint, const GLbyte *);
  1.1036 +GLAPI void APIENTRY glVertexAttribI4sv (GLuint, const GLshort *);
  1.1037 +GLAPI void APIENTRY glVertexAttribI4ubv (GLuint, const GLubyte *);
  1.1038 +GLAPI void APIENTRY glVertexAttribI4usv (GLuint, const GLushort *);
  1.1039 +GLAPI void APIENTRY glVertexAttribIPointer (GLuint, GLint, GLenum, GLsizei, const GLvoid *);
  1.1040 +GLAPI void APIENTRY glGetVertexAttribIiv (GLuint, GLenum, GLint *);
  1.1041 +GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint, GLenum, GLuint *);
  1.1042 +GLAPI void APIENTRY glGetUniformuiv (GLuint, GLint, GLuint *);
  1.1043 +GLAPI void APIENTRY glBindFragDataLocation (GLuint, GLuint, const GLchar *);
  1.1044 +GLAPI GLint APIENTRY glGetFragDataLocation (GLuint, const GLchar *);
  1.1045 +GLAPI void APIENTRY glUniform1ui (GLint, GLuint);
  1.1046 +GLAPI void APIENTRY glUniform2ui (GLint, GLuint, GLuint);
  1.1047 +GLAPI void APIENTRY glUniform3ui (GLint, GLuint, GLuint, GLuint);
  1.1048 +GLAPI void APIENTRY glUniform4ui (GLint, GLuint, GLuint, GLuint, GLuint);
  1.1049 +GLAPI void APIENTRY glUniform1uiv (GLint, GLsizei, const GLuint *);
  1.1050 +GLAPI void APIENTRY glUniform2uiv (GLint, GLsizei, const GLuint *);
  1.1051 +GLAPI void APIENTRY glUniform3uiv (GLint, GLsizei, const GLuint *);
  1.1052 +GLAPI void APIENTRY glUniform4uiv (GLint, GLsizei, const GLuint *);
  1.1053 +GLAPI void APIENTRY glTexParameterIiv (GLenum, GLenum, const GLint *);
  1.1054 +GLAPI void APIENTRY glTexParameterIuiv (GLenum, GLenum, const GLuint *);
  1.1055 +GLAPI void APIENTRY glGetTexParameterIiv (GLenum, GLenum, GLint *);
  1.1056 +GLAPI void APIENTRY glGetTexParameterIuiv (GLenum, GLenum, GLuint *);
  1.1057 +GLAPI void APIENTRY glClearBufferiv (GLenum, GLint, const GLint *);
  1.1058 +GLAPI void APIENTRY glClearBufferuiv (GLenum, GLint, const GLuint *);
  1.1059 +GLAPI void APIENTRY glClearBufferfv (GLenum, GLint, const GLfloat *);
  1.1060 +GLAPI void APIENTRY glClearBufferfi (GLenum, GLint, GLfloat, GLint);
  1.1061 +GLAPI const GLubyte * APIENTRY glGetStringi (GLenum, GLuint);
  1.1062 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1063 +typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1.1064 +typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
  1.1065 +typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
  1.1066 +typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
  1.1067 +typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
  1.1068 +typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
  1.1069 +typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
  1.1070 +typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
  1.1071 +typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1.1072 +typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
  1.1073 +typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  1.1074 +typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLint *location);
  1.1075 +typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
  1.1076 +typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
  1.1077 +typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
  1.1078 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
  1.1079 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
  1.1080 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
  1.1081 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  1.1082 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
  1.1083 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
  1.1084 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  1.1085 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1.1086 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
  1.1087 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
  1.1088 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
  1.1089 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
  1.1090 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
  1.1091 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
  1.1092 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
  1.1093 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
  1.1094 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
  1.1095 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
  1.1096 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
  1.1097 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
  1.1098 +typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  1.1099 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
  1.1100 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
  1.1101 +typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
  1.1102 +typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
  1.1103 +typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
  1.1104 +typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
  1.1105 +typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
  1.1106 +typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  1.1107 +typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1.1108 +typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1.1109 +typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1.1110 +typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1.1111 +typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1.1112 +typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
  1.1113 +typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
  1.1114 +typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
  1.1115 +typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
  1.1116 +typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
  1.1117 +typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
  1.1118 +typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  1.1119 +typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  1.1120 +typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
  1.1121 +#endif
  1.1122 +
  1.1123  #ifndef GL_ARB_multitexture
  1.1124  #define GL_ARB_multitexture 1
  1.1125  #ifdef GL_GLEXT_PROTOTYPES
  1.1126 @@ -4219,6 +5229,136 @@
  1.1127  #define GL_ARB_pixel_buffer_object 1
  1.1128  #endif
  1.1129  
  1.1130 +#ifndef GL_ARB_depth_buffer_float
  1.1131 +#define GL_ARB_depth_buffer_float 1
  1.1132 +#endif
  1.1133 +
  1.1134 +#ifndef GL_ARB_draw_instanced
  1.1135 +#define GL_ARB_draw_instanced 1
  1.1136 +#ifdef GL_GLEXT_PROTOTYPES
  1.1137 +GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum, GLint, GLsizei, GLsizei);
  1.1138 +GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum, GLsizei, GLenum, const GLvoid *, GLsizei);
  1.1139 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1140 +typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  1.1141 +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
  1.1142 +#endif
  1.1143 +
  1.1144 +#ifndef GL_ARB_framebuffer_object
  1.1145 +#define GL_ARB_framebuffer_object 1
  1.1146 +#ifdef GL_GLEXT_PROTOTYPES
  1.1147 +GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint);
  1.1148 +GLAPI void APIENTRY glBindRenderbuffer (GLenum, GLuint);
  1.1149 +GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei, const GLuint *);
  1.1150 +GLAPI void APIENTRY glGenRenderbuffers (GLsizei, GLuint *);
  1.1151 +GLAPI void APIENTRY glRenderbufferStorage (GLenum, GLenum, GLsizei, GLsizei);
  1.1152 +GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum, GLenum, GLint *);
  1.1153 +GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint);
  1.1154 +GLAPI void APIENTRY glBindFramebuffer (GLenum, GLuint);
  1.1155 +GLAPI void APIENTRY glDeleteFramebuffers (GLsizei, const GLuint *);
  1.1156 +GLAPI void APIENTRY glGenFramebuffers (GLsizei, GLuint *);
  1.1157 +GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum);
  1.1158 +GLAPI void APIENTRY glFramebufferTexture1D (GLenum, GLenum, GLenum, GLuint, GLint);
  1.1159 +GLAPI void APIENTRY glFramebufferTexture2D (GLenum, GLenum, GLenum, GLuint, GLint);
  1.1160 +GLAPI void APIENTRY glFramebufferTexture3D (GLenum, GLenum, GLenum, GLuint, GLint, GLint);
  1.1161 +GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum, GLenum, GLenum, GLuint);
  1.1162 +GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum, GLenum, GLenum, GLint *);
  1.1163 +GLAPI void APIENTRY glGenerateMipmap (GLenum);
  1.1164 +GLAPI void APIENTRY glBlitFramebuffer (GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum);
  1.1165 +GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum, GLsizei, GLenum, GLsizei, GLsizei);
  1.1166 +GLAPI void APIENTRY glFramebufferTextureLayer (GLenum, GLenum, GLuint, GLint, GLint);
  1.1167 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1168 +typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
  1.1169 +typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
  1.1170 +typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
  1.1171 +typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
  1.1172 +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  1.1173 +typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1.1174 +typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
  1.1175 +typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
  1.1176 +typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
  1.1177 +typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
  1.1178 +typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
  1.1179 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1.1180 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1.1181 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  1.1182 +typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  1.1183 +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  1.1184 +typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
  1.1185 +typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  1.1186 +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1.1187 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1.1188 +#endif
  1.1189 +
  1.1190 +#ifndef GL_ARB_framebuffer_sRGB
  1.1191 +#define GL_ARB_framebuffer_sRGB 1
  1.1192 +#endif
  1.1193 +
  1.1194 +#ifndef GL_ARB_geometry_shader4
  1.1195 +#define GL_ARB_geometry_shader4 1
  1.1196 +#ifdef GL_GLEXT_PROTOTYPES
  1.1197 +GLAPI void APIENTRY glProgramParameteriARB (GLuint, GLenum, GLint);
  1.1198 +GLAPI void APIENTRY glFramebufferTextureARB (GLenum, GLenum, GLuint, GLint);
  1.1199 +GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum, GLenum, GLuint, GLint, GLint);
  1.1200 +GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum, GLenum, GLuint, GLint, GLenum);
  1.1201 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1202 +typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
  1.1203 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1.1204 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1.1205 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  1.1206 +#endif
  1.1207 +
  1.1208 +#ifndef GL_ARB_half_float_vertex
  1.1209 +#define GL_ARB_half_float_vertex 1
  1.1210 +#endif
  1.1211 +
  1.1212 +#ifndef GL_ARB_instanced_arrays
  1.1213 +#define GL_ARB_instanced_arrays 1
  1.1214 +#ifdef GL_GLEXT_PROTOTYPES
  1.1215 +GLAPI void APIENTRY glVertexAttribDivisor (GLuint, GLuint);
  1.1216 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1217 +typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
  1.1218 +#endif
  1.1219 +
  1.1220 +#ifndef GL_ARB_map_buffer_range
  1.1221 +#define GL_ARB_map_buffer_range 1
  1.1222 +#ifdef GL_GLEXT_PROTOTYPES
  1.1223 +GLAPI void APIENTRY glMapBufferRange (GLenum, GLintptr, GLsizeiptr, GLbitfield);
  1.1224 +GLAPI void APIENTRY glFlushMappedBufferRange (GLenum, GLintptr, GLsizeiptr);
  1.1225 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1226 +typedef void (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1.1227 +typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
  1.1228 +#endif
  1.1229 +
  1.1230 +#ifndef GL_ARB_texture_buffer_object
  1.1231 +#define GL_ARB_texture_buffer_object 1
  1.1232 +#ifdef GL_GLEXT_PROTOTYPES
  1.1233 +GLAPI void APIENTRY glTexBufferARB (GLenum, GLenum, GLuint);
  1.1234 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1235 +typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  1.1236 +#endif
  1.1237 +
  1.1238 +#ifndef GL_ARB_texture_compression_rgtc
  1.1239 +#define GL_ARB_texture_compression_rgtc 1
  1.1240 +#endif
  1.1241 +
  1.1242 +#ifndef GL_ARB_texture_rg
  1.1243 +#define GL_ARB_texture_rg 1
  1.1244 +#endif
  1.1245 +
  1.1246 +#ifndef GL_ARB_vertex_array_object
  1.1247 +#define GL_ARB_vertex_array_object 1
  1.1248 +#ifdef GL_GLEXT_PROTOTYPES
  1.1249 +GLAPI void APIENTRY glBindVertexArray (GLuint);
  1.1250 +GLAPI void APIENTRY glDeleteVertexArrays (GLsizei, const GLuint *);
  1.1251 +GLAPI void APIENTRY glGenVertexArrays (GLsizei, GLuint *);
  1.1252 +GLAPI GLboolean APIENTRY glIsVertexArray (GLuint);
  1.1253 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1254 +typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
  1.1255 +typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
  1.1256 +typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
  1.1257 +typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
  1.1258 +#endif
  1.1259 +
  1.1260  #ifndef GL_EXT_abgr
  1.1261  #define GL_EXT_abgr 1
  1.1262  #endif
  1.1263 @@ -4347,8 +5487,8 @@
  1.1264  typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  1.1265  #endif
  1.1266  
  1.1267 -#ifndef GL_EXT_color_matrix
  1.1268 -#define GL_EXT_color_matrix 1
  1.1269 +#ifndef GL_SGI_color_matrix
  1.1270 +#define GL_SGI_color_matrix 1
  1.1271  #endif
  1.1272  
  1.1273  #ifndef GL_SGI_color_table
  1.1274 @@ -6208,12 +7348,12 @@
  1.1275  #ifdef GL_GLEXT_PROTOTYPES
  1.1276  GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint);
  1.1277  GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei, const GLuint *);
  1.1278 -GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei, const GLuint *);
  1.1279 +GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei, GLuint *);
  1.1280  GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint);
  1.1281  #endif /* GL_GLEXT_PROTOTYPES */
  1.1282  typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
  1.1283  typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
  1.1284 -typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
  1.1285 +typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
  1.1286  typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
  1.1287  #endif
  1.1288  
  1.1289 @@ -6541,6 +7681,830 @@
  1.1290  typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string);
  1.1291  #endif
  1.1292  
  1.1293 +#ifndef GL_EXT_packed_depth_stencil
  1.1294 +#define GL_EXT_packed_depth_stencil 1
  1.1295 +#endif
  1.1296 +
  1.1297 +#ifndef GL_EXT_stencil_clear_tag
  1.1298 +#define GL_EXT_stencil_clear_tag 1
  1.1299 +#ifdef GL_GLEXT_PROTOTYPES
  1.1300 +GLAPI void APIENTRY glStencilClearTagEXT (GLsizei, GLuint);
  1.1301 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1302 +typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
  1.1303 +#endif
  1.1304 +
  1.1305 +#ifndef GL_EXT_texture_sRGB
  1.1306 +#define GL_EXT_texture_sRGB 1
  1.1307 +#endif
  1.1308 +
  1.1309 +#ifndef GL_EXT_framebuffer_blit
  1.1310 +#define GL_EXT_framebuffer_blit 1
  1.1311 +#ifdef GL_GLEXT_PROTOTYPES
  1.1312 +GLAPI void APIENTRY glBlitFramebufferEXT (GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum);
  1.1313 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1314 +typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  1.1315 +#endif
  1.1316 +
  1.1317 +#ifndef GL_EXT_framebuffer_multisample
  1.1318 +#define GL_EXT_framebuffer_multisample 1
  1.1319 +#ifdef GL_GLEXT_PROTOTYPES
  1.1320 +GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum, GLsizei, GLenum, GLsizei, GLsizei);
  1.1321 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1322 +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1.1323 +#endif
  1.1324 +
  1.1325 +#ifndef GL_MESAX_texture_stack
  1.1326 +#define GL_MESAX_texture_stack 1
  1.1327 +#endif
  1.1328 +
  1.1329 +#ifndef GL_EXT_timer_query
  1.1330 +#define GL_EXT_timer_query 1
  1.1331 +#ifdef GL_GLEXT_PROTOTYPES
  1.1332 +GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint, GLenum, GLint64EXT *);
  1.1333 +GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint, GLenum, GLuint64EXT *);
  1.1334 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1335 +typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params);
  1.1336 +typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params);
  1.1337 +#endif
  1.1338 +
  1.1339 +#ifndef GL_EXT_gpu_program_parameters
  1.1340 +#define GL_EXT_gpu_program_parameters 1
  1.1341 +#ifdef GL_GLEXT_PROTOTYPES
  1.1342 +GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum, GLuint, GLsizei, const GLfloat *);
  1.1343 +GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum, GLuint, GLsizei, const GLfloat *);
  1.1344 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1345 +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  1.1346 +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  1.1347 +#endif
  1.1348 +
  1.1349 +#ifndef GL_APPLE_flush_buffer_range
  1.1350 +#define GL_APPLE_flush_buffer_range 1
  1.1351 +#ifdef GL_GLEXT_PROTOTYPES
  1.1352 +GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum, GLenum, GLint);
  1.1353 +GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum, GLintptr, GLsizeiptr);
  1.1354 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1355 +typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
  1.1356 +typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
  1.1357 +#endif
  1.1358 +
  1.1359 +#ifndef GL_NV_gpu_program4
  1.1360 +#define GL_NV_gpu_program4 1
  1.1361 +#ifdef GL_GLEXT_PROTOTYPES
  1.1362 +GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum, GLuint, GLint, GLint, GLint, GLint);
  1.1363 +GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum, GLuint, const GLint *);
  1.1364 +GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum, GLuint, GLsizei, const GLint *);
  1.1365 +GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint);
  1.1366 +GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum, GLuint, const GLuint *);
  1.1367 +GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum, GLuint, GLsizei, const GLuint *);
  1.1368 +GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum, GLuint, GLint, GLint, GLint, GLint);
  1.1369 +GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum, GLuint, const GLint *);
  1.1370 +GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum, GLuint, GLsizei, const GLint *);
  1.1371 +GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint);
  1.1372 +GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum, GLuint, const GLuint *);
  1.1373 +GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum, GLuint, GLsizei, const GLuint *);
  1.1374 +GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum, GLuint, GLint *);
  1.1375 +GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum, GLuint, GLuint *);
  1.1376 +GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum, GLuint, GLint *);
  1.1377 +GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum, GLuint, GLuint *);
  1.1378 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1379 +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  1.1380 +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  1.1381 +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  1.1382 +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1.1383 +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  1.1384 +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  1.1385 +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  1.1386 +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  1.1387 +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  1.1388 +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1.1389 +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  1.1390 +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  1.1391 +typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
  1.1392 +typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
  1.1393 +typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
  1.1394 +typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
  1.1395 +#endif
  1.1396 +
  1.1397 +#ifndef GL_NV_geometry_program4
  1.1398 +#define GL_NV_geometry_program4 1
  1.1399 +#ifdef GL_GLEXT_PROTOTYPES
  1.1400 +GLAPI void APIENTRY glProgramVertexLimitNV (GLenum, GLint);
  1.1401 +GLAPI void APIENTRY glFramebufferTextureEXT (GLenum, GLenum, GLuint, GLint);
  1.1402 +GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum, GLenum, GLuint, GLint, GLint);
  1.1403 +GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum, GLenum, GLuint, GLint, GLenum);
  1.1404 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1405 +typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
  1.1406 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1.1407 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1.1408 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  1.1409 +#endif
  1.1410 +
  1.1411 +#ifndef GL_EXT_geometry_shader4
  1.1412 +#define GL_EXT_geometry_shader4 1
  1.1413 +#ifdef GL_GLEXT_PROTOTYPES
  1.1414 +GLAPI void APIENTRY glProgramParameteriEXT (GLuint, GLenum, GLint);
  1.1415 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1416 +typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
  1.1417 +#endif
  1.1418 +
  1.1419 +#ifndef GL_NV_vertex_program4
  1.1420 +#define GL_NV_vertex_program4 1
  1.1421 +#ifdef GL_GLEXT_PROTOTYPES
  1.1422 +GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint, GLint);
  1.1423 +GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint, GLint, GLint);
  1.1424 +GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint, GLint, GLint, GLint);
  1.1425 +GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint, GLint, GLint, GLint, GLint);
  1.1426 +GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint, GLuint);
  1.1427 +GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint, GLuint, GLuint);
  1.1428 +GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint, GLuint, GLuint, GLuint);
  1.1429 +GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint, GLuint, GLuint, GLuint, GLuint);
  1.1430 +GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint, const GLint *);
  1.1431 +GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint, const GLint *);
  1.1432 +GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint, const GLint *);
  1.1433 +GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint, const GLint *);
  1.1434 +GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint, const GLuint *);
  1.1435 +GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint, const GLuint *);
  1.1436 +GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint, const GLuint *);
  1.1437 +GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint, const GLuint *);
  1.1438 +GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint, const GLbyte *);
  1.1439 +GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint, const GLshort *);
  1.1440 +GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint, const GLubyte *);
  1.1441 +GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint, const GLushort *);
  1.1442 +GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint, GLint, GLenum, GLsizei, const GLvoid *);
  1.1443 +GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint, GLenum, GLint *);
  1.1444 +GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint, GLenum, GLuint *);
  1.1445 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1446 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
  1.1447 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
  1.1448 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
  1.1449 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  1.1450 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
  1.1451 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
  1.1452 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  1.1453 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1.1454 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
  1.1455 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
  1.1456 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
  1.1457 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
  1.1458 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
  1.1459 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
  1.1460 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
  1.1461 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
  1.1462 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
  1.1463 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
  1.1464 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
  1.1465 +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
  1.1466 +typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  1.1467 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
  1.1468 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
  1.1469 +#endif
  1.1470 +
  1.1471 +#ifndef GL_EXT_gpu_shader4
  1.1472 +#define GL_EXT_gpu_shader4 1
  1.1473 +#ifdef GL_GLEXT_PROTOTYPES
  1.1474 +GLAPI void APIENTRY glGetUniformuivEXT (GLuint, GLint, GLuint *);
  1.1475 +GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint, GLuint, const GLchar *);
  1.1476 +GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint, const GLchar *);
  1.1477 +GLAPI void APIENTRY glUniform1uiEXT (GLint, GLuint);
  1.1478 +GLAPI void APIENTRY glUniform2uiEXT (GLint, GLuint, GLuint);
  1.1479 +GLAPI void APIENTRY glUniform3uiEXT (GLint, GLuint, GLuint, GLuint);
  1.1480 +GLAPI void APIENTRY glUniform4uiEXT (GLint, GLuint, GLuint, GLuint, GLuint);
  1.1481 +GLAPI void APIENTRY glUniform1uivEXT (GLint, GLsizei, const GLuint *);
  1.1482 +GLAPI void APIENTRY glUniform2uivEXT (GLint, GLsizei, const GLuint *);
  1.1483 +GLAPI void APIENTRY glUniform3uivEXT (GLint, GLsizei, const GLuint *);
  1.1484 +GLAPI void APIENTRY glUniform4uivEXT (GLint, GLsizei, const GLuint *);
  1.1485 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1486 +typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
  1.1487 +typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
  1.1488 +typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
  1.1489 +typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
  1.1490 +typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
  1.1491 +typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  1.1492 +typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1.1493 +typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  1.1494 +typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  1.1495 +typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  1.1496 +typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  1.1497 +#endif
  1.1498 +
  1.1499 +#ifndef GL_EXT_draw_instanced
  1.1500 +#define GL_EXT_draw_instanced 1
  1.1501 +#ifdef GL_GLEXT_PROTOTYPES
  1.1502 +GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum, GLint, GLsizei, GLsizei);
  1.1503 +GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum, GLsizei, GLenum, const GLvoid *, GLsizei);
  1.1504 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1505 +typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  1.1506 +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
  1.1507 +#endif
  1.1508 +
  1.1509 +#ifndef GL_EXT_packed_float
  1.1510 +#define GL_EXT_packed_float 1
  1.1511 +#endif
  1.1512 +
  1.1513 +#ifndef GL_EXT_texture_array
  1.1514 +#define GL_EXT_texture_array 1
  1.1515 +#endif
  1.1516 +
  1.1517 +#ifndef GL_EXT_texture_buffer_object
  1.1518 +#define GL_EXT_texture_buffer_object 1
  1.1519 +#ifdef GL_GLEXT_PROTOTYPES
  1.1520 +GLAPI void APIENTRY glTexBufferEXT (GLenum, GLenum, GLuint);
  1.1521 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1522 +typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  1.1523 +#endif
  1.1524 +
  1.1525 +#ifndef GL_EXT_texture_compression_latc
  1.1526 +#define GL_EXT_texture_compression_latc 1
  1.1527 +#endif
  1.1528 +
  1.1529 +#ifndef GL_EXT_texture_compression_rgtc
  1.1530 +#define GL_EXT_texture_compression_rgtc 1
  1.1531 +#endif
  1.1532 +
  1.1533 +#ifndef GL_EXT_texture_shared_exponent
  1.1534 +#define GL_EXT_texture_shared_exponent 1
  1.1535 +#endif
  1.1536 +
  1.1537 +#ifndef GL_NV_depth_buffer_float
  1.1538 +#define GL_NV_depth_buffer_float 1
  1.1539 +#ifdef GL_GLEXT_PROTOTYPES
  1.1540 +GLAPI void APIENTRY glDepthRangedNV (GLdouble, GLdouble);
  1.1541 +GLAPI void APIENTRY glClearDepthdNV (GLdouble);
  1.1542 +GLAPI void APIENTRY glDepthBoundsdNV (GLdouble, GLdouble);
  1.1543 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1544 +typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
  1.1545 +typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
  1.1546 +typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
  1.1547 +#endif
  1.1548 +
  1.1549 +#ifndef GL_NV_fragment_program4
  1.1550 +#define GL_NV_fragment_program4 1
  1.1551 +#endif
  1.1552 +
  1.1553 +#ifndef GL_NV_framebuffer_multisample_coverage
  1.1554 +#define GL_NV_framebuffer_multisample_coverage 1
  1.1555 +#ifdef GL_GLEXT_PROTOTYPES
  1.1556 +GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum, GLsizei, GLsizei, GLenum, GLsizei, GLsizei);
  1.1557 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1558 +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  1.1559 +#endif
  1.1560 +
  1.1561 +#ifndef GL_EXT_framebuffer_sRGB
  1.1562 +#define GL_EXT_framebuffer_sRGB 1
  1.1563 +#endif
  1.1564 +
  1.1565 +#ifndef GL_NV_geometry_shader4
  1.1566 +#define GL_NV_geometry_shader4 1
  1.1567 +#endif
  1.1568 +
  1.1569 +#ifndef GL_NV_parameter_buffer_object
  1.1570 +#define GL_NV_parameter_buffer_object 1
  1.1571 +#ifdef GL_GLEXT_PROTOTYPES
  1.1572 +GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum, GLuint, GLuint, GLsizei, const GLfloat *);
  1.1573 +GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum, GLuint, GLuint, GLsizei, const GLint *);
  1.1574 +GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum, GLuint, GLuint, GLsizei, const GLuint *);
  1.1575 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1576 +typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params);
  1.1577 +typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params);
  1.1578 +typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params);
  1.1579 +#endif
  1.1580 +
  1.1581 +#ifndef GL_EXT_draw_buffers2
  1.1582 +#define GL_EXT_draw_buffers2 1
  1.1583 +#ifdef GL_GLEXT_PROTOTYPES
  1.1584 +GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint, GLboolean, GLboolean, GLboolean, GLboolean);
  1.1585 +GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum, GLuint, GLboolean *);
  1.1586 +GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum, GLuint, GLint *);
  1.1587 +GLAPI void APIENTRY glEnableIndexedEXT (GLenum, GLuint);
  1.1588 +GLAPI void APIENTRY glDisableIndexedEXT (GLenum, GLuint);
  1.1589 +GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum, GLuint);
  1.1590 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1591 +typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1.1592 +typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
  1.1593 +typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
  1.1594 +typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  1.1595 +typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  1.1596 +typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
  1.1597 +#endif
  1.1598 +
  1.1599 +#ifndef GL_NV_transform_feedback
  1.1600 +#define GL_NV_transform_feedback 1
  1.1601 +#ifdef GL_GLEXT_PROTOTYPES
  1.1602 +GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum);
  1.1603 +GLAPI void APIENTRY glEndTransformFeedbackNV (void);
  1.1604 +GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint, const GLint *, GLenum);
  1.1605 +GLAPI void APIENTRY glBindBufferRangeNV (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr);
  1.1606 +GLAPI void APIENTRY glBindBufferOffsetNV (GLenum, GLuint, GLuint, GLintptr);
  1.1607 +GLAPI void APIENTRY glBindBufferBaseNV (GLenum, GLuint, GLuint);
  1.1608 +GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint, GLsizei, const GLint *, GLenum);
  1.1609 +GLAPI void APIENTRY glActiveVaryingNV (GLuint, const GLchar *);
  1.1610 +GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint, const GLchar *);
  1.1611 +GLAPI void APIENTRY glGetActiveVaryingNV (GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *);
  1.1612 +GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint, GLuint, GLint *);
  1.1613 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1614 +typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
  1.1615 +typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
  1.1616 +typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
  1.1617 +typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1.1618 +typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  1.1619 +typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
  1.1620 +typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  1.1621 +typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
  1.1622 +typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
  1.1623 +typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  1.1624 +typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
  1.1625 +#endif
  1.1626 +
  1.1627 +#ifndef GL_EXT_bindable_uniform
  1.1628 +#define GL_EXT_bindable_uniform 1
  1.1629 +#ifdef GL_GLEXT_PROTOTYPES
  1.1630 +GLAPI void APIENTRY glUniformBufferEXT (GLuint, GLint, GLuint);
  1.1631 +GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint, GLint);
  1.1632 +GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint, GLint);
  1.1633 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1634 +typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
  1.1635 +typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
  1.1636 +typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
  1.1637 +#endif
  1.1638 +
  1.1639 +#ifndef GL_EXT_texture_integer
  1.1640 +#define GL_EXT_texture_integer 1
  1.1641 +#ifdef GL_GLEXT_PROTOTYPES
  1.1642 +GLAPI void APIENTRY glTexParameterIivEXT (GLenum, GLenum, const GLint *);
  1.1643 +GLAPI void APIENTRY glTexParameterIuivEXT (GLenum, GLenum, const GLuint *);
  1.1644 +GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum, GLenum, GLint *);
  1.1645 +GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum, GLenum, GLuint *);
  1.1646 +GLAPI void APIENTRY glClearColorIiEXT (GLint, GLint, GLint, GLint);
  1.1647 +GLAPI void APIENTRY glClearColorIuiEXT (GLuint, GLuint, GLuint, GLuint);
  1.1648 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1649 +typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  1.1650 +typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
  1.1651 +typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  1.1652 +typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
  1.1653 +typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
  1.1654 +typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  1.1655 +#endif
  1.1656 +
  1.1657 +#ifndef GL_GREMEDY_frame_terminator
  1.1658 +#define GL_GREMEDY_frame_terminator 1
  1.1659 +#ifdef GL_GLEXT_PROTOTYPES
  1.1660 +GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
  1.1661 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1662 +typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
  1.1663 +#endif
  1.1664 +
  1.1665 +#ifndef GL_NV_conditional_render
  1.1666 +#define GL_NV_conditional_render 1
  1.1667 +#ifdef GL_GLEXT_PROTOTYPES
  1.1668 +GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint, GLenum);
  1.1669 +GLAPI void APIENTRY glEndConditionalRenderNV (void);
  1.1670 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1671 +typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
  1.1672 +typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
  1.1673 +#endif
  1.1674 +
  1.1675 +#ifndef GL_NV_present_video
  1.1676 +#define GL_NV_present_video 1
  1.1677 +#endif
  1.1678 +
  1.1679 +#ifndef GL_EXT_transform_feedback
  1.1680 +#define GL_EXT_transform_feedback 1
  1.1681 +#ifdef GL_GLEXT_PROTOTYPES
  1.1682 +GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum);
  1.1683 +GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
  1.1684 +GLAPI void APIENTRY glBindBufferRangeEXT (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr);
  1.1685 +GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum, GLuint, GLuint, GLintptr);
  1.1686 +GLAPI void APIENTRY glBindBufferBaseEXT (GLenum, GLuint, GLuint);
  1.1687 +GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint, GLsizei, const GLint *, GLenum);
  1.1688 +GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint, GLuint, GLint *);
  1.1689 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1690 +typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
  1.1691 +typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
  1.1692 +typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1.1693 +typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  1.1694 +typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
  1.1695 +typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  1.1696 +typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLint *location);
  1.1697 +#endif
  1.1698 +
  1.1699 +#ifndef GL_EXT_direct_state_access
  1.1700 +#define GL_EXT_direct_state_access 1
  1.1701 +#ifdef GL_GLEXT_PROTOTYPES
  1.1702 +GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield);
  1.1703 +GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield);
  1.1704 +GLAPI void APIENTRY glMatrixLoadfEXT (GLenum, const GLfloat *);
  1.1705 +GLAPI void APIENTRY glMatrixLoaddEXT (GLenum, const GLdouble *);
  1.1706 +GLAPI void APIENTRY glMatrixMultfEXT (GLenum, const GLfloat *);
  1.1707 +GLAPI void APIENTRY glMatrixMultdEXT (GLenum, const GLdouble *);
  1.1708 +GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum);
  1.1709 +GLAPI void APIENTRY glMatrixRotatefEXT (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
  1.1710 +GLAPI void APIENTRY glMatrixRotatedEXT (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
  1.1711 +GLAPI void APIENTRY glMatrixScalefEXT (GLenum, GLfloat, GLfloat, GLfloat);
  1.1712 +GLAPI void APIENTRY glMatrixScaledEXT (GLenum, GLdouble, GLdouble, GLdouble);
  1.1713 +GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum, GLfloat, GLfloat, GLfloat);
  1.1714 +GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum, GLdouble, GLdouble, GLdouble);
  1.1715 +GLAPI void APIENTRY glMatrixFrustumEXT (GLenum, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
  1.1716 +GLAPI void APIENTRY glMatrixOrthoEXT (GLenum, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
  1.1717 +GLAPI void APIENTRY glMatrixPopEXT (GLenum);
  1.1718 +GLAPI void APIENTRY glMatrixPushEXT (GLenum);
  1.1719 +GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum, const GLfloat *);
  1.1720 +GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum, const GLdouble *);
  1.1721 +GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum, const GLfloat *);
  1.1722 +GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum, const GLdouble *);
  1.1723 +GLAPI void APIENTRY glTextureParameterfEXT (GLuint, GLenum, GLenum, GLfloat);
  1.1724 +GLAPI void APIENTRY glTextureParameterfvEXT (GLuint, GLenum, GLenum, const GLfloat *);
  1.1725 +GLAPI void APIENTRY glTextureParameteriEXT (GLuint, GLenum, GLenum, GLint);
  1.1726 +GLAPI void APIENTRY glTextureParameterivEXT (GLuint, GLenum, GLenum, const GLint *);
  1.1727 +GLAPI void APIENTRY glTextureImage1DEXT (GLuint, GLenum, GLint, GLenum, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  1.1728 +GLAPI void APIENTRY glTextureImage2DEXT (GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  1.1729 +GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint, GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
  1.1730 +GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1.1731 +GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
  1.1732 +GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
  1.1733 +GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei);
  1.1734 +GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint, GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  1.1735 +GLAPI void APIENTRY glGetTextureImageEXT (GLuint, GLenum, GLint, GLenum, GLenum, GLvoid *);
  1.1736 +GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint, GLenum, GLenum, GLfloat *);
  1.1737 +GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint, GLenum, GLenum, GLint *);
  1.1738 +GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint, GLenum, GLint, GLenum, GLfloat *);
  1.1739 +GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint, GLenum, GLint, GLenum, GLint *);
  1.1740 +GLAPI void APIENTRY glTextureImage3DEXT (GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  1.1741 +GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1.1742 +GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint, GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  1.1743 +GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum, GLenum, GLenum, GLfloat);
  1.1744 +GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum, GLenum, GLenum, const GLfloat *);
  1.1745 +GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum, GLenum, GLenum, GLint);
  1.1746 +GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum, GLenum, GLenum, const GLint *);
  1.1747 +GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum, GLenum, GLint, GLenum, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  1.1748 +GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  1.1749 +GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
  1.1750 +GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1.1751 +GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
  1.1752 +GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
  1.1753 +GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum, GLenum, GLint, GLint, GLint, GLint, GLsizei);
  1.1754 +GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum, GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  1.1755 +GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum, GLenum, GLint, GLenum, GLenum, GLvoid *);
  1.1756 +GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum, GLenum, GLenum, GLfloat *);
  1.1757 +GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum, GLenum, GLenum, GLint *);
  1.1758 +GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum, GLenum, GLint, GLenum, GLfloat *);
  1.1759 +GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum, GLenum, GLint, GLenum, GLint *);
  1.1760 +GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  1.1761 +GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1.1762 +GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum, GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  1.1763 +GLAPI void APIENTRY glBindMultiTextureEXT (GLenum, GLenum, GLuint);
  1.1764 +GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum, GLuint);
  1.1765 +GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum, GLuint);
  1.1766 +GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum, GLint, GLenum, GLsizei, const GLvoid *);
  1.1767 +GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum, GLenum, GLenum, GLfloat);
  1.1768 +GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum, GLenum, GLenum, const GLfloat *);
  1.1769 +GLAPI void APIENTRY glMultiTexEnviEXT (GLenum, GLenum, GLenum, GLint);
  1.1770 +GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum, GLenum, GLenum, const GLint *);
  1.1771 +GLAPI void APIENTRY glMultiTexGendEXT (GLenum, GLenum, GLenum, GLdouble);
  1.1772 +GLAPI void APIENTRY glMultiTexGendvEXT (GLenum, GLenum, GLenum, const GLdouble *);
  1.1773 +GLAPI void APIENTRY glMultiTexGenfEXT (GLenum, GLenum, GLenum, GLfloat);
  1.1774 +GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum, GLenum, GLenum, const GLfloat *);
  1.1775 +GLAPI void APIENTRY glMultiTexGeniEXT (GLenum, GLenum, GLenum, GLint);
  1.1776 +GLAPI void APIENTRY glMultiTexGenivEXT (GLenum, GLenum, GLenum, const GLint *);
  1.1777 +GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum, GLenum, GLenum, GLfloat *);
  1.1778 +GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum, GLenum, GLenum, GLint *);
  1.1779 +GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum, GLenum, GLenum, GLdouble *);
  1.1780 +GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum, GLenum, GLenum, GLfloat *);
  1.1781 +GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum, GLenum, GLenum, GLint *);
  1.1782 +GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum, GLuint, GLfloat *);
  1.1783 +GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum, GLuint, GLdouble *);
  1.1784 +GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum, GLuint, GLvoid* *);
  1.1785 +GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  1.1786 +GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  1.1787 +GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint, GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
  1.1788 +GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  1.1789 +GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  1.1790 +GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint, GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
  1.1791 +GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint, GLenum, GLint, GLvoid *);
  1.1792 +GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  1.1793 +GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  1.1794 +GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum, GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
  1.1795 +GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  1.1796 +GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  1.1797 +GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
  1.1798 +GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum, GLenum, GLint, GLvoid *);
  1.1799 +GLAPI void APIENTRY glNamedProgramStringEXT (GLuint, GLenum, GLenum, GLsizei, const GLvoid *);
  1.1800 +GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint, GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
  1.1801 +GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint, GLenum, GLuint, const GLdouble *);
  1.1802 +GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint, GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
  1.1803 +GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint, GLenum, GLuint, const GLfloat *);
  1.1804 +GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint, GLenum, GLuint, GLdouble *);
  1.1805 +GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint, GLenum, GLuint, GLfloat *);
  1.1806 +GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint, GLenum, GLenum, GLint *);
  1.1807 +GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint, GLenum, GLenum, GLvoid *);
  1.1808 +GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint, GLenum, GLuint, GLsizei, const GLfloat *);
  1.1809 +GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint, GLenum, GLuint, GLint, GLint, GLint, GLint);
  1.1810 +GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint, GLenum, GLuint, const GLint *);
  1.1811 +GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint, GLenum, GLuint, GLsizei, const GLint *);
  1.1812 +GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint, GLenum, GLuint, GLuint, GLuint, GLuint, GLuint);
  1.1813 +GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint, GLenum, GLuint, const GLuint *);
  1.1814 +GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint, GLenum, GLuint, GLsizei, const GLuint *);
  1.1815 +GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint, GLenum, GLuint, GLint *);
  1.1816 +GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint, GLenum, GLuint, GLuint *);
  1.1817 +GLAPI void APIENTRY glTextureParameterIivEXT (GLuint, GLenum, GLenum, const GLint *);
  1.1818 +GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint, GLenum, GLenum, const GLuint *);
  1.1819 +GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint, GLenum, GLenum, GLint *);
  1.1820 +GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint, GLenum, GLenum, GLuint *);
  1.1821 +GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum, GLenum, GLenum, const GLint *);
  1.1822 +GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum, GLenum, GLenum, const GLuint *);
  1.1823 +GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum, GLenum, GLenum, GLint *);
  1.1824 +GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum, GLenum, GLenum, GLuint *);
  1.1825 +GLAPI void APIENTRY glProgramUniform1fEXT (GLuint, GLint, GLfloat);
  1.1826 +GLAPI void APIENTRY glProgramUniform2fEXT (GLuint, GLint, GLfloat, GLfloat);
  1.1827 +GLAPI void APIENTRY glProgramUniform3fEXT (GLuint, GLint, GLfloat, GLfloat, GLfloat);
  1.1828 +GLAPI void APIENTRY glProgramUniform4fEXT (GLuint, GLint, GLfloat, GLfloat, GLfloat, GLfloat);
  1.1829 +GLAPI void APIENTRY glProgramUniform1iEXT (GLuint, GLint, GLint);
  1.1830 +GLAPI void APIENTRY glProgramUniform2iEXT (GLuint, GLint, GLint, GLint);
  1.1831 +GLAPI void APIENTRY glProgramUniform3iEXT (GLuint, GLint, GLint, GLint, GLint);
  1.1832 +GLAPI void APIENTRY glProgramUniform4iEXT (GLuint, GLint, GLint, GLint, GLint, GLint);
  1.1833 +GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint, GLint, GLsizei, const GLfloat *);
  1.1834 +GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint, GLint, GLsizei, const GLfloat *);
  1.1835 +GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint, GLint, GLsizei, const GLfloat *);
  1.1836 +GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint, GLint, GLsizei, const GLfloat *);
  1.1837 +GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint, GLint, GLsizei, const GLint *);
  1.1838 +GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint, GLint, GLsizei, const GLint *);
  1.1839 +GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint, GLint, GLsizei, const GLint *);
  1.1840 +GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint, GLint, GLsizei, const GLint *);
  1.1841 +GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
  1.1842 +GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
  1.1843 +GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
  1.1844 +GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
  1.1845 +GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
  1.1846 +GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
  1.1847 +GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
  1.1848 +GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
  1.1849 +GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
  1.1850 +GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint, GLint, GLuint);
  1.1851 +GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint, GLint, GLuint, GLuint);
  1.1852 +GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint, GLint, GLuint, GLuint, GLuint);
  1.1853 +GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint, GLint, GLuint, GLuint, GLuint, GLuint);
  1.1854 +GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint, GLint, GLsizei, const GLuint *);
  1.1855 +GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint, GLint, GLsizei, const GLuint *);
  1.1856 +GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint, GLint, GLsizei, const GLuint *);
  1.1857 +GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint, GLint, GLsizei, const GLuint *);
  1.1858 +GLAPI void APIENTRY glNamedBufferDataEXT (GLuint, GLsizeiptr, const GLvoid *, GLenum);
  1.1859 +GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint, GLintptr, GLsizeiptr, const GLvoid *);
  1.1860 +GLAPI GLvoid* APIENTRY glMapNamedBufferEXT (GLuint, GLenum);
  1.1861 +GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint);
  1.1862 +GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint, GLenum, GLint *);
  1.1863 +GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint, GLenum, GLvoid* *);
  1.1864 +GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint, GLintptr, GLsizeiptr, GLvoid *);
  1.1865 +GLAPI void APIENTRY glTextureBufferEXT (GLuint, GLenum, GLenum, GLuint);
  1.1866 +GLAPI void APIENTRY glMultiTexBufferEXT (GLenum, GLenum, GLenum, GLuint);
  1.1867 +GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint, GLenum, GLsizei, GLsizei);
  1.1868 +GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint, GLenum, GLint *);
  1.1869 +GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint, GLenum);
  1.1870 +GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint, GLenum, GLenum, GLuint, GLint);
  1.1871 +GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint, GLenum, GLenum, GLuint, GLint);
  1.1872 +GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint, GLenum, GLenum, GLuint, GLint, GLint);
  1.1873 +GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint, GLenum, GLenum, GLuint);
  1.1874 +GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint, GLenum, GLenum, GLint *);
  1.1875 +GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint, GLenum);
  1.1876 +GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum, GLenum);
  1.1877 +GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint, GLenum);
  1.1878 +GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint, GLsizei, const GLenum *);
  1.1879 +GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint, GLenum);
  1.1880 +GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint, GLenum, GLint *);
  1.1881 +GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint, GLsizei, GLenum, GLsizei, GLsizei);
  1.1882 +GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint, GLsizei, GLsizei, GLenum, GLsizei, GLsizei);
  1.1883 +GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint, GLenum, GLuint, GLint);
  1.1884 +GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint, GLenum, GLuint, GLint, GLint);
  1.1885 +GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint, GLenum, GLuint, GLint, GLenum);
  1.1886 +GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint, GLenum, GLuint);
  1.1887 +GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum, GLenum, GLuint);
  1.1888 +#endif /* GL_GLEXT_PROTOTYPES */
  1.1889 +typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  1.1890 +typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  1.1891 +typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
  1.1892 +typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
  1.1893 +typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
  1.1894 +typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
  1.1895 +typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
  1.1896 +typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  1.1897 +typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  1.1898 +typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  1.1899 +typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  1.1900 +typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  1.1901 +typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  1.1902 +typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  1.1903 +typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  1.1904 +typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
  1.1905 +typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
  1.1906 +typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  1.1907 +typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  1.1908 +typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  1.1909 +typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  1.1910 +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  1.1911 +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  1.1912 +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
  1.1913 +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  1.1914 +typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1.1915 +typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1.1916 +typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  1.1917 +typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  1.1918 +typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  1.1919 +typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  1.1920 +typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  1.1921 +typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  1.1922 +typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
  1.1923 +typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  1.1924 +typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  1.1925 +typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  1.1926 +typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  1.1927 +typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1.1928 +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 GLvoid *pixels);
  1.1929 +typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  1.1930 +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  1.1931 +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  1.1932 +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  1.1933 +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  1.1934 +typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1.1935 +typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1.1936 +typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  1.1937 +typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  1.1938 +typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  1.1939 +typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  1.1940 +typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  1.1941 +typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  1.1942 +typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
  1.1943 +typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  1.1944 +typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  1.1945 +typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  1.1946 +typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  1.1947 +typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1.1948 +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 GLvoid *pixels);
  1.1949 +typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  1.1950 +typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
  1.1951 +typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  1.1952 +typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  1.1953 +typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  1.1954 +typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  1.1955 +typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  1.1956 +typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  1.1957 +typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  1.1958 +typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  1.1959 +typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  1.1960 +typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  1.1961 +typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  1.1962 +typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  1.1963 +typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  1.1964 +typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  1.1965 +typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  1.1966 +typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  1.1967 +typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  1.1968 +typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  1.1969 +typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
  1.1970 +typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
  1.1971 +typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLvoid* *data);
  1.1972 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
  1.1973 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
  1.1974 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
  1.1975 +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 GLvoid *bits);
  1.1976 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
  1.1977 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
  1.1978 +typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, GLvoid *img);
  1.1979 +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
  1.1980 +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
  1.1981 +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
  1.1982 +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 GLvoid *bits);
  1.1983 +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
  1.1984 +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
  1.1985 +typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, GLvoid *img);
  1.1986 +typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string);
  1.1987 +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.1988 +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  1.1989 +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1.1990 +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  1.1991 +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
  1.1992 +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
  1.1993 +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
  1.1994 +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, GLvoid *string);
  1.1995 +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  1.1996 +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  1.1997 +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
  1.1998 +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  1.1999 +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1.2000 +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
  1.2001 +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  1.2002 +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
  1.2003 +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
  1.2004 +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  1.2005 +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  1.2006 +typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  1.2007 +typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  1.2008 +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  1.2009 +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  1.2010 +typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  1.2011 +typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  1.2012 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
  1.2013 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  1.2014 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1.2015 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1.2016 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
  1.2017 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  1.2018 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  1.2019 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1.2020 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1.2021 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1.2022 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1.2023 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1.2024 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1.2025 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1.2026 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1.2027 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1.2028 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2029 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2030 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2031 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2032 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2033 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2034 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2035 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2036 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2037 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
  1.2038 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  1.2039 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  1.2040 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1.2041 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1.2042 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1.2043 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1.2044 +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1.2045 +typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage);
  1.2046 +typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data);
  1.2047 +typedef GLvoid* (APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
  1.2048 +typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
  1.2049 +typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
  1.2050 +typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, GLvoid* *params);
  1.2051 +typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data);
  1.2052 +typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  1.2053 +typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  1.2054 +typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  1.2055 +typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
  1.2056 +typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
  1.2057 +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1.2058 +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1.2059 +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  1.2060 +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  1.2061 +typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  1.2062 +typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
  1.2063 +typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
  1.2064 +typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  1.2065 +typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  1.2066 +typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  1.2067 +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
  1.2068 +typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1.2069 +typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  1.2070 +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  1.2071 +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1.2072 +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  1.2073 +typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
  1.2074 +typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
  1.2075 +#endif
  1.2076 +
  1.2077 +#ifndef GL_EXT_vertex_array_bgra
  1.2078 +#define GL_EXT_vertex_array_bgra 1
  1.2079 +#endif
  1.2080 +
  1.2081 +#ifndef GL_EXT_texture_swizzle
  1.2082 +#define GL_EXT_texture_swizzle 1
  1.2083 +#endif
  1.2084 +
  1.2085 +#ifndef GL_NV_explicit_multisample
  1.2086 +#define GL_NV_explicit_multisample 1
  1.2087 +#ifdef GL_GLEXT_PROTOTYPES
  1.2088 +GLAPI void APIENTRY glGetMultisamplefvNV (GLenum, GLuint, GLfloat *);
  1.2089 +GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint, GLbitfield);
  1.2090 +GLAPI void APIENTRY glTexRenderbufferNV (GLenum, GLuint);
  1.2091 +#endif /* GL_GLEXT_PROTOTYPES */
  1.2092 +typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
  1.2093 +typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
  1.2094 +typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
  1.2095 +#endif
  1.2096 +
  1.2097 +#ifndef GL_NV_transform_feedback2
  1.2098 +#define GL_NV_transform_feedback2 1
  1.2099 +#ifdef GL_GLEXT_PROTOTYPES
  1.2100 +GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum, GLuint);
  1.2101 +GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei, const GLuint *);
  1.2102 +GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei, GLuint *);
  1.2103 +GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint);
  1.2104 +GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
  1.2105 +GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
  1.2106 +GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum, GLuint);
  1.2107 +#endif /* GL_GLEXT_PROTOTYPES */
  1.2108 +typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
  1.2109 +typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
  1.2110 +typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
  1.2111 +typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
  1.2112 +typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
  1.2113 +typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
  1.2114 +typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
  1.2115 +#endif
  1.2116 +
  1.2117  
  1.2118  #ifdef __cplusplus
  1.2119  }