Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
gles_extra_defines.h
Go to the documentation of this file.
1 #ifndef VL_GL_EXTRA_DEFINES
2 #define VL_GL_EXTRA_DEFINES
3 
4 /**************************************************************************************/
5 /* */
6 /* Visualization Library */
7 /* http://visualizationlibrary.org */
8 /* */
9 /* Copyright (c) 2005-2020, Michele Bosi */
10 /* All rights reserved. */
11 /* */
12 /* Redistribution and use in source and binary forms, with or without modification, */
13 /* are permitted provided that the following conditions are met: */
14 /* */
15 /* - Redistributions of source code must retain the above copyright notice, this */
16 /* list of conditions and the following disclaimer. */
17 /* */
18 /* - Redistributions in binary form must reproduce the above copyright notice, this */
19 /* list of conditions and the following disclaimer in the documentation and/or */
20 /* other materials provided with the distribution. */
21 /* */
22 /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND */
23 /* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
24 /* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE */
25 /* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR */
26 /* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES */
27 /* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; */
28 /* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON */
29 /* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */
30 /* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS */
31 /* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
32 /* */
33 /**************************************************************************************/
34 
35 /*
36  * Mesa 3-D graphics library
37  * Version: 7.6
38  *
39  * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
40  * Copyright (C) 2009 VMware, Inc. All Rights Reserved.
41  *
42  * Permission is hereby granted, free of charge, to any person obtaining a
43  * copy of this software and associated documentation files (the "Software"),
44  * to deal in the Software without restriction, including without limitation
45  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
46  * and/or sell copies of the Software, and to permit persons to whom the
47  * Software is furnished to do so, subject to the following conditions:
48  *
49  * The above copyright notice and this permission notice shall be included
50  * in all copies or substantial portions of the Software.
51  *
52  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
53  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
54  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
55  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
56  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
57  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
58  */
59 
60 
61 /*
62 ** Copyright (c) 2007-2010 The Khronos Group Inc.
63 **
64 ** Permission is hereby granted, free of charge, to any person obtaining a
65 ** copy of this software and/or associated documentation files (the
66 ** "Materials"), to deal in the Materials without restriction, including
67 ** without limitation the rights to use, copy, modify, merge, publish,
68 ** distribute, sublicense, and/or sell copies of the Materials, and to
69 ** permit persons to whom the Materials are furnished to do so, subject to
70 ** the following conditions:
71 **
72 ** The above copyright notice and this permission notice shall be included
73 ** in all copies or substantial portions of the Materials.
74 **
75 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
76 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
77 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
78 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
79 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
80 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
81 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
82 */
83 
84 typedef double GLdouble; /* double precision float */
85 typedef double GLclampd; /* double precision float in [0,1] */
86 
87 /* Data types */
88 #define GL_BYTE 0x1400
89 #define GL_UNSIGNED_BYTE 0x1401
90 #define GL_SHORT 0x1402
91 #define GL_UNSIGNED_SHORT 0x1403
92 #define GL_INT 0x1404
93 #define GL_UNSIGNED_INT 0x1405
94 #define GL_FLOAT 0x1406
95 #define GL_2_BYTES 0x1407
96 #define GL_3_BYTES 0x1408
97 #define GL_4_BYTES 0x1409
98 #define GL_DOUBLE 0x140A
99 
100 /* Primitives */
101 #define GL_POINTS 0x0000
102 #define GL_LINES 0x0001
103 #define GL_LINE_LOOP 0x0002
104 #define GL_LINE_STRIP 0x0003
105 #define GL_TRIANGLES 0x0004
106 #define GL_TRIANGLE_STRIP 0x0005
107 #define GL_TRIANGLE_FAN 0x0006
108 #define GL_QUADS 0x0007
109 #define GL_QUAD_STRIP 0x0008
110 #define GL_POLYGON 0x0009
111 
112 /* Vertex Arrays */
113 #define GL_VERTEX_ARRAY 0x8074
114 #define GL_NORMAL_ARRAY 0x8075
115 #define GL_COLOR_ARRAY 0x8076
116 #define GL_INDEX_ARRAY 0x8077
117 #define GL_TEXTURE_COORD_ARRAY 0x8078
118 #define GL_EDGE_FLAG_ARRAY 0x8079
119 #define GL_VERTEX_ARRAY_SIZE 0x807A
120 #define GL_VERTEX_ARRAY_TYPE 0x807B
121 #define GL_VERTEX_ARRAY_STRIDE 0x807C
122 #define GL_NORMAL_ARRAY_TYPE 0x807E
123 #define GL_NORMAL_ARRAY_STRIDE 0x807F
124 #define GL_COLOR_ARRAY_SIZE 0x8081
125 #define GL_COLOR_ARRAY_TYPE 0x8082
126 #define GL_COLOR_ARRAY_STRIDE 0x8083
127 #define GL_INDEX_ARRAY_TYPE 0x8085
128 #define GL_INDEX_ARRAY_STRIDE 0x8086
129 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
130 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
131 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
132 #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C
133 #define GL_VERTEX_ARRAY_POINTER 0x808E
134 #define GL_NORMAL_ARRAY_POINTER 0x808F
135 #define GL_COLOR_ARRAY_POINTER 0x8090
136 #define GL_INDEX_ARRAY_POINTER 0x8091
137 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
138 #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093
139 #define GL_V2F 0x2A20
140 #define GL_V3F 0x2A21
141 #define GL_C4UB_V2F 0x2A22
142 #define GL_C4UB_V3F 0x2A23
143 #define GL_C3F_V3F 0x2A24
144 #define GL_N3F_V3F 0x2A25
145 #define GL_C4F_N3F_V3F 0x2A26
146 #define GL_T2F_V3F 0x2A27
147 #define GL_T4F_V4F 0x2A28
148 #define GL_T2F_C4UB_V3F 0x2A29
149 #define GL_T2F_C3F_V3F 0x2A2A
150 #define GL_T2F_N3F_V3F 0x2A2B
151 #define GL_T2F_C4F_N3F_V3F 0x2A2C
152 #define GL_T4F_C4F_N3F_V4F 0x2A2D
153 
154 /* Matrix Mode */
155 #define GL_MATRIX_MODE 0x0BA0
156 #define GL_MODELVIEW 0x1700
157 #define GL_PROJECTION 0x1701
158 #define GL_TEXTURE 0x1702
159 
160 /* Points */
161 #define GL_POINT_SMOOTH 0x0B10
162 #define GL_POINT_SIZE 0x0B11
163 #define GL_POINT_SIZE_GRANULARITY 0x0B13
164 #define GL_POINT_SIZE_RANGE 0x0B12
165 
166 /* Lines */
167 #define GL_LINE_SMOOTH 0x0B20
168 #define GL_LINE_STIPPLE 0x0B24
169 #define GL_LINE_STIPPLE_PATTERN 0x0B25
170 #define GL_LINE_STIPPLE_REPEAT 0x0B26
171 #define GL_LINE_WIDTH 0x0B21
172 #define GL_LINE_WIDTH_GRANULARITY 0x0B23
173 #define GL_LINE_WIDTH_RANGE 0x0B22
174 
175 /* Polygons */
176 #define GL_POINT 0x1B00
177 #define GL_LINE 0x1B01
178 #define GL_FILL 0x1B02
179 #define GL_CW 0x0900
180 #define GL_CCW 0x0901
181 #define GL_FRONT 0x0404
182 #define GL_BACK 0x0405
183 #define GL_POLYGON_MODE 0x0B40
184 #define GL_POLYGON_SMOOTH 0x0B41
185 #define GL_POLYGON_STIPPLE 0x0B42
186 #define GL_EDGE_FLAG 0x0B43
187 #define GL_CULL_FACE 0x0B44
188 #define GL_CULL_FACE_MODE 0x0B45
189 #define GL_FRONT_FACE 0x0B46
190 #define GL_POLYGON_OFFSET_FACTOR 0x8038
191 #define GL_POLYGON_OFFSET_UNITS 0x2A00
192 #define GL_POLYGON_OFFSET_POINT 0x2A01
193 #define GL_POLYGON_OFFSET_LINE 0x2A02
194 #define GL_POLYGON_OFFSET_FILL 0x8037
195 
196 /* Display Lists */
197 #define GL_COMPILE 0x1300
198 #define GL_COMPILE_AND_EXECUTE 0x1301
199 #define GL_LIST_BASE 0x0B32
200 #define GL_LIST_INDEX 0x0B33
201 #define GL_LIST_MODE 0x0B30
202 
203 /* Depth buffer */
204 #define GL_NEVER 0x0200
205 #define GL_LESS 0x0201
206 #define GL_EQUAL 0x0202
207 #define GL_LEQUAL 0x0203
208 #define GL_GREATER 0x0204
209 #define GL_NOTEQUAL 0x0205
210 #define GL_GEQUAL 0x0206
211 #define GL_ALWAYS 0x0207
212 #define GL_DEPTH_TEST 0x0B71
213 #define GL_DEPTH_BITS 0x0D56
214 #define GL_DEPTH_CLEAR_VALUE 0x0B73
215 #define GL_DEPTH_FUNC 0x0B74
216 #define GL_DEPTH_RANGE 0x0B70
217 #define GL_DEPTH_WRITEMASK 0x0B72
218 #define GL_DEPTH_COMPONENT 0x1902
219 
220 /* Lighting */
221 #define GL_LIGHTING 0x0B50
222 #define GL_LIGHT0 0x4000
223 #define GL_LIGHT1 0x4001
224 #define GL_LIGHT2 0x4002
225 #define GL_LIGHT3 0x4003
226 #define GL_LIGHT4 0x4004
227 #define GL_LIGHT5 0x4005
228 #define GL_LIGHT6 0x4006
229 #define GL_LIGHT7 0x4007
230 #define GL_SPOT_EXPONENT 0x1205
231 #define GL_SPOT_CUTOFF 0x1206
232 #define GL_CONSTANT_ATTENUATION 0x1207
233 #define GL_LINEAR_ATTENUATION 0x1208
234 #define GL_QUADRATIC_ATTENUATION 0x1209
235 #define GL_AMBIENT 0x1200
236 #define GL_DIFFUSE 0x1201
237 #define GL_SPECULAR 0x1202
238 #define GL_SHININESS 0x1601
239 #define GL_EMISSION 0x1600
240 #define GL_POSITION 0x1203
241 #define GL_SPOT_DIRECTION 0x1204
242 #define GL_AMBIENT_AND_DIFFUSE 0x1602
243 #define GL_COLOR_INDEXES 0x1603
244 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
245 #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
246 #define GL_LIGHT_MODEL_AMBIENT 0x0B53
247 #define GL_FRONT_AND_BACK 0x0408
248 #define GL_SHADE_MODEL 0x0B54
249 #define GL_FLAT 0x1D00
250 #define GL_SMOOTH 0x1D01
251 #define GL_COLOR_MATERIAL 0x0B57
252 #define GL_COLOR_MATERIAL_FACE 0x0B55
253 #define GL_COLOR_MATERIAL_PARAMETER 0x0B56
254 #define GL_NORMALIZE 0x0BA1
255 
256 /* User clipping planes */
257 #define GL_CLIP_PLANE0 0x3000
258 #define GL_CLIP_PLANE1 0x3001
259 #define GL_CLIP_PLANE2 0x3002
260 #define GL_CLIP_PLANE3 0x3003
261 #define GL_CLIP_PLANE4 0x3004
262 #define GL_CLIP_PLANE5 0x3005
263 
264 /* Accumulation buffer */
265 #define GL_ACCUM_RED_BITS 0x0D58
266 #define GL_ACCUM_GREEN_BITS 0x0D59
267 #define GL_ACCUM_BLUE_BITS 0x0D5A
268 #define GL_ACCUM_ALPHA_BITS 0x0D5B
269 #define GL_ACCUM_CLEAR_VALUE 0x0B80
270 #define GL_ACCUM 0x0100
271 #define GL_ADD 0x0104
272 #define GL_LOAD 0x0101
273 #define GL_MULT 0x0103
274 #define GL_RETURN 0x0102
275 
276 /* Alpha testing */
277 #define GL_ALPHA_TEST 0x0BC0
278 #define GL_ALPHA_TEST_REF 0x0BC2
279 #define GL_ALPHA_TEST_FUNC 0x0BC1
280 
281 /* Blending */
282 #define GL_BLEND 0x0BE2
283 #define GL_BLEND_SRC 0x0BE1
284 #define GL_BLEND_DST 0x0BE0
285 #define GL_SRC_COLOR 0x0300
286 #define GL_ONE_MINUS_SRC_COLOR 0x0301
287 #define GL_SRC_ALPHA 0x0302
288 #define GL_ONE_MINUS_SRC_ALPHA 0x0303
289 #define GL_DST_ALPHA 0x0304
290 #define GL_ONE_MINUS_DST_ALPHA 0x0305
291 #define GL_DST_COLOR 0x0306
292 #define GL_ONE_MINUS_DST_COLOR 0x0307
293 #define GL_SRC_ALPHA_SATURATE 0x0308
294 
295 /* Render Mode */
296 #define GL_FEEDBACK 0x1C01
297 #define GL_RENDER 0x1C00
298 #define GL_SELECT 0x1C02
299 
300 /* Feedback */
301 #define GL_2D 0x0600
302 #define GL_3D 0x0601
303 #define GL_3D_COLOR 0x0602
304 #define GL_3D_COLOR_TEXTURE 0x0603
305 #define GL_4D_COLOR_TEXTURE 0x0604
306 #define GL_POINT_TOKEN 0x0701
307 #define GL_LINE_TOKEN 0x0702
308 #define GL_LINE_RESET_TOKEN 0x0707
309 #define GL_POLYGON_TOKEN 0x0703
310 #define GL_BITMAP_TOKEN 0x0704
311 #define GL_DRAW_PIXEL_TOKEN 0x0705
312 #define GL_COPY_PIXEL_TOKEN 0x0706
313 #define GL_PASS_THROUGH_TOKEN 0x0700
314 #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0
315 #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1
316 #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2
317 
318 /* Selection */
319 #define GL_SELECTION_BUFFER_POINTER 0x0DF3
320 #define GL_SELECTION_BUFFER_SIZE 0x0DF4
321 
322 /* Fog */
323 #define GL_FOG 0x0B60
324 #define GL_FOG_MODE 0x0B65
325 #define GL_FOG_DENSITY 0x0B62
326 #define GL_FOG_COLOR 0x0B66
327 #define GL_FOG_INDEX 0x0B61
328 #define GL_FOG_START 0x0B63
329 #define GL_FOG_END 0x0B64
330 #define GL_LINEAR 0x2601
331 #define GL_EXP 0x0800
332 #define GL_EXP2 0x0801
333 
334 /* Logic Ops */
335 #define GL_LOGIC_OP 0x0BF1
336 #define GL_INDEX_LOGIC_OP 0x0BF1
337 #define GL_COLOR_LOGIC_OP 0x0BF2
338 #define GL_LOGIC_OP_MODE 0x0BF0
339 #define GL_CLEAR 0x1500
340 #define GL_SET 0x150F
341 #define GL_COPY 0x1503
342 #define GL_COPY_INVERTED 0x150C
343 #define GL_NOOP 0x1505
344 #define GL_INVERT 0x150A
345 #define GL_AND 0x1501
346 #define GL_NAND 0x150E
347 #define GL_OR 0x1507
348 #define GL_NOR 0x1508
349 #define GL_XOR 0x1506
350 #define GL_EQUIV 0x1509
351 #define GL_AND_REVERSE 0x1502
352 #define GL_AND_INVERTED 0x1504
353 #define GL_OR_REVERSE 0x150B
354 #define GL_OR_INVERTED 0x150D
355 
356 /* Stencil */
357 #define GL_STENCIL_BITS 0x0D57
358 #define GL_STENCIL_TEST 0x0B90
359 #define GL_STENCIL_CLEAR_VALUE 0x0B91
360 #define GL_STENCIL_FUNC 0x0B92
361 #define GL_STENCIL_VALUE_MASK 0x0B93
362 #define GL_STENCIL_FAIL 0x0B94
363 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
364 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
365 #define GL_STENCIL_REF 0x0B97
366 #define GL_STENCIL_WRITEMASK 0x0B98
367 #define GL_STENCIL_INDEX 0x1901
368 #define GL_KEEP 0x1E00
369 #define GL_REPLACE 0x1E01
370 #define GL_INCR 0x1E02
371 #define GL_DECR 0x1E03
372 
373 /* Buffers, Pixel Drawing/Reading */
374 #if defined(VL_OPENGL_ES1)
375  #define GL_NONE 0x0
376 #endif
377 #define GL_LEFT 0x0406
378 #define GL_RIGHT 0x0407
379 /*GL_FRONT 0x0404 */
380 /*GL_BACK 0x0405 */
381 /*GL_FRONT_AND_BACK 0x0408 */
382 #define GL_FRONT_LEFT 0x0400
383 #define GL_FRONT_RIGHT 0x0401
384 #define GL_BACK_LEFT 0x0402
385 #define GL_BACK_RIGHT 0x0403
386 #define GL_AUX0 0x0409
387 #define GL_AUX1 0x040A
388 #define GL_AUX2 0x040B
389 #define GL_AUX3 0x040C
390 #define GL_COLOR_INDEX 0x1900
391 #define GL_RED 0x1903
392 #define GL_GREEN 0x1904
393 #define GL_BLUE 0x1905
394 #define GL_ALPHA 0x1906
395 #define GL_LUMINANCE 0x1909
396 #define GL_LUMINANCE_ALPHA 0x190A
397 #define GL_ALPHA_BITS 0x0D55
398 #define GL_RED_BITS 0x0D52
399 #define GL_GREEN_BITS 0x0D53
400 #define GL_BLUE_BITS 0x0D54
401 #define GL_INDEX_BITS 0x0D51
402 #define GL_SUBPIXEL_BITS 0x0D50
403 #define GL_AUX_BUFFERS 0x0C00
404 #define GL_READ_BUFFER 0x0C02
405 #define GL_DRAW_BUFFER 0x0C01
406 #define GL_DOUBLEBUFFER 0x0C32
407 #define GL_STEREO 0x0C33
408 #define GL_BITMAP 0x1A00
409 #define GL_COLOR 0x1800
410 #define GL_DEPTH 0x1801
411 #define GL_STENCIL 0x1802
412 #define GL_DITHER 0x0BD0
413 #define GL_RGB 0x1907
414 #define GL_RGBA 0x1908
415 
416 /* Implementation limits */
417 #define GL_MAX_LIST_NESTING 0x0B31
418 #define GL_MAX_EVAL_ORDER 0x0D30
419 #define GL_MAX_LIGHTS 0x0D31
420 #define GL_MAX_CLIP_PLANES 0x0D32
421 #define GL_MAX_TEXTURE_SIZE 0x0D33
422 #define GL_MAX_PIXEL_MAP_TABLE 0x0D34
423 #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35
424 #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
425 #define GL_MAX_NAME_STACK_DEPTH 0x0D37
426 #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
427 #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
428 #define GL_MAX_VIEWPORT_DIMS 0x0D3A
429 #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B
430 
431 /* Gets */
432 #define GL_ATTRIB_STACK_DEPTH 0x0BB0
433 #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1
434 #define GL_COLOR_CLEAR_VALUE 0x0C22
435 #define GL_COLOR_WRITEMASK 0x0C23
436 #define GL_CURRENT_INDEX 0x0B01
437 #define GL_CURRENT_COLOR 0x0B00
438 #define GL_CURRENT_NORMAL 0x0B02
439 #define GL_CURRENT_RASTER_COLOR 0x0B04
440 #define GL_CURRENT_RASTER_DISTANCE 0x0B09
441 #define GL_CURRENT_RASTER_INDEX 0x0B05
442 #define GL_CURRENT_RASTER_POSITION 0x0B07
443 #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06
444 #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08
445 #define GL_CURRENT_TEXTURE_COORDS 0x0B03
446 #define GL_INDEX_CLEAR_VALUE 0x0C20
447 #define GL_INDEX_MODE 0x0C30
448 #define GL_INDEX_WRITEMASK 0x0C21
449 #define GL_MODELVIEW_MATRIX 0x0BA6
450 #define GL_MODELVIEW_STACK_DEPTH 0x0BA3
451 #define GL_NAME_STACK_DEPTH 0x0D70
452 #define GL_PROJECTION_MATRIX 0x0BA7
453 #define GL_PROJECTION_STACK_DEPTH 0x0BA4
454 #define GL_RENDER_MODE 0x0C40
455 #define GL_RGBA_MODE 0x0C31
456 #define GL_TEXTURE_MATRIX 0x0BA8
457 #define GL_TEXTURE_STACK_DEPTH 0x0BA5
458 #define GL_VIEWPORT 0x0BA2
459 
460 /* Evaluators */
461 #define GL_AUTO_NORMAL 0x0D80
462 #define GL_MAP1_COLOR_4 0x0D90
463 #define GL_MAP1_INDEX 0x0D91
464 #define GL_MAP1_NORMAL 0x0D92
465 #define GL_MAP1_TEXTURE_COORD_1 0x0D93
466 #define GL_MAP1_TEXTURE_COORD_2 0x0D94
467 #define GL_MAP1_TEXTURE_COORD_3 0x0D95
468 #define GL_MAP1_TEXTURE_COORD_4 0x0D96
469 #define GL_MAP1_VERTEX_3 0x0D97
470 #define GL_MAP1_VERTEX_4 0x0D98
471 #define GL_MAP2_COLOR_4 0x0DB0
472 #define GL_MAP2_INDEX 0x0DB1
473 #define GL_MAP2_NORMAL 0x0DB2
474 #define GL_MAP2_TEXTURE_COORD_1 0x0DB3
475 #define GL_MAP2_TEXTURE_COORD_2 0x0DB4
476 #define GL_MAP2_TEXTURE_COORD_3 0x0DB5
477 #define GL_MAP2_TEXTURE_COORD_4 0x0DB6
478 #define GL_MAP2_VERTEX_3 0x0DB7
479 #define GL_MAP2_VERTEX_4 0x0DB8
480 #define GL_MAP1_GRID_DOMAIN 0x0DD0
481 #define GL_MAP1_GRID_SEGMENTS 0x0DD1
482 #define GL_MAP2_GRID_DOMAIN 0x0DD2
483 #define GL_MAP2_GRID_SEGMENTS 0x0DD3
484 #define GL_COEFF 0x0A00
485 #define GL_ORDER 0x0A01
486 #define GL_DOMAIN 0x0A02
487 
488 /* Hints */
489 #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
490 #define GL_POINT_SMOOTH_HINT 0x0C51
491 #define GL_LINE_SMOOTH_HINT 0x0C52
492 #define GL_POLYGON_SMOOTH_HINT 0x0C53
493 #define GL_FOG_HINT 0x0C54
494 #define GL_DONT_CARE 0x1100
495 #define GL_FASTEST 0x1101
496 #define GL_NICEST 0x1102
497 
498 /* Scissor box */
499 #define GL_SCISSOR_BOX 0x0C10
500 #define GL_SCISSOR_TEST 0x0C11
501 
502 /* Pixel Mode / Transfer */
503 #define GL_MAP_COLOR 0x0D10
504 #define GL_MAP_STENCIL 0x0D11
505 #define GL_INDEX_SHIFT 0x0D12
506 #define GL_INDEX_OFFSET 0x0D13
507 #define GL_RED_SCALE 0x0D14
508 #define GL_RED_BIAS 0x0D15
509 #define GL_GREEN_SCALE 0x0D18
510 #define GL_GREEN_BIAS 0x0D19
511 #define GL_BLUE_SCALE 0x0D1A
512 #define GL_BLUE_BIAS 0x0D1B
513 #define GL_ALPHA_SCALE 0x0D1C
514 #define GL_ALPHA_BIAS 0x0D1D
515 #define GL_DEPTH_SCALE 0x0D1E
516 #define GL_DEPTH_BIAS 0x0D1F
517 #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
518 #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
519 #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
520 #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
521 #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
522 #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
523 #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
524 #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
525 #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
526 #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
527 #define GL_PIXEL_MAP_S_TO_S 0x0C71
528 #define GL_PIXEL_MAP_I_TO_I 0x0C70
529 #define GL_PIXEL_MAP_I_TO_R 0x0C72
530 #define GL_PIXEL_MAP_I_TO_G 0x0C73
531 #define GL_PIXEL_MAP_I_TO_B 0x0C74
532 #define GL_PIXEL_MAP_I_TO_A 0x0C75
533 #define GL_PIXEL_MAP_R_TO_R 0x0C76
534 #define GL_PIXEL_MAP_G_TO_G 0x0C77
535 #define GL_PIXEL_MAP_B_TO_B 0x0C78
536 #define GL_PIXEL_MAP_A_TO_A 0x0C79
537 #define GL_PACK_ALIGNMENT 0x0D05
538 #define GL_PACK_LSB_FIRST 0x0D01
539 #define GL_PACK_ROW_LENGTH 0x0D02
540 #define GL_PACK_SKIP_PIXELS 0x0D04
541 #define GL_PACK_SKIP_ROWS 0x0D03
542 #define GL_PACK_SWAP_BYTES 0x0D00
543 #define GL_UNPACK_ALIGNMENT 0x0CF5
544 #define GL_UNPACK_LSB_FIRST 0x0CF1
545 #define GL_UNPACK_ROW_LENGTH 0x0CF2
546 #define GL_UNPACK_SKIP_PIXELS 0x0CF4
547 #define GL_UNPACK_SKIP_ROWS 0x0CF3
548 #define GL_UNPACK_SWAP_BYTES 0x0CF0
549 #define GL_ZOOM_X 0x0D16
550 #define GL_ZOOM_Y 0x0D17
551 
552 /* Texture mapping */
553 #define GL_TEXTURE_ENV 0x2300
554 #define GL_TEXTURE_ENV_MODE 0x2200
555 #define GL_TEXTURE_1D 0x0DE0
556 #define GL_TEXTURE_2D 0x0DE1
557 #define GL_TEXTURE_WRAP_S 0x2802
558 #define GL_TEXTURE_WRAP_T 0x2803
559 #define GL_TEXTURE_MAG_FILTER 0x2800
560 #define GL_TEXTURE_MIN_FILTER 0x2801
561 #define GL_TEXTURE_ENV_COLOR 0x2201
562 #define GL_TEXTURE_GEN_S 0x0C60
563 #define GL_TEXTURE_GEN_T 0x0C61
564 #define GL_TEXTURE_GEN_MODE 0x2500
565 #define GL_TEXTURE_BORDER_COLOR 0x1004
566 #define GL_TEXTURE_WIDTH 0x1000
567 #define GL_TEXTURE_HEIGHT 0x1001
568 #define GL_TEXTURE_BORDER 0x1005
569 #define GL_TEXTURE_COMPONENTS 0x1003
570 #define GL_TEXTURE_RED_SIZE 0x805C
571 #define GL_TEXTURE_GREEN_SIZE 0x805D
572 #define GL_TEXTURE_BLUE_SIZE 0x805E
573 #define GL_TEXTURE_ALPHA_SIZE 0x805F
574 #define GL_TEXTURE_LUMINANCE_SIZE 0x8060
575 #define GL_TEXTURE_INTENSITY_SIZE 0x8061
576 #define GL_NEAREST_MIPMAP_NEAREST 0x2700
577 #define GL_NEAREST_MIPMAP_LINEAR 0x2702
578 #define GL_LINEAR_MIPMAP_NEAREST 0x2701
579 #define GL_LINEAR_MIPMAP_LINEAR 0x2703
580 #define GL_OBJECT_LINEAR 0x2401
581 #define GL_OBJECT_PLANE 0x2501
582 #define GL_EYE_LINEAR 0x2400
583 #define GL_EYE_PLANE 0x2502
584 #define GL_SPHERE_MAP 0x2402
585 #define GL_DECAL 0x2101
586 #define GL_MODULATE 0x2100
587 #define GL_NEAREST 0x2600
588 #define GL_REPEAT 0x2901
589 #define GL_CLAMP 0x2900
590 #define GL_S 0x2000
591 #define GL_T 0x2001
592 #define GL_R 0x2002
593 #define GL_Q 0x2003
594 #define GL_TEXTURE_GEN_R 0x0C62
595 #define GL_TEXTURE_GEN_Q 0x0C63
596 
597 /* Utility */
598 #define GL_VENDOR 0x1F00
599 #define GL_RENDERER 0x1F01
600 #define GL_VERSION 0x1F02
601 #define GL_EXTENSIONS 0x1F03
602 
603 /* Errors */
604 #define GL_INVALID_ENUM 0x0500
605 #define GL_INVALID_VALUE 0x0501
606 #define GL_INVALID_OPERATION 0x0502
607 #define GL_STACK_OVERFLOW 0x0503
608 #define GL_STACK_UNDERFLOW 0x0504
609 #define GL_OUT_OF_MEMORY 0x0505
610 
611 /* glPush/PopAttrib bits */
612 #define GL_CURRENT_BIT 0x00000001
613 #define GL_POINT_BIT 0x00000002
614 #define GL_LINE_BIT 0x00000004
615 #define GL_POLYGON_BIT 0x00000008
616 #define GL_POLYGON_STIPPLE_BIT 0x00000010
617 #define GL_PIXEL_MODE_BIT 0x00000020
618 #define GL_LIGHTING_BIT 0x00000040
619 #define GL_FOG_BIT 0x00000080
620 #define GL_DEPTH_BUFFER_BIT 0x00000100
621 #define GL_ACCUM_BUFFER_BIT 0x00000200
622 #define GL_STENCIL_BUFFER_BIT 0x00000400
623 #define GL_VIEWPORT_BIT 0x00000800
624 #define GL_TRANSFORM_BIT 0x00001000
625 #define GL_ENABLE_BIT 0x00002000
626 #define GL_COLOR_BUFFER_BIT 0x00004000
627 #define GL_HINT_BIT 0x00008000
628 #define GL_EVAL_BIT 0x00010000
629 #define GL_LIST_BIT 0x00020000
630 #define GL_TEXTURE_BIT 0x00040000
631 #define GL_SCISSOR_BIT 0x00080000
632 #define GL_ALL_ATTRIB_BITS 0x000FFFFF
633 
634 
635 /* OpenGL 1.1 */
636 #define GL_PROXY_TEXTURE_1D 0x8063
637 #define GL_PROXY_TEXTURE_2D 0x8064
638 #define GL_TEXTURE_PRIORITY 0x8066
639 #define GL_TEXTURE_RESIDENT 0x8067
640 #define GL_TEXTURE_BINDING_1D 0x8068
641 #define GL_TEXTURE_BINDING_2D 0x8069
642 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003
643 #define GL_ALPHA4 0x803B
644 #define GL_ALPHA8 0x803C
645 #define GL_ALPHA12 0x803D
646 #define GL_ALPHA16 0x803E
647 #define GL_LUMINANCE4 0x803F
648 #define GL_LUMINANCE8 0x8040
649 #define GL_LUMINANCE12 0x8041
650 #define GL_LUMINANCE16 0x8042
651 #define GL_LUMINANCE4_ALPHA4 0x8043
652 #define GL_LUMINANCE6_ALPHA2 0x8044
653 #define GL_LUMINANCE8_ALPHA8 0x8045
654 #define GL_LUMINANCE12_ALPHA4 0x8046
655 #define GL_LUMINANCE12_ALPHA12 0x8047
656 #define GL_LUMINANCE16_ALPHA16 0x8048
657 #define GL_INTENSITY 0x8049
658 #define GL_INTENSITY4 0x804A
659 #define GL_INTENSITY8 0x804B
660 #define GL_INTENSITY12 0x804C
661 #define GL_INTENSITY16 0x804D
662 #define GL_R3_G3_B2 0x2A10
663 #define GL_RGB4 0x804F
664 #define GL_RGB5 0x8050
665 #define GL_RGB8 0x8051
666 #define GL_RGB10 0x8052
667 #define GL_RGB12 0x8053
668 #define GL_RGB16 0x8054
669 #define GL_RGBA2 0x8055
670 #define GL_RGBA4 0x8056
671 #define GL_RGB5_A1 0x8057
672 #define GL_RGBA8 0x8058
673 #define GL_RGB10_A2 0x8059
674 #define GL_RGBA12 0x805A
675 #define GL_RGBA16 0x805B
676 #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
677 #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
678 #define GL_ALL_CLIENT_ATTRIB_BITS 0xFFFFFFFF
679 #define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF
680 
681 /*************************************************************/
682 
683 #ifndef GL_VERSION_1_2
684 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
685 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
686 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
687 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
688 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
689 #define GL_TEXTURE_BINDING_3D 0x806A
690 #define GL_PACK_SKIP_IMAGES 0x806B
691 #define GL_PACK_IMAGE_HEIGHT 0x806C
692 #define GL_UNPACK_SKIP_IMAGES 0x806D
693 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
694 #define GL_TEXTURE_3D 0x806F
695 #define GL_PROXY_TEXTURE_3D 0x8070
696 #define GL_TEXTURE_DEPTH 0x8071
697 #define GL_TEXTURE_WRAP_R 0x8072
698 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
699 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
700 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
701 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
702 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
703 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
704 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
705 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
706 #define GL_BGR 0x80E0
707 #define GL_BGRA 0x80E1
708 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
709 #define GL_MAX_ELEMENTS_INDICES 0x80E9
710 #define GL_CLAMP_TO_EDGE 0x812F
711 #define GL_TEXTURE_MIN_LOD 0x813A
712 #define GL_TEXTURE_MAX_LOD 0x813B
713 #define GL_TEXTURE_BASE_LEVEL 0x813C
714 #define GL_TEXTURE_MAX_LEVEL 0x813D
715 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
716 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
717 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
718 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
719 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
720 #endif
721 
722 #ifndef GL_VERSION_1_2_DEPRECATED
723 #define GL_RESCALE_NORMAL 0x803A
724 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
725 #define GL_SINGLE_COLOR 0x81F9
726 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
727 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
728 #endif
729 
730 #ifndef GL_ARB_imaging
731 #define GL_CONSTANT_COLOR 0x8001
732 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
733 #define GL_CONSTANT_ALPHA 0x8003
734 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
735 #define GL_BLEND_COLOR 0x8005
736 #define GL_FUNC_ADD 0x8006
737 #define GL_MIN 0x8007
738 #define GL_MAX 0x8008
739 #define GL_BLEND_EQUATION 0x8009
740 #define GL_FUNC_SUBTRACT 0x800A
741 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
742 #endif
743 
744 #ifndef GL_ARB_imaging_DEPRECATED
745 #define GL_CONVOLUTION_1D 0x8010
746 #define GL_CONVOLUTION_2D 0x8011
747 #define GL_SEPARABLE_2D 0x8012
748 #define GL_CONVOLUTION_BORDER_MODE 0x8013
749 #define GL_CONVOLUTION_FILTER_SCALE 0x8014
750 #define GL_CONVOLUTION_FILTER_BIAS 0x8015
751 #define GL_REDUCE 0x8016
752 #define GL_CONVOLUTION_FORMAT 0x8017
753 #define GL_CONVOLUTION_WIDTH 0x8018
754 #define GL_CONVOLUTION_HEIGHT 0x8019
755 #define GL_MAX_CONVOLUTION_WIDTH 0x801A
756 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
757 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
758 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
759 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
760 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
761 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
762 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
763 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
764 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
765 #define GL_HISTOGRAM 0x8024
766 #define GL_PROXY_HISTOGRAM 0x8025
767 #define GL_HISTOGRAM_WIDTH 0x8026
768 #define GL_HISTOGRAM_FORMAT 0x8027
769 #define GL_HISTOGRAM_RED_SIZE 0x8028
770 #define GL_HISTOGRAM_GREEN_SIZE 0x8029
771 #define GL_HISTOGRAM_BLUE_SIZE 0x802A
772 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
773 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
774 #define GL_HISTOGRAM_SINK 0x802D
775 #define GL_MINMAX 0x802E
776 #define GL_MINMAX_FORMAT 0x802F
777 #define GL_MINMAX_SINK 0x8030
778 #define GL_TABLE_TOO_LARGE 0x8031
779 #define GL_COLOR_MATRIX 0x80B1
780 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
781 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
782 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
783 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
784 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
785 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
786 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
787 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
788 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
789 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
790 #define GL_COLOR_TABLE 0x80D0
791 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
792 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
793 #define GL_PROXY_COLOR_TABLE 0x80D3
794 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
795 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
796 #define GL_COLOR_TABLE_SCALE 0x80D6
797 #define GL_COLOR_TABLE_BIAS 0x80D7
798 #define GL_COLOR_TABLE_FORMAT 0x80D8
799 #define GL_COLOR_TABLE_WIDTH 0x80D9
800 #define GL_COLOR_TABLE_RED_SIZE 0x80DA
801 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
802 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
803 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
804 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
805 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
806 #define GL_CONSTANT_BORDER 0x8151
807 #define GL_REPLICATE_BORDER 0x8153
808 #define GL_CONVOLUTION_BORDER_COLOR 0x8154
809 #endif
810 
811 #ifndef GL_VERSION_1_3
812 #define GL_TEXTURE0 0x84C0
813 #define GL_TEXTURE1 0x84C1
814 #define GL_TEXTURE2 0x84C2
815 #define GL_TEXTURE3 0x84C3
816 #define GL_TEXTURE4 0x84C4
817 #define GL_TEXTURE5 0x84C5
818 #define GL_TEXTURE6 0x84C6
819 #define GL_TEXTURE7 0x84C7
820 #define GL_TEXTURE8 0x84C8
821 #define GL_TEXTURE9 0x84C9
822 #define GL_TEXTURE10 0x84CA
823 #define GL_TEXTURE11 0x84CB
824 #define GL_TEXTURE12 0x84CC
825 #define GL_TEXTURE13 0x84CD
826 #define GL_TEXTURE14 0x84CE
827 #define GL_TEXTURE15 0x84CF
828 #define GL_TEXTURE16 0x84D0
829 #define GL_TEXTURE17 0x84D1
830 #define GL_TEXTURE18 0x84D2
831 #define GL_TEXTURE19 0x84D3
832 #define GL_TEXTURE20 0x84D4
833 #define GL_TEXTURE21 0x84D5
834 #define GL_TEXTURE22 0x84D6
835 #define GL_TEXTURE23 0x84D7
836 #define GL_TEXTURE24 0x84D8
837 #define GL_TEXTURE25 0x84D9
838 #define GL_TEXTURE26 0x84DA
839 #define GL_TEXTURE27 0x84DB
840 #define GL_TEXTURE28 0x84DC
841 #define GL_TEXTURE29 0x84DD
842 #define GL_TEXTURE30 0x84DE
843 #define GL_TEXTURE31 0x84DF
844 #define GL_ACTIVE_TEXTURE 0x84E0
845 #define GL_MULTISAMPLE 0x809D
846 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
847 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
848 #define GL_SAMPLE_COVERAGE 0x80A0
849 #define GL_SAMPLE_BUFFERS 0x80A8
850 #define GL_SAMPLES 0x80A9
851 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
852 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
853 #define GL_TEXTURE_CUBE_MAP 0x8513
854 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
855 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
856 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
857 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
858 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
859 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
860 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
861 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
862 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
863 #define GL_COMPRESSED_RGB 0x84ED
864 #define GL_COMPRESSED_RGBA 0x84EE
865 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
866 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
867 #define GL_TEXTURE_COMPRESSED 0x86A1
868 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
869 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
870 #define GL_CLAMP_TO_BORDER 0x812D
871 #endif
872 
873 #ifndef GL_VERSION_1_3_DEPRECATED
874 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
875 #define GL_MAX_TEXTURE_UNITS 0x84E2
876 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
877 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
878 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
879 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
880 #define GL_MULTISAMPLE_BIT 0x20000000
881 #define GL_NORMAL_MAP 0x8511
882 #define GL_REFLECTION_MAP 0x8512
883 #define GL_COMPRESSED_ALPHA 0x84E9
884 #define GL_COMPRESSED_LUMINANCE 0x84EA
885 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
886 #define GL_COMPRESSED_INTENSITY 0x84EC
887 #define GL_COMBINE 0x8570
888 #define GL_COMBINE_RGB 0x8571
889 #define GL_COMBINE_ALPHA 0x8572
890 #define GL_SOURCE0_RGB 0x8580
891 #define GL_SOURCE1_RGB 0x8581
892 #define GL_SOURCE2_RGB 0x8582
893 #define GL_SOURCE0_ALPHA 0x8588
894 #define GL_SOURCE1_ALPHA 0x8589
895 #define GL_SOURCE2_ALPHA 0x858A
896 #define GL_OPERAND0_RGB 0x8590
897 #define GL_OPERAND1_RGB 0x8591
898 #define GL_OPERAND2_RGB 0x8592
899 #define GL_OPERAND0_ALPHA 0x8598
900 #define GL_OPERAND1_ALPHA 0x8599
901 #define GL_OPERAND2_ALPHA 0x859A
902 #define GL_RGB_SCALE 0x8573
903 #define GL_ADD_SIGNED 0x8574
904 #define GL_INTERPOLATE 0x8575
905 #define GL_SUBTRACT 0x84E7
906 #define GL_CONSTANT 0x8576
907 #define GL_PRIMARY_COLOR 0x8577
908 #define GL_PREVIOUS 0x8578
909 #define GL_DOT3_RGB 0x86AE
910 #define GL_DOT3_RGBA 0x86AF
911 #endif
912 
913 #ifndef GL_VERSION_1_4
914 #define GL_BLEND_DST_RGB 0x80C8
915 #define GL_BLEND_SRC_RGB 0x80C9
916 #define GL_BLEND_DST_ALPHA 0x80CA
917 #define GL_BLEND_SRC_ALPHA 0x80CB
918 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
919 #define GL_DEPTH_COMPONENT16 0x81A5
920 #define GL_DEPTH_COMPONENT24 0x81A6
921 #define GL_DEPTH_COMPONENT32 0x81A7
922 #define GL_MIRRORED_REPEAT 0x8370
923 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
924 #define GL_TEXTURE_LOD_BIAS 0x8501
925 #define GL_INCR_WRAP 0x8507
926 #define GL_DECR_WRAP 0x8508
927 #define GL_TEXTURE_DEPTH_SIZE 0x884A
928 #define GL_TEXTURE_COMPARE_MODE 0x884C
929 #define GL_TEXTURE_COMPARE_FUNC 0x884D
930 #endif
931 
932 #ifndef GL_VERSION_1_4_DEPRECATED
933 #define GL_POINT_SIZE_MIN 0x8126
934 #define GL_POINT_SIZE_MAX 0x8127
935 #define GL_POINT_DISTANCE_ATTENUATION 0x8129
936 #define GL_GENERATE_MIPMAP 0x8191
937 #define GL_GENERATE_MIPMAP_HINT 0x8192
938 #define GL_FOG_COORDINATE_SOURCE 0x8450
939 #define GL_FOG_COORDINATE 0x8451
940 #define GL_FRAGMENT_DEPTH 0x8452
941 #define GL_CURRENT_FOG_COORDINATE 0x8453
942 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
943 #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
944 #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
945 #define GL_FOG_COORDINATE_ARRAY 0x8457
946 #define GL_COLOR_SUM 0x8458
947 #define GL_CURRENT_SECONDARY_COLOR 0x8459
948 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
949 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
950 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
951 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
952 #define GL_SECONDARY_COLOR_ARRAY 0x845E
953 #define GL_TEXTURE_FILTER_CONTROL 0x8500
954 #define GL_DEPTH_TEXTURE_MODE 0x884B
955 #define GL_COMPARE_R_TO_TEXTURE 0x884E
956 #endif
957 
958 #ifndef GL_VERSION_1_5
959 #define GL_BUFFER_SIZE 0x8764
960 #define GL_BUFFER_USAGE 0x8765
961 #define GL_QUERY_COUNTER_BITS 0x8864
962 #define GL_CURRENT_QUERY 0x8865
963 #define GL_QUERY_RESULT 0x8866
964 #define GL_QUERY_RESULT_AVAILABLE 0x8867
965 #define GL_ARRAY_BUFFER 0x8892
966 #define GL_ELEMENT_ARRAY_BUFFER 0x8893
967 #define GL_ARRAY_BUFFER_BINDING 0x8894
968 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
969 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
970 #define GL_READ_ONLY 0x88B8
971 #define GL_WRITE_ONLY 0x88B9
972 #define GL_READ_WRITE 0x88BA
973 #define GL_BUFFER_ACCESS 0x88BB
974 #define GL_BUFFER_MAPPED 0x88BC
975 #define GL_BUFFER_MAP_POINTER 0x88BD
976 #define GL_STREAM_DRAW 0x88E0
977 #define GL_STREAM_READ 0x88E1
978 #define GL_STREAM_COPY 0x88E2
979 #define GL_STATIC_DRAW 0x88E4
980 #define GL_STATIC_READ 0x88E5
981 #define GL_STATIC_COPY 0x88E6
982 #define GL_DYNAMIC_DRAW 0x88E8
983 #define GL_DYNAMIC_READ 0x88E9
984 #define GL_DYNAMIC_COPY 0x88EA
985 #define GL_SAMPLES_PASSED 0x8914
986 #endif
987 
988 #ifndef GL_VERSION_1_5_DEPRECATED
989 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
990 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
991 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
992 #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
993 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
994 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
995 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
996 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
997 #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
998 #define GL_FOG_COORD_SRC 0x8450
999 #define GL_FOG_COORD 0x8451
1000 #define GL_CURRENT_FOG_COORD 0x8453
1001 #define GL_FOG_COORD_ARRAY_TYPE 0x8454
1002 #define GL_FOG_COORD_ARRAY_STRIDE 0x8455
1003 #define GL_FOG_COORD_ARRAY_POINTER 0x8456
1004 #define GL_FOG_COORD_ARRAY 0x8457
1005 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
1006 #define GL_SRC0_RGB 0x8580
1007 #define GL_SRC1_RGB 0x8581
1008 #define GL_SRC2_RGB 0x8582
1009 #define GL_SRC0_ALPHA 0x8588
1010 #define GL_SRC1_ALPHA 0x8589
1011 #define GL_SRC2_ALPHA 0x858A
1012 #endif
1013 
1014 #ifndef GL_VERSION_2_0
1015 #define GL_BLEND_EQUATION_RGB 0x8009
1016 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
1017 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
1018 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
1019 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
1020 #define GL_CURRENT_VERTEX_ATTRIB 0x8626
1021 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
1022 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
1023 #define GL_STENCIL_BACK_FUNC 0x8800
1024 #define GL_STENCIL_BACK_FAIL 0x8801
1025 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
1026 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
1027 #define GL_MAX_DRAW_BUFFERS 0x8824
1028 #define GL_DRAW_BUFFER0 0x8825
1029 #define GL_DRAW_BUFFER1 0x8826
1030 #define GL_DRAW_BUFFER2 0x8827
1031 #define GL_DRAW_BUFFER3 0x8828
1032 #define GL_DRAW_BUFFER4 0x8829
1033 #define GL_DRAW_BUFFER5 0x882A
1034 #define GL_DRAW_BUFFER6 0x882B
1035 #define GL_DRAW_BUFFER7 0x882C
1036 #define GL_DRAW_BUFFER8 0x882D
1037 #define GL_DRAW_BUFFER9 0x882E
1038 #define GL_DRAW_BUFFER10 0x882F
1039 #define GL_DRAW_BUFFER11 0x8830
1040 #define GL_DRAW_BUFFER12 0x8831
1041 #define GL_DRAW_BUFFER13 0x8832
1042 #define GL_DRAW_BUFFER14 0x8833
1043 #define GL_DRAW_BUFFER15 0x8834
1044 #define GL_BLEND_EQUATION_ALPHA 0x883D
1045 #define GL_MAX_VERTEX_ATTRIBS 0x8869
1046 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
1047 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
1048 #define GL_FRAGMENT_SHADER 0x8B30
1049 #define GL_VERTEX_SHADER 0x8B31
1050 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
1051 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
1052 #define GL_MAX_VARYING_FLOATS 0x8B4B
1053 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
1054 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
1055 #define GL_SHADER_TYPE 0x8B4F
1056 #define GL_FLOAT_VEC2 0x8B50
1057 #define GL_FLOAT_VEC3 0x8B51
1058 #define GL_FLOAT_VEC4 0x8B52
1059 #define GL_INT_VEC2 0x8B53
1060 #define GL_INT_VEC3 0x8B54
1061 #define GL_INT_VEC4 0x8B55
1062 #define GL_BOOL 0x8B56
1063 #define GL_BOOL_VEC2 0x8B57
1064 #define GL_BOOL_VEC3 0x8B58
1065 #define GL_BOOL_VEC4 0x8B59
1066 #define GL_FLOAT_MAT2 0x8B5A
1067 #define GL_FLOAT_MAT3 0x8B5B
1068 #define GL_FLOAT_MAT4 0x8B5C
1069 #define GL_SAMPLER_1D 0x8B5D
1070 #define GL_SAMPLER_2D 0x8B5E
1071 #define GL_SAMPLER_3D 0x8B5F
1072 #define GL_SAMPLER_CUBE 0x8B60
1073 #define GL_SAMPLER_1D_SHADOW 0x8B61
1074 #define GL_SAMPLER_2D_SHADOW 0x8B62
1075 #define GL_DELETE_STATUS 0x8B80
1076 #define GL_COMPILE_STATUS 0x8B81
1077 #define GL_LINK_STATUS 0x8B82
1078 #define GL_VALIDATE_STATUS 0x8B83
1079 #define GL_INFO_LOG_LENGTH 0x8B84
1080 #define GL_ATTACHED_SHADERS 0x8B85
1081 #define GL_ACTIVE_UNIFORMS 0x8B86
1082 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
1083 #define GL_SHADER_SOURCE_LENGTH 0x8B88
1084 #define GL_ACTIVE_ATTRIBUTES 0x8B89
1085 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
1086 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
1087 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
1088 #define GL_CURRENT_PROGRAM 0x8B8D
1089 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
1090 #define GL_LOWER_LEFT 0x8CA1
1091 #define GL_UPPER_LEFT 0x8CA2
1092 #define GL_STENCIL_BACK_REF 0x8CA3
1093 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
1094 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
1095 #endif
1096 
1097 #ifndef GL_VERSION_2_0_DEPRECATED
1098 #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
1099 #define GL_POINT_SPRITE 0x8861
1100 #define GL_COORD_REPLACE 0x8862
1101 #define GL_MAX_TEXTURE_COORDS 0x8871
1102 #endif
1103 
1104 #ifndef GL_VERSION_2_1
1105 #define GL_PIXEL_PACK_BUFFER 0x88EB
1106 #define GL_PIXEL_UNPACK_BUFFER 0x88EC
1107 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
1108 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
1109 #define GL_FLOAT_MAT2x3 0x8B65
1110 #define GL_FLOAT_MAT2x4 0x8B66
1111 #define GL_FLOAT_MAT3x2 0x8B67
1112 #define GL_FLOAT_MAT3x4 0x8B68
1113 #define GL_FLOAT_MAT4x2 0x8B69
1114 #define GL_FLOAT_MAT4x3 0x8B6A
1115 #define GL_SRGB 0x8C40
1116 #define GL_SRGB8 0x8C41
1117 #define GL_SRGB_ALPHA 0x8C42
1118 #define GL_SRGB8_ALPHA8 0x8C43
1119 #define GL_COMPRESSED_SRGB 0x8C48
1120 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
1121 #endif
1122 
1123 #ifndef GL_VERSION_2_1_DEPRECATED
1124 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
1125 #define GL_SLUMINANCE_ALPHA 0x8C44
1126 #define GL_SLUMINANCE8_ALPHA8 0x8C45
1127 #define GL_SLUMINANCE 0x8C46
1128 #define GL_SLUMINANCE8 0x8C47
1129 #define GL_COMPRESSED_SLUMINANCE 0x8C4A
1130 #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
1131 #endif
1132 
1133 #ifndef GL_VERSION_3_0
1134 #define GL_COMPARE_REF_TO_TEXTURE 0x884E
1135 #define GL_CLIP_DISTANCE0 0x3000
1136 #define GL_CLIP_DISTANCE1 0x3001
1137 #define GL_CLIP_DISTANCE2 0x3002
1138 #define GL_CLIP_DISTANCE3 0x3003
1139 #define GL_CLIP_DISTANCE4 0x3004
1140 #define GL_CLIP_DISTANCE5 0x3005
1141 #define GL_CLIP_DISTANCE6 0x3006
1142 #define GL_CLIP_DISTANCE7 0x3007
1143 #define GL_MAX_CLIP_DISTANCES 0x0D32
1144 #define GL_MAJOR_VERSION 0x821B
1145 #define GL_MINOR_VERSION 0x821C
1146 #define GL_NUM_EXTENSIONS 0x821D
1147 #define GL_CONTEXT_FLAGS 0x821E
1148 #define GL_DEPTH_BUFFER 0x8223
1149 #define GL_STENCIL_BUFFER 0x8224
1150 #define GL_COMPRESSED_RED 0x8225
1151 #define GL_COMPRESSED_RG 0x8226
1152 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
1153 #define GL_RGBA32F 0x8814
1154 #define GL_RGB32F 0x8815
1155 #define GL_RGBA16F 0x881A
1156 #define GL_RGB16F 0x881B
1157 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
1158 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
1159 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
1160 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
1161 #define GL_CLAMP_READ_COLOR 0x891C
1162 #define GL_FIXED_ONLY 0x891D
1163 #define GL_MAX_VARYING_COMPONENTS 0x8B4B
1164 #define GL_TEXTURE_1D_ARRAY 0x8C18
1165 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
1166 #define GL_TEXTURE_2D_ARRAY 0x8C1A
1167 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
1168 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
1169 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
1170 #define GL_R11F_G11F_B10F 0x8C3A
1171 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
1172 #define GL_RGB9_E5 0x8C3D
1173 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
1174 #define GL_TEXTURE_SHARED_SIZE 0x8C3F
1175 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
1176 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
1177 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
1178 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
1179 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
1180 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
1181 #define GL_PRIMITIVES_GENERATED 0x8C87
1182 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
1183 #define GL_RASTERIZER_DISCARD 0x8C89
1184 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
1185 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
1186 #define GL_INTERLEAVED_ATTRIBS 0x8C8C
1187 #define GL_SEPARATE_ATTRIBS 0x8C8D
1188 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
1189 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
1190 #define GL_RGBA32UI 0x8D70
1191 #define GL_RGB32UI 0x8D71
1192 #define GL_RGBA16UI 0x8D76
1193 #define GL_RGB16UI 0x8D77
1194 #define GL_RGBA8UI 0x8D7C
1195 #define GL_RGB8UI 0x8D7D
1196 #define GL_RGBA32I 0x8D82
1197 #define GL_RGB32I 0x8D83
1198 #define GL_RGBA16I 0x8D88
1199 #define GL_RGB16I 0x8D89
1200 #define GL_RGBA8I 0x8D8E
1201 #define GL_RGB8I 0x8D8F
1202 #define GL_RED_INTEGER 0x8D94
1203 #define GL_GREEN_INTEGER 0x8D95
1204 #define GL_BLUE_INTEGER 0x8D96
1205 #define GL_RGB_INTEGER 0x8D98
1206 #define GL_RGBA_INTEGER 0x8D99
1207 #define GL_BGR_INTEGER 0x8D9A
1208 #define GL_BGRA_INTEGER 0x8D9B
1209 #define GL_SAMPLER_1D_ARRAY 0x8DC0
1210 #define GL_SAMPLER_2D_ARRAY 0x8DC1
1211 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
1212 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
1213 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
1214 #define GL_UNSIGNED_INT_VEC2 0x8DC6
1215 #define GL_UNSIGNED_INT_VEC3 0x8DC7
1216 #define GL_UNSIGNED_INT_VEC4 0x8DC8
1217 #define GL_INT_SAMPLER_1D 0x8DC9
1218 #define GL_INT_SAMPLER_2D 0x8DCA
1219 #define GL_INT_SAMPLER_3D 0x8DCB
1220 #define GL_INT_SAMPLER_CUBE 0x8DCC
1221 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
1222 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
1223 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
1224 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
1225 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
1226 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
1227 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
1228 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
1229 #define GL_QUERY_WAIT 0x8E13
1230 #define GL_QUERY_NO_WAIT 0x8E14
1231 #define GL_QUERY_BY_REGION_WAIT 0x8E15
1232 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
1233 #define GL_BUFFER_ACCESS_FLAGS 0x911F
1234 #define GL_BUFFER_MAP_LENGTH 0x9120
1235 #define GL_BUFFER_MAP_OFFSET 0x9121
1236 /* Reuse tokens from ARB_depth_buffer_float */
1237 /* reuse GL_DEPTH_COMPONENT32F */
1238 /* reuse GL_DEPTH32F_STENCIL8 */
1239 /* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */
1240 /* Reuse tokens from ARB_framebuffer_object */
1241 /* reuse GL_INVALID_FRAMEBUFFER_OPERATION */
1242 /* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
1243 /* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
1244 /* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
1245 /* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
1246 /* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
1247 /* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
1248 /* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
1249 /* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
1250 /* reuse GL_FRAMEBUFFER_DEFAULT */
1251 /* reuse GL_FRAMEBUFFER_UNDEFINED */
1252 /* reuse GL_DEPTH_STENCIL_ATTACHMENT */
1253 /* reuse GL_INDEX */
1254 /* reuse GL_MAX_RENDERBUFFER_SIZE */
1255 /* reuse GL_DEPTH_STENCIL */
1256 /* reuse GL_UNSIGNED_INT_24_8 */
1257 /* reuse GL_DEPTH24_STENCIL8 */
1258 /* reuse GL_TEXTURE_STENCIL_SIZE */
1259 /* reuse GL_TEXTURE_RED_TYPE */
1260 /* reuse GL_TEXTURE_GREEN_TYPE */
1261 /* reuse GL_TEXTURE_BLUE_TYPE */
1262 /* reuse GL_TEXTURE_ALPHA_TYPE */
1263 /* reuse GL_TEXTURE_DEPTH_TYPE */
1264 /* reuse GL_UNSIGNED_NORMALIZED */
1265 /* reuse GL_FRAMEBUFFER_BINDING */
1266 /* reuse GL_DRAW_FRAMEBUFFER_BINDING */
1267 /* reuse GL_RENDERBUFFER_BINDING */
1268 /* reuse GL_READ_FRAMEBUFFER */
1269 /* reuse GL_DRAW_FRAMEBUFFER */
1270 /* reuse GL_READ_FRAMEBUFFER_BINDING */
1271 /* reuse GL_RENDERBUFFER_SAMPLES */
1272 /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
1273 /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
1274 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
1275 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
1276 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
1277 /* reuse GL_FRAMEBUFFER_COMPLETE */
1278 /* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
1279 /* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
1280 /* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */
1281 /* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */
1282 /* reuse GL_FRAMEBUFFER_UNSUPPORTED */
1283 /* reuse GL_MAX_COLOR_ATTACHMENTS */
1284 /* reuse GL_COLOR_ATTACHMENT0 */
1285 /* reuse GL_COLOR_ATTACHMENT1 */
1286 /* reuse GL_COLOR_ATTACHMENT2 */
1287 /* reuse GL_COLOR_ATTACHMENT3 */
1288 /* reuse GL_COLOR_ATTACHMENT4 */
1289 /* reuse GL_COLOR_ATTACHMENT5 */
1290 /* reuse GL_COLOR_ATTACHMENT6 */
1291 /* reuse GL_COLOR_ATTACHMENT7 */
1292 /* reuse GL_COLOR_ATTACHMENT8 */
1293 /* reuse GL_COLOR_ATTACHMENT9 */
1294 /* reuse GL_COLOR_ATTACHMENT10 */
1295 /* reuse GL_COLOR_ATTACHMENT11 */
1296 /* reuse GL_COLOR_ATTACHMENT12 */
1297 /* reuse GL_COLOR_ATTACHMENT13 */
1298 /* reuse GL_COLOR_ATTACHMENT14 */
1299 /* reuse GL_COLOR_ATTACHMENT15 */
1300 /* reuse GL_DEPTH_ATTACHMENT */
1301 /* reuse GL_STENCIL_ATTACHMENT */
1302 /* reuse GL_FRAMEBUFFER */
1303 /* reuse GL_RENDERBUFFER */
1304 /* reuse GL_RENDERBUFFER_WIDTH */
1305 /* reuse GL_RENDERBUFFER_HEIGHT */
1306 /* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */
1307 /* reuse GL_STENCIL_INDEX1 */
1308 /* reuse GL_STENCIL_INDEX4 */
1309 /* reuse GL_STENCIL_INDEX8 */
1310 /* reuse GL_STENCIL_INDEX16 */
1311 /* reuse GL_RENDERBUFFER_RED_SIZE */
1312 /* reuse GL_RENDERBUFFER_GREEN_SIZE */
1313 /* reuse GL_RENDERBUFFER_BLUE_SIZE */
1314 /* reuse GL_RENDERBUFFER_ALPHA_SIZE */
1315 /* reuse GL_RENDERBUFFER_DEPTH_SIZE */
1316 /* reuse GL_RENDERBUFFER_STENCIL_SIZE */
1317 /* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
1318 /* reuse GL_MAX_SAMPLES */
1319 /* Reuse tokens from ARB_framebuffer_sRGB */
1320 /* reuse GL_FRAMEBUFFER_SRGB */
1321 /* Reuse tokens from ARB_half_float_vertex */
1322 /* reuse GL_HALF_FLOAT */
1323 /* Reuse tokens from ARB_map_buffer_range */
1324 /* reuse GL_MAP_READ_BIT */
1325 /* reuse GL_MAP_WRITE_BIT */
1326 /* reuse GL_MAP_INVALIDATE_RANGE_BIT */
1327 /* reuse GL_MAP_INVALIDATE_BUFFER_BIT */
1328 /* reuse GL_MAP_FLUSH_EXPLICIT_BIT */
1329 /* reuse GL_MAP_UNSYNCHRONIZED_BIT */
1330 /* Reuse tokens from ARB_texture_compression_rgtc */
1331 /* reuse GL_COMPRESSED_RED_RGTC1 */
1332 /* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */
1333 /* reuse GL_COMPRESSED_RG_RGTC2 */
1334 /* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */
1335 /* Reuse tokens from ARB_texture_rg */
1336 /* reuse GL_RG */
1337 /* reuse GL_RG_INTEGER */
1338 /* reuse GL_R8 */
1339 /* reuse GL_R16 */
1340 /* reuse GL_RG8 */
1341 /* reuse GL_RG16 */
1342 /* reuse GL_R16F */
1343 /* reuse GL_R32F */
1344 /* reuse GL_RG16F */
1345 /* reuse GL_RG32F */
1346 /* reuse GL_R8I */
1347 /* reuse GL_R8UI */
1348 /* reuse GL_R16I */
1349 /* reuse GL_R16UI */
1350 /* reuse GL_R32I */
1351 /* reuse GL_R32UI */
1352 /* reuse GL_RG8I */
1353 /* reuse GL_RG8UI */
1354 /* reuse GL_RG16I */
1355 /* reuse GL_RG16UI */
1356 /* reuse GL_RG32I */
1357 /* reuse GL_RG32UI */
1358 /* Reuse tokens from ARB_vertex_array_object */
1359 /* reuse GL_VERTEX_ARRAY_BINDING */
1360 #endif
1361 
1362 #ifndef GL_VERSION_3_0_DEPRECATED
1363 #define GL_CLAMP_VERTEX_COLOR 0x891A
1364 #define GL_CLAMP_FRAGMENT_COLOR 0x891B
1365 #define GL_ALPHA_INTEGER 0x8D97
1366 /* Reuse tokens from ARB_framebuffer_object */
1367 /* reuse GL_TEXTURE_LUMINANCE_TYPE */
1368 /* reuse GL_TEXTURE_INTENSITY_TYPE */
1369 #endif
1370 
1371 #ifndef GL_VERSION_3_1
1372 #define GL_SAMPLER_2D_RECT 0x8B63
1373 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
1374 #define GL_SAMPLER_BUFFER 0x8DC2
1375 #define GL_INT_SAMPLER_2D_RECT 0x8DCD
1376 #define GL_INT_SAMPLER_BUFFER 0x8DD0
1377 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
1378 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
1379 #define GL_TEXTURE_BUFFER 0x8C2A
1380 #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
1381 #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
1382 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
1383 #define GL_TEXTURE_BUFFER_FORMAT 0x8C2E
1384 #define GL_TEXTURE_RECTANGLE 0x84F5
1385 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
1386 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
1387 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
1388 #define GL_RED_SNORM 0x8F90
1389 #define GL_RG_SNORM 0x8F91
1390 #define GL_RGB_SNORM 0x8F92
1391 #define GL_RGBA_SNORM 0x8F93
1392 #define GL_R8_SNORM 0x8F94
1393 #define GL_RG8_SNORM 0x8F95
1394 #define GL_RGB8_SNORM 0x8F96
1395 #define GL_RGBA8_SNORM 0x8F97
1396 #define GL_R16_SNORM 0x8F98
1397 #define GL_RG16_SNORM 0x8F99
1398 #define GL_RGB16_SNORM 0x8F9A
1399 #define GL_RGBA16_SNORM 0x8F9B
1400 #define GL_SIGNED_NORMALIZED 0x8F9C
1401 #define GL_PRIMITIVE_RESTART 0x8F9D
1402 #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
1403 /* Reuse tokens from ARB_copy_buffer */
1404 /* reuse GL_COPY_READ_BUFFER */
1405 /* reuse GL_COPY_WRITE_BUFFER */
1406 /* Reuse tokens from ARB_draw_instanced (none) */
1407 /* Reuse tokens from ARB_uniform_buffer_object */
1408 /* reuse GL_UNIFORM_BUFFER */
1409 /* reuse GL_UNIFORM_BUFFER_BINDING */
1410 /* reuse GL_UNIFORM_BUFFER_START */
1411 /* reuse GL_UNIFORM_BUFFER_SIZE */
1412 /* reuse GL_MAX_VERTEX_UNIFORM_BLOCKS */
1413 /* reuse GL_MAX_FRAGMENT_UNIFORM_BLOCKS */
1414 /* reuse GL_MAX_COMBINED_UNIFORM_BLOCKS */
1415 /* reuse GL_MAX_UNIFORM_BUFFER_BINDINGS */
1416 /* reuse GL_MAX_UNIFORM_BLOCK_SIZE */
1417 /* reuse GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS */
1418 /* reuse GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS */
1419 /* reuse GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT */
1420 /* reuse GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH */
1421 /* reuse GL_ACTIVE_UNIFORM_BLOCKS */
1422 /* reuse GL_UNIFORM_TYPE */
1423 /* reuse GL_UNIFORM_SIZE */
1424 /* reuse GL_UNIFORM_NAME_LENGTH */
1425 /* reuse GL_UNIFORM_BLOCK_INDEX */
1426 /* reuse GL_UNIFORM_OFFSET */
1427 /* reuse GL_UNIFORM_ARRAY_STRIDE */
1428 /* reuse GL_UNIFORM_MATRIX_STRIDE */
1429 /* reuse GL_UNIFORM_IS_ROW_MAJOR */
1430 /* reuse GL_UNIFORM_BLOCK_BINDING */
1431 /* reuse GL_UNIFORM_BLOCK_DATA_SIZE */
1432 /* reuse GL_UNIFORM_BLOCK_NAME_LENGTH */
1433 /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS */
1434 /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES */
1435 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER */
1436 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER */
1437 /* reuse GL_INVALID_INDEX */
1438 #endif
1439 
1440 #ifndef GL_VERSION_3_2
1441 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
1442 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
1443 #define GL_LINES_ADJACENCY 0x000A
1444 #define GL_LINE_STRIP_ADJACENCY 0x000B
1445 #define GL_TRIANGLES_ADJACENCY 0x000C
1446 #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
1447 #define GL_PROGRAM_POINT_SIZE 0x8642
1448 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
1449 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
1450 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
1451 #define GL_GEOMETRY_SHADER 0x8DD9
1452 #define GL_GEOMETRY_VERTICES_OUT 0x8916
1453 #define GL_GEOMETRY_INPUT_TYPE 0x8917
1454 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
1455 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
1456 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
1457 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
1458 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
1459 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
1460 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
1461 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
1462 #define GL_CONTEXT_PROFILE_MASK 0x9126
1463 /* reuse GL_MAX_VARYING_COMPONENTS */
1464 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
1465 /* Reuse tokens from ARB_depth_clamp */
1466 /* reuse GL_DEPTH_CLAMP */
1467 /* Reuse tokens from ARB_draw_elements_base_vertex (none) */
1468 /* Reuse tokens from ARB_fragment_coord_conventions (none) */
1469 /* Reuse tokens from ARB_provoking_vertex */
1470 /* reuse GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION */
1471 /* reuse GL_FIRST_VERTEX_CONVENTION */
1472 /* reuse GL_LAST_VERTEX_CONVENTION */
1473 /* reuse GL_PROVOKING_VERTEX */
1474 /* Reuse tokens from ARB_seamless_cube_map */
1475 /* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
1476 /* Reuse tokens from ARB_sync */
1477 /* reuse GL_MAX_SERVER_WAIT_TIMEOUT */
1478 /* reuse GL_OBJECT_TYPE */
1479 /* reuse GL_SYNC_CONDITION */
1480 /* reuse GL_SYNC_STATUS */
1481 /* reuse GL_SYNC_FLAGS */
1482 /* reuse GL_SYNC_FENCE */
1483 /* reuse GL_SYNC_GPU_COMMANDS_COMPLETE */
1484 /* reuse GL_UNSIGNALED */
1485 /* reuse GL_SIGNALED */
1486 /* reuse GL_ALREADY_SIGNALED */
1487 /* reuse GL_TIMEOUT_EXPIRED */
1488 /* reuse GL_CONDITION_SATISFIED */
1489 /* reuse GL_WAIT_FAILED */
1490 /* reuse GL_TIMEOUT_IGNORED */
1491 /* reuse GL_SYNC_FLUSH_COMMANDS_BIT */
1492 /* reuse GL_TIMEOUT_IGNORED */
1493 /* Reuse tokens from ARB_texture_multisample */
1494 /* reuse GL_SAMPLE_POSITION */
1495 /* reuse GL_SAMPLE_MASK */
1496 /* reuse GL_SAMPLE_MASK_VALUE */
1497 /* reuse GL_MAX_SAMPLE_MASK_WORDS */
1498 /* reuse GL_TEXTURE_2D_MULTISAMPLE */
1499 /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE */
1500 /* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */
1501 /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY */
1502 /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE */
1503 /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY */
1504 /* reuse GL_TEXTURE_SAMPLES */
1505 /* reuse GL_TEXTURE_FIXED_SAMPLE_LOCATIONS */
1506 /* reuse GL_SAMPLER_2D_MULTISAMPLE */
1507 /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE */
1508 /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE */
1509 /* reuse GL_SAMPLER_2D_MULTISAMPLE_ARRAY */
1510 /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
1511 /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
1512 /* reuse GL_MAX_COLOR_TEXTURE_SAMPLES */
1513 /* reuse GL_MAX_DEPTH_TEXTURE_SAMPLES */
1514 /* reuse GL_MAX_INTEGER_SAMPLES */
1515 /* Don't need to reuse tokens from ARB_vertex_array_bgra since they're already in 1.2 core */
1516 #endif
1517 
1518 #ifndef GL_VERSION_3_3
1519 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
1520 /* Reuse tokens from ARB_blend_func_extended */
1521 /* reuse GL_SRC1_COLOR */
1522 /* reuse GL_ONE_MINUS_SRC1_COLOR */
1523 /* reuse GL_ONE_MINUS_SRC1_ALPHA */
1524 /* reuse GL_MAX_DUAL_SOURCE_DRAW_BUFFERS */
1525 /* Reuse tokens from ARB_explicit_attrib_location (none) */
1526 /* Reuse tokens from ARB_occlusion_query2 */
1527 /* reuse GL_ANY_SAMPLES_PASSED */
1528 /* Reuse tokens from ARB_sampler_objects */
1529 /* reuse GL_SAMPLER_BINDING */
1530 /* Reuse tokens from ARB_shader_bit_encoding (none) */
1531 /* Reuse tokens from ARB_texture_rgb10_a2ui */
1532 /* reuse GL_RGB10_A2UI */
1533 /* Reuse tokens from ARB_texture_swizzle */
1534 /* reuse GL_TEXTURE_SWIZZLE_R */
1535 /* reuse GL_TEXTURE_SWIZZLE_G */
1536 /* reuse GL_TEXTURE_SWIZZLE_B */
1537 /* reuse GL_TEXTURE_SWIZZLE_A */
1538 /* reuse GL_TEXTURE_SWIZZLE_RGBA */
1539 /* Reuse tokens from ARB_timer_query */
1540 /* reuse GL_TIME_ELAPSED */
1541 /* reuse GL_TIMESTAMP */
1542 /* Reuse tokens from ARB_vertex_type_2_10_10_10_rev */
1543 /* reuse GL_INT_2_10_10_10_REV */
1544 #endif
1545 
1546 #ifndef GL_VERSION_4_0
1547 #define GL_SAMPLE_SHADING 0x8C36
1548 #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
1549 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
1550 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
1551 #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
1552 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
1553 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
1554 #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
1555 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
1556 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
1557 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
1558 /* Reuse tokens from ARB_texture_query_lod (none) */
1559 /* Reuse tokens from ARB_draw_buffers_blend (none) */
1560 /* Reuse tokens from ARB_draw_indirect */
1561 /* reuse GL_DRAW_INDIRECT_BUFFER */
1562 /* reuse GL_DRAW_INDIRECT_BUFFER_BINDING */
1563 /* Reuse tokens from ARB_gpu_shader5 */
1564 /* reuse GL_GEOMETRY_SHADER_INVOCATIONS */
1565 /* reuse GL_MAX_GEOMETRY_SHADER_INVOCATIONS */
1566 /* reuse GL_MIN_FRAGMENT_INTERPOLATION_OFFSET */
1567 /* reuse GL_MAX_FRAGMENT_INTERPOLATION_OFFSET */
1568 /* reuse GL_FRAGMENT_INTERPOLATION_OFFSET_BITS */
1569 /* reuse GL_MAX_VERTEX_STREAMS */
1570 /* Reuse tokens from ARB_gpu_shader_fp64 */
1571 /* reuse GL_DOUBLE_VEC2 */
1572 /* reuse GL_DOUBLE_VEC3 */
1573 /* reuse GL_DOUBLE_VEC4 */
1574 /* reuse GL_DOUBLE_MAT2 */
1575 /* reuse GL_DOUBLE_MAT3 */
1576 /* reuse GL_DOUBLE_MAT4 */
1577 /* reuse GL_DOUBLE_MAT2x3 */
1578 /* reuse GL_DOUBLE_MAT2x4 */
1579 /* reuse GL_DOUBLE_MAT3x2 */
1580 /* reuse GL_DOUBLE_MAT3x4 */
1581 /* reuse GL_DOUBLE_MAT4x2 */
1582 /* reuse GL_DOUBLE_MAT4x3 */
1583 /* Reuse tokens from ARB_shader_subroutine */
1584 /* reuse GL_ACTIVE_SUBROUTINES */
1585 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORMS */
1586 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS */
1587 /* reuse GL_ACTIVE_SUBROUTINE_MAX_LENGTH */
1588 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH */
1589 /* reuse GL_MAX_SUBROUTINES */
1590 /* reuse GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS */
1591 /* reuse GL_NUM_COMPATIBLE_SUBROUTINES */
1592 /* reuse GL_COMPATIBLE_SUBROUTINES */
1593 /* Reuse tokens from ARB_tessellation_shader */
1594 /* reuse GL_PATCHES */
1595 /* reuse GL_PATCH_VERTICES */
1596 /* reuse GL_PATCH_DEFAULT_INNER_LEVEL */
1597 /* reuse GL_PATCH_DEFAULT_OUTER_LEVEL */
1598 /* reuse GL_TESS_CONTROL_OUTPUT_VERTICES */
1599 /* reuse GL_TESS_GEN_MODE */
1600 /* reuse GL_TESS_GEN_SPACING */
1601 /* reuse GL_TESS_GEN_VERTEX_ORDER */
1602 /* reuse GL_TESS_GEN_POINT_MODE */
1603 /* reuse GL_ISOLINES */
1604 /* reuse GL_FRACTIONAL_ODD */
1605 /* reuse GL_FRACTIONAL_EVEN */
1606 /* reuse GL_MAX_PATCH_VERTICES */
1607 /* reuse GL_MAX_TESS_GEN_LEVEL */
1608 /* reuse GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS */
1609 /* reuse GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS */
1610 /* reuse GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS */
1611 /* reuse GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS */
1612 /* reuse GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS */
1613 /* reuse GL_MAX_TESS_PATCH_COMPONENTS */
1614 /* reuse GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS */
1615 /* reuse GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS */
1616 /* reuse GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS */
1617 /* reuse GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS */
1618 /* reuse GL_MAX_TESS_CONTROL_INPUT_COMPONENTS */
1619 /* reuse GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS */
1620 /* reuse GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS */
1621 /* reuse GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS */
1622 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER */
1623 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER */
1624 /* reuse GL_TESS_EVALUATION_SHADER */
1625 /* reuse GL_TESS_CONTROL_SHADER */
1626 /* Reuse tokens from ARB_texture_buffer_object_rgb32 (none) */
1627 /* Reuse tokens from ARB_transform_feedback2 */
1628 /* reuse GL_TRANSFORM_FEEDBACK */
1629 /* reuse GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
1630 /* reuse GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
1631 /* reuse GL_TRANSFORM_FEEDBACK_BINDING */
1632 /* Reuse tokens from ARB_transform_feedback3 */
1633 /* reuse GL_MAX_TRANSFORM_FEEDBACK_BUFFERS */
1634 /* reuse GL_MAX_VERTEX_STREAMS */
1635 #endif
1636 
1637 #ifndef GL_VERSION_4_1
1638 /* Reuse tokens from ARB_ES2_compatibility */
1639 /* reuse GL_FIXED */
1640 /* reuse GL_IMPLEMENTATION_COLOR_READ_TYPE */
1641 /* reuse GL_IMPLEMENTATION_COLOR_READ_FORMAT */
1642 /* reuse GL_LOW_FLOAT */
1643 /* reuse GL_MEDIUM_FLOAT */
1644 /* reuse GL_HIGH_FLOAT */
1645 /* reuse GL_LOW_INT */
1646 /* reuse GL_MEDIUM_INT */
1647 /* reuse GL_HIGH_INT */
1648 /* reuse GL_SHADER_COMPILER */
1649 /* reuse GL_NUM_SHADER_BINARY_FORMATS */
1650 /* reuse GL_MAX_VERTEX_UNIFORM_VECTORS */
1651 /* reuse GL_MAX_VARYING_VECTORS */
1652 /* reuse GL_MAX_FRAGMENT_UNIFORM_VECTORS */
1653 /* Reuse tokens from ARB_get_program_binary */
1654 /* reuse GL_PROGRAM_BINARY_RETRIEVABLE_HINT */
1655 /* reuse GL_PROGRAM_BINARY_LENGTH */
1656 /* reuse GL_NUM_PROGRAM_BINARY_FORMATS */
1657 /* reuse GL_PROGRAM_BINARY_FORMATS */
1658 /* Reuse tokens from ARB_separate_shader_objects */
1659 /* reuse GL_VERTEX_SHADER_BIT */
1660 /* reuse GL_FRAGMENT_SHADER_BIT */
1661 /* reuse GL_GEOMETRY_SHADER_BIT */
1662 /* reuse GL_TESS_CONTROL_SHADER_BIT */
1663 /* reuse GL_TESS_EVALUATION_SHADER_BIT */
1664 /* reuse GL_ALL_SHADER_BITS */
1665 /* reuse GL_PROGRAM_SEPARABLE */
1666 /* reuse GL_ACTIVE_PROGRAM */
1667 /* reuse GL_PROGRAM_PIPELINE_BINDING */
1668 /* Reuse tokens from ARB_shader_precision (none) */
1669 /* Reuse tokens from ARB_vertex_attrib_64bit - all are in GL 3.0 and 4.0 already */
1670 /* Reuse tokens from ARB_viewport_array - some are in GL 1.1 and ARB_provoking_vertex already */
1671 /* reuse GL_MAX_VIEWPORTS */
1672 /* reuse GL_VIEWPORT_SUBPIXEL_BITS */
1673 /* reuse GL_VIEWPORT_BOUNDS_RANGE */
1674 /* reuse GL_LAYER_PROVOKING_VERTEX */
1675 /* reuse GL_VIEWPORT_INDEX_PROVOKING_VERTEX */
1676 /* reuse GL_UNDEFINED_VERTEX */
1677 #endif
1678 
1679 #ifndef GL_ARB_multitexture
1680 #define GL_TEXTURE0_ARB 0x84C0
1681 #define GL_TEXTURE1_ARB 0x84C1
1682 #define GL_TEXTURE2_ARB 0x84C2
1683 #define GL_TEXTURE3_ARB 0x84C3
1684 #define GL_TEXTURE4_ARB 0x84C4
1685 #define GL_TEXTURE5_ARB 0x84C5
1686 #define GL_TEXTURE6_ARB 0x84C6
1687 #define GL_TEXTURE7_ARB 0x84C7
1688 #define GL_TEXTURE8_ARB 0x84C8
1689 #define GL_TEXTURE9_ARB 0x84C9
1690 #define GL_TEXTURE10_ARB 0x84CA
1691 #define GL_TEXTURE11_ARB 0x84CB
1692 #define GL_TEXTURE12_ARB 0x84CC
1693 #define GL_TEXTURE13_ARB 0x84CD
1694 #define GL_TEXTURE14_ARB 0x84CE
1695 #define GL_TEXTURE15_ARB 0x84CF
1696 #define GL_TEXTURE16_ARB 0x84D0
1697 #define GL_TEXTURE17_ARB 0x84D1
1698 #define GL_TEXTURE18_ARB 0x84D2
1699 #define GL_TEXTURE19_ARB 0x84D3
1700 #define GL_TEXTURE20_ARB 0x84D4
1701 #define GL_TEXTURE21_ARB 0x84D5
1702 #define GL_TEXTURE22_ARB 0x84D6
1703 #define GL_TEXTURE23_ARB 0x84D7
1704 #define GL_TEXTURE24_ARB 0x84D8
1705 #define GL_TEXTURE25_ARB 0x84D9
1706 #define GL_TEXTURE26_ARB 0x84DA
1707 #define GL_TEXTURE27_ARB 0x84DB
1708 #define GL_TEXTURE28_ARB 0x84DC
1709 #define GL_TEXTURE29_ARB 0x84DD
1710 #define GL_TEXTURE30_ARB 0x84DE
1711 #define GL_TEXTURE31_ARB 0x84DF
1712 #define GL_ACTIVE_TEXTURE_ARB 0x84E0
1713 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
1714 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
1715 #endif
1716 
1717 #ifndef GL_ARB_transpose_matrix
1718 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
1719 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
1720 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
1721 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
1722 #endif
1723 
1724 #ifndef GL_ARB_multisample
1725 #define GL_MULTISAMPLE_ARB 0x809D
1726 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
1727 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
1728 #define GL_SAMPLE_COVERAGE_ARB 0x80A0
1729 #define GL_SAMPLE_BUFFERS_ARB 0x80A8
1730 #define GL_SAMPLES_ARB 0x80A9
1731 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
1732 #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
1733 #define GL_MULTISAMPLE_BIT_ARB 0x20000000
1734 #endif
1735 
1736 #ifndef GL_ARB_texture_env_add
1737 #endif
1738 
1739 #ifndef GL_ARB_texture_cube_map
1740 #define GL_NORMAL_MAP_ARB 0x8511
1741 #define GL_REFLECTION_MAP_ARB 0x8512
1742 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
1743 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
1744 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
1745 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
1746 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
1747 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
1748 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
1749 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
1750 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
1751 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
1752 #endif
1753 
1754 #ifndef GL_ARB_texture_compression
1755 #define GL_COMPRESSED_ALPHA_ARB 0x84E9
1756 #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
1757 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
1758 #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
1759 #define GL_COMPRESSED_RGB_ARB 0x84ED
1760 #define GL_COMPRESSED_RGBA_ARB 0x84EE
1761 #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
1762 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
1763 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
1764 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
1765 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
1766 #endif
1767 
1768 #ifndef GL_ARB_texture_border_clamp
1769 #define GL_CLAMP_TO_BORDER_ARB 0x812D
1770 #endif
1771 
1772 #ifndef GL_ARB_point_parameters
1773 #define GL_POINT_SIZE_MIN_ARB 0x8126
1774 #define GL_POINT_SIZE_MAX_ARB 0x8127
1775 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
1776 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
1777 #endif
1778 
1779 #ifndef GL_ARB_vertex_blend
1780 #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
1781 #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
1782 #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
1783 #define GL_VERTEX_BLEND_ARB 0x86A7
1784 #define GL_CURRENT_WEIGHT_ARB 0x86A8
1785 #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
1786 #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
1787 #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
1788 #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
1789 #define GL_WEIGHT_ARRAY_ARB 0x86AD
1790 #define GL_MODELVIEW0_ARB 0x1700
1791 #define GL_MODELVIEW1_ARB 0x850A
1792 #define GL_MODELVIEW2_ARB 0x8722
1793 #define GL_MODELVIEW3_ARB 0x8723
1794 #define GL_MODELVIEW4_ARB 0x8724
1795 #define GL_MODELVIEW5_ARB 0x8725
1796 #define GL_MODELVIEW6_ARB 0x8726
1797 #define GL_MODELVIEW7_ARB 0x8727
1798 #define GL_MODELVIEW8_ARB 0x8728
1799 #define GL_MODELVIEW9_ARB 0x8729
1800 #define GL_MODELVIEW10_ARB 0x872A
1801 #define GL_MODELVIEW11_ARB 0x872B
1802 #define GL_MODELVIEW12_ARB 0x872C
1803 #define GL_MODELVIEW13_ARB 0x872D
1804 #define GL_MODELVIEW14_ARB 0x872E
1805 #define GL_MODELVIEW15_ARB 0x872F
1806 #define GL_MODELVIEW16_ARB 0x8730
1807 #define GL_MODELVIEW17_ARB 0x8731
1808 #define GL_MODELVIEW18_ARB 0x8732
1809 #define GL_MODELVIEW19_ARB 0x8733
1810 #define GL_MODELVIEW20_ARB 0x8734
1811 #define GL_MODELVIEW21_ARB 0x8735
1812 #define GL_MODELVIEW22_ARB 0x8736
1813 #define GL_MODELVIEW23_ARB 0x8737
1814 #define GL_MODELVIEW24_ARB 0x8738
1815 #define GL_MODELVIEW25_ARB 0x8739
1816 #define GL_MODELVIEW26_ARB 0x873A
1817 #define GL_MODELVIEW27_ARB 0x873B
1818 #define GL_MODELVIEW28_ARB 0x873C
1819 #define GL_MODELVIEW29_ARB 0x873D
1820 #define GL_MODELVIEW30_ARB 0x873E
1821 #define GL_MODELVIEW31_ARB 0x873F
1822 #endif
1823 
1824 #ifndef GL_ARB_matrix_palette
1825 #define GL_MATRIX_PALETTE_ARB 0x8840
1826 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
1827 #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
1828 #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
1829 #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
1830 #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
1831 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
1832 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
1833 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
1834 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
1835 #endif
1836 
1837 #ifndef GL_ARB_texture_env_combine
1838 #define GL_COMBINE_ARB 0x8570
1839 #define GL_COMBINE_RGB_ARB 0x8571
1840 #define GL_COMBINE_ALPHA_ARB 0x8572
1841 #define GL_SOURCE0_RGB_ARB 0x8580
1842 #define GL_SOURCE1_RGB_ARB 0x8581
1843 #define GL_SOURCE2_RGB_ARB 0x8582
1844 #define GL_SOURCE0_ALPHA_ARB 0x8588
1845 #define GL_SOURCE1_ALPHA_ARB 0x8589
1846 #define GL_SOURCE2_ALPHA_ARB 0x858A
1847 #define GL_OPERAND0_RGB_ARB 0x8590
1848 #define GL_OPERAND1_RGB_ARB 0x8591
1849 #define GL_OPERAND2_RGB_ARB 0x8592
1850 #define GL_OPERAND0_ALPHA_ARB 0x8598
1851 #define GL_OPERAND1_ALPHA_ARB 0x8599
1852 #define GL_OPERAND2_ALPHA_ARB 0x859A
1853 #define GL_RGB_SCALE_ARB 0x8573
1854 #define GL_ADD_SIGNED_ARB 0x8574
1855 #define GL_INTERPOLATE_ARB 0x8575
1856 #define GL_SUBTRACT_ARB 0x84E7
1857 #define GL_CONSTANT_ARB 0x8576
1858 #define GL_PRIMARY_COLOR_ARB 0x8577
1859 #define GL_PREVIOUS_ARB 0x8578
1860 #endif
1861 
1862 #ifndef GL_ARB_texture_env_crossbar
1863 #endif
1864 
1865 #ifndef GL_ARB_texture_env_dot3
1866 #define GL_DOT3_RGB_ARB 0x86AE
1867 #define GL_DOT3_RGBA_ARB 0x86AF
1868 #endif
1869 
1870 #ifndef GL_ARB_texture_mirrored_repeat
1871 #define GL_MIRRORED_REPEAT_ARB 0x8370
1872 #endif
1873 
1874 #ifndef GL_ARB_depth_texture
1875 #define GL_DEPTH_COMPONENT16_ARB 0x81A5
1876 #define GL_DEPTH_COMPONENT24_ARB 0x81A6
1877 #define GL_DEPTH_COMPONENT32_ARB 0x81A7
1878 #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
1879 #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
1880 #endif
1881 
1882 #ifndef GL_ARB_shadow
1883 #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
1884 #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
1885 #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
1886 #endif
1887 
1888 #ifndef GL_ARB_shadow_ambient
1889 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
1890 #endif
1891 
1892 #ifndef GL_ARB_window_pos
1893 #endif
1894 
1895 #ifndef GL_ARB_vertex_program
1896 #define GL_COLOR_SUM_ARB 0x8458
1897 #define GL_VERTEX_PROGRAM_ARB 0x8620
1898 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
1899 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
1900 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
1901 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
1902 #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
1903 #define GL_PROGRAM_LENGTH_ARB 0x8627
1904 #define GL_PROGRAM_STRING_ARB 0x8628
1905 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
1906 #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
1907 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
1908 #define GL_CURRENT_MATRIX_ARB 0x8641
1909 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
1910 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
1911 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
1912 #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
1913 #define GL_PROGRAM_BINDING_ARB 0x8677
1914 #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
1915 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
1916 #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
1917 #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
1918 #define GL_PROGRAM_FORMAT_ARB 0x8876
1919 #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
1920 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
1921 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
1922 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
1923 #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
1924 #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
1925 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
1926 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
1927 #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
1928 #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
1929 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
1930 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
1931 #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
1932 #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
1933 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
1934 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
1935 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
1936 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
1937 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
1938 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
1939 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
1940 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
1941 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
1942 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
1943 #define GL_MATRIX0_ARB 0x88C0
1944 #define GL_MATRIX1_ARB 0x88C1
1945 #define GL_MATRIX2_ARB 0x88C2
1946 #define GL_MATRIX3_ARB 0x88C3
1947 #define GL_MATRIX4_ARB 0x88C4
1948 #define GL_MATRIX5_ARB 0x88C5
1949 #define GL_MATRIX6_ARB 0x88C6
1950 #define GL_MATRIX7_ARB 0x88C7
1951 #define GL_MATRIX8_ARB 0x88C8
1952 #define GL_MATRIX9_ARB 0x88C9
1953 #define GL_MATRIX10_ARB 0x88CA
1954 #define GL_MATRIX11_ARB 0x88CB
1955 #define GL_MATRIX12_ARB 0x88CC
1956 #define GL_MATRIX13_ARB 0x88CD
1957 #define GL_MATRIX14_ARB 0x88CE
1958 #define GL_MATRIX15_ARB 0x88CF
1959 #define GL_MATRIX16_ARB 0x88D0
1960 #define GL_MATRIX17_ARB 0x88D1
1961 #define GL_MATRIX18_ARB 0x88D2
1962 #define GL_MATRIX19_ARB 0x88D3
1963 #define GL_MATRIX20_ARB 0x88D4
1964 #define GL_MATRIX21_ARB 0x88D5
1965 #define GL_MATRIX22_ARB 0x88D6
1966 #define GL_MATRIX23_ARB 0x88D7
1967 #define GL_MATRIX24_ARB 0x88D8
1968 #define GL_MATRIX25_ARB 0x88D9
1969 #define GL_MATRIX26_ARB 0x88DA
1970 #define GL_MATRIX27_ARB 0x88DB
1971 #define GL_MATRIX28_ARB 0x88DC
1972 #define GL_MATRIX29_ARB 0x88DD
1973 #define GL_MATRIX30_ARB 0x88DE
1974 #define GL_MATRIX31_ARB 0x88DF
1975 #endif
1976 
1977 #ifndef GL_ARB_fragment_program
1978 #define GL_FRAGMENT_PROGRAM_ARB 0x8804
1979 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
1980 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
1981 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
1982 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
1983 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
1984 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
1985 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
1986 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
1987 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
1988 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
1989 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
1990 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
1991 #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
1992 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
1993 #endif
1994 
1995 #ifndef GL_ARB_vertex_buffer_object
1996 #define GL_BUFFER_SIZE_ARB 0x8764
1997 #define GL_BUFFER_USAGE_ARB 0x8765
1998 #define GL_ARRAY_BUFFER_ARB 0x8892
1999 #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
2000 #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
2001 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
2002 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
2003 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
2004 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
2005 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
2006 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
2007 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
2008 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
2009 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
2010 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
2011 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
2012 #define GL_READ_ONLY_ARB 0x88B8
2013 #define GL_WRITE_ONLY_ARB 0x88B9
2014 #define GL_READ_WRITE_ARB 0x88BA
2015 #define GL_BUFFER_ACCESS_ARB 0x88BB
2016 #define GL_BUFFER_MAPPED_ARB 0x88BC
2017 #define GL_BUFFER_MAP_POINTER_ARB 0x88BD
2018 #define GL_STREAM_DRAW_ARB 0x88E0
2019 #define GL_STREAM_READ_ARB 0x88E1
2020 #define GL_STREAM_COPY_ARB 0x88E2
2021 #define GL_STATIC_DRAW_ARB 0x88E4
2022 #define GL_STATIC_READ_ARB 0x88E5
2023 #define GL_STATIC_COPY_ARB 0x88E6
2024 #define GL_DYNAMIC_DRAW_ARB 0x88E8
2025 #define GL_DYNAMIC_READ_ARB 0x88E9
2026 #define GL_DYNAMIC_COPY_ARB 0x88EA
2027 #endif
2028 
2029 #ifndef GL_ARB_occlusion_query
2030 #define GL_QUERY_COUNTER_BITS_ARB 0x8864
2031 #define GL_CURRENT_QUERY_ARB 0x8865
2032 #define GL_QUERY_RESULT_ARB 0x8866
2033 #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
2034 #define GL_SAMPLES_PASSED_ARB 0x8914
2035 #endif
2036 
2037 #ifndef GL_ARB_shader_objects
2038 #define GL_PROGRAM_OBJECT_ARB 0x8B40
2039 #define GL_SHADER_OBJECT_ARB 0x8B48
2040 #define GL_OBJECT_TYPE_ARB 0x8B4E
2041 #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
2042 #define GL_FLOAT_VEC2_ARB 0x8B50
2043 #define GL_FLOAT_VEC3_ARB 0x8B51
2044 #define GL_FLOAT_VEC4_ARB 0x8B52
2045 #define GL_INT_VEC2_ARB 0x8B53
2046 #define GL_INT_VEC3_ARB 0x8B54
2047 #define GL_INT_VEC4_ARB 0x8B55
2048 #define GL_BOOL_ARB 0x8B56
2049 #define GL_BOOL_VEC2_ARB 0x8B57
2050 #define GL_BOOL_VEC3_ARB 0x8B58
2051 #define GL_BOOL_VEC4_ARB 0x8B59
2052 #define GL_FLOAT_MAT2_ARB 0x8B5A
2053 #define GL_FLOAT_MAT3_ARB 0x8B5B
2054 #define GL_FLOAT_MAT4_ARB 0x8B5C
2055 #define GL_SAMPLER_1D_ARB 0x8B5D
2056 #define GL_SAMPLER_2D_ARB 0x8B5E
2057 #define GL_SAMPLER_3D_ARB 0x8B5F
2058 #define GL_SAMPLER_CUBE_ARB 0x8B60
2059 #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
2060 #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
2061 #define GL_SAMPLER_2D_RECT_ARB 0x8B63
2062 #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
2063 #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
2064 #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
2065 #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
2066 #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
2067 #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
2068 #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
2069 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
2070 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
2071 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
2072 #endif
2073 
2074 #ifndef GL_ARB_vertex_shader
2075 #define GL_VERTEX_SHADER_ARB 0x8B31
2076 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
2077 #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
2078 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
2079 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
2080 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
2081 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
2082 #endif
2083 
2084 #ifndef GL_ARB_fragment_shader
2085 #define GL_FRAGMENT_SHADER_ARB 0x8B30
2086 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
2087 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
2088 #endif
2089 
2090 #ifndef GL_ARB_shading_language_100
2091 #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
2092 #endif
2093 
2094 #ifndef GL_ARB_texture_non_power_of_two
2095 #endif
2096 
2097 #ifndef GL_ARB_point_sprite
2098 #define GL_POINT_SPRITE_ARB 0x8861
2099 #define GL_COORD_REPLACE_ARB 0x8862
2100 #endif
2101 
2102 #ifndef GL_ARB_fragment_program_shadow
2103 #endif
2104 
2105 #ifndef GL_ARB_draw_buffers
2106 #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
2107 #define GL_DRAW_BUFFER0_ARB 0x8825
2108 #define GL_DRAW_BUFFER1_ARB 0x8826
2109 #define GL_DRAW_BUFFER2_ARB 0x8827
2110 #define GL_DRAW_BUFFER3_ARB 0x8828
2111 #define GL_DRAW_BUFFER4_ARB 0x8829
2112 #define GL_DRAW_BUFFER5_ARB 0x882A
2113 #define GL_DRAW_BUFFER6_ARB 0x882B
2114 #define GL_DRAW_BUFFER7_ARB 0x882C
2115 #define GL_DRAW_BUFFER8_ARB 0x882D
2116 #define GL_DRAW_BUFFER9_ARB 0x882E
2117 #define GL_DRAW_BUFFER10_ARB 0x882F
2118 #define GL_DRAW_BUFFER11_ARB 0x8830
2119 #define GL_DRAW_BUFFER12_ARB 0x8831
2120 #define GL_DRAW_BUFFER13_ARB 0x8832
2121 #define GL_DRAW_BUFFER14_ARB 0x8833
2122 #define GL_DRAW_BUFFER15_ARB 0x8834
2123 #endif
2124 
2125 #ifndef GL_ARB_texture_rectangle
2126 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
2127 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
2128 #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
2129 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
2130 #endif
2131 
2132 #ifndef GL_ARB_color_buffer_float
2133 #define GL_RGBA_FLOAT_MODE_ARB 0x8820
2134 #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
2135 #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
2136 #define GL_CLAMP_READ_COLOR_ARB 0x891C
2137 #define GL_FIXED_ONLY_ARB 0x891D
2138 #endif
2139 
2140 #ifndef GL_ARB_half_float_pixel
2141 #define GL_HALF_FLOAT_ARB 0x140B
2142 #endif
2143 
2144 #ifndef GL_ARB_texture_float
2145 #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
2146 #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
2147 #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
2148 #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
2149 #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
2150 #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
2151 #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
2152 #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
2153 #define GL_RGBA32F_ARB 0x8814
2154 #define GL_RGB32F_ARB 0x8815
2155 #define GL_ALPHA32F_ARB 0x8816
2156 #define GL_INTENSITY32F_ARB 0x8817
2157 #define GL_LUMINANCE32F_ARB 0x8818
2158 #define GL_LUMINANCE_ALPHA32F_ARB 0x8819
2159 #define GL_RGBA16F_ARB 0x881A
2160 #define GL_RGB16F_ARB 0x881B
2161 #define GL_ALPHA16F_ARB 0x881C
2162 #define GL_INTENSITY16F_ARB 0x881D
2163 #define GL_LUMINANCE16F_ARB 0x881E
2164 #define GL_LUMINANCE_ALPHA16F_ARB 0x881F
2165 #endif
2166 
2167 #ifndef GL_ARB_pixel_buffer_object
2168 #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
2169 #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
2170 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
2171 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
2172 #endif
2173 
2174 #ifndef GL_ARB_depth_buffer_float
2175 #define GL_DEPTH_COMPONENT32F 0x8CAC
2176 #define GL_DEPTH32F_STENCIL8 0x8CAD
2177 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
2178 #endif
2179 
2180 #ifndef GL_ARB_draw_instanced
2181 #endif
2182 
2183 #ifndef GL_ARB_framebuffer_object
2184 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
2185 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
2186 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
2187 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
2188 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
2189 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
2190 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
2191 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
2192 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
2193 #define GL_FRAMEBUFFER_DEFAULT 0x8218
2194 #define GL_FRAMEBUFFER_UNDEFINED 0x8219
2195 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
2196 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
2197 #define GL_DEPTH_STENCIL 0x84F9
2198 #define GL_UNSIGNED_INT_24_8 0x84FA
2199 #define GL_DEPTH24_STENCIL8 0x88F0
2200 #define GL_TEXTURE_STENCIL_SIZE 0x88F1
2201 #define GL_TEXTURE_RED_TYPE 0x8C10
2202 #define GL_TEXTURE_GREEN_TYPE 0x8C11
2203 #define GL_TEXTURE_BLUE_TYPE 0x8C12
2204 #define GL_TEXTURE_ALPHA_TYPE 0x8C13
2205 #define GL_TEXTURE_DEPTH_TYPE 0x8C16
2206 #define GL_UNSIGNED_NORMALIZED 0x8C17
2207 #define GL_FRAMEBUFFER_BINDING 0x8CA6
2208 #define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING
2209 #define GL_RENDERBUFFER_BINDING 0x8CA7
2210 #define GL_READ_FRAMEBUFFER 0x8CA8
2211 #define GL_DRAW_FRAMEBUFFER 0x8CA9
2212 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
2213 #define GL_RENDERBUFFER_SAMPLES 0x8CAB
2214 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
2215 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
2216 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
2217 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
2218 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
2219 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
2220 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
2221 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
2222 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
2223 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
2224 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
2225 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
2226 #define GL_COLOR_ATTACHMENT0 0x8CE0
2227 #define GL_COLOR_ATTACHMENT1 0x8CE1
2228 #define GL_COLOR_ATTACHMENT2 0x8CE2
2229 #define GL_COLOR_ATTACHMENT3 0x8CE3
2230 #define GL_COLOR_ATTACHMENT4 0x8CE4
2231 #define GL_COLOR_ATTACHMENT5 0x8CE5
2232 #define GL_COLOR_ATTACHMENT6 0x8CE6
2233 #define GL_COLOR_ATTACHMENT7 0x8CE7
2234 #define GL_COLOR_ATTACHMENT8 0x8CE8
2235 #define GL_COLOR_ATTACHMENT9 0x8CE9
2236 #define GL_COLOR_ATTACHMENT10 0x8CEA
2237 #define GL_COLOR_ATTACHMENT11 0x8CEB
2238 #define GL_COLOR_ATTACHMENT12 0x8CEC
2239 #define GL_COLOR_ATTACHMENT13 0x8CED
2240 #define GL_COLOR_ATTACHMENT14 0x8CEE
2241 #define GL_COLOR_ATTACHMENT15 0x8CEF
2242 #define GL_DEPTH_ATTACHMENT 0x8D00
2243 #define GL_STENCIL_ATTACHMENT 0x8D20
2244 #define GL_FRAMEBUFFER 0x8D40
2245 #define GL_RENDERBUFFER 0x8D41
2246 #define GL_RENDERBUFFER_WIDTH 0x8D42
2247 #define GL_RENDERBUFFER_HEIGHT 0x8D43
2248 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
2249 #define GL_STENCIL_INDEX1 0x8D46
2250 #define GL_STENCIL_INDEX4 0x8D47
2251 #define GL_STENCIL_INDEX8 0x8D48
2252 #define GL_STENCIL_INDEX16 0x8D49
2253 #define GL_RENDERBUFFER_RED_SIZE 0x8D50
2254 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
2255 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
2256 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
2257 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
2258 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
2259 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
2260 #define GL_MAX_SAMPLES 0x8D57
2261 #endif
2262 
2263 #ifndef GL_ARB_framebuffer_object_DEPRECATED
2264 #define GL_INDEX 0x8222
2265 #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
2266 #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
2267 #endif
2268 
2269 #ifndef GL_ARB_framebuffer_sRGB
2270 #define GL_FRAMEBUFFER_SRGB 0x8DB9
2271 #endif
2272 
2273 #ifndef GL_ARB_geometry_shader4
2274 #define GL_LINES_ADJACENCY_ARB 0x000A
2275 #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
2276 #define GL_TRIANGLES_ADJACENCY_ARB 0x000C
2277 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
2278 #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
2279 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
2280 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
2281 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
2282 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
2283 #define GL_GEOMETRY_SHADER_ARB 0x8DD9
2284 #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
2285 #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
2286 #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
2287 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
2288 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
2289 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
2290 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
2291 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
2292 /* reuse GL_MAX_VARYING_COMPONENTS */
2293 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
2294 #endif
2295 
2296 #ifndef GL_ARB_half_float_vertex
2297 #define GL_HALF_FLOAT 0x140B
2298 #endif
2299 
2300 #ifndef GL_ARB_instanced_arrays
2301 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
2302 #endif
2303 
2304 #ifndef GL_ARB_map_buffer_range
2305 #define GL_MAP_READ_BIT 0x0001
2306 #define GL_MAP_WRITE_BIT 0x0002
2307 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
2308 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
2309 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
2310 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
2311 #endif
2312 
2313 #ifndef GL_ARB_texture_buffer_object
2314 #define GL_TEXTURE_BUFFER_ARB 0x8C2A
2315 #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
2316 #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
2317 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
2318 #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
2319 #endif
2320 
2321 #ifndef GL_ARB_texture_compression_rgtc
2322 #define GL_COMPRESSED_RED_RGTC1 0x8DBB
2323 #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
2324 #define GL_COMPRESSED_RG_RGTC2 0x8DBD
2325 #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
2326 #endif
2327 
2328 #ifndef GL_ARB_texture_rg
2329 #define GL_RG 0x8227
2330 #define GL_RG_INTEGER 0x8228
2331 #define GL_R8 0x8229
2332 #define GL_R16 0x822A
2333 #define GL_RG8 0x822B
2334 #define GL_RG16 0x822C
2335 #define GL_R16F 0x822D
2336 #define GL_R32F 0x822E
2337 #define GL_RG16F 0x822F
2338 #define GL_RG32F 0x8230
2339 #define GL_R8I 0x8231
2340 #define GL_R8UI 0x8232
2341 #define GL_R16I 0x8233
2342 #define GL_R16UI 0x8234
2343 #define GL_R32I 0x8235
2344 #define GL_R32UI 0x8236
2345 #define GL_RG8I 0x8237
2346 #define GL_RG8UI 0x8238
2347 #define GL_RG16I 0x8239
2348 #define GL_RG16UI 0x823A
2349 #define GL_RG32I 0x823B
2350 #define GL_RG32UI 0x823C
2351 #endif
2352 
2353 #ifndef GL_ARB_vertex_array_object
2354 #define GL_VERTEX_ARRAY_BINDING 0x85B5
2355 #endif
2356 
2357 #ifndef GL_ARB_uniform_buffer_object
2358 #define GL_UNIFORM_BUFFER 0x8A11
2359 #define GL_UNIFORM_BUFFER_BINDING 0x8A28
2360 #define GL_UNIFORM_BUFFER_START 0x8A29
2361 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
2362 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
2363 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
2364 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
2365 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
2366 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
2367 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
2368 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
2369 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
2370 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
2371 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
2372 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
2373 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
2374 #define GL_UNIFORM_TYPE 0x8A37
2375 #define GL_UNIFORM_SIZE 0x8A38
2376 #define GL_UNIFORM_NAME_LENGTH 0x8A39
2377 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
2378 #define GL_UNIFORM_OFFSET 0x8A3B
2379 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
2380 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
2381 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
2382 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
2383 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
2384 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
2385 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
2386 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
2387 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
2388 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
2389 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
2390 #define GL_INVALID_INDEX 0xFFFFFFFFu
2391 #endif
2392 
2393 #ifndef GL_ARB_compatibility
2394 /* ARB_compatibility just defines tokens from core 3.0 */
2395 #endif
2396 
2397 #ifndef GL_ARB_copy_buffer
2398 #define GL_COPY_READ_BUFFER 0x8F36
2399 #define GL_COPY_WRITE_BUFFER 0x8F37
2400 #endif
2401 
2402 #ifndef GL_ARB_shader_texture_lod
2403 #endif
2404 
2405 #ifndef GL_ARB_depth_clamp
2406 #define GL_DEPTH_CLAMP 0x864F
2407 #endif
2408 
2409 #ifndef GL_ARB_draw_elements_base_vertex
2410 #endif
2411 
2412 #ifndef GL_ARB_fragment_coord_conventions
2413 #endif
2414 
2415 #ifndef GL_ARB_provoking_vertex
2416 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
2417 #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
2418 #define GL_LAST_VERTEX_CONVENTION 0x8E4E
2419 #define GL_PROVOKING_VERTEX 0x8E4F
2420 #endif
2421 
2422 #ifndef GL_ARB_seamless_cube_map
2423 #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
2424 #endif
2425 
2426 #ifndef GL_ARB_sync
2427 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
2428 #define GL_OBJECT_TYPE 0x9112
2429 #define GL_SYNC_CONDITION 0x9113
2430 #define GL_SYNC_STATUS 0x9114
2431 #define GL_SYNC_FLAGS 0x9115
2432 #define GL_SYNC_FENCE 0x9116
2433 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
2434 #define GL_UNSIGNALED 0x9118
2435 #define GL_SIGNALED 0x9119
2436 #define GL_ALREADY_SIGNALED 0x911A
2437 #define GL_TIMEOUT_EXPIRED 0x911B
2438 #define GL_CONDITION_SATISFIED 0x911C
2439 #define GL_WAIT_FAILED 0x911D
2440 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
2441 #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
2442 #endif
2443 
2444 #ifndef GL_ARB_texture_multisample
2445 #define GL_SAMPLE_POSITION 0x8E50
2446 #define GL_SAMPLE_MASK 0x8E51
2447 #define GL_SAMPLE_MASK_VALUE 0x8E52
2448 #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
2449 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
2450 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
2451 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
2452 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
2453 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
2454 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
2455 #define GL_TEXTURE_SAMPLES 0x9106
2456 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
2457 #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
2458 #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
2459 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
2460 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
2461 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
2462 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
2463 #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
2464 #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
2465 #define GL_MAX_INTEGER_SAMPLES 0x9110
2466 #endif
2467 
2468 #ifndef GL_ARB_vertex_array_bgra
2469 /* reuse GL_BGRA */
2470 #endif
2471 
2472 #ifndef GL_ARB_draw_buffers_blend
2473 #endif
2474 
2475 #ifndef GL_ARB_sample_shading
2476 #define GL_SAMPLE_SHADING_ARB 0x8C36
2477 #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
2478 #endif
2479 
2480 #ifndef GL_ARB_texture_cube_map_array
2481 #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
2482 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
2483 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
2484 #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
2485 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
2486 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
2487 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
2488 #endif
2489 
2490 #ifndef GL_ARB_texture_gather
2491 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
2492 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
2493 #endif
2494 
2495 #ifndef GL_ARB_texture_query_lod
2496 #endif
2497 
2498 #ifndef GL_ARB_shading_language_include
2499 #define GL_SHADER_INCLUDE_ARB 0x8DAE
2500 #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
2501 #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
2502 #endif
2503 
2504 #ifndef GL_ARB_texture_compression_bptc
2505 #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
2506 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
2507 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
2508 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
2509 #endif
2510 
2511 #ifndef GL_ARB_blend_func_extended
2512 #define GL_SRC1_COLOR 0x88F9
2513 /* reuse GL_SRC1_ALPHA */
2514 #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
2515 #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
2516 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
2517 #endif
2518 
2519 #ifndef GL_ARB_explicit_attrib_location
2520 #endif
2521 
2522 #ifndef GL_ARB_occlusion_query2
2523 #define GL_ANY_SAMPLES_PASSED 0x8C2F
2524 #endif
2525 
2526 #ifndef GL_ARB_sampler_objects
2527 #define GL_SAMPLER_BINDING 0x8919
2528 #endif
2529 
2530 #ifndef GL_ARB_shader_bit_encoding
2531 #endif
2532 
2533 #ifndef GL_ARB_texture_rgb10_a2ui
2534 #define GL_RGB10_A2UI 0x906F
2535 #endif
2536 
2537 #ifndef GL_ARB_texture_swizzle
2538 #define GL_TEXTURE_SWIZZLE_R 0x8E42
2539 #define GL_TEXTURE_SWIZZLE_G 0x8E43
2540 #define GL_TEXTURE_SWIZZLE_B 0x8E44
2541 #define GL_TEXTURE_SWIZZLE_A 0x8E45
2542 #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
2543 #endif
2544 
2545 #ifndef GL_ARB_timer_query
2546 #define GL_TIME_ELAPSED 0x88BF
2547 #define GL_TIMESTAMP 0x8E28
2548 #endif
2549 
2550 #ifndef GL_ARB_vertex_type_2_10_10_10_rev
2551 /* reuse GL_UNSIGNED_INT_2_10_10_10_REV */
2552 #define GL_INT_2_10_10_10_REV 0x8D9F
2553 #endif
2554 
2555 #ifndef GL_ARB_draw_indirect
2556 #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
2557 #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
2558 #endif
2559 
2560 #ifndef GL_ARB_gpu_shader5
2561 #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
2562 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
2563 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
2564 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
2565 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
2566 /* reuse GL_MAX_VERTEX_STREAMS */
2567 #endif
2568 
2569 #ifndef GL_ARB_gpu_shader_fp64
2570 /* reuse GL_DOUBLE */
2571 #define GL_DOUBLE_VEC2 0x8FFC
2572 #define GL_DOUBLE_VEC3 0x8FFD
2573 #define GL_DOUBLE_VEC4 0x8FFE
2574 #define GL_DOUBLE_MAT2 0x8F46
2575 #define GL_DOUBLE_MAT3 0x8F47
2576 #define GL_DOUBLE_MAT4 0x8F48
2577 #define GL_DOUBLE_MAT2x3 0x8F49
2578 #define GL_DOUBLE_MAT2x4 0x8F4A
2579 #define GL_DOUBLE_MAT3x2 0x8F4B
2580 #define GL_DOUBLE_MAT3x4 0x8F4C
2581 #define GL_DOUBLE_MAT4x2 0x8F4D
2582 #define GL_DOUBLE_MAT4x3 0x8F4E
2583 #endif
2584 
2585 #ifndef GL_ARB_shader_subroutine
2586 #define GL_ACTIVE_SUBROUTINES 0x8DE5
2587 #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
2588 #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
2589 #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
2590 #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
2591 #define GL_MAX_SUBROUTINES 0x8DE7
2592 #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
2593 #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
2594 #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
2595 /* reuse GL_UNIFORM_SIZE */
2596 /* reuse GL_UNIFORM_NAME_LENGTH */
2597 #endif
2598 
2599 #ifndef GL_ARB_tessellation_shader
2600 #define GL_PATCHES 0x000E
2601 #define GL_PATCH_VERTICES 0x8E72
2602 #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
2603 #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
2604 #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
2605 #define GL_TESS_GEN_MODE 0x8E76
2606 #define GL_TESS_GEN_SPACING 0x8E77
2607 #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
2608 #define GL_TESS_GEN_POINT_MODE 0x8E79
2609 /* reuse GL_TRIANGLES */
2610 /* reuse GL_QUADS */
2611 #define GL_ISOLINES 0x8E7A
2612 /* reuse GL_EQUAL */
2613 #define GL_FRACTIONAL_ODD 0x8E7B
2614 #define GL_FRACTIONAL_EVEN 0x8E7C
2615 /* reuse GL_CCW */
2616 /* reuse GL_CW */
2617 #define GL_MAX_PATCH_VERTICES 0x8E7D
2618 #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
2619 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
2620 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
2621 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
2622 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
2623 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
2624 #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
2625 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
2626 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
2627 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
2628 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
2629 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
2630 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
2631 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
2632 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
2633 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
2634 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
2635 #define GL_TESS_EVALUATION_SHADER 0x8E87
2636 #define GL_TESS_CONTROL_SHADER 0x8E88
2637 #endif
2638 
2639 #ifndef GL_ARB_texture_buffer_object_rgb32
2640 /* reuse GL_RGB32F */
2641 /* reuse GL_RGB32UI */
2642 /* reuse GL_RGB32I */
2643 #endif
2644 
2645 #ifndef GL_ARB_transform_feedback2
2646 #define GL_TRANSFORM_FEEDBACK 0x8E22
2647 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
2648 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
2649 #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
2650 #endif
2651 
2652 #ifndef GL_ARB_transform_feedback3
2653 #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
2654 #define GL_MAX_VERTEX_STREAMS 0x8E71
2655 #endif
2656 
2657 #ifndef GL_ARB_ES2_compatibility
2658 #define GL_FIXED 0x140C
2659 #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
2660 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
2661 #define GL_LOW_FLOAT 0x8DF0
2662 #define GL_MEDIUM_FLOAT 0x8DF1
2663 #define GL_HIGH_FLOAT 0x8DF2
2664 #define GL_LOW_INT 0x8DF3
2665 #define GL_MEDIUM_INT 0x8DF4
2666 #define GL_HIGH_INT 0x8DF5
2667 #define GL_SHADER_COMPILER 0x8DFA
2668 #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
2669 #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
2670 #define GL_MAX_VARYING_VECTORS 0x8DFC
2671 #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
2672 #endif
2673 
2674 #ifndef GL_ARB_get_program_binary
2675 #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
2676 #define GL_PROGRAM_BINARY_LENGTH 0x8741
2677 #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
2678 #define GL_PROGRAM_BINARY_FORMATS 0x87FF
2679 #endif
2680 
2681 #ifndef GL_ARB_separate_shader_objects
2682 #define GL_VERTEX_SHADER_BIT 0x00000001
2683 #define GL_FRAGMENT_SHADER_BIT 0x00000002
2684 #define GL_GEOMETRY_SHADER_BIT 0x00000004
2685 #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
2686 #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
2687 #define GL_ALL_SHADER_BITS 0xFFFFFFFF
2688 #define GL_PROGRAM_SEPARABLE 0x8258
2689 #define GL_ACTIVE_PROGRAM 0x8259
2690 #define GL_PROGRAM_PIPELINE_BINDING 0x825A
2691 #endif
2692 
2693 #ifndef GL_ARB_shader_precision
2694 #endif
2695 
2696 #ifndef GL_ARB_vertex_attrib_64bit
2697 /* reuse GL_RGB32I */
2698 /* reuse GL_DOUBLE_VEC2 */
2699 /* reuse GL_DOUBLE_VEC3 */
2700 /* reuse GL_DOUBLE_VEC4 */
2701 /* reuse GL_DOUBLE_MAT2 */
2702 /* reuse GL_DOUBLE_MAT3 */
2703 /* reuse GL_DOUBLE_MAT4 */
2704 /* reuse GL_DOUBLE_MAT2x3 */
2705 /* reuse GL_DOUBLE_MAT2x4 */
2706 /* reuse GL_DOUBLE_MAT3x2 */
2707 /* reuse GL_DOUBLE_MAT3x4 */
2708 /* reuse GL_DOUBLE_MAT4x2 */
2709 /* reuse GL_DOUBLE_MAT4x3 */
2710 #endif
2711 
2712 #ifndef GL_ARB_viewport_array
2713 /* reuse GL_SCISSOR_BOX */
2714 /* reuse GL_VIEWPORT */
2715 /* reuse GL_DEPTH_RANGE */
2716 /* reuse GL_SCISSOR_TEST */
2717 #define GL_MAX_VIEWPORTS 0x825B
2718 #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
2719 #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
2720 #define GL_LAYER_PROVOKING_VERTEX 0x825E
2721 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
2722 #define GL_UNDEFINED_VERTEX 0x8260
2723 /* reuse GL_FIRST_VERTEX_CONVENTION */
2724 /* reuse GL_LAST_VERTEX_CONVENTION */
2725 /* reuse GL_PROVOKING_VERTEX */
2726 #endif
2727 
2728 #ifndef GL_ARB_cl_event
2729 #define GL_SYNC_CL_EVENT_ARB 0x8240
2730 #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
2731 #endif
2732 
2733 #ifndef GL_ARB_debug_output
2734 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
2735 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
2736 #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
2737 #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
2738 #define GL_DEBUG_SOURCE_API_ARB 0x8246
2739 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
2740 #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
2741 #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
2742 #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
2743 #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
2744 #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
2745 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
2746 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
2747 #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
2748 #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
2749 #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
2750 #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
2751 #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
2752 #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
2753 #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
2754 #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
2755 #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
2756 #endif
2757 
2758 #ifndef GL_ARB_robustness
2759 /* reuse GL_NO_ERROR */
2760 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
2761 #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
2762 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
2763 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
2764 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
2765 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
2766 #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
2767 #endif
2768 
2769 #ifndef GL_ARB_shader_stencil_export
2770 #endif
2771 
2772 #ifndef GL_EXT_abgr
2773 #define GL_ABGR_EXT 0x8000
2774 #endif
2775 
2776 #ifndef GL_EXT_blend_color
2777 #define GL_CONSTANT_COLOR_EXT 0x8001
2778 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
2779 #define GL_CONSTANT_ALPHA_EXT 0x8003
2780 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
2781 #define GL_BLEND_COLOR_EXT 0x8005
2782 #endif
2783 
2784 #ifndef GL_EXT_polygon_offset
2785 #define GL_POLYGON_OFFSET_EXT 0x8037
2786 #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
2787 #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
2788 #endif
2789 
2790 #ifndef GL_EXT_texture
2791 #define GL_ALPHA4_EXT 0x803B
2792 #define GL_ALPHA8_EXT 0x803C
2793 #define GL_ALPHA12_EXT 0x803D
2794 #define GL_ALPHA16_EXT 0x803E
2795 #define GL_LUMINANCE4_EXT 0x803F
2796 #define GL_LUMINANCE8_EXT 0x8040
2797 #define GL_LUMINANCE12_EXT 0x8041
2798 #define GL_LUMINANCE16_EXT 0x8042
2799 #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
2800 #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
2801 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
2802 #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
2803 #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
2804 #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
2805 #define GL_INTENSITY_EXT 0x8049
2806 #define GL_INTENSITY4_EXT 0x804A
2807 #define GL_INTENSITY8_EXT 0x804B
2808 #define GL_INTENSITY12_EXT 0x804C
2809 #define GL_INTENSITY16_EXT 0x804D
2810 #define GL_RGB2_EXT 0x804E
2811 #define GL_RGB4_EXT 0x804F
2812 #define GL_RGB5_EXT 0x8050
2813 #define GL_RGB8_EXT 0x8051
2814 #define GL_RGB10_EXT 0x8052
2815 #define GL_RGB12_EXT 0x8053
2816 #define GL_RGB16_EXT 0x8054
2817 #define GL_RGBA2_EXT 0x8055
2818 #define GL_RGBA4_EXT 0x8056
2819 #define GL_RGB5_A1_EXT 0x8057
2820 #define GL_RGBA8_EXT 0x8058
2821 #define GL_RGB10_A2_EXT 0x8059
2822 #define GL_RGBA12_EXT 0x805A
2823 #define GL_RGBA16_EXT 0x805B
2824 #define GL_TEXTURE_RED_SIZE_EXT 0x805C
2825 #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
2826 #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
2827 #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
2828 #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
2829 #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
2830 #define GL_REPLACE_EXT 0x8062
2831 #define GL_PROXY_TEXTURE_1D_EXT 0x8063
2832 #define GL_PROXY_TEXTURE_2D_EXT 0x8064
2833 #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
2834 #endif
2835 
2836 #ifndef GL_EXT_texture3D
2837 #define GL_PACK_SKIP_IMAGES_EXT 0x806B
2838 #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
2839 #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
2840 #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
2841 #define GL_TEXTURE_3D_EXT 0x806F
2842 #define GL_PROXY_TEXTURE_3D_EXT 0x8070
2843 #define GL_TEXTURE_DEPTH_EXT 0x8071
2844 #define GL_TEXTURE_WRAP_R_EXT 0x8072
2845 #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
2846 #endif
2847 
2848 #ifndef GL_SGIS_texture_filter4
2849 #define GL_FILTER4_SGIS 0x8146
2850 #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
2851 #endif
2852 
2853 #ifndef GL_EXT_subtexture
2854 #endif
2855 
2856 #ifndef GL_EXT_copy_texture
2857 #endif
2858 
2859 #ifndef GL_EXT_histogram
2860 #define GL_HISTOGRAM_EXT 0x8024
2861 #define GL_PROXY_HISTOGRAM_EXT 0x8025
2862 #define GL_HISTOGRAM_WIDTH_EXT 0x8026
2863 #define GL_HISTOGRAM_FORMAT_EXT 0x8027
2864 #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
2865 #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
2866 #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
2867 #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
2868 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
2869 #define GL_HISTOGRAM_SINK_EXT 0x802D
2870 #define GL_MINMAX_EXT 0x802E
2871 #define GL_MINMAX_FORMAT_EXT 0x802F
2872 #define GL_MINMAX_SINK_EXT 0x8030
2873 #define GL_TABLE_TOO_LARGE_EXT 0x8031
2874 #endif
2875 
2876 #ifndef GL_EXT_convolution
2877 #define GL_CONVOLUTION_1D_EXT 0x8010
2878 #define GL_CONVOLUTION_2D_EXT 0x8011
2879 #define GL_SEPARABLE_2D_EXT 0x8012
2880 #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
2881 #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
2882 #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
2883 #define GL_REDUCE_EXT 0x8016
2884 #define GL_CONVOLUTION_FORMAT_EXT 0x8017
2885 #define GL_CONVOLUTION_WIDTH_EXT 0x8018
2886 #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
2887 #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
2888 #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
2889 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
2890 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
2891 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
2892 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
2893 #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
2894 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
2895 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
2896 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
2897 #endif
2898 
2899 #ifndef GL_SGI_color_matrix
2900 #define GL_COLOR_MATRIX_SGI 0x80B1
2901 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
2902 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
2903 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
2904 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
2905 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
2906 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
2907 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
2908 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
2909 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
2910 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
2911 #endif
2912 
2913 #ifndef GL_SGI_color_table
2914 #define GL_COLOR_TABLE_SGI 0x80D0
2915 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
2916 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
2917 #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
2918 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
2919 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
2920 #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
2921 #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
2922 #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
2923 #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
2924 #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
2925 #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
2926 #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
2927 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
2928 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
2929 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
2930 #endif
2931 
2932 #ifndef GL_SGIS_pixel_texture
2933 #define GL_PIXEL_TEXTURE_SGIS 0x8353
2934 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
2935 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
2936 #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
2937 #endif
2938 
2939 #ifndef GL_SGIX_pixel_texture
2940 #define GL_PIXEL_TEX_GEN_SGIX 0x8139
2941 #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
2942 #endif
2943 
2944 #ifndef GL_SGIS_texture4D
2945 #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
2946 #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
2947 #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
2948 #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
2949 #define GL_TEXTURE_4D_SGIS 0x8134
2950 #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
2951 #define GL_TEXTURE_4DSIZE_SGIS 0x8136
2952 #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
2953 #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
2954 #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
2955 #endif
2956 
2957 #ifndef GL_SGI_texture_color_table
2958 #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
2959 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
2960 #endif
2961 
2962 #ifndef GL_EXT_cmyka
2963 #define GL_CMYK_EXT 0x800C
2964 #define GL_CMYKA_EXT 0x800D
2965 #define GL_PACK_CMYK_HINT_EXT 0x800E
2966 #define GL_UNPACK_CMYK_HINT_EXT 0x800F
2967 #endif
2968 
2969 #ifndef GL_EXT_texture_object
2970 #define GL_TEXTURE_PRIORITY_EXT 0x8066
2971 #define GL_TEXTURE_RESIDENT_EXT 0x8067
2972 #define GL_TEXTURE_1D_BINDING_EXT 0x8068
2973 #define GL_TEXTURE_2D_BINDING_EXT 0x8069
2974 #define GL_TEXTURE_3D_BINDING_EXT 0x806A
2975 #endif
2976 
2977 #ifndef GL_SGIS_detail_texture
2978 #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
2979 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
2980 #define GL_LINEAR_DETAIL_SGIS 0x8097
2981 #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
2982 #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
2983 #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
2984 #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
2985 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
2986 #endif
2987 
2988 #ifndef GL_SGIS_sharpen_texture
2989 #define GL_LINEAR_SHARPEN_SGIS 0x80AD
2990 #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
2991 #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
2992 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
2993 #endif
2994 
2995 #ifndef GL_EXT_packed_pixels
2996 #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
2997 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
2998 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
2999 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
3000 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
3001 #endif
3002 
3003 #ifndef GL_SGIS_texture_lod
3004 #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
3005 #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
3006 #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
3007 #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
3008 #endif
3009 
3010 #ifndef GL_SGIS_multisample
3011 #define GL_MULTISAMPLE_SGIS 0x809D
3012 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
3013 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
3014 #define GL_SAMPLE_MASK_SGIS 0x80A0
3015 #define GL_1PASS_SGIS 0x80A1
3016 #define GL_2PASS_0_SGIS 0x80A2
3017 #define GL_2PASS_1_SGIS 0x80A3
3018 #define GL_4PASS_0_SGIS 0x80A4
3019 #define GL_4PASS_1_SGIS 0x80A5
3020 #define GL_4PASS_2_SGIS 0x80A6
3021 #define GL_4PASS_3_SGIS 0x80A7
3022 #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
3023 #define GL_SAMPLES_SGIS 0x80A9
3024 #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
3025 #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
3026 #define GL_SAMPLE_PATTERN_SGIS 0x80AC
3027 #endif
3028 
3029 #ifndef GL_EXT_rescale_normal
3030 #define GL_RESCALE_NORMAL_EXT 0x803A
3031 #endif
3032 
3033 #ifndef GL_EXT_vertex_array
3034 #define GL_VERTEX_ARRAY_EXT 0x8074
3035 #define GL_NORMAL_ARRAY_EXT 0x8075
3036 #define GL_COLOR_ARRAY_EXT 0x8076
3037 #define GL_INDEX_ARRAY_EXT 0x8077
3038 #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
3039 #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
3040 #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
3041 #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
3042 #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
3043 #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
3044 #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
3045 #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
3046 #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
3047 #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
3048 #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
3049 #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
3050 #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
3051 #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
3052 #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
3053 #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
3054 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
3055 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
3056 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
3057 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
3058 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
3059 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
3060 #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
3061 #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
3062 #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
3063 #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
3064 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
3065 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
3066 #endif
3067 
3068 #ifndef GL_EXT_misc_attribute
3069 #endif
3070 
3071 #ifndef GL_SGIS_generate_mipmap
3072 #define GL_GENERATE_MIPMAP_SGIS 0x8191
3073 #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
3074 #endif
3075 
3076 #ifndef GL_SGIX_clipmap
3077 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
3078 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
3079 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
3080 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
3081 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
3082 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
3083 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
3084 #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
3085 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
3086 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
3087 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
3088 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
3089 #endif
3090 
3091 #ifndef GL_SGIX_shadow
3092 #define GL_TEXTURE_COMPARE_SGIX 0x819A
3093 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
3094 #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
3095 #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
3096 #endif
3097 
3098 #ifndef GL_SGIS_texture_edge_clamp
3099 #define GL_CLAMP_TO_EDGE_SGIS 0x812F
3100 #endif
3101 
3102 #ifndef GL_SGIS_texture_border_clamp
3103 #define GL_CLAMP_TO_BORDER_SGIS 0x812D
3104 #endif
3105 
3106 #ifndef GL_EXT_blend_minmax
3107 #define GL_FUNC_ADD_EXT 0x8006
3108 #define GL_MIN_EXT 0x8007
3109 #define GL_MAX_EXT 0x8008
3110 #define GL_BLEND_EQUATION_EXT 0x8009
3111 #endif
3112 
3113 #ifndef GL_EXT_blend_subtract
3114 #define GL_FUNC_SUBTRACT_EXT 0x800A
3115 #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
3116 #endif
3117 
3118 #ifndef GL_EXT_blend_logic_op
3119 #endif
3120 
3121 #ifndef GL_SGIX_interlace
3122 #define GL_INTERLACE_SGIX 0x8094
3123 #endif
3124 
3125 #ifndef GL_SGIX_pixel_tiles
3126 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
3127 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
3128 #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
3129 #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
3130 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
3131 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
3132 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
3133 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
3134 #endif
3135 
3136 #ifndef GL_SGIS_texture_select
3137 #define GL_DUAL_ALPHA4_SGIS 0x8110
3138 #define GL_DUAL_ALPHA8_SGIS 0x8111
3139 #define GL_DUAL_ALPHA12_SGIS 0x8112
3140 #define GL_DUAL_ALPHA16_SGIS 0x8113
3141 #define GL_DUAL_LUMINANCE4_SGIS 0x8114
3142 #define GL_DUAL_LUMINANCE8_SGIS 0x8115
3143 #define GL_DUAL_LUMINANCE12_SGIS 0x8116
3144 #define GL_DUAL_LUMINANCE16_SGIS 0x8117
3145 #define GL_DUAL_INTENSITY4_SGIS 0x8118
3146 #define GL_DUAL_INTENSITY8_SGIS 0x8119
3147 #define GL_DUAL_INTENSITY12_SGIS 0x811A
3148 #define GL_DUAL_INTENSITY16_SGIS 0x811B
3149 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
3150 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
3151 #define GL_QUAD_ALPHA4_SGIS 0x811E
3152 #define GL_QUAD_ALPHA8_SGIS 0x811F
3153 #define GL_QUAD_LUMINANCE4_SGIS 0x8120
3154 #define GL_QUAD_LUMINANCE8_SGIS 0x8121
3155 #define GL_QUAD_INTENSITY4_SGIS 0x8122
3156 #define GL_QUAD_INTENSITY8_SGIS 0x8123
3157 #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
3158 #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
3159 #endif
3160 
3161 #ifndef GL_SGIX_sprite
3162 #define GL_SPRITE_SGIX 0x8148
3163 #define GL_SPRITE_MODE_SGIX 0x8149
3164 #define GL_SPRITE_AXIS_SGIX 0x814A
3165 #define GL_SPRITE_TRANSLATION_SGIX 0x814B
3166 #define GL_SPRITE_AXIAL_SGIX 0x814C
3167 #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
3168 #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
3169 #endif
3170 
3171 #ifndef GL_SGIX_texture_multi_buffer
3172 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
3173 #endif
3174 
3175 #ifndef GL_EXT_point_parameters
3176 #define GL_POINT_SIZE_MIN_EXT 0x8126
3177 #define GL_POINT_SIZE_MAX_EXT 0x8127
3178 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
3179 #define GL_DISTANCE_ATTENUATION_EXT 0x8129
3180 #endif
3181 
3182 #ifndef GL_SGIS_point_parameters
3183 #define GL_POINT_SIZE_MIN_SGIS 0x8126
3184 #define GL_POINT_SIZE_MAX_SGIS 0x8127
3185 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
3186 #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
3187 #endif
3188 
3189 #ifndef GL_SGIX_instruments
3190 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
3191 #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
3192 #endif
3193 
3194 #ifndef GL_SGIX_texture_scale_bias
3195 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
3196 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
3197 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
3198 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
3199 #endif
3200 
3201 #ifndef GL_SGIX_framezoom
3202 #define GL_FRAMEZOOM_SGIX 0x818B
3203 #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
3204 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
3205 #endif
3206 
3207 #ifndef GL_SGIX_tag_sample_buffer
3208 #endif
3209 
3210 #ifndef GL_FfdMaskSGIX
3211 #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
3212 #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
3213 #endif
3214 
3215 #ifndef GL_SGIX_polynomial_ffd
3216 #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
3217 #define GL_TEXTURE_DEFORMATION_SGIX 0x8195
3218 #define GL_DEFORMATIONS_MASK_SGIX 0x8196
3219 #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
3220 #endif
3221 
3222 #ifndef GL_SGIX_reference_plane
3223 #define GL_REFERENCE_PLANE_SGIX 0x817D
3224 #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
3225 #endif
3226 
3227 #ifndef GL_SGIX_flush_raster
3228 #endif
3229 
3230 #ifndef GL_SGIX_depth_texture
3231 #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
3232 #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
3233 #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
3234 #endif
3235 
3236 #ifndef GL_SGIS_fog_function
3237 #define GL_FOG_FUNC_SGIS 0x812A
3238 #define GL_FOG_FUNC_POINTS_SGIS 0x812B
3239 #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
3240 #endif
3241 
3242 #ifndef GL_SGIX_fog_offset
3243 #define GL_FOG_OFFSET_SGIX 0x8198
3244 #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
3245 #endif
3246 
3247 #ifndef GL_HP_image_transform
3248 #define GL_IMAGE_SCALE_X_HP 0x8155
3249 #define GL_IMAGE_SCALE_Y_HP 0x8156
3250 #define GL_IMAGE_TRANSLATE_X_HP 0x8157
3251 #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
3252 #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
3253 #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
3254 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
3255 #define GL_IMAGE_MAG_FILTER_HP 0x815C
3256 #define GL_IMAGE_MIN_FILTER_HP 0x815D
3257 #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
3258 #define GL_CUBIC_HP 0x815F
3259 #define GL_AVERAGE_HP 0x8160
3260 #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
3261 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
3262 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
3263 #endif
3264 
3265 #ifndef GL_HP_convolution_border_modes
3266 #define GL_IGNORE_BORDER_HP 0x8150
3267 #define GL_CONSTANT_BORDER_HP 0x8151
3268 #define GL_REPLICATE_BORDER_HP 0x8153
3269 #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
3270 #endif
3271 
3272 #ifndef GL_INGR_palette_buffer
3273 #endif
3274 
3275 #ifndef GL_SGIX_texture_add_env
3276 #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
3277 #endif
3278 
3279 #ifndef GL_EXT_color_subtable
3280 #endif
3281 
3282 #ifndef GL_PGI_vertex_hints
3283 #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
3284 #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
3285 #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
3286 #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
3287 #define GL_COLOR3_BIT_PGI 0x00010000
3288 #define GL_COLOR4_BIT_PGI 0x00020000
3289 #define GL_EDGEFLAG_BIT_PGI 0x00040000
3290 #define GL_INDEX_BIT_PGI 0x00080000
3291 #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
3292 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
3293 #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
3294 #define GL_MAT_EMISSION_BIT_PGI 0x00800000
3295 #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
3296 #define GL_MAT_SHININESS_BIT_PGI 0x02000000
3297 #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
3298 #define GL_NORMAL_BIT_PGI 0x08000000
3299 #define GL_TEXCOORD1_BIT_PGI 0x10000000
3300 #define GL_TEXCOORD2_BIT_PGI 0x20000000
3301 #define GL_TEXCOORD3_BIT_PGI 0x40000000
3302 #define GL_TEXCOORD4_BIT_PGI 0x80000000
3303 #define GL_VERTEX23_BIT_PGI 0x00000004
3304 #define GL_VERTEX4_BIT_PGI 0x00000008
3305 #endif
3306 
3307 #ifndef GL_PGI_misc_hints
3308 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
3309 #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
3310 #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
3311 #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
3312 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
3313 #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
3314 #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
3315 #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
3316 #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
3317 #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
3318 #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
3319 #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
3320 #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
3321 #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
3322 #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
3323 #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
3324 #define GL_CLIP_NEAR_HINT_PGI 0x1A220
3325 #define GL_CLIP_FAR_HINT_PGI 0x1A221
3326 #define GL_WIDE_LINE_HINT_PGI 0x1A222
3327 #define GL_BACK_NORMALS_HINT_PGI 0x1A223
3328 #endif
3329 
3330 #ifndef GL_EXT_paletted_texture
3331 #define GL_COLOR_INDEX1_EXT 0x80E2
3332 #define GL_COLOR_INDEX2_EXT 0x80E3
3333 #define GL_COLOR_INDEX4_EXT 0x80E4
3334 #define GL_COLOR_INDEX8_EXT 0x80E5
3335 #define GL_COLOR_INDEX12_EXT 0x80E6
3336 #define GL_COLOR_INDEX16_EXT 0x80E7
3337 #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
3338 #endif
3339 
3340 #ifndef GL_EXT_clip_volume_hint
3341 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
3342 #endif
3343 
3344 #ifndef GL_SGIX_list_priority
3345 #define GL_LIST_PRIORITY_SGIX 0x8182
3346 #endif
3347 
3348 #ifndef GL_SGIX_ir_instrument1
3349 #define GL_IR_INSTRUMENT1_SGIX 0x817F
3350 #endif
3351 
3352 #ifndef GL_SGIX_calligraphic_fragment
3353 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
3354 #endif
3355 
3356 #ifndef GL_SGIX_texture_lod_bias
3357 #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
3358 #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
3359 #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
3360 #endif
3361 
3362 #ifndef GL_SGIX_shadow_ambient
3363 #define GL_SHADOW_AMBIENT_SGIX 0x80BF
3364 #endif
3365 
3366 #ifndef GL_EXT_index_texture
3367 #endif
3368 
3369 #ifndef GL_EXT_index_material
3370 #define GL_INDEX_MATERIAL_EXT 0x81B8
3371 #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
3372 #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
3373 #endif
3374 
3375 #ifndef GL_EXT_index_func
3376 #define GL_INDEX_TEST_EXT 0x81B5
3377 #define GL_INDEX_TEST_FUNC_EXT 0x81B6
3378 #define GL_INDEX_TEST_REF_EXT 0x81B7
3379 #endif
3380 
3381 #ifndef GL_EXT_index_array_formats
3382 #define GL_IUI_V2F_EXT 0x81AD
3383 #define GL_IUI_V3F_EXT 0x81AE
3384 #define GL_IUI_N3F_V2F_EXT 0x81AF
3385 #define GL_IUI_N3F_V3F_EXT 0x81B0
3386 #define GL_T2F_IUI_V2F_EXT 0x81B1
3387 #define GL_T2F_IUI_V3F_EXT 0x81B2
3388 #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
3389 #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
3390 #endif
3391 
3392 #ifndef GL_EXT_compiled_vertex_array
3393 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
3394 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
3395 #endif
3396 
3397 #ifndef GL_EXT_cull_vertex
3398 #define GL_CULL_VERTEX_EXT 0x81AA
3399 #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
3400 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
3401 #endif
3402 
3403 #ifndef GL_SGIX_ycrcb
3404 #define GL_YCRCB_422_SGIX 0x81BB
3405 #define GL_YCRCB_444_SGIX 0x81BC
3406 #endif
3407 
3408 #ifndef GL_SGIX_fragment_lighting
3409 #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
3410 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
3411 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
3412 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
3413 #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
3414 #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
3415 #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
3416 #define GL_LIGHT_ENV_MODE_SGIX 0x8407
3417 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
3418 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
3419 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
3420 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
3421 #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
3422 #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
3423 #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
3424 #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
3425 #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
3426 #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
3427 #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
3428 #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
3429 #endif
3430 
3431 #ifndef GL_IBM_rasterpos_clip
3432 #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
3433 #endif
3434 
3435 #ifndef GL_HP_texture_lighting
3436 #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
3437 #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
3438 #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
3439 #endif
3440 
3441 #ifndef GL_EXT_draw_range_elements
3442 #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
3443 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
3444 #endif
3445 
3446 #ifndef GL_WIN_phong_shading
3447 #define GL_PHONG_WIN 0x80EA
3448 #define GL_PHONG_HINT_WIN 0x80EB
3449 #endif
3450 
3451 #ifndef GL_WIN_specular_fog
3452 #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
3453 #endif
3454 
3455 #ifndef GL_EXT_light_texture
3456 #define GL_FRAGMENT_MATERIAL_EXT 0x8349
3457 #define GL_FRAGMENT_NORMAL_EXT 0x834A
3458 #define GL_FRAGMENT_COLOR_EXT 0x834C
3459 #define GL_ATTENUATION_EXT 0x834D
3460 #define GL_SHADOW_ATTENUATION_EXT 0x834E
3461 #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
3462 #define GL_TEXTURE_LIGHT_EXT 0x8350
3463 #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
3464 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
3465 /* reuse GL_FRAGMENT_DEPTH_EXT */
3466 #endif
3467 
3468 #ifndef GL_SGIX_blend_alpha_minmax
3469 #define GL_ALPHA_MIN_SGIX 0x8320
3470 #define GL_ALPHA_MAX_SGIX 0x8321
3471 #endif
3472 
3473 #ifndef GL_SGIX_impact_pixel_texture
3474 #define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX 0x8184
3475 #define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX 0x8185
3476 #define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX 0x8186
3477 #define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187
3478 #define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188
3479 #define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX 0x8189
3480 #define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX 0x818A
3481 #endif
3482 
3483 #ifndef GL_EXT_bgra
3484 #define GL_BGR_EXT 0x80E0
3485 #define GL_BGRA_EXT 0x80E1
3486 #endif
3487 
3488 #ifndef GL_SGIX_async
3489 #define GL_ASYNC_MARKER_SGIX 0x8329
3490 #endif
3491 
3492 #ifndef GL_SGIX_async_pixel
3493 #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
3494 #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
3495 #define GL_ASYNC_READ_PIXELS_SGIX 0x835E
3496 #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
3497 #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
3498 #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
3499 #endif
3500 
3501 #ifndef GL_SGIX_async_histogram
3502 #define GL_ASYNC_HISTOGRAM_SGIX 0x832C
3503 #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
3504 #endif
3505 
3506 #ifndef GL_INTEL_texture_scissor
3507 #endif
3508 
3509 #ifndef GL_INTEL_parallel_arrays
3510 #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
3511 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
3512 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
3513 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
3514 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
3515 #endif
3516 
3517 #ifndef GL_HP_occlusion_test
3518 #define GL_OCCLUSION_TEST_HP 0x8165
3519 #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
3520 #endif
3521 
3522 #ifndef GL_EXT_pixel_transform
3523 #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
3524 #define GL_PIXEL_MAG_FILTER_EXT 0x8331
3525 #define GL_PIXEL_MIN_FILTER_EXT 0x8332
3526 #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
3527 #define GL_CUBIC_EXT 0x8334
3528 #define GL_AVERAGE_EXT 0x8335
3529 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
3530 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
3531 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
3532 #endif
3533 
3534 #ifndef GL_EXT_pixel_transform_color_table
3535 #endif
3536 
3537 #ifndef GL_EXT_shared_texture_palette
3538 #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
3539 #endif
3540 
3541 #ifndef GL_EXT_separate_specular_color
3542 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
3543 #define GL_SINGLE_COLOR_EXT 0x81F9
3544 #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
3545 #endif
3546 
3547 #ifndef GL_EXT_secondary_color
3548 #define GL_COLOR_SUM_EXT 0x8458
3549 #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
3550 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
3551 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
3552 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
3553 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
3554 #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
3555 #endif
3556 
3557 #ifndef GL_EXT_texture_perturb_normal
3558 #define GL_PERTURB_EXT 0x85AE
3559 #define GL_TEXTURE_NORMAL_EXT 0x85AF
3560 #endif
3561 
3562 #ifndef GL_EXT_multi_draw_arrays
3563 #endif
3564 
3565 #ifndef GL_EXT_fog_coord
3566 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
3567 #define GL_FOG_COORDINATE_EXT 0x8451
3568 #define GL_FRAGMENT_DEPTH_EXT 0x8452
3569 #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
3570 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
3571 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
3572 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
3573 #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
3574 #endif
3575 
3576 #ifndef GL_REND_screen_coordinates
3577 #define GL_SCREEN_COORDINATES_REND 0x8490
3578 #define GL_INVERTED_SCREEN_W_REND 0x8491
3579 #endif
3580 
3581 #ifndef GL_EXT_coordinate_frame
3582 #define GL_TANGENT_ARRAY_EXT 0x8439
3583 #define GL_BINORMAL_ARRAY_EXT 0x843A
3584 #define GL_CURRENT_TANGENT_EXT 0x843B
3585 #define GL_CURRENT_BINORMAL_EXT 0x843C
3586 #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
3587 #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
3588 #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
3589 #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
3590 #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
3591 #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
3592 #define GL_MAP1_TANGENT_EXT 0x8444
3593 #define GL_MAP2_TANGENT_EXT 0x8445
3594 #define GL_MAP1_BINORMAL_EXT 0x8446
3595 #define GL_MAP2_BINORMAL_EXT 0x8447
3596 #endif
3597 
3598 #ifndef GL_EXT_texture_env_combine
3599 #define GL_COMBINE_EXT 0x8570
3600 #define GL_COMBINE_RGB_EXT 0x8571
3601 #define GL_COMBINE_ALPHA_EXT 0x8572
3602 #define GL_RGB_SCALE_EXT 0x8573
3603 #define GL_ADD_SIGNED_EXT 0x8574
3604 #define GL_INTERPOLATE_EXT 0x8575
3605 #define GL_CONSTANT_EXT 0x8576
3606 #define GL_PRIMARY_COLOR_EXT 0x8577
3607 #define GL_PREVIOUS_EXT 0x8578
3608 #define GL_SOURCE0_RGB_EXT 0x8580
3609 #define GL_SOURCE1_RGB_EXT 0x8581
3610 #define GL_SOURCE2_RGB_EXT 0x8582
3611 #define GL_SOURCE0_ALPHA_EXT 0x8588
3612 #define GL_SOURCE1_ALPHA_EXT 0x8589
3613 #define GL_SOURCE2_ALPHA_EXT 0x858A
3614 #define GL_OPERAND0_RGB_EXT 0x8590
3615 #define GL_OPERAND1_RGB_EXT 0x8591
3616 #define GL_OPERAND2_RGB_EXT 0x8592
3617 #define GL_OPERAND0_ALPHA_EXT 0x8598
3618 #define GL_OPERAND1_ALPHA_EXT 0x8599
3619 #define GL_OPERAND2_ALPHA_EXT 0x859A
3620 #endif
3621 
3622 #ifndef GL_APPLE_specular_vector
3623 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
3624 #endif
3625 
3626 #ifndef GL_APPLE_transform_hint
3627 #define GL_TRANSFORM_HINT_APPLE 0x85B1
3628 #endif
3629 
3630 #ifndef GL_SGIX_fog_scale
3631 #define GL_FOG_SCALE_SGIX 0x81FC
3632 #define GL_FOG_SCALE_VALUE_SGIX 0x81FD
3633 #endif
3634 
3635 #ifndef GL_SUNX_constant_data
3636 #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
3637 #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
3638 #endif
3639 
3640 #ifndef GL_SUN_global_alpha
3641 #define GL_GLOBAL_ALPHA_SUN 0x81D9
3642 #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
3643 #endif
3644 
3645 #ifndef GL_SUN_triangle_list
3646 #define GL_RESTART_SUN 0x0001
3647 #define GL_REPLACE_MIDDLE_SUN 0x0002
3648 #define GL_REPLACE_OLDEST_SUN 0x0003
3649 #define GL_TRIANGLE_LIST_SUN 0x81D7
3650 #define GL_REPLACEMENT_CODE_SUN 0x81D8
3651 #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
3652 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
3653 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
3654 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
3655 #define GL_R1UI_V3F_SUN 0x85C4
3656 #define GL_R1UI_C4UB_V3F_SUN 0x85C5
3657 #define GL_R1UI_C3F_V3F_SUN 0x85C6
3658 #define GL_R1UI_N3F_V3F_SUN 0x85C7
3659 #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
3660 #define GL_R1UI_T2F_V3F_SUN 0x85C9
3661 #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
3662 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
3663 #endif
3664 
3665 #ifndef GL_SUN_vertex
3666 #endif
3667 
3668 #ifndef GL_EXT_blend_func_separate
3669 #define GL_BLEND_DST_RGB_EXT 0x80C8
3670 #define GL_BLEND_SRC_RGB_EXT 0x80C9
3671 #define GL_BLEND_DST_ALPHA_EXT 0x80CA
3672 #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
3673 #endif
3674 
3675 #ifndef GL_INGR_color_clamp
3676 #define GL_RED_MIN_CLAMP_INGR 0x8560
3677 #define GL_GREEN_MIN_CLAMP_INGR 0x8561
3678 #define GL_BLUE_MIN_CLAMP_INGR 0x8562
3679 #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
3680 #define GL_RED_MAX_CLAMP_INGR 0x8564
3681 #define GL_GREEN_MAX_CLAMP_INGR 0x8565
3682 #define GL_BLUE_MAX_CLAMP_INGR 0x8566
3683 #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
3684 #endif
3685 
3686 #ifndef GL_INGR_interlace_read
3687 #define GL_INTERLACE_READ_INGR 0x8568
3688 #endif
3689 
3690 #ifndef GL_EXT_stencil_wrap
3691 #define GL_INCR_WRAP_EXT 0x8507
3692 #define GL_DECR_WRAP_EXT 0x8508
3693 #endif
3694 
3695 #ifndef GL_EXT_422_pixels
3696 #define GL_422_EXT 0x80CC
3697 #define GL_422_REV_EXT 0x80CD
3698 #define GL_422_AVERAGE_EXT 0x80CE
3699 #define GL_422_REV_AVERAGE_EXT 0x80CF
3700 #endif
3701 
3702 #ifndef GL_NV_texgen_reflection
3703 #define GL_NORMAL_MAP_NV 0x8511
3704 #define GL_REFLECTION_MAP_NV 0x8512
3705 #endif
3706 
3707 #ifndef GL_EXT_texture_cube_map
3708 #define GL_NORMAL_MAP_EXT 0x8511
3709 #define GL_REFLECTION_MAP_EXT 0x8512
3710 #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
3711 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
3712 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
3713 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
3714 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
3715 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
3716 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
3717 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
3718 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
3719 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
3720 #endif
3721 
3722 #ifndef GL_SUN_convolution_border_modes
3723 #define GL_WRAP_BORDER_SUN 0x81D4
3724 #endif
3725 
3726 #ifndef GL_EXT_texture_env_add
3727 #endif
3728 
3729 #ifndef GL_EXT_texture_lod_bias
3730 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
3731 #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
3732 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
3733 #endif
3734 
3735 #ifndef GL_EXT_texture_filter_anisotropic
3736 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
3737 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
3738 #endif
3739 
3740 #ifndef GL_EXT_vertex_weighting
3741 #define GL_MODELVIEW0_STACK_DEPTH_EXT GL_MODELVIEW_STACK_DEPTH
3742 #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
3743 #define GL_MODELVIEW0_MATRIX_EXT GL_MODELVIEW_MATRIX
3744 #define GL_MODELVIEW1_MATRIX_EXT 0x8506
3745 #define GL_VERTEX_WEIGHTING_EXT 0x8509
3746 #define GL_MODELVIEW0_EXT GL_MODELVIEW
3747 #define GL_MODELVIEW1_EXT 0x850A
3748 #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
3749 #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
3750 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
3751 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
3752 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
3753 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
3754 #endif
3755 
3756 #ifndef GL_NV_light_max_exponent
3757 #define GL_MAX_SHININESS_NV 0x8504
3758 #define GL_MAX_SPOT_EXPONENT_NV 0x8505
3759 #endif
3760 
3761 #ifndef GL_NV_vertex_array_range
3762 #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
3763 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
3764 #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
3765 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
3766 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
3767 #endif
3768 
3769 #ifndef GL_NV_register_combiners
3770 #define GL_REGISTER_COMBINERS_NV 0x8522
3771 #define GL_VARIABLE_A_NV 0x8523
3772 #define GL_VARIABLE_B_NV 0x8524
3773 #define GL_VARIABLE_C_NV 0x8525
3774 #define GL_VARIABLE_D_NV 0x8526
3775 #define GL_VARIABLE_E_NV 0x8527
3776 #define GL_VARIABLE_F_NV 0x8528
3777 #define GL_VARIABLE_G_NV 0x8529
3778 #define GL_CONSTANT_COLOR0_NV 0x852A
3779 #define GL_CONSTANT_COLOR1_NV 0x852B
3780 #define GL_PRIMARY_COLOR_NV 0x852C
3781 #define GL_SECONDARY_COLOR_NV 0x852D
3782 #define GL_SPARE0_NV 0x852E
3783 #define GL_SPARE1_NV 0x852F
3784 #define GL_DISCARD_NV 0x8530
3785 #define GL_E_TIMES_F_NV 0x8531
3786 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
3787 #define GL_UNSIGNED_IDENTITY_NV 0x8536
3788 #define GL_UNSIGNED_INVERT_NV 0x8537
3789 #define GL_EXPAND_NORMAL_NV 0x8538
3790 #define GL_EXPAND_NEGATE_NV 0x8539
3791 #define GL_HALF_BIAS_NORMAL_NV 0x853A
3792 #define GL_HALF_BIAS_NEGATE_NV 0x853B
3793 #define GL_SIGNED_IDENTITY_NV 0x853C
3794 #define GL_SIGNED_NEGATE_NV 0x853D
3795 #define GL_SCALE_BY_TWO_NV 0x853E
3796 #define GL_SCALE_BY_FOUR_NV 0x853F
3797 #define GL_SCALE_BY_ONE_HALF_NV 0x8540
3798 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
3799 #define GL_COMBINER_INPUT_NV 0x8542
3800 #define GL_COMBINER_MAPPING_NV 0x8543
3801 #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
3802 #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
3803 #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
3804 #define GL_COMBINER_MUX_SUM_NV 0x8547
3805 #define GL_COMBINER_SCALE_NV 0x8548
3806 #define GL_COMBINER_BIAS_NV 0x8549
3807 #define GL_COMBINER_AB_OUTPUT_NV 0x854A
3808 #define GL_COMBINER_CD_OUTPUT_NV 0x854B
3809 #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
3810 #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
3811 #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
3812 #define GL_COLOR_SUM_CLAMP_NV 0x854F
3813 #define GL_COMBINER0_NV 0x8550
3814 #define GL_COMBINER1_NV 0x8551
3815 #define GL_COMBINER2_NV 0x8552
3816 #define GL_COMBINER3_NV 0x8553
3817 #define GL_COMBINER4_NV 0x8554
3818 #define GL_COMBINER5_NV 0x8555
3819 #define GL_COMBINER6_NV 0x8556
3820 #define GL_COMBINER7_NV 0x8557
3821 /* reuse GL_TEXTURE0_ARB */
3822 /* reuse GL_TEXTURE1_ARB */
3823 /* reuse GL_ZERO */
3824 /* reuse GL_NONE */
3825 /* reuse GL_FOG */
3826 #endif
3827 
3828 #ifndef GL_NV_fog_distance
3829 #define GL_FOG_DISTANCE_MODE_NV 0x855A
3830 #define GL_EYE_RADIAL_NV 0x855B
3831 #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
3832 /* reuse GL_EYE_PLANE */
3833 #endif
3834 
3835 #ifndef GL_NV_texgen_emboss
3836 #define GL_EMBOSS_LIGHT_NV 0x855D
3837 #define GL_EMBOSS_CONSTANT_NV 0x855E
3838 #define GL_EMBOSS_MAP_NV 0x855F
3839 #endif
3840 
3841 #ifndef GL_NV_blend_square
3842 #endif
3843 
3844 #ifndef GL_NV_texture_env_combine4
3845 #define GL_COMBINE4_NV 0x8503
3846 #define GL_SOURCE3_RGB_NV 0x8583
3847 #define GL_SOURCE3_ALPHA_NV 0x858B
3848 #define GL_OPERAND3_RGB_NV 0x8593
3849 #define GL_OPERAND3_ALPHA_NV 0x859B
3850 #endif
3851 
3852 #ifndef GL_MESA_resize_buffers
3853 #endif
3854 
3855 #ifndef GL_MESA_window_pos
3856 #endif
3857 
3858 #ifndef GL_EXT_texture_compression_s3tc
3859 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
3860 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
3861 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
3862 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
3863 #endif
3864 
3865 #ifndef GL_IBM_cull_vertex
3866 #define GL_CULL_VERTEX_IBM 103050
3867 #endif
3868 
3869 #ifndef GL_IBM_multimode_draw_arrays
3870 #endif
3871 
3872 #ifndef GL_IBM_vertex_array_lists
3873 #define GL_VERTEX_ARRAY_LIST_IBM 103070
3874 #define GL_NORMAL_ARRAY_LIST_IBM 103071
3875 #define GL_COLOR_ARRAY_LIST_IBM 103072
3876 #define GL_INDEX_ARRAY_LIST_IBM 103073
3877 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
3878 #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
3879 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
3880 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
3881 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
3882 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
3883 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
3884 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
3885 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
3886 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
3887 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
3888 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
3889 #endif
3890 
3891 #ifndef GL_SGIX_subsample
3892 #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
3893 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
3894 #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
3895 #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
3896 #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
3897 #endif
3898 
3899 #ifndef GL_SGIX_ycrcb_subsample
3900 #endif
3901 
3902 #ifndef GL_SGIX_ycrcba
3903 #define GL_YCRCB_SGIX 0x8318
3904 #define GL_YCRCBA_SGIX 0x8319
3905 #endif
3906 
3907 #ifndef GL_SGI_depth_pass_instrument
3908 #define GL_DEPTH_PASS_INSTRUMENT_SGIX 0x8310
3909 #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
3910 #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
3911 #endif
3912 
3913 #ifndef GL_3DFX_texture_compression_FXT1
3914 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
3915 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
3916 #endif
3917 
3918 #ifndef GL_3DFX_multisample
3919 #define GL_MULTISAMPLE_3DFX 0x86B2
3920 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
3921 #define GL_SAMPLES_3DFX 0x86B4
3922 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
3923 #endif
3924 
3925 #ifndef GL_3DFX_tbuffer
3926 #endif
3927 
3928 #ifndef GL_EXT_multisample
3929 #define GL_MULTISAMPLE_EXT 0x809D
3930 #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
3931 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
3932 #define GL_SAMPLE_MASK_EXT 0x80A0
3933 #define GL_1PASS_EXT 0x80A1
3934 #define GL_2PASS_0_EXT 0x80A2
3935 #define GL_2PASS_1_EXT 0x80A3
3936 #define GL_4PASS_0_EXT 0x80A4
3937 #define GL_4PASS_1_EXT 0x80A5
3938 #define GL_4PASS_2_EXT 0x80A6
3939 #define GL_4PASS_3_EXT 0x80A7
3940 #define GL_SAMPLE_BUFFERS_EXT 0x80A8
3941 #define GL_SAMPLES_EXT 0x80A9
3942 #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
3943 #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
3944 #define GL_SAMPLE_PATTERN_EXT 0x80AC
3945 #define GL_MULTISAMPLE_BIT_EXT 0x20000000
3946 #endif
3947 
3948 #ifndef GL_SGIX_vertex_preclip
3949 #define GL_VERTEX_PRECLIP_SGIX 0x83EE
3950 #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
3951 #endif
3952 
3953 #ifndef GL_SGIX_convolution_accuracy
3954 #define GL_CONVOLUTION_HINT_SGIX 0x8316
3955 #endif
3956 
3957 #ifndef GL_SGIX_resample
3958 #define GL_PACK_RESAMPLE_SGIX 0x842C
3959 #define GL_UNPACK_RESAMPLE_SGIX 0x842D
3960 #define GL_RESAMPLE_REPLICATE_SGIX 0x842E
3961 #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
3962 #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
3963 #endif
3964 
3965 #ifndef GL_SGIS_point_line_texgen
3966 #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
3967 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
3968 #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
3969 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
3970 #define GL_EYE_POINT_SGIS 0x81F4
3971 #define GL_OBJECT_POINT_SGIS 0x81F5
3972 #define GL_EYE_LINE_SGIS 0x81F6
3973 #define GL_OBJECT_LINE_SGIS 0x81F7
3974 #endif
3975 
3976 #ifndef GL_SGIS_texture_color_mask
3977 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
3978 #endif
3979 
3980 #ifndef GL_EXT_texture_env_dot3
3981 #define GL_DOT3_RGB_EXT 0x8740
3982 #define GL_DOT3_RGBA_EXT 0x8741
3983 #endif
3984 
3985 #ifndef GL_ATI_texture_mirror_once
3986 #define GL_MIRROR_CLAMP_ATI 0x8742
3987 #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
3988 #endif
3989 
3990 #ifndef GL_NV_fence
3991 #define GL_ALL_COMPLETED_NV 0x84F2
3992 #define GL_FENCE_STATUS_NV 0x84F3
3993 #define GL_FENCE_CONDITION_NV 0x84F4
3994 #endif
3995 
3996 #ifndef GL_IBM_texture_mirrored_repeat
3997 #define GL_MIRRORED_REPEAT_IBM 0x8370
3998 #endif
3999 
4000 #ifndef GL_NV_evaluators
4001 #define GL_EVAL_2D_NV 0x86C0
4002 #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
4003 #define GL_MAP_TESSELLATION_NV 0x86C2
4004 #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
4005 #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
4006 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
4007 #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
4008 #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
4009 #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
4010 #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
4011 #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
4012 #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
4013 #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
4014 #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
4015 #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
4016 #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
4017 #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
4018 #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
4019 #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
4020 #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
4021 #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
4022 #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
4023 #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
4024 #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
4025 #endif
4026 
4027 #ifndef GL_NV_packed_depth_stencil
4028 #define GL_DEPTH_STENCIL_NV 0x84F9
4029 #define GL_UNSIGNED_INT_24_8_NV 0x84FA
4030 #endif
4031 
4032 #ifndef GL_NV_register_combiners2
4033 #define GL_PER_STAGE_CONSTANTS_NV 0x8535
4034 #endif
4035 
4036 #ifndef GL_NV_texture_compression_vtc
4037 #endif
4038 
4039 #ifndef GL_NV_texture_rectangle
4040 #define GL_TEXTURE_RECTANGLE_NV 0x84F5
4041 #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
4042 #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
4043 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
4044 #endif
4045 
4046 #ifndef GL_NV_texture_shader
4047 #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
4048 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
4049 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
4050 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
4051 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
4052 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
4053 #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
4054 #define GL_SHADER_CONSISTENT_NV 0x86DD
4055 #define GL_TEXTURE_SHADER_NV 0x86DE
4056 #define GL_SHADER_OPERATION_NV 0x86DF
4057 #define GL_CULL_MODES_NV 0x86E0
4058 #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
4059 #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
4060 #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
4061 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV GL_OFFSET_TEXTURE_MATRIX_NV
4062 #define GL_OFFSET_TEXTURE_2D_SCALE_NV GL_OFFSET_TEXTURE_SCALE_NV
4063 #define GL_OFFSET_TEXTURE_2D_BIAS_NV GL_OFFSET_TEXTURE_BIAS_NV
4064 #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
4065 #define GL_CONST_EYE_NV 0x86E5
4066 #define GL_PASS_THROUGH_NV 0x86E6
4067 #define GL_CULL_FRAGMENT_NV 0x86E7
4068 #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
4069 #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
4070 #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
4071 #define GL_DOT_PRODUCT_NV 0x86EC
4072 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
4073 #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
4074 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
4075 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
4076 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
4077 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
4078 #define GL_HILO_NV 0x86F4
4079 #define GL_DSDT_NV 0x86F5
4080 #define GL_DSDT_MAG_NV 0x86F6
4081 #define GL_DSDT_MAG_VIB_NV 0x86F7
4082 #define GL_HILO16_NV 0x86F8
4083 #define GL_SIGNED_HILO_NV 0x86F9
4084 #define GL_SIGNED_HILO16_NV 0x86FA
4085 #define GL_SIGNED_RGBA_NV 0x86FB
4086 #define GL_SIGNED_RGBA8_NV 0x86FC
4087 #define GL_SIGNED_RGB_NV 0x86FE
4088 #define GL_SIGNED_RGB8_NV 0x86FF
4089 #define GL_SIGNED_LUMINANCE_NV 0x8701
4090 #define GL_SIGNED_LUMINANCE8_NV 0x8702
4091 #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
4092 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
4093 #define GL_SIGNED_ALPHA_NV 0x8705
4094 #define GL_SIGNED_ALPHA8_NV 0x8706
4095 #define GL_SIGNED_INTENSITY_NV 0x8707
4096 #define GL_SIGNED_INTENSITY8_NV 0x8708
4097 #define GL_DSDT8_NV 0x8709
4098 #define GL_DSDT8_MAG8_NV 0x870A
4099 #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
4100 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
4101 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
4102 #define GL_HI_SCALE_NV 0x870E
4103 #define GL_LO_SCALE_NV 0x870F
4104 #define GL_DS_SCALE_NV 0x8710
4105 #define GL_DT_SCALE_NV 0x8711
4106 #define GL_MAGNITUDE_SCALE_NV 0x8712
4107 #define GL_VIBRANCE_SCALE_NV 0x8713
4108 #define GL_HI_BIAS_NV 0x8714
4109 #define GL_LO_BIAS_NV 0x8715
4110 #define GL_DS_BIAS_NV 0x8716
4111 #define GL_DT_BIAS_NV 0x8717
4112 #define GL_MAGNITUDE_BIAS_NV 0x8718
4113 #define GL_VIBRANCE_BIAS_NV 0x8719
4114 #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
4115 #define GL_TEXTURE_HI_SIZE_NV 0x871B
4116 #define GL_TEXTURE_LO_SIZE_NV 0x871C
4117 #define GL_TEXTURE_DS_SIZE_NV 0x871D
4118 #define GL_TEXTURE_DT_SIZE_NV 0x871E
4119 #define GL_TEXTURE_MAG_SIZE_NV 0x871F
4120 #endif
4121 
4122 #ifndef GL_NV_texture_shader2
4123 #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
4124 #endif
4125 
4126 #ifndef GL_NV_vertex_array_range2
4127 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
4128 #endif
4129 
4130 #ifndef GL_NV_vertex_program
4131 #define GL_VERTEX_PROGRAM_NV 0x8620
4132 #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
4133 #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
4134 #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
4135 #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
4136 #define GL_CURRENT_ATTRIB_NV 0x8626
4137 #define GL_PROGRAM_LENGTH_NV 0x8627
4138 #define GL_PROGRAM_STRING_NV 0x8628
4139 #define GL_MODELVIEW_PROJECTION_NV 0x8629
4140 #define GL_IDENTITY_NV 0x862A
4141 #define GL_INVERSE_NV 0x862B
4142 #define GL_TRANSPOSE_NV 0x862C
4143 #define GL_INVERSE_TRANSPOSE_NV 0x862D
4144 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
4145 #define GL_MAX_TRACK_MATRICES_NV 0x862F
4146 #define GL_MATRIX0_NV 0x8630
4147 #define GL_MATRIX1_NV 0x8631
4148 #define GL_MATRIX2_NV 0x8632
4149 #define GL_MATRIX3_NV 0x8633
4150 #define GL_MATRIX4_NV 0x8634
4151 #define GL_MATRIX5_NV 0x8635
4152 #define GL_MATRIX6_NV 0x8636
4153 #define GL_MATRIX7_NV 0x8637
4154 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
4155 #define GL_CURRENT_MATRIX_NV 0x8641
4156 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
4157 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
4158 #define GL_PROGRAM_PARAMETER_NV 0x8644
4159 #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
4160 #define GL_PROGRAM_TARGET_NV 0x8646
4161 #define GL_PROGRAM_RESIDENT_NV 0x8647
4162 #define GL_TRACK_MATRIX_NV 0x8648
4163 #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
4164 #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
4165 #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
4166 #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
4167 #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
4168 #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
4169 #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
4170 #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
4171 #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
4172 #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
4173 #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
4174 #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
4175 #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
4176 #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
4177 #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
4178 #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
4179 #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
4180 #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
4181 #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
4182 #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
4183 #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
4184 #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
4185 #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
4186 #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
4187 #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
4188 #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
4189 #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
4190 #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
4191 #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
4192 #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
4193 #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
4194 #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
4195 #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
4196 #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
4197 #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
4198 #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
4199 #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
4200 #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
4201 #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
4202 #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
4203 #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
4204 #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
4205 #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
4206 #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
4207 #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
4208 #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
4209 #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
4210 #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
4211 #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
4212 #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
4213 #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
4214 #endif
4215 
4216 #ifndef GL_SGIX_texture_coordinate_clamp
4217 #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
4218 #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
4219 #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
4220 #endif
4221 
4222 #ifndef GL_SGIX_scalebias_hint
4223 #define GL_SCALEBIAS_HINT_SGIX 0x8322
4224 #endif
4225 
4226 #ifndef GL_OML_interlace
4227 #define GL_INTERLACE_OML 0x8980
4228 #define GL_INTERLACE_READ_OML 0x8981
4229 #endif
4230 
4231 #ifndef GL_OML_subsample
4232 #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
4233 #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
4234 #endif
4235 
4236 #ifndef GL_OML_resample
4237 #define GL_PACK_RESAMPLE_OML 0x8984
4238 #define GL_UNPACK_RESAMPLE_OML 0x8985
4239 #define GL_RESAMPLE_REPLICATE_OML 0x8986
4240 #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
4241 #define GL_RESAMPLE_AVERAGE_OML 0x8988
4242 #define GL_RESAMPLE_DECIMATE_OML 0x8989
4243 #endif
4244 
4245 #ifndef GL_NV_copy_depth_to_color
4246 #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
4247 #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
4248 #endif
4249 
4250 #ifndef GL_ATI_envmap_bumpmap
4251 #define GL_BUMP_ROT_MATRIX_ATI 0x8775
4252 #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
4253 #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
4254 #define GL_BUMP_TEX_UNITS_ATI 0x8778
4255 #define GL_DUDV_ATI 0x8779
4256 #define GL_DU8DV8_ATI 0x877A
4257 #define GL_BUMP_ENVMAP_ATI 0x877B
4258 #define GL_BUMP_TARGET_ATI 0x877C
4259 #endif
4260 
4261 #ifndef GL_ATI_fragment_shader
4262 #define GL_FRAGMENT_SHADER_ATI 0x8920
4263 #define GL_REG_0_ATI 0x8921
4264 #define GL_REG_1_ATI 0x8922
4265 #define GL_REG_2_ATI 0x8923
4266 #define GL_REG_3_ATI 0x8924
4267 #define GL_REG_4_ATI 0x8925
4268 #define GL_REG_5_ATI 0x8926
4269 #define GL_REG_6_ATI 0x8927
4270 #define GL_REG_7_ATI 0x8928
4271 #define GL_REG_8_ATI 0x8929
4272 #define GL_REG_9_ATI 0x892A
4273 #define GL_REG_10_ATI 0x892B
4274 #define GL_REG_11_ATI 0x892C
4275 #define GL_REG_12_ATI 0x892D
4276 #define GL_REG_13_ATI 0x892E
4277 #define GL_REG_14_ATI 0x892F
4278 #define GL_REG_15_ATI 0x8930
4279 #define GL_REG_16_ATI 0x8931
4280 #define GL_REG_17_ATI 0x8932
4281 #define GL_REG_18_ATI 0x8933
4282 #define GL_REG_19_ATI 0x8934
4283 #define GL_REG_20_ATI 0x8935
4284 #define GL_REG_21_ATI 0x8936
4285 #define GL_REG_22_ATI 0x8937
4286 #define GL_REG_23_ATI 0x8938
4287 #define GL_REG_24_ATI 0x8939
4288 #define GL_REG_25_ATI 0x893A
4289 #define GL_REG_26_ATI 0x893B
4290 #define GL_REG_27_ATI 0x893C
4291 #define GL_REG_28_ATI 0x893D
4292 #define GL_REG_29_ATI 0x893E
4293 #define GL_REG_30_ATI 0x893F
4294 #define GL_REG_31_ATI 0x8940
4295 #define GL_CON_0_ATI 0x8941
4296 #define GL_CON_1_ATI 0x8942
4297 #define GL_CON_2_ATI 0x8943
4298 #define GL_CON_3_ATI 0x8944
4299 #define GL_CON_4_ATI 0x8945
4300 #define GL_CON_5_ATI 0x8946
4301 #define GL_CON_6_ATI 0x8947
4302 #define GL_CON_7_ATI 0x8948
4303 #define GL_CON_8_ATI 0x8949
4304 #define GL_CON_9_ATI 0x894A
4305 #define GL_CON_10_ATI 0x894B
4306 #define GL_CON_11_ATI 0x894C
4307 #define GL_CON_12_ATI 0x894D
4308 #define GL_CON_13_ATI 0x894E
4309 #define GL_CON_14_ATI 0x894F
4310 #define GL_CON_15_ATI 0x8950
4311 #define GL_CON_16_ATI 0x8951
4312 #define GL_CON_17_ATI 0x8952
4313 #define GL_CON_18_ATI 0x8953
4314 #define GL_CON_19_ATI 0x8954
4315 #define GL_CON_20_ATI 0x8955
4316 #define GL_CON_21_ATI 0x8956
4317 #define GL_CON_22_ATI 0x8957
4318 #define GL_CON_23_ATI 0x8958
4319 #define GL_CON_24_ATI 0x8959
4320 #define GL_CON_25_ATI 0x895A
4321 #define GL_CON_26_ATI 0x895B
4322 #define GL_CON_27_ATI 0x895C
4323 #define GL_CON_28_ATI 0x895D
4324 #define GL_CON_29_ATI 0x895E
4325 #define GL_CON_30_ATI 0x895F
4326 #define GL_CON_31_ATI 0x8960
4327 #define GL_MOV_ATI 0x8961
4328 #define GL_ADD_ATI 0x8963
4329 #define GL_MUL_ATI 0x8964
4330 #define GL_SUB_ATI 0x8965
4331 #define GL_DOT3_ATI 0x8966
4332 #define GL_DOT4_ATI 0x8967
4333 #define GL_MAD_ATI 0x8968
4334 #define GL_LERP_ATI 0x8969
4335 #define GL_CND_ATI 0x896A
4336 #define GL_CND0_ATI 0x896B
4337 #define GL_DOT2_ADD_ATI 0x896C
4338 #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
4339 #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
4340 #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
4341 #define GL_NUM_PASSES_ATI 0x8970
4342 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
4343 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
4344 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
4345 #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
4346 #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
4347 #define GL_SWIZZLE_STR_ATI 0x8976
4348 #define GL_SWIZZLE_STQ_ATI 0x8977
4349 #define GL_SWIZZLE_STR_DR_ATI 0x8978
4350 #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
4351 #define GL_SWIZZLE_STRQ_ATI 0x897A
4352 #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
4353 #define GL_RED_BIT_ATI 0x00000001
4354 #define GL_GREEN_BIT_ATI 0x00000002
4355 #define GL_BLUE_BIT_ATI 0x00000004
4356 #define GL_2X_BIT_ATI 0x00000001
4357 #define GL_4X_BIT_ATI 0x00000002
4358 #define GL_8X_BIT_ATI 0x00000004
4359 #define GL_HALF_BIT_ATI 0x00000008
4360 #define GL_QUARTER_BIT_ATI 0x00000010
4361 #define GL_EIGHTH_BIT_ATI 0x00000020
4362 #define GL_SATURATE_BIT_ATI 0x00000040
4363 #define GL_COMP_BIT_ATI 0x00000002
4364 #define GL_NEGATE_BIT_ATI 0x00000004
4365 #define GL_BIAS_BIT_ATI 0x00000008
4366 #endif
4367 
4368 #ifndef GL_ATI_pn_triangles
4369 #define GL_PN_TRIANGLES_ATI 0x87F0
4370 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
4371 #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
4372 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
4373 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
4374 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
4375 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
4376 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
4377 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
4378 #endif
4379 
4380 #ifndef GL_ATI_vertex_array_object
4381 #define GL_STATIC_ATI 0x8760
4382 #define GL_DYNAMIC_ATI 0x8761
4383 #define GL_PRESERVE_ATI 0x8762
4384 #define GL_DISCARD_ATI 0x8763
4385 #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
4386 #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
4387 #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
4388 #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
4389 #endif
4390 
4391 #ifndef GL_EXT_vertex_shader
4392 #define GL_VERTEX_SHADER_EXT 0x8780
4393 #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
4394 #define GL_OP_INDEX_EXT 0x8782
4395 #define GL_OP_NEGATE_EXT 0x8783
4396 #define GL_OP_DOT3_EXT 0x8784
4397 #define GL_OP_DOT4_EXT 0x8785
4398 #define GL_OP_MUL_EXT 0x8786
4399 #define GL_OP_ADD_EXT 0x8787
4400 #define GL_OP_MADD_EXT 0x8788
4401 #define GL_OP_FRAC_EXT 0x8789
4402 #define GL_OP_MAX_EXT 0x878A
4403 #define GL_OP_MIN_EXT 0x878B
4404 #define GL_OP_SET_GE_EXT 0x878C
4405 #define GL_OP_SET_LT_EXT 0x878D
4406 #define GL_OP_CLAMP_EXT 0x878E
4407 #define GL_OP_FLOOR_EXT 0x878F
4408 #define GL_OP_ROUND_EXT 0x8790
4409 #define GL_OP_EXP_BASE_2_EXT 0x8791
4410 #define GL_OP_LOG_BASE_2_EXT 0x8792
4411 #define GL_OP_POWER_EXT 0x8793
4412 #define GL_OP_RECIP_EXT 0x8794
4413 #define GL_OP_RECIP_SQRT_EXT 0x8795
4414 #define GL_OP_SUB_EXT 0x8796
4415 #define GL_OP_CROSS_PRODUCT_EXT 0x8797
4416 #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
4417 #define GL_OP_MOV_EXT 0x8799
4418 #define GL_OUTPUT_VERTEX_EXT 0x879A
4419 #define GL_OUTPUT_COLOR0_EXT 0x879B
4420 #define GL_OUTPUT_COLOR1_EXT 0x879C
4421 #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
4422 #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
4423 #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
4424 #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
4425 #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
4426 #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
4427 #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
4428 #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
4429 #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
4430 #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
4431 #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
4432 #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
4433 #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
4434 #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
4435 #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
4436 #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
4437 #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
4438 #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
4439 #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
4440 #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
4441 #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
4442 #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
4443 #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
4444 #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
4445 #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
4446 #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
4447 #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
4448 #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
4449 #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
4450 #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
4451 #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
4452 #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
4453 #define GL_OUTPUT_FOG_EXT 0x87BD
4454 #define GL_SCALAR_EXT 0x87BE
4455 #define GL_VECTOR_EXT 0x87BF
4456 #define GL_MATRIX_EXT 0x87C0
4457 #define GL_VARIANT_EXT 0x87C1
4458 #define GL_INVARIANT_EXT 0x87C2
4459 #define GL_LOCAL_CONSTANT_EXT 0x87C3
4460 #define GL_LOCAL_EXT 0x87C4
4461 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
4462 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
4463 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
4464 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
4465 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
4466 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
4467 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
4468 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
4469 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
4470 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
4471 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
4472 #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
4473 #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
4474 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
4475 #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
4476 #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
4477 #define GL_X_EXT 0x87D5
4478 #define GL_Y_EXT 0x87D6
4479 #define GL_Z_EXT 0x87D7
4480 #define GL_W_EXT 0x87D8
4481 #define GL_NEGATIVE_X_EXT 0x87D9
4482 #define GL_NEGATIVE_Y_EXT 0x87DA
4483 #define GL_NEGATIVE_Z_EXT 0x87DB
4484 #define GL_NEGATIVE_W_EXT 0x87DC
4485 #define GL_ZERO_EXT 0x87DD
4486 #define GL_ONE_EXT 0x87DE
4487 #define GL_NEGATIVE_ONE_EXT 0x87DF
4488 #define GL_NORMALIZED_RANGE_EXT 0x87E0
4489 #define GL_FULL_RANGE_EXT 0x87E1
4490 #define GL_CURRENT_VERTEX_EXT 0x87E2
4491 #define GL_MVP_MATRIX_EXT 0x87E3
4492 #define GL_VARIANT_VALUE_EXT 0x87E4
4493 #define GL_VARIANT_DATATYPE_EXT 0x87E5
4494 #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
4495 #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
4496 #define GL_VARIANT_ARRAY_EXT 0x87E8
4497 #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
4498 #define GL_INVARIANT_VALUE_EXT 0x87EA
4499 #define GL_INVARIANT_DATATYPE_EXT 0x87EB
4500 #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
4501 #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
4502 #endif
4503 
4504 #ifndef GL_ATI_vertex_streams
4505 #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
4506 #define GL_VERTEX_STREAM0_ATI 0x876C
4507 #define GL_VERTEX_STREAM1_ATI 0x876D
4508 #define GL_VERTEX_STREAM2_ATI 0x876E
4509 #define GL_VERTEX_STREAM3_ATI 0x876F
4510 #define GL_VERTEX_STREAM4_ATI 0x8770
4511 #define GL_VERTEX_STREAM5_ATI 0x8771
4512 #define GL_VERTEX_STREAM6_ATI 0x8772
4513 #define GL_VERTEX_STREAM7_ATI 0x8773
4514 #define GL_VERTEX_SOURCE_ATI 0x8774
4515 #endif
4516 
4517 #ifndef GL_ATI_element_array
4518 #define GL_ELEMENT_ARRAY_ATI 0x8768
4519 #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
4520 #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
4521 #endif
4522 
4523 #ifndef GL_SUN_mesh_array
4524 #define GL_QUAD_MESH_SUN 0x8614
4525 #define GL_TRIANGLE_MESH_SUN 0x8615
4526 #endif
4527 
4528 #ifndef GL_SUN_slice_accum
4529 #define GL_SLICE_ACCUM_SUN 0x85CC
4530 #endif
4531 
4532 #ifndef GL_NV_multisample_filter_hint
4533 #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
4534 #endif
4535 
4536 #ifndef GL_NV_depth_clamp
4537 #define GL_DEPTH_CLAMP_NV 0x864F
4538 #endif
4539 
4540 #ifndef GL_NV_occlusion_query
4541 #define GL_PIXEL_COUNTER_BITS_NV 0x8864
4542 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
4543 #define GL_PIXEL_COUNT_NV 0x8866
4544 #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
4545 #endif
4546 
4547 #ifndef GL_NV_point_sprite
4548 #define GL_POINT_SPRITE_NV 0x8861
4549 #define GL_COORD_REPLACE_NV 0x8862
4550 #define GL_POINT_SPRITE_R_MODE_NV 0x8863
4551 #endif
4552 
4553 #ifndef GL_NV_texture_shader3
4554 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
4555 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
4556 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
4557 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
4558 #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
4559 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
4560 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
4561 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
4562 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
4563 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
4564 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
4565 #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
4566 #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
4567 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
4568 #define GL_HILO8_NV 0x885E
4569 #define GL_SIGNED_HILO8_NV 0x885F
4570 #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
4571 #endif
4572 
4573 #ifndef GL_NV_vertex_program1_1
4574 #endif
4575 
4576 #ifndef GL_EXT_shadow_funcs
4577 #endif
4578 
4579 #ifndef GL_EXT_stencil_two_side
4580 #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
4581 #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
4582 #endif
4583 
4584 #ifndef GL_ATI_text_fragment_shader
4585 #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
4586 #endif
4587 
4588 #ifndef GL_APPLE_client_storage
4589 #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
4590 #endif
4591 
4592 #ifndef GL_APPLE_element_array
4593 #define GL_ELEMENT_ARRAY_APPLE 0x8A0C
4594 #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
4595 #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
4596 #endif
4597 
4598 #ifndef GL_APPLE_fence
4599 #define GL_DRAW_PIXELS_APPLE 0x8A0A
4600 #define GL_FENCE_APPLE 0x8A0B
4601 #endif
4602 
4603 #ifndef GL_APPLE_vertex_array_object
4604 #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
4605 #endif
4606 
4607 #ifndef GL_APPLE_vertex_array_range
4608 #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
4609 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
4610 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
4611 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
4612 #define GL_STORAGE_CLIENT_APPLE 0x85B4
4613 #define GL_STORAGE_CACHED_APPLE 0x85BE
4614 #define GL_STORAGE_SHARED_APPLE 0x85BF
4615 #endif
4616 
4617 #ifndef GL_APPLE_ycbcr_422
4618 #define GL_YCBCR_422_APPLE 0x85B9
4619 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
4620 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
4621 #endif
4622 
4623 #ifndef GL_S3_s3tc
4624 #define GL_RGB_S3TC 0x83A0
4625 #define GL_RGB4_S3TC 0x83A1
4626 #define GL_RGBA_S3TC 0x83A2
4627 #define GL_RGBA4_S3TC 0x83A3
4628 #endif
4629 
4630 #ifndef GL_ATI_draw_buffers
4631 #define GL_MAX_DRAW_BUFFERS_ATI 0x8824
4632 #define GL_DRAW_BUFFER0_ATI 0x8825
4633 #define GL_DRAW_BUFFER1_ATI 0x8826
4634 #define GL_DRAW_BUFFER2_ATI 0x8827
4635 #define GL_DRAW_BUFFER3_ATI 0x8828
4636 #define GL_DRAW_BUFFER4_ATI 0x8829
4637 #define GL_DRAW_BUFFER5_ATI 0x882A
4638 #define GL_DRAW_BUFFER6_ATI 0x882B
4639 #define GL_DRAW_BUFFER7_ATI 0x882C
4640 #define GL_DRAW_BUFFER8_ATI 0x882D
4641 #define GL_DRAW_BUFFER9_ATI 0x882E
4642 #define GL_DRAW_BUFFER10_ATI 0x882F
4643 #define GL_DRAW_BUFFER11_ATI 0x8830
4644 #define GL_DRAW_BUFFER12_ATI 0x8831
4645 #define GL_DRAW_BUFFER13_ATI 0x8832
4646 #define GL_DRAW_BUFFER14_ATI 0x8833
4647 #define GL_DRAW_BUFFER15_ATI 0x8834
4648 #endif
4649 
4650 #ifndef GL_ATI_pixel_format_float
4651 #define GL_TYPE_RGBA_FLOAT_ATI 0x8820
4652 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
4653 #endif
4654 
4655 #ifndef GL_ATI_texture_env_combine3
4656 #define GL_MODULATE_ADD_ATI 0x8744
4657 #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
4658 #define GL_MODULATE_SUBTRACT_ATI 0x8746
4659 #endif
4660 
4661 #ifndef GL_ATI_texture_float
4662 #define GL_RGBA_FLOAT32_ATI 0x8814
4663 #define GL_RGB_FLOAT32_ATI 0x8815
4664 #define GL_ALPHA_FLOAT32_ATI 0x8816
4665 #define GL_INTENSITY_FLOAT32_ATI 0x8817
4666 #define GL_LUMINANCE_FLOAT32_ATI 0x8818
4667 #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
4668 #define GL_RGBA_FLOAT16_ATI 0x881A
4669 #define GL_RGB_FLOAT16_ATI 0x881B
4670 #define GL_ALPHA_FLOAT16_ATI 0x881C
4671 #define GL_INTENSITY_FLOAT16_ATI 0x881D
4672 #define GL_LUMINANCE_FLOAT16_ATI 0x881E
4673 #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
4674 #endif
4675 
4676 #ifndef GL_NV_float_buffer
4677 #define GL_FLOAT_R_NV 0x8880
4678 #define GL_FLOAT_RG_NV 0x8881
4679 #define GL_FLOAT_RGB_NV 0x8882
4680 #define GL_FLOAT_RGBA_NV 0x8883
4681 #define GL_FLOAT_R16_NV 0x8884
4682 #define GL_FLOAT_R32_NV 0x8885
4683 #define GL_FLOAT_RG16_NV 0x8886
4684 #define GL_FLOAT_RG32_NV 0x8887
4685 #define GL_FLOAT_RGB16_NV 0x8888
4686 #define GL_FLOAT_RGB32_NV 0x8889
4687 #define GL_FLOAT_RGBA16_NV 0x888A
4688 #define GL_FLOAT_RGBA32_NV 0x888B
4689 #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
4690 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
4691 #define GL_FLOAT_RGBA_MODE_NV 0x888E
4692 #endif
4693 
4694 #ifndef GL_NV_fragment_program
4695 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
4696 #define GL_FRAGMENT_PROGRAM_NV 0x8870
4697 #define GL_MAX_TEXTURE_COORDS_NV 0x8871
4698 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
4699 #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
4700 #define GL_PROGRAM_ERROR_STRING_NV 0x8874
4701 #endif
4702 
4703 #ifndef GL_NV_half_float
4704 #define GL_HALF_FLOAT_NV 0x140B
4705 #endif
4706 
4707 #ifndef GL_NV_pixel_data_range
4708 #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
4709 #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879
4710 #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
4711 #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
4712 #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
4713 #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
4714 #endif
4715 
4716 #ifndef GL_NV_primitive_restart
4717 #define GL_PRIMITIVE_RESTART_NV 0x8558
4718 #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
4719 #endif
4720 
4721 #ifndef GL_NV_texture_expand_normal
4722 #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
4723 #endif
4724 
4725 #ifndef GL_NV_vertex_program2
4726 #endif
4727 
4728 #ifndef GL_ATI_map_object_buffer
4729 #endif
4730 
4731 #ifndef GL_ATI_separate_stencil
4732 #define GL_STENCIL_BACK_FUNC_ATI 0x8800
4733 #define GL_STENCIL_BACK_FAIL_ATI 0x8801
4734 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
4735 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
4736 #endif
4737 
4738 #ifndef GL_ATI_vertex_attrib_array_object
4739 #endif
4740 
4741 #ifndef GL_OES_read_format
4742 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
4743 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
4744 #endif
4745 
4746 #ifndef GL_EXT_depth_bounds_test
4747 #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
4748 #define GL_DEPTH_BOUNDS_EXT 0x8891
4749 #endif
4750 
4751 #ifndef GL_EXT_texture_mirror_clamp
4752 #define GL_MIRROR_CLAMP_EXT 0x8742
4753 #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
4754 #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
4755 #endif
4756 
4757 #ifndef GL_EXT_blend_equation_separate
4758 #define GL_BLEND_EQUATION_RGB_EXT 0x8009
4759 #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
4760 #endif
4761 
4762 #ifndef GL_MESA_pack_invert
4763 #define GL_PACK_INVERT_MESA 0x8758
4764 #endif
4765 
4766 #ifndef GL_MESA_ycbcr_texture
4767 #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
4768 #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
4769 #define GL_YCBCR_MESA 0x8757
4770 #endif
4771 
4772 #ifndef GL_EXT_pixel_buffer_object
4773 #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
4774 #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
4775 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
4776 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
4777 #endif
4778 
4779 #ifndef GL_NV_fragment_program_option
4780 #endif
4781 
4782 #ifndef GL_NV_fragment_program2
4783 #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
4784 #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
4785 #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
4786 #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
4787 #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
4788 #endif
4789 
4790 #ifndef GL_NV_vertex_program2_option
4791 /* reuse GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */
4792 /* reuse GL_MAX_PROGRAM_CALL_DEPTH_NV */
4793 #endif
4794 
4795 #ifndef GL_NV_vertex_program3
4796 /* reuse GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */
4797 #endif
4798 
4799 #ifndef GL_EXT_framebuffer_object
4800 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
4801 #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
4802 #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
4803 #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
4804 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
4805 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
4806 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
4807 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
4808 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
4809 #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
4810 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
4811 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
4812 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
4813 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
4814 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
4815 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
4816 #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
4817 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
4818 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
4819 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
4820 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
4821 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
4822 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
4823 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
4824 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
4825 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
4826 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
4827 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
4828 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
4829 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
4830 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
4831 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
4832 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
4833 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
4834 #define GL_DEPTH_ATTACHMENT_EXT 0x8D00
4835 #define GL_STENCIL_ATTACHMENT_EXT 0x8D20
4836 #define GL_FRAMEBUFFER_EXT 0x8D40
4837 #define GL_RENDERBUFFER_EXT 0x8D41
4838 #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
4839 #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
4840 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
4841 #define GL_STENCIL_INDEX1_EXT 0x8D46
4842 #define GL_STENCIL_INDEX4_EXT 0x8D47
4843 #define GL_STENCIL_INDEX8_EXT 0x8D48
4844 #define GL_STENCIL_INDEX16_EXT 0x8D49
4845 #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
4846 #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
4847 #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
4848 #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
4849 #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
4850 #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
4851 #endif
4852 
4853 #ifndef GL_GREMEDY_string_marker
4854 #endif
4855 
4856 #ifndef GL_EXT_packed_depth_stencil
4857 #define GL_DEPTH_STENCIL_EXT 0x84F9
4858 #define GL_UNSIGNED_INT_24_8_EXT 0x84FA
4859 #define GL_DEPTH24_STENCIL8_EXT 0x88F0
4860 #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
4861 #endif
4862 
4863 #ifndef GL_EXT_stencil_clear_tag
4864 #define GL_STENCIL_TAG_BITS_EXT 0x88F2
4865 #define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
4866 #endif
4867 
4868 #ifndef GL_EXT_texture_sRGB
4869 #define GL_SRGB_EXT 0x8C40
4870 #define GL_SRGB8_EXT 0x8C41
4871 #define GL_SRGB_ALPHA_EXT 0x8C42
4872 #define GL_SRGB8_ALPHA8_EXT 0x8C43
4873 #define GL_SLUMINANCE_ALPHA_EXT 0x8C44
4874 #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
4875 #define GL_SLUMINANCE_EXT 0x8C46
4876 #define GL_SLUMINANCE8_EXT 0x8C47
4877 #define GL_COMPRESSED_SRGB_EXT 0x8C48
4878 #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
4879 #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
4880 #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
4881 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
4882 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
4883 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
4884 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
4885 #endif
4886 
4887 #ifndef GL_EXT_framebuffer_blit
4888 #define GL_READ_FRAMEBUFFER_EXT 0x8CA8
4889 #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
4890 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT GL_FRAMEBUFFER_BINDING_EXT
4891 #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
4892 #endif
4893 
4894 #ifndef GL_EXT_framebuffer_multisample
4895 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
4896 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
4897 #define GL_MAX_SAMPLES_EXT 0x8D57
4898 #endif
4899 
4900 #ifndef GL_MESAX_texture_stack
4901 #define GL_TEXTURE_1D_STACK_MESAX 0x8759
4902 #define GL_TEXTURE_2D_STACK_MESAX 0x875A
4903 #define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B
4904 #define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C
4905 #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
4906 #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
4907 #endif
4908 
4909 #ifndef GL_EXT_timer_query
4910 #define GL_TIME_ELAPSED_EXT 0x88BF
4911 #endif
4912 
4913 #ifndef GL_EXT_gpu_program_parameters
4914 #endif
4915 
4916 #ifndef GL_APPLE_flush_buffer_range
4917 #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
4918 #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
4919 #endif
4920 
4921 #ifndef GL_NV_gpu_program4
4922 #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
4923 #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905
4924 #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906
4925 #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907
4926 #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
4927 #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
4928 #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
4929 #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
4930 #endif
4931 
4932 #ifndef GL_NV_geometry_program4
4933 #define GL_LINES_ADJACENCY_EXT 0x000A
4934 #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
4935 #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
4936 #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
4937 #define GL_GEOMETRY_PROGRAM_NV 0x8C26
4938 #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
4939 #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
4940 #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
4941 #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
4942 #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
4943 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
4944 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
4945 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
4946 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
4947 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
4948 #define GL_PROGRAM_POINT_SIZE_EXT 0x8642
4949 #endif
4950 
4951 #ifndef GL_EXT_geometry_shader4
4952 #define GL_GEOMETRY_SHADER_EXT 0x8DD9
4953 /* reuse GL_GEOMETRY_VERTICES_OUT_EXT */
4954 /* reuse GL_GEOMETRY_INPUT_TYPE_EXT */
4955 /* reuse GL_GEOMETRY_OUTPUT_TYPE_EXT */
4956 /* reuse GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT */
4957 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
4958 #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
4959 #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
4960 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
4961 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
4962 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
4963 /* reuse GL_LINES_ADJACENCY_EXT */
4964 /* reuse GL_LINE_STRIP_ADJACENCY_EXT */
4965 /* reuse GL_TRIANGLES_ADJACENCY_EXT */
4966 /* reuse GL_TRIANGLE_STRIP_ADJACENCY_EXT */
4967 /* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT */
4968 /* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT */
4969 /* reuse GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT */
4970 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
4971 /* reuse GL_PROGRAM_POINT_SIZE_EXT */
4972 #endif
4973 
4974 #ifndef GL_NV_vertex_program4
4975 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
4976 #endif
4977 
4978 #ifndef GL_EXT_gpu_shader4
4979 #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
4980 #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
4981 #define GL_SAMPLER_BUFFER_EXT 0x8DC2
4982 #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
4983 #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
4984 #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
4985 #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
4986 #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
4987 #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
4988 #define GL_INT_SAMPLER_1D_EXT 0x8DC9
4989 #define GL_INT_SAMPLER_2D_EXT 0x8DCA
4990 #define GL_INT_SAMPLER_3D_EXT 0x8DCB
4991 #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
4992 #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
4993 #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
4994 #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
4995 #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
4996 #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
4997 #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
4998 #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
4999 #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
5000 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
5001 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
5002 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
5003 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
5004 #endif
5005 
5006 #ifndef GL_EXT_draw_instanced
5007 #endif
5008 
5009 #ifndef GL_EXT_packed_float
5010 #define GL_R11F_G11F_B10F_EXT 0x8C3A
5011 #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
5012 #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
5013 #endif
5014 
5015 #ifndef GL_EXT_texture_array
5016 #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
5017 #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
5018 #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
5019 #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
5020 #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
5021 #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
5022 #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
5023 #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
5024 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
5025 #endif
5026 
5027 #ifndef GL_EXT_texture_buffer_object
5028 #define GL_TEXTURE_BUFFER_EXT 0x8C2A
5029 #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
5030 #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
5031 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
5032 #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
5033 #endif
5034 
5035 #ifndef GL_EXT_texture_compression_latc
5036 #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
5037 #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
5038 #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
5039 #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
5040 #endif
5041 
5042 #ifndef GL_EXT_texture_compression_rgtc
5043 #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
5044 #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
5045 #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
5046 #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
5047 #endif
5048 
5049 #ifndef GL_EXT_texture_shared_exponent
5050 #define GL_RGB9_E5_EXT 0x8C3D
5051 #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
5052 #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
5053 #endif
5054 
5055 #ifndef GL_NV_depth_buffer_float
5056 #define GL_DEPTH_COMPONENT32F_NV 0x8DAB
5057 #define GL_DEPTH32F_STENCIL8_NV 0x8DAC
5058 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
5059 #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF
5060 #endif
5061 
5062 #ifndef GL_NV_fragment_program4
5063 #endif
5064 
5065 #ifndef GL_NV_framebuffer_multisample_coverage
5066 #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
5067 #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
5068 #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
5069 #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
5070 #endif
5071 
5072 #ifndef GL_EXT_framebuffer_sRGB
5073 #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
5074 #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
5075 #endif
5076 
5077 #ifndef GL_NV_geometry_shader4
5078 #endif
5079 
5080 #ifndef GL_NV_parameter_buffer_object
5081 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
5082 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
5083 #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
5084 #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
5085 #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
5086 #endif
5087 
5088 #ifndef GL_EXT_draw_buffers2
5089 #endif
5090 
5091 #ifndef GL_NV_transform_feedback
5092 #define GL_BACK_PRIMARY_COLOR_NV 0x8C77
5093 #define GL_BACK_SECONDARY_COLOR_NV 0x8C78
5094 #define GL_TEXTURE_COORD_NV 0x8C79
5095 #define GL_CLIP_DISTANCE_NV 0x8C7A
5096 #define GL_VERTEX_ID_NV 0x8C7B
5097 #define GL_PRIMITIVE_ID_NV 0x8C7C
5098 #define GL_GENERIC_ATTRIB_NV 0x8C7D
5099 #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E
5100 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
5101 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
5102 #define GL_ACTIVE_VARYINGS_NV 0x8C81
5103 #define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82
5104 #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
5105 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
5106 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
5107 #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86
5108 #define GL_PRIMITIVES_GENERATED_NV 0x8C87
5109 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
5110 #define GL_RASTERIZER_DISCARD_NV 0x8C89
5111 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV 0x8C8A
5112 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
5113 #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C
5114 #define GL_SEPARATE_ATTRIBS_NV 0x8C8D
5115 #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E
5116 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
5117 #define GL_LAYER_NV 0x8DAA
5118 #define GL_NEXT_BUFFER_NV -2
5119 #define GL_SKIP_COMPONENTS4_NV -3
5120 #define GL_SKIP_COMPONENTS3_NV -4
5121 #define GL_SKIP_COMPONENTS2_NV -5
5122 #define GL_SKIP_COMPONENTS1_NV -6
5123 #endif
5124 
5125 #ifndef GL_EXT_bindable_uniform
5126 #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
5127 #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
5128 #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
5129 #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
5130 #define GL_UNIFORM_BUFFER_EXT 0x8DEE
5131 #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
5132 #endif
5133 
5134 #ifndef GL_EXT_texture_integer
5135 #define GL_RGBA32UI_EXT 0x8D70
5136 #define GL_RGB32UI_EXT 0x8D71
5137 #define GL_ALPHA32UI_EXT 0x8D72
5138 #define GL_INTENSITY32UI_EXT 0x8D73
5139 #define GL_LUMINANCE32UI_EXT 0x8D74
5140 #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
5141 #define GL_RGBA16UI_EXT 0x8D76
5142 #define GL_RGB16UI_EXT 0x8D77
5143 #define GL_ALPHA16UI_EXT 0x8D78
5144 #define GL_INTENSITY16UI_EXT 0x8D79
5145 #define GL_LUMINANCE16UI_EXT 0x8D7A
5146 #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
5147 #define GL_RGBA8UI_EXT 0x8D7C
5148 #define GL_RGB8UI_EXT 0x8D7D
5149 #define GL_ALPHA8UI_EXT 0x8D7E
5150 #define GL_INTENSITY8UI_EXT 0x8D7F
5151 #define GL_LUMINANCE8UI_EXT 0x8D80
5152 #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
5153 #define GL_RGBA32I_EXT 0x8D82
5154 #define GL_RGB32I_EXT 0x8D83
5155 #define GL_ALPHA32I_EXT 0x8D84
5156 #define GL_INTENSITY32I_EXT 0x8D85
5157 #define GL_LUMINANCE32I_EXT 0x8D86
5158 #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
5159 #define GL_RGBA16I_EXT 0x8D88
5160 #define GL_RGB16I_EXT 0x8D89
5161 #define GL_ALPHA16I_EXT 0x8D8A
5162 #define GL_INTENSITY16I_EXT 0x8D8B
5163 #define GL_LUMINANCE16I_EXT 0x8D8C
5164 #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
5165 #define GL_RGBA8I_EXT 0x8D8E
5166 #define GL_RGB8I_EXT 0x8D8F
5167 #define GL_ALPHA8I_EXT 0x8D90
5168 #define GL_INTENSITY8I_EXT 0x8D91
5169 #define GL_LUMINANCE8I_EXT 0x8D92
5170 #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
5171 #define GL_RED_INTEGER_EXT 0x8D94
5172 #define GL_GREEN_INTEGER_EXT 0x8D95
5173 #define GL_BLUE_INTEGER_EXT 0x8D96
5174 #define GL_ALPHA_INTEGER_EXT 0x8D97
5175 #define GL_RGB_INTEGER_EXT 0x8D98
5176 #define GL_RGBA_INTEGER_EXT 0x8D99
5177 #define GL_BGR_INTEGER_EXT 0x8D9A
5178 #define GL_BGRA_INTEGER_EXT 0x8D9B
5179 #define GL_LUMINANCE_INTEGER_EXT 0x8D9C
5180 #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
5181 #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
5182 #endif
5183 
5184 #ifndef GL_GREMEDY_frame_terminator
5185 #endif
5186 
5187 #ifndef GL_NV_conditional_render
5188 #define GL_QUERY_WAIT_NV 0x8E13
5189 #define GL_QUERY_NO_WAIT_NV 0x8E14
5190 #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
5191 #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
5192 #endif
5193 
5194 #ifndef GL_NV_present_video
5195 #define GL_FRAME_NV 0x8E26
5196 #define GL_FIELDS_NV 0x8E27
5197 #define GL_CURRENT_TIME_NV 0x8E28
5198 #define GL_NUM_FILL_STREAMS_NV 0x8E29
5199 #define GL_PRESENT_TIME_NV 0x8E2A
5200 #define GL_PRESENT_DURATION_NV 0x8E2B
5201 #endif
5202 
5203 #ifndef GL_EXT_transform_feedback
5204 #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
5205 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
5206 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
5207 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
5208 #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
5209 #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
5210 #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
5211 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
5212 #define GL_RASTERIZER_DISCARD_EXT 0x8C89
5213 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
5214 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
5215 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
5216 #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
5217 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
5218 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
5219 #endif
5220 
5221 #ifndef GL_EXT_direct_state_access
5222 #define GL_PROGRAM_MATRIX_EXT 0x8E2D
5223 #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
5224 #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
5225 #endif
5226 
5227 #ifndef GL_EXT_vertex_array_bgra
5228 /* reuse GL_BGRA */
5229 #endif
5230 
5231 #ifndef GL_EXT_texture_swizzle
5232 #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
5233 #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
5234 #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
5235 #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
5236 #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
5237 #endif
5238 
5239 #ifndef GL_NV_explicit_multisample
5240 #define GL_SAMPLE_POSITION_NV 0x8E50
5241 #define GL_SAMPLE_MASK_NV 0x8E51
5242 #define GL_SAMPLE_MASK_VALUE_NV 0x8E52
5243 #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
5244 #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
5245 #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55
5246 #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56
5247 #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57
5248 #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
5249 #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59
5250 #endif
5251 
5252 #ifndef GL_NV_transform_feedback2
5253 #define GL_TRANSFORM_FEEDBACK_NV 0x8E22
5254 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
5255 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
5256 #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25
5257 #endif
5258 
5259 #ifndef GL_ATI_meminfo
5260 #define GL_VBO_FREE_MEMORY_ATI 0x87FB
5261 #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
5262 #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
5263 #endif
5264 
5265 #ifndef GL_AMD_performance_monitor
5266 #define GL_COUNTER_TYPE_AMD 0x8BC0
5267 #define GL_COUNTER_RANGE_AMD 0x8BC1
5268 #define GL_UNSIGNED_INT64_AMD 0x8BC2
5269 #define GL_PERCENTAGE_AMD 0x8BC3
5270 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
5271 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
5272 #define GL_PERFMON_RESULT_AMD 0x8BC6
5273 #endif
5274 
5275 #ifndef GL_AMD_texture_texture4
5276 #endif
5277 
5278 #ifndef GL_AMD_vertex_shader_tesselator
5279 #define GL_SAMPLER_BUFFER_AMD 0x9001
5280 #define GL_INT_SAMPLER_BUFFER_AMD 0x9002
5281 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
5282 #define GL_TESSELLATION_MODE_AMD 0x9004
5283 #define GL_TESSELLATION_FACTOR_AMD 0x9005
5284 #define GL_DISCRETE_AMD 0x9006
5285 #define GL_CONTINUOUS_AMD 0x9007
5286 #endif
5287 
5288 #ifndef GL_EXT_provoking_vertex
5289 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
5290 #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
5291 #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
5292 #define GL_PROVOKING_VERTEX_EXT 0x8E4F
5293 #endif
5294 
5295 #ifndef GL_EXT_texture_snorm
5296 #define GL_ALPHA_SNORM 0x9010
5297 #define GL_LUMINANCE_SNORM 0x9011
5298 #define GL_LUMINANCE_ALPHA_SNORM 0x9012
5299 #define GL_INTENSITY_SNORM 0x9013
5300 #define GL_ALPHA8_SNORM 0x9014
5301 #define GL_LUMINANCE8_SNORM 0x9015
5302 #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016
5303 #define GL_INTENSITY8_SNORM 0x9017
5304 #define GL_ALPHA16_SNORM 0x9018
5305 #define GL_LUMINANCE16_SNORM 0x9019
5306 #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A
5307 #define GL_INTENSITY16_SNORM 0x901B
5308 /* reuse GL_RED_SNORM */
5309 /* reuse GL_RG_SNORM */
5310 /* reuse GL_RGB_SNORM */
5311 /* reuse GL_RGBA_SNORM */
5312 /* reuse GL_R8_SNORM */
5313 /* reuse GL_RG8_SNORM */
5314 /* reuse GL_RGB8_SNORM */
5315 /* reuse GL_RGBA8_SNORM */
5316 /* reuse GL_R16_SNORM */
5317 /* reuse GL_RG16_SNORM */
5318 /* reuse GL_RGB16_SNORM */
5319 /* reuse GL_RGBA16_SNORM */
5320 /* reuse GL_SIGNED_NORMALIZED */
5321 #endif
5322 
5323 #ifndef GL_AMD_draw_buffers_blend
5324 #endif
5325 
5326 #ifndef GL_APPLE_texture_range
5327 #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
5328 #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
5329 #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
5330 #define GL_STORAGE_PRIVATE_APPLE 0x85BD
5331 /* reuse GL_STORAGE_CACHED_APPLE */
5332 /* reuse GL_STORAGE_SHARED_APPLE */
5333 #endif
5334 
5335 #ifndef GL_APPLE_float_pixels
5336 #define GL_HALF_APPLE 0x140B
5337 #define GL_RGBA_FLOAT32_APPLE 0x8814
5338 #define GL_RGB_FLOAT32_APPLE 0x8815
5339 #define GL_ALPHA_FLOAT32_APPLE 0x8816
5340 #define GL_INTENSITY_FLOAT32_APPLE 0x8817
5341 #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
5342 #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
5343 #define GL_RGBA_FLOAT16_APPLE 0x881A
5344 #define GL_RGB_FLOAT16_APPLE 0x881B
5345 #define GL_ALPHA_FLOAT16_APPLE 0x881C
5346 #define GL_INTENSITY_FLOAT16_APPLE 0x881D
5347 #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
5348 #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
5349 #define GL_COLOR_FLOAT_APPLE 0x8A0F
5350 #endif
5351 
5352 #ifndef GL_APPLE_vertex_program_evaluators
5353 #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
5354 #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
5355 #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
5356 #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
5357 #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
5358 #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
5359 #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
5360 #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
5361 #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
5362 #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
5363 #endif
5364 
5365 #ifndef GL_APPLE_aux_depth_stencil
5366 #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
5367 #endif
5368 
5369 #ifndef GL_APPLE_object_purgeable
5370 #define GL_BUFFER_OBJECT_APPLE 0x85B3
5371 #define GL_RELEASED_APPLE 0x8A19
5372 #define GL_VOLATILE_APPLE 0x8A1A
5373 #define GL_RETAINED_APPLE 0x8A1B
5374 #define GL_UNDEFINED_APPLE 0x8A1C
5375 #define GL_PURGEABLE_APPLE 0x8A1D
5376 #endif
5377 
5378 #ifndef GL_APPLE_row_bytes
5379 #define GL_PACK_ROW_BYTES_APPLE 0x8A15
5380 #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
5381 #endif
5382 
5383 #ifndef GL_APPLE_rgb_422
5384 #define GL_RGB_422_APPLE 0x8A1F
5385 /* reuse GL_UNSIGNED_SHORT_8_8_APPLE */
5386 /* reuse GL_UNSIGNED_SHORT_8_8_REV_APPLE */
5387 #endif
5388 
5389 #ifndef GL_NV_video_capture
5390 #define GL_VIDEO_BUFFER_NV 0x9020
5391 #define GL_VIDEO_BUFFER_BINDING_NV 0x9021
5392 #define GL_FIELD_UPPER_NV 0x9022
5393 #define GL_FIELD_LOWER_NV 0x9023
5394 #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024
5395 #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
5396 #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
5397 #define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027
5398 #define GL_VIDEO_BUFFER_PITCH_NV 0x9028
5399 #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
5400 #define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A
5401 #define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B
5402 #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
5403 #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
5404 #define GL_PARTIAL_SUCCESS_NV 0x902E
5405 #define GL_SUCCESS_NV 0x902F
5406 #define GL_FAILURE_NV 0x9030
5407 #define GL_YCBYCR8_422_NV 0x9031
5408 #define GL_YCBAYCR8A_4224_NV 0x9032
5409 #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033
5410 #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
5411 #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035
5412 #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
5413 #define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037
5414 #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038
5415 #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039
5416 #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
5417 #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
5418 #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
5419 #endif
5420 
5421 #ifndef GL_NV_copy_image
5422 #endif
5423 
5424 #ifndef GL_EXT_separate_shader_objects
5425 #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
5426 #endif
5427 
5428 #ifndef GL_NV_parameter_buffer_object2
5429 #endif
5430 
5431 #ifndef GL_NV_shader_buffer_load
5432 #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
5433 #define GL_GPU_ADDRESS_NV 0x8F34
5434 #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35
5435 #endif
5436 
5437 #ifndef GL_NV_vertex_buffer_unified_memory
5438 #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
5439 #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F
5440 #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
5441 #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21
5442 #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22
5443 #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23
5444 #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24
5445 #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
5446 #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26
5447 #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
5448 #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28
5449 #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29
5450 #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A
5451 #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B
5452 #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C
5453 #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D
5454 #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E
5455 #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F
5456 #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30
5457 #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
5458 #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32
5459 #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33
5460 #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
5461 #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
5462 #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
5463 #endif
5464 
5465 #ifndef GL_NV_texture_barrier
5466 #endif
5467 
5468 #ifndef GL_AMD_shader_stencil_export
5469 #endif
5470 
5471 #ifndef GL_AMD_seamless_cubemap_per_texture
5472 /* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
5473 #endif
5474 
5475 #ifndef GL_AMD_conservative_depth
5476 #endif
5477 
5478 #ifndef GL_EXT_shader_image_load_store
5479 #define GL_MAX_IMAGE_UNITS_EXT 0x8F38
5480 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
5481 #define GL_IMAGE_BINDING_NAME_EXT 0x8F3A
5482 #define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B
5483 #define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C
5484 #define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D
5485 #define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E
5486 #define GL_IMAGE_1D_EXT 0x904C
5487 #define GL_IMAGE_2D_EXT 0x904D
5488 #define GL_IMAGE_3D_EXT 0x904E
5489 #define GL_IMAGE_2D_RECT_EXT 0x904F
5490 #define GL_IMAGE_CUBE_EXT 0x9050
5491 #define GL_IMAGE_BUFFER_EXT 0x9051
5492 #define GL_IMAGE_1D_ARRAY_EXT 0x9052
5493 #define GL_IMAGE_2D_ARRAY_EXT 0x9053
5494 #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
5495 #define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055
5496 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
5497 #define GL_INT_IMAGE_1D_EXT 0x9057
5498 #define GL_INT_IMAGE_2D_EXT 0x9058
5499 #define GL_INT_IMAGE_3D_EXT 0x9059
5500 #define GL_INT_IMAGE_2D_RECT_EXT 0x905A
5501 #define GL_INT_IMAGE_CUBE_EXT 0x905B
5502 #define GL_INT_IMAGE_BUFFER_EXT 0x905C
5503 #define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D
5504 #define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E
5505 #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
5506 #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060
5507 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
5508 #define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062
5509 #define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063
5510 #define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064
5511 #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
5512 #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066
5513 #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
5514 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
5515 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
5516 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
5517 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
5518 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
5519 #define GL_MAX_IMAGE_SAMPLES_EXT 0x906D
5520 #define GL_IMAGE_BINDING_FORMAT_EXT 0x906E
5521 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
5522 #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002
5523 #define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004
5524 #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008
5525 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
5526 #define GL_COMMAND_BARRIER_BIT_EXT 0x00000040
5527 #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080
5528 #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
5529 #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200
5530 #define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400
5531 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
5532 #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
5533 #define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF
5534 #endif
5535 
5536 #ifndef GL_EXT_vertex_attrib_64bit
5537 /* reuse GL_DOUBLE */
5538 #define GL_DOUBLE_VEC2_EXT 0x8FFC
5539 #define GL_DOUBLE_VEC3_EXT 0x8FFD
5540 #define GL_DOUBLE_VEC4_EXT 0x8FFE
5541 #define GL_DOUBLE_MAT2_EXT 0x8F46
5542 #define GL_DOUBLE_MAT3_EXT 0x8F47
5543 #define GL_DOUBLE_MAT4_EXT 0x8F48
5544 #define GL_DOUBLE_MAT2x3_EXT 0x8F49
5545 #define GL_DOUBLE_MAT2x4_EXT 0x8F4A
5546 #define GL_DOUBLE_MAT3x2_EXT 0x8F4B
5547 #define GL_DOUBLE_MAT3x4_EXT 0x8F4C
5548 #define GL_DOUBLE_MAT4x2_EXT 0x8F4D
5549 #define GL_DOUBLE_MAT4x3_EXT 0x8F4E
5550 #endif
5551 
5552 #ifndef GL_NV_gpu_program5
5553 #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
5554 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
5555 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
5556 #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
5557 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
5558 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
5559 #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
5560 #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45
5561 #endif
5562 
5563 #ifndef GL_NV_gpu_shader5
5564 #define GL_INT64_NV 0x140E
5565 #define GL_UNSIGNED_INT64_NV 0x140F
5566 #define GL_INT8_NV 0x8FE0
5567 #define GL_INT8_VEC2_NV 0x8FE1
5568 #define GL_INT8_VEC3_NV 0x8FE2
5569 #define GL_INT8_VEC4_NV 0x8FE3
5570 #define GL_INT16_NV 0x8FE4
5571 #define GL_INT16_VEC2_NV 0x8FE5
5572 #define GL_INT16_VEC3_NV 0x8FE6
5573 #define GL_INT16_VEC4_NV 0x8FE7
5574 #define GL_INT64_VEC2_NV 0x8FE9
5575 #define GL_INT64_VEC3_NV 0x8FEA
5576 #define GL_INT64_VEC4_NV 0x8FEB
5577 #define GL_UNSIGNED_INT8_NV 0x8FEC
5578 #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
5579 #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
5580 #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
5581 #define GL_UNSIGNED_INT16_NV 0x8FF0
5582 #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
5583 #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
5584 #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
5585 #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
5586 #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
5587 #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
5588 #define GL_FLOAT16_NV 0x8FF8
5589 #define GL_FLOAT16_VEC2_NV 0x8FF9
5590 #define GL_FLOAT16_VEC3_NV 0x8FFA
5591 #define GL_FLOAT16_VEC4_NV 0x8FFB
5592 /* reuse GL_PATCHES */
5593 #endif
5594 
5595 #ifndef GL_NV_shader_buffer_store
5596 #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
5597 /* reuse GL_READ_WRITE */
5598 /* reuse GL_WRITE_ONLY */
5599 #endif
5600 
5601 #ifndef GL_NV_tessellation_program5
5602 #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
5603 #define GL_TESS_CONTROL_PROGRAM_NV 0x891E
5604 #define GL_TESS_EVALUATION_PROGRAM_NV 0x891F
5605 #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
5606 #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
5607 #endif
5608 
5609 #ifndef GL_NV_vertex_attrib_integer_64bit
5610 /* reuse GL_INT64_NV */
5611 /* reuse GL_UNSIGNED_INT64_NV */
5612 #endif
5613 
5614 #ifndef GL_NV_multisample_coverage
5615 #if defined(VL_OPENGL_ES1)
5616  #define GL_COVERAGE_SAMPLES_NV 0x80A9
5617 #endif
5618 #define GL_COLOR_SAMPLES_NV 0x8E20
5619 #endif
5620 
5621 #ifndef GL_AMD_name_gen_delete
5622 #define GL_DATA_BUFFER_AMD 0x9151
5623 #define GL_PERFORMANCE_MONITOR_AMD 0x9152
5624 #define GL_QUERY_OBJECT_AMD 0x9153
5625 #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
5626 #define GL_SAMPLER_OBJECT_AMD 0x9155
5627 #endif
5628 
5629 #ifndef GL_AMD_debug_output
5630 #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
5631 #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
5632 #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
5633 #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
5634 #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
5635 #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
5636 #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
5637 #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
5638 #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
5639 #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
5640 #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
5641 #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
5642 #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
5643 #endif
5644 
5645 #ifndef GL_NV_vdpau_interop
5646 #define GL_SURFACE_STATE_NV 0x86EB
5647 #define GL_SURFACE_REGISTERED_NV 0x86FD
5648 #define GL_SURFACE_MAPPED_NV 0x8700
5649 #define GL_WRITE_DISCARD_NV 0x88BE
5650 #endif
5651 
5652 #ifndef GL_AMD_transform_feedback3_lines_triangles
5653 #endif
5654 
5655 #ifndef GL_AMD_depth_clamp_separate
5656 #define GL_DEPTH_CLAMP_NEAR_AMD 0x901E
5657 #define GL_DEPTH_CLAMP_FAR_AMD 0x901F
5658 #endif
5659 
5660 #ifndef GL_EXT_texture_sRGB_decode
5661 #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
5662 #define GL_DECODE_EXT 0x8A49
5663 #define GL_SKIP_DECODE_EXT 0x8A4A
5664 #endif
5665 
5666 #ifndef GL_NV_texture_multisample
5667 #define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045
5668 #define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046
5669 #endif
5670 
5671 #ifndef GL_AMD_blend_minmax_factor
5672 #define GL_FACTOR_MIN_AMD 0x901C
5673 #define GL_FACTOR_MAX_AMD 0x901D
5674 #endif
5675 
5676 #ifndef GL_AMD_sample_positions
5677 #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
5678 #endif
5679 
5680 #ifndef GL_EXT_x11_sync_object
5681 #define GL_SYNC_X11_FENCE_EXT 0x90E1
5682 #endif
5683 
5684 #ifndef GL_AMD_multi_draw_indirect
5685 #endif
5686 
5687 /*************************************************************/
5688 
5689 // GLU
5690 
5691 #define GLU_TESS_WINDING_ODD 100130
5692 #define GLU_TESS_WINDING_NONZERO 100131
5693 #define GLU_TESS_WINDING_POSITIVE 100132
5694 #define GLU_TESS_WINDING_NEGATIVE 100133
5695 #define GLU_TESS_WINDING_ABS_GEQ_TWO 100134
5696 
5697 #endif
double GLclampd
double GLdouble