comparison include/SDL_opengl.h @ 312:d62b9aeaf0ea

Used the glext.h from the SGI sample implementation
author Sam Lantinga <slouken@libsdl.org>
date Wed, 20 Mar 2002 02:37:38 +0000
parents f6ffac90895c
children e5f3ff1580f3
comparison
equal deleted inserted replaced
311:2847fd83f115 312:d62b9aeaf0ea
55 55
56 #ifdef __cplusplus 56 #ifdef __cplusplus
57 extern "C" { 57 extern "C" {
58 #endif 58 #endif
59 59
60 /*
61 ** License Applicability. Except to the extent portions of this file are
62 ** made subject to an alternative license as permitted in the SGI Free
63 ** Software License B, Version 1.1 (the "License"), the contents of this
64 ** file are subject only to the provisions of the License. You may not use
65 ** this file except in compliance with the License. You may obtain a copy
66 ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
67 ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
68 **
69 ** http://oss.sgi.com/projects/FreeB
70 **
71 ** Note that, as provided in the License, the Software is distributed on an
72 ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
73 ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
74 ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
75 ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
76 **
77 ** Original Code. The Original Code is: OpenGL Sample Implementation,
78 ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
79 ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
80 ** Copyright in any portions created by third parties is as indicated
81 ** elsewhere herein. All Rights Reserved.
82 **
83 ** Additional Notice Provisions: This software was created using the
84 ** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
85 ** not been independently verified as being compliant with the OpenGL(R)
86 ** version 1.2.1 Specification.
87 */
88
60 #ifndef APIENTRY 89 #ifndef APIENTRY
61 #define APIENTRY 90 #define APIENTRY
62 #endif 91 #endif
63 92
64 /*
65 ** Copyright 1992-1999 Silicon Graphics, Inc.
66 ** All Rights Reserved.
67 **
68 ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
69 ** the contents of this file may not be disclosed to third parties, copied or
70 ** duplicated in any form, in whole or in part, without the prior written
71 ** permission of Silicon Graphics, Inc.
72 **
73 ** RESTRICTED RIGHTS LEGEND:
74 ** Use, duplication or disclosure by the Government is subject to restrictions
75 ** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
76 ** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
77 ** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
78 ** rights reserved under the Copyright Laws of the United States.
79 */
80
81 #define GL_ARB_multitexture 1
82 #define GL_EXT_abgr 1
83 #define GL_EXT_bgra 1
84 #define GL_EXT_clip_volume_hint 1
85 #define GL_EXT_compiled_vertex_array 1
86 #define GL_EXT_cull_vertex 1
87 #define GL_EXT_packed_pixels 1
88 #define GL_EXT_point_parameters 1
89 #define GL_EXT_stencil_wrap 1
90 #define GL_EXT_texture_env_add 1
91 #define GL_EXT_texture_env_combine 1
92 #define GL_EXT_vertex_array 1
93 #define GL_NV_texgen_reflection 1
94 #define GL_NV_texture_env_combine4 1
95 #define GL_WIN_swap_hint 1
96
97 /* EXT_abgr */
98 #define GL_ABGR_EXT 0x8000
99
100 /* EXT_packed_pixels */
101 #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
102 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
103 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
104 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
105 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
106
107 /* EXT_vertex_array */
108 #define GL_VERTEX_ARRAY_EXT 0x8074
109 #define GL_NORMAL_ARRAY_EXT 0x8075
110 #define GL_COLOR_ARRAY_EXT 0x8076
111 #define GL_INDEX_ARRAY_EXT 0x8077
112 #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
113 #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
114 #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
115 #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
116 #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
117 #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
118 #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
119 #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
120 #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
121 #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
122 #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
123 #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
124 #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
125 #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
126 #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
127 #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
128 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
129 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
130 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
131 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
132 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
133 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
134 #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
135 #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
136 #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
137 #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
138 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
139 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
140
141 /* EXT_bgra */
142 #define GL_BGR_EXT 0x80E0
143 #define GL_BGRA_EXT 0x80E1
144
145 /* EXT_clip_volume_hint */
146 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
147
148 /* EXT_point_parameters */
149 #define GL_POINT_SIZE_MIN_EXT 0x8126
150 #define GL_POINT_SIZE_MAX_EXT 0x8127
151 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
152 #define GL_DISTANCE_ATTENUATION_EXT 0x8129
153
154 /* EXT_compiled_vertex_array */
155 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
156 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
157
158 /* EXT_cull_vertex */
159 #define GL_CULL_VERTEX_EXT 0x81AA
160 #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
161 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
162
163 /* ARB_multitexture */
164 #define GL_ACTIVE_TEXTURE_ARB 0x84E0
165 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
166 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
167 #define GL_TEXTURE0_ARB 0x84C0
168 #define GL_TEXTURE1_ARB 0x84C1
169 #define GL_TEXTURE2_ARB 0x84C2
170 #define GL_TEXTURE3_ARB 0x84C3
171 #define GL_TEXTURE4_ARB 0x84C4
172 #define GL_TEXTURE5_ARB 0x84C5
173 #define GL_TEXTURE6_ARB 0x84C6
174 #define GL_TEXTURE7_ARB 0x84C7
175 #define GL_TEXTURE8_ARB 0x84C8
176 #define GL_TEXTURE9_ARB 0x84C9
177 #define GL_TEXTURE10_ARB 0x84CA
178 #define GL_TEXTURE11_ARB 0x84CB
179 #define GL_TEXTURE12_ARB 0x84CC
180 #define GL_TEXTURE13_ARB 0x84CD
181 #define GL_TEXTURE14_ARB 0x84CE
182 #define GL_TEXTURE15_ARB 0x84CF
183 #define GL_TEXTURE16_ARB 0x84D0
184 #define GL_TEXTURE17_ARB 0x84D1
185 #define GL_TEXTURE18_ARB 0x84D2
186 #define GL_TEXTURE19_ARB 0x84D3
187 #define GL_TEXTURE20_ARB 0x84D4
188 #define GL_TEXTURE21_ARB 0x84D5
189 #define GL_TEXTURE22_ARB 0x84D6
190 #define GL_TEXTURE23_ARB 0x84D7
191 #define GL_TEXTURE24_ARB 0x84D8
192 #define GL_TEXTURE25_ARB 0x84D9
193 #define GL_TEXTURE26_ARB 0x84DA
194 #define GL_TEXTURE27_ARB 0x84DB
195 #define GL_TEXTURE28_ARB 0x84DC
196 #define GL_TEXTURE29_ARB 0x84DD
197 #define GL_TEXTURE30_ARB 0x84DE
198 #define GL_TEXTURE31_ARB 0x84DF
199
200 /* EXT_stencil_wrap */
201 #define GL_INCR_WRAP_EXT 0x8507
202 #define GL_DECR_WRAP_EXT 0x8508
203
204 /* NV_texgen_reflection */
205 #define GL_NORMAL_MAP_NV 0x8511
206 #define GL_REFLECTION_MAP_NV 0x8512
207
208 /* EXT_texture_env_combine */
209 #define GL_COMBINE_EXT 0x8570
210 #define GL_COMBINE_RGB_EXT 0x8571
211 #define GL_COMBINE_ALPHA_EXT 0x8572
212 #define GL_RGB_SCALE_EXT 0x8573
213 #define GL_ADD_SIGNED_EXT 0x8574
214 #define GL_INTERPOLATE_EXT 0x8575
215 #define GL_CONSTANT_EXT 0x8576
216 #define GL_PRIMARY_COLOR_EXT 0x8577
217 #define GL_PREVIOUS_EXT 0x8578
218 #define GL_SOURCE0_RGB_EXT 0x8580
219 #define GL_SOURCE1_RGB_EXT 0x8581
220 #define GL_SOURCE2_RGB_EXT 0x8582
221 #define GL_SOURCE0_ALPHA_EXT 0x8588
222 #define GL_SOURCE1_ALPHA_EXT 0x8589
223 #define GL_SOURCE2_ALPHA_EXT 0x858A
224 #define GL_OPERAND0_RGB_EXT 0x8590
225 #define GL_OPERAND1_RGB_EXT 0x8591
226 #define GL_OPERAND2_RGB_EXT 0x8592
227 #define GL_OPERAND0_ALPHA_EXT 0x8598
228 #define GL_OPERAND1_ALPHA_EXT 0x8599
229 #define GL_OPERAND2_ALPHA_EXT 0x859A
230
231 /* NV_texture_env_combine4 */
232 #define GL_COMBINE4_NV 0x8503
233 #define GL_SOURCE3_RGB_NV 0x8583
234 #define GL_SOURCE3_ALPHA_NV 0x858B
235 #define GL_OPERAND3_RGB_NV 0x8593
236 #define GL_OPERAND3_ALPHA_NV 0x859B
237
238 /*************************************************************/ 93 /*************************************************************/
239 94
240 /* EXT_vertex_array */ 95 /* Header file version number, required by OpenGL ABI for Linux */
241 typedef void (APIENTRY * PFNGLARRAYELEMENTEXTPROC) (GLint i); 96 #define GL_GLEXT_VERSION 6
242 typedef void (APIENTRY * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 97
243 typedef void (APIENTRY * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count); 98 #ifndef GL_VERSION_1_2
244 typedef void (APIENTRY * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer); 99 #define GL_CONSTANT_COLOR 0x8001
245 typedef void (APIENTRY * PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params); 100 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
246 typedef void (APIENTRY * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 101 #define GL_CONSTANT_ALPHA 0x8003
247 typedef void (APIENTRY * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 102 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
248 typedef void (APIENTRY * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 103 #define GL_BLEND_COLOR 0x8005
249 typedef void (APIENTRY * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 104 #define GL_FUNC_ADD 0x8006
250 105 #define GL_MIN 0x8007
251 /* ARB_multitexture */ 106 #define GL_MAX 0x8008
107 #define GL_BLEND_EQUATION 0x8009
108 #define GL_FUNC_SUBTRACT 0x800A
109 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
110 #define GL_CONVOLUTION_1D 0x8010
111 #define GL_CONVOLUTION_2D 0x8011
112 #define GL_SEPARABLE_2D 0x8012
113 #define GL_CONVOLUTION_BORDER_MODE 0x8013
114 #define GL_CONVOLUTION_FILTER_SCALE 0x8014
115 #define GL_CONVOLUTION_FILTER_BIAS 0x8015
116 #define GL_REDUCE 0x8016
117 #define GL_CONVOLUTION_FORMAT 0x8017
118 #define GL_CONVOLUTION_WIDTH 0x8018
119 #define GL_CONVOLUTION_HEIGHT 0x8019
120 #define GL_MAX_CONVOLUTION_WIDTH 0x801A
121 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
122 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
123 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
124 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
125 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
126 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
127 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
128 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
129 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
130 #define GL_HISTOGRAM 0x8024
131 #define GL_PROXY_HISTOGRAM 0x8025
132 #define GL_HISTOGRAM_WIDTH 0x8026
133 #define GL_HISTOGRAM_FORMAT 0x8027
134 #define GL_HISTOGRAM_RED_SIZE 0x8028
135 #define GL_HISTOGRAM_GREEN_SIZE 0x8029
136 #define GL_HISTOGRAM_BLUE_SIZE 0x802A
137 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
138 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
139 #define GL_HISTOGRAM_SINK 0x802D
140 #define GL_MINMAX 0x802E
141 #define GL_MINMAX_FORMAT 0x802F
142 #define GL_MINMAX_SINK 0x8030
143 #define GL_TABLE_TOO_LARGE 0x8031
144 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
145 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
146 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
147 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
148 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
149 #define GL_RESCALE_NORMAL 0x803A
150 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
151 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
152 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
153 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
154 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
155 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
156 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
157 #define GL_COLOR_MATRIX 0x80B1
158 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
159 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
160 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
161 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
162 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
163 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
164 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
165 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
166 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
167 #define GL_COLOR_TABLE 0x80D0
168 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
169 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
170 #define GL_PROXY_COLOR_TABLE 0x80D3
171 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
172 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
173 #define GL_COLOR_TABLE_SCALE 0x80D6
174 #define GL_COLOR_TABLE_BIAS 0x80D7
175 #define GL_COLOR_TABLE_FORMAT 0x80D8
176 #define GL_COLOR_TABLE_WIDTH 0x80D9
177 #define GL_COLOR_TABLE_RED_SIZE 0x80DA
178 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
179 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
180 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
181 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
182 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
183 #define GL_CLAMP_TO_EDGE 0x812F
184 #define GL_TEXTURE_MIN_LOD 0x813A
185 #define GL_TEXTURE_MAX_LOD 0x813B
186 #define GL_TEXTURE_BASE_LEVEL 0x813C
187 #define GL_TEXTURE_MAX_LEVEL 0x813D
188 #endif
189
190 #ifndef GL_ARB_multitexture
191 #define GL_TEXTURE0_ARB 0x84C0
192 #define GL_TEXTURE1_ARB 0x84C1
193 #define GL_TEXTURE2_ARB 0x84C2
194 #define GL_TEXTURE3_ARB 0x84C3
195 #define GL_TEXTURE4_ARB 0x84C4
196 #define GL_TEXTURE5_ARB 0x84C5
197 #define GL_TEXTURE6_ARB 0x84C6
198 #define GL_TEXTURE7_ARB 0x84C7
199 #define GL_TEXTURE8_ARB 0x84C8
200 #define GL_TEXTURE9_ARB 0x84C9
201 #define GL_TEXTURE10_ARB 0x84CA
202 #define GL_TEXTURE11_ARB 0x84CB
203 #define GL_TEXTURE12_ARB 0x84CC
204 #define GL_TEXTURE13_ARB 0x84CD
205 #define GL_TEXTURE14_ARB 0x84CE
206 #define GL_TEXTURE15_ARB 0x84CF
207 #define GL_TEXTURE16_ARB 0x84D0
208 #define GL_TEXTURE17_ARB 0x84D1
209 #define GL_TEXTURE18_ARB 0x84D2
210 #define GL_TEXTURE19_ARB 0x84D3
211 #define GL_TEXTURE20_ARB 0x84D4
212 #define GL_TEXTURE21_ARB 0x84D5
213 #define GL_TEXTURE22_ARB 0x84D6
214 #define GL_TEXTURE23_ARB 0x84D7
215 #define GL_TEXTURE24_ARB 0x84D8
216 #define GL_TEXTURE25_ARB 0x84D9
217 #define GL_TEXTURE26_ARB 0x84DA
218 #define GL_TEXTURE27_ARB 0x84DB
219 #define GL_TEXTURE28_ARB 0x84DC
220 #define GL_TEXTURE29_ARB 0x84DD
221 #define GL_TEXTURE30_ARB 0x84DE
222 #define GL_TEXTURE31_ARB 0x84DF
223 #define GL_ACTIVE_TEXTURE_ARB 0x84E0
224 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
225 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
226 #endif
227
228 #ifndef GL_ARB_transpose_matrix
229 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
230 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
231 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
232 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
233 #endif
234
235 #ifndef GL_ARB_multisample
236 #define GL_MULTISAMPLE_ARB 0x809D
237 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
238 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
239 #define GL_SAMPLE_COVERAGE_ARB 0x80A0
240 #define GL_SAMPLE_BUFFERS_ARB 0x80A8
241 #define GL_SAMPLES_ARB 0x80A9
242 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
243 #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
244 #define GL_MULTISAMPLE_BIT_ARB 0x20000000
245 #endif
246
247 #ifndef GL_ARB_texture_cube_map
248 #define GL_NORMAL_MAP_ARB 0x8511
249 #define GL_REFLECTION_MAP_ARB 0x8512
250 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
251 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
252 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
253 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
254 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
255 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
256 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
257 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
258 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
259 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
260 #endif
261
262 #ifndef GL_ARB_texture_compression
263 #define GL_COMPRESSED_ALPHA_ARB 0x84E9
264 #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
265 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
266 #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
267 #define GL_COMPRESSED_RGB_ARB 0x84ED
268 #define GL_COMPRESSED_RGBA_ARB 0x84EE
269 #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
270 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
271 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
272 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
273 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
274 #endif
275
276 #ifndef GL_EXT_abgr
277 #define GL_ABGR_EXT 0x8000
278 #endif
279
280 #ifndef GL_EXT_blend_color
281 #define GL_CONSTANT_COLOR_EXT 0x8001
282 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
283 #define GL_CONSTANT_ALPHA_EXT 0x8003
284 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
285 #define GL_BLEND_COLOR_EXT 0x8005
286 #endif
287
288 #ifndef GL_EXT_polygon_offset
289 #define GL_POLYGON_OFFSET_EXT 0x8037
290 #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
291 #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
292 #endif
293
294 #ifndef GL_EXT_texture
295 #define GL_ALPHA4_EXT 0x803B
296 #define GL_ALPHA8_EXT 0x803C
297 #define GL_ALPHA12_EXT 0x803D
298 #define GL_ALPHA16_EXT 0x803E
299 #define GL_LUMINANCE4_EXT 0x803F
300 #define GL_LUMINANCE8_EXT 0x8040
301 #define GL_LUMINANCE12_EXT 0x8041
302 #define GL_LUMINANCE16_EXT 0x8042
303 #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
304 #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
305 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
306 #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
307 #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
308 #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
309 #define GL_INTENSITY_EXT 0x8049
310 #define GL_INTENSITY4_EXT 0x804A
311 #define GL_INTENSITY8_EXT 0x804B
312 #define GL_INTENSITY12_EXT 0x804C
313 #define GL_INTENSITY16_EXT 0x804D
314 #define GL_RGB2_EXT 0x804E
315 #define GL_RGB4_EXT 0x804F
316 #define GL_RGB5_EXT 0x8050
317 #define GL_RGB8_EXT 0x8051
318 #define GL_RGB10_EXT 0x8052
319 #define GL_RGB12_EXT 0x8053
320 #define GL_RGB16_EXT 0x8054
321 #define GL_RGBA2_EXT 0x8055
322 #define GL_RGBA4_EXT 0x8056
323 #define GL_RGB5_A1_EXT 0x8057
324 #define GL_RGBA8_EXT 0x8058
325 #define GL_RGB10_A2_EXT 0x8059
326 #define GL_RGBA12_EXT 0x805A
327 #define GL_RGBA16_EXT 0x805B
328 #define GL_TEXTURE_RED_SIZE_EXT 0x805C
329 #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
330 #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
331 #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
332 #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
333 #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
334 #define GL_REPLACE_EXT 0x8062
335 #define GL_PROXY_TEXTURE_1D_EXT 0x8063
336 #define GL_PROXY_TEXTURE_2D_EXT 0x8064
337 #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
338 #endif
339
340 #ifndef GL_EXT_texture3D
341 #define GL_PACK_SKIP_IMAGES 0x806B
342 #define GL_PACK_SKIP_IMAGES_EXT 0x806B
343 #define GL_PACK_IMAGE_HEIGHT 0x806C
344 #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
345 #define GL_UNPACK_SKIP_IMAGES 0x806D
346 #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
347 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
348 #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
349 #define GL_TEXTURE_3D 0x806F
350 #define GL_TEXTURE_3D_EXT 0x806F
351 #define GL_PROXY_TEXTURE_3D 0x8070
352 #define GL_PROXY_TEXTURE_3D_EXT 0x8070
353 #define GL_TEXTURE_DEPTH 0x8071
354 #define GL_TEXTURE_DEPTH_EXT 0x8071
355 #define GL_TEXTURE_WRAP_R 0x8072
356 #define GL_TEXTURE_WRAP_R_EXT 0x8072
357 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
358 #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
359 #endif
360
361 #ifndef GL_SGIS_texture_filter4
362 #define GL_FILTER4_SGIS 0x8146
363 #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
364 #endif
365
366 #ifndef GL_EXT_subtexture
367 #endif
368
369 #ifndef GL_EXT_copy_texture
370 #endif
371
372 #ifndef GL_EXT_histogram
373 #define GL_HISTOGRAM_EXT 0x8024
374 #define GL_PROXY_HISTOGRAM_EXT 0x8025
375 #define GL_HISTOGRAM_WIDTH_EXT 0x8026
376 #define GL_HISTOGRAM_FORMAT_EXT 0x8027
377 #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
378 #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
379 #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
380 #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
381 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
382 #define GL_HISTOGRAM_SINK_EXT 0x802D
383 #define GL_MINMAX_EXT 0x802E
384 #define GL_MINMAX_FORMAT_EXT 0x802F
385 #define GL_MINMAX_SINK_EXT 0x8030
386 #define GL_TABLE_TOO_LARGE_EXT 0x8031
387 #endif
388
389 #ifndef GL_EXT_convolution
390 #define GL_CONVOLUTION_1D_EXT 0x8010
391 #define GL_CONVOLUTION_2D_EXT 0x8011
392 #define GL_SEPARABLE_2D_EXT 0x8012
393 #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
394 #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
395 #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
396 #define GL_REDUCE_EXT 0x8016
397 #define GL_CONVOLUTION_FORMAT_EXT 0x8017
398 #define GL_CONVOLUTION_WIDTH_EXT 0x8018
399 #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
400 #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
401 #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
402 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
403 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
404 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
405 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
406 #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
407 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
408 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
409 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
410 #endif
411
412 #ifndef GL_SGI_color_matrix
413 #define GL_COLOR_MATRIX_SGI 0x80B1
414 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
415 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
416 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
417 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
418 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
419 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
420 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
421 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
422 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
423 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
424 #endif
425
426 #ifndef GL_SGI_color_table
427 #define GL_COLOR_TABLE_SGI 0x80D0
428 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
429 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
430 #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
431 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
432 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
433 #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
434 #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
435 #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
436 #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
437 #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
438 #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
439 #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
440 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
441 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
442 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
443 #endif
444
445 #ifndef GL_SGIS_pixel_texture
446 #define GL_PIXEL_TEXTURE_SGIS 0x8353
447 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
448 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
449 #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
450 #endif
451
452 #ifndef GL_SGIX_pixel_texture
453 #define GL_PIXEL_TEX_GEN_SGIX 0x8139
454 #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
455 #endif
456
457 #ifndef GL_SGIS_texture4D
458 #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
459 #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
460 #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
461 #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
462 #define GL_TEXTURE_4D_SGIS 0x8134
463 #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
464 #define GL_TEXTURE_4DSIZE_SGIS 0x8136
465 #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
466 #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
467 #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
468 #endif
469
470 #ifndef GL_SGI_texture_color_table
471 #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
472 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
473 #endif
474
475 #ifndef GL_EXT_cmyka
476 #define GL_CMYK_EXT 0x800C
477 #define GL_CMYKA_EXT 0x800D
478 #define GL_PACK_CMYK_HINT_EXT 0x800E
479 #define GL_UNPACK_CMYK_HINT_EXT 0x800F
480 #endif
481
482 #ifndef GL_EXT_texture_object
483 #define GL_TEXTURE_PRIORITY_EXT 0x8066
484 #define GL_TEXTURE_RESIDENT_EXT 0x8067
485 #define GL_TEXTURE_1D_BINDING_EXT 0x8068
486 #define GL_TEXTURE_2D_BINDING_EXT 0x8069
487 #define GL_TEXTURE_3D_BINDING_EXT 0x806A
488 #endif
489
490 #ifndef GL_SGIS_detail_texture
491 #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
492 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
493 #define GL_LINEAR_DETAIL_SGIS 0x8097
494 #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
495 #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
496 #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
497 #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
498 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
499 #endif
500
501 #ifndef GL_SGIS_sharpen_texture
502 #define GL_LINEAR_SHARPEN_SGIS 0x80AD
503 #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
504 #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
505 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
506 #endif
507
508 #ifndef GL_EXT_packed_pixels
509 #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
510 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
511 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
512 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
513 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
514 #endif
515
516 #ifndef GL_SGIS_texture_lod
517 #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
518 #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
519 #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
520 #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
521 #endif
522
523 #ifndef GL_SGIS_multisample
524 #define GL_MULTISAMPLE_SGIS 0x809D
525 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
526 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
527 #define GL_SAMPLE_MASK_SGIS 0x80A0
528 #define GL_1PASS_SGIS 0x80A1
529 #define GL_2PASS_0_SGIS 0x80A2
530 #define GL_2PASS_1_SGIS 0x80A3
531 #define GL_4PASS_0_SGIS 0x80A4
532 #define GL_4PASS_1_SGIS 0x80A5
533 #define GL_4PASS_2_SGIS 0x80A6
534 #define GL_4PASS_3_SGIS 0x80A7
535 #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
536 #define GL_SAMPLES_SGIS 0x80A9
537 #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
538 #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
539 #define GL_SAMPLE_PATTERN_SGIS 0x80AC
540 #endif
541
542 #ifndef GL_EXT_rescale_normal
543 #define GL_RESCALE_NORMAL_EXT 0x803A
544 #endif
545
546 #ifndef GL_EXT_vertex_array
547 #define GL_VERTEX_ARRAY_EXT 0x8074
548 #define GL_NORMAL_ARRAY_EXT 0x8075
549 #define GL_COLOR_ARRAY_EXT 0x8076
550 #define GL_INDEX_ARRAY_EXT 0x8077
551 #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
552 #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
553 #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
554 #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
555 #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
556 #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
557 #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
558 #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
559 #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
560 #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
561 #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
562 #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
563 #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
564 #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
565 #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
566 #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
567 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
568 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
569 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
570 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
571 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
572 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
573 #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
574 #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
575 #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
576 #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
577 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
578 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
579 #endif
580
581 #ifndef GL_EXT_misc_attribute
582 #endif
583
584 #ifndef GL_SGIS_generate_mipmap
585 #define GL_GENERATE_MIPMAP_SGIS 0x8191
586 #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
587 #endif
588
589 #ifndef GL_SGIX_clipmap
590 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
591 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
592 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
593 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
594 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
595 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
596 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
597 #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
598 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
599 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
600 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
601 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
602 #endif
603
604 #ifndef GL_SGIX_shadow
605 #define GL_TEXTURE_COMPARE_SGIX 0x819A
606 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
607 #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
608 #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
609 #endif
610
611 #ifndef GL_SGIS_texture_edge_clamp
612 #define GL_CLAMP_TO_EDGE_SGIS 0x812F
613 #endif
614
615 #ifndef GL_SGIS_texture_border_clamp
616 #define GL_CLAMP_TO_BORDER_SGIS 0x812D
617 #endif
618
619 #ifndef GL_EXT_blend_minmax
620 #define GL_FUNC_ADD_EXT 0x8006
621 #define GL_MIN_EXT 0x8007
622 #define GL_MAX_EXT 0x8008
623 #define GL_BLEND_EQUATION_EXT 0x8009
624 #endif
625
626 #ifndef GL_EXT_blend_subtract
627 #define GL_FUNC_SUBTRACT_EXT 0x800A
628 #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
629 #endif
630
631 #ifndef GL_EXT_blend_logic_op
632 #endif
633
634 #ifndef GL_SGIX_interlace
635 #define GL_INTERLACE_SGIX 0x8094
636 #endif
637
638 #ifndef GL_SGIX_pixel_tiles
639 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
640 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
641 #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
642 #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
643 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
644 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
645 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
646 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
647 #endif
648
649 #ifndef GL_SGIS_texture_select
650 #define GL_DUAL_ALPHA4_SGIS 0x8110
651 #define GL_DUAL_ALPHA8_SGIS 0x8111
652 #define GL_DUAL_ALPHA12_SGIS 0x8112
653 #define GL_DUAL_ALPHA16_SGIS 0x8113
654 #define GL_DUAL_LUMINANCE4_SGIS 0x8114
655 #define GL_DUAL_LUMINANCE8_SGIS 0x8115
656 #define GL_DUAL_LUMINANCE12_SGIS 0x8116
657 #define GL_DUAL_LUMINANCE16_SGIS 0x8117
658 #define GL_DUAL_INTENSITY4_SGIS 0x8118
659 #define GL_DUAL_INTENSITY8_SGIS 0x8119
660 #define GL_DUAL_INTENSITY12_SGIS 0x811A
661 #define GL_DUAL_INTENSITY16_SGIS 0x811B
662 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
663 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
664 #define GL_QUAD_ALPHA4_SGIS 0x811E
665 #define GL_QUAD_ALPHA8_SGIS 0x811F
666 #define GL_QUAD_LUMINANCE4_SGIS 0x8120
667 #define GL_QUAD_LUMINANCE8_SGIS 0x8121
668 #define GL_QUAD_INTENSITY4_SGIS 0x8122
669 #define GL_QUAD_INTENSITY8_SGIS 0x8123
670 #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
671 #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
672 #endif
673
674 #ifndef GL_SGIX_sprite
675 #define GL_SPRITE_SGIX 0x8148
676 #define GL_SPRITE_MODE_SGIX 0x8149
677 #define GL_SPRITE_AXIS_SGIX 0x814A
678 #define GL_SPRITE_TRANSLATION_SGIX 0x814B
679 #define GL_SPRITE_AXIAL_SGIX 0x814C
680 #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
681 #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
682 #endif
683
684 #ifndef GL_SGIX_texture_multi_buffer
685 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
686 #endif
687
688 #ifndef GL_SGIS_point_parameters
689 #define GL_POINT_SIZE_MIN_EXT 0x8126
690 #define GL_POINT_SIZE_MIN_SGIS 0x8126
691 #define GL_POINT_SIZE_MAX_EXT 0x8127
692 #define GL_POINT_SIZE_MAX_SGIS 0x8127
693 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
694 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
695 #define GL_DISTANCE_ATTENUATION_EXT 0x8129
696 #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
697 #endif
698
699 #ifndef GL_SGIX_instruments
700 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
701 #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
702 #endif
703
704 #ifndef GL_SGIX_texture_scale_bias
705 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
706 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
707 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
708 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
709 #endif
710
711 #ifndef GL_SGIX_framezoom
712 #define GL_FRAMEZOOM_SGIX 0x818B
713 #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
714 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
715 #endif
716
717 #ifndef GL_SGIX_tag_sample_buffer
718 #endif
719
720 #ifndef GL_SGIX_reference_plane
721 #define GL_REFERENCE_PLANE_SGIX 0x817D
722 #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
723 #endif
724
725 #ifndef GL_SGIX_flush_raster
726 #endif
727
728 #ifndef GL_SGIX_depth_texture
729 #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
730 #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
731 #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
732 #endif
733
734 #ifndef GL_SGIS_fog_function
735 #define GL_FOG_FUNC_SGIS 0x812A
736 #define GL_FOG_FUNC_POINTS_SGIS 0x812B
737 #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
738 #endif
739
740 #ifndef GL_SGIX_fog_offset
741 #define GL_FOG_OFFSET_SGIX 0x8198
742 #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
743 #endif
744
745 #ifndef GL_HP_image_transform
746 #define GL_IMAGE_SCALE_X_HP 0x8155
747 #define GL_IMAGE_SCALE_Y_HP 0x8156
748 #define GL_IMAGE_TRANSLATE_X_HP 0x8157
749 #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
750 #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
751 #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
752 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
753 #define GL_IMAGE_MAG_FILTER_HP 0x815C
754 #define GL_IMAGE_MIN_FILTER_HP 0x815D
755 #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
756 #define GL_CUBIC_HP 0x815F
757 #define GL_AVERAGE_HP 0x8160
758 #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
759 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
760 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
761 #endif
762
763 #ifndef GL_HP_convolution_border_modes
764 #define GL_IGNORE_BORDER_HP 0x8150
765 #define GL_CONSTANT_BORDER_HP 0x8151
766 #define GL_REPLICATE_BORDER_HP 0x8153
767 #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
768 #endif
769
770 #ifndef GL_INGR_palette_buffer
771 #endif
772
773 #ifndef GL_SGIX_texture_add_env
774 #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
775 #endif
776
777 #ifndef GL_EXT_color_subtable
778 #endif
779
780 #ifndef GL_PGI_vertex_hints
781 #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
782 #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
783 #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
784 #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
785 #define GL_COLOR3_BIT_PGI 0x00010000
786 #define GL_COLOR4_BIT_PGI 0x00020000
787 #define GL_EDGEFLAG_BIT_PGI 0x00040000
788 #define GL_INDEX_BIT_PGI 0x00080000
789 #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
790 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
791 #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
792 #define GL_MAT_EMISSION_BIT_PGI 0x00800000
793 #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
794 #define GL_MAT_SHININESS_BIT_PGI 0x02000000
795 #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
796 #define GL_NORMAL_BIT_PGI 0x08000000
797 #define GL_TEXCOORD1_BIT_PGI 0x10000000
798 #define GL_TEXCOORD2_BIT_PGI 0x20000000
799 #define GL_TEXCOORD3_BIT_PGI 0x40000000
800 #define GL_TEXCOORD4_BIT_PGI 0x80000000
801 #define GL_VERTEX23_BIT_PGI 0x00000004
802 #define GL_VERTEX4_BIT_PGI 0x00000008
803 #endif
804
805 #ifndef GL_PGI_misc_hints
806 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
807 #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
808 #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
809 #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
810 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
811 #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
812 #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
813 #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
814 #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
815 #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
816 #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
817 #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
818 #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
819 #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
820 #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
821 #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
822 #define GL_CLIP_NEAR_HINT_PGI 0x1A220
823 #define GL_CLIP_FAR_HINT_PGI 0x1A221
824 #define GL_WIDE_LINE_HINT_PGI 0x1A222
825 #define GL_BACK_NORMALS_HINT_PGI 0x1A223
826 #endif
827
828 #ifndef GL_EXT_paletted_texture
829 #define GL_COLOR_INDEX1_EXT 0x80E2
830 #define GL_COLOR_INDEX2_EXT 0x80E3
831 #define GL_COLOR_INDEX4_EXT 0x80E4
832 #define GL_COLOR_INDEX8_EXT 0x80E5
833 #define GL_COLOR_INDEX12_EXT 0x80E6
834 #define GL_COLOR_INDEX16_EXT 0x80E7
835 #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
836 #endif
837
838 #ifndef GL_EXT_clip_volume_hint
839 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
840 #endif
841
842 #ifndef GL_SGIX_list_priority
843 #define GL_LIST_PRIORITY_SGIX 0x8182
844 #endif
845
846 #ifndef GL_SGIX_ir_instrument1
847 #define GL_IR_INSTRUMENT1_SGIX 0x817F
848 #endif
849
850 #ifndef GL_SGIX_calligraphic_fragment
851 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
852 #endif
853
854 #ifndef GL_SGIX_texture_lod_bias
855 #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
856 #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
857 #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
858 #endif
859
860 #ifndef GL_SGIX_shadow_ambient
861 #define GL_SHADOW_AMBIENT_SGIX 0x80BF
862 #endif
863
864 #ifndef GL_EXT_index_texture
865 #endif
866
867 #ifndef GL_EXT_index_material
868 #define GL_INDEX_MATERIAL_EXT 0x81B8
869 #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
870 #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
871 #endif
872
873 #ifndef GL_EXT_index_func
874 #define GL_INDEX_TEST_EXT 0x81B5
875 #define GL_INDEX_TEST_FUNC_EXT 0x81B6
876 #define GL_INDEX_TEST_REF_EXT 0x81B7
877 #endif
878
879 #ifndef GL_EXT_index_array_formats
880 #define GL_IUI_V2F_EXT 0x81AD
881 #define GL_IUI_V3F_EXT 0x81AE
882 #define GL_IUI_N3F_V2F_EXT 0x81AF
883 #define GL_IUI_N3F_V3F_EXT 0x81B0
884 #define GL_T2F_IUI_V2F_EXT 0x81B1
885 #define GL_T2F_IUI_V3F_EXT 0x81B2
886 #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
887 #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
888 #endif
889
890 #ifndef GL_EXT_compiled_vertex_array
891 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
892 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
893 #endif
894
895 #ifndef GL_EXT_cull_vertex
896 #define GL_CULL_VERTEX_EXT 0x81AA
897 #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
898 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
899 #endif
900
901 #ifndef GL_SGIX_ycrcb
902 #define GL_YCRCB_422_SGIX 0x81BB
903 #define GL_YCRCB_444_SGIX 0x81BC
904 #endif
905
906 #ifndef GL_SGIX_fragment_lighting
907 #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
908 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
909 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
910 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
911 #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
912 #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
913 #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
914 #define GL_LIGHT_ENV_MODE_SGIX 0x8407
915 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
916 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
917 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
918 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
919 #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
920 #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
921 #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
922 #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
923 #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
924 #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
925 #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
926 #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
927 #endif
928
929 #ifndef GL_IBM_rasterpos_clip
930 #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
931 #endif
932
933 #ifndef GL_HP_texture_lighting
934 #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
935 #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
936 #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
937 #endif
938
939 #ifndef GL_EXT_draw_range_elements
940 #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
941 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
942 #endif
943
944 #ifndef GL_WIN_phong_shading
945 #define GL_PHONG_WIN 0x80EA
946 #define GL_PHONG_HINT_WIN 0x80EB
947 #endif
948
949 #ifndef GL_WIN_specular_fog
950 #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
951 #endif
952
953 #ifndef GL_EXT_light_texture
954 #define GL_FRAGMENT_MATERIAL_EXT 0x8349
955 #define GL_FRAGMENT_NORMAL_EXT 0x834A
956 #define GL_FRAGMENT_COLOR_EXT 0x834C
957 #define GL_ATTENUATION_EXT 0x834D
958 #define GL_SHADOW_ATTENUATION_EXT 0x834E
959 #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
960 #define GL_TEXTURE_LIGHT_EXT 0x8350
961 #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
962 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
963 /* reuse GL_FRAGMENT_DEPTH_EXT */
964 #endif
965
966 #ifndef GL_SGIX_blend_alpha_minmax
967 #define GL_ALPHA_MIN_SGIX 0x8320
968 #define GL_ALPHA_MAX_SGIX 0x8321
969 #endif
970
971 #ifndef GL_EXT_bgra
972 #define GL_BGR_EXT 0x80E0
973 #define GL_BGRA_EXT 0x80E1
974 #endif
975
976 #ifndef GL_INTEL_texture_scissor
977 #endif
978
979 #ifndef GL_INTEL_parallel_arrays
980 #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
981 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
982 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
983 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
984 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
985 #endif
986
987 #ifndef GL_HP_occlusion_test
988 #define GL_OCCLUSION_TEST_HP 0x8165
989 #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
990 #endif
991
992 #ifndef GL_EXT_pixel_transform
993 #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
994 #define GL_PIXEL_MAG_FILTER_EXT 0x8331
995 #define GL_PIXEL_MIN_FILTER_EXT 0x8332
996 #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
997 #define GL_CUBIC_EXT 0x8334
998 #define GL_AVERAGE_EXT 0x8335
999 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
1000 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
1001 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
1002 #endif
1003
1004 #ifndef GL_EXT_pixel_transform_color_table
1005 #endif
1006
1007 #ifndef GL_EXT_shared_texture_palette
1008 #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
1009 #endif
1010
1011 #ifndef GL_EXT_separate_specular_color
1012 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
1013 #define GL_SINGLE_COLOR_EXT 0x81F9
1014 #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
1015 #endif
1016
1017 #ifndef GL_EXT_secondary_color
1018 #define GL_COLOR_SUM_EXT 0x8458
1019 #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
1020 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
1021 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
1022 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
1023 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
1024 #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
1025 #endif
1026
1027 #ifndef GL_EXT_texture_perturb_normal
1028 #define GL_PERTURB_EXT 0x85AE
1029 #define GL_TEXTURE_NORMAL_EXT 0x85AF
1030 #endif
1031
1032 #ifndef GL_EXT_multi_draw_arrays
1033 #endif
1034
1035 #ifndef GL_EXT_fog_coord
1036 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
1037 #define GL_FOG_COORDINATE_EXT 0x8451
1038 #define GL_FRAGMENT_DEPTH_EXT 0x8452
1039 #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
1040 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
1041 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
1042 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
1043 #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
1044 #endif
1045
1046 #ifndef GL_REND_screen_coordinates
1047 #define GL_SCREEN_COORDINATES_REND 0x8490
1048 #define GL_INVERTED_SCREEN_W_REND 0x8491
1049 #endif
1050
1051 #ifndef GL_EXT_coordinate_frame
1052 #define GL_TANGENT_ARRAY_EXT 0x8439
1053 #define GL_BINORMAL_ARRAY_EXT 0x843A
1054 #define GL_CURRENT_TANGENT_EXT 0x843B
1055 #define GL_CURRENT_BINORMAL_EXT 0x843C
1056 #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
1057 #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
1058 #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
1059 #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
1060 #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
1061 #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
1062 #define GL_MAP1_TANGENT_EXT 0x8444
1063 #define GL_MAP2_TANGENT_EXT 0x8445
1064 #define GL_MAP1_BINORMAL_EXT 0x8446
1065 #define GL_MAP2_BINORMAL_EXT 0x8447
1066 #endif
1067
1068 #ifndef GL_EXT_texture_env_combine
1069 #define GL_COMBINE_EXT 0x8570
1070 #define GL_COMBINE_RGB_EXT 0x8571
1071 #define GL_COMBINE_ALPHA_EXT 0x8572
1072 #define GL_RGB_SCALE_EXT 0x8573
1073 #define GL_ADD_SIGNED_EXT 0x8574
1074 #define GL_INTERPOLATE_EXT 0x8575
1075 #define GL_CONSTANT_EXT 0x8576
1076 #define GL_PRIMARY_COLOR_EXT 0x8577
1077 #define GL_PREVIOUS_EXT 0x8578
1078 #define GL_SOURCE0_RGB_EXT 0x8580
1079 #define GL_SOURCE1_RGB_EXT 0x8581
1080 #define GL_SOURCE2_RGB_EXT 0x8582
1081 #define GL_SOURCE3_RGB_EXT 0x8583
1082 #define GL_SOURCE4_RGB_EXT 0x8584
1083 #define GL_SOURCE5_RGB_EXT 0x8585
1084 #define GL_SOURCE6_RGB_EXT 0x8586
1085 #define GL_SOURCE7_RGB_EXT 0x8587
1086 #define GL_SOURCE0_ALPHA_EXT 0x8588
1087 #define GL_SOURCE1_ALPHA_EXT 0x8589
1088 #define GL_SOURCE2_ALPHA_EXT 0x858A
1089 #define GL_SOURCE3_ALPHA_EXT 0x858B
1090 #define GL_SOURCE4_ALPHA_EXT 0x858C
1091 #define GL_SOURCE5_ALPHA_EXT 0x858D
1092 #define GL_SOURCE6_ALPHA_EXT 0x858E
1093 #define GL_SOURCE7_ALPHA_EXT 0x858F
1094 #define GL_OPERAND0_RGB_EXT 0x8590
1095 #define GL_OPERAND1_RGB_EXT 0x8591
1096 #define GL_OPERAND2_RGB_EXT 0x8592
1097 #define GL_OPERAND3_RGB_EXT 0x8593
1098 #define GL_OPERAND4_RGB_EXT 0x8594
1099 #define GL_OPERAND5_RGB_EXT 0x8595
1100 #define GL_OPERAND6_RGB_EXT 0x8596
1101 #define GL_OPERAND7_RGB_EXT 0x8597
1102 #define GL_OPERAND0_ALPHA_EXT 0x8598
1103 #define GL_OPERAND1_ALPHA_EXT 0x8599
1104 #define GL_OPERAND2_ALPHA_EXT 0x859A
1105 #define GL_OPERAND3_ALPHA_EXT 0x859B
1106 #define GL_OPERAND4_ALPHA_EXT 0x859C
1107 #define GL_OPERAND5_ALPHA_EXT 0x859D
1108 #define GL_OPERAND6_ALPHA_EXT 0x859E
1109 #define GL_OPERAND7_ALPHA_EXT 0x859F
1110 #endif
1111
1112 #ifndef GL_APPLE_specular_vector
1113 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
1114 #endif
1115
1116 #ifndef GL_APPLE_transform_hint
1117 #define GL_TRANSFORM_HINT_APPLE 0x85B1
1118 #endif
1119
1120 #ifndef GL_SGIX_fog_scale
1121 #define GL_FOG_SCALE_SGIX 0x81FC
1122 #define GL_FOG_SCALE_VALUE_SGIX 0x81FD
1123 #endif
1124
1125 #ifndef GL_SUNX_constant_data
1126 #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
1127 #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
1128 #endif
1129
1130 #ifndef GL_SUN_global_alpha
1131 #define GL_GLOBAL_ALPHA_SUN 0x81D9
1132 #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
1133 #endif
1134
1135 #ifndef GL_SUN_triangle_list
1136 #define GL_RESTART_SUN 0x01
1137 #define GL_REPLACE_MIDDLE_SUN 0x02
1138 #define GL_REPLACE_OLDEST_SUN 0x03
1139 #define GL_TRIANGLE_LIST_SUN 0x81D7
1140 #define GL_REPLACEMENT_CODE_SUN 0x81D8
1141 #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
1142 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
1143 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
1144 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
1145 #define GL_R1UI_V3F_SUN 0x85C4
1146 #define GL_R1UI_C4UB_V3F_SUN 0x85C5
1147 #define GL_R1UI_C3F_V3F_SUN 0x85C6
1148 #define GL_R1UI_N3F_V3F_SUN 0x85C7
1149 #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
1150 #define GL_R1UI_T2F_V3F_SUN 0x85C9
1151 #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
1152 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
1153 #endif
1154
1155 #ifndef GL_SUN_vertex
1156 #endif
1157
1158 #ifndef GL_EXT_blend_func_separate
1159 #define GL_BLEND_DST_RGB_EXT 0x80C8
1160 #define GL_BLEND_SRC_RGB_EXT 0x80C9
1161 #define GL_BLEND_DST_ALPHA_EXT 0x80CA
1162 #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
1163 #endif
1164
1165 #ifndef GL_INGR_color_clamp
1166 #define GL_RED_MIN_CLAMP_INGR 0x8560
1167 #define GL_GREEN_MIN_CLAMP_INGR 0x8561
1168 #define GL_BLUE_MIN_CLAMP_INGR 0x8562
1169 #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
1170 #define GL_RED_MAX_CLAMP_INGR 0x8564
1171 #define GL_GREEN_MAX_CLAMP_INGR 0x8565
1172 #define GL_BLUE_MAX_CLAMP_INGR 0x8566
1173 #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
1174 #endif
1175
1176 #ifndef GL_INGR_interlace_read
1177 #define GL_INTERLACE_READ_INGR 0x8568
1178 #endif
1179
1180 #ifndef GL_EXT_stencil_wrap
1181 #define GL_INCR_WRAP_EXT 0x8507
1182 #define GL_DECR_WRAP_EXT 0x8508
1183 #endif
1184
1185 #ifndef GL_EXT_422_pixels
1186 #define GL_422_EXT 0x80CC
1187 #define GL_422_REV_EXT 0x80CD
1188 #define GL_422_AVERAGE_EXT 0x80CE
1189 #define GL_422_REV_AVERAGE_EXT 0x80CF
1190 #endif
1191
1192 #ifndef GL_NV_texgen_reflection
1193 #define GL_NORMAL_MAP_NV 0x8511
1194 #define GL_REFLECTION_MAP_NV 0x8512
1195 #endif
1196
1197 #ifndef GL_EXT_texture_cube_map
1198 #define GL_NORMAL_MAP_EXT 0x8511
1199 #define GL_REFLECTION_MAP_EXT 0x8512
1200 #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
1201 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
1202 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
1203 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
1204 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
1205 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
1206 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
1207 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
1208 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
1209 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
1210 #endif
1211
1212 #ifndef GL_SUN_convolution_border_modes
1213 #define GL_WRAP_BORDER_SUN 0x81D4
1214 #endif
1215
1216 #ifndef GL_EXT_texture_env_add
1217 #endif
1218
1219 #ifndef GL_EXT_texture_lod_bias
1220 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
1221 #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
1222 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
1223 #endif
1224
1225 #ifndef GL_EXT_texture_filter_anisotropic
1226 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
1227 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
1228 #endif
1229
1230 #ifndef GL_EXT_vertex_weighting
1231 #define GL_MODELVIEW0_STACK_DEPTH_EXT GL_MODELVIEW_STACK_DEPTH
1232 #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
1233 #define GL_MODELVIEW0_MATRIX_EXT GL_MODELVIEW_MATRIX
1234 #define GL_MODELVIEW_MATRIX1_EXT 0x8506
1235 #define GL_VERTEX_WEIGHTING_EXT 0x8509
1236 #define GL_MODELVIEW0_EXT GL_MODELVIEW
1237 #define GL_MODELVIEW1_EXT 0x850A
1238 #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
1239 #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
1240 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
1241 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
1242 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
1243 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
1244 #endif
1245
1246 #ifndef GL_NV_light_max_exponent
1247 #define GL_MAX_SHININESS_NV 0x8504
1248 #define GL_MAX_SPOT_EXPONENT_NV 0x8505
1249 #endif
1250
1251 #ifndef GL_NV_vertex_array_range
1252 #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
1253 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
1254 #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
1255 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
1256 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
1257 #endif
1258
1259 #ifndef GL_NV_register_combiners
1260 #define GL_REGISTER_COMBINERS_NV 0x8522
1261 #define GL_VARIABLE_A_NV 0x8523
1262 #define GL_VARIABLE_B_NV 0x8524
1263 #define GL_VARIABLE_C_NV 0x8525
1264 #define GL_VARIABLE_D_NV 0x8526
1265 #define GL_VARIABLE_E_NV 0x8527
1266 #define GL_VARIABLE_F_NV 0x8528
1267 #define GL_VARIABLE_G_NV 0x8529
1268 #define GL_CONSTANT_COLOR0_NV 0x852A
1269 #define GL_CONSTANT_COLOR1_NV 0x852B
1270 #define GL_PRIMARY_COLOR_NV 0x852C
1271 #define GL_SECONDARY_COLOR_NV 0x852D
1272 #define GL_SPARE0_NV 0x852E
1273 #define GL_SPARE1_NV 0x852F
1274 #define GL_DISCARD_NV 0x8530
1275 #define GL_E_TIMES_F_NV 0x8531
1276 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
1277 #define GL_UNSIGNED_IDENTITY_NV 0x8536
1278 #define GL_UNSIGNED_INVERT_NV 0x8537
1279 #define GL_EXPAND_NORMAL_NV 0x8538
1280 #define GL_EXPAND_NEGATE_NV 0x8539
1281 #define GL_HALF_BIAS_NORMAL_NV 0x853A
1282 #define GL_HALF_BIAS_NEGATE_NV 0x853B
1283 #define GL_SIGNED_IDENTITY_NV 0x853C
1284 #define GL_SIGNED_NEGATE_NV 0x853D
1285 #define GL_SCALE_BY_TWO_NV 0x853E
1286 #define GL_SCALE_BY_FOUR_NV 0x853F
1287 #define GL_SCALE_BY_ONE_HALF_NV 0x8540
1288 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
1289 #define GL_COMBINER_INPUT_NV 0x8542
1290 #define GL_COMBINER_MAPPING_NV 0x8543
1291 #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
1292 #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
1293 #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
1294 #define GL_COMBINER_MUX_SUM_NV 0x8547
1295 #define GL_COMBINER_SCALE_NV 0x8548
1296 #define GL_COMBINER_BIAS_NV 0x8549
1297 #define GL_COMBINER_AB_OUTPUT_NV 0x854A
1298 #define GL_COMBINER_CD_OUTPUT_NV 0x854B
1299 #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
1300 #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
1301 #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
1302 #define GL_COLOR_SUM_CLAMP_NV 0x854F
1303 #define GL_COMBINER0_NV 0x8550
1304 #define GL_COMBINER1_NV 0x8551
1305 #define GL_COMBINER2_NV 0x8552
1306 #define GL_COMBINER3_NV 0x8553
1307 #define GL_COMBINER4_NV 0x8554
1308 #define GL_COMBINER5_NV 0x8555
1309 #define GL_COMBINER6_NV 0x8556
1310 #define GL_COMBINER7_NV 0x8557
1311 /* reuse GL_TEXTURE0_ARB */
1312 /* reuse GL_TEXTURE1_ARB */
1313 /* reuse GL_ZERO */
1314 /* reuse GL_NONE */
1315 /* reuse GL_FOG */
1316 #endif
1317
1318 #ifndef GL_NV_fog_distance
1319 #define GL_FOG_DISTANCE_MODE_NV 0x855A
1320 #define GL_EYE_RADIAL_NV 0x855B
1321 #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
1322 /* reuse GL_EYE_PLANE */
1323 #endif
1324
1325 #ifndef GL_NV_texgen_emboss
1326 #define GL_EMBOSS_LIGHT_NV 0x855D
1327 #define GL_EMBOSS_CONSTANT_NV 0x855E
1328 #define GL_EMBOSS_MAP_NV 0x855F
1329 #endif
1330
1331 #ifndef GL_NV_blend_square
1332 #endif
1333
1334 #ifndef GL_NV_texture_env_combine4
1335 #define GL_COMBINE4_NV 0x8503
1336 #define GL_SOURCE3_RGB_NV 0x8583
1337 #define GL_SOURCE3_ALPHA_NV 0x858B
1338 #define GL_OPERAND3_RGB_NV 0x8593
1339 #define GL_OPERAND3_ALPHA_NV 0x859B
1340 #endif
1341
1342 #ifndef GL_MESA_resize_buffers
1343 #endif
1344
1345 #ifndef GL_MESA_window_pos
1346 #endif
1347
1348 #ifndef GL_EXT_texture_compression_s3tc
1349 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
1350 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
1351 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
1352 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
1353 #endif
1354
1355 #ifndef GL_IBM_cull_vertex
1356 #define GL_CULL_VERTEX_IBM 103050
1357 #endif
1358
1359 #ifndef GL_IBM_multimode_draw_arrays
1360 #endif
1361
1362 #ifndef GL_IBM_vertex_array_lists
1363 #define GL_VERTEX_ARRAY_LIST_IBM 103070
1364 #define GL_NORMAL_ARRAY_LIST_IBM 103071
1365 #define GL_COLOR_ARRAY_LIST_IBM 103072
1366 #define GL_INDEX_ARRAY_LIST_IBM 103073
1367 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
1368 #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
1369 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
1370 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
1371 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
1372 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
1373 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
1374 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
1375 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
1376 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
1377 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
1378 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
1379 #endif
1380
1381 #ifndef GL_SGIX_subsample
1382 #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
1383 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
1384 #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
1385 #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
1386 #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
1387 #endif
1388
1389 #ifndef GL_SGIX_ycrcb_subsample
1390 #endif
1391
1392 #ifndef GL_SGIX_ycrcba
1393 #define GL_YCRCB_SGIX 0x8318
1394 #define GL_YCRCBA_SGIX 0x8319
1395 #endif
1396
1397 #ifndef GL_SGI_depth_pass_instrument
1398 #define GL_DEPTH_PASS_INSTRUMENT_SGIX 0x8310
1399 #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
1400 #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
1401 #endif
1402
1403 #ifndef GL_3DFX_texture_compression_FXT1
1404 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
1405 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
1406 #endif
1407
1408 #ifndef GL_3DFX_multisample
1409 #define GL_MULTISAMPLE_3DFX 0x86B2
1410 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
1411 #define GL_SAMPLES_3DFX 0x86B4
1412 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
1413 #endif
1414
1415 #ifndef GL_3DFX_tbuffer
1416 #endif
1417
1418 #ifndef GL_EXT_multisample
1419 #define GL_MULTISAMPLE_EXT 0x809D
1420 #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
1421 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
1422 #define GL_SAMPLE_MASK_EXT 0x80A0
1423 #define GL_1PASS_EXT 0x80A1
1424 #define GL_2PASS_0_EXT 0x80A2
1425 #define GL_2PASS_1_EXT 0x80A3
1426 #define GL_4PASS_0_EXT 0x80A4
1427 #define GL_4PASS_1_EXT 0x80A5
1428 #define GL_4PASS_2_EXT 0x80A6
1429 #define GL_4PASS_3_EXT 0x80A7
1430 #define GL_SAMPLE_BUFFERS_EXT 0x80A8
1431 #define GL_SAMPLES_EXT 0x80A9
1432 #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
1433 #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
1434 #define GL_SAMPLE_PATTERN_EXT 0x80AC
1435 #endif
1436
1437 #ifndef GL_SGIX_vertex_preclip
1438 #define GL_VERTEX_PRECLIP_SGIX 0x83EE
1439 #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
1440 #endif
1441
1442 #ifndef GL_SGIX_convolution_accuracy
1443 #define GL_CONVOLUTION_HINT_SGIX 0x8316
1444 #endif
1445
1446 #ifndef GL_SGIX_resample
1447 #define GL_PACK_RESAMPLE_SGIX 0x842C
1448 #define GL_UNPACK_RESAMPLE_SGIX 0x842D
1449 #define GL_RESAMPLE_REPLICATE_SGIX 0x842E
1450 #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
1451 #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
1452 #endif
1453
1454 #ifndef GL_SGIS_point_line_texgen
1455 #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
1456 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
1457 #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
1458 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
1459 #define GL_EYE_POINT_SGIS 0x81F4
1460 #define GL_OBJECT_POINT_SGIS 0x81F5
1461 #define GL_EYE_LINE_SGIS 0x81F6
1462 #define GL_OBJECT_LINE_SGIS 0x81F7
1463 #endif
1464
1465 #ifndef GL_SGIS_texture_color_mask
1466 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
1467 #endif
1468
1469
1470 /*************************************************************/
1471
1472 #ifndef GL_VERSION_1_2
1473 #define GL_VERSION_1_2 1
1474 #ifdef GL_GLEXT_PROTOTYPES
1475 extern void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf);
1476 extern void APIENTRY glBlendEquation (GLenum);
1477 extern void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
1478 extern void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
1479 extern void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *);
1480 extern void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *);
1481 extern void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei);
1482 extern void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *);
1483 extern void APIENTRY glGetColorTableParameterfv (GLenum, GLenum, GLfloat *);
1484 extern void APIENTRY glGetColorTableParameteriv (GLenum, GLenum, GLint *);
1485 extern void APIENTRY glColorSubTable (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
1486 extern void APIENTRY glCopyColorSubTable (GLenum, GLsizei, GLint, GLint, GLsizei);
1487 extern void APIENTRY glConvolutionFilter1D (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
1488 extern void APIENTRY glConvolutionFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
1489 extern void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat);
1490 extern void APIENTRY glConvolutionParameterfv (GLenum, GLenum, const GLfloat *);
1491 extern void APIENTRY glConvolutionParameteri (GLenum, GLenum, GLint);
1492 extern void APIENTRY glConvolutionParameteriv (GLenum, GLenum, const GLint *);
1493 extern void APIENTRY glCopyConvolutionFilter1D (GLenum, GLenum, GLint, GLint, GLsizei);
1494 extern void APIENTRY glCopyConvolutionFilter2D (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
1495 extern void APIENTRY glGetConvolutionFilter (GLenum, GLenum, GLenum, GLvoid *);
1496 extern void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum, GLfloat *);
1497 extern void APIENTRY glGetConvolutionParameteriv (GLenum, GLenum, GLint *);
1498 extern void APIENTRY glGetSeparableFilter (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
1499 extern void APIENTRY glSeparableFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
1500 extern void APIENTRY glGetHistogram (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
1501 extern void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *);
1502 extern void APIENTRY glGetHistogramParameteriv (GLenum, GLenum, GLint *);
1503 extern void APIENTRY glGetMinmax (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
1504 extern void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *);
1505 extern void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *);
1506 extern void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean);
1507 extern void APIENTRY glMinmax (GLenum, GLenum, GLboolean);
1508 extern void APIENTRY glResetHistogram (GLenum);
1509 extern void APIENTRY glResetMinmax (GLenum);
1510 extern void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
1511 extern void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
1512 extern void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
1513 #endif /* GL_GLEXT_PROTOTYPES */
1514 typedef void (APIENTRY * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
1515 typedef void (APIENTRY * PFNGLBLENDEQUATIONPROC) (GLenum mode);
1516 typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
1517 typedef void (APIENTRY * PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
1518 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
1519 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
1520 typedef void (APIENTRY * PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
1521 typedef void (APIENTRY * PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
1522 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
1523 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
1524 typedef void (APIENTRY * PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
1525 typedef void (APIENTRY * PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
1526 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
1527 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
1528 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
1529 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
1530 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
1531 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
1532 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
1533 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
1534 typedef void (APIENTRY * PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
1535 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
1536 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
1537 typedef void (APIENTRY * PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
1538 typedef void (APIENTRY * PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
1539 typedef void (APIENTRY * PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
1540 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
1541 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
1542 typedef void (APIENTRY * PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
1543 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
1544 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
1545 typedef void (APIENTRY * PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
1546 typedef void (APIENTRY * PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
1547 typedef void (APIENTRY * PFNGLRESETHISTOGRAMPROC) (GLenum target);
1548 typedef void (APIENTRY * PFNGLRESETMINMAXPROC) (GLenum target);
1549 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);
1550 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);
1551 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
1552 #endif
1553
1554 #ifndef GL_ARB_multitexture
1555 #define GL_ARB_multitexture 1
1556 #ifdef GL_GLEXT_PROTOTYPES
1557 extern void APIENTRY glActiveTextureARB (GLenum);
1558 extern void APIENTRY glClientActiveTextureARB (GLenum);
1559 extern void APIENTRY glMultiTexCoord1dARB (GLenum, GLdouble);
1560 extern void APIENTRY glMultiTexCoord1dvARB (GLenum, const GLdouble *);
1561 extern void APIENTRY glMultiTexCoord1fARB (GLenum, GLfloat);
1562 extern void APIENTRY glMultiTexCoord1fvARB (GLenum, const GLfloat *);
1563 extern void APIENTRY glMultiTexCoord1iARB (GLenum, GLint);
1564 extern void APIENTRY glMultiTexCoord1ivARB (GLenum, const GLint *);
1565 extern void APIENTRY glMultiTexCoord1sARB (GLenum, GLshort);
1566 extern void APIENTRY glMultiTexCoord1svARB (GLenum, const GLshort *);
1567 extern void APIENTRY glMultiTexCoord2dARB (GLenum, GLdouble, GLdouble);
1568 extern void APIENTRY glMultiTexCoord2dvARB (GLenum, const GLdouble *);
1569 extern void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat);
1570 extern void APIENTRY glMultiTexCoord2fvARB (GLenum, const GLfloat *);
1571 extern void APIENTRY glMultiTexCoord2iARB (GLenum, GLint, GLint);
1572 extern void APIENTRY glMultiTexCoord2ivARB (GLenum, const GLint *);
1573 extern void APIENTRY glMultiTexCoord2sARB (GLenum, GLshort, GLshort);
1574 extern void APIENTRY glMultiTexCoord2svARB (GLenum, const GLshort *);
1575 extern void APIENTRY glMultiTexCoord3dARB (GLenum, GLdouble, GLdouble, GLdouble);
1576 extern void APIENTRY glMultiTexCoord3dvARB (GLenum, const GLdouble *);
1577 extern void APIENTRY glMultiTexCoord3fARB (GLenum, GLfloat, GLfloat, GLfloat);
1578 extern void APIENTRY glMultiTexCoord3fvARB (GLenum, const GLfloat *);
1579 extern void APIENTRY glMultiTexCoord3iARB (GLenum, GLint, GLint, GLint);
1580 extern void APIENTRY glMultiTexCoord3ivARB (GLenum, const GLint *);
1581 extern void APIENTRY glMultiTexCoord3sARB (GLenum, GLshort, GLshort, GLshort);
1582 extern void APIENTRY glMultiTexCoord3svARB (GLenum, const GLshort *);
1583 extern void APIENTRY glMultiTexCoord4dARB (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
1584 extern void APIENTRY glMultiTexCoord4dvARB (GLenum, const GLdouble *);
1585 extern void APIENTRY glMultiTexCoord4fARB (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
1586 extern void APIENTRY glMultiTexCoord4fvARB (GLenum, const GLfloat *);
1587 extern void APIENTRY glMultiTexCoord4iARB (GLenum, GLint, GLint, GLint, GLint);
1588 extern void APIENTRY glMultiTexCoord4ivARB (GLenum, const GLint *);
1589 extern void APIENTRY glMultiTexCoord4sARB (GLenum, GLshort, GLshort, GLshort, GLshort);
1590 extern void APIENTRY glMultiTexCoord4svARB (GLenum, const GLshort *);
1591 #endif /* GL_GLEXT_PROTOTYPES */
1592 typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
1593 typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
252 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); 1594 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
253 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); 1595 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
254 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); 1596 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
255 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); 1597 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
256 typedef void (APIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); 1598 typedef void (APIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
279 typedef void (APIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); 1621 typedef void (APIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
280 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); 1622 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
281 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); 1623 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
282 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 1624 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
283 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); 1625 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
284 typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum target); 1626 #endif
285 typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum target); 1627
286 1628 #ifndef GL_ARB_transpose_matrix
287 /* EXT_compiled_vertex_array */ 1629 #define GL_ARB_transpose_matrix 1
1630 #ifdef GL_GLEXT_PROTOTYPES
1631 extern void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *);
1632 extern void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *);
1633 extern void APIENTRY glMultTransposeMatrixfARB (const GLfloat *);
1634 extern void APIENTRY glMultTransposeMatrixdARB (const GLdouble *);
1635 #endif /* GL_GLEXT_PROTOTYPES */
1636 typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
1637 typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
1638 typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
1639 typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
1640 #endif
1641
1642 #ifndef GL_ARB_multisample
1643 #define GL_ARB_multisample 1
1644 #ifdef GL_GLEXT_PROTOTYPES
1645 extern void APIENTRY glSampleCoverageARB (GLclampf, GLboolean);
1646 extern void APIENTRY glSamplePassARB (GLenum);
1647 #endif /* GL_GLEXT_PROTOTYPES */
1648 typedef void (APIENTRY * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
1649 typedef void (APIENTRY * PFNGLSAMPLEPASSARBPROC) (GLenum pass);
1650 #endif
1651
1652 #ifndef GL_ARB_texture_env_add
1653 #define GL_ARB_texture_env_add 1
1654 #endif
1655
1656 #ifndef GL_ARB_texture_cube_map
1657 #define GL_ARB_texture_cube_map 1
1658 #endif
1659
1660 #ifndef GL_ARB_texture_compression
1661 #define GL_ARB_texture_compression 1
1662 #ifdef GL_GLEXT_PROTOTYPES
1663 extern void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
1664 extern void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
1665 extern void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
1666 extern void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
1667 extern void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
1668 extern void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
1669 extern void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, void *);
1670 #endif /* GL_GLEXT_PROTOTYPES */
1671 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
1672 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
1673 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
1674 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);
1675 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
1676 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
1677 typedef void (APIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
1678 #endif
1679
1680 #ifndef GL_EXT_abgr
1681 #define GL_EXT_abgr 1
1682 #endif
1683
1684 #ifndef GL_EXT_blend_color
1685 #define GL_EXT_blend_color 1
1686 #ifdef GL_GLEXT_PROTOTYPES
1687 extern void APIENTRY glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf);
1688 #endif /* GL_GLEXT_PROTOTYPES */
1689 typedef void (APIENTRY * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
1690 #endif
1691
1692 #ifndef GL_EXT_polygon_offset
1693 #define GL_EXT_polygon_offset 1
1694 #ifdef GL_GLEXT_PROTOTYPES
1695 extern void APIENTRY glPolygonOffsetEXT (GLfloat, GLfloat);
1696 #endif /* GL_GLEXT_PROTOTYPES */
1697 typedef void (APIENTRY * PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
1698 #endif
1699
1700 #ifndef GL_EXT_texture
1701 #define GL_EXT_texture 1
1702 #endif
1703
1704 #ifndef GL_EXT_texture3D
1705 #define GL_EXT_texture3D 1
1706 #ifdef GL_GLEXT_PROTOTYPES
1707 extern void APIENTRY glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
1708 #endif /* GL_GLEXT_PROTOTYPES */
1709 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);
1710 #endif
1711
1712 #ifndef GL_EXT_subtexture
1713 /*#define GL_EXT_subtexture 1*/
1714 #ifdef GL_GLEXT_PROTOTYPES
1715 extern void APIENTRY glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
1716 #endif /* GL_GLEXT_PROTOTYPES */
1717 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);
1718 #endif
1719
1720 #ifndef GL_SGIS_texture_filter4
1721 #define GL_SGIS_texture_filter4 1
1722 #ifdef GL_GLEXT_PROTOTYPES
1723 extern void APIENTRY glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *);
1724 extern void APIENTRY glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *);
1725 #endif /* GL_GLEXT_PROTOTYPES */
1726 typedef void (APIENTRY * PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
1727 typedef void (APIENTRY * PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
1728 #endif
1729
1730 #ifndef GL_EXT_subtexture
1731 #define GL_EXT_subtexture 1
1732 #ifdef GL_GLEXT_PROTOTYPES
1733 extern void APIENTRY glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
1734 extern void APIENTRY glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
1735 #endif /* GL_GLEXT_PROTOTYPES */
1736 typedef void (APIENTRY * PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
1737 typedef void (APIENTRY * PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
1738 #endif
1739
1740 #ifndef GL_EXT_copy_texture
1741 #define GL_EXT_copy_texture 1
1742 #ifdef GL_GLEXT_PROTOTYPES
1743 extern void APIENTRY glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
1744 extern void APIENTRY glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
1745 extern void APIENTRY glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei);
1746 extern void APIENTRY glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
1747 extern void APIENTRY glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
1748 #endif /* GL_GLEXT_PROTOTYPES */
1749 typedef void (APIENTRY * PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
1750 typedef void (APIENTRY * PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
1751 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
1752 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
1753 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
1754 #endif
1755
1756 #ifndef GL_EXT_histogram
1757 #define GL_EXT_histogram 1
1758 #ifdef GL_GLEXT_PROTOTYPES
1759 extern void APIENTRY glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
1760 extern void APIENTRY glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *);
1761 extern void APIENTRY glGetHistogramParameterivEXT (GLenum, GLenum, GLint *);
1762 extern void APIENTRY glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
1763 extern void APIENTRY glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *);
1764 extern void APIENTRY glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *);
1765 extern void APIENTRY glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean);
1766 extern void APIENTRY glMinmaxEXT (GLenum, GLenum, GLboolean);
1767 extern void APIENTRY glResetHistogramEXT (GLenum);
1768 extern void APIENTRY glResetMinmaxEXT (GLenum);
1769 #endif /* GL_GLEXT_PROTOTYPES */
1770 typedef void (APIENTRY * PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
1771 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
1772 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
1773 typedef void (APIENTRY * PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
1774 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
1775 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
1776 typedef void (APIENTRY * PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
1777 typedef void (APIENTRY * PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
1778 typedef void (APIENTRY * PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
1779 typedef void (APIENTRY * PFNGLRESETMINMAXEXTPROC) (GLenum target);
1780 #endif
1781
1782 #ifndef GL_EXT_convolution
1783 #define GL_EXT_convolution 1
1784 #ifdef GL_GLEXT_PROTOTYPES
1785 extern void APIENTRY glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
1786 extern void APIENTRY glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
1787 extern void APIENTRY glConvolutionParameterfEXT (GLenum, GLenum, GLfloat);
1788 extern void APIENTRY glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *);
1789 extern void APIENTRY glConvolutionParameteriEXT (GLenum, GLenum, GLint);
1790 extern void APIENTRY glConvolutionParameterivEXT (GLenum, GLenum, const GLint *);
1791 extern void APIENTRY glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei);
1792 extern void APIENTRY glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
1793 extern void APIENTRY glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *);
1794 extern void APIENTRY glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *);
1795 extern void APIENTRY glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *);
1796 extern void APIENTRY glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
1797 extern void APIENTRY glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
1798 #endif /* GL_GLEXT_PROTOTYPES */
1799 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
1800 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
1801 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
1802 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
1803 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
1804 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
1805 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
1806 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
1807 typedef void (APIENTRY * PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
1808 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
1809 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
1810 typedef void (APIENTRY * PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
1811 typedef void (APIENTRY * PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
1812 #endif
1813
1814 #ifndef GL_EXT_color_matrix
1815 #define GL_EXT_color_matrix 1
1816 #endif
1817
1818 #ifndef GL_SGI_color_table
1819 #define GL_SGI_color_table 1
1820 #ifdef GL_GLEXT_PROTOTYPES
1821 extern void APIENTRY glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
1822 extern void APIENTRY glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *);
1823 extern void APIENTRY glColorTableParameterivSGI (GLenum, GLenum, const GLint *);
1824 extern void APIENTRY glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei);
1825 extern void APIENTRY glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *);
1826 extern void APIENTRY glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *);
1827 extern void APIENTRY glGetColorTableParameterivSGI (GLenum, GLenum, GLint *);
1828 #endif /* GL_GLEXT_PROTOTYPES */
1829 typedef void (APIENTRY * PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
1830 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
1831 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
1832 typedef void (APIENTRY * PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
1833 typedef void (APIENTRY * PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
1834 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
1835 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
1836 #endif
1837
1838 #ifndef GL_SGIX_pixel_texture
1839 #define GL_SGIX_pixel_texture 1
1840 #ifdef GL_GLEXT_PROTOTYPES
1841 extern void APIENTRY glPixelTexGenSGIX (GLenum);
1842 #endif /* GL_GLEXT_PROTOTYPES */
1843 typedef void (APIENTRY * PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
1844 #endif
1845
1846 #ifndef GL_SGIS_pixel_texture
1847 #define GL_SGIS_pixel_texture 1
1848 #ifdef GL_GLEXT_PROTOTYPES
1849 extern void APIENTRY glPixelTexGenParameteriSGIS (GLenum, GLint);
1850 extern void APIENTRY glPixelTexGenParameterivSGIS (GLenum, const GLint *);
1851 extern void APIENTRY glPixelTexGenParameterfSGIS (GLenum, GLfloat);
1852 extern void APIENTRY glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *);
1853 extern void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum, GLint *);
1854 extern void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *);
1855 #endif /* GL_GLEXT_PROTOTYPES */
1856 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
1857 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
1858 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
1859 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
1860 typedef void (APIENTRY * PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
1861 typedef void (APIENTRY * PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
1862 #endif
1863
1864 #ifndef GL_SGIS_texture4D
1865 #define GL_SGIS_texture4D 1
1866 #ifdef GL_GLEXT_PROTOTYPES
1867 extern void APIENTRY glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
1868 extern void APIENTRY glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
1869 #endif /* GL_GLEXT_PROTOTYPES */
1870 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);
1871 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);
1872 #endif
1873
1874 #ifndef GL_SGI_texture_color_table
1875 #define GL_SGI_texture_color_table 1
1876 #endif
1877
1878 #ifndef GL_EXT_cmyka
1879 #define GL_EXT_cmyka 1
1880 #endif
1881
1882 #ifndef GL_EXT_texture_object
1883 #define GL_EXT_texture_object 1
1884 #ifdef GL_GLEXT_PROTOTYPES
1885 extern GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *);
1886 extern void APIENTRY glBindTextureEXT (GLenum, GLuint);
1887 extern void APIENTRY glDeleteTexturesEXT (GLsizei, const GLuint *);
1888 extern void APIENTRY glGenTexturesEXT (GLsizei, GLuint *);
1889 extern GLboolean APIENTRY glIsTextureEXT (GLuint);
1890 extern void APIENTRY glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *);
1891 #endif /* GL_GLEXT_PROTOTYPES */
1892 typedef GLboolean (APIENTRY * PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
1893 typedef void (APIENTRY * PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
1894 typedef void (APIENTRY * PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
1895 typedef void (APIENTRY * PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
1896 typedef GLboolean (APIENTRY * PFNGLISTEXTUREEXTPROC) (GLuint texture);
1897 typedef void (APIENTRY * PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
1898 #endif
1899
1900 #ifndef GL_SGIS_detail_texture
1901 #define GL_SGIS_detail_texture 1
1902 #ifdef GL_GLEXT_PROTOTYPES
1903 extern void APIENTRY glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
1904 extern void APIENTRY glGetDetailTexFuncSGIS (GLenum, GLfloat *);
1905 #endif /* GL_GLEXT_PROTOTYPES */
1906 typedef void (APIENTRY * PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
1907 typedef void (APIENTRY * PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
1908 #endif
1909
1910 #ifndef GL_SGIS_sharpen_texture
1911 #define GL_SGIS_sharpen_texture 1
1912 #ifdef GL_GLEXT_PROTOTYPES
1913 extern void APIENTRY glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
1914 extern void APIENTRY glGetSharpenTexFuncSGIS (GLenum, GLfloat *);
1915 #endif /* GL_GLEXT_PROTOTYPES */
1916 typedef void (APIENTRY * PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
1917 typedef void (APIENTRY * PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
1918 #endif
1919
1920 #ifndef GL_EXT_packed_pixels
1921 #define GL_EXT_packed_pixels 1
1922 #endif
1923
1924 #ifndef GL_SGIS_texture_lod
1925 #define GL_SGIS_texture_lod 1
1926 #endif
1927
1928 #ifndef GL_SGIS_multisample
1929 #define GL_SGIS_multisample 1
1930 #ifdef GL_GLEXT_PROTOTYPES
1931 extern void APIENTRY glSampleMaskSGIS (GLclampf, GLboolean);
1932 extern void APIENTRY glSamplePatternSGIS (GLenum);
1933 #endif /* GL_GLEXT_PROTOTYPES */
1934 typedef void (APIENTRY * PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
1935 typedef void (APIENTRY * PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
1936 #endif
1937
1938 #ifndef GL_EXT_rescale_normal
1939 #define GL_EXT_rescale_normal 1
1940 #endif
1941
1942 #ifndef GL_EXT_vertex_array
1943 #define GL_EXT_vertex_array 1
1944 #ifdef GL_GLEXT_PROTOTYPES
1945 extern void APIENTRY glArrayElementEXT (GLint);
1946 extern void APIENTRY glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
1947 extern void APIENTRY glDrawArraysEXT (GLenum, GLint, GLsizei);
1948 extern void APIENTRY glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *);
1949 extern void APIENTRY glGetPointervEXT (GLenum, GLvoid* *);
1950 extern void APIENTRY glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
1951 extern void APIENTRY glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
1952 extern void APIENTRY glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
1953 extern void APIENTRY glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
1954 #endif /* GL_GLEXT_PROTOTYPES */
1955 typedef void (APIENTRY * PFNGLARRAYELEMENTEXTPROC) (GLint i);
1956 typedef void (APIENTRY * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
1957 typedef void (APIENTRY * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
1958 typedef void (APIENTRY * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
1959 typedef void (APIENTRY * PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
1960 typedef void (APIENTRY * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
1961 typedef void (APIENTRY * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
1962 typedef void (APIENTRY * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
1963 typedef void (APIENTRY * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
1964 #endif
1965
1966 #ifndef GL_EXT_misc_attribute
1967 #define GL_EXT_misc_attribute 1
1968 #endif
1969
1970 #ifndef GL_SGIS_generate_mipmap
1971 #define GL_SGIS_generate_mipmap 1
1972 #endif
1973
1974 #ifndef GL_SGIX_clipmap
1975 #define GL_SGIX_clipmap 1
1976 #endif
1977
1978 #ifndef GL_SGIX_shadow
1979 #define GL_SGIX_shadow 1
1980 #endif
1981
1982 #ifndef GL_SGIS_texture_edge_clamp
1983 #define GL_SGIS_texture_edge_clamp 1
1984 #endif
1985
1986 #ifndef GL_SGIS_texture_border_clamp
1987 #define GL_SGIS_texture_border_clamp 1
1988 #endif
1989
1990 #ifndef GL_EXT_blend_minmax
1991 #define GL_EXT_blend_minmax 1
1992 #ifdef GL_GLEXT_PROTOTYPES
1993 extern void APIENTRY glBlendEquationEXT (GLenum);
1994 #endif /* GL_GLEXT_PROTOTYPES */
1995 typedef void (APIENTRY * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
1996 #endif
1997
1998 #ifndef GL_EXT_blend_subtract
1999 #define GL_EXT_blend_subtract 1
2000 #endif
2001
2002 #ifndef GL_EXT_blend_logic_op
2003 #define GL_EXT_blend_logic_op 1
2004 #endif
2005
2006 #ifndef GL_SGIX_interlace
2007 #define GL_SGIX_interlace 1
2008 #endif
2009
2010 #ifndef GL_SGIX_pixel_tiles
2011 #define GL_SGIX_pixel_tiles 1
2012 #endif
2013
2014 #ifndef GL_SGIX_texture_select
2015 #define GL_SGIX_texture_select 1
2016 #endif
2017
2018 #ifndef GL_SGIX_sprite
2019 #define GL_SGIX_sprite 1
2020 #ifdef GL_GLEXT_PROTOTYPES
2021 extern void APIENTRY glSpriteParameterfSGIX (GLenum, GLfloat);
2022 extern void APIENTRY glSpriteParameterfvSGIX (GLenum, const GLfloat *);
2023 extern void APIENTRY glSpriteParameteriSGIX (GLenum, GLint);
2024 extern void APIENTRY glSpriteParameterivSGIX (GLenum, const GLint *);
2025 #endif /* GL_GLEXT_PROTOTYPES */
2026 typedef void (APIENTRY * PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
2027 typedef void (APIENTRY * PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
2028 typedef void (APIENTRY * PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
2029 typedef void (APIENTRY * PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
2030 #endif
2031
2032 #ifndef GL_SGIX_texture_multi_buffer
2033 #define GL_SGIX_texture_multi_buffer 1
2034 #endif
2035
2036 #ifndef GL_EXT_point_parameters
2037 #define GL_EXT_point_parameters 1
2038 #ifdef GL_GLEXT_PROTOTYPES
2039 extern void APIENTRY glPointParameterfEXT (GLenum, GLfloat);
2040 extern void APIENTRY glPointParameterfvEXT (GLenum, const GLfloat *);
2041 extern void APIENTRY glPointParameterfSGIS (GLenum, GLfloat);
2042 extern void APIENTRY glPointParameterfvSGIS (GLenum, const GLfloat *);
2043 #endif /* GL_GLEXT_PROTOTYPES */
2044 typedef void (APIENTRY * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
2045 typedef void (APIENTRY * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
2046 typedef void (APIENTRY * PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
2047 typedef void (APIENTRY * PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
2048 #endif
2049
2050 #ifndef GL_SGIX_instruments
2051 #define GL_SGIX_instruments 1
2052 #ifdef GL_GLEXT_PROTOTYPES
2053 extern GLint APIENTRY glGetInstrumentsSGIX (void);
2054 extern void APIENTRY glInstrumentsBufferSGIX (GLsizei, GLint *);
2055 extern GLint APIENTRY glPollInstrumentsSGIX (GLint *);
2056 extern void APIENTRY glReadInstrumentsSGIX (GLint);
2057 extern void APIENTRY glStartInstrumentsSGIX (void);
2058 extern void APIENTRY glStopInstrumentsSGIX (GLint);
2059 #endif /* GL_GLEXT_PROTOTYPES */
2060 typedef GLint (APIENTRY * PFNGLGETINSTRUMENTSSGIXPROC) (void);
2061 typedef void (APIENTRY * PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
2062 typedef GLint (APIENTRY * PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
2063 typedef void (APIENTRY * PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
2064 typedef void (APIENTRY * PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
2065 typedef void (APIENTRY * PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
2066 #endif
2067
2068 #ifndef GL_SGIX_texture_scale_bias
2069 #define GL_SGIX_texture_scale_bias 1
2070 #endif
2071
2072 #ifndef GL_SGIX_framezoom
2073 #define GL_SGIX_framezoom 1
2074 #ifdef GL_GLEXT_PROTOTYPES
2075 extern void APIENTRY glFrameZoomSGIX (GLint);
2076 #endif /* GL_GLEXT_PROTOTYPES */
2077 typedef void (APIENTRY * PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
2078 #endif
2079
2080 #ifndef GL_SGIX_tag_sample_buffer
2081 #define GL_SGIX_tag_sample_buffer 1
2082 #ifdef GL_GLEXT_PROTOTYPES
2083 extern void APIENTRY glTagSampleBufferSGIX (void);
2084 #endif /* GL_GLEXT_PROTOTYPES */
2085 typedef void (APIENTRY * PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
2086 #endif
2087
2088 #ifndef GL_SGIX_reference_plane
2089 #define GL_SGIX_reference_plane 1
2090 #ifdef GL_GLEXT_PROTOTYPES
2091 extern void APIENTRY glReferencePlaneSGIX (const GLdouble *);
2092 #endif /* GL_GLEXT_PROTOTYPES */
2093 typedef void (APIENTRY * PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
2094 #endif
2095
2096 #ifndef GL_SGIX_flush_raster
2097 #define GL_SGIX_flush_raster 1
2098 #ifdef GL_GLEXT_PROTOTYPES
2099 extern void APIENTRY glFlushRasterSGIX (void);
2100 #endif /* GL_GLEXT_PROTOTYPES */
2101 typedef void (APIENTRY * PFNGLFLUSHRASTERSGIXPROC) (void);
2102 #endif
2103
2104 #ifndef GL_SGIX_depth_texture
2105 #define GL_SGIX_depth_texture 1
2106 #endif
2107
2108 #ifndef GL_SGIS_fog_function
2109 #define GL_SGIS_fog_function 1
2110 #ifdef GL_GLEXT_PROTOTYPES
2111 extern void APIENTRY glFogFuncSGIS (GLsizei, const GLfloat *);
2112 extern void APIENTRY glGetFogFuncSGIS (const GLfloat *);
2113 #endif /* GL_GLEXT_PROTOTYPES */
2114 typedef void (APIENTRY * PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
2115 typedef void (APIENTRY * PFNGLGETFOGFUNCSGISPROC) (const GLfloat *points);
2116 #endif
2117
2118 #ifndef GL_SGIX_fog_offset
2119 #define GL_SGIX_fog_offset 1
2120 #endif
2121
2122 #ifndef GL_HP_image_transform
2123 #define GL_HP_image_transform 1
2124 #ifdef GL_GLEXT_PROTOTYPES
2125 extern void APIENTRY glImageTransformParameteriHP (GLenum, GLenum, GLint);
2126 extern void APIENTRY glImageTransformParameterfHP (GLenum, GLenum, GLfloat);
2127 extern void APIENTRY glImageTransformParameterivHP (GLenum, GLenum, const GLint *);
2128 extern void APIENTRY glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *);
2129 extern void APIENTRY glGetImageTransformParameterivHP (GLenum, GLenum, GLint *);
2130 extern void APIENTRY glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *);
2131 #endif /* GL_GLEXT_PROTOTYPES */
2132 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
2133 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
2134 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
2135 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
2136 typedef void (APIENTRY * PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
2137 typedef void (APIENTRY * PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
2138 #endif
2139
2140 #ifndef GL_HP_convolution_border_modes
2141 #define GL_HP_convolution_border_modes 1
2142 #endif
2143
2144 #ifndef GL_SGIX_texture_add_env
2145 #define GL_SGIX_texture_add_env 1
2146 #endif
2147
2148 #ifndef GL_EXT_color_subtable
2149 #define GL_EXT_color_subtable 1
2150 #ifdef GL_GLEXT_PROTOTYPES
2151 extern void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
2152 extern void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei);
2153 #endif /* GL_GLEXT_PROTOTYPES */
2154 typedef void (APIENTRY * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
2155 typedef void (APIENTRY * PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
2156 #endif
2157
2158 #ifndef GL_PGI_vertex_hints
2159 #define GL_PGI_vertex_hints 1
2160 #endif
2161
2162 #ifndef GL_PGI_misc_hints
2163 #define GL_PGI_misc_hints 1
2164 #ifdef GL_GLEXT_PROTOTYPES
2165 extern void APIENTRY glHintPGI (GLenum, GLint);
2166 #endif /* GL_GLEXT_PROTOTYPES */
2167 typedef void (APIENTRY * PFNGLHINTPGIPROC) (GLenum target, GLint mode);
2168 #endif
2169
2170 #ifndef GL_EXT_paletted_texture
2171 #define GL_EXT_paletted_texture 1
2172 #ifdef GL_GLEXT_PROTOTYPES
2173 extern void APIENTRY glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
2174 extern void APIENTRY glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *);
2175 extern void APIENTRY glGetColorTableParameterivEXT (GLenum, GLenum, GLint *);
2176 extern void APIENTRY glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *);
2177 #endif /* GL_GLEXT_PROTOTYPES */
2178 typedef void (APIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
2179 typedef void (APIENTRY * PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data);
2180 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
2181 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
2182 #endif
2183
2184 #ifndef GL_EXT_clip_volume_hint
2185 #define GL_EXT_clip_volume_hint 1
2186 #endif
2187
2188 #ifndef GL_SGIX_list_priority
2189 #define GL_SGIX_list_priority 1
2190 #ifdef GL_GLEXT_PROTOTYPES
2191 extern void APIENTRY glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *);
2192 extern void APIENTRY glGetListParameterivSGIX (GLuint, GLenum, GLint *);
2193 extern void APIENTRY glListParameterfSGIX (GLuint, GLenum, GLfloat);
2194 extern void APIENTRY glListParameterfvSGIX (GLuint, GLenum, const GLfloat *);
2195 extern void APIENTRY glListParameteriSGIX (GLuint, GLenum, GLint);
2196 extern void APIENTRY glListParameterivSGIX (GLuint, GLenum, const GLint *);
2197 #endif /* GL_GLEXT_PROTOTYPES */
2198 typedef void (APIENTRY * PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
2199 typedef void (APIENTRY * PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
2200 typedef void (APIENTRY * PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
2201 typedef void (APIENTRY * PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
2202 typedef void (APIENTRY * PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
2203 typedef void (APIENTRY * PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
2204 #endif
2205
2206 #ifndef GL_SGIX_ir_instrument1
2207 #define GL_SGIX_ir_instrument1 1
2208 #endif
2209
2210 #ifndef GL_SGIX_calligraphic_fragment
2211 #define GL_SGIX_calligraphic_fragment 1
2212 #endif
2213
2214 #ifndef GL_SGIX_texture_lod_bias
2215 #define GL_SGIX_texture_lod_bias 1
2216 #endif
2217
2218 #ifndef GL_SGIX_shadow_ambient
2219 #define GL_SGIX_shadow_ambient 1
2220 #endif
2221
2222 #ifndef GL_EXT_index_texture
2223 #define GL_EXT_index_texture 1
2224 #endif
2225
2226 #ifndef GL_EXT_index_material
2227 #define GL_EXT_index_material 1
2228 #ifdef GL_GLEXT_PROTOTYPES
2229 extern void APIENTRY glIndexMaterialEXT (GLenum, GLenum);
2230 #endif /* GL_GLEXT_PROTOTYPES */
2231 typedef void (APIENTRY * PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
2232 #endif
2233
2234 #ifndef GL_EXT_index_func
2235 #define GL_EXT_index_func 1
2236 #ifdef GL_GLEXT_PROTOTYPES
2237 extern void APIENTRY glIndexFuncEXT (GLenum, GLclampf);
2238 #endif /* GL_GLEXT_PROTOTYPES */
2239 typedef void (APIENTRY * PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
2240 #endif
2241
2242 #ifndef GL_EXT_index_array_formats
2243 #define GL_EXT_index_array_formats 1
2244 #endif
2245
2246 #ifndef GL_EXT_compiled_vertex_array
2247 #define GL_EXT_compiled_vertex_array 1
2248 #ifdef GL_GLEXT_PROTOTYPES
2249 extern void APIENTRY glLockArraysEXT (GLint, GLsizei);
2250 extern void APIENTRY glUnlockArraysEXT (void);
2251 #endif /* GL_GLEXT_PROTOTYPES */
288 typedef void (APIENTRY * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count); 2252 typedef void (APIENTRY * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
289 typedef void (APIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void); 2253 typedef void (APIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void);
290 2254 #endif
291 /* EXT_cull_vertex */ 2255
292 typedef void (APIENTRY * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble* params); 2256 #ifndef GL_EXT_cull_vertex
293 typedef void (APIENTRY * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat* params); 2257 #define GL_EXT_cull_vertex 1
294 2258 #ifdef GL_GLEXT_PROTOTYPES
295 /* WIN_swap_hint */ 2259 extern void APIENTRY glCullParameterdvEXT (GLenum, GLdouble *);
296 typedef void (APIENTRY * PFNGLADDSWAPHINTRECTWINPROC) (GLint x, GLint y, GLsizei width, GLsizei height); 2260 extern void APIENTRY glCullParameterfvEXT (GLenum, GLfloat *);
297 2261 #endif /* GL_GLEXT_PROTOTYPES */
298 /* EXT_point_parameter */ 2262 typedef void (APIENTRY * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
299 typedef void (APIENTRY * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param); 2263 typedef void (APIENTRY * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
300 typedef void (APIENTRY * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params); 2264 #endif
2265
2266 #ifndef GL_SGIX_ycrcb
2267 #define GL_SGIX_ycrcb 1
2268 #endif
2269
2270 #ifndef GL_SGIX_fragment_lighting
2271 #define GL_SGIX_fragment_lighting 1
2272 #ifdef GL_GLEXT_PROTOTYPES
2273 extern void APIENTRY glFragmentColorMaterialSGIX (GLenum, GLenum);
2274 extern void APIENTRY glFragmentLightfSGIX (GLenum, GLenum, GLfloat);
2275 extern void APIENTRY glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *);
2276 extern void APIENTRY glFragmentLightiSGIX (GLenum, GLenum, GLint);
2277 extern void APIENTRY glFragmentLightivSGIX (GLenum, GLenum, const GLint *);
2278 extern void APIENTRY glFragmentLightModelfSGIX (GLenum, GLfloat);
2279 extern void APIENTRY glFragmentLightModelfvSGIX (GLenum, const GLfloat *);
2280 extern void APIENTRY glFragmentLightModeliSGIX (GLenum, GLint);
2281 extern void APIENTRY glFragmentLightModelivSGIX (GLenum, const GLint *);
2282 extern void APIENTRY glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat);
2283 extern void APIENTRY glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *);
2284 extern void APIENTRY glFragmentMaterialiSGIX (GLenum, GLenum, GLint);
2285 extern void APIENTRY glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *);
2286 extern void APIENTRY glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *);
2287 extern void APIENTRY glGetFragmentLightivSGIX (GLenum, GLenum, GLint *);
2288 extern void APIENTRY glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *);
2289 extern void APIENTRY glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *);
2290 extern void APIENTRY glLightEnviSGIX (GLenum, GLint);
2291 #endif /* GL_GLEXT_PROTOTYPES */
2292 typedef void (APIENTRY * PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
2293 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
2294 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
2295 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
2296 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
2297 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
2298 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
2299 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
2300 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
2301 typedef void (APIENTRY * PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
2302 typedef void (APIENTRY * PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
2303 typedef void (APIENTRY * PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
2304 typedef void (APIENTRY * PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
2305 typedef void (APIENTRY * PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
2306 typedef void (APIENTRY * PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
2307 typedef void (APIENTRY * PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
2308 typedef void (APIENTRY * PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
2309 typedef void (APIENTRY * PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
2310 #endif
2311
2312 #ifndef GL_IBM_rasterpos_clip
2313 #define GL_IBM_rasterpos_clip 1
2314 #endif
2315
2316 #ifndef GL_HP_texture_lighting
2317 #define GL_HP_texture_lighting 1
2318 #endif
2319
2320 #ifndef GL_EXT_draw_range_elements
2321 #define GL_EXT_draw_range_elements 1
2322 #ifdef GL_GLEXT_PROTOTYPES
2323 extern void APIENTRY glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
2324 #endif /* GL_GLEXT_PROTOTYPES */
2325 typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
2326 #endif
2327
2328 #ifndef GL_WIN_phong_shading
2329 #define GL_WIN_phong_shading 1
2330 #endif
2331
2332 #ifndef GL_WIN_specular_fog
2333 #define GL_WIN_specular_fog 1
2334 #endif
2335
2336 #ifndef GL_EXT_light_texture
2337 #define GL_EXT_light_texture 1
2338 #ifdef GL_GLEXT_PROTOTYPES
2339 extern void APIENTRY glApplyTextureEXT (GLenum);
2340 extern void APIENTRY glTextureLightEXT (GLenum);
2341 extern void APIENTRY glTextureMaterialEXT (GLenum, GLenum);
2342 #endif /* GL_GLEXT_PROTOTYPES */
2343 typedef void (APIENTRY * PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
2344 typedef void (APIENTRY * PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
2345 typedef void (APIENTRY * PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
2346 #endif
2347
2348 #ifndef GL_SGIX_blend_alpha_minmax
2349 #define GL_SGIX_blend_alpha_minmax 1
2350 #endif
2351
2352 #ifndef GL_EXT_bgra
2353 #define GL_EXT_bgra 1
2354 #endif
2355
2356 #ifndef GL_INTEL_parallel_arrays
2357 #define GL_INTEL_parallel_arrays 1
2358 #ifdef GL_GLEXT_PROTOTYPES
2359 extern void APIENTRY glVertexPointervINTEL (GLint, GLenum, const GLvoid* *);
2360 extern void APIENTRY glNormalPointervINTEL (GLenum, const GLvoid* *);
2361 extern void APIENTRY glColorPointervINTEL (GLint, GLenum, const GLvoid* *);
2362 extern void APIENTRY glTexCoordPointervINTEL (GLint, GLenum, const GLvoid* *);
2363 #endif /* GL_GLEXT_PROTOTYPES */
2364 typedef void (APIENTRY * PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
2365 typedef void (APIENTRY * PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer);
2366 typedef void (APIENTRY * PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
2367 typedef void (APIENTRY * PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
2368 #endif
2369
2370 #ifndef GL_HP_occlusion_test
2371 #define GL_HP_occlusion_test 1
2372 #endif
2373
2374 #ifndef GL_EXT_pixel_transform
2375 #define GL_EXT_pixel_transform 1
2376 #ifdef GL_GLEXT_PROTOTYPES
2377 extern void APIENTRY glPixelTransformParameteriEXT (GLenum, GLenum, GLint);
2378 extern void APIENTRY glPixelTransformParameterfEXT (GLenum, GLenum, GLfloat);
2379 extern void APIENTRY glPixelTransformParameterivEXT (GLenum, GLenum, const GLint *);
2380 extern void APIENTRY glPixelTransformParameterfvEXT (GLenum, GLenum, const GLfloat *);
2381 #endif /* GL_GLEXT_PROTOTYPES */
2382 typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
2383 typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
2384 typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
2385 typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
2386 #endif
2387
2388 #ifndef GL_EXT_pixel_transform_color_table
2389 #define GL_EXT_pixel_transform_color_table 1
2390 #endif
2391
2392 #ifndef GL_EXT_shared_texture_palette
2393 #define GL_EXT_shared_texture_palette 1
2394 #endif
2395
2396 #ifndef GL_EXT_separate_specular_color
2397 #define GL_EXT_separate_specular_color 1
2398 #endif
2399
2400 #ifndef GL_EXT_secondary_color
2401 #define GL_EXT_secondary_color 1
2402 #ifdef GL_GLEXT_PROTOTYPES
2403 extern void APIENTRY glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte);
2404 extern void APIENTRY glSecondaryColor3bvEXT (const GLbyte *);
2405 extern void APIENTRY glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble);
2406 extern void APIENTRY glSecondaryColor3dvEXT (const GLdouble *);
2407 extern void APIENTRY glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat);
2408 extern void APIENTRY glSecondaryColor3fvEXT (const GLfloat *);
2409 extern void APIENTRY glSecondaryColor3iEXT (GLint, GLint, GLint);
2410 extern void APIENTRY glSecondaryColor3ivEXT (const GLint *);
2411 extern void APIENTRY glSecondaryColor3sEXT (GLshort, GLshort, GLshort);
2412 extern void APIENTRY glSecondaryColor3svEXT (const GLshort *);
2413 extern void APIENTRY glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte);
2414 extern void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *);
2415 extern void APIENTRY glSecondaryColor3uiEXT (GLuint, GLuint, GLuint);
2416 extern void APIENTRY glSecondaryColor3uivEXT (const GLuint *);
2417 extern void APIENTRY glSecondaryColor3usEXT (GLushort, GLushort, GLushort);
2418 extern void APIENTRY glSecondaryColor3usvEXT (const GLushort *);
2419 extern void APIENTRY glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, GLvoid *);
2420 #endif /* GL_GLEXT_PROTOTYPES */
2421 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
2422 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
2423 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
2424 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
2425 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
2426 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
2427 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
2428 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
2429 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
2430 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
2431 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
2432 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
2433 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
2434 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
2435 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
2436 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
2437 typedef void (APIENTRY * PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
2438 #endif
2439
2440 #ifndef GL_EXT_texture_perturb_normal
2441 #define GL_EXT_texture_perturb_normal 1
2442 #ifdef GL_GLEXT_PROTOTYPES
2443 extern void APIENTRY glTextureNormalEXT (GLenum);
2444 #endif /* GL_GLEXT_PROTOTYPES */
2445 typedef void (APIENTRY * PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
2446 #endif
2447
2448 #ifndef GL_EXT_multi_draw_arrays
2449 #define GL_EXT_multi_draw_arrays 1
2450 #ifdef GL_GLEXT_PROTOTYPES
2451 extern void APIENTRY glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei);
2452 extern void APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
2453 #endif /* GL_GLEXT_PROTOTYPES */
2454 typedef void (APIENTRY * PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
2455 typedef void (APIENTRY * PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
2456 #endif
2457
2458 #ifndef GL_EXT_fog_coord
2459 #define GL_EXT_fog_coord 1
2460 #ifdef GL_GLEXT_PROTOTYPES
2461 extern void APIENTRY glFogCoordfEXT (GLfloat);
2462 extern void APIENTRY glFogCoordfvEXT (const GLfloat *);
2463 extern void APIENTRY glFogCoorddEXT (GLdouble);
2464 extern void APIENTRY glFogCoorddvEXT (const GLdouble *);
2465 extern void APIENTRY glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *);
2466 #endif /* GL_GLEXT_PROTOTYPES */
2467 typedef void (APIENTRY * PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
2468 typedef void (APIENTRY * PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
2469 typedef void (APIENTRY * PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
2470 typedef void (APIENTRY * PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
2471 typedef void (APIENTRY * PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
2472 #endif
2473
2474 #ifndef GL_REND_screen_coordinates
2475 #define GL_REND_screen_coordinates 1
2476 #endif
2477
2478 #ifndef GL_EXT_coordinate_frame
2479 #define GL_EXT_coordinate_frame 1
2480 #ifdef GL_GLEXT_PROTOTYPES
2481 extern void APIENTRY glTangent3bEXT (GLbyte, GLbyte, GLbyte);
2482 extern void APIENTRY glTangent3bvEXT (const GLbyte *);
2483 extern void APIENTRY glTangent3dEXT (GLdouble, GLdouble, GLdouble);
2484 extern void APIENTRY glTangent3dvEXT (const GLdouble *);
2485 extern void APIENTRY glTangent3fEXT (GLfloat, GLfloat, GLfloat);
2486 extern void APIENTRY glTangent3fvEXT (const GLfloat *);
2487 extern void APIENTRY glTangent3iEXT (GLint, GLint, GLint);
2488 extern void APIENTRY glTangent3ivEXT (const GLint *);
2489 extern void APIENTRY glTangent3sEXT (GLshort, GLshort, GLshort);
2490 extern void APIENTRY glTangent3svEXT (const GLshort *);
2491 extern void APIENTRY glBinormal3bEXT (GLbyte, GLbyte, GLbyte);
2492 extern void APIENTRY glBinormal3bvEXT (const GLbyte *);
2493 extern void APIENTRY glBinormal3dEXT (GLdouble, GLdouble, GLdouble);
2494 extern void APIENTRY glBinormal3dvEXT (const GLdouble *);
2495 extern void APIENTRY glBinormal3fEXT (GLfloat, GLfloat, GLfloat);
2496 extern void APIENTRY glBinormal3fvEXT (const GLfloat *);
2497 extern void APIENTRY glBinormal3iEXT (GLint, GLint, GLint);
2498 extern void APIENTRY glBinormal3ivEXT (const GLint *);
2499 extern void APIENTRY glBinormal3sEXT (GLshort, GLshort, GLshort);
2500 extern void APIENTRY glBinormal3svEXT (const GLshort *);
2501 extern void APIENTRY glTangentPointerEXT (GLenum, GLsizei, const GLvoid *);
2502 extern void APIENTRY glBinormalPointerEXT (GLenum, GLsizei, const GLvoid *);
2503 #endif /* GL_GLEXT_PROTOTYPES */
2504 typedef void (APIENTRY * PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
2505 typedef void (APIENTRY * PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
2506 typedef void (APIENTRY * PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
2507 typedef void (APIENTRY * PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
2508 typedef void (APIENTRY * PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
2509 typedef void (APIENTRY * PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
2510 typedef void (APIENTRY * PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
2511 typedef void (APIENTRY * PFNGLTANGENT3IVEXTPROC) (const GLint *v);
2512 typedef void (APIENTRY * PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
2513 typedef void (APIENTRY * PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
2514 typedef void (APIENTRY * PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
2515 typedef void (APIENTRY * PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
2516 typedef void (APIENTRY * PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
2517 typedef void (APIENTRY * PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
2518 typedef void (APIENTRY * PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
2519 typedef void (APIENTRY * PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
2520 typedef void (APIENTRY * PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
2521 typedef void (APIENTRY * PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
2522 typedef void (APIENTRY * PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
2523 typedef void (APIENTRY * PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
2524 typedef void (APIENTRY * PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
2525 typedef void (APIENTRY * PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
2526 #endif
2527
2528 #ifndef GL_EXT_texture_env_combine
2529 #define GL_EXT_texture_env_combine 1
2530 #endif
2531
2532 #ifndef GL_APPLE_specular_vector
2533 #define GL_APPLE_specular_vector 1
2534 #endif
2535
2536 #ifndef GL_APPLE_transform_hint
2537 #define GL_APPLE_transform_hint 1
2538 #endif
2539
2540 #ifndef GL_SGIX_fog_scale
2541 #define GL_SGIX_fog_scale 1
2542 #endif
2543
2544 #ifndef GL_SUNX_constant_data
2545 #define GL_SUNX_constant_data 1
2546 #ifdef GL_GLEXT_PROTOTYPES
2547 extern void APIENTRY glFinishTextureSUNX (void);
2548 #endif /* GL_GLEXT_PROTOTYPES */
2549 typedef void (APIENTRY * PFNGLFINISHTEXTURESUNXPROC) (void);
2550 #endif
2551
2552 #ifndef GL_SUN_global_alpha
2553 #define GL_SUN_global_alpha 1
2554 #ifdef GL_GLEXT_PROTOTYPES
2555 extern void APIENTRY glGlobalAlphaFactorbSUN (GLbyte);
2556 extern void APIENTRY glGlobalAlphaFactorsSUN (GLshort);
2557 extern void APIENTRY glGlobalAlphaFactoriSUN (GLint);
2558 extern void APIENTRY glGlobalAlphaFactorfSUN (GLfloat);
2559 extern void APIENTRY glGlobalAlphaFactordSUN (GLdouble);
2560 extern void APIENTRY glGlobalAlphaFactorubSUN (GLubyte);
2561 extern void APIENTRY glGlobalAlphaFactorusSUN (GLushort);
2562 extern void APIENTRY glGlobalAlphaFactoruiSUN (GLuint);
2563 #endif /* GL_GLEXT_PROTOTYPES */
2564 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
2565 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
2566 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
2567 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
2568 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
2569 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
2570 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
2571 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
2572 #endif
2573
2574 #ifndef GL_SUN_triangle_list
2575 #define GL_SUN_triangle_list 1
2576 #ifdef GL_GLEXT_PROTOTYPES
2577 extern void APIENTRY glReplacementCodeuiSUN (GLuint);
2578 extern void APIENTRY glReplacementCodeusSUN (GLushort);
2579 extern void APIENTRY glReplacementCodeubSUN (GLubyte);
2580 extern void APIENTRY glReplacementCodeuivSUN (const GLuint *);
2581 extern void APIENTRY glReplacementCodeusvSUN (const GLushort *);
2582 extern void APIENTRY glReplacementCodeubvSUN (const GLubyte *);
2583 extern void APIENTRY glReplacementCodePointerSUN (GLenum, GLsizei, const GLvoid* *);
2584 #endif /* GL_GLEXT_PROTOTYPES */
2585 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
2586 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
2587 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
2588 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
2589 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
2590 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
2591 typedef void (APIENTRY * PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer);
2592 #endif
2593
2594 #ifndef GL_SUN_vertex
2595 #define GL_SUN_vertex 1
2596 #ifdef GL_GLEXT_PROTOTYPES
2597 extern void APIENTRY glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat);
2598 extern void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *, const GLfloat *);
2599 extern void APIENTRY glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
2600 extern void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *, const GLfloat *);
2601 extern void APIENTRY glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2602 extern void APIENTRY glColor3fVertex3fvSUN (const GLfloat *, const GLfloat *);
2603 extern void APIENTRY glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2604 extern void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *);
2605 extern void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2606 extern void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
2607 extern void APIENTRY glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2608 extern void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *, const GLfloat *);
2609 extern void APIENTRY glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2610 extern void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *, const GLfloat *);
2611 extern void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
2612 extern void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *, const GLubyte *, const GLfloat *);
2613 extern void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2614 extern void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
2615 extern void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2616 extern void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
2617 extern void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2618 extern void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
2619 extern void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2620 extern void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
2621 extern void APIENTRY glReplacementCodeuiVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat);
2622 extern void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLenum *, const GLfloat *);
2623 extern void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLenum, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
2624 extern void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLenum *, const GLubyte *, const GLfloat *);
2625 extern void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2626 extern void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *);
2627 extern void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2628 extern void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *);
2629 extern void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2630 extern void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *, const GLfloat *);
2631 extern void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2632 extern void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *);
2633 extern void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2634 extern void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *, const GLfloat *);
2635 extern void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
2636 extern void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
2637 #endif /* GL_GLEXT_PROTOTYPES */
2638 typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
2639 typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
2640 typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
2641 typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
2642 typedef void (APIENTRY * PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
2643 typedef void (APIENTRY * PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
2644 typedef void (APIENTRY * PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
2645 typedef void (APIENTRY * PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
2646 typedef void (APIENTRY * PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
2647 typedef void (APIENTRY * PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
2648 typedef void (APIENTRY * PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
2649 typedef void (APIENTRY * PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
2650 typedef void (APIENTRY * PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
2651 typedef void (APIENTRY * PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
2652 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
2653 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
2654 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
2655 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
2656 typedef void (APIENTRY * PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
2657 typedef void (APIENTRY * PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
2658 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
2659 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
2660 typedef void (APIENTRY * PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
2661 typedef void (APIENTRY * PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
2662 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLenum rc, GLfloat x, GLfloat y, GLfloat z);
2663 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *v);
2664 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLenum rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
2665 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLenum *rc, const GLubyte *c, const GLfloat *v);
2666 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLenum rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
2667 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *c, const GLfloat *v);
2668 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLenum rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
2669 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *n, const GLfloat *v);
2670 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLenum rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
2671 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
2672 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLenum rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
2673 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *tc, const GLfloat *v);
2674 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLenum rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
2675 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
2676 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLenum rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
2677 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
2678 #endif
2679
2680 #ifndef GL_EXT_blend_func_separate
2681 #define GL_EXT_blend_func_separate 1
2682 #ifdef GL_GLEXT_PROTOTYPES
2683 extern void APIENTRY glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum);
2684 #endif /* GL_GLEXT_PROTOTYPES */
2685 typedef void (APIENTRY * PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
2686 #endif
2687
2688 #ifndef GL_INGR_color_clamp
2689 #define GL_INGR_color_clamp 1
2690 #endif
2691
2692 #ifndef GL_INGR_interlace_read
2693 #define GL_INGR_interlace_read 1
2694 #endif
2695
2696 #ifndef GL_EXT_stencil_wrap
2697 #define GL_EXT_stencil_wrap 1
2698 #endif
2699
2700 #ifndef GL_EXT_422_pixels
2701 #define GL_EXT_422_pixels 1
2702 #endif
2703
2704 #ifndef GL_NV_texgen_reflection
2705 #define GL_NV_texgen_reflection 1
2706 #endif
2707
2708 #ifndef GL_SUN_convolution_border_modes
2709 #define GL_SUN_convolution_border_modes 1
2710 #endif
2711
2712 #ifndef GL_EXT_texture_env_add
2713 #define GL_EXT_texture_env_add 1
2714 #endif
2715
2716 #ifndef GL_EXT_texture_lod_bias
2717 #define GL_EXT_texture_lod_bias 1
2718 #endif
2719
2720 #ifndef GL_EXT_texture_filter_anisotropic
2721 #define GL_EXT_texture_filter_anisotropic 1
2722 #endif
2723
2724 #ifndef GL_EXT_vertex_weighting
2725 #define GL_EXT_vertex_weighting 1
2726 #ifdef GL_GLEXT_PROTOTYPES
2727 extern void APIENTRY glVertexWeightfEXT (GLfloat);
2728 extern void APIENTRY glVertexWeightfvEXT (const GLfloat *);
2729 extern void APIENTRY glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei, const GLvoid *);
2730 #endif /* GL_GLEXT_PROTOTYPES */
2731 typedef void (APIENTRY * PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
2732 typedef void (APIENTRY * PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
2733 typedef void (APIENTRY * PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer);
2734 #endif
2735
2736 #ifndef GL_NV_light_max_exponent
2737 #define GL_NV_light_max_exponent 1
2738 #endif
2739
2740 #ifndef GL_NV_vertex_array_range
2741 #define GL_NV_vertex_array_range 1
2742 #ifdef GL_GLEXT_PROTOTYPES
2743 extern void APIENTRY glFlushVertexArrayRangeNV (void);
2744 extern void APIENTRY glVertexArrayRangeNV (GLsizei, const GLvoid *);
2745 #endif /* GL_GLEXT_PROTOTYPES */
2746 typedef void (APIENTRY * PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
2747 typedef void (APIENTRY * PFNGLVERTEXARRAYRANGENVPROC) (GLsizei size, const GLvoid *pointer);
2748 #endif
2749
2750 #ifndef GL_NV_register_combiners
2751 #define GL_NV_register_combiners 1
2752 #ifdef GL_GLEXT_PROTOTYPES
2753 extern void APIENTRY glCombinerParameterfvNV (GLenum, const GLfloat *);
2754 extern void APIENTRY glCombinerParameterfNV (GLenum, GLfloat);
2755 extern void APIENTRY glCombinerParameterivNV (GLenum, const GLint *);
2756 extern void APIENTRY glCombinerParameteriNV (GLenum, GLint);
2757 extern void APIENTRY glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum);
2758 extern void APIENTRY glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean);
2759 extern void APIENTRY glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum);
2760 extern void APIENTRY glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *);
2761 extern void APIENTRY glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *);
2762 #ifdef VMS
2763 #define glGetCombinerOutputParameterfvNV glGetCombinerOutputParameterfvN
2764 #define glGetCombinerOutputParameterivNV glGetCombinerOutputParameterivN
2765 #define glGetFinalCombinerInputParameterfvNV glGetFinalCombinerInputParafvNV
2766 #define glGetFinalCombinerInputParameterivNV glGetFinalCombinerInputParaivNV
2767 #endif
2768 extern void APIENTRY glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *);
2769 extern void APIENTRY glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *);
2770 extern void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *);
2771 extern void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *);
2772 #endif /* GL_GLEXT_PROTOTYPES */
2773 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
2774 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
2775 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
2776 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
2777 typedef void (APIENTRY * PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
2778 typedef void (APIENTRY * PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
2779 typedef void (APIENTRY * PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
2780 typedef void (APIENTRY * PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
2781 typedef void (APIENTRY * PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
2782 typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
2783 typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
2784 typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
2785 typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
2786 #endif
2787
2788 #ifndef GL_NV_fog_distance
2789 #define GL_NV_fog_distance 1
2790 #endif
2791
2792 #ifndef GL_NV_texgen_emboss
2793 #define GL_NV_texgen_emboss 1
2794 #endif
2795
2796 #ifndef GL_NV_blend_square
2797 #define GL_NV_blend_square 1
2798 #endif
2799
2800 #ifndef GL_NV_texture_env_combine4
2801 #define GL_NV_texture_env_combine4 1
2802 #endif
2803
2804 #ifndef GL_MESA_resize_buffers
2805 #define GL_MESA_resize_buffers 1
2806 #ifdef GL_GLEXT_PROTOTYPES
2807 extern void APIENTRY glResizeBuffersMESA (void);
2808 #endif /* GL_GLEXT_PROTOTYPES */
2809 typedef void (APIENTRY * PFNGLRESIZEBUFFERSMESAPROC) (void);
2810 #endif
2811
2812 #ifndef GL_MESA_window_pos
2813 #define GL_MESA_window_pos 1
2814 #ifdef GL_GLEXT_PROTOTYPES
2815 extern void APIENTRY glWindowPos2dMESA (GLdouble, GLdouble);
2816 extern void APIENTRY glWindowPos2dvMESA (const GLdouble *);
2817 extern void APIENTRY glWindowPos2fMESA (GLfloat, GLfloat);
2818 extern void APIENTRY glWindowPos2fvMESA (const GLfloat *);
2819 extern void APIENTRY glWindowPos2iMESA (GLint, GLint);
2820 extern void APIENTRY glWindowPos2ivMESA (const GLint *);
2821 extern void APIENTRY glWindowPos2sMESA (GLshort, GLshort);
2822 extern void APIENTRY glWindowPos2svMESA (const GLshort *);
2823 extern void APIENTRY glWindowPos3dMESA (GLdouble, GLdouble, GLdouble);
2824 extern void APIENTRY glWindowPos3dvMESA (const GLdouble *);
2825 extern void APIENTRY glWindowPos3fMESA (GLfloat, GLfloat, GLfloat);
2826 extern void APIENTRY glWindowPos3fvMESA (const GLfloat *);
2827 extern void APIENTRY glWindowPos3iMESA (GLint, GLint, GLint);
2828 extern void APIENTRY glWindowPos3ivMESA (const GLint *);
2829 extern void APIENTRY glWindowPos3sMESA (GLshort, GLshort, GLshort);
2830 extern void APIENTRY glWindowPos3svMESA (const GLshort *);
2831 extern void APIENTRY glWindowPos4dMESA (GLdouble, GLdouble, GLdouble, GLdouble);
2832 extern void APIENTRY glWindowPos4dvMESA (const GLdouble *);
2833 extern void APIENTRY glWindowPos4fMESA (GLfloat, GLfloat, GLfloat, GLfloat);
2834 extern void APIENTRY glWindowPos4fvMESA (const GLfloat *);
2835 extern void APIENTRY glWindowPos4iMESA (GLint, GLint, GLint, GLint);
2836 extern void APIENTRY glWindowPos4ivMESA (const GLint *);
2837 extern void APIENTRY glWindowPos4sMESA (GLshort, GLshort, GLshort, GLshort);
2838 extern void APIENTRY glWindowPos4svMESA (const GLshort *);
2839 #endif /* GL_GLEXT_PROTOTYPES */
2840 typedef void (APIENTRY * PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
2841 typedef void (APIENTRY * PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
2842 typedef void (APIENTRY * PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
2843 typedef void (APIENTRY * PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
2844 typedef void (APIENTRY * PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
2845 typedef void (APIENTRY * PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
2846 typedef void (APIENTRY * PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
2847 typedef void (APIENTRY * PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
2848 typedef void (APIENTRY * PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
2849 typedef void (APIENTRY * PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
2850 typedef void (APIENTRY * PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
2851 typedef void (APIENTRY * PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
2852 typedef void (APIENTRY * PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
2853 typedef void (APIENTRY * PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
2854 typedef void (APIENTRY * PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
2855 typedef void (APIENTRY * PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
2856 typedef void (APIENTRY * PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
2857 typedef void (APIENTRY * PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
2858 typedef void (APIENTRY * PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
2859 typedef void (APIENTRY * PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
2860 typedef void (APIENTRY * PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
2861 typedef void (APIENTRY * PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
2862 typedef void (APIENTRY * PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
2863 typedef void (APIENTRY * PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
2864 #endif
2865
2866 #ifndef GL_IBM_cull_vertex
2867 #define GL_IBM_cull_vertex 1
2868 #endif
2869
2870 #ifndef GL_IBM_multimode_draw_arrays
2871 #define GL_IBM_multimode_draw_arrays 1
2872 #ifdef GL_GLEXT_PROTOTYPES
2873 extern void APIENTRY glMultiModeDrawArraysIBM (GLenum, const GLint *, const GLsizei *, GLsizei, GLint);
2874 extern void APIENTRY glMultiModeDrawElementsIBM (const GLenum *, const GLsizei *, GLenum, const GLvoid* *, GLsizei, GLint);
2875 #endif /* GL_GLEXT_PROTOTYPES */
2876 typedef void (APIENTRY * PFNGLMULTIMODEDRAWARRAYSIBMPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
2877 typedef void (APIENTRY * PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount, GLint modestride);
2878 #endif
2879
2880 #ifndef GL_IBM_vertex_array_lists
2881 #define GL_IBM_vertex_array_lists 1
2882 #ifdef GL_GLEXT_PROTOTYPES
2883 extern void APIENTRY glColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
2884 extern void APIENTRY glSecondaryColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
2885 extern void APIENTRY glEdgeFlagPointerListIBM (GLint, const GLboolean* *, GLint);
2886 extern void APIENTRY glFogCoordPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
2887 extern void APIENTRY glIndexPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
2888 extern void APIENTRY glNormalPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
2889 extern void APIENTRY glTexCoordPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
2890 extern void APIENTRY glVertexPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
2891 #endif /* GL_GLEXT_PROTOTYPES */
2892 typedef void (APIENTRY * PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
2893 typedef void (APIENTRY * PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
2894 typedef void (APIENTRY * PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride);
2895 typedef void (APIENTRY * PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
2896 typedef void (APIENTRY * PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
2897 typedef void (APIENTRY * PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
2898 typedef void (APIENTRY * PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
2899 typedef void (APIENTRY * PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
2900 #endif
2901
2902 #ifndef GL_SGIX_subsample
2903 #define GL_SGIX_subsample 1
2904 #endif
2905
2906 #ifndef GL_SGIX_ycrcba
2907 #define GL_SGIX_ycrcba 1
2908 #endif
2909
2910 #ifndef GL_SGIX_ycrcb_subsample
2911 #define GL_SGIX_ycrcb_subsample 1
2912 #endif
2913
2914 #ifndef GL_SGIX_depth_pass_instrument
2915 #define GL_SGIX_depth_pass_instrument 1
2916 #endif
2917
2918 #ifndef GL_3DFX_texture_compression_FXT1
2919 #define GL_3DFX_texture_compression_FXT1 1
2920 #endif
2921
2922 #ifndef GL_3DFX_multisample
2923 #define GL_3DFX_multisample 1
2924 #endif
2925
2926 #ifndef GL_3DFX_tbuffer
2927 #define GL_3DFX_tbuffer 1
2928 #ifdef GL_GLEXT_PROTOTYPES
2929 extern void APIENTRY glTbufferMask3DFX (GLuint);
2930 #endif /* GL_GLEXT_PROTOTYPES */
2931 typedef void (APIENTRY * PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
2932 #endif
2933
2934 #ifndef GL_EXT_multisample
2935 #define GL_EXT_multisample 1
2936 #ifdef GL_GLEXT_PROTOTYPES
2937 extern void APIENTRY glSampleMaskEXT (GLclampf, GLboolean);
2938 extern void APIENTRY glSamplePatternEXT (GLenum);
2939 #endif /* GL_GLEXT_PROTOTYPES */
2940 typedef void (APIENTRY * PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
2941 typedef void (APIENTRY * PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
2942 #endif
2943
2944 #ifndef GL_SGI_vertex_preclip
2945 #define GL_SGI_vertex_preclip 1
2946 #endif
2947
2948 #ifndef GL_SGIX_convolution_accuracy
2949 #define GL_SGIX_convolution_accuracy 1
2950 #endif
2951
2952 #ifndef GL_SGIX_resample
2953 #define GL_SGIX_resample 1
2954 #endif
2955
2956 #ifndef GL_SGIS_point_line_texgen
2957 #define GL_SGIS_point_line_texgen 1
2958 #endif
2959
2960 #ifndef GL_SGIS_texture_color_mask
2961 #define GL_SGIS_texture_color_mask 1
2962 #ifdef GL_GLEXT_PROTOTYPES
2963 extern void APIENTRY glTextureColorMaskSGIS (GLboolean, GLboolean, GLboolean, GLboolean);
2964 #endif /* GL_GLEXT_PROTOTYPES */
2965 typedef void (APIENTRY * PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
2966 #endif
2967
301 2968
302 #ifdef __cplusplus 2969 #ifdef __cplusplus
303 } 2970 }
304 #endif 2971 #endif
305 2972