summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-02-22 15:42:30 +0000
committerBrian Paul <[email protected]>2005-02-22 15:42:30 +0000
commitcb83f62e307be90532fcc58a0e5dd3e8cc7411b2 (patch)
tree77e45ed2a7648de922154ce0436e031cb041007f /src
parent78123bb38b1e4638747f55ddaef39e561cd81d6e (diff)
now generated with Python script
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/enums.c2197
1 files changed, 1384 insertions, 813 deletions
diff --git a/src/mesa/main/enums.c b/src/mesa/main/enums.c
index 946b5b96a45..99c40c41c7a 100644
--- a/src/mesa/main/enums.c
+++ b/src/mesa/main/enums.c
@@ -1,51 +1,346 @@
+/* DO NOT EDIT - This file generated automatically by gl_enums.py (from Mesa) script */
+
/*
- * Mesa 3-D graphics library
- * Version: 6.3
- *
- * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
- *
+ * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
+ * All Rights Reserved.
+ *
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * the rights to use, copy, modify, merge, publish, distribute, sub license,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included
- * in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
- * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * Author:
- * Keith Whitwell <[email protected]>
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
+ * BRIAN PAUL,
+ * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
*/
-
#include "glheader.h"
#include "enums.h"
#include "imports.h"
-
typedef struct {
const char *c;
int n;
} enum_elt;
-/**
- * XXX We should auto-generate this with a Python script someday.
- */
static enum_elt all_enums[] =
{
- /* Boolean values */
- { "GL_FALSE", 0 },
- { "GL_TRUE", 1 },
-
- /* Data types */
+ { "GL_FALSE", 0x0 },
+ { "GL_TRUE", 0x1 },
+ { "GL_ZERO", 0x0 },
+ { "GL_ONE", 0x1 },
+ { "GL_NONE", 0x0 },
+ { "GL_NO_ERROR", 0x0 },
+ { "GL_POINTS", 0x0 },
+ { "GL_LINES", 0x1 },
+ { "GL_LINE_LOOP", 0x2 },
+ { "GL_LINE_STRIP", 0x3 },
+ { "GL_TRIANGLES", 0x4 },
+ { "GL_TRIANGLE_STRIP", 0x5 },
+ { "GL_TRIANGLE_FAN", 0x6 },
+ { "GL_QUADS", 0x7 },
+ { "GL_QUAD_STRIP", 0x8 },
+ { "GL_POLYGON", 0x9 },
+ { "GL_ACCUM", 0x100 },
+ { "GL_LOAD", 0x101 },
+ { "GL_RETURN", 0x102 },
+ { "GL_MULT", 0x103 },
+ { "GL_ADD", 0x104 },
+ { "GL_NEVER", 0x200 },
+ { "GL_LESS", 0x201 },
+ { "GL_EQUAL", 0x202 },
+ { "GL_LEQUAL", 0x203 },
+ { "GL_GREATER", 0x204 },
+ { "GL_NOTEQUAL", 0x205 },
+ { "GL_GEQUAL", 0x206 },
+ { "GL_ALWAYS", 0x207 },
+ { "GL_SRC_COLOR", 0x300 },
+ { "GL_ONE_MINUS_SRC_COLOR", 0x301 },
+ { "GL_SRC_ALPHA", 0x302 },
+ { "GL_ONE_MINUS_SRC_ALPHA", 0x303 },
+ { "GL_DST_ALPHA", 0x304 },
+ { "GL_ONE_MINUS_DST_ALPHA", 0x305 },
+ { "GL_DST_COLOR", 0x306 },
+ { "GL_ONE_MINUS_DST_COLOR", 0x307 },
+ { "GL_SRC_ALPHA_SATURATE", 0x308 },
+ { "GL_FRONT_LEFT", 0x400 },
+ { "GL_FRONT_RIGHT", 0x401 },
+ { "GL_BACK_LEFT", 0x402 },
+ { "GL_BACK_RIGHT", 0x403 },
+ { "GL_FRONT", 0x404 },
+ { "GL_BACK", 0x405 },
+ { "GL_LEFT", 0x406 },
+ { "GL_RIGHT", 0x407 },
+ { "GL_FRONT_AND_BACK", 0x408 },
+ { "GL_AUX0", 0x409 },
+ { "GL_AUX1", 0x40A },
+ { "GL_AUX2", 0x40B },
+ { "GL_AUX3", 0x40C },
+ { "GL_INVALID_VALUE", 0x501 },
+ { "GL_INVALID_ENUM", 0x500 },
+ { "GL_INVALID_OPERATION", 0x502 },
+ { "GL_STACK_OVERFLOW", 0x503 },
+ { "GL_STACK_UNDERFLOW", 0x504 },
+ { "GL_OUT_OF_MEMORY", 0x505 },
+ { "GL_2D", 0x600 },
+ { "GL_3D", 0x601 },
+ { "GL_3D_COLOR", 0x602 },
+ { "GL_3D_COLOR_TEXTURE", 0x603 },
+ { "GL_4D_COLOR_TEXTURE", 0x604 },
+ { "GL_PASS_THROUGH_TOKEN", 0x700 },
+ { "GL_POINT_TOKEN", 0x701 },
+ { "GL_LINE_TOKEN", 0x702 },
+ { "GL_POLYGON_TOKEN", 0x703 },
+ { "GL_BITMAP_TOKEN", 0x704 },
+ { "GL_DRAW_PIXEL_TOKEN", 0x705 },
+ { "GL_COPY_PIXEL_TOKEN", 0x706 },
+ { "GL_LINE_RESET_TOKEN", 0x707 },
+ { "GL_EXP", 0x800 },
+ { "GL_EXP2", 0x801 },
+ { "GL_CW", 0x900 },
+ { "GL_CCW", 0x901 },
+ { "GL_COEFF", 0xA00 },
+ { "GL_ORDER", 0xA01 },
+ { "GL_DOMAIN", 0xA02 },
+ { "GL_CURRENT_COLOR", 0xB00 },
+ { "GL_CURRENT_INDEX", 0xB01 },
+ { "GL_CURRENT_NORMAL", 0xB02 },
+ { "GL_CURRENT_TEXTURE_COORDS", 0xB03 },
+ { "GL_CURRENT_RASTER_COLOR", 0xB04 },
+ { "GL_CURRENT_RASTER_INDEX", 0xB05 },
+ { "GL_CURRENT_RASTER_TEXTURE_COORDS", 0xB06 },
+ { "GL_CURRENT_RASTER_POSITION", 0xB07 },
+ { "GL_CURRENT_RASTER_POSITION_VALID", 0xB08 },
+ { "GL_CURRENT_RASTER_DISTANCE", 0xB09 },
+ { "GL_POINT_SMOOTH", 0xB10 },
+ { "GL_POINT_SIZE", 0xB11 },
+ { "GL_POINT_SIZE_RANGE", 0xB12 },
+ { "GL_POINT_SIZE_GRANULARITY", 0xB13 },
+ { "GL_LINE_SMOOTH", 0xB20 },
+ { "GL_LINE_WIDTH", 0xB21 },
+ { "GL_LINE_WIDTH_RANGE", 0xB22 },
+ { "GL_LINE_WIDTH_GRANULARITY", 0xB23 },
+ { "GL_LINE_STIPPLE", 0xB24 },
+ { "GL_LINE_STIPPLE_PATTERN", 0xB25 },
+ { "GL_LINE_STIPPLE_REPEAT", 0xB26 },
+ { "GL_LIST_MODE", 0xB30 },
+ { "GL_MAX_LIST_NESTING", 0xB31 },
+ { "GL_LIST_BASE", 0xB32 },
+ { "GL_LIST_INDEX", 0xB33 },
+ { "GL_POLYGON_MODE", 0xB40 },
+ { "GL_POLYGON_SMOOTH", 0xB41 },
+ { "GL_POLYGON_STIPPLE", 0xB42 },
+ { "GL_EDGE_FLAG", 0xB43 },
+ { "GL_CULL_FACE", 0xB44 },
+ { "GL_CULL_FACE_MODE", 0xB45 },
+ { "GL_FRONT_FACE", 0xB46 },
+ { "GL_LIGHTING", 0xB50 },
+ { "GL_LIGHT_MODEL_LOCAL_VIEWER", 0xB51 },
+ { "GL_LIGHT_MODEL_TWO_SIDE", 0xB52 },
+ { "GL_LIGHT_MODEL_AMBIENT", 0xB53 },
+ { "GL_SHADE_MODEL", 0xB54 },
+ { "GL_COLOR_MATERIAL_FACE", 0xB55 },
+ { "GL_COLOR_MATERIAL_PARAMETER", 0xB56 },
+ { "GL_COLOR_MATERIAL", 0xB57 },
+ { "GL_FOG", 0xB60 },
+ { "GL_FOG_INDEX", 0xB61 },
+ { "GL_FOG_DENSITY", 0xB62 },
+ { "GL_FOG_START", 0xB63 },
+ { "GL_FOG_END", 0xB64 },
+ { "GL_FOG_MODE", 0xB65 },
+ { "GL_FOG_COLOR", 0xB66 },
+ { "GL_DEPTH_RANGE", 0xB70 },
+ { "GL_DEPTH_TEST", 0xB71 },
+ { "GL_DEPTH_WRITEMASK", 0xB72 },
+ { "GL_DEPTH_CLEAR_VALUE", 0xB73 },
+ { "GL_DEPTH_FUNC", 0xB74 },
+ { "GL_ACCUM_CLEAR_VALUE", 0xB80 },
+ { "GL_STENCIL_TEST", 0xB90 },
+ { "GL_STENCIL_CLEAR_VALUE", 0xB91 },
+ { "GL_STENCIL_FUNC", 0xB92 },
+ { "GL_STENCIL_VALUE_MASK", 0xB93 },
+ { "GL_STENCIL_FAIL", 0xB94 },
+ { "GL_STENCIL_PASS_DEPTH_FAIL", 0xB95 },
+ { "GL_STENCIL_PASS_DEPTH_PASS", 0xB96 },
+ { "GL_STENCIL_REF", 0xB97 },
+ { "GL_STENCIL_WRITEMASK", 0xB98 },
+ { "GL_MATRIX_MODE", 0xBA0 },
+ { "GL_NORMALIZE", 0xBA1 },
+ { "GL_VIEWPORT", 0xBA2 },
+ { "GL_MODELVIEW_STACK_DEPTH", 0xBA3 },
+ { "GL_PROJECTION_STACK_DEPTH", 0xBA4 },
+ { "GL_TEXTURE_STACK_DEPTH", 0xBA5 },
+ { "GL_MODELVIEW_MATRIX", 0xBA6 },
+ { "GL_PROJECTION_MATRIX", 0xBA7 },
+ { "GL_TEXTURE_MATRIX", 0xBA8 },
+ { "GL_ATTRIB_STACK_DEPTH", 0xBB0 },
+ { "GL_CLIENT_ATTRIB_STACK_DEPTH", 0xBB1 },
+ { "GL_ALPHA_TEST", 0xBC0 },
+ { "GL_ALPHA_TEST_FUNC", 0xBC1 },
+ { "GL_ALPHA_TEST_REF", 0xBC2 },
+ { "GL_DITHER", 0xBD0 },
+ { "GL_BLEND_DST", 0xBE0 },
+ { "GL_BLEND_SRC", 0xBE1 },
+ { "GL_BLEND", 0xBE2 },
+ { "GL_LOGIC_OP_MODE", 0xBF0 },
+ { "GL_LOGIC_OP", 0xBF1 },
+ { "GL_AUX_BUFFERS", 0xC00 },
+ { "GL_DRAW_BUFFER", 0xC01 },
+ { "GL_READ_BUFFER", 0xC02 },
+ { "GL_SCISSOR_BOX", 0xC10 },
+ { "GL_SCISSOR_TEST", 0xC11 },
+ { "GL_INDEX_CLEAR_VALUE", 0xC20 },
+ { "GL_INDEX_WRITEMASK", 0xC21 },
+ { "GL_COLOR_CLEAR_VALUE", 0xC22 },
+ { "GL_COLOR_WRITEMASK", 0xC23 },
+ { "GL_INDEX_MODE", 0xC30 },
+ { "GL_RGBA_MODE", 0xC31 },
+ { "GL_DOUBLEBUFFER", 0xC32 },
+ { "GL_STEREO", 0xC33 },
+ { "GL_RENDER_MODE", 0xC40 },
+ { "GL_PERSPECTIVE_CORRECTION_HINT", 0xC50 },
+ { "GL_POINT_SMOOTH_HINT", 0xC51 },
+ { "GL_LINE_SMOOTH_HINT", 0xC52 },
+ { "GL_POLYGON_SMOOTH_HINT", 0xC53 },
+ { "GL_FOG_HINT", 0xC54 },
+ { "GL_TEXTURE_GEN_S", 0xC60 },
+ { "GL_TEXTURE_GEN_T", 0xC61 },
+ { "GL_TEXTURE_GEN_R", 0xC62 },
+ { "GL_TEXTURE_GEN_Q", 0xC63 },
+ { "GL_PIXEL_MAP_I_TO_I", 0xC70 },
+ { "GL_PIXEL_MAP_S_TO_S", 0xC71 },
+ { "GL_PIXEL_MAP_I_TO_R", 0xC72 },
+ { "GL_PIXEL_MAP_I_TO_G", 0xC73 },
+ { "GL_PIXEL_MAP_I_TO_B", 0xC74 },
+ { "GL_PIXEL_MAP_I_TO_A", 0xC75 },
+ { "GL_PIXEL_MAP_R_TO_R", 0xC76 },
+ { "GL_PIXEL_MAP_G_TO_G", 0xC77 },
+ { "GL_PIXEL_MAP_B_TO_B", 0xC78 },
+ { "GL_PIXEL_MAP_A_TO_A", 0xC79 },
+ { "GL_PIXEL_MAP_I_TO_I_SIZE", 0xCB0 },
+ { "GL_PIXEL_MAP_S_TO_S_SIZE", 0xCB1 },
+ { "GL_PIXEL_MAP_I_TO_R_SIZE", 0xCB2 },
+ { "GL_PIXEL_MAP_I_TO_G_SIZE", 0xCB3 },
+ { "GL_PIXEL_MAP_I_TO_B_SIZE", 0xCB4 },
+ { "GL_PIXEL_MAP_I_TO_A_SIZE", 0xCB5 },
+ { "GL_PIXEL_MAP_R_TO_R_SIZE", 0xCB6 },
+ { "GL_PIXEL_MAP_G_TO_G_SIZE", 0xCB7 },
+ { "GL_PIXEL_MAP_B_TO_B_SIZE", 0xCB8 },
+ { "GL_PIXEL_MAP_A_TO_A_SIZE", 0xCB9 },
+ { "GL_UNPACK_SWAP_BYTES", 0xCF0 },
+ { "GL_UNPACK_LSB_FIRST", 0xCF1 },
+ { "GL_UNPACK_ROW_LENGTH", 0xCF2 },
+ { "GL_UNPACK_SKIP_PIXELS", 0xCF4 },
+ { "GL_UNPACK_SKIP_ROWS", 0xCF3 },
+ { "GL_UNPACK_ALIGNMENT", 0xCF5 },
+ { "GL_PACK_SWAP_BYTES", 0xD00 },
+ { "GL_PACK_LSB_FIRST", 0xD01 },
+ { "GL_PACK_ROW_LENGTH", 0xD02 },
+ { "GL_PACK_SKIP_ROWS", 0xD03 },
+ { "GL_PACK_SKIP_PIXELS", 0xD04 },
+ { "GL_PACK_ALIGNMENT", 0xD05 },
+ { "GL_MAP_COLOR", 0xD10 },
+ { "GL_MAP_STENCIL", 0xD11 },
+ { "GL_INDEX_SHIFT", 0xD12 },
+ { "GL_INDEX_OFFSET", 0xD13 },
+ { "GL_RED_SCALE", 0xD14 },
+ { "GL_RED_BIAS", 0xD15 },
+ { "GL_ZOOM_X", 0xD16 },
+ { "GL_ZOOM_Y", 0xD17 },
+ { "GL_GREEN_SCALE", 0xD18 },
+ { "GL_GREEN_BIAS", 0xD19 },
+ { "GL_BLUE_SCALE", 0xD1A },
+ { "GL_BLUE_BIAS", 0xD1B },
+ { "GL_ALPHA_SCALE", 0xD1C },
+ { "GL_ALPHA_BIAS", 0xD1D },
+ { "GL_DEPTH_SCALE", 0xD1E },
+ { "GL_DEPTH_BIAS", 0xD1F },
+ { "GL_MAX_EVAL_ORDER", 0xD30 },
+ { "GL_MAX_LIGHTS", 0xD31 },
+ { "GL_MAX_CLIP_PLANES", 0xD32 },
+ { "GL_MAX_TEXTURE_SIZE", 0xD33 },
+ { "GL_MAX_PIXEL_MAP_TABLE", 0xD34 },
+ { "GL_MAX_ATTRIB_STACK_DEPTH", 0xD35 },
+ { "GL_MAX_MODELVIEW_STACK_DEPTH", 0xD36 },
+ { "GL_MAX_NAME_STACK_DEPTH", 0xD37 },
+ { "GL_MAX_PROJECTION_STACK_DEPTH", 0xD38 },
+ { "GL_MAX_TEXTURE_STACK_DEPTH", 0xD39 },
+ { "GL_MAX_VIEWPORT_DIMS", 0xD3A },
+ { "GL_MAX_CLIENT_ATTRIB_STACK_DEPTH", 0xD3B },
+ { "GL_SUBPIXEL_BITS", 0xD50 },
+ { "GL_INDEX_BITS", 0xD51 },
+ { "GL_RED_BITS", 0xD52 },
+ { "GL_GREEN_BITS", 0xD53 },
+ { "GL_BLUE_BITS", 0xD54 },
+ { "GL_ALPHA_BITS", 0xD55 },
+ { "GL_DEPTH_BITS", 0xD56 },
+ { "GL_STENCIL_BITS", 0xD57 },
+ { "GL_ACCUM_RED_BITS", 0xD58 },
+ { "GL_ACCUM_GREEN_BITS", 0xD59 },
+ { "GL_ACCUM_BLUE_BITS", 0xD5A },
+ { "GL_ACCUM_ALPHA_BITS", 0xD5B },
+ { "GL_NAME_STACK_DEPTH", 0xD70 },
+ { "GL_AUTO_NORMAL", 0xD80 },
+ { "GL_MAP1_COLOR_4", 0xD90 },
+ { "GL_MAP1_INDEX", 0xD91 },
+ { "GL_MAP1_NORMAL", 0xD92 },
+ { "GL_MAP1_TEXTURE_COORD_1", 0xD93 },
+ { "GL_MAP1_TEXTURE_COORD_2", 0xD94 },
+ { "GL_MAP1_TEXTURE_COORD_3", 0xD95 },
+ { "GL_MAP1_TEXTURE_COORD_4", 0xD96 },
+ { "GL_MAP1_VERTEX_3", 0xD97 },
+ { "GL_MAP1_VERTEX_4", 0xD98 },
+ { "GL_MAP2_COLOR_4", 0xDB0 },
+ { "GL_MAP2_INDEX", 0xDB1 },
+ { "GL_MAP2_NORMAL", 0xDB2 },
+ { "GL_MAP2_TEXTURE_COORD_1", 0xDB3 },
+ { "GL_MAP2_TEXTURE_COORD_2", 0xDB4 },
+ { "GL_MAP2_TEXTURE_COORD_3", 0xDB5 },
+ { "GL_MAP2_TEXTURE_COORD_4", 0xDB6 },
+ { "GL_MAP2_VERTEX_3", 0xDB7 },
+ { "GL_MAP2_VERTEX_4", 0xDB8 },
+ { "GL_MAP1_GRID_DOMAIN", 0xDD0 },
+ { "GL_MAP1_GRID_SEGMENTS", 0xDD1 },
+ { "GL_MAP2_GRID_DOMAIN", 0xDD2 },
+ { "GL_MAP2_GRID_SEGMENTS", 0xDD3 },
+ { "GL_TEXTURE_1D", 0xDE0 },
+ { "GL_TEXTURE_2D", 0xDE1 },
+ { "GL_FEEDBACK_BUFFER_POINTER", 0xDF0 },
+ { "GL_FEEDBACK_BUFFER_SIZE", 0xDF1 },
+ { "GL_FEEDBACK_BUFFER_TYPE", 0xDF2 },
+ { "GL_SELECTION_BUFFER_POINTER", 0xDF3 },
+ { "GL_SELECTION_BUFFER_SIZE", 0xDF4 },
+ { "GL_TEXTURE_WIDTH", 0x1000 },
+ { "GL_TEXTURE_HEIGHT", 0x1001 },
+ { "GL_TEXTURE_BORDER", 0x1005 },
+ { "GL_TEXTURE_COMPONENTS", 0x1003 },
+ { "GL_TEXTURE_BORDER_COLOR", 0x1004 },
+ { "GL_DONT_CARE", 0x1100 },
+ { "GL_FASTEST", 0x1101 },
+ { "GL_NICEST", 0x1102 },
+ { "GL_AMBIENT", 0x1200 },
+ { "GL_DIFFUSE", 0x1201 },
+ { "GL_SPECULAR", 0x1202 },
+ { "GL_POSITION", 0x1203 },
+ { "GL_SPOT_DIRECTION", 0x1204 },
+ { "GL_SPOT_EXPONENT", 0x1205 },
+ { "GL_SPOT_CUTOFF", 0x1206 },
+ { "GL_CONSTANT_ATTENUATION", 0x1207 },
+ { "GL_LINEAR_ATTENUATION", 0x1208 },
+ { "GL_QUADRATIC_ATTENUATION", 0x1209 },
+ { "GL_COMPILE", 0x1300 },
+ { "GL_COMPILE_AND_EXECUTE", 0x1301 },
{ "GL_BYTE", 0x1400 },
{ "GL_UNSIGNED_BYTE", 0x1401 },
{ "GL_SHORT", 0x1402 },
@@ -53,520 +348,237 @@ static enum_elt all_enums[] =
{ "GL_INT", 0x1404 },
{ "GL_UNSIGNED_INT", 0x1405 },
{ "GL_FLOAT", 0x1406 },
- { "GL_DOUBLE", 0x140A },
{ "GL_2_BYTES", 0x1407 },
{ "GL_3_BYTES", 0x1408 },
{ "GL_4_BYTES", 0x1409 },
-
- /* Primitives */
- { "GL_LINES", 0x0001 },
- { "GL_POINTS", 0x0000 },
- { "GL_LINE_STRIP", 0x0003 },
- { "GL_LINE_LOOP", 0x0002 },
- { "GL_TRIANGLES", 0x0004 },
- { "GL_TRIANGLE_STRIP", 0x0005 },
- { "GL_TRIANGLE_FAN", 0x0006 },
- { "GL_QUADS", 0x0007 },
- { "GL_QUAD_STRIP", 0x0008 },
- { "GL_POLYGON", 0x0009 },
- { "GL_EDGE_FLAG", 0x0B43 },
-
- /* Vertex Arrays */
- { "GL_VERTEX_ARRAY", 0x8074 },
- { "GL_NORMAL_ARRAY", 0x8075 },
- { "GL_COLOR_ARRAY", 0x8076 },
- { "GL_INDEX_ARRAY", 0x8077 },
- { "GL_TEXTURE_COORD_ARRAY", 0x8078 },
- { "GL_EDGE_FLAG_ARRAY", 0x8079 },
- { "GL_VERTEX_ARRAY_SIZE", 0x807A },
- { "GL_VERTEX_ARRAY_TYPE", 0x807B },
- { "GL_VERTEX_ARRAY_STRIDE", 0x807C },
- { "GL_NORMAL_ARRAY_TYPE", 0x807E },
- { "GL_NORMAL_ARRAY_STRIDE", 0x807F },
- { "GL_COLOR_ARRAY_SIZE", 0x8081 },
- { "GL_COLOR_ARRAY_TYPE", 0x8082 },
- { "GL_COLOR_ARRAY_STRIDE", 0x8083 },
- { "GL_INDEX_ARRAY_TYPE", 0x8085 },
- { "GL_INDEX_ARRAY_STRIDE", 0x8086 },
- { "GL_TEXTURE_COORD_ARRAY_SIZE", 0x8088 },
- { "GL_TEXTURE_COORD_ARRAY_TYPE", 0x8089 },
- { "GL_TEXTURE_COORD_ARRAY_STRIDE", 0x808A },
- { "GL_EDGE_FLAG_ARRAY_STRIDE", 0x808C },
- { "GL_VERTEX_ARRAY_POINTER", 0x808E },
- { "GL_NORMAL_ARRAY_POINTER", 0x808F },
- { "GL_COLOR_ARRAY_POINTER", 0x8090 },
- { "GL_INDEX_ARRAY_POINTER", 0x8091 },
- { "GL_TEXTURE_COORD_ARRAY_POINTER", 0x8092 },
- { "GL_EDGE_FLAG_ARRAY_POINTER", 0x8093 },
- { "GL_V2F", 0x2A20 },
- { "GL_V3F", 0x2A21 },
- { "GL_C4UB_V2F", 0x2A22 },
- { "GL_C4UB_V3F", 0x2A23 },
- { "GL_C3F_V3F", 0x2A24 },
- { "GL_N3F_V3F", 0x2A25 },
- { "GL_C4F_N3F_V3F", 0x2A26 },
- { "GL_T2F_V3F", 0x2A27 },
- { "GL_T4F_V4F", 0x2A28 },
- { "GL_T2F_C4UB_V3F", 0x2A29 },
- { "GL_T2F_C3F_V3F", 0x2A2A },
- { "GL_T2F_N3F_V3F", 0x2A2B },
- { "GL_T2F_C4F_N3F_V3F", 0x2A2C },
- { "GL_T4F_C4F_N3F_V4F", 0x2A2D },
-
- /* Matrix Mode */
- { "GL_MATRIX_MODE", 0x0BA0 },
- { "GL_MODELVIEW", 0x1700 },
- { "GL_PROJECTION", 0x1701 },
- { "GL_TEXTURE", 0x1702 },
-
- /* Points */
- { "GL_POINT_SMOOTH", 0x0B10 },
- { "GL_POINT_SIZE", 0x0B11 },
- { "GL_POINT_SIZE_GRANULARITY ", 0x0B13 },
- { "GL_POINT_SIZE_RANGE", 0x0B12 },
-
- /* Lines */
- { "GL_LINE_SMOOTH", 0x0B20 },
- { "GL_LINE_STIPPLE", 0x0B24 },
- { "GL_LINE_STIPPLE_PATTERN", 0x0B25 },
- { "GL_LINE_STIPPLE_REPEAT", 0x0B26 },
- { "GL_LINE_WIDTH", 0x0B21 },
- { "GL_LINE_WIDTH_GRANULARITY", 0x0B23 },
- { "GL_LINE_WIDTH_RANGE", 0x0B22 },
-
- /* Polygons */
- { "GL_POINT", 0x1B00 },
- { "GL_LINE", 0x1B01 },
- { "GL_FILL", 0x1B02 },
- { "GL_CCW", 0x0901 },
- { "GL_CW", 0x0900 },
- { "GL_FRONT", 0x0404 },
- { "GL_BACK", 0x0405 },
- { "GL_CULL_FACE", 0x0B44 },
- { "GL_CULL_FACE_MODE", 0x0B45 },
- { "GL_POLYGON_SMOOTH", 0x0B41 },
- { "GL_POLYGON_STIPPLE", 0x0B42 },
- { "GL_FRONT_FACE", 0x0B46 },
- { "GL_POLYGON_MODE", 0x0B40 },
- { "GL_POLYGON_OFFSET_FACTOR", 0x8038 },
- { "GL_POLYGON_OFFSET_UNITS", 0x2A00 },
- { "GL_POLYGON_OFFSET_POINT", 0x2A01 },
- { "GL_POLYGON_OFFSET_LINE", 0x2A02 },
- { "GL_POLYGON_OFFSET_FILL", 0x8037 },
-
- /* Display Lists */
- { "GL_COMPILE", 0x1300 },
- { "GL_COMPILE_AND_EXECUTE", 0x1301 },
- { "GL_LIST_BASE", 0x0B32 },
- { "GL_LIST_INDEX", 0x0B33 },
- { "GL_LIST_MODE", 0x0B30 },
-
- /* Depth buffer */
- { "GL_NEVER", 0x0200 },
- { "GL_LESS", 0x0201 },
- { "GL_GEQUAL", 0x0206 },
- { "GL_LEQUAL", 0x0203 },
- { "GL_GREATER", 0x0204 },
- { "GL_NOTEQUAL", 0x0205 },
- { "GL_EQUAL", 0x0202 },
- { "GL_ALWAYS", 0x0207 },
- { "GL_DEPTH_TEST", 0x0B71 },
- { "GL_DEPTH_BITS", 0x0D56 },
- { "GL_DEPTH_CLEAR_VALUE", 0x0B73 },
- { "GL_DEPTH_FUNC", 0x0B74 },
- { "GL_DEPTH_RANGE", 0x0B70 },
- { "GL_DEPTH_WRITEMASK", 0x0B72 },
- { "GL_DEPTH_COMPONENT", 0x1902 },
-
- /* Lighting */
- { "GL_LIGHTING", 0x0B50 },
- { "GL_LIGHT0", 0x4000 },
- { "GL_LIGHT1", 0x4001 },
- { "GL_LIGHT2", 0x4002 },
- { "GL_LIGHT3", 0x4003 },
- { "GL_LIGHT4", 0x4004 },
- { "GL_LIGHT5", 0x4005 },
- { "GL_LIGHT6", 0x4006 },
- { "GL_LIGHT7", 0x4007 },
- { "GL_SPOT_EXPONENT", 0x1205 },
- { "GL_SPOT_CUTOFF", 0x1206 },
- { "GL_CONSTANT_ATTENUATION", 0x1207 },
- { "GL_LINEAR_ATTENUATION", 0x1208 },
- { "GL_QUADRATIC_ATTENUATION", 0x1209 },
- { "GL_AMBIENT", 0x1200 },
- { "GL_DIFFUSE", 0x1201 },
- { "GL_SPECULAR", 0x1202 },
- { "GL_SHININESS", 0x1601 },
- { "GL_EMISSION", 0x1600 },
- { "GL_POSITION", 0x1203 },
- { "GL_SPOT_DIRECTION", 0x1204 },
- { "GL_AMBIENT_AND_DIFFUSE", 0x1602 },
- { "GL_COLOR_INDEXES", 0x1603 },
- { "GL_LIGHT_MODEL_TWO_SIDE", 0x0B52 },
- { "GL_LIGHT_MODEL_LOCAL_VIEWER", 0x0B51 },
- { "GL_LIGHT_MODEL_AMBIENT", 0x0B53 },
- { "GL_FRONT_AND_BACK", 0x0408 },
- { "GL_SHADE_MODEL", 0x0B54 },
- { "GL_FLAT", 0x1D00 },
- { "GL_SMOOTH", 0x1D01 },
- { "GL_COLOR_MATERIAL", 0x0B57 },
- { "GL_COLOR_MATERIAL_FACE", 0x0B55 },
- { "GL_COLOR_MATERIAL_PARAMETER", 0x0B56 },
- { "GL_NORMALIZE", 0x0BA1 },
-
- /* User clipping planes */
- { "GL_CLIP_PLANE0", 0x3000 },
- { "GL_CLIP_PLANE1", 0x3001 },
- { "GL_CLIP_PLANE2", 0x3002 },
- { "GL_CLIP_PLANE3", 0x3003 },
- { "GL_CLIP_PLANE4", 0x3004 },
- { "GL_CLIP_PLANE5", 0x3005 },
-
- /* Accumulation buffer */
- { "GL_ACCUM_RED_BITS", 0x0D58 },
- { "GL_ACCUM_GREEN_BITS", 0x0D59 },
- { "GL_ACCUM_BLUE_BITS", 0x0D5A },
- { "GL_ACCUM_ALPHA_BITS", 0x0D5B },
- { "GL_ACCUM_CLEAR_VALUE", 0x0B80 },
- { "GL_ACCUM", 0x0100 },
- { "GL_ADD", 0x0104 },
- { "GL_LOAD", 0x0101 },
- { "GL_MULT", 0x0103 },
- { "GL_RETURN", 0x0102 },
-
- /* Alpha testing */
- { "GL_ALPHA_TEST", 0x0BC0 },
- { "GL_ALPHA_TEST_REF", 0x0BC2 },
- { "GL_ALPHA_TEST_FUNC", 0x0BC1 },
-
- /* Blending */
- { "GL_BLEND", 0x0BE2 },
- { "GL_BLEND_SRC", 0x0BE1 },
- { "GL_BLEND_DST", 0x0BE0 },
- { "GL_ZERO", 0 },
- { "GL_ONE", 1 },
- { "GL_SRC_COLOR", 0x0300 },
- { "GL_ONE_MINUS_SRC_COLOR", 0x0301 },
- { "GL_DST_COLOR", 0x0306 },
- { "GL_ONE_MINUS_DST_COLOR", 0x0307 },
- { "GL_SRC_ALPHA", 0x0302 },
- { "GL_ONE_MINUS_SRC_ALPHA", 0x0303 },
- { "GL_DST_ALPHA", 0x0304 },
- { "GL_ONE_MINUS_DST_ALPHA", 0x0305 },
- { "GL_SRC_ALPHA_SATURATE", 0x0308 },
- { "GL_CONSTANT_COLOR", 0x8001 },
- { "GL_ONE_MINUS_CONSTANT_COLOR", 0x8002 },
- { "GL_CONSTANT_ALPHA", 0x8003 },
- { "GL_ONE_MINUS_CONSTANT_ALPHA", 0x8004 },
-
- /* Render Mode */
- { "GL_FEEDBACK", 0x1C01 },
- { "GL_RENDER", 0x1C00 },
- { "GL_SELECT", 0x1C02 },
-
- /* Feedback */
- { "GL_2D", 0x0600 },
- { "GL_3D", 0x0601 },
- { "GL_3D_COLOR", 0x0602 },
- { "GL_3D_COLOR_TEXTURE", 0x0603 },
- { "GL_4D_COLOR_TEXTURE", 0x0604 },
- { "GL_POINT_TOKEN", 0x0701 },
- { "GL_LINE_TOKEN", 0x0702 },
- { "GL_LINE_RESET_TOKEN", 0x0707 },
- { "GL_POLYGON_TOKEN", 0x0703 },
- { "GL_BITMAP_TOKEN", 0x0704 },
- { "GL_DRAW_PIXEL_TOKEN", 0x0705 },
- { "GL_COPY_PIXEL_TOKEN", 0x0706 },
- { "GL_PASS_THROUGH_TOKEN", 0x0700 },
- { "GL_FEEDBACK_BUFFER_POINTER", 0x0DF0 },
- { "GL_FEEDBACK_BUFFER_SIZE", 0x0DF1 },
- { "GL_FEEDBACK_BUFFER_TYPE", 0x0DF2 },
-
- /* Selection */
- { "GL_SELECTION_BUFFER_POINTER", 0x0DF3 },
- { "GL_SELECTION_BUFFER_SIZE", 0x0DF4 },
-
- /* Fog */
- { "GL_FOG", 0x0B60 },
- { "GL_FOG_MODE", 0x0B65 },
- { "GL_FOG_DENSITY", 0x0B62 },
- { "GL_FOG_COLOR", 0x0B66 },
- { "GL_FOG_INDEX", 0x0B61 },
- { "GL_FOG_START", 0x0B63 },
- { "GL_FOG_END", 0x0B64 },
- { "GL_LINEAR", 0x2601 },
- { "GL_EXP", 0x0800 },
- { "GL_EXP2", 0x0801 },
-
- /* Logic Ops */
- { "GL_LOGIC_OP", 0x0BF1 },
- { "GL_INDEX_LOGIC_OP", 0x0BF1 },
- { "GL_COLOR_LOGIC_OP", 0x0BF2 },
- { "GL_LOGIC_OP_MODE", 0x0BF0 },
{ "GL_CLEAR", 0x1500 },
- { "GL_SET", 0x150F },
+ { "GL_AND", 0x1501 },
+ { "GL_AND_REVERSE", 0x1502 },
{ "GL_COPY", 0x1503 },
- { "GL_COPY_INVERTED", 0x150C },
+ { "GL_AND_INVERTED", 0x1504 },
{ "GL_NOOP", 0x1505 },
- { "GL_INVERT", 0x150A },
- { "GL_AND", 0x1501 },
- { "GL_NAND", 0x150E },
+ { "GL_XOR", 0x1506 },
{ "GL_OR", 0x1507 },
{ "GL_NOR", 0x1508 },
- { "GL_XOR", 0x1506 },
{ "GL_EQUIV", 0x1509 },
- { "GL_AND_REVERSE", 0x1502 },
- { "GL_AND_INVERTED", 0x1504 },
+ { "GL_INVERT", 0x150A },
{ "GL_OR_REVERSE", 0x150B },
+ { "GL_COPY_INVERTED", 0x150C },
{ "GL_OR_INVERTED", 0x150D },
-
- /* Stencil */
- { "GL_STENCIL_TEST", 0x0B90 },
- { "GL_STENCIL_WRITEMASK", 0x0B98 },
- { "GL_STENCIL_BITS", 0x0D57 },
- { "GL_STENCIL_FUNC", 0x0B92 },
- { "GL_STENCIL_VALUE_MASK", 0x0B93 },
- { "GL_STENCIL_REF", 0x0B97 },
- { "GL_STENCIL_FAIL", 0x0B94 },
- { "GL_STENCIL_PASS_DEPTH_PASS", 0x0B96 },
- { "GL_STENCIL_PASS_DEPTH_FAIL", 0x0B95 },
- { "GL_STENCIL_CLEAR_VALUE", 0x0B91 },
- { "GL_STENCIL_INDEX", 0x1901 },
- { "GL_KEEP", 0x1E00 },
- { "GL_REPLACE", 0x1E01 },
- { "GL_INCR", 0x1E02 },
- { "GL_DECR", 0x1E03 },
-
- /* Buffers, Pixel Drawing/Reading */
- { "GL_NONE", 0 },
- { "GL_LEFT", 0x0406 },
- { "GL_RIGHT", 0x0407 },
- { "GL_FRONT_LEFT", 0x0400 },
- { "GL_FRONT_RIGHT", 0x0401 },
- { "GL_BACK_LEFT", 0x0402 },
- { "GL_BACK_RIGHT", 0x0403 },
- { "GL_AUX0", 0x0409 },
- { "GL_AUX1", 0x040A },
- { "GL_AUX2", 0x040B },
- { "GL_AUX3", 0x040C },
+ { "GL_NAND", 0x150E },
+ { "GL_SET", 0x150F },
+ { "GL_EMISSION", 0x1600 },
+ { "GL_SHININESS", 0x1601 },
+ { "GL_AMBIENT_AND_DIFFUSE", 0x1602 },
+ { "GL_COLOR_INDEXES", 0x1603 },
+ { "GL_MODELVIEW", 0x1700 },
+ { "GL_PROJECTION", 0x1701 },
+ { "GL_TEXTURE", 0x1702 },
+ { "GL_COLOR", 0x1800 },
+ { "GL_DEPTH", 0x1801 },
+ { "GL_STENCIL", 0x1802 },
{ "GL_COLOR_INDEX", 0x1900 },
+ { "GL_STENCIL_INDEX", 0x1901 },
+ { "GL_DEPTH_COMPONENT", 0x1902 },
{ "GL_RED", 0x1903 },
{ "GL_GREEN", 0x1904 },
{ "GL_BLUE", 0x1905 },
{ "GL_ALPHA", 0x1906 },
+ { "GL_RGBA", 0x1908 },
+ { "GL_RGB", 0x1907 },
{ "GL_LUMINANCE", 0x1909 },
{ "GL_LUMINANCE_ALPHA", 0x190A },
- { "GL_ALPHA_BITS", 0x0D55 },
- { "GL_RED_BITS", 0x0D52 },
- { "GL_GREEN_BITS", 0x0D53 },
- { "GL_BLUE_BITS", 0x0D54 },
- { "GL_INDEX_BITS", 0x0D51 },
- { "GL_SUBPIXEL_BITS", 0x0D50 },
- { "GL_AUX_BUFFERS", 0x0C00 },
- { "GL_READ_BUFFER", 0x0C02 },
- { "GL_DRAW_BUFFER", 0x0C01 },
- { "GL_DOUBLEBUFFER", 0x0C32 },
- { "GL_STEREO", 0x0C33 },
{ "GL_BITMAP", 0x1A00 },
- { "GL_COLOR", 0x1800 },
- { "GL_DEPTH", 0x1801 },
- { "GL_STENCIL", 0x1802 },
- { "GL_DITHER", 0x0BD0 },
- { "GL_RGB", 0x1907 },
- { "GL_RGBA", 0x1908 },
-
- /* Implementation limits */
- { "GL_MAX_LIST_NESTING", 0x0B31 },
- { "GL_MAX_ATTRIB_STACK_DEPTH", 0x0D35 },
- { "GL_MAX_MODELVIEW_STACK_DEPTH", 0x0D36 },
- { "GL_MAX_NAME_STACK_DEPTH", 0x0D37 },
- { "GL_MAX_PROJECTION_STACK_DEPTH", 0x0D38 },
- { "GL_MAX_TEXTURE_STACK_DEPTH", 0x0D39 },
- { "GL_MAX_EVAL_ORDER", 0x0D30 },
- { "GL_MAX_LIGHTS", 0x0D31 },
- { "GL_MAX_CLIP_PLANES", 0x0D32 },
- { "GL_MAX_TEXTURE_SIZE", 0x0D33 },
- { "GL_MAX_PIXEL_MAP_TABLE", 0x0D34 },
- { "GL_MAX_VIEWPORT_DIMS", 0x0D3A },
- { "GL_MAX_CLIENT_ATTRIB_STACK_DEPTH", 0x0D3B },
-
-
- { "GL_ATTRIB_STACK_DEPTH", 0x0BB0 },
- { "GL_CLIENT_ATTRIB_STACK_DEPTH", 0x0BB1 },
- { "GL_COLOR_CLEAR_VALUE", 0x0C22 },
- { "GL_COLOR_WRITEMASK", 0x0C23 },
- { "GL_CURRENT_INDEX", 0x0B01 },
- { "GL_CURRENT_COLOR", 0x0B00 },
- { "GL_CURRENT_NORMAL", 0x0B02 },
- { "GL_CURRENT_RASTER_COLOR", 0x0B04 },
- { "GL_CURRENT_RASTER_DISTANCE", 0x0B09 },
- { "GL_CURRENT_RASTER_INDEX", 0x0B05 },
- { "GL_CURRENT_RASTER_POSITION", 0x0B07 },
- { "GL_CURRENT_RASTER_TEXTURE_COORDS", 0x0B06},
- { "GL_CURRENT_RASTER_POSITION_VALID", 0x0B08 },
- { "GL_CURRENT_TEXTURE_COORDS", 0x0B03 },
- { "GL_INDEX_CLEAR_VALUE", 0x0C20 },
- { "GL_INDEX_MODE", 0x0C30 },
- { "GL_INDEX_WRITEMASK", 0x0C21 },
- { "GL_MODELVIEW_MATRIX", 0x0BA6 },
- { "GL_MODELVIEW_STACK_DEPTH", 0x0BA3 },
- { "GL_NAME_STACK_DEPTH", 0x0D70 },
- { "GL_PROJECTION_MATRIX", 0x0BA7 },
- { "GL_PROJECTION_STACK_DEPTH", 0x0BA4 },
- { "GL_RENDER_MODE", 0x0C40 },
- { "GL_RGBA_MODE", 0x0C31 },
- { "GL_TEXTURE_MATRIX", 0x0BA8 },
- { "GL_TEXTURE_STACK_DEPTH", 0x0BA5 },
- { "GL_VIEWPORT", 0x0BA2 },
-
-
- /* Evaluators */
- { "GL_AUTO_NORMAL", 0x0D80 },
- { "GL_MAP1_COLOR_4", 0x0D90 },
- { "GL_MAP1_GRID_DOMAIN", 0x0DD0 },
- { "GL_MAP1_GRID_SEGMENTS", 0x0DD1 },
- { "GL_MAP1_INDEX", 0x0D91 },
- { "GL_MAP1_NORMAL", 0x0D92 },
- { "GL_MAP1_TEXTURE_COORD_1", 0x0D93 },
- { "GL_MAP1_TEXTURE_COORD_2", 0x0D94 },
- { "GL_MAP1_TEXTURE_COORD_3", 0x0D95 },
- { "GL_MAP1_TEXTURE_COORD_4", 0x0D96 },
- { "GL_MAP1_VERTEX_3", 0x0D97 },
- { "GL_MAP1_VERTEX_4", 0x0D98 },
- { "GL_MAP2_COLOR_4", 0x0DB0 },
- { "GL_MAP2_GRID_DOMAIN", 0x0DD2 },
- { "GL_MAP2_GRID_SEGMENTS", 0x0DD3 },
- { "GL_MAP2_INDEX", 0x0DB1 },
- { "GL_MAP2_NORMAL", 0x0DB2 },
- { "GL_MAP2_TEXTURE_COORD_1", 0x0DB3 },
- { "GL_MAP2_TEXTURE_COORD_2", 0x0DB4 },
- { "GL_MAP2_TEXTURE_COORD_3", 0x0DB5 },
- { "GL_MAP2_TEXTURE_COORD_4", 0x0DB6 },
- { "GL_MAP2_VERTEX_3", 0x0DB7 },
- { "GL_MAP2_VERTEX_4", 0x0DB8 },
- { "GL_COEFF", 0x0A00 },
- { "GL_DOMAIN", 0x0A02 },
- { "GL_ORDER", 0x0A01 },
-
- /* Hints */
- { "GL_FOG_HINT", 0x0C54 },
- { "GL_LINE_SMOOTH_HINT", 0x0C52 },
- { "GL_PERSPECTIVE_CORRECTION_HINT", 0x0C50 },
- { "GL_POINT_SMOOTH_HINT", 0x0C51 },
- { "GL_POLYGON_SMOOTH_HINT", 0x0C53 },
- { "GL_DONT_CARE", 0x1100 },
- { "GL_FASTEST", 0x1101 },
- { "GL_NICEST", 0x1102 },
-
- /* Scissor box */
- { "GL_SCISSOR_TEST", 0x0C11 },
- { "GL_SCISSOR_BOX", 0x0C10 },
-
- /* Pixel Mode / Transfer */
- { "GL_MAP_COLOR", 0x0D10 },
- { "GL_MAP_STENCIL", 0x0D11 },
- { "GL_INDEX_SHIFT", 0x0D12 },
- { "GL_INDEX_OFFSET", 0x0D13 },
- { "GL_RED_SCALE", 0x0D14 },
- { "GL_RED_BIAS", 0x0D15 },
- { "GL_GREEN_SCALE", 0x0D18 },
- { "GL_GREEN_BIAS", 0x0D19 },
- { "GL_BLUE_SCALE", 0x0D1A },
- { "GL_BLUE_BIAS", 0x0D1B },
- { "GL_ALPHA_SCALE", 0x0D1C },
- { "GL_ALPHA_BIAS", 0x0D1D },
- { "GL_DEPTH_SCALE", 0x0D1E },
- { "GL_DEPTH_BIAS", 0x0D1F },
- { "GL_PIXEL_MAP_S_TO_S_SIZE", 0x0CB1 },
- { "GL_PIXEL_MAP_I_TO_I_SIZE", 0x0CB0 },
- { "GL_PIXEL_MAP_I_TO_R_SIZE", 0x0CB2 },
- { "GL_PIXEL_MAP_I_TO_G_SIZE", 0x0CB3 },
- { "GL_PIXEL_MAP_I_TO_B_SIZE", 0x0CB4 },
- { "GL_PIXEL_MAP_I_TO_A_SIZE", 0x0CB5 },
- { "GL_PIXEL_MAP_R_TO_R_SIZE", 0x0CB6 },
- { "GL_PIXEL_MAP_G_TO_G_SIZE", 0x0CB7 },
- { "GL_PIXEL_MAP_B_TO_B_SIZE", 0x0CB8 },
- { "GL_PIXEL_MAP_A_TO_A_SIZE", 0x0CB9 },
- { "GL_PIXEL_MAP_S_TO_S", 0x0C71 },
- { "GL_PIXEL_MAP_I_TO_I", 0x0C70 },
- { "GL_PIXEL_MAP_I_TO_R", 0x0C72 },
- { "GL_PIXEL_MAP_I_TO_G", 0x0C73 },
- { "GL_PIXEL_MAP_I_TO_B", 0x0C74 },
- { "GL_PIXEL_MAP_I_TO_A", 0x0C75 },
- { "GL_PIXEL_MAP_R_TO_R", 0x0C76 },
- { "GL_PIXEL_MAP_G_TO_G", 0x0C77 },
- { "GL_PIXEL_MAP_B_TO_B", 0x0C78 },
- { "GL_PIXEL_MAP_A_TO_A", 0x0C79 },
- { "GL_PACK_ALIGNMENT", 0x0D05 },
- { "GL_PACK_LSB_FIRST", 0x0D01 },
- { "GL_PACK_ROW_LENGTH", 0x0D02 },
- { "GL_PACK_SKIP_PIXELS", 0x0D04 },
- { "GL_PACK_SKIP_ROWS", 0x0D03 },
- { "GL_PACK_SWAP_BYTES", 0x0D00 },
- { "GL_UNPACK_ALIGNMENT", 0x0CF5 },
- { "GL_UNPACK_LSB_FIRST", 0x0CF1 },
- { "GL_UNPACK_ROW_LENGTH", 0x0CF2 },
- { "GL_UNPACK_SKIP_PIXELS", 0x0CF4 },
- { "GL_UNPACK_SKIP_ROWS", 0x0CF3 },
- { "GL_UNPACK_SWAP_BYTES", 0x0CF0 },
- { "GL_ZOOM_X", 0x0D16 },
- { "GL_ZOOM_Y", 0x0D17 },
-
- /* Texture mapping */
- { "GL_TEXTURE_ENV", 0x2300 },
+ { "GL_POINT", 0x1B00 },
+ { "GL_LINE", 0x1B01 },
+ { "GL_FILL", 0x1B02 },
+ { "GL_FEEDBACK", 0x1C01 },
+ { "GL_RENDER", 0x1C00 },
+ { "GL_SELECT", 0x1C02 },
+ { "GL_FLAT", 0x1D00 },
+ { "GL_SMOOTH", 0x1D01 },
+ { "GL_KEEP", 0x1E00 },
+ { "GL_REPLACE", 0x1E01 },
+ { "GL_INCR", 0x1E02 },
+ { "GL_DECR", 0x1E03 },
+ { "GL_VENDOR", 0x1F00 },
+ { "GL_RENDERER", 0x1F01 },
+ { "GL_VERSION", 0x1F02 },
+ { "GL_EXTENSIONS", 0x1F03 },
+ { "GL_S", 0x2000 },
+ { "GL_T", 0x2001 },
+ { "GL_R", 0x2002 },
+ { "GL_Q", 0x2003 },
+ { "GL_MODULATE", 0x2100 },
+ { "GL_DECAL", 0x2101 },
{ "GL_TEXTURE_ENV_MODE", 0x2200 },
- { "GL_TEXTURE_1D", 0x0DE0 },
- { "GL_TEXTURE_2D", 0x0DE1 },
- { "GL_TEXTURE_WRAP_S", 0x2802 },
- { "GL_TEXTURE_WRAP_T", 0x2803 },
- { "GL_TEXTURE_MAG_FILTER", 0x2800 },
- { "GL_TEXTURE_MIN_FILTER", 0x2801 },
{ "GL_TEXTURE_ENV_COLOR", 0x2201 },
- { "GL_TEXTURE_GEN_S", 0x0C60 },
- { "GL_TEXTURE_GEN_T", 0x0C61 },
+ { "GL_TEXTURE_ENV", 0x2300 },
+ { "GL_EYE_LINEAR", 0x2400 },
+ { "GL_OBJECT_LINEAR", 0x2401 },
+ { "GL_SPHERE_MAP", 0x2402 },
{ "GL_TEXTURE_GEN_MODE", 0x2500 },
- { "GL_TEXTURE_BORDER_COLOR", 0x1004 },
- { "GL_TEXTURE_WIDTH", 0x1000 },
- { "GL_TEXTURE_HEIGHT", 0x1001 },
- { "GL_TEXTURE_BORDER", 0x1005 },
- { "GL_TEXTURE_COMPONENTS", 0x1003 },
+ { "GL_OBJECT_PLANE", 0x2501 },
+ { "GL_EYE_PLANE", 0x2502 },
+ { "GL_NEAREST", 0x2600 },
+ { "GL_LINEAR", 0x2601 },
+ { "GL_NEAREST_MIPMAP_NEAREST", 0x2700 },
+ { "GL_LINEAR_MIPMAP_NEAREST", 0x2701 },
+ { "GL_NEAREST_MIPMAP_LINEAR", 0x2702 },
+ { "GL_LINEAR_MIPMAP_LINEAR", 0x2703 },
+ { "GL_TEXTURE_MAG_FILTER", 0x2800 },
+ { "GL_TEXTURE_MIN_FILTER", 0x2801 },
+ { "GL_TEXTURE_WRAP_S", 0x2802 },
+ { "GL_TEXTURE_WRAP_T", 0x2803 },
+ { "GL_CLAMP", 0x2900 },
+ { "GL_REPEAT", 0x2901 },
+ { "GL_CLIP_PLANE0", 0x3000 },
+ { "GL_CLIP_PLANE1", 0x3001 },
+ { "GL_CLIP_PLANE2", 0x3002 },
+ { "GL_CLIP_PLANE3", 0x3003 },
+ { "GL_CLIP_PLANE4", 0x3004 },
+ { "GL_CLIP_PLANE5", 0x3005 },
+ { "GL_LIGHT0", 0x4000 },
+ { "GL_LIGHT1", 0x4001 },
+ { "GL_LIGHT2", 0x4002 },
+ { "GL_LIGHT3", 0x4003 },
+ { "GL_LIGHT4", 0x4004 },
+ { "GL_LIGHT5", 0x4005 },
+ { "GL_LIGHT6", 0x4006 },
+ { "GL_LIGHT7", 0x4007 },
+ { "GL_CURRENT_BIT", 0x1 },
+ { "GL_POINT_BIT", 0x2 },
+ { "GL_LINE_BIT", 0x4 },
+ { "GL_POLYGON_BIT", 0x8 },
+ { "GL_POLYGON_STIPPLE_BIT", 0x10 },
+ { "GL_PIXEL_MODE_BIT", 0x20 },
+ { "GL_LIGHTING_BIT", 0x40 },
+ { "GL_FOG_BIT", 0x80 },
+ { "GL_DEPTH_BUFFER_BIT", 0x100 },
+ { "GL_ACCUM_BUFFER_BIT", 0x200 },
+ { "GL_STENCIL_BUFFER_BIT", 0x400 },
+ { "GL_VIEWPORT_BIT", 0x800 },
+ { "GL_TRANSFORM_BIT", 0x1000 },
+ { "GL_ENABLE_BIT", 0x2000 },
+ { "GL_COLOR_BUFFER_BIT", 0x4000 },
+ { "GL_HINT_BIT", 0x8000 },
+ { "GL_EVAL_BIT", 0x10000 },
+ { "GL_LIST_BIT", 0x20000 },
+ { "GL_TEXTURE_BIT", 0x40000 },
+ { "GL_SCISSOR_BIT", 0x80000 },
+ { "GL_ALL_ATTRIB_BITS", 0xFFFFF },
+ { "GL_INDEX_LOGIC_OP", 0xBF1 },
+ { "GL_COLOR_LOGIC_OP", 0xBF2 },
+ { "GL_TEXTURE_INTERNAL_FORMAT", 0x1003 },
+ { "GL_DOUBLE", 0x140A },
+ { "GL_POLYGON_OFFSET_UNITS", 0x2A00 },
+ { "GL_POLYGON_OFFSET_POINT", 0x2A01 },
+ { "GL_POLYGON_OFFSET_LINE", 0x2A02 },
+ { "GL_R3_G3_B2", 0x2A10 },
+ { "GL_V2F", 0x2A20 },
+ { "GL_V3F", 0x2A21 },
+ { "GL_C4UB_V2F", 0x2A22 },
+ { "GL_C4UB_V3F", 0x2A23 },
+ { "GL_C3F_V3F", 0x2A24 },
+ { "GL_N3F_V3F", 0x2A25 },
+ { "GL_C4F_N3F_V3F", 0x2A26 },
+ { "GL_T2F_V3F", 0x2A27 },
+ { "GL_T4F_V4F", 0x2A28 },
+ { "GL_T2F_C4UB_V3F", 0x2A29 },
+ { "GL_T2F_C3F_V3F", 0x2A2A },
+ { "GL_T2F_N3F_V3F", 0x2A2B },
+ { "GL_T2F_C4F_N3F_V3F", 0x2A2C },
+ { "GL_T4F_C4F_N3F_V4F", 0x2A2D },
+ { "GL_POLYGON_OFFSET_FILL", 0x8037 },
+ { "GL_POLYGON_OFFSET_FACTOR", 0x8038 },
+ { "GL_POLYGON_OFFSET_BIAS", 0x8039 },
+ { "GL_ALPHA4", 0x803B },
+ { "GL_ALPHA8", 0x803C },
+ { "GL_ALPHA12", 0x803D },
+ { "GL_ALPHA16", 0x803E },
+ { "GL_LUMINANCE4", 0x803F },
+ { "GL_LUMINANCE8", 0x8040 },
+ { "GL_LUMINANCE12", 0x8041 },
+ { "GL_LUMINANCE16", 0x8042 },
+ { "GL_LUMINANCE4_ALPHA4", 0x8043 },
+ { "GL_LUMINANCE6_ALPHA2", 0x8044 },
+ { "GL_LUMINANCE8_ALPHA8", 0x8045 },
+ { "GL_LUMINANCE12_ALPHA4", 0x8046 },
+ { "GL_LUMINANCE12_ALPHA12", 0x8047 },
+ { "GL_LUMINANCE16_ALPHA16", 0x8048 },
+ { "GL_INTENSITY", 0x8049 },
+ { "GL_INTENSITY4", 0x804A },
+ { "GL_INTENSITY8", 0x804B },
+ { "GL_INTENSITY12", 0x804C },
+ { "GL_INTENSITY16", 0x804D },
+ { "GL_RGB4", 0x804F },
+ { "GL_RGB5", 0x8050 },
+ { "GL_RGB8", 0x8051 },
+ { "GL_RGB10", 0x8052 },
+ { "GL_RGB12", 0x8053 },
+ { "GL_RGB16", 0x8054 },
+ { "GL_RGBA2", 0x8055 },
+ { "GL_RGBA4", 0x8056 },
+ { "GL_RGB5_A1", 0x8057 },
+ { "GL_RGBA8", 0x8058 },
+ { "GL_RGB10_A2", 0x8059 },
+ { "GL_RGBA12", 0x805A },
+ { "GL_RGBA16", 0x805B },
{ "GL_TEXTURE_RED_SIZE", 0x805C },
{ "GL_TEXTURE_GREEN_SIZE", 0x805D },
{ "GL_TEXTURE_BLUE_SIZE", 0x805E },
{ "GL_TEXTURE_ALPHA_SIZE", 0x805F },
{ "GL_TEXTURE_LUMINANCE_SIZE", 0x8060 },
{ "GL_TEXTURE_INTENSITY_SIZE", 0x8061 },
- { "GL_NEAREST_MIPMAP_NEAREST", 0x2700 },
- { "GL_NEAREST_MIPMAP_LINEAR", 0x2702 },
- { "GL_LINEAR_MIPMAP_NEAREST", 0x2701 },
- { "GL_LINEAR_MIPMAP_LINEAR", 0x2703 },
- { "GL_OBJECT_LINEAR", 0x2401 },
- { "GL_OBJECT_PLANE", 0x2501 },
- { "GL_EYE_LINEAR", 0x2400 },
- { "GL_EYE_PLANE", 0x2502 },
- { "GL_SPHERE_MAP", 0x2402 },
- { "GL_DECAL", 0x2101 },
- { "GL_MODULATE", 0x2100 },
- { "GL_NEAREST", 0x2600 },
- { "GL_REPEAT", 0x2901 },
- { "GL_CLAMP", 0x2900 },
- { "GL_S", 0x2000 },
- { "GL_T", 0x2001 },
- { "GL_R", 0x2002 },
- { "GL_Q", 0x2003 },
- { "GL_TEXTURE_GEN_R", 0x0C62 },
- { "GL_TEXTURE_GEN_Q", 0x0C63 },
-
- /* GL 1.1 texturing */
{ "GL_PROXY_TEXTURE_1D", 0x8063 },
{ "GL_PROXY_TEXTURE_2D", 0x8064 },
{ "GL_TEXTURE_PRIORITY", 0x8066 },
{ "GL_TEXTURE_RESIDENT", 0x8067 },
{ "GL_TEXTURE_BINDING_1D", 0x8068 },
{ "GL_TEXTURE_BINDING_2D", 0x8069 },
- { "GL_TEXTURE_INTERNAL_FORMAT", 0x1003 },
-
- /* GL 1.2 texturing */
+ { "GL_VERTEX_ARRAY", 0x8074 },
+ { "GL_NORMAL_ARRAY", 0x8075 },
+ { "GL_COLOR_ARRAY", 0x8076 },
+ { "GL_INDEX_ARRAY", 0x8077 },
+ { "GL_TEXTURE_COORD_ARRAY", 0x8078 },
+ { "GL_EDGE_FLAG_ARRAY", 0x8079 },
+ { "GL_VERTEX_ARRAY_SIZE", 0x807A },
+ { "GL_VERTEX_ARRAY_TYPE", 0x807B },
+ { "GL_VERTEX_ARRAY_STRIDE", 0x807C },
+ { "GL_VERTEX_ARRAY_COUNT", 0x807D },
+ { "GL_NORMAL_ARRAY_TYPE", 0x807E },
+ { "GL_NORMAL_ARRAY_STRIDE", 0x807F },
+ { "GL_NORMAL_ARRAY_COUNT", 0x8080 },
+ { "GL_COLOR_ARRAY_SIZE", 0x8081 },
+ { "GL_COLOR_ARRAY_TYPE", 0x8082 },
+ { "GL_COLOR_ARRAY_STRIDE", 0x8083 },
+ { "GL_COLOR_ARRAY_COUNT", 0x8084 },
+ { "GL_INDEX_ARRAY_TYPE", 0x8085 },
+ { "GL_INDEX_ARRAY_STRIDE", 0x8086 },
+ { "GL_INDEX_ARRAY_COUNT", 0x8087 },
+ { "GL_TEXTURE_COORD_ARRAY_SIZE", 0x8088 },
+ { "GL_TEXTURE_COORD_ARRAY_TYPE", 0x8089 },
+ { "GL_TEXTURE_COORD_ARRAY_STRIDE", 0x808A },
+ { "GL_TEXTURE_COORD_ARRAY_COUNT", 0x808B },
+ { "GL_EDGE_FLAG_ARRAY_STRIDE", 0x808C },
+ { "GL_EDGE_FLAG_ARRAY_COUNT", 0x808D },
+ { "GL_VERTEX_ARRAY_POINTER", 0x808E },
+ { "GL_NORMAL_ARRAY_POINTER", 0x808F },
+ { "GL_COLOR_ARRAY_POINTER", 0x8090 },
+ { "GL_INDEX_ARRAY_POINTER", 0x8091 },
+ { "GL_TEXTURE_COORD_ARRAY_POINTER", 0x8092 },
+ { "GL_EDGE_FLAG_ARRAY_POINTER", 0x8093 },
+ { "GL_CLIENT_PIXEL_STORE_BIT", 0x1 },
+ { "GL_CLIENT_VERTEX_ARRAY_BIT", 0x2 },
+ { "GL_ALL_CLIENT_ATTRIB_BITS", 0xFFFFFFFF },
+ { "GL_CLIENT_ALL_ATTRIB_BITS", 0xFFFFFFFF },
+ { "GL_UNSIGNED_BYTE_3_3_2", 0x8032 },
+ { "GL_UNSIGNED_SHORT_4_4_4_4", 0x8033 },
+ { "GL_UNSIGNED_SHORT_5_5_5_1", 0x8034 },
+ { "GL_UNSIGNED_INT_8_8_8_8", 0x8035 },
+ { "GL_UNSIGNED_INT_10_10_10_2", 0x8036 },
+ { "GL_RESCALE_NORMAL", 0x803A },
+ { "GL_TEXTURE_BINDING_3D", 0x806A },
{ "GL_PACK_SKIP_IMAGES", 0x806B },
{ "GL_PACK_IMAGE_HEIGHT", 0x806C },
{ "GL_UNPACK_SKIP_IMAGES", 0x806D },
@@ -576,9 +588,83 @@ static enum_elt all_enums[] =
{ "GL_TEXTURE_DEPTH", 0x8071 },
{ "GL_TEXTURE_WRAP_R", 0x8072 },
{ "GL_MAX_3D_TEXTURE_SIZE", 0x8073 },
- { "GL_TEXTURE_BINDING_3D", 0x806A },
-
- /* GL 1.3 texturing */
+ { "GL_UNSIGNED_BYTE_2_3_3_REV", 0x8362 },
+ { "GL_UNSIGNED_SHORT_5_6_5", 0x8363 },
+ { "GL_UNSIGNED_SHORT_5_6_5_REV", 0x8364 },
+ { "GL_UNSIGNED_SHORT_4_4_4_4_REV", 0x8365 },
+ { "GL_UNSIGNED_SHORT_1_5_5_5_REV", 0x8366 },
+ { "GL_UNSIGNED_INT_8_8_8_8_REV", 0x8367 },
+ { "GL_UNSIGNED_INT_2_10_10_10_REV", 0x8368 },
+ { "GL_BGR", 0x80E0 },
+ { "GL_BGRA", 0x80E1 },
+ { "GL_MAX_ELEMENTS_VERTICES", 0x80E8 },
+ { "GL_MAX_ELEMENTS_INDICES", 0x80E9 },
+ { "GL_CLAMP_TO_EDGE", 0x812F },
+ { "GL_TEXTURE_MIN_LOD", 0x813A },
+ { "GL_TEXTURE_MAX_LOD", 0x813B },
+ { "GL_TEXTURE_BASE_LEVEL", 0x813C },
+ { "GL_TEXTURE_MAX_LEVEL", 0x813D },
+ { "GL_LIGHT_MODEL_COLOR_CONTROL", 0x81F8 },
+ { "GL_SINGLE_COLOR", 0x81F9 },
+ { "GL_SEPARATE_SPECULAR_COLOR", 0x81FA },
+ { "GL_SMOOTH_POINT_SIZE_RANGE", 0xB12 },
+ { "GL_SMOOTH_POINT_SIZE_GRANULARITY", 0xB13 },
+ { "GL_SMOOTH_LINE_WIDTH_RANGE", 0xB22 },
+ { "GL_SMOOTH_LINE_WIDTH_GRANULARITY", 0xB23 },
+ { "GL_ALIASED_POINT_SIZE_RANGE", 0x846D },
+ { "GL_ALIASED_LINE_WIDTH_RANGE", 0x846E },
+ { "GL_CONVOLUTION_BORDER_MODE", 0x8013 },
+ { "GL_CONVOLUTION_BORDER_COLOR", 0x8154 },
+ { "GL_CONVOLUTION_FILTER_SCALE", 0x8014 },
+ { "GL_CONVOLUTION_FILTER_BIAS", 0x8015 },
+ { "GL_REDUCE", 0x8016 },
+ { "GL_CONVOLUTION_FORMAT", 0x8017 },
+ { "GL_CONVOLUTION_WIDTH", 0x8018 },
+ { "GL_CONVOLUTION_HEIGHT", 0x8019 },
+ { "GL_MAX_CONVOLUTION_WIDTH", 0x801A },
+ { "GL_MAX_CONVOLUTION_HEIGHT", 0x801B },
+ { "GL_POST_CONVOLUTION_RED_SCALE", 0x801C },
+ { "GL_POST_CONVOLUTION_GREEN_SCALE", 0x801D },
+ { "GL_POST_CONVOLUTION_BLUE_SCALE", 0x801E },
+ { "GL_POST_CONVOLUTION_ALPHA_SCALE", 0x801F },
+ { "GL_POST_CONVOLUTION_RED_BIAS", 0x8020 },
+ { "GL_POST_CONVOLUTION_GREEN_BIAS", 0x8021 },
+ { "GL_POST_CONVOLUTION_BLUE_BIAS", 0x8022 },
+ { "GL_POST_CONVOLUTION_ALPHA_BIAS", 0x8023 },
+ { "GL_HISTOGRAM", 0x8024 },
+ { "GL_PROXY_HISTOGRAM", 0x8025 },
+ { "GL_HISTOGRAM_WIDTH", 0x8026 },
+ { "GL_HISTOGRAM_FORMAT", 0x8027 },
+ { "GL_HISTOGRAM_RED_SIZE", 0x8028 },
+ { "GL_HISTOGRAM_GREEN_SIZE", 0x8029 },
+ { "GL_HISTOGRAM_BLUE_SIZE", 0x802A },
+ { "GL_HISTOGRAM_ALPHA_SIZE", 0x802B },
+ { "GL_HISTOGRAM_LUMINANCE_SIZE", 0x802C },
+ { "GL_HISTOGRAM_SINK", 0x802D },
+ { "GL_MINMAX", 0x802E },
+ { "GL_MINMAX_FORMAT", 0x802F },
+ { "GL_MINMAX_SINK", 0x8030 },
+ { "GL_COLOR_MATRIX", 0x80B1 },
+ { "GL_COLOR_MATRIX_STACK_DEPTH", 0x80B2 },
+ { "GL_MAX_COLOR_MATRIX_STACK_DEPTH", 0x80B3 },
+ { "GL_POST_COLOR_MATRIX_RED_SCALE", 0x80B4 },
+ { "GL_POST_COLOR_MATRIX_GREEN_SCALE", 0x80B5 },
+ { "GL_POST_COLOR_MATRIX_BLUE_SCALE", 0x80B6 },
+ { "GL_POST_COLOR_MATRIX_ALPHA_SCALE", 0x80B7 },
+ { "GL_POST_COLOR_MATRIX_RED_BIAS", 0x80B8 },
+ { "GL_POST_COLOR_MATRIX_GREEN_BIAS", 0x80B9 },
+ { "GL_POST_COLOR_MATRIX_BLUE_BIAS", 0x80BA },
+ { "GL_POST_COLOR_MATRIX_ALPHA_BIAS", 0x80BB },
+ { "GL_COLOR_TABLE_SCALE", 0x80D6 },
+ { "GL_COLOR_TABLE_BIAS", 0x80D7 },
+ { "GL_COLOR_TABLE_FORMAT", 0x80D8 },
+ { "GL_COLOR_TABLE_WIDTH", 0x80D9 },
+ { "GL_COLOR_TABLE_RED_SIZE", 0x80DA },
+ { "GL_COLOR_TABLE_GREEN_SIZE", 0x80DB },
+ { "GL_COLOR_TABLE_BLUE_SIZE", 0x80DC },
+ { "GL_COLOR_TABLE_ALPHA_SIZE", 0x80DD },
+ { "GL_COLOR_TABLE_LUMINANCE_SIZE", 0x80DE },
+ { "GL_COLOR_TABLE_INTENSITY_SIZE", 0x80DF },
{ "GL_TEXTURE0", 0x84C0 },
{ "GL_TEXTURE1", 0x84C1 },
{ "GL_TEXTURE2", 0x84C2 },
@@ -614,127 +700,637 @@ static enum_elt all_enums[] =
{ "GL_ACTIVE_TEXTURE", 0x84E0 },
{ "GL_CLIENT_ACTIVE_TEXTURE", 0x84E1 },
{ "GL_MAX_TEXTURE_UNITS", 0x84E2 },
-
- /* Internal texture formats (GL 1.1) */
- { "GL_ALPHA4", 0x803B },
- { "GL_ALPHA8", 0x803C },
- { "GL_ALPHA12", 0x803D },
- { "GL_ALPHA16", 0x803E },
- { "GL_LUMINANCE4", 0x803F },
- { "GL_LUMINANCE8", 0x8040 },
- { "GL_LUMINANCE12", 0x8041 },
- { "GL_LUMINANCE16", 0x8042 },
- { "GL_LUMINANCE4_ALPHA4", 0x8043 },
- { "GL_LUMINANCE6_ALPHA2", 0x8044 },
- { "GL_LUMINANCE8_ALPHA8", 0x8045 },
- { "GL_LUMINANCE12_ALPHA4", 0x8046 },
- { "GL_LUMINANCE12_ALPHA12", 0x8047 },
- { "GL_LUMINANCE16_ALPHA16", 0x8048 },
- { "GL_INTENSITY", 0x8049 },
- { "GL_INTENSITY4", 0x804A },
- { "GL_INTENSITY8", 0x804B },
- { "GL_INTENSITY12", 0x804C },
- { "GL_INTENSITY16", 0x804D },
- { "GL_R3_G3_B2", 0x2A10 },
- { "GL_RGB4", 0x804F },
- { "GL_RGB5", 0x8050 },
- { "GL_RGB8", 0x8051 },
- { "GL_RGB10", 0x8052 },
- { "GL_RGB12", 0x8053 },
- { "GL_RGB16", 0x8054 },
- { "GL_RGBA2", 0x8055 },
- { "GL_RGBA4", 0x8056 },
- { "GL_RGB5_A1", 0x8057 },
- { "GL_RGBA8", 0x8058 },
- { "GL_RGB10_A2", 0x8059 },
- { "GL_RGBA12", 0x805A },
- { "GL_RGBA16", 0x805B },
-
- /* Utility */
- { "GL_VENDOR", 0x1F00 },
- { "GL_RENDERER", 0x1F01 },
- { "GL_VERSION", 0x1F02 },
- { "GL_EXTENSIONS", 0x1F03 },
-
- /* Errors */
- { "GL_INVALID_VALUE", 0x0501 },
- { "GL_INVALID_ENUM", 0x0500 },
- { "GL_INVALID_OPERATION", 0x0502 },
- { "GL_STACK_OVERFLOW", 0x0503 },
- { "GL_STACK_UNDERFLOW", 0x0504 },
- { "GL_OUT_OF_MEMORY", 0x0505 },
-
- /*
- * Extensions
- */
-
+ { "GL_TRANSPOSE_MODELVIEW_MATRIX", 0x84E3 },
+ { "GL_TRANSPOSE_PROJECTION_MATRIX", 0x84E4 },
+ { "GL_TRANSPOSE_TEXTURE_MATRIX", 0x84E5 },
+ { "GL_TRANSPOSE_COLOR_MATRIX", 0x84E6 },
+ { "GL_MULTISAMPLE", 0x809D },
+ { "GL_SAMPLE_ALPHA_TO_COVERAGE", 0x809E },
+ { "GL_SAMPLE_ALPHA_TO_ONE", 0x809F },
+ { "GL_SAMPLE_COVERAGE", 0x80A0 },
+ { "GL_SAMPLE_BUFFERS", 0x80A8 },
+ { "GL_SAMPLES", 0x80A9 },
+ { "GL_SAMPLE_COVERAGE_VALUE", 0x80AA },
+ { "GL_SAMPLE_COVERAGE_INVERT", 0x80AB },
+ { "GL_MULTISAMPLE_BIT", 0x20000000 },
+ { "GL_NORMAL_MAP", 0x8511 },
+ { "GL_REFLECTION_MAP", 0x8512 },
+ { "GL_TEXTURE_CUBE_MAP", 0x8513 },
+ { "GL_TEXTURE_BINDING_CUBE_MAP", 0x8514 },
+ { "GL_TEXTURE_CUBE_MAP_POSITIVE_X", 0x8515 },
+ { "GL_TEXTURE_CUBE_MAP_NEGATIVE_X", 0x8516 },
+ { "GL_TEXTURE_CUBE_MAP_POSITIVE_Y", 0x8517 },
+ { "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y", 0x8518 },
+ { "GL_TEXTURE_CUBE_MAP_POSITIVE_Z", 0x8519 },
+ { "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z", 0x851A },
+ { "GL_PROXY_TEXTURE_CUBE_MAP", 0x851B },
+ { "GL_MAX_CUBE_MAP_TEXTURE_SIZE", 0x851C },
+ { "GL_COMPRESSED_ALPHA", 0x84E9 },
+ { "GL_COMPRESSED_LUMINANCE", 0x84EA },
+ { "GL_COMPRESSED_LUMINANCE_ALPHA", 0x84EB },
+ { "GL_COMPRESSED_INTENSITY", 0x84EC },
+ { "GL_COMPRESSED_RGB", 0x84ED },
+ { "GL_COMPRESSED_RGBA", 0x84EE },
+ { "GL_TEXTURE_COMPRESSION_HINT", 0x84EF },
+ { "GL_TEXTURE_COMPRESSED_IMAGE_SIZE", 0x86A0 },
+ { "GL_TEXTURE_COMPRESSED", 0x86A1 },
+ { "GL_NUM_COMPRESSED_TEXTURE_FORMATS", 0x86A2 },
+ { "GL_COMPRESSED_TEXTURE_FORMATS", 0x86A3 },
+ { "GL_CLAMP_TO_BORDER", 0x812D },
+ { "GL_COMBINE", 0x8570 },
+ { "GL_COMBINE_RGB", 0x8571 },
+ { "GL_COMBINE_ALPHA", 0x8572 },
+ { "GL_SOURCE0_RGB", 0x8580 },
+ { "GL_SOURCE1_RGB", 0x8581 },
+ { "GL_SOURCE2_RGB", 0x8582 },
+ { "GL_SOURCE0_ALPHA", 0x8588 },
+ { "GL_SOURCE1_ALPHA", 0x8589 },
+ { "GL_SOURCE2_ALPHA", 0x858A },
+ { "GL_OPERAND0_RGB", 0x8590 },
+ { "GL_OPERAND1_RGB", 0x8591 },
+ { "GL_OPERAND2_RGB", 0x8592 },
+ { "GL_OPERAND0_ALPHA", 0x8598 },
+ { "GL_OPERAND1_ALPHA", 0x8599 },
+ { "GL_OPERAND2_ALPHA", 0x859A },
+ { "GL_RGB_SCALE", 0x8573 },
+ { "GL_ADD_SIGNED", 0x8574 },
+ { "GL_INTERPOLATE", 0x8575 },
+ { "GL_SUBTRACT", 0x84E7 },
+ { "GL_CONSTANT", 0x8576 },
+ { "GL_PRIMARY_COLOR", 0x8577 },
+ { "GL_PREVIOUS", 0x8578 },
+ { "GL_DOT3_RGB", 0x86AE },
+ { "GL_DOT3_RGBA", 0x86AF },
+ { "GL_BLEND_DST_RGB", 0x80C8 },
+ { "GL_BLEND_SRC_RGB", 0x80C9 },
+ { "GL_BLEND_DST_ALPHA", 0x80CA },
+ { "GL_BLEND_SRC_ALPHA", 0x80CB },
+ { "GL_POINT_SIZE_MIN", 0x8126 },
+ { "GL_POINT_SIZE_MAX", 0x8127 },
+ { "GL_POINT_FADE_THRESHOLD_SIZE", 0x8128 },
+ { "GL_POINT_DISTANCE_ATTENUATION", 0x8129 },
+ { "GL_GENERATE_MIPMAP", 0x8191 },
+ { "GL_GENERATE_MIPMAP_HINT", 0x8192 },
+ { "GL_DEPTH_COMPONENT16", 0x81A5 },
+ { "GL_DEPTH_COMPONENT24", 0x81A6 },
+ { "GL_DEPTH_COMPONENT32", 0x81A7 },
+ { "GL_MIRRORED_REPEAT", 0x8370 },
+ { "GL_FOG_COORDINATE_SOURCE", 0x8450 },
+ { "GL_FOG_COORDINATE", 0x8451 },
+ { "GL_FRAGMENT_DEPTH", 0x8452 },
+ { "GL_CURRENT_FOG_COORDINATE", 0x8453 },
+ { "GL_FOG_COORDINATE_ARRAY_TYPE", 0x8454 },
+ { "GL_FOG_COORDINATE_ARRAY_STRIDE", 0x8455 },
+ { "GL_FOG_COORDINATE_ARRAY_POINTER", 0x8456 },
+ { "GL_FOG_COORDINATE_ARRAY", 0x8457 },
+ { "GL_COLOR_SUM", 0x8458 },
+ { "GL_CURRENT_SECONDARY_COLOR", 0x8459 },
+ { "GL_SECONDARY_COLOR_ARRAY_SIZE", 0x845A },
+ { "GL_SECONDARY_COLOR_ARRAY_TYPE", 0x845B },
+ { "GL_SECONDARY_COLOR_ARRAY_STRIDE", 0x845C },
+ { "GL_SECONDARY_COLOR_ARRAY_POINTER", 0x845D },
+ { "GL_SECONDARY_COLOR_ARRAY", 0x845E },
+ { "GL_MAX_TEXTURE_LOD_BIAS", 0x84FD },
+ { "GL_TEXTURE_FILTER_CONTROL", 0x8500 },
+ { "GL_TEXTURE_LOD_BIAS", 0x8501 },
+ { "GL_INCR_WRAP", 0x8507 },
+ { "GL_DECR_WRAP", 0x8508 },
+ { "GL_TEXTURE_DEPTH_SIZE", 0x884A },
+ { "GL_DEPTH_TEXTURE_MODE", 0x884B },
+ { "GL_TEXTURE_COMPARE_MODE", 0x884C },
+ { "GL_TEXTURE_COMPARE_FUNC", 0x884D },
+ { "GL_COMPARE_R_TO_TEXTURE", 0x884E },
+ { "GL_BUFFER_SIZE", 0x8764 },
+ { "GL_BUFFER_USAGE", 0x8765 },
+ { "GL_QUERY_COUNTER_BITS", 0x8864 },
+ { "GL_CURRENT_QUERY", 0x8865 },
+ { "GL_QUERY_RESULT", 0x8866 },
+ { "GL_QUERY_RESULT_AVAILABLE", 0x8867 },
+ { "GL_ARRAY_BUFFER", 0x8892 },
+ { "GL_ELEMENT_ARRAY_BUFFER", 0x8893 },
+ { "GL_ARRAY_BUFFER_BINDING", 0x8894 },
+ { "GL_ELEMENT_ARRAY_BUFFER_BINDING", 0x8895 },
+ { "GL_VERTEX_ARRAY_BUFFER_BINDING", 0x8896 },
+ { "GL_NORMAL_ARRAY_BUFFER_BINDING", 0x8897 },
+ { "GL_COLOR_ARRAY_BUFFER_BINDING", 0x8898 },
+ { "GL_INDEX_ARRAY_BUFFER_BINDING", 0x8899 },
+ { "GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING", 0x889A },
+ { "GL_EDGE_FLAG_ARRAY_BUFFER_BINDING", 0x889B },
+ { "GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING", 0x889C },
+ { "GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING", 0x889D },
+ { "GL_WEIGHT_ARRAY_BUFFER_BINDING", 0x889E },
+ { "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", 0x889F },
+ { "GL_READ_ONLY", 0x88B8 },
+ { "GL_WRITE_ONLY", 0x88B9 },
+ { "GL_READ_WRITE", 0x88BA },
+ { "GL_BUFFER_ACCESS", 0x88BB },
+ { "GL_BUFFER_MAPPED", 0x88BC },
+ { "GL_BUFFER_MAP_POINTER", 0x88BD },
+ { "GL_STREAM_DRAW", 0x88E0 },
+ { "GL_STREAM_READ", 0x88E1 },
+ { "GL_STREAM_COPY", 0x88E2 },
+ { "GL_STATIC_DRAW", 0x88E4 },
+ { "GL_STATIC_READ", 0x88E5 },
+ { "GL_STATIC_COPY", 0x88E6 },
+ { "GL_DYNAMIC_DRAW", 0x88E8 },
+ { "GL_DYNAMIC_READ", 0x88E9 },
+ { "GL_DYNAMIC_COPY", 0x88EA },
+ { "GL_SAMPLES_PASSED", 0x8914 },
+ { "GL_FOG_COORD_SOURCE", 0x8450 },
+ { "GL_FOG_COORD", 0x8451 },
+ { "GL_CURRENT_FOG_COORD", 0x8453 },
+ { "GL_FOG_COORD_ARRAY_TYPE", 0x8454 },
+ { "GL_FOG_COORD_ARRAY_STRIDE", 0x8455 },
+ { "GL_FOG_COORD_ARRAY_POINTER", 0x8456 },
+ { "GL_FOG_COORD_ARRAY", 0x8457 },
+ { "GL_FOG_COORD_ARRAY_BUFFER_BINDING", 0x889D },
+ { "GL_SRC0_RGB", 0x8580 },
+ { "GL_SRC1_RGB", 0x8581 },
+ { "GL_SRC2_RGB", 0x8582 },
+ { "GL_SRC0_ALPHA", 0x8588 },
+ { "GL_SRC1_ALPHA", 0x8589 },
+ { "GL_SRC2_ALPHA", 0x858A },
+ { "GL_POINT_SPRITE_COORD_ORIGIN", 0x8CA0 },
+ { "GL_TEXTURE0_ARB", 0x84C0 },
+ { "GL_TEXTURE1_ARB", 0x84C1 },
+ { "GL_TEXTURE2_ARB", 0x84C2 },
+ { "GL_TEXTURE3_ARB", 0x84C3 },
+ { "GL_TEXTURE4_ARB", 0x84C4 },
+ { "GL_TEXTURE5_ARB", 0x84C5 },
+ { "GL_TEXTURE6_ARB", 0x84C6 },
+ { "GL_TEXTURE7_ARB", 0x84C7 },
+ { "GL_TEXTURE8_ARB", 0x84C8 },
+ { "GL_TEXTURE9_ARB", 0x84C9 },
+ { "GL_TEXTURE10_ARB", 0x84CA },
+ { "GL_TEXTURE11_ARB", 0x84CB },
+ { "GL_TEXTURE12_ARB", 0x84CC },
+ { "GL_TEXTURE13_ARB", 0x84CD },
+ { "GL_TEXTURE14_ARB", 0x84CE },
+ { "GL_TEXTURE15_ARB", 0x84CF },
+ { "GL_TEXTURE16_ARB", 0x84D0 },
+ { "GL_TEXTURE17_ARB", 0x84D1 },
+ { "GL_TEXTURE18_ARB", 0x84D2 },
+ { "GL_TEXTURE19_ARB", 0x84D3 },
+ { "GL_TEXTURE20_ARB", 0x84D4 },
+ { "GL_TEXTURE21_ARB", 0x84D5 },
+ { "GL_TEXTURE22_ARB", 0x84D6 },
+ { "GL_TEXTURE23_ARB", 0x84D7 },
+ { "GL_TEXTURE24_ARB", 0x84D8 },
+ { "GL_TEXTURE25_ARB", 0x84D9 },
+ { "GL_TEXTURE26_ARB", 0x84DA },
+ { "GL_TEXTURE27_ARB", 0x84DB },
+ { "GL_TEXTURE28_ARB", 0x84DC },
+ { "GL_TEXTURE29_ARB", 0x84DD },
+ { "GL_TEXTURE30_ARB", 0x84DE },
+ { "GL_TEXTURE31_ARB", 0x84DF },
+ { "GL_ACTIVE_TEXTURE_ARB", 0x84E0 },
+ { "GL_CLIENT_ACTIVE_TEXTURE_ARB", 0x84E1 },
+ { "GL_MAX_TEXTURE_UNITS_ARB", 0x84E2 },
+ { "GL_TRANSPOSE_MODELVIEW_MATRIX_ARB", 0x84E3 },
+ { "GL_TRANSPOSE_PROJECTION_MATRIX_ARB", 0x84E4 },
+ { "GL_TRANSPOSE_TEXTURE_MATRIX_ARB", 0x84E5 },
+ { "GL_TRANSPOSE_COLOR_MATRIX_ARB", 0x84E6 },
+ { "GL_MULTISAMPLE_ARB", 0x809D },
+ { "GL_SAMPLE_ALPHA_TO_COVERAGE_ARB", 0x809E },
+ { "GL_SAMPLE_ALPHA_TO_ONE_ARB", 0x809F },
+ { "GL_SAMPLE_COVERAGE_ARB", 0x80A0 },
+ { "GL_SAMPLE_BUFFERS_ARB", 0x80A8 },
+ { "GL_SAMPLES_ARB", 0x80A9 },
+ { "GL_SAMPLE_COVERAGE_VALUE_ARB", 0x80AA },
+ { "GL_SAMPLE_COVERAGE_INVERT_ARB", 0x80AB },
+ { "GL_MULTISAMPLE_BIT_ARB", 0x20000000 },
+ { "GL_NORMAL_MAP_ARB", 0x8511 },
+ { "GL_REFLECTION_MAP_ARB", 0x8512 },
+ { "GL_TEXTURE_CUBE_MAP_ARB", 0x8513 },
+ { "GL_TEXTURE_BINDING_CUBE_MAP_ARB", 0x8514 },
+ { "GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB", 0x8515 },
+ { "GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB", 0x8516 },
+ { "GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB", 0x8517 },
+ { "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB", 0x8518 },
+ { "GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB", 0x8519 },
+ { "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB", 0x851A },
+ { "GL_PROXY_TEXTURE_CUBE_MAP_ARB", 0x851B },
+ { "GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB", 0x851C },
+ { "GL_COMPRESSED_ALPHA_ARB", 0x84E9 },
+ { "GL_COMPRESSED_LUMINANCE_ARB", 0x84EA },
+ { "GL_COMPRESSED_LUMINANCE_ALPHA_ARB", 0x84EB },
+ { "GL_COMPRESSED_INTENSITY_ARB", 0x84EC },
+ { "GL_COMPRESSED_RGB_ARB", 0x84ED },
+ { "GL_COMPRESSED_RGBA_ARB", 0x84EE },
+ { "GL_TEXTURE_COMPRESSION_HINT_ARB", 0x84EF },
+ { "GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB", 0x86A0 },
+ { "GL_TEXTURE_COMPRESSED_ARB", 0x86A1 },
+ { "GL_NUM_TEXTURE_COMPRESSED_FORMATS_ARB", 0x86A2 },
+ { "GL_TEXTURE_COMPRESSED_FORMATS_ARB", 0x86A3 },
+ { "GL_CLAMP_TO_BORDER_ARB", 0x812D },
+ { "GL_POINT_SIZE_MIN_ARB", 0x8126 },
+ { "GL_POINT_SIZE_MAX_ARB", 0x8127 },
+ { "GL_POINT_FADE_THRESHOLD_SIZE_ARB", 0x8128 },
+ { "GL_POINT_DISTANCE_ATTENUATION_ARB", 0x8129 },
+ { "GL_MAX_VERTEX_UNITS_ARB", 0x86A4 },
+ { "GL_ACTIVE_VERTEX_UNITS_ARB", 0x86A5 },
+ { "GL_WEIGHT_SUM_UNITY_ARB", 0x86A6 },
+ { "GL_VERTEX_BLEND_ARB", 0x86A7 },
+ { "GL_CURRENT_WEIGHT_ARB", 0x86A8 },
+ { "GL_WEIGHT_ARRAY_TYPE_ARB", 0x86A9 },
+ { "GL_WEIGHT_ARRAY_STRIDE_ARB", 0x86AA },
+ { "GL_WEIGHT_ARRAY_SIZE_ARB", 0x86AB },
+ { "GL_WEIGHT_ARRAY_POINTER_ARB", 0x86AC },
+ { "GL_WEIGHT_ARRAY_ARB", 0x86AD },
+ { "GL_MODELVIEW0_ARB", 0x1700 },
+ { "GL_MODELVIEW1_ARB", 0x850A },
+ { "GL_MODELVIEW2_ARB", 0x8722 },
+ { "GL_MODELVIEW3_ARB", 0x8723 },
+ { "GL_MODELVIEW4_ARB", 0x8724 },
+ { "GL_MODELVIEW5_ARB", 0x8725 },
+ { "GL_MODELVIEW6_ARB", 0x8726 },
+ { "GL_MODELVIEW7_ARB", 0x8727 },
+ { "GL_MODELVIEW8_ARB", 0x8728 },
+ { "GL_MODELVIEW9_ARB", 0x8729 },
+ { "GL_MODELVIEW10_ARB", 0x872A },
+ { "GL_MODELVIEW11_ARB", 0x872B },
+ { "GL_MODELVIEW12_ARB", 0x872C },
+ { "GL_MODELVIEW13_ARB", 0x872D },
+ { "GL_MODELVIEW14_ARB", 0x872E },
+ { "GL_MODELVIEW15_ARB", 0x872F },
+ { "GL_MODELVIEW16_ARB", 0x8730 },
+ { "GL_MODELVIEW17_ARB", 0x8731 },
+ { "GL_MODELVIEW18_ARB", 0x8732 },
+ { "GL_MODELVIEW19_ARB", 0x8733 },
+ { "GL_MODELVIEW20_ARB", 0x8734 },
+ { "GL_MODELVIEW21_ARB", 0x8735 },
+ { "GL_MODELVIEW22_ARB", 0x8736 },
+ { "GL_MODELVIEW23_ARB", 0x8737 },
+ { "GL_MODELVIEW24_ARB", 0x8738 },
+ { "GL_MODELVIEW25_ARB", 0x8739 },
+ { "GL_MODELVIEW26_ARB", 0x873A },
+ { "GL_MODELVIEW27_ARB", 0x873B },
+ { "GL_MODELVIEW28_ARB", 0x873C },
+ { "GL_MODELVIEW29_ARB", 0x873D },
+ { "GL_MODELVIEW30_ARB", 0x873E },
+ { "GL_MODELVIEW31_ARB", 0x873F },
+ { "GL_MATRIX_PALETTE_ARB", 0x8840 },
+ { "GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB", 0x8841 },
+ { "GL_MAX_PALETTE_MATRICES_ARB", 0x8842 },
+ { "GL_CURRENT_PALETTE_MATRIX_ARB", 0x8843 },
+ { "GL_MATRIX_INDEX_ARRAY_ARB", 0x8844 },
+ { "GL_CURRENT_MATRIX_INDEX_ARB", 0x8845 },
+ { "GL_MATRIX_INDEX_ARRAY_SIZE_ARB", 0x8846 },
+ { "GL_MATRIX_INDEX_ARRAY_TYPE_ARB", 0x8847 },
+ { "GL_MATRIX_INDEX_ARRAY_STRIDE_ARB", 0x8848 },
+ { "GL_MATRIX_INDEX_ARRAY_POINTER_ARB", 0x8849 },
+ { "GL_COMBINE_ARB", 0x8570 },
+ { "GL_COMBINE_RGB_ARB", 0x8571 },
+ { "GL_COMBINE_ALPHA_ARB", 0x8572 },
+ { "GL_SOURCE0_RGB_ARB", 0x8580 },
+ { "GL_SOURCE1_RGB_ARB", 0x8581 },
+ { "GL_SOURCE2_RGB_ARB", 0x8582 },
+ { "GL_SOURCE0_ALPHA_ARB", 0x8588 },
+ { "GL_SOURCE1_ALPHA_ARB", 0x8589 },
+ { "GL_SOURCE2_ALPHA_ARB", 0x858A },
+ { "GL_OPERAND0_RGB_ARB", 0x8590 },
+ { "GL_OPERAND1_RGB_ARB", 0x8591 },
+ { "GL_OPERAND2_RGB_ARB", 0x8592 },
+ { "GL_OPERAND0_ALPHA_ARB", 0x8598 },
+ { "GL_OPERAND1_ALPHA_ARB", 0x8599 },
+ { "GL_OPERAND2_ALPHA_ARB", 0x859A },
+ { "GL_RGB_SCALE_ARB", 0x8573 },
+ { "GL_ADD_SIGNED_ARB", 0x8574 },
+ { "GL_INTERPOLATE_ARB", 0x8575 },
+ { "GL_SUBTRACT_ARB", 0x84E7 },
+ { "GL_CONSTANT_ARB", 0x8576 },
+ { "GL_PRIMARY_COLOR_ARB", 0x8577 },
+ { "GL_PREVIOUS_ARB", 0x8578 },
+ { "GL_DOT3_RGB_ARB", 0x86AE },
+ { "GL_DOT3_RGBA_ARB", 0x86AF },
+ { "GL_MIRRORED_REPEAT_ARB", 0x8370 },
+ { "GL_DEPTH_COMPONENT16_ARB", 0x81A5 },
+ { "GL_DEPTH_COMPONENT24_ARB", 0x81A6 },
+ { "GL_DEPTH_COMPONENT32_ARB", 0x81A7 },
+ { "GL_TEXTURE_DEPTH_SIZE_ARB", 0x884A },
+ { "GL_DEPTH_TEXTURE_MODE_ARB", 0x884B },
+ { "GL_TEXTURE_COMPARE_MODE_ARB", 0x884C },
+ { "GL_TEXTURE_COMPARE_FUNC_ARB", 0x884D },
+ { "GL_COMPARE_R_TO_TEXTURE_ARB", 0x884E },
+ { "GL_TEXTURE_COMPARE_FAIL_VALUE_ARB", 0x80BF },
+ { "GL_COLOR_SUM_ARB", 0x8458 },
+ { "GL_VERTEX_PROGRAM_ARB", 0x8620 },
+ { "GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB", 0x8622 },
+ { "GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB", 0x8623 },
+ { "GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB", 0x8624 },
+ { "GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB", 0x8625 },
+ { "GL_CURRENT_VERTEX_ATTRIB_ARB", 0x8626 },
+ { "GL_PROGRAM_LENGTH_ARB", 0x8627 },
+ { "GL_PROGRAM_STRING_ARB", 0x8628 },
+ { "GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB", 0x862E },
+ { "GL_MAX_PROGRAM_MATRICES_ARB", 0x862F },
+ { "GL_CURRENT_MATRIX_STACK_DEPTH_ARB", 0x8640 },
+ { "GL_CURRENT_MATRIX_ARB", 0x8641 },
+ { "GL_VERTEX_PROGRAM_POINT_SIZE_ARB", 0x8642 },
+ { "GL_VERTEX_PROGRAM_TWO_SIDE_ARB", 0x8643 },
+ { "GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB", 0x8645 },
+ { "GL_PROGRAM_ERROR_POSITION_ARB", 0x864B },
+ { "GL_PROGRAM_BINDING_ARB", 0x8677 },
+ { "GL_MAX_VERTEX_ATTRIBS_ARB", 0x8869 },
+ { "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB", 0x886A },
+ { "GL_PROGRAM_ERROR_STRING_ARB", 0x8874 },
+ { "GL_PROGRAM_FORMAT_ASCII_ARB", 0x8875 },
+ { "GL_PROGRAM_FORMAT_ARB", 0x8876 },
+ { "GL_PROGRAM_INSTRUCTIONS_ARB", 0x88A0 },
+ { "GL_MAX_PROGRAM_INSTRUCTIONS_ARB", 0x88A1 },
+ { "GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB", 0x88A2 },
+ { "GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB", 0x88A3 },
+ { "GL_PROGRAM_TEMPORARIES_ARB", 0x88A4 },
+ { "GL_MAX_PROGRAM_TEMPORARIES_ARB", 0x88A5 },
+ { "GL_PROGRAM_NATIVE_TEMPORARIES_ARB", 0x88A6 },
+ { "GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB", 0x88A7 },
+ { "GL_PROGRAM_PARAMETERS_ARB", 0x88A8 },
+ { "GL_MAX_PROGRAM_PARAMETERS_ARB", 0x88A9 },
+ { "GL_PROGRAM_NATIVE_PARAMETERS_ARB", 0x88AA },
+ { "GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB", 0x88AB },
+ { "GL_PROGRAM_ATTRIBS_ARB", 0x88AC },
+ { "GL_MAX_PROGRAM_ATTRIBS_ARB", 0x88AD },
+ { "GL_PROGRAM_NATIVE_ATTRIBS_ARB", 0x88AE },
+ { "GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB", 0x88AF },
+ { "GL_PROGRAM_ADDRESS_REGISTERS_ARB", 0x88B0 },
+ { "GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB", 0x88B1 },
+ { "GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB", 0x88B2 },
+ { "GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB", 0x88B3 },
+ { "GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB", 0x88B4 },
+ { "GL_MAX_PROGRAM_ENV_PARAMETERS_ARB", 0x88B5 },
+ { "GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB", 0x88B6 },
+ { "GL_TRANSPOSE_CURRENT_MATRIX_ARB", 0x88B7 },
+ { "GL_MATRIX0_ARB", 0x88C0 },
+ { "GL_MATRIX1_ARB", 0x88C1 },
+ { "GL_MATRIX2_ARB", 0x88C2 },
+ { "GL_MATRIX3_ARB", 0x88C3 },
+ { "GL_MATRIX4_ARB", 0x88C4 },
+ { "GL_MATRIX5_ARB", 0x88C5 },
+ { "GL_MATRIX6_ARB", 0x88C6 },
+ { "GL_MATRIX7_ARB", 0x88C7 },
+ { "GL_MATRIX8_ARB", 0x88C8 },
+ { "GL_MATRIX9_ARB", 0x88C9 },
+ { "GL_MATRIX10_ARB", 0x88CA },
+ { "GL_MATRIX11_ARB", 0x88CB },
+ { "GL_MATRIX12_ARB", 0x88CC },
+ { "GL_MATRIX13_ARB", 0x88CD },
+ { "GL_MATRIX14_ARB", 0x88CE },
+ { "GL_MATRIX15_ARB", 0x88CF },
+ { "GL_MATRIX16_ARB", 0x88D0 },
+ { "GL_MATRIX17_ARB", 0x88D1 },
+ { "GL_MATRIX18_ARB", 0x88D2 },
+ { "GL_MATRIX19_ARB", 0x88D3 },
+ { "GL_MATRIX20_ARB", 0x88D4 },
+ { "GL_MATRIX21_ARB", 0x88D5 },
+ { "GL_MATRIX22_ARB", 0x88D6 },
+ { "GL_MATRIX23_ARB", 0x88D7 },
+ { "GL_MATRIX24_ARB", 0x88D8 },
+ { "GL_MATRIX25_ARB", 0x88D9 },
+ { "GL_MATRIX26_ARB", 0x88DA },
+ { "GL_MATRIX27_ARB", 0x88DB },
+ { "GL_MATRIX28_ARB", 0x88DC },
+ { "GL_MATRIX29_ARB", 0x88DD },
+ { "GL_MATRIX30_ARB", 0x88DE },
+ { "GL_MATRIX31_ARB", 0x88DF },
+ { "GL_FRAGMENT_PROGRAM_ARB", 0x8804 },
+ { "GL_PROGRAM_ALU_INSTRUCTIONS_ARB", 0x8805 },
+ { "GL_PROGRAM_TEX_INSTRUCTIONS_ARB", 0x8806 },
+ { "GL_PROGRAM_TEX_INDIRECTIONS_ARB", 0x8807 },
+ { "GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB", 0x8808 },
+ { "GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB", 0x8809 },
+ { "GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB", 0x880A },
+ { "GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB", 0x880B },
+ { "GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB", 0x880C },
+ { "GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB", 0x880D },
+ { "GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB", 0x880E },
+ { "GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB", 0x880F },
+ { "GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB", 0x8810 },
+ { "GL_MAX_TEXTURE_COORDS_ARB", 0x8871 },
+ { "GL_MAX_TEXTURE_IMAGE_UNITS_ARB", 0x8872 },
+ { "GL_BUFFER_SIZE_ARB", 0x8764 },
+ { "GL_BUFFER_USAGE_ARB", 0x8765 },
+ { "GL_ARRAY_BUFFER_ARB", 0x8892 },
+ { "GL_ELEMENT_ARRAY_BUFFER_ARB", 0x8893 },
+ { "GL_ARRAY_BUFFER_BINDING_ARB", 0x8894 },
+ { "GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB", 0x8895 },
+ { "GL_VERTEX_ARRAY_BUFFER_BINDING_ARB", 0x8896 },
+ { "GL_NORMAL_ARRAY_BUFFER_BINDING_ARB", 0x8897 },
+ { "GL_COLOR_ARRAY_BUFFER_BINDING_ARB", 0x8898 },
+ { "GL_INDEX_ARRAY_BUFFER_BINDING_ARB", 0x8899 },
+ { "GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB", 0x889A },
+ { "GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB", 0x889B },
+ { "GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB", 0x889C },
+ { "GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB", 0x889D },
+ { "GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB", 0x889E },
+ { "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB", 0x889F },
+ { "GL_READ_ONLY_ARB", 0x88B8 },
+ { "GL_WRITE_ONLY_ARB", 0x88B9 },
+ { "GL_READ_WRITE_ARB", 0x88BA },
+ { "GL_BUFFER_ACCESS_ARB", 0x88BB },
+ { "GL_BUFFER_MAPPED_ARB", 0x88BC },
+ { "GL_BUFFER_MAP_POINTER_ARB", 0x88BD },
+ { "GL_STREAM_DRAW_ARB", 0x88E0 },
+ { "GL_STREAM_READ_ARB", 0x88E1 },
+ { "GL_STREAM_COPY_ARB", 0x88E2 },
+ { "GL_STATIC_DRAW_ARB", 0x88E4 },
+ { "GL_STATIC_READ_ARB", 0x88E5 },
+ { "GL_STATIC_COPY_ARB", 0x88E6 },
+ { "GL_DYNAMIC_DRAW_ARB", 0x88E8 },
+ { "GL_DYNAMIC_READ_ARB", 0x88E9 },
+ { "GL_DYNAMIC_COPY_ARB", 0x88EA },
+ { "GL_QUERY_COUNTER_BITS_ARB", 0x8864 },
+ { "GL_CURRENT_QUERY_ARB", 0x8865 },
+ { "GL_QUERY_RESULT_ARB", 0x8866 },
+ { "GL_QUERY_RESULT_AVAILABLE_ARB", 0x8867 },
+ { "GL_SAMPLES_PASSED_ARB", 0x8914 },
+ { "GL_PROGRAM_OBJECT_ARB", 0x8B40 },
+ { "GL_SHADER_OBJECT_ARB", 0x8B48 },
+ { "GL_OBJECT_TYPE_ARB", 0x8B4E },
+ { "GL_OBJECT_SUBTYPE_ARB", 0x8B4F },
+ { "GL_FLOAT_VEC2_ARB", 0x8B50 },
+ { "GL_FLOAT_VEC3_ARB", 0x8B51 },
+ { "GL_FLOAT_VEC4_ARB", 0x8B52 },
+ { "GL_INT_VEC2_ARB", 0x8B53 },
+ { "GL_INT_VEC3_ARB", 0x8B54 },
+ { "GL_INT_VEC4_ARB", 0x8B55 },
+ { "GL_BOOL_ARB", 0x8B56 },
+ { "GL_BOOL_VEC2_ARB", 0x8B57 },
+ { "GL_BOOL_VEC3_ARB", 0x8B58 },
+ { "GL_BOOL_VEC4_ARB", 0x8B59 },
+ { "GL_FLOAT_MAT2_ARB", 0x8B5A },
+ { "GL_FLOAT_MAT3_ARB", 0x8B5B },
+ { "GL_FLOAT_MAT4_ARB", 0x8B5C },
+ { "GL_OBJECT_DELETE_STATUS_ARB", 0x8B80 },
+ { "GL_OBJECT_COMPILE_STATUS_ARB", 0x8B81 },
+ { "GL_OBJECT_LINK_STATUS_ARB", 0x8B82 },
+ { "GL_OBJECT_VALIDATE_STATUS_ARB", 0x8B83 },
+ { "GL_OBJECT_INFO_LOG_LENGTH_ARB", 0x8B84 },
+ { "GL_OBJECT_ATTACHED_OBJECTS_ARB", 0x8B85 },
+ { "GL_OBJECT_ACTIVE_UNIFORMS_ARB", 0x8B86 },
+ { "GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB", 0x8B87 },
+ { "GL_OBJECT_SHADER_SOURCE_LENGTH_ARB", 0x8B88 },
+ { "GL_VERTEX_SHADER_ARB", 0x8B31 },
+ { "GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB", 0x8B4A },
+ { "GL_MAX_VARYING_FLOATS_ARB", 0x8B4B },
+ { "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB", 0x8B4C },
+ { "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB", 0x8B4D },
+ { "GL_OBJECT_ACTIVE_ATTRIBUTES_ARB", 0x8B89 },
+ { "GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB", 0x8B8A },
+ { "GL_FRAGMENT_SHADER_ARB", 0x8B30 },
+ { "GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB", 0x8B49 },
+ { "GL_POINT_SPRITE_ARB", 0x8861 },
+ { "GL_COORD_REPLACE_ARB", 0x8862 },
+ { "GL_MAX_DRAW_BUFFERS_ARB", 0x8824 },
+ { "GL_DRAW_BUFFER0_ARB", 0x8825 },
+ { "GL_DRAW_BUFFER1_ARB", 0x8826 },
+ { "GL_DRAW_BUFFER2_ARB", 0x8827 },
+ { "GL_DRAW_BUFFER3_ARB", 0x8828 },
+ { "GL_DRAW_BUFFER4_ARB", 0x8829 },
+ { "GL_DRAW_BUFFER5_ARB", 0x882A },
+ { "GL_DRAW_BUFFER6_ARB", 0x882B },
+ { "GL_DRAW_BUFFER7_ARB", 0x882C },
+ { "GL_DRAW_BUFFER8_ARB", 0x882D },
+ { "GL_DRAW_BUFFER9_ARB", 0x882E },
+ { "GL_DRAW_BUFFER10_ARB", 0x882F },
+ { "GL_DRAW_BUFFER11_ARB", 0x8830 },
+ { "GL_DRAW_BUFFER12_ARB", 0x8831 },
+ { "GL_DRAW_BUFFER13_ARB", 0x8832 },
+ { "GL_DRAW_BUFFER14_ARB", 0x8833 },
+ { "GL_DRAW_BUFFER15_ARB", 0x8834 },
+ { "GL_TEXTURE_RECTANGLE_ARB", 0x84F5 },
+ { "GL_TEXTURE_BINDING_RECTANGLE_ARB", 0x84F6 },
+ { "GL_PROXY_TEXTURE_RECTANGLE_ARB", 0x84F7 },
+ { "GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB", 0x84F8 },
{ "GL_CONSTANT_COLOR_EXT", 0x8001 },
{ "GL_ONE_MINUS_CONSTANT_COLOR_EXT", 0x8002 },
{ "GL_CONSTANT_ALPHA_EXT", 0x8003 },
{ "GL_ONE_MINUS_CONSTANT_ALPHA_EXT", 0x8004 },
- { "GL_BLEND_EQUATION_EXT", 0x8009 },
- { "GL_MIN_EXT", 0x8007 },
- { "GL_MAX_EXT", 0x8008 },
- { "GL_FUNC_ADD_EXT", 0x8006 },
- { "GL_FUNC_SUBTRACT_EXT", 0x800A },
- { "GL_FUNC_REVERSE_SUBTRACT_EXT", 0x800B },
{ "GL_BLEND_COLOR_EXT", 0x8005 },
-
- { "GL_POLYGON_OFFSET_EXT", 0x8037 },
- { "GL_POLYGON_OFFSET_FACTOR_EXT", 0x8038 },
- { "GL_POLYGON_OFFSET_BIAS_EXT", 0x8039 },
-
-
- { "GL_VERTEX_ARRAY_EXT", 0x8074 },
- { "GL_NORMAL_ARRAY_EXT", 0x8075 },
- { "GL_COLOR_ARRAY_EXT", 0x8076 },
- { "GL_INDEX_ARRAY_EXT", 0x8077 },
- { "GL_TEXTURE_COORD_ARRAY_EXT", 0x8078 },
- { "GL_EDGE_FLAG_ARRAY_EXT", 0x8079 },
- { "GL_VERTEX_ARRAY_SIZE_EXT", 0x807A },
- { "GL_VERTEX_ARRAY_TYPE_EXT", 0x807B },
- { "GL_VERTEX_ARRAY_STRIDE_EXT", 0x807C },
- { "GL_VERTEX_ARRAY_COUNT_EXT", 0x807D },
- { "GL_NORMAL_ARRAY_TYPE_EXT", 0x807E },
- { "GL_NORMAL_ARRAY_STRIDE_EXT", 0x807F },
- { "GL_NORMAL_ARRAY_COUNT_EXT", 0x8080 },
- { "GL_COLOR_ARRAY_SIZE_EXT", 0x8081 },
- { "GL_COLOR_ARRAY_TYPE_EXT", 0x8082 },
- { "GL_COLOR_ARRAY_STRIDE_EXT", 0x8083 },
- { "GL_COLOR_ARRAY_COUNT_EXT", 0x8084 },
- { "GL_INDEX_ARRAY_TYPE_EXT", 0x8085 },
- { "GL_INDEX_ARRAY_STRIDE_EXT", 0x8086 },
- { "GL_INDEX_ARRAY_COUNT_EXT", 0x8087 },
- { "GL_TEXTURE_COORD_ARRAY_SIZE_EXT", 0x8088 },
- { "GL_TEXTURE_COORD_ARRAY_TYPE_EXT", 0x8089 },
- { "GL_TEXTURE_COORD_ARRAY_STRIDE_EXT", 0x808A },
- { "GL_TEXTURE_COORD_ARRAY_COUNT_EXT", 0x808B },
- { "GL_EDGE_FLAG_ARRAY_STRIDE_EXT", 0x808C },
- { "GL_EDGE_FLAG_ARRAY_COUNT_EXT", 0x808D },
- { "GL_VERTEX_ARRAY_POINTER_EXT", 0x808E },
- { "GL_NORMAL_ARRAY_POINTER_EXT", 0x808F },
- { "GL_COLOR_ARRAY_POINTER_EXT", 0x8090 },
- { "GL_INDEX_ARRAY_POINTER_EXT", 0x8091 },
- { "GL_TEXTURE_COORD_ARRAY_POINTER_EXT", 0x8092 },
- { "GL_EDGE_FLAG_ARRAY_POINTER_EXT", 0x8093 },
-
- { "GL_TEXTURE_PRIORITY_EXT", 0x8066 },
- { "GL_TEXTURE_RESIDENT_EXT", 0x8067 },
- { "GL_TEXTURE_1D_BINDING_EXT", 0x8068 },
- { "GL_TEXTURE_2D_BINDING_EXT", 0x8069 },
-
- { "GL_PACK_SKIP_IMAGES_EXT", 0x806B },
- { "GL_PACK_IMAGE_HEIGHT_EXT", 0x806C },
- { "GL_UNPACK_SKIP_IMAGES_EXT", 0x806D },
- { "GL_UNPACK_IMAGE_HEIGHT_EXT", 0x806E },
- { "GL_TEXTURE_3D_EXT", 0x806F },
- { "GL_PROXY_TEXTURE_3D_EXT", 0x8070 },
- { "GL_TEXTURE_DEPTH_EXT", 0x8071 },
- { "GL_TEXTURE_WRAP_R_EXT", 0x8072 },
- { "GL_MAX_3D_TEXTURE_SIZE_EXT", 0x8073 },
- { "GL_TEXTURE_3D_BINDING_EXT", 0x806A },
-
+ { "GL_ALPHA4_EXT", 0x803B },
+ { "GL_ALPHA8_EXT", 0x803C },
+ { "GL_ALPHA12_EXT", 0x803D },
+ { "GL_ALPHA16_EXT", 0x803E },
+ { "GL_LUMINANCE4_EXT", 0x803F },
+ { "GL_LUMINANCE8_EXT", 0x8040 },
+ { "GL_LUMINANCE12_EXT", 0x8041 },
+ { "GL_LUMINANCE16_EXT", 0x8042 },
+ { "GL_LUMINANCE4_ALPHA4_EXT", 0x8043 },
+ { "GL_LUMINANCE6_ALPHA2_EXT", 0x8044 },
+ { "GL_LUMINANCE8_ALPHA8_EXT", 0x8045 },
+ { "GL_LUMINANCE12_ALPHA4_EXT", 0x8046 },
+ { "GL_LUMINANCE12_ALPHA12_EXT", 0x8047 },
+ { "GL_LUMINANCE16_ALPHA16_EXT", 0x8048 },
+ { "GL_INTENSITY_EXT", 0x8049 },
+ { "GL_INTENSITY4_EXT", 0x804A },
+ { "GL_INTENSITY8_EXT", 0x804B },
+ { "GL_INTENSITY12_EXT", 0x804C },
+ { "GL_INTENSITY16_EXT", 0x804D },
+ { "GL_RGB2_EXT", 0x804E },
+ { "GL_RGB4_EXT", 0x804F },
+ { "GL_RGB5_EXT", 0x8050 },
+ { "GL_RGB8_EXT", 0x8051 },
+ { "GL_RGB10_EXT", 0x8052 },
+ { "GL_RGB12_EXT", 0x8053 },
+ { "GL_RGB16_EXT", 0x8054 },
+ { "GL_RGBA2_EXT", 0x8055 },
+ { "GL_RGBA4_EXT", 0x8056 },
+ { "GL_RGB5_A1_EXT", 0x8057 },
+ { "GL_RGBA8_EXT", 0x8058 },
+ { "GL_RGB10_A2_EXT", 0x8059 },
+ { "GL_RGBA12_EXT", 0x805A },
+ { "GL_RGBA16_EXT", 0x805B },
+ { "GL_TEXTURE_RED_SIZE_EXT", 0x805C },
+ { "GL_TEXTURE_GREEN_SIZE_EXT", 0x805D },
+ { "GL_TEXTURE_BLUE_SIZE_EXT", 0x805E },
+ { "GL_TEXTURE_ALPHA_SIZE_EXT", 0x805F },
+ { "GL_TEXTURE_LUMINANCE_SIZE_EXT", 0x8060 },
+ { "GL_TEXTURE_INTENSITY_SIZE_EXT", 0x8061 },
+ { "GL_REPLACE_EXT", 0x8062 },
+ { "GL_PROXY_TEXTURE_1D_EXT", 0x8063 },
+ { "GL_PROXY_TEXTURE_2D_EXT", 0x8064 },
+ { "GL_TEXTURE_TOO_LARGE_EXT", 0x8065 },
+ { "GL_HISTOGRAM_EXT", 0x8024 },
+ { "GL_PROXY_HISTOGRAM_EXT", 0x8025 },
+ { "GL_HISTOGRAM_WIDTH_EXT", 0x8026 },
+ { "GL_HISTOGRAM_FORMAT_EXT", 0x8027 },
+ { "GL_HISTOGRAM_RED_SIZE_EXT", 0x8028 },
+ { "GL_HISTOGRAM_GREEN_SIZE_EXT", 0x8029 },
+ { "GL_HISTOGRAM_BLUE_SIZE_EXT", 0x802A },
+ { "GL_HISTOGRAM_ALPHA_SIZE_EXT", 0x802B },
+ { "GL_HISTOGRAM_LUMINANCE_SIZE_EXT", 0x802C },
+ { "GL_HISTOGRAM_SINK_EXT", 0x802D },
+ { "GL_MINMAX_EXT", 0x802E },
+ { "GL_MINMAX_FORMAT_EXT", 0x802F },
+ { "GL_MINMAX_SINK_EXT", 0x8030 },
{ "GL_TABLE_TOO_LARGE_EXT", 0x8031 },
+ { "GL_CONVOLUTION_BORDER_MODE_EXT", 0x8013 },
+ { "GL_CONVOLUTION_FILTER_SCALE_EXT", 0x8014 },
+ { "GL_CONVOLUTION_FILTER_BIAS_EXT", 0x8015 },
+ { "GL_REDUCE_EXT", 0x8016 },
+ { "GL_CONVOLUTION_FORMAT_EXT", 0x8017 },
+ { "GL_CONVOLUTION_WIDTH_EXT", 0x8018 },
+ { "GL_CONVOLUTION_HEIGHT_EXT", 0x8019 },
+ { "GL_MAX_CONVOLUTION_WIDTH_EXT", 0x801A },
+ { "GL_MAX_CONVOLUTION_HEIGHT_EXT", 0x801B },
+ { "GL_POST_CONVOLUTION_RED_SCALE_EXT", 0x801C },
+ { "GL_POST_CONVOLUTION_GREEN_SCALE_EXT", 0x801D },
+ { "GL_POST_CONVOLUTION_BLUE_SCALE_EXT", 0x801E },
+ { "GL_POST_CONVOLUTION_ALPHA_SCALE_EXT", 0x801F },
+ { "GL_POST_CONVOLUTION_RED_BIAS_EXT", 0x8020 },
+ { "GL_POST_CONVOLUTION_GREEN_BIAS_EXT", 0x8021 },
+ { "GL_POST_CONVOLUTION_BLUE_BIAS_EXT", 0x8022 },
+ { "GL_POST_CONVOLUTION_ALPHA_BIAS_EXT", 0x8023 },
+ { "GL_COLOR_MATRIX_SGI", 0x80B1 },
+ { "GL_COLOR_MATRIX_STACK_DEPTH_SGI", 0x80B2 },
+ { "GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI", 0x80B3 },
+ { "GL_POST_COLOR_MATRIX_RED_SCALE_SGI", 0x80B4 },
+ { "GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI", 0x80B5 },
+ { "GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI", 0x80B6 },
+ { "GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI", 0x80B7 },
+ { "GL_POST_COLOR_MATRIX_RED_BIAS_SGI", 0x80B8 },
+ { "GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI", 0x80B9 },
+ { "GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI", 0x80BA },
+ { "GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI", 0x80BB },
+ { "GL_TEXTURE_COLOR_TABLE_SGI", 0x80BC },
+ { "GL_PROXY_TEXTURE_COLOR_TABLE_SGI", 0x80BD },
+ { "GL_RESCALE_NORMAL_EXT", 0x803A },
+ { "GL_GENERATE_MIPMAP_SGIS", 0x8191 },
+ { "GL_GENERATE_MIPMAP_HINT_SGIS", 0x8192 },
+ { "GL_LINEAR_CLIPMAP_LINEAR_SGIX", 0x8170 },
+ { "GL_TEXTURE_CLIPMAP_CENTER_SGIX", 0x8171 },
+ { "GL_TEXTURE_CLIPMAP_FRAME_SGIX", 0x8172 },
+ { "GL_TEXTURE_CLIPMAP_OFFSET_SGIX", 0x8173 },
+ { "GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX", 0x8174 },
+ { "GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX", 0x8175 },
+ { "GL_TEXTURE_CLIPMAP_DEPTH_SGIX", 0x8176 },
+ { "GL_MAX_CLIPMAP_DEPTH_SGIX", 0x8177 },
+ { "GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX", 0x8178 },
+ { "GL_NEAREST_CLIPMAP_NEAREST_SGIX", 0x844D },
+ { "GL_NEAREST_CLIPMAP_LINEAR_SGIX", 0x844E },
+ { "GL_LINEAR_CLIPMAP_NEAREST_SGIX", 0x844F },
+ { "GL_TEXTURE_COMPARE_SGIX", 0x819A },
+ { "GL_TEXTURE_COMPARE_OPERATOR_SGIX", 0x819B },
+ { "GL_TEXTURE_LEQUAL_R_SGIX", 0x819C },
+ { "GL_TEXTURE_GEQUAL_R_SGIX", 0x819D },
+ { "GL_CLAMP_TO_EDGE_SGIS", 0x812F },
+ { "GL_CLAMP_TO_BORDER_SGIS", 0x812D },
+ { "GL_POINT_SIZE_MIN_EXT", 0x8126 },
+ { "GL_POINT_SIZE_MAX_EXT", 0x8127 },
+ { "GL_POINT_FADE_THRESHOLD_SIZE_EXT", 0x8128 },
+ { "GL_POINT_DISTANCE_ATTENUATION_EXT", 0x8129 },
+ { "GL_POST_TEXTURE_FILTER_BIAS_SGIX", 0x8179 },
+ { "GL_POST_TEXTURE_FILTER_SCALE_SGIX", 0x817A },
+ { "GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX", 0x817B },
+ { "GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX", 0x817C },
+ { "GL_DEPTH_COMPONENT16_SGIX", 0x81A5 },
+ { "GL_DEPTH_COMPONENT24_SGIX", 0x81A6 },
+ { "GL_DEPTH_COMPONENT32_SGIX", 0x81A7 },
+ { "GL_FOG_OFFSET_SGIX", 0x8198 },
+ { "GL_FOG_OFFSET_VALUE_SGIX", 0x8199 },
+ { "GL_IGNORE_BORDER_HP", 0x8150 },
+ { "GL_CONSTANT_BORDER_HP", 0x8151 },
+ { "GL_REPLICATE_BORDER_HP", 0x8153 },
+ { "GL_CONVOLUTION_BORDER_COLOR_HP", 0x8154 },
{ "GL_COLOR_TABLE_FORMAT_EXT", 0x80D8 },
{ "GL_COLOR_TABLE_WIDTH_EXT", 0x80D9 },
{ "GL_COLOR_TABLE_RED_SIZE_EXT", 0x80DA },
@@ -744,113 +1340,30 @@ static enum_elt all_enums[] =
{ "GL_COLOR_TABLE_LUMINANCE_SIZE_EXT", 0x80DE },
{ "GL_COLOR_TABLE_INTENSITY_SIZE_EXT", 0x80DF },
{ "GL_TEXTURE_INDEX_SIZE_EXT", 0x80ED },
- { "GL_COLOR_INDEX1_EXT", 0x80E2 },
- { "GL_COLOR_INDEX2_EXT", 0x80E3 },
- { "GL_COLOR_INDEX4_EXT", 0x80E4 },
- { "GL_COLOR_INDEX8_EXT", 0x80E5 },
- { "GL_COLOR_INDEX12_EXT", 0x80E6 },
- { "GL_COLOR_INDEX16_EXT", 0x80E7 },
-
- { "GL_SHARED_TEXTURE_PALETTE_EXT", 0x81FB },
-
- { "GL_POINT_SIZE_MIN_EXT", 0x8126 },
- { "GL_POINT_SIZE_MAX_EXT", 0x8127 },
- { "GL_POINT_FADE_THRESHOLD_SIZE_EXT", 0x8128 },
- { "GL_DISTANCE_ATTENUATION_EXT", 0x8129 },
-
- { "GL_RESCALE_NORMAL_EXT", 0x803A },
-
- { "GL_ABGR_EXT", 0x8000 },
-
- { "GL_INCR_WRAP_EXT", 0x8507 },
- { "GL_DECR_WRAP_EXT", 0x8508 },
-
- { "GL_CLAMP_TO_EDGE_SGIS", 0x812F },
-
- { "GL_BLEND_DST_RGB_INGR", 0x80C8 },
- { "GL_BLEND_SRC_RGB_INGR", 0x80C9 },
- { "GL_BLEND_DST_ALPHA_INGR", 0x80CA },
- { "GL_BLEND_SRC_ALPHA_INGR", 0x80CB },
-
- { "GL_RESCALE_NORMAL", 0x803A },
- { "GL_CLAMP_TO_EDGE", 0x812F },
- { "GL_MAX_ELEMENTS_VERTICES", 0xF0E8 },
- { "GL_MAX_ELEMENTS_INDICES", 0xF0E9 },
- { "GL_BGR", 0x80E0 },
- { "GL_BGRA", 0x80E1 },
- { "GL_UNSIGNED_BYTE_3_3_2", 0x8032 },
- { "GL_UNSIGNED_BYTE_2_3_3_REV", 0x8362 },
- { "GL_UNSIGNED_SHORT_5_6_5", 0x8363 },
- { "GL_UNSIGNED_SHORT_5_6_5_REV", 0x8364 },
- { "GL_UNSIGNED_SHORT_4_4_4_4", 0x8033 },
- { "GL_UNSIGNED_SHORT_4_4_4_4_REV", 0x8365 },
- { "GL_UNSIGNED_SHORT_5_5_5_1", 0x8034 },
- { "GL_UNSIGNED_SHORT_1_5_5_5_REV", 0x8366 },
- { "GL_UNSIGNED_INT_8_8_8_8", 0x8035 },
- { "GL_UNSIGNED_INT_8_8_8_8_REV", 0x8367 },
- { "GL_UNSIGNED_INT_10_10_10_2", 0x8036 },
- { "GL_UNSIGNED_INT_2_10_10_10_REV", 0x8368 },
- { "GL_LIGHT_MODEL_COLOR_CONTROL", 0x81F8 },
- { "GL_SINGLE_COLOR", 0x81F9 },
- { "GL_SEPARATE_SPECULAR_COLOR", 0x81FA },
- { "GL_TEXTURE_MIN_LOD", 0x813A },
- { "GL_TEXTURE_MAX_LOD", 0x813B },
- { "GL_TEXTURE_BASE_LEVEL", 0x813C },
- { "GL_TEXTURE_MAX_LEVEL", 0x813D },
-
+ { "GL_CLIP_VOLUME_CLIPPING_HINT_EXT", 0x80F0 },
+ { "GL_TEXTURE_LOD_BIAS_S_SGIX", 0x818E },
+ { "GL_TEXTURE_LOD_BIAS_T_SGIX", 0x818F },
+ { "GL_TEXTURE_LOD_BIAS_R_SGIX", 0x8190 },
+ { "GL_SHADOW_AMBIENT_SGIX", 0x80BF },
+ { "GL_CULL_VERTEX_EXT", 0x81AA },
+ { "GL_CULL_VERTEX_OBJECT_POSITION_EXT", 0x81AB },
+ { "GL_CULL_VERTEX_EYE_POSITION_EXT", 0x81AC },
+ { "GL_RASTER_POSITION_UNCLIPPED_IBM", 0x19262 },
{ "GL_OCCLUSION_TEST_HP", 0x8165 },
{ "GL_OCCLUSION_TEST_RESULT_HP", 0x8166 },
-
- { "GL_TEXTURE_FILTER_CONTROL_EXT", 0x8500 },
- { "GL_TEXTURE_LOD_BIAS_EXT", 0x8501 },
-
- /* GL_ARB_texture_cube_map */
- { "GL_NORMAL_MAP_ARB", 0x8511 },
- { "GL_REFLECTION_MAP_ARB", 0x8512 },
- { "GL_TEXTURE_CUBE_MAP_ARB", 0x8513 },
- { "GL_TEXTURE_BINDING_CUBE_MAP_ARB", 0x8514 },
- { "GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB", 0x8515 },
- { "GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB", 0x8516 },
- { "GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB", 0x8517 },
- { "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB", 0x8518 },
- { "GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB", 0x8519 },
- { "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB", 0x851a },
- { "GL_PROXY_TEXTURE_CUBE_MAP_ARB", 0x851b },
- { "GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB", 0x851c },
-
- { "GL_PREFER_DOUBLEBUFFER_HINT_PGI", 107000 },
- { "GL_STRICT_DEPTHFUNC_HINT_PGI", 107030 },
- { "GL_STRICT_LIGHTING_HINT_PGI", 107031 },
- { "GL_STRICT_SCISSOR_HINT_PGI", 107032 },
- { "GL_FULL_STIPPLE_HINT_PGI", 107033 },
- { "GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI", 107011 },
- { "GL_NATIVE_GRAPHICS_END_HINT_PGI", 107012 },
- { "GL_CONSERVE_MEMORY_HINT_PGI", 107005 },
- { "GL_RECLAIM_MEMORY_HINT_PGI", 107006 },
- { "GL_ALWAYS_FAST_HINT_PGI", 107020 },
- { "GL_ALWAYS_SOFT_HINT_PGI", 107021 },
- { "GL_ALLOW_DRAW_OBJ_HINT_PGI", 107022 },
- { "GL_ALLOW_DRAW_WIN_HINT_PGI", 107023 },
- { "GL_ALLOW_DRAW_FRG_HINT_PGI", 107024 },
- { "GL_ALLOW_DRAW_SPN_HINT_PGI", 107024 },
- { "GL_ALLOW_DRAW_MEM_HINT_PGI", 107025 },
- { "GL_CLIP_NEAR_HINT_PGI", 107040 },
- { "GL_CLIP_FAR_HINT_PGI", 107041 },
- { "GL_WIDE_LINE_HINT_PGI", 107042 },
- { "GL_BACK_NORMALS_HINT_PGI", 107043 },
- { "GL_NATIVE_GRAPHICS_HANDLE_PGI", 107010 },
-
- /* GL_EXT_compiled_vertex_array */
- { "GL_ARRAY_ELEMENT_LOCK_FIRST_EXT", 0x81A8},
- { "GL_ARRAY_ELEMENT_LOCK_COUNT_EXT", 0x81A9},
-
- /* GL_EXT_clip_volume_hint */
- { "GL_CLIP_VOLUME_CLIPPING_HINT_EXT", 0x80F0},
-
- /* GL_EXT_texture_env_combine */
+ { "GL_SHARED_TEXTURE_PALETTE_EXT", 0x81FB },
+ { "GL_LIGHT_MODEL_COLOR_CONTROL_EXT", 0x81F8 },
+ { "GL_SINGLE_COLOR_EXT", 0x81F9 },
+ { "GL_SEPARATE_SPECULAR_COLOR_EXT", 0x81FA },
{ "GL_COMBINE_EXT", 0x8570 },
{ "GL_COMBINE_RGB_EXT", 0x8571 },
{ "GL_COMBINE_ALPHA_EXT", 0x8572 },
+ { "GL_RGB_SCALE_EXT", 0x8573 },
+ { "GL_ADD_SIGNED_EXT", 0x8574 },
+ { "GL_INTERPOLATE_EXT", 0x8575 },
+ { "GL_CONSTANT_EXT", 0x8576 },
+ { "GL_PRIMARY_COLOR_EXT", 0x8577 },
+ { "GL_PREVIOUS_EXT", 0x8578 },
{ "GL_SOURCE0_RGB_EXT", 0x8580 },
{ "GL_SOURCE1_RGB_EXT", 0x8581 },
{ "GL_SOURCE2_RGB_EXT", 0x8582 },
@@ -863,101 +1376,158 @@ static enum_elt all_enums[] =
{ "GL_OPERAND0_ALPHA_EXT", 0x8598 },
{ "GL_OPERAND1_ALPHA_EXT", 0x8599 },
{ "GL_OPERAND2_ALPHA_EXT", 0x859A },
- { "GL_RGB_SCALE_EXT", 0x8573 },
- { "GL_ADD_SIGNED_EXT", 0x8574 },
- { "GL_INTERPOLATE_EXT", 0x8575 },
- { "GL_CONSTANT_EXT", 0x8576 },
- { "GL_PRIMARY_COLOR_EXT", 0x8577 },
- { "GL_PREVIOUS_EXT", 0x8578 },
-
- /* GL_ARB_texture_env_combine */
- { "GL_SUBTRACT_ARB", 0x84E7 },
-
- /* GL_EXT_texture_env_dot3 */
+ { "GL_INCR_WRAP_EXT", 0x8507 },
+ { "GL_DECR_WRAP_EXT", 0x8508 },
+ { "GL_NORMAL_MAP_NV", 0x8511 },
+ { "GL_REFLECTION_MAP_NV", 0x8512 },
+ { "GL_WRAP_BORDER_SUN", 0x81D4 },
+ { "GL_TEXTURE_LOD_BIAS_EXT", 0x8501 },
+ { "GL_TEXTURE_MAX_ANISOTROPY_EXT", 0x84FE },
+ { "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT", 0x84FF },
+ { "GL_MAX_SHININESS_NV", 0x8504 },
+ { "GL_MAX_SPOT_EXPONENT_NV", 0x8505 },
+ { "GL_FOG_DISTANCE_MODE_NV", 0x855A },
+ { "GL_EYE_RADIAL_NV", 0x855B },
+ { "GL_EYE_PLANE_ABSOLUTE_NV", 0x855C },
+ { "GL_COMBINE4", 0x8503 },
+ { "GL_SOURCE3_RGB_NV", 0x8583 },
+ { "GL_SOURCE3_ALPHA_NV", 0x858B },
+ { "GL_OPERAND3_RGB_NV", 0x8593 },
+ { "GL_OPERAND3_ALPHA_NV", 0x859B },
+ { "GL_COMPRESSED_RGB_S3TC_DXT1_EXT", 0x83F0 },
+ { "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT", 0x83F1 },
+ { "GL_COMPRESSED_RGBA_S3TC_DXT3_EXT", 0x83F2 },
+ { "GL_COMPRESSED_RGBA_S3TC_DXT5_EXT", 0x83F3 },
+ { "GL_COMPRESSED_RGB_FXT1_3DFX", 0x86B0 },
+ { "GL_COMPRESSED_RGBA_FXT1_3DFX", 0x86B1 },
+ { "GL_MULTISAMPLE_3DFX", 0x86B2 },
+ { "GL_SAMPLE_BUFFERS_3DFX", 0x86B3 },
+ { "GL_SAMPLES_3DFX", 0x86B4 },
+ { "GL_MULTISAMPLE_BIT_3DFX", 0x20000000 },
+ { "GL_TEXTURE_COLOR_WRITEMASK_SGIS", 0x81EF },
{ "GL_DOT3_RGB_EXT", 0x8740 },
{ "GL_DOT3_RGBA_EXT", 0x8741 },
-
- /* GL_ARB_texture_env_dot3 */
- { "GL_DOT3_RGB_ARB", 0x86ae },
- { "GL_DOT3_RGBA_ARB", 0x86af },
-
- /* GL_ARB_texture_border_clamp */
- { "GL_CLAMP_TO_BORDER_ARB", 0x812D },
-
- /* GL_ATI_texture_env_combine3 */
- { "GL_MODULATE_ADD_ATI", 0x8744 },
- { "GL_MODULATE_SIGNED_ADD_ATI", 0x8745 },
- { "GL_MODULATE_SUBTRACT_ATI", 0x8746 },
-
- /* GL_ARB_texture_compression */
- { "GL_COMPRESSED_ALPHA_ARB", 0x84E9 },
- { "GL_COMPRESSED_LUMINANCE_ARB", 0x84EA },
- { "GL_COMPRESSED_LUMINANCE_ALPHA_ARB", 0x84EB },
- { "GL_COMPRESSED_INTENSITY_ARB", 0x84EC },
- { "GL_COMPRESSED_RGB_ARB", 0x84ED },
- { "GL_COMPRESSED_RGBA_ARB", 0x84EE },
- { "GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB", 0x86A0 },
- { "GL_TEXTURE_COMPRESSED_ARB", 0x86A1 },
- { "GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB", 0x86A2 },
- { "GL_COMPRESSED_TEXTURE_FORMATS_ARB", 0x86A3 },
-
- /* GL_EXT_texture_compression_s3tc */
+ { "GL_MIRROR_CLAMP_ATI", 0x8742 },
+ { "GL_MIRROR_CLAMP_TO_EDGE_ATI", 0x8743 },
+ { "GL_MIRRORED_REPEAT_IBM", 0x8370 },
+ { "GL_DEPTH_STENCIL_NV", 0x84F9 },
+ { "GL_UNSIGNED_INT_24_8_NV", 0x84FA },
{ "GL_COMPRESSED_RGB_S3TC_DXT1_EXT", 0x83F0 },
{ "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT", 0x83F1 },
{ "GL_COMPRESSED_RGBA_S3TC_DXT3_EXT", 0x83F2 },
{ "GL_COMPRESSED_RGBA_S3TC_DXT5_EXT", 0x83F3 },
-
- /* GL_S3_s3tc */
+ { "GL_TEXTURE_RECTANGLE_NV", 0x84F5 },
+ { "GL_TEXTURE_BINDING_RECTANGLE_NV", 0x84F6 },
+ { "GL_PROXY_TEXTURE_RECTANGLE_NV", 0x84F7 },
+ { "GL_MAX_RECTANGLE_TEXTURE_SIZE_NV", 0x84F8 },
+ { "GL_TEXTURE_MAX_CLAMP_S_SGIX", 0x8369 },
+ { "GL_TEXTURE_MAX_CLAMP_T_SGIX", 0x836A },
+ { "GL_TEXTURE_MAX_CLAMP_R_SGIX", 0x836B },
+ { "GL_DEPTH_STENCIL_TO_RGBA_NV", 0x886E },
+ { "GL_DEPTH_STENCIL_TO_BGRA_NV", 0x886F },
+ { "GL_QUAD_MESH_SUN", 0x8614 },
+ { "GL_TRIANGLE_MESH_SUN", 0x8615 },
+ { "GL_SLICE_ACCUM_SUN", 0x85CC },
+ { "GL_MULTISAMPLE_FILTER_HINT_NV", 0x8534 },
+ { "GL_DEPTH_CLAMP_NV", 0x864F },
+ { "GL_POINT_SIZE_MIN_EXT", 0x8126 },
+ { "GL_POINT_SIZE_MAX_EXT", 0x8127 },
+ { "GL_POINT_FADE_THRESHOLD_SIZE_EXT", 0x8128 },
+ { "GL_POINT_DISTANCE_ATTENUATION_EXT", 0x8129 },
+ { "GL_POINT_SPRITE_NV", 0x8861 },
+ { "GL_COORD_REPLACE_NV", 0x8862 },
+ { "GL_POINT_SPRITE_R_MODE_NV", 0x8863 },
+ { "GL_YCBCR_422_APPLE", 0x85B9 },
+ { "GL_UNSIGNED_SHORT_8_8_APPLE", 0x85BA },
+ { "GL_UNSIGNED_SHORT_8_8_REV_APPLE", 0x85BB },
{ "GL_RGB_S3TC", 0x83A0 },
{ "GL_RGB4_S3TC", 0x83A1 },
{ "GL_RGBA_S3TC", 0x83A2 },
{ "GL_RGBA4_S3TC", 0x83A3 },
+ { "GL_RGBA_DXT5_S3TC", 0x83A4 },
+ { "GL_RGBA4_DXT5_S3TC", 0x83A5 },
+ { "GL_MODULATE_ADD_ATI", 0x8744 },
+ { "GL_MODULATE_SIGNED_ADD_ATI", 0x8745 },
+ { "GL_MODULATE_SUBTRACT_ATI", 0x8746 },
+ { "GL_TEXTURE_UNSIGNED_REMAP_MODE_NV", 0x888F },
+ { "GL_PALETTE4_RGB8_OES", 0x8B90 },
+ { "GL_PALETTE4_RGBA8_OES", 0x8B91 },
+ { "GL_PALETTE4_R5_G6_B5_OES", 0x8B92 },
+ { "GL_PALETTE4_RGBA4_OES", 0x8B93 },
+ { "GL_PALETTE4_RGB5_A1_OES", 0x8B94 },
+ { "GL_PALETTE8_RGB8_OES", 0x8B95 },
+ { "GL_PALETTE8_RGBA8_OES", 0x8B96 },
+ { "GL_PALETTE8_R5_G6_B5_OES", 0x8B97 },
+ { "GL_PALETTE8_RGBA4_OES", 0x8B98 },
+ { "GL_PALETTE8_RGB5_A1_OES", 0x8B99 },
+ { "GL_IMPLEMENTATION_COLOR_READ_TYPE_OES", 0x8B9A },
+ { "GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES", 0x8B9B },
+ { "GL_MIRROR_CLAMP_EXT", 0x8742 },
+ { "GL_MIRROR_CLAMP_TO_EDGE_EXT", 0x8743 },
+ { "GL_MIRROR_CLAMP_TO_BORDER_EXT", 0x8912 },
+ { "GL_PACK_INVERT_MESA", 0x8758 },
+ { "GL_YCBCR_MESA", 0x8757 },
+ { "GL_UNSIGNED_SHORT_8_8_MESA", 0x85BA },
+ { "GL_UNSIGNED_SHORT_8_8_REV_MESA", 0x85BB },
+ { "GL_PIXEL_PACK_BUFFER_EXT", 0x88EB },
+ { "GL_PIXEL_UNPACK_BUFFER_EXT", 0x88EC },
+ { "GL_PIXEL_PACK_BUFFER_BINDING_EXT", 0x88ED },
+ { "GL_PIXEL_UNPACK_BUFFER_BINDING_EXT", 0x88EF },
+ { "GL_FRAMEBUFFER_EXT", 0x8D40 },
+ { "GL_RENDERBUFFER_EXT", 0x8D41 },
+ { "GL_STENCIL_INDEX_EXT", 0x8D45 },
+ { "GL_STENCIL_INDEX1_EXT", 0x8D46 },
+ { "GL_STENCIL_INDEX4_EXT", 0x8D47 },
+ { "GL_STENCIL_INDEX8_EXT", 0x8D48 },
+ { "GL_STENCIL_INDEX16_EXT", 0x8D49 },
+ { "GL_RENDERBUFFER_WIDTH_EXT", 0x8D42 },
+ { "GL_RENDERBUFFER_HEIGHT_EXT", 0x8D43 },
+ { "GL_RENDERBUFFER_INTERNAL_FORMAT_EXT", 0x8D44 },
+ { "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT", 0x8CD0 },
+ { "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT", 0x8CD1 },
+ { "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT", 0x8CD2 },
+ { "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT", 0x8CD3 },
+ { "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT", 0x8CD4 },
+ { "GL_COLOR_ATTACHMENT0_EXT", 0x8CE0 },
+ { "GL_COLOR_ATTACHMENT1_EXT", 0x8CE1 },
+ { "GL_COLOR_ATTACHMENT2_EXT", 0x8CE2 },
+ { "GL_COLOR_ATTACHMENT3_EXT", 0x8CE3 },
+ { "GL_COLOR_ATTACHMENT4_EXT", 0x8CE4 },
+ { "GL_COLOR_ATTACHMENT5_EXT", 0x8CE5 },
+ { "GL_COLOR_ATTACHMENT6_EXT", 0x8CE6 },
+ { "GL_COLOR_ATTACHMENT7_EXT", 0x8CE7 },
+ { "GL_COLOR_ATTACHMENT8_EXT", 0x8CE8 },
+ { "GL_COLOR_ATTACHMENT9_EXT", 0x8CE9 },
+ { "GL_COLOR_ATTACHMENT10_EXT", 0x8CEA },
+ { "GL_COLOR_ATTACHMENT11_EXT", 0x8CEB },
+ { "GL_COLOR_ATTACHMENT12_EXT", 0x8CEC },
+ { "GL_COLOR_ATTACHMENT13_EXT", 0x8CED },
+ { "GL_COLOR_ATTACHMENT14_EXT", 0x8CEE },
+ { "GL_COLOR_ATTACHMENT15_EXT", 0x8CEF },
+ { "GL_DEPTH_ATTACHMENT_EXT", 0x8D00 },
+ { "GL_STENCIL_ATTACHMENT_EXT", 0x8D20 },
+ { "GL_FRAMEBUFFER_COMPLETE_EXT", 0x8CD5 },
+ { "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT", 0x8CD6 },
+ { "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT", 0x8CD7 },
+ { "GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT", 0x8CD8 },
+ { "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT", 0x8CD9 },
+ { "GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT", 0x8CDA },
+ { "GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT", 0x8CDB },
+ { "GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT", 0x8CDC },
+ { "GL_FRAMEBUFFER_UNSUPPORTED_EXT", 0x8CDD },
+ { "GL_FRAMEBUFFER_STATUS_ERROR_EXT", 0x8CDE },
+ { "GL_FRAMEBUFFER_BINDING_EXT", 0x8CA6 },
+ { "GL_RENDERBUFFER_BINDING_EXT", 0x8CA7 },
+ { "GL_MAX_COLOR_ATTACHMENTS_EXT", 0x8CDF },
+ { "GL_MAX_RENDERBUFFER_SIZE_EXT", 0x84E8 },
+ { "GL_INVALID_FRAMEBUFFER_OPERATION_EXT", 0x506 },
+ { "GL_COMPRESSED_RGB_S3TC_DXT1_EXT", 0x83F0 },
+ { "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT", 0x83F1 },
+ { "GL_POINT_SIZE_MIN_SGIS", 0x8126 },
+ { "GL_POINT_SIZE_MAX_SGIS", 0x8127 },
+ { "GL_POINT_FADE_THRESHOLD_SIZE_SGIS", 0x8128 },
+ { "GL_POINT_DISTANCE_ATTENUATION_SGIS", 0x8129 },
- /* GL_3DFX_texture_compression_FXT1 */
- { "GL_COMPRESSED_RGB_FXT1_3DFX", 0x86B0 },
- { "GL_COMPRESSED_RGBA_FXT1_3DFX", 0x86B1 },
-
- /* GL_ATI_fragment_shader */
- { "GL_REG_0_ATI", 0x8921 },
- { "GL_REG_1_ATI", 0x8922 },
- { "GL_REG_2_ATI", 0x8923 },
- { "GL_REG_3_ATI", 0x8924 },
- { "GL_REG_4_ATI", 0x8925 },
- { "GL_REG_5_ATI", 0x8926 },
-
- { "GL_CON_0_ATI", 0x8941 },
- { "GL_CON_1_ATI", 0x8942 },
- { "GL_CON_2_ATI", 0x8943 },
- { "GL_CON_3_ATI", 0x8944 },
- { "GL_CON_4_ATI", 0x8945 },
- { "GL_CON_5_ATI", 0x8946 },
- { "GL_CON_6_ATI", 0x8947 },
- { "GL_CON_7_ATI", 0x8948 },
-
- { "GL_MOV_ATI", 0x8961 },
- { "GL_ADD_ATI", 0x8963 },
- { "GL_MUL_ATI", 0x8964 },
- { "GL_SUB_ATI", 0x8965 },
- { "GL_DOT3_ATI", 0x8966 },
- { "GL_DOT4_ATI", 0x8967 },
-
- { "GL_MAD_ATI", 0x8968 },
- { "GL_LERP_ATI", 0x8969 },
- { "GL_CND_ATI", 0x896A },
- { "GL_CND0_ATI", 0x896B },
- { "GL_DOT2_ADD_ATI", 0x896C },
- { "GL_SECONDARY_INTERPOLATER_ATI", 0x896D },
-
- { "SWIZZLE_STR_ATI", 0x8976 },
- { "SWIZZLE_STQ_ATI", 0x8977 },
- { "SWIZZLE_STR_DR_ATI", 0x8978 },
- { "SWIZZLE_STQ_DQ_ATI", 0x8979 },
-
- /* GL_ARB_texture_rectangle */
- { "GL_TEXTURE_RECTANGLE_ARB", 0x84F5 },
- { "GL_TEXTURE_BINDING_RECTANGLE_ARB", 0x84F6 },
- { "GL_PROXY_TEXTURE_RECTANGLE_ARB", 0x84F7 },
- { "GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB", 0x84F8 },
};
#define Elements(x) sizeof(x)/sizeof(*x)
@@ -1044,3 +1614,4 @@ const char *_mesa_lookup_enum_by_nr( int nr )
return token_tmp;
}
}
+