polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

gl.h (103208B)


      1 /* This file was auto-generated by Galogen */
      2 #ifndef _GALOGEN_HEADER_
      3 #define _GALOGEN_HEADER_
      4 #if defined(__gl_h_) || defined(__GL_H__) || defined(__glext_h_) || defined(__GLEXT_H_) || defined(__gltypes_h_) || defined(__glcorearb_h_) || defined(__gl_glcorearb_h)
      5 #error Galogen-generated header included after a GL header.
      6 #endif
      7 
      8 #define __gl_h_ 1
      9 #define __gl32_h_ 1
     10 #define __gl31_h_ 1
     11 #define __GL_H__ 1
     12 #define __glext_h_ 1
     13 #define __GLEXT_H_ 1
     14 #define __gltypes_h_ 1
     15 #define __glcorearb_h_ 1
     16 #define __gl_glcorearb_h_ 1
     17 
     18 #if defined(_WIN32)
     19 #define WIN32_LEAN_AND_MEAN
     20 #include <windows.h>
     21 #define GL_APIENTRY APIENTRY
     22 #else
     23 #define GL_APIENTRY
     24 #endif
     25 
     26 #if defined(__cplusplus)
     27 extern "C" {
     28 #endif
     29 
     30 #define GALOGEN_API_NAME "gl"
     31 #define GALOGEN_API_PROFILE "core"
     32 #define GALOGEN_API_VER_MAJ 3
     33 #define GALOGEN_API_VER_MIN 3
     34 typedef unsigned int  GLenum;
     35 typedef unsigned int  GLuint;
     36 typedef int  GLsizei;
     37 typedef char  GLchar;
     38 #include <stddef.h>
     39 typedef ptrdiff_t  GLintptr;
     40 typedef ptrdiff_t  GLsizeiptr;
     41 typedef double  GLclampd;
     42 typedef unsigned short  GLushort;
     43 typedef unsigned char  GLubyte;
     44 typedef unsigned char  GLboolean;
     45 #ifndef GLEXT_64_TYPES_DEFINED
     46 /* This code block is duplicated in glxext.h, so must be protected */
     47 #define GLEXT_64_TYPES_DEFINED
     48 /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
     49 /* (as used in the GL_EXT_timer_query extension). */
     50 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
     51 #include <inttypes.h>
     52 #elif defined(__sun__) || defined(__digital__)
     53 #include <inttypes.h>
     54 #if defined(__STDC__)
     55 #if defined(__arch64__) || defined(_LP64)
     56 typedef long int int64_t;
     57 typedef unsigned long int uint64_t;
     58 #else
     59 typedef long long int int64_t;
     60 typedef unsigned long long int uint64_t;
     61 #endif /* __arch64__ */
     62 #endif /* __STDC__ */
     63 #elif defined( __VMS ) || defined(__sgi)
     64 #include <inttypes.h>
     65 #elif defined(__SCO__) || defined(__USLC__)
     66 #include <stdint.h>
     67 #elif defined(__UNIXOS2__) || defined(__SOL64__)
     68 typedef long int int32_t;
     69 typedef long long int int64_t;
     70 typedef unsigned long long int uint64_t;
     71 #elif defined(_WIN32) && defined(__GNUC__)
     72 #include <stdint.h>
     73 #elif defined(_WIN32)
     74 typedef __int32 int32_t;
     75 typedef __int64 int64_t;
     76 typedef unsigned __int64 uint64_t;
     77 #else
     78 /* Fallback if nothing above works */
     79 #include <inttypes.h>
     80 #endif
     81 #endif
     82 typedef uint64_t  GLuint64;
     83 typedef double  GLdouble;
     84 typedef unsigned short  GLhalf;
     85 typedef float  GLclampf;
     86 typedef unsigned int  GLbitfield;
     87 typedef signed char  GLbyte;
     88 typedef short  GLshort;
     89 typedef void  GLvoid;
     90 typedef int64_t  GLint64;
     91 typedef float  GLfloat;
     92 typedef struct __GLsync * GLsync;
     93 typedef int  GLint;
     94 #define GL_INT_2_10_10_10_REV 0x8D9F
     95 #define GL_TEXTURE_SWIZZLE_A 0x8E45
     96 #define GL_TEXTURE_SWIZZLE_B 0x8E44
     97 #define GL_TEXTURE_SWIZZLE_G 0x8E43
     98 #define GL_RGB10_A2UI 0x906F
     99 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
    100 #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
    101 #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
    102 #define GL_SRC1_COLOR 0x88F9
    103 #define GL_MAX_INTEGER_SAMPLES 0x9110
    104 #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
    105 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
    106 #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
    107 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
    108 #define GL_TEXTURE_SAMPLES 0x9106
    109 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
    110 #define GL_SAMPLE_POSITION 0x8E50
    111 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
    112 #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
    113 #define GL_WAIT_FAILED 0x911D
    114 #define GL_CONDITION_SATISFIED 0x911C
    115 #define GL_TIMEOUT_EXPIRED 0x911B
    116 #define GL_SYNC_FENCE 0x9116
    117 #define GL_SYNC_STATUS 0x9114
    118 #define GL_SYNC_CONDITION 0x9113
    119 #define GL_OBJECT_TYPE 0x9112
    120 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
    121 #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
    122 #define GL_PROVOKING_VERTEX 0x8E4F
    123 #define GL_LAST_VERTEX_CONVENTION 0x8E4E
    124 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
    125 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
    126 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
    127 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
    128 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
    129 #define GL_GEOMETRY_SHADER 0x8DD9
    130 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
    131 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
    132 #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
    133 #define GL_TRIANGLES_ADJACENCY 0x000C
    134 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
    135 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
    136 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
    137 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
    138 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
    139 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
    140 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
    141 #define GL_UNIFORM_SIZE 0x8A38
    142 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
    143 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
    144 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
    145 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
    146 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
    147 #define GL_COPY_WRITE_BUFFER 0x8F37
    148 #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
    149 #define GL_RGBA16_SNORM 0x8F9B
    150 #define GL_RG16_SNORM 0x8F99
    151 #define GL_R16_SNORM 0x8F98
    152 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
    153 #define GL_TEXTURE_RECTANGLE 0x84F5
    154 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
    155 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
    156 #define GL_RG16I 0x8239
    157 #define GL_RG8UI 0x8238
    158 #define GL_R32UI 0x8236
    159 #define GL_R32I 0x8235
    160 #define GL_R16I 0x8233
    161 #define GL_R8I 0x8231
    162 #define GL_RG32F 0x8230
    163 #define GL_RG16F 0x822F
    164 #define GL_R32F 0x822E
    165 #define GL_RG16 0x822C
    166 #define GL_R16 0x822A
    167 #define GL_RG_INTEGER 0x8228
    168 #define GL_RGB16_SNORM 0x8F9A
    169 #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
    170 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
    171 #define GL_MAP_WRITE_BIT 0x0002
    172 #define GL_PROGRAM_POINT_SIZE 0x8642
    173 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
    174 #define GL_MAP_READ_BIT 0x0001
    175 #define GL_FRAMEBUFFER_SRGB 0x8DB9
    176 #define GL_MAX_SAMPLES 0x8D57
    177 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
    178 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
    179 #define GL_TEXTURE_BUFFER 0x8C2A
    180 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
    181 #define GL_ALREADY_SIGNALED 0x911A
    182 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
    183 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
    184 #define GL_STENCIL_INDEX16 0x8D49
    185 #define GL_STENCIL_INDEX4 0x8D47
    186 #define GL_RENDERBUFFER_HEIGHT 0x8D43
    187 #define GL_STENCIL_ATTACHMENT 0x8D20
    188 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
    189 #define GL_DEPTH_ATTACHMENT 0x8D00
    190 #define GL_COLOR_ATTACHMENT31 0x8CFF
    191 #define GL_COLOR_ATTACHMENT29 0x8CFD
    192 #define GL_COLOR_ATTACHMENT27 0x8CFB
    193 #define GL_COLOR_ATTACHMENT26 0x8CFA
    194 #define GL_COLOR_ATTACHMENT23 0x8CF7
    195 #define GL_COLOR_ATTACHMENT19 0x8CF3
    196 #define GL_COLOR_ATTACHMENT18 0x8CF2
    197 #define GL_COLOR_ATTACHMENT17 0x8CF1
    198 #define GL_COLOR_ATTACHMENT15 0x8CEF
    199 #define GL_COLOR_ATTACHMENT14 0x8CEE
    200 #define GL_COLOR_ATTACHMENT12 0x8CEC
    201 #define GL_COLOR_ATTACHMENT11 0x8CEB
    202 #define GL_COLOR_ATTACHMENT10 0x8CEA
    203 #define GL_COLOR_ATTACHMENT9 0x8CE9
    204 #define GL_COLOR_ATTACHMENT8 0x8CE8
    205 #define GL_COLOR_ATTACHMENT7 0x8CE7
    206 #define GL_COLOR_ATTACHMENT6 0x8CE6
    207 #define GL_COLOR_ATTACHMENT4 0x8CE4
    208 #define GL_RGBA8_SNORM 0x8F97
    209 #define GL_COLOR_ATTACHMENT2 0x8CE2
    210 #define GL_COLOR_ATTACHMENT0 0x8CE0
    211 #define GL_R16F 0x822D
    212 #define GL_COLOR_ATTACHMENT30 0x8CFE
    213 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
    214 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
    215 #define GL_COLOR_ATTACHMENT22 0x8CF6
    216 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
    217 #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
    218 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
    219 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
    220 #define GL_RENDERBUFFER_SAMPLES 0x8CAB
    221 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
    222 #define GL_DRAW_FRAMEBUFFER 0x8CA9
    223 #define GL_RENDERBUFFER_BINDING 0x8CA7
    224 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
    225 #define GL_UNSIGNED_NORMALIZED 0x8C17
    226 #define GL_TEXTURE_ALPHA_TYPE 0x8C13
    227 #define GL_RG8I 0x8237
    228 #define GL_TEXTURE_BLUE_TYPE 0x8C12
    229 #define GL_COLOR_ATTACHMENT16 0x8CF0
    230 #define GL_TEXTURE_GREEN_TYPE 0x8C11
    231 #define GL_TEXTURE_STENCIL_SIZE 0x88F1
    232 #define GL_UNSIGNED_INT_24_8 0x84FA
    233 #define GL_DEPTH_STENCIL 0x84F9
    234 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
    235 #define GL_FRAMEBUFFER_UNDEFINED 0x8219
    236 #define GL_FRAMEBUFFER_DEFAULT 0x8218
    237 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
    238 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
    239 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
    240 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
    241 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
    242 #define GL_DEPTH32F_STENCIL8 0x8CAD
    243 #define GL_DEPTH_COMPONENT32F 0x8CAC
    244 #define GL_BUFFER_MAP_OFFSET 0x9121
    245 #define GL_BUFFER_MAP_LENGTH 0x9120
    246 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
    247 #define GL_QUERY_NO_WAIT 0x8E14
    248 #define GL_QUERY_WAIT 0x8E13
    249 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
    250 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
    251 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
    252 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
    253 #define GL_INT_SAMPLER_CUBE 0x8DCC
    254 #define GL_INT_SAMPLER_3D 0x8DCB
    255 #define GL_UNSIGNED_INT_VEC4 0x8DC8
    256 #define GL_UNSIGNED_INT_VEC2 0x8DC6
    257 #define GL_SAMPLER_2D_ARRAY 0x8DC1
    258 #define GL_BGR_INTEGER 0x8D9A
    259 #define GL_BLUE_INTEGER 0x8D96
    260 #define GL_GREEN_INTEGER 0x8D95
    261 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
    262 #define GL_RED_INTEGER 0x8D94
    263 #define GL_RGBA8I 0x8D8E
    264 #define GL_RGBA16I 0x8D88
    265 #define GL_RGB32I 0x8D83
    266 #define GL_RGBA32I 0x8D82
    267 #define GL_RGB16UI 0x8D77
    268 #define GL_RGBA16UI 0x8D76
    269 #define GL_RGB32UI 0x8D71
    270 #define GL_RGBA32UI 0x8D70
    271 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
    272 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
    273 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
    274 #define GL_RASTERIZER_DISCARD 0x8C89
    275 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
    276 #define GL_PRIMITIVES_GENERATED 0x8C87
    277 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
    278 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
    279 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
    280 #define GL_SAMPLER_BINDING 0x8919
    281 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
    282 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
    283 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
    284 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
    285 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
    286 #define GL_RGB9_E5 0x8C3D
    287 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
    288 #define GL_R11F_G11F_B10F 0x8C3A
    289 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
    290 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
    291 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
    292 #define GL_TEXTURE_1D_ARRAY 0x8C18
    293 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
    294 #define GL_MAX_VARYING_COMPONENTS 0x8B4B
    295 #define MAX_VARYING_FLOATS 0x8B4B
    296 #define GL_CLAMP_READ_COLOR 0x891C
    297 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
    298 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
    299 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
    300 #define GL_CONTEXT_FLAGS 0x821E
    301 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
    302 #define GL_NUM_EXTENSIONS 0x821D
    303 #define GL_CLIP_DISTANCE6 0x3006
    304 #define GL_CLIP_DISTANCE4 0x3004
    305 #define GL_CLIP_PLANE4 0x3004
    306 #define GL_INT_SAMPLER_BUFFER 0x8DD0
    307 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
    308 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
    309 #define GL_SRGB8_ALPHA8 0x8C43
    310 #define GL_INT_SAMPLER_1D 0x8DC9
    311 #define GL_SRGB8 0x8C41
    312 #define GL_FLOAT_MAT3x2 0x8B67
    313 #define GL_FLOAT_MAT2x4 0x8B66
    314 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
    315 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
    316 #define GL_COMPARE_REF_TO_TEXTURE 0x884E
    317 #define GL_COMPARE_R_TO_TEXTURE 0x884E
    318 #define GL_PIXEL_UNPACK_BUFFER 0x88EC
    319 #define GL_FLOAT_MAT4x2 0x8B69
    320 #define GL_PIXEL_PACK_BUFFER 0x88EB
    321 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
    322 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
    323 #define GL_STENCIL_BACK_REF 0x8CA3
    324 #define GL_UPPER_LEFT 0x8CA2
    325 #define GL_COMPRESSED_SRGB 0x8C48
    326 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
    327 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
    328 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
    329 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
    330 #define GL_FLOAT_MAT2x3 0x8B65
    331 #define GL_SHADER_SOURCE_LENGTH 0x8B88
    332 #define GL_ATTACHED_SHADERS 0x8B85
    333 #define GL_COLOR_ATTACHMENT20 0x8CF4
    334 #define GL_INFO_LOG_LENGTH 0x8B84
    335 #define GL_VALIDATE_STATUS 0x8B83
    336 #define GL_DELETE_STATUS 0x8B80
    337 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
    338 #define GL_SAMPLER_2D_SHADOW 0x8B62
    339 #define GL_SAMPLER_2D 0x8B5E
    340 #define GL_FLOAT_MAT3 0x8B5B
    341 #define GL_BOOL_VEC3 0x8B58
    342 #define GL_BOOL 0x8B56
    343 #define GL_INT_VEC4 0x8B55
    344 #define GL_INT_VEC2 0x8B53
    345 #define GL_FLOAT_VEC3 0x8B51
    346 #define GL_FLOAT_MAT2 0x8B5A
    347 #define GL_FLOAT_VEC2 0x8B50
    348 #define GL_SHADER_TYPE 0x8B4F
    349 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
    350 #define GL_MAX_VARYING_FLOATS 0x8B4B
    351 #define GL_TEXTURE_SHARED_SIZE 0x8C3F
    352 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
    353 #define GL_VERTEX_SHADER 0x8B31
    354 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
    355 #define GL_MAX_VERTEX_ATTRIBS 0x8869
    356 #define GL_BLEND_EQUATION_ALPHA 0x883D
    357 #define GL_DRAW_BUFFER15 0x8834
    358 #define GL_DRAW_BUFFER12 0x8831
    359 #define GL_DRAW_BUFFER10 0x882F
    360 #define GL_DRAW_BUFFER8 0x882D
    361 #define GL_DRAW_BUFFER7 0x882C
    362 #define GL_DRAW_BUFFER5 0x882A
    363 #define GL_DRAW_BUFFER2 0x8827
    364 #define GL_BUFFER_ACCESS_FLAGS 0x911F
    365 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
    366 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
    367 #define GL_DRAW_BUFFER9 0x882E
    368 #define GL_SRC1_ALPHA 0x8589
    369 #define GL_SOURCE1_ALPHA 0x8589
    370 #define GL_VERTEX_ARRAY_BINDING 0x85B5
    371 #define GL_INCR 0x1E02
    372 #define GL_DYNAMIC_COPY 0x88EA
    373 #define GL_DYNAMIC_DRAW 0x88E8
    374 #define GL_STATIC_READ 0x88E5
    375 #define GL_STATIC_DRAW 0x88E4
    376 #define GL_UNPACK_LSB_FIRST 0x0CF1
    377 #define GL_STREAM_READ 0x88E1
    378 #define GL_READ_WRITE 0x88BA
    379 #define GL_WRITE_ONLY 0x88B9
    380 #define GL_SAMPLER_1D_SHADOW 0x8B61
    381 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
    382 #define GL_READ_ONLY 0x88B8
    383 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
    384 #define GL_QUERY_RESULT 0x8866
    385 #define GL_CURRENT_QUERY 0x8865
    386 #define GL_MAX 0x8008
    387 #define GL_MIN 0x8007
    388 #define GL_TEXTURE_CUBE_MAP 0x8513
    389 #define GL_FUNC_SUBTRACT 0x800A
    390 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
    391 #define GL_CONSTANT_COLOR 0x8001
    392 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
    393 #define GL_MAX_ELEMENTS_INDICES 0x80E9
    394 #define GL_BLEND_COLOR 0x8005
    395 #define GL_STENCIL_BACK_FAIL 0x8801
    396 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
    397 #define GL_TEXTURE3 0x84C3
    398 #define GL_TEXTURE_RED_TYPE 0x8C10
    399 #define GL_DRAW_BUFFER13 0x8832
    400 #define GL_DRAW_BUFFER1 0x8826
    401 #define GL_TEXTURE_COMPARE_MODE 0x884C
    402 #define GL_COLOR_ATTACHMENT21 0x8CF5
    403 #define GL_TEXTURE_DEPTH_SIZE 0x884A
    404 #define GL_RGBA2 0x8055
    405 #define GL_DECR_WRAP 0x8508
    406 #define GL_MAX_DRAW_BUFFERS 0x8824
    407 #define GL_R8 0x8229
    408 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
    409 #define GL_BLEND_DST_ALPHA 0x80CA
    410 #define GL_TEXTURE_LOD_BIAS 0x8501
    411 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
    412 #define GL_LINEAR_MIPMAP_LINEAR 0x2703
    413 #define GL_ELEMENT_ARRAY_BUFFER 0x8893
    414 #define GL_BUFFER_ACCESS 0x88BB
    415 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
    416 #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
    417 #define GL_FIXED_ONLY 0x891D
    418 #define GL_SHORT 0x1402
    419 #define GL_DEPTH_TEST 0x0B71
    420 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
    421 #define GL_R8UI 0x8232
    422 #define GL_CULL_FACE_MODE 0x0B45
    423 #define GL_CLAMP_TO_BORDER 0x812D
    424 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
    425 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
    426 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
    427 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
    428 #define GL_LINK_STATUS 0x8B82
    429 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
    430 #define GL_COMPRESSED_RGBA 0x84EE
    431 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
    432 #define GL_BLEND_SRC_ALPHA 0x80CB
    433 #define GL_COMPRESSED_RGB 0x84ED
    434 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
    435 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
    436 #define GL_POINT_SIZE_RANGE 0x0B12
    437 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
    438 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
    439 #define GL_FLOAT_MAT4x3 0x8B6A
    440 #define GL_SAMPLE_COVERAGE 0x80A0
    441 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
    442 #define GL_RGBA16F 0x881A
    443 #define GL_TEXTURE28 0x84DC
    444 #define GL_CONSTANT_ALPHA 0x8003
    445 #define GL_TEXTURE26 0x84DA
    446 #define GL_TEXTURE25 0x84D9
    447 #define GL_TEXTURE24 0x84D8
    448 #define GL_TEXTURE22 0x84D6
    449 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
    450 #define GL_TEXTURE18 0x84D2
    451 #define GL_MAX_VIEWPORT_DIMS 0x0D3A
    452 #define GL_TEXTURE17 0x84D1
    453 #define GL_TEXTURE16 0x84D0
    454 #define GL_TEXTURE13 0x84CD
    455 #define GL_TEXTURE11 0x84CB
    456 #define GL_READ_FRAMEBUFFER 0x8CA8
    457 #define GL_TEXTURE10 0x84CA
    458 #define GL_TEXTURE8 0x84C8
    459 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
    460 #define GL_TEXTURE7 0x84C7
    461 #define GL_MAJOR_VERSION 0x821B
    462 #define GL_TEXTURE6 0x84C6
    463 #define GL_TEXTURE2 0x84C2
    464 #define GL_TEXTURE0 0x84C0
    465 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
    466 #define GL_LINES_ADJACENCY 0x000A
    467 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
    468 #define GL_LINE_WIDTH_RANGE 0x0B22
    469 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
    470 #define GL_POINT_SIZE_RANGE 0x0B12
    471 #define GL_TEXTURE_MIN_LOD 0x813A
    472 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
    473 #define GL_TEXTURE19 0x84D3
    474 #define GL_CLAMP_TO_EDGE 0x812F
    475 #define GL_RGB8_SNORM 0x8F96
    476 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
    477 #define GL_DRAW_BUFFER4 0x8829
    478 #define GL_BGR 0x80E0
    479 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
    480 #define GL_RGB16I 0x8D89
    481 #define GL_TEXTURE15 0x84CF
    482 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
    483 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
    484 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
    485 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
    486 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
    487 #define GL_TEXTURE_WRAP_R 0x8072
    488 #define GL_INT_VEC3 0x8B54
    489 #define GL_DRAW_BUFFER11 0x8830
    490 #define GL_TEXTURE_DEPTH 0x8071
    491 #define GL_PACK_SKIP_IMAGES 0x806B
    492 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
    493 #define GL_TEXTURE_BINDING_3D 0x806A
    494 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
    495 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
    496 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
    497 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
    498 #define GL_NEAREST_MIPMAP_NEAREST 0x2700
    499 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
    500 #define GL_FLOAT_MAT4 0x8B5C
    501 #define GL_UNSIGNED_INT_VEC3 0x8DC7
    502 #define GL_SRC_ALPHA_SATURATE 0x0308
    503 #define GL_POINT 0x1B00
    504 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
    505 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
    506 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
    507 #define GL_SAMPLE_MASK 0x8E51
    508 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
    509 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
    510 #define GL_R8_SNORM 0x8F94
    511 #define GL_CURRENT_VERTEX_ATTRIB 0x8626
    512 #define GL_TEXTURE31 0x84DF
    513 #define GL_INT_SAMPLER_2D_RECT 0x8DCD
    514 #define GL_R16UI 0x8234
    515 #define GL_UNIFORM_NAME_LENGTH 0x8A39
    516 #define GL_STREAM_DRAW 0x88E0
    517 #define GL_VIEWPORT 0x0BA2
    518 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
    519 #define GL_FRONT_FACE 0x0B46
    520 #define GL_ONE 1
    521 #define GL_BLEND_EQUATION_RGB 0x8009
    522 #define GL_RG8 0x822B
    523 #define GL_DEPTH_COMPONENT24 0x81A6
    524 #define GL_NEAREST_MIPMAP_LINEAR 0x2702
    525 #define GL_BGRA_INTEGER 0x8D9B
    526 #define GL_UNIFORM_TYPE 0x8A37
    527 #define GL_UNSIGNALED 0x9118
    528 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
    529 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
    530 #define GL_POLYGON_OFFSET_POINT 0x2A01
    531 #define GL_OR 0x1507
    532 #define GL_BUFFER_USAGE 0x8765
    533 #define GL_SAMPLER_2D_RECT 0x8B63
    534 #define GL_RGBA16 0x805B
    535 #define GL_RGBA12 0x805A
    536 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
    537 #define GL_RGB10_A2 0x8059
    538 #define GL_RGBA8 0x8058
    539 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
    540 #define GL_COLOR_ATTACHMENT1 0x8CE1
    541 #define GL_RGBA4 0x8056
    542 #define GL_RGB8 0x8051
    543 #define GL_FLOAT_VEC4 0x8B52
    544 #define GL_PROXY_TEXTURE_2D 0x8064
    545 #define GL_QUERY_BY_REGION_WAIT 0x8E15
    546 #define GL_PROXY_TEXTURE_1D 0x8063
    547 #define GL_BUFFER_MAPPED 0x88BC
    548 #define GL_TEXTURE_BLUE_SIZE 0x805E
    549 #define GL_ARRAY_BUFFER 0x8892
    550 #define GL_DOUBLE 0x140A
    551 #define GL_TEXTURE_ALPHA_SIZE 0x805F
    552 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
    553 #define GL_TEXTURE_GREEN_SIZE 0x805D
    554 #define GL_SIGNALED 0x9119
    555 #define GL_UNIFORM_BUFFER_START 0x8A29
    556 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003
    557 #define GL_COLOR_ATTACHMENT13 0x8CED
    558 #define GL_RGB32F 0x8815
    559 #define GL_CLEAR 0x1500
    560 #define GL_SAMPLES_PASSED 0x8914
    561 #define GL_INVALID_OPERATION 0x0502
    562 #define GL_TEXTURE_BINDING_2D 0x8069
    563 #define GL_TEXTURE_BINDING_1D 0x8068
    564 #define GL_POLYGON_OFFSET_LINE 0x2A02
    565 #define GL_STENCIL_WRITEMASK 0x0B98
    566 #define GL_POLYGON_OFFSET_UNITS 0x2A00
    567 #define GL_LOWER_LEFT 0x8CA1
    568 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
    569 #define GL_STENCIL 0x1802
    570 #define GL_COLOR_LOGIC_OP 0x0BF2
    571 #define GL_RGB16F 0x881B
    572 #define GL_CURRENT_PROGRAM 0x8B8D
    573 #define GL_BGRA 0x80E1
    574 #define GL_CLIP_DISTANCE7 0x3007
    575 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
    576 #define GL_SRGB 0x8C40
    577 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
    578 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
    579 #define GL_RGB12 0x8053
    580 #define GL_RG16UI 0x823A
    581 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
    582 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
    583 #define GL_POINT_SIZE_GRANULARITY 0x0B13
    584 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
    585 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
    586 #define GL_BLEND_SRC_RGB 0x80C9
    587 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
    588 #define GL_LINE_SMOOTH_HINT 0x0C52
    589 #define GL_DEPTH_RANGE 0x0B70
    590 #define GL_SAMPLE_BUFFERS 0x80A8
    591 #define GL_TEXTURE_2D 0x0DE1
    592 #define GL_ARRAY_BUFFER_BINDING 0x8894
    593 #define GL_MINOR_VERSION 0x821C
    594 #define GL_DEPTH 0x1801
    595 #define GL_FRONT_RIGHT 0x0401
    596 #define GL_RGB4 0x804F
    597 #define GL_FRONT 0x0404
    598 #define GL_BOOL_VEC2 0x8B57
    599 #define GL_BUFFER_MAP_POINTER 0x88BD
    600 #define GL_STENCIL_BUFFER_BIT 0x00000400
    601 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
    602 #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
    603 #define GL_LINE_SMOOTH 0x0B20
    604 #define GL_TEXTURE29 0x84DD
    605 #define GL_TEXTURE27 0x84DB
    606 #define GL_COMPRESSED_RG 0x8226
    607 #define GL_DONT_CARE 0x1100
    608 #define GL_DEPTH_CLAMP 0x864F
    609 #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
    610 #define GL_NOR 0x1508
    611 #define GL_POINT_SIZE_GRANULARITY 0x0B13
    612 #define GL_POLYGON_SMOOTH 0x0B41
    613 #define GL_COMPRESSED_RG_RGTC2 0x8DBD
    614 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
    615 #define GL_PACK_LSB_FIRST 0x0D01
    616 #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
    617 #define GL_RGB16 0x8054
    618 #define GL_REPEAT 0x2901
    619 #define GL_LINE_WIDTH 0x0B21
    620 #define GL_RGB8I 0x8D8F
    621 #define GL_RGBA 0x1908
    622 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
    623 #define GL_TEXTURE_RED_SIZE 0x805C
    624 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
    625 #define GL_DECR 0x1E03
    626 #define GL_BLEND_DST_RGB 0x80C8
    627 #define GL_SEPARATE_ATTRIBS 0x8C8D
    628 #define GL_DEPTH_COMPONENT32 0x81A7
    629 #define GL_INT_SAMPLER_2D 0x8DCA
    630 #define GL_DRAW_BUFFER 0x0C01
    631 #define GL_R3_G3_B2 0x2A10
    632 #define GL_INT 0x1404
    633 #define GL_FRAGMENT_SHADER 0x8B30
    634 #define GL_LINE_WIDTH_RANGE 0x0B22
    635 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
    636 #define GL_FLOAT 0x1406
    637 #define GL_UNIFORM_OFFSET 0x8A3B
    638 #define GL_STENCIL_INDEX1 0x8D46
    639 #define GL_TEXTURE_MAX_LOD 0x813B
    640 #define GL_UNPACK_ALIGNMENT 0x0CF5
    641 #define GL_SCISSOR_BOX 0x0C10
    642 #define GL_TEXTURE1 0x84C1
    643 #define GL_DEPTH_COMPONENT 0x1902
    644 #define GL_UNPACK_SKIP_PIXELS 0x0CF4
    645 #define GL_COPY_READ_BUFFER 0x8F36
    646 #define GL_COLOR_ATTACHMENT5 0x8CE5
    647 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
    648 #define GL_TIMESTAMP 0x8E28
    649 #define GL_LINE_STRIP_ADJACENCY 0x000B
    650 #define GL_RG8_SNORM 0x8F95
    651 #define GL_ONE_MINUS_DST_ALPHA 0x0305
    652 #define GL_COLOR 0x1800
    653 #define GL_TEXTURE_2D_ARRAY 0x8C1A
    654 #define GL_TRIANGLES 0x0004
    655 #define GL_DOUBLEBUFFER 0x0C32
    656 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
    657 #define GL_LINE 0x1B01
    658 #define GL_BLEND_EQUATION 0x8009
    659 #define GL_NAND 0x150E
    660 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
    661 #define GL_COLOR_ATTACHMENT24 0x8CF8
    662 #define GL_AND 0x1501
    663 #define GL_FLOAT_MAT3x4 0x8B68
    664 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
    665 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
    666 #define GL_CLIP_DISTANCE5 0x3005
    667 #define GL_CLIP_PLANE5 0x3005
    668 #define GL_POLYGON_OFFSET_FACTOR 0x8038
    669 #define GL_UNSIGNED_BYTE 0x1401
    670 #define GL_UNIFORM_BUFFER_BINDING 0x8A28
    671 #define GL_DEPTH_FUNC 0x0B74
    672 #define GL_TEXTURE_MAG_FILTER 0x2800
    673 #define GL_PACK_IMAGE_HEIGHT 0x806C
    674 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
    675 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
    676 #define GL_NONE 0
    677 #define GL_CLIP_DISTANCE1 0x3001
    678 #define GL_CLIP_PLANE1 0x3001
    679 #define GL_BACK_LEFT 0x0402
    680 #define GL_XOR 0x1506
    681 #define GL_SRC_COLOR 0x0300
    682 #define GL_SAMPLER_1D_ARRAY 0x8DC0
    683 #define GL_SAMPLER_BUFFER 0x8DC2
    684 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
    685 #define GL_BUFFER_SIZE 0x8764
    686 #define GL_STREAM_COPY 0x88E2
    687 #define GL_BYTE 0x1400
    688 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
    689 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
    690 #define GL_COLOR_CLEAR_VALUE 0x0C22
    691 #define GL_LINE_STRIP 0x0003
    692 #define GL_TEXTURE_3D 0x806F
    693 #define GL_LOGIC_OP_MODE 0x0BF0
    694 #define GL_CW 0x0900
    695 #define GL_ACTIVE_ATTRIBUTES 0x8B89
    696 #define GL_LINEAR 0x2601
    697 #define GL_RENDERBUFFER 0x8D41
    698 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
    699 #define GL_BACK_RIGHT 0x0403
    700 #define GL_TEXTURE_MAX_LEVEL 0x813D
    701 #define GL_TEXTURE30 0x84DE
    702 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
    703 #define GL_AND_REVERSE 0x1502
    704 #define GL_QUERY_COUNTER_BITS 0x8864
    705 #define GL_DEPTH_CLEAR_VALUE 0x0B73
    706 #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
    707 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
    708 #define GL_OUT_OF_MEMORY 0x0505
    709 #define GL_SAMPLER_CUBE 0x8B60
    710 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
    711 #define GL_GEQUAL 0x0206
    712 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
    713 #define GL_COLOR_BUFFER_BIT 0x00004000
    714 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
    715 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
    716 #define GL_LINE_WIDTH_GRANULARITY 0x0B23
    717 #define GL_SIGNED_NORMALIZED 0x8F9C
    718 #define GL_INVALID_ENUM 0x0500
    719 #define GL_GEOMETRY_INPUT_TYPE 0x8917
    720 #define GL_RGBA32F 0x8814
    721 #define GL_SAMPLER_1D 0x8B5D
    722 #define GL_BOOL_VEC4 0x8B59
    723 #define GL_ANY_SAMPLES_PASSED 0x8C2F
    724 #define GL_CLIP_DISTANCE0 0x3000
    725 #define GL_CLIP_PLANE0 0x3000
    726 #define GL_UNPACK_SKIP_IMAGES 0x806D
    727 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
    728 #define GL_DYNAMIC_READ 0x88E9
    729 #define GL_SAMPLES 0x80A9
    730 #define GL_COLOR_ATTACHMENT25 0x8CF9
    731 #define GL_TEXTURE9 0x84C9
    732 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
    733 #define GL_TEXTURE 0x1702
    734 #define GL_AND_INVERTED 0x1504
    735 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
    736 #define GL_ACTIVE_TEXTURE 0x84E0
    737 #define GL_BLEND 0x0BE2
    738 #define GL_SRGB_ALPHA 0x8C42
    739 #define GL_ONE_MINUS_SRC_ALPHA 0x0303
    740 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
    741 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
    742 #define GL_COLOR_WRITEMASK 0x0C23
    743 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
    744 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
    745 #define GL_MAX_CLIP_DISTANCES 0x0D32
    746 #define GL_MAX_CLIP_PLANES 0x0D32
    747 #define GL_TEXTURE_WRAP_T 0x2803
    748 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
    749 #define GL_RGBA_INTEGER 0x8D99
    750 #define GL_INVALID_VALUE 0x0501
    751 #define GL_TEXTURE_WRAP_S 0x2802
    752 #define GL_TEXTURE_MIN_FILTER 0x2801
    753 #define GL_LINEAR_MIPMAP_NEAREST 0x2701
    754 #define GL_DRAW_BUFFER3 0x8828
    755 #define GL_EXTENSIONS 0x1F03
    756 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
    757 #define GL_RENDERER 0x1F01
    758 #define GL_NO_ERROR 0
    759 #define GL_REPLACE 0x1E01
    760 #define GL_STENCIL_BACK_FUNC 0x8800
    761 #define GL_KEEP 0x1E00
    762 #define GL_FILL 0x1B02
    763 #define GL_CCW 0x0901
    764 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
    765 #define GL_TEXTURE14 0x84CE
    766 #define GL_DEPTH24_STENCIL8 0x88F0
    767 #define GL_TEXTURE_WIDTH 0x1000
    768 #define GL_NOOP 0x1505
    769 #define GL_RGB 0x1907
    770 #define GL_ALPHA 0x1906
    771 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
    772 #define GL_BLUE 0x1905
    773 #define GL_GREEN 0x1904
    774 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
    775 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
    776 #define GL_INVALID_INDEX 0xFFFFFFFFu
    777 #define GL_RENDERBUFFER_RED_SIZE 0x8D50
    778 #define GL_STENCIL_INDEX 0x1901
    779 #define GL_SET 0x150F
    780 #define GL_TRIANGLE_STRIP 0x0005
    781 #define GL_SUBPIXEL_BITS 0x0D50
    782 #define GL_STENCIL_FUNC 0x0B92
    783 #define GL_FALSE 0
    784 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
    785 #define GL_COPY_INVERTED 0x150C
    786 #define GL_ZERO 0
    787 #define GL_CULL_FACE 0x0B44
    788 #define GL_OR_REVERSE 0x150B
    789 #define GL_INVERT 0x150A
    790 #define GL_PACK_ALIGNMENT 0x0D05
    791 #define GL_EQUIV 0x1509
    792 #define GL_POINT_SIZE 0x0B11
    793 #define GL_TEXTURE20 0x84D4
    794 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
    795 #define GL_COPY 0x1503
    796 #define GL_TEXTURE_COMPRESSED 0x86A1
    797 #define GL_UNSIGNED_INT 0x1405
    798 #define GL_TEXTURE4 0x84C4
    799 #define GL_TIME_ELAPSED 0x88BF
    800 #define GL_HALF_FLOAT 0x140B
    801 #define GL_STATIC_COPY 0x88E6
    802 #define GL_UNSIGNED_SHORT 0x1403
    803 #define GL_TEXTURE_1D 0x0DE0
    804 #define GL_MAX_TEXTURE_SIZE 0x0D33
    805 #define GL_PACK_SKIP_PIXELS 0x0D04
    806 #define GL_NEAREST 0x2600
    807 #define GL_BLEND_SRC 0x0BE1
    808 #define GL_SAMPLE_MASK_VALUE 0x8E52
    809 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
    810 #define GL_PACK_SKIP_ROWS 0x0D03
    811 #define GL_RG32I 0x823B
    812 #define GL_PACK_ROW_LENGTH 0x0D02
    813 #define GL_TEXTURE12 0x84CC
    814 #define GL_GEOMETRY_VERTICES_OUT 0x8916
    815 #define GL_SCISSOR_TEST 0x0C11
    816 #define GL_COMPRESSED_RED 0x8225
    817 #define GL_LEQUAL 0x0203
    818 #define GL_POLYGON_MODE 0x0B40
    819 #define GL_BLEND_DST 0x0BE0
    820 #define GL_SAMPLER_3D 0x8B5F
    821 #define GL_STENCIL_VALUE_MASK 0x0B93
    822 #define GL_COMPRESSED_RED_RGTC1 0x8DBB
    823 #define GL_OR_INVERTED 0x150D
    824 #define GL_DRAW_BUFFER0 0x8825
    825 #define GL_READ_BUFFER 0x0C02
    826 #define GL_NICEST 0x1102
    827 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
    828 #define GL_STENCIL_TEST 0x0B90
    829 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
    830 #define GL_DITHER 0x0BD0
    831 #define GL_STENCIL_INDEX8 0x8D48
    832 #define GL_DEPTH_COMPONENT16 0x81A5
    833 #define GL_PACK_SWAP_BYTES 0x0D00
    834 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
    835 #define GL_TEXTURE_BORDER_COLOR 0x1004
    836 #define GL_STENCIL_REF 0x0B97
    837 #define GL_PROXY_TEXTURE_3D 0x8070
    838 #define GL_RENDERBUFFER_WIDTH 0x8D42
    839 #define GL_TEXTURE_SWIZZLE_R 0x8E42
    840 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
    841 #define GL_RG32UI 0x823C
    842 #define GL_EQUAL 0x0202
    843 #define GL_STENCIL_CLEAR_VALUE 0x0B91
    844 #define GL_UNPACK_SWAP_BYTES 0x0CF0
    845 #define GL_POLYGON_SMOOTH_HINT 0x0C53
    846 #define GL_CONTEXT_PROFILE_MASK 0x9126
    847 #define GL_FRAMEBUFFER 0x8D40
    848 #define GL_TEXTURE_HEIGHT 0x1001
    849 #define GL_TEXTURE_BASE_LEVEL 0x813C
    850 #define GL_RGB5 0x8050
    851 #define GL_TRIANGLE_FAN 0x0006
    852 #define GL_UNPACK_ROW_LENGTH 0x0CF2
    853 #define GL_TEXTURE21 0x84D5
    854 #define GL_LINES 0x0001
    855 #define GL_TEXTURE_DEPTH_TYPE 0x8C16
    856 #define GL_DEPTH_BUFFER_BIT 0x00000100
    857 #define GL_TEXTURE_COMPARE_FUNC 0x884D
    858 #define GL_RIGHT 0x0407
    859 #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
    860 #define GL_SRC_ALPHA 0x0302
    861 #define GL_INCR_WRAP 0x8507
    862 #define GL_LESS 0x0201
    863 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
    864 #define GL_MULTISAMPLE 0x809D
    865 #define GL_DRAW_BUFFER6 0x882B
    866 #define GL_SYNC_FLAGS 0x9115
    867 #define GL_FRONT_AND_BACK 0x0408
    868 #define GL_LEFT 0x0406
    869 #define GL_FRAMEBUFFER_BINDING 0x8CA6
    870 #define GL_RGB8UI 0x8D7D
    871 #define GL_LINE_WIDTH_GRANULARITY 0x0B23
    872 #define GL_BACK 0x0405
    873 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
    874 #define GL_RGB10 0x8052
    875 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
    876 #define GL_CLIP_DISTANCE3 0x3003
    877 #define GL_CLIP_PLANE3 0x3003
    878 #define GL_STENCIL_FAIL 0x0B94
    879 #define GL_RG 0x8227
    880 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
    881 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
    882 #define GL_ALWAYS 0x0207
    883 #define GL_COLOR_ATTACHMENT28 0x8CFC
    884 #define GL_FUNC_ADD 0x8006
    885 #define GL_CLIP_DISTANCE2 0x3002
    886 #define GL_CLIP_PLANE2 0x3002
    887 #define GL_QUERY_RESULT_AVAILABLE 0x8867
    888 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
    889 #define GL_FRONT_LEFT 0x0400
    890 #define GL_DEPTH_WRITEMASK 0x0B72
    891 #define GL_DRAW_BUFFER14 0x8833
    892 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
    893 #define GL_ONE_MINUS_DST_COLOR 0x0307
    894 #define GL_LINE_LOOP 0x0002
    895 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
    896 #define GL_NOTEQUAL 0x0205
    897 #define GL_TEXTURE5 0x84C5
    898 #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
    899 #define GL_DST_COLOR 0x0306
    900 #define GL_COMPILE_STATUS 0x8B81
    901 #define GL_RED 0x1903
    902 #define GL_ACTIVE_UNIFORMS 0x8B86
    903 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
    904 #define GL_RGB_INTEGER 0x8D98
    905 #define GL_FASTEST 0x1101
    906 #define GL_COLOR_ATTACHMENT3 0x8CE3
    907 #define GL_DST_ALPHA 0x0304
    908 #define GL_STEREO 0x0C33
    909 #define GL_RGB5_A1 0x8057
    910 #define GL_UNPACK_SKIP_ROWS 0x0CF3
    911 #define GL_GREATER 0x0204
    912 #define GL_POLYGON_OFFSET_FILL 0x8037
    913 #define GL_PRIMITIVE_RESTART 0x8F9D
    914 #define GL_TRUE 1
    915 #define GL_NEVER 0x0200
    916 #define GL_VENDOR 0x1F00
    917 #define GL_POINTS 0x0000
    918 #define GL_ONE_MINUS_SRC_COLOR 0x0301
    919 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
    920 #define GL_MIRRORED_REPEAT 0x8370
    921 #define GL_RGBA8UI 0x8D7C
    922 #define GL_VERSION 0x1F02
    923 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
    924 #define GL_UNIFORM_BUFFER 0x8A11
    925 #define GL_TEXTURE23 0x84D7
    926 #define GL_INTERLEAVED_ATTRIBS 0x8C8C
    927 
    928 typedef void  (GL_APIENTRY *PFN_glVertexAttribP4uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value);
    929 extern PFN_glVertexAttribP4uiv _glptr_glVertexAttribP4uiv;
    930 #define glVertexAttribP4uiv _glptr_glVertexAttribP4uiv
    931 
    932 typedef void  (GL_APIENTRY *PFN_glVertexAttribP3uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value);
    933 extern PFN_glVertexAttribP3uiv _glptr_glVertexAttribP3uiv;
    934 #define glVertexAttribP3uiv _glptr_glVertexAttribP3uiv
    935 
    936 typedef void  (GL_APIENTRY *PFN_glVertexAttribP2uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value);
    937 extern PFN_glVertexAttribP2uiv _glptr_glVertexAttribP2uiv;
    938 #define glVertexAttribP2uiv _glptr_glVertexAttribP2uiv
    939 
    940 typedef void  (GL_APIENTRY *PFN_glVertexAttribP2ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value);
    941 extern PFN_glVertexAttribP2ui _glptr_glVertexAttribP2ui;
    942 #define glVertexAttribP2ui _glptr_glVertexAttribP2ui
    943 
    944 typedef void  (GL_APIENTRY *PFN_glVertexAttribP1uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value);
    945 extern PFN_glVertexAttribP1uiv _glptr_glVertexAttribP1uiv;
    946 #define glVertexAttribP1uiv _glptr_glVertexAttribP1uiv
    947 
    948 typedef void  (GL_APIENTRY *PFN_glGetQueryObjectui64v)(GLuint id, GLenum pname, GLuint64 * params);
    949 extern PFN_glGetQueryObjectui64v _glptr_glGetQueryObjectui64v;
    950 #define glGetQueryObjectui64v _glptr_glGetQueryObjectui64v
    951 
    952 typedef void  (GL_APIENTRY *PFN_glGetSamplerParameterfv)(GLuint sampler, GLenum pname, GLfloat * params);
    953 extern PFN_glGetSamplerParameterfv _glptr_glGetSamplerParameterfv;
    954 #define glGetSamplerParameterfv _glptr_glGetSamplerParameterfv
    955 
    956 typedef void  (GL_APIENTRY *PFN_glSamplerParameterIuiv)(GLuint sampler, GLenum pname, const GLuint * param);
    957 extern PFN_glSamplerParameterIuiv _glptr_glSamplerParameterIuiv;
    958 #define glSamplerParameterIuiv _glptr_glSamplerParameterIuiv
    959 
    960 typedef void  (GL_APIENTRY *PFN_glSamplerParameterfv)(GLuint sampler, GLenum pname, const GLfloat * param);
    961 extern PFN_glSamplerParameterfv _glptr_glSamplerParameterfv;
    962 #define glSamplerParameterfv _glptr_glSamplerParameterfv
    963 
    964 typedef void  (GL_APIENTRY *PFN_glSamplerParameteriv)(GLuint sampler, GLenum pname, const GLint * param);
    965 extern PFN_glSamplerParameteriv _glptr_glSamplerParameteriv;
    966 #define glSamplerParameteriv _glptr_glSamplerParameteriv
    967 
    968 typedef void  (GL_APIENTRY *PFN_glSamplerParameteri)(GLuint sampler, GLenum pname, GLint param);
    969 extern PFN_glSamplerParameteri _glptr_glSamplerParameteri;
    970 #define glSamplerParameteri _glptr_glSamplerParameteri
    971 
    972 typedef void  (GL_APIENTRY *PFN_glBindSampler)(GLuint unit, GLuint sampler);
    973 extern PFN_glBindSampler _glptr_glBindSampler;
    974 #define glBindSampler _glptr_glBindSampler
    975 
    976 typedef void  (GL_APIENTRY *PFN_glSamplerParameterf)(GLuint sampler, GLenum pname, GLfloat param);
    977 extern PFN_glSamplerParameterf _glptr_glSamplerParameterf;
    978 #define glSamplerParameterf _glptr_glSamplerParameterf
    979 
    980 typedef GLboolean (GL_APIENTRY *PFN_glIsSampler)(GLuint sampler);
    981 extern PFN_glIsSampler _glptr_glIsSampler;
    982 #define glIsSampler _glptr_glIsSampler
    983 
    984 typedef void  (GL_APIENTRY *PFN_glGenSamplers)(GLsizei count, GLuint * samplers);
    985 extern PFN_glGenSamplers _glptr_glGenSamplers;
    986 #define glGenSamplers _glptr_glGenSamplers
    987 
    988 typedef void  (GL_APIENTRY *PFN_glBindFragDataLocationIndexed)(GLuint program, GLuint colorNumber, GLuint index, const GLchar * name);
    989 extern PFN_glBindFragDataLocationIndexed _glptr_glBindFragDataLocationIndexed;
    990 #define glBindFragDataLocationIndexed _glptr_glBindFragDataLocationIndexed
    991 
    992 typedef void  (GL_APIENTRY *PFN_glGetMultisamplefv)(GLenum pname, GLuint index, GLfloat * val);
    993 extern PFN_glGetMultisamplefv _glptr_glGetMultisamplefv;
    994 #define glGetMultisamplefv _glptr_glGetMultisamplefv
    995 
    996 typedef void  (GL_APIENTRY *PFN_glTexImage3DMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
    997 extern PFN_glTexImage3DMultisample _glptr_glTexImage3DMultisample;
    998 #define glTexImage3DMultisample _glptr_glTexImage3DMultisample
    999 
   1000 typedef void  (GL_APIENTRY *PFN_glFramebufferTexture)(GLenum target, GLenum attachment, GLuint texture, GLint level);
   1001 extern PFN_glFramebufferTexture _glptr_glFramebufferTexture;
   1002 #define glFramebufferTexture _glptr_glFramebufferTexture
   1003 
   1004 typedef void  (GL_APIENTRY *PFN_glGetBufferParameteri64v)(GLenum target, GLenum pname, GLint64 * params);
   1005 extern PFN_glGetBufferParameteri64v _glptr_glGetBufferParameteri64v;
   1006 #define glGetBufferParameteri64v _glptr_glGetBufferParameteri64v
   1007 
   1008 typedef void  (GL_APIENTRY *PFN_glGetInteger64i_v)(GLenum target, GLuint index, GLint64 * data);
   1009 extern PFN_glGetInteger64i_v _glptr_glGetInteger64i_v;
   1010 #define glGetInteger64i_v _glptr_glGetInteger64i_v
   1011 
   1012 typedef void  (GL_APIENTRY *PFN_glWaitSync)(GLsync sync, GLbitfield flags, GLuint64 timeout);
   1013 extern PFN_glWaitSync _glptr_glWaitSync;
   1014 #define glWaitSync _glptr_glWaitSync
   1015 
   1016 typedef GLboolean (GL_APIENTRY *PFN_glIsSync)(GLsync sync);
   1017 extern PFN_glIsSync _glptr_glIsSync;
   1018 #define glIsSync _glptr_glIsSync
   1019 
   1020 typedef GLsync (GL_APIENTRY *PFN_glFenceSync)(GLenum condition, GLbitfield flags);
   1021 extern PFN_glFenceSync _glptr_glFenceSync;
   1022 #define glFenceSync _glptr_glFenceSync
   1023 
   1024 typedef void  (GL_APIENTRY *PFN_glMultiDrawElementsBaseVertex)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex);
   1025 extern PFN_glMultiDrawElementsBaseVertex _glptr_glMultiDrawElementsBaseVertex;
   1026 #define glMultiDrawElementsBaseVertex _glptr_glMultiDrawElementsBaseVertex
   1027 
   1028 typedef void  (GL_APIENTRY *PFN_glDrawElementsInstancedBaseVertex)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex);
   1029 extern PFN_glDrawElementsInstancedBaseVertex _glptr_glDrawElementsInstancedBaseVertex;
   1030 #define glDrawElementsInstancedBaseVertex _glptr_glDrawElementsInstancedBaseVertex
   1031 
   1032 typedef void  (GL_APIENTRY *PFN_glGetActiveUniformBlockName)(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName);
   1033 extern PFN_glGetActiveUniformBlockName _glptr_glGetActiveUniformBlockName;
   1034 #define glGetActiveUniformBlockName _glptr_glGetActiveUniformBlockName
   1035 
   1036 typedef GLuint (GL_APIENTRY *PFN_glGetUniformBlockIndex)(GLuint program, const GLchar * uniformBlockName);
   1037 extern PFN_glGetUniformBlockIndex _glptr_glGetUniformBlockIndex;
   1038 #define glGetUniformBlockIndex _glptr_glGetUniformBlockIndex
   1039 
   1040 typedef void  (GL_APIENTRY *PFN_glGetActiveUniformName)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformName);
   1041 extern PFN_glGetActiveUniformName _glptr_glGetActiveUniformName;
   1042 #define glGetActiveUniformName _glptr_glGetActiveUniformName
   1043 
   1044 typedef void  (GL_APIENTRY *PFN_glGetUniformIndices)(GLuint program, GLsizei uniformCount, const GLchar *const* uniformNames, GLuint * uniformIndices);
   1045 extern PFN_glGetUniformIndices _glptr_glGetUniformIndices;
   1046 #define glGetUniformIndices _glptr_glGetUniformIndices
   1047 
   1048 typedef void  (GL_APIENTRY *PFN_glTexBuffer)(GLenum target, GLenum internalformat, GLuint buffer);
   1049 extern PFN_glTexBuffer _glptr_glTexBuffer;
   1050 #define glTexBuffer _glptr_glTexBuffer
   1051 
   1052 typedef GLboolean (GL_APIENTRY *PFN_glIsVertexArray)(GLuint array);
   1053 extern PFN_glIsVertexArray _glptr_glIsVertexArray;
   1054 #define glIsVertexArray _glptr_glIsVertexArray
   1055 
   1056 typedef void  (GL_APIENTRY *PFN_glBindVertexArray)(GLuint array);
   1057 extern PFN_glBindVertexArray _glptr_glBindVertexArray;
   1058 #define glBindVertexArray _glptr_glBindVertexArray
   1059 
   1060 typedef void  (GL_APIENTRY *PFN_glFlushMappedBufferRange)(GLenum target, GLintptr offset, GLsizeiptr length);
   1061 extern PFN_glFlushMappedBufferRange _glptr_glFlushMappedBufferRange;
   1062 #define glFlushMappedBufferRange _glptr_glFlushMappedBufferRange
   1063 
   1064 typedef void * (GL_APIENTRY *PFN_glMapBufferRange)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
   1065 extern PFN_glMapBufferRange _glptr_glMapBufferRange;
   1066 #define glMapBufferRange _glptr_glMapBufferRange
   1067 
   1068 typedef void  (GL_APIENTRY *PFN_glGetActiveUniformsiv)(GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params);
   1069 extern PFN_glGetActiveUniformsiv _glptr_glGetActiveUniformsiv;
   1070 #define glGetActiveUniformsiv _glptr_glGetActiveUniformsiv
   1071 
   1072 typedef void  (GL_APIENTRY *PFN_glFramebufferTextureLayer)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
   1073 extern PFN_glFramebufferTextureLayer _glptr_glFramebufferTextureLayer;
   1074 #define glFramebufferTextureLayer _glptr_glFramebufferTextureLayer
   1075 
   1076 typedef void  (GL_APIENTRY *PFN_glGetFramebufferAttachmentParameteriv)(GLenum target, GLenum attachment, GLenum pname, GLint * params);
   1077 extern PFN_glGetFramebufferAttachmentParameteriv _glptr_glGetFramebufferAttachmentParameteriv;
   1078 #define glGetFramebufferAttachmentParameteriv _glptr_glGetFramebufferAttachmentParameteriv
   1079 
   1080 typedef void  (GL_APIENTRY *PFN_glFramebufferTexture3D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
   1081 extern PFN_glFramebufferTexture3D _glptr_glFramebufferTexture3D;
   1082 #define glFramebufferTexture3D _glptr_glFramebufferTexture3D
   1083 
   1084 typedef void  (GL_APIENTRY *PFN_glFramebufferTexture1D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   1085 extern PFN_glFramebufferTexture1D _glptr_glFramebufferTexture1D;
   1086 #define glFramebufferTexture1D _glptr_glFramebufferTexture1D
   1087 
   1088 typedef void  (GL_APIENTRY *PFN_glGenFramebuffers)(GLsizei n, GLuint * framebuffers);
   1089 extern PFN_glGenFramebuffers _glptr_glGenFramebuffers;
   1090 #define glGenFramebuffers _glptr_glGenFramebuffers
   1091 
   1092 typedef void  (GL_APIENTRY *PFN_glBindFramebuffer)(GLenum target, GLuint framebuffer);
   1093 extern PFN_glBindFramebuffer _glptr_glBindFramebuffer;
   1094 #define glBindFramebuffer _glptr_glBindFramebuffer
   1095 
   1096 typedef void  (GL_APIENTRY *PFN_glGetQueryObjecti64v)(GLuint id, GLenum pname, GLint64 * params);
   1097 extern PFN_glGetQueryObjecti64v _glptr_glGetQueryObjecti64v;
   1098 #define glGetQueryObjecti64v _glptr_glGetQueryObjecti64v
   1099 
   1100 typedef void  (GL_APIENTRY *PFN_glGetInteger64v)(GLenum pname, GLint64 * data);
   1101 extern PFN_glGetInteger64v _glptr_glGetInteger64v;
   1102 #define glGetInteger64v _glptr_glGetInteger64v
   1103 
   1104 typedef GLboolean (GL_APIENTRY *PFN_glIsFramebuffer)(GLuint framebuffer);
   1105 extern PFN_glIsFramebuffer _glptr_glIsFramebuffer;
   1106 #define glIsFramebuffer _glptr_glIsFramebuffer
   1107 
   1108 typedef void  (GL_APIENTRY *PFN_glGetRenderbufferParameteriv)(GLenum target, GLenum pname, GLint * params);
   1109 extern PFN_glGetRenderbufferParameteriv _glptr_glGetRenderbufferParameteriv;
   1110 #define glGetRenderbufferParameteriv _glptr_glGetRenderbufferParameteriv
   1111 
   1112 typedef void  (GL_APIENTRY *PFN_glBindRenderbuffer)(GLenum target, GLuint renderbuffer);
   1113 extern PFN_glBindRenderbuffer _glptr_glBindRenderbuffer;
   1114 #define glBindRenderbuffer _glptr_glBindRenderbuffer
   1115 
   1116 typedef GLboolean (GL_APIENTRY *PFN_glIsRenderbuffer)(GLuint renderbuffer);
   1117 extern PFN_glIsRenderbuffer _glptr_glIsRenderbuffer;
   1118 #define glIsRenderbuffer _glptr_glIsRenderbuffer
   1119 
   1120 typedef const GLubyte * (GL_APIENTRY *PFN_glGetStringi)(GLenum name, GLuint index);
   1121 extern PFN_glGetStringi _glptr_glGetStringi;
   1122 #define glGetStringi _glptr_glGetStringi
   1123 
   1124 typedef void  (GL_APIENTRY *PFN_glClearBufferfi)(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
   1125 extern PFN_glClearBufferfi _glptr_glClearBufferfi;
   1126 #define glClearBufferfi _glptr_glClearBufferfi
   1127 
   1128 typedef void  (GL_APIENTRY *PFN_glClearBufferfv)(GLenum buffer, GLint drawbuffer, const GLfloat * value);
   1129 extern PFN_glClearBufferfv _glptr_glClearBufferfv;
   1130 #define glClearBufferfv _glptr_glClearBufferfv
   1131 
   1132 typedef void  (GL_APIENTRY *PFN_glGetTexParameterIiv)(GLenum target, GLenum pname, GLint * params);
   1133 extern PFN_glGetTexParameterIiv _glptr_glGetTexParameterIiv;
   1134 #define glGetTexParameterIiv _glptr_glGetTexParameterIiv
   1135 
   1136 typedef void  (GL_APIENTRY *PFN_glGetSamplerParameterIuiv)(GLuint sampler, GLenum pname, GLuint * params);
   1137 extern PFN_glGetSamplerParameterIuiv _glptr_glGetSamplerParameterIuiv;
   1138 #define glGetSamplerParameterIuiv _glptr_glGetSamplerParameterIuiv
   1139 
   1140 typedef void  (GL_APIENTRY *PFN_glTexParameterIiv)(GLenum target, GLenum pname, const GLint * params);
   1141 extern PFN_glTexParameterIiv _glptr_glTexParameterIiv;
   1142 #define glTexParameterIiv _glptr_glTexParameterIiv
   1143 
   1144 typedef void  (GL_APIENTRY *PFN_glUniform4uiv)(GLint location, GLsizei count, const GLuint * value);
   1145 extern PFN_glUniform4uiv _glptr_glUniform4uiv;
   1146 #define glUniform4uiv _glptr_glUniform4uiv
   1147 
   1148 typedef void  (GL_APIENTRY *PFN_glUniform3ui)(GLint location, GLuint v0, GLuint v1, GLuint v2);
   1149 extern PFN_glUniform3ui _glptr_glUniform3ui;
   1150 #define glUniform3ui _glptr_glUniform3ui
   1151 
   1152 typedef void  (GL_APIENTRY *PFN_glUniform1ui)(GLint location, GLuint v0);
   1153 extern PFN_glUniform1ui _glptr_glUniform1ui;
   1154 #define glUniform1ui _glptr_glUniform1ui
   1155 
   1156 typedef GLint (GL_APIENTRY *PFN_glGetFragDataLocation)(GLuint program, const GLchar * name);
   1157 extern PFN_glGetFragDataLocation _glptr_glGetFragDataLocation;
   1158 #define glGetFragDataLocation _glptr_glGetFragDataLocation
   1159 
   1160 typedef void  (GL_APIENTRY *PFN_glBindFragDataLocation)(GLuint program, GLuint color, const GLchar * name);
   1161 extern PFN_glBindFragDataLocation _glptr_glBindFragDataLocation;
   1162 #define glBindFragDataLocation _glptr_glBindFragDataLocation
   1163 
   1164 typedef void  (GL_APIENTRY *PFN_glVertexAttribI4iv)(GLuint index, const GLint * v);
   1165 extern PFN_glVertexAttribI4iv _glptr_glVertexAttribI4iv;
   1166 #define glVertexAttribI4iv _glptr_glVertexAttribI4iv
   1167 
   1168 typedef void  (GL_APIENTRY *PFN_glVertexAttribI2iv)(GLuint index, const GLint * v);
   1169 extern PFN_glVertexAttribI2iv _glptr_glVertexAttribI2iv;
   1170 #define glVertexAttribI2iv _glptr_glVertexAttribI2iv
   1171 
   1172 typedef void  (GL_APIENTRY *PFN_glVertexAttribI1iv)(GLuint index, const GLint * v);
   1173 extern PFN_glVertexAttribI1iv _glptr_glVertexAttribI1iv;
   1174 #define glVertexAttribI1iv _glptr_glVertexAttribI1iv
   1175 
   1176 typedef void  (GL_APIENTRY *PFN_glVertexAttribI4ui)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
   1177 extern PFN_glVertexAttribI4ui _glptr_glVertexAttribI4ui;
   1178 #define glVertexAttribI4ui _glptr_glVertexAttribI4ui
   1179 
   1180 typedef void  (GL_APIENTRY *PFN_glVertexAttribI2ui)(GLuint index, GLuint x, GLuint y);
   1181 extern PFN_glVertexAttribI2ui _glptr_glVertexAttribI2ui;
   1182 #define glVertexAttribI2ui _glptr_glVertexAttribI2ui
   1183 
   1184 typedef void  (GL_APIENTRY *PFN_glVertexAttribI1ui)(GLuint index, GLuint x);
   1185 extern PFN_glVertexAttribI1ui _glptr_glVertexAttribI1ui;
   1186 #define glVertexAttribI1ui _glptr_glVertexAttribI1ui
   1187 
   1188 typedef void  (GL_APIENTRY *PFN_glVertexAttribI4i)(GLuint index, GLint x, GLint y, GLint z, GLint w);
   1189 extern PFN_glVertexAttribI4i _glptr_glVertexAttribI4i;
   1190 #define glVertexAttribI4i _glptr_glVertexAttribI4i
   1191 
   1192 typedef void  (GL_APIENTRY *PFN_glVertexAttribI4bv)(GLuint index, const GLbyte * v);
   1193 extern PFN_glVertexAttribI4bv _glptr_glVertexAttribI4bv;
   1194 #define glVertexAttribI4bv _glptr_glVertexAttribI4bv
   1195 
   1196 typedef void  (GL_APIENTRY *PFN_glVertexAttribI2i)(GLuint index, GLint x, GLint y);
   1197 extern PFN_glVertexAttribI2i _glptr_glVertexAttribI2i;
   1198 #define glVertexAttribI2i _glptr_glVertexAttribI2i
   1199 
   1200 typedef void  (GL_APIENTRY *PFN_glVertexAttribI1i)(GLuint index, GLint x);
   1201 extern PFN_glVertexAttribI1i _glptr_glVertexAttribI1i;
   1202 #define glVertexAttribI1i _glptr_glVertexAttribI1i
   1203 
   1204 typedef void  (GL_APIENTRY *PFN_glGetVertexAttribIiv)(GLuint index, GLenum pname, GLint * params);
   1205 extern PFN_glGetVertexAttribIiv _glptr_glGetVertexAttribIiv;
   1206 #define glGetVertexAttribIiv _glptr_glGetVertexAttribIiv
   1207 
   1208 typedef void  (GL_APIENTRY *PFN_glVertexAttribIPointer)(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer);
   1209 extern PFN_glVertexAttribIPointer _glptr_glVertexAttribIPointer;
   1210 #define glVertexAttribIPointer _glptr_glVertexAttribIPointer
   1211 
   1212 typedef void  (GL_APIENTRY *PFN_glBeginConditionalRender)(GLuint id, GLenum mode);
   1213 extern PFN_glBeginConditionalRender _glptr_glBeginConditionalRender;
   1214 #define glBeginConditionalRender _glptr_glBeginConditionalRender
   1215 
   1216 typedef void  (GL_APIENTRY *PFN_glClampColor)(GLenum target, GLenum clamp);
   1217 extern PFN_glClampColor _glptr_glClampColor;
   1218 #define glClampColor _glptr_glClampColor
   1219 
   1220 typedef void  (GL_APIENTRY *PFN_glBindBufferBase)(GLenum target, GLuint index, GLuint buffer);
   1221 extern PFN_glBindBufferBase _glptr_glBindBufferBase;
   1222 #define glBindBufferBase _glptr_glBindBufferBase
   1223 
   1224 typedef void  (GL_APIENTRY *PFN_glBindBufferRange)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
   1225 extern PFN_glBindBufferRange _glptr_glBindBufferRange;
   1226 #define glBindBufferRange _glptr_glBindBufferRange
   1227 
   1228 typedef void  (GL_APIENTRY *PFN_glBeginTransformFeedback)(GLenum primitiveMode);
   1229 extern PFN_glBeginTransformFeedback _glptr_glBeginTransformFeedback;
   1230 #define glBeginTransformFeedback _glptr_glBeginTransformFeedback
   1231 
   1232 typedef GLboolean (GL_APIENTRY *PFN_glIsEnabledi)(GLenum target, GLuint index);
   1233 extern PFN_glIsEnabledi _glptr_glIsEnabledi;
   1234 #define glIsEnabledi _glptr_glIsEnabledi
   1235 
   1236 typedef void  (GL_APIENTRY *PFN_glGetIntegeri_v)(GLenum target, GLuint index, GLint * data);
   1237 extern PFN_glGetIntegeri_v _glptr_glGetIntegeri_v;
   1238 #define glGetIntegeri_v _glptr_glGetIntegeri_v
   1239 
   1240 typedef void  (GL_APIENTRY *PFN_glColorMaski)(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
   1241 extern PFN_glColorMaski _glptr_glColorMaski;
   1242 #define glColorMaski _glptr_glColorMaski
   1243 
   1244 typedef void  (GL_APIENTRY *PFN_glUniformMatrix4x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
   1245 extern PFN_glUniformMatrix4x3fv _glptr_glUniformMatrix4x3fv;
   1246 #define glUniformMatrix4x3fv _glptr_glUniformMatrix4x3fv
   1247 
   1248 typedef void  (GL_APIENTRY *PFN_glUniformMatrix3x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
   1249 extern PFN_glUniformMatrix3x4fv _glptr_glUniformMatrix3x4fv;
   1250 #define glUniformMatrix3x4fv _glptr_glUniformMatrix3x4fv
   1251 
   1252 typedef void  (GL_APIENTRY *PFN_glUniformMatrix2x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
   1253 extern PFN_glUniformMatrix2x4fv _glptr_glUniformMatrix2x4fv;
   1254 #define glUniformMatrix2x4fv _glptr_glUniformMatrix2x4fv
   1255 
   1256 typedef void  (GL_APIENTRY *PFN_glUniformMatrix3x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
   1257 extern PFN_glUniformMatrix3x2fv _glptr_glUniformMatrix3x2fv;
   1258 #define glUniformMatrix3x2fv _glptr_glUniformMatrix3x2fv
   1259 
   1260 typedef void  (GL_APIENTRY *PFN_glUniformMatrix2x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
   1261 extern PFN_glUniformMatrix2x3fv _glptr_glUniformMatrix2x3fv;
   1262 #define glUniformMatrix2x3fv _glptr_glUniformMatrix2x3fv
   1263 
   1264 typedef void  (GL_APIENTRY *PFN_glVertexAttribP4ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value);
   1265 extern PFN_glVertexAttribP4ui _glptr_glVertexAttribP4ui;
   1266 #define glVertexAttribP4ui _glptr_glVertexAttribP4ui
   1267 
   1268 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4ubv)(GLuint index, const GLubyte * v);
   1269 extern PFN_glVertexAttrib4ubv _glptr_glVertexAttrib4ubv;
   1270 #define glVertexAttrib4ubv _glptr_glVertexAttrib4ubv
   1271 
   1272 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4sv)(GLuint index, const GLshort * v);
   1273 extern PFN_glVertexAttrib4sv _glptr_glVertexAttrib4sv;
   1274 #define glVertexAttrib4sv _glptr_glVertexAttrib4sv
   1275 
   1276 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4fv)(GLuint index, const GLfloat * v);
   1277 extern PFN_glVertexAttrib4fv _glptr_glVertexAttrib4fv;
   1278 #define glVertexAttrib4fv _glptr_glVertexAttrib4fv
   1279 
   1280 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4Nusv)(GLuint index, const GLushort * v);
   1281 extern PFN_glVertexAttrib4Nusv _glptr_glVertexAttrib4Nusv;
   1282 #define glVertexAttrib4Nusv _glptr_glVertexAttrib4Nusv
   1283 
   1284 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4Nuiv)(GLuint index, const GLuint * v);
   1285 extern PFN_glVertexAttrib4Nuiv _glptr_glVertexAttrib4Nuiv;
   1286 #define glVertexAttrib4Nuiv _glptr_glVertexAttrib4Nuiv
   1287 
   1288 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4Nubv)(GLuint index, const GLubyte * v);
   1289 extern PFN_glVertexAttrib4Nubv _glptr_glVertexAttrib4Nubv;
   1290 #define glVertexAttrib4Nubv _glptr_glVertexAttrib4Nubv
   1291 
   1292 typedef void  (GL_APIENTRY *PFN_glProvokingVertex)(GLenum mode);
   1293 extern PFN_glProvokingVertex _glptr_glProvokingVertex;
   1294 #define glProvokingVertex _glptr_glProvokingVertex
   1295 
   1296 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4Nsv)(GLuint index, const GLshort * v);
   1297 extern PFN_glVertexAttrib4Nsv _glptr_glVertexAttrib4Nsv;
   1298 #define glVertexAttrib4Nsv _glptr_glVertexAttrib4Nsv
   1299 
   1300 typedef void  (GL_APIENTRY *PFN_glVertexAttrib3f)(GLuint index, GLfloat x, GLfloat y, GLfloat z);
   1301 extern PFN_glVertexAttrib3f _glptr_glVertexAttrib3f;
   1302 #define glVertexAttrib3f _glptr_glVertexAttrib3f
   1303 
   1304 typedef void  (GL_APIENTRY *PFN_glVertexAttribI1uiv)(GLuint index, const GLuint * v);
   1305 extern PFN_glVertexAttribI1uiv _glptr_glVertexAttribI1uiv;
   1306 #define glVertexAttribI1uiv _glptr_glVertexAttribI1uiv
   1307 
   1308 typedef void  (GL_APIENTRY *PFN_glVertexAttrib3dv)(GLuint index, const GLdouble * v);
   1309 extern PFN_glVertexAttrib3dv _glptr_glVertexAttrib3dv;
   1310 #define glVertexAttrib3dv _glptr_glVertexAttrib3dv
   1311 
   1312 typedef void  (GL_APIENTRY *PFN_glVertexAttrib3d)(GLuint index, GLdouble x, GLdouble y, GLdouble z);
   1313 extern PFN_glVertexAttrib3d _glptr_glVertexAttrib3d;
   1314 #define glVertexAttrib3d _glptr_glVertexAttrib3d
   1315 
   1316 typedef void  (GL_APIENTRY *PFN_glVertexAttrib2sv)(GLuint index, const GLshort * v);
   1317 extern PFN_glVertexAttrib2sv _glptr_glVertexAttrib2sv;
   1318 #define glVertexAttrib2sv _glptr_glVertexAttrib2sv
   1319 
   1320 typedef void  (GL_APIENTRY *PFN_glVertexAttrib2fv)(GLuint index, const GLfloat * v);
   1321 extern PFN_glVertexAttrib2fv _glptr_glVertexAttrib2fv;
   1322 #define glVertexAttrib2fv _glptr_glVertexAttrib2fv
   1323 
   1324 typedef void  (GL_APIENTRY *PFN_glVertexAttrib2dv)(GLuint index, const GLdouble * v);
   1325 extern PFN_glVertexAttrib2dv _glptr_glVertexAttrib2dv;
   1326 #define glVertexAttrib2dv _glptr_glVertexAttrib2dv
   1327 
   1328 typedef void  (GL_APIENTRY *PFN_glVertexAttrib2d)(GLuint index, GLdouble x, GLdouble y);
   1329 extern PFN_glVertexAttrib2d _glptr_glVertexAttrib2d;
   1330 #define glVertexAttrib2d _glptr_glVertexAttrib2d
   1331 
   1332 typedef void  (GL_APIENTRY *PFN_glVertexAttrib2f)(GLuint index, GLfloat x, GLfloat y);
   1333 extern PFN_glVertexAttrib2f _glptr_glVertexAttrib2f;
   1334 #define glVertexAttrib2f _glptr_glVertexAttrib2f
   1335 
   1336 typedef void  (GL_APIENTRY *PFN_glVertexAttrib1s)(GLuint index, GLshort x);
   1337 extern PFN_glVertexAttrib1s _glptr_glVertexAttrib1s;
   1338 #define glVertexAttrib1s _glptr_glVertexAttrib1s
   1339 
   1340 typedef void  (GL_APIENTRY *PFN_glVertexAttrib1fv)(GLuint index, const GLfloat * v);
   1341 extern PFN_glVertexAttrib1fv _glptr_glVertexAttrib1fv;
   1342 #define glVertexAttrib1fv _glptr_glVertexAttrib1fv
   1343 
   1344 typedef void  (GL_APIENTRY *PFN_glVertexAttrib1f)(GLuint index, GLfloat x);
   1345 extern PFN_glVertexAttrib1f _glptr_glVertexAttrib1f;
   1346 #define glVertexAttrib1f _glptr_glVertexAttrib1f
   1347 
   1348 typedef void  (GL_APIENTRY *PFN_glVertexAttrib1dv)(GLuint index, const GLdouble * v);
   1349 extern PFN_glVertexAttrib1dv _glptr_glVertexAttrib1dv;
   1350 #define glVertexAttrib1dv _glptr_glVertexAttrib1dv
   1351 
   1352 typedef void  (GL_APIENTRY *PFN_glClearBufferuiv)(GLenum buffer, GLint drawbuffer, const GLuint * value);
   1353 extern PFN_glClearBufferuiv _glptr_glClearBufferuiv;
   1354 #define glClearBufferuiv _glptr_glClearBufferuiv
   1355 
   1356 typedef void  (GL_APIENTRY *PFN_glUniformMatrix3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
   1357 extern PFN_glUniformMatrix3fv _glptr_glUniformMatrix3fv;
   1358 #define glUniformMatrix3fv _glptr_glUniformMatrix3fv
   1359 
   1360 typedef void  (GL_APIENTRY *PFN_glDeleteRenderbuffers)(GLsizei n, const GLuint * renderbuffers);
   1361 extern PFN_glDeleteRenderbuffers _glptr_glDeleteRenderbuffers;
   1362 #define glDeleteRenderbuffers _glptr_glDeleteRenderbuffers
   1363 
   1364 typedef void  (GL_APIENTRY *PFN_glUniformMatrix2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
   1365 extern PFN_glUniformMatrix2fv _glptr_glUniformMatrix2fv;
   1366 #define glUniformMatrix2fv _glptr_glUniformMatrix2fv
   1367 
   1368 typedef void  (GL_APIENTRY *PFN_glUniform4iv)(GLint location, GLsizei count, const GLint * value);
   1369 extern PFN_glUniform4iv _glptr_glUniform4iv;
   1370 #define glUniform4iv _glptr_glUniform4iv
   1371 
   1372 typedef void  (GL_APIENTRY *PFN_glUniform1iv)(GLint location, GLsizei count, const GLint * value);
   1373 extern PFN_glUniform1iv _glptr_glUniform1iv;
   1374 #define glUniform1iv _glptr_glUniform1iv
   1375 
   1376 typedef void  (GL_APIENTRY *PFN_glUniform4fv)(GLint location, GLsizei count, const GLfloat * value);
   1377 extern PFN_glUniform4fv _glptr_glUniform4fv;
   1378 #define glUniform4fv _glptr_glUniform4fv
   1379 
   1380 typedef void  (GL_APIENTRY *PFN_glUniform2fv)(GLint location, GLsizei count, const GLfloat * value);
   1381 extern PFN_glUniform2fv _glptr_glUniform2fv;
   1382 #define glUniform2fv _glptr_glUniform2fv
   1383 
   1384 typedef void  (GL_APIENTRY *PFN_glUniform3i)(GLint location, GLint v0, GLint v1, GLint v2);
   1385 extern PFN_glUniform3i _glptr_glUniform3i;
   1386 #define glUniform3i _glptr_glUniform3i
   1387 
   1388 typedef void  (GL_APIENTRY *PFN_glUniform2i)(GLint location, GLint v0, GLint v1);
   1389 extern PFN_glUniform2i _glptr_glUniform2i;
   1390 #define glUniform2i _glptr_glUniform2i
   1391 
   1392 typedef void  (GL_APIENTRY *PFN_glUniform4f)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
   1393 extern PFN_glUniform4f _glptr_glUniform4f;
   1394 #define glUniform4f _glptr_glUniform4f
   1395 
   1396 typedef void  (GL_APIENTRY *PFN_glUniform3f)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
   1397 extern PFN_glUniform3f _glptr_glUniform3f;
   1398 #define glUniform3f _glptr_glUniform3f
   1399 
   1400 typedef void  (GL_APIENTRY *PFN_glUniform1f)(GLint location, GLfloat v0);
   1401 extern PFN_glUniform1f _glptr_glUniform1f;
   1402 #define glUniform1f _glptr_glUniform1f
   1403 
   1404 typedef void  (GL_APIENTRY *PFN_glUseProgram)(GLuint program);
   1405 extern PFN_glUseProgram _glptr_glUseProgram;
   1406 #define glUseProgram _glptr_glUseProgram
   1407 
   1408 typedef void  (GL_APIENTRY *PFN_glShaderSource)(GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length);
   1409 extern PFN_glShaderSource _glptr_glShaderSource;
   1410 #define glShaderSource _glptr_glShaderSource
   1411 
   1412 typedef void  (GL_APIENTRY *PFN_glLinkProgram)(GLuint program);
   1413 extern PFN_glLinkProgram _glptr_glLinkProgram;
   1414 #define glLinkProgram _glptr_glLinkProgram
   1415 
   1416 typedef GLboolean (GL_APIENTRY *PFN_glIsShader)(GLuint shader);
   1417 extern PFN_glIsShader _glptr_glIsShader;
   1418 #define glIsShader _glptr_glIsShader
   1419 
   1420 typedef void  (GL_APIENTRY *PFN_glGetVertexAttribPointerv)(GLuint index, GLenum pname, void ** pointer);
   1421 extern PFN_glGetVertexAttribPointerv _glptr_glGetVertexAttribPointerv;
   1422 #define glGetVertexAttribPointerv _glptr_glGetVertexAttribPointerv
   1423 
   1424 typedef void  (GL_APIENTRY *PFN_glGetVertexAttribiv)(GLuint index, GLenum pname, GLint * params);
   1425 extern PFN_glGetVertexAttribiv _glptr_glGetVertexAttribiv;
   1426 #define glGetVertexAttribiv _glptr_glGetVertexAttribiv
   1427 
   1428 typedef void  (GL_APIENTRY *PFN_glGetVertexAttribfv)(GLuint index, GLenum pname, GLfloat * params);
   1429 extern PFN_glGetVertexAttribfv _glptr_glGetVertexAttribfv;
   1430 #define glGetVertexAttribfv _glptr_glGetVertexAttribfv
   1431 
   1432 typedef void  (GL_APIENTRY *PFN_glUniformBlockBinding)(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
   1433 extern PFN_glUniformBlockBinding _glptr_glUniformBlockBinding;
   1434 #define glUniformBlockBinding _glptr_glUniformBlockBinding
   1435 
   1436 typedef GLint (GL_APIENTRY *PFN_glGetUniformLocation)(GLuint program, const GLchar * name);
   1437 extern PFN_glGetUniformLocation _glptr_glGetUniformLocation;
   1438 #define glGetUniformLocation _glptr_glGetUniformLocation
   1439 
   1440 typedef void  (GL_APIENTRY *PFN_glGetShaderiv)(GLuint shader, GLenum pname, GLint * params);
   1441 extern PFN_glGetShaderiv _glptr_glGetShaderiv;
   1442 #define glGetShaderiv _glptr_glGetShaderiv
   1443 
   1444 typedef void  (GL_APIENTRY *PFN_glGetProgramInfoLog)(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog);
   1445 extern PFN_glGetProgramInfoLog _glptr_glGetProgramInfoLog;
   1446 #define glGetProgramInfoLog _glptr_glGetProgramInfoLog
   1447 
   1448 typedef GLint (GL_APIENTRY *PFN_glGetAttribLocation)(GLuint program, const GLchar * name);
   1449 extern PFN_glGetAttribLocation _glptr_glGetAttribLocation;
   1450 #define glGetAttribLocation _glptr_glGetAttribLocation
   1451 
   1452 typedef void  (GL_APIENTRY *PFN_glGetAttachedShaders)(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders);
   1453 extern PFN_glGetAttachedShaders _glptr_glGetAttachedShaders;
   1454 #define glGetAttachedShaders _glptr_glGetAttachedShaders
   1455 
   1456 typedef void  (GL_APIENTRY *PFN_glGetActiveUniform)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name);
   1457 extern PFN_glGetActiveUniform _glptr_glGetActiveUniform;
   1458 #define glGetActiveUniform _glptr_glGetActiveUniform
   1459 
   1460 typedef void  (GL_APIENTRY *PFN_glGetActiveAttrib)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name);
   1461 extern PFN_glGetActiveAttrib _glptr_glGetActiveAttrib;
   1462 #define glGetActiveAttrib _glptr_glGetActiveAttrib
   1463 
   1464 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4iv)(GLuint index, const GLint * v);
   1465 extern PFN_glVertexAttrib4iv _glptr_glVertexAttrib4iv;
   1466 #define glVertexAttrib4iv _glptr_glVertexAttrib4iv
   1467 
   1468 typedef void  (GL_APIENTRY *PFN_glDisableVertexAttribArray)(GLuint index);
   1469 extern PFN_glDisableVertexAttribArray _glptr_glDisableVertexAttribArray;
   1470 #define glDisableVertexAttribArray _glptr_glDisableVertexAttribArray
   1471 
   1472 typedef void  (GL_APIENTRY *PFN_glDeleteShader)(GLuint shader);
   1473 extern PFN_glDeleteShader _glptr_glDeleteShader;
   1474 #define glDeleteShader _glptr_glDeleteShader
   1475 
   1476 typedef void  (GL_APIENTRY *PFN_glDeleteProgram)(GLuint program);
   1477 extern PFN_glDeleteProgram _glptr_glDeleteProgram;
   1478 #define glDeleteProgram _glptr_glDeleteProgram
   1479 
   1480 typedef void  (GL_APIENTRY *PFN_glGetBooleani_v)(GLenum target, GLuint index, GLboolean * data);
   1481 extern PFN_glGetBooleani_v _glptr_glGetBooleani_v;
   1482 #define glGetBooleani_v _glptr_glGetBooleani_v
   1483 
   1484 typedef void  (GL_APIENTRY *PFN_glCompileShader)(GLuint shader);
   1485 extern PFN_glCompileShader _glptr_glCompileShader;
   1486 #define glCompileShader _glptr_glCompileShader
   1487 
   1488 typedef void  (GL_APIENTRY *PFN_glStencilFuncSeparate)(GLenum face, GLenum func, GLint ref, GLuint mask);
   1489 extern PFN_glStencilFuncSeparate _glptr_glStencilFuncSeparate;
   1490 #define glStencilFuncSeparate _glptr_glStencilFuncSeparate
   1491 
   1492 typedef void  (GL_APIENTRY *PFN_glStencilOpSeparate)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
   1493 extern PFN_glStencilOpSeparate _glptr_glStencilOpSeparate;
   1494 #define glStencilOpSeparate _glptr_glStencilOpSeparate
   1495 
   1496 typedef void  (GL_APIENTRY *PFN_glRenderbufferStorageMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
   1497 extern PFN_glRenderbufferStorageMultisample _glptr_glRenderbufferStorageMultisample;
   1498 #define glRenderbufferStorageMultisample _glptr_glRenderbufferStorageMultisample
   1499 
   1500 typedef void  (GL_APIENTRY *PFN_glDrawBuffers)(GLsizei n, const GLenum * bufs);
   1501 extern PFN_glDrawBuffers _glptr_glDrawBuffers;
   1502 #define glDrawBuffers _glptr_glDrawBuffers
   1503 
   1504 typedef void  (GL_APIENTRY *PFN_glGetBufferParameteriv)(GLenum target, GLenum pname, GLint * params);
   1505 extern PFN_glGetBufferParameteriv _glptr_glGetBufferParameteriv;
   1506 #define glGetBufferParameteriv _glptr_glGetBufferParameteriv
   1507 
   1508 typedef void  (GL_APIENTRY *PFN_glVertexAttribDivisor)(GLuint index, GLuint divisor);
   1509 extern PFN_glVertexAttribDivisor _glptr_glVertexAttribDivisor;
   1510 #define glVertexAttribDivisor _glptr_glVertexAttribDivisor
   1511 
   1512 typedef GLboolean (GL_APIENTRY *PFN_glUnmapBuffer)(GLenum target);
   1513 extern PFN_glUnmapBuffer _glptr_glUnmapBuffer;
   1514 #define glUnmapBuffer _glptr_glUnmapBuffer
   1515 
   1516 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4dv)(GLuint index, const GLdouble * v);
   1517 extern PFN_glVertexAttrib4dv _glptr_glVertexAttrib4dv;
   1518 #define glVertexAttrib4dv _glptr_glVertexAttrib4dv
   1519 
   1520 typedef void * (GL_APIENTRY *PFN_glMapBuffer)(GLenum target, GLenum access);
   1521 extern PFN_glMapBuffer _glptr_glMapBuffer;
   1522 #define glMapBuffer _glptr_glMapBuffer
   1523 
   1524 typedef void  (GL_APIENTRY *PFN_glBufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, const void * data);
   1525 extern PFN_glBufferSubData _glptr_glBufferSubData;
   1526 #define glBufferSubData _glptr_glBufferSubData
   1527 
   1528 typedef void  (GL_APIENTRY *PFN_glGetQueryObjectuiv)(GLuint id, GLenum pname, GLuint * params);
   1529 extern PFN_glGetQueryObjectuiv _glptr_glGetQueryObjectuiv;
   1530 #define glGetQueryObjectuiv _glptr_glGetQueryObjectuiv
   1531 
   1532 typedef void  (GL_APIENTRY *PFN_glGetQueryObjectiv)(GLuint id, GLenum pname, GLint * params);
   1533 extern PFN_glGetQueryObjectiv _glptr_glGetQueryObjectiv;
   1534 #define glGetQueryObjectiv _glptr_glGetQueryObjectiv
   1535 
   1536 typedef GLboolean (GL_APIENTRY *PFN_glIsQuery)(GLuint id);
   1537 extern PFN_glIsQuery _glptr_glIsQuery;
   1538 #define glIsQuery _glptr_glIsQuery
   1539 
   1540 typedef void  (GL_APIENTRY *PFN_glDeleteQueries)(GLsizei n, const GLuint * ids);
   1541 extern PFN_glDeleteQueries _glptr_glDeleteQueries;
   1542 #define glDeleteQueries _glptr_glDeleteQueries
   1543 
   1544 typedef void  (GL_APIENTRY *PFN_glGenQueries)(GLsizei n, GLuint * ids);
   1545 extern PFN_glGenQueries _glptr_glGenQueries;
   1546 #define glGenQueries _glptr_glGenQueries
   1547 
   1548 typedef void  (GL_APIENTRY *PFN_glBlendEquation)(GLenum mode);
   1549 extern PFN_glBlendEquation _glptr_glBlendEquation;
   1550 #define glBlendEquation _glptr_glBlendEquation
   1551 
   1552 typedef void  (GL_APIENTRY *PFN_glVertexAttrib3sv)(GLuint index, const GLshort * v);
   1553 extern PFN_glVertexAttrib3sv _glptr_glVertexAttrib3sv;
   1554 #define glVertexAttrib3sv _glptr_glVertexAttrib3sv
   1555 
   1556 typedef void  (GL_APIENTRY *PFN_glVertexAttribI3ui)(GLuint index, GLuint x, GLuint y, GLuint z);
   1557 extern PFN_glVertexAttribI3ui _glptr_glVertexAttribI3ui;
   1558 #define glVertexAttribI3ui _glptr_glVertexAttribI3ui
   1559 
   1560 typedef void  (GL_APIENTRY *PFN_glGenBuffers)(GLsizei n, GLuint * buffers);
   1561 extern PFN_glGenBuffers _glptr_glGenBuffers;
   1562 #define glGenBuffers _glptr_glGenBuffers
   1563 
   1564 typedef GLenum (GL_APIENTRY *PFN_glCheckFramebufferStatus)(GLenum target);
   1565 extern PFN_glCheckFramebufferStatus _glptr_glCheckFramebufferStatus;
   1566 #define glCheckFramebufferStatus _glptr_glCheckFramebufferStatus
   1567 
   1568 typedef void  (GL_APIENTRY *PFN_glUniform4i)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
   1569 extern PFN_glUniform4i _glptr_glUniform4i;
   1570 #define glUniform4i _glptr_glUniform4i
   1571 
   1572 typedef void  (GL_APIENTRY *PFN_glPointParameteriv)(GLenum pname, const GLint * params);
   1573 extern PFN_glPointParameteriv _glptr_glPointParameteriv;
   1574 #define glPointParameteriv _glptr_glPointParameteriv
   1575 
   1576 typedef void  (GL_APIENTRY *PFN_glVertexAttrib2s)(GLuint index, GLshort x, GLshort y);
   1577 extern PFN_glVertexAttrib2s _glptr_glVertexAttrib2s;
   1578 #define glVertexAttrib2s _glptr_glVertexAttrib2s
   1579 
   1580 typedef void  (GL_APIENTRY *PFN_glFinish)();
   1581 extern PFN_glFinish _glptr_glFinish;
   1582 #define glFinish _glptr_glFinish
   1583 
   1584 typedef void  (GL_APIENTRY *PFN_glPointParameteri)(GLenum pname, GLint param);
   1585 extern PFN_glPointParameteri _glptr_glPointParameteri;
   1586 #define glPointParameteri _glptr_glPointParameteri
   1587 
   1588 typedef void  (GL_APIENTRY *PFN_glMultiDrawArrays)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei drawcount);
   1589 extern PFN_glMultiDrawArrays _glptr_glMultiDrawArrays;
   1590 #define glMultiDrawArrays _glptr_glMultiDrawArrays
   1591 
   1592 typedef void  (GL_APIENTRY *PFN_glFramebufferRenderbuffer)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
   1593 extern PFN_glFramebufferRenderbuffer _glptr_glFramebufferRenderbuffer;
   1594 #define glFramebufferRenderbuffer _glptr_glFramebufferRenderbuffer
   1595 
   1596 typedef GLint (GL_APIENTRY *PFN_glGetFragDataIndex)(GLuint program, const GLchar * name);
   1597 extern PFN_glGetFragDataIndex _glptr_glGetFragDataIndex;
   1598 #define glGetFragDataIndex _glptr_glGetFragDataIndex
   1599 
   1600 typedef void  (GL_APIENTRY *PFN_glGetQueryiv)(GLenum target, GLenum pname, GLint * params);
   1601 extern PFN_glGetQueryiv _glptr_glGetQueryiv;
   1602 #define glGetQueryiv _glptr_glGetQueryiv
   1603 
   1604 typedef void  (GL_APIENTRY *PFN_glGetUniformfv)(GLuint program, GLint location, GLfloat * params);
   1605 extern PFN_glGetUniformfv _glptr_glGetUniformfv;
   1606 #define glGetUniformfv _glptr_glGetUniformfv
   1607 
   1608 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4usv)(GLuint index, const GLushort * v);
   1609 extern PFN_glVertexAttrib4usv _glptr_glVertexAttrib4usv;
   1610 #define glVertexAttrib4usv _glptr_glVertexAttrib4usv
   1611 
   1612 typedef void  (GL_APIENTRY *PFN_glDeleteSync)(GLsync sync);
   1613 extern PFN_glDeleteSync _glptr_glDeleteSync;
   1614 #define glDeleteSync _glptr_glDeleteSync
   1615 
   1616 typedef void  (GL_APIENTRY *PFN_glGetCompressedTexImage)(GLenum target, GLint level, void * img);
   1617 extern PFN_glGetCompressedTexImage _glptr_glGetCompressedTexImage;
   1618 #define glGetCompressedTexImage _glptr_glGetCompressedTexImage
   1619 
   1620 typedef void  (GL_APIENTRY *PFN_glCompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data);
   1621 extern PFN_glCompressedTexSubImage2D _glptr_glCompressedTexSubImage2D;
   1622 #define glCompressedTexSubImage2D _glptr_glCompressedTexSubImage2D
   1623 
   1624 typedef void  (GL_APIENTRY *PFN_glUniform4ui)(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
   1625 extern PFN_glUniform4ui _glptr_glUniform4ui;
   1626 #define glUniform4ui _glptr_glUniform4ui
   1627 
   1628 typedef void  (GL_APIENTRY *PFN_glVertexAttribI4usv)(GLuint index, const GLushort * v);
   1629 extern PFN_glVertexAttribI4usv _glptr_glVertexAttribI4usv;
   1630 #define glVertexAttribI4usv _glptr_glVertexAttribI4usv
   1631 
   1632 typedef void  (GL_APIENTRY *PFN_glCompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data);
   1633 extern PFN_glCompressedTexImage2D _glptr_glCompressedTexImage2D;
   1634 #define glCompressedTexImage2D _glptr_glCompressedTexImage2D
   1635 
   1636 typedef void  (GL_APIENTRY *PFN_glCompressedTexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data);
   1637 extern PFN_glCompressedTexImage3D _glptr_glCompressedTexImage3D;
   1638 #define glCompressedTexImage3D _glptr_glCompressedTexImage3D
   1639 
   1640 typedef void  (GL_APIENTRY *PFN_glSampleCoverage)(GLfloat value, GLboolean invert);
   1641 extern PFN_glSampleCoverage _glptr_glSampleCoverage;
   1642 #define glSampleCoverage _glptr_glSampleCoverage
   1643 
   1644 typedef void  (GL_APIENTRY *PFN_glActiveTexture)(GLenum texture);
   1645 extern PFN_glActiveTexture _glptr_glActiveTexture;
   1646 #define glActiveTexture _glptr_glActiveTexture
   1647 
   1648 typedef void  (GL_APIENTRY *PFN_glCopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   1649 extern PFN_glCopyTexSubImage3D _glptr_glCopyTexSubImage3D;
   1650 #define glCopyTexSubImage3D _glptr_glCopyTexSubImage3D
   1651 
   1652 typedef void  (GL_APIENTRY *PFN_glCompressedTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * data);
   1653 extern PFN_glCompressedTexImage1D _glptr_glCompressedTexImage1D;
   1654 #define glCompressedTexImage1D _glptr_glCompressedTexImage1D
   1655 
   1656 typedef void  (GL_APIENTRY *PFN_glTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels);
   1657 extern PFN_glTexSubImage3D _glptr_glTexSubImage3D;
   1658 #define glTexSubImage3D _glptr_glTexSubImage3D
   1659 
   1660 typedef void  (GL_APIENTRY *PFN_glUniformMatrix4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
   1661 extern PFN_glUniformMatrix4fv _glptr_glUniformMatrix4fv;
   1662 #define glUniformMatrix4fv _glptr_glUniformMatrix4fv
   1663 
   1664 typedef const GLubyte * (GL_APIENTRY *PFN_glGetString)(GLenum name);
   1665 extern PFN_glGetString _glptr_glGetString;
   1666 #define glGetString _glptr_glGetString
   1667 
   1668 typedef void  (GL_APIENTRY *PFN_glRenderbufferStorage)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
   1669 extern PFN_glRenderbufferStorage _glptr_glRenderbufferStorage;
   1670 #define glRenderbufferStorage _glptr_glRenderbufferStorage
   1671 
   1672 typedef GLboolean (GL_APIENTRY *PFN_glIsTexture)(GLuint texture);
   1673 extern PFN_glIsTexture _glptr_glIsTexture;
   1674 #define glIsTexture _glptr_glIsTexture
   1675 
   1676 typedef void  (GL_APIENTRY *PFN_glGenTextures)(GLsizei n, GLuint * textures);
   1677 extern PFN_glGenTextures _glptr_glGenTextures;
   1678 #define glGenTextures _glptr_glGenTextures
   1679 
   1680 typedef void  (GL_APIENTRY *PFN_glVertexAttribP3ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value);
   1681 extern PFN_glVertexAttribP3ui _glptr_glVertexAttribP3ui;
   1682 #define glVertexAttribP3ui _glptr_glVertexAttribP3ui
   1683 
   1684 typedef void  (GL_APIENTRY *PFN_glTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels);
   1685 extern PFN_glTexSubImage1D _glptr_glTexSubImage1D;
   1686 #define glTexSubImage1D _glptr_glTexSubImage1D
   1687 
   1688 typedef GLenum (GL_APIENTRY *PFN_glClientWaitSync)(GLsync sync, GLbitfield flags, GLuint64 timeout);
   1689 extern PFN_glClientWaitSync _glptr_glClientWaitSync;
   1690 #define glClientWaitSync _glptr_glClientWaitSync
   1691 
   1692 typedef void  (GL_APIENTRY *PFN_glCopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   1693 extern PFN_glCopyTexSubImage2D _glptr_glCopyTexSubImage2D;
   1694 #define glCopyTexSubImage2D _glptr_glCopyTexSubImage2D
   1695 
   1696 typedef void  (GL_APIENTRY *PFN_glCopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
   1697 extern PFN_glCopyTexSubImage1D _glptr_glCopyTexSubImage1D;
   1698 #define glCopyTexSubImage1D _glptr_glCopyTexSubImage1D
   1699 
   1700 typedef void  (GL_APIENTRY *PFN_glCopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
   1701 extern PFN_glCopyTexImage1D _glptr_glCopyTexImage1D;
   1702 #define glCopyTexImage1D _glptr_glCopyTexImage1D
   1703 
   1704 typedef void  (GL_APIENTRY *PFN_glPolygonOffset)(GLfloat factor, GLfloat units);
   1705 extern PFN_glPolygonOffset _glptr_glPolygonOffset;
   1706 #define glPolygonOffset _glptr_glPolygonOffset
   1707 
   1708 typedef void  (GL_APIENTRY *PFN_glTexImage2DMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
   1709 extern PFN_glTexImage2DMultisample _glptr_glTexImage2DMultisample;
   1710 #define glTexImage2DMultisample _glptr_glTexImage2DMultisample
   1711 
   1712 typedef void  (GL_APIENTRY *PFN_glDrawElements)(GLenum mode, GLsizei count, GLenum type, const void * indices);
   1713 extern PFN_glDrawElements _glptr_glDrawElements;
   1714 #define glDrawElements _glptr_glDrawElements
   1715 
   1716 typedef void  (GL_APIENTRY *PFN_glEndConditionalRender)();
   1717 extern PFN_glEndConditionalRender _glptr_glEndConditionalRender;
   1718 #define glEndConditionalRender _glptr_glEndConditionalRender
   1719 
   1720 typedef void  (GL_APIENTRY *PFN_glGetTransformFeedbackVarying)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name);
   1721 extern PFN_glGetTransformFeedbackVarying _glptr_glGetTransformFeedbackVarying;
   1722 #define glGetTransformFeedbackVarying _glptr_glGetTransformFeedbackVarying
   1723 
   1724 typedef void  (GL_APIENTRY *PFN_glTexParameteriv)(GLenum target, GLenum pname, const GLint * params);
   1725 extern PFN_glTexParameteriv _glptr_glTexParameteriv;
   1726 #define glTexParameteriv _glptr_glTexParameteriv
   1727 
   1728 typedef void  (GL_APIENTRY *PFN_glDeleteFramebuffers)(GLsizei n, const GLuint * framebuffers);
   1729 extern PFN_glDeleteFramebuffers _glptr_glDeleteFramebuffers;
   1730 #define glDeleteFramebuffers _glptr_glDeleteFramebuffers
   1731 
   1732 typedef void  (GL_APIENTRY *PFN_glBlendEquationSeparate)(GLenum modeRGB, GLenum modeAlpha);
   1733 extern PFN_glBlendEquationSeparate _glptr_glBlendEquationSeparate;
   1734 #define glBlendEquationSeparate _glptr_glBlendEquationSeparate
   1735 
   1736 typedef void  (GL_APIENTRY *PFN_glDeleteTextures)(GLsizei n, const GLuint * textures);
   1737 extern PFN_glDeleteTextures _glptr_glDeleteTextures;
   1738 #define glDeleteTextures _glptr_glDeleteTextures
   1739 
   1740 typedef void  (GL_APIENTRY *PFN_glGetProgramiv)(GLuint program, GLenum pname, GLint * params);
   1741 extern PFN_glGetProgramiv _glptr_glGetProgramiv;
   1742 #define glGetProgramiv _glptr_glGetProgramiv
   1743 
   1744 typedef void  (GL_APIENTRY *PFN_glUniform1uiv)(GLint location, GLsizei count, const GLuint * value);
   1745 extern PFN_glUniform1uiv _glptr_glUniform1uiv;
   1746 #define glUniform1uiv _glptr_glUniform1uiv
   1747 
   1748 typedef void  (GL_APIENTRY *PFN_glCopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
   1749 extern PFN_glCopyTexImage2D _glptr_glCopyTexImage2D;
   1750 #define glCopyTexImage2D _glptr_glCopyTexImage2D
   1751 
   1752 typedef void  (GL_APIENTRY *PFN_glGetTexLevelParameterfv)(GLenum target, GLint level, GLenum pname, GLfloat * params);
   1753 extern PFN_glGetTexLevelParameterfv _glptr_glGetTexLevelParameterfv;
   1754 #define glGetTexLevelParameterfv _glptr_glGetTexLevelParameterfv
   1755 
   1756 typedef void  (GL_APIENTRY *PFN_glSampleMaski)(GLuint maskNumber, GLbitfield mask);
   1757 extern PFN_glSampleMaski _glptr_glSampleMaski;
   1758 #define glSampleMaski _glptr_glSampleMaski
   1759 
   1760 typedef void  (GL_APIENTRY *PFN_glBindTexture)(GLenum target, GLuint texture);
   1761 extern PFN_glBindTexture _glptr_glBindTexture;
   1762 #define glBindTexture _glptr_glBindTexture
   1763 
   1764 typedef void  (GL_APIENTRY *PFN_glGetActiveUniformBlockiv)(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params);
   1765 extern PFN_glGetActiveUniformBlockiv _glptr_glGetActiveUniformBlockiv;
   1766 #define glGetActiveUniformBlockiv _glptr_glGetActiveUniformBlockiv
   1767 
   1768 typedef void  (GL_APIENTRY *PFN_glGetUniformuiv)(GLuint program, GLint location, GLuint * params);
   1769 extern PFN_glGetUniformuiv _glptr_glGetUniformuiv;
   1770 #define glGetUniformuiv _glptr_glGetUniformuiv
   1771 
   1772 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4Nbv)(GLuint index, const GLbyte * v);
   1773 extern PFN_glVertexAttrib4Nbv _glptr_glVertexAttrib4Nbv;
   1774 #define glVertexAttrib4Nbv _glptr_glVertexAttrib4Nbv
   1775 
   1776 typedef void  (GL_APIENTRY *PFN_glTexImage3D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels);
   1777 extern PFN_glTexImage3D _glptr_glTexImage3D;
   1778 #define glTexImage3D _glptr_glTexImage3D
   1779 
   1780 typedef void  (GL_APIENTRY *PFN_glQueryCounter)(GLuint id, GLenum target);
   1781 extern PFN_glQueryCounter _glptr_glQueryCounter;
   1782 #define glQueryCounter _glptr_glQueryCounter
   1783 
   1784 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4f)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   1785 extern PFN_glVertexAttrib4f _glptr_glVertexAttrib4f;
   1786 #define glVertexAttrib4f _glptr_glVertexAttrib4f
   1787 
   1788 typedef void  (GL_APIENTRY *PFN_glUniform2ui)(GLint location, GLuint v0, GLuint v1);
   1789 extern PFN_glUniform2ui _glptr_glUniform2ui;
   1790 #define glUniform2ui _glptr_glUniform2ui
   1791 
   1792 typedef void  (GL_APIENTRY *PFN_glGetTexImage)(GLenum target, GLint level, GLenum format, GLenum type, void * pixels);
   1793 extern PFN_glGetTexImage _glptr_glGetTexImage;
   1794 #define glGetTexImage _glptr_glGetTexImage
   1795 
   1796 typedef void  (GL_APIENTRY *PFN_glGetTexParameterIuiv)(GLenum target, GLenum pname, GLuint * params);
   1797 extern PFN_glGetTexParameterIuiv _glptr_glGetTexParameterIuiv;
   1798 #define glGetTexParameterIuiv _glptr_glGetTexParameterIuiv
   1799 
   1800 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4bv)(GLuint index, const GLbyte * v);
   1801 extern PFN_glVertexAttrib4bv _glptr_glVertexAttrib4bv;
   1802 #define glVertexAttrib4bv _glptr_glVertexAttrib4bv
   1803 
   1804 typedef void  (GL_APIENTRY *PFN_glUniform2uiv)(GLint location, GLsizei count, const GLuint * value);
   1805 extern PFN_glUniform2uiv _glptr_glUniform2uiv;
   1806 #define glUniform2uiv _glptr_glUniform2uiv
   1807 
   1808 typedef void  (GL_APIENTRY *PFN_glGetShaderSource)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source);
   1809 extern PFN_glGetShaderSource _glptr_glGetShaderSource;
   1810 #define glGetShaderSource _glptr_glGetShaderSource
   1811 
   1812 typedef GLboolean (GL_APIENTRY *PFN_glIsBuffer)(GLuint buffer);
   1813 extern PFN_glIsBuffer _glptr_glIsBuffer;
   1814 #define glIsBuffer _glptr_glIsBuffer
   1815 
   1816 typedef void  (GL_APIENTRY *PFN_glGetBufferPointerv)(GLenum target, GLenum pname, void ** params);
   1817 extern PFN_glGetBufferPointerv _glptr_glGetBufferPointerv;
   1818 #define glGetBufferPointerv _glptr_glGetBufferPointerv
   1819 
   1820 typedef void  (GL_APIENTRY *PFN_glPolygonMode)(GLenum face, GLenum mode);
   1821 extern PFN_glPolygonMode _glptr_glPolygonMode;
   1822 #define glPolygonMode _glptr_glPolygonMode
   1823 
   1824 typedef void  (GL_APIENTRY *PFN_glBindAttribLocation)(GLuint program, GLuint index, const GLchar * name);
   1825 extern PFN_glBindAttribLocation _glptr_glBindAttribLocation;
   1826 #define glBindAttribLocation _glptr_glBindAttribLocation
   1827 
   1828 typedef void  (GL_APIENTRY *PFN_glDeleteSamplers)(GLsizei count, const GLuint * samplers);
   1829 extern PFN_glDeleteSamplers _glptr_glDeleteSamplers;
   1830 #define glDeleteSamplers _glptr_glDeleteSamplers
   1831 
   1832 typedef void  (GL_APIENTRY *PFN_glUniform2f)(GLint location, GLfloat v0, GLfloat v1);
   1833 extern PFN_glUniform2f _glptr_glUniform2f;
   1834 #define glUniform2f _glptr_glUniform2f
   1835 
   1836 typedef void  (GL_APIENTRY *PFN_glPixelStoref)(GLenum pname, GLfloat param);
   1837 extern PFN_glPixelStoref _glptr_glPixelStoref;
   1838 #define glPixelStoref _glptr_glPixelStoref
   1839 
   1840 typedef void  (GL_APIENTRY *PFN_glLogicOp)(GLenum opcode);
   1841 extern PFN_glLogicOp _glptr_glLogicOp;
   1842 #define glLogicOp _glptr_glLogicOp
   1843 
   1844 typedef GLuint (GL_APIENTRY *PFN_glCreateShader)(GLenum type);
   1845 extern PFN_glCreateShader _glptr_glCreateShader;
   1846 #define glCreateShader _glptr_glCreateShader
   1847 
   1848 typedef void  (GL_APIENTRY *PFN_glTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels);
   1849 extern PFN_glTexSubImage2D _glptr_glTexSubImage2D;
   1850 #define glTexSubImage2D _glptr_glTexSubImage2D
   1851 
   1852 typedef void  (GL_APIENTRY *PFN_glClearDepth)(GLdouble depth);
   1853 extern PFN_glClearDepth _glptr_glClearDepth;
   1854 #define glClearDepth _glptr_glClearDepth
   1855 
   1856 typedef void  (GL_APIENTRY *PFN_glGetBufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, void * data);
   1857 extern PFN_glGetBufferSubData _glptr_glGetBufferSubData;
   1858 #define glGetBufferSubData _glptr_glGetBufferSubData
   1859 
   1860 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4uiv)(GLuint index, const GLuint * v);
   1861 extern PFN_glVertexAttrib4uiv _glptr_glVertexAttrib4uiv;
   1862 #define glVertexAttrib4uiv _glptr_glVertexAttrib4uiv
   1863 
   1864 typedef void  (GL_APIENTRY *PFN_glCopyBufferSubData)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
   1865 extern PFN_glCopyBufferSubData _glptr_glCopyBufferSubData;
   1866 #define glCopyBufferSubData _glptr_glCopyBufferSubData
   1867 
   1868 typedef void  (GL_APIENTRY *PFN_glFramebufferTexture2D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   1869 extern PFN_glFramebufferTexture2D _glptr_glFramebufferTexture2D;
   1870 #define glFramebufferTexture2D _glptr_glFramebufferTexture2D
   1871 
   1872 typedef void  (GL_APIENTRY *PFN_glPointParameterf)(GLenum pname, GLfloat param);
   1873 extern PFN_glPointParameterf _glptr_glPointParameterf;
   1874 #define glPointParameterf _glptr_glPointParameterf
   1875 
   1876 typedef void  (GL_APIENTRY *PFN_glDisablei)(GLenum target, GLuint index);
   1877 extern PFN_glDisablei _glptr_glDisablei;
   1878 #define glDisablei _glptr_glDisablei
   1879 
   1880 typedef void  (GL_APIENTRY *PFN_glUniformMatrix4x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value);
   1881 extern PFN_glUniformMatrix4x2fv _glptr_glUniformMatrix4x2fv;
   1882 #define glUniformMatrix4x2fv _glptr_glUniformMatrix4x2fv
   1883 
   1884 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4d)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   1885 extern PFN_glVertexAttrib4d _glptr_glVertexAttrib4d;
   1886 #define glVertexAttrib4d _glptr_glVertexAttrib4d
   1887 
   1888 typedef void  (GL_APIENTRY *PFN_glTexParameterIuiv)(GLenum target, GLenum pname, const GLuint * params);
   1889 extern PFN_glTexParameterIuiv _glptr_glTexParameterIuiv;
   1890 #define glTexParameterIuiv _glptr_glTexParameterIuiv
   1891 
   1892 typedef void  (GL_APIENTRY *PFN_glGetFloatv)(GLenum pname, GLfloat * data);
   1893 extern PFN_glGetFloatv _glptr_glGetFloatv;
   1894 #define glGetFloatv _glptr_glGetFloatv
   1895 
   1896 typedef GLuint (GL_APIENTRY *PFN_glCreateProgram)();
   1897 extern PFN_glCreateProgram _glptr_glCreateProgram;
   1898 #define glCreateProgram _glptr_glCreateProgram
   1899 
   1900 typedef void  (GL_APIENTRY *PFN_glTransformFeedbackVaryings)(GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode);
   1901 extern PFN_glTransformFeedbackVaryings _glptr_glTransformFeedbackVaryings;
   1902 #define glTransformFeedbackVaryings _glptr_glTransformFeedbackVaryings
   1903 
   1904 typedef void  (GL_APIENTRY *PFN_glVertexAttrib1d)(GLuint index, GLdouble x);
   1905 extern PFN_glVertexAttrib1d _glptr_glVertexAttrib1d;
   1906 #define glVertexAttrib1d _glptr_glVertexAttrib1d
   1907 
   1908 typedef void  (GL_APIENTRY *PFN_glViewport)(GLint x, GLint y, GLsizei width, GLsizei height);
   1909 extern PFN_glViewport _glptr_glViewport;
   1910 #define glViewport _glptr_glViewport
   1911 
   1912 typedef void  (GL_APIENTRY *PFN_glDeleteBuffers)(GLsizei n, const GLuint * buffers);
   1913 extern PFN_glDeleteBuffers _glptr_glDeleteBuffers;
   1914 #define glDeleteBuffers _glptr_glDeleteBuffers
   1915 
   1916 typedef void  (GL_APIENTRY *PFN_glFlush)();
   1917 extern PFN_glFlush _glptr_glFlush;
   1918 #define glFlush _glptr_glFlush
   1919 
   1920 typedef void  (GL_APIENTRY *PFN_glVertexAttribI4sv)(GLuint index, const GLshort * v);
   1921 extern PFN_glVertexAttribI4sv _glptr_glVertexAttribI4sv;
   1922 #define glVertexAttribI4sv _glptr_glVertexAttribI4sv
   1923 
   1924 typedef void  (GL_APIENTRY *PFN_glDrawArrays)(GLenum mode, GLint first, GLsizei count);
   1925 extern PFN_glDrawArrays _glptr_glDrawArrays;
   1926 #define glDrawArrays _glptr_glDrawArrays
   1927 
   1928 typedef void  (GL_APIENTRY *PFN_glDrawElementsInstanced)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount);
   1929 extern PFN_glDrawElementsInstanced _glptr_glDrawElementsInstanced;
   1930 #define glDrawElementsInstanced _glptr_glDrawElementsInstanced
   1931 
   1932 typedef void  (GL_APIENTRY *PFN_glUniform3iv)(GLint location, GLsizei count, const GLint * value);
   1933 extern PFN_glUniform3iv _glptr_glUniform3iv;
   1934 #define glUniform3iv _glptr_glUniform3iv
   1935 
   1936 typedef void  (GL_APIENTRY *PFN_glVertexAttribPointer)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer);
   1937 extern PFN_glVertexAttribPointer _glptr_glVertexAttribPointer;
   1938 #define glVertexAttribPointer _glptr_glVertexAttribPointer
   1939 
   1940 typedef void  (GL_APIENTRY *PFN_glGetSynciv)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values);
   1941 extern PFN_glGetSynciv _glptr_glGetSynciv;
   1942 #define glGetSynciv _glptr_glGetSynciv
   1943 
   1944 typedef void  (GL_APIENTRY *PFN_glPrimitiveRestartIndex)(GLuint index);
   1945 extern PFN_glPrimitiveRestartIndex _glptr_glPrimitiveRestartIndex;
   1946 #define glPrimitiveRestartIndex _glptr_glPrimitiveRestartIndex
   1947 
   1948 typedef void  (GL_APIENTRY *PFN_glUniform1i)(GLint location, GLint v0);
   1949 extern PFN_glUniform1i _glptr_glUniform1i;
   1950 #define glUniform1i _glptr_glUniform1i
   1951 
   1952 typedef void  (GL_APIENTRY *PFN_glVertexAttrib1sv)(GLuint index, const GLshort * v);
   1953 extern PFN_glVertexAttrib1sv _glptr_glVertexAttrib1sv;
   1954 #define glVertexAttrib1sv _glptr_glVertexAttrib1sv
   1955 
   1956 typedef void  (GL_APIENTRY *PFN_glDisable)(GLenum cap);
   1957 extern PFN_glDisable _glptr_glDisable;
   1958 #define glDisable _glptr_glDisable
   1959 
   1960 typedef void  (GL_APIENTRY *PFN_glVertexAttribI4uiv)(GLuint index, const GLuint * v);
   1961 extern PFN_glVertexAttribI4uiv _glptr_glVertexAttribI4uiv;
   1962 #define glVertexAttribI4uiv _glptr_glVertexAttribI4uiv
   1963 
   1964 typedef void  (GL_APIENTRY *PFN_glEndQuery)(GLenum target);
   1965 extern PFN_glEndQuery _glptr_glEndQuery;
   1966 #define glEndQuery _glptr_glEndQuery
   1967 
   1968 typedef void  (GL_APIENTRY *PFN_glColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
   1969 extern PFN_glColorMask _glptr_glColorMask;
   1970 #define glColorMask _glptr_glColorMask
   1971 
   1972 typedef void  (GL_APIENTRY *PFN_glEnablei)(GLenum target, GLuint index);
   1973 extern PFN_glEnablei _glptr_glEnablei;
   1974 #define glEnablei _glptr_glEnablei
   1975 
   1976 typedef void  (GL_APIENTRY *PFN_glBindBuffer)(GLenum target, GLuint buffer);
   1977 extern PFN_glBindBuffer _glptr_glBindBuffer;
   1978 #define glBindBuffer _glptr_glBindBuffer
   1979 
   1980 typedef void  (GL_APIENTRY *PFN_glGetDoublev)(GLenum pname, GLdouble * data);
   1981 extern PFN_glGetDoublev _glptr_glGetDoublev;
   1982 #define glGetDoublev _glptr_glGetDoublev
   1983 
   1984 typedef void  (GL_APIENTRY *PFN_glGetTexParameteriv)(GLenum target, GLenum pname, GLint * params);
   1985 extern PFN_glGetTexParameteriv _glptr_glGetTexParameteriv;
   1986 #define glGetTexParameteriv _glptr_glGetTexParameteriv
   1987 
   1988 typedef void  (GL_APIENTRY *PFN_glDeleteVertexArrays)(GLsizei n, const GLuint * arrays);
   1989 extern PFN_glDeleteVertexArrays _glptr_glDeleteVertexArrays;
   1990 #define glDeleteVertexArrays _glptr_glDeleteVertexArrays
   1991 
   1992 typedef void  (GL_APIENTRY *PFN_glVertexAttribI2uiv)(GLuint index, const GLuint * v);
   1993 extern PFN_glVertexAttribI2uiv _glptr_glVertexAttribI2uiv;
   1994 #define glVertexAttribI2uiv _glptr_glVertexAttribI2uiv
   1995 
   1996 typedef void  (GL_APIENTRY *PFN_glDepthMask)(GLboolean flag);
   1997 extern PFN_glDepthMask _glptr_glDepthMask;
   1998 #define glDepthMask _glptr_glDepthMask
   1999 
   2000 typedef void  (GL_APIENTRY *PFN_glGetVertexAttribdv)(GLuint index, GLenum pname, GLdouble * params);
   2001 extern PFN_glGetVertexAttribdv _glptr_glGetVertexAttribdv;
   2002 #define glGetVertexAttribdv _glptr_glGetVertexAttribdv
   2003 
   2004 typedef void  (GL_APIENTRY *PFN_glDrawRangeElements)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices);
   2005 extern PFN_glDrawRangeElements _glptr_glDrawRangeElements;
   2006 #define glDrawRangeElements _glptr_glDrawRangeElements
   2007 
   2008 typedef void  (GL_APIENTRY *PFN_glDrawArraysInstanced)(GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
   2009 extern PFN_glDrawArraysInstanced _glptr_glDrawArraysInstanced;
   2010 #define glDrawArraysInstanced _glptr_glDrawArraysInstanced
   2011 
   2012 typedef void  (GL_APIENTRY *PFN_glGetSamplerParameterIiv)(GLuint sampler, GLenum pname, GLint * params);
   2013 extern PFN_glGetSamplerParameterIiv _glptr_glGetSamplerParameterIiv;
   2014 #define glGetSamplerParameterIiv _glptr_glGetSamplerParameterIiv
   2015 
   2016 typedef void  (GL_APIENTRY *PFN_glClearStencil)(GLint s);
   2017 extern PFN_glClearStencil _glptr_glClearStencil;
   2018 #define glClearStencil _glptr_glClearStencil
   2019 
   2020 typedef void  (GL_APIENTRY *PFN_glVertexAttribI3iv)(GLuint index, const GLint * v);
   2021 extern PFN_glVertexAttribI3iv _glptr_glVertexAttribI3iv;
   2022 #define glVertexAttribI3iv _glptr_glVertexAttribI3iv
   2023 
   2024 typedef void  (GL_APIENTRY *PFN_glDrawRangeElementsBaseVertex)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex);
   2025 extern PFN_glDrawRangeElementsBaseVertex _glptr_glDrawRangeElementsBaseVertex;
   2026 #define glDrawRangeElementsBaseVertex _glptr_glDrawRangeElementsBaseVertex
   2027 
   2028 typedef void  (GL_APIENTRY *PFN_glScissor)(GLint x, GLint y, GLsizei width, GLsizei height);
   2029 extern PFN_glScissor _glptr_glScissor;
   2030 #define glScissor _glptr_glScissor
   2031 
   2032 typedef void  (GL_APIENTRY *PFN_glGenerateMipmap)(GLenum target);
   2033 extern PFN_glGenerateMipmap _glptr_glGenerateMipmap;
   2034 #define glGenerateMipmap _glptr_glGenerateMipmap
   2035 
   2036 typedef void  (GL_APIENTRY *PFN_glUniform3fv)(GLint location, GLsizei count, const GLfloat * value);
   2037 extern PFN_glUniform3fv _glptr_glUniform3fv;
   2038 #define glUniform3fv _glptr_glUniform3fv
   2039 
   2040 typedef void  (GL_APIENTRY *PFN_glUniform3uiv)(GLint location, GLsizei count, const GLuint * value);
   2041 extern PFN_glUniform3uiv _glptr_glUniform3uiv;
   2042 #define glUniform3uiv _glptr_glUniform3uiv
   2043 
   2044 typedef void  (GL_APIENTRY *PFN_glClearBufferiv)(GLenum buffer, GLint drawbuffer, const GLint * value);
   2045 extern PFN_glClearBufferiv _glptr_glClearBufferiv;
   2046 #define glClearBufferiv _glptr_glClearBufferiv
   2047 
   2048 typedef void  (GL_APIENTRY *PFN_glVertexAttribI4ubv)(GLuint index, const GLubyte * v);
   2049 extern PFN_glVertexAttribI4ubv _glptr_glVertexAttribI4ubv;
   2050 #define glVertexAttribI4ubv _glptr_glVertexAttribI4ubv
   2051 
   2052 typedef void  (GL_APIENTRY *PFN_glGetBooleanv)(GLenum pname, GLboolean * data);
   2053 extern PFN_glGetBooleanv _glptr_glGetBooleanv;
   2054 #define glGetBooleanv _glptr_glGetBooleanv
   2055 
   2056 typedef void  (GL_APIENTRY *PFN_glValidateProgram)(GLuint program);
   2057 extern PFN_glValidateProgram _glptr_glValidateProgram;
   2058 #define glValidateProgram _glptr_glValidateProgram
   2059 
   2060 typedef void  (GL_APIENTRY *PFN_glGenRenderbuffers)(GLsizei n, GLuint * renderbuffers);
   2061 extern PFN_glGenRenderbuffers _glptr_glGenRenderbuffers;
   2062 #define glGenRenderbuffers _glptr_glGenRenderbuffers
   2063 
   2064 typedef void  (GL_APIENTRY *PFN_glUniform2iv)(GLint location, GLsizei count, const GLint * value);
   2065 extern PFN_glUniform2iv _glptr_glUniform2iv;
   2066 #define glUniform2iv _glptr_glUniform2iv
   2067 
   2068 typedef void  (GL_APIENTRY *PFN_glBufferData)(GLenum target, GLsizeiptr size, const void * data, GLenum usage);
   2069 extern PFN_glBufferData _glptr_glBufferData;
   2070 #define glBufferData _glptr_glBufferData
   2071 
   2072 typedef void  (GL_APIENTRY *PFN_glBlendFuncSeparate)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
   2073 extern PFN_glBlendFuncSeparate _glptr_glBlendFuncSeparate;
   2074 #define glBlendFuncSeparate _glptr_glBlendFuncSeparate
   2075 
   2076 typedef void  (GL_APIENTRY *PFN_glTexParameteri)(GLenum target, GLenum pname, GLint param);
   2077 extern PFN_glTexParameteri _glptr_glTexParameteri;
   2078 #define glTexParameteri _glptr_glTexParameteri
   2079 
   2080 typedef void  (GL_APIENTRY *PFN_glHint)(GLenum target, GLenum mode);
   2081 extern PFN_glHint _glptr_glHint;
   2082 #define glHint _glptr_glHint
   2083 
   2084 typedef void  (GL_APIENTRY *PFN_glVertexAttrib3fv)(GLuint index, const GLfloat * v);
   2085 extern PFN_glVertexAttrib3fv _glptr_glVertexAttrib3fv;
   2086 #define glVertexAttrib3fv _glptr_glVertexAttrib3fv
   2087 
   2088 typedef void  (GL_APIENTRY *PFN_glGetSamplerParameteriv)(GLuint sampler, GLenum pname, GLint * params);
   2089 extern PFN_glGetSamplerParameteriv _glptr_glGetSamplerParameteriv;
   2090 #define glGetSamplerParameteriv _glptr_glGetSamplerParameteriv
   2091 
   2092 typedef void  (GL_APIENTRY *PFN_glDrawBuffer)(GLenum buf);
   2093 extern PFN_glDrawBuffer _glptr_glDrawBuffer;
   2094 #define glDrawBuffer _glptr_glDrawBuffer
   2095 
   2096 typedef GLboolean (GL_APIENTRY *PFN_glIsProgram)(GLuint program);
   2097 extern PFN_glIsProgram _glptr_glIsProgram;
   2098 #define glIsProgram _glptr_glIsProgram
   2099 
   2100 typedef void  (GL_APIENTRY *PFN_glGetIntegerv)(GLenum pname, GLint * data);
   2101 extern PFN_glGetIntegerv _glptr_glGetIntegerv;
   2102 #define glGetIntegerv _glptr_glGetIntegerv
   2103 
   2104 typedef void  (GL_APIENTRY *PFN_glDrawElementsBaseVertex)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex);
   2105 extern PFN_glDrawElementsBaseVertex _glptr_glDrawElementsBaseVertex;
   2106 #define glDrawElementsBaseVertex _glptr_glDrawElementsBaseVertex
   2107 
   2108 typedef void  (GL_APIENTRY *PFN_glEnable)(GLenum cap);
   2109 extern PFN_glEnable _glptr_glEnable;
   2110 #define glEnable _glptr_glEnable
   2111 
   2112 typedef void  (GL_APIENTRY *PFN_glBlitFramebuffer)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
   2113 extern PFN_glBlitFramebuffer _glptr_glBlitFramebuffer;
   2114 #define glBlitFramebuffer _glptr_glBlitFramebuffer
   2115 
   2116 typedef void  (GL_APIENTRY *PFN_glBeginQuery)(GLenum target, GLuint id);
   2117 extern PFN_glBeginQuery _glptr_glBeginQuery;
   2118 #define glBeginQuery _glptr_glBeginQuery
   2119 
   2120 typedef void  (GL_APIENTRY *PFN_glStencilMask)(GLuint mask);
   2121 extern PFN_glStencilMask _glptr_glStencilMask;
   2122 #define glStencilMask _glptr_glStencilMask
   2123 
   2124 typedef void  (GL_APIENTRY *PFN_glAttachShader)(GLuint program, GLuint shader);
   2125 extern PFN_glAttachShader _glptr_glAttachShader;
   2126 #define glAttachShader _glptr_glAttachShader
   2127 
   2128 typedef void  (GL_APIENTRY *PFN_glPointSize)(GLfloat size);
   2129 extern PFN_glPointSize _glptr_glPointSize;
   2130 #define glPointSize _glptr_glPointSize
   2131 
   2132 typedef void  (GL_APIENTRY *PFN_glMultiDrawElements)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount);
   2133 extern PFN_glMultiDrawElements _glptr_glMultiDrawElements;
   2134 #define glMultiDrawElements _glptr_glMultiDrawElements
   2135 
   2136 typedef void  (GL_APIENTRY *PFN_glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat * params);
   2137 extern PFN_glGetTexParameterfv _glptr_glGetTexParameterfv;
   2138 #define glGetTexParameterfv _glptr_glGetTexParameterfv
   2139 
   2140 typedef GLboolean (GL_APIENTRY *PFN_glIsEnabled)(GLenum cap);
   2141 extern PFN_glIsEnabled _glptr_glIsEnabled;
   2142 #define glIsEnabled _glptr_glIsEnabled
   2143 
   2144 typedef void  (GL_APIENTRY *PFN_glGetTexLevelParameteriv)(GLenum target, GLint level, GLenum pname, GLint * params);
   2145 extern PFN_glGetTexLevelParameteriv _glptr_glGetTexLevelParameteriv;
   2146 #define glGetTexLevelParameteriv _glptr_glGetTexLevelParameteriv
   2147 
   2148 typedef GLenum (GL_APIENTRY *PFN_glGetError)();
   2149 extern PFN_glGetError _glptr_glGetError;
   2150 #define glGetError _glptr_glGetError
   2151 
   2152 typedef void  (GL_APIENTRY *PFN_glEndTransformFeedback)();
   2153 extern PFN_glEndTransformFeedback _glptr_glEndTransformFeedback;
   2154 #define glEndTransformFeedback _glptr_glEndTransformFeedback
   2155 
   2156 typedef void  (GL_APIENTRY *PFN_glClearColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
   2157 extern PFN_glClearColor _glptr_glClearColor;
   2158 #define glClearColor _glptr_glClearColor
   2159 
   2160 typedef void  (GL_APIENTRY *PFN_glBlendColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
   2161 extern PFN_glBlendColor _glptr_glBlendColor;
   2162 #define glBlendColor _glptr_glBlendColor
   2163 
   2164 typedef void  (GL_APIENTRY *PFN_glVertexAttribI3i)(GLuint index, GLint x, GLint y, GLint z);
   2165 extern PFN_glVertexAttribI3i _glptr_glVertexAttribI3i;
   2166 #define glVertexAttribI3i _glptr_glVertexAttribI3i
   2167 
   2168 typedef void  (GL_APIENTRY *PFN_glCompressedTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data);
   2169 extern PFN_glCompressedTexSubImage3D _glptr_glCompressedTexSubImage3D;
   2170 #define glCompressedTexSubImage3D _glptr_glCompressedTexSubImage3D
   2171 
   2172 typedef void  (GL_APIENTRY *PFN_glReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels);
   2173 extern PFN_glReadPixels _glptr_glReadPixels;
   2174 #define glReadPixels _glptr_glReadPixels
   2175 
   2176 typedef void  (GL_APIENTRY *PFN_glTexParameterf)(GLenum target, GLenum pname, GLfloat param);
   2177 extern PFN_glTexParameterf _glptr_glTexParameterf;
   2178 #define glTexParameterf _glptr_glTexParameterf
   2179 
   2180 typedef void  (GL_APIENTRY *PFN_glSamplerParameterIiv)(GLuint sampler, GLenum pname, const GLint * param);
   2181 extern PFN_glSamplerParameterIiv _glptr_glSamplerParameterIiv;
   2182 #define glSamplerParameterIiv _glptr_glSamplerParameterIiv
   2183 
   2184 typedef void  (GL_APIENTRY *PFN_glPointParameterfv)(GLenum pname, const GLfloat * params);
   2185 extern PFN_glPointParameterfv _glptr_glPointParameterfv;
   2186 #define glPointParameterfv _glptr_glPointParameterfv
   2187 
   2188 typedef void  (GL_APIENTRY *PFN_glGetShaderInfoLog)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog);
   2189 extern PFN_glGetShaderInfoLog _glptr_glGetShaderInfoLog;
   2190 #define glGetShaderInfoLog _glptr_glGetShaderInfoLog
   2191 
   2192 typedef void  (GL_APIENTRY *PFN_glDepthFunc)(GLenum func);
   2193 extern PFN_glDepthFunc _glptr_glDepthFunc;
   2194 #define glDepthFunc _glptr_glDepthFunc
   2195 
   2196 typedef void  (GL_APIENTRY *PFN_glVertexAttribI3uiv)(GLuint index, const GLuint * v);
   2197 extern PFN_glVertexAttribI3uiv _glptr_glVertexAttribI3uiv;
   2198 #define glVertexAttribI3uiv _glptr_glVertexAttribI3uiv
   2199 
   2200 typedef void  (GL_APIENTRY *PFN_glStencilOp)(GLenum fail, GLenum zfail, GLenum zpass);
   2201 extern PFN_glStencilOp _glptr_glStencilOp;
   2202 #define glStencilOp _glptr_glStencilOp
   2203 
   2204 typedef void  (GL_APIENTRY *PFN_glStencilFunc)(GLenum func, GLint ref, GLuint mask);
   2205 extern PFN_glStencilFunc _glptr_glStencilFunc;
   2206 #define glStencilFunc _glptr_glStencilFunc
   2207 
   2208 typedef void  (GL_APIENTRY *PFN_glEnableVertexAttribArray)(GLuint index);
   2209 extern PFN_glEnableVertexAttribArray _glptr_glEnableVertexAttribArray;
   2210 #define glEnableVertexAttribArray _glptr_glEnableVertexAttribArray
   2211 
   2212 typedef void  (GL_APIENTRY *PFN_glBlendFunc)(GLenum sfactor, GLenum dfactor);
   2213 extern PFN_glBlendFunc _glptr_glBlendFunc;
   2214 #define glBlendFunc _glptr_glBlendFunc
   2215 
   2216 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4Nub)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
   2217 extern PFN_glVertexAttrib4Nub _glptr_glVertexAttrib4Nub;
   2218 #define glVertexAttrib4Nub _glptr_glVertexAttrib4Nub
   2219 
   2220 typedef void  (GL_APIENTRY *PFN_glUniform1fv)(GLint location, GLsizei count, const GLfloat * value);
   2221 extern PFN_glUniform1fv _glptr_glUniform1fv;
   2222 #define glUniform1fv _glptr_glUniform1fv
   2223 
   2224 typedef void  (GL_APIENTRY *PFN_glPixelStorei)(GLenum pname, GLint param);
   2225 extern PFN_glPixelStorei _glptr_glPixelStorei;
   2226 #define glPixelStorei _glptr_glPixelStorei
   2227 
   2228 typedef void  (GL_APIENTRY *PFN_glLineWidth)(GLfloat width);
   2229 extern PFN_glLineWidth _glptr_glLineWidth;
   2230 #define glLineWidth _glptr_glLineWidth
   2231 
   2232 typedef void  (GL_APIENTRY *PFN_glVertexAttribP1ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value);
   2233 extern PFN_glVertexAttribP1ui _glptr_glVertexAttribP1ui;
   2234 #define glVertexAttribP1ui _glptr_glVertexAttribP1ui
   2235 
   2236 typedef void  (GL_APIENTRY *PFN_glGetUniformiv)(GLuint program, GLint location, GLint * params);
   2237 extern PFN_glGetUniformiv _glptr_glGetUniformiv;
   2238 #define glGetUniformiv _glptr_glGetUniformiv
   2239 
   2240 typedef void  (GL_APIENTRY *PFN_glReadBuffer)(GLenum src);
   2241 extern PFN_glReadBuffer _glptr_glReadBuffer;
   2242 #define glReadBuffer _glptr_glReadBuffer
   2243 
   2244 typedef void  (GL_APIENTRY *PFN_glTexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels);
   2245 extern PFN_glTexImage1D _glptr_glTexImage1D;
   2246 #define glTexImage1D _glptr_glTexImage1D
   2247 
   2248 typedef void  (GL_APIENTRY *PFN_glTexParameterfv)(GLenum target, GLenum pname, const GLfloat * params);
   2249 extern PFN_glTexParameterfv _glptr_glTexParameterfv;
   2250 #define glTexParameterfv _glptr_glTexParameterfv
   2251 
   2252 typedef void  (GL_APIENTRY *PFN_glVertexAttrib3s)(GLuint index, GLshort x, GLshort y, GLshort z);
   2253 extern PFN_glVertexAttrib3s _glptr_glVertexAttrib3s;
   2254 #define glVertexAttrib3s _glptr_glVertexAttrib3s
   2255 
   2256 typedef void  (GL_APIENTRY *PFN_glCompressedTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data);
   2257 extern PFN_glCompressedTexSubImage1D _glptr_glCompressedTexSubImage1D;
   2258 #define glCompressedTexSubImage1D _glptr_glCompressedTexSubImage1D
   2259 
   2260 typedef void  (GL_APIENTRY *PFN_glClear)(GLbitfield mask);
   2261 extern PFN_glClear _glptr_glClear;
   2262 #define glClear _glptr_glClear
   2263 
   2264 typedef void  (GL_APIENTRY *PFN_glTexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels);
   2265 extern PFN_glTexImage2D _glptr_glTexImage2D;
   2266 #define glTexImage2D _glptr_glTexImage2D
   2267 
   2268 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4Niv)(GLuint index, const GLint * v);
   2269 extern PFN_glVertexAttrib4Niv _glptr_glVertexAttrib4Niv;
   2270 #define glVertexAttrib4Niv _glptr_glVertexAttrib4Niv
   2271 
   2272 typedef void  (GL_APIENTRY *PFN_glGetVertexAttribIuiv)(GLuint index, GLenum pname, GLuint * params);
   2273 extern PFN_glGetVertexAttribIuiv _glptr_glGetVertexAttribIuiv;
   2274 #define glGetVertexAttribIuiv _glptr_glGetVertexAttribIuiv
   2275 
   2276 typedef void  (GL_APIENTRY *PFN_glStencilMaskSeparate)(GLenum face, GLuint mask);
   2277 extern PFN_glStencilMaskSeparate _glptr_glStencilMaskSeparate;
   2278 #define glStencilMaskSeparate _glptr_glStencilMaskSeparate
   2279 
   2280 typedef void  (GL_APIENTRY *PFN_glGenVertexArrays)(GLsizei n, GLuint * arrays);
   2281 extern PFN_glGenVertexArrays _glptr_glGenVertexArrays;
   2282 #define glGenVertexArrays _glptr_glGenVertexArrays
   2283 
   2284 typedef void  (GL_APIENTRY *PFN_glFrontFace)(GLenum mode);
   2285 extern PFN_glFrontFace _glptr_glFrontFace;
   2286 #define glFrontFace _glptr_glFrontFace
   2287 
   2288 typedef void  (GL_APIENTRY *PFN_glDepthRange)(GLdouble n, GLdouble f);
   2289 extern PFN_glDepthRange _glptr_glDepthRange;
   2290 #define glDepthRange _glptr_glDepthRange
   2291 
   2292 typedef void  (GL_APIENTRY *PFN_glVertexAttrib4s)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
   2293 extern PFN_glVertexAttrib4s _glptr_glVertexAttrib4s;
   2294 #define glVertexAttrib4s _glptr_glVertexAttrib4s
   2295 
   2296 typedef void  (GL_APIENTRY *PFN_glDetachShader)(GLuint program, GLuint shader);
   2297 extern PFN_glDetachShader _glptr_glDetachShader;
   2298 #define glDetachShader _glptr_glDetachShader
   2299 
   2300 typedef void  (GL_APIENTRY *PFN_glCullFace)(GLenum mode);
   2301 extern PFN_glCullFace _glptr_glCullFace;
   2302 #define glCullFace _glptr_glCullFace
   2303 #if defined(__cplusplus)
   2304 }
   2305 #endif
   2306 #endif