diff options
-rw-r--r-- | C2J/gl-enum-auto.orig.h | 1311 | ||||
-rw-r--r-- | C2J/gl-proto-auto.orig.h | 589 | ||||
-rw-r--r-- | C2J/glu-enum-auto.orig.h | 108 | ||||
-rw-r--r-- | C2J/glu-proto-auto.orig.h | 106 | ||||
-rwxr-xr-x | C2J/makefile | 52 |
5 files changed, 2140 insertions, 26 deletions
diff --git a/C2J/gl-enum-auto.orig.h b/C2J/gl-enum-auto.orig.h new file mode 100644 index 0000000..c446d7a --- /dev/null +++ b/C2J/gl-enum-auto.orig.h @@ -0,0 +1,1311 @@ +typedef enum { + GL_1PASS_ARB = 0x80A1, + GL_1PASS_SGIS = 0x80A1, + GL_2D = 0x0600, + GL_2PASS_0_ARB = 0x80A2, + GL_2PASS_0_SGIS = 0x80A2, + GL_2PASS_1_ARB = 0x80A3, + GL_2PASS_1_SGIS = 0x80A3, + GL_2_BYTES = 0x1407, + GL_3D = 0x0601, + GL_3D_COLOR = 0x0602, + GL_3D_COLOR_TEXTURE = 0x0603, + GL_3_BYTES = 0x1408, + GL_422_AVERAGE_EXT = 0x80CE, + GL_422_EXT = 0x80CC, + GL_422_REV_AVERAGE_EXT = 0x80CF, + GL_422_REV_EXT = 0x80CD, + GL_4D_COLOR_TEXTURE = 0x0604, + GL_4PASS_0_ARB = 0x80A4, + GL_4PASS_0_SGIS = 0x80A4, + GL_4PASS_1_ARB = 0x80A5, + GL_4PASS_1_SGIS = 0x80A5, + GL_4PASS_2_ARB = 0x80A6, + GL_4PASS_2_SGIS = 0x80A6, + GL_4PASS_3_ARB = 0x80A7, + GL_4PASS_3_SGIS = 0x80A7, + GL_4_BYTES = 0x1409, + GL_ABGR_EXT = 0x8000, + GL_ACCUM = 0x0100, + GL_ACCUM_ALPHA_BITS = 0x0D5B, + GL_ACCUM_BLUE_BITS = 0x0D5A, + GL_ACCUM_BUFFER_BIT = 0x00000200, + GL_ACCUM_CLEAR_VALUE = 0x0B80, + GL_ACCUM_GREEN_BITS = 0x0D59, + GL_ACCUM_RED_BITS = 0x0D58, + GL_ACTIVE_TEXTURE_ARB = 0x84E0, + GL_ADD = 0x0104, + GL_ADD_SIGNED_EXT = 0x8574, + GL_ALIASED_LINE_WIDTH_RANGE = 0x846E, + GL_ALIASED_POINT_SIZE_RANGE = 0x846D, + GL_ALLOW_DRAW_FRG_HINT_PGI = 107024, + GL_ALLOW_DRAW_MEM_HINT_PGI = 107025, + GL_ALLOW_DRAW_OBJ_HINT_PGI = 107022, + GL_ALLOW_DRAW_WIN_HINT_PGI = 107023, + GL_ALL_ATTRIB_BITS = 0x000FFFFF, + GL_ALL_STATIC_DATA_IBM = 0x19294, + GL_ALPHA = 0x1906, + GL_ALPHA12 = 0x803D, + GL_ALPHA12_EXT = 0x803D, + GL_ALPHA16 = 0x803E, + GL_ALPHA16_EXT = 0x803E, + GL_ALPHA4 = 0x803B, + GL_ALPHA4_EXT = 0x803B, + GL_ALPHA8 = 0x803C, + GL_ALPHA8_EXT = 0x803C, + GL_ALPHA_BIAS = 0x0D1D, + GL_ALPHA_BITS = 0x0D55, + GL_ALPHA_MAX_CLAMP_INGR = 0x8567, + GL_ALPHA_MIN_CLAMP_INGR = 0x8563, + GL_ALPHA_SCALE = 0x0D1C, + GL_ALPHA_TEST = 0x0BC0, + GL_ALPHA_TEST_FUNC = 0x0BC1, + GL_ALPHA_TEST_REF = 0x0BC2, + GL_ALWAYS = 0x0207, + GL_ALWAYS_FAST_HINT_PGI = 107020, + GL_ALWAYS_SOFT_HINT_PGI = 107021, + GL_AMBIENT = 0x1200, + GL_AMBIENT_AND_DIFFUSE = 0x1602, + GL_AND = 0x1501, + GL_AND_INVERTED = 0x1504, + GL_AND_REVERSE = 0x1502, + GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9, + GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8, + GL_ATTENUATION_EXT = 0x834D, + GL_ATTRIB_STACK_DEPTH = 0x0BB0, + GL_AUTO_NORMAL = 0x0D80, + GL_AUX0 = 0x0409, + GL_AUX1 = 0x040A, + GL_AUX2 = 0x040B, + GL_AUX3 = 0x040C, + GL_AUX_BUFFERS = 0x0C00, + GL_AVERAGE_EXT = 0x8335, + GL_BACK = 0x0405, + GL_BACK_LEFT = 0x0402, + GL_BACK_NORMALS_HINT_PGI = 107043, + GL_BACK_RIGHT = 0x0403, + GL_BGR = 0x80E0, + GL_BGRA = 0x80E1, + GL_BGRA_EXT = 0x80E1, + GL_BGR_EXT = 0x80E0, + GL_BIAS_BY_NEGATIVE_ONE_HALF_NV = 0x8541, + GL_BINORMAL_ARRAY_EXT = 0x843A, + GL_BINORMAL_ARRAY_POINTER_EXT = 0x8443, + GL_BINORMAL_ARRAY_STRIDE_EXT = 0x8441, + GL_BINORMAL_ARRAY_TYPE_EXT = 0x8440, + GL_BITMAP = 0x1A00, + GL_BITMAP_TOKEN = 0x0704, + GL_BLEND = 0x0BE2, + GL_BLEND_COLOR_EXT = 0x8005, + GL_BLEND_DST = 0x0BE0, + GL_BLEND_DST_ALPHA_EXT = 0x80CA, + GL_BLEND_DST_ALPHA_INGR = 0x80CA, + GL_BLEND_DST_RGB_EXT = 0x80C8, + GL_BLEND_DST_RGB_INGR = 0x80C8, + GL_BLEND_EQUATION = 0x8009, + GL_BLEND_EQUATION_EXT = 0x8009, + GL_BLEND_SRC = 0x0BE1, + GL_BLEND_SRC_ALPHA_EXT = 0x80CB, + GL_BLEND_SRC_ALPHA_INGR = 0x80CB, + GL_BLEND_SRC_RGB_EXT = 0x80C9, + GL_BLEND_SRC_RGB_INGR = 0x80C9, + GL_BLUE = 0x1905, + GL_BLUE_BIAS = 0x0D1B, + GL_BLUE_BITS = 0x0D54, + GL_BLUE_MAX_CLAMP_INGR = 0x8566, + GL_BLUE_MIN_CLAMP_INGR = 0x8562, + GL_BLUE_SCALE = 0x0D1A, + GL_BYTE = 0x1400, + GL_C3F_V3F = 0x2A24, + GL_C4F_N3F_V3F = 0x2A26, + GL_C4UB_V2F = 0x2A22, + GL_C4UB_V3F = 0x2A23, + GL_CCW = 0x0901, + GL_CLAMP = 0x2900, + GL_CLAMP_TO_BORDER_SGIS = 0x812D, + GL_CLAMP_TO_EDGE = 0x812F, + GL_CLAMP_TO_EDGE_SGIS = 0x812F, + GL_CLEAR = 0x1500, + GL_CLIENT_ACTIVE_TEXTURE_ARB = 0x84E1, + GL_CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF, + GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1, + GL_CLIENT_PIXEL_STORE_BIT = 0x00000001, + GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002, + GL_CLIP_FAR_HINT_PGI = 107041, + GL_CLIP_NEAR_HINT_PGI = 107040, + 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_CLIP_VOLUME_CLIPPING_HINT_EXT = 0x80F, + GL_CMYKA_EXT = 0x800D, + GL_CMYK_EXT = 0x800C, + GL_COEFF = 0x0A00, + GL_COLOR = 0x1800, + GL_COLOR_ARRAY = 0x8076, + GL_COLOR_ARRAY_COUNT_EXT = 0x8084, + GL_COLOR_ARRAY_EXT = 0x8076, + GL_COLOR_ARRAY_POINTER = 0x8090, + GL_COLOR_ARRAY_POINTER_EXT = 0x8090, + GL_COLOR_ARRAY_SIZE = 0x8081, + GL_COLOR_ARRAY_SIZE_EXT = 0x8081, + GL_COLOR_ARRAY_STRIDE = 0x8083, + GL_COLOR_ARRAY_STRIDE_EXT = 0x8083, + GL_COLOR_ARRAY_TYPE = 0x8082, + GL_COLOR_ARRAY_TYPE_EXT = 0x8082, + GL_COLOR_BUFFER_BIT = 0x00004000, + GL_COLOR_CLEAR_VALUE = 0x0C22, + GL_COLOR_INDEX = 0x1900, + GL_COLOR_INDEX12_EXT = 0x80E6, + GL_COLOR_INDEX16_EXT = 0x80E7, + GL_COLOR_INDEX1_EXT = 0x80E2, + GL_COLOR_INDEX2_EXT = 0x80E3, + GL_COLOR_INDEX4_EXT = 0x80E4, + GL_COLOR_INDEX8_EXT = 0x80E5, + GL_COLOR_INDEXES = 0x1603, + GL_COLOR_LOGIC_OP = 0x0BF2, + GL_COLOR_MATERIAL = 0x0B57, + GL_COLOR_MATERIAL_FACE = 0x0B55, + GL_COLOR_MATERIAL_PARAMETER = 0x0B56, + GL_COLOR_MATRIX = 0x80B1, + GL_COLOR_MATRIX_SGI = 0x80B1, + GL_COLOR_MATRIX_STACK_DEPTH = 0x80B2, + GL_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B2, + GL_COLOR_SUM_CLAMP_NV = 0x854F, + GL_COLOR_SUM_EXT = 0x8458, + GL_COLOR_TABLE = 0x80D0, + GL_COLOR_TABLE_ALPHA_SIZE = 0x80DD, + GL_COLOR_TABLE_ALPHA_SIZE_EXT = 0x80DD, + GL_COLOR_TABLE_ALPHA_SIZE_SGI = 0x80DD, + GL_COLOR_TABLE_BIAS = 0x80D7, + GL_COLOR_TABLE_BIAS_SGI = 0x80D7, + GL_COLOR_TABLE_BLUE_SIZE = 0x80DC, + GL_COLOR_TABLE_BLUE_SIZE_EXT = 0x80DC, + GL_COLOR_TABLE_BLUE_SIZE_SGI = 0x80DC, + GL_COLOR_TABLE_FORMAT = 0x80D8, + GL_COLOR_TABLE_FORMAT_EXT = 0x80D8, + GL_COLOR_TABLE_FORMAT_SGI = 0x80D8, + GL_COLOR_TABLE_GREEN_SIZE = 0x80DB, + GL_COLOR_TABLE_GREEN_SIZE_EXT = 0x80DB, + GL_COLOR_TABLE_GREEN_SIZE_SGI = 0x80DB, + GL_COLOR_TABLE_INTENSITY_SIZE = 0x80DF, + GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80DF, + GL_COLOR_TABLE_INTENSITY_SIZE_SGI = 0x80DF, + GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80DE, + GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80DE, + GL_COLOR_TABLE_LUMINANCE_SIZE_SGI = 0x80DE, + GL_COLOR_TABLE_RED_SIZE = 0x80DA, + GL_COLOR_TABLE_RED_SIZE_EXT = 0x80DA, + GL_COLOR_TABLE_RED_SIZE_SGI = 0x80DA, + GL_COLOR_TABLE_SCALE = 0x80D6, + GL_COLOR_TABLE_SCALE_SGI = 0x80D6, + GL_COLOR_TABLE_SGI = 0x80D0, + GL_COLOR_TABLE_SGI_80BC = 0x80BC, + GL_COLOR_TABLE_WIDTH = 0x80D9, + GL_COLOR_TABLE_WIDTH_EXT = 0x80D9, + GL_COLOR_TABLE_WIDTH_SGI = 0x80D9, + GL_COLOR_WRITEMASK = 0x0C23, + GL_COMBINE4_NV = 0x8503, + GL_COMBINER0_NV = 0x8550, + GL_COMBINER1_NV = 0x8551, + GL_COMBINER2_NV = 0x8552, + GL_COMBINER3_NV = 0x8553, + GL_COMBINER4_NV = 0x8554, + GL_COMBINER5_NV = 0x8555, + GL_COMBINER6_NV = 0x8556, + GL_COMBINER7_NV = 0x8557, + GL_COMBINER_AB_DOT_PRODUCT_NV = 0x8545, + GL_COMBINER_AB_OUTPUT_NV = 0x854A, + GL_COMBINER_BIAS_NV = 0x8549, + GL_COMBINER_CD_DOT_PRODUCT_NV = 0x8546, + GL_COMBINER_CD_OUTPUT_NV = 0x854B, + GL_COMBINER_COMPONENT_USAGE_NV = 0x8544, + GL_COMBINER_INPUT_NV = 0x8542, + GL_COMBINER_MAPPING_NV = 0x8543, + GL_COMBINER_MUX_SUM_NV = 0x8547, + GL_COMBINER_SCALE_NV = 0x8548, + GL_COMBINER_SUM_OUTPUT_NV = 0x854C, + GL_COMBINE_ALPHA_EXT = 0x8572, + GL_COMBINE_EXT = 0x8570, + GL_COMBINE_RGB_EXT = 0x8571, + GL_COMPILE = 0x1300, + GL_COMPILE_AND_EXECUTE = 0x1301, + GL_COMPRESSED_ALPHA_ARB = 0x84E9, + GL_COMPRESSED_INTENSITY_ARB = 0x84EC, + GL_COMPRESSED_LUMINANCE_ALPHA_ARB = 0x84EB, + GL_COMPRESSED_LUMINANCE_ARB = 0x84EA, + GL_COMPRESSED_RGBA_ARB = 0x84EE, + GL_COMPRESSED_RGB_ARB = 0x84ED, + GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3, + GL_CONSERVE_MEMORY_HINT_PGI = 107005, + GL_CONSTANT_ALPHA = 0x8003, + GL_CONSTANT_ALPHA_EXT = 0x8003, + GL_CONSTANT_ATTENUATION = 0x1207, + GL_CONSTANT_BORDER = 0x8151, + GL_CONSTANT_COLOR = 0x8001, + GL_CONSTANT_COLOR0_NV = 0x852A, + GL_CONSTANT_COLOR1_NV = 0x852B, + GL_CONSTANT_COLOR_EXT = 0x8001, + GL_CONSTANT_EXT = 0x8576, + GL_CONVOLUTION_1D = 0x8010, + GL_CONVOLUTION_1D_EXT = 0x8010, + GL_CONVOLUTION_2D = 0x8011, + GL_CONVOLUTION_2D_EXT = 0x8011, + GL_CONVOLUTION_BORDER_COLOR = 0x8154, + GL_CONVOLUTION_BORDER_MODE = 0x8013, + GL_CONVOLUTION_BORDER_MODE_EXT = 0x8013, + GL_CONVOLUTION_FILTER_BIAS = 0x8015, + GL_CONVOLUTION_FILTER_BIAS_EXT = 0x8015, + GL_CONVOLUTION_FILTER_SCALE = 0x8014, + GL_CONVOLUTION_FILTER_SCALE_EXT = 0x8014, + GL_CONVOLUTION_FORMAT = 0x8017, + GL_CONVOLUTION_FORMAT_EXT = 0x8017, + GL_CONVOLUTION_HEIGHT = 0x8019, + GL_CONVOLUTION_HEIGHT_EXT = 0x8019, + GL_CONVOLUTION_WIDTH = 0x8018, + GL_CONVOLUTION_WIDTH_EXT = 0x8018, + GL_COPY = 0x1503, + GL_COPY_INVERTED = 0x150C, + GL_COPY_PIXEL_TOKEN = 0x0706, + GL_CUBIC_EXT = 0x8334, + GL_CULL_FACE = 0x0B44, + GL_CULL_FACE_MODE = 0x0B45, + GL_CULL_VERTEX_EXT = 0x81AA, + GL_CULL_VERTEX_EYE_POSITION_EXT = 0x81AB, + GL_CULL_VERTEX_IBM = 0x1928A, + GL_CULL_VERTEX_OBJECT_POSITION_EXT = 0x81AC, + GL_CURRENT_BINORMAL_EXT = 0x843C, + GL_CURRENT_BIT = 0x00000001, + GL_CURRENT_COLOR = 0x0B00, + GL_CURRENT_FOG_COORDINATE_EXT = 0x8453, + GL_CURRENT_INDEX = 0x0B01, + 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_POSITION_VALID = 0x0B08, + GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06, + GL_CURRENT_SECONDARY_COLOR_EXT = 0x8459, + GL_CURRENT_TANGENT_EXT = 0x843B, + GL_CURRENT_TEXTURE_COORDS = 0x0B03, + GL_CURRENT_VERTEX_WEIGHT_EXT = 0x850B, + GL_CW = 0x0900, + GL_DECAL = 0x2101, + GL_DECR = 0x1E03, + GL_DECR_WRAP_EXT = 0x8508, + GL_DEPTH = 0x1801, + GL_DEPTH_BIAS = 0x0D1F, + GL_DEPTH_BITS = 0x0D56, + GL_DEPTH_BUFFER_BIT = 0x00000100, + GL_DEPTH_CLEAR_VALUE = 0x0B73, + GL_DEPTH_COMPONENT = 0x1902, + GL_DEPTH_COMPONENT16_SGIX = 0x81A5, + GL_DEPTH_COMPONENT24_SGIX = 0x81A6, + GL_DEPTH_COMPONENT32_SGIX = 0x81A7, + GL_DEPTH_FUNC = 0x0B74, + GL_DEPTH_RANGE = 0x0B70, + GL_DEPTH_SCALE = 0x0D1E, + GL_DEPTH_TEST = 0x0B71, + GL_DEPTH_WRITEMASK = 0x0B72, + GL_DETAIL_TEXTURE_2D_BINDING_SGIS = 0x8096, + GL_DETAIL_TEXTURE_2D_SGIS = 0x8095, + GL_DETAIL_TEXTURE_LEVEL_SGIS = 0x809A, + GL_DETAIL_TEXTURE_MODE_SGIS = 0x809B, + GL_DIFFUSE = 0x1201, + GL_DISCARD_NV = 0x8530, + GL_DISTANCE_ATTENUATION_EXT = 0x8129, + GL_DITHER = 0x0BD0, + GL_DOMAIN = 0x0A02, + GL_DONT_CARE = 0x1100, + GL_DOUBLE = 0x140A, + GL_DOUBLEBUFFER = 0x0C32, + GL_DRAW_BUFFER = 0x0C01, + GL_DRAW_PIXEL_TOKEN = 0x0705, + GL_DST_ALPHA = 0x0304, + GL_DST_COLOR = 0x0306, + GL_DUAL_ALPHA12_SGIS = 0x8112, + GL_DUAL_ALPHA16_SGIS = 0x8113, + GL_DUAL_ALPHA4_SGIS = 0x8110, + GL_DUAL_ALPHA8_SGIS = 0x8111, + GL_DUAL_INTENSITY12_SGIS = 0x811A, + GL_DUAL_INTENSITY16_SGIS = 0x811B, + GL_DUAL_INTENSITY4_SGIS = 0x8118, + GL_DUAL_INTENSITY8_SGIS = 0x8119, + GL_DUAL_LUMINANCE12_SGIS = 0x8116, + GL_DUAL_LUMINANCE16_SGIS = 0x8117, + GL_DUAL_LUMINANCE4_SGIS = 0x8114, + GL_DUAL_LUMINANCE8_SGIS = 0x8115, + GL_DUAL_LUMINANCE_ALPHA4_SGIS = 0x811C, + GL_DUAL_LUMINANCE_ALPHA8_SGIS = 0x811D, + GL_DUAL_TEXTURE_SELECT_SGIS = 0x8124, + GL_EDGE_FLAG = 0x0B43, + GL_EDGE_FLAG_ARRAY = 0x8079, + GL_EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D, + GL_EDGE_FLAG_ARRAY_EXT = 0x8079, + GL_EDGE_FLAG_ARRAY_POINTER = 0x8093, + GL_EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093, + GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C, + GL_EDGE_FLAG_ARRAY_STRIDE_EXT = 0x808C, + GL_EMBOSS_CONSTANT_NV = 0x855E, + GL_EMBOSS_LIGHT_NV = 0x855D, + GL_EMBOSS_MAP_NV = 0x855F, + GL_EMISSION = 0x1600, + GL_ENABLE_BIT = 0x00002000, + GL_EQUAL = 0x0202, + GL_EQUIV = 0x1509, + GL_EVAL_BIT = 0x00010000, + GL_EXP = 0x0800, + GL_EXP2 = 0x0801, + GL_EXPAND_NEGATE_NV = 0x8539, + GL_EXPAND_NORMAL_NV = 0x8538, + GL_EXTENSIONS = 0x1F03, + GL_EYE_LINEAR = 0x2400, + GL_EYE_PLANE = 0x2502, + GL_EYE_PLANE_ABSOLUTE_NV = 0x855C, + GL_EYE_RADIAL_NV = 0x855B, + GL_E_TIMES_F_NV = 0x8531, + GL_FASTEST = 0x1101, + GL_FEEDBACK = 0x1C01, + GL_FEEDBACK_BUFFER_POINTER = 0x0DF0, + GL_FEEDBACK_BUFFER_SIZE = 0x0DF1, + GL_FEEDBACK_BUFFER_TYPE = 0x0DF2, + GL_FILL = 0x1B02, + GL_FILTER4_SGIS = 0x8146, + GL_FLAT = 0x1D00, + GL_FLOAT = 0x1406, + GL_FOG = 0x0B60, + GL_FOG_BIT = 0x00000080, + GL_FOG_COLOR = 0x0B66, + GL_FOG_COORDINATE_ARRAY_EXT = 0x8457, + GL_FOG_COORDINATE_ARRAY_POINTER_EXT = 0x8456, + GL_FOG_COORDINATE_ARRAY_STRIDE_EXT = 0x8455, + GL_FOG_COORDINATE_ARRAY_TYPE_EXT = 0x8454, + GL_FOG_COORDINATE_EXT = 0x8451, + GL_FOG_COORDINATE_SOURCE_EXT = 0x8450, + GL_FOG_DENSITY = 0x0B62, + GL_FOG_DISTANCE_MODE_NV = 0x855A, + GL_FOG_END = 0x0B64, + GL_FOG_FUNC_POINTS_SGIS = 0x812B, + GL_FOG_FUNC_SGIS = 0x812A, + GL_FOG_HINT = 0x0C54, + GL_FOG_INDEX = 0x0B61, + GL_FOG_MODE = 0x0B65, + GL_FOG_OFFSET_SGIX = 0x8198, + GL_FOG_OFFSET_VALUE_SGIX = 0x8199, + GL_FOG_SPECULAR_TEXTURE_WIN = 0x80EC, + GL_FOG_START = 0x0B63, + GL_FRAGMENT_COLOR_EXT = 0x834C, + GL_FRAGMENT_DEPTH_EXT = 0x8452, + GL_FRAGMENT_DEPTH_EXT_834B = 0x834B, + GL_FRAGMENT_MATERIAL_EXT = 0x8349, + GL_FRAGMENT_NORMAL_EXT = 0x834A, + GL_FRAMEZOOM_FACTOR_SGIX = 0x818C, + GL_FRAMEZOOM_SGIX = 0x818B, + GL_FRONT = 0x0404, + GL_FRONT_AND_BACK = 0x0408, + GL_FRONT_FACE = 0x0B46, + GL_FRONT_LEFT = 0x0400, + GL_FRONT_RIGHT = 0x0401, + GL_FULL_STIPPLE_HINT_PGI = 107033, + GL_FUNC_ADD = 0x8006, + GL_FUNC_ADD_EXT = 0x8006, + GL_FUNC_REVERSE_SUBTRACT = 0x800B, + GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B, + GL_FUNC_SUBTRACT = 0x800A, + GL_FUNC_SUBTRACT_EXT = 0x800A, + GL_GENERATE_MIPMAP_HINT_SGIS = 0x8192, + GL_GENERATE_MIPMAP_SGIS = 0x8191, + GL_GEQUAL = 0x0206, + GL_GLEXT_VERSION_EXT = 8, + GL_GLOBAL_ALPHA_FACTOR_SUN = 0x81DA, + GL_GLOBAL_ALPHA_SUN = 0x81D9, + GL_GREATER = 0x0204, + GL_GREEN = 0x1904, + GL_GREEN_BIAS = 0x0D19, + GL_GREEN_BITS = 0x0D53, + GL_GREEN_MAX_CLAMP_INGR = 0x8565, + GL_GREEN_MIN_CLAMP_INGR = 0x8561, + GL_GREEN_SCALE = 0x0D18, + GL_HALF_BIAS_NEGATE_NV = 0x853B, + GL_HALF_BIAS_NORMAL_NV = 0x853A, + GL_HINT_BIT = 0x00008000, + GL_HISTOGRAM = 0x8024, + GL_HISTOGRAM_ALPHA_SIZE = 0x802B, + GL_HISTOGRAM_ALPHA_SIZE_EXT = 0x802B, + GL_HISTOGRAM_BLUE_SIZE = 0x802A, + GL_HISTOGRAM_BLUE_SIZE_EXT = 0x802A, + GL_HISTOGRAM_EXT = 0x8024, + GL_HISTOGRAM_FORMAT = 0x8027, + GL_HISTOGRAM_FORMAT_EXT = 0x8027, + GL_HISTOGRAM_GREEN_SIZE = 0x8029, + GL_HISTOGRAM_GREEN_SIZE_EXT = 0x8029, + GL_HISTOGRAM_LUMINANCE_SIZE = 0x802C, + GL_HISTOGRAM_LUMINANCE_SIZE_EXT = 0x802C, + GL_HISTOGRAM_RED_SIZE = 0x8028, + GL_HISTOGRAM_RED_SIZE_EXT = 0x8028, + GL_HISTOGRAM_SINK = 0x802D, + GL_HISTOGRAM_SINK_EXT = 0x802D, + GL_HISTOGRAM_WIDTH = 0x8026, + GL_HISTOGRAM_WIDTH_EXT = 0x8026, + GL_INCR = 0x1E02, + GL_INCR_WRAP_EXT = 0x8507, + GL_INDEX_ARRAY = 0x8077, + GL_INDEX_ARRAY_COUNT_EXT = 0x8087, + GL_INDEX_ARRAY_EXT = 0x8077, + GL_INDEX_ARRAY_POINTER = 0x8091, + GL_INDEX_ARRAY_POINTER_EXT = 0x8091, + GL_INDEX_ARRAY_STRIDE = 0x8086, + GL_INDEX_ARRAY_STRIDE_EXT = 0x8086, + GL_INDEX_ARRAY_TYPE = 0x8085, + GL_INDEX_ARRAY_TYPE_EXT = 0x8085, + GL_INDEX_BITS = 0x0D51, + GL_INDEX_CLEAR_VALUE = 0x0C20, + GL_INDEX_LOGIC_OP = 0x0BF1, + GL_INDEX_MODE = 0x0C30, + GL_INDEX_OFFSET = 0x0D13, + GL_INDEX_SHIFT = 0x0D12, + GL_INDEX_WRITEMASK = 0x0C21, + GL_INSTRUMENT_BUFFER_POINTER_SGIX = 0x8180, + GL_INSTRUMENT_MEASUREMENTS_SGIX = 0x8181, + GL_INT = 0x1404, + GL_INTENSITY = 0x8049, + GL_INTENSITY12 = 0x804C, + GL_INTENSITY12_EXT = 0x804C, + GL_INTENSITY16 = 0x804D, + GL_INTENSITY16_EXT = 0x804D, + GL_INTENSITY4 = 0x804A, + GL_INTENSITY4_EXT = 0x804A, + GL_INTENSITY8 = 0x804B, + GL_INTENSITY8_EXT = 0x804B, + GL_INTENSITY_EXT = 0x8049, + GL_INTERLACE_READ_INGR = 0x8568, + GL_INTERLACE_SGIX = 0x8094, + GL_INTERPOLATE_EXT = 0x8575, + GL_INVALID_ENUM = 0x0500, + GL_INVALID_OPERATION = 0x0502, + GL_INVALID_VALUE = 0x0501, + GL_INVERT = 0x150A, + GL_INVERTED_SCREEN_W_REND = 0x8491, + GL_IR_INSTRUMENT1_SGIX = 0x817F, + GL_KEEP = 0x1E00, + GL_LEFT = 0x0406, + GL_LEQUAL = 0x0203, + GL_LESS = 0x0201, + 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_LIGHTING = 0x0B50, + GL_LIGHTING_BIT = 0x00000040, + GL_LIGHT_MODEL_AMBIENT = 0x0B53, + GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8, + GL_LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8, + GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51, + GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE = 0x85B0, + GL_LIGHT_MODEL_TWO_SIDE = 0x0B52, + GL_LINE = 0x1B01, + GL_LINEAR = 0x2601, + GL_LINEAR_ATTENUATION = 0x1208, + GL_LINEAR_CLIPMAP_LINEAR_SGIX = 0x8170, + GL_LINEAR_DETAIL_ALPHA_SGIS = 0x8098, + GL_LINEAR_DETAIL_COLOR_SGIS = 0x8099, + GL_LINEAR_DETAIL_SGIS = 0x8097, + GL_LINEAR_MIPMAP_LINEAR = 0x2703, + GL_LINEAR_MIPMAP_NEAREST = 0x2701, + GL_LINEAR_SHARPEN_ALPHA_SGIS = 0x80AE, + GL_LINEAR_SHARPEN_COLOR_SGIS = 0x80AF, + GL_LINEAR_SHARPEN_SGIS = 0x80AD, + GL_LINES = 0x0001, + GL_LINE_BIT = 0x00000004, + GL_LINE_LOOP = 0x0002, + GL_LINE_RESET_TOKEN = 0x0707, + GL_LINE_SMOOTH = 0x0B20, + GL_LINE_SMOOTH_HINT = 0x0C52, + GL_LINE_STIPPLE = 0x0B24, + GL_LINE_STIPPLE_PATTERN = 0x0B25, + GL_LINE_STIPPLE_REPEAT = 0x0B26, + GL_LINE_STRIP = 0x0003, + GL_LINE_TOKEN = 0x0702, + GL_LINE_WIDTH = 0x0B21, + GL_LINE_WIDTH_GRANULARITY = 0x0B23, + GL_LINE_WIDTH_RANGE = 0x0B22, + GL_LIST_BASE = 0x0B32, + GL_LIST_BIT = 0x00020000, + GL_LIST_INDEX = 0x0B33, + GL_LIST_MODE = 0x0B30, + GL_LIST_PRIORITY_SGIX = 0x8182, + GL_LOAD = 0x0101, + GL_LOGIC_OP = 0x0BF1, + GL_LOGIC_OP_MODE = 0x0BF0, + GL_LUMINANCE = 0x1909, + GL_LUMINANCE12 = 0x8041, + GL_LUMINANCE12_ALPHA12 = 0x8047, + GL_LUMINANCE12_ALPHA12_EXT = 0x8047, + GL_LUMINANCE12_ALPHA4 = 0x8046, + GL_LUMINANCE12_ALPHA4_EXT = 0x8046, + GL_LUMINANCE12_EXT = 0x8041, + GL_LUMINANCE16 = 0x8042, + GL_LUMINANCE16_ALPHA16 = 0x8048, + GL_LUMINANCE16_ALPHA16_EXT = 0x8048, + GL_LUMINANCE16_EXT = 0x8042, + GL_LUMINANCE4 = 0x803F, + GL_LUMINANCE4_ALPHA4 = 0x8043, + GL_LUMINANCE4_ALPHA4_EXT = 0x8043, + GL_LUMINANCE4_EXT = 0x803F, + GL_LUMINANCE6_ALPHA2 = 0x8044, + GL_LUMINANCE6_ALPHA2_EXT = 0x8044, + GL_LUMINANCE8 = 0x8040, + GL_LUMINANCE8_ALPHA8 = 0x8045, + GL_LUMINANCE8_ALPHA8_EXT = 0x8045, + GL_LUMINANCE8_EXT = 0x8040, + GL_LUMINANCE_ALPHA = 0x190A, + GL_MAP1_BINORMAL_EXT = 0x8446, + 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_TANGENT_EXT = 0x8444, + 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_BINORMAL_EXT = 0x8447, + 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_TANGENT_EXT = 0x8445, + 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_MAP_COLOR = 0x0D10, + GL_MAP_STENCIL = 0x0D11, + GL_MATRIX_MODE = 0x0BA0, + GL_MAX = 0x8008, + GL_MAX_3D_TEXTURE_SIZE = 0x8073, + GL_MAX_3D_TEXTURE_SIZE_EXT = 0x8073, + GL_MAX_4D_TEXTURE_SIZE_SGIS = 0x8138, + GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35, + GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B, + GL_MAX_CLIPMAP_DEPTH_SGIX = 0x8177, + GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8178, + GL_MAX_CLIP_PLANES = 0x0D32, + GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3, + GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B3, + GL_MAX_CONVOLUTION_HEIGHT = 0x801B, + GL_MAX_CONVOLUTION_HEIGHT_EXT = 0x801B, + GL_MAX_CONVOLUTION_WIDTH = 0x801A, + GL_MAX_CONVOLUTION_WIDTH_EXT = 0x801A, + GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT = 0x851C, + GL_MAX_ELEMENTS_INDICES = 0x80E9, + GL_MAX_ELEMENTS_INDICES_EXT = 0x80E9, + GL_MAX_ELEMENTS_VERTICES = 0x80E8, + GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8, + GL_MAX_EVAL_ORDER = 0x0D30, + GL_MAX_EXT = 0x8008, + GL_MAX_FOG_FUNC_POINTS_SGIS = 0x812C, + GL_MAX_FRAMEZOOM_FACTOR_SGIX = 0x818D, + GL_MAX_GENERAL_COMBINERS_NV = 0x854D, + GL_MAX_LIGHTS = 0x0D31, + GL_MAX_LIST_NESTING = 0x0B31, + GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36, + GL_MAX_NAME_STACK_DEPTH = 0x0D37, + GL_MAX_PIXEL_MAP_TABLE = 0x0D34, + GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = 0x8337, + GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38, + GL_MAX_SHININESS_NV = 0x8507, + GL_MAX_SPOT_EXPONENT_NV = 0x8508, + GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF, + GL_MAX_TEXTURE_SIZE = 0x0D33, + GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39, + GL_MAX_TEXTURE_UNITS_ARB = 0x84E2, + GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = 0x8520, + GL_MAX_VIEWPORT_DIMS = 0x0D3A, + GL_MIN = 0x8007, + GL_MINMAX = 0x802E, + GL_MINMAX_FORMAT = 0x802F, + GL_MINMAX_SINK = 0x8030, + GL_MIN_EXT = 0x8007, + GL_MIRRORED_REPEAT_IBM = 0x8370, + GL_MODELVIEW = 0x1700, + GL_MODELVIEW0_EXT = 0x1700, + GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3, + GL_MODELVIEW1_EXT = 0x850A, + GL_MODELVIEW1_STACK_DEPTH_EXT = 0x8502, + GL_MODELVIEW_MATRIX = 0x0BA6, + GL_MODELVIEW_STACK_DEPTH = 0x0BA3, + GL_MODULATE = 0x2100, + GL_MULT = 0x0103, + GL_MULTISAMPLE_ARBfunda = 0x809D, + GL_MULTISAMPLE_BIT_ARB = 0x20000000, + GL_MULTISAMPLE_BIT_EXT = 0x20000000, + GL_MULTISAMPLE_SGIS = 0x809D, + GL_N3F_V3F = 0x2A25, + GL_NAME_STACK_DEPTH = 0x0D70, + GL_NAND = 0x150E, + GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI = 107011, + GL_NATIVE_GRAPHICS_END_HINT_PGI = 107012, + GL_NATIVE_GRAPHICS_HANDLE_PGI = 107010, + GL_NEAREST = 0x2600, + GL_NEAREST_MIPMAP_LINEAR = 0x2702, + GL_NEAREST_MIPMAP_NEAREST = 0x2700, + GL_NEVER = 0x0200, + GL_NICEST = 0x1102, + GL_NONE = 0x0, + GL_NOOP = 0x1505, + GL_NOR = 0x1508, + GL_NORMALIZE = 0x0BA1, + GL_NORMAL_ARRAY = 0x8075, + GL_NORMAL_ARRAY_COUNT_EXT = 0x8080, + GL_NORMAL_ARRAY_EXT = 0x8075, + GL_NORMAL_ARRAY_POINTER = 0x808F, + GL_NORMAL_ARRAY_POINTER_EXT = 0x808F, + GL_NORMAL_ARRAY_STRIDE = 0x807F, + GL_NORMAL_ARRAY_STRIDE_EXT = 0x807F, + GL_NORMAL_ARRAY_TYPE = 0x807E, + GL_NORMAL_ARRAY_TYPE_EXT = 0x807E, + GL_NORMAL_MAP_EXT = 0x8511, + GL_NORMAL_MAP_NV = 0x8511, + GL_NOTEQUAL = 0x0205, + GL_NO_ERROR = 0x0, + GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2, + GL_NUM_GENERAL_COMBINERS_NV = 0x854E, + GL_OBJECT_LINEAR = 0x2401, + GL_OBJECT_PLANE = 0x2501, + GL_OCCLUSION_TEST_HP = 0x8165, + GL_OCCLUSION_TEST_RESULT_HP = 0x8166, + GL_ONE = 0x1, + GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004, + GL_ONE_MINUS_CONSTANT_ALPHA_EXT = 0x8004, + GL_ONE_MINUS_CONSTANT_COLOR = 0x8002, + GL_ONE_MINUS_CONSTANT_COLOR_EXT = 0x8002, + GL_ONE_MINUS_DST_ALPHA = 0x0305, + GL_ONE_MINUS_DST_COLOR = 0x0307, + GL_ONE_MINUS_SRC_ALPHA = 0x0303, + GL_ONE_MINUS_SRC_COLOR = 0x0301, + GL_OPERAND0_ALPHA_EXT = 0x8598, + GL_OPERAND0_RGB_EXT = 0x8590, + GL_OPERAND1_ALPHA_EXT = 0x8599, + GL_OPERAND1_RGB_EXT = 0x8591, + GL_OPERAND2_ALPHA_EXT = 0x859A, + GL_OPERAND2_RGB_EXT = 0x8592, + GL_OPERAND3_ALPHA_NV = 0x859B, + GL_OPERAND3_RGB_NV = 0x8593, + GL_OR = 0x1507, + GL_ORDER = 0x0A01, + GL_OR_INVERTED = 0x150D, + GL_OR_REVERSE = 0x150B, + GL_OUT_OF_MEMORY = 0x0505, + GL_PACK_ALIGNMENT = 0x0D05, + GL_PACK_CMYK_HINT_EXT = 0x800E, + GL_PACK_IMAGE_DEPTH_SGIS = 0x8131, + GL_PACK_IMAGE_HEIGHT = 0x806C, + GL_PACK_IMAGE_HEIGHT_EXT = 0x806C, + GL_PACK_LSB_FIRST = 0x0D01, + GL_PACK_ROW_LENGTH = 0x0D02, + GL_PACK_SKIP_IMAGES = 0x806B, + GL_PACK_SKIP_IMAGES_EXT = 0x806B, + GL_PACK_SKIP_PIXELS = 0x0D04, + GL_PACK_SKIP_ROWS = 0x0D03, + GL_PACK_SKIP_VOLUMES_SGIS = 0x8130, + GL_PACK_SWAP_BYTES = 0x0D00, + GL_PASS_THROUGH_TOKEN = 0x0700, + GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50, + GL_PERTURB_EXT = 0x85AE, + GL_PHONG_HINT_WIN = 0x80EB, + GL_PHONG_WIN = 0x80EA, + GL_PIXEL_CUBIC_WEIGHT_EXT = 0x8333, + GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS = 0x1002, + GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS = 0x1001, + GL_PIXEL_GROUP_COLOR_SGIS = 0x1003, + GL_PIXEL_MAG_FILTER_EXT = 0x8331, + GL_PIXEL_MAP_A_TO_A = 0x0C79, + GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9, + GL_PIXEL_MAP_B_TO_B = 0x0C78, + GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8, + GL_PIXEL_MAP_G_TO_G = 0x0C77, + GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7, + GL_PIXEL_MAP_I_TO_A = 0x0C75, + GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5, + GL_PIXEL_MAP_I_TO_B = 0x0C74, + GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4, + GL_PIXEL_MAP_I_TO_G = 0x0C73, + GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3, + GL_PIXEL_MAP_I_TO_I = 0x0C70, + GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0, + GL_PIXEL_MAP_I_TO_R = 0x0C72, + GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2, + GL_PIXEL_MAP_R_TO_R = 0x0C76, + GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6, + GL_PIXEL_MAP_S_TO_S = 0x0C71, + GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1, + GL_PIXEL_MIN_FILTER_EXT = 0x8332, + GL_PIXEL_MODE_BIT = 0x00000020, + GL_PIXEL_TEXTURE_SGIS = 0x1000, + GL_PIXEL_TEX_GEN_MODE_SGIX = 0x832B, + GL_PIXEL_TEX_GEN_SGIX = 0x8139, + GL_PIXEL_TRANSFORM_2D_EXT = 0x8330, + GL_PIXEL_TRANSFORM_2D_MATRIX_EXT = 0x8338, + GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = 0x8336, + GL_POINT = 0x1B00, + GL_POINTS = 0x0000, + GL_POINT_BIT = 0x00000002, + GL_POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128, + GL_POINT_SIZE = 0x0B11, + GL_POINT_SIZE_GRANULARITY = 0x0B13, + GL_POINT_SIZE_MAX_EXT = 0x8127, + GL_POINT_SIZE_MIN_EXT = 0x8126, + GL_POINT_SIZE_RANGE = 0x0B12, + GL_POINT_SMOOTH = 0x0B10, + GL_POINT_SMOOTH_HINT = 0x0C51, + GL_POINT_TOKEN = 0x0701, + GL_POLYGON = 0x0009, + GL_POLYGON_BIT = 0x00000008, + GL_POLYGON_MODE = 0x0B40, + GL_POLYGON_OFFSET_BIAS_EXT = 0x8039, + GL_POLYGON_OFFSET_EXT = 0x8037, + GL_POLYGON_OFFSET_FACTOR = 0x8038, + GL_POLYGON_OFFSET_FACTOR_EXT = 0x8038, + GL_POLYGON_OFFSET_FILL = 0x8037, + GL_POLYGON_OFFSET_LINE = 0x2A02, + GL_POLYGON_OFFSET_POINT = 0x2A01, + GL_POLYGON_OFFSET_UNITS = 0x2A00, + GL_POLYGON_SMOOTH = 0x0B41, + GL_POLYGON_SMOOTH_HINT = 0x0C53, + GL_POLYGON_STIPPLE = 0x0B42, + GL_POLYGON_STIPPLE_BIT = 0x00000010, + GL_POLYGON_TOKEN = 0x0703, + GL_POSITION = 0x1203, + GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB, + GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI = 0x80BB, + GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7, + GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI = 0x80B7, + GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA, + GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI = 0x80BA, + GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6, + GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI = 0x80B6, + GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2, + GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2, + GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9, + GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI = 0x80B9, + GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5, + GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI = 0x80B5, + GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8, + GL_POST_COLOR_MATRIX_RED_BIAS_SGI = 0x80B8, + GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4, + GL_POST_COLOR_MATRIX_RED_SCALE_SGI = 0x80B4, + GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023, + GL_POST_CONVOLUTION_ALPHA_BIAS_EXT = 0x8023, + GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F, + GL_POST_CONVOLUTION_ALPHA_SCALE_EXT = 0x801F, + GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022, + GL_POST_CONVOLUTION_BLUE_BIAS_EXT = 0x8022, + GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E, + GL_POST_CONVOLUTION_BLUE_SCALE_EXT = 0x801E, + GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1, + GL_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1, + GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021, + GL_POST_CONVOLUTION_GREEN_BIAS_EXT = 0x8021, + GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D, + GL_POST_CONVOLUTION_GREEN_SCALE_EXT = 0x801D, + GL_POST_CONVOLUTION_RED_BIAS = 0x8020, + GL_POST_CONVOLUTION_RED_BIAS_EXT = 0x8020, + GL_POST_CONVOLUTION_RED_SCALE = 0x801C, + GL_POST_CONVOLUTION_RED_SCALE_EXT = 0x801C, + GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX = 0x817B, + GL_POST_TEXTURE_FILTER_BIAS_SGIX = 0x8179, + GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX = 0x817C, + GL_POST_TEXTURE_FILTER_SCALE_SGIX = 0x817A, + GL_PREFER_DOUBLEBUFFER_HINT_PGI = 107000, + GL_PREVIOUS_EXT = 0x8578, + GL_PRIMARY_COLOR_EXT = 0x8577, + GL_PRIMARY_COLOR_NV = 0x852C, + GL_PROJECTION = 0x1701, + GL_PROJECTION_MATRIX = 0x0BA7, + GL_PROJECTION_STACK_DEPTH = 0x0BA4, + GL_PROXY_COLOR_TABLE = 0x80D3, + GL_PROXY_COLOR_TABLE_SGI = 0x80D3, + GL_PROXY_HISTOGRAM = 0x8025, + GL_PROXY_HISTOGRAM_EXT = 0x8025, + GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5, + GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D5, + GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4, + GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D4, + GL_PROXY_TEXTURE_1D = 0x8063, + GL_PROXY_TEXTURE_1D_EXT = 0x8063, + GL_PROXY_TEXTURE_2D = 0x8064, + GL_PROXY_TEXTURE_2D_EXT = 0x8064, + GL_PROXY_TEXTURE_3D = 0x8070, + GL_PROXY_TEXTURE_3D_EXT = 0x8070, + GL_PROXY_TEXTURE_4D_SGIS = 0x8135, + GL_PROXY_TEXTURE_COLOR_TABLE_SGI = 0x80BD, + GL_PROXY_TEXTURE_CUBE_MAP_EXT = 0x851B, + GL_Q = 0x2003, + GL_QUADRATIC_ATTENUATION = 0x1209, + GL_QUADS = 0x0007, + GL_QUAD_ALPHA4_SGIS = 0x811E, + GL_QUAD_ALPHA8_SGIS = 0x811F, + GL_QUAD_INTENSITY4_SGIS = 0x8122, + GL_QUAD_INTENSITY8_SGIS = 0x8123, + GL_QUAD_LUMINANCE4_SGIS0 = 0x8120, + GL_QUAD_LUMINANCE8_SGIS = 0x8121, + GL_QUAD_STRIP = 0x0008, + GL_QUAD_TEXTURE_SELECT_SGIS = 0x8125, + GL_R = 0x2002, + GL_R1UI_C3F_V3F_SUN = 0x85C6, + GL_R1UI_C4F_N3F_V3F_SUN = 0x85C8, + GL_R1UI_C4UB_V3F_SUN = 0x85C5, + GL_R1UI_N3F_V3F_SUN = 0x85C7, + GL_R1UI_T2F_C4F_N3F_V3F_SUN = 0x85CB, + GL_R1UI_T2F_N3F_V3F_SUN = 0x85CA, + GL_R1UI_T2F_V3F_SUN = 0x85C9, + GL_R1UI_V3F_SUN = 0x85C4, + GL_R3_G3_B2 = 0x2A10, + GL_READ_BUFFER = 0x0C02, + GL_RECLAIM_MEMORY_HINT_PGI = 107006, + GL_RED = 0x1903, + GL_REDUCE = 0x8016, + GL_REDUCE_EXT = 0x8016, + GL_RED_BIAS = 0x0D15, + GL_RED_BITS = 0x0D52, + GL_RED_MAX_CLAMP_INGR = 0x8564, + GL_RED_MIN_CLAMP_INGR = 0x8560, + GL_RED_SCALE = 0x0D14, + GL_REFERENCE_PLANE_EQUATION_SGIX = 0x817E, + GL_REFERENCE_PLANE_SGIX = 0x817D, + GL_REFLECTION_MAP_EXT = 0x8512, + GL_REFLECTION_MAP_NV = 0x8512, + GL_REGISTER_COMBINERS_NV = 0x8522, + GL_RENDER = 0x1C00, + GL_RENDERER = 0x1F01, + GL_RENDER_MODE = 0x0C40, + GL_REPEAT = 0x2901, + GL_REPLACE = 0x1E01, + GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN = 0x85C3, + GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN = 0x85C2, + GL_REPLACEMENT_CODE_ARRAY_SUN = 0x85C0, + GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN = 0x85C1, + GL_REPLACEMENT_CODE_SUN = 0x81D8, + GL_REPLACE_EXT = 0x8062, + GL_REPLACE_MIDDLE_SUN = 0x02, + GL_REPLACE_OLDEST_SUN = 0x03, + GL_REPLICATE_BORDER = 0x8153, + GL_RESCALE_NORMAL = 0x803A, + GL_RESCALE_NORMAL_EXT = 0x803A, + GL_RESTART_SUN = 0x01, + GL_RETURN = 0x0102, + GL_RGB = 0x1907, + GL_RGB10 = 0x8052, + GL_RGB10_A2 = 0x8059, + GL_RGB10_A2_EXT = 0x8059, + GL_RGB10_EXT = 0x8052, + GL_RGB12 = 0x8053, + GL_RGB12_EXT = 0x8053, + GL_RGB16 = 0x8054, + GL_RGB16_EXT = 0x8054, + GL_RGB2_EXT = 0x804E, + GL_RGB4 = 0x804F, + GL_RGB4_EXT = 0x804F, + GL_RGB5 = 0x8050, + GL_RGB5_A1 = 0x8057, + GL_RGB5_A1_EXT = 0x8057, + GL_RGB5_EXT = 0x8050, + GL_RGB8 = 0x8051, + GL_RGB8_EXT = 0x8051, + GL_RGBA = 0x1908, + GL_RGBA12 = 0x805A, + GL_RGBA12_EXT = 0x805A, + GL_RGBA16 = 0x805B, + GL_RGBA16_EXT = 0x805B, + GL_RGBA2 = 0x8055, + GL_RGBA2_EXT = 0x8055, + GL_RGBA4 = 0x8056, + GL_RGBA4_EXT = 0x8056, + GL_RGBA8 = 0x8058, + GL_RGBA8_EXT = 0x8058, + GL_RGBA_MODE = 0x0C31, + GL_RGB_SCALE_EXT = 0x8573, + GL_RIGHT = 0x0407, + GL_S = 0x2000, + GL_SAMPLES_ARB = 0x80A9, + GL_SAMPLES_SGIS = 0x80A9, + GL_SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809E, + GL_SAMPLE_ALPHA_TO_MASK_SGIS = 0x809E, + GL_SAMPLE_ALPHA_TO_ONE_ARB = 0x809F, + GL_SAMPLE_ALPHA_TO_ONE_SGIS = 0x809F, + GL_SAMPLE_BUFFERS_ARB = 0x80A8, + GL_SAMPLE_BUFFERS_SGIS = 0x80A8, + GL_SAMPLE_COVERAGE_ARB = 0x80A0, + GL_SAMPLE_COVERAGE_INVERT_ARB = 0x80AB, + GL_SAMPLE_COVERAGE_VALUE_ARB = 0x80AA, + GL_SAMPLE_MASK_INVERT_SGIS = 0x80AB, + GL_SAMPLE_MASK_SGIS = 0x80A0, + GL_SAMPLE_MASK_VALUE_SGIS = 0x80AA, + GL_SAMPLE_MAX_PASSES_ARB = 0x84E7, + GL_SAMPLE_PASS_ARB = 0x84E8, + GL_SAMPLE_PATTERN_SGIS = 0x80AC, + GL_SCALE_BY_FOUR_NV = 0x853F, + GL_SCALE_BY_ONE_HALF_NV = 0x8540, + GL_SCALE_BY_TWO_NV = 0x853E, + GL_SCISSOR_BIT = 0x00080000, + GL_SCISSOR_BOX = 0x0C10, + GL_SCISSOR_TEST = 0x0C11, + GL_SCREEN_COORDINATES_REND = 0x8490, + GL_SECONDARY_COLOR_ARRAY_EXT = 0x845E, + GL_SECONDARY_COLOR_ARRAY_POINTER_EXT = 0x845D, + GL_SECONDARY_COLOR_ARRAY_SIZE_EXT = 0x845A, + GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT = 0x845C, + GL_SECONDARY_COLOR_ARRAY_TYPE_EXT = 0x845B, + GL_SECONDARY_COLOR_NV = 0x852D, + GL_SELECT = 0x1C02, + GL_SELECTION_BUFFER_POINTER = 0x0DF3, + GL_SELECTION_BUFFER_SIZE = 0x0DF4, + GL_SEPARABLE_2D = 0x8012, + GL_SEPARABLE_2D_EXT = 0x8012, + GL_SEPARATE_SPECULAR_COLOR = 0x81FA, + GL_SEPARATE_SPECULAR_COLOR_EXT = 0x81FA, + GL_SET = 0x150F, + GL_SHADE_MODEL = 0x0B54, + GL_SHADOW_ATTENUATION_EXT = 0x834E, + GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB, + GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS = 0x80B0, + GL_SHININESS = 0x1601, + GL_SHORT = 0x1402, + GL_SIGNED_IDENTITY_NV = 0x853C, + GL_SIGNED_NEGATE_NV = 0x853D, + GL_SINGLE_COLOR = 0x81F9, + GL_SINGLE_COLOR_EXT = 0x81F9, + GL_SMOOTH = 0x1D01, + GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23, + GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22, + GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13, + GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12, + GL_SOURCE0_ALPHA_EXT = 0x8588, + GL_SOURCE0_RGB_EXT = 0x8580, + GL_SOURCE1_ALPHA_EXT = 0x8589, + GL_SOURCE1_RGB_EXT = 0x8581, + GL_SOURCE2_ALPHA_EXT = 0x858A, + GL_SOURCE2_RGB_EXT = 0x8582, + GL_SOURCE3_ALPHA_NV = 0x858B, + GL_SOURCE3_RGB_NV = 0x8583, + GL_SPARE0_NV = 0x852E, + GL_SPARE0_PLUS_SECONDARY_COLOR_NV = 0x8532, + GL_SPARE1_NV = 0x852F, + GL_SPECULAR = 0x1202, + GL_SPHERE_MAP = 0x2402, + GL_SPOT_CUTOFF = 0x1206, + GL_SPOT_DIRECTION = 0x1204, + GL_SPOT_EXPONENT = 0x1205, + GL_SPRITE_AXIAL_SGIX = 0x814C, + GL_SPRITE_AXIS_SGIX = 0x814A, + GL_SPRITE_EYE_ALIGNED_SGIX = 0x814E, + GL_SPRITE_MODE_SGIX = 0x8149, + GL_SPRITE_OBJECT_ALIGNED_SGIX = 0x814D, + GL_SPRITE_SGIX = 0x8148, + GL_SPRITE_TRANSLATION_SGIX = 0x814B, + GL_SRC_ALPHA = 0x0302, + GL_SRC_ALPHA_SATURATE = 0x0308, + GL_SRC_COLOR = 0x0300, + GL_STACK_OVERFLOW = 0x0503, + GL_STACK_UNDERFLOW = 0x0504, + GL_STATIC_VERTEX_ARRAY_IBM = 0x19295, + GL_STENCIL = 0x1802, + GL_STENCIL_BITS = 0x0D57, + GL_STENCIL_BUFFER_BIT = 0x00000400, + GL_STENCIL_CLEAR_VALUE = 0x0B91, + GL_STENCIL_FAIL = 0x0B94, + GL_STENCIL_FUNC = 0x0B92, + GL_STENCIL_INDEX = 0x1901, + GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95, + GL_STENCIL_PASS_DEPTH_PASS = 0x0B96, + GL_STENCIL_REF = 0x0B97, + GL_STENCIL_TEST = 0x0B90, + GL_STENCIL_VALUE_MASK = 0x0B93, + GL_STENCIL_WRITEMASK = 0x0B98, + GL_STEREO = 0x0C33, + GL_STRICT_DEPTHFUNC_HINT_PGI = 107030, + GL_STRICT_LIGHTING_HINT_PGI = 107031, + GL_STRICT_SCISSOR_HINT_PGI = 107032, + GL_SUBPIXEL_BITS = 0x0D50, + GL_T = 0x2001, + GL_T2F_C3F_V3F = 0x2A2A, + GL_T2F_C4F_N3F_V3F = 0x2A2C, + GL_T2F_C4UB_V3F = 0x2A29, + GL_T2F_N3F_V3F = 0x2A2B, + GL_T2F_V3F = 0x2A27, + GL_T4F_C4F_N3F_V4F = 0x2A2D, + GL_T4F_V4F = 0x2A28, + GL_TABLE_TOO_LARGE = 0x8031, + GL_TABLE_TOO_LARGE_EXT = 0x8031, + GL_TANGENT_ARRAY_EXT = 0x8439, + GL_TANGENT_ARRAY_POINTER_EXT = 0x8442, + GL_TANGENT_ARRAY_STRIDE_EXT = 0x843F, + GL_TANGENT_ARRAY_TYPE_EXT = 0x843E, + GL_TEXTURE = 0x1702, + GL_TEXTURE0_ARB = 0x84C0, + 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_TEXTURE1_ARB = 0x84C1, + 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_TEXTURE2_ARB = 0x84C2, + GL_TEXTURE30_ARB = 0x84DE, + GL_TEXTURE31_ARB = 0x84DF, + 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_TEXTURE_1D = 0x0DE0, + GL_TEXTURE_1D_BINDING_EXT = 0x8068, + GL_TEXTURE_2D = 0x0DE1, + GL_TEXTURE_2D_BINDING_EXT = 0x8069, + GL_TEXTURE_3D = 0x806F, + GL_TEXTURE_3D_BINDING_EXT = 0x806A, + GL_TEXTURE_3D_EXT = 0x806F, + GL_TEXTURE_4DSIZE_SGIS = 0x8136, + GL_TEXTURE_4D_BINDING_SGIS = 0x814F, + GL_TEXTURE_4D_SGIS = 0x8134, + GL_TEXTURE_ALPHA_SIZE = 0x805F, + GL_TEXTURE_ALPHA_SIZE_EXT = 0x805F, + GL_TEXTURE_APPLICATION_MODE_EXT = 0x834F, + GL_TEXTURE_BASE_LEVEL = 0x813C, + GL_TEXTURE_BASE_LEVEL_SGIS = 0x813C, + GL_TEXTURE_BINDING_1D = 0x8068, + GL_TEXTURE_BINDING_2D = 0x8069, + GL_TEXTURE_BINDING_3D = 0x806A, + GL_TEXTURE_BINDING_CUBE_MAP_EXT = 0x8514, + GL_TEXTURE_BIT = 0x00040000, + GL_TEXTURE_BLUE_SIZE = 0x805E, + GL_TEXTURE_BLUE_SIZE_EXT = 0x805E, + GL_TEXTURE_BORDER = 0x1005, + GL_TEXTURE_BORDER_COLOR = 0x1004, + GL_TEXTURE_CLIPMAP_CENTER_SGIX = 0x8171, + GL_TEXTURE_CLIPMAP_DEPTH_SGIX = 0x8176, + GL_TEXTURE_CLIPMAP_FRAME_SGIX = 0x8172, + GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX = 0x8175, + GL_TEXTURE_CLIPMAP_OFFSET_SGIX = 0x8173, + GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8174, + GL_TEXTURE_COMPARE_OPERATOR_SGIX = 0x819B, + GL_TEXTURE_COMPARE_SGIX = 0x819A, + GL_TEXTURE_COMPONENTS = 0x1003, + GL_TEXTURE_COMPRESSED_ARB = 0x86A1, + GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB = 0x86A0, + GL_TEXTURE_COMPRESSION_HINT_ARB = 0x84EF, + GL_TEXTURE_CONSTANT_DATA_SUNX = 0x81D6, + GL_TEXTURE_COORD_ARRAY = 0x8078, + GL_TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B, + GL_TEXTURE_COORD_ARRAY_EXT = 0x8078, + GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092, + GL_TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092, + GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088, + GL_TEXTURE_COORD_ARRAY_SIZE_EXT = 0x8088, + GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A, + GL_TEXTURE_COORD_ARRAY_STRIDE_EXT = 0x808A, + GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089, + GL_TEXTURE_COORD_ARRAY_TYPE_EXT = 0x8089, + GL_TEXTURE_CUBE_MAP_EXT = 0x8513, + GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT = 0x8516, + GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT = 0x8518, + GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT = 0x851A, + GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT = 0x8515, + GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT = 0x8517, + GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT = 0x8519, + GL_TEXTURE_DEPTH = 0x8071, + GL_TEXTURE_DEPTH_EXT = 0x8071, + GL_TEXTURE_ENV = 0x2300, + GL_TEXTURE_ENV_BIAS_SGIX = 0x80BE, + GL_TEXTURE_ENV_COLOR = 0x2201, + GL_TEXTURE_ENV_MODE = 0x2200, + GL_TEXTURE_FILTER4_SIZE_SGIS = 0x8147, + GL_TEXTURE_FILTER_CONTROL_EXT = 0x8500, + GL_TEXTURE_GEN_MODE = 0x2500, + GL_TEXTURE_GEN_Q = 0x0C63, + GL_TEXTURE_GEN_R = 0x0C62, + GL_TEXTURE_GEN_S = 0x0C60, + GL_TEXTURE_GEN_T = 0x0C61, + GL_TEXTURE_GEQUAL_R_SGIX = 0x819D, + GL_TEXTURE_GREEN_SIZE = 0x805D, + GL_TEXTURE_GREEN_SIZE_EXT = 0x805D, + GL_TEXTURE_HEIGHT = 0x1001, + GL_TEXTURE_INDEX_SIZE_EXT = 0x80ED, + GL_TEXTURE_INTENSITY_SIZE = 0x8061, + GL_TEXTURE_INTENSITY_SIZE_EXT = 0x8061, + GL_TEXTURE_INTERNAL_FORMAT = 0x1003, + GL_TEXTURE_LEQUAL_R_SGIX = 0x819C, + GL_TEXTURE_LIGHT_EXT = 0x8350, + GL_TEXTURE_LOD_BIAS_EXT = 0x8501, + GL_TEXTURE_LOD_BIAS_R_SGIX = 0x8190, + GL_TEXTURE_LOD_BIAS_S_SGIX = 0x818E, + GL_TEXTURE_LOD_BIAS_T_SGIX = 0x818F, + GL_TEXTURE_LUMINANCE_SIZE = 0x8060, + GL_TEXTURE_LUMINANCE_SIZE_EXT = 0x8060, + GL_TEXTURE_MAG_FILTER = 0x2800, + GL_TEXTURE_MATERIAL_FACE_EXT = 0x8351, + GL_TEXTURE_MATERIAL_PARAMETER_EXT = 0x8352, + GL_TEXTURE_MATRIX = 0x0BA8, + GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE, + GL_TEXTURE_MAX_LEVEL = 0x813D, + GL_TEXTURE_MAX_LEVEL_SGIS = 0x813D, + GL_TEXTURE_MAX_LOD = 0x813B, + GL_TEXTURE_MAX_LOD_SGIS = 0x813B, + GL_TEXTURE_MIN_FILTER = 0x2801, + GL_TEXTURE_MIN_LOD = 0x813A, + GL_TEXTURE_MIN_LOD_SGIS = 0x813A, + GL_TEXTURE_NORMAL_EXT = 0x85AF, + GL_TEXTURE_PRIORITY = 0x8066, + GL_TEXTURE_PRIORITY_EXT = 0x8066, + GL_TEXTURE_RED_SIZE = 0x805C, + GL_TEXTURE_RED_SIZE_EXT = 0x805C, + GL_TEXTURE_RESIDENT = 0x8067, + GL_TEXTURE_RESIDENT_EXT = 0x8067, + GL_TEXTURE_STACK_DEPTH = 0x0BA5, + GL_TEXTURE_WIDTH = 0x1000, + GL_TEXTURE_WRAP_Q_SGIS = 0x8137, + GL_TEXTURE_WRAP_R = 0x8072, + GL_TEXTURE_WRAP_R_EXT = 0x8072, + GL_TEXTURE_WRAP_S = 0x2802, + GL_TEXTURE_WRAP_T = 0x2803, + GL_TRANSFORM_BIT = 0x00001000, + GL_TRANSFORM_HINT_APPLE = 0x85B1, + GL_TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6, + GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3, + GL_TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4, + GL_TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5, + GL_TRIANGLES = 0x0004, + GL_TRIANGLE_FAN = 0x0006, + GL_TRIANGLE_LIST_SUN = 0x81D7, + GL_TRIANGLE_STRIP = 0x0005, + GL_UNPACK_ALIGNMENT = 0x0CF5, + GL_UNPACK_CMYK_HINT_EXT = 0x800F, + GL_UNPACK_CONSTANT_DATA_SUNX = 0x81D5, + GL_UNPACK_IMAGE_DEPTH_SGIS = 0x8133, + GL_UNPACK_IMAGE_HEIGHT = 0x806E, + GL_UNPACK_IMAGE_HEIGHT_EXT = 0x806E, + GL_UNPACK_LSB_FIRST = 0x0CF1, + GL_UNPACK_ROW_LENGTH = 0x0CF2, + GL_UNPACK_SKIP_IMAGES = 0x806D, + GL_UNPACK_SKIP_IMAGES_EXT = 0x806D, + GL_UNPACK_SKIP_PIXELS = 0x0CF4, + GL_UNPACK_SKIP_ROWS = 0x0CF3, + GL_UNPACK_SKIP_VOLUMES_SGIS = 0x8132, + GL_UNPACK_SWAP_BYTES = 0x0CF0, + GL_UNSIGNED_BYTE = 0x1401, + GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362, + GL_UNSIGNED_BYTE_3_3_2 = 0x8032, + GL_UNSIGNED_BYTE_3_3_2_EXT = 0x8032, + GL_UNSIGNED_IDENTITY_NV = 0x8536, + GL_UNSIGNED_INT = 0x1405, + GL_UNSIGNED_INT_10_10_10_2 = 0x8036, + GL_UNSIGNED_INT_10_10_10_2_EXT = 0x8036, + GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368, + GL_UNSIGNED_INT_8_8_8_8 = 0x8035, + GL_UNSIGNED_INT_8_8_8_8_EXT = 0x8035, + GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367, + GL_UNSIGNED_INVERT_NV = 0x8537, + GL_UNSIGNED_SHORT = 0x1403, + GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366, + GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033, + GL_UNSIGNED_SHORT_4_4_4_4_EXT = 0x8033, + GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365, + GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034, + GL_UNSIGNED_SHORT_5_5_5_1_EXT = 0x8034, + GL_UNSIGNED_SHORT_5_6_5 = 0x8363, + GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364, + GL_V2F = 0x2A20, + GL_V3F = 0x2A21, + GL_VARIABLE_A_NV = 0x8523, + GL_VARIABLE_B_NV = 0x8524, + GL_VARIABLE_C_NV = 0x8525, + GL_VARIABLE_D_NV = 0x8526, + GL_VARIABLE_E_NV = 0x8527, + GL_VARIABLE_F_NV = 0x8528, + GL_VARIABLE_G_NV = 0x8529, + GL_VATERIAL_SIDE_HINT_PGI = 107052, + GL_VAT_AMBIENT_AND_DIFFUSE_BIT_PGI = 0x00200000, + GL_VAT_AMBIENT_BIT_PGI = 0x00100000, + GL_VAT_COLOR_INDEXES_BIT_PGI = 0x01000000, + GL_VAT_DIFFUSE_BIT_PGI = 0x00400000, + GL_VAT_EMISSION_BIT_PGI = 0x00800000, + GL_VAT_SHININESS_BIT_PGI = 0x02000000, + GL_VAT_SPECULAR_BIT_PGI = 0x04000000, + GL_VAX_VERTEX_HINT_PGI = 107053, + GL_VDGEFLAG_BIT_PGI = 0x00040000, + GL_VENDOR = 0x1F00, + GL_VERSION = 0x1F02, + GL_VERTEX23_BIT_PGI = 0x00000004, + GL_VERTEX4_BIT_PGI = 0x00000008, + GL_VERTEX_ARRAY = 0x8074, + GL_VERTEX_ARRAY_COUNT_EXT = 0x807D, + GL_VERTEX_ARRAY_EXT = 0x8074, + GL_VERTEX_ARRAY_POINTER = 0x808E, + GL_VERTEX_ARRAY_POINTER_EXT = 0x808E, + GL_VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E, + GL_VERTEX_ARRAY_RANGE_NV = 0x851D, + GL_VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521, + GL_VERTEX_ARRAY_RANGE_VALID_NV = 0x851F, + GL_VERTEX_ARRAY_SIZE = 0x807A, + GL_VERTEX_ARRAY_SIZE_EXT = 0x807A, + GL_VERTEX_ARRAY_STRIDE = 0x807C, + GL_VERTEX_ARRAY_STRIDE_EXT = 0x807C, + GL_VERTEX_ARRAY_TYPE = 0x807B, + GL_VERTEX_ARRAY_TYPE_EXT = 0x807B, + GL_VERTEX_CONSISTENT_HINT_PGI = 107051, + GL_VERTEX_DATA_HINT_PGI = 107050, + GL_VERTEX_WEIGHTING_EXT = 0x8509, + GL_VERTEX_WEIGHT_ARRAY_EXT = 0x850C, + GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT = 0x8510, + GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT = 0x850D, + GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT = 0x850F, + GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT = 0x850E, + GL_VEXCOORD1_BIT_PGI = 0x10000000, + GL_VEXCOORD2_BIT_PGI = 0x20000000, + GL_VEXCOORD3_BIT_PGI = 0x40000000, + GL_VEXCOORD4_BIT_PGI = 0x80000000, + GL_VIEWPORT = 0x0BA2, + GL_VIEWPORT_BIT = 0x00000800, + GL_VNDEX_BIT_PGI = 0x00080000, + GL_VOLOR3_BIT_PGI = 0x00010000, + GL_VOLOR4_BIT_PGI = 0x00020000, + GL_VORMAL_BIT_PGI = 0x08000000, + GL_WIDE_LINE_HINT_PGI = 107042, + GL_WRAP_BORDER_SUN = 0x81D4, + GL_XOR = 0x1506, + GL_YCRCB_422_SGIX = 0x81BB, + GL_YCRCB_444_SGIX = 0x81BC, + GL_ZERO = 0x0, + GL_ZOOM_X = 0x0D16, + GL_ZOOM_Y = 0x0D17 +}; diff --git a/C2J/gl-proto-auto.orig.h b/C2J/gl-proto-auto.orig.h new file mode 100644 index 0000000..a68a745 --- /dev/null +++ b/C2J/gl-proto-auto.orig.h @@ -0,0 +1,589 @@ +extern void glClearIndex( GLfloat c ); +extern void glClearColor( GLclampf red, + GLclampf green, + GLclampf blue, + GLclampf alpha ); +extern void glClear( GLbitfield mask ); +extern void glIndexMask( GLuint mask ); +extern void glColorMask( GLboolean red, GLboolean green, + GLboolean blue, GLboolean alpha ); +extern void glAlphaFunc( GLenum func, GLclampf ref ); +extern void glBlendFunc( GLenum sfactor, GLenum dfactor ); +extern void glLogicOp( GLenum opcode ); +extern void glCullFace( GLenum mode ); +extern void glFrontFace( GLenum mode ); +extern void glPointSize( GLfloat size ); +extern void glLineWidth( GLfloat width ); +extern void glLineStipple( GLint factor, GLushort pattern ); +extern void glPolygonMode( GLenum face, GLenum mode ); +extern void glPolygonOffset( GLfloat factor, GLfloat units ); +extern void glPolygonStipple( const GLubyte *mask ); +extern void glGetPolygonStipple( GLubyte *mask ); +extern void glEdgeFlag( GLboolean flag ); +extern void glEdgeFlagv( const GLboolean *flag ); +extern void glScissor( GLint x, GLint y, + GLsizei width, GLsizei height); +extern void glClipPlane( GLenum plane, const GLdouble *equation ); +extern void glGetClipPlane( GLenum plane, GLdouble *equation ); +extern void glDrawBuffer( GLenum mode ); +extern void glReadBuffer( GLenum mode ); +extern void glEnable( GLenum cap ); +extern void glDisable( GLenum cap ); +extern GLboolean glIsEnabled( GLenum cap ); +extern void glEnableClientState( GLenum cap ); +extern void glDisableClientState( GLenum cap ); +extern void glGetBooleanv( GLenum pname, GLboolean *params ); +extern void glGetDoublev( GLenum pname, GLdouble *params ); +extern void glGetFloatv( GLenum pname, GLfloat *params ); +extern void glGetIntegerv( GLenum pname, GLint *params ); +extern void glPushAttrib( GLbitfield mask ); +extern void glPopAttrib( void ); +extern void glPushClientAttrib( GLbitfield mask ); +extern void glPopClientAttrib( void ); +extern GLint glRenderMode( GLenum mode ); +extern GLenum glGetError( void ); +extern void glFinish( void ); +extern void glFlush( void ); +extern void glHint( GLenum target, GLenum mode ); +extern void glClearDepth( GLclampd depth ); +extern void glDepthFunc( GLenum func ); +extern void glDepthMask( GLboolean flag ); +extern void glDepthRange( GLclampd near_val, GLclampd far_val ); +extern void glClearAccum( GLfloat red, GLfloat green, + GLfloat blue, GLfloat alpha ); +extern void glAccum( GLenum op, GLfloat value ); +extern void glMatrixMode( GLenum mode ); +extern void glOrtho( GLdouble left, GLdouble right, + GLdouble bottom, GLdouble top, + GLdouble near_val, GLdouble far_val ); +extern void glFrustum( GLdouble left, GLdouble right, + GLdouble bottom, GLdouble top, + GLdouble near_val, GLdouble far_val ); +extern void glViewport( GLint x, GLint y, + GLsizei width, GLsizei height ); +extern void glPushMatrix( void ); +extern void glPopMatrix( void ); +extern void glLoadIdentity( void ); +extern void glLoadMatrixd( const GLdouble *m ); +extern void glLoadMatrixf( const GLfloat *m ); +extern void glMultMatrixd( const GLdouble *m ); +extern void glMultMatrixf( const GLfloat *m ); +extern void glRotated( GLdouble angle, + GLdouble x, GLdouble y, GLdouble z ); +extern void glRotatef( GLfloat angle, + GLfloat x, GLfloat y, GLfloat z ); +extern void glScaled( GLdouble x, GLdouble y, GLdouble z ); +extern void glScalef( GLfloat x, GLfloat y, GLfloat z ); +extern void glTranslated( GLdouble x, GLdouble y, GLdouble z ); +extern void glTranslatef( GLfloat x, GLfloat y, GLfloat z ); +extern GLboolean glIsList( GLuint list ); +extern void glDeleteLists( GLuint list, GLsizei range ); +extern GLuint glGenLists( GLsizei range ); +extern void glNewList( GLuint list, GLenum mode ); +extern void glEndList( void ); +extern void glCallList( GLuint list ); +extern void glCallLists( GLsizei n, GLenum type, + const GLvoid *lists ); +extern void glListBase( GLuint base ); +extern void glBegin( GLenum mode ); +extern void glEnd( void ); +extern void glVertex2d( GLdouble x, GLdouble y ); +extern void glVertex2f( GLfloat x, GLfloat y ); +extern void glVertex2i( GLint x, GLint y ); +extern void glVertex2s( GLshort x, GLshort y ); +extern void glVertex3d( GLdouble x, GLdouble y, GLdouble z ); +extern void glVertex3f( GLfloat x, GLfloat y, GLfloat z ); +extern void glVertex3i( GLint x, GLint y, GLint z ); +extern void glVertex3s( GLshort x, GLshort y, GLshort z ); +extern void glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); +extern void glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); +extern void glVertex4i( GLint x, GLint y, GLint z, GLint w ); +extern void glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ); +extern void glVertex2dv( const GLdouble *v ); +extern void glVertex2fv( const GLfloat *v ); +extern void glVertex2iv( const GLint *v ); +extern void glVertex2sv( const GLshort *v ); +extern void glVertex3dv( const GLdouble *v ); +extern void glVertex3fv( const GLfloat *v ); +extern void glVertex3iv( const GLint *v ); +extern void glVertex3sv( const GLshort *v ); +extern void glVertex4dv( const GLdouble *v ); +extern void glVertex4fv( const GLfloat *v ); +extern void glVertex4iv( const GLint *v ); +extern void glVertex4sv( const GLshort *v ); +extern void glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ); +extern void glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ); +extern void glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ); +extern void glNormal3i( GLint nx, GLint ny, GLint nz ); +extern void glNormal3s( GLshort nx, GLshort ny, GLshort nz ); +extern void glNormal3bv( const GLbyte *v ); +extern void glNormal3dv( const GLdouble *v ); +extern void glNormal3fv( const GLfloat *v ); +extern void glNormal3iv( const GLint *v ); +extern void glNormal3sv( const GLshort *v ); +extern void glIndexd( GLdouble c ); +extern void glIndexf( GLfloat c ); +extern void glIndexi( GLint c ); +extern void glIndexs( GLshort c ); +extern void glIndexub( GLubyte c ); +extern void glIndexdv( const GLdouble *c ); +extern void glIndexfv( const GLfloat *c ); +extern void glIndexiv( const GLint *c ); +extern void glIndexsv( const GLshort *c ); +extern void glIndexubv( const GLubyte *c ); +extern void glColor3b( GLbyte red, GLbyte green, GLbyte blue ); +extern void glColor3d( GLdouble red, GLdouble green, GLdouble blue ); +extern void glColor3f( GLfloat red, GLfloat green, GLfloat blue ); +extern void glColor3i( GLint red, GLint green, GLint blue ); +extern void glColor3s( GLshort red, GLshort green, GLshort blue ); +extern void glColor3ub( GLubyte red, GLubyte green, GLubyte blue ); +extern void glColor3ui( GLuint red, GLuint green, GLuint blue ); +extern void glColor3us( GLushort red, GLushort green, GLushort blue ); +extern void glColor4b( GLbyte red, GLbyte green, + GLbyte blue, GLbyte alpha ); +extern void glColor4d( GLdouble red, GLdouble green, + GLdouble blue, GLdouble alpha ); +extern void glColor4f( GLfloat red, GLfloat green, + GLfloat blue, GLfloat alpha ); +extern void glColor4i( GLint red, GLint green, + GLint blue, GLint alpha ); +extern void glColor4s( GLshort red, GLshort green, + GLshort blue, GLshort alpha ); +extern void glColor4ub( GLubyte red, GLubyte green, + GLubyte blue, GLubyte alpha ); +extern void glColor4ui( GLuint red, GLuint green, + GLuint blue, GLuint alpha ); +extern void glColor4us( GLushort red, GLushort green, + GLushort blue, GLushort alpha ); +extern void glColor3bv( const GLbyte *v ); +extern void glColor3dv( const GLdouble *v ); +extern void glColor3fv( const GLfloat *v ); +extern void glColor3iv( const GLint *v ); +extern void glColor3sv( const GLshort *v ); +extern void glColor3ubv( const GLubyte *v ); +extern void glColor3uiv( const GLuint *v ); +extern void glColor3usv( const GLushort *v ); +extern void glColor4bv( const GLbyte *v ); +extern void glColor4dv( const GLdouble *v ); +extern void glColor4fv( const GLfloat *v ); +extern void glColor4iv( const GLint *v ); +extern void glColor4sv( const GLshort *v ); +extern void glColor4ubv( const GLubyte *v ); +extern void glColor4uiv( const GLuint *v ); +extern void glColor4usv( const GLushort *v ); +extern void glTexCoord1d( GLdouble s ); +extern void glTexCoord1f( GLfloat s ); +extern void glTexCoord1i( GLint s ); +extern void glTexCoord1s( GLshort s ); +extern void glTexCoord2d( GLdouble s, GLdouble t ); +extern void glTexCoord2f( GLfloat s, GLfloat t ); +extern void glTexCoord2i( GLint s, GLint t ); +extern void glTexCoord2s( GLshort s, GLshort t ); +extern void glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ); +extern void glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ); +extern void glTexCoord3i( GLint s, GLint t, GLint r ); +extern void glTexCoord3s( GLshort s, GLshort t, GLshort r ); +extern void glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ); +extern void glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ); +extern void glTexCoord4i( GLint s, GLint t, GLint r, GLint q ); +extern void glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ); +extern void glTexCoord1dv( const GLdouble *v ); +extern void glTexCoord1fv( const GLfloat *v ); +extern void glTexCoord1iv( const GLint *v ); +extern void glTexCoord1sv( const GLshort *v ); +extern void glTexCoord2dv( const GLdouble *v ); +extern void glTexCoord2fv( const GLfloat *v ); +extern void glTexCoord2iv( const GLint *v ); +extern void glTexCoord2sv( const GLshort *v ); +extern void glTexCoord3dv( const GLdouble *v ); +extern void glTexCoord3fv( const GLfloat *v ); +extern void glTexCoord3iv( const GLint *v ); +extern void glTexCoord3sv( const GLshort *v ); +extern void glTexCoord4dv( const GLdouble *v ); +extern void glTexCoord4fv( const GLfloat *v ); +extern void glTexCoord4iv( const GLint *v ); +extern void glTexCoord4sv( const GLshort *v ); +extern void glRasterPos2d( GLdouble x, GLdouble y ); +extern void glRasterPos2f( GLfloat x, GLfloat y ); +extern void glRasterPos2i( GLint x, GLint y ); +extern void glRasterPos2s( GLshort x, GLshort y ); +extern void glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ); +extern void glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ); +extern void glRasterPos3i( GLint x, GLint y, GLint z ); +extern void glRasterPos3s( GLshort x, GLshort y, GLshort z ); +extern void glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); +extern void glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); +extern void glRasterPos4i( GLint x, GLint y, GLint z, GLint w ); +extern void glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ); +extern void glRasterPos2dv( const GLdouble *v ); +extern void glRasterPos2fv( const GLfloat *v ); +extern void glRasterPos2iv( const GLint *v ); +extern void glRasterPos2sv( const GLshort *v ); +extern void glRasterPos3dv( const GLdouble *v ); +extern void glRasterPos3fv( const GLfloat *v ); +extern void glRasterPos3iv( const GLint *v ); +extern void glRasterPos3sv( const GLshort *v ); +extern void glRasterPos4dv( const GLdouble *v ); +extern void glRasterPos4fv( const GLfloat *v ); +extern void glRasterPos4iv( const GLint *v ); +extern void glRasterPos4sv( const GLshort *v ); +extern void glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ); +extern void glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ); +extern void glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ); +extern void glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ); +extern void glRectdv( const GLdouble *v1, const GLdouble *v2 ); +extern void glRectfv( const GLfloat *v1, const GLfloat *v2 ); +extern void glRectiv( const GLint *v1, const GLint *v2 ); +extern void glRectsv( const GLshort *v1, const GLshort *v2 ); +extern void glVertexPointer( GLint size, GLenum type, + GLsizei stride, const GLvoid *ptr ); +extern void glNormalPointer( GLenum type, GLsizei stride, + const GLvoid *ptr ); +extern void glColorPointer( GLint size, GLenum type, + GLsizei stride, const GLvoid *ptr ); +extern void glIndexPointer( GLenum type, GLsizei stride, + const GLvoid *ptr ); +extern void glTexCoordPointer( GLint size, GLenum type, + GLsizei stride, const GLvoid *ptr ); +extern void glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr ); +extern void glGetPointerv( GLenum pname, void **params ); +extern void glArrayElement( GLint i ); +extern void glDrawArrays( GLenum mode, GLint first, GLsizei count ); +extern void glDrawElements( GLenum mode, GLsizei count, + GLenum type, const GLvoid *indices ); +extern void glInterleavedArrays( GLenum format, GLsizei stride, + const GLvoid *pointer ); +extern void glShadeModel( GLenum mode ); +extern void glLightf( GLenum light, GLenum pname, GLfloat param ); +extern void glLighti( GLenum light, GLenum pname, GLint param ); +extern void glLightfv( GLenum light, GLenum pname, + const GLfloat *params ); +extern void glLightiv( GLenum light, GLenum pname, + const GLint *params ); +extern void glGetLightfv( GLenum light, GLenum pname, + GLfloat *params ); +extern void glGetLightiv( GLenum light, GLenum pname, + GLint *params ); +extern void glLightModelf( GLenum pname, GLfloat param ); +extern void glLightModeli( GLenum pname, GLint param ); +extern void glLightModelfv( GLenum pname, const GLfloat *params ); +extern void glLightModeliv( GLenum pname, const GLint *params ); +extern void glMaterialf( GLenum face, GLenum pname, GLfloat param ); +extern void glMateriali( GLenum face, GLenum pname, GLint param ); +extern void glMaterialfv( GLenum face, GLenum pname, const GLfloat *params ); +extern void glMaterialiv( GLenum face, GLenum pname, const GLint *params ); +extern void glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params ); +extern void glGetMaterialiv( GLenum face, GLenum pname, GLint *params ); +extern void glColorMaterial( GLenum face, GLenum mode ); +extern void glPixelZoom( GLfloat xfactor, GLfloat yfactor ); +extern void glPixelStoref( GLenum pname, GLfloat param ); +extern void glPixelStorei( GLenum pname, GLint param ); +extern void glPixelTransferf( GLenum pname, GLfloat param ); +extern void glPixelTransferi( GLenum pname, GLint param ); +extern void glPixelMapfv( GLenum map, GLint mapsize, + const GLfloat *values ); +extern void glPixelMapuiv( GLenum map, GLint mapsize, + const GLuint *values ); +extern void glPixelMapusv( GLenum map, GLint mapsize, + const GLushort *values ); +extern void glGetPixelMapfv( GLenum map, GLfloat *values ); +extern void glGetPixelMapuiv( GLenum map, GLuint *values ); +extern void glGetPixelMapusv( GLenum map, GLushort *values ); +extern void glBitmap( GLsizei width, GLsizei height, + GLfloat xorig, GLfloat yorig, + GLfloat xmove, GLfloat ymove, + const GLubyte *bitmap ); +extern void glReadPixels( GLint x, GLint y, + GLsizei width, GLsizei height, + GLenum format, GLenum type, + GLvoid *pixels ); +extern void glDrawPixels( GLsizei width, GLsizei height, + GLenum format, GLenum type, + const GLvoid *pixels ); +extern void glCopyPixels( GLint x, GLint y, + GLsizei width, GLsizei height, + GLenum type ); +extern void glStencilFunc( GLenum func, GLint ref, GLuint mask ); +extern void glStencilMask( GLuint mask ); +extern void glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ); +extern void glClearStencil( GLint s ); +extern void glTexGend( GLenum coord, GLenum pname, GLdouble param ); +extern void glTexGenf( GLenum coord, GLenum pname, GLfloat param ); +extern void glTexGeni( GLenum coord, GLenum pname, GLint param ); +extern void glTexGendv( GLenum coord, GLenum pname, const GLdouble *params ); +extern void glTexGenfv( GLenum coord, GLenum pname, const GLfloat *params ); +extern void glTexGeniv( GLenum coord, GLenum pname, const GLint *params ); +extern void glGetTexGendv( GLenum coord, GLenum pname, GLdouble *params ); +extern void glGetTexGenfv( GLenum coord, GLenum pname, GLfloat *params ); +extern void glGetTexGeniv( GLenum coord, GLenum pname, GLint *params ); +extern void glTexEnvf( GLenum target, GLenum pname, GLfloat param ); +extern void glTexEnvi( GLenum target, GLenum pname, GLint param ); +extern void glTexEnvfv( GLenum target, GLenum pname, const GLfloat *params ); +extern void glTexEnviv( GLenum target, GLenum pname, const GLint *params ); +extern void glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params ); +extern void glGetTexEnviv( GLenum target, GLenum pname, GLint *params ); +extern void glTexParameterf( GLenum target, GLenum pname, GLfloat param ); +extern void glTexParameteri( GLenum target, GLenum pname, GLint param ); +extern void glTexParameterfv( GLenum target, GLenum pname, + const GLfloat *params ); +extern void glTexParameteriv( GLenum target, GLenum pname, + const GLint *params ); +extern void glGetTexParameterfv( GLenum target, + GLenum pname, GLfloat *params); +extern void glGetTexParameteriv( GLenum target, + GLenum pname, GLint *params ); +extern void glGetTexLevelParameterfv( GLenum target, GLint level, + GLenum pname, GLfloat *params ); +extern void glGetTexLevelParameteriv( GLenum target, GLint level, + GLenum pname, GLint *params ); +extern void glTexImage1D( GLenum target, GLint level, + GLint internalFormat, + GLsizei width, GLint border, + GLenum format, GLenum type, + const GLvoid *pixels ); +extern void glTexImage2D( GLenum target, GLint level, + GLint internalFormat, + GLsizei width, GLsizei height, + GLint border, GLenum format, GLenum type, + const GLvoid *pixels ); +extern void glGetTexImage( GLenum target, GLint level, + GLenum format, GLenum type, + GLvoid *pixels ); +extern void glGenTextures( GLsizei n, GLuint *textures ); +extern void glDeleteTextures( GLsizei n, const GLuint *textures); +extern void glBindTexture( GLenum target, GLuint texture ); +extern void glPrioritizeTextures( GLsizei n, + const GLuint *textures, + const GLclampf *priorities ); +extern GLboolean glAreTexturesResident( GLsizei n, + const GLuint *textures, + GLboolean *residences ); +extern GLboolean glIsTexture( GLuint texture ); +extern void glTexSubImage1D( GLenum target, GLint level, + GLint xoffset, + GLsizei width, GLenum format, + GLenum type, const GLvoid *pixels ); +extern void glTexSubImage2D( GLenum target, GLint level, + GLint xoffset, GLint yoffset, + GLsizei width, GLsizei height, + GLenum format, GLenum type, + const GLvoid *pixels ); +extern void glCopyTexImage1D( GLenum target, GLint level, + GLenum internalformat, + GLint x, GLint y, + GLsizei width, GLint border ); +extern void glCopyTexImage2D( GLenum target, GLint level, + GLenum internalformat, + GLint x, GLint y, + GLsizei width, GLsizei height, + GLint border ); +extern void glCopyTexSubImage1D( GLenum target, GLint level, + GLint xoffset, GLint x, GLint y, + GLsizei width ); +extern void glCopyTexSubImage2D( GLenum target, GLint level, + GLint xoffset, GLint yoffset, + GLint x, GLint y, + GLsizei width, GLsizei height ); +extern void glMap1d( GLenum target, GLdouble u1, GLdouble u2, + GLint stride, + GLint order, const GLdouble *points ); +extern void glMap1f( GLenum target, GLfloat u1, GLfloat u2, + GLint stride, + GLint order, const GLfloat *points ); +extern void glMap2d( GLenum target, + GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, + GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, + const GLdouble *points ); +extern void glMap2f( GLenum target, + GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, + GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, + const GLfloat *points ); +extern void glGetMapdv( GLenum target, GLenum query, GLdouble *v ); +extern void glGetMapfv( GLenum target, GLenum query, GLfloat *v ); +extern void glGetMapiv( GLenum target, GLenum query, GLint *v ); +extern void glEvalCoord1d( GLdouble u ); +extern void glEvalCoord1f( GLfloat u ); +extern void glEvalCoord1dv( const GLdouble *u ); +extern void glEvalCoord1fv( const GLfloat *u ); +extern void glEvalCoord2d( GLdouble u, GLdouble v ); +extern void glEvalCoord2f( GLfloat u, GLfloat v ); +extern void glEvalCoord2dv( const GLdouble *u ); +extern void glEvalCoord2fv( const GLfloat *u ); +extern void glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ); +extern void glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ); +extern void glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, + GLint vn, GLdouble v1, GLdouble v2 ); +extern void glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, + GLint vn, GLfloat v1, GLfloat v2 ); +extern void glEvalPoint1( GLint i ); +extern void glEvalPoint2( GLint i, GLint j ); +extern void glEvalMesh1( GLenum mode, GLint i1, GLint i2 ); +extern void glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ); +extern void glFogf( GLenum pname, GLfloat param ); +extern void glFogi( GLenum pname, GLint param ); +extern void glFogfv( GLenum pname, const GLfloat *params ); +extern void glFogiv( GLenum pname, const GLint *params ); +extern void glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer ); +extern void glPassThrough( GLfloat token ); +extern void glSelectBuffer( GLsizei size, GLuint *buffer ); +extern void glInitNames( void ); +extern void glLoadName( GLuint name ); +extern void glPushName( GLuint name ); +extern void glPopName( void ); +extern void glDrawRangeElements( GLenum mode, GLuint start, + GLuint end, GLsizei count, GLenum type, const GLvoid *indices ); +extern void glTexImage3D( GLenum target, GLint level, + GLint internalFormat, + GLsizei width, GLsizei height, + GLsizei depth, GLint border, + GLenum format, GLenum type, + const GLvoid *pixels ); +extern void glTexSubImage3D( GLenum target, GLint level, + GLint xoffset, GLint yoffset, + GLint zoffset, GLsizei width, + GLsizei height, GLsizei depth, + GLenum format, + GLenum type, const GLvoid *pixels); +extern void glCopyTexSubImage3D( GLenum target, GLint level, + GLint xoffset, GLint yoffset, + GLint zoffset, GLint x, + GLint y, GLsizei width, + GLsizei height ); +extern void glColorTable( GLenum target, GLenum internalformat, + GLsizei width, GLenum format, + GLenum type, const GLvoid *table ); +extern void glColorSubTable( GLenum target, + GLsizei start, GLsizei count, + GLenum format, GLenum type, + const GLvoid *data ); +extern void glColorTableParameteriv(GLenum target, GLenum pname, + const GLint *params); +extern void glColorTableParameterfv(GLenum target, GLenum pname, + const GLfloat *params); +extern void glCopyColorSubTable( GLenum target, GLsizei start, + GLint x, GLint y, GLsizei width ); +extern void glCopyColorTable( GLenum target, GLenum internalformat, + GLint x, GLint y, GLsizei width ); +extern void glGetColorTable( GLenum target, GLenum format, + GLenum type, GLvoid *table ); +extern void glGetColorTableParameterfv( GLenum target, GLenum pname, + GLfloat *params ); +extern void glGetColorTableParameteriv( GLenum target, GLenum pname, + GLint *params ); +extern void glBlendEquation( GLenum mode ); +extern void glBlendColor( GLclampf red, GLclampf green, + GLclampf blue, GLclampf alpha ); +extern void glHistogram( GLenum target, GLsizei width, + GLenum internalformat, GLboolean sink ); +extern void glResetHistogram( GLenum target ); +extern void glGetHistogram( GLenum target, GLboolean reset, + GLenum format, GLenum type, + GLvoid *values ); +extern void glGetHistogramParameterfv( GLenum target, GLenum pname, + GLfloat *params ); +extern void glGetHistogramParameteriv( GLenum target, GLenum pname, + GLint *params ); +extern void glMinmax( GLenum target, GLenum internalformat, + GLboolean sink ); +extern void glResetMinmax( GLenum target ); +extern void glGetMinmax( GLenum target, GLboolean reset, + GLenum format, GLenum types, + GLvoid *values ); +extern void glGetMinmaxParameterfv( GLenum target, GLenum pname, + GLfloat *params ); +extern void glGetMinmaxParameteriv( GLenum target, GLenum pname, + GLint *params ); +extern void glConvolutionFilter1D( GLenum target, + GLenum internalformat, GLsizei width, GLenum format, GLenum type, + const GLvoid *image ); +extern void glConvolutionFilter2D( GLenum target, + GLenum internalformat, GLsizei width, GLsizei height, GLenum format, + GLenum type, const GLvoid *image ); +extern void glConvolutionParameterf( GLenum target, GLenum pname, + GLfloat params ); +extern void glConvolutionParameterfv( GLenum target, GLenum pname, + const GLfloat *params ); +extern void glConvolutionParameteri( GLenum target, GLenum pname, + GLint params ); +extern void glConvolutionParameteriv( GLenum target, GLenum pname, + const GLint *params ); +extern void glCopyConvolutionFilter1D( GLenum target, + GLenum internalformat, GLint x, GLint y, GLsizei width ); +extern void glCopyConvolutionFilter2D( GLenum target, + GLenum internalformat, GLint x, GLint y, GLsizei width, + GLsizei height); +extern void glGetConvolutionFilter( GLenum target, GLenum format, + GLenum type, GLvoid *image ); +extern void glGetConvolutionParameterfv( GLenum target, GLenum pname, + GLfloat *params ); +extern void glGetConvolutionParameteriv( GLenum target, GLenum pname, + GLint *params ); +extern void glSeparableFilter2D( GLenum target, + GLenum internalformat, GLsizei width, GLsizei height, GLenum format, + GLenum type, const GLvoid *row, const GLvoid *column ); +extern void glGetSeparableFilter( GLenum target, GLenum format, + GLenum type, GLvoid *row, GLvoid *column, GLvoid *span ); +extern void glBlendColorEXT( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ); +extern void glPolygonOffsetEXT( GLfloat factor, GLfloat bias ); +extern void glTexImage3DEXT( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ); +extern void glTexSubImage3DEXT( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); +extern void glCopyTexSubImage3DEXT( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ); +extern void glGenTexturesEXT( GLsizei n, GLuint *textures ); +extern void glDeleteTexturesEXT( GLsizei n, const GLuint *textures); +extern void glBindTextureEXT( GLenum target, GLuint texture ); +extern void glPrioritizeTexturesEXT( GLsizei n, const GLuint *textures, const GLclampf *priorities ); +extern GLboolean glAreTexturesResidentEXT( GLsizei n, const GLuint *textures, GLboolean *residences ); +extern GLboolean glIsTextureEXT( GLuint texture ); +extern void glVertexPointerEXT( GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ); +extern void glNormalPointerEXT( GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ); +extern void glColorPointerEXT( GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ); +extern void glIndexPointerEXT( GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ); +extern void glTexCoordPointerEXT( GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ); +extern void glEdgeFlagPointerEXT( GLsizei stride, GLsizei count, const GLboolean *ptr ); +extern void glGetPointervEXT( GLenum pname, void **params ); +extern void glArrayElementEXT( GLint i ); +extern void glDrawArraysEXT( GLenum mode, GLint first, GLsizei count ); +extern void glBlendEquationEXT( GLenum mode ); +extern void glPointParameterfEXT( GLenum pname, GLfloat param ); +extern void glPointParameterfvEXT( GLenum pname, const GLfloat *params ); +extern void glColorTableEXT( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table ); +extern void glColorSubTableEXT( GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data ); +extern void glGetColorTableEXT( GLenum target, GLenum format, GLenum type, GLvoid *table ); +extern void glGetColorTableParameterfvEXT( GLenum target, GLenum pname, GLfloat *params ); +extern void glGetColorTableParameterivEXT( GLenum target, GLenum pname, GLint *params ); +extern void glLockArraysEXT( GLint first, GLsizei count ); +extern void glUnlockArraysEXT( void ); +extern void glActiveTextureARB(GLenum texture); +extern void glClientActiveTextureARB(GLenum texture); +extern void glMultiTexCoord1dARB(GLenum target, GLdouble s); +extern void glMultiTexCoord1dvARB(GLenum target, const GLdouble *v); +extern void glMultiTexCoord1fARB(GLenum target, GLfloat s); +extern void glMultiTexCoord1fvARB(GLenum target, const GLfloat *v); +extern void glMultiTexCoord1iARB(GLenum target, GLint s); +extern void glMultiTexCoord1ivARB(GLenum target, const GLint *v); +extern void glMultiTexCoord1sARB(GLenum target, GLshort s); +extern void glMultiTexCoord1svARB(GLenum target, const GLshort *v); +extern void glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t); +extern void glMultiTexCoord2dvARB(GLenum target, const GLdouble *v); +extern void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t); +extern void glMultiTexCoord2fvARB(GLenum target, const GLfloat *v); +extern void glMultiTexCoord2iARB(GLenum target, GLint s, GLint t); +extern void glMultiTexCoord2ivARB(GLenum target, const GLint *v); +extern void glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t); +extern void glMultiTexCoord2svARB(GLenum target, const GLshort *v); +extern void glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r); +extern void glMultiTexCoord3dvARB(GLenum target, const GLdouble *v); +extern void glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r); +extern void glMultiTexCoord3fvARB(GLenum target, const GLfloat *v); +extern void glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r); +extern void glMultiTexCoord3ivARB(GLenum target, const GLint *v); +extern void glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r); +extern void glMultiTexCoord3svARB(GLenum target, const GLshort *v); +extern void glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); +extern void glMultiTexCoord4dvARB(GLenum target, const GLdouble *v); +extern void glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +extern void glMultiTexCoord4fvARB(GLenum target, const GLfloat *v); +extern void glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q); +extern void glMultiTexCoord4ivARB(GLenum target, const GLint *v); +extern void glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); +extern void glMultiTexCoord4svARB(GLenum target, const GLshort *v); diff --git a/C2J/glu-enum-auto.orig.h b/C2J/glu-enum-auto.orig.h new file mode 100644 index 0000000..4e5eb64 --- /dev/null +++ b/C2J/glu-enum-auto.orig.h @@ -0,0 +1,108 @@ +typedef enum { + GLU_AUTO_LOAD_MATRIX = 100200, + GLU_CCW = 100121, + GLU_CULLING = 100201, + GLU_CW = 100120, + GLU_DISPLAY_MODE = 100204, + GLU_DOMAIN_DISTANCE = 100217, + GLU_EXTENSIONS = 100801, + GLU_EXTERIOR = 100123, + GLU_FALSE = 0, + GLU_FILL = 100012, + GLU_FLAT = 100001, + GLU_INCOMPATIBLE_GL_VERSION = 100903, + GLU_INSIDE = 100021, + GLU_INTERIOR = 100122, + GLU_INVALID_ENUM = 100900, + GLU_INVALID_VALUE = 100901, + GLU_LINE = 100011, + GLU_MAP1_TRIM_2 = 100210, + GLU_MAP1_TRIM_3 = 100211, + GLU_NONE = 100002, + GLU_NURBS_ERROR1 = 100251, + GLU_NURBS_ERROR10 = 100260, + GLU_NURBS_ERROR11 = 100261, + GLU_NURBS_ERROR12 = 100262, + GLU_NURBS_ERROR13 = 100263, + GLU_NURBS_ERROR14 = 100264, + GLU_NURBS_ERROR15 = 100265, + GLU_NURBS_ERROR16 = 100266, + GLU_NURBS_ERROR17 = 100267, + GLU_NURBS_ERROR18 = 100268, + GLU_NURBS_ERROR19 = 100269, + GLU_NURBS_ERROR2 = 100252, + GLU_NURBS_ERROR20 = 100270, + GLU_NURBS_ERROR21 = 100271, + GLU_NURBS_ERROR22 = 100272, + GLU_NURBS_ERROR23 = 100273, + GLU_NURBS_ERROR24 = 100274, + GLU_NURBS_ERROR25 = 100275, + GLU_NURBS_ERROR26 = 100276, + GLU_NURBS_ERROR27 = 100277, + GLU_NURBS_ERROR28 = 100278, + GLU_NURBS_ERROR29 = 100279, + GLU_NURBS_ERROR3 = 100253, + GLU_NURBS_ERROR30 = 100280, + GLU_NURBS_ERROR31 = 100281, + GLU_NURBS_ERROR32 = 100282, + GLU_NURBS_ERROR33 = 100283, + GLU_NURBS_ERROR34 = 100284, + GLU_NURBS_ERROR35 = 100285, + GLU_NURBS_ERROR36 = 100286, + GLU_NURBS_ERROR37 = 100287, + GLU_NURBS_ERROR4 = 100254, + GLU_NURBS_ERROR5 = 100255, + GLU_NURBS_ERROR6 = 100256, + GLU_NURBS_ERROR7 = 100257, + GLU_NURBS_ERROR8 = 100258, + GLU_NURBS_ERROR9 = 100259, + GLU_OUTLINE_PATCH = 100241, + GLU_OUTLINE_POLYGON = 100240, + GLU_OUTSIDE = 100020, + GLU_OUT_OF_MEMORY = 100902, + GLU_PARAMETRIC_ERROR = 100216, + GLU_PARAMETRIC_TOLERANCE = 100202, + GLU_PATH_LENGTH = 100215, + GLU_POINT = 100010, + GLU_SAMPLING_METHOD = 100205, + GLU_SAMPLING_TOLERANCE = 100203, + GLU_SILHOUETTE = 100013, + GLU_SMOOTH = 100000, + GLU_TESS_BEGIN = 100100, + GLU_TESS_BEGIN_DATA = 100106, + GLU_TESS_BOUNDARY_ONLY = 100141, + GLU_TESS_COMBINE = 100105, + GLU_TESS_COMBINE_DATA = 100111, + GLU_TESS_EDGE_FLAG = 100104, + GLU_TESS_EDGE_FLAG_DATA = 100110, + GLU_TESS_END = 100102, + GLU_TESS_END_DATA = 100108, + GLU_TESS_ERROR = 100103, + GLU_TESS_ERROR1 = 100151, + GLU_TESS_ERROR2 = 100152, + GLU_TESS_ERROR3 = 100153, + GLU_TESS_ERROR4 = 100154, + GLU_TESS_ERROR5 = 100155, + GLU_TESS_ERROR6 = 100156, + GLU_TESS_ERROR7 = 100157, + GLU_TESS_ERROR8 = 100158, + GLU_TESS_ERROR_DATA = 100109, + GLU_TESS_TOLERANCE = 100142, + GLU_TESS_VERTEX = 100101, + GLU_TESS_VERTEX_DATA = 100107, + GLU_TESS_WINDING_ABS_GEQ_TWO = 100134, + GLU_TESS_WINDING_NEGATIVE = 100133, + GLU_TESS_WINDING_NONZERO = 100131, + GLU_TESS_WINDING_ODD = 100130, + GLU_TESS_WINDING_POSITIVE = 100132, + GLU_TESS_WINDING_RULE = 100140, + GLU_UNKNOWN = 100124, + GLU_U_STEP = 100206, + GLU_VERSION = 100800, + GLU_V_STEP = 100207, + GLU_VERTEX = GLU_TESS_VERTEX, + GLU_BEGIN = GLU_TESS_BEGIN, + GLU_EDGE_FLAG = GLU_TESS_EDGE_FLAG, + GLU_END = GLU_TESS_END, + GLU_ERROR = GLU_TESS_ERROR +}; diff --git a/C2J/glu-proto-auto.orig.h b/C2J/glu-proto-auto.orig.h new file mode 100644 index 0000000..007921c --- /dev/null +++ b/C2J/glu-proto-auto.orig.h @@ -0,0 +1,106 @@ +extern void gluLookAt( GLdouble eyex, GLdouble eyey, GLdouble eyez, + GLdouble centerx, GLdouble centery, + GLdouble centerz, + GLdouble upx, GLdouble upy, GLdouble upz ); +extern void gluOrtho2D( GLdouble left, GLdouble right, + GLdouble bottom, GLdouble top ); +extern void gluPerspective( GLdouble fovy, GLdouble aspect, + GLdouble zNear, GLdouble zFar ); +extern void gluPickMatrix( GLdouble x, GLdouble y, + GLdouble width, GLdouble height, + GLint *viewport ); +extern GLint gluProject( GLdouble objx, GLdouble objy, GLdouble objz, + const GLdouble modelMatrix[16], + const GLdouble projMatrix[16], + const GLint viewport[4], + GLdouble *winx, GLdouble *winy, + GLdouble *winz ); +extern GLint gluUnProject( GLdouble winx, GLdouble winy, + GLdouble winz, + const GLdouble modelMatrix[16], + const GLdouble projMatrix[16], + const GLint viewport[4], + GLdouble *objx, GLdouble *objy, + GLdouble *objz ); +extern GLint gluScaleImage( GLenum format, + GLsizei widthin, GLsizei heightin, + GLenum typein, const char *datain, + GLsizei widthout, GLsizei heightout, + GLenum typeout, char *dataout ); +extern GLint gluBuild1DMipmaps( GLenum target, GLint components, + GLint width, GLenum format, + GLenum type, const void *data ); +extern GLint gluBuild2DMipmaps( GLenum target, GLint components, + GLint width, GLint height, + GLenum format, + GLenum type, const void *data ); +extern GLUquadricObj* gluNewQuadric( void ); +extern void gluQuadricDrawStyle( GLUquadricObj *quadObject, + GLenum drawStyle ); +extern void gluQuadricOrientation( GLUquadricObj *quadObject, + GLenum orientation ); +extern void gluQuadricNormals( GLUquadricObj *quadObject, + GLenum normals ); +extern void gluQuadricTexture( GLUquadricObj *quadObject, + GLboolean textureCoords ); +extern void gluCylinder( GLUquadricObj *qobj, + GLdouble baseRadius, + GLdouble topRadius, + GLdouble height, + GLint slices, GLint stacks ); +extern void gluSphere( GLUquadricObj *qobj, + GLdouble radius, GLint slices, + GLint stacks ); +extern void gluDisk( GLUquadricObj *qobj, + GLdouble innerRadius, GLdouble outerRadius, + GLint slices, GLint loops ); +extern void gluPartialDisk( GLUquadricObj *qobj, GLdouble innerRadius, + GLdouble outerRadius, GLint slices, + GLint loops, GLdouble startAngle, + GLdouble sweepAngle ); +extern GLUnurbsObj* gluNewNurbsRenderer( void ); +extern void gluLoadSamplingMatrices( GLUnurbsObj *nobj, + const GLfloat modelMatrix[16], + const GLfloat projMatrix[16], + const GLint viewport[4] ); +extern void gluNurbsProperty( GLUnurbsObj *nobj, GLenum property, + GLfloat value ); +extern void gluGetNurbsProperty( GLUnurbsObj *nobj, GLenum property, + GLfloat *value ); +extern void gluBeginCurve( GLUnurbsObj *nobj ); +extern void gluEndCurve( GLUnurbsObj * nobj ); +extern void gluNurbsCurve( GLUnurbsObj *nobj, GLint nknots, + GLfloat *knot, GLint stride, + GLfloat *ctlarray, GLint order, + GLenum type ); +extern void gluBeginSurface( GLUnurbsObj *nobj ); +extern void gluEndSurface( GLUnurbsObj * nobj ); +extern void gluNurbsSurface( GLUnurbsObj *nobj, + GLint sknot_count, GLfloat *sknot, + GLint tknot_count, GLfloat *tknot, + GLint s_stride, GLint t_stride, + GLfloat *ctlarray, + GLint sorder, GLint torder, + GLenum type ); +extern void gluBeginTrim( GLUnurbsObj *nobj ); +extern void gluEndTrim( GLUnurbsObj *nobj ); +extern void gluPwlCurve( GLUnurbsObj *nobj, GLint count, + GLfloat *array, GLint stride, + GLenum type ); +extern GLUtesselator* gluNewTess( void ); +extern void gluTessBeginPolygon( GLUtesselator *tobj, + void *polygon_data ); +extern void gluTessBeginContour( GLUtesselator *tobj ); +extern void gluTessVertex( GLUtesselator *tobj, GLdouble coords[3], + void *vertex_data ); +extern void gluTessEndContour( GLUtesselator *tobj ); +extern void gluTessEndPolygon( GLUtesselator *tobj ); +extern void gluTessProperty( GLUtesselator *tobj, GLenum which, + GLdouble value ); +extern void gluTessNormal( GLUtesselator *tobj, GLdouble x, + GLdouble y, GLdouble z ); +extern void gluGetTessProperty( GLUtesselator *tobj, GLenum which, + GLdouble *value ); +extern void gluBeginPolygon( GLUtesselator *tobj ); +extern void gluNextContour( GLUtesselator *tobj, GLenum type ); +extern void gluEndPolygon( GLUtesselator *tobj ); diff --git a/C2J/makefile b/C2J/makefile index a270f5f..692286a 100755 --- a/C2J/makefile +++ b/C2J/makefile @@ -51,8 +51,8 @@ htmldoc: C2J.html # # for java class gl4java.GLEnum # -gl-enum-auto.java: gl-enum-auto.orig C2J.class - java C2J jnijava gl4java_GLEnum gl-enum-auto.orig > gl-enum-auto.java +gl-enum-auto.java: gl-enum-auto.orig.h C2J.class + java C2J jnijava gl4java_GLEnum gl-enum-auto.orig.h > gl-enum-auto.java ../gl4java/GLEnum.java: warning.skel \ gl-enum-auto.java \ @@ -66,8 +66,8 @@ gl-enum-auto.java: gl-enum-auto.orig C2J.class # # for java class gl4java.GLUEnum # -glu-enum-auto.java: glu-enum-auto.orig C2J.class - java C2J jnijava gl4java_GLUEnum glu-enum-auto.orig > glu-enum-auto.java +glu-enum-auto.java: glu-enum-auto.orig.h C2J.class + java C2J jnijava gl4java_GLUEnum glu-enum-auto.orig.h > glu-enum-auto.java ../gl4java/GLUEnum.java: warning.skel \ glu-enum-auto.java \ @@ -82,23 +82,23 @@ glu-enum-auto.java: glu-enum-auto.orig C2J.class # Common for gl4java.GLFuncJauJNI and gl4java.GLFuncJauJNInf # Here we create the final part ! # -gl-proto-auto.java: gl-proto-auto.orig C2J.class - java C2J -echo jnijavaf gl4java_GLFuncJauJNI gl-proto-auto.orig \ +gl-proto-auto.java: gl-proto-auto.orig.h C2J.class + java C2J -echo jnijavaf gl4java_GLFuncJauJNI gl-proto-auto.orig.h \ > gl-proto-auto.java # # Common for gl4java.GLUFuncJauJNI and gl4java.GLUFuncJauJNInf # Here we create the final part ! # -glu-proto-auto.java: glu-proto-auto.orig C2J.class - java C2J -echo jnijavaf gl4java_GLUFuncJauJNI glu-proto-auto.orig \ +glu-proto-auto.java: glu-proto-auto.orig.h C2J.class + java C2J -echo jnijavaf gl4java_GLUFuncJauJNI glu-proto-auto.orig.h \ > glu-proto-auto.java # # for java interface gl4java.GLFunc # -gl-funcnames.skel: gl-proto-auto.orig C2J.class - java C2J glfnames gl4java_GLFuncJauJNI gl-proto-auto.orig \ +gl-funcnames.skel: gl-proto-auto.orig.h C2J.class + java C2J glfnames gl4java_GLFuncJauJNI gl-proto-auto.orig.h \ > gl-funcnames.skel gl-protoVirt-auto.java: gl-proto-auto.java @@ -209,8 +209,8 @@ glu-protoVirt-auto.java: glu-proto-auto.java # # for native library gl4javaJauJNI[32] # -gl-proto-dynauto.c: gl-proto-auto.orig C2J.class - java C2J -echo jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig \ +gl-proto-dynauto.c: gl-proto-auto.orig.h C2J.class + java C2J -echo jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig.h \ > gl-proto-dynauto.c ../CNativeCode/OpenGL_JauJNI_dynfuncs.c: warning.skel \ @@ -223,8 +223,8 @@ gl-proto-dynauto.c: gl-proto-auto.orig C2J.class gl-proto-dynauto.c \ > ../CNativeCode/OpenGL_JauJNI_dynfuncs.c -gl-proto-dynauto-tst.c: gl-proto-auto.orig C2J.class - java C2J -echo -jnic-trial jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig \ +gl-proto-dynauto-tst.c: gl-proto-auto.orig.h C2J.class + java C2J -echo -jnic-trial jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig.h \ > gl-proto-dynauto-tst.c ../CNativeCode/OpenGL_JauJNItst_dynfuncs.c: warning.skel \ @@ -237,8 +237,8 @@ gl-proto-dynauto-tst.c: gl-proto-auto.orig C2J.class gl-proto-dynauto-tst.c \ > ../CNativeCode/OpenGL_JauJNItst_dynfuncs.c -gl-proto-dynauto-jni12.c: gl-proto-auto.orig C2J.class - java C2J -echo -jnic-criticalarray jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig \ +gl-proto-dynauto-jni12.c: gl-proto-auto.orig.h C2J.class + java C2J -echo -jnic-criticalarray jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig.h \ > gl-proto-dynauto-jni12.c ../CNativeCode/OpenGL_JauJNI12_dynfuncs.c: warning.skel \ @@ -251,8 +251,8 @@ gl-proto-dynauto-jni12.c: gl-proto-auto.orig C2J.class gl-proto-dynauto-jni12.c \ > ../CNativeCode/OpenGL_JauJNI12_dynfuncs.c -gl-proto-dynauto-tst-jni12.c: gl-proto-auto.orig C2J.class - java C2J -echo -jnic-criticalarray -jnic-trial jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig \ +gl-proto-dynauto-tst-jni12.c: gl-proto-auto.orig.h C2J.class + java C2J -echo -jnic-criticalarray -jnic-trial jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig.h \ > gl-proto-dynauto-tst-jni12.c ../CNativeCode/OpenGL_JauJNI12tst_dynfuncs.c: warning.skel \ @@ -265,8 +265,8 @@ gl-proto-dynauto-tst-jni12.c: gl-proto-auto.orig C2J.class gl-proto-dynauto-tst-jni12.c \ > ../CNativeCode/OpenGL_JauJNI12tst_dynfuncs.c -glu-proto-auto.c: glu-proto-auto.orig C2J.class - java C2J -echo jnic gl4java_GLUFuncJauJNI glu-proto-auto.orig \ +glu-proto-auto.c: glu-proto-auto.orig.h C2J.class + java C2J -echo jnic gl4java_GLUFuncJauJNI glu-proto-auto.orig.h \ > glu-proto-auto.c ../CNativeCode/OpenGLU_JauJNI_funcs.c: C2J.class \ @@ -280,8 +280,8 @@ glu-proto-auto.c: glu-proto-auto.orig C2J.class glu-proto-auto.c \ > ../CNativeCode/OpenGLU_JauJNI_funcs.c -glu-proto-auto-tst.c: glu-proto-auto.orig C2J.class - java C2J -echo -jnic-trial jnic gl4java_GLUFuncJauJNI glu-proto-auto.orig \ +glu-proto-auto-tst.c: glu-proto-auto.orig.h C2J.class + java C2J -echo -jnic-trial jnic gl4java_GLUFuncJauJNI glu-proto-auto.orig.h \ > glu-proto-auto-tst.c ../CNativeCode/OpenGLU_JauJNItst_funcs.c: C2J.class \ @@ -296,8 +296,8 @@ glu-proto-auto-tst.c: glu-proto-auto.orig C2J.class > ../CNativeCode/OpenGLU_JauJNItst_funcs.c -glu-proto-auto-jni12.c: glu-proto-auto.orig C2J.class - java C2J -echo -jnic-criticalarray jnic gl4java_GLUFuncJauJNI glu-proto-auto.orig \ +glu-proto-auto-jni12.c: glu-proto-auto.orig.h C2J.class + java C2J -echo -jnic-criticalarray jnic gl4java_GLUFuncJauJNI glu-proto-auto.orig.h \ > glu-proto-auto-jni12.c ../CNativeCode/OpenGLU_JauJNI12_funcs.c: C2J.class \ @@ -311,8 +311,8 @@ glu-proto-auto-jni12.c: glu-proto-auto.orig C2J.class glu-proto-auto-jni12.c \ > ../CNativeCode/OpenGLU_JauJNI12_funcs.c -glu-proto-auto-tst-jni12.c: glu-proto-auto.orig C2J.class - java C2J -echo -jnic-criticalarray -jnic-trial jnic gl4java_GLUFuncJauJNI glu-proto-auto.orig \ +glu-proto-auto-tst-jni12.c: glu-proto-auto.orig.h C2J.class + java C2J -echo -jnic-criticalarray -jnic-trial jnic gl4java_GLUFuncJauJNI glu-proto-auto.orig.h \ > glu-proto-auto-tst-jni12.c ../CNativeCode/OpenGLU_JauJNI12tst_funcs.c: C2J.class \ |