COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
khronos-glext.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef __glext_h_
9 #define __glext_h_
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 /*
16 ** THIS FILE IS OBSOLETE. Please migrate away from using the
17 ** ".spec" files and the headers generated from them to the
18 ** XML Registry and headers generated from that. See
19 ** http://www.opengl.org/registry/api/README.txt
20 ** for more information.
21 **
22 **
23 ** Copyright (c) 2007-2013 The Khronos Group Inc.
24 **
25 ** Permission is hereby granted, free of charge, to any person obtaining a
26 ** copy of this software and/or associated documentation files (the
27 ** "Materials"), to deal in the Materials without restriction, including
28 ** without limitation the rights to use, copy, modify, merge, publish,
29 ** distribute, sublicense, and/or sell copies of the Materials, and to
30 ** permit persons to whom the Materials are furnished to do so, subject to
31 ** the following conditions:
32 **
33 ** The above copyright notice and this permission notice shall be included
34 ** in all copies or substantial portions of the Materials.
35 **
36 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
37 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
38 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
39 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
40 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
41 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
42 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
43 */
44 
45 /* Header file version number, required by OpenGL ABI for Linux */
46 /* glext.h last updated $Date: 2013-06-13 02:52:31 -0700 (Thu, 13 Jun 2013) $ */
47 /* Current version at http://www.opengl.org/registry/ */
48 #define GL_GLEXT_VERSION 87
49 /* Function declaration macros - to move into glplatform.h */
50 
51 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
52 #define WIN32_LEAN_AND_MEAN 1
53 #include <windows.h>
54 #endif
55 
56 #ifndef APIENTRY
57 #define APIENTRY
58 #endif
59 #ifndef APIENTRYP
60 #define APIENTRYP APIENTRY *
61 #endif
62 #ifndef GLAPI
63 #define GLAPI extern
64 #endif
65 
66 /*************************************************************/
67 
68 #ifndef GL_VERSION_1_2
69 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
70 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
71 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
72 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
73 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
74 #define GL_TEXTURE_BINDING_3D 0x806A
75 #define GL_PACK_SKIP_IMAGES 0x806B
76 #define GL_PACK_IMAGE_HEIGHT 0x806C
77 #define GL_UNPACK_SKIP_IMAGES 0x806D
78 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
79 #define GL_TEXTURE_3D 0x806F
80 #define GL_PROXY_TEXTURE_3D 0x8070
81 #define GL_TEXTURE_DEPTH 0x8071
82 #define GL_TEXTURE_WRAP_R 0x8072
83 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
84 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
85 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
86 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
87 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
88 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
89 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
90 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
91 #define GL_BGR 0x80E0
92 #define GL_BGRA 0x80E1
93 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
94 #define GL_MAX_ELEMENTS_INDICES 0x80E9
95 #define GL_CLAMP_TO_EDGE 0x812F
96 #define GL_TEXTURE_MIN_LOD 0x813A
97 #define GL_TEXTURE_MAX_LOD 0x813B
98 #define GL_TEXTURE_BASE_LEVEL 0x813C
99 #define GL_TEXTURE_MAX_LEVEL 0x813D
100 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
101 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
102 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
103 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
104 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
105 #define GL_RESCALE_NORMAL 0x803A
106 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
107 #define GL_SINGLE_COLOR 0x81F9
108 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
109 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
110 #endif
111 
112 #ifndef GL_ARB_imaging
113 #define GL_CONSTANT_COLOR 0x8001
114 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
115 #define GL_CONSTANT_ALPHA 0x8003
116 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
117 #define GL_BLEND_COLOR 0x8005
118 #define GL_FUNC_ADD 0x8006
119 #define GL_MIN 0x8007
120 #define GL_MAX 0x8008
121 #define GL_BLEND_EQUATION 0x8009
122 #define GL_FUNC_SUBTRACT 0x800A
123 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
124 #define GL_CONVOLUTION_1D 0x8010
125 #define GL_CONVOLUTION_2D 0x8011
126 #define GL_SEPARABLE_2D 0x8012
127 #define GL_CONVOLUTION_BORDER_MODE 0x8013
128 #define GL_CONVOLUTION_FILTER_SCALE 0x8014
129 #define GL_CONVOLUTION_FILTER_BIAS 0x8015
130 #define GL_REDUCE 0x8016
131 #define GL_CONVOLUTION_FORMAT 0x8017
132 #define GL_CONVOLUTION_WIDTH 0x8018
133 #define GL_CONVOLUTION_HEIGHT 0x8019
134 #define GL_MAX_CONVOLUTION_WIDTH 0x801A
135 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
136 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
137 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
138 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
139 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
140 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
141 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
142 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
143 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
144 #define GL_HISTOGRAM 0x8024
145 #define GL_PROXY_HISTOGRAM 0x8025
146 #define GL_HISTOGRAM_WIDTH 0x8026
147 #define GL_HISTOGRAM_FORMAT 0x8027
148 #define GL_HISTOGRAM_RED_SIZE 0x8028
149 #define GL_HISTOGRAM_GREEN_SIZE 0x8029
150 #define GL_HISTOGRAM_BLUE_SIZE 0x802A
151 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
152 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
153 #define GL_HISTOGRAM_SINK 0x802D
154 #define GL_MINMAX 0x802E
155 #define GL_MINMAX_FORMAT 0x802F
156 #define GL_MINMAX_SINK 0x8030
157 #define GL_TABLE_TOO_LARGE 0x8031
158 #define GL_COLOR_MATRIX 0x80B1
159 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
160 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
161 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
162 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
163 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
164 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
165 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
166 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
167 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
168 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
169 #define GL_COLOR_TABLE 0x80D0
170 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
171 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
172 #define GL_PROXY_COLOR_TABLE 0x80D3
173 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
174 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
175 #define GL_COLOR_TABLE_SCALE 0x80D6
176 #define GL_COLOR_TABLE_BIAS 0x80D7
177 #define GL_COLOR_TABLE_FORMAT 0x80D8
178 #define GL_COLOR_TABLE_WIDTH 0x80D9
179 #define GL_COLOR_TABLE_RED_SIZE 0x80DA
180 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
181 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
182 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
183 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
184 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
185 #define GL_CONSTANT_BORDER 0x8151
186 #define GL_REPLICATE_BORDER 0x8153
187 #define GL_CONVOLUTION_BORDER_COLOR 0x8154
188 #endif
189 
190 #ifndef GL_VERSION_1_3
191 #define GL_TEXTURE0 0x84C0
192 #define GL_TEXTURE1 0x84C1
193 #define GL_TEXTURE2 0x84C2
194 #define GL_TEXTURE3 0x84C3
195 #define GL_TEXTURE4 0x84C4
196 #define GL_TEXTURE5 0x84C5
197 #define GL_TEXTURE6 0x84C6
198 #define GL_TEXTURE7 0x84C7
199 #define GL_TEXTURE8 0x84C8
200 #define GL_TEXTURE9 0x84C9
201 #define GL_TEXTURE10 0x84CA
202 #define GL_TEXTURE11 0x84CB
203 #define GL_TEXTURE12 0x84CC
204 #define GL_TEXTURE13 0x84CD
205 #define GL_TEXTURE14 0x84CE
206 #define GL_TEXTURE15 0x84CF
207 #define GL_TEXTURE16 0x84D0
208 #define GL_TEXTURE17 0x84D1
209 #define GL_TEXTURE18 0x84D2
210 #define GL_TEXTURE19 0x84D3
211 #define GL_TEXTURE20 0x84D4
212 #define GL_TEXTURE21 0x84D5
213 #define GL_TEXTURE22 0x84D6
214 #define GL_TEXTURE23 0x84D7
215 #define GL_TEXTURE24 0x84D8
216 #define GL_TEXTURE25 0x84D9
217 #define GL_TEXTURE26 0x84DA
218 #define GL_TEXTURE27 0x84DB
219 #define GL_TEXTURE28 0x84DC
220 #define GL_TEXTURE29 0x84DD
221 #define GL_TEXTURE30 0x84DE
222 #define GL_TEXTURE31 0x84DF
223 #define GL_ACTIVE_TEXTURE 0x84E0
224 #define GL_MULTISAMPLE 0x809D
225 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
226 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
227 #define GL_SAMPLE_COVERAGE 0x80A0
228 #define GL_SAMPLE_BUFFERS 0x80A8
229 #define GL_SAMPLES 0x80A9
230 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
231 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
232 #define GL_TEXTURE_CUBE_MAP 0x8513
233 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
234 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
235 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
236 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
237 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
238 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
239 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
240 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
241 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
242 #define GL_COMPRESSED_RGB 0x84ED
243 #define GL_COMPRESSED_RGBA 0x84EE
244 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
245 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
246 #define GL_TEXTURE_COMPRESSED 0x86A1
247 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
248 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
249 #define GL_CLAMP_TO_BORDER 0x812D
250 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
251 #define GL_MAX_TEXTURE_UNITS 0x84E2
252 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
253 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
254 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
255 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
256 #define GL_MULTISAMPLE_BIT 0x20000000
257 #define GL_NORMAL_MAP 0x8511
258 #define GL_REFLECTION_MAP 0x8512
259 #define GL_COMPRESSED_ALPHA 0x84E9
260 #define GL_COMPRESSED_LUMINANCE 0x84EA
261 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
262 #define GL_COMPRESSED_INTENSITY 0x84EC
263 #define GL_COMBINE 0x8570
264 #define GL_COMBINE_RGB 0x8571
265 #define GL_COMBINE_ALPHA 0x8572
266 #define GL_SOURCE0_RGB 0x8580
267 #define GL_SOURCE1_RGB 0x8581
268 #define GL_SOURCE2_RGB 0x8582
269 #define GL_SOURCE0_ALPHA 0x8588
270 #define GL_SOURCE1_ALPHA 0x8589
271 #define GL_SOURCE2_ALPHA 0x858A
272 #define GL_OPERAND0_RGB 0x8590
273 #define GL_OPERAND1_RGB 0x8591
274 #define GL_OPERAND2_RGB 0x8592
275 #define GL_OPERAND0_ALPHA 0x8598
276 #define GL_OPERAND1_ALPHA 0x8599
277 #define GL_OPERAND2_ALPHA 0x859A
278 #define GL_RGB_SCALE 0x8573
279 #define GL_ADD_SIGNED 0x8574
280 #define GL_INTERPOLATE 0x8575
281 #define GL_SUBTRACT 0x84E7
282 #define GL_CONSTANT 0x8576
283 #define GL_PRIMARY_COLOR 0x8577
284 #define GL_PREVIOUS 0x8578
285 #define GL_DOT3_RGB 0x86AE
286 #define GL_DOT3_RGBA 0x86AF
287 #endif
288 
289 #ifndef GL_VERSION_1_4
290 #define GL_BLEND_DST_RGB 0x80C8
291 #define GL_BLEND_SRC_RGB 0x80C9
292 #define GL_BLEND_DST_ALPHA 0x80CA
293 #define GL_BLEND_SRC_ALPHA 0x80CB
294 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
295 #define GL_DEPTH_COMPONENT16 0x81A5
296 #define GL_DEPTH_COMPONENT24 0x81A6
297 #define GL_DEPTH_COMPONENT32 0x81A7
298 #define GL_MIRRORED_REPEAT 0x8370
299 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
300 #define GL_TEXTURE_LOD_BIAS 0x8501
301 #define GL_INCR_WRAP 0x8507
302 #define GL_DECR_WRAP 0x8508
303 #define GL_TEXTURE_DEPTH_SIZE 0x884A
304 #define GL_TEXTURE_COMPARE_MODE 0x884C
305 #define GL_TEXTURE_COMPARE_FUNC 0x884D
306 #define GL_POINT_SIZE_MIN 0x8126
307 #define GL_POINT_SIZE_MAX 0x8127
308 #define GL_POINT_DISTANCE_ATTENUATION 0x8129
309 #define GL_GENERATE_MIPMAP 0x8191
310 #define GL_GENERATE_MIPMAP_HINT 0x8192
311 #define GL_FOG_COORDINATE_SOURCE 0x8450
312 #define GL_FOG_COORDINATE 0x8451
313 #define GL_FRAGMENT_DEPTH 0x8452
314 #define GL_CURRENT_FOG_COORDINATE 0x8453
315 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
316 #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
317 #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
318 #define GL_FOG_COORDINATE_ARRAY 0x8457
319 #define GL_COLOR_SUM 0x8458
320 #define GL_CURRENT_SECONDARY_COLOR 0x8459
321 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
322 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
323 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
324 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
325 #define GL_SECONDARY_COLOR_ARRAY 0x845E
326 #define GL_TEXTURE_FILTER_CONTROL 0x8500
327 #define GL_DEPTH_TEXTURE_MODE 0x884B
328 #define GL_COMPARE_R_TO_TEXTURE 0x884E
329 #endif
330 
331 #ifndef GL_VERSION_1_5
332 #define GL_BUFFER_SIZE 0x8764
333 #define GL_BUFFER_USAGE 0x8765
334 #define GL_QUERY_COUNTER_BITS 0x8864
335 #define GL_CURRENT_QUERY 0x8865
336 #define GL_QUERY_RESULT 0x8866
337 #define GL_QUERY_RESULT_AVAILABLE 0x8867
338 #define GL_ARRAY_BUFFER 0x8892
339 #define GL_ELEMENT_ARRAY_BUFFER 0x8893
340 #define GL_ARRAY_BUFFER_BINDING 0x8894
341 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
342 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
343 #define GL_READ_ONLY 0x88B8
344 #define GL_WRITE_ONLY 0x88B9
345 #define GL_READ_WRITE 0x88BA
346 #define GL_BUFFER_ACCESS 0x88BB
347 #define GL_BUFFER_MAPPED 0x88BC
348 #define GL_BUFFER_MAP_POINTER 0x88BD
349 #define GL_STREAM_DRAW 0x88E0
350 #define GL_STREAM_READ 0x88E1
351 #define GL_STREAM_COPY 0x88E2
352 #define GL_STATIC_DRAW 0x88E4
353 #define GL_STATIC_READ 0x88E5
354 #define GL_STATIC_COPY 0x88E6
355 #define GL_DYNAMIC_DRAW 0x88E8
356 #define GL_DYNAMIC_READ 0x88E9
357 #define GL_DYNAMIC_COPY 0x88EA
358 #define GL_SAMPLES_PASSED 0x8914
359 #define GL_SRC1_ALPHA 0x8589
360 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
361 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
362 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
363 #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
364 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
365 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
366 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
367 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
368 #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
369 #define GL_FOG_COORD_SRC 0x8450
370 #define GL_FOG_COORD 0x8451
371 #define GL_CURRENT_FOG_COORD 0x8453
372 #define GL_FOG_COORD_ARRAY_TYPE 0x8454
373 #define GL_FOG_COORD_ARRAY_STRIDE 0x8455
374 #define GL_FOG_COORD_ARRAY_POINTER 0x8456
375 #define GL_FOG_COORD_ARRAY 0x8457
376 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
377 #define GL_SRC0_RGB 0x8580
378 #define GL_SRC1_RGB 0x8581
379 #define GL_SRC2_RGB 0x8582
380 #define GL_SRC0_ALPHA 0x8588
381 #define GL_SRC2_ALPHA 0x858A
382 #endif
383 
384 #ifndef GL_VERSION_2_0
385 #define GL_BLEND_EQUATION_RGB 0x8009
386 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
387 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
388 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
389 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
390 #define GL_CURRENT_VERTEX_ATTRIB 0x8626
391 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
392 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
393 #define GL_STENCIL_BACK_FUNC 0x8800
394 #define GL_STENCIL_BACK_FAIL 0x8801
395 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
396 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
397 #define GL_MAX_DRAW_BUFFERS 0x8824
398 #define GL_DRAW_BUFFER0 0x8825
399 #define GL_DRAW_BUFFER1 0x8826
400 #define GL_DRAW_BUFFER2 0x8827
401 #define GL_DRAW_BUFFER3 0x8828
402 #define GL_DRAW_BUFFER4 0x8829
403 #define GL_DRAW_BUFFER5 0x882A
404 #define GL_DRAW_BUFFER6 0x882B
405 #define GL_DRAW_BUFFER7 0x882C
406 #define GL_DRAW_BUFFER8 0x882D
407 #define GL_DRAW_BUFFER9 0x882E
408 #define GL_DRAW_BUFFER10 0x882F
409 #define GL_DRAW_BUFFER11 0x8830
410 #define GL_DRAW_BUFFER12 0x8831
411 #define GL_DRAW_BUFFER13 0x8832
412 #define GL_DRAW_BUFFER14 0x8833
413 #define GL_DRAW_BUFFER15 0x8834
414 #define GL_BLEND_EQUATION_ALPHA 0x883D
415 #define GL_MAX_VERTEX_ATTRIBS 0x8869
416 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
417 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
418 #define GL_FRAGMENT_SHADER 0x8B30
419 #define GL_VERTEX_SHADER 0x8B31
420 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
421 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
422 #define GL_MAX_VARYING_FLOATS 0x8B4B
423 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
424 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
425 #define GL_SHADER_TYPE 0x8B4F
426 #define GL_FLOAT_VEC2 0x8B50
427 #define GL_FLOAT_VEC3 0x8B51
428 #define GL_FLOAT_VEC4 0x8B52
429 #define GL_INT_VEC2 0x8B53
430 #define GL_INT_VEC3 0x8B54
431 #define GL_INT_VEC4 0x8B55
432 #define GL_BOOL 0x8B56
433 #define GL_BOOL_VEC2 0x8B57
434 #define GL_BOOL_VEC3 0x8B58
435 #define GL_BOOL_VEC4 0x8B59
436 #define GL_FLOAT_MAT2 0x8B5A
437 #define GL_FLOAT_MAT3 0x8B5B
438 #define GL_FLOAT_MAT4 0x8B5C
439 #define GL_SAMPLER_1D 0x8B5D
440 #define GL_SAMPLER_2D 0x8B5E
441 #define GL_SAMPLER_3D 0x8B5F
442 #define GL_SAMPLER_CUBE 0x8B60
443 #define GL_SAMPLER_1D_SHADOW 0x8B61
444 #define GL_SAMPLER_2D_SHADOW 0x8B62
445 #define GL_DELETE_STATUS 0x8B80
446 #define GL_COMPILE_STATUS 0x8B81
447 #define GL_LINK_STATUS 0x8B82
448 #define GL_VALIDATE_STATUS 0x8B83
449 #define GL_INFO_LOG_LENGTH 0x8B84
450 #define GL_ATTACHED_SHADERS 0x8B85
451 #define GL_ACTIVE_UNIFORMS 0x8B86
452 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
453 #define GL_SHADER_SOURCE_LENGTH 0x8B88
454 #define GL_ACTIVE_ATTRIBUTES 0x8B89
455 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
456 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
457 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
458 #define GL_CURRENT_PROGRAM 0x8B8D
459 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
460 #define GL_LOWER_LEFT 0x8CA1
461 #define GL_UPPER_LEFT 0x8CA2
462 #define GL_STENCIL_BACK_REF 0x8CA3
463 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
464 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
465 #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
466 #define GL_POINT_SPRITE 0x8861
467 #define GL_COORD_REPLACE 0x8862
468 #define GL_MAX_TEXTURE_COORDS 0x8871
469 #endif
470 
471 #ifndef GL_VERSION_2_1
472 #define GL_PIXEL_PACK_BUFFER 0x88EB
473 #define GL_PIXEL_UNPACK_BUFFER 0x88EC
474 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
475 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
476 #define GL_FLOAT_MAT2x3 0x8B65
477 #define GL_FLOAT_MAT2x4 0x8B66
478 #define GL_FLOAT_MAT3x2 0x8B67
479 #define GL_FLOAT_MAT3x4 0x8B68
480 #define GL_FLOAT_MAT4x2 0x8B69
481 #define GL_FLOAT_MAT4x3 0x8B6A
482 #define GL_SRGB 0x8C40
483 #define GL_SRGB8 0x8C41
484 #define GL_SRGB_ALPHA 0x8C42
485 #define GL_SRGB8_ALPHA8 0x8C43
486 #define GL_COMPRESSED_SRGB 0x8C48
487 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
488 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
489 #define GL_SLUMINANCE_ALPHA 0x8C44
490 #define GL_SLUMINANCE8_ALPHA8 0x8C45
491 #define GL_SLUMINANCE 0x8C46
492 #define GL_SLUMINANCE8 0x8C47
493 #define GL_COMPRESSED_SLUMINANCE 0x8C4A
494 #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
495 #endif
496 
497 #ifndef GL_VERSION_3_0
498 #define GL_COMPARE_REF_TO_TEXTURE 0x884E
499 #define GL_CLIP_DISTANCE0 0x3000
500 #define GL_CLIP_DISTANCE1 0x3001
501 #define GL_CLIP_DISTANCE2 0x3002
502 #define GL_CLIP_DISTANCE3 0x3003
503 #define GL_CLIP_DISTANCE4 0x3004
504 #define GL_CLIP_DISTANCE5 0x3005
505 #define GL_CLIP_DISTANCE6 0x3006
506 #define GL_CLIP_DISTANCE7 0x3007
507 #define GL_MAX_CLIP_DISTANCES 0x0D32
508 #define GL_MAJOR_VERSION 0x821B
509 #define GL_MINOR_VERSION 0x821C
510 #define GL_NUM_EXTENSIONS 0x821D
511 #define GL_CONTEXT_FLAGS 0x821E
512 #define GL_COMPRESSED_RED 0x8225
513 #define GL_COMPRESSED_RG 0x8226
514 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
515 #define GL_RGBA32F 0x8814
516 #define GL_RGB32F 0x8815
517 #define GL_RGBA16F 0x881A
518 #define GL_RGB16F 0x881B
519 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
520 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
521 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
522 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
523 #define GL_CLAMP_READ_COLOR 0x891C
524 #define GL_FIXED_ONLY 0x891D
525 #define GL_MAX_VARYING_COMPONENTS 0x8B4B
526 #define GL_TEXTURE_1D_ARRAY 0x8C18
527 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
528 #define GL_TEXTURE_2D_ARRAY 0x8C1A
529 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
530 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
531 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
532 #define GL_R11F_G11F_B10F 0x8C3A
533 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
534 #define GL_RGB9_E5 0x8C3D
535 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
536 #define GL_TEXTURE_SHARED_SIZE 0x8C3F
537 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
538 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
539 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
540 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
541 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
542 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
543 #define GL_PRIMITIVES_GENERATED 0x8C87
544 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
545 #define GL_RASTERIZER_DISCARD 0x8C89
546 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
547 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
548 #define GL_INTERLEAVED_ATTRIBS 0x8C8C
549 #define GL_SEPARATE_ATTRIBS 0x8C8D
550 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
551 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
552 #define GL_RGBA32UI 0x8D70
553 #define GL_RGB32UI 0x8D71
554 #define GL_RGBA16UI 0x8D76
555 #define GL_RGB16UI 0x8D77
556 #define GL_RGBA8UI 0x8D7C
557 #define GL_RGB8UI 0x8D7D
558 #define GL_RGBA32I 0x8D82
559 #define GL_RGB32I 0x8D83
560 #define GL_RGBA16I 0x8D88
561 #define GL_RGB16I 0x8D89
562 #define GL_RGBA8I 0x8D8E
563 #define GL_RGB8I 0x8D8F
564 #define GL_RED_INTEGER 0x8D94
565 #define GL_GREEN_INTEGER 0x8D95
566 #define GL_BLUE_INTEGER 0x8D96
567 #define GL_RGB_INTEGER 0x8D98
568 #define GL_RGBA_INTEGER 0x8D99
569 #define GL_BGR_INTEGER 0x8D9A
570 #define GL_BGRA_INTEGER 0x8D9B
571 #define GL_SAMPLER_1D_ARRAY 0x8DC0
572 #define GL_SAMPLER_2D_ARRAY 0x8DC1
573 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
574 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
575 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
576 #define GL_UNSIGNED_INT_VEC2 0x8DC6
577 #define GL_UNSIGNED_INT_VEC3 0x8DC7
578 #define GL_UNSIGNED_INT_VEC4 0x8DC8
579 #define GL_INT_SAMPLER_1D 0x8DC9
580 #define GL_INT_SAMPLER_2D 0x8DCA
581 #define GL_INT_SAMPLER_3D 0x8DCB
582 #define GL_INT_SAMPLER_CUBE 0x8DCC
583 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
584 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
585 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
586 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
587 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
588 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
589 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
590 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
591 #define GL_QUERY_WAIT 0x8E13
592 #define GL_QUERY_NO_WAIT 0x8E14
593 #define GL_QUERY_BY_REGION_WAIT 0x8E15
594 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
595 #define GL_BUFFER_ACCESS_FLAGS 0x911F
596 #define GL_BUFFER_MAP_LENGTH 0x9120
597 #define GL_BUFFER_MAP_OFFSET 0x9121
598 /* Reuse tokens from ARB_depth_buffer_float */
599 /* reuse GL_DEPTH_COMPONENT32F */
600 /* reuse GL_DEPTH32F_STENCIL8 */
601 /* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */
602 /* Reuse tokens from ARB_framebuffer_object */
603 /* reuse GL_INVALID_FRAMEBUFFER_OPERATION */
604 /* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
605 /* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
606 /* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
607 /* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
608 /* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
609 /* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
610 /* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
611 /* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
612 /* reuse GL_FRAMEBUFFER_DEFAULT */
613 /* reuse GL_FRAMEBUFFER_UNDEFINED */
614 /* reuse GL_DEPTH_STENCIL_ATTACHMENT */
615 /* reuse GL_INDEX */
616 /* reuse GL_MAX_RENDERBUFFER_SIZE */
617 /* reuse GL_DEPTH_STENCIL */
618 /* reuse GL_UNSIGNED_INT_24_8 */
619 /* reuse GL_DEPTH24_STENCIL8 */
620 /* reuse GL_TEXTURE_STENCIL_SIZE */
621 /* reuse GL_TEXTURE_RED_TYPE */
622 /* reuse GL_TEXTURE_GREEN_TYPE */
623 /* reuse GL_TEXTURE_BLUE_TYPE */
624 /* reuse GL_TEXTURE_ALPHA_TYPE */
625 /* reuse GL_TEXTURE_DEPTH_TYPE */
626 /* reuse GL_UNSIGNED_NORMALIZED */
627 /* reuse GL_FRAMEBUFFER_BINDING */
628 /* reuse GL_DRAW_FRAMEBUFFER_BINDING */
629 /* reuse GL_RENDERBUFFER_BINDING */
630 /* reuse GL_READ_FRAMEBUFFER */
631 /* reuse GL_DRAW_FRAMEBUFFER */
632 /* reuse GL_READ_FRAMEBUFFER_BINDING */
633 /* reuse GL_RENDERBUFFER_SAMPLES */
634 /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
635 /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
636 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
637 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
638 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
639 /* reuse GL_FRAMEBUFFER_COMPLETE */
640 /* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
641 /* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
642 /* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */
643 /* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */
644 /* reuse GL_FRAMEBUFFER_UNSUPPORTED */
645 /* reuse GL_MAX_COLOR_ATTACHMENTS */
646 /* reuse GL_COLOR_ATTACHMENT0 */
647 /* reuse GL_COLOR_ATTACHMENT1 */
648 /* reuse GL_COLOR_ATTACHMENT2 */
649 /* reuse GL_COLOR_ATTACHMENT3 */
650 /* reuse GL_COLOR_ATTACHMENT4 */
651 /* reuse GL_COLOR_ATTACHMENT5 */
652 /* reuse GL_COLOR_ATTACHMENT6 */
653 /* reuse GL_COLOR_ATTACHMENT7 */
654 /* reuse GL_COLOR_ATTACHMENT8 */
655 /* reuse GL_COLOR_ATTACHMENT9 */
656 /* reuse GL_COLOR_ATTACHMENT10 */
657 /* reuse GL_COLOR_ATTACHMENT11 */
658 /* reuse GL_COLOR_ATTACHMENT12 */
659 /* reuse GL_COLOR_ATTACHMENT13 */
660 /* reuse GL_COLOR_ATTACHMENT14 */
661 /* reuse GL_COLOR_ATTACHMENT15 */
662 /* reuse GL_DEPTH_ATTACHMENT */
663 /* reuse GL_STENCIL_ATTACHMENT */
664 /* reuse GL_FRAMEBUFFER */
665 /* reuse GL_RENDERBUFFER */
666 /* reuse GL_RENDERBUFFER_WIDTH */
667 /* reuse GL_RENDERBUFFER_HEIGHT */
668 /* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */
669 /* reuse GL_STENCIL_INDEX1 */
670 /* reuse GL_STENCIL_INDEX4 */
671 /* reuse GL_STENCIL_INDEX8 */
672 /* reuse GL_STENCIL_INDEX16 */
673 /* reuse GL_RENDERBUFFER_RED_SIZE */
674 /* reuse GL_RENDERBUFFER_GREEN_SIZE */
675 /* reuse GL_RENDERBUFFER_BLUE_SIZE */
676 /* reuse GL_RENDERBUFFER_ALPHA_SIZE */
677 /* reuse GL_RENDERBUFFER_DEPTH_SIZE */
678 /* reuse GL_RENDERBUFFER_STENCIL_SIZE */
679 /* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
680 /* reuse GL_MAX_SAMPLES */
681 /* Reuse tokens from ARB_framebuffer_sRGB */
682 /* reuse GL_FRAMEBUFFER_SRGB */
683 /* Reuse tokens from ARB_half_float_vertex */
684 /* reuse GL_HALF_FLOAT */
685 /* Reuse tokens from ARB_map_buffer_range */
686 /* reuse GL_MAP_READ_BIT */
687 /* reuse GL_MAP_WRITE_BIT */
688 /* reuse GL_MAP_INVALIDATE_RANGE_BIT */
689 /* reuse GL_MAP_INVALIDATE_BUFFER_BIT */
690 /* reuse GL_MAP_FLUSH_EXPLICIT_BIT */
691 /* reuse GL_MAP_UNSYNCHRONIZED_BIT */
692 /* Reuse tokens from ARB_texture_compression_rgtc */
693 /* reuse GL_COMPRESSED_RED_RGTC1 */
694 /* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */
695 /* reuse GL_COMPRESSED_RG_RGTC2 */
696 /* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */
697 /* Reuse tokens from ARB_texture_rg */
698 /* reuse GL_RG */
699 /* reuse GL_RG_INTEGER */
700 /* reuse GL_R8 */
701 /* reuse GL_R16 */
702 /* reuse GL_RG8 */
703 /* reuse GL_RG16 */
704 /* reuse GL_R16F */
705 /* reuse GL_R32F */
706 /* reuse GL_RG16F */
707 /* reuse GL_RG32F */
708 /* reuse GL_R8I */
709 /* reuse GL_R8UI */
710 /* reuse GL_R16I */
711 /* reuse GL_R16UI */
712 /* reuse GL_R32I */
713 /* reuse GL_R32UI */
714 /* reuse GL_RG8I */
715 /* reuse GL_RG8UI */
716 /* reuse GL_RG16I */
717 /* reuse GL_RG16UI */
718 /* reuse GL_RG32I */
719 /* reuse GL_RG32UI */
720 /* Reuse tokens from ARB_vertex_array_object */
721 /* reuse GL_VERTEX_ARRAY_BINDING */
722 #define GL_CLAMP_VERTEX_COLOR 0x891A
723 #define GL_CLAMP_FRAGMENT_COLOR 0x891B
724 #define GL_ALPHA_INTEGER 0x8D97
725 /* Reuse tokens from ARB_framebuffer_object */
726 /* reuse GL_TEXTURE_LUMINANCE_TYPE */
727 /* reuse GL_TEXTURE_INTENSITY_TYPE */
728 #endif
729 
730 #ifndef GL_VERSION_3_1
731 #define GL_SAMPLER_2D_RECT 0x8B63
732 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
733 #define GL_SAMPLER_BUFFER 0x8DC2
734 #define GL_INT_SAMPLER_2D_RECT 0x8DCD
735 #define GL_INT_SAMPLER_BUFFER 0x8DD0
736 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
737 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
738 #define GL_TEXTURE_BUFFER 0x8C2A
739 #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
740 #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
741 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
742 #define GL_TEXTURE_RECTANGLE 0x84F5
743 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
744 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
745 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
746 #define GL_RED_SNORM 0x8F90
747 #define GL_RG_SNORM 0x8F91
748 #define GL_RGB_SNORM 0x8F92
749 #define GL_RGBA_SNORM 0x8F93
750 #define GL_R8_SNORM 0x8F94
751 #define GL_RG8_SNORM 0x8F95
752 #define GL_RGB8_SNORM 0x8F96
753 #define GL_RGBA8_SNORM 0x8F97
754 #define GL_R16_SNORM 0x8F98
755 #define GL_RG16_SNORM 0x8F99
756 #define GL_RGB16_SNORM 0x8F9A
757 #define GL_RGBA16_SNORM 0x8F9B
758 #define GL_SIGNED_NORMALIZED 0x8F9C
759 #define GL_PRIMITIVE_RESTART 0x8F9D
760 #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
761 /* Reuse tokens from ARB_copy_buffer */
762 /* reuse GL_COPY_READ_BUFFER */
763 /* reuse GL_COPY_WRITE_BUFFER */
764 /* Reuse tokens from ARB_draw_instanced (none) */
765 /* Reuse tokens from ARB_uniform_buffer_object */
766 /* reuse GL_UNIFORM_BUFFER */
767 /* reuse GL_UNIFORM_BUFFER_BINDING */
768 /* reuse GL_UNIFORM_BUFFER_START */
769 /* reuse GL_UNIFORM_BUFFER_SIZE */
770 /* reuse GL_MAX_VERTEX_UNIFORM_BLOCKS */
771 /* reuse GL_MAX_FRAGMENT_UNIFORM_BLOCKS */
772 /* reuse GL_MAX_COMBINED_UNIFORM_BLOCKS */
773 /* reuse GL_MAX_UNIFORM_BUFFER_BINDINGS */
774 /* reuse GL_MAX_UNIFORM_BLOCK_SIZE */
775 /* reuse GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS */
776 /* reuse GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS */
777 /* reuse GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT */
778 /* reuse GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH */
779 /* reuse GL_ACTIVE_UNIFORM_BLOCKS */
780 /* reuse GL_UNIFORM_TYPE */
781 /* reuse GL_UNIFORM_SIZE */
782 /* reuse GL_UNIFORM_NAME_LENGTH */
783 /* reuse GL_UNIFORM_BLOCK_INDEX */
784 /* reuse GL_UNIFORM_OFFSET */
785 /* reuse GL_UNIFORM_ARRAY_STRIDE */
786 /* reuse GL_UNIFORM_MATRIX_STRIDE */
787 /* reuse GL_UNIFORM_IS_ROW_MAJOR */
788 /* reuse GL_UNIFORM_BLOCK_BINDING */
789 /* reuse GL_UNIFORM_BLOCK_DATA_SIZE */
790 /* reuse GL_UNIFORM_BLOCK_NAME_LENGTH */
791 /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS */
792 /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES */
793 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER */
794 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER */
795 /* reuse GL_INVALID_INDEX */
796 #endif
797 
798 #ifndef GL_VERSION_3_2
799 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
800 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
801 #define GL_LINES_ADJACENCY 0x000A
802 #define GL_LINE_STRIP_ADJACENCY 0x000B
803 #define GL_TRIANGLES_ADJACENCY 0x000C
804 #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
805 #define GL_PROGRAM_POINT_SIZE 0x8642
806 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
807 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
808 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
809 #define GL_GEOMETRY_SHADER 0x8DD9
810 #define GL_GEOMETRY_VERTICES_OUT 0x8916
811 #define GL_GEOMETRY_INPUT_TYPE 0x8917
812 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
813 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
814 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
815 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
816 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
817 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
818 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
819 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
820 #define GL_CONTEXT_PROFILE_MASK 0x9126
821 /* reuse GL_MAX_VARYING_COMPONENTS */
822 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
823 /* Reuse tokens from ARB_depth_clamp */
824 /* reuse GL_DEPTH_CLAMP */
825 /* Reuse tokens from ARB_draw_elements_base_vertex (none) */
826 /* Reuse tokens from ARB_fragment_coord_conventions (none) */
827 /* Reuse tokens from ARB_provoking_vertex */
828 /* reuse GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION */
829 /* reuse GL_FIRST_VERTEX_CONVENTION */
830 /* reuse GL_LAST_VERTEX_CONVENTION */
831 /* reuse GL_PROVOKING_VERTEX */
832 /* Reuse tokens from ARB_seamless_cube_map */
833 /* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
834 /* Reuse tokens from ARB_sync */
835 /* reuse GL_MAX_SERVER_WAIT_TIMEOUT */
836 /* reuse GL_OBJECT_TYPE */
837 /* reuse GL_SYNC_CONDITION */
838 /* reuse GL_SYNC_STATUS */
839 /* reuse GL_SYNC_FLAGS */
840 /* reuse GL_SYNC_FENCE */
841 /* reuse GL_SYNC_GPU_COMMANDS_COMPLETE */
842 /* reuse GL_UNSIGNALED */
843 /* reuse GL_SIGNALED */
844 /* reuse GL_ALREADY_SIGNALED */
845 /* reuse GL_TIMEOUT_EXPIRED */
846 /* reuse GL_CONDITION_SATISFIED */
847 /* reuse GL_WAIT_FAILED */
848 /* reuse GL_TIMEOUT_IGNORED */
849 /* reuse GL_SYNC_FLUSH_COMMANDS_BIT */
850 /* reuse GL_TIMEOUT_IGNORED */
851 /* Reuse tokens from ARB_texture_multisample */
852 /* reuse GL_SAMPLE_POSITION */
853 /* reuse GL_SAMPLE_MASK */
854 /* reuse GL_SAMPLE_MASK_VALUE */
855 /* reuse GL_MAX_SAMPLE_MASK_WORDS */
856 /* reuse GL_TEXTURE_2D_MULTISAMPLE */
857 /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE */
858 /* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */
859 /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY */
860 /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE */
861 /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY */
862 /* reuse GL_TEXTURE_SAMPLES */
863 /* reuse GL_TEXTURE_FIXED_SAMPLE_LOCATIONS */
864 /* reuse GL_SAMPLER_2D_MULTISAMPLE */
865 /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE */
866 /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE */
867 /* reuse GL_SAMPLER_2D_MULTISAMPLE_ARRAY */
868 /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
869 /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
870 /* reuse GL_MAX_COLOR_TEXTURE_SAMPLES */
871 /* reuse GL_MAX_DEPTH_TEXTURE_SAMPLES */
872 /* reuse GL_MAX_INTEGER_SAMPLES */
873 /* Don't need to reuse tokens from ARB_vertex_array_bgra since they're already in 1.2 core */
874 #endif
875 
876 #ifndef GL_VERSION_3_3
877 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
878 /* Reuse tokens from ARB_blend_func_extended */
879 /* reuse GL_SRC1_COLOR */
880 /* reuse GL_ONE_MINUS_SRC1_COLOR */
881 /* reuse GL_ONE_MINUS_SRC1_ALPHA */
882 /* reuse GL_MAX_DUAL_SOURCE_DRAW_BUFFERS */
883 /* Reuse tokens from ARB_explicit_attrib_location (none) */
884 /* Reuse tokens from ARB_occlusion_query2 */
885 /* reuse GL_ANY_SAMPLES_PASSED */
886 /* Reuse tokens from ARB_sampler_objects */
887 /* reuse GL_SAMPLER_BINDING */
888 /* Reuse tokens from ARB_shader_bit_encoding (none) */
889 /* Reuse tokens from ARB_texture_rgb10_a2ui */
890 /* reuse GL_RGB10_A2UI */
891 /* Reuse tokens from ARB_texture_swizzle */
892 /* reuse GL_TEXTURE_SWIZZLE_R */
893 /* reuse GL_TEXTURE_SWIZZLE_G */
894 /* reuse GL_TEXTURE_SWIZZLE_B */
895 /* reuse GL_TEXTURE_SWIZZLE_A */
896 /* reuse GL_TEXTURE_SWIZZLE_RGBA */
897 /* Reuse tokens from ARB_timer_query */
898 /* reuse GL_TIME_ELAPSED */
899 /* reuse GL_TIMESTAMP */
900 /* Reuse tokens from ARB_vertex_type_2_10_10_10_rev */
901 /* reuse GL_INT_2_10_10_10_REV */
902 #endif
903 
904 #ifndef GL_VERSION_4_0
905 #define GL_SAMPLE_SHADING 0x8C36
906 #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
907 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
908 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
909 #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
910 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
911 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
912 #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
913 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
914 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
915 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
916 /* Reuse tokens from ARB_texture_query_lod (none) */
917 /* Reuse tokens from ARB_draw_buffers_blend (none) */
918 /* Reuse tokens from ARB_draw_indirect */
919 /* reuse GL_DRAW_INDIRECT_BUFFER */
920 /* reuse GL_DRAW_INDIRECT_BUFFER_BINDING */
921 /* Reuse tokens from ARB_gpu_shader5 */
922 /* reuse GL_GEOMETRY_SHADER_INVOCATIONS */
923 /* reuse GL_MAX_GEOMETRY_SHADER_INVOCATIONS */
924 /* reuse GL_MIN_FRAGMENT_INTERPOLATION_OFFSET */
925 /* reuse GL_MAX_FRAGMENT_INTERPOLATION_OFFSET */
926 /* reuse GL_FRAGMENT_INTERPOLATION_OFFSET_BITS */
927 /* Reuse tokens from ARB_gpu_shader_fp64 */
928 /* reuse GL_DOUBLE_VEC2 */
929 /* reuse GL_DOUBLE_VEC3 */
930 /* reuse GL_DOUBLE_VEC4 */
931 /* reuse GL_DOUBLE_MAT2 */
932 /* reuse GL_DOUBLE_MAT3 */
933 /* reuse GL_DOUBLE_MAT4 */
934 /* reuse GL_DOUBLE_MAT2x3 */
935 /* reuse GL_DOUBLE_MAT2x4 */
936 /* reuse GL_DOUBLE_MAT3x2 */
937 /* reuse GL_DOUBLE_MAT3x4 */
938 /* reuse GL_DOUBLE_MAT4x2 */
939 /* reuse GL_DOUBLE_MAT4x3 */
940 /* Reuse tokens from ARB_shader_subroutine */
941 /* reuse GL_ACTIVE_SUBROUTINES */
942 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORMS */
943 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS */
944 /* reuse GL_ACTIVE_SUBROUTINE_MAX_LENGTH */
945 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH */
946 /* reuse GL_MAX_SUBROUTINES */
947 /* reuse GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS */
948 /* reuse GL_NUM_COMPATIBLE_SUBROUTINES */
949 /* reuse GL_COMPATIBLE_SUBROUTINES */
950 /* Reuse tokens from ARB_tessellation_shader */
951 /* reuse GL_PATCHES */
952 /* reuse GL_PATCH_VERTICES */
953 /* reuse GL_PATCH_DEFAULT_INNER_LEVEL */
954 /* reuse GL_PATCH_DEFAULT_OUTER_LEVEL */
955 /* reuse GL_TESS_CONTROL_OUTPUT_VERTICES */
956 /* reuse GL_TESS_GEN_MODE */
957 /* reuse GL_TESS_GEN_SPACING */
958 /* reuse GL_TESS_GEN_VERTEX_ORDER */
959 /* reuse GL_TESS_GEN_POINT_MODE */
960 /* reuse GL_ISOLINES */
961 /* reuse GL_FRACTIONAL_ODD */
962 /* reuse GL_FRACTIONAL_EVEN */
963 /* reuse GL_MAX_PATCH_VERTICES */
964 /* reuse GL_MAX_TESS_GEN_LEVEL */
965 /* reuse GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS */
966 /* reuse GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS */
967 /* reuse GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS */
968 /* reuse GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS */
969 /* reuse GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS */
970 /* reuse GL_MAX_TESS_PATCH_COMPONENTS */
971 /* reuse GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS */
972 /* reuse GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS */
973 /* reuse GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS */
974 /* reuse GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS */
975 /* reuse GL_MAX_TESS_CONTROL_INPUT_COMPONENTS */
976 /* reuse GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS */
977 /* reuse GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS */
978 /* reuse GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS */
979 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER */
980 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER */
981 /* reuse GL_TESS_EVALUATION_SHADER */
982 /* reuse GL_TESS_CONTROL_SHADER */
983 /* Reuse tokens from ARB_texture_buffer_object_rgb32 (none) */
984 /* Reuse tokens from ARB_transform_feedback2 */
985 /* reuse GL_TRANSFORM_FEEDBACK */
986 /* reuse GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
987 /* reuse GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
988 /* reuse GL_TRANSFORM_FEEDBACK_BINDING */
989 /* Reuse tokens from ARB_transform_feedback3 */
990 /* reuse GL_MAX_TRANSFORM_FEEDBACK_BUFFERS */
991 /* reuse GL_MAX_VERTEX_STREAMS */
992 #endif
993 
994 #ifndef GL_VERSION_4_1
995 /* Reuse tokens from ARB_ES2_compatibility */
996 /* reuse GL_FIXED */
997 /* reuse GL_IMPLEMENTATION_COLOR_READ_TYPE */
998 /* reuse GL_IMPLEMENTATION_COLOR_READ_FORMAT */
999 /* reuse GL_LOW_FLOAT */
1000 /* reuse GL_MEDIUM_FLOAT */
1001 /* reuse GL_HIGH_FLOAT */
1002 /* reuse GL_LOW_INT */
1003 /* reuse GL_MEDIUM_INT */
1004 /* reuse GL_HIGH_INT */
1005 /* reuse GL_SHADER_COMPILER */
1006 /* reuse GL_SHADER_BINARY_FORMATS */
1007 /* reuse GL_NUM_SHADER_BINARY_FORMATS */
1008 /* reuse GL_MAX_VERTEX_UNIFORM_VECTORS */
1009 /* reuse GL_MAX_VARYING_VECTORS */
1010 /* reuse GL_MAX_FRAGMENT_UNIFORM_VECTORS */
1011 /* reuse GL_RGB565 */
1012 /* Reuse tokens from ARB_get_program_binary */
1013 /* reuse GL_PROGRAM_BINARY_RETRIEVABLE_HINT */
1014 /* reuse GL_PROGRAM_BINARY_LENGTH */
1015 /* reuse GL_NUM_PROGRAM_BINARY_FORMATS */
1016 /* reuse GL_PROGRAM_BINARY_FORMATS */
1017 /* Reuse tokens from ARB_separate_shader_objects */
1018 /* reuse GL_VERTEX_SHADER_BIT */
1019 /* reuse GL_FRAGMENT_SHADER_BIT */
1020 /* reuse GL_GEOMETRY_SHADER_BIT */
1021 /* reuse GL_TESS_CONTROL_SHADER_BIT */
1022 /* reuse GL_TESS_EVALUATION_SHADER_BIT */
1023 /* reuse GL_ALL_SHADER_BITS */
1024 /* reuse GL_PROGRAM_SEPARABLE */
1025 /* reuse GL_ACTIVE_PROGRAM */
1026 /* reuse GL_PROGRAM_PIPELINE_BINDING */
1027 /* Reuse tokens from ARB_shader_precision (none) */
1028 /* Reuse tokens from ARB_vertex_attrib_64bit - all are in GL 3.0 and 4.0 already */
1029 /* Reuse tokens from ARB_viewport_array - some are in GL 1.1 and ARB_provoking_vertex already */
1030 /* reuse GL_MAX_VIEWPORTS */
1031 /* reuse GL_VIEWPORT_SUBPIXEL_BITS */
1032 /* reuse GL_VIEWPORT_BOUNDS_RANGE */
1033 /* reuse GL_LAYER_PROVOKING_VERTEX */
1034 /* reuse GL_VIEWPORT_INDEX_PROVOKING_VERTEX */
1035 /* reuse GL_UNDEFINED_VERTEX */
1036 #endif
1037 
1038 #ifndef GL_VERSION_4_2
1039 /* Reuse tokens from ARB_base_instance (none) */
1040 /* Reuse tokens from ARB_shading_language_420pack (none) */
1041 /* Reuse tokens from ARB_transform_feedback_instanced (none) */
1042 /* Reuse tokens from ARB_compressed_texture_pixel_storage */
1043 /* reuse GL_UNPACK_COMPRESSED_BLOCK_WIDTH */
1044 /* reuse GL_UNPACK_COMPRESSED_BLOCK_HEIGHT */
1045 /* reuse GL_UNPACK_COMPRESSED_BLOCK_DEPTH */
1046 /* reuse GL_UNPACK_COMPRESSED_BLOCK_SIZE */
1047 /* reuse GL_PACK_COMPRESSED_BLOCK_WIDTH */
1048 /* reuse GL_PACK_COMPRESSED_BLOCK_HEIGHT */
1049 /* reuse GL_PACK_COMPRESSED_BLOCK_DEPTH */
1050 /* reuse GL_PACK_COMPRESSED_BLOCK_SIZE */
1051 /* Reuse tokens from ARB_conservative_depth (none) */
1052 /* Reuse tokens from ARB_internalformat_query */
1053 /* reuse GL_NUM_SAMPLE_COUNTS */
1054 /* Reuse tokens from ARB_map_buffer_alignment */
1055 /* reuse GL_MIN_MAP_BUFFER_ALIGNMENT */
1056 /* Reuse tokens from ARB_shader_atomic_counters */
1057 /* reuse GL_ATOMIC_COUNTER_BUFFER */
1058 /* reuse GL_ATOMIC_COUNTER_BUFFER_BINDING */
1059 /* reuse GL_ATOMIC_COUNTER_BUFFER_START */
1060 /* reuse GL_ATOMIC_COUNTER_BUFFER_SIZE */
1061 /* reuse GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE */
1062 /* reuse GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS */
1063 /* reuse GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES */
1064 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER */
1065 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER */
1066 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER */
1067 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER */
1068 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER */
1069 /* reuse GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS */
1070 /* reuse GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS */
1071 /* reuse GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS */
1072 /* reuse GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS */
1073 /* reuse GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS */
1074 /* reuse GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS */
1075 /* reuse GL_MAX_VERTEX_ATOMIC_COUNTERS */
1076 /* reuse GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS */
1077 /* reuse GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS */
1078 /* reuse GL_MAX_GEOMETRY_ATOMIC_COUNTERS */
1079 /* reuse GL_MAX_FRAGMENT_ATOMIC_COUNTERS */
1080 /* reuse GL_MAX_COMBINED_ATOMIC_COUNTERS */
1081 /* reuse GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE */
1082 /* reuse GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS */
1083 /* reuse GL_ACTIVE_ATOMIC_COUNTER_BUFFERS */
1084 /* reuse GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX */
1085 /* reuse GL_UNSIGNED_INT_ATOMIC_COUNTER */
1086 /* Reuse tokens from ARB_shader_image_load_store */
1087 /* reuse GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT */
1088 /* reuse GL_ELEMENT_ARRAY_BARRIER_BIT */
1089 /* reuse GL_UNIFORM_BARRIER_BIT */
1090 /* reuse GL_TEXTURE_FETCH_BARRIER_BIT */
1091 /* reuse GL_SHADER_IMAGE_ACCESS_BARRIER_BIT */
1092 /* reuse GL_COMMAND_BARRIER_BIT */
1093 /* reuse GL_PIXEL_BUFFER_BARRIER_BIT */
1094 /* reuse GL_TEXTURE_UPDATE_BARRIER_BIT */
1095 /* reuse GL_BUFFER_UPDATE_BARRIER_BIT */
1096 /* reuse GL_FRAMEBUFFER_BARRIER_BIT */
1097 /* reuse GL_TRANSFORM_FEEDBACK_BARRIER_BIT */
1098 /* reuse GL_ATOMIC_COUNTER_BARRIER_BIT */
1099 /* reuse GL_ALL_BARRIER_BITS */
1100 /* reuse GL_MAX_IMAGE_UNITS */
1101 /* reuse GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS */
1102 /* reuse GL_IMAGE_BINDING_NAME */
1103 /* reuse GL_IMAGE_BINDING_LEVEL */
1104 /* reuse GL_IMAGE_BINDING_LAYERED */
1105 /* reuse GL_IMAGE_BINDING_LAYER */
1106 /* reuse GL_IMAGE_BINDING_ACCESS */
1107 /* reuse GL_IMAGE_1D */
1108 /* reuse GL_IMAGE_2D */
1109 /* reuse GL_IMAGE_3D */
1110 /* reuse GL_IMAGE_2D_RECT */
1111 /* reuse GL_IMAGE_CUBE */
1112 /* reuse GL_IMAGE_BUFFER */
1113 /* reuse GL_IMAGE_1D_ARRAY */
1114 /* reuse GL_IMAGE_2D_ARRAY */
1115 /* reuse GL_IMAGE_CUBE_MAP_ARRAY */
1116 /* reuse GL_IMAGE_2D_MULTISAMPLE */
1117 /* reuse GL_IMAGE_2D_MULTISAMPLE_ARRAY */
1118 /* reuse GL_INT_IMAGE_1D */
1119 /* reuse GL_INT_IMAGE_2D */
1120 /* reuse GL_INT_IMAGE_3D */
1121 /* reuse GL_INT_IMAGE_2D_RECT */
1122 /* reuse GL_INT_IMAGE_CUBE */
1123 /* reuse GL_INT_IMAGE_BUFFER */
1124 /* reuse GL_INT_IMAGE_1D_ARRAY */
1125 /* reuse GL_INT_IMAGE_2D_ARRAY */
1126 /* reuse GL_INT_IMAGE_CUBE_MAP_ARRAY */
1127 /* reuse GL_INT_IMAGE_2D_MULTISAMPLE */
1128 /* reuse GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY */
1129 /* reuse GL_UNSIGNED_INT_IMAGE_1D */
1130 /* reuse GL_UNSIGNED_INT_IMAGE_2D */
1131 /* reuse GL_UNSIGNED_INT_IMAGE_3D */
1132 /* reuse GL_UNSIGNED_INT_IMAGE_2D_RECT */
1133 /* reuse GL_UNSIGNED_INT_IMAGE_CUBE */
1134 /* reuse GL_UNSIGNED_INT_IMAGE_BUFFER */
1135 /* reuse GL_UNSIGNED_INT_IMAGE_1D_ARRAY */
1136 /* reuse GL_UNSIGNED_INT_IMAGE_2D_ARRAY */
1137 /* reuse GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY */
1138 /* reuse GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE */
1139 /* reuse GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY */
1140 /* reuse GL_MAX_IMAGE_SAMPLES */
1141 /* reuse GL_IMAGE_BINDING_FORMAT */
1142 /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_TYPE */
1143 /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE */
1144 /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS */
1145 /* reuse GL_MAX_VERTEX_IMAGE_UNIFORMS */
1146 /* reuse GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS */
1147 /* reuse GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS */
1148 /* reuse GL_MAX_GEOMETRY_IMAGE_UNIFORMS */
1149 /* reuse GL_MAX_FRAGMENT_IMAGE_UNIFORMS */
1150 /* reuse GL_MAX_COMBINED_IMAGE_UNIFORMS */
1151 /* Reuse tokens from ARB_shading_language_packing (none) */
1152 /* Reuse tokens from ARB_texture_storage */
1153 /* reuse GL_TEXTURE_IMMUTABLE_FORMAT */
1154 #endif
1155 
1156 #ifndef GL_VERSION_4_3
1157 #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
1158 #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E
1159 /* Reuse tokens from ARB_arrays_of_arrays (none, GLSL only) */
1160 /* Reuse tokens from ARB_fragment_layer_viewport (none, GLSL only) */
1161 /* Reuse tokens from ARB_shader_image_size (none, GLSL only) */
1162 /* Reuse tokens from ARB_ES3_compatibility */
1163 /* reuse GL_COMPRESSED_RGB8_ETC2 */
1164 /* reuse GL_COMPRESSED_SRGB8_ETC2 */
1165 /* reuse GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 */
1166 /* reuse GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 */
1167 /* reuse GL_COMPRESSED_RGBA8_ETC2_EAC */
1168 /* reuse GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC */
1169 /* reuse GL_COMPRESSED_R11_EAC */
1170 /* reuse GL_COMPRESSED_SIGNED_R11_EAC */
1171 /* reuse GL_COMPRESSED_RG11_EAC */
1172 /* reuse GL_COMPRESSED_SIGNED_RG11_EAC */
1173 /* reuse GL_PRIMITIVE_RESTART_FIXED_INDEX */
1174 /* reuse GL_ANY_SAMPLES_PASSED_CONSERVATIVE */
1175 /* reuse GL_MAX_ELEMENT_INDEX */
1176 /* Reuse tokens from ARB_clear_buffer_object (none) */
1177 /* Reuse tokens from ARB_compute_shader */
1178 /* reuse GL_COMPUTE_SHADER */
1179 /* reuse GL_MAX_COMPUTE_UNIFORM_BLOCKS */
1180 /* reuse GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS */
1181 /* reuse GL_MAX_COMPUTE_IMAGE_UNIFORMS */
1182 /* reuse GL_MAX_COMPUTE_SHARED_MEMORY_SIZE */
1183 /* reuse GL_MAX_COMPUTE_UNIFORM_COMPONENTS */
1184 /* reuse GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS */
1185 /* reuse GL_MAX_COMPUTE_ATOMIC_COUNTERS */
1186 /* reuse GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS */
1187 /* reuse GL_MAX_COMPUTE_LOCAL_INVOCATIONS */
1188 /* reuse GL_MAX_COMPUTE_WORK_GROUP_COUNT */
1189 /* reuse GL_MAX_COMPUTE_WORK_GROUP_SIZE */
1190 /* reuse GL_COMPUTE_LOCAL_WORK_SIZE */
1191 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER */
1192 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER */
1193 /* reuse GL_DISPATCH_INDIRECT_BUFFER */
1194 /* reuse GL_DISPATCH_INDIRECT_BUFFER_BINDING */
1195 /* Reuse tokens from ARB_copy_image (none) */
1196 /* Reuse tokens from KHR_debug */
1197 /* reuse GL_DEBUG_OUTPUT_SYNCHRONOUS */
1198 /* reuse GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH */
1199 /* reuse GL_DEBUG_CALLBACK_FUNCTION */
1200 /* reuse GL_DEBUG_CALLBACK_USER_PARAM */
1201 /* reuse GL_DEBUG_SOURCE_API */
1202 /* reuse GL_DEBUG_SOURCE_WINDOW_SYSTEM */
1203 /* reuse GL_DEBUG_SOURCE_SHADER_COMPILER */
1204 /* reuse GL_DEBUG_SOURCE_THIRD_PARTY */
1205 /* reuse GL_DEBUG_SOURCE_APPLICATION */
1206 /* reuse GL_DEBUG_SOURCE_OTHER */
1207 /* reuse GL_DEBUG_TYPE_ERROR */
1208 /* reuse GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR */
1209 /* reuse GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR */
1210 /* reuse GL_DEBUG_TYPE_PORTABILITY */
1211 /* reuse GL_DEBUG_TYPE_PERFORMANCE */
1212 /* reuse GL_DEBUG_TYPE_OTHER */
1213 /* reuse GL_MAX_DEBUG_MESSAGE_LENGTH */
1214 /* reuse GL_MAX_DEBUG_LOGGED_MESSAGES */
1215 /* reuse GL_DEBUG_LOGGED_MESSAGES */
1216 /* reuse GL_DEBUG_SEVERITY_HIGH */
1217 /* reuse GL_DEBUG_SEVERITY_MEDIUM */
1218 /* reuse GL_DEBUG_SEVERITY_LOW */
1219 /* reuse GL_DEBUG_TYPE_MARKER */
1220 /* reuse GL_DEBUG_TYPE_PUSH_GROUP */
1221 /* reuse GL_DEBUG_TYPE_POP_GROUP */
1222 /* reuse GL_DEBUG_SEVERITY_NOTIFICATION */
1223 /* reuse GL_MAX_DEBUG_GROUP_STACK_DEPTH */
1224 /* reuse GL_DEBUG_GROUP_STACK_DEPTH */
1225 /* reuse GL_BUFFER */
1226 /* reuse GL_SHADER */
1227 /* reuse GL_PROGRAM */
1228 /* reuse GL_QUERY */
1229 /* reuse GL_PROGRAM_PIPELINE */
1230 /* reuse GL_SAMPLER */
1231 /* reuse GL_DISPLAY_LIST */
1232 /* reuse GL_MAX_LABEL_LENGTH */
1233 /* reuse GL_DEBUG_OUTPUT */
1234 /* reuse GL_CONTEXT_FLAG_DEBUG_BIT */
1235 /* reuse GL_STACK_UNDERFLOW */
1236 /* reuse GL_STACK_OVERFLOW */
1237 /* Reuse tokens from ARB_explicit_uniform_location */
1238 /* reuse GL_MAX_UNIFORM_LOCATIONS */
1239 /* Reuse tokens from ARB_framebuffer_no_attachments */
1240 /* reuse GL_FRAMEBUFFER_DEFAULT_WIDTH */
1241 /* reuse GL_FRAMEBUFFER_DEFAULT_HEIGHT */
1242 /* reuse GL_FRAMEBUFFER_DEFAULT_LAYERS */
1243 /* reuse GL_FRAMEBUFFER_DEFAULT_SAMPLES */
1244 /* reuse GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS */
1245 /* reuse GL_MAX_FRAMEBUFFER_WIDTH */
1246 /* reuse GL_MAX_FRAMEBUFFER_HEIGHT */
1247 /* reuse GL_MAX_FRAMEBUFFER_LAYERS */
1248 /* reuse GL_MAX_FRAMEBUFFER_SAMPLES */
1249 /* Reuse tokens from ARB_internalformat_query2 */
1250 /* reuse GL_INTERNALFORMAT_SUPPORTED */
1251 /* reuse GL_INTERNALFORMAT_PREFERRED */
1252 /* reuse GL_INTERNALFORMAT_RED_SIZE */
1253 /* reuse GL_INTERNALFORMAT_GREEN_SIZE */
1254 /* reuse GL_INTERNALFORMAT_BLUE_SIZE */
1255 /* reuse GL_INTERNALFORMAT_ALPHA_SIZE */
1256 /* reuse GL_INTERNALFORMAT_DEPTH_SIZE */
1257 /* reuse GL_INTERNALFORMAT_STENCIL_SIZE */
1258 /* reuse GL_INTERNALFORMAT_SHARED_SIZE */
1259 /* reuse GL_INTERNALFORMAT_RED_TYPE */
1260 /* reuse GL_INTERNALFORMAT_GREEN_TYPE */
1261 /* reuse GL_INTERNALFORMAT_BLUE_TYPE */
1262 /* reuse GL_INTERNALFORMAT_ALPHA_TYPE */
1263 /* reuse GL_INTERNALFORMAT_DEPTH_TYPE */
1264 /* reuse GL_INTERNALFORMAT_STENCIL_TYPE */
1265 /* reuse GL_MAX_WIDTH */
1266 /* reuse GL_MAX_HEIGHT */
1267 /* reuse GL_MAX_DEPTH */
1268 /* reuse GL_MAX_LAYERS */
1269 /* reuse GL_MAX_COMBINED_DIMENSIONS */
1270 /* reuse GL_COLOR_COMPONENTS */
1271 /* reuse GL_DEPTH_COMPONENTS */
1272 /* reuse GL_STENCIL_COMPONENTS */
1273 /* reuse GL_COLOR_RENDERABLE */
1274 /* reuse GL_DEPTH_RENDERABLE */
1275 /* reuse GL_STENCIL_RENDERABLE */
1276 /* reuse GL_FRAMEBUFFER_RENDERABLE */
1277 /* reuse GL_FRAMEBUFFER_RENDERABLE_LAYERED */
1278 /* reuse GL_FRAMEBUFFER_BLEND */
1279 /* reuse GL_READ_PIXELS */
1280 /* reuse GL_READ_PIXELS_FORMAT */
1281 /* reuse GL_READ_PIXELS_TYPE */
1282 /* reuse GL_TEXTURE_IMAGE_FORMAT */
1283 /* reuse GL_TEXTURE_IMAGE_TYPE */
1284 /* reuse GL_GET_TEXTURE_IMAGE_FORMAT */
1285 /* reuse GL_GET_TEXTURE_IMAGE_TYPE */
1286 /* reuse GL_MIPMAP */
1287 /* reuse GL_MANUAL_GENERATE_MIPMAP */
1288 /* reuse GL_AUTO_GENERATE_MIPMAP */
1289 /* reuse GL_COLOR_ENCODING */
1290 /* reuse GL_SRGB_READ */
1291 /* reuse GL_SRGB_WRITE */
1292 /* reuse GL_FILTER */
1293 /* reuse GL_VERTEX_TEXTURE */
1294 /* reuse GL_TESS_CONTROL_TEXTURE */
1295 /* reuse GL_TESS_EVALUATION_TEXTURE */
1296 /* reuse GL_GEOMETRY_TEXTURE */
1297 /* reuse GL_FRAGMENT_TEXTURE */
1298 /* reuse GL_COMPUTE_TEXTURE */
1299 /* reuse GL_TEXTURE_SHADOW */
1300 /* reuse GL_TEXTURE_GATHER */
1301 /* reuse GL_TEXTURE_GATHER_SHADOW */
1302 /* reuse GL_SHADER_IMAGE_LOAD */
1303 /* reuse GL_SHADER_IMAGE_STORE */
1304 /* reuse GL_SHADER_IMAGE_ATOMIC */
1305 /* reuse GL_IMAGE_TEXEL_SIZE */
1306 /* reuse GL_IMAGE_COMPATIBILITY_CLASS */
1307 /* reuse GL_IMAGE_PIXEL_FORMAT */
1308 /* reuse GL_IMAGE_PIXEL_TYPE */
1309 /* reuse GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST */
1310 /* reuse GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST */
1311 /* reuse GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE */
1312 /* reuse GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE */
1313 /* reuse GL_TEXTURE_COMPRESSED_BLOCK_WIDTH */
1314 /* reuse GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT */
1315 /* reuse GL_TEXTURE_COMPRESSED_BLOCK_SIZE */
1316 /* reuse GL_CLEAR_BUFFER */
1317 /* reuse GL_TEXTURE_VIEW */
1318 /* reuse GL_VIEW_COMPATIBILITY_CLASS */
1319 /* reuse GL_FULL_SUPPORT */
1320 /* reuse GL_CAVEAT_SUPPORT */
1321 /* reuse GL_IMAGE_CLASS_4_X_32 */
1322 /* reuse GL_IMAGE_CLASS_2_X_32 */
1323 /* reuse GL_IMAGE_CLASS_1_X_32 */
1324 /* reuse GL_IMAGE_CLASS_4_X_16 */
1325 /* reuse GL_IMAGE_CLASS_2_X_16 */
1326 /* reuse GL_IMAGE_CLASS_1_X_16 */
1327 /* reuse GL_IMAGE_CLASS_4_X_8 */
1328 /* reuse GL_IMAGE_CLASS_2_X_8 */
1329 /* reuse GL_IMAGE_CLASS_1_X_8 */
1330 /* reuse GL_IMAGE_CLASS_11_11_10 */
1331 /* reuse GL_IMAGE_CLASS_10_10_10_2 */
1332 /* reuse GL_VIEW_CLASS_128_BITS */
1333 /* reuse GL_VIEW_CLASS_96_BITS */
1334 /* reuse GL_VIEW_CLASS_64_BITS */
1335 /* reuse GL_VIEW_CLASS_48_BITS */
1336 /* reuse GL_VIEW_CLASS_32_BITS */
1337 /* reuse GL_VIEW_CLASS_24_BITS */
1338 /* reuse GL_VIEW_CLASS_16_BITS */
1339 /* reuse GL_VIEW_CLASS_8_BITS */
1340 /* reuse GL_VIEW_CLASS_S3TC_DXT1_RGB */
1341 /* reuse GL_VIEW_CLASS_S3TC_DXT1_RGBA */
1342 /* reuse GL_VIEW_CLASS_S3TC_DXT3_RGBA */
1343 /* reuse GL_VIEW_CLASS_S3TC_DXT5_RGBA */
1344 /* reuse GL_VIEW_CLASS_RGTC1_RED */
1345 /* reuse GL_VIEW_CLASS_RGTC2_RG */
1346 /* reuse GL_VIEW_CLASS_BPTC_UNORM */
1347 /* reuse GL_VIEW_CLASS_BPTC_FLOAT */
1348 /* Reuse tokens from ARB_invalidate_subdata (none) */
1349 /* Reuse tokens from ARB_multi_draw_indirect (none) */
1350 /* Reuse tokens from ARB_program_interface_query */
1351 /* reuse GL_UNIFORM */
1352 /* reuse GL_UNIFORM_BLOCK */
1353 /* reuse GL_PROGRAM_INPUT */
1354 /* reuse GL_PROGRAM_OUTPUT */
1355 /* reuse GL_BUFFER_VARIABLE */
1356 /* reuse GL_SHADER_STORAGE_BLOCK */
1357 /* reuse GL_VERTEX_SUBROUTINE */
1358 /* reuse GL_TESS_CONTROL_SUBROUTINE */
1359 /* reuse GL_TESS_EVALUATION_SUBROUTINE */
1360 /* reuse GL_GEOMETRY_SUBROUTINE */
1361 /* reuse GL_FRAGMENT_SUBROUTINE */
1362 /* reuse GL_COMPUTE_SUBROUTINE */
1363 /* reuse GL_VERTEX_SUBROUTINE_UNIFORM */
1364 /* reuse GL_TESS_CONTROL_SUBROUTINE_UNIFORM */
1365 /* reuse GL_TESS_EVALUATION_SUBROUTINE_UNIFORM */
1366 /* reuse GL_GEOMETRY_SUBROUTINE_UNIFORM */
1367 /* reuse GL_FRAGMENT_SUBROUTINE_UNIFORM */
1368 /* reuse GL_COMPUTE_SUBROUTINE_UNIFORM */
1369 /* reuse GL_TRANSFORM_FEEDBACK_VARYING */
1370 /* reuse GL_ACTIVE_RESOURCES */
1371 /* reuse GL_MAX_NAME_LENGTH */
1372 /* reuse GL_MAX_NUM_ACTIVE_VARIABLES */
1373 /* reuse GL_MAX_NUM_COMPATIBLE_SUBROUTINES */
1374 /* reuse GL_NAME_LENGTH */
1375 /* reuse GL_TYPE */
1376 /* reuse GL_ARRAY_SIZE */
1377 /* reuse GL_OFFSET */
1378 /* reuse GL_BLOCK_INDEX */
1379 /* reuse GL_ARRAY_STRIDE */
1380 /* reuse GL_MATRIX_STRIDE */
1381 /* reuse GL_IS_ROW_MAJOR */
1382 /* reuse GL_ATOMIC_COUNTER_BUFFER_INDEX */
1383 /* reuse GL_BUFFER_BINDING */
1384 /* reuse GL_BUFFER_DATA_SIZE */
1385 /* reuse GL_NUM_ACTIVE_VARIABLES */
1386 /* reuse GL_ACTIVE_VARIABLES */
1387 /* reuse GL_REFERENCED_BY_VERTEX_SHADER */
1388 /* reuse GL_REFERENCED_BY_TESS_CONTROL_SHADER */
1389 /* reuse GL_REFERENCED_BY_TESS_EVALUATION_SHADER */
1390 /* reuse GL_REFERENCED_BY_GEOMETRY_SHADER */
1391 /* reuse GL_REFERENCED_BY_FRAGMENT_SHADER */
1392 /* reuse GL_REFERENCED_BY_COMPUTE_SHADER */
1393 /* reuse GL_TOP_LEVEL_ARRAY_SIZE */
1394 /* reuse GL_TOP_LEVEL_ARRAY_STRIDE */
1395 /* reuse GL_LOCATION */
1396 /* reuse GL_LOCATION_INDEX */
1397 /* reuse GL_IS_PER_PATCH */
1398 /* Reuse tokens from ARB_robust_buffer_access_behavior (none) */
1399 /* Reuse tokens from ARB_shader_storage_buffer_object */
1400 /* reuse GL_SHADER_STORAGE_BUFFER */
1401 /* reuse GL_SHADER_STORAGE_BUFFER_BINDING */
1402 /* reuse GL_SHADER_STORAGE_BUFFER_START */
1403 /* reuse GL_SHADER_STORAGE_BUFFER_SIZE */
1404 /* reuse GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS */
1405 /* reuse GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS */
1406 /* reuse GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS */
1407 /* reuse GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS */
1408 /* reuse GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS */
1409 /* reuse GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS */
1410 /* reuse GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS */
1411 /* reuse GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS */
1412 /* reuse GL_MAX_SHADER_STORAGE_BLOCK_SIZE */
1413 /* reuse GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT */
1414 /* reuse GL_SHADER_STORAGE_BARRIER_BIT */
1415 /* reuse GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES */
1416 /* Reuse tokens from ARB_stencil_texturing */
1417 /* reuse GL_DEPTH_STENCIL_TEXTURE_MODE */
1418 /* Reuse tokens from ARB_texture_buffer_range */
1419 /* reuse GL_TEXTURE_BUFFER_OFFSET */
1420 /* reuse GL_TEXTURE_BUFFER_SIZE */
1421 /* reuse GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT */
1422 /* Reuse tokens from ARB_texture_query_levels (none) */
1423 /* Reuse tokens from ARB_texture_storage_multisample (none) */
1424 /* Reuse tokens from ARB_texture_view */
1425 /* reuse GL_TEXTURE_VIEW_MIN_LEVEL */
1426 /* reuse GL_TEXTURE_VIEW_NUM_LEVELS */
1427 /* reuse GL_TEXTURE_VIEW_MIN_LAYER */
1428 /* reuse GL_TEXTURE_VIEW_NUM_LAYERS */
1429 /* reuse GL_TEXTURE_IMMUTABLE_LEVELS */
1430 /* Reuse tokens from ARB_vertex_attrib_binding */
1431 /* reuse GL_VERTEX_ATTRIB_BINDING */
1432 /* reuse GL_VERTEX_ATTRIB_RELATIVE_OFFSET */
1433 /* reuse GL_VERTEX_BINDING_DIVISOR */
1434 /* reuse GL_VERTEX_BINDING_OFFSET */
1435 /* reuse GL_VERTEX_BINDING_STRIDE */
1436 /* reuse GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET */
1437 /* reuse GL_MAX_VERTEX_ATTRIB_BINDINGS */
1438 #endif
1439 
1440 #ifndef GL_ARB_multitexture
1441 #define GL_TEXTURE0_ARB 0x84C0
1442 #define GL_TEXTURE1_ARB 0x84C1
1443 #define GL_TEXTURE2_ARB 0x84C2
1444 #define GL_TEXTURE3_ARB 0x84C3
1445 #define GL_TEXTURE4_ARB 0x84C4
1446 #define GL_TEXTURE5_ARB 0x84C5
1447 #define GL_TEXTURE6_ARB 0x84C6
1448 #define GL_TEXTURE7_ARB 0x84C7
1449 #define GL_TEXTURE8_ARB 0x84C8
1450 #define GL_TEXTURE9_ARB 0x84C9
1451 #define GL_TEXTURE10_ARB 0x84CA
1452 #define GL_TEXTURE11_ARB 0x84CB
1453 #define GL_TEXTURE12_ARB 0x84CC
1454 #define GL_TEXTURE13_ARB 0x84CD
1455 #define GL_TEXTURE14_ARB 0x84CE
1456 #define GL_TEXTURE15_ARB 0x84CF
1457 #define GL_TEXTURE16_ARB 0x84D0
1458 #define GL_TEXTURE17_ARB 0x84D1
1459 #define GL_TEXTURE18_ARB 0x84D2
1460 #define GL_TEXTURE19_ARB 0x84D3
1461 #define GL_TEXTURE20_ARB 0x84D4
1462 #define GL_TEXTURE21_ARB 0x84D5
1463 #define GL_TEXTURE22_ARB 0x84D6
1464 #define GL_TEXTURE23_ARB 0x84D7
1465 #define GL_TEXTURE24_ARB 0x84D8
1466 #define GL_TEXTURE25_ARB 0x84D9
1467 #define GL_TEXTURE26_ARB 0x84DA
1468 #define GL_TEXTURE27_ARB 0x84DB
1469 #define GL_TEXTURE28_ARB 0x84DC
1470 #define GL_TEXTURE29_ARB 0x84DD
1471 #define GL_TEXTURE30_ARB 0x84DE
1472 #define GL_TEXTURE31_ARB 0x84DF
1473 #define GL_ACTIVE_TEXTURE_ARB 0x84E0
1474 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
1475 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
1476 #endif
1477 
1478 #ifndef GL_ARB_transpose_matrix
1479 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
1480 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
1481 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
1482 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
1483 #endif
1484 
1485 #ifndef GL_ARB_multisample
1486 #define GL_MULTISAMPLE_ARB 0x809D
1487 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
1488 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
1489 #define GL_SAMPLE_COVERAGE_ARB 0x80A0
1490 #define GL_SAMPLE_BUFFERS_ARB 0x80A8
1491 #define GL_SAMPLES_ARB 0x80A9
1492 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
1493 #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
1494 #define GL_MULTISAMPLE_BIT_ARB 0x20000000
1495 #endif
1496 
1497 #ifndef GL_ARB_texture_env_add
1498 #endif
1499 
1500 #ifndef GL_ARB_texture_cube_map
1501 #define GL_NORMAL_MAP_ARB 0x8511
1502 #define GL_REFLECTION_MAP_ARB 0x8512
1503 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
1504 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
1505 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
1506 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
1507 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
1508 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
1509 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
1510 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
1511 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
1512 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
1513 #endif
1514 
1515 #ifndef GL_ARB_texture_compression
1516 #define GL_COMPRESSED_ALPHA_ARB 0x84E9
1517 #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
1518 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
1519 #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
1520 #define GL_COMPRESSED_RGB_ARB 0x84ED
1521 #define GL_COMPRESSED_RGBA_ARB 0x84EE
1522 #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
1523 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
1524 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
1525 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
1526 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
1527 #endif
1528 
1529 #ifndef GL_ARB_texture_border_clamp
1530 #define GL_CLAMP_TO_BORDER_ARB 0x812D
1531 #endif
1532 
1533 #ifndef GL_ARB_point_parameters
1534 #define GL_POINT_SIZE_MIN_ARB 0x8126
1535 #define GL_POINT_SIZE_MAX_ARB 0x8127
1536 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
1537 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
1538 #endif
1539 
1540 #ifndef GL_ARB_vertex_blend
1541 #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
1542 #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
1543 #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
1544 #define GL_VERTEX_BLEND_ARB 0x86A7
1545 #define GL_CURRENT_WEIGHT_ARB 0x86A8
1546 #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
1547 #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
1548 #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
1549 #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
1550 #define GL_WEIGHT_ARRAY_ARB 0x86AD
1551 #define GL_MODELVIEW0_ARB 0x1700
1552 #define GL_MODELVIEW1_ARB 0x850A
1553 #define GL_MODELVIEW2_ARB 0x8722
1554 #define GL_MODELVIEW3_ARB 0x8723
1555 #define GL_MODELVIEW4_ARB 0x8724
1556 #define GL_MODELVIEW5_ARB 0x8725
1557 #define GL_MODELVIEW6_ARB 0x8726
1558 #define GL_MODELVIEW7_ARB 0x8727
1559 #define GL_MODELVIEW8_ARB 0x8728
1560 #define GL_MODELVIEW9_ARB 0x8729
1561 #define GL_MODELVIEW10_ARB 0x872A
1562 #define GL_MODELVIEW11_ARB 0x872B
1563 #define GL_MODELVIEW12_ARB 0x872C
1564 #define GL_MODELVIEW13_ARB 0x872D
1565 #define GL_MODELVIEW14_ARB 0x872E
1566 #define GL_MODELVIEW15_ARB 0x872F
1567 #define GL_MODELVIEW16_ARB 0x8730
1568 #define GL_MODELVIEW17_ARB 0x8731
1569 #define GL_MODELVIEW18_ARB 0x8732
1570 #define GL_MODELVIEW19_ARB 0x8733
1571 #define GL_MODELVIEW20_ARB 0x8734
1572 #define GL_MODELVIEW21_ARB 0x8735
1573 #define GL_MODELVIEW22_ARB 0x8736
1574 #define GL_MODELVIEW23_ARB 0x8737
1575 #define GL_MODELVIEW24_ARB 0x8738
1576 #define GL_MODELVIEW25_ARB 0x8739
1577 #define GL_MODELVIEW26_ARB 0x873A
1578 #define GL_MODELVIEW27_ARB 0x873B
1579 #define GL_MODELVIEW28_ARB 0x873C
1580 #define GL_MODELVIEW29_ARB 0x873D
1581 #define GL_MODELVIEW30_ARB 0x873E
1582 #define GL_MODELVIEW31_ARB 0x873F
1583 #endif
1584 
1585 #ifndef GL_ARB_matrix_palette
1586 #define GL_MATRIX_PALETTE_ARB 0x8840
1587 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
1588 #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
1589 #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
1590 #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
1591 #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
1592 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
1593 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
1594 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
1595 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
1596 #endif
1597 
1598 #ifndef GL_ARB_texture_env_combine
1599 #define GL_COMBINE_ARB 0x8570
1600 #define GL_COMBINE_RGB_ARB 0x8571
1601 #define GL_COMBINE_ALPHA_ARB 0x8572
1602 #define GL_SOURCE0_RGB_ARB 0x8580
1603 #define GL_SOURCE1_RGB_ARB 0x8581
1604 #define GL_SOURCE2_RGB_ARB 0x8582
1605 #define GL_SOURCE0_ALPHA_ARB 0x8588
1606 #define GL_SOURCE1_ALPHA_ARB 0x8589
1607 #define GL_SOURCE2_ALPHA_ARB 0x858A
1608 #define GL_OPERAND0_RGB_ARB 0x8590
1609 #define GL_OPERAND1_RGB_ARB 0x8591
1610 #define GL_OPERAND2_RGB_ARB 0x8592
1611 #define GL_OPERAND0_ALPHA_ARB 0x8598
1612 #define GL_OPERAND1_ALPHA_ARB 0x8599
1613 #define GL_OPERAND2_ALPHA_ARB 0x859A
1614 #define GL_RGB_SCALE_ARB 0x8573
1615 #define GL_ADD_SIGNED_ARB 0x8574
1616 #define GL_INTERPOLATE_ARB 0x8575
1617 #define GL_SUBTRACT_ARB 0x84E7
1618 #define GL_CONSTANT_ARB 0x8576
1619 #define GL_PRIMARY_COLOR_ARB 0x8577
1620 #define GL_PREVIOUS_ARB 0x8578
1621 #endif
1622 
1623 #ifndef GL_ARB_texture_env_crossbar
1624 #endif
1625 
1626 #ifndef GL_ARB_texture_env_dot3
1627 #define GL_DOT3_RGB_ARB 0x86AE
1628 #define GL_DOT3_RGBA_ARB 0x86AF
1629 #endif
1630 
1631 #ifndef GL_ARB_texture_mirrored_repeat
1632 #define GL_MIRRORED_REPEAT_ARB 0x8370
1633 #endif
1634 
1635 #ifndef GL_ARB_depth_texture
1636 #define GL_DEPTH_COMPONENT16_ARB 0x81A5
1637 #define GL_DEPTH_COMPONENT24_ARB 0x81A6
1638 #define GL_DEPTH_COMPONENT32_ARB 0x81A7
1639 #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
1640 #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
1641 #endif
1642 
1643 #ifndef GL_ARB_shadow
1644 #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
1645 #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
1646 #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
1647 #endif
1648 
1649 #ifndef GL_ARB_shadow_ambient
1650 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
1651 #endif
1652 
1653 #ifndef GL_ARB_window_pos
1654 #endif
1655 
1656 #ifndef GL_ARB_vertex_program
1657 #define GL_COLOR_SUM_ARB 0x8458
1658 #define GL_VERTEX_PROGRAM_ARB 0x8620
1659 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
1660 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
1661 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
1662 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
1663 #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
1664 #define GL_PROGRAM_LENGTH_ARB 0x8627
1665 #define GL_PROGRAM_STRING_ARB 0x8628
1666 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
1667 #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
1668 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
1669 #define GL_CURRENT_MATRIX_ARB 0x8641
1670 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
1671 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
1672 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
1673 #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
1674 #define GL_PROGRAM_BINDING_ARB 0x8677
1675 #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
1676 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
1677 #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
1678 #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
1679 #define GL_PROGRAM_FORMAT_ARB 0x8876
1680 #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
1681 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
1682 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
1683 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
1684 #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
1685 #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
1686 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
1687 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
1688 #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
1689 #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
1690 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
1691 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
1692 #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
1693 #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
1694 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
1695 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
1696 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
1697 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
1698 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
1699 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
1700 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
1701 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
1702 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
1703 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
1704 #define GL_MATRIX0_ARB 0x88C0
1705 #define GL_MATRIX1_ARB 0x88C1
1706 #define GL_MATRIX2_ARB 0x88C2
1707 #define GL_MATRIX3_ARB 0x88C3
1708 #define GL_MATRIX4_ARB 0x88C4
1709 #define GL_MATRIX5_ARB 0x88C5
1710 #define GL_MATRIX6_ARB 0x88C6
1711 #define GL_MATRIX7_ARB 0x88C7
1712 #define GL_MATRIX8_ARB 0x88C8
1713 #define GL_MATRIX9_ARB 0x88C9
1714 #define GL_MATRIX10_ARB 0x88CA
1715 #define GL_MATRIX11_ARB 0x88CB
1716 #define GL_MATRIX12_ARB 0x88CC
1717 #define GL_MATRIX13_ARB 0x88CD
1718 #define GL_MATRIX14_ARB 0x88CE
1719 #define GL_MATRIX15_ARB 0x88CF
1720 #define GL_MATRIX16_ARB 0x88D0
1721 #define GL_MATRIX17_ARB 0x88D1
1722 #define GL_MATRIX18_ARB 0x88D2
1723 #define GL_MATRIX19_ARB 0x88D3
1724 #define GL_MATRIX20_ARB 0x88D4
1725 #define GL_MATRIX21_ARB 0x88D5
1726 #define GL_MATRIX22_ARB 0x88D6
1727 #define GL_MATRIX23_ARB 0x88D7
1728 #define GL_MATRIX24_ARB 0x88D8
1729 #define GL_MATRIX25_ARB 0x88D9
1730 #define GL_MATRIX26_ARB 0x88DA
1731 #define GL_MATRIX27_ARB 0x88DB
1732 #define GL_MATRIX28_ARB 0x88DC
1733 #define GL_MATRIX29_ARB 0x88DD
1734 #define GL_MATRIX30_ARB 0x88DE
1735 #define GL_MATRIX31_ARB 0x88DF
1736 #endif
1737 
1738 #ifndef GL_ARB_fragment_program
1739 #define GL_FRAGMENT_PROGRAM_ARB 0x8804
1740 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
1741 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
1742 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
1743 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
1744 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
1745 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
1746 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
1747 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
1748 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
1749 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
1750 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
1751 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
1752 #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
1753 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
1754 #endif
1755 
1756 #ifndef GL_ARB_vertex_buffer_object
1757 #define GL_BUFFER_SIZE_ARB 0x8764
1758 #define GL_BUFFER_USAGE_ARB 0x8765
1759 #define GL_ARRAY_BUFFER_ARB 0x8892
1760 #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
1761 #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
1762 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
1763 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
1764 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
1765 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
1766 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
1767 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
1768 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
1769 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
1770 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
1771 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
1772 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
1773 #define GL_READ_ONLY_ARB 0x88B8
1774 #define GL_WRITE_ONLY_ARB 0x88B9
1775 #define GL_READ_WRITE_ARB 0x88BA
1776 #define GL_BUFFER_ACCESS_ARB 0x88BB
1777 #define GL_BUFFER_MAPPED_ARB 0x88BC
1778 #define GL_BUFFER_MAP_POINTER_ARB 0x88BD
1779 #define GL_STREAM_DRAW_ARB 0x88E0
1780 #define GL_STREAM_READ_ARB 0x88E1
1781 #define GL_STREAM_COPY_ARB 0x88E2
1782 #define GL_STATIC_DRAW_ARB 0x88E4
1783 #define GL_STATIC_READ_ARB 0x88E5
1784 #define GL_STATIC_COPY_ARB 0x88E6
1785 #define GL_DYNAMIC_DRAW_ARB 0x88E8
1786 #define GL_DYNAMIC_READ_ARB 0x88E9
1787 #define GL_DYNAMIC_COPY_ARB 0x88EA
1788 #endif
1789 
1790 #ifndef GL_ARB_occlusion_query
1791 #define GL_QUERY_COUNTER_BITS_ARB 0x8864
1792 #define GL_CURRENT_QUERY_ARB 0x8865
1793 #define GL_QUERY_RESULT_ARB 0x8866
1794 #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
1795 #define GL_SAMPLES_PASSED_ARB 0x8914
1796 #endif
1797 
1798 #ifndef GL_ARB_shader_objects
1799 #define GL_PROGRAM_OBJECT_ARB 0x8B40
1800 #define GL_SHADER_OBJECT_ARB 0x8B48
1801 #define GL_OBJECT_TYPE_ARB 0x8B4E
1802 #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
1803 #define GL_FLOAT_VEC2_ARB 0x8B50
1804 #define GL_FLOAT_VEC3_ARB 0x8B51
1805 #define GL_FLOAT_VEC4_ARB 0x8B52
1806 #define GL_INT_VEC2_ARB 0x8B53
1807 #define GL_INT_VEC3_ARB 0x8B54
1808 #define GL_INT_VEC4_ARB 0x8B55
1809 #define GL_BOOL_ARB 0x8B56
1810 #define GL_BOOL_VEC2_ARB 0x8B57
1811 #define GL_BOOL_VEC3_ARB 0x8B58
1812 #define GL_BOOL_VEC4_ARB 0x8B59
1813 #define GL_FLOAT_MAT2_ARB 0x8B5A
1814 #define GL_FLOAT_MAT3_ARB 0x8B5B
1815 #define GL_FLOAT_MAT4_ARB 0x8B5C
1816 #define GL_SAMPLER_1D_ARB 0x8B5D
1817 #define GL_SAMPLER_2D_ARB 0x8B5E
1818 #define GL_SAMPLER_3D_ARB 0x8B5F
1819 #define GL_SAMPLER_CUBE_ARB 0x8B60
1820 #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
1821 #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
1822 #define GL_SAMPLER_2D_RECT_ARB 0x8B63
1823 #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
1824 #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
1825 #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
1826 #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
1827 #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
1828 #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
1829 #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
1830 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
1831 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
1832 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
1833 #endif
1834 
1835 #ifndef GL_ARB_vertex_shader
1836 #define GL_VERTEX_SHADER_ARB 0x8B31
1837 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
1838 #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
1839 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
1840 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
1841 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
1842 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
1843 #endif
1844 
1845 #ifndef GL_ARB_fragment_shader
1846 #define GL_FRAGMENT_SHADER_ARB 0x8B30
1847 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
1848 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
1849 #endif
1850 
1851 #ifndef GL_ARB_shading_language_100
1852 #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
1853 #endif
1854 
1855 #ifndef GL_ARB_texture_non_power_of_two
1856 #endif
1857 
1858 #ifndef GL_ARB_point_sprite
1859 #define GL_POINT_SPRITE_ARB 0x8861
1860 #define GL_COORD_REPLACE_ARB 0x8862
1861 #endif
1862 
1863 #ifndef GL_ARB_fragment_program_shadow
1864 #endif
1865 
1866 #ifndef GL_ARB_draw_buffers
1867 #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
1868 #define GL_DRAW_BUFFER0_ARB 0x8825
1869 #define GL_DRAW_BUFFER1_ARB 0x8826
1870 #define GL_DRAW_BUFFER2_ARB 0x8827
1871 #define GL_DRAW_BUFFER3_ARB 0x8828
1872 #define GL_DRAW_BUFFER4_ARB 0x8829
1873 #define GL_DRAW_BUFFER5_ARB 0x882A
1874 #define GL_DRAW_BUFFER6_ARB 0x882B
1875 #define GL_DRAW_BUFFER7_ARB 0x882C
1876 #define GL_DRAW_BUFFER8_ARB 0x882D
1877 #define GL_DRAW_BUFFER9_ARB 0x882E
1878 #define GL_DRAW_BUFFER10_ARB 0x882F
1879 #define GL_DRAW_BUFFER11_ARB 0x8830
1880 #define GL_DRAW_BUFFER12_ARB 0x8831
1881 #define GL_DRAW_BUFFER13_ARB 0x8832
1882 #define GL_DRAW_BUFFER14_ARB 0x8833
1883 #define GL_DRAW_BUFFER15_ARB 0x8834
1884 #endif
1885 
1886 #ifndef GL_ARB_texture_rectangle
1887 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
1888 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
1889 #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
1890 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
1891 #endif
1892 
1893 #ifndef GL_ARB_color_buffer_float
1894 #define GL_RGBA_FLOAT_MODE_ARB 0x8820
1895 #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
1896 #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
1897 #define GL_CLAMP_READ_COLOR_ARB 0x891C
1898 #define GL_FIXED_ONLY_ARB 0x891D
1899 #endif
1900 
1901 #ifndef GL_ARB_half_float_pixel
1902 #define GL_HALF_FLOAT_ARB 0x140B
1903 #endif
1904 
1905 #ifndef GL_ARB_texture_float
1906 #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
1907 #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
1908 #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
1909 #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
1910 #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
1911 #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
1912 #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
1913 #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
1914 #define GL_RGBA32F_ARB 0x8814
1915 #define GL_RGB32F_ARB 0x8815
1916 #define GL_ALPHA32F_ARB 0x8816
1917 #define GL_INTENSITY32F_ARB 0x8817
1918 #define GL_LUMINANCE32F_ARB 0x8818
1919 #define GL_LUMINANCE_ALPHA32F_ARB 0x8819
1920 #define GL_RGBA16F_ARB 0x881A
1921 #define GL_RGB16F_ARB 0x881B
1922 #define GL_ALPHA16F_ARB 0x881C
1923 #define GL_INTENSITY16F_ARB 0x881D
1924 #define GL_LUMINANCE16F_ARB 0x881E
1925 #define GL_LUMINANCE_ALPHA16F_ARB 0x881F
1926 #endif
1927 
1928 #ifndef GL_ARB_pixel_buffer_object
1929 #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
1930 #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
1931 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
1932 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
1933 #endif
1934 
1935 #ifndef GL_ARB_depth_buffer_float
1936 #define GL_DEPTH_COMPONENT32F 0x8CAC
1937 #define GL_DEPTH32F_STENCIL8 0x8CAD
1938 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
1939 #endif
1940 
1941 #ifndef GL_ARB_draw_instanced
1942 #endif
1943 
1944 #ifndef GL_ARB_framebuffer_object
1945 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
1946 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
1947 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
1948 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
1949 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
1950 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
1951 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
1952 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
1953 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
1954 #define GL_FRAMEBUFFER_DEFAULT 0x8218
1955 #define GL_FRAMEBUFFER_UNDEFINED 0x8219
1956 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
1957 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
1958 #define GL_DEPTH_STENCIL 0x84F9
1959 #define GL_UNSIGNED_INT_24_8 0x84FA
1960 #define GL_DEPTH24_STENCIL8 0x88F0
1961 #define GL_TEXTURE_STENCIL_SIZE 0x88F1
1962 #define GL_TEXTURE_RED_TYPE 0x8C10
1963 #define GL_TEXTURE_GREEN_TYPE 0x8C11
1964 #define GL_TEXTURE_BLUE_TYPE 0x8C12
1965 #define GL_TEXTURE_ALPHA_TYPE 0x8C13
1966 #define GL_TEXTURE_DEPTH_TYPE 0x8C16
1967 #define GL_UNSIGNED_NORMALIZED 0x8C17
1968 #define GL_FRAMEBUFFER_BINDING 0x8CA6
1969 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
1970 #define GL_RENDERBUFFER_BINDING 0x8CA7
1971 #define GL_READ_FRAMEBUFFER 0x8CA8
1972 #define GL_DRAW_FRAMEBUFFER 0x8CA9
1973 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
1974 #define GL_RENDERBUFFER_SAMPLES 0x8CAB
1975 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
1976 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
1977 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
1978 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
1979 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
1980 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
1981 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
1982 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
1983 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
1984 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
1985 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
1986 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
1987 #define GL_COLOR_ATTACHMENT0 0x8CE0
1988 #define GL_COLOR_ATTACHMENT1 0x8CE1
1989 #define GL_COLOR_ATTACHMENT2 0x8CE2
1990 #define GL_COLOR_ATTACHMENT3 0x8CE3
1991 #define GL_COLOR_ATTACHMENT4 0x8CE4
1992 #define GL_COLOR_ATTACHMENT5 0x8CE5
1993 #define GL_COLOR_ATTACHMENT6 0x8CE6
1994 #define GL_COLOR_ATTACHMENT7 0x8CE7
1995 #define GL_COLOR_ATTACHMENT8 0x8CE8
1996 #define GL_COLOR_ATTACHMENT9 0x8CE9
1997 #define GL_COLOR_ATTACHMENT10 0x8CEA
1998 #define GL_COLOR_ATTACHMENT11 0x8CEB
1999 #define GL_COLOR_ATTACHMENT12 0x8CEC
2000 #define GL_COLOR_ATTACHMENT13 0x8CED
2001 #define GL_COLOR_ATTACHMENT14 0x8CEE
2002 #define GL_COLOR_ATTACHMENT15 0x8CEF
2003 #define GL_DEPTH_ATTACHMENT 0x8D00
2004 #define GL_STENCIL_ATTACHMENT 0x8D20
2005 #define GL_FRAMEBUFFER 0x8D40
2006 #define GL_RENDERBUFFER 0x8D41
2007 #define GL_RENDERBUFFER_WIDTH 0x8D42
2008 #define GL_RENDERBUFFER_HEIGHT 0x8D43
2009 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
2010 #define GL_STENCIL_INDEX1 0x8D46
2011 #define GL_STENCIL_INDEX4 0x8D47
2012 #define GL_STENCIL_INDEX8 0x8D48
2013 #define GL_STENCIL_INDEX16 0x8D49
2014 #define GL_RENDERBUFFER_RED_SIZE 0x8D50
2015 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
2016 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
2017 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
2018 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
2019 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
2020 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
2021 #define GL_MAX_SAMPLES 0x8D57
2022 #define GL_INDEX 0x8222
2023 #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
2024 #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
2025 #endif
2026 
2027 #ifndef GL_ARB_framebuffer_sRGB
2028 #define GL_FRAMEBUFFER_SRGB 0x8DB9
2029 #endif
2030 
2031 #ifndef GL_ARB_geometry_shader4
2032 #define GL_LINES_ADJACENCY_ARB 0x000A
2033 #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
2034 #define GL_TRIANGLES_ADJACENCY_ARB 0x000C
2035 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
2036 #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
2037 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
2038 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
2039 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
2040 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
2041 #define GL_GEOMETRY_SHADER_ARB 0x8DD9
2042 #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
2043 #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
2044 #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
2045 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
2046 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
2047 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
2048 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
2049 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
2050 /* reuse GL_MAX_VARYING_COMPONENTS */
2051 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
2052 #endif
2053 
2054 #ifndef GL_ARB_half_float_vertex
2055 #define GL_HALF_FLOAT 0x140B
2056 #endif
2057 
2058 #ifndef GL_ARB_instanced_arrays
2059 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
2060 #endif
2061 
2062 #ifndef GL_ARB_map_buffer_range
2063 #define GL_MAP_READ_BIT 0x0001
2064 #define GL_MAP_WRITE_BIT 0x0002
2065 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
2066 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
2067 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
2068 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
2069 #endif
2070 
2071 #ifndef GL_ARB_texture_buffer_object
2072 #define GL_TEXTURE_BUFFER_ARB 0x8C2A
2073 #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
2074 #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
2075 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
2076 #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
2077 #endif
2078 
2079 #ifndef GL_ARB_texture_compression_rgtc
2080 #define GL_COMPRESSED_RED_RGTC1 0x8DBB
2081 #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
2082 #define GL_COMPRESSED_RG_RGTC2 0x8DBD
2083 #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
2084 #endif
2085 
2086 #ifndef GL_ARB_texture_rg
2087 #define GL_RG 0x8227
2088 #define GL_RG_INTEGER 0x8228
2089 #define GL_R8 0x8229
2090 #define GL_R16 0x822A
2091 #define GL_RG8 0x822B
2092 #define GL_RG16 0x822C
2093 #define GL_R16F 0x822D
2094 #define GL_R32F 0x822E
2095 #define GL_RG16F 0x822F
2096 #define GL_RG32F 0x8230
2097 #define GL_R8I 0x8231
2098 #define GL_R8UI 0x8232
2099 #define GL_R16I 0x8233
2100 #define GL_R16UI 0x8234
2101 #define GL_R32I 0x8235
2102 #define GL_R32UI 0x8236
2103 #define GL_RG8I 0x8237
2104 #define GL_RG8UI 0x8238
2105 #define GL_RG16I 0x8239
2106 #define GL_RG16UI 0x823A
2107 #define GL_RG32I 0x823B
2108 #define GL_RG32UI 0x823C
2109 #endif
2110 
2111 #ifndef GL_ARB_vertex_array_object
2112 #define GL_VERTEX_ARRAY_BINDING 0x85B5
2113 #endif
2114 
2115 #ifndef GL_ARB_uniform_buffer_object
2116 #define GL_UNIFORM_BUFFER 0x8A11
2117 #define GL_UNIFORM_BUFFER_BINDING 0x8A28
2118 #define GL_UNIFORM_BUFFER_START 0x8A29
2119 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
2120 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
2121 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
2122 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
2123 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
2124 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
2125 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
2126 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
2127 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
2128 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
2129 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
2130 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
2131 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
2132 #define GL_UNIFORM_TYPE 0x8A37
2133 #define GL_UNIFORM_SIZE 0x8A38
2134 #define GL_UNIFORM_NAME_LENGTH 0x8A39
2135 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
2136 #define GL_UNIFORM_OFFSET 0x8A3B
2137 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
2138 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
2139 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
2140 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
2141 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
2142 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
2143 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
2144 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
2145 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
2146 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
2147 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
2148 #define GL_INVALID_INDEX 0xFFFFFFFFu
2149 #endif
2150 
2151 #ifndef GL_ARB_compatibility
2152 /* ARB_compatibility just defines tokens from core 3.0 */
2153 #endif
2154 
2155 #ifndef GL_ARB_copy_buffer
2156 #define GL_COPY_READ_BUFFER_BINDING 0x8F36
2157 #define GL_COPY_READ_BUFFER 0x8F36
2158 #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
2159 #define GL_COPY_WRITE_BUFFER 0x8F37
2160 #endif
2161 
2162 #ifndef GL_ARB_shader_texture_lod
2163 #endif
2164 
2165 #ifndef GL_ARB_depth_clamp
2166 #define GL_DEPTH_CLAMP 0x864F
2167 #endif
2168 
2169 #ifndef GL_ARB_draw_elements_base_vertex
2170 #endif
2171 
2172 #ifndef GL_ARB_fragment_coord_conventions
2173 #endif
2174 
2175 #ifndef GL_ARB_provoking_vertex
2176 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
2177 #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
2178 #define GL_LAST_VERTEX_CONVENTION 0x8E4E
2179 #define GL_PROVOKING_VERTEX 0x8E4F
2180 #endif
2181 
2182 #ifndef GL_ARB_seamless_cube_map
2183 #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
2184 #endif
2185 
2186 #ifndef GL_ARB_sync
2187 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
2188 #define GL_OBJECT_TYPE 0x9112
2189 #define GL_SYNC_CONDITION 0x9113
2190 #define GL_SYNC_STATUS 0x9114
2191 #define GL_SYNC_FLAGS 0x9115
2192 #define GL_SYNC_FENCE 0x9116
2193 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
2194 #define GL_UNSIGNALED 0x9118
2195 #define GL_SIGNALED 0x9119
2196 #define GL_ALREADY_SIGNALED 0x911A
2197 #define GL_TIMEOUT_EXPIRED 0x911B
2198 #define GL_CONDITION_SATISFIED 0x911C
2199 #define GL_WAIT_FAILED 0x911D
2200 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
2201 #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
2202 #endif
2203 
2204 #ifndef GL_ARB_texture_multisample
2205 #define GL_SAMPLE_POSITION 0x8E50
2206 #define GL_SAMPLE_MASK 0x8E51
2207 #define GL_SAMPLE_MASK_VALUE 0x8E52
2208 #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
2209 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
2210 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
2211 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
2212 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
2213 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
2214 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
2215 #define GL_TEXTURE_SAMPLES 0x9106
2216 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
2217 #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
2218 #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
2219 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
2220 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
2221 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
2222 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
2223 #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
2224 #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
2225 #define GL_MAX_INTEGER_SAMPLES 0x9110
2226 #endif
2227 
2228 #ifndef GL_ARB_vertex_array_bgra
2229 /* reuse GL_BGRA */
2230 #endif
2231 
2232 #ifndef GL_ARB_draw_buffers_blend
2233 #endif
2234 
2235 #ifndef GL_ARB_sample_shading
2236 #define GL_SAMPLE_SHADING_ARB 0x8C36
2237 #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
2238 #endif
2239 
2240 #ifndef GL_ARB_texture_cube_map_array
2241 #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
2242 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
2243 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
2244 #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
2245 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
2246 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
2247 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
2248 #endif
2249 
2250 #ifndef GL_ARB_texture_gather
2251 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
2252 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
2253 #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
2254 #endif
2255 
2256 #ifndef GL_ARB_texture_query_lod
2257 #endif
2258 
2259 #ifndef GL_ARB_shading_language_include
2260 #define GL_SHADER_INCLUDE_ARB 0x8DAE
2261 #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
2262 #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
2263 #endif
2264 
2265 #ifndef GL_ARB_texture_compression_bptc
2266 #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
2267 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
2268 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
2269 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
2270 #endif
2271 
2272 #ifndef GL_ARB_blend_func_extended
2273 #define GL_SRC1_COLOR 0x88F9
2274 /* reuse GL_SRC1_ALPHA */
2275 #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
2276 #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
2277 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
2278 #endif
2279 
2280 #ifndef GL_ARB_explicit_attrib_location
2281 #endif
2282 
2283 #ifndef GL_ARB_occlusion_query2
2284 #define GL_ANY_SAMPLES_PASSED 0x8C2F
2285 #endif
2286 
2287 #ifndef GL_ARB_sampler_objects
2288 #define GL_SAMPLER_BINDING 0x8919
2289 #endif
2290 
2291 #ifndef GL_ARB_shader_bit_encoding
2292 #endif
2293 
2294 #ifndef GL_ARB_texture_rgb10_a2ui
2295 #define GL_RGB10_A2UI 0x906F
2296 #endif
2297 
2298 #ifndef GL_ARB_texture_swizzle
2299 #define GL_TEXTURE_SWIZZLE_R 0x8E42
2300 #define GL_TEXTURE_SWIZZLE_G 0x8E43
2301 #define GL_TEXTURE_SWIZZLE_B 0x8E44
2302 #define GL_TEXTURE_SWIZZLE_A 0x8E45
2303 #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
2304 #endif
2305 
2306 #ifndef GL_ARB_timer_query
2307 #define GL_TIME_ELAPSED 0x88BF
2308 #define GL_TIMESTAMP 0x8E28
2309 #endif
2310 
2311 #ifndef GL_ARB_vertex_type_2_10_10_10_rev
2312 /* reuse GL_UNSIGNED_INT_2_10_10_10_REV */
2313 #define GL_INT_2_10_10_10_REV 0x8D9F
2314 #endif
2315 
2316 #ifndef GL_ARB_draw_indirect
2317 #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
2318 #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
2319 #endif
2320 
2321 #ifndef GL_ARB_gpu_shader5
2322 #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
2323 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
2324 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
2325 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
2326 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
2327 /* reuse GL_MAX_VERTEX_STREAMS */
2328 #endif
2329 
2330 #ifndef GL_ARB_gpu_shader_fp64
2331 /* reuse GL_DOUBLE */
2332 #define GL_DOUBLE_VEC2 0x8FFC
2333 #define GL_DOUBLE_VEC3 0x8FFD
2334 #define GL_DOUBLE_VEC4 0x8FFE
2335 #define GL_DOUBLE_MAT2 0x8F46
2336 #define GL_DOUBLE_MAT3 0x8F47
2337 #define GL_DOUBLE_MAT4 0x8F48
2338 #define GL_DOUBLE_MAT2x3 0x8F49
2339 #define GL_DOUBLE_MAT2x4 0x8F4A
2340 #define GL_DOUBLE_MAT3x2 0x8F4B
2341 #define GL_DOUBLE_MAT3x4 0x8F4C
2342 #define GL_DOUBLE_MAT4x2 0x8F4D
2343 #define GL_DOUBLE_MAT4x3 0x8F4E
2344 #endif
2345 
2346 #ifndef GL_ARB_shader_subroutine
2347 #define GL_ACTIVE_SUBROUTINES 0x8DE5
2348 #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
2349 #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
2350 #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
2351 #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
2352 #define GL_MAX_SUBROUTINES 0x8DE7
2353 #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
2354 #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
2355 #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
2356 /* reuse GL_UNIFORM_SIZE */
2357 /* reuse GL_UNIFORM_NAME_LENGTH */
2358 #endif
2359 
2360 #ifndef GL_ARB_tessellation_shader
2361 #define GL_PATCHES 0x000E
2362 #define GL_PATCH_VERTICES 0x8E72
2363 #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
2364 #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
2365 #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
2366 #define GL_TESS_GEN_MODE 0x8E76
2367 #define GL_TESS_GEN_SPACING 0x8E77
2368 #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
2369 #define GL_TESS_GEN_POINT_MODE 0x8E79
2370 /* reuse GL_TRIANGLES */
2371 /* reuse GL_QUADS */
2372 #define GL_ISOLINES 0x8E7A
2373 /* reuse GL_EQUAL */
2374 #define GL_FRACTIONAL_ODD 0x8E7B
2375 #define GL_FRACTIONAL_EVEN 0x8E7C
2376 /* reuse GL_CCW */
2377 /* reuse GL_CW */
2378 #define GL_MAX_PATCH_VERTICES 0x8E7D
2379 #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
2380 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
2381 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
2382 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
2383 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
2384 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
2385 #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
2386 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
2387 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
2388 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
2389 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
2390 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
2391 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
2392 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
2393 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
2394 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
2395 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
2396 #define GL_TESS_EVALUATION_SHADER 0x8E87
2397 #define GL_TESS_CONTROL_SHADER 0x8E88
2398 #endif
2399 
2400 #ifndef GL_ARB_texture_buffer_object_rgb32
2401 /* reuse GL_RGB32F */
2402 /* reuse GL_RGB32UI */
2403 /* reuse GL_RGB32I */
2404 #endif
2405 
2406 #ifndef GL_ARB_transform_feedback2
2407 #define GL_TRANSFORM_FEEDBACK 0x8E22
2408 #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
2409 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
2410 #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
2411 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
2412 #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
2413 #endif
2414 
2415 #ifndef GL_ARB_transform_feedback3
2416 #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
2417 #define GL_MAX_VERTEX_STREAMS 0x8E71
2418 #endif
2419 
2420 #ifndef GL_ARB_ES2_compatibility
2421 #define GL_FIXED 0x140C
2422 #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
2423 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
2424 #define GL_LOW_FLOAT 0x8DF0
2425 #define GL_MEDIUM_FLOAT 0x8DF1
2426 #define GL_HIGH_FLOAT 0x8DF2
2427 #define GL_LOW_INT 0x8DF3
2428 #define GL_MEDIUM_INT 0x8DF4
2429 #define GL_HIGH_INT 0x8DF5
2430 #define GL_SHADER_COMPILER 0x8DFA
2431 #define GL_SHADER_BINARY_FORMATS 0x8DF8
2432 #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
2433 #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
2434 #define GL_MAX_VARYING_VECTORS 0x8DFC
2435 #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
2436 #define GL_RGB565 0x8D62
2437 #endif
2438 
2439 #ifndef GL_ARB_get_program_binary
2440 #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
2441 #define GL_PROGRAM_BINARY_LENGTH 0x8741
2442 #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
2443 #define GL_PROGRAM_BINARY_FORMATS 0x87FF
2444 #endif
2445 
2446 #ifndef GL_ARB_separate_shader_objects
2447 #define GL_VERTEX_SHADER_BIT 0x00000001
2448 #define GL_FRAGMENT_SHADER_BIT 0x00000002
2449 #define GL_GEOMETRY_SHADER_BIT 0x00000004
2450 #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
2451 #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
2452 #define GL_ALL_SHADER_BITS 0xFFFFFFFF
2453 #define GL_PROGRAM_SEPARABLE 0x8258
2454 #define GL_ACTIVE_PROGRAM 0x8259
2455 #define GL_PROGRAM_PIPELINE_BINDING 0x825A
2456 #endif
2457 
2458 #ifndef GL_ARB_shader_precision
2459 #endif
2460 
2461 #ifndef GL_ARB_vertex_attrib_64bit
2462 /* reuse GL_RGB32I */
2463 /* reuse GL_DOUBLE_VEC2 */
2464 /* reuse GL_DOUBLE_VEC3 */
2465 /* reuse GL_DOUBLE_VEC4 */
2466 /* reuse GL_DOUBLE_MAT2 */
2467 /* reuse GL_DOUBLE_MAT3 */
2468 /* reuse GL_DOUBLE_MAT4 */
2469 /* reuse GL_DOUBLE_MAT2x3 */
2470 /* reuse GL_DOUBLE_MAT2x4 */
2471 /* reuse GL_DOUBLE_MAT3x2 */
2472 /* reuse GL_DOUBLE_MAT3x4 */
2473 /* reuse GL_DOUBLE_MAT4x2 */
2474 /* reuse GL_DOUBLE_MAT4x3 */
2475 #endif
2476 
2477 #ifndef GL_ARB_viewport_array
2478 /* reuse GL_SCISSOR_BOX */
2479 /* reuse GL_VIEWPORT */
2480 /* reuse GL_DEPTH_RANGE */
2481 /* reuse GL_SCISSOR_TEST */
2482 #define GL_MAX_VIEWPORTS 0x825B
2483 #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
2484 #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
2485 #define GL_LAYER_PROVOKING_VERTEX 0x825E
2486 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
2487 #define GL_UNDEFINED_VERTEX 0x8260
2488 /* reuse GL_FIRST_VERTEX_CONVENTION */
2489 /* reuse GL_LAST_VERTEX_CONVENTION */
2490 /* reuse GL_PROVOKING_VERTEX */
2491 #endif
2492 
2493 #ifndef GL_ARB_cl_event
2494 #define GL_SYNC_CL_EVENT_ARB 0x8240
2495 #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
2496 #endif
2497 
2498 #ifndef GL_ARB_debug_output
2499 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
2500 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
2501 #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
2502 #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
2503 #define GL_DEBUG_SOURCE_API_ARB 0x8246
2504 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
2505 #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
2506 #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
2507 #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
2508 #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
2509 #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
2510 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
2511 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
2512 #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
2513 #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
2514 #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
2515 #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
2516 #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
2517 #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
2518 #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
2519 #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
2520 #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
2521 #endif
2522 
2523 #ifndef GL_ARB_robustness
2524 /* reuse GL_NO_ERROR */
2525 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
2526 #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
2527 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
2528 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
2529 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
2530 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
2531 #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
2532 #endif
2533 
2534 #ifndef GL_ARB_shader_stencil_export
2535 #endif
2536 
2537 #ifndef GL_ARB_base_instance
2538 #endif
2539 
2540 #ifndef GL_ARB_shading_language_420pack
2541 #endif
2542 
2543 #ifndef GL_ARB_transform_feedback_instanced
2544 #endif
2545 
2546 #ifndef GL_ARB_compressed_texture_pixel_storage
2547 #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
2548 #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
2549 #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
2550 #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A
2551 #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B
2552 #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C
2553 #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D
2554 #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E
2555 #endif
2556 
2557 #ifndef GL_ARB_conservative_depth
2558 #endif
2559 
2560 #ifndef GL_ARB_internalformat_query
2561 #define GL_NUM_SAMPLE_COUNTS 0x9380
2562 #endif
2563 
2564 #ifndef GL_ARB_map_buffer_alignment
2565 #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC
2566 #endif
2567 
2568 #ifndef GL_ARB_shader_atomic_counters
2569 #define GL_ATOMIC_COUNTER_BUFFER 0x92C0
2570 #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1
2571 #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
2572 #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
2573 #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
2574 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
2575 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
2576 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
2577 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
2578 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
2579 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
2580 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
2581 #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
2582 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
2583 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
2584 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
2585 #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
2586 #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
2587 #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2
2588 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
2589 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
2590 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5
2591 #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6
2592 #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7
2593 #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
2594 #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
2595 #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9
2596 #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
2597 #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB
2598 #endif
2599 
2600 #ifndef GL_ARB_shader_image_load_store
2601 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
2602 #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
2603 #define GL_UNIFORM_BARRIER_BIT 0x00000004
2604 #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
2605 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
2606 #define GL_COMMAND_BARRIER_BIT 0x00000040
2607 #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
2608 #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
2609 #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
2610 #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
2611 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
2612 #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
2613 #define GL_ALL_BARRIER_BITS 0xFFFFFFFF
2614 #define GL_MAX_IMAGE_UNITS 0x8F38
2615 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
2616 #define GL_IMAGE_BINDING_NAME 0x8F3A
2617 #define GL_IMAGE_BINDING_LEVEL 0x8F3B
2618 #define GL_IMAGE_BINDING_LAYERED 0x8F3C
2619 #define GL_IMAGE_BINDING_LAYER 0x8F3D
2620 #define GL_IMAGE_BINDING_ACCESS 0x8F3E
2621 #define GL_IMAGE_1D 0x904C
2622 #define GL_IMAGE_2D 0x904D
2623 #define GL_IMAGE_3D 0x904E
2624 #define GL_IMAGE_2D_RECT 0x904F
2625 #define GL_IMAGE_CUBE 0x9050
2626 #define GL_IMAGE_BUFFER 0x9051
2627 #define GL_IMAGE_1D_ARRAY 0x9052
2628 #define GL_IMAGE_2D_ARRAY 0x9053
2629 #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054
2630 #define GL_IMAGE_2D_MULTISAMPLE 0x9055
2631 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
2632 #define GL_INT_IMAGE_1D 0x9057
2633 #define GL_INT_IMAGE_2D 0x9058
2634 #define GL_INT_IMAGE_3D 0x9059
2635 #define GL_INT_IMAGE_2D_RECT 0x905A
2636 #define GL_INT_IMAGE_CUBE 0x905B
2637 #define GL_INT_IMAGE_BUFFER 0x905C
2638 #define GL_INT_IMAGE_1D_ARRAY 0x905D
2639 #define GL_INT_IMAGE_2D_ARRAY 0x905E
2640 #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
2641 #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
2642 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
2643 #define GL_UNSIGNED_INT_IMAGE_1D 0x9062
2644 #define GL_UNSIGNED_INT_IMAGE_2D 0x9063
2645 #define GL_UNSIGNED_INT_IMAGE_3D 0x9064
2646 #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
2647 #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
2648 #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
2649 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
2650 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
2651 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
2652 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
2653 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
2654 #define GL_MAX_IMAGE_SAMPLES 0x906D
2655 #define GL_IMAGE_BINDING_FORMAT 0x906E
2656 #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
2657 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
2658 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
2659 #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
2660 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
2661 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
2662 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
2663 #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
2664 #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
2665 #endif
2666 
2667 #ifndef GL_ARB_shading_language_packing
2668 #endif
2669 
2670 #ifndef GL_ARB_texture_storage
2671 #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
2672 #endif
2673 
2674 #ifndef GL_KHR_texture_compression_astc_ldr
2675 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
2676 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
2677 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
2678 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
2679 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
2680 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
2681 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
2682 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
2683 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
2684 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
2685 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
2686 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
2687 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
2688 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
2689 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
2690 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
2691 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
2692 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
2693 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
2694 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
2695 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
2696 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
2697 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
2698 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
2699 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
2700 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
2701 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
2702 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
2703 #endif
2704 
2705 #ifndef GL_KHR_debug
2706 #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
2707 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
2708 #define GL_DEBUG_CALLBACK_FUNCTION 0x8244
2709 #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
2710 #define GL_DEBUG_SOURCE_API 0x8246
2711 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
2712 #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
2713 #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
2714 #define GL_DEBUG_SOURCE_APPLICATION 0x824A
2715 #define GL_DEBUG_SOURCE_OTHER 0x824B
2716 #define GL_DEBUG_TYPE_ERROR 0x824C
2717 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
2718 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
2719 #define GL_DEBUG_TYPE_PORTABILITY 0x824F
2720 #define GL_DEBUG_TYPE_PERFORMANCE 0x8250
2721 #define GL_DEBUG_TYPE_OTHER 0x8251
2722 #define GL_DEBUG_TYPE_MARKER 0x8268
2723 #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
2724 #define GL_DEBUG_TYPE_POP_GROUP 0x826A
2725 #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
2726 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
2727 #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
2728 #define GL_BUFFER 0x82E0
2729 #define GL_SHADER 0x82E1
2730 #define GL_PROGRAM 0x82E2
2731 #define GL_QUERY 0x82E3
2732 #define GL_PROGRAM_PIPELINE 0x82E4
2733 #define GL_SAMPLER 0x82E6
2734 #define GL_DISPLAY_LIST 0x82E7
2735 /* DISPLAY_LIST used in compatibility profile only */
2736 #define GL_MAX_LABEL_LENGTH 0x82E8
2737 #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
2738 #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
2739 #define GL_DEBUG_LOGGED_MESSAGES 0x9145
2740 #define GL_DEBUG_SEVERITY_HIGH 0x9146
2741 #define GL_DEBUG_SEVERITY_MEDIUM 0x9147
2742 #define GL_DEBUG_SEVERITY_LOW 0x9148
2743 #define GL_DEBUG_OUTPUT 0x92E0
2744 #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
2745 /* reuse GL_STACK_UNDERFLOW */
2746 /* reuse GL_STACK_OVERFLOW */
2747 #endif
2748 
2749 #ifndef GL_ARB_arrays_of_arrays
2750 #endif
2751 
2752 #ifndef GL_ARB_clear_buffer_object
2753 #endif
2754 
2755 #ifndef GL_ARB_compute_shader
2756 #define GL_COMPUTE_SHADER 0x91B9
2757 #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB
2758 #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
2759 #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD
2760 #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
2761 #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
2762 #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
2763 #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265
2764 #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
2765 #define GL_MAX_COMPUTE_LOCAL_INVOCATIONS 0x90EB
2766 #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE
2767 #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF
2768 #define GL_COMPUTE_LOCAL_WORK_SIZE 0x8267
2769 #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
2770 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
2771 #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
2772 #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
2773 #define GL_COMPUTE_SHADER_BIT 0x00000020
2774 #endif
2775 
2776 #ifndef GL_ARB_copy_image
2777 #endif
2778 
2779 #ifndef GL_ARB_texture_view
2780 #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB
2781 #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC
2782 #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD
2783 #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE
2784 #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
2785 #endif
2786 
2787 #ifndef GL_ARB_vertex_attrib_binding
2788 #define GL_VERTEX_ATTRIB_BINDING 0x82D4
2789 #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5
2790 #define GL_VERTEX_BINDING_DIVISOR 0x82D6
2791 #define GL_VERTEX_BINDING_OFFSET 0x82D7
2792 #define GL_VERTEX_BINDING_STRIDE 0x82D8
2793 #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
2794 #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA
2795 #endif
2796 
2797 #ifndef GL_ARB_robustness_isolation
2798 #endif
2799 
2800 #ifndef GL_ARB_ES3_compatibility
2801 #define GL_COMPRESSED_RGB8_ETC2 0x9274
2802 #define GL_COMPRESSED_SRGB8_ETC2 0x9275
2803 #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
2804 #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
2805 #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278
2806 #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
2807 #define GL_COMPRESSED_R11_EAC 0x9270
2808 #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271
2809 #define GL_COMPRESSED_RG11_EAC 0x9272
2810 #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273
2811 #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
2812 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
2813 #define GL_MAX_ELEMENT_INDEX 0x8D6B
2814 #endif
2815 
2816 #ifndef GL_ARB_explicit_uniform_location
2817 #define GL_MAX_UNIFORM_LOCATIONS 0x826E
2818 #endif
2819 
2820 #ifndef GL_ARB_fragment_layer_viewport
2821 #endif
2822 
2823 #ifndef GL_ARB_framebuffer_no_attachments
2824 #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
2825 #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311
2826 #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312
2827 #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
2828 #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
2829 #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315
2830 #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316
2831 #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317
2832 #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318
2833 #endif
2834 
2835 #ifndef GL_ARB_internalformat_query2
2836 /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_TYPE */
2837 /* reuse GL_NUM_SAMPLE_COUNTS */
2838 /* reuse GL_RENDERBUFFER */
2839 /* reuse GL_SAMPLES */
2840 /* reuse GL_TEXTURE_1D */
2841 /* reuse GL_TEXTURE_1D_ARRAY */
2842 /* reuse GL_TEXTURE_2D */
2843 /* reuse GL_TEXTURE_2D_ARRAY */
2844 /* reuse GL_TEXTURE_3D */
2845 /* reuse GL_TEXTURE_CUBE_MAP */
2846 /* reuse GL_TEXTURE_CUBE_MAP_ARRAY */
2847 /* reuse GL_TEXTURE_RECTANGLE */
2848 /* reuse GL_TEXTURE_BUFFER */
2849 /* reuse GL_TEXTURE_2D_MULTISAMPLE */
2850 /* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */
2851 /* reuse GL_TEXTURE_COMPRESSED */
2852 #define GL_INTERNALFORMAT_SUPPORTED 0x826F
2853 #define GL_INTERNALFORMAT_PREFERRED 0x8270
2854 #define GL_INTERNALFORMAT_RED_SIZE 0x8271
2855 #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272
2856 #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273
2857 #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274
2858 #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275
2859 #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276
2860 #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277
2861 #define GL_INTERNALFORMAT_RED_TYPE 0x8278
2862 #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279
2863 #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A
2864 #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B
2865 #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C
2866 #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D
2867 #define GL_MAX_WIDTH 0x827E
2868 #define GL_MAX_HEIGHT 0x827F
2869 #define GL_MAX_DEPTH 0x8280
2870 #define GL_MAX_LAYERS 0x8281
2871 #define GL_MAX_COMBINED_DIMENSIONS 0x8282
2872 #define GL_COLOR_COMPONENTS 0x8283
2873 #define GL_DEPTH_COMPONENTS 0x8284
2874 #define GL_STENCIL_COMPONENTS 0x8285
2875 #define GL_COLOR_RENDERABLE 0x8286
2876 #define GL_DEPTH_RENDERABLE 0x8287
2877 #define GL_STENCIL_RENDERABLE 0x8288
2878 #define GL_FRAMEBUFFER_RENDERABLE 0x8289
2879 #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
2880 #define GL_FRAMEBUFFER_BLEND 0x828B
2881 #define GL_READ_PIXELS 0x828C
2882 #define GL_READ_PIXELS_FORMAT 0x828D
2883 #define GL_READ_PIXELS_TYPE 0x828E
2884 #define GL_TEXTURE_IMAGE_FORMAT 0x828F
2885 #define GL_TEXTURE_IMAGE_TYPE 0x8290
2886 #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291
2887 #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292
2888 #define GL_MIPMAP 0x8293
2889 #define GL_MANUAL_GENERATE_MIPMAP 0x8294
2890 #define GL_AUTO_GENERATE_MIPMAP 0x8295
2891 #define GL_COLOR_ENCODING 0x8296
2892 #define GL_SRGB_READ 0x8297
2893 #define GL_SRGB_WRITE 0x8298
2894 #define GL_SRGB_DECODE_ARB 0x8299
2895 #define GL_FILTER 0x829A
2896 #define GL_VERTEX_TEXTURE 0x829B
2897 #define GL_TESS_CONTROL_TEXTURE 0x829C
2898 #define GL_TESS_EVALUATION_TEXTURE 0x829D
2899 #define GL_GEOMETRY_TEXTURE 0x829E
2900 #define GL_FRAGMENT_TEXTURE 0x829F
2901 #define GL_COMPUTE_TEXTURE 0x82A0
2902 #define GL_TEXTURE_SHADOW 0x82A1
2903 #define GL_TEXTURE_GATHER 0x82A2
2904 #define GL_TEXTURE_GATHER_SHADOW 0x82A3
2905 #define GL_SHADER_IMAGE_LOAD 0x82A4
2906 #define GL_SHADER_IMAGE_STORE 0x82A5
2907 #define GL_SHADER_IMAGE_ATOMIC 0x82A6
2908 #define GL_IMAGE_TEXEL_SIZE 0x82A7
2909 #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8
2910 #define GL_IMAGE_PIXEL_FORMAT 0x82A9
2911 #define GL_IMAGE_PIXEL_TYPE 0x82AA
2912 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
2913 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
2914 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
2915 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
2916 #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
2917 #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
2918 #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3
2919 #define GL_CLEAR_BUFFER 0x82B4
2920 #define GL_TEXTURE_VIEW 0x82B5
2921 #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6
2922 #define GL_FULL_SUPPORT 0x82B7
2923 #define GL_CAVEAT_SUPPORT 0x82B8
2924 #define GL_IMAGE_CLASS_4_X_32 0x82B9
2925 #define GL_IMAGE_CLASS_2_X_32 0x82BA
2926 #define GL_IMAGE_CLASS_1_X_32 0x82BB
2927 #define GL_IMAGE_CLASS_4_X_16 0x82BC
2928 #define GL_IMAGE_CLASS_2_X_16 0x82BD
2929 #define GL_IMAGE_CLASS_1_X_16 0x82BE
2930 #define GL_IMAGE_CLASS_4_X_8 0x82BF
2931 #define GL_IMAGE_CLASS_2_X_8 0x82C0
2932 #define GL_IMAGE_CLASS_1_X_8 0x82C1
2933 #define GL_IMAGE_CLASS_11_11_10 0x82C2
2934 #define GL_IMAGE_CLASS_10_10_10_2 0x82C3
2935 #define GL_VIEW_CLASS_128_BITS 0x82C4
2936 #define GL_VIEW_CLASS_96_BITS 0x82C5
2937 #define GL_VIEW_CLASS_64_BITS 0x82C6
2938 #define GL_VIEW_CLASS_48_BITS 0x82C7
2939 #define GL_VIEW_CLASS_32_BITS 0x82C8
2940 #define GL_VIEW_CLASS_24_BITS 0x82C9
2941 #define GL_VIEW_CLASS_16_BITS 0x82CA
2942 #define GL_VIEW_CLASS_8_BITS 0x82CB
2943 #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
2944 #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD
2945 #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE
2946 #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF
2947 #define GL_VIEW_CLASS_RGTC1_RED 0x82D0
2948 #define GL_VIEW_CLASS_RGTC2_RG 0x82D1
2949 #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
2950 #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
2951 #endif
2952 
2953 #ifndef GL_ARB_invalidate_subdata
2954 #endif
2955 
2956 #ifndef GL_ARB_multi_draw_indirect
2957 #endif
2958 
2959 #ifndef GL_ARB_program_interface_query
2960 #define GL_UNIFORM 0x92E1
2961 #define GL_UNIFORM_BLOCK 0x92E2
2962 #define GL_PROGRAM_INPUT 0x92E3
2963 #define GL_PROGRAM_OUTPUT 0x92E4
2964 #define GL_BUFFER_VARIABLE 0x92E5
2965 #define GL_SHADER_STORAGE_BLOCK 0x92E6
2966 /* reuse GL_ATOMIC_COUNTER_BUFFER */
2967 #define GL_VERTEX_SUBROUTINE 0x92E8
2968 #define GL_TESS_CONTROL_SUBROUTINE 0x92E9
2969 #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA
2970 #define GL_GEOMETRY_SUBROUTINE 0x92EB
2971 #define GL_FRAGMENT_SUBROUTINE 0x92EC
2972 #define GL_COMPUTE_SUBROUTINE 0x92ED
2973 #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE
2974 #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
2975 #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
2976 #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1
2977 #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2
2978 #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3
2979 #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4
2980 #define GL_ACTIVE_RESOURCES 0x92F5
2981 #define GL_MAX_NAME_LENGTH 0x92F6
2982 #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7
2983 #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
2984 #define GL_NAME_LENGTH 0x92F9
2985 #define GL_TYPE 0x92FA
2986 #define GL_ARRAY_SIZE 0x92FB
2987 #define GL_OFFSET 0x92FC
2988 #define GL_BLOCK_INDEX 0x92FD
2989 #define GL_ARRAY_STRIDE 0x92FE
2990 #define GL_MATRIX_STRIDE 0x92FF
2991 #define GL_IS_ROW_MAJOR 0x9300
2992 #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301
2993 #define GL_BUFFER_BINDING 0x9302
2994 #define GL_BUFFER_DATA_SIZE 0x9303
2995 #define GL_NUM_ACTIVE_VARIABLES 0x9304
2996 #define GL_ACTIVE_VARIABLES 0x9305
2997 #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
2998 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
2999 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
3000 #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
3001 #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
3002 #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
3003 #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C
3004 #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D
3005 #define GL_LOCATION 0x930E
3006 #define GL_LOCATION_INDEX 0x930F
3007 #define GL_IS_PER_PATCH 0x92E7
3008 /* reuse GL_NUM_COMPATIBLE_SUBROUTINES */
3009 /* reuse GL_COMPATIBLE_SUBROUTINES */
3010 #endif
3011 
3012 #ifndef GL_ARB_robust_buffer_access_behavior
3013 #endif
3014 
3015 #ifndef GL_ARB_shader_image_size
3016 #endif
3017 
3018 #ifndef GL_ARB_shader_storage_buffer_object
3019 #define GL_SHADER_STORAGE_BUFFER 0x90D2
3020 #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3
3021 #define GL_SHADER_STORAGE_BUFFER_START 0x90D4
3022 #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5
3023 #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
3024 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
3025 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
3026 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
3027 #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
3028 #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
3029 #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
3030 #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
3031 #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE
3032 #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
3033 #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000
3034 #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
3035 /* reuse GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS */
3036 #endif
3037 
3038 #ifndef GL_ARB_stencil_texturing
3039 #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA
3040 #endif
3041 
3042 #ifndef GL_ARB_texture_buffer_range
3043 #define GL_TEXTURE_BUFFER_OFFSET 0x919D
3044 #define GL_TEXTURE_BUFFER_SIZE 0x919E
3045 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
3046 #endif
3047 
3048 #ifndef GL_ARB_texture_query_levels
3049 #endif
3050 
3051 #ifndef GL_ARB_texture_storage_multisample
3052 #endif
3053 
3054 #ifndef GL_EXT_abgr
3055 #define GL_ABGR_EXT 0x8000
3056 #endif
3057 
3058 #ifndef GL_EXT_blend_color
3059 #define GL_CONSTANT_COLOR_EXT 0x8001
3060 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
3061 #define GL_CONSTANT_ALPHA_EXT 0x8003
3062 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
3063 #define GL_BLEND_COLOR_EXT 0x8005
3064 #endif
3065 
3066 #ifndef GL_EXT_polygon_offset
3067 #define GL_POLYGON_OFFSET_EXT 0x8037
3068 #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
3069 #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
3070 #endif
3071 
3072 #ifndef GL_EXT_texture
3073 #define GL_ALPHA4_EXT 0x803B
3074 #define GL_ALPHA8_EXT 0x803C
3075 #define GL_ALPHA12_EXT 0x803D
3076 #define GL_ALPHA16_EXT 0x803E
3077 #define GL_LUMINANCE4_EXT 0x803F
3078 #define GL_LUMINANCE8_EXT 0x8040
3079 #define GL_LUMINANCE12_EXT 0x8041
3080 #define GL_LUMINANCE16_EXT 0x8042
3081 #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
3082 #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
3083 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
3084 #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
3085 #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
3086 #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
3087 #define GL_INTENSITY_EXT 0x8049
3088 #define GL_INTENSITY4_EXT 0x804A
3089 #define GL_INTENSITY8_EXT 0x804B
3090 #define GL_INTENSITY12_EXT 0x804C
3091 #define GL_INTENSITY16_EXT 0x804D
3092 #define GL_RGB2_EXT 0x804E
3093 #define GL_RGB4_EXT 0x804F
3094 #define GL_RGB5_EXT 0x8050
3095 #define GL_RGB8_EXT 0x8051
3096 #define GL_RGB10_EXT 0x8052
3097 #define GL_RGB12_EXT 0x8053
3098 #define GL_RGB16_EXT 0x8054
3099 #define GL_RGBA2_EXT 0x8055
3100 #define GL_RGBA4_EXT 0x8056
3101 #define GL_RGB5_A1_EXT 0x8057
3102 #define GL_RGBA8_EXT 0x8058
3103 #define GL_RGB10_A2_EXT 0x8059
3104 #define GL_RGBA12_EXT 0x805A
3105 #define GL_RGBA16_EXT 0x805B
3106 #define GL_TEXTURE_RED_SIZE_EXT 0x805C
3107 #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
3108 #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
3109 #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
3110 #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
3111 #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
3112 #define GL_REPLACE_EXT 0x8062
3113 #define GL_PROXY_TEXTURE_1D_EXT 0x8063
3114 #define GL_PROXY_TEXTURE_2D_EXT 0x8064
3115 #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
3116 #endif
3117 
3118 #ifndef GL_EXT_texture3D
3119 #define GL_PACK_SKIP_IMAGES_EXT 0x806B
3120 #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
3121 #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
3122 #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
3123 #define GL_TEXTURE_3D_EXT 0x806F
3124 #define GL_PROXY_TEXTURE_3D_EXT 0x8070
3125 #define GL_TEXTURE_DEPTH_EXT 0x8071
3126 #define GL_TEXTURE_WRAP_R_EXT 0x8072
3127 #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
3128 #endif
3129 
3130 #ifndef GL_SGIS_texture_filter4
3131 #define GL_FILTER4_SGIS 0x8146
3132 #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
3133 #endif
3134 
3135 #ifndef GL_EXT_subtexture
3136 #endif
3137 
3138 #ifndef GL_EXT_copy_texture
3139 #endif
3140 
3141 #ifndef GL_EXT_histogram
3142 #define GL_HISTOGRAM_EXT 0x8024
3143 #define GL_PROXY_HISTOGRAM_EXT 0x8025
3144 #define GL_HISTOGRAM_WIDTH_EXT 0x8026
3145 #define GL_HISTOGRAM_FORMAT_EXT 0x8027
3146 #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
3147 #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
3148 #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
3149 #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
3150 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
3151 #define GL_HISTOGRAM_SINK_EXT 0x802D
3152 #define GL_MINMAX_EXT 0x802E
3153 #define GL_MINMAX_FORMAT_EXT 0x802F
3154 #define GL_MINMAX_SINK_EXT 0x8030
3155 #define GL_TABLE_TOO_LARGE_EXT 0x8031
3156 #endif
3157 
3158 #ifndef GL_EXT_convolution
3159 #define GL_CONVOLUTION_1D_EXT 0x8010
3160 #define GL_CONVOLUTION_2D_EXT 0x8011
3161 #define GL_SEPARABLE_2D_EXT 0x8012
3162 #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
3163 #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
3164 #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
3165 #define GL_REDUCE_EXT 0x8016
3166 #define GL_CONVOLUTION_FORMAT_EXT 0x8017
3167 #define GL_CONVOLUTION_WIDTH_EXT 0x8018
3168 #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
3169 #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
3170 #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
3171 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
3172 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
3173 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
3174 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
3175 #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
3176 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
3177 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
3178 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
3179 #endif
3180 
3181 #ifndef GL_SGI_color_matrix
3182 #define GL_COLOR_MATRIX_SGI 0x80B1
3183 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
3184 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
3185 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
3186 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
3187 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
3188 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
3189 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
3190 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
3191 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
3192 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
3193 #endif
3194 
3195 #ifndef GL_SGI_color_table
3196 #define GL_COLOR_TABLE_SGI 0x80D0
3197 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
3198 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
3199 #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
3200 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
3201 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
3202 #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
3203 #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
3204 #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
3205 #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
3206 #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
3207 #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
3208 #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
3209 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
3210 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
3211 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
3212 #endif
3213 
3214 #ifndef GL_SGIS_pixel_texture
3215 #define GL_PIXEL_TEXTURE_SGIS 0x8353
3216 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
3217 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
3218 #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
3219 #endif
3220 
3221 #ifndef GL_SGIX_pixel_texture
3222 #define GL_PIXEL_TEX_GEN_SGIX 0x8139
3223 #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
3224 #endif
3225 
3226 #ifndef GL_SGIS_texture4D
3227 #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
3228 #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
3229 #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
3230 #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
3231 #define GL_TEXTURE_4D_SGIS 0x8134
3232 #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
3233 #define GL_TEXTURE_4DSIZE_SGIS 0x8136
3234 #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
3235 #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
3236 #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
3237 #endif
3238 
3239 #ifndef GL_SGI_texture_color_table
3240 #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
3241 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
3242 #endif
3243 
3244 #ifndef GL_EXT_cmyka
3245 #define GL_CMYK_EXT 0x800C
3246 #define GL_CMYKA_EXT 0x800D
3247 #define GL_PACK_CMYK_HINT_EXT 0x800E
3248 #define GL_UNPACK_CMYK_HINT_EXT 0x800F
3249 #endif
3250 
3251 #ifndef GL_EXT_texture_object
3252 #define GL_TEXTURE_PRIORITY_EXT 0x8066
3253 #define GL_TEXTURE_RESIDENT_EXT 0x8067
3254 #define GL_TEXTURE_1D_BINDING_EXT 0x8068
3255 #define GL_TEXTURE_2D_BINDING_EXT 0x8069
3256 #define GL_TEXTURE_3D_BINDING_EXT 0x806A
3257 #endif
3258 
3259 #ifndef GL_SGIS_detail_texture
3260 #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
3261 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
3262 #define GL_LINEAR_DETAIL_SGIS 0x8097
3263 #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
3264 #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
3265 #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
3266 #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
3267 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
3268 #endif
3269 
3270 #ifndef GL_SGIS_sharpen_texture
3271 #define GL_LINEAR_SHARPEN_SGIS 0x80AD
3272 #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
3273 #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
3274 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
3275 #endif
3276 
3277 #ifndef GL_EXT_packed_pixels
3278 #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
3279 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
3280 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
3281 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
3282 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
3283 #endif
3284 
3285 #ifndef GL_SGIS_texture_lod
3286 #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
3287 #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
3288 #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
3289 #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
3290 #endif
3291 
3292 #ifndef GL_SGIS_multisample
3293 #define GL_MULTISAMPLE_SGIS 0x809D
3294 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
3295 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
3296 #define GL_SAMPLE_MASK_SGIS 0x80A0
3297 #define GL_1PASS_SGIS 0x80A1
3298 #define GL_2PASS_0_SGIS 0x80A2
3299 #define GL_2PASS_1_SGIS 0x80A3
3300 #define GL_4PASS_0_SGIS 0x80A4
3301 #define GL_4PASS_1_SGIS 0x80A5
3302 #define GL_4PASS_2_SGIS 0x80A6
3303 #define GL_4PASS_3_SGIS 0x80A7
3304 #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
3305 #define GL_SAMPLES_SGIS 0x80A9
3306 #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
3307 #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
3308 #define GL_SAMPLE_PATTERN_SGIS 0x80AC
3309 #endif
3310 
3311 #ifndef GL_EXT_rescale_normal
3312 #define GL_RESCALE_NORMAL_EXT 0x803A
3313 #endif
3314 
3315 #ifndef GL_EXT_vertex_array
3316 #define GL_VERTEX_ARRAY_EXT 0x8074
3317 #define GL_NORMAL_ARRAY_EXT 0x8075
3318 #define GL_COLOR_ARRAY_EXT 0x8076
3319 #define GL_INDEX_ARRAY_EXT 0x8077
3320 #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
3321 #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
3322 #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
3323 #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
3324 #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
3325 #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
3326 #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
3327 #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
3328 #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
3329 #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
3330 #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
3331 #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
3332 #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
3333 #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
3334 #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
3335 #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
3336 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
3337 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
3338 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
3339 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
3340 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
3341 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
3342 #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
3343 #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
3344 #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
3345 #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
3346 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
3347 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
3348 #endif
3349 
3350 #ifndef GL_EXT_misc_attribute
3351 #endif
3352 
3353 #ifndef GL_SGIS_generate_mipmap
3354 #define GL_GENERATE_MIPMAP_SGIS 0x8191
3355 #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
3356 #endif
3357 
3358 #ifndef GL_SGIX_clipmap
3359 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
3360 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
3361 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
3362 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
3363 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
3364 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
3365 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
3366 #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
3367 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
3368 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
3369 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
3370 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
3371 #endif
3372 
3373 #ifndef GL_SGIX_shadow
3374 #define GL_TEXTURE_COMPARE_SGIX 0x819A
3375 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
3376 #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
3377 #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
3378 #endif
3379 
3380 #ifndef GL_SGIS_texture_edge_clamp
3381 #define GL_CLAMP_TO_EDGE_SGIS 0x812F
3382 #endif
3383 
3384 #ifndef GL_SGIS_texture_border_clamp
3385 #define GL_CLAMP_TO_BORDER_SGIS 0x812D
3386 #endif
3387 
3388 #ifndef GL_EXT_blend_minmax
3389 #define GL_FUNC_ADD_EXT 0x8006
3390 #define GL_MIN_EXT 0x8007
3391 #define GL_MAX_EXT 0x8008
3392 #define GL_BLEND_EQUATION_EXT 0x8009
3393 #endif
3394 
3395 #ifndef GL_EXT_blend_subtract
3396 #define GL_FUNC_SUBTRACT_EXT 0x800A
3397 #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
3398 #endif
3399 
3400 #ifndef GL_EXT_blend_logic_op
3401 #endif
3402 
3403 #ifndef GL_SGIX_interlace
3404 #define GL_INTERLACE_SGIX 0x8094
3405 #endif
3406 
3407 #ifndef GL_SGIX_pixel_tiles
3408 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
3409 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
3410 #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
3411 #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
3412 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
3413 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
3414 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
3415 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
3416 #endif
3417 
3418 #ifndef GL_SGIS_texture_select
3419 #define GL_DUAL_ALPHA4_SGIS 0x8110
3420 #define GL_DUAL_ALPHA8_SGIS 0x8111
3421 #define GL_DUAL_ALPHA12_SGIS 0x8112
3422 #define GL_DUAL_ALPHA16_SGIS 0x8113
3423 #define GL_DUAL_LUMINANCE4_SGIS 0x8114
3424 #define GL_DUAL_LUMINANCE8_SGIS 0x8115
3425 #define GL_DUAL_LUMINANCE12_SGIS 0x8116
3426 #define GL_DUAL_LUMINANCE16_SGIS 0x8117
3427 #define GL_DUAL_INTENSITY4_SGIS 0x8118
3428 #define GL_DUAL_INTENSITY8_SGIS 0x8119
3429 #define GL_DUAL_INTENSITY12_SGIS 0x811A
3430 #define GL_DUAL_INTENSITY16_SGIS 0x811B
3431 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
3432 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
3433 #define GL_QUAD_ALPHA4_SGIS 0x811E
3434 #define GL_QUAD_ALPHA8_SGIS 0x811F
3435 #define GL_QUAD_LUMINANCE4_SGIS 0x8120
3436 #define GL_QUAD_LUMINANCE8_SGIS 0x8121
3437 #define GL_QUAD_INTENSITY4_SGIS 0x8122
3438 #define GL_QUAD_INTENSITY8_SGIS 0x8123
3439 #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
3440 #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
3441 #endif
3442 
3443 #ifndef GL_SGIX_sprite
3444 #define GL_SPRITE_SGIX 0x8148
3445 #define GL_SPRITE_MODE_SGIX 0x8149
3446 #define GL_SPRITE_AXIS_SGIX 0x814A
3447 #define GL_SPRITE_TRANSLATION_SGIX 0x814B
3448 #define GL_SPRITE_AXIAL_SGIX 0x814C
3449 #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
3450 #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
3451 #endif
3452 
3453 #ifndef GL_SGIX_texture_multi_buffer
3454 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
3455 #endif
3456 
3457 #ifndef GL_EXT_point_parameters
3458 #define GL_POINT_SIZE_MIN_EXT 0x8126
3459 #define GL_POINT_SIZE_MAX_EXT 0x8127
3460 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
3461 #define GL_DISTANCE_ATTENUATION_EXT 0x8129
3462 #endif
3463 
3464 #ifndef GL_SGIS_point_parameters
3465 #define GL_POINT_SIZE_MIN_SGIS 0x8126
3466 #define GL_POINT_SIZE_MAX_SGIS 0x8127
3467 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
3468 #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
3469 #endif
3470 
3471 #ifndef GL_SGIX_instruments
3472 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
3473 #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
3474 #endif
3475 
3476 #ifndef GL_SGIX_texture_scale_bias
3477 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
3478 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
3479 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
3480 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
3481 #endif
3482 
3483 #ifndef GL_SGIX_framezoom
3484 #define GL_FRAMEZOOM_SGIX 0x818B
3485 #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
3486 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
3487 #endif
3488 
3489 #ifndef GL_SGIX_tag_sample_buffer
3490 #endif
3491 
3492 #ifndef GL_SGIX_polynomial_ffd
3493 #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
3494 #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
3495 #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
3496 #define GL_TEXTURE_DEFORMATION_SGIX 0x8195
3497 #define GL_DEFORMATIONS_MASK_SGIX 0x8196
3498 #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
3499 #endif
3500 
3501 #ifndef GL_SGIX_reference_plane
3502 #define GL_REFERENCE_PLANE_SGIX 0x817D
3503 #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
3504 #endif
3505 
3506 #ifndef GL_SGIX_flush_raster
3507 #endif
3508 
3509 #ifndef GL_SGIX_depth_texture
3510 #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
3511 #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
3512 #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
3513 #endif
3514 
3515 #ifndef GL_SGIS_fog_function
3516 #define GL_FOG_FUNC_SGIS 0x812A
3517 #define GL_FOG_FUNC_POINTS_SGIS 0x812B
3518 #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
3519 #endif
3520 
3521 #ifndef GL_SGIX_fog_offset
3522 #define GL_FOG_OFFSET_SGIX 0x8198
3523 #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
3524 #endif
3525 
3526 #ifndef GL_HP_image_transform
3527 #define GL_IMAGE_SCALE_X_HP 0x8155
3528 #define GL_IMAGE_SCALE_Y_HP 0x8156
3529 #define GL_IMAGE_TRANSLATE_X_HP 0x8157
3530 #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
3531 #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
3532 #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
3533 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
3534 #define GL_IMAGE_MAG_FILTER_HP 0x815C
3535 #define GL_IMAGE_MIN_FILTER_HP 0x815D
3536 #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
3537 #define GL_CUBIC_HP 0x815F
3538 #define GL_AVERAGE_HP 0x8160
3539 #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
3540 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
3541 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
3542 #endif
3543 
3544 #ifndef GL_HP_convolution_border_modes
3545 #define GL_IGNORE_BORDER_HP 0x8150
3546 #define GL_CONSTANT_BORDER_HP 0x8151
3547 #define GL_REPLICATE_BORDER_HP 0x8153
3548 #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
3549 #endif
3550 
3551 #ifndef GL_INGR_palette_buffer
3552 #endif
3553 
3554 #ifndef GL_SGIX_texture_add_env
3555 #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
3556 #endif
3557 
3558 #ifndef GL_EXT_color_subtable
3559 #endif
3560 
3561 #ifndef GL_PGI_vertex_hints
3562 #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
3563 #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
3564 #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
3565 #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
3566 #define GL_VERTEX23_BIT_PGI 0x00000004
3567 #define GL_VERTEX4_BIT_PGI 0x00000008
3568 #define GL_COLOR3_BIT_PGI 0x00010000
3569 #define GL_COLOR4_BIT_PGI 0x00020000
3570 #define GL_EDGEFLAG_BIT_PGI 0x00040000
3571 #define GL_INDEX_BIT_PGI 0x00080000
3572 #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
3573 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
3574 #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
3575 #define GL_MAT_EMISSION_BIT_PGI 0x00800000
3576 #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
3577 #define GL_MAT_SHININESS_BIT_PGI 0x02000000
3578 #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
3579 #define GL_NORMAL_BIT_PGI 0x08000000
3580 #define GL_TEXCOORD1_BIT_PGI 0x10000000
3581 #define GL_TEXCOORD2_BIT_PGI 0x20000000
3582 #define GL_TEXCOORD3_BIT_PGI 0x40000000
3583 #define GL_TEXCOORD4_BIT_PGI 0x80000000
3584 #endif
3585 
3586 #ifndef GL_PGI_misc_hints
3587 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
3588 #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
3589 #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
3590 #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
3591 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
3592 #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
3593 #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
3594 #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
3595 #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
3596 #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
3597 #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
3598 #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
3599 #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
3600 #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
3601 #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
3602 #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
3603 #define GL_CLIP_NEAR_HINT_PGI 0x1A220
3604 #define GL_CLIP_FAR_HINT_PGI 0x1A221
3605 #define GL_WIDE_LINE_HINT_PGI 0x1A222
3606 #define GL_BACK_NORMALS_HINT_PGI 0x1A223
3607 #endif
3608 
3609 #ifndef GL_EXT_paletted_texture
3610 #define GL_COLOR_INDEX1_EXT 0x80E2
3611 #define GL_COLOR_INDEX2_EXT 0x80E3
3612 #define GL_COLOR_INDEX4_EXT 0x80E4
3613 #define GL_COLOR_INDEX8_EXT 0x80E5
3614 #define GL_COLOR_INDEX12_EXT 0x80E6
3615 #define GL_COLOR_INDEX16_EXT 0x80E7
3616 #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
3617 #endif
3618 
3619 #ifndef GL_EXT_clip_volume_hint
3620 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
3621 #endif
3622 
3623 #ifndef GL_SGIX_list_priority
3624 #define GL_LIST_PRIORITY_SGIX 0x8182
3625 #endif
3626 
3627 #ifndef GL_SGIX_ir_instrument1
3628 #define GL_IR_INSTRUMENT1_SGIX 0x817F
3629 #endif
3630 
3631 #ifndef GL_SGIX_calligraphic_fragment
3632 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
3633 #endif
3634 
3635 #ifndef GL_SGIX_texture_lod_bias
3636 #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
3637 #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
3638 #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
3639 #endif
3640 
3641 #ifndef GL_SGIX_shadow_ambient
3642 #define GL_SHADOW_AMBIENT_SGIX 0x80BF
3643 #endif
3644 
3645 #ifndef GL_EXT_index_texture
3646 #endif
3647 
3648 #ifndef GL_EXT_index_material
3649 #define GL_INDEX_MATERIAL_EXT 0x81B8
3650 #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
3651 #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
3652 #endif
3653 
3654 #ifndef GL_EXT_index_func
3655 #define GL_INDEX_TEST_EXT 0x81B5
3656 #define GL_INDEX_TEST_FUNC_EXT 0x81B6
3657 #define GL_INDEX_TEST_REF_EXT 0x81B7
3658 #endif
3659 
3660 #ifndef GL_EXT_index_array_formats
3661 #define GL_IUI_V2F_EXT 0x81AD
3662 #define GL_IUI_V3F_EXT 0x81AE
3663 #define GL_IUI_N3F_V2F_EXT 0x81AF
3664 #define GL_IUI_N3F_V3F_EXT 0x81B0
3665 #define GL_T2F_IUI_V2F_EXT 0x81B1
3666 #define GL_T2F_IUI_V3F_EXT 0x81B2
3667 #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
3668 #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
3669 #endif
3670 
3671 #ifndef GL_EXT_compiled_vertex_array
3672 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
3673 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
3674 #endif
3675 
3676 #ifndef GL_EXT_cull_vertex
3677 #define GL_CULL_VERTEX_EXT 0x81AA
3678 #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
3679 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
3680 #endif
3681 
3682 #ifndef GL_SGIX_ycrcb
3683 #define GL_YCRCB_422_SGIX 0x81BB
3684 #define GL_YCRCB_444_SGIX 0x81BC
3685 #endif
3686 
3687 #ifndef GL_SGIX_fragment_lighting
3688 #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
3689 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
3690 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
3691 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
3692 #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
3693 #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
3694 #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
3695 #define GL_LIGHT_ENV_MODE_SGIX 0x8407
3696 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
3697 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
3698 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
3699 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
3700 #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
3701 #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
3702 #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
3703 #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
3704 #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
3705 #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
3706 #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
3707 #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
3708 #endif
3709 
3710 #ifndef GL_IBM_rasterpos_clip
3711 #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
3712 #endif
3713 
3714 #ifndef GL_HP_texture_lighting
3715 #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
3716 #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
3717 #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
3718 #endif
3719 
3720 #ifndef GL_EXT_draw_range_elements
3721 #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
3722 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
3723 #endif
3724 
3725 #ifndef GL_WIN_phong_shading
3726 #define GL_PHONG_WIN 0x80EA
3727 #define GL_PHONG_HINT_WIN 0x80EB
3728 #endif
3729 
3730 #ifndef GL_WIN_specular_fog
3731 #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
3732 #endif
3733 
3734 #ifndef GL_EXT_light_texture
3735 #define GL_FRAGMENT_MATERIAL_EXT 0x8349
3736 #define GL_FRAGMENT_NORMAL_EXT 0x834A
3737 #define GL_FRAGMENT_COLOR_EXT 0x834C
3738 #define GL_ATTENUATION_EXT 0x834D
3739 #define GL_SHADOW_ATTENUATION_EXT 0x834E
3740 #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
3741 #define GL_TEXTURE_LIGHT_EXT 0x8350
3742 #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
3743 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
3744 /* reuse GL_FRAGMENT_DEPTH_EXT */
3745 #endif
3746 
3747 #ifndef GL_SGIX_blend_alpha_minmax
3748 #define GL_ALPHA_MIN_SGIX 0x8320
3749 #define GL_ALPHA_MAX_SGIX 0x8321
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_SUNX_constant_data
3900 #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
3901 #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
3902 #endif
3903 
3904 #ifndef GL_SUN_global_alpha
3905 #define GL_GLOBAL_ALPHA_SUN 0x81D9
3906 #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
3907 #endif
3908 
3909 #ifndef GL_SUN_triangle_list
3910 #define GL_RESTART_SUN 0x0001
3911 #define GL_REPLACE_MIDDLE_SUN 0x0002
3912 #define GL_REPLACE_OLDEST_SUN 0x0003
3913 #define GL_TRIANGLE_LIST_SUN 0x81D7
3914 #define GL_REPLACEMENT_CODE_SUN 0x81D8
3915 #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
3916 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
3917 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
3918 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
3919 #define GL_R1UI_V3F_SUN 0x85C4
3920 #define GL_R1UI_C4UB_V3F_SUN 0x85C5
3921 #define GL_R1UI_C3F_V3F_SUN 0x85C6
3922 #define GL_R1UI_N3F_V3F_SUN 0x85C7
3923 #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
3924 #define GL_R1UI_T2F_V3F_SUN 0x85C9
3925 #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
3926 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
3927 #endif
3928 
3929 #ifndef GL_SUN_vertex
3930 #endif
3931 
3932 #ifndef GL_EXT_blend_func_separate
3933 #define GL_BLEND_DST_RGB_EXT 0x80C8
3934 #define GL_BLEND_SRC_RGB_EXT 0x80C9
3935 #define GL_BLEND_DST_ALPHA_EXT 0x80CA
3936 #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
3937 #endif
3938 
3939 #ifndef GL_INGR_color_clamp
3940 #define GL_RED_MIN_CLAMP_INGR 0x8560
3941 #define GL_GREEN_MIN_CLAMP_INGR 0x8561
3942 #define GL_BLUE_MIN_CLAMP_INGR 0x8562
3943 #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
3944 #define GL_RED_MAX_CLAMP_INGR 0x8564
3945 #define GL_GREEN_MAX_CLAMP_INGR 0x8565
3946 #define GL_BLUE_MAX_CLAMP_INGR 0x8566
3947 #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
3948 #endif
3949 
3950 #ifndef GL_INGR_interlace_read
3951 #define GL_INTERLACE_READ_INGR 0x8568
3952 #endif
3953 
3954 #ifndef GL_EXT_stencil_wrap
3955 #define GL_INCR_WRAP_EXT 0x8507
3956 #define GL_DECR_WRAP_EXT 0x8508
3957 #endif
3958 
3959 #ifndef GL_EXT_422_pixels
3960 #define GL_422_EXT 0x80CC
3961 #define GL_422_REV_EXT 0x80CD
3962 #define GL_422_AVERAGE_EXT 0x80CE
3963 #define GL_422_REV_AVERAGE_EXT 0x80CF
3964 #endif
3965 
3966 #ifndef GL_NV_texgen_reflection
3967 #define GL_NORMAL_MAP_NV 0x8511
3968 #define GL_REFLECTION_MAP_NV 0x8512
3969 #endif
3970 
3971 #ifndef GL_EXT_texture_cube_map
3972 #define GL_NORMAL_MAP_EXT 0x8511
3973 #define GL_REFLECTION_MAP_EXT 0x8512
3974 #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
3975 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
3976 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
3977 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
3978 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
3979 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
3980 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
3981 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
3982 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
3983 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
3984 #endif
3985 
3986 #ifndef GL_SUN_convolution_border_modes
3987 #define GL_WRAP_BORDER_SUN 0x81D4
3988 #endif
3989 
3990 #ifndef GL_EXT_texture_env_add
3991 #endif
3992 
3993 #ifndef GL_EXT_texture_lod_bias
3994 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
3995 #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
3996 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
3997 #endif
3998 
3999 #ifndef GL_EXT_texture_filter_anisotropic
4000 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
4001 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
4002 #endif
4003 
4004 #ifndef GL_EXT_vertex_weighting
4005 #define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3
4006 #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
4007 #define GL_MODELVIEW0_MATRIX_EXT 0x0BA6
4008 #define GL_MODELVIEW1_MATRIX_EXT 0x8506
4009 #define GL_VERTEX_WEIGHTING_EXT 0x8509
4010 #define GL_MODELVIEW0_EXT 0x1700
4011 #define GL_MODELVIEW1_EXT 0x850A
4012 #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
4013 #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
4014 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
4015 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
4016 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
4017 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
4018 #endif
4019 
4020 #ifndef GL_NV_light_max_exponent
4021 #define GL_MAX_SHININESS_NV 0x8504
4022 #define GL_MAX_SPOT_EXPONENT_NV 0x8505
4023 #endif
4024 
4025 #ifndef GL_NV_vertex_array_range
4026 #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
4027 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
4028 #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
4029 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
4030 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
4031 #endif
4032 
4033 #ifndef GL_NV_register_combiners
4034 #define GL_REGISTER_COMBINERS_NV 0x8522
4035 #define GL_VARIABLE_A_NV 0x8523
4036 #define GL_VARIABLE_B_NV 0x8524
4037 #define GL_VARIABLE_C_NV 0x8525
4038 #define GL_VARIABLE_D_NV 0x8526
4039 #define GL_VARIABLE_E_NV 0x8527
4040 #define GL_VARIABLE_F_NV 0x8528
4041 #define GL_VARIABLE_G_NV 0x8529
4042 #define GL_CONSTANT_COLOR0_NV 0x852A
4043 #define GL_CONSTANT_COLOR1_NV 0x852B
4044 #define GL_PRIMARY_COLOR_NV 0x852C
4045 #define GL_SECONDARY_COLOR_NV 0x852D
4046 #define GL_SPARE0_NV 0x852E
4047 #define GL_SPARE1_NV 0x852F
4048 #define GL_DISCARD_NV 0x8530
4049 #define GL_E_TIMES_F_NV 0x8531
4050 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
4051 #define GL_UNSIGNED_IDENTITY_NV 0x8536
4052 #define GL_UNSIGNED_INVERT_NV 0x8537
4053 #define GL_EXPAND_NORMAL_NV 0x8538
4054 #define GL_EXPAND_NEGATE_NV 0x8539
4055 #define GL_HALF_BIAS_NORMAL_NV 0x853A
4056 #define GL_HALF_BIAS_NEGATE_NV 0x853B
4057 #define GL_SIGNED_IDENTITY_NV 0x853C
4058 #define GL_SIGNED_NEGATE_NV 0x853D
4059 #define GL_SCALE_BY_TWO_NV 0x853E
4060 #define GL_SCALE_BY_FOUR_NV 0x853F
4061 #define GL_SCALE_BY_ONE_HALF_NV 0x8540
4062 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
4063 #define GL_COMBINER_INPUT_NV 0x8542
4064 #define GL_COMBINER_MAPPING_NV 0x8543
4065 #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
4066 #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
4067 #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
4068 #define GL_COMBINER_MUX_SUM_NV 0x8547
4069 #define GL_COMBINER_SCALE_NV 0x8548
4070 #define GL_COMBINER_BIAS_NV 0x8549
4071 #define GL_COMBINER_AB_OUTPUT_NV 0x854A
4072 #define GL_COMBINER_CD_OUTPUT_NV 0x854B
4073 #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
4074 #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
4075 #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
4076 #define GL_COLOR_SUM_CLAMP_NV 0x854F
4077 #define GL_COMBINER0_NV 0x8550
4078 #define GL_COMBINER1_NV 0x8551
4079 #define GL_COMBINER2_NV 0x8552
4080 #define GL_COMBINER3_NV 0x8553
4081 #define GL_COMBINER4_NV 0x8554
4082 #define GL_COMBINER5_NV 0x8555
4083 #define GL_COMBINER6_NV 0x8556
4084 #define GL_COMBINER7_NV 0x8557
4085 /* reuse GL_TEXTURE0_ARB */
4086 /* reuse GL_TEXTURE1_ARB */
4087 /* reuse GL_ZERO */
4088 /* reuse GL_NONE */
4089 /* reuse GL_FOG */
4090 #endif
4091 
4092 #ifndef GL_NV_fog_distance
4093 #define GL_FOG_DISTANCE_MODE_NV 0x855A
4094 #define GL_EYE_RADIAL_NV 0x855B
4095 #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
4096 /* reuse GL_EYE_PLANE */
4097 #endif
4098 
4099 #ifndef GL_NV_texgen_emboss
4100 #define GL_EMBOSS_LIGHT_NV 0x855D
4101 #define GL_EMBOSS_CONSTANT_NV 0x855E
4102 #define GL_EMBOSS_MAP_NV 0x855F
4103 #endif
4104 
4105 #ifndef GL_NV_blend_square
4106 #endif
4107 
4108 #ifndef GL_NV_texture_env_combine4
4109 #define GL_COMBINE4_NV 0x8503
4110 #define GL_SOURCE3_RGB_NV 0x8583
4111 #define GL_SOURCE3_ALPHA_NV 0x858B
4112 #define GL_OPERAND3_RGB_NV 0x8593
4113 #define GL_OPERAND3_ALPHA_NV 0x859B
4114 #endif
4115 
4116 #ifndef GL_MESA_resize_buffers
4117 #endif
4118 
4119 #ifndef GL_MESA_window_pos
4120 #endif
4121 
4122 #ifndef GL_EXT_texture_compression_s3tc
4123 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
4124 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
4125 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
4126 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
4127 #endif
4128 
4129 #ifndef GL_IBM_cull_vertex
4130 #define GL_CULL_VERTEX_IBM 103050
4131 #endif
4132 
4133 #ifndef GL_IBM_multimode_draw_arrays
4134 #endif
4135 
4136 #ifndef GL_IBM_vertex_array_lists
4137 #define GL_VERTEX_ARRAY_LIST_IBM 103070
4138 #define GL_NORMAL_ARRAY_LIST_IBM 103071
4139 #define GL_COLOR_ARRAY_LIST_IBM 103072
4140 #define GL_INDEX_ARRAY_LIST_IBM 103073
4141 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
4142 #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
4143 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
4144 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
4145 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
4146 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
4147 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
4148 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
4149 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
4150 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
4151 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
4152 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
4153 #endif
4154 
4155 #ifndef GL_SGIX_subsample
4156 #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
4157 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
4158 #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
4159 #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
4160 #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
4161 #endif
4162 
4163 #ifndef GL_SGIX_ycrcb_subsample
4164 #endif
4165 
4166 #ifndef GL_SGIX_ycrcba
4167 #define GL_YCRCB_SGIX 0x8318
4168 #define GL_YCRCBA_SGIX 0x8319
4169 #endif
4170 
4171 #ifndef GL_3DFX_texture_compression_FXT1
4172 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
4173 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
4174 #endif
4175 
4176 #ifndef GL_3DFX_multisample
4177 #define GL_MULTISAMPLE_3DFX 0x86B2
4178 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
4179 #define GL_SAMPLES_3DFX 0x86B4
4180 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
4181 #endif
4182 
4183 #ifndef GL_3DFX_tbuffer
4184 #endif
4185 
4186 #ifndef GL_EXT_multisample
4187 #define GL_MULTISAMPLE_EXT 0x809D
4188 #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
4189 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
4190 #define GL_SAMPLE_MASK_EXT 0x80A0
4191 #define GL_1PASS_EXT 0x80A1
4192 #define GL_2PASS_0_EXT 0x80A2
4193 #define GL_2PASS_1_EXT 0x80A3
4194 #define GL_4PASS_0_EXT 0x80A4
4195 #define GL_4PASS_1_EXT 0x80A5
4196 #define GL_4PASS_2_EXT 0x80A6
4197 #define GL_4PASS_3_EXT 0x80A7
4198 #define GL_SAMPLE_BUFFERS_EXT 0x80A8
4199 #define GL_SAMPLES_EXT 0x80A9
4200 #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
4201 #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
4202 #define GL_SAMPLE_PATTERN_EXT 0x80AC
4203 #define GL_MULTISAMPLE_BIT_EXT 0x20000000
4204 #endif
4205 
4206 #ifndef GL_SGIX_vertex_preclip
4207 #define GL_VERTEX_PRECLIP_SGIX 0x83EE
4208 #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
4209 #endif
4210 
4211 #ifndef GL_SGIX_convolution_accuracy
4212 #define GL_CONVOLUTION_HINT_SGIX 0x8316
4213 #endif
4214 
4215 #ifndef GL_SGIX_resample
4216 #define GL_PACK_RESAMPLE_SGIX 0x842C
4217 #define GL_UNPACK_RESAMPLE_SGIX 0x842D
4218 #define GL_RESAMPLE_REPLICATE_SGIX 0x842E
4219 #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
4220 #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
4221 #endif
4222 
4223 #ifndef GL_SGIS_point_line_texgen
4224 #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
4225 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
4226 #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
4227 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
4228 #define GL_EYE_POINT_SGIS 0x81F4
4229 #define GL_OBJECT_POINT_SGIS 0x81F5
4230 #define GL_EYE_LINE_SGIS 0x81F6
4231 #define GL_OBJECT_LINE_SGIS 0x81F7
4232 #endif
4233 
4234 #ifndef GL_SGIS_texture_color_mask
4235 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
4236 #endif
4237 
4238 #ifndef GL_EXT_texture_env_dot3
4239 #define GL_DOT3_RGB_EXT 0x8740
4240 #define GL_DOT3_RGBA_EXT 0x8741
4241 #endif
4242 
4243 #ifndef GL_ATI_texture_mirror_once
4244 #define GL_MIRROR_CLAMP_ATI 0x8742
4245 #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
4246 #endif
4247 
4248 #ifndef GL_NV_fence
4249 #define GL_ALL_COMPLETED_NV 0x84F2
4250 #define GL_FENCE_STATUS_NV 0x84F3
4251 #define GL_FENCE_CONDITION_NV 0x84F4
4252 #endif
4253 
4254 #ifndef GL_IBM_static_data
4255 #define GL_ALL_STATIC_DATA_IBM 103060
4256 #define GL_STATIC_VERTEX_ARRAY_IBM 103061
4257 #endif
4258 
4259 #ifndef GL_IBM_texture_mirrored_repeat
4260 #define GL_MIRRORED_REPEAT_IBM 0x8370
4261 #endif
4262 
4263 #ifndef GL_NV_evaluators
4264 #define GL_EVAL_2D_NV 0x86C0
4265 #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
4266 #define GL_MAP_TESSELLATION_NV 0x86C2
4267 #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
4268 #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
4269 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
4270 #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
4271 #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
4272 #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
4273 #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
4274 #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
4275 #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
4276 #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
4277 #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
4278 #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
4279 #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
4280 #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
4281 #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
4282 #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
4283 #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
4284 #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
4285 #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
4286 #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
4287 #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
4288 #endif
4289 
4290 #ifndef GL_NV_packed_depth_stencil
4291 #define GL_DEPTH_STENCIL_NV 0x84F9
4292 #define GL_UNSIGNED_INT_24_8_NV 0x84FA
4293 #endif
4294 
4295 #ifndef GL_NV_register_combiners2
4296 #define GL_PER_STAGE_CONSTANTS_NV 0x8535
4297 #endif
4298 
4299 #ifndef GL_NV_texture_compression_vtc
4300 #endif
4301 
4302 #ifndef GL_NV_texture_rectangle
4303 #define GL_TEXTURE_RECTANGLE_NV 0x84F5
4304 #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
4305 #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
4306 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
4307 #endif
4308 
4309 #ifndef GL_NV_texture_shader
4310 #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
4311 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
4312 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
4313 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
4314 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
4315 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
4316 #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
4317 #define GL_SHADER_CONSISTENT_NV 0x86DD
4318 #define GL_TEXTURE_SHADER_NV 0x86DE
4319 #define GL_SHADER_OPERATION_NV 0x86DF
4320 #define GL_CULL_MODES_NV 0x86E0
4321 #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
4322 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1
4323 #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
4324 #define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2
4325 #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
4326 #define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3
4327 #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
4328 #define GL_CONST_EYE_NV 0x86E5
4329 #define GL_PASS_THROUGH_NV 0x86E6
4330 #define GL_CULL_FRAGMENT_NV 0x86E7
4331 #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
4332 #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
4333 #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
4334 #define GL_DOT_PRODUCT_NV 0x86EC
4335 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
4336 #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
4337 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
4338 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
4339 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
4340 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
4341 #define GL_HILO_NV 0x86F4
4342 #define GL_DSDT_NV 0x86F5
4343 #define GL_DSDT_MAG_NV 0x86F6
4344 #define GL_DSDT_MAG_VIB_NV 0x86F7
4345 #define GL_HILO16_NV 0x86F8
4346 #define GL_SIGNED_HILO_NV 0x86F9
4347 #define GL_SIGNED_HILO16_NV 0x86FA
4348 #define GL_SIGNED_RGBA_NV 0x86FB
4349 #define GL_SIGNED_RGBA8_NV 0x86FC
4350 #define GL_SIGNED_RGB_NV 0x86FE
4351 #define GL_SIGNED_RGB8_NV 0x86FF
4352 #define GL_SIGNED_LUMINANCE_NV 0x8701
4353 #define GL_SIGNED_LUMINANCE8_NV 0x8702
4354 #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
4355 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
4356 #define GL_SIGNED_ALPHA_NV 0x8705
4357 #define GL_SIGNED_ALPHA8_NV 0x8706
4358 #define GL_SIGNED_INTENSITY_NV 0x8707
4359 #define GL_SIGNED_INTENSITY8_NV 0x8708
4360 #define GL_DSDT8_NV 0x8709
4361 #define GL_DSDT8_MAG8_NV 0x870A
4362 #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
4363 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
4364 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
4365 #define GL_HI_SCALE_NV 0x870E
4366 #define GL_LO_SCALE_NV 0x870F
4367 #define GL_DS_SCALE_NV 0x8710
4368 #define GL_DT_SCALE_NV 0x8711
4369 #define GL_MAGNITUDE_SCALE_NV 0x8712
4370 #define GL_VIBRANCE_SCALE_NV 0x8713
4371 #define GL_HI_BIAS_NV 0x8714
4372 #define GL_LO_BIAS_NV 0x8715
4373 #define GL_DS_BIAS_NV 0x8716
4374 #define GL_DT_BIAS_NV 0x8717
4375 #define GL_MAGNITUDE_BIAS_NV 0x8718
4376 #define GL_VIBRANCE_BIAS_NV 0x8719
4377 #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
4378 #define GL_TEXTURE_HI_SIZE_NV 0x871B
4379 #define GL_TEXTURE_LO_SIZE_NV 0x871C
4380 #define GL_TEXTURE_DS_SIZE_NV 0x871D
4381 #define GL_TEXTURE_DT_SIZE_NV 0x871E
4382 #define GL_TEXTURE_MAG_SIZE_NV 0x871F
4383 #endif
4384 
4385 #ifndef GL_NV_texture_shader2
4386 #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
4387 #endif
4388 
4389 #ifndef GL_NV_vertex_array_range2
4390 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
4391 #endif
4392 
4393 #ifndef GL_NV_vertex_program
4394 #define GL_VERTEX_PROGRAM_NV 0x8620
4395 #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
4396 #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
4397 #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
4398 #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
4399 #define GL_CURRENT_ATTRIB_NV 0x8626
4400 #define GL_PROGRAM_LENGTH_NV 0x8627
4401 #define GL_PROGRAM_STRING_NV 0x8628
4402 #define GL_MODELVIEW_PROJECTION_NV 0x8629
4403 #define GL_IDENTITY_NV 0x862A
4404 #define GL_INVERSE_NV 0x862B
4405 #define GL_TRANSPOSE_NV 0x862C
4406 #define GL_INVERSE_TRANSPOSE_NV 0x862D
4407 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
4408 #define GL_MAX_TRACK_MATRICES_NV 0x862F
4409 #define GL_MATRIX0_NV 0x8630
4410 #define GL_MATRIX1_NV 0x8631
4411 #define GL_MATRIX2_NV 0x8632
4412 #define GL_MATRIX3_NV 0x8633
4413 #define GL_MATRIX4_NV 0x8634
4414 #define GL_MATRIX5_NV 0x8635
4415 #define GL_MATRIX6_NV 0x8636
4416 #define GL_MATRIX7_NV 0x8637
4417 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
4418 #define GL_CURRENT_MATRIX_NV 0x8641
4419 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
4420 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
4421 #define GL_PROGRAM_PARAMETER_NV 0x8644
4422 #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
4423 #define GL_PROGRAM_TARGET_NV 0x8646
4424 #define GL_PROGRAM_RESIDENT_NV 0x8647
4425 #define GL_TRACK_MATRIX_NV 0x8648
4426 #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
4427 #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
4428 #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
4429 #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
4430 #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
4431 #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
4432 #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
4433 #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
4434 #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
4435 #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
4436 #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
4437 #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
4438 #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
4439 #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
4440 #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
4441 #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
4442 #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
4443 #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
4444 #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
4445 #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
4446 #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
4447 #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
4448 #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
4449 #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
4450 #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
4451 #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
4452 #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
4453 #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
4454 #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
4455 #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
4456 #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
4457 #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
4458 #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
4459 #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
4460 #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
4461 #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
4462 #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
4463 #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
4464 #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
4465 #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
4466 #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
4467 #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
4468 #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
4469 #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
4470 #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
4471 #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
4472 #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
4473 #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
4474 #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
4475 #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
4476 #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
4477 #endif
4478 
4479 #ifndef GL_SGIX_texture_coordinate_clamp
4480 #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
4481 #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
4482 #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
4483 #endif
4484 
4485 #ifndef GL_SGIX_scalebias_hint
4486 #define GL_SCALEBIAS_HINT_SGIX 0x8322
4487 #endif
4488 
4489 #ifndef GL_OML_interlace
4490 #define GL_INTERLACE_OML 0x8980
4491 #define GL_INTERLACE_READ_OML 0x8981
4492 #endif
4493 
4494 #ifndef GL_OML_subsample
4495 #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
4496 #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
4497 #endif
4498 
4499 #ifndef GL_OML_resample
4500 #define GL_PACK_RESAMPLE_OML 0x8984
4501 #define GL_UNPACK_RESAMPLE_OML 0x8985
4502 #define GL_RESAMPLE_REPLICATE_OML 0x8986
4503 #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
4504 #define GL_RESAMPLE_AVERAGE_OML 0x8988
4505 #define GL_RESAMPLE_DECIMATE_OML 0x8989
4506 #endif
4507 
4508 #ifndef GL_NV_copy_depth_to_color
4509 #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
4510 #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
4511 #endif
4512 
4513 #ifndef GL_ATI_envmap_bumpmap
4514 #define GL_BUMP_ROT_MATRIX_ATI 0x8775
4515 #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
4516 #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
4517 #define GL_BUMP_TEX_UNITS_ATI 0x8778
4518 #define GL_DUDV_ATI 0x8779
4519 #define GL_DU8DV8_ATI 0x877A
4520 #define GL_BUMP_ENVMAP_ATI 0x877B
4521 #define GL_BUMP_TARGET_ATI 0x877C
4522 #endif
4523 
4524 #ifndef GL_ATI_fragment_shader
4525 #define GL_FRAGMENT_SHADER_ATI 0x8920
4526 #define GL_REG_0_ATI 0x8921
4527 #define GL_REG_1_ATI 0x8922
4528 #define GL_REG_2_ATI 0x8923
4529 #define GL_REG_3_ATI 0x8924
4530 #define GL_REG_4_ATI 0x8925
4531 #define GL_REG_5_ATI 0x8926
4532 #define GL_REG_6_ATI 0x8927
4533 #define GL_REG_7_ATI 0x8928
4534 #define GL_REG_8_ATI 0x8929
4535 #define GL_REG_9_ATI 0x892A
4536 #define GL_REG_10_ATI 0x892B
4537 #define GL_REG_11_ATI 0x892C
4538 #define GL_REG_12_ATI 0x892D
4539 #define GL_REG_13_ATI 0x892E
4540 #define GL_REG_14_ATI 0x892F
4541 #define GL_REG_15_ATI 0x8930
4542 #define GL_REG_16_ATI 0x8931
4543 #define GL_REG_17_ATI 0x8932
4544 #define GL_REG_18_ATI 0x8933
4545 #define GL_REG_19_ATI 0x8934
4546 #define GL_REG_20_ATI 0x8935
4547 #define GL_REG_21_ATI 0x8936
4548 #define GL_REG_22_ATI 0x8937
4549 #define GL_REG_23_ATI 0x8938
4550 #define GL_REG_24_ATI 0x8939
4551 #define GL_REG_25_ATI 0x893A
4552 #define GL_REG_26_ATI 0x893B
4553 #define GL_REG_27_ATI 0x893C
4554 #define GL_REG_28_ATI 0x893D
4555 #define GL_REG_29_ATI 0x893E
4556 #define GL_REG_30_ATI 0x893F
4557 #define GL_REG_31_ATI 0x8940
4558 #define GL_CON_0_ATI 0x8941
4559 #define GL_CON_1_ATI 0x8942
4560 #define GL_CON_2_ATI 0x8943
4561 #define GL_CON_3_ATI 0x8944
4562 #define GL_CON_4_ATI 0x8945
4563 #define GL_CON_5_ATI 0x8946
4564 #define GL_CON_6_ATI 0x8947
4565 #define GL_CON_7_ATI 0x8948
4566 #define GL_CON_8_ATI 0x8949
4567 #define GL_CON_9_ATI 0x894A
4568 #define GL_CON_10_ATI 0x894B
4569 #define GL_CON_11_ATI 0x894C
4570 #define GL_CON_12_ATI 0x894D
4571 #define GL_CON_13_ATI 0x894E
4572 #define GL_CON_14_ATI 0x894F
4573 #define GL_CON_15_ATI 0x8950
4574 #define GL_CON_16_ATI 0x8951
4575 #define GL_CON_17_ATI 0x8952
4576 #define GL_CON_18_ATI 0x8953
4577 #define GL_CON_19_ATI 0x8954
4578 #define GL_CON_20_ATI 0x8955
4579 #define GL_CON_21_ATI 0x8956
4580 #define GL_CON_22_ATI 0x8957
4581 #define GL_CON_23_ATI 0x8958
4582 #define GL_CON_24_ATI 0x8959
4583 #define GL_CON_25_ATI 0x895A
4584 #define GL_CON_26_ATI 0x895B
4585 #define GL_CON_27_ATI 0x895C
4586 #define GL_CON_28_ATI 0x895D
4587 #define GL_CON_29_ATI 0x895E
4588 #define GL_CON_30_ATI 0x895F
4589 #define GL_CON_31_ATI 0x8960
4590 #define GL_MOV_ATI 0x8961
4591 #define GL_ADD_ATI 0x8963
4592 #define GL_MUL_ATI 0x8964
4593 #define GL_SUB_ATI 0x8965
4594 #define GL_DOT3_ATI 0x8966
4595 #define GL_DOT4_ATI 0x8967
4596 #define GL_MAD_ATI 0x8968
4597 #define GL_LERP_ATI 0x8969
4598 #define GL_CND_ATI 0x896A
4599 #define GL_CND0_ATI 0x896B
4600 #define GL_DOT2_ADD_ATI 0x896C
4601 #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
4602 #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
4603 #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
4604 #define GL_NUM_PASSES_ATI 0x8970
4605 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
4606 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
4607 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
4608 #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
4609 #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
4610 #define GL_SWIZZLE_STR_ATI 0x8976
4611 #define GL_SWIZZLE_STQ_ATI 0x8977
4612 #define GL_SWIZZLE_STR_DR_ATI 0x8978
4613 #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
4614 #define GL_SWIZZLE_STRQ_ATI 0x897A
4615 #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
4616 #define GL_RED_BIT_ATI 0x00000001
4617 #define GL_GREEN_BIT_ATI 0x00000002
4618 #define GL_BLUE_BIT_ATI 0x00000004
4619 #define GL_2X_BIT_ATI 0x00000001
4620 #define GL_4X_BIT_ATI 0x00000002
4621 #define GL_8X_BIT_ATI 0x00000004
4622 #define GL_HALF_BIT_ATI 0x00000008
4623 #define GL_QUARTER_BIT_ATI 0x00000010
4624 #define GL_EIGHTH_BIT_ATI 0x00000020
4625 #define GL_SATURATE_BIT_ATI 0x00000040
4626 #define GL_COMP_BIT_ATI 0x00000002
4627 #define GL_NEGATE_BIT_ATI 0x00000004
4628 #define GL_BIAS_BIT_ATI 0x00000008
4629 #endif
4630 
4631 #ifndef GL_ATI_pn_triangles
4632 #define GL_PN_TRIANGLES_ATI 0x87F0
4633 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
4634 #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
4635 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
4636 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
4637 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
4638 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
4639 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
4640 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
4641 #endif
4642 
4643 #ifndef GL_ATI_vertex_array_object
4644 #define GL_STATIC_ATI 0x8760
4645 #define GL_DYNAMIC_ATI 0x8761
4646 #define GL_PRESERVE_ATI 0x8762
4647 #define GL_DISCARD_ATI 0x8763
4648 #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
4649 #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
4650 #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
4651 #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
4652 #endif
4653 
4654 #ifndef GL_EXT_vertex_shader
4655 #define GL_VERTEX_SHADER_EXT 0x8780
4656 #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
4657 #define GL_OP_INDEX_EXT 0x8782
4658 #define GL_OP_NEGATE_EXT 0x8783
4659 #define GL_OP_DOT3_EXT 0x8784
4660 #define GL_OP_DOT4_EXT 0x8785
4661 #define GL_OP_MUL_EXT 0x8786
4662 #define GL_OP_ADD_EXT 0x8787
4663 #define GL_OP_MADD_EXT 0x8788
4664 #define GL_OP_FRAC_EXT 0x8789
4665 #define GL_OP_MAX_EXT 0x878A
4666 #define GL_OP_MIN_EXT 0x878B
4667 #define GL_OP_SET_GE_EXT 0x878C
4668 #define GL_OP_SET_LT_EXT 0x878D
4669 #define GL_OP_CLAMP_EXT 0x878E
4670 #define GL_OP_FLOOR_EXT 0x878F
4671 #define GL_OP_ROUND_EXT 0x8790
4672 #define GL_OP_EXP_BASE_2_EXT 0x8791
4673 #define GL_OP_LOG_BASE_2_EXT 0x8792
4674 #define GL_OP_POWER_EXT 0x8793
4675 #define GL_OP_RECIP_EXT 0x8794
4676 #define GL_OP_RECIP_SQRT_EXT 0x8795
4677 #define GL_OP_SUB_EXT 0x8796
4678 #define GL_OP_CROSS_PRODUCT_EXT 0x8797
4679 #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
4680 #define GL_OP_MOV_EXT 0x8799
4681 #define GL_OUTPUT_VERTEX_EXT 0x879A
4682 #define GL_OUTPUT_COLOR0_EXT 0x879B
4683 #define GL_OUTPUT_COLOR1_EXT 0x879C
4684 #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
4685 #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
4686 #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
4687 #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
4688 #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
4689 #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
4690 #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
4691 #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
4692 #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
4693 #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
4694 #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
4695 #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
4696 #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
4697 #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
4698 #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
4699 #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
4700 #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
4701 #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
4702 #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
4703 #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
4704 #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
4705 #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
4706 #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
4707 #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
4708 #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
4709 #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
4710 #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
4711 #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
4712 #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
4713 #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
4714 #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
4715 #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
4716 #define GL_OUTPUT_FOG_EXT 0x87BD
4717 #define GL_SCALAR_EXT 0x87BE
4718 #define GL_VECTOR_EXT 0x87BF
4719 #define GL_MATRIX_EXT 0x87C0
4720 #define GL_VARIANT_EXT 0x87C1
4721 #define GL_INVARIANT_EXT 0x87C2
4722 #define GL_LOCAL_CONSTANT_EXT 0x87C3
4723 #define GL_LOCAL_EXT 0x87C4
4724 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
4725 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
4726 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
4727 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
4728 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
4729 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
4730 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
4731 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
4732 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
4733 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
4734 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
4735 #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
4736 #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
4737 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
4738 #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
4739 #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
4740 #define GL_X_EXT 0x87D5
4741 #define GL_Y_EXT 0x87D6
4742 #define GL_Z_EXT 0x87D7
4743 #define GL_W_EXT 0x87D8
4744 #define GL_NEGATIVE_X_EXT 0x87D9
4745 #define GL_NEGATIVE_Y_EXT 0x87DA