summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/enums.c1224
-rw-r--r--src/mesa/main/state.c4
-rw-r--r--src/mesa/main/stencil.c289
-rw-r--r--src/mesa/main/stencil.h8
4 files changed, 757 insertions, 768 deletions
diff --git a/src/mesa/main/enums.c b/src/mesa/main/enums.c
index d5019ae045..6aeb18fa27 100644
--- a/src/mesa/main/enums.c
+++ b/src/mesa/main/enums.c
@@ -1433,9 +1433,13 @@ LONGSTRING static const char enum_string_table[] =
"GL_STENCIL\0"
"GL_STENCIL_ATTACHMENT_EXT\0"
"GL_STENCIL_BACK_FAIL\0"
+ "GL_STENCIL_BACK_FAIL_ATI\0"
"GL_STENCIL_BACK_FUNC\0"
+ "GL_STENCIL_BACK_FUNC_ATI\0"
"GL_STENCIL_BACK_PASS_DEPTH_FAIL\0"
+ "GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI\0"
"GL_STENCIL_BACK_PASS_DEPTH_PASS\0"
+ "GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI\0"
"GL_STENCIL_BACK_REF\0"
"GL_STENCIL_BACK_VALUE_MASK\0"
"GL_STENCIL_BACK_WRITEMASK\0"
@@ -1783,7 +1787,7 @@ LONGSTRING static const char enum_string_table[] =
"GL_ZOOM_Y\0"
;
-static const enum_elt all_enums[1746] =
+static const enum_elt all_enums[1750] =
{
{ 0, 0x00000600 }, /* GL_2D */
{ 6, 0x00001407 }, /* GL_2_BYTES */
@@ -3183,354 +3187,358 @@ static const enum_elt all_enums[1746] =
{ 29675, 0x00001802 }, /* GL_STENCIL */
{ 29686, 0x00008D20 }, /* GL_STENCIL_ATTACHMENT_EXT */
{ 29712, 0x00008801 }, /* GL_STENCIL_BACK_FAIL */
- { 29733, 0x00008800 }, /* GL_STENCIL_BACK_FUNC */
- { 29754, 0x00008802 }, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL */
- { 29786, 0x00008803 }, /* GL_STENCIL_BACK_PASS_DEPTH_PASS */
- { 29818, 0x00008CA3 }, /* GL_STENCIL_BACK_REF */
- { 29838, 0x00008CA4 }, /* GL_STENCIL_BACK_VALUE_MASK */
- { 29865, 0x00008CA5 }, /* GL_STENCIL_BACK_WRITEMASK */
- { 29891, 0x00000D57 }, /* GL_STENCIL_BITS */
- { 29907, 0x00000400 }, /* GL_STENCIL_BUFFER_BIT */
- { 29929, 0x00000B91 }, /* GL_STENCIL_CLEAR_VALUE */
- { 29952, 0x00000B94 }, /* GL_STENCIL_FAIL */
- { 29968, 0x00000B92 }, /* GL_STENCIL_FUNC */
- { 29984, 0x00001901 }, /* GL_STENCIL_INDEX */
- { 30001, 0x00008D49 }, /* GL_STENCIL_INDEX16_EXT */
- { 30024, 0x00008D46 }, /* GL_STENCIL_INDEX1_EXT */
- { 30046, 0x00008D47 }, /* GL_STENCIL_INDEX4_EXT */
- { 30068, 0x00008D48 }, /* GL_STENCIL_INDEX8_EXT */
- { 30090, 0x00008D45 }, /* GL_STENCIL_INDEX_EXT */
- { 30111, 0x00000B95 }, /* GL_STENCIL_PASS_DEPTH_FAIL */
- { 30138, 0x00000B96 }, /* GL_STENCIL_PASS_DEPTH_PASS */
- { 30165, 0x00000B97 }, /* GL_STENCIL_REF */
- { 30180, 0x00000B90 }, /* GL_STENCIL_TEST */
- { 30196, 0x00008910 }, /* GL_STENCIL_TEST_TWO_SIDE_EXT */
- { 30225, 0x00000B93 }, /* GL_STENCIL_VALUE_MASK */
- { 30247, 0x00000B98 }, /* GL_STENCIL_WRITEMASK */
- { 30268, 0x00000C33 }, /* GL_STEREO */
- { 30278, 0x000088E2 }, /* GL_STREAM_COPY */
- { 30293, 0x000088E2 }, /* GL_STREAM_COPY_ARB */
- { 30312, 0x000088E0 }, /* GL_STREAM_DRAW */
- { 30327, 0x000088E0 }, /* GL_STREAM_DRAW_ARB */
- { 30346, 0x000088E1 }, /* GL_STREAM_READ */
- { 30361, 0x000088E1 }, /* GL_STREAM_READ_ARB */
- { 30380, 0x00000D50 }, /* GL_SUBPIXEL_BITS */
- { 30397, 0x000084E7 }, /* GL_SUBTRACT */
- { 30409, 0x000084E7 }, /* GL_SUBTRACT_ARB */
- { 30425, 0x00002001 }, /* GL_T */
- { 30430, 0x00002A2A }, /* GL_T2F_C3F_V3F */
- { 30445, 0x00002A2C }, /* GL_T2F_C4F_N3F_V3F */
- { 30464, 0x00002A29 }, /* GL_T2F_C4UB_V3F */
- { 30480, 0x00002A2B }, /* GL_T2F_N3F_V3F */
- { 30495, 0x00002A27 }, /* GL_T2F_V3F */
- { 30506, 0x00002A2D }, /* GL_T4F_C4F_N3F_V4F */
- { 30525, 0x00002A28 }, /* GL_T4F_V4F */
- { 30536, 0x00008031 }, /* GL_TABLE_TOO_LARGE_EXT */
- { 30559, 0x00001702 }, /* GL_TEXTURE */
- { 30570, 0x000084C0 }, /* GL_TEXTURE0 */
- { 30582, 0x000084C0 }, /* GL_TEXTURE0_ARB */
- { 30598, 0x000084C1 }, /* GL_TEXTURE1 */
- { 30610, 0x000084CA }, /* GL_TEXTURE10 */
- { 30623, 0x000084CA }, /* GL_TEXTURE10_ARB */
- { 30640, 0x000084CB }, /* GL_TEXTURE11 */
- { 30653, 0x000084CB }, /* GL_TEXTURE11_ARB */
- { 30670, 0x000084CC }, /* GL_TEXTURE12 */
- { 30683, 0x000084CC }, /* GL_TEXTURE12_ARB */
- { 30700, 0x000084CD }, /* GL_TEXTURE13 */
- { 30713, 0x000084CD }, /* GL_TEXTURE13_ARB */
- { 30730, 0x000084CE }, /* GL_TEXTURE14 */
- { 30743, 0x000084CE }, /* GL_TEXTURE14_ARB */
- { 30760, 0x000084CF }, /* GL_TEXTURE15 */
- { 30773, 0x000084CF }, /* GL_TEXTURE15_ARB */
- { 30790, 0x000084D0 }, /* GL_TEXTURE16 */
- { 30803, 0x000084D0 }, /* GL_TEXTURE16_ARB */
- { 30820, 0x000084D1 }, /* GL_TEXTURE17 */
- { 30833, 0x000084D1 }, /* GL_TEXTURE17_ARB */
- { 30850, 0x000084D2 }, /* GL_TEXTURE18 */
- { 30863, 0x000084D2 }, /* GL_TEXTURE18_ARB */
- { 30880, 0x000084D3 }, /* GL_TEXTURE19 */
- { 30893, 0x000084D3 }, /* GL_TEXTURE19_ARB */
- { 30910, 0x000084C1 }, /* GL_TEXTURE1_ARB */
- { 30926, 0x000084C2 }, /* GL_TEXTURE2 */
- { 30938, 0x000084D4 }, /* GL_TEXTURE20 */
- { 30951, 0x000084D4 }, /* GL_TEXTURE20_ARB */
- { 30968, 0x000084D5 }, /* GL_TEXTURE21 */
- { 30981, 0x000084D5 }, /* GL_TEXTURE21_ARB */
- { 30998, 0x000084D6 }, /* GL_TEXTURE22 */
- { 31011, 0x000084D6 }, /* GL_TEXTURE22_ARB */
- { 31028, 0x000084D7 }, /* GL_TEXTURE23 */
- { 31041, 0x000084D7 }, /* GL_TEXTURE23_ARB */
- { 31058, 0x000084D8 }, /* GL_TEXTURE24 */
- { 31071, 0x000084D8 }, /* GL_TEXTURE24_ARB */
- { 31088, 0x000084D9 }, /* GL_TEXTURE25 */
- { 31101, 0x000084D9 }, /* GL_TEXTURE25_ARB */
- { 31118, 0x000084DA }, /* GL_TEXTURE26 */
- { 31131, 0x000084DA }, /* GL_TEXTURE26_ARB */
- { 31148, 0x000084DB }, /* GL_TEXTURE27 */
- { 31161, 0x000084DB }, /* GL_TEXTURE27_ARB */
- { 31178, 0x000084DC }, /* GL_TEXTURE28 */
- { 31191, 0x000084DC }, /* GL_TEXTURE28_ARB */
- { 31208, 0x000084DD }, /* GL_TEXTURE29 */
- { 31221, 0x000084DD }, /* GL_TEXTURE29_ARB */
- { 31238, 0x000084C2 }, /* GL_TEXTURE2_ARB */
- { 31254, 0x000084C3 }, /* GL_TEXTURE3 */
- { 31266, 0x000084DE }, /* GL_TEXTURE30 */
- { 31279, 0x000084DE }, /* GL_TEXTURE30_ARB */
- { 31296, 0x000084DF }, /* GL_TEXTURE31 */
- { 31309, 0x000084DF }, /* GL_TEXTURE31_ARB */
- { 31326, 0x000084C3 }, /* GL_TEXTURE3_ARB */
- { 31342, 0x000084C4 }, /* GL_TEXTURE4 */
- { 31354, 0x000084C4 }, /* GL_TEXTURE4_ARB */
- { 31370, 0x000084C5 }, /* GL_TEXTURE5 */
- { 31382, 0x000084C5 }, /* GL_TEXTURE5_ARB */
- { 31398, 0x000084C6 }, /* GL_TEXTURE6 */
- { 31410, 0x000084C6 }, /* GL_TEXTURE6_ARB */
- { 31426, 0x000084C7 }, /* GL_TEXTURE7 */
- { 31438, 0x000084C7 }, /* GL_TEXTURE7_ARB */
- { 31454, 0x000084C8 }, /* GL_TEXTURE8 */
- { 31466, 0x000084C8 }, /* GL_TEXTURE8_ARB */
- { 31482, 0x000084C9 }, /* GL_TEXTURE9 */
- { 31494, 0x000084C9 }, /* GL_TEXTURE9_ARB */
- { 31510, 0x00000DE0 }, /* GL_TEXTURE_1D */
- { 31524, 0x00008C18 }, /* GL_TEXTURE_1D_ARRAY_EXT */
- { 31548, 0x00000DE1 }, /* GL_TEXTURE_2D */
- { 31562, 0x00008C1A }, /* GL_TEXTURE_2D_ARRAY_EXT */
- { 31586, 0x0000806F }, /* GL_TEXTURE_3D */
- { 31600, 0x0000805F }, /* GL_TEXTURE_ALPHA_SIZE */
- { 31622, 0x0000805F }, /* GL_TEXTURE_ALPHA_SIZE_EXT */
- { 31648, 0x0000813C }, /* GL_TEXTURE_BASE_LEVEL */
- { 31670, 0x00008068 }, /* GL_TEXTURE_BINDING_1D */
- { 31692, 0x00008C1C }, /* GL_TEXTURE_BINDING_1D_ARRAY_EXT */
- { 31724, 0x00008069 }, /* GL_TEXTURE_BINDING_2D */
- { 31746, 0x00008C1D }, /* GL_TEXTURE_BINDING_2D_ARRAY_EXT */
- { 31778, 0x0000806A }, /* GL_TEXTURE_BINDING_3D */
- { 31800, 0x00008514 }, /* GL_TEXTURE_BINDING_CUBE_MAP */
- { 31828, 0x00008514 }, /* GL_TEXTURE_BINDING_CUBE_MAP_ARB */
- { 31860, 0x000084F6 }, /* GL_TEXTURE_BINDING_RECTANGLE_ARB */
- { 31893, 0x000084F6 }, /* GL_TEXTURE_BINDING_RECTANGLE_NV */
- { 31925, 0x00040000 }, /* GL_TEXTURE_BIT */
- { 31940, 0x0000805E }, /* GL_TEXTURE_BLUE_SIZE */
- { 31961, 0x0000805E }, /* GL_TEXTURE_BLUE_SIZE_EXT */
- { 31986, 0x00001005 }, /* GL_TEXTURE_BORDER */
- { 32004, 0x00001004 }, /* GL_TEXTURE_BORDER_COLOR */
- { 32028, 0x00008171 }, /* GL_TEXTURE_CLIPMAP_CENTER_SGIX */
- { 32059, 0x00008176 }, /* GL_TEXTURE_CLIPMAP_DEPTH_SGIX */
- { 32089, 0x00008172 }, /* GL_TEXTURE_CLIPMAP_FRAME_SGIX */
- { 32119, 0x00008175 }, /* GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX */
- { 32154, 0x00008173 }, /* GL_TEXTURE_CLIPMAP_OFFSET_SGIX */
- { 32185, 0x00008174 }, /* GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX */
- { 32223, 0x000080BC }, /* GL_TEXTURE_COLOR_TABLE_SGI */
- { 32250, 0x000081EF }, /* GL_TEXTURE_COLOR_WRITEMASK_SGIS */
- { 32282, 0x000080BF }, /* GL_TEXTURE_COMPARE_FAIL_VALUE_ARB */
- { 32316, 0x0000884D }, /* GL_TEXTURE_COMPARE_FUNC */
- { 32340, 0x0000884D }, /* GL_TEXTURE_COMPARE_FUNC_ARB */
- { 32368, 0x0000884C }, /* GL_TEXTURE_COMPARE_MODE */
- { 32392, 0x0000884C }, /* GL_TEXTURE_COMPARE_MODE_ARB */
- { 32420, 0x0000819B }, /* GL_TEXTURE_COMPARE_OPERATOR_SGIX */
- { 32453, 0x0000819A }, /* GL_TEXTURE_COMPARE_SGIX */
- { 32477, 0x00001003 }, /* GL_TEXTURE_COMPONENTS */
- { 32499, 0x000086A1 }, /* GL_TEXTURE_COMPRESSED */
- { 32521, 0x000086A1 }, /* GL_TEXTURE_COMPRESSED_ARB */
- { 32547, 0x000086A3 }, /* GL_TEXTURE_COMPRESSED_FORMATS_ARB */
- { 32581, 0x000086A0 }, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE */
- { 32614, 0x000086A0 }, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB */
- { 32651, 0x000084EF }, /* GL_TEXTURE_COMPRESSION_HINT */
- { 32679, 0x000084EF }, /* GL_TEXTURE_COMPRESSION_HINT_ARB */
- { 32711, 0x00008078 }, /* GL_TEXTURE_COORD_ARRAY */
- { 32734, 0x0000889A }, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING */
- { 32772, 0x0000889A }, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB */
- { 32814, 0x00008092 }, /* GL_TEXTURE_COORD_ARRAY_POINTER */
- { 32845, 0x00008088 }, /* GL_TEXTURE_COORD_ARRAY_SIZE */
- { 32873, 0x0000808A }, /* GL_TEXTURE_COORD_ARRAY_STRIDE */
- { 32903, 0x00008089 }, /* GL_TEXTURE_COORD_ARRAY_TYPE */
- { 32931, 0x00008513 }, /* GL_TEXTURE_CUBE_MAP */
- { 32951, 0x00008513 }, /* GL_TEXTURE_CUBE_MAP_ARB */
- { 32975, 0x00008516 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X */
- { 33006, 0x00008516 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB */
- { 33041, 0x00008518 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y */
- { 33072, 0x00008518 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB */
- { 33107, 0x0000851A }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z */
- { 33138, 0x0000851A }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB */
- { 33173, 0x00008515 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X */
- { 33204, 0x00008515 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB */
- { 33239, 0x00008517 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y */
- { 33270, 0x00008517 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB */
- { 33305, 0x00008519 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z */
- { 33336, 0x00008519 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB */
- { 33371, 0x00008071 }, /* GL_TEXTURE_DEPTH */
- { 33388, 0x0000884A }, /* GL_TEXTURE_DEPTH_SIZE */
- { 33410, 0x0000884A }, /* GL_TEXTURE_DEPTH_SIZE_ARB */
- { 33436, 0x00002300 }, /* GL_TEXTURE_ENV */
- { 33451, 0x00002201 }, /* GL_TEXTURE_ENV_COLOR */
- { 33472, 0x00002200 }, /* GL_TEXTURE_ENV_MODE */
- { 33492, 0x00008500 }, /* GL_TEXTURE_FILTER_CONTROL */
- { 33518, 0x00002500 }, /* GL_TEXTURE_GEN_MODE */
- { 33538, 0x00000C63 }, /* GL_TEXTURE_GEN_Q */
- { 33555, 0x00000C62 }, /* GL_TEXTURE_GEN_R */
- { 33572, 0x00000C60 }, /* GL_TEXTURE_GEN_S */
- { 33589, 0x00000C61 }, /* GL_TEXTURE_GEN_T */
- { 33606, 0x0000819D }, /* GL_TEXTURE_GEQUAL_R_SGIX */
- { 33631, 0x0000805D }, /* GL_TEXTURE_GREEN_SIZE */
- { 33653, 0x0000805D }, /* GL_TEXTURE_GREEN_SIZE_EXT */
- { 33679, 0x00001001 }, /* GL_TEXTURE_HEIGHT */
- { 33697, 0x000080ED }, /* GL_TEXTURE_INDEX_SIZE_EXT */
- { 33723, 0x00008061 }, /* GL_TEXTURE_INTENSITY_SIZE */
- { 33749, 0x00008061 }, /* GL_TEXTURE_INTENSITY_SIZE_EXT */
- { 33779, 0x00001003 }, /* GL_TEXTURE_INTERNAL_FORMAT */
- { 33806, 0x0000819C }, /* GL_TEXTURE_LEQUAL_R_SGIX */
- { 33831, 0x00008501 }, /* GL_TEXTURE_LOD_BIAS */
- { 33851, 0x00008501 }, /* GL_TEXTURE_LOD_BIAS_EXT */
- { 33875, 0x00008190 }, /* GL_TEXTURE_LOD_BIAS_R_SGIX */
- { 33902, 0x0000818E }, /* GL_TEXTURE_LOD_BIAS_S_SGIX */
- { 33929, 0x0000818F }, /* GL_TEXTURE_LOD_BIAS_T_SGIX */
- { 33956, 0x00008060 }, /* GL_TEXTURE_LUMINANCE_SIZE */
- { 33982, 0x00008060 }, /* GL_TEXTURE_LUMINANCE_SIZE_EXT */
- { 34012, 0x00002800 }, /* GL_TEXTURE_MAG_FILTER */
- { 34034, 0x00000BA8 }, /* GL_TEXTURE_MATRIX */
- { 34052, 0x000084FE }, /* GL_TEXTURE_MAX_ANISOTROPY_EXT */
- { 34082, 0x0000836B }, /* GL_TEXTURE_MAX_CLAMP_R_SGIX */
- { 34110, 0x00008369 }, /* GL_TEXTURE_MAX_CLAMP_S_SGIX */
- { 34138, 0x0000836A }, /* GL_TEXTURE_MAX_CLAMP_T_SGIX */
- { 34166, 0x0000813D }, /* GL_TEXTURE_MAX_LEVEL */
- { 34187, 0x0000813B }, /* GL_TEXTURE_MAX_LOD */
- { 34206, 0x00002801 }, /* GL_TEXTURE_MIN_FILTER */
- { 34228, 0x0000813A }, /* GL_TEXTURE_MIN_LOD */
- { 34247, 0x00008066 }, /* GL_TEXTURE_PRIORITY */
- { 34267, 0x000084F5 }, /* GL_TEXTURE_RECTANGLE_ARB */
- { 34292, 0x000084F5 }, /* GL_TEXTURE_RECTANGLE_NV */
- { 34316, 0x0000805C }, /* GL_TEXTURE_RED_SIZE */
- { 34336, 0x0000805C }, /* GL_TEXTURE_RED_SIZE_EXT */
- { 34360, 0x00008067 }, /* GL_TEXTURE_RESIDENT */
- { 34380, 0x00000BA5 }, /* GL_TEXTURE_STACK_DEPTH */
- { 34403, 0x00008065 }, /* GL_TEXTURE_TOO_LARGE_EXT */
- { 34428, 0x0000888F }, /* GL_TEXTURE_UNSIGNED_REMAP_MODE_NV */
- { 34462, 0x00001000 }, /* GL_TEXTURE_WIDTH */
- { 34479, 0x00008072 }, /* GL_TEXTURE_WRAP_R */
- { 34497, 0x00002802 }, /* GL_TEXTURE_WRAP_S */
- { 34515, 0x00002803 }, /* GL_TEXTURE_WRAP_T */
- { 34533, 0x000088BF }, /* GL_TIME_ELAPSED_EXT */
- { 34553, 0x00008648 }, /* GL_TRACK_MATRIX_NV */
- { 34572, 0x00008649 }, /* GL_TRACK_MATRIX_TRANSFORM_NV */
- { 34601, 0x00001000 }, /* GL_TRANSFORM_BIT */
- { 34618, 0x000084E6 }, /* GL_TRANSPOSE_COLOR_MATRIX */
- { 34644, 0x000084E6 }, /* GL_TRANSPOSE_COLOR_MATRIX_ARB */
- { 34674, 0x000088B7 }, /* GL_TRANSPOSE_CURRENT_MATRIX_ARB */
- { 34706, 0x000084E3 }, /* GL_TRANSPOSE_MODELVIEW_MATRIX */
- { 34736, 0x000084E3 }, /* GL_TRANSPOSE_MODELVIEW_MATRIX_ARB */
- { 34770, 0x0000862C }, /* GL_TRANSPOSE_NV */
- { 34786, 0x000084E4 }, /* GL_TRANSPOSE_PROJECTION_MATRIX */
- { 34817, 0x000084E4 }, /* GL_TRANSPOSE_PROJECTION_MATRIX_ARB */
- { 34852, 0x000084E5 }, /* GL_TRANSPOSE_TEXTURE_MATRIX */
- { 34880, 0x000084E5 }, /* GL_TRANSPOSE_TEXTURE_MATRIX_ARB */
- { 34912, 0x00000004 }, /* GL_TRIANGLES */
- { 34925, 0x00000006 }, /* GL_TRIANGLE_FAN */
- { 34941, 0x00008615 }, /* GL_TRIANGLE_MESH_SUN */
- { 34962, 0x00000005 }, /* GL_TRIANGLE_STRIP */
- { 34980, 0x00000001 }, /* GL_TRUE */
- { 34988, 0x00000CF5 }, /* GL_UNPACK_ALIGNMENT */
- { 35008, 0x0000806E }, /* GL_UNPACK_IMAGE_HEIGHT */
- { 35031, 0x00000CF1 }, /* GL_UNPACK_LSB_FIRST */
- { 35051, 0x00000CF2 }, /* GL_UNPACK_ROW_LENGTH */
- { 35072, 0x0000806D }, /* GL_UNPACK_SKIP_IMAGES */
- { 35094, 0x00000CF4 }, /* GL_UNPACK_SKIP_PIXELS */
- { 35116, 0x00000CF3 }, /* GL_UNPACK_SKIP_ROWS */
- { 35136, 0x00000CF0 }, /* GL_UNPACK_SWAP_BYTES */
- { 35157, 0x00001401 }, /* GL_UNSIGNED_BYTE */
- { 35174, 0x00008362 }, /* GL_UNSIGNED_BYTE_2_3_3_REV */
- { 35201, 0x00008032 }, /* GL_UNSIGNED_BYTE_3_3_2 */
- { 35224, 0x00001405 }, /* GL_UNSIGNED_INT */
- { 35240, 0x00008036 }, /* GL_UNSIGNED_INT_10_10_10_2 */
- { 35267, 0x000084FA }, /* GL_UNSIGNED_INT_24_8_NV */
- { 35291, 0x00008368 }, /* GL_UNSIGNED_INT_2_10_10_10_REV */
- { 35322, 0x00008035 }, /* GL_UNSIGNED_INT_8_8_8_8 */
- { 35346, 0x00008367 }, /* GL_UNSIGNED_INT_8_8_8_8_REV */
- { 35374, 0x00001403 }, /* GL_UNSIGNED_SHORT */
- { 35392, 0x00008366 }, /* GL_UNSIGNED_SHORT_1_5_5_5_REV */
- { 35422, 0x00008033 }, /* GL_UNSIGNED_SHORT_4_4_4_4 */
- { 35448, 0x00008365 }, /* GL_UNSIGNED_SHORT_4_4_4_4_REV */
- { 35478, 0x00008034 }, /* GL_UNSIGNED_SHORT_5_5_5_1 */
- { 35504, 0x00008363 }, /* GL_UNSIGNED_SHORT_5_6_5 */
- { 35528, 0x00008364 }, /* GL_UNSIGNED_SHORT_5_6_5_REV */
- { 35556, 0x000085BA }, /* GL_UNSIGNED_SHORT_8_8_APPLE */
- { 35584, 0x000085BA }, /* GL_UNSIGNED_SHORT_8_8_MESA */
- { 35611, 0x000085BB }, /* GL_UNSIGNED_SHORT_8_8_REV_APPLE */
- { 35643, 0x000085BB }, /* GL_UNSIGNED_SHORT_8_8_REV_MESA */
- { 35674, 0x00008CA2 }, /* GL_UPPER_LEFT */
- { 35688, 0x00002A20 }, /* GL_V2F */
- { 35695, 0x00002A21 }, /* GL_V3F */
- { 35702, 0x00008B83 }, /* GL_VALIDATE_STATUS */
- { 35721, 0x00001F00 }, /* GL_VENDOR */
- { 35731, 0x00001F02 }, /* GL_VERSION */
- { 35742, 0x00008074 }, /* GL_VERTEX_ARRAY */
- { 35758, 0x000085B5 }, /* GL_VERTEX_ARRAY_BINDING_APPLE */
- { 35788, 0x00008896 }, /* GL_VERTEX_ARRAY_BUFFER_BINDING */
- { 35819, 0x00008896 }, /* GL_VERTEX_ARRAY_BUFFER_BINDING_ARB */
- { 35854, 0x0000808E }, /* GL_VERTEX_ARRAY_POINTER */
- { 35878, 0x0000807A }, /* GL_VERTEX_ARRAY_SIZE */
- { 35899, 0x0000807C }, /* GL_VERTEX_ARRAY_STRIDE */
- { 35922, 0x0000807B }, /* GL_VERTEX_ARRAY_TYPE */
- { 35943, 0x00008650 }, /* GL_VERTEX_ATTRIB_ARRAY0_NV */
- { 35970, 0x0000865A }, /* GL_VERTEX_ATTRIB_ARRAY10_NV */
- { 35998, 0x0000865B }, /* GL_VERTEX_ATTRIB_ARRAY11_NV */
- { 36026, 0x0000865C }, /* GL_VERTEX_ATTRIB_ARRAY12_NV */
- { 36054, 0x0000865D }, /* GL_VERTEX_ATTRIB_ARRAY13_NV */
- { 36082, 0x0000865E }, /* GL_VERTEX_ATTRIB_ARRAY14_NV */
- { 36110, 0x0000865F }, /* GL_VERTEX_ATTRIB_ARRAY15_NV */
- { 36138, 0x00008651 }, /* GL_VERTEX_ATTRIB_ARRAY1_NV */
- { 36165, 0x00008652 }, /* GL_VERTEX_ATTRIB_ARRAY2_NV */
- { 36192, 0x00008653 }, /* GL_VERTEX_ATTRIB_ARRAY3_NV */
- { 36219, 0x00008654 }, /* GL_VERTEX_ATTRIB_ARRAY4_NV */
- { 36246, 0x00008655 }, /* GL_VERTEX_ATTRIB_ARRAY5_NV */
- { 36273, 0x00008656 }, /* GL_VERTEX_ATTRIB_ARRAY6_NV */
- { 36300, 0x00008657 }, /* GL_VERTEX_ATTRIB_ARRAY7_NV */
- { 36327, 0x00008658 }, /* GL_VERTEX_ATTRIB_ARRAY8_NV */
- { 36354, 0x00008659 }, /* GL_VERTEX_ATTRIB_ARRAY9_NV */
- { 36381, 0x0000889F }, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING */
- { 36419, 0x0000889F }, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB */
- { 36461, 0x00008622 }, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED */
- { 36492, 0x00008622 }, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB */
- { 36527, 0x0000886A }, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED */
- { 36561, 0x0000886A }, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB */
- { 36599, 0x00008645 }, /* GL_VERTEX_ATTRIB_ARRAY_POINTER */
- { 36630, 0x00008645 }, /* GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB */
- { 36665, 0x00008623 }, /* GL_VERTEX_ATTRIB_ARRAY_SIZE */
- { 36693, 0x00008623 }, /* GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB */
- { 36725, 0x00008624 }, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE */
- { 36755, 0x00008624 }, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB */
- { 36789, 0x00008625 }, /* GL_VERTEX_ATTRIB_ARRAY_TYPE */
- { 36817, 0x00008625 }, /* GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB */
- { 36849, 0x000086A7 }, /* GL_VERTEX_BLEND_ARB */
- { 36869, 0x00008620 }, /* GL_VERTEX_PROGRAM_ARB */
- { 36891, 0x0000864A }, /* GL_VERTEX_PROGRAM_BINDING_NV */
- { 36920, 0x00008620 }, /* GL_VERTEX_PROGRAM_NV */
- { 36941, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE */
- { 36970, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE_ARB */
- { 37003, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE_NV */
- { 37035, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE */
- { 37062, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE_ARB */
- { 37093, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE_NV */
- { 37123, 0x00008B31 }, /* GL_VERTEX_SHADER */
- { 37140, 0x00008B31 }, /* GL_VERTEX_SHADER_ARB */
- { 37161, 0x00008621 }, /* GL_VERTEX_STATE_PROGRAM_NV */
- { 37188, 0x00000BA2 }, /* GL_VIEWPORT */
- { 37200, 0x00000800 }, /* GL_VIEWPORT_BIT */
- { 37216, 0x000086AD }, /* GL_WEIGHT_ARRAY_ARB */
- { 37236, 0x0000889E }, /* GL_WEIGHT_ARRAY_BUFFER_BINDING */
- { 37267, 0x0000889E }, /* GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB */
- { 37302, 0x000086AC }, /* GL_WEIGHT_ARRAY_POINTER_ARB */
- { 37330, 0x000086AB }, /* GL_WEIGHT_ARRAY_SIZE_ARB */
- { 37355, 0x000086AA }, /* GL_WEIGHT_ARRAY_STRIDE_ARB */
- { 37382, 0x000086A9 }, /* GL_WEIGHT_ARRAY_TYPE_ARB */
- { 37407, 0x000086A6 }, /* GL_WEIGHT_SUM_UNITY_ARB */
- { 37431, 0x000081D4 }, /* GL_WRAP_BORDER_SUN */
- { 37450, 0x000088B9 }, /* GL_WRITE_ONLY */
- { 37464, 0x000088B9 }, /* GL_WRITE_ONLY_ARB */
- { 37482, 0x00001506 }, /* GL_XOR */
- { 37489, 0x000085B9 }, /* GL_YCBCR_422_APPLE */
- { 37508, 0x00008757 }, /* GL_YCBCR_MESA */
- { 37522, 0x00000000 }, /* GL_ZERO */
- { 37530, 0x00000D16 }, /* GL_ZOOM_X */
- { 37540, 0x00000D17 }, /* GL_ZOOM_Y */
+ { 29733, 0x00008801 }, /* GL_STENCIL_BACK_FAIL_ATI */
+ { 29758, 0x00008800 }, /* GL_STENCIL_BACK_FUNC */
+ { 29779, 0x00008800 }, /* GL_STENCIL_BACK_FUNC_ATI */
+ { 29804, 0x00008802 }, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL */
+ { 29836, 0x00008802 }, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI */
+ { 29872, 0x00008803 }, /* GL_STENCIL_BACK_PASS_DEPTH_PASS */
+ { 29904, 0x00008803 }, /* GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI */
+ { 29940, 0x00008CA3 }, /* GL_STENCIL_BACK_REF */
+ { 29960, 0x00008CA4 }, /* GL_STENCIL_BACK_VALUE_MASK */
+ { 29987, 0x00008CA5 }, /* GL_STENCIL_BACK_WRITEMASK */
+ { 30013, 0x00000D57 }, /* GL_STENCIL_BITS */
+ { 30029, 0x00000400 }, /* GL_STENCIL_BUFFER_BIT */
+ { 30051, 0x00000B91 }, /* GL_STENCIL_CLEAR_VALUE */
+ { 30074, 0x00000B94 }, /* GL_STENCIL_FAIL */
+ { 30090, 0x00000B92 }, /* GL_STENCIL_FUNC */
+ { 30106, 0x00001901 }, /* GL_STENCIL_INDEX */
+ { 30123, 0x00008D49 }, /* GL_STENCIL_INDEX16_EXT */
+ { 30146, 0x00008D46 }, /* GL_STENCIL_INDEX1_EXT */
+ { 30168, 0x00008D47 }, /* GL_STENCIL_INDEX4_EXT */
+ { 30190, 0x00008D48 }, /* GL_STENCIL_INDEX8_EXT */
+ { 30212, 0x00008D45 }, /* GL_STENCIL_INDEX_EXT */
+ { 30233, 0x00000B95 }, /* GL_STENCIL_PASS_DEPTH_FAIL */
+ { 30260, 0x00000B96 }, /* GL_STENCIL_PASS_DEPTH_PASS */
+ { 30287, 0x00000B97 }, /* GL_STENCIL_REF */
+ { 30302, 0x00000B90 }, /* GL_STENCIL_TEST */
+ { 30318, 0x00008910 }, /* GL_STENCIL_TEST_TWO_SIDE_EXT */
+ { 30347, 0x00000B93 }, /* GL_STENCIL_VALUE_MASK */
+ { 30369, 0x00000B98 }, /* GL_STENCIL_WRITEMASK */
+ { 30390, 0x00000C33 }, /* GL_STEREO */
+ { 30400, 0x000088E2 }, /* GL_STREAM_COPY */
+ { 30415, 0x000088E2 }, /* GL_STREAM_COPY_ARB */
+ { 30434, 0x000088E0 }, /* GL_STREAM_DRAW */
+ { 30449, 0x000088E0 }, /* GL_STREAM_DRAW_ARB */
+ { 30468, 0x000088E1 }, /* GL_STREAM_READ */
+ { 30483, 0x000088E1 }, /* GL_STREAM_READ_ARB */
+ { 30502, 0x00000D50 }, /* GL_SUBPIXEL_BITS */
+ { 30519, 0x000084E7 }, /* GL_SUBTRACT */
+ { 30531, 0x000084E7 }, /* GL_SUBTRACT_ARB */
+ { 30547, 0x00002001 }, /* GL_T */
+ { 30552, 0x00002A2A }, /* GL_T2F_C3F_V3F */
+ { 30567, 0x00002A2C }, /* GL_T2F_C4F_N3F_V3F */
+ { 30586, 0x00002A29 }, /* GL_T2F_C4UB_V3F */
+ { 30602, 0x00002A2B }, /* GL_T2F_N3F_V3F */
+ { 30617, 0x00002A27 }, /* GL_T2F_V3F */
+ { 30628, 0x00002A2D }, /* GL_T4F_C4F_N3F_V4F */
+ { 30647, 0x00002A28 }, /* GL_T4F_V4F */
+ { 30658, 0x00008031 }, /* GL_TABLE_TOO_LARGE_EXT */
+ { 30681, 0x00001702 }, /* GL_TEXTURE */
+ { 30692, 0x000084C0 }, /* GL_TEXTURE0 */
+ { 30704, 0x000084C0 }, /* GL_TEXTURE0_ARB */
+ { 30720, 0x000084C1 }, /* GL_TEXTURE1 */
+ { 30732, 0x000084CA }, /* GL_TEXTURE10 */
+ { 30745, 0x000084CA }, /* GL_TEXTURE10_ARB */
+ { 30762, 0x000084CB }, /* GL_TEXTURE11 */
+ { 30775, 0x000084CB }, /* GL_TEXTURE11_ARB */
+ { 30792, 0x000084CC }, /* GL_TEXTURE12 */
+ { 30805, 0x000084CC }, /* GL_TEXTURE12_ARB */
+ { 30822, 0x000084CD }, /* GL_TEXTURE13 */
+ { 30835, 0x000084CD }, /* GL_TEXTURE13_ARB */
+ { 30852, 0x000084CE }, /* GL_TEXTURE14 */
+ { 30865, 0x000084CE }, /* GL_TEXTURE14_ARB */
+ { 30882, 0x000084CF }, /* GL_TEXTURE15 */
+ { 30895, 0x000084CF }, /* GL_TEXTURE15_ARB */
+ { 30912, 0x000084D0 }, /* GL_TEXTURE16 */
+ { 30925, 0x000084D0 }, /* GL_TEXTURE16_ARB */
+ { 30942, 0x000084D1 }, /* GL_TEXTURE17 */
+ { 30955, 0x000084D1 }, /* GL_TEXTURE17_ARB */
+ { 30972, 0x000084D2 }, /* GL_TEXTURE18 */
+ { 30985, 0x000084D2 }, /* GL_TEXTURE18_ARB */
+ { 31002, 0x000084D3 }, /* GL_TEXTURE19 */
+ { 31015, 0x000084D3 }, /* GL_TEXTURE19_ARB */
+ { 31032, 0x000084C1 }, /* GL_TEXTURE1_ARB */
+ { 31048, 0x000084C2 }, /* GL_TEXTURE2 */
+ { 31060, 0x000084D4 }, /* GL_TEXTURE20 */
+ { 31073, 0x000084D4 }, /* GL_TEXTURE20_ARB */
+ { 31090, 0x000084D5 }, /* GL_TEXTURE21 */
+ { 31103, 0x000084D5 }, /* GL_TEXTURE21_ARB */
+ { 31120, 0x000084D6 }, /* GL_TEXTURE22 */
+ { 31133, 0x000084D6 }, /* GL_TEXTURE22_ARB */
+ { 31150, 0x000084D7 }, /* GL_TEXTURE23 */
+ { 31163, 0x000084D7 }, /* GL_TEXTURE23_ARB */
+ { 31180, 0x000084D8 }, /* GL_TEXTURE24 */
+ { 31193, 0x000084D8 }, /* GL_TEXTURE24_ARB */
+ { 31210, 0x000084D9 }, /* GL_TEXTURE25 */
+ { 31223, 0x000084D9 }, /* GL_TEXTURE25_ARB */
+ { 31240, 0x000084DA }, /* GL_TEXTURE26 */
+ { 31253, 0x000084DA }, /* GL_TEXTURE26_ARB */
+ { 31270, 0x000084DB }, /* GL_TEXTURE27 */
+ { 31283, 0x000084DB }, /* GL_TEXTURE27_ARB */
+ { 31300, 0x000084DC }, /* GL_TEXTURE28 */
+ { 31313, 0x000084DC }, /* GL_TEXTURE28_ARB */
+ { 31330, 0x000084DD }, /* GL_TEXTURE29 */
+ { 31343, 0x000084DD }, /* GL_TEXTURE29_ARB */
+ { 31360, 0x000084C2 }, /* GL_TEXTURE2_ARB */
+ { 31376, 0x000084C3 }, /* GL_TEXTURE3 */
+ { 31388, 0x000084DE }, /* GL_TEXTURE30 */
+ { 31401, 0x000084DE }, /* GL_TEXTURE30_ARB */
+ { 31418, 0x000084DF }, /* GL_TEXTURE31 */
+ { 31431, 0x000084DF }, /* GL_TEXTURE31_ARB */
+ { 31448, 0x000084C3 }, /* GL_TEXTURE3_ARB */
+ { 31464, 0x000084C4 }, /* GL_TEXTURE4 */
+ { 31476, 0x000084C4 }, /* GL_TEXTURE4_ARB */
+ { 31492, 0x000084C5 }, /* GL_TEXTURE5 */
+ { 31504, 0x000084C5 }, /* GL_TEXTURE5_ARB */
+ { 31520, 0x000084C6 }, /* GL_TEXTURE6 */
+ { 31532, 0x000084C6 }, /* GL_TEXTURE6_ARB */
+ { 31548, 0x000084C7 }, /* GL_TEXTURE7 */
+ { 31560, 0x000084C7 }, /* GL_TEXTURE7_ARB */
+ { 31576, 0x000084C8 }, /* GL_TEXTURE8 */
+ { 31588, 0x000084C8 }, /* GL_TEXTURE8_ARB */
+ { 31604, 0x000084C9 }, /* GL_TEXTURE9 */
+ { 31616, 0x000084C9 }, /* GL_TEXTURE9_ARB */
+ { 31632, 0x00000DE0 }, /* GL_TEXTURE_1D */
+ { 31646, 0x00008C18 }, /* GL_TEXTURE_1D_ARRAY_EXT */
+ { 31670, 0x00000DE1 }, /* GL_TEXTURE_2D */
+ { 31684, 0x00008C1A }, /* GL_TEXTURE_2D_ARRAY_EXT */
+ { 31708, 0x0000806F }, /* GL_TEXTURE_3D */
+ { 31722, 0x0000805F }, /* GL_TEXTURE_ALPHA_SIZE */
+ { 31744, 0x0000805F }, /* GL_TEXTURE_ALPHA_SIZE_EXT */
+ { 31770, 0x0000813C }, /* GL_TEXTURE_BASE_LEVEL */
+ { 31792, 0x00008068 }, /* GL_TEXTURE_BINDING_1D */
+ { 31814, 0x00008C1C }, /* GL_TEXTURE_BINDING_1D_ARRAY_EXT */
+ { 31846, 0x00008069 }, /* GL_TEXTURE_BINDING_2D */
+ { 31868, 0x00008C1D }, /* GL_TEXTURE_BINDING_2D_ARRAY_EXT */
+ { 31900, 0x0000806A }, /* GL_TEXTURE_BINDING_3D */
+ { 31922, 0x00008514 }, /* GL_TEXTURE_BINDING_CUBE_MAP */
+ { 31950, 0x00008514 }, /* GL_TEXTURE_BINDING_CUBE_MAP_ARB */
+ { 31982, 0x000084F6 }, /* GL_TEXTURE_BINDING_RECTANGLE_ARB */
+ { 32015, 0x000084F6 }, /* GL_TEXTURE_BINDING_RECTANGLE_NV */
+ { 32047, 0x00040000 }, /* GL_TEXTURE_BIT */
+ { 32062, 0x0000805E }, /* GL_TEXTURE_BLUE_SIZE */
+ { 32083, 0x0000805E }, /* GL_TEXTURE_BLUE_SIZE_EXT */
+ { 32108, 0x00001005 }, /* GL_TEXTURE_BORDER */
+ { 32126, 0x00001004 }, /* GL_TEXTURE_BORDER_COLOR */
+ { 32150, 0x00008171 }, /* GL_TEXTURE_CLIPMAP_CENTER_SGIX */
+ { 32181, 0x00008176 }, /* GL_TEXTURE_CLIPMAP_DEPTH_SGIX */
+ { 32211, 0x00008172 }, /* GL_TEXTURE_CLIPMAP_FRAME_SGIX */
+ { 32241, 0x00008175 }, /* GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX */
+ { 32276, 0x00008173 }, /* GL_TEXTURE_CLIPMAP_OFFSET_SGIX */
+ { 32307, 0x00008174 }, /* GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX */
+ { 32345, 0x000080BC }, /* GL_TEXTURE_COLOR_TABLE_SGI */
+ { 32372, 0x000081EF }, /* GL_TEXTURE_COLOR_WRITEMASK_SGIS */
+ { 32404, 0x000080BF }, /* GL_TEXTURE_COMPARE_FAIL_VALUE_ARB */
+ { 32438, 0x0000884D }, /* GL_TEXTURE_COMPARE_FUNC */
+ { 32462, 0x0000884D }, /* GL_TEXTURE_COMPARE_FUNC_ARB */
+ { 32490, 0x0000884C }, /* GL_TEXTURE_COMPARE_MODE */
+ { 32514, 0x0000884C }, /* GL_TEXTURE_COMPARE_MODE_ARB */
+ { 32542, 0x0000819B }, /* GL_TEXTURE_COMPARE_OPERATOR_SGIX */
+ { 32575, 0x0000819A }, /* GL_TEXTURE_COMPARE_SGIX */
+ { 32599, 0x00001003 }, /* GL_TEXTURE_COMPONENTS */
+ { 32621, 0x000086A1 }, /* GL_TEXTURE_COMPRESSED */
+ { 32643, 0x000086A1 }, /* GL_TEXTURE_COMPRESSED_ARB */
+ { 32669, 0x000086A3 }, /* GL_TEXTURE_COMPRESSED_FORMATS_ARB */
+ { 32703, 0x000086A0 }, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE */
+ { 32736, 0x000086A0 }, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB */
+ { 32773, 0x000084EF }, /* GL_TEXTURE_COMPRESSION_HINT */
+ { 32801, 0x000084EF }, /* GL_TEXTURE_COMPRESSION_HINT_ARB */
+ { 32833, 0x00008078 }, /* GL_TEXTURE_COORD_ARRAY */
+ { 32856, 0x0000889A }, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING */
+ { 32894, 0x0000889A }, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB */
+ { 32936, 0x00008092 }, /* GL_TEXTURE_COORD_ARRAY_POINTER */
+ { 32967, 0x00008088 }, /* GL_TEXTURE_COORD_ARRAY_SIZE */
+ { 32995, 0x0000808A }, /* GL_TEXTURE_COORD_ARRAY_STRIDE */
+ { 33025, 0x00008089 }, /* GL_TEXTURE_COORD_ARRAY_TYPE */
+ { 33053, 0x00008513 }, /* GL_TEXTURE_CUBE_MAP */
+ { 33073, 0x00008513 }, /* GL_TEXTURE_CUBE_MAP_ARB */
+ { 33097, 0x00008516 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X */
+ { 33128, 0x00008516 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB */
+ { 33163, 0x00008518 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y */
+ { 33194, 0x00008518 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB */
+ { 33229, 0x0000851A }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z */
+ { 33260, 0x0000851A }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB */
+ { 33295, 0x00008515 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X */
+ { 33326, 0x00008515 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB */
+ { 33361, 0x00008517 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y */
+ { 33392, 0x00008517 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB */
+ { 33427, 0x00008519 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z */
+ { 33458, 0x00008519 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB */
+ { 33493, 0x00008071 }, /* GL_TEXTURE_DEPTH */
+ { 33510, 0x0000884A }, /* GL_TEXTURE_DEPTH_SIZE */
+ { 33532, 0x0000884A }, /* GL_TEXTURE_DEPTH_SIZE_ARB */
+ { 33558, 0x00002300 }, /* GL_TEXTURE_ENV */
+ { 33573, 0x00002201 }, /* GL_TEXTURE_ENV_COLOR */
+ { 33594, 0x00002200 }, /* GL_TEXTURE_ENV_MODE */
+ { 33614, 0x00008500 }, /* GL_TEXTURE_FILTER_CONTROL */
+ { 33640, 0x00002500 }, /* GL_TEXTURE_GEN_MODE */
+ { 33660, 0x00000C63 }, /* GL_TEXTURE_GEN_Q */
+ { 33677, 0x00000C62 }, /* GL_TEXTURE_GEN_R */
+ { 33694, 0x00000C60 }, /* GL_TEXTURE_GEN_S */
+ { 33711, 0x00000C61 }, /* GL_TEXTURE_GEN_T */
+ { 33728, 0x0000819D }, /* GL_TEXTURE_GEQUAL_R_SGIX */
+ { 33753, 0x0000805D }, /* GL_TEXTURE_GREEN_SIZE */
+ { 33775, 0x0000805D }, /* GL_TEXTURE_GREEN_SIZE_EXT */
+ { 33801, 0x00001001 }, /* GL_TEXTURE_HEIGHT */
+ { 33819, 0x000080ED }, /* GL_TEXTURE_INDEX_SIZE_EXT */
+ { 33845, 0x00008061 }, /* GL_TEXTURE_INTENSITY_SIZE */
+ { 33871, 0x00008061 }, /* GL_TEXTURE_INTENSITY_SIZE_EXT */
+ { 33901, 0x00001003 }, /* GL_TEXTURE_INTERNAL_FORMAT */
+ { 33928, 0x0000819C }, /* GL_TEXTURE_LEQUAL_R_SGIX */
+ { 33953, 0x00008501 }, /* GL_TEXTURE_LOD_BIAS */
+ { 33973, 0x00008501 }, /* GL_TEXTURE_LOD_BIAS_EXT */
+ { 33997, 0x00008190 }, /* GL_TEXTURE_LOD_BIAS_R_SGIX */
+ { 34024, 0x0000818E }, /* GL_TEXTURE_LOD_BIAS_S_SGIX */
+ { 34051, 0x0000818F }, /* GL_TEXTURE_LOD_BIAS_T_SGIX */
+ { 34078, 0x00008060 }, /* GL_TEXTURE_LUMINANCE_SIZE */
+ { 34104, 0x00008060 }, /* GL_TEXTURE_LUMINANCE_SIZE_EXT */
+ { 34134, 0x00002800 }, /* GL_TEXTURE_MAG_FILTER */
+ { 34156, 0x00000BA8 }, /* GL_TEXTURE_MATRIX */
+ { 34174, 0x000084FE }, /* GL_TEXTURE_MAX_ANISOTROPY_EXT */
+ { 34204, 0x0000836B }, /* GL_TEXTURE_MAX_CLAMP_R_SGIX */
+ { 34232, 0x00008369 }, /* GL_TEXTURE_MAX_CLAMP_S_SGIX */
+ { 34260, 0x0000836A }, /* GL_TEXTURE_MAX_CLAMP_T_SGIX */
+ { 34288, 0x0000813D }, /* GL_TEXTURE_MAX_LEVEL */
+ { 34309, 0x0000813B }, /* GL_TEXTURE_MAX_LOD */
+ { 34328, 0x00002801 }, /* GL_TEXTURE_MIN_FILTER */
+ { 34350, 0x0000813A }, /* GL_TEXTURE_MIN_LOD */
+ { 34369, 0x00008066 }, /* GL_TEXTURE_PRIORITY */
+ { 34389, 0x000084F5 }, /* GL_TEXTURE_RECTANGLE_ARB */
+ { 34414, 0x000084F5 }, /* GL_TEXTURE_RECTANGLE_NV */
+ { 34438, 0x0000805C }, /* GL_TEXTURE_RED_SIZE */
+ { 34458, 0x0000805C }, /* GL_TEXTURE_RED_SIZE_EXT */
+ { 34482, 0x00008067 }, /* GL_TEXTURE_RESIDENT */
+ { 34502, 0x00000BA5 }, /* GL_TEXTURE_STACK_DEPTH */
+ { 34525, 0x00008065 }, /* GL_TEXTURE_TOO_LARGE_EXT */
+ { 34550, 0x0000888F }, /* GL_TEXTURE_UNSIGNED_REMAP_MODE_NV */
+ { 34584, 0x00001000 }, /* GL_TEXTURE_WIDTH */
+ { 34601, 0x00008072 }, /* GL_TEXTURE_WRAP_R */
+ { 34619, 0x00002802 }, /* GL_TEXTURE_WRAP_S */
+ { 34637, 0x00002803 }, /* GL_TEXTURE_WRAP_T */
+ { 34655, 0x000088BF }, /* GL_TIME_ELAPSED_EXT */
+ { 34675, 0x00008648 }, /* GL_TRACK_MATRIX_NV */
+ { 34694, 0x00008649 }, /* GL_TRACK_MATRIX_TRANSFORM_NV */
+ { 34723, 0x00001000 }, /* GL_TRANSFORM_BIT */
+ { 34740, 0x000084E6 }, /* GL_TRANSPOSE_COLOR_MATRIX */
+ { 34766, 0x000084E6 }, /* GL_TRANSPOSE_COLOR_MATRIX_ARB */
+ { 34796, 0x000088B7 }, /* GL_TRANSPOSE_CURRENT_MATRIX_ARB */
+ { 34828, 0x000084E3 }, /* GL_TRANSPOSE_MODELVIEW_MATRIX */
+ { 34858, 0x000084E3 }, /* GL_TRANSPOSE_MODELVIEW_MATRIX_ARB */
+ { 34892, 0x0000862C }, /* GL_TRANSPOSE_NV */
+ { 34908, 0x000084E4 }, /* GL_TRANSPOSE_PROJECTION_MATRIX */
+ { 34939, 0x000084E4 }, /* GL_TRANSPOSE_PROJECTION_MATRIX_ARB */
+ { 34974, 0x000084E5 }, /* GL_TRANSPOSE_TEXTURE_MATRIX */
+ { 35002, 0x000084E5 }, /* GL_TRANSPOSE_TEXTURE_MATRIX_ARB */
+ { 35034, 0x00000004 }, /* GL_TRIANGLES */
+ { 35047, 0x00000006 }, /* GL_TRIANGLE_FAN */
+ { 35063, 0x00008615 }, /* GL_TRIANGLE_MESH_SUN */
+ { 35084, 0x00000005 }, /* GL_TRIANGLE_STRIP */
+ { 35102, 0x00000001 }, /* GL_TRUE */
+ { 35110, 0x00000CF5 }, /* GL_UNPACK_ALIGNMENT */
+ { 35130, 0x0000806E }, /* GL_UNPACK_IMAGE_HEIGHT */
+ { 35153, 0x00000CF1 }, /* GL_UNPACK_LSB_FIRST */
+ { 35173, 0x00000CF2 }, /* GL_UNPACK_ROW_LENGTH */
+ { 35194, 0x0000806D }, /* GL_UNPACK_SKIP_IMAGES */
+ { 35216, 0x00000CF4 }, /* GL_UNPACK_SKIP_PIXELS */
+ { 35238, 0x00000CF3 }, /* GL_UNPACK_SKIP_ROWS */
+ { 35258, 0x00000CF0 }, /* GL_UNPACK_SWAP_BYTES */
+ { 35279, 0x00001401 }, /* GL_UNSIGNED_BYTE */
+ { 35296, 0x00008362 }, /* GL_UNSIGNED_BYTE_2_3_3_REV */
+ { 35323, 0x00008032 }, /* GL_UNSIGNED_BYTE_3_3_2 */
+ { 35346, 0x00001405 }, /* GL_UNSIGNED_INT */
+ { 35362, 0x00008036 }, /* GL_UNSIGNED_INT_10_10_10_2 */
+ { 35389, 0x000084FA }, /* GL_UNSIGNED_INT_24_8_NV */
+ { 35413, 0x00008368 }, /* GL_UNSIGNED_INT_2_10_10_10_REV */
+ { 35444, 0x00008035 }, /* GL_UNSIGNED_INT_8_8_8_8 */
+ { 35468, 0x00008367 }, /* GL_UNSIGNED_INT_8_8_8_8_REV */
+ { 35496, 0x00001403 }, /* GL_UNSIGNED_SHORT */
+ { 35514, 0x00008366 }, /* GL_UNSIGNED_SHORT_1_5_5_5_REV */
+ { 35544, 0x00008033 }, /* GL_UNSIGNED_SHORT_4_4_4_4 */
+ { 35570, 0x00008365 }, /* GL_UNSIGNED_SHORT_4_4_4_4_REV */
+ { 35600, 0x00008034 }, /* GL_UNSIGNED_SHORT_5_5_5_1 */
+ { 35626, 0x00008363 }, /* GL_UNSIGNED_SHORT_5_6_5 */
+ { 35650, 0x00008364 }, /* GL_UNSIGNED_SHORT_5_6_5_REV */
+ { 35678, 0x000085BA }, /* GL_UNSIGNED_SHORT_8_8_APPLE */
+ { 35706, 0x000085BA }, /* GL_UNSIGNED_SHORT_8_8_MESA */
+ { 35733, 0x000085BB }, /* GL_UNSIGNED_SHORT_8_8_REV_APPLE */
+ { 35765, 0x000085BB }, /* GL_UNSIGNED_SHORT_8_8_REV_MESA */
+ { 35796, 0x00008CA2 }, /* GL_UPPER_LEFT */
+ { 35810, 0x00002A20 }, /* GL_V2F */
+ { 35817, 0x00002A21 }, /* GL_V3F */
+ { 35824, 0x00008B83 }, /* GL_VALIDATE_STATUS */
+ { 35843, 0x00001F00 }, /* GL_VENDOR */
+ { 35853, 0x00001F02 }, /* GL_VERSION */
+ { 35864, 0x00008074 }, /* GL_VERTEX_ARRAY */
+ { 35880, 0x000085B5 }, /* GL_VERTEX_ARRAY_BINDING_APPLE */
+ { 35910, 0x00008896 }, /* GL_VERTEX_ARRAY_BUFFER_BINDING */
+ { 35941, 0x00008896 }, /* GL_VERTEX_ARRAY_BUFFER_BINDING_ARB */
+ { 35976, 0x0000808E }, /* GL_VERTEX_ARRAY_POINTER */
+ { 36000, 0x0000807A }, /* GL_VERTEX_ARRAY_SIZE */
+ { 36021, 0x0000807C }, /* GL_VERTEX_ARRAY_STRIDE */
+ { 36044, 0x0000807B }, /* GL_VERTEX_ARRAY_TYPE */
+ { 36065, 0x00008650 }, /* GL_VERTEX_ATTRIB_ARRAY0_NV */
+ { 36092, 0x0000865A }, /* GL_VERTEX_ATTRIB_ARRAY10_NV */
+ { 36120, 0x0000865B }, /* GL_VERTEX_ATTRIB_ARRAY11_NV */
+ { 36148, 0x0000865C }, /* GL_VERTEX_ATTRIB_ARRAY12_NV */
+ { 36176, 0x0000865D }, /* GL_VERTEX_ATTRIB_ARRAY13_NV */
+ { 36204, 0x0000865E }, /* GL_VERTEX_ATTRIB_ARRAY14_NV */
+ { 36232, 0x0000865F }, /* GL_VERTEX_ATTRIB_ARRAY15_NV */
+ { 36260, 0x00008651 }, /* GL_VERTEX_ATTRIB_ARRAY1_NV */
+ { 36287, 0x00008652 }, /* GL_VERTEX_ATTRIB_ARRAY2_NV */
+ { 36314, 0x00008653 }, /* GL_VERTEX_ATTRIB_ARRAY3_NV */
+ { 36341, 0x00008654 }, /* GL_VERTEX_ATTRIB_ARRAY4_NV */
+ { 36368, 0x00008655 }, /* GL_VERTEX_ATTRIB_ARRAY5_NV */
+ { 36395, 0x00008656 }, /* GL_VERTEX_ATTRIB_ARRAY6_NV */
+ { 36422, 0x00008657 }, /* GL_VERTEX_ATTRIB_ARRAY7_NV */
+ { 36449, 0x00008658 }, /* GL_VERTEX_ATTRIB_ARRAY8_NV */
+ { 36476, 0x00008659 }, /* GL_VERTEX_ATTRIB_ARRAY9_NV */
+ { 36503, 0x0000889F }, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING */
+ { 36541, 0x0000889F }, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB */
+ { 36583, 0x00008622 }, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED */
+ { 36614, 0x00008622 }, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB */
+ { 36649, 0x0000886A }, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED */
+ { 36683, 0x0000886A }, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB */
+ { 36721, 0x00008645 }, /* GL_VERTEX_ATTRIB_ARRAY_POINTER */
+ { 36752, 0x00008645 }, /* GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB */
+ { 36787, 0x00008623 }, /* GL_VERTEX_ATTRIB_ARRAY_SIZE */
+ { 36815, 0x00008623 }, /* GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB */
+ { 36847, 0x00008624 }, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE */
+ { 36877, 0x00008624 }, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB */
+ { 36911, 0x00008625 }, /* GL_VERTEX_ATTRIB_ARRAY_TYPE */
+ { 36939, 0x00008625 }, /* GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB */
+ { 36971, 0x000086A7 }, /* GL_VERTEX_BLEND_ARB */
+ { 36991, 0x00008620 }, /* GL_VERTEX_PROGRAM_ARB */
+ { 37013, 0x0000864A }, /* GL_VERTEX_PROGRAM_BINDING_NV */
+ { 37042, 0x00008620 }, /* GL_VERTEX_PROGRAM_NV */
+ { 37063, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE */
+ { 37092, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE_ARB */
+ { 37125, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE_NV */
+ { 37157, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE */
+ { 37184, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE_ARB */
+ { 37215, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE_NV */
+ { 37245, 0x00008B31 }, /* GL_VERTEX_SHADER */
+ { 37262, 0x00008B31 }, /* GL_VERTEX_SHADER_ARB */
+ { 37283, 0x00008621 }, /* GL_VERTEX_STATE_PROGRAM_NV */
+ { 37310, 0x00000BA2 }, /* GL_VIEWPORT */
+ { 37322, 0x00000800 }, /* GL_VIEWPORT_BIT */
+ { 37338, 0x000086AD }, /* GL_WEIGHT_ARRAY_ARB */
+ { 37358, 0x0000889E }, /* GL_WEIGHT_ARRAY_BUFFER_BINDING */
+ { 37389, 0x0000889E }, /* GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB */
+ { 37424, 0x000086AC }, /* GL_WEIGHT_ARRAY_POINTER_ARB */
+ { 37452, 0x000086AB }, /* GL_WEIGHT_ARRAY_SIZE_ARB */
+ { 37477, 0x000086AA }, /* GL_WEIGHT_ARRAY_STRIDE_ARB */
+ { 37504, 0x000086A9 }, /* GL_WEIGHT_ARRAY_TYPE_ARB */
+ { 37529, 0x000086A6 }, /* GL_WEIGHT_SUM_UNITY_ARB */
+ { 37553, 0x000081D4 }, /* GL_WRAP_BORDER_SUN */
+ { 37572, 0x000088B9 }, /* GL_WRITE_ONLY */
+ { 37586, 0x000088B9 }, /* GL_WRITE_ONLY_ARB */
+ { 37604, 0x00001506 }, /* GL_XOR */
+ { 37611, 0x000085B9 }, /* GL_YCBCR_422_APPLE */
+ { 37630, 0x00008757 }, /* GL_YCBCR_MESA */
+ { 37644, 0x00000000 }, /* GL_ZERO */
+ { 37652, 0x00000D16 }, /* GL_ZOOM_X */
+ { 37662, 0x00000D17 }, /* GL_ZOOM_Y */
};
static const unsigned reduced_enums[1284] =
@@ -3539,9 +3547,9 @@ static const unsigned reduced_enums[1284] =
645, /* GL_LINES */
647, /* GL_LINE_LOOP */
654, /* GL_LINE_STRIP */
- 1637, /* GL_TRIANGLES */
- 1640, /* GL_TRIANGLE_STRIP */
- 1638, /* GL_TRIANGLE_FAN */
+ 1641, /* GL_TRIANGLES */
+ 1644, /* GL_TRIANGLE_STRIP */
+ 1642, /* GL_TRIANGLE_FAN */
1211, /* GL_QUADS */
1213, /* GL_QUAD_STRIP */
1099, /* GL_POLYGON */
@@ -3664,24 +3672,24 @@ static const unsigned reduced_enums[1284] =
321, /* GL_DEPTH_CLEAR_VALUE */
332, /* GL_DEPTH_FUNC */
12, /* GL_ACCUM_CLEAR_VALUE */
- 1418, /* GL_STENCIL_TEST */
- 1406, /* GL_STENCIL_CLEAR_VALUE */
- 1408, /* GL_STENCIL_FUNC */
- 1420, /* GL_STENCIL_VALUE_MASK */
- 1407, /* GL_STENCIL_FAIL */
- 1415, /* GL_STENCIL_PASS_DEPTH_FAIL */
- 1416, /* GL_STENCIL_PASS_DEPTH_PASS */
- 1417, /* GL_STENCIL_REF */
- 1421, /* GL_STENCIL_WRITEMASK */
+ 1422, /* GL_STENCIL_TEST */
+ 1410, /* GL_STENCIL_CLEAR_VALUE */
+ 1412, /* GL_STENCIL_FUNC */
+ 1424, /* GL_STENCIL_VALUE_MASK */
+ 1411, /* GL_STENCIL_FAIL */
+ 1419, /* GL_STENCIL_PASS_DEPTH_FAIL */
+ 1420, /* GL_STENCIL_PASS_DEPTH_PASS */
+ 1421, /* GL_STENCIL_REF */
+ 1425, /* GL_STENCIL_WRITEMASK */
791, /* GL_MATRIX_MODE */
958, /* GL_NORMALIZE */
- 1727, /* GL_VIEWPORT */
+ 1731, /* GL_VIEWPORT */
932, /* GL_MODELVIEW_STACK_DEPTH */
1191, /* GL_PROJECTION_STACK_DEPTH */
- 1616, /* GL_TEXTURE_STACK_DEPTH */
+ 1620, /* GL_TEXTURE_STACK_DEPTH */
930, /* GL_MODELVIEW_MATRIX */
1190, /* GL_PROJECTION_MATRIX */
- 1601, /* GL_TEXTURE_MATRIX */
+ 1605, /* GL_TEXTURE_MATRIX */
61, /* GL_ATTRIB_STACK_DEPTH */
127, /* GL_CLIENT_ATTRIB_STACK_DEPTH */
43, /* GL_ALPHA_TEST */
@@ -3706,17 +3714,17 @@ static const unsigned reduced_enums[1284] =
587, /* GL_INDEX_MODE */
1287, /* GL_RGBA_MODE */
353, /* GL_DOUBLEBUFFER */
- 1422, /* GL_STEREO */
+ 1426, /* GL_STEREO */
1246, /* GL_RENDER_MODE */
1043, /* GL_PERSPECTIVE_CORRECTION_HINT */
1092, /* GL_POINT_SMOOTH_HINT */
650, /* GL_LINE_SMOOTH_HINT */
1109, /* GL_POLYGON_SMOOTH_HINT */
478, /* GL_FOG_HINT */
- 1582, /* GL_TEXTURE_GEN_S */
- 1583, /* GL_TEXTURE_GEN_T */
- 1581, /* GL_TEXTURE_GEN_R */
- 1580, /* GL_TEXTURE_GEN_Q */
+ 1586, /* GL_TEXTURE_GEN_S */
+ 1587, /* GL_TEXTURE_GEN_T */
+ 1585, /* GL_TEXTURE_GEN_R */
+ 1584, /* GL_TEXTURE_GEN_Q */
1056, /* GL_PIXEL_MAP_I_TO_I */
1062, /* GL_PIXEL_MAP_S_TO_S */
1058, /* GL_PIXEL_MAP_I_TO_R */
@@ -3737,12 +3745,12 @@ static const unsigned reduced_enums[1284] =
1049, /* GL_PIXEL_MAP_G_TO_G_SIZE */
1047, /* GL_PIXEL_MAP_B_TO_B_SIZE */
1045, /* GL_PIXEL_MAP_A_TO_A_SIZE */
- 1649, /* GL_UNPACK_SWAP_BYTES */
- 1644, /* GL_UNPACK_LSB_FIRST */
- 1645, /* GL_UNPACK_ROW_LENGTH */
- 1648, /* GL_UNPACK_SKIP_ROWS */
- 1647, /* GL_UNPACK_SKIP_PIXELS */
- 1642, /* GL_UNPACK_ALIGNMENT */
+ 1653, /* GL_UNPACK_SWAP_BYTES */
+ 1648, /* GL_UNPACK_LSB_FIRST */
+ 1649, /* GL_UNPACK_ROW_LENGTH */
+ 1652, /* GL_UNPACK_SKIP_ROWS */
+ 1651, /* GL_UNPACK_SKIP_PIXELS */
+ 1646, /* GL_UNPACK_ALIGNMENT */
1031, /* GL_PACK_SWAP_BYTES */
1026, /* GL_PACK_LSB_FIRST */
1027, /* GL_PACK_ROW_LENGTH */
@@ -3755,8 +3763,8 @@ static const unsigned reduced_enums[1284] =
588, /* GL_INDEX_OFFSET */
1235, /* GL_RED_SCALE */
1233, /* GL_RED_BIAS */
- 1744, /* GL_ZOOM_X */
- 1745, /* GL_ZOOM_Y */
+ 1748, /* GL_ZOOM_X */
+ 1749, /* GL_ZOOM_Y */
551, /* GL_GREEN_SCALE */
549, /* GL_GREEN_BIAS */
92, /* GL_BLUE_SCALE */
@@ -3777,14 +3785,14 @@ static const unsigned reduced_enums[1284] =
866, /* GL_MAX_TEXTURE_STACK_DEPTH */
880, /* GL_MAX_VIEWPORT_DIMS */
797, /* GL_MAX_CLIENT_ATTRIB_STACK_DEPTH */
- 1429, /* GL_SUBPIXEL_BITS */
+ 1433, /* GL_SUBPIXEL_BITS */
584, /* GL_INDEX_BITS */
1234, /* GL_RED_BITS */
550, /* GL_GREEN_BITS */
91, /* GL_BLUE_BITS */
41, /* GL_ALPHA_BITS */
316, /* GL_DEPTH_BITS */
- 1404, /* GL_STENCIL_BITS */
+ 1408, /* GL_STENCIL_BITS */
14, /* GL_ACCUM_RED_BITS */
13, /* GL_ACCUM_GREEN_BITS */
10, /* GL_ACCUM_BLUE_BITS */
@@ -3813,18 +3821,18 @@ static const unsigned reduced_enums[1284] =
692, /* GL_MAP1_GRID_SEGMENTS */
718, /* GL_MAP2_GRID_DOMAIN */
719, /* GL_MAP2_GRID_SEGMENTS */
- 1506, /* GL_TEXTURE_1D */
- 1508, /* GL_TEXTURE_2D */
+ 1510, /* GL_TEXTURE_1D */
+ 1512, /* GL_TEXTURE_2D */
439, /* GL_FEEDBACK_BUFFER_POINTER */
440, /* GL_FEEDBACK_BUFFER_SIZE */
441, /* GL_FEEDBACK_BUFFER_TYPE */
1330, /* GL_SELECTION_BUFFER_POINTER */
1331, /* GL_SELECTION_BUFFER_SIZE */
- 1619, /* GL_TEXTURE_WIDTH */
- 1587, /* GL_TEXTURE_HEIGHT */
- 1543, /* GL_TEXTURE_COMPONENTS */
- 1527, /* GL_TEXTURE_BORDER_COLOR */
- 1526, /* GL_TEXTURE_BORDER */
+ 1623, /* GL_TEXTURE_WIDTH */
+ 1591, /* GL_TEXTURE_HEIGHT */
+ 1547, /* GL_TEXTURE_COMPONENTS */
+ 1531, /* GL_TEXTURE_BORDER_COLOR */
+ 1530, /* GL_TEXTURE_BORDER */
345, /* GL_DONT_CARE */
437, /* GL_FASTEST */
954, /* GL_NICEST */
@@ -3841,11 +3849,11 @@ static const unsigned reduced_enums[1284] =
219, /* GL_COMPILE */
220, /* GL_COMPILE_AND_EXECUTE */
111, /* GL_BYTE */
- 1650, /* GL_UNSIGNED_BYTE */
+ 1654, /* GL_UNSIGNED_BYTE */
1344, /* GL_SHORT */
- 1659, /* GL_UNSIGNED_SHORT */
+ 1663, /* GL_UNSIGNED_SHORT */
592, /* GL_INT */
- 1653, /* GL_UNSIGNED_INT */
+ 1657, /* GL_UNSIGNED_INT */
444, /* GL_FLOAT */
1, /* GL_2_BYTES */
5, /* GL_3_BYTES */
@@ -3857,7 +3865,7 @@ static const unsigned reduced_enums[1284] =
269, /* GL_COPY */
50, /* GL_AND_INVERTED */
956, /* GL_NOOP */
- 1740, /* GL_XOR */
+ 1744, /* GL_XOR */
1018, /* GL_OR */
957, /* GL_NOR */
427, /* GL_EQUIV */
@@ -3873,12 +3881,12 @@ static const unsigned reduced_enums[1284] =
165, /* GL_COLOR_INDEXES */
897, /* GL_MODELVIEW */
1189, /* GL_PROJECTION */
- 1441, /* GL_TEXTURE */
+ 1445, /* GL_TEXTURE */
138, /* GL_COLOR */
313, /* GL_DEPTH */
1395, /* GL_STENCIL */
164, /* GL_COLOR_INDEX */
- 1409, /* GL_STENCIL_INDEX */
+ 1413, /* GL_STENCIL_INDEX */
322, /* GL_DEPTH_COMPONENT */
1230, /* GL_RED */
548, /* GL_GREEN */
@@ -3901,23 +3909,23 @@ static const unsigned reduced_enums[1284] =
1248, /* GL_REPLACE */
575, /* GL_INCR */
309, /* GL_DECR */
- 1674, /* GL_VENDOR */
+ 1678, /* GL_VENDOR */
1245, /* GL_RENDERER */
- 1675, /* GL_VERSION */
+ 1679, /* GL_VERSION */
431, /* GL_EXTENSIONS */
1294, /* GL_S */
- 1432, /* GL_T */
+ 1436, /* GL_T */
1220, /* GL_R */
1209, /* GL_Q */
933, /* GL_MODULATE */
308, /* GL_DECAL */
- 1577, /* GL_TEXTURE_ENV_MODE */
- 1576, /* GL_TEXTURE_ENV_COLOR */
- 1575, /* GL_TEXTURE_ENV */
+ 1581, /* GL_TEXTURE_ENV_MODE */
+ 1580, /* GL_TEXTURE_ENV_COLOR */
+ 1579, /* GL_TEXTURE_ENV */
432, /* GL_EYE_LINEAR */
980, /* GL_OBJECT_LINEAR */
1374, /* GL_SPHERE_MAP */
- 1579, /* GL_TEXTURE_GEN_MODE */
+ 1583, /* GL_TEXTURE_GEN_MODE */
982, /* GL_OBJECT_PLANE */
433, /* GL_EYE_PLANE */
948, /* GL_NEAREST */
@@ -3926,30 +3934,30 @@ static const unsigned reduced_enums[1284] =
644, /* GL_LINEAR_MIPMAP_NEAREST */
951, /* GL_NEAREST_MIPMAP_LINEAR */
643, /* GL_LINEAR_MIPMAP_LINEAR */
- 1600, /* GL_TEXTURE_MAG_FILTER */
- 1608, /* GL_TEXTURE_MIN_FILTER */
- 1621, /* GL_TEXTURE_WRAP_S */
- 1622, /* GL_TEXTURE_WRAP_T */
+ 1604, /* GL_TEXTURE_MAG_FILTER */
+ 1612, /* GL_TEXTURE_MIN_FILTER */
+ 1625, /* GL_TEXTURE_WRAP_S */
+ 1626, /* GL_TEXTURE_WRAP_T */
117, /* GL_CLAMP */
1247, /* GL_REPEAT */
1107, /* GL_POLYGON_OFFSET_UNITS */
1106, /* GL_POLYGON_OFFSET_POINT */
1105, /* GL_POLYGON_OFFSET_LINE */
1221, /* GL_R3_G3_B2 */
- 1671, /* GL_V2F */
- 1672, /* GL_V3F */
+ 1675, /* GL_V2F */
+ 1676, /* GL_V3F */
114, /* GL_C4UB_V2F */
115, /* GL_C4UB_V3F */
112, /* GL_C3F_V3F */
945, /* GL_N3F_V3F */
113, /* GL_C4F_N3F_V3F */
- 1437, /* GL_T2F_V3F */
- 1439, /* GL_T4F_V4F */
- 1435, /* GL_T2F_C4UB_V3F */
- 1433, /* GL_T2F_C3F_V3F */
- 1436, /* GL_T2F_N3F_V3F */
- 1434, /* GL_T2F_C4F_N3F_V3F */
- 1438, /* GL_T4F_C4F_N3F_V4F */
+ 1441, /* GL_T2F_V3F */
+ 1443, /* GL_T4F_V4F */
+ 1439, /* GL_T2F_C4UB_V3F */
+ 1437, /* GL_T2F_C3F_V3F */
+ 1440, /* GL_T2F_N3F_V3F */
+ 1438, /* GL_T2F_C4F_N3F_V3F */
+ 1442, /* GL_T4F_C4F_N3F_V4F */
130, /* GL_CLIP_PLANE0 */
131, /* GL_CLIP_PLANE1 */
132, /* GL_CLIP_PLANE2 */
@@ -4009,12 +4017,12 @@ static const unsigned reduced_enums[1284] =
882, /* GL_MINMAX */
884, /* GL_MINMAX_FORMAT */
886, /* GL_MINMAX_SINK */
- 1440, /* GL_TABLE_TOO_LARGE_EXT */
- 1652, /* GL_UNSIGNED_BYTE_3_3_2 */
- 1661, /* GL_UNSIGNED_SHORT_4_4_4_4 */
- 1663, /* GL_UNSIGNED_SHORT_5_5_5_1 */
- 1657, /* GL_UNSIGNED_INT_8_8_8_8 */
- 1654, /* GL_UNSIGNED_INT_10_10_10_2 */
+ 1444, /* GL_TABLE_TOO_LARGE_EXT */
+ 1656, /* GL_UNSIGNED_BYTE_3_3_2 */
+ 1665, /* GL_UNSIGNED_SHORT_4_4_4_4 */
+ 1667, /* GL_UNSIGNED_SHORT_5_5_5_1 */
+ 1661, /* GL_UNSIGNED_INT_8_8_8_8 */
+ 1658, /* GL_UNSIGNED_INT_10_10_10_2 */
1104, /* GL_POLYGON_OFFSET_FILL */
1103, /* GL_POLYGON_OFFSET_FACTOR */
1102, /* GL_POLYGON_OFFSET_BIAS */
@@ -4052,39 +4060,39 @@ static const unsigned reduced_enums[1284] =
1256, /* GL_RGB10_A2 */
1274, /* GL_RGBA12 */
1276, /* GL_RGBA16 */
- 1613, /* GL_TEXTURE_RED_SIZE */
- 1585, /* GL_TEXTURE_GREEN_SIZE */
- 1524, /* GL_TEXTURE_BLUE_SIZE */
- 1511, /* GL_TEXTURE_ALPHA_SIZE */
- 1598, /* GL_TEXTURE_LUMINANCE_SIZE */
- 1589, /* GL_TEXTURE_INTENSITY_SIZE */
+ 1617, /* GL_TEXTURE_RED_SIZE */
+ 1589, /* GL_TEXTURE_GREEN_SIZE */
+ 1528, /* GL_TEXTURE_BLUE_SIZE */
+ 1515, /* GL_TEXTURE_ALPHA_SIZE */
+ 1602, /* GL_TEXTURE_LUMINANCE_SIZE */
+ 1593, /* GL_TEXTURE_INTENSITY_SIZE */
1249, /* GL_REPLACE_EXT */
1197, /* GL_PROXY_TEXTURE_1D */
1200, /* GL_PROXY_TEXTURE_2D */
- 1617, /* GL_TEXTURE_TOO_LARGE_EXT */
- 1610, /* GL_TEXTURE_PRIORITY */
- 1615, /* GL_TEXTURE_RESIDENT */
- 1514, /* GL_TEXTURE_BINDING_1D */
- 1516, /* GL_TEXTURE_BINDING_2D */
- 1518, /* GL_TEXTURE_BINDING_3D */
+ 1621, /* GL_TEXTURE_TOO_LARGE_EXT */
+ 1614, /* GL_TEXTURE_PRIORITY */
+ 1619, /* GL_TEXTURE_RESIDENT */
+ 1518, /* GL_TEXTURE_BINDING_1D */
+ 1520, /* GL_TEXTURE_BINDING_2D */
+ 1522, /* GL_TEXTURE_BINDING_3D */
1028, /* GL_PACK_SKIP_IMAGES */
1024, /* GL_PACK_IMAGE_HEIGHT */
- 1646, /* GL_UNPACK_SKIP_IMAGES */
- 1643, /* GL_UNPACK_IMAGE_HEIGHT */
- 1510, /* GL_TEXTURE_3D */
+ 1650, /* GL_UNPACK_SKIP_IMAGES */
+ 1647, /* GL_UNPACK_IMAGE_HEIGHT */
+ 1514, /* GL_TEXTURE_3D */
1203, /* GL_PROXY_TEXTURE_3D */
- 1572, /* GL_TEXTURE_DEPTH */
- 1620, /* GL_TEXTURE_WRAP_R */
+ 1576, /* GL_TEXTURE_DEPTH */
+ 1624, /* GL_TEXTURE_WRAP_R */
794, /* GL_MAX_3D_TEXTURE_SIZE */
- 1676, /* GL_VERTEX_ARRAY */
+ 1680, /* GL_VERTEX_ARRAY */
959, /* GL_NORMAL_ARRAY */
139, /* GL_COLOR_ARRAY */
578, /* GL_INDEX_ARRAY */
- 1551, /* GL_TEXTURE_COORD_ARRAY */
+ 1555, /* GL_TEXTURE_COORD_ARRAY */
415, /* GL_EDGE_FLAG_ARRAY */
- 1681, /* GL_VERTEX_ARRAY_SIZE */
- 1683, /* GL_VERTEX_ARRAY_TYPE */
- 1682, /* GL_VERTEX_ARRAY_STRIDE */
+ 1685, /* GL_VERTEX_ARRAY_SIZE */
+ 1687, /* GL_VERTEX_ARRAY_TYPE */
+ 1686, /* GL_VERTEX_ARRAY_STRIDE */
964, /* GL_NORMAL_ARRAY_TYPE */
963, /* GL_NORMAL_ARRAY_STRIDE */
143, /* GL_COLOR_ARRAY_SIZE */
@@ -4092,15 +4100,15 @@ static const unsigned reduced_enums[1284] =
144, /* GL_COLOR_ARRAY_STRIDE */
583, /* GL_INDEX_ARRAY_TYPE */
582, /* GL_INDEX_ARRAY_STRIDE */
- 1555, /* GL_TEXTURE_COORD_ARRAY_SIZE */
- 1557, /* GL_TEXTURE_COORD_ARRAY_TYPE */
- 1556, /* GL_TEXTURE_COORD_ARRAY_STRIDE */
+ 1559, /* GL_TEXTURE_COORD_ARRAY_SIZE */
+ 1561, /* GL_TEXTURE_COORD_ARRAY_TYPE */
+ 1560, /* GL_TEXTURE_COORD_ARRAY_STRIDE */
419, /* GL_EDGE_FLAG_ARRAY_STRIDE */
- 1680, /* GL_VERTEX_ARRAY_POINTER */
+ 1684, /* GL_VERTEX_ARRAY_POINTER */
962, /* GL_NORMAL_ARRAY_POINTER */
142, /* GL_COLOR_ARRAY_POINTER */
581, /* GL_INDEX_ARRAY_POINTER */
- 1554, /* GL_TEXTURE_COORD_ARRAY_POINTER */
+ 1558, /* GL_TEXTURE_COORD_ARRAY_POINTER */
418, /* GL_EDGE_FLAG_ARRAY_POINTER */
938, /* GL_MULTISAMPLE */
1306, /* GL_SAMPLE_ALPHA_TO_COVERAGE */
@@ -4121,9 +4129,9 @@ static const unsigned reduced_enums[1284] =
1123, /* GL_POST_COLOR_MATRIX_GREEN_BIAS */
1118, /* GL_POST_COLOR_MATRIX_BLUE_BIAS */
1114, /* GL_POST_COLOR_MATRIX_ALPHA_BIAS */
- 1534, /* GL_TEXTURE_COLOR_TABLE_SGI */
+ 1538, /* GL_TEXTURE_COLOR_TABLE_SGI */
1204, /* GL_PROXY_TEXTURE_COLOR_TABLE_SGI */
- 1536, /* GL_TEXTURE_COMPARE_FAIL_VALUE_ARB */
+ 1540, /* GL_TEXTURE_COMPARE_FAIL_VALUE_ARB */
80, /* GL_BLEND_DST_RGB */
88, /* GL_BLEND_SRC_RGB */
79, /* GL_BLEND_DST_ALPHA */
@@ -4148,7 +4156,7 @@ static const unsigned reduced_enums[1284] =
72, /* GL_BGRA */
816, /* GL_MAX_ELEMENTS_VERTICES */
815, /* GL_MAX_ELEMENTS_INDICES */
- 1588, /* GL_TEXTURE_INDEX_SIZE_EXT */
+ 1592, /* GL_TEXTURE_INDEX_SIZE_EXT */
136, /* GL_CLIP_VOLUME_CLIPPING_HINT_EXT */
1086, /* GL_POINT_SIZE_MIN */
1082, /* GL_POINT_SIZE_MAX */
@@ -4156,10 +4164,10 @@ static const unsigned reduced_enums[1284] =
1072, /* GL_POINT_DISTANCE_ATTENUATION */
118, /* GL_CLAMP_TO_BORDER */
121, /* GL_CLAMP_TO_EDGE */
- 1609, /* GL_TEXTURE_MIN_LOD */
- 1607, /* GL_TEXTURE_MAX_LOD */
- 1513, /* GL_TEXTURE_BASE_LEVEL */
- 1606, /* GL_TEXTURE_MAX_LEVEL */
+ 1613, /* GL_TEXTURE_MIN_LOD */
+ 1611, /* GL_TEXTURE_MAX_LOD */
+ 1517, /* GL_TEXTURE_BASE_LEVEL */
+ 1610, /* GL_TEXTURE_MAX_LEVEL */
572, /* GL_IGNORE_BORDER_HP */
246, /* GL_CONSTANT_BORDER_HP */
1250, /* GL_REPLICATE_BORDER_HP */
@@ -4167,51 +4175,51 @@ static const unsigned reduced_enums[1284] =
987, /* GL_OCCLUSION_TEST_HP */
988, /* GL_OCCLUSION_TEST_RESULT_HP */
641, /* GL_LINEAR_CLIPMAP_LINEAR_SGIX */
- 1528, /* GL_TEXTURE_CLIPMAP_CENTER_SGIX */
- 1530, /* GL_TEXTURE_CLIPMAP_FRAME_SGIX */
- 1532, /* GL_TEXTURE_CLIPMAP_OFFSET_SGIX */
- 1533, /* GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX */
- 1531, /* GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX */
- 1529, /* GL_TEXTURE_CLIPMAP_DEPTH_SGIX */
+ 1532, /* GL_TEXTURE_CLIPMAP_CENTER_SGIX */
+ 1534, /* GL_TEXTURE_CLIPMAP_FRAME_SGIX */
+ 1536, /* GL_TEXTURE_CLIPMAP_OFFSET_SGIX */
+ 1537, /* GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX */
+ 1535, /* GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX */
+ 1533, /* GL_TEXTURE_CLIPMAP_DEPTH_SGIX */
798, /* GL_MAX_CLIPMAP_DEPTH_SGIX */
799, /* GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX */
1149, /* GL_POST_TEXTURE_FILTER_BIAS_SGIX */
1151, /* GL_POST_TEXTURE_FILTER_SCALE_SGIX */
1148, /* GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX */
1150, /* GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX */
- 1596, /* GL_TEXTURE_LOD_BIAS_S_SGIX */
- 1597, /* GL_TEXTURE_LOD_BIAS_T_SGIX */
- 1595, /* GL_TEXTURE_LOD_BIAS_R_SGIX */
+ 1600, /* GL_TEXTURE_LOD_BIAS_S_SGIX */
+ 1601, /* GL_TEXTURE_LOD_BIAS_T_SGIX */
+ 1599, /* GL_TEXTURE_LOD_BIAS_R_SGIX */
518, /* GL_GENERATE_MIPMAP */
519, /* GL_GENERATE_MIPMAP_HINT */
481, /* GL_FOG_OFFSET_SGIX */
482, /* GL_FOG_OFFSET_VALUE_SGIX */
- 1542, /* GL_TEXTURE_COMPARE_SGIX */
- 1541, /* GL_TEXTURE_COMPARE_OPERATOR_SGIX */
- 1592, /* GL_TEXTURE_LEQUAL_R_SGIX */
- 1584, /* GL_TEXTURE_GEQUAL_R_SGIX */
+ 1546, /* GL_TEXTURE_COMPARE_SGIX */
+ 1545, /* GL_TEXTURE_COMPARE_OPERATOR_SGIX */
+ 1596, /* GL_TEXTURE_LEQUAL_R_SGIX */
+ 1588, /* GL_TEXTURE_GEQUAL_R_SGIX */
323, /* GL_DEPTH_COMPONENT16 */
326, /* GL_DEPTH_COMPONENT24 */
329, /* GL_DEPTH_COMPONENT32 */
274, /* GL_CULL_VERTEX_EXT */
276, /* GL_CULL_VERTEX_OBJECT_POSITION_EXT */
275, /* GL_CULL_VERTEX_EYE_POSITION_EXT */
- 1737, /* GL_WRAP_BORDER_SUN */
- 1535, /* GL_TEXTURE_COLOR_WRITEMASK_SGIS */
+ 1741, /* GL_WRAP_BORDER_SUN */
+ 1539, /* GL_TEXTURE_COLOR_WRITEMASK_SGIS */
634, /* GL_LIGHT_MODEL_COLOR_CONTROL */
1345, /* GL_SINGLE_COLOR */
1333, /* GL_SEPARATE_SPECULAR_COLOR */
1342, /* GL_SHARED_TEXTURE_PALETTE_EXT */
- 1651, /* GL_UNSIGNED_BYTE_2_3_3_REV */
- 1664, /* GL_UNSIGNED_SHORT_5_6_5 */
- 1665, /* GL_UNSIGNED_SHORT_5_6_5_REV */
- 1662, /* GL_UNSIGNED_SHORT_4_4_4_4_REV */
- 1660, /* GL_UNSIGNED_SHORT_1_5_5_5_REV */
- 1658, /* GL_UNSIGNED_INT_8_8_8_8_REV */
- 1656, /* GL_UNSIGNED_INT_2_10_10_10_REV */
- 1604, /* GL_TEXTURE_MAX_CLAMP_S_SGIX */
- 1605, /* GL_TEXTURE_MAX_CLAMP_T_SGIX */
- 1603, /* GL_TEXTURE_MAX_CLAMP_R_SGIX */
+ 1655, /* GL_UNSIGNED_BYTE_2_3_3_REV */
+ 1668, /* GL_UNSIGNED_SHORT_5_6_5 */
+ 1669, /* GL_UNSIGNED_SHORT_5_6_5_REV */
+ 1666, /* GL_UNSIGNED_SHORT_4_4_4_4_REV */
+ 1664, /* GL_UNSIGNED_SHORT_1_5_5_5_REV */
+ 1662, /* GL_UNSIGNED_INT_8_8_8_8_REV */
+ 1660, /* GL_UNSIGNED_INT_2_10_10_10_REV */
+ 1608, /* GL_TEXTURE_MAX_CLAMP_S_SGIX */
+ 1609, /* GL_TEXTURE_MAX_CLAMP_T_SGIX */
+ 1607, /* GL_TEXTURE_MAX_CLAMP_R_SGIX */
889, /* GL_MIRRORED_REPEAT */
1289, /* GL_RGB_S3TC */
1266, /* GL_RGB4_S3TC */
@@ -4244,46 +4252,46 @@ static const unsigned reduced_enums[1284] =
528, /* GL_GL_CURRENT_RASTER_SECONDARY_COLOR */
28, /* GL_ALIASED_POINT_SIZE_RANGE */
27, /* GL_ALIASED_LINE_WIDTH_RANGE */
- 1442, /* GL_TEXTURE0 */
- 1444, /* GL_TEXTURE1 */
- 1466, /* GL_TEXTURE2 */
- 1488, /* GL_TEXTURE3 */
- 1494, /* GL_TEXTURE4 */
- 1496, /* GL_TEXTURE5 */
- 1498, /* GL_TEXTURE6 */
- 1500, /* GL_TEXTURE7 */
- 1502, /* GL_TEXTURE8 */
- 1504, /* GL_TEXTURE9 */
- 1445, /* GL_TEXTURE10 */
- 1447, /* GL_TEXTURE11 */
- 1449, /* GL_TEXTURE12 */
- 1451, /* GL_TEXTURE13 */
- 1453, /* GL_TEXTURE14 */
- 1455, /* GL_TEXTURE15 */
- 1457, /* GL_TEXTURE16 */
- 1459, /* GL_TEXTURE17 */
- 1461, /* GL_TEXTURE18 */
- 1463, /* GL_TEXTURE19 */
- 1467, /* GL_TEXTURE20 */
- 1469, /* GL_TEXTURE21 */
- 1471, /* GL_TEXTURE22 */
- 1473, /* GL_TEXTURE23 */
- 1475, /* GL_TEXTURE24 */
- 1477, /* GL_TEXTURE25 */
- 1479, /* GL_TEXTURE26 */
- 1481, /* GL_TEXTURE27 */
- 1483, /* GL_TEXTURE28 */
- 1485, /* GL_TEXTURE29 */
- 1489, /* GL_TEXTURE30 */
- 1491, /* GL_TEXTURE31 */
+ 1446, /* GL_TEXTURE0 */
+ 1448, /* GL_TEXTURE1 */
+ 1470, /* GL_TEXTURE2 */
+ 1492, /* GL_TEXTURE3 */
+ 1498, /* GL_TEXTURE4 */
+ 1500, /* GL_TEXTURE5 */
+ 1502, /* GL_TEXTURE6 */
+ 1504, /* GL_TEXTURE7 */
+ 1506, /* GL_TEXTURE8 */
+ 1508, /* GL_TEXTURE9 */
+ 1449, /* GL_TEXTURE10 */
+ 1451, /* GL_TEXTURE11 */
+ 1453, /* GL_TEXTURE12 */
+ 1455, /* GL_TEXTURE13 */
+ 1457, /* GL_TEXTURE14 */
+ 1459, /* GL_TEXTURE15 */
+ 1461, /* GL_TEXTURE16 */
+ 1463, /* GL_TEXTURE17 */
+ 1465, /* GL_TEXTURE18 */
+ 1467, /* GL_TEXTURE19 */
+ 1471, /* GL_TEXTURE20 */
+ 1473, /* GL_TEXTURE21 */
+ 1475, /* GL_TEXTURE22 */
+ 1477, /* GL_TEXTURE23 */
+ 1479, /* GL_TEXTURE24 */
+ 1481, /* GL_TEXTURE25 */
+ 1483, /* GL_TEXTURE26 */
+ 1485, /* GL_TEXTURE27 */
+ 1487, /* GL_TEXTURE28 */
+ 1489, /* GL_TEXTURE29 */
+ 1493, /* GL_TEXTURE30 */
+ 1495, /* GL_TEXTURE31 */
18, /* GL_ACTIVE_TEXTURE */
124, /* GL_CLIENT_ACTIVE_TEXTURE */
867, /* GL_MAX_TEXTURE_UNITS */
- 1630, /* GL_TRANSPOSE_MODELVIEW_MATRIX */
- 1633, /* GL_TRANSPOSE_PROJECTION_MATRIX */
- 1635, /* GL_TRANSPOSE_TEXTURE_MATRIX */
- 1627, /* GL_TRANSPOSE_COLOR_MATRIX */
- 1430, /* GL_SUBTRACT */
+ 1634, /* GL_TRANSPOSE_MODELVIEW_MATRIX */
+ 1637, /* GL_TRANSPOSE_PROJECTION_MATRIX */
+ 1639, /* GL_TRANSPOSE_TEXTURE_MATRIX */
+ 1631, /* GL_TRANSPOSE_COLOR_MATRIX */
+ 1434, /* GL_SUBTRACT */
856, /* GL_MAX_RENDERBUFFER_SIZE_EXT */
222, /* GL_COMPRESSED_ALPHA */
226, /* GL_COMPRESSED_LUMINANCE */
@@ -4291,18 +4299,18 @@ static const unsigned reduced_enums[1284] =
224, /* GL_COMPRESSED_INTENSITY */
230, /* GL_COMPRESSED_RGB */
231, /* GL_COMPRESSED_RGBA */
- 1549, /* GL_TEXTURE_COMPRESSION_HINT */
- 1611, /* GL_TEXTURE_RECTANGLE_ARB */
- 1521, /* GL_TEXTURE_BINDING_RECTANGLE_ARB */
+ 1553, /* GL_TEXTURE_COMPRESSION_HINT */
+ 1615, /* GL_TEXTURE_RECTANGLE_ARB */
+ 1525, /* GL_TEXTURE_BINDING_RECTANGLE_ARB */
1207, /* GL_PROXY_TEXTURE_RECTANGLE_ARB */
854, /* GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB */
335, /* GL_DEPTH_STENCIL_NV */
- 1655, /* GL_UNSIGNED_INT_24_8_NV */
+ 1659, /* GL_UNSIGNED_INT_24_8_NV */
863, /* GL_MAX_TEXTURE_LOD_BIAS */
- 1602, /* GL_TEXTURE_MAX_ANISOTROPY_EXT */
+ 1606, /* GL_TEXTURE_MAX_ANISOTROPY_EXT */
864, /* GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT */
- 1578, /* GL_TEXTURE_FILTER_CONTROL */
- 1593, /* GL_TEXTURE_LOD_BIAS */
+ 1582, /* GL_TEXTURE_FILTER_CONTROL */
+ 1597, /* GL_TEXTURE_LOD_BIAS */
207, /* GL_COMBINE4 */
857, /* GL_MAX_SHININESS_NV */
858, /* GL_MAX_SPOT_EXPONENT_NV */
@@ -4311,14 +4319,14 @@ static const unsigned reduced_enums[1284] =
909, /* GL_MODELVIEW1_ARB */
965, /* GL_NORMAL_MAP */
1236, /* GL_REFLECTION_MAP */
- 1558, /* GL_TEXTURE_CUBE_MAP */
- 1519, /* GL_TEXTURE_BINDING_CUBE_MAP */
- 1566, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X */
- 1560, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X */
- 1568, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y */
- 1562, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y */
- 1570, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z */
- 1564, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z */
+ 1562, /* GL_TEXTURE_CUBE_MAP */
+ 1523, /* GL_TEXTURE_BINDING_CUBE_MAP */
+ 1570, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X */
+ 1564, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X */
+ 1572, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y */
+ 1566, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y */
+ 1574, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z */
+ 1568, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z */
1205, /* GL_PROXY_TEXTURE_CUBE_MAP */
810, /* GL_MAX_CUBE_MAP_TEXTURE_SIZE */
944, /* GL_MULTISAMPLE_FILTER_HINT_NV */
@@ -4350,26 +4358,26 @@ static const unsigned reduced_enums[1284] =
1004, /* GL_OPERAND1_ALPHA */
1010, /* GL_OPERAND2_ALPHA */
1016, /* GL_OPERAND3_ALPHA_NV */
- 1677, /* GL_VERTEX_ARRAY_BINDING_APPLE */
- 1741, /* GL_YCBCR_422_APPLE */
- 1666, /* GL_UNSIGNED_SHORT_8_8_APPLE */
- 1668, /* GL_UNSIGNED_SHORT_8_8_REV_APPLE */
+ 1681, /* GL_VERTEX_ARRAY_BINDING_APPLE */
+ 1745, /* GL_YCBCR_422_APPLE */
+ 1670, /* GL_UNSIGNED_SHORT_8_8_APPLE */
+ 1672, /* GL_UNSIGNED_SHORT_8_8_REV_APPLE */
1347, /* GL_SLICE_ACCUM_SUN */
1212, /* GL_QUAD_MESH_SUN */
- 1639, /* GL_TRIANGLE_MESH_SUN */
- 1715, /* GL_VERTEX_PROGRAM_ARB */
- 1726, /* GL_VERTEX_STATE_PROGRAM_NV */
- 1702, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED */
- 1708, /* GL_VERTEX_ATTRIB_ARRAY_SIZE */
- 1710, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE */
- 1712, /* GL_VERTEX_ATTRIB_ARRAY_TYPE */
+ 1643, /* GL_TRIANGLE_MESH_SUN */
+ 1719, /* GL_VERTEX_PROGRAM_ARB */
+ 1730, /* GL_VERTEX_STATE_PROGRAM_NV */
+ 1706, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED */
+ 1712, /* GL_VERTEX_ATTRIB_ARRAY_SIZE */
+ 1714, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE */
+ 1716, /* GL_VERTEX_ATTRIB_ARRAY_TYPE */
301, /* GL_CURRENT_VERTEX_ATTRIB */
1168, /* GL_PROGRAM_LENGTH_ARB */
1182, /* GL_PROGRAM_STRING_ARB */
931, /* GL_MODELVIEW_PROJECTION_NV */
571, /* GL_IDENTITY_NV */
616, /* GL_INVERSE_NV */
- 1632, /* GL_TRANSPOSE_NV */
+ 1636, /* GL_TRANSPOSE_NV */
617, /* GL_INVERSE_TRANSPOSE_NV */
840, /* GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB */
839, /* GL_MAX_PROGRAM_MATRICES_ARB */
@@ -4383,33 +4391,33 @@ static const unsigned reduced_enums[1284] =
783, /* GL_MATRIX7_NV */
286, /* GL_CURRENT_MATRIX_STACK_DEPTH_ARB */
283, /* GL_CURRENT_MATRIX_ARB */
- 1718, /* GL_VERTEX_PROGRAM_POINT_SIZE */
- 1721, /* GL_VERTEX_PROGRAM_TWO_SIDE */
+ 1722, /* GL_VERTEX_PROGRAM_POINT_SIZE */
+ 1725, /* GL_VERTEX_PROGRAM_TWO_SIDE */
1180, /* GL_PROGRAM_PARAMETER_NV */
- 1706, /* GL_VERTEX_ATTRIB_ARRAY_POINTER */
+ 1710, /* GL_VERTEX_ATTRIB_ARRAY_POINTER */
1184, /* GL_PROGRAM_TARGET_NV */
1181, /* GL_PROGRAM_RESIDENT_NV */
- 1624, /* GL_TRACK_MATRIX_NV */
- 1625, /* GL_TRACK_MATRIX_TRANSFORM_NV */
- 1716, /* GL_VERTEX_PROGRAM_BINDING_NV */
+ 1628, /* GL_TRACK_MATRIX_NV */
+ 1629, /* GL_TRACK_MATRIX_TRANSFORM_NV */
+ 1720, /* GL_VERTEX_PROGRAM_BINDING_NV */
1162, /* GL_PROGRAM_ERROR_POSITION_ARB */
320, /* GL_DEPTH_CLAMP_NV */
- 1684, /* GL_VERTEX_ATTRIB_ARRAY0_NV */
- 1691, /* GL_VERTEX_ATTRIB_ARRAY1_NV */
- 1692, /* GL_VERTEX_ATTRIB_ARRAY2_NV */
- 1693, /* GL_VERTEX_ATTRIB_ARRAY3_NV */
- 1694, /* GL_VERTEX_ATTRIB_ARRAY4_NV */
- 1695, /* GL_VERTEX_ATTRIB_ARRAY5_NV */
- 1696, /* GL_VERTEX_ATTRIB_ARRAY6_NV */
- 1697, /* GL_VERTEX_ATTRIB_ARRAY7_NV */
- 1698, /* GL_VERTEX_ATTRIB_ARRAY8_NV */
- 1699, /* GL_VERTEX_ATTRIB_ARRAY9_NV */
- 1685, /* GL_VERTEX_ATTRIB_ARRAY10_NV */
- 1686, /* GL_VERTEX_ATTRIB_ARRAY11_NV */
- 1687, /* GL_VERTEX_ATTRIB_ARRAY12_NV */
- 1688, /* GL_VERTEX_ATTRIB_ARRAY13_NV */
- 1689, /* GL_VERTEX_ATTRIB_ARRAY14_NV */
- 1690, /* GL_VERTEX_ATTRIB_ARRAY15_NV */
+ 1688, /* GL_VERTEX_ATTRIB_ARRAY0_NV */
+ 1695, /* GL_VERTEX_ATTRIB_ARRAY1_NV */
+ 1696, /* GL_VERTEX_ATTRIB_ARRAY2_NV */
+ 1697, /* GL_VERTEX_ATTRIB_ARRAY3_NV */
+ 1698, /* GL_VERTEX_ATTRIB_ARRAY4_NV */
+ 1699, /* GL_VERTEX_ATTRIB_ARRAY5_NV */
+ 1700, /* GL_VERTEX_ATTRIB_ARRAY6_NV */
+ 1701, /* GL_VERTEX_ATTRIB_ARRAY7_NV */
+ 1702, /* GL_VERTEX_ATTRIB_ARRAY8_NV */
+ 1703, /* GL_VERTEX_ATTRIB_ARRAY9_NV */
+ 1689, /* GL_VERTEX_ATTRIB_ARRAY10_NV */
+ 1690, /* GL_VERTEX_ATTRIB_ARRAY11_NV */
+ 1691, /* GL_VERTEX_ATTRIB_ARRAY12_NV */
+ 1692, /* GL_VERTEX_ATTRIB_ARRAY13_NV */
+ 1693, /* GL_VERTEX_ATTRIB_ARRAY14_NV */
+ 1694, /* GL_VERTEX_ATTRIB_ARRAY15_NV */
701, /* GL_MAP1_VERTEX_ATTRIB0_4_NV */
708, /* GL_MAP1_VERTEX_ATTRIB1_4_NV */
709, /* GL_MAP1_VERTEX_ATTRIB2_4_NV */
@@ -4442,20 +4450,20 @@ static const unsigned reduced_enums[1284] =
732, /* GL_MAP2_VERTEX_ATTRIB13_4_NV */
733, /* GL_MAP2_VERTEX_ATTRIB14_4_NV */
734, /* GL_MAP2_VERTEX_ATTRIB15_4_NV */
- 1547, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE */
- 1544, /* GL_TEXTURE_COMPRESSED */
+ 1551, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE */
+ 1548, /* GL_TEXTURE_COMPRESSED */
970, /* GL_NUM_COMPRESSED_TEXTURE_FORMATS */
240, /* GL_COMPRESSED_TEXTURE_FORMATS */
879, /* GL_MAX_VERTEX_UNITS_ARB */
22, /* GL_ACTIVE_VERTEX_UNITS_ARB */
- 1736, /* GL_WEIGHT_SUM_UNITY_ARB */
- 1714, /* GL_VERTEX_BLEND_ARB */
+ 1740, /* GL_WEIGHT_SUM_UNITY_ARB */
+ 1718, /* GL_VERTEX_BLEND_ARB */
303, /* GL_CURRENT_WEIGHT_ARB */
- 1735, /* GL_WEIGHT_ARRAY_TYPE_ARB */
- 1734, /* GL_WEIGHT_ARRAY_STRIDE_ARB */
- 1733, /* GL_WEIGHT_ARRAY_SIZE_ARB */
- 1732, /* GL_WEIGHT_ARRAY_POINTER_ARB */
- 1729, /* GL_WEIGHT_ARRAY_ARB */
+ 1739, /* GL_WEIGHT_ARRAY_TYPE_ARB */
+ 1738, /* GL_WEIGHT_ARRAY_STRIDE_ARB */
+ 1737, /* GL_WEIGHT_ARRAY_SIZE_ARB */
+ 1736, /* GL_WEIGHT_ARRAY_POINTER_ARB */
+ 1733, /* GL_WEIGHT_ARRAY_ARB */
346, /* GL_DOT3_RGB */
347, /* GL_DOT3_RGBA */
238, /* GL_COMPRESSED_RGB_FXT1_3DFX */
@@ -4500,17 +4508,17 @@ static const unsigned reduced_enums[1284] =
934, /* GL_MODULATE_ADD_ATI */
935, /* GL_MODULATE_SIGNED_ADD_ATI */
936, /* GL_MODULATE_SUBTRACT_ATI */
- 1742, /* GL_YCBCR_MESA */
+ 1746, /* GL_YCBCR_MESA */
1025, /* GL_PACK_INVERT_MESA */
306, /* GL_DEBUG_OBJECT_MESA */
307, /* GL_DEBUG_PRINT_MESA */
305, /* GL_DEBUG_ASSERT_MESA */
107, /* GL_BUFFER_SIZE */
109, /* GL_BUFFER_USAGE */
- 1398, /* GL_STENCIL_BACK_FUNC */
+ 1399, /* GL_STENCIL_BACK_FUNC */
1397, /* GL_STENCIL_BACK_FAIL */
- 1399, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL */
- 1400, /* GL_STENCIL_BACK_PASS_DEPTH_PASS */
+ 1401, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL */
+ 1403, /* GL_STENCIL_BACK_PASS_DEPTH_PASS */
485, /* GL_FRAGMENT_PROGRAM_ARB */
1159, /* GL_PROGRAM_ALU_INSTRUCTIONS_ARB */
1187, /* GL_PROGRAM_TEX_INSTRUCTIONS_ARB */
@@ -4552,10 +4560,10 @@ static const unsigned reduced_enums[1284] =
790, /* GL_MATRIX_INDEX_ARRAY_TYPE_ARB */
789, /* GL_MATRIX_INDEX_ARRAY_STRIDE_ARB */
787, /* GL_MATRIX_INDEX_ARRAY_POINTER_ARB */
- 1573, /* GL_TEXTURE_DEPTH_SIZE */
+ 1577, /* GL_TEXTURE_DEPTH_SIZE */
339, /* GL_DEPTH_TEXTURE_MODE */
- 1539, /* GL_TEXTURE_COMPARE_MODE */
- 1537, /* GL_TEXTURE_COMPARE_FUNC */
+ 1543, /* GL_TEXTURE_COMPARE_MODE */
+ 1541, /* GL_TEXTURE_COMPARE_FUNC */
217, /* GL_COMPARE_R_TO_TEXTURE */
1093, /* GL_POINT_SPRITE */
266, /* GL_COORD_REPLACE */
@@ -4565,7 +4573,7 @@ static const unsigned reduced_enums[1284] =
1216, /* GL_QUERY_RESULT */
1218, /* GL_QUERY_RESULT_AVAILABLE */
873, /* GL_MAX_VERTEX_ATTRIBS */
- 1704, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED */
+ 1708, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED */
337, /* GL_DEPTH_STENCIL_TO_RGBA_NV */
336, /* GL_DEPTH_STENCIL_TO_BGRA_NV */
859, /* GL_MAX_TEXTURE_COORDS */
@@ -4573,23 +4581,23 @@ static const unsigned reduced_enums[1284] =
1164, /* GL_PROGRAM_ERROR_STRING_ARB */
1166, /* GL_PROGRAM_FORMAT_ASCII_ARB */
1165, /* GL_PROGRAM_FORMAT_ARB */
- 1618, /* GL_TEXTURE_UNSIGNED_REMAP_MODE_NV */
+ 1622, /* GL_TEXTURE_UNSIGNED_REMAP_MODE_NV */
318, /* GL_DEPTH_BOUNDS_TEST_EXT */
317, /* GL_DEPTH_BOUNDS_EXT */
52, /* GL_ARRAY_BUFFER */
420, /* GL_ELEMENT_ARRAY_BUFFER */
54, /* GL_ARRAY_BUFFER_BINDING */
422, /* GL_ELEMENT_ARRAY_BUFFER_BINDING */
- 1678, /* GL_VERTEX_ARRAY_BUFFER_BINDING */
+ 1682, /* GL_VERTEX_ARRAY_BUFFER_BINDING */
960, /* GL_NORMAL_ARRAY_BUFFER_BINDING */
140, /* GL_COLOR_ARRAY_BUFFER_BINDING */
579, /* GL_INDEX_ARRAY_BUFFER_BINDING */
- 1552, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING */
+ 1556, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING */
416, /* GL_EDGE_FLAG_ARRAY_BUFFER_BINDING */
1323, /* GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING */
463, /* GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING */
- 1730, /* GL_WEIGHT_ARRAY_BUFFER_BINDING */
- 1700, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING */
+ 1734, /* GL_WEIGHT_ARRAY_BUFFER_BINDING */
+ 1704, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING */
1167, /* GL_PROGRAM_INSTRUCTIONS_ARB */
835, /* GL_MAX_PROGRAM_INSTRUCTIONS_ARB */
1173, /* GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB */
@@ -4613,14 +4621,14 @@ static const unsigned reduced_enums[1284] =
836, /* GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB */
832, /* GL_MAX_PROGRAM_ENV_PARAMETERS_ARB */
1188, /* GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB */
- 1629, /* GL_TRANSPOSE_CURRENT_MATRIX_ARB */
+ 1633, /* GL_TRANSPOSE_CURRENT_MATRIX_ARB */
1226, /* GL_READ_ONLY */
- 1738, /* GL_WRITE_ONLY */
+ 1742, /* GL_WRITE_ONLY */
1228, /* GL_READ_WRITE */
101, /* GL_BUFFER_ACCESS */
103, /* GL_BUFFER_MAPPED */
105, /* GL_BUFFER_MAP_POINTER */
- 1623, /* GL_TIME_ELAPSED_EXT */
+ 1627, /* GL_TIME_ELAPSED_EXT */
746, /* GL_MATRIX0_ARB */
758, /* GL_MATRIX1_ARB */
770, /* GL_MATRIX2_ARB */
@@ -4653,9 +4661,9 @@ static const unsigned reduced_enums[1284] =
769, /* GL_MATRIX29_ARB */
772, /* GL_MATRIX30_ARB */
773, /* GL_MATRIX31_ARB */
- 1425, /* GL_STREAM_DRAW */
- 1427, /* GL_STREAM_READ */
- 1423, /* GL_STREAM_COPY */
+ 1429, /* GL_STREAM_DRAW */
+ 1431, /* GL_STREAM_READ */
+ 1427, /* GL_STREAM_COPY */
1391, /* GL_STATIC_DRAW */
1393, /* GL_STATIC_READ */
1389, /* GL_STATIC_COPY */
@@ -4672,12 +4680,12 @@ static const unsigned reduced_enums[1284] =
838, /* GL_MAX_PROGRAM_LOOP_DEPTH_NV */
837, /* GL_MAX_PROGRAM_LOOP_COUNT_NV */
795, /* GL_MAX_ARRAY_TEXTURE_LAYERS_EXT */
- 1419, /* GL_STENCIL_TEST_TWO_SIDE_EXT */
+ 1423, /* GL_STENCIL_TEST_TWO_SIDE_EXT */
17, /* GL_ACTIVE_STENCIL_FACE_EXT */
894, /* GL_MIRROR_CLAMP_TO_BORDER_EXT */
1304, /* GL_SAMPLES_PASSED */
486, /* GL_FRAGMENT_SHADER */
- 1724, /* GL_VERTEX_SHADER */
+ 1728, /* GL_VERTEX_SHADER */
1178, /* GL_PROGRAM_OBJECT_ARB */
1336, /* GL_SHADER_OBJECT_ARB */
819, /* GL_MAX_FRAGMENT_UNIFORM_COMPONENTS */
@@ -4715,7 +4723,7 @@ static const unsigned reduced_enums[1284] =
312, /* GL_DELETE_STATUS */
221, /* GL_COMPILE_STATUS */
659, /* GL_LINK_STATUS */
- 1673, /* GL_VALIDATE_STATUS */
+ 1677, /* GL_VALIDATE_STATUS */
591, /* GL_INFO_LOG_LENGTH */
56, /* GL_ATTACHED_SHADERS */
20, /* GL_ACTIVE_UNIFORMS */
@@ -4738,12 +4746,12 @@ static const unsigned reduced_enums[1284] =
1038, /* GL_PALETTE8_RGB5_A1_OES */
574, /* GL_IMPLEMENTATION_COLOR_READ_TYPE_OES */
573, /* GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES */
- 1507, /* GL_TEXTURE_1D_ARRAY_EXT */
+ 1511, /* GL_TEXTURE_1D_ARRAY_EXT */
1198, /* GL_PROXY_TEXTURE_1D_ARRAY_EXT */
- 1509, /* GL_TEXTURE_2D_ARRAY_EXT */
+ 1513, /* GL_TEXTURE_2D_ARRAY_EXT */
1201, /* GL_PROXY_TEXTURE_2D_ARRAY_EXT */
- 1515, /* GL_TEXTURE_BINDING_1D_ARRAY_EXT */
- 1517, /* GL_TEXTURE_BINDING_2D_ARRAY_EXT */
+ 1519, /* GL_TEXTURE_BINDING_1D_ARRAY_EXT */
+ 1521, /* GL_TEXTURE_BINDING_2D_ARRAY_EXT */
543, /* GL_GL_SRGB */
544, /* GL_GL_SRGB8 */
546, /* GL_GL_SRGB_ALPHA */
@@ -4758,10 +4766,10 @@ static const unsigned reduced_enums[1284] =
525, /* GL_GL_COMPRESSED_SLUMINANCE_ALPHA */
1095, /* GL_POINT_SPRITE_COORD_ORIGIN */
667, /* GL_LOWER_LEFT */
- 1670, /* GL_UPPER_LEFT */
- 1401, /* GL_STENCIL_BACK_REF */
- 1402, /* GL_STENCIL_BACK_VALUE_MASK */
- 1403, /* GL_STENCIL_BACK_WRITEMASK */
+ 1674, /* GL_UPPER_LEFT */
+ 1405, /* GL_STENCIL_BACK_REF */
+ 1406, /* GL_STENCIL_BACK_VALUE_MASK */
+ 1407, /* GL_STENCIL_BACK_WRITEMASK */
403, /* GL_DRAW_FRAMEBUFFER_BINDING_EXT */
1240, /* GL_RENDERBUFFER_BINDING_EXT */
1225, /* GL_READ_FRAMEBUFFER_EXT */
@@ -4806,15 +4814,15 @@ static const unsigned reduced_enums[1284] =
1244, /* GL_RENDERBUFFER_WIDTH_EXT */
1242, /* GL_RENDERBUFFER_HEIGHT_EXT */
1243, /* GL_RENDERBUFFER_INTERNAL_FORMAT_EXT */
- 1414, /* GL_STENCIL_INDEX_EXT */
- 1411, /* GL_STENCIL_INDEX1_EXT */
- 1412, /* GL_STENCIL_INDEX4_EXT */
- 1413, /* GL_STENCIL_INDEX8_EXT */
- 1410, /* GL_STENCIL_INDEX16_EXT */
+ 1418, /* GL_STENCIL_INDEX_EXT */
+ 1415, /* GL_STENCIL_INDEX1_EXT */
+ 1416, /* GL_STENCIL_INDEX4_EXT */
+ 1417, /* GL_STENCIL_INDEX8_EXT */
+ 1414, /* GL_STENCIL_INDEX16_EXT */
428, /* GL_EVAL_BIT */
1222, /* GL_RASTER_POSITION_UNCLIPPED_IBM */
661, /* GL_LIST_BIT */
- 1523, /* GL_TEXTURE_BIT */
+ 1527, /* GL_TEXTURE_BIT */
1319, /* GL_SCISSOR_BIT */
29, /* GL_ALL_ATTRIB_BITS */
941, /* GL_MULTISAMPLE_BIT */
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index 4010020265..85c8cf1f54 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -817,6 +817,10 @@ _mesa_init_exec_table(struct _glapi_table *exec)
#if FEATURE_EXT_framebuffer_object
SET_FramebufferTextureLayerEXT(exec, _mesa_FramebufferTextureLayerEXT);
#endif
+
+ /* GL_ATI_separate_stencil */
+ SET_StencilFuncSeparateATI(exec, _mesa_StencilFuncSeparateATI);
+ SET_StencilOpSeparateATI(exec, _mesa_StencilOpSeparateATI);
}
diff --git a/src/mesa/main/stencil.c b/src/mesa/main/stencil.c
index ca7f6eaf88..17464310b1 100644
--- a/src/mesa/main/stencil.c
+++ b/src/mesa/main/stencil.c
@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
- * Version: 6.5.2
+ * Version: 7.1
*
- * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2007 Brian Paul 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"),
@@ -53,6 +53,48 @@
#include "mtypes.h"
+static GLboolean
+validate_stencil_op(GLcontext *ctx, GLenum op)
+{
+ switch (op) {
+ case GL_KEEP:
+ case GL_ZERO:
+ case GL_REPLACE:
+ case GL_INCR:
+ case GL_DECR:
+ case GL_INVERT:
+ return GL_TRUE;
+ case GL_INCR_WRAP_EXT:
+ case GL_DECR_WRAP_EXT:
+ if (ctx->Extensions.EXT_stencil_wrap) {
+ return GL_TRUE;
+ }
+ /* FALL-THROUGH */
+ default:
+ return GL_FALSE;
+ }
+}
+
+
+static GLboolean
+validate_stencil_func(GLcontext *ctx, GLenum func)
+{
+ switch (func) {
+ case GL_NEVER:
+ case GL_LESS:
+ case GL_LEQUAL:
+ case GL_GREATER:
+ case GL_GEQUAL:
+ case GL_EQUAL:
+ case GL_NOTEQUAL:
+ case GL_ALWAYS:
+ return GL_TRUE;
+ default:
+ return GL_FALSE;
+ }
+}
+
+
/**
* Set the clear value for the stencil buffer.
*
@@ -103,34 +145,15 @@ _mesa_StencilFuncSeparateATI( GLenum frontfunc, GLenum backfunc, GLint ref, GLui
const GLint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1;
ASSERT_OUTSIDE_BEGIN_END(ctx);
- switch (frontfunc) {
- case GL_NEVER:
- case GL_LESS:
- case GL_LEQUAL:
- case GL_GREATER:
- case GL_GEQUAL:
- case GL_EQUAL:
- case GL_NOTEQUAL:
- case GL_ALWAYS:
- break;
- default:
- _mesa_error( ctx, GL_INVALID_ENUM, "glStencilFuncSeparateATI (0x%04x)", frontfunc );
- return;
+ if (!validate_stencil_func(ctx, frontfunc)) {
+ _mesa_error(ctx, GL_INVALID_ENUM,
+ "glStencilFuncSeparateATI(frontfunc)");
+ return;
}
-
- switch (backfunc) {
- case GL_NEVER:
- case GL_LESS:
- case GL_LEQUAL:
- case GL_GREATER:
- case GL_GEQUAL:
- case GL_EQUAL:
- case GL_NOTEQUAL:
- case GL_ALWAYS:
- break;
- default:
- _mesa_error( ctx, GL_INVALID_ENUM, "glStencilFuncSeparateATI (0x%04x)", backfunc );
- return;
+ if (!validate_stencil_func(ctx, backfunc)) {
+ _mesa_error(ctx, GL_INVALID_ENUM,
+ "glStencilFuncSeparateATI(backfunc)");
+ return;
}
ref = CLAMP( ref, 0, stencilMax );
@@ -157,6 +180,61 @@ _mesa_StencilFuncSeparateATI( GLenum frontfunc, GLenum backfunc, GLint ref, GLui
}
+void APIENTRY
+_mesa_StencilOpSeparateATI(GLenum face, GLenum sfail, GLenum zfail, GLenum zpass)
+{
+ GLboolean set = GL_FALSE;
+ GET_CURRENT_CONTEXT(ctx);
+ ASSERT_OUTSIDE_BEGIN_END(ctx);
+
+ if (!validate_stencil_op(ctx, sfail)) {
+ _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOpSeparateATI(sfail)");
+ return;
+ }
+ if (!validate_stencil_op(ctx, zfail)) {
+ _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOpSeparateATI(zfail)");
+ return;
+ }
+ if (!validate_stencil_op(ctx, zpass)) {
+ _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOpSeparateATI(zpass)");
+ return;
+ }
+ if (face != GL_FRONT && face != GL_BACK && face != GL_FRONT_AND_BACK) {
+ _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOpSeparateATI(face)");
+ return;
+ }
+
+ if (face != GL_BACK) {
+ /* set front */
+ if (ctx->Stencil.ZFailFunc[0] != zfail ||
+ ctx->Stencil.ZPassFunc[0] != zpass ||
+ ctx->Stencil.FailFunc[0] != sfail){
+ FLUSH_VERTICES(ctx, _NEW_STENCIL);
+ ctx->Stencil.ZFailFunc[0] = zfail;
+ ctx->Stencil.ZPassFunc[0] = zpass;
+ ctx->Stencil.FailFunc[0] = sfail;
+ set = GL_TRUE;
+ }
+ }
+ if (face != GL_FRONT) {
+ /* set back */
+ if (ctx->Stencil.ZFailFunc[1] != zfail ||
+ ctx->Stencil.ZPassFunc[1] != zpass ||
+ ctx->Stencil.FailFunc[1] != sfail) {
+ FLUSH_VERTICES(ctx, _NEW_STENCIL);
+ ctx->Stencil.ZFailFunc[1] = zfail;
+ ctx->Stencil.ZPassFunc[1] = zpass;
+ ctx->Stencil.FailFunc[1] = sfail;
+ set = GL_TRUE;
+ }
+ }
+ if (set && ctx->Driver.StencilOpSeparate) {
+ ctx->Driver.StencilOpSeparate(ctx, face, sfail, zfail, zpass);
+ }
+}
+
+
+
/**
* Set the function and reference value for stencil testing.
*
@@ -177,19 +255,9 @@ _mesa_StencilFunc( GLenum func, GLint ref, GLuint mask )
const GLint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1;
ASSERT_OUTSIDE_BEGIN_END(ctx);
- switch (func) {
- case GL_NEVER:
- case GL_LESS:
- case GL_LEQUAL:
- case GL_GREATER:
- case GL_GEQUAL:
- case GL_EQUAL:
- case GL_NOTEQUAL:
- case GL_ALWAYS:
- break;
- default:
- _mesa_error( ctx, GL_INVALID_ENUM, "glStencilFunc (0x%04x)", func );
- return;
+ if (!validate_stencil_func(ctx, func)) {
+ _mesa_error(ctx, GL_INVALID_ENUM, "glStencilFunc(func)");
+ return;
}
ref = CLAMP( ref, 0, stencilMax );
@@ -293,59 +361,17 @@ _mesa_StencilOp(GLenum fail, GLenum zfail, GLenum zpass)
GET_CURRENT_CONTEXT(ctx);
ASSERT_OUTSIDE_BEGIN_END(ctx);
- switch (fail) {
- case GL_KEEP:
- case GL_ZERO:
- case GL_REPLACE:
- case GL_INCR:
- case GL_DECR:
- case GL_INVERT:
- break;
- case GL_INCR_WRAP_EXT:
- case GL_DECR_WRAP_EXT:
- if (ctx->Extensions.EXT_stencil_wrap) {
- break;
- }
- /* FALL-THROUGH */
- default:
- _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOp");
- return;
+ if (!validate_stencil_op(ctx, fail)) {
+ _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOp(sfail)");
+ return;
}
- switch (zfail) {
- case GL_KEEP:
- case GL_ZERO:
- case GL_REPLACE:
- case GL_INCR:
- case GL_DECR:
- case GL_INVERT:
- break;
- case GL_INCR_WRAP_EXT:
- case GL_DECR_WRAP_EXT:
- if (ctx->Extensions.EXT_stencil_wrap) {
- break;
- }
- /* FALL-THROUGH */
- default:
- _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOp");
- return;
+ if (!validate_stencil_op(ctx, zfail)) {
+ _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOp(zfail)");
+ return;
}
- switch (zpass) {
- case GL_KEEP:
- case GL_ZERO:
- case GL_REPLACE:
- case GL_INCR:
- case GL_DECR:
- case GL_INVERT:
- break;
- case GL_INCR_WRAP_EXT:
- case GL_DECR_WRAP_EXT:
- if (ctx->Extensions.EXT_stencil_wrap) {
- break;
- }
- /* FALL-THROUGH */
- default:
- _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOp");
- return;
+ if (!validate_stencil_op(ctx, zpass)) {
+ _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOp(zpass)");
+ return;
}
if (ctx->Extensions.ATI_separate_stencil) {
@@ -428,59 +454,17 @@ _mesa_StencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass)
return;
}
- switch (fail) {
- case GL_KEEP:
- case GL_ZERO:
- case GL_REPLACE:
- case GL_INCR:
- case GL_DECR:
- case GL_INVERT:
- break;
- case GL_INCR_WRAP_EXT:
- case GL_DECR_WRAP_EXT:
- if (ctx->Extensions.EXT_stencil_wrap) {
- break;
- }
- /* FALL-THROUGH */
- default:
- _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOpSeparate(fail)");
- return;
+ if (!validate_stencil_op(ctx, fail)) {
+ _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOpSeparate(sfail)");
+ return;
}
- switch (zfail) {
- case GL_KEEP:
- case GL_ZERO:
- case GL_REPLACE:
- case GL_INCR:
- case GL_DECR:
- case GL_INVERT:
- break;
- case GL_INCR_WRAP_EXT:
- case GL_DECR_WRAP_EXT:
- if (ctx->Extensions.EXT_stencil_wrap) {
- break;
- }
- /* FALL-THROUGH */
- default:
- _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOpSeparate(zfail)");
- return;
+ if (!validate_stencil_op(ctx, zfail)) {
+ _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOpSeparate(zfail)");
+ return;
}
- switch (zpass) {
- case GL_KEEP:
- case GL_ZERO:
- case GL_REPLACE:
- case GL_INCR:
- case GL_DECR:
- case GL_INVERT:
- break;
- case GL_INCR_WRAP_EXT:
- case GL_DECR_WRAP_EXT:
- if (ctx->Extensions.EXT_stencil_wrap) {
- break;
- }
- /* FALL-THROUGH */
- default:
- _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOpSeparate(zpass)");
- return;
+ if (!validate_stencil_op(ctx, zpass)) {
+ _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOpSeparate(zpass)");
+ return;
}
FLUSH_VERTICES(ctx, _NEW_STENCIL);
@@ -513,20 +497,9 @@ _mesa_StencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask)
_mesa_error(ctx, GL_INVALID_ENUM, "glStencilFuncSeparate(face)");
return;
}
-
- switch (func) {
- case GL_NEVER:
- case GL_LESS:
- case GL_LEQUAL:
- case GL_GREATER:
- case GL_GEQUAL:
- case GL_EQUAL:
- case GL_NOTEQUAL:
- case GL_ALWAYS:
- break;
- default:
- _mesa_error(ctx, GL_INVALID_ENUM, "glStencilFuncSeparate(func)");
- return;
+ if (!validate_stencil_func(ctx, func)) {
+ _mesa_error(ctx, GL_INVALID_ENUM, "glStencilFuncSeparate(func)");
+ return;
}
ref = CLAMP(ref, 0, stencilMax);
diff --git a/src/mesa/main/stencil.h b/src/mesa/main/stencil.h
index 0be9810005..15a65dbcac 100644
--- a/src/mesa/main/stencil.h
+++ b/src/mesa/main/stencil.h
@@ -5,9 +5,9 @@
/*
* Mesa 3-D graphics library
- * Version: 6.5
+ * Version: 7.1
*
- * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2007 Brian Paul 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"),
@@ -62,6 +62,10 @@ _mesa_StencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
extern void GLAPIENTRY
_mesa_StencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
+
+extern void APIENTRY
+_mesa_StencilOpSeparateATI(GLenum face, GLenum sfail, GLenum zfail, GLenum zpass);
+
extern void GLAPIENTRY
_mesa_StencilFuncSeparateATI(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);