21b4cc41e3e179af4879a72d0831d05cdd441528
1 /* DO NOT EDIT - This file generated automatically by gl_enums.py (from Mesa) script */
4 * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sub license,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
14 * The above copyright notice and this permission notice (including the next
15 * paragraph) shall be included in all copies or substantial portions of the
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
22 * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
23 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
24 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
37 static const enum_elt all_enums
[] =
39 { "GL_ALL_CLIENT_ATTRIB_BITS", 0xFFFFFFFF },
40 { "GL_CLIENT_ALL_ATTRIB_BITS", 0xFFFFFFFF },
42 { "GL_NO_ERROR", 0x0 },
46 { "GL_CURRENT_BIT", 0x1 },
47 { "GL_CLIENT_PIXEL_STORE_BIT", 0x1 },
51 { "GL_LINE_LOOP", 0x2 },
52 { "GL_POINT_BIT", 0x2 },
53 { "GL_CLIENT_VERTEX_ARRAY_BIT", 0x2 },
54 { "GL_LINE_STRIP", 0x3 },
55 { "GL_TRIANGLES", 0x4 },
56 { "GL_LINE_BIT", 0x4 },
57 { "GL_TRIANGLE_STRIP", 0x5 },
58 { "GL_TRIANGLE_FAN", 0x6 },
60 { "GL_POLYGON_BIT", 0x8 },
61 { "GL_QUAD_STRIP", 0x8 },
62 { "GL_POLYGON", 0x9 },
63 { "GL_POLYGON_STIPPLE_BIT", 0x10 },
64 { "GL_PIXEL_MODE_BIT", 0x20 },
65 { "GL_LIGHTING_BIT", 0x40 },
66 { "GL_FOG_BIT", 0x80 },
67 { "GL_DEPTH_BUFFER_BIT", 0x100 },
68 { "GL_ACCUM", 0x100 },
70 { "GL_RETURN", 0x102 },
73 { "GL_NEVER", 0x200 },
74 { "GL_ACCUM_BUFFER_BIT", 0x200 },
76 { "GL_EQUAL", 0x202 },
77 { "GL_LEQUAL", 0x203 },
78 { "GL_GREATER", 0x204 },
79 { "GL_NOTEQUAL", 0x205 },
80 { "GL_GEQUAL", 0x206 },
81 { "GL_ALWAYS", 0x207 },
82 { "GL_SRC_COLOR", 0x300 },
83 { "GL_ONE_MINUS_SRC_COLOR", 0x301 },
84 { "GL_SRC_ALPHA", 0x302 },
85 { "GL_ONE_MINUS_SRC_ALPHA", 0x303 },
86 { "GL_DST_ALPHA", 0x304 },
87 { "GL_ONE_MINUS_DST_ALPHA", 0x305 },
88 { "GL_DST_COLOR", 0x306 },
89 { "GL_ONE_MINUS_DST_COLOR", 0x307 },
90 { "GL_SRC_ALPHA_SATURATE", 0x308 },
91 { "GL_FRONT_LEFT", 0x400 },
92 { "GL_STENCIL_BUFFER_BIT", 0x400 },
93 { "GL_FRONT_RIGHT", 0x401 },
94 { "GL_BACK_LEFT", 0x402 },
95 { "GL_BACK_RIGHT", 0x403 },
96 { "GL_FRONT", 0x404 },
99 { "GL_RIGHT", 0x407 },
100 { "GL_FRONT_AND_BACK", 0x408 },
101 { "GL_AUX0", 0x409 },
102 { "GL_AUX1", 0x40A },
103 { "GL_AUX2", 0x40B },
104 { "GL_AUX3", 0x40C },
105 { "GL_INVALID_ENUM", 0x500 },
106 { "GL_INVALID_VALUE", 0x501 },
107 { "GL_INVALID_OPERATION", 0x502 },
108 { "GL_STACK_OVERFLOW", 0x503 },
109 { "GL_STACK_UNDERFLOW", 0x504 },
110 { "GL_OUT_OF_MEMORY", 0x505 },
111 { "GL_INVALID_FRAMEBUFFER_OPERATION_EXT", 0x506 },
114 { "GL_3D_COLOR", 0x602 },
115 { "GL_3D_COLOR_TEXTURE", 0x603 },
116 { "GL_4D_COLOR_TEXTURE", 0x604 },
117 { "GL_PASS_THROUGH_TOKEN", 0x700 },
118 { "GL_POINT_TOKEN", 0x701 },
119 { "GL_LINE_TOKEN", 0x702 },
120 { "GL_POLYGON_TOKEN", 0x703 },
121 { "GL_BITMAP_TOKEN", 0x704 },
122 { "GL_DRAW_PIXEL_TOKEN", 0x705 },
123 { "GL_COPY_PIXEL_TOKEN", 0x706 },
124 { "GL_LINE_RESET_TOKEN", 0x707 },
125 { "GL_VIEWPORT_BIT", 0x800 },
127 { "GL_EXP2", 0x801 },
130 { "GL_COEFF", 0xA00 },
131 { "GL_ORDER", 0xA01 },
132 { "GL_DOMAIN", 0xA02 },
133 { "GL_CURRENT_COLOR", 0xB00 },
134 { "GL_CURRENT_INDEX", 0xB01 },
135 { "GL_CURRENT_NORMAL", 0xB02 },
136 { "GL_CURRENT_TEXTURE_COORDS", 0xB03 },
137 { "GL_CURRENT_RASTER_COLOR", 0xB04 },
138 { "GL_CURRENT_RASTER_INDEX", 0xB05 },
139 { "GL_CURRENT_RASTER_TEXTURE_COORDS", 0xB06 },
140 { "GL_CURRENT_RASTER_POSITION", 0xB07 },
141 { "GL_CURRENT_RASTER_POSITION_VALID", 0xB08 },
142 { "GL_CURRENT_RASTER_DISTANCE", 0xB09 },
143 { "GL_POINT_SMOOTH", 0xB10 },
144 { "GL_POINT_SIZE", 0xB11 },
145 { "GL_POINT_SIZE_RANGE", 0xB12 },
146 { "GL_SMOOTH_POINT_SIZE_RANGE", 0xB12 },
147 { "GL_POINT_SIZE_GRANULARITY", 0xB13 },
148 { "GL_SMOOTH_POINT_SIZE_GRANULARITY", 0xB13 },
149 { "GL_LINE_SMOOTH", 0xB20 },
150 { "GL_LINE_WIDTH", 0xB21 },
151 { "GL_SMOOTH_LINE_WIDTH_RANGE", 0xB22 },
152 { "GL_LINE_WIDTH_RANGE", 0xB22 },
153 { "GL_SMOOTH_LINE_WIDTH_GRANULARITY", 0xB23 },
154 { "GL_LINE_WIDTH_GRANULARITY", 0xB23 },
155 { "GL_LINE_STIPPLE", 0xB24 },
156 { "GL_LINE_STIPPLE_PATTERN", 0xB25 },
157 { "GL_LINE_STIPPLE_REPEAT", 0xB26 },
158 { "GL_LIST_MODE", 0xB30 },
159 { "GL_MAX_LIST_NESTING", 0xB31 },
160 { "GL_LIST_BASE", 0xB32 },
161 { "GL_LIST_INDEX", 0xB33 },
162 { "GL_POLYGON_MODE", 0xB40 },
163 { "GL_POLYGON_SMOOTH", 0xB41 },
164 { "GL_POLYGON_STIPPLE", 0xB42 },
165 { "GL_EDGE_FLAG", 0xB43 },
166 { "GL_CULL_FACE", 0xB44 },
167 { "GL_CULL_FACE_MODE", 0xB45 },
168 { "GL_FRONT_FACE", 0xB46 },
169 { "GL_LIGHTING", 0xB50 },
170 { "GL_LIGHT_MODEL_LOCAL_VIEWER", 0xB51 },
171 { "GL_LIGHT_MODEL_TWO_SIDE", 0xB52 },
172 { "GL_LIGHT_MODEL_AMBIENT", 0xB53 },
173 { "GL_SHADE_MODEL", 0xB54 },
174 { "GL_COLOR_MATERIAL_FACE", 0xB55 },
175 { "GL_COLOR_MATERIAL_PARAMETER", 0xB56 },
176 { "GL_COLOR_MATERIAL", 0xB57 },
178 { "GL_FOG_INDEX", 0xB61 },
179 { "GL_FOG_DENSITY", 0xB62 },
180 { "GL_FOG_START", 0xB63 },
181 { "GL_FOG_END", 0xB64 },
182 { "GL_FOG_MODE", 0xB65 },
183 { "GL_FOG_COLOR", 0xB66 },
184 { "GL_DEPTH_RANGE", 0xB70 },
185 { "GL_DEPTH_TEST", 0xB71 },
186 { "GL_DEPTH_WRITEMASK", 0xB72 },
187 { "GL_DEPTH_CLEAR_VALUE", 0xB73 },
188 { "GL_DEPTH_FUNC", 0xB74 },
189 { "GL_ACCUM_CLEAR_VALUE", 0xB80 },
190 { "GL_STENCIL_TEST", 0xB90 },
191 { "GL_STENCIL_CLEAR_VALUE", 0xB91 },
192 { "GL_STENCIL_FUNC", 0xB92 },
193 { "GL_STENCIL_VALUE_MASK", 0xB93 },
194 { "GL_STENCIL_FAIL", 0xB94 },
195 { "GL_STENCIL_PASS_DEPTH_FAIL", 0xB95 },
196 { "GL_STENCIL_PASS_DEPTH_PASS", 0xB96 },
197 { "GL_STENCIL_REF", 0xB97 },
198 { "GL_STENCIL_WRITEMASK", 0xB98 },
199 { "GL_MATRIX_MODE", 0xBA0 },
200 { "GL_NORMALIZE", 0xBA1 },
201 { "GL_VIEWPORT", 0xBA2 },
202 { "GL_MODELVIEW_STACK_DEPTH", 0xBA3 },
203 { "GL_PROJECTION_STACK_DEPTH", 0xBA4 },
204 { "GL_TEXTURE_STACK_DEPTH", 0xBA5 },
205 { "GL_MODELVIEW_MATRIX", 0xBA6 },
206 { "GL_PROJECTION_MATRIX", 0xBA7 },
207 { "GL_TEXTURE_MATRIX", 0xBA8 },
208 { "GL_ATTRIB_STACK_DEPTH", 0xBB0 },
209 { "GL_CLIENT_ATTRIB_STACK_DEPTH", 0xBB1 },
210 { "GL_ALPHA_TEST", 0xBC0 },
211 { "GL_ALPHA_TEST_FUNC", 0xBC1 },
212 { "GL_ALPHA_TEST_REF", 0xBC2 },
213 { "GL_DITHER", 0xBD0 },
214 { "GL_BLEND_DST", 0xBE0 },
215 { "GL_BLEND_SRC", 0xBE1 },
216 { "GL_BLEND", 0xBE2 },
217 { "GL_LOGIC_OP_MODE", 0xBF0 },
218 { "GL_LOGIC_OP", 0xBF1 },
219 { "GL_INDEX_LOGIC_OP", 0xBF1 },
220 { "GL_COLOR_LOGIC_OP", 0xBF2 },
221 { "GL_AUX_BUFFERS", 0xC00 },
222 { "GL_DRAW_BUFFER", 0xC01 },
223 { "GL_READ_BUFFER", 0xC02 },
224 { "GL_SCISSOR_BOX", 0xC10 },
225 { "GL_SCISSOR_TEST", 0xC11 },
226 { "GL_INDEX_CLEAR_VALUE", 0xC20 },
227 { "GL_INDEX_WRITEMASK", 0xC21 },
228 { "GL_COLOR_CLEAR_VALUE", 0xC22 },
229 { "GL_COLOR_WRITEMASK", 0xC23 },
230 { "GL_INDEX_MODE", 0xC30 },
231 { "GL_RGBA_MODE", 0xC31 },
232 { "GL_DOUBLEBUFFER", 0xC32 },
233 { "GL_STEREO", 0xC33 },
234 { "GL_RENDER_MODE", 0xC40 },
235 { "GL_PERSPECTIVE_CORRECTION_HINT", 0xC50 },
236 { "GL_POINT_SMOOTH_HINT", 0xC51 },
237 { "GL_LINE_SMOOTH_HINT", 0xC52 },
238 { "GL_POLYGON_SMOOTH_HINT", 0xC53 },
239 { "GL_FOG_HINT", 0xC54 },
240 { "GL_TEXTURE_GEN_S", 0xC60 },
241 { "GL_TEXTURE_GEN_T", 0xC61 },
242 { "GL_TEXTURE_GEN_R", 0xC62 },
243 { "GL_TEXTURE_GEN_Q", 0xC63 },
244 { "GL_PIXEL_MAP_I_TO_I", 0xC70 },
245 { "GL_PIXEL_MAP_S_TO_S", 0xC71 },
246 { "GL_PIXEL_MAP_I_TO_R", 0xC72 },
247 { "GL_PIXEL_MAP_I_TO_G", 0xC73 },
248 { "GL_PIXEL_MAP_I_TO_B", 0xC74 },
249 { "GL_PIXEL_MAP_I_TO_A", 0xC75 },
250 { "GL_PIXEL_MAP_R_TO_R", 0xC76 },
251 { "GL_PIXEL_MAP_G_TO_G", 0xC77 },
252 { "GL_PIXEL_MAP_B_TO_B", 0xC78 },
253 { "GL_PIXEL_MAP_A_TO_A", 0xC79 },
254 { "GL_PIXEL_MAP_I_TO_I_SIZE", 0xCB0 },
255 { "GL_PIXEL_MAP_S_TO_S_SIZE", 0xCB1 },
256 { "GL_PIXEL_MAP_I_TO_R_SIZE", 0xCB2 },
257 { "GL_PIXEL_MAP_I_TO_G_SIZE", 0xCB3 },
258 { "GL_PIXEL_MAP_I_TO_B_SIZE", 0xCB4 },
259 { "GL_PIXEL_MAP_I_TO_A_SIZE", 0xCB5 },
260 { "GL_PIXEL_MAP_R_TO_R_SIZE", 0xCB6 },
261 { "GL_PIXEL_MAP_G_TO_G_SIZE", 0xCB7 },
262 { "GL_PIXEL_MAP_B_TO_B_SIZE", 0xCB8 },
263 { "GL_PIXEL_MAP_A_TO_A_SIZE", 0xCB9 },
264 { "GL_UNPACK_SWAP_BYTES", 0xCF0 },
265 { "GL_UNPACK_LSB_FIRST", 0xCF1 },
266 { "GL_UNPACK_ROW_LENGTH", 0xCF2 },
267 { "GL_UNPACK_SKIP_ROWS", 0xCF3 },
268 { "GL_UNPACK_SKIP_PIXELS", 0xCF4 },
269 { "GL_UNPACK_ALIGNMENT", 0xCF5 },
270 { "GL_PACK_SWAP_BYTES", 0xD00 },
271 { "GL_PACK_LSB_FIRST", 0xD01 },
272 { "GL_PACK_ROW_LENGTH", 0xD02 },
273 { "GL_PACK_SKIP_ROWS", 0xD03 },
274 { "GL_PACK_SKIP_PIXELS", 0xD04 },
275 { "GL_PACK_ALIGNMENT", 0xD05 },
276 { "GL_MAP_COLOR", 0xD10 },
277 { "GL_MAP_STENCIL", 0xD11 },
278 { "GL_INDEX_SHIFT", 0xD12 },
279 { "GL_INDEX_OFFSET", 0xD13 },
280 { "GL_RED_SCALE", 0xD14 },
281 { "GL_RED_BIAS", 0xD15 },
282 { "GL_ZOOM_X", 0xD16 },
283 { "GL_ZOOM_Y", 0xD17 },
284 { "GL_GREEN_SCALE", 0xD18 },
285 { "GL_GREEN_BIAS", 0xD19 },
286 { "GL_BLUE_SCALE", 0xD1A },
287 { "GL_BLUE_BIAS", 0xD1B },
288 { "GL_ALPHA_SCALE", 0xD1C },
289 { "GL_ALPHA_BIAS", 0xD1D },
290 { "GL_DEPTH_SCALE", 0xD1E },
291 { "GL_DEPTH_BIAS", 0xD1F },
292 { "GL_MAX_EVAL_ORDER", 0xD30 },
293 { "GL_MAX_LIGHTS", 0xD31 },
294 { "GL_MAX_CLIP_PLANES", 0xD32 },
295 { "GL_MAX_TEXTURE_SIZE", 0xD33 },
296 { "GL_MAX_PIXEL_MAP_TABLE", 0xD34 },
297 { "GL_MAX_ATTRIB_STACK_DEPTH", 0xD35 },
298 { "GL_MAX_MODELVIEW_STACK_DEPTH", 0xD36 },
299 { "GL_MAX_NAME_STACK_DEPTH", 0xD37 },
300 { "GL_MAX_PROJECTION_STACK_DEPTH", 0xD38 },
301 { "GL_MAX_TEXTURE_STACK_DEPTH", 0xD39 },
302 { "GL_MAX_VIEWPORT_DIMS", 0xD3A },
303 { "GL_MAX_CLIENT_ATTRIB_STACK_DEPTH", 0xD3B },
304 { "GL_SUBPIXEL_BITS", 0xD50 },
305 { "GL_INDEX_BITS", 0xD51 },
306 { "GL_RED_BITS", 0xD52 },
307 { "GL_GREEN_BITS", 0xD53 },
308 { "GL_BLUE_BITS", 0xD54 },
309 { "GL_ALPHA_BITS", 0xD55 },
310 { "GL_DEPTH_BITS", 0xD56 },
311 { "GL_STENCIL_BITS", 0xD57 },
312 { "GL_ACCUM_RED_BITS", 0xD58 },
313 { "GL_ACCUM_GREEN_BITS", 0xD59 },
314 { "GL_ACCUM_BLUE_BITS", 0xD5A },
315 { "GL_ACCUM_ALPHA_BITS", 0xD5B },
316 { "GL_NAME_STACK_DEPTH", 0xD70 },
317 { "GL_AUTO_NORMAL", 0xD80 },
318 { "GL_MAP1_COLOR_4", 0xD90 },
319 { "GL_MAP1_INDEX", 0xD91 },
320 { "GL_MAP1_NORMAL", 0xD92 },
321 { "GL_MAP1_TEXTURE_COORD_1", 0xD93 },
322 { "GL_MAP1_TEXTURE_COORD_2", 0xD94 },
323 { "GL_MAP1_TEXTURE_COORD_3", 0xD95 },
324 { "GL_MAP1_TEXTURE_COORD_4", 0xD96 },
325 { "GL_MAP1_VERTEX_3", 0xD97 },
326 { "GL_MAP1_VERTEX_4", 0xD98 },
327 { "GL_MAP2_COLOR_4", 0xDB0 },
328 { "GL_MAP2_INDEX", 0xDB1 },
329 { "GL_MAP2_NORMAL", 0xDB2 },
330 { "GL_MAP2_TEXTURE_COORD_1", 0xDB3 },
331 { "GL_MAP2_TEXTURE_COORD_2", 0xDB4 },
332 { "GL_MAP2_TEXTURE_COORD_3", 0xDB5 },
333 { "GL_MAP2_TEXTURE_COORD_4", 0xDB6 },
334 { "GL_MAP2_VERTEX_3", 0xDB7 },
335 { "GL_MAP2_VERTEX_4", 0xDB8 },
336 { "GL_MAP1_GRID_DOMAIN", 0xDD0 },
337 { "GL_MAP1_GRID_SEGMENTS", 0xDD1 },
338 { "GL_MAP2_GRID_DOMAIN", 0xDD2 },
339 { "GL_MAP2_GRID_SEGMENTS", 0xDD3 },
340 { "GL_TEXTURE_1D", 0xDE0 },
341 { "GL_TEXTURE_2D", 0xDE1 },
342 { "GL_FEEDBACK_BUFFER_POINTER", 0xDF0 },
343 { "GL_FEEDBACK_BUFFER_SIZE", 0xDF1 },
344 { "GL_FEEDBACK_BUFFER_TYPE", 0xDF2 },
345 { "GL_SELECTION_BUFFER_POINTER", 0xDF3 },
346 { "GL_SELECTION_BUFFER_SIZE", 0xDF4 },
347 { "GL_TEXTURE_WIDTH", 0x1000 },
348 { "GL_TRANSFORM_BIT", 0x1000 },
349 { "GL_TEXTURE_HEIGHT", 0x1001 },
350 { "GL_TEXTURE_COMPONENTS", 0x1003 },
351 { "GL_TEXTURE_INTERNAL_FORMAT", 0x1003 },
352 { "GL_TEXTURE_BORDER_COLOR", 0x1004 },
353 { "GL_TEXTURE_BORDER", 0x1005 },
354 { "GL_DONT_CARE", 0x1100 },
355 { "GL_FASTEST", 0x1101 },
356 { "GL_NICEST", 0x1102 },
357 { "GL_AMBIENT", 0x1200 },
358 { "GL_DIFFUSE", 0x1201 },
359 { "GL_SPECULAR", 0x1202 },
360 { "GL_POSITION", 0x1203 },
361 { "GL_SPOT_DIRECTION", 0x1204 },
362 { "GL_SPOT_EXPONENT", 0x1205 },
363 { "GL_SPOT_CUTOFF", 0x1206 },
364 { "GL_CONSTANT_ATTENUATION", 0x1207 },
365 { "GL_LINEAR_ATTENUATION", 0x1208 },
366 { "GL_QUADRATIC_ATTENUATION", 0x1209 },
367 { "GL_COMPILE", 0x1300 },
368 { "GL_COMPILE_AND_EXECUTE", 0x1301 },
369 { "GL_BYTE", 0x1400 },
370 { "GL_UNSIGNED_BYTE", 0x1401 },
371 { "GL_SHORT", 0x1402 },
372 { "GL_UNSIGNED_SHORT", 0x1403 },
373 { "GL_INT", 0x1404 },
374 { "GL_UNSIGNED_INT", 0x1405 },
375 { "GL_FLOAT", 0x1406 },
376 { "GL_2_BYTES", 0x1407 },
377 { "GL_3_BYTES", 0x1408 },
378 { "GL_4_BYTES", 0x1409 },
379 { "GL_DOUBLE", 0x140A },
380 { "GL_CLEAR", 0x1500 },
381 { "GL_AND", 0x1501 },
382 { "GL_AND_REVERSE", 0x1502 },
383 { "GL_COPY", 0x1503 },
384 { "GL_AND_INVERTED", 0x1504 },
385 { "GL_NOOP", 0x1505 },
386 { "GL_XOR", 0x1506 },
388 { "GL_NOR", 0x1508 },
389 { "GL_EQUIV", 0x1509 },
390 { "GL_INVERT", 0x150A },
391 { "GL_OR_REVERSE", 0x150B },
392 { "GL_COPY_INVERTED", 0x150C },
393 { "GL_OR_INVERTED", 0x150D },
394 { "GL_NAND", 0x150E },
395 { "GL_SET", 0x150F },
396 { "GL_EMISSION", 0x1600 },
397 { "GL_SHININESS", 0x1601 },
398 { "GL_AMBIENT_AND_DIFFUSE", 0x1602 },
399 { "GL_COLOR_INDEXES", 0x1603 },
400 { "GL_MODELVIEW0_ARB", 0x1700 },
401 { "GL_MODELVIEW", 0x1700 },
402 { "GL_PROJECTION", 0x1701 },
403 { "GL_TEXTURE", 0x1702 },
404 { "GL_COLOR", 0x1800 },
405 { "GL_DEPTH", 0x1801 },
406 { "GL_STENCIL", 0x1802 },
407 { "GL_COLOR_INDEX", 0x1900 },
408 { "GL_STENCIL_INDEX", 0x1901 },
409 { "GL_DEPTH_COMPONENT", 0x1902 },
410 { "GL_RED", 0x1903 },
411 { "GL_GREEN", 0x1904 },
412 { "GL_BLUE", 0x1905 },
413 { "GL_ALPHA", 0x1906 },
414 { "GL_RGB", 0x1907 },
415 { "GL_RGBA", 0x1908 },
416 { "GL_LUMINANCE", 0x1909 },
417 { "GL_LUMINANCE_ALPHA", 0x190A },
418 { "GL_BITMAP", 0x1A00 },
419 { "GL_POINT", 0x1B00 },
420 { "GL_LINE", 0x1B01 },
421 { "GL_FILL", 0x1B02 },
422 { "GL_RENDER", 0x1C00 },
423 { "GL_FEEDBACK", 0x1C01 },
424 { "GL_SELECT", 0x1C02 },
425 { "GL_FLAT", 0x1D00 },
426 { "GL_SMOOTH", 0x1D01 },
427 { "GL_KEEP", 0x1E00 },
428 { "GL_REPLACE", 0x1E01 },
429 { "GL_INCR", 0x1E02 },
430 { "GL_DECR", 0x1E03 },
431 { "GL_VENDOR", 0x1F00 },
432 { "GL_RENDERER", 0x1F01 },
433 { "GL_VERSION", 0x1F02 },
434 { "GL_EXTENSIONS", 0x1F03 },
435 { "GL_ENABLE_BIT", 0x2000 },
440 { "GL_MODULATE", 0x2100 },
441 { "GL_DECAL", 0x2101 },
442 { "GL_TEXTURE_ENV_MODE", 0x2200 },
443 { "GL_TEXTURE_ENV_COLOR", 0x2201 },
444 { "GL_TEXTURE_ENV", 0x2300 },
445 { "GL_EYE_LINEAR", 0x2400 },
446 { "GL_OBJECT_LINEAR", 0x2401 },
447 { "GL_SPHERE_MAP", 0x2402 },
448 { "GL_TEXTURE_GEN_MODE", 0x2500 },
449 { "GL_OBJECT_PLANE", 0x2501 },
450 { "GL_EYE_PLANE", 0x2502 },
451 { "GL_NEAREST", 0x2600 },
452 { "GL_LINEAR", 0x2601 },
453 { "GL_NEAREST_MIPMAP_NEAREST", 0x2700 },
454 { "GL_LINEAR_MIPMAP_NEAREST", 0x2701 },
455 { "GL_NEAREST_MIPMAP_LINEAR", 0x2702 },
456 { "GL_LINEAR_MIPMAP_LINEAR", 0x2703 },
457 { "GL_TEXTURE_MAG_FILTER", 0x2800 },
458 { "GL_TEXTURE_MIN_FILTER", 0x2801 },
459 { "GL_TEXTURE_WRAP_S", 0x2802 },
460 { "GL_TEXTURE_WRAP_T", 0x2803 },
461 { "GL_CLAMP", 0x2900 },
462 { "GL_REPEAT", 0x2901 },
463 { "GL_POLYGON_OFFSET_UNITS", 0x2A00 },
464 { "GL_POLYGON_OFFSET_POINT", 0x2A01 },
465 { "GL_POLYGON_OFFSET_LINE", 0x2A02 },
466 { "GL_R3_G3_B2", 0x2A10 },
467 { "GL_V2F", 0x2A20 },
468 { "GL_V3F", 0x2A21 },
469 { "GL_C4UB_V2F", 0x2A22 },
470 { "GL_C4UB_V3F", 0x2A23 },
471 { "GL_C3F_V3F", 0x2A24 },
472 { "GL_N3F_V3F", 0x2A25 },
473 { "GL_C4F_N3F_V3F", 0x2A26 },
474 { "GL_T2F_V3F", 0x2A27 },
475 { "GL_T4F_V4F", 0x2A28 },
476 { "GL_T2F_C4UB_V3F", 0x2A29 },
477 { "GL_T2F_C3F_V3F", 0x2A2A },
478 { "GL_T2F_N3F_V3F", 0x2A2B },
479 { "GL_T2F_C4F_N3F_V3F", 0x2A2C },
480 { "GL_T4F_C4F_N3F_V4F", 0x2A2D },
481 { "GL_CLIP_PLANE0", 0x3000 },
482 { "GL_CLIP_PLANE1", 0x3001 },
483 { "GL_CLIP_PLANE2", 0x3002 },
484 { "GL_CLIP_PLANE3", 0x3003 },
485 { "GL_CLIP_PLANE4", 0x3004 },
486 { "GL_CLIP_PLANE5", 0x3005 },
487 { "GL_LIGHT0", 0x4000 },
488 { "GL_COLOR_BUFFER_BIT", 0x4000 },
489 { "GL_LIGHT1", 0x4001 },
490 { "GL_LIGHT2", 0x4002 },
491 { "GL_LIGHT3", 0x4003 },
492 { "GL_LIGHT4", 0x4004 },
493 { "GL_LIGHT5", 0x4005 },
494 { "GL_LIGHT6", 0x4006 },
495 { "GL_LIGHT7", 0x4007 },
496 { "GL_HINT_BIT", 0x8000 },
497 { "GL_CONSTANT_COLOR_EXT", 0x8001 },
498 { "GL_ONE_MINUS_CONSTANT_COLOR_EXT", 0x8002 },
499 { "GL_CONSTANT_ALPHA_EXT", 0x8003 },
500 { "GL_ONE_MINUS_CONSTANT_ALPHA_EXT", 0x8004 },
501 { "GL_BLEND_COLOR_EXT", 0x8005 },
502 { "GL_CONVOLUTION_BORDER_MODE", 0x8013 },
503 { "GL_CONVOLUTION_BORDER_MODE_EXT", 0x8013 },
504 { "GL_CONVOLUTION_FILTER_SCALE", 0x8014 },
505 { "GL_CONVOLUTION_FILTER_SCALE_EXT", 0x8014 },
506 { "GL_CONVOLUTION_FILTER_BIAS_EXT", 0x8015 },
507 { "GL_CONVOLUTION_FILTER_BIAS", 0x8015 },
508 { "GL_REDUCE", 0x8016 },
509 { "GL_REDUCE_EXT", 0x8016 },
510 { "GL_CONVOLUTION_FORMAT", 0x8017 },
511 { "GL_CONVOLUTION_FORMAT_EXT", 0x8017 },
512 { "GL_CONVOLUTION_WIDTH", 0x8018 },
513 { "GL_CONVOLUTION_WIDTH_EXT", 0x8018 },
514 { "GL_CONVOLUTION_HEIGHT", 0x8019 },
515 { "GL_CONVOLUTION_HEIGHT_EXT", 0x8019 },
516 { "GL_MAX_CONVOLUTION_WIDTH", 0x801A },
517 { "GL_MAX_CONVOLUTION_WIDTH_EXT", 0x801A },
518 { "GL_MAX_CONVOLUTION_HEIGHT", 0x801B },
519 { "GL_MAX_CONVOLUTION_HEIGHT_EXT", 0x801B },
520 { "GL_POST_CONVOLUTION_RED_SCALE", 0x801C },
521 { "GL_POST_CONVOLUTION_RED_SCALE_EXT", 0x801C },
522 { "GL_POST_CONVOLUTION_GREEN_SCALE", 0x801D },
523 { "GL_POST_CONVOLUTION_GREEN_SCALE_EXT", 0x801D },
524 { "GL_POST_CONVOLUTION_BLUE_SCALE", 0x801E },
525 { "GL_POST_CONVOLUTION_BLUE_SCALE_EXT", 0x801E },
526 { "GL_POST_CONVOLUTION_ALPHA_SCALE", 0x801F },
527 { "GL_POST_CONVOLUTION_ALPHA_SCALE_EXT", 0x801F },
528 { "GL_POST_CONVOLUTION_RED_BIAS", 0x8020 },
529 { "GL_POST_CONVOLUTION_RED_BIAS_EXT", 0x8020 },
530 { "GL_POST_CONVOLUTION_GREEN_BIAS", 0x8021 },
531 { "GL_POST_CONVOLUTION_GREEN_BIAS_EXT", 0x8021 },
532 { "GL_POST_CONVOLUTION_BLUE_BIAS", 0x8022 },
533 { "GL_POST_CONVOLUTION_BLUE_BIAS_EXT", 0x8022 },
534 { "GL_POST_CONVOLUTION_ALPHA_BIAS_EXT", 0x8023 },
535 { "GL_POST_CONVOLUTION_ALPHA_BIAS", 0x8023 },
536 { "GL_HISTOGRAM", 0x8024 },
537 { "GL_HISTOGRAM_EXT", 0x8024 },
538 { "GL_PROXY_HISTOGRAM", 0x8025 },
539 { "GL_PROXY_HISTOGRAM_EXT", 0x8025 },
540 { "GL_HISTOGRAM_WIDTH_EXT", 0x8026 },
541 { "GL_HISTOGRAM_WIDTH", 0x8026 },
542 { "GL_HISTOGRAM_FORMAT", 0x8027 },
543 { "GL_HISTOGRAM_FORMAT_EXT", 0x8027 },
544 { "GL_HISTOGRAM_RED_SIZE", 0x8028 },
545 { "GL_HISTOGRAM_RED_SIZE_EXT", 0x8028 },
546 { "GL_HISTOGRAM_GREEN_SIZE", 0x8029 },
547 { "GL_HISTOGRAM_GREEN_SIZE_EXT", 0x8029 },
548 { "GL_HISTOGRAM_BLUE_SIZE_EXT", 0x802A },
549 { "GL_HISTOGRAM_BLUE_SIZE", 0x802A },
550 { "GL_HISTOGRAM_ALPHA_SIZE", 0x802B },
551 { "GL_HISTOGRAM_ALPHA_SIZE_EXT", 0x802B },
552 { "GL_HISTOGRAM_LUMINANCE_SIZE", 0x802C },
553 { "GL_HISTOGRAM_LUMINANCE_SIZE_EXT", 0x802C },
554 { "GL_HISTOGRAM_SINK", 0x802D },
555 { "GL_HISTOGRAM_SINK_EXT", 0x802D },
556 { "GL_MINMAX", 0x802E },
557 { "GL_MINMAX_EXT", 0x802E },
558 { "GL_MINMAX_FORMAT", 0x802F },
559 { "GL_MINMAX_FORMAT_EXT", 0x802F },
560 { "GL_MINMAX_SINK", 0x8030 },
561 { "GL_MINMAX_SINK_EXT", 0x8030 },
562 { "GL_TABLE_TOO_LARGE_EXT", 0x8031 },
563 { "GL_UNSIGNED_BYTE_3_3_2", 0x8032 },
564 { "GL_UNSIGNED_SHORT_4_4_4_4", 0x8033 },
565 { "GL_UNSIGNED_SHORT_5_5_5_1", 0x8034 },
566 { "GL_UNSIGNED_INT_8_8_8_8", 0x8035 },
567 { "GL_UNSIGNED_INT_10_10_10_2", 0x8036 },
568 { "GL_POLYGON_OFFSET_FILL", 0x8037 },
569 { "GL_POLYGON_OFFSET_FACTOR", 0x8038 },
570 { "GL_POLYGON_OFFSET_BIAS", 0x8039 },
571 { "GL_RESCALE_NORMAL", 0x803A },
572 { "GL_RESCALE_NORMAL_EXT", 0x803A },
573 { "GL_ALPHA4", 0x803B },
574 { "GL_ALPHA4_EXT", 0x803B },
575 { "GL_ALPHA8", 0x803C },
576 { "GL_ALPHA8_EXT", 0x803C },
577 { "GL_ALPHA12_EXT", 0x803D },
578 { "GL_ALPHA12", 0x803D },
579 { "GL_ALPHA16", 0x803E },
580 { "GL_ALPHA16_EXT", 0x803E },
581 { "GL_LUMINANCE4", 0x803F },
582 { "GL_LUMINANCE4_EXT", 0x803F },
583 { "GL_LUMINANCE8", 0x8040 },
584 { "GL_LUMINANCE8_EXT", 0x8040 },
585 { "GL_LUMINANCE12", 0x8041 },
586 { "GL_LUMINANCE12_EXT", 0x8041 },
587 { "GL_LUMINANCE16", 0x8042 },
588 { "GL_LUMINANCE16_EXT", 0x8042 },
589 { "GL_LUMINANCE4_ALPHA4", 0x8043 },
590 { "GL_LUMINANCE4_ALPHA4_EXT", 0x8043 },
591 { "GL_LUMINANCE6_ALPHA2", 0x8044 },
592 { "GL_LUMINANCE6_ALPHA2_EXT", 0x8044 },
593 { "GL_LUMINANCE8_ALPHA8", 0x8045 },
594 { "GL_LUMINANCE8_ALPHA8_EXT", 0x8045 },
595 { "GL_LUMINANCE12_ALPHA4", 0x8046 },
596 { "GL_LUMINANCE12_ALPHA4_EXT", 0x8046 },
597 { "GL_LUMINANCE12_ALPHA12_EXT", 0x8047 },
598 { "GL_LUMINANCE12_ALPHA12", 0x8047 },
599 { "GL_LUMINANCE16_ALPHA16_EXT", 0x8048 },
600 { "GL_LUMINANCE16_ALPHA16", 0x8048 },
601 { "GL_INTENSITY_EXT", 0x8049 },
602 { "GL_INTENSITY", 0x8049 },
603 { "GL_INTENSITY4_EXT", 0x804A },
604 { "GL_INTENSITY4", 0x804A },
605 { "GL_INTENSITY8_EXT", 0x804B },
606 { "GL_INTENSITY8", 0x804B },
607 { "GL_INTENSITY12", 0x804C },
608 { "GL_INTENSITY12_EXT", 0x804C },
609 { "GL_INTENSITY16_EXT", 0x804D },
610 { "GL_INTENSITY16", 0x804D },
611 { "GL_RGB2_EXT", 0x804E },
612 { "GL_RGB4", 0x804F },
613 { "GL_RGB4_EXT", 0x804F },
614 { "GL_RGB5", 0x8050 },
615 { "GL_RGB5_EXT", 0x8050 },
616 { "GL_RGB8", 0x8051 },
617 { "GL_RGB8_EXT", 0x8051 },
618 { "GL_RGB10", 0x8052 },
619 { "GL_RGB10_EXT", 0x8052 },
620 { "GL_RGB12", 0x8053 },
621 { "GL_RGB12_EXT", 0x8053 },
622 { "GL_RGB16", 0x8054 },
623 { "GL_RGB16_EXT", 0x8054 },
624 { "GL_RGBA2", 0x8055 },
625 { "GL_RGBA2_EXT", 0x8055 },
626 { "GL_RGBA4", 0x8056 },
627 { "GL_RGBA4_EXT", 0x8056 },
628 { "GL_RGB5_A1", 0x8057 },
629 { "GL_RGB5_A1_EXT", 0x8057 },
630 { "GL_RGBA8_EXT", 0x8058 },
631 { "GL_RGBA8", 0x8058 },
632 { "GL_RGB10_A2_EXT", 0x8059 },
633 { "GL_RGB10_A2", 0x8059 },
634 { "GL_RGBA12", 0x805A },
635 { "GL_RGBA12_EXT", 0x805A },
636 { "GL_RGBA16", 0x805B },
637 { "GL_RGBA16_EXT", 0x805B },
638 { "GL_TEXTURE_RED_SIZE", 0x805C },
639 { "GL_TEXTURE_RED_SIZE_EXT", 0x805C },
640 { "GL_TEXTURE_GREEN_SIZE_EXT", 0x805D },
641 { "GL_TEXTURE_GREEN_SIZE", 0x805D },
642 { "GL_TEXTURE_BLUE_SIZE_EXT", 0x805E },
643 { "GL_TEXTURE_BLUE_SIZE", 0x805E },
644 { "GL_TEXTURE_ALPHA_SIZE_EXT", 0x805F },
645 { "GL_TEXTURE_ALPHA_SIZE", 0x805F },
646 { "GL_TEXTURE_LUMINANCE_SIZE", 0x8060 },
647 { "GL_TEXTURE_LUMINANCE_SIZE_EXT", 0x8060 },
648 { "GL_TEXTURE_INTENSITY_SIZE", 0x8061 },
649 { "GL_TEXTURE_INTENSITY_SIZE_EXT", 0x8061 },
650 { "GL_REPLACE_EXT", 0x8062 },
651 { "GL_PROXY_TEXTURE_1D", 0x8063 },
652 { "GL_PROXY_TEXTURE_1D_EXT", 0x8063 },
653 { "GL_PROXY_TEXTURE_2D", 0x8064 },
654 { "GL_PROXY_TEXTURE_2D_EXT", 0x8064 },
655 { "GL_TEXTURE_TOO_LARGE_EXT", 0x8065 },
656 { "GL_TEXTURE_PRIORITY", 0x8066 },
657 { "GL_TEXTURE_RESIDENT", 0x8067 },
658 { "GL_TEXTURE_BINDING_1D", 0x8068 },
659 { "GL_TEXTURE_BINDING_2D", 0x8069 },
660 { "GL_TEXTURE_BINDING_3D", 0x806A },
661 { "GL_PACK_SKIP_IMAGES", 0x806B },
662 { "GL_PACK_IMAGE_HEIGHT", 0x806C },
663 { "GL_UNPACK_SKIP_IMAGES", 0x806D },
664 { "GL_UNPACK_IMAGE_HEIGHT", 0x806E },
665 { "GL_TEXTURE_3D", 0x806F },
666 { "GL_PROXY_TEXTURE_3D", 0x8070 },
667 { "GL_TEXTURE_DEPTH", 0x8071 },
668 { "GL_TEXTURE_WRAP_R", 0x8072 },
669 { "GL_MAX_3D_TEXTURE_SIZE", 0x8073 },
670 { "GL_VERTEX_ARRAY", 0x8074 },
671 { "GL_NORMAL_ARRAY", 0x8075 },
672 { "GL_COLOR_ARRAY", 0x8076 },
673 { "GL_INDEX_ARRAY", 0x8077 },
674 { "GL_TEXTURE_COORD_ARRAY", 0x8078 },
675 { "GL_EDGE_FLAG_ARRAY", 0x8079 },
676 { "GL_VERTEX_ARRAY_SIZE", 0x807A },
677 { "GL_VERTEX_ARRAY_TYPE", 0x807B },
678 { "GL_VERTEX_ARRAY_STRIDE", 0x807C },
679 { "GL_VERTEX_ARRAY_COUNT", 0x807D },
680 { "GL_NORMAL_ARRAY_TYPE", 0x807E },
681 { "GL_NORMAL_ARRAY_STRIDE", 0x807F },
682 { "GL_NORMAL_ARRAY_COUNT", 0x8080 },
683 { "GL_COLOR_ARRAY_SIZE", 0x8081 },
684 { "GL_COLOR_ARRAY_TYPE", 0x8082 },
685 { "GL_COLOR_ARRAY_STRIDE", 0x8083 },
686 { "GL_COLOR_ARRAY_COUNT", 0x8084 },
687 { "GL_INDEX_ARRAY_TYPE", 0x8085 },
688 { "GL_INDEX_ARRAY_STRIDE", 0x8086 },
689 { "GL_INDEX_ARRAY_COUNT", 0x8087 },
690 { "GL_TEXTURE_COORD_ARRAY_SIZE", 0x8088 },
691 { "GL_TEXTURE_COORD_ARRAY_TYPE", 0x8089 },
692 { "GL_TEXTURE_COORD_ARRAY_STRIDE", 0x808A },
693 { "GL_TEXTURE_COORD_ARRAY_COUNT", 0x808B },
694 { "GL_EDGE_FLAG_ARRAY_STRIDE", 0x808C },
695 { "GL_EDGE_FLAG_ARRAY_COUNT", 0x808D },
696 { "GL_VERTEX_ARRAY_POINTER", 0x808E },
697 { "GL_NORMAL_ARRAY_POINTER", 0x808F },
698 { "GL_COLOR_ARRAY_POINTER", 0x8090 },
699 { "GL_INDEX_ARRAY_POINTER", 0x8091 },
700 { "GL_TEXTURE_COORD_ARRAY_POINTER", 0x8092 },
701 { "GL_EDGE_FLAG_ARRAY_POINTER", 0x8093 },
702 { "GL_MULTISAMPLE_ARB", 0x809D },
703 { "GL_MULTISAMPLE", 0x809D },
704 { "GL_SAMPLE_ALPHA_TO_COVERAGE", 0x809E },
705 { "GL_SAMPLE_ALPHA_TO_COVERAGE_ARB", 0x809E },
706 { "GL_SAMPLE_ALPHA_TO_ONE", 0x809F },
707 { "GL_SAMPLE_ALPHA_TO_ONE_ARB", 0x809F },
708 { "GL_SAMPLE_COVERAGE", 0x80A0 },
709 { "GL_SAMPLE_COVERAGE_ARB", 0x80A0 },
710 { "GL_SAMPLE_BUFFERS", 0x80A8 },
711 { "GL_SAMPLE_BUFFERS_ARB", 0x80A8 },
712 { "GL_SAMPLES", 0x80A9 },
713 { "GL_SAMPLES_ARB", 0x80A9 },
714 { "GL_SAMPLE_COVERAGE_VALUE", 0x80AA },
715 { "GL_SAMPLE_COVERAGE_VALUE_ARB", 0x80AA },
716 { "GL_SAMPLE_COVERAGE_INVERT", 0x80AB },
717 { "GL_SAMPLE_COVERAGE_INVERT_ARB", 0x80AB },
718 { "GL_COLOR_MATRIX_SGI", 0x80B1 },
719 { "GL_COLOR_MATRIX", 0x80B1 },
720 { "GL_COLOR_MATRIX_STACK_DEPTH_SGI", 0x80B2 },
721 { "GL_COLOR_MATRIX_STACK_DEPTH", 0x80B2 },
722 { "GL_MAX_COLOR_MATRIX_STACK_DEPTH", 0x80B3 },
723 { "GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI", 0x80B3 },
724 { "GL_POST_COLOR_MATRIX_RED_SCALE_SGI", 0x80B4 },
725 { "GL_POST_COLOR_MATRIX_RED_SCALE", 0x80B4 },
726 { "GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI", 0x80B5 },
727 { "GL_POST_COLOR_MATRIX_GREEN_SCALE", 0x80B5 },
728 { "GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI", 0x80B6 },
729 { "GL_POST_COLOR_MATRIX_BLUE_SCALE", 0x80B6 },
730 { "GL_POST_COLOR_MATRIX_ALPHA_SCALE", 0x80B7 },
731 { "GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI", 0x80B7 },
732 { "GL_POST_COLOR_MATRIX_RED_BIAS", 0x80B8 },
733 { "GL_POST_COLOR_MATRIX_RED_BIAS_SGI", 0x80B8 },
734 { "GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI", 0x80B9 },
735 { "GL_POST_COLOR_MATRIX_GREEN_BIAS", 0x80B9 },
736 { "GL_POST_COLOR_MATRIX_BLUE_BIAS", 0x80BA },
737 { "GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI", 0x80BA },
738 { "GL_POST_COLOR_MATRIX_ALPHA_BIAS", 0x80BB },
739 { "GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI", 0x80BB },
740 { "GL_TEXTURE_COLOR_TABLE_SGI", 0x80BC },
741 { "GL_PROXY_TEXTURE_COLOR_TABLE_SGI", 0x80BD },
742 { "GL_SHADOW_AMBIENT_SGIX", 0x80BF },
743 { "GL_TEXTURE_COMPARE_FAIL_VALUE_ARB", 0x80BF },
744 { "GL_BLEND_DST_RGB", 0x80C8 },
745 { "GL_BLEND_SRC_RGB", 0x80C9 },
746 { "GL_BLEND_DST_ALPHA", 0x80CA },
747 { "GL_BLEND_SRC_ALPHA", 0x80CB },
748 { "GL_COLOR_TABLE_SCALE", 0x80D6 },
749 { "GL_COLOR_TABLE_BIAS", 0x80D7 },
750 { "GL_COLOR_TABLE_FORMAT_EXT", 0x80D8 },
751 { "GL_COLOR_TABLE_FORMAT", 0x80D8 },
752 { "GL_COLOR_TABLE_WIDTH", 0x80D9 },
753 { "GL_COLOR_TABLE_WIDTH_EXT", 0x80D9 },
754 { "GL_COLOR_TABLE_RED_SIZE_EXT", 0x80DA },
755 { "GL_COLOR_TABLE_RED_SIZE", 0x80DA },
756 { "GL_COLOR_TABLE_GREEN_SIZE_EXT", 0x80DB },
757 { "GL_COLOR_TABLE_GREEN_SIZE", 0x80DB },
758 { "GL_COLOR_TABLE_BLUE_SIZE_EXT", 0x80DC },
759 { "GL_COLOR_TABLE_BLUE_SIZE", 0x80DC },
760 { "GL_COLOR_TABLE_ALPHA_SIZE_EXT", 0x80DD },
761 { "GL_COLOR_TABLE_ALPHA_SIZE", 0x80DD },
762 { "GL_COLOR_TABLE_LUMINANCE_SIZE_EXT", 0x80DE },
763 { "GL_COLOR_TABLE_LUMINANCE_SIZE", 0x80DE },
764 { "GL_COLOR_TABLE_INTENSITY_SIZE_EXT", 0x80DF },
765 { "GL_COLOR_TABLE_INTENSITY_SIZE", 0x80DF },
766 { "GL_BGR", 0x80E0 },
767 { "GL_BGRA", 0x80E1 },
768 { "GL_MAX_ELEMENTS_VERTICES", 0x80E8 },
769 { "GL_MAX_ELEMENTS_INDICES", 0x80E9 },
770 { "GL_TEXTURE_INDEX_SIZE_EXT", 0x80ED },
771 { "GL_CLIP_VOLUME_CLIPPING_HINT_EXT", 0x80F0 },
772 { "GL_POINT_SIZE_MIN", 0x8126 },
773 { "GL_POINT_SIZE_MIN_EXT", 0x8126 },
774 { "GL_POINT_SIZE_MIN_SGIS", 0x8126 },
775 { "GL_POINT_SIZE_MIN_ARB", 0x8126 },
776 { "GL_POINT_SIZE_MIN_EXT", 0x8126 },
777 { "GL_POINT_SIZE_MAX_EXT", 0x8127 },
778 { "GL_POINT_SIZE_MAX_EXT", 0x8127 },
779 { "GL_POINT_SIZE_MAX", 0x8127 },
780 { "GL_POINT_SIZE_MAX_SGIS", 0x8127 },
781 { "GL_POINT_SIZE_MAX_ARB", 0x8127 },
782 { "GL_POINT_FADE_THRESHOLD_SIZE", 0x8128 },
783 { "GL_POINT_FADE_THRESHOLD_SIZE_EXT", 0x8128 },
784 { "GL_POINT_FADE_THRESHOLD_SIZE_EXT", 0x8128 },
785 { "GL_POINT_FADE_THRESHOLD_SIZE_ARB", 0x8128 },
786 { "GL_POINT_FADE_THRESHOLD_SIZE_SGIS", 0x8128 },
787 { "GL_POINT_DISTANCE_ATTENUATION", 0x8129 },
788 { "GL_POINT_DISTANCE_ATTENUATION_EXT", 0x8129 },
789 { "GL_POINT_DISTANCE_ATTENUATION_EXT", 0x8129 },
790 { "GL_POINT_DISTANCE_ATTENUATION_ARB", 0x8129 },
791 { "GL_POINT_DISTANCE_ATTENUATION_SGIS", 0x8129 },
792 { "GL_CLAMP_TO_BORDER_ARB", 0x812D },
793 { "GL_CLAMP_TO_BORDER_SGIS", 0x812D },
794 { "GL_CLAMP_TO_BORDER", 0x812D },
795 { "GL_CLAMP_TO_EDGE_SGIS", 0x812F },
796 { "GL_CLAMP_TO_EDGE", 0x812F },
797 { "GL_TEXTURE_MIN_LOD", 0x813A },
798 { "GL_TEXTURE_MAX_LOD", 0x813B },
799 { "GL_TEXTURE_BASE_LEVEL", 0x813C },
800 { "GL_TEXTURE_MAX_LEVEL", 0x813D },
801 { "GL_IGNORE_BORDER_HP", 0x8150 },
802 { "GL_CONSTANT_BORDER_HP", 0x8151 },
803 { "GL_REPLICATE_BORDER_HP", 0x8153 },
804 { "GL_CONVOLUTION_BORDER_COLOR", 0x8154 },
805 { "GL_CONVOLUTION_BORDER_COLOR_HP", 0x8154 },
806 { "GL_OCCLUSION_TEST_HP", 0x8165 },
807 { "GL_OCCLUSION_TEST_RESULT_HP", 0x8166 },
808 { "GL_LINEAR_CLIPMAP_LINEAR_SGIX", 0x8170 },
809 { "GL_TEXTURE_CLIPMAP_CENTER_SGIX", 0x8171 },
810 { "GL_TEXTURE_CLIPMAP_FRAME_SGIX", 0x8172 },
811 { "GL_TEXTURE_CLIPMAP_OFFSET_SGIX", 0x8173 },
812 { "GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX", 0x8174 },
813 { "GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX", 0x8175 },
814 { "GL_TEXTURE_CLIPMAP_DEPTH_SGIX", 0x8176 },
815 { "GL_MAX_CLIPMAP_DEPTH_SGIX", 0x8177 },
816 { "GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX", 0x8178 },
817 { "GL_POST_TEXTURE_FILTER_BIAS_SGIX", 0x8179 },
818 { "GL_POST_TEXTURE_FILTER_SCALE_SGIX", 0x817A },
819 { "GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX", 0x817B },
820 { "GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX", 0x817C },
821 { "GL_TEXTURE_LOD_BIAS_S_SGIX", 0x818E },
822 { "GL_TEXTURE_LOD_BIAS_T_SGIX", 0x818F },
823 { "GL_TEXTURE_LOD_BIAS_R_SGIX", 0x8190 },
824 { "GL_GENERATE_MIPMAP_SGIS", 0x8191 },
825 { "GL_GENERATE_MIPMAP", 0x8191 },
826 { "GL_GENERATE_MIPMAP_HINT_SGIS", 0x8192 },
827 { "GL_GENERATE_MIPMAP_HINT", 0x8192 },
828 { "GL_FOG_OFFSET_SGIX", 0x8198 },
829 { "GL_FOG_OFFSET_VALUE_SGIX", 0x8199 },
830 { "GL_TEXTURE_COMPARE_SGIX", 0x819A },
831 { "GL_TEXTURE_COMPARE_OPERATOR_SGIX", 0x819B },
832 { "GL_TEXTURE_LEQUAL_R_SGIX", 0x819C },
833 { "GL_TEXTURE_GEQUAL_R_SGIX", 0x819D },
834 { "GL_DEPTH_COMPONENT16_ARB", 0x81A5 },
835 { "GL_DEPTH_COMPONENT16_SGIX", 0x81A5 },
836 { "GL_DEPTH_COMPONENT16", 0x81A5 },
837 { "GL_DEPTH_COMPONENT24", 0x81A6 },
838 { "GL_DEPTH_COMPONENT24_SGIX", 0x81A6 },
839 { "GL_DEPTH_COMPONENT24_ARB", 0x81A6 },
840 { "GL_DEPTH_COMPONENT32_ARB", 0x81A7 },
841 { "GL_DEPTH_COMPONENT32", 0x81A7 },
842 { "GL_DEPTH_COMPONENT32_SGIX", 0x81A7 },
843 { "GL_CULL_VERTEX_EXT", 0x81AA },
844 { "GL_CULL_VERTEX_OBJECT_POSITION_EXT", 0x81AB },
845 { "GL_CULL_VERTEX_EYE_POSITION_EXT", 0x81AC },
846 { "GL_WRAP_BORDER_SUN", 0x81D4 },
847 { "GL_TEXTURE_COLOR_WRITEMASK_SGIS", 0x81EF },
848 { "GL_LIGHT_MODEL_COLOR_CONTROL_EXT", 0x81F8 },
849 { "GL_LIGHT_MODEL_COLOR_CONTROL", 0x81F8 },
850 { "GL_SINGLE_COLOR", 0x81F9 },
851 { "GL_SINGLE_COLOR_EXT", 0x81F9 },
852 { "GL_SEPARATE_SPECULAR_COLOR_EXT", 0x81FA },
853 { "GL_SEPARATE_SPECULAR_COLOR", 0x81FA },
854 { "GL_SHARED_TEXTURE_PALETTE_EXT", 0x81FB },
855 { "GL_UNSIGNED_BYTE_2_3_3_REV", 0x8362 },
856 { "GL_UNSIGNED_SHORT_5_6_5", 0x8363 },
857 { "GL_UNSIGNED_SHORT_5_6_5_REV", 0x8364 },
858 { "GL_UNSIGNED_SHORT_4_4_4_4_REV", 0x8365 },
859 { "GL_UNSIGNED_SHORT_1_5_5_5_REV", 0x8366 },
860 { "GL_UNSIGNED_INT_8_8_8_8_REV", 0x8367 },
861 { "GL_UNSIGNED_INT_2_10_10_10_REV", 0x8368 },
862 { "GL_TEXTURE_MAX_CLAMP_S_SGIX", 0x8369 },
863 { "GL_TEXTURE_MAX_CLAMP_T_SGIX", 0x836A },
864 { "GL_TEXTURE_MAX_CLAMP_R_SGIX", 0x836B },
865 { "GL_MIRRORED_REPEAT_ARB", 0x8370 },
866 { "GL_MIRRORED_REPEAT", 0x8370 },
867 { "GL_MIRRORED_REPEAT_IBM", 0x8370 },
868 { "GL_RGB_S3TC", 0x83A0 },
869 { "GL_RGB4_S3TC", 0x83A1 },
870 { "GL_RGBA_S3TC", 0x83A2 },
871 { "GL_RGBA4_S3TC", 0x83A3 },
872 { "GL_RGBA_DXT5_S3TC", 0x83A4 },
873 { "GL_RGBA4_DXT5_S3TC", 0x83A5 },
874 { "GL_COMPRESSED_RGB_S3TC_DXT1_EXT", 0x83F0 },
875 { "GL_COMPRESSED_RGB_S3TC_DXT1_EXT", 0x83F0 },
876 { "GL_COMPRESSED_RGB_S3TC_DXT1_EXT", 0x83F0 },
877 { "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT", 0x83F1 },
878 { "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT", 0x83F1 },
879 { "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT", 0x83F1 },
880 { "GL_COMPRESSED_RGBA_S3TC_DXT3_EXT", 0x83F2 },
881 { "GL_COMPRESSED_RGBA_S3TC_DXT3_EXT", 0x83F2 },
882 { "GL_COMPRESSED_RGBA_S3TC_DXT5_EXT", 0x83F3 },
883 { "GL_COMPRESSED_RGBA_S3TC_DXT5_EXT", 0x83F3 },
884 { "GL_NEAREST_CLIPMAP_NEAREST_SGIX", 0x844D },
885 { "GL_NEAREST_CLIPMAP_LINEAR_SGIX", 0x844E },
886 { "GL_LINEAR_CLIPMAP_NEAREST_SGIX", 0x844F },
887 { "GL_FOG_COORD_SOURCE", 0x8450 },
888 { "GL_FOG_COORDINATE_SOURCE", 0x8450 },
889 { "GL_FOG_COORD", 0x8451 },
890 { "GL_FOG_COORDINATE", 0x8451 },
891 { "GL_FRAGMENT_DEPTH", 0x8452 },
892 { "GL_CURRENT_FOG_COORD", 0x8453 },
893 { "GL_CURRENT_FOG_COORDINATE", 0x8453 },
894 { "GL_FOG_COORDINATE_ARRAY_TYPE", 0x8454 },
895 { "GL_FOG_COORD_ARRAY_TYPE", 0x8454 },
896 { "GL_FOG_COORD_ARRAY_STRIDE", 0x8455 },
897 { "GL_FOG_COORDINATE_ARRAY_STRIDE", 0x8455 },
898 { "GL_FOG_COORDINATE_ARRAY_POINTER", 0x8456 },
899 { "GL_FOG_COORD_ARRAY_POINTER", 0x8456 },
900 { "GL_FOG_COORD_ARRAY", 0x8457 },
901 { "GL_FOG_COORDINATE_ARRAY", 0x8457 },
902 { "GL_COLOR_SUM_ARB", 0x8458 },
903 { "GL_COLOR_SUM", 0x8458 },
904 { "GL_CURRENT_SECONDARY_COLOR", 0x8459 },
905 { "GL_SECONDARY_COLOR_ARRAY_SIZE", 0x845A },
906 { "GL_SECONDARY_COLOR_ARRAY_TYPE", 0x845B },
907 { "GL_SECONDARY_COLOR_ARRAY_STRIDE", 0x845C },
908 { "GL_SECONDARY_COLOR_ARRAY_POINTER", 0x845D },
909 { "GL_SECONDARY_COLOR_ARRAY", 0x845E },
910 { "GL_ALIASED_POINT_SIZE_RANGE", 0x846D },
911 { "GL_ALIASED_LINE_WIDTH_RANGE", 0x846E },
912 { "GL_TEXTURE0_ARB", 0x84C0 },
913 { "GL_TEXTURE0", 0x84C0 },
914 { "GL_TEXTURE1_ARB", 0x84C1 },
915 { "GL_TEXTURE1", 0x84C1 },
916 { "GL_TEXTURE2", 0x84C2 },
917 { "GL_TEXTURE2_ARB", 0x84C2 },
918 { "GL_TEXTURE3", 0x84C3 },
919 { "GL_TEXTURE3_ARB", 0x84C3 },
920 { "GL_TEXTURE4", 0x84C4 },
921 { "GL_TEXTURE4_ARB", 0x84C4 },
922 { "GL_TEXTURE5", 0x84C5 },
923 { "GL_TEXTURE5_ARB", 0x84C5 },
924 { "GL_TEXTURE6", 0x84C6 },
925 { "GL_TEXTURE6_ARB", 0x84C6 },
926 { "GL_TEXTURE7", 0x84C7 },
927 { "GL_TEXTURE7_ARB", 0x84C7 },
928 { "GL_TEXTURE8", 0x84C8 },
929 { "GL_TEXTURE8_ARB", 0x84C8 },
930 { "GL_TEXTURE9_ARB", 0x84C9 },
931 { "GL_TEXTURE9", 0x84C9 },
932 { "GL_TEXTURE10", 0x84CA },
933 { "GL_TEXTURE10_ARB", 0x84CA },
934 { "GL_TEXTURE11", 0x84CB },
935 { "GL_TEXTURE11_ARB", 0x84CB },
936 { "GL_TEXTURE12", 0x84CC },
937 { "GL_TEXTURE12_ARB", 0x84CC },
938 { "GL_TEXTURE13_ARB", 0x84CD },
939 { "GL_TEXTURE13", 0x84CD },
940 { "GL_TEXTURE14", 0x84CE },
941 { "GL_TEXTURE14_ARB", 0x84CE },
942 { "GL_TEXTURE15_ARB", 0x84CF },
943 { "GL_TEXTURE15", 0x84CF },
944 { "GL_TEXTURE16", 0x84D0 },
945 { "GL_TEXTURE16_ARB", 0x84D0 },
946 { "GL_TEXTURE17_ARB", 0x84D1 },
947 { "GL_TEXTURE17", 0x84D1 },
948 { "GL_TEXTURE18", 0x84D2 },
949 { "GL_TEXTURE18_ARB", 0x84D2 },
950 { "GL_TEXTURE19_ARB", 0x84D3 },
951 { "GL_TEXTURE19", 0x84D3 },
952 { "GL_TEXTURE20_ARB", 0x84D4 },
953 { "GL_TEXTURE20", 0x84D4 },
954 { "GL_TEXTURE21_ARB", 0x84D5 },
955 { "GL_TEXTURE21", 0x84D5 },
956 { "GL_TEXTURE22_ARB", 0x84D6 },
957 { "GL_TEXTURE22", 0x84D6 },
958 { "GL_TEXTURE23", 0x84D7 },
959 { "GL_TEXTURE23_ARB", 0x84D7 },
960 { "GL_TEXTURE24", 0x84D8 },
961 { "GL_TEXTURE24_ARB", 0x84D8 },
962 { "GL_TEXTURE25_ARB", 0x84D9 },
963 { "GL_TEXTURE25", 0x84D9 },
964 { "GL_TEXTURE26_ARB", 0x84DA },
965 { "GL_TEXTURE26", 0x84DA },
966 { "GL_TEXTURE27_ARB", 0x84DB },
967 { "GL_TEXTURE27", 0x84DB },
968 { "GL_TEXTURE28_ARB", 0x84DC },
969 { "GL_TEXTURE28", 0x84DC },
970 { "GL_TEXTURE29_ARB", 0x84DD },
971 { "GL_TEXTURE29", 0x84DD },
972 { "GL_TEXTURE30", 0x84DE },
973 { "GL_TEXTURE30_ARB", 0x84DE },
974 { "GL_TEXTURE31", 0x84DF },
975 { "GL_TEXTURE31_ARB", 0x84DF },
976 { "GL_ACTIVE_TEXTURE", 0x84E0 },
977 { "GL_ACTIVE_TEXTURE_ARB", 0x84E0 },
978 { "GL_CLIENT_ACTIVE_TEXTURE_ARB", 0x84E1 },
979 { "GL_CLIENT_ACTIVE_TEXTURE", 0x84E1 },
980 { "GL_MAX_TEXTURE_UNITS_ARB", 0x84E2 },
981 { "GL_MAX_TEXTURE_UNITS", 0x84E2 },
982 { "GL_TRANSPOSE_MODELVIEW_MATRIX_ARB", 0x84E3 },
983 { "GL_TRANSPOSE_MODELVIEW_MATRIX", 0x84E3 },
984 { "GL_TRANSPOSE_PROJECTION_MATRIX_ARB", 0x84E4 },
985 { "GL_TRANSPOSE_PROJECTION_MATRIX", 0x84E4 },
986 { "GL_TRANSPOSE_TEXTURE_MATRIX", 0x84E5 },
987 { "GL_TRANSPOSE_TEXTURE_MATRIX_ARB", 0x84E5 },
988 { "GL_TRANSPOSE_COLOR_MATRIX", 0x84E6 },
989 { "GL_TRANSPOSE_COLOR_MATRIX_ARB", 0x84E6 },
990 { "GL_SUBTRACT", 0x84E7 },
991 { "GL_SUBTRACT_ARB", 0x84E7 },
992 { "GL_MAX_RENDERBUFFER_SIZE_EXT", 0x84E8 },
993 { "GL_COMPRESSED_ALPHA_ARB", 0x84E9 },
994 { "GL_COMPRESSED_ALPHA", 0x84E9 },
995 { "GL_COMPRESSED_LUMINANCE_ARB", 0x84EA },
996 { "GL_COMPRESSED_LUMINANCE", 0x84EA },
997 { "GL_COMPRESSED_LUMINANCE_ALPHA", 0x84EB },
998 { "GL_COMPRESSED_LUMINANCE_ALPHA_ARB", 0x84EB },
999 { "GL_COMPRESSED_INTENSITY", 0x84EC },
1000 { "GL_COMPRESSED_INTENSITY_ARB", 0x84EC },
1001 { "GL_COMPRESSED_RGB", 0x84ED },
1002 { "GL_COMPRESSED_RGB_ARB", 0x84ED },
1003 { "GL_COMPRESSED_RGBA", 0x84EE },
1004 { "GL_COMPRESSED_RGBA_ARB", 0x84EE },
1005 { "GL_TEXTURE_COMPRESSION_HINT", 0x84EF },
1006 { "GL_TEXTURE_COMPRESSION_HINT_ARB", 0x84EF },
1007 { "GL_TEXTURE_RECTANGLE_NV", 0x84F5 },
1008 { "GL_TEXTURE_RECTANGLE_ARB", 0x84F5 },
1009 { "GL_TEXTURE_BINDING_RECTANGLE_NV", 0x84F6 },
1010 { "GL_TEXTURE_BINDING_RECTANGLE_ARB", 0x84F6 },
1011 { "GL_PROXY_TEXTURE_RECTANGLE_ARB", 0x84F7 },
1012 { "GL_PROXY_TEXTURE_RECTANGLE_NV", 0x84F7 },
1013 { "GL_MAX_RECTANGLE_TEXTURE_SIZE_NV", 0x84F8 },
1014 { "GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB", 0x84F8 },
1015 { "GL_DEPTH_STENCIL_NV", 0x84F9 },
1016 { "GL_UNSIGNED_INT_24_8_NV", 0x84FA },
1017 { "GL_MAX_TEXTURE_LOD_BIAS", 0x84FD },
1018 { "GL_TEXTURE_MAX_ANISOTROPY_EXT", 0x84FE },
1019 { "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT", 0x84FF },
1020 { "GL_TEXTURE_FILTER_CONTROL", 0x8500 },
1021 { "GL_TEXTURE_LOD_BIAS", 0x8501 },
1022 { "GL_TEXTURE_LOD_BIAS_EXT", 0x8501 },
1023 { "GL_COMBINE4", 0x8503 },
1024 { "GL_MAX_SHININESS_NV", 0x8504 },
1025 { "GL_MAX_SPOT_EXPONENT_NV", 0x8505 },
1026 { "GL_INCR_WRAP_EXT", 0x8507 },
1027 { "GL_INCR_WRAP", 0x8507 },
1028 { "GL_DECR_WRAP", 0x8508 },
1029 { "GL_DECR_WRAP_EXT", 0x8508 },
1030 { "GL_MODELVIEW1_ARB", 0x850A },
1031 { "GL_NORMAL_MAP", 0x8511 },
1032 { "GL_NORMAL_MAP_NV", 0x8511 },
1033 { "GL_NORMAL_MAP_ARB", 0x8511 },
1034 { "GL_REFLECTION_MAP_NV", 0x8512 },
1035 { "GL_REFLECTION_MAP_ARB", 0x8512 },
1036 { "GL_REFLECTION_MAP", 0x8512 },
1037 { "GL_TEXTURE_CUBE_MAP_ARB", 0x8513 },
1038 { "GL_TEXTURE_CUBE_MAP", 0x8513 },
1039 { "GL_TEXTURE_BINDING_CUBE_MAP_ARB", 0x8514 },
1040 { "GL_TEXTURE_BINDING_CUBE_MAP", 0x8514 },
1041 { "GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB", 0x8515 },
1042 { "GL_TEXTURE_CUBE_MAP_POSITIVE_X", 0x8515 },
1043 { "GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB", 0x8516 },
1044 { "GL_TEXTURE_CUBE_MAP_NEGATIVE_X", 0x8516 },
1045 { "GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB", 0x8517 },
1046 { "GL_TEXTURE_CUBE_MAP_POSITIVE_Y", 0x8517 },
1047 { "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y", 0x8518 },
1048 { "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB", 0x8518 },
1049 { "GL_TEXTURE_CUBE_MAP_POSITIVE_Z", 0x8519 },
1050 { "GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB", 0x8519 },
1051 { "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z", 0x851A },
1052 { "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB", 0x851A },
1053 { "GL_PROXY_TEXTURE_CUBE_MAP", 0x851B },
1054 { "GL_PROXY_TEXTURE_CUBE_MAP_ARB", 0x851B },
1055 { "GL_MAX_CUBE_MAP_TEXTURE_SIZE", 0x851C },
1056 { "GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB", 0x851C },
1057 { "GL_MULTISAMPLE_FILTER_HINT_NV", 0x8534 },
1058 { "GL_FOG_DISTANCE_MODE_NV", 0x855A },
1059 { "GL_EYE_RADIAL_NV", 0x855B },
1060 { "GL_EYE_PLANE_ABSOLUTE_NV", 0x855C },
1061 { "GL_COMBINE_EXT", 0x8570 },
1062 { "GL_COMBINE", 0x8570 },
1063 { "GL_COMBINE_ARB", 0x8570 },
1064 { "GL_COMBINE_RGB_ARB", 0x8571 },
1065 { "GL_COMBINE_RGB_EXT", 0x8571 },
1066 { "GL_COMBINE_RGB", 0x8571 },
1067 { "GL_COMBINE_ALPHA", 0x8572 },
1068 { "GL_COMBINE_ALPHA_EXT", 0x8572 },
1069 { "GL_COMBINE_ALPHA_ARB", 0x8572 },
1070 { "GL_RGB_SCALE", 0x8573 },
1071 { "GL_RGB_SCALE_ARB", 0x8573 },
1072 { "GL_RGB_SCALE_EXT", 0x8573 },
1073 { "GL_ADD_SIGNED", 0x8574 },
1074 { "GL_ADD_SIGNED_EXT", 0x8574 },
1075 { "GL_ADD_SIGNED_ARB", 0x8574 },
1076 { "GL_INTERPOLATE", 0x8575 },
1077 { "GL_INTERPOLATE_EXT", 0x8575 },
1078 { "GL_INTERPOLATE_ARB", 0x8575 },
1079 { "GL_CONSTANT", 0x8576 },
1080 { "GL_CONSTANT_EXT", 0x8576 },
1081 { "GL_CONSTANT_ARB", 0x8576 },
1082 { "GL_PRIMARY_COLOR_ARB", 0x8577 },
1083 { "GL_PRIMARY_COLOR_EXT", 0x8577 },
1084 { "GL_PRIMARY_COLOR", 0x8577 },
1085 { "GL_PREVIOUS_ARB", 0x8578 },
1086 { "GL_PREVIOUS_EXT", 0x8578 },
1087 { "GL_PREVIOUS", 0x8578 },
1088 { "GL_SOURCE0_RGB_EXT", 0x8580 },
1089 { "GL_SOURCE0_RGB", 0x8580 },
1090 { "GL_SOURCE0_RGB_ARB", 0x8580 },
1091 { "GL_SRC0_RGB", 0x8580 },
1092 { "GL_SOURCE1_RGB_ARB", 0x8581 },
1093 { "GL_SOURCE1_RGB", 0x8581 },
1094 { "GL_SRC1_RGB", 0x8581 },
1095 { "GL_SOURCE1_RGB_EXT", 0x8581 },
1096 { "GL_SOURCE2_RGB_ARB", 0x8582 },
1097 { "GL_SOURCE2_RGB_EXT", 0x8582 },
1098 { "GL_SRC2_RGB", 0x8582 },
1099 { "GL_SOURCE2_RGB", 0x8582 },
1100 { "GL_SOURCE3_RGB_NV", 0x8583 },
1101 { "GL_SOURCE0_ALPHA_ARB", 0x8588 },
1102 { "GL_SOURCE0_ALPHA_EXT", 0x8588 },
1103 { "GL_SRC0_ALPHA", 0x8588 },
1104 { "GL_SOURCE0_ALPHA", 0x8588 },
1105 { "GL_SOURCE1_ALPHA_ARB", 0x8589 },
1106 { "GL_SOURCE1_ALPHA", 0x8589 },
1107 { "GL_SRC1_ALPHA", 0x8589 },
1108 { "GL_SOURCE1_ALPHA_EXT", 0x8589 },
1109 { "GL_SOURCE2_ALPHA_ARB", 0x858A },
1110 { "GL_SOURCE2_ALPHA", 0x858A },
1111 { "GL_SRC2_ALPHA", 0x858A },
1112 { "GL_SOURCE2_ALPHA_EXT", 0x858A },
1113 { "GL_SOURCE3_ALPHA_NV", 0x858B },
1114 { "GL_OPERAND0_RGB", 0x8590 },
1115 { "GL_OPERAND0_RGB_EXT", 0x8590 },
1116 { "GL_OPERAND0_RGB_ARB", 0x8590 },
1117 { "GL_OPERAND1_RGB", 0x8591 },
1118 { "GL_OPERAND1_RGB_EXT", 0x8591 },
1119 { "GL_OPERAND1_RGB_ARB", 0x8591 },
1120 { "GL_OPERAND2_RGB", 0x8592 },
1121 { "GL_OPERAND2_RGB_EXT", 0x8592 },
1122 { "GL_OPERAND2_RGB_ARB", 0x8592 },
1123 { "GL_OPERAND3_RGB_NV", 0x8593 },
1124 { "GL_OPERAND0_ALPHA_EXT", 0x8598 },
1125 { "GL_OPERAND0_ALPHA", 0x8598 },
1126 { "GL_OPERAND0_ALPHA_ARB", 0x8598 },
1127 { "GL_OPERAND1_ALPHA", 0x8599 },
1128 { "GL_OPERAND1_ALPHA_EXT", 0x8599 },
1129 { "GL_OPERAND1_ALPHA_ARB", 0x8599 },
1130 { "GL_OPERAND2_ALPHA", 0x859A },
1131 { "GL_OPERAND2_ALPHA_ARB", 0x859A },
1132 { "GL_OPERAND2_ALPHA_EXT", 0x859A },
1133 { "GL_OPERAND3_ALPHA_NV", 0x859B },
1134 { "GL_YCBCR_422_APPLE", 0x85B9 },
1135 { "GL_UNSIGNED_SHORT_8_8_APPLE", 0x85BA },
1136 { "GL_UNSIGNED_SHORT_8_8_MESA", 0x85BA },
1137 { "GL_UNSIGNED_SHORT_8_8_REV_MESA", 0x85BB },
1138 { "GL_UNSIGNED_SHORT_8_8_REV_APPLE", 0x85BB },
1139 { "GL_SLICE_ACCUM_SUN", 0x85CC },
1140 { "GL_QUAD_MESH_SUN", 0x8614 },
1141 { "GL_TRIANGLE_MESH_SUN", 0x8615 },
1142 { "GL_VERTEX_PROGRAM_ARB", 0x8620 },
1143 { "GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB", 0x8622 },
1144 { "GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB", 0x8623 },
1145 { "GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB", 0x8624 },
1146 { "GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB", 0x8625 },
1147 { "GL_CURRENT_VERTEX_ATTRIB_ARB", 0x8626 },
1148 { "GL_PROGRAM_LENGTH_ARB", 0x8627 },
1149 { "GL_PROGRAM_STRING_ARB", 0x8628 },
1150 { "GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB", 0x862E },
1151 { "GL_MAX_PROGRAM_MATRICES_ARB", 0x862F },
1152 { "GL_CURRENT_MATRIX_STACK_DEPTH_ARB", 0x8640 },
1153 { "GL_CURRENT_MATRIX_ARB", 0x8641 },
1154 { "GL_VERTEX_PROGRAM_POINT_SIZE_ARB", 0x8642 },
1155 { "GL_VERTEX_PROGRAM_TWO_SIDE_ARB", 0x8643 },
1156 { "GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB", 0x8645 },
1157 { "GL_PROGRAM_ERROR_POSITION_ARB", 0x864B },
1158 { "GL_DEPTH_CLAMP_NV", 0x864F },
1159 { "GL_PROGRAM_BINDING_ARB", 0x8677 },
1160 { "GL_TEXTURE_COMPRESSED_IMAGE_SIZE", 0x86A0 },
1161 { "GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB", 0x86A0 },
1162 { "GL_TEXTURE_COMPRESSED_ARB", 0x86A1 },
1163 { "GL_TEXTURE_COMPRESSED", 0x86A1 },
1164 { "GL_NUM_TEXTURE_COMPRESSED_FORMATS_ARB", 0x86A2 },
1165 { "GL_NUM_COMPRESSED_TEXTURE_FORMATS", 0x86A2 },
1166 { "GL_TEXTURE_COMPRESSED_FORMATS_ARB", 0x86A3 },
1167 { "GL_COMPRESSED_TEXTURE_FORMATS", 0x86A3 },
1168 { "GL_MAX_VERTEX_UNITS_ARB", 0x86A4 },
1169 { "GL_ACTIVE_VERTEX_UNITS_ARB", 0x86A5 },
1170 { "GL_WEIGHT_SUM_UNITY_ARB", 0x86A6 },
1171 { "GL_VERTEX_BLEND_ARB", 0x86A7 },
1172 { "GL_CURRENT_WEIGHT_ARB", 0x86A8 },
1173 { "GL_WEIGHT_ARRAY_TYPE_ARB", 0x86A9 },
1174 { "GL_WEIGHT_ARRAY_STRIDE_ARB", 0x86AA },
1175 { "GL_WEIGHT_ARRAY_SIZE_ARB", 0x86AB },
1176 { "GL_WEIGHT_ARRAY_POINTER_ARB", 0x86AC },
1177 { "GL_WEIGHT_ARRAY_ARB", 0x86AD },
1178 { "GL_DOT3_RGB_ARB", 0x86AE },
1179 { "GL_DOT3_RGB", 0x86AE },
1180 { "GL_DOT3_RGBA_ARB", 0x86AF },
1181 { "GL_DOT3_RGBA", 0x86AF },
1182 { "GL_COMPRESSED_RGB_FXT1_3DFX", 0x86B0 },
1183 { "GL_COMPRESSED_RGBA_FXT1_3DFX", 0x86B1 },
1184 { "GL_MULTISAMPLE_3DFX", 0x86B2 },
1185 { "GL_SAMPLE_BUFFERS_3DFX", 0x86B3 },
1186 { "GL_SAMPLES_3DFX", 0x86B4 },
1187 { "GL_MODELVIEW2_ARB", 0x8722 },
1188 { "GL_MODELVIEW3_ARB", 0x8723 },
1189 { "GL_MODELVIEW4_ARB", 0x8724 },
1190 { "GL_MODELVIEW5_ARB", 0x8725 },
1191 { "GL_MODELVIEW6_ARB", 0x8726 },
1192 { "GL_MODELVIEW7_ARB", 0x8727 },
1193 { "GL_MODELVIEW8_ARB", 0x8728 },
1194 { "GL_MODELVIEW9_ARB", 0x8729 },
1195 { "GL_MODELVIEW10_ARB", 0x872A },
1196 { "GL_MODELVIEW11_ARB", 0x872B },
1197 { "GL_MODELVIEW12_ARB", 0x872C },
1198 { "GL_MODELVIEW13_ARB", 0x872D },
1199 { "GL_MODELVIEW14_ARB", 0x872E },
1200 { "GL_MODELVIEW15_ARB", 0x872F },
1201 { "GL_MODELVIEW16_ARB", 0x8730 },
1202 { "GL_MODELVIEW17_ARB", 0x8731 },
1203 { "GL_MODELVIEW18_ARB", 0x8732 },
1204 { "GL_MODELVIEW19_ARB", 0x8733 },
1205 { "GL_MODELVIEW20_ARB", 0x8734 },
1206 { "GL_MODELVIEW21_ARB", 0x8735 },
1207 { "GL_MODELVIEW22_ARB", 0x8736 },
1208 { "GL_MODELVIEW23_ARB", 0x8737 },
1209 { "GL_MODELVIEW24_ARB", 0x8738 },
1210 { "GL_MODELVIEW25_ARB", 0x8739 },
1211 { "GL_MODELVIEW26_ARB", 0x873A },
1212 { "GL_MODELVIEW27_ARB", 0x873B },
1213 { "GL_MODELVIEW28_ARB", 0x873C },
1214 { "GL_MODELVIEW29_ARB", 0x873D },
1215 { "GL_MODELVIEW30_ARB", 0x873E },
1216 { "GL_MODELVIEW31_ARB", 0x873F },
1217 { "GL_DOT3_RGB_EXT", 0x8740 },
1218 { "GL_DOT3_RGBA_EXT", 0x8741 },
1219 { "GL_MIRROR_CLAMP_ATI", 0x8742 },
1220 { "GL_MIRROR_CLAMP_EXT", 0x8742 },
1221 { "GL_MIRROR_CLAMP_TO_EDGE_ATI", 0x8743 },
1222 { "GL_MIRROR_CLAMP_TO_EDGE_EXT", 0x8743 },
1223 { "GL_MODULATE_ADD_ATI", 0x8744 },
1224 { "GL_MODULATE_SIGNED_ADD_ATI", 0x8745 },
1225 { "GL_MODULATE_SUBTRACT_ATI", 0x8746 },
1226 { "GL_YCBCR_MESA", 0x8757 },
1227 { "GL_PACK_INVERT_MESA", 0x8758 },
1228 { "GL_BUFFER_SIZE_ARB", 0x8764 },
1229 { "GL_BUFFER_SIZE", 0x8764 },
1230 { "GL_BUFFER_USAGE_ARB", 0x8765 },
1231 { "GL_BUFFER_USAGE", 0x8765 },
1232 { "GL_FRAGMENT_PROGRAM_ARB", 0x8804 },
1233 { "GL_PROGRAM_ALU_INSTRUCTIONS_ARB", 0x8805 },
1234 { "GL_PROGRAM_TEX_INSTRUCTIONS_ARB", 0x8806 },
1235 { "GL_PROGRAM_TEX_INDIRECTIONS_ARB", 0x8807 },
1236 { "GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB", 0x8808 },
1237 { "GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB", 0x8809 },
1238 { "GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB", 0x880A },
1239 { "GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB", 0x880B },
1240 { "GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB", 0x880C },
1241 { "GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB", 0x880D },
1242 { "GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB", 0x880E },
1243 { "GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB", 0x880F },
1244 { "GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB", 0x8810 },
1245 { "GL_MAX_DRAW_BUFFERS_ARB", 0x8824 },
1246 { "GL_DRAW_BUFFER0_ARB", 0x8825 },
1247 { "GL_DRAW_BUFFER1_ARB", 0x8826 },
1248 { "GL_DRAW_BUFFER2_ARB", 0x8827 },
1249 { "GL_DRAW_BUFFER3_ARB", 0x8828 },
1250 { "GL_DRAW_BUFFER4_ARB", 0x8829 },
1251 { "GL_DRAW_BUFFER5_ARB", 0x882A },
1252 { "GL_DRAW_BUFFER6_ARB", 0x882B },
1253 { "GL_DRAW_BUFFER7_ARB", 0x882C },
1254 { "GL_DRAW_BUFFER8_ARB", 0x882D },
1255 { "GL_DRAW_BUFFER9_ARB", 0x882E },
1256 { "GL_DRAW_BUFFER10_ARB", 0x882F },
1257 { "GL_DRAW_BUFFER11_ARB", 0x8830 },
1258 { "GL_DRAW_BUFFER12_ARB", 0x8831 },
1259 { "GL_DRAW_BUFFER13_ARB", 0x8832 },
1260 { "GL_DRAW_BUFFER14_ARB", 0x8833 },
1261 { "GL_DRAW_BUFFER15_ARB", 0x8834 },
1262 { "GL_MATRIX_PALETTE_ARB", 0x8840 },
1263 { "GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB", 0x8841 },
1264 { "GL_MAX_PALETTE_MATRICES_ARB", 0x8842 },
1265 { "GL_CURRENT_PALETTE_MATRIX_ARB", 0x8843 },
1266 { "GL_MATRIX_INDEX_ARRAY_ARB", 0x8844 },
1267 { "GL_CURRENT_MATRIX_INDEX_ARB", 0x8845 },
1268 { "GL_MATRIX_INDEX_ARRAY_SIZE_ARB", 0x8846 },
1269 { "GL_MATRIX_INDEX_ARRAY_TYPE_ARB", 0x8847 },
1270 { "GL_MATRIX_INDEX_ARRAY_STRIDE_ARB", 0x8848 },
1271 { "GL_MATRIX_INDEX_ARRAY_POINTER_ARB", 0x8849 },
1272 { "GL_TEXTURE_DEPTH_SIZE_ARB", 0x884A },
1273 { "GL_TEXTURE_DEPTH_SIZE", 0x884A },
1274 { "GL_DEPTH_TEXTURE_MODE", 0x884B },
1275 { "GL_DEPTH_TEXTURE_MODE_ARB", 0x884B },
1276 { "GL_TEXTURE_COMPARE_MODE", 0x884C },
1277 { "GL_TEXTURE_COMPARE_MODE_ARB", 0x884C },
1278 { "GL_TEXTURE_COMPARE_FUNC", 0x884D },
1279 { "GL_TEXTURE_COMPARE_FUNC_ARB", 0x884D },
1280 { "GL_COMPARE_R_TO_TEXTURE", 0x884E },
1281 { "GL_COMPARE_R_TO_TEXTURE_ARB", 0x884E },
1282 { "GL_POINT_SPRITE_NV", 0x8861 },
1283 { "GL_POINT_SPRITE_ARB", 0x8861 },
1284 { "GL_COORD_REPLACE_NV", 0x8862 },
1285 { "GL_COORD_REPLACE_ARB", 0x8862 },
1286 { "GL_POINT_SPRITE_R_MODE_NV", 0x8863 },
1287 { "GL_QUERY_COUNTER_BITS", 0x8864 },
1288 { "GL_QUERY_COUNTER_BITS_ARB", 0x8864 },
1289 { "GL_CURRENT_QUERY_ARB", 0x8865 },
1290 { "GL_CURRENT_QUERY", 0x8865 },
1291 { "GL_QUERY_RESULT", 0x8866 },
1292 { "GL_QUERY_RESULT_ARB", 0x8866 },
1293 { "GL_QUERY_RESULT_AVAILABLE_ARB", 0x8867 },
1294 { "GL_QUERY_RESULT_AVAILABLE", 0x8867 },
1295 { "GL_MAX_VERTEX_ATTRIBS_ARB", 0x8869 },
1296 { "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB", 0x886A },
1297 { "GL_DEPTH_STENCIL_TO_RGBA_NV", 0x886E },
1298 { "GL_DEPTH_STENCIL_TO_BGRA_NV", 0x886F },
1299 { "GL_MAX_TEXTURE_COORDS_ARB", 0x8871 },
1300 { "GL_MAX_TEXTURE_IMAGE_UNITS_ARB", 0x8872 },
1301 { "GL_PROGRAM_ERROR_STRING_ARB", 0x8874 },
1302 { "GL_PROGRAM_FORMAT_ASCII_ARB", 0x8875 },
1303 { "GL_PROGRAM_FORMAT_ARB", 0x8876 },
1304 { "GL_TEXTURE_UNSIGNED_REMAP_MODE_NV", 0x888F },
1305 { "GL_ARRAY_BUFFER_ARB", 0x8892 },
1306 { "GL_ARRAY_BUFFER", 0x8892 },
1307 { "GL_ELEMENT_ARRAY_BUFFER_ARB", 0x8893 },
1308 { "GL_ELEMENT_ARRAY_BUFFER", 0x8893 },
1309 { "GL_ARRAY_BUFFER_BINDING_ARB", 0x8894 },
1310 { "GL_ARRAY_BUFFER_BINDING", 0x8894 },
1311 { "GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB", 0x8895 },
1312 { "GL_ELEMENT_ARRAY_BUFFER_BINDING", 0x8895 },
1313 { "GL_VERTEX_ARRAY_BUFFER_BINDING", 0x8896 },
1314 { "GL_VERTEX_ARRAY_BUFFER_BINDING_ARB", 0x8896 },
1315 { "GL_NORMAL_ARRAY_BUFFER_BINDING_ARB", 0x8897 },
1316 { "GL_NORMAL_ARRAY_BUFFER_BINDING", 0x8897 },
1317 { "GL_COLOR_ARRAY_BUFFER_BINDING", 0x8898 },
1318 { "GL_COLOR_ARRAY_BUFFER_BINDING_ARB", 0x8898 },
1319 { "GL_INDEX_ARRAY_BUFFER_BINDING", 0x8899 },
1320 { "GL_INDEX_ARRAY_BUFFER_BINDING_ARB", 0x8899 },
1321 { "GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING", 0x889A },
1322 { "GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB", 0x889A },
1323 { "GL_EDGE_FLAG_ARRAY_BUFFER_BINDING", 0x889B },
1324 { "GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB", 0x889B },
1325 { "GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING", 0x889C },
1326 { "GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB", 0x889C },
1327 { "GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB", 0x889D },
1328 { "GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING", 0x889D },
1329 { "GL_FOG_COORD_ARRAY_BUFFER_BINDING", 0x889D },
1330 { "GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB", 0x889E },
1331 { "GL_WEIGHT_ARRAY_BUFFER_BINDING", 0x889E },
1332 { "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB", 0x889F },
1333 { "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", 0x889F },
1334 { "GL_PROGRAM_INSTRUCTIONS_ARB", 0x88A0 },
1335 { "GL_MAX_PROGRAM_INSTRUCTIONS_ARB", 0x88A1 },
1336 { "GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB", 0x88A2 },
1337 { "GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB", 0x88A3 },
1338 { "GL_PROGRAM_TEMPORARIES_ARB", 0x88A4 },
1339 { "GL_MAX_PROGRAM_TEMPORARIES_ARB", 0x88A5 },
1340 { "GL_PROGRAM_NATIVE_TEMPORARIES_ARB", 0x88A6 },
1341 { "GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB", 0x88A7 },
1342 { "GL_PROGRAM_PARAMETERS_ARB", 0x88A8 },
1343 { "GL_MAX_PROGRAM_PARAMETERS_ARB", 0x88A9 },
1344 { "GL_PROGRAM_NATIVE_PARAMETERS_ARB", 0x88AA },
1345 { "GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB", 0x88AB },
1346 { "GL_PROGRAM_ATTRIBS_ARB", 0x88AC },
1347 { "GL_MAX_PROGRAM_ATTRIBS_ARB", 0x88AD },
1348 { "GL_PROGRAM_NATIVE_ATTRIBS_ARB", 0x88AE },
1349 { "GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB", 0x88AF },
1350 { "GL_PROGRAM_ADDRESS_REGISTERS_ARB", 0x88B0 },
1351 { "GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB", 0x88B1 },
1352 { "GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB", 0x88B2 },
1353 { "GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB", 0x88B3 },
1354 { "GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB", 0x88B4 },
1355 { "GL_MAX_PROGRAM_ENV_PARAMETERS_ARB", 0x88B5 },
1356 { "GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB", 0x88B6 },
1357 { "GL_TRANSPOSE_CURRENT_MATRIX_ARB", 0x88B7 },
1358 { "GL_READ_ONLY", 0x88B8 },
1359 { "GL_READ_ONLY_ARB", 0x88B8 },
1360 { "GL_WRITE_ONLY", 0x88B9 },
1361 { "GL_WRITE_ONLY_ARB", 0x88B9 },
1362 { "GL_READ_WRITE_ARB", 0x88BA },
1363 { "GL_READ_WRITE", 0x88BA },
1364 { "GL_BUFFER_ACCESS_ARB", 0x88BB },
1365 { "GL_BUFFER_ACCESS", 0x88BB },
1366 { "GL_BUFFER_MAPPED_ARB", 0x88BC },
1367 { "GL_BUFFER_MAPPED", 0x88BC },
1368 { "GL_BUFFER_MAP_POINTER_ARB", 0x88BD },
1369 { "GL_BUFFER_MAP_POINTER", 0x88BD },
1370 { "GL_MATRIX0_ARB", 0x88C0 },
1371 { "GL_MATRIX1_ARB", 0x88C1 },
1372 { "GL_MATRIX2_ARB", 0x88C2 },
1373 { "GL_MATRIX3_ARB", 0x88C3 },
1374 { "GL_MATRIX4_ARB", 0x88C4 },
1375 { "GL_MATRIX5_ARB", 0x88C5 },
1376 { "GL_MATRIX6_ARB", 0x88C6 },
1377 { "GL_MATRIX7_ARB", 0x88C7 },
1378 { "GL_MATRIX8_ARB", 0x88C8 },
1379 { "GL_MATRIX9_ARB", 0x88C9 },
1380 { "GL_MATRIX10_ARB", 0x88CA },
1381 { "GL_MATRIX11_ARB", 0x88CB },
1382 { "GL_MATRIX12_ARB", 0x88CC },
1383 { "GL_MATRIX13_ARB", 0x88CD },
1384 { "GL_MATRIX14_ARB", 0x88CE },
1385 { "GL_MATRIX15_ARB", 0x88CF },
1386 { "GL_MATRIX16_ARB", 0x88D0 },
1387 { "GL_MATRIX17_ARB", 0x88D1 },
1388 { "GL_MATRIX18_ARB", 0x88D2 },
1389 { "GL_MATRIX19_ARB", 0x88D3 },
1390 { "GL_MATRIX20_ARB", 0x88D4 },
1391 { "GL_MATRIX21_ARB", 0x88D5 },
1392 { "GL_MATRIX22_ARB", 0x88D6 },
1393 { "GL_MATRIX23_ARB", 0x88D7 },
1394 { "GL_MATRIX24_ARB", 0x88D8 },
1395 { "GL_MATRIX25_ARB", 0x88D9 },
1396 { "GL_MATRIX26_ARB", 0x88DA },
1397 { "GL_MATRIX27_ARB", 0x88DB },
1398 { "GL_MATRIX28_ARB", 0x88DC },
1399 { "GL_MATRIX29_ARB", 0x88DD },
1400 { "GL_MATRIX30_ARB", 0x88DE },
1401 { "GL_MATRIX31_ARB", 0x88DF },
1402 { "GL_STREAM_DRAW_ARB", 0x88E0 },
1403 { "GL_STREAM_DRAW", 0x88E0 },
1404 { "GL_STREAM_READ", 0x88E1 },
1405 { "GL_STREAM_READ_ARB", 0x88E1 },
1406 { "GL_STREAM_COPY", 0x88E2 },
1407 { "GL_STREAM_COPY_ARB", 0x88E2 },
1408 { "GL_STATIC_DRAW", 0x88E4 },
1409 { "GL_STATIC_DRAW_ARB", 0x88E4 },
1410 { "GL_STATIC_READ", 0x88E5 },
1411 { "GL_STATIC_READ_ARB", 0x88E5 },
1412 { "GL_STATIC_COPY_ARB", 0x88E6 },
1413 { "GL_STATIC_COPY", 0x88E6 },
1414 { "GL_DYNAMIC_DRAW", 0x88E8 },
1415 { "GL_DYNAMIC_DRAW_ARB", 0x88E8 },
1416 { "GL_DYNAMIC_READ", 0x88E9 },
1417 { "GL_DYNAMIC_READ_ARB", 0x88E9 },
1418 { "GL_DYNAMIC_COPY", 0x88EA },
1419 { "GL_DYNAMIC_COPY_ARB", 0x88EA },
1420 { "GL_PIXEL_PACK_BUFFER_EXT", 0x88EB },
1421 { "GL_PIXEL_UNPACK_BUFFER_EXT", 0x88EC },
1422 { "GL_PIXEL_PACK_BUFFER_BINDING_EXT", 0x88ED },
1423 { "GL_PIXEL_UNPACK_BUFFER_BINDING_EXT", 0x88EF },
1424 { "GL_MIRROR_CLAMP_TO_BORDER_EXT", 0x8912 },
1425 { "GL_SAMPLES_PASSED", 0x8914 },
1426 { "GL_SAMPLES_PASSED_ARB", 0x8914 },
1427 { "GL_FRAGMENT_SHADER_ARB", 0x8B30 },
1428 { "GL_VERTEX_SHADER_ARB", 0x8B31 },
1429 { "GL_PROGRAM_OBJECT_ARB", 0x8B40 },
1430 { "GL_SHADER_OBJECT_ARB", 0x8B48 },
1431 { "GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB", 0x8B49 },
1432 { "GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB", 0x8B4A },
1433 { "GL_MAX_VARYING_FLOATS_ARB", 0x8B4B },
1434 { "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB", 0x8B4C },
1435 { "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB", 0x8B4D },
1436 { "GL_OBJECT_TYPE_ARB", 0x8B4E },
1437 { "GL_OBJECT_SUBTYPE_ARB", 0x8B4F },
1438 { "GL_FLOAT_VEC2_ARB", 0x8B50 },
1439 { "GL_FLOAT_VEC3_ARB", 0x8B51 },
1440 { "GL_FLOAT_VEC4_ARB", 0x8B52 },
1441 { "GL_INT_VEC2_ARB", 0x8B53 },
1442 { "GL_INT_VEC3_ARB", 0x8B54 },
1443 { "GL_INT_VEC4_ARB", 0x8B55 },
1444 { "GL_BOOL_ARB", 0x8B56 },
1445 { "GL_BOOL_VEC2_ARB", 0x8B57 },
1446 { "GL_BOOL_VEC3_ARB", 0x8B58 },
1447 { "GL_BOOL_VEC4_ARB", 0x8B59 },
1448 { "GL_FLOAT_MAT2_ARB", 0x8B5A },
1449 { "GL_FLOAT_MAT3_ARB", 0x8B5B },
1450 { "GL_FLOAT_MAT4_ARB", 0x8B5C },
1451 { "GL_OBJECT_DELETE_STATUS_ARB", 0x8B80 },
1452 { "GL_OBJECT_COMPILE_STATUS_ARB", 0x8B81 },
1453 { "GL_OBJECT_LINK_STATUS_ARB", 0x8B82 },
1454 { "GL_OBJECT_VALIDATE_STATUS_ARB", 0x8B83 },
1455 { "GL_OBJECT_INFO_LOG_LENGTH_ARB", 0x8B84 },
1456 { "GL_OBJECT_ATTACHED_OBJECTS_ARB", 0x8B85 },
1457 { "GL_OBJECT_ACTIVE_UNIFORMS_ARB", 0x8B86 },
1458 { "GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB", 0x8B87 },
1459 { "GL_OBJECT_SHADER_SOURCE_LENGTH_ARB", 0x8B88 },
1460 { "GL_OBJECT_ACTIVE_ATTRIBUTES_ARB", 0x8B89 },
1461 { "GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB", 0x8B8A },
1462 { "GL_PALETTE4_RGB8_OES", 0x8B90 },
1463 { "GL_PALETTE4_RGBA8_OES", 0x8B91 },
1464 { "GL_PALETTE4_R5_G6_B5_OES", 0x8B92 },
1465 { "GL_PALETTE4_RGBA4_OES", 0x8B93 },
1466 { "GL_PALETTE4_RGB5_A1_OES", 0x8B94 },
1467 { "GL_PALETTE8_RGB8_OES", 0x8B95 },
1468 { "GL_PALETTE8_RGBA8_OES", 0x8B96 },
1469 { "GL_PALETTE8_R5_G6_B5_OES", 0x8B97 },
1470 { "GL_PALETTE8_RGBA4_OES", 0x8B98 },
1471 { "GL_PALETTE8_RGB5_A1_OES", 0x8B99 },
1472 { "GL_IMPLEMENTATION_COLOR_READ_TYPE_OES", 0x8B9A },
1473 { "GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES", 0x8B9B },
1474 { "GL_POINT_SPRITE_COORD_ORIGIN", 0x8CA0 },
1475 { "GL_FRAMEBUFFER_BINDING_EXT", 0x8CA6 },
1476 { "GL_RENDERBUFFER_BINDING_EXT", 0x8CA7 },
1477 { "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT", 0x8CD0 },
1478 { "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT", 0x8CD1 },
1479 { "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT", 0x8CD2 },
1480 { "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT", 0x8CD3 },
1481 { "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT", 0x8CD4 },
1482 { "GL_FRAMEBUFFER_COMPLETE_EXT", 0x8CD5 },
1483 { "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT", 0x8CD6 },
1484 { "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT", 0x8CD7 },
1485 { "GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT", 0x8CD8 },
1486 { "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT", 0x8CD9 },
1487 { "GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT", 0x8CDA },
1488 { "GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT", 0x8CDB },
1489 { "GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT", 0x8CDC },
1490 { "GL_FRAMEBUFFER_UNSUPPORTED_EXT", 0x8CDD },
1491 { "GL_FRAMEBUFFER_STATUS_ERROR_EXT", 0x8CDE },
1492 { "GL_MAX_COLOR_ATTACHMENTS_EXT", 0x8CDF },
1493 { "GL_COLOR_ATTACHMENT0_EXT", 0x8CE0 },
1494 { "GL_COLOR_ATTACHMENT1_EXT", 0x8CE1 },
1495 { "GL_COLOR_ATTACHMENT2_EXT", 0x8CE2 },
1496 { "GL_COLOR_ATTACHMENT3_EXT", 0x8CE3 },
1497 { "GL_COLOR_ATTACHMENT4_EXT", 0x8CE4 },
1498 { "GL_COLOR_ATTACHMENT5_EXT", 0x8CE5 },
1499 { "GL_COLOR_ATTACHMENT6_EXT", 0x8CE6 },
1500 { "GL_COLOR_ATTACHMENT7_EXT", 0x8CE7 },
1501 { "GL_COLOR_ATTACHMENT8_EXT", 0x8CE8 },
1502 { "GL_COLOR_ATTACHMENT9_EXT", 0x8CE9 },
1503 { "GL_COLOR_ATTACHMENT10_EXT", 0x8CEA },
1504 { "GL_COLOR_ATTACHMENT11_EXT", 0x8CEB },
1505 { "GL_COLOR_ATTACHMENT12_EXT", 0x8CEC },
1506 { "GL_COLOR_ATTACHMENT13_EXT", 0x8CED },
1507 { "GL_COLOR_ATTACHMENT14_EXT", 0x8CEE },
1508 { "GL_COLOR_ATTACHMENT15_EXT", 0x8CEF },
1509 { "GL_DEPTH_ATTACHMENT_EXT", 0x8D00 },
1510 { "GL_STENCIL_ATTACHMENT_EXT", 0x8D20 },
1511 { "GL_FRAMEBUFFER_EXT", 0x8D40 },
1512 { "GL_RENDERBUFFER_EXT", 0x8D41 },
1513 { "GL_RENDERBUFFER_WIDTH_EXT", 0x8D42 },
1514 { "GL_RENDERBUFFER_HEIGHT_EXT", 0x8D43 },
1515 { "GL_RENDERBUFFER_INTERNAL_FORMAT_EXT", 0x8D44 },
1516 { "GL_STENCIL_INDEX_EXT", 0x8D45 },
1517 { "GL_STENCIL_INDEX1_EXT", 0x8D46 },
1518 { "GL_STENCIL_INDEX4_EXT", 0x8D47 },
1519 { "GL_STENCIL_INDEX8_EXT", 0x8D48 },
1520 { "GL_STENCIL_INDEX16_EXT", 0x8D49 },
1521 { "GL_EVAL_BIT", 0x10000 },
1522 { "GL_RASTER_POSITION_UNCLIPPED_IBM", 0x19262 },
1523 { "GL_LIST_BIT", 0x20000 },
1524 { "GL_TEXTURE_BIT", 0x40000 },
1525 { "GL_SCISSOR_BIT", 0x80000 },
1526 { "GL_ALL_ATTRIB_BITS", 0xFFFFF },
1527 { "GL_MULTISAMPLE_BIT", 0x20000000 },
1528 { "GL_MULTISAMPLE_BIT_ARB", 0x20000000 },
1529 { "GL_MULTISAMPLE_BIT_3DFX", 0x20000000 },
1533 #define Elements(x) sizeof(x)/sizeof(*x)
1535 typedef int (*cfunc
)(const void *, const void *);
1537 /* note the extra level of indirection
1539 static int compar_name( const enum_elt
**a
, const enum_elt
**b
)
1541 return _mesa_strcmp((*a
)->c
, (*b
)->c
);
1544 static int compar_nr( const enum_elt
*a
, const enum_elt
*b
)
1550 static char token_tmp
[20];
1552 const char *_mesa_lookup_enum_by_nr( int nr
)
1558 e
= (enum_elt
*)bsearch( &tmp
, all_enums
, Elements(all_enums
),
1559 sizeof(*all_enums
), (cfunc
) compar_nr
);
1565 /* this isn't re-entrant safe, no big deal here */
1566 _mesa_sprintf(token_tmp
, "0x%x", nr
);
1571 int _mesa_lookup_enum_by_name( const char *symbol
)
1573 enum_elt tmp
, *e
, **f
;
1574 static const enum_elt
* const index1
[] = {
3074 f
= (enum_elt
**)bsearch( &e
, index1
, Elements(all_enums
),
3075 sizeof(*index1
), (cfunc
) compar_name
);
3077 return f
? (*f
)->n
: -1;