[NDK]
[reactos.git] / include / GL / 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-2000 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__)
38 #define WIN32_LEAN_AND_MEAN 1
39 #include <windows.h>
40 #endif
41
42 #ifndef APIENTRY
43 #define APIENTRY
44 #endif
45 #ifndef GLAPI
46 #define GLAPI extern
47 #endif
48
49 /*************************************************************/
50
51 /* Header file version number, required by OpenGL ABI for Linux */
52 /* glext.h last updated 2002/03/22 */
53 /* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */
54 #define GL_GLEXT_VERSION 11
55
56 #ifndef GL_VERSION_1_2
57 #define GL_CONSTANT_COLOR 0x8001
58 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
59 #define GL_CONSTANT_ALPHA 0x8003
60 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
61 #define GL_BLEND_COLOR 0x8005
62 #define GL_FUNC_ADD 0x8006
63 #define GL_MIN 0x8007
64 #define GL_MAX 0x8008
65 #define GL_BLEND_EQUATION 0x8009
66 #define GL_FUNC_SUBTRACT 0x800A
67 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
68 #define GL_CONVOLUTION_1D 0x8010
69 #define GL_CONVOLUTION_2D 0x8011
70 #define GL_SEPARABLE_2D 0x8012
71 #define GL_CONVOLUTION_BORDER_MODE 0x8013
72 #define GL_CONVOLUTION_FILTER_SCALE 0x8014
73 #define GL_CONVOLUTION_FILTER_BIAS 0x8015
74 #define GL_REDUCE 0x8016
75 #define GL_CONVOLUTION_FORMAT 0x8017
76 #define GL_CONVOLUTION_WIDTH 0x8018
77 #define GL_CONVOLUTION_HEIGHT 0x8019
78 #define GL_MAX_CONVOLUTION_WIDTH 0x801A
79 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
80 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
81 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
82 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
83 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
84 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
85 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
86 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
87 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
88 #define GL_HISTOGRAM 0x8024
89 #define GL_PROXY_HISTOGRAM 0x8025
90 #define GL_HISTOGRAM_WIDTH 0x8026
91 #define GL_HISTOGRAM_FORMAT 0x8027
92 #define GL_HISTOGRAM_RED_SIZE 0x8028
93 #define GL_HISTOGRAM_GREEN_SIZE 0x8029
94 #define GL_HISTOGRAM_BLUE_SIZE 0x802A
95 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
96 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
97 #define GL_HISTOGRAM_SINK 0x802D
98 #define GL_MINMAX 0x802E
99 #define GL_MINMAX_FORMAT 0x802F
100 #define GL_MINMAX_SINK 0x8030
101 #define GL_TABLE_TOO_LARGE 0x8031
102 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
103 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
104 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
105 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
106 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
107 #define GL_RESCALE_NORMAL 0x803A
108 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
109 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
110 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
111 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
112 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
113 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
114 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
115 #define GL_COLOR_MATRIX 0x80B1
116 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
117 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
118 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
119 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
120 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
121 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
122 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
123 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
124 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
125 #define GL_COLOR_TABLE 0x80D0
126 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
127 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
128 #define GL_PROXY_COLOR_TABLE 0x80D3
129 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
130 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
131 #define GL_COLOR_TABLE_SCALE 0x80D6
132 #define GL_COLOR_TABLE_BIAS 0x80D7
133 #define GL_COLOR_TABLE_FORMAT 0x80D8
134 #define GL_COLOR_TABLE_WIDTH 0x80D9
135 #define GL_COLOR_TABLE_RED_SIZE 0x80DA
136 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
137 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
138 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
139 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
140 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
141 #define GL_BGR 0x80E0
142 #define GL_BGRA 0x80E1
143 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
144 #define GL_MAX_ELEMENTS_INDICES 0x80E9
145 #define GL_CLAMP_TO_EDGE 0x812F
146 #define GL_TEXTURE_MIN_LOD 0x813A
147 #define GL_TEXTURE_MAX_LOD 0x813B
148 #define GL_TEXTURE_BASE_LEVEL 0x813C
149 #define GL_TEXTURE_MAX_LEVEL 0x813D
150 #define GL_IGNORE_BORDER 0x8150
151 #define GL_CONSTANT_BORDER 0x8151
152 #define GL_WRAP_BORDER 0x8152
153 #define GL_REPLICATE_BORDER 0x8153
154 #define GL_CONVOLUTION_BORDER_COLOR 0x8154
155 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
156 #define GL_SINGLE_COLOR 0x81F9
157 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
158 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
159 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
160 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
161 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
162 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
163 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
164 #endif
165
166 #ifndef GL_VERSION_1_3
167 #define GL_TEXTURE0 0x84C0
168 #define GL_TEXTURE1 0x84C1
169 #define GL_TEXTURE2 0x84C2
170 #define GL_TEXTURE3 0x84C3
171 #define GL_TEXTURE4 0x84C4
172 #define GL_TEXTURE5 0x84C5
173 #define GL_TEXTURE6 0x84C6
174 #define GL_TEXTURE7 0x84C7
175 #define GL_TEXTURE8 0x84C8
176 #define GL_TEXTURE9 0x84C9
177 #define GL_TEXTURE10 0x84CA
178 #define GL_TEXTURE11 0x84CB
179 #define GL_TEXTURE12 0x84CC
180 #define GL_TEXTURE13 0x84CD
181 #define GL_TEXTURE14 0x84CE
182 #define GL_TEXTURE15 0x84CF
183 #define GL_TEXTURE16 0x84D0
184 #define GL_TEXTURE17 0x84D1
185 #define GL_TEXTURE18 0x84D2
186 #define GL_TEXTURE19 0x84D3
187 #define GL_TEXTURE20 0x84D4
188 #define GL_TEXTURE21 0x84D5
189 #define GL_TEXTURE22 0x84D6
190 #define GL_TEXTURE23 0x84D7
191 #define GL_TEXTURE24 0x84D8
192 #define GL_TEXTURE25 0x84D9
193 #define GL_TEXTURE26 0x84DA
194 #define GL_TEXTURE27 0x84DB
195 #define GL_TEXTURE28 0x84DC
196 #define GL_TEXTURE29 0x84DD
197 #define GL_TEXTURE30 0x84DE
198 #define GL_TEXTURE31 0x84DF
199 #define GL_ACTIVE_TEXTURE 0x84E0
200 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
201 #define GL_MAX_TEXTURE_UNITS 0x84E2
202 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
203 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
204 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
205 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
206 #define GL_MULTISAMPLE 0x809D
207 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
208 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
209 #define GL_SAMPLE_COVERAGE 0x80A0
210 #define GL_SAMPLE_BUFFERS 0x80A8
211 #define GL_SAMPLES 0x80A9
212 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
213 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
214 #define GL_MULTISAMPLE_BIT 0x20000000
215 #define GL_NORMAL_MAP 0x8511
216 #define GL_REFLECTION_MAP 0x8512
217 #define GL_TEXTURE_CUBE_MAP 0x8513
218 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
219 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
220 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
221 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
222 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
223 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
224 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
225 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
226 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
227 #define GL_COMPRESSED_ALPHA 0x84E9
228 #define GL_COMPRESSED_LUMINANCE 0x84EA
229 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
230 #define GL_COMPRESSED_INTENSITY 0x84EC
231 #define GL_COMPRESSED_RGB 0x84ED
232 #define GL_COMPRESSED_RGBA 0x84EE
233 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
234 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
235 #define GL_TEXTURE_COMPRESSED 0x86A1
236 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
237 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
238 #define GL_CLAMP_TO_BORDER 0x812D
239 #define GL_CLAMP_TO_BORDER_SGIS 0x812D
240 #define GL_COMBINE 0x8570
241 #define GL_COMBINE_RGB 0x8571
242 #define GL_COMBINE_ALPHA 0x8572
243 #define GL_SOURCE0_RGB 0x8580
244 #define GL_SOURCE1_RGB 0x8581
245 #define GL_SOURCE2_RGB 0x8582
246 #define GL_SOURCE0_ALPHA 0x8588
247 #define GL_SOURCE1_ALPHA 0x8589
248 #define GL_SOURCE2_ALPHA 0x858A
249 #define GL_OPERAND0_RGB 0x8590
250 #define GL_OPERAND1_RGB 0x8591
251 #define GL_OPERAND2_RGB 0x8592
252 #define GL_OPERAND0_ALPHA 0x8598
253 #define GL_OPERAND1_ALPHA 0x8599
254 #define GL_OPERAND2_ALPHA 0x859A
255 #define GL_RGB_SCALE 0x8573
256 #define GL_ADD_SIGNED 0x8574
257 #define GL_INTERPOLATE 0x8575
258 #define GL_SUBTRACT 0x84E7
259 #define GL_CONSTANT 0x8576
260 #define GL_PRIMARY_COLOR 0x8577
261 #define GL_PREVIOUS 0x8578
262 #define GL_DOT3_RGB 0x86AE
263 #define GL_DOT3_RGBA 0x86AF
264 #endif
265
266 #ifndef GL_ARB_multitexture
267 #define GL_TEXTURE0_ARB 0x84C0
268 #define GL_TEXTURE1_ARB 0x84C1
269 #define GL_TEXTURE2_ARB 0x84C2
270 #define GL_TEXTURE3_ARB 0x84C3
271 #define GL_TEXTURE4_ARB 0x84C4
272 #define GL_TEXTURE5_ARB 0x84C5
273 #define GL_TEXTURE6_ARB 0x84C6
274 #define GL_TEXTURE7_ARB 0x84C7
275 #define GL_TEXTURE8_ARB 0x84C8
276 #define GL_TEXTURE9_ARB 0x84C9
277 #define GL_TEXTURE10_ARB 0x84CA
278 #define GL_TEXTURE11_ARB 0x84CB
279 #define GL_TEXTURE12_ARB 0x84CC
280 #define GL_TEXTURE13_ARB 0x84CD
281 #define GL_TEXTURE14_ARB 0x84CE
282 #define GL_TEXTURE15_ARB 0x84CF
283 #define GL_TEXTURE16_ARB 0x84D0
284 #define GL_TEXTURE17_ARB 0x84D1
285 #define GL_TEXTURE18_ARB 0x84D2
286 #define GL_TEXTURE19_ARB 0x84D3
287 #define GL_TEXTURE20_ARB 0x84D4
288 #define GL_TEXTURE21_ARB 0x84D5
289 #define GL_TEXTURE22_ARB 0x84D6
290 #define GL_TEXTURE23_ARB 0x84D7
291 #define GL_TEXTURE24_ARB 0x84D8
292 #define GL_TEXTURE25_ARB 0x84D9
293 #define GL_TEXTURE26_ARB 0x84DA
294 #define GL_TEXTURE27_ARB 0x84DB
295 #define GL_TEXTURE28_ARB 0x84DC
296 #define GL_TEXTURE29_ARB 0x84DD
297 #define GL_TEXTURE30_ARB 0x84DE
298 #define GL_TEXTURE31_ARB 0x84DF
299 #define GL_ACTIVE_TEXTURE_ARB 0x84E0
300 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
301 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
302 #endif
303
304 #ifndef GL_ARB_transpose_matrix
305 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
306 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
307 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
308 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
309 #endif
310
311 #ifndef GL_ARB_multisample
312 #define GL_MULTISAMPLE_ARB 0x809D
313 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
314 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
315 #define GL_SAMPLE_COVERAGE_ARB 0x80A0
316 #define GL_SAMPLE_BUFFERS_ARB 0x80A8
317 #define GL_SAMPLES_ARB 0x80A9
318 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
319 #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
320 #define GL_MULTISAMPLE_BIT_ARB 0x20000000
321 #endif
322
323 #ifndef GL_ARB_texture_env_add
324 #endif
325
326 #ifndef GL_ARB_texture_cube_map
327 #define GL_NORMAL_MAP_ARB 0x8511
328 #define GL_REFLECTION_MAP_ARB 0x8512
329 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
330 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
331 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
332 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
333 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
334 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
335 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
336 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
337 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
338 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
339 #endif
340
341 #ifndef GL_ARB_texture_compression
342 #define GL_COMPRESSED_ALPHA_ARB 0x84E9
343 #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
344 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
345 #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
346 #define GL_COMPRESSED_RGB_ARB 0x84ED
347 #define GL_COMPRESSED_RGBA_ARB 0x84EE
348 #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
349 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
350 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
351 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
352 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
353 #endif
354
355 #ifndef GL_ARB_texture_border_clamp
356 #define GL_CLAMP_TO_BORDER_ARB 0x812D
357 #endif
358
359 #ifndef GL_ARB_point_parameters
360 #define GL_POINT_SIZE_MIN_ARB 0x8126
361 #define GL_POINT_SIZE_MIN_EXT 0x8126
362 #define GL_POINT_SIZE_MIN_SGIS 0x8126
363 #define GL_POINT_SIZE_MAX_ARB 0x8127
364 #define GL_POINT_SIZE_MAX_EXT 0x8127
365 #define GL_POINT_SIZE_MAX_SGIS 0x8127
366 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
367 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
368 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
369 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
370 #define GL_DISTANCE_ATTENUATION_EXT 0x8129
371 #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
372 #endif
373
374 #ifndef GL_ARB_vertex_blend
375 #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
376 #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
377 #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
378 #define GL_VERTEX_BLEND_ARB 0x86A7
379 #define GL_CURRENT_WEIGHT_ARB 0x86A8
380 #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
381 #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
382 #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
383 #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
384 #define GL_WEIGHT_ARRAY_ARB 0x86AD
385 #define GL_MODELVIEW0_ARB 0x1700
386 #define GL_MODELVIEW1_ARB 0x850A
387 #define GL_MODELVIEW2_ARB 0x8722
388 #define GL_MODELVIEW3_ARB 0x8723
389 #define GL_MODELVIEW4_ARB 0x8724
390 #define GL_MODELVIEW5_ARB 0x8725
391 #define GL_MODELVIEW6_ARB 0x8726
392 #define GL_MODELVIEW7_ARB 0x8727
393 #define GL_MODELVIEW8_ARB 0x8728
394 #define GL_MODELVIEW9_ARB 0x8729
395 #define GL_MODELVIEW10_ARB 0x872A
396 #define GL_MODELVIEW11_ARB 0x872B
397 #define GL_MODELVIEW12_ARB 0x872C
398 #define GL_MODELVIEW13_ARB 0x872D
399 #define GL_MODELVIEW14_ARB 0x872E
400 #define GL_MODELVIEW15_ARB 0x872F
401 #define GL_MODELVIEW16_ARB 0x8730
402 #define GL_MODELVIEW17_ARB 0x8731
403 #define GL_MODELVIEW18_ARB 0x8732
404 #define GL_MODELVIEW19_ARB 0x8733
405 #define GL_MODELVIEW20_ARB 0x8734
406 #define GL_MODELVIEW21_ARB 0x8735
407 #define GL_MODELVIEW22_ARB 0x8736
408 #define GL_MODELVIEW23_ARB 0x8737
409 #define GL_MODELVIEW24_ARB 0x8738
410 #define GL_MODELVIEW25_ARB 0x8739
411 #define GL_MODELVIEW26_ARB 0x873A
412 #define GL_MODELVIEW27_ARB 0x873B
413 #define GL_MODELVIEW28_ARB 0x873C
414 #define GL_MODELVIEW29_ARB 0x873D
415 #define GL_MODELVIEW30_ARB 0x873E
416 #define GL_MODELVIEW31_ARB 0x873F
417 #endif
418
419 #ifndef GL_ARB_matrix_palette
420 #define GL_MATRIX_PALETTE_ARB 0x8840
421 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
422 #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
423 #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
424 #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
425 #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
426 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
427 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
428 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
429 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
430 #endif
431
432 #ifndef GL_ARB_texture_env_combine
433 #define GL_COMBINE_ARB 0x8570
434 #define GL_COMBINE_RGB_ARB 0x8571
435 #define GL_COMBINE_ALPHA_ARB 0x8572
436 #define GL_SOURCE0_RGB_ARB 0x8580
437 #define GL_SOURCE1_RGB_ARB 0x8581
438 #define GL_SOURCE2_RGB_ARB 0x8582
439 #define GL_SOURCE0_ALPHA_ARB 0x8588
440 #define GL_SOURCE1_ALPHA_ARB 0x8589
441 #define GL_SOURCE2_ALPHA_ARB 0x858A
442 #define GL_OPERAND0_RGB_ARB 0x8590
443 #define GL_OPERAND1_RGB_ARB 0x8591
444 #define GL_OPERAND2_RGB_ARB 0x8592
445 #define GL_OPERAND0_ALPHA_ARB 0x8598
446 #define GL_OPERAND1_ALPHA_ARB 0x8599
447 #define GL_OPERAND2_ALPHA_ARB 0x859A
448 #define GL_RGB_SCALE_ARB 0x8573
449 #define GL_ADD_SIGNED_ARB 0x8574
450 #define GL_INTERPOLATE_ARB 0x8575
451 #define GL_SUBTRACT_ARB 0x84E7
452 #define GL_CONSTANT_ARB 0x8576
453 #define GL_PRIMARY_COLOR_ARB 0x8577
454 #define GL_PREVIOUS_ARB 0x8578
455 #endif
456
457 #ifndef GL_ARB_texture_env_crossbar
458 #endif
459
460 #ifndef GL_ARB_texture_env_dot3
461 #define GL_DOT3_RGB_ARB 0x86AE
462 #define GL_DOT3_RGB_EXT 0x86AE
463 #define GL_DOT3_RGBA_ARB 0x86AF
464 #define GL_DOT3_RGBA_EXT 0x86AF
465 #endif
466
467 #ifndef GL_ARB_texture_mirrored_repeat
468 #define GL_MIRRORED_REPEAT_ARB 0x8370
469 #endif
470
471 #ifndef GL_ARB_depth_texture
472 #define GL_DEPTH_COMPONENT16_ARB 0x81A5
473 #define GL_DEPTH_COMPONENT24_ARB 0x81A6
474 #define GL_DEPTH_COMPONENT32_ARB 0x81A7
475 #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
476 #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
477 #endif
478
479 #ifndef GL_ARB_shadow
480 #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
481 #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
482 #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
483 #endif
484
485 #ifndef GL_ARB_shadow_ambient
486 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
487 #endif
488
489 #ifndef GL_ARB_window_pos
490 #endif
491
492 #ifndef GL_EXT_abgr
493 #define GL_ABGR_EXT 0x8000
494 #endif
495
496 #ifndef GL_EXT_blend_color
497 #define GL_CONSTANT_COLOR_EXT 0x8001
498 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
499 #define GL_CONSTANT_ALPHA_EXT 0x8003
500 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
501 #define GL_BLEND_COLOR_EXT 0x8005
502 #endif
503
504 #ifndef GL_EXT_polygon_offset
505 #define GL_POLYGON_OFFSET_EXT 0x8037
506 #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
507 #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
508 #endif
509
510 #ifndef GL_EXT_texture
511 #define GL_ALPHA4_EXT 0x803B
512 #define GL_ALPHA8_EXT 0x803C
513 #define GL_ALPHA12_EXT 0x803D
514 #define GL_ALPHA16_EXT 0x803E
515 #define GL_LUMINANCE4_EXT 0x803F
516 #define GL_LUMINANCE8_EXT 0x8040
517 #define GL_LUMINANCE12_EXT 0x8041
518 #define GL_LUMINANCE16_EXT 0x8042
519 #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
520 #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
521 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
522 #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
523 #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
524 #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
525 #define GL_INTENSITY_EXT 0x8049
526 #define GL_INTENSITY4_EXT 0x804A
527 #define GL_INTENSITY8_EXT 0x804B
528 #define GL_INTENSITY12_EXT 0x804C
529 #define GL_INTENSITY16_EXT 0x804D
530 #define GL_RGB2_EXT 0x804E
531 #define GL_RGB4_EXT 0x804F
532 #define GL_RGB5_EXT 0x8050
533 #define GL_RGB8_EXT 0x8051
534 #define GL_RGB10_EXT 0x8052
535 #define GL_RGB12_EXT 0x8053
536 #define GL_RGB16_EXT 0x8054
537 #define GL_RGBA2_EXT 0x8055
538 #define GL_RGBA4_EXT 0x8056
539 #define GL_RGB5_A1_EXT 0x8057
540 #define GL_RGBA8_EXT 0x8058
541 #define GL_RGB10_A2_EXT 0x8059
542 #define GL_RGBA12_EXT 0x805A
543 #define GL_RGBA16_EXT 0x805B
544 #define GL_TEXTURE_RED_SIZE_EXT 0x805C
545 #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
546 #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
547 #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
548 #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
549 #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
550 #define GL_REPLACE_EXT 0x8062
551 #define GL_PROXY_TEXTURE_1D_EXT 0x8063
552 #define GL_PROXY_TEXTURE_2D_EXT 0x8064
553 #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
554 #endif
555
556 #ifndef GL_EXT_texture3D
557 #define GL_PACK_SKIP_IMAGES 0x806B
558 #define GL_PACK_SKIP_IMAGES_EXT 0x806B
559 #define GL_PACK_IMAGE_HEIGHT 0x806C
560 #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
561 #define GL_UNPACK_SKIP_IMAGES 0x806D
562 #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
563 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
564 #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
565 #define GL_TEXTURE_3D 0x806F
566 #define GL_TEXTURE_3D_EXT 0x806F
567 #define GL_PROXY_TEXTURE_3D 0x8070
568 #define GL_PROXY_TEXTURE_3D_EXT 0x8070
569 #define GL_TEXTURE_DEPTH 0x8071
570 #define GL_TEXTURE_DEPTH_EXT 0x8071
571 #define GL_TEXTURE_WRAP_R 0x8072
572 #define GL_TEXTURE_WRAP_R_EXT 0x8072
573 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
574 #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
575 #endif
576
577 #ifndef GL_SGIS_texture_filter4
578 #define GL_FILTER4_SGIS 0x8146
579 #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
580 #endif
581
582 #ifndef GL_EXT_subtexture
583 #endif
584
585 #ifndef GL_EXT_copy_texture
586 #endif
587
588 #ifndef GL_EXT_histogram
589 #define GL_HISTOGRAM_EXT 0x8024
590 #define GL_PROXY_HISTOGRAM_EXT 0x8025
591 #define GL_HISTOGRAM_WIDTH_EXT 0x8026
592 #define GL_HISTOGRAM_FORMAT_EXT 0x8027
593 #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
594 #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
595 #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
596 #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
597 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
598 #define GL_HISTOGRAM_SINK_EXT 0x802D
599 #define GL_MINMAX_EXT 0x802E
600 #define GL_MINMAX_FORMAT_EXT 0x802F
601 #define GL_MINMAX_SINK_EXT 0x8030
602 #define GL_TABLE_TOO_LARGE_EXT 0x8031
603 #endif
604
605 #ifndef GL_EXT_convolution
606 #define GL_CONVOLUTION_1D_EXT 0x8010
607 #define GL_CONVOLUTION_2D_EXT 0x8011
608 #define GL_SEPARABLE_2D_EXT 0x8012
609 #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
610 #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
611 #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
612 #define GL_REDUCE_EXT 0x8016
613 #define GL_CONVOLUTION_FORMAT_EXT 0x8017
614 #define GL_CONVOLUTION_WIDTH_EXT 0x8018
615 #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
616 #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
617 #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
618 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
619 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
620 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
621 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
622 #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
623 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
624 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
625 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
626 #endif
627
628 #ifndef GL_SGI_color_matrix
629 #define GL_COLOR_MATRIX_SGI 0x80B1
630 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
631 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
632 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
633 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
634 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
635 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
636 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
637 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
638 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
639 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
640 #endif
641
642 #ifndef GL_SGI_color_table
643 #define GL_COLOR_TABLE_SGI 0x80D0
644 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
645 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
646 #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
647 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
648 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
649 #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
650 #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
651 #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
652 #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
653 #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
654 #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
655 #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
656 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
657 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
658 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
659 #endif
660
661 #ifndef GL_SGIS_pixel_texture
662 #define GL_PIXEL_TEXTURE_SGIS 0x8353
663 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
664 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
665 #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
666 #endif
667
668 #ifndef GL_SGIX_pixel_texture
669 #define GL_PIXEL_TEX_GEN_SGIX 0x8139
670 #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
671 #endif
672
673 #ifndef GL_SGIS_texture4D
674 #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
675 #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
676 #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
677 #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
678 #define GL_TEXTURE_4D_SGIS 0x8134
679 #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
680 #define GL_TEXTURE_4DSIZE_SGIS 0x8136
681 #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
682 #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
683 #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
684 #endif
685
686 #ifndef GL_SGI_texture_color_table
687 #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
688 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
689 #endif
690
691 #ifndef GL_EXT_cmyka
692 #define GL_CMYK_EXT 0x800C
693 #define GL_CMYKA_EXT 0x800D
694 #define GL_PACK_CMYK_HINT_EXT 0x800E
695 #define GL_UNPACK_CMYK_HINT_EXT 0x800F
696 #endif
697
698 #ifndef GL_EXT_texture_object
699 #define GL_TEXTURE_PRIORITY_EXT 0x8066
700 #define GL_TEXTURE_RESIDENT_EXT 0x8067
701 #define GL_TEXTURE_1D_BINDING_EXT 0x8068
702 #define GL_TEXTURE_2D_BINDING_EXT 0x8069
703 #define GL_TEXTURE_3D_BINDING_EXT 0x806A
704 #endif
705
706 #ifndef GL_SGIS_detail_texture
707 #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
708 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
709 #define GL_LINEAR_DETAIL_SGIS 0x8097
710 #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
711 #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
712 #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
713 #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
714 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
715 #endif
716
717 #ifndef GL_SGIS_sharpen_texture
718 #define GL_LINEAR_SHARPEN_SGIS 0x80AD
719 #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
720 #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
721 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
722 #endif
723
724 #ifndef GL_EXT_packed_pixels
725 #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
726 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
727 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
728 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
729 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
730 #endif
731
732 #ifndef GL_SGIS_texture_lod
733 #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
734 #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
735 #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
736 #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
737 #endif
738
739 #ifndef GL_SGIS_multisample
740 #define GL_MULTISAMPLE_SGIS 0x809D
741 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
742 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
743 #define GL_SAMPLE_MASK_SGIS 0x80A0
744 #define GL_1PASS_SGIS 0x80A1
745 #define GL_2PASS_0_SGIS 0x80A2
746 #define GL_2PASS_1_SGIS 0x80A3
747 #define GL_4PASS_0_SGIS 0x80A4
748 #define GL_4PASS_1_SGIS 0x80A5
749 #define GL_4PASS_2_SGIS 0x80A6
750 #define GL_4PASS_3_SGIS 0x80A7
751 #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
752 #define GL_SAMPLES_SGIS 0x80A9
753 #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
754 #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
755 #define GL_SAMPLE_PATTERN_SGIS 0x80AC
756 #endif
757
758 #ifndef GL_EXT_rescale_normal
759 #define GL_RESCALE_NORMAL_EXT 0x803A
760 #endif
761
762 #ifndef GL_EXT_vertex_array
763 #define GL_VERTEX_ARRAY_EXT 0x8074
764 #define GL_NORMAL_ARRAY_EXT 0x8075
765 #define GL_COLOR_ARRAY_EXT 0x8076
766 #define GL_INDEX_ARRAY_EXT 0x8077
767 #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
768 #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
769 #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
770 #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
771 #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
772 #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
773 #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
774 #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
775 #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
776 #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
777 #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
778 #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
779 #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
780 #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
781 #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
782 #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
783 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
784 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
785 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
786 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
787 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
788 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
789 #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
790 #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
791 #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
792 #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
793 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
794 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
795 #endif
796
797 #ifndef GL_EXT_misc_attribute
798 #endif
799
800 #ifndef GL_SGIS_generate_mipmap
801 #define GL_GENERATE_MIPMAP_SGIS 0x8191
802 #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
803 #endif
804
805 #ifndef GL_SGIX_clipmap
806 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
807 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
808 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
809 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
810 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
811 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
812 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
813 #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
814 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
815 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
816 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
817 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
818 #endif
819
820 #ifndef GL_SGIX_shadow
821 #define GL_TEXTURE_COMPARE_SGIX 0x819A
822 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
823 #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
824 #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
825 #endif
826
827 #ifndef GL_SGIS_texture_edge_clamp
828 #define GL_CLAMP_TO_EDGE_SGIS 0x812F
829 #endif
830
831 #ifndef GL_EXT_blend_minmax
832 #define GL_FUNC_ADD_EXT 0x8006
833 #define GL_MIN_EXT 0x8007
834 #define GL_MAX_EXT 0x8008
835 #define GL_BLEND_EQUATION_EXT 0x8009
836 #endif
837
838 #ifndef GL_EXT_blend_subtract
839 #define GL_FUNC_SUBTRACT_EXT 0x800A
840 #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
841 #endif
842
843 #ifndef GL_EXT_blend_logic_op
844 #endif
845
846 #ifndef GL_SGIX_interlace
847 #define GL_INTERLACE_SGIX 0x8094
848 #endif
849
850 #ifndef GL_SGIX_pixel_tiles
851 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
852 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
853 #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
854 #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
855 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
856 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
857 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
858 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
859 #endif
860
861 #ifndef GL_SGIS_texture_select
862 #define GL_DUAL_ALPHA4_SGIS 0x8110
863 #define GL_DUAL_ALPHA8_SGIS 0x8111
864 #define GL_DUAL_ALPHA12_SGIS 0x8112
865 #define GL_DUAL_ALPHA16_SGIS 0x8113
866 #define GL_DUAL_LUMINANCE4_SGIS 0x8114
867 #define GL_DUAL_LUMINANCE8_SGIS 0x8115
868 #define GL_DUAL_LUMINANCE12_SGIS 0x8116
869 #define GL_DUAL_LUMINANCE16_SGIS 0x8117
870 #define GL_DUAL_INTENSITY4_SGIS 0x8118
871 #define GL_DUAL_INTENSITY8_SGIS 0x8119
872 #define GL_DUAL_INTENSITY12_SGIS 0x811A
873 #define GL_DUAL_INTENSITY16_SGIS 0x811B
874 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
875 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
876 #define GL_QUAD_ALPHA4_SGIS 0x811E
877 #define GL_QUAD_ALPHA8_SGIS 0x811F
878 #define GL_QUAD_LUMINANCE4_SGIS 0x8120
879 #define GL_QUAD_LUMINANCE8_SGIS 0x8121
880 #define GL_QUAD_INTENSITY4_SGIS 0x8122
881 #define GL_QUAD_INTENSITY8_SGIS 0x8123
882 #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
883 #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
884 #endif
885
886 #ifndef GL_SGIX_sprite
887 #define GL_SPRITE_SGIX 0x8148
888 #define GL_SPRITE_MODE_SGIX 0x8149
889 #define GL_SPRITE_AXIS_SGIX 0x814A
890 #define GL_SPRITE_TRANSLATION_SGIX 0x814B
891 #define GL_SPRITE_AXIAL_SGIX 0x814C
892 #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
893 #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
894 #endif
895
896 #ifndef GL_SGIX_texture_multi_buffer
897 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
898 #endif
899
900 #ifndef GL_SGIX_instruments
901 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
902 #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
903 #endif
904
905 #ifndef GL_SGIX_texture_scale_bias
906 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
907 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
908 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
909 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
910 #endif
911
912 #ifndef GL_SGIX_framezoom
913 #define GL_FRAMEZOOM_SGIX 0x818B
914 #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
915 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
916 #endif
917
918 #ifndef GL_SGIX_tag_sample_buffer
919 #endif
920
921 #ifndef GL_FfdMaskSGIX
922 #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
923 #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
924 #endif
925
926 #ifndef GL_SGIX_polynomial_ffd
927 #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
928 #define GL_TEXTURE_DEFORMATION_SGIX 0x8195
929 #define GL_DEFORMATIONS_MASK_SGIX 0x8196
930 #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
931 #endif
932
933 #ifndef GL_SGIX_reference_plane
934 #define GL_REFERENCE_PLANE_SGIX 0x817D
935 #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
936 #endif
937
938 #ifndef GL_SGIX_flush_raster
939 #endif
940
941 #ifndef GL_SGIX_depth_texture
942 #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
943 #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
944 #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
945 #endif
946
947 #ifndef GL_SGIS_fog_function
948 #define GL_FOG_FUNC_SGIS 0x812A
949 #define GL_FOG_FUNC_POINTS_SGIS 0x812B
950 #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
951 #endif
952
953 #ifndef GL_SGIX_fog_offset
954 #define GL_FOG_OFFSET_SGIX 0x8198
955 #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
956 #endif
957
958 #ifndef GL_HP_image_transform
959 #define GL_IMAGE_SCALE_X_HP 0x8155
960 #define GL_IMAGE_SCALE_Y_HP 0x8156
961 #define GL_IMAGE_TRANSLATE_X_HP 0x8157
962 #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
963 #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
964 #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
965 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
966 #define GL_IMAGE_MAG_FILTER_HP 0x815C
967 #define GL_IMAGE_MIN_FILTER_HP 0x815D
968 #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
969 #define GL_CUBIC_HP 0x815F
970 #define GL_AVERAGE_HP 0x8160
971 #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
972 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
973 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
974 #endif
975
976 #ifndef GL_HP_convolution_border_modes
977 #define GL_IGNORE_BORDER_HP 0x8150
978 #define GL_CONSTANT_BORDER_HP 0x8151
979 #define GL_REPLICATE_BORDER_HP 0x8153
980 #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
981 #endif
982
983 #ifndef GL_INGR_palette_buffer
984 #endif
985
986 #ifndef GL_SGIX_texture_add_env
987 #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
988 #endif
989
990 #ifndef GL_EXT_color_subtable
991 #endif
992
993 #ifndef GL_PGI_vertex_hints
994 #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
995 #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
996 #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
997 #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
998 #define GL_COLOR3_BIT_PGI 0x00010000
999 #define GL_COLOR4_BIT_PGI 0x00020000
1000 #define GL_EDGEFLAG_BIT_PGI 0x00040000
1001 #define GL_INDEX_BIT_PGI 0x00080000
1002 #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
1003 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
1004 #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
1005 #define GL_MAT_EMISSION_BIT_PGI 0x00800000
1006 #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
1007 #define GL_MAT_SHININESS_BIT_PGI 0x02000000
1008 #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
1009 #define GL_NORMAL_BIT_PGI 0x08000000
1010 #define GL_TEXCOORD1_BIT_PGI 0x10000000
1011 #define GL_TEXCOORD2_BIT_PGI 0x20000000
1012 #define GL_TEXCOORD3_BIT_PGI 0x40000000
1013 #define GL_TEXCOORD4_BIT_PGI 0x80000000
1014 #define GL_VERTEX23_BIT_PGI 0x00000004
1015 #define GL_VERTEX4_BIT_PGI 0x00000008
1016 #endif
1017
1018 #ifndef GL_PGI_misc_hints
1019 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
1020 #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
1021 #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
1022 #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
1023 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
1024 #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
1025 #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
1026 #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
1027 #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
1028 #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
1029 #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
1030 #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
1031 #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
1032 #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
1033 #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
1034 #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
1035 #define GL_CLIP_NEAR_HINT_PGI 0x1A220
1036 #define GL_CLIP_FAR_HINT_PGI 0x1A221
1037 #define GL_WIDE_LINE_HINT_PGI 0x1A222
1038 #define GL_BACK_NORMALS_HINT_PGI 0x1A223
1039 #endif
1040
1041 #ifndef GL_EXT_paletted_texture
1042 #define GL_COLOR_INDEX1_EXT 0x80E2
1043 #define GL_COLOR_INDEX2_EXT 0x80E3
1044 #define GL_COLOR_INDEX4_EXT 0x80E4
1045 #define GL_COLOR_INDEX8_EXT 0x80E5
1046 #define GL_COLOR_INDEX12_EXT 0x80E6
1047 #define GL_COLOR_INDEX16_EXT 0x80E7
1048 #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
1049 #endif
1050
1051 #ifndef GL_EXT_clip_volume_hint
1052 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
1053 #endif
1054
1055 #ifndef GL_SGIX_list_priority
1056 #define GL_LIST_PRIORITY_SGIX 0x8182
1057 #endif
1058
1059 #ifndef GL_SGIX_ir_instrument1
1060 #define GL_IR_INSTRUMENT1_SGIX 0x817F
1061 #endif
1062
1063 #ifndef GL_SGIX_calligraphic_fragment
1064 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
1065 #endif
1066
1067 #ifndef GL_SGIX_texture_lod_bias
1068 #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
1069 #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
1070 #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
1071 #endif
1072
1073 #ifndef GL_SGIX_shadow_ambient
1074 #define GL_SHADOW_AMBIENT_SGIX 0x80BF
1075 #endif
1076
1077 #ifndef GL_EXT_index_texture
1078 #endif
1079
1080 #ifndef GL_EXT_index_material
1081 #define GL_INDEX_MATERIAL_EXT 0x81B8
1082 #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
1083 #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
1084 #endif
1085
1086 #ifndef GL_EXT_index_func
1087 #define GL_INDEX_TEST_EXT 0x81B5
1088 #define GL_INDEX_TEST_FUNC_EXT 0x81B6
1089 #define GL_INDEX_TEST_REF_EXT 0x81B7
1090 #endif
1091
1092 #ifndef GL_EXT_index_array_formats
1093 #define GL_IUI_V2F_EXT 0x81AD
1094 #define GL_IUI_V3F_EXT 0x81AE
1095 #define GL_IUI_N3F_V2F_EXT 0x81AF
1096 #define GL_IUI_N3F_V3F_EXT 0x81B0
1097 #define GL_T2F_IUI_V2F_EXT 0x81B1
1098 #define GL_T2F_IUI_V3F_EXT 0x81B2
1099 #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
1100 #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
1101 #endif
1102
1103 #ifndef GL_EXT_compiled_vertex_array
1104 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
1105 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
1106 #endif
1107
1108 #ifndef GL_EXT_cull_vertex
1109 #define GL_CULL_VERTEX_EXT 0x81AA
1110 #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
1111 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
1112 #endif
1113
1114 #ifndef GL_SGIX_ycrcb
1115 #define GL_YCRCB_422_SGIX 0x81BB
1116 #define GL_YCRCB_444_SGIX 0x81BC
1117 #endif
1118
1119 #ifndef GL_SGIX_fragment_lighting
1120 #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
1121 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
1122 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
1123 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
1124 #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
1125 #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
1126 #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
1127 #define GL_LIGHT_ENV_MODE_SGIX 0x8407
1128 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
1129 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
1130 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
1131 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
1132 #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
1133 #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
1134 #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
1135 #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
1136 #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
1137 #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
1138 #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
1139 #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
1140 #endif
1141
1142 #ifndef GL_IBM_rasterpos_clip
1143 #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
1144 #endif
1145
1146 #ifndef GL_HP_texture_lighting
1147 #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
1148 #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
1149 #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
1150 #endif
1151
1152 #ifndef GL_EXT_draw_range_elements
1153 #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
1154 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
1155 #endif
1156
1157 #ifndef GL_WIN_phong_shading
1158 #define GL_PHONG_WIN 0x80EA
1159 #define GL_PHONG_HINT_WIN 0x80EB
1160 #endif
1161
1162 #ifndef GL_WIN_specular_fog
1163 #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
1164 #endif
1165
1166 #ifndef GL_EXT_light_texture
1167 #define GL_FRAGMENT_MATERIAL_EXT 0x8349
1168 #define GL_FRAGMENT_NORMAL_EXT 0x834A
1169 #define GL_FRAGMENT_COLOR_EXT 0x834C
1170 #define GL_ATTENUATION_EXT 0x834D
1171 #define GL_SHADOW_ATTENUATION_EXT 0x834E
1172 #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
1173 #define GL_TEXTURE_LIGHT_EXT 0x8350
1174 #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
1175 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
1176 /* reuse GL_FRAGMENT_DEPTH_EXT */
1177 #endif
1178
1179 #ifndef GL_SGIX_blend_alpha_minmax
1180 #define GL_ALPHA_MIN_SGIX 0x8320
1181 #define GL_ALPHA_MAX_SGIX 0x8321
1182 #endif
1183
1184 #ifndef GL_SGIX_impact_pixel_texture
1185 #define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX 0x8184
1186 #define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX 0x8185
1187 #define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX 0x8186
1188 #define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187
1189 #define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188
1190 #define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX 0x8189
1191 #define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX 0x818A
1192 #endif
1193
1194 #ifndef GL_EXT_bgra
1195 #define GL_BGR_EXT 0x80E0
1196 #define GL_BGRA_EXT 0x80E1
1197 #endif
1198
1199 #ifndef GL_SGIX_async
1200 #define GL_ASYNC_MARKER_SGIX 0x8329
1201 #endif
1202
1203 #ifndef GL_SGIX_async_pixel
1204 #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
1205 #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
1206 #define GL_ASYNC_READ_PIXELS_SGIX 0x835E
1207 #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
1208 #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
1209 #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
1210 #endif
1211
1212 #ifndef GL_SGIX_async_histogram
1213 #define GL_ASYNC_HISTOGRAM_SGIX 0x832C
1214 #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
1215 #endif
1216
1217 #ifndef GL_INTEL_texture_scissor
1218 #endif
1219
1220 #ifndef GL_INTEL_parallel_arrays
1221 #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
1222 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
1223 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
1224 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
1225 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
1226 #endif
1227
1228 #ifndef GL_HP_occlusion_test
1229 #define GL_OCCLUSION_TEST_HP 0x8165
1230 #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
1231 #endif
1232
1233 #ifndef GL_EXT_pixel_transform
1234 #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
1235 #define GL_PIXEL_MAG_FILTER_EXT 0x8331
1236 #define GL_PIXEL_MIN_FILTER_EXT 0x8332
1237 #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
1238 #define GL_CUBIC_EXT 0x8334
1239 #define GL_AVERAGE_EXT 0x8335
1240 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
1241 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
1242 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
1243 #endif
1244
1245 #ifndef GL_EXT_pixel_transform_color_table
1246 #endif
1247
1248 #ifndef GL_EXT_shared_texture_palette
1249 #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
1250 #endif
1251
1252 #ifndef GL_EXT_separate_specular_color
1253 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
1254 #define GL_SINGLE_COLOR_EXT 0x81F9
1255 #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
1256 #endif
1257
1258 #ifndef GL_EXT_secondary_color
1259 #define GL_COLOR_SUM_EXT 0x8458
1260 #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
1261 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
1262 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
1263 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
1264 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
1265 #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
1266 #endif
1267
1268 #ifndef GL_EXT_texture_perturb_normal
1269 #define GL_PERTURB_EXT 0x85AE
1270 #define GL_TEXTURE_NORMAL_EXT 0x85AF
1271 #endif
1272
1273 #ifndef GL_EXT_multi_draw_arrays
1274 #endif
1275
1276 #ifndef GL_EXT_fog_coord
1277 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
1278 #define GL_FOG_COORDINATE_EXT 0x8451
1279 #define GL_FRAGMENT_DEPTH_EXT 0x8452
1280 #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
1281 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
1282 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
1283 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
1284 #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
1285 #endif
1286
1287 #ifndef GL_REND_screen_coordinates
1288 #define GL_SCREEN_COORDINATES_REND 0x8490
1289 #define GL_INVERTED_SCREEN_W_REND 0x8491
1290 #endif
1291
1292 #ifndef GL_EXT_coordinate_frame
1293 #define GL_TANGENT_ARRAY_EXT 0x8439
1294 #define GL_BINORMAL_ARRAY_EXT 0x843A
1295 #define GL_CURRENT_TANGENT_EXT 0x843B
1296 #define GL_CURRENT_BINORMAL_EXT 0x843C
1297 #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
1298 #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
1299 #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
1300 #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
1301 #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
1302 #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
1303 #define GL_MAP1_TANGENT_EXT 0x8444
1304 #define GL_MAP2_TANGENT_EXT 0x8445
1305 #define GL_MAP1_BINORMAL_EXT 0x8446
1306 #define GL_MAP2_BINORMAL_EXT 0x8447
1307 #endif
1308
1309 #ifndef GL_EXT_texture_env_combine
1310 #define GL_COMBINE_EXT 0x8570
1311 #define GL_COMBINE_RGB_EXT 0x8571
1312 #define GL_COMBINE_ALPHA_EXT 0x8572
1313 #define GL_RGB_SCALE_EXT 0x8573
1314 #define GL_ADD_SIGNED_EXT 0x8574
1315 #define GL_INTERPOLATE_EXT 0x8575
1316 #define GL_CONSTANT_EXT 0x8576
1317 #define GL_PRIMARY_COLOR_EXT 0x8577
1318 #define GL_PREVIOUS_EXT 0x8578
1319 #define GL_SOURCE0_RGB_EXT 0x8580
1320 #define GL_SOURCE1_RGB_EXT 0x8581
1321 #define GL_SOURCE2_RGB_EXT 0x8582
1322 #define GL_SOURCE0_ALPHA_EXT 0x8588
1323 #define GL_SOURCE1_ALPHA_EXT 0x8589
1324 #define GL_SOURCE2_ALPHA_EXT 0x858A
1325 #define GL_OPERAND0_RGB_EXT 0x8590
1326 #define GL_OPERAND1_RGB_EXT 0x8591
1327 #define GL_OPERAND2_RGB_EXT 0x8592
1328 #define GL_OPERAND0_ALPHA_EXT 0x8598
1329 #define GL_OPERAND1_ALPHA_EXT 0x8599
1330 #define GL_OPERAND2_ALPHA_EXT 0x859A
1331 #endif
1332
1333 #ifndef GL_APPLE_specular_vector
1334 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
1335 #endif
1336
1337 #ifndef GL_APPLE_transform_hint
1338 #define GL_TRANSFORM_HINT_APPLE 0x85B1
1339 #endif
1340
1341 #ifndef GL_SGIX_fog_scale
1342 #define GL_FOG_SCALE_SGIX 0x81FC
1343 #define GL_FOG_SCALE_VALUE_SGIX 0x81FD
1344 #endif
1345
1346 #ifndef GL_SUNX_constant_data
1347 #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
1348 #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
1349 #endif
1350
1351 #ifndef GL_SUN_global_alpha
1352 #define GL_GLOBAL_ALPHA_SUN 0x81D9
1353 #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
1354 #endif
1355
1356 #ifndef GL_SUN_triangle_list
1357 #define GL_RESTART_SUN 0x0001
1358 #define GL_REPLACE_MIDDLE_SUN 0x0002
1359 #define GL_REPLACE_OLDEST_SUN 0x0003
1360 #define GL_TRIANGLE_LIST_SUN 0x81D7
1361 #define GL_REPLACEMENT_CODE_SUN 0x81D8
1362 #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
1363 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
1364 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
1365 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
1366 #define GL_R1UI_V3F_SUN 0x85C4
1367 #define GL_R1UI_C4UB_V3F_SUN 0x85C5
1368 #define GL_R1UI_C3F_V3F_SUN 0x85C6
1369 #define GL_R1UI_N3F_V3F_SUN 0x85C7
1370 #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
1371 #define GL_R1UI_T2F_V3F_SUN 0x85C9
1372 #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
1373 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
1374 #endif
1375
1376 #ifndef GL_SUN_vertex
1377 #endif
1378
1379 #ifndef GL_EXT_blend_func_separate
1380 #define GL_BLEND_DST_RGB_EXT 0x80C8
1381 #define GL_BLEND_SRC_RGB_EXT 0x80C9
1382 #define GL_BLEND_DST_ALPHA_EXT 0x80CA
1383 #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
1384 #endif
1385
1386 #ifndef GL_INGR_color_clamp
1387 #define GL_RED_MIN_CLAMP_INGR 0x8560
1388 #define GL_GREEN_MIN_CLAMP_INGR 0x8561
1389 #define GL_BLUE_MIN_CLAMP_INGR 0x8562
1390 #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
1391 #define GL_RED_MAX_CLAMP_INGR 0x8564
1392 #define GL_GREEN_MAX_CLAMP_INGR 0x8565
1393 #define GL_BLUE_MAX_CLAMP_INGR 0x8566
1394 #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
1395 #endif
1396
1397 #ifndef GL_INGR_interlace_read
1398 #define GL_INTERLACE_READ_INGR 0x8568
1399 #endif
1400
1401 #ifndef GL_EXT_stencil_wrap
1402 #define GL_INCR_WRAP_EXT 0x8507
1403 #define GL_DECR_WRAP_EXT 0x8508
1404 #endif
1405
1406 #ifndef GL_EXT_422_pixels
1407 #define GL_422_EXT 0x80CC
1408 #define GL_422_REV_EXT 0x80CD
1409 #define GL_422_AVERAGE_EXT 0x80CE
1410 #define GL_422_REV_AVERAGE_EXT 0x80CF
1411 #endif
1412
1413 #ifndef GL_NV_texgen_reflection
1414 #define GL_NORMAL_MAP_NV 0x8511
1415 #define GL_REFLECTION_MAP_NV 0x8512
1416 #endif
1417
1418 #ifndef GL_EXT_texture_cube_map
1419 #define GL_NORMAL_MAP_EXT 0x8511
1420 #define GL_REFLECTION_MAP_EXT 0x8512
1421 #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
1422 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
1423 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
1424 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
1425 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
1426 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
1427 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
1428 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
1429 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
1430 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
1431 #endif
1432
1433 #ifndef GL_SUN_convolution_border_modes
1434 #define GL_WRAP_BORDER_SUN 0x81D4
1435 #endif
1436
1437 #ifndef GL_EXT_texture_env_add
1438 #endif
1439
1440 #ifndef GL_EXT_texture_lod_bias
1441 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
1442 #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
1443 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
1444 #endif
1445
1446 #ifndef GL_EXT_texture_filter_anisotropic
1447 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
1448 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
1449 #endif
1450
1451 #ifndef GL_EXT_vertex_weighting
1452 #define GL_MODELVIEW0_STACK_DEPTH_EXT GL_MODELVIEW_STACK_DEPTH
1453 #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
1454 #define GL_MODELVIEW0_MATRIX_EXT GL_MODELVIEW_MATRIX
1455 #define GL_MODELVIEW1_MATRIX_EXT 0x8506
1456 #define GL_VERTEX_WEIGHTING_EXT 0x8509
1457 #define GL_MODELVIEW0_EXT GL_MODELVIEW
1458 #define GL_MODELVIEW1_EXT 0x850A
1459 #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
1460 #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
1461 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
1462 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
1463 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
1464 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
1465 #endif
1466
1467 #ifndef GL_NV_light_max_exponent
1468 #define GL_MAX_SHININESS_NV 0x8504
1469 #define GL_MAX_SPOT_EXPONENT_NV 0x8505
1470 #endif
1471
1472 #ifndef GL_NV_vertex_array_range
1473 #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
1474 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
1475 #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
1476 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
1477 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
1478 #endif
1479
1480 #ifndef GL_NV_register_combiners
1481 #define GL_REGISTER_COMBINERS_NV 0x8522
1482 #define GL_VARIABLE_A_NV 0x8523
1483 #define GL_VARIABLE_B_NV 0x8524
1484 #define GL_VARIABLE_C_NV 0x8525
1485 #define GL_VARIABLE_D_NV 0x8526
1486 #define GL_VARIABLE_E_NV 0x8527
1487 #define GL_VARIABLE_F_NV 0x8528
1488 #define GL_VARIABLE_G_NV 0x8529
1489 #define GL_CONSTANT_COLOR0_NV 0x852A
1490 #define GL_CONSTANT_COLOR1_NV 0x852B
1491 #define GL_PRIMARY_COLOR_NV 0x852C
1492 #define GL_SECONDARY_COLOR_NV 0x852D
1493 #define GL_SPARE0_NV 0x852E
1494 #define GL_SPARE1_NV 0x852F
1495 #define GL_DISCARD_NV 0x8530
1496 #define GL_E_TIMES_F_NV 0x8531
1497 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
1498 #define GL_UNSIGNED_IDENTITY_NV 0x8536
1499 #define GL_UNSIGNED_INVERT_NV 0x8537
1500 #define GL_EXPAND_NORMAL_NV 0x8538
1501 #define GL_EXPAND_NEGATE_NV 0x8539
1502 #define GL_HALF_BIAS_NORMAL_NV 0x853A
1503 #define GL_HALF_BIAS_NEGATE_NV 0x853B
1504 #define GL_SIGNED_IDENTITY_NV 0x853C
1505 #define GL_SIGNED_NEGATE_NV 0x853D
1506 #define GL_SCALE_BY_TWO_NV 0x853E
1507 #define GL_SCALE_BY_FOUR_NV 0x853F
1508 #define GL_SCALE_BY_ONE_HALF_NV 0x8540
1509 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
1510 #define GL_COMBINER_INPUT_NV 0x8542
1511 #define GL_COMBINER_MAPPING_NV 0x8543
1512 #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
1513 #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
1514 #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
1515 #define GL_COMBINER_MUX_SUM_NV 0x8547
1516 #define GL_COMBINER_SCALE_NV 0x8548
1517 #define GL_COMBINER_BIAS_NV 0x8549
1518 #define GL_COMBINER_AB_OUTPUT_NV 0x854A
1519 #define GL_COMBINER_CD_OUTPUT_NV 0x854B
1520 #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
1521 #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
1522 #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
1523 #define GL_COLOR_SUM_CLAMP_NV 0x854F
1524 #define GL_COMBINER0_NV 0x8550
1525 #define GL_COMBINER1_NV 0x8551
1526 #define GL_COMBINER2_NV 0x8552
1527 #define GL_COMBINER3_NV 0x8553
1528 #define GL_COMBINER4_NV 0x8554
1529 #define GL_COMBINER5_NV 0x8555
1530 #define GL_COMBINER6_NV 0x8556
1531 #define GL_COMBINER7_NV 0x8557
1532 /* reuse GL_TEXTURE0_ARB */
1533 /* reuse GL_TEXTURE1_ARB */
1534 /* reuse GL_ZERO */
1535 /* reuse GL_NONE */
1536 /* reuse GL_FOG */
1537 #endif
1538
1539 #ifndef GL_NV_fog_distance
1540 #define GL_FOG_DISTANCE_MODE_NV 0x855A
1541 #define GL_EYE_RADIAL_NV 0x855B
1542 #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
1543 /* reuse GL_EYE_PLANE */
1544 #endif
1545
1546 #ifndef GL_NV_texgen_emboss
1547 #define GL_EMBOSS_LIGHT_NV 0x855D
1548 #define GL_EMBOSS_CONSTANT_NV 0x855E
1549 #define GL_EMBOSS_MAP_NV 0x855F
1550 #endif
1551
1552 #ifndef GL_NV_blend_square
1553 #endif
1554
1555 #ifndef GL_NV_texture_env_combine4
1556 #define GL_COMBINE4_NV 0x8503
1557 #define GL_SOURCE3_RGB_NV 0x8583
1558 #define GL_SOURCE3_ALPHA_NV 0x858B
1559 #define GL_OPERAND3_RGB_NV 0x8593
1560 #define GL_OPERAND3_ALPHA_NV 0x859B
1561 #endif
1562
1563 #ifndef GL_MESA_resize_buffers
1564 #endif
1565
1566 #ifndef GL_MESA_window_pos
1567 #endif
1568
1569 #ifndef GL_EXT_texture_compression_s3tc
1570 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
1571 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
1572 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
1573 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
1574 #endif
1575
1576 #ifndef GL_IBM_cull_vertex
1577 #define GL_CULL_VERTEX_IBM 103050
1578 #endif
1579
1580 #ifndef GL_IBM_multimode_draw_arrays
1581 #endif
1582
1583 #ifndef GL_IBM_vertex_array_lists
1584 #define GL_VERTEX_ARRAY_LIST_IBM 103070
1585 #define GL_NORMAL_ARRAY_LIST_IBM 103071
1586 #define GL_COLOR_ARRAY_LIST_IBM 103072
1587 #define GL_INDEX_ARRAY_LIST_IBM 103073
1588 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
1589 #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
1590 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
1591 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
1592 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
1593 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
1594 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
1595 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
1596 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
1597 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
1598 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
1599 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
1600 #endif
1601
1602 #ifndef GL_SGIX_subsample
1603 #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
1604 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
1605 #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
1606 #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
1607 #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
1608 #endif
1609
1610 #ifndef GL_SGIX_ycrcb_subsample
1611 #endif
1612
1613 #ifndef GL_SGIX_ycrcba
1614 #define GL_YCRCB_SGIX 0x8318
1615 #define GL_YCRCBA_SGIX 0x8319
1616 #endif
1617
1618 #ifndef GL_SGI_depth_pass_instrument
1619 #define GL_DEPTH_PASS_INSTRUMENT_SGIX 0x8310
1620 #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
1621 #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
1622 #endif
1623
1624 #ifndef GL_3DFX_texture_compression_FXT1
1625 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
1626 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
1627 #endif
1628
1629 #ifndef GL_3DFX_multisample
1630 #define GL_MULTISAMPLE_3DFX 0x86B2
1631 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
1632 #define GL_SAMPLES_3DFX 0x86B4
1633 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
1634 #endif
1635
1636 #ifndef GL_3DFX_tbuffer
1637 #endif
1638
1639 #ifndef GL_EXT_multisample
1640 #define GL_MULTISAMPLE_EXT 0x809D
1641 #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
1642 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
1643 #define GL_SAMPLE_MASK_EXT 0x80A0
1644 #define GL_1PASS_EXT 0x80A1
1645 #define GL_2PASS_0_EXT 0x80A2
1646 #define GL_2PASS_1_EXT 0x80A3
1647 #define GL_4PASS_0_EXT 0x80A4
1648 #define GL_4PASS_1_EXT 0x80A5
1649 #define GL_4PASS_2_EXT 0x80A6
1650 #define GL_4PASS_3_EXT 0x80A7
1651 #define GL_SAMPLE_BUFFERS_EXT 0x80A8
1652 #define GL_SAMPLES_EXT 0x80A9
1653 #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
1654 #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
1655 #define GL_SAMPLE_PATTERN_EXT 0x80AC
1656 #define GL_MULTISAMPLE_BIT_EXT 0x20000000
1657 #endif
1658
1659 #ifndef GL_SGIX_vertex_preclip
1660 #define GL_VERTEX_PRECLIP_SGIX 0x83EE
1661 #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
1662 #endif
1663
1664 #ifndef GL_SGIX_convolution_accuracy
1665 #define GL_CONVOLUTION_HINT_SGIX 0x8316
1666 #endif
1667
1668 #ifndef GL_SGIX_resample
1669 #define GL_PACK_RESAMPLE_SGIX 0x842C
1670 #define GL_UNPACK_RESAMPLE_SGIX 0x842D
1671 #define GL_RESAMPLE_REPLICATE_SGIX 0x842E
1672 #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
1673 #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
1674 #endif
1675
1676 #ifndef GL_SGIS_point_line_texgen
1677 #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
1678 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
1679 #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
1680 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
1681 #define GL_EYE_POINT_SGIS 0x81F4
1682 #define GL_OBJECT_POINT_SGIS 0x81F5
1683 #define GL_EYE_LINE_SGIS 0x81F6
1684 #define GL_OBJECT_LINE_SGIS 0x81F7
1685 #endif
1686
1687 #ifndef GL_SGIS_texture_color_mask
1688 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
1689 #endif
1690
1691 #ifndef GL_NV_fence
1692 #define GL_ALL_COMPLETED_NV 0x84F2
1693 #define GL_FENCE_STATUS_NV 0x84F3
1694 #define GL_FENCE_CONDITION_NV 0x84F4
1695 #endif
1696
1697 #ifndef GL_IBM_texture_mirrored_repeat
1698 #define GL_MIRRORED_REPEAT_IBM 0x8370
1699 #endif
1700
1701 #ifndef GL_NV_evaluators
1702 #define GL_EVAL_2D_NV 0x86C0
1703 #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
1704 #define GL_MAP_TESSELLATION_NV 0x86C2
1705 #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
1706 #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
1707 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
1708 #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
1709 #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
1710 #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
1711 #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
1712 #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
1713 #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
1714 #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
1715 #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
1716 #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
1717 #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
1718 #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
1719 #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
1720 #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
1721 #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
1722 #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
1723 #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
1724 #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
1725 #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
1726 #endif
1727
1728 #ifndef GL_NV_packed_depth_stencil
1729 #define GL_DEPTH_STENCIL_NV 0x84F9
1730 #define GL_UNSIGNED_INT_24_8_NV 0x84FA
1731 #endif
1732
1733 #ifndef GL_NV_register_combiners2
1734 #define GL_PER_STAGE_CONSTANTS_NV 0x8535
1735 #endif
1736
1737 #ifndef GL_NV_texture_compression_vtc
1738 #endif
1739
1740 #ifndef GL_NV_texture_rectangle
1741 #define GL_TEXTURE_RECTANGLE_NV 0x84F5
1742 #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
1743 #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
1744 #define GL_MAX_TEXTURE_RECTANGLE_SIZE_NV 0x84F8
1745 #endif
1746
1747 #ifndef GL_NV_texture_shader
1748 #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
1749 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
1750 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
1751 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
1752 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
1753 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
1754 #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
1755 #define GL_SHADER_CONSISTENT_NV 0x86DD
1756 #define GL_TEXTURE_SHADER_NV 0x86DE
1757 #define GL_SHADER_OPERATION_NV 0x86DF
1758 #define GL_CULL_MODES_NV 0x86E0
1759 #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
1760 #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
1761 #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
1762 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV GL_OFFSET_TEXTURE_MATRIX_NV
1763 #define GL_OFFSET_TEXTURE_2D_SCALE_NV GL_OFFSET_TEXTURE_SCALE_NV
1764 #define GL_OFFSET_TEXTURE_2D_BIAS_NV GL_OFFSET_TEXTURE_BIAS_NV
1765 #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
1766 #define GL_CONST_EYE_NV 0x86E5
1767 #define GL_PASS_THROUGH_NV 0x86E6
1768 #define GL_CULL_FRAGMENT_NV 0x86E7
1769 #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
1770 #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
1771 #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
1772 #define GL_DOT_PRODUCT_NV 0x86EC
1773 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
1774 #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
1775 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
1776 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
1777 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
1778 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
1779 #define GL_HILO_NV 0x86F4
1780 #define GL_DSDT_NV 0x86F5
1781 #define GL_DSDT_MAG_NV 0x86F6
1782 #define GL_DSDT_MAG_VIB_NV 0x86F7
1783 #define GL_HILO16_NV 0x86F8
1784 #define GL_SIGNED_HILO_NV 0x86F9
1785 #define GL_SIGNED_HILO16_NV 0x86FA
1786 #define GL_SIGNED_RGBA_NV 0x86FB
1787 #define GL_SIGNED_RGBA8_NV 0x86FC
1788 #define GL_SIGNED_RGB_NV 0x86FE
1789 #define GL_SIGNED_RGB8_NV 0x86FF
1790 #define GL_SIGNED_LUMINANCE_NV 0x8701
1791 #define GL_SIGNED_LUMINANCE8_NV 0x8702
1792 #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
1793 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
1794 #define GL_SIGNED_ALPHA_NV 0x8705
1795 #define GL_SIGNED_ALPHA8_NV 0x8706
1796 #define GL_SIGNED_INTENSITY_NV 0x8707
1797 #define GL_SIGNED_INTENSITY8_NV 0x8708
1798 #define GL_DSDT8_NV 0x8709
1799 #define GL_DSDT8_MAG8_NV 0x870A
1800 #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
1801 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
1802 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
1803 #define GL_HI_SCALE_NV 0x870E
1804 #define GL_LO_SCALE_NV 0x870F
1805 #define GL_DS_SCALE_NV 0x8710
1806 #define GL_DT_SCALE_NV 0x8711
1807 #define GL_MAGNITUDE_SCALE_NV 0x8712
1808 #define GL_VIBRANCE_SCALE_NV 0x8713
1809 #define GL_HI_BIAS_NV 0x8714
1810 #define GL_LO_BIAS_NV 0x8715
1811 #define GL_DS_BIAS_NV 0x8716
1812 #define GL_DT_BIAS_NV 0x8717
1813 #define GL_MAGNITUDE_BIAS_NV 0x8718
1814 #define GL_VIBRANCE_BIAS_NV 0x8719
1815 #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
1816 #define GL_TEXTURE_HI_SIZE_NV 0x871B
1817 #define GL_TEXTURE_LO_SIZE_NV 0x871C
1818 #define GL_TEXTURE_DS_SIZE_NV 0x871D
1819 #define GL_TEXTURE_DT_SIZE_NV 0x871E
1820 #define GL_TEXTURE_MAG_SIZE_NV 0x871F
1821 #endif
1822
1823 #ifndef GL_NV_texture_shader2
1824 #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
1825 #endif
1826
1827 #ifndef GL_NV_vertex_array_range2
1828 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
1829 #endif
1830
1831 #ifndef GL_NV_vertex_program
1832 #define GL_VERTEX_PROGRAM_NV 0x8620
1833 #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
1834 #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
1835 #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
1836 #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
1837 #define GL_CURRENT_ATTRIB_NV 0x8626
1838 #define GL_PROGRAM_LENGTH_NV 0x8627
1839 #define GL_PROGRAM_STRING_NV 0x8628
1840 #define GL_MODELVIEW_PROJECTION_NV 0x8629
1841 #define GL_IDENTITY_NV 0x862A
1842 #define GL_INVERSE_NV 0x862B
1843 #define GL_TRANSPOSE_NV 0x862C
1844 #define GL_INVERSE_TRANSPOSE_NV 0x862D
1845 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
1846 #define GL_MAX_TRACK_MATRICES_NV 0x862F
1847 #define GL_MATRIX0_NV 0x8630
1848 #define GL_MATRIX1_NV 0x8631
1849 #define GL_MATRIX2_NV 0x8632
1850 #define GL_MATRIX3_NV 0x8633
1851 #define GL_MATRIX4_NV 0x8634
1852 #define GL_MATRIX5_NV 0x8635
1853 #define GL_MATRIX6_NV 0x8636
1854 #define GL_MATRIX7_NV 0x8637
1855 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
1856 #define GL_CURRENT_MATRIX_NV 0x8641
1857 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
1858 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
1859 #define GL_PROGRAM_PARAMETER_NV 0x8644
1860 #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
1861 #define GL_PROGRAM_TARGET_NV 0x8646
1862 #define GL_PROGRAM_RESIDENT_NV 0x8647
1863 #define GL_TRACK_MATRIX_NV 0x8648
1864 #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
1865 #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
1866 #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
1867 #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
1868 #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
1869 #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
1870 #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
1871 #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
1872 #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
1873 #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
1874 #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
1875 #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
1876 #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
1877 #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
1878 #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
1879 #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
1880 #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
1881 #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
1882 #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
1883 #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
1884 #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
1885 #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
1886 #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
1887 #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
1888 #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
1889 #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
1890 #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
1891 #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
1892 #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
1893 #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
1894 #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
1895 #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
1896 #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
1897 #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
1898 #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
1899 #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
1900 #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
1901 #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
1902 #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
1903 #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
1904 #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
1905 #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
1906 #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
1907 #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
1908 #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
1909 #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
1910 #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
1911 #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
1912 #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
1913 #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
1914 #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
1915 #endif
1916
1917 #ifndef GL_SGIX_texture_coordinate_clamp
1918 #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
1919 #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
1920 #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
1921 #endif
1922
1923 #ifndef GL_SGIX_scalebias_hint
1924 #define GL_SCALEBIAS_HINT_SGIX 0x8322
1925 #endif
1926
1927 #ifndef GL_OML_interlace
1928 #define GL_INTERLACE_OML 0x8980
1929 #define GL_INTERLACE_READ_OML 0x8981
1930 #endif
1931
1932 #ifndef GL_OML_subsample
1933 #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
1934 #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
1935 #endif
1936
1937 #ifndef GL_OML_resample
1938 #define GL_PACK_RESAMPLE_OML 0x8984
1939 #define GL_UNPACK_RESAMPLE_OML 0x8985
1940 #define GL_RESAMPLE_REPLICATE_OML 0x8986
1941 #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
1942 #define GL_RESAMPLE_AVERAGE_OML 0x8988
1943 #define GL_RESAMPLE_DECIMATE_OML 0x8989
1944 #endif
1945
1946 #ifndef GL_NV_copy_depth_to_color
1947 #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
1948 #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
1949 #endif
1950
1951 #ifndef GL_ATI_envmap_bumpmap
1952 #define GL_BUMP_ROT_MATRIX_ATI 0x8775
1953 #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
1954 #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
1955 #define GL_BUMP_TEX_UNITS_ATI 0x8778
1956 #define GL_DUDV_ATI 0x8779
1957 #define GL_DU8DV8_ATI 0x877A
1958 #define GL_BUMP_ENVMAP_ATI 0x877B
1959 #define GL_BUMP_TARGET_ATI 0x877C
1960 #endif
1961
1962 #ifndef GL_ATI_fragment_shader
1963 #define GL_FRAGMENT_SHADER_ATI 0x8920
1964 #define GL_REG_0_ATI 0x8921
1965 #define GL_REG_1_ATI 0x8922
1966 #define GL_REG_2_ATI 0x8923
1967 #define GL_REG_3_ATI 0x8924
1968 #define GL_REG_4_ATI 0x8925
1969 #define GL_REG_5_ATI 0x8926
1970 #define GL_REG_6_ATI 0x8927
1971 #define GL_REG_7_ATI 0x8928
1972 #define GL_REG_8_ATI 0x8929
1973 #define GL_REG_9_ATI 0x892A
1974 #define GL_REG_10_ATI 0x892B
1975 #define GL_REG_11_ATI 0x892C
1976 #define GL_REG_12_ATI 0x892D
1977 #define GL_REG_13_ATI 0x892E
1978 #define GL_REG_14_ATI 0x892F
1979 #define GL_REG_15_ATI 0x8930
1980 #define GL_REG_16_ATI 0x8931
1981 #define GL_REG_17_ATI 0x8932
1982 #define GL_REG_18_ATI 0x8933
1983 #define GL_REG_19_ATI 0x8934
1984 #define GL_REG_20_ATI 0x8935
1985 #define GL_REG_21_ATI 0x8936
1986 #define GL_REG_22_ATI 0x8937
1987 #define GL_REG_23_ATI 0x8938
1988 #define GL_REG_24_ATI 0x8939
1989 #define GL_REG_25_ATI 0x893A
1990 #define GL_REG_26_ATI 0x893B
1991 #define GL_REG_27_ATI 0x893C
1992 #define GL_REG_28_ATI 0x893D
1993 #define GL_REG_29_ATI 0x893E
1994 #define GL_REG_30_ATI 0x893F
1995 #define GL_REG_31_ATI 0x8940
1996 #define GL_CON_0_ATI 0x8941
1997 #define GL_CON_1_ATI 0x8942
1998 #define GL_CON_2_ATI 0x8943
1999 #define GL_CON_3_ATI 0x8944
2000 #define GL_CON_4_ATI 0x8945
2001 #define GL_CON_5_ATI 0x8946
2002 #define GL_CON_6_ATI 0x8947
2003 #define GL_CON_7_ATI 0x8948
2004 #define GL_CON_8_ATI 0x8949
2005 #define GL_CON_9_ATI 0x894A
2006 #define GL_CON_10_ATI 0x894B
2007 #define GL_CON_11_ATI 0x894C
2008 #define GL_CON_12_ATI 0x894D
2009 #define GL_CON_13_ATI 0x894E
2010 #define GL_CON_14_ATI 0x894F
2011 #define GL_CON_15_ATI 0x8950
2012 #define GL_CON_16_ATI 0x8951
2013 #define GL_CON_17_ATI 0x8952
2014 #define GL_CON_18_ATI 0x8953
2015 #define GL_CON_19_ATI 0x8954
2016 #define GL_CON_20_ATI 0x8955
2017 #define GL_CON_21_ATI 0x8956
2018 #define GL_CON_22_ATI 0x8957
2019 #define GL_CON_23_ATI 0x8958
2020 #define GL_CON_24_ATI 0x8959
2021 #define GL_CON_25_ATI 0x895A
2022 #define GL_CON_26_ATI 0x895B
2023 #define GL_CON_27_ATI 0x895C
2024 #define GL_CON_28_ATI 0x895D
2025 #define GL_CON_29_ATI 0x895E
2026 #define GL_CON_30_ATI 0x895F
2027 #define GL_CON_31_ATI 0x8960
2028 #define GL_MOV_ATI 0x8961
2029 #define GL_ADD_ATI 0x8963
2030 #define GL_MUL_ATI 0x8964
2031 #define GL_SUB_ATI 0x8965
2032 #define GL_DOT3_ATI 0x8966
2033 #define GL_DOT4_ATI 0x8967
2034 #define GL_MAD_ATI 0x8968
2035 #define GL_LERP_ATI 0x8969
2036 #define GL_CND_ATI 0x896A
2037 #define GL_CND0_ATI 0x896B
2038 #define GL_DOT2_ADD_ATI 0x896C
2039 #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
2040 #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
2041 #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
2042 #define GL_NUM_PASSES_ATI 0x8970
2043 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
2044 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
2045 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
2046 #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
2047 #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
2048 #define GL_SWIZZLE_STR_ATI 0x8976
2049 #define GL_SWIZZLE_STQ_ATI 0x8977
2050 #define GL_SWIZZLE_STR_DR_ATI 0x8978
2051 #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
2052 #define GL_SWIZZLE_STRQ_ATI 0x897A
2053 #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
2054 #define GL_RED_BIT_ATI 0x00000001
2055 #define GL_GREEN_BIT_ATI 0x00000002
2056 #define GL_BLUE_BIT_ATI 0x00000004
2057 #define GL_2X_BIT_ATI 0x00000001
2058 #define GL_4X_BIT_ATI 0x00000002
2059 #define GL_8X_BIT_ATI 0x00000004
2060 #define GL_HALF_BIT_ATI 0x00000008
2061 #define GL_QUARTER_BIT_ATI 0x00000010
2062 #define GL_EIGHTH_BIT_ATI 0x00000020
2063 #define GL_SATURATE_BIT_ATI 0x00000040
2064 #define GL_COMP_BIT_ATI 0x00000002
2065 #define GL_NEGATE_BIT_ATI 0x00000004
2066 #define GL_BIAS_BIT_ATI 0x00000008
2067 #endif
2068
2069 #ifndef GL_ATI_pn_triangles
2070 #define GL_PN_TRIANGLES_ATI 0x87F0
2071 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
2072 #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
2073 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
2074 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
2075 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
2076 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
2077 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
2078 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
2079 #endif
2080
2081 #ifndef GL_ATI_vertex_array_object
2082 #define GL_STATIC_ATI 0x8760
2083 #define GL_DYNAMIC_ATI 0x8761
2084 #define GL_PRESERVE_ATI 0x8762
2085 #define GL_DISCARD_ATI 0x8763
2086 #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
2087 #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
2088 #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
2089 #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
2090 #endif
2091
2092 #ifndef GL_EXT_vertex_shader
2093 #define GL_VERTEX_SHADER_EXT 0x8780
2094 #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
2095 #define GL_OP_INDEX_EXT 0x8782
2096 #define GL_OP_NEGATE_EXT 0x8783
2097 #define GL_OP_DOT3_EXT 0x8784
2098 #define GL_OP_DOT4_EXT 0x8785
2099 #define GL_OP_MUL_EXT 0x8786
2100 #define GL_OP_ADD_EXT 0x8787
2101 #define GL_OP_MADD_EXT 0x8788
2102 #define GL_OP_FRAC_EXT 0x8789
2103 #define GL_OP_MAX_EXT 0x878A
2104 #define GL_OP_MIN_EXT 0x878B
2105 #define GL_OP_SET_GE_EXT 0x878C
2106 #define GL_OP_SET_LT_EXT 0x878D
2107 #define GL_OP_CLAMP_EXT 0x878E
2108 #define GL_OP_FLOOR_EXT 0x878F
2109 #define GL_OP_ROUND_EXT 0x8790
2110 #define GL_OP_EXP_BASE_2_EXT 0x8791
2111 #define GL_OP_LOG_BASE_2_EXT 0x8792
2112 #define GL_OP_POWER_EXT 0x8793
2113 #define GL_OP_RECIP_EXT 0x8794
2114 #define GL_OP_RECIP_SQRT_EXT 0x8795
2115 #define GL_OP_SUB_EXT 0x8796
2116 #define GL_OP_CROSS_PRODUCT_EXT 0x8797
2117 #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
2118 #define GL_OP_MOV_EXT 0x8799
2119 #define GL_OUTPUT_VERTEX_EXT 0x879A
2120 #define GL_OUTPUT_COLOR0_EXT 0x879B
2121 #define GL_OUTPUT_COLOR1_EXT 0x879C
2122 #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
2123 #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
2124 #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
2125 #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
2126 #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
2127 #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
2128 #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
2129 #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
2130 #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
2131 #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
2132 #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
2133 #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
2134 #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
2135 #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
2136 #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
2137 #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
2138 #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
2139 #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
2140 #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
2141 #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
2142 #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
2143 #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
2144 #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
2145 #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
2146 #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
2147 #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
2148 #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
2149 #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
2150 #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
2151 #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
2152 #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
2153 #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
2154 #define GL_OUTPUT_FOG_EXT 0x87BD
2155 #define GL_SCALAR_EXT 0x87BE
2156 #define GL_VECTOR_EXT 0x87BF
2157 #define GL_MATRIX_EXT 0x87C0
2158 #define GL_VARIANT_EXT 0x87C1
2159 #define GL_INVARIANT_EXT 0x87C2
2160 #define GL_LOCAL_CONSTANT_EXT 0x87C3
2161 #define GL_LOCAL_EXT 0x87C4
2162 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
2163 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
2164 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
2165 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
2166 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
2167 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
2168 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
2169 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
2170 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INARIANTS_EXT 0x87CD
2171 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
2172 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
2173 #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
2174 #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
2175 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
2176 #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
2177 #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
2178 #define GL_X_EXT 0x87D5
2179 #define GL_Y_EXT 0x87D6
2180 #define GL_Z_EXT 0x87D7
2181 #define GL_W_EXT 0x87D8
2182 #define GL_NEGATIVE_X_EXT 0x87D9
2183 #define GL_NEGATIVE_Y_EXT 0x87DA
2184 #define GL_NEGATIVE_Z_EXT 0x87DB
2185 #define GL_NEGATIVE_W_EXT 0x87DC
2186 #define GL_ZERO_EXT 0x87DD
2187 #define GL_ONE_EXT 0x87DE
2188 #define GL_NEGATIVE_ONE_EXT 0x87DF
2189 #define GL_NORMALIZED_RANGE_EXT 0x87E0
2190 #define GL_FULL_RANGE_EXT 0x87E1
2191 #define GL_CURRENT_VERTEX_EXT 0x87E2
2192 #define GL_MVP_MATRIX_EXT 0x87E3
2193 #define GL_VARIANT_VALUE_EXT 0x87E4
2194 #define GL_VARIANT_DATATYPE_EXT 0x87E5
2195 #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
2196 #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
2197 #define GL_VARIANT_ARRAY_EXT 0x87E8
2198 #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
2199 #define GL_INVARIANT_VALUE_EXT 0x87EA
2200 #define GL_INVARIANT_DATATYPE_EXT 0x87EB
2201 #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
2202 #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
2203 #endif
2204
2205 #ifndef GL_ATI_vertex_streams
2206 #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
2207 #define GL_VERTEX_STREAM0_ATI 0x876C
2208 #define GL_VERTEX_STREAM1_ATI 0x876D
2209 #define GL_VERTEX_STREAM2_ATI 0x876E
2210 #define GL_VERTEX_STREAM3_ATI 0x876F
2211 #define GL_VERTEX_STREAM4_ATI 0x8770
2212 #define GL_VERTEX_STREAM5_ATI 0x8771
2213 #define GL_VERTEX_STREAM6_ATI 0x8772
2214 #define GL_VERTEX_STREAM7_ATI 0x8773
2215 #define GL_VERTEX_SOURCE_ATI 0x8774
2216 #endif
2217
2218 #ifndef GL_ATI_element_array
2219 #define GL_ELEMENT_ARRAY_ATI 0x8768
2220 #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
2221 #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
2222 #endif
2223
2224 #ifndef GL_SUN_mesh_array
2225 #define GL_QUAD_MESH_SUN 0x8614
2226 #define GL_TRIANGLE_MESH_SUN 0x8615
2227 #endif
2228
2229 #ifndef GL_SUN_slice_accum
2230 #define GL_SLICE_ACCUM_SUN 0x85CC
2231 #endif
2232
2233 #ifndef GL_NV_multisample_filter_hint
2234 #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
2235 #endif
2236
2237 #ifndef GL_NV_depth_clamp
2238 #define GL_DEPTH_CLAMP_NV 0x864F
2239 #endif
2240
2241 #ifndef GL_NV_occlusion_query
2242 #define GL_PIXEL_COUNTER_BITS_NV 0x8864
2243 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
2244 #define GL_PIXEL_COUNT_NV 0x8866
2245 #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
2246 #endif
2247
2248 #ifndef GL_NV_point_sprite
2249 #define GL_POINT_SPRITE_NV 0x8861
2250 #define GL_COORD_REPLACE_NV 0x8862
2251 #define GL_POINT_SPRITE_R_MODE_NV 0x8863
2252 #endif
2253
2254 #ifndef GL_NV_texture_shader3
2255 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
2256 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
2257 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
2258 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
2259 #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
2260 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
2261 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
2262 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
2263 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
2264 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
2265 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
2266 #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
2267 #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
2268 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
2269 #define GL_HILO8_NV 0x885E
2270 #define GL_SIGNED_HILO8_NV 0x885F
2271 #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
2272 #endif
2273
2274 #ifndef GL_NV_vertex_program1_1
2275 #endif
2276
2277
2278 /*************************************************************/
2279
2280 #ifndef GL_VERSION_1_2
2281 #define GL_VERSION_1_2 1
2282 #ifdef GL_GLEXT_PROTOTYPES
2283 GLAPI void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf);
2284 GLAPI void APIENTRY glBlendEquation (GLenum);
2285 GLAPI void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
2286 GLAPI void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
2287 GLAPI void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *);
2288 GLAPI void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *);
2289 GLAPI void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei);
2290 GLAPI void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *);
2291 GLAPI void APIENTRY glGetColorTableParameterfv (GLenum, GLenum, GLfloat *);
2292 GLAPI void APIENTRY glGetColorTableParameteriv (GLenum, GLenum, GLint *);
2293 GLAPI void APIENTRY glColorSubTable (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
2294 GLAPI void APIENTRY glCopyColorSubTable (GLenum, GLsizei, GLint, GLint, GLsizei);
2295 GLAPI void APIENTRY glConvolutionFilter1D (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
2296 GLAPI void APIENTRY glConvolutionFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
2297 GLAPI void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat);
2298 GLAPI void APIENTRY glConvolutionParameterfv (GLenum, GLenum, const GLfloat *);
2299 GLAPI void APIENTRY glConvolutionParameteri (GLenum, GLenum, GLint);
2300 GLAPI void APIENTRY glConvolutionParameteriv (GLenum, GLenum, const GLint *);
2301 GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum, GLenum, GLint, GLint, GLsizei);
2302 GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
2303 GLAPI void APIENTRY glGetConvolutionFilter (GLenum, GLenum, GLenum, GLvoid *);
2304 GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum, GLfloat *);
2305 GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum, GLenum, GLint *);
2306 GLAPI void APIENTRY glGetSeparableFilter (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
2307 GLAPI void APIENTRY glSeparableFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
2308 GLAPI void APIENTRY glGetHistogram (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
2309 GLAPI void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *);
2310 GLAPI void APIENTRY glGetHistogramParameteriv (GLenum, GLenum, GLint *);
2311 GLAPI void APIENTRY glGetMinmax (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
2312 GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *);
2313 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *);
2314 GLAPI void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean);
2315 GLAPI void APIENTRY glMinmax (GLenum, GLenum, GLboolean);
2316 GLAPI void APIENTRY glResetHistogram (GLenum);
2317 GLAPI void APIENTRY glResetMinmax (GLenum);
2318 GLAPI void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
2319 GLAPI void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
2320 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
2321 #endif /* GL_GLEXT_PROTOTYPES */
2322 typedef void (APIENTRY * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
2323 typedef void (APIENTRY * PFNGLBLENDEQUATIONPROC) (GLenum mode);
2324 typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
2325 typedef void (APIENTRY * PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
2326 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
2327 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
2328 typedef void (APIENTRY * PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
2329 typedef void (APIENTRY * PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
2330 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
2331 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2332 typedef void (APIENTRY * PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
2333 typedef void (APIENTRY * PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
2334 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
2335 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
2336 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
2337 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
2338 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
2339 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
2340 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
2341 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
2342 typedef void (APIENTRY * PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
2343 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
2344 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2345 typedef void (APIENTRY * PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
2346 typedef void (APIENTRY * PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
2347 typedef void (APIENTRY * PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
2348 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
2349 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2350 typedef void (APIENTRY * PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
2351 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
2352 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2353 typedef void (APIENTRY * PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
2354 typedef void (APIENTRY * PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
2355 typedef void (APIENTRY * PFNGLRESETHISTOGRAMPROC) (GLenum target);
2356 typedef void (APIENTRY * PFNGLRESETMINMAXPROC) (GLenum target);
2357 typedef void (APIENTRY * PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
2358 typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
2359 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2360 #endif
2361
2362 #ifndef GL_VERSION_1_3
2363 #define GL_VERSION_1_3 1
2364 #ifdef GL_GLEXT_PROTOTYPES
2365 GLAPI void APIENTRY glActiveTexture (GLenum);
2366 GLAPI void APIENTRY glClientActiveTexture (GLenum);
2367 GLAPI void APIENTRY glMultiTexCoord1d (GLenum, GLdouble);
2368 GLAPI void APIENTRY glMultiTexCoord1dv (GLenum, const GLdouble *);
2369 GLAPI void APIENTRY glMultiTexCoord1f (GLenum, GLfloat);
2370 GLAPI void APIENTRY glMultiTexCoord1fv (GLenum, const GLfloat *);
2371 GLAPI void APIENTRY glMultiTexCoord1i (GLenum, GLint);
2372 GLAPI void APIENTRY glMultiTexCoord1iv (GLenum, const GLint *);
2373 GLAPI void APIENTRY glMultiTexCoord1s (GLenum, GLshort);
2374 GLAPI void APIENTRY glMultiTexCoord1sv (GLenum, const GLshort *);
2375 GLAPI void APIENTRY glMultiTexCoord2d (GLenum, GLdouble, GLdouble);
2376 GLAPI void APIENTRY glMultiTexCoord2dv (GLenum, const GLdouble *);
2377 GLAPI void APIENTRY glMultiTexCoord2f (GLenum, GLfloat, GLfloat);
2378 GLAPI void APIENTRY glMultiTexCoord2fv (GLenum, const GLfloat *);
2379 GLAPI void APIENTRY glMultiTexCoord2i (GLenum, GLint, GLint);
2380 GLAPI void APIENTRY glMultiTexCoord2iv (GLenum, const GLint *);
2381 GLAPI void APIENTRY glMultiTexCoord2s (GLenum, GLshort, GLshort);
2382 GLAPI void APIENTRY glMultiTexCoord2sv (GLenum, const GLshort *);
2383 GLAPI void APIENTRY glMultiTexCoord3d (GLenum, GLdouble, GLdouble, GLdouble);
2384 GLAPI void APIENTRY glMultiTexCoord3dv (GLenum, const GLdouble *);
2385 GLAPI void APIENTRY glMultiTexCoord3f (GLenum, GLfloat, GLfloat, GLfloat);
2386 GLAPI void APIENTRY glMultiTexCoord3fv (GLenum, const GLfloat *);
2387 GLAPI void APIENTRY glMultiTexCoord3i (GLenum, GLint, GLint, GLint);
2388 GLAPI void APIENTRY glMultiTexCoord3iv (GLenum, const GLint *);
2389 GLAPI void APIENTRY glMultiTexCoord3s (GLenum, GLshort, GLshort, GLshort);
2390 GLAPI void APIENTRY glMultiTexCoord3sv (GLenum, const GLshort *);
2391 GLAPI void APIENTRY glMultiTexCoord4d (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
2392 GLAPI void APIENTRY glMultiTexCoord4dv (GLenum, const GLdouble *);
2393 GLAPI void APIENTRY glMultiTexCoord4f (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
2394 GLAPI void APIENTRY glMultiTexCoord4fv (GLenum, const GLfloat *);
2395 GLAPI void APIENTRY glMultiTexCoord4i (GLenum, GLint, GLint, GLint, GLint);
2396 GLAPI void APIENTRY glMultiTexCoord4iv (GLenum, const GLint *);
2397 GLAPI void APIENTRY glMultiTexCoord4s (GLenum, GLshort, GLshort, GLshort, GLshort);
2398 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum, const GLshort *);
2399 GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *);
2400 GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *);
2401 GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *);
2402 GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *);
2403 GLAPI void APIENTRY glSampleCoverage (GLclampf, GLboolean);
2404 GLAPI void APIENTRY glCompressedTexImage3D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
2405 GLAPI void APIENTRY glCompressedTexImage2D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
2406 GLAPI void APIENTRY glCompressedTexImage1D (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
2407 GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
2408 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
2409 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
2410 GLAPI void APIENTRY glGetCompressedTexImage (GLenum, GLint, void *);
2411 #endif /* GL_GLEXT_PROTOTYPES */
2412 typedef void (APIENTRY * PFNGLACTIVETEXTUREPROC) (GLenum texture);
2413 typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
2414 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
2415 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
2416 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
2417 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
2418 typedef void (APIENTRY * PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
2419 typedef void (APIENTRY * PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
2420 typedef void (APIENTRY * PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
2421 typedef void (APIENTRY * PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
2422 typedef void (APIENTRY * PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
2423 typedef void (APIENTRY * PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
2424 typedef void (APIENTRY * PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
2425 typedef void (APIENTRY * PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
2426 typedef void (APIENTRY * PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
2427 typedef void (APIENTRY * PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
2428 typedef void (APIENTRY * PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
2429 typedef void (APIENTRY * PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
2430 typedef void (APIENTRY * PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
2431 typedef void (APIENTRY * PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
2432 typedef void (APIENTRY * PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
2433 typedef void (APIENTRY * PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
2434 typedef void (APIENTRY * PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
2435 typedef void (APIENTRY * PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
2436 typedef void (APIENTRY * PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
2437 typedef void (APIENTRY * PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
2438 typedef void (APIENTRY * PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
2439 typedef void (APIENTRY * PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
2440 typedef void (APIENTRY * PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
2441 typedef void (APIENTRY * PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
2442 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
2443 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
2444 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
2445 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
2446 typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
2447 typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
2448 typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
2449 typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
2450 typedef void (APIENTRY * PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
2451 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
2452 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
2453 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
2454 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
2455 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
2456 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
2457 typedef void (APIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
2458 #endif
2459
2460 #ifndef GL_ARB_multitexture
2461 #define GL_ARB_multitexture 1
2462 #ifdef GL_GLEXT_PROTOTYPES
2463 GLAPI void APIENTRY glActiveTextureARB (GLenum);
2464 GLAPI void APIENTRY glClientActiveTextureARB (GLenum);
2465 GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum, GLdouble);
2466 GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum, const GLdouble *);
2467 GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum, GLfloat);
2468 GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum, const GLfloat *);
2469 GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum, GLint);
2470 GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum, const GLint *);
2471 GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum, GLshort);
2472 GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum, const GLshort *);
2473 GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum, GLdouble, GLdouble);
2474 GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum, const GLdouble *);
2475 GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat);
2476 GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum, const GLfloat *);
2477 GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum, GLint, GLint);
2478 GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum, const GLint *);
2479 GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum, GLshort, GLshort);
2480 GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum, const GLshort *);
2481 GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum, GLdouble, GLdouble, GLdouble);
2482 GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum, const GLdouble *);
2483 GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum, GLfloat, GLfloat, GLfloat);
2484 GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum, const GLfloat *);
2485 GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum, GLint, GLint, GLint);
2486 GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum, const GLint *);
2487 GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum, GLshort, GLshort, GLshort);
2488 GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum, const GLshort *);
2489 GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
2490 GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum, const GLdouble *);
2491 GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
2492 GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum, const GLfloat *);
2493 GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum, GLint, GLint, GLint, GLint);
2494 GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum, const GLint *);
2495 GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum, GLshort, GLshort, GLshort, GLshort);
2496 GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum, const GLshort *);
2497 #endif /* GL_GLEXT_PROTOTYPES */
2498 typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
2499 typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
2500 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
2501 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
2502 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
2503 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
2504 typedef void (APIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
2505 typedef void (APIENTRY * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
2506 typedef void (APIENTRY * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
2507 typedef void (APIENTRY * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
2508 typedef void (APIENTRY * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
2509 typedef void (APIENTRY * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
2510 typedef void (APIENTRY * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
2511 typedef void (APIENTRY * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
2512 typedef void (APIENTRY * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
2513 typedef void (APIENTRY * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
2514 typedef void (APIENTRY * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
2515 typedef void (APIENTRY * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
2516 typedef void (APIENTRY * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
2517 typedef void (APIENTRY * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
2518 typedef void (APIENTRY * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
2519 typedef void (APIENTRY * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
2520 typedef void (APIENTRY * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
2521 typedef void (APIENTRY * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
2522 typedef void (APIENTRY * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
2523 typedef void (APIENTRY * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
2524 typedef void (APIENTRY * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
2525 typedef void (APIENTRY * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
2526 typedef void (APIENTRY * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
2527 typedef void (APIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
2528 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
2529 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
2530 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
2531 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
2532 #endif
2533
2534 #ifndef GL_ARB_transpose_matrix
2535 #define GL_ARB_transpose_matrix 1
2536 #ifdef GL_GLEXT_PROTOTYPES
2537 GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *);
2538 GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *);
2539 GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *);
2540 GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *);
2541 #endif /* GL_GLEXT_PROTOTYPES */
2542 typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
2543 typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
2544 typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
2545 typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
2546 #endif
2547
2548 #ifndef GL_ARB_multisample
2549 #define GL_ARB_multisample 1
2550 #ifdef GL_GLEXT_PROTOTYPES
2551 GLAPI void APIENTRY glSampleCoverageARB (GLclampf, GLboolean);
2552 #endif /* GL_GLEXT_PROTOTYPES */
2553 typedef void (APIENTRY * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
2554 #endif
2555
2556 #ifndef GL_ARB_texture_env_add
2557 #define GL_ARB_texture_env_add 1
2558 #endif
2559
2560 #ifndef GL_ARB_texture_cube_map
2561 #define GL_ARB_texture_cube_map 1
2562 #endif
2563
2564 #ifndef GL_ARB_texture_compression
2565 #define GL_ARB_texture_compression 1
2566 #ifdef GL_GLEXT_PROTOTYPES
2567 GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
2568 GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
2569 GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
2570 GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
2571 GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
2572 GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
2573 GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, void *);
2574 #endif /* GL_GLEXT_PROTOTYPES */
2575 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
2576 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
2577 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
2578 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
2579 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
2580 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
2581 typedef void (APIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
2582 #endif
2583
2584 #ifndef GL_ARB_texture_border_clamp
2585 #define GL_ARB_texture_border_clamp 1
2586 #endif
2587
2588 #ifndef GL_ARB_point_parameters
2589 #define GL_ARB_point_parameters 1
2590 #ifdef GL_GLEXT_PROTOTYPES
2591 GLAPI void APIENTRY glPointParameterfARB (GLenum, GLfloat);
2592 GLAPI void APIENTRY glPointParameterfvARB (GLenum, const GLfloat *);
2593 #endif /* GL_GLEXT_PROTOTYPES */
2594 typedef void (APIENTRY * PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
2595 typedef void (APIENTRY * PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
2596 #endif
2597
2598 #ifndef GL_ARB_vertex_blend
2599 #define GL_ARB_vertex_blend 1
2600 #ifdef GL_GLEXT_PROTOTYPES
2601 GLAPI void APIENTRY glWeightbvARB (GLint, const GLbyte *);
2602 GLAPI void APIENTRY glWeightsvARB (GLint, const GLshort *);
2603 GLAPI void APIENTRY glWeightivARB (GLint, const GLint *);
2604 GLAPI void APIENTRY glWeightfvARB (GLint, const GLfloat *);
2605 GLAPI void APIENTRY glWeightdvARB (GLint, const GLdouble *);
2606 GLAPI void APIENTRY glWeightubvARB (GLint, const GLubyte *);
2607 GLAPI void APIENTRY glWeightusvARB (GLint, const GLushort *);
2608 GLAPI void APIENTRY glWeightuivARB (GLint, const GLuint *);
2609 GLAPI void APIENTRY glWeightPointerARB (GLint, GLenum, GLsizei, const GLvoid *);
2610 GLAPI void APIENTRY glVertexBlendARB (GLint);
2611 #endif /* GL_GLEXT_PROTOTYPES */
2612 typedef void (APIENTRY * PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
2613 typedef void (APIENTRY * PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
2614 typedef void (APIENTRY * PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
2615 typedef void (APIENTRY * PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
2616 typedef void (APIENTRY * PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
2617 typedef void (APIENTRY * PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
2618 typedef void (APIENTRY * PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
2619 typedef void (APIENTRY * PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
2620 typedef void (APIENTRY * PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
2621 typedef void (APIENTRY * PFNGLVERTEXBLENDARBPROC) (GLint count);
2622 #endif
2623
2624 #ifndef GL_ARB_matrix_palette
2625 #define GL_ARB_matrix_palette 1
2626 #ifdef GL_GLEXT_PROTOTYPES
2627 GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint);
2628 GLAPI void APIENTRY glMatrixIndexubvARB (GLint, const GLubyte *);
2629 GLAPI void APIENTRY glMatrixIndexusvARB (GLint, const GLushort *);
2630 GLAPI void APIENTRY glMatrixIndexuivARB (GLint, const GLuint *);
2631 GLAPI void APIENTRY glMatrixIndexPointerARB (GLint, GLenum, GLsizei, const GLvoid *);
2632 #endif /* GL_GLEXT_PROTOTYPES */
2633 typedef void (APIENTRY * PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
2634 typedef void (APIENTRY * PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
2635 typedef void (APIENTRY * PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
2636 typedef void (APIENTRY * PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
2637 typedef void (APIENTRY * PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
2638 #endif
2639
2640 #ifndef GL_ARB_texture_env_combine
2641 #define GL_ARB_texture_env_combine 1
2642 #endif
2643
2644 #ifndef GL_ARB_texture_env_crossbar
2645 #define GL_ARB_texture_env_crossbar 1
2646 #endif
2647
2648 #ifndef GL_ARB_texture_env_dot3
2649 #define GL_ARB_texture_env_dot3 1
2650 #endif
2651
2652 #ifndef GL_ARB_texture_mirror_repeat
2653 #define GL_ARB_texture_mirror_repeat 1
2654 #endif
2655
2656 #ifndef GL_ARB_depth_texture
2657 #define GL_ARB_depth_texture 1
2658 #endif
2659
2660 #ifndef GL_ARB_shadow
2661 #define GL_ARB_shadow 1
2662 #endif
2663
2664 #ifndef GL_ARB_shadow_ambient
2665 #define GL_ARB_shadow_ambient 1
2666 #endif
2667
2668 #ifndef GL_ARB_window_pos
2669 #define GL_ARB_window_pos 1
2670 #ifdef GL_GLEXT_PROTOTYPES
2671 GLAPI void APIENTRY glWindowPos2dARB (GLdouble, GLdouble);
2672 GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *);
2673 GLAPI void APIENTRY glWindowPos2fARB (GLfloat, GLfloat);
2674 GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *);
2675 GLAPI void APIENTRY glWindowPos2iARB (GLint, GLint);
2676 GLAPI void APIENTRY glWindowPos2ivARB (const GLint *);
2677 GLAPI void APIENTRY glWindowPos2sARB (GLshort, GLshort);
2678 GLAPI void APIENTRY glWindowPos2svARB (const GLshort *);
2679 GLAPI void APIENTRY glWindowPos3dARB (GLdouble, GLdouble, GLdouble);
2680 GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *);
2681 GLAPI void APIENTRY glWindowPos3fARB (GLfloat, GLfloat, GLfloat);
2682 GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *);
2683 GLAPI void APIENTRY glWindowPos3iARB (GLint, GLint, GLint);
2684 GLAPI void APIENTRY glWindowPos3ivARB (const GLint *);
2685 GLAPI void APIENTRY glWindowPos3sARB (GLshort, GLshort, GLshort);
2686 GLAPI void APIENTRY glWindowPos3svARB (const GLshort *);
2687 #endif /* GL_GLEXT_PROTOTYPES */
2688 typedef void (APIENTRY * PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
2689 typedef void (APIENTRY * PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
2690 typedef void (APIENTRY * PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
2691 typedef void (APIENTRY * PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
2692 typedef void (APIENTRY * PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
2693 typedef void (APIENTRY * PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
2694 typedef void (APIENTRY * PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
2695 typedef void (APIENTRY * PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
2696 typedef void (APIENTRY * PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
2697 typedef void (APIENTRY * PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
2698 typedef void (APIENTRY * PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
2699 typedef void (APIENTRY * PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
2700 typedef void (APIENTRY * PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
2701 typedef void (APIENTRY * PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
2702 typedef void (APIENTRY * PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
2703 typedef void (APIENTRY * PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
2704 #endif
2705
2706 #ifndef GL_EXT_abgr
2707 #define GL_EXT_abgr 1
2708 #endif
2709
2710 #ifndef GL_EXT_blend_color
2711 #define GL_EXT_blend_color 1
2712 #ifdef GL_GLEXT_PROTOTYPES
2713 GLAPI void APIENTRY glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf);
2714 #endif /* GL_GLEXT_PROTOTYPES */
2715 typedef void (APIENTRY * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
2716 #endif
2717
2718 #ifndef GL_EXT_polygon_offset
2719 #define GL_EXT_polygon_offset 1
2720 #ifdef GL_GLEXT_PROTOTYPES
2721 GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat, GLfloat);
2722 #endif /* GL_GLEXT_PROTOTYPES */
2723 typedef void (APIENTRY * PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
2724 #endif
2725
2726 #ifndef GL_EXT_texture
2727 #define GL_EXT_texture 1
2728 #endif
2729
2730 #ifndef GL_EXT_texture3D
2731 #define GL_EXT_texture3D 1
2732 #ifdef GL_GLEXT_PROTOTYPES
2733 GLAPI void APIENTRY glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
2734 GLAPI void APIENTRY glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
2735 #endif /* GL_GLEXT_PROTOTYPES */
2736 typedef void (APIENTRY * PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
2737 typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
2738 #endif
2739
2740 #ifndef GL_SGIS_texture_filter4
2741 #define GL_SGIS_texture_filter4 1
2742 #ifdef GL_GLEXT_PROTOTYPES
2743 GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *);
2744 GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *);
2745 #endif /* GL_GLEXT_PROTOTYPES */
2746 typedef void (APIENTRY * PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
2747 typedef void (APIENTRY * PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
2748 #endif
2749
2750 #ifndef GL_EXT_subtexture
2751 #define GL_EXT_subtexture 1
2752 #ifdef GL_GLEXT_PROTOTYPES
2753 GLAPI void APIENTRY glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
2754 GLAPI void APIENTRY glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
2755 #endif /* GL_GLEXT_PROTOTYPES */
2756 typedef void (APIENTRY * PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
2757 typedef void (APIENTRY * PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
2758 #endif
2759
2760 #ifndef GL_EXT_copy_texture
2761 #define GL_EXT_copy_texture 1
2762 #ifdef GL_GLEXT_PROTOTYPES
2763 GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
2764 GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
2765 GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei);
2766 GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
2767 GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
2768 #endif /* GL_GLEXT_PROTOTYPES */
2769 typedef void (APIENTRY * PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
2770 typedef void (APIENTRY * PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
2771 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2772 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2773 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2774 #endif
2775
2776 #ifndef GL_EXT_histogram
2777 #define GL_EXT_histogram 1
2778 #ifdef GL_GLEXT_PROTOTYPES
2779 GLAPI void APIENTRY glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
2780 GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *);
2781 GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum, GLenum, GLint *);
2782 GLAPI void APIENTRY glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
2783 GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *);
2784 GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *);
2785 GLAPI void APIENTRY glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean);
2786 GLAPI void APIENTRY glMinmaxEXT (GLenum, GLenum, GLboolean);
2787 GLAPI void APIENTRY glResetHistogramEXT (GLenum);
2788 GLAPI void APIENTRY glResetMinmaxEXT (GLenum);
2789 #endif /* GL_GLEXT_PROTOTYPES */
2790 typedef void (APIENTRY * PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
2791 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
2792 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
2793 typedef void (APIENTRY * PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
2794 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
2795 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
2796 typedef void (APIENTRY * PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
2797 typedef void (APIENTRY * PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
2798 typedef void (APIENTRY * PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
2799 typedef void (APIENTRY * PFNGLRESETMINMAXEXTPROC) (GLenum target);
2800 #endif
2801
2802 #ifndef GL_EXT_convolution
2803 #define GL_EXT_convolution 1
2804 #ifdef GL_GLEXT_PROTOTYPES
2805 GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
2806 GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
2807 GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum, GLenum, GLfloat);
2808 GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *);
2809 GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum, GLenum, GLint);
2810 GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum, GLenum, const GLint *);
2811 GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei);
2812 GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
2813 GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *);
2814 GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *);
2815 GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *);
2816 GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
2817 GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
2818 #endif /* GL_GLEXT_PROTOTYPES */
2819 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
2820 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
2821 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
2822 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
2823 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
2824 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
2825 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
2826 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
2827 typedef void (APIENTRY * PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
2828 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
2829 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
2830 typedef void (APIENTRY * PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
2831 typedef void (APIENTRY * PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
2832 #endif
2833
2834 #ifndef GL_EXT_color_matrix
2835 #define GL_EXT_color_matrix 1
2836 #endif
2837
2838 #ifndef GL_SGI_color_table
2839 #define GL_SGI_color_table 1
2840 #ifdef GL_GLEXT_PROTOTYPES
2841 GLAPI void APIENTRY glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
2842 GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *);
2843 GLAPI void APIENTRY glColorTableParameterivSGI (GLenum, GLenum, const GLint *);
2844 GLAPI void APIENTRY glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei);
2845 GLAPI void APIENTRY glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *);
2846 GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *);
2847 GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum, GLenum, GLint *);
2848 #endif /* GL_GLEXT_PROTOTYPES */
2849 typedef void (APIENTRY * PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
2850 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
2851 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
2852 typedef void (APIENTRY * PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
2853 typedef void (APIENTRY * PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
2854 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
2855 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
2856 #endif
2857
2858 #ifndef GL_SGIX_pixel_texture
2859 #define GL_SGIX_pixel_texture 1
2860 #ifdef GL_GLEXT_PROTOTYPES
2861 GLAPI void APIENTRY glPixelTexGenSGIX (GLenum);
2862 #endif /* GL_GLEXT_PROTOTYPES */
2863 typedef void (APIENTRY * PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
2864 #endif
2865
2866 #ifndef GL_SGIS_pixel_texture
2867 #define GL_SGIS_pixel_texture 1
2868 #ifdef GL_GLEXT_PROTOTYPES
2869 GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum, GLint);
2870 GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum, const GLint *);
2871 GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum, GLfloat);
2872 GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *);
2873 GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum, GLint *);
2874 GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *);
2875 #endif /* GL_GLEXT_PROTOTYPES */
2876 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
2877 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
2878 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
2879 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
2880 typedef void (APIENTRY * PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
2881 typedef void (APIENTRY * PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
2882 #endif
2883
2884 #ifndef GL_SGIS_texture4D
2885 #define GL_SGIS_texture4D 1
2886 #ifdef GL_GLEXT_PROTOTYPES
2887 GLAPI void APIENTRY glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
2888 GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
2889 #endif /* GL_GLEXT_PROTOTYPES */
2890 typedef void (APIENTRY * PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
2891 typedef void (APIENTRY * 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);
2892 #endif
2893
2894 #ifndef GL_SGI_texture_color_table
2895 #define GL_SGI_texture_color_table 1
2896 #endif
2897
2898 #ifndef GL_EXT_cmyka
2899 #define GL_EXT_cmyka 1
2900 #endif
2901
2902 #ifndef GL_EXT_texture_object
2903 #define GL_EXT_texture_object 1
2904 #ifdef GL_GLEXT_PROTOTYPES
2905 GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *);
2906 GLAPI void APIENTRY glBindTextureEXT (GLenum, GLuint);
2907 GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei, const GLuint *);
2908 GLAPI void APIENTRY glGenTexturesEXT (GLsizei, GLuint *);
2909 GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint);
2910 GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *);
2911 #endif /* GL_GLEXT_PROTOTYPES */
2912 typedef GLboolean (APIENTRY * PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
2913 typedef void (APIENTRY * PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
2914 typedef void (APIENTRY * PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
2915 typedef void (APIENTRY * PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
2916 typedef GLboolean (APIENTRY * PFNGLISTEXTUREEXTPROC) (GLuint texture);
2917 typedef void (APIENTRY * PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
2918 #endif
2919
2920 #ifndef GL_SGIS_detail_texture
2921 #define GL_SGIS_detail_texture 1
2922 #ifdef GL_GLEXT_PROTOTYPES
2923 GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
2924 GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum, GLfloat *);
2925 #endif /* GL_GLEXT_PROTOTYPES */
2926 typedef void (APIENTRY * PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
2927 typedef void (APIENTRY * PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
2928 #endif
2929
2930 #ifndef GL_SGIS_sharpen_texture
2931 #define GL_SGIS_sharpen_texture 1
2932 #ifdef GL_GLEXT_PROTOTYPES
2933 GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
2934 GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum, GLfloat *);
2935 #endif /* GL_GLEXT_PROTOTYPES */
2936 typedef void (APIENTRY * PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
2937 typedef void (APIENTRY * PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
2938 #endif
2939
2940 #ifndef GL_EXT_packed_pixels
2941 #define GL_EXT_packed_pixels 1
2942 #endif
2943
2944 #ifndef GL_SGIS_texture_lod
2945 #define GL_SGIS_texture_lod 1
2946 #endif
2947
2948 #ifndef GL_SGIS_multisample
2949 #define GL_SGIS_multisample 1
2950 #ifdef GL_GLEXT_PROTOTYPES
2951 GLAPI void APIENTRY glSampleMaskSGIS (GLclampf, GLboolean);
2952 GLAPI void APIENTRY glSamplePatternSGIS (GLenum);
2953 #endif /* GL_GLEXT_PROTOTYPES */
2954 typedef void (APIENTRY * PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
2955 typedef void (APIENTRY * PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
2956 #endif
2957
2958 #ifndef GL_EXT_rescale_normal
2959 #define GL_EXT_rescale_normal 1
2960 #endif
2961
2962 #ifndef GL_EXT_vertex_array
2963 #define GL_EXT_vertex_array 1
2964 #ifdef GL_GLEXT_PROTOTYPES
2965 GLAPI void APIENTRY glArrayElementEXT (GLint);
2966 GLAPI void APIENTRY glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
2967 GLAPI void APIENTRY glDrawArraysEXT (GLenum, GLint, GLsizei);
2968 GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *);
2969 GLAPI void APIENTRY glGetPointervEXT (GLenum, GLvoid* *);
2970 GLAPI void APIENTRY glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
2971 GLAPI void APIENTRY glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
2972 GLAPI void APIENTRY glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
2973 GLAPI void APIENTRY glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
2974 #endif /* GL_GLEXT_PROTOTYPES */
2975 typedef void (APIENTRY * PFNGLARRAYELEMENTEXTPROC) (GLint i);
2976 typedef void (APIENTRY * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
2977 typedef void (APIENTRY * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
2978 typedef void (APIENTRY * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
2979 typedef void (APIENTRY * PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
2980 typedef void (APIENTRY * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
2981 typedef void (APIENTRY * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
2982 typedef void (APIENTRY * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
2983 typedef void (APIENTRY * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
2984 #endif
2985
2986 #ifndef GL_EXT_misc_attribute
2987 #define GL_EXT_misc_attribute 1
2988 #endif
2989
2990 #ifndef GL_SGIS_generate_mipmap
2991 #define GL_SGIS_generate_mipmap 1
2992 #endif
2993
2994 #ifndef GL_SGIX_clipmap
2995 #define GL_SGIX_clipmap 1
2996 #endif
2997
2998 #ifndef GL_SGIX_shadow
2999 #define GL_SGIX_shadow 1
3000 #endif
3001
3002 #ifndef GL_SGIS_texture_edge_clamp
3003 #define GL_SGIS_texture_edge_clamp 1
3004 #endif
3005
3006 #ifndef GL_SGIS_texture_border_clamp
3007 #define GL_SGIS_texture_border_clamp 1
3008 #endif
3009
3010 #ifndef GL_EXT_blend_minmax
3011 #define GL_EXT_blend_minmax 1
3012 #ifdef GL_GLEXT_PROTOTYPES
3013 GLAPI void APIENTRY glBlendEquationEXT (GLenum);
3014 #endif /* GL_GLEXT_PROTOTYPES */
3015 typedef void (APIENTRY * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
3016 #endif
3017
3018 #ifndef GL_EXT_blend_subtract
3019 #define GL_EXT_blend_subtract 1
3020 #endif
3021
3022 #ifndef GL_EXT_blend_logic_op
3023 #define GL_EXT_blend_logic_op 1
3024 #endif
3025
3026 #ifndef GL_SGIX_interlace
3027 #define GL_SGIX_interlace 1
3028 #endif
3029
3030 #ifndef GL_SGIX_pixel_tiles
3031 #define GL_SGIX_pixel_tiles 1
3032 #endif
3033
3034 #ifndef GL_SGIX_texture_select
3035 #define GL_SGIX_texture_select 1
3036 #endif
3037
3038 #ifndef GL_SGIX_sprite
3039 #define GL_SGIX_sprite 1
3040 #ifdef GL_GLEXT_PROTOTYPES
3041 GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum, GLfloat);
3042 GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum, const GLfloat *);
3043 GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum, GLint);
3044 GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum, const GLint *);
3045 #endif /* GL_GLEXT_PROTOTYPES */
3046 typedef void (APIENTRY * PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
3047 typedef void (APIENTRY * PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
3048 typedef void (APIENTRY * PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
3049 typedef void (APIENTRY * PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
3050 #endif
3051
3052 #ifndef GL_SGIX_texture_multi_buffer
3053 #define GL_SGIX_texture_multi_buffer 1
3054 #endif
3055
3056 #ifndef GL_EXT_point_parameters
3057 #define GL_EXT_point_parameters 1
3058 #ifdef GL_GLEXT_PROTOTYPES
3059 GLAPI void APIENTRY glPointParameterfEXT (GLenum, GLfloat);
3060 GLAPI void APIENTRY glPointParameterfvEXT (GLenum, const GLfloat *);
3061 #endif /* GL_GLEXT_PROTOTYPES */
3062 typedef void (APIENTRY * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
3063 typedef void (APIENTRY * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
3064 #endif
3065
3066 #ifndef GL_SGIS_point_parameters
3067 #define GL_SGIS_point_parameters 1
3068 #ifdef GL_GLEXT_PROTOTYPES
3069 GLAPI void APIENTRY glPointParameterfSGIS (GLenum, GLfloat);
3070 GLAPI void APIENTRY glPointParameterfvSGIS (GLenum, const GLfloat *);
3071 #endif /* GL_GLEXT_PROTOTYPES */
3072 typedef void (APIENTRY * PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
3073 typedef void (APIENTRY * PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
3074 #endif
3075
3076 #ifndef GL_SGIX_instruments
3077 #define GL_SGIX_instruments 1
3078 #ifdef GL_GLEXT_PROTOTYPES
3079 GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
3080 GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei, GLint *);
3081 GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *);
3082 GLAPI void APIENTRY glReadInstrumentsSGIX (GLint);
3083 GLAPI void APIENTRY glStartInstrumentsSGIX (void);
3084 GLAPI void APIENTRY glStopInstrumentsSGIX (GLint);
3085 #endif /* GL_GLEXT_PROTOTYPES */
3086 typedef GLint (APIENTRY * PFNGLGETINSTRUMENTSSGIXPROC) (void);
3087 typedef void (APIENTRY * PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
3088 typedef GLint (APIENTRY * PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
3089 typedef void (APIENTRY * PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
3090 typedef void (APIENTRY * PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
3091 typedef void (APIENTRY * PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
3092 #endif
3093
3094 #ifndef GL_SGIX_texture_scale_bias
3095 #define GL_SGIX_texture_scale_bias 1
3096 #endif
3097
3098 #ifndef GL_SGIX_framezoom
3099 #define GL_SGIX_framezoom 1
3100 #ifdef GL_GLEXT_PROTOTYPES
3101 GLAPI void APIENTRY glFrameZoomSGIX (GLint);
3102 #endif /* GL_GLEXT_PROTOTYPES */
3103 typedef void (APIENTRY * PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
3104 #endif
3105
3106 #ifndef GL_SGIX_tag_sample_buffer
3107 #define GL_SGIX_tag_sample_buffer 1
3108 #ifdef GL_GLEXT_PROTOTYPES
3109 GLAPI void APIENTRY glTagSampleBufferSGIX (void);
3110 #endif /* GL_GLEXT_PROTOTYPES */
3111 typedef void (APIENTRY * PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
3112 #endif
3113
3114 #ifndef GL_SGIX_polynomial_ffd
3115 #define GL_SGIX_polynomial_ffd 1
3116 #ifdef GL_GLEXT_PROTOTYPES
3117 GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
3118 GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
3119 GLAPI void APIENTRY glDeformSGIX (GLbitfield);
3120 GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield);
3121 #endif /* GL_GLEXT_PROTOTYPES */
3122 typedef void (APIENTRY * 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);
3123 typedef void (APIENTRY * 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);
3124 typedef void (APIENTRY * PFNGLDEFORMSGIXPROC) (GLbitfield mask);
3125 typedef void (APIENTRY * PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
3126 #endif
3127
3128 #ifndef GL_SGIX_reference_plane
3129 #define GL_SGIX_reference_plane 1
3130 #ifdef GL_GLEXT_PROTOTYPES
3131 GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *);
3132 #endif /* GL_GLEXT_PROTOTYPES */
3133 typedef void (APIENTRY * PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
3134 #endif
3135
3136 #ifndef GL_SGIX_flush_raster
3137 #define GL_SGIX_flush_raster 1
3138 #ifdef GL_GLEXT_PROTOTYPES
3139 GLAPI void APIENTRY glFlushRasterSGIX (void);
3140 #endif /* GL_GLEXT_PROTOTYPES */
3141 typedef void (APIENTRY * PFNGLFLUSHRASTERSGIXPROC) (void);
3142 #endif
3143
3144 #ifndef GL_SGIX_depth_texture
3145 #define GL_SGIX_depth_texture 1
3146 #endif
3147
3148 #ifndef GL_SGIS_fog_function
3149 #define GL_SGIS_fog_function 1
3150 #ifdef GL_GLEXT_PROTOTYPES
3151 GLAPI void APIENTRY glFogFuncSGIS (GLsizei, const GLfloat *);
3152 GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *);
3153 #endif /* GL_GLEXT_PROTOTYPES */
3154 typedef void (APIENTRY * PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
3155 typedef void (APIENTRY * PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
3156 #endif
3157
3158 #ifndef GL_SGIX_fog_offset
3159 #define GL_SGIX_fog_offset 1
3160 #endif
3161
3162 #ifndef GL_HP_image_transform
3163 #define GL_HP_image_transform 1
3164 #ifdef GL_GLEXT_PROTOTYPES
3165 GLAPI void APIENTRY glImageTransformParameteriHP (GLenum, GLenum, GLint);
3166 GLAPI void APIENTRY glImageTransformParameterfHP (GLenum, GLenum, GLfloat);
3167 GLAPI void APIENTRY glImageTransformParameterivHP (GLenum, GLenum, const GLint *);
3168 GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *);
3169 GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum, GLenum, GLint *);
3170 GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *);
3171 #endif /* GL_GLEXT_PROTOTYPES */
3172 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
3173 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
3174 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
3175 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
3176 typedef void (APIENTRY * PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
3177 typedef void (APIENTRY * PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
3178 #endif
3179
3180 #ifndef GL_HP_convolution_border_modes
3181 #define GL_HP_convolution_border_modes 1
3182 #endif
3183
3184 #ifndef GL_SGIX_texture_add_env
3185 #define GL_SGIX_texture_add_env 1
3186 #endif
3187
3188 #ifndef GL_EXT_color_subtable
3189 #define GL_EXT_color_subtable 1
3190 #ifdef GL_GLEXT_PROTOTYPES
3191 GLAPI void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
3192 GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei);
3193 #endif /* GL_GLEXT_PROTOTYPES */
3194 typedef void (APIENTRY * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
3195 typedef void (APIENTRY * PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3196 #endif
3197
3198 #ifndef GL_PGI_vertex_hints
3199 #define GL_PGI_vertex_hints 1
3200 #endif
3201
3202 #ifndef GL_PGI_misc_hints
3203 #define GL_PGI_misc_hints 1
3204 #ifdef GL_GLEXT_PROTOTYPES
3205 GLAPI void APIENTRY glHintPGI (GLenum, GLint);
3206 #endif /* GL_GLEXT_PROTOTYPES */
3207 typedef void (APIENTRY * PFNGLHINTPGIPROC) (GLenum target, GLint mode);
3208 #endif
3209
3210 #ifndef GL_EXT_paletted_texture
3211 #define GL_EXT_paletted_texture 1
3212 #ifdef GL_GLEXT_PROTOTYPES
3213 GLAPI void APIENTRY glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
3214 GLAPI void APIENTRY glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *);
3215 GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum, GLenum, GLint *);
3216 GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *);
3217 #endif /* GL_GLEXT_PROTOTYPES */
3218 typedef void (APIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
3219 typedef void (APIENTRY * PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data);
3220 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
3221 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
3222 #endif
3223
3224 #ifndef GL_EXT_clip_volume_hint
3225 #define GL_EXT_clip_volume_hint 1
3226 #endif
3227
3228 #ifndef GL_SGIX_list_priority
3229 #define GL_SGIX_list_priority 1
3230 #ifdef GL_GLEXT_PROTOTYPES
3231 GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *);
3232 GLAPI void APIENTRY glGetListParameterivSGIX (GLuint, GLenum, GLint *);
3233 GLAPI void APIENTRY glListParameterfSGIX (GLuint, GLenum, GLfloat);
3234 GLAPI void APIENTRY glListParameterfvSGIX (GLuint, GLenum, const GLfloat *);
3235 GLAPI void APIENTRY glListParameteriSGIX (GLuint, GLenum, GLint);
3236 GLAPI void APIENTRY glListParameterivSGIX (GLuint, GLenum, const GLint *);
3237 #endif /* GL_GLEXT_PROTOTYPES */
3238 typedef void (APIENTRY * PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
3239 typedef void (APIENTRY * PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
3240 typedef void (APIENTRY * PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
3241 typedef void (APIENTRY * PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
3242 typedef void (APIENTRY * PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
3243 typedef void (APIENTRY * PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
3244 #endif
3245
3246 #ifndef GL_SGIX_ir_instrument1
3247 #define GL_SGIX_ir_instrument1 1
3248 #endif
3249
3250 #ifndef GL_SGIX_calligraphic_fragment
3251 #define GL_SGIX_calligraphic_fragment 1
3252 #endif
3253
3254 #ifndef GL_SGIX_texture_lod_bias
3255 #define GL_SGIX_texture_lod_bias 1
3256 #endif
3257
3258 #ifndef GL_SGIX_shadow_ambient
3259 #define GL_SGIX_shadow_ambient 1
3260 #endif
3261
3262 #ifndef GL_EXT_index_texture
3263 #define GL_EXT_index_texture 1
3264 #endif
3265
3266 #ifndef GL_EXT_index_material
3267 #define GL_EXT_index_material 1
3268 #ifdef GL_GLEXT_PROTOTYPES
3269 GLAPI void APIENTRY glIndexMaterialEXT (GLenum, GLenum);
3270 #endif /* GL_GLEXT_PROTOTYPES */
3271 typedef void (APIENTRY * PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
3272 #endif
3273
3274 #ifndef GL_EXT_index_func
3275 #define GL_EXT_index_func 1
3276 #ifdef GL_GLEXT_PROTOTYPES
3277 GLAPI void APIENTRY glIndexFuncEXT (GLenum, GLclampf);
3278 #endif /* GL_GLEXT_PROTOTYPES */
3279 typedef void (APIENTRY * PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
3280 #endif
3281
3282 #ifndef GL_EXT_index_array_formats
3283 #define GL_EXT_index_array_formats 1
3284 #endif
3285
3286 #ifndef GL_EXT_compiled_vertex_array
3287 #define GL_EXT_compiled_vertex_array 1
3288 #ifdef GL_GLEXT_PROTOTYPES
3289 GLAPI void APIENTRY glLockArraysEXT (GLint, GLsizei);
3290 GLAPI void APIENTRY glUnlockArraysEXT (void);
3291 #endif /* GL_GLEXT_PROTOTYPES */
3292 typedef void (APIENTRY * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
3293 typedef void (APIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void);
3294 #endif
3295
3296 #ifndef GL_EXT_cull_vertex
3297 #define GL_EXT_cull_vertex 1
3298 #ifdef GL_GLEXT_PROTOTYPES
3299 GLAPI void APIENTRY glCullParameterdvEXT (GLenum, GLdouble *);
3300 GLAPI void APIENTRY glCullParameterfvEXT (GLenum, GLfloat *);
3301 #endif /* GL_GLEXT_PROTOTYPES */
3302 typedef void (APIENTRY * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
3303 typedef void (APIENTRY * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
3304 #endif
3305
3306 #ifndef GL_SGIX_ycrcb
3307 #define GL_SGIX_ycrcb 1
3308 #endif
3309
3310 #ifndef GL_SGIX_fragment_lighting
3311 #define GL_SGIX_fragment_lighting 1
3312 #ifdef GL_GLEXT_PROTOTYPES
3313 GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum, GLenum);
3314 GLAPI void APIENTRY glFragmentLightfSGIX (GLenum, GLenum, GLfloat);
3315 GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *);
3316 GLAPI void APIENTRY glFragmentLightiSGIX (GLenum, GLenum, GLint);
3317 GLAPI void APIENTRY glFragmentLightivSGIX (GLenum, GLenum, const GLint *);
3318 GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum, GLfloat);
3319 GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum, const GLfloat *);
3320 GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum, GLint);
3321 GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum, const GLint *);
3322 GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat);
3323 GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *);
3324 GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum, GLenum, GLint);
3325 GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *);
3326 GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *);
3327 GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum, GLenum, GLint *);
3328 GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *);
3329 GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *);
3330 GLAPI void APIENTRY glLightEnviSGIX (GLenum, GLint);
3331 #endif /* GL_GLEXT_PROTOTYPES */
3332 typedef void (APIENTRY * PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
3333 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
3334 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
3335 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
3336 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
3337 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
3338 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
3339 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
3340 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
3341