1 #ifndef __glext_h_
2 #define __glext_h_
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 /*
9 ** Copyright (c) 2007-2012 The Khronos Group Inc.
10 **
11 ** Permission is hereby granted, free of charge, to any person obtaining a
12 ** copy of this software and/or associated documentation files (the
13 ** "Materials"), to deal in the Materials without restriction, including
14 ** without limitation the rights to use, copy, modify, merge, publish,
15 ** distribute, sublicense, and/or sell copies of the Materials, and to
16 ** permit persons to whom the Materials are furnished to do so, subject to
17 ** the following conditions:
18 **
19 ** The above copyright notice and this permission notice shall be included
20 ** in all copies or substantial portions of the Materials.
21 **
22 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
29 */
30 
31 /* Header file version number, required by OpenGL ABI for Linux */
32 /* glext.h last updated $Date: 2012-09-19 19:02:24 -0700 (Wed, 19 Sep 2012) $ */
33 /* Current version at http://www.opengl.org/registry/ */
34 #define GL_GLEXT_VERSION 85
35 /* Function declaration macros - to move into glplatform.h */
36 
37 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
38 #define WIN32_LEAN_AND_MEAN 1
39 #include <windows.h>
40 #endif
41 
42 #ifndef APIENTRY
43 #define APIENTRY
44 #endif
45 #ifndef APIENTRYP
46 #define APIENTRYP APIENTRY *
47 #endif
48 #ifndef GLAPI
49 #define GLAPI extern
50 #endif
51 
52 /*************************************************************/
53 
54 #ifndef GL_VERSION_1_2
55 #define GL_UNSIGNED_BYTE_3_3_2            0x8032
56 #define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
57 #define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
58 #define GL_UNSIGNED_INT_8_8_8_8           0x8035
59 #define GL_UNSIGNED_INT_10_10_10_2        0x8036
60 #define GL_TEXTURE_BINDING_3D             0x806A
61 #define GL_PACK_SKIP_IMAGES               0x806B
62 #define GL_PACK_IMAGE_HEIGHT              0x806C
63 #define GL_UNPACK_SKIP_IMAGES             0x806D
64 #define GL_UNPACK_IMAGE_HEIGHT            0x806E
65 #define GL_TEXTURE_3D                     0x806F
66 #define GL_PROXY_TEXTURE_3D               0x8070
67 #define GL_TEXTURE_DEPTH                  0x8071
68 #define GL_TEXTURE_WRAP_R                 0x8072
69 #define GL_MAX_3D_TEXTURE_SIZE            0x8073
70 #define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
71 #define GL_UNSIGNED_SHORT_5_6_5           0x8363
72 #define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
73 #define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
74 #define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
75 #define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
76 #define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
77 #define GL_BGR                            0x80E0
78 #define GL_BGRA                           0x80E1
79 #define GL_MAX_ELEMENTS_VERTICES          0x80E8
80 #define GL_MAX_ELEMENTS_INDICES           0x80E9
81 #define GL_CLAMP_TO_EDGE                  0x812F
82 #define GL_TEXTURE_MIN_LOD                0x813A
83 #define GL_TEXTURE_MAX_LOD                0x813B
84 #define GL_TEXTURE_BASE_LEVEL             0x813C
85 #define GL_TEXTURE_MAX_LEVEL              0x813D
86 #define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
87 #define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
88 #define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
89 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
90 #define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
91 #define GL_RESCALE_NORMAL                 0x803A
92 #define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
93 #define GL_SINGLE_COLOR                   0x81F9
94 #define GL_SEPARATE_SPECULAR_COLOR        0x81FA
95 #define GL_ALIASED_POINT_SIZE_RANGE       0x846D
96 #endif
97 
98 #ifndef GL_ARB_imaging
99 #define GL_CONSTANT_COLOR                 0x8001
100 #define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
101 #define GL_CONSTANT_ALPHA                 0x8003
102 #define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
103 #define GL_BLEND_COLOR                    0x8005
104 #define GL_FUNC_ADD                       0x8006
105 #define GL_MIN                            0x8007
106 #define GL_MAX                            0x8008
107 #define GL_BLEND_EQUATION                 0x8009
108 #define GL_FUNC_SUBTRACT                  0x800A
109 #define GL_FUNC_REVERSE_SUBTRACT          0x800B
110 #define GL_CONVOLUTION_1D                 0x8010
111 #define GL_CONVOLUTION_2D                 0x8011
112 #define GL_SEPARABLE_2D                   0x8012
113 #define GL_CONVOLUTION_BORDER_MODE        0x8013
114 #define GL_CONVOLUTION_FILTER_SCALE       0x8014
115 #define GL_CONVOLUTION_FILTER_BIAS        0x8015
116 #define GL_REDUCE                         0x8016
117 #define GL_CONVOLUTION_FORMAT             0x8017
118 #define GL_CONVOLUTION_WIDTH              0x8018
119 #define GL_CONVOLUTION_HEIGHT             0x8019
120 #define GL_MAX_CONVOLUTION_WIDTH          0x801A
121 #define GL_MAX_CONVOLUTION_HEIGHT         0x801B
122 #define GL_POST_CONVOLUTION_RED_SCALE     0x801C
123 #define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
124 #define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
125 #define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
126 #define GL_POST_CONVOLUTION_RED_BIAS      0x8020
127 #define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
128 #define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
129 #define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
130 #define GL_HISTOGRAM                      0x8024
131 #define GL_PROXY_HISTOGRAM                0x8025
132 #define GL_HISTOGRAM_WIDTH                0x8026
133 #define GL_HISTOGRAM_FORMAT               0x8027
134 #define GL_HISTOGRAM_RED_SIZE             0x8028
135 #define GL_HISTOGRAM_GREEN_SIZE           0x8029
136 #define GL_HISTOGRAM_BLUE_SIZE            0x802A
137 #define GL_HISTOGRAM_ALPHA_SIZE           0x802B
138 #define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
139 #define GL_HISTOGRAM_SINK                 0x802D
140 #define GL_MINMAX                         0x802E
141 #define GL_MINMAX_FORMAT                  0x802F
142 #define GL_MINMAX_SINK                    0x8030
143 #define GL_TABLE_TOO_LARGE                0x8031
144 #define GL_COLOR_MATRIX                   0x80B1
145 #define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
146 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
147 #define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
148 #define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
149 #define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
150 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
151 #define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
152 #define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
153 #define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
154 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
155 #define GL_COLOR_TABLE                    0x80D0
156 #define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
157 #define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
158 #define GL_PROXY_COLOR_TABLE              0x80D3
159 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
160 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
161 #define GL_COLOR_TABLE_SCALE              0x80D6
162 #define GL_COLOR_TABLE_BIAS               0x80D7
163 #define GL_COLOR_TABLE_FORMAT             0x80D8
164 #define GL_COLOR_TABLE_WIDTH              0x80D9
165 #define GL_COLOR_TABLE_RED_SIZE           0x80DA
166 #define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
167 #define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
168 #define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
169 #define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
170 #define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
171 #define GL_CONSTANT_BORDER                0x8151
172 #define GL_REPLICATE_BORDER               0x8153
173 #define GL_CONVOLUTION_BORDER_COLOR       0x8154
174 #endif
175 
176 #ifndef GL_VERSION_1_3
177 #define GL_TEXTURE0                       0x84C0
178 #define GL_TEXTURE1                       0x84C1
179 #define GL_TEXTURE2                       0x84C2
180 #define GL_TEXTURE3                       0x84C3
181 #define GL_TEXTURE4                       0x84C4
182 #define GL_TEXTURE5                       0x84C5
183 #define GL_TEXTURE6                       0x84C6
184 #define GL_TEXTURE7                       0x84C7
185 #define GL_TEXTURE8                       0x84C8
186 #define GL_TEXTURE9                       0x84C9
187 #define GL_TEXTURE10                      0x84CA
188 #define GL_TEXTURE11                      0x84CB
189 #define GL_TEXTURE12                      0x84CC
190 #define GL_TEXTURE13                      0x84CD
191 #define GL_TEXTURE14                      0x84CE
192 #define GL_TEXTURE15                      0x84CF
193 #define GL_TEXTURE16                      0x84D0
194 #define GL_TEXTURE17                      0x84D1
195 #define GL_TEXTURE18                      0x84D2
196 #define GL_TEXTURE19                      0x84D3
197 #define GL_TEXTURE20                      0x84D4
198 #define GL_TEXTURE21                      0x84D5
199 #define GL_TEXTURE22                      0x84D6
200 #define GL_TEXTURE23                      0x84D7
201 #define GL_TEXTURE24                      0x84D8
202 #define GL_TEXTURE25                      0x84D9
203 #define GL_TEXTURE26                      0x84DA
204 #define GL_TEXTURE27                      0x84DB
205 #define GL_TEXTURE28                      0x84DC
206 #define GL_TEXTURE29                      0x84DD
207 #define GL_TEXTURE30                      0x84DE
208 #define GL_TEXTURE31                      0x84DF
209 #define GL_ACTIVE_TEXTURE                 0x84E0
210 #define GL_MULTISAMPLE                    0x809D
211 #define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
212 #define GL_SAMPLE_ALPHA_TO_ONE            0x809F
213 #define GL_SAMPLE_COVERAGE                0x80A0
214 #define GL_SAMPLE_BUFFERS                 0x80A8
215 #define GL_SAMPLES                        0x80A9
216 #define GL_SAMPLE_COVERAGE_VALUE          0x80AA
217 #define GL_SAMPLE_COVERAGE_INVERT         0x80AB
218 #define GL_TEXTURE_CUBE_MAP               0x8513
219 #define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
220 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
221 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
222 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
223 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
224 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
225 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
226 #define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
227 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
228 #define GL_COMPRESSED_RGB                 0x84ED
229 #define GL_COMPRESSED_RGBA                0x84EE
230 #define GL_TEXTURE_COMPRESSION_HINT       0x84EF
231 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
232 #define GL_TEXTURE_COMPRESSED             0x86A1
233 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
234 #define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
235 #define GL_CLAMP_TO_BORDER                0x812D
236 #define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
237 #define GL_MAX_TEXTURE_UNITS              0x84E2
238 #define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
239 #define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
240 #define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
241 #define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
242 #define GL_MULTISAMPLE_BIT                0x20000000
243 #define GL_NORMAL_MAP                     0x8511
244 #define GL_REFLECTION_MAP                 0x8512
245 #define GL_COMPRESSED_ALPHA               0x84E9
246 #define GL_COMPRESSED_LUMINANCE           0x84EA
247 #define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
248 #define GL_COMPRESSED_INTENSITY           0x84EC
249 #define GL_COMBINE                        0x8570
250 #define GL_COMBINE_RGB                    0x8571
251 #define GL_COMBINE_ALPHA                  0x8572
252 #define GL_SOURCE0_RGB                    0x8580
253 #define GL_SOURCE1_RGB                    0x8581
254 #define GL_SOURCE2_RGB                    0x8582
255 #define GL_SOURCE0_ALPHA                  0x8588
256 #define GL_SOURCE1_ALPHA                  0x8589
257 #define GL_SOURCE2_ALPHA                  0x858A
258 #define GL_OPERAND0_RGB                   0x8590
259 #define GL_OPERAND1_RGB                   0x8591
260 #define GL_OPERAND2_RGB                   0x8592
261 #define GL_OPERAND0_ALPHA                 0x8598
262 #define GL_OPERAND1_ALPHA                 0x8599
263 #define GL_OPERAND2_ALPHA                 0x859A
264 #define GL_RGB_SCALE                      0x8573
265 #define GL_ADD_SIGNED                     0x8574
266 #define GL_INTERPOLATE                    0x8575
267 #define GL_SUBTRACT                       0x84E7
268 #define GL_CONSTANT                       0x8576
269 #define GL_PRIMARY_COLOR                  0x8577
270 #define GL_PREVIOUS                       0x8578
271 #define GL_DOT3_RGB                       0x86AE
272 #define GL_DOT3_RGBA                      0x86AF
273 #endif
274 
275 #ifndef GL_VERSION_1_4
276 #define GL_BLEND_DST_RGB                  0x80C8
277 #define GL_BLEND_SRC_RGB                  0x80C9
278 #define GL_BLEND_DST_ALPHA                0x80CA
279 #define GL_BLEND_SRC_ALPHA                0x80CB
280 #define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
281 #define GL_DEPTH_COMPONENT16              0x81A5
282 #define GL_DEPTH_COMPONENT24              0x81A6
283 #define GL_DEPTH_COMPONENT32              0x81A7
284 #define GL_MIRRORED_REPEAT                0x8370
285 #define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
286 #define GL_TEXTURE_LOD_BIAS               0x8501
287 #define GL_INCR_WRAP                      0x8507
288 #define GL_DECR_WRAP                      0x8508
289 #define GL_TEXTURE_DEPTH_SIZE             0x884A
290 #define GL_TEXTURE_COMPARE_MODE           0x884C
291 #define GL_TEXTURE_COMPARE_FUNC           0x884D
292 #define GL_POINT_SIZE_MIN                 0x8126
293 #define GL_POINT_SIZE_MAX                 0x8127
294 #define GL_POINT_DISTANCE_ATTENUATION     0x8129
295 #define GL_GENERATE_MIPMAP                0x8191
296 #define GL_GENERATE_MIPMAP_HINT           0x8192
297 #define GL_FOG_COORDINATE_SOURCE          0x8450
298 #define GL_FOG_COORDINATE                 0x8451
299 #define GL_FRAGMENT_DEPTH                 0x8452
300 #define GL_CURRENT_FOG_COORDINATE         0x8453
301 #define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
302 #define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
303 #define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
304 #define GL_FOG_COORDINATE_ARRAY           0x8457
305 #define GL_COLOR_SUM                      0x8458
306 #define GL_CURRENT_SECONDARY_COLOR        0x8459
307 #define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
308 #define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
309 #define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
310 #define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
311 #define GL_SECONDARY_COLOR_ARRAY          0x845E
312 #define GL_TEXTURE_FILTER_CONTROL         0x8500
313 #define GL_DEPTH_TEXTURE_MODE             0x884B
314 #define GL_COMPARE_R_TO_TEXTURE           0x884E
315 #endif
316 
317 #ifndef GL_VERSION_1_5
318 #define GL_BUFFER_SIZE                    0x8764
319 #define GL_BUFFER_USAGE                   0x8765
320 #define GL_QUERY_COUNTER_BITS             0x8864
321 #define GL_CURRENT_QUERY                  0x8865
322 #define GL_QUERY_RESULT                   0x8866
323 #define GL_QUERY_RESULT_AVAILABLE         0x8867
324 #define GL_ARRAY_BUFFER                   0x8892
325 #define GL_ELEMENT_ARRAY_BUFFER           0x8893
326 #define GL_ARRAY_BUFFER_BINDING           0x8894
327 #define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
328 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
329 #define GL_READ_ONLY                      0x88B8
330 #define GL_WRITE_ONLY                     0x88B9
331 #define GL_READ_WRITE                     0x88BA
332 #define GL_BUFFER_ACCESS                  0x88BB
333 #define GL_BUFFER_MAPPED                  0x88BC
334 #define GL_BUFFER_MAP_POINTER             0x88BD
335 #define GL_STREAM_DRAW                    0x88E0
336 #define GL_STREAM_READ                    0x88E1
337 #define GL_STREAM_COPY                    0x88E2
338 #define GL_STATIC_DRAW                    0x88E4
339 #define GL_STATIC_READ                    0x88E5
340 #define GL_STATIC_COPY                    0x88E6
341 #define GL_DYNAMIC_DRAW                   0x88E8
342 #define GL_DYNAMIC_READ                   0x88E9
343 #define GL_DYNAMIC_COPY                   0x88EA
344 #define GL_SAMPLES_PASSED                 0x8914
345 #define GL_SRC1_ALPHA                     0x8589
346 #define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
347 #define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
348 #define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
349 #define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
350 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
351 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
352 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
353 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
354 #define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
355 #define GL_FOG_COORD_SRC                  0x8450
356 #define GL_FOG_COORD                      0x8451
357 #define GL_CURRENT_FOG_COORD              0x8453
358 #define GL_FOG_COORD_ARRAY_TYPE           0x8454
359 #define GL_FOG_COORD_ARRAY_STRIDE         0x8455
360 #define GL_FOG_COORD_ARRAY_POINTER        0x8456
361 #define GL_FOG_COORD_ARRAY                0x8457
362 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
363 #define GL_SRC0_RGB                       0x8580
364 #define GL_SRC1_RGB                       0x8581
365 #define GL_SRC2_RGB                       0x8582
366 #define GL_SRC0_ALPHA                     0x8588
367 #define GL_SRC2_ALPHA                     0x858A
368 #endif
369 
370 #ifndef GL_VERSION_2_0
371 #define GL_BLEND_EQUATION_RGB             0x8009
372 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
373 #define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
374 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
375 #define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
376 #define GL_CURRENT_VERTEX_ATTRIB          0x8626
377 #define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642
378 #define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
379 #define GL_STENCIL_BACK_FUNC              0x8800
380 #define GL_STENCIL_BACK_FAIL              0x8801
381 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
382 #define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
383 #define GL_MAX_DRAW_BUFFERS               0x8824
384 #define GL_DRAW_BUFFER0                   0x8825
385 #define GL_DRAW_BUFFER1                   0x8826
386 #define GL_DRAW_BUFFER2                   0x8827
387 #define GL_DRAW_BUFFER3                   0x8828
388 #define GL_DRAW_BUFFER4                   0x8829
389 #define GL_DRAW_BUFFER5                   0x882A
390 #define GL_DRAW_BUFFER6                   0x882B
391 #define GL_DRAW_BUFFER7                   0x882C
392 #define GL_DRAW_BUFFER8                   0x882D
393 #define GL_DRAW_BUFFER9                   0x882E
394 #define GL_DRAW_BUFFER10                  0x882F
395 #define GL_DRAW_BUFFER11                  0x8830
396 #define GL_DRAW_BUFFER12                  0x8831
397 #define GL_DRAW_BUFFER13                  0x8832
398 #define GL_DRAW_BUFFER14                  0x8833
399 #define GL_DRAW_BUFFER15                  0x8834
400 #define GL_BLEND_EQUATION_ALPHA           0x883D
401 #define GL_MAX_VERTEX_ATTRIBS             0x8869
402 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
403 #define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
404 #define GL_FRAGMENT_SHADER                0x8B30
405 #define GL_VERTEX_SHADER                  0x8B31
406 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
407 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
408 #define GL_MAX_VARYING_FLOATS             0x8B4B
409 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
410 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
411 #define GL_SHADER_TYPE                    0x8B4F
412 #define GL_FLOAT_VEC2                     0x8B50
413 #define GL_FLOAT_VEC3                     0x8B51
414 #define GL_FLOAT_VEC4                     0x8B52
415 #define GL_INT_VEC2                       0x8B53
416 #define GL_INT_VEC3                       0x8B54
417 #define GL_INT_VEC4                       0x8B55
418 #define GL_BOOL                           0x8B56
419 #define GL_BOOL_VEC2                      0x8B57
420 #define GL_BOOL_VEC3                      0x8B58
421 #define GL_BOOL_VEC4                      0x8B59
422 #define GL_FLOAT_MAT2                     0x8B5A
423 #define GL_FLOAT_MAT3                     0x8B5B
424 #define GL_FLOAT_MAT4                     0x8B5C
425 #define GL_SAMPLER_1D                     0x8B5D
426 #define GL_SAMPLER_2D                     0x8B5E
427 #define GL_SAMPLER_3D                     0x8B5F
428 #define GL_SAMPLER_CUBE                   0x8B60
429 #define GL_SAMPLER_1D_SHADOW              0x8B61
430 #define GL_SAMPLER_2D_SHADOW              0x8B62
431 #define GL_DELETE_STATUS                  0x8B80
432 #define GL_COMPILE_STATUS                 0x8B81
433 #define GL_LINK_STATUS                    0x8B82
434 #define GL_VALIDATE_STATUS                0x8B83
435 #define GL_INFO_LOG_LENGTH                0x8B84
436 #define GL_ATTACHED_SHADERS               0x8B85
437 #define GL_ACTIVE_UNIFORMS                0x8B86
438 #define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
439 #define GL_SHADER_SOURCE_LENGTH           0x8B88
440 #define GL_ACTIVE_ATTRIBUTES              0x8B89
441 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
442 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
443 #define GL_SHADING_LANGUAGE_VERSION       0x8B8C
444 #define GL_CURRENT_PROGRAM                0x8B8D
445 #define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
446 #define GL_LOWER_LEFT                     0x8CA1
447 #define GL_UPPER_LEFT                     0x8CA2
448 #define GL_STENCIL_BACK_REF               0x8CA3
449 #define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
450 #define GL_STENCIL_BACK_WRITEMASK         0x8CA5
451 #define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
452 #define GL_POINT_SPRITE                   0x8861
453 #define GL_COORD_REPLACE                  0x8862
454 #define GL_MAX_TEXTURE_COORDS             0x8871
455 #endif
456 
457 #ifndef GL_VERSION_2_1
458 #define GL_PIXEL_PACK_BUFFER              0x88EB
459 #define GL_PIXEL_UNPACK_BUFFER            0x88EC
460 #define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
461 #define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
462 #define GL_FLOAT_MAT2x3                   0x8B65
463 #define GL_FLOAT_MAT2x4                   0x8B66
464 #define GL_FLOAT_MAT3x2                   0x8B67
465 #define GL_FLOAT_MAT3x4                   0x8B68
466 #define GL_FLOAT_MAT4x2                   0x8B69
467 #define GL_FLOAT_MAT4x3                   0x8B6A
468 #define GL_SRGB                           0x8C40
469 #define GL_SRGB8                          0x8C41
470 #define GL_SRGB_ALPHA                     0x8C42
471 #define GL_SRGB8_ALPHA8                   0x8C43
472 #define GL_COMPRESSED_SRGB                0x8C48
473 #define GL_COMPRESSED_SRGB_ALPHA          0x8C49
474 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
475 #define GL_SLUMINANCE_ALPHA               0x8C44
476 #define GL_SLUMINANCE8_ALPHA8             0x8C45
477 #define GL_SLUMINANCE                     0x8C46
478 #define GL_SLUMINANCE8                    0x8C47
479 #define GL_COMPRESSED_SLUMINANCE          0x8C4A
480 #define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
481 #endif
482 
483 #ifndef GL_VERSION_3_0
484 #define GL_COMPARE_REF_TO_TEXTURE         0x884E
485 #define GL_CLIP_DISTANCE0                 0x3000
486 #define GL_CLIP_DISTANCE1                 0x3001
487 #define GL_CLIP_DISTANCE2                 0x3002
488 #define GL_CLIP_DISTANCE3                 0x3003
489 #define GL_CLIP_DISTANCE4                 0x3004
490 #define GL_CLIP_DISTANCE5                 0x3005
491 #define GL_CLIP_DISTANCE6                 0x3006
492 #define GL_CLIP_DISTANCE7                 0x3007
493 #define GL_MAX_CLIP_DISTANCES             0x0D32
494 #define GL_MAJOR_VERSION                  0x821B
495 #define GL_MINOR_VERSION                  0x821C
496 #define GL_NUM_EXTENSIONS                 0x821D
497 #define GL_CONTEXT_FLAGS                  0x821E
498 #define GL_COMPRESSED_RED                 0x8225
499 #define GL_COMPRESSED_RG                  0x8226
500 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
501 #define GL_RGBA32F                        0x8814
502 #define GL_RGB32F                         0x8815
503 #define GL_RGBA16F                        0x881A
504 #define GL_RGB16F                         0x881B
505 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER    0x88FD
506 #define GL_MAX_ARRAY_TEXTURE_LAYERS       0x88FF
507 #define GL_MIN_PROGRAM_TEXEL_OFFSET       0x8904
508 #define GL_MAX_PROGRAM_TEXEL_OFFSET       0x8905
509 #define GL_CLAMP_READ_COLOR               0x891C
510 #define GL_FIXED_ONLY                     0x891D
511 #define GL_MAX_VARYING_COMPONENTS         0x8B4B
512 #define GL_TEXTURE_1D_ARRAY               0x8C18
513 #define GL_PROXY_TEXTURE_1D_ARRAY         0x8C19
514 #define GL_TEXTURE_2D_ARRAY               0x8C1A
515 #define GL_PROXY_TEXTURE_2D_ARRAY         0x8C1B
516 #define GL_TEXTURE_BINDING_1D_ARRAY       0x8C1C
517 #define GL_TEXTURE_BINDING_2D_ARRAY       0x8C1D
518 #define GL_R11F_G11F_B10F                 0x8C3A
519 #define GL_UNSIGNED_INT_10F_11F_11F_REV   0x8C3B
520 #define GL_RGB9_E5                        0x8C3D
521 #define GL_UNSIGNED_INT_5_9_9_9_REV       0x8C3E
522 #define GL_TEXTURE_SHARED_SIZE            0x8C3F
523 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
524 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
525 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
526 #define GL_TRANSFORM_FEEDBACK_VARYINGS    0x8C83
527 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
528 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
529 #define GL_PRIMITIVES_GENERATED           0x8C87
530 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
531 #define GL_RASTERIZER_DISCARD             0x8C89
532 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
533 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
534 #define GL_INTERLEAVED_ATTRIBS            0x8C8C
535 #define GL_SEPARATE_ATTRIBS               0x8C8D
536 #define GL_TRANSFORM_FEEDBACK_BUFFER      0x8C8E
537 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
538 #define GL_RGBA32UI                       0x8D70
539 #define GL_RGB32UI                        0x8D71
540 #define GL_RGBA16UI                       0x8D76
541 #define GL_RGB16UI                        0x8D77
542 #define GL_RGBA8UI                        0x8D7C
543 #define GL_RGB8UI                         0x8D7D
544 #define GL_RGBA32I                        0x8D82
545 #define GL_RGB32I                         0x8D83
546 #define GL_RGBA16I                        0x8D88
547 #define GL_RGB16I                         0x8D89
548 #define GL_RGBA8I                         0x8D8E
549 #define GL_RGB8I                          0x8D8F
550 #define GL_RED_INTEGER                    0x8D94
551 #define GL_GREEN_INTEGER                  0x8D95
552 #define GL_BLUE_INTEGER                   0x8D96
553 #define GL_RGB_INTEGER                    0x8D98
554 #define GL_RGBA_INTEGER                   0x8D99
555 #define GL_BGR_INTEGER                    0x8D9A
556 #define GL_BGRA_INTEGER                   0x8D9B
557 #define GL_SAMPLER_1D_ARRAY               0x8DC0
558 #define GL_SAMPLER_2D_ARRAY               0x8DC1
559 #define GL_SAMPLER_1D_ARRAY_SHADOW        0x8DC3
560 #define GL_SAMPLER_2D_ARRAY_SHADOW        0x8DC4
561 #define GL_SAMPLER_CUBE_SHADOW            0x8DC5
562 #define GL_UNSIGNED_INT_VEC2              0x8DC6
563 #define GL_UNSIGNED_INT_VEC3              0x8DC7
564 #define GL_UNSIGNED_INT_VEC4              0x8DC8
565 #define GL_INT_SAMPLER_1D                 0x8DC9
566 #define GL_INT_SAMPLER_2D                 0x8DCA
567 #define GL_INT_SAMPLER_3D                 0x8DCB
568 #define GL_INT_SAMPLER_CUBE               0x8DCC
569 #define GL_INT_SAMPLER_1D_ARRAY           0x8DCE
570 #define GL_INT_SAMPLER_2D_ARRAY           0x8DCF
571 #define GL_UNSIGNED_INT_SAMPLER_1D        0x8DD1
572 #define GL_UNSIGNED_INT_SAMPLER_2D        0x8DD2
573 #define GL_UNSIGNED_INT_SAMPLER_3D        0x8DD3
574 #define GL_UNSIGNED_INT_SAMPLER_CUBE      0x8DD4
575 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY  0x8DD6
576 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY  0x8DD7
577 #define GL_QUERY_WAIT                     0x8E13
578 #define GL_QUERY_NO_WAIT                  0x8E14
579 #define GL_QUERY_BY_REGION_WAIT           0x8E15
580 #define GL_QUERY_BY_REGION_NO_WAIT        0x8E16
581 #define GL_BUFFER_ACCESS_FLAGS            0x911F
582 #define GL_BUFFER_MAP_LENGTH              0x9120
583 #define GL_BUFFER_MAP_OFFSET              0x9121
584 /* Reuse tokens from ARB_depth_buffer_float */
585 /* reuse GL_DEPTH_COMPONENT32F */
586 /* reuse GL_DEPTH32F_STENCIL8 */
587 /* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */
588 /* Reuse tokens from ARB_framebuffer_object */
589 /* reuse GL_INVALID_FRAMEBUFFER_OPERATION */
590 /* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
591 /* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
592 /* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
593 /* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
594 /* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
595 /* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
596 /* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
597 /* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
598 /* reuse GL_FRAMEBUFFER_DEFAULT */
599 /* reuse GL_FRAMEBUFFER_UNDEFINED */
600 /* reuse GL_DEPTH_STENCIL_ATTACHMENT */
601 /* reuse GL_INDEX */
602 /* reuse GL_MAX_RENDERBUFFER_SIZE */
603 /* reuse GL_DEPTH_STENCIL */
604 /* reuse GL_UNSIGNED_INT_24_8 */
605 /* reuse GL_DEPTH24_STENCIL8 */
606 /* reuse GL_TEXTURE_STENCIL_SIZE */
607 /* reuse GL_TEXTURE_RED_TYPE */
608 /* reuse GL_TEXTURE_GREEN_TYPE */
609 /* reuse GL_TEXTURE_BLUE_TYPE */
610 /* reuse GL_TEXTURE_ALPHA_TYPE */
611 /* reuse GL_TEXTURE_DEPTH_TYPE */
612 /* reuse GL_UNSIGNED_NORMALIZED */
613 /* reuse GL_FRAMEBUFFER_BINDING */
614 /* reuse GL_DRAW_FRAMEBUFFER_BINDING */
615 /* reuse GL_RENDERBUFFER_BINDING */
616 /* reuse GL_READ_FRAMEBUFFER */
617 /* reuse GL_DRAW_FRAMEBUFFER */
618 /* reuse GL_READ_FRAMEBUFFER_BINDING */
619 /* reuse GL_RENDERBUFFER_SAMPLES */
620 /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
621 /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
622 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
623 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
624 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
625 /* reuse GL_FRAMEBUFFER_COMPLETE */
626 /* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
627 /* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
628 /* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */
629 /* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */
630 /* reuse GL_FRAMEBUFFER_UNSUPPORTED */
631 /* reuse GL_MAX_COLOR_ATTACHMENTS */
632 /* reuse GL_COLOR_ATTACHMENT0 */
633 /* reuse GL_COLOR_ATTACHMENT1 */
634 /* reuse GL_COLOR_ATTACHMENT2 */
635 /* reuse GL_COLOR_ATTACHMENT3 */
636 /* reuse GL_COLOR_ATTACHMENT4 */
637 /* reuse GL_COLOR_ATTACHMENT5 */
638 /* reuse GL_COLOR_ATTACHMENT6 */
639 /* reuse GL_COLOR_ATTACHMENT7 */
640 /* reuse GL_COLOR_ATTACHMENT8 */
641 /* reuse GL_COLOR_ATTACHMENT9 */
642 /* reuse GL_COLOR_ATTACHMENT10 */
643 /* reuse GL_COLOR_ATTACHMENT11 */
644 /* reuse GL_COLOR_ATTACHMENT12 */
645 /* reuse GL_COLOR_ATTACHMENT13 */
646 /* reuse GL_COLOR_ATTACHMENT14 */
647 /* reuse GL_COLOR_ATTACHMENT15 */
648 /* reuse GL_DEPTH_ATTACHMENT */
649 /* reuse GL_STENCIL_ATTACHMENT */
650 /* reuse GL_FRAMEBUFFER */
651 /* reuse GL_RENDERBUFFER */
652 /* reuse GL_RENDERBUFFER_WIDTH */
653 /* reuse GL_RENDERBUFFER_HEIGHT */
654 /* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */
655 /* reuse GL_STENCIL_INDEX1 */
656 /* reuse GL_STENCIL_INDEX4 */
657 /* reuse GL_STENCIL_INDEX8 */
658 /* reuse GL_STENCIL_INDEX16 */
659 /* reuse GL_RENDERBUFFER_RED_SIZE */
660 /* reuse GL_RENDERBUFFER_GREEN_SIZE */
661 /* reuse GL_RENDERBUFFER_BLUE_SIZE */
662 /* reuse GL_RENDERBUFFER_ALPHA_SIZE */
663 /* reuse GL_RENDERBUFFER_DEPTH_SIZE */
664 /* reuse GL_RENDERBUFFER_STENCIL_SIZE */
665 /* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
666 /* reuse GL_MAX_SAMPLES */
667 /* Reuse tokens from ARB_framebuffer_sRGB */
668 /* reuse GL_FRAMEBUFFER_SRGB */
669 /* Reuse tokens from ARB_half_float_vertex */
670 /* reuse GL_HALF_FLOAT */
671 /* Reuse tokens from ARB_map_buffer_range */
672 /* reuse GL_MAP_READ_BIT */
673 /* reuse GL_MAP_WRITE_BIT */
674 /* reuse GL_MAP_INVALIDATE_RANGE_BIT */
675 /* reuse GL_MAP_INVALIDATE_BUFFER_BIT */
676 /* reuse GL_MAP_FLUSH_EXPLICIT_BIT */
677 /* reuse GL_MAP_UNSYNCHRONIZED_BIT */
678 /* Reuse tokens from ARB_texture_compression_rgtc */
679 /* reuse GL_COMPRESSED_RED_RGTC1 */
680 /* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */
681 /* reuse GL_COMPRESSED_RG_RGTC2 */
682 /* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */
683 /* Reuse tokens from ARB_texture_rg */
684 /* reuse GL_RG */
685 /* reuse GL_RG_INTEGER */
686 /* reuse GL_R8 */
687 /* reuse GL_R16 */
688 /* reuse GL_RG8 */
689 /* reuse GL_RG16 */
690 /* reuse GL_R16F */
691 /* reuse GL_R32F */
692 /* reuse GL_RG16F */
693 /* reuse GL_RG32F */
694 /* reuse GL_R8I */
695 /* reuse GL_R8UI */
696 /* reuse GL_R16I */
697 /* reuse GL_R16UI */
698 /* reuse GL_R32I */
699 /* reuse GL_R32UI */
700 /* reuse GL_RG8I */
701 /* reuse GL_RG8UI */
702 /* reuse GL_RG16I */
703 /* reuse GL_RG16UI */
704 /* reuse GL_RG32I */
705 /* reuse GL_RG32UI */
706 /* Reuse tokens from ARB_vertex_array_object */
707 /* reuse GL_VERTEX_ARRAY_BINDING */
708 #define GL_CLAMP_VERTEX_COLOR             0x891A
709 #define GL_CLAMP_FRAGMENT_COLOR           0x891B
710 #define GL_ALPHA_INTEGER                  0x8D97
711 /* Reuse tokens from ARB_framebuffer_object */
712 /* reuse GL_TEXTURE_LUMINANCE_TYPE */
713 /* reuse GL_TEXTURE_INTENSITY_TYPE */
714 #endif
715 
716 #ifndef GL_VERSION_3_1
717 #define GL_SAMPLER_2D_RECT                0x8B63
718 #define GL_SAMPLER_2D_RECT_SHADOW         0x8B64
719 #define GL_SAMPLER_BUFFER                 0x8DC2
720 #define GL_INT_SAMPLER_2D_RECT            0x8DCD
721 #define GL_INT_SAMPLER_BUFFER             0x8DD0
722 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT   0x8DD5
723 #define GL_UNSIGNED_INT_SAMPLER_BUFFER    0x8DD8
724 #define GL_TEXTURE_BUFFER                 0x8C2A
725 #define GL_MAX_TEXTURE_BUFFER_SIZE        0x8C2B
726 #define GL_TEXTURE_BINDING_BUFFER         0x8C2C
727 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
728 #define GL_TEXTURE_RECTANGLE              0x84F5
729 #define GL_TEXTURE_BINDING_RECTANGLE      0x84F6
730 #define GL_PROXY_TEXTURE_RECTANGLE        0x84F7
731 #define GL_MAX_RECTANGLE_TEXTURE_SIZE     0x84F8
732 #define GL_RED_SNORM                      0x8F90
733 #define GL_RG_SNORM                       0x8F91
734 #define GL_RGB_SNORM                      0x8F92
735 #define GL_RGBA_SNORM                     0x8F93
736 #define GL_R8_SNORM                       0x8F94
737 #define GL_RG8_SNORM                      0x8F95
738 #define GL_RGB8_SNORM                     0x8F96
739 #define GL_RGBA8_SNORM                    0x8F97
740 #define GL_R16_SNORM                      0x8F98
741 #define GL_RG16_SNORM                     0x8F99
742 #define GL_RGB16_SNORM                    0x8F9A
743 #define GL_RGBA16_SNORM                   0x8F9B
744 #define GL_SIGNED_NORMALIZED              0x8F9C
745 #define GL_PRIMITIVE_RESTART              0x8F9D
746 #define GL_PRIMITIVE_RESTART_INDEX        0x8F9E
747 /* Reuse tokens from ARB_copy_buffer */
748 /* reuse GL_COPY_READ_BUFFER */
749 /* reuse GL_COPY_WRITE_BUFFER */
750 /* Reuse tokens from ARB_draw_instanced (none) */
751 /* Reuse tokens from ARB_uniform_buffer_object */
752 /* reuse GL_UNIFORM_BUFFER */
753 /* reuse GL_UNIFORM_BUFFER_BINDING */
754 /* reuse GL_UNIFORM_BUFFER_START */
755 /* reuse GL_UNIFORM_BUFFER_SIZE */
756 /* reuse GL_MAX_VERTEX_UNIFORM_BLOCKS */
757 /* reuse GL_MAX_FRAGMENT_UNIFORM_BLOCKS */
758 /* reuse GL_MAX_COMBINED_UNIFORM_BLOCKS */
759 /* reuse GL_MAX_UNIFORM_BUFFER_BINDINGS */
760 /* reuse GL_MAX_UNIFORM_BLOCK_SIZE */
761 /* reuse GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS */
762 /* reuse GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS */
763 /* reuse GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT */
764 /* reuse GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH */
765 /* reuse GL_ACTIVE_UNIFORM_BLOCKS */
766 /* reuse GL_UNIFORM_TYPE */
767 /* reuse GL_UNIFORM_SIZE */
768 /* reuse GL_UNIFORM_NAME_LENGTH */
769 /* reuse GL_UNIFORM_BLOCK_INDEX */
770 /* reuse GL_UNIFORM_OFFSET */
771 /* reuse GL_UNIFORM_ARRAY_STRIDE */
772 /* reuse GL_UNIFORM_MATRIX_STRIDE */
773 /* reuse GL_UNIFORM_IS_ROW_MAJOR */
774 /* reuse GL_UNIFORM_BLOCK_BINDING */
775 /* reuse GL_UNIFORM_BLOCK_DATA_SIZE */
776 /* reuse GL_UNIFORM_BLOCK_NAME_LENGTH */
777 /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS */
778 /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES */
779 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER */
780 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER */
781 /* reuse GL_INVALID_INDEX */
782 #endif
783 
784 #ifndef GL_VERSION_3_2
785 #define GL_CONTEXT_CORE_PROFILE_BIT       0x00000001
786 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
787 #define GL_LINES_ADJACENCY                0x000A
788 #define GL_LINE_STRIP_ADJACENCY           0x000B
789 #define GL_TRIANGLES_ADJACENCY            0x000C
790 #define GL_TRIANGLE_STRIP_ADJACENCY       0x000D
791 #define GL_PROGRAM_POINT_SIZE             0x8642
792 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
793 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
794 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
795 #define GL_GEOMETRY_SHADER                0x8DD9
796 #define GL_GEOMETRY_VERTICES_OUT          0x8916
797 #define GL_GEOMETRY_INPUT_TYPE            0x8917
798 #define GL_GEOMETRY_OUTPUT_TYPE           0x8918
799 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
800 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES   0x8DE0
801 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
802 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS   0x9122
803 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS  0x9123
804 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
805 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS  0x9125
806 #define GL_CONTEXT_PROFILE_MASK           0x9126
807 /* reuse GL_MAX_VARYING_COMPONENTS */
808 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
809 /* Reuse tokens from ARB_depth_clamp */
810 /* reuse GL_DEPTH_CLAMP */
811 /* Reuse tokens from ARB_draw_elements_base_vertex (none) */
812 /* Reuse tokens from ARB_fragment_coord_conventions (none) */
813 /* Reuse tokens from ARB_provoking_vertex */
814 /* reuse GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION */
815 /* reuse GL_FIRST_VERTEX_CONVENTION */
816 /* reuse GL_LAST_VERTEX_CONVENTION */
817 /* reuse GL_PROVOKING_VERTEX */
818 /* Reuse tokens from ARB_seamless_cube_map */
819 /* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
820 /* Reuse tokens from ARB_sync */
821 /* reuse GL_MAX_SERVER_WAIT_TIMEOUT */
822 /* reuse GL_OBJECT_TYPE */
823 /* reuse GL_SYNC_CONDITION */
824 /* reuse GL_SYNC_STATUS */
825 /* reuse GL_SYNC_FLAGS */
826 /* reuse GL_SYNC_FENCE */
827 /* reuse GL_SYNC_GPU_COMMANDS_COMPLETE */
828 /* reuse GL_UNSIGNALED */
829 /* reuse GL_SIGNALED */
830 /* reuse GL_ALREADY_SIGNALED */
831 /* reuse GL_TIMEOUT_EXPIRED */
832 /* reuse GL_CONDITION_SATISFIED */
833 /* reuse GL_WAIT_FAILED */
834 /* reuse GL_TIMEOUT_IGNORED */
835 /* reuse GL_SYNC_FLUSH_COMMANDS_BIT */
836 /* reuse GL_TIMEOUT_IGNORED */
837 /* Reuse tokens from ARB_texture_multisample */
838 /* reuse GL_SAMPLE_POSITION */
839 /* reuse GL_SAMPLE_MASK */
840 /* reuse GL_SAMPLE_MASK_VALUE */
841 /* reuse GL_MAX_SAMPLE_MASK_WORDS */
842 /* reuse GL_TEXTURE_2D_MULTISAMPLE */
843 /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE */
844 /* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */
845 /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY */
846 /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE */
847 /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY */
848 /* reuse GL_TEXTURE_SAMPLES */
849 /* reuse GL_TEXTURE_FIXED_SAMPLE_LOCATIONS */
850 /* reuse GL_SAMPLER_2D_MULTISAMPLE */
851 /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE */
852 /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE */
853 /* reuse GL_SAMPLER_2D_MULTISAMPLE_ARRAY */
854 /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
855 /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
856 /* reuse GL_MAX_COLOR_TEXTURE_SAMPLES */
857 /* reuse GL_MAX_DEPTH_TEXTURE_SAMPLES */
858 /* reuse GL_MAX_INTEGER_SAMPLES */
859 /* Don't need to reuse tokens from ARB_vertex_array_bgra since they're already in 1.2 core */
860 #endif
861 
862 #ifndef GL_VERSION_3_3
863 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR    0x88FE
864 /* Reuse tokens from ARB_blend_func_extended */
865 /* reuse GL_SRC1_COLOR */
866 /* reuse GL_ONE_MINUS_SRC1_COLOR */
867 /* reuse GL_ONE_MINUS_SRC1_ALPHA */
868 /* reuse GL_MAX_DUAL_SOURCE_DRAW_BUFFERS */
869 /* Reuse tokens from ARB_explicit_attrib_location (none) */
870 /* Reuse tokens from ARB_occlusion_query2 */
871 /* reuse GL_ANY_SAMPLES_PASSED */
872 /* Reuse tokens from ARB_sampler_objects */
873 /* reuse GL_SAMPLER_BINDING */
874 /* Reuse tokens from ARB_shader_bit_encoding (none) */
875 /* Reuse tokens from ARB_texture_rgb10_a2ui */
876 /* reuse GL_RGB10_A2UI */
877 /* Reuse tokens from ARB_texture_swizzle */
878 /* reuse GL_TEXTURE_SWIZZLE_R */
879 /* reuse GL_TEXTURE_SWIZZLE_G */
880 /* reuse GL_TEXTURE_SWIZZLE_B */
881 /* reuse GL_TEXTURE_SWIZZLE_A */
882 /* reuse GL_TEXTURE_SWIZZLE_RGBA */
883 /* Reuse tokens from ARB_timer_query */
884 /* reuse GL_TIME_ELAPSED */
885 /* reuse GL_TIMESTAMP */
886 /* Reuse tokens from ARB_vertex_type_2_10_10_10_rev */
887 /* reuse GL_INT_2_10_10_10_REV */
888 #endif
889 
890 #ifndef GL_VERSION_4_0
891 #define GL_SAMPLE_SHADING                 0x8C36
892 #define GL_MIN_SAMPLE_SHADING_VALUE       0x8C37
893 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
894 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
895 #define GL_TEXTURE_CUBE_MAP_ARRAY         0x9009
896 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
897 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY   0x900B
898 #define GL_SAMPLER_CUBE_MAP_ARRAY         0x900C
899 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW  0x900D
900 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY     0x900E
901 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
902 /* Reuse tokens from ARB_texture_query_lod (none) */
903 /* Reuse tokens from ARB_draw_buffers_blend (none) */
904 /* Reuse tokens from ARB_draw_indirect */
905 /* reuse GL_DRAW_INDIRECT_BUFFER */
906 /* reuse GL_DRAW_INDIRECT_BUFFER_BINDING */
907 /* Reuse tokens from ARB_gpu_shader5 */
908 /* reuse GL_GEOMETRY_SHADER_INVOCATIONS */
909 /* reuse GL_MAX_GEOMETRY_SHADER_INVOCATIONS */
910 /* reuse GL_MIN_FRAGMENT_INTERPOLATION_OFFSET */
911 /* reuse GL_MAX_FRAGMENT_INTERPOLATION_OFFSET */
912 /* reuse GL_FRAGMENT_INTERPOLATION_OFFSET_BITS */
913 /* reuse GL_MAX_VERTEX_STREAMS */
914 /* Reuse tokens from ARB_gpu_shader_fp64 */
915 /* reuse GL_DOUBLE_VEC2 */
916 /* reuse GL_DOUBLE_VEC3 */
917 /* reuse GL_DOUBLE_VEC4 */
918 /* reuse GL_DOUBLE_MAT2 */
919 /* reuse GL_DOUBLE_MAT3 */
920 /* reuse GL_DOUBLE_MAT4 */
921 /* reuse GL_DOUBLE_MAT2x3 */
922 /* reuse GL_DOUBLE_MAT2x4 */
923 /* reuse GL_DOUBLE_MAT3x2 */
924 /* reuse GL_DOUBLE_MAT3x4 */
925 /* reuse GL_DOUBLE_MAT4x2 */
926 /* reuse GL_DOUBLE_MAT4x3 */
927 /* Reuse tokens from ARB_shader_subroutine */
928 /* reuse GL_ACTIVE_SUBROUTINES */
929 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORMS */
930 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS */
931 /* reuse GL_ACTIVE_SUBROUTINE_MAX_LENGTH */
932 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH */
933 /* reuse GL_MAX_SUBROUTINES */
934 /* reuse GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS */
935 /* reuse GL_NUM_COMPATIBLE_SUBROUTINES */
936 /* reuse GL_COMPATIBLE_SUBROUTINES */
937 /* Reuse tokens from ARB_tessellation_shader */
938 /* reuse GL_PATCHES */
939 /* reuse GL_PATCH_VERTICES */
940 /* reuse GL_PATCH_DEFAULT_INNER_LEVEL */
941 /* reuse GL_PATCH_DEFAULT_OUTER_LEVEL */
942 /* reuse GL_TESS_CONTROL_OUTPUT_VERTICES */
943 /* reuse GL_TESS_GEN_MODE */
944 /* reuse GL_TESS_GEN_SPACING */
945 /* reuse GL_TESS_GEN_VERTEX_ORDER */
946 /* reuse GL_TESS_GEN_POINT_MODE */
947 /* reuse GL_ISOLINES */
948 /* reuse GL_FRACTIONAL_ODD */
949 /* reuse GL_FRACTIONAL_EVEN */
950 /* reuse GL_MAX_PATCH_VERTICES */
951 /* reuse GL_MAX_TESS_GEN_LEVEL */
952 /* reuse GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS */
953 /* reuse GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS */
954 /* reuse GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS */
955 /* reuse GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS */
956 /* reuse GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS */
957 /* reuse GL_MAX_TESS_PATCH_COMPONENTS */
958 /* reuse GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS */
959 /* reuse GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS */
960 /* reuse GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS */
961 /* reuse GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS */
962 /* reuse GL_MAX_TESS_CONTROL_INPUT_COMPONENTS */
963 /* reuse GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS */
964 /* reuse GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS */
965 /* reuse GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS */
966 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER */
967 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER */
968 /* reuse GL_TESS_EVALUATION_SHADER */
969 /* reuse GL_TESS_CONTROL_SHADER */
970 /* Reuse tokens from ARB_texture_buffer_object_rgb32 (none) */
971 /* Reuse tokens from ARB_transform_feedback2 */
972 /* reuse GL_TRANSFORM_FEEDBACK */
973 /* reuse GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
974 /* reuse GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
975 /* reuse GL_TRANSFORM_FEEDBACK_BINDING */
976 /* Reuse tokens from ARB_transform_feedback3 */
977 /* reuse GL_MAX_TRANSFORM_FEEDBACK_BUFFERS */
978 /* reuse GL_MAX_VERTEX_STREAMS */
979 #endif
980 
981 #ifndef GL_VERSION_4_1
982 /* Reuse tokens from ARB_ES2_compatibility */
983 /* reuse GL_FIXED */
984 /* reuse GL_IMPLEMENTATION_COLOR_READ_TYPE */
985 /* reuse GL_IMPLEMENTATION_COLOR_READ_FORMAT */
986 /* reuse GL_LOW_FLOAT */
987 /* reuse GL_MEDIUM_FLOAT */
988 /* reuse GL_HIGH_FLOAT */
989 /* reuse GL_LOW_INT */
990 /* reuse GL_MEDIUM_INT */
991 /* reuse GL_HIGH_INT */
992 /* reuse GL_SHADER_COMPILER */
993 /* reuse GL_SHADER_BINARY_FORMATS */
994 /* reuse GL_NUM_SHADER_BINARY_FORMATS */
995 /* reuse GL_MAX_VERTEX_UNIFORM_VECTORS */
996 /* reuse GL_MAX_VARYING_VECTORS */
997 /* reuse GL_MAX_FRAGMENT_UNIFORM_VECTORS */
998 /* reuse GL_RGB565 */
999 /* Reuse tokens from ARB_get_program_binary */
1000 /* reuse GL_PROGRAM_BINARY_RETRIEVABLE_HINT */
1001 /* reuse GL_PROGRAM_BINARY_LENGTH */
1002 /* reuse GL_NUM_PROGRAM_BINARY_FORMATS */
1003 /* reuse GL_PROGRAM_BINARY_FORMATS */
1004 /* Reuse tokens from ARB_separate_shader_objects */
1005 /* reuse GL_VERTEX_SHADER_BIT */
1006 /* reuse GL_FRAGMENT_SHADER_BIT */
1007 /* reuse GL_GEOMETRY_SHADER_BIT */
1008 /* reuse GL_TESS_CONTROL_SHADER_BIT */
1009 /* reuse GL_TESS_EVALUATION_SHADER_BIT */
1010 /* reuse GL_ALL_SHADER_BITS */
1011 /* reuse GL_PROGRAM_SEPARABLE */
1012 /* reuse GL_ACTIVE_PROGRAM */
1013 /* reuse GL_PROGRAM_PIPELINE_BINDING */
1014 /* Reuse tokens from ARB_shader_precision (none) */
1015 /* Reuse tokens from ARB_vertex_attrib_64bit - all are in GL 3.0 and 4.0 already */
1016 /* Reuse tokens from ARB_viewport_array - some are in GL 1.1 and ARB_provoking_vertex already */
1017 /* reuse GL_MAX_VIEWPORTS */
1018 /* reuse GL_VIEWPORT_SUBPIXEL_BITS */
1019 /* reuse GL_VIEWPORT_BOUNDS_RANGE */
1020 /* reuse GL_LAYER_PROVOKING_VERTEX */
1021 /* reuse GL_VIEWPORT_INDEX_PROVOKING_VERTEX */
1022 /* reuse GL_UNDEFINED_VERTEX */
1023 #endif
1024 
1025 #ifndef GL_VERSION_4_2
1026 /* Reuse tokens from ARB_base_instance (none) */
1027 /* Reuse tokens from ARB_shading_language_420pack (none) */
1028 /* Reuse tokens from ARB_transform_feedback_instanced (none) */
1029 /* Reuse tokens from ARB_compressed_texture_pixel_storage */
1030 /* reuse GL_UNPACK_COMPRESSED_BLOCK_WIDTH */
1031 /* reuse GL_UNPACK_COMPRESSED_BLOCK_HEIGHT */
1032 /* reuse GL_UNPACK_COMPRESSED_BLOCK_DEPTH */
1033 /* reuse GL_UNPACK_COMPRESSED_BLOCK_SIZE */
1034 /* reuse GL_PACK_COMPRESSED_BLOCK_WIDTH */
1035 /* reuse GL_PACK_COMPRESSED_BLOCK_HEIGHT */
1036 /* reuse GL_PACK_COMPRESSED_BLOCK_DEPTH */
1037 /* reuse GL_PACK_COMPRESSED_BLOCK_SIZE */
1038 /* Reuse tokens from ARB_conservative_depth (none) */
1039 /* Reuse tokens from ARB_internalformat_query */
1040 /* reuse GL_NUM_SAMPLE_COUNTS */
1041 /* Reuse tokens from ARB_map_buffer_alignment */
1042 /* reuse GL_MIN_MAP_BUFFER_ALIGNMENT */
1043 /* Reuse tokens from ARB_shader_atomic_counters */
1044 /* reuse GL_ATOMIC_COUNTER_BUFFER */
1045 /* reuse GL_ATOMIC_COUNTER_BUFFER_BINDING */
1046 /* reuse GL_ATOMIC_COUNTER_BUFFER_START */
1047 /* reuse GL_ATOMIC_COUNTER_BUFFER_SIZE */
1048 /* reuse GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE */
1049 /* reuse GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS */
1050 /* reuse GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES */
1051 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER */
1052 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER */
1053 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER */
1054 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER */
1055 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER */
1056 /* reuse GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS */
1057 /* reuse GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS */
1058 /* reuse GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS */
1059 /* reuse GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS */
1060 /* reuse GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS */
1061 /* reuse GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS */
1062 /* reuse GL_MAX_VERTEX_ATOMIC_COUNTERS */
1063 /* reuse GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS */
1064 /* reuse GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS */
1065 /* reuse GL_MAX_GEOMETRY_ATOMIC_COUNTERS */
1066 /* reuse GL_MAX_FRAGMENT_ATOMIC_COUNTERS */
1067 /* reuse GL_MAX_COMBINED_ATOMIC_COUNTERS */
1068 /* reuse GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE */
1069 /* reuse GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS */
1070 /* reuse GL_ACTIVE_ATOMIC_COUNTER_BUFFERS */
1071 /* reuse GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX */
1072 /* reuse GL_UNSIGNED_INT_ATOMIC_COUNTER */
1073 /* Reuse tokens from ARB_shader_image_load_store */
1074 /* reuse GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT */
1075 /* reuse GL_ELEMENT_ARRAY_BARRIER_BIT */
1076 /* reuse GL_UNIFORM_BARRIER_BIT */
1077 /* reuse GL_TEXTURE_FETCH_BARRIER_BIT */
1078 /* reuse GL_SHADER_IMAGE_ACCESS_BARRIER_BIT */
1079 /* reuse GL_COMMAND_BARRIER_BIT */
1080 /* reuse GL_PIXEL_BUFFER_BARRIER_BIT */
1081 /* reuse GL_TEXTURE_UPDATE_BARRIER_BIT */
1082 /* reuse GL_BUFFER_UPDATE_BARRIER_BIT */
1083 /* reuse GL_FRAMEBUFFER_BARRIER_BIT */
1084 /* reuse GL_TRANSFORM_FEEDBACK_BARRIER_BIT */
1085 /* reuse GL_ATOMIC_COUNTER_BARRIER_BIT */
1086 /* reuse GL_ALL_BARRIER_BITS */
1087 /* reuse GL_MAX_IMAGE_UNITS */
1088 /* reuse GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS */
1089 /* reuse GL_IMAGE_BINDING_NAME */
1090 /* reuse GL_IMAGE_BINDING_LEVEL */
1091 /* reuse GL_IMAGE_BINDING_LAYERED */
1092 /* reuse GL_IMAGE_BINDING_LAYER */
1093 /* reuse GL_IMAGE_BINDING_ACCESS */
1094 /* reuse GL_IMAGE_1D */
1095 /* reuse GL_IMAGE_2D */
1096 /* reuse GL_IMAGE_3D */
1097 /* reuse GL_IMAGE_2D_RECT */
1098 /* reuse GL_IMAGE_CUBE */
1099 /* reuse GL_IMAGE_BUFFER */
1100 /* reuse GL_IMAGE_1D_ARRAY */
1101 /* reuse GL_IMAGE_2D_ARRAY */
1102 /* reuse GL_IMAGE_CUBE_MAP_ARRAY */
1103 /* reuse GL_IMAGE_2D_MULTISAMPLE */
1104 /* reuse GL_IMAGE_2D_MULTISAMPLE_ARRAY */
1105 /* reuse GL_INT_IMAGE_1D */
1106 /* reuse GL_INT_IMAGE_2D */
1107 /* reuse GL_INT_IMAGE_3D */
1108 /* reuse GL_INT_IMAGE_2D_RECT */
1109 /* reuse GL_INT_IMAGE_CUBE */
1110 /* reuse GL_INT_IMAGE_BUFFER */
1111 /* reuse GL_INT_IMAGE_1D_ARRAY */
1112 /* reuse GL_INT_IMAGE_2D_ARRAY */
1113 /* reuse GL_INT_IMAGE_CUBE_MAP_ARRAY */
1114 /* reuse GL_INT_IMAGE_2D_MULTISAMPLE */
1115 /* reuse GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY */
1116 /* reuse GL_UNSIGNED_INT_IMAGE_1D */
1117 /* reuse GL_UNSIGNED_INT_IMAGE_2D */
1118 /* reuse GL_UNSIGNED_INT_IMAGE_3D */
1119 /* reuse GL_UNSIGNED_INT_IMAGE_2D_RECT */
1120 /* reuse GL_UNSIGNED_INT_IMAGE_CUBE */
1121 /* reuse GL_UNSIGNED_INT_IMAGE_BUFFER */
1122 /* reuse GL_UNSIGNED_INT_IMAGE_1D_ARRAY */
1123 /* reuse GL_UNSIGNED_INT_IMAGE_2D_ARRAY */
1124 /* reuse GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY */
1125 /* reuse GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE */
1126 /* reuse GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY */
1127 /* reuse GL_MAX_IMAGE_SAMPLES */
1128 /* reuse GL_IMAGE_BINDING_FORMAT */
1129 /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_TYPE */
1130 /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE */
1131 /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS */
1132 /* reuse GL_MAX_VERTEX_IMAGE_UNIFORMS */
1133 /* reuse GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS */
1134 /* reuse GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS */
1135 /* reuse GL_MAX_GEOMETRY_IMAGE_UNIFORMS */
1136 /* reuse GL_MAX_FRAGMENT_IMAGE_UNIFORMS */
1137 /* reuse GL_MAX_COMBINED_IMAGE_UNIFORMS */
1138 /* Reuse tokens from ARB_shading_language_packing (none) */
1139 /* Reuse tokens from ARB_texture_storage */
1140 /* reuse GL_TEXTURE_IMMUTABLE_FORMAT */
1141 #endif
1142 
1143 #ifndef GL_VERSION_4_3
1144 #define GL_NUM_SHADING_LANGUAGE_VERSIONS  0x82E9
1145 #define GL_VERTEX_ATTRIB_ARRAY_LONG       0x874E
1146 /* Reuse tokens from ARB_arrays_of_arrays (none, GLSL only) */
1147 /* Reuse tokens from ARB_fragment_layer_viewport (none, GLSL only) */
1148 /* Reuse tokens from ARB_shader_image_size (none, GLSL only) */
1149 /* Reuse tokens from ARB_ES3_compatibility */
1150 /* reuse GL_COMPRESSED_RGB8_ETC2 */
1151 /* reuse GL_COMPRESSED_SRGB8_ETC2 */
1152 /* reuse GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 */
1153 /* reuse GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 */
1154 /* reuse GL_COMPRESSED_RGBA8_ETC2_EAC */
1155 /* reuse GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC */
1156 /* reuse GL_COMPRESSED_R11_EAC */
1157 /* reuse GL_COMPRESSED_SIGNED_R11_EAC */
1158 /* reuse GL_COMPRESSED_RG11_EAC */
1159 /* reuse GL_COMPRESSED_SIGNED_RG11_EAC */
1160 /* reuse GL_PRIMITIVE_RESTART_FIXED_INDEX */
1161 /* reuse GL_ANY_SAMPLES_PASSED_CONSERVATIVE */
1162 /* reuse GL_MAX_ELEMENT_INDEX */
1163 /* Reuse tokens from ARB_clear_buffer_object (none) */
1164 /* Reuse tokens from ARB_compute_shader */
1165 /* reuse GL_COMPUTE_SHADER */
1166 /* reuse GL_MAX_COMPUTE_UNIFORM_BLOCKS */
1167 /* reuse GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS */
1168 /* reuse GL_MAX_COMPUTE_IMAGE_UNIFORMS */
1169 /* reuse GL_MAX_COMPUTE_SHARED_MEMORY_SIZE */
1170 /* reuse GL_MAX_COMPUTE_UNIFORM_COMPONENTS */
1171 /* reuse GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS */
1172 /* reuse GL_MAX_COMPUTE_ATOMIC_COUNTERS */
1173 /* reuse GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS */
1174 /* reuse GL_MAX_COMPUTE_LOCAL_INVOCATIONS */
1175 /* reuse GL_MAX_COMPUTE_WORK_GROUP_COUNT */
1176 /* reuse GL_MAX_COMPUTE_WORK_GROUP_SIZE */
1177 /* reuse GL_COMPUTE_LOCAL_WORK_SIZE */
1178 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER */
1179 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER */
1180 /* reuse GL_DISPATCH_INDIRECT_BUFFER */
1181 /* reuse GL_DISPATCH_INDIRECT_BUFFER_BINDING */
1182 /* Reuse tokens from ARB_copy_image (none) */
1183 /* Reuse tokens from KHR_debug */
1184 /* reuse GL_DEBUG_OUTPUT_SYNCHRONOUS */
1185 /* reuse GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH */
1186 /* reuse GL_DEBUG_CALLBACK_FUNCTION */
1187 /* reuse GL_DEBUG_CALLBACK_USER_PARAM */
1188 /* reuse GL_DEBUG_SOURCE_API */
1189 /* reuse GL_DEBUG_SOURCE_WINDOW_SYSTEM */
1190 /* reuse GL_DEBUG_SOURCE_SHADER_COMPILER */
1191 /* reuse GL_DEBUG_SOURCE_THIRD_PARTY */
1192 /* reuse GL_DEBUG_SOURCE_APPLICATION */
1193 /* reuse GL_DEBUG_SOURCE_OTHER */
1194 /* reuse GL_DEBUG_TYPE_ERROR */
1195 /* reuse GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR */
1196 /* reuse GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR */
1197 /* reuse GL_DEBUG_TYPE_PORTABILITY */
1198 /* reuse GL_DEBUG_TYPE_PERFORMANCE */
1199 /* reuse GL_DEBUG_TYPE_OTHER */
1200 /* reuse GL_MAX_DEBUG_MESSAGE_LENGTH */
1201 /* reuse GL_MAX_DEBUG_LOGGED_MESSAGES */
1202 /* reuse GL_DEBUG_LOGGED_MESSAGES */
1203 /* reuse GL_DEBUG_SEVERITY_HIGH */
1204 /* reuse GL_DEBUG_SEVERITY_MEDIUM */
1205 /* reuse GL_DEBUG_SEVERITY_LOW */
1206 /* reuse GL_DEBUG_TYPE_MARKER */
1207 /* reuse GL_DEBUG_TYPE_PUSH_GROUP */
1208 /* reuse GL_DEBUG_TYPE_POP_GROUP */
1209 /* reuse GL_DEBUG_SEVERITY_NOTIFICATION */
1210 /* reuse GL_MAX_DEBUG_GROUP_STACK_DEPTH */
1211 /* reuse GL_DEBUG_GROUP_STACK_DEPTH */
1212 /* reuse GL_BUFFER */
1213 /* reuse GL_SHADER */
1214 /* reuse GL_PROGRAM */
1215 /* reuse GL_QUERY */
1216 /* reuse GL_PROGRAM_PIPELINE */
1217 /* reuse GL_SAMPLER */
1218 /* reuse GL_DISPLAY_LIST */
1219 /* reuse GL_MAX_LABEL_LENGTH */
1220 /* reuse GL_DEBUG_OUTPUT */
1221 /* reuse GL_CONTEXT_FLAG_DEBUG_BIT */
1222 /* reuse GL_STACK_UNDERFLOW */
1223 /* reuse GL_STACK_OVERFLOW */
1224 /* Reuse tokens from ARB_explicit_uniform_location */
1225 /* reuse GL_MAX_UNIFORM_LOCATIONS */
1226 /* Reuse tokens from ARB_framebuffer_no_attachments */
1227 /* reuse GL_FRAMEBUFFER_DEFAULT_WIDTH */
1228 /* reuse GL_FRAMEBUFFER_DEFAULT_HEIGHT */
1229 /* reuse GL_FRAMEBUFFER_DEFAULT_LAYERS */
1230 /* reuse GL_FRAMEBUFFER_DEFAULT_SAMPLES */
1231 /* reuse GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS */
1232 /* reuse GL_MAX_FRAMEBUFFER_WIDTH */
1233 /* reuse GL_MAX_FRAMEBUFFER_HEIGHT */
1234 /* reuse GL_MAX_FRAMEBUFFER_LAYERS */
1235 /* reuse GL_MAX_FRAMEBUFFER_SAMPLES */
1236 /* Reuse tokens from ARB_internalformat_query2 */
1237 /* reuse GL_INTERNALFORMAT_SUPPORTED */
1238 /* reuse GL_INTERNALFORMAT_PREFERRED */
1239 /* reuse GL_INTERNALFORMAT_RED_SIZE */
1240 /* reuse GL_INTERNALFORMAT_GREEN_SIZE */
1241 /* reuse GL_INTERNALFORMAT_BLUE_SIZE */
1242 /* reuse GL_INTERNALFORMAT_ALPHA_SIZE */
1243 /* reuse GL_INTERNALFORMAT_DEPTH_SIZE */
1244 /* reuse GL_INTERNALFORMAT_STENCIL_SIZE */
1245 /* reuse GL_INTERNALFORMAT_SHARED_SIZE */
1246 /* reuse GL_INTERNALFORMAT_RED_TYPE */
1247 /* reuse GL_INTERNALFORMAT_GREEN_TYPE */
1248 /* reuse GL_INTERNALFORMAT_BLUE_TYPE */
1249 /* reuse GL_INTERNALFORMAT_ALPHA_TYPE */
1250 /* reuse GL_INTERNALFORMAT_DEPTH_TYPE */
1251 /* reuse GL_INTERNALFORMAT_STENCIL_TYPE */
1252 /* reuse GL_MAX_WIDTH */
1253 /* reuse GL_MAX_HEIGHT */
1254 /* reuse GL_MAX_DEPTH */
1255 /* reuse GL_MAX_LAYERS */
1256 /* reuse GL_MAX_COMBINED_DIMENSIONS */
1257 /* reuse GL_COLOR_COMPONENTS */
1258 /* reuse GL_DEPTH_COMPONENTS */
1259 /* reuse GL_STENCIL_COMPONENTS */
1260 /* reuse GL_COLOR_RENDERABLE */
1261 /* reuse GL_DEPTH_RENDERABLE */
1262 /* reuse GL_STENCIL_RENDERABLE */
1263 /* reuse GL_FRAMEBUFFER_RENDERABLE */
1264 /* reuse GL_FRAMEBUFFER_RENDERABLE_LAYERED */
1265 /* reuse GL_FRAMEBUFFER_BLEND */
1266 /* reuse GL_READ_PIXELS */
1267 /* reuse GL_READ_PIXELS_FORMAT */
1268 /* reuse GL_READ_PIXELS_TYPE */
1269 /* reuse GL_TEXTURE_IMAGE_FORMAT */
1270 /* reuse GL_TEXTURE_IMAGE_TYPE */
1271 /* reuse GL_GET_TEXTURE_IMAGE_FORMAT */
1272 /* reuse GL_GET_TEXTURE_IMAGE_TYPE */
1273 /* reuse GL_MIPMAP */
1274 /* reuse GL_MANUAL_GENERATE_MIPMAP */
1275 /* reuse GL_AUTO_GENERATE_MIPMAP */
1276 /* reuse GL_COLOR_ENCODING */
1277 /* reuse GL_SRGB_READ */
1278 /* reuse GL_SRGB_WRITE */
1279 /* reuse GL_FILTER */
1280 /* reuse GL_VERTEX_TEXTURE */
1281 /* reuse GL_TESS_CONTROL_TEXTURE */
1282 /* reuse GL_TESS_EVALUATION_TEXTURE */
1283 /* reuse GL_GEOMETRY_TEXTURE */
1284 /* reuse GL_FRAGMENT_TEXTURE */
1285 /* reuse GL_COMPUTE_TEXTURE */
1286 /* reuse GL_TEXTURE_SHADOW */
1287 /* reuse GL_TEXTURE_GATHER */
1288 /* reuse GL_TEXTURE_GATHER_SHADOW */
1289 /* reuse GL_SHADER_IMAGE_LOAD */
1290 /* reuse GL_SHADER_IMAGE_STORE */
1291 /* reuse GL_SHADER_IMAGE_ATOMIC */
1292 /* reuse GL_IMAGE_TEXEL_SIZE */
1293 /* reuse GL_IMAGE_COMPATIBILITY_CLASS */
1294 /* reuse GL_IMAGE_PIXEL_FORMAT */
1295 /* reuse GL_IMAGE_PIXEL_TYPE */
1296 /* reuse GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST */
1297 /* reuse GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST */
1298 /* reuse GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE */
1299 /* reuse GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE */
1300 /* reuse GL_TEXTURE_COMPRESSED_BLOCK_WIDTH */
1301 /* reuse GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT */
1302 /* reuse GL_TEXTURE_COMPRESSED_BLOCK_SIZE */
1303 /* reuse GL_CLEAR_BUFFER */
1304 /* reuse GL_TEXTURE_VIEW */
1305 /* reuse GL_VIEW_COMPATIBILITY_CLASS */
1306 /* reuse GL_FULL_SUPPORT */
1307 /* reuse GL_CAVEAT_SUPPORT */
1308 /* reuse GL_IMAGE_CLASS_4_X_32 */
1309 /* reuse GL_IMAGE_CLASS_2_X_32 */
1310 /* reuse GL_IMAGE_CLASS_1_X_32 */
1311 /* reuse GL_IMAGE_CLASS_4_X_16 */
1312 /* reuse GL_IMAGE_CLASS_2_X_16 */
1313 /* reuse GL_IMAGE_CLASS_1_X_16 */
1314 /* reuse GL_IMAGE_CLASS_4_X_8 */
1315 /* reuse GL_IMAGE_CLASS_2_X_8 */
1316 /* reuse GL_IMAGE_CLASS_1_X_8 */
1317 /* reuse GL_IMAGE_CLASS_11_11_10 */
1318 /* reuse GL_IMAGE_CLASS_10_10_10_2 */
1319 /* reuse GL_VIEW_CLASS_128_BITS */
1320 /* reuse GL_VIEW_CLASS_96_BITS */
1321 /* reuse GL_VIEW_CLASS_64_BITS */
1322 /* reuse GL_VIEW_CLASS_48_BITS */
1323 /* reuse GL_VIEW_CLASS_32_BITS */
1324 /* reuse GL_VIEW_CLASS_24_BITS */
1325 /* reuse GL_VIEW_CLASS_16_BITS */
1326 /* reuse GL_VIEW_CLASS_8_BITS */
1327 /* reuse GL_VIEW_CLASS_S3TC_DXT1_RGB */
1328 /* reuse GL_VIEW_CLASS_S3TC_DXT1_RGBA */
1329 /* reuse GL_VIEW_CLASS_S3TC_DXT3_RGBA */
1330 /* reuse GL_VIEW_CLASS_S3TC_DXT5_RGBA */
1331 /* reuse GL_VIEW_CLASS_RGTC1_RED */
1332 /* reuse GL_VIEW_CLASS_RGTC2_RG */
1333 /* reuse GL_VIEW_CLASS_BPTC_UNORM */
1334 /* reuse GL_VIEW_CLASS_BPTC_FLOAT */
1335 /* Reuse tokens from ARB_invalidate_subdata (none) */
1336 /* Reuse tokens from ARB_multi_draw_indirect (none) */
1337 /* Reuse tokens from ARB_program_interface_query */
1338 /* reuse GL_UNIFORM */
1339 /* reuse GL_UNIFORM_BLOCK */
1340 /* reuse GL_PROGRAM_INPUT */
1341 /* reuse GL_PROGRAM_OUTPUT */
1342 /* reuse GL_BUFFER_VARIABLE */
1343 /* reuse GL_SHADER_STORAGE_BLOCK */
1344 /* reuse GL_VERTEX_SUBROUTINE */
1345 /* reuse GL_TESS_CONTROL_SUBROUTINE */
1346 /* reuse GL_TESS_EVALUATION_SUBROUTINE */
1347 /* reuse GL_GEOMETRY_SUBROUTINE */
1348 /* reuse GL_FRAGMENT_SUBROUTINE */
1349 /* reuse GL_COMPUTE_SUBROUTINE */
1350 /* reuse GL_VERTEX_SUBROUTINE_UNIFORM */
1351 /* reuse GL_TESS_CONTROL_SUBROUTINE_UNIFORM */
1352 /* reuse GL_TESS_EVALUATION_SUBROUTINE_UNIFORM */
1353 /* reuse GL_GEOMETRY_SUBROUTINE_UNIFORM */
1354 /* reuse GL_FRAGMENT_SUBROUTINE_UNIFORM */
1355 /* reuse GL_COMPUTE_SUBROUTINE_UNIFORM */
1356 /* reuse GL_TRANSFORM_FEEDBACK_VARYING */
1357 /* reuse GL_ACTIVE_RESOURCES */
1358 /* reuse GL_MAX_NAME_LENGTH */
1359 /* reuse GL_MAX_NUM_ACTIVE_VARIABLES */
1360 /* reuse GL_MAX_NUM_COMPATIBLE_SUBROUTINES */
1361 /* reuse GL_NAME_LENGTH */
1362 /* reuse GL_TYPE */
1363 /* reuse GL_ARRAY_SIZE */
1364 /* reuse GL_OFFSET */
1365 /* reuse GL_BLOCK_INDEX */
1366 /* reuse GL_ARRAY_STRIDE */
1367 /* reuse GL_MATRIX_STRIDE */
1368 /* reuse GL_IS_ROW_MAJOR */
1369 /* reuse GL_ATOMIC_COUNTER_BUFFER_INDEX */
1370 /* reuse GL_BUFFER_BINDING */
1371 /* reuse GL_BUFFER_DATA_SIZE */
1372 /* reuse GL_NUM_ACTIVE_VARIABLES */
1373 /* reuse GL_ACTIVE_VARIABLES */
1374 /* reuse GL_REFERENCED_BY_VERTEX_SHADER */
1375 /* reuse GL_REFERENCED_BY_TESS_CONTROL_SHADER */
1376 /* reuse GL_REFERENCED_BY_TESS_EVALUATION_SHADER */
1377 /* reuse GL_REFERENCED_BY_GEOMETRY_SHADER */
1378 /* reuse GL_REFERENCED_BY_FRAGMENT_SHADER */
1379 /* reuse GL_REFERENCED_BY_COMPUTE_SHADER */
1380 /* reuse GL_TOP_LEVEL_ARRAY_SIZE */
1381 /* reuse GL_TOP_LEVEL_ARRAY_STRIDE */
1382 /* reuse GL_LOCATION */
1383 /* reuse GL_LOCATION_INDEX */
1384 /* reuse GL_IS_PER_PATCH */
1385 /* Reuse tokens from ARB_robust_buffer_access_behavior (none) */
1386 /* Reuse tokens from ARB_shader_storage_buffer_object */
1387 /* reuse GL_SHADER_STORAGE_BUFFER */
1388 /* reuse GL_SHADER_STORAGE_BUFFER_BINDING */
1389 /* reuse GL_SHADER_STORAGE_BUFFER_START */
1390 /* reuse GL_SHADER_STORAGE_BUFFER_SIZE */
1391 /* reuse GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS */
1392 /* reuse GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS */
1393 /* reuse GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS */
1394 /* reuse GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS */
1395 /* reuse GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS */
1396 /* reuse GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS */
1397 /* reuse GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS */
1398 /* reuse GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS */
1399 /* reuse GL_MAX_SHADER_STORAGE_BLOCK_SIZE */
1400 /* reuse GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT */
1401 /* reuse GL_SHADER_STORAGE_BARRIER_BIT */
1402 /* reuse GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES */
1403 /* Reuse tokens from ARB_stencil_texturing */
1404 /* reuse GL_DEPTH_STENCIL_TEXTURE_MODE */
1405 /* Reuse tokens from ARB_texture_buffer_range */
1406 /* reuse GL_TEXTURE_BUFFER_OFFSET */
1407 /* reuse GL_TEXTURE_BUFFER_SIZE */
1408 /* reuse GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT */
1409 /* Reuse tokens from ARB_texture_query_levels (none) */
1410 /* Reuse tokens from ARB_texture_storage_multisample (none) */
1411 /* Reuse tokens from ARB_texture_view */
1412 /* reuse GL_TEXTURE_VIEW_MIN_LEVEL */
1413 /* reuse GL_TEXTURE_VIEW_NUM_LEVELS */
1414 /* reuse GL_TEXTURE_VIEW_MIN_LAYER */
1415 /* reuse GL_TEXTURE_VIEW_NUM_LAYERS */
1416 /* reuse GL_TEXTURE_IMMUTABLE_LEVELS */
1417 /* Reuse tokens from ARB_vertex_attrib_binding */
1418 /* reuse GL_VERTEX_ATTRIB_BINDING */
1419 /* reuse GL_VERTEX_ATTRIB_RELATIVE_OFFSET */
1420 /* reuse GL_VERTEX_BINDING_DIVISOR */
1421 /* reuse GL_VERTEX_BINDING_OFFSET */
1422 /* reuse GL_VERTEX_BINDING_STRIDE */
1423 /* reuse GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET */
1424 /* reuse GL_MAX_VERTEX_ATTRIB_BINDINGS */
1425 #endif
1426 
1427 #ifndef GL_ARB_multitexture
1428 #define GL_TEXTURE0_ARB                   0x84C0
1429 #define GL_TEXTURE1_ARB                   0x84C1
1430 #define GL_TEXTURE2_ARB                   0x84C2
1431 #define GL_TEXTURE3_ARB                   0x84C3
1432 #define GL_TEXTURE4_ARB                   0x84C4
1433 #define GL_TEXTURE5_ARB                   0x84C5
1434 #define GL_TEXTURE6_ARB                   0x84C6
1435 #define GL_TEXTURE7_ARB                   0x84C7
1436 #define GL_TEXTURE8_ARB                   0x84C8
1437 #define GL_TEXTURE9_ARB                   0x84C9
1438 #define GL_TEXTURE10_ARB                  0x84CA
1439 #define GL_TEXTURE11_ARB                  0x84CB
1440 #define GL_TEXTURE12_ARB                  0x84CC
1441 #define GL_TEXTURE13_ARB                  0x84CD
1442 #define GL_TEXTURE14_ARB                  0x84CE
1443 #define GL_TEXTURE15_ARB                  0x84CF
1444 #define GL_TEXTURE16_ARB                  0x84D0
1445 #define GL_TEXTURE17_ARB                  0x84D1
1446 #define GL_TEXTURE18_ARB                  0x84D2
1447 #define GL_TEXTURE19_ARB                  0x84D3
1448 #define GL_TEXTURE20_ARB                  0x84D4
1449 #define GL_TEXTURE21_ARB                  0x84D5
1450 #define GL_TEXTURE22_ARB                  0x84D6
1451 #define GL_TEXTURE23_ARB                  0x84D7
1452 #define GL_TEXTURE24_ARB                  0x84D8
1453 #define GL_TEXTURE25_ARB                  0x84D9
1454 #define GL_TEXTURE26_ARB                  0x84DA
1455 #define GL_TEXTURE27_ARB                  0x84DB
1456 #define GL_TEXTURE28_ARB                  0x84DC
1457 #define GL_TEXTURE29_ARB                  0x84DD
1458 #define GL_TEXTURE30_ARB                  0x84DE
1459 #define GL_TEXTURE31_ARB                  0x84DF
1460 #define GL_ACTIVE_TEXTURE_ARB             0x84E0
1461 #define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
1462 #define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
1463 #endif
1464 
1465 #ifndef GL_ARB_transpose_matrix
1466 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
1467 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
1468 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
1469 #define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
1470 #endif
1471 
1472 #ifndef GL_ARB_multisample
1473 #define GL_MULTISAMPLE_ARB                0x809D
1474 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
1475 #define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
1476 #define GL_SAMPLE_COVERAGE_ARB            0x80A0
1477 #define GL_SAMPLE_BUFFERS_ARB             0x80A8
1478 #define GL_SAMPLES_ARB                    0x80A9
1479 #define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
1480 #define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
1481 #define GL_MULTISAMPLE_BIT_ARB            0x20000000
1482 #endif
1483 
1484 #ifndef GL_ARB_texture_env_add
1485 #endif
1486 
1487 #ifndef GL_ARB_texture_cube_map
1488 #define GL_NORMAL_MAP_ARB                 0x8511
1489 #define GL_REFLECTION_MAP_ARB             0x8512
1490 #define GL_TEXTURE_CUBE_MAP_ARB           0x8513
1491 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
1492 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
1493 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
1494 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
1495 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
1496 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
1497 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
1498 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
1499 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
1500 #endif
1501 
1502 #ifndef GL_ARB_texture_compression
1503 #define GL_COMPRESSED_ALPHA_ARB           0x84E9
1504 #define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
1505 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
1506 #define GL_COMPRESSED_INTENSITY_ARB       0x84EC
1507 #define GL_COMPRESSED_RGB_ARB             0x84ED
1508 #define GL_COMPRESSED_RGBA_ARB            0x84EE
1509 #define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
1510 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
1511 #define GL_TEXTURE_COMPRESSED_ARB         0x86A1
1512 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
1513 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
1514 #endif
1515 
1516 #ifndef GL_ARB_texture_border_clamp
1517 #define GL_CLAMP_TO_BORDER_ARB            0x812D
1518 #endif
1519 
1520 #ifndef GL_ARB_point_parameters
1521 #define GL_POINT_SIZE_MIN_ARB             0x8126
1522 #define GL_POINT_SIZE_MAX_ARB             0x8127
1523 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
1524 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
1525 #endif
1526 
1527 #ifndef GL_ARB_vertex_blend
1528 #define GL_MAX_VERTEX_UNITS_ARB           0x86A4
1529 #define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
1530 #define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
1531 #define GL_VERTEX_BLEND_ARB               0x86A7
1532 #define GL_CURRENT_WEIGHT_ARB             0x86A8
1533 #define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
1534 #define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
1535 #define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
1536 #define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
1537 #define GL_WEIGHT_ARRAY_ARB               0x86AD
1538 #define GL_MODELVIEW0_ARB                 0x1700
1539 #define GL_MODELVIEW1_ARB                 0x850A
1540 #define GL_MODELVIEW2_ARB                 0x8722
1541 #define GL_MODELVIEW3_ARB                 0x8723
1542 #define GL_MODELVIEW4_ARB                 0x8724
1543 #define GL_MODELVIEW5_ARB                 0x8725
1544 #define GL_MODELVIEW6_ARB                 0x8726
1545 #define GL_MODELVIEW7_ARB                 0x8727
1546 #define GL_MODELVIEW8_ARB                 0x8728
1547 #define GL_MODELVIEW9_ARB                 0x8729
1548 #define GL_MODELVIEW10_ARB                0x872A
1549 #define GL_MODELVIEW11_ARB                0x872B
1550 #define GL_MODELVIEW12_ARB                0x872C
1551 #define GL_MODELVIEW13_ARB                0x872D
1552 #define GL_MODELVIEW14_ARB                0x872E
1553 #define GL_MODELVIEW15_ARB                0x872F
1554 #define GL_MODELVIEW16_ARB                0x8730
1555 #define GL_MODELVIEW17_ARB                0x8731
1556 #define GL_MODELVIEW18_ARB                0x8732
1557 #define GL_MODELVIEW19_ARB                0x8733
1558 #define GL_MODELVIEW20_ARB                0x8734
1559 #define GL_MODELVIEW21_ARB                0x8735
1560 #define GL_MODELVIEW22_ARB                0x8736
1561 #define GL_MODELVIEW23_ARB                0x8737
1562 #define GL_MODELVIEW24_ARB                0x8738
1563 #define GL_MODELVIEW25_ARB                0x8739
1564 #define GL_MODELVIEW26_ARB                0x873A
1565 #define GL_MODELVIEW27_ARB                0x873B
1566 #define GL_MODELVIEW28_ARB                0x873C
1567 #define GL_MODELVIEW29_ARB                0x873D
1568 #define GL_MODELVIEW30_ARB                0x873E
1569 #define GL_MODELVIEW31_ARB                0x873F
1570 #endif
1571 
1572 #ifndef GL_ARB_matrix_palette
1573 #define GL_MATRIX_PALETTE_ARB             0x8840
1574 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
1575 #define GL_MAX_PALETTE_MATRICES_ARB       0x8842
1576 #define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
1577 #define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
1578 #define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
1579 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
1580 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
1581 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
1582 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
1583 #endif
1584 
1585 #ifndef GL_ARB_texture_env_combine
1586 #define GL_COMBINE_ARB                    0x8570
1587 #define GL_COMBINE_RGB_ARB                0x8571
1588 #define GL_COMBINE_ALPHA_ARB              0x8572
1589 #define GL_SOURCE0_RGB_ARB                0x8580
1590 #define GL_SOURCE1_RGB_ARB                0x8581
1591 #define GL_SOURCE2_RGB_ARB                0x8582
1592 #define GL_SOURCE0_ALPHA_ARB              0x8588
1593 #define GL_SOURCE1_ALPHA_ARB              0x8589
1594 #define GL_SOURCE2_ALPHA_ARB              0x858A
1595 #define GL_OPERAND0_RGB_ARB               0x8590
1596 #define GL_OPERAND1_RGB_ARB               0x8591
1597 #define GL_OPERAND2_RGB_ARB               0x8592
1598 #define GL_OPERAND0_ALPHA_ARB             0x8598
1599 #define GL_OPERAND1_ALPHA_ARB             0x8599
1600 #define GL_OPERAND2_ALPHA_ARB             0x859A
1601 #define GL_RGB_SCALE_ARB                  0x8573
1602 #define GL_ADD_SIGNED_ARB                 0x8574
1603 #define GL_INTERPOLATE_ARB                0x8575
1604 #define GL_SUBTRACT_ARB                   0x84E7
1605 #define GL_CONSTANT_ARB                   0x8576
1606 #define GL_PRIMARY_COLOR_ARB              0x8577
1607 #define GL_PREVIOUS_ARB                   0x8578
1608 #endif
1609 
1610 #ifndef GL_ARB_texture_env_crossbar
1611 #endif
1612 
1613 #ifndef GL_ARB_texture_env_dot3
1614 #define GL_DOT3_RGB_ARB                   0x86AE
1615 #define GL_DOT3_RGBA_ARB                  0x86AF
1616 #endif
1617 
1618 #ifndef GL_ARB_texture_mirrored_repeat
1619 #define GL_MIRRORED_REPEAT_ARB            0x8370
1620 #endif
1621 
1622 #ifndef GL_ARB_depth_texture
1623 #define GL_DEPTH_COMPONENT16_ARB          0x81A5
1624 #define GL_DEPTH_COMPONENT24_ARB          0x81A6
1625 #define GL_DEPTH_COMPONENT32_ARB          0x81A7
1626 #define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
1627 #define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
1628 #endif
1629 
1630 #ifndef GL_ARB_shadow
1631 #define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
1632 #define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
1633 #define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
1634 #endif
1635 
1636 #ifndef GL_ARB_shadow_ambient
1637 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
1638 #endif
1639 
1640 #ifndef GL_ARB_window_pos
1641 #endif
1642 
1643 #ifndef GL_ARB_vertex_program
1644 #define GL_COLOR_SUM_ARB                  0x8458
1645 #define GL_VERTEX_PROGRAM_ARB             0x8620
1646 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
1647 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
1648 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
1649 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
1650 #define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
1651 #define GL_PROGRAM_LENGTH_ARB             0x8627
1652 #define GL_PROGRAM_STRING_ARB             0x8628
1653 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
1654 #define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
1655 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
1656 #define GL_CURRENT_MATRIX_ARB             0x8641
1657 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
1658 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
1659 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
1660 #define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
1661 #define GL_PROGRAM_BINDING_ARB            0x8677
1662 #define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
1663 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
1664 #define GL_PROGRAM_ERROR_STRING_ARB       0x8874
1665 #define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875
1666 #define GL_PROGRAM_FORMAT_ARB             0x8876
1667 #define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
1668 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
1669 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
1670 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
1671 #define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
1672 #define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
1673 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
1674 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
1675 #define GL_PROGRAM_PARAMETERS_ARB         0x88A8
1676 #define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
1677 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
1678 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
1679 #define GL_PROGRAM_ATTRIBS_ARB            0x88AC
1680 #define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
1681 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
1682 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
1683 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
1684 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
1685 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
1686 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
1687 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
1688 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
1689 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
1690 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7
1691 #define GL_MATRIX0_ARB                    0x88C0
1692 #define GL_MATRIX1_ARB                    0x88C1
1693 #define GL_MATRIX2_ARB                    0x88C2
1694 #define GL_MATRIX3_ARB                    0x88C3
1695 #define GL_MATRIX4_ARB                    0x88C4
1696 #define GL_MATRIX5_ARB                    0x88C5
1697 #define GL_MATRIX6_ARB                    0x88C6
1698 #define GL_MATRIX7_ARB                    0x88C7
1699 #define GL_MATRIX8_ARB                    0x88C8
1700 #define GL_MATRIX9_ARB                    0x88C9
1701 #define GL_MATRIX10_ARB                   0x88CA
1702 #define GL_MATRIX11_ARB                   0x88CB
1703 #define GL_MATRIX12_ARB                   0x88CC
1704 #define GL_MATRIX13_ARB                   0x88CD
1705 #define GL_MATRIX14_ARB                   0x88CE
1706 #define GL_MATRIX15_ARB                   0x88CF
1707 #define GL_MATRIX16_ARB                   0x88D0
1708 #define GL_MATRIX17_ARB                   0x88D1
1709 #define GL_MATRIX18_ARB                   0x88D2
1710 #define GL_MATRIX19_ARB                   0x88D3
1711 #define GL_MATRIX20_ARB                   0x88D4
1712 #define GL_MATRIX21_ARB                   0x88D5
1713 #define GL_MATRIX22_ARB                   0x88D6
1714 #define GL_MATRIX23_ARB                   0x88D7
1715 #define GL_MATRIX24_ARB                   0x88D8
1716 #define GL_MATRIX25_ARB                   0x88D9
1717 #define GL_MATRIX26_ARB                   0x88DA
1718 #define GL_MATRIX27_ARB                   0x88DB
1719 #define GL_MATRIX28_ARB                   0x88DC
1720 #define GL_MATRIX29_ARB                   0x88DD
1721 #define GL_MATRIX30_ARB                   0x88DE
1722 #define GL_MATRIX31_ARB                   0x88DF
1723 #endif
1724 
1725 #ifndef GL_ARB_fragment_program
1726 #define GL_FRAGMENT_PROGRAM_ARB           0x8804
1727 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
1728 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
1729 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
1730 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
1731 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
1732 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
1733 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
1734 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
1735 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
1736 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
1737 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
1738 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
1739 #define GL_MAX_TEXTURE_COORDS_ARB         0x8871
1740 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
1741 #endif
1742 
1743 #ifndef GL_ARB_vertex_buffer_object
1744 #define GL_BUFFER_SIZE_ARB                0x8764
1745 #define GL_BUFFER_USAGE_ARB               0x8765
1746 #define GL_ARRAY_BUFFER_ARB               0x8892
1747 #define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
1748 #define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
1749 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
1750 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
1751 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
1752 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
1753 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
1754 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
1755 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
1756 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
1757 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
1758 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
1759 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
1760 #define GL_READ_ONLY_ARB                  0x88B8
1761 #define GL_WRITE_ONLY_ARB                 0x88B9
1762 #define GL_READ_WRITE_ARB                 0x88BA
1763 #define GL_BUFFER_ACCESS_ARB              0x88BB
1764 #define GL_BUFFER_MAPPED_ARB              0x88BC
1765 #define GL_BUFFER_MAP_POINTER_ARB         0x88BD
1766 #define GL_STREAM_DRAW_ARB                0x88E0
1767 #define GL_STREAM_READ_ARB                0x88E1
1768 #define GL_STREAM_COPY_ARB                0x88E2
1769 #define GL_STATIC_DRAW_ARB                0x88E4
1770 #define GL_STATIC_READ_ARB                0x88E5
1771 #define GL_STATIC_COPY_ARB                0x88E6
1772 #define GL_DYNAMIC_DRAW_ARB               0x88E8
1773 #define GL_DYNAMIC_READ_ARB               0x88E9
1774 #define GL_DYNAMIC_COPY_ARB               0x88EA
1775 #endif
1776 
1777 #ifndef GL_ARB_occlusion_query
1778 #define GL_QUERY_COUNTER_BITS_ARB         0x8864
1779 #define GL_CURRENT_QUERY_ARB              0x8865
1780 #define GL_QUERY_RESULT_ARB               0x8866
1781 #define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
1782 #define GL_SAMPLES_PASSED_ARB             0x8914
1783 #endif
1784 
1785 #ifndef GL_ARB_shader_objects
1786 #define GL_PROGRAM_OBJECT_ARB             0x8B40
1787 #define GL_SHADER_OBJECT_ARB              0x8B48
1788 #define GL_OBJECT_TYPE_ARB                0x8B4E
1789 #define GL_OBJECT_SUBTYPE_ARB             0x8B4F
1790 #define GL_FLOAT_VEC2_ARB                 0x8B50
1791 #define GL_FLOAT_VEC3_ARB                 0x8B51
1792 #define GL_FLOAT_VEC4_ARB                 0x8B52
1793 #define GL_INT_VEC2_ARB                   0x8B53
1794 #define GL_INT_VEC3_ARB                   0x8B54
1795 #define GL_INT_VEC4_ARB                   0x8B55
1796 #define GL_BOOL_ARB                       0x8B56
1797 #define GL_BOOL_VEC2_ARB                  0x8B57
1798 #define GL_BOOL_VEC3_ARB                  0x8B58
1799 #define GL_BOOL_VEC4_ARB                  0x8B59
1800 #define GL_FLOAT_MAT2_ARB                 0x8B5A
1801 #define GL_FLOAT_MAT3_ARB                 0x8B5B
1802 #define GL_FLOAT_MAT4_ARB                 0x8B5C
1803 #define GL_SAMPLER_1D_ARB                 0x8B5D
1804 #define GL_SAMPLER_2D_ARB                 0x8B5E
1805 #define GL_SAMPLER_3D_ARB                 0x8B5F
1806 #define GL_SAMPLER_CUBE_ARB               0x8B60
1807 #define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
1808 #define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
1809 #define GL_SAMPLER_2D_RECT_ARB            0x8B63
1810 #define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
1811 #define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
1812 #define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
1813 #define GL_OBJECT_LINK_STATUS_ARB         0x8B82
1814 #define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
1815 #define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
1816 #define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
1817 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
1818 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
1819 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
1820 #endif
1821 
1822 #ifndef GL_ARB_vertex_shader
1823 #define GL_VERTEX_SHADER_ARB              0x8B31
1824 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
1825 #define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
1826 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
1827 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
1828 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
1829 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
1830 #endif
1831 
1832 #ifndef GL_ARB_fragment_shader
1833 #define GL_FRAGMENT_SHADER_ARB            0x8B30
1834 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
1835 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
1836 #endif
1837 
1838 #ifndef GL_ARB_shading_language_100
1839 #define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
1840 #endif
1841 
1842 #ifndef GL_ARB_texture_non_power_of_two
1843 #endif
1844 
1845 #ifndef GL_ARB_point_sprite
1846 #define GL_POINT_SPRITE_ARB               0x8861
1847 #define GL_COORD_REPLACE_ARB              0x8862
1848 #endif
1849 
1850 #ifndef GL_ARB_fragment_program_shadow
1851 #endif
1852 
1853 #ifndef GL_ARB_draw_buffers
1854 #define GL_MAX_DRAW_BUFFERS_ARB           0x8824
1855 #define GL_DRAW_BUFFER0_ARB               0x8825
1856 #define GL_DRAW_BUFFER1_ARB               0x8826
1857 #define GL_DRAW_BUFFER2_ARB               0x8827
1858 #define GL_DRAW_BUFFER3_ARB               0x8828
1859 #define GL_DRAW_BUFFER4_ARB               0x8829
1860 #define GL_DRAW_BUFFER5_ARB               0x882A
1861 #define GL_DRAW_BUFFER6_ARB               0x882B
1862 #define GL_DRAW_BUFFER7_ARB               0x882C
1863 #define GL_DRAW_BUFFER8_ARB               0x882D
1864 #define GL_DRAW_BUFFER9_ARB               0x882E
1865 #define GL_DRAW_BUFFER10_ARB              0x882F
1866 #define GL_DRAW_BUFFER11_ARB              0x8830
1867 #define GL_DRAW_BUFFER12_ARB              0x8831
1868 #define GL_DRAW_BUFFER13_ARB              0x8832
1869 #define GL_DRAW_BUFFER14_ARB              0x8833
1870 #define GL_DRAW_BUFFER15_ARB              0x8834
1871 #endif
1872 
1873 #ifndef GL_ARB_texture_rectangle
1874 #define GL_TEXTURE_RECTANGLE_ARB          0x84F5
1875 #define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
1876 #define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
1877 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
1878 #endif
1879 
1880 #ifndef GL_ARB_color_buffer_float
1881 #define GL_RGBA_FLOAT_MODE_ARB            0x8820
1882 #define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
1883 #define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
1884 #define GL_CLAMP_READ_COLOR_ARB           0x891C
1885 #define GL_FIXED_ONLY_ARB                 0x891D
1886 #endif
1887 
1888 #ifndef GL_ARB_half_float_pixel
1889 #define GL_HALF_FLOAT_ARB                 0x140B
1890 #endif
1891 
1892 #ifndef GL_ARB_texture_float
1893 #define GL_TEXTURE_RED_TYPE_ARB           0x8C10
1894 #define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
1895 #define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
1896 #define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
1897 #define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
1898 #define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
1899 #define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
1900 #define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
1901 #define GL_RGBA32F_ARB                    0x8814
1902 #define GL_RGB32F_ARB                     0x8815
1903 #define GL_ALPHA32F_ARB                   0x8816
1904 #define GL_INTENSITY32F_ARB               0x8817
1905 #define GL_LUMINANCE32F_ARB               0x8818
1906 #define GL_LUMINANCE_ALPHA32F_ARB         0x8819
1907 #define GL_RGBA16F_ARB                    0x881A
1908 #define GL_RGB16F_ARB                     0x881B
1909 #define GL_ALPHA16F_ARB                   0x881C
1910 #define GL_INTENSITY16F_ARB               0x881D
1911 #define GL_LUMINANCE16F_ARB               0x881E
1912 #define GL_LUMINANCE_ALPHA16F_ARB         0x881F
1913 #endif
1914 
1915 #ifndef GL_ARB_pixel_buffer_object
1916 #define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
1917 #define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
1918 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
1919 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
1920 #endif
1921 
1922 #ifndef GL_ARB_depth_buffer_float
1923 #define GL_DEPTH_COMPONENT32F             0x8CAC
1924 #define GL_DEPTH32F_STENCIL8              0x8CAD
1925 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
1926 #endif
1927 
1928 #ifndef GL_ARB_draw_instanced
1929 #endif
1930 
1931 #ifndef GL_ARB_framebuffer_object
1932 #define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
1933 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
1934 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
1935 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
1936 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
1937 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
1938 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
1939 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
1940 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
1941 #define GL_FRAMEBUFFER_DEFAULT            0x8218
1942 #define GL_FRAMEBUFFER_UNDEFINED          0x8219
1943 #define GL_DEPTH_STENCIL_ATTACHMENT       0x821A
1944 #define GL_MAX_RENDERBUFFER_SIZE          0x84E8
1945 #define GL_DEPTH_STENCIL                  0x84F9
1946 #define GL_UNSIGNED_INT_24_8              0x84FA
1947 #define GL_DEPTH24_STENCIL8               0x88F0
1948 #define GL_TEXTURE_STENCIL_SIZE           0x88F1
1949 #define GL_TEXTURE_RED_TYPE               0x8C10
1950 #define GL_TEXTURE_GREEN_TYPE             0x8C11
1951 #define GL_TEXTURE_BLUE_TYPE              0x8C12
1952 #define GL_TEXTURE_ALPHA_TYPE             0x8C13
1953 #define GL_TEXTURE_DEPTH_TYPE             0x8C16
1954 #define GL_UNSIGNED_NORMALIZED            0x8C17
1955 #define GL_FRAMEBUFFER_BINDING            0x8CA6
1956 #define GL_DRAW_FRAMEBUFFER_BINDING       GL_FRAMEBUFFER_BINDING
1957 #define GL_RENDERBUFFER_BINDING           0x8CA7
1958 #define GL_READ_FRAMEBUFFER               0x8CA8
1959 #define GL_DRAW_FRAMEBUFFER               0x8CA9
1960 #define GL_READ_FRAMEBUFFER_BINDING       0x8CAA
1961 #define GL_RENDERBUFFER_SAMPLES           0x8CAB
1962 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
1963 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
1964 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
1965 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
1966 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
1967 #define GL_FRAMEBUFFER_COMPLETE           0x8CD5
1968 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
1969 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
1970 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
1971 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
1972 #define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
1973 #define GL_MAX_COLOR_ATTACHMENTS          0x8CDF
1974 #define GL_COLOR_ATTACHMENT0              0x8CE0
1975 #define GL_COLOR_ATTACHMENT1              0x8CE1
1976 #define GL_COLOR_ATTACHMENT2              0x8CE2
1977 #define GL_COLOR_ATTACHMENT3              0x8CE3
1978 #define GL_COLOR_ATTACHMENT4              0x8CE4
1979 #define GL_COLOR_ATTACHMENT5              0x8CE5
1980 #define GL_COLOR_ATTACHMENT6              0x8CE6
1981 #define GL_COLOR_ATTACHMENT7              0x8CE7
1982 #define GL_COLOR_ATTACHMENT8              0x8CE8
1983 #define GL_COLOR_ATTACHMENT9              0x8CE9
1984 #define GL_COLOR_ATTACHMENT10             0x8CEA
1985 #define GL_COLOR_ATTACHMENT11             0x8CEB
1986 #define GL_COLOR_ATTACHMENT12             0x8CEC
1987 #define GL_COLOR_ATTACHMENT13             0x8CED
1988 #define GL_COLOR_ATTACHMENT14             0x8CEE
1989 #define GL_COLOR_ATTACHMENT15             0x8CEF
1990 #define GL_DEPTH_ATTACHMENT               0x8D00
1991 #define GL_STENCIL_ATTACHMENT             0x8D20
1992 #define GL_FRAMEBUFFER                    0x8D40
1993 #define GL_RENDERBUFFER                   0x8D41
1994 #define GL_RENDERBUFFER_WIDTH             0x8D42
1995 #define GL_RENDERBUFFER_HEIGHT            0x8D43
1996 #define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
1997 #define GL_STENCIL_INDEX1                 0x8D46
1998 #define GL_STENCIL_INDEX4                 0x8D47
1999 #define GL_STENCIL_INDEX8                 0x8D48
2000 #define GL_STENCIL_INDEX16                0x8D49
2001 #define GL_RENDERBUFFER_RED_SIZE          0x8D50
2002 #define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
2003 #define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
2004 #define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
2005 #define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
2006 #define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
2007 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
2008 #define GL_MAX_SAMPLES                    0x8D57
2009 #define GL_INDEX                          0x8222
2010 #define GL_TEXTURE_LUMINANCE_TYPE         0x8C14
2011 #define GL_TEXTURE_INTENSITY_TYPE         0x8C15
2012 #endif
2013 
2014 #ifndef GL_ARB_framebuffer_sRGB
2015 #define GL_FRAMEBUFFER_SRGB               0x8DB9
2016 #endif
2017 
2018 #ifndef GL_ARB_geometry_shader4
2019 #define GL_LINES_ADJACENCY_ARB            0x000A
2020 #define GL_LINE_STRIP_ADJACENCY_ARB       0x000B
2021 #define GL_TRIANGLES_ADJACENCY_ARB        0x000C
2022 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB   0x000D
2023 #define GL_PROGRAM_POINT_SIZE_ARB         0x8642
2024 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
2025 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
2026 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
2027 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
2028 #define GL_GEOMETRY_SHADER_ARB            0x8DD9
2029 #define GL_GEOMETRY_VERTICES_OUT_ARB      0x8DDA
2030 #define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
2031 #define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
2032 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
2033 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
2034 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
2035 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
2036 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
2037 /* reuse GL_MAX_VARYING_COMPONENTS */
2038 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
2039 #endif
2040 
2041 #ifndef GL_ARB_half_float_vertex
2042 #define GL_HALF_FLOAT                     0x140B
2043 #endif
2044 
2045 #ifndef GL_ARB_instanced_arrays
2046 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
2047 #endif
2048 
2049 #ifndef GL_ARB_map_buffer_range
2050 #define GL_MAP_READ_BIT                   0x0001
2051 #define GL_MAP_WRITE_BIT                  0x0002
2052 #define GL_MAP_INVALIDATE_RANGE_BIT       0x0004
2053 #define GL_MAP_INVALIDATE_BUFFER_BIT      0x0008
2054 #define GL_MAP_FLUSH_EXPLICIT_BIT         0x0010
2055 #define GL_MAP_UNSYNCHRONIZED_BIT         0x0020
2056 #endif
2057 
2058 #ifndef GL_ARB_texture_buffer_object
2059 #define GL_TEXTURE_BUFFER_ARB             0x8C2A
2060 #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB    0x8C2B
2061 #define GL_TEXTURE_BINDING_BUFFER_ARB     0x8C2C
2062 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
2063 #define GL_TEXTURE_BUFFER_FORMAT_ARB      0x8C2E
2064 #endif
2065 
2066 #ifndef GL_ARB_texture_compression_rgtc
2067 #define GL_COMPRESSED_RED_RGTC1           0x8DBB
2068 #define GL_COMPRESSED_SIGNED_RED_RGTC1    0x8DBC
2069 #define GL_COMPRESSED_RG_RGTC2            0x8DBD
2070 #define GL_COMPRESSED_SIGNED_RG_RGTC2     0x8DBE
2071 #endif
2072 
2073 #ifndef GL_ARB_texture_rg
2074 #define GL_RG                             0x8227
2075 #define GL_RG_INTEGER                     0x8228
2076 #define GL_R8                             0x8229
2077 #define GL_R16                            0x822A
2078 #define GL_RG8                            0x822B
2079 #define GL_RG16                           0x822C
2080 #define GL_R16F                           0x822D
2081 #define GL_R32F                           0x822E
2082 #define GL_RG16F                          0x822F
2083 #define GL_RG32F                          0x8230
2084 #define GL_R8I                            0x8231
2085 #define GL_R8UI                           0x8232
2086 #define GL_R16I                           0x8233
2087 #define GL_R16UI                          0x8234
2088 #define GL_R32I                           0x8235
2089 #define GL_R32UI                          0x8236
2090 #define GL_RG8I                           0x8237
2091 #define GL_RG8UI                          0x8238
2092 #define GL_RG16I                          0x8239
2093 #define GL_RG16UI                         0x823A
2094 #define GL_RG32I                          0x823B
2095 #define GL_RG32UI                         0x823C
2096 #endif
2097 
2098 #ifndef GL_ARB_vertex_array_object
2099 #define GL_VERTEX_ARRAY_BINDING           0x85B5
2100 #endif
2101 
2102 #ifndef GL_ARB_uniform_buffer_object
2103 #define GL_UNIFORM_BUFFER                 0x8A11
2104 #define GL_UNIFORM_BUFFER_BINDING         0x8A28
2105 #define GL_UNIFORM_BUFFER_START           0x8A29
2106 #define GL_UNIFORM_BUFFER_SIZE            0x8A2A
2107 #define GL_MAX_VERTEX_UNIFORM_BLOCKS      0x8A2B
2108 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS    0x8A2C
2109 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS    0x8A2D
2110 #define GL_MAX_COMBINED_UNIFORM_BLOCKS    0x8A2E
2111 #define GL_MAX_UNIFORM_BUFFER_BINDINGS    0x8A2F
2112 #define GL_MAX_UNIFORM_BLOCK_SIZE         0x8A30
2113 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
2114 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
2115 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
2116 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
2117 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
2118 #define GL_ACTIVE_UNIFORM_BLOCKS          0x8A36
2119 #define GL_UNIFORM_TYPE                   0x8A37
2120 #define GL_UNIFORM_SIZE                   0x8A38
2121 #define GL_UNIFORM_NAME_LENGTH            0x8A39
2122 #define GL_UNIFORM_BLOCK_INDEX            0x8A3A
2123 #define GL_UNIFORM_OFFSET                 0x8A3B
2124 #define GL_UNIFORM_ARRAY_STRIDE           0x8A3C
2125 #define GL_UNIFORM_MATRIX_STRIDE          0x8A3D
2126 #define GL_UNIFORM_IS_ROW_MAJOR           0x8A3E
2127 #define GL_UNIFORM_BLOCK_BINDING          0x8A3F
2128 #define GL_UNIFORM_BLOCK_DATA_SIZE        0x8A40
2129 #define GL_UNIFORM_BLOCK_NAME_LENGTH      0x8A41
2130 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS  0x8A42
2131 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
2132 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
2133 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
2134 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
2135 #define GL_INVALID_INDEX                  0xFFFFFFFFu
2136 #endif
2137 
2138 #ifndef GL_ARB_compatibility
2139 /* ARB_compatibility just defines tokens from core 3.0 */
2140 #endif
2141 
2142 #ifndef GL_ARB_copy_buffer
2143 #define GL_COPY_READ_BUFFER_BINDING       0x8F36
2144 #define GL_COPY_READ_BUFFER               GL_COPY_READ_BUFFER_BINDING
2145 #define GL_COPY_WRITE_BUFFER_BINDING      0x8F37
2146 #define GL_COPY_WRITE_BUFFER              GL_COPY_WRITE_BUFFER_BINDING
2147 #endif
2148 
2149 #ifndef GL_ARB_shader_texture_lod
2150 #endif
2151 
2152 #ifndef GL_ARB_depth_clamp
2153 #define GL_DEPTH_CLAMP                    0x864F
2154 #endif
2155 
2156 #ifndef GL_ARB_draw_elements_base_vertex
2157 #endif
2158 
2159 #ifndef GL_ARB_fragment_coord_conventions
2160 #endif
2161 
2162 #ifndef GL_ARB_provoking_vertex
2163 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
2164 #define GL_FIRST_VERTEX_CONVENTION        0x8E4D
2165 #define GL_LAST_VERTEX_CONVENTION         0x8E4E
2166 #define GL_PROVOKING_VERTEX               0x8E4F
2167 #endif
2168 
2169 #ifndef GL_ARB_seamless_cube_map
2170 #define GL_TEXTURE_CUBE_MAP_SEAMLESS      0x884F
2171 #endif
2172 
2173 #ifndef GL_ARB_sync
2174 #define GL_MAX_SERVER_WAIT_TIMEOUT        0x9111
2175 #define GL_OBJECT_TYPE                    0x9112
2176 #define GL_SYNC_CONDITION                 0x9113
2177 #define GL_SYNC_STATUS                    0x9114
2178 #define GL_SYNC_FLAGS                     0x9115
2179 #define GL_SYNC_FENCE                     0x9116
2180 #define GL_SYNC_GPU_COMMANDS_COMPLETE     0x9117
2181 #define GL_UNSIGNALED                     0x9118
2182 #define GL_SIGNALED                       0x9119
2183 #define GL_ALREADY_SIGNALED               0x911A
2184 #define GL_TIMEOUT_EXPIRED                0x911B
2185 #define GL_CONDITION_SATISFIED            0x911C
2186 #define GL_WAIT_FAILED                    0x911D
2187 #define GL_SYNC_FLUSH_COMMANDS_BIT        0x00000001
2188 #define GL_TIMEOUT_IGNORED                0xFFFFFFFFFFFFFFFFull
2189 #endif
2190 
2191 #ifndef GL_ARB_texture_multisample
2192 #define GL_SAMPLE_POSITION                0x8E50
2193 #define GL_SAMPLE_MASK                    0x8E51
2194 #define GL_SAMPLE_MASK_VALUE              0x8E52
2195 #define GL_MAX_SAMPLE_MASK_WORDS          0x8E59
2196 #define GL_TEXTURE_2D_MULTISAMPLE         0x9100
2197 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE   0x9101
2198 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY   0x9102
2199 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
2200 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
2201 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
2202 #define GL_TEXTURE_SAMPLES                0x9106
2203 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
2204 #define GL_SAMPLER_2D_MULTISAMPLE         0x9108
2205 #define GL_INT_SAMPLER_2D_MULTISAMPLE     0x9109
2206 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
2207 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY   0x910B
2208 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
2209 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
2210 #define GL_MAX_COLOR_TEXTURE_SAMPLES      0x910E
2211 #define GL_MAX_DEPTH_TEXTURE_SAMPLES      0x910F
2212 #define GL_MAX_INTEGER_SAMPLES            0x9110
2213 #endif
2214 
2215 #ifndef GL_ARB_vertex_array_bgra
2216 /* reuse GL_BGRA */
2217 #endif
2218 
2219 #ifndef GL_ARB_draw_buffers_blend
2220 #endif
2221 
2222 #ifndef GL_ARB_sample_shading
2223 #define GL_SAMPLE_SHADING_ARB             0x8C36
2224 #define GL_MIN_SAMPLE_SHADING_VALUE_ARB   0x8C37
2225 #endif
2226 
2227 #ifndef GL_ARB_texture_cube_map_array
2228 #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB     0x9009
2229 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
2230 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
2231 #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB     0x900C
2232 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
2233 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
2234 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
2235 #endif
2236 
2237 #ifndef GL_ARB_texture_gather
2238 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
2239 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
2240 #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
2241 #endif
2242 
2243 #ifndef GL_ARB_texture_query_lod
2244 #endif
2245 
2246 #ifndef GL_ARB_shading_language_include
2247 #define GL_SHADER_INCLUDE_ARB             0x8DAE
2248 #define GL_NAMED_STRING_LENGTH_ARB        0x8DE9
2249 #define GL_NAMED_STRING_TYPE_ARB          0x8DEA
2250 #endif
2251 
2252 #ifndef GL_ARB_texture_compression_bptc
2253 #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
2254 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
2255 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
2256 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
2257 #endif
2258 
2259 #ifndef GL_ARB_blend_func_extended
2260 #define GL_SRC1_COLOR                     0x88F9
2261 /* reuse GL_SRC1_ALPHA */
2262 #define GL_ONE_MINUS_SRC1_COLOR           0x88FA
2263 #define GL_ONE_MINUS_SRC1_ALPHA           0x88FB
2264 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS   0x88FC
2265 #endif
2266 
2267 #ifndef GL_ARB_explicit_attrib_location
2268 #endif
2269 
2270 #ifndef GL_ARB_occlusion_query2
2271 #define GL_ANY_SAMPLES_PASSED             0x8C2F
2272 #endif
2273 
2274 #ifndef GL_ARB_sampler_objects
2275 #define GL_SAMPLER_BINDING                0x8919
2276 #endif
2277 
2278 #ifndef GL_ARB_shader_bit_encoding
2279 #endif
2280 
2281 #ifndef GL_ARB_texture_rgb10_a2ui
2282 #define GL_RGB10_A2UI                     0x906F
2283 #endif
2284 
2285 #ifndef GL_ARB_texture_swizzle
2286 #define GL_TEXTURE_SWIZZLE_R              0x8E42
2287 #define GL_TEXTURE_SWIZZLE_G              0x8E43
2288 #define GL_TEXTURE_SWIZZLE_B              0x8E44
2289 #define GL_TEXTURE_SWIZZLE_A              0x8E45
2290 #define GL_TEXTURE_SWIZZLE_RGBA           0x8E46
2291 #endif
2292 
2293 #ifndef GL_ARB_timer_query
2294 #define GL_TIME_ELAPSED                   0x88BF
2295 #define GL_TIMESTAMP                      0x8E28
2296 #endif
2297 
2298 #ifndef GL_ARB_vertex_type_2_10_10_10_rev
2299 /* reuse GL_UNSIGNED_INT_2_10_10_10_REV */
2300 #define GL_INT_2_10_10_10_REV             0x8D9F
2301 #endif
2302 
2303 #ifndef GL_ARB_draw_indirect
2304 #define GL_DRAW_INDIRECT_BUFFER           0x8F3F
2305 #define GL_DRAW_INDIRECT_BUFFER_BINDING   0x8F43
2306 #endif
2307 
2308 #ifndef GL_ARB_gpu_shader5
2309 #define GL_GEOMETRY_SHADER_INVOCATIONS    0x887F
2310 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
2311 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
2312 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
2313 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
2314 /* reuse GL_MAX_VERTEX_STREAMS */
2315 #endif
2316 
2317 #ifndef GL_ARB_gpu_shader_fp64
2318 /* reuse GL_DOUBLE */
2319 #define GL_DOUBLE_VEC2                    0x8FFC
2320 #define GL_DOUBLE_VEC3                    0x8FFD
2321 #define GL_DOUBLE_VEC4                    0x8FFE
2322 #define GL_DOUBLE_MAT2                    0x8F46
2323 #define GL_DOUBLE_MAT3                    0x8F47
2324 #define GL_DOUBLE_MAT4                    0x8F48
2325 #define GL_DOUBLE_MAT2x3                  0x8F49
2326 #define GL_DOUBLE_MAT2x4                  0x8F4A
2327 #define GL_DOUBLE_MAT3x2                  0x8F4B
2328 #define GL_DOUBLE_MAT3x4                  0x8F4C
2329 #define GL_DOUBLE_MAT4x2                  0x8F4D
2330 #define GL_DOUBLE_MAT4x3                  0x8F4E
2331 #endif
2332 
2333 #ifndef GL_ARB_shader_subroutine
2334 #define GL_ACTIVE_SUBROUTINES             0x8DE5
2335 #define GL_ACTIVE_SUBROUTINE_UNIFORMS     0x8DE6
2336 #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
2337 #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH   0x8E48
2338 #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
2339 #define GL_MAX_SUBROUTINES                0x8DE7
2340 #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
2341 #define GL_NUM_COMPATIBLE_SUBROUTINES     0x8E4A
2342 #define GL_COMPATIBLE_SUBROUTINES         0x8E4B
2343 /* reuse GL_UNIFORM_SIZE */
2344 /* reuse GL_UNIFORM_NAME_LENGTH */
2345 #endif
2346 
2347 #ifndef GL_ARB_tessellation_shader
2348 #define GL_PATCHES                        0x000E
2349 #define GL_PATCH_VERTICES                 0x8E72
2350 #define GL_PATCH_DEFAULT_INNER_LEVEL      0x8E73
2351 #define GL_PATCH_DEFAULT_OUTER_LEVEL      0x8E74
2352 #define GL_TESS_CONTROL_OUTPUT_VERTICES   0x8E75
2353 #define GL_TESS_GEN_MODE                  0x8E76
2354 #define GL_TESS_GEN_SPACING               0x8E77
2355 #define GL_TESS_GEN_VERTEX_ORDER          0x8E78
2356 #define GL_TESS_GEN_POINT_MODE            0x8E79
2357 /* reuse GL_TRIANGLES */
2358 /* reuse GL_QUADS */
2359 #define GL_ISOLINES                       0x8E7A
2360 /* reuse GL_EQUAL */
2361 #define GL_FRACTIONAL_ODD                 0x8E7B
2362 #define GL_FRACTIONAL_EVEN                0x8E7C
2363 /* reuse GL_CCW */
2364 /* reuse GL_CW */
2365 #define GL_MAX_PATCH_VERTICES             0x8E7D
2366 #define GL_MAX_TESS_GEN_LEVEL             0x8E7E
2367 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
2368 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
2369 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
2370 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
2371 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
2372 #define GL_MAX_TESS_PATCH_COMPONENTS      0x8E84
2373 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
2374 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
2375 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
2376 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
2377 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
2378 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
2379 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
2380 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
2381 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
2382 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
2383 #define GL_TESS_EVALUATION_SHADER         0x8E87
2384 #define GL_TESS_CONTROL_SHADER            0x8E88
2385 #endif
2386 
2387 #ifndef GL_ARB_texture_buffer_object_rgb32
2388 /* reuse GL_RGB32F */
2389 /* reuse GL_RGB32UI */
2390 /* reuse GL_RGB32I */
2391 #endif
2392 
2393 #ifndef GL_ARB_transform_feedback2
2394 #define GL_TRANSFORM_FEEDBACK             0x8E22
2395 #define GL_TRANSFORM_FEEDBACK_PAUSED      0x8E23
2396 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED GL_TRANSFORM_FEEDBACK_PAUSED
2397 #define GL_TRANSFORM_FEEDBACK_ACTIVE      0x8E24
2398 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE GL_TRANSFORM_FEEDBACK_ACTIVE
2399 #define GL_TRANSFORM_FEEDBACK_BINDING     0x8E25
2400 #endif
2401 
2402 #ifndef GL_ARB_transform_feedback3
2403 #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
2404 #define GL_MAX_VERTEX_STREAMS             0x8E71
2405 #endif
2406 
2407 #ifndef GL_ARB_ES2_compatibility
2408 #define GL_FIXED                          0x140C
2409 #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
2410 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
2411 #define GL_LOW_FLOAT                      0x8DF0
2412 #define GL_MEDIUM_FLOAT                   0x8DF1
2413 #define GL_HIGH_FLOAT                     0x8DF2
2414 #define GL_LOW_INT                        0x8DF3
2415 #define GL_MEDIUM_INT                     0x8DF4
2416 #define GL_HIGH_INT                       0x8DF5
2417 #define GL_SHADER_COMPILER                0x8DFA
2418 #define GL_SHADER_BINARY_FORMATS          0x8DF8
2419 #define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
2420 #define GL_MAX_VERTEX_UNIFORM_VECTORS     0x8DFB
2421 #define GL_MAX_VARYING_VECTORS            0x8DFC
2422 #define GL_MAX_FRAGMENT_UNIFORM_VECTORS   0x8DFD
2423 #define GL_RGB565                         0x8D62
2424 #endif
2425 
2426 #ifndef GL_ARB_get_program_binary
2427 #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
2428 #define GL_PROGRAM_BINARY_LENGTH          0x8741
2429 #define GL_NUM_PROGRAM_BINARY_FORMATS     0x87FE
2430 #define GL_PROGRAM_BINARY_FORMATS         0x87FF
2431 #endif
2432 
2433 #ifndef GL_ARB_separate_shader_objects
2434 #define GL_VERTEX_SHADER_BIT              0x00000001
2435 #define GL_FRAGMENT_SHADER_BIT            0x00000002
2436 #define GL_GEOMETRY_SHADER_BIT            0x00000004
2437 #define GL_TESS_CONTROL_SHADER_BIT        0x00000008
2438 #define GL_TESS_EVALUATION_SHADER_BIT     0x00000010
2439 #define GL_ALL_SHADER_BITS                0xFFFFFFFF
2440 #define GL_PROGRAM_SEPARABLE              0x8258
2441 #define GL_ACTIVE_PROGRAM                 0x8259
2442 #define GL_PROGRAM_PIPELINE_BINDING       0x825A
2443 #endif
2444 
2445 #ifndef GL_ARB_shader_precision
2446 #endif
2447 
2448 #ifndef GL_ARB_vertex_attrib_64bit
2449 /* reuse GL_RGB32I */
2450 /* reuse GL_DOUBLE_VEC2 */
2451 /* reuse GL_DOUBLE_VEC3 */
2452 /* reuse GL_DOUBLE_VEC4 */
2453 /* reuse GL_DOUBLE_MAT2 */
2454 /* reuse GL_DOUBLE_MAT3 */
2455 /* reuse GL_DOUBLE_MAT4 */
2456 /* reuse GL_DOUBLE_MAT2x3 */
2457 /* reuse GL_DOUBLE_MAT2x4 */
2458 /* reuse GL_DOUBLE_MAT3x2 */
2459 /* reuse GL_DOUBLE_MAT3x4 */
2460 /* reuse GL_DOUBLE_MAT4x2 */
2461 /* reuse GL_DOUBLE_MAT4x3 */
2462 #endif
2463 
2464 #ifndef GL_ARB_viewport_array
2465 /* reuse GL_SCISSOR_BOX */
2466 /* reuse GL_VIEWPORT */
2467 /* reuse GL_DEPTH_RANGE */
2468 /* reuse GL_SCISSOR_TEST */
2469 #define GL_MAX_VIEWPORTS                  0x825B
2470 #define GL_VIEWPORT_SUBPIXEL_BITS         0x825C
2471 #define GL_VIEWPORT_BOUNDS_RANGE          0x825D
2472 #define GL_LAYER_PROVOKING_VERTEX         0x825E
2473 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
2474 #define GL_UNDEFINED_VERTEX               0x8260
2475 /* reuse GL_FIRST_VERTEX_CONVENTION */
2476 /* reuse GL_LAST_VERTEX_CONVENTION */
2477 /* reuse GL_PROVOKING_VERTEX */
2478 #endif
2479 
2480 #ifndef GL_ARB_cl_event
2481 #define GL_SYNC_CL_EVENT_ARB              0x8240
2482 #define GL_SYNC_CL_EVENT_COMPLETE_ARB     0x8241
2483 #endif
2484 
2485 #ifndef GL_ARB_debug_output
2486 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB   0x8242
2487 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
2488 #define GL_DEBUG_CALLBACK_FUNCTION_ARB    0x8244
2489 #define GL_DEBUG_CALLBACK_USER_PARAM_ARB  0x8245
2490 #define GL_DEBUG_SOURCE_API_ARB           0x8246
2491 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
2492 #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
2493 #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB   0x8249
2494 #define GL_DEBUG_SOURCE_APPLICATION_ARB   0x824A
2495 #define GL_DEBUG_SOURCE_OTHER_ARB         0x824B
2496 #define GL_DEBUG_TYPE_ERROR_ARB           0x824C
2497 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
2498 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
2499 #define GL_DEBUG_TYPE_PORTABILITY_ARB     0x824F
2500 #define GL_DEBUG_TYPE_PERFORMANCE_ARB     0x8250
2501 #define GL_DEBUG_TYPE_OTHER_ARB           0x8251
2502 #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB   0x9143
2503 #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB  0x9144
2504 #define GL_DEBUG_LOGGED_MESSAGES_ARB      0x9145
2505 #define GL_DEBUG_SEVERITY_HIGH_ARB        0x9146
2506 #define GL_DEBUG_SEVERITY_MEDIUM_ARB      0x9147
2507 #define GL_DEBUG_SEVERITY_LOW_ARB         0x9148
2508 #endif
2509 
2510 #ifndef GL_ARB_robustness
2511 /* reuse GL_NO_ERROR */
2512 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
2513 #define GL_LOSE_CONTEXT_ON_RESET_ARB      0x8252
2514 #define GL_GUILTY_CONTEXT_RESET_ARB       0x8253
2515 #define GL_INNOCENT_CONTEXT_RESET_ARB     0x8254
2516 #define GL_UNKNOWN_CONTEXT_RESET_ARB      0x8255
2517 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
2518 #define GL_NO_RESET_NOTIFICATION_ARB      0x8261
2519 #endif
2520 
2521 #ifndef GL_ARB_shader_stencil_export
2522 #endif
2523 
2524 #ifndef GL_ARB_base_instance
2525 #endif
2526 
2527 #ifndef GL_ARB_shading_language_420pack
2528 #endif
2529 
2530 #ifndef GL_ARB_transform_feedback_instanced
2531 #endif
2532 
2533 #ifndef GL_ARB_compressed_texture_pixel_storage
2534 #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH  0x9127
2535 #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
2536 #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH  0x9129
2537 #define GL_UNPACK_COMPRESSED_BLOCK_SIZE   0x912A
2538 #define GL_PACK_COMPRESSED_BLOCK_WIDTH    0x912B
2539 #define GL_PACK_COMPRESSED_BLOCK_HEIGHT   0x912C
2540 #define GL_PACK_COMPRESSED_BLOCK_DEPTH    0x912D
2541 #define GL_PACK_COMPRESSED_BLOCK_SIZE     0x912E
2542 #endif
2543 
2544 #ifndef GL_ARB_conservative_depth
2545 #endif
2546 
2547 #ifndef GL_ARB_internalformat_query
2548 #define GL_NUM_SAMPLE_COUNTS              0x9380
2549 #endif
2550 
2551 #ifndef GL_ARB_map_buffer_alignment
2552 #define GL_MIN_MAP_BUFFER_ALIGNMENT       0x90BC
2553 #endif
2554 
2555 #ifndef GL_ARB_shader_atomic_counters
2556 #define GL_ATOMIC_COUNTER_BUFFER          0x92C0
2557 #define GL_ATOMIC_COUNTER_BUFFER_BINDING  0x92C1
2558 #define GL_ATOMIC_COUNTER_BUFFER_START    0x92C2
2559 #define GL_ATOMIC_COUNTER_BUFFER_SIZE     0x92C3
2560 #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
2561 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
2562 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
2563 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
2564 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
2565 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
2566 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
2567 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
2568 #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
2569 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
2570 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
2571 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
2572 #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
2573 #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
2574 #define GL_MAX_VERTEX_ATOMIC_COUNTERS     0x92D2
2575 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
2576 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
2577 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS   0x92D5
2578 #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS   0x92D6
2579 #define GL_MAX_COMBINED_ATOMIC_COUNTERS   0x92D7
2580 #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
2581 #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
2582 #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS  0x92D9
2583 #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
2584 #define GL_UNSIGNED_INT_ATOMIC_COUNTER    0x92DB
2585 #endif
2586 
2587 #ifndef GL_ARB_shader_image_load_store
2588 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
2589 #define GL_ELEMENT_ARRAY_BARRIER_BIT      0x00000002
2590 #define GL_UNIFORM_BARRIER_BIT            0x00000004
2591 #define GL_TEXTURE_FETCH_BARRIER_BIT      0x00000008
2592 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
2593 #define GL_COMMAND_BARRIER_BIT            0x00000040
2594 #define GL_PIXEL_BUFFER_BARRIER_BIT       0x00000080
2595 #define GL_TEXTURE_UPDATE_BARRIER_BIT     0x00000100
2596 #define GL_BUFFER_UPDATE_BARRIER_BIT      0x00000200
2597 #define GL_FRAMEBUFFER_BARRIER_BIT        0x00000400
2598 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
2599 #define GL_ATOMIC_COUNTER_BARRIER_BIT     0x00001000
2600 #define GL_ALL_BARRIER_BITS               0xFFFFFFFF
2601 #define GL_MAX_IMAGE_UNITS                0x8F38
2602 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
2603 #define GL_IMAGE_BINDING_NAME             0x8F3A
2604 #define GL_IMAGE_BINDING_LEVEL            0x8F3B
2605 #define GL_IMAGE_BINDING_LAYERED          0x8F3C
2606 #define GL_IMAGE_BINDING_LAYER            0x8F3D
2607 #define GL_IMAGE_BINDING_ACCESS           0x8F3E
2608 #define GL_IMAGE_1D                       0x904C
2609 #define GL_IMAGE_2D                       0x904D
2610 #define GL_IMAGE_3D                       0x904E
2611 #define GL_IMAGE_2D_RECT                  0x904F
2612 #define GL_IMAGE_CUBE                     0x9050
2613 #define GL_IMAGE_BUFFER                   0x9051
2614 #define GL_IMAGE_1D_ARRAY                 0x9052
2615 #define GL_IMAGE_2D_ARRAY                 0x9053
2616 #define GL_IMAGE_CUBE_MAP_ARRAY           0x9054
2617 #define GL_IMAGE_2D_MULTISAMPLE           0x9055
2618 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY     0x9056
2619 #define GL_INT_IMAGE_1D                   0x9057
2620 #define GL_INT_IMAGE_2D                   0x9058
2621 #define GL_INT_IMAGE_3D                   0x9059
2622 #define GL_INT_IMAGE_2D_RECT              0x905A
2623 #define GL_INT_IMAGE_CUBE                 0x905B
2624 #define GL_INT_IMAGE_BUFFER               0x905C
2625 #define GL_INT_IMAGE_1D_ARRAY             0x905D
2626 #define GL_INT_IMAGE_2D_ARRAY             0x905E
2627 #define GL_INT_IMAGE_CUBE_MAP_ARRAY       0x905F
2628 #define GL_INT_IMAGE_2D_MULTISAMPLE       0x9060
2629 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
2630 #define GL_UNSIGNED_INT_IMAGE_1D          0x9062
2631 #define GL_UNSIGNED_INT_IMAGE_2D          0x9063
2632 #define GL_UNSIGNED_INT_IMAGE_3D          0x9064
2633 #define GL_UNSIGNED_INT_IMAGE_2D_RECT     0x9065
2634 #define GL_UNSIGNED_INT_IMAGE_CUBE        0x9066
2635 #define GL_UNSIGNED_INT_IMAGE_BUFFER      0x9067
2636 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY    0x9068
2637 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY    0x9069
2638 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
2639 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
2640 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
2641 #define GL_MAX_IMAGE_SAMPLES              0x906D
2642 #define GL_IMAGE_BINDING_FORMAT           0x906E
2643 #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
2644 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
2645 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
2646 #define GL_MAX_VERTEX_IMAGE_UNIFORMS      0x90CA
2647 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
2648 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
2649 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS    0x90CD
2650 #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS    0x90CE
2651 #define GL_MAX_COMBINED_IMAGE_UNIFORMS    0x90CF
2652 #endif
2653 
2654 #ifndef GL_ARB_shading_language_packing
2655 #endif
2656 
2657 #ifndef GL_ARB_texture_storage
2658 #define GL_TEXTURE_IMMUTABLE_FORMAT       0x912F
2659 #endif
2660 
2661 #ifndef GL_KHR_texture_compression_astc_ldr
2662 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR   0x93B0
2663 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR   0x93B1
2664 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR   0x93B2
2665 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR   0x93B3
2666 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR   0x93B4
2667 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR   0x93B5
2668 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR   0x93B6
2669 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR   0x93B7
2670 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR  0x93B8
2671 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR  0x93B9
2672 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR  0x93BA
2673 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
2674 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
2675 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
2676 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
2677 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
2678 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
2679 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
2680 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
2681 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
2682 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
2683 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
2684 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
2685 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
2686 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
2687 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
2688 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
2689 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
2690 #endif
2691 
2692 #ifndef GL_KHR_debug
2693 #define GL_DEBUG_OUTPUT_SYNCHRONOUS       0x8242
2694 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
2695 #define GL_DEBUG_CALLBACK_FUNCTION        0x8244
2696 #define GL_DEBUG_CALLBACK_USER_PARAM      0x8245
2697 #define GL_DEBUG_SOURCE_API               0x8246
2698 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM     0x8247
2699 #define GL_DEBUG_SOURCE_SHADER_COMPILER   0x8248
2700 #define GL_DEBUG_SOURCE_THIRD_PARTY       0x8249
2701 #define GL_DEBUG_SOURCE_APPLICATION       0x824A
2702 #define GL_DEBUG_SOURCE_OTHER             0x824B
2703 #define GL_DEBUG_TYPE_ERROR               0x824C
2704 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
2705 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR  0x824E
2706 #define GL_DEBUG_TYPE_PORTABILITY         0x824F
2707 #define GL_DEBUG_TYPE_PERFORMANCE         0x8250
2708 #define GL_DEBUG_TYPE_OTHER               0x8251
2709 #define GL_DEBUG_TYPE_MARKER              0x8268
2710 #define GL_DEBUG_TYPE_PUSH_GROUP          0x8269
2711 #define GL_DEBUG_TYPE_POP_GROUP           0x826A
2712 #define GL_DEBUG_SEVERITY_NOTIFICATION    0x826B
2713 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH    0x826C
2714 #define GL_DEBUG_GROUP_STACK_DEPTH        0x826D
2715 #define GL_BUFFER                         0x82E0
2716 #define GL_SHADER                         0x82E1
2717 #define GL_PROGRAM                        0x82E2
2718 #define GL_QUERY                          0x82E3
2719 #define GL_PROGRAM_PIPELINE               0x82E4
2720 #define GL_SAMPLER                        0x82E6
2721 #define GL_DISPLAY_LIST                   0x82E7
2722 /* DISPLAY_LIST used in compatibility profile only */
2723 #define GL_MAX_LABEL_LENGTH               0x82E8
2724 #define GL_MAX_DEBUG_MESSAGE_LENGTH       0x9143
2725 #define GL_MAX_DEBUG_LOGGED_MESSAGES      0x9144
2726 #define GL_DEBUG_LOGGED_MESSAGES          0x9145
2727 #define GL_DEBUG_SEVERITY_HIGH            0x9146
2728 #define GL_DEBUG_SEVERITY_MEDIUM          0x9147
2729 #define GL_DEBUG_SEVERITY_LOW             0x9148
2730 #define GL_DEBUG_OUTPUT                   0x92E0
2731 #define GL_CONTEXT_FLAG_DEBUG_BIT         0x00000002
2732 /* reuse GL_STACK_UNDERFLOW */
2733 /* reuse GL_STACK_OVERFLOW */
2734 #endif
2735 
2736 #ifndef GL_ARB_arrays_of_arrays
2737 #endif
2738 
2739 #ifndef GL_ARB_clear_buffer_object
2740 #endif
2741 
2742 #ifndef GL_ARB_compute_shader
2743 #define GL_COMPUTE_SHADER                 0x91B9
2744 #define GL_MAX_COMPUTE_UNIFORM_BLOCKS     0x91BB
2745 #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
2746 #define GL_MAX_COMPUTE_IMAGE_UNIFORMS     0x91BD
2747 #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
2748 #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
2749 #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
2750 #define GL_MAX_COMPUTE_ATOMIC_COUNTERS    0x8265
2751 #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
2752 #define GL_MAX_COMPUTE_LOCAL_INVOCATIONS  0x90EB
2753 #define GL_MAX_COMPUTE_WORK_GROUP_COUNT   0x91BE
2754 #define GL_MAX_COMPUTE_WORK_GROUP_SIZE    0x91BF
2755 #define GL_COMPUTE_LOCAL_WORK_SIZE        0x8267
2756 #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
2757 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
2758 #define GL_DISPATCH_INDIRECT_BUFFER       0x90EE
2759 #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
2760 #define GL_COMPUTE_SHADER_BIT             0x00000020
2761 #endif
2762 
2763 #ifndef GL_ARB_copy_image
2764 #endif
2765 
2766 #ifndef GL_ARB_texture_view
2767 #define GL_TEXTURE_VIEW_MIN_LEVEL         0x82DB
2768 #define GL_TEXTURE_VIEW_NUM_LEVELS        0x82DC
2769 #define GL_TEXTURE_VIEW_MIN_LAYER         0x82DD
2770 #define GL_TEXTURE_VIEW_NUM_LAYERS        0x82DE
2771 #define GL_TEXTURE_IMMUTABLE_LEVELS       0x82DF
2772 #endif
2773 
2774 #ifndef GL_ARB_vertex_attrib_binding
2775 #define GL_VERTEX_ATTRIB_BINDING          0x82D4
2776 #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET  0x82D5
2777 #define GL_VERTEX_BINDING_DIVISOR         0x82D6
2778 #define GL_VERTEX_BINDING_OFFSET          0x82D7
2779 #define GL_VERTEX_BINDING_STRIDE          0x82D8
2780 #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
2781 #define GL_MAX_VERTEX_ATTRIB_BINDINGS     0x82DA
2782 #endif
2783 
2784 #ifndef GL_ARB_robustness_isolation
2785 #endif
2786 
2787 #ifndef GL_ARB_ES3_compatibility
2788 #define GL_COMPRESSED_RGB8_ETC2           0x9274
2789 #define GL_COMPRESSED_SRGB8_ETC2          0x9275
2790 #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
2791 #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
2792 #define GL_COMPRESSED_RGBA8_ETC2_EAC      0x9278
2793 #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
2794 #define GL_COMPRESSED_R11_EAC             0x9270
2795 #define GL_COMPRESSED_SIGNED_R11_EAC      0x9271
2796 #define GL_COMPRESSED_RG11_EAC            0x9272
2797 #define GL_COMPRESSED_SIGNED_RG11_EAC     0x9273
2798 #define GL_PRIMITIVE_RESTART_FIXED_INDEX  0x8D69
2799 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
2800 #define GL_MAX_ELEMENT_INDEX              0x8D6B
2801 #endif
2802 
2803 #ifndef GL_ARB_explicit_uniform_location
2804 #define GL_MAX_UNIFORM_LOCATIONS          0x826E
2805 #endif
2806 
2807 #ifndef GL_ARB_fragment_layer_viewport
2808 #endif
2809 
2810 #ifndef GL_ARB_framebuffer_no_attachments
2811 #define GL_FRAMEBUFFER_DEFAULT_WIDTH      0x9310
2812 #define GL_FRAMEBUFFER_DEFAULT_HEIGHT     0x9311
2813 #define GL_FRAMEBUFFER_DEFAULT_LAYERS     0x9312
2814 #define GL_FRAMEBUFFER_DEFAULT_SAMPLES    0x9313
2815 #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
2816 #define GL_MAX_FRAMEBUFFER_WIDTH          0x9315
2817 #define GL_MAX_FRAMEBUFFER_HEIGHT         0x9316
2818 #define GL_MAX_FRAMEBUFFER_LAYERS         0x9317
2819 #define GL_MAX_FRAMEBUFFER_SAMPLES        0x9318
2820 #endif
2821 
2822 #ifndef GL_ARB_internalformat_query2
2823 /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_TYPE */
2824 /* reuse GL_NUM_SAMPLE_COUNTS */
2825 /* reuse GL_RENDERBUFFER */
2826 /* reuse GL_SAMPLES */
2827 /* reuse GL_TEXTURE_1D */
2828 /* reuse GL_TEXTURE_1D_ARRAY */
2829 /* reuse GL_TEXTURE_2D */
2830 /* reuse GL_TEXTURE_2D_ARRAY */
2831 /* reuse GL_TEXTURE_3D */
2832 /* reuse GL_TEXTURE_CUBE_MAP */
2833 /* reuse GL_TEXTURE_CUBE_MAP_ARRAY */
2834 /* reuse GL_TEXTURE_RECTANGLE */
2835 /* reuse GL_TEXTURE_BUFFER */
2836 /* reuse GL_TEXTURE_2D_MULTISAMPLE */
2837 /* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */
2838 /* reuse GL_TEXTURE_COMPRESSED */
2839 #define GL_INTERNALFORMAT_SUPPORTED       0x826F
2840 #define GL_INTERNALFORMAT_PREFERRED       0x8270
2841 #define GL_INTERNALFORMAT_RED_SIZE        0x8271
2842 #define GL_INTERNALFORMAT_GREEN_SIZE      0x8272
2843 #define GL_INTERNALFORMAT_BLUE_SIZE       0x8273
2844 #define GL_INTERNALFORMAT_ALPHA_SIZE      0x8274
2845 #define GL_INTERNALFORMAT_DEPTH_SIZE      0x8275
2846 #define GL_INTERNALFORMAT_STENCIL_SIZE    0x8276
2847 #define GL_INTERNALFORMAT_SHARED_SIZE     0x8277
2848 #define GL_INTERNALFORMAT_RED_TYPE        0x8278
2849 #define GL_INTERNALFORMAT_GREEN_TYPE      0x8279
2850 #define GL_INTERNALFORMAT_BLUE_TYPE       0x827A
2851 #define GL_INTERNALFORMAT_ALPHA_TYPE      0x827B
2852 #define GL_INTERNALFORMAT_DEPTH_TYPE      0x827C
2853 #define GL_INTERNALFORMAT_STENCIL_TYPE    0x827D
2854 #define GL_MAX_WIDTH                      0x827E
2855 #define GL_MAX_HEIGHT                     0x827F
2856 #define GL_MAX_DEPTH                      0x8280
2857 #define GL_MAX_LAYERS                     0x8281
2858 #define GL_MAX_COMBINED_DIMENSIONS        0x8282
2859 #define GL_COLOR_COMPONENTS               0x8283
2860 #define GL_DEPTH_COMPONENTS               0x8284
2861 #define GL_STENCIL_COMPONENTS             0x8285
2862 #define GL_COLOR_RENDERABLE               0x8286
2863 #define GL_DEPTH_RENDERABLE               0x8287
2864 #define GL_STENCIL_RENDERABLE             0x8288
2865 #define GL_FRAMEBUFFER_RENDERABLE         0x8289
2866 #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
2867 #define GL_FRAMEBUFFER_BLEND              0x828B
2868 #define GL_READ_PIXELS                    0x828C
2869 #define GL_READ_PIXELS_FORMAT             0x828D
2870 #define GL_READ_PIXELS_TYPE               0x828E
2871 #define GL_TEXTURE_IMAGE_FORMAT           0x828F
2872 #define GL_TEXTURE_IMAGE_TYPE             0x8290
2873 #define GL_GET_TEXTURE_IMAGE_FORMAT       0x8291
2874 #define GL_GET_TEXTURE_IMAGE_TYPE         0x8292
2875 #define GL_MIPMAP                         0x8293
2876 #define GL_MANUAL_GENERATE_MIPMAP         0x8294
2877 #define GL_AUTO_GENERATE_MIPMAP           0x8295
2878 #define GL_COLOR_ENCODING                 0x8296
2879 #define GL_SRGB_READ                      0x8297
2880 #define GL_SRGB_WRITE                     0x8298
2881 #define GL_SRGB_DECODE_ARB                0x8299
2882 #define GL_FILTER                         0x829A
2883 #define GL_VERTEX_TEXTURE                 0x829B
2884 #define GL_TESS_CONTROL_TEXTURE           0x829C
2885 #define GL_TESS_EVALUATION_TEXTURE        0x829D
2886 #define GL_GEOMETRY_TEXTURE               0x829E
2887 #define GL_FRAGMENT_TEXTURE               0x829F
2888 #define GL_COMPUTE_TEXTURE                0x82A0
2889 #define GL_TEXTURE_SHADOW                 0x82A1
2890 #define GL_TEXTURE_GATHER                 0x82A2
2891 #define GL_TEXTURE_GATHER_SHADOW          0x82A3
2892 #define GL_SHADER_IMAGE_LOAD              0x82A4
2893 #define GL_SHADER_IMAGE_STORE             0x82A5
2894 #define GL_SHADER_IMAGE_ATOMIC            0x82A6
2895 #define GL_IMAGE_TEXEL_SIZE               0x82A7
2896 #define GL_IMAGE_COMPATIBILITY_CLASS      0x82A8
2897 #define GL_IMAGE_PIXEL_FORMAT             0x82A9
2898 #define GL_IMAGE_PIXEL_TYPE               0x82AA
2899 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
2900 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
2901 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
2902 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
2903 #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
2904 #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
2905 #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE  0x82B3
2906 #define GL_CLEAR_BUFFER                   0x82B4
2907 #define GL_TEXTURE_VIEW                   0x82B5
2908 #define GL_VIEW_COMPATIBILITY_CLASS       0x82B6
2909 #define GL_FULL_SUPPORT                   0x82B7
2910 #define GL_CAVEAT_SUPPORT                 0x82B8
2911 #define GL_IMAGE_CLASS_4_X_32             0x82B9
2912 #define GL_IMAGE_CLASS_2_X_32             0x82BA
2913 #define GL_IMAGE_CLASS_1_X_32             0x82BB
2914 #define GL_IMAGE_CLASS_4_X_16             0x82BC
2915 #define GL_IMAGE_CLASS_2_X_16             0x82BD
2916 #define GL_IMAGE_CLASS_1_X_16             0x82BE
2917 #define GL_IMAGE_CLASS_4_X_8              0x82BF
2918 #define GL_IMAGE_CLASS_2_X_8              0x82C0
2919 #define GL_IMAGE_CLASS_1_X_8              0x82C1
2920 #define GL_IMAGE_CLASS_11_11_10           0x82C2
2921 #define GL_IMAGE_CLASS_10_10_10_2         0x82C3
2922 #define GL_VIEW_CLASS_128_BITS            0x82C4
2923 #define GL_VIEW_CLASS_96_BITS             0x82C5
2924 #define GL_VIEW_CLASS_64_BITS             0x82C6
2925 #define GL_VIEW_CLASS_48_BITS             0x82C7
2926 #define GL_VIEW_CLASS_32_BITS             0x82C8
2927 #define GL_VIEW_CLASS_24_BITS             0x82C9
2928 #define GL_VIEW_CLASS_16_BITS             0x82CA
2929 #define GL_VIEW_CLASS_8_BITS              0x82CB
2930 #define GL_VIEW_CLASS_S3TC_DXT1_RGB       0x82CC
2931 #define GL_VIEW_CLASS_S3TC_DXT1_RGBA      0x82CD
2932 #define GL_VIEW_CLASS_S3TC_DXT3_RGBA      0x82CE
2933 #define GL_VIEW_CLASS_S3TC_DXT5_RGBA      0x82CF
2934 #define GL_VIEW_CLASS_RGTC1_RED           0x82D0
2935 #define GL_VIEW_CLASS_RGTC2_RG            0x82D1
2936 #define GL_VIEW_CLASS_BPTC_UNORM          0x82D2
2937 #define GL_VIEW_CLASS_BPTC_FLOAT          0x82D3
2938 #endif
2939 
2940 #ifndef GL_ARB_invalidate_subdata
2941 #endif
2942 
2943 #ifndef GL_ARB_multi_draw_indirect
2944 #endif
2945 
2946 #ifndef GL_ARB_program_interface_query
2947 #define GL_UNIFORM                        0x92E1
2948 #define GL_UNIFORM_BLOCK                  0x92E2
2949 #define GL_PROGRAM_INPUT                  0x92E3
2950 #define GL_PROGRAM_OUTPUT                 0x92E4
2951 #define GL_BUFFER_VARIABLE                0x92E5
2952 #define GL_SHADER_STORAGE_BLOCK           0x92E6
2953 /* reuse GL_ATOMIC_COUNTER_BUFFER */
2954 #define GL_VERTEX_SUBROUTINE              0x92E8
2955 #define GL_TESS_CONTROL_SUBROUTINE        0x92E9
2956 #define GL_TESS_EVALUATION_SUBROUTINE     0x92EA
2957 #define GL_GEOMETRY_SUBROUTINE            0x92EB
2958 #define GL_FRAGMENT_SUBROUTINE            0x92EC
2959 #define GL_COMPUTE_SUBROUTINE             0x92ED
2960 #define GL_VERTEX_SUBROUTINE_UNIFORM      0x92EE
2961 #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
2962 #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
2963 #define GL_GEOMETRY_SUBROUTINE_UNIFORM    0x92F1
2964 #define GL_FRAGMENT_SUBROUTINE_UNIFORM    0x92F2
2965 #define GL_COMPUTE_SUBROUTINE_UNIFORM     0x92F3
2966 #define GL_TRANSFORM_FEEDBACK_VARYING     0x92F4
2967 #define GL_ACTIVE_RESOURCES               0x92F5
2968 #define GL_MAX_NAME_LENGTH                0x92F6
2969 #define GL_MAX_NUM_ACTIVE_VARIABLES       0x92F7
2970 #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
2971 #define GL_NAME_LENGTH                    0x92F9
2972 #define GL_TYPE                           0x92FA
2973 #define GL_ARRAY_SIZE                     0x92FB
2974 #define GL_OFFSET                         0x92FC
2975 #define GL_BLOCK_INDEX                    0x92FD
2976 #define GL_ARRAY_STRIDE                   0x92FE
2977 #define GL_MATRIX_STRIDE                  0x92FF
2978 #define GL_IS_ROW_MAJOR                   0x9300
2979 #define GL_ATOMIC_COUNTER_BUFFER_INDEX    0x9301
2980 #define GL_BUFFER_BINDING                 0x9302
2981 #define GL_BUFFER_DATA_SIZE               0x9303
2982 #define GL_NUM_ACTIVE_VARIABLES           0x9304
2983 #define GL_ACTIVE_VARIABLES               0x9305
2984 #define GL_REFERENCED_BY_VERTEX_SHADER    0x9306
2985 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
2986 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
2987 #define GL_REFERENCED_BY_GEOMETRY_SHADER  0x9309
2988 #define GL_REFERENCED_BY_FRAGMENT_SHADER  0x930A
2989 #define GL_REFERENCED_BY_COMPUTE_SHADER   0x930B
2990 #define GL_TOP_LEVEL_ARRAY_SIZE           0x930C
2991 #define GL_TOP_LEVEL_ARRAY_STRIDE         0x930D
2992 #define GL_LOCATION                       0x930E
2993 #define GL_LOCATION_INDEX                 0x930F
2994 #define GL_IS_PER_PATCH                   0x92E7
2995 /* reuse GL_NUM_COMPATIBLE_SUBROUTINES */
2996 /* reuse GL_COMPATIBLE_SUBROUTINES */
2997 #endif
2998 
2999 #ifndef GL_ARB_robust_buffer_access_behavior
3000 #endif
3001 
3002 #ifndef GL_ARB_shader_image_size
3003 #endif
3004 
3005 #ifndef GL_ARB_shader_storage_buffer_object
3006 #define GL_SHADER_STORAGE_BUFFER          0x90D2
3007 #define GL_SHADER_STORAGE_BUFFER_BINDING  0x90D3
3008 #define GL_SHADER_STORAGE_BUFFER_START    0x90D4
3009 #define GL_SHADER_STORAGE_BUFFER_SIZE     0x90D5
3010 #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
3011 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
3012 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
3013 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
3014 #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
3015 #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
3016 #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
3017 #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
3018 #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE  0x90DE
3019 #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
3020 #define GL_SHADER_STORAGE_BARRIER_BIT     0x2000
3021 #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS
3022 /* reuse GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS */
3023 #endif
3024 
3025 #ifndef GL_ARB_stencil_texturing
3026 #define GL_DEPTH_STENCIL_TEXTURE_MODE     0x90EA
3027 #endif
3028 
3029 #ifndef GL_ARB_texture_buffer_range
3030 #define GL_TEXTURE_BUFFER_OFFSET          0x919D
3031 #define GL_TEXTURE_BUFFER_SIZE            0x919E
3032 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
3033 #endif
3034 
3035 #ifndef GL_ARB_texture_query_levels
3036 #endif
3037 
3038 #ifndef GL_ARB_texture_storage_multisample
3039 #endif
3040 
3041 #ifndef GL_EXT_abgr
3042 #define GL_ABGR_EXT                       0x8000
3043 #endif
3044 
3045 #ifndef GL_EXT_blend_color
3046 #define GL_CONSTANT_COLOR_EXT             0x8001
3047 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
3048 #define GL_CONSTANT_ALPHA_EXT             0x8003
3049 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
3050 #define GL_BLEND_COLOR_EXT                0x8005
3051 #endif
3052 
3053 #ifndef GL_EXT_polygon_offset
3054 #define GL_POLYGON_OFFSET_EXT             0x8037
3055 #define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
3056 #define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
3057 #endif
3058 
3059 #ifndef GL_EXT_texture
3060 #define GL_ALPHA4_EXT                     0x803B
3061 #define GL_ALPHA8_EXT                     0x803C
3062 #define GL_ALPHA12_EXT                    0x803D
3063 #define GL_ALPHA16_EXT                    0x803E
3064 #define GL_LUMINANCE4_EXT                 0x803F
3065 #define GL_LUMINANCE8_EXT                 0x8040
3066 #define GL_LUMINANCE12_EXT                0x8041
3067 #define GL_LUMINANCE16_EXT                0x8042
3068 #define GL_LUMINANCE4_ALPHA4_EXT          0x8043
3069 #define GL_LUMINANCE6_ALPHA2_EXT          0x8044
3070 #define GL_LUMINANCE8_ALPHA8_EXT          0x8045
3071 #define GL_LUMINANCE12_ALPHA4_EXT         0x8046
3072 #define GL_LUMINANCE12_ALPHA12_EXT        0x8047
3073 #define GL_LUMINANCE16_ALPHA16_EXT        0x8048
3074 #define GL_INTENSITY_EXT                  0x8049
3075 #define GL_INTENSITY4_EXT                 0x804A
3076 #define GL_INTENSITY8_EXT                 0x804B
3077 #define GL_INTENSITY12_EXT                0x804C
3078 #define GL_INTENSITY16_EXT                0x804D
3079 #define GL_RGB2_EXT                       0x804E
3080 #define GL_RGB4_EXT                       0x804F
3081 #define GL_RGB5_EXT                       0x8050
3082 #define GL_RGB8_EXT                       0x8051
3083 #define GL_RGB10_EXT                      0x8052
3084 #define GL_RGB12_EXT                      0x8053
3085 #define GL_RGB16_EXT                      0x8054
3086 #define GL_RGBA2_EXT                      0x8055
3087 #define GL_RGBA4_EXT                      0x8056
3088 #define GL_RGB5_A1_EXT                    0x8057
3089 #define GL_RGBA8_EXT                      0x8058
3090 #define GL_RGB10_A2_EXT                   0x8059
3091 #define GL_RGBA12_EXT                     0x805A
3092 #define GL_RGBA16_EXT                     0x805B
3093 #define GL_TEXTURE_RED_SIZE_EXT           0x805C
3094 #define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
3095 #define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
3096 #define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
3097 #define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
3098 #define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
3099 #define GL_REPLACE_EXT                    0x8062
3100 #define GL_PROXY_TEXTURE_1D_EXT           0x8063
3101 #define GL_PROXY_TEXTURE_2D_EXT           0x8064
3102 #define GL_TEXTURE_TOO_LARGE_EXT          0x8065
3103 #endif
3104 
3105 #ifndef GL_EXT_texture3D
3106 #define GL_PACK_SKIP_IMAGES_EXT           0x806B
3107 #define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
3108 #define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
3109 #define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
3110 #define GL_TEXTURE_3D_EXT                 0x806F
3111 #define GL_PROXY_TEXTURE_3D_EXT           0x8070
3112 #define GL_TEXTURE_DEPTH_EXT              0x8071
3113 #define GL_TEXTURE_WRAP_R_EXT             0x8072
3114 #define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
3115 #endif
3116 
3117 #ifndef GL_SGIS_texture_filter4
3118 #define GL_FILTER4_SGIS                   0x8146
3119 #define GL_TEXTURE_FILTER4_SIZE_SGIS      0x8147
3120 #endif
3121 
3122 #ifndef GL_EXT_subtexture
3123 #endif
3124 
3125 #ifndef GL_EXT_copy_texture
3126 #endif
3127 
3128 #ifndef GL_EXT_histogram
3129 #define GL_HISTOGRAM_EXT                  0x8024
3130 #define GL_PROXY_HISTOGRAM_EXT            0x8025
3131 #define GL_HISTOGRAM_WIDTH_EXT            0x8026
3132 #define GL_HISTOGRAM_FORMAT_EXT           0x8027
3133 #define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
3134 #define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
3135 #define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
3136 #define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
3137 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
3138 #define GL_HISTOGRAM_SINK_EXT             0x802D
3139 #define GL_MINMAX_EXT                     0x802E
3140 #define GL_MINMAX_FORMAT_EXT              0x802F
3141 #define GL_MINMAX_SINK_EXT                0x8030
3142 #define GL_TABLE_TOO_LARGE_EXT            0x8031
3143 #endif
3144 
3145 #ifndef GL_EXT_convolution
3146 #define GL_CONVOLUTION_1D_EXT             0x8010
3147 #define GL_CONVOLUTION_2D_EXT             0x8011
3148 #define GL_SEPARABLE_2D_EXT               0x8012
3149 #define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
3150 #define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
3151 #define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
3152 #define GL_REDUCE_EXT                     0x8016
3153 #define GL_CONVOLUTION_FORMAT_EXT         0x8017
3154 #define GL_CONVOLUTION_WIDTH_EXT          0x8018
3155 #define GL_CONVOLUTION_HEIGHT_EXT         0x8019
3156 #define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
3157 #define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
3158 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
3159 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
3160 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
3161 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
3162 #define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
3163 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
3164 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
3165 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
3166 #endif
3167 
3168 #ifndef GL_SGI_color_matrix
3169 #define GL_COLOR_MATRIX_SGI               0x80B1
3170 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI   0x80B2
3171 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
3172 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
3173 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
3174 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
3175 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
3176 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
3177 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
3178 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
3179 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
3180 #endif
3181 
3182 #ifndef GL_SGI_color_table
3183 #define GL_COLOR_TABLE_SGI                0x80D0
3184 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
3185 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
3186 #define GL_PROXY_COLOR_TABLE_SGI          0x80D3
3187 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
3188 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
3189 #define GL_COLOR_TABLE_SCALE_SGI          0x80D6
3190 #define GL_COLOR_TABLE_BIAS_SGI           0x80D7
3191 #define GL_COLOR_TABLE_FORMAT_SGI         0x80D8
3192 #define GL_COLOR_TABLE_WIDTH_SGI          0x80D9
3193 #define GL_COLOR_TABLE_RED_SIZE_SGI       0x80DA
3194 #define GL_COLOR_TABLE_GREEN_SIZE_SGI     0x80DB
3195 #define GL_COLOR_TABLE_BLUE_SIZE_SGI      0x80DC
3196 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI     0x80DD
3197 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
3198 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
3199 #endif
3200 
3201 #ifndef GL_SGIS_pixel_texture
3202 #define GL_PIXEL_TEXTURE_SGIS             0x8353
3203 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
3204 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
3205 #define GL_PIXEL_GROUP_COLOR_SGIS         0x8356
3206 #endif
3207 
3208 #ifndef GL_SGIX_pixel_texture
3209 #define GL_PIXEL_TEX_GEN_SGIX             0x8139
3210 #define GL_PIXEL_TEX_GEN_MODE_SGIX        0x832B
3211 #endif
3212 
3213 #ifndef GL_SGIS_texture4D
3214 #define GL_PACK_SKIP_VOLUMES_SGIS         0x8130
3215 #define GL_PACK_IMAGE_DEPTH_SGIS          0x8131
3216 #define GL_UNPACK_SKIP_VOLUMES_SGIS       0x8132
3217 #define GL_UNPACK_IMAGE_DEPTH_SGIS        0x8133
3218 #define GL_TEXTURE_4D_SGIS                0x8134
3219 #define GL_PROXY_TEXTURE_4D_SGIS          0x8135
3220 #define GL_TEXTURE_4DSIZE_SGIS            0x8136
3221 #define GL_TEXTURE_WRAP_Q_SGIS            0x8137
3222 #define GL_MAX_4D_TEXTURE_SIZE_SGIS       0x8138
3223 #define GL_TEXTURE_4D_BINDING_SGIS        0x814F
3224 #endif
3225 
3226 #ifndef GL_SGI_texture_color_table
3227 #define GL_TEXTURE_COLOR_TABLE_SGI        0x80BC
3228 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI  0x80BD
3229 #endif
3230 
3231 #ifndef GL_EXT_cmyka
3232 #define GL_CMYK_EXT                       0x800C
3233 #define GL_CMYKA_EXT                      0x800D
3234 #define GL_PACK_CMYK_HINT_EXT             0x800E
3235 #define GL_UNPACK_CMYK_HINT_EXT           0x800F
3236 #endif
3237 
3238 #ifndef GL_EXT_texture_object
3239 #define GL_TEXTURE_PRIORITY_EXT           0x8066
3240 #define GL_TEXTURE_RESIDENT_EXT           0x8067
3241 #define GL_TEXTURE_1D_BINDING_EXT         0x8068
3242 #define GL_TEXTURE_2D_BINDING_EXT         0x8069
3243 #define GL_TEXTURE_3D_BINDING_EXT         0x806A
3244 #endif
3245 
3246 #ifndef GL_SGIS_detail_texture
3247 #define GL_DETAIL_TEXTURE_2D_SGIS         0x8095
3248 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
3249 #define GL_LINEAR_DETAIL_SGIS             0x8097
3250 #define GL_LINEAR_DETAIL_ALPHA_SGIS       0x8098
3251 #define GL_LINEAR_DETAIL_COLOR_SGIS       0x8099
3252 #define GL_DETAIL_TEXTURE_LEVEL_SGIS      0x809A
3253 #define GL_DETAIL_TEXTURE_MODE_SGIS       0x809B
3254 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
3255 #endif
3256 
3257 #ifndef GL_SGIS_sharpen_texture
3258 #define GL_LINEAR_SHARPEN_SGIS            0x80AD
3259 #define GL_LINEAR_SHARPEN_ALPHA_SGIS      0x80AE
3260 #define GL_LINEAR_SHARPEN_COLOR_SGIS      0x80AF
3261 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
3262 #endif
3263 
3264 #ifndef GL_EXT_packed_pixels
3265 #define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
3266 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
3267 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
3268 #define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
3269 #define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
3270 #endif
3271 
3272 #ifndef GL_SGIS_texture_lod
3273 #define GL_TEXTURE_MIN_LOD_SGIS           0x813A
3274 #define GL_TEXTURE_MAX_LOD_SGIS           0x813B
3275 #define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
3276 #define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
3277 #endif
3278 
3279 #ifndef GL_SGIS_multisample
3280 #define GL_MULTISAMPLE_SGIS               0x809D
3281 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS      0x809E
3282 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS       0x809F
3283 #define GL_SAMPLE_MASK_SGIS               0x80A0
3284 #define GL_1PASS_SGIS                     0x80A1
3285 #define GL_2PASS_0_SGIS                   0x80A2
3286 #define GL_2PASS_1_SGIS                   0x80A3
3287 #define GL_4PASS_0_SGIS                   0x80A4
3288 #define GL_4PASS_1_SGIS                   0x80A5
3289 #define GL_4PASS_2_SGIS                   0x80A6
3290 #define GL_4PASS_3_SGIS                   0x80A7
3291 #define GL_SAMPLE_BUFFERS_SGIS            0x80A8
3292 #define GL_SAMPLES_SGIS                   0x80A9
3293 #define GL_SAMPLE_MASK_VALUE_SGIS         0x80AA
3294 #define GL_SAMPLE_MASK_INVERT_SGIS        0x80AB
3295 #define GL_SAMPLE_PATTERN_SGIS            0x80AC
3296 #endif
3297 
3298 #ifndef GL_EXT_rescale_normal
3299 #define GL_RESCALE_NORMAL_EXT             0x803A
3300 #endif
3301 
3302 #ifndef GL_EXT_vertex_array
3303 #define GL_VERTEX_ARRAY_EXT               0x8074
3304 #define GL_NORMAL_ARRAY_EXT               0x8075
3305 #define GL_COLOR_ARRAY_EXT                0x8076
3306 #define GL_INDEX_ARRAY_EXT                0x8077
3307 #define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
3308 #define GL_EDGE_FLAG_ARRAY_EXT            0x8079
3309 #define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
3310 #define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
3311 #define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
3312 #define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
3313 #define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
3314 #define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
3315 #define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
3316 #define GL_COLOR_ARRAY_SIZE_EXT           0x8081
3317 #define GL_COLOR_ARRAY_TYPE_EXT           0x8082
3318 #define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
3319 #define GL_COLOR_ARRAY_COUNT_EXT          0x8084
3320 #define GL_INDEX_ARRAY_TYPE_EXT           0x8085
3321 #define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
3322 #define GL_INDEX_ARRAY_COUNT_EXT          0x8087
3323 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
3324 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
3325 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
3326 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
3327 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
3328 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
3329 #define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
3330 #define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
3331 #define GL_COLOR_ARRAY_POINTER_EXT        0x8090
3332 #define GL_INDEX_ARRAY_POINTER_EXT        0x8091
3333 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
3334 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
3335 #endif
3336 
3337 #ifndef GL_EXT_misc_attribute
3338 #endif
3339 
3340 #ifndef GL_SGIS_generate_mipmap
3341 #define GL_GENERATE_MIPMAP_SGIS           0x8191
3342 #define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
3343 #endif
3344 
3345 #ifndef GL_SGIX_clipmap
3346 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX     0x8170
3347 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX    0x8171
3348 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX     0x8172
3349 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX    0x8173
3350 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
3351 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
3352 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX     0x8176
3353 #define GL_MAX_CLIPMAP_DEPTH_SGIX         0x8177
3354 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
3355 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX   0x844D
3356 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX    0x844E
3357 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX    0x844F
3358 #endif
3359 
3360 #ifndef GL_SGIX_shadow
3361 #define GL_TEXTURE_COMPARE_SGIX           0x819A
3362 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
3363 #define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
3364 #define GL_TEXTURE_GEQUAL_R_SGIX          0x819D
3365 #endif
3366 
3367 #ifndef GL_SGIS_texture_edge_clamp
3368 #define GL_CLAMP_TO_EDGE_SGIS             0x812F
3369 #endif
3370 
3371 #ifndef GL_SGIS_texture_border_clamp
3372 #define GL_CLAMP_TO_BORDER_SGIS           0x812D
3373 #endif
3374 
3375 #ifndef GL_EXT_blend_minmax
3376 #define GL_FUNC_ADD_EXT                   0x8006
3377 #define GL_MIN_EXT                        0x8007
3378 #define GL_MAX_EXT                        0x8008
3379 #define GL_BLEND_EQUATION_EXT             0x8009
3380 #endif
3381 
3382 #ifndef GL_EXT_blend_subtract
3383 #define GL_FUNC_SUBTRACT_EXT              0x800A
3384 #define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
3385 #endif
3386 
3387 #ifndef GL_EXT_blend_logic_op
3388 #endif
3389 
3390 #ifndef GL_SGIX_interlace
3391 #define GL_INTERLACE_SGIX                 0x8094
3392 #endif
3393 
3394 #ifndef GL_SGIX_pixel_tiles
3395 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
3396 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
3397 #define GL_PIXEL_TILE_WIDTH_SGIX          0x8140
3398 #define GL_PIXEL_TILE_HEIGHT_SGIX         0x8141
3399 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX     0x8142
3400 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX    0x8143
3401 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX     0x8144
3402 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX     0x8145
3403 #endif
3404 
3405 #ifndef GL_SGIS_texture_select
3406 #define GL_DUAL_ALPHA4_SGIS               0x8110
3407 #define GL_DUAL_ALPHA8_SGIS               0x8111
3408 #define GL_DUAL_ALPHA12_SGIS              0x8112
3409 #define GL_DUAL_ALPHA16_SGIS              0x8113
3410 #define GL_DUAL_LUMINANCE4_SGIS           0x8114
3411 #define GL_DUAL_LUMINANCE8_SGIS           0x8115
3412 #define GL_DUAL_LUMINANCE12_SGIS          0x8116
3413 #define GL_DUAL_LUMINANCE16_SGIS          0x8117
3414 #define GL_DUAL_INTENSITY4_SGIS           0x8118
3415 #define GL_DUAL_INTENSITY8_SGIS           0x8119
3416 #define GL_DUAL_INTENSITY12_SGIS          0x811A
3417 #define GL_DUAL_INTENSITY16_SGIS          0x811B
3418 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS     0x811C
3419 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS     0x811D
3420 #define GL_QUAD_ALPHA4_SGIS               0x811E
3421 #define GL_QUAD_ALPHA8_SGIS               0x811F
3422 #define GL_QUAD_LUMINANCE4_SGIS           0x8120
3423 #define GL_QUAD_LUMINANCE8_SGIS           0x8121
3424 #define GL_QUAD_INTENSITY4_SGIS           0x8122
3425 #define GL_QUAD_INTENSITY8_SGIS           0x8123
3426 #define GL_DUAL_TEXTURE_SELECT_SGIS       0x8124
3427 #define GL_QUAD_TEXTURE_SELECT_SGIS       0x8125
3428 #endif
3429 
3430 #ifndef GL_SGIX_sprite
3431 #define GL_SPRITE_SGIX                    0x8148
3432 #define GL_SPRITE_MODE_SGIX               0x8149
3433 #define GL_SPRITE_AXIS_SGIX               0x814A
3434 #define GL_SPRITE_TRANSLATION_SGIX        0x814B
3435 #define GL_SPRITE_AXIAL_SGIX              0x814C
3436 #define GL_SPRITE_OBJECT_ALIGNED_SGIX     0x814D
3437 #define GL_SPRITE_EYE_ALIGNED_SGIX        0x814E
3438 #endif
3439 
3440 #ifndef GL_SGIX_texture_multi_buffer
3441 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
3442 #endif
3443 
3444 #ifndef GL_EXT_point_parameters
3445 #define GL_POINT_SIZE_MIN_EXT             0x8126
3446 #define GL_POINT_SIZE_MAX_EXT             0x8127
3447 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT  0x8128
3448 #define GL_DISTANCE_ATTENUATION_EXT       0x8129
3449 #endif
3450 
3451 #ifndef GL_SGIS_point_parameters
3452 #define GL_POINT_SIZE_MIN_SGIS            0x8126
3453 #define GL_POINT_SIZE_MAX_SGIS            0x8127
3454 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
3455 #define GL_DISTANCE_ATTENUATION_SGIS      0x8129
3456 #endif
3457 
3458 #ifndef GL_SGIX_instruments
3459 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
3460 #define GL_INSTRUMENT_MEASUREMENTS_SGIX   0x8181
3461 #endif
3462 
3463 #ifndef GL_SGIX_texture_scale_bias
3464 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX  0x8179
3465 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
3466 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
3467 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
3468 #endif
3469 
3470 #ifndef GL_SGIX_framezoom
3471 #define GL_FRAMEZOOM_SGIX                 0x818B
3472 #define GL_FRAMEZOOM_FACTOR_SGIX          0x818C
3473 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX      0x818D
3474 #endif
3475 
3476 #ifndef GL_SGIX_tag_sample_buffer
3477 #endif
3478 
3479 #ifndef GL_FfdMaskSGIX
3480 #define GL_TEXTURE_DEFORMATION_BIT_SGIX   0x00000001
3481 #define GL_GEOMETRY_DEFORMATION_BIT_SGIX  0x00000002
3482 #endif
3483 
3484 #ifndef GL_SGIX_polynomial_ffd
3485 #define GL_GEOMETRY_DEFORMATION_SGIX      0x8194
3486 #define GL_TEXTURE_DEFORMATION_SGIX       0x8195
3487 #define GL_DEFORMATIONS_MASK_SGIX         0x8196
3488 #define GL_MAX_DEFORMATION_ORDER_SGIX     0x8197
3489 #endif
3490 
3491 #ifndef GL_SGIX_reference_plane
3492 #define GL_REFERENCE_PLANE_SGIX           0x817D
3493 #define GL_REFERENCE_PLANE_EQUATION_SGIX  0x817E
3494 #endif
3495 
3496 #ifndef GL_SGIX_flush_raster
3497 #endif
3498 
3499 #ifndef GL_SGIX_depth_texture
3500 #define GL_DEPTH_COMPONENT16_SGIX         0x81A5
3501 #define GL_DEPTH_COMPONENT24_SGIX         0x81A6
3502 #define GL_DEPTH_COMPONENT32_SGIX         0x81A7
3503 #endif
3504 
3505 #ifndef GL_SGIS_fog_function
3506 #define GL_FOG_FUNC_SGIS                  0x812A
3507 #define GL_FOG_FUNC_POINTS_SGIS           0x812B
3508 #define GL_MAX_FOG_FUNC_POINTS_SGIS       0x812C
3509 #endif
3510 
3511 #ifndef GL_SGIX_fog_offset
3512 #define GL_FOG_OFFSET_SGIX                0x8198
3513 #define GL_FOG_OFFSET_VALUE_SGIX          0x8199
3514 #endif
3515 
3516 #ifndef GL_HP_image_transform
3517 #define GL_IMAGE_SCALE_X_HP               0x8155
3518 #define GL_IMAGE_SCALE_Y_HP               0x8156
3519 #define GL_IMAGE_TRANSLATE_X_HP           0x8157
3520 #define GL_IMAGE_TRANSLATE_Y_HP           0x8158
3521 #define GL_IMAGE_ROTATE_ANGLE_HP          0x8159
3522 #define GL_IMAGE_ROTATE_ORIGIN_X_HP       0x815A
3523 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP       0x815B
3524 #define GL_IMAGE_MAG_FILTER_HP            0x815C
3525 #define GL_IMAGE_MIN_FILTER_HP            0x815D
3526 #define GL_IMAGE_CUBIC_WEIGHT_HP          0x815E
3527 #define GL_CUBIC_HP                       0x815F
3528 #define GL_AVERAGE_HP                     0x8160
3529 #define GL_IMAGE_TRANSFORM_2D_HP          0x8161
3530 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
3531 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
3532 #endif
3533 
3534 #ifndef GL_HP_convolution_border_modes
3535 #define GL_IGNORE_BORDER_HP               0x8150
3536 #define GL_CONSTANT_BORDER_HP             0x8151
3537 #define GL_REPLICATE_BORDER_HP            0x8153
3538 #define GL_CONVOLUTION_BORDER_COLOR_HP    0x8154
3539 #endif
3540 
3541 #ifndef GL_INGR_palette_buffer
3542 #endif
3543 
3544 #ifndef GL_SGIX_texture_add_env
3545 #define GL_TEXTURE_ENV_BIAS_SGIX          0x80BE
3546 #endif
3547 
3548 #ifndef GL_EXT_color_subtable
3549 #endif
3550 
3551 #ifndef GL_PGI_vertex_hints
3552 #define GL_VERTEX_DATA_HINT_PGI           0x1A22A
3553 #define GL_VERTEX_CONSISTENT_HINT_PGI     0x1A22B
3554 #define GL_MATERIAL_SIDE_HINT_PGI         0x1A22C
3555 #define GL_MAX_VERTEX_HINT_PGI            0x1A22D
3556 #define GL_COLOR3_BIT_PGI                 0x00010000
3557 #define GL_COLOR4_BIT_PGI                 0x00020000
3558 #define GL_EDGEFLAG_BIT_PGI               0x00040000
3559 #define GL_INDEX_BIT_PGI                  0x00080000
3560 #define GL_MAT_AMBIENT_BIT_PGI            0x00100000
3561 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
3562 #define GL_MAT_DIFFUSE_BIT_PGI            0x00400000
3563 #define GL_MAT_EMISSION_BIT_PGI           0x00800000
3564 #define GL_MAT_COLOR_INDEXES_BIT_PGI      0x01000000
3565 #define GL_MAT_SHININESS_BIT_PGI          0x02000000
3566 #define GL_MAT_SPECULAR_BIT_PGI           0x04000000
3567 #define GL_NORMAL_BIT_PGI                 0x08000000
3568 #define GL_TEXCOORD1_BIT_PGI              0x10000000
3569 #define GL_TEXCOORD2_BIT_PGI              0x20000000
3570 #define GL_TEXCOORD3_BIT_PGI              0x40000000
3571 #define GL_TEXCOORD4_BIT_PGI              0x80000000
3572 #define GL_VERTEX23_BIT_PGI               0x00000004
3573 #define GL_VERTEX4_BIT_PGI                0x00000008
3574 #endif
3575 
3576 #ifndef GL_PGI_misc_hints
3577 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI   0x1A1F8
3578 #define GL_CONSERVE_MEMORY_HINT_PGI       0x1A1FD
3579 #define GL_RECLAIM_MEMORY_HINT_PGI        0x1A1FE
3580 #define GL_NATIVE_GRAPHICS_HANDLE_PGI     0x1A202
3581 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
3582 #define GL_NATIVE_GRAPHICS_END_HINT_PGI   0x1A204
3583 #define GL_ALWAYS_FAST_HINT_PGI           0x1A20C
3584 #define GL_ALWAYS_SOFT_HINT_PGI           0x1A20D
3585 #define GL_ALLOW_DRAW_OBJ_HINT_PGI        0x1A20E
3586 #define GL_ALLOW_DRAW_WIN_HINT_PGI        0x1A20F
3587 #define GL_ALLOW_DRAW_FRG_HINT_PGI        0x1A210
3588 #define GL_ALLOW_DRAW_MEM_HINT_PGI        0x1A211
3589 #define GL_STRICT_DEPTHFUNC_HINT_PGI      0x1A216
3590 #define GL_STRICT_LIGHTING_HINT_PGI       0x1A217
3591 #define GL_STRICT_SCISSOR_HINT_PGI        0x1A218
3592 #define GL_FULL_STIPPLE_HINT_PGI          0x1A219
3593 #define GL_CLIP_NEAR_HINT_PGI             0x1A220
3594 #define GL_CLIP_FAR_HINT_PGI              0x1A221
3595 #define GL_WIDE_LINE_HINT_PGI             0x1A222
3596 #define GL_BACK_NORMALS_HINT_PGI          0x1A223
3597 #endif
3598 
3599 #ifndef GL_EXT_paletted_texture
3600 #define GL_COLOR_INDEX1_EXT               0x80E2
3601 #define GL_COLOR_INDEX2_EXT               0x80E3
3602 #define GL_COLOR_INDEX4_EXT               0x80E4
3603 #define GL_COLOR_INDEX8_EXT               0x80E5
3604 #define GL_COLOR_INDEX12_EXT              0x80E6
3605 #define GL_COLOR_INDEX16_EXT              0x80E7
3606 #define GL_TEXTURE_INDEX_SIZE_EXT         0x80ED
3607 #endif
3608 
3609 #ifndef GL_EXT_clip_volume_hint
3610 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT  0x80F0
3611 #endif
3612 
3613 #ifndef GL_SGIX_list_priority
3614 #define GL_LIST_PRIORITY_SGIX             0x8182
3615 #endif
3616 
3617 #ifndef GL_SGIX_ir_instrument1
3618 #define GL_IR_INSTRUMENT1_SGIX            0x817F
3619 #endif
3620 
3621 #ifndef GL_SGIX_calligraphic_fragment
3622 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX     0x8183
3623 #endif
3624 
3625 #ifndef GL_SGIX_texture_lod_bias
3626 #define GL_TEXTURE_LOD_BIAS_S_SGIX        0x818E
3627 #define GL_TEXTURE_LOD_BIAS_T_SGIX        0x818F
3628 #define GL_TEXTURE_LOD_BIAS_R_SGIX        0x8190
3629 #endif
3630 
3631 #ifndef GL_SGIX_shadow_ambient
3632 #define GL_SHADOW_AMBIENT_SGIX            0x80BF
3633 #endif
3634 
3635 #ifndef GL_EXT_index_texture
3636 #endif
3637 
3638 #ifndef GL_EXT_index_material
3639 #define GL_INDEX_MATERIAL_EXT             0x81B8
3640 #define GL_INDEX_MATERIAL_PARAMETER_EXT   0x81B9
3641 #define GL_INDEX_MATERIAL_FACE_EXT        0x81BA
3642 #endif
3643 
3644 #ifndef GL_EXT_index_func
3645 #define GL_INDEX_TEST_EXT                 0x81B5
3646 #define GL_INDEX_TEST_FUNC_EXT            0x81B6
3647 #define GL_INDEX_TEST_REF_EXT             0x81B7
3648 #endif
3649 
3650 #ifndef GL_EXT_index_array_formats
3651 #define GL_IUI_V2F_EXT                    0x81AD
3652 #define GL_IUI_V3F_EXT                    0x81AE
3653 #define GL_IUI_N3F_V2F_EXT                0x81AF
3654 #define GL_IUI_N3F_V3F_EXT                0x81B0
3655 #define GL_T2F_IUI_V2F_EXT                0x81B1
3656 #define GL_T2F_IUI_V3F_EXT                0x81B2
3657 #define GL_T2F_IUI_N3F_V2F_EXT            0x81B3
3658 #define GL_T2F_IUI_N3F_V3F_EXT            0x81B4
3659 #endif
3660 
3661 #ifndef GL_EXT_compiled_vertex_array
3662 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT   0x81A8
3663 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT   0x81A9
3664 #endif
3665 
3666 #ifndef GL_EXT_cull_vertex
3667 #define GL_CULL_VERTEX_EXT                0x81AA
3668 #define GL_CULL_VERTEX_EYE_POSITION_EXT   0x81AB
3669 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
3670 #endif
3671 
3672 #ifndef GL_SGIX_ycrcb
3673 #define GL_YCRCB_422_SGIX                 0x81BB
3674 #define GL_YCRCB_444_SGIX                 0x81BC
3675 #endif
3676 
3677 #ifndef GL_SGIX_fragment_lighting
3678 #define GL_FRAGMENT_LIGHTING_SGIX         0x8400
3679 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX   0x8401
3680 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
3681 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
3682 #define GL_MAX_FRAGMENT_LIGHTS_SGIX       0x8404
3683 #define GL_MAX_ACTIVE_LIGHTS_SGIX         0x8405
3684 #define GL_CURRENT_RASTER_NORMAL_SGIX     0x8406
3685 #define GL_LIGHT_ENV_MODE_SGIX            0x8407
3686 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
3687 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
3688 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
3689 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
3690 #define GL_FRAGMENT_LIGHT0_SGIX           0x840C
3691 #define GL_FRAGMENT_LIGHT1_SGIX           0x840D
3692 #define GL_FRAGMENT_LIGHT2_SGIX           0x840E
3693 #define GL_FRAGMENT_LIGHT3_SGIX           0x840F
3694 #define GL_FRAGMENT_LIGHT4_SGIX           0x8410
3695 #define GL_FRAGMENT_LIGHT5_SGIX           0x8411
3696 #define GL_FRAGMENT_LIGHT6_SGIX           0x8412
3697 #define GL_FRAGMENT_LIGHT7_SGIX           0x8413
3698 #endif
3699 
3700 #ifndef GL_IBM_rasterpos_clip
3701 #define GL_RASTER_POSITION_UNCLIPPED_IBM  0x19262
3702 #endif
3703 
3704 #ifndef GL_HP_texture_lighting
3705 #define GL_TEXTURE_LIGHTING_MODE_HP       0x8167
3706 #define GL_TEXTURE_POST_SPECULAR_HP       0x8168
3707 #define GL_TEXTURE_PRE_SPECULAR_HP        0x8169
3708 #endif
3709 
3710 #ifndef GL_EXT_draw_range_elements
3711 #define GL_MAX_ELEMENTS_VERTICES_EXT      0x80E8
3712 #define GL_MAX_ELEMENTS_INDICES_EXT       0x80E9
3713 #endif
3714 
3715 #ifndef GL_WIN_phong_shading
3716 #define GL_PHONG_WIN                      0x80EA
3717 #define GL_PHONG_HINT_WIN                 0x80EB
3718 #endif
3719 
3720 #ifndef GL_WIN_specular_fog
3721 #define GL_FOG_SPECULAR_TEXTURE_WIN       0x80EC
3722 #endif
3723 
3724 #ifndef GL_EXT_light_texture
3725 #define GL_FRAGMENT_MATERIAL_EXT          0x8349
3726 #define GL_FRAGMENT_NORMAL_EXT            0x834A
3727 #define GL_FRAGMENT_COLOR_EXT             0x834C
3728 #define GL_ATTENUATION_EXT                0x834D
3729 #define GL_SHADOW_ATTENUATION_EXT         0x834E
3730 #define GL_TEXTURE_APPLICATION_MODE_EXT   0x834F
3731 #define GL_TEXTURE_LIGHT_EXT              0x8350
3732 #define GL_TEXTURE_MATERIAL_FACE_EXT      0x8351
3733 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
3734 /* reuse GL_FRAGMENT_DEPTH_EXT */
3735 #endif
3736 
3737 #ifndef GL_SGIX_blend_alpha_minmax
3738 #define GL_ALPHA_MIN_SGIX                 0x8320
3739 #define GL_ALPHA_MAX_SGIX                 0x8321
3740 #endif
3741 
3742 #ifndef GL_SGIX_impact_pixel_texture
3743 #define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX   0x8184
3744 #define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX     0x8185
3745 #define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX     0x8186
3746 #define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187
3747 #define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188
3748 #define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX    0x8189
3749 #define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX    0x818A
3750 #endif
3751 
3752 #ifndef GL_EXT_bgra
3753 #define GL_BGR_EXT                        0x80E0
3754 #define GL_BGRA_EXT                       0x80E1
3755 #endif
3756 
3757 #ifndef GL_SGIX_async
3758 #define GL_ASYNC_MARKER_SGIX              0x8329
3759 #endif
3760 
3761 #ifndef GL_SGIX_async_pixel
3762 #define GL_ASYNC_TEX_IMAGE_SGIX           0x835C
3763 #define GL_ASYNC_DRAW_PIXELS_SGIX         0x835D
3764 #define GL_ASYNC_READ_PIXELS_SGIX         0x835E
3765 #define GL_MAX_ASYNC_TEX_IMAGE_SGIX       0x835F
3766 #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX     0x8360
3767 #define GL_MAX_ASYNC_READ_PIXELS_SGIX     0x8361
3768 #endif
3769 
3770 #ifndef GL_SGIX_async_histogram
3771 #define GL_ASYNC_HISTOGRAM_SGIX           0x832C
3772 #define GL_MAX_ASYNC_HISTOGRAM_SGIX       0x832D
3773 #endif
3774 
3775 #ifndef GL_INTEL_texture_scissor
3776 #endif
3777 
3778 #ifndef GL_INTEL_parallel_arrays
3779 #define GL_PARALLEL_ARRAYS_INTEL          0x83F4
3780 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
3781 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
3782 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
3783 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
3784 #endif
3785 
3786 #ifndef GL_HP_occlusion_test
3787 #define GL_OCCLUSION_TEST_HP              0x8165
3788 #define GL_OCCLUSION_TEST_RESULT_HP       0x8166
3789 #endif
3790 
3791 #ifndef GL_EXT_pixel_transform
3792 #define GL_PIXEL_TRANSFORM_2D_EXT         0x8330
3793 #define GL_PIXEL_MAG_FILTER_EXT           0x8331
3794 #define GL_PIXEL_MIN_FILTER_EXT           0x8332
3795 #define GL_PIXEL_CUBIC_WEIGHT_EXT         0x8333
3796 #define GL_CUBIC_EXT                      0x8334
3797 #define GL_AVERAGE_EXT                    0x8335
3798 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
3799 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
3800 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT  0x8338
3801 #endif
3802 
3803 #ifndef GL_EXT_pixel_transform_color_table
3804 #endif
3805 
3806 #ifndef GL_EXT_shared_texture_palette
3807 #define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB
3808 #endif
3809 
3810 #ifndef GL_EXT_separate_specular_color
3811 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT  0x81F8
3812 #define GL_SINGLE_COLOR_EXT               0x81F9
3813 #define GL_SEPARATE_SPECULAR_COLOR_EXT    0x81FA
3814 #endif
3815 
3816 #ifndef GL_EXT_secondary_color
3817 #define GL_COLOR_SUM_EXT                  0x8458
3818 #define GL_CURRENT_SECONDARY_COLOR_EXT    0x8459
3819 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
3820 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
3821 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
3822 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
3823 #define GL_SECONDARY_COLOR_ARRAY_EXT      0x845E
3824 #endif
3825 
3826 #ifndef GL_EXT_texture_perturb_normal
3827 #define GL_PERTURB_EXT                    0x85AE
3828 #define GL_TEXTURE_NORMAL_EXT             0x85AF
3829 #endif
3830 
3831 #ifndef GL_EXT_multi_draw_arrays
3832 #endif
3833 
3834 #ifndef GL_EXT_fog_coord
3835 #define GL_FOG_COORDINATE_SOURCE_EXT      0x8450
3836 #define GL_FOG_COORDINATE_EXT             0x8451
3837 #define GL_FRAGMENT_DEPTH_EXT             0x8452
3838 #define GL_CURRENT_FOG_COORDINATE_EXT     0x8453
3839 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT  0x8454
3840 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
3841 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
3842 #define GL_FOG_COORDINATE_ARRAY_EXT       0x8457
3843 #endif
3844 
3845 #ifndef GL_REND_screen_coordinates
3846 #define GL_SCREEN_COORDINATES_REND        0x8490
3847 #define GL_INVERTED_SCREEN_W_REND         0x8491
3848 #endif
3849 
3850 #ifndef GL_EXT_coordinate_frame
3851 #define GL_TANGENT_ARRAY_EXT              0x8439
3852 #define GL_BINORMAL_ARRAY_EXT             0x843A
3853 #define GL_CURRENT_TANGENT_EXT            0x843B
3854 #define GL_CURRENT_BINORMAL_EXT           0x843C
3855 #define GL_TANGENT_ARRAY_TYPE_EXT         0x843E
3856 #define GL_TANGENT_ARRAY_STRIDE_EXT       0x843F
3857 #define GL_BINORMAL_ARRAY_TYPE_EXT        0x8440
3858 #define GL_BINORMAL_ARRAY_STRIDE_EXT      0x8441
3859 #define GL_TANGENT_ARRAY_POINTER_EXT      0x8442
3860 #define GL_BINORMAL_ARRAY_POINTER_EXT     0x8443
3861 #define GL_MAP1_TANGENT_EXT               0x8444
3862 #define GL_MAP2_TANGENT_EXT               0x8445
3863 #define GL_MAP1_BINORMAL_EXT              0x8446
3864 #define GL_MAP2_BINORMAL_EXT              0x8447
3865 #endif
3866 
3867 #ifndef GL_EXT_texture_env_combine
3868 #define GL_COMBINE_EXT                    0x8570
3869 #define GL_COMBINE_RGB_EXT                0x8571
3870 #define GL_COMBINE_ALPHA_EXT              0x8572
3871 #define GL_RGB_SCALE_EXT                  0x8573
3872 #define GL_ADD_SIGNED_EXT                 0x8574
3873 #define GL_INTERPOLATE_EXT                0x8575
3874 #define GL_CONSTANT_EXT                   0x8576
3875 #define GL_PRIMARY_COLOR_EXT              0x8577
3876 #define GL_PREVIOUS_EXT                   0x8578
3877 #define GL_SOURCE0_RGB_EXT                0x8580
3878 #define GL_SOURCE1_RGB_EXT                0x8581
3879 #define GL_SOURCE2_RGB_EXT                0x8582
3880 #define GL_SOURCE0_ALPHA_EXT              0x8588
3881 #define GL_SOURCE1_ALPHA_EXT              0x8589
3882 #define GL_SOURCE2_ALPHA_EXT              0x858A
3883 #define GL_OPERAND0_RGB_EXT               0x8590
3884 #define GL_OPERAND1_RGB_EXT               0x8591
3885 #define GL_OPERAND2_RGB_EXT               0x8592
3886 #define GL_OPERAND0_ALPHA_EXT             0x8598
3887 #define GL_OPERAND1_ALPHA_EXT             0x8599
3888 #define GL_OPERAND2_ALPHA_EXT             0x859A
3889 #endif
3890 
3891 #ifndef GL_APPLE_specular_vector
3892 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
3893 #endif
3894 
3895 #ifndef GL_APPLE_transform_hint
3896 #define GL_TRANSFORM_HINT_APPLE           0x85B1
3897 #endif
3898 
3899 #ifndef GL_SGIX_fog_scale
3900 #define GL_FOG_SCALE_SGIX                 0x81FC
3901 #define GL_FOG_SCALE_VALUE_SGIX           0x81FD
3902 #endif
3903 
3904 #ifndef GL_SUNX_constant_data
3905 #define GL_UNPACK_CONSTANT_DATA_SUNX      0x81D5
3906 #define GL_TEXTURE_CONSTANT_DATA_SUNX     0x81D6
3907 #endif
3908 
3909 #ifndef GL_SUN_global_alpha
3910 #define GL_GLOBAL_ALPHA_SUN               0x81D9
3911 #define GL_GLOBAL_ALPHA_FACTOR_SUN        0x81DA
3912 #endif
3913 
3914 #ifndef GL_SUN_triangle_list
3915 #define GL_RESTART_SUN                    0x0001
3916 #define GL_REPLACE_MIDDLE_SUN             0x0002
3917 #define GL_REPLACE_OLDEST_SUN             0x0003
3918 #define GL_TRIANGLE_LIST_SUN              0x81D7
3919 #define GL_REPLACEMENT_CODE_SUN           0x81D8
3920 #define GL_REPLACEMENT_CODE_ARRAY_SUN     0x85C0
3921 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
3922 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
3923 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
3924 #define GL_R1UI_V3F_SUN                   0x85C4
3925 #define GL_R1UI_C4UB_V3F_SUN              0x85C5
3926 #define GL_R1UI_C3F_V3F_SUN               0x85C6
3927 #define GL_R1UI_N3F_V3F_SUN               0x85C7
3928 #define GL_R1UI_C4F_N3F_V3F_SUN           0x85C8
3929 #define GL_R1UI_T2F_V3F_SUN               0x85C9
3930 #define GL_R1UI_T2F_N3F_V3F_SUN           0x85CA
3931 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN       0x85CB
3932 #endif
3933 
3934 #ifndef GL_SUN_vertex
3935 #endif
3936 
3937 #ifndef GL_EXT_blend_func_separate
3938 #define GL_BLEND_DST_RGB_EXT              0x80C8
3939 #define GL_BLEND_SRC_RGB_EXT              0x80C9
3940 #define GL_BLEND_DST_ALPHA_EXT            0x80CA
3941 #define GL_BLEND_SRC_ALPHA_EXT            0x80CB
3942 #endif
3943 
3944 #ifndef GL_INGR_color_clamp
3945 #define GL_RED_MIN_CLAMP_INGR             0x8560
3946 #define GL_GREEN_MIN_CLAMP_INGR           0x8561
3947 #define GL_BLUE_MIN_CLAMP_INGR            0x8562
3948 #define GL_ALPHA_MIN_CLAMP_INGR           0x8563
3949 #define GL_RED_MAX_CLAMP_INGR             0x8564
3950 #define GL_GREEN_MAX_CLAMP_INGR           0x8565
3951 #define GL_BLUE_MAX_CLAMP_INGR            0x8566
3952 #define GL_ALPHA_MAX_CLAMP_INGR           0x8567
3953 #endif
3954 
3955 #ifndef GL_INGR_interlace_read
3956 #define GL_INTERLACE_READ_INGR            0x8568
3957 #endif
3958 
3959 #ifndef GL_EXT_stencil_wrap
3960 #define GL_INCR_WRAP_EXT                  0x8507
3961 #define GL_DECR_WRAP_EXT                  0x8508
3962 #endif
3963 
3964 #ifndef GL_EXT_422_pixels
3965 #define GL_422_EXT                        0x80CC
3966 #define GL_422_REV_EXT                    0x80CD
3967 #define GL_422_AVERAGE_EXT                0x80CE
3968 #define GL_422_REV_AVERAGE_EXT            0x80CF
3969 #endif
3970 
3971 #ifndef GL_NV_texgen_reflection
3972 #define GL_NORMAL_MAP_NV                  0x8511
3973 #define GL_REFLECTION_MAP_NV              0x8512
3974 #endif
3975 
3976 #ifndef GL_EXT_texture_cube_map
3977 #define GL_NORMAL_MAP_EXT                 0x8511
3978 #define GL_REFLECTION_MAP_EXT             0x8512
3979 #define GL_TEXTURE_CUBE_MAP_EXT           0x8513
3980 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
3981 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
3982 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
3983 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
3984 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
3985 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
3986 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
3987 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT     0x851B
3988 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT  0x851C
3989 #endif
3990 
3991 #ifndef GL_SUN_convolution_border_modes
3992 #define GL_WRAP_BORDER_SUN                0x81D4
3993 #endif
3994 
3995 #ifndef GL_EXT_texture_env_add
3996 #endif
3997 
3998 #ifndef GL_EXT_texture_lod_bias
3999 #define GL_MAX_TEXTURE_LOD_BIAS_EXT       0x84FD
4000 #define GL_TEXTURE_FILTER_CONTROL_EXT     0x8500
4001 #define GL_TEXTURE_LOD_BIAS_EXT           0x8501
4002 #endif
4003 
4004 #ifndef GL_EXT_texture_filter_anisotropic
4005 #define GL_TEXTURE_MAX_ANISOTROPY_EXT     0x84FE
4006 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
4007 #endif
4008 
4009 #ifndef GL_EXT_vertex_weighting
4010 #define GL_MODELVIEW0_STACK_DEPTH_EXT     GL_MODELVIEW_STACK_DEPTH
4011 #define GL_MODELVIEW1_STACK_DEPTH_EXT     0x8502
4012 #define GL_MODELVIEW0_MATRIX_EXT          GL_MODELVIEW_MATRIX
4013 #define GL_MODELVIEW1_MATRIX_EXT          0x8506
4014 #define GL_VERTEX_WEIGHTING_EXT           0x8509
4015 #define GL_MODELVIEW0_EXT                 GL_MODELVIEW
4016 #define GL_MODELVIEW1_EXT                 0x850A
4017 #define GL_CURRENT_VERTEX_WEIGHT_EXT      0x850B
4018 #define GL_VERTEX_WEIGHT_ARRAY_EXT        0x850C
4019 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT   0x850D
4020 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT   0x850E
4021 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
4022 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
4023 #endif
4024 
4025 #ifndef GL_NV_light_max_exponent
4026 #define GL_MAX_SHININESS_NV               0x8504
4027 #define GL_MAX_SPOT_EXPONENT_NV           0x8505
4028 #endif
4029 
4030 #ifndef GL_NV_vertex_array_range
4031 #define GL_VERTEX_ARRAY_RANGE_NV          0x851D
4032 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV   0x851E
4033 #define GL_VERTEX_ARRAY_RANGE_VALID_NV    0x851F
4034 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
4035 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV  0x8521
4036 #endif
4037 
4038 #ifndef GL_NV_register_combiners
4039 #define GL_REGISTER_COMBINERS_NV          0x8522
4040 #define GL_VARIABLE_A_NV                  0x8523
4041 #define GL_VARIABLE_B_NV                  0x8524
4042 #define GL_VARIABLE_C_NV                  0x8525
4043 #define GL_VARIABLE_D_NV                  0x8526
4044 #define GL_VARIABLE_E_NV                  0x8527
4045 #define GL_VARIABLE_F_NV                  0x8528
4046 #define GL_VARIABLE_G_NV                  0x8529
4047 #define GL_CONSTANT_COLOR0_NV             0x852A
4048 #define GL_CONSTANT_COLOR1_NV             0x852B
4049 #define GL_PRIMARY_COLOR_NV               0x852C
4050 #define GL_SECONDARY_COLOR_NV             0x852D
4051 #define GL_SPARE0_NV                      0x852E
4052 #define GL_SPARE1_NV                      0x852F
4053 #define GL_DISCARD_NV                     0x8530
4054 #define GL_E_TIMES_F_NV                   0x8531
4055 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
4056 #define GL_UNSIGNED_IDENTITY_NV           0x8536
4057 #define GL_UNSIGNED_INVERT_NV             0x8537
4058 #define GL_EXPAND_NORMAL_NV               0x8538
4059 #define GL_EXPAND_NEGATE_NV               0x8539
4060 #define GL_HALF_BIAS_NORMAL_NV            0x853A
4061 #define GL_HALF_BIAS_NEGATE_NV            0x853B
4062 #define GL_SIGNED_IDENTITY_NV             0x853C
4063 #define GL_SIGNED_NEGATE_NV               0x853D
4064 #define GL_SCALE_BY_TWO_NV                0x853E
4065 #define GL_SCALE_BY_FOUR_NV               0x853F
4066 #define GL_SCALE_BY_ONE_HALF_NV           0x8540
4067 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV   0x8541
4068 #define GL_COMBINER_INPUT_NV              0x8542
4069 #define GL_COMBINER_MAPPING_NV            0x8543
4070 #define GL_COMBINER_COMPONENT_USAGE_NV    0x8544
4071 #define GL_COMBINER_AB_DOT_PRODUCT_NV     0x8545
4072 #define GL_COMBINER_CD_DOT_PRODUCT_NV     0x8546
4073 #define GL_COMBINER_MUX_SUM_NV            0x8547
4074 #define GL_COMBINER_SCALE_NV              0x8548
4075 #define GL_COMBINER_BIAS_NV               0x8549
4076 #define GL_COMBINER_AB_OUTPUT_NV          0x854A
4077 #define GL_COMBINER_CD_OUTPUT_NV          0x854B
4078 #define GL_COMBINER_SUM_OUTPUT_NV         0x854C
4079 #define GL_MAX_GENERAL_COMBINERS_NV       0x854D
4080 #define GL_NUM_GENERAL_COMBINERS_NV       0x854E
4081 #define GL_COLOR_SUM_CLAMP_NV             0x854F
4082 #define GL_COMBINER0_NV                   0x8550
4083 #define GL_COMBINER1_NV                   0x8551
4084 #define GL_COMBINER2_NV                   0x8552
4085 #define GL_COMBINER3_NV                   0x8553
4086 #define GL_COMBINER4_NV                   0x8554
4087 #define GL_COMBINER5_NV                   0x8555
4088 #define GL_COMBINER6_NV                   0x8556
4089 #define GL_COMBINER7_NV                   0x8557
4090 /* reuse GL_TEXTURE0_ARB */
4091 /* reuse GL_TEXTURE1_ARB */
4092 /* reuse GL_ZERO */
4093 /* reuse GL_NONE */
4094 /* reuse GL_FOG */
4095 #endif
4096 
4097 #ifndef GL_NV_fog_distance
4098 #define GL_FOG_DISTANCE_MODE_NV           0x855A
4099 #define GL_EYE_RADIAL_NV                  0x855B
4100 #define GL_EYE_PLANE_ABSOLUTE_NV          0x855C
4101 /* reuse GL_EYE_PLANE */
4102 #endif
4103 
4104 #ifndef GL_NV_texgen_emboss
4105 #define GL_EMBOSS_LIGHT_NV                0x855D
4106 #define GL_EMBOSS_CONSTANT_NV             0x855E
4107 #define GL_EMBOSS_MAP_NV                  0x855F
4108 #endif
4109 
4110 #ifndef GL_NV_blend_square
4111 #endif
4112 
4113 #ifndef GL_NV_texture_env_combine4
4114 #define GL_COMBINE4_NV                    0x8503
4115 #define GL_SOURCE3_RGB_NV                 0x8583
4116 #define GL_SOURCE3_ALPHA_NV               0x858B
4117 #define GL_OPERAND3_RGB_NV                0x8593
4118 #define GL_OPERAND3_ALPHA_NV              0x859B
4119 #endif
4120 
4121 #ifndef GL_MESA_resize_buffers
4122 #endif
4123 
4124 #ifndef GL_MESA_window_pos
4125 #endif
4126 
4127 #ifndef GL_EXT_texture_compression_s3tc
4128 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
4129 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
4130 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
4131 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
4132 #endif
4133 
4134 #ifndef GL_IBM_cull_vertex
4135 #define GL_CULL_VERTEX_IBM                103050
4136 #endif
4137 
4138 #ifndef GL_IBM_multimode_draw_arrays
4139 #endif
4140 
4141 #ifndef GL_IBM_vertex_array_lists
4142 #define GL_VERTEX_ARRAY_LIST_IBM          103070
4143 #define GL_NORMAL_ARRAY_LIST_IBM          103071
4144 #define GL_COLOR_ARRAY_LIST_IBM           103072
4145 #define GL_INDEX_ARRAY_LIST_IBM           103073
4146 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM   103074
4147 #define GL_EDGE_FLAG_ARRAY_LIST_IBM       103075
4148 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM  103076
4149 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
4150 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM   103080
4151 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM   103081
4152 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM    103082
4153 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM    103083
4154 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
4155 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
4156 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
4157 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
4158 #endif
4159 
4160 #ifndef GL_SGIX_subsample
4161 #define GL_PACK_SUBSAMPLE_RATE_SGIX       0x85A0
4162 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX     0x85A1
4163 #define GL_PIXEL_SUBSAMPLE_4444_SGIX      0x85A2
4164 #define GL_PIXEL_SUBSAMPLE_2424_SGIX      0x85A3
4165 #define GL_PIXEL_SUBSAMPLE_4242_SGIX      0x85A4
4166 #endif
4167 
4168 #ifndef GL_SGIX_ycrcb_subsample
4169 #endif
4170 
4171 #ifndef GL_SGIX_ycrcba
4172 #define GL_YCRCB_SGIX                     0x8318
4173 #define GL_YCRCBA_SGIX                    0x8319
4174 #endif
4175 
4176 #ifndef GL_SGI_depth_pass_instrument
4177 #define GL_DEPTH_PASS_INSTRUMENT_SGIX     0x8310
4178 #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
4179 #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
4180 #endif
4181 
4182 #ifndef GL_3DFX_texture_compression_FXT1
4183 #define GL_COMPRESSED_RGB_FXT1_3DFX       0x86B0
4184 #define GL_COMPRESSED_RGBA_FXT1_3DFX      0x86B1
4185 #endif
4186 
4187 #ifndef GL_3DFX_multisample
4188 #define GL_MULTISAMPLE_3DFX               0x86B2
4189 #define GL_SAMPLE_BUFFERS_3DFX            0x86B3
4190 #define GL_SAMPLES_3DFX                   0x86B4
4191 #define GL_MULTISAMPLE_BIT_3DFX           0x20000000
4192 #endif
4193 
4194 #ifndef GL_3DFX_tbuffer
4195 #endif
4196 
4197 #ifndef GL_EXT_multisample
4198 #define GL_MULTISAMPLE_EXT                0x809D
4199 #define GL_SAMPLE_ALPHA_TO_MASK_EXT       0x809E
4200 #define GL_SAMPLE_ALPHA_TO_ONE_EXT        0x809F
4201 #define GL_SAMPLE_MASK_EXT                0x80A0
4202 #define GL_1PASS_EXT                      0x80A1
4203 #define GL_2PASS_0_EXT                    0x80A2
4204 #define GL_2PASS_1_EXT                    0x80A3
4205 #define GL_4PASS_0_EXT                    0x80A4
4206 #define GL_4PASS_1_EXT                    0x80A5
4207 #define GL_4PASS_2_EXT                    0x80A6
4208 #define GL_4PASS_3_EXT                    0x80A7
4209 #define GL_SAMPLE_BUFFERS_EXT             0x80A8
4210 #define GL_SAMPLES_EXT                    0x80A9
4211 #define GL_SAMPLE_MASK_VALUE_EXT          0x80AA
4212 #define GL_SAMPLE_MASK_INVERT_EXT         0x80AB
4213 #define GL_SAMPLE_PATTERN_EXT             0x80AC
4214 #define GL_MULTISAMPLE_BIT_EXT            0x20000000
4215 #endif
4216 
4217 #ifndef GL_SGIX_vertex_preclip
4218 #define GL_VERTEX_PRECLIP_SGIX            0x83EE
4219 #define GL_VERTEX_PRECLIP_HINT_SGIX       0x83EF
4220 #endif
4221 
4222 #ifndef GL_SGIX_convolution_accuracy
4223 #define GL_CONVOLUTION_HINT_SGIX          0x8316
4224 #endif
4225 
4226 #ifndef GL_SGIX_resample
4227 #define GL_PACK_RESAMPLE_SGIX             0x842C
4228 #define GL_UNPACK_RESAMPLE_SGIX           0x842D
4229 #define GL_RESAMPLE_REPLICATE_SGIX        0x842E
4230 #define GL_RESAMPLE_ZERO_FILL_SGIX        0x842F
4231 #define GL_RESAMPLE_DECIMATE_SGIX         0x8430
4232 #endif
4233 
4234 #ifndef GL_SGIS_point_line_texgen
4235 #define GL_EYE_DISTANCE_TO_POINT_SGIS     0x81F0
4236 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS  0x81F1
4237 #define GL_EYE_DISTANCE_TO_LINE_SGIS      0x81F2
4238 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS   0x81F3
4239 #define GL_EYE_POINT_SGIS                 0x81F4
4240 #define GL_OBJECT_POINT_SGIS              0x81F5
4241 #define GL_EYE_LINE_SGIS                  0x81F6
4242 #define GL_OBJECT_LINE_SGIS               0x81F7
4243 #endif
4244 
4245 #ifndef GL_SGIS_texture_color_mask
4246 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS   0x81EF
4247 #endif
4248 
4249 #ifndef GL_EXT_texture_env_dot3
4250 #define GL_DOT3_RGB_EXT                   0x8740
4251 #define GL_DOT3_RGBA_EXT                  0x8741
4252 #endif
4253 
4254 #ifndef GL_ATI_texture_mirror_once
4255 #define GL_MIRROR_CLAMP_ATI               0x8742
4256 #define GL_MIRROR_CLAMP_TO_EDGE_ATI       0x8743
4257 #endif
4258 
4259 #ifndef GL_NV_fence
4260 #define GL_ALL_COMPLETED_NV               0x84F2
4261 #define GL_FENCE_STATUS_NV                0x84F3
4262 #define GL_FENCE_CONDITION_NV             0x84F4
4263 #endif
4264 
4265 #ifndef GL_IBM_texture_mirrored_repeat
4266 #define GL_MIRRORED_REPEAT_IBM            0x8370
4267 #endif
4268 
4269 #ifndef GL_NV_evaluators
4270 #define GL_EVAL_2D_NV                     0x86C0
4271 #define GL_EVAL_TRIANGULAR_2D_NV          0x86C1
4272 #define GL_MAP_TESSELLATION_NV            0x86C2
4273 #define GL_MAP_ATTRIB_U_ORDER_NV          0x86C3
4274 #define GL_MAP_ATTRIB_V_ORDER_NV          0x86C4
4275 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
4276 #define GL_EVAL_VERTEX_ATTRIB0_NV         0x86C6
4277 #define GL_EVAL_VERTEX_ATTRIB1_NV         0x86C7
4278 #define GL_EVAL_VERTEX_ATTRIB2_NV         0x86C8
4279 #define GL_EVAL_VERTEX_ATTRIB3_NV         0x86C9
4280 #define GL_EVAL_VERTEX_ATTRIB4_NV         0x86CA
4281 #define GL_EVAL_VERTEX_ATTRIB5_NV         0x86CB
4282 #define GL_EVAL_VERTEX_ATTRIB6_NV         0x86CC
4283 #define GL_EVAL_VERTEX_ATTRIB7_NV         0x86CD
4284 #define GL_EVAL_VERTEX_ATTRIB8_NV         0x86CE
4285 #define GL_EVAL_VERTEX_ATTRIB9_NV         0x86CF
4286 #define GL_EVAL_VERTEX_ATTRIB10_NV        0x86D0
4287 #define GL_EVAL_VERTEX_ATTRIB11_NV        0x86D1
4288 #define GL_EVAL_VERTEX_ATTRIB12_NV        0x86D2
4289 #define GL_EVAL_VERTEX_ATTRIB13_NV        0x86D3
4290 #define GL_EVAL_VERTEX_ATTRIB14_NV        0x86D4
4291 #define GL_EVAL_VERTEX_ATTRIB15_NV        0x86D5
4292 #define GL_MAX_MAP_TESSELLATION_NV        0x86D6
4293 #define GL_MAX_RATIONAL_EVAL_ORDER_NV     0x86D7
4294 #endif
4295 
4296 #ifndef GL_NV_packed_depth_stencil
4297 #define GL_DEPTH_STENCIL_NV               0x84F9
4298 #define GL_UNSIGNED_INT_24_8_NV           0x84FA
4299 #endif
4300 
4301 #ifndef GL_NV_register_combiners2
4302 #define GL_PER_STAGE_CONSTANTS_NV         0x8535
4303 #endif
4304 
4305 #ifndef GL_NV_texture_compression_vtc
4306 #endif
4307 
4308 #ifndef GL_NV_texture_rectangle
4309 #define GL_TEXTURE_RECTANGLE_NV           0x84F5
4310 #define GL_TEXTURE_BINDING_RECTANGLE_NV   0x84F6
4311 #define GL_PROXY_TEXTURE_RECTANGLE_NV     0x84F7
4312 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV  0x84F8
4313 #endif
4314 
4315 #ifndef GL_NV_texture_shader
4316 #define GL_OFFSET_TEXTURE_RECTANGLE_NV    0x864C
4317 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
4318 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
4319 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
4320 #define GL_UNSIGNED_INT_S8_S8_8_8_NV      0x86DA
4321 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV  0x86DB
4322 #define GL_DSDT_MAG_INTENSITY_NV          0x86DC
4323 #define GL_SHADER_CONSISTENT_NV           0x86DD
4324 #define GL_TEXTURE_SHADER_NV              0x86DE
4325 #define GL_SHADER_OPERATION_NV            0x86DF
4326 #define GL_CULL_MODES_NV                  0x86E0
4327 #define GL_OFFSET_TEXTURE_MATRIX_NV       0x86E1
4328 #define GL_OFFSET_TEXTURE_SCALE_NV        0x86E2
4329 #define GL_OFFSET_TEXTURE_BIAS_NV         0x86E3
4330 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV    GL_OFFSET_TEXTURE_MATRIX_NV
4331 #define GL_OFFSET_TEXTURE_2D_SCALE_NV     GL_OFFSET_TEXTURE_SCALE_NV
4332 #define GL_OFFSET_TEXTURE_2D_BIAS_NV      GL_OFFSET_TEXTURE_BIAS_NV
4333 #define GL_PREVIOUS_TEXTURE_INPUT_NV      0x86E4
4334 #define GL_CONST_EYE_NV                   0x86E5
4335 #define GL_PASS_THROUGH_NV                0x86E6
4336 #define GL_CULL_FRAGMENT_NV               0x86E7
4337 #define GL_OFFSET_TEXTURE_2D_NV           0x86E8
4338 #define GL_DEPENDENT_AR_TEXTURE_2D_NV     0x86E9
4339 #define GL_DEPENDENT_GB_TEXTURE_2D_NV     0x86EA
4340 #define GL_DOT_PRODUCT_NV                 0x86EC
4341 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV   0x86ED
4342 #define GL_DOT_PRODUCT_TEXTURE_2D_NV      0x86EE
4343 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
4344 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
4345 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
4346 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
4347 #define GL_HILO_NV                        0x86F4
4348 #define GL_DSDT_NV                        0x86F5
4349 #define GL_DSDT_MAG_NV                    0x86F6
4350 #define GL_DSDT_MAG_VIB_NV                0x86F7
4351 #define GL_HILO16_NV                      0x86F8
4352 #define GL_SIGNED_HILO_NV                 0x86F9
4353 #define GL_SIGNED_HILO16_NV               0x86FA
4354 #define GL_SIGNED_RGBA_NV                 0x86FB
4355 #define GL_SIGNED_RGBA8_NV                0x86FC
4356 #define GL_SIGNED_RGB_NV                  0x86FE
4357 #define GL_SIGNED_RGB8_NV                 0x86FF
4358 #define GL_SIGNED_LUMINANCE_NV            0x8701
4359 #define GL_SIGNED_LUMINANCE8_NV           0x8702
4360 #define GL_SIGNED_LUMINANCE_ALPHA_NV      0x8703
4361 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV    0x8704
4362 #define GL_SIGNED_ALPHA_NV                0x8705
4363 #define GL_SIGNED_ALPHA8_NV               0x8706
4364 #define GL_SIGNED_INTENSITY_NV            0x8707
4365 #define GL_SIGNED_INTENSITY8_NV           0x8708
4366 #define GL_DSDT8_NV                       0x8709
4367 #define GL_DSDT8_MAG8_NV                  0x870A
4368 #define GL_DSDT8_MAG8_INTENSITY8_NV       0x870B
4369 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV   0x870C
4370 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
4371 #define GL_HI_SCALE_NV                    0x870E
4372 #define GL_LO_SCALE_NV                    0x870F
4373 #define GL_DS_SCALE_NV                    0x8710
4374 #define GL_DT_SCALE_NV                    0x8711
4375 #define GL_MAGNITUDE_SCALE_NV             0x8712
4376 #define GL_VIBRANCE_SCALE_NV              0x8713
4377 #define GL_HI_BIAS_NV                     0x8714
4378 #define GL_LO_BIAS_NV                     0x8715
4379 #define GL_DS_BIAS_NV                     0x8716
4380 #define GL_DT_BIAS_NV                     0x8717
4381 #define GL_MAGNITUDE_BIAS_NV              0x8718
4382 #define GL_VIBRANCE_BIAS_NV               0x8719
4383 #define GL_TEXTURE_BORDER_VALUES_NV       0x871A
4384 #define GL_TEXTURE_HI_SIZE_NV             0x871B
4385 #define GL_TEXTURE_LO_SIZE_NV             0x871C
4386 #define GL_TEXTURE_DS_SIZE_NV             0x871D
4387 #define GL_TEXTURE_DT_SIZE_NV             0x871E
4388 #define GL_TEXTURE_MAG_SIZE_NV            0x871F
4389 #endif
4390 
4391 #ifndef GL_NV_texture_shader2
4392 #define GL_DOT_PRODUCT_TEXTURE_3D_NV      0x86EF
4393 #endif
4394 
4395 #ifndef GL_NV_vertex_array_range2
4396 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
4397 #endif
4398 
4399 #ifndef GL_NV_vertex_program
4400 #define GL_VERTEX_PROGRAM_NV              0x8620
4401 #define GL_VERTEX_STATE_PROGRAM_NV        0x8621
4402 #define GL_ATTRIB_ARRAY_SIZE_NV           0x8623
4403 #define GL_ATTRIB_ARRAY_STRIDE_NV         0x8624
4404 #define GL_ATTRIB_ARRAY_TYPE_NV           0x8625
4405 #define GL_CURRENT_ATTRIB_NV              0x8626
4406 #define GL_PROGRAM_LENGTH_NV              0x8627
4407 #define GL_PROGRAM_STRING_NV              0x8628
4408 #define GL_MODELVIEW_PROJECTION_NV        0x8629
4409 #define GL_IDENTITY_NV                    0x862A
4410 #define GL_INVERSE_NV                     0x862B
4411 #define GL_TRANSPOSE_NV                   0x862C
4412 #define GL_INVERSE_TRANSPOSE_NV           0x862D
4413 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
4414 #define GL_MAX_TRACK_MATRICES_NV          0x862F
4415 #define GL_MATRIX0_NV                     0x8630
4416 #define GL_MATRIX1_NV                     0x8631
4417 #define GL_MATRIX2_NV                     0x8632
4418 #define GL_MATRIX3_NV                     0x8633
4419 #define GL_MATRIX4_NV                     0x8634
4420 #define GL_MATRIX5_NV                     0x8635
4421 #define GL_MATRIX6_NV                     0x8636
4422 #define GL_MATRIX7_NV                     0x8637
4423 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV  0x8640
4424 #define GL_CURRENT_MATRIX_NV              0x8641
4425 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV   0x8642
4426 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV     0x8643
4427 #define GL_PROGRAM_PARAMETER_NV           0x8644
4428 #define GL_ATTRIB_ARRAY_POINTER_NV        0x8645
4429 #define GL_PROGRAM_TARGET_NV              0x8646
4430 #define GL_PROGRAM_RESIDENT_NV            0x8647
4431 #define GL_TRACK_MATRIX_NV                0x8648
4432 #define GL_TRACK_MATRIX_TRANSFORM_NV      0x8649
4433 #define GL_VERTEX_PROGRAM_BINDING_NV      0x864A
4434 #define GL_PROGRAM_ERROR_POSITION_NV      0x864B
4435 #define GL_VERTEX_ATTRIB_ARRAY0_NV        0x8650
4436 #define GL_VERTEX_ATTRIB_ARRAY1_NV        0x8651
4437 #define GL_VERTEX_ATTRIB_ARRAY2_NV        0x8652
4438 #define GL_VERTEX_ATTRIB_ARRAY3_NV        0x8653
4439 #define GL_VERTEX_ATTRIB_ARRAY4_NV        0x8654
4440 #define GL_VERTEX_ATTRIB_ARRAY5_NV        0x8655
4441 #define GL_VERTEX_ATTRIB_ARRAY6_NV        0x8656
4442 #define GL_VERTEX_ATTRIB_ARRAY7_NV        0x8657
4443 #define GL_VERTEX_ATTRIB_ARRAY8_NV        0x8658
4444 #define GL_VERTEX_ATTRIB_ARRAY9_NV        0x8659
4445 #define GL_VERTEX_ATTRIB_ARRAY10_NV       0x865A
4446 #define GL_VERTEX_ATTRIB_ARRAY11_NV       0x865B
4447 #define GL_VERTEX_ATTRIB_ARRAY12_NV       0x865C
4448 #define GL_VERTEX_ATTRIB_ARRAY13_NV       0x865D
4449 #define GL_VERTEX_ATTRIB_ARRAY14_NV       0x865E
4450 #define GL_VERTEX_ATTRIB_ARRAY15_NV       0x865F
4451 #define GL_MAP1_VERTEX_ATTRIB0_4_NV       0x8660
4452 #define GL_MAP1_VERTEX_ATTRIB1_4_NV       0x8661
4453 #define GL_MAP1_VERTEX_ATTRIB2_4_NV       0x8662
4454 #define GL_MAP1_VERTEX_ATTRIB3_4_NV       0x8663
4455 #define GL_MAP1_VERTEX_ATTRIB4_4_NV       0x8664
4456 #define GL_MAP1_VERTEX_ATTRIB5_4_NV       0x8665
4457 #define GL_MAP1_VERTEX_ATTRIB6_4_NV       0x8666
4458 #define GL_MAP1_VERTEX_ATTRIB7_4_NV       0x8667
4459 #define GL_MAP1_VERTEX_ATTRIB8_4_NV       0x8668
4460 #define GL_MAP1_VERTEX_ATTRIB9_4_NV       0x8669
4461 #define GL_MAP1_VERTEX_ATTRIB10_4_NV      0x866A
4462 #define GL_MAP1_VERTEX_ATTRIB11_4_NV      0x866B
4463 #define GL_MAP1_VERTEX_ATTRIB12_4_NV      0x866C
4464 #define GL_MAP1_VERTEX_ATTRIB13_4_NV      0x866D
4465 #define GL_MAP1_VERTEX_ATTRIB14_4_NV      0x866E
4466 #define GL_MAP1_VERTEX_ATTRIB15_4_NV      0x866F
4467 #define GL_MAP2_VERTEX_ATTRIB0_4_NV       0x8670
4468 #define GL_MAP2_VERTEX_ATTRIB1_4_NV       0x8671
4469 #define GL_MAP2_VERTEX_ATTRIB2_4_NV       0x8672
4470 #define GL_MAP2_VERTEX_ATTRIB3_4_NV       0x8673
4471 #define GL_MAP2_VERTEX_ATTRIB4_4_NV       0x8674
4472 #define GL_MAP2_VERTEX_ATTRIB5_4_NV       0x8675
4473 #define GL_MAP2_VERTEX_ATTRIB6_4_NV       0x8676
4474 #define GL_MAP2_VERTEX_ATTRIB7_4_NV       0x8677
4475 #define GL_MAP2_VERTEX_ATTRIB8_4_NV       0x8678
4476 #define GL_MAP2_VERTEX_ATTRIB9_4_NV       0x8679
4477 #define GL_MAP2_VERTEX_ATTRIB10_4_NV      0x867A
4478 #define GL_MAP2_VERTEX_ATTRIB11_4_NV      0x867B
4479 #define GL_MAP2_VERTEX_ATTRIB12_4_NV      0x867C
4480 #define GL_MAP2_VERTEX_ATTRIB13_4_NV      0x867D
4481 #define GL_MAP2_VERTEX_ATTRIB14_4_NV      0x867E
4482 #define GL_MAP2_VERTEX_ATTRIB15_4_NV      0x867F
4483 #endif
4484 
4485 #ifndef GL_SGIX_texture_coordinate_clamp
4486 #define GL_TEXTURE_MAX_CLAMP_S_SGIX       0x8369
4487 #define GL_TEXTURE_MAX_CLAMP_T_SGIX       0x836A
4488 #define GL_TEXTURE_MAX_CLAMP_R_SGIX       0x836B
4489 #endif
4490 
4491 #ifndef GL_SGIX_scalebias_hint
4492 #define GL_SCALEBIAS_HINT_SGIX            0x8322
4493 #endif
4494 
4495 #ifndef GL_OML_interlace
4496 #define GL_INTERLACE_OML                  0x8980
4497 #define GL_INTERLACE_READ_OML             0x8981
4498 #endif
4499 
4500 #ifndef GL_OML_subsample
4501 #define GL_FORMAT_SUBSAMPLE_24_24_OML     0x8982
4502 #define GL_FORMAT_SUBSAMPLE_244_244_OML   0x8983
4503 #endif
4504 
4505 #ifndef GL_OML_resample
4506 #define GL_PACK_RESAMPLE_OML              0x8984
4507 #define GL_UNPACK_RESAMPLE_OML            0x8985
4508 #define GL_RESAMPLE_REPLICATE_OML         0x8986
4509 #define GL_RESAMPLE_ZERO_FILL_OML         0x8987
4510 #define GL_RESAMPLE_AVERAGE_OML           0x8988
4511 #define GL_RESAMPLE_DECIMATE_OML          0x8989
4512 #endif
4513 
4514 #ifndef GL_NV_copy_depth_to_color
4515 #define GL_DEPTH_STENCIL_TO_RGBA_NV       0x886E
4516 #define GL_DEPTH_STENCIL_TO_BGRA_NV       0x886F
4517 #endif
4518 
4519 #ifndef GL_ATI_envmap_bumpmap
4520 #define GL_BUMP_ROT_MATRIX_ATI            0x8775
4521 #define GL_BUMP_ROT_MATRIX_SIZE_ATI       0x8776
4522 #define GL_BUMP_NUM_TEX_UNITS_ATI         0x8777
4523 #define GL_BUMP_TEX_UNITS_ATI             0x8778
4524 #define GL_DUDV_ATI                       0x8779
4525 #define GL_DU8DV8_ATI                     0x877A
4526 #define GL_BUMP_ENVMAP_ATI                0x877B
4527 #define GL_BUMP_TARGET_ATI                0x877C
4528 #endif
4529 
4530 #ifndef GL_ATI_fragment_shader
4531 #define GL_FRAGMENT_SHADER_ATI            0x8920
4532 #define GL_REG_0_ATI                      0x8921
4533 #define GL_REG_1_ATI                      0x8922
4534 #define GL_REG_2_ATI                      0x8923
4535 #define GL_REG_3_ATI                      0x8924
4536 #define GL_REG_4_ATI                      0x8925
4537 #define GL_REG_5_ATI                      0x8926
4538 #define GL_REG_6_ATI                      0x8927
4539 #define GL_REG_7_ATI                      0x8928
4540 #define GL_REG_8_ATI                      0x8929
4541 #define GL_REG_9_ATI                      0x892A
4542 #define GL_REG_10_ATI                     0x892B
4543 #define GL_REG_11_ATI                     0x892C
4544 #define GL_REG_12_ATI                     0x892D
4545 #define GL_REG_13_ATI                     0x892E
4546 #define GL_REG_14_ATI                     0x892F
4547 #define GL_REG_15_ATI                     0x8930
4548 #define GL_REG_16_ATI                     0x8931
4549 #define GL_REG_17_ATI                     0x8932
4550 #define GL_REG_18_ATI                     0x8933
4551 #define GL_REG_19_ATI                     0x8934
4552 #define GL_REG_20_ATI                     0x8935
4553 #define GL_REG_21_ATI                     0x8936
4554 #define GL_REG_22_ATI                     0x8937
4555 #define GL_REG_23_ATI                     0x8938
4556 #define GL_REG_24_ATI                     0x8939
4557 #define GL_REG_25_ATI                     0x893A
4558 #define GL_REG_26_ATI                     0x893B
4559 #define GL_REG_27_ATI                     0x893C
4560 #define GL_REG_28_ATI                     0x893D
4561 #define GL_REG_29_ATI                     0x893E
4562 #define GL_REG_30_ATI                     0x893F
4563 #define GL_REG_31_ATI                     0x8940
4564 #define GL_CON_0_ATI                      0x8941
4565 #define GL_CON_1_ATI                      0x8942
4566 #define GL_CON_2_ATI                      0x8943
4567 #define GL_CON_3_ATI                      0x8944
4568 #define GL_CON_4_ATI                      0x8945
4569 #define GL_CON_5_ATI                      0x8946
4570 #define GL_CON_6_ATI                      0x8947
4571 #define GL_CON_7_ATI                      0x8948
4572 #define GL_CON_8_ATI                      0x8949
4573 #define GL_CON_9_ATI                      0x894A
4574 #define GL_CON_10_ATI                     0x894B
4575 #define GL_CON_11_ATI                     0x894C
4576 #define GL_CON_12_ATI                     0x894D
4577 #define GL_CON_13_ATI                     0x894E
4578 #define GL_CON_14_ATI                     0x894F
4579 #define GL_CON_15_ATI                     0x8950
4580 #define GL_CON_16_ATI                     0x8951
4581 #define GL_CON_17_ATI                     0x8952
4582 #define GL_CON_18_ATI                     0x8953
4583 #define GL_CON_19_ATI                     0x8954
4584 #define GL_CON_20_ATI                     0x8955
4585 #define GL_CON_21_ATI                     0x8956
4586 #define GL_CON_22_ATI                     0x8957
4587 #define GL_CON_23_ATI                     0x8958
4588 #define GL_CON_24_ATI                     0x8959
4589 #define GL_CON_25_ATI                     0x895A
4590 #define GL_CON_26_ATI                     0x895B
4591 #define GL_CON_27_ATI                     0x895C
4592 #define GL_CON_28_ATI                     0x895D
4593 #define GL_CON_29_ATI                     0x895E
4594 #define GL_CON_30_ATI                     0x895F
4595 #define GL_CON_31_ATI                     0x8960
4596 #define GL_MOV_ATI                        0x8961
4597 #define GL_ADD_ATI                        0x8963
4598 #define GL_MUL_ATI                        0x8964
4599 #define GL_SUB_ATI                        0x8965
4600 #define GL_DOT3_ATI                       0x8966
4601 #define GL_DOT4_ATI                       0x8967
4602 #define GL_MAD_ATI                        0x8968
4603 #define GL_LERP_ATI                       0x8969
4604 #define GL_CND_ATI                        0x896A
4605 #define GL_CND0_ATI                       0x896B
4606 #define GL_DOT2_ADD_ATI                   0x896C
4607 #define GL_SECONDARY_INTERPOLATOR_ATI     0x896D
4608 #define GL_NUM_FRAGMENT_REGISTERS_ATI     0x896E
4609 #define GL_NUM_FRAGMENT_CONSTANTS_ATI     0x896F
4610 #define GL_NUM_PASSES_ATI                 0x8970
4611 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI  0x8971
4612 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI     0x8972
4613 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
4614 #define GL_NUM_LOOPBACK_COMPONENTS_ATI    0x8974
4615 #define GL_COLOR_ALPHA_PAIRING_ATI        0x8975
4616 #define GL_SWIZZLE_STR_ATI                0x8976
4617 #define GL_SWIZZLE_STQ_ATI                0x8977
4618 #define GL_SWIZZLE_STR_DR_ATI             0x8978
4619 #define GL_SWIZZLE_STQ_DQ_ATI             0x8979
4620 #define GL_SWIZZLE_STRQ_ATI               0x897A
4621 #define GL_SWIZZLE_STRQ_DQ_ATI            0x897B
4622 #define GL_RED_BIT_ATI                    0x00000001
4623 #define GL_GREEN_BIT_ATI                  0x00000002
4624 #define GL_BLUE_BIT_ATI                   0x00000004
4625 #define GL_2X_BIT_ATI                     0x00000001
4626 #define GL_4X_BIT_ATI                     0x00000002
4627 #define GL_8X_BIT_ATI                     0x00000004
4628 #define GL_HALF_BIT_ATI                   0x00000008
4629 #define GL_QUARTER_BIT_ATI                0x00000010
4630 #define GL_EIGHTH_BIT_ATI                 0x00000020
4631 #define GL_SATURATE_BIT_ATI               0x00000040
4632 #define GL_COMP_BIT_ATI                   0x00000002
4633 #define GL_NEGATE_BIT_ATI                 0x00000004
4634 #define GL_BIAS_BIT_ATI                   0x00000008
4635 #endif
4636 
4637 #ifndef GL_ATI_pn_triangles
4638 #define GL_PN_TRIANGLES_ATI               0x87F0
4639 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
4640 #define GL_PN_TRIANGLES_POINT_MODE_ATI    0x87F2
4641 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI   0x87F3
4642 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
4643 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
4644 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
4645 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
4646 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
4647 #endif
4648 
4649 #ifndef GL_ATI_vertex_array_object
4650 #define GL_STATIC_ATI                     0x8760
4651 #define GL_DYNAMIC_ATI                    0x8761
4652 #define GL_PRESERVE_ATI                   0x8762
4653 #define GL_DISCARD_ATI                    0x8763
4654 #define GL_OBJECT_BUFFER_SIZE_ATI         0x8764
4655 #define GL_OBJECT_BUFFER_USAGE_ATI        0x8765
4656 #define GL_ARRAY_OBJECT_BUFFER_ATI        0x8766
4657 #define GL_ARRAY_OBJECT_OFFSET_ATI        0x8767
4658 #endif
4659 
4660 #ifndef GL_EXT_vertex_shader
4661 #define GL_VERTEX_SHADER_EXT              0x8780
4662 #define GL_VERTEX_SHADER_BINDING_EXT      0x8781
4663 #define GL_OP_INDEX_EXT                   0x8782
4664 #define GL_OP_NEGATE_EXT                  0x8783
4665 #define GL_OP_DOT3_EXT                    0x8784
4666 #define GL_OP_DOT4_EXT                    0x8785
4667 #define GL_OP_MUL_EXT                     0x8786
4668 #define GL_OP_ADD_EXT                     0x8787
4669 #define GL_OP_MADD_EXT                    0x8788
4670 #define GL_OP_FRAC_EXT                    0x8789
4671 #define GL_OP_MAX_EXT                     0x878A
4672 #define GL_OP_MIN_EXT                     0x878B
4673 #define GL_OP_SET_GE_EXT                  0x878C
4674 #define GL_OP_SET_LT_EXT                  0x878D
4675 #define GL_OP_CLAMP_EXT                   0x878E
4676 #define GL_OP_FLOOR_EXT                   0x878F
4677 #define GL_OP_ROUND_EXT                   0x8790
4678 #define GL_OP_EXP_BASE_2_EXT              0x8791
4679 #define GL_OP_LOG_BASE_2_EXT              0x8792
4680 #define GL_OP_POWER_EXT                   0x8793
4681 #define GL_OP_RECIP_EXT                   0x8794
4682 #define GL_OP_RECIP_SQRT_EXT              0x8795
4683 #define GL_OP_SUB_EXT                     0x8796
4684 #define GL_OP_CROSS_PRODUCT_EXT           0x8797
4685 #define GL_OP_MULTIPLY_MATRIX_EXT         0x8798
4686 #define GL_OP_MOV_EXT                     0x8799
4687 #define GL_OUTPUT_VERTEX_EXT              0x879A
4688 #define GL_OUTPUT_COLOR0_EXT              0x879B
4689 #define GL_OUTPUT_COLOR1_EXT              0x879C
4690 #define GL_OUTPUT_TEXTURE_COORD0_EXT      0x879D
4691 #define GL_OUTPUT_TEXTURE_COORD1_EXT      0x879E
4692 #define GL_OUTPUT_TEXTURE_COORD2_EXT      0x879F
4693 #define GL_OUTPUT_TEXTURE_COORD3_EXT      0x87A0
4694 #define GL_OUTPUT_TEXTURE_COORD4_EXT      0x87A1
4695 #define GL_OUTPUT_TEXTURE_COORD5_EXT      0x87A2
4696 #define GL_OUTPUT_TEXTURE_COORD6_EXT      0x87A3
4697 #define GL_OUTPUT_TEXTURE_COORD7_EXT      0x87A4
4698 #define GL_OUTPUT_TEXTURE_COORD8_EXT      0x87A5
4699 #define GL_OUTPUT_TEXTURE_COORD9_EXT      0x87A6
4700 #define GL_OUTPUT_TEXTURE_COORD10_EXT     0x87A7
4701 #define GL_OUTPUT_TEXTURE_COORD11_EXT     0x87A8
4702 #define GL_OUTPUT_TEXTURE_COORD12_EXT     0x87A9
4703 #define GL_OUTPUT_TEXTURE_COORD13_EXT     0x87AA
4704 #define GL_OUTPUT_TEXTURE_COORD14_EXT     0x87AB
4705 #define GL_OUTPUT_TEXTURE_COORD15_EXT     0x87AC
4706 #define GL_OUTPUT_TEXTURE_COORD16_EXT     0x87AD
4707 #define GL_OUTPUT_TEXTURE_COORD17_EXT     0x87AE
4708 #define GL_OUTPUT_TEXTURE_COORD18_EXT     0x87AF
4709 #define GL_OUTPUT_TEXTURE_COORD19_EXT     0x87B0
4710 #define GL_OUTPUT_TEXTURE_COORD20_EXT     0x87B1
4711 #define GL_OUTPUT_TEXTURE_COORD21_EXT     0x87B2
4712 #define GL_OUTPUT_TEXTURE_COORD22_EXT     0x87B3
4713 #define GL_OUTPUT_TEXTURE_COORD23_EXT     0x87B4
4714 #define GL_OUTPUT_TEXTURE_COORD24_EXT     0x87B5
4715 #define GL_OUTPUT_TEXTURE_COORD25_EXT     0x87B6
4716 #define GL_OUTPUT_TEXTURE_COORD26_EXT     0x87B7
4717 #define GL_OUTPUT_TEXTURE_COORD27_EXT     0x87B8
4718 #define GL_OUTPUT_TEXTURE_COORD28_EXT     0x87B9
4719 #define GL_OUTPUT_TEXTURE_COORD29_EXT     0x87BA
4720 #define GL_OUTPUT_TEXTURE_COORD30_EXT     0x87BB
4721 #define GL_OUTPUT_TEXTURE_COORD31_EXT     0x87BC
4722 #define GL_OUTPUT_FOG_EXT                 0x87BD
4723 #define GL_SCALAR_EXT                     0x87BE
4724 #define GL_VECTOR_EXT                     0x87BF
4725 #define GL_MATRIX_EXT                     0x87C0
4726 #define GL_VARIANT_EXT                    0x87C1
4727 #define GL_INVARIANT_EXT                  0x87C2
4728 #define GL_LOCAL_CONSTANT_EXT             0x87C3
4729 #define GL_LOCAL_EXT                      0x87C4
4730 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
4731 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
4732 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
4733 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
4734 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT   0x87C9
4735 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
4736 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
4737 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
4738 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
4739 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
4740 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
4741 #define GL_VERTEX_SHADER_VARIANTS_EXT     0x87D0
4742 #define GL_VERTEX_SHADER_INVARIANTS_EXT   0x87D1
4743 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
4744 #define GL_VERTEX_SHADER_LOCALS_EXT       0x87D3
4745 #define GL_VERTEX_SHADER_OPTIMIZED_EXT    0x87D4
4746 #define GL_X_EXT                          0x87D5
4747 #define GL_Y_EXT                          0x87D6
4748 #define GL_Z_EXT                          0x87D7
4749 #define GL_W_EXT                          0x87D8
4750 #define GL_NEGATIVE_X_EXT                 0x87D9
4751 #define GL_NEGATIVE_Y_EXT                 0x87DA
4752 #define GL_NEGATIVE_Z_EXT                 0x87DB
4753 #define GL_NEGATIVE_W_EXT                 0x87DC
4754 #define GL_ZERO_EXT                       0x87DD
4755 #define GL_ONE_EXT                        0x87DE
4756 #define GL_NEGATIVE_ONE_EXT               0x87DF
4757 #define GL_NORMALIZED_RANGE_EXT           0x87E0
4758 #define GL_FULL_RANGE_EXT                 0x87E1
4759 #define GL_CURRENT_VERTEX_EXT             0x87E2
4760 #define GL_MVP_MATRIX_EXT                 0x87E3
4761 #define GL_VARIANT_VALUE_EXT              0x87E4
4762 #define GL_VARIANT_DATATYPE_EXT           0x87E5
4763 #define GL_VARIANT_ARRAY_STRIDE_EXT       0x87E6
4764 #define GL_VARIANT_ARRAY_TYPE_EXT         0x87E7
4765 #define GL_VARIANT_ARRAY_EXT              0x87E8
4766 #define GL_VARIANT_ARRAY_POINTER_EXT      0x87E9
4767 #define GL_INVARIANT_VALUE_EXT            0x87EA
4768 #define GL_INVARIANT_DATATYPE_EXT         0x87EB
4769 #define GL_LOCAL_CONSTANT_VALUE_EXT       0x87EC
4770 #define GL_LOCAL_CONSTANT_DATATYPE_EXT    0x87ED
4771 #endif
4772 
4773 #ifndef GL_ATI_vertex_streams
4774 #define GL_MAX_VERTEX_STREAMS_ATI         0x876B
4775 #define GL_VERTEX_STREAM0_ATI             0x876C
4776 #define GL_VERTEX_STREAM1_ATI             0x876D
4777 #define GL_VERTEX_STREAM2_ATI             0x876E
4778 #define GL_VERTEX_STREAM3_ATI             0x876F
4779 #define GL_VERTEX_STREAM4_ATI             0x8770
4780 #define GL_VERTEX_STREAM5_ATI             0x8771
4781 #define GL_VERTEX_STREAM6_ATI             0x8772
4782 #define GL_VERTEX_STREAM7_ATI             0x8773
4783 #define GL_VERTEX_SOURCE_ATI              0x8774
4784 #endif
4785 
4786 #ifndef GL_ATI_element_array
4787 #define GL_ELEMENT_ARRAY_ATI              0x8768
4788 #define GL_ELEMENT_ARRAY_TYPE_ATI         0x8769
4789 #define GL_ELEMENT_ARRAY_POINTER_ATI      0x876A
4790 #endif
4791 
4792 #ifndef GL_SUN_mesh_array
4793 #define GL_QUAD_MESH_SUN                  0x8614
4794 #define GL_TRIANGLE_MESH_SUN              0x8615
4795 #endif
4796 
4797 #ifndef GL_SUN_slice_accum
4798 #define GL_SLICE_ACCUM_SUN                0x85CC
4799 #endif
4800 
4801 #ifndef GL_NV_multisample_filter_hint
4802 #define GL_MULTISAMPLE_FILTER_HINT_NV     0x8534
4803 #endif
4804 
4805 #ifndef GL_NV_depth_clamp
4806 #define GL_DEPTH_CLAMP_NV                 0x864F
4807 #endif
4808 
4809 #ifndef GL_NV_occlusion_query
4810 #define GL_PIXEL_COUNTER_BITS_NV          0x8864
4811 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV  0x8865
4812 #define GL_PIXEL_COUNT_NV                 0x8866
4813 #define GL_PIXEL_COUNT_AVAILABLE_NV       0x8867
4814 #endif
4815 
4816 #ifndef GL_NV_point_sprite
4817 #define GL_POINT_SPRITE_NV                0x8861
4818 #define GL_COORD_REPLACE_NV               0x8862
4819 #define GL_POINT_SPRITE_R_MODE_NV         0x8863
4820 #endif
4821 
4822 #ifndef GL_NV_texture_shader3
4823 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
4824 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
4825 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
4826 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
4827 #define GL_OFFSET_HILO_TEXTURE_2D_NV      0x8854
4828 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
4829 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
4830 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
4831 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV   0x8858
4832 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV    0x8859
4833 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
4834 #define GL_DOT_PRODUCT_PASS_THROUGH_NV    0x885B
4835 #define GL_DOT_PRODUCT_TEXTURE_1D_NV      0x885C
4836 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
4837 #define GL_HILO8_NV                       0x885E
4838 #define GL_SIGNED_HILO8_NV                0x885F
4839 #define GL_FORCE_BLUE_TO_ONE_NV           0x8860
4840 #endif
4841 
4842 #ifndef GL_NV_vertex_program1_1
4843 #endif
4844 
4845 #ifndef GL_EXT_shadow_funcs
4846 #endif
4847 
4848 #ifndef GL_EXT_stencil_two_side
4849 #define GL_STENCIL_TEST_TWO_SIDE_EXT      0x8910
4850 #define GL_ACTIVE_STENCIL_FACE_EXT        0x8911
4851 #endif
4852 
4853 #ifndef GL_ATI_text_fragment_shader
4854 #define GL_TEXT_FRAGMENT_SHADER_ATI       0x8200
4855 #endif
4856 
4857 #ifndef GL_APPLE_client_storage
4858 #define GL_UNPACK_CLIENT_STORAGE_APPLE    0x85B2
4859 #endif
4860 
4861 #ifndef GL_APPLE_element_array
4862 #define GL_ELEMENT_ARRAY_APPLE            0x8A0C
4863 #define GL_ELEMENT_ARRAY_TYPE_APPLE       0x8A0D
4864 #define GL_ELEMENT_ARRAY_POINTER_APPLE    0x8A0E
4865 #endif
4866 
4867 #ifndef GL_APPLE_fence
4868 #define GL_DRAW_PIXELS_APPLE              0x8A0A
4869 #define GL_FENCE_APPLE                    0x8A0B
4870 #endif
4871 
4872 #ifndef GL_APPLE_vertex_array_object
4873 #define GL_VERTEX_ARRAY_BINDING_APPLE     0x85B5
4874 #endif
4875 
4876 #ifndef GL_APPLE_vertex_array_range
4877 #define GL_VERTEX_ARRAY_RANGE_APPLE       0x851D
4878 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
4879 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
4880 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
4881 #define GL_STORAGE_CLIENT_APPLE           0x85B4
4882 #define GL_STORAGE_CACHED_APPLE           0x85BE
4883 #define GL_STORAGE_SHARED_APPLE           0x85BF
4884 #endif
4885 
4886 #ifndef GL_APPLE_ycbcr_422
4887 #define GL_YCBCR_422_APPLE                0x85B9
4888 #define GL_UNSIGNED_SHORT_8_8_APPLE       0x85BA
4889 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE   0x85BB
4890 #endif
4891 
4892 #ifndef GL_S3_s3tc
4893 #define GL_RGB_S3TC                       0x83A0
4894 #define GL_RGB4_S3TC                      0x83A1
4895 #define GL_RGBA_S3TC                      0x83A2
4896 #define GL_RGBA4_S3TC                     0x83A3
4897 #define GL_RGBA_DXT5_S3TC                 0x83A4
4898 #define GL_RGBA4_DXT5_S3TC                0x83A5
4899 #endif
4900 
4901 #ifndef GL_ATI_draw_buffers
4902 #define GL_MAX_DRAW_BUFFERS_ATI           0x8824
4903 #define GL_DRAW_BUFFER0_ATI               0x8825
4904 #define GL_DRAW_BUFFER1_ATI               0x8826
4905 #define GL_DRAW_BUFFER2_ATI               0x8827
4906 #define GL_DRAW_BUFFER3_ATI               0x8828
4907 #define GL_DRAW_BUFFER4_ATI               0x8829
4908 #define GL_DRAW_BUFFER5_ATI               0x882A
4909 #define GL_DRAW_BUFFER6_ATI               0x882B
4910 #define GL_DRAW_BUFFER7_ATI               0x882C
4911 #define GL_DRAW_BUFFER8_ATI               0x882D
4912 #define GL_DRAW_BUFFER9_ATI               0x882E
4913 #define GL_DRAW_BUFFER10_ATI              0x882F
4914 #define GL_DRAW_BUFFER11_ATI              0x8830
4915 #define GL_DRAW_BUFFER12_ATI              0x8831
4916 #define GL_DRAW_BUFFER13_ATI              0x8832
4917 #define GL_DRAW_BUFFER14_ATI              0x8833
4918 #define GL_DRAW_BUFFER15_ATI              0x8834
4919 #endif
4920 
4921 #ifndef GL_ATI_pixel_format_float
4922 #define GL_RGBA_FLOAT_MODE_ATI            0x8820
4923 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
4924 #endif
4925 
4926 #ifndef GL_ATI_texture_env_combine3
4927 #define GL_MODULATE_ADD_ATI               0x8744
4928 #define GL_MODULATE_SIGNED_ADD_ATI        0x8745
4929 #define GL_MODULATE_SUBTRACT_ATI          0x8746
4930 #endif
4931 
4932 #ifndef GL_ATI_texture_float
4933 #define GL_RGBA_FLOAT32_ATI               0x8814
4934 #define GL_RGB_FLOAT32_ATI                0x8815
4935 #define GL_ALPHA_FLOAT32_ATI              0x8816
4936 #define GL_INTENSITY_FLOAT32_ATI          0x8817
4937 #define GL_LUMINANCE_FLOAT32_ATI          0x8818
4938 #define GL_LUMINANCE_ALPHA_FLOAT32_ATI    0x8819
4939 #define GL_RGBA_FLOAT16_ATI               0x881A
4940 #define GL_RGB_FLOAT16_ATI                0x881B
4941 #define GL_ALPHA_FLOAT16_ATI              0x881C
4942 #define GL_INTENSITY_FLOAT16_ATI          0x881D
4943 #define GL_LUMINANCE_FLOAT16_ATI          0x881E
4944 #define GL_LUMINANCE_ALPHA_FLOAT16_ATI    0x881F
4945 #endif
4946 
4947 #ifndef GL_NV_float_buffer
4948 #define GL_FLOAT_R_NV                     0x8880
4949 #define GL_FLOAT_RG_NV                    0x8881
4950 #define GL_FLOAT_RGB_NV                   0x8882
4951 #define GL_FLOAT_RGBA_NV                  0x8883
4952 #define GL_FLOAT_R16_NV                   0x8884
4953 #define GL_FLOAT_R32_NV                   0x8885
4954 #define GL_FLOAT_RG16_NV                  0x8886
4955 #define GL_FLOAT_RG32_NV                  0x8887
4956 #define GL_FLOAT_RGB16_NV                 0x8888
4957 #define GL_FLOAT_RGB32_NV                 0x8889
4958 #define GL_FLOAT_RGBA16_NV                0x888A
4959 #define GL_FLOAT_RGBA32_NV                0x888B
4960 #define GL_TEXTURE_FLOAT_COMPONENTS_NV    0x888C
4961 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV     0x888D
4962 #define GL_FLOAT_RGBA_MODE_NV             0x888E
4963 #endif
4964 
4965 #ifndef GL_NV_fragment_program
4966 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
4967 #define GL_FRAGMENT_PROGRAM_NV            0x8870
4968 #define GL_MAX_TEXTURE_COORDS_NV          0x8871
4969 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV     0x8872
4970 #define GL_FRAGMENT_PROGRAM_BINDING_NV    0x8873
4971 #define GL_PROGRAM_ERROR_STRING_NV        0x8874
4972 #endif
4973 
4974 #ifndef GL_NV_half_float
4975 #define GL_HALF_FLOAT_NV                  0x140B
4976 #endif
4977 
4978 #ifndef GL_NV_pixel_data_range
4979 #define GL_WRITE_PIXEL_DATA_RANGE_NV      0x8878
4980 #define GL_READ_PIXEL_DATA_RANGE_NV       0x8879
4981 #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
4982 #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
4983 #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
4984 #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
4985 #endif
4986 
4987 #ifndef GL_NV_primitive_restart
4988 #define GL_PRIMITIVE_RESTART_NV           0x8558
4989 #define GL_PRIMITIVE_RESTART_INDEX_NV     0x8559
4990 #endif
4991 
4992 #ifndef GL_NV_texture_expand_normal
4993 #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
4994 #endif
4995 
4996 #ifndef GL_NV_vertex_program2
4997 #endif
4998 
4999 #ifndef GL_ATI_map_object_buffer
5000 #endif
5001 
5002 #ifndef GL_ATI_separate_stencil
5003 #define GL_STENCIL_BACK_FUNC_ATI          0x8800
5004 #define GL_STENCIL_BACK_FAIL_ATI          0x8801
5005 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
5006 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
5007 #endif
5008 
5009 #ifndef GL_ATI_vertex_attrib_array_object
5010 #endif
5011 
5012 #ifndef GL_OES_read_format
5013 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
5014 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
5015 #endif
5016 
5017 #ifndef GL_EXT_depth_bounds_test
5018 #define GL_DEPTH_BOUNDS_TEST_EXT          0x8890
5019 #define GL_DEPTH_BOUNDS_EXT               0x8891
5020 #endif
5021 
5022 #ifndef GL_EXT_texture_mirror_clamp
5023 #define GL_MIRROR_CLAMP_EXT               0x8742
5024 #define GL_MIRROR_CLAMP_TO_EDGE_EXT       0x8743
5025 #define GL_MIRROR_CLAMP_TO_BORDER_EXT     0x8912
5026 #endif
5027 
5028 #ifndef GL_EXT_blend_equation_separate
5029 #define GL_BLEND_EQUATION_RGB_EXT         0x8009
5030 #define GL_BLEND_EQUATION_ALPHA_EXT       0x883D
5031 #endif
5032 
5033 #ifndef GL_MESA_pack_invert
5034 #define GL_PACK_INVERT_MESA               0x8758
5035 #endif
5036 
5037 #ifndef GL_MESA_ycbcr_texture
5038 #define GL_UNSIGNED_SHORT_8_8_MESA        0x85BA
5039 #define GL_UNSIGNED_SHORT_8_8_REV_MESA    0x85BB
5040 #define GL_YCBCR_MESA                     0x8757
5041 #endif
5042 
5043 #ifndef GL_EXT_pixel_buffer_object
5044 #define GL_PIXEL_PACK_BUFFER_EXT          0x88EB
5045 #define GL_PIXEL_UNPACK_BUFFER_EXT        0x88EC
5046 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT  0x88ED
5047 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
5048 #endif
5049 
5050 #ifndef GL_NV_fragment_program_option
5051 #endif
5052 
5053 #ifndef GL_NV_fragment_program2
5054 #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
5055 #define GL_MAX_PROGRAM_CALL_DEPTH_NV      0x88F5
5056 #define GL_MAX_PROGRAM_IF_DEPTH_NV        0x88F6
5057 #define GL_MAX_PROGRAM_LOOP_DEPTH_NV      0x88F7
5058 #define GL_MAX_PROGRAM_LOOP_COUNT_NV      0x88F8
5059 #endif
5060 
5061 #ifndef GL_NV_vertex_program2_option
5062 /* reuse GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */
5063 /* reuse GL_MAX_PROGRAM_CALL_DEPTH_NV */
5064 #endif
5065 
5066 #ifndef GL_NV_vertex_program3
5067 /* reuse GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */
5068 #endif
5069 
5070 #ifndef GL_EXT_framebuffer_object
5071 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
5072 #define GL_MAX_RENDERBUFFER_SIZE_EXT      0x84E8
5073 #define GL_FRAMEBUFFER_BINDING_EXT        0x8CA6
5074 #define GL_RENDERBUFFER_BINDING_EXT       0x8CA7
5075 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
5076 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
5077 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
5078 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
5079 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
5080 #define GL_FRAMEBUFFER_COMPLETE_EXT       0x8CD5
5081 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
5082 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
5083 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
5084 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
5085 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
5086 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
5087 #define GL_FRAMEBUFFER_UNSUPPORTED_EXT    0x8CDD
5088 #define GL_MAX_COLOR_ATTACHMENTS_EXT      0x8CDF
5089 #define GL_COLOR_ATTACHMENT0_EXT          0x8CE0
5090 #define GL_COLOR_ATTACHMENT1_EXT          0x8CE1
5091 #define GL_COLOR_ATTACHMENT2_EXT          0x8CE2
5092 #define GL_COLOR_ATTACHMENT3_EXT          0x8CE3
5093 #define GL_COLOR_ATTACHMENT4_EXT          0x8CE4
5094 #define GL_COLOR_ATTACHMENT5_EXT          0x8CE5
5095 #define GL_COLOR_ATTACHMENT6_EXT          0x8CE6
5096 #define GL_COLOR_ATTACHMENT7_EXT          0x8CE7
5097 #define GL_COLOR_ATTACHMENT8_EXT          0x8CE8
5098 #define GL_COLOR_ATTACHMENT9_EXT          0x8CE9
5099 #define GL_COLOR_ATTACHMENT10_EXT         0x8CEA
5100 #define GL_COLOR_ATTACHMENT11_EXT         0x8CEB
5101 #define GL_COLOR_ATTACHMENT12_EXT         0x8CEC
5102 #define GL_COLOR_ATTACHMENT13_EXT         0x8CED
5103 #define GL_COLOR_ATTACHMENT14_EXT         0x8CEE
5104 #define GL_COLOR_ATTACHMENT15_EXT         0x8CEF
5105 #define GL_DEPTH_ATTACHMENT_EXT           0x8D00
5106 #define GL_STENCIL_ATTACHMENT_EXT         0x8D20
5107 #define GL_FRAMEBUFFER_EXT                0x8D40
5108 #define GL_RENDERBUFFER_EXT               0x8D41
5109 #define GL_RENDERBUFFER_WIDTH_EXT         0x8D42
5110 #define GL_RENDERBUFFER_HEIGHT_EXT        0x8D43
5111 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
5112 #define GL_STENCIL_INDEX1_EXT             0x8D46
5113 #define GL_STENCIL_INDEX4_EXT             0x8D47
5114 #define GL_STENCIL_INDEX8_EXT             0x8D48
5115 #define GL_STENCIL_INDEX16_EXT            0x8D49
5116 #define GL_RENDERBUFFER_RED_SIZE_EXT      0x8D50
5117 #define GL_RENDERBUFFER_GREEN_SIZE_EXT    0x8D51
5118 #define GL_RENDERBUFFER_BLUE_SIZE_EXT     0x8D52
5119 #define GL_RENDERBUFFER_ALPHA_SIZE_EXT    0x8D53
5120 #define GL_RENDERBUFFER_DEPTH_SIZE_EXT    0x8D54
5121 #define GL_RENDERBUFFER_STENCIL_SIZE_EXT  0x8D55
5122 #endif
5123 
5124 #ifndef GL_GREMEDY_string_marker
5125 #endif
5126 
5127 #ifndef GL_EXT_packed_depth_stencil
5128 #define GL_DEPTH_STENCIL_EXT              0x84F9
5129 #define GL_UNSIGNED_INT_24_8_EXT          0x84FA
5130 #define GL_DEPTH24_STENCIL8_EXT           0x88F0
5131 #define GL_TEXTURE_STENCIL_SIZE_EXT       0x88F1
5132 #endif
5133 
5134 #ifndef GL_EXT_stencil_clear_tag
5135 #define GL_STENCIL_TAG_BITS_EXT           0x88F2
5136 #define GL_STENCIL_CLEAR_TAG_VALUE_EXT    0x88F3
5137 #endif
5138 
5139 #ifndef GL_EXT_texture_sRGB
5140 #define GL_SRGB_EXT                       0x8C40
5141 #define GL_SRGB8_EXT                      0x8C41
5142 #define GL_SRGB_ALPHA_EXT                 0x8C42
5143 #define GL_SRGB8_ALPHA8_EXT               0x8C43
5144 #define GL_SLUMINANCE_ALPHA_EXT           0x8C44
5145 #define GL_SLUMINANCE8_ALPHA8_EXT         0x8C45
5146 #define GL_SLUMINANCE_EXT                 0x8C46
5147 #define GL_SLUMINANCE8_EXT                0x8C47
5148 #define GL_COMPRESSED_SRGB_EXT            0x8C48
5149 #define GL_COMPRESSED_SRGB_ALPHA_EXT      0x8C49
5150 #define GL_COMPRESSED_SLUMINANCE_EXT      0x8C4A
5151 #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
5152 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT  0x8C4C
5153 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
5154 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
5155 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
5156 #endif
5157 
5158 #ifndef GL_EXT_framebuffer_blit
5159 #define GL_READ_FRAMEBUFFER_EXT           0x8CA8
5160 #define GL_DRAW_FRAMEBUFFER_EXT           0x8CA9
5161 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT   GL_FRAMEBUFFER_BINDING_EXT
5162 #define GL_READ_FRAMEBUFFER_BINDING_EXT   0x8CAA
5163 #endif
5164 
5165 #ifndef GL_EXT_framebuffer_multisample
5166 #define GL_RENDERBUFFER_SAMPLES_EXT       0x8CAB
5167 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
5168 #define GL_MAX_SAMPLES_EXT                0x8D57
5169 #endif
5170 
5171 #ifndef GL_MESAX_texture_stack
5172 #define GL_TEXTURE_1D_STACK_MESAX         0x8759
5173 #define GL_TEXTURE_2D_STACK_MESAX         0x875A
5174 #define GL_PROXY_TEXTURE_1D_STACK_MESAX   0x875B
5175 #define GL_PROXY_TEXTURE_2D_STACK_MESAX   0x875C
5176 #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
5177 #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
5178 #endif
5179 
5180 #ifndef GL_EXT_timer_query
5181 #define GL_TIME_ELAPSED_EXT               0x88BF
5182 #endif
5183 
5184 #ifndef GL_EXT_gpu_program_parameters
5185 #endif
5186 
5187 #ifndef GL_APPLE_flush_buffer_range
5188 #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
5189 #define GL_BUFFER_FLUSHING_UNMAP_APPLE    0x8A13
5190 #endif
5191 
5192 #ifndef GL_NV_gpu_program4
5193 #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV    0x8904
5194 #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV    0x8905
5195 #define GL_PROGRAM_ATTRIB_COMPONENTS_NV   0x8906
5196 #define GL_PROGRAM_RESULT_COMPONENTS_NV   0x8907
5197 #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
5198 #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
5199 #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
5200 #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
5201 #endif
5202 
5203 #ifndef GL_NV_geometry_program4
5204 #define GL_LINES_ADJACENCY_EXT            0x000A
5205 #define GL_LINE_STRIP_ADJACENCY_EXT       0x000B
5206 #define GL_TRIANGLES_ADJACENCY_EXT        0x000C
5207 #define GL_TRIANGLE_STRIP_ADJACENCY_EXT   0x000D
5208 #define GL_GEOMETRY_PROGRAM_NV            0x8C26
5209 #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
5210 #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
5211 #define GL_GEOMETRY_VERTICES_OUT_EXT      0x8DDA
5212 #define GL_GEOMETRY_INPUT_TYPE_EXT        0x8DDB
5213 #define GL_GEOMETRY_OUTPUT_TYPE_EXT       0x8DDC
5214 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
5215 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
5216 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
5217 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
5218 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
5219 #define GL_PROGRAM_POINT_SIZE_EXT         0x8642
5220 #endif
5221 
5222 #ifndef GL_EXT_geometry_shader4
5223 #define GL_GEOMETRY_SHADER_EXT            0x8DD9
5224 /* reuse GL_GEOMETRY_VERTICES_OUT_EXT */
5225 /* reuse GL_GEOMETRY_INPUT_TYPE_EXT */
5226 /* reuse GL_GEOMETRY_OUTPUT_TYPE_EXT */
5227 /* reuse GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT */
5228 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
5229 #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
5230 #define GL_MAX_VARYING_COMPONENTS_EXT     0x8B4B
5231 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
5232 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
5233 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
5234 /* reuse GL_LINES_ADJACENCY_EXT */
5235 /* reuse GL_LINE_STRIP_ADJACENCY_EXT */
5236 /* reuse GL_TRIANGLES_ADJACENCY_EXT */
5237 /* reuse GL_TRIANGLE_STRIP_ADJACENCY_EXT */
5238 /* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT */
5239 /* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT */
5240 /* reuse GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT */
5241 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
5242 /* reuse GL_PROGRAM_POINT_SIZE_EXT */
5243 #endif
5244 
5245 #ifndef GL_NV_vertex_program4
5246 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
5247 #endif
5248 
5249 #ifndef GL_EXT_gpu_shader4
5250 #define GL_SAMPLER_1D_ARRAY_EXT           0x8DC0
5251 #define GL_SAMPLER_2D_ARRAY_EXT           0x8DC1
5252 #define GL_SAMPLER_BUFFER_EXT             0x8DC2
5253 #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT    0x8DC3
5254 #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT    0x8DC4
5255 #define GL_SAMPLER_CUBE_SHADOW_EXT        0x8DC5
5256 #define GL_UNSIGNED_INT_VEC2_EXT          0x8DC6
5257 #define GL_UNSIGNED_INT_VEC3_EXT          0x8DC7
5258 #define GL_UNSIGNED_INT_VEC4_EXT          0x8DC8
5259 #define GL_INT_SAMPLER_1D_EXT             0x8DC9
5260 #define GL_INT_SAMPLER_2D_EXT             0x8DCA
5261 #define GL_INT_SAMPLER_3D_EXT             0x8DCB
5262 #define GL_INT_SAMPLER_CUBE_EXT           0x8DCC
5263 #define GL_INT_SAMPLER_2D_RECT_EXT        0x8DCD
5264 #define GL_INT_SAMPLER_1D_ARRAY_EXT       0x8DCE
5265 #define GL_INT_SAMPLER_2D_ARRAY_EXT       0x8DCF
5266 #define GL_INT_SAMPLER_BUFFER_EXT         0x8DD0
5267 #define GL_UNSIGNED_INT_SAMPLER_1D_EXT    0x8DD1
5268 #define GL_UNSIGNED_INT_SAMPLER_2D_EXT    0x8DD2
5269 #define GL_UNSIGNED_INT_SAMPLER_3D_EXT    0x8DD3
5270 #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT  0x8DD4
5271 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
5272 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
5273 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
5274 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
5275 #endif
5276 
5277 #ifndef GL_EXT_draw_instanced
5278 #endif
5279 
5280 #ifndef GL_EXT_packed_float
5281 #define GL_R11F_G11F_B10F_EXT             0x8C3A
5282 #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
5283 #define GL_RGBA_SIGNED_COMPONENTS_EXT     0x8C3C
5284 #endif
5285 
5286 #ifndef GL_EXT_texture_array
5287 #define GL_TEXTURE_1D_ARRAY_EXT           0x8C18
5288 #define GL_PROXY_TEXTURE_1D_ARRAY_EXT     0x8C19
5289 #define GL_TEXTURE_2D_ARRAY_EXT           0x8C1A
5290 #define GL_PROXY_TEXTURE_2D_ARRAY_EXT     0x8C1B
5291 #define GL_TEXTURE_BINDING_1D_ARRAY_EXT   0x8C1C
5292 #define GL_TEXTURE_BINDING_2D_ARRAY_EXT   0x8C1D
5293 #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT   0x88FF
5294 #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
5295 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
5296 #endif
5297 
5298 #ifndef GL_EXT_texture_buffer_object
5299 #define GL_TEXTURE_BUFFER_EXT             0x8C2A
5300 #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT    0x8C2B
5301 #define GL_TEXTURE_BINDING_BUFFER_EXT     0x8C2C
5302 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
5303 #define GL_TEXTURE_BUFFER_FORMAT_EXT      0x8C2E
5304 #endif
5305 
5306 #ifndef GL_EXT_texture_compression_latc
5307 #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
5308 #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
5309 #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
5310 #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
5311 #endif
5312 
5313 #ifndef GL_EXT_texture_compression_rgtc
5314 #define GL_COMPRESSED_RED_RGTC1_EXT       0x8DBB
5315 #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
5316 #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
5317 #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
5318 #endif
5319 
5320 #ifndef GL_EXT_texture_shared_exponent
5321 #define GL_RGB9_E5_EXT                    0x8C3D
5322 #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT   0x8C3E
5323 #define GL_TEXTURE_SHARED_SIZE_EXT        0x8C3F
5324 #endif
5325 
5326 #ifndef GL_NV_depth_buffer_float
5327 #define GL_DEPTH_COMPONENT32F_NV          0x8DAB
5328 #define GL_DEPTH32F_STENCIL8_NV           0x8DAC
5329 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
5330 #define GL_DEPTH_BUFFER_FLOAT_MODE_NV     0x8DAF
5331 #endif
5332 
5333 #ifndef GL_NV_fragment_program4
5334 #endif
5335 
5336 #ifndef GL_NV_framebuffer_multisample_coverage
5337 #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
5338 #define GL_RENDERBUFFER_COLOR_SAMPLES_NV  0x8E10
5339 #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
5340 #define GL_MULTISAMPLE_COVERAGE_MODES_NV  0x8E12
5341 #endif
5342 
5343 #ifndef GL_EXT_framebuffer_sRGB
5344 #define GL_FRAMEBUFFER_SRGB_EXT           0x8DB9
5345 #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT   0x8DBA
5346 #endif
5347 
5348 #ifndef GL_NV_geometry_shader4
5349 #endif
5350 
5351 #ifndef GL_NV_parameter_buffer_object
5352 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
5353 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
5354 #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
5355 #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
5356 #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
5357 #endif
5358 
5359 #ifndef GL_EXT_draw_buffers2
5360 #endif
5361 
5362 #ifndef GL_NV_transform_feedback
5363 #define GL_BACK_PRIMARY_COLOR_NV          0x8C77
5364 #define GL_BACK_SECONDARY_COLOR_NV        0x8C78
5365 #define GL_TEXTURE_COORD_NV               0x8C79
5366 #define GL_CLIP_DISTANCE_NV               0x8C7A
5367 #define GL_VERTEX_ID_NV                   0x8C7B
5368 #define GL_PRIMITIVE_ID_NV                0x8C7C
5369 #define GL_GENERIC_ATTRIB_NV              0x8C7D
5370 #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV  0x8C7E
5371 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
5372 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
5373 #define GL_ACTIVE_VARYINGS_NV             0x8C81
5374 #define GL_ACTIVE_VARYING_MAX_LENGTH_NV   0x8C82
5375 #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
5376 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
5377 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
5378 #define GL_TRANSFORM_FEEDBACK_RECORD_NV   0x8C86
5379 #define GL_PRIMITIVES_GENERATED_NV        0x8C87
5380 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
5381 #define GL_RASTERIZER_DISCARD_NV          0x8C89
5382 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A
5383 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
5384 #define GL_INTERLEAVED_ATTRIBS_NV         0x8C8C
5385 #define GL_SEPARATE_ATTRIBS_NV            0x8C8D
5386 #define GL_TRANSFORM_FEEDBACK_BUFFER_NV   0x8C8E
5387 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
5388 #define GL_LAYER_NV                       0x8DAA
5389 #define GL_NEXT_BUFFER_NV                 -2
5390 #define GL_SKIP_COMPONENTS4_NV            -3
5391 #define GL_SKIP_COMPONENTS3_NV            -4
5392 #define GL_SKIP_COMPONENTS2_NV            -5
5393 #define GL_SKIP_COMPONENTS1_NV            -6
5394 #endif
5395 
5396 #ifndef GL_EXT_bindable_uniform
5397 #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
5398 #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
5399 #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
5400 #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT  0x8DED
5401 #define GL_UNIFORM_BUFFER_EXT             0x8DEE
5402 #define GL_UNIFORM_BUFFER_BINDING_EXT     0x8DEF
5403 #endif
5404 
5405 #ifndef GL_EXT_texture_integer
5406 #define GL_RGBA32UI_EXT                   0x8D70
5407 #define GL_RGB32UI_EXT                    0x8D71
5408 #define GL_ALPHA32UI_EXT                  0x8D72
5409 #define GL_INTENSITY32UI_EXT              0x8D73
5410 #define GL_LUMINANCE32UI_EXT              0x8D74
5411 #define GL_LUMINANCE_ALPHA32UI_EXT        0x8D75
5412 #define GL_RGBA16UI_EXT                   0x8D76
5413 #define GL_RGB16UI_EXT                    0x8D77
5414 #define GL_ALPHA16UI_EXT                  0x8D78
5415 #define GL_INTENSITY16UI_EXT              0x8D79
5416 #define GL_LUMINANCE16UI_EXT              0x8D7A
5417 #define GL_LUMINANCE_ALPHA16UI_EXT        0x8D7B
5418 #define GL_RGBA8UI_EXT                    0x8D7C
5419 #define GL_RGB8UI_EXT                     0x8D7D
5420 #define GL_ALPHA8UI_EXT                   0x8D7E
5421 #define GL_INTENSITY8UI_EXT               0x8D7F
5422 #define GL_LUMINANCE8UI_EXT               0x8D80
5423 #define GL_LUMINANCE_ALPHA8UI_EXT         0x8D81
5424 #define GL_RGBA32I_EXT                    0x8D82
5425 #define GL_RGB32I_EXT                     0x8D83
5426 #define GL_ALPHA32I_EXT                   0x8D84
5427 #define GL_INTENSITY32I_EXT               0x8D85
5428 #define GL_LUMINANCE32I_EXT               0x8D86
5429 #define GL_LUMINANCE_ALPHA32I_EXT         0x8D87
5430 #define GL_RGBA16I_EXT                    0x8D88
5431 #define GL_RGB16I_EXT                     0x8D89
5432 #define GL_ALPHA16I_EXT                   0x8D8A
5433 #define GL_INTENSITY16I_EXT               0x8D8B
5434 #define GL_LUMINANCE16I_EXT               0x8D8C
5435 #define GL_LUMINANCE_ALPHA16I_EXT         0x8D8D
5436 #define GL_RGBA8I_EXT                     0x8D8E
5437 #define GL_RGB8I_EXT                      0x8D8F
5438 #define GL_ALPHA8I_EXT                    0x8D90
5439 #define GL_INTENSITY8I_EXT                0x8D91
5440 #define GL_LUMINANCE8I_EXT                0x8D92
5441 #define GL_LUMINANCE_ALPHA8I_EXT          0x8D93
5442 #define GL_RED_INTEGER_EXT                0x8D94
5443 #define GL_GREEN_INTEGER_EXT              0x8D95
5444 #define GL_BLUE_INTEGER_EXT               0x8D96
5445 #define GL_ALPHA_INTEGER_EXT              0x8D97
5446 #define GL_RGB_INTEGER_EXT                0x8D98
5447 #define GL_RGBA_INTEGER_EXT               0x8D99
5448 #define GL_BGR_INTEGER_EXT                0x8D9A
5449 #define GL_BGRA_INTEGER_EXT               0x8D9B
5450 #define GL_LUMINANCE_INTEGER_EXT          0x8D9C
5451 #define GL_LUMINANCE_ALPHA_INTEGER_EXT    0x8D9D
5452 #define GL_RGBA_INTEGER_MODE_EXT          0x8D9E
5453 #endif
5454 
5455 #ifndef GL_GREMEDY_frame_terminator
5456 #endif
5457 
5458 #ifndef GL_NV_conditional_render
5459 #define GL_QUERY_WAIT_NV                  0x8E13
5460 #define GL_QUERY_NO_WAIT_NV               0x8E14
5461 #define GL_QUERY_BY_REGION_WAIT_NV        0x8E15
5462 #define GL_QUERY_BY_REGION_NO_WAIT_NV     0x8E16
5463 #endif
5464 
5465 #ifndef GL_NV_present_video
5466 #define GL_FRAME_NV                       0x8E26
5467 #define GL_FIELDS_NV                      0x8E27
5468 #define GL_CURRENT_TIME_NV                0x8E28
5469 #define GL_NUM_FILL_STREAMS_NV            0x8E29
5470 #define GL_PRESENT_TIME_NV                0x8E2A
5471 #define GL_PRESENT_DURATION_NV            0x8E2B
5472 #endif
5473 
5474 #ifndef GL_EXT_transform_feedback
5475 #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT  0x8C8E
5476 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
5477 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
5478 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
5479 #define GL_INTERLEAVED_ATTRIBS_EXT        0x8C8C
5480 #define GL_SEPARATE_ATTRIBS_EXT           0x8C8D
5481 #define GL_PRIMITIVES_GENERATED_EXT       0x8C87
5482 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
5483 #define GL_RASTERIZER_DISCARD_EXT         0x8C89
5484 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
5485 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
5486 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
5487 #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
5488 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
5489 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
5490 #endif
5491 
5492 #ifndef GL_EXT_direct_state_access
5493 #define GL_PROGRAM_MATRIX_EXT             0x8E2D
5494 #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT   0x8E2E
5495 #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
5496 #endif
5497 
5498 #ifndef GL_EXT_vertex_array_bgra
5499 /* reuse GL_BGRA */
5500 #endif
5501 
5502 #ifndef GL_EXT_texture_swizzle
5503 #define GL_TEXTURE_SWIZZLE_R_EXT          0x8E42
5504 #define GL_TEXTURE_SWIZZLE_G_EXT          0x8E43
5505 #define GL_TEXTURE_SWIZZLE_B_EXT          0x8E44
5506 #define GL_TEXTURE_SWIZZLE_A_EXT          0x8E45
5507 #define GL_TEXTURE_SWIZZLE_RGBA_EXT       0x8E46
5508 #endif
5509 
5510 #ifndef GL_NV_explicit_multisample
5511 #define GL_SAMPLE_POSITION_NV             0x8E50
5512 #define GL_SAMPLE_MASK_NV                 0x8E51
5513 #define GL_SAMPLE_MASK_VALUE_NV           0x8E52
5514 #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
5515 #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
5516 #define GL_TEXTURE_RENDERBUFFER_NV        0x8E55
5517 #define GL_SAMPLER_RENDERBUFFER_NV        0x8E56
5518 #define GL_INT_SAMPLER_RENDERBUFFER_NV    0x8E57
5519 #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
5520 #define GL_MAX_SAMPLE_MASK_WORDS_NV       0x8E59
5521 #endif
5522 
5523 #ifndef GL_NV_transform_feedback2
5524 #define GL_TRANSFORM_FEEDBACK_NV          0x8E22
5525 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
5526 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
5527 #define GL_TRANSFORM_FEEDBACK_BINDING_NV  0x8E25
5528 #endif
5529 
5530 #ifndef GL_ATI_meminfo
5531 #define GL_VBO_FREE_MEMORY_ATI            0x87FB
5532 #define GL_TEXTURE_FREE_MEMORY_ATI        0x87FC
5533 #define GL_RENDERBUFFER_FREE_MEMORY_ATI   0x87FD
5534 #endif
5535 
5536 #ifndef GL_AMD_performance_monitor
5537 #define GL_COUNTER_TYPE_AMD               0x8BC0
5538 #define GL_COUNTER_RANGE_AMD              0x8BC1
5539 #define GL_UNSIGNED_INT64_AMD             0x8BC2
5540 #define GL_PERCENTAGE_AMD                 0x8BC3
5541 #define GL_PERFMON_RESULT_AVAILABLE_AMD   0x8BC4
5542 #define GL_PERFMON_RESULT_SIZE_AMD        0x8BC5
5543 #define GL_PERFMON_RESULT_AMD             0x8BC6
5544 #endif
5545 
5546 #ifndef GL_AMD_texture_texture4
5547 #endif
5548 
5549 #ifndef GL_AMD_vertex_shader_tesselator
5550 #define GL_SAMPLER_BUFFER_AMD             0x9001
5551 #define GL_INT_SAMPLER_BUFFER_AMD         0x9002
5552 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
5553 #define GL_TESSELLATION_MODE_AMD          0x9004
5554 #define GL_TESSELLATION_FACTOR_AMD        0x9005
5555 #define GL_DISCRETE_AMD                   0x9006
5556 #define GL_CONTINUOUS_AMD                 0x9007
5557 #endif
5558 
5559 #ifndef GL_EXT_provoking_vertex
5560 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
5561 #define GL_FIRST_VERTEX_CONVENTION_EXT    0x8E4D
5562 #define GL_LAST_VERTEX_CONVENTION_EXT     0x8E4E
5563 #define GL_PROVOKING_VERTEX_EXT           0x8E4F
5564 #endif
5565 
5566 #ifndef GL_EXT_texture_snorm
5567 #define GL_ALPHA_SNORM                    0x9010
5568 #define GL_LUMINANCE_SNORM                0x9011
5569 #define GL_LUMINANCE_ALPHA_SNORM          0x9012
5570 #define GL_INTENSITY_SNORM                0x9013
5571 #define GL_ALPHA8_SNORM                   0x9014
5572 #define GL_LUMINANCE8_SNORM               0x9015
5573 #define GL_LUMINANCE8_ALPHA8_SNORM        0x9016
5574 #define GL_INTENSITY8_SNORM               0x9017
5575 #define GL_ALPHA16_SNORM                  0x9018
5576 #define GL_LUMINANCE16_SNORM              0x9019
5577 #define GL_LUMINANCE16_ALPHA16_SNORM      0x901A
5578 #define GL_INTENSITY16_SNORM              0x901B
5579 /* reuse GL_RED_SNORM */
5580 /* reuse GL_RG_SNORM */
5581 /* reuse GL_RGB_SNORM */
5582 /* reuse GL_RGBA_SNORM */
5583 /* reuse GL_R8_SNORM */
5584 /* reuse GL_RG8_SNORM */
5585 /* reuse GL_RGB8_SNORM */
5586 /* reuse GL_RGBA8_SNORM */
5587 /* reuse GL_R16_SNORM */
5588 /* reuse GL_RG16_SNORM */
5589 /* reuse GL_RGB16_SNORM */
5590 /* reuse GL_RGBA16_SNORM */
5591 /* reuse GL_SIGNED_NORMALIZED */
5592 #endif
5593 
5594 #ifndef GL_AMD_draw_buffers_blend
5595 #endif
5596 
5597 #ifndef GL_APPLE_texture_range
5598 #define GL_TEXTURE_RANGE_LENGTH_APPLE     0x85B7
5599 #define GL_TEXTURE_RANGE_POINTER_APPLE    0x85B8
5600 #define GL_TEXTURE_STORAGE_HINT_APPLE     0x85BC
5601 #define GL_STORAGE_PRIVATE_APPLE          0x85BD
5602 /* reuse GL_STORAGE_CACHED_APPLE */
5603 /* reuse GL_STORAGE_SHARED_APPLE */
5604 #endif
5605 
5606 #ifndef GL_APPLE_float_pixels
5607 #define GL_HALF_APPLE                     0x140B
5608 #define GL_RGBA_FLOAT32_APPLE             0x8814
5609 #define GL_RGB_FLOAT32_APPLE              0x8815
5610 #define GL_ALPHA_FLOAT32_APPLE            0x8816
5611 #define GL_INTENSITY_FLOAT32_APPLE        0x8817
5612 #define GL_LUMINANCE_FLOAT32_APPLE        0x8818
5613 #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE  0x8819
5614 #define GL_RGBA_FLOAT16_APPLE             0x881A
5615 #define GL_RGB_FLOAT16_APPLE              0x881B
5616 #define GL_ALPHA_FLOAT16_APPLE            0x881C
5617 #define GL_INTENSITY_FLOAT16_APPLE        0x881D
5618 #define GL_LUMINANCE_FLOAT16_APPLE        0x881E
5619 #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE  0x881F
5620 #define GL_COLOR_FLOAT_APPLE              0x8A0F
5621 #endif
5622 
5623 #ifndef GL_APPLE_vertex_program_evaluators
5624 #define GL_VERTEX_ATTRIB_MAP1_APPLE       0x8A00
5625 #define GL_VERTEX_ATTRIB_MAP2_APPLE       0x8A01
5626 #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE  0x8A02
5627 #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
5628 #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
5629 #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
5630 #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE  0x8A06
5631 #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
5632 #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
5633 #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
5634 #endif
5635 
5636 #ifndef GL_APPLE_aux_depth_stencil
5637 #define GL_AUX_DEPTH_STENCIL_APPLE        0x8A14
5638 #endif
5639 
5640 #ifndef GL_APPLE_object_purgeable
5641 #define GL_BUFFER_OBJECT_APPLE            0x85B3
5642 #define GL_RELEASED_APPLE                 0x8A19
5643 #define GL_VOLATILE_APPLE                 0x8A1A
5644 #define GL_RETAINED_APPLE                 0x8A1B
5645 #define GL_UNDEFINED_APPLE                0x8A1C
5646 #define GL_PURGEABLE_APPLE                0x8A1D
5647 #endif
5648 
5649 #ifndef GL_APPLE_row_bytes
5650 #define GL_PACK_ROW_BYTES_APPLE           0x8A15
5651 #define GL_UNPACK_ROW_BYTES_APPLE         0x8A16
5652 #endif
5653 
5654 #ifndef GL_APPLE_rgb_422
5655 #define GL_RGB_422_APPLE                  0x8A1F
5656 /* reuse GL_UNSIGNED_SHORT_8_8_APPLE */
5657 /* reuse GL_UNSIGNED_SHORT_8_8_REV_APPLE */
5658 #endif
5659 
5660 #ifndef GL_NV_video_capture
5661 #define GL_VIDEO_BUFFER_NV                0x9020
5662 #define GL_VIDEO_BUFFER_BINDING_NV        0x9021
5663 #define GL_FIELD_UPPER_NV                 0x9022
5664 #define GL_FIELD_LOWER_NV                 0x9023
5665 #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV   0x9024
5666 #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
5667 #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
5668 #define GL_LAST_VIDEO_CAPTURE_STATUS_NV   0x9027
5669 #define GL_VIDEO_BUFFER_PITCH_NV          0x9028
5670 #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
5671 #define GL_VIDEO_COLOR_CONVERSION_MAX_NV  0x902A
5672 #define GL_VIDEO_COLOR_CONVERSION_MIN_NV  0x902B
5673 #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
5674 #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
5675 #define GL_PARTIAL_SUCCESS_NV             0x902E
5676 #define GL_SUCCESS_NV                     0x902F
5677 #define GL_FAILURE_NV                     0x9030
5678 #define GL_YCBYCR8_422_NV                 0x9031
5679 #define GL_YCBAYCR8A_4224_NV              0x9032
5680 #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV  0x9033
5681 #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
5682 #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV  0x9035
5683 #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
5684 #define GL_Z4Y12Z4CB12Z4CR12_444_NV       0x9037
5685 #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV   0x9038
5686 #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV  0x9039
5687 #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
5688 #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
5689 #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
5690 #endif
5691 
5692 #ifndef GL_NV_copy_image
5693 #endif
5694 
5695 #ifndef GL_EXT_separate_shader_objects
5696 #define GL_ACTIVE_PROGRAM_EXT             0x8B8D
5697 #endif
5698 
5699 #ifndef GL_NV_parameter_buffer_object2
5700 #endif
5701 
5702 #ifndef GL_NV_shader_buffer_load
5703 #define GL_BUFFER_GPU_ADDRESS_NV          0x8F1D
5704 #define GL_GPU_ADDRESS_NV                 0x8F34
5705 #define GL_MAX_SHADER_BUFFER_ADDRESS_NV   0x8F35
5706 #endif
5707 
5708 #ifndef GL_NV_vertex_buffer_unified_memory
5709 #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
5710 #define GL_ELEMENT_ARRAY_UNIFIED_NV       0x8F1F
5711 #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
5712 #define GL_VERTEX_ARRAY_ADDRESS_NV        0x8F21
5713 #define GL_NORMAL_ARRAY_ADDRESS_NV        0x8F22
5714 #define GL_COLOR_ARRAY_ADDRESS_NV         0x8F23
5715 #define GL_INDEX_ARRAY_ADDRESS_NV         0x8F24
5716 #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
5717 #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV     0x8F26
5718 #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
5719 #define GL_FOG_COORD_ARRAY_ADDRESS_NV     0x8F28
5720 #define GL_ELEMENT_ARRAY_ADDRESS_NV       0x8F29
5721 #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV  0x8F2A
5722 #define GL_VERTEX_ARRAY_LENGTH_NV         0x8F2B
5723 #define GL_NORMAL_ARRAY_LENGTH_NV         0x8F2C
5724 #define GL_COLOR_ARRAY_LENGTH_NV          0x8F2D
5725 #define GL_INDEX_ARRAY_LENGTH_NV          0x8F2E
5726 #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV  0x8F2F
5727 #define GL_EDGE_FLAG_ARRAY_LENGTH_NV      0x8F30
5728 #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
5729 #define GL_FOG_COORD_ARRAY_LENGTH_NV      0x8F32
5730 #define GL_ELEMENT_ARRAY_LENGTH_NV        0x8F33
5731 #define GL_DRAW_INDIRECT_UNIFIED_NV       0x8F40
5732 #define GL_DRAW_INDIRECT_ADDRESS_NV       0x8F41
5733 #define GL_DRAW_INDIRECT_LENGTH_NV        0x8F42
5734 #endif
5735 
5736 #ifndef GL_NV_texture_barrier
5737 #endif
5738 
5739 #ifndef GL_AMD_shader_stencil_export
5740 #endif
5741 
5742 #ifndef GL_AMD_seamless_cubemap_per_texture
5743 /* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
5744 #endif
5745 
5746 #ifndef GL_AMD_conservative_depth
5747 #endif
5748 
5749 #ifndef GL_EXT_shader_image_load_store
5750 #define GL_MAX_IMAGE_UNITS_EXT            0x8F38
5751 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
5752 #define GL_IMAGE_BINDING_NAME_EXT         0x8F3A
5753 #define GL_IMAGE_BINDING_LEVEL_EXT        0x8F3B
5754 #define GL_IMAGE_BINDING_LAYERED_EXT      0x8F3C
5755 #define GL_IMAGE_BINDING_LAYER_EXT        0x8F3D
5756 #define GL_IMAGE_BINDING_ACCESS_EXT       0x8F3E
5757 #define GL_IMAGE_1D_EXT                   0x904C
5758 #define GL_IMAGE_2D_EXT                   0x904D
5759 #define GL_IMAGE_3D_EXT                   0x904E
5760 #define GL_IMAGE_2D_RECT_EXT              0x904F
5761 #define GL_IMAGE_CUBE_EXT                 0x9050
5762 #define GL_IMAGE_BUFFER_EXT               0x9051
5763 #define GL_IMAGE_1D_ARRAY_EXT             0x9052
5764 #define GL_IMAGE_2D_ARRAY_EXT             0x9053
5765 #define GL_IMAGE_CUBE_MAP_ARRAY_EXT       0x9054
5766 #define GL_IMAGE_2D_MULTISAMPLE_EXT       0x9055
5767 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
5768 #define GL_INT_IMAGE_1D_EXT               0x9057
5769 #define GL_INT_IMAGE_2D_EXT               0x9058
5770 #define GL_INT_IMAGE_3D_EXT               0x9059
5771 #define GL_INT_IMAGE_2D_RECT_EXT          0x905A
5772 #define GL_INT_IMAGE_CUBE_EXT             0x905B
5773 #define GL_INT_IMAGE_BUFFER_EXT           0x905C
5774 #define GL_INT_IMAGE_1D_ARRAY_EXT         0x905D
5775 #define GL_INT_IMAGE_2D_ARRAY_EXT         0x905E
5776 #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT   0x905F
5777 #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT   0x9060
5778 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
5779 #define GL_UNSIGNED_INT_IMAGE_1D_EXT      0x9062
5780 #define GL_UNSIGNED_INT_IMAGE_2D_EXT      0x9063
5781 #define GL_UNSIGNED_INT_IMAGE_3D_EXT      0x9064
5782 #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
5783 #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT    0x9066
5784 #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT  0x9067
5785 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
5786 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
5787 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
5788 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
5789 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
5790 #define GL_MAX_IMAGE_SAMPLES_EXT          0x906D
5791 #define GL_IMAGE_BINDING_FORMAT_EXT       0x906E
5792 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
5793 #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT  0x00000002
5794 #define GL_UNIFORM_BARRIER_BIT_EXT        0x00000004
5795 #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT  0x00000008
5796 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
5797 #define GL_COMMAND_BARRIER_BIT_EXT        0x00000040
5798 #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT   0x00000080
5799 #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
5800 #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT  0x00000200
5801 #define GL_FRAMEBUFFER_BARRIER_BIT_EXT    0x00000400
5802 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
5803 #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
5804 #define GL_ALL_BARRIER_BITS_EXT           0xFFFFFFFF
5805 #endif
5806 
5807 #ifndef GL_EXT_vertex_attrib_64bit
5808 /* reuse GL_DOUBLE */
5809 #define GL_DOUBLE_VEC2_EXT                0x8FFC
5810 #define GL_DOUBLE_VEC3_EXT                0x8FFD
5811 #define GL_DOUBLE_VEC4_EXT                0x8FFE
5812 #define GL_DOUBLE_MAT2_EXT                0x8F46
5813 #define GL_DOUBLE_MAT3_EXT                0x8F47
5814 #define GL_DOUBLE_MAT4_EXT                0x8F48
5815 #define GL_DOUBLE_MAT2x3_EXT              0x8F49
5816 #define GL_DOUBLE_MAT2x4_EXT              0x8F4A
5817 #define GL_DOUBLE_MAT3x2_EXT              0x8F4B
5818 #define GL_DOUBLE_MAT3x4_EXT              0x8F4C
5819 #define GL_DOUBLE_MAT4x2_EXT              0x8F4D
5820 #define GL_DOUBLE_MAT4x3_EXT              0x8F4E
5821 #endif
5822 
5823 #ifndef GL_NV_gpu_program5
5824 #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
5825 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
5826 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
5827 #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
5828 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
5829 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
5830 #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
5831 #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV  0x8F45
5832 #endif
5833 
5834 #ifndef GL_NV_gpu_shader5
5835 #define GL_INT64_NV                       0x140E
5836 #define GL_UNSIGNED_INT64_NV              0x140F
5837 #define GL_INT8_NV                        0x8FE0
5838 #define GL_INT8_VEC2_NV                   0x8FE1
5839 #define GL_INT8_VEC3_NV                   0x8FE2
5840 #define GL_INT8_VEC4_NV                   0x8FE3
5841 #define GL_INT16_NV                       0x8FE4
5842 #define GL_INT16_VEC2_NV                  0x8FE5
5843 #define GL_INT16_VEC3_NV                  0x8FE6
5844 #define GL_INT16_VEC4_NV                  0x8FE7
5845 #define GL_INT64_VEC2_NV                  0x8FE9
5846 #define GL_INT64_VEC3_NV                  0x8FEA
5847 #define GL_INT64_VEC4_NV                  0x8FEB
5848 #define GL_UNSIGNED_INT8_NV               0x8FEC
5849 #define GL_UNSIGNED_INT8_VEC2_NV          0x8FED
5850 #define GL_UNSIGNED_INT8_VEC3_NV          0x8FEE
5851 #define GL_UNSIGNED_INT8_VEC4_NV          0x8FEF
5852 #define GL_UNSIGNED_INT16_NV              0x8FF0
5853 #define GL_UNSIGNED_INT16_VEC2_NV         0x8FF1
5854 #define GL_UNSIGNED_INT16_VEC3_NV         0x8FF2
5855 #define GL_UNSIGNED_INT16_VEC4_NV         0x8FF3
5856 #define GL_UNSIGNED_INT64_VEC2_NV         0x8FF5
5857 #define GL_UNSIGNED_INT64_VEC3_NV         0x8FF6
5858 #define GL_UNSIGNED_INT64_VEC4_NV         0x8FF7
5859 #define GL_FLOAT16_NV                     0x8FF8
5860 #define GL_FLOAT16_VEC2_NV                0x8FF9
5861 #define GL_FLOAT16_VEC3_NV                0x8FFA
5862 #define GL_FLOAT16_VEC4_NV                0x8FFB
5863 /* reuse GL_PATCHES */
5864 #endif
5865 
5866 #ifndef GL_NV_shader_buffer_store
5867 #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
5868 /* reuse GL_READ_WRITE */
5869 /* reuse GL_WRITE_ONLY */
5870 #endif
5871 
5872 #ifndef GL_NV_tessellation_program5
5873 #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV   0x86D8
5874 #define GL_TESS_CONTROL_PROGRAM_NV        0x891E
5875 #define GL_TESS_EVALUATION_PROGRAM_NV     0x891F
5876 #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
5877 #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
5878 #endif
5879 
5880 #ifndef GL_NV_vertex_attrib_integer_64bit
5881 /* reuse GL_INT64_NV */
5882 /* reuse GL_UNSIGNED_INT64_NV */
5883 #endif
5884 
5885 #ifndef GL_NV_multisample_coverage
5886 #define GL_COVERAGE_SAMPLES_NV            0x80A9
5887 #define GL_COLOR_SAMPLES_NV               0x8E20
5888 #endif
5889 
5890 #ifndef GL_AMD_name_gen_delete
5891 #define GL_DATA_BUFFER_AMD                0x9151
5892 #define GL_PERFORMANCE_MONITOR_AMD        0x9152
5893 #define GL_QUERY_OBJECT_AMD               0x9153
5894 #define GL_VERTEX_ARRAY_OBJECT_AMD        0x9154
5895 #define GL_SAMPLER_OBJECT_AMD             0x9155
5896 #endif
5897 
5898 #ifndef GL_AMD_debug_output
5899 #define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD   0x9143
5900 #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD  0x9144
5901 #define GL_DEBUG_LOGGED_MESSAGES_AMD      0x9145
5902 #define GL_DEBUG_SEVERITY_HIGH_AMD        0x9146
5903 #define GL_DEBUG_SEVERITY_MEDIUM_AMD      0x9147
5904 #define GL_DEBUG_SEVERITY_LOW_AMD         0x9148
5905 #define GL_DEBUG_CATEGORY_API_ERROR_AMD   0x9149
5906 #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
5907 #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
5908 #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
5909 #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
5910 #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
5911 #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
5912 #define GL_DEBUG_CATEGORY_OTHER_AMD       0x9150
5913 #endif
5914 
5915 #ifndef GL_NV_vdpau_interop
5916 #define GL_SURFACE_STATE_NV               0x86EB
5917 #define GL_SURFACE_REGISTERED_NV          0x86FD
5918 #define GL_SURFACE_MAPPED_NV              0x8700
5919 #define GL_WRITE_DISCARD_NV               0x88BE
5920 #endif
5921 
5922 #ifndef GL_AMD_transform_feedback3_lines_triangles
5923 #endif
5924 
5925 #ifndef GL_AMD_depth_clamp_separate
5926 #define GL_DEPTH_CLAMP_NEAR_AMD           0x901E
5927 #define GL_DEPTH_CLAMP_FAR_AMD            0x901F
5928 #endif
5929 
5930 #ifndef GL_EXT_texture_sRGB_decode
5931 #define GL_TEXTURE_SRGB_DECODE_EXT        0x8A48
5932 #define GL_DECODE_EXT                     0x8A49
5933 #define GL_SKIP_DECODE_EXT                0x8A4A
5934 #endif
5935 
5936 #ifndef GL_NV_texture_multisample
5937 #define GL_TEXTURE_COVERAGE_SAMPLES_NV    0x9045
5938 #define GL_TEXTURE_COLOR_SAMPLES_NV       0x9046
5939 #endif
5940 
5941 #ifndef GL_AMD_blend_minmax_factor
5942 #define GL_FACTOR_MIN_AMD                 0x901C
5943 #define GL_FACTOR_MAX_AMD                 0x901D
5944 #endif
5945 
5946 #ifndef GL_AMD_sample_positions
5947 #define GL_SUBSAMPLE_DISTANCE_AMD         0x883F
5948 #endif
5949 
5950 #ifndef GL_EXT_x11_sync_object
5951 #define GL_SYNC_X11_FENCE_EXT             0x90E1
5952 #endif
5953 
5954 #ifndef GL_AMD_multi_draw_indirect
5955 #endif
5956 
5957 #ifndef GL_EXT_framebuffer_multisample_blit_scaled
5958 #define GL_SCALED_RESOLVE_FASTEST_EXT     0x90BA
5959 #define GL_SCALED_RESOLVE_NICEST_EXT      0x90BB
5960 #endif
5961 
5962 #ifndef GL_NV_path_rendering
5963 #define GL_PATH_FORMAT_SVG_NV             0x9070
5964 #define GL_PATH_FORMAT_PS_NV              0x9071
5965 #define GL_STANDARD_FONT_NAME_NV          0x9072
5966 #define GL_SYSTEM_FONT_NAME_NV            0x9073
5967 #define GL_FILE_NAME_NV                   0x9074
5968 #define GL_PATH_STROKE_WIDTH_NV           0x9075
5969 #define GL_PATH_END_CAPS_NV               0x9076
5970 #define GL_PATH_INITIAL_END_CAP_NV        0x9077
5971 #define GL_PATH_TERMINAL_END_CAP_NV       0x9078
5972 #define GL_PATH_JOIN_STYLE_NV             0x9079
5973 #define GL_PATH_MITER_LIMIT_NV            0x907A
5974 #define GL_PATH_DASH_CAPS_NV              0x907B
5975 #define GL_PATH_INITIAL_DASH_CAP_NV       0x907C
5976 #define GL_PATH_TERMINAL_DASH_CAP_NV      0x907D
5977 #define GL_PATH_DASH_OFFSET_NV            0x907E
5978 #define GL_PATH_CLIENT_LENGTH_NV          0x907F
5979 #define GL_PATH_FILL_MODE_NV              0x9080
5980 #define GL_PATH_FILL_MASK_NV              0x9081
5981 #define GL_PATH_FILL_COVER_MODE_NV        0x9082
5982 #define GL_PATH_STROKE_COVER_MODE_NV      0x9083
5983 #define GL_PATH_STROKE_MASK_NV            0x9084
5984 #define GL_PATH_SAMPLE_QUALITY_NV         0x9085
5985 #define GL_PATH_STROKE_BOUND_NV           0x9086
5986 #define GL_PATH_STROKE_OVERSAMPLE_COUNT_NV 0x9087
5987 #define GL_COUNT_UP_NV                    0x9088
5988 #define GL_COUNT_DOWN_NV                  0x9089
5989 #define GL_PATH_OBJECT_BOUNDING_BOX_NV    0x908A
5990 #define GL_CONVEX_HULL_NV                 0x908B
5991 #define GL_MULTI_HULLS_NV                 0x908C
5992 #define GL_BOUNDING_BOX_NV                0x908D
5993 #define GL_TRANSLATE_X_NV                 0x908E
5994 #define GL_TRANSLATE_Y_NV                 0x908F
5995 #define GL_TRANSLATE_2D_NV                0x9090
5996 #define GL_TRANSLATE_3D_NV                0x9091
5997 #define GL_AFFINE_2D_NV                   0x9092
5998 #define GL_PROJECTIVE_2D_NV               0x9093
5999 #define GL_AFFINE_3D_NV                   0x9094
6000 #define GL_PROJECTIVE_3D_NV               0x9095
6001 #define GL_TRANSPOSE_AFFINE_2D_NV         0x9096
6002 #define GL_TRANSPOSE_PROJECTIVE_2D_NV     0x9097
6003 #define GL_TRANSPOSE_AFFINE_3D_NV         0x9098
6004 #define GL_TRANSPOSE_PROJECTIVE_3D_NV     0x9099
6005 #define GL_UTF8_NV                        0x909A
6006 #define GL_UTF16_NV                       0x909B
6007 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
6008 #define GL_PATH_COMMAND_COUNT_NV          0x909D
6009 #define GL_PATH_COORD_COUNT_NV            0x909E
6010 #define GL_PATH_DASH_ARRAY_COUNT_NV       0x909F
6011 #define GL_PATH_COMPUTED_LENGTH_NV        0x90A0
6012 #define GL_PATH_FILL_BOUNDING_BOX_NV      0x90A1
6013 #define GL_PATH_STROKE_BOUNDING_BOX_NV    0x90A2
6014 #define GL_SQUARE_NV                      0x90A3
6015 #define GL_ROUND_NV                       0x90A4
6016 #define GL_TRIANGULAR_NV                  0x90A5
6017 #define GL_BEVEL_NV                       0x90A6
6018 #define GL_MITER_REVERT_NV                0x90A7
6019 #define GL_MITER_TRUNCATE_NV              0x90A8
6020 #define GL_SKIP_MISSING_GLYPH_NV          0x90A9
6021 #define GL_USE_MISSING_GLYPH_NV           0x90AA
6022 #define GL_PATH_ERROR_POSITION_NV         0x90AB
6023 #define GL_PATH_FOG_GEN_MODE_NV           0x90AC
6024 #define GL_ACCUM_ADJACENT_PAIRS_NV        0x90AD
6025 #define GL_ADJACENT_PAIRS_NV              0x90AE
6026 #define GL_FIRST_TO_REST_NV               0x90AF
6027 #define GL_PATH_GEN_MODE_NV               0x90B0
6028 #define GL_PATH_GEN_COEFF_NV              0x90B1
6029 #define GL_PATH_GEN_COLOR_FORMAT_NV       0x90B2
6030 #define GL_PATH_GEN_COMPONENTS_NV         0x90B3
6031 #define GL_PATH_STENCIL_FUNC_NV           0x90B7
6032 #define GL_PATH_STENCIL_REF_NV            0x90B8
6033 #define GL_PATH_STENCIL_VALUE_MASK_NV     0x90B9
6034 #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
6035 #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
6036 #define GL_PATH_COVER_DEPTH_FUNC_NV       0x90BF
6037 #define GL_PATH_DASH_OFFSET_RESET_NV      0x90B4
6038 #define GL_MOVE_TO_RESETS_NV              0x90B5
6039 #define GL_MOVE_TO_CONTINUES_NV           0x90B6
6040 #define GL_CLOSE_PATH_NV                  0x00
6041 #define GL_MOVE_TO_NV                     0x02
6042 #define GL_RELATIVE_MOVE_TO_NV            0x03
6043 #define GL_LINE_TO_NV                     0x04
6044 #define GL_RELATIVE_LINE_TO_NV            0x05
6045 #define GL_HORIZONTAL_LINE_TO_NV          0x06
6046 #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
6047 #define GL_VERTICAL_LINE_TO_NV            0x08
6048 #define GL_RELATIVE_VERTICAL_LINE_TO_NV   0x09
6049 #define GL_QUADRATIC_CURVE_TO_NV          0x0A
6050 #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
6051 #define GL_CUBIC_CURVE_TO_NV              0x0C
6052 #define GL_RELATIVE_CUBIC_CURVE_TO_NV     0x0D
6053 #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV   0x0E
6054 #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
6055 #define GL_SMOOTH_CUBIC_CURVE_TO_NV       0x10
6056 #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
6057 #define GL_SMALL_CCW_ARC_TO_NV            0x12
6058 #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV   0x13
6059 #define GL_SMALL_CW_ARC_TO_NV             0x14
6060 #define GL_RELATIVE_SMALL_CW_ARC_TO_NV    0x15
6061 #define GL_LARGE_CCW_ARC_TO_NV            0x16
6062 #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV   0x17
6063 #define GL_LARGE_CW_ARC_TO_NV             0x18
6064 #define GL_RELATIVE_LARGE_CW_ARC_TO_NV    0x19
6065 #define GL_RESTART_PATH_NV                0xF0
6066 #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV    0xF2
6067 #define GL_DUP_LAST_CUBIC_CURVE_TO_NV     0xF4
6068 #define GL_RECT_NV                        0xF6
6069 #define GL_CIRCULAR_CCW_ARC_TO_NV         0xF8
6070 #define GL_CIRCULAR_CW_ARC_TO_NV          0xFA
6071 #define GL_CIRCULAR_TANGENT_ARC_TO_NV     0xFC
6072 #define GL_ARC_TO_NV                      0xFE
6073 #define GL_RELATIVE_ARC_TO_NV             0xFF
6074 #define GL_BOLD_BIT_NV                    0x01
6075 #define GL_ITALIC_BIT_NV                  0x02
6076 #define GL_GLYPH_WIDTH_BIT_NV             0x01
6077 #define GL_GLYPH_HEIGHT_BIT_NV            0x02
6078 #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
6079 #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
6080 #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
6081 #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
6082 #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
6083 #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
6084 #define GL_GLYPH_HAS_KERNING_NV           0x100
6085 #define GL_FONT_X_MIN_BOUNDS_NV           0x00010000
6086 #define GL_FONT_Y_MIN_BOUNDS_NV           0x00020000
6087 #define GL_FONT_X_MAX_BOUNDS_NV           0x00040000
6088 #define GL_FONT_Y_MAX_BOUNDS_NV           0x00080000
6089 #define GL_FONT_UNITS_PER_EM_NV           0x00100000
6090 #define GL_FONT_ASCENDER_NV               0x00200000
6091 #define GL_FONT_DESCENDER_NV              0x00400000
6092 #define GL_FONT_HEIGHT_NV                 0x00800000
6093 #define GL_FONT_MAX_ADVANCE_WIDTH_NV      0x01000000
6094 #define GL_FONT_MAX_ADVANCE_HEIGHT_NV     0x02000000
6095 #define GL_FONT_UNDERLINE_POSITION_NV     0x04000000
6096 #define GL_FONT_UNDERLINE_THICKNESS_NV    0x08000000
6097 #define GL_FONT_HAS_KERNING_NV            0x10000000
6098 #endif
6099 
6100 #ifndef GL_AMD_pinned_memory
6101 #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
6102 #endif
6103 
6104 #ifndef GL_AMD_stencil_operation_extended
6105 #define GL_SET_AMD                        0x874A
6106 #define GL_REPLACE_VALUE_AMD              0x874B
6107 #define GL_STENCIL_OP_VALUE_AMD           0x874C
6108 #define GL_STENCIL_BACK_OP_VALUE_AMD      0x874D
6109 #endif
6110 
6111 #ifndef GL_AMD_vertex_shader_viewport_index
6112 #endif
6113 
6114 #ifndef GL_AMD_vertex_shader_layer
6115 #endif
6116 
6117 #ifndef GL_NV_bindless_texture
6118 #endif
6119 
6120 #ifndef GL_NV_shader_atomic_float
6121 #endif
6122 
6123 #ifndef GL_AMD_query_buffer_object
6124 #define GL_QUERY_BUFFER_AMD               0x9192
6125 #define GL_QUERY_BUFFER_BINDING_AMD       0x9193
6126 #define GL_QUERY_RESULT_NO_WAIT_AMD       0x9194
6127 #endif
6128 
6129 #ifndef GL_AMD_sparse_texture
6130 #define GL_VIRTUAL_PAGE_SIZE_X_AMD        0x9195
6131 #define GL_VIRTUAL_PAGE_SIZE_Y_AMD        0x9196
6132 #define GL_VIRTUAL_PAGE_SIZE_Z_AMD        0x9197
6133 #define GL_MAX_SPARSE_TEXTURE_SIZE_AMD    0x9198
6134 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
6135 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
6136 #define GL_MIN_SPARSE_LEVEL_AMD           0x919B
6137 #define GL_MIN_LOD_WARNING_AMD            0x919C
6138 #define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
6139 #endif
6140 
6141 
6142 /*************************************************************/
6143 
6144 #include <stddef.h>
6145 #ifndef GL_VERSION_2_0
6146 /* GL type for program/shader text */
6147 typedef char GLchar;
6148 #endif
6149 
6150 #ifndef GL_VERSION_1_5
6151 /* GL types for handling large vertex buffer objects */
6152 typedef ptrdiff_t GLintptr;
6153 typedef ptrdiff_t GLsizeiptr;
6154 #endif
6155 
6156 #ifndef GL_ARB_vertex_buffer_object
6157 /* GL types for handling large vertex buffer objects */
6158 typedef ptrdiff_t GLintptrARB;
6159 typedef ptrdiff_t GLsizeiptrARB;
6160 #endif
6161 
6162 #ifndef GL_ARB_shader_objects
6163 /* GL types for program/shader text and shader object handles */
6164 typedef char GLcharARB;
6165 typedef unsigned int GLhandleARB;
6166 #endif
6167 
6168 /* GL type for "half" precision (s10e5) float data in host memory */
6169 #ifndef GL_ARB_half_float_pixel
6170 typedef unsigned short GLhalfARB;
6171 #endif
6172 
6173 #ifndef GL_NV_half_float
6174 typedef unsigned short GLhalfNV;
6175 #endif
6176 
6177 #ifndef GLEXT_64_TYPES_DEFINED
6178 /* This code block is duplicated in glxext.h, so must be protected */
6179 #define GLEXT_64_TYPES_DEFINED
6180 /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
6181 /* (as used in the GL_EXT_timer_query extension). */
6182 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
6183 #include <inttypes.h>
6184 #elif defined(__sun__) || defined(__digital__)
6185 #include <inttypes.h>
6186 #if defined(__STDC__)
6187 #if defined(__arch64__) || defined(_LP64)
6188 typedef long int int64_t;
6189 typedef unsigned long int uint64_t;
6190 #else
6191 typedef long long int int64_t;
6192 typedef unsigned long long int uint64_t;
6193 #endif /* __arch64__ */
6194 #endif /* __STDC__ */
6195 #elif defined( __VMS ) || defined(__sgi)
6196 #include <inttypes.h>
6197 #elif defined(__SCO__) || defined(__USLC__)
6198 #include <stdint.h>
6199 #elif defined(__UNIXOS2__) || defined(__SOL64__)
6200 typedef long int int32_t;
6201 typedef long long int int64_t;
6202 typedef unsigned long long int uint64_t;
6203 #elif defined(_WIN32) && defined(__GNUC__)
6204 #include <stdint.h>
6205 #elif defined(_WIN32)
6206 typedef __int32 int32_t;
6207 typedef __int64 int64_t;
6208 typedef unsigned __int64 uint64_t;
6209 #else
6210 /* Fallback if nothing above works */
6211 #include <inttypes.h>
6212 #endif
6213 #endif
6214 
6215 #ifndef GL_EXT_timer_query
6216 typedef int64_t GLint64EXT;
6217 typedef uint64_t GLuint64EXT;
6218 #endif
6219 
6220 #ifndef GL_ARB_sync
6221 typedef int64_t GLint64;
6222 typedef uint64_t GLuint64;
6223 typedef struct __GLsync *GLsync;
6224 #endif
6225 
6226 #ifndef GL_ARB_cl_event
6227 /* These incomplete types let us declare types compatible with OpenCL's cl_context and cl_event */
6228 struct _cl_context;
6229 struct _cl_event;
6230 #endif
6231 
6232 #ifndef GL_ARB_debug_output
6233 typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam);
6234 #endif
6235 
6236 #ifndef GL_AMD_debug_output
6237 typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam);
6238 #endif
6239 
6240 #ifndef GL_KHR_debug
6241 typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam);
6242 #endif
6243 
6244 #ifndef GL_NV_vdpau_interop
6245 typedef GLintptr GLvdpauSurfaceNV;
6246 #endif
6247 
6248 #ifndef GL_VERSION_1_2
6249 #define GL_VERSION_1_2 1
6250 #ifdef GL_GLEXT_PROTOTYPES
6251 GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
6252 GLAPI void APIENTRY glBlendEquation (GLenum mode);
6253 GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
6254 GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
6255 GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
6256 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6257 GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
6258 GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
6259 GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
6260 GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6261 GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, GLvoid *table);
6262 GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
6263 GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
6264 GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
6265 GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
6266 GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
6267 GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
6268 GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
6269 GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
6270 GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
6271 GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
6272 GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6273 GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
6274 GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, GLvoid *image);
6275 GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
6276 GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
6277 GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
6278 GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
6279 GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
6280 GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
6281 GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
6282 GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
6283 GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
6284 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
6285 GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
6286 GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
6287 GLAPI void APIENTRY glResetHistogram (GLenum target);
6288 GLAPI void APIENTRY glResetMinmax (GLenum target);
6289 #endif /* GL_GLEXT_PROTOTYPES */
6290 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
6291 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
6292 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
6293 typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
6294 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
6295 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
6296 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
6297 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
6298 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
6299 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6300 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
6301 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
6302 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
6303 typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
6304 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
6305 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
6306 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
6307 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
6308 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
6309 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
6310 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
6311 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
6312 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
6313 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
6314 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
6315 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
6316 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
6317 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
6318 typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
6319 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
6320 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
6321 typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
6322 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
6323 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
6324 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
6325 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
6326 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
6327 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
6328 #endif
6329 
6330 #ifndef GL_VERSION_1_3
6331 #define GL_VERSION_1_3 1
6332 #ifdef GL_GLEXT_PROTOTYPES
6333 GLAPI void APIENTRY glActiveTexture (GLenum texture);
6334 GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
6335 GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
6336 GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
6337 GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
6338 GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
6339 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
6340 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
6341 GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, GLvoid *img);
6342 GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
6343 GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
6344 GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
6345 GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
6346 GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
6347 GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
6348 GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
6349 GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
6350 GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
6351 GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
6352 GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
6353 GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
6354 GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
6355 GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
6356 GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
6357 GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
6358 GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
6359 GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
6360 GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
6361 GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
6362 GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
6363 GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
6364 GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
6365 GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
6366 GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
6367 GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
6368 GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
6369 GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
6370 GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
6371 GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
6372 GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
6373 GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
6374 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
6375 GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
6376 GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
6377 GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
6378 GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
6379 #endif /* GL_GLEXT_PROTOTYPES */
6380 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
6381 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
6382 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
6383 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
6384 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
6385 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
6386 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
6387 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
6388 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img);
6389 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
6390 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
6391 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
6392 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
6393 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
6394 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
6395 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
6396 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
6397 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
6398 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
6399 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
6400 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
6401 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
6402 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
6403 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
6404 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
6405 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
6406 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
6407 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
6408 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
6409 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
6410 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
6411 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
6412 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
6413 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
6414 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
6415 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
6416 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
6417 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
6418 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
6419 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
6420 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
6421 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
6422 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
6423 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
6424 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
6425 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
6426 #endif
6427 
6428 #ifndef GL_VERSION_1_4
6429 #define GL_VERSION_1_4 1
6430 #ifdef GL_GLEXT_PROTOTYPES
6431 GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
6432 GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
6433 GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
6434 GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
6435 GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
6436 GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
6437 GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
6438 GLAPI void APIENTRY glFogCoordf (GLfloat coord);
6439 GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
6440 GLAPI void APIENTRY glFogCoordd (GLdouble coord);
6441 GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
6442 GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
6443 GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
6444 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
6445 GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
6446 GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
6447 GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
6448 GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
6449 GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
6450 GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
6451 GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
6452 GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
6453 GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
6454 GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
6455 GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
6456 GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
6457 GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
6458 GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
6459 GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
6460 GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
6461 GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
6462 GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
6463 GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
6464 GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
6465 GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
6466 GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
6467 GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
6468 GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
6469 GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
6470 GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
6471 GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
6472 GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
6473 GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
6474 GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
6475 GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
6476 #endif /* GL_GLEXT_PROTOTYPES */
6477 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
6478 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
6479 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
6480 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
6481 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
6482 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
6483 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
6484 typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
6485 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
6486 typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
6487 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
6488 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
6489 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
6490 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
6491 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
6492 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
6493 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
6494 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
6495 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
6496 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
6497 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
6498 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
6499 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
6500 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
6501 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
6502 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
6503 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
6504 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
6505 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
6506 typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
6507 typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
6508 typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
6509 typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
6510 typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
6511 typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
6512 typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
6513 typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
6514 typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
6515 typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
6516 typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
6517 typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
6518 typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
6519 typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
6520 typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
6521 typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
6522 #endif
6523 
6524 #ifndef GL_VERSION_1_5
6525 #define GL_VERSION_1_5 1
6526 #ifdef GL_GLEXT_PROTOTYPES
6527 GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
6528 GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
6529 GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
6530 GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
6531 GLAPI void APIENTRY glEndQuery (GLenum target);
6532 GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
6533 GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
6534 GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
6535 GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
6536 GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
6537 GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
6538 GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
6539 GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
6540 GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
6541 GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
6542 GLAPI GLvoid* APIENTRY glMapBuffer (GLenum target, GLenum access);
6543 GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
6544 GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
6545 GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, GLvoid* *params);
6546 #endif /* GL_GLEXT_PROTOTYPES */
6547 typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
6548 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
6549 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
6550 typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
6551 typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
6552 typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
6553 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
6554 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
6555 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
6556 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
6557 typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
6558 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
6559 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
6560 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
6561 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
6562 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
6563 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
6564 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
6565 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
6566 #endif
6567 
6568 #ifndef GL_VERSION_2_0
6569 #define GL_VERSION_2_0 1
6570 #ifdef GL_GLEXT_PROTOTYPES
6571 GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
6572 GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
6573 GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
6574 GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
6575 GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
6576 GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
6577 GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
6578 GLAPI void APIENTRY glCompileShader (GLuint shader);
6579 GLAPI GLuint APIENTRY glCreateProgram (void);
6580 GLAPI GLuint APIENTRY glCreateShader (GLenum type);
6581 GLAPI void APIENTRY glDeleteProgram (GLuint program);
6582 GLAPI void APIENTRY glDeleteShader (GLuint shader);
6583 GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
6584 GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
6585 GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
6586 GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
6587 GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
6588 GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
6589 GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
6590 GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
6591 GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
6592 GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
6593 GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
6594 GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
6595 GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
6596 GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
6597 GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
6598 GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
6599 GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
6600 GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
6601 GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid* *pointer);
6602 GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
6603 GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
6604 GLAPI void APIENTRY glLinkProgram (GLuint program);
6605 GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length);
6606 GLAPI void APIENTRY glUseProgram (GLuint program);
6607 GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
6608 GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
6609 GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
6610 GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
6611 GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
6612 GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
6613 GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
6614 GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
6615 GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
6616 GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
6617 GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
6618 GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
6619 GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
6620 GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
6621 GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
6622 GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
6623 GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6624 GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6625 GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6626 GLAPI void APIENTRY glValidateProgram (GLuint program);
6627 GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
6628 GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
6629 GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
6630 GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
6631 GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
6632 GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
6633 GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
6634 GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
6635 GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
6636 GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
6637 GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
6638 GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
6639 GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
6640 GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
6641 GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
6642 GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
6643 GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
6644 GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
6645 GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
6646 GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
6647 GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
6648 GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
6649 GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
6650 GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
6651 GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
6652 GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
6653 GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6654 GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
6655 GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6656 GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
6657 GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
6658 GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
6659 GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
6660 GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
6661 GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
6662 GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
6663 GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
6664 #endif /* GL_GLEXT_PROTOTYPES */
6665 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
6666 typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
6667 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
6668 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
6669 typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
6670 typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
6671 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
6672 typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
6673 typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
6674 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
6675 typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
6676 typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
6677 typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
6678 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
6679 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
6680 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
6681 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
6682 typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
6683 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
6684 typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
6685 typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
6686 typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
6687 typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
6688 typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
6689 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
6690 typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
6691 typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
6692 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
6693 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
6694 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
6695 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
6696 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
6697 typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
6698 typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
6699 typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length);
6700 typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
6701 typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
6702 typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
6703 typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
6704 typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
6705 typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
6706 typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
6707 typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
6708 typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
6709 typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
6710 typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
6711 typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
6712 typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
6713 typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
6714 typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
6715 typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
6716 typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
6717 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6718 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6719 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6720 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
6721 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
6722 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
6723 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
6724 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
6725 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
6726 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
6727 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
6728 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
6729 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
6730 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
6731 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
6732 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
6733 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
6734 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
6735 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
6736 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
6737 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
6738 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
6739 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
6740 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
6741 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
6742 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
6743 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
6744 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
6745 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
6746 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
6747 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6748 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
6749 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6750 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
6751 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
6752 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
6753 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
6754 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
6755 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
6756 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
6757 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
6758 #endif
6759 
6760 #ifndef GL_VERSION_2_1
6761 #define GL_VERSION_2_1 1
6762 #ifdef GL_GLEXT_PROTOTYPES
6763 GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6764 GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6765 GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6766 GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6767 GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6768 GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6769 #endif /* GL_GLEXT_PROTOTYPES */
6770 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6771 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6772 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6773 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6774 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6775 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6776 #endif
6777 
6778 #ifndef GL_VERSION_3_0
6779 #define GL_VERSION_3_0 1
6780 /* OpenGL 3.0 also reuses entry points from these extensions: */
6781 /* ARB_framebuffer_object */
6782 /* ARB_map_buffer_range */
6783 /* ARB_vertex_array_object */
6784 #ifdef GL_GLEXT_PROTOTYPES
6785 GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
6786 GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
6787 GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
6788 GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
6789 GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
6790 GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
6791 GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
6792 GLAPI void APIENTRY glEndTransformFeedback (void);
6793 GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
6794 GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
6795 GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode);
6796 GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
6797 GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
6798 GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
6799 GLAPI void APIENTRY glEndConditionalRender (void);
6800 GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
6801 GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
6802 GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
6803 GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
6804 GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
6805 GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
6806 GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
6807 GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
6808 GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
6809 GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
6810 GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
6811 GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
6812 GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
6813 GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
6814 GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
6815 GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
6816 GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
6817 GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
6818 GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
6819 GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
6820 GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
6821 GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
6822 GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
6823 GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
6824 GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
6825 GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
6826 GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
6827 GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
6828 GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
6829 GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
6830 GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
6831 GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
6832 GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
6833 GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
6834 GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
6835 GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
6836 GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
6837 GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
6838 GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
6839 GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
6840 GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
6841 GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
6842 GLAPI const GLubyte * APIENTRY glGetStringi (GLenum name, GLuint index);
6843 #endif /* GL_GLEXT_PROTOTYPES */
6844 typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
6845 typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
6846 typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
6847 typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
6848 typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
6849 typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
6850 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
6851 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
6852 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
6853 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
6854 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode);
6855 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
6856 typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
6857 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
6858 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
6859 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
6860 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
6861 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
6862 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
6863 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
6864 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
6865 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
6866 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
6867 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
6868 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
6869 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
6870 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
6871 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
6872 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
6873 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
6874 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
6875 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
6876 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
6877 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
6878 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
6879 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
6880 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
6881 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
6882 typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
6883 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
6884 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
6885 typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
6886 typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
6887 typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
6888 typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
6889 typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
6890 typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
6891 typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
6892 typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
6893 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
6894 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
6895 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
6896 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
6897 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
6898 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
6899 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
6900 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
6901 typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
6902 #endif
6903 
6904 #ifndef GL_VERSION_3_1
6905 #define GL_VERSION_3_1 1
6906 /* OpenGL 3.1 also reuses entry points from these extensions: */
6907 /* ARB_copy_buffer */
6908 /* ARB_uniform_buffer_object */
6909 #ifdef GL_GLEXT_PROTOTYPES
6910 GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
6911 GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount);
6912 GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
6913 GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
6914 #endif /* GL_GLEXT_PROTOTYPES */
6915 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
6916 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount);
6917 typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
6918 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
6919 #endif
6920 
6921 #ifndef GL_VERSION_3_2
6922 #define GL_VERSION_3_2 1
6923 /* OpenGL 3.2 also reuses entry points from these extensions: */
6924 /* ARB_draw_elements_base_vertex */
6925 /* ARB_provoking_vertex */
6926 /* ARB_sync */
6927 /* ARB_texture_multisample */
6928 #ifdef GL_GLEXT_PROTOTYPES
6929 GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
6930 GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
6931 GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
6932 #endif /* GL_GLEXT_PROTOTYPES */
6933 typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
6934 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
6935 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
6936 #endif
6937 
6938 #ifndef GL_VERSION_3_3
6939 #define GL_VERSION_3_3 1
6940 /* OpenGL 3.3 also reuses entry points from these extensions: */
6941 /* ARB_blend_func_extended */
6942 /* ARB_sampler_objects */
6943 /* ARB_explicit_attrib_location, but it has none */
6944 /* ARB_occlusion_query2 (no entry points) */
6945 /* ARB_shader_bit_encoding (no entry points) */
6946 /* ARB_texture_rgb10_a2ui (no entry points) */
6947 /* ARB_texture_swizzle (no entry points) */
6948 /* ARB_timer_query */
6949 /* ARB_vertex_type_2_10_10_10_rev */
6950 #ifdef GL_GLEXT_PROTOTYPES
6951 GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
6952 #endif /* GL_GLEXT_PROTOTYPES */
6953 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
6954 #endif
6955 
6956 #ifndef GL_VERSION_4_0
6957 #define GL_VERSION_4_0 1
6958 /* OpenGL 4.0 also reuses entry points from these extensions: */
6959 /* ARB_texture_query_lod (no entry points) */
6960 /* ARB_draw_indirect */
6961 /* ARB_gpu_shader5 (no entry points) */
6962 /* ARB_gpu_shader_fp64 */
6963 /* ARB_shader_subroutine */
6964 /* ARB_tessellation_shader */
6965 /* ARB_texture_buffer_object_rgb32 (no entry points) */
6966 /* ARB_texture_cube_map_array (no entry points) */
6967 /* ARB_texture_gather (no entry points) */
6968 /* ARB_transform_feedback2 */
6969 /* ARB_transform_feedback3 */
6970 #ifdef GL_GLEXT_PROTOTYPES
6971 GLAPI void APIENTRY glMinSampleShading (GLfloat value);
6972 GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
6973 GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
6974 GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
6975 GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
6976 #endif /* GL_GLEXT_PROTOTYPES */
6977 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
6978 typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
6979 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
6980 typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
6981 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
6982 #endif
6983 
6984 #ifndef GL_VERSION_4_1
6985 #define GL_VERSION_4_1 1
6986 /* OpenGL 4.1 reuses entry points from these extensions: */
6987 /* ARB_ES2_compatibility */
6988 /* ARB_get_program_binary */
6989 /* ARB_separate_shader_objects */
6990 /* ARB_shader_precision (no entry points) */
6991 /* ARB_vertex_attrib_64bit */
6992 /* ARB_viewport_array */
6993 #endif
6994 
6995 #ifndef GL_VERSION_4_2
6996 #define GL_VERSION_4_2 1
6997 /* OpenGL 4.2 reuses entry points from these extensions: */
6998 /* ARB_base_instance */
6999 /* ARB_shading_language_420pack (no entry points) */
7000 /* ARB_transform_feedback_instanced */
7001 /* ARB_compressed_texture_pixel_storage (no entry points) */
7002 /* ARB_conservative_depth (no entry points) */
7003 /* ARB_internalformat_query */
7004 /* ARB_map_buffer_alignment (no entry points) */
7005 /* ARB_shader_atomic_counters */
7006 /* ARB_shader_image_load_store */
7007 /* ARB_shading_language_packing (no entry points) */
7008 /* ARB_texture_storage */
7009 #endif
7010 
7011 #ifndef GL_VERSION_4_3
7012 #define GL_VERSION_4_3 1
7013 /* OpenGL 4.3 reuses entry points from these extensions: */
7014 /* ARB_arrays_of_arrays (no entry points, GLSL only) */
7015 /* ARB_fragment_layer_viewport (no entry points, GLSL only) */
7016 /* ARB_shader_image_size (no entry points, GLSL only) */
7017 /* ARB_ES3_compatibility (no entry points) */
7018 /* ARB_clear_buffer_object */
7019 /* ARB_compute_shader */
7020 /* ARB_copy_image */
7021 /* KHR_debug (includes ARB_debug_output commands promoted to KHR without suffixes) */
7022 /* ARB_explicit_uniform_location (no entry points) */
7023 /* ARB_framebuffer_no_attachments */
7024 /* ARB_internalformat_query2 */
7025 /* ARB_invalidate_subdata */
7026 /* ARB_multi_draw_indirect */
7027 /* ARB_program_interface_query */
7028 /* ARB_robust_buffer_access_behavior (no entry points) */
7029 /* ARB_shader_storage_buffer_object */
7030 /* ARB_stencil_texturing (no entry points) */
7031 /* ARB_texture_buffer_range */
7032 /* ARB_texture_query_levels (no entry points) */
7033 /* ARB_texture_storage_multisample */
7034 /* ARB_texture_view */
7035 /* ARB_vertex_attrib_binding */
7036 #endif
7037 
7038 #ifndef GL_ARB_multitexture
7039 #define GL_ARB_multitexture 1
7040 #ifdef GL_GLEXT_PROTOTYPES
7041 GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
7042 GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
7043 GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
7044 GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
7045 GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
7046 GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
7047 GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
7048 GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
7049 GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
7050 GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
7051 GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
7052 GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
7053 GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
7054 GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
7055 GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
7056 GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
7057 GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
7058 GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
7059 GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
7060 GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
7061 GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
7062 GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
7063 GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
7064 GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
7065 GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
7066 GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
7067 GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
7068 GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
7069 GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
7070 GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
7071 GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
7072 GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
7073 GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
7074 GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
7075 #endif /* GL_GLEXT_PROTOTYPES */
7076 typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
7077 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
7078 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
7079 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
7080 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
7081 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
7082 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
7083 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
7084 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
7085 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
7086 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
7087 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
7088 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
7089 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
7090 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
7091 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
7092 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
7093 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
7094 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
7095 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
7096 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
7097 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
7098 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
7099 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
7100 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
7101 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
7102 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
7103 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
7104 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
7105 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
7106 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
7107 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
7108 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
7109 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
7110 #endif
7111 
7112 #ifndef GL_ARB_transpose_matrix
7113 #define GL_ARB_transpose_matrix 1
7114 #ifdef GL_GLEXT_PROTOTYPES
7115 GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
7116 GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
7117 GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
7118 GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
7119 #endif /* GL_GLEXT_PROTOTYPES */
7120 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
7121 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
7122 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
7123 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
7124 #endif
7125 
7126 #ifndef GL_ARB_multisample
7127 #define GL_ARB_multisample 1
7128 #ifdef GL_GLEXT_PROTOTYPES
7129 GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
7130 #endif /* GL_GLEXT_PROTOTYPES */
7131 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
7132 #endif
7133 
7134 #ifndef GL_ARB_texture_env_add
7135 #define GL_ARB_texture_env_add 1
7136 #endif
7137 
7138 #ifndef GL_ARB_texture_cube_map
7139 #define GL_ARB_texture_cube_map 1
7140 #endif
7141 
7142 #ifndef GL_ARB_texture_compression
7143 #define GL_ARB_texture_compression 1
7144 #ifdef GL_GLEXT_PROTOTYPES
7145 GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
7146 GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
7147 GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
7148 GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
7149 GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
7150 GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
7151 GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, GLvoid *img);
7152 #endif /* GL_GLEXT_PROTOTYPES */
7153 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
7154 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
7155 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
7156 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
7157 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
7158 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
7159 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img);
7160 #endif
7161 
7162 #ifndef GL_ARB_texture_border_clamp
7163 #define GL_ARB_texture_border_clamp 1
7164 #endif
7165 
7166 #ifndef GL_ARB_point_parameters
7167 #define GL_ARB_point_parameters 1
7168 #ifdef GL_GLEXT_PROTOTYPES
7169 GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
7170 GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
7171 #endif /* GL_GLEXT_PROTOTYPES */
7172 typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
7173 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
7174 #endif
7175 
7176 #ifndef GL_ARB_vertex_blend
7177 #define GL_ARB_vertex_blend 1
7178 #ifdef GL_GLEXT_PROTOTYPES
7179 GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
7180 GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
7181 GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
7182 GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
7183 GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
7184 GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
7185 GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
7186 GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
7187 GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
7188 GLAPI void APIENTRY glVertexBlendARB (GLint count);
7189 #endif /* GL_GLEXT_PROTOTYPES */
7190 typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
7191 typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
7192 typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
7193 typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
7194 typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
7195 typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
7196 typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
7197 typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
7198 typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
7199 typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
7200 #endif
7201 
7202 #ifndef GL_ARB_matrix_palette
7203 #define GL_ARB_matrix_palette 1
7204 #ifdef GL_GLEXT_PROTOTYPES
7205 GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
7206 GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
7207 GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
7208 GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
7209 GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
7210 #endif /* GL_GLEXT_PROTOTYPES */
7211 typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
7212 typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
7213 typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
7214 typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
7215 typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
7216 #endif
7217 
7218 #ifndef GL_ARB_texture_env_combine
7219 #define GL_ARB_texture_env_combine 1
7220 #endif
7221 
7222 #ifndef GL_ARB_texture_env_crossbar
7223 #define GL_ARB_texture_env_crossbar 1
7224 #endif
7225 
7226 #ifndef GL_ARB_texture_env_dot3
7227 #define GL_ARB_texture_env_dot3 1
7228 #endif
7229 
7230 #ifndef GL_ARB_texture_mirrored_repeat
7231 #define GL_ARB_texture_mirrored_repeat 1
7232 #endif
7233 
7234 #ifndef GL_ARB_depth_texture
7235 #define GL_ARB_depth_texture 1
7236 #endif
7237 
7238 #ifndef GL_ARB_shadow
7239 #define GL_ARB_shadow 1
7240 #endif
7241 
7242 #ifndef GL_ARB_shadow_ambient
7243 #define GL_ARB_shadow_ambient 1
7244 #endif
7245 
7246 #ifndef GL_ARB_window_pos
7247 #define GL_ARB_window_pos 1
7248 #ifdef GL_GLEXT_PROTOTYPES
7249 GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
7250 GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
7251 GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
7252 GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
7253 GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
7254 GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
7255 GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
7256 GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
7257 GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
7258 GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
7259 GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
7260 GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
7261 GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
7262 GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
7263 GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
7264 GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
7265 #endif /* GL_GLEXT_PROTOTYPES */
7266 typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
7267 typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
7268 typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
7269 typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
7270 typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
7271 typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
7272 typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
7273 typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
7274 typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
7275 typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
7276 typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
7277 typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
7278 typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
7279 typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
7280 typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
7281 typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
7282 #endif
7283 
7284 #ifndef GL_ARB_vertex_program
7285 #define GL_ARB_vertex_program 1
7286 #ifdef GL_GLEXT_PROTOTYPES
7287 GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
7288 GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
7289 GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
7290 GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
7291 GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
7292 GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
7293 GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
7294 GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
7295 GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
7296 GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
7297 GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
7298 GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
7299 GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
7300 GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
7301 GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
7302 GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
7303 GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
7304 GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
7305 GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
7306 GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
7307 GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
7308 GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
7309 GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
7310 GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
7311 GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
7312 GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
7313 GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7314 GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
7315 GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
7316 GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
7317 GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
7318 GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
7319 GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
7320 GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
7321 GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
7322 GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
7323 GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
7324 GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
7325 GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
7326 GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
7327 GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
7328 GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
7329 GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
7330 GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7331 GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
7332 GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
7333 GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
7334 GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7335 GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
7336 GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
7337 GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
7338 GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
7339 GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
7340 GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
7341 GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
7342 GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
7343 GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, GLvoid *string);
7344 GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
7345 GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
7346 GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
7347 GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, GLvoid* *pointer);
7348 GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
7349 #endif /* GL_GLEXT_PROTOTYPES */
7350 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
7351 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
7352 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
7353 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
7354 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
7355 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
7356 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
7357 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
7358 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
7359 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
7360 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
7361 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
7362 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
7363 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
7364 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
7365 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
7366 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
7367 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
7368 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
7369 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
7370 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
7371 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
7372 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
7373 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
7374 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
7375 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
7376 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7377 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
7378 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
7379 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
7380 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
7381 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
7382 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
7383 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
7384 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
7385 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
7386 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
7387 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
7388 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
7389 typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
7390 typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
7391 typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
7392 typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
7393 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7394 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
7395 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
7396 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
7397 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7398 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
7399 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
7400 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
7401 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
7402 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
7403 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
7404 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
7405 typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
7406 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string);
7407 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
7408 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
7409 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
7410 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
7411 typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
7412 #endif
7413 
7414 #ifndef GL_ARB_fragment_program
7415 #define GL_ARB_fragment_program 1
7416 /* All ARB_fragment_program entry points are shared with ARB_vertex_program. */
7417 #endif
7418 
7419 #ifndef GL_ARB_vertex_buffer_object
7420 #define GL_ARB_vertex_buffer_object 1
7421 #ifdef GL_GLEXT_PROTOTYPES
7422 GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
7423 GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
7424 GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
7425 GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
7426 GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
7427 GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
7428 GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
7429 GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum target, GLenum access);
7430 GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
7431 GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
7432 GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, GLvoid* *params);
7433 #endif /* GL_GLEXT_PROTOTYPES */
7434 typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
7435 typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
7436 typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
7437 typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
7438 typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
7439 typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
7440 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
7441 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
7442 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
7443 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
7444 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params);
7445 #endif
7446 
7447 #ifndef GL_ARB_occlusion_query
7448 #define GL_ARB_occlusion_query 1
7449 #ifdef GL_GLEXT_PROTOTYPES
7450 GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
7451 GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
7452 GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
7453 GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
7454 GLAPI void APIENTRY glEndQueryARB (GLenum target);
7455 GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
7456 GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
7457 GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
7458 #endif /* GL_GLEXT_PROTOTYPES */
7459 typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
7460 typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
7461 typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
7462 typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
7463 typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
7464 typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
7465 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
7466 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
7467 #endif
7468 
7469 #ifndef GL_ARB_shader_objects
7470 #define GL_ARB_shader_objects 1
7471 #ifdef GL_GLEXT_PROTOTYPES
7472 GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
7473 GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
7474 GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
7475 GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
7476 GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
7477 GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
7478 GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
7479 GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
7480 GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
7481 GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
7482 GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
7483 GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
7484 GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
7485 GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
7486 GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
7487 GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
7488 GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
7489 GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
7490 GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
7491 GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
7492 GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
7493 GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
7494 GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
7495 GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
7496 GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
7497 GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
7498 GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
7499 GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7500 GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7501 GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7502 GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
7503 GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
7504 GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
7505 GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
7506 GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
7507 GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
7508 GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
7509 GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
7510 GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
7511 #endif /* GL_GLEXT_PROTOTYPES */
7512 typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
7513 typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
7514 typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
7515 typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
7516 typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
7517 typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
7518 typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
7519 typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
7520 typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
7521 typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
7522 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
7523 typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
7524 typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
7525 typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
7526 typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
7527 typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
7528 typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
7529 typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
7530 typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
7531 typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
7532 typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
7533 typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
7534 typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
7535 typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
7536 typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
7537 typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
7538 typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
7539 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7540 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7541 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7542 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
7543 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
7544 typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
7545 typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
7546 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
7547 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
7548 typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
7549 typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
7550 typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
7551 #endif
7552 
7553 #ifndef GL_ARB_vertex_shader
7554 #define GL_ARB_vertex_shader 1
7555 #ifdef GL_GLEXT_PROTOTYPES
7556 GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
7557 GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
7558 GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
7559 #endif /* GL_GLEXT_PROTOTYPES */
7560 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
7561 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
7562 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
7563 #endif
7564 
7565 #ifndef GL_ARB_fragment_shader
7566 #define GL_ARB_fragment_shader 1
7567 #endif
7568 
7569 #ifndef GL_ARB_shading_language_100
7570 #define GL_ARB_shading_language_100 1
7571 #endif
7572 
7573 #ifndef GL_ARB_texture_non_power_of_two
7574 #define GL_ARB_texture_non_power_of_two 1
7575 #endif
7576 
7577 #ifndef GL_ARB_point_sprite
7578 #define GL_ARB_point_sprite 1
7579 #endif
7580 
7581 #ifndef GL_ARB_fragment_program_shadow
7582 #define GL_ARB_fragment_program_shadow 1
7583 #endif
7584 
7585 #ifndef GL_ARB_draw_buffers
7586 #define GL_ARB_draw_buffers 1
7587 #ifdef GL_GLEXT_PROTOTYPES
7588 GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
7589 #endif /* GL_GLEXT_PROTOTYPES */
7590 typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
7591 #endif
7592 
7593 #ifndef GL_ARB_texture_rectangle
7594 #define GL_ARB_texture_rectangle 1
7595 #endif
7596 
7597 #ifndef GL_ARB_color_buffer_float
7598 #define GL_ARB_color_buffer_float 1
7599 #ifdef GL_GLEXT_PROTOTYPES
7600 GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
7601 #endif /* GL_GLEXT_PROTOTYPES */
7602 typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
7603 #endif
7604 
7605 #ifndef GL_ARB_half_float_pixel
7606 #define GL_ARB_half_float_pixel 1
7607 #endif
7608 
7609 #ifndef GL_ARB_texture_float
7610 #define GL_ARB_texture_float 1
7611 #endif
7612 
7613 #ifndef GL_ARB_pixel_buffer_object
7614 #define GL_ARB_pixel_buffer_object 1
7615 #endif
7616 
7617 #ifndef GL_ARB_depth_buffer_float
7618 #define GL_ARB_depth_buffer_float 1
7619 #endif
7620 
7621 #ifndef GL_ARB_draw_instanced
7622 #define GL_ARB_draw_instanced 1
7623 #ifdef GL_GLEXT_PROTOTYPES
7624 GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
7625 GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
7626 #endif /* GL_GLEXT_PROTOTYPES */
7627 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
7628 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
7629 #endif
7630 
7631 #ifndef GL_ARB_framebuffer_object
7632 #define GL_ARB_framebuffer_object 1
7633 #ifdef GL_GLEXT_PROTOTYPES
7634 GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
7635 GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
7636 GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
7637 GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
7638 GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
7639 GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
7640 GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
7641 GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
7642 GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
7643 GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
7644 GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
7645 GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7646 GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7647 GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7648 GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7649 GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
7650 GLAPI void APIENTRY glGenerateMipmap (GLenum target);
7651 GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
7652 GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7653 GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
7654 #endif /* GL_GLEXT_PROTOTYPES */
7655 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
7656 typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
7657 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
7658 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
7659 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
7660 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
7661 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
7662 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
7663 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
7664 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
7665 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
7666 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7667 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
7668 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
7669 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
7670 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
7671 typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
7672 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
7673 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
7674 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
7675 #endif
7676 
7677 #ifndef GL_ARB_framebuffer_sRGB
7678 #define GL_ARB_framebuffer_sRGB 1
7679 #endif
7680 
7681 #ifndef GL_ARB_geometry_shader4
7682 #define GL_ARB_geometry_shader4 1
7683 #ifdef GL_GLEXT_PROTOTYPES
7684 GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
7685 GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
7686 GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
7687 GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
7688 #endif /* GL_GLEXT_PROTOTYPES */
7689 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
7690 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
7691 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
7692 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
7693 #endif
7694 
7695 #ifndef GL_ARB_half_float_vertex
7696 #define GL_ARB_half_float_vertex 1
7697 #endif
7698 
7699 #ifndef GL_ARB_instanced_arrays
7700 #define GL_ARB_instanced_arrays 1
7701 #ifdef GL_GLEXT_PROTOTYPES
7702 GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
7703 #endif /* GL_GLEXT_PROTOTYPES */
7704 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
7705 #endif
7706 
7707 #ifndef GL_ARB_map_buffer_range
7708 #define GL_ARB_map_buffer_range 1
7709 #ifdef GL_GLEXT_PROTOTYPES
7710 GLAPI GLvoid* APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
7711 GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
7712 #endif /* GL_GLEXT_PROTOTYPES */
7713 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
7714 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
7715 #endif
7716 
7717 #ifndef GL_ARB_texture_buffer_object
7718 #define GL_ARB_texture_buffer_object 1
7719 #ifdef GL_GLEXT_PROTOTYPES
7720 GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
7721 #endif /* GL_GLEXT_PROTOTYPES */
7722 typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
7723 #endif
7724 
7725 #ifndef GL_ARB_texture_compression_rgtc
7726 #define GL_ARB_texture_compression_rgtc 1
7727 #endif
7728 
7729 #ifndef GL_ARB_texture_rg
7730 #define GL_ARB_texture_rg 1
7731 #endif
7732 
7733 #ifndef GL_ARB_vertex_array_object
7734 #define GL_ARB_vertex_array_object 1
7735 #ifdef GL_GLEXT_PROTOTYPES
7736 GLAPI void APIENTRY glBindVertexArray (GLuint array);
7737 GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
7738 GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
7739 GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
7740 #endif /* GL_GLEXT_PROTOTYPES */
7741 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
7742 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
7743 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
7744 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
7745 #endif
7746 
7747 #ifndef GL_ARB_uniform_buffer_object
7748 #define GL_ARB_uniform_buffer_object 1
7749 #ifdef GL_GLEXT_PROTOTYPES
7750 GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices);
7751 GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
7752 GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
7753 GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
7754 GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
7755 GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
7756 GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
7757 #endif /* GL_GLEXT_PROTOTYPES */
7758 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices);
7759 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
7760 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
7761 typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
7762 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
7763 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
7764 typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
7765 #endif
7766 
7767 #ifndef GL_ARB_compatibility
7768 #define GL_ARB_compatibility 1
7769 #endif
7770 
7771 #ifndef GL_ARB_copy_buffer
7772 #define GL_ARB_copy_buffer 1
7773 #ifdef GL_GLEXT_PROTOTYPES
7774 GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
7775 #endif /* GL_GLEXT_PROTOTYPES */
7776 typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
7777 #endif
7778 
7779 #ifndef GL_ARB_shader_texture_lod
7780 #define GL_ARB_shader_texture_lod 1
7781 #endif
7782 
7783 #ifndef GL_ARB_depth_clamp
7784 #define GL_ARB_depth_clamp 1
7785 #endif
7786 
7787 #ifndef GL_ARB_draw_elements_base_vertex
7788 #define GL_ARB_draw_elements_base_vertex 1
7789 #ifdef GL_GLEXT_PROTOTYPES
7790 GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
7791 GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
7792 GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex);
7793 GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex);
7794 #endif /* GL_GLEXT_PROTOTYPES */
7795 typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
7796 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
7797 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex);
7798 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex);
7799 #endif
7800 
7801 #ifndef GL_ARB_fragment_coord_conventions
7802 #define GL_ARB_fragment_coord_conventions 1
7803 #endif
7804 
7805 #ifndef GL_ARB_provoking_vertex
7806 #define GL_ARB_provoking_vertex 1
7807 #ifdef GL_GLEXT_PROTOTYPES
7808 GLAPI void APIENTRY glProvokingVertex (GLenum mode);
7809 #endif /* GL_GLEXT_PROTOTYPES */
7810 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
7811 #endif
7812 
7813 #ifndef GL_ARB_seamless_cube_map
7814 #define GL_ARB_seamless_cube_map 1
7815 #endif
7816 
7817 #ifndef GL_ARB_sync
7818 #define GL_ARB_sync 1
7819 #ifdef GL_GLEXT_PROTOTYPES
7820 GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
7821 GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
7822 GLAPI void APIENTRY glDeleteSync (GLsync sync);
7823 GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
7824 GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
7825 GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *params);
7826 GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
7827 #endif /* GL_GLEXT_PROTOTYPES */
7828 typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
7829 typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
7830 typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
7831 typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
7832 typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
7833 typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *params);
7834 typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
7835 #endif
7836 
7837 #ifndef GL_ARB_texture_multisample
7838 #define GL_ARB_texture_multisample 1
7839 #ifdef GL_GLEXT_PROTOTYPES
7840 GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
7841 GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
7842 GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
7843 GLAPI void APIENTRY glSampleMaski (GLuint index, GLbitfield mask);
7844 #endif /* GL_GLEXT_PROTOTYPES */
7845 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
7846 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
7847 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
7848 typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield mask);
7849 #endif
7850 
7851 #ifndef GL_ARB_vertex_array_bgra
7852 #define GL_ARB_vertex_array_bgra 1
7853 #endif
7854 
7855 #ifndef GL_ARB_draw_buffers_blend
7856 #define GL_ARB_draw_buffers_blend 1
7857 #ifdef GL_GLEXT_PROTOTYPES
7858 GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
7859 GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
7860 GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
7861 GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
7862 #endif /* GL_GLEXT_PROTOTYPES */
7863 typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
7864 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
7865 typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
7866 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
7867 #endif
7868 
7869 #ifndef GL_ARB_sample_shading
7870 #define GL_ARB_sample_shading 1
7871 #ifdef GL_GLEXT_PROTOTYPES
7872 GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
7873 #endif /* GL_GLEXT_PROTOTYPES */
7874 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
7875 #endif
7876 
7877 #ifndef GL_ARB_texture_cube_map_array
7878 #define GL_ARB_texture_cube_map_array 1
7879 #endif
7880 
7881 #ifndef GL_ARB_texture_gather
7882 #define GL_ARB_texture_gather 1
7883 #endif
7884 
7885 #ifndef GL_ARB_texture_query_lod
7886 #define GL_ARB_texture_query_lod 1
7887 #endif
7888 
7889 #ifndef GL_ARB_shading_language_include
7890 #define GL_ARB_shading_language_include 1
7891 #ifdef GL_GLEXT_PROTOTYPES
7892 GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
7893 GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
7894 GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar* *path, const GLint *length);
7895 GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
7896 GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
7897 GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
7898 #endif /* GL_GLEXT_PROTOTYPES */
7899 typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
7900 typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
7901 typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar* *path, const GLint *length);
7902 typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
7903 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
7904 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
7905 #endif
7906 
7907 #ifndef GL_ARB_texture_compression_bptc
7908 #define GL_ARB_texture_compression_bptc 1
7909 #endif
7910 
7911 #ifndef GL_ARB_blend_func_extended
7912 #define GL_ARB_blend_func_extended 1
7913 #ifdef GL_GLEXT_PROTOTYPES
7914 GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
7915 GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
7916 #endif /* GL_GLEXT_PROTOTYPES */
7917 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
7918 typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
7919 #endif
7920 
7921 #ifndef GL_ARB_explicit_attrib_location
7922 #define GL_ARB_explicit_attrib_location 1
7923 #endif
7924 
7925 #ifndef GL_ARB_occlusion_query2
7926 #define GL_ARB_occlusion_query2 1
7927 #endif
7928 
7929 #ifndef GL_ARB_sampler_objects
7930 #define GL_ARB_sampler_objects 1
7931 #ifdef GL_GLEXT_PROTOTYPES
7932 GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
7933 GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
7934 GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
7935 GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
7936 GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
7937 GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
7938 GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
7939 GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
7940 GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
7941 GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
7942 GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
7943 GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
7944 GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
7945 GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
7946 #endif /* GL_GLEXT_PROTOTYPES */
7947 typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
7948 typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
7949 typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
7950 typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
7951 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
7952 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
7953 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
7954 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
7955 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
7956 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
7957 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
7958 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
7959 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
7960 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
7961 #endif
7962 
7963 #ifndef GL_ARB_shader_bit_encoding
7964 #define GL_ARB_shader_bit_encoding 1
7965 #endif
7966 
7967 #ifndef GL_ARB_texture_rgb10_a2ui
7968 #define GL_ARB_texture_rgb10_a2ui 1
7969 #endif
7970 
7971 #ifndef GL_ARB_texture_swizzle
7972 #define GL_ARB_texture_swizzle 1
7973 #endif
7974 
7975 #ifndef GL_ARB_timer_query
7976 #define GL_ARB_timer_query 1
7977 #ifdef GL_GLEXT_PROTOTYPES
7978 GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
7979 GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
7980 GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
7981 #endif /* GL_GLEXT_PROTOTYPES */
7982 typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
7983 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
7984 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
7985 #endif
7986 
7987 #ifndef GL_ARB_vertex_type_2_10_10_10_rev
7988 #define GL_ARB_vertex_type_2_10_10_10_rev 1
7989 #ifdef GL_GLEXT_PROTOTYPES
7990 GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
7991 GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
7992 GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
7993 GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
7994 GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
7995 GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
7996 GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
7997 GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
7998 GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
7999 GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
8000 GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
8001 GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
8002 GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
8003 GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
8004 GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
8005 GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
8006 GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
8007 GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
8008 GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
8009 GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
8010 GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
8011 GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
8012 GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
8013 GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
8014 GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
8015 GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
8016 GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
8017 GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
8018 GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
8019 GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
8020 GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
8021 GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
8022 GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
8023 GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
8024 GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
8025 GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
8026 GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
8027 GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
8028 #endif /* GL_GLEXT_PROTOTYPES */
8029 typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
8030 typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
8031 typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
8032 typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
8033 typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
8034 typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
8035 typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
8036 typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
8037 typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
8038 typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
8039 typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
8040 typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
8041 typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
8042 typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
8043 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
8044 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
8045 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
8046 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
8047 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
8048 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
8049 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
8050 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
8051 typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
8052 typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
8053 typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
8054 typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
8055 typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
8056 typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
8057 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
8058 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
8059 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
8060 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
8061 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
8062 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
8063 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
8064 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
8065 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
8066 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
8067 #endif
8068 
8069 #ifndef GL_ARB_draw_indirect
8070 #define GL_ARB_draw_indirect 1
8071 #ifdef GL_GLEXT_PROTOTYPES
8072 GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const GLvoid *indirect);
8073 GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const GLvoid *indirect);
8074 #endif /* GL_GLEXT_PROTOTYPES */
8075 typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const GLvoid *indirect);
8076 typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const GLvoid *indirect);
8077 #endif
8078 
8079 #ifndef GL_ARB_gpu_shader5
8080 #define GL_ARB_gpu_shader5 1
8081 #endif
8082 
8083 #ifndef GL_ARB_gpu_shader_fp64
8084 #define GL_ARB_gpu_shader_fp64 1
8085 #ifdef GL_GLEXT_PROTOTYPES
8086 GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
8087 GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
8088 GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
8089 GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8090 GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
8091 GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
8092 GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
8093 GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
8094 GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8095 GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8096 GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8097 GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8098 GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8099 GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8100 GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8101 GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8102 GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8103 GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
8104 #endif /* GL_GLEXT_PROTOTYPES */
8105 typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
8106 typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
8107 typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
8108 typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8109 typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
8110 typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
8111 typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
8112 typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
8113 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8114 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8115 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8116 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8117 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8118 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8119 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8120 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8121 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8122 typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
8123 #endif
8124 
8125 #ifndef GL_ARB_shader_subroutine
8126 #define GL_ARB_shader_subroutine 1
8127 #ifdef GL_GLEXT_PROTOTYPES
8128 GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
8129 GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
8130 GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
8131 GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
8132 GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
8133 GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
8134 GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
8135 GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
8136 #endif /* GL_GLEXT_PROTOTYPES */
8137 typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
8138 typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
8139 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
8140 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
8141 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
8142 typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
8143 typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
8144 typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
8145 #endif
8146 
8147 #ifndef GL_ARB_tessellation_shader
8148 #define GL_ARB_tessellation_shader 1
8149 #ifdef GL_GLEXT_PROTOTYPES
8150 GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
8151 GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
8152 #endif /* GL_GLEXT_PROTOTYPES */
8153 typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
8154 typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
8155 #endif
8156 
8157 #ifndef GL_ARB_texture_buffer_object_rgb32
8158 #define GL_ARB_texture_buffer_object_rgb32 1
8159 #endif
8160 
8161 #ifndef GL_ARB_transform_feedback2
8162 #define GL_ARB_transform_feedback2 1
8163 #ifdef GL_GLEXT_PROTOTYPES
8164 GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
8165 GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
8166 GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
8167 GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
8168 GLAPI void APIENTRY glPauseTransformFeedback (void);
8169 GLAPI void APIENTRY glResumeTransformFeedback (void);
8170 GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
8171 #endif /* GL_GLEXT_PROTOTYPES */
8172 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
8173 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
8174 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
8175 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
8176 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
8177 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
8178 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
8179 #endif
8180 
8181 #ifndef GL_ARB_transform_feedback3
8182 #define GL_ARB_transform_feedback3 1
8183 #ifdef GL_GLEXT_PROTOTYPES
8184 GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
8185 GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
8186 GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
8187 GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
8188 #endif /* GL_GLEXT_PROTOTYPES */
8189 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
8190 typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
8191 typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
8192 typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
8193 #endif
8194 
8195 #ifndef GL_ARB_ES2_compatibility
8196 #define GL_ARB_ES2_compatibility 1
8197 #ifdef GL_GLEXT_PROTOTYPES
8198 GLAPI void APIENTRY glReleaseShaderCompiler (void);
8199 GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length);
8200 GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
8201 GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
8202 GLAPI void APIENTRY glClearDepthf (GLfloat d);
8203 #endif /* GL_GLEXT_PROTOTYPES */
8204 typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
8205 typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length);
8206 typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
8207 typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
8208 typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
8209 #endif
8210 
8211 #ifndef GL_ARB_get_program_binary
8212 #define GL_ARB_get_program_binary 1
8213 #ifdef GL_GLEXT_PROTOTYPES
8214 GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
8215 GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length);
8216 GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
8217 #endif /* GL_GLEXT_PROTOTYPES */
8218 typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
8219 typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length);
8220 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
8221 #endif
8222 
8223 #ifndef GL_ARB_separate_shader_objects
8224 #define GL_ARB_separate_shader_objects 1
8225 #ifdef GL_GLEXT_PROTOTYPES
8226 GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
8227 GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
8228 GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar* const *strings);
8229 GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
8230 GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
8231 GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
8232 GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
8233 GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
8234 GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
8235 GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
8236 GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
8237 GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
8238 GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
8239 GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
8240 GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
8241 GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
8242 GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
8243 GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
8244 GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
8245 GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
8246 GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
8247 GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
8248 GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
8249 GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
8250 GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
8251 GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
8252 GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
8253 GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
8254 GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
8255 GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
8256 GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
8257 GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
8258 GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
8259 GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
8260 GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
8261 GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
8262 GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
8263 GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
8264 GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
8265 GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
8266 GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8267 GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8268 GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8269 GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8270 GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8271 GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8272 GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8273 GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8274 GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8275 GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8276 GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8277 GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8278 GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8279 GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8280 GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8281 GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8282 GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8283 GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8284 GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
8285 GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
8286 #endif /* GL_GLEXT_PROTOTYPES */
8287 typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
8288 typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
8289 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar* const *strings);
8290 typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
8291 typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
8292 typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
8293 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
8294 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
8295 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
8296 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
8297 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
8298 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
8299 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
8300 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
8301 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
8302 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
8303 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
8304 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
8305 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
8306 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
8307 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
8308 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
8309 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
8310 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
8311 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
8312 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
8313 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
8314 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
8315 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
8316 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
8317 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
8318 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
8319 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
8320 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
8321 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
8322 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
8323 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
8324 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
8325 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
8326 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
8327 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8328 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8329 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8330 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8331 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8332 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8333 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8334 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8335 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8336 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8337 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8338 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
8339 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8340 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8341 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8342 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8343 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8344 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
8345 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
8346 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
8347 #endif
8348 
8349 #ifndef GL_ARB_vertex_attrib_64bit
8350 #define GL_ARB_vertex_attrib_64bit 1
8351 #ifdef GL_GLEXT_PROTOTYPES
8352 GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
8353 GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
8354 GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
8355 GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8356 GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
8357 GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
8358 GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
8359 GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
8360 GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
8361 GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
8362 #endif /* GL_GLEXT_PROTOTYPES */
8363 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
8364 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
8365 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
8366 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8367 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
8368 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
8369 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
8370 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
8371 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
8372 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
8373 #endif
8374 
8375 #ifndef GL_ARB_viewport_array
8376 #define GL_ARB_viewport_array 1
8377 #ifdef GL_GLEXT_PROTOTYPES
8378 GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
8379 GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
8380 GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
8381 GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
8382 GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
8383 GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
8384 GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
8385 GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
8386 GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
8387 GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
8388 #endif /* GL_GLEXT_PROTOTYPES */
8389 typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
8390 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
8391 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
8392 typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
8393 typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
8394 typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
8395 typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
8396 typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
8397 typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
8398 typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
8399 #endif
8400 
8401 #ifndef GL_ARB_cl_event
8402 #define GL_ARB_cl_event 1
8403 #ifdef GL_GLEXT_PROTOTYPES
8404 GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context * context, struct _cl_event * event, GLbitfield flags);
8405 #endif /* GL_GLEXT_PROTOTYPES */
8406 typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context * context, struct _cl_event * event, GLbitfield flags);
8407 #endif
8408 
8409 #ifndef GL_ARB_debug_output
8410 #define GL_ARB_debug_output 1
8411 #ifdef GL_GLEXT_PROTOTYPES
8412 GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
8413 GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
8414 GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const GLvoid *userParam);
8415 GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
8416 #endif /* GL_GLEXT_PROTOTYPES */
8417 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
8418 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
8419 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const GLvoid *userParam);
8420 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
8421 #endif
8422 
8423 #ifndef GL_ARB_robustness
8424 #define GL_ARB_robustness 1
8425 #ifdef GL_GLEXT_PROTOTYPES
8426 GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
8427 GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
8428 GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
8429 GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
8430 GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
8431 GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
8432 GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
8433 GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
8434 GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *table);
8435 GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *image);
8436 GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid *row, GLsizei columnBufSize, GLvoid *column, GLvoid *span);
8437 GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
8438 GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
8439 GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *img);
8440 GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data);
8441 GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, GLvoid *img);
8442 GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
8443 GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
8444 GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
8445 GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
8446 #endif /* GL_GLEXT_PROTOTYPES */
8447 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
8448 typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
8449 typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
8450 typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
8451 typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
8452 typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
8453 typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
8454 typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
8455 typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *table);
8456 typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *image);
8457 typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid *row, GLsizei columnBufSize, GLvoid *column, GLvoid *span);
8458 typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
8459 typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
8460 typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *img);
8461 typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data);
8462 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, GLvoid *img);
8463 typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
8464 typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
8465 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
8466 typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
8467 #endif
8468 
8469 #ifndef GL_ARB_shader_stencil_export
8470 #define GL_ARB_shader_stencil_export 1
8471 #endif
8472 
8473 #ifndef GL_ARB_base_instance
8474 #define GL_ARB_base_instance 1
8475 #ifdef GL_GLEXT_PROTOTYPES
8476 GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
8477 GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
8478 GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
8479 #endif /* GL_GLEXT_PROTOTYPES */
8480 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
8481 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
8482 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
8483 #endif
8484 
8485 #ifndef GL_ARB_shading_language_420pack
8486 #define GL_ARB_shading_language_420pack 1
8487 #endif
8488 
8489 #ifndef GL_ARB_transform_feedback_instanced
8490 #define GL_ARB_transform_feedback_instanced 1
8491 #ifdef GL_GLEXT_PROTOTYPES
8492 GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
8493 GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
8494 #endif /* GL_GLEXT_PROTOTYPES */
8495 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
8496 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
8497 #endif
8498 
8499 #ifndef GL_ARB_compressed_texture_pixel_storage
8500 #define GL_ARB_compressed_texture_pixel_storage 1
8501 #endif
8502 
8503 #ifndef GL_ARB_conservative_depth
8504 #define GL_ARB_conservative_depth 1
8505 #endif
8506 
8507 #ifndef GL_ARB_internalformat_query
8508 #define GL_ARB_internalformat_query 1
8509 #ifdef GL_GLEXT_PROTOTYPES
8510 GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
8511 #endif /* GL_GLEXT_PROTOTYPES */
8512 typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
8513 #endif
8514 
8515 #ifndef GL_ARB_map_buffer_alignment
8516 #define GL_ARB_map_buffer_alignment 1
8517 #endif
8518 
8519 #ifndef GL_ARB_shader_atomic_counters
8520 #define GL_ARB_shader_atomic_counters 1
8521 #ifdef GL_GLEXT_PROTOTYPES
8522 GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
8523 #endif /* GL_GLEXT_PROTOTYPES */
8524 typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
8525 #endif
8526 
8527 #ifndef GL_ARB_shader_image_load_store
8528 #define GL_ARB_shader_image_load_store 1
8529 #ifdef GL_GLEXT_PROTOTYPES
8530 GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
8531 GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
8532 #endif /* GL_GLEXT_PROTOTYPES */
8533 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
8534 typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
8535 #endif
8536 
8537 #ifndef GL_ARB_shading_language_packing
8538 #define GL_ARB_shading_language_packing 1
8539 #endif
8540 
8541 #ifndef GL_ARB_texture_storage
8542 #define GL_ARB_texture_storage 1
8543 #ifdef GL_GLEXT_PROTOTYPES
8544 GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
8545 GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
8546 GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
8547 GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
8548 GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
8549 GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
8550 #endif /* GL_GLEXT_PROTOTYPES */
8551 typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
8552 typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
8553 typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
8554 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
8555 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
8556 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
8557 #endif
8558 
8559 #ifndef GL_KHR_texture_compression_astc_ldr
8560 #define GL_KHR_texture_compression_astc_ldr 1
8561 #endif
8562 
8563 #ifndef GL_KHR_debug
8564 #define GL_KHR_debug 1
8565 #ifdef GL_GLEXT_PROTOTYPES
8566 GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
8567 GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
8568 GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
8569 GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
8570 GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
8571 GLAPI void APIENTRY glPopDebugGroup (void);
8572 GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
8573 GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
8574 GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
8575 GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
8576 #endif /* GL_GLEXT_PROTOTYPES */
8577 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
8578 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
8579 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
8580 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
8581 typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
8582 typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
8583 typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
8584 typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
8585 typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
8586 typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
8587 #endif
8588 
8589 #ifndef GL_ARB_arrays_of_arrays
8590 #define GL_ARB_arrays_of_arrays 1
8591 #endif
8592 
8593 #ifndef GL_ARB_clear_buffer_object
8594 #define GL_ARB_clear_buffer_object 1
8595 #ifdef GL_GLEXT_PROTOTYPES
8596 GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
8597 GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
8598 GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
8599 GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, GLsizeiptr offset, GLsizeiptr size, const void *data);
8600 #endif /* GL_GLEXT_PROTOTYPES */
8601 typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
8602 typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
8603 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
8604 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, GLsizeiptr offset, GLsizeiptr size, const void *data);
8605 #endif
8606 
8607 #ifndef GL_ARB_compute_shader
8608 #define GL_ARB_compute_shader 1
8609 #ifdef GL_GLEXT_PROTOTYPES
8610 GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
8611 GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
8612 #endif /* GL_GLEXT_PROTOTYPES */
8613 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
8614 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
8615 #endif
8616 
8617 #ifndef GL_ARB_copy_image
8618 #define GL_ARB_copy_image 1
8619 #ifdef GL_GLEXT_PROTOTYPES
8620 GLAPI void APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
8621 #endif /* GL_GLEXT_PROTOTYPES */
8622 typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
8623 #endif
8624 
8625 #ifndef GL_ARB_texture_view
8626 #define GL_ARB_texture_view 1
8627 #ifdef GL_GLEXT_PROTOTYPES
8628 GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
8629 #endif /* GL_GLEXT_PROTOTYPES */
8630 typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
8631 #endif
8632 
8633 #ifndef GL_ARB_vertex_attrib_binding
8634 #define GL_ARB_vertex_attrib_binding 1
8635 #ifdef GL_GLEXT_PROTOTYPES
8636 GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
8637 GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
8638 GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
8639 GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
8640 GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
8641 GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
8642 GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
8643 GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
8644 GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
8645 GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
8646 GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
8647 GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
8648 #endif /* GL_GLEXT_PROTOTYPES */
8649 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
8650 typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
8651 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
8652 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
8653 typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
8654 typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
8655 typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
8656 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
8657 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
8658 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
8659 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
8660 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
8661 #endif
8662 
8663 #ifndef GL_ARB_robustness_isolation
8664 #define GL_ARB_robustness_isolation 1
8665 #endif
8666 
8667 #ifndef GL_ARB_ES3_compatibility
8668 #define GL_ARB_ES3_compatibility 1
8669 #endif
8670 
8671 #ifndef GL_ARB_explicit_uniform_location
8672 #define GL_ARB_explicit_uniform_location 1
8673 #endif
8674 
8675 #ifndef GL_ARB_fragment_layer_viewport
8676 #define GL_ARB_fragment_layer_viewport 1
8677 #endif
8678 
8679 #ifndef GL_ARB_framebuffer_no_attachments
8680 #define GL_ARB_framebuffer_no_attachments 1
8681 #ifdef GL_GLEXT_PROTOTYPES
8682 GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
8683 GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
8684 GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
8685 GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
8686 #endif /* GL_GLEXT_PROTOTYPES */
8687 typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
8688 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
8689 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
8690 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
8691 #endif
8692 
8693 #ifndef GL_ARB_internalformat_query2
8694 #define GL_ARB_internalformat_query2 1
8695 #ifdef GL_GLEXT_PROTOTYPES
8696 GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
8697 #endif /* GL_GLEXT_PROTOTYPES */
8698 typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
8699 #endif
8700 
8701 #ifndef GL_ARB_invalidate_subdata
8702 #define GL_ARB_invalidate_subdata 1
8703 #ifdef GL_GLEXT_PROTOTYPES
8704 GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
8705 GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
8706 GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
8707 GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
8708 GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
8709 GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
8710 #endif /* GL_GLEXT_PROTOTYPES */
8711 typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
8712 typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
8713 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
8714 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
8715 typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
8716 typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
8717 #endif
8718 
8719 #ifndef GL_ARB_multi_draw_indirect
8720 #define GL_ARB_multi_draw_indirect 1
8721 #ifdef GL_GLEXT_PROTOTYPES
8722 GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
8723 GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
8724 #endif /* GL_GLEXT_PROTOTYPES */
8725 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
8726 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
8727 #endif
8728 
8729 #ifndef GL_ARB_program_interface_query
8730 #define GL_ARB_program_interface_query 1
8731 #ifdef GL_GLEXT_PROTOTYPES
8732 GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
8733 GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
8734 GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
8735 GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
8736 GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
8737 GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
8738 #endif /* GL_GLEXT_PROTOTYPES */
8739 typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
8740 typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
8741 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
8742 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
8743 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
8744 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
8745 #endif
8746 
8747 #ifndef GL_ARB_robust_buffer_access_behavior
8748 #define GL_ARB_robust_buffer_access_behavior 1
8749 #endif
8750 
8751 #ifndef GL_ARB_shader_image_size
8752 #define GL_ARB_shader_image_size 1
8753 #endif
8754 
8755 #ifndef GL_ARB_shader_storage_buffer_object
8756 #define GL_ARB_shader_storage_buffer_object 1
8757 #ifdef GL_GLEXT_PROTOTYPES
8758 GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
8759 #endif /* GL_GLEXT_PROTOTYPES */
8760 typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
8761 #endif
8762 
8763 #ifndef GL_ARB_stencil_texturing
8764 #define GL_ARB_stencil_texturing 1
8765 #endif
8766 
8767 #ifndef GL_ARB_texture_buffer_range
8768 #define GL_ARB_texture_buffer_range 1
8769 #ifdef GL_GLEXT_PROTOTYPES
8770 GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
8771 GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
8772 #endif /* GL_GLEXT_PROTOTYPES */
8773 typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
8774 typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
8775 #endif
8776 
8777 #ifndef GL_ARB_texture_query_levels
8778 #define GL_ARB_texture_query_levels 1
8779 #endif
8780 
8781 #ifndef GL_ARB_texture_storage_multisample
8782 #define GL_ARB_texture_storage_multisample 1
8783 #ifdef GL_GLEXT_PROTOTYPES
8784 GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
8785 GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
8786 GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
8787 GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
8788 #endif /* GL_GLEXT_PROTOTYPES */
8789 typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
8790 typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
8791 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
8792 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
8793 #endif
8794 
8795 #ifndef GL_EXT_abgr
8796 #define GL_EXT_abgr 1
8797 #endif
8798 
8799 #ifndef GL_EXT_blend_color
8800 #define GL_EXT_blend_color 1
8801 #ifdef GL_GLEXT_PROTOTYPES
8802 GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
8803 #endif /* GL_GLEXT_PROTOTYPES */
8804 typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
8805 #endif
8806 
8807 #ifndef GL_EXT_polygon_offset
8808 #define GL_EXT_polygon_offset 1
8809 #ifdef GL_GLEXT_PROTOTYPES
8810 GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
8811 #endif /* GL_GLEXT_PROTOTYPES */
8812 typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
8813 #endif
8814 
8815 #ifndef GL_EXT_texture
8816 #define GL_EXT_texture 1
8817 #endif
8818 
8819 #ifndef GL_EXT_texture3D
8820 #define GL_EXT_texture3D 1
8821 #ifdef GL_GLEXT_PROTOTYPES
8822 GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
8823 GLAPI void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
8824 #endif /* GL_GLEXT_PROTOTYPES */
8825 typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
8826 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
8827 #endif
8828 
8829 #ifndef GL_SGIS_texture_filter4
8830 #define GL_SGIS_texture_filter4 1
8831 #ifdef GL_GLEXT_PROTOTYPES
8832 GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
8833 GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
8834 #endif /* GL_GLEXT_PROTOTYPES */
8835 typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
8836 typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
8837 #endif
8838 
8839 #ifndef GL_EXT_subtexture
8840 #define GL_EXT_subtexture 1
8841 #ifdef GL_GLEXT_PROTOTYPES
8842 GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
8843 GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
8844 #endif /* GL_GLEXT_PROTOTYPES */
8845 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
8846 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
8847 #endif
8848 
8849 #ifndef GL_EXT_copy_texture
8850 #define GL_EXT_copy_texture 1
8851 #ifdef GL_GLEXT_PROTOTYPES
8852 GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
8853 GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
8854 GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
8855 GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
8856 GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
8857 #endif /* GL_GLEXT_PROTOTYPES */
8858 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
8859 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
8860 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
8861 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
8862 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
8863 #endif
8864 
8865 #ifndef GL_EXT_histogram
8866 #define GL_EXT_histogram 1
8867 #ifdef GL_GLEXT_PROTOTYPES
8868 GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
8869 GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
8870 GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
8871 GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
8872 GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
8873 GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
8874 GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
8875 GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
8876 GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
8877 GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
8878 #endif /* GL_GLEXT_PROTOTYPES */
8879 typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
8880 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
8881 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
8882 typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
8883 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
8884 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
8885 typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
8886 typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
8887 typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
8888 typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
8889 #endif
8890 
8891 #ifndef GL_EXT_convolution
8892 #define GL_EXT_convolution 1
8893 #ifdef GL_GLEXT_PROTOTYPES
8894 GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
8895 GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
8896 GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
8897 GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
8898 GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
8899 GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
8900 GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
8901 GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
8902 GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, GLvoid *image);
8903 GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
8904 GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
8905 GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
8906 GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
8907 #endif /* GL_GLEXT_PROTOTYPES */
8908 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
8909 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
8910 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
8911 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
8912 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
8913 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
8914 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
8915 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
8916 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
8917 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
8918 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
8919 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
8920 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
8921 #endif
8922 
8923 #ifndef GL_SGI_color_matrix
8924 #define GL_SGI_color_matrix 1
8925 #endif
8926 
8927 #ifndef GL_SGI_color_table
8928 #define GL_SGI_color_table 1
8929 #ifdef GL_GLEXT_PROTOTYPES
8930 GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
8931 GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
8932 GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
8933 GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
8934 GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, GLvoid *table);
8935 GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
8936 GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
8937 #endif /* GL_GLEXT_PROTOTYPES */
8938 typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
8939 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
8940 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
8941 typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
8942 typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
8943 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
8944 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
8945 #endif
8946 
8947 #ifndef GL_SGIX_pixel_texture
8948 #define GL_SGIX_pixel_texture 1
8949 #ifdef GL_GLEXT_PROTOTYPES
8950 GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
8951 #endif /* GL_GLEXT_PROTOTYPES */
8952 typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
8953 #endif
8954 
8955 #ifndef GL_SGIS_pixel_texture
8956 #define GL_SGIS_pixel_texture 1
8957 #ifdef GL_GLEXT_PROTOTYPES
8958 GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
8959 GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
8960 GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
8961 GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
8962 GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
8963 GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
8964 #endif /* GL_GLEXT_PROTOTYPES */
8965 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
8966 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
8967 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
8968 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
8969 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
8970 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
8971 #endif
8972 
8973 #ifndef GL_SGIS_texture4D
8974 #define GL_SGIS_texture4D 1
8975 #ifdef GL_GLEXT_PROTOTYPES
8976 GLAPI void APIENTRY glTexImage4DSGIS (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
8977 GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels);
8978 #endif /* GL_GLEXT_PROTOTYPES */
8979 typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
8980 typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels);
8981 #endif
8982 
8983 #ifndef GL_SGI_texture_color_table
8984 #define GL_SGI_texture_color_table 1
8985 #endif
8986 
8987 #ifndef GL_EXT_cmyka
8988 #define GL_EXT_cmyka 1
8989 #endif
8990 
8991 #ifndef GL_EXT_texture_object
8992 #define GL_EXT_texture_object 1
8993 #ifdef GL_GLEXT_PROTOTYPES
8994 GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
8995 GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
8996 GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
8997 GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
8998 GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
8999 GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
9000 #endif /* GL_GLEXT_PROTOTYPES */
9001 typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
9002 typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
9003 typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
9004 typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
9005 typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
9006 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
9007 #endif
9008 
9009 #ifndef GL_SGIS_detail_texture
9010 #define GL_SGIS_detail_texture 1
9011 #ifdef GL_GLEXT_PROTOTYPES
9012 GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
9013 GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
9014 #endif /* GL_GLEXT_PROTOTYPES */
9015 typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
9016 typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
9017 #endif
9018 
9019 #ifndef GL_SGIS_sharpen_texture
9020 #define GL_SGIS_sharpen_texture 1
9021 #ifdef GL_GLEXT_PROTOTYPES
9022 GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
9023 GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
9024 #endif /* GL_GLEXT_PROTOTYPES */
9025 typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
9026 typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
9027 #endif
9028 
9029 #ifndef GL_EXT_packed_pixels
9030 #define GL_EXT_packed_pixels 1
9031 #endif
9032 
9033 #ifndef GL_SGIS_texture_lod
9034 #define GL_SGIS_texture_lod 1
9035 #endif
9036 
9037 #ifndef GL_SGIS_multisample
9038 #define GL_SGIS_multisample 1
9039 #ifdef GL_GLEXT_PROTOTYPES
9040 GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
9041 GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
9042 #endif /* GL_GLEXT_PROTOTYPES */
9043 typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
9044 typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
9045 #endif
9046 
9047 #ifndef GL_EXT_rescale_normal
9048 #define GL_EXT_rescale_normal 1
9049 #endif
9050 
9051 #ifndef GL_EXT_vertex_array
9052 #define GL_EXT_vertex_array 1
9053 #ifdef GL_GLEXT_PROTOTYPES
9054 GLAPI void APIENTRY glArrayElementEXT (GLint i);
9055 GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
9056 GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
9057 GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
9058 GLAPI void APIENTRY glGetPointervEXT (GLenum pname, GLvoid* *params);
9059 GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
9060 GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
9061 GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
9062 GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
9063 #endif /* GL_GLEXT_PROTOTYPES */
9064 typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
9065 typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
9066 typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
9067 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
9068 typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
9069 typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
9070 typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
9071 typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
9072 typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
9073 #endif
9074 
9075 #ifndef GL_EXT_misc_attribute
9076 #define GL_EXT_misc_attribute 1
9077 #endif
9078 
9079 #ifndef GL_SGIS_generate_mipmap
9080 #define GL_SGIS_generate_mipmap 1
9081 #endif
9082 
9083 #ifndef GL_SGIX_clipmap
9084 #define GL_SGIX_clipmap 1
9085 #endif
9086 
9087 #ifndef GL_SGIX_shadow
9088 #define GL_SGIX_shadow 1
9089 #endif
9090 
9091 #ifndef GL_SGIS_texture_edge_clamp
9092 #define GL_SGIS_texture_edge_clamp 1
9093 #endif
9094 
9095 #ifndef GL_SGIS_texture_border_clamp
9096 #define GL_SGIS_texture_border_clamp 1
9097 #endif
9098 
9099 #ifndef GL_EXT_blend_minmax
9100 #define GL_EXT_blend_minmax 1
9101 #ifdef GL_GLEXT_PROTOTYPES
9102 GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
9103 #endif /* GL_GLEXT_PROTOTYPES */
9104 typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
9105 #endif
9106 
9107 #ifndef GL_EXT_blend_subtract
9108 #define GL_EXT_blend_subtract 1
9109 #endif
9110 
9111 #ifndef GL_EXT_blend_logic_op
9112 #define GL_EXT_blend_logic_op 1
9113 #endif
9114 
9115 #ifndef GL_SGIX_interlace
9116 #define GL_SGIX_interlace 1
9117 #endif
9118 
9119 #ifndef GL_SGIX_pixel_tiles
9120 #define GL_SGIX_pixel_tiles 1
9121 #endif
9122 
9123 #ifndef GL_SGIX_texture_select
9124 #define GL_SGIX_texture_select 1
9125 #endif
9126 
9127 #ifndef GL_SGIX_sprite
9128 #define GL_SGIX_sprite 1
9129 #ifdef GL_GLEXT_PROTOTYPES
9130 GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
9131 GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
9132 GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
9133 GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
9134 #endif /* GL_GLEXT_PROTOTYPES */
9135 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
9136 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
9137 typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
9138 typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
9139 #endif
9140 
9141 #ifndef GL_SGIX_texture_multi_buffer
9142 #define GL_SGIX_texture_multi_buffer 1
9143 #endif
9144 
9145 #ifndef GL_EXT_point_parameters
9146 #define GL_EXT_point_parameters 1
9147 #ifdef GL_GLEXT_PROTOTYPES
9148 GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
9149 GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
9150 #endif /* GL_GLEXT_PROTOTYPES */
9151 typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
9152 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
9153 #endif
9154 
9155 #ifndef GL_SGIS_point_parameters
9156 #define GL_SGIS_point_parameters 1
9157 #ifdef GL_GLEXT_PROTOTYPES
9158 GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
9159 GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
9160 #endif /* GL_GLEXT_PROTOTYPES */
9161 typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
9162 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
9163 #endif
9164 
9165 #ifndef GL_SGIX_instruments
9166 #define GL_SGIX_instruments 1
9167 #ifdef GL_GLEXT_PROTOTYPES
9168 GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
9169 GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
9170 GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
9171 GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
9172 GLAPI void APIENTRY glStartInstrumentsSGIX (void);
9173 GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
9174 #endif /* GL_GLEXT_PROTOTYPES */
9175 typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
9176 typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
9177 typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
9178 typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
9179 typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
9180 typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
9181 #endif
9182 
9183 #ifndef GL_SGIX_texture_scale_bias
9184 #define GL_SGIX_texture_scale_bias 1
9185 #endif
9186 
9187 #ifndef GL_SGIX_framezoom
9188 #define GL_SGIX_framezoom 1
9189 #ifdef GL_GLEXT_PROTOTYPES
9190 GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
9191 #endif /* GL_GLEXT_PROTOTYPES */
9192 typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
9193 #endif
9194 
9195 #ifndef GL_SGIX_tag_sample_buffer
9196 #define GL_SGIX_tag_sample_buffer 1
9197 #ifdef GL_GLEXT_PROTOTYPES
9198 GLAPI void APIENTRY glTagSampleBufferSGIX (void);
9199 #endif /* GL_GLEXT_PROTOTYPES */
9200 typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
9201 #endif
9202 
9203 #ifndef GL_SGIX_polynomial_ffd
9204 #define GL_SGIX_polynomial_ffd 1
9205 #ifdef GL_GLEXT_PROTOTYPES
9206 GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
9207 GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
9208 GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
9209 GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
9210 #endif /* GL_GLEXT_PROTOTYPES */
9211 typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
9212 typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
9213 typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
9214 typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
9215 #endif
9216 
9217 #ifndef GL_SGIX_reference_plane
9218 #define GL_SGIX_reference_plane 1
9219 #ifdef GL_GLEXT_PROTOTYPES
9220 GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
9221 #endif /* GL_GLEXT_PROTOTYPES */
9222 typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
9223 #endif
9224 
9225 #ifndef GL_SGIX_flush_raster
9226 #define GL_SGIX_flush_raster 1
9227 #ifdef GL_GLEXT_PROTOTYPES
9228 GLAPI void APIENTRY glFlushRasterSGIX (void);
9229 #endif /* GL_GLEXT_PROTOTYPES */
9230 typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
9231 #endif
9232 
9233 #ifndef GL_SGIX_depth_texture
9234 #define GL_SGIX_depth_texture 1
9235 #endif
9236 
9237 #ifndef GL_SGIS_fog_function
9238 #define GL_SGIS_fog_function 1
9239 #ifdef GL_GLEXT_PROTOTYPES
9240 GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
9241 GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
9242 #endif /* GL_GLEXT_PROTOTYPES */
9243 typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
9244 typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
9245 #endif
9246 
9247 #ifndef GL_SGIX_fog_offset
9248 #define GL_SGIX_fog_offset 1
9249 #endif
9250 
9251 #ifndef GL_HP_image_transform
9252 #define GL_HP_image_transform 1
9253 #ifdef GL_GLEXT_PROTOTYPES
9254 GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
9255 GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
9256 GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
9257 GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
9258 GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
9259 GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
9260 #endif /* GL_GLEXT_PROTOTYPES */
9261 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
9262 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
9263 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
9264 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
9265 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
9266 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
9267 #endif
9268 
9269 #ifndef GL_HP_convolution_border_modes
9270 #define GL_HP_convolution_border_modes 1
9271 #endif
9272 
9273 #ifndef GL_SGIX_texture_add_env
9274 #define GL_SGIX_texture_add_env 1
9275 #endif
9276 
9277 #ifndef GL_EXT_color_subtable
9278 #define GL_EXT_color_subtable 1
9279 #ifdef GL_GLEXT_PROTOTYPES
9280 GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
9281 GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
9282 #endif /* GL_GLEXT_PROTOTYPES */
9283 typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
9284 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
9285 #endif
9286 
9287 #ifndef GL_PGI_vertex_hints
9288 #define GL_PGI_vertex_hints 1
9289 #endif
9290 
9291 #ifndef GL_PGI_misc_hints
9292 #define GL_PGI_misc_hints 1
9293 #ifdef GL_GLEXT_PROTOTYPES
9294 GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
9295 #endif /* GL_GLEXT_PROTOTYPES */
9296 typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
9297 #endif
9298 
9299 #ifndef GL_EXT_paletted_texture
9300 #define GL_EXT_paletted_texture 1
9301 #ifdef GL_GLEXT_PROTOTYPES
9302 GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
9303 GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, GLvoid *data);
9304 GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
9305 GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
9306 #endif /* GL_GLEXT_PROTOTYPES */
9307 typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
9308 typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data);
9309 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
9310 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
9311 #endif
9312 
9313 #ifndef GL_EXT_clip_volume_hint
9314 #define GL_EXT_clip_volume_hint 1
9315 #endif
9316 
9317 #ifndef GL_SGIX_list_priority
9318 #define GL_SGIX_list_priority 1
9319 #ifdef GL_GLEXT_PROTOTYPES
9320 GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
9321 GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
9322 GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
9323 GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
9324 GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
9325 GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
9326 #endif /* GL_GLEXT_PROTOTYPES */
9327 typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
9328 typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
9329 typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
9330 typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
9331 typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
9332 typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
9333 #endif
9334 
9335 #ifndef GL_SGIX_ir_instrument1
9336 #define GL_SGIX_ir_instrument1 1
9337 #endif
9338 
9339 #ifndef GL_SGIX_calligraphic_fragment
9340 #define GL_SGIX_calligraphic_fragment 1
9341 #endif
9342 
9343 #ifndef GL_SGIX_texture_lod_bias
9344 #define GL_SGIX_texture_lod_bias 1
9345 #endif
9346 
9347 #ifndef GL_SGIX_shadow_ambient
9348 #define GL_SGIX_shadow_ambient 1
9349 #endif
9350 
9351 #ifndef GL_EXT_index_texture
9352 #define GL_EXT_index_texture 1
9353 #endif
9354 
9355 #ifndef GL_EXT_index_material
9356 #define GL_EXT_index_material 1
9357 #ifdef GL_GLEXT_PROTOTYPES
9358 GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
9359 #endif /* GL_GLEXT_PROTOTYPES */
9360 typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
9361 #endif
9362 
9363 #ifndef GL_EXT_index_func
9364 #define GL_EXT_index_func 1
9365 #ifdef GL_GLEXT_PROTOTYPES
9366 GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
9367 #endif /* GL_GLEXT_PROTOTYPES */
9368 typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
9369 #endif
9370 
9371 #ifndef GL_EXT_index_array_formats
9372 #define GL_EXT_index_array_formats 1
9373 #endif
9374 
9375 #ifndef GL_EXT_compiled_vertex_array
9376 #define GL_EXT_compiled_vertex_array 1
9377 #ifdef GL_GLEXT_PROTOTYPES
9378 GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
9379 GLAPI void APIENTRY glUnlockArraysEXT (void);
9380 #endif /* GL_GLEXT_PROTOTYPES */
9381 typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
9382 typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
9383 #endif
9384 
9385 #ifndef GL_EXT_cull_vertex
9386 #define GL_EXT_cull_vertex 1
9387 #ifdef GL_GLEXT_PROTOTYPES
9388 GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
9389 GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
9390 #endif /* GL_GLEXT_PROTOTYPES */
9391 typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
9392 typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
9393 #endif
9394 
9395 #ifndef GL_SGIX_ycrcb
9396 #define GL_SGIX_ycrcb 1
9397 #endif
9398 
9399 #ifndef GL_SGIX_fragment_lighting
9400 #define GL_SGIX_fragment_lighting 1
9401 #ifdef GL_GLEXT_PROTOTYPES
9402 GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
9403 GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
9404 GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
9405 GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
9406 GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
9407 GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
9408 GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
9409 GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
9410 GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
9411 GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
9412 GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
9413 GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
9414 GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
9415 GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
9416 GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
9417 GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
9418 GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
9419 GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
9420 #endif /* GL_GLEXT_PROTOTYPES */
9421 typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
9422 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
9423 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
9424 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
9425 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
9426 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
9427 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
9428 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
9429 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
9430 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
9431 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
9432 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
9433 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
9434 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
9435 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
9436 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
9437 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
9438 typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
9439 #endif
9440 
9441 #ifndef GL_IBM_rasterpos_clip
9442 #define GL_IBM_rasterpos_clip 1
9443 #endif
9444 
9445 #ifndef GL_HP_texture_lighting
9446 #define GL_HP_texture_lighting 1
9447 #endif
9448 
9449 #ifndef GL_EXT_draw_range_elements
9450 #define GL_EXT_draw_range_elements 1
9451 #ifdef GL_GLEXT_PROTOTYPES
9452 GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
9453 #endif /* GL_GLEXT_PROTOTYPES */
9454 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
9455 #endif
9456 
9457 #ifndef GL_WIN_phong_shading
9458 #define GL_WIN_phong_shading 1
9459 #endif
9460 
9461 #ifndef GL_WIN_specular_fog
9462 #define GL_WIN_specular_fog 1
9463 #endif
9464 
9465 #ifndef GL_EXT_light_texture
9466 #define GL_EXT_light_texture 1
9467 #ifdef GL_GLEXT_PROTOTYPES
9468 GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
9469 GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
9470 GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
9471 #endif /* GL_GLEXT_PROTOTYPES */
9472 typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
9473 typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
9474 typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
9475 #endif
9476 
9477 #ifndef GL_SGIX_blend_alpha_minmax
9478 #define GL_SGIX_blend_alpha_minmax 1
9479 #endif
9480 
9481 #ifndef GL_EXT_bgra
9482 #define GL_EXT_bgra 1
9483 #endif
9484 
9485 #ifndef GL_SGIX_async
9486 #define GL_SGIX_async 1
9487 #ifdef GL_GLEXT_PROTOTYPES
9488 GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
9489 GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
9490 GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
9491 GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
9492 GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
9493 GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
9494 #endif /* GL_GLEXT_PROTOTYPES */
9495 typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
9496 typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
9497 typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
9498 typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
9499 typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
9500 typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
9501 #endif
9502 
9503 #ifndef GL_SGIX_async_pixel
9504 #define GL_SGIX_async_pixel 1
9505 #endif
9506 
9507 #ifndef GL_SGIX_async_histogram
9508 #define GL_SGIX_async_histogram 1
9509 #endif
9510 
9511 #ifndef GL_INTEL_parallel_arrays
9512 #define GL_INTEL_parallel_arrays 1
9513 #ifdef GL_GLEXT_PROTOTYPES
9514 GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer);
9515 GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const GLvoid* *pointer);
9516 GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer);
9517 GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer);
9518 #endif /* GL_GLEXT_PROTOTYPES */
9519 typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
9520 typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer);
9521 typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
9522 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
9523 #endif
9524 
9525 #ifndef GL_HP_occlusion_test
9526 #define GL_HP_occlusion_test 1
9527 #endif
9528 
9529 #ifndef GL_EXT_pixel_transform
9530 #define GL_EXT_pixel_transform 1
9531 #ifdef GL_GLEXT_PROTOTYPES
9532 GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
9533 GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
9534 GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
9535 GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
9536 GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params);
9537 GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
9538 #endif /* GL_GLEXT_PROTOTYPES */
9539 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
9540 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
9541 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
9542 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
9543 typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
9544 typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
9545 #endif
9546 
9547 #ifndef GL_EXT_pixel_transform_color_table
9548 #define GL_EXT_pixel_transform_color_table 1
9549 #endif
9550 
9551 #ifndef GL_EXT_shared_texture_palette
9552 #define GL_EXT_shared_texture_palette 1
9553 #endif
9554 
9555 #ifndef GL_EXT_separate_specular_color
9556 #define GL_EXT_separate_specular_color 1
9557 #endif
9558 
9559 #ifndef GL_EXT_secondary_color
9560 #define GL_EXT_secondary_color 1
9561 #ifdef GL_GLEXT_PROTOTYPES
9562 GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
9563 GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
9564 GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
9565 GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
9566 GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
9567 GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
9568 GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
9569 GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
9570 GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
9571 GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
9572 GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
9573 GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
9574 GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
9575 GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
9576 GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
9577 GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
9578 GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
9579 #endif /* GL_GLEXT_PROTOTYPES */
9580 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
9581 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
9582 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
9583 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
9584 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
9585 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
9586 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
9587 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
9588 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
9589 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
9590 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
9591 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
9592 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
9593 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
9594 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
9595 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
9596 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
9597 #endif
9598 
9599 #ifndef GL_EXT_texture_perturb_normal
9600 #define GL_EXT_texture_perturb_normal 1
9601 #ifdef GL_GLEXT_PROTOTYPES
9602 GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
9603 #endif /* GL_GLEXT_PROTOTYPES */
9604 typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
9605 #endif
9606 
9607 #ifndef GL_EXT_multi_draw_arrays
9608 #define GL_EXT_multi_draw_arrays 1
9609 #ifdef GL_GLEXT_PROTOTYPES
9610 GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
9611 GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
9612 #endif /* GL_GLEXT_PROTOTYPES */
9613 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
9614 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
9615 #endif
9616 
9617 #ifndef GL_EXT_fog_coord
9618 #define GL_EXT_fog_coord 1
9619 #ifdef GL_GLEXT_PROTOTYPES
9620 GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
9621 GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
9622 GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
9623 GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
9624 GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer);
9625 #endif /* GL_GLEXT_PROTOTYPES */
9626 typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
9627 typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
9628 typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
9629 typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
9630 typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
9631 #endif
9632 
9633 #ifndef GL_REND_screen_coordinates
9634 #define GL_REND_screen_coordinates 1
9635 #endif
9636 
9637 #ifndef GL_EXT_coordinate_frame
9638 #define GL_EXT_coordinate_frame 1
9639 #ifdef GL_GLEXT_PROTOTYPES
9640 GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
9641 GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
9642 GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
9643 GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
9644 GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
9645 GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
9646 GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
9647 GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
9648 GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
9649 GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
9650 GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
9651 GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
9652 GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
9653 GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
9654 GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
9655 GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
9656 GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
9657 GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
9658 GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
9659 GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
9660 GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer);
9661 GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer);
9662 #endif /* GL_GLEXT_PROTOTYPES */
9663 typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
9664 typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
9665 typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
9666 typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
9667 typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
9668 typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
9669 typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
9670 typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
9671 typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
9672 typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
9673 typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
9674 typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
9675 typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
9676 typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
9677 typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
9678 typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
9679 typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
9680 typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
9681 typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
9682 typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
9683 typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
9684 typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
9685 #endif
9686 
9687 #ifndef GL_EXT_texture_env_combine
9688 #define GL_EXT_texture_env_combine 1
9689 #endif
9690 
9691 #ifndef GL_APPLE_specular_vector
9692 #define GL_APPLE_specular_vector 1
9693 #endif
9694 
9695 #ifndef GL_APPLE_transform_hint
9696 #define GL_APPLE_transform_hint 1
9697 #endif
9698 
9699 #ifndef GL_SGIX_fog_scale
9700 #define GL_SGIX_fog_scale 1
9701 #endif
9702 
9703 #ifndef GL_SUNX_constant_data
9704 #define GL_SUNX_constant_data 1
9705 #ifdef GL_GLEXT_PROTOTYPES
9706 GLAPI void APIENTRY glFinishTextureSUNX (void);
9707 #endif /* GL_GLEXT_PROTOTYPES */
9708 typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
9709 #endif
9710 
9711 #ifndef GL_SUN_global_alpha
9712 #define GL_SUN_global_alpha 1
9713 #ifdef GL_GLEXT_PROTOTYPES
9714 GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
9715 GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
9716 GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
9717 GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
9718 GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
9719 GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
9720 GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
9721 GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
9722 #endif /* GL_GLEXT_PROTOTYPES */
9723 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
9724 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
9725 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
9726 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
9727 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
9728 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
9729 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
9730 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
9731 #endif
9732 
9733 #ifndef GL_SUN_triangle_list
9734 #define GL_SUN_triangle_list 1
9735 #ifdef GL_GLEXT_PROTOTYPES
9736 GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
9737 GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
9738 GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
9739 GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
9740 GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
9741 GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
9742 GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const GLvoid* *pointer);
9743 #endif /* GL_GLEXT_PROTOTYPES */
9744 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
9745 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
9746 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
9747 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
9748 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
9749 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
9750 typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer);
9751 #endif
9752 
9753 #ifndef GL_SUN_vertex
9754 #define GL_SUN_vertex 1
9755 #ifdef GL_GLEXT_PROTOTYPES
9756 GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
9757 GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
9758 GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
9759 GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
9760 GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
9761 GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
9762 GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9763 GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
9764 GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9765 GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
9766 GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
9767 GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
9768 GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9769 GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
9770 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
9771 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
9772 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
9773 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
9774 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9775 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
9776 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9777 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
9778 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9779 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
9780 GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
9781 GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
9782 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
9783 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
9784 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
9785 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
9786 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9787 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
9788 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9789 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
9790 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
9791 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
9792 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9793 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
9794 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9795 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
9796 #endif /* GL_GLEXT_PROTOTYPES */
9797 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
9798 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
9799 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
9800 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
9801 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
9802 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
9803 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9804 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
9805 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9806 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
9807 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
9808 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
9809 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9810 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
9811 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
9812 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
9813 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
9814 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
9815 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9816 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
9817 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9818 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
9819 typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9820 typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
9821 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
9822 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
9823 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
9824 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
9825 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
9826 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
9827 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9828 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
9829 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9830 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
9831 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
9832 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
9833 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9834 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
9835 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
9836 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
9837 #endif
9838 
9839 #ifndef GL_EXT_blend_func_separate
9840 #define GL_EXT_blend_func_separate 1
9841 #ifdef GL_GLEXT_PROTOTYPES
9842 GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
9843 #endif /* GL_GLEXT_PROTOTYPES */
9844 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
9845 #endif
9846 
9847 #ifndef GL_INGR_blend_func_separate
9848 #define GL_INGR_blend_func_separate 1
9849 #ifdef GL_GLEXT_PROTOTYPES
9850 GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
9851 #endif /* GL_GLEXT_PROTOTYPES */
9852 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
9853 #endif
9854 
9855 #ifndef GL_INGR_color_clamp
9856 #define GL_INGR_color_clamp 1
9857 #endif
9858 
9859 #ifndef GL_INGR_interlace_read
9860 #define GL_INGR_interlace_read 1
9861 #endif
9862 
9863 #ifndef GL_EXT_stencil_wrap
9864 #define GL_EXT_stencil_wrap 1
9865 #endif
9866 
9867 #ifndef GL_EXT_422_pixels
9868 #define GL_EXT_422_pixels 1
9869 #endif
9870 
9871 #ifndef GL_NV_texgen_reflection
9872 #define GL_NV_texgen_reflection 1
9873 #endif
9874 
9875 #ifndef GL_SUN_convolution_border_modes
9876 #define GL_SUN_convolution_border_modes 1
9877 #endif
9878 
9879 #ifndef GL_EXT_texture_env_add
9880 #define GL_EXT_texture_env_add 1
9881 #endif
9882 
9883 #ifndef GL_EXT_texture_lod_bias
9884 #define GL_EXT_texture_lod_bias 1
9885 #endif
9886 
9887 #ifndef GL_EXT_texture_filter_anisotropic
9888 #define GL_EXT_texture_filter_anisotropic 1
9889 #endif
9890 
9891 #ifndef GL_EXT_vertex_weighting
9892 #define GL_EXT_vertex_weighting 1
9893 #ifdef GL_GLEXT_PROTOTYPES
9894 GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
9895 GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
9896 GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
9897 #endif /* GL_GLEXT_PROTOTYPES */
9898 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
9899 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
9900 typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
9901 #endif
9902 
9903 #ifndef GL_NV_light_max_exponent
9904 #define GL_NV_light_max_exponent 1
9905 #endif
9906 
9907 #ifndef GL_NV_vertex_array_range
9908 #define GL_NV_vertex_array_range 1
9909 #ifdef GL_GLEXT_PROTOTYPES
9910 GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
9911 GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const GLvoid *pointer);
9912 #endif /* GL_GLEXT_PROTOTYPES */
9913 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
9914 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer);
9915 #endif
9916 
9917 #ifndef GL_NV_register_combiners
9918 #define GL_NV_register_combiners 1
9919 #ifdef GL_GLEXT_PROTOTYPES
9920 GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
9921 GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
9922 GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
9923 GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
9924 GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9925 GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
9926 GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9927 GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
9928 GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
9929 GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
9930 GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
9931 GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
9932 GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
9933 #endif /* GL_GLEXT_PROTOTYPES */
9934 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
9935 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
9936 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
9937 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
9938 typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9939 typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
9940 typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
9941 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
9942 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
9943 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
9944 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
9945 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
9946 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
9947 #endif
9948 
9949 #ifndef GL_NV_fog_distance
9950 #define GL_NV_fog_distance 1
9951 #endif
9952 
9953 #ifndef GL_NV_texgen_emboss
9954 #define GL_NV_texgen_emboss 1
9955 #endif
9956 
9957 #ifndef GL_NV_blend_square
9958 #define GL_NV_blend_square 1
9959 #endif
9960 
9961 #ifndef GL_NV_texture_env_combine4
9962 #define GL_NV_texture_env_combine4 1
9963 #endif
9964 
9965 #ifndef GL_MESA_resize_buffers
9966 #define GL_MESA_resize_buffers 1
9967 #ifdef GL_GLEXT_PROTOTYPES
9968 GLAPI void APIENTRY glResizeBuffersMESA (void);
9969 #endif /* GL_GLEXT_PROTOTYPES */
9970 typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
9971 #endif
9972 
9973 #ifndef GL_MESA_window_pos
9974 #define GL_MESA_window_pos 1
9975 #ifdef GL_GLEXT_PROTOTYPES
9976 GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
9977 GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
9978 GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
9979 GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
9980 GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
9981 GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
9982 GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
9983 GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
9984 GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
9985 GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
9986 GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
9987 GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
9988 GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
9989 GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
9990 GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
9991 GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
9992 GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9993 GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
9994 GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9995 GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
9996 GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
9997 GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
9998 GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
9999 GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
10000 #endif /* GL_GLEXT_PROTOTYPES */
10001 typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
10002 typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
10003 typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
10004 typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
10005 typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
10006 typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
10007 typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
10008 typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
10009 typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
10010 typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
10011 typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
10012 typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
10013 typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
10014 typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
10015 typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
10016 typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
10017 typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10018 typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
10019 typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10020 typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
10021 typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
10022 typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
10023 typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
10024 typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
10025 #endif
10026 
10027 #ifndef GL_IBM_cull_vertex
10028 #define GL_IBM_cull_vertex 1
10029 #endif
10030 
10031 #ifndef GL_IBM_multimode_draw_arrays
10032 #define GL_IBM_multimode_draw_arrays 1
10033 #ifdef GL_GLEXT_PROTOTYPES
10034 GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
10035 GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride);
10036 #endif /* GL_GLEXT_PROTOTYPES */
10037 typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
10038 typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride);
10039 #endif
10040 
10041 #ifndef GL_IBM_vertex_array_lists
10042 #define GL_IBM_vertex_array_lists 1
10043 #ifdef GL_GLEXT_PROTOTYPES
10044 GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
10045 GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
10046 GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean* *pointer, GLint ptrstride);
10047 GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
10048 GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
10049 GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
10050 GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
10051 GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
10052 #endif /* GL_GLEXT_PROTOTYPES */
10053 typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
10054 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
10055 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride);
10056 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
10057 typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
10058 typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
10059 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
10060 typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
10061 #endif
10062 
10063 #ifndef GL_SGIX_subsample
10064 #define GL_SGIX_subsample 1
10065 #endif
10066 
10067 #ifndef GL_SGIX_ycrcba
10068 #define GL_SGIX_ycrcba 1
10069 #endif
10070 
10071 #ifndef GL_SGIX_ycrcb_subsample
10072 #define GL_SGIX_ycrcb_subsample 1
10073 #endif
10074 
10075 #ifndef GL_SGIX_depth_pass_instrument
10076 #define GL_SGIX_depth_pass_instrument 1
10077 #endif
10078 
10079 #ifndef GL_3DFX_texture_compression_FXT1
10080 #define GL_3DFX_texture_compression_FXT1 1
10081 #endif
10082 
10083 #ifndef GL_3DFX_multisample
10084 #define GL_3DFX_multisample 1
10085 #endif
10086 
10087 #ifndef GL_3DFX_tbuffer
10088 #define GL_3DFX_tbuffer 1
10089 #ifdef GL_GLEXT_PROTOTYPES
10090 GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
10091 #endif /* GL_GLEXT_PROTOTYPES */
10092 typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
10093 #endif
10094 
10095 #ifndef GL_EXT_multisample
10096 #define GL_EXT_multisample 1
10097 #ifdef GL_GLEXT_PROTOTYPES
10098 GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
10099 GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
10100 #endif /* GL_GLEXT_PROTOTYPES */
10101 typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
10102 typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
10103 #endif
10104 
10105 #ifndef GL_SGIX_vertex_preclip
10106 #define GL_SGIX_vertex_preclip 1
10107 #endif
10108 
10109 #ifndef GL_SGIX_convolution_accuracy
10110 #define GL_SGIX_convolution_accuracy 1
10111 #endif
10112 
10113 #ifndef GL_SGIX_resample
10114 #define GL_SGIX_resample 1
10115 #endif
10116 
10117 #ifndef GL_SGIS_point_line_texgen
10118 #define GL_SGIS_point_line_texgen 1
10119 #endif
10120 
10121 #ifndef GL_SGIS_texture_color_mask
10122 #define GL_SGIS_texture_color_mask 1
10123 #ifdef GL_GLEXT_PROTOTYPES
10124 GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
10125 #endif /* GL_GLEXT_PROTOTYPES */
10126 typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
10127 #endif
10128 
10129 #ifndef GL_SGIX_igloo_interface
10130 #define GL_SGIX_igloo_interface 1
10131 #ifdef GL_GLEXT_PROTOTYPES
10132 GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const GLvoid *params);
10133 #endif /* GL_GLEXT_PROTOTYPES */
10134 typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params);
10135 #endif
10136 
10137 #ifndef GL_EXT_texture_env_dot3
10138 #define GL_EXT_texture_env_dot3 1
10139 #endif
10140 
10141 #ifndef GL_ATI_texture_mirror_once
10142 #define GL_ATI_texture_mirror_once 1
10143 #endif
10144 
10145 #ifndef GL_NV_fence
10146 #define GL_NV_fence 1
10147 #ifdef GL_GLEXT_PROTOTYPES
10148 GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
10149 GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
10150 GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
10151 GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
10152 GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
10153 GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
10154 GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
10155 #endif /* GL_GLEXT_PROTOTYPES */
10156 typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
10157 typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
10158 typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
10159 typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
10160 typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
10161 typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
10162 typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
10163 #endif
10164 
10165 #ifndef GL_NV_evaluators
10166 #define GL_NV_evaluators 1
10167 #ifdef GL_GLEXT_PROTOTYPES
10168 GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
10169 GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
10170 GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
10171 GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
10172 GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
10173 GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
10174 GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
10175 GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
10176 GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
10177 #endif /* GL_GLEXT_PROTOTYPES */
10178 typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
10179 typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
10180 typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
10181 typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
10182 typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
10183 typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
10184 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
10185 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
10186 typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
10187 #endif
10188 
10189 #ifndef GL_NV_packed_depth_stencil
10190 #define GL_NV_packed_depth_stencil 1
10191 #endif
10192 
10193 #ifndef GL_NV_register_combiners2
10194 #define GL_NV_register_combiners2 1
10195 #ifdef GL_GLEXT_PROTOTYPES
10196 GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
10197 GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
10198 #endif /* GL_GLEXT_PROTOTYPES */
10199 typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
10200 typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
10201 #endif
10202 
10203 #ifndef GL_NV_texture_compression_vtc
10204 #define GL_NV_texture_compression_vtc 1
10205 #endif
10206 
10207 #ifndef GL_NV_texture_rectangle
10208 #define GL_NV_texture_rectangle 1
10209 #endif
10210 
10211 #ifndef GL_NV_texture_shader
10212 #define GL_NV_texture_shader 1
10213 #endif
10214 
10215 #ifndef GL_NV_texture_shader2
10216 #define GL_NV_texture_shader2 1
10217 #endif
10218 
10219 #ifndef GL_NV_vertex_array_range2
10220 #define GL_NV_vertex_array_range2 1
10221 #endif
10222 
10223 #ifndef GL_NV_vertex_program
10224 #define GL_NV_vertex_program 1
10225 #ifdef GL_GLEXT_PROTOTYPES
10226 GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
10227 GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
10228 GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
10229 GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
10230 GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
10231 GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
10232 GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
10233 GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
10234 GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
10235 GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
10236 GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
10237 GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
10238 GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
10239 GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, GLvoid* *pointer);
10240 GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
10241 GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
10242 GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10243 GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
10244 GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10245 GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
10246 GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
10247 GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
10248 GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
10249 GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
10250 GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer);
10251 GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
10252 GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
10253 GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
10254 GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
10255 GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
10256 GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
10257 GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
10258 GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
10259 GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
10260 GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
10261 GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
10262 GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
10263 GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
10264 GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
10265 GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
10266 GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
10267 GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
10268 GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
10269 GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10270 GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
10271 GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10272 GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
10273 GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
10274 GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
10275 GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
10276 GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
10277 GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
10278 GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
10279 GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
10280 GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
10281 GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
10282 GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
10283 GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
10284 GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
10285 GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
10286 GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
10287 GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
10288 GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
10289 GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
10290 #endif /* GL_GLEXT_PROTOTYPES */
10291 typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
10292 typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
10293 typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
10294 typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
10295 typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
10296 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
10297 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
10298 typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
10299 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
10300 typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
10301 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
10302 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
10303 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
10304 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
10305 typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
10306 typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
10307 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10308 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
10309 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10310 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
10311 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
10312 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
10313 typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
10314 typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
10315 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer);
10316 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
10317 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
10318 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
10319 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
10320 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
10321 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
10322 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
10323 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
10324 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
10325 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
10326 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
10327 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
10328 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
10329 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
10330 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
10331 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
10332 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
10333 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
10334 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10335 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
10336 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10337 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
10338 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
10339 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
10340 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
10341 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
10342 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10343 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10344 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10345 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10346 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10347 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10348 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10349 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10350 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10351 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
10352 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
10353 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
10354 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
10355 #endif
10356 
10357 #ifndef GL_SGIX_texture_coordinate_clamp
10358 #define GL_SGIX_texture_coordinate_clamp 1
10359 #endif
10360 
10361 #ifndef GL_SGIX_scalebias_hint
10362 #define GL_SGIX_scalebias_hint 1
10363 #endif
10364 
10365 #ifndef GL_OML_interlace
10366 #define GL_OML_interlace 1
10367 #endif
10368 
10369 #ifndef GL_OML_subsample
10370 #define GL_OML_subsample 1
10371 #endif
10372 
10373 #ifndef GL_OML_resample
10374 #define GL_OML_resample 1
10375 #endif
10376 
10377 #ifndef GL_NV_copy_depth_to_color
10378 #define GL_NV_copy_depth_to_color 1
10379 #endif
10380 
10381 #ifndef GL_ATI_envmap_bumpmap
10382 #define GL_ATI_envmap_bumpmap 1
10383 #ifdef GL_GLEXT_PROTOTYPES
10384 GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
10385 GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
10386 GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
10387 GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
10388 #endif /* GL_GLEXT_PROTOTYPES */
10389 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
10390 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
10391 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
10392 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
10393 #endif
10394 
10395 #ifndef GL_ATI_fragment_shader
10396 #define GL_ATI_fragment_shader 1
10397 #ifdef GL_GLEXT_PROTOTYPES
10398 GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
10399 GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
10400 GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
10401 GLAPI void APIENTRY glBeginFragmentShaderATI (void);
10402 GLAPI void APIENTRY glEndFragmentShaderATI (void);
10403 GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
10404 GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
10405 GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
10406 GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
10407 GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
10408 GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
10409 GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
10410 GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
10411 GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
10412 #endif /* GL_GLEXT_PROTOTYPES */
10413 typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
10414 typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
10415 typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
10416 typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
10417 typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
10418 typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
10419 typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
10420 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
10421 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
10422 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
10423 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
10424 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
10425 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
10426 typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
10427 #endif
10428 
10429 #ifndef GL_ATI_pn_triangles
10430 #define GL_ATI_pn_triangles 1
10431 #ifdef GL_GLEXT_PROTOTYPES
10432 GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
10433 GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
10434 #endif /* GL_GLEXT_PROTOTYPES */
10435 typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
10436 typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
10437 #endif
10438 
10439 #ifndef GL_ATI_vertex_array_object
10440 #define GL_ATI_vertex_array_object 1
10441 #ifdef GL_GLEXT_PROTOTYPES
10442 GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const GLvoid *pointer, GLenum usage);
10443 GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
10444 GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve);
10445 GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
10446 GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
10447 GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
10448 GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
10449 GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
10450 GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
10451 GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
10452 GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
10453 GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
10454 #endif /* GL_GLEXT_PROTOTYPES */
10455 typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage);
10456 typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
10457 typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve);
10458 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
10459 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
10460 typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
10461 typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
10462 typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
10463 typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
10464 typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
10465 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
10466 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
10467 #endif
10468 
10469 #ifndef GL_EXT_vertex_shader
10470 #define GL_EXT_vertex_shader 1
10471 #ifdef GL_GLEXT_PROTOTYPES
10472 GLAPI void APIENTRY glBeginVertexShaderEXT (void);
10473 GLAPI void APIENTRY glEndVertexShaderEXT (void);
10474 GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
10475 GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
10476 GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
10477 GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
10478 GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
10479 GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
10480 GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
10481 GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
10482 GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
10483 GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
10484 GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
10485 GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const GLvoid *addr);
10486 GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const GLvoid *addr);
10487 GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
10488 GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
10489 GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
10490 GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
10491 GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
10492 GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
10493 GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
10494 GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
10495 GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const GLvoid *addr);
10496 GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
10497 GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
10498 GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
10499 GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
10500 GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
10501 GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
10502 GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
10503 GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
10504 GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
10505 GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
10506 GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
10507 GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, GLvoid* *data);
10508 GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
10509 GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
10510 GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
10511 GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
10512 GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
10513 GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
10514 #endif /* GL_GLEXT_PROTOTYPES */
10515 typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
10516 typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
10517 typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
10518 typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
10519 typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
10520 typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
10521 typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
10522 typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
10523 typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
10524 typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
10525 typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
10526 typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
10527 typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
10528 typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr);
10529 typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr);
10530 typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
10531 typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
10532 typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
10533 typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
10534 typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
10535 typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
10536 typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
10537 typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
10538 typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid *addr);
10539 typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
10540 typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
10541 typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
10542 typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
10543 typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
10544 typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
10545 typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
10546 typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
10547 typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
10548 typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
10549 typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
10550 typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid* *data);
10551 typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
10552 typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
10553 typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
10554 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
10555 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
10556 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
10557 #endif
10558 
10559 #ifndef GL_ATI_vertex_streams
10560 #define GL_ATI_vertex_streams 1
10561 #ifdef GL_GLEXT_PROTOTYPES
10562 GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
10563 GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
10564 GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
10565 GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
10566 GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
10567 GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
10568 GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
10569 GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
10570 GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
10571 GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
10572 GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
10573 GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
10574 GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
10575 GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
10576 GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
10577 GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
10578 GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
10579 GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
10580 GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
10581 GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
10582 GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
10583 GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
10584 GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
10585 GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
10586 GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
10587 GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
10588 GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
10589 GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
10590 GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10591 GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
10592 GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10593 GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
10594 GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
10595 GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
10596 GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
10597 GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
10598 GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
10599 GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
10600 GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
10601 GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
10602 GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
10603 GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
10604 GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
10605 GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
10606 GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
10607 #endif /* GL_GLEXT_PROTOTYPES */
10608 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
10609 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
10610 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
10611 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
10612 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
10613 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
10614 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
10615 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
10616 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
10617 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
10618 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
10619 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
10620 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
10621 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
10622 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
10623 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
10624 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
10625 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
10626 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
10627 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
10628 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
10629 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
10630 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
10631 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
10632 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
10633 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
10634 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
10635 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
10636 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10637 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
10638 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10639 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
10640 typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
10641 typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
10642 typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
10643 typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
10644 typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
10645 typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
10646 typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
10647 typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
10648 typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
10649 typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
10650 typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
10651 typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
10652 typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
10653 #endif
10654 
10655 #ifndef GL_ATI_element_array
10656 #define GL_ATI_element_array 1
10657 #ifdef GL_GLEXT_PROTOTYPES
10658 GLAPI void APIENTRY glElementPointerATI (GLenum type, const GLvoid *pointer);
10659 GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
10660 GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
10661 #endif /* GL_GLEXT_PROTOTYPES */
10662 typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer);
10663 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
10664 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
10665 #endif
10666 
10667 #ifndef GL_SUN_mesh_array
10668 #define GL_SUN_mesh_array 1
10669 #ifdef GL_GLEXT_PROTOTYPES
10670 GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
10671 #endif /* GL_GLEXT_PROTOTYPES */
10672 typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
10673 #endif
10674 
10675 #ifndef GL_SUN_slice_accum
10676 #define GL_SUN_slice_accum 1
10677 #endif
10678 
10679 #ifndef GL_NV_multisample_filter_hint
10680 #define GL_NV_multisample_filter_hint 1
10681 #endif
10682 
10683 #ifndef GL_NV_depth_clamp
10684 #define GL_NV_depth_clamp 1
10685 #endif
10686 
10687 #ifndef GL_NV_occlusion_query
10688 #define GL_NV_occlusion_query 1
10689 #ifdef GL_GLEXT_PROTOTYPES
10690 GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
10691 GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
10692 GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
10693 GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
10694 GLAPI void APIENTRY glEndOcclusionQueryNV (void);
10695 GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
10696 GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
10697 #endif /* GL_GLEXT_PROTOTYPES */
10698 typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
10699 typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
10700 typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
10701 typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
10702 typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
10703 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
10704 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
10705 #endif
10706 
10707 #ifndef GL_NV_point_sprite
10708 #define GL_NV_point_sprite 1
10709 #ifdef GL_GLEXT_PROTOTYPES
10710 GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
10711 GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
10712 #endif /* GL_GLEXT_PROTOTYPES */
10713 typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
10714 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
10715 #endif
10716 
10717 #ifndef GL_NV_texture_shader3
10718 #define GL_NV_texture_shader3 1
10719 #endif
10720 
10721 #ifndef GL_NV_vertex_program1_1
10722 #define GL_NV_vertex_program1_1 1
10723 #endif
10724 
10725 #ifndef GL_EXT_shadow_funcs
10726 #define GL_EXT_shadow_funcs 1
10727 #endif
10728 
10729 #ifndef GL_EXT_stencil_two_side
10730 #define GL_EXT_stencil_two_side 1
10731 #ifdef GL_GLEXT_PROTOTYPES
10732 GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
10733 #endif /* GL_GLEXT_PROTOTYPES */
10734 typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
10735 #endif
10736 
10737 #ifndef GL_ATI_text_fragment_shader
10738 #define GL_ATI_text_fragment_shader 1
10739 #endif
10740 
10741 #ifndef GL_APPLE_client_storage
10742 #define GL_APPLE_client_storage 1
10743 #endif
10744 
10745 #ifndef GL_APPLE_element_array
10746 #define GL_APPLE_element_array 1
10747 #ifdef GL_GLEXT_PROTOTYPES
10748 GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const GLvoid *pointer);
10749 GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
10750 GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
10751 GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
10752 GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
10753 #endif /* GL_GLEXT_PROTOTYPES */
10754 typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const GLvoid *pointer);
10755 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
10756 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
10757 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
10758 typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
10759 #endif
10760 
10761 #ifndef GL_APPLE_fence
10762 #define GL_APPLE_fence 1
10763 #ifdef GL_GLEXT_PROTOTYPES
10764 GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
10765 GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
10766 GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
10767 GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
10768 GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
10769 GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
10770 GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
10771 GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
10772 #endif /* GL_GLEXT_PROTOTYPES */
10773 typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
10774 typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
10775 typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
10776 typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
10777 typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
10778 typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
10779 typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
10780 typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
10781 #endif
10782 
10783 #ifndef GL_APPLE_vertex_array_object
10784 #define GL_APPLE_vertex_array_object 1
10785 #ifdef GL_GLEXT_PROTOTYPES
10786 GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
10787 GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
10788 GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
10789 GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
10790 #endif /* GL_GLEXT_PROTOTYPES */
10791 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
10792 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
10793 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
10794 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
10795 #endif
10796 
10797 #ifndef GL_APPLE_vertex_array_range
10798 #define GL_APPLE_vertex_array_range 1
10799 #ifdef GL_GLEXT_PROTOTYPES
10800 GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, GLvoid *pointer);
10801 GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, GLvoid *pointer);
10802 GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
10803 #endif /* GL_GLEXT_PROTOTYPES */
10804 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
10805 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
10806 typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
10807 #endif
10808 
10809 #ifndef GL_APPLE_ycbcr_422
10810 #define GL_APPLE_ycbcr_422 1
10811 #endif
10812 
10813 #ifndef GL_S3_s3tc
10814 #define GL_S3_s3tc 1
10815 #endif
10816 
10817 #ifndef GL_ATI_draw_buffers
10818 #define GL_ATI_draw_buffers 1
10819 #ifdef GL_GLEXT_PROTOTYPES
10820 GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
10821 #endif /* GL_GLEXT_PROTOTYPES */
10822 typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
10823 #endif
10824 
10825 #ifndef GL_ATI_pixel_format_float
10826 #define GL_ATI_pixel_format_float 1
10827 /* This is really a WGL extension, but defines some associated GL enums.
10828  * ATI does not export "GL_ATI_pixel_format_float" in the GL_EXTENSIONS string.
10829  */
10830 #endif
10831 
10832 #ifndef GL_ATI_texture_env_combine3
10833 #define GL_ATI_texture_env_combine3 1
10834 #endif
10835 
10836 #ifndef GL_ATI_texture_float
10837 #define GL_ATI_texture_float 1
10838 #endif
10839 
10840 #ifndef GL_NV_float_buffer
10841 #define GL_NV_float_buffer 1
10842 #endif
10843 
10844 #ifndef GL_NV_fragment_program
10845 #define GL_NV_fragment_program 1
10846 /* Some NV_fragment_program entry points are shared with ARB_vertex_program. */
10847 #ifdef GL_GLEXT_PROTOTYPES
10848 GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10849 GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10850 GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
10851 GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
10852 GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
10853 GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
10854 #endif /* GL_GLEXT_PROTOTYPES */
10855 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10856 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10857 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
10858 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
10859 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
10860 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
10861 #endif
10862 
10863 #ifndef GL_NV_half_float
10864 #define GL_NV_half_float 1
10865 #ifdef GL_GLEXT_PROTOTYPES
10866 GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
10867 GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
10868 GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
10869 GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
10870 GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
10871 GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
10872 GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
10873 GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
10874 GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
10875 GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
10876 GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
10877 GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
10878 GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
10879 GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
10880 GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
10881 GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
10882 GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
10883 GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
10884 GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
10885 GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
10886 GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
10887 GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
10888 GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
10889 GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
10890 GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
10891 GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
10892 GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
10893 GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
10894 GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
10895 GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
10896 GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
10897 GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
10898 GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
10899 GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
10900 GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
10901 GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
10902 GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
10903 GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
10904 GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
10905 GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
10906 GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
10907 GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
10908 GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
10909 GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
10910 GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
10911 GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
10912 #endif /* GL_GLEXT_PROTOTYPES */
10913 typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
10914 typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
10915 typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
10916 typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
10917 typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
10918 typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
10919 typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
10920 typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
10921 typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
10922 typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
10923 typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
10924 typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
10925 typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
10926 typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
10927 typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
10928 typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
10929 typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
10930 typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
10931 typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
10932 typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
10933 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
10934 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
10935 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
10936 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
10937 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
10938 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
10939 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
10940 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
10941 typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
10942 typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
10943 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
10944 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
10945 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
10946 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
10947 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
10948 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
10949 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
10950 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
10951 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
10952 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
10953 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
10954 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
10955 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
10956 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
10957 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
10958 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
10959 #endif
10960 
10961 #ifndef GL_NV_pixel_data_range
10962 #define GL_NV_pixel_data_range 1
10963 #ifdef GL_GLEXT_PROTOTYPES
10964 GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const GLvoid *pointer);
10965 GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
10966 #endif /* GL_GLEXT_PROTOTYPES */
10967 typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const GLvoid *pointer);
10968 typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
10969 #endif
10970 
10971 #ifndef GL_NV_primitive_restart
10972 #define GL_NV_primitive_restart 1
10973 #ifdef GL_GLEXT_PROTOTYPES
10974 GLAPI void APIENTRY glPrimitiveRestartNV (void);
10975 GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
10976 #endif /* GL_GLEXT_PROTOTYPES */
10977 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
10978 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
10979 #endif
10980 
10981 #ifndef GL_NV_texture_expand_normal
10982 #define GL_NV_texture_expand_normal 1
10983 #endif
10984 
10985 #ifndef GL_NV_vertex_program2
10986 #define GL_NV_vertex_program2 1
10987 #endif
10988 
10989 #ifndef GL_ATI_map_object_buffer
10990 #define GL_ATI_map_object_buffer 1
10991 #ifdef GL_GLEXT_PROTOTYPES
10992 GLAPI GLvoid* APIENTRY glMapObjectBufferATI (GLuint buffer);
10993 GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
10994 #endif /* GL_GLEXT_PROTOTYPES */
10995 typedef GLvoid* (APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
10996 typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
10997 #endif
10998 
10999 #ifndef GL_ATI_separate_stencil
11000 #define GL_ATI_separate_stencil 1
11001 #ifdef GL_GLEXT_PROTOTYPES
11002 GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
11003 GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
11004 #endif /* GL_GLEXT_PROTOTYPES */
11005 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
11006 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
11007 #endif
11008 
11009 #ifndef GL_ATI_vertex_attrib_array_object
11010 #define GL_ATI_vertex_attrib_array_object 1
11011 #ifdef GL_GLEXT_PROTOTYPES
11012 GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
11013 GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
11014 GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
11015 #endif /* GL_GLEXT_PROTOTYPES */
11016 typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
11017 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
11018 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
11019 #endif
11020 
11021 #ifndef GL_OES_read_format
11022 #define GL_OES_read_format 1
11023 #endif
11024 
11025 #ifndef GL_EXT_depth_bounds_test
11026 #define GL_EXT_depth_bounds_test 1
11027 #ifdef GL_GLEXT_PROTOTYPES
11028 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
11029 #endif /* GL_GLEXT_PROTOTYPES */
11030 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
11031 #endif
11032 
11033 #ifndef GL_EXT_texture_mirror_clamp
11034 #define GL_EXT_texture_mirror_clamp 1
11035 #endif
11036 
11037 #ifndef GL_EXT_blend_equation_separate
11038 #define GL_EXT_blend_equation_separate 1
11039 #ifdef GL_GLEXT_PROTOTYPES
11040 GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
11041 #endif /* GL_GLEXT_PROTOTYPES */
11042 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
11043 #endif
11044 
11045 #ifndef GL_MESA_pack_invert
11046 #define GL_MESA_pack_invert 1
11047 #endif
11048 
11049 #ifndef GL_MESA_ycbcr_texture
11050 #define GL_MESA_ycbcr_texture 1
11051 #endif
11052 
11053 #ifndef GL_EXT_pixel_buffer_object
11054 #define GL_EXT_pixel_buffer_object 1
11055 #endif
11056 
11057 #ifndef GL_NV_fragment_program_option
11058 #define GL_NV_fragment_program_option 1
11059 #endif
11060 
11061 #ifndef GL_NV_fragment_program2
11062 #define GL_NV_fragment_program2 1
11063 #endif
11064 
11065 #ifndef GL_NV_vertex_program2_option
11066 #define GL_NV_vertex_program2_option 1
11067 #endif
11068 
11069 #ifndef GL_NV_vertex_program3
11070 #define GL_NV_vertex_program3 1
11071 #endif
11072 
11073 #ifndef GL_EXT_framebuffer_object
11074 #define GL_EXT_framebuffer_object 1
11075 #ifdef GL_GLEXT_PROTOTYPES
11076 GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
11077 GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
11078 GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
11079 GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
11080 GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
11081 GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
11082 GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
11083 GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
11084 GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
11085 GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
11086 GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
11087 GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
11088 GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
11089 GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
11090 GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
11091 GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
11092 GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
11093 #endif /* GL_GLEXT_PROTOTYPES */
11094 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
11095 typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
11096 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
11097 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
11098 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
11099 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
11100 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
11101 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
11102 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
11103 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
11104 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
11105 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
11106 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
11107 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
11108 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
11109 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
11110 typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
11111 #endif
11112 
11113 #ifndef GL_GREMEDY_string_marker
11114 #define GL_GREMEDY_string_marker 1
11115 #ifdef GL_GLEXT_PROTOTYPES
11116 GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const GLvoid *string);
11117 #endif /* GL_GLEXT_PROTOTYPES */
11118 typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string);
11119 #endif
11120 
11121 #ifndef GL_EXT_packed_depth_stencil
11122 #define GL_EXT_packed_depth_stencil 1
11123 #endif
11124 
11125 #ifndef GL_EXT_stencil_clear_tag
11126 #define GL_EXT_stencil_clear_tag 1
11127 #ifdef GL_GLEXT_PROTOTYPES
11128 GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
11129 #endif /* GL_GLEXT_PROTOTYPES */
11130 typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
11131 #endif
11132 
11133 #ifndef GL_EXT_texture_sRGB
11134 #define GL_EXT_texture_sRGB 1
11135 #endif
11136 
11137 #ifndef GL_EXT_framebuffer_blit
11138 #define GL_EXT_framebuffer_blit 1
11139 #ifdef GL_GLEXT_PROTOTYPES
11140 GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
11141 #endif /* GL_GLEXT_PROTOTYPES */
11142 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
11143 #endif
11144 
11145 #ifndef GL_EXT_framebuffer_multisample
11146 #define GL_EXT_framebuffer_multisample 1
11147 #ifdef GL_GLEXT_PROTOTYPES
11148 GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
11149 #endif /* GL_GLEXT_PROTOTYPES */
11150 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
11151 #endif
11152 
11153 #ifndef GL_MESAX_texture_stack
11154 #define GL_MESAX_texture_stack 1
11155 #endif
11156 
11157 #ifndef GL_EXT_timer_query
11158 #define GL_EXT_timer_query 1
11159 #ifdef GL_GLEXT_PROTOTYPES
11160 GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64EXT *params);
11161 GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64EXT *params);
11162 #endif /* GL_GLEXT_PROTOTYPES */
11163 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params);
11164 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params);
11165 #endif
11166 
11167 #ifndef GL_EXT_gpu_program_parameters
11168 #define GL_EXT_gpu_program_parameters 1
11169 #ifdef GL_GLEXT_PROTOTYPES
11170 GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
11171 GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
11172 #endif /* GL_GLEXT_PROTOTYPES */
11173 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
11174 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
11175 #endif
11176 
11177 #ifndef GL_APPLE_flush_buffer_range
11178 #define GL_APPLE_flush_buffer_range 1
11179 #ifdef GL_GLEXT_PROTOTYPES
11180 GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
11181 GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
11182 #endif /* GL_GLEXT_PROTOTYPES */
11183 typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
11184 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
11185 #endif
11186 
11187 #ifndef GL_NV_gpu_program4
11188 #define GL_NV_gpu_program4 1
11189 #ifdef GL_GLEXT_PROTOTYPES
11190 GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
11191 GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
11192 GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
11193 GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
11194 GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
11195 GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
11196 GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
11197 GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
11198 GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
11199 GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
11200 GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
11201 GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
11202 GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
11203 GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
11204 GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
11205 GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
11206 #endif /* GL_GLEXT_PROTOTYPES */
11207 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
11208 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
11209 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
11210 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
11211 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
11212 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
11213 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
11214 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
11215 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
11216 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
11217 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
11218 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
11219 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
11220 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
11221 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
11222 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
11223 #endif
11224 
11225 #ifndef GL_NV_geometry_program4
11226 #define GL_NV_geometry_program4 1
11227 #ifdef GL_GLEXT_PROTOTYPES
11228 GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
11229 GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
11230 GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
11231 GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
11232 #endif /* GL_GLEXT_PROTOTYPES */
11233 typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
11234 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
11235 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
11236 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
11237 #endif
11238 
11239 #ifndef GL_EXT_geometry_shader4
11240 #define GL_EXT_geometry_shader4 1
11241 #ifdef GL_GLEXT_PROTOTYPES
11242 GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
11243 #endif /* GL_GLEXT_PROTOTYPES */
11244 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
11245 #endif
11246 
11247 #ifndef GL_NV_vertex_program4
11248 #define GL_NV_vertex_program4 1
11249 #ifdef GL_GLEXT_PROTOTYPES
11250 GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
11251 GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
11252 GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
11253 GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
11254 GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
11255 GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
11256 GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
11257 GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
11258 GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
11259 GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
11260 GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
11261 GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
11262 GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
11263 GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
11264 GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
11265 GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
11266 GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
11267 GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
11268 GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
11269 GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
11270 GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
11271 GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
11272 GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
11273 #endif /* GL_GLEXT_PROTOTYPES */
11274 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
11275 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
11276 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
11277 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
11278 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
11279 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
11280 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
11281 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
11282 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
11283 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
11284 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
11285 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
11286 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
11287 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
11288 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
11289 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
11290 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
11291 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
11292 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
11293 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
11294 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
11295 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
11296 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
11297 #endif
11298 
11299 #ifndef GL_EXT_gpu_shader4
11300 #define GL_EXT_gpu_shader4 1
11301 #ifdef GL_GLEXT_PROTOTYPES
11302 GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
11303 GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
11304 GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
11305 GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
11306 GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
11307 GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
11308 GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
11309 GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
11310 GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
11311 GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
11312 GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
11313 #endif /* GL_GLEXT_PROTOTYPES */
11314 typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
11315 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
11316 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
11317 typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
11318 typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
11319 typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
11320 typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
11321 typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
11322 typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
11323 typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
11324 typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
11325 #endif
11326 
11327 #ifndef GL_EXT_draw_instanced
11328 #define GL_EXT_draw_instanced 1
11329 #ifdef GL_GLEXT_PROTOTYPES
11330 GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
11331 GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
11332 #endif /* GL_GLEXT_PROTOTYPES */
11333 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
11334 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
11335 #endif
11336 
11337 #ifndef GL_EXT_packed_float
11338 #define GL_EXT_packed_float 1
11339 #endif
11340 
11341 #ifndef GL_EXT_texture_array
11342 #define GL_EXT_texture_array 1
11343 #endif
11344 
11345 #ifndef GL_EXT_texture_buffer_object
11346 #define GL_EXT_texture_buffer_object 1
11347 #ifdef GL_GLEXT_PROTOTYPES
11348 GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
11349 #endif /* GL_GLEXT_PROTOTYPES */
11350 typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
11351 #endif
11352 
11353 #ifndef GL_EXT_texture_compression_latc
11354 #define GL_EXT_texture_compression_latc 1
11355 #endif
11356 
11357 #ifndef GL_EXT_texture_compression_rgtc
11358 #define GL_EXT_texture_compression_rgtc 1
11359 #endif
11360 
11361 #ifndef GL_EXT_texture_shared_exponent
11362 #define GL_EXT_texture_shared_exponent 1
11363 #endif
11364 
11365 #ifndef GL_NV_depth_buffer_float
11366 #define GL_NV_depth_buffer_float 1
11367 #ifdef GL_GLEXT_PROTOTYPES
11368 GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
11369 GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
11370 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
11371 #endif /* GL_GLEXT_PROTOTYPES */
11372 typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
11373 typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
11374 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
11375 #endif
11376 
11377 #ifndef GL_NV_fragment_program4
11378 #define GL_NV_fragment_program4 1
11379 #endif
11380 
11381 #ifndef GL_NV_framebuffer_multisample_coverage
11382 #define GL_NV_framebuffer_multisample_coverage 1
11383 #ifdef GL_GLEXT_PROTOTYPES
11384 GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
11385 #endif /* GL_GLEXT_PROTOTYPES */
11386 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
11387 #endif
11388 
11389 #ifndef GL_EXT_framebuffer_sRGB
11390 #define GL_EXT_framebuffer_sRGB 1
11391 #endif
11392 
11393 #ifndef GL_NV_geometry_shader4
11394 #define GL_NV_geometry_shader4 1
11395 #endif
11396 
11397 #ifndef GL_NV_parameter_buffer_object
11398 #define GL_NV_parameter_buffer_object 1
11399 #ifdef GL_GLEXT_PROTOTYPES
11400 GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params);
11401 GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params);
11402 GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params);
11403 #endif /* GL_GLEXT_PROTOTYPES */
11404 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params);
11405 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params);
11406 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params);
11407 #endif
11408 
11409 #ifndef GL_EXT_draw_buffers2
11410 #define GL_EXT_draw_buffers2 1
11411 #ifdef GL_GLEXT_PROTOTYPES
11412 GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
11413 GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
11414 GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
11415 GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
11416 GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
11417 GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
11418 #endif /* GL_GLEXT_PROTOTYPES */
11419 typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
11420 typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
11421 typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
11422 typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
11423 typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
11424 typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
11425 #endif
11426 
11427 #ifndef GL_NV_transform_feedback
11428 #define GL_NV_transform_feedback 1
11429 #ifdef GL_GLEXT_PROTOTYPES
11430 GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
11431 GLAPI void APIENTRY glEndTransformFeedbackNV (void);
11432 GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode);
11433 GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
11434 GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
11435 GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
11436 GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
11437 GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
11438 GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
11439 GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
11440 GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
11441 GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
11442 #endif /* GL_GLEXT_PROTOTYPES */
11443 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
11444 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
11445 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
11446 typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
11447 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
11448 typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
11449 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
11450 typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
11451 typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
11452 typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
11453 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
11454 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
11455 #endif
11456 
11457 #ifndef GL_EXT_bindable_uniform
11458 #define GL_EXT_bindable_uniform 1
11459 #ifdef GL_GLEXT_PROTOTYPES
11460 GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
11461 GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
11462 GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
11463 #endif /* GL_GLEXT_PROTOTYPES */
11464 typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
11465 typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
11466 typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
11467 #endif
11468 
11469 #ifndef GL_EXT_texture_integer
11470 #define GL_EXT_texture_integer 1
11471 #ifdef GL_GLEXT_PROTOTYPES
11472 GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
11473 GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
11474 GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
11475 GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
11476 GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
11477 GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
11478 #endif /* GL_GLEXT_PROTOTYPES */
11479 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
11480 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
11481 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
11482 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
11483 typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
11484 typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
11485 #endif
11486 
11487 #ifndef GL_GREMEDY_frame_terminator
11488 #define GL_GREMEDY_frame_terminator 1
11489 #ifdef GL_GLEXT_PROTOTYPES
11490 GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
11491 #endif /* GL_GLEXT_PROTOTYPES */
11492 typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
11493 #endif
11494 
11495 #ifndef GL_NV_conditional_render
11496 #define GL_NV_conditional_render 1
11497 #ifdef GL_GLEXT_PROTOTYPES
11498 GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
11499 GLAPI void APIENTRY glEndConditionalRenderNV (void);
11500 #endif /* GL_GLEXT_PROTOTYPES */
11501 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
11502 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
11503 #endif
11504 
11505 #ifndef GL_NV_present_video
11506 #define GL_NV_present_video 1
11507 #ifdef GL_GLEXT_PROTOTYPES
11508 GLAPI void APIENTRY glPresentFrameKeyedNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
11509 GLAPI void APIENTRY glPresentFrameDualFillNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
11510 GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
11511 GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
11512 GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
11513 GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
11514 #endif /* GL_GLEXT_PROTOTYPES */
11515 typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
11516 typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
11517 typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
11518 typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
11519 typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
11520 typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
11521 #endif
11522 
11523 #ifndef GL_EXT_transform_feedback
11524 #define GL_EXT_transform_feedback 1
11525 #ifdef GL_GLEXT_PROTOTYPES
11526 GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
11527 GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
11528 GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
11529 GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
11530 GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
11531 GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode);
11532 GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
11533 #endif /* GL_GLEXT_PROTOTYPES */
11534 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
11535 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
11536 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
11537 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
11538 typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
11539 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode);
11540 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
11541 #endif
11542 
11543 #ifndef GL_EXT_direct_state_access
11544 #define GL_EXT_direct_state_access 1
11545 #ifdef GL_GLEXT_PROTOTYPES
11546 GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
11547 GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
11548 GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
11549 GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
11550 GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
11551 GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
11552 GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
11553 GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
11554 GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
11555 GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
11556 GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
11557 GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
11558 GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
11559 GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
11560 GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
11561 GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
11562 GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
11563 GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
11564 GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
11565 GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
11566 GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
11567 GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
11568 GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
11569 GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
11570 GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
11571 GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
11572 GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
11573 GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
11574 GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
11575 GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
11576 GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
11577 GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
11578 GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
11579 GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
11580 GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
11581 GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
11582 GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
11583 GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
11584 GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
11585 GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
11586 GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
11587 GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
11588 GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
11589 GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
11590 GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
11591 GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
11592 GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
11593 GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
11594 GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
11595 GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
11596 GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
11597 GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
11598 GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
11599 GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
11600 GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
11601 GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
11602 GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
11603 GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
11604 GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
11605 GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
11606 GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
11607 GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
11608 GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
11609 GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
11610 GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
11611 GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
11612 GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
11613 GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
11614 GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
11615 GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
11616 GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
11617 GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
11618 GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
11619 GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
11620 GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
11621 GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
11622 GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
11623 GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
11624 GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
11625 GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
11626 GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
11627 GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
11628 GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, GLvoid* *data);
11629 GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
11630 GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
11631 GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
11632 GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits);
11633 GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
11634 GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
11635 GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, GLvoid *img);
11636 GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
11637 GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
11638 GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
11639 GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits);
11640 GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
11641 GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
11642 GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, GLvoid *img);
11643 GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string);
11644 GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
11645 GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
11646 GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
11647 GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
11648 GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
11649 GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
11650 GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
11651 GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, GLvoid *string);
11652 GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
11653 GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
11654 GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
11655 GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
11656 GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
11657 GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
11658 GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
11659 GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
11660 GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
11661 GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
11662 GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
11663 GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
11664 GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
11665 GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
11666 GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
11667 GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
11668 GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
11669 GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
11670 GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
11671 GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
11672 GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
11673 GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
11674 GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
11675 GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
11676 GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
11677 GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
11678 GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
11679 GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
11680 GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
11681 GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
11682 GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
11683 GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
11684 GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
11685 GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11686 GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11687 GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11688 GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11689 GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11690 GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11691 GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11692 GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11693 GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11694 GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
11695 GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
11696 GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
11697 GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
11698 GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
11699 GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
11700 GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
11701 GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
11702 GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage);
11703 GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data);
11704 GLAPI GLvoid* APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
11705 GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
11706 GLAPI GLvoid* APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
11707 GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
11708 GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
11709 GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
11710 GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, GLvoid* *params);
11711 GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data);
11712 GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
11713 GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
11714 GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
11715 GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
11716 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
11717 GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
11718 GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
11719 GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
11720 GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
11721 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
11722 GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
11723 GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
11724 GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
11725 GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
11726 GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
11727 GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
11728 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
11729 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
11730 GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
11731 GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
11732 GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
11733 GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
11734 GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
11735 GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
11736 GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
11737 GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
11738 GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
11739 GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
11740 GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
11741 GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
11742 GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
11743 GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11744 GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11745 GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11746 GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11747 GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11748 GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11749 GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11750 GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11751 GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11752 #endif /* GL_GLEXT_PROTOTYPES */
11753 typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
11754 typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
11755 typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
11756 typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
11757 typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
11758 typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
11759 typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
11760 typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
11761 typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
11762 typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
11763 typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
11764 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
11765 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
11766 typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
11767 typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
11768 typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
11769 typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
11770 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
11771 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
11772 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
11773 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
11774 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
11775 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
11776 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
11777 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
11778 typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
11779 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
11780 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
11781 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
11782 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
11783 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
11784 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
11785 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
11786 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
11787 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
11788 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
11789 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
11790 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
11791 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
11792 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
11793 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
11794 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
11795 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
11796 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
11797 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
11798 typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
11799 typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
11800 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
11801 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
11802 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
11803 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
11804 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
11805 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
11806 typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
11807 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
11808 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
11809 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
11810 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
11811 typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
11812 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
11813 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
11814 typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
11815 typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
11816 typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
11817 typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
11818 typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
11819 typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
11820 typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
11821 typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
11822 typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
11823 typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
11824 typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
11825 typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
11826 typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
11827 typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
11828 typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
11829 typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
11830 typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
11831 typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
11832 typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
11833 typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
11834 typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
11835 typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLvoid* *data);
11836 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
11837 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
11838 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
11839 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits);
11840 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
11841 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
11842 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, GLvoid *img);
11843 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
11844 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
11845 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
11846 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits);
11847 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
11848 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
11849 typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, GLvoid *img);
11850 typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string);
11851 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
11852 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
11853 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
11854 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
11855 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
11856 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
11857 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
11858 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, GLvoid *string);
11859 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
11860 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
11861 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
11862 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
11863 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
11864 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
11865 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
11866 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
11867 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
11868 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
11869 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
11870 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
11871 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
11872 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
11873 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
11874 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
11875 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
11876 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
11877 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
11878 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
11879 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
11880 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
11881 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
11882 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
11883 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
11884 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
11885 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
11886 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
11887 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
11888 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
11889 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
11890 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
11891 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
11892 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11893 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11894 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11895 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11896 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11897 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11898 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11899 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11900 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
11901 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
11902 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
11903 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
11904 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
11905 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
11906 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
11907 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
11908 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
11909 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage);
11910 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data);
11911 typedef GLvoid* (APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
11912 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
11913 typedef GLvoid* (APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
11914 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
11915 typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
11916 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
11917 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, GLvoid* *params);
11918 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data);
11919 typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
11920 typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
11921 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
11922 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
11923 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
11924 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
11925 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
11926 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
11927 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
11928 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
11929 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
11930 typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
11931 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
11932 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
11933 typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
11934 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
11935 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
11936 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
11937 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
11938 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
11939 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
11940 typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
11941 typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
11942 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
11943 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
11944 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
11945 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
11946 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
11947 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
11948 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
11949 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
11950 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11951 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11952 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11953 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11954 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11955 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11956 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11957 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11958 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
11959 #endif
11960 
11961 #ifndef GL_EXT_vertex_array_bgra
11962 #define GL_EXT_vertex_array_bgra 1
11963 #endif
11964 
11965 #ifndef GL_EXT_texture_swizzle
11966 #define GL_EXT_texture_swizzle 1
11967 #endif
11968 
11969 #ifndef GL_NV_explicit_multisample
11970 #define GL_NV_explicit_multisample 1
11971 #ifdef GL_GLEXT_PROTOTYPES
11972 GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
11973 GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
11974 GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
11975 #endif /* GL_GLEXT_PROTOTYPES */
11976 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
11977 typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
11978 typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
11979 #endif
11980 
11981 #ifndef GL_NV_transform_feedback2
11982 #define GL_NV_transform_feedback2 1
11983 #ifdef GL_GLEXT_PROTOTYPES
11984 GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
11985 GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
11986 GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
11987 GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
11988 GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
11989 GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
11990 GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
11991 #endif /* GL_GLEXT_PROTOTYPES */
11992 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
11993 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
11994 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
11995 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
11996 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
11997 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
11998 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
11999 #endif
12000 
12001 #ifndef GL_ATI_meminfo
12002 #define GL_ATI_meminfo 1
12003 #endif
12004 
12005 #ifndef GL_AMD_performance_monitor
12006 #define GL_AMD_performance_monitor 1
12007 #ifdef GL_GLEXT_PROTOTYPES
12008 GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
12009 GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
12010 GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
12011 GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
12012 GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
12013 GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
12014 GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
12015 GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
12016 GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
12017 GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
12018 GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
12019 #endif /* GL_GLEXT_PROTOTYPES */
12020 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
12021 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
12022 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
12023 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
12024 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
12025 typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
12026 typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
12027 typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
12028 typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
12029 typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
12030 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
12031 #endif
12032 
12033 #ifndef GL_AMD_texture_texture4
12034 #define GL_AMD_texture_texture4 1
12035 #endif
12036 
12037 #ifndef GL_AMD_vertex_shader_tesselator
12038 #define GL_AMD_vertex_shader_tesselator 1
12039 #ifdef GL_GLEXT_PROTOTYPES
12040 GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
12041 GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
12042 #endif /* GL_GLEXT_PROTOTYPES */
12043 typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
12044 typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
12045 #endif
12046 
12047 #ifndef GL_EXT_provoking_vertex
12048 #define GL_EXT_provoking_vertex 1
12049 #ifdef GL_GLEXT_PROTOTYPES
12050 GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
12051 #endif /* GL_GLEXT_PROTOTYPES */
12052 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
12053 #endif
12054 
12055 #ifndef GL_EXT_texture_snorm
12056 #define GL_EXT_texture_snorm 1
12057 #endif
12058 
12059 #ifndef GL_AMD_draw_buffers_blend
12060 #define GL_AMD_draw_buffers_blend 1
12061 #ifdef GL_GLEXT_PROTOTYPES
12062 GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
12063 GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
12064 GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
12065 GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
12066 #endif /* GL_GLEXT_PROTOTYPES */
12067 typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
12068 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
12069 typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
12070 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
12071 #endif
12072 
12073 #ifndef GL_APPLE_texture_range
12074 #define GL_APPLE_texture_range 1
12075 #ifdef GL_GLEXT_PROTOTYPES
12076 GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const GLvoid *pointer);
12077 GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, GLvoid* *params);
12078 #endif /* GL_GLEXT_PROTOTYPES */
12079 typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const GLvoid *pointer);
12080 typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, GLvoid* *params);
12081 #endif
12082 
12083 #ifndef GL_APPLE_float_pixels
12084 #define GL_APPLE_float_pixels 1
12085 #endif
12086 
12087 #ifndef GL_APPLE_vertex_program_evaluators
12088 #define GL_APPLE_vertex_program_evaluators 1
12089 #ifdef GL_GLEXT_PROTOTYPES
12090 GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
12091 GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
12092 GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
12093 GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
12094 GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
12095 GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
12096 GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
12097 #endif /* GL_GLEXT_PROTOTYPES */
12098 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
12099 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
12100 typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
12101 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
12102 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
12103 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
12104 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
12105 #endif
12106 
12107 #ifndef GL_APPLE_aux_depth_stencil
12108 #define GL_APPLE_aux_depth_stencil 1
12109 #endif
12110 
12111 #ifndef GL_APPLE_object_purgeable
12112 #define GL_APPLE_object_purgeable 1
12113 #ifdef GL_GLEXT_PROTOTYPES
12114 GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
12115 GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
12116 GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
12117 #endif /* GL_GLEXT_PROTOTYPES */
12118 typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
12119 typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
12120 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
12121 #endif
12122 
12123 #ifndef GL_APPLE_row_bytes
12124 #define GL_APPLE_row_bytes 1
12125 #endif
12126 
12127 #ifndef GL_APPLE_rgb_422
12128 #define GL_APPLE_rgb_422 1
12129 #endif
12130 
12131 #ifndef GL_NV_video_capture
12132 #define GL_NV_video_capture 1
12133 #ifdef GL_GLEXT_PROTOTYPES
12134 GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
12135 GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
12136 GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
12137 GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
12138 GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
12139 GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
12140 GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
12141 GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
12142 GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
12143 GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
12144 GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
12145 GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
12146 #endif /* GL_GLEXT_PROTOTYPES */
12147 typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
12148 typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
12149 typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
12150 typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
12151 typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
12152 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
12153 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
12154 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
12155 typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
12156 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
12157 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
12158 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
12159 #endif
12160 
12161 #ifndef GL_NV_copy_image
12162 #define GL_NV_copy_image 1
12163 #ifdef GL_GLEXT_PROTOTYPES
12164 GLAPI void APIENTRY glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
12165 #endif /* GL_GLEXT_PROTOTYPES */
12166 typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
12167 #endif
12168 
12169 #ifndef GL_EXT_separate_shader_objects
12170 #define GL_EXT_separate_shader_objects 1
12171 #ifdef GL_GLEXT_PROTOTYPES
12172 GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
12173 GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
12174 GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
12175 #endif /* GL_GLEXT_PROTOTYPES */
12176 typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
12177 typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
12178 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
12179 #endif
12180 
12181 #ifndef GL_NV_parameter_buffer_object2
12182 #define GL_NV_parameter_buffer_object2 1
12183 #endif
12184 
12185 #ifndef GL_NV_shader_buffer_load
12186 #define GL_NV_shader_buffer_load 1
12187 #ifdef GL_GLEXT_PROTOTYPES
12188 GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
12189 GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
12190 GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
12191 GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
12192 GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
12193 GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
12194 GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
12195 GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
12196 GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
12197 GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
12198 GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
12199 GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
12200 GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
12201 GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
12202 #endif /* GL_GLEXT_PROTOTYPES */
12203 typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
12204 typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
12205 typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
12206 typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
12207 typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
12208 typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
12209 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
12210 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
12211 typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
12212 typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
12213 typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
12214 typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
12215 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
12216 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
12217 #endif
12218 
12219 #ifndef GL_NV_vertex_buffer_unified_memory
12220 #define GL_NV_vertex_buffer_unified_memory 1
12221 #ifdef GL_GLEXT_PROTOTYPES
12222 GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
12223 GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
12224 GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
12225 GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
12226 GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
12227 GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
12228 GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
12229 GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
12230 GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
12231 GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
12232 GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
12233 GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
12234 #endif /* GL_GLEXT_PROTOTYPES */
12235 typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
12236 typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
12237 typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
12238 typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
12239 typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
12240 typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
12241 typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
12242 typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
12243 typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
12244 typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
12245 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
12246 typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
12247 #endif
12248 
12249 #ifndef GL_NV_texture_barrier
12250 #define GL_NV_texture_barrier 1
12251 #ifdef GL_GLEXT_PROTOTYPES
12252 GLAPI void APIENTRY glTextureBarrierNV (void);
12253 #endif /* GL_GLEXT_PROTOTYPES */
12254 typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
12255 #endif
12256 
12257 #ifndef GL_AMD_shader_stencil_export
12258 #define GL_AMD_shader_stencil_export 1
12259 #endif
12260 
12261 #ifndef GL_AMD_seamless_cubemap_per_texture
12262 #define GL_AMD_seamless_cubemap_per_texture 1
12263 #endif
12264 
12265 #ifndef GL_AMD_conservative_depth
12266 #define GL_AMD_conservative_depth 1
12267 #endif
12268 
12269 #ifndef GL_EXT_shader_image_load_store
12270 #define GL_EXT_shader_image_load_store 1
12271 #ifdef GL_GLEXT_PROTOTYPES
12272 GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
12273 GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
12274 #endif /* GL_GLEXT_PROTOTYPES */
12275 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
12276 typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
12277 #endif
12278 
12279 #ifndef GL_EXT_vertex_attrib_64bit
12280 #define GL_EXT_vertex_attrib_64bit 1
12281 #ifdef GL_GLEXT_PROTOTYPES
12282 GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
12283 GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
12284 GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
12285 GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
12286 GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
12287 GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
12288 GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
12289 GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
12290 GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
12291 GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
12292 GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
12293 #endif /* GL_GLEXT_PROTOTYPES */
12294 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
12295 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
12296 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
12297 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
12298 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
12299 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
12300 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
12301 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
12302 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
12303 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
12304 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
12305 #endif
12306 
12307 #ifndef GL_NV_gpu_program5
12308 #define GL_NV_gpu_program5 1
12309 #ifdef GL_GLEXT_PROTOTYPES
12310 GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
12311 GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
12312 #endif /* GL_GLEXT_PROTOTYPES */
12313 typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
12314 typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
12315 #endif
12316 
12317 #ifndef GL_NV_gpu_shader5
12318 #define GL_NV_gpu_shader5 1
12319 #ifdef GL_GLEXT_PROTOTYPES
12320 GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
12321 GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
12322 GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
12323 GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
12324 GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
12325 GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
12326 GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
12327 GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
12328 GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
12329 GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
12330 GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
12331 GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
12332 GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
12333 GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
12334 GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
12335 GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
12336 GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
12337 GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
12338 GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
12339 GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
12340 GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
12341 GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
12342 GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
12343 GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
12344 GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
12345 GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
12346 GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
12347 GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
12348 GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
12349 GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
12350 GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
12351 GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
12352 GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
12353 #endif /* GL_GLEXT_PROTOTYPES */
12354 typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
12355 typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
12356 typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
12357 typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
12358 typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
12359 typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
12360 typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
12361 typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
12362 typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
12363 typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
12364 typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
12365 typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
12366 typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
12367 typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
12368 typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
12369 typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
12370 typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
12371 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
12372 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
12373 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
12374 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
12375 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
12376 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
12377 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
12378 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
12379 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
12380 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
12381 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
12382 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
12383 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
12384 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
12385 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
12386 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
12387 #endif
12388 
12389 #ifndef GL_NV_shader_buffer_store
12390 #define GL_NV_shader_buffer_store 1
12391 #endif
12392 
12393 #ifndef GL_NV_tessellation_program5
12394 #define GL_NV_tessellation_program5 1
12395 #endif
12396 
12397 #ifndef GL_NV_vertex_attrib_integer_64bit
12398 #define GL_NV_vertex_attrib_integer_64bit 1
12399 #ifdef GL_GLEXT_PROTOTYPES
12400 GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
12401 GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
12402 GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
12403 GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
12404 GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
12405 GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
12406 GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
12407 GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
12408 GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
12409 GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
12410 GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
12411 GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
12412 GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
12413 GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
12414 GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
12415 GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
12416 GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
12417 GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
12418 GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
12419 #endif /* GL_GLEXT_PROTOTYPES */
12420 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
12421 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
12422 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
12423 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
12424 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
12425 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
12426 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
12427 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
12428 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
12429 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
12430 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
12431 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
12432 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
12433 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
12434 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
12435 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
12436 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
12437 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
12438 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
12439 #endif
12440 
12441 #ifndef GL_NV_multisample_coverage
12442 #define GL_NV_multisample_coverage 1
12443 #endif
12444 
12445 #ifndef GL_AMD_name_gen_delete
12446 #define GL_AMD_name_gen_delete 1
12447 #ifdef GL_GLEXT_PROTOTYPES
12448 GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
12449 GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
12450 GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
12451 #endif /* GL_GLEXT_PROTOTYPES */
12452 typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
12453 typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
12454 typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
12455 #endif
12456 
12457 #ifndef GL_AMD_debug_output
12458 #define GL_AMD_debug_output 1
12459 #ifdef GL_GLEXT_PROTOTYPES
12460 GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
12461 GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
12462 GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, GLvoid *userParam);
12463 GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
12464 #endif /* GL_GLEXT_PROTOTYPES */
12465 typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
12466 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
12467 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, GLvoid *userParam);
12468 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
12469 #endif
12470 
12471 #ifndef GL_NV_vdpau_interop
12472 #define GL_NV_vdpau_interop 1
12473 #ifdef GL_GLEXT_PROTOTYPES
12474 GLAPI void APIENTRY glVDPAUInitNV (const GLvoid *vdpDevice, const GLvoid *getProcAddress);
12475 GLAPI void APIENTRY glVDPAUFiniNV (void);
12476 GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
12477 GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
12478 GLAPI void APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
12479 GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
12480 GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
12481 GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
12482 GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
12483 GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
12484 #endif /* GL_GLEXT_PROTOTYPES */
12485 typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const GLvoid *vdpDevice, const GLvoid *getProcAddress);
12486 typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
12487 typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
12488 typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
12489 typedef void (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
12490 typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
12491 typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
12492 typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
12493 typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
12494 typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
12495 #endif
12496 
12497 #ifndef GL_AMD_transform_feedback3_lines_triangles
12498 #define GL_AMD_transform_feedback3_lines_triangles 1
12499 #endif
12500 
12501 #ifndef GL_AMD_depth_clamp_separate
12502 #define GL_AMD_depth_clamp_separate 1
12503 #endif
12504 
12505 #ifndef GL_EXT_texture_sRGB_decode
12506 #define GL_EXT_texture_sRGB_decode 1
12507 #endif
12508 
12509 #ifndef GL_NV_texture_multisample
12510 #define GL_NV_texture_multisample 1
12511 #ifdef GL_GLEXT_PROTOTYPES
12512 GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
12513 GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
12514 GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
12515 GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
12516 GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
12517 GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
12518 #endif /* GL_GLEXT_PROTOTYPES */
12519 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
12520 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
12521 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
12522 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
12523 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
12524 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
12525 #endif
12526 
12527 #ifndef GL_AMD_blend_minmax_factor
12528 #define GL_AMD_blend_minmax_factor 1
12529 #endif
12530 
12531 #ifndef GL_AMD_sample_positions
12532 #define GL_AMD_sample_positions 1
12533 #ifdef GL_GLEXT_PROTOTYPES
12534 GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
12535 #endif /* GL_GLEXT_PROTOTYPES */
12536 typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
12537 #endif
12538 
12539 #ifndef GL_EXT_x11_sync_object
12540 #define GL_EXT_x11_sync_object 1
12541 #ifdef GL_GLEXT_PROTOTYPES
12542 GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
12543 #endif /* GL_GLEXT_PROTOTYPES */
12544 typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
12545 #endif
12546 
12547 #ifndef GL_AMD_multi_draw_indirect
12548 #define GL_AMD_multi_draw_indirect 1
12549 #ifdef GL_GLEXT_PROTOTYPES
12550 GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const GLvoid *indirect, GLsizei primcount, GLsizei stride);
12551 GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const GLvoid *indirect, GLsizei primcount, GLsizei stride);
12552 #endif /* GL_GLEXT_PROTOTYPES */
12553 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const GLvoid *indirect, GLsizei primcount, GLsizei stride);
12554 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const GLvoid *indirect, GLsizei primcount, GLsizei stride);
12555 #endif
12556 
12557 #ifndef GL_EXT_framebuffer_multisample_blit_scaled
12558 #define GL_EXT_framebuffer_multisample_blit_scaled 1
12559 #endif
12560 
12561 #ifndef GL_NV_path_rendering
12562 #define GL_NV_path_rendering 1
12563 #ifdef GL_GLEXT_PROTOTYPES
12564 GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
12565 GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
12566 GLAPI GLboolean APIENTRY glIsPathNV (GLuint path);
12567 GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
12568 GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
12569 GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
12570 GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
12571 GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const GLvoid *pathString);
12572 GLAPI void APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const GLvoid *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
12573 GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
12574 GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
12575 GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
12576 GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
12577 GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
12578 GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
12579 GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
12580 GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
12581 GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
12582 GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
12583 GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
12584 GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
12585 GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
12586 GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
12587 GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
12588 GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
12589 GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
12590 GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
12591 GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
12592 GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
12593 GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
12594 GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
12595 GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
12596 GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
12597 GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
12598 GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
12599 GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
12600 GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
12601 GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
12602 GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
12603 GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
12604 GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
12605 GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
12606 GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
12607 GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
12608 GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
12609 GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
12610 GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
12611 GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
12612 GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
12613 #endif /* GL_GLEXT_PROTOTYPES */
12614 typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
12615 typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
12616 typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
12617 typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
12618 typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
12619 typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
12620 typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
12621 typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const GLvoid *pathString);
12622 typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const GLvoid *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
12623 typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
12624 typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
12625 typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
12626 typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
12627 typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
12628 typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
12629 typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
12630 typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
12631 typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
12632 typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
12633 typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
12634 typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
12635 typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
12636 typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
12637 typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
12638 typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
12639 typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
12640 typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
12641 typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
12642 typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
12643 typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
12644 typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
12645 typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
12646 typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
12647 typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
12648 typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
12649 typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
12650 typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
12651 typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
12652 typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
12653 typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
12654 typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
12655 typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
12656 typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
12657 typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
12658 typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
12659 typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
12660 typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
12661 typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
12662 typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
12663 #endif
12664 
12665 #ifndef GL_AMD_pinned_memory
12666 #define GL_AMD_pinned_memory 1
12667 #endif
12668 
12669 #ifndef GL_AMD_stencil_operation_extended
12670 #define GL_AMD_stencil_operation_extended 1
12671 #ifdef GL_GLEXT_PROTOTYPES
12672 GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
12673 #endif /* GL_GLEXT_PROTOTYPES */
12674 typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
12675 #endif
12676 
12677 #ifndef GL_AMD_vertex_shader_viewport_index
12678 #define GL_AMD_vertex_shader_viewport_index 1
12679 #endif
12680 
12681 #ifndef GL_AMD_vertex_shader_layer
12682 #define GL_AMD_vertex_shader_layer 1
12683 #endif
12684 
12685 #ifndef GL_NV_bindless_texture
12686 #define GL_NV_bindless_texture 1
12687 #ifdef GL_GLEXT_PROTOTYPES
12688 GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
12689 GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
12690 GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
12691 GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
12692 GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
12693 GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
12694 GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
12695 GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
12696 GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
12697 GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
12698 GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
12699 GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
12700 GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
12701 #endif /* GL_GLEXT_PROTOTYPES */
12702 typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
12703 typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
12704 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
12705 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
12706 typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
12707 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
12708 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
12709 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
12710 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
12711 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
12712 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
12713 typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
12714 typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
12715 #endif
12716 
12717 #ifndef GL_NV_shader_atomic_float
12718 #define GL_NV_shader_atomic_float 1
12719 #endif
12720 
12721 #ifndef GL_AMD_query_buffer_object
12722 #define GL_AMD_query_buffer_object 1
12723 #endif
12724 
12725 #ifndef GL_AMD_sparse_texture
12726 #define GL_AMD_sparse_texture 1
12727 #ifdef GL_GLEXT_PROTOTYPES
12728 GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
12729 GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
12730 #endif /* GL_GLEXT_PROTOTYPES */
12731 typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
12732 typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
12733 #endif
12734 
12735 
12736 #ifdef __cplusplus
12737 }
12738 #endif
12739 
12740 #endif
12741