]> git.r.bdr.sh - rbdr/super-polarity/blob - vendor/frameworks/SDL2.framework/Versions/A/Headers/SDL_opengl.h
2f120aa95a8cde5aae5ceaaf5e57ecb9f5dafaed
[rbdr/super-polarity] / vendor / frameworks / SDL2.framework / Versions / A / Headers / SDL_opengl.h
1 /*
2 Simple DirectMedia Layer
3 Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
4
5 This software is provided 'as-is', without any express or implied
6 warranty. In no event will the authors be held liable for any damages
7 arising from the use of this software.
8
9 Permission is granted to anyone to use this software for any purpose,
10 including commercial applications, and to alter it and redistribute it
11 freely, subject to the following restrictions:
12
13 1. The origin of this software must not be misrepresented; you must not
14 claim that you wrote the original software. If you use this software
15 in a product, an acknowledgment in the product documentation would be
16 appreciated but is not required.
17 2. Altered source versions must be plainly marked as such, and must not be
18 misrepresented as being the original software.
19 3. This notice may not be removed or altered from any source distribution.
20 */
21
22 /**
23 * \file SDL_opengl.h
24 *
25 * This is a simple file to encapsulate the OpenGL API headers.
26 */
27
28 #ifndef _SDL_opengl_h
29 #define _SDL_opengl_h
30
31 #include "SDL_config.h"
32
33 #ifndef __IPHONEOS__
34
35 #ifdef __WIN32__
36 #define WIN32_LEAN_AND_MEAN
37 #ifndef NOMINMAX
38 #define NOMINMAX /* Don't defined min() and max() */
39 #endif
40 #include <windows.h>
41 #endif
42
43 #ifdef __glext_h_
44 /* Someone has already included glext.h */
45 #define NO_SDL_GLEXT
46 #endif
47 #ifndef NO_SDL_GLEXT
48 #define __glext_h_ /* Don't let gl.h include glext.h */
49 #endif
50 #if defined(__MACOSX__)
51 #include <OpenGL/gl.h> /* Header File For The OpenGL Library */
52 #define __X_GL_H
53 #else
54 #include <GL/gl.h> /* Header File For The OpenGL Library */
55 #endif
56 #ifndef NO_SDL_GLEXT
57 #undef __glext_h_
58 #endif
59
60 /**
61 * \file SDL_opengl.h
62 *
63 * This file is included because glext.h is not available on some systems.
64 * If you don't want this version included, simply define ::NO_SDL_GLEXT.
65 *
66 * The latest version is available from:
67 * http://www.opengl.org/registry/
68 */
69
70 /**
71 * \def NO_SDL_GLEXT
72 *
73 * Define this if you have your own version of glext.h and want to disable the
74 * version included in SDL_opengl.h.
75 */
76
77 #if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY)
78 #ifndef __glext_h_
79 #define __glext_h_
80
81 #ifdef __cplusplus
82 extern "C" {
83 #endif
84
85 /*
86 ** Copyright (c) 2007-2010 The Khronos Group Inc.
87 **
88 ** Permission is hereby granted, free of charge, to any person obtaining a
89 ** copy of this software and/or associated documentation files (the
90 ** "Materials"), to deal in the Materials without restriction, including
91 ** without limitation the rights to use, copy, modify, merge, publish,
92 ** distribute, sublicense, and/or sell copies of the Materials, and to
93 ** permit persons to whom the Materials are furnished to do so, subject to
94 ** the following conditions:
95 **
96 ** The above copyright notice and this permission notice shall be included
97 ** in all copies or substantial portions of the Materials.
98 **
99 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
100 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
101 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
102 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
103 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
104 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
105 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
106 */
107
108 /* Header file version number, required by OpenGL ABI for Linux */
109 /* glext.h last updated $Date: 2010-08-03 01:30:25 -0700 (Tue, 03 Aug 2010) $ */
110 /* Current version at http://www.opengl.org/registry/ */
111 #define GL_GLEXT_VERSION 64
112 /* Function declaration macros - to move into glplatform.h */
113
114 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
115 #define WIN32_LEAN_AND_MEAN 1
116 #include <windows.h>
117 #endif
118
119 #ifndef APIENTRY
120 #define APIENTRY
121 #endif
122 #ifndef APIENTRYP
123 #define APIENTRYP APIENTRY *
124 #endif
125 #ifndef GLAPI
126 #define GLAPI extern
127 #endif
128
129 /*************************************************************/
130
131 #ifndef GL_VERSION_1_2
132 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
133 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
134 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
135 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
136 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
137 #define GL_TEXTURE_BINDING_3D 0x806A
138 #define GL_PACK_SKIP_IMAGES 0x806B
139 #define GL_PACK_IMAGE_HEIGHT 0x806C
140 #define GL_UNPACK_SKIP_IMAGES 0x806D
141 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
142 #define GL_TEXTURE_3D 0x806F
143 #define GL_PROXY_TEXTURE_3D 0x8070
144 #define GL_TEXTURE_DEPTH 0x8071
145 #define GL_TEXTURE_WRAP_R 0x8072
146 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
147 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
148 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
149 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
150 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
151 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
152 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
153 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
154 #define GL_BGR 0x80E0
155 #define GL_BGRA 0x80E1
156 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
157 #define GL_MAX_ELEMENTS_INDICES 0x80E9
158 #define GL_CLAMP_TO_EDGE 0x812F
159 #define GL_TEXTURE_MIN_LOD 0x813A
160 #define GL_TEXTURE_MAX_LOD 0x813B
161 #define GL_TEXTURE_BASE_LEVEL 0x813C
162 #define GL_TEXTURE_MAX_LEVEL 0x813D
163 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
164 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
165 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
166 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
167 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
168 #endif
169
170 #ifndef GL_VERSION_1_2_DEPRECATED
171 #define GL_RESCALE_NORMAL 0x803A
172 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
173 #define GL_SINGLE_COLOR 0x81F9
174 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
175 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
176 #endif
177
178 #ifndef GL_ARB_imaging
179 #define GL_CONSTANT_COLOR 0x8001
180 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
181 #define GL_CONSTANT_ALPHA 0x8003
182 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
183 #define GL_BLEND_COLOR 0x8005
184 #define GL_FUNC_ADD 0x8006
185 #define GL_MIN 0x8007
186 #define GL_MAX 0x8008
187 #define GL_BLEND_EQUATION 0x8009
188 #define GL_FUNC_SUBTRACT 0x800A
189 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
190 #endif
191
192 #ifndef GL_ARB_imaging_DEPRECATED
193 #define GL_CONVOLUTION_1D 0x8010
194 #define GL_CONVOLUTION_2D 0x8011
195 #define GL_SEPARABLE_2D 0x8012
196 #define GL_CONVOLUTION_BORDER_MODE 0x8013
197 #define GL_CONVOLUTION_FILTER_SCALE 0x8014
198 #define GL_CONVOLUTION_FILTER_BIAS 0x8015
199 #define GL_REDUCE 0x8016
200 #define GL_CONVOLUTION_FORMAT 0x8017
201 #define GL_CONVOLUTION_WIDTH 0x8018
202 #define GL_CONVOLUTION_HEIGHT 0x8019
203 #define GL_MAX_CONVOLUTION_WIDTH 0x801A
204 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
205 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
206 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
207 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
208 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
209 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
210 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
211 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
212 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
213 #define GL_HISTOGRAM 0x8024
214 #define GL_PROXY_HISTOGRAM 0x8025
215 #define GL_HISTOGRAM_WIDTH 0x8026
216 #define GL_HISTOGRAM_FORMAT 0x8027
217 #define GL_HISTOGRAM_RED_SIZE 0x8028
218 #define GL_HISTOGRAM_GREEN_SIZE 0x8029
219 #define GL_HISTOGRAM_BLUE_SIZE 0x802A
220 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
221 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
222 #define GL_HISTOGRAM_SINK 0x802D
223 #define GL_MINMAX 0x802E
224 #define GL_MINMAX_FORMAT 0x802F
225 #define GL_MINMAX_SINK 0x8030
226 #define GL_TABLE_TOO_LARGE 0x8031
227 #define GL_COLOR_MATRIX 0x80B1
228 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
229 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
230 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
231 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
232 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
233 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
234 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
235 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
236 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
237 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
238 #define GL_COLOR_TABLE 0x80D0
239 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
240 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
241 #define GL_PROXY_COLOR_TABLE 0x80D3
242 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
243 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
244 #define GL_COLOR_TABLE_SCALE 0x80D6
245 #define GL_COLOR_TABLE_BIAS 0x80D7
246 #define GL_COLOR_TABLE_FORMAT 0x80D8
247 #define GL_COLOR_TABLE_WIDTH 0x80D9
248 #define GL_COLOR_TABLE_RED_SIZE 0x80DA
249 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
250 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
251 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
252 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
253 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
254 #define GL_CONSTANT_BORDER 0x8151
255 #define GL_REPLICATE_BORDER 0x8153
256 #define GL_CONVOLUTION_BORDER_COLOR 0x8154
257 #endif
258
259 #ifndef GL_VERSION_1_3
260 #define GL_TEXTURE0 0x84C0
261 #define GL_TEXTURE1 0x84C1
262 #define GL_TEXTURE2 0x84C2
263 #define GL_TEXTURE3 0x84C3
264 #define GL_TEXTURE4 0x84C4
265 #define GL_TEXTURE5 0x84C5
266 #define GL_TEXTURE6 0x84C6
267 #define GL_TEXTURE7 0x84C7
268 #define GL_TEXTURE8 0x84C8
269 #define GL_TEXTURE9 0x84C9
270 #define GL_TEXTURE10 0x84CA
271 #define GL_TEXTURE11 0x84CB
272 #define GL_TEXTURE12 0x84CC
273 #define GL_TEXTURE13 0x84CD
274 #define GL_TEXTURE14 0x84CE
275 #define GL_TEXTURE15 0x84CF
276 #define GL_TEXTURE16 0x84D0
277 #define GL_TEXTURE17 0x84D1
278 #define GL_TEXTURE18 0x84D2
279 #define GL_TEXTURE19 0x84D3
280 #define GL_TEXTURE20 0x84D4
281 #define GL_TEXTURE21 0x84D5
282 #define GL_TEXTURE22 0x84D6
283 #define GL_TEXTURE23 0x84D7
284 #define GL_TEXTURE24 0x84D8
285 #define GL_TEXTURE25 0x84D9
286 #define GL_TEXTURE26 0x84DA
287 #define GL_TEXTURE27 0x84DB
288 #define GL_TEXTURE28 0x84DC
289 #define GL_TEXTURE29 0x84DD
290 #define GL_TEXTURE30 0x84DE
291 #define GL_TEXTURE31 0x84DF
292 #define GL_ACTIVE_TEXTURE 0x84E0
293 #define GL_MULTISAMPLE 0x809D
294 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
295 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
296 #define GL_SAMPLE_COVERAGE 0x80A0
297 #define GL_SAMPLE_BUFFERS 0x80A8
298 #define GL_SAMPLES 0x80A9
299 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
300 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
301 #define GL_TEXTURE_CUBE_MAP 0x8513
302 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
303 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
304 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
305 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
306 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
307 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
308 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
309 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
310 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
311 #define GL_COMPRESSED_RGB 0x84ED
312 #define GL_COMPRESSED_RGBA 0x84EE
313 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
314 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
315 #define GL_TEXTURE_COMPRESSED 0x86A1
316 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
317 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
318 #define GL_CLAMP_TO_BORDER 0x812D
319 #endif
320
321 #ifndef GL_VERSION_1_3_DEPRECATED
322 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
323 #define GL_MAX_TEXTURE_UNITS 0x84E2
324 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
325 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
326 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
327 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
328 #define GL_MULTISAMPLE_BIT 0x20000000
329 #define GL_NORMAL_MAP 0x8511
330 #define GL_REFLECTION_MAP 0x8512
331 #define GL_COMPRESSED_ALPHA 0x84E9
332 #define GL_COMPRESSED_LUMINANCE 0x84EA
333 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
334 #define GL_COMPRESSED_INTENSITY 0x84EC
335 #define GL_COMBINE 0x8570
336 #define GL_COMBINE_RGB 0x8571
337 #define GL_COMBINE_ALPHA 0x8572
338 #define GL_SOURCE0_RGB 0x8580
339 #define GL_SOURCE1_RGB 0x8581
340 #define GL_SOURCE2_RGB 0x8582
341 #define GL_SOURCE0_ALPHA 0x8588
342 #define GL_SOURCE1_ALPHA 0x8589
343 #define GL_SOURCE2_ALPHA 0x858A
344 #define GL_OPERAND0_RGB 0x8590
345 #define GL_OPERAND1_RGB 0x8591
346 #define GL_OPERAND2_RGB 0x8592
347 #define GL_OPERAND0_ALPHA 0x8598
348 #define GL_OPERAND1_ALPHA 0x8599
349 #define GL_OPERAND2_ALPHA 0x859A
350 #define GL_RGB_SCALE 0x8573
351 #define GL_ADD_SIGNED 0x8574
352 #define GL_INTERPOLATE 0x8575
353 #define GL_SUBTRACT 0x84E7
354 #define GL_CONSTANT 0x8576
355 #define GL_PRIMARY_COLOR 0x8577
356 #define GL_PREVIOUS 0x8578
357 #define GL_DOT3_RGB 0x86AE
358 #define GL_DOT3_RGBA 0x86AF
359 #endif
360
361 #ifndef GL_VERSION_1_4
362 #define GL_BLEND_DST_RGB 0x80C8
363 #define GL_BLEND_SRC_RGB 0x80C9
364 #define GL_BLEND_DST_ALPHA 0x80CA
365 #define GL_BLEND_SRC_ALPHA 0x80CB
366 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
367 #define GL_DEPTH_COMPONENT16 0x81A5
368 #define GL_DEPTH_COMPONENT24 0x81A6
369 #define GL_DEPTH_COMPONENT32 0x81A7
370 #define GL_MIRRORED_REPEAT 0x8370
371 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
372 #define GL_TEXTURE_LOD_BIAS 0x8501
373 #define GL_INCR_WRAP 0x8507
374 #define GL_DECR_WRAP 0x8508
375 #define GL_TEXTURE_DEPTH_SIZE 0x884A
376 #define GL_TEXTURE_COMPARE_MODE 0x884C
377 #define GL_TEXTURE_COMPARE_FUNC 0x884D
378 #endif
379
380 #ifndef GL_VERSION_1_4_DEPRECATED
381 #define GL_POINT_SIZE_MIN 0x8126
382 #define GL_POINT_SIZE_MAX 0x8127
383 #define GL_POINT_DISTANCE_ATTENUATION 0x8129
384 #define GL_GENERATE_MIPMAP 0x8191
385 #define GL_GENERATE_MIPMAP_HINT 0x8192
386 #define GL_FOG_COORDINATE_SOURCE 0x8450
387 #define GL_FOG_COORDINATE 0x8451
388 #define GL_FRAGMENT_DEPTH 0x8452
389 #define GL_CURRENT_FOG_COORDINATE 0x8453
390 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
391 #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
392 #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
393 #define GL_FOG_COORDINATE_ARRAY 0x8457
394 #define GL_COLOR_SUM 0x8458
395 #define GL_CURRENT_SECONDARY_COLOR 0x8459
396 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
397 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
398 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
399 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
400 #define GL_SECONDARY_COLOR_ARRAY 0x845E
401 #define GL_TEXTURE_FILTER_CONTROL 0x8500
402 #define GL_DEPTH_TEXTURE_MODE 0x884B
403 #define GL_COMPARE_R_TO_TEXTURE 0x884E
404 #endif
405
406 #ifndef GL_VERSION_1_5
407 #define GL_BUFFER_SIZE 0x8764
408 #define GL_BUFFER_USAGE 0x8765
409 #define GL_QUERY_COUNTER_BITS 0x8864
410 #define GL_CURRENT_QUERY 0x8865
411 #define GL_QUERY_RESULT 0x8866
412 #define GL_QUERY_RESULT_AVAILABLE 0x8867
413 #define GL_ARRAY_BUFFER 0x8892
414 #define GL_ELEMENT_ARRAY_BUFFER 0x8893
415 #define GL_ARRAY_BUFFER_BINDING 0x8894
416 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
417 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
418 #define GL_READ_ONLY 0x88B8
419 #define GL_WRITE_ONLY 0x88B9
420 #define GL_READ_WRITE 0x88BA
421 #define GL_BUFFER_ACCESS 0x88BB
422 #define GL_BUFFER_MAPPED 0x88BC
423 #define GL_BUFFER_MAP_POINTER 0x88BD
424 #define GL_STREAM_DRAW 0x88E0
425 #define GL_STREAM_READ 0x88E1
426 #define GL_STREAM_COPY 0x88E2
427 #define GL_STATIC_DRAW 0x88E4
428 #define GL_STATIC_READ 0x88E5
429 #define GL_STATIC_COPY 0x88E6
430 #define GL_DYNAMIC_DRAW 0x88E8
431 #define GL_DYNAMIC_READ 0x88E9
432 #define GL_DYNAMIC_COPY 0x88EA
433 #define GL_SAMPLES_PASSED 0x8914
434 #endif
435
436 #ifndef GL_VERSION_1_5_DEPRECATED
437 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
438 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
439 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
440 #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
441 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
442 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
443 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
444 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
445 #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
446 #define GL_FOG_COORD_SRC 0x8450
447 #define GL_FOG_COORD 0x8451
448 #define GL_CURRENT_FOG_COORD 0x8453
449 #define GL_FOG_COORD_ARRAY_TYPE 0x8454
450 #define GL_FOG_COORD_ARRAY_STRIDE 0x8455
451 #define GL_FOG_COORD_ARRAY_POINTER 0x8456
452 #define GL_FOG_COORD_ARRAY 0x8457
453 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
454 #define GL_SRC0_RGB 0x8580
455 #define GL_SRC1_RGB 0x8581
456 #define GL_SRC2_RGB 0x8582
457 #define GL_SRC0_ALPHA 0x8588
458 #define GL_SRC1_ALPHA 0x8589
459 #define GL_SRC2_ALPHA 0x858A
460 #endif
461
462 #ifndef GL_VERSION_2_0
463 #define GL_BLEND_EQUATION_RGB 0x8009
464 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
465 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
466 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
467 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
468 #define GL_CURRENT_VERTEX_ATTRIB 0x8626
469 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
470 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
471 #define GL_STENCIL_BACK_FUNC 0x8800
472 #define GL_STENCIL_BACK_FAIL 0x8801
473 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
474 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
475 #define GL_MAX_DRAW_BUFFERS 0x8824
476 #define GL_DRAW_BUFFER0 0x8825
477 #define GL_DRAW_BUFFER1 0x8826
478 #define GL_DRAW_BUFFER2 0x8827
479 #define GL_DRAW_BUFFER3 0x8828
480 #define GL_DRAW_BUFFER4 0x8829
481 #define GL_DRAW_BUFFER5 0x882A
482 #define GL_DRAW_BUFFER6 0x882B
483 #define GL_DRAW_BUFFER7 0x882C
484 #define GL_DRAW_BUFFER8 0x882D
485 #define GL_DRAW_BUFFER9 0x882E
486 #define GL_DRAW_BUFFER10 0x882F
487 #define GL_DRAW_BUFFER11 0x8830
488 #define GL_DRAW_BUFFER12 0x8831
489 #define GL_DRAW_BUFFER13 0x8832
490 #define GL_DRAW_BUFFER14 0x8833
491 #define GL_DRAW_BUFFER15 0x8834
492 #define GL_BLEND_EQUATION_ALPHA 0x883D
493 #define GL_MAX_VERTEX_ATTRIBS 0x8869
494 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
495 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
496 #define GL_FRAGMENT_SHADER 0x8B30
497 #define GL_VERTEX_SHADER 0x8B31
498 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
499 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
500 #define GL_MAX_VARYING_FLOATS 0x8B4B
501 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
502 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
503 #define GL_SHADER_TYPE 0x8B4F
504 #define GL_FLOAT_VEC2 0x8B50
505 #define GL_FLOAT_VEC3 0x8B51
506 #define GL_FLOAT_VEC4 0x8B52
507 #define GL_INT_VEC2 0x8B53
508 #define GL_INT_VEC3 0x8B54
509 #define GL_INT_VEC4 0x8B55
510 #define GL_BOOL 0x8B56
511 #define GL_BOOL_VEC2 0x8B57
512 #define GL_BOOL_VEC3 0x8B58
513 #define GL_BOOL_VEC4 0x8B59
514 #define GL_FLOAT_MAT2 0x8B5A
515 #define GL_FLOAT_MAT3 0x8B5B
516 #define GL_FLOAT_MAT4 0x8B5C
517 #define GL_SAMPLER_1D 0x8B5D
518 #define GL_SAMPLER_2D 0x8B5E
519 #define GL_SAMPLER_3D 0x8B5F
520 #define GL_SAMPLER_CUBE 0x8B60
521 #define GL_SAMPLER_1D_SHADOW 0x8B61
522 #define GL_SAMPLER_2D_SHADOW 0x8B62
523 #define GL_DELETE_STATUS 0x8B80
524 #define GL_COMPILE_STATUS 0x8B81
525 #define GL_LINK_STATUS 0x8B82
526 #define GL_VALIDATE_STATUS 0x8B83
527 #define GL_INFO_LOG_LENGTH 0x8B84
528 #define GL_ATTACHED_SHADERS 0x8B85
529 #define GL_ACTIVE_UNIFORMS 0x8B86
530 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
531 #define GL_SHADER_SOURCE_LENGTH 0x8B88
532 #define GL_ACTIVE_ATTRIBUTES 0x8B89
533 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
534 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
535 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
536 #define GL_CURRENT_PROGRAM 0x8B8D
537 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
538 #define GL_LOWER_LEFT 0x8CA1
539 #define GL_UPPER_LEFT 0x8CA2
540 #define GL_STENCIL_BACK_REF 0x8CA3
541 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
542 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
543 #endif
544
545 #ifndef GL_VERSION_2_0_DEPRECATED
546 #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
547 #define GL_POINT_SPRITE 0x8861
548 #define GL_COORD_REPLACE 0x8862
549 #define GL_MAX_TEXTURE_COORDS 0x8871
550 #endif
551
552 #ifndef GL_VERSION_2_1
553 #define GL_PIXEL_PACK_BUFFER 0x88EB
554 #define GL_PIXEL_UNPACK_BUFFER 0x88EC
555 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
556 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
557 #define GL_FLOAT_MAT2x3 0x8B65
558 #define GL_FLOAT_MAT2x4 0x8B66
559 #define GL_FLOAT_MAT3x2 0x8B67
560 #define GL_FLOAT_MAT3x4 0x8B68
561 #define GL_FLOAT_MAT4x2 0x8B69
562 #define GL_FLOAT_MAT4x3 0x8B6A
563 #define GL_SRGB 0x8C40
564 #define GL_SRGB8 0x8C41
565 #define GL_SRGB_ALPHA 0x8C42
566 #define GL_SRGB8_ALPHA8 0x8C43
567 #define GL_COMPRESSED_SRGB 0x8C48
568 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
569 #endif
570
571 #ifndef GL_VERSION_2_1_DEPRECATED
572 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
573 #define GL_SLUMINANCE_ALPHA 0x8C44
574 #define GL_SLUMINANCE8_ALPHA8 0x8C45
575 #define GL_SLUMINANCE 0x8C46
576 #define GL_SLUMINANCE8 0x8C47
577 #define GL_COMPRESSED_SLUMINANCE 0x8C4A
578 #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
579 #endif
580
581 #ifndef GL_VERSION_3_0
582 #define GL_COMPARE_REF_TO_TEXTURE 0x884E
583 #define GL_CLIP_DISTANCE0 0x3000
584 #define GL_CLIP_DISTANCE1 0x3001
585 #define GL_CLIP_DISTANCE2 0x3002
586 #define GL_CLIP_DISTANCE3 0x3003
587 #define GL_CLIP_DISTANCE4 0x3004
588 #define GL_CLIP_DISTANCE5 0x3005
589 #define GL_CLIP_DISTANCE6 0x3006
590 #define GL_CLIP_DISTANCE7 0x3007
591 #define GL_MAX_CLIP_DISTANCES 0x0D32
592 #define GL_MAJOR_VERSION 0x821B
593 #define GL_MINOR_VERSION 0x821C
594 #define GL_NUM_EXTENSIONS 0x821D
595 #define GL_CONTEXT_FLAGS 0x821E
596 #define GL_DEPTH_BUFFER 0x8223
597 #define GL_STENCIL_BUFFER 0x8224
598 #define GL_COMPRESSED_RED 0x8225
599 #define GL_COMPRESSED_RG 0x8226
600 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
601 #define GL_RGBA32F 0x8814
602 #define GL_RGB32F 0x8815
603 #define GL_RGBA16F 0x881A
604 #define GL_RGB16F 0x881B
605 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
606 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
607 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
608 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
609 #define GL_CLAMP_READ_COLOR 0x891C
610 #define GL_FIXED_ONLY 0x891D
611 #define GL_MAX_VARYING_COMPONENTS 0x8B4B
612 #define GL_TEXTURE_1D_ARRAY 0x8C18
613 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
614 #define GL_TEXTURE_2D_ARRAY 0x8C1A
615 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
616 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
617 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
618 #define GL_R11F_G11F_B10F 0x8C3A
619 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
620 #define GL_RGB9_E5 0x8C3D
621 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
622 #define GL_TEXTURE_SHARED_SIZE 0x8C3F
623 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
624 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
625 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
626 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
627 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
628 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
629 #define GL_PRIMITIVES_GENERATED 0x8C87
630 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
631 #define GL_RASTERIZER_DISCARD 0x8C89
632 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
633 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
634 #define GL_INTERLEAVED_ATTRIBS 0x8C8C
635 #define GL_SEPARATE_ATTRIBS 0x8C8D
636 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
637 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
638 #define GL_RGBA32UI 0x8D70
639 #define GL_RGB32UI 0x8D71
640 #define GL_RGBA16UI 0x8D76
641 #define GL_RGB16UI 0x8D77
642 #define GL_RGBA8UI 0x8D7C
643 #define GL_RGB8UI 0x8D7D
644 #define GL_RGBA32I 0x8D82
645 #define GL_RGB32I 0x8D83
646 #define GL_RGBA16I 0x8D88
647 #define GL_RGB16I 0x8D89
648 #define GL_RGBA8I 0x8D8E
649 #define GL_RGB8I 0x8D8F
650 #define GL_RED_INTEGER 0x8D94
651 #define GL_GREEN_INTEGER 0x8D95
652 #define GL_BLUE_INTEGER 0x8D96
653 #define GL_RGB_INTEGER 0x8D98
654 #define GL_RGBA_INTEGER 0x8D99
655 #define GL_BGR_INTEGER 0x8D9A
656 #define GL_BGRA_INTEGER 0x8D9B
657 #define GL_SAMPLER_1D_ARRAY 0x8DC0
658 #define GL_SAMPLER_2D_ARRAY 0x8DC1
659 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
660 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
661 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
662 #define GL_UNSIGNED_INT_VEC2 0x8DC6
663 #define GL_UNSIGNED_INT_VEC3 0x8DC7
664 #define GL_UNSIGNED_INT_VEC4 0x8DC8
665 #define GL_INT_SAMPLER_1D 0x8DC9
666 #define GL_INT_SAMPLER_2D 0x8DCA
667 #define GL_INT_SAMPLER_3D 0x8DCB
668 #define GL_INT_SAMPLER_CUBE 0x8DCC
669 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
670 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
671 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
672 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
673 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
674 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
675 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
676 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
677 #define GL_QUERY_WAIT 0x8E13
678 #define GL_QUERY_NO_WAIT 0x8E14
679 #define GL_QUERY_BY_REGION_WAIT 0x8E15
680 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
681 #define GL_BUFFER_ACCESS_FLAGS 0x911F
682 #define GL_BUFFER_MAP_LENGTH 0x9120
683 #define GL_BUFFER_MAP_OFFSET 0x9121
684 /* Reuse tokens from ARB_depth_buffer_float */
685 /* reuse GL_DEPTH_COMPONENT32F */
686 /* reuse GL_DEPTH32F_STENCIL8 */
687 /* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */
688 /* Reuse tokens from ARB_framebuffer_object */
689 /* reuse GL_INVALID_FRAMEBUFFER_OPERATION */
690 /* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
691 /* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
692 /* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
693 /* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
694 /* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
695 /* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
696 /* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
697 /* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
698 /* reuse GL_FRAMEBUFFER_DEFAULT */
699 /* reuse GL_FRAMEBUFFER_UNDEFINED */
700 /* reuse GL_DEPTH_STENCIL_ATTACHMENT */
701 /* reuse GL_INDEX */
702 /* reuse GL_MAX_RENDERBUFFER_SIZE */
703 /* reuse GL_DEPTH_STENCIL */
704 /* reuse GL_UNSIGNED_INT_24_8 */
705 /* reuse GL_DEPTH24_STENCIL8 */
706 /* reuse GL_TEXTURE_STENCIL_SIZE */
707 /* reuse GL_TEXTURE_RED_TYPE */
708 /* reuse GL_TEXTURE_GREEN_TYPE */
709 /* reuse GL_TEXTURE_BLUE_TYPE */
710 /* reuse GL_TEXTURE_ALPHA_TYPE */
711 /* reuse GL_TEXTURE_DEPTH_TYPE */
712 /* reuse GL_UNSIGNED_NORMALIZED */
713 /* reuse GL_FRAMEBUFFER_BINDING */
714 /* reuse GL_DRAW_FRAMEBUFFER_BINDING */
715 /* reuse GL_RENDERBUFFER_BINDING */
716 /* reuse GL_READ_FRAMEBUFFER */
717 /* reuse GL_DRAW_FRAMEBUFFER */
718 /* reuse GL_READ_FRAMEBUFFER_BINDING */
719 /* reuse GL_RENDERBUFFER_SAMPLES */
720 /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
721 /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
722 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
723 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
724 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
725 /* reuse GL_FRAMEBUFFER_COMPLETE */
726 /* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
727 /* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
728 /* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */
729 /* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */
730 /* reuse GL_FRAMEBUFFER_UNSUPPORTED */
731 /* reuse GL_MAX_COLOR_ATTACHMENTS */
732 /* reuse GL_COLOR_ATTACHMENT0 */
733 /* reuse GL_COLOR_ATTACHMENT1 */
734 /* reuse GL_COLOR_ATTACHMENT2 */
735 /* reuse GL_COLOR_ATTACHMENT3 */
736 /* reuse GL_COLOR_ATTACHMENT4 */
737 /* reuse GL_COLOR_ATTACHMENT5 */
738 /* reuse GL_COLOR_ATTACHMENT6 */
739 /* reuse GL_COLOR_ATTACHMENT7 */
740 /* reuse GL_COLOR_ATTACHMENT8 */
741 /* reuse GL_COLOR_ATTACHMENT9 */
742 /* reuse GL_COLOR_ATTACHMENT10 */
743 /* reuse GL_COLOR_ATTACHMENT11 */
744 /* reuse GL_COLOR_ATTACHMENT12 */
745 /* reuse GL_COLOR_ATTACHMENT13 */
746 /* reuse GL_COLOR_ATTACHMENT14 */
747 /* reuse GL_COLOR_ATTACHMENT15 */
748 /* reuse GL_DEPTH_ATTACHMENT */
749 /* reuse GL_STENCIL_ATTACHMENT */
750 /* reuse GL_FRAMEBUFFER */
751 /* reuse GL_RENDERBUFFER */
752 /* reuse GL_RENDERBUFFER_WIDTH */
753 /* reuse GL_RENDERBUFFER_HEIGHT */
754 /* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */
755 /* reuse GL_STENCIL_INDEX1 */
756 /* reuse GL_STENCIL_INDEX4 */
757 /* reuse GL_STENCIL_INDEX8 */
758 /* reuse GL_STENCIL_INDEX16 */
759 /* reuse GL_RENDERBUFFER_RED_SIZE */
760 /* reuse GL_RENDERBUFFER_GREEN_SIZE */
761 /* reuse GL_RENDERBUFFER_BLUE_SIZE */
762 /* reuse GL_RENDERBUFFER_ALPHA_SIZE */
763 /* reuse GL_RENDERBUFFER_DEPTH_SIZE */
764 /* reuse GL_RENDERBUFFER_STENCIL_SIZE */
765 /* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
766 /* reuse GL_MAX_SAMPLES */
767 /* Reuse tokens from ARB_framebuffer_sRGB */
768 /* reuse GL_FRAMEBUFFER_SRGB */
769 /* Reuse tokens from ARB_half_float_vertex */
770 /* reuse GL_HALF_FLOAT */
771 /* Reuse tokens from ARB_map_buffer_range */
772 /* reuse GL_MAP_READ_BIT */
773 /* reuse GL_MAP_WRITE_BIT */
774 /* reuse GL_MAP_INVALIDATE_RANGE_BIT */
775 /* reuse GL_MAP_INVALIDATE_BUFFER_BIT */
776 /* reuse GL_MAP_FLUSH_EXPLICIT_BIT */
777 /* reuse GL_MAP_UNSYNCHRONIZED_BIT */
778 /* Reuse tokens from ARB_texture_compression_rgtc */
779 /* reuse GL_COMPRESSED_RED_RGTC1 */
780 /* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */
781 /* reuse GL_COMPRESSED_RG_RGTC2 */
782 /* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */
783 /* Reuse tokens from ARB_texture_rg */
784 /* reuse GL_RG */
785 /* reuse GL_RG_INTEGER */
786 /* reuse GL_R8 */
787 /* reuse GL_R16 */
788 /* reuse GL_RG8 */
789 /* reuse GL_RG16 */
790 /* reuse GL_R16F */
791 /* reuse GL_R32F */
792 /* reuse GL_RG16F */
793 /* reuse GL_RG32F */
794 /* reuse GL_R8I */
795 /* reuse GL_R8UI */
796 /* reuse GL_R16I */
797 /* reuse GL_R16UI */
798 /* reuse GL_R32I */
799 /* reuse GL_R32UI */
800 /* reuse GL_RG8I */
801 /* reuse GL_RG8UI */
802 /* reuse GL_RG16I */
803 /* reuse GL_RG16UI */
804 /* reuse GL_RG32I */
805 /* reuse GL_RG32UI */
806 /* Reuse tokens from ARB_vertex_array_object */
807 /* reuse GL_VERTEX_ARRAY_BINDING */
808 #endif
809
810 #ifndef GL_VERSION_3_0_DEPRECATED
811 #define GL_CLAMP_VERTEX_COLOR 0x891A
812 #define GL_CLAMP_FRAGMENT_COLOR 0x891B
813 #define GL_ALPHA_INTEGER 0x8D97
814 /* Reuse tokens from ARB_framebuffer_object */
815 /* reuse GL_TEXTURE_LUMINANCE_TYPE */
816 /* reuse GL_TEXTURE_INTENSITY_TYPE */
817 #endif
818
819 #ifndef GL_VERSION_3_1
820 #define GL_SAMPLER_2D_RECT 0x8B63
821 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
822 #define GL_SAMPLER_BUFFER 0x8DC2
823 #define GL_INT_SAMPLER_2D_RECT 0x8DCD
824 #define GL_INT_SAMPLER_BUFFER 0x8DD0
825 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
826 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
827 #define GL_TEXTURE_BUFFER 0x8C2A
828 #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
829 #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
830 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
831 #define GL_TEXTURE_BUFFER_FORMAT 0x8C2E
832 #define GL_TEXTURE_RECTANGLE 0x84F5
833 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
834 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
835 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
836 #define GL_RED_SNORM 0x8F90
837 #define GL_RG_SNORM 0x8F91
838 #define GL_RGB_SNORM 0x8F92
839 #define GL_RGBA_SNORM 0x8F93
840 #define GL_R8_SNORM 0x8F94
841 #define GL_RG8_SNORM 0x8F95
842 #define GL_RGB8_SNORM 0x8F96
843 #define GL_RGBA8_SNORM 0x8F97
844 #define GL_R16_SNORM 0x8F98
845 #define GL_RG16_SNORM 0x8F99
846 #define GL_RGB16_SNORM 0x8F9A
847 #define GL_RGBA16_SNORM 0x8F9B
848 #define GL_SIGNED_NORMALIZED 0x8F9C
849 #define GL_PRIMITIVE_RESTART 0x8F9D
850 #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
851 /* Reuse tokens from ARB_copy_buffer */
852 /* reuse GL_COPY_READ_BUFFER */
853 /* reuse GL_COPY_WRITE_BUFFER */
854 /* Reuse tokens from ARB_draw_instanced (none) */
855 /* Reuse tokens from ARB_uniform_buffer_object */
856 /* reuse GL_UNIFORM_BUFFER */
857 /* reuse GL_UNIFORM_BUFFER_BINDING */
858 /* reuse GL_UNIFORM_BUFFER_START */
859 /* reuse GL_UNIFORM_BUFFER_SIZE */
860 /* reuse GL_MAX_VERTEX_UNIFORM_BLOCKS */
861 /* reuse GL_MAX_FRAGMENT_UNIFORM_BLOCKS */
862 /* reuse GL_MAX_COMBINED_UNIFORM_BLOCKS */
863 /* reuse GL_MAX_UNIFORM_BUFFER_BINDINGS */
864 /* reuse GL_MAX_UNIFORM_BLOCK_SIZE */
865 /* reuse GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS */
866 /* reuse GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS */
867 /* reuse GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT */
868 /* reuse GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH */
869 /* reuse GL_ACTIVE_UNIFORM_BLOCKS */
870 /* reuse GL_UNIFORM_TYPE */
871 /* reuse GL_UNIFORM_SIZE */
872 /* reuse GL_UNIFORM_NAME_LENGTH */
873 /* reuse GL_UNIFORM_BLOCK_INDEX */
874 /* reuse GL_UNIFORM_OFFSET */
875 /* reuse GL_UNIFORM_ARRAY_STRIDE */
876 /* reuse GL_UNIFORM_MATRIX_STRIDE */
877 /* reuse GL_UNIFORM_IS_ROW_MAJOR */
878 /* reuse GL_UNIFORM_BLOCK_BINDING */
879 /* reuse GL_UNIFORM_BLOCK_DATA_SIZE */
880 /* reuse GL_UNIFORM_BLOCK_NAME_LENGTH */
881 /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS */
882 /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES */
883 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER */
884 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER */
885 /* reuse GL_INVALID_INDEX */
886 #endif
887
888 #ifndef GL_VERSION_3_2
889 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
890 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
891 #define GL_LINES_ADJACENCY 0x000A
892 #define GL_LINE_STRIP_ADJACENCY 0x000B
893 #define GL_TRIANGLES_ADJACENCY 0x000C
894 #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
895 #define GL_PROGRAM_POINT_SIZE 0x8642
896 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
897 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
898 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
899 #define GL_GEOMETRY_SHADER 0x8DD9
900 #define GL_GEOMETRY_VERTICES_OUT 0x8916
901 #define GL_GEOMETRY_INPUT_TYPE 0x8917
902 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
903 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
904 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
905 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
906 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
907 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
908 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
909 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
910 #define GL_CONTEXT_PROFILE_MASK 0x9126
911 /* reuse GL_MAX_VARYING_COMPONENTS */
912 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
913 /* Reuse tokens from ARB_depth_clamp */
914 /* reuse GL_DEPTH_CLAMP */
915 /* Reuse tokens from ARB_draw_elements_base_vertex (none) */
916 /* Reuse tokens from ARB_fragment_coord_conventions (none) */
917 /* Reuse tokens from ARB_provoking_vertex */
918 /* reuse GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION */
919 /* reuse GL_FIRST_VERTEX_CONVENTION */
920 /* reuse GL_LAST_VERTEX_CONVENTION */
921 /* reuse GL_PROVOKING_VERTEX */
922 /* Reuse tokens from ARB_seamless_cube_map */
923 /* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
924 /* Reuse tokens from ARB_sync */
925 /* reuse GL_MAX_SERVER_WAIT_TIMEOUT */
926 /* reuse GL_OBJECT_TYPE */
927 /* reuse GL_SYNC_CONDITION */
928 /* reuse GL_SYNC_STATUS */
929 /* reuse GL_SYNC_FLAGS */
930 /* reuse GL_SYNC_FENCE */
931 /* reuse GL_SYNC_GPU_COMMANDS_COMPLETE */
932 /* reuse GL_UNSIGNALED */
933 /* reuse GL_SIGNALED */
934 /* reuse GL_ALREADY_SIGNALED */
935 /* reuse GL_TIMEOUT_EXPIRED */
936 /* reuse GL_CONDITION_SATISFIED */
937 /* reuse GL_WAIT_FAILED */
938 /* reuse GL_TIMEOUT_IGNORED */
939 /* reuse GL_SYNC_FLUSH_COMMANDS_BIT */
940 /* reuse GL_TIMEOUT_IGNORED */
941 /* Reuse tokens from ARB_texture_multisample */
942 /* reuse GL_SAMPLE_POSITION */
943 /* reuse GL_SAMPLE_MASK */
944 /* reuse GL_SAMPLE_MASK_VALUE */
945 /* reuse GL_MAX_SAMPLE_MASK_WORDS */
946 /* reuse GL_TEXTURE_2D_MULTISAMPLE */
947 /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE */
948 /* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */
949 /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY */
950 /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE */
951 /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY */
952 /* reuse GL_TEXTURE_SAMPLES */
953 /* reuse GL_TEXTURE_FIXED_SAMPLE_LOCATIONS */
954 /* reuse GL_SAMPLER_2D_MULTISAMPLE */
955 /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE */
956 /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE */
957 /* reuse GL_SAMPLER_2D_MULTISAMPLE_ARRAY */
958 /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
959 /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
960 /* reuse GL_MAX_COLOR_TEXTURE_SAMPLES */
961 /* reuse GL_MAX_DEPTH_TEXTURE_SAMPLES */
962 /* reuse GL_MAX_INTEGER_SAMPLES */
963 /* Don't need to reuse tokens from ARB_vertex_array_bgra since they're already in 1.2 core */
964 #endif
965
966 #ifndef GL_VERSION_3_3
967 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
968 /* Reuse tokens from ARB_blend_func_extended */
969 /* reuse GL_SRC1_COLOR */
970 /* reuse GL_ONE_MINUS_SRC1_COLOR */
971 /* reuse GL_ONE_MINUS_SRC1_ALPHA */
972 /* reuse GL_MAX_DUAL_SOURCE_DRAW_BUFFERS */
973 /* Reuse tokens from ARB_explicit_attrib_location (none) */
974 /* Reuse tokens from ARB_occlusion_query2 */
975 /* reuse GL_ANY_SAMPLES_PASSED */
976 /* Reuse tokens from ARB_sampler_objects */
977 /* reuse GL_SAMPLER_BINDING */
978 /* Reuse tokens from ARB_shader_bit_encoding (none) */
979 /* Reuse tokens from ARB_texture_rgb10_a2ui */
980 /* reuse GL_RGB10_A2UI */
981 /* Reuse tokens from ARB_texture_swizzle */
982 /* reuse GL_TEXTURE_SWIZZLE_R */
983 /* reuse GL_TEXTURE_SWIZZLE_G */
984 /* reuse GL_TEXTURE_SWIZZLE_B */
985 /* reuse GL_TEXTURE_SWIZZLE_A */
986 /* reuse GL_TEXTURE_SWIZZLE_RGBA */
987 /* Reuse tokens from ARB_timer_query */
988 /* reuse GL_TIME_ELAPSED */
989 /* reuse GL_TIMESTAMP */
990 /* Reuse tokens from ARB_vertex_type_2_10_10_10_rev */
991 /* reuse GL_INT_2_10_10_10_REV */
992 #endif
993
994 #ifndef GL_VERSION_4_0
995 #define GL_SAMPLE_SHADING 0x8C36
996 #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
997 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
998 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
999 #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
1000 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
1001 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
1002 #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
1003 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
1004 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
1005 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
1006 /* Reuse tokens from ARB_texture_query_lod (none) */
1007 /* Reuse tokens from ARB_draw_buffers_blend (none) */
1008 /* Reuse tokens from ARB_draw_indirect */
1009 /* reuse GL_DRAW_INDIRECT_BUFFER */
1010 /* reuse GL_DRAW_INDIRECT_BUFFER_BINDING */
1011 /* Reuse tokens from ARB_gpu_shader5 */
1012 /* reuse GL_GEOMETRY_SHADER_INVOCATIONS */
1013 /* reuse GL_MAX_GEOMETRY_SHADER_INVOCATIONS */
1014 /* reuse GL_MIN_FRAGMENT_INTERPOLATION_OFFSET */
1015 /* reuse GL_MAX_FRAGMENT_INTERPOLATION_OFFSET */
1016 /* reuse GL_FRAGMENT_INTERPOLATION_OFFSET_BITS */
1017 /* reuse GL_MAX_VERTEX_STREAMS */
1018 /* Reuse tokens from ARB_gpu_shader_fp64 */
1019 /* reuse GL_DOUBLE_VEC2 */
1020 /* reuse GL_DOUBLE_VEC3 */
1021 /* reuse GL_DOUBLE_VEC4 */
1022 /* reuse GL_DOUBLE_MAT2 */
1023 /* reuse GL_DOUBLE_MAT3 */
1024 /* reuse GL_DOUBLE_MAT4 */
1025 /* reuse GL_DOUBLE_MAT2x3 */
1026 /* reuse GL_DOUBLE_MAT2x4 */
1027 /* reuse GL_DOUBLE_MAT3x2 */
1028 /* reuse GL_DOUBLE_MAT3x4 */
1029 /* reuse GL_DOUBLE_MAT4x2 */
1030 /* reuse GL_DOUBLE_MAT4x3 */
1031 /* Reuse tokens from ARB_shader_subroutine */
1032 /* reuse GL_ACTIVE_SUBROUTINES */
1033 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORMS */
1034 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS */
1035 /* reuse GL_ACTIVE_SUBROUTINE_MAX_LENGTH */
1036 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH */
1037 /* reuse GL_MAX_SUBROUTINES */
1038 /* reuse GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS */
1039 /* reuse GL_NUM_COMPATIBLE_SUBROUTINES */
1040 /* reuse GL_COMPATIBLE_SUBROUTINES */
1041 /* Reuse tokens from ARB_tessellation_shader */
1042 /* reuse GL_PATCHES */
1043 /* reuse GL_PATCH_VERTICES */
1044 /* reuse GL_PATCH_DEFAULT_INNER_LEVEL */
1045 /* reuse GL_PATCH_DEFAULT_OUTER_LEVEL */
1046 /* reuse GL_TESS_CONTROL_OUTPUT_VERTICES */
1047 /* reuse GL_TESS_GEN_MODE */
1048 /* reuse GL_TESS_GEN_SPACING */
1049 /* reuse GL_TESS_GEN_VERTEX_ORDER */
1050 /* reuse GL_TESS_GEN_POINT_MODE */
1051 /* reuse GL_ISOLINES */
1052 /* reuse GL_FRACTIONAL_ODD */
1053 /* reuse GL_FRACTIONAL_EVEN */
1054 /* reuse GL_MAX_PATCH_VERTICES */
1055 /* reuse GL_MAX_TESS_GEN_LEVEL */
1056 /* reuse GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS */
1057 /* reuse GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS */
1058 /* reuse GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS */
1059 /* reuse GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS */
1060 /* reuse GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS */
1061 /* reuse GL_MAX_TESS_PATCH_COMPONENTS */
1062 /* reuse GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS */
1063 /* reuse GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS */
1064 /* reuse GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS */
1065 /* reuse GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS */
1066 /* reuse GL_MAX_TESS_CONTROL_INPUT_COMPONENTS */
1067 /* reuse GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS */
1068 /* reuse GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS */
1069 /* reuse GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS */
1070 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER */
1071 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER */
1072 /* reuse GL_TESS_EVALUATION_SHADER */
1073 /* reuse GL_TESS_CONTROL_SHADER */
1074 /* Reuse tokens from ARB_texture_buffer_object_rgb32 (none) */
1075 /* Reuse tokens from ARB_transform_feedback2 */
1076 /* reuse GL_TRANSFORM_FEEDBACK */
1077 /* reuse GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
1078 /* reuse GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
1079 /* reuse GL_TRANSFORM_FEEDBACK_BINDING */
1080 /* Reuse tokens from ARB_transform_feedback3 */
1081 /* reuse GL_MAX_TRANSFORM_FEEDBACK_BUFFERS */
1082 /* reuse GL_MAX_VERTEX_STREAMS */
1083 #endif
1084
1085 #ifndef GL_VERSION_4_1
1086 /* Reuse tokens from ARB_ES2_compatibility */
1087 /* reuse GL_FIXED */
1088 /* reuse GL_IMPLEMENTATION_COLOR_READ_TYPE */
1089 /* reuse GL_IMPLEMENTATION_COLOR_READ_FORMAT */
1090 /* reuse GL_LOW_FLOAT */
1091 /* reuse GL_MEDIUM_FLOAT */
1092 /* reuse GL_HIGH_FLOAT */
1093 /* reuse GL_LOW_INT */
1094 /* reuse GL_MEDIUM_INT */
1095 /* reuse GL_HIGH_INT */
1096 /* reuse GL_SHADER_COMPILER */
1097 /* reuse GL_NUM_SHADER_BINARY_FORMATS */
1098 /* reuse GL_MAX_VERTEX_UNIFORM_VECTORS */
1099 /* reuse GL_MAX_VARYING_VECTORS */
1100 /* reuse GL_MAX_FRAGMENT_UNIFORM_VECTORS */
1101 /* Reuse tokens from ARB_get_program_binary */
1102 /* reuse GL_PROGRAM_BINARY_RETRIEVABLE_HINT */
1103 /* reuse GL_PROGRAM_BINARY_LENGTH */
1104 /* reuse GL_NUM_PROGRAM_BINARY_FORMATS */
1105 /* reuse GL_PROGRAM_BINARY_FORMATS */
1106 /* Reuse tokens from ARB_separate_shader_objects */
1107 /* reuse GL_VERTEX_SHADER_BIT */
1108 /* reuse GL_FRAGMENT_SHADER_BIT */
1109 /* reuse GL_GEOMETRY_SHADER_BIT */
1110 /* reuse GL_TESS_CONTROL_SHADER_BIT */
1111 /* reuse GL_TESS_EVALUATION_SHADER_BIT */
1112 /* reuse GL_ALL_SHADER_BITS */
1113 /* reuse GL_PROGRAM_SEPARABLE */
1114 /* reuse GL_ACTIVE_PROGRAM */
1115 /* reuse GL_PROGRAM_PIPELINE_BINDING */
1116 /* Reuse tokens from ARB_shader_precision (none) */
1117 /* Reuse tokens from ARB_vertex_attrib_64bit - all are in GL 3.0 and 4.0 already */
1118 /* Reuse tokens from ARB_viewport_array - some are in GL 1.1 and ARB_provoking_vertex already */
1119 /* reuse GL_MAX_VIEWPORTS */
1120 /* reuse GL_VIEWPORT_SUBPIXEL_BITS */
1121 /* reuse GL_VIEWPORT_BOUNDS_RANGE */
1122 /* reuse GL_LAYER_PROVOKING_VERTEX */
1123 /* reuse GL_VIEWPORT_INDEX_PROVOKING_VERTEX */
1124 /* reuse GL_UNDEFINED_VERTEX */
1125 #endif
1126
1127 #ifndef GL_ARB_multitexture
1128 #define GL_TEXTURE0_ARB 0x84C0
1129 #define GL_TEXTURE1_ARB 0x84C1
1130 #define GL_TEXTURE2_ARB 0x84C2
1131 #define GL_TEXTURE3_ARB 0x84C3
1132 #define GL_TEXTURE4_ARB 0x84C4
1133 #define GL_TEXTURE5_ARB 0x84C5
1134 #define GL_TEXTURE6_ARB 0x84C6
1135 #define GL_TEXTURE7_ARB 0x84C7
1136 #define GL_TEXTURE8_ARB 0x84C8
1137 #define GL_TEXTURE9_ARB 0x84C9
1138 #define GL_TEXTURE10_ARB 0x84CA
1139 #define GL_TEXTURE11_ARB 0x84CB
1140 #define GL_TEXTURE12_ARB 0x84CC
1141 #define GL_TEXTURE13_ARB 0x84CD
1142 #define GL_TEXTURE14_ARB 0x84CE
1143 #define GL_TEXTURE15_ARB 0x84CF
1144 #define GL_TEXTURE16_ARB 0x84D0
1145 #define GL_TEXTURE17_ARB 0x84D1
1146 #define GL_TEXTURE18_ARB 0x84D2
1147 #define GL_TEXTURE19_ARB 0x84D3
1148 #define GL_TEXTURE20_ARB 0x84D4
1149 #define GL_TEXTURE21_ARB 0x84D5
1150 #define GL_TEXTURE22_ARB 0x84D6
1151 #define GL_TEXTURE23_ARB 0x84D7
1152 #define GL_TEXTURE24_ARB 0x84D8
1153 #define GL_TEXTURE25_ARB 0x84D9
1154 #define GL_TEXTURE26_ARB 0x84DA
1155 #define GL_TEXTURE27_ARB 0x84DB
1156 #define GL_TEXTURE28_ARB 0x84DC
1157 #define GL_TEXTURE29_ARB 0x84DD
1158 #define GL_TEXTURE30_ARB 0x84DE
1159 #define GL_TEXTURE31_ARB 0x84DF
1160 #define GL_ACTIVE_TEXTURE_ARB 0x84E0
1161 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
1162 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
1163 #endif
1164
1165 #ifndef GL_ARB_transpose_matrix
1166 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
1167 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
1168 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
1169 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
1170 #endif
1171
1172 #ifndef GL_ARB_multisample
1173 #define GL_MULTISAMPLE_ARB 0x809D
1174 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
1175 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
1176 #define GL_SAMPLE_COVERAGE_ARB 0x80A0
1177 #define GL_SAMPLE_BUFFERS_ARB 0x80A8
1178 #define GL_SAMPLES_ARB 0x80A9
1179 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
1180 #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
1181 #define GL_MULTISAMPLE_BIT_ARB 0x20000000
1182 #endif
1183
1184 #ifndef GL_ARB_texture_env_add
1185 #endif
1186
1187 #ifndef GL_ARB_texture_cube_map
1188 #define GL_NORMAL_MAP_ARB 0x8511
1189 #define GL_REFLECTION_MAP_ARB 0x8512
1190 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
1191 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
1192 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
1193 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
1194 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
1195 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
1196 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
1197 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
1198 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
1199 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
1200 #endif
1201
1202 #ifndef GL_ARB_texture_compression
1203 #define GL_COMPRESSED_ALPHA_ARB 0x84E9
1204 #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
1205 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
1206 #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
1207 #define GL_COMPRESSED_RGB_ARB 0x84ED
1208 #define GL_COMPRESSED_RGBA_ARB 0x84EE
1209 #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
1210 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
1211 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
1212 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
1213 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
1214 #endif
1215
1216 #ifndef GL_ARB_texture_border_clamp
1217 #define GL_CLAMP_TO_BORDER_ARB 0x812D
1218 #endif
1219
1220 #ifndef GL_ARB_point_parameters
1221 #define GL_POINT_SIZE_MIN_ARB 0x8126
1222 #define GL_POINT_SIZE_MAX_ARB 0x8127
1223 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
1224 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
1225 #endif
1226
1227 #ifndef GL_ARB_vertex_blend
1228 #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
1229 #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
1230 #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
1231 #define GL_VERTEX_BLEND_ARB 0x86A7
1232 #define GL_CURRENT_WEIGHT_ARB 0x86A8
1233 #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
1234 #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
1235 #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
1236 #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
1237 #define GL_WEIGHT_ARRAY_ARB 0x86AD
1238 #define GL_MODELVIEW0_ARB 0x1700
1239 #define GL_MODELVIEW1_ARB 0x850A
1240 #define GL_MODELVIEW2_ARB 0x8722
1241 #define GL_MODELVIEW3_ARB 0x8723
1242 #define GL_MODELVIEW4_ARB 0x8724
1243 #define GL_MODELVIEW5_ARB 0x8725
1244 #define GL_MODELVIEW6_ARB 0x8726
1245 #define GL_MODELVIEW7_ARB 0x8727
1246 #define GL_MODELVIEW8_ARB 0x8728
1247 #define GL_MODELVIEW9_ARB 0x8729
1248 #define GL_MODELVIEW10_ARB 0x872A
1249 #define GL_MODELVIEW11_ARB 0x872B
1250 #define GL_MODELVIEW12_ARB 0x872C
1251 #define GL_MODELVIEW13_ARB 0x872D
1252 #define GL_MODELVIEW14_ARB 0x872E
1253 #define GL_MODELVIEW15_ARB 0x872F
1254 #define GL_MODELVIEW16_ARB 0x8730
1255 #define GL_MODELVIEW17_ARB 0x8731
1256 #define GL_MODELVIEW18_ARB 0x8732
1257 #define GL_MODELVIEW19_ARB 0x8733
1258 #define GL_MODELVIEW20_ARB 0x8734
1259 #define GL_MODELVIEW21_ARB 0x8735
1260 #define GL_MODELVIEW22_ARB 0x8736
1261 #define GL_MODELVIEW23_ARB 0x8737
1262 #define GL_MODELVIEW24_ARB 0x8738
1263 #define GL_MODELVIEW25_ARB 0x8739
1264 #define GL_MODELVIEW26_ARB 0x873A
1265 #define GL_MODELVIEW27_ARB 0x873B
1266 #define GL_MODELVIEW28_ARB 0x873C
1267 #define GL_MODELVIEW29_ARB 0x873D
1268 #define GL_MODELVIEW30_ARB 0x873E
1269 #define GL_MODELVIEW31_ARB 0x873F
1270 #endif
1271
1272 #ifndef GL_ARB_matrix_palette
1273 #define GL_MATRIX_PALETTE_ARB 0x8840
1274 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
1275 #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
1276 #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
1277 #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
1278 #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
1279 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
1280 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
1281 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
1282 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
1283 #endif
1284
1285 #ifndef GL_ARB_texture_env_combine
1286 #define GL_COMBINE_ARB 0x8570
1287 #define GL_COMBINE_RGB_ARB 0x8571
1288 #define GL_COMBINE_ALPHA_ARB 0x8572
1289 #define GL_SOURCE0_RGB_ARB 0x8580
1290 #define GL_SOURCE1_RGB_ARB 0x8581
1291 #define GL_SOURCE2_RGB_ARB 0x8582
1292 #define GL_SOURCE0_ALPHA_ARB 0x8588
1293 #define GL_SOURCE1_ALPHA_ARB 0x8589
1294 #define GL_SOURCE2_ALPHA_ARB 0x858A
1295 #define GL_OPERAND0_RGB_ARB 0x8590
1296 #define GL_OPERAND1_RGB_ARB 0x8591
1297 #define GL_OPERAND2_RGB_ARB 0x8592
1298 #define GL_OPERAND0_ALPHA_ARB 0x8598
1299 #define GL_OPERAND1_ALPHA_ARB 0x8599
1300 #define GL_OPERAND2_ALPHA_ARB 0x859A
1301 #define GL_RGB_SCALE_ARB 0x8573
1302 #define GL_ADD_SIGNED_ARB 0x8574
1303 #define GL_INTERPOLATE_ARB 0x8575
1304 #define GL_SUBTRACT_ARB 0x84E7
1305 #define GL_CONSTANT_ARB 0x8576
1306 #define GL_PRIMARY_COLOR_ARB 0x8577
1307 #define GL_PREVIOUS_ARB 0x8578
1308 #endif
1309
1310 #ifndef GL_ARB_texture_env_crossbar
1311 #endif
1312
1313 #ifndef GL_ARB_texture_env_dot3
1314 #define GL_DOT3_RGB_ARB 0x86AE
1315 #define GL_DOT3_RGBA_ARB 0x86AF
1316 #endif
1317
1318 #ifndef GL_ARB_texture_mirrored_repeat
1319 #define GL_MIRRORED_REPEAT_ARB 0x8370
1320 #endif
1321
1322 #ifndef GL_ARB_depth_texture
1323 #define GL_DEPTH_COMPONENT16_ARB 0x81A5
1324 #define GL_DEPTH_COMPONENT24_ARB 0x81A6
1325 #define GL_DEPTH_COMPONENT32_ARB 0x81A7
1326 #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
1327 #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
1328 #endif
1329
1330 #ifndef GL_ARB_shadow
1331 #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
1332 #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
1333 #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
1334 #endif
1335
1336 #ifndef GL_ARB_shadow_ambient
1337 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
1338 #endif
1339
1340 #ifndef GL_ARB_window_pos
1341 #endif
1342
1343 #ifndef GL_ARB_vertex_program
1344 #define GL_COLOR_SUM_ARB 0x8458
1345 #define GL_VERTEX_PROGRAM_ARB 0x8620
1346 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
1347 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
1348 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
1349 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
1350 #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
1351 #define GL_PROGRAM_LENGTH_ARB 0x8627
1352 #define GL_PROGRAM_STRING_ARB 0x8628
1353 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
1354 #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
1355 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
1356 #define GL_CURRENT_MATRIX_ARB 0x8641
1357 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
1358 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
1359 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
1360 #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
1361 #define GL_PROGRAM_BINDING_ARB 0x8677
1362 #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
1363 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
1364 #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
1365 #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
1366 #define GL_PROGRAM_FORMAT_ARB 0x8876
1367 #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
1368 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
1369 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
1370 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
1371 #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
1372 #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
1373 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
1374 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
1375 #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
1376 #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
1377 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
1378 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
1379 #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
1380 #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
1381 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
1382 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
1383 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
1384 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
1385 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
1386 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
1387 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
1388 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
1389 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
1390 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
1391 #define GL_MATRIX0_ARB 0x88C0
1392 #define GL_MATRIX1_ARB 0x88C1
1393 #define GL_MATRIX2_ARB 0x88C2
1394 #define GL_MATRIX3_ARB 0x88C3
1395 #define GL_MATRIX4_ARB 0x88C4
1396 #define GL_MATRIX5_ARB 0x88C5
1397 #define GL_MATRIX6_ARB 0x88C6
1398 #define GL_MATRIX7_ARB 0x88C7
1399 #define GL_MATRIX8_ARB 0x88C8
1400 #define GL_MATRIX9_ARB 0x88C9
1401 #define GL_MATRIX10_ARB 0x88CA
1402 #define GL_MATRIX11_ARB 0x88CB
1403 #define GL_MATRIX12_ARB 0x88CC
1404 #define GL_MATRIX13_ARB 0x88CD
1405 #define GL_MATRIX14_ARB 0x88CE
1406 #define GL_MATRIX15_ARB 0x88CF
1407 #define GL_MATRIX16_ARB 0x88D0
1408 #define GL_MATRIX17_ARB 0x88D1
1409 #define GL_MATRIX18_ARB 0x88D2
1410 #define GL_MATRIX19_ARB 0x88D3
1411 #define GL_MATRIX20_ARB 0x88D4
1412 #define GL_MATRIX21_ARB 0x88D5
1413 #define GL_MATRIX22_ARB 0x88D6
1414 #define GL_MATRIX23_ARB 0x88D7
1415 #define GL_MATRIX24_ARB 0x88D8
1416 #define GL_MATRIX25_ARB 0x88D9
1417 #define GL_MATRIX26_ARB 0x88DA
1418 #define GL_MATRIX27_ARB 0x88DB
1419 #define GL_MATRIX28_ARB 0x88DC
1420 #define GL_MATRIX29_ARB 0x88DD
1421 #define GL_MATRIX30_ARB 0x88DE
1422 #define GL_MATRIX31_ARB 0x88DF
1423 #endif
1424
1425 #ifndef GL_ARB_fragment_program
1426 #define GL_FRAGMENT_PROGRAM_ARB 0x8804
1427 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
1428 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
1429 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
1430 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
1431 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
1432 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
1433 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
1434 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
1435 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
1436 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
1437 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
1438 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
1439 #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
1440 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
1441 #endif
1442
1443 #ifndef GL_ARB_vertex_buffer_object
1444 #define GL_BUFFER_SIZE_ARB 0x8764
1445 #define GL_BUFFER_USAGE_ARB 0x8765
1446 #define GL_ARRAY_BUFFER_ARB 0x8892
1447 #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
1448 #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
1449 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
1450 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
1451 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
1452 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
1453 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
1454 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
1455 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
1456 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
1457 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
1458 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
1459 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
1460 #define GL_READ_ONLY_ARB 0x88B8
1461 #define GL_WRITE_ONLY_ARB 0x88B9
1462 #define GL_READ_WRITE_ARB 0x88BA
1463 #define GL_BUFFER_ACCESS_ARB 0x88BB
1464 #define GL_BUFFER_MAPPED_ARB 0x88BC
1465 #define GL_BUFFER_MAP_POINTER_ARB 0x88BD
1466 #define GL_STREAM_DRAW_ARB 0x88E0
1467 #define GL_STREAM_READ_ARB 0x88E1
1468 #define GL_STREAM_COPY_ARB 0x88E2
1469 #define GL_STATIC_DRAW_ARB 0x88E4
1470 #define GL_STATIC_READ_ARB 0x88E5
1471 #define GL_STATIC_COPY_ARB 0x88E6
1472 #define GL_DYNAMIC_DRAW_ARB 0x88E8
1473 #define GL_DYNAMIC_READ_ARB 0x88E9
1474 #define GL_DYNAMIC_COPY_ARB 0x88EA
1475 #endif
1476
1477 #ifndef GL_ARB_occlusion_query
1478 #define GL_QUERY_COUNTER_BITS_ARB 0x8864
1479 #define GL_CURRENT_QUERY_ARB 0x8865
1480 #define GL_QUERY_RESULT_ARB 0x8866
1481 #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
1482 #define GL_SAMPLES_PASSED_ARB 0x8914
1483 #endif
1484
1485 #ifndef GL_ARB_shader_objects
1486 #define GL_PROGRAM_OBJECT_ARB 0x8B40
1487 #define GL_SHADER_OBJECT_ARB 0x8B48
1488 #define GL_OBJECT_TYPE_ARB 0x8B4E
1489 #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
1490 #define GL_FLOAT_VEC2_ARB 0x8B50
1491 #define GL_FLOAT_VEC3_ARB 0x8B51
1492 #define GL_FLOAT_VEC4_ARB 0x8B52
1493 #define GL_INT_VEC2_ARB 0x8B53
1494 #define GL_INT_VEC3_ARB 0x8B54
1495 #define GL_INT_VEC4_ARB 0x8B55
1496 #define GL_BOOL_ARB 0x8B56
1497 #define GL_BOOL_VEC2_ARB 0x8B57
1498 #define GL_BOOL_VEC3_ARB 0x8B58
1499 #define GL_BOOL_VEC4_ARB 0x8B59
1500 #define GL_FLOAT_MAT2_ARB 0x8B5A
1501 #define GL_FLOAT_MAT3_ARB 0x8B5B
1502 #define GL_FLOAT_MAT4_ARB 0x8B5C
1503 #define GL_SAMPLER_1D_ARB 0x8B5D
1504 #define GL_SAMPLER_2D_ARB 0x8B5E
1505 #define GL_SAMPLER_3D_ARB 0x8B5F
1506 #define GL_SAMPLER_CUBE_ARB 0x8B60
1507 #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
1508 #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
1509 #define GL_SAMPLER_2D_RECT_ARB 0x8B63
1510 #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
1511 #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
1512 #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
1513 #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
1514 #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
1515 #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
1516 #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
1517 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
1518 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
1519 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
1520 #endif
1521
1522 #ifndef GL_ARB_vertex_shader
1523 #define GL_VERTEX_SHADER_ARB 0x8B31
1524 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
1525 #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
1526 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
1527 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
1528 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
1529 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
1530 #endif
1531
1532 #ifndef GL_ARB_fragment_shader
1533 #define GL_FRAGMENT_SHADER_ARB 0x8B30
1534 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
1535 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
1536 #endif
1537
1538 #ifndef GL_ARB_shading_language_100
1539 #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
1540 #endif
1541
1542 #ifndef GL_ARB_texture_non_power_of_two
1543 #endif
1544
1545 #ifndef GL_ARB_point_sprite
1546 #define GL_POINT_SPRITE_ARB 0x8861
1547 #define GL_COORD_REPLACE_ARB 0x8862
1548 #endif
1549
1550 #ifndef GL_ARB_fragment_program_shadow
1551 #endif
1552
1553 #ifndef GL_ARB_draw_buffers
1554 #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
1555 #define GL_DRAW_BUFFER0_ARB 0x8825
1556 #define GL_DRAW_BUFFER1_ARB 0x8826
1557 #define GL_DRAW_BUFFER2_ARB 0x8827
1558 #define GL_DRAW_BUFFER3_ARB 0x8828
1559 #define GL_DRAW_BUFFER4_ARB 0x8829
1560 #define GL_DRAW_BUFFER5_ARB 0x882A
1561 #define GL_DRAW_BUFFER6_ARB 0x882B
1562 #define GL_DRAW_BUFFER7_ARB 0x882C
1563 #define GL_DRAW_BUFFER8_ARB 0x882D
1564 #define GL_DRAW_BUFFER9_ARB 0x882E
1565 #define GL_DRAW_BUFFER10_ARB 0x882F
1566 #define GL_DRAW_BUFFER11_ARB 0x8830
1567 #define GL_DRAW_BUFFER12_ARB 0x8831
1568 #define GL_DRAW_BUFFER13_ARB 0x8832
1569 #define GL_DRAW_BUFFER14_ARB 0x8833
1570 #define GL_DRAW_BUFFER15_ARB 0x8834
1571 #endif
1572
1573 #ifndef GL_ARB_texture_rectangle
1574 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
1575 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
1576 #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
1577 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
1578 #endif
1579
1580 #ifndef GL_ARB_color_buffer_float
1581 #define GL_RGBA_FLOAT_MODE_ARB 0x8820
1582 #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
1583 #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
1584 #define GL_CLAMP_READ_COLOR_ARB 0x891C
1585 #define GL_FIXED_ONLY_ARB 0x891D
1586 #endif
1587
1588 #ifndef GL_ARB_half_float_pixel
1589 #define GL_HALF_FLOAT_ARB 0x140B
1590 #endif
1591
1592 #ifndef GL_ARB_texture_float
1593 #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
1594 #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
1595 #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
1596 #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
1597 #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
1598 #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
1599 #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
1600 #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
1601 #define GL_RGBA32F_ARB 0x8814
1602 #define GL_RGB32F_ARB 0x8815
1603 #define GL_ALPHA32F_ARB 0x8816
1604 #define GL_INTENSITY32F_ARB 0x8817
1605 #define GL_LUMINANCE32F_ARB 0x8818
1606 #define GL_LUMINANCE_ALPHA32F_ARB 0x8819
1607 #define GL_RGBA16F_ARB 0x881A
1608 #define GL_RGB16F_ARB 0x881B
1609 #define GL_ALPHA16F_ARB 0x881C
1610 #define GL_INTENSITY16F_ARB 0x881D
1611 #define GL_LUMINANCE16F_ARB 0x881E
1612 #define GL_LUMINANCE_ALPHA16F_ARB 0x881F
1613 #endif
1614
1615 #ifndef GL_ARB_pixel_buffer_object
1616 #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
1617 #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
1618 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
1619 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
1620 #endif
1621
1622 #ifndef GL_ARB_depth_buffer_float
1623 #define GL_DEPTH_COMPONENT32F 0x8CAC
1624 #define GL_DEPTH32F_STENCIL8 0x8CAD
1625 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
1626 #endif
1627
1628 #ifndef GL_ARB_draw_instanced
1629 #endif
1630
1631 #ifndef GL_ARB_framebuffer_object
1632 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
1633 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
1634 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
1635 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
1636 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
1637 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
1638 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
1639 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
1640 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
1641 #define GL_FRAMEBUFFER_DEFAULT 0x8218
1642 #define GL_FRAMEBUFFER_UNDEFINED 0x8219
1643 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
1644 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
1645 #define GL_DEPTH_STENCIL 0x84F9
1646 #define GL_UNSIGNED_INT_24_8 0x84FA
1647 #define GL_DEPTH24_STENCIL8 0x88F0
1648 #define GL_TEXTURE_STENCIL_SIZE 0x88F1
1649 #define GL_TEXTURE_RED_TYPE 0x8C10
1650 #define GL_TEXTURE_GREEN_TYPE 0x8C11
1651 #define GL_TEXTURE_BLUE_TYPE 0x8C12
1652 #define GL_TEXTURE_ALPHA_TYPE 0x8C13
1653 #define GL_TEXTURE_DEPTH_TYPE 0x8C16
1654 #define GL_UNSIGNED_NORMALIZED 0x8C17
1655 #define GL_FRAMEBUFFER_BINDING 0x8CA6
1656 #define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING
1657 #define GL_RENDERBUFFER_BINDING 0x8CA7
1658 #define GL_READ_FRAMEBUFFER 0x8CA8
1659 #define GL_DRAW_FRAMEBUFFER 0x8CA9
1660 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
1661 #define GL_RENDERBUFFER_SAMPLES 0x8CAB
1662 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
1663 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
1664 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
1665 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
1666 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
1667 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
1668 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
1669 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
1670 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
1671 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
1672 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
1673 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
1674 #define GL_COLOR_ATTACHMENT0 0x8CE0
1675 #define GL_COLOR_ATTACHMENT1 0x8CE1
1676 #define GL_COLOR_ATTACHMENT2 0x8CE2
1677 #define GL_COLOR_ATTACHMENT3 0x8CE3
1678 #define GL_COLOR_ATTACHMENT4 0x8CE4
1679 #define GL_COLOR_ATTACHMENT5 0x8CE5
1680 #define GL_COLOR_ATTACHMENT6 0x8CE6
1681 #define GL_COLOR_ATTACHMENT7 0x8CE7
1682 #define GL_COLOR_ATTACHMENT8 0x8CE8
1683 #define GL_COLOR_ATTACHMENT9 0x8CE9
1684 #define GL_COLOR_ATTACHMENT10 0x8CEA
1685 #define GL_COLOR_ATTACHMENT11 0x8CEB
1686 #define GL_COLOR_ATTACHMENT12 0x8CEC
1687 #define GL_COLOR_ATTACHMENT13 0x8CED
1688 #define GL_COLOR_ATTACHMENT14 0x8CEE
1689 #define GL_COLOR_ATTACHMENT15 0x8CEF
1690 #define GL_DEPTH_ATTACHMENT 0x8D00
1691 #define GL_STENCIL_ATTACHMENT 0x8D20
1692 #define GL_FRAMEBUFFER 0x8D40
1693 #define GL_RENDERBUFFER 0x8D41
1694 #define GL_RENDERBUFFER_WIDTH 0x8D42
1695 #define GL_RENDERBUFFER_HEIGHT 0x8D43
1696 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
1697 #define GL_STENCIL_INDEX1 0x8D46
1698 #define GL_STENCIL_INDEX4 0x8D47
1699 #define GL_STENCIL_INDEX8 0x8D48
1700 #define GL_STENCIL_INDEX16 0x8D49
1701 #define GL_RENDERBUFFER_RED_SIZE 0x8D50
1702 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
1703 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
1704 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
1705 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
1706 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
1707 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
1708 #define GL_MAX_SAMPLES 0x8D57
1709 #endif
1710
1711 #ifndef GL_ARB_framebuffer_object_DEPRECATED
1712 #define GL_INDEX 0x8222
1713 #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
1714 #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
1715 #endif
1716
1717 #ifndef GL_ARB_framebuffer_sRGB
1718 #define GL_FRAMEBUFFER_SRGB 0x8DB9
1719 #endif
1720
1721 #ifndef GL_ARB_geometry_shader4
1722 #define GL_LINES_ADJACENCY_ARB 0x000A
1723 #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
1724 #define GL_TRIANGLES_ADJACENCY_ARB 0x000C
1725 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
1726 #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
1727 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
1728 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
1729 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
1730 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
1731 #define GL_GEOMETRY_SHADER_ARB 0x8DD9
1732 #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
1733 #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
1734 #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
1735 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
1736 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
1737 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
1738 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
1739 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
1740 /* reuse GL_MAX_VARYING_COMPONENTS */
1741 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
1742 #endif
1743
1744 #ifndef GL_ARB_half_float_vertex
1745 #define GL_HALF_FLOAT 0x140B
1746 #endif
1747
1748 #ifndef GL_ARB_instanced_arrays
1749 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
1750 #endif
1751
1752 #ifndef GL_ARB_map_buffer_range
1753 #define GL_MAP_READ_BIT 0x0001
1754 #define GL_MAP_WRITE_BIT 0x0002
1755 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
1756 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
1757 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
1758 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
1759 #endif
1760
1761 #ifndef GL_ARB_texture_buffer_object
1762 #define GL_TEXTURE_BUFFER_ARB 0x8C2A
1763 #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
1764 #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
1765 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
1766 #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
1767 #endif
1768
1769 #ifndef GL_ARB_texture_compression_rgtc
1770 #define GL_COMPRESSED_RED_RGTC1 0x8DBB
1771 #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
1772 #define GL_COMPRESSED_RG_RGTC2 0x8DBD
1773 #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
1774 #endif
1775
1776 #ifndef GL_ARB_texture_rg
1777 #define GL_RG 0x8227
1778 #define GL_RG_INTEGER 0x8228
1779 #define GL_R8 0x8229
1780 #define GL_R16 0x822A
1781 #define GL_RG8 0x822B
1782 #define GL_RG16 0x822C
1783 #define GL_R16F 0x822D
1784 #define GL_R32F 0x822E
1785 #define GL_RG16F 0x822F
1786 #define GL_RG32F 0x8230
1787 #define GL_R8I 0x8231
1788 #define GL_R8UI 0x8232
1789 #define GL_R16I 0x8233
1790 #define GL_R16UI 0x8234
1791 #define GL_R32I 0x8235
1792 #define GL_R32UI 0x8236
1793 #define GL_RG8I 0x8237
1794 #define GL_RG8UI 0x8238
1795 #define GL_RG16I 0x8239
1796 #define GL_RG16UI 0x823A
1797 #define GL_RG32I 0x823B
1798 #define GL_RG32UI 0x823C
1799 #endif
1800
1801 #ifndef GL_ARB_vertex_array_object
1802 #define GL_VERTEX_ARRAY_BINDING 0x85B5
1803 #endif
1804
1805 #ifndef GL_ARB_uniform_buffer_object
1806 #define GL_UNIFORM_BUFFER 0x8A11
1807 #define GL_UNIFORM_BUFFER_BINDING 0x8A28
1808 #define GL_UNIFORM_BUFFER_START 0x8A29
1809 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
1810 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
1811 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
1812 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
1813 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
1814 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
1815 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
1816 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
1817 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
1818 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
1819 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
1820 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
1821 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
1822 #define GL_UNIFORM_TYPE 0x8A37
1823 #define GL_UNIFORM_SIZE 0x8A38
1824 #define GL_UNIFORM_NAME_LENGTH 0x8A39
1825 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
1826 #define GL_UNIFORM_OFFSET 0x8A3B
1827 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
1828 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
1829 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
1830 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
1831 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
1832 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
1833 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
1834 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
1835 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
1836 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
1837 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
1838 #define GL_INVALID_INDEX 0xFFFFFFFFu
1839 #endif
1840
1841 #ifndef GL_ARB_compatibility
1842 /* ARB_compatibility just defines tokens from core 3.0 */
1843 #endif
1844
1845 #ifndef GL_ARB_copy_buffer
1846 #define GL_COPY_READ_BUFFER 0x8F36
1847 #define GL_COPY_WRITE_BUFFER 0x8F37
1848 #endif
1849
1850 #ifndef GL_ARB_shader_texture_lod
1851 #endif
1852
1853 #ifndef GL_ARB_depth_clamp
1854 #define GL_DEPTH_CLAMP 0x864F
1855 #endif
1856
1857 #ifndef GL_ARB_draw_elements_base_vertex
1858 #endif
1859
1860 #ifndef GL_ARB_fragment_coord_conventions
1861 #endif
1862
1863 #ifndef GL_ARB_provoking_vertex
1864 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
1865 #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
1866 #define GL_LAST_VERTEX_CONVENTION 0x8E4E
1867 #define GL_PROVOKING_VERTEX 0x8E4F
1868 #endif
1869
1870 #ifndef GL_ARB_seamless_cube_map
1871 #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
1872 #endif
1873
1874 #ifndef GL_ARB_sync
1875 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
1876 #define GL_OBJECT_TYPE 0x9112
1877 #define GL_SYNC_CONDITION 0x9113
1878 #define GL_SYNC_STATUS 0x9114
1879 #define GL_SYNC_FLAGS 0x9115
1880 #define GL_SYNC_FENCE 0x9116
1881 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
1882 #define GL_UNSIGNALED 0x9118
1883 #define GL_SIGNALED 0x9119
1884 #define GL_ALREADY_SIGNALED 0x911A
1885 #define GL_TIMEOUT_EXPIRED 0x911B
1886 #define GL_CONDITION_SATISFIED 0x911C
1887 #define GL_WAIT_FAILED 0x911D
1888 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
1889 #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
1890 #endif
1891
1892 #ifndef GL_ARB_texture_multisample
1893 #define GL_SAMPLE_POSITION 0x8E50
1894 #define GL_SAMPLE_MASK 0x8E51
1895 #define GL_SAMPLE_MASK_VALUE 0x8E52
1896 #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
1897 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
1898 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
1899 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
1900 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
1901 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
1902 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
1903 #define GL_TEXTURE_SAMPLES 0x9106
1904 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
1905 #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
1906 #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
1907 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
1908 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
1909 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
1910 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
1911 #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
1912 #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
1913 #define GL_MAX_INTEGER_SAMPLES 0x9110
1914 #endif
1915
1916 #ifndef GL_ARB_vertex_array_bgra
1917 /* reuse GL_BGRA */
1918 #endif
1919
1920 #ifndef GL_ARB_draw_buffers_blend
1921 #endif
1922
1923 #ifndef GL_ARB_sample_shading
1924 #define GL_SAMPLE_SHADING_ARB 0x8C36
1925 #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
1926 #endif
1927
1928 #ifndef GL_ARB_texture_cube_map_array
1929 #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
1930 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
1931 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
1932 #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
1933 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
1934 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
1935 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
1936 #endif
1937
1938 #ifndef GL_ARB_texture_gather
1939 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
1940 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
1941 #endif
1942
1943 #ifndef GL_ARB_texture_query_lod
1944 #endif
1945
1946 #ifndef GL_ARB_shading_language_include
1947 #define GL_SHADER_INCLUDE_ARB 0x8DAE
1948 #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
1949 #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
1950 #endif
1951
1952 #ifndef GL_ARB_texture_compression_bptc
1953 #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
1954 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
1955 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
1956 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
1957 #endif
1958
1959 #ifndef GL_ARB_blend_func_extended
1960 #define GL_SRC1_COLOR 0x88F9
1961 /* reuse GL_SRC1_ALPHA */
1962 #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
1963 #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
1964 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
1965 #endif
1966
1967 #ifndef GL_ARB_explicit_attrib_location
1968 #endif
1969
1970 #ifndef GL_ARB_occlusion_query2
1971 #define GL_ANY_SAMPLES_PASSED 0x8C2F
1972 #endif
1973
1974 #ifndef GL_ARB_sampler_objects
1975 #define GL_SAMPLER_BINDING 0x8919
1976 #endif
1977
1978 #ifndef GL_ARB_shader_bit_encoding
1979 #endif
1980
1981 #ifndef GL_ARB_texture_rgb10_a2ui
1982 #define GL_RGB10_A2UI 0x906F
1983 #endif
1984
1985 #ifndef GL_ARB_texture_swizzle
1986 #define GL_TEXTURE_SWIZZLE_R 0x8E42
1987 #define GL_TEXTURE_SWIZZLE_G 0x8E43
1988 #define GL_TEXTURE_SWIZZLE_B 0x8E44
1989 #define GL_TEXTURE_SWIZZLE_A 0x8E45
1990 #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
1991 #endif
1992
1993 #ifndef GL_ARB_timer_query
1994 #define GL_TIME_ELAPSED 0x88BF
1995 #define GL_TIMESTAMP 0x8E28
1996 #endif
1997
1998 #ifndef GL_ARB_vertex_type_2_10_10_10_rev
1999 /* reuse GL_UNSIGNED_INT_2_10_10_10_REV */
2000 #define GL_INT_2_10_10_10_REV 0x8D9F
2001 #endif
2002
2003 #ifndef GL_ARB_draw_indirect
2004 #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
2005 #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
2006 #endif
2007
2008 #ifndef GL_ARB_gpu_shader5
2009 #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
2010 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
2011 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
2012 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
2013 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
2014 /* reuse GL_MAX_VERTEX_STREAMS */
2015 #endif
2016
2017 #ifndef GL_ARB_gpu_shader_fp64
2018 /* reuse GL_DOUBLE */
2019 #define GL_DOUBLE_VEC2 0x8FFC
2020 #define GL_DOUBLE_VEC3 0x8FFD
2021 #define GL_DOUBLE_VEC4 0x8FFE
2022 #define GL_DOUBLE_MAT2 0x8F46
2023 #define GL_DOUBLE_MAT3 0x8F47
2024 #define GL_DOUBLE_MAT4 0x8F48
2025 #define GL_DOUBLE_MAT2x3 0x8F49
2026 #define GL_DOUBLE_MAT2x4 0x8F4A
2027 #define GL_DOUBLE_MAT3x2 0x8F4B
2028 #define GL_DOUBLE_MAT3x4 0x8F4C
2029 #define GL_DOUBLE_MAT4x2 0x8F4D
2030 #define GL_DOUBLE_MAT4x3 0x8F4E
2031 #endif
2032
2033 #ifndef GL_ARB_shader_subroutine
2034 #define GL_ACTIVE_SUBROUTINES 0x8DE5
2035 #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
2036 #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
2037 #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
2038 #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
2039 #define GL_MAX_SUBROUTINES 0x8DE7
2040 #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
2041 #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
2042 #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
2043 /* reuse GL_UNIFORM_SIZE */
2044 /* reuse GL_UNIFORM_NAME_LENGTH */
2045 #endif
2046
2047 #ifndef GL_ARB_tessellation_shader
2048 #define GL_PATCHES 0x000E
2049 #define GL_PATCH_VERTICES 0x8E72
2050 #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
2051 #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
2052 #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
2053 #define GL_TESS_GEN_MODE 0x8E76
2054 #define GL_TESS_GEN_SPACING 0x8E77
2055 #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
2056 #define GL_TESS_GEN_POINT_MODE 0x8E79
2057 /* reuse GL_TRIANGLES */
2058 /* reuse GL_QUADS */
2059 #define GL_ISOLINES 0x8E7A
2060 /* reuse GL_EQUAL */
2061 #define GL_FRACTIONAL_ODD 0x8E7B
2062 #define GL_FRACTIONAL_EVEN 0x8E7C
2063 /* reuse GL_CCW */
2064 /* reuse GL_CW */
2065 #define GL_MAX_PATCH_VERTICES 0x8E7D
2066 #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
2067 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
2068 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
2069 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
2070 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
2071 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
2072 #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
2073 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
2074 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
2075 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
2076 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
2077 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
2078 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
2079 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
2080 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
2081 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
2082 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
2083 #define GL_TESS_EVALUATION_SHADER 0x8E87
2084 #define GL_TESS_CONTROL_SHADER 0x8E88
2085 #endif
2086
2087 #ifndef GL_ARB_texture_buffer_object_rgb32
2088 /* reuse GL_RGB32F */
2089 /* reuse GL_RGB32UI */
2090 /* reuse GL_RGB32I */
2091 #endif
2092
2093 #ifndef GL_ARB_transform_feedback2
2094 #define GL_TRANSFORM_FEEDBACK 0x8E22
2095 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
2096 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
2097 #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
2098 #endif
2099
2100 #ifndef GL_ARB_transform_feedback3
2101 #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
2102 #define GL_MAX_VERTEX_STREAMS 0x8E71
2103 #endif
2104
2105 #ifndef GL_ARB_ES2_compatibility
2106 #define GL_FIXED 0x140C
2107 #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
2108 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
2109 #define GL_LOW_FLOAT 0x8DF0
2110 #define GL_MEDIUM_FLOAT 0x8DF1
2111 #define GL_HIGH_FLOAT 0x8DF2
2112 #define GL_LOW_INT 0x8DF3
2113 #define GL_MEDIUM_INT 0x8DF4
2114 #define GL_HIGH_INT 0x8DF5
2115 #define GL_SHADER_COMPILER 0x8DFA
2116 #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
2117 #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
2118 #define GL_MAX_VARYING_VECTORS 0x8DFC
2119 #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
2120 #endif
2121
2122 #ifndef GL_ARB_get_program_binary
2123 #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
2124 #define GL_PROGRAM_BINARY_LENGTH 0x8741
2125 #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
2126 #define GL_PROGRAM_BINARY_FORMATS 0x87FF
2127 #endif
2128
2129 #ifndef GL_ARB_separate_shader_objects
2130 #define GL_VERTEX_SHADER_BIT 0x00000001
2131 #define GL_FRAGMENT_SHADER_BIT 0x00000002
2132 #define GL_GEOMETRY_SHADER_BIT 0x00000004
2133 #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
2134 #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
2135 #define GL_ALL_SHADER_BITS 0xFFFFFFFF
2136 #define GL_PROGRAM_SEPARABLE 0x8258
2137 #define GL_ACTIVE_PROGRAM 0x8259
2138 #define GL_PROGRAM_PIPELINE_BINDING 0x825A
2139 #endif
2140
2141 #ifndef GL_ARB_shader_precision
2142 #endif
2143
2144 #ifndef GL_ARB_vertex_attrib_64bit
2145 /* reuse GL_RGB32I */
2146 /* reuse GL_DOUBLE_VEC2 */
2147 /* reuse GL_DOUBLE_VEC3 */
2148 /* reuse GL_DOUBLE_VEC4 */
2149 /* reuse GL_DOUBLE_MAT2 */
2150 /* reuse GL_DOUBLE_MAT3 */
2151 /* reuse GL_DOUBLE_MAT4 */
2152 /* reuse GL_DOUBLE_MAT2x3 */
2153 /* reuse GL_DOUBLE_MAT2x4 */
2154 /* reuse GL_DOUBLE_MAT3x2 */
2155 /* reuse GL_DOUBLE_MAT3x4 */
2156 /* reuse GL_DOUBLE_MAT4x2 */
2157 /* reuse GL_DOUBLE_MAT4x3 */
2158 #endif
2159
2160 #ifndef GL_ARB_viewport_array
2161 /* reuse GL_SCISSOR_BOX */
2162 /* reuse GL_VIEWPORT */
2163 /* reuse GL_DEPTH_RANGE */
2164 /* reuse GL_SCISSOR_TEST */
2165 #define GL_MAX_VIEWPORTS 0x825B
2166 #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
2167 #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
2168 #define GL_LAYER_PROVOKING_VERTEX 0x825E
2169 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
2170 #define GL_UNDEFINED_VERTEX 0x8260
2171 /* reuse GL_FIRST_VERTEX_CONVENTION */
2172 /* reuse GL_LAST_VERTEX_CONVENTION */
2173 /* reuse GL_PROVOKING_VERTEX */
2174 #endif
2175
2176 #ifndef GL_ARB_cl_event
2177 #define GL_SYNC_CL_EVENT_ARB 0x8240
2178 #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
2179 #endif
2180
2181 #ifndef GL_ARB_debug_output
2182 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
2183 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
2184 #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
2185 #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
2186 #define GL_DEBUG_SOURCE_API_ARB 0x8246
2187 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
2188 #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
2189 #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
2190 #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
2191 #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
2192 #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
2193 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
2194 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
2195 #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
2196 #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
2197 #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
2198 #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
2199 #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
2200 #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
2201 #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
2202 #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
2203 #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
2204 #endif
2205
2206 #ifndef GL_ARB_robustness
2207 /* reuse GL_NO_ERROR */
2208 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
2209 #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
2210 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
2211 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
2212 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
2213 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
2214 #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
2215 #endif
2216
2217 #ifndef GL_ARB_shader_stencil_export
2218 #endif
2219
2220 #ifndef GL_EXT_abgr
2221 #define GL_ABGR_EXT 0x8000
2222 #endif
2223
2224 #ifndef GL_EXT_blend_color
2225 #define GL_CONSTANT_COLOR_EXT 0x8001
2226 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
2227 #define GL_CONSTANT_ALPHA_EXT 0x8003
2228 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
2229 #define GL_BLEND_COLOR_EXT 0x8005
2230 #endif
2231
2232 #ifndef GL_EXT_polygon_offset
2233 #define GL_POLYGON_OFFSET_EXT 0x8037
2234 #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
2235 #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
2236 #endif
2237
2238 #ifndef GL_EXT_texture
2239 #define GL_ALPHA4_EXT 0x803B
2240 #define GL_ALPHA8_EXT 0x803C
2241 #define GL_ALPHA12_EXT 0x803D
2242 #define GL_ALPHA16_EXT 0x803E
2243 #define GL_LUMINANCE4_EXT 0x803F
2244 #define GL_LUMINANCE8_EXT 0x8040
2245 #define GL_LUMINANCE12_EXT 0x8041
2246 #define GL_LUMINANCE16_EXT 0x8042
2247 #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
2248 #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
2249 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
2250 #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
2251 #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
2252 #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
2253 #define GL_INTENSITY_EXT 0x8049
2254 #define GL_INTENSITY4_EXT 0x804A
2255 #define GL_INTENSITY8_EXT 0x804B
2256 #define GL_INTENSITY12_EXT 0x804C
2257 #define GL_INTENSITY16_EXT 0x804D
2258 #define GL_RGB2_EXT 0x804E
2259 #define GL_RGB4_EXT 0x804F
2260 #define GL_RGB5_EXT 0x8050
2261 #define GL_RGB8_EXT 0x8051
2262 #define GL_RGB10_EXT 0x8052
2263 #define GL_RGB12_EXT 0x8053
2264 #define GL_RGB16_EXT 0x8054
2265 #define GL_RGBA2_EXT 0x8055
2266 #define GL_RGBA4_EXT 0x8056
2267 #define GL_RGB5_A1_EXT 0x8057
2268 #define GL_RGBA8_EXT 0x8058
2269 #define GL_RGB10_A2_EXT 0x8059
2270 #define GL_RGBA12_EXT 0x805A
2271 #define GL_RGBA16_EXT 0x805B
2272 #define GL_TEXTURE_RED_SIZE_EXT 0x805C
2273 #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
2274 #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
2275 #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
2276 #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
2277 #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
2278 #define GL_REPLACE_EXT 0x8062
2279 #define GL_PROXY_TEXTURE_1D_EXT 0x8063
2280 #define GL_PROXY_TEXTURE_2D_EXT 0x8064
2281 #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
2282 #endif
2283
2284 #ifndef GL_EXT_texture3D
2285 #define GL_PACK_SKIP_IMAGES_EXT 0x806B
2286 #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
2287 #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
2288 #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
2289 #define GL_TEXTURE_3D_EXT 0x806F
2290 #define GL_PROXY_TEXTURE_3D_EXT 0x8070
2291 #define GL_TEXTURE_DEPTH_EXT 0x8071
2292 #define GL_TEXTURE_WRAP_R_EXT 0x8072
2293 #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
2294 #endif
2295
2296 #ifndef GL_SGIS_texture_filter4
2297 #define GL_FILTER4_SGIS 0x8146
2298 #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
2299 #endif
2300
2301 #ifndef GL_EXT_subtexture
2302 #endif
2303
2304 #ifndef GL_EXT_copy_texture
2305 #endif
2306
2307 #ifndef GL_EXT_histogram
2308 #define GL_HISTOGRAM_EXT 0x8024
2309 #define GL_PROXY_HISTOGRAM_EXT 0x8025
2310 #define GL_HISTOGRAM_WIDTH_EXT 0x8026
2311 #define GL_HISTOGRAM_FORMAT_EXT 0x8027
2312 #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
2313 #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
2314 #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
2315 #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
2316 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
2317 #define GL_HISTOGRAM_SINK_EXT 0x802D
2318 #define GL_MINMAX_EXT 0x802E
2319 #define GL_MINMAX_FORMAT_EXT 0x802F
2320 #define GL_MINMAX_SINK_EXT 0x8030
2321 #define GL_TABLE_TOO_LARGE_EXT 0x8031
2322 #endif
2323
2324 #ifndef GL_EXT_convolution
2325 #define GL_CONVOLUTION_1D_EXT 0x8010
2326 #define GL_CONVOLUTION_2D_EXT 0x8011
2327 #define GL_SEPARABLE_2D_EXT 0x8012
2328 #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
2329 #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
2330 #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
2331 #define GL_REDUCE_EXT 0x8016
2332 #define GL_CONVOLUTION_FORMAT_EXT 0x8017
2333 #define GL_CONVOLUTION_WIDTH_EXT 0x8018
2334 #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
2335 #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
2336 #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
2337 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
2338 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
2339 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
2340 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
2341 #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
2342 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
2343 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
2344 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
2345 #endif
2346
2347 #ifndef GL_SGI_color_matrix
2348 #define GL_COLOR_MATRIX_SGI 0x80B1
2349 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
2350 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
2351 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
2352 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
2353 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
2354 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
2355 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
2356 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
2357 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
2358 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
2359 #endif
2360
2361 #ifndef GL_SGI_color_table
2362 #define GL_COLOR_TABLE_SGI 0x80D0
2363 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
2364 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
2365 #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
2366 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
2367 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
2368 #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
2369 #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
2370 #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
2371 #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
2372 #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
2373 #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
2374 #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
2375 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
2376 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
2377 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
2378 #endif
2379
2380 #ifndef GL_SGIS_pixel_texture
2381 #define GL_PIXEL_TEXTURE_SGIS 0x8353
2382 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
2383 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
2384 #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
2385 #endif
2386
2387 #ifndef GL_SGIX_pixel_texture
2388 #define GL_PIXEL_TEX_GEN_SGIX 0x8139
2389 #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
2390 #endif
2391
2392 #ifndef GL_SGIS_texture4D
2393 #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
2394 #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
2395 #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
2396 #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
2397 #define GL_TEXTURE_4D_SGIS 0x8134
2398 #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
2399 #define GL_TEXTURE_4DSIZE_SGIS 0x8136
2400 #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
2401 #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
2402 #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
2403 #endif
2404
2405 #ifndef GL_SGI_texture_color_table
2406 #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
2407 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
2408 #endif
2409
2410 #ifndef GL_EXT_cmyka
2411 #define GL_CMYK_EXT 0x800C
2412 #define GL_CMYKA_EXT 0x800D
2413 #define GL_PACK_CMYK_HINT_EXT 0x800E
2414 #define GL_UNPACK_CMYK_HINT_EXT 0x800F
2415 #endif
2416
2417 #ifndef GL_EXT_texture_object
2418 #define GL_TEXTURE_PRIORITY_EXT 0x8066
2419 #define GL_TEXTURE_RESIDENT_EXT 0x8067
2420 #define GL_TEXTURE_1D_BINDING_EXT 0x8068
2421 #define GL_TEXTURE_2D_BINDING_EXT 0x8069
2422 #define GL_TEXTURE_3D_BINDING_EXT 0x806A
2423 #endif
2424
2425 #ifndef GL_SGIS_detail_texture
2426 #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
2427 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
2428 #define GL_LINEAR_DETAIL_SGIS 0x8097
2429 #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
2430 #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
2431 #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
2432 #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
2433 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
2434 #endif
2435
2436 #ifndef GL_SGIS_sharpen_texture
2437 #define GL_LINEAR_SHARPEN_SGIS 0x80AD
2438 #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
2439 #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
2440 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
2441 #endif
2442
2443 #ifndef GL_EXT_packed_pixels
2444 #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
2445 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
2446 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
2447 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
2448 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
2449 #endif
2450
2451 #ifndef GL_SGIS_texture_lod
2452 #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
2453 #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
2454 #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
2455 #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
2456 #endif
2457
2458 #ifndef GL_SGIS_multisample
2459 #define GL_MULTISAMPLE_SGIS 0x809D
2460 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
2461 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
2462 #define GL_SAMPLE_MASK_SGIS 0x80A0
2463 #define GL_1PASS_SGIS 0x80A1
2464 #define GL_2PASS_0_SGIS 0x80A2
2465 #define GL_2PASS_1_SGIS 0x80A3
2466 #define GL_4PASS_0_SGIS 0x80A4
2467 #define GL_4PASS_1_SGIS 0x80A5
2468 #define GL_4PASS_2_SGIS 0x80A6
2469 #define GL_4PASS_3_SGIS 0x80A7
2470 #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
2471 #define GL_SAMPLES_SGIS 0x80A9
2472 #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
2473 #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
2474 #define GL_SAMPLE_PATTERN_SGIS 0x80AC
2475 #endif
2476
2477 #ifndef GL_EXT_rescale_normal
2478 #define GL_RESCALE_NORMAL_EXT 0x803A
2479 #endif
2480
2481 #ifndef GL_EXT_vertex_array
2482 #define GL_VERTEX_ARRAY_EXT 0x8074
2483 #define GL_NORMAL_ARRAY_EXT 0x8075
2484 #define GL_COLOR_ARRAY_EXT 0x8076
2485 #define GL_INDEX_ARRAY_EXT 0x8077
2486 #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
2487 #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
2488 #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
2489 #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
2490 #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
2491 #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
2492 #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
2493 #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
2494 #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
2495 #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
2496 #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
2497 #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
2498 #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
2499 #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
2500 #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
2501 #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
2502 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
2503 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
2504 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
2505 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
2506 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
2507 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
2508 #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
2509 #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
2510 #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
2511 #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
2512 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
2513 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
2514 #endif
2515
2516 #ifndef GL_EXT_misc_attribute
2517 #endif
2518
2519 #ifndef GL_SGIS_generate_mipmap
2520 #define GL_GENERATE_MIPMAP_SGIS 0x8191
2521 #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
2522 #endif
2523
2524 #ifndef GL_SGIX_clipmap
2525 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
2526 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
2527 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
2528 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
2529 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
2530 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
2531 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
2532 #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
2533 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
2534 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
2535 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
2536 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
2537 #endif
2538
2539 #ifndef GL_SGIX_shadow
2540 #define GL_TEXTURE_COMPARE_SGIX 0x819A
2541 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
2542 #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
2543 #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
2544 #endif
2545
2546 #ifndef GL_SGIS_texture_edge_clamp
2547 #define GL_CLAMP_TO_EDGE_SGIS 0x812F
2548 #endif
2549
2550 #ifndef GL_SGIS_texture_border_clamp
2551 #define GL_CLAMP_TO_BORDER_SGIS 0x812D
2552 #endif
2553
2554 #ifndef GL_EXT_blend_minmax
2555 #define GL_FUNC_ADD_EXT 0x8006
2556 #define GL_MIN_EXT 0x8007
2557 #define GL_MAX_EXT 0x8008
2558 #define GL_BLEND_EQUATION_EXT 0x8009
2559 #endif
2560
2561 #ifndef GL_EXT_blend_subtract
2562 #define GL_FUNC_SUBTRACT_EXT 0x800A
2563 #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
2564 #endif
2565
2566 #ifndef GL_EXT_blend_logic_op
2567 #endif
2568
2569 #ifndef GL_SGIX_interlace
2570 #define GL_INTERLACE_SGIX 0x8094
2571 #endif
2572
2573 #ifndef GL_SGIX_pixel_tiles
2574 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
2575 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
2576 #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
2577 #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
2578 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
2579 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
2580 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
2581 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
2582 #endif
2583
2584 #ifndef GL_SGIS_texture_select
2585 #define GL_DUAL_ALPHA4_SGIS 0x8110
2586 #define GL_DUAL_ALPHA8_SGIS 0x8111
2587 #define GL_DUAL_ALPHA12_SGIS 0x8112
2588 #define GL_DUAL_ALPHA16_SGIS 0x8113
2589 #define GL_DUAL_LUMINANCE4_SGIS 0x8114
2590 #define GL_DUAL_LUMINANCE8_SGIS 0x8115
2591 #define GL_DUAL_LUMINANCE12_SGIS 0x8116
2592 #define GL_DUAL_LUMINANCE16_SGIS 0x8117
2593 #define GL_DUAL_INTENSITY4_SGIS 0x8118
2594 #define GL_DUAL_INTENSITY8_SGIS 0x8119
2595 #define GL_DUAL_INTENSITY12_SGIS 0x811A
2596 #define GL_DUAL_INTENSITY16_SGIS 0x811B
2597 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
2598 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
2599 #define GL_QUAD_ALPHA4_SGIS 0x811E
2600 #define GL_QUAD_ALPHA8_SGIS 0x811F
2601 #define GL_QUAD_LUMINANCE4_SGIS 0x8120
2602 #define GL_QUAD_LUMINANCE8_SGIS 0x8121
2603 #define GL_QUAD_INTENSITY4_SGIS 0x8122
2604 #define GL_QUAD_INTENSITY8_SGIS 0x8123
2605 #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
2606 #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
2607 #endif
2608
2609 #ifndef GL_SGIX_sprite
2610 #define GL_SPRITE_SGIX 0x8148
2611 #define GL_SPRITE_MODE_SGIX 0x8149
2612 #define GL_SPRITE_AXIS_SGIX 0x814A
2613 #define GL_SPRITE_TRANSLATION_SGIX 0x814B
2614 #define GL_SPRITE_AXIAL_SGIX 0x814C
2615 #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
2616 #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
2617 #endif
2618
2619 #ifndef GL_SGIX_texture_multi_buffer
2620 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
2621 #endif
2622
2623 #ifndef GL_EXT_point_parameters
2624 #define GL_POINT_SIZE_MIN_EXT 0x8126
2625 #define GL_POINT_SIZE_MAX_EXT 0x8127
2626 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
2627 #define GL_DISTANCE_ATTENUATION_EXT 0x8129
2628 #endif
2629
2630 #ifndef GL_SGIS_point_parameters
2631 #define GL_POINT_SIZE_MIN_SGIS 0x8126
2632 #define GL_POINT_SIZE_MAX_SGIS 0x8127
2633 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
2634 #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
2635 #endif
2636
2637 #ifndef GL_SGIX_instruments
2638 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
2639 #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
2640 #endif
2641
2642 #ifndef GL_SGIX_texture_scale_bias
2643 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
2644 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
2645 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
2646 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
2647 #endif
2648
2649 #ifndef GL_SGIX_framezoom
2650 #define GL_FRAMEZOOM_SGIX 0x818B
2651 #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
2652 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
2653 #endif
2654
2655 #ifndef GL_SGIX_tag_sample_buffer
2656 #endif
2657
2658 #ifndef GL_FfdMaskSGIX
2659 #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
2660 #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
2661 #endif
2662
2663 #ifndef GL_SGIX_polynomial_ffd
2664 #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
2665 #define GL_TEXTURE_DEFORMATION_SGIX 0x8195
2666 #define GL_DEFORMATIONS_MASK_SGIX 0x8196
2667 #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
2668 #endif
2669
2670 #ifndef GL_SGIX_reference_plane
2671 #define GL_REFERENCE_PLANE_SGIX 0x817D
2672 #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
2673 #endif
2674
2675 #ifndef GL_SGIX_flush_raster
2676 #endif
2677
2678 #ifndef GL_SGIX_depth_texture
2679 #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
2680 #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
2681 #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
2682 #endif
2683
2684 #ifndef GL_SGIS_fog_function
2685 #define GL_FOG_FUNC_SGIS 0x812A
2686 #define GL_FOG_FUNC_POINTS_SGIS 0x812B
2687 #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
2688 #endif
2689
2690 #ifndef GL_SGIX_fog_offset
2691 #define GL_FOG_OFFSET_SGIX 0x8198
2692 #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
2693 #endif
2694
2695 #ifndef GL_HP_image_transform
2696 #define GL_IMAGE_SCALE_X_HP 0x8155
2697 #define GL_IMAGE_SCALE_Y_HP 0x8156
2698 #define GL_IMAGE_TRANSLATE_X_HP 0x8157
2699 #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
2700 #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
2701 #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
2702 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
2703 #define GL_IMAGE_MAG_FILTER_HP 0x815C
2704 #define GL_IMAGE_MIN_FILTER_HP 0x815D
2705 #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
2706 #define GL_CUBIC_HP 0x815F
2707 #define GL_AVERAGE_HP 0x8160
2708 #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
2709 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
2710 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
2711 #endif
2712
2713 #ifndef GL_HP_convolution_border_modes
2714 #define GL_IGNORE_BORDER_HP 0x8150
2715 #define GL_CONSTANT_BORDER_HP 0x8151
2716 #define GL_REPLICATE_BORDER_HP 0x8153
2717 #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
2718 #endif
2719
2720 #ifndef GL_INGR_palette_buffer
2721 #endif
2722
2723 #ifndef GL_SGIX_texture_add_env
2724 #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
2725 #endif
2726
2727 #ifndef GL_EXT_color_subtable
2728 #endif
2729
2730 #ifndef GL_PGI_vertex_hints
2731 #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
2732 #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
2733 #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
2734 #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
2735 #define GL_COLOR3_BIT_PGI 0x00010000
2736 #define GL_COLOR4_BIT_PGI 0x00020000
2737 #define GL_EDGEFLAG_BIT_PGI 0x00040000
2738 #define GL_INDEX_BIT_PGI 0x00080000
2739 #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
2740 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
2741 #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
2742 #define GL_MAT_EMISSION_BIT_PGI 0x00800000
2743 #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
2744 #define GL_MAT_SHININESS_BIT_PGI 0x02000000
2745 #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
2746 #define GL_NORMAL_BIT_PGI 0x08000000
2747 #define GL_TEXCOORD1_BIT_PGI 0x10000000
2748 #define GL_TEXCOORD2_BIT_PGI 0x20000000
2749 #define GL_TEXCOORD3_BIT_PGI 0x40000000
2750 #define GL_TEXCOORD4_BIT_PGI 0x80000000
2751 #define GL_VERTEX23_BIT_PGI 0x00000004
2752 #define GL_VERTEX4_BIT_PGI 0x00000008
2753 #endif
2754
2755 #ifndef GL_PGI_misc_hints
2756 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
2757 #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
2758 #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
2759 #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
2760 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
2761 #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
2762 #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
2763 #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
2764 #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
2765 #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
2766 #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
2767 #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
2768 #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
2769 #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
2770 #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
2771 #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
2772 #define GL_CLIP_NEAR_HINT_PGI 0x1A220
2773 #define GL_CLIP_FAR_HINT_PGI 0x1A221
2774 #define GL_WIDE_LINE_HINT_PGI 0x1A222
2775 #define GL_BACK_NORMALS_HINT_PGI 0x1A223
2776 #endif
2777
2778 #ifndef GL_EXT_paletted_texture
2779 #define GL_COLOR_INDEX1_EXT 0x80E2
2780 #define GL_COLOR_INDEX2_EXT 0x80E3
2781 #define GL_COLOR_INDEX4_EXT 0x80E4
2782 #define GL_COLOR_INDEX8_EXT 0x80E5
2783 #define GL_COLOR_INDEX12_EXT 0x80E6
2784 #define GL_COLOR_INDEX16_EXT 0x80E7
2785 #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
2786 #endif
2787
2788 #ifndef GL_EXT_clip_volume_hint
2789 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
2790 #endif
2791
2792 #ifndef GL_SGIX_list_priority
2793 #define GL_LIST_PRIORITY_SGIX 0x8182
2794 #endif
2795
2796 #ifndef GL_SGIX_ir_instrument1
2797 #define GL_IR_INSTRUMENT1_SGIX 0x817F
2798 #endif
2799
2800 #ifndef GL_SGIX_calligraphic_fragment
2801 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
2802 #endif
2803
2804 #ifndef GL_SGIX_texture_lod_bias
2805 #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
2806 #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
2807 #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
2808 #endif
2809
2810 #ifndef GL_SGIX_shadow_ambient
2811 #define GL_SHADOW_AMBIENT_SGIX 0x80BF
2812 #endif
2813
2814 #ifndef GL_EXT_index_texture
2815 #endif
2816
2817 #ifndef GL_EXT_index_material
2818 #define GL_INDEX_MATERIAL_EXT 0x81B8
2819 #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
2820 #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
2821 #endif
2822
2823 #ifndef GL_EXT_index_func
2824 #define GL_INDEX_TEST_EXT 0x81B5
2825 #define GL_INDEX_TEST_FUNC_EXT 0x81B6
2826 #define GL_INDEX_TEST_REF_EXT 0x81B7
2827 #endif
2828
2829 #ifndef GL_EXT_index_array_formats
2830 #define GL_IUI_V2F_EXT 0x81AD
2831 #define GL_IUI_V3F_EXT 0x81AE
2832 #define GL_IUI_N3F_V2F_EXT 0x81AF
2833 #define GL_IUI_N3F_V3F_EXT 0x81B0
2834 #define GL_T2F_IUI_V2F_EXT 0x81B1
2835 #define GL_T2F_IUI_V3F_EXT 0x81B2
2836 #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
2837 #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
2838 #endif
2839
2840 #ifndef GL_EXT_compiled_vertex_array
2841 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
2842 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
2843 #endif
2844
2845 #ifndef GL_EXT_cull_vertex
2846 #define GL_CULL_VERTEX_EXT 0x81AA
2847 #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
2848 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
2849 #endif
2850
2851 #ifndef GL_SGIX_ycrcb
2852 #define GL_YCRCB_422_SGIX 0x81BB
2853 #define GL_YCRCB_444_SGIX 0x81BC
2854 #endif
2855
2856 #ifndef GL_SGIX_fragment_lighting
2857 #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
2858 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
2859 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
2860 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
2861 #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
2862 #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
2863 #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
2864 #define GL_LIGHT_ENV_MODE_SGIX 0x8407
2865 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
2866 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
2867 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
2868 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
2869 #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
2870 #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
2871 #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
2872 #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
2873 #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
2874 #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
2875 #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
2876 #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
2877 #endif
2878
2879 #ifndef GL_IBM_rasterpos_clip
2880 #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
2881 #endif
2882
2883 #ifndef GL_HP_texture_lighting
2884 #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
2885 #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
2886 #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
2887 #endif
2888
2889 #ifndef GL_EXT_draw_range_elements
2890 #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
2891 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
2892 #endif
2893
2894 #ifndef GL_WIN_phong_shading
2895 #define GL_PHONG_WIN 0x80EA
2896 #define GL_PHONG_HINT_WIN 0x80EB
2897 #endif
2898
2899 #ifndef GL_WIN_specular_fog
2900 #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
2901 #endif
2902
2903 #ifndef GL_EXT_light_texture
2904 #define GL_FRAGMENT_MATERIAL_EXT 0x8349
2905 #define GL_FRAGMENT_NORMAL_EXT 0x834A
2906 #define GL_FRAGMENT_COLOR_EXT 0x834C
2907 #define GL_ATTENUATION_EXT 0x834D
2908 #define GL_SHADOW_ATTENUATION_EXT 0x834E
2909 #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
2910 #define GL_TEXTURE_LIGHT_EXT 0x8350
2911 #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
2912 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
2913 /* reuse GL_FRAGMENT_DEPTH_EXT */
2914 #endif
2915
2916 #ifndef GL_SGIX_blend_alpha_minmax
2917 #define GL_ALPHA_MIN_SGIX 0x8320
2918 #define GL_ALPHA_MAX_SGIX 0x8321
2919 #endif
2920
2921 #ifndef GL_SGIX_impact_pixel_texture
2922 #define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX 0x8184
2923 #define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX 0x8185
2924 #define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX 0x8186
2925 #define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187
2926 #define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188
2927 #define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX 0x8189
2928 #define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX 0x818A
2929 #endif
2930
2931 #ifndef GL_EXT_bgra
2932 #define GL_BGR_EXT 0x80E0
2933 #define GL_BGRA_EXT 0x80E1
2934 #endif
2935
2936 #ifndef GL_SGIX_async
2937 #define GL_ASYNC_MARKER_SGIX 0x8329
2938 #endif
2939
2940 #ifndef GL_SGIX_async_pixel
2941 #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
2942 #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
2943 #define GL_ASYNC_READ_PIXELS_SGIX 0x835E
2944 #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
2945 #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
2946 #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
2947 #endif
2948
2949 #ifndef GL_SGIX_async_histogram
2950 #define GL_ASYNC_HISTOGRAM_SGIX 0x832C
2951 #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
2952 #endif
2953
2954 #ifndef GL_INTEL_texture_scissor
2955 #endif
2956
2957 #ifndef GL_INTEL_parallel_arrays
2958 #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
2959 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
2960 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
2961 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
2962 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
2963 #endif
2964
2965 #ifndef GL_HP_occlusion_test
2966 #define GL_OCCLUSION_TEST_HP 0x8165
2967 #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
2968 #endif
2969
2970 #ifndef GL_EXT_pixel_transform
2971 #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
2972 #define GL_PIXEL_MAG_FILTER_EXT 0x8331
2973 #define GL_PIXEL_MIN_FILTER_EXT 0x8332
2974 #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
2975 #define GL_CUBIC_EXT 0x8334
2976 #define GL_AVERAGE_EXT 0x8335
2977 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
2978 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
2979 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
2980 #endif
2981
2982 #ifndef GL_EXT_pixel_transform_color_table
2983 #endif
2984
2985 #ifndef GL_EXT_shared_texture_palette
2986 #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
2987 #endif
2988
2989 #ifndef GL_EXT_separate_specular_color
2990 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
2991 #define GL_SINGLE_COLOR_EXT 0x81F9
2992 #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
2993 #endif
2994
2995 #ifndef GL_EXT_secondary_color
2996 #define GL_COLOR_SUM_EXT 0x8458
2997 #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
2998 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
2999 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
3000 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
3001 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
3002 #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
3003 #endif
3004
3005 #ifndef GL_EXT_texture_perturb_normal
3006 #define GL_PERTURB_EXT 0x85AE
3007 #define GL_TEXTURE_NORMAL_EXT 0x85AF
3008 #endif
3009
3010 #ifndef GL_EXT_multi_draw_arrays
3011 #endif
3012
3013 #ifndef GL_EXT_fog_coord
3014 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
3015 #define GL_FOG_COORDINATE_EXT 0x8451
3016 #define GL_FRAGMENT_DEPTH_EXT 0x8452
3017 #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
3018 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
3019 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
3020 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
3021 #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
3022 #endif
3023
3024 #ifndef GL_REND_screen_coordinates
3025 #define GL_SCREEN_COORDINATES_REND 0x8490
3026 #define GL_INVERTED_SCREEN_W_REND 0x8491
3027 #endif
3028
3029 #ifndef GL_EXT_coordinate_frame
3030 #define GL_TANGENT_ARRAY_EXT 0x8439
3031 #define GL_BINORMAL_ARRAY_EXT 0x843A
3032 #define GL_CURRENT_TANGENT_EXT 0x843B
3033 #define GL_CURRENT_BINORMAL_EXT 0x843C
3034 #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
3035 #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
3036 #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
3037 #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
3038 #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
3039 #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
3040 #define GL_MAP1_TANGENT_EXT 0x8444
3041 #define GL_MAP2_TANGENT_EXT 0x8445
3042 #define GL_MAP1_BINORMAL_EXT 0x8446
3043 #define GL_MAP2_BINORMAL_EXT 0x8447
3044 #endif
3045
3046 #ifndef GL_EXT_texture_env_combine
3047 #define GL_COMBINE_EXT 0x8570
3048 #define GL_COMBINE_RGB_EXT 0x8571
3049 #define GL_COMBINE_ALPHA_EXT 0x8572
3050 #define GL_RGB_SCALE_EXT 0x8573
3051 #define GL_ADD_SIGNED_EXT 0x8574
3052 #define GL_INTERPOLATE_EXT 0x8575
3053 #define GL_CONSTANT_EXT 0x8576
3054 #define GL_PRIMARY_COLOR_EXT 0x8577
3055 #define GL_PREVIOUS_EXT 0x8578
3056 #define GL_SOURCE0_RGB_EXT 0x8580
3057 #define GL_SOURCE1_RGB_EXT 0x8581
3058 #define GL_SOURCE2_RGB_EXT 0x8582
3059 #define GL_SOURCE0_ALPHA_EXT 0x8588
3060 #define GL_SOURCE1_ALPHA_EXT 0x8589
3061 #define GL_SOURCE2_ALPHA_EXT 0x858A
3062 #define GL_OPERAND0_RGB_EXT 0x8590
3063 #define GL_OPERAND1_RGB_EXT 0x8591
3064 #define GL_OPERAND2_RGB_EXT 0x8592
3065 #define GL_OPERAND0_ALPHA_EXT 0x8598
3066 #define GL_OPERAND1_ALPHA_EXT 0x8599
3067 #define GL_OPERAND2_ALPHA_EXT 0x859A
3068 #endif
3069
3070 #ifndef GL_APPLE_specular_vector
3071 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
3072 #endif
3073
3074 #ifndef GL_APPLE_transform_hint
3075 #define GL_TRANSFORM_HINT_APPLE 0x85B1
3076 #endif
3077
3078 #ifndef GL_SGIX_fog_scale
3079 #define GL_FOG_SCALE_SGIX 0x81FC
3080 #define GL_FOG_SCALE_VALUE_SGIX 0x81FD
3081 #endif
3082
3083 #ifndef GL_SUNX_constant_data
3084 #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
3085 #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
3086 #endif
3087
3088 #ifndef GL_SUN_global_alpha
3089 #define GL_GLOBAL_ALPHA_SUN 0x81D9
3090 #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
3091 #endif
3092
3093 #ifndef GL_SUN_triangle_list
3094 #define GL_RESTART_SUN 0x0001
3095 #define GL_REPLACE_MIDDLE_SUN 0x0002
3096 #define GL_REPLACE_OLDEST_SUN 0x0003
3097 #define GL_TRIANGLE_LIST_SUN 0x81D7
3098 #define GL_REPLACEMENT_CODE_SUN 0x81D8
3099 #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
3100 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
3101 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
3102 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
3103 #define GL_R1UI_V3F_SUN 0x85C4
3104 #define GL_R1UI_C4UB_V3F_SUN 0x85C5
3105 #define GL_R1UI_C3F_V3F_SUN 0x85C6
3106 #define GL_R1UI_N3F_V3F_SUN 0x85C7
3107 #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
3108 #define GL_R1UI_T2F_V3F_SUN 0x85C9
3109 #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
3110 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
3111 #endif
3112
3113 #ifndef GL_SUN_vertex
3114 #endif
3115
3116 #ifndef GL_EXT_blend_func_separate
3117 #define GL_BLEND_DST_RGB_EXT 0x80C8
3118 #define GL_BLEND_SRC_RGB_EXT 0x80C9
3119 #define GL_BLEND_DST_ALPHA_EXT 0x80CA
3120 #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
3121 #endif
3122
3123 #ifndef GL_INGR_color_clamp
3124 #define GL_RED_MIN_CLAMP_INGR 0x8560
3125 #define GL_GREEN_MIN_CLAMP_INGR 0x8561
3126 #define GL_BLUE_MIN_CLAMP_INGR 0x8562
3127 #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
3128 #define GL_RED_MAX_CLAMP_INGR 0x8564
3129 #define GL_GREEN_MAX_CLAMP_INGR 0x8565
3130 #define GL_BLUE_MAX_CLAMP_INGR 0x8566
3131 #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
3132 #endif
3133
3134 #ifndef GL_INGR_interlace_read
3135 #define GL_INTERLACE_READ_INGR 0x8568
3136 #endif
3137
3138 #ifndef GL_EXT_stencil_wrap
3139 #define GL_INCR_WRAP_EXT 0x8507
3140 #define GL_DECR_WRAP_EXT 0x8508
3141 #endif
3142
3143 #ifndef GL_EXT_422_pixels
3144 #define GL_422_EXT 0x80CC
3145 #define GL_422_REV_EXT 0x80CD
3146 #define GL_422_AVERAGE_EXT 0x80CE
3147 #define GL_422_REV_AVERAGE_EXT 0x80CF
3148 #endif
3149
3150 #ifndef GL_NV_texgen_reflection
3151 #define GL_NORMAL_MAP_NV 0x8511
3152 #define GL_REFLECTION_MAP_NV 0x8512
3153 #endif
3154
3155 #ifndef GL_EXT_texture_cube_map
3156 #define GL_NORMAL_MAP_EXT 0x8511
3157 #define GL_REFLECTION_MAP_EXT 0x8512
3158 #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
3159 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
3160 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
3161 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
3162 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
3163 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
3164 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
3165 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
3166 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
3167 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
3168 #endif
3169
3170 #ifndef GL_SUN_convolution_border_modes
3171 #define GL_WRAP_BORDER_SUN 0x81D4
3172 #endif
3173
3174 #ifndef GL_EXT_texture_env_add
3175 #endif
3176
3177 #ifndef GL_EXT_texture_lod_bias
3178 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
3179 #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
3180 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
3181 #endif
3182
3183 #ifndef GL_EXT_texture_filter_anisotropic
3184 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
3185 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
3186 #endif
3187
3188 #ifndef GL_EXT_vertex_weighting
3189 #define GL_MODELVIEW0_STACK_DEPTH_EXT GL_MODELVIEW_STACK_DEPTH
3190 #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
3191 #define GL_MODELVIEW0_MATRIX_EXT GL_MODELVIEW_MATRIX
3192 #define GL_MODELVIEW1_MATRIX_EXT 0x8506
3193 #define GL_VERTEX_WEIGHTING_EXT 0x8509
3194 #define GL_MODELVIEW0_EXT GL_MODELVIEW
3195 #define GL_MODELVIEW1_EXT 0x850A
3196 #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
3197 #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
3198 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
3199 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
3200 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
3201 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
3202 #endif
3203
3204 #ifndef GL_NV_light_max_exponent
3205 #define GL_MAX_SHININESS_NV 0x8504
3206 #define GL_MAX_SPOT_EXPONENT_NV 0x8505
3207 #endif
3208
3209 #ifndef GL_NV_vertex_array_range
3210 #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
3211 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
3212 #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
3213 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
3214 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
3215 #endif
3216
3217 #ifndef GL_NV_register_combiners
3218 #define GL_REGISTER_COMBINERS_NV 0x8522
3219 #define GL_VARIABLE_A_NV 0x8523
3220 #define GL_VARIABLE_B_NV 0x8524
3221 #define GL_VARIABLE_C_NV 0x8525
3222 #define GL_VARIABLE_D_NV 0x8526
3223 #define GL_VARIABLE_E_NV 0x8527
3224 #define GL_VARIABLE_F_NV 0x8528
3225 #define GL_VARIABLE_G_NV 0x8529
3226 #define GL_CONSTANT_COLOR0_NV 0x852A
3227 #define GL_CONSTANT_COLOR1_NV 0x852B
3228 #define GL_PRIMARY_COLOR_NV 0x852C
3229 #define GL_SECONDARY_COLOR_NV 0x852D
3230 #define GL_SPARE0_NV 0x852E
3231 #define GL_SPARE1_NV 0x852F
3232 #define GL_DISCARD_NV 0x8530
3233 #define GL_E_TIMES_F_NV 0x8531
3234 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
3235 #define GL_UNSIGNED_IDENTITY_NV 0x8536
3236 #define GL_UNSIGNED_INVERT_NV 0x8537
3237 #define GL_EXPAND_NORMAL_NV 0x8538
3238 #define GL_EXPAND_NEGATE_NV 0x8539
3239 #define GL_HALF_BIAS_NORMAL_NV 0x853A
3240 #define GL_HALF_BIAS_NEGATE_NV 0x853B
3241 #define GL_SIGNED_IDENTITY_NV 0x853C
3242 #define GL_SIGNED_NEGATE_NV 0x853D
3243 #define GL_SCALE_BY_TWO_NV 0x853E
3244 #define GL_SCALE_BY_FOUR_NV 0x853F
3245 #define GL_SCALE_BY_ONE_HALF_NV 0x8540
3246 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
3247 #define GL_COMBINER_INPUT_NV 0x8542
3248 #define GL_COMBINER_MAPPING_NV 0x8543
3249 #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
3250 #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
3251 #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
3252 #define GL_COMBINER_MUX_SUM_NV 0x8547
3253 #define GL_COMBINER_SCALE_NV 0x8548
3254 #define GL_COMBINER_BIAS_NV 0x8549
3255 #define GL_COMBINER_AB_OUTPUT_NV 0x854A
3256 #define GL_COMBINER_CD_OUTPUT_NV 0x854B
3257 #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
3258 #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
3259 #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
3260 #define GL_COLOR_SUM_CLAMP_NV 0x854F
3261 #define GL_COMBINER0_NV 0x8550
3262 #define GL_COMBINER1_NV 0x8551
3263 #define GL_COMBINER2_NV 0x8552
3264 #define GL_COMBINER3_NV 0x8553
3265 #define GL_COMBINER4_NV 0x8554
3266 #define GL_COMBINER5_NV 0x8555
3267 #define GL_COMBINER6_NV 0x8556
3268 #define GL_COMBINER7_NV 0x8557
3269 /* reuse GL_TEXTURE0_ARB */
3270 /* reuse GL_TEXTURE1_ARB */
3271 /* reuse GL_ZERO */
3272 /* reuse GL_NONE */
3273 /* reuse GL_FOG */
3274 #endif
3275
3276 #ifndef GL_NV_fog_distance
3277 #define GL_FOG_DISTANCE_MODE_NV 0x855A
3278 #define GL_EYE_RADIAL_NV 0x855B
3279 #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
3280 /* reuse GL_EYE_PLANE */
3281 #endif
3282
3283 #ifndef GL_NV_texgen_emboss
3284 #define GL_EMBOSS_LIGHT_NV 0x855D
3285 #define GL_EMBOSS_CONSTANT_NV 0x855E
3286 #define GL_EMBOSS_MAP_NV 0x855F
3287 #endif
3288
3289 #ifndef GL_NV_blend_square
3290 #endif
3291
3292 #ifndef GL_NV_texture_env_combine4
3293 #define GL_COMBINE4_NV 0x8503
3294 #define GL_SOURCE3_RGB_NV 0x8583
3295 #define GL_SOURCE3_ALPHA_NV 0x858B
3296 #define GL_OPERAND3_RGB_NV 0x8593
3297 #define GL_OPERAND3_ALPHA_NV 0x859B
3298 #endif
3299
3300 #ifndef GL_MESA_resize_buffers
3301 #endif
3302
3303 #ifndef GL_MESA_window_pos
3304 #endif
3305
3306 #ifndef GL_EXT_texture_compression_s3tc
3307 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
3308 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
3309 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
3310 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
3311 #endif
3312
3313 #ifndef GL_IBM_cull_vertex
3314 #define GL_CULL_VERTEX_IBM 103050
3315 #endif
3316
3317 #ifndef GL_IBM_multimode_draw_arrays
3318 #endif
3319
3320 #ifndef GL_IBM_vertex_array_lists
3321 #define GL_VERTEX_ARRAY_LIST_IBM 103070
3322 #define GL_NORMAL_ARRAY_LIST_IBM 103071
3323 #define GL_COLOR_ARRAY_LIST_IBM 103072
3324 #define GL_INDEX_ARRAY_LIST_IBM 103073
3325 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
3326 #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
3327 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
3328 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
3329 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
3330 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
3331 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
3332 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
3333 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
3334 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
3335 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
3336 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
3337 #endif
3338
3339 #ifndef GL_SGIX_subsample
3340 #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
3341 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
3342 #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
3343 #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
3344 #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
3345 #endif
3346
3347 #ifndef GL_SGIX_ycrcb_subsample
3348 #endif
3349
3350 #ifndef GL_SGIX_ycrcba
3351 #define GL_YCRCB_SGIX 0x8318
3352 #define GL_YCRCBA_SGIX 0x8319
3353 #endif
3354
3355 #ifndef GL_SGI_depth_pass_instrument
3356 #define GL_DEPTH_PASS_INSTRUMENT_SGIX 0x8310
3357 #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
3358 #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
3359 #endif
3360
3361 #ifndef GL_3DFX_texture_compression_FXT1
3362 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
3363 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
3364 #endif
3365
3366 #ifndef GL_3DFX_multisample
3367 #define GL_MULTISAMPLE_3DFX 0x86B2
3368 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
3369 #define GL_SAMPLES_3DFX 0x86B4
3370 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
3371 #endif
3372
3373 #ifndef GL_3DFX_tbuffer
3374 #endif
3375
3376 #ifndef GL_EXT_multisample
3377 #define GL_MULTISAMPLE_EXT 0x809D
3378 #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
3379 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
3380 #define GL_SAMPLE_MASK_EXT 0x80A0
3381 #define GL_1PASS_EXT 0x80A1
3382 #define GL_2PASS_0_EXT 0x80A2
3383 #define GL_2PASS_1_EXT 0x80A3
3384 #define GL_4PASS_0_EXT 0x80A4
3385 #define GL_4PASS_1_EXT 0x80A5
3386 #define GL_4PASS_2_EXT 0x80A6
3387 #define GL_4PASS_3_EXT 0x80A7
3388 #define GL_SAMPLE_BUFFERS_EXT 0x80A8
3389 #define GL_SAMPLES_EXT 0x80A9
3390 #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
3391 #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
3392 #define GL_SAMPLE_PATTERN_EXT 0x80AC
3393 #define GL_MULTISAMPLE_BIT_EXT 0x20000000
3394 #endif
3395
3396 #ifndef GL_SGIX_vertex_preclip
3397 #define GL_VERTEX_PRECLIP_SGIX 0x83EE
3398 #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
3399 #endif
3400
3401 #ifndef GL_SGIX_convolution_accuracy
3402 #define GL_CONVOLUTION_HINT_SGIX 0x8316
3403 #endif
3404
3405 #ifndef GL_SGIX_resample
3406 #define GL_PACK_RESAMPLE_SGIX 0x842C
3407 #define GL_UNPACK_RESAMPLE_SGIX 0x842D
3408 #define GL_RESAMPLE_REPLICATE_SGIX 0x842E
3409 #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
3410 #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
3411 #endif
3412
3413 #ifndef GL_SGIS_point_line_texgen
3414 #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
3415 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
3416 #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
3417 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
3418 #define GL_EYE_POINT_SGIS 0x81F4
3419 #define GL_OBJECT_POINT_SGIS 0x81F5
3420 #define GL_EYE_LINE_SGIS 0x81F6
3421 #define GL_OBJECT_LINE_SGIS 0x81F7
3422 #endif
3423
3424 #ifndef GL_SGIS_texture_color_mask
3425 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
3426 #endif
3427
3428 #ifndef GL_EXT_texture_env_dot3
3429 #define GL_DOT3_RGB_EXT 0x8740
3430 #define GL_DOT3_RGBA_EXT 0x8741
3431 #endif
3432
3433 #ifndef GL_ATI_texture_mirror_once
3434 #define GL_MIRROR_CLAMP_ATI 0x8742
3435 #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
3436 #endif
3437
3438 #ifndef GL_NV_fence
3439 #define GL_ALL_COMPLETED_NV 0x84F2
3440 #define GL_FENCE_STATUS_NV 0x84F3
3441 #define GL_FENCE_CONDITION_NV 0x84F4
3442 #endif
3443
3444 #ifndef GL_IBM_texture_mirrored_repeat
3445 #define GL_MIRRORED_REPEAT_IBM 0x8370
3446 #endif
3447
3448 #ifndef GL_NV_evaluators
3449 #define GL_EVAL_2D_NV 0x86C0
3450 #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
3451 #define GL_MAP_TESSELLATION_NV 0x86C2
3452 #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
3453 #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
3454 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
3455 #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
3456 #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
3457 #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
3458 #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
3459 #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
3460 #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
3461 #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
3462 #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
3463 #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
3464 #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
3465 #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
3466 #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
3467 #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
3468 #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
3469 #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
3470 #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
3471 #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
3472 #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
3473 #endif
3474
3475 #ifndef GL_NV_packed_depth_stencil
3476 #define GL_DEPTH_STENCIL_NV 0x84F9
3477 #define GL_UNSIGNED_INT_24_8_NV 0x84FA
3478 #endif
3479
3480 #ifndef GL_NV_register_combiners2
3481 #define GL_PER_STAGE_CONSTANTS_NV 0x8535
3482 #endif
3483
3484 #ifndef GL_NV_texture_compression_vtc
3485 #endif
3486
3487 #ifndef GL_NV_texture_rectangle
3488 #define GL_TEXTURE_RECTANGLE_NV 0x84F5
3489 #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
3490 #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
3491 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
3492 #endif
3493
3494 #ifndef GL_NV_texture_shader
3495 #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
3496 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
3497 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
3498 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
3499 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
3500 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
3501 #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
3502 #define GL_SHADER_CONSISTENT_NV 0x86DD
3503 #define GL_TEXTURE_SHADER_NV 0x86DE
3504 #define GL_SHADER_OPERATION_NV 0x86DF
3505 #define GL_CULL_MODES_NV 0x86E0
3506 #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
3507 #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
3508 #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
3509 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV GL_OFFSET_TEXTURE_MATRIX_NV
3510 #define GL_OFFSET_TEXTURE_2D_SCALE_NV GL_OFFSET_TEXTURE_SCALE_NV
3511 #define GL_OFFSET_TEXTURE_2D_BIAS_NV GL_OFFSET_TEXTURE_BIAS_NV
3512 #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
3513 #define GL_CONST_EYE_NV 0x86E5
3514 #define GL_PASS_THROUGH_NV 0x86E6
3515 #define GL_CULL_FRAGMENT_NV 0x86E7
3516 #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
3517 #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
3518 #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
3519 #define GL_DOT_PRODUCT_NV 0x86EC
3520 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
3521 #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
3522 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
3523 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
3524 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
3525 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
3526 #define GL_HILO_NV 0x86F4
3527 #define GL_DSDT_NV 0x86F5
3528 #define GL_DSDT_MAG_NV 0x86F6
3529 #define GL_DSDT_MAG_VIB_NV 0x86F7
3530 #define GL_HILO16_NV 0x86F8
3531 #define GL_SIGNED_HILO_NV 0x86F9
3532 #define GL_SIGNED_HILO16_NV 0x86FA
3533 #define GL_SIGNED_RGBA_NV 0x86FB
3534 #define GL_SIGNED_RGBA8_NV 0x86FC
3535 #define GL_SIGNED_RGB_NV 0x86FE
3536 #define GL_SIGNED_RGB8_NV 0x86FF
3537 #define GL_SIGNED_LUMINANCE_NV 0x8701
3538 #define GL_SIGNED_LUMINANCE8_NV 0x8702
3539 #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
3540 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
3541 #define GL_SIGNED_ALPHA_NV 0x8705
3542 #define GL_SIGNED_ALPHA8_NV 0x8706
3543 #define GL_SIGNED_INTENSITY_NV 0x8707
3544 #define GL_SIGNED_INTENSITY8_NV 0x8708
3545 #define GL_DSDT8_NV 0x8709
3546 #define GL_DSDT8_MAG8_NV 0x870A
3547 #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
3548 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
3549 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
3550 #define GL_HI_SCALE_NV 0x870E
3551 #define GL_LO_SCALE_NV 0x870F
3552 #define GL_DS_SCALE_NV 0x8710
3553 #define GL_DT_SCALE_NV 0x8711
3554 #define GL_MAGNITUDE_SCALE_NV 0x8712
3555 #define GL_VIBRANCE_SCALE_NV 0x8713
3556 #define GL_HI_BIAS_NV 0x8714
3557 #define GL_LO_BIAS_NV 0x8715
3558 #define GL_DS_BIAS_NV 0x8716
3559 #define GL_DT_BIAS_NV 0x8717
3560 #define GL_MAGNITUDE_BIAS_NV 0x8718
3561 #define GL_VIBRANCE_BIAS_NV 0x8719
3562 #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
3563 #define GL_TEXTURE_HI_SIZE_NV 0x871B
3564 #define GL_TEXTURE_LO_SIZE_NV 0x871C
3565 #define GL_TEXTURE_DS_SIZE_NV 0x871D
3566 #define GL_TEXTURE_DT_SIZE_NV 0x871E
3567 #define GL_TEXTURE_MAG_SIZE_NV 0x871F
3568 #endif
3569
3570 #ifndef GL_NV_texture_shader2
3571 #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
3572 #endif
3573
3574 #ifndef GL_NV_vertex_array_range2
3575 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
3576 #endif
3577
3578 #ifndef GL_NV_vertex_program
3579 #define GL_VERTEX_PROGRAM_NV 0x8620
3580 #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
3581 #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
3582 #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
3583 #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
3584 #define GL_CURRENT_ATTRIB_NV 0x8626
3585 #define GL_PROGRAM_LENGTH_NV 0x8627
3586 #define GL_PROGRAM_STRING_NV 0x8628
3587 #define GL_MODELVIEW_PROJECTION_NV 0x8629
3588 #define GL_IDENTITY_NV 0x862A
3589 #define GL_INVERSE_NV 0x862B
3590 #define GL_TRANSPOSE_NV 0x862C
3591 #define GL_INVERSE_TRANSPOSE_NV 0x862D
3592 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
3593 #define GL_MAX_TRACK_MATRICES_NV 0x862F
3594 #define GL_MATRIX0_NV 0x8630
3595 #define GL_MATRIX1_NV 0x8631
3596 #define GL_MATRIX2_NV 0x8632
3597 #define GL_MATRIX3_NV 0x8633
3598 #define GL_MATRIX4_NV 0x8634
3599 #define GL_MATRIX5_NV 0x8635
3600 #define GL_MATRIX6_NV 0x8636
3601 #define GL_MATRIX7_NV 0x8637
3602 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
3603 #define GL_CURRENT_MATRIX_NV 0x8641
3604 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
3605 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
3606 #define GL_PROGRAM_PARAMETER_NV 0x8644
3607 #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
3608 #define GL_PROGRAM_TARGET_NV 0x8646
3609 #define GL_PROGRAM_RESIDENT_NV 0x8647
3610 #define GL_TRACK_MATRIX_NV 0x8648
3611 #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
3612 #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
3613 #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
3614 #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
3615 #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
3616 #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
3617 #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
3618 #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
3619 #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
3620 #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
3621 #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
3622 #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
3623 #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
3624 #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
3625 #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
3626 #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
3627 #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
3628 #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
3629 #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
3630 #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
3631 #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
3632 #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
3633 #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
3634 #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
3635 #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
3636 #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
3637 #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
3638 #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
3639 #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
3640 #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
3641 #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
3642 #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
3643 #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
3644 #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
3645 #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
3646 #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
3647 #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
3648 #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
3649 #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
3650 #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
3651 #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
3652 #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
3653 #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
3654 #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
3655 #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
3656 #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
3657 #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
3658 #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
3659 #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
3660 #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
3661 #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
3662 #endif
3663
3664 #ifndef GL_SGIX_texture_coordinate_clamp
3665 #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
3666 #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
3667 #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
3668 #endif
3669
3670 #ifndef GL_SGIX_scalebias_hint
3671 #define GL_SCALEBIAS_HINT_SGIX 0x8322
3672 #endif
3673
3674 #ifndef GL_OML_interlace
3675 #define GL_INTERLACE_OML 0x8980
3676 #define GL_INTERLACE_READ_OML 0x8981
3677 #endif
3678
3679 #ifndef GL_OML_subsample
3680 #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
3681 #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
3682 #endif
3683
3684 #ifndef GL_OML_resample
3685 #define GL_PACK_RESAMPLE_OML 0x8984
3686 #define GL_UNPACK_RESAMPLE_OML 0x8985
3687 #define GL_RESAMPLE_REPLICATE_OML 0x8986
3688 #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
3689 #define GL_RESAMPLE_AVERAGE_OML 0x8988
3690 #define GL_RESAMPLE_DECIMATE_OML 0x8989
3691 #endif
3692
3693 #ifndef GL_NV_copy_depth_to_color
3694 #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
3695 #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
3696 #endif
3697
3698 #ifndef GL_ATI_envmap_bumpmap
3699 #define GL_BUMP_ROT_MATRIX_ATI 0x8775
3700 #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
3701 #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
3702 #define GL_BUMP_TEX_UNITS_ATI 0x8778
3703 #define GL_DUDV_ATI 0x8779
3704 #define GL_DU8DV8_ATI 0x877A
3705 #define GL_BUMP_ENVMAP_ATI 0x877B
3706 #define GL_BUMP_TARGET_ATI 0x877C
3707 #endif
3708
3709 #ifndef GL_ATI_fragment_shader
3710 #define GL_FRAGMENT_SHADER_ATI 0x8920
3711 #define GL_REG_0_ATI 0x8921
3712 #define GL_REG_1_ATI 0x8922
3713 #define GL_REG_2_ATI 0x8923
3714 #define GL_REG_3_ATI 0x8924
3715 #define GL_REG_4_ATI 0x8925
3716 #define GL_REG_5_ATI 0x8926
3717 #define GL_REG_6_ATI 0x8927
3718 #define GL_REG_7_ATI 0x8928
3719 #define GL_REG_8_ATI 0x8929
3720 #define GL_REG_9_ATI 0x892A
3721 #define GL_REG_10_ATI 0x892B
3722 #define GL_REG_11_ATI 0x892C
3723 #define GL_REG_12_ATI 0x892D
3724 #define GL_REG_13_ATI 0x892E
3725 #define GL_REG_14_ATI 0x892F
3726 #define GL_REG_15_ATI 0x8930
3727 #define GL_REG_16_ATI 0x8931
3728 #define GL_REG_17_ATI 0x8932
3729 #define GL_REG_18_ATI 0x8933
3730 #define GL_REG_19_ATI 0x8934
3731 #define GL_REG_20_ATI 0x8935
3732 #define GL_REG_21_ATI 0x8936
3733 #define GL_REG_22_ATI 0x8937
3734 #define GL_REG_23_ATI 0x8938
3735 #define GL_REG_24_ATI 0x8939
3736 #define GL_REG_25_ATI 0x893A
3737 #define GL_REG_26_ATI 0x893B
3738 #define GL_REG_27_ATI 0x893C
3739 #define GL_REG_28_ATI 0x893D
3740 #define GL_REG_29_ATI 0x893E
3741 #define GL_REG_30_ATI 0x893F
3742 #define GL_REG_31_ATI 0x8940
3743 #define GL_CON_0_ATI 0x8941
3744 #define GL_CON_1_ATI 0x8942
3745 #define GL_CON_2_ATI 0x8943
3746 #define GL_CON_3_ATI 0x8944
3747 #define GL_CON_4_ATI 0x8945
3748 #define GL_CON_5_ATI 0x8946
3749 #define GL_CON_6_ATI 0x8947
3750 #define GL_CON_7_ATI 0x8948
3751 #define GL_CON_8_ATI 0x8949
3752 #define GL_CON_9_ATI 0x894A
3753 #define GL_CON_10_ATI 0x894B
3754 #define GL_CON_11_ATI 0x894C
3755 #define GL_CON_12_ATI 0x894D
3756 #define GL_CON_13_ATI 0x894E
3757 #define GL_CON_14_ATI 0x894F
3758 #define GL_CON_15_ATI 0x8950
3759 #define GL_CON_16_ATI 0x8951
3760 #define GL_CON_17_ATI 0x8952
3761 #define GL_CON_18_ATI 0x8953
3762 #define GL_CON_19_ATI 0x8954
3763 #define GL_CON_20_ATI 0x8955
3764 #define GL_CON_21_ATI 0x8956
3765 #define GL_CON_22_ATI 0x8957
3766 #define GL_CON_23_ATI 0x8958
3767 #define GL_CON_24_ATI 0x8959
3768 #define GL_CON_25_ATI 0x895A
3769 #define GL_CON_26_ATI 0x895B
3770 #define GL_CON_27_ATI 0x895C
3771 #define GL_CON_28_ATI 0x895D
3772 #define GL_CON_29_ATI 0x895E
3773 #define GL_CON_30_ATI 0x895F
3774 #define GL_CON_31_ATI 0x8960
3775 #define GL_MOV_ATI 0x8961
3776 #define GL_ADD_ATI 0x8963
3777 #define GL_MUL_ATI 0x8964
3778 #define GL_SUB_ATI 0x8965
3779 #define GL_DOT3_ATI 0x8966
3780 #define GL_DOT4_ATI 0x8967
3781 #define GL_MAD_ATI 0x8968
3782 #define GL_LERP_ATI 0x8969
3783 #define GL_CND_ATI 0x896A
3784 #define GL_CND0_ATI 0x896B
3785 #define GL_DOT2_ADD_ATI 0x896C
3786 #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
3787 #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
3788 #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
3789 #define GL_NUM_PASSES_ATI 0x8970
3790 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
3791 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
3792 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
3793 #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
3794 #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
3795 #define GL_SWIZZLE_STR_ATI 0x8976
3796 #define GL_SWIZZLE_STQ_ATI 0x8977
3797 #define GL_SWIZZLE_STR_DR_ATI 0x8978
3798 #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
3799 #define GL_SWIZZLE_STRQ_ATI 0x897A
3800 #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
3801 #define GL_RED_BIT_ATI 0x00000001
3802 #define GL_GREEN_BIT_ATI 0x00000002
3803 #define GL_BLUE_BIT_ATI 0x00000004
3804 #define GL_2X_BIT_ATI 0x00000001
3805 #define GL_4X_BIT_ATI 0x00000002
3806 #define GL_8X_BIT_ATI 0x00000004
3807 #define GL_HALF_BIT_ATI 0x00000008
3808 #define GL_QUARTER_BIT_ATI 0x00000010
3809 #define GL_EIGHTH_BIT_ATI 0x00000020
3810 #define GL_SATURATE_BIT_ATI 0x00000040
3811 #define GL_COMP_BIT_ATI 0x00000002
3812 #define GL_NEGATE_BIT_ATI 0x00000004
3813 #define GL_BIAS_BIT_ATI 0x00000008
3814 #endif
3815
3816 #ifndef GL_ATI_pn_triangles
3817 #define GL_PN_TRIANGLES_ATI 0x87F0
3818 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
3819 #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
3820 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
3821 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
3822 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
3823 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
3824 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
3825 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
3826 #endif
3827
3828 #ifndef GL_ATI_vertex_array_object
3829 #define GL_STATIC_ATI 0x8760
3830 #define GL_DYNAMIC_ATI 0x8761
3831 #define GL_PRESERVE_ATI 0x8762
3832 #define GL_DISCARD_ATI 0x8763
3833 #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
3834 #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
3835 #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
3836 #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
3837 #endif
3838
3839 #ifndef GL_EXT_vertex_shader
3840 #define GL_VERTEX_SHADER_EXT 0x8780
3841 #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
3842 #define GL_OP_INDEX_EXT 0x8782
3843 #define GL_OP_NEGATE_EXT 0x8783
3844 #define GL_OP_DOT3_EXT 0x8784
3845 #define GL_OP_DOT4_EXT 0x8785
3846 #define GL_OP_MUL_EXT 0x8786
3847 #define GL_OP_ADD_EXT 0x8787
3848 #define GL_OP_MADD_EXT 0x8788
3849 #define GL_OP_FRAC_EXT 0x8789
3850 #define GL_OP_MAX_EXT 0x878A
3851 #define GL_OP_MIN_EXT 0x878B
3852 #define GL_OP_SET_GE_EXT 0x878C
3853 #define GL_OP_SET_LT_EXT 0x878D
3854 #define GL_OP_CLAMP_EXT 0x878E
3855 #define GL_OP_FLOOR_EXT 0x878F
3856 #define GL_OP_ROUND_EXT 0x8790
3857 #define GL_OP_EXP_BASE_2_EXT 0x8791
3858 #define GL_OP_LOG_BASE_2_EXT 0x8792
3859 #define GL_OP_POWER_EXT 0x8793
3860 #define GL_OP_RECIP_EXT 0x8794
3861 #define GL_OP_RECIP_SQRT_EXT 0x8795
3862 #define GL_OP_SUB_EXT 0x8796
3863 #define GL_OP_CROSS_PRODUCT_EXT 0x8797
3864 #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
3865 #define GL_OP_MOV_EXT 0x8799
3866 #define GL_OUTPUT_VERTEX_EXT 0x879A
3867 #define GL_OUTPUT_COLOR0_EXT 0x879B
3868 #define GL_OUTPUT_COLOR1_EXT 0x879C
3869 #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
3870 #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
3871 #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
3872 #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
3873 #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
3874 #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
3875 #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
3876 #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
3877 #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
3878 #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
3879 #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
3880 #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
3881 #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
3882 #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
3883 #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
3884 #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
3885 #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
3886 #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
3887 #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
3888 #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
3889 #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
3890 #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
3891 #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
3892 #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
3893 #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
3894 #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
3895 #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
3896 #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
3897 #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
3898 #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
3899 #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
3900 #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
3901 #define GL_OUTPUT_FOG_EXT 0x87BD
3902 #define GL_SCALAR_EXT 0x87BE
3903 #define GL_VECTOR_EXT 0x87BF
3904 #define GL_MATRIX_EXT 0x87C0
3905 #define GL_VARIANT_EXT 0x87C1
3906 #define GL_INVARIANT_EXT 0x87C2
3907 #define GL_LOCAL_CONSTANT_EXT 0x87C3
3908 #define GL_LOCAL_EXT 0x87C4
3909 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
3910 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
3911 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
3912 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
3913 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
3914 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
3915 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
3916 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
3917 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
3918 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
3919 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
3920 #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
3921 #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
3922 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
3923 #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
3924 #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
3925 #define GL_X_EXT 0x87D5
3926 #define GL_Y_EXT 0x87D6
3927 #define GL_Z_EXT 0x87D7
3928 #define GL_W_EXT 0x87D8
3929 #define GL_NEGATIVE_X_EXT 0x87D9
3930 #define GL_NEGATIVE_Y_EXT 0x87DA
3931 #define GL_NEGATIVE_Z_EXT 0x87DB
3932 #define GL_NEGATIVE_W_EXT 0x87DC
3933 #define GL_ZERO_EXT 0x87DD
3934 #define GL_ONE_EXT 0x87DE
3935 #define GL_NEGATIVE_ONE_EXT 0x87DF
3936 #define GL_NORMALIZED_RANGE_EXT 0x87E0
3937 #define GL_FULL_RANGE_EXT 0x87E1
3938 #define GL_CURRENT_VERTEX_EXT 0x87E2
3939 #define GL_MVP_MATRIX_EXT 0x87E3
3940 #define GL_VARIANT_VALUE_EXT 0x87E4
3941 #define GL_VARIANT_DATATYPE_EXT 0x87E5
3942 #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
3943 #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
3944 #define GL_VARIANT_ARRAY_EXT 0x87E8
3945 #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
3946 #define GL_INVARIANT_VALUE_EXT 0x87EA
3947 #define GL_INVARIANT_DATATYPE_EXT 0x87EB
3948 #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
3949 #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
3950 #endif
3951
3952 #ifndef GL_ATI_vertex_streams
3953 #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
3954 #define GL_VERTEX_STREAM0_ATI 0x876C
3955 #define GL_VERTEX_STREAM1_ATI 0x876D
3956 #define GL_VERTEX_STREAM2_ATI 0x876E
3957 #define GL_VERTEX_STREAM3_ATI 0x876F
3958 #define GL_VERTEX_STREAM4_ATI 0x8770
3959 #define GL_VERTEX_STREAM5_ATI 0x8771
3960 #define GL_VERTEX_STREAM6_ATI 0x8772
3961 #define GL_VERTEX_STREAM7_ATI 0x8773
3962 #define GL_VERTEX_SOURCE_ATI 0x8774
3963 #endif
3964
3965 #ifndef GL_ATI_element_array
3966 #define GL_ELEMENT_ARRAY_ATI 0x8768
3967 #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
3968 #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
3969 #endif
3970
3971 #ifndef GL_SUN_mesh_array
3972 #define GL_QUAD_MESH_SUN 0x8614
3973 #define GL_TRIANGLE_MESH_SUN 0x8615
3974 #endif
3975
3976 #ifndef GL_SUN_slice_accum
3977 #define GL_SLICE_ACCUM_SUN 0x85CC
3978 #endif
3979
3980 #ifndef GL_NV_multisample_filter_hint
3981 #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
3982 #endif
3983
3984 #ifndef GL_NV_depth_clamp
3985 #define GL_DEPTH_CLAMP_NV 0x864F
3986 #endif
3987
3988 #ifndef GL_NV_occlusion_query
3989 #define GL_PIXEL_COUNTER_BITS_NV 0x8864
3990 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
3991 #define GL_PIXEL_COUNT_NV 0x8866
3992 #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
3993 #endif
3994
3995 #ifndef GL_NV_point_sprite
3996 #define GL_POINT_SPRITE_NV 0x8861
3997 #define GL_COORD_REPLACE_NV 0x8862
3998 #define GL_POINT_SPRITE_R_MODE_NV 0x8863
3999 #endif
4000
4001 #ifndef GL_NV_texture_shader3
4002 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
4003 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
4004 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
4005 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
4006 #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
4007 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
4008 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
4009 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
4010 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
4011 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
4012 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
4013 #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
4014 #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
4015 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
4016 #define GL_HILO8_NV 0x885E
4017 #define GL_SIGNED_HILO8_NV 0x885F
4018 #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
4019 #endif
4020
4021 #ifndef GL_NV_vertex_program1_1
4022 #endif
4023
4024 #ifndef GL_EXT_shadow_funcs
4025 #endif
4026
4027 #ifndef GL_EXT_stencil_two_side
4028 #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
4029 #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
4030 #endif
4031
4032 #ifndef GL_ATI_text_fragment_shader
4033 #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
4034 #endif
4035
4036 #ifndef GL_APPLE_client_storage
4037 #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
4038 #endif
4039
4040 #ifndef GL_APPLE_element_array
4041 #define GL_ELEMENT_ARRAY_APPLE 0x8A0C
4042 #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
4043 #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
4044 #endif
4045
4046 #ifndef GL_APPLE_fence
4047 #define GL_DRAW_PIXELS_APPLE 0x8A0A
4048 #define GL_FENCE_APPLE 0x8A0B
4049 #endif
4050
4051 #ifndef GL_APPLE_vertex_array_object
4052 #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
4053 #endif
4054
4055 #ifndef GL_APPLE_vertex_array_range
4056 #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
4057 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
4058 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
4059 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
4060 #define GL_STORAGE_CLIENT_APPLE 0x85B4
4061 #define GL_STORAGE_CACHED_APPLE 0x85BE
4062 #define GL_STORAGE_SHARED_APPLE 0x85BF
4063 #endif
4064
4065 #ifndef GL_APPLE_ycbcr_422
4066 #define GL_YCBCR_422_APPLE 0x85B9
4067 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
4068 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
4069 #endif
4070
4071 #ifndef GL_S3_s3tc
4072 #define GL_RGB_S3TC 0x83A0
4073 #define GL_RGB4_S3TC 0x83A1
4074 #define GL_RGBA_S3TC 0x83A2
4075 #define GL_RGBA4_S3TC 0x83A3
4076 #endif
4077
4078 #ifndef GL_ATI_draw_buffers
4079 #define GL_MAX_DRAW_BUFFERS_ATI 0x8824
4080 #define GL_DRAW_BUFFER0_ATI 0x8825
4081 #define GL_DRAW_BUFFER1_ATI 0x8826
4082 #define GL_DRAW_BUFFER2_ATI 0x8827
4083 #define GL_DRAW_BUFFER3_ATI 0x8828
4084 #define GL_DRAW_BUFFER4_ATI 0x8829
4085 #define GL_DRAW_BUFFER5_ATI 0x882A
4086 #define GL_DRAW_BUFFER6_ATI 0x882B
4087 #define GL_DRAW_BUFFER7_ATI 0x882C
4088 #define GL_DRAW_BUFFER8_ATI 0x882D
4089 #define GL_DRAW_BUFFER9_ATI 0x882E
4090 #define GL_DRAW_BUFFER10_ATI 0x882F
4091 #define GL_DRAW_BUFFER11_ATI 0x8830
4092 #define GL_DRAW_BUFFER12_ATI 0x8831
4093 #define GL_DRAW_BUFFER13_ATI 0x8832
4094 #define GL_DRAW_BUFFER14_ATI 0x8833
4095 #define GL_DRAW_BUFFER15_ATI 0x8834
4096 #endif
4097
4098 #ifndef GL_ATI_pixel_format_float
4099 #define GL_TYPE_RGBA_FLOAT_ATI 0x8820
4100 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
4101 #endif
4102
4103 #ifndef GL_ATI_texture_env_combine3
4104 #define GL_MODULATE_ADD_ATI 0x8744
4105 #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
4106 #define GL_MODULATE_SUBTRACT_ATI 0x8746
4107 #endif
4108
4109 #ifndef GL_ATI_texture_float
4110 #define GL_RGBA_FLOAT32_ATI 0x8814
4111 #define GL_RGB_FLOAT32_ATI 0x8815
4112 #define GL_ALPHA_FLOAT32_ATI 0x8816
4113 #define GL_INTENSITY_FLOAT32_ATI 0x8817
4114 #define GL_LUMINANCE_FLOAT32_ATI 0x8818
4115 #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
4116 #define GL_RGBA_FLOAT16_ATI 0x881A
4117 #define GL_RGB_FLOAT16_ATI 0x881B
4118 #define GL_ALPHA_FLOAT16_ATI 0x881C
4119 #define GL_INTENSITY_FLOAT16_ATI 0x881D
4120 #define GL_LUMINANCE_FLOAT16_ATI 0x881E
4121 #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
4122 #endif
4123
4124 #ifndef GL_NV_float_buffer
4125 #define GL_FLOAT_R_NV 0x8880
4126 #define GL_FLOAT_RG_NV 0x8881
4127 #define GL_FLOAT_RGB_NV 0x8882
4128 #define GL_FLOAT_RGBA_NV 0x8883
4129 #define GL_FLOAT_R16_NV 0x8884
4130 #define GL_FLOAT_R32_NV 0x8885
4131 #define GL_FLOAT_RG16_NV 0x8886
4132 #define GL_FLOAT_RG32_NV 0x8887
4133 #define GL_FLOAT_RGB16_NV 0x8888
4134 #define GL_FLOAT_RGB32_NV 0x8889
4135 #define GL_FLOAT_RGBA16_NV 0x888A
4136 #define GL_FLOAT_RGBA32_NV 0x888B
4137 #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
4138 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
4139 #define GL_FLOAT_RGBA_MODE_NV 0x888E
4140 #endif
4141
4142 #ifndef GL_NV_fragment_program
4143 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
4144 #define GL_FRAGMENT_PROGRAM_NV 0x8870
4145 #define GL_MAX_TEXTURE_COORDS_NV 0x8871
4146 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
4147 #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
4148 #define GL_PROGRAM_ERROR_STRING_NV 0x8874
4149 #endif
4150
4151 #ifndef GL_NV_half_float
4152 #define GL_HALF_FLOAT_NV 0x140B
4153 #endif
4154
4155 #ifndef GL_NV_pixel_data_range
4156 #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
4157 #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879
4158 #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
4159 #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
4160 #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
4161 #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
4162 #endif
4163
4164 #ifndef GL_NV_primitive_restart
4165 #define GL_PRIMITIVE_RESTART_NV 0x8558
4166 #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
4167 #endif
4168
4169 #ifndef GL_NV_texture_expand_normal
4170 #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
4171 #endif
4172
4173 #ifndef GL_NV_vertex_program2
4174 #endif
4175
4176 #ifndef GL_ATI_map_object_buffer
4177 #endif
4178
4179 #ifndef GL_ATI_separate_stencil
4180 #define GL_STENCIL_BACK_FUNC_ATI 0x8800
4181 #define GL_STENCIL_BACK_FAIL_ATI 0x8801
4182 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
4183 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
4184 #endif
4185
4186 #ifndef GL_ATI_vertex_attrib_array_object
4187 #endif
4188
4189 #ifndef GL_OES_read_format
4190 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
4191 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
4192 #endif
4193
4194 #ifndef GL_EXT_depth_bounds_test
4195 #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
4196 #define GL_DEPTH_BOUNDS_EXT 0x8891
4197 #endif
4198
4199 #ifndef GL_EXT_texture_mirror_clamp
4200 #define GL_MIRROR_CLAMP_EXT 0x8742
4201 #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
4202 #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
4203 #endif
4204
4205 #ifndef GL_EXT_blend_equation_separate
4206 #define GL_BLEND_EQUATION_RGB_EXT 0x8009
4207 #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
4208 #endif
4209
4210 #ifndef GL_MESA_pack_invert
4211 #define GL_PACK_INVERT_MESA 0x8758
4212 #endif
4213
4214 #ifndef GL_MESA_ycbcr_texture
4215 #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
4216 #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
4217 #define GL_YCBCR_MESA 0x8757
4218 #endif
4219
4220 #ifndef GL_EXT_pixel_buffer_object
4221 #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
4222 #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
4223 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
4224 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
4225 #endif
4226
4227 #ifndef GL_NV_fragment_program_option
4228 #endif
4229
4230 #ifndef GL_NV_fragment_program2
4231 #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
4232 #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
4233 #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
4234 #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
4235 #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
4236 #endif
4237
4238 #ifndef GL_NV_vertex_program2_option
4239 /* reuse GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */
4240 /* reuse GL_MAX_PROGRAM_CALL_DEPTH_NV */
4241 #endif
4242
4243 #ifndef GL_NV_vertex_program3
4244 /* reuse GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */
4245 #endif
4246
4247 #ifndef GL_EXT_framebuffer_object
4248 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
4249 #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
4250 #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
4251 #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
4252 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
4253 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
4254 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
4255 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
4256 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
4257 #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
4258 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
4259 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
4260 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
4261 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
4262 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
4263 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
4264 #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
4265 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
4266 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
4267 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
4268 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
4269 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
4270 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
4271 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
4272 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
4273 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
4274 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
4275 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
4276 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
4277 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
4278 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
4279 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
4280 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
4281 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
4282 #define GL_DEPTH_ATTACHMENT_EXT 0x8D00
4283 #define GL_STENCIL_ATTACHMENT_EXT 0x8D20
4284 #define GL_FRAMEBUFFER_EXT 0x8D40
4285 #define GL_RENDERBUFFER_EXT 0x8D41
4286 #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
4287 #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
4288 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
4289 #define GL_STENCIL_INDEX1_EXT 0x8D46
4290 #define GL_STENCIL_INDEX4_EXT 0x8D47
4291 #define GL_STENCIL_INDEX8_EXT 0x8D48
4292 #define GL_STENCIL_INDEX16_EXT 0x8D49
4293 #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
4294 #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
4295 #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
4296 #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
4297 #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
4298 #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
4299 #endif
4300
4301 #ifndef GL_GREMEDY_string_marker
4302 #endif
4303
4304 #ifndef GL_EXT_packed_depth_stencil
4305 #define GL_DEPTH_STENCIL_EXT 0x84F9
4306 #define GL_UNSIGNED_INT_24_8_EXT 0x84FA
4307 #define GL_DEPTH24_STENCIL8_EXT 0x88F0
4308 #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
4309 #endif
4310
4311 #ifndef GL_EXT_stencil_clear_tag
4312 #define GL_STENCIL_TAG_BITS_EXT 0x88F2
4313 #define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
4314 #endif
4315
4316 #ifndef GL_EXT_texture_sRGB
4317 #define GL_SRGB_EXT 0x8C40
4318 #define GL_SRGB8_EXT 0x8C41
4319 #define GL_SRGB_ALPHA_EXT 0x8C42
4320 #define GL_SRGB8_ALPHA8_EXT 0x8C43
4321 #define GL_SLUMINANCE_ALPHA_EXT 0x8C44
4322 #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
4323 #define GL_SLUMINANCE_EXT 0x8C46
4324 #define GL_SLUMINANCE8_EXT 0x8C47
4325 #define GL_COMPRESSED_SRGB_EXT 0x8C48
4326 #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
4327 #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
4328 #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
4329 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
4330 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
4331 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
4332 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
4333 #endif
4334
4335 #ifndef GL_EXT_framebuffer_blit
4336 #define GL_READ_FRAMEBUFFER_EXT 0x8CA8
4337 #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
4338 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT GL_FRAMEBUFFER_BINDING_EXT
4339 #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
4340 #endif
4341
4342 #ifndef GL_EXT_framebuffer_multisample
4343 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
4344 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
4345 #define GL_MAX_SAMPLES_EXT 0x8D57
4346 #endif
4347
4348 #ifndef GL_MESAX_texture_stack
4349 #define GL_TEXTURE_1D_STACK_MESAX 0x8759
4350 #define GL_TEXTURE_2D_STACK_MESAX 0x875A
4351 #define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B
4352 #define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C
4353 #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
4354 #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
4355 #endif
4356
4357 #ifndef GL_EXT_timer_query
4358 #define GL_TIME_ELAPSED_EXT 0x88BF
4359 #endif
4360
4361 #ifndef GL_EXT_gpu_program_parameters
4362 #endif
4363
4364 #ifndef GL_APPLE_flush_buffer_range
4365 #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
4366 #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
4367 #endif
4368
4369 #ifndef GL_NV_gpu_program4
4370 #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
4371 #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905
4372 #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906
4373 #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907
4374 #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
4375 #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
4376 #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
4377 #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
4378 #endif
4379
4380 #ifndef GL_NV_geometry_program4
4381 #define GL_LINES_ADJACENCY_EXT 0x000A
4382 #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
4383 #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
4384 #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
4385 #define GL_GEOMETRY_PROGRAM_NV 0x8C26
4386 #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
4387 #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
4388 #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
4389 #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
4390 #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
4391 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
4392 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
4393 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
4394 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
4395 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
4396 #define GL_PROGRAM_POINT_SIZE_EXT 0x8642
4397 #endif
4398
4399 #ifndef GL_EXT_geometry_shader4
4400 #define GL_GEOMETRY_SHADER_EXT 0x8DD9
4401 /* reuse GL_GEOMETRY_VERTICES_OUT_EXT */
4402 /* reuse GL_GEOMETRY_INPUT_TYPE_EXT */
4403 /* reuse GL_GEOMETRY_OUTPUT_TYPE_EXT */
4404 /* reuse GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT */
4405 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
4406 #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
4407 #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
4408 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
4409 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
4410 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
4411 /* reuse GL_LINES_ADJACENCY_EXT */
4412 /* reuse GL_LINE_STRIP_ADJACENCY_EXT */
4413 /* reuse GL_TRIANGLES_ADJACENCY_EXT */
4414 /* reuse GL_TRIANGLE_STRIP_ADJACENCY_EXT */
4415 /* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT */
4416 /* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT */
4417 /* reuse GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT */
4418 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
4419 /* reuse GL_PROGRAM_POINT_SIZE_EXT */
4420 #endif
4421
4422 #ifndef GL_NV_vertex_program4
4423 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
4424 #endif
4425
4426 #ifndef GL_EXT_gpu_shader4
4427 #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
4428 #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
4429 #define GL_SAMPLER_BUFFER_EXT 0x8DC2
4430 #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
4431 #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
4432 #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
4433 #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
4434 #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
4435 #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
4436 #define GL_INT_SAMPLER_1D_EXT 0x8DC9
4437 #define GL_INT_SAMPLER_2D_EXT 0x8DCA
4438 #define GL_INT_SAMPLER_3D_EXT 0x8DCB
4439 #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
4440 #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
4441 #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
4442 #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
4443 #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
4444 #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
4445 #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
4446 #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
4447 #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
4448 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
4449 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
4450 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
4451 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
4452 #endif
4453
4454 #ifndef GL_EXT_draw_instanced
4455 #endif
4456
4457 #ifndef GL_EXT_packed_float
4458 #define GL_R11F_G11F_B10F_EXT 0x8C3A
4459 #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
4460 #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
4461 #endif
4462
4463 #ifndef GL_EXT_texture_array
4464 #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
4465 #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
4466 #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
4467 #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
4468 #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
4469 #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
4470 #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
4471 #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
4472 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
4473 #endif
4474
4475 #ifndef GL_EXT_texture_buffer_object
4476 #define GL_TEXTURE_BUFFER_EXT 0x8C2A
4477 #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
4478 #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
4479 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
4480 #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
4481 #endif
4482
4483 #ifndef GL_EXT_texture_compression_latc
4484 #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
4485 #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
4486 #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
4487 #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
4488 #endif
4489
4490 #ifndef GL_EXT_texture_compression_rgtc
4491 #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
4492 #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
4493 #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
4494 #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
4495 #endif
4496
4497 #ifndef GL_EXT_texture_shared_exponent
4498 #define GL_RGB9_E5_EXT 0x8C3D
4499 #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
4500 #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
4501 #endif
4502
4503 #ifndef GL_NV_depth_buffer_float
4504 #define GL_DEPTH_COMPONENT32F_NV 0x8DAB
4505 #define GL_DEPTH32F_STENCIL8_NV 0x8DAC
4506 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
4507 #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF
4508 #endif
4509
4510 #ifndef GL_NV_fragment_program4
4511 #endif
4512
4513 #ifndef GL_NV_framebuffer_multisample_coverage
4514 #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
4515 #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
4516 #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
4517 #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
4518 #endif
4519
4520 #ifndef GL_EXT_framebuffer_sRGB
4521 #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
4522 #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
4523 #endif
4524
4525 #ifndef GL_NV_geometry_shader4
4526 #endif
4527
4528 #ifndef GL_NV_parameter_buffer_object
4529 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
4530 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
4531 #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
4532 #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
4533 #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
4534 #endif
4535
4536 #ifndef GL_EXT_draw_buffers2
4537 #endif
4538
4539 #ifndef GL_NV_transform_feedback
4540 #define GL_BACK_PRIMARY_COLOR_NV 0x8C77
4541 #define GL_BACK_SECONDARY_COLOR_NV 0x8C78
4542 #define GL_TEXTURE_COORD_NV 0x8C79
4543 #define GL_CLIP_DISTANCE_NV 0x8C7A
4544 #define GL_VERTEX_ID_NV 0x8C7B
4545 #define GL_PRIMITIVE_ID_NV 0x8C7C
4546 #define GL_GENERIC_ATTRIB_NV 0x8C7D
4547 #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E
4548 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
4549 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
4550 #define GL_ACTIVE_VARYINGS_NV 0x8C81
4551 #define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82
4552 #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
4553 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
4554 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
4555 #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86
4556 #define GL_PRIMITIVES_GENERATED_NV 0x8C87
4557 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
4558 #define GL_RASTERIZER_DISCARD_NV 0x8C89
4559 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV 0x8C8A
4560 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
4561 #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C
4562 #define GL_SEPARATE_ATTRIBS_NV 0x8C8D
4563 #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E
4564 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
4565 #define GL_LAYER_NV 0x8DAA
4566 #define GL_NEXT_BUFFER_NV -2
4567 #define GL_SKIP_COMPONENTS4_NV -3
4568 #define GL_SKIP_COMPONENTS3_NV -4
4569 #define GL_SKIP_COMPONENTS2_NV -5
4570 #define GL_SKIP_COMPONENTS1_NV -6
4571 #endif
4572
4573 #ifndef GL_EXT_bindable_uniform
4574 #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
4575 #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
4576 #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
4577 #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
4578 #define GL_UNIFORM_BUFFER_EXT 0x8DEE
4579 #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
4580 #endif
4581
4582 #ifndef GL_EXT_texture_integer
4583 #define GL_RGBA32UI_EXT 0x8D70
4584 #define GL_RGB32UI_EXT 0x8D71
4585 #define GL_ALPHA32UI_EXT 0x8D72
4586 #define GL_INTENSITY32UI_EXT 0x8D73
4587 #define GL_LUMINANCE32UI_EXT 0x8D74
4588 #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
4589 #define GL_RGBA16UI_EXT 0x8D76
4590 #define GL_RGB16UI_EXT 0x8D77
4591 #define GL_ALPHA16UI_EXT 0x8D78
4592 #define GL_INTENSITY16UI_EXT 0x8D79
4593 #define GL_LUMINANCE16UI_EXT 0x8D7A
4594 #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
4595 #define GL_RGBA8UI_EXT 0x8D7C
4596 #define GL_RGB8UI_EXT 0x8D7D
4597 #define GL_ALPHA8UI_EXT 0x8D7E
4598 #define GL_INTENSITY8UI_EXT 0x8D7F
4599 #define GL_LUMINANCE8UI_EXT 0x8D80
4600 #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
4601 #define GL_RGBA32I_EXT 0x8D82
4602 #define GL_RGB32I_EXT 0x8D83
4603 #define GL_ALPHA32I_EXT 0x8D84
4604 #define GL_INTENSITY32I_EXT 0x8D85
4605 #define GL_LUMINANCE32I_EXT 0x8D86
4606 #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
4607 #define GL_RGBA16I_EXT 0x8D88
4608 #define GL_RGB16I_EXT 0x8D89
4609 #define GL_ALPHA16I_EXT 0x8D8A
4610 #define GL_INTENSITY16I_EXT 0x8D8B
4611 #define GL_LUMINANCE16I_EXT 0x8D8C
4612 #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
4613 #define GL_RGBA8I_EXT 0x8D8E
4614 #define GL_RGB8I_EXT 0x8D8F
4615 #define GL_ALPHA8I_EXT 0x8D90
4616 #define GL_INTENSITY8I_EXT 0x8D91
4617 #define GL_LUMINANCE8I_EXT 0x8D92
4618 #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
4619 #define GL_RED_INTEGER_EXT 0x8D94
4620 #define GL_GREEN_INTEGER_EXT 0x8D95
4621 #define GL_BLUE_INTEGER_EXT 0x8D96
4622 #define GL_ALPHA_INTEGER_EXT 0x8D97
4623 #define GL_RGB_INTEGER_EXT 0x8D98
4624 #define GL_RGBA_INTEGER_EXT 0x8D99
4625 #define GL_BGR_INTEGER_EXT 0x8D9A
4626 #define GL_BGRA_INTEGER_EXT 0x8D9B
4627 #define GL_LUMINANCE_INTEGER_EXT 0x8D9C
4628 #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
4629 #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
4630 #endif
4631
4632 #ifndef GL_GREMEDY_frame_terminator
4633 #endif
4634
4635 #ifndef GL_NV_conditional_render
4636 #define GL_QUERY_WAIT_NV 0x8E13
4637 #define GL_QUERY_NO_WAIT_NV 0x8E14
4638 #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
4639 #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
4640 #endif
4641
4642 #ifndef GL_NV_present_video
4643 #define GL_FRAME_NV 0x8E26
4644 #define GL_FIELDS_NV 0x8E27
4645 #define GL_CURRENT_TIME_NV 0x8E28
4646 #define GL_NUM_FILL_STREAMS_NV 0x8E29
4647 #define GL_PRESENT_TIME_NV 0x8E2A
4648 #define GL_PRESENT_DURATION_NV 0x8E2B
4649 #endif
4650
4651 #ifndef GL_EXT_transform_feedback
4652 #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
4653 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
4654 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
4655 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
4656 #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
4657 #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
4658 #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
4659 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
4660 #define GL_RASTERIZER_DISCARD_EXT 0x8C89
4661 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
4662 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
4663 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
4664 #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
4665 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
4666 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
4667 #endif
4668
4669 #ifndef GL_EXT_direct_state_access
4670 #define GL_PROGRAM_MATRIX_EXT 0x8E2D
4671 #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
4672 #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
4673 #endif
4674
4675 #ifndef GL_EXT_vertex_array_bgra
4676 /* reuse GL_BGRA */
4677 #endif
4678
4679 #ifndef GL_EXT_texture_swizzle
4680 #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
4681 #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
4682 #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
4683 #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
4684 #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
4685 #endif
4686
4687 #ifndef GL_NV_explicit_multisample
4688 #define GL_SAMPLE_POSITION_NV 0x8E50
4689 #define GL_SAMPLE_MASK_NV 0x8E51
4690 #define GL_SAMPLE_MASK_VALUE_NV 0x8E52
4691 #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
4692 #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
4693 #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55
4694 #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56
4695 #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57
4696 #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
4697 #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59
4698 #endif
4699
4700 #ifndef GL_NV_transform_feedback2
4701 #define GL_TRANSFORM_FEEDBACK_NV 0x8E22
4702 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
4703 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
4704 #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25
4705 #endif
4706
4707 #ifndef GL_ATI_meminfo
4708 #define GL_VBO_FREE_MEMORY_ATI 0x87FB
4709 #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
4710 #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
4711 #endif
4712
4713 #ifndef GL_AMD_performance_monitor
4714 #define GL_COUNTER_TYPE_AMD 0x8BC0
4715 #define GL_COUNTER_RANGE_AMD 0x8BC1
4716 #define GL_UNSIGNED_INT64_AMD 0x8BC2
4717 #define GL_PERCENTAGE_AMD 0x8BC3
4718 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
4719 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
4720 #define GL_PERFMON_RESULT_AMD 0x8BC6
4721 #endif
4722
4723 #ifndef GL_AMD_texture_texture4
4724 #endif
4725
4726 #ifndef GL_AMD_vertex_shader_tesselator
4727 #define GL_SAMPLER_BUFFER_AMD 0x9001
4728 #define GL_INT_SAMPLER_BUFFER_AMD 0x9002
4729 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
4730 #define GL_TESSELLATION_MODE_AMD 0x9004
4731 #define GL_TESSELLATION_FACTOR_AMD 0x9005
4732 #define GL_DISCRETE_AMD 0x9006
4733 #define GL_CONTINUOUS_AMD 0x9007
4734 #endif
4735
4736 #ifndef GL_EXT_provoking_vertex
4737 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
4738 #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
4739 #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
4740 #define GL_PROVOKING_VERTEX_EXT 0x8E4F
4741 #endif
4742
4743 #ifndef GL_EXT_texture_snorm
4744 #define GL_ALPHA_SNORM 0x9010
4745 #define GL_LUMINANCE_SNORM 0x9011
4746 #define GL_LUMINANCE_ALPHA_SNORM 0x9012
4747 #define GL_INTENSITY_SNORM 0x9013
4748 #define GL_ALPHA8_SNORM 0x9014
4749 #define GL_LUMINANCE8_SNORM 0x9015
4750 #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016
4751 #define GL_INTENSITY8_SNORM 0x9017
4752 #define GL_ALPHA16_SNORM 0x9018
4753 #define GL_LUMINANCE16_SNORM 0x9019
4754 #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A
4755 #define GL_INTENSITY16_SNORM 0x901B
4756 /* reuse GL_RED_SNORM */
4757 /* reuse GL_RG_SNORM */
4758 /* reuse GL_RGB_SNORM */
4759 /* reuse GL_RGBA_SNORM */
4760 /* reuse GL_R8_SNORM */
4761 /* reuse GL_RG8_SNORM */
4762 /* reuse GL_RGB8_SNORM */
4763 /* reuse GL_RGBA8_SNORM */
4764 /* reuse GL_R16_SNORM */
4765 /* reuse GL_RG16_SNORM */
4766 /* reuse GL_RGB16_SNORM */
4767 /* reuse GL_RGBA16_SNORM */
4768 /* reuse GL_SIGNED_NORMALIZED */
4769 #endif
4770
4771 #ifndef GL_AMD_draw_buffers_blend
4772 #endif
4773
4774 #ifndef GL_APPLE_texture_range
4775 #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
4776 #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
4777 #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
4778 #define GL_STORAGE_PRIVATE_APPLE 0x85BD
4779 /* reuse GL_STORAGE_CACHED_APPLE */
4780 /* reuse GL_STORAGE_SHARED_APPLE */
4781 #endif
4782
4783 #ifndef GL_APPLE_float_pixels
4784 #define GL_HALF_APPLE 0x140B
4785 #define GL_RGBA_FLOAT32_APPLE 0x8814
4786 #define GL_RGB_FLOAT32_APPLE 0x8815
4787 #define GL_ALPHA_FLOAT32_APPLE 0x8816
4788 #define GL_INTENSITY_FLOAT32_APPLE 0x8817
4789 #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
4790 #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
4791 #define GL_RGBA_FLOAT16_APPLE 0x881A
4792 #define GL_RGB_FLOAT16_APPLE 0x881B
4793 #define GL_ALPHA_FLOAT16_APPLE 0x881C
4794 #define GL_INTENSITY_FLOAT16_APPLE 0x881D
4795 #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
4796 #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
4797 #define GL_COLOR_FLOAT_APPLE 0x8A0F
4798 #endif
4799
4800 #ifndef GL_APPLE_vertex_program_evaluators
4801 #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
4802 #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
4803 #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
4804 #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
4805 #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
4806 #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
4807 #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
4808 #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
4809 #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
4810 #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
4811 #endif
4812
4813 #ifndef GL_APPLE_aux_depth_stencil
4814 #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
4815 #endif
4816
4817 #ifndef GL_APPLE_object_purgeable
4818 #define GL_BUFFER_OBJECT_APPLE 0x85B3
4819 #define GL_RELEASED_APPLE 0x8A19
4820 #define GL_VOLATILE_APPLE 0x8A1A
4821 #define GL_RETAINED_APPLE 0x8A1B
4822 #define GL_UNDEFINED_APPLE 0x8A1C
4823 #define GL_PURGEABLE_APPLE 0x8A1D
4824 #endif
4825
4826 #ifndef GL_APPLE_row_bytes
4827 #define GL_PACK_ROW_BYTES_APPLE 0x8A15
4828 #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
4829 #endif
4830
4831 #ifndef GL_APPLE_rgb_422
4832 #define GL_RGB_422_APPLE 0x8A1F
4833 /* reuse GL_UNSIGNED_SHORT_8_8_APPLE */
4834 /* reuse GL_UNSIGNED_SHORT_8_8_REV_APPLE */
4835 #endif
4836
4837 #ifndef GL_NV_video_capture
4838 #define GL_VIDEO_BUFFER_NV 0x9020
4839 #define GL_VIDEO_BUFFER_BINDING_NV 0x9021
4840 #define GL_FIELD_UPPER_NV 0x9022
4841 #define GL_FIELD_LOWER_NV 0x9023
4842 #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024
4843 #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
4844 #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
4845 #define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027
4846 #define GL_VIDEO_BUFFER_PITCH_NV 0x9028
4847 #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
4848 #define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A
4849 #define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B
4850 #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
4851 #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
4852 #define GL_PARTIAL_SUCCESS_NV 0x902E
4853 #define GL_SUCCESS_NV 0x902F
4854 #define GL_FAILURE_NV 0x9030
4855 #define GL_YCBYCR8_422_NV 0x9031
4856 #define GL_YCBAYCR8A_4224_NV 0x9032
4857 #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033
4858 #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
4859 #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035
4860 #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
4861 #define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037
4862 #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038
4863 #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039
4864 #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
4865 #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
4866 #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
4867 #endif
4868
4869 #ifndef GL_NV_copy_image
4870 #endif
4871
4872 #ifndef GL_EXT_separate_shader_objects
4873 #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
4874 #endif
4875
4876 #ifndef GL_NV_parameter_buffer_object2
4877 #endif
4878
4879 #ifndef GL_NV_shader_buffer_load
4880 #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
4881 #define GL_GPU_ADDRESS_NV 0x8F34
4882 #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35
4883 #endif
4884
4885 #ifndef GL_NV_vertex_buffer_unified_memory
4886 #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
4887 #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F
4888 #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
4889 #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21
4890 #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22
4891 #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23
4892 #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24
4893 #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
4894 #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26
4895 #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
4896 #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28
4897 #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29
4898 #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A
4899 #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B
4900 #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C
4901 #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D
4902 #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E
4903 #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F
4904 #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30
4905 #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
4906 #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32
4907 #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33
4908 #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
4909 #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
4910 #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
4911 #endif
4912
4913 #ifndef GL_NV_texture_barrier
4914 #endif
4915
4916 #ifndef GL_AMD_shader_stencil_export
4917 #endif
4918
4919 #ifndef GL_AMD_seamless_cubemap_per_texture
4920 /* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS_ARB */
4921 #endif
4922
4923 #ifndef GL_AMD_conservative_depth
4924 #endif
4925
4926 #ifndef GL_EXT_shader_image_load_store
4927 #define GL_MAX_IMAGE_UNITS_EXT 0x8F38
4928 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
4929 #define GL_IMAGE_BINDING_NAME_EXT 0x8F3A
4930 #define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B
4931 #define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C
4932 #define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D
4933 #define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E
4934 #define GL_IMAGE_1D_EXT 0x904C
4935 #define GL_IMAGE_2D_EXT 0x904D
4936 #define GL_IMAGE_3D_EXT 0x904E
4937 #define GL_IMAGE_2D_RECT_EXT 0x904F
4938 #define GL_IMAGE_CUBE_EXT 0x9050
4939 #define GL_IMAGE_BUFFER_EXT 0x9051
4940 #define GL_IMAGE_1D_ARRAY_EXT 0x9052
4941 #define GL_IMAGE_2D_ARRAY_EXT 0x9053
4942 #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
4943 #define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055
4944 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
4945 #define GL_INT_IMAGE_1D_EXT 0x9057
4946 #define GL_INT_IMAGE_2D_EXT 0x9058
4947 #define GL_INT_IMAGE_3D_EXT 0x9059
4948 #define GL_INT_IMAGE_2D_RECT_EXT 0x905A
4949 #define GL_INT_IMAGE_CUBE_EXT 0x905B
4950 #define GL_INT_IMAGE_BUFFER_EXT 0x905C
4951 #define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D
4952 #define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E
4953 #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
4954 #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060
4955 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
4956 #define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062
4957 #define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063
4958 #define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064
4959 #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
4960 #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066
4961 #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
4962 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
4963 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
4964 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
4965 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
4966 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
4967 #define GL_MAX_IMAGE_SAMPLES_EXT 0x906D
4968 #define GL_IMAGE_BINDING_FORMAT_EXT 0x906E
4969 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
4970 #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002
4971 #define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004
4972 #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008
4973 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
4974 #define GL_COMMAND_BARRIER_BIT_EXT 0x00000040
4975 #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080
4976 #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
4977 #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200
4978 #define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400
4979 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
4980 #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
4981 #define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF
4982 #endif
4983
4984 #ifndef GL_EXT_vertex_attrib_64bit
4985 /* reuse GL_DOUBLE */
4986 #define GL_DOUBLE_VEC2_EXT 0x8FFC
4987 #define GL_DOUBLE_VEC3_EXT 0x8FFD
4988 #define GL_DOUBLE_VEC4_EXT 0x8FFE
4989 #define GL_DOUBLE_MAT2_EXT 0x8F46
4990 #define GL_DOUBLE_MAT3_EXT 0x8F47
4991 #define GL_DOUBLE_MAT4_EXT 0x8F48
4992 #define GL_DOUBLE_MAT2x3_EXT 0x8F49
4993 #define GL_DOUBLE_MAT2x4_EXT 0x8F4A
4994 #define GL_DOUBLE_MAT3x2_EXT 0x8F4B
4995 #define GL_DOUBLE_MAT3x4_EXT 0x8F4C
4996 #define GL_DOUBLE_MAT4x2_EXT 0x8F4D
4997 #define GL_DOUBLE_MAT4x3_EXT 0x8F4E
4998 #endif
4999
5000 #ifndef GL_NV_gpu_program5
5001 #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
5002 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
5003 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
5004 #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
5005 #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
5006 #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45
5007 #endif
5008
5009 #ifndef GL_NV_gpu_shader5
5010 #define GL_INT64_NV 0x140E
5011 #define GL_UNSIGNED_INT64_NV 0x140F
5012 #define GL_INT8_NV 0x8FE0
5013 #define GL_INT8_VEC2_NV 0x8FE1
5014 #define GL_INT8_VEC3_NV 0x8FE2
5015 #define GL_INT8_VEC4_NV 0x8FE3
5016 #define GL_INT16_NV 0x8FE4
5017 #define GL_INT16_VEC2_NV 0x8FE5
5018 #define GL_INT16_VEC3_NV 0x8FE6
5019 #define GL_INT16_VEC4_NV 0x8FE7
5020 #define GL_INT64_VEC2_NV 0x8FE9
5021 #define GL_INT64_VEC3_NV 0x8FEA
5022 #define GL_INT64_VEC4_NV 0x8FEB
5023 #define GL_UNSIGNED_INT8_NV 0x8FEC
5024 #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
5025 #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
5026 #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
5027 #define GL_UNSIGNED_INT16_NV 0x8FF0
5028 #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
5029 #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
5030 #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
5031 #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
5032 #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
5033 #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
5034 #define GL_FLOAT16_NV 0x8FF8
5035 #define GL_FLOAT16_VEC2_NV 0x8FF9
5036 #define GL_FLOAT16_VEC3_NV 0x8FFA
5037 #define GL_FLOAT16_VEC4_NV 0x8FFB
5038 /* reuse GL_PATCHES */
5039 #endif
5040
5041 #ifndef GL_NV_shader_buffer_store
5042 #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
5043 /* reuse GL_READ_WRITE */
5044 /* reuse GL_WRITE_ONLY */
5045 #endif
5046
5047 #ifndef GL_NV_tessellation_program5
5048 #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
5049 #define GL_TESS_CONTROL_PROGRAM_NV 0x891E
5050 #define GL_TESS_EVALUATION_PROGRAM_NV 0x891F
5051 #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
5052 #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
5053 #endif
5054
5055 #ifndef GL_NV_vertex_attrib_integer_64bit
5056 /* reuse GL_INT64_NV */
5057 /* reuse GL_UNSIGNED_INT64_NV */
5058 #endif
5059
5060 #ifndef GL_NV_multisample_coverage
5061 #define GL_COVERAGE_SAMPLES_NV 0x80A9
5062 #define GL_COLOR_SAMPLES_NV 0x8E20
5063 #endif
5064
5065 #ifndef GL_AMD_name_gen_delete
5066 #define GL_DATA_BUFFER_AMD 0x9151
5067 #define GL_PERFORMANCE_MONITOR_AMD 0x9152
5068 #define GL_QUERY_OBJECT_AMD 0x9153
5069 #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
5070 #define GL_SAMPLER_OBJECT_AMD 0x9155
5071 #endif
5072
5073 #ifndef GL_AMD_debug_output
5074 #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
5075 #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
5076 #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
5077 #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
5078 #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
5079 #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
5080 #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
5081 #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
5082 #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
5083 #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
5084 #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
5085 #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
5086 #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
5087 #endif
5088
5089 #ifndef GL_NV_vdpau_interop
5090 #define GL_SURFACE_STATE_NV 0x86EB
5091 #define GL_SURFACE_REGISTERED_NV 0x86FD
5092 #define GL_SURFACE_MAPPED_NV 0x8700
5093 #define GL_WRITE_DISCARD_NV 0x88BE
5094 #endif
5095
5096 #ifndef GL_AMD_transform_feedback3_lines_triangles
5097 #endif
5098
5099
5100 /*************************************************************/
5101
5102 #include <stddef.h>
5103 #ifndef GL_VERSION_2_0
5104 /* GL type for program/shader text */
5105 typedef char GLchar;
5106 #endif
5107
5108 #ifndef GL_VERSION_1_5
5109 /* GL types for handling large vertex buffer objects */
5110 #if defined(__APPLE__)
5111 typedef long GLintptr;
5112 typedef long GLsizeiptr;
5113 #else
5114 typedef ptrdiff_t GLintptr;
5115 typedef ptrdiff_t GLsizeiptr;
5116 #endif
5117 #endif
5118
5119 #ifndef GL_ARB_vertex_buffer_object
5120 /* GL types for handling large vertex buffer objects */
5121 #if defined(__APPLE__)
5122 typedef long GLintptrARB;
5123 typedef long GLsizeiptrARB;
5124 #else
5125 typedef ptrdiff_t GLintptrARB;
5126 typedef ptrdiff_t GLsizeiptrARB;
5127 #endif
5128 #endif
5129
5130 #ifndef GL_ARB_shader_objects
5131 /* GL types for program/shader text and shader object handles */
5132 typedef char GLcharARB;
5133 #if defined(__APPLE__)
5134 typedef void *GLhandleARB;
5135 #else
5136 typedef unsigned int GLhandleARB;
5137 #endif
5138 #endif
5139
5140 /* GL type for "half" precision (s10e5) float data in host memory */
5141 #ifndef GL_ARB_half_float_pixel
5142 typedef unsigned short GLhalfARB;
5143 #endif
5144
5145 #ifndef GL_NV_half_float
5146 typedef unsigned short GLhalfNV;
5147 #endif
5148
5149 #ifndef GLEXT_64_TYPES_DEFINED
5150 /* This code block is duplicated in glxext.h, so must be protected */
5151 #define GLEXT_64_TYPES_DEFINED
5152 /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
5153 /* (as used in the GL_EXT_timer_query extension). */
5154 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
5155 #include <inttypes.h>
5156 #elif defined(__sun__) || defined(__digital__)
5157 #include <inttypes.h>
5158 #if defined(__STDC__)
5159 #if defined(__arch64__) || defined(_LP64)
5160 typedef long int int64_t;
5161 typedef unsigned long int uint64_t;
5162 #else
5163 typedef long long int int64_t;
5164 typedef unsigned long long int uint64_t;
5165 #endif /* __arch64__ */
5166 #endif /* __STDC__ */
5167 #elif defined( __VMS ) || defined(__sgi)
5168 #include <inttypes.h>
5169 #elif defined(__SCO__) || defined(__USLC__)
5170 #include <stdint.h>
5171 #elif defined(__UNIXOS2__) || defined(__SOL64__)
5172 typedef long int int32_t;
5173 typedef long long int int64_t;
5174 typedef unsigned long long int uint64_t;
5175 #elif defined(_WIN32) && defined(__GNUC__)
5176 #include <stdint.h>
5177 #elif defined(_WIN32)
5178 typedef __int32 int32_t;
5179 typedef __int64 int64_t;
5180 typedef unsigned __int64 uint64_t;
5181 #else
5182 /* Fallback if nothing above works */
5183 #include <inttypes.h>
5184 #endif
5185 #endif
5186
5187 #ifndef GL_EXT_timer_query
5188 typedef int64_t GLint64EXT;
5189 typedef uint64_t GLuint64EXT;
5190 #endif
5191
5192 #ifndef GL_ARB_sync
5193 typedef int64_t GLint64;
5194 typedef uint64_t GLuint64;
5195 typedef struct __GLsync *GLsync;
5196 #endif
5197
5198 #ifndef GL_ARB_cl_event
5199 /* These incomplete types let us declare types compatible with OpenCL's cl_context and cl_event */
5200 struct _cl_context;
5201 struct _cl_event;
5202 #endif
5203
5204 #ifndef GL_ARB_debug_output
5205 typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam);
5206 #endif
5207
5208 #ifndef GL_AMD_debug_output
5209 typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam);
5210 #endif
5211
5212 #ifndef GL_NV_vdpau_interop
5213 typedef GLintptr GLvdpauSurfaceNV;
5214 #endif
5215
5216 #ifndef GL_VERSION_1_2
5217 #define GL_VERSION_1_2 1
5218 #ifdef GL_GLEXT_PROTOTYPES
5219 GLAPI void APIENTRY glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
5220 GLAPI void APIENTRY glBlendEquation (GLenum mode);
5221 GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
5222 GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
5223 GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
5224 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
5225 #endif /* GL_GLEXT_PROTOTYPES */
5226 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
5227 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
5228 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
5229 typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
5230 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
5231 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
5232 #endif
5233
5234 #ifndef GL_VERSION_1_2_DEPRECATED
5235 #define GL_VERSION_1_2_DEPRECATED 1
5236 #ifdef GL_GLEXT_PROTOTYPES
5237 GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
5238 GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
5239 GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
5240 GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
5241 GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, GLvoid *table);
5242 GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
5243 GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
5244 GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
5245 GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
5246 GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
5247 GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
5248 GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
5249 GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
5250 GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
5251 GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
5252 GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
5253 GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
5254 GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, GLvoid *image);
5255 GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
5256 GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
5257 GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
5258 GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
5259 GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
5260 GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
5261 GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
5262 GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
5263 GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
5264 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
5265 GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
5266 GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
5267 GLAPI void APIENTRY glResetHistogram (GLenum target);
5268 GLAPI void APIENTRY glResetMinmax (GLenum target);
5269 #endif /* GL_GLEXT_PROTOTYPES */
5270 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
5271 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
5272 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
5273 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
5274 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
5275 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
5276 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
5277 typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
5278 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
5279 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
5280 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
5281 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
5282 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
5283 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
5284 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
5285 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
5286 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
5287 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
5288 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
5289 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
5290 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
5291 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
5292 typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
5293 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
5294 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
5295 typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
5296 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
5297 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
5298 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
5299 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
5300 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
5301 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
5302 #endif
5303
5304 #ifndef GL_VERSION_1_3
5305 #define GL_VERSION_1_3 1
5306 #ifdef GL_GLEXT_PROTOTYPES
5307 GLAPI void APIENTRY glActiveTexture (GLenum texture);
5308 GLAPI void APIENTRY glSampleCoverage (GLclampf value, GLboolean invert);
5309 GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
5310 GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
5311 GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
5312 GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
5313 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
5314 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
5315 GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, GLvoid *img);
5316 #endif /* GL_GLEXT_PROTOTYPES */
5317 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
5318 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
5319 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
5320 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
5321 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
5322 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
5323 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
5324 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
5325 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img);
5326 #endif
5327
5328 #ifndef GL_VERSION_1_3_DEPRECATED
5329 #define GL_VERSION_1_3_DEPRECATED 1
5330 #ifdef GL_GLEXT_PROTOTYPES
5331 GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
5332 GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
5333 GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
5334 GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
5335 GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
5336 GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
5337 GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
5338 GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
5339 GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
5340 GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
5341 GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
5342 GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
5343 GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
5344 GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
5345 GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
5346 GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
5347 GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
5348 GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
5349 GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
5350 GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
5351 GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
5352 GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
5353 GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
5354 GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
5355 GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
5356 GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
5357 GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
5358 GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
5359 GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
5360 GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
5361 GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
5362 GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
5363 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
5364 GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
5365 GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
5366 GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
5367 GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
5368 #endif /* GL_GLEXT_PROTOTYPES */
5369 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
5370 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
5371 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
5372 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
5373 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
5374 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
5375 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
5376 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
5377 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
5378 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
5379 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
5380 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
5381 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
5382 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
5383 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
5384 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
5385 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
5386 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
5387 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
5388 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
5389 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
5390 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
5391 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
5392 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
5393 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
5394 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
5395 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
5396 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
5397 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
5398 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
5399 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
5400 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
5401 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
5402 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
5403 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
5404 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
5405 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
5406 #endif
5407
5408 #ifndef GL_VERSION_1_4
5409 #define GL_VERSION_1_4 1
5410 #ifdef GL_GLEXT_PROTOTYPES
5411 GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
5412 GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
5413 GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
5414 GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
5415 GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
5416 GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
5417 GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
5418 #endif /* GL_GLEXT_PROTOTYPES */
5419 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
5420 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
5421 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
5422 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
5423 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
5424 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
5425 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
5426 #endif
5427
5428 #ifndef GL_VERSION_1_4_DEPRECATED
5429 #define GL_VERSION_1_4_DEPRECATED 1
5430 #ifdef GL_GLEXT_PROTOTYPES
5431 GLAPI void APIENTRY glFogCoordf (GLfloat coord);
5432 GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
5433 GLAPI void APIENTRY glFogCoordd (GLdouble coord);
5434 GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
5435 GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
5436 GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
5437 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
5438 GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
5439 GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
5440 GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
5441 GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
5442 GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
5443 GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
5444 GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
5445 GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
5446 GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
5447 GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
5448 GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
5449 GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
5450 GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
5451 GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
5452 GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
5453 GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
5454 GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
5455 GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
5456 GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
5457 GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
5458 GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
5459 GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
5460 GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
5461 GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
5462 GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
5463 GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
5464 GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
5465 GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
5466 GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
5467 GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
5468 GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
5469 #endif /* GL_GLEXT_PROTOTYPES */
5470 typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
5471 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
5472 typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
5473 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
5474 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
5475 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
5476 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
5477 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
5478 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
5479 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
5480 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
5481 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
5482 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
5483 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
5484 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
5485 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
5486 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
5487 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
5488 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
5489 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
5490 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
5491 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
5492 typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
5493 typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
5494 typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
5495 typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
5496 typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
5497 typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
5498 typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
5499 typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
5500 typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
5501 typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
5502 typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
5503 typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
5504 typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
5505 typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
5506 typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
5507 typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
5508 #endif
5509
5510 #ifndef GL_VERSION_1_5
5511 #define GL_VERSION_1_5 1
5512 #ifdef GL_GLEXT_PROTOTYPES
5513 GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
5514 GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
5515 GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
5516 GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
5517 GLAPI void APIENTRY glEndQuery (GLenum target);
5518 GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
5519 GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
5520 GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
5521 GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
5522 GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
5523 GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
5524 GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
5525 GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
5526 GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
5527 GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
5528 GLAPI GLvoid* APIENTRY glMapBuffer (GLenum target, GLenum access);
5529 GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
5530 GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
5531 GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, GLvoid* *params);
5532 #endif /* GL_GLEXT_PROTOTYPES */
5533 typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
5534 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
5535 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
5536 typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
5537 typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
5538 typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
5539 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
5540 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
5541 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
5542 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
5543 typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
5544 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
5545 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
5546 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
5547 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
5548 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
5549 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
5550 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
5551 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
5552 #endif
5553
5554 #ifndef GL_VERSION_2_0
5555 #define GL_VERSION_2_0 1
5556 #ifdef GL_GLEXT_PROTOTYPES
5557 GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
5558 GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
5559 GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
5560 GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
5561 GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
5562 GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
5563 GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
5564 GLAPI void APIENTRY glCompileShader (GLuint shader);
5565 GLAPI GLuint APIENTRY glCreateProgram (void);
5566 GLAPI GLuint APIENTRY glCreateShader (GLenum type);
5567 GLAPI void APIENTRY glDeleteProgram (GLuint program);
5568 GLAPI void APIENTRY glDeleteShader (GLuint shader);
5569 GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
5570 GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
5571 GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
5572 GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
5573 GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
5574 GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
5575 GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
5576 GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
5577 GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
5578 GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
5579 GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
5580 GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
5581 GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
5582 GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
5583 GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
5584 GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
5585 GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
5586 GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
5587 GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid* *pointer);
5588 GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
5589 GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
5590 GLAPI void APIENTRY glLinkProgram (GLuint program);
5591 GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
5592 GLAPI void APIENTRY glUseProgram (GLuint program);
5593 GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
5594 GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
5595 GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
5596 GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
5597 GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
5598 GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
5599 GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
5600 GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
5601 GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
5602 GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
5603 GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
5604 GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
5605 GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
5606 GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
5607 GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
5608 GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
5609 GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5610 GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5611 GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5612 GLAPI void APIENTRY glValidateProgram (GLuint program);
5613 GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
5614 GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
5615 GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
5616 GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
5617 GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
5618 GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
5619 GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
5620 GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
5621 GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
5622 GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
5623 GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
5624 GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
5625 GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
5626 GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
5627 GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
5628 GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
5629 GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
5630 GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
5631 GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
5632 GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
5633 GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
5634 GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
5635 GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
5636 GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
5637 GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
5638 GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
5639 GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5640 GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
5641 GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5642 GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
5643 GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
5644 GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
5645 GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
5646 GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
5647 GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
5648 GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
5649 GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
5650 #endif /* GL_GLEXT_PROTOTYPES */
5651 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
5652 typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
5653 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
5654 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
5655 typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
5656 typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
5657 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
5658 typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
5659 typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
5660 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
5661 typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
5662 typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
5663 typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
5664 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
5665 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
5666 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
5667 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
5668 typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
5669 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
5670 typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
5671 typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
5672 typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
5673 typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
5674 typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
5675 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
5676 typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
5677 typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
5678 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
5679 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
5680 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
5681 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
5682 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
5683 typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
5684 typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
5685 typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
5686 typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
5687 typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
5688 typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
5689 typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
5690 typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
5691 typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
5692 typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
5693 typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
5694 typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
5695 typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
5696 typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
5697 typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
5698 typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
5699 typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
5700 typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
5701 typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
5702 typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
5703 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5704 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5705 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5706 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
5707 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
5708 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
5709 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
5710 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
5711 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
5712 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
5713 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
5714 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
5715 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
5716 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
5717 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
5718 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
5719 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
5720 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
5721 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
5722 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
5723 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
5724 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
5725 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
5726 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
5727 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
5728 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
5729 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
5730 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
5731 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
5732 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
5733 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5734 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
5735 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5736 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
5737 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
5738 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
5739 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
5740 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
5741 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
5742 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
5743 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
5744 #endif
5745
5746 #ifndef GL_VERSION_2_1
5747 #define GL_VERSION_2_1 1
5748 #ifdef GL_GLEXT_PROTOTYPES
5749 GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5750 GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5751 GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5752 GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5753 GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5754 GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5755 #endif /* GL_GLEXT_PROTOTYPES */
5756 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5757 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5758 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5759 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5760 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5761 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
5762 #endif
5763
5764 #ifndef GL_VERSION_3_0
5765 #define GL_VERSION_3_0 1
5766 /* OpenGL 3.0 also reuses entry points from these extensions: */
5767 /* ARB_framebuffer_object */
5768 /* ARB_map_buffer_range */
5769 /* ARB_vertex_array_object */
5770 #ifdef GL_GLEXT_PROTOTYPES
5771 GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
5772 GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
5773 GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
5774 GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
5775 GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
5776 GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
5777 GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
5778 GLAPI void APIENTRY glEndTransformFeedback (void);
5779 GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
5780 GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
5781 GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode);
5782 GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
5783 GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
5784 GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
5785 GLAPI void APIENTRY glEndConditionalRender (void);
5786 GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
5787 GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
5788 GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
5789 GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
5790 GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
5791 GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
5792 GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
5793 GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
5794 GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
5795 GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
5796 GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
5797 GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
5798 GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
5799 GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
5800 GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
5801 GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
5802 GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
5803 GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
5804 GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
5805 GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
5806 GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
5807 GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
5808 GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
5809 GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
5810 GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
5811 GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
5812 GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
5813 GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
5814 GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
5815 GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
5816 GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
5817 GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
5818 GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
5819 GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
5820 GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
5821 GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
5822 GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
5823 GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
5824 GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
5825 GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
5826 GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
5827 GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
5828 GLAPI const GLubyte * APIENTRY glGetStringi (GLenum name, GLuint index);
5829 #endif /* GL_GLEXT_PROTOTYPES */
5830 typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
5831 typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
5832 typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
5833 typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
5834 typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
5835 typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
5836 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
5837 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
5838 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
5839 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
5840 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode);
5841 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
5842 typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
5843 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
5844 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
5845 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
5846 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
5847 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
5848 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
5849 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
5850 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
5851 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
5852 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
5853 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
5854 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
5855 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
5856 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
5857 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
5858 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
5859 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
5860 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
5861 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
5862 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
5863 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
5864 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
5865 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
5866 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
5867 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
5868 typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
5869 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
5870 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
5871 typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
5872 typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
5873 typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
5874 typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
5875 typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
5876 typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
5877 typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
5878 typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
5879 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
5880 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
5881 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
5882 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
5883 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
5884 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
5885 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
5886 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
5887 typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
5888 #endif
5889
5890 #ifndef GL_VERSION_3_1
5891 #define GL_VERSION_3_1 1
5892 /* OpenGL 3.1 also reuses entry points from these extensions: */
5893 /* ARB_copy_buffer */
5894 /* ARB_uniform_buffer_object */
5895 #ifdef GL_GLEXT_PROTOTYPES
5896 GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
5897 GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
5898 GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
5899 GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
5900 #endif /* GL_GLEXT_PROTOTYPES */
5901 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
5902 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
5903 typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
5904 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
5905 #endif
5906
5907 #ifndef GL_VERSION_3_2
5908 #define GL_VERSION_3_2 1
5909 /* OpenGL 3.2 also reuses entry points from these extensions: */
5910 /* ARB_draw_elements_base_vertex */
5911 /* ARB_provoking_vertex */
5912 /* ARB_sync */
5913 /* ARB_texture_multisample */
5914 #ifdef GL_GLEXT_PROTOTYPES
5915 GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
5916 GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
5917 GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
5918 #endif /* GL_GLEXT_PROTOTYPES */
5919 typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
5920 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
5921 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
5922 #endif
5923
5924 #ifndef GL_VERSION_3_3
5925 #define GL_VERSION_3_3 1
5926 /* OpenGL 3.3 also reuses entry points from these extensions: */
5927 /* ARB_blend_func_extended */
5928 /* ARB_sampler_objects */
5929 /* ARB_explicit_attrib_location, but it has none */
5930 /* ARB_occlusion_query2 (no entry points) */
5931 /* ARB_shader_bit_encoding (no entry points) */
5932 /* ARB_texture_rgb10_a2ui (no entry points) */
5933 /* ARB_texture_swizzle (no entry points) */
5934 /* ARB_timer_query */
5935 /* ARB_vertex_type_2_10_10_10_rev */
5936 #ifdef GL_GLEXT_PROTOTYPES
5937 GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
5938 #endif /* GL_GLEXT_PROTOTYPES */
5939 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
5940 #endif
5941
5942 #ifndef GL_VERSION_4_0
5943 #define GL_VERSION_4_0 1
5944 /* OpenGL 4.0 also reuses entry points from these extensions: */
5945 /* ARB_texture_query_lod (no entry points) */
5946 /* ARB_draw_indirect */
5947 /* ARB_gpu_shader5 (no entry points) */
5948 /* ARB_gpu_shader_fp64 */
5949 /* ARB_shader_subroutine */
5950 /* ARB_tessellation_shader */
5951 /* ARB_texture_buffer_object_rgb32 (no entry points) */
5952 /* ARB_texture_cube_map_array (no entry points) */
5953 /* ARB_texture_gather (no entry points) */
5954 /* ARB_transform_feedback2 */
5955 /* ARB_transform_feedback3 */
5956 #ifdef GL_GLEXT_PROTOTYPES
5957 GLAPI void APIENTRY glMinSampleShading (GLclampf value);
5958 GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
5959 GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
5960 GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
5961 GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
5962 #endif /* GL_GLEXT_PROTOTYPES */
5963 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLclampf value);
5964 typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
5965 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
5966 typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
5967 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
5968 #endif
5969
5970 #ifndef GL_VERSION_4_1
5971 #define GL_VERSION_4_1 1
5972 /* OpenGL 4.1 also reuses entry points from these extensions: */
5973 /* ARB_ES2_compatibility */
5974 /* ARB_get_program_binary */
5975 /* ARB_separate_shader_objects */
5976 /* ARB_shader_precision (no entry points) */
5977 /* ARB_vertex_attrib_64bit */
5978 /* ARB_viewport_array */
5979 #endif
5980
5981 #ifndef GL_ARB_multitexture
5982 #define GL_ARB_multitexture 1
5983 #ifdef GL_GLEXT_PROTOTYPES
5984 GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
5985 GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
5986 GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
5987 GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
5988 GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
5989 GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
5990 GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
5991 GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
5992 GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
5993 GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
5994 GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
5995 GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
5996 GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
5997 GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
5998 GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
5999 GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
6000 GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
6001 GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
6002 GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
6003 GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
6004 GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
6005 GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
6006 GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
6007 GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
6008 GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
6009 GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
6010 GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
6011 GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
6012 GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
6013 GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
6014 GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
6015 GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
6016 GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
6017 GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
6018 #endif /* GL_GLEXT_PROTOTYPES */
6019 typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
6020 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
6021 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
6022 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
6023 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
6024 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
6025 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
6026 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
6027 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
6028 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
6029 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
6030 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
6031 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
6032 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
6033 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
6034 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
6035 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
6036 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
6037 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
6038 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
6039 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
6040 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
6041 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
6042 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
6043 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
6044 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
6045 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
6046 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
6047 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
6048 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
6049 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
6050 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
6051 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
6052 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
6053 #endif
6054
6055 #ifndef GL_ARB_transpose_matrix
6056 #define GL_ARB_transpose_matrix 1
6057 #ifdef GL_GLEXT_PROTOTYPES
6058 GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
6059 GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
6060 GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
6061 GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
6062 #endif /* GL_GLEXT_PROTOTYPES */
6063 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
6064 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
6065 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
6066 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
6067 #endif
6068
6069 #ifndef GL_ARB_multisample
6070 #define GL_ARB_multisample 1
6071 #ifdef GL_GLEXT_PROTOTYPES
6072 GLAPI void APIENTRY glSampleCoverageARB (GLclampf value, GLboolean invert);
6073 #endif /* GL_GLEXT_PROTOTYPES */
6074 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
6075 #endif
6076
6077 #ifndef GL_ARB_texture_env_add
6078 #define GL_ARB_texture_env_add 1
6079 #endif
6080
6081 #ifndef GL_ARB_texture_cube_map
6082 #define GL_ARB_texture_cube_map 1
6083 #endif
6084
6085 #ifndef GL_ARB_texture_compression
6086 #define GL_ARB_texture_compression 1
6087 #ifdef GL_GLEXT_PROTOTYPES
6088 GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
6089 GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
6090 GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
6091 GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
6092 GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
6093 GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
6094 GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, GLvoid *img);
6095 #endif /* GL_GLEXT_PROTOTYPES */
6096 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
6097 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
6098 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
6099 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
6100 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
6101 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
6102 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img);
6103 #endif
6104
6105 #ifndef GL_ARB_texture_border_clamp
6106 #define GL_ARB_texture_border_clamp 1
6107 #endif
6108
6109 #ifndef GL_ARB_point_parameters
6110 #define GL_ARB_point_parameters 1
6111 #ifdef GL_GLEXT_PROTOTYPES
6112 GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
6113 GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
6114 #endif /* GL_GLEXT_PROTOTYPES */
6115 typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
6116 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
6117 #endif
6118
6119 #ifndef GL_ARB_vertex_blend
6120 #define GL_ARB_vertex_blend 1
6121 #ifdef GL_GLEXT_PROTOTYPES
6122 GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
6123 GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
6124 GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
6125 GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
6126 GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
6127 GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
6128 GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
6129 GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
6130 GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
6131 GLAPI void APIENTRY glVertexBlendARB (GLint count);
6132 #endif /* GL_GLEXT_PROTOTYPES */
6133 typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
6134 typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
6135 typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
6136 typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
6137 typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
6138 typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
6139 typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
6140 typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
6141 typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
6142 typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
6143 #endif
6144
6145 #ifndef GL_ARB_matrix_palette
6146 #define GL_ARB_matrix_palette 1
6147 #ifdef GL_GLEXT_PROTOTYPES
6148 GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
6149 GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
6150 GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
6151 GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
6152 GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
6153 #endif /* GL_GLEXT_PROTOTYPES */
6154 typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
6155 typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
6156 typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
6157 typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
6158 typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
6159 #endif
6160
6161 #ifndef GL_ARB_texture_env_combine
6162 #define GL_ARB_texture_env_combine 1
6163 #endif
6164
6165 #ifndef GL_ARB_texture_env_crossbar
6166 #define GL_ARB_texture_env_crossbar 1
6167 #endif
6168
6169 #ifndef GL_ARB_texture_env_dot3
6170 #define GL_ARB_texture_env_dot3 1
6171 #endif
6172
6173 #ifndef GL_ARB_texture_mirrored_repeat
6174 #define GL_ARB_texture_mirrored_repeat 1
6175 #endif
6176
6177 #ifndef GL_ARB_depth_texture
6178 #define GL_ARB_depth_texture 1
6179 #endif
6180
6181 #ifndef GL_ARB_shadow
6182 #define GL_ARB_shadow 1
6183 #endif
6184
6185 #ifndef GL_ARB_shadow_ambient
6186 #define GL_ARB_shadow_ambient 1
6187 #endif
6188
6189 #ifndef GL_ARB_window_pos
6190 #define GL_ARB_window_pos 1
6191 #ifdef GL_GLEXT_PROTOTYPES
6192 GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
6193 GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
6194 GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
6195 GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
6196 GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
6197 GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
6198 GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
6199 GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
6200 GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
6201 GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
6202 GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
6203 GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
6204 GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
6205 GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
6206 GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
6207 GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
6208 #endif /* GL_GLEXT_PROTOTYPES */
6209 typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
6210 typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
6211 typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
6212 typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
6213 typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
6214 typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
6215 typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
6216 typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
6217 typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
6218 typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
6219 typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
6220 typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
6221 typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
6222 typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
6223 typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
6224 typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
6225 #endif
6226
6227 #ifndef GL_ARB_vertex_program
6228 #define GL_ARB_vertex_program 1
6229 #ifdef GL_GLEXT_PROTOTYPES
6230 GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
6231 GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
6232 GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
6233 GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
6234 GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
6235 GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
6236 GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
6237 GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
6238 GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
6239 GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
6240 GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
6241 GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
6242 GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
6243 GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
6244 GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
6245 GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
6246 GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
6247 GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
6248 GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
6249 GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
6250 GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
6251 GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
6252 GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
6253 GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
6254 GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
6255 GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
6256 GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6257 GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
6258 GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6259 GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
6260 GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
6261 GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
6262 GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
6263 GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
6264 GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
6265 GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
6266 GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
6267 GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
6268 GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
6269 GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
6270 GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
6271 GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
6272 GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
6273 GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6274 GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
6275 GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6276 GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
6277 GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6278 GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
6279 GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6280 GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
6281 GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
6282 GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
6283 GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
6284 GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
6285 GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
6286 GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, GLvoid *string);
6287 GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
6288 GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
6289 GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
6290 GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, GLvoid* *pointer);
6291 GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
6292 #endif /* GL_GLEXT_PROTOTYPES */
6293 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
6294 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
6295 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
6296 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
6297 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
6298 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
6299 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
6300 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
6301 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
6302 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
6303 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
6304 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
6305 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
6306 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
6307 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
6308 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
6309 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
6310 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
6311 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
6312 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
6313 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
6314 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
6315 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
6316 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
6317 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
6318 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
6319 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6320 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
6321 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6322 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
6323 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
6324 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
6325 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
6326 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
6327 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
6328 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
6329 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
6330 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
6331 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
6332 typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
6333 typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
6334 typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
6335 typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
6336 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6337 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
6338 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6339 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
6340 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6341 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
6342 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6343 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
6344 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
6345 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
6346 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
6347 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
6348 typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
6349 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string);
6350 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
6351 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
6352 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
6353 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
6354 typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
6355 #endif
6356
6357 #ifndef GL_ARB_fragment_program
6358 #define GL_ARB_fragment_program 1
6359 /* All ARB_fragment_program entry points are shared with ARB_vertex_program. */
6360 #endif
6361
6362 #ifndef GL_ARB_vertex_buffer_object
6363 #define GL_ARB_vertex_buffer_object 1
6364 #ifdef GL_GLEXT_PROTOTYPES
6365 GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
6366 GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
6367 GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
6368 GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
6369 GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
6370 GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
6371 GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
6372 GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum target, GLenum access);
6373 GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
6374 GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
6375 GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, GLvoid* *params);
6376 #endif /* GL_GLEXT_PROTOTYPES */
6377 typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
6378 typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
6379 typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
6380 typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
6381 typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
6382 typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
6383 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
6384 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
6385 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
6386 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
6387 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params);
6388 #endif
6389
6390 #ifndef GL_ARB_occlusion_query
6391 #define GL_ARB_occlusion_query 1
6392 #ifdef GL_GLEXT_PROTOTYPES
6393 GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
6394 GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
6395 GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
6396 GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
6397 GLAPI void APIENTRY glEndQueryARB (GLenum target);
6398 GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
6399 GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
6400 GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
6401 #endif /* GL_GLEXT_PROTOTYPES */
6402 typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
6403 typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
6404 typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
6405 typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
6406 typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
6407 typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
6408 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
6409 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
6410 #endif
6411
6412 #ifndef GL_ARB_shader_objects
6413 #define GL_ARB_shader_objects 1
6414 #ifdef GL_GLEXT_PROTOTYPES
6415 GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
6416 GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
6417 GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
6418 GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
6419 GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
6420 GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
6421 GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
6422 GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
6423 GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
6424 GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
6425 GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
6426 GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
6427 GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
6428 GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
6429 GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
6430 GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
6431 GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
6432 GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
6433 GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
6434 GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
6435 GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
6436 GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
6437 GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
6438 GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
6439 GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
6440 GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
6441 GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
6442 GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6443 GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6444 GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6445 GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
6446 GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
6447 GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
6448 GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
6449 GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
6450 GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
6451 GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
6452 GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
6453 GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
6454 #endif /* GL_GLEXT_PROTOTYPES */
6455 typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
6456 typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
6457 typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
6458 typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
6459 typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
6460 typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
6461 typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
6462 typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
6463 typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
6464 typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
6465 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
6466 typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
6467 typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
6468 typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
6469 typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
6470 typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
6471 typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
6472 typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
6473 typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
6474 typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
6475 typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
6476 typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
6477 typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
6478 typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
6479 typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
6480 typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
6481 typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
6482 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6483 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6484 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
6485 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
6486 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
6487 typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
6488 typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
6489 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
6490 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
6491 typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
6492 typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
6493 typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
6494 #endif
6495
6496 #ifndef GL_ARB_vertex_shader
6497 #define GL_ARB_vertex_shader 1
6498 #ifdef GL_GLEXT_PROTOTYPES
6499 GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
6500 GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
6501 GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
6502 #endif /* GL_GLEXT_PROTOTYPES */
6503 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
6504 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
6505 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
6506 #endif
6507
6508 #ifndef GL_ARB_fragment_shader
6509 #define GL_ARB_fragment_shader 1
6510 #endif
6511
6512 #ifndef GL_ARB_shading_language_100
6513 #define GL_ARB_shading_language_100 1
6514 #endif
6515
6516 #ifndef GL_ARB_texture_non_power_of_two
6517 #define GL_ARB_texture_non_power_of_two 1
6518 #endif
6519
6520 #ifndef GL_ARB_point_sprite
6521 #define GL_ARB_point_sprite 1
6522 #endif
6523
6524 #ifndef GL_ARB_fragment_program_shadow
6525 #define GL_ARB_fragment_program_shadow 1
6526 #endif
6527
6528 #ifndef GL_ARB_draw_buffers
6529 #define GL_ARB_draw_buffers 1
6530 #ifdef GL_GLEXT_PROTOTYPES
6531 GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
6532 #endif /* GL_GLEXT_PROTOTYPES */
6533 typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
6534 #endif
6535
6536 #ifndef GL_ARB_texture_rectangle
6537 #define GL_ARB_texture_rectangle 1
6538 #endif
6539
6540 #ifndef GL_ARB_color_buffer_float
6541 #define GL_ARB_color_buffer_float 1
6542 #ifdef GL_GLEXT_PROTOTYPES
6543 GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
6544 #endif /* GL_GLEXT_PROTOTYPES */
6545 typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
6546 #endif
6547
6548 #ifndef GL_ARB_half_float_pixel
6549 #define GL_ARB_half_float_pixel 1
6550 #endif
6551
6552 #ifndef GL_ARB_texture_float
6553 #define GL_ARB_texture_float 1
6554 #endif
6555
6556 #ifndef GL_ARB_pixel_buffer_object
6557 #define GL_ARB_pixel_buffer_object 1
6558 #endif
6559
6560 #ifndef GL_ARB_depth_buffer_float
6561 #define GL_ARB_depth_buffer_float 1
6562 #endif
6563
6564 #ifndef GL_ARB_draw_instanced
6565 #define GL_ARB_draw_instanced 1
6566 #ifdef GL_GLEXT_PROTOTYPES
6567 GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
6568 GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
6569 #endif /* GL_GLEXT_PROTOTYPES */
6570 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
6571 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
6572 #endif
6573
6574 #ifndef GL_ARB_framebuffer_object
6575 #define GL_ARB_framebuffer_object 1
6576 #ifdef GL_GLEXT_PROTOTYPES
6577 GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
6578 GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
6579 GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
6580 GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
6581 GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
6582 GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
6583 GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
6584 GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
6585 GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
6586 GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
6587 GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
6588 GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6589 GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6590 GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
6591 GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
6592 GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
6593 GLAPI void APIENTRY glGenerateMipmap (GLenum target);
6594 GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
6595 GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
6596 GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
6597 #endif /* GL_GLEXT_PROTOTYPES */
6598 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
6599 typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
6600 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
6601 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
6602 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
6603 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
6604 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
6605 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
6606 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
6607 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
6608 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
6609 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6610 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6611 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
6612 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
6613 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
6614 typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
6615 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
6616 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
6617 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
6618 #endif
6619
6620 #ifndef GL_ARB_framebuffer_sRGB
6621 #define GL_ARB_framebuffer_sRGB 1
6622 #endif
6623
6624 #ifndef GL_ARB_geometry_shader4
6625 #define GL_ARB_geometry_shader4 1
6626 #ifdef GL_GLEXT_PROTOTYPES
6627 GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
6628 GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
6629 GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
6630 GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
6631 #endif /* GL_GLEXT_PROTOTYPES */
6632 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
6633 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
6634 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
6635 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
6636 #endif
6637
6638 #ifndef GL_ARB_half_float_vertex
6639 #define GL_ARB_half_float_vertex 1
6640 #endif
6641
6642 #ifndef GL_ARB_instanced_arrays
6643 #define GL_ARB_instanced_arrays 1
6644 #ifdef GL_GLEXT_PROTOTYPES
6645 GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
6646 #endif /* GL_GLEXT_PROTOTYPES */
6647 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
6648 #endif
6649
6650 #ifndef GL_ARB_map_buffer_range
6651 #define GL_ARB_map_buffer_range 1
6652 #ifdef GL_GLEXT_PROTOTYPES
6653 GLAPI GLvoid* APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
6654 GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
6655 #endif /* GL_GLEXT_PROTOTYPES */
6656 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
6657 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
6658 #endif
6659
6660 #ifndef GL_ARB_texture_buffer_object
6661 #define GL_ARB_texture_buffer_object 1
6662 #ifdef GL_GLEXT_PROTOTYPES
6663 GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
6664 #endif /* GL_GLEXT_PROTOTYPES */
6665 typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
6666 #endif
6667
6668 #ifndef GL_ARB_texture_compression_rgtc
6669 #define GL_ARB_texture_compression_rgtc 1
6670 #endif
6671
6672 #ifndef GL_ARB_texture_rg
6673 #define GL_ARB_texture_rg 1
6674 #endif
6675
6676 #ifndef GL_ARB_vertex_array_object
6677 #define GL_ARB_vertex_array_object 1
6678 #ifdef GL_GLEXT_PROTOTYPES
6679 GLAPI void APIENTRY glBindVertexArray (GLuint array);
6680 GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
6681 GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
6682 GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
6683 #endif /* GL_GLEXT_PROTOTYPES */
6684 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
6685 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
6686 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
6687 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
6688 #endif
6689
6690 #ifndef GL_ARB_uniform_buffer_object
6691 #define GL_ARB_uniform_buffer_object 1
6692 #ifdef GL_GLEXT_PROTOTYPES
6693 GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar* *uniformNames, GLuint *uniformIndices);
6694 GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
6695 GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
6696 GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
6697 GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
6698 GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
6699 GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
6700 #endif /* GL_GLEXT_PROTOTYPES */
6701 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar* *uniformNames, GLuint *uniformIndices);
6702 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
6703 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
6704 typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
6705 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
6706 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
6707 typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
6708 #endif
6709
6710 #ifndef GL_ARB_compatibility
6711 #define GL_ARB_compatibility 1
6712 #endif
6713
6714 #ifndef GL_ARB_copy_buffer
6715 #define GL_ARB_copy_buffer 1
6716 #ifdef GL_GLEXT_PROTOTYPES
6717 GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
6718 #endif /* GL_GLEXT_PROTOTYPES */
6719 typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
6720 #endif
6721
6722 #ifndef GL_ARB_shader_texture_lod
6723 #define GL_ARB_shader_texture_lod 1
6724 #endif
6725
6726 #ifndef GL_ARB_depth_clamp
6727 #define GL_ARB_depth_clamp 1
6728 #endif
6729
6730 #ifndef GL_ARB_draw_elements_base_vertex
6731 #define GL_ARB_draw_elements_base_vertex 1
6732 #ifdef GL_GLEXT_PROTOTYPES
6733 GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
6734 GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
6735 GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex);
6736 GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount, const GLint *basevertex);
6737 #endif /* GL_GLEXT_PROTOTYPES */
6738 typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
6739 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
6740 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex);
6741 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount, const GLint *basevertex);
6742 #endif
6743
6744 #ifndef GL_ARB_fragment_coord_conventions
6745 #define GL_ARB_fragment_coord_conventions 1
6746 #endif
6747
6748 #ifndef GL_ARB_provoking_vertex
6749 #define GL_ARB_provoking_vertex 1
6750 #ifdef GL_GLEXT_PROTOTYPES
6751 GLAPI void APIENTRY glProvokingVertex (GLenum mode);
6752 #endif /* GL_GLEXT_PROTOTYPES */
6753 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
6754 #endif
6755
6756 #ifndef GL_ARB_seamless_cube_map
6757 #define GL_ARB_seamless_cube_map 1
6758 #endif
6759
6760 #ifndef GL_ARB_sync
6761 #define GL_ARB_sync 1
6762 #ifdef GL_GLEXT_PROTOTYPES
6763 GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
6764 GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
6765 GLAPI void APIENTRY glDeleteSync (GLsync sync);
6766 GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
6767 GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
6768 GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *params);
6769 GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
6770 #endif /* GL_GLEXT_PROTOTYPES */
6771 typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
6772 typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
6773 typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
6774 typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
6775 typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
6776 typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *params);
6777 typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
6778 #endif
6779
6780 #ifndef GL_ARB_texture_multisample
6781 #define GL_ARB_texture_multisample 1
6782 #ifdef GL_GLEXT_PROTOTYPES
6783 GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
6784 GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
6785 GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
6786 GLAPI void APIENTRY glSampleMaski (GLuint index, GLbitfield mask);
6787 #endif /* GL_GLEXT_PROTOTYPES */
6788 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
6789 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
6790 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
6791 typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield mask);
6792 #endif
6793
6794 #ifndef GL_ARB_vertex_array_bgra
6795 #define GL_ARB_vertex_array_bgra 1
6796 #endif
6797
6798 #ifndef GL_ARB_draw_buffers_blend
6799 #define GL_ARB_draw_buffers_blend 1
6800 #ifdef GL_GLEXT_PROTOTYPES
6801 GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
6802 GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
6803 GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
6804 GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
6805 #endif /* GL_GLEXT_PROTOTYPES */
6806 typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
6807 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
6808 typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
6809 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
6810 #endif
6811
6812 #ifndef GL_ARB_sample_shading
6813 #define GL_ARB_sample_shading 1
6814 #ifdef GL_GLEXT_PROTOTYPES
6815 GLAPI void APIENTRY glMinSampleShadingARB (GLclampf value);
6816 #endif /* GL_GLEXT_PROTOTYPES */
6817 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLclampf value);
6818 #endif
6819
6820 #ifndef GL_ARB_texture_cube_map_array
6821 #define GL_ARB_texture_cube_map_array 1
6822 #endif
6823
6824 #ifndef GL_ARB_texture_gather
6825 #define GL_ARB_texture_gather 1
6826 #endif
6827
6828 #ifndef GL_ARB_texture_query_lod
6829 #define GL_ARB_texture_query_lod 1
6830 #endif
6831
6832 #ifndef GL_ARB_shading_language_include
6833 #define GL_ARB_shading_language_include 1
6834 #ifdef GL_GLEXT_PROTOTYPES
6835 GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
6836 GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
6837 GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar* *path, const GLint *length);
6838 GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
6839 GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
6840 GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
6841 #endif /* GL_GLEXT_PROTOTYPES */
6842 typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
6843 typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
6844 typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar* *path, const GLint *length);
6845 typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
6846 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
6847 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
6848 #endif
6849
6850 #ifndef GL_ARB_texture_compression_bptc
6851 #define GL_ARB_texture_compression_bptc 1
6852 #endif
6853
6854 #ifndef GL_ARB_blend_func_extended
6855 #define GL_ARB_blend_func_extended 1
6856 #ifdef GL_GLEXT_PROTOTYPES
6857 GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
6858 GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
6859 #endif /* GL_GLEXT_PROTOTYPES */
6860 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
6861 typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
6862 #endif
6863
6864 #ifndef GL_ARB_explicit_attrib_location
6865 #define GL_ARB_explicit_attrib_location 1
6866 #endif
6867
6868 #ifndef GL_ARB_occlusion_query2
6869 #define GL_ARB_occlusion_query2 1
6870 #endif
6871
6872 #ifndef GL_ARB_sampler_objects
6873 #define GL_ARB_sampler_objects 1
6874 #ifdef GL_GLEXT_PROTOTYPES
6875 GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
6876 GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
6877 GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
6878 GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
6879 GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
6880 GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
6881 GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
6882 GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
6883 GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
6884 GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
6885 GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
6886 GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
6887 GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
6888 GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
6889 #endif /* GL_GLEXT_PROTOTYPES */
6890 typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
6891 typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
6892 typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
6893 typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
6894 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
6895 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
6896 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
6897 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
6898 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
6899 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
6900 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
6901 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
6902 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
6903 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
6904 #endif
6905
6906 #ifndef GL_ARB_texture_rgb10_a2ui
6907 #define GL_ARB_texture_rgb10_a2ui 1
6908 #endif
6909
6910 #ifndef GL_ARB_texture_swizzle
6911 #define GL_ARB_texture_swizzle 1
6912 #endif
6913
6914 #ifndef GL_ARB_timer_query
6915 #define GL_ARB_timer_query 1
6916 #ifdef GL_GLEXT_PROTOTYPES
6917 GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
6918 GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
6919 GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
6920 #endif /* GL_GLEXT_PROTOTYPES */
6921 typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
6922 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
6923 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
6924 #endif
6925
6926 #ifndef GL_ARB_vertex_type_2_10_10_10_rev
6927 #define GL_ARB_vertex_type_2_10_10_10_rev 1
6928 #ifdef GL_GLEXT_PROTOTYPES
6929 GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
6930 GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
6931 GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
6932 GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
6933 GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
6934 GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
6935 GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
6936 GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
6937 GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
6938 GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
6939 GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
6940 GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
6941 GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
6942 GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
6943 GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
6944 GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
6945 GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
6946 GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
6947 GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
6948 GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
6949 GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
6950 GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
6951 GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
6952 GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
6953 GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
6954 GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
6955 GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
6956 GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
6957 GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
6958 GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
6959 GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
6960 GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
6961 GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
6962 GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
6963 GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
6964 GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
6965 GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
6966 GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
6967 #endif /* GL_GLEXT_PROTOTYPES */
6968 typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
6969 typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
6970 typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
6971 typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
6972 typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
6973 typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
6974 typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
6975 typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
6976 typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
6977 typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
6978 typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
6979 typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
6980 typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
6981 typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
6982 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
6983 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
6984 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
6985 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
6986 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
6987 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
6988 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
6989 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
6990 typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
6991 typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
6992 typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
6993 typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
6994 typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
6995 typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
6996 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
6997 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
6998 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
6999 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
7000 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
7001 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
7002 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
7003 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
7004 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
7005 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
7006 #endif
7007
7008 #ifndef GL_ARB_draw_indirect
7009 #define GL_ARB_draw_indirect 1
7010 #ifdef GL_GLEXT_PROTOTYPES
7011 GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const GLvoid *indirect);
7012 GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const GLvoid *indirect);
7013 #endif /* GL_GLEXT_PROTOTYPES */
7014 typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const GLvoid *indirect);
7015 typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const GLvoid *indirect);
7016 #endif
7017
7018 #ifndef GL_ARB_gpu_shader5
7019 #define GL_ARB_gpu_shader5 1
7020 #endif
7021
7022 #ifndef GL_ARB_gpu_shader_fp64
7023 #define GL_ARB_gpu_shader_fp64 1
7024 #ifdef GL_GLEXT_PROTOTYPES
7025 GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
7026 GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
7027 GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
7028 GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7029 GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
7030 GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
7031 GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
7032 GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
7033 GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7034 GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7035 GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7036 GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7037 GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7038 GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7039 GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7040 GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7041 GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7042 GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
7043 #endif /* GL_GLEXT_PROTOTYPES */
7044 typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
7045 typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
7046 typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
7047 typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7048 typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
7049 typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
7050 typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
7051 typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
7052 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7053 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7054 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7055 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7056 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7057 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7058 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7059 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7060 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7061 typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
7062 #endif
7063
7064 #ifndef GL_ARB_shader_subroutine
7065 #define GL_ARB_shader_subroutine 1
7066 #ifdef GL_GLEXT_PROTOTYPES
7067 GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
7068 GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
7069 GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
7070 GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
7071 GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
7072 GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
7073 GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
7074 GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
7075 #endif /* GL_GLEXT_PROTOTYPES */
7076 typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
7077 typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
7078 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
7079 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
7080 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
7081 typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
7082 typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
7083 typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
7084 #endif
7085
7086 #ifndef GL_ARB_tessellation_shader
7087 #define GL_ARB_tessellation_shader 1
7088 #ifdef GL_GLEXT_PROTOTYPES
7089 GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
7090 GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
7091 #endif /* GL_GLEXT_PROTOTYPES */
7092 typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
7093 typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
7094 #endif
7095
7096 #ifndef GL_ARB_texture_buffer_object_rgb32
7097 #define GL_ARB_texture_buffer_object_rgb32 1
7098 #endif
7099
7100 #ifndef GL_ARB_transform_feedback2
7101 #define GL_ARB_transform_feedback2 1
7102 #ifdef GL_GLEXT_PROTOTYPES
7103 GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
7104 GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
7105 GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
7106 GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
7107 GLAPI void APIENTRY glPauseTransformFeedback (void);
7108 GLAPI void APIENTRY glResumeTransformFeedback (void);
7109 GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
7110 #endif /* GL_GLEXT_PROTOTYPES */
7111 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
7112 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
7113 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
7114 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
7115 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
7116 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
7117 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
7118 #endif
7119
7120 #ifndef GL_ARB_transform_feedback3
7121 #define GL_ARB_transform_feedback3 1
7122 #ifdef GL_GLEXT_PROTOTYPES
7123 GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
7124 GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
7125 GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
7126 GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
7127 #endif /* GL_GLEXT_PROTOTYPES */
7128 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
7129 typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
7130 typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
7131 typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
7132 #endif
7133
7134 #ifndef GL_ARB_ES2_compatibility
7135 #define GL_ARB_ES2_compatibility 1
7136 #ifdef GL_GLEXT_PROTOTYPES
7137 GLAPI void APIENTRY glReleaseShaderCompiler (void);
7138 GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length);
7139 GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
7140 GLAPI void APIENTRY glDepthRangef (GLclampf n, GLclampf f);
7141 GLAPI void APIENTRY glClearDepthf (GLclampf d);
7142 #endif /* GL_GLEXT_PROTOTYPES */
7143 typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
7144 typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length);
7145 typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
7146 typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLclampf n, GLclampf f);
7147 typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLclampf d);
7148 #endif
7149
7150 #ifndef GL_ARB_get_program_binary
7151 #define GL_ARB_get_program_binary 1
7152 #ifdef GL_GLEXT_PROTOTYPES
7153 GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
7154 GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length);
7155 GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
7156 #endif /* GL_GLEXT_PROTOTYPES */
7157 typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
7158 typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length);
7159 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
7160 #endif
7161
7162 #ifndef GL_ARB_separate_shader_objects
7163 #define GL_ARB_separate_shader_objects 1
7164 #ifdef GL_GLEXT_PROTOTYPES
7165 GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
7166 GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
7167 GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar* *strings);
7168 GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
7169 GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
7170 GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
7171 GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
7172 GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
7173 GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
7174 GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
7175 GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
7176 GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7177 GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
7178 GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7179 GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
7180 GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
7181 GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
7182 GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
7183 GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
7184 GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7185 GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
7186 GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7187 GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
7188 GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
7189 GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
7190 GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
7191 GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
7192 GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7193 GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
7194 GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7195 GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
7196 GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
7197 GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
7198 GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
7199 GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
7200 GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7201 GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
7202 GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7203 GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7204 GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
7205 GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7206 GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7207 GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7208 GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7209 GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7210 GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7211 GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7212 GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7213 GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7214 GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7215 GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7216 GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7217 GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7218 GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7219 GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7220 GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7221 GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7222 GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7223 GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
7224 GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
7225 #endif /* GL_GLEXT_PROTOTYPES */
7226 typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
7227 typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
7228 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar* *strings);
7229 typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
7230 typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
7231 typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
7232 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
7233 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
7234 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
7235 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
7236 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
7237 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7238 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
7239 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7240 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
7241 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
7242 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
7243 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
7244 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
7245 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7246 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
7247 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7248 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
7249 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
7250 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
7251 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
7252 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
7253 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7254 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
7255 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7256 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
7257 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
7258 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
7259 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
7260 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
7261 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
7262 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
7263 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
7264 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
7265 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
7266 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7267 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7268 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7269 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7270 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7271 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7272 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7273 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7274 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7275 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7276 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7277 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
7278 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7279 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7280 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7281 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7282 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7283 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
7284 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
7285 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
7286 #endif
7287
7288 #ifndef GL_ARB_vertex_attrib_64bit
7289 #define GL_ARB_vertex_attrib_64bit 1
7290 #ifdef GL_GLEXT_PROTOTYPES
7291 GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
7292 GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
7293 GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
7294 GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7295 GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
7296 GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
7297 GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
7298 GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
7299 GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
7300 GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
7301 #endif /* GL_GLEXT_PROTOTYPES */
7302 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
7303 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
7304 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
7305 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
7306 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
7307 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
7308 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
7309 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
7310 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
7311 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
7312 #endif
7313
7314 #ifndef GL_ARB_viewport_array
7315 #define GL_ARB_viewport_array 1
7316 #ifdef GL_GLEXT_PROTOTYPES
7317 GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
7318 GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
7319 GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
7320 GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
7321 GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
7322 GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
7323 GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLclampd *v);
7324 GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLclampd n, GLclampd f);
7325 GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
7326 GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
7327 #endif /* GL_GLEXT_PROTOTYPES */
7328 typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
7329 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
7330 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
7331 typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
7332 typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
7333 typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
7334 typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLclampd *v);
7335 typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLclampd n, GLclampd f);
7336 typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
7337 typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
7338 #endif
7339
7340 #ifndef GL_ARB_cl_event
7341 #define GL_ARB_cl_event 1
7342 #ifdef GL_GLEXT_PROTOTYPES
7343 GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context * context, struct _cl_event * event, GLbitfield flags);
7344 #endif /* GL_GLEXT_PROTOTYPES */
7345 typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context * context, struct _cl_event * event, GLbitfield flags);
7346 #endif
7347
7348 #ifndef GL_ARB_debug_output
7349 #define GL_ARB_debug_output 1
7350 #ifdef GL_GLEXT_PROTOTYPES
7351 GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
7352 GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
7353 GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const GLvoid *userParam);
7354 GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
7355 #endif /* GL_GLEXT_PROTOTYPES */
7356 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
7357 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
7358 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const GLvoid *userParam);
7359 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
7360 #endif
7361
7362 #ifndef GL_ARB_robustness
7363 #define GL_ARB_robustness 1
7364 #ifdef GL_GLEXT_PROTOTYPES
7365 GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
7366 GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
7367 GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
7368 GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
7369 GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
7370 GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
7371 GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
7372 GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
7373 GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *table);
7374 GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *image);
7375 GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid *row, GLsizei columnBufSize, GLvoid *column, GLvoid *span);
7376 GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
7377 GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
7378 GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *img);
7379 GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data);
7380 GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, GLvoid *img);
7381 GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
7382 GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
7383 GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
7384 GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
7385 #endif /* GL_GLEXT_PROTOTYPES */
7386 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
7387 typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
7388 typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
7389 typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
7390 typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
7391 typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
7392 typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
7393 typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
7394 typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *table);
7395 typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *image);
7396 typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid *row, GLsizei columnBufSize, GLvoid *column, GLvoid *span);
7397 typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
7398 typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
7399 typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *img);
7400 typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data);
7401 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, GLvoid *img);
7402 typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
7403 typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
7404 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
7405 typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
7406 #endif
7407
7408 #ifndef GL_ARB_shader_stencil_export
7409 #define GL_ARB_shader_stencil_export 1
7410 #endif
7411
7412 #ifndef GL_EXT_abgr
7413 #define GL_EXT_abgr 1
7414 #endif
7415
7416 #ifndef GL_EXT_blend_color
7417 #define GL_EXT_blend_color 1
7418 #ifdef GL_GLEXT_PROTOTYPES
7419 GLAPI void APIENTRY glBlendColorEXT (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
7420 #endif /* GL_GLEXT_PROTOTYPES */
7421 typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
7422 #endif
7423
7424 #ifndef GL_EXT_polygon_offset
7425 #define GL_EXT_polygon_offset 1
7426 #ifdef GL_GLEXT_PROTOTYPES
7427 GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
7428 #endif /* GL_GLEXT_PROTOTYPES */
7429 typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
7430 #endif
7431
7432 #ifndef GL_EXT_texture
7433 #define GL_EXT_texture 1
7434 #endif
7435
7436 #ifndef GL_EXT_texture3D
7437 #define GL_EXT_texture3D 1
7438 #ifdef GL_GLEXT_PROTOTYPES
7439 GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
7440 GLAPI void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
7441 #endif /* GL_GLEXT_PROTOTYPES */
7442 typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
7443 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
7444 #endif
7445
7446 #ifndef GL_SGIS_texture_filter4
7447 #define GL_SGIS_texture_filter4 1
7448 #ifdef GL_GLEXT_PROTOTYPES
7449 GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
7450 GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
7451 #endif /* GL_GLEXT_PROTOTYPES */
7452 typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
7453 typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
7454 #endif
7455
7456 #ifndef GL_EXT_subtexture
7457 #define GL_EXT_subtexture 1
7458 #ifdef GL_GLEXT_PROTOTYPES
7459 GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
7460 GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
7461 #endif /* GL_GLEXT_PROTOTYPES */
7462 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
7463 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
7464 #endif
7465
7466 #ifndef GL_EXT_copy_texture
7467 #define GL_EXT_copy_texture 1
7468 #ifdef GL_GLEXT_PROTOTYPES
7469 GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
7470 GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
7471 GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
7472 GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
7473 GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
7474 #endif /* GL_GLEXT_PROTOTYPES */
7475 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
7476 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
7477 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
7478 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
7479 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
7480 #endif
7481
7482 #ifndef GL_EXT_histogram
7483 #define GL_EXT_histogram 1
7484 #ifdef GL_GLEXT_PROTOTYPES
7485 GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
7486 GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7487 GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
7488 GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
7489 GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7490 GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
7491 GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
7492 GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
7493 GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
7494 GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
7495 #endif /* GL_GLEXT_PROTOTYPES */
7496 typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
7497 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7498 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7499 typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
7500 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7501 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7502 typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
7503 typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
7504 typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
7505 typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
7506 #endif
7507
7508 #ifndef GL_EXT_convolution
7509 #define GL_EXT_convolution 1
7510 #ifdef GL_GLEXT_PROTOTYPES
7511 GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
7512 GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
7513 GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
7514 GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
7515 GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
7516 GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
7517 GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
7518 GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
7519 GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, GLvoid *image);
7520 GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7521 GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
7522 GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
7523 GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
7524 #endif /* GL_GLEXT_PROTOTYPES */
7525 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
7526 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
7527 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
7528 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
7529 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
7530 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
7531 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
7532 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
7533 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
7534 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7535 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7536 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
7537 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
7538 #endif
7539
7540 #ifndef GL_SGI_color_matrix
7541 #define GL_SGI_color_matrix 1
7542 #endif
7543
7544 #ifndef GL_SGI_color_table
7545 #define GL_SGI_color_table 1
7546 #ifdef GL_GLEXT_PROTOTYPES
7547 GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
7548 GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
7549 GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
7550 GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
7551 GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, GLvoid *table);
7552 GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
7553 GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
7554 #endif /* GL_GLEXT_PROTOTYPES */
7555 typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
7556 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
7557 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
7558 typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
7559 typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
7560 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
7561 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
7562 #endif
7563
7564 #ifndef GL_SGIX_pixel_texture
7565 #define GL_SGIX_pixel_texture 1
7566 #ifdef GL_GLEXT_PROTOTYPES
7567 GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
7568 #endif /* GL_GLEXT_PROTOTYPES */
7569 typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
7570 #endif
7571
7572 #ifndef GL_SGIS_pixel_texture
7573 #define GL_SGIS_pixel_texture 1
7574 #ifdef GL_GLEXT_PROTOTYPES
7575 GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
7576 GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
7577 GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
7578 GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
7579 GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
7580 GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
7581 #endif /* GL_GLEXT_PROTOTYPES */
7582 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
7583 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
7584 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
7585 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
7586 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
7587 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
7588 #endif
7589
7590 #ifndef GL_SGIS_texture4D
7591 #define GL_SGIS_texture4D 1
7592 #ifdef GL_GLEXT_PROTOTYPES
7593 GLAPI void APIENTRY glTexImage4DSGIS (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
7594 GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels);
7595 #endif /* GL_GLEXT_PROTOTYPES */
7596 typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
7597 typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels);
7598 #endif
7599
7600 #ifndef GL_SGI_texture_color_table
7601 #define GL_SGI_texture_color_table 1
7602 #endif
7603
7604 #ifndef GL_EXT_cmyka
7605 #define GL_EXT_cmyka 1
7606 #endif
7607
7608 #ifndef GL_EXT_texture_object
7609 #define GL_EXT_texture_object 1
7610 #ifdef GL_GLEXT_PROTOTYPES
7611 GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
7612 GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
7613 GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
7614 GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
7615 GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
7616 GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
7617 #endif /* GL_GLEXT_PROTOTYPES */
7618 typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
7619 typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
7620 typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
7621 typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
7622 typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
7623 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
7624 #endif
7625
7626 #ifndef GL_SGIS_detail_texture
7627 #define GL_SGIS_detail_texture 1
7628 #ifdef GL_GLEXT_PROTOTYPES
7629 GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
7630 GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
7631 #endif /* GL_GLEXT_PROTOTYPES */
7632 typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
7633 typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
7634 #endif
7635
7636 #ifndef GL_SGIS_sharpen_texture
7637 #define GL_SGIS_sharpen_texture 1
7638 #ifdef GL_GLEXT_PROTOTYPES
7639 GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
7640 GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
7641 #endif /* GL_GLEXT_PROTOTYPES */
7642 typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
7643 typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
7644 #endif
7645
7646 #ifndef GL_EXT_packed_pixels
7647 #define GL_EXT_packed_pixels 1
7648 #endif
7649
7650 #ifndef GL_SGIS_texture_lod
7651 #define GL_SGIS_texture_lod 1
7652 #endif
7653
7654 #ifndef GL_SGIS_multisample
7655 #define GL_SGIS_multisample 1
7656 #ifdef GL_GLEXT_PROTOTYPES
7657 GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
7658 GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
7659 #endif /* GL_GLEXT_PROTOTYPES */
7660 typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
7661 typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
7662 #endif
7663
7664 #ifndef GL_EXT_rescale_normal
7665 #define GL_EXT_rescale_normal 1
7666 #endif
7667
7668 #ifndef GL_EXT_vertex_array
7669 #define GL_EXT_vertex_array 1
7670 #ifdef GL_GLEXT_PROTOTYPES
7671 GLAPI void APIENTRY glArrayElementEXT (GLint i);
7672 GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
7673 GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
7674 GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
7675 GLAPI void APIENTRY glGetPointervEXT (GLenum pname, GLvoid* *params);
7676 GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
7677 GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
7678 GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
7679 GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
7680 #endif /* GL_GLEXT_PROTOTYPES */
7681 typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
7682 typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
7683 typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
7684 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
7685 typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
7686 typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
7687 typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
7688 typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
7689 typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
7690 #endif
7691
7692 #ifndef GL_EXT_misc_attribute
7693 #define GL_EXT_misc_attribute 1
7694 #endif
7695
7696 #ifndef GL_SGIS_generate_mipmap
7697 #define GL_SGIS_generate_mipmap 1
7698 #endif
7699
7700 #ifndef GL_SGIX_clipmap
7701 #define GL_SGIX_clipmap 1
7702 #endif
7703
7704 #ifndef GL_SGIX_shadow
7705 #define GL_SGIX_shadow 1
7706 #endif
7707
7708 #ifndef GL_SGIS_texture_edge_clamp
7709 #define GL_SGIS_texture_edge_clamp 1
7710 #endif
7711
7712 #ifndef GL_SGIS_texture_border_clamp
7713 #define GL_SGIS_texture_border_clamp 1
7714 #endif
7715
7716 #ifndef GL_EXT_blend_minmax
7717 #define GL_EXT_blend_minmax 1
7718 #ifdef GL_GLEXT_PROTOTYPES
7719 GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
7720 #endif /* GL_GLEXT_PROTOTYPES */
7721 typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
7722 #endif
7723
7724 #ifndef GL_EXT_blend_subtract
7725 #define GL_EXT_blend_subtract 1
7726 #endif
7727
7728 #ifndef GL_EXT_blend_logic_op
7729 #define GL_EXT_blend_logic_op 1
7730 #endif
7731
7732 #ifndef GL_SGIX_interlace
7733 #define GL_SGIX_interlace 1
7734 #endif
7735
7736 #ifndef GL_SGIX_pixel_tiles
7737 #define GL_SGIX_pixel_tiles 1
7738 #endif
7739
7740 #ifndef GL_SGIX_texture_select
7741 #define GL_SGIX_texture_select 1
7742 #endif
7743
7744 #ifndef GL_SGIX_sprite
7745 #define GL_SGIX_sprite 1
7746 #ifdef GL_GLEXT_PROTOTYPES
7747 GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
7748 GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
7749 GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
7750 GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
7751 #endif /* GL_GLEXT_PROTOTYPES */
7752 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
7753 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
7754 typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
7755 typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
7756 #endif
7757
7758 #ifndef GL_SGIX_texture_multi_buffer
7759 #define GL_SGIX_texture_multi_buffer 1
7760 #endif
7761
7762 #ifndef GL_EXT_point_parameters
7763 #define GL_EXT_point_parameters 1
7764 #ifdef GL_GLEXT_PROTOTYPES
7765 GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
7766 GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
7767 #endif /* GL_GLEXT_PROTOTYPES */
7768 typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
7769 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
7770 #endif
7771
7772 #ifndef GL_SGIS_point_parameters
7773 #define GL_SGIS_point_parameters 1
7774 #ifdef GL_GLEXT_PROTOTYPES
7775 GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
7776 GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
7777 #endif /* GL_GLEXT_PROTOTYPES */
7778 typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
7779 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
7780 #endif
7781
7782 #ifndef GL_SGIX_instruments
7783 #define GL_SGIX_instruments 1
7784 #ifdef GL_GLEXT_PROTOTYPES
7785 GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
7786 GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
7787 GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
7788 GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
7789 GLAPI void APIENTRY glStartInstrumentsSGIX (void);
7790 GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
7791 #endif /* GL_GLEXT_PROTOTYPES */
7792 typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
7793 typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
7794 typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
7795 typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
7796 typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
7797 typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
7798 #endif
7799
7800 #ifndef GL_SGIX_texture_scale_bias
7801 #define GL_SGIX_texture_scale_bias 1
7802 #endif
7803
7804 #ifndef GL_SGIX_framezoom
7805 #define GL_SGIX_framezoom 1
7806 #ifdef GL_GLEXT_PROTOTYPES
7807 GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
7808 #endif /* GL_GLEXT_PROTOTYPES */
7809 typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
7810 #endif
7811
7812 #ifndef GL_SGIX_tag_sample_buffer
7813 #define GL_SGIX_tag_sample_buffer 1
7814 #ifdef GL_GLEXT_PROTOTYPES
7815 GLAPI void APIENTRY glTagSampleBufferSGIX (void);
7816 #endif /* GL_GLEXT_PROTOTYPES */
7817 typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
7818 #endif
7819
7820 #ifndef GL_SGIX_polynomial_ffd
7821 #define GL_SGIX_polynomial_ffd 1
7822 #ifdef GL_GLEXT_PROTOTYPES
7823 GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
7824 GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
7825 GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
7826 GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
7827 #endif /* GL_GLEXT_PROTOTYPES */
7828 typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
7829 typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
7830 typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
7831 typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
7832 #endif
7833
7834 #ifndef GL_SGIX_reference_plane
7835 #define GL_SGIX_reference_plane 1
7836 #ifdef GL_GLEXT_PROTOTYPES
7837 GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
7838 #endif /* GL_GLEXT_PROTOTYPES */
7839 typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
7840 #endif
7841
7842 #ifndef GL_SGIX_flush_raster
7843 #define GL_SGIX_flush_raster 1
7844 #ifdef GL_GLEXT_PROTOTYPES
7845 GLAPI void APIENTRY glFlushRasterSGIX (void);
7846 #endif /* GL_GLEXT_PROTOTYPES */
7847 typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
7848 #endif
7849
7850 #ifndef GL_SGIX_depth_texture
7851 #define GL_SGIX_depth_texture 1
7852 #endif
7853
7854 #ifndef GL_SGIS_fog_function
7855 #define GL_SGIS_fog_function 1
7856 #ifdef GL_GLEXT_PROTOTYPES
7857 GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
7858 GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
7859 #endif /* GL_GLEXT_PROTOTYPES */
7860 typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
7861 typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
7862 #endif
7863
7864 #ifndef GL_SGIX_fog_offset
7865 #define GL_SGIX_fog_offset 1
7866 #endif
7867
7868 #ifndef GL_HP_image_transform
7869 #define GL_HP_image_transform 1
7870 #ifdef GL_GLEXT_PROTOTYPES
7871 GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
7872 GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
7873 GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
7874 GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
7875 GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
7876 GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
7877 #endif /* GL_GLEXT_PROTOTYPES */
7878 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
7879 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
7880 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
7881 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
7882 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
7883 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
7884 #endif
7885
7886 #ifndef GL_HP_convolution_border_modes
7887 #define GL_HP_convolution_border_modes 1
7888 #endif
7889
7890 #ifndef GL_SGIX_texture_add_env
7891 #define GL_SGIX_texture_add_env 1
7892 #endif
7893
7894 #ifndef GL_EXT_color_subtable
7895 #define GL_EXT_color_subtable 1
7896 #ifdef GL_GLEXT_PROTOTYPES
7897 GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
7898 GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
7899 #endif /* GL_GLEXT_PROTOTYPES */
7900 typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
7901 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
7902 #endif
7903
7904 #ifndef GL_PGI_vertex_hints
7905 #define GL_PGI_vertex_hints 1
7906 #endif
7907
7908 #ifndef GL_PGI_misc_hints
7909 #define GL_PGI_misc_hints 1
7910 #ifdef GL_GLEXT_PROTOTYPES
7911 GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
7912 #endif /* GL_GLEXT_PROTOTYPES */
7913 typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
7914 #endif
7915
7916 #ifndef GL_EXT_paletted_texture
7917 #define GL_EXT_paletted_texture 1
7918 #ifdef GL_GLEXT_PROTOTYPES
7919 GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
7920 GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, GLvoid *data);
7921 GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
7922 GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
7923 #endif /* GL_GLEXT_PROTOTYPES */
7924 typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
7925 typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data);
7926 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
7927 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
7928 #endif
7929
7930 #ifndef GL_EXT_clip_volume_hint
7931 #define GL_EXT_clip_volume_hint 1
7932 #endif
7933
7934 #ifndef GL_SGIX_list_priority
7935 #define GL_SGIX_list_priority 1
7936 #ifdef GL_GLEXT_PROTOTYPES
7937 GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
7938 GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
7939 GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
7940 GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
7941 GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
7942 GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
7943 #endif /* GL_GLEXT_PROTOTYPES */
7944 typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
7945 typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
7946 typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
7947 typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
7948 typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
7949 typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
7950 #endif
7951
7952 #ifndef GL_SGIX_ir_instrument1
7953 #define GL_SGIX_ir_instrument1 1
7954 #endif
7955
7956 #ifndef GL_SGIX_calligraphic_fragment
7957 #define GL_SGIX_calligraphic_fragment 1
7958 #endif
7959
7960 #ifndef GL_SGIX_texture_lod_bias
7961 #define GL_SGIX_texture_lod_bias 1
7962 #endif
7963
7964 #ifndef GL_SGIX_shadow_ambient
7965 #define GL_SGIX_shadow_ambient 1
7966 #endif
7967
7968 #ifndef GL_EXT_index_texture
7969 #define GL_EXT_index_texture 1
7970 #endif
7971
7972 #ifndef GL_EXT_index_material
7973 #define GL_EXT_index_material 1
7974 #ifdef GL_GLEXT_PROTOTYPES
7975 GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
7976 #endif /* GL_GLEXT_PROTOTYPES */
7977 typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
7978 #endif
7979
7980 #ifndef GL_EXT_index_func
7981 #define GL_EXT_index_func 1
7982 #ifdef GL_GLEXT_PROTOTYPES
7983 GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
7984 #endif /* GL_GLEXT_PROTOTYPES */
7985 typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
7986 #endif
7987
7988 #ifndef GL_EXT_index_array_formats
7989 #define GL_EXT_index_array_formats 1
7990 #endif
7991
7992 #ifndef GL_EXT_compiled_vertex_array
7993 #define GL_EXT_compiled_vertex_array 1
7994 #ifdef GL_GLEXT_PROTOTYPES
7995 GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
7996 GLAPI void APIENTRY glUnlockArraysEXT (void);
7997 #endif /* GL_GLEXT_PROTOTYPES */
7998 typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
7999 typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
8000 #endif
8001
8002 #ifndef GL_EXT_cull_vertex
8003 #define GL_EXT_cull_vertex 1
8004 #ifdef GL_GLEXT_PROTOTYPES
8005 GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
8006 GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
8007 #endif /* GL_GLEXT_PROTOTYPES */
8008 typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
8009 typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
8010 #endif
8011
8012 #ifndef GL_SGIX_ycrcb
8013 #define GL_SGIX_ycrcb 1
8014 #endif
8015
8016 #ifndef GL_SGIX_fragment_lighting
8017 #define GL_SGIX_fragment_lighting 1
8018 #ifdef GL_GLEXT_PROTOTYPES
8019 GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
8020 GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
8021 GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
8022 GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
8023 GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
8024 GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
8025 GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
8026 GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
8027 GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
8028 GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
8029 GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
8030 GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
8031 GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
8032 GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
8033 GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
8034 GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
8035 GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
8036 GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
8037 #endif /* GL_GLEXT_PROTOTYPES */
8038 typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
8039 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
8040 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
8041 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
8042 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
8043 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
8044 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
8045 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
8046 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
8047 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
8048 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
8049 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
8050 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
8051 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
8052 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
8053 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
8054 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
8055 typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
8056 #endif
8057
8058 #ifndef GL_IBM_rasterpos_clip
8059 #define GL_IBM_rasterpos_clip 1
8060 #endif
8061
8062 #ifndef GL_HP_texture_lighting
8063 #define GL_HP_texture_lighting 1
8064 #endif
8065
8066 #ifndef GL_EXT_draw_range_elements
8067 #define GL_EXT_draw_range_elements 1
8068 #ifdef GL_GLEXT_PROTOTYPES
8069 GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
8070 #endif /* GL_GLEXT_PROTOTYPES */
8071 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
8072 #endif
8073
8074 #ifndef GL_WIN_phong_shading
8075 #define GL_WIN_phong_shading 1
8076 #endif
8077
8078 #ifndef GL_WIN_specular_fog
8079 #define GL_WIN_specular_fog 1
8080 #endif
8081
8082 #ifndef GL_EXT_light_texture
8083 #define GL_EXT_light_texture 1
8084 #ifdef GL_GLEXT_PROTOTYPES
8085 GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
8086 GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
8087 GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
8088 #endif /* GL_GLEXT_PROTOTYPES */
8089 typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
8090 typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
8091 typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
8092 #endif
8093
8094 #ifndef GL_SGIX_blend_alpha_minmax
8095 #define GL_SGIX_blend_alpha_minmax 1
8096 #endif
8097
8098 #ifndef GL_EXT_bgra
8099 #define GL_EXT_bgra 1
8100 #endif
8101
8102 #ifndef GL_SGIX_async
8103 #define GL_SGIX_async 1
8104 #ifdef GL_GLEXT_PROTOTYPES
8105 GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
8106 GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
8107 GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
8108 GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
8109 GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
8110 GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
8111 #endif /* GL_GLEXT_PROTOTYPES */
8112 typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
8113 typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
8114 typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
8115 typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
8116 typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
8117 typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
8118 #endif
8119
8120 #ifndef GL_SGIX_async_pixel
8121 #define GL_SGIX_async_pixel 1
8122 #endif
8123
8124 #ifndef GL_SGIX_async_histogram
8125 #define GL_SGIX_async_histogram 1
8126 #endif
8127
8128 #ifndef GL_INTEL_parallel_arrays
8129 #define GL_INTEL_parallel_arrays 1
8130 #ifdef GL_GLEXT_PROTOTYPES
8131 GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer);
8132 GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const GLvoid* *pointer);
8133 GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer);
8134 GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer);
8135 #endif /* GL_GLEXT_PROTOTYPES */
8136 typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
8137 typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer);
8138 typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
8139 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
8140 #endif
8141
8142 #ifndef GL_HP_occlusion_test
8143 #define GL_HP_occlusion_test 1
8144 #endif
8145
8146 #ifndef GL_EXT_pixel_transform
8147 #define GL_EXT_pixel_transform 1
8148 #ifdef GL_GLEXT_PROTOTYPES
8149 GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
8150 GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
8151 GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
8152 GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
8153 #endif /* GL_GLEXT_PROTOTYPES */
8154 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
8155 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
8156 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
8157 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
8158 #endif
8159
8160 #ifndef GL_EXT_pixel_transform_color_table
8161 #define GL_EXT_pixel_transform_color_table 1
8162 #endif
8163
8164 #ifndef GL_EXT_shared_texture_palette
8165 #define GL_EXT_shared_texture_palette 1
8166 #endif
8167
8168 #ifndef GL_EXT_separate_specular_color
8169 #define GL_EXT_separate_specular_color 1
8170 #endif
8171
8172 #ifndef GL_EXT_secondary_color
8173 #define GL_EXT_secondary_color 1
8174 #ifdef GL_GLEXT_PROTOTYPES
8175 GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
8176 GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
8177 GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
8178 GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
8179 GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
8180 GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
8181 GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
8182 GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
8183 GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
8184 GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
8185 GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
8186 GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
8187 GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
8188 GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
8189 GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
8190 GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
8191 GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
8192 #endif /* GL_GLEXT_PROTOTYPES */
8193 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
8194 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
8195 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
8196 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
8197 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
8198 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
8199 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
8200 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
8201 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
8202 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
8203 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
8204 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
8205 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
8206 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
8207 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
8208 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
8209 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
8210 #endif
8211
8212 #ifndef GL_EXT_texture_perturb_normal
8213 #define GL_EXT_texture_perturb_normal 1
8214 #ifdef GL_GLEXT_PROTOTYPES
8215 GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
8216 #endif /* GL_GLEXT_PROTOTYPES */
8217 typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
8218 #endif
8219
8220 #ifndef GL_EXT_multi_draw_arrays
8221 #define GL_EXT_multi_draw_arrays 1
8222 #ifdef GL_GLEXT_PROTOTYPES
8223 GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
8224 GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
8225 #endif /* GL_GLEXT_PROTOTYPES */
8226 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
8227 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
8228 #endif
8229
8230 #ifndef GL_EXT_fog_coord
8231 #define GL_EXT_fog_coord 1
8232 #ifdef GL_GLEXT_PROTOTYPES
8233 GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
8234 GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
8235 GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
8236 GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
8237 GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer);
8238 #endif /* GL_GLEXT_PROTOTYPES */
8239 typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
8240 typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
8241 typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
8242 typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
8243 typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
8244 #endif
8245
8246 #ifndef GL_REND_screen_coordinates
8247 #define GL_REND_screen_coordinates 1
8248 #endif
8249
8250 #ifndef GL_EXT_coordinate_frame
8251 #define GL_EXT_coordinate_frame 1
8252 #ifdef GL_GLEXT_PROTOTYPES
8253 GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
8254 GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
8255 GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
8256 GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
8257 GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
8258 GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
8259 GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
8260 GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
8261 GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
8262 GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
8263 GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
8264 GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
8265 GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
8266 GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
8267 GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
8268 GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
8269 GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
8270 GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
8271 GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
8272 GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
8273 GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer);
8274 GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer);
8275 #endif /* GL_GLEXT_PROTOTYPES */
8276 typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
8277 typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
8278 typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
8279 typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
8280 typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
8281 typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
8282 typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
8283 typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
8284 typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
8285 typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
8286 typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
8287 typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
8288 typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
8289 typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
8290 typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
8291 typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
8292 typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
8293 typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
8294 typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
8295 typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
8296 typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
8297 typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
8298 #endif
8299
8300 #ifndef GL_EXT_texture_env_combine
8301 #define GL_EXT_texture_env_combine 1
8302 #endif
8303
8304 #ifndef GL_APPLE_specular_vector
8305 #define GL_APPLE_specular_vector 1
8306 #endif
8307
8308 #ifndef GL_APPLE_transform_hint
8309 #define GL_APPLE_transform_hint 1
8310 #endif
8311
8312 #ifndef GL_SGIX_fog_scale
8313 #define GL_SGIX_fog_scale 1
8314 #endif
8315
8316 #ifndef GL_SUNX_constant_data
8317 #define GL_SUNX_constant_data 1
8318 #ifdef GL_GLEXT_PROTOTYPES
8319 GLAPI void APIENTRY glFinishTextureSUNX (void);
8320 #endif /* GL_GLEXT_PROTOTYPES */
8321 typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
8322 #endif
8323
8324 #ifndef GL_SUN_global_alpha
8325 #define GL_SUN_global_alpha 1
8326 #ifdef GL_GLEXT_PROTOTYPES
8327 GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
8328 GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
8329 GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
8330 GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
8331 GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
8332 GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
8333 GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
8334 GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
8335 #endif /* GL_GLEXT_PROTOTYPES */
8336 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
8337 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
8338 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
8339 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
8340 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
8341 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
8342 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
8343 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
8344 #endif
8345
8346 #ifndef GL_SUN_triangle_list
8347 #define GL_SUN_triangle_list 1
8348 #ifdef GL_GLEXT_PROTOTYPES
8349 GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
8350 GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
8351 GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
8352 GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
8353 GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
8354 GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
8355 GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const GLvoid* *pointer);
8356 #endif /* GL_GLEXT_PROTOTYPES */
8357 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
8358 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
8359 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
8360 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
8361 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
8362 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
8363 typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer);
8364 #endif
8365
8366 #ifndef GL_SUN_vertex
8367 #define GL_SUN_vertex 1
8368 #ifdef GL_GLEXT_PROTOTYPES
8369 GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
8370 GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
8371 GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
8372 GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
8373 GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
8374 GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
8375 GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8376 GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
8377 GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8378 GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
8379 GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
8380 GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
8381 GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8382 GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
8383 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
8384 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
8385 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
8386 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
8387 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8388 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
8389 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8390 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
8391 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8392 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
8393 GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
8394 GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
8395 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
8396 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
8397 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
8398 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
8399 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8400 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
8401 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8402 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
8403 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
8404 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
8405 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8406 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
8407 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8408 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
8409 #endif /* GL_GLEXT_PROTOTYPES */
8410 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
8411 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
8412 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
8413 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
8414 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
8415 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
8416 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8417 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
8418 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8419 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
8420 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
8421 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
8422 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8423 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
8424 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
8425 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
8426 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
8427 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
8428 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8429 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
8430 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8431 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
8432 typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8433 typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
8434 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
8435 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
8436 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
8437 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
8438 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
8439 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
8440 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8441 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
8442 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8443 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
8444 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
8445 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
8446 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8447 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
8448 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
8449 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
8450 #endif
8451
8452 #ifndef GL_EXT_blend_func_separate
8453 #define GL_EXT_blend_func_separate 1
8454 #ifdef GL_GLEXT_PROTOTYPES
8455 GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
8456 #endif /* GL_GLEXT_PROTOTYPES */
8457 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
8458 #endif
8459
8460 #ifndef GL_INGR_blend_func_separate
8461 #define GL_INGR_blend_func_separate 1
8462 #ifdef GL_GLEXT_PROTOTYPES
8463 GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
8464 #endif /* GL_GLEXT_PROTOTYPES */
8465 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
8466 #endif
8467
8468 #ifndef GL_INGR_color_clamp
8469 #define GL_INGR_color_clamp 1
8470 #endif
8471
8472 #ifndef GL_INGR_interlace_read
8473 #define GL_INGR_interlace_read 1
8474 #endif
8475
8476 #ifndef GL_EXT_stencil_wrap
8477 #define GL_EXT_stencil_wrap 1
8478 #endif
8479
8480 #ifndef GL_EXT_422_pixels
8481 #define GL_EXT_422_pixels 1
8482 #endif
8483
8484 #ifndef GL_NV_texgen_reflection
8485 #define GL_NV_texgen_reflection 1
8486 #endif
8487
8488 #ifndef GL_SUN_convolution_border_modes
8489 #define GL_SUN_convolution_border_modes 1
8490 #endif
8491
8492 #ifndef GL_EXT_texture_env_add
8493 #define GL_EXT_texture_env_add 1
8494 #endif
8495
8496 #ifndef GL_EXT_texture_lod_bias
8497 #define GL_EXT_texture_lod_bias 1
8498 #endif
8499
8500 #ifndef GL_EXT_texture_filter_anisotropic
8501 #define GL_EXT_texture_filter_anisotropic 1
8502 #endif
8503
8504 #ifndef GL_EXT_vertex_weighting
8505 #define GL_EXT_vertex_weighting 1
8506 #ifdef GL_GLEXT_PROTOTYPES
8507 GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
8508 GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
8509 GLAPI void APIENTRY glVertexWeightPointerEXT (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer);
8510 #endif /* GL_GLEXT_PROTOTYPES */
8511 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
8512 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
8513 typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer);
8514 #endif
8515
8516 #ifndef GL_NV_light_max_exponent
8517 #define GL_NV_light_max_exponent 1
8518 #endif
8519
8520 #ifndef GL_NV_vertex_array_range
8521 #define GL_NV_vertex_array_range 1
8522 #ifdef GL_GLEXT_PROTOTYPES
8523 GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
8524 GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const GLvoid *pointer);
8525 #endif /* GL_GLEXT_PROTOTYPES */
8526 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
8527 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer);
8528 #endif
8529
8530 #ifndef GL_NV_register_combiners
8531 #define GL_NV_register_combiners 1
8532 #ifdef GL_GLEXT_PROTOTYPES
8533 GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
8534 GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
8535 GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
8536 GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
8537 GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
8538 GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
8539 GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
8540 GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
8541 GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
8542 GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
8543 GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
8544 GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
8545 GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
8546 #endif /* GL_GLEXT_PROTOTYPES */
8547 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
8548 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
8549 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
8550 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
8551 typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
8552 typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
8553 typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
8554 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
8555 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
8556 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
8557 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
8558 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
8559 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
8560 #endif
8561
8562 #ifndef GL_NV_fog_distance
8563 #define GL_NV_fog_distance 1
8564 #endif
8565
8566 #ifndef GL_NV_texgen_emboss
8567 #define GL_NV_texgen_emboss 1
8568 #endif
8569
8570 #ifndef GL_NV_blend_square
8571 #define GL_NV_blend_square 1
8572 #endif
8573
8574 #ifndef GL_NV_texture_env_combine4
8575 #define GL_NV_texture_env_combine4 1
8576 #endif
8577
8578 #ifndef GL_MESA_resize_buffers
8579 #define GL_MESA_resize_buffers 1
8580 #ifdef GL_GLEXT_PROTOTYPES
8581 GLAPI void APIENTRY glResizeBuffersMESA (void);
8582 #endif /* GL_GLEXT_PROTOTYPES */
8583 typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
8584 #endif
8585
8586 #ifndef GL_MESA_window_pos
8587 #define GL_MESA_window_pos 1
8588 #ifdef GL_GLEXT_PROTOTYPES
8589 GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
8590 GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
8591 GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
8592 GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
8593 GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
8594 GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
8595 GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
8596 GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
8597 GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
8598 GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
8599 GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
8600 GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
8601 GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
8602 GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
8603 GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
8604 GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
8605 GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8606 GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
8607 GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8608 GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
8609 GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
8610 GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
8611 GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
8612 GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
8613 #endif /* GL_GLEXT_PROTOTYPES */
8614 typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
8615 typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
8616 typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
8617 typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
8618 typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
8619 typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
8620 typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
8621 typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
8622 typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
8623 typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
8624 typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
8625 typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
8626 typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
8627 typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
8628 typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
8629 typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
8630 typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8631 typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
8632 typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8633 typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
8634 typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
8635 typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
8636 typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
8637 typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
8638 #endif
8639
8640 #ifndef GL_IBM_cull_vertex
8641 #define GL_IBM_cull_vertex 1
8642 #endif
8643
8644 #ifndef GL_IBM_multimode_draw_arrays
8645 #define GL_IBM_multimode_draw_arrays 1
8646 #ifdef GL_GLEXT_PROTOTYPES
8647 GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
8648 GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride);
8649 #endif /* GL_GLEXT_PROTOTYPES */
8650 typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
8651 typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride);
8652 #endif
8653
8654 #ifndef GL_IBM_vertex_array_lists
8655 #define GL_IBM_vertex_array_lists 1
8656 #ifdef GL_GLEXT_PROTOTYPES
8657 GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
8658 GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
8659 GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean* *pointer, GLint ptrstride);
8660 GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
8661 GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
8662 GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
8663 GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
8664 GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
8665 #endif /* GL_GLEXT_PROTOTYPES */
8666 typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
8667 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
8668 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride);
8669 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
8670 typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
8671 typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
8672 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
8673 typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
8674 #endif
8675
8676 #ifndef GL_SGIX_subsample
8677 #define GL_SGIX_subsample 1
8678 #endif
8679
8680 #ifndef GL_SGIX_ycrcba
8681 #define GL_SGIX_ycrcba 1
8682 #endif
8683
8684 #ifndef GL_SGIX_ycrcb_subsample
8685 #define GL_SGIX_ycrcb_subsample 1
8686 #endif
8687
8688 #ifndef GL_SGIX_depth_pass_instrument
8689 #define GL_SGIX_depth_pass_instrument 1
8690 #endif
8691
8692 #ifndef GL_3DFX_texture_compression_FXT1
8693 #define GL_3DFX_texture_compression_FXT1 1
8694 #endif
8695
8696 #ifndef GL_3DFX_multisample
8697 #define GL_3DFX_multisample 1
8698 #endif
8699
8700 #ifndef GL_3DFX_tbuffer
8701 #define GL_3DFX_tbuffer 1
8702 #ifdef GL_GLEXT_PROTOTYPES
8703 GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
8704 #endif /* GL_GLEXT_PROTOTYPES */
8705 typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
8706 #endif
8707
8708 #ifndef GL_EXT_multisample
8709 #define GL_EXT_multisample 1
8710 #ifdef GL_GLEXT_PROTOTYPES
8711 GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
8712 GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
8713 #endif /* GL_GLEXT_PROTOTYPES */
8714 typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
8715 typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
8716 #endif
8717
8718 #ifndef GL_SGIX_vertex_preclip
8719 #define GL_SGIX_vertex_preclip 1
8720 #endif
8721
8722 #ifndef GL_SGIX_convolution_accuracy
8723 #define GL_SGIX_convolution_accuracy 1
8724 #endif
8725
8726 #ifndef GL_SGIX_resample
8727 #define GL_SGIX_resample 1
8728 #endif
8729
8730 #ifndef GL_SGIS_point_line_texgen
8731 #define GL_SGIS_point_line_texgen 1
8732 #endif
8733
8734 #ifndef GL_SGIS_texture_color_mask
8735 #define GL_SGIS_texture_color_mask 1
8736 #ifdef GL_GLEXT_PROTOTYPES
8737 GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
8738 #endif /* GL_GLEXT_PROTOTYPES */
8739 typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
8740 #endif
8741
8742 #ifndef GL_SGIX_igloo_interface
8743 #define GL_SGIX_igloo_interface 1
8744 #ifdef GL_GLEXT_PROTOTYPES
8745 GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const GLvoid *params);
8746 #endif /* GL_GLEXT_PROTOTYPES */
8747 typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params);
8748 #endif
8749
8750 #ifndef GL_EXT_texture_env_dot3
8751 #define GL_EXT_texture_env_dot3 1
8752 #endif
8753
8754 #ifndef GL_ATI_texture_mirror_once
8755 #define GL_ATI_texture_mirror_once 1
8756 #endif
8757
8758 #ifndef GL_NV_fence
8759 #define GL_NV_fence 1
8760 #ifdef GL_GLEXT_PROTOTYPES
8761 GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
8762 GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
8763 GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
8764 GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
8765 GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
8766 GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
8767 GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
8768 #endif /* GL_GLEXT_PROTOTYPES */
8769 typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
8770 typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
8771 typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
8772 typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
8773 typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
8774 typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
8775 typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
8776 #endif
8777
8778 #ifndef GL_NV_evaluators
8779 #define GL_NV_evaluators 1
8780 #ifdef GL_GLEXT_PROTOTYPES
8781 GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
8782 GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
8783 GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
8784 GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
8785 GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
8786 GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
8787 GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
8788 GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
8789 GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
8790 #endif /* GL_GLEXT_PROTOTYPES */
8791 typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
8792 typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
8793 typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
8794 typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
8795 typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
8796 typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
8797 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
8798 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
8799 typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
8800 #endif
8801
8802 #ifndef GL_NV_packed_depth_stencil
8803 #define GL_NV_packed_depth_stencil 1
8804 #endif
8805
8806 #ifndef GL_NV_register_combiners2
8807 #define GL_NV_register_combiners2 1
8808 #ifdef GL_GLEXT_PROTOTYPES
8809 GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
8810 GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
8811 #endif /* GL_GLEXT_PROTOTYPES */
8812 typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
8813 typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
8814 #endif
8815
8816 #ifndef GL_NV_texture_compression_vtc
8817 #define GL_NV_texture_compression_vtc 1
8818 #endif
8819
8820 #ifndef GL_NV_texture_rectangle
8821 #define GL_NV_texture_rectangle 1
8822 #endif
8823
8824 #ifndef GL_NV_texture_shader
8825 #define GL_NV_texture_shader 1
8826 #endif
8827
8828 #ifndef GL_NV_texture_shader2
8829 #define GL_NV_texture_shader2 1
8830 #endif
8831
8832 #ifndef GL_NV_vertex_array_range2
8833 #define GL_NV_vertex_array_range2 1
8834 #endif
8835
8836 #ifndef GL_NV_vertex_program
8837 #define GL_NV_vertex_program 1
8838 #ifdef GL_GLEXT_PROTOTYPES
8839 GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
8840 GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
8841 GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
8842 GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
8843 GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
8844 GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
8845 GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
8846 GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
8847 GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
8848 GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
8849 GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
8850 GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
8851 GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
8852 GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, GLvoid* *pointer);
8853 GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
8854 GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
8855 GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8856 GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
8857 GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8858 GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
8859 GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLuint count, const GLdouble *v);
8860 GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLuint count, const GLfloat *v);
8861 GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
8862 GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
8863 GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer);
8864 GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
8865 GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
8866 GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
8867 GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
8868 GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
8869 GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
8870 GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
8871 GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
8872 GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
8873 GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
8874 GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
8875 GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
8876 GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
8877 GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
8878 GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
8879 GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
8880 GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
8881 GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
8882 GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8883 GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
8884 GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8885 GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
8886 GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
8887 GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
8888 GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
8889 GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
8890 GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
8891 GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
8892 GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
8893 GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
8894 GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
8895 GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
8896 GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
8897 GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
8898 GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
8899 GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
8900 GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
8901 GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
8902 GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
8903 #endif /* GL_GLEXT_PROTOTYPES */
8904 typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
8905 typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
8906 typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
8907 typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
8908 typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
8909 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
8910 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
8911 typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
8912 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
8913 typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
8914 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
8915 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
8916 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
8917 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
8918 typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
8919 typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
8920 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8921 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
8922 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8923 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
8924 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLuint count, const GLdouble *v);
8925 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLuint count, const GLfloat *v);
8926 typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
8927 typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
8928 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer);
8929 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
8930 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
8931 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
8932 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
8933 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
8934 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
8935 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
8936 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
8937 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
8938 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
8939 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
8940 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
8941 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
8942 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
8943 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
8944 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
8945 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
8946 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
8947 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
8948 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
8949 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
8950 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
8951 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
8952 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
8953 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
8954 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
8955 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
8956 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
8957 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
8958 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
8959 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
8960 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
8961 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
8962 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
8963 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
8964 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
8965 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
8966 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
8967 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
8968 #endif
8969
8970 #ifndef GL_SGIX_texture_coordinate_clamp
8971 #define GL_SGIX_texture_coordinate_clamp 1
8972 #endif
8973
8974 #ifndef GL_SGIX_scalebias_hint
8975 #define GL_SGIX_scalebias_hint 1
8976 #endif
8977
8978 #ifndef GL_OML_interlace
8979 #define GL_OML_interlace 1
8980 #endif
8981
8982 #ifndef GL_OML_subsample
8983 #define GL_OML_subsample 1
8984 #endif
8985
8986 #ifndef GL_OML_resample
8987 #define GL_OML_resample 1
8988 #endif
8989
8990 #ifndef GL_NV_copy_depth_to_color
8991 #define GL_NV_copy_depth_to_color 1
8992 #endif
8993
8994 #ifndef GL_ATI_envmap_bumpmap
8995 #define GL_ATI_envmap_bumpmap 1
8996 #ifdef GL_GLEXT_PROTOTYPES
8997 GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
8998 GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
8999 GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
9000 GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
9001 #endif /* GL_GLEXT_PROTOTYPES */
9002 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
9003 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
9004 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
9005 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
9006 #endif
9007
9008 #ifndef GL_ATI_fragment_shader
9009 #define GL_ATI_fragment_shader 1
9010 #ifdef GL_GLEXT_PROTOTYPES
9011 GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
9012 GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
9013 GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
9014 GLAPI void APIENTRY glBeginFragmentShaderATI (void);
9015 GLAPI void APIENTRY glEndFragmentShaderATI (void);
9016 GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
9017 GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
9018 GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
9019 GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
9020 GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
9021 GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
9022 GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
9023 GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
9024 GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
9025 #endif /* GL_GLEXT_PROTOTYPES */
9026 typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
9027 typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
9028 typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
9029 typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
9030 typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
9031 typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
9032 typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
9033 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
9034 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
9035 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
9036 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
9037 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
9038 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
9039 typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
9040 #endif
9041
9042 #ifndef GL_ATI_pn_triangles
9043 #define GL_ATI_pn_triangles 1
9044 #ifdef GL_GLEXT_PROTOTYPES
9045 GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
9046 GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
9047 #endif /* GL_GLEXT_PROTOTYPES */
9048 typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
9049 typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
9050 #endif
9051
9052 #ifndef GL_ATI_vertex_array_object
9053 #define GL_ATI_vertex_array_object 1
9054 #ifdef GL_GLEXT_PROTOTYPES
9055 GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const GLvoid *pointer, GLenum usage);
9056 GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
9057 GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve);
9058 GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
9059 GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
9060 GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
9061 GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
9062 GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
9063 GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
9064 GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
9065 GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
9066 GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
9067 #endif /* GL_GLEXT_PROTOTYPES */
9068 typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage);
9069 typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
9070 typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve);
9071 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
9072 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
9073 typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
9074 typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
9075 typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
9076 typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
9077 typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
9078 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
9079 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
9080 #endif
9081
9082 #ifndef GL_EXT_vertex_shader
9083 #define GL_EXT_vertex_shader 1
9084 #ifdef GL_GLEXT_PROTOTYPES
9085 GLAPI void APIENTRY glBeginVertexShaderEXT (void);
9086 GLAPI void APIENTRY glEndVertexShaderEXT (void);
9087 GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
9088 GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
9089 GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
9090 GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
9091 GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
9092 GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
9093 GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
9094 GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
9095 GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
9096 GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
9097 GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
9098 GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const GLvoid *addr);
9099 GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const GLvoid *addr);
9100 GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
9101 GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
9102 GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
9103 GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
9104 GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
9105 GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
9106 GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
9107 GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
9108 GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const GLvoid *addr);
9109 GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
9110 GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
9111 GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
9112 GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
9113 GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
9114 GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
9115 GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
9116 GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
9117 GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
9118 GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
9119 GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
9120 GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, GLvoid* *data);
9121 GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
9122 GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
9123 GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
9124 GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
9125 GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
9126 GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
9127 #endif /* GL_GLEXT_PROTOTYPES */
9128 typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
9129 typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
9130 typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
9131 typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
9132 typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
9133 typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
9134 typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
9135 typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
9136 typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
9137 typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
9138 typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
9139 typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
9140 typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
9141 typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr);
9142 typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr);
9143 typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
9144 typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
9145 typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
9146 typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
9147 typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
9148 typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
9149 typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
9150 typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
9151 typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid *addr);
9152 typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
9153 typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
9154 typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
9155 typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
9156 typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
9157 typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
9158 typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
9159 typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
9160 typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
9161 typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
9162 typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
9163 typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid* *data);
9164 typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
9165 typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
9166 typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
9167 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
9168 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
9169 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
9170 #endif
9171
9172 #ifndef GL_ATI_vertex_streams
9173 #define GL_ATI_vertex_streams 1
9174 #ifdef GL_GLEXT_PROTOTYPES
9175 GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
9176 GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
9177 GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
9178 GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
9179 GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
9180 GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
9181 GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
9182 GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
9183 GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
9184 GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
9185 GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
9186 GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
9187 GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
9188 GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
9189 GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
9190 GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
9191 GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
9192 GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
9193 GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
9194 GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
9195 GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
9196 GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
9197 GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
9198 GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
9199 GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
9200 GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
9201 GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
9202 GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
9203 GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9204 GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
9205 GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9206 GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
9207 GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
9208 GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
9209 GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
9210 GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
9211 GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
9212 GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
9213 GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
9214 GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
9215 GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
9216 GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
9217 GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
9218 GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
9219 GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
9220 #endif /* GL_GLEXT_PROTOTYPES */
9221 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
9222 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
9223 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
9224 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
9225 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
9226 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
9227 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
9228 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
9229 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
9230 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
9231 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
9232 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
9233 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
9234 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
9235 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
9236 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
9237 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
9238 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
9239 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
9240 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
9241 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
9242 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
9243 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
9244 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
9245 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
9246 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
9247 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
9248 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
9249 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9250 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
9251 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9252 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
9253 typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
9254 typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
9255 typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
9256 typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
9257 typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
9258 typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
9259 typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
9260 typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
9261 typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
9262 typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
9263 typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
9264 typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
9265 typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
9266 #endif
9267
9268 #ifndef GL_ATI_element_array
9269 #define GL_ATI_element_array 1
9270 #ifdef GL_GLEXT_PROTOTYPES
9271 GLAPI void APIENTRY glElementPointerATI (GLenum type, const GLvoid *pointer);
9272 GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
9273 GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
9274 #endif /* GL_GLEXT_PROTOTYPES */
9275 typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer);
9276 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
9277 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
9278 #endif
9279
9280 #ifndef GL_SUN_mesh_array
9281 #define GL_SUN_mesh_array 1
9282 #ifdef GL_GLEXT_PROTOTYPES
9283 GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
9284 #endif /* GL_GLEXT_PROTOTYPES */
9285 typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
9286 #endif
9287
9288 #ifndef GL_SUN_slice_accum
9289 #define GL_SUN_slice_accum 1
9290 #endif
9291
9292 #ifndef GL_NV_multisample_filter_hint
9293 #define GL_NV_multisample_filter_hint 1
9294 #endif
9295
9296 #ifndef GL_NV_depth_clamp
9297 #define GL_NV_depth_clamp 1
9298 #endif
9299
9300 #ifndef GL_NV_occlusion_query
9301 #define GL_NV_occlusion_query 1
9302 #ifdef GL_GLEXT_PROTOTYPES
9303 GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
9304 GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
9305 GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
9306 GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
9307 GLAPI void APIENTRY glEndOcclusionQueryNV (void);
9308 GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
9309 GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
9310 #endif /* GL_GLEXT_PROTOTYPES */
9311 typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
9312 typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
9313 typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
9314 typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
9315 typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
9316 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
9317 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
9318 #endif
9319
9320 #ifndef GL_NV_point_sprite
9321 #define GL_NV_point_sprite 1
9322 #ifdef GL_GLEXT_PROTOTYPES
9323 GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
9324 GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
9325 #endif /* GL_GLEXT_PROTOTYPES */
9326 typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
9327 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
9328 #endif
9329
9330 #ifndef GL_NV_texture_shader3
9331 #define GL_NV_texture_shader3 1
9332 #endif
9333
9334 #ifndef GL_NV_vertex_program1_1
9335 #define GL_NV_vertex_program1_1 1
9336 #endif
9337
9338 #ifndef GL_EXT_shadow_funcs
9339 #define GL_EXT_shadow_funcs 1
9340 #endif
9341
9342 #ifndef GL_EXT_stencil_two_side
9343 #define GL_EXT_stencil_two_side 1
9344 #ifdef GL_GLEXT_PROTOTYPES
9345 GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
9346 #endif /* GL_GLEXT_PROTOTYPES */
9347 typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
9348 #endif
9349
9350 #ifndef GL_ATI_text_fragment_shader
9351 #define GL_ATI_text_fragment_shader 1
9352 #endif
9353
9354 #ifndef GL_APPLE_client_storage
9355 #define GL_APPLE_client_storage 1
9356 #endif
9357
9358 #ifndef GL_APPLE_element_array
9359 #define GL_APPLE_element_array 1
9360 #ifdef GL_GLEXT_PROTOTYPES
9361 GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const GLvoid *pointer);
9362 GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
9363 GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
9364 GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
9365 GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
9366 #endif /* GL_GLEXT_PROTOTYPES */
9367 typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const GLvoid *pointer);
9368 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
9369 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
9370 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
9371 typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
9372 #endif
9373
9374 #ifndef GL_APPLE_fence
9375 #define GL_APPLE_fence 1
9376 #ifdef GL_GLEXT_PROTOTYPES
9377 GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
9378 GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
9379 GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
9380 GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
9381 GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
9382 GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
9383 GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
9384 GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
9385 #endif /* GL_GLEXT_PROTOTYPES */
9386 typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
9387 typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
9388 typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
9389 typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
9390 typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
9391 typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
9392 typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
9393 typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
9394 #endif
9395
9396 #ifndef GL_APPLE_vertex_array_object
9397 #define GL_APPLE_vertex_array_object 1
9398 #ifdef GL_GLEXT_PROTOTYPES
9399 GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
9400 GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
9401 GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
9402 GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
9403 #endif /* GL_GLEXT_PROTOTYPES */
9404 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
9405 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
9406 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
9407 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
9408 #endif
9409
9410 #ifndef GL_APPLE_vertex_array_range
9411 #define GL_APPLE_vertex_array_range 1
9412 #ifdef GL_GLEXT_PROTOTYPES
9413 GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, GLvoid *pointer);
9414 GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, GLvoid *pointer);
9415 GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
9416 #endif /* GL_GLEXT_PROTOTYPES */
9417 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
9418 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
9419 typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
9420 #endif
9421
9422 #ifndef GL_APPLE_ycbcr_422
9423 #define GL_APPLE_ycbcr_422 1
9424 #endif
9425
9426 #ifndef GL_S3_s3tc
9427 #define GL_S3_s3tc 1
9428 #endif
9429
9430 #ifndef GL_ATI_draw_buffers
9431 #define GL_ATI_draw_buffers 1
9432 #ifdef GL_GLEXT_PROTOTYPES
9433 GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
9434 #endif /* GL_GLEXT_PROTOTYPES */
9435 typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
9436 #endif
9437
9438 #ifndef GL_ATI_pixel_format_float
9439 #define GL_ATI_pixel_format_float 1
9440 /* This is really a WGL extension, but defines some associated GL enums.
9441 * ATI does not export "GL_ATI_pixel_format_float" in the GL_EXTENSIONS string.
9442 */
9443 #endif
9444
9445 #ifndef GL_ATI_texture_env_combine3
9446 #define GL_ATI_texture_env_combine3 1
9447 #endif
9448
9449 #ifndef GL_ATI_texture_float
9450 #define GL_ATI_texture_float 1
9451 #endif
9452
9453 #ifndef GL_NV_float_buffer
9454 #define GL_NV_float_buffer 1
9455 #endif
9456
9457 #ifndef GL_NV_fragment_program
9458 #define GL_NV_fragment_program 1
9459 /* Some NV_fragment_program entry points are shared with ARB_vertex_program. */
9460 #ifdef GL_GLEXT_PROTOTYPES
9461 GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9462 GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9463 GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
9464 GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
9465 GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
9466 GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
9467 #endif /* GL_GLEXT_PROTOTYPES */
9468 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
9469 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
9470 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
9471 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
9472 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
9473 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
9474 #endif
9475
9476 #ifndef GL_NV_half_float
9477 #define GL_NV_half_float 1
9478 #ifdef GL_GLEXT_PROTOTYPES
9479 GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
9480 GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
9481 GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
9482 GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
9483 GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
9484 GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
9485 GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
9486 GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
9487 GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
9488 GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
9489 GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
9490 GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
9491 GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
9492 GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
9493 GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
9494 GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
9495 GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
9496 GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
9497 GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
9498 GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
9499 GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
9500 GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
9501 GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
9502 GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
9503 GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
9504 GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
9505 GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
9506 GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
9507 GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
9508 GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
9509 GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
9510 GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
9511 GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
9512 GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
9513 GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
9514 GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
9515 GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
9516 GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
9517 GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
9518 GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
9519 GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
9520 GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
9521 GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
9522 GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
9523 GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
9524 GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
9525 #endif /* GL_GLEXT_PROTOTYPES */
9526 typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
9527 typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
9528 typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
9529 typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
9530 typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
9531 typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
9532 typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
9533 typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
9534 typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
9535 typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
9536 typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
9537 typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
9538 typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
9539 typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
9540 typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
9541 typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
9542 typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
9543 typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
9544 typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
9545 typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
9546 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
9547 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
9548 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
9549 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
9550 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
9551 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
9552 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
9553 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
9554 typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
9555 typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
9556 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
9557 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
9558 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
9559 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
9560 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
9561 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
9562 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
9563 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
9564 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
9565 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
9566 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
9567 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
9568 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
9569 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
9570 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
9571 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
9572 #endif
9573
9574 #ifndef GL_NV_pixel_data_range
9575 #define GL_NV_pixel_data_range 1
9576 #ifdef GL_GLEXT_PROTOTYPES
9577 GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, GLvoid *pointer);
9578 GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
9579 #endif /* GL_GLEXT_PROTOTYPES */
9580 typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer);
9581 typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
9582 #endif
9583
9584 #ifndef GL_NV_primitive_restart
9585 #define GL_NV_primitive_restart 1
9586 #ifdef GL_GLEXT_PROTOTYPES
9587 GLAPI void APIENTRY glPrimitiveRestartNV (void);
9588 GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
9589 #endif /* GL_GLEXT_PROTOTYPES */
9590 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
9591 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
9592 #endif
9593
9594 #ifndef GL_NV_texture_expand_normal
9595 #define GL_NV_texture_expand_normal 1
9596 #endif
9597
9598 #ifndef GL_NV_vertex_program2
9599 #define GL_NV_vertex_program2 1
9600 #endif
9601
9602 #ifndef GL_ATI_map_object_buffer
9603 #define GL_ATI_map_object_buffer 1
9604 #ifdef GL_GLEXT_PROTOTYPES
9605 GLAPI GLvoid* APIENTRY glMapObjectBufferATI (GLuint buffer);
9606 GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
9607 #endif /* GL_GLEXT_PROTOTYPES */
9608 typedef GLvoid* (APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
9609 typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
9610 #endif
9611
9612 #ifndef GL_ATI_separate_stencil
9613 #define GL_ATI_separate_stencil 1
9614 #ifdef GL_GLEXT_PROTOTYPES
9615 GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
9616 GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
9617 #endif /* GL_GLEXT_PROTOTYPES */
9618 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
9619 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
9620 #endif
9621
9622 #ifndef GL_ATI_vertex_attrib_array_object
9623 #define GL_ATI_vertex_attrib_array_object 1
9624 #ifdef GL_GLEXT_PROTOTYPES
9625 GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
9626 GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
9627 GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
9628 #endif /* GL_GLEXT_PROTOTYPES */
9629 typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
9630 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
9631 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
9632 #endif
9633
9634 #ifndef GL_OES_read_format
9635 #define GL_OES_read_format 1
9636 #endif
9637
9638 #ifndef GL_EXT_depth_bounds_test
9639 #define GL_EXT_depth_bounds_test 1
9640 #ifdef GL_GLEXT_PROTOTYPES
9641 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
9642 #endif /* GL_GLEXT_PROTOTYPES */
9643 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
9644 #endif
9645
9646 #ifndef GL_EXT_texture_mirror_clamp
9647 #define GL_EXT_texture_mirror_clamp 1
9648 #endif
9649
9650 #ifndef GL_EXT_blend_equation_separate
9651 #define GL_EXT_blend_equation_separate 1
9652 #ifdef GL_GLEXT_PROTOTYPES
9653 GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
9654 #endif /* GL_GLEXT_PROTOTYPES */
9655 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
9656 #endif
9657
9658 #ifndef GL_MESA_pack_invert
9659 #define GL_MESA_pack_invert 1
9660 #endif
9661
9662 #ifndef GL_MESA_ycbcr_texture
9663 #define GL_MESA_ycbcr_texture 1
9664 #endif
9665
9666 #ifndef GL_EXT_pixel_buffer_object
9667 #define GL_EXT_pixel_buffer_object 1
9668 #endif
9669
9670 #ifndef GL_NV_fragment_program_option
9671 #define GL_NV_fragment_program_option 1
9672 #endif
9673
9674 #ifndef GL_NV_fragment_program2
9675 #define GL_NV_fragment_program2 1
9676 #endif
9677
9678 #ifndef GL_NV_vertex_program2_option
9679 #define GL_NV_vertex_program2_option 1
9680 #endif
9681
9682 #ifndef GL_NV_vertex_program3
9683 #define GL_NV_vertex_program3 1
9684 #endif
9685
9686 #ifndef GL_EXT_framebuffer_object
9687 #define GL_EXT_framebuffer_object 1
9688 #ifdef GL_GLEXT_PROTOTYPES
9689 GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
9690 GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
9691 GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
9692 GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
9693 GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
9694 GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
9695 GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
9696 GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
9697 GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
9698 GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
9699 GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
9700 GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
9701 GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
9702 GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
9703 GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
9704 GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
9705 GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
9706 #endif /* GL_GLEXT_PROTOTYPES */
9707 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
9708 typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
9709 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
9710 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
9711 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
9712 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
9713 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
9714 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
9715 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
9716 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
9717 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
9718 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
9719 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
9720 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
9721 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
9722 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
9723 typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
9724 #endif
9725
9726 #ifndef GL_GREMEDY_string_marker
9727 #define GL_GREMEDY_string_marker 1
9728 #ifdef GL_GLEXT_PROTOTYPES
9729 GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const GLvoid *string);
9730 #endif /* GL_GLEXT_PROTOTYPES */
9731 typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string);
9732 #endif
9733
9734 #ifndef GL_EXT_packed_depth_stencil
9735 #define GL_EXT_packed_depth_stencil 1
9736 #endif
9737
9738 #ifndef GL_EXT_stencil_clear_tag
9739 #define GL_EXT_stencil_clear_tag 1
9740 #ifdef GL_GLEXT_PROTOTYPES
9741 GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
9742 #endif /* GL_GLEXT_PROTOTYPES */
9743 typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
9744 #endif
9745
9746 #ifndef GL_EXT_texture_sRGB
9747 #define GL_EXT_texture_sRGB 1
9748 #endif
9749
9750 #ifndef GL_EXT_framebuffer_blit
9751 #define GL_EXT_framebuffer_blit 1
9752 #ifdef GL_GLEXT_PROTOTYPES
9753 GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
9754 #endif /* GL_GLEXT_PROTOTYPES */
9755 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
9756 #endif
9757
9758 #ifndef GL_EXT_framebuffer_multisample
9759 #define GL_EXT_framebuffer_multisample 1
9760 #ifdef GL_GLEXT_PROTOTYPES
9761 GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
9762 #endif /* GL_GLEXT_PROTOTYPES */
9763 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
9764 #endif
9765
9766 #ifndef GL_MESAX_texture_stack
9767 #define GL_MESAX_texture_stack 1
9768 #endif
9769
9770 #ifndef GL_EXT_timer_query
9771 #define GL_EXT_timer_query 1
9772 #ifdef GL_GLEXT_PROTOTYPES
9773 GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64EXT *params);
9774 GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64EXT *params);
9775 #endif /* GL_GLEXT_PROTOTYPES */
9776 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params);
9777 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params);
9778 #endif
9779
9780 #ifndef GL_EXT_gpu_program_parameters
9781 #define GL_EXT_gpu_program_parameters 1
9782 #ifdef GL_GLEXT_PROTOTYPES
9783 GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
9784 GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
9785 #endif /* GL_GLEXT_PROTOTYPES */
9786 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
9787 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
9788 #endif
9789
9790 #ifndef GL_APPLE_flush_buffer_range
9791 #define GL_APPLE_flush_buffer_range 1
9792 #ifdef GL_GLEXT_PROTOTYPES
9793 GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
9794 GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
9795 #endif /* GL_GLEXT_PROTOTYPES */
9796 typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
9797 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
9798 #endif
9799
9800 #ifndef GL_NV_gpu_program4
9801 #define GL_NV_gpu_program4 1
9802 #ifdef GL_GLEXT_PROTOTYPES
9803 GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
9804 GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
9805 GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
9806 GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
9807 GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
9808 GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
9809 GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
9810 GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
9811 GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
9812 GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
9813 GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
9814 GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
9815 GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
9816 GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
9817 GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
9818 GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
9819 #endif /* GL_GLEXT_PROTOTYPES */
9820 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
9821 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
9822 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
9823 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
9824 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
9825 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
9826 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
9827 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
9828 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
9829 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
9830 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
9831 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
9832 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
9833 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
9834 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
9835 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
9836 #endif
9837
9838 #ifndef GL_NV_geometry_program4
9839 #define GL_NV_geometry_program4 1
9840 #ifdef GL_GLEXT_PROTOTYPES
9841 GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
9842 GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
9843 GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
9844 GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
9845 #endif /* GL_GLEXT_PROTOTYPES */
9846 typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
9847 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
9848 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
9849 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
9850 #endif
9851
9852 #ifndef GL_EXT_geometry_shader4
9853 #define GL_EXT_geometry_shader4 1
9854 #ifdef GL_GLEXT_PROTOTYPES
9855 GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
9856 #endif /* GL_GLEXT_PROTOTYPES */
9857 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
9858 #endif
9859
9860 #ifndef GL_NV_vertex_program4
9861 #define GL_NV_vertex_program4 1
9862 #ifdef GL_GLEXT_PROTOTYPES
9863 GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
9864 GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
9865 GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
9866 GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
9867 GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
9868 GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
9869 GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
9870 GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
9871 GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
9872 GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
9873 GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
9874 GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
9875 GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
9876 GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
9877 GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
9878 GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
9879 GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
9880 GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
9881 GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
9882 GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
9883 GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
9884 GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
9885 GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
9886 #endif /* GL_GLEXT_PROTOTYPES */
9887 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
9888 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
9889 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
9890 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
9891 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
9892 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
9893 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
9894 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
9895 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
9896 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
9897 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
9898 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
9899 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
9900 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
9901 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
9902 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
9903 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
9904 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
9905 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
9906 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
9907 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
9908 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
9909 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
9910 #endif
9911
9912 #ifndef GL_EXT_gpu_shader4
9913 #define GL_EXT_gpu_shader4 1
9914 #ifdef GL_GLEXT_PROTOTYPES
9915 GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
9916 GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
9917 GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
9918 GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
9919 GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
9920 GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
9921 GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
9922 GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
9923 GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
9924 GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
9925 GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
9926 #endif /* GL_GLEXT_PROTOTYPES */
9927 typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
9928 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
9929 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
9930 typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
9931 typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
9932 typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
9933 typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
9934 typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
9935 typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
9936 typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
9937 typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
9938 #endif
9939
9940 #ifndef GL_EXT_draw_instanced
9941 #define GL_EXT_draw_instanced 1
9942 #ifdef GL_GLEXT_PROTOTYPES
9943 GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
9944 GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
9945 #endif /* GL_GLEXT_PROTOTYPES */
9946 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
9947 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
9948 #endif
9949
9950 #ifndef GL_EXT_packed_float
9951 #define GL_EXT_packed_float 1
9952 #endif
9953
9954 #ifndef GL_EXT_texture_array
9955 #define GL_EXT_texture_array 1
9956 #endif
9957
9958 #ifndef GL_EXT_texture_buffer_object
9959 #define GL_EXT_texture_buffer_object 1
9960 #ifdef GL_GLEXT_PROTOTYPES
9961 GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
9962 #endif /* GL_GLEXT_PROTOTYPES */
9963 typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
9964 #endif
9965
9966 #ifndef GL_EXT_texture_compression_latc
9967 #define GL_EXT_texture_compression_latc 1
9968 #endif
9969
9970 #ifndef GL_EXT_texture_compression_rgtc
9971 #define GL_EXT_texture_compression_rgtc 1
9972 #endif
9973
9974 #ifndef GL_EXT_texture_shared_exponent
9975 #define GL_EXT_texture_shared_exponent 1
9976 #endif
9977
9978 #ifndef GL_NV_depth_buffer_float
9979 #define GL_NV_depth_buffer_float 1
9980 #ifdef GL_GLEXT_PROTOTYPES
9981 GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
9982 GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
9983 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
9984 #endif /* GL_GLEXT_PROTOTYPES */
9985 typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
9986 typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
9987 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
9988 #endif
9989
9990 #ifndef GL_NV_fragment_program4
9991 #define GL_NV_fragment_program4 1
9992 #endif
9993
9994 #ifndef GL_NV_framebuffer_multisample_coverage
9995 #define GL_NV_framebuffer_multisample_coverage 1
9996 #ifdef GL_GLEXT_PROTOTYPES
9997 GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
9998 #endif /* GL_GLEXT_PROTOTYPES */
9999 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
10000 #endif
10001
10002 #ifndef GL_EXT_framebuffer_sRGB
10003 #define GL_EXT_framebuffer_sRGB 1
10004 #endif
10005
10006 #ifndef GL_NV_geometry_shader4
10007 #define GL_NV_geometry_shader4 1
10008 #endif
10009
10010 #ifndef GL_NV_parameter_buffer_object
10011 #define GL_NV_parameter_buffer_object 1
10012 #ifdef GL_GLEXT_PROTOTYPES
10013 GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params);
10014 GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params);
10015 GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params);
10016 #endif /* GL_GLEXT_PROTOTYPES */
10017 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params);
10018 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params);
10019 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params);
10020 #endif
10021
10022 #ifndef GL_EXT_draw_buffers2
10023 #define GL_EXT_draw_buffers2 1
10024 #ifdef GL_GLEXT_PROTOTYPES
10025 GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
10026 GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
10027 GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
10028 GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
10029 GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
10030 GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
10031 #endif /* GL_GLEXT_PROTOTYPES */
10032 typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
10033 typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
10034 typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
10035 typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
10036 typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
10037 typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
10038 #endif
10039
10040 #ifndef GL_NV_transform_feedback
10041 #define GL_NV_transform_feedback 1
10042 #ifdef GL_GLEXT_PROTOTYPES
10043 GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
10044 GLAPI void APIENTRY glEndTransformFeedbackNV (void);
10045 GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode);
10046 GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
10047 GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
10048 GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
10049 GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
10050 GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
10051 GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
10052 GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
10053 GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
10054 GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
10055 #endif /* GL_GLEXT_PROTOTYPES */
10056 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
10057 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
10058 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
10059 typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
10060 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
10061 typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
10062 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
10063 typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
10064 typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
10065 typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
10066 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
10067 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
10068 #endif
10069
10070 #ifndef GL_EXT_bindable_uniform
10071 #define GL_EXT_bindable_uniform 1
10072 #ifdef GL_GLEXT_PROTOTYPES
10073 GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
10074 GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
10075 GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
10076 #endif /* GL_GLEXT_PROTOTYPES */
10077 typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
10078 typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
10079 typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
10080 #endif
10081
10082 #ifndef GL_EXT_texture_integer
10083 #define GL_EXT_texture_integer 1
10084 #ifdef GL_GLEXT_PROTOTYPES
10085 GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
10086 GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
10087 GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
10088 GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
10089 GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
10090 GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
10091 #endif /* GL_GLEXT_PROTOTYPES */
10092 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
10093 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
10094 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
10095 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
10096 typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
10097 typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
10098 #endif
10099
10100 #ifndef GL_GREMEDY_frame_terminator
10101 #define GL_GREMEDY_frame_terminator 1
10102 #ifdef GL_GLEXT_PROTOTYPES
10103 GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
10104 #endif /* GL_GLEXT_PROTOTYPES */
10105 typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
10106 #endif
10107
10108 #ifndef GL_NV_conditional_render
10109 #define GL_NV_conditional_render 1
10110 #ifdef GL_GLEXT_PROTOTYPES
10111 GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
10112 GLAPI void APIENTRY glEndConditionalRenderNV (void);
10113 #endif /* GL_GLEXT_PROTOTYPES */
10114 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
10115 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
10116 #endif
10117
10118 #ifndef GL_NV_present_video
10119 #define GL_NV_present_video 1
10120 #ifdef GL_GLEXT_PROTOTYPES
10121 GLAPI void APIENTRY glPresentFrameKeyedNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
10122 GLAPI void APIENTRY glPresentFrameDualFillNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
10123 GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
10124 GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
10125 GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
10126 GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
10127 #endif /* GL_GLEXT_PROTOTYPES */
10128 typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
10129 typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
10130 typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
10131 typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
10132 typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
10133 typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
10134 #endif
10135
10136 #ifndef GL_EXT_transform_feedback
10137 #define GL_EXT_transform_feedback 1
10138 #ifdef GL_GLEXT_PROTOTYPES
10139 GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
10140 GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
10141 GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
10142 GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
10143 GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
10144 GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode);
10145 GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
10146 #endif /* GL_GLEXT_PROTOTYPES */
10147 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
10148 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
10149 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
10150 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
10151 typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
10152 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode);
10153 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
10154 #endif
10155
10156 #ifndef GL_EXT_direct_state_access
10157 #define GL_EXT_direct_state_access 1
10158 #ifdef GL_GLEXT_PROTOTYPES
10159 GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
10160 GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
10161 GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
10162 GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
10163 GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
10164 GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
10165 GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
10166 GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
10167 GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
10168 GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
10169 GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
10170 GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
10171 GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
10172 GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
10173 GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
10174 GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
10175 GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
10176 GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
10177 GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
10178 GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
10179 GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
10180 GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
10181 GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
10182 GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
10183 GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
10184 GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
10185 GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
10186 GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
10187 GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
10188 GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
10189 GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
10190 GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
10191 GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
10192 GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
10193 GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
10194 GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
10195 GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
10196 GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
10197 GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
10198 GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
10199 GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
10200 GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
10201 GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
10202 GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
10203 GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
10204 GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
10205 GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
10206 GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
10207 GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
10208 GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
10209 GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
10210 GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
10211 GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
10212 GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
10213 GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
10214 GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
10215 GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
10216 GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
10217 GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
10218 GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
10219 GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
10220 GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
10221 GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
10222 GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
10223 GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
10224 GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
10225 GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
10226 GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
10227 GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
10228 GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
10229 GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
10230 GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
10231 GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
10232 GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
10233 GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
10234 GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
10235 GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
10236 GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
10237 GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
10238 GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
10239 GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
10240 GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
10241 GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, GLvoid* *data);
10242 GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
10243 GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
10244 GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
10245 GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits);
10246 GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
10247 GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
10248 GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, GLvoid *img);
10249 GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
10250 GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
10251 GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
10252 GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits);
10253 GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
10254 GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
10255 GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, GLvoid *img);
10256 GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string);
10257 GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10258 GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
10259 GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10260 GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
10261 GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
10262 GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
10263 GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
10264 GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, GLvoid *string);
10265 GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
10266 GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
10267 GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
10268 GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
10269 GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10270 GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
10271 GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
10272 GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
10273 GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
10274 GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
10275 GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
10276 GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
10277 GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
10278 GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
10279 GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
10280 GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
10281 GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
10282 GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
10283 GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
10284 GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
10285 GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
10286 GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
10287 GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
10288 GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
10289 GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
10290 GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
10291 GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
10292 GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
10293 GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
10294 GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
10295 GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
10296 GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
10297 GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
10298 GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10299 GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10300 GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10301 GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10302 GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10303 GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10304 GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10305 GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10306 GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10307 GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
10308 GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
10309 GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
10310 GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
10311 GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
10312 GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
10313 GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
10314 GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
10315 GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage);
10316 GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data);
10317 GLAPI GLvoid* APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
10318 GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
10319 GLAPI GLvoid* APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
10320 GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
10321 GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
10322 GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
10323 GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, GLvoid* *params);
10324 GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data);
10325 GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
10326 GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
10327 GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
10328 GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
10329 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
10330 GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
10331 GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
10332 GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
10333 GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
10334 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
10335 GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
10336 GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
10337 GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
10338 GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
10339 GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
10340 GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
10341 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
10342 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
10343 GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
10344 GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
10345 GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
10346 GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
10347 GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
10348 GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
10349 GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
10350 GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
10351 GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10352 GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
10353 GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
10354 GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
10355 GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
10356 GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10357 GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10358 GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10359 GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10360 GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10361 GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10362 GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10363 GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10364 GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10365 #endif /* GL_GLEXT_PROTOTYPES */
10366 typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
10367 typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
10368 typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
10369 typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
10370 typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
10371 typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
10372 typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
10373 typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
10374 typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
10375 typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
10376 typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
10377 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
10378 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
10379 typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
10380 typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
10381 typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
10382 typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
10383 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
10384 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
10385 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
10386 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
10387 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
10388 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
10389 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
10390 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
10391 typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
10392 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
10393 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
10394 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
10395 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
10396 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
10397 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
10398 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
10399 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
10400 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
10401 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
10402 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
10403 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
10404 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
10405 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
10406 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
10407 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
10408 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
10409 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
10410 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
10411 typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
10412 typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
10413 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
10414 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
10415 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
10416 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
10417 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
10418 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
10419 typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
10420 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
10421 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
10422 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
10423 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
10424 typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
10425 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
10426 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
10427 typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
10428 typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
10429 typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
10430 typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
10431 typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
10432 typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
10433 typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
10434 typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
10435 typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
10436 typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
10437 typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
10438 typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
10439 typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
10440 typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
10441 typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
10442 typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
10443 typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
10444 typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
10445 typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
10446 typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
10447 typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
10448 typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLvoid* *data);
10449 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
10450 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
10451 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
10452 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits);
10453 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
10454 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
10455 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, GLvoid *img);
10456 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
10457 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
10458 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
10459 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits);
10460 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
10461 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
10462 typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, GLvoid *img);
10463 typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string);
10464 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10465 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
10466 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
10467 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
10468 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
10469 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
10470 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
10471 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, GLvoid *string);
10472 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
10473 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
10474 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
10475 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
10476 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10477 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
10478 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
10479 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
10480 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
10481 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
10482 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
10483 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
10484 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
10485 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
10486 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
10487 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
10488 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
10489 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
10490 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
10491 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
10492 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
10493 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
10494 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
10495 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
10496 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
10497 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
10498 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
10499 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
10500 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
10501 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
10502 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
10503 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
10504 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
10505 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10506 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10507 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10508 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10509 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10510 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10511 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10512 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10513 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
10514 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
10515 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
10516 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
10517 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
10518 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
10519 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
10520 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
10521 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
10522 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage);
10523 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data);
10524 typedef GLvoid* (APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
10525 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
10526 typedef GLvoid* (APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
10527 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
10528 typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
10529 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
10530 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, GLvoid* *params);
10531 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data);
10532 typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
10533 typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
10534 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
10535 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
10536 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
10537 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
10538 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
10539 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
10540 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
10541 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
10542 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
10543 typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
10544 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
10545 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
10546 typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
10547 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
10548 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
10549 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
10550 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
10551 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
10552 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
10553 typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
10554 typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
10555 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
10556 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
10557 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
10558 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10559 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
10560 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
10561 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
10562 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
10563 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10564 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10565 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10566 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10567 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10568 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10569 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10570 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10571 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
10572 #endif
10573
10574 #ifndef GL_EXT_vertex_array_bgra
10575 #define GL_EXT_vertex_array_bgra 1
10576 #endif
10577
10578 #ifndef GL_EXT_texture_swizzle
10579 #define GL_EXT_texture_swizzle 1
10580 #endif
10581
10582 #ifndef GL_NV_explicit_multisample
10583 #define GL_NV_explicit_multisample 1
10584 #ifdef GL_GLEXT_PROTOTYPES
10585 GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
10586 GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
10587 GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
10588 #endif /* GL_GLEXT_PROTOTYPES */
10589 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
10590 typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
10591 typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
10592 #endif
10593
10594 #ifndef GL_NV_transform_feedback2
10595 #define GL_NV_transform_feedback2 1
10596 #ifdef GL_GLEXT_PROTOTYPES
10597 GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
10598 GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
10599 GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
10600 GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
10601 GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
10602 GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
10603 GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
10604 #endif /* GL_GLEXT_PROTOTYPES */
10605 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
10606 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
10607 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
10608 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
10609 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
10610 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
10611 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
10612 #endif
10613
10614 #ifndef GL_ATI_meminfo
10615 #define GL_ATI_meminfo 1
10616 #endif
10617
10618 #ifndef GL_AMD_performance_monitor
10619 #define GL_AMD_performance_monitor 1
10620 #ifdef GL_GLEXT_PROTOTYPES
10621 GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
10622 GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
10623 GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
10624 GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
10625 GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
10626 GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
10627 GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
10628 GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
10629 GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
10630 GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
10631 GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
10632 #endif /* GL_GLEXT_PROTOTYPES */
10633 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
10634 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
10635 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
10636 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
10637 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
10638 typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
10639 typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
10640 typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
10641 typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
10642 typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
10643 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
10644 #endif
10645
10646 #ifndef GL_AMD_texture_texture4
10647 #define GL_AMD_texture_texture4 1
10648 #endif
10649
10650 #ifndef GL_AMD_vertex_shader_tesselator
10651 #define GL_AMD_vertex_shader_tesselator 1
10652 #ifdef GL_GLEXT_PROTOTYPES
10653 GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
10654 GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
10655 #endif /* GL_GLEXT_PROTOTYPES */
10656 typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
10657 typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
10658 #endif
10659
10660 #ifndef GL_EXT_provoking_vertex
10661 #define GL_EXT_provoking_vertex 1
10662 #ifdef GL_GLEXT_PROTOTYPES
10663 GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
10664 #endif /* GL_GLEXT_PROTOTYPES */
10665 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
10666 #endif
10667
10668 #ifndef GL_EXT_texture_snorm
10669 #define GL_EXT_texture_snorm 1
10670 #endif
10671
10672 #ifndef GL_AMD_draw_buffers_blend
10673 #define GL_AMD_draw_buffers_blend 1
10674 #ifdef GL_GLEXT_PROTOTYPES
10675 GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
10676 GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
10677 GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
10678 GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
10679 #endif /* GL_GLEXT_PROTOTYPES */
10680 typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
10681 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
10682 typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
10683 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
10684 #endif
10685
10686 #ifndef GL_APPLE_texture_range
10687 #define GL_APPLE_texture_range 1
10688 #ifdef GL_GLEXT_PROTOTYPES
10689 GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const GLvoid *pointer);
10690 GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, GLvoid* *params);
10691 #endif /* GL_GLEXT_PROTOTYPES */
10692 typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const GLvoid *pointer);
10693 typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, GLvoid* *params);
10694 #endif
10695
10696 #ifndef GL_APPLE_float_pixels
10697 #define GL_APPLE_float_pixels 1
10698 #endif
10699
10700 #ifndef GL_APPLE_vertex_program_evaluators
10701 #define GL_APPLE_vertex_program_evaluators 1
10702 #ifdef GL_GLEXT_PROTOTYPES
10703 GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
10704 GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
10705 GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
10706 GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
10707 GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
10708 GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
10709 GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
10710 #endif /* GL_GLEXT_PROTOTYPES */
10711 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
10712 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
10713 typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
10714 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
10715 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
10716 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
10717 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
10718 #endif
10719
10720 #ifndef GL_APPLE_aux_depth_stencil
10721 #define GL_APPLE_aux_depth_stencil 1
10722 #endif
10723
10724 #ifndef GL_APPLE_object_purgeable
10725 #define GL_APPLE_object_purgeable 1
10726 #ifdef GL_GLEXT_PROTOTYPES
10727 GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
10728 GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
10729 GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
10730 #endif /* GL_GLEXT_PROTOTYPES */
10731 typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
10732 typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
10733 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
10734 #endif
10735
10736 #ifndef GL_APPLE_row_bytes
10737 #define GL_APPLE_row_bytes 1
10738 #endif
10739
10740 #ifndef GL_APPLE_rgb_422
10741 #define GL_APPLE_rgb_422 1
10742 #endif
10743
10744 #ifndef GL_NV_video_capture
10745 #define GL_NV_video_capture 1
10746 #ifdef GL_GLEXT_PROTOTYPES
10747 GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
10748 GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
10749 GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
10750 GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
10751 GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
10752 GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
10753 GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
10754 GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
10755 GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
10756 GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
10757 GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
10758 GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
10759 #endif /* GL_GLEXT_PROTOTYPES */
10760 typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
10761 typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
10762 typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
10763 typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
10764 typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
10765 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
10766 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
10767 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
10768 typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
10769 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
10770 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
10771 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
10772 #endif
10773
10774 #ifndef GL_NV_copy_image
10775 #define GL_NV_copy_image 1
10776 #ifdef GL_GLEXT_PROTOTYPES
10777 GLAPI void APIENTRY glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
10778 #endif /* GL_GLEXT_PROTOTYPES */
10779 typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
10780 #endif
10781
10782 #ifndef GL_EXT_separate_shader_objects
10783 #define GL_EXT_separate_shader_objects 1
10784 #ifdef GL_GLEXT_PROTOTYPES
10785 GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
10786 GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
10787 GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
10788 #endif /* GL_GLEXT_PROTOTYPES */
10789 typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
10790 typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
10791 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
10792 #endif
10793
10794 #ifndef GL_NV_parameter_buffer_object2
10795 #define GL_NV_parameter_buffer_object2 1
10796 #endif
10797
10798 #ifndef GL_NV_shader_buffer_load
10799 #define GL_NV_shader_buffer_load 1
10800 #ifdef GL_GLEXT_PROTOTYPES
10801 GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
10802 GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
10803 GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
10804 GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
10805 GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
10806 GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
10807 GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
10808 GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
10809 GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
10810 GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
10811 GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
10812 GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
10813 GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
10814 GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
10815 #endif /* GL_GLEXT_PROTOTYPES */
10816 typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
10817 typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
10818 typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
10819 typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
10820 typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
10821 typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
10822 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
10823 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
10824 typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
10825 typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
10826 typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
10827 typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
10828 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
10829 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
10830 #endif
10831
10832 #ifndef GL_NV_vertex_buffer_unified_memory
10833 #define GL_NV_vertex_buffer_unified_memory 1
10834 #ifdef GL_GLEXT_PROTOTYPES
10835 GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
10836 GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
10837 GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
10838 GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
10839 GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
10840 GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
10841 GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
10842 GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
10843 GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
10844 GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
10845 GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
10846 GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
10847 #endif /* GL_GLEXT_PROTOTYPES */
10848 typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
10849 typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
10850 typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
10851 typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
10852 typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
10853 typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
10854 typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
10855 typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
10856 typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
10857 typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
10858 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
10859 typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
10860 #endif
10861
10862 #ifndef GL_NV_texture_barrier
10863 #define GL_NV_texture_barrier 1
10864 #ifdef GL_GLEXT_PROTOTYPES
10865 GLAPI void APIENTRY glTextureBarrierNV (void);
10866 #endif /* GL_GLEXT_PROTOTYPES */
10867 typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
10868 #endif
10869
10870 #ifndef GL_AMD_shader_stencil_export
10871 #define GL_AMD_shader_stencil_export 1
10872 #endif
10873
10874 #ifndef GL_AMD_seamless_cubemap_per_texture
10875 #define GL_AMD_seamless_cubemap_per_texture 1
10876 #endif
10877
10878 #ifndef GL_AMD_conservative_depth
10879 #define GL_AMD_conservative_depth 1
10880 #endif
10881
10882 #ifndef GL_EXT_shader_image_load_store
10883 #define GL_EXT_shader_image_load_store 1
10884 #ifdef GL_GLEXT_PROTOTYPES
10885 GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
10886 GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
10887 #endif /* GL_GLEXT_PROTOTYPES */
10888 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
10889 typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
10890 #endif
10891
10892 #ifndef GL_EXT_vertex_attrib_64bit
10893 #define GL_EXT_vertex_attrib_64bit 1
10894 #ifdef GL_GLEXT_PROTOTYPES
10895 GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
10896 GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
10897 GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
10898 GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10899 GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
10900 GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
10901 GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
10902 GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
10903 GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
10904 GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
10905 GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
10906 #endif /* GL_GLEXT_PROTOTYPES */
10907 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
10908 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
10909 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
10910 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
10911 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
10912 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
10913 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
10914 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
10915 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
10916 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
10917 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
10918 #endif
10919
10920 #ifndef GL_NV_gpu_program5
10921 #define GL_NV_gpu_program5 1
10922 #ifdef GL_GLEXT_PROTOTYPES
10923 GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
10924 GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
10925 #endif /* GL_GLEXT_PROTOTYPES */
10926 typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
10927 typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
10928 #endif
10929
10930 #ifndef GL_NV_gpu_shader5
10931 #define GL_NV_gpu_shader5 1
10932 #ifdef GL_GLEXT_PROTOTYPES
10933 GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
10934 GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
10935 GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
10936 GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
10937 GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
10938 GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
10939 GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
10940 GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
10941 GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
10942 GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
10943 GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
10944 GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
10945 GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
10946 GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
10947 GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
10948 GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
10949 GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
10950 GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
10951 GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
10952 GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
10953 GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
10954 GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
10955 GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
10956 GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
10957 GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
10958 GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
10959 GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
10960 GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
10961 GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
10962 GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
10963 GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
10964 GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
10965 GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
10966 #endif /* GL_GLEXT_PROTOTYPES */
10967 typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
10968 typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
10969 typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
10970 typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
10971 typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
10972 typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
10973 typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
10974 typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
10975 typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
10976 typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
10977 typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
10978 typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
10979 typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
10980 typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
10981 typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
10982 typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
10983 typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
10984 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
10985 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
10986 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
10987 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
10988 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
10989 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
10990 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
10991 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
10992 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
10993 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
10994 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
10995 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
10996 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
10997 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
10998 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
10999 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
11000 #endif
11001
11002 #ifndef GL_NV_shader_buffer_store
11003 #define GL_NV_shader_buffer_store 1
11004 #endif
11005
11006 #ifndef GL_NV_tessellation_program5
11007 #define GL_NV_tessellation_program5 1
11008 #endif
11009
11010 #ifndef GL_NV_vertex_attrib_integer_64bit
11011 #define GL_NV_vertex_attrib_integer_64bit 1
11012 #ifdef GL_GLEXT_PROTOTYPES
11013 GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
11014 GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
11015 GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
11016 GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
11017 GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
11018 GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
11019 GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
11020 GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
11021 GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
11022 GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
11023 GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
11024 GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
11025 GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
11026 GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
11027 GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
11028 GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
11029 GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
11030 GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
11031 GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
11032 #endif /* GL_GLEXT_PROTOTYPES */
11033 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
11034 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
11035 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
11036 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
11037 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
11038 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
11039 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
11040 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
11041 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
11042 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
11043 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
11044 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
11045 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
11046 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
11047 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
11048 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
11049 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
11050 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
11051 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
11052 #endif
11053
11054 #ifndef GL_NV_multisample_coverage
11055 #define GL_NV_multisample_coverage 1
11056 #endif
11057
11058 #ifndef GL_AMD_name_gen_delete
11059 #define GL_AMD_name_gen_delete 1
11060 #ifdef GL_GLEXT_PROTOTYPES
11061 GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
11062 GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
11063 GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
11064 #endif /* GL_GLEXT_PROTOTYPES */
11065 typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
11066 typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
11067 typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
11068 #endif
11069
11070 #ifndef GL_AMD_debug_output
11071 #define GL_AMD_debug_output 1
11072 #ifdef GL_GLEXT_PROTOTYPES
11073 GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
11074 GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
11075 GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, GLvoid *userParam);
11076 GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
11077 #endif /* GL_GLEXT_PROTOTYPES */
11078 typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
11079 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
11080 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, GLvoid *userParam);
11081 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
11082 #endif
11083
11084 #ifndef GL_NV_vdpau_interop
11085 #define GL_NV_vdpau_interop 1
11086 #ifdef GL_GLEXT_PROTOTYPES
11087 GLAPI void APIENTRY glVDPAUInitNV (const GLvoid *vdpDevice, const GLvoid *getProcAddress);
11088 GLAPI void APIENTRY glVDPAUFiniNV (void);
11089 GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
11090 GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
11091 GLAPI void APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
11092 GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
11093 GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
11094 GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
11095 GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
11096 GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
11097 #endif /* GL_GLEXT_PROTOTYPES */
11098 typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const GLvoid *vdpDevice, const GLvoid *getProcAddress);
11099 typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
11100 typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
11101 typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
11102 typedef void (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
11103 typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
11104 typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
11105 typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
11106 typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
11107 typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
11108 #endif
11109
11110 #ifndef GL_AMD_transform_feedback3_lines_triangles
11111 #define GL_AMD_transform_feedback3_lines_triangles 1
11112 #endif
11113
11114
11115 #ifdef __cplusplus
11116 }
11117 #endif
11118
11119 #endif
11120 #endif /* NO_SDL_GLEXT */
11121
11122 #endif /* !__IPHONEOS__ */
11123
11124 #endif /* _SDL_opengl_h */
11125
11126 /* vi: set ts=4 sw=4 expandtab: */