Cafu Engine
glext.h
1 #ifndef __glext_h_
2 #define __glext_h_
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 /*
9 ** License Applicability. Except to the extent portions of this file are
10 ** made subject to an alternative license as permitted in the SGI Free
11 ** Software License B, Version 1.1 (the "License"), the contents of this
12 ** file are subject only to the provisions of the License. You may not use
13 ** this file except in compliance with the License. You may obtain a copy
14 ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
15 ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
16 **
17 ** http://oss.sgi.com/projects/FreeB
18 **
19 ** Note that, as provided in the License, the Software is distributed on an
20 ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
21 ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
22 ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
23 ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
24 **
25 ** Original Code. The Original Code is: OpenGL Sample Implementation,
26 ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
27 ** Inc. The Original Code is Copyright (c) 1991-2004 Silicon Graphics, Inc.
28 ** Copyright in any portions created by third parties is as indicated
29 ** elsewhere herein. All Rights Reserved.
30 **
31 ** Additional Notice Provisions: This software was created using the
32 ** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
33 ** not been independently verified as being compliant with the OpenGL(R)
34 ** version 1.2.1 Specification.
35 */
36 
37 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
38 #define WIN32_LEAN_AND_MEAN 1
39 #include <windows.h>
40 #endif
41 
42 #ifndef APIENTRY
43 #define APIENTRY
44 #endif
45 #ifndef APIENTRYP
46 #define APIENTRYP APIENTRY *
47 #endif
48 #ifndef GLAPI
49 #define GLAPI extern
50 #endif
51 
52 /*************************************************************/
53 
54 /* Header file version number, required by OpenGL ABI for Linux */
55 /* glext.h last updated 2004/7/26 */
56 /* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */
57 #define GL_GLEXT_VERSION 24
58 
59 #ifndef GL_VERSION_1_2
60 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
61 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
62 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
63 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
64 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
65 #define GL_RESCALE_NORMAL 0x803A
66 #define GL_TEXTURE_BINDING_3D 0x806A
67 #define GL_PACK_SKIP_IMAGES 0x806B
68 #define GL_PACK_IMAGE_HEIGHT 0x806C
69 #define GL_UNPACK_SKIP_IMAGES 0x806D
70 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
71 #define GL_TEXTURE_3D 0x806F
72 #define GL_PROXY_TEXTURE_3D 0x8070
73 #define GL_TEXTURE_DEPTH 0x8071
74 #define GL_TEXTURE_WRAP_R 0x8072
75 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
76 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
77 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
78 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
79 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
80 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
81 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
82 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
83 #define GL_BGR 0x80E0
84 #define GL_BGRA 0x80E1
85 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
86 #define GL_MAX_ELEMENTS_INDICES 0x80E9
87 #define GL_CLAMP_TO_EDGE 0x812F
88 #define GL_TEXTURE_MIN_LOD 0x813A
89 #define GL_TEXTURE_MAX_LOD 0x813B
90 #define GL_TEXTURE_BASE_LEVEL 0x813C
91 #define GL_TEXTURE_MAX_LEVEL 0x813D
92 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
93 #define GL_SINGLE_COLOR 0x81F9
94 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
95 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
96 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
97 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
98 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
99 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
100 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
101 #endif
102 
103 #ifndef GL_ARB_imaging
104 #define GL_CONSTANT_COLOR 0x8001
105 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
106 #define GL_CONSTANT_ALPHA 0x8003
107 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
108 #define GL_BLEND_COLOR 0x8005
109 #define GL_FUNC_ADD 0x8006
110 #define GL_MIN 0x8007
111 #define GL_MAX 0x8008
112 #define GL_BLEND_EQUATION 0x8009
113 #define GL_FUNC_SUBTRACT 0x800A
114 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
115 #define GL_CONVOLUTION_1D 0x8010
116 #define GL_CONVOLUTION_2D 0x8011
117 #define GL_SEPARABLE_2D 0x8012
118 #define GL_CONVOLUTION_BORDER_MODE 0x8013
119 #define GL_CONVOLUTION_FILTER_SCALE 0x8014
120 #define GL_CONVOLUTION_FILTER_BIAS 0x8015
121 #define GL_REDUCE 0x8016
122 #define GL_CONVOLUTION_FORMAT 0x8017
123 #define GL_CONVOLUTION_WIDTH 0x8018
124 #define GL_CONVOLUTION_HEIGHT 0x8019
125 #define GL_MAX_CONVOLUTION_WIDTH 0x801A
126 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
127 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
128 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
129 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
130 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
131 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
132 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
133 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
134 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
135 #define GL_HISTOGRAM 0x8024
136 #define GL_PROXY_HISTOGRAM 0x8025
137 #define GL_HISTOGRAM_WIDTH 0x8026
138 #define GL_HISTOGRAM_FORMAT 0x8027
139 #define GL_HISTOGRAM_RED_SIZE 0x8028
140 #define GL_HISTOGRAM_GREEN_SIZE 0x8029
141 #define GL_HISTOGRAM_BLUE_SIZE 0x802A
142 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
143 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
144 #define GL_HISTOGRAM_SINK 0x802D
145 #define GL_MINMAX 0x802E
146 #define GL_MINMAX_FORMAT 0x802F
147 #define GL_MINMAX_SINK 0x8030
148 #define GL_TABLE_TOO_LARGE 0x8031
149 #define GL_COLOR_MATRIX 0x80B1
150 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
151 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
152 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
153 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
154 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
155 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
156 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
157 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
158 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
159 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
160 #define GL_COLOR_TABLE 0x80D0
161 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
162 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
163 #define GL_PROXY_COLOR_TABLE 0x80D3
164 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
165 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
166 #define GL_COLOR_TABLE_SCALE 0x80D6
167 #define GL_COLOR_TABLE_BIAS 0x80D7
168 #define GL_COLOR_TABLE_FORMAT 0x80D8
169 #define GL_COLOR_TABLE_WIDTH 0x80D9
170 #define GL_COLOR_TABLE_RED_SIZE 0x80DA
171 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
172 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
173 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
174 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
175 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
176 #define GL_CONSTANT_BORDER 0x8151
177 #define GL_REPLICATE_BORDER 0x8153
178 #define GL_CONVOLUTION_BORDER_COLOR 0x8154
179 #endif
180 
181 #ifndef GL_VERSION_1_3
182 #define GL_TEXTURE0 0x84C0
183 #define GL_TEXTURE1 0x84C1
184 #define GL_TEXTURE2 0x84C2
185 #define GL_TEXTURE3 0x84C3
186 #define GL_TEXTURE4 0x84C4
187 #define GL_TEXTURE5 0x84C5
188 #define GL_TEXTURE6 0x84C6
189 #define GL_TEXTURE7 0x84C7
190 #define GL_TEXTURE8 0x84C8
191 #define GL_TEXTURE9 0x84C9
192 #define GL_TEXTURE10 0x84CA
193 #define GL_TEXTURE11 0x84CB
194 #define GL_TEXTURE12 0x84CC
195 #define GL_TEXTURE13 0x84CD
196 #define GL_TEXTURE14 0x84CE
197 #define GL_TEXTURE15 0x84CF
198 #define GL_TEXTURE16 0x84D0
199 #define GL_TEXTURE17 0x84D1
200 #define GL_TEXTURE18 0x84D2
201 #define GL_TEXTURE19 0x84D3
202 #define GL_TEXTURE20 0x84D4
203 #define GL_TEXTURE21 0x84D5
204 #define GL_TEXTURE22 0x84D6
205 #define GL_TEXTURE23 0x84D7
206 #define GL_TEXTURE24 0x84D8
207 #define GL_TEXTURE25 0x84D9
208 #define GL_TEXTURE26 0x84DA
209 #define GL_TEXTURE27 0x84DB
210 #define GL_TEXTURE28 0x84DC
211 #define GL_TEXTURE29 0x84DD
212 #define GL_TEXTURE30 0x84DE
213 #define GL_TEXTURE31 0x84DF
214 #define GL_ACTIVE_TEXTURE 0x84E0
215 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
216 #define GL_MAX_TEXTURE_UNITS 0x84E2
217 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
218 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
219 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
220 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
221 #define GL_MULTISAMPLE 0x809D
222 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
223 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
224 #define GL_SAMPLE_COVERAGE 0x80A0
225 #define GL_SAMPLE_BUFFERS 0x80A8
226 #define GL_SAMPLES 0x80A9
227 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
228 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
229 #define GL_MULTISAMPLE_BIT 0x20000000
230 #define GL_NORMAL_MAP 0x8511
231 #define GL_REFLECTION_MAP 0x8512
232 #define GL_TEXTURE_CUBE_MAP 0x8513
233 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
234 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
235 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
236 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
237 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
238 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
239 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
240 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
241 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
242 #define GL_COMPRESSED_ALPHA 0x84E9
243 #define GL_COMPRESSED_LUMINANCE 0x84EA
244 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
245 #define GL_COMPRESSED_INTENSITY 0x84EC
246 #define GL_COMPRESSED_RGB 0x84ED
247 #define GL_COMPRESSED_RGBA 0x84EE
248 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
249 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
250 #define GL_TEXTURE_COMPRESSED 0x86A1
251 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
252 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
253 #define GL_CLAMP_TO_BORDER 0x812D
254 #define GL_COMBINE 0x8570
255 #define GL_COMBINE_RGB 0x8571
256 #define GL_COMBINE_ALPHA 0x8572
257 #define GL_SOURCE0_RGB 0x8580
258 #define GL_SOURCE1_RGB 0x8581
259 #define GL_SOURCE2_RGB 0x8582
260 #define GL_SOURCE0_ALPHA 0x8588
261 #define GL_SOURCE1_ALPHA 0x8589
262 #define GL_SOURCE2_ALPHA 0x858A
263 #define GL_OPERAND0_RGB 0x8590
264 #define GL_OPERAND1_RGB 0x8591
265 #define GL_OPERAND2_RGB 0x8592
266 #define GL_OPERAND0_ALPHA 0x8598
267 #define GL_OPERAND1_ALPHA 0x8599
268 #define GL_OPERAND2_ALPHA 0x859A
269 #define GL_RGB_SCALE 0x8573
270 #define GL_ADD_SIGNED 0x8574
271 #define GL_INTERPOLATE 0x8575
272 #define GL_SUBTRACT 0x84E7
273 #define GL_CONSTANT 0x8576
274 #define GL_PRIMARY_COLOR 0x8577
275 #define GL_PREVIOUS 0x8578
276 #define GL_DOT3_RGB 0x86AE
277 #define GL_DOT3_RGBA 0x86AF
278 #endif
279 
280 #ifndef GL_VERSION_1_4
281 #define GL_BLEND_DST_RGB 0x80C8
282 #define GL_BLEND_SRC_RGB 0x80C9
283 #define GL_BLEND_DST_ALPHA 0x80CA
284 #define GL_BLEND_SRC_ALPHA 0x80CB
285 #define GL_POINT_SIZE_MIN 0x8126
286 #define GL_POINT_SIZE_MAX 0x8127
287 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
288 #define GL_POINT_DISTANCE_ATTENUATION 0x8129
289 #define GL_GENERATE_MIPMAP 0x8191
290 #define GL_GENERATE_MIPMAP_HINT 0x8192
291 #define GL_DEPTH_COMPONENT16 0x81A5
292 #define GL_DEPTH_COMPONENT24 0x81A6
293 #define GL_DEPTH_COMPONENT32 0x81A7
294 #define GL_MIRRORED_REPEAT 0x8370
295 #define GL_FOG_COORDINATE_SOURCE 0x8450
296 #define GL_FOG_COORDINATE 0x8451
297 #define GL_FRAGMENT_DEPTH 0x8452
298 #define GL_CURRENT_FOG_COORDINATE 0x8453
299 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
300 #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
301 #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
302 #define GL_FOG_COORDINATE_ARRAY 0x8457
303 #define GL_COLOR_SUM 0x8458
304 #define GL_CURRENT_SECONDARY_COLOR 0x8459
305 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
306 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
307 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
308 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
309 #define GL_SECONDARY_COLOR_ARRAY 0x845E
310 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
311 #define GL_TEXTURE_FILTER_CONTROL 0x8500
312 #define GL_TEXTURE_LOD_BIAS 0x8501
313 #define GL_INCR_WRAP 0x8507
314 #define GL_DECR_WRAP 0x8508
315 #define GL_TEXTURE_DEPTH_SIZE 0x884A
316 #define GL_DEPTH_TEXTURE_MODE 0x884B
317 #define GL_TEXTURE_COMPARE_MODE 0x884C
318 #define GL_TEXTURE_COMPARE_FUNC 0x884D
319 #define GL_COMPARE_R_TO_TEXTURE 0x884E
320 #endif
321 
322 #ifndef GL_VERSION_1_5
323 #define GL_BUFFER_SIZE 0x8764
324 #define GL_BUFFER_USAGE 0x8765
325 #define GL_QUERY_COUNTER_BITS 0x8864
326 #define GL_CURRENT_QUERY 0x8865
327 #define GL_QUERY_RESULT 0x8866
328 #define GL_QUERY_RESULT_AVAILABLE 0x8867
329 #define GL_ARRAY_BUFFER 0x8892
330 #define GL_ELEMENT_ARRAY_BUFFER 0x8893
331 #define GL_ARRAY_BUFFER_BINDING 0x8894
332 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
333 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
334 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
335 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
336 #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
337 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
338 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
339 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
340 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
341 #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
342 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
343 #define GL_READ_ONLY 0x88B8
344 #define GL_WRITE_ONLY 0x88B9
345 #define GL_READ_WRITE 0x88BA
346 #define GL_BUFFER_ACCESS 0x88BB
347 #define GL_BUFFER_MAPPED 0x88BC
348 #define GL_BUFFER_MAP_POINTER 0x88BD
349 #define GL_STREAM_DRAW 0x88E0
350 #define GL_STREAM_READ 0x88E1
351 #define GL_STREAM_COPY 0x88E2
352 #define GL_STATIC_DRAW 0x88E4
353 #define GL_STATIC_READ 0x88E5
354 #define GL_STATIC_COPY 0x88E6
355 #define GL_DYNAMIC_DRAW 0x88E8
356 #define GL_DYNAMIC_READ 0x88E9
357 #define GL_DYNAMIC_COPY 0x88EA
358 #define GL_SAMPLES_PASSED 0x8914
359 #define GL_FOG_COORD_SRC GL_FOG_COORDINATE_SOURCE
360 #define GL_FOG_COORD GL_FOG_COORDINATE
361 #define GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE
362 #define GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE
363 #define GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE
364 #define GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER
365 #define GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY
366 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
367 #define GL_SRC0_RGB GL_SOURCE0_RGB
368 #define GL_SRC1_RGB GL_SOURCE1_RGB
369 #define GL_SRC2_RGB GL_SOURCE2_RGB
370 #define GL_SRC0_ALPHA GL_SOURCE0_ALPHA
371 #define GL_SRC1_ALPHA GL_SOURCE1_ALPHA
372 #define GL_SRC2_ALPHA GL_SOURCE2_ALPHA
373 #endif
374 
375 #ifndef GL_ARB_multitexture
376 #define GL_TEXTURE0_ARB 0x84C0
377 #define GL_TEXTURE1_ARB 0x84C1
378 #define GL_TEXTURE2_ARB 0x84C2
379 #define GL_TEXTURE3_ARB 0x84C3
380 #define GL_TEXTURE4_ARB 0x84C4
381 #define GL_TEXTURE5_ARB 0x84C5
382 #define GL_TEXTURE6_ARB 0x84C6
383 #define GL_TEXTURE7_ARB 0x84C7
384 #define GL_TEXTURE8_ARB 0x84C8
385 #define GL_TEXTURE9_ARB 0x84C9
386 #define GL_TEXTURE10_ARB 0x84CA
387 #define GL_TEXTURE11_ARB 0x84CB
388 #define GL_TEXTURE12_ARB 0x84CC
389 #define GL_TEXTURE13_ARB 0x84CD
390 #define GL_TEXTURE14_ARB 0x84CE
391 #define GL_TEXTURE15_ARB 0x84CF
392 #define GL_TEXTURE16_ARB 0x84D0
393 #define GL_TEXTURE17_ARB 0x84D1
394 #define GL_TEXTURE18_ARB 0x84D2
395 #define GL_TEXTURE19_ARB 0x84D3
396 #define GL_TEXTURE20_ARB 0x84D4
397 #define GL_TEXTURE21_ARB 0x84D5
398 #define GL_TEXTURE22_ARB 0x84D6
399 #define GL_TEXTURE23_ARB 0x84D7
400 #define GL_TEXTURE24_ARB 0x84D8
401 #define GL_TEXTURE25_ARB 0x84D9
402 #define GL_TEXTURE26_ARB 0x84DA
403 #define GL_TEXTURE27_ARB 0x84DB
404 #define GL_TEXTURE28_ARB 0x84DC
405 #define GL_TEXTURE29_ARB 0x84DD
406 #define GL_TEXTURE30_ARB 0x84DE
407 #define GL_TEXTURE31_ARB 0x84DF
408 #define GL_ACTIVE_TEXTURE_ARB 0x84E0
409 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
410 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
411 #endif
412 
413 #ifndef GL_ARB_transpose_matrix
414 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
415 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
416 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
417 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
418 #endif
419 
420 #ifndef GL_ARB_multisample
421 #define GL_MULTISAMPLE_ARB 0x809D
422 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
423 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
424 #define GL_SAMPLE_COVERAGE_ARB 0x80A0
425 #define GL_SAMPLE_BUFFERS_ARB 0x80A8
426 #define GL_SAMPLES_ARB 0x80A9
427 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
428 #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
429 #define GL_MULTISAMPLE_BIT_ARB 0x20000000
430 #endif
431 
432 #ifndef GL_ARB_texture_env_add
433 #endif
434 
435 #ifndef GL_ARB_texture_cube_map
436 #define GL_NORMAL_MAP_ARB 0x8511
437 #define GL_REFLECTION_MAP_ARB 0x8512
438 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
439 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
440 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
441 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
442 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
443 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
444 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
445 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
446 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
447 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
448 #endif
449 
450 #ifndef GL_ARB_texture_compression
451 #define GL_COMPRESSED_ALPHA_ARB 0x84E9
452 #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
453 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
454 #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
455 #define GL_COMPRESSED_RGB_ARB 0x84ED
456 #define GL_COMPRESSED_RGBA_ARB 0x84EE
457 #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
458 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
459 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
460 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
461 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
462 #endif
463 
464 #ifndef GL_ARB_texture_border_clamp
465 #define GL_CLAMP_TO_BORDER_ARB 0x812D
466 #endif
467 
468 #ifndef GL_ARB_point_parameters
469 #define GL_POINT_SIZE_MIN_ARB 0x8126
470 #define GL_POINT_SIZE_MAX_ARB 0x8127
471 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
472 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
473 #endif
474 
475 #ifndef GL_ARB_vertex_blend
476 #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
477 #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
478 #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
479 #define GL_VERTEX_BLEND_ARB 0x86A7
480 #define GL_CURRENT_WEIGHT_ARB 0x86A8
481 #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
482 #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
483 #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
484 #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
485 #define GL_WEIGHT_ARRAY_ARB 0x86AD
486 #define GL_MODELVIEW0_ARB 0x1700
487 #define GL_MODELVIEW1_ARB 0x850A
488 #define GL_MODELVIEW2_ARB 0x8722
489 #define GL_MODELVIEW3_ARB 0x8723
490 #define GL_MODELVIEW4_ARB 0x8724
491 #define GL_MODELVIEW5_ARB 0x8725
492 #define GL_MODELVIEW6_ARB 0x8726
493 #define GL_MODELVIEW7_ARB 0x8727
494 #define GL_MODELVIEW8_ARB 0x8728
495 #define GL_MODELVIEW9_ARB 0x8729
496 #define GL_MODELVIEW10_ARB 0x872A
497 #define GL_MODELVIEW11_ARB 0x872B
498 #define GL_MODELVIEW12_ARB 0x872C
499 #define GL_MODELVIEW13_ARB 0x872D
500 #define GL_MODELVIEW14_ARB 0x872E
501 #define GL_MODELVIEW15_ARB 0x872F
502 #define GL_MODELVIEW16_ARB 0x8730
503 #define GL_MODELVIEW17_ARB 0x8731
504 #define GL_MODELVIEW18_ARB 0x8732
505 #define GL_MODELVIEW19_ARB 0x8733
506 #define GL_MODELVIEW20_ARB 0x8734
507 #define GL_MODELVIEW21_ARB 0x8735
508 #define GL_MODELVIEW22_ARB 0x8736
509 #define GL_MODELVIEW23_ARB 0x8737
510 #define GL_MODELVIEW24_ARB 0x8738
511 #define GL_MODELVIEW25_ARB 0x8739
512 #define GL_MODELVIEW26_ARB 0x873A
513 #define GL_MODELVIEW27_ARB 0x873B
514 #define GL_MODELVIEW28_ARB 0x873C
515 #define GL_MODELVIEW29_ARB 0x873D
516 #define GL_MODELVIEW30_ARB 0x873E
517 #define GL_MODELVIEW31_ARB 0x873F
518 #endif
519 
520 #ifndef GL_ARB_matrix_palette
521 #define GL_MATRIX_PALETTE_ARB 0x8840
522 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
523 #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
524 #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
525 #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
526 #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
527 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
528 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
529 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
530 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
531 #endif
532 
533 #ifndef GL_ARB_texture_env_combine
534 #define GL_COMBINE_ARB 0x8570
535 #define GL_COMBINE_RGB_ARB 0x8571
536 #define GL_COMBINE_ALPHA_ARB 0x8572
537 #define GL_SOURCE0_RGB_ARB 0x8580
538 #define GL_SOURCE1_RGB_ARB 0x8581
539 #define GL_SOURCE2_RGB_ARB 0x8582
540 #define GL_SOURCE0_ALPHA_ARB 0x8588
541 #define GL_SOURCE1_ALPHA_ARB 0x8589
542 #define GL_SOURCE2_ALPHA_ARB 0x858A
543 #define GL_OPERAND0_RGB_ARB 0x8590
544 #define GL_OPERAND1_RGB_ARB 0x8591
545 #define GL_OPERAND2_RGB_ARB 0x8592
546 #define GL_OPERAND0_ALPHA_ARB 0x8598
547 #define GL_OPERAND1_ALPHA_ARB 0x8599
548 #define GL_OPERAND2_ALPHA_ARB 0x859A
549 #define GL_RGB_SCALE_ARB 0x8573
550 #define GL_ADD_SIGNED_ARB 0x8574
551 #define GL_INTERPOLATE_ARB 0x8575
552 #define GL_SUBTRACT_ARB 0x84E7
553 #define GL_CONSTANT_ARB 0x8576
554 #define GL_PRIMARY_COLOR_ARB 0x8577
555 #define GL_PREVIOUS_ARB 0x8578
556 #endif
557 
558 #ifndef GL_ARB_texture_env_crossbar
559 #endif
560 
561 #ifndef GL_ARB_texture_env_dot3
562 #define GL_DOT3_RGB_ARB 0x86AE
563 #define GL_DOT3_RGBA_ARB 0x86AF
564 #endif
565 
566 #ifndef GL_ARB_texture_mirrored_repeat
567 #define GL_MIRRORED_REPEAT_ARB 0x8370
568 #endif
569 
570 #ifndef GL_ARB_depth_texture
571 #define GL_DEPTH_COMPONENT16_ARB 0x81A5
572 #define GL_DEPTH_COMPONENT24_ARB 0x81A6
573 #define GL_DEPTH_COMPONENT32_ARB 0x81A7
574 #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
575 #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
576 #endif
577 
578 #ifndef GL_ARB_shadow
579 #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
580 #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
581 #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
582 #endif
583 
584 #ifndef GL_ARB_shadow_ambient
585 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
586 #endif
587 
588 #ifndef GL_ARB_window_pos
589 #endif
590 
591 #ifndef GL_ARB_vertex_program
592 #define GL_COLOR_SUM_ARB 0x8458
593 #define GL_VERTEX_PROGRAM_ARB 0x8620
594 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
595 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
596 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
597 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
598 #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
599 #define GL_PROGRAM_LENGTH_ARB 0x8627
600 #define GL_PROGRAM_STRING_ARB 0x8628
601 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
602 #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
603 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
604 #define GL_CURRENT_MATRIX_ARB 0x8641
605 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
606 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
607 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
608 #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
609 #define GL_PROGRAM_BINDING_ARB 0x8677
610 #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
611 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
612 #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
613 #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
614 #define GL_PROGRAM_FORMAT_ARB 0x8876
615 #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
616 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
617 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
618 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
619 #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
620 #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
621 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
622 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
623 #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
624 #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
625 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
626 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
627 #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
628 #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
629 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
630 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
631 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
632 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
633 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
634 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
635 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
636 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
637 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
638 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
639 #define GL_MATRIX0_ARB 0x88C0
640 #define GL_MATRIX1_ARB 0x88C1
641 #define GL_MATRIX2_ARB 0x88C2
642 #define GL_MATRIX3_ARB 0x88C3
643 #define GL_MATRIX4_ARB 0x88C4
644 #define GL_MATRIX5_ARB 0x88C5
645 #define GL_MATRIX6_ARB 0x88C6
646 #define GL_MATRIX7_ARB 0x88C7
647 #define GL_MATRIX8_ARB 0x88C8
648 #define GL_MATRIX9_ARB 0x88C9
649 #define GL_MATRIX10_ARB 0x88CA
650 #define GL_MATRIX11_ARB 0x88CB
651 #define GL_MATRIX12_ARB 0x88CC
652 #define GL_MATRIX13_ARB 0x88CD
653 #define GL_MATRIX14_ARB 0x88CE
654 #define GL_MATRIX15_ARB 0x88CF
655 #define GL_MATRIX16_ARB 0x88D0
656 #define GL_MATRIX17_ARB 0x88D1
657 #define GL_MATRIX18_ARB 0x88D2
658 #define GL_MATRIX19_ARB 0x88D3
659 #define GL_MATRIX20_ARB 0x88D4
660 #define GL_MATRIX21_ARB 0x88D5
661 #define GL_MATRIX22_ARB 0x88D6
662 #define GL_MATRIX23_ARB 0x88D7
663 #define GL_MATRIX24_ARB 0x88D8
664 #define GL_MATRIX25_ARB 0x88D9
665 #define GL_MATRIX26_ARB 0x88DA
666 #define GL_MATRIX27_ARB 0x88DB
667 #define GL_MATRIX28_ARB 0x88DC
668 #define GL_MATRIX29_ARB 0x88DD
669 #define GL_MATRIX30_ARB 0x88DE
670 #define GL_MATRIX31_ARB 0x88DF
671 #endif
672 
673 #ifndef GL_ARB_fragment_program
674 #define GL_FRAGMENT_PROGRAM_ARB 0x8804
675 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
676 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
677 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
678 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
679 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
680 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
681 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
682 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
683 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
684 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
685 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
686 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
687 #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
688 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
689 #endif
690 
691 #ifndef GL_ARB_vertex_buffer_object
692 #define GL_BUFFER_SIZE_ARB 0x8764
693 #define GL_BUFFER_USAGE_ARB 0x8765
694 #define GL_ARRAY_BUFFER_ARB 0x8892
695 #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
696 #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
697 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
698 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
699 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
700 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
701 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
702 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
703 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
704 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
705 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
706 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
707 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
708 #define GL_READ_ONLY_ARB 0x88B8
709 #define GL_WRITE_ONLY_ARB 0x88B9
710 #define GL_READ_WRITE_ARB 0x88BA
711 #define GL_BUFFER_ACCESS_ARB 0x88BB
712 #define GL_BUFFER_MAPPED_ARB 0x88BC
713 #define GL_BUFFER_MAP_POINTER_ARB 0x88BD
714 #define GL_STREAM_DRAW_ARB 0x88E0
715 #define GL_STREAM_READ_ARB 0x88E1
716 #define GL_STREAM_COPY_ARB 0x88E2
717 #define GL_STATIC_DRAW_ARB 0x88E4
718 #define GL_STATIC_READ_ARB 0x88E5
719 #define GL_STATIC_COPY_ARB 0x88E6
720 #define GL_DYNAMIC_DRAW_ARB 0x88E8
721 #define GL_DYNAMIC_READ_ARB 0x88E9
722 #define GL_DYNAMIC_COPY_ARB 0x88EA
723 #endif
724 
725 #ifndef GL_ARB_occlusion_query
726 #define GL_QUERY_COUNTER_BITS_ARB 0x8864
727 #define GL_CURRENT_QUERY_ARB 0x8865
728 #define GL_QUERY_RESULT_ARB 0x8866
729 #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
730 #define GL_SAMPLES_PASSED_ARB 0x8914
731 #endif
732 
733 #ifndef GL_ARB_shader_objects
734 #define GL_PROGRAM_OBJECT_ARB 0x8B40
735 #define GL_SHADER_OBJECT_ARB 0x8B48
736 #define GL_OBJECT_TYPE_ARB 0x8B4E
737 #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
738 #define GL_FLOAT_VEC2_ARB 0x8B50
739 #define GL_FLOAT_VEC3_ARB 0x8B51
740 #define GL_FLOAT_VEC4_ARB 0x8B52
741 #define GL_INT_VEC2_ARB 0x8B53
742 #define GL_INT_VEC3_ARB 0x8B54
743 #define GL_INT_VEC4_ARB 0x8B55
744 #define GL_BOOL_ARB 0x8B56
745 #define GL_BOOL_VEC2_ARB 0x8B57
746 #define GL_BOOL_VEC3_ARB 0x8B58
747 #define GL_BOOL_VEC4_ARB 0x8B59
748 #define GL_FLOAT_MAT2_ARB 0x8B5A
749 #define GL_FLOAT_MAT3_ARB 0x8B5B
750 #define GL_FLOAT_MAT4_ARB 0x8B5C
751 #define GL_SAMPLER_1D_ARB 0x8B5D
752 #define GL_SAMPLER_2D_ARB 0x8B5E
753 #define GL_SAMPLER_3D_ARB 0x8B5F
754 #define GL_SAMPLER_CUBE_ARB 0x8B60
755 #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
756 #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
757 #define GL_SAMPLER_2D_RECT_ARB 0x8B63
758 #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
759 #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
760 #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
761 #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
762 #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
763 #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
764 #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
765 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
766 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
767 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
768 #endif
769 
770 #ifndef GL_ARB_vertex_shader
771 #define GL_VERTEX_SHADER_ARB 0x8B31
772 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
773 #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
774 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
775 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
776 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
777 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
778 #endif
779 
780 #ifndef GL_ARB_fragment_shader
781 #define GL_FRAGMENT_SHADER_ARB 0x8B30
782 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
783 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
784 #endif
785 
786 #ifndef GL_ARB_shading_language_100
787 #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
788 #endif
789 
790 #ifndef GL_ARB_texture_non_power_of_two
791 #endif
792 
793 #ifndef GL_ARB_point_sprite
794 #define GL_POINT_SPRITE_ARB 0x8861
795 #define GL_COORD_REPLACE_ARB 0x8862
796 #endif
797 
798 #ifndef GL_ARB_fragment_program_shadow
799 #endif
800 
801 #ifndef GL_ARB_draw_buffers
802 #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
803 #define GL_DRAW_BUFFER0_ARB 0x8825
804 #define GL_DRAW_BUFFER1_ARB 0x8826
805 #define GL_DRAW_BUFFER2_ARB 0x8827
806 #define GL_DRAW_BUFFER3_ARB 0x8828
807 #define GL_DRAW_BUFFER4_ARB 0x8829
808 #define GL_DRAW_BUFFER5_ARB 0x882A
809 #define GL_DRAW_BUFFER6_ARB 0x882B
810 #define GL_DRAW_BUFFER7_ARB 0x882C
811 #define GL_DRAW_BUFFER8_ARB 0x882D
812 #define GL_DRAW_BUFFER9_ARB 0x882E
813 #define GL_DRAW_BUFFER10_ARB 0x882F
814 #define GL_DRAW_BUFFER11_ARB 0x8830
815 #define GL_DRAW_BUFFER12_ARB 0x8831
816 #define GL_DRAW_BUFFER13_ARB 0x8832
817 #define GL_DRAW_BUFFER14_ARB 0x8833
818 #define GL_DRAW_BUFFER15_ARB 0x8834
819 #endif
820 
821 #ifndef GL_ARB_texture_rectangle
822 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
823 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
824 #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
825 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
826 #endif
827 
828 #ifndef GL_EXT_abgr
829 #define GL_ABGR_EXT 0x8000
830 #endif
831 
832 #ifndef GL_EXT_blend_color
833 #define GL_CONSTANT_COLOR_EXT 0x8001
834 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
835 #define GL_CONSTANT_ALPHA_EXT 0x8003
836 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
837 #define GL_BLEND_COLOR_EXT 0x8005
838 #endif
839 
840 #ifndef GL_EXT_polygon_offset
841 #define GL_POLYGON_OFFSET_EXT 0x8037
842 #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
843 #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
844 #endif
845 
846 #ifndef GL_EXT_texture
847 #define GL_ALPHA4_EXT 0x803B
848 #define GL_ALPHA8_EXT 0x803C
849 #define GL_ALPHA12_EXT 0x803D
850 #define GL_ALPHA16_EXT 0x803E
851 #define GL_LUMINANCE4_EXT 0x803F
852 #define GL_LUMINANCE8_EXT 0x8040
853 #define GL_LUMINANCE12_EXT 0x8041
854 #define GL_LUMINANCE16_EXT 0x8042
855 #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
856 #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
857 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
858 #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
859 #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
860 #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
861 #define GL_INTENSITY_EXT 0x8049
862 #define GL_INTENSITY4_EXT 0x804A
863 #define GL_INTENSITY8_EXT 0x804B
864 #define GL_INTENSITY12_EXT 0x804C
865 #define GL_INTENSITY16_EXT 0x804D
866 #define GL_RGB2_EXT 0x804E
867 #define GL_RGB4_EXT 0x804F
868 #define GL_RGB5_EXT 0x8050
869 #define GL_RGB8_EXT 0x8051
870 #define GL_RGB10_EXT 0x8052
871 #define GL_RGB12_EXT 0x8053
872 #define GL_RGB16_EXT 0x8054
873 #define GL_RGBA2_EXT 0x8055
874 #define GL_RGBA4_EXT 0x8056
875 #define GL_RGB5_A1_EXT 0x8057
876 #define GL_RGBA8_EXT 0x8058
877 #define GL_RGB10_A2_EXT 0x8059
878 #define GL_RGBA12_EXT 0x805A
879 #define GL_RGBA16_EXT 0x805B
880 #define GL_TEXTURE_RED_SIZE_EXT 0x805C
881 #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
882 #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
883 #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
884 #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
885 #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
886 #define GL_REPLACE_EXT 0x8062
887 #define GL_PROXY_TEXTURE_1D_EXT 0x8063
888 #define GL_PROXY_TEXTURE_2D_EXT 0x8064
889 #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
890 #endif
891 
892 #ifndef GL_EXT_texture3D
893 #define GL_PACK_SKIP_IMAGES_EXT 0x806B
894 #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
895 #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
896 #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
897 #define GL_TEXTURE_3D_EXT 0x806F
898 #define GL_PROXY_TEXTURE_3D_EXT 0x8070
899 #define GL_TEXTURE_DEPTH_EXT 0x8071
900 #define GL_TEXTURE_WRAP_R_EXT 0x8072
901 #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
902 #endif
903 
904 #ifndef GL_SGIS_texture_filter4
905 #define GL_FILTER4_SGIS 0x8146
906 #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
907 #endif
908 
909 #ifndef GL_EXT_subtexture
910 #endif
911 
912 #ifndef GL_EXT_copy_texture
913 #endif
914 
915 #ifndef GL_EXT_histogram
916 #define GL_HISTOGRAM_EXT 0x8024
917 #define GL_PROXY_HISTOGRAM_EXT 0x8025
918 #define GL_HISTOGRAM_WIDTH_EXT 0x8026
919 #define GL_HISTOGRAM_FORMAT_EXT 0x8027
920 #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
921 #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
922 #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
923 #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
924 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
925 #define GL_HISTOGRAM_SINK_EXT 0x802D
926 #define GL_MINMAX_EXT 0x802E
927 #define GL_MINMAX_FORMAT_EXT 0x802F
928 #define GL_MINMAX_SINK_EXT 0x8030
929 #define GL_TABLE_TOO_LARGE_EXT 0x8031
930 #endif
931 
932 #ifndef GL_EXT_convolution
933 #define GL_CONVOLUTION_1D_EXT 0x8010
934 #define GL_CONVOLUTION_2D_EXT 0x8011
935 #define GL_SEPARABLE_2D_EXT 0x8012
936 #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
937 #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
938 #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
939 #define GL_REDUCE_EXT 0x8016
940 #define GL_CONVOLUTION_FORMAT_EXT 0x8017
941 #define GL_CONVOLUTION_WIDTH_EXT 0x8018
942 #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
943 #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
944 #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
945 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
946 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
947 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
948 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
949 #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
950 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
951 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
952 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
953 #endif
954 
955 #ifndef GL_SGI_color_matrix
956 #define GL_COLOR_MATRIX_SGI 0x80B1
957 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
958 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
959 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
960 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
961 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
962 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
963 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
964 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
965 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
966 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
967 #endif
968 
969 #ifndef GL_SGI_color_table
970 #define GL_COLOR_TABLE_SGI 0x80D0
971 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
972 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
973 #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
974 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
975 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
976 #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
977 #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
978 #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
979 #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
980 #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
981 #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
982 #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
983 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
984 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
985 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
986 #endif
987 
988 #ifndef GL_SGIS_pixel_texture
989 #define GL_PIXEL_TEXTURE_SGIS 0x8353
990 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
991 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
992 #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
993 #endif
994 
995 #ifndef GL_SGIX_pixel_texture
996 #define GL_PIXEL_TEX_GEN_SGIX 0x8139
997 #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
998 #endif
999 
1000 #ifndef GL_SGIS_texture4D
1001 #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
1002 #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
1003 #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
1004 #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
1005 #define GL_TEXTURE_4D_SGIS 0x8134
1006 #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
1007 #define GL_TEXTURE_4DSIZE_SGIS 0x8136
1008 #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
1009 #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
1010 #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
1011 #endif
1012 
1013 #ifndef GL_SGI_texture_color_table
1014 #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
1015 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
1016 #endif
1017 
1018 #ifndef GL_EXT_cmyka
1019 #define GL_CMYK_EXT 0x800C
1020 #define GL_CMYKA_EXT 0x800D
1021 #define GL_PACK_CMYK_HINT_EXT 0x800E
1022 #define GL_UNPACK_CMYK_HINT_EXT 0x800F
1023 #endif
1024 
1025 #ifndef GL_EXT_texture_object
1026 #define GL_TEXTURE_PRIORITY_EXT 0x8066
1027 #define GL_TEXTURE_RESIDENT_EXT 0x8067
1028 #define GL_TEXTURE_1D_BINDING_EXT 0x8068
1029 #define GL_TEXTURE_2D_BINDING_EXT 0x8069
1030 #define GL_TEXTURE_3D_BINDING_EXT 0x806A
1031 #endif
1032 
1033 #ifndef GL_SGIS_detail_texture
1034 #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
1035 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
1036 #define GL_LINEAR_DETAIL_SGIS 0x8097
1037 #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
1038 #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
1039 #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
1040 #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
1041 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
1042 #endif
1043 
1044 #ifndef GL_SGIS_sharpen_texture
1045 #define GL_LINEAR_SHARPEN_SGIS 0x80AD
1046 #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
1047 #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
1048 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
1049 #endif
1050 
1051 #ifndef GL_EXT_packed_pixels
1052 #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
1053 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
1054 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
1055 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
1056 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
1057 #endif
1058 
1059 #ifndef GL_SGIS_texture_lod
1060 #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
1061 #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
1062 #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
1063 #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
1064 #endif
1065 
1066 #ifndef GL_SGIS_multisample
1067 #define GL_MULTISAMPLE_SGIS 0x809D
1068 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
1069 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
1070 #define GL_SAMPLE_MASK_SGIS 0x80A0
1071 #define GL_1PASS_SGIS 0x80A1
1072 #define GL_2PASS_0_SGIS 0x80A2
1073 #define GL_2PASS_1_SGIS 0x80A3
1074 #define GL_4PASS_0_SGIS 0x80A4
1075 #define GL_4PASS_1_SGIS 0x80A5
1076 #define GL_4PASS_2_SGIS 0x80A6
1077 #define GL_4PASS_3_SGIS 0x80A7
1078 #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
1079 #define GL_SAMPLES_SGIS 0x80A9
1080 #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
1081 #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
1082 #define GL_SAMPLE_PATTERN_SGIS 0x80AC
1083 #endif
1084 
1085 #ifndef GL_EXT_rescale_normal
1086 #define GL_RESCALE_NORMAL_EXT 0x803A
1087 #endif
1088 
1089 #ifndef GL_EXT_vertex_array
1090 #define GL_VERTEX_ARRAY_EXT 0x8074
1091 #define GL_NORMAL_ARRAY_EXT 0x8075
1092 #define GL_COLOR_ARRAY_EXT 0x8076
1093 #define GL_INDEX_ARRAY_EXT 0x8077
1094 #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
1095 #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
1096 #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
1097 #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
1098 #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
1099 #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
1100 #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
1101 #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
1102 #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
1103 #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
1104 #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
1105 #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
1106 #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
1107 #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
1108 #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
1109 #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
1110 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
1111 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
1112 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
1113 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
1114 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
1115 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
1116 #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
1117 #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
1118 #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
1119 #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
1120 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
1121 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
1122 #endif
1123 
1124 #ifndef GL_EXT_misc_attribute
1125 #endif
1126 
1127 #ifndef GL_SGIS_generate_mipmap
1128 #define GL_GENERATE_MIPMAP_SGIS 0x8191
1129 #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
1130 #endif
1131 
1132 #ifndef GL_SGIX_clipmap
1133 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
1134 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
1135 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
1136 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
1137 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
1138 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
1139 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
1140 #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
1141 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
1142 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
1143 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
1144 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
1145 #endif
1146 
1147 #ifndef GL_SGIX_shadow
1148 #define GL_TEXTURE_COMPARE_SGIX 0x819A
1149 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
1150 #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
1151 #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
1152 #endif
1153 
1154 #ifndef GL_SGIS_texture_edge_clamp
1155 #define GL_CLAMP_TO_EDGE_SGIS 0x812F
1156 #endif
1157 
1158 #ifndef GL_SGIS_texture_border_clamp
1159 #define GL_CLAMP_TO_BORDER_SGIS 0x812D
1160 #endif
1161 
1162 #ifndef GL_EXT_blend_minmax
1163 #define GL_FUNC_ADD_EXT 0x8006
1164 #define GL_MIN_EXT 0x8007
1165 #define GL_MAX_EXT 0x8008
1166 #define GL_BLEND_EQUATION_EXT 0x8009
1167 #endif
1168 
1169 #ifndef GL_EXT_blend_subtract
1170 #define GL_FUNC_SUBTRACT_EXT 0x800A
1171 #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
1172 #endif
1173 
1174 #ifndef GL_EXT_blend_logic_op
1175 #endif
1176 
1177 #ifndef GL_SGIX_interlace
1178 #define GL_INTERLACE_SGIX 0x8094
1179 #endif
1180 
1181 #ifndef GL_SGIX_pixel_tiles
1182 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
1183 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
1184 #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
1185 #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
1186 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
1187 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
1188 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
1189 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
1190 #endif
1191 
1192 #ifndef GL_SGIS_texture_select
1193 #define GL_DUAL_ALPHA4_SGIS 0x8110
1194 #define GL_DUAL_ALPHA8_SGIS 0x8111
1195 #define GL_DUAL_ALPHA12_SGIS 0x8112
1196 #define GL_DUAL_ALPHA16_SGIS 0x8113
1197 #define GL_DUAL_LUMINANCE4_SGIS 0x8114
1198 #define GL_DUAL_LUMINANCE8_SGIS 0x8115
1199 #define GL_DUAL_LUMINANCE12_SGIS 0x8116
1200 #define GL_DUAL_LUMINANCE16_SGIS 0x8117
1201 #define GL_DUAL_INTENSITY4_SGIS 0x8118
1202 #define GL_DUAL_INTENSITY8_SGIS 0x8119
1203 #define GL_DUAL_INTENSITY12_SGIS 0x811A
1204 #define GL_DUAL_INTENSITY16_SGIS 0x811B
1205 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
1206 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
1207 #define GL_QUAD_ALPHA4_SGIS 0x811E
1208 #define GL_QUAD_ALPHA8_SGIS 0x811F
1209 #define GL_QUAD_LUMINANCE4_SGIS 0x8120
1210 #define GL_QUAD_LUMINANCE8_SGIS 0x8121
1211 #define GL_QUAD_INTENSITY4_SGIS 0x8122
1212 #define GL_QUAD_INTENSITY8_SGIS 0x8123
1213 #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
1214 #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
1215 #endif
1216 
1217 #ifndef GL_SGIX_sprite
1218 #define GL_SPRITE_SGIX 0x8148
1219 #define GL_SPRITE_MODE_SGIX 0x8149
1220 #define GL_SPRITE_AXIS_SGIX 0x814A
1221 #define GL_SPRITE_TRANSLATION_SGIX 0x814B
1222 #define GL_SPRITE_AXIAL_SGIX 0x814C
1223 #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
1224 #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
1225 #endif
1226 
1227 #ifndef GL_SGIX_texture_multi_buffer
1228 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
1229 #endif
1230 
1231 #ifndef GL_EXT_point_parameters
1232 #define GL_POINT_SIZE_MIN_EXT 0x8126
1233 #define GL_POINT_SIZE_MAX_EXT 0x8127
1234 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
1235 #define GL_DISTANCE_ATTENUATION_EXT 0x8129
1236 #endif
1237 
1238 #ifndef GL_SGIS_point_parameters
1239 #define GL_POINT_SIZE_MIN_SGIS 0x8126
1240 #define GL_POINT_SIZE_MAX_SGIS 0x8127
1241 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
1242 #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
1243 #endif
1244 
1245 #ifndef GL_SGIX_instruments
1246 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
1247 #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
1248 #endif
1249 
1250 #ifndef GL_SGIX_texture_scale_bias
1251 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
1252 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
1253 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
1254 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
1255 #endif
1256 
1257 #ifndef GL_SGIX_framezoom
1258 #define GL_FRAMEZOOM_SGIX 0x818B
1259 #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
1260 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
1261 #endif
1262 
1263 #ifndef GL_SGIX_tag_sample_buffer
1264 #endif
1265 
1266 #ifndef GL_FfdMaskSGIX
1267 #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
1268 #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
1269 #endif
1270 
1271 #ifndef GL_SGIX_polynomial_ffd
1272 #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
1273 #define GL_TEXTURE_DEFORMATION_SGIX 0x8195
1274 #define GL_DEFORMATIONS_MASK_SGIX 0x8196
1275 #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
1276 #endif
1277 
1278 #ifndef GL_SGIX_reference_plane
1279 #define GL_REFERENCE_PLANE_SGIX 0x817D
1280 #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
1281 #endif
1282 
1283 #ifndef GL_SGIX_flush_raster
1284 #endif
1285 
1286 #ifndef GL_SGIX_depth_texture
1287 #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
1288 #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
1289 #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
1290 #endif
1291 
1292 #ifndef GL_SGIS_fog_function
1293 #define GL_FOG_FUNC_SGIS 0x812A
1294 #define GL_FOG_FUNC_POINTS_SGIS 0x812B
1295 #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
1296 #endif
1297 
1298 #ifndef GL_SGIX_fog_offset
1299 #define GL_FOG_OFFSET_SGIX 0x8198
1300 #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
1301 #endif
1302 
1303 #ifndef GL_HP_image_transform
1304 #define GL_IMAGE_SCALE_X_HP 0x8155
1305 #define GL_IMAGE_SCALE_Y_HP 0x8156
1306 #define GL_IMAGE_TRANSLATE_X_HP 0x8157
1307 #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
1308 #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
1309 #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
1310 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
1311 #define GL_IMAGE_MAG_FILTER_HP 0x815C
1312 #define GL_IMAGE_MIN_FILTER_HP 0x815D
1313 #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
1314 #define GL_CUBIC_HP 0x815F
1315 #define GL_AVERAGE_HP 0x8160
1316 #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
1317 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
1318 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
1319 #endif
1320 
1321 #ifndef GL_HP_convolution_border_modes
1322 #define GL_IGNORE_BORDER_HP 0x8150
1323 #define GL_CONSTANT_BORDER_HP 0x8151
1324 #define GL_REPLICATE_BORDER_HP 0x8153
1325 #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
1326 #endif
1327 
1328 #ifndef GL_INGR_palette_buffer
1329 #endif
1330 
1331 #ifndef GL_SGIX_texture_add_env
1332 #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
1333 #endif
1334 
1335 #ifndef GL_EXT_color_subtable
1336 #endif
1337 
1338 #ifndef GL_PGI_vertex_hints
1339 #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
1340 #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
1341 #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
1342 #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
1343 #define GL_COLOR3_BIT_PGI 0x00010000
1344 #define GL_COLOR4_BIT_PGI 0x00020000
1345 #define GL_EDGEFLAG_BIT_PGI 0x00040000
1346 #define GL_INDEX_BIT_PGI 0x00080000
1347 #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
1348 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
1349 #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
1350 #define GL_MAT_EMISSION_BIT_PGI 0x00800000
1351 #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
1352 #define GL_MAT_SHININESS_BIT_PGI 0x02000000
1353 #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
1354 #define GL_NORMAL_BIT_PGI 0x08000000
1355 #define GL_TEXCOORD1_BIT_PGI 0x10000000
1356 #define GL_TEXCOORD2_BIT_PGI 0x20000000
1357 #define GL_TEXCOORD3_BIT_PGI 0x40000000
1358 #define GL_TEXCOORD4_BIT_PGI 0x80000000
1359 #define GL_VERTEX23_BIT_PGI 0x00000004
1360 #define GL_VERTEX4_BIT_PGI 0x00000008
1361 #endif
1362 
1363 #ifndef GL_PGI_misc_hints
1364 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
1365 #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
1366 #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
1367 #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
1368 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
1369 #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
1370 #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
1371 #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
1372 #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
1373 #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
1374 #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
1375 #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
1376 #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
1377 #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
1378 #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
1379 #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
1380 #define GL_CLIP_NEAR_HINT_PGI 0x1A220
1381 #define GL_CLIP_FAR_HINT_PGI 0x1A221
1382 #define GL_WIDE_LINE_HINT_PGI 0x1A222
1383 #define GL_BACK_NORMALS_HINT_PGI 0x1A223
1384 #endif
1385 
1386 #ifndef GL_EXT_paletted_texture
1387 #define GL_COLOR_INDEX1_EXT 0x80E2
1388 #define GL_COLOR_INDEX2_EXT 0x80E3
1389 #define GL_COLOR_INDEX4_EXT 0x80E4
1390 #define GL_COLOR_INDEX8_EXT 0x80E5
1391 #define GL_COLOR_INDEX12_EXT 0x80E6
1392 #define GL_COLOR_INDEX16_EXT 0x80E7
1393 #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
1394 #endif
1395 
1396 #ifndef GL_EXT_clip_volume_hint
1397 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
1398 #endif
1399 
1400 #ifndef GL_SGIX_list_priority
1401 #define GL_LIST_PRIORITY_SGIX 0x8182
1402 #endif
1403 
1404 #ifndef GL_SGIX_ir_instrument1
1405 #define GL_IR_INSTRUMENT1_SGIX 0x817F
1406 #endif
1407 
1408 #ifndef GL_SGIX_calligraphic_fragment
1409 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
1410 #endif
1411 
1412 #ifndef GL_SGIX_texture_lod_bias
1413 #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
1414 #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
1415 #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
1416 #endif
1417 
1418 #ifndef GL_SGIX_shadow_ambient
1419 #define GL_SHADOW_AMBIENT_SGIX 0x80BF
1420 #endif
1421 
1422 #ifndef GL_EXT_index_texture
1423 #endif
1424 
1425 #ifndef GL_EXT_index_material
1426 #define GL_INDEX_MATERIAL_EXT 0x81B8
1427 #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
1428 #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
1429 #endif
1430 
1431 #ifndef GL_EXT_index_func
1432 #define GL_INDEX_TEST_EXT 0x81B5
1433 #define GL_INDEX_TEST_FUNC_EXT 0x81B6
1434 #define GL_INDEX_TEST_REF_EXT 0x81B7
1435 #endif
1436 
1437 #ifndef GL_EXT_index_array_formats
1438 #define GL_IUI_V2F_EXT 0x81AD
1439 #define GL_IUI_V3F_EXT 0x81AE
1440 #define GL_IUI_N3F_V2F_EXT 0x81AF
1441 #define GL_IUI_N3F_V3F_EXT 0x81B0
1442 #define GL_T2F_IUI_V2F_EXT 0x81B1
1443 #define GL_T2F_IUI_V3F_EXT 0x81B2
1444 #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
1445 #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
1446 #endif
1447 
1448 #ifndef GL_EXT_compiled_vertex_array
1449 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
1450 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
1451 #endif
1452 
1453 #ifndef GL_EXT_cull_vertex
1454 #define GL_CULL_VERTEX_EXT 0x81AA
1455 #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
1456 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
1457 #endif
1458 
1459 #ifndef GL_SGIX_ycrcb
1460 #define GL_YCRCB_422_SGIX 0x81BB
1461 #define GL_YCRCB_444_SGIX 0x81BC
1462 #endif
1463 
1464 #ifndef GL_SGIX_fragment_lighting
1465 #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
1466 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
1467 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
1468 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
1469 #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
1470 #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
1471 #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
1472 #define GL_LIGHT_ENV_MODE_SGIX 0x8407
1473 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
1474 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
1475 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
1476 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
1477 #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
1478 #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
1479 #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
1480 #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
1481 #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
1482 #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
1483 #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
1484 #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
1485 #endif
1486 
1487 #ifndef GL_IBM_rasterpos_clip
1488 #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
1489 #endif
1490 
1491 #ifndef GL_HP_texture_lighting
1492 #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
1493 #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
1494 #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
1495 #endif
1496 
1497 #ifndef GL_EXT_draw_range_elements
1498 #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
1499 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
1500 #endif
1501 
1502 #ifndef GL_WIN_phong_shading
1503 #define GL_PHONG_WIN 0x80EA
1504 #define GL_PHONG_HINT_WIN 0x80EB
1505 #endif
1506 
1507 #ifndef GL_WIN_specular_fog
1508 #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
1509 #endif
1510 
1511 #ifndef GL_EXT_light_texture
1512 #define GL_FRAGMENT_MATERIAL_EXT 0x8349
1513 #define GL_FRAGMENT_NORMAL_EXT 0x834A
1514 #define GL_FRAGMENT_COLOR_EXT 0x834C
1515 #define GL_ATTENUATION_EXT 0x834D
1516 #define GL_SHADOW_ATTENUATION_EXT 0x834E
1517 #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
1518 #define GL_TEXTURE_LIGHT_EXT 0x8350
1519 #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
1520 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
1521 /* reuse GL_FRAGMENT_DEPTH_EXT */
1522 #endif
1523 
1524 #ifndef GL_SGIX_blend_alpha_minmax
1525 #define GL_ALPHA_MIN_SGIX 0x8320
1526 #define GL_ALPHA_MAX_SGIX 0x8321
1527 #endif
1528 
1529 #ifndef GL_SGIX_impact_pixel_texture
1530 #define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX 0x8184
1531 #define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX 0x8185
1532 #define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX 0x8186
1533 #define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187
1534 #define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188
1535 #define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX 0x8189
1536 #define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX 0x818A
1537 #endif
1538 
1539 #ifndef GL_EXT_bgra
1540 #define GL_BGR_EXT 0x80E0
1541 #define GL_BGRA_EXT 0x80E1
1542 #endif
1543 
1544 #ifndef GL_SGIX_async
1545 #define GL_ASYNC_MARKER_SGIX 0x8329
1546 #endif
1547 
1548 #ifndef GL_SGIX_async_pixel
1549 #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
1550 #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
1551 #define GL_ASYNC_READ_PIXELS_SGIX 0x835E
1552 #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
1553 #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
1554 #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
1555 #endif
1556 
1557 #ifndef GL_SGIX_async_histogram
1558 #define GL_ASYNC_HISTOGRAM_SGIX 0x832C
1559 #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
1560 #endif
1561 
1562 #ifndef GL_INTEL_texture_scissor
1563 #endif
1564 
1565 #ifndef GL_INTEL_parallel_arrays
1566 #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
1567 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
1568 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
1569 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
1570 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
1571 #endif
1572 
1573 #ifndef GL_HP_occlusion_test
1574 #define GL_OCCLUSION_TEST_HP 0x8165
1575 #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
1576 #endif
1577 
1578 #ifndef GL_EXT_pixel_transform
1579 #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
1580 #define GL_PIXEL_MAG_FILTER_EXT 0x8331
1581 #define GL_PIXEL_MIN_FILTER_EXT 0x8332
1582 #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
1583 #define GL_CUBIC_EXT 0x8334
1584 #define GL_AVERAGE_EXT 0x8335
1585 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
1586 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
1587 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
1588 #endif
1589 
1590 #ifndef GL_EXT_pixel_transform_color_table
1591 #endif
1592 
1593 #ifndef GL_EXT_shared_texture_palette
1594 #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
1595 #endif
1596 
1597 #ifndef GL_EXT_separate_specular_color
1598 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
1599 #define GL_SINGLE_COLOR_EXT 0x81F9
1600 #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
1601 #endif
1602 
1603 #ifndef GL_EXT_secondary_color
1604 #define GL_COLOR_SUM_EXT 0x8458
1605 #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
1606 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
1607 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
1608 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
1609 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
1610 #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
1611 #endif
1612 
1613 #ifndef GL_EXT_texture_perturb_normal
1614 #define GL_PERTURB_EXT 0x85AE
1615 #define GL_TEXTURE_NORMAL_EXT 0x85AF
1616 #endif
1617 
1618 #ifndef GL_EXT_multi_draw_arrays
1619 #endif
1620 
1621 #ifndef GL_EXT_fog_coord
1622 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
1623 #define GL_FOG_COORDINATE_EXT 0x8451
1624 #define GL_FRAGMENT_DEPTH_EXT 0x8452
1625 #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
1626 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
1627 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
1628 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
1629 #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
1630 #endif
1631 
1632 #ifndef GL_REND_screen_coordinates
1633 #define GL_SCREEN_COORDINATES_REND 0x8490
1634 #define GL_INVERTED_SCREEN_W_REND 0x8491
1635 #endif
1636 
1637 #ifndef GL_EXT_coordinate_frame
1638 #define GL_TANGENT_ARRAY_EXT 0x8439
1639 #define GL_BINORMAL_ARRAY_EXT 0x843A
1640 #define GL_CURRENT_TANGENT_EXT 0x843B
1641 #define GL_CURRENT_BINORMAL_EXT 0x843C
1642 #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
1643 #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
1644 #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
1645 #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
1646 #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
1647 #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
1648 #define GL_MAP1_TANGENT_EXT 0x8444
1649 #define GL_MAP2_TANGENT_EXT 0x8445
1650 #define GL_MAP1_BINORMAL_EXT 0x8446
1651 #define GL_MAP2_BINORMAL_EXT 0x8447
1652 #endif
1653 
1654 #ifndef GL_EXT_texture_env_combine
1655 #define GL_COMBINE_EXT 0x8570
1656 #define GL_COMBINE_RGB_EXT 0x8571
1657 #define GL_COMBINE_ALPHA_EXT 0x8572
1658 #define GL_RGB_SCALE_EXT 0x8573
1659 #define GL_ADD_SIGNED_EXT 0x8574
1660 #define GL_INTERPOLATE_EXT 0x8575
1661 #define GL_CONSTANT_EXT 0x8576
1662 #define GL_PRIMARY_COLOR_EXT 0x8577
1663 #define GL_PREVIOUS_EXT 0x8578
1664 #define GL_SOURCE0_RGB_EXT 0x8580
1665 #define GL_SOURCE1_RGB_EXT 0x8581
1666 #define GL_SOURCE2_RGB_EXT 0x8582
1667 #define GL_SOURCE0_ALPHA_EXT 0x8588
1668 #define GL_SOURCE1_ALPHA_EXT 0x8589
1669 #define GL_SOURCE2_ALPHA_EXT 0x858A
1670 #define GL_OPERAND0_RGB_EXT 0x8590
1671 #define GL_OPERAND1_RGB_EXT 0x8591
1672 #define GL_OPERAND2_RGB_EXT 0x8592
1673 #define GL_OPERAND0_ALPHA_EXT 0x8598
1674 #define GL_OPERAND1_ALPHA_EXT 0x8599
1675 #define GL_OPERAND2_ALPHA_EXT 0x859A
1676 #endif
1677 
1678 #ifndef GL_APPLE_specular_vector
1679 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
1680 #endif
1681 
1682 #ifndef GL_APPLE_transform_hint
1683 #define GL_TRANSFORM_HINT_APPLE 0x85B1
1684 #endif
1685 
1686 #ifndef GL_SGIX_fog_scale
1687 #define GL_FOG_SCALE_SGIX 0x81FC
1688 #define GL_FOG_SCALE_VALUE_SGIX 0x81FD
1689 #endif
1690 
1691 #ifndef GL_SUNX_constant_data
1692 #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
1693 #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
1694 #endif
1695 
1696 #ifndef GL_SUN_global_alpha
1697 #define GL_GLOBAL_ALPHA_SUN 0x81D9
1698 #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
1699 #endif
1700 
1701 #ifndef GL_SUN_triangle_list
1702 #define GL_RESTART_SUN 0x0001
1703 #define GL_REPLACE_MIDDLE_SUN 0x0002
1704 #define GL_REPLACE_OLDEST_SUN 0x0003
1705 #define GL_TRIANGLE_LIST_SUN 0x81D7
1706 #define GL_REPLACEMENT_CODE_SUN 0x81D8
1707 #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
1708 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
1709 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
1710 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
1711 #define GL_R1UI_V3F_SUN 0x85C4
1712 #define GL_R1UI_C4UB_V3F_SUN 0x85C5
1713 #define GL_R1UI_C3F_V3F_SUN 0x85C6
1714 #define GL_R1UI_N3F_V3F_SUN 0x85C7
1715 #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
1716 #define GL_R1UI_T2F_V3F_SUN 0x85C9
1717 #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
1718 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
1719 #endif
1720 
1721 #ifndef GL_SUN_vertex
1722 #endif
1723 
1724 #ifndef GL_EXT_blend_func_separate
1725 #define GL_BLEND_DST_RGB_EXT 0x80C8
1726 #define GL_BLEND_SRC_RGB_EXT 0x80C9
1727 #define GL_BLEND_DST_ALPHA_EXT 0x80CA
1728 #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
1729 #endif
1730 
1731 #ifndef GL_INGR_color_clamp
1732 #define GL_RED_MIN_CLAMP_INGR 0x8560
1733 #define GL_GREEN_MIN_CLAMP_INGR 0x8561
1734 #define GL_BLUE_MIN_CLAMP_INGR 0x8562
1735 #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
1736 #define GL_RED_MAX_CLAMP_INGR 0x8564
1737 #define GL_GREEN_MAX_CLAMP_INGR 0x8565
1738 #define GL_BLUE_MAX_CLAMP_INGR 0x8566
1739 #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
1740 #endif
1741 
1742 #ifndef GL_INGR_interlace_read
1743 #define GL_INTERLACE_READ_INGR 0x8568
1744 #endif
1745 
1746 #ifndef GL_EXT_stencil_wrap
1747 #define GL_INCR_WRAP_EXT 0x8507
1748 #define GL_DECR_WRAP_EXT 0x8508
1749 #endif
1750 
1751 #ifndef GL_EXT_422_pixels
1752 #define GL_422_EXT 0x80CC
1753 #define GL_422_REV_EXT 0x80CD
1754 #define GL_422_AVERAGE_EXT 0x80CE
1755 #define GL_422_REV_AVERAGE_EXT 0x80CF
1756 #endif
1757 
1758 #ifndef GL_NV_texgen_reflection
1759 #define GL_NORMAL_MAP_NV 0x8511
1760 #define GL_REFLECTION_MAP_NV 0x8512
1761 #endif
1762 
1763 #ifndef GL_EXT_texture_cube_map
1764 #define GL_NORMAL_MAP_EXT 0x8511
1765 #define GL_REFLECTION_MAP_EXT 0x8512
1766 #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
1767 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
1768 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
1769 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
1770 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
1771 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
1772 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
1773 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
1774 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
1775 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
1776 #endif
1777 
1778 #ifndef GL_SUN_convolution_border_modes
1779 #define GL_WRAP_BORDER_SUN 0x81D4
1780 #endif
1781 
1782 #ifndef GL_EXT_texture_env_add
1783 #endif
1784 
1785 #ifndef GL_EXT_texture_lod_bias
1786 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
1787 #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
1788 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
1789 #endif
1790 
1791 #ifndef GL_EXT_texture_filter_anisotropic
1792 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
1793 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
1794 #endif
1795 
1796 #ifndef GL_EXT_vertex_weighting
1797 #define GL_MODELVIEW0_STACK_DEPTH_EXT GL_MODELVIEW_STACK_DEPTH
1798 #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
1799 #define GL_MODELVIEW0_MATRIX_EXT GL_MODELVIEW_MATRIX
1800 #define GL_MODELVIEW1_MATRIX_EXT 0x8506
1801 #define GL_VERTEX_WEIGHTING_EXT 0x8509
1802 #define GL_MODELVIEW0_EXT GL_MODELVIEW
1803 #define GL_MODELVIEW1_EXT 0x850A
1804 #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
1805 #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
1806 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
1807 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
1808 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
1809 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
1810 #endif
1811 
1812 #ifndef GL_NV_light_max_exponent
1813 #define GL_MAX_SHININESS_NV 0x8504
1814 #define GL_MAX_SPOT_EXPONENT_NV 0x8505
1815 #endif
1816 
1817 #ifndef GL_NV_vertex_array_range
1818 #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
1819 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
1820 #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
1821 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
1822 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
1823 #endif
1824 
1825 #ifndef GL_NV_register_combiners
1826 #define GL_REGISTER_COMBINERS_NV 0x8522
1827 #define GL_VARIABLE_A_NV 0x8523
1828 #define GL_VARIABLE_B_NV 0x8524
1829 #define GL_VARIABLE_C_NV 0x8525
1830 #define GL_VARIABLE_D_NV 0x8526
1831 #define GL_VARIABLE_E_NV 0x8527
1832 #define GL_VARIABLE_F_NV 0x8528
1833 #define GL_VARIABLE_G_NV 0x8529
1834 #define GL_CONSTANT_COLOR0_NV 0x852A
1835 #define GL_CONSTANT_COLOR1_NV 0x852B
1836 #define GL_PRIMARY_COLOR_NV 0x852C
1837 #define GL_SECONDARY_COLOR_NV 0x852D
1838 #define GL_SPARE0_NV 0x852E
1839 #define GL_SPARE1_NV 0x852F
1840 #define GL_DISCARD_NV 0x8530
1841 #define GL_E_TIMES_F_NV 0x8531
1842 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
1843 #define GL_UNSIGNED_IDENTITY_NV 0x8536
1844 #define GL_UNSIGNED_INVERT_NV 0x8537
1845 #define GL_EXPAND_NORMAL_NV 0x8538
1846 #define GL_EXPAND_NEGATE_NV 0x8539
1847 #define GL_HALF_BIAS_NORMAL_NV 0x853A
1848 #define GL_HALF_BIAS_NEGATE_NV 0x853B
1849 #define GL_SIGNED_IDENTITY_NV 0x853C
1850 #define GL_SIGNED_NEGATE_NV 0x853D
1851 #define GL_SCALE_BY_TWO_NV 0x853E
1852 #define GL_SCALE_BY_FOUR_NV 0x853F
1853 #define GL_SCALE_BY_ONE_HALF_NV 0x8540
1854 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
1855 #define GL_COMBINER_INPUT_NV 0x8542
1856 #define GL_COMBINER_MAPPING_NV 0x8543
1857 #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
1858 #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
1859 #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
1860 #define GL_COMBINER_MUX_SUM_NV 0x8547
1861 #define GL_COMBINER_SCALE_NV 0x8548
1862 #define GL_COMBINER_BIAS_NV 0x8549
1863 #define GL_COMBINER_AB_OUTPUT_NV 0x854A
1864 #define GL_COMBINER_CD_OUTPUT_NV 0x854B
1865 #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
1866 #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
1867 #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
1868 #define GL_COLOR_SUM_CLAMP_NV 0x854F
1869 #define GL_COMBINER0_NV 0x8550
1870 #define GL_COMBINER1_NV 0x8551
1871 #define GL_COMBINER2_NV 0x8552
1872 #define GL_COMBINER3_NV 0x8553
1873 #define GL_COMBINER4_NV 0x8554
1874 #define GL_COMBINER5_NV 0x8555
1875 #define GL_COMBINER6_NV 0x8556
1876 #define GL_COMBINER7_NV 0x8557
1877 /* reuse GL_TEXTURE0_ARB */
1878 /* reuse GL_TEXTURE1_ARB */
1879 /* reuse GL_ZERO */
1880 /* reuse GL_NONE */
1881 /* reuse GL_FOG */
1882 #endif
1883 
1884 #ifndef GL_NV_fog_distance
1885 #define GL_FOG_DISTANCE_MODE_NV 0x855A
1886 #define GL_EYE_RADIAL_NV 0x855B
1887 #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
1888 /* reuse GL_EYE_PLANE */
1889 #endif
1890 
1891 #ifndef GL_NV_texgen_emboss
1892 #define GL_EMBOSS_LIGHT_NV 0x855D
1893 #define GL_EMBOSS_CONSTANT_NV 0x855E
1894 #define GL_EMBOSS_MAP_NV 0x855F
1895 #endif
1896 
1897 #ifndef GL_NV_blend_square
1898 #endif
1899 
1900 #ifndef GL_NV_texture_env_combine4
1901 #define GL_COMBINE4_NV 0x8503
1902 #define GL_SOURCE3_RGB_NV 0x8583
1903 #define GL_SOURCE3_ALPHA_NV 0x858B
1904 #define GL_OPERAND3_RGB_NV 0x8593
1905 #define GL_OPERAND3_ALPHA_NV 0x859B
1906 #endif
1907 
1908 #ifndef GL_MESA_resize_buffers
1909 #endif
1910 
1911 #ifndef GL_MESA_window_pos
1912 #endif
1913 
1914 #ifndef GL_EXT_texture_compression_s3tc
1915 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
1916 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
1917 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
1918 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
1919 #endif
1920 
1921 #ifndef GL_IBM_cull_vertex
1922 #define GL_CULL_VERTEX_IBM 103050
1923 #endif
1924 
1925 #ifndef GL_IBM_multimode_draw_arrays
1926 #endif
1927 
1928 #ifndef GL_IBM_vertex_array_lists
1929 #define GL_VERTEX_ARRAY_LIST_IBM 103070
1930 #define GL_NORMAL_ARRAY_LIST_IBM 103071
1931 #define GL_COLOR_ARRAY_LIST_IBM 103072
1932 #define GL_INDEX_ARRAY_LIST_IBM 103073
1933 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
1934 #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
1935 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
1936 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
1937 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
1938 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
1939 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
1940 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
1941 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
1942 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
1943 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
1944 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
1945 #endif
1946 
1947 #ifndef GL_SGIX_subsample
1948 #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
1949 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
1950 #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
1951 #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
1952 #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
1953 #endif
1954 
1955 #ifndef GL_SGIX_ycrcb_subsample
1956 #endif
1957 
1958 #ifndef GL_SGIX_ycrcba
1959 #define GL_YCRCB_SGIX 0x8318
1960 #define GL_YCRCBA_SGIX 0x8319
1961 #endif
1962 
1963 #ifndef GL_SGI_depth_pass_instrument
1964 #define GL_DEPTH_PASS_INSTRUMENT_SGIX 0x8310
1965 #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
1966 #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
1967 #endif
1968 
1969 #ifndef GL_3DFX_texture_compression_FXT1
1970 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
1971 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
1972 #endif
1973 
1974 #ifndef GL_3DFX_multisample
1975 #define GL_MULTISAMPLE_3DFX 0x86B2
1976 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
1977 #define GL_SAMPLES_3DFX 0x86B4
1978 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
1979 #endif
1980 
1981 #ifndef GL_3DFX_tbuffer
1982 #endif
1983 
1984 #ifndef GL_EXT_multisample
1985 #define GL_MULTISAMPLE_EXT 0x809D
1986 #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
1987 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
1988 #define GL_SAMPLE_MASK_EXT 0x80A0
1989 #define GL_1PASS_EXT 0x80A1
1990 #define GL_2PASS_0_EXT 0x80A2
1991 #define GL_2PASS_1_EXT 0x80A3
1992 #define GL_4PASS_0_EXT 0x80A4
1993 #define GL_4PASS_1_EXT 0x80A5
1994 #define GL_4PASS_2_EXT 0x80A6
1995 #define GL_4PASS_3_EXT 0x80A7
1996 #define GL_SAMPLE_BUFFERS_EXT 0x80A8
1997 #define GL_SAMPLES_EXT 0x80A9
1998 #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
1999 #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
2000 #define GL_SAMPLE_PATTERN_EXT 0x80AC
2001 #define GL_MULTISAMPLE_BIT_EXT 0x20000000
2002 #endif
2003 
2004 #ifndef GL_SGIX_vertex_preclip
2005 #define GL_VERTEX_PRECLIP_SGIX 0x83EE
2006 #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
2007 #endif
2008 
2009 #ifndef GL_SGIX_convolution_accuracy
2010 #define GL_CONVOLUTION_HINT_SGIX 0x8316
2011 #endif
2012 
2013 #ifndef GL_SGIX_resample
2014 #define GL_PACK_RESAMPLE_SGIX 0x842C
2015 #define GL_UNPACK_RESAMPLE_SGIX 0x842D
2016 #define GL_RESAMPLE_REPLICATE_SGIX 0x842E
2017 #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
2018 #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
2019 #endif
2020 
2021 #ifndef GL_SGIS_point_line_texgen
2022 #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
2023 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
2024 #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
2025 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
2026 #define GL_EYE_POINT_SGIS 0x81F4
2027 #define GL_OBJECT_POINT_SGIS 0x81F5
2028 #define GL_EYE_LINE_SGIS 0x81F6
2029 #define GL_OBJECT_LINE_SGIS 0x81F7
2030 #endif
2031 
2032 #ifndef GL_SGIS_texture_color_mask
2033 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
2034 #endif
2035 
2036 #ifndef GL_EXT_texture_env_dot3
2037 #define GL_DOT3_RGB_EXT 0x8740
2038 #define GL_DOT3_RGBA_EXT 0x8741
2039 #endif
2040 
2041 #ifndef GL_ATI_texture_mirror_once
2042 #define GL_MIRROR_CLAMP_ATI 0x8742
2043 #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
2044 #endif
2045 
2046 #ifndef GL_NV_fence
2047 #define GL_ALL_COMPLETED_NV 0x84F2
2048 #define GL_FENCE_STATUS_NV 0x84F3
2049 #define GL_FENCE_CONDITION_NV 0x84F4
2050 #endif
2051 
2052 #ifndef GL_IBM_texture_mirrored_repeat
2053 #define GL_MIRRORED_REPEAT_IBM 0x8370
2054 #endif
2055 
2056 #ifndef GL_NV_evaluators
2057 #define GL_EVAL_2D_NV 0x86C0
2058 #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
2059 #define GL_MAP_TESSELLATION_NV 0x86C2
2060 #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
2061 #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
2062 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
2063 #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
2064 #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
2065 #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
2066 #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
2067 #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
2068 #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
2069 #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
2070 #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
2071 #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
2072 #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
2073 #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
2074 #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
2075 #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
2076 #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
2077 #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
2078 #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
2079 #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
2080 #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
2081 #endif
2082 
2083 #ifndef GL_NV_packed_depth_stencil
2084 #define GL_DEPTH_STENCIL_NV 0x84F9
2085 #define GL_UNSIGNED_INT_24_8_NV 0x84FA
2086 #endif
2087 
2088 #ifndef GL_NV_register_combiners2
2089 #define GL_PER_STAGE_CONSTANTS_NV 0x8535
2090 #endif
2091 
2092 #ifndef GL_NV_texture_compression_vtc
2093 #endif
2094 
2095 #ifndef GL_NV_texture_rectangle
2096 #define GL_TEXTURE_RECTANGLE_NV 0x84F5
2097 #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
2098 #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
2099 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
2100 #endif
2101 
2102 #ifndef GL_NV_texture_shader
2103 #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
2104 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
2105 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
2106 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
2107 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
2108 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
2109 #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
2110 #define GL_SHADER_CONSISTENT_NV 0x86DD
2111 #define GL_TEXTURE_SHADER_NV 0x86DE
2112 #define GL_SHADER_OPERATION_NV 0x86DF
2113 #define GL_CULL_MODES_NV 0x86E0
2114 #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
2115 #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
2116 #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
2117 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV GL_OFFSET_TEXTURE_MATRIX_NV
2118 #define GL_OFFSET_TEXTURE_2D_SCALE_NV GL_OFFSET_TEXTURE_SCALE_NV
2119 #define GL_OFFSET_TEXTURE_2D_BIAS_NV GL_OFFSET_TEXTURE_BIAS_NV
2120 #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
2121 #define GL_CONST_EYE_NV 0x86E5
2122 #define GL_PASS_THROUGH_NV 0x86E6
2123 #define GL_CULL_FRAGMENT_NV 0x86E7
2124 #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
2125 #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
2126 #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
2127 #define GL_DOT_PRODUCT_NV 0x86EC
2128 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
2129 #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
2130 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
2131 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
2132 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
2133 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
2134 #define GL_HILO_NV 0x86F4
2135 #define GL_DSDT_NV 0x86F5
2136 #define GL_DSDT_MAG_NV 0x86F6
2137 #define GL_DSDT_MAG_VIB_NV 0x86F7
2138 #define GL_HILO16_NV 0x86F8
2139 #define GL_SIGNED_HILO_NV 0x86F9
2140 #define GL_SIGNED_HILO16_NV 0x86FA
2141 #define GL_SIGNED_RGBA_NV 0x86FB
2142 #define GL_SIGNED_RGBA8_NV 0x86FC
2143 #define GL_SIGNED_RGB_NV 0x86FE
2144 #define GL_SIGNED_RGB8_NV 0x86FF
2145 #define GL_SIGNED_LUMINANCE_NV 0x8701
2146 #define GL_SIGNED_LUMINANCE8_NV 0x8702
2147 #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
2148 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
2149 #define GL_SIGNED_ALPHA_NV 0x8705
2150 #define GL_SIGNED_ALPHA8_NV 0x8706
2151 #define GL_SIGNED_INTENSITY_NV 0x8707
2152 #define GL_SIGNED_INTENSITY8_NV 0x8708
2153 #define GL_DSDT8_NV 0x8709
2154 #define GL_DSDT8_MAG8_NV 0x870A
2155 #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
2156 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
2157 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
2158 #define GL_HI_SCALE_NV 0x870E
2159 #define GL_LO_SCALE_NV 0x870F
2160 #define GL_DS_SCALE_NV 0x8710
2161 #define GL_DT_SCALE_NV 0x8711
2162 #define GL_MAGNITUDE_SCALE_NV 0x8712
2163 #define GL_VIBRANCE_SCALE_NV 0x8713
2164 #define GL_HI_BIAS_NV 0x8714
2165 #define GL_LO_BIAS_NV 0x8715
2166 #define GL_DS_BIAS_NV 0x8716
2167 #define GL_DT_BIAS_NV 0x8717
2168 #define GL_MAGNITUDE_BIAS_NV 0x8718
2169 #define GL_VIBRANCE_BIAS_NV 0x8719
2170 #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
2171 #define GL_TEXTURE_HI_SIZE_NV 0x871B
2172 #define GL_TEXTURE_LO_SIZE_NV 0x871C
2173 #define GL_TEXTURE_DS_SIZE_NV 0x871D
2174 #define GL_TEXTURE_DT_SIZE_NV 0x871E
2175 #define GL_TEXTURE_MAG_SIZE_NV 0x871F
2176 #endif
2177 
2178 #ifndef GL_NV_texture_shader2
2179 #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
2180 #endif
2181 
2182 #ifndef GL_NV_vertex_array_range2
2183 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
2184 #endif
2185 
2186 #ifndef GL_NV_vertex_program
2187 #define GL_VERTEX_PROGRAM_NV 0x8620
2188 #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
2189 #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
2190 #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
2191 #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
2192 #define GL_CURRENT_ATTRIB_NV 0x8626
2193 #define GL_PROGRAM_LENGTH_NV 0x8627
2194 #define GL_PROGRAM_STRING_NV 0x8628
2195 #define GL_MODELVIEW_PROJECTION_NV 0x8629
2196 #define GL_IDENTITY_NV 0x862A
2197 #define GL_INVERSE_NV 0x862B
2198 #define GL_TRANSPOSE_NV 0x862C
2199 #define GL_INVERSE_TRANSPOSE_NV 0x862D
2200 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
2201 #define GL_MAX_TRACK_MATRICES_NV 0x862F
2202 #define GL_MATRIX0_NV 0x8630
2203 #define GL_MATRIX1_NV 0x8631
2204 #define GL_MATRIX2_NV 0x8632
2205 #define GL_MATRIX3_NV 0x8633
2206 #define GL_MATRIX4_NV 0x8634
2207 #define GL_MATRIX5_NV 0x8635
2208 #define GL_MATRIX6_NV 0x8636
2209 #define GL_MATRIX7_NV 0x8637
2210 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
2211 #define GL_CURRENT_MATRIX_NV 0x8641
2212 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
2213 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
2214 #define GL_PROGRAM_PARAMETER_NV 0x8644
2215 #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
2216 #define GL_PROGRAM_TARGET_NV 0x8646
2217 #define GL_PROGRAM_RESIDENT_NV 0x8647
2218 #define GL_TRACK_MATRIX_NV 0x8648
2219 #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
2220 #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
2221 #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
2222 #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
2223 #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
2224 #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
2225 #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
2226 #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
2227 #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
2228 #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
2229 #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
2230 #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
2231 #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
2232 #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
2233 #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
2234 #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
2235 #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
2236 #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
2237 #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
2238 #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
2239 #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
2240 #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
2241 #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
2242 #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
2243 #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
2244 #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
2245 #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
2246 #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
2247 #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
2248 #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
2249 #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
2250 #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
2251 #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
2252 #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
2253 #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
2254 #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
2255 #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
2256 #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
2257 #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
2258 #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
2259 #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
2260 #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
2261 #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
2262 #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
2263 #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
2264 #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
2265 #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
2266 #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
2267 #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
2268 #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
2269 #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
2270 #endif
2271 
2272 #ifndef GL_SGIX_texture_coordinate_clamp
2273 #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
2274 #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
2275 #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
2276 #endif
2277 
2278 #ifndef GL_SGIX_scalebias_hint
2279 #define GL_SCALEBIAS_HINT_SGIX 0x8322
2280 #endif
2281 
2282 #ifndef GL_OML_interlace
2283 #define GL_INTERLACE_OML 0x8980
2284 #define GL_INTERLACE_READ_OML 0x8981
2285 #endif
2286 
2287 #ifndef GL_OML_subsample
2288 #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
2289 #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
2290 #endif
2291 
2292 #ifndef GL_OML_resample
2293 #define GL_PACK_RESAMPLE_OML 0x8984
2294 #define GL_UNPACK_RESAMPLE_OML 0x8985
2295 #define GL_RESAMPLE_REPLICATE_OML 0x8986
2296 #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
2297 #define GL_RESAMPLE_AVERAGE_OML 0x8988
2298 #define GL_RESAMPLE_DECIMATE_OML 0x8989
2299 #endif
2300 
2301 #ifndef GL_NV_copy_depth_to_color
2302 #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
2303 #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
2304 #endif
2305 
2306 #ifndef GL_ATI_envmap_bumpmap
2307 #define GL_BUMP_ROT_MATRIX_ATI 0x8775
2308 #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
2309 #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
2310 #define GL_BUMP_TEX_UNITS_ATI 0x8778
2311 #define GL_DUDV_ATI 0x8779
2312 #define GL_DU8DV8_ATI 0x877A
2313 #define GL_BUMP_ENVMAP_ATI 0x877B
2314 #define GL_BUMP_TARGET_ATI 0x877C
2315 #endif
2316 
2317 #ifndef GL_ATI_fragment_shader
2318 #define GL_FRAGMENT_SHADER_ATI 0x8920
2319 #define GL_REG_0_ATI 0x8921
2320 #define GL_REG_1_ATI 0x8922
2321 #define GL_REG_2_ATI 0x8923
2322 #define GL_REG_3_ATI 0x8924
2323 #define GL_REG_4_ATI 0x8925
2324 #define GL_REG_5_ATI 0x8926
2325 #define GL_REG_6_ATI 0x8927
2326 #define GL_REG_7_ATI 0x8928
2327 #define GL_REG_8_ATI 0x8929
2328 #define GL_REG_9_ATI 0x892A
2329 #define GL_REG_10_ATI 0x892B
2330 #define GL_REG_11_ATI 0x892C
2331 #define GL_REG_12_ATI 0x892D
2332 #define GL_REG_13_ATI 0x892E
2333 #define GL_REG_14_ATI 0x892F
2334 #define GL_REG_15_ATI 0x8930
2335 #define GL_REG_16_ATI 0x8931
2336 #define GL_REG_17_ATI 0x8932
2337 #define GL_REG_18_ATI 0x8933
2338 #define GL_REG_19_ATI 0x8934
2339 #define GL_REG_20_ATI 0x8935
2340 #define GL_REG_21_ATI 0x8936
2341 #define GL_REG_22_ATI 0x8937
2342 #define GL_REG_23_ATI 0x8938
2343 #define GL_REG_24_ATI 0x8939
2344 #define GL_REG_25_ATI 0x893A
2345 #define GL_REG_26_ATI 0x893B
2346 #define GL_REG_27_ATI 0x893C
2347 #define GL_REG_28_ATI 0x893D
2348 #define GL_REG_29_ATI 0x893E
2349 #define GL_REG_30_ATI 0x893F
2350 #define GL_REG_31_ATI 0x8940
2351 #define GL_CON_0_ATI 0x8941
2352 #define GL_CON_1_ATI 0x8942
2353 #define GL_CON_2_ATI 0x8943
2354 #define GL_CON_3_ATI 0x8944
2355 #define GL_CON_4_ATI 0x8945
2356 #define GL_CON_5_ATI 0x8946
2357 #define GL_CON_6_ATI 0x8947
2358 #define GL_CON_7_ATI 0x8948
2359 #define GL_CON_8_ATI 0x8949
2360 #define GL_CON_9_ATI 0x894A
2361 #define GL_CON_10_ATI 0x894B
2362 #define GL_CON_11_ATI 0x894C
2363 #define GL_CON_12_ATI 0x894D
2364 #define GL_CON_13_ATI 0x894E
2365 #define GL_CON_14_ATI 0x894F
2366 #define GL_CON_15_ATI 0x8950
2367 #define GL_CON_16_ATI 0x8951
2368 #define GL_CON_17_ATI 0x8952
2369 #define GL_CON_18_ATI 0x8953
2370 #define GL_CON_19_ATI 0x8954
2371 #define GL_CON_20_ATI 0x8955
2372 #define GL_CON_21_ATI 0x8956
2373 #define GL_CON_22_ATI 0x8957
2374 #define GL_CON_23_ATI 0x8958
2375 #define GL_CON_24_ATI 0x8959
2376 #define GL_CON_25_ATI 0x895A
2377 #define GL_CON_26_ATI 0x895B
2378 #define GL_CON_27_ATI 0x895C
2379 #define GL_CON_28_ATI 0x895D
2380 #define GL_CON_29_ATI 0x895E
2381 #define GL_CON_30_ATI 0x895F
2382 #define GL_CON_31_ATI 0x8960
2383 #define GL_MOV_ATI 0x8961
2384 #define GL_ADD_ATI 0x8963
2385 #define GL_MUL_ATI 0x8964
2386 #define GL_SUB_ATI 0x8965
2387 #define GL_DOT3_ATI 0x8966
2388 #define GL_DOT4_ATI 0x8967
2389 #define GL_MAD_ATI 0x8968
2390 #define GL_LERP_ATI 0x8969
2391 #define GL_CND_ATI 0x896A
2392 #define GL_CND0_ATI 0x896B
2393 #define GL_DOT2_ADD_ATI 0x896C
2394 #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
2395 #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
2396 #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
2397 #define GL_NUM_PASSES_ATI 0x8970
2398 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
2399 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
2400 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
2401 #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
2402 #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
2403 #define GL_SWIZZLE_STR_ATI 0x8976
2404 #define GL_SWIZZLE_STQ_ATI 0x8977
2405 #define GL_SWIZZLE_STR_DR_ATI 0x8978
2406 #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
2407 #define GL_SWIZZLE_STRQ_ATI 0x897A
2408 #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
2409 #define GL_RED_BIT_ATI 0x00000001
2410 #define GL_GREEN_BIT_ATI 0x00000002
2411 #define GL_BLUE_BIT_ATI 0x00000004
2412 #define GL_2X_BIT_ATI 0x00000001
2413 #define GL_4X_BIT_ATI 0x00000002
2414 #define GL_8X_BIT_ATI 0x00000004
2415 #define GL_HALF_BIT_ATI 0x00000008
2416 #define GL_QUARTER_BIT_ATI 0x00000010
2417 #define GL_EIGHTH_BIT_ATI 0x00000020
2418 #define GL_SATURATE_BIT_ATI 0x00000040
2419 #define GL_COMP_BIT_ATI 0x00000002
2420 #define GL_NEGATE_BIT_ATI 0x00000004
2421 #define GL_BIAS_BIT_ATI 0x00000008
2422 #endif
2423 
2424 #ifndef GL_ATI_pn_triangles
2425 #define GL_PN_TRIANGLES_ATI 0x87F0
2426 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
2427 #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
2428 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
2429 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
2430 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
2431 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
2432 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
2433 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
2434 #endif
2435 
2436 #ifndef GL_ATI_vertex_array_object
2437 #define GL_STATIC_ATI 0x8760
2438 #define GL_DYNAMIC_ATI 0x8761
2439 #define GL_PRESERVE_ATI 0x8762
2440 #define GL_DISCARD_ATI 0x8763
2441 #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
2442 #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
2443 #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
2444 #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
2445 #endif
2446 
2447 #ifndef GL_EXT_vertex_shader
2448 #define GL_VERTEX_SHADER_EXT 0x8780
2449 #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
2450 #define GL_OP_INDEX_EXT 0x8782
2451 #define GL_OP_NEGATE_EXT 0x8783
2452 #define GL_OP_DOT3_EXT 0x8784
2453 #define GL_OP_DOT4_EXT 0x8785
2454 #define GL_OP_MUL_EXT 0x8786
2455 #define GL_OP_ADD_EXT 0x8787
2456 #define GL_OP_MADD_EXT 0x8788
2457 #define GL_OP_FRAC_EXT 0x8789
2458 #define GL_OP_MAX_EXT 0x878A
2459 #define GL_OP_MIN_EXT 0x878B
2460 #define GL_OP_SET_GE_EXT 0x878C
2461 #define GL_OP_SET_LT_EXT 0x878D
2462 #define GL_OP_CLAMP_EXT 0x878E
2463 #define GL_OP_FLOOR_EXT 0x878F
2464 #define GL_OP_ROUND_EXT 0x8790
2465 #define GL_OP_EXP_BASE_2_EXT 0x8791
2466 #define GL_OP_LOG_BASE_2_EXT 0x8792
2467 #define GL_OP_POWER_EXT 0x8793
2468 #define GL_OP_RECIP_EXT 0x8794
2469 #define GL_OP_RECIP_SQRT_EXT 0x8795
2470 #define GL_OP_SUB_EXT 0x8796
2471 #define GL_OP_CROSS_PRODUCT_EXT 0x8797
2472 #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
2473 #define GL_OP_MOV_EXT 0x8799
2474 #define GL_OUTPUT_VERTEX_EXT 0x879A
2475 #define GL_OUTPUT_COLOR0_EXT 0x879B
2476 #define GL_OUTPUT_COLOR1_EXT 0x879C
2477 #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
2478 #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
2479 #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
2480 #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
2481 #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
2482 #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
2483 #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
2484 #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
2485 #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
2486 #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
2487 #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
2488 #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
2489 #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
2490 #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
2491 #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
2492 #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
2493 #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
2494 #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
2495 #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
2496 #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
2497 #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
2498 #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
2499 #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
2500 #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
2501 #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
2502 #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
2503 #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
2504 #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
2505 #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
2506 #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
2507 #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
2508 #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
2509 #define GL_OUTPUT_FOG_EXT 0x87BD
2510 #define GL_SCALAR_EXT 0x87BE
2511 #define GL_VECTOR_EXT 0x87BF
2512 #define GL_MATRIX_EXT 0x87C0
2513 #define GL_VARIANT_EXT 0x87C1
2514 #define GL_INVARIANT_EXT 0x87C2
2515 #define GL_LOCAL_CONSTANT_EXT 0x87C3
2516 #define GL_LOCAL_EXT 0x87C4
2517 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
2518 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
2519 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
2520 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
2521 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
2522 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
2523 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
2524 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
2525 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
2526 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
2527 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
2528 #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
2529 #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
2530 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
2531 #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
2532 #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
2533 #define GL_X_EXT 0x87D5
2534 #define GL_Y_EXT 0x87D6
2535 #define GL_Z_EXT 0x87D7
2536 #define GL_W_EXT 0x87D8
2537 #define GL_NEGATIVE_X_EXT 0x87D9
2538 #define GL_NEGATIVE_Y_EXT 0x87DA
2539 #define GL_NEGATIVE_Z_EXT 0x87DB
2540 #define GL_NEGATIVE_W_EXT 0x87DC
2541 #define GL_ZERO_EXT 0x87DD
2542 #define GL_ONE_EXT 0x87DE
2543 #define GL_NEGATIVE_ONE_EXT 0x87DF
2544 #define GL_NORMALIZED_RANGE_EXT 0x87E0
2545 #define GL_FULL_RANGE_EXT 0x87E1
2546 #define GL_CURRENT_VERTEX_EXT 0x87E2
2547 #define GL_MVP_MATRIX_EXT 0x87E3
2548 #define GL_VARIANT_VALUE_EXT 0x87E4
2549 #define GL_VARIANT_DATATYPE_EXT 0x87E5
2550 #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
2551 #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
2552 #define GL_VARIANT_ARRAY_EXT 0x87E8
2553 #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
2554 #define GL_INVARIANT_VALUE_EXT 0x87EA
2555 #define GL_INVARIANT_DATATYPE_EXT 0x87EB
2556 #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
2557 #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
2558 #endif
2559 
2560 #ifndef GL_ATI_vertex_streams
2561 #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
2562 #define GL_VERTEX_STREAM0_ATI 0x876C
2563 #define GL_VERTEX_STREAM1_ATI 0x876D
2564 #define GL_VERTEX_STREAM2_ATI 0x876E
2565 #define GL_VERTEX_STREAM3_ATI 0x876F
2566 #define GL_VERTEX_STREAM4_ATI 0x8770
2567 #define GL_VERTEX_STREAM5_ATI 0x8771
2568 #define GL_VERTEX_STREAM6_ATI 0x8772
2569 #define GL_VERTEX_STREAM7_ATI 0x8773
2570 #define GL_VERTEX_SOURCE_ATI 0x8774
2571 #endif
2572 
2573 #ifndef GL_ATI_element_array
2574 #define GL_ELEMENT_ARRAY_ATI 0x8768
2575 #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
2576 #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
2577 #endif
2578 
2579 #ifndef GL_SUN_mesh_array
2580 #define GL_QUAD_MESH_SUN 0x8614
2581 #define GL_TRIANGLE_MESH_SUN 0x8615
2582 #endif
2583 
2584 #ifndef GL_SUN_slice_accum
2585 #define GL_SLICE_ACCUM_SUN 0x85CC
2586 #endif
2587 
2588 #ifndef GL_NV_multisample_filter_hint
2589 #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
2590 #endif
2591 
2592 #ifndef GL_NV_depth_clamp
2593 #define GL_DEPTH_CLAMP_NV 0x864F
2594 #endif
2595 
2596 #ifndef GL_NV_occlusion_query
2597 #define GL_PIXEL_COUNTER_BITS_NV 0x8864
2598 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
2599 #define GL_PIXEL_COUNT_NV 0x8866
2600 #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
2601 #endif
2602 
2603 #ifndef GL_NV_point_sprite
2604 #define GL_POINT_SPRITE_NV 0x8861
2605 #define GL_COORD_REPLACE_NV 0x8862
2606 #define GL_POINT_SPRITE_R_MODE_NV 0x8863
2607 #endif
2608 
2609 #ifndef GL_NV_texture_shader3
2610 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
2611 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
2612 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
2613 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
2614 #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
2615 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
2616 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
2617 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
2618 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
2619 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
2620 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
2621 #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
2622 #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
2623 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
2624 #define GL_HILO8_NV 0x885E
2625 #define GL_SIGNED_HILO8_NV 0x885F
2626 #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
2627 #endif
2628 
2629 #ifndef GL_NV_vertex_program1_1
2630 #endif
2631 
2632 #ifndef GL_EXT_shadow_funcs
2633 #endif
2634 
2635 #ifndef GL_EXT_stencil_two_side
2636 #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
2637 #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
2638 #endif
2639 
2640 #ifndef GL_ATI_text_fragment_shader
2641 #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
2642 #endif
2643 
2644 #ifndef GL_APPLE_client_storage
2645 #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
2646 #endif
2647 
2648 #ifndef GL_APPLE_element_array
2649 #define GL_ELEMENT_ARRAY_APPLE 0x8768
2650 #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8769
2651 #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x876A
2652 #endif
2653 
2654 #ifndef GL_APPLE_fence
2655 #define GL_DRAW_PIXELS_APPLE 0x8A0A
2656 #define GL_FENCE_APPLE 0x8A0B
2657 #endif
2658 
2659 #ifndef GL_APPLE_vertex_array_object
2660 #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
2661 #endif
2662 
2663 #ifndef GL_APPLE_vertex_array_range
2664 #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
2665 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
2666 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
2667 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
2668 #define GL_STORAGE_CACHED_APPLE 0x85BE
2669 #define GL_STORAGE_SHARED_APPLE 0x85BF
2670 #endif
2671 
2672 #ifndef GL_APPLE_ycbcr_422
2673 #define GL_YCBCR_422_APPLE 0x85B9
2674 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
2675 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
2676 #endif
2677 
2678 #ifndef GL_S3_s3tc
2679 #define GL_RGB_S3TC 0x83A0
2680 #define GL_RGB4_S3TC 0x83A1
2681 #define GL_RGBA_S3TC 0x83A2
2682 #define GL_RGBA4_S3TC 0x83A3
2683 #endif
2684 
2685 #ifndef GL_ATI_draw_buffers
2686 #define GL_MAX_DRAW_BUFFERS_ATI 0x8824
2687 #define GL_DRAW_BUFFER0_ATI 0x8825
2688 #define GL_DRAW_BUFFER1_ATI 0x8826
2689 #define GL_DRAW_BUFFER2_ATI 0x8827
2690 #define GL_DRAW_BUFFER3_ATI 0x8828
2691 #define GL_DRAW_BUFFER4_ATI 0x8829
2692 #define GL_DRAW_BUFFER5_ATI 0x882A
2693 #define GL_DRAW_BUFFER6_ATI 0x882B
2694 #define GL_DRAW_BUFFER7_ATI 0x882C
2695 #define GL_DRAW_BUFFER8_ATI 0x882D
2696 #define GL_DRAW_BUFFER9_ATI 0x882E
2697 #define GL_DRAW_BUFFER10_ATI 0x882F
2698 #define GL_DRAW_BUFFER11_ATI 0x8830
2699 #define GL_DRAW_BUFFER12_ATI 0x8831
2700 #define GL_DRAW_BUFFER13_ATI 0x8832
2701 #define GL_DRAW_BUFFER14_ATI 0x8833
2702 #define GL_DRAW_BUFFER15_ATI 0x8834
2703 #endif
2704 
2705 #ifndef GL_ATI_pixel_format_float
2706 #define GL_TYPE_RGBA_FLOAT_ATI 0x8820
2707 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
2708 #endif
2709 
2710 #ifndef GL_ATI_texture_env_combine3
2711 #define GL_MODULATE_ADD_ATI 0x8744
2712 #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
2713 #define GL_MODULATE_SUBTRACT_ATI 0x8746
2714 #endif
2715 
2716 #ifndef GL_ATI_texture_float
2717 #define GL_RGBA_FLOAT32_ATI 0x8814
2718 #define GL_RGB_FLOAT32_ATI 0x8815
2719 #define GL_ALPHA_FLOAT32_ATI 0x8816
2720 #define GL_INTENSITY_FLOAT32_ATI 0x8817
2721 #define GL_LUMINANCE_FLOAT32_ATI 0x8818
2722 #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
2723 #define GL_RGBA_FLOAT16_ATI 0x881A
2724 #define GL_RGB_FLOAT16_ATI 0x881B
2725 #define GL_ALPHA_FLOAT16_ATI 0x881C
2726 #define GL_INTENSITY_FLOAT16_ATI 0x881D
2727 #define GL_LUMINANCE_FLOAT16_ATI 0x881E
2728 #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
2729 #endif
2730 
2731 #ifndef GL_NV_float_buffer
2732 #define GL_FLOAT_R_NV 0x8880
2733 #define GL_FLOAT_RG_NV 0x8881
2734 #define GL_FLOAT_RGB_NV 0x8882
2735 #define GL_FLOAT_RGBA_NV 0x8883
2736 #define GL_FLOAT_R16_NV 0x8884
2737 #define GL_FLOAT_R32_NV 0x8885
2738 #define GL_FLOAT_RG16_NV 0x8886
2739 #define GL_FLOAT_RG32_NV 0x8887
2740 #define GL_FLOAT_RGB16_NV 0x8888
2741 #define GL_FLOAT_RGB32_NV 0x8889
2742 #define GL_FLOAT_RGBA16_NV 0x888A
2743 #define GL_FLOAT_RGBA32_NV 0x888B
2744 #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
2745 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
2746 #define GL_FLOAT_RGBA_MODE_NV 0x888E
2747 #endif
2748 
2749 #ifndef GL_NV_fragment_program
2750 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
2751 #define GL_FRAGMENT_PROGRAM_NV 0x8870
2752 #define GL_MAX_TEXTURE_COORDS_NV 0x8871
2753 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
2754 #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
2755 #define GL_PROGRAM_ERROR_STRING_NV 0x8874
2756 #endif
2757 
2758 #ifndef GL_NV_half_float
2759 #define GL_HALF_FLOAT_NV 0x140B
2760 #endif
2761 
2762 #ifndef GL_NV_pixel_data_range
2763 #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
2764 #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879
2765 #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
2766 #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
2767 #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
2768 #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
2769 #endif
2770 
2771 #ifndef GL_NV_primitive_restart
2772 #define GL_PRIMITIVE_RESTART_NV 0x8558
2773 #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
2774 #endif
2775 
2776 #ifndef GL_NV_texture_expand_normal
2777 #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
2778 #endif
2779 
2780 #ifndef GL_NV_vertex_program2
2781 #endif
2782 
2783 #ifndef GL_ATI_map_object_buffer
2784 #endif
2785 
2786 #ifndef GL_ATI_separate_stencil
2787 #define GL_STENCIL_BACK_FUNC_ATI 0x8800
2788 #define GL_STENCIL_BACK_FAIL_ATI 0x8801
2789 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
2790 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
2791 #endif
2792 
2793 #ifndef GL_ATI_vertex_attrib_array_object
2794 #endif
2795 
2796 #ifndef GL_EXT_depth_bounds_test
2797 #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
2798 #define GL_DEPTH_BOUNDS_EXT 0x8891
2799 #endif
2800 
2801 #ifndef GL_EXT_texture_mirror_clamp
2802 #define GL_MIRROR_CLAMP_EXT 0x8742
2803 #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
2804 #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
2805 #endif
2806 
2807 #ifndef GL_EXT_blend_equation_separate
2808 #define GL_BLEND_EQUATION_RGB_EXT GL_BLEND_EQUATION
2809 #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
2810 #endif
2811 
2812 #ifndef GL_MESA_pack_invert
2813 #define GL_PACK_INVERT_MESA 0x8758
2814 #endif
2815 
2816 #ifndef GL_MESA_ycbcr_texture
2817 #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
2818 #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
2819 #define GL_YCBCR_MESA 0x8757
2820 #endif
2821 
2822 #ifndef GL_EXT_pixel_buffer_object
2823 #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
2824 #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
2825 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
2826 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
2827 #endif
2828 
2829 #ifndef GL_NV_fragment_program_option
2830 #endif
2831 
2832 #ifndef GL_NV_fragment_program2
2833 #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
2834 #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
2835 #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
2836 #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
2837 #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
2838 #endif
2839 
2840 #ifndef GL_NV_vertex_program2_option
2841 /* reuse GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */
2842 /* reuse GL_MAX_PROGRAM_CALL_DEPTH_NV */
2843 #endif
2844 
2845 #ifndef GL_NV_vertex_program3
2846 /* reuse GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */
2847 #endif
2848 
2849 
2850 /*************************************************************/
2851 
2852 #include <stddef.h>
2853 #ifndef GL_VERSION_1_5
2854 /* GL types for handling large vertex buffer objects */
2855 typedef ptrdiff_t GLintptr;
2856 typedef ptrdiff_t GLsizeiptr;
2857 #endif
2858 
2859 #ifndef GL_ARB_vertex_buffer_object
2860 /* GL types for handling large vertex buffer objects */
2861 typedef ptrdiff_t GLintptrARB;
2862 typedef ptrdiff_t GLsizeiptrARB;
2863 #endif
2864 
2865 #ifndef GL_ARB_shader_objects
2866 /* GL types for handling shader object handles and characters */
2867 typedef char GLcharARB; /* native character */
2868 typedef unsigned int GLhandleARB; /* shader object handle */
2869 #endif
2870 
2871 #ifndef GL_NV_half_float
2872 /* GL type for representing NVIDIA "half" floating point type in host memory */
2873 typedef unsigned short GLhalfNV;
2874 #endif
2875 
2876 #ifndef GL_VERSION_1_2
2877 #define GL_VERSION_1_2 1
2878 #ifdef GL_GLEXT_PROTOTYPES
2879 GLAPI void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf);
2880 GLAPI void APIENTRY glBlendEquation (GLenum);
2881 GLAPI void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
2882 GLAPI void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
2883 GLAPI void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *);
2884 GLAPI void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *);
2885 GLAPI void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei);
2886 GLAPI void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *);
2887 GLAPI void APIENTRY glGetColorTableParameterfv (GLenum, GLenum, GLfloat *);
2888 GLAPI void APIENTRY glGetColorTableParameteriv (GLenum, GLenum, GLint *);
2889 GLAPI void APIENTRY glColorSubTable (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
2890 GLAPI void APIENTRY glCopyColorSubTable (GLenum, GLsizei, GLint, GLint, GLsizei);
2891 GLAPI void APIENTRY glConvolutionFilter1D (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
2892 GLAPI void APIENTRY glConvolutionFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
2893 GLAPI void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat);
2894 GLAPI void APIENTRY glConvolutionParameterfv (GLenum, GLenum, const GLfloat *);
2895 GLAPI void APIENTRY glConvolutionParameteri (GLenum, GLenum, GLint);
2896 GLAPI void APIENTRY glConvolutionParameteriv (GLenum, GLenum, const GLint *);
2897 GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum, GLenum, GLint, GLint, GLsizei);
2898 GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
2899 GLAPI void APIENTRY glGetConvolutionFilter (GLenum, GLenum, GLenum, GLvoid *);
2900 GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum, GLfloat *);
2901 GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum, GLenum, GLint *);
2902 GLAPI void APIENTRY glGetSeparableFilter (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
2903 GLAPI void APIENTRY glSeparableFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
2904 GLAPI void APIENTRY glGetHistogram (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
2905 GLAPI void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *);
2906 GLAPI void APIENTRY glGetHistogramParameteriv (GLenum, GLenum, GLint *);
2907 GLAPI void APIENTRY glGetMinmax (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
2908 GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *);
2909 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *);
2910 GLAPI void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean);
2911 GLAPI void APIENTRY glMinmax (GLenum, GLenum, GLboolean);
2912 GLAPI void APIENTRY glResetHistogram (GLenum);
2913 GLAPI void APIENTRY glResetMinmax (GLenum);
2914 GLAPI void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
2915 GLAPI void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
2916 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
2917 #endif /* GL_GLEXT_PROTOTYPES */
2918 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
2919 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
2920 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
2921 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
2922 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
2923 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
2924 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
2925 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
2926 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
2927 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2928 typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
2929 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
2930 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
2931 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
2932 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
2933 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
2934 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
2935 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
2936 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
2937 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
2938 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
2939 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
2940 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2941 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
2942 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
2943 typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
2944 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
2945 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2946 typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
2947 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
2948 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2949 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
2950 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
2951 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
2952 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
2953 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);
2954 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);
2955 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2956 #endif
2957 
2958 #ifndef GL_VERSION_1_3
2959 #define GL_VERSION_1_3 1
2960 #ifdef GL_GLEXT_PROTOTYPES
2961 GLAPI void APIENTRY glActiveTexture (GLenum);
2962 GLAPI void APIENTRY glClientActiveTexture (GLenum);
2963 GLAPI void APIENTRY glMultiTexCoord1d (GLenum, GLdouble);
2964 GLAPI void APIENTRY glMultiTexCoord1dv (GLenum, const GLdouble *);
2965 GLAPI void APIENTRY glMultiTexCoord1f (GLenum, GLfloat);
2966 GLAPI void APIENTRY glMultiTexCoord1fv (GLenum, const GLfloat *);
2967 GLAPI void APIENTRY glMultiTexCoord1i (GLenum, GLint);
2968 GLAPI void APIENTRY glMultiTexCoord1iv (GLenum, const GLint *);
2969 GLAPI void APIENTRY glMultiTexCoord1s (GLenum, GLshort);
2970 GLAPI void APIENTRY glMultiTexCoord1sv (GLenum, const GLshort *);
2971 GLAPI void APIENTRY glMultiTexCoord2d (GLenum, GLdouble, GLdouble);
2972 GLAPI void APIENTRY glMultiTexCoord2dv (GLenum, const GLdouble *);
2973 GLAPI void APIENTRY glMultiTexCoord2f (GLenum, GLfloat, GLfloat);
2974 GLAPI void APIENTRY glMultiTexCoord2fv (GLenum, const GLfloat *);
2975 GLAPI void APIENTRY glMultiTexCoord2i (GLenum, GLint, GLint);
2976 GLAPI void APIENTRY glMultiTexCoord2iv (GLenum, const GLint *);
2977 GLAPI void APIENTRY glMultiTexCoord2s (GLenum, GLshort, GLshort);
2978 GLAPI void APIENTRY glMultiTexCoord2sv (GLenum, const GLshort *);
2979 GLAPI void APIENTRY glMultiTexCoord3d (GLenum, GLdouble, GLdouble, GLdouble);
2980 GLAPI void APIENTRY glMultiTexCoord3dv (GLenum, const GLdouble *);
2981 GLAPI void APIENTRY glMultiTexCoord3f (GLenum, GLfloat, GLfloat, GLfloat);
2982 GLAPI void APIENTRY glMultiTexCoord3fv (GLenum, const GLfloat *);
2983 GLAPI void APIENTRY glMultiTexCoord3i (GLenum, GLint, GLint, GLint);
2984 GLAPI void APIENTRY glMultiTexCoord3iv (GLenum, const GLint *);
2985 GLAPI void APIENTRY glMultiTexCoord3s (GLenum, GLshort, GLshort, GLshort);
2986 GLAPI void APIENTRY glMultiTexCoord3sv (GLenum, const GLshort *);
2987 GLAPI void APIENTRY glMultiTexCoord4d (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
2988 GLAPI void APIENTRY glMultiTexCoord4dv (GLenum, const GLdouble *);
2989 GLAPI void APIENTRY glMultiTexCoord4f (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
2990 GLAPI void APIENTRY glMultiTexCoord4fv (GLenum, const GLfloat *);
2991 GLAPI void APIENTRY glMultiTexCoord4i (GLenum, GLint, GLint, GLint, GLint);
2992 GLAPI void APIENTRY glMultiTexCoord4iv (GLenum, const GLint *);
2993 GLAPI void APIENTRY glMultiTexCoord4s (GLenum, GLshort, GLshort, GLshort, GLshort);
2994 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum, const GLshort *);
2995 GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *);
2996 GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *);
2997 GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *);
2998 GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *);
2999 GLAPI void APIENTRY glSampleCoverage (GLclampf, GLboolean);
3000 GLAPI void APIENTRY glCompressedTexImage3D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
3001 GLAPI void APIENTRY glCompressedTexImage2D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
3002 GLAPI void APIENTRY glCompressedTexImage1D (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
3003 GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
3004 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
3005 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
3006 GLAPI void APIENTRY glGetCompressedTexImage (GLenum, GLint, GLvoid *);
3007 #endif /* GL_GLEXT_PROTOTYPES */
3008 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
3009 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
3010 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
3011 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
3012 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
3013 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
3014 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
3015 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
3016 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
3017 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
3018 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
3019 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
3020 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
3021 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
3022 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
3023 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
3024 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
3025 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
3026 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3027 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
3028 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3029 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
3030 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
3031 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
3032 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
3033 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
3034 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3035 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
3036 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3037 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
3038 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
3039 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
3040 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3041 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
3042 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
3043 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
3044 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
3045 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
3046 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
3047 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
3048 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
3049 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
3050 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);
3051 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
3052 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
3053 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img);
3054 #endif
3055 
3056 #ifndef GL_VERSION_1_4
3057 #define GL_VERSION_1_4 1
3058 #ifdef GL_GLEXT_PROTOTYPES
3059 GLAPI void APIENTRY glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum);
3060 GLAPI void APIENTRY glFogCoordf (GLfloat);
3061 GLAPI void APIENTRY glFogCoordfv (const GLfloat *);
3062 GLAPI void APIENTRY glFogCoordd (GLdouble);
3063 GLAPI void APIENTRY glFogCoorddv (const GLdouble *);
3064 GLAPI void APIENTRY glFogCoordPointer (GLenum, GLsizei, const GLvoid *);
3065 GLAPI void APIENTRY glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei);
3066 GLAPI void APIENTRY glMultiDrawElements (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
3067 GLAPI void APIENTRY glPointParameterf (GLenum, GLfloat);
3068 GLAPI void APIENTRY glPointParameterfv (GLenum, const GLfloat *);
3069 GLAPI void APIENTRY glPointParameteri (GLenum, GLint);
3070 GLAPI void APIENTRY glPointParameteriv (GLenum, const GLint *);
3071 GLAPI void APIENTRY glSecondaryColor3b (GLbyte, GLbyte, GLbyte);
3072 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *);
3073 GLAPI void APIENTRY glSecondaryColor3d (GLdouble, GLdouble, GLdouble);
3074 GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *);
3075 GLAPI void APIENTRY glSecondaryColor3f (GLfloat, GLfloat, GLfloat);
3076 GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *);
3077 GLAPI void APIENTRY glSecondaryColor3i (GLint, GLint, GLint);
3078 GLAPI void APIENTRY glSecondaryColor3iv (const GLint *);
3079 GLAPI void APIENTRY glSecondaryColor3s (GLshort, GLshort, GLshort);
3080 GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *);
3081 GLAPI void APIENTRY glSecondaryColor3ub (GLubyte, GLubyte, GLubyte);
3082 GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *);
3083 GLAPI void APIENTRY glSecondaryColor3ui (GLuint, GLuint, GLuint);
3084 GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *);
3085 GLAPI void APIENTRY glSecondaryColor3us (GLushort, GLushort, GLushort);
3086 GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *);
3087 GLAPI void APIENTRY glSecondaryColorPointer (GLint, GLenum, GLsizei, const GLvoid *);
3088 GLAPI void APIENTRY glWindowPos2d (GLdouble, GLdouble);
3089 GLAPI void APIENTRY glWindowPos2dv (const GLdouble *);
3090 GLAPI void APIENTRY glWindowPos2f (GLfloat, GLfloat);
3091 GLAPI void APIENTRY glWindowPos2fv (const GLfloat *);
3092 GLAPI void APIENTRY glWindowPos2i (GLint, GLint);
3093 GLAPI void APIENTRY glWindowPos2iv (const GLint *);
3094 GLAPI void APIENTRY glWindowPos2s (GLshort, GLshort);
3095 GLAPI void APIENTRY glWindowPos2sv (const GLshort *);
3096 GLAPI void APIENTRY glWindowPos3d (GLdouble, GLdouble, GLdouble);
3097 GLAPI void APIENTRY glWindowPos3dv (const GLdouble *);
3098 GLAPI void APIENTRY glWindowPos3f (GLfloat, GLfloat, GLfloat);
3099 GLAPI void APIENTRY glWindowPos3fv (const GLfloat *);
3100 GLAPI void APIENTRY glWindowPos3i (GLint, GLint, GLint);
3101 GLAPI void APIENTRY glWindowPos3iv (const GLint *);
3102 GLAPI void APIENTRY glWindowPos3s (GLshort, GLshort, GLshort);
3103 GLAPI void APIENTRY glWindowPos3sv (const GLshort *);
3104 #endif /* GL_GLEXT_PROTOTYPES */
3105 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
3106 typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
3107 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
3108 typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
3109 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
3110 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
3111 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
3112 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
3113 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
3114 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
3115 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
3116 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
3117 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
3118 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
3119 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
3120 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
3121 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
3122 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
3123 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
3124 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
3125 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
3126 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
3127 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
3128 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
3129 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
3130 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
3131 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
3132 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
3133 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
3134 typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
3135 typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
3136 typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
3137 typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
3138 typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
3139 typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
3140 typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
3141 typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
3142 typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
3143 typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
3144 typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
3145 typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
3146 typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
3147 typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
3148 typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
3149 typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
3150 #endif
3151 
3152 #ifndef GL_VERSION_1_5
3153 #define GL_VERSION_1_5 1
3154 #ifdef GL_GLEXT_PROTOTYPES
3155 GLAPI void APIENTRY glGenQueries (GLsizei, GLuint *);
3156 GLAPI void APIENTRY glDeleteQueries (GLsizei, const GLuint *);
3157 GLAPI GLboolean APIENTRY glIsQuery (GLuint);
3158 GLAPI void APIENTRY glBeginQuery (GLenum, GLuint);
3159 GLAPI void APIENTRY glEndQuery (GLenum);
3160 GLAPI void APIENTRY glGetQueryiv (GLenum, GLenum, GLint *);
3161 GLAPI void APIENTRY glGetQueryObjectiv (GLuint, GLenum, GLint *);
3162 GLAPI void APIENTRY glGetQueryObjectuiv (GLuint, GLenum, GLuint *);
3163 GLAPI void APIENTRY glBindBuffer (GLenum, GLuint);
3164 GLAPI void APIENTRY glDeleteBuffers (GLsizei, const GLuint *);
3165 GLAPI void APIENTRY glGenBuffers (GLsizei, GLuint *);
3166 GLAPI GLboolean APIENTRY glIsBuffer (GLuint);
3167 GLAPI void APIENTRY glBufferData (GLenum, GLsizeiptr, const GLvoid *, GLenum);
3168 GLAPI void APIENTRY glBufferSubData (GLenum, GLintptr, GLsizeiptr, const GLvoid *);
3169 GLAPI void APIENTRY glGetBufferSubData (GLenum, GLintptr, GLsizeiptr, GLvoid *);
3170 GLAPI GLvoid* APIENTRY glMapBuffer (GLenum, GLenum);
3171 GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum);
3172 GLAPI void APIENTRY glGetBufferParameteriv (GLenum, GLenum, GLint *);
3173 GLAPI void APIENTRY glGetBufferPointerv (GLenum, GLenum, GLvoid* *);
3174 #endif /* GL_GLEXT_PROTOTYPES */
3175 typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
3176 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
3177 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
3178 typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
3179 typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
3180 typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
3181 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
3182 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
3183 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
3184 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
3185 typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
3186 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
3187 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
3188 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
3189 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
3190 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
3191 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
3192 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3193 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
3194 #endif
3195 
3196 #ifndef GL_ARB_multitexture
3197 #define GL_ARB_multitexture 1
3198 #ifdef GL_GLEXT_PROTOTYPES
3199 GLAPI void APIENTRY glActiveTextureARB (GLenum);
3200 GLAPI void APIENTRY glClientActiveTextureARB (GLenum);
3201 GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum, GLdouble);
3202 GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum, const GLdouble *);
3203 GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum, GLfloat);
3204 GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum, const GLfloat *);
3205 GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum, GLint);
3206 GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum, const GLint *);
3207 GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum, GLshort);
3208 GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum, const GLshort *);
3209 GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum, GLdouble, GLdouble);
3210 GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum, const GLdouble *);
3211 GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat);
3212 GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum, const GLfloat *);
3213 GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum, GLint, GLint);
3214 GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum, const GLint *);
3215 GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum, GLshort, GLshort);
3216 GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum, const GLshort *);
3217 GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum, GLdouble, GLdouble, GLdouble);
3218 GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum, const GLdouble *);
3219 GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum, GLfloat, GLfloat, GLfloat);
3220 GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum, const GLfloat *);
3221 GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum, GLint, GLint, GLint);
3222 GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum, const GLint *);
3223 GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum, GLshort, GLshort, GLshort);
3224 GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum, const GLshort *);
3225 GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
3226 GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum, const GLdouble *);
3227 GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
3228 GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum, const GLfloat *);
3229 GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum, GLint, GLint, GLint, GLint);
3230 GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum, const GLint *);
3231 GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum, GLshort, GLshort, GLshort, GLshort);
3232 GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum, const GLshort *);
3233 #endif /* GL_GLEXT_PROTOTYPES */
3234 typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
3235 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
3236 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
3237 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
3238 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
3239 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
3240 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
3241 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
3242 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
3243 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
3244 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
3245 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
3246 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
3247 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
3248 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
3249 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
3250 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
3251 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
3252 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3253 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
3254 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3255 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
3256 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
3257 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
3258 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
3259 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
3260 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3261 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
3262 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3263 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
3264 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
3265 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
3266 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3267 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
3268 #endif
3269 
3270 #ifndef GL_ARB_transpose_matrix
3271 #define GL_ARB_transpose_matrix 1
3272 #ifdef GL_GLEXT_PROTOTYPES
3273 GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *);
3274 GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *);
3275 GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *);
3276 GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *);
3277 #endif /* GL_GLEXT_PROTOTYPES */
3278 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
3279 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
3280 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
3281 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
3282 #endif
3283 
3284 #ifndef GL_ARB_multisample
3285 #define GL_ARB_multisample 1
3286 #ifdef GL_GLEXT_PROTOTYPES
3287 GLAPI void APIENTRY glSampleCoverageARB (GLclampf, GLboolean);
3288 #endif /* GL_GLEXT_PROTOTYPES */
3289 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
3290 #endif
3291 
3292 #ifndef GL_ARB_texture_env_add
3293 #define GL_ARB_texture_env_add 1
3294 #endif
3295 
3296 #ifndef GL_ARB_texture_cube_map
3297 #define GL_ARB_texture_cube_map 1
3298 #endif
3299 
3300 #ifndef GL_ARB_texture_compression
3301 #define GL_ARB_texture_compression 1
3302 #ifdef GL_GLEXT_PROTOTYPES
3303 GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
3304 GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
3305 GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
3306 GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
3307 GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
3308 GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
3309 GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, GLvoid *);
3310 #endif /* GL_GLEXT_PROTOTYPES */
3311 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
3312 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
3313 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
3314 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);
3315 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
3316 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
3317 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img);
3318 #endif
3319 
3320 #ifndef GL_ARB_texture_border_clamp
3321 #define GL_ARB_texture_border_clamp 1
3322 #endif
3323 
3324 #ifndef GL_ARB_point_parameters
3325 #define GL_ARB_point_parameters 1
3326 #ifdef GL_GLEXT_PROTOTYPES
3327 GLAPI void APIENTRY glPointParameterfARB (GLenum, GLfloat);
3328 GLAPI void APIENTRY glPointParameterfvARB (GLenum, const GLfloat *);
3329 #endif /* GL_GLEXT_PROTOTYPES */
3330 typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
3331 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
3332 #endif
3333 
3334 #ifndef GL_ARB_vertex_blend
3335 #define GL_ARB_vertex_blend 1
3336 #ifdef GL_GLEXT_PROTOTYPES
3337 GLAPI void APIENTRY glWeightbvARB (GLint, const GLbyte *);
3338 GLAPI void APIENTRY glWeightsvARB (GLint, const GLshort *);
3339 GLAPI void APIENTRY glWeightivARB (GLint, const GLint *);
3340 GLAPI void APIENTRY glWeightfvARB (GLint, const GLfloat *);
3341 GLAPI void APIENTRY glWeightdvARB (GLint, const GLdouble *);
3342 GLAPI void APIENTRY glWeightubvARB (GLint, const GLubyte *);
3343 GLAPI void APIENTRY glWeightusvARB (GLint, const GLushort *);
3344 GLAPI void APIENTRY glWeightuivARB (GLint, const GLuint *);
3345 GLAPI void APIENTRY glWeightPointerARB (GLint, GLenum, GLsizei, const GLvoid *);
3346 GLAPI void APIENTRY glVertexBlendARB (GLint);
3347 #endif /* GL_GLEXT_PROTOTYPES */
3348 typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
3349 typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
3350 typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
3351 typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
3352 typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
3353 typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
3354 typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
3355 typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
3356 typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
3357 typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
3358 #endif
3359 
3360 #ifndef GL_ARB_matrix_palette
3361 #define GL_ARB_matrix_palette 1
3362 #ifdef GL_GLEXT_PROTOTYPES
3363 GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint);
3364 GLAPI void APIENTRY glMatrixIndexubvARB (GLint, const GLubyte *);
3365 GLAPI void APIENTRY glMatrixIndexusvARB (GLint, const GLushort *);
3366 GLAPI void APIENTRY glMatrixIndexuivARB (GLint, const GLuint *);
3367 GLAPI void APIENTRY glMatrixIndexPointerARB (GLint, GLenum, GLsizei, const GLvoid *);
3368 #endif /* GL_GLEXT_PROTOTYPES */
3369 typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
3370 typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
3371 typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
3372 typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
3373 typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
3374 #endif
3375 
3376 #ifndef GL_ARB_texture_env_combine
3377 #define GL_ARB_texture_env_combine 1
3378 #endif
3379 
3380 #ifndef GL_ARB_texture_env_crossbar
3381 #define GL_ARB_texture_env_crossbar 1
3382 #endif
3383 
3384 #ifndef GL_ARB_texture_env_dot3
3385 #define GL_ARB_texture_env_dot3 1
3386 #endif
3387 
3388 #ifndef GL_ARB_texture_mirrored_repeat
3389 #define GL_ARB_texture_mirrored_repeat 1
3390 #endif
3391 
3392 #ifndef GL_ARB_depth_texture
3393 #define GL_ARB_depth_texture 1
3394 #endif
3395 
3396 #ifndef GL_ARB_shadow
3397 #define GL_ARB_shadow 1
3398 #endif
3399 
3400 #ifndef GL_ARB_shadow_ambient
3401 #define GL_ARB_shadow_ambient 1
3402 #endif
3403 
3404 #ifndef GL_ARB_window_pos
3405 #define GL_ARB_window_pos 1
3406 #ifdef GL_GLEXT_PROTOTYPES
3407 GLAPI void APIENTRY glWindowPos2dARB (GLdouble, GLdouble);
3408 GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *);
3409 GLAPI void APIENTRY glWindowPos2fARB (GLfloat, GLfloat);
3410 GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *);
3411 GLAPI void APIENTRY glWindowPos2iARB (GLint, GLint);
3412 GLAPI void APIENTRY glWindowPos2ivARB (const GLint *);
3413 GLAPI void APIENTRY glWindowPos2sARB (GLshort, GLshort);
3414 GLAPI void APIENTRY glWindowPos2svARB (const GLshort *);
3415 GLAPI void APIENTRY glWindowPos3dARB (GLdouble, GLdouble, GLdouble);
3416 GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *);
3417 GLAPI void APIENTRY glWindowPos3fARB (GLfloat, GLfloat, GLfloat);
3418 GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *);
3419 GLAPI void APIENTRY glWindowPos3iARB (GLint, GLint, GLint);
3420 GLAPI void APIENTRY glWindowPos3ivARB (const GLint *);
3421 GLAPI void APIENTRY glWindowPos3sARB (GLshort, GLshort, GLshort);
3422 GLAPI void APIENTRY glWindowPos3svARB (const GLshort *);
3423 #endif /* GL_GLEXT_PROTOTYPES */
3424 typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
3425 typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
3426 typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
3427 typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
3428 typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
3429 typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
3430 typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
3431 typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
3432 typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
3433 typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
3434 typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
3435 typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
3436 typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
3437 typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
3438 typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
3439 typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
3440 #endif
3441 
3442 #ifndef GL_ARB_vertex_program
3443 #define GL_ARB_vertex_program 1
3444 #ifdef GL_GLEXT_PROTOTYPES
3445 GLAPI void APIENTRY glVertexAttrib1dARB (GLuint, GLdouble);
3446 GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint, const GLdouble *);
3447 GLAPI void APIENTRY glVertexAttrib1fARB (GLuint, GLfloat);
3448 GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint, const GLfloat *);
3449 GLAPI void APIENTRY glVertexAttrib1sARB (GLuint, GLshort);
3450 GLAPI void APIENTRY glVertexAttrib1svARB (GLuint, const GLshort *);
3451 GLAPI void APIENTRY glVertexAttrib2dARB (GLuint, GLdouble, GLdouble);
3452 GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint, const GLdouble *);
3453 GLAPI void APIENTRY glVertexAttrib2fARB (GLuint, GLfloat, GLfloat);
3454 GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint, const GLfloat *);
3455 GLAPI void APIENTRY glVertexAttrib2sARB (GLuint, GLshort, GLshort);
3456 GLAPI void APIENTRY glVertexAttrib2svARB (GLuint, const GLshort *);
3457 GLAPI void APIENTRY glVertexAttrib3dARB (GLuint, GLdouble, GLdouble, GLdouble);
3458 GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint, const GLdouble *);
3459 GLAPI void APIENTRY glVertexAttrib3fARB (GLuint, GLfloat, GLfloat, GLfloat);
3460 GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint, const GLfloat *);
3461 GLAPI void APIENTRY glVertexAttrib3sARB (GLuint, GLshort, GLshort, GLshort);
3462 GLAPI void APIENTRY glVertexAttrib3svARB (GLuint, const GLshort *);
3463 GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint, const GLbyte *);
3464 GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint, const GLint *);
3465 GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint, const GLshort *);
3466 GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
3467 GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint, const GLubyte *);
3468 GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint, const GLuint *);
3469 GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint, const GLushort *);
3470 GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint, const GLbyte *);
3471 GLAPI void APIENTRY glVertexAttrib4dARB (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
3472 GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint, const GLdouble *);
3473 GLAPI void APIENTRY glVertexAttrib4fARB (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
3474 GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint, const GLfloat *);
3475 GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint, const GLint *);
3476 GLAPI void APIENTRY glVertexAttrib4sARB (GLuint, GLshort, GLshort, GLshort, GLshort);
3477 GLAPI void APIENTRY glVertexAttrib4svARB (GLuint, const GLshort *);
3478 GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint, const GLubyte *);
3479 GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint, const GLuint *);
3480 GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint, const GLushort *);
3481 GLAPI void APIENTRY glVertexAttribPointerARB (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
3482 GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint);
3483 GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint);
3484 GLAPI void APIENTRY glProgramStringARB (GLenum, GLenum, GLsizei, const GLvoid *);
3485 GLAPI void APIENTRY glBindProgramARB (GLenum, GLuint);
3486 GLAPI void APIENTRY glDeleteProgramsARB (GLsizei, const GLuint *);
3487 GLAPI void APIENTRY glGenProgramsARB (GLsizei, GLuint *);
3488 GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
3489 GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum, GLuint, const GLdouble *);
3490 GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
3491 GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum, GLuint, const GLfloat *);
3492 GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
3493 GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum, GLuint, const GLdouble *);
3494 GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
3495 GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum, GLuint, const GLfloat *);
3496 GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum, GLuint, GLdouble *);
3497 GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum, GLuint, GLfloat *);
3498 GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum, GLuint, GLdouble *);
3499 GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum, GLuint, GLfloat *);
3500 GLAPI void APIENTRY glGetProgramivARB (GLenum, GLenum, GLint *);
3501 GLAPI void APIENTRY glGetProgramStringARB (GLenum, GLenum, GLvoid *);
3502 GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint, GLenum, GLdouble *);
3503 GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint, GLenum, GLfloat *);
3504 GLAPI void APIENTRY glGetVertexAttribivARB (GLuint, GLenum, GLint *);
3505 GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint, GLenum, GLvoid* *);
3506 GLAPI GLboolean APIENTRY glIsProgramARB (GLuint);
3507 #endif /* GL_GLEXT_PROTOTYPES */
3508 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
3509 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
3510 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
3511 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
3512 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
3513 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
3514 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
3515 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
3516 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
3517 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
3518 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
3519 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
3520 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
3521 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
3522 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
3523 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
3524 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
3525 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
3526 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
3527 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
3528 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
3529 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
3530 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
3531 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
3532 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
3533 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
3534 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3535 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
3536 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3537 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
3538 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
3539 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
3540 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
3541 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
3542 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
3543 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
3544 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
3545 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
3546 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
3547 typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
3548 typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
3549 typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
3550 typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
3551 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3552 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
3553 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3554 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
3555 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3556 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
3557 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3558 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
3559 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
3560 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
3561 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
3562 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
3563 typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3564 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string);
3565 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
3566 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
3567 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
3568 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
3569 typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
3570 #endif
3571 
3572 #ifndef GL_ARB_fragment_program
3573 #define GL_ARB_fragment_program 1
3574 /* All ARB_fragment_program entry points are shared with ARB_vertex_program. */
3575 #endif
3576 
3577 #ifndef GL_ARB_vertex_buffer_object
3578 #define GL_ARB_vertex_buffer_object 1
3579 #ifdef GL_GLEXT_PROTOTYPES
3580 GLAPI void APIENTRY glBindBufferARB (GLenum, GLuint);
3581 GLAPI void APIENTRY glDeleteBuffersARB (GLsizei, const GLuint *);
3582 GLAPI void APIENTRY glGenBuffersARB (GLsizei, GLuint *);
3583 GLAPI GLboolean APIENTRY glIsBufferARB (GLuint);
3584 GLAPI void APIENTRY glBufferDataARB (GLenum, GLsizeiptrARB, const GLvoid *, GLenum);
3585 GLAPI void APIENTRY glBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *);
3586 GLAPI void APIENTRY glGetBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *);
3587 GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum, GLenum);
3588 GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum);
3589 GLAPI void APIENTRY glGetBufferParameterivARB (GLenum, GLenum, GLint *);
3590 GLAPI void APIENTRY glGetBufferPointervARB (GLenum, GLenum, GLvoid* *);
3591 #endif /* GL_GLEXT_PROTOTYPES */
3592 typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
3593 typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
3594 typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
3595 typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
3596 typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
3597 typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
3598 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
3599 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
3600 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
3601 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3602 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params);
3603 #endif
3604 
3605 #ifndef GL_ARB_occlusion_query
3606 #define GL_ARB_occlusion_query 1
3607 #ifdef GL_GLEXT_PROTOTYPES
3608 GLAPI void APIENTRY glGenQueriesARB (GLsizei, GLuint *);
3609 GLAPI void APIENTRY glDeleteQueriesARB (GLsizei, const GLuint *);
3610 GLAPI GLboolean APIENTRY glIsQueryARB (GLuint);
3611 GLAPI void APIENTRY glBeginQueryARB (GLenum, GLuint);
3612 GLAPI void APIENTRY glEndQueryARB (GLenum);
3613 GLAPI void APIENTRY glGetQueryivARB (GLenum, GLenum, GLint *);
3614 GLAPI void APIENTRY glGetQueryObjectivARB (GLuint, GLenum, GLint *);
3615 GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint, GLenum, GLuint *);
3616 #endif /* GL_GLEXT_PROTOTYPES */
3617 typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
3618 typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
3619 typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
3620 typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
3621 typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
3622 typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3623 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
3624 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
3625 #endif
3626 
3627 #ifndef GL_ARB_shader_objects
3628 #define GL_ARB_shader_objects 1
3629 #ifdef GL_GLEXT_PROTOTYPES
3630 GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB);
3631 GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum);
3632 GLAPI void APIENTRY glDetachObjectARB (GLhandleARB, GLhandleARB);
3633 GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum);
3634 GLAPI void APIENTRY glShaderSourceARB (GLhandleARB, GLsizei, const GLcharARB* *, const GLint *);
3635 GLAPI void APIENTRY glCompileShaderARB (GLhandleARB);
3636 GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
3637 GLAPI void APIENTRY glAttachObjectARB (GLhandleARB, GLhandleARB);
3638 GLAPI void APIENTRY glLinkProgramARB (GLhandleARB);
3639 GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB);
3640 GLAPI void APIENTRY glValidateProgramARB (GLhandleARB);
3641 GLAPI void APIENTRY glUniform1fARB (GLint, GLfloat);
3642 GLAPI void APIENTRY glUniform2fARB (GLint, GLfloat, GLfloat);
3643 GLAPI void APIENTRY glUniform3fARB (GLint, GLfloat, GLfloat, GLfloat);
3644 GLAPI void APIENTRY glUniform4fARB (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
3645 GLAPI void APIENTRY glUniform1iARB (GLint, GLint);
3646 GLAPI void APIENTRY glUniform2iARB (GLint, GLint, GLint);
3647 GLAPI void APIENTRY glUniform3iARB (GLint, GLint, GLint, GLint);
3648 GLAPI void APIENTRY glUniform4iARB (GLint, GLint, GLint, GLint, GLint);
3649 GLAPI void APIENTRY glUniform1fvARB (GLint, GLsizei, const GLfloat *);
3650 GLAPI void APIENTRY glUniform2fvARB (GLint, GLsizei, const GLfloat *);
3651 GLAPI void APIENTRY glUniform3fvARB (GLint, GLsizei, const GLfloat *);
3652 GLAPI void APIENTRY glUniform4fvARB (GLint, GLsizei, const GLfloat *);
3653 GLAPI void APIENTRY glUniform1ivARB (GLint, GLsizei, const GLint *);
3654 GLAPI void APIENTRY glUniform2ivARB (GLint, GLsizei, const GLint *);
3655 GLAPI void APIENTRY glUniform3ivARB (GLint, GLsizei, const GLint *);
3656 GLAPI void APIENTRY glUniform4ivARB (GLint, GLsizei, const GLint *);
3657 GLAPI void APIENTRY glUniformMatrix2fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
3658 GLAPI void APIENTRY glUniformMatrix3fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
3659 GLAPI void APIENTRY glUniformMatrix4fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
3660 GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB, GLenum, GLfloat *);
3661 GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB, GLenum, GLint *);
3662 GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
3663 GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB, GLsizei, GLsizei *, GLhandleARB *);
3664 GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB, const GLcharARB *);
3665 GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
3666 GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB, GLint, GLfloat *);
3667 GLAPI void APIENTRY glGetUniformivARB (GLhandleARB, GLint, GLint *);
3668 GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
3669 #endif /* GL_GLEXT_PROTOTYPES */
3670 typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
3671 typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
3672 typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
3673 typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
3674 typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
3675 typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
3676 typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
3677 typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
3678 typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
3679 typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
3680 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
3681 typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
3682 typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
3683 typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
3684 typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
3685 typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
3686 typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
3687 typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
3688 typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
3689 typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3690 typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3691 typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3692 typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
3693 typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3694 typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3695 typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3696 typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
3697 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3698 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3699 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3700 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
3701 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
3702 typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
3703 typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
3704 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
3705 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
3706 typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
3707 typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
3708 typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
3709 #endif
3710 
3711 #ifndef GL_ARB_vertex_shader
3712 #define GL_ARB_vertex_shader 1
3713 #ifdef GL_GLEXT_PROTOTYPES
3714 GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB, GLuint, const GLcharARB *);
3715 GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
3716 GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB, const GLcharARB *);
3717 #endif /* GL_GLEXT_PROTOTYPES */
3718 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
3719 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
3720 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
3721 #endif
3722 
3723 #ifndef GL_ARB_fragment_shader
3724 #define GL_ARB_fragment_shader 1
3725 #endif
3726 
3727 #ifndef GL_ARB_shading_language_100
3728 #define GL_ARB_shading_language_100 1
3729 #endif
3730 
3731 #ifndef GL_ARB_texture_non_power_of_two
3732 #define GL_ARB_texture_non_power_of_two 1
3733 #endif
3734 
3735 #ifndef GL_ARB_point_sprite
3736 #define GL_ARB_point_sprite 1
3737 #endif
3738 
3739 #ifndef GL_ARB_fragment_program_shadow
3740 #define GL_ARB_fragment_program_shadow 1
3741 #endif
3742 
3743 #ifndef GL_ARB_draw_buffers
3744 #define GL_ARB_draw_buffers 1
3745 #ifdef GL_GLEXT_PROTOTYPES
3746 GLAPI void APIENTRY glDrawBuffersARB (GLsizei, const GLenum *);
3747 #endif /* GL_GLEXT_PROTOTYPES */
3748 typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
3749 #endif
3750 
3751 #ifndef GL_ARB_texture_rectangle
3752 #define GL_ARB_texture_rectangle 1
3753 #endif
3754 
3755 #ifndef GL_EXT_abgr
3756 #define GL_EXT_abgr 1
3757 #endif
3758 
3759 #ifndef GL_EXT_blend_color
3760 #define GL_EXT_blend_color 1
3761 #ifdef GL_GLEXT_PROTOTYPES
3762 GLAPI void APIENTRY glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf);
3763 #endif /* GL_GLEXT_PROTOTYPES */
3764 typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
3765 #endif
3766 
3767 #ifndef GL_EXT_polygon_offset
3768 #define GL_EXT_polygon_offset 1
3769 #ifdef GL_GLEXT_PROTOTYPES
3770 GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat, GLfloat);
3771 #endif /* GL_GLEXT_PROTOTYPES */
3772 typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
3773 #endif
3774 
3775 #ifndef GL_EXT_texture
3776 #define GL_EXT_texture 1
3777 #endif
3778 
3779 #ifndef GL_EXT_texture3D
3780 #define GL_EXT_texture3D 1
3781 #ifdef GL_GLEXT_PROTOTYPES
3782 GLAPI void APIENTRY glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
3783 GLAPI void APIENTRY glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
3784 #endif /* GL_GLEXT_PROTOTYPES */
3785 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);
3786 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);
3787 #endif
3788 
3789 #ifndef GL_SGIS_texture_filter4
3790 #define GL_SGIS_texture_filter4 1
3791 #ifdef GL_GLEXT_PROTOTYPES
3792 GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *);
3793 GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *);
3794 #endif /* GL_GLEXT_PROTOTYPES */
3795 typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
3796 typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
3797 #endif
3798 
3799 #ifndef GL_EXT_subtexture
3800 #define GL_EXT_subtexture 1
3801 #ifdef GL_GLEXT_PROTOTYPES
3802 GLAPI void APIENTRY glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
3803 GLAPI void APIENTRY glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
3804 #endif /* GL_GLEXT_PROTOTYPES */
3805 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
3806 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
3807 #endif
3808 
3809 #ifndef GL_EXT_copy_texture
3810 #define GL_EXT_copy_texture 1
3811 #ifdef GL_GLEXT_PROTOTYPES
3812 GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
3813 GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
3814 GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei);
3815 GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
3816 GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
3817 #endif /* GL_GLEXT_PROTOTYPES */
3818 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
3819 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
3820 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
3821 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
3822 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
3823 #endif
3824 
3825 #ifndef GL_EXT_histogram
3826 #define GL_EXT_histogram 1
3827 #ifdef GL_GLEXT_PROTOTYPES
3828 GLAPI void APIENTRY glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
3829 GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *);
3830 GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum, GLenum, GLint *);
3831 GLAPI void APIENTRY glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
3832 GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *);
3833 GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *);
3834 GLAPI void APIENTRY glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean);
3835 GLAPI void APIENTRY glMinmaxEXT (GLenum, GLenum, GLboolean);
3836 GLAPI void APIENTRY glResetHistogramEXT (GLenum);
3837 GLAPI void APIENTRY glResetMinmaxEXT (GLenum);
3838 #endif /* GL_GLEXT_PROTOTYPES */
3839 typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
3840 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
3841 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
3842 typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
3843 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
3844 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
3845 typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3846 typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
3847 typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
3848 typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
3849 #endif
3850 
3851 #ifndef GL_EXT_convolution
3852 #define GL_EXT_convolution 1
3853 #ifdef GL_GLEXT_PROTOTYPES
3854 GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
3855 GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
3856 GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum, GLenum, GLfloat);
3857 GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *);
3858 GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum, GLenum, GLint);
3859 GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum, GLenum, const GLint *);
3860 GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei);
3861 GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
3862 GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *);
3863 GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *);
3864 GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *);
3865 GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
3866 GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
3867 #endif /* GL_GLEXT_PROTOTYPES */
3868 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
3869 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
3870 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
3871 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
3872 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
3873 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
3874 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3875 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3876 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
3877 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
3878 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
3879 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
3880 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
3881 #endif
3882 
3883 #ifndef GL_EXT_color_matrix
3884 #define GL_EXT_color_matrix 1
3885 #endif
3886 
3887 #ifndef GL_SGI_color_table
3888 #define GL_SGI_color_table 1
3889 #ifdef GL_GLEXT_PROTOTYPES
3890 GLAPI void APIENTRY glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
3891 GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *);
3892 GLAPI void APIENTRY glColorTableParameterivSGI (GLenum, GLenum, const GLint *);
3893 GLAPI void APIENTRY glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei);
3894 GLAPI void APIENTRY glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *);
3895 GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *);
3896 GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum, GLenum, GLint *);
3897 #endif /* GL_GLEXT_PROTOTYPES */
3898 typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
3899 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
3900 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
3901 typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3902 typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
3903 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
3904 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
3905 #endif
3906 
3907 #ifndef GL_SGIX_pixel_texture
3908 #define GL_SGIX_pixel_texture 1
3909 #ifdef GL_GLEXT_PROTOTYPES
3910 GLAPI void APIENTRY glPixelTexGenSGIX (GLenum);
3911 #endif /* GL_GLEXT_PROTOTYPES */
3912 typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
3913 #endif
3914 
3915 #ifndef GL_SGIS_pixel_texture
3916 #define GL_SGIS_pixel_texture 1
3917 #ifdef GL_GLEXT_PROTOTYPES
3918 GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum, GLint);
3919 GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum, const GLint *);
3920 GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum, GLfloat);
3921 GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *);
3922 GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum, GLint *);
3923 GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *);
3924 #endif /* GL_GLEXT_PROTOTYPES */
3925 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
3926 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
3927 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
3928 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
3929 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
3930 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
3931 #endif
3932 
3933 #ifndef GL_SGIS_texture4D
3934 #define GL_SGIS_texture4D 1
3935 #ifdef GL_GLEXT_PROTOTYPES
3936 GLAPI void APIENTRY glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
3937 GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
3938 #endif /* GL_GLEXT_PROTOTYPES */
3939 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);
3940 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);
3941 #endif
3942 
3943 #ifndef GL_SGI_texture_color_table
3944 #define GL_SGI_texture_color_table 1
3945 #endif
3946 
3947 #ifndef GL_EXT_cmyka
3948 #define GL_EXT_cmyka 1
3949 #endif
3950 
3951 #ifndef GL_EXT_texture_object
3952 #define GL_EXT_texture_object 1
3953 #ifdef GL_GLEXT_PROTOTYPES
3954 GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *);
3955 GLAPI void APIENTRY glBindTextureEXT (GLenum, GLuint);
3956 GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei, const GLuint *);
3957 GLAPI void APIENTRY glGenTexturesEXT (GLsizei, GLuint *);
3958 GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint);
3959 GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *);
3960 #endif /* GL_GLEXT_PROTOTYPES */
3961 typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
3962 typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
3963 typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
3964 typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
3965 typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
3966 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
3967 #endif
3968 
3969 #ifndef GL_SGIS_detail_texture
3970 #define GL_SGIS_detail_texture 1
3971 #ifdef GL_GLEXT_PROTOTYPES
3972 GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
3973 GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum, GLfloat *);
3974 #endif /* GL_GLEXT_PROTOTYPES */
3975 typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
3976 typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
3977 #endif
3978 
3979 #ifndef GL_SGIS_sharpen_texture
3980 #define GL_SGIS_sharpen_texture 1
3981 #ifdef GL_GLEXT_PROTOTYPES
3982 GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
3983 GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum, GLfloat *);
3984 #endif /* GL_GLEXT_PROTOTYPES */
3985 typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
3986 typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
3987 #endif
3988 
3989 #ifndef GL_EXT_packed_pixels
3990 #define GL_EXT_packed_pixels 1
3991 #endif
3992 
3993 #ifndef GL_SGIS_texture_lod
3994 #define GL_SGIS_texture_lod 1
3995 #endif
3996 
3997 #ifndef GL_SGIS_multisample
3998 #define GL_SGIS_multisample 1
3999 #ifdef GL_GLEXT_PROTOTYPES
4000 GLAPI void APIENTRY glSampleMaskSGIS (GLclampf, GLboolean);
4001 GLAPI void APIENTRY glSamplePatternSGIS (GLenum);
4002 #endif /* GL_GLEXT_PROTOTYPES */
4003 typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
4004 typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
4005 #endif
4006 
4007 #ifndef GL_EXT_rescale_normal
4008 #define GL_EXT_rescale_normal 1
4009 #endif
4010 
4011 #ifndef GL_EXT_vertex_array
4012 #define GL_EXT_vertex_array 1
4013 #ifdef GL_GLEXT_PROTOTYPES
4014 GLAPI void APIENTRY glArrayElementEXT (GLint);
4015 GLAPI void APIENTRY glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
4016 GLAPI void APIENTRY glDrawArraysEXT (GLenum, GLint, GLsizei);
4017 GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *);
4018 GLAPI void APIENTRY glGetPointervEXT (GLenum, GLvoid* *);
4019 GLAPI void APIENTRY glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
4020 GLAPI void APIENTRY glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
4021 GLAPI void APIENTRY glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
4022 GLAPI void APIENTRY glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
4023 #endif /* GL_GLEXT_PROTOTYPES */
4024 typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
4025 typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
4026 typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
4027 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
4028 typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
4029 typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
4030 typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
4031 typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
4032 typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
4033 #endif
4034 
4035 #ifndef GL_EXT_misc_attribute
4036 #define GL_EXT_misc_attribute 1
4037 #endif
4038 
4039 #ifndef GL_SGIS_generate_mipmap
4040 #define GL_SGIS_generate_mipmap 1
4041 #endif
4042 
4043 #ifndef GL_SGIX_clipmap
4044 #define GL_SGIX_clipmap 1
4045 #endif
4046 
4047 #ifndef GL_SGIX_shadow
4048 #define GL_SGIX_shadow 1
4049 #endif
4050 
4051 #ifndef GL_SGIS_texture_edge_clamp
4052 #define GL_SGIS_texture_edge_clamp 1
4053 #endif
4054 
4055 #ifndef GL_SGIS_texture_border_clamp
4056 #define GL_SGIS_texture_border_clamp 1
4057 #endif
4058 
4059 #ifndef GL_EXT_blend_minmax
4060 #define GL_EXT_blend_minmax 1
4061 #ifdef GL_GLEXT_PROTOTYPES
4062 GLAPI void APIENTRY glBlendEquationEXT (GLenum);
4063 #endif /* GL_GLEXT_PROTOTYPES */
4064 typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
4065 #endif
4066 
4067 #ifndef GL_EXT_blend_subtract
4068 #define GL_EXT_blend_subtract 1
4069 #endif
4070 
4071 #ifndef GL_EXT_blend_logic_op
4072 #define GL_EXT_blend_logic_op 1
4073 #endif
4074 
4075 #ifndef GL_SGIX_interlace
4076 #define GL_SGIX_interlace 1
4077 #endif
4078 
4079 #ifndef GL_SGIX_pixel_tiles
4080 #define GL_SGIX_pixel_tiles 1
4081 #endif
4082 
4083 #ifndef GL_SGIX_texture_select
4084 #define GL_SGIX_texture_select 1
4085 #endif
4086 
4087 #ifndef GL_SGIX_sprite
4088 #define GL_SGIX_sprite 1
4089 #ifdef GL_GLEXT_PROTOTYPES
4090 GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum, GLfloat);
4091 GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum, const GLfloat *);
4092 GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum, GLint);
4093 GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum, const GLint *);
4094 #endif /* GL_GLEXT_PROTOTYPES */
4095 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
4096 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
4097 typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
4098 typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
4099 #endif
4100 
4101 #ifndef GL_SGIX_texture_multi_buffer
4102 #define GL_SGIX_texture_multi_buffer 1
4103 #endif
4104 
4105 #ifndef GL_EXT_point_parameters
4106 #define GL_EXT_point_parameters 1
4107 #ifdef GL_GLEXT_PROTOTYPES
4108 GLAPI void APIENTRY glPointParameterfEXT (GLenum, GLfloat);
4109 GLAPI void APIENTRY glPointParameterfvEXT (GLenum, const GLfloat *);
4110 #endif /* GL_GLEXT_PROTOTYPES */
4111 typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
4112 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
4113 #endif
4114 
4115 #ifndef GL_SGIS_point_parameters
4116 #define GL_SGIS_point_parameters 1
4117 #ifdef GL_GLEXT_PROTOTYPES
4118 GLAPI void APIENTRY glPointParameterfSGIS (GLenum, GLfloat);
4119 GLAPI void APIENTRY glPointParameterfvSGIS (GLenum, const GLfloat *);
4120 #endif /* GL_GLEXT_PROTOTYPES */
4121 typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
4122 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
4123 #endif
4124 
4125 #ifndef GL_SGIX_instruments
4126 #define GL_SGIX_instruments 1
4127 #ifdef GL_GLEXT_PROTOTYPES
4128 GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
4129 GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei, GLint *);
4130 GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *);
4131 GLAPI void APIENTRY glReadInstrumentsSGIX (GLint);
4132 GLAPI void APIENTRY glStartInstrumentsSGIX (void);
4133 GLAPI void APIENTRY glStopInstrumentsSGIX (GLint);
4134 #endif /* GL_GLEXT_PROTOTYPES */
4135 typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
4136 typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
4137 typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
4138 typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
4139 typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
4140 typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
4141 #endif
4142 
4143 #ifndef GL_SGIX_texture_scale_bias
4144 #define GL_SGIX_texture_scale_bias 1
4145 #endif
4146 
4147 #ifndef GL_SGIX_framezoom
4148 #define GL_SGIX_framezoom 1
4149 #ifdef GL_GLEXT_PROTOTYPES
4150 GLAPI void APIENTRY glFrameZoomSGIX (GLint);
4151 #endif /* GL_GLEXT_PROTOTYPES */
4152 typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
4153 #endif
4154 
4155 #ifndef GL_SGIX_tag_sample_buffer
4156 #define GL_SGIX_tag_sample_buffer 1
4157 #ifdef GL_GLEXT_PROTOTYPES
4158 GLAPI void APIENTRY glTagSampleBufferSGIX (void);
4159 #endif /* GL_GLEXT_PROTOTYPES */
4160 typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
4161 #endif
4162 
4163 #ifndef GL_SGIX_polynomial_ffd
4164 #define GL_SGIX_polynomial_ffd 1
4165 #ifdef GL_GLEXT_PROTOTYPES
4166 GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
4167 GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
4168 GLAPI void APIENTRY glDeformSGIX (GLbitfield);
4169 GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield);
4170 #endif /* GL_GLEXT_PROTOTYPES */
4171 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);
4172 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);
4173 typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
4174 typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
4175 #endif
4176 
4177 #ifndef GL_SGIX_reference_plane
4178 #define GL_SGIX_reference_plane 1
4179 #ifdef GL_GLEXT_PROTOTYPES
4180 GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *);
4181 #endif /* GL_GLEXT_PROTOTYPES */
4182 typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
4183 #endif
4184 
4185 #ifndef GL_SGIX_flush_raster
4186 #define GL_SGIX_flush_raster 1
4187 #ifdef GL_GLEXT_PROTOTYPES
4188 GLAPI void APIENTRY glFlushRasterSGIX (void);
4189 #endif /* GL_GLEXT_PROTOTYPES */
4190 typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
4191 #endif
4192 
4193 #ifndef GL_SGIX_depth_texture
4194 #define GL_SGIX_depth_texture 1
4195 #endif
4196 
4197 #ifndef GL_SGIS_fog_function
4198 #define GL_SGIS_fog_function 1
4199 #ifdef GL_GLEXT_PROTOTYPES
4200 GLAPI void APIENTRY glFogFuncSGIS (GLsizei, const GLfloat *);
4201 GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *);
4202 #endif /* GL_GLEXT_PROTOTYPES */
4203 typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
4204 typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
4205 #endif
4206 
4207 #ifndef GL_SGIX_fog_offset
4208 #define GL_SGIX_fog_offset 1
4209 #endif
4210 
4211 #ifndef GL_HP_image_transform
4212 #define GL_HP_image_transform 1
4213 #ifdef GL_GLEXT_PROTOTYPES
4214 GLAPI void APIENTRY glImageTransformParameteriHP (GLenum, GLenum, GLint);
4215 GLAPI void APIENTRY glImageTransformParameterfHP (GLenum, GLenum, GLfloat);
4216 GLAPI void APIENTRY glImageTransformParameterivHP (GLenum, GLenum, const GLint *);
4217 GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *);
4218 GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum, GLenum, GLint *);
4219 GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *);
4220 #endif /* GL_GLEXT_PROTOTYPES */
4221 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
4222 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
4223 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
4224 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
4225 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
4226 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
4227 #endif
4228 
4229 #ifndef GL_HP_convolution_border_modes
4230 #define GL_HP_convolution_border_modes 1
4231 #endif
4232 
4233 #ifndef GL_SGIX_texture_add_env
4234 #define GL_SGIX_texture_add_env 1
4235 #endif
4236 
4237 #ifndef GL_EXT_color_subtable
4238 #define GL_EXT_color_subtable 1
4239 #ifdef GL_GLEXT_PROTOTYPES
4240 GLAPI void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
4241 GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei);
4242 #endif /* GL_GLEXT_PROTOTYPES */
4243 typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
4244 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
4245 #endif
4246 
4247 #ifndef GL_PGI_vertex_hints
4248 #define GL_PGI_vertex_hints 1
4249 #endif
4250 
4251 #ifndef GL_PGI_misc_hints
4252 #define GL_PGI_misc_hints 1
4253 #ifdef GL_GLEXT_PROTOTYPES
4254 GLAPI void APIENTRY glHintPGI (GLenum, GLint);
4255 #endif /* GL_GLEXT_PROTOTYPES */
4256 typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
4257 #endif
4258 
4259 #ifndef GL_EXT_paletted_texture
4260 #define GL_EXT_paletted_texture 1
4261 #ifdef GL_GLEXT_PROTOTYPES
4262 GLAPI void APIENTRY glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
4263 GLAPI void APIENTRY glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *);
4264 GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum, GLenum, GLint *);
4265 GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *);
4266 #endif /* GL_GLEXT_PROTOTYPES */
4267 typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
4268 typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data);
4269 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
4270 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
4271 #endif
4272 
4273 #ifndef GL_EXT_clip_volume_hint
4274 #define GL_EXT_clip_volume_hint 1
4275 #endif
4276 
4277 #ifndef GL_SGIX_list_priority
4278 #define GL_SGIX_list_priority 1
4279 #ifdef GL_GLEXT_PROTOTYPES
4280 GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *);
4281 GLAPI void APIENTRY glGetListParameterivSGIX (GLuint, GLenum, GLint *);
4282 GLAPI void APIENTRY glListParameterfSGIX (GLuint, GLenum, GLfloat);
4283 GLAPI void APIENTRY glListParameterfvSGIX (GLuint, GLenum, const GLfloat *);
4284 GLAPI void APIENTRY glListParameteriSGIX (GLuint, GLenum, GLint);
4285 GLAPI void APIENTRY glListParameterivSGIX (GLuint, GLenum, const GLint *);
4286 #endif /* GL_GLEXT_PROTOTYPES */
4287 typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
4288 typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
4289 typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
4290 typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
4291 typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
4292 typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
4293 #endif
4294 
4295 #ifndef GL_SGIX_ir_instrument1
4296 #define GL_SGIX_ir_instrument1 1
4297 #endif
4298 
4299 #ifndef GL_SGIX_calligraphic_fragment
4300 #define GL_SGIX_calligraphic_fragment 1
4301 #endif
4302 
4303 #ifndef GL_SGIX_texture_lod_bias
4304 #define GL_SGIX_texture_lod_bias 1
4305 #endif
4306 
4307 #ifndef GL_SGIX_shadow_ambient
4308 #define GL_SGIX_shadow_ambient 1
4309 #endif
4310 
4311 #ifndef GL_EXT_index_texture
4312 #define GL_EXT_index_texture 1
4313 #endif
4314 
4315 #ifndef GL_EXT_index_material
4316 #define GL_EXT_index_material 1
4317 #ifdef GL_GLEXT_PROTOTYPES
4318 GLAPI void APIENTRY glIndexMaterialEXT (GLenum, GLenum);
4319 #endif /* GL_GLEXT_PROTOTYPES */
4320 typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
4321 #endif
4322 
4323 #ifndef GL_EXT_index_func
4324 #define GL_EXT_index_func 1
4325 #ifdef GL_GLEXT_PROTOTYPES
4326 GLAPI void APIENTRY glIndexFuncEXT (GLenum, GLclampf);
4327 #endif /* GL_GLEXT_PROTOTYPES */
4328 typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
4329 #endif
4330 
4331 #ifndef GL_EXT_index_array_formats
4332 #define GL_EXT_index_array_formats 1
4333 #endif
4334 
4335 #ifndef GL_EXT_compiled_vertex_array
4336 #define GL_EXT_compiled_vertex_array 1
4337 #ifdef GL_GLEXT_PROTOTYPES
4338 GLAPI void APIENTRY glLockArraysEXT (GLint, GLsizei);
4339 GLAPI void APIENTRY glUnlockArraysEXT (void);
4340 #endif /* GL_GLEXT_PROTOTYPES */
4341 typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
4342 typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
4343 #endif
4344 
4345 #ifndef GL_EXT_cull_vertex
4346 #define GL_EXT_cull_vertex 1
4347 #ifdef GL_GLEXT_PROTOTYPES
4348 GLAPI void APIENTRY glCullParameterdvEXT (GLenum, GLdouble *);
4349 GLAPI void APIENTRY glCullParameterfvEXT (GLenum, GLfloat *);
4350 #endif /* GL_GLEXT_PROTOTYPES */
4351 typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
4352 typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
4353 #endif
4354 
4355 #ifndef GL_SGIX_ycrcb
4356 #define GL_SGIX_ycrcb 1
4357 #endif
4358 
4359 #ifndef GL_SGIX_fragment_lighting
4360 #define GL_SGIX_fragment_lighting 1
4361 #ifdef GL_GLEXT_PROTOTYPES
4362 GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum, GLenum);
4363 GLAPI void APIENTRY glFragmentLightfSGIX (GLenum, GLenum, GLfloat);
4364 GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *);
4365 GLAPI void APIENTRY glFragmentLightiSGIX (GLenum, GLenum, GLint);
4366 GLAPI void APIENTRY glFragmentLightivSGIX (GLenum, GLenum, const GLint *);
4367 GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum, GLfloat);
4368 GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum, const GLfloat *);
4369 GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum, GLint);
4370 GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum, const GLint *);
4371 GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat);
4372 GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *);
4373 GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum, GLenum, GLint);
4374 GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *);
4375 GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *);
4376 GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum, GLenum, GLint *);
4377 GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *);
4378 GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *);
4379 GLAPI void APIENTRY glLightEnviSGIX (GLenum, GLint);
4380 #endif /* GL_GLEXT_PROTOTYPES */
4381 typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
4382 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
4383 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
4384 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
4385 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
4386 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
4387 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
4388 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
4389 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
4390 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
4391 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
4392 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
4393 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
4394 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
4395 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
4396 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
4397 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
4398 typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
4399 #endif
4400 
4401 #ifndef GL_IBM_rasterpos_clip
4402 #define GL_IBM_rasterpos_clip 1
4403 #endif
4404 
4405 #ifndef GL_HP_texture_lighting
4406 #define GL_HP_texture_lighting 1
4407 #endif
4408 
4409 #ifndef GL_EXT_draw_range_elements
4410 #define GL_EXT_draw_range_elements 1
4411 #ifdef GL_GLEXT_PROTOTYPES
4412 GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
4413 #endif /* GL_GLEXT_PROTOTYPES */
4414 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
4415 #endif
4416 
4417 #ifndef GL_WIN_phong_shading
4418 #define GL_WIN_phong_shading 1
4419 #endif
4420 
4421 #ifndef GL_WIN_specular_fog
4422 #define GL_WIN_specular_fog 1
4423 #endif
4424 
4425 #ifndef GL_EXT_light_texture
4426 #define GL_EXT_light_texture 1
4427 #ifdef GL_GLEXT_PROTOTYPES
4428 GLAPI void APIENTRY glApplyTextureEXT (GLenum);
4429 GLAPI void APIENTRY glTextureLightEXT (GLenum);
4430 GLAPI void APIENTRY glTextureMaterialEXT (GLenum, GLenum);
4431 #endif /* GL_GLEXT_PROTOTYPES */
4432 typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
4433 typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
4434 typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
4435 #endif
4436 
4437 #ifndef GL_SGIX_blend_alpha_minmax
4438 #define GL_SGIX_blend_alpha_minmax 1
4439 #endif
4440 
4441 #ifndef GL_EXT_bgra
4442 #define GL_EXT_bgra 1
4443 #endif
4444 
4445 #ifndef GL_SGIX_async
4446 #define GL_SGIX_async 1
4447 #ifdef GL_GLEXT_PROTOTYPES
4448 GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint);
4449 GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *);
4450 GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *);
4451 GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei);
4452 GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint, GLsizei);
4453 GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint);
4454 #endif /* GL_GLEXT_PROTOTYPES */
4455 typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
4456 typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
4457 typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
4458 typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
4459 typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
4460 typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
4461 #endif
4462 
4463 #ifndef GL_SGIX_async_pixel
4464 #define GL_SGIX_async_pixel 1
4465 #endif
4466 
4467 #ifndef GL_SGIX_async_histogram
4468 #define GL_SGIX_async_histogram 1
4469 #endif
4470 
4471 #ifndef GL_INTEL_parallel_arrays
4472 #define GL_INTEL_parallel_arrays 1
4473 #ifdef GL_GLEXT_PROTOTYPES
4474 GLAPI void APIENTRY glVertexPointervINTEL (GLint, GLenum, const GLvoid* *);
4475 GLAPI void APIENTRY glNormalPointervINTEL (GLenum, const GLvoid* *);
4476 GLAPI void APIENTRY glColorPointervINTEL (GLint, GLenum, const GLvoid* *);
4477 GLAPI void APIENTRY glTexCoordPointervINTEL (GLint, GLenum, const GLvoid* *);
4478 #endif /* GL_GLEXT_PROTOTYPES */
4479 typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
4480 typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer);
4481 typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
4482 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
4483 #endif
4484 
4485 #ifndef GL_HP_occlusion_test
4486 #define GL_HP_occlusion_test 1
4487 #endif
4488 
4489 #ifndef GL_EXT_pixel_transform
4490 #define GL_EXT_pixel_transform 1
4491 #ifdef GL_GLEXT_PROTOTYPES
4492 GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum, GLenum, GLint);
4493 GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum, GLenum, GLfloat);
4494 GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum, GLenum, const GLint *);
4495 GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum, GLenum, const GLfloat *);
4496 #endif /* GL_GLEXT_PROTOTYPES */
4497 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
4498 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
4499 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
4500 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
4501 #endif
4502 
4503 #ifndef GL_EXT_pixel_transform_color_table
4504 #define GL_EXT_pixel_transform_color_table 1
4505 #endif
4506 
4507 #ifndef GL_EXT_shared_texture_palette
4508 #define GL_EXT_shared_texture_palette 1
4509 #endif
4510 
4511 #ifndef GL_EXT_separate_specular_color
4512 #define GL_EXT_separate_specular_color 1
4513 #endif
4514 
4515 #ifndef GL_EXT_secondary_color
4516 #define GL_EXT_secondary_color 1
4517 #ifdef GL_GLEXT_PROTOTYPES
4518 GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte);
4519 GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *);
4520 GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble);
4521 GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *);
4522 GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat);
4523 GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *);
4524 GLAPI void APIENTRY glSecondaryColor3iEXT (GLint, GLint, GLint);
4525 GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *);
4526 GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort, GLshort, GLshort);
4527 GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *);
4528 GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte);
4529 GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *);
4530 GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint, GLuint, GLuint);
4531 GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *);
4532 GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort, GLushort, GLushort);
4533 GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *);
4534 GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, const GLvoid *);
4535 #endif /* GL_GLEXT_PROTOTYPES */
4536 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
4537 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
4538 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
4539 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
4540 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
4541 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
4542 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
4543 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
4544 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
4545 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
4546 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
4547 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
4548 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
4549 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
4550 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
4551 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
4552 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
4553 #endif
4554 
4555 #ifndef GL_EXT_texture_perturb_normal
4556 #define GL_EXT_texture_perturb_normal 1
4557 #ifdef GL_GLEXT_PROTOTYPES
4558 GLAPI void APIENTRY glTextureNormalEXT (GLenum);
4559 #endif /* GL_GLEXT_PROTOTYPES */
4560 typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
4561 #endif
4562 
4563 #ifndef GL_EXT_multi_draw_arrays
4564 #define GL_EXT_multi_draw_arrays 1
4565 #ifdef GL_GLEXT_PROTOTYPES
4566 GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei);
4567 GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
4568 #endif /* GL_GLEXT_PROTOTYPES */
4569 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
4570 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
4571 #endif
4572 
4573 #ifndef GL_EXT_fog_coord
4574 #define GL_EXT_fog_coord 1
4575 #ifdef GL_GLEXT_PROTOTYPES
4576 GLAPI void APIENTRY glFogCoordfEXT (GLfloat);
4577 GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *);
4578 GLAPI void APIENTRY glFogCoorddEXT (GLdouble);
4579 GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *);
4580 GLAPI void APIENTRY glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *);
4581 #endif /* GL_GLEXT_PROTOTYPES */
4582 typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
4583 typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
4584 typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
4585 typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
4586 typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
4587 #endif
4588 
4589 #ifndef GL_REND_screen_coordinates
4590 #define GL_REND_screen_coordinates 1
4591 #endif
4592 
4593 #ifndef GL_EXT_coordinate_frame
4594 #define GL_EXT_coordinate_frame 1
4595 #ifdef GL_GLEXT_PROTOTYPES
4596 GLAPI void APIENTRY glTangent3bEXT (GLbyte, GLbyte, GLbyte);
4597 GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *);
4598 GLAPI void APIENTRY glTangent3dEXT (GLdouble, GLdouble, GLdouble);
4599 GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *);
4600 GLAPI void APIENTRY glTangent3fEXT (GLfloat, GLfloat, GLfloat);
4601 GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *);
4602 GLAPI void APIENTRY glTangent3iEXT (GLint, GLint, GLint);
4603 GLAPI void APIENTRY glTangent3ivEXT (const GLint *);
4604 GLAPI void APIENTRY glTangent3sEXT (GLshort, GLshort, GLshort);
4605 GLAPI void APIENTRY glTangent3svEXT (const GLshort *);
4606 GLAPI void APIENTRY glBinormal3bEXT (GLbyte, GLbyte, GLbyte);
4607 GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *);
4608 GLAPI void APIENTRY glBinormal3dEXT (GLdouble, GLdouble, GLdouble);
4609 GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *);
4610 GLAPI void APIENTRY glBinormal3fEXT (GLfloat, GLfloat, GLfloat);
4611 GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *);
4612 GLAPI void APIENTRY glBinormal3iEXT (GLint, GLint, GLint);
4613 GLAPI void APIENTRY glBinormal3ivEXT (const GLint *);
4614 GLAPI void APIENTRY glBinormal3sEXT (GLshort, GLshort, GLshort);
4615 GLAPI void APIENTRY glBinormal3svEXT (const GLshort *);
4616 GLAPI void APIENTRY glTangentPointerEXT (GLenum, GLsizei, const GLvoid *);
4617 GLAPI void APIENTRY glBinormalPointerEXT (GLenum, GLsizei, const GLvoid *);
4618 #endif /* GL_GLEXT_PROTOTYPES */
4619 typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
4620 typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
4621 typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
4622 typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
4623 typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
4624 typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
4625 typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
4626 typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
4627 typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
4628 typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
4629 typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
4630 typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
4631 typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
4632 typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
4633 typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
4634 typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
4635 typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
4636 typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
4637 typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
4638 typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
4639 typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
4640 typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
4641 #endif
4642 
4643 #ifndef GL_EXT_texture_env_combine
4644 #define GL_EXT_texture_env_combine 1
4645 #endif
4646 
4647 #ifndef GL_APPLE_specular_vector
4648 #define GL_APPLE_specular_vector 1
4649 #endif
4650 
4651 #ifndef GL_APPLE_transform_hint
4652 #define GL_APPLE_transform_hint 1
4653 #endif
4654 
4655 #ifndef GL_SGIX_fog_scale
4656 #define GL_SGIX_fog_scale 1
4657 #endif
4658 
4659 #ifndef GL_SUNX_constant_data
4660 #define GL_SUNX_constant_data 1
4661 #ifdef GL_GLEXT_PROTOTYPES
4662 GLAPI void APIENTRY glFinishTextureSUNX (void);
4663 #endif /* GL_GLEXT_PROTOTYPES */
4664 typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
4665 #endif
4666 
4667 #ifndef GL_SUN_global_alpha
4668 #define GL_SUN_global_alpha 1
4669 #ifdef GL_GLEXT_PROTOTYPES
4670 GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte);
4671 GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort);
4672 GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint);
4673 GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat);
4674 GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble);
4675 GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte);
4676 GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort);
4677 GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint);
4678 #endif /* GL_GLEXT_PROTOTYPES */
4679 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
4680 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
4681 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
4682 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
4683 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
4684 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
4685 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
4686 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
4687 #endif
4688 
4689 #ifndef GL_SUN_triangle_list
4690 #define GL_SUN_triangle_list 1
4691 #ifdef GL_GLEXT_PROTOTYPES
4692 GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint);
4693 GLAPI void APIENTRY glReplacementCodeusSUN (GLushort);
4694 GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte);
4695 GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *);
4696 GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *);
4697 GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *);
4698 GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum, GLsizei, const GLvoid* *);
4699 #endif /* GL_GLEXT_PROTOTYPES */
4700 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
4701 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
4702 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
4703 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
4704 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
4705 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
4706 typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer);
4707 #endif
4708 
4709 #ifndef GL_SUN_vertex
4710 #define GL_SUN_vertex 1
4711 #ifdef GL_GLEXT_PROTOTYPES
4712 GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat);
4713 GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *, const GLfloat *);
4714 GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
4715 GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *, const GLfloat *);
4716 GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4717 GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *, const GLfloat *);
4718 GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4719 GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *);
4720 GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4721 GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
4722 GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4723 GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *, const GLfloat *);
4724 GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4725 GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *, const GLfloat *);
4726 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
4727 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *, const GLubyte *, const GLfloat *);
4728 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4729 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
4730 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4731 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
4732 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4733 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
4734 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4735 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
4736 GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat);
4737 GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *, const GLfloat *);
4738 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
4739 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *, const GLubyte *, const GLfloat *);
4740 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4741 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
4742 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4743 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
4744 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4745 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *);
4746 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4747 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
4748 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4749 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *);
4750 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
4751 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
4752 #endif /* GL_GLEXT_PROTOTYPES */
4753 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
4754 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
4755 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
4756 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
4757 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
4758 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
4759 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
4760 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
4761 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
4762 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
4763 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
4764 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
4765 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4766 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
4767 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
4768 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
4769 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
4770 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
4771 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
4772 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
4773 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);
4774 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
4775 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);
4776 typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
4777 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
4778 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
4779 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
4780 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
4781 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
4782 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
4783 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
4784 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
4785 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);
4786 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
4787 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
4788 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
4789 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
4790 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
4791 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);
4792 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
4793 #endif
4794 
4795 #ifndef GL_EXT_blend_func_separate
4796 #define GL_EXT_blend_func_separate 1
4797 #ifdef GL_GLEXT_PROTOTYPES
4798 GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum);
4799 #endif /* GL_GLEXT_PROTOTYPES */
4800 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
4801 #endif
4802 
4803 #ifndef GL_INGR_blend_func_separate
4804 #define GL_INGR_blend_func_separate 1
4805 #ifdef GL_GLEXT_PROTOTYPES
4806 GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum, GLenum, GLenum, GLenum);
4807 #endif /* GL_GLEXT_PROTOTYPES */
4808 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
4809 #endif
4810 
4811 #ifndef GL_INGR_color_clamp
4812 #define GL_INGR_color_clamp 1
4813 #endif
4814 
4815 #ifndef GL_INGR_interlace_read
4816 #define GL_INGR_interlace_read 1
4817 #endif
4818 
4819 #ifndef GL_EXT_stencil_wrap
4820 #define GL_EXT_stencil_wrap 1
4821 #endif
4822 
4823 #ifndef GL_EXT_422_pixels
4824 #define GL_EXT_422_pixels 1
4825 #endif
4826 
4827 #ifndef GL_NV_texgen_reflection
4828 #define GL_NV_texgen_reflection 1
4829 #endif
4830 
4831 #ifndef GL_SUN_convolution_border_modes
4832 #define GL_SUN_convolution_border_modes 1
4833 #endif
4834 
4835 #ifndef GL_EXT_texture_env_add
4836 #define GL_EXT_texture_env_add 1
4837 #endif
4838 
4839 #ifndef GL_EXT_texture_lod_bias
4840 #define GL_EXT_texture_lod_bias 1
4841 #endif
4842 
4843 #ifndef GL_EXT_texture_filter_anisotropic
4844 #define GL_EXT_texture_filter_anisotropic 1
4845 #endif
4846 
4847 #ifndef GL_EXT_vertex_weighting
4848 #define GL_EXT_vertex_weighting 1
4849 #ifdef GL_GLEXT_PROTOTYPES
4850 GLAPI void APIENTRY glVertexWeightfEXT (GLfloat);
4851 GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *);
4852 GLAPI void APIENTRY glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei, const GLvoid *);
4853 #endif /* GL_GLEXT_PROTOTYPES */
4854 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
4855 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
4856 typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer);
4857 #endif
4858 
4859 #ifndef GL_NV_light_max_exponent
4860 #define GL_NV_light_max_exponent 1
4861 #endif
4862 
4863 #ifndef GL_NV_vertex_array_range
4864 #define GL_NV_vertex_array_range 1
4865 #ifdef GL_GLEXT_PROTOTYPES
4866 GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
4867 GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei, const GLvoid *);
4868 #endif /* GL_GLEXT_PROTOTYPES */
4869 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
4870 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer);
4871 #endif
4872 
4873 #ifndef GL_NV_register_combiners
4874 #define GL_NV_register_combiners 1
4875 #ifdef GL_GLEXT_PROTOTYPES
4876 GLAPI void APIENTRY glCombinerParameterfvNV (GLenum, const GLfloat *);
4877 GLAPI void APIENTRY glCombinerParameterfNV (GLenum, GLfloat);
4878 GLAPI void APIENTRY glCombinerParameterivNV (GLenum, const GLint *);
4879 GLAPI void APIENTRY glCombinerParameteriNV (GLenum, GLint);
4880 GLAPI void APIENTRY glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum);
4881 GLAPI void APIENTRY glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean);
4882 GLAPI void APIENTRY glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum);
4883 GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *);
4884 GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *);
4885 GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *);
4886 GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *);
4887 GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *);
4888 GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *);
4889 #endif /* GL_GLEXT_PROTOTYPES */
4890 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
4891 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
4892 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
4893 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
4894 typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
4895 typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
4896 typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
4897 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
4898 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
4899 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
4900 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
4901 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
4902 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
4903 #endif
4904 
4905 #ifndef GL_NV_fog_distance
4906 #define GL_NV_fog_distance 1
4907 #endif
4908 
4909 #ifndef GL_NV_texgen_emboss
4910 #define GL_NV_texgen_emboss 1
4911 #endif
4912 
4913 #ifndef GL_NV_blend_square
4914 #define GL_NV_blend_square 1
4915 #endif
4916 
4917 #ifndef GL_NV_texture_env_combine4
4918 #define GL_NV_texture_env_combine4 1
4919 #endif
4920 
4921 #ifndef GL_MESA_resize_buffers
4922 #define GL_MESA_resize_buffers 1
4923 #ifdef GL_GLEXT_PROTOTYPES
4924 GLAPI void APIENTRY glResizeBuffersMESA (void);
4925 #endif /* GL_GLEXT_PROTOTYPES */
4926 typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
4927 #endif
4928 
4929 #ifndef GL_MESA_window_pos
4930 #define GL_MESA_window_pos 1
4931 #ifdef GL_GLEXT_PROTOTYPES
4932 GLAPI void APIENTRY glWindowPos2dMESA (GLdouble, GLdouble);
4933 GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *);
4934 GLAPI void APIENTRY glWindowPos2fMESA (GLfloat, GLfloat);
4935 GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *);
4936 GLAPI void APIENTRY glWindowPos2iMESA (GLint, GLint);
4937 GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *);
4938 GLAPI void APIENTRY glWindowPos2sMESA (GLshort, GLshort);
4939 GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *);
4940 GLAPI void APIENTRY glWindowPos3dMESA (GLdouble, GLdouble, GLdouble);
4941 GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *);
4942 GLAPI void APIENTRY glWindowPos3fMESA (GLfloat, GLfloat, GLfloat);
4943 GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *);
4944 GLAPI void APIENTRY glWindowPos3iMESA (GLint, GLint, GLint);
4945 GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *);
4946 GLAPI void APIENTRY glWindowPos3sMESA (GLshort, GLshort, GLshort);
4947 GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *);
4948 GLAPI void APIENTRY glWindowPos4dMESA (GLdouble, GLdouble, GLdouble, GLdouble);
4949 GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *);
4950 GLAPI void APIENTRY glWindowPos4fMESA (GLfloat, GLfloat, GLfloat, GLfloat);
4951 GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *);
4952 GLAPI void APIENTRY glWindowPos4iMESA (GLint, GLint, GLint, GLint);
4953 GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *);
4954 GLAPI void APIENTRY glWindowPos4sMESA (GLshort, GLshort, GLshort, GLshort);
4955 GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *);
4956 #endif /* GL_GLEXT_PROTOTYPES */
4957 typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
4958 typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
4959 typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
4960 typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
4961 typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
4962 typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
4963 typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
4964 typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
4965 typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
4966 typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
4967 typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
4968 typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
4969 typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
4970 typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
4971 typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
4972 typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
4973 typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
4974 typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
4975 typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4976 typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
4977 typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
4978 typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
4979 typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
4980 typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
4981 #endif
4982 
4983 #ifndef GL_IBM_cull_vertex
4984 #define GL_IBM_cull_vertex 1
4985 #endif
4986 
4987 #ifndef GL_IBM_multimode_draw_arrays
4988 #define GL_IBM_multimode_draw_arrays 1
4989 #ifdef GL_GLEXT_PROTOTYPES
4990 GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint);
4991 GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *, const GLsizei *, GLenum, const GLvoid* const *, GLsizei, GLint);
4992 #endif /* GL_GLEXT_PROTOTYPES */
4993 typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
4994 typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride);
4995 #endif
4996 
4997 #ifndef GL_IBM_vertex_array_lists
4998 #define GL_IBM_vertex_array_lists 1
4999 #ifdef GL_GLEXT_PROTOTYPES
5000 GLAPI void APIENTRY glColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
5001 GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
5002 GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint, const GLboolean* *, GLint);
5003 GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
5004 GLAPI void APIENTRY glIndexPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
5005 GLAPI void APIENTRY glNormalPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
5006 GLAPI void APIENTRY glTexCoordPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
5007 GLAPI void APIENTRY glVertexPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
5008 #endif /* GL_GLEXT_PROTOTYPES */
5009 typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
5010 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
5011 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride);
5012 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
5013 typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
5014 typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
5015 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
5016 typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
5017 #endif
5018 
5019 #ifndef GL_SGIX_subsample
5020 #define GL_SGIX_subsample 1
5021 #endif
5022 
5023 #ifndef GL_SGIX_ycrcba
5024 #define GL_SGIX_ycrcba 1
5025 #endif
5026 
5027 #ifndef GL_SGIX_ycrcb_subsample
5028 #define GL_SGIX_ycrcb_subsample 1
5029 #endif
5030 
5031 #ifndef GL_SGIX_depth_pass_instrument
5032 #define GL_SGIX_depth_pass_instrument 1
5033 #endif
5034 
5035 #ifndef GL_3DFX_texture_compression_FXT1
5036 #define GL_3DFX_texture_compression_FXT1 1
5037 #endif
5038 
5039 #ifndef GL_3DFX_multisample
5040 #define GL_3DFX_multisample 1
5041 #endif
5042 
5043 #ifndef GL_3DFX_tbuffer
5044 #define GL_3DFX_tbuffer 1
5045 #ifdef GL_GLEXT_PROTOTYPES
5046 GLAPI void APIENTRY glTbufferMask3DFX (GLuint);
5047 #endif /* GL_GLEXT_PROTOTYPES */
5048 typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
5049 #endif
5050 
5051 #ifndef GL_EXT_multisample
5052 #define GL_EXT_multisample 1
5053 #ifdef GL_GLEXT_PROTOTYPES
5054 GLAPI void APIENTRY glSampleMaskEXT (GLclampf, GLboolean);
5055 GLAPI void APIENTRY glSamplePatternEXT (GLenum);
5056 #endif /* GL_GLEXT_PROTOTYPES */
5057 typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
5058 typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
5059 #endif
5060 
5061 #ifndef GL_SGIX_vertex_preclip
5062 #define GL_SGIX_vertex_preclip 1
5063 #endif
5064 
5065 #ifndef GL_SGIX_convolution_accuracy
5066 #define GL_SGIX_convolution_accuracy 1
5067 #endif
5068 
5069 #ifndef GL_SGIX_resample
5070 #define GL_SGIX_resample 1
5071 #endif
5072 
5073 #ifndef GL_SGIS_point_line_texgen
5074 #define GL_SGIS_point_line_texgen 1
5075 #endif
5076 
5077 #ifndef GL_SGIS_texture_color_mask
5078 #define GL_SGIS_texture_color_mask 1
5079 #ifdef GL_GLEXT_PROTOTYPES
5080 GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean, GLboolean, GLboolean, GLboolean);
5081 #endif /* GL_GLEXT_PROTOTYPES */
5082 typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
5083 #endif
5084 
5085 #ifndef GL_SGIX_igloo_interface
5086 #define GL_SGIX_igloo_interface 1
5087 #ifdef GL_GLEXT_PROTOTYPES
5088 GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum, const GLvoid *);
5089 #endif /* GL_GLEXT_PROTOTYPES */
5090 typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params);
5091 #endif
5092 
5093 #ifndef GL_EXT_texture_env_dot3
5094 #define GL_EXT_texture_env_dot3 1
5095 #endif
5096 
5097 #ifndef GL_ATI_texture_mirror_once
5098 #define GL_ATI_texture_mirror_once 1
5099 #endif
5100 
5101 #ifndef GL_NV_fence
5102 #define GL_NV_fence 1
5103 #ifdef GL_GLEXT_PROTOTYPES
5104 GLAPI void APIENTRY glDeleteFencesNV (GLsizei, const GLuint *);
5105 GLAPI void APIENTRY glGenFencesNV (GLsizei, GLuint *);
5106 GLAPI GLboolean APIENTRY glIsFenceNV (GLuint);
5107 GLAPI GLboolean APIENTRY glTestFenceNV (GLuint);
5108 GLAPI void APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *);
5109 GLAPI void APIENTRY glFinishFenceNV (GLuint);
5110 GLAPI void APIENTRY glSetFenceNV (GLuint, GLenum);
5111 #endif /* GL_GLEXT_PROTOTYPES */
5112 typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
5113 typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
5114 typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
5115 typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
5116 typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
5117 typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
5118 typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
5119 #endif
5120 
5121 #ifndef GL_NV_evaluators
5122 #define GL_NV_evaluators 1
5123 #ifdef GL_GLEXT_PROTOTYPES
5124 GLAPI void APIENTRY glMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLint, GLint, GLboolean, const GLvoid *);
5125 GLAPI void APIENTRY glMapParameterivNV (GLenum, GLenum, const GLint *);
5126 GLAPI void APIENTRY glMapParameterfvNV (GLenum, GLenum, const GLfloat *);
5127 GLAPI void APIENTRY glGetMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLboolean, GLvoid *);
5128 GLAPI void APIENTRY glGetMapParameterivNV (GLenum, GLenum, GLint *);
5129 GLAPI void APIENTRY glGetMapParameterfvNV (GLenum, GLenum, GLfloat *);
5130 GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum, GLuint, GLenum, GLint *);
5131 GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum, GLuint, GLenum, GLfloat *);
5132 GLAPI void APIENTRY glEvalMapsNV (GLenum, GLenum);
5133 #endif /* GL_GLEXT_PROTOTYPES */
5134 typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
5135 typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
5136 typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
5137 typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
5138 typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
5139 typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
5140 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
5141 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
5142 typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
5143 #endif
5144 
5145 #ifndef GL_NV_packed_depth_stencil
5146 #define GL_NV_packed_depth_stencil 1
5147 #endif
5148 
5149 #ifndef GL_NV_register_combiners2
5150 #define GL_NV_register_combiners2 1
5151 #ifdef GL_GLEXT_PROTOTYPES
5152 GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum, GLenum, const GLfloat *);
5153 GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum, GLenum, GLfloat *);
5154 #endif /* GL_GLEXT_PROTOTYPES */
5155 typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
5156 typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
5157 #endif
5158 
5159 #ifndef GL_NV_texture_compression_vtc
5160 #define GL_NV_texture_compression_vtc 1
5161 #endif
5162 
5163 #ifndef GL_NV_texture_rectangle
5164 #define GL_NV_texture_rectangle 1
5165 #endif
5166 
5167 #ifndef GL_NV_texture_shader
5168 #define GL_NV_texture_shader 1
5169 #endif
5170 
5171 #ifndef GL_NV_texture_shader2
5172 #define GL_NV_texture_shader2 1
5173 #endif
5174 
5175 #ifndef GL_NV_vertex_array_range2
5176 #define GL_NV_vertex_array_range2 1
5177 #endif
5178 
5179 #ifndef GL_NV_vertex_program
5180 #define GL_NV_vertex_program 1
5181 #ifdef GL_GLEXT_PROTOTYPES
5182 GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei, const GLuint *, GLboolean *);
5183 GLAPI void APIENTRY glBindProgramNV (GLenum, GLuint);
5184 GLAPI void APIENTRY glDeleteProgramsNV (GLsizei, const GLuint *);
5185 GLAPI void APIENTRY glExecuteProgramNV (GLenum, GLuint, const GLfloat *);
5186 GLAPI void APIENTRY glGenProgramsNV (GLsizei, GLuint *);
5187 GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum, GLuint, GLenum, GLdouble *);
5188 GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum, GLuint, GLenum, GLfloat *);
5189 GLAPI void APIENTRY glGetProgramivNV (GLuint, GLenum, GLint *);
5190 GLAPI void APIENTRY glGetProgramStringNV (GLuint, GLenum, GLubyte *);
5191 GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum, GLuint, GLenum, GLint *);
5192 GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint, GLenum, GLdouble *);
5193 GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint, GLenum, GLfloat *);
5194 GLAPI void APIENTRY glGetVertexAttribivNV (GLuint, GLenum, GLint *);
5195 GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint, GLenum, GLvoid* *);
5196 GLAPI GLboolean APIENTRY glIsProgramNV (GLuint);
5197 GLAPI void APIENTRY glLoadProgramNV (GLenum, GLuint, GLsizei, const GLubyte *);
5198 GLAPI void APIENTRY glProgramParameter4dNV (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
5199 GLAPI void APIENTRY glProgramParameter4dvNV (GLenum, GLuint, const GLdouble *);
5200 GLAPI void APIENTRY glProgramParameter4fNV (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
5201 GLAPI void APIENTRY glProgramParameter4fvNV (GLenum, GLuint, const GLfloat *);
5202 GLAPI void APIENTRY glProgramParameters4dvNV (GLenum, GLuint, GLuint, const GLdouble *);
5203 GLAPI void APIENTRY glProgramParameters4fvNV (GLenum, GLuint, GLuint, const GLfloat *);
5204 GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei, const GLuint *);
5205 GLAPI void APIENTRY glTrackMatrixNV (GLenum, GLuint, GLenum, GLenum);
5206 GLAPI void APIENTRY glVertexAttribPointerNV (GLuint, GLint, GLenum, GLsizei, const GLvoid *);
5207 GLAPI void APIENTRY glVertexAttrib1dNV (GLuint, GLdouble);
5208 GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint, const GLdouble *);
5209 GLAPI void APIENTRY glVertexAttrib1fNV (GLuint, GLfloat);
5210 GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint, const GLfloat *);
5211 GLAPI void APIENTRY glVertexAttrib1sNV (GLuint, GLshort);
5212 GLAPI void APIENTRY glVertexAttrib1svNV (GLuint, const GLshort *);
5213 GLAPI void APIENTRY glVertexAttrib2dNV (GLuint, GLdouble, GLdouble);
5214 GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint, const GLdouble *);
5215 GLAPI void APIENTRY glVertexAttrib2fNV (GLuint, GLfloat, GLfloat);
5216 GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint, const GLfloat *);
5217 GLAPI void APIENTRY glVertexAttrib2sNV (GLuint, GLshort, GLshort);
5218 GLAPI void APIENTRY glVertexAttrib2svNV (GLuint, const GLshort *);
5219 GLAPI void APIENTRY glVertexAttrib3dNV (GLuint, GLdouble, GLdouble, GLdouble);
5220 GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint, const GLdouble *);
5221 GLAPI void APIENTRY glVertexAttrib3fNV (GLuint, GLfloat, GLfloat, GLfloat);
5222 GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint, const GLfloat *);
5223 GLAPI void APIENTRY glVertexAttrib3sNV (GLuint, GLshort, GLshort, GLshort);
5224 GLAPI void APIENTRY glVertexAttrib3svNV (GLuint, const GLshort *);
5225 GLAPI void APIENTRY glVertexAttrib4dNV (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
5226 GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint, const GLdouble *);
5227 GLAPI void APIENTRY glVertexAttrib4fNV (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
5228 GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint, const GLfloat *);
5229 GLAPI void APIENTRY glVertexAttrib4sNV (GLuint, GLshort, GLshort, GLshort, GLshort);
5230 GLAPI void APIENTRY glVertexAttrib4svNV (GLuint, const GLshort *);
5231 GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
5232 GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint, const GLubyte *);
5233 GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint, GLsizei, const GLdouble *);
5234 GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint, GLsizei, const GLfloat *);
5235 GLAPI void APIENTRY glVertexAttribs1svNV (GLuint, GLsizei, const GLshort *);
5236 GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint, GLsizei, const GLdouble *);
5237 GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint, GLsizei, const GLfloat *);
5238 GLAPI void APIENTRY glVertexAttribs2svNV (GLuint, GLsizei, const GLshort *);
5239 GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint, GLsizei, const GLdouble *);
5240 GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint, GLsizei, const GLfloat *);
5241 GLAPI void APIENTRY glVertexAttribs3svNV (GLuint, GLsizei, const GLshort *);
5242 GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint, GLsizei, const GLdouble *);
5243 GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint, GLsizei, const GLfloat *);
5244 GLAPI void APIENTRY glVertexAttribs4svNV (GLuint, GLsizei, const GLshort *);
5245 GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint, GLsizei, const GLubyte *);
5246 #endif /* GL_GLEXT_PROTOTYPES */
5247 typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
5248 typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
5249 typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
5250 typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
5251 typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
5252 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
5253 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
5254 typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
5255 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
5256 typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
5257 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
5258 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
5259 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
5260 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
5261 typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
5262 typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
5263 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5264 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
5265 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5266 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
5267 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLuint count, const GLdouble *v);
5268 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLuint count, const GLfloat *v);
5269 typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
5270 typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
5271 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer);
5272 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
5273 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
5274 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
5275 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
5276 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
5277 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
5278 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
5279 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
5280 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
5281 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
5282 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
5283 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
5284 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
5285 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
5286 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
5287 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
5288 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
5289 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
5290 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5291 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
5292 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5293 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
5294 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
5295 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
5296 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
5297 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
5298 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
5299 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
5300 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
5301 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
5302 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
5303 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
5304 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
5305 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
5306 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
5307 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
5308 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
5309 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
5310 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
5311 #endif
5312 
5313 #ifndef GL_SGIX_texture_coordinate_clamp
5314 #define GL_SGIX_texture_coordinate_clamp 1
5315 #endif
5316 
5317 #ifndef GL_SGIX_scalebias_hint
5318 #define GL_SGIX_scalebias_hint 1
5319 #endif
5320 
5321 #ifndef GL_OML_interlace
5322 #define GL_OML_interlace 1
5323 #endif
5324 
5325 #ifndef GL_OML_subsample
5326 #define GL_OML_subsample 1
5327 #endif
5328 
5329 #ifndef GL_OML_resample
5330 #define GL_OML_resample 1
5331 #endif
5332 
5333 #ifndef GL_NV_copy_depth_to_color
5334 #define GL_NV_copy_depth_to_color 1
5335 #endif
5336 
5337 #ifndef GL_ATI_envmap_bumpmap
5338 #define GL_ATI_envmap_bumpmap 1
5339 #ifdef GL_GLEXT_PROTOTYPES
5340 GLAPI void APIENTRY glTexBumpParameterivATI (GLenum, const GLint *);
5341 GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum, const GLfloat *);
5342 GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum, GLint *);
5343 GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum, GLfloat *);
5344 #endif /* GL_GLEXT_PROTOTYPES */
5345 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
5346 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
5347 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
5348 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
5349 #endif
5350 
5351 #ifndef GL_ATI_fragment_shader
5352 #define GL_ATI_fragment_shader 1
5353 #ifdef GL_GLEXT_PROTOTYPES
5354 GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint);
5355 GLAPI void APIENTRY glBindFragmentShaderATI (GLuint);
5356 GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint);
5357 GLAPI void APIENTRY glBeginFragmentShaderATI (void);
5358 GLAPI void APIENTRY glEndFragmentShaderATI (void);
5359 GLAPI void APIENTRY glPassTexCoordATI (GLuint, GLuint, GLenum);
5360 GLAPI void APIENTRY glSampleMapATI (GLuint, GLuint, GLenum);
5361 GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
5362 GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
5363 GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
5364 GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint);
5365 GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
5366 GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
5367 GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint, const GLfloat *);
5368 #endif /* GL_GLEXT_PROTOTYPES */
5369 typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
5370 typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
5371 typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
5372 typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
5373 typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
5374 typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
5375 typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
5376 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5377 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5378 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);
5379 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5380 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5381 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);
5382 typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
5383 #endif
5384 
5385 #ifndef GL_ATI_pn_triangles
5386 #define GL_ATI_pn_triangles 1
5387 #ifdef GL_GLEXT_PROTOTYPES
5388 GLAPI void APIENTRY glPNTrianglesiATI (GLenum, GLint);
5389 GLAPI void APIENTRY glPNTrianglesfATI (GLenum, GLfloat);
5390 #endif /* GL_GLEXT_PROTOTYPES */
5391 typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
5392 typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
5393 #endif
5394 
5395 #ifndef GL_ATI_vertex_array_object
5396 #define GL_ATI_vertex_array_object 1
5397 #ifdef GL_GLEXT_PROTOTYPES
5398 GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei, const GLvoid *, GLenum);
5399 GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint);
5400 GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint, GLuint, GLsizei, const GLvoid *, GLenum);
5401 GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint, GLenum, GLfloat *);
5402 GLAPI void APIENTRY glGetObjectBufferivATI (GLuint, GLenum, GLint *);
5403 GLAPI void APIENTRY glFreeObjectBufferATI (GLuint);
5404 GLAPI void APIENTRY glArrayObjectATI (GLenum, GLint, GLenum, GLsizei, GLuint, GLuint);
5405 GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum, GLenum, GLfloat *);
5406 GLAPI void APIENTRY glGetArrayObjectivATI (GLenum, GLenum, GLint *);
5407 GLAPI void APIENTRY glVariantArrayObjectATI (GLuint, GLenum, GLsizei, GLuint, GLuint);
5408 GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint, GLenum, GLfloat *);
5409 GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint, GLenum, GLint *);
5410 #endif /* GL_GLEXT_PROTOTYPES */
5411 typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage);
5412 typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
5413 typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve);
5414 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
5415 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
5416 typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
5417 typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
5418 typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
5419 typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
5420 typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
5421 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
5422 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
5423 #endif
5424 
5425 #ifndef GL_EXT_vertex_shader
5426 #define GL_EXT_vertex_shader 1
5427 #ifdef GL_GLEXT_PROTOTYPES
5428 GLAPI void APIENTRY glBeginVertexShaderEXT (void);
5429 GLAPI void APIENTRY glEndVertexShaderEXT (void);
5430 GLAPI void APIENTRY glBindVertexShaderEXT (GLuint);
5431 GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint);
5432 GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint);
5433 GLAPI void APIENTRY glShaderOp1EXT (GLenum, GLuint, GLuint);
5434 GLAPI void APIENTRY glShaderOp2EXT (GLenum, GLuint, GLuint, GLuint);
5435 GLAPI void APIENTRY glShaderOp3EXT (GLenum, GLuint, GLuint, GLuint, GLuint);
5436 GLAPI void APIENTRY glSwizzleEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum);
5437 GLAPI void APIENTRY glWriteMaskEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum);
5438 GLAPI void APIENTRY glInsertComponentEXT (GLuint, GLuint, GLuint);
5439 GLAPI void APIENTRY glExtractComponentEXT (GLuint, GLuint, GLuint);
5440 GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum, GLenum, GLenum, GLuint);
5441 GLAPI void APIENTRY glSetInvariantEXT (GLuint, GLenum, const GLvoid *);
5442 GLAPI void APIENTRY glSetLocalConstantEXT (GLuint, GLenum, const GLvoid *);
5443 GLAPI void APIENTRY glVariantbvEXT (GLuint, const GLbyte *);
5444 GLAPI void APIENTRY glVariantsvEXT (GLuint, const GLshort *);
5445 GLAPI void APIENTRY glVariantivEXT (GLuint, const GLint *);
5446 GLAPI void APIENTRY glVariantfvEXT (GLuint, const GLfloat *);
5447 GLAPI void APIENTRY glVariantdvEXT (GLuint, const GLdouble *);
5448 GLAPI void APIENTRY glVariantubvEXT (GLuint, const GLubyte *);
5449 GLAPI void APIENTRY glVariantusvEXT (GLuint, const GLushort *);
5450 GLAPI void APIENTRY glVariantuivEXT (GLuint, const GLuint *);
5451 GLAPI void APIENTRY glVariantPointerEXT (GLuint, GLenum, GLuint, const GLvoid *);
5452 GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint);
5453 GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint);
5454 GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum, GLenum);
5455 GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum, GLenum);
5456 GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum, GLenum, GLenum);
5457 GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum, GLenum);
5458 GLAPI GLuint APIENTRY glBindParameterEXT (GLenum);
5459 GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint, GLenum);
5460 GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint, GLenum, GLboolean *);
5461 GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint, GLenum, GLint *);
5462 GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint, GLenum, GLfloat *);
5463 GLAPI void APIENTRY glGetVariantPointervEXT (GLuint, GLenum, GLvoid* *);
5464 GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint, GLenum, GLboolean *);
5465 GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint, GLenum, GLint *);
5466 GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint, GLenum, GLfloat *);
5467 GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint, GLenum, GLboolean *);
5468 GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint, GLenum, GLint *);
5469 GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint, GLenum, GLfloat *);
5470 #endif /* GL_GLEXT_PROTOTYPES */
5471 typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
5472 typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
5473 typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
5474 typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
5475 typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
5476 typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
5477 typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
5478 typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
5479 typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
5480 typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
5481 typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
5482 typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
5483 typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
5484 typedef void (APIENTR