aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src')
-rw-r--r--mesalib/src/gallium/auxiliary/util/u_format.csv1
-rw-r--r--mesalib/src/mapi/glapi/gen/ARB_texture_rgb10_a2ui.xml12
-rw-r--r--mesalib/src/mapi/glapi/gen/gl_API.xml2
-rw-r--r--mesalib/src/mesa/Android.mk2
-rw-r--r--mesalib/src/mesa/main/enums.c2333
-rw-r--r--mesalib/src/mesa/main/format_unpack.c28
-rw-r--r--mesalib/src/mesa/main/formats.c24
-rw-r--r--mesalib/src/mesa/main/formats.h2
-rw-r--r--mesalib/src/mesa/main/image.c6
-rw-r--r--mesalib/src/mesa/main/texstore.c21
-rw-r--r--mesalib/src/mesa/state_tracker/st_format.c8
-rw-r--r--mesalib/src/mesa/swrast/s_texfetch.c14
-rw-r--r--mesalib/src/mesa/swrast/s_texfetch_tmp.h48
13 files changed, 1328 insertions, 1173 deletions
diff --git a/mesalib/src/gallium/auxiliary/util/u_format.csv b/mesalib/src/gallium/auxiliary/util/u_format.csv
index 998ac416d..4b6fc7536 100644
--- a/mesalib/src/gallium/auxiliary/util/u_format.csv
+++ b/mesalib/src/gallium/auxiliary/util/u_format.csv
@@ -340,3 +340,4 @@ PIPE_FORMAT_I32_SINT , plain, 1, 1, sp32, , , , xxxx, rgb
PIPE_FORMAT_L32_SINT , plain, 1, 1, sp32, , , , xxx1, rgb
PIPE_FORMAT_L32A32_SINT , plain, 1, 1, sp32, sp32, , , xxxy, rgb
+PIPE_FORMAT_B10G10R10A2_UINT , plain, 1, 1, up10, up10, up10, up2, zyxw, rgb
diff --git a/mesalib/src/mapi/glapi/gen/ARB_texture_rgb10_a2ui.xml b/mesalib/src/mapi/glapi/gen/ARB_texture_rgb10_a2ui.xml
new file mode 100644
index 000000000..b61d97f58
--- /dev/null
+++ b/mesalib/src/mapi/glapi/gen/ARB_texture_rgb10_a2ui.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+
+<category name="GL_ARB_texture_rgb10_a2ui" number="83">
+
+ <enum name="RGB10_A2UI" value = "0x906F"/>
+
+</category>
+
+</OpenGLAPI>
diff --git a/mesalib/src/mapi/glapi/gen/gl_API.xml b/mesalib/src/mapi/glapi/gen/gl_API.xml
index 9baf66bd0..083fb3cd1 100644
--- a/mesalib/src/mapi/glapi/gen/gl_API.xml
+++ b/mesalib/src/mapi/glapi/gen/gl_API.xml
@@ -12424,4 +12424,6 @@
<xi:include href="ARB_vertex_type_2_10_10_10_rev.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+<xi:include href="ARB_texture_rgb10_a2ui.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
</OpenGLAPI>
diff --git a/mesalib/src/mesa/Android.mk b/mesalib/src/mesa/Android.mk
index f21ba3aa0..f6c0f4e33 100644
--- a/mesalib/src/mesa/Android.mk
+++ b/mesalib/src/mesa/Android.mk
@@ -56,6 +56,7 @@ LOCAL_SRC_FILES := x86/gen_matypes.c
LOCAL_CFLAGS := $(common_CFLAGS)
LOCAL_C_INCLUDES := $(common_C_INCLUDES)
LOCAL_MODULE := mesa_gen_matypes
+LOCAL_IS_HOST_MODULE := true
include $(MESA_COMMON_MK)
include $(BUILD_HOST_EXECUTABLE)
@@ -145,6 +146,7 @@ LOCAL_SRC_FILES := \
program/symbol_table.c
LOCAL_MODULE := libmesa_glsl_utils
+LOCAL_IS_HOST_MODULE := true
include $(MESA_COMMON_MK)
include $(BUILD_HOST_STATIC_LIBRARY)
diff --git a/mesalib/src/mesa/main/enums.c b/mesalib/src/mesa/main/enums.c
index a75831db3..93ac8be6b 100644
--- a/mesalib/src/mesa/main/enums.c
+++ b/mesalib/src/mesa/main/enums.c
@@ -1674,6 +1674,7 @@ LONGSTRING static const char enum_string_table[] =
"GL_RGB\0"
"GL_RGB10\0"
"GL_RGB10_A2\0"
+ "GL_RGB10_A2UI\0"
"GL_RGB10_A2_EXT\0"
"GL_RGB10_EXT\0"
"GL_RGB12\0"
@@ -2379,7 +2380,7 @@ LONGSTRING static const char enum_string_table[] =
"GL_ZOOM_Y\0"
;
-static const enum_elt all_enums[2340] =
+static const enum_elt all_enums[2341] =
{
{ 0, 0x00000600 }, /* GL_2D */
{ 6, 0x00001407 }, /* GL_2_BYTES */
@@ -4018,727 +4019,728 @@ static const enum_elt all_enums[2340] =
{ 37062, 0x00001907 }, /* GL_RGB */
{ 37069, 0x00008052 }, /* GL_RGB10 */
{ 37078, 0x00008059 }, /* GL_RGB10_A2 */
- { 37090, 0x00008059 }, /* GL_RGB10_A2_EXT */
- { 37106, 0x00008052 }, /* GL_RGB10_EXT */
- { 37119, 0x00008053 }, /* GL_RGB12 */
- { 37128, 0x00008053 }, /* GL_RGB12_EXT */
- { 37141, 0x00008054 }, /* GL_RGB16 */
- { 37150, 0x0000881B }, /* GL_RGB16F */
- { 37160, 0x00008D89 }, /* GL_RGB16I */
- { 37170, 0x00008D89 }, /* GL_RGB16I_EXT */
- { 37184, 0x00008D77 }, /* GL_RGB16UI */
- { 37195, 0x00008D77 }, /* GL_RGB16UI_EXT */
- { 37210, 0x00008054 }, /* GL_RGB16_EXT */
- { 37223, 0x00008F9A }, /* GL_RGB16_SNORM */
- { 37238, 0x0000804E }, /* GL_RGB2_EXT */
- { 37250, 0x00008815 }, /* GL_RGB32F */
- { 37260, 0x00008D83 }, /* GL_RGB32I */
- { 37270, 0x00008D83 }, /* GL_RGB32I_EXT */
- { 37284, 0x00008D71 }, /* GL_RGB32UI */
- { 37295, 0x00008D71 }, /* GL_RGB32UI_EXT */
- { 37310, 0x0000804F }, /* GL_RGB4 */
- { 37318, 0x0000804F }, /* GL_RGB4_EXT */
- { 37330, 0x000083A1 }, /* GL_RGB4_S3TC */
- { 37343, 0x00008050 }, /* GL_RGB5 */
- { 37351, 0x00008D62 }, /* GL_RGB565 */
- { 37361, 0x00008D62 }, /* GL_RGB565_OES */
- { 37375, 0x00008057 }, /* GL_RGB5_A1 */
- { 37386, 0x00008057 }, /* GL_RGB5_A1_EXT */
- { 37401, 0x00008057 }, /* GL_RGB5_A1_OES */
- { 37416, 0x00008050 }, /* GL_RGB5_EXT */
- { 37428, 0x00008051 }, /* GL_RGB8 */
- { 37436, 0x00008D8F }, /* GL_RGB8I */
- { 37445, 0x00008D8F }, /* GL_RGB8I_EXT */
- { 37458, 0x00008D7D }, /* GL_RGB8UI */
- { 37468, 0x00008D7D }, /* GL_RGB8UI_EXT */
- { 37482, 0x00008051 }, /* GL_RGB8_EXT */
- { 37494, 0x00008051 }, /* GL_RGB8_OES */
- { 37506, 0x00008F96 }, /* GL_RGB8_SNORM */
- { 37520, 0x00008C3D }, /* GL_RGB9_E5 */
- { 37531, 0x00001908 }, /* GL_RGBA */
- { 37539, 0x0000805A }, /* GL_RGBA12 */
- { 37549, 0x0000805A }, /* GL_RGBA12_EXT */
- { 37563, 0x0000805B }, /* GL_RGBA16 */
- { 37573, 0x0000881A }, /* GL_RGBA16F */
- { 37584, 0x00008D88 }, /* GL_RGBA16I */
- { 37595, 0x00008D88 }, /* GL_RGBA16I_EXT */
- { 37610, 0x00008D76 }, /* GL_RGBA16UI */
- { 37622, 0x00008D76 }, /* GL_RGBA16UI_EXT */
- { 37638, 0x0000805B }, /* GL_RGBA16_EXT */
- { 37652, 0x00008F9B }, /* GL_RGBA16_SNORM */
- { 37668, 0x00008055 }, /* GL_RGBA2 */
- { 37677, 0x00008055 }, /* GL_RGBA2_EXT */
- { 37690, 0x00008814 }, /* GL_RGBA32F */
- { 37701, 0x00008D82 }, /* GL_RGBA32I */
- { 37712, 0x00008D82 }, /* GL_RGBA32I_EXT */
- { 37727, 0x00008D70 }, /* GL_RGBA32UI */
- { 37739, 0x00008D70 }, /* GL_RGBA32UI_EXT */
- { 37755, 0x00008056 }, /* GL_RGBA4 */
- { 37764, 0x000083A5 }, /* GL_RGBA4_DXT5_S3TC */
- { 37783, 0x00008056 }, /* GL_RGBA4_EXT */
- { 37796, 0x00008056 }, /* GL_RGBA4_OES */
- { 37809, 0x000083A3 }, /* GL_RGBA4_S3TC */
- { 37823, 0x00008058 }, /* GL_RGBA8 */
- { 37832, 0x00008D8E }, /* GL_RGBA8I */
- { 37842, 0x00008D8E }, /* GL_RGBA8I_EXT */
- { 37856, 0x00008D7C }, /* GL_RGBA8UI */
- { 37867, 0x00008D7C }, /* GL_RGBA8UI_EXT */
- { 37882, 0x00008058 }, /* GL_RGBA8_EXT */
- { 37895, 0x00008058 }, /* GL_RGBA8_OES */
- { 37908, 0x00008F97 }, /* GL_RGBA8_SNORM */
- { 37923, 0x000083A4 }, /* GL_RGBA_DXT5_S3TC */
- { 37941, 0x00008820 }, /* GL_RGBA_FLOAT_MODE_ARB */
- { 37964, 0x00008D99 }, /* GL_RGBA_INTEGER */
- { 37980, 0x00008D99 }, /* GL_RGBA_INTEGER_EXT */
- { 38000, 0x00008D9E }, /* GL_RGBA_INTEGER_MODE_EXT */
- { 38025, 0x00000C31 }, /* GL_RGBA_MODE */
- { 38038, 0x000083A2 }, /* GL_RGBA_S3TC */
- { 38051, 0x00008F93 }, /* GL_RGBA_SNORM */
- { 38065, 0x00008D98 }, /* GL_RGB_INTEGER */
- { 38080, 0x00008D98 }, /* GL_RGB_INTEGER_EXT */
- { 38099, 0x000083A0 }, /* GL_RGB_S3TC */
- { 38111, 0x00008573 }, /* GL_RGB_SCALE */
- { 38124, 0x00008573 }, /* GL_RGB_SCALE_ARB */
- { 38141, 0x00008573 }, /* GL_RGB_SCALE_EXT */
- { 38158, 0x00008F92 }, /* GL_RGB_SNORM */
- { 38171, 0x00008F91 }, /* GL_RG_SNORM */
- { 38183, 0x00000407 }, /* GL_RIGHT */
- { 38192, 0x00002000 }, /* GL_S */
- { 38197, 0x00008B5D }, /* GL_SAMPLER_1D */
- { 38211, 0x00008DC0 }, /* GL_SAMPLER_1D_ARRAY */
- { 38231, 0x00008DC0 }, /* GL_SAMPLER_1D_ARRAY_EXT */
- { 38255, 0x00008DC3 }, /* GL_SAMPLER_1D_ARRAY_SHADOW */
- { 38282, 0x00008DC3 }, /* GL_SAMPLER_1D_ARRAY_SHADOW_EXT */
- { 38313, 0x00008B61 }, /* GL_SAMPLER_1D_SHADOW */
- { 38334, 0x00008B5E }, /* GL_SAMPLER_2D */
- { 38348, 0x00008DC1 }, /* GL_SAMPLER_2D_ARRAY */
- { 38368, 0x00008DC1 }, /* GL_SAMPLER_2D_ARRAY_EXT */
- { 38392, 0x00008DC4 }, /* GL_SAMPLER_2D_ARRAY_SHADOW */
- { 38419, 0x00008DC4 }, /* GL_SAMPLER_2D_ARRAY_SHADOW_EXT */
- { 38450, 0x00008B63 }, /* GL_SAMPLER_2D_RECT */
- { 38469, 0x00008B64 }, /* GL_SAMPLER_2D_RECT_SHADOW */
- { 38495, 0x00008B62 }, /* GL_SAMPLER_2D_SHADOW */
- { 38516, 0x00008B5F }, /* GL_SAMPLER_3D */
- { 38530, 0x00008B5F }, /* GL_SAMPLER_3D_OES */
- { 38548, 0x00008919 }, /* GL_SAMPLER_BINDING */
- { 38567, 0x00008DC2 }, /* GL_SAMPLER_BUFFER */
- { 38585, 0x00008DC2 }, /* GL_SAMPLER_BUFFER_EXT */
- { 38607, 0x00008B60 }, /* GL_SAMPLER_CUBE */
- { 38623, 0x00008DC5 }, /* GL_SAMPLER_CUBE_SHADOW */
- { 38646, 0x00008DC5 }, /* GL_SAMPLER_CUBE_SHADOW_EXT */
- { 38673, 0x00008D66 }, /* GL_SAMPLER_EXTERNAL_OES */
- { 38697, 0x000080A9 }, /* GL_SAMPLES */
- { 38708, 0x000086B4 }, /* GL_SAMPLES_3DFX */
- { 38724, 0x000080A9 }, /* GL_SAMPLES_ARB */
- { 38739, 0x00008914 }, /* GL_SAMPLES_PASSED */
- { 38757, 0x00008914 }, /* GL_SAMPLES_PASSED_ARB */
- { 38779, 0x0000809E }, /* GL_SAMPLE_ALPHA_TO_COVERAGE */
- { 38807, 0x0000809E }, /* GL_SAMPLE_ALPHA_TO_COVERAGE_ARB */
- { 38839, 0x0000809F }, /* GL_SAMPLE_ALPHA_TO_ONE */
- { 38862, 0x0000809F }, /* GL_SAMPLE_ALPHA_TO_ONE_ARB */
- { 38889, 0x000080A8 }, /* GL_SAMPLE_BUFFERS */
- { 38907, 0x000086B3 }, /* GL_SAMPLE_BUFFERS_3DFX */
- { 38930, 0x000080A8 }, /* GL_SAMPLE_BUFFERS_ARB */
- { 38952, 0x000080A0 }, /* GL_SAMPLE_COVERAGE */
- { 38971, 0x000080A0 }, /* GL_SAMPLE_COVERAGE_ARB */
- { 38994, 0x000080AB }, /* GL_SAMPLE_COVERAGE_INVERT */
- { 39020, 0x000080AB }, /* GL_SAMPLE_COVERAGE_INVERT_ARB */
- { 39050, 0x000080AA }, /* GL_SAMPLE_COVERAGE_VALUE */
- { 39075, 0x000080AA }, /* GL_SAMPLE_COVERAGE_VALUE_ARB */
- { 39104, 0x00080000 }, /* GL_SCISSOR_BIT */
- { 39119, 0x00000C10 }, /* GL_SCISSOR_BOX */
- { 39134, 0x00000C11 }, /* GL_SCISSOR_TEST */
- { 39150, 0x0000845E }, /* GL_SECONDARY_COLOR_ARRAY */
- { 39175, 0x0000889C }, /* GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING */
- { 39215, 0x0000889C }, /* GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB */
- { 39259, 0x0000845D }, /* GL_SECONDARY_COLOR_ARRAY_POINTER */
- { 39292, 0x0000845A }, /* GL_SECONDARY_COLOR_ARRAY_SIZE */
- { 39322, 0x0000845C }, /* GL_SECONDARY_COLOR_ARRAY_STRIDE */
- { 39354, 0x0000845B }, /* GL_SECONDARY_COLOR_ARRAY_TYPE */
- { 39384, 0x00001C02 }, /* GL_SELECT */
- { 39394, 0x00000DF3 }, /* GL_SELECTION_BUFFER_POINTER */
- { 39422, 0x00000DF4 }, /* GL_SELECTION_BUFFER_SIZE */
- { 39447, 0x00008012 }, /* GL_SEPARABLE_2D */
- { 39463, 0x00008C8D }, /* GL_SEPARATE_ATTRIBS */
- { 39483, 0x00008C8D }, /* GL_SEPARATE_ATTRIBS_EXT */
- { 39507, 0x000081FA }, /* GL_SEPARATE_SPECULAR_COLOR */
- { 39534, 0x000081FA }, /* GL_SEPARATE_SPECULAR_COLOR_EXT */
- { 39565, 0x0000150F }, /* GL_SET */
- { 39572, 0x00008DF8 }, /* GL_SHADER_BINARY_FORMATS */
- { 39597, 0x00008DFA }, /* GL_SHADER_COMPILER */
- { 39616, 0x00008B48 }, /* GL_SHADER_OBJECT_ARB */
- { 39637, 0x00008B88 }, /* GL_SHADER_SOURCE_LENGTH */
- { 39661, 0x00008B4F }, /* GL_SHADER_TYPE */
- { 39676, 0x00000B54 }, /* GL_SHADE_MODEL */
- { 39691, 0x00008B8C }, /* GL_SHADING_LANGUAGE_VERSION */
- { 39719, 0x000080BF }, /* GL_SHADOW_AMBIENT_SGIX */
- { 39742, 0x000081FB }, /* GL_SHARED_TEXTURE_PALETTE_EXT */
- { 39772, 0x00001601 }, /* GL_SHININESS */
- { 39785, 0x00001402 }, /* GL_SHORT */
- { 39794, 0x00009119 }, /* GL_SIGNALED */
- { 39806, 0x00008F9C }, /* GL_SIGNED_NORMALIZED */
- { 39827, 0x000081F9 }, /* GL_SINGLE_COLOR */
- { 39843, 0x000081F9 }, /* GL_SINGLE_COLOR_EXT */
- { 39863, 0x000085CC }, /* GL_SLICE_ACCUM_SUN */
- { 39882, 0x00008C46 }, /* GL_SLUMINANCE */
- { 39896, 0x00008C47 }, /* GL_SLUMINANCE8 */
- { 39911, 0x00008C45 }, /* GL_SLUMINANCE8_ALPHA8 */
- { 39933, 0x00008C44 }, /* GL_SLUMINANCE_ALPHA */
- { 39953, 0x00001D01 }, /* GL_SMOOTH */
- { 39963, 0x00000B23 }, /* GL_SMOOTH_LINE_WIDTH_GRANULARITY */
- { 39996, 0x00000B22 }, /* GL_SMOOTH_LINE_WIDTH_RANGE */
- { 40023, 0x00000B13 }, /* GL_SMOOTH_POINT_SIZE_GRANULARITY */
- { 40056, 0x00000B12 }, /* GL_SMOOTH_POINT_SIZE_RANGE */
- { 40083, 0x00008588 }, /* GL_SOURCE0_ALPHA */
- { 40100, 0x00008588 }, /* GL_SOURCE0_ALPHA_ARB */
- { 40121, 0x00008588 }, /* GL_SOURCE0_ALPHA_EXT */
- { 40142, 0x00008580 }, /* GL_SOURCE0_RGB */
- { 40157, 0x00008580 }, /* GL_SOURCE0_RGB_ARB */
- { 40176, 0x00008580 }, /* GL_SOURCE0_RGB_EXT */
- { 40195, 0x00008589 }, /* GL_SOURCE1_ALPHA */
- { 40212, 0x00008589 }, /* GL_SOURCE1_ALPHA_ARB */
- { 40233, 0x00008589 }, /* GL_SOURCE1_ALPHA_EXT */
- { 40254, 0x00008581 }, /* GL_SOURCE1_RGB */
- { 40269, 0x00008581 }, /* GL_SOURCE1_RGB_ARB */
- { 40288, 0x00008581 }, /* GL_SOURCE1_RGB_EXT */
- { 40307, 0x0000858A }, /* GL_SOURCE2_ALPHA */
- { 40324, 0x0000858A }, /* GL_SOURCE2_ALPHA_ARB */
- { 40345, 0x0000858A }, /* GL_SOURCE2_ALPHA_EXT */
- { 40366, 0x00008582 }, /* GL_SOURCE2_RGB */
- { 40381, 0x00008582 }, /* GL_SOURCE2_RGB_ARB */
- { 40400, 0x00008582 }, /* GL_SOURCE2_RGB_EXT */
- { 40419, 0x0000858B }, /* GL_SOURCE3_ALPHA_NV */
- { 40439, 0x00008583 }, /* GL_SOURCE3_RGB_NV */
- { 40457, 0x00001202 }, /* GL_SPECULAR */
- { 40469, 0x00002402 }, /* GL_SPHERE_MAP */
- { 40483, 0x00001206 }, /* GL_SPOT_CUTOFF */
- { 40498, 0x00001204 }, /* GL_SPOT_DIRECTION */
- { 40516, 0x00001205 }, /* GL_SPOT_EXPONENT */
- { 40533, 0x00008588 }, /* GL_SRC0_ALPHA */
- { 40547, 0x00008580 }, /* GL_SRC0_RGB */
- { 40559, 0x00008589 }, /* GL_SRC1_ALPHA */
- { 40573, 0x00008581 }, /* GL_SRC1_RGB */
- { 40585, 0x0000858A }, /* GL_SRC2_ALPHA */
- { 40599, 0x00008582 }, /* GL_SRC2_RGB */
- { 40611, 0x00000302 }, /* GL_SRC_ALPHA */
- { 40624, 0x00000308 }, /* GL_SRC_ALPHA_SATURATE */
- { 40646, 0x00000300 }, /* GL_SRC_COLOR */
- { 40659, 0x00008C40 }, /* GL_SRGB */
- { 40667, 0x00008C41 }, /* GL_SRGB8 */
- { 40676, 0x00008C43 }, /* GL_SRGB8_ALPHA8 */
- { 40692, 0x00008C42 }, /* GL_SRGB_ALPHA */
- { 40706, 0x00000503 }, /* GL_STACK_OVERFLOW */
- { 40724, 0x00000504 }, /* GL_STACK_UNDERFLOW */
- { 40743, 0x000088E6 }, /* GL_STATIC_COPY */
- { 40758, 0x000088E6 }, /* GL_STATIC_COPY_ARB */
- { 40777, 0x000088E4 }, /* GL_STATIC_DRAW */
- { 40792, 0x000088E4 }, /* GL_STATIC_DRAW_ARB */
- { 40811, 0x000088E5 }, /* GL_STATIC_READ */
- { 40826, 0x000088E5 }, /* GL_STATIC_READ_ARB */
- { 40845, 0x00001802 }, /* GL_STENCIL */
- { 40856, 0x00008D20 }, /* GL_STENCIL_ATTACHMENT */
- { 40878, 0x00008D20 }, /* GL_STENCIL_ATTACHMENT_EXT */
- { 40904, 0x00008D20 }, /* GL_STENCIL_ATTACHMENT_OES */
- { 40930, 0x00008801 }, /* GL_STENCIL_BACK_FAIL */
- { 40951, 0x00008801 }, /* GL_STENCIL_BACK_FAIL_ATI */
- { 40976, 0x00008800 }, /* GL_STENCIL_BACK_FUNC */
- { 40997, 0x00008800 }, /* GL_STENCIL_BACK_FUNC_ATI */
- { 41022, 0x00008802 }, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL */
- { 41054, 0x00008802 }, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI */
- { 41090, 0x00008803 }, /* GL_STENCIL_BACK_PASS_DEPTH_PASS */
- { 41122, 0x00008803 }, /* GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI */
- { 41158, 0x00008CA3 }, /* GL_STENCIL_BACK_REF */
- { 41178, 0x00008CA4 }, /* GL_STENCIL_BACK_VALUE_MASK */
- { 41205, 0x00008CA5 }, /* GL_STENCIL_BACK_WRITEMASK */
- { 41231, 0x00000D57 }, /* GL_STENCIL_BITS */
- { 41247, 0x00008224 }, /* GL_STENCIL_BUFFER */
- { 41265, 0x00000400 }, /* GL_STENCIL_BUFFER_BIT */
- { 41287, 0x00000B91 }, /* GL_STENCIL_CLEAR_VALUE */
- { 41310, 0x00000B94 }, /* GL_STENCIL_FAIL */
- { 41326, 0x00000B92 }, /* GL_STENCIL_FUNC */
- { 41342, 0x00001901 }, /* GL_STENCIL_INDEX */
- { 41359, 0x00008D46 }, /* GL_STENCIL_INDEX1 */
- { 41377, 0x00008D49 }, /* GL_STENCIL_INDEX16 */
- { 41396, 0x00008D49 }, /* GL_STENCIL_INDEX16_EXT */
- { 41419, 0x00008D46 }, /* GL_STENCIL_INDEX1_EXT */
- { 41441, 0x00008D46 }, /* GL_STENCIL_INDEX1_OES */
- { 41463, 0x00008D47 }, /* GL_STENCIL_INDEX4 */
- { 41481, 0x00008D47 }, /* GL_STENCIL_INDEX4_EXT */
- { 41503, 0x00008D47 }, /* GL_STENCIL_INDEX4_OES */
- { 41525, 0x00008D48 }, /* GL_STENCIL_INDEX8 */
- { 41543, 0x00008D48 }, /* GL_STENCIL_INDEX8_EXT */
- { 41565, 0x00008D48 }, /* GL_STENCIL_INDEX8_OES */
- { 41587, 0x00008D45 }, /* GL_STENCIL_INDEX_EXT */
- { 41608, 0x00000B95 }, /* GL_STENCIL_PASS_DEPTH_FAIL */
- { 41635, 0x00000B96 }, /* GL_STENCIL_PASS_DEPTH_PASS */
- { 41662, 0x00000B97 }, /* GL_STENCIL_REF */
- { 41677, 0x00000B90 }, /* GL_STENCIL_TEST */
- { 41693, 0x00008910 }, /* GL_STENCIL_TEST_TWO_SIDE_EXT */
- { 41722, 0x00000B93 }, /* GL_STENCIL_VALUE_MASK */
- { 41744, 0x00000B98 }, /* GL_STENCIL_WRITEMASK */
- { 41765, 0x00000C33 }, /* GL_STEREO */
- { 41775, 0x000085BE }, /* GL_STORAGE_CACHED_APPLE */
- { 41799, 0x000085BD }, /* GL_STORAGE_PRIVATE_APPLE */
- { 41824, 0x000085BF }, /* GL_STORAGE_SHARED_APPLE */
- { 41848, 0x000088E2 }, /* GL_STREAM_COPY */
- { 41863, 0x000088E2 }, /* GL_STREAM_COPY_ARB */
- { 41882, 0x000088E0 }, /* GL_STREAM_DRAW */
- { 41897, 0x000088E0 }, /* GL_STREAM_DRAW_ARB */
- { 41916, 0x000088E1 }, /* GL_STREAM_READ */
- { 41931, 0x000088E1 }, /* GL_STREAM_READ_ARB */
- { 41950, 0x00000D50 }, /* GL_SUBPIXEL_BITS */
- { 41967, 0x000084E7 }, /* GL_SUBTRACT */
- { 41979, 0x000084E7 }, /* GL_SUBTRACT_ARB */
- { 41995, 0x00009113 }, /* GL_SYNC_CONDITION */
- { 42013, 0x00009116 }, /* GL_SYNC_FENCE */
- { 42027, 0x00009115 }, /* GL_SYNC_FLAGS */
- { 42041, 0x00000001 }, /* GL_SYNC_FLUSH_COMMANDS_BIT */
- { 42068, 0x00009117 }, /* GL_SYNC_GPU_COMMANDS_COMPLETE */
- { 42098, 0x00009114 }, /* GL_SYNC_STATUS */
- { 42113, 0x00002001 }, /* GL_T */
- { 42118, 0x00002A2A }, /* GL_T2F_C3F_V3F */
- { 42133, 0x00002A2C }, /* GL_T2F_C4F_N3F_V3F */
- { 42152, 0x00002A29 }, /* GL_T2F_C4UB_V3F */
- { 42168, 0x00002A2B }, /* GL_T2F_N3F_V3F */
- { 42183, 0x00002A27 }, /* GL_T2F_V3F */
- { 42194, 0x00002A2D }, /* GL_T4F_C4F_N3F_V4F */
- { 42213, 0x00002A28 }, /* GL_T4F_V4F */
- { 42224, 0x00008031 }, /* GL_TABLE_TOO_LARGE_EXT */
- { 42247, 0x00001702 }, /* GL_TEXTURE */
- { 42258, 0x000084C0 }, /* GL_TEXTURE0 */
- { 42270, 0x000084C0 }, /* GL_TEXTURE0_ARB */
- { 42286, 0x000084C1 }, /* GL_TEXTURE1 */
- { 42298, 0x000084CA }, /* GL_TEXTURE10 */
- { 42311, 0x000084CA }, /* GL_TEXTURE10_ARB */
- { 42328, 0x000084CB }, /* GL_TEXTURE11 */
- { 42341, 0x000084CB }, /* GL_TEXTURE11_ARB */
- { 42358, 0x000084CC }, /* GL_TEXTURE12 */
- { 42371, 0x000084CC }, /* GL_TEXTURE12_ARB */
- { 42388, 0x000084CD }, /* GL_TEXTURE13 */
- { 42401, 0x000084CD }, /* GL_TEXTURE13_ARB */
- { 42418, 0x000084CE }, /* GL_TEXTURE14 */
- { 42431, 0x000084CE }, /* GL_TEXTURE14_ARB */
- { 42448, 0x000084CF }, /* GL_TEXTURE15 */
- { 42461, 0x000084CF }, /* GL_TEXTURE15_ARB */
- { 42478, 0x000084D0 }, /* GL_TEXTURE16 */
- { 42491, 0x000084D0 }, /* GL_TEXTURE16_ARB */
- { 42508, 0x000084D1 }, /* GL_TEXTURE17 */
- { 42521, 0x000084D1 }, /* GL_TEXTURE17_ARB */
- { 42538, 0x000084D2 }, /* GL_TEXTURE18 */
- { 42551, 0x000084D2 }, /* GL_TEXTURE18_ARB */
- { 42568, 0x000084D3 }, /* GL_TEXTURE19 */
- { 42581, 0x000084D3 }, /* GL_TEXTURE19_ARB */
- { 42598, 0x000084C1 }, /* GL_TEXTURE1_ARB */
- { 42614, 0x000084C2 }, /* GL_TEXTURE2 */
- { 42626, 0x000084D4 }, /* GL_TEXTURE20 */
- { 42639, 0x000084D4 }, /* GL_TEXTURE20_ARB */
- { 42656, 0x000084D5 }, /* GL_TEXTURE21 */
- { 42669, 0x000084D5 }, /* GL_TEXTURE21_ARB */
- { 42686, 0x000084D6 }, /* GL_TEXTURE22 */
- { 42699, 0x000084D6 }, /* GL_TEXTURE22_ARB */
- { 42716, 0x000084D7 }, /* GL_TEXTURE23 */
- { 42729, 0x000084D7 }, /* GL_TEXTURE23_ARB */
- { 42746, 0x000084D8 }, /* GL_TEXTURE24 */
- { 42759, 0x000084D8 }, /* GL_TEXTURE24_ARB */
- { 42776, 0x000084D9 }, /* GL_TEXTURE25 */
- { 42789, 0x000084D9 }, /* GL_TEXTURE25_ARB */
- { 42806, 0x000084DA }, /* GL_TEXTURE26 */
- { 42819, 0x000084DA }, /* GL_TEXTURE26_ARB */
- { 42836, 0x000084DB }, /* GL_TEXTURE27 */
- { 42849, 0x000084DB }, /* GL_TEXTURE27_ARB */
- { 42866, 0x000084DC }, /* GL_TEXTURE28 */
- { 42879, 0x000084DC }, /* GL_TEXTURE28_ARB */
- { 42896, 0x000084DD }, /* GL_TEXTURE29 */
- { 42909, 0x000084DD }, /* GL_TEXTURE29_ARB */
- { 42926, 0x000084C2 }, /* GL_TEXTURE2_ARB */
- { 42942, 0x000084C3 }, /* GL_TEXTURE3 */
- { 42954, 0x000084DE }, /* GL_TEXTURE30 */
- { 42967, 0x000084DE }, /* GL_TEXTURE30_ARB */
- { 42984, 0x000084DF }, /* GL_TEXTURE31 */
- { 42997, 0x000084DF }, /* GL_TEXTURE31_ARB */
- { 43014, 0x000084C3 }, /* GL_TEXTURE3_ARB */
- { 43030, 0x000084C4 }, /* GL_TEXTURE4 */
- { 43042, 0x000084C4 }, /* GL_TEXTURE4_ARB */
- { 43058, 0x000084C5 }, /* GL_TEXTURE5 */
- { 43070, 0x000084C5 }, /* GL_TEXTURE5_ARB */
- { 43086, 0x000084C6 }, /* GL_TEXTURE6 */
- { 43098, 0x000084C6 }, /* GL_TEXTURE6_ARB */
- { 43114, 0x000084C7 }, /* GL_TEXTURE7 */
- { 43126, 0x000084C7 }, /* GL_TEXTURE7_ARB */
- { 43142, 0x000084C8 }, /* GL_TEXTURE8 */
- { 43154, 0x000084C8 }, /* GL_TEXTURE8_ARB */
- { 43170, 0x000084C9 }, /* GL_TEXTURE9 */
- { 43182, 0x000084C9 }, /* GL_TEXTURE9_ARB */
- { 43198, 0x00000DE0 }, /* GL_TEXTURE_1D */
- { 43212, 0x00008C18 }, /* GL_TEXTURE_1D_ARRAY */
- { 43232, 0x00008C18 }, /* GL_TEXTURE_1D_ARRAY_EXT */
- { 43256, 0x00000DE1 }, /* GL_TEXTURE_2D */
- { 43270, 0x00008C1A }, /* GL_TEXTURE_2D_ARRAY */
- { 43290, 0x00008C1A }, /* GL_TEXTURE_2D_ARRAY_EXT */
- { 43314, 0x0000806F }, /* GL_TEXTURE_3D */
- { 43328, 0x0000806F }, /* GL_TEXTURE_3D_OES */
- { 43346, 0x0000805F }, /* GL_TEXTURE_ALPHA_SIZE */
- { 43368, 0x0000805F }, /* GL_TEXTURE_ALPHA_SIZE_EXT */
- { 43394, 0x0000813C }, /* GL_TEXTURE_BASE_LEVEL */
- { 43416, 0x00008068 }, /* GL_TEXTURE_BINDING_1D */
- { 43438, 0x00008C1C }, /* GL_TEXTURE_BINDING_1D_ARRAY */
- { 43466, 0x00008C1C }, /* GL_TEXTURE_BINDING_1D_ARRAY_EXT */
- { 43498, 0x00008069 }, /* GL_TEXTURE_BINDING_2D */
- { 43520, 0x00008C1D }, /* GL_TEXTURE_BINDING_2D_ARRAY */
- { 43548, 0x00008C1D }, /* GL_TEXTURE_BINDING_2D_ARRAY_EXT */
- { 43580, 0x0000806A }, /* GL_TEXTURE_BINDING_3D */
- { 43602, 0x0000806A }, /* GL_TEXTURE_BINDING_3D_OES */
- { 43628, 0x00008C2C }, /* GL_TEXTURE_BINDING_BUFFER */
- { 43654, 0x00008C2C }, /* GL_TEXTURE_BINDING_BUFFER_ARB */
- { 43684, 0x00008514 }, /* GL_TEXTURE_BINDING_CUBE_MAP */
- { 43712, 0x00008514 }, /* GL_TEXTURE_BINDING_CUBE_MAP_ARB */
- { 43744, 0x00008514 }, /* GL_TEXTURE_BINDING_CUBE_MAP_OES */
- { 43776, 0x00008D67 }, /* GL_TEXTURE_BINDING_EXTERNAL_OES */
- { 43808, 0x000084F6 }, /* GL_TEXTURE_BINDING_RECTANGLE */
- { 43837, 0x000084F6 }, /* GL_TEXTURE_BINDING_RECTANGLE_ARB */
- { 43870, 0x000084F6 }, /* GL_TEXTURE_BINDING_RECTANGLE_NV */
- { 43902, 0x00040000 }, /* GL_TEXTURE_BIT */
- { 43917, 0x0000805E }, /* GL_TEXTURE_BLUE_SIZE */
- { 43938, 0x0000805E }, /* GL_TEXTURE_BLUE_SIZE_EXT */
- { 43963, 0x00001005 }, /* GL_TEXTURE_BORDER */
- { 43981, 0x00001004 }, /* GL_TEXTURE_BORDER_COLOR */
- { 44005, 0x00008C2A }, /* GL_TEXTURE_BUFFER */
- { 44023, 0x00008C2A }, /* GL_TEXTURE_BUFFER_ARB */
- { 44045, 0x00008C2D }, /* GL_TEXTURE_BUFFER_DATA_STORE_BINDING */
- { 44082, 0x00008C2D }, /* GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB */
- { 44123, 0x00008C2E }, /* GL_TEXTURE_BUFFER_FORMAT */
- { 44148, 0x00008C2E }, /* GL_TEXTURE_BUFFER_FORMAT_ARB */
- { 44177, 0x00008171 }, /* GL_TEXTURE_CLIPMAP_CENTER_SGIX */
- { 44208, 0x00008176 }, /* GL_TEXTURE_CLIPMAP_DEPTH_SGIX */
- { 44238, 0x00008172 }, /* GL_TEXTURE_CLIPMAP_FRAME_SGIX */
- { 44268, 0x00008175 }, /* GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX */
- { 44303, 0x00008173 }, /* GL_TEXTURE_CLIPMAP_OFFSET_SGIX */
- { 44334, 0x00008174 }, /* GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX */
- { 44372, 0x000080BC }, /* GL_TEXTURE_COLOR_TABLE_SGI */
- { 44399, 0x000081EF }, /* GL_TEXTURE_COLOR_WRITEMASK_SGIS */
- { 44431, 0x000080BF }, /* GL_TEXTURE_COMPARE_FAIL_VALUE_ARB */
- { 44465, 0x0000884D }, /* GL_TEXTURE_COMPARE_FUNC */
- { 44489, 0x0000884D }, /* GL_TEXTURE_COMPARE_FUNC_ARB */
- { 44517, 0x0000884C }, /* GL_TEXTURE_COMPARE_MODE */
- { 44541, 0x0000884C }, /* GL_TEXTURE_COMPARE_MODE_ARB */
- { 44569, 0x0000819B }, /* GL_TEXTURE_COMPARE_OPERATOR_SGIX */
- { 44602, 0x0000819A }, /* GL_TEXTURE_COMPARE_SGIX */
- { 44626, 0x00001003 }, /* GL_TEXTURE_COMPONENTS */
- { 44648, 0x000086A1 }, /* GL_TEXTURE_COMPRESSED */
- { 44670, 0x000086A1 }, /* GL_TEXTURE_COMPRESSED_ARB */
- { 44696, 0x000086A3 }, /* GL_TEXTURE_COMPRESSED_FORMATS_ARB */
- { 44730, 0x000086A0 }, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE */
- { 44763, 0x000086A0 }, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB */
- { 44800, 0x000084EF }, /* GL_TEXTURE_COMPRESSION_HINT */
- { 44828, 0x000084EF }, /* GL_TEXTURE_COMPRESSION_HINT_ARB */
- { 44860, 0x00008078 }, /* GL_TEXTURE_COORD_ARRAY */
- { 44883, 0x0000889A }, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING */
- { 44921, 0x0000889A }, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB */
- { 44963, 0x00008092 }, /* GL_TEXTURE_COORD_ARRAY_POINTER */
- { 44994, 0x00008088 }, /* GL_TEXTURE_COORD_ARRAY_SIZE */
- { 45022, 0x0000808A }, /* GL_TEXTURE_COORD_ARRAY_STRIDE */
- { 45052, 0x00008089 }, /* GL_TEXTURE_COORD_ARRAY_TYPE */
- { 45080, 0x00008B9D }, /* GL_TEXTURE_CROP_RECT_OES */
- { 45105, 0x00008513 }, /* GL_TEXTURE_CUBE_MAP */
- { 45125, 0x00008513 }, /* GL_TEXTURE_CUBE_MAP_ARB */
- { 45149, 0x00008516 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X */
- { 45180, 0x00008516 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB */
- { 45215, 0x00008516 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES */
- { 45250, 0x00008518 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y */
- { 45281, 0x00008518 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB */
- { 45316, 0x00008518 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES */
- { 45351, 0x0000851A }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z */
- { 45382, 0x0000851A }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB */
- { 45417, 0x0000851A }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES */
- { 45452, 0x00008513 }, /* GL_TEXTURE_CUBE_MAP_OES */
- { 45476, 0x00008515 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X */
- { 45507, 0x00008515 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB */
- { 45542, 0x00008515 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES */
- { 45577, 0x00008517 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y */
- { 45608, 0x00008517 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB */
- { 45643, 0x00008517 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES */
- { 45678, 0x00008519 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z */
- { 45709, 0x00008519 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB */
- { 45744, 0x00008519 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES */
- { 45779, 0x000088F4 }, /* GL_TEXTURE_CUBE_MAP_SEAMLESS */
- { 45808, 0x00008071 }, /* GL_TEXTURE_DEPTH */
- { 45825, 0x0000884A }, /* GL_TEXTURE_DEPTH_SIZE */
- { 45847, 0x0000884A }, /* GL_TEXTURE_DEPTH_SIZE_ARB */
- { 45873, 0x00002300 }, /* GL_TEXTURE_ENV */
- { 45888, 0x00002201 }, /* GL_TEXTURE_ENV_COLOR */
- { 45909, 0x00002200 }, /* GL_TEXTURE_ENV_MODE */
- { 45929, 0x00008D65 }, /* GL_TEXTURE_EXTERNAL_OES */
- { 45953, 0x00008500 }, /* GL_TEXTURE_FILTER_CONTROL */
- { 45979, 0x00008500 }, /* GL_TEXTURE_FILTER_CONTROL_EXT */
- { 46009, 0x00002500 }, /* GL_TEXTURE_GEN_MODE */
- { 46029, 0x00002500 }, /* GL_TEXTURE_GEN_MODE_OES */
- { 46053, 0x00000C63 }, /* GL_TEXTURE_GEN_Q */
- { 46070, 0x00000C62 }, /* GL_TEXTURE_GEN_R */
- { 46087, 0x00000C60 }, /* GL_TEXTURE_GEN_S */
- { 46104, 0x00008D60 }, /* GL_TEXTURE_GEN_STR_OES */
- { 46127, 0x00000C61 }, /* GL_TEXTURE_GEN_T */
- { 46144, 0x0000819D }, /* GL_TEXTURE_GEQUAL_R_SGIX */
- { 46169, 0x0000805D }, /* GL_TEXTURE_GREEN_SIZE */
- { 46191, 0x0000805D }, /* GL_TEXTURE_GREEN_SIZE_EXT */
- { 46217, 0x00001001 }, /* GL_TEXTURE_HEIGHT */
- { 46235, 0x000080ED }, /* GL_TEXTURE_INDEX_SIZE_EXT */
- { 46261, 0x00008061 }, /* GL_TEXTURE_INTENSITY_SIZE */
- { 46287, 0x00008061 }, /* GL_TEXTURE_INTENSITY_SIZE_EXT */
- { 46317, 0x00001003 }, /* GL_TEXTURE_INTERNAL_FORMAT */
- { 46344, 0x0000819C }, /* GL_TEXTURE_LEQUAL_R_SGIX */
- { 46369, 0x00008501 }, /* GL_TEXTURE_LOD_BIAS */
- { 46389, 0x00008501 }, /* GL_TEXTURE_LOD_BIAS_EXT */
- { 46413, 0x00008190 }, /* GL_TEXTURE_LOD_BIAS_R_SGIX */
- { 46440, 0x0000818E }, /* GL_TEXTURE_LOD_BIAS_S_SGIX */
- { 46467, 0x0000818F }, /* GL_TEXTURE_LOD_BIAS_T_SGIX */
- { 46494, 0x00008060 }, /* GL_TEXTURE_LUMINANCE_SIZE */
- { 46520, 0x00008060 }, /* GL_TEXTURE_LUMINANCE_SIZE_EXT */
- { 46550, 0x00002800 }, /* GL_TEXTURE_MAG_FILTER */
- { 46572, 0x00000BA8 }, /* GL_TEXTURE_MATRIX */
- { 46590, 0x0000898F }, /* GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES */
- { 46630, 0x000084FE }, /* GL_TEXTURE_MAX_ANISOTROPY_EXT */
- { 46660, 0x0000836B }, /* GL_TEXTURE_MAX_CLAMP_R_SGIX */
- { 46688, 0x00008369 }, /* GL_TEXTURE_MAX_CLAMP_S_SGIX */
- { 46716, 0x0000836A }, /* GL_TEXTURE_MAX_CLAMP_T_SGIX */
- { 46744, 0x0000813D }, /* GL_TEXTURE_MAX_LEVEL */
- { 46765, 0x0000813B }, /* GL_TEXTURE_MAX_LOD */
- { 46784, 0x00002801 }, /* GL_TEXTURE_MIN_FILTER */
- { 46806, 0x0000813A }, /* GL_TEXTURE_MIN_LOD */
- { 46825, 0x00008066 }, /* GL_TEXTURE_PRIORITY */
- { 46845, 0x000085B7 }, /* GL_TEXTURE_RANGE_LENGTH_APPLE */
- { 46875, 0x000085B8 }, /* GL_TEXTURE_RANGE_POINTER_APPLE */
- { 46906, 0x000084F5 }, /* GL_TEXTURE_RECTANGLE */
- { 46927, 0x000084F5 }, /* GL_TEXTURE_RECTANGLE_ARB */
- { 46952, 0x000084F5 }, /* GL_TEXTURE_RECTANGLE_NV */
- { 46976, 0x0000805C }, /* GL_TEXTURE_RED_SIZE */
- { 46996, 0x0000805C }, /* GL_TEXTURE_RED_SIZE_EXT */
- { 47020, 0x00008067 }, /* GL_TEXTURE_RESIDENT */
- { 47040, 0x00008C3F }, /* GL_TEXTURE_SHARED_SIZE */
- { 47063, 0x00000BA5 }, /* GL_TEXTURE_STACK_DEPTH */
- { 47086, 0x000088F1 }, /* GL_TEXTURE_STENCIL_SIZE */
- { 47110, 0x000088F1 }, /* GL_TEXTURE_STENCIL_SIZE_EXT */
- { 47138, 0x000085BC }, /* GL_TEXTURE_STORAGE_HINT_APPLE */
- { 47168, 0x00008065 }, /* GL_TEXTURE_TOO_LARGE_EXT */
- { 47193, 0x0000888F }, /* GL_TEXTURE_UNSIGNED_REMAP_MODE_NV */
- { 47227, 0x00001000 }, /* GL_TEXTURE_WIDTH */
- { 47244, 0x00008072 }, /* GL_TEXTURE_WRAP_R */
- { 47262, 0x00008072 }, /* GL_TEXTURE_WRAP_R_OES */
- { 47284, 0x00002802 }, /* GL_TEXTURE_WRAP_S */
- { 47302, 0x00002803 }, /* GL_TEXTURE_WRAP_T */
- { 47320, 0x0000911B }, /* GL_TIMEOUT_EXPIRED */
- { 47339, 0x000088BF }, /* GL_TIME_ELAPSED_EXT */
- { 47359, 0x00008648 }, /* GL_TRACK_MATRIX_NV */
- { 47378, 0x00008649 }, /* GL_TRACK_MATRIX_TRANSFORM_NV */
- { 47407, 0x00001000 }, /* GL_TRANSFORM_BIT */
- { 47424, 0x00008E22 }, /* GL_TRANSFORM_FEEDBACK */
- { 47446, 0x00008E25 }, /* GL_TRANSFORM_FEEDBACK_BINDING */
- { 47476, 0x00008C8E }, /* GL_TRANSFORM_FEEDBACK_BUFFER */
- { 47505, 0x00008E24 }, /* GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
- { 47541, 0x00008C8F }, /* GL_TRANSFORM_FEEDBACK_BUFFER_BINDING */
- { 47578, 0x00008C8F }, /* GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT */
- { 47619, 0x00008C8E }, /* GL_TRANSFORM_FEEDBACK_BUFFER_EXT */
- { 47652, 0x00008C7F }, /* GL_TRANSFORM_FEEDBACK_BUFFER_MODE */
- { 47686, 0x00008C7F }, /* GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT */
- { 47724, 0x00008E23 }, /* GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
- { 47760, 0x00008C85 }, /* GL_TRANSFORM_FEEDBACK_BUFFER_SIZE */
- { 47794, 0x00008C85 }, /* GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT */
- { 47832, 0x00008C84 }, /* GL_TRANSFORM_FEEDBACK_BUFFER_START */
- { 47867, 0x00008C84 }, /* GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT */
- { 47906, 0x00008C88 }, /* GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN */
- { 47947, 0x00008C88 }, /* GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT */
- { 47992, 0x00008C83 }, /* GL_TRANSFORM_FEEDBACK_VARYINGS */
- { 48023, 0x00008C83 }, /* GL_TRANSFORM_FEEDBACK_VARYINGS_EXT */
- { 48058, 0x00008C76 }, /* GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH */
- { 48099, 0x00008C76 }, /* GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT */
- { 48144, 0x000084E6 }, /* GL_TRANSPOSE_COLOR_MATRIX */
- { 48170, 0x000084E6 }, /* GL_TRANSPOSE_COLOR_MATRIX_ARB */
- { 48200, 0x000088B7 }, /* GL_TRANSPOSE_CURRENT_MATRIX_ARB */
- { 48232, 0x000084E3 }, /* GL_TRANSPOSE_MODELVIEW_MATRIX */
- { 48262, 0x000084E3 }, /* GL_TRANSPOSE_MODELVIEW_MATRIX_ARB */
- { 48296, 0x0000862C }, /* GL_TRANSPOSE_NV */
- { 48312, 0x000084E4 }, /* GL_TRANSPOSE_PROJECTION_MATRIX */
- { 48343, 0x000084E4 }, /* GL_TRANSPOSE_PROJECTION_MATRIX_ARB */
- { 48378, 0x000084E5 }, /* GL_TRANSPOSE_TEXTURE_MATRIX */
- { 48406, 0x000084E5 }, /* GL_TRANSPOSE_TEXTURE_MATRIX_ARB */
- { 48438, 0x00000004 }, /* GL_TRIANGLES */
- { 48451, 0x0000000C }, /* GL_TRIANGLES_ADJACENCY */
- { 48474, 0x0000000C }, /* GL_TRIANGLES_ADJACENCY_ARB */
- { 48501, 0x00000006 }, /* GL_TRIANGLE_FAN */
- { 48517, 0x00008615 }, /* GL_TRIANGLE_MESH_SUN */
- { 48538, 0x00000005 }, /* GL_TRIANGLE_STRIP */
- { 48556, 0x0000000D }, /* GL_TRIANGLE_STRIP_ADJACENCY */
- { 48584, 0x0000000D }, /* GL_TRIANGLE_STRIP_ADJACENCY_ARB */
- { 48616, 0x00000001 }, /* GL_TRUE */
- { 48624, 0x00008A1C }, /* GL_UNDEFINED_APPLE */
- { 48643, 0x00008255 }, /* GL_UNKNOWN_CONTEXT_RESET_ARB */
- { 48672, 0x00000CF5 }, /* GL_UNPACK_ALIGNMENT */
- { 48692, 0x0000806E }, /* GL_UNPACK_IMAGE_HEIGHT */
- { 48715, 0x00000CF1 }, /* GL_UNPACK_LSB_FIRST */
- { 48735, 0x00000CF2 }, /* GL_UNPACK_ROW_LENGTH */
- { 48756, 0x0000806D }, /* GL_UNPACK_SKIP_IMAGES */
- { 48778, 0x00000CF4 }, /* GL_UNPACK_SKIP_PIXELS */
- { 48800, 0x00000CF3 }, /* GL_UNPACK_SKIP_ROWS */
- { 48820, 0x00000CF0 }, /* GL_UNPACK_SWAP_BYTES */
- { 48841, 0x00009118 }, /* GL_UNSIGNALED */
- { 48855, 0x00001401 }, /* GL_UNSIGNED_BYTE */
- { 48872, 0x00008362 }, /* GL_UNSIGNED_BYTE_2_3_3_REV */
- { 48899, 0x00008032 }, /* GL_UNSIGNED_BYTE_3_3_2 */
- { 48922, 0x00001405 }, /* GL_UNSIGNED_INT */
- { 48938, 0x00008C3B }, /* GL_UNSIGNED_INT_10F_11F_11F_REV */
- { 48970, 0x00008036 }, /* GL_UNSIGNED_INT_10_10_10_2 */
- { 48997, 0x00008DF6 }, /* GL_UNSIGNED_INT_10_10_10_2_OES */
- { 49028, 0x000084FA }, /* GL_UNSIGNED_INT_24_8 */
- { 49049, 0x000084FA }, /* GL_UNSIGNED_INT_24_8_EXT */
- { 49074, 0x000084FA }, /* GL_UNSIGNED_INT_24_8_NV */
- { 49098, 0x000084FA }, /* GL_UNSIGNED_INT_24_8_OES */
- { 49123, 0x00008368 }, /* GL_UNSIGNED_INT_2_10_10_10_REV */
- { 49154, 0x00008368 }, /* GL_UNSIGNED_INT_2_10_10_10_REV_EXT */
- { 49189, 0x00008C3E }, /* GL_UNSIGNED_INT_5_9_9_9_REV */
- { 49217, 0x00008035 }, /* GL_UNSIGNED_INT_8_8_8_8 */
- { 49241, 0x00008367 }, /* GL_UNSIGNED_INT_8_8_8_8_REV */
- { 49269, 0x00008DD1 }, /* GL_UNSIGNED_INT_SAMPLER_1D */
- { 49296, 0x00008DD6 }, /* GL_UNSIGNED_INT_SAMPLER_1D_ARRAY */
- { 49329, 0x00008DD6 }, /* GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT */
- { 49366, 0x00008DD1 }, /* GL_UNSIGNED_INT_SAMPLER_1D_EXT */
- { 49397, 0x00008DD2 }, /* GL_UNSIGNED_INT_SAMPLER_2D */
- { 49424, 0x00008DD7 }, /* GL_UNSIGNED_INT_SAMPLER_2D_ARRAY */
- { 49457, 0x00008DD7 }, /* GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT */
- { 49494, 0x00008DD2 }, /* GL_UNSIGNED_INT_SAMPLER_2D_EXT */
- { 49525, 0x00008DD5 }, /* GL_UNSIGNED_INT_SAMPLER_2D_RECT */
- { 49557, 0x00008DD5 }, /* GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT */
- { 49593, 0x00008DD3 }, /* GL_UNSIGNED_INT_SAMPLER_3D */
- { 49620, 0x00008DD3 }, /* GL_UNSIGNED_INT_SAMPLER_3D_EXT */
- { 49651, 0x00008DD8 }, /* GL_UNSIGNED_INT_SAMPLER_BUFFER */
- { 49682, 0x00008DD8 }, /* GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT */
- { 49717, 0x00008DD4 }, /* GL_UNSIGNED_INT_SAMPLER_CUBE */
- { 49746, 0x00008DD4 }, /* GL_UNSIGNED_INT_SAMPLER_CUBE_EXT */
- { 49779, 0x00008DC6 }, /* GL_UNSIGNED_INT_VEC2 */
- { 49800, 0x00008DC6 }, /* GL_UNSIGNED_INT_VEC2_EXT */
- { 49825, 0x00008DC7 }, /* GL_UNSIGNED_INT_VEC3 */
- { 49846, 0x00008DC7 }, /* GL_UNSIGNED_INT_VEC3_EXT */
- { 49871, 0x00008DC8 }, /* GL_UNSIGNED_INT_VEC4 */
- { 49892, 0x00008DC8 }, /* GL_UNSIGNED_INT_VEC4_EXT */
- { 49917, 0x00008C17 }, /* GL_UNSIGNED_NORMALIZED */
- { 49940, 0x00001403 }, /* GL_UNSIGNED_SHORT */
- { 49958, 0x00008366 }, /* GL_UNSIGNED_SHORT_1_5_5_5_REV */
- { 49988, 0x00008366 }, /* GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT */
- { 50022, 0x00008033 }, /* GL_UNSIGNED_SHORT_4_4_4_4 */
- { 50048, 0x00008365 }, /* GL_UNSIGNED_SHORT_4_4_4_4_REV */
- { 50078, 0x00008365 }, /* GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT */
- { 50112, 0x00008034 }, /* GL_UNSIGNED_SHORT_5_5_5_1 */
- { 50138, 0x00008363 }, /* GL_UNSIGNED_SHORT_5_6_5 */
- { 50162, 0x00008364 }, /* GL_UNSIGNED_SHORT_5_6_5_REV */
- { 50190, 0x000085BA }, /* GL_UNSIGNED_SHORT_8_8_APPLE */
- { 50218, 0x000085BA }, /* GL_UNSIGNED_SHORT_8_8_MESA */
- { 50245, 0x000085BB }, /* GL_UNSIGNED_SHORT_8_8_REV_APPLE */
- { 50277, 0x000085BB }, /* GL_UNSIGNED_SHORT_8_8_REV_MESA */
- { 50308, 0x00008CA2 }, /* GL_UPPER_LEFT */
- { 50322, 0x00002A20 }, /* GL_V2F */
- { 50329, 0x00002A21 }, /* GL_V3F */
- { 50336, 0x00008B83 }, /* GL_VALIDATE_STATUS */
- { 50355, 0x00001F00 }, /* GL_VENDOR */
- { 50365, 0x00001F02 }, /* GL_VERSION */
- { 50376, 0x00008074 }, /* GL_VERTEX_ARRAY */
- { 50392, 0x000085B5 }, /* GL_VERTEX_ARRAY_BINDING */
- { 50416, 0x000085B5 }, /* GL_VERTEX_ARRAY_BINDING_APPLE */
- { 50446, 0x00008896 }, /* GL_VERTEX_ARRAY_BUFFER_BINDING */
- { 50477, 0x00008896 }, /* GL_VERTEX_ARRAY_BUFFER_BINDING_ARB */
- { 50512, 0x0000808E }, /* GL_VERTEX_ARRAY_POINTER */
- { 50536, 0x0000807A }, /* GL_VERTEX_ARRAY_SIZE */
- { 50557, 0x0000807C }, /* GL_VERTEX_ARRAY_STRIDE */
- { 50580, 0x0000807B }, /* GL_VERTEX_ARRAY_TYPE */
- { 50601, 0x00008650 }, /* GL_VERTEX_ATTRIB_ARRAY0_NV */
- { 50628, 0x0000865A }, /* GL_VERTEX_ATTRIB_ARRAY10_NV */
- { 50656, 0x0000865B }, /* GL_VERTEX_ATTRIB_ARRAY11_NV */
- { 50684, 0x0000865C }, /* GL_VERTEX_ATTRIB_ARRAY12_NV */
- { 50712, 0x0000865D }, /* GL_VERTEX_ATTRIB_ARRAY13_NV */
- { 50740, 0x0000865E }, /* GL_VERTEX_ATTRIB_ARRAY14_NV */
- { 50768, 0x0000865F }, /* GL_VERTEX_ATTRIB_ARRAY15_NV */
- { 50796, 0x00008651 }, /* GL_VERTEX_ATTRIB_ARRAY1_NV */
- { 50823, 0x00008652 }, /* GL_VERTEX_ATTRIB_ARRAY2_NV */
- { 50850, 0x00008653 }, /* GL_VERTEX_ATTRIB_ARRAY3_NV */
- { 50877, 0x00008654 }, /* GL_VERTEX_ATTRIB_ARRAY4_NV */
- { 50904, 0x00008655 }, /* GL_VERTEX_ATTRIB_ARRAY5_NV */
- { 50931, 0x00008656 }, /* GL_VERTEX_ATTRIB_ARRAY6_NV */
- { 50958, 0x00008657 }, /* GL_VERTEX_ATTRIB_ARRAY7_NV */
- { 50985, 0x00008658 }, /* GL_VERTEX_ATTRIB_ARRAY8_NV */
- { 51012, 0x00008659 }, /* GL_VERTEX_ATTRIB_ARRAY9_NV */
- { 51039, 0x0000889F }, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING */
- { 51077, 0x0000889F }, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB */
- { 51119, 0x000088FE }, /* GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB */
- { 51154, 0x00008622 }, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED */
- { 51185, 0x00008622 }, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB */
- { 51220, 0x000088FD }, /* GL_VERTEX_ATTRIB_ARRAY_INTEGER */
- { 51251, 0x000088FD }, /* GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT */
- { 51286, 0x0000886A }, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED */
- { 51320, 0x0000886A }, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB */
- { 51358, 0x00008645 }, /* GL_VERTEX_ATTRIB_ARRAY_POINTER */
- { 51389, 0x00008645 }, /* GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB */
- { 51424, 0x00008623 }, /* GL_VERTEX_ATTRIB_ARRAY_SIZE */
- { 51452, 0x00008623 }, /* GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB */
- { 51484, 0x00008624 }, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE */
- { 51514, 0x00008624 }, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB */
- { 51548, 0x00008625 }, /* GL_VERTEX_ATTRIB_ARRAY_TYPE */
- { 51576, 0x00008625 }, /* GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB */
- { 51608, 0x000086A7 }, /* GL_VERTEX_BLEND_ARB */
- { 51628, 0x00008620 }, /* GL_VERTEX_PROGRAM_ARB */
- { 51650, 0x0000864A }, /* GL_VERTEX_PROGRAM_BINDING_NV */
- { 51679, 0x00008620 }, /* GL_VERTEX_PROGRAM_NV */
- { 51700, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE */
- { 51729, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE_ARB */
- { 51762, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE_NV */
- { 51794, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE */
- { 51821, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE_ARB */
- { 51852, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE_NV */
- { 51882, 0x00008B31 }, /* GL_VERTEX_SHADER */
- { 51899, 0x00008B31 }, /* GL_VERTEX_SHADER_ARB */
- { 51920, 0x00008621 }, /* GL_VERTEX_STATE_PROGRAM_NV */
- { 51947, 0x00000BA2 }, /* GL_VIEWPORT */
- { 51959, 0x00000800 }, /* GL_VIEWPORT_BIT */
- { 51975, 0x00008A1A }, /* GL_VOLATILE_APPLE */
- { 51993, 0x0000911D }, /* GL_WAIT_FAILED */
- { 52008, 0x000086AD }, /* GL_WEIGHT_ARRAY_ARB */
- { 52028, 0x0000889E }, /* GL_WEIGHT_ARRAY_BUFFER_BINDING */
- { 52059, 0x0000889E }, /* GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB */
- { 52094, 0x0000889E }, /* GL_WEIGHT_ARRAY_BUFFER_BINDING_OES */
- { 52129, 0x000086AD }, /* GL_WEIGHT_ARRAY_OES */
- { 52149, 0x000086AC }, /* GL_WEIGHT_ARRAY_POINTER_ARB */
- { 52177, 0x000086AC }, /* GL_WEIGHT_ARRAY_POINTER_OES */
- { 52205, 0x000086AB }, /* GL_WEIGHT_ARRAY_SIZE_ARB */
- { 52230, 0x000086AB }, /* GL_WEIGHT_ARRAY_SIZE_OES */
- { 52255, 0x000086AA }, /* GL_WEIGHT_ARRAY_STRIDE_ARB */
- { 52282, 0x000086AA }, /* GL_WEIGHT_ARRAY_STRIDE_OES */
- { 52309, 0x000086A9 }, /* GL_WEIGHT_ARRAY_TYPE_ARB */
- { 52334, 0x000086A9 }, /* GL_WEIGHT_ARRAY_TYPE_OES */
- { 52359, 0x000086A6 }, /* GL_WEIGHT_SUM_UNITY_ARB */
- { 52383, 0x000081D4 }, /* GL_WRAP_BORDER_SUN */
- { 52402, 0x000088B9 }, /* GL_WRITE_ONLY */
- { 52416, 0x000088B9 }, /* GL_WRITE_ONLY_ARB */
- { 52434, 0x000088B9 }, /* GL_WRITE_ONLY_OES */
- { 52452, 0x00001506 }, /* GL_XOR */
- { 52459, 0x000085B9 }, /* GL_YCBCR_422_APPLE */
- { 52478, 0x00008757 }, /* GL_YCBCR_MESA */
- { 52492, 0x00000000 }, /* GL_ZERO */
- { 52500, 0x00000D16 }, /* GL_ZOOM_X */
- { 52510, 0x00000D17 }, /* GL_ZOOM_Y */
+ { 37090, 0x0000906F }, /* GL_RGB10_A2UI */
+ { 37104, 0x00008059 }, /* GL_RGB10_A2_EXT */
+ { 37120, 0x00008052 }, /* GL_RGB10_EXT */
+ { 37133, 0x00008053 }, /* GL_RGB12 */
+ { 37142, 0x00008053 }, /* GL_RGB12_EXT */
+ { 37155, 0x00008054 }, /* GL_RGB16 */
+ { 37164, 0x0000881B }, /* GL_RGB16F */
+ { 37174, 0x00008D89 }, /* GL_RGB16I */
+ { 37184, 0x00008D89 }, /* GL_RGB16I_EXT */
+ { 37198, 0x00008D77 }, /* GL_RGB16UI */
+ { 37209, 0x00008D77 }, /* GL_RGB16UI_EXT */
+ { 37224, 0x00008054 }, /* GL_RGB16_EXT */
+ { 37237, 0x00008F9A }, /* GL_RGB16_SNORM */
+ { 37252, 0x0000804E }, /* GL_RGB2_EXT */
+ { 37264, 0x00008815 }, /* GL_RGB32F */
+ { 37274, 0x00008D83 }, /* GL_RGB32I */
+ { 37284, 0x00008D83 }, /* GL_RGB32I_EXT */
+ { 37298, 0x00008D71 }, /* GL_RGB32UI */
+ { 37309, 0x00008D71 }, /* GL_RGB32UI_EXT */
+ { 37324, 0x0000804F }, /* GL_RGB4 */
+ { 37332, 0x0000804F }, /* GL_RGB4_EXT */
+ { 37344, 0x000083A1 }, /* GL_RGB4_S3TC */
+ { 37357, 0x00008050 }, /* GL_RGB5 */
+ { 37365, 0x00008D62 }, /* GL_RGB565 */
+ { 37375, 0x00008D62 }, /* GL_RGB565_OES */
+ { 37389, 0x00008057 }, /* GL_RGB5_A1 */
+ { 37400, 0x00008057 }, /* GL_RGB5_A1_EXT */
+ { 37415, 0x00008057 }, /* GL_RGB5_A1_OES */
+ { 37430, 0x00008050 }, /* GL_RGB5_EXT */
+ { 37442, 0x00008051 }, /* GL_RGB8 */
+ { 37450, 0x00008D8F }, /* GL_RGB8I */
+ { 37459, 0x00008D8F }, /* GL_RGB8I_EXT */
+ { 37472, 0x00008D7D }, /* GL_RGB8UI */
+ { 37482, 0x00008D7D }, /* GL_RGB8UI_EXT */
+ { 37496, 0x00008051 }, /* GL_RGB8_EXT */
+ { 37508, 0x00008051 }, /* GL_RGB8_OES */
+ { 37520, 0x00008F96 }, /* GL_RGB8_SNORM */
+ { 37534, 0x00008C3D }, /* GL_RGB9_E5 */
+ { 37545, 0x00001908 }, /* GL_RGBA */
+ { 37553, 0x0000805A }, /* GL_RGBA12 */
+ { 37563, 0x0000805A }, /* GL_RGBA12_EXT */
+ { 37577, 0x0000805B }, /* GL_RGBA16 */
+ { 37587, 0x0000881A }, /* GL_RGBA16F */
+ { 37598, 0x00008D88 }, /* GL_RGBA16I */
+ { 37609, 0x00008D88 }, /* GL_RGBA16I_EXT */
+ { 37624, 0x00008D76 }, /* GL_RGBA16UI */
+ { 37636, 0x00008D76 }, /* GL_RGBA16UI_EXT */
+ { 37652, 0x0000805B }, /* GL_RGBA16_EXT */
+ { 37666, 0x00008F9B }, /* GL_RGBA16_SNORM */
+ { 37682, 0x00008055 }, /* GL_RGBA2 */
+ { 37691, 0x00008055 }, /* GL_RGBA2_EXT */
+ { 37704, 0x00008814 }, /* GL_RGBA32F */
+ { 37715, 0x00008D82 }, /* GL_RGBA32I */
+ { 37726, 0x00008D82 }, /* GL_RGBA32I_EXT */
+ { 37741, 0x00008D70 }, /* GL_RGBA32UI */
+ { 37753, 0x00008D70 }, /* GL_RGBA32UI_EXT */
+ { 37769, 0x00008056 }, /* GL_RGBA4 */
+ { 37778, 0x000083A5 }, /* GL_RGBA4_DXT5_S3TC */
+ { 37797, 0x00008056 }, /* GL_RGBA4_EXT */
+ { 37810, 0x00008056 }, /* GL_RGBA4_OES */
+ { 37823, 0x000083A3 }, /* GL_RGBA4_S3TC */
+ { 37837, 0x00008058 }, /* GL_RGBA8 */
+ { 37846, 0x00008D8E }, /* GL_RGBA8I */
+ { 37856, 0x00008D8E }, /* GL_RGBA8I_EXT */
+ { 37870, 0x00008D7C }, /* GL_RGBA8UI */
+ { 37881, 0x00008D7C }, /* GL_RGBA8UI_EXT */
+ { 37896, 0x00008058 }, /* GL_RGBA8_EXT */
+ { 37909, 0x00008058 }, /* GL_RGBA8_OES */
+ { 37922, 0x00008F97 }, /* GL_RGBA8_SNORM */
+ { 37937, 0x000083A4 }, /* GL_RGBA_DXT5_S3TC */
+ { 37955, 0x00008820 }, /* GL_RGBA_FLOAT_MODE_ARB */
+ { 37978, 0x00008D99 }, /* GL_RGBA_INTEGER */
+ { 37994, 0x00008D99 }, /* GL_RGBA_INTEGER_EXT */
+ { 38014, 0x00008D9E }, /* GL_RGBA_INTEGER_MODE_EXT */
+ { 38039, 0x00000C31 }, /* GL_RGBA_MODE */
+ { 38052, 0x000083A2 }, /* GL_RGBA_S3TC */
+ { 38065, 0x00008F93 }, /* GL_RGBA_SNORM */
+ { 38079, 0x00008D98 }, /* GL_RGB_INTEGER */
+ { 38094, 0x00008D98 }, /* GL_RGB_INTEGER_EXT */
+ { 38113, 0x000083A0 }, /* GL_RGB_S3TC */
+ { 38125, 0x00008573 }, /* GL_RGB_SCALE */
+ { 38138, 0x00008573 }, /* GL_RGB_SCALE_ARB */
+ { 38155, 0x00008573 }, /* GL_RGB_SCALE_EXT */
+ { 38172, 0x00008F92 }, /* GL_RGB_SNORM */
+ { 38185, 0x00008F91 }, /* GL_RG_SNORM */
+ { 38197, 0x00000407 }, /* GL_RIGHT */
+ { 38206, 0x00002000 }, /* GL_S */
+ { 38211, 0x00008B5D }, /* GL_SAMPLER_1D */
+ { 38225, 0x00008DC0 }, /* GL_SAMPLER_1D_ARRAY */
+ { 38245, 0x00008DC0 }, /* GL_SAMPLER_1D_ARRAY_EXT */
+ { 38269, 0x00008DC3 }, /* GL_SAMPLER_1D_ARRAY_SHADOW */
+ { 38296, 0x00008DC3 }, /* GL_SAMPLER_1D_ARRAY_SHADOW_EXT */
+ { 38327, 0x00008B61 }, /* GL_SAMPLER_1D_SHADOW */
+ { 38348, 0x00008B5E }, /* GL_SAMPLER_2D */
+ { 38362, 0x00008DC1 }, /* GL_SAMPLER_2D_ARRAY */
+ { 38382, 0x00008DC1 }, /* GL_SAMPLER_2D_ARRAY_EXT */
+ { 38406, 0x00008DC4 }, /* GL_SAMPLER_2D_ARRAY_SHADOW */
+ { 38433, 0x00008DC4 }, /* GL_SAMPLER_2D_ARRAY_SHADOW_EXT */
+ { 38464, 0x00008B63 }, /* GL_SAMPLER_2D_RECT */
+ { 38483, 0x00008B64 }, /* GL_SAMPLER_2D_RECT_SHADOW */
+ { 38509, 0x00008B62 }, /* GL_SAMPLER_2D_SHADOW */
+ { 38530, 0x00008B5F }, /* GL_SAMPLER_3D */
+ { 38544, 0x00008B5F }, /* GL_SAMPLER_3D_OES */
+ { 38562, 0x00008919 }, /* GL_SAMPLER_BINDING */
+ { 38581, 0x00008DC2 }, /* GL_SAMPLER_BUFFER */
+ { 38599, 0x00008DC2 }, /* GL_SAMPLER_BUFFER_EXT */
+ { 38621, 0x00008B60 }, /* GL_SAMPLER_CUBE */
+ { 38637, 0x00008DC5 }, /* GL_SAMPLER_CUBE_SHADOW */
+ { 38660, 0x00008DC5 }, /* GL_SAMPLER_CUBE_SHADOW_EXT */
+ { 38687, 0x00008D66 }, /* GL_SAMPLER_EXTERNAL_OES */
+ { 38711, 0x000080A9 }, /* GL_SAMPLES */
+ { 38722, 0x000086B4 }, /* GL_SAMPLES_3DFX */
+ { 38738, 0x000080A9 }, /* GL_SAMPLES_ARB */
+ { 38753, 0x00008914 }, /* GL_SAMPLES_PASSED */
+ { 38771, 0x00008914 }, /* GL_SAMPLES_PASSED_ARB */
+ { 38793, 0x0000809E }, /* GL_SAMPLE_ALPHA_TO_COVERAGE */
+ { 38821, 0x0000809E }, /* GL_SAMPLE_ALPHA_TO_COVERAGE_ARB */
+ { 38853, 0x0000809F }, /* GL_SAMPLE_ALPHA_TO_ONE */
+ { 38876, 0x0000809F }, /* GL_SAMPLE_ALPHA_TO_ONE_ARB */
+ { 38903, 0x000080A8 }, /* GL_SAMPLE_BUFFERS */
+ { 38921, 0x000086B3 }, /* GL_SAMPLE_BUFFERS_3DFX */
+ { 38944, 0x000080A8 }, /* GL_SAMPLE_BUFFERS_ARB */
+ { 38966, 0x000080A0 }, /* GL_SAMPLE_COVERAGE */
+ { 38985, 0x000080A0 }, /* GL_SAMPLE_COVERAGE_ARB */
+ { 39008, 0x000080AB }, /* GL_SAMPLE_COVERAGE_INVERT */
+ { 39034, 0x000080AB }, /* GL_SAMPLE_COVERAGE_INVERT_ARB */
+ { 39064, 0x000080AA }, /* GL_SAMPLE_COVERAGE_VALUE */
+ { 39089, 0x000080AA }, /* GL_SAMPLE_COVERAGE_VALUE_ARB */
+ { 39118, 0x00080000 }, /* GL_SCISSOR_BIT */
+ { 39133, 0x00000C10 }, /* GL_SCISSOR_BOX */
+ { 39148, 0x00000C11 }, /* GL_SCISSOR_TEST */
+ { 39164, 0x0000845E }, /* GL_SECONDARY_COLOR_ARRAY */
+ { 39189, 0x0000889C }, /* GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING */
+ { 39229, 0x0000889C }, /* GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB */
+ { 39273, 0x0000845D }, /* GL_SECONDARY_COLOR_ARRAY_POINTER */
+ { 39306, 0x0000845A }, /* GL_SECONDARY_COLOR_ARRAY_SIZE */
+ { 39336, 0x0000845C }, /* GL_SECONDARY_COLOR_ARRAY_STRIDE */
+ { 39368, 0x0000845B }, /* GL_SECONDARY_COLOR_ARRAY_TYPE */
+ { 39398, 0x00001C02 }, /* GL_SELECT */
+ { 39408, 0x00000DF3 }, /* GL_SELECTION_BUFFER_POINTER */
+ { 39436, 0x00000DF4 }, /* GL_SELECTION_BUFFER_SIZE */
+ { 39461, 0x00008012 }, /* GL_SEPARABLE_2D */
+ { 39477, 0x00008C8D }, /* GL_SEPARATE_ATTRIBS */
+ { 39497, 0x00008C8D }, /* GL_SEPARATE_ATTRIBS_EXT */
+ { 39521, 0x000081FA }, /* GL_SEPARATE_SPECULAR_COLOR */
+ { 39548, 0x000081FA }, /* GL_SEPARATE_SPECULAR_COLOR_EXT */
+ { 39579, 0x0000150F }, /* GL_SET */
+ { 39586, 0x00008DF8 }, /* GL_SHADER_BINARY_FORMATS */
+ { 39611, 0x00008DFA }, /* GL_SHADER_COMPILER */
+ { 39630, 0x00008B48 }, /* GL_SHADER_OBJECT_ARB */
+ { 39651, 0x00008B88 }, /* GL_SHADER_SOURCE_LENGTH */
+ { 39675, 0x00008B4F }, /* GL_SHADER_TYPE */
+ { 39690, 0x00000B54 }, /* GL_SHADE_MODEL */
+ { 39705, 0x00008B8C }, /* GL_SHADING_LANGUAGE_VERSION */
+ { 39733, 0x000080BF }, /* GL_SHADOW_AMBIENT_SGIX */
+ { 39756, 0x000081FB }, /* GL_SHARED_TEXTURE_PALETTE_EXT */
+ { 39786, 0x00001601 }, /* GL_SHININESS */
+ { 39799, 0x00001402 }, /* GL_SHORT */
+ { 39808, 0x00009119 }, /* GL_SIGNALED */
+ { 39820, 0x00008F9C }, /* GL_SIGNED_NORMALIZED */
+ { 39841, 0x000081F9 }, /* GL_SINGLE_COLOR */
+ { 39857, 0x000081F9 }, /* GL_SINGLE_COLOR_EXT */
+ { 39877, 0x000085CC }, /* GL_SLICE_ACCUM_SUN */
+ { 39896, 0x00008C46 }, /* GL_SLUMINANCE */
+ { 39910, 0x00008C47 }, /* GL_SLUMINANCE8 */
+ { 39925, 0x00008C45 }, /* GL_SLUMINANCE8_ALPHA8 */
+ { 39947, 0x00008C44 }, /* GL_SLUMINANCE_ALPHA */
+ { 39967, 0x00001D01 }, /* GL_SMOOTH */
+ { 39977, 0x00000B23 }, /* GL_SMOOTH_LINE_WIDTH_GRANULARITY */
+ { 40010, 0x00000B22 }, /* GL_SMOOTH_LINE_WIDTH_RANGE */
+ { 40037, 0x00000B13 }, /* GL_SMOOTH_POINT_SIZE_GRANULARITY */
+ { 40070, 0x00000B12 }, /* GL_SMOOTH_POINT_SIZE_RANGE */
+ { 40097, 0x00008588 }, /* GL_SOURCE0_ALPHA */
+ { 40114, 0x00008588 }, /* GL_SOURCE0_ALPHA_ARB */
+ { 40135, 0x00008588 }, /* GL_SOURCE0_ALPHA_EXT */
+ { 40156, 0x00008580 }, /* GL_SOURCE0_RGB */
+ { 40171, 0x00008580 }, /* GL_SOURCE0_RGB_ARB */
+ { 40190, 0x00008580 }, /* GL_SOURCE0_RGB_EXT */
+ { 40209, 0x00008589 }, /* GL_SOURCE1_ALPHA */
+ { 40226, 0x00008589 }, /* GL_SOURCE1_ALPHA_ARB */
+ { 40247, 0x00008589 }, /* GL_SOURCE1_ALPHA_EXT */
+ { 40268, 0x00008581 }, /* GL_SOURCE1_RGB */
+ { 40283, 0x00008581 }, /* GL_SOURCE1_RGB_ARB */
+ { 40302, 0x00008581 }, /* GL_SOURCE1_RGB_EXT */
+ { 40321, 0x0000858A }, /* GL_SOURCE2_ALPHA */
+ { 40338, 0x0000858A }, /* GL_SOURCE2_ALPHA_ARB */
+ { 40359, 0x0000858A }, /* GL_SOURCE2_ALPHA_EXT */
+ { 40380, 0x00008582 }, /* GL_SOURCE2_RGB */
+ { 40395, 0x00008582 }, /* GL_SOURCE2_RGB_ARB */
+ { 40414, 0x00008582 }, /* GL_SOURCE2_RGB_EXT */
+ { 40433, 0x0000858B }, /* GL_SOURCE3_ALPHA_NV */
+ { 40453, 0x00008583 }, /* GL_SOURCE3_RGB_NV */
+ { 40471, 0x00001202 }, /* GL_SPECULAR */
+ { 40483, 0x00002402 }, /* GL_SPHERE_MAP */
+ { 40497, 0x00001206 }, /* GL_SPOT_CUTOFF */
+ { 40512, 0x00001204 }, /* GL_SPOT_DIRECTION */
+ { 40530, 0x00001205 }, /* GL_SPOT_EXPONENT */
+ { 40547, 0x00008588 }, /* GL_SRC0_ALPHA */
+ { 40561, 0x00008580 }, /* GL_SRC0_RGB */
+ { 40573, 0x00008589 }, /* GL_SRC1_ALPHA */
+ { 40587, 0x00008581 }, /* GL_SRC1_RGB */
+ { 40599, 0x0000858A }, /* GL_SRC2_ALPHA */
+ { 40613, 0x00008582 }, /* GL_SRC2_RGB */
+ { 40625, 0x00000302 }, /* GL_SRC_ALPHA */
+ { 40638, 0x00000308 }, /* GL_SRC_ALPHA_SATURATE */
+ { 40660, 0x00000300 }, /* GL_SRC_COLOR */
+ { 40673, 0x00008C40 }, /* GL_SRGB */
+ { 40681, 0x00008C41 }, /* GL_SRGB8 */
+ { 40690, 0x00008C43 }, /* GL_SRGB8_ALPHA8 */
+ { 40706, 0x00008C42 }, /* GL_SRGB_ALPHA */
+ { 40720, 0x00000503 }, /* GL_STACK_OVERFLOW */
+ { 40738, 0x00000504 }, /* GL_STACK_UNDERFLOW */
+ { 40757, 0x000088E6 }, /* GL_STATIC_COPY */
+ { 40772, 0x000088E6 }, /* GL_STATIC_COPY_ARB */
+ { 40791, 0x000088E4 }, /* GL_STATIC_DRAW */
+ { 40806, 0x000088E4 }, /* GL_STATIC_DRAW_ARB */
+ { 40825, 0x000088E5 }, /* GL_STATIC_READ */
+ { 40840, 0x000088E5 }, /* GL_STATIC_READ_ARB */
+ { 40859, 0x00001802 }, /* GL_STENCIL */
+ { 40870, 0x00008D20 }, /* GL_STENCIL_ATTACHMENT */
+ { 40892, 0x00008D20 }, /* GL_STENCIL_ATTACHMENT_EXT */
+ { 40918, 0x00008D20 }, /* GL_STENCIL_ATTACHMENT_OES */
+ { 40944, 0x00008801 }, /* GL_STENCIL_BACK_FAIL */
+ { 40965, 0x00008801 }, /* GL_STENCIL_BACK_FAIL_ATI */
+ { 40990, 0x00008800 }, /* GL_STENCIL_BACK_FUNC */
+ { 41011, 0x00008800 }, /* GL_STENCIL_BACK_FUNC_ATI */
+ { 41036, 0x00008802 }, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL */
+ { 41068, 0x00008802 }, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI */
+ { 41104, 0x00008803 }, /* GL_STENCIL_BACK_PASS_DEPTH_PASS */
+ { 41136, 0x00008803 }, /* GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI */
+ { 41172, 0x00008CA3 }, /* GL_STENCIL_BACK_REF */
+ { 41192, 0x00008CA4 }, /* GL_STENCIL_BACK_VALUE_MASK */
+ { 41219, 0x00008CA5 }, /* GL_STENCIL_BACK_WRITEMASK */
+ { 41245, 0x00000D57 }, /* GL_STENCIL_BITS */
+ { 41261, 0x00008224 }, /* GL_STENCIL_BUFFER */
+ { 41279, 0x00000400 }, /* GL_STENCIL_BUFFER_BIT */
+ { 41301, 0x00000B91 }, /* GL_STENCIL_CLEAR_VALUE */
+ { 41324, 0x00000B94 }, /* GL_STENCIL_FAIL */
+ { 41340, 0x00000B92 }, /* GL_STENCIL_FUNC */
+ { 41356, 0x00001901 }, /* GL_STENCIL_INDEX */
+ { 41373, 0x00008D46 }, /* GL_STENCIL_INDEX1 */
+ { 41391, 0x00008D49 }, /* GL_STENCIL_INDEX16 */
+ { 41410, 0x00008D49 }, /* GL_STENCIL_INDEX16_EXT */
+ { 41433, 0x00008D46 }, /* GL_STENCIL_INDEX1_EXT */
+ { 41455, 0x00008D46 }, /* GL_STENCIL_INDEX1_OES */
+ { 41477, 0x00008D47 }, /* GL_STENCIL_INDEX4 */
+ { 41495, 0x00008D47 }, /* GL_STENCIL_INDEX4_EXT */
+ { 41517, 0x00008D47 }, /* GL_STENCIL_INDEX4_OES */
+ { 41539, 0x00008D48 }, /* GL_STENCIL_INDEX8 */
+ { 41557, 0x00008D48 }, /* GL_STENCIL_INDEX8_EXT */
+ { 41579, 0x00008D48 }, /* GL_STENCIL_INDEX8_OES */
+ { 41601, 0x00008D45 }, /* GL_STENCIL_INDEX_EXT */
+ { 41622, 0x00000B95 }, /* GL_STENCIL_PASS_DEPTH_FAIL */
+ { 41649, 0x00000B96 }, /* GL_STENCIL_PASS_DEPTH_PASS */
+ { 41676, 0x00000B97 }, /* GL_STENCIL_REF */
+ { 41691, 0x00000B90 }, /* GL_STENCIL_TEST */
+ { 41707, 0x00008910 }, /* GL_STENCIL_TEST_TWO_SIDE_EXT */
+ { 41736, 0x00000B93 }, /* GL_STENCIL_VALUE_MASK */
+ { 41758, 0x00000B98 }, /* GL_STENCIL_WRITEMASK */
+ { 41779, 0x00000C33 }, /* GL_STEREO */
+ { 41789, 0x000085BE }, /* GL_STORAGE_CACHED_APPLE */
+ { 41813, 0x000085BD }, /* GL_STORAGE_PRIVATE_APPLE */
+ { 41838, 0x000085BF }, /* GL_STORAGE_SHARED_APPLE */
+ { 41862, 0x000088E2 }, /* GL_STREAM_COPY */
+ { 41877, 0x000088E2 }, /* GL_STREAM_COPY_ARB */
+ { 41896, 0x000088E0 }, /* GL_STREAM_DRAW */
+ { 41911, 0x000088E0 }, /* GL_STREAM_DRAW_ARB */
+ { 41930, 0x000088E1 }, /* GL_STREAM_READ */
+ { 41945, 0x000088E1 }, /* GL_STREAM_READ_ARB */
+ { 41964, 0x00000D50 }, /* GL_SUBPIXEL_BITS */
+ { 41981, 0x000084E7 }, /* GL_SUBTRACT */
+ { 41993, 0x000084E7 }, /* GL_SUBTRACT_ARB */
+ { 42009, 0x00009113 }, /* GL_SYNC_CONDITION */
+ { 42027, 0x00009116 }, /* GL_SYNC_FENCE */
+ { 42041, 0x00009115 }, /* GL_SYNC_FLAGS */
+ { 42055, 0x00000001 }, /* GL_SYNC_FLUSH_COMMANDS_BIT */
+ { 42082, 0x00009117 }, /* GL_SYNC_GPU_COMMANDS_COMPLETE */
+ { 42112, 0x00009114 }, /* GL_SYNC_STATUS */
+ { 42127, 0x00002001 }, /* GL_T */
+ { 42132, 0x00002A2A }, /* GL_T2F_C3F_V3F */
+ { 42147, 0x00002A2C }, /* GL_T2F_C4F_N3F_V3F */
+ { 42166, 0x00002A29 }, /* GL_T2F_C4UB_V3F */
+ { 42182, 0x00002A2B }, /* GL_T2F_N3F_V3F */
+ { 42197, 0x00002A27 }, /* GL_T2F_V3F */
+ { 42208, 0x00002A2D }, /* GL_T4F_C4F_N3F_V4F */
+ { 42227, 0x00002A28 }, /* GL_T4F_V4F */
+ { 42238, 0x00008031 }, /* GL_TABLE_TOO_LARGE_EXT */
+ { 42261, 0x00001702 }, /* GL_TEXTURE */
+ { 42272, 0x000084C0 }, /* GL_TEXTURE0 */
+ { 42284, 0x000084C0 }, /* GL_TEXTURE0_ARB */
+ { 42300, 0x000084C1 }, /* GL_TEXTURE1 */
+ { 42312, 0x000084CA }, /* GL_TEXTURE10 */
+ { 42325, 0x000084CA }, /* GL_TEXTURE10_ARB */
+ { 42342, 0x000084CB }, /* GL_TEXTURE11 */
+ { 42355, 0x000084CB }, /* GL_TEXTURE11_ARB */
+ { 42372, 0x000084CC }, /* GL_TEXTURE12 */
+ { 42385, 0x000084CC }, /* GL_TEXTURE12_ARB */
+ { 42402, 0x000084CD }, /* GL_TEXTURE13 */
+ { 42415, 0x000084CD }, /* GL_TEXTURE13_ARB */
+ { 42432, 0x000084CE }, /* GL_TEXTURE14 */
+ { 42445, 0x000084CE }, /* GL_TEXTURE14_ARB */
+ { 42462, 0x000084CF }, /* GL_TEXTURE15 */
+ { 42475, 0x000084CF }, /* GL_TEXTURE15_ARB */
+ { 42492, 0x000084D0 }, /* GL_TEXTURE16 */
+ { 42505, 0x000084D0 }, /* GL_TEXTURE16_ARB */
+ { 42522, 0x000084D1 }, /* GL_TEXTURE17 */
+ { 42535, 0x000084D1 }, /* GL_TEXTURE17_ARB */
+ { 42552, 0x000084D2 }, /* GL_TEXTURE18 */
+ { 42565, 0x000084D2 }, /* GL_TEXTURE18_ARB */
+ { 42582, 0x000084D3 }, /* GL_TEXTURE19 */
+ { 42595, 0x000084D3 }, /* GL_TEXTURE19_ARB */
+ { 42612, 0x000084C1 }, /* GL_TEXTURE1_ARB */
+ { 42628, 0x000084C2 }, /* GL_TEXTURE2 */
+ { 42640, 0x000084D4 }, /* GL_TEXTURE20 */
+ { 42653, 0x000084D4 }, /* GL_TEXTURE20_ARB */
+ { 42670, 0x000084D5 }, /* GL_TEXTURE21 */
+ { 42683, 0x000084D5 }, /* GL_TEXTURE21_ARB */
+ { 42700, 0x000084D6 }, /* GL_TEXTURE22 */
+ { 42713, 0x000084D6 }, /* GL_TEXTURE22_ARB */
+ { 42730, 0x000084D7 }, /* GL_TEXTURE23 */
+ { 42743, 0x000084D7 }, /* GL_TEXTURE23_ARB */
+ { 42760, 0x000084D8 }, /* GL_TEXTURE24 */
+ { 42773, 0x000084D8 }, /* GL_TEXTURE24_ARB */
+ { 42790, 0x000084D9 }, /* GL_TEXTURE25 */
+ { 42803, 0x000084D9 }, /* GL_TEXTURE25_ARB */
+ { 42820, 0x000084DA }, /* GL_TEXTURE26 */
+ { 42833, 0x000084DA }, /* GL_TEXTURE26_ARB */
+ { 42850, 0x000084DB }, /* GL_TEXTURE27 */
+ { 42863, 0x000084DB }, /* GL_TEXTURE27_ARB */
+ { 42880, 0x000084DC }, /* GL_TEXTURE28 */
+ { 42893, 0x000084DC }, /* GL_TEXTURE28_ARB */
+ { 42910, 0x000084DD }, /* GL_TEXTURE29 */
+ { 42923, 0x000084DD }, /* GL_TEXTURE29_ARB */
+ { 42940, 0x000084C2 }, /* GL_TEXTURE2_ARB */
+ { 42956, 0x000084C3 }, /* GL_TEXTURE3 */
+ { 42968, 0x000084DE }, /* GL_TEXTURE30 */
+ { 42981, 0x000084DE }, /* GL_TEXTURE30_ARB */
+ { 42998, 0x000084DF }, /* GL_TEXTURE31 */
+ { 43011, 0x000084DF }, /* GL_TEXTURE31_ARB */
+ { 43028, 0x000084C3 }, /* GL_TEXTURE3_ARB */
+ { 43044, 0x000084C4 }, /* GL_TEXTURE4 */
+ { 43056, 0x000084C4 }, /* GL_TEXTURE4_ARB */
+ { 43072, 0x000084C5 }, /* GL_TEXTURE5 */
+ { 43084, 0x000084C5 }, /* GL_TEXTURE5_ARB */
+ { 43100, 0x000084C6 }, /* GL_TEXTURE6 */
+ { 43112, 0x000084C6 }, /* GL_TEXTURE6_ARB */
+ { 43128, 0x000084C7 }, /* GL_TEXTURE7 */
+ { 43140, 0x000084C7 }, /* GL_TEXTURE7_ARB */
+ { 43156, 0x000084C8 }, /* GL_TEXTURE8 */
+ { 43168, 0x000084C8 }, /* GL_TEXTURE8_ARB */
+ { 43184, 0x000084C9 }, /* GL_TEXTURE9 */
+ { 43196, 0x000084C9 }, /* GL_TEXTURE9_ARB */
+ { 43212, 0x00000DE0 }, /* GL_TEXTURE_1D */
+ { 43226, 0x00008C18 }, /* GL_TEXTURE_1D_ARRAY */
+ { 43246, 0x00008C18 }, /* GL_TEXTURE_1D_ARRAY_EXT */
+ { 43270, 0x00000DE1 }, /* GL_TEXTURE_2D */
+ { 43284, 0x00008C1A }, /* GL_TEXTURE_2D_ARRAY */
+ { 43304, 0x00008C1A }, /* GL_TEXTURE_2D_ARRAY_EXT */
+ { 43328, 0x0000806F }, /* GL_TEXTURE_3D */
+ { 43342, 0x0000806F }, /* GL_TEXTURE_3D_OES */
+ { 43360, 0x0000805F }, /* GL_TEXTURE_ALPHA_SIZE */
+ { 43382, 0x0000805F }, /* GL_TEXTURE_ALPHA_SIZE_EXT */
+ { 43408, 0x0000813C }, /* GL_TEXTURE_BASE_LEVEL */
+ { 43430, 0x00008068 }, /* GL_TEXTURE_BINDING_1D */
+ { 43452, 0x00008C1C }, /* GL_TEXTURE_BINDING_1D_ARRAY */
+ { 43480, 0x00008C1C }, /* GL_TEXTURE_BINDING_1D_ARRAY_EXT */
+ { 43512, 0x00008069 }, /* GL_TEXTURE_BINDING_2D */
+ { 43534, 0x00008C1D }, /* GL_TEXTURE_BINDING_2D_ARRAY */
+ { 43562, 0x00008C1D }, /* GL_TEXTURE_BINDING_2D_ARRAY_EXT */
+ { 43594, 0x0000806A }, /* GL_TEXTURE_BINDING_3D */
+ { 43616, 0x0000806A }, /* GL_TEXTURE_BINDING_3D_OES */
+ { 43642, 0x00008C2C }, /* GL_TEXTURE_BINDING_BUFFER */
+ { 43668, 0x00008C2C }, /* GL_TEXTURE_BINDING_BUFFER_ARB */
+ { 43698, 0x00008514 }, /* GL_TEXTURE_BINDING_CUBE_MAP */
+ { 43726, 0x00008514 }, /* GL_TEXTURE_BINDING_CUBE_MAP_ARB */
+ { 43758, 0x00008514 }, /* GL_TEXTURE_BINDING_CUBE_MAP_OES */
+ { 43790, 0x00008D67 }, /* GL_TEXTURE_BINDING_EXTERNAL_OES */
+ { 43822, 0x000084F6 }, /* GL_TEXTURE_BINDING_RECTANGLE */
+ { 43851, 0x000084F6 }, /* GL_TEXTURE_BINDING_RECTANGLE_ARB */
+ { 43884, 0x000084F6 }, /* GL_TEXTURE_BINDING_RECTANGLE_NV */
+ { 43916, 0x00040000 }, /* GL_TEXTURE_BIT */
+ { 43931, 0x0000805E }, /* GL_TEXTURE_BLUE_SIZE */
+ { 43952, 0x0000805E }, /* GL_TEXTURE_BLUE_SIZE_EXT */
+ { 43977, 0x00001005 }, /* GL_TEXTURE_BORDER */
+ { 43995, 0x00001004 }, /* GL_TEXTURE_BORDER_COLOR */
+ { 44019, 0x00008C2A }, /* GL_TEXTURE_BUFFER */
+ { 44037, 0x00008C2A }, /* GL_TEXTURE_BUFFER_ARB */
+ { 44059, 0x00008C2D }, /* GL_TEXTURE_BUFFER_DATA_STORE_BINDING */
+ { 44096, 0x00008C2D }, /* GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB */
+ { 44137, 0x00008C2E }, /* GL_TEXTURE_BUFFER_FORMAT */
+ { 44162, 0x00008C2E }, /* GL_TEXTURE_BUFFER_FORMAT_ARB */
+ { 44191, 0x00008171 }, /* GL_TEXTURE_CLIPMAP_CENTER_SGIX */
+ { 44222, 0x00008176 }, /* GL_TEXTURE_CLIPMAP_DEPTH_SGIX */
+ { 44252, 0x00008172 }, /* GL_TEXTURE_CLIPMAP_FRAME_SGIX */
+ { 44282, 0x00008175 }, /* GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX */
+ { 44317, 0x00008173 }, /* GL_TEXTURE_CLIPMAP_OFFSET_SGIX */
+ { 44348, 0x00008174 }, /* GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX */
+ { 44386, 0x000080BC }, /* GL_TEXTURE_COLOR_TABLE_SGI */
+ { 44413, 0x000081EF }, /* GL_TEXTURE_COLOR_WRITEMASK_SGIS */
+ { 44445, 0x000080BF }, /* GL_TEXTURE_COMPARE_FAIL_VALUE_ARB */
+ { 44479, 0x0000884D }, /* GL_TEXTURE_COMPARE_FUNC */
+ { 44503, 0x0000884D }, /* GL_TEXTURE_COMPARE_FUNC_ARB */
+ { 44531, 0x0000884C }, /* GL_TEXTURE_COMPARE_MODE */
+ { 44555, 0x0000884C }, /* GL_TEXTURE_COMPARE_MODE_ARB */
+ { 44583, 0x0000819B }, /* GL_TEXTURE_COMPARE_OPERATOR_SGIX */
+ { 44616, 0x0000819A }, /* GL_TEXTURE_COMPARE_SGIX */
+ { 44640, 0x00001003 }, /* GL_TEXTURE_COMPONENTS */
+ { 44662, 0x000086A1 }, /* GL_TEXTURE_COMPRESSED */
+ { 44684, 0x000086A1 }, /* GL_TEXTURE_COMPRESSED_ARB */
+ { 44710, 0x000086A3 }, /* GL_TEXTURE_COMPRESSED_FORMATS_ARB */
+ { 44744, 0x000086A0 }, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE */
+ { 44777, 0x000086A0 }, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB */
+ { 44814, 0x000084EF }, /* GL_TEXTURE_COMPRESSION_HINT */
+ { 44842, 0x000084EF }, /* GL_TEXTURE_COMPRESSION_HINT_ARB */
+ { 44874, 0x00008078 }, /* GL_TEXTURE_COORD_ARRAY */
+ { 44897, 0x0000889A }, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING */
+ { 44935, 0x0000889A }, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB */
+ { 44977, 0x00008092 }, /* GL_TEXTURE_COORD_ARRAY_POINTER */
+ { 45008, 0x00008088 }, /* GL_TEXTURE_COORD_ARRAY_SIZE */
+ { 45036, 0x0000808A }, /* GL_TEXTURE_COORD_ARRAY_STRIDE */
+ { 45066, 0x00008089 }, /* GL_TEXTURE_COORD_ARRAY_TYPE */
+ { 45094, 0x00008B9D }, /* GL_TEXTURE_CROP_RECT_OES */
+ { 45119, 0x00008513 }, /* GL_TEXTURE_CUBE_MAP */
+ { 45139, 0x00008513 }, /* GL_TEXTURE_CUBE_MAP_ARB */
+ { 45163, 0x00008516 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X */
+ { 45194, 0x00008516 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB */
+ { 45229, 0x00008516 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES */
+ { 45264, 0x00008518 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y */
+ { 45295, 0x00008518 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB */
+ { 45330, 0x00008518 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES */
+ { 45365, 0x0000851A }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z */
+ { 45396, 0x0000851A }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB */
+ { 45431, 0x0000851A }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES */
+ { 45466, 0x00008513 }, /* GL_TEXTURE_CUBE_MAP_OES */
+ { 45490, 0x00008515 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X */
+ { 45521, 0x00008515 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB */
+ { 45556, 0x00008515 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES */
+ { 45591, 0x00008517 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y */
+ { 45622, 0x00008517 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB */
+ { 45657, 0x00008517 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES */
+ { 45692, 0x00008519 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z */
+ { 45723, 0x00008519 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB */
+ { 45758, 0x00008519 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES */
+ { 45793, 0x000088F4 }, /* GL_TEXTURE_CUBE_MAP_SEAMLESS */
+ { 45822, 0x00008071 }, /* GL_TEXTURE_DEPTH */
+ { 45839, 0x0000884A }, /* GL_TEXTURE_DEPTH_SIZE */
+ { 45861, 0x0000884A }, /* GL_TEXTURE_DEPTH_SIZE_ARB */
+ { 45887, 0x00002300 }, /* GL_TEXTURE_ENV */
+ { 45902, 0x00002201 }, /* GL_TEXTURE_ENV_COLOR */
+ { 45923, 0x00002200 }, /* GL_TEXTURE_ENV_MODE */
+ { 45943, 0x00008D65 }, /* GL_TEXTURE_EXTERNAL_OES */
+ { 45967, 0x00008500 }, /* GL_TEXTURE_FILTER_CONTROL */
+ { 45993, 0x00008500 }, /* GL_TEXTURE_FILTER_CONTROL_EXT */
+ { 46023, 0x00002500 }, /* GL_TEXTURE_GEN_MODE */
+ { 46043, 0x00002500 }, /* GL_TEXTURE_GEN_MODE_OES */
+ { 46067, 0x00000C63 }, /* GL_TEXTURE_GEN_Q */
+ { 46084, 0x00000C62 }, /* GL_TEXTURE_GEN_R */
+ { 46101, 0x00000C60 }, /* GL_TEXTURE_GEN_S */
+ { 46118, 0x00008D60 }, /* GL_TEXTURE_GEN_STR_OES */
+ { 46141, 0x00000C61 }, /* GL_TEXTURE_GEN_T */
+ { 46158, 0x0000819D }, /* GL_TEXTURE_GEQUAL_R_SGIX */
+ { 46183, 0x0000805D }, /* GL_TEXTURE_GREEN_SIZE */
+ { 46205, 0x0000805D }, /* GL_TEXTURE_GREEN_SIZE_EXT */
+ { 46231, 0x00001001 }, /* GL_TEXTURE_HEIGHT */
+ { 46249, 0x000080ED }, /* GL_TEXTURE_INDEX_SIZE_EXT */
+ { 46275, 0x00008061 }, /* GL_TEXTURE_INTENSITY_SIZE */
+ { 46301, 0x00008061 }, /* GL_TEXTURE_INTENSITY_SIZE_EXT */
+ { 46331, 0x00001003 }, /* GL_TEXTURE_INTERNAL_FORMAT */
+ { 46358, 0x0000819C }, /* GL_TEXTURE_LEQUAL_R_SGIX */
+ { 46383, 0x00008501 }, /* GL_TEXTURE_LOD_BIAS */
+ { 46403, 0x00008501 }, /* GL_TEXTURE_LOD_BIAS_EXT */
+ { 46427, 0x00008190 }, /* GL_TEXTURE_LOD_BIAS_R_SGIX */
+ { 46454, 0x0000818E }, /* GL_TEXTURE_LOD_BIAS_S_SGIX */
+ { 46481, 0x0000818F }, /* GL_TEXTURE_LOD_BIAS_T_SGIX */
+ { 46508, 0x00008060 }, /* GL_TEXTURE_LUMINANCE_SIZE */
+ { 46534, 0x00008060 }, /* GL_TEXTURE_LUMINANCE_SIZE_EXT */
+ { 46564, 0x00002800 }, /* GL_TEXTURE_MAG_FILTER */
+ { 46586, 0x00000BA8 }, /* GL_TEXTURE_MATRIX */
+ { 46604, 0x0000898F }, /* GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES */
+ { 46644, 0x000084FE }, /* GL_TEXTURE_MAX_ANISOTROPY_EXT */
+ { 46674, 0x0000836B }, /* GL_TEXTURE_MAX_CLAMP_R_SGIX */
+ { 46702, 0x00008369 }, /* GL_TEXTURE_MAX_CLAMP_S_SGIX */
+ { 46730, 0x0000836A }, /* GL_TEXTURE_MAX_CLAMP_T_SGIX */
+ { 46758, 0x0000813D }, /* GL_TEXTURE_MAX_LEVEL */
+ { 46779, 0x0000813B }, /* GL_TEXTURE_MAX_LOD */
+ { 46798, 0x00002801 }, /* GL_TEXTURE_MIN_FILTER */
+ { 46820, 0x0000813A }, /* GL_TEXTURE_MIN_LOD */
+ { 46839, 0x00008066 }, /* GL_TEXTURE_PRIORITY */
+ { 46859, 0x000085B7 }, /* GL_TEXTURE_RANGE_LENGTH_APPLE */
+ { 46889, 0x000085B8 }, /* GL_TEXTURE_RANGE_POINTER_APPLE */
+ { 46920, 0x000084F5 }, /* GL_TEXTURE_RECTANGLE */
+ { 46941, 0x000084F5 }, /* GL_TEXTURE_RECTANGLE_ARB */
+ { 46966, 0x000084F5 }, /* GL_TEXTURE_RECTANGLE_NV */
+ { 46990, 0x0000805C }, /* GL_TEXTURE_RED_SIZE */
+ { 47010, 0x0000805C }, /* GL_TEXTURE_RED_SIZE_EXT */
+ { 47034, 0x00008067 }, /* GL_TEXTURE_RESIDENT */
+ { 47054, 0x00008C3F }, /* GL_TEXTURE_SHARED_SIZE */
+ { 47077, 0x00000BA5 }, /* GL_TEXTURE_STACK_DEPTH */
+ { 47100, 0x000088F1 }, /* GL_TEXTURE_STENCIL_SIZE */
+ { 47124, 0x000088F1 }, /* GL_TEXTURE_STENCIL_SIZE_EXT */
+ { 47152, 0x000085BC }, /* GL_TEXTURE_STORAGE_HINT_APPLE */
+ { 47182, 0x00008065 }, /* GL_TEXTURE_TOO_LARGE_EXT */
+ { 47207, 0x0000888F }, /* GL_TEXTURE_UNSIGNED_REMAP_MODE_NV */
+ { 47241, 0x00001000 }, /* GL_TEXTURE_WIDTH */
+ { 47258, 0x00008072 }, /* GL_TEXTURE_WRAP_R */
+ { 47276, 0x00008072 }, /* GL_TEXTURE_WRAP_R_OES */
+ { 47298, 0x00002802 }, /* GL_TEXTURE_WRAP_S */
+ { 47316, 0x00002803 }, /* GL_TEXTURE_WRAP_T */
+ { 47334, 0x0000911B }, /* GL_TIMEOUT_EXPIRED */
+ { 47353, 0x000088BF }, /* GL_TIME_ELAPSED_EXT */
+ { 47373, 0x00008648 }, /* GL_TRACK_MATRIX_NV */
+ { 47392, 0x00008649 }, /* GL_TRACK_MATRIX_TRANSFORM_NV */
+ { 47421, 0x00001000 }, /* GL_TRANSFORM_BIT */
+ { 47438, 0x00008E22 }, /* GL_TRANSFORM_FEEDBACK */
+ { 47460, 0x00008E25 }, /* GL_TRANSFORM_FEEDBACK_BINDING */
+ { 47490, 0x00008C8E }, /* GL_TRANSFORM_FEEDBACK_BUFFER */
+ { 47519, 0x00008E24 }, /* GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
+ { 47555, 0x00008C8F }, /* GL_TRANSFORM_FEEDBACK_BUFFER_BINDING */
+ { 47592, 0x00008C8F }, /* GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT */
+ { 47633, 0x00008C8E }, /* GL_TRANSFORM_FEEDBACK_BUFFER_EXT */
+ { 47666, 0x00008C7F }, /* GL_TRANSFORM_FEEDBACK_BUFFER_MODE */
+ { 47700, 0x00008C7F }, /* GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT */
+ { 47738, 0x00008E23 }, /* GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
+ { 47774, 0x00008C85 }, /* GL_TRANSFORM_FEEDBACK_BUFFER_SIZE */
+ { 47808, 0x00008C85 }, /* GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT */
+ { 47846, 0x00008C84 }, /* GL_TRANSFORM_FEEDBACK_BUFFER_START */
+ { 47881, 0x00008C84 }, /* GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT */
+ { 47920, 0x00008C88 }, /* GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN */
+ { 47961, 0x00008C88 }, /* GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT */
+ { 48006, 0x00008C83 }, /* GL_TRANSFORM_FEEDBACK_VARYINGS */
+ { 48037, 0x00008C83 }, /* GL_TRANSFORM_FEEDBACK_VARYINGS_EXT */
+ { 48072, 0x00008C76 }, /* GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH */
+ { 48113, 0x00008C76 }, /* GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT */
+ { 48158, 0x000084E6 }, /* GL_TRANSPOSE_COLOR_MATRIX */
+ { 48184, 0x000084E6 }, /* GL_TRANSPOSE_COLOR_MATRIX_ARB */
+ { 48214, 0x000088B7 }, /* GL_TRANSPOSE_CURRENT_MATRIX_ARB */
+ { 48246, 0x000084E3 }, /* GL_TRANSPOSE_MODELVIEW_MATRIX */
+ { 48276, 0x000084E3 }, /* GL_TRANSPOSE_MODELVIEW_MATRIX_ARB */
+ { 48310, 0x0000862C }, /* GL_TRANSPOSE_NV */
+ { 48326, 0x000084E4 }, /* GL_TRANSPOSE_PROJECTION_MATRIX */
+ { 48357, 0x000084E4 }, /* GL_TRANSPOSE_PROJECTION_MATRIX_ARB */
+ { 48392, 0x000084E5 }, /* GL_TRANSPOSE_TEXTURE_MATRIX */
+ { 48420, 0x000084E5 }, /* GL_TRANSPOSE_TEXTURE_MATRIX_ARB */
+ { 48452, 0x00000004 }, /* GL_TRIANGLES */
+ { 48465, 0x0000000C }, /* GL_TRIANGLES_ADJACENCY */
+ { 48488, 0x0000000C }, /* GL_TRIANGLES_ADJACENCY_ARB */
+ { 48515, 0x00000006 }, /* GL_TRIANGLE_FAN */
+ { 48531, 0x00008615 }, /* GL_TRIANGLE_MESH_SUN */
+ { 48552, 0x00000005 }, /* GL_TRIANGLE_STRIP */
+ { 48570, 0x0000000D }, /* GL_TRIANGLE_STRIP_ADJACENCY */
+ { 48598, 0x0000000D }, /* GL_TRIANGLE_STRIP_ADJACENCY_ARB */
+ { 48630, 0x00000001 }, /* GL_TRUE */
+ { 48638, 0x00008A1C }, /* GL_UNDEFINED_APPLE */
+ { 48657, 0x00008255 }, /* GL_UNKNOWN_CONTEXT_RESET_ARB */
+ { 48686, 0x00000CF5 }, /* GL_UNPACK_ALIGNMENT */
+ { 48706, 0x0000806E }, /* GL_UNPACK_IMAGE_HEIGHT */
+ { 48729, 0x00000CF1 }, /* GL_UNPACK_LSB_FIRST */
+ { 48749, 0x00000CF2 }, /* GL_UNPACK_ROW_LENGTH */
+ { 48770, 0x0000806D }, /* GL_UNPACK_SKIP_IMAGES */
+ { 48792, 0x00000CF4 }, /* GL_UNPACK_SKIP_PIXELS */
+ { 48814, 0x00000CF3 }, /* GL_UNPACK_SKIP_ROWS */
+ { 48834, 0x00000CF0 }, /* GL_UNPACK_SWAP_BYTES */
+ { 48855, 0x00009118 }, /* GL_UNSIGNALED */
+ { 48869, 0x00001401 }, /* GL_UNSIGNED_BYTE */
+ { 48886, 0x00008362 }, /* GL_UNSIGNED_BYTE_2_3_3_REV */
+ { 48913, 0x00008032 }, /* GL_UNSIGNED_BYTE_3_3_2 */
+ { 48936, 0x00001405 }, /* GL_UNSIGNED_INT */
+ { 48952, 0x00008C3B }, /* GL_UNSIGNED_INT_10F_11F_11F_REV */
+ { 48984, 0x00008036 }, /* GL_UNSIGNED_INT_10_10_10_2 */
+ { 49011, 0x00008DF6 }, /* GL_UNSIGNED_INT_10_10_10_2_OES */
+ { 49042, 0x000084FA }, /* GL_UNSIGNED_INT_24_8 */
+ { 49063, 0x000084FA }, /* GL_UNSIGNED_INT_24_8_EXT */
+ { 49088, 0x000084FA }, /* GL_UNSIGNED_INT_24_8_NV */
+ { 49112, 0x000084FA }, /* GL_UNSIGNED_INT_24_8_OES */
+ { 49137, 0x00008368 }, /* GL_UNSIGNED_INT_2_10_10_10_REV */
+ { 49168, 0x00008368 }, /* GL_UNSIGNED_INT_2_10_10_10_REV_EXT */
+ { 49203, 0x00008C3E }, /* GL_UNSIGNED_INT_5_9_9_9_REV */
+ { 49231, 0x00008035 }, /* GL_UNSIGNED_INT_8_8_8_8 */
+ { 49255, 0x00008367 }, /* GL_UNSIGNED_INT_8_8_8_8_REV */
+ { 49283, 0x00008DD1 }, /* GL_UNSIGNED_INT_SAMPLER_1D */
+ { 49310, 0x00008DD6 }, /* GL_UNSIGNED_INT_SAMPLER_1D_ARRAY */
+ { 49343, 0x00008DD6 }, /* GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT */
+ { 49380, 0x00008DD1 }, /* GL_UNSIGNED_INT_SAMPLER_1D_EXT */
+ { 49411, 0x00008DD2 }, /* GL_UNSIGNED_INT_SAMPLER_2D */
+ { 49438, 0x00008DD7 }, /* GL_UNSIGNED_INT_SAMPLER_2D_ARRAY */
+ { 49471, 0x00008DD7 }, /* GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT */
+ { 49508, 0x00008DD2 }, /* GL_UNSIGNED_INT_SAMPLER_2D_EXT */
+ { 49539, 0x00008DD5 }, /* GL_UNSIGNED_INT_SAMPLER_2D_RECT */
+ { 49571, 0x00008DD5 }, /* GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT */
+ { 49607, 0x00008DD3 }, /* GL_UNSIGNED_INT_SAMPLER_3D */
+ { 49634, 0x00008DD3 }, /* GL_UNSIGNED_INT_SAMPLER_3D_EXT */
+ { 49665, 0x00008DD8 }, /* GL_UNSIGNED_INT_SAMPLER_BUFFER */
+ { 49696, 0x00008DD8 }, /* GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT */
+ { 49731, 0x00008DD4 }, /* GL_UNSIGNED_INT_SAMPLER_CUBE */
+ { 49760, 0x00008DD4 }, /* GL_UNSIGNED_INT_SAMPLER_CUBE_EXT */
+ { 49793, 0x00008DC6 }, /* GL_UNSIGNED_INT_VEC2 */
+ { 49814, 0x00008DC6 }, /* GL_UNSIGNED_INT_VEC2_EXT */
+ { 49839, 0x00008DC7 }, /* GL_UNSIGNED_INT_VEC3 */
+ { 49860, 0x00008DC7 }, /* GL_UNSIGNED_INT_VEC3_EXT */
+ { 49885, 0x00008DC8 }, /* GL_UNSIGNED_INT_VEC4 */
+ { 49906, 0x00008DC8 }, /* GL_UNSIGNED_INT_VEC4_EXT */
+ { 49931, 0x00008C17 }, /* GL_UNSIGNED_NORMALIZED */
+ { 49954, 0x00001403 }, /* GL_UNSIGNED_SHORT */
+ { 49972, 0x00008366 }, /* GL_UNSIGNED_SHORT_1_5_5_5_REV */
+ { 50002, 0x00008366 }, /* GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT */
+ { 50036, 0x00008033 }, /* GL_UNSIGNED_SHORT_4_4_4_4 */
+ { 50062, 0x00008365 }, /* GL_UNSIGNED_SHORT_4_4_4_4_REV */
+ { 50092, 0x00008365 }, /* GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT */
+ { 50126, 0x00008034 }, /* GL_UNSIGNED_SHORT_5_5_5_1 */
+ { 50152, 0x00008363 }, /* GL_UNSIGNED_SHORT_5_6_5 */
+ { 50176, 0x00008364 }, /* GL_UNSIGNED_SHORT_5_6_5_REV */
+ { 50204, 0x000085BA }, /* GL_UNSIGNED_SHORT_8_8_APPLE */
+ { 50232, 0x000085BA }, /* GL_UNSIGNED_SHORT_8_8_MESA */
+ { 50259, 0x000085BB }, /* GL_UNSIGNED_SHORT_8_8_REV_APPLE */
+ { 50291, 0x000085BB }, /* GL_UNSIGNED_SHORT_8_8_REV_MESA */
+ { 50322, 0x00008CA2 }, /* GL_UPPER_LEFT */
+ { 50336, 0x00002A20 }, /* GL_V2F */
+ { 50343, 0x00002A21 }, /* GL_V3F */
+ { 50350, 0x00008B83 }, /* GL_VALIDATE_STATUS */
+ { 50369, 0x00001F00 }, /* GL_VENDOR */
+ { 50379, 0x00001F02 }, /* GL_VERSION */
+ { 50390, 0x00008074 }, /* GL_VERTEX_ARRAY */
+ { 50406, 0x000085B5 }, /* GL_VERTEX_ARRAY_BINDING */
+ { 50430, 0x000085B5 }, /* GL_VERTEX_ARRAY_BINDING_APPLE */
+ { 50460, 0x00008896 }, /* GL_VERTEX_ARRAY_BUFFER_BINDING */
+ { 50491, 0x00008896 }, /* GL_VERTEX_ARRAY_BUFFER_BINDING_ARB */
+ { 50526, 0x0000808E }, /* GL_VERTEX_ARRAY_POINTER */
+ { 50550, 0x0000807A }, /* GL_VERTEX_ARRAY_SIZE */
+ { 50571, 0x0000807C }, /* GL_VERTEX_ARRAY_STRIDE */
+ { 50594, 0x0000807B }, /* GL_VERTEX_ARRAY_TYPE */
+ { 50615, 0x00008650 }, /* GL_VERTEX_ATTRIB_ARRAY0_NV */
+ { 50642, 0x0000865A }, /* GL_VERTEX_ATTRIB_ARRAY10_NV */
+ { 50670, 0x0000865B }, /* GL_VERTEX_ATTRIB_ARRAY11_NV */
+ { 50698, 0x0000865C }, /* GL_VERTEX_ATTRIB_ARRAY12_NV */
+ { 50726, 0x0000865D }, /* GL_VERTEX_ATTRIB_ARRAY13_NV */
+ { 50754, 0x0000865E }, /* GL_VERTEX_ATTRIB_ARRAY14_NV */
+ { 50782, 0x0000865F }, /* GL_VERTEX_ATTRIB_ARRAY15_NV */
+ { 50810, 0x00008651 }, /* GL_VERTEX_ATTRIB_ARRAY1_NV */
+ { 50837, 0x00008652 }, /* GL_VERTEX_ATTRIB_ARRAY2_NV */
+ { 50864, 0x00008653 }, /* GL_VERTEX_ATTRIB_ARRAY3_NV */
+ { 50891, 0x00008654 }, /* GL_VERTEX_ATTRIB_ARRAY4_NV */
+ { 50918, 0x00008655 }, /* GL_VERTEX_ATTRIB_ARRAY5_NV */
+ { 50945, 0x00008656 }, /* GL_VERTEX_ATTRIB_ARRAY6_NV */
+ { 50972, 0x00008657 }, /* GL_VERTEX_ATTRIB_ARRAY7_NV */
+ { 50999, 0x00008658 }, /* GL_VERTEX_ATTRIB_ARRAY8_NV */
+ { 51026, 0x00008659 }, /* GL_VERTEX_ATTRIB_ARRAY9_NV */
+ { 51053, 0x0000889F }, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING */
+ { 51091, 0x0000889F }, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB */
+ { 51133, 0x000088FE }, /* GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB */
+ { 51168, 0x00008622 }, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED */
+ { 51199, 0x00008622 }, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB */
+ { 51234, 0x000088FD }, /* GL_VERTEX_ATTRIB_ARRAY_INTEGER */
+ { 51265, 0x000088FD }, /* GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT */
+ { 51300, 0x0000886A }, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED */
+ { 51334, 0x0000886A }, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB */
+ { 51372, 0x00008645 }, /* GL_VERTEX_ATTRIB_ARRAY_POINTER */
+ { 51403, 0x00008645 }, /* GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB */
+ { 51438, 0x00008623 }, /* GL_VERTEX_ATTRIB_ARRAY_SIZE */
+ { 51466, 0x00008623 }, /* GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB */
+ { 51498, 0x00008624 }, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE */
+ { 51528, 0x00008624 }, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB */
+ { 51562, 0x00008625 }, /* GL_VERTEX_ATTRIB_ARRAY_TYPE */
+ { 51590, 0x00008625 }, /* GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB */
+ { 51622, 0x000086A7 }, /* GL_VERTEX_BLEND_ARB */
+ { 51642, 0x00008620 }, /* GL_VERTEX_PROGRAM_ARB */
+ { 51664, 0x0000864A }, /* GL_VERTEX_PROGRAM_BINDING_NV */
+ { 51693, 0x00008620 }, /* GL_VERTEX_PROGRAM_NV */
+ { 51714, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE */
+ { 51743, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE_ARB */
+ { 51776, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE_NV */
+ { 51808, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE */
+ { 51835, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE_ARB */
+ { 51866, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE_NV */
+ { 51896, 0x00008B31 }, /* GL_VERTEX_SHADER */
+ { 51913, 0x00008B31 }, /* GL_VERTEX_SHADER_ARB */
+ { 51934, 0x00008621 }, /* GL_VERTEX_STATE_PROGRAM_NV */
+ { 51961, 0x00000BA2 }, /* GL_VIEWPORT */
+ { 51973, 0x00000800 }, /* GL_VIEWPORT_BIT */
+ { 51989, 0x00008A1A }, /* GL_VOLATILE_APPLE */
+ { 52007, 0x0000911D }, /* GL_WAIT_FAILED */
+ { 52022, 0x000086AD }, /* GL_WEIGHT_ARRAY_ARB */
+ { 52042, 0x0000889E }, /* GL_WEIGHT_ARRAY_BUFFER_BINDING */
+ { 52073, 0x0000889E }, /* GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB */
+ { 52108, 0x0000889E }, /* GL_WEIGHT_ARRAY_BUFFER_BINDING_OES */
+ { 52143, 0x000086AD }, /* GL_WEIGHT_ARRAY_OES */
+ { 52163, 0x000086AC }, /* GL_WEIGHT_ARRAY_POINTER_ARB */
+ { 52191, 0x000086AC }, /* GL_WEIGHT_ARRAY_POINTER_OES */
+ { 52219, 0x000086AB }, /* GL_WEIGHT_ARRAY_SIZE_ARB */
+ { 52244, 0x000086AB }, /* GL_WEIGHT_ARRAY_SIZE_OES */
+ { 52269, 0x000086AA }, /* GL_WEIGHT_ARRAY_STRIDE_ARB */
+ { 52296, 0x000086AA }, /* GL_WEIGHT_ARRAY_STRIDE_OES */
+ { 52323, 0x000086A9 }, /* GL_WEIGHT_ARRAY_TYPE_ARB */
+ { 52348, 0x000086A9 }, /* GL_WEIGHT_ARRAY_TYPE_OES */
+ { 52373, 0x000086A6 }, /* GL_WEIGHT_SUM_UNITY_ARB */
+ { 52397, 0x000081D4 }, /* GL_WRAP_BORDER_SUN */
+ { 52416, 0x000088B9 }, /* GL_WRITE_ONLY */
+ { 52430, 0x000088B9 }, /* GL_WRITE_ONLY_ARB */
+ { 52448, 0x000088B9 }, /* GL_WRITE_ONLY_OES */
+ { 52466, 0x00001506 }, /* GL_XOR */
+ { 52473, 0x000085B9 }, /* GL_YCBCR_422_APPLE */
+ { 52492, 0x00008757 }, /* GL_YCBCR_MESA */
+ { 52506, 0x00000000 }, /* GL_ZERO */
+ { 52514, 0x00000D16 }, /* GL_ZOOM_X */
+ { 52524, 0x00000D17 }, /* GL_ZOOM_Y */
};
-static const unsigned reduced_enums[1569] =
+static const unsigned reduced_enums[1570] =
{
555, /* GL_FALSE */
852, /* GL_LINES */
856, /* GL_LINE_LOOP */
863, /* GL_LINE_STRIP */
- 2179, /* GL_TRIANGLES */
- 2184, /* GL_TRIANGLE_STRIP */
- 2182, /* GL_TRIANGLE_FAN */
+ 2180, /* GL_TRIANGLES */
+ 2185, /* GL_TRIANGLE_STRIP */
+ 2183, /* GL_TRIANGLE_FAN */
1540, /* GL_QUADS */
1544, /* GL_QUAD_STRIP */
1408, /* GL_POLYGON */
853, /* GL_LINES_ADJACENCY */
864, /* GL_LINE_STRIP_ADJACENCY */
- 2180, /* GL_TRIANGLES_ADJACENCY */
- 2185, /* GL_TRIANGLE_STRIP_ADJACENCY */
+ 2181, /* GL_TRIANGLES_ADJACENCY */
+ 2186, /* GL_TRIANGLE_STRIP_ADJACENCY */
1420, /* GL_POLYGON_STIPPLE_BIT */
1363, /* GL_PIXEL_MODE_BIT */
839, /* GL_LIGHTING_BIT */
@@ -4756,15 +4758,15 @@ static const unsigned reduced_enums[1569] =
1261, /* GL_NOTEQUAL */
711, /* GL_GEQUAL */
55, /* GL_ALWAYS */
- 1841, /* GL_SRC_COLOR */
+ 1842, /* GL_SRC_COLOR */
1296, /* GL_ONE_MINUS_SRC_COLOR */
- 1839, /* GL_SRC_ALPHA */
+ 1840, /* GL_SRC_ALPHA */
1295, /* GL_ONE_MINUS_SRC_ALPHA */
524, /* GL_DST_ALPHA */
1293, /* GL_ONE_MINUS_DST_ALPHA */
525, /* GL_DST_COLOR */
1294, /* GL_ONE_MINUS_DST_COLOR */
- 1840, /* GL_SRC_ALPHA_SATURATE */
+ 1841, /* GL_SRC_ALPHA_SATURATE */
688, /* GL_FRONT_LEFT */
689, /* GL_FRONT_RIGHT */
77, /* GL_BACK_LEFT */
@@ -4772,7 +4774,7 @@ static const unsigned reduced_enums[1569] =
685, /* GL_FRONT */
76, /* GL_BACK */
827, /* GL_LEFT */
- 1721, /* GL_RIGHT */
+ 1722, /* GL_RIGHT */
686, /* GL_FRONT_AND_BACK */
71, /* GL_AUX0 */
72, /* GL_AUX1 */
@@ -4781,8 +4783,8 @@ static const unsigned reduced_enums[1569] =
815, /* GL_INVALID_ENUM */
820, /* GL_INVALID_VALUE */
819, /* GL_INVALID_OPERATION */
- 1846, /* GL_STACK_OVERFLOW */
- 1847, /* GL_STACK_UNDERFLOW */
+ 1847, /* GL_STACK_OVERFLOW */
+ 1848, /* GL_STACK_UNDERFLOW */
1321, /* GL_OUT_OF_MEMORY */
816, /* GL_INVALID_FRAMEBUFFER_OPERATION */
0, /* GL_2D */
@@ -4841,7 +4843,7 @@ static const unsigned reduced_enums[1569] =
843, /* GL_LIGHT_MODEL_LOCAL_VIEWER */
844, /* GL_LIGHT_MODEL_TWO_SIDE */
840, /* GL_LIGHT_MODEL_AMBIENT */
- 1788, /* GL_SHADE_MODEL */
+ 1789, /* GL_SHADE_MODEL */
235, /* GL_COLOR_MATERIAL_FACE */
236, /* GL_COLOR_MATERIAL_PARAMETER */
234, /* GL_COLOR_MATERIAL */
@@ -4858,24 +4860,24 @@ static const unsigned reduced_enums[1569] =
414, /* GL_DEPTH_CLEAR_VALUE */
428, /* GL_DEPTH_FUNC */
12, /* GL_ACCUM_CLEAR_VALUE */
- 1891, /* GL_STENCIL_TEST */
- 1872, /* GL_STENCIL_CLEAR_VALUE */
- 1874, /* GL_STENCIL_FUNC */
- 1893, /* GL_STENCIL_VALUE_MASK */
- 1873, /* GL_STENCIL_FAIL */
- 1888, /* GL_STENCIL_PASS_DEPTH_FAIL */
- 1889, /* GL_STENCIL_PASS_DEPTH_PASS */
- 1890, /* GL_STENCIL_REF */
- 1894, /* GL_STENCIL_WRITEMASK */
+ 1892, /* GL_STENCIL_TEST */
+ 1873, /* GL_STENCIL_CLEAR_VALUE */
+ 1875, /* GL_STENCIL_FUNC */
+ 1894, /* GL_STENCIL_VALUE_MASK */
+ 1874, /* GL_STENCIL_FAIL */
+ 1889, /* GL_STENCIL_PASS_DEPTH_FAIL */
+ 1890, /* GL_STENCIL_PASS_DEPTH_PASS */
+ 1891, /* GL_STENCIL_REF */
+ 1895, /* GL_STENCIL_WRITEMASK */
1032, /* GL_MATRIX_MODE */
1250, /* GL_NORMALIZE */
- 2312, /* GL_VIEWPORT */
+ 2313, /* GL_VIEWPORT */
1223, /* GL_MODELVIEW_STACK_DEPTH */
1514, /* GL_PROJECTION_STACK_DEPTH */
- 2133, /* GL_TEXTURE_STACK_DEPTH */
+ 2134, /* GL_TEXTURE_STACK_DEPTH */
1220, /* GL_MODELVIEW_MATRIX */
1512, /* GL_PROJECTION_MATRIX */
- 2113, /* GL_TEXTURE_MATRIX */
+ 2114, /* GL_TEXTURE_MATRIX */
69, /* GL_ATTRIB_STACK_DEPTH */
169, /* GL_CLIENT_ATTRIB_STACK_DEPTH */
51, /* GL_ALPHA_TEST */
@@ -4891,26 +4893,26 @@ static const unsigned reduced_enums[1569] =
75, /* GL_AUX_BUFFERS */
454, /* GL_DRAW_BUFFER */
1567, /* GL_READ_BUFFER */
- 1765, /* GL_SCISSOR_BOX */
- 1766, /* GL_SCISSOR_TEST */
+ 1766, /* GL_SCISSOR_BOX */
+ 1767, /* GL_SCISSOR_TEST */
761, /* GL_INDEX_CLEAR_VALUE */
766, /* GL_INDEX_WRITEMASK */
230, /* GL_COLOR_CLEAR_VALUE */
272, /* GL_COLOR_WRITEMASK */
763, /* GL_INDEX_MODE */
- 1710, /* GL_RGBA_MODE */
+ 1711, /* GL_RGBA_MODE */
453, /* GL_DOUBLEBUFFER */
- 1895, /* GL_STEREO */
+ 1896, /* GL_STEREO */
1621, /* GL_RENDER_MODE */
1342, /* GL_PERSPECTIVE_CORRECTION_HINT */
1400, /* GL_POINT_SMOOTH_HINT */
859, /* GL_LINE_SMOOTH_HINT */
1418, /* GL_POLYGON_SMOOTH_HINT */
609, /* GL_FOG_HINT */
- 2093, /* GL_TEXTURE_GEN_S */
- 2095, /* GL_TEXTURE_GEN_T */
- 2092, /* GL_TEXTURE_GEN_R */
- 2091, /* GL_TEXTURE_GEN_Q */
+ 2094, /* GL_TEXTURE_GEN_S */
+ 2096, /* GL_TEXTURE_GEN_T */
+ 2093, /* GL_TEXTURE_GEN_R */
+ 2092, /* GL_TEXTURE_GEN_Q */
1355, /* GL_PIXEL_MAP_I_TO_I */
1361, /* GL_PIXEL_MAP_S_TO_S */
1357, /* GL_PIXEL_MAP_I_TO_R */
@@ -4931,12 +4933,12 @@ static const unsigned reduced_enums[1569] =
1348, /* GL_PIXEL_MAP_G_TO_G_SIZE */
1346, /* GL_PIXEL_MAP_B_TO_B_SIZE */
1344, /* GL_PIXEL_MAP_A_TO_A_SIZE */
- 2197, /* GL_UNPACK_SWAP_BYTES */
- 2192, /* GL_UNPACK_LSB_FIRST */
- 2193, /* GL_UNPACK_ROW_LENGTH */
- 2196, /* GL_UNPACK_SKIP_ROWS */
- 2195, /* GL_UNPACK_SKIP_PIXELS */
- 2190, /* GL_UNPACK_ALIGNMENT */
+ 2198, /* GL_UNPACK_SWAP_BYTES */
+ 2193, /* GL_UNPACK_LSB_FIRST */
+ 2194, /* GL_UNPACK_ROW_LENGTH */
+ 2197, /* GL_UNPACK_SKIP_ROWS */
+ 2196, /* GL_UNPACK_SKIP_PIXELS */
+ 2191, /* GL_UNPACK_ALIGNMENT */
1330, /* GL_PACK_SWAP_BYTES */
1325, /* GL_PACK_LSB_FIRST */
1326, /* GL_PACK_ROW_LENGTH */
@@ -4949,8 +4951,8 @@ static const unsigned reduced_enums[1569] =
764, /* GL_INDEX_OFFSET */
1583, /* GL_RED_SCALE */
1579, /* GL_RED_BIAS */
- 2338, /* GL_ZOOM_X */
- 2339, /* GL_ZOOM_Y */
+ 2339, /* GL_ZOOM_X */
+ 2340, /* GL_ZOOM_Y */
719, /* GL_GREEN_SCALE */
715, /* GL_GREEN_BIAS */
115, /* GL_BLUE_SCALE */
@@ -4971,14 +4973,14 @@ static const unsigned reduced_enums[1569] =
1139, /* GL_MAX_TEXTURE_STACK_DEPTH */
1165, /* GL_MAX_VIEWPORT_DIMS */
1041, /* GL_MAX_CLIENT_ATTRIB_STACK_DEPTH */
- 1905, /* GL_SUBPIXEL_BITS */
+ 1906, /* GL_SUBPIXEL_BITS */
760, /* GL_INDEX_BITS */
1580, /* GL_RED_BITS */
716, /* GL_GREEN_BITS */
112, /* GL_BLUE_BITS */
48, /* GL_ALPHA_BITS */
407, /* GL_DEPTH_BITS */
- 1869, /* GL_STENCIL_BITS */
+ 1870, /* GL_STENCIL_BITS */
14, /* GL_ACCUM_RED_BITS */
13, /* GL_ACCUM_GREEN_BITS */
10, /* GL_ACCUM_BLUE_BITS */
@@ -5007,39 +5009,39 @@ static const unsigned reduced_enums[1569] =
921, /* GL_MAP1_GRID_SEGMENTS */
947, /* GL_MAP2_GRID_DOMAIN */
948, /* GL_MAP2_GRID_SEGMENTS */
- 1988, /* GL_TEXTURE_1D */
- 1991, /* GL_TEXTURE_2D */
+ 1989, /* GL_TEXTURE_1D */
+ 1992, /* GL_TEXTURE_2D */
558, /* GL_FEEDBACK_BUFFER_POINTER */
559, /* GL_FEEDBACK_BUFFER_SIZE */
560, /* GL_FEEDBACK_BUFFER_TYPE */
- 1775, /* GL_SELECTION_BUFFER_POINTER */
- 1776, /* GL_SELECTION_BUFFER_SIZE */
- 2139, /* GL_TEXTURE_WIDTH */
- 2099, /* GL_TEXTURE_HEIGHT */
- 2042, /* GL_TEXTURE_COMPONENTS */
- 2020, /* GL_TEXTURE_BORDER_COLOR */
- 2019, /* GL_TEXTURE_BORDER */
+ 1776, /* GL_SELECTION_BUFFER_POINTER */
+ 1777, /* GL_SELECTION_BUFFER_SIZE */
+ 2140, /* GL_TEXTURE_WIDTH */
+ 2100, /* GL_TEXTURE_HEIGHT */
+ 2043, /* GL_TEXTURE_COMPONENTS */
+ 2021, /* GL_TEXTURE_BORDER_COLOR */
+ 2020, /* GL_TEXTURE_BORDER */
445, /* GL_DONT_CARE */
556, /* GL_FASTEST */
1245, /* GL_NICEST */
56, /* GL_AMBIENT */
442, /* GL_DIFFUSE */
- 1828, /* GL_SPECULAR */
+ 1829, /* GL_SPECULAR */
1422, /* GL_POSITION */
- 1831, /* GL_SPOT_DIRECTION */
- 1832, /* GL_SPOT_EXPONENT */
- 1830, /* GL_SPOT_CUTOFF */
+ 1832, /* GL_SPOT_DIRECTION */
+ 1833, /* GL_SPOT_EXPONENT */
+ 1831, /* GL_SPOT_CUTOFF */
320, /* GL_CONSTANT_ATTENUATION */
847, /* GL_LINEAR_ATTENUATION */
1539, /* GL_QUADRATIC_ATTENUATION */
287, /* GL_COMPILE */
288, /* GL_COMPILE_AND_EXECUTE */
149, /* GL_BYTE */
- 2199, /* GL_UNSIGNED_BYTE */
- 1793, /* GL_SHORT */
- 2238, /* GL_UNSIGNED_SHORT */
+ 2200, /* GL_UNSIGNED_BYTE */
+ 1794, /* GL_SHORT */
+ 2239, /* GL_UNSIGNED_SHORT */
769, /* GL_INT */
- 2202, /* GL_UNSIGNED_INT */
+ 2203, /* GL_UNSIGNED_INT */
569, /* GL_FLOAT */
1, /* GL_2_BYTES */
5, /* GL_3_BYTES */
@@ -5053,7 +5055,7 @@ static const unsigned reduced_enums[1569] =
351, /* GL_COPY */
59, /* GL_AND_INVERTED */
1248, /* GL_NOOP */
- 2334, /* GL_XOR */
+ 2335, /* GL_XOR */
1317, /* GL_OR */
1249, /* GL_NOR */
546, /* GL_EQUIV */
@@ -5062,26 +5064,26 @@ static const unsigned reduced_enums[1569] =
352, /* GL_COPY_INVERTED */
1319, /* GL_OR_INVERTED */
1238, /* GL_NAND */
- 1782, /* GL_SET */
+ 1783, /* GL_SET */
543, /* GL_EMISSION */
- 1792, /* GL_SHININESS */
+ 1793, /* GL_SHININESS */
57, /* GL_AMBIENT_AND_DIFFUSE */
232, /* GL_COLOR_INDEXES */
1187, /* GL_MODELVIEW */
1511, /* GL_PROJECTION */
- 1923, /* GL_TEXTURE */
+ 1924, /* GL_TEXTURE */
188, /* GL_COLOR */
399, /* GL_DEPTH */
- 1854, /* GL_STENCIL */
+ 1855, /* GL_STENCIL */
231, /* GL_COLOR_INDEX */
- 1875, /* GL_STENCIL_INDEX */
+ 1876, /* GL_STENCIL_INDEX */
415, /* GL_DEPTH_COMPONENT */
1576, /* GL_RED */
714, /* GL_GREEN */
110, /* GL_BLUE */
32, /* GL_ALPHA */
1634, /* GL_RGB */
- 1674, /* GL_RGBA */
+ 1675, /* GL_RGBA */
882, /* GL_LUMINANCE */
909, /* GL_LUMINANCE_ALPHA */
86, /* GL_BITMAP */
@@ -5090,30 +5092,30 @@ static const unsigned reduced_enums[1569] =
561, /* GL_FILL */
1590, /* GL_RENDER */
557, /* GL_FEEDBACK */
- 1774, /* GL_SELECT */
+ 1775, /* GL_SELECT */
568, /* GL_FLAT */
- 1803, /* GL_SMOOTH */
+ 1804, /* GL_SMOOTH */
824, /* GL_KEEP */
1623, /* GL_REPLACE */
750, /* GL_INCR */
395, /* GL_DECR */
- 2255, /* GL_VENDOR */
+ 2256, /* GL_VENDOR */
1620, /* GL_RENDERER */
- 2256, /* GL_VERSION */
+ 2257, /* GL_VERSION */
550, /* GL_EXTENSIONS */
- 1722, /* GL_S */
- 1914, /* GL_T */
+ 1723, /* GL_S */
+ 1915, /* GL_T */
1559, /* GL_R */
1538, /* GL_Q */
1224, /* GL_MODULATE */
394, /* GL_DECAL */
- 2085, /* GL_TEXTURE_ENV_MODE */
- 2084, /* GL_TEXTURE_ENV_COLOR */
- 2083, /* GL_TEXTURE_ENV */
+ 2086, /* GL_TEXTURE_ENV_MODE */
+ 2085, /* GL_TEXTURE_ENV_COLOR */
+ 2084, /* GL_TEXTURE_ENV */
551, /* GL_EYE_LINEAR */
1278, /* GL_OBJECT_LINEAR */
- 1829, /* GL_SPHERE_MAP */
- 2089, /* GL_TEXTURE_GEN_MODE */
+ 1830, /* GL_SPHERE_MAP */
+ 2090, /* GL_TEXTURE_GEN_MODE */
1280, /* GL_OBJECT_PLANE */
552, /* GL_EYE_PLANE */
1239, /* GL_NEAREST */
@@ -5122,30 +5124,30 @@ static const unsigned reduced_enums[1569] =
851, /* GL_LINEAR_MIPMAP_NEAREST */
1242, /* GL_NEAREST_MIPMAP_LINEAR */
850, /* GL_LINEAR_MIPMAP_LINEAR */
- 2112, /* GL_TEXTURE_MAG_FILTER */
- 2121, /* GL_TEXTURE_MIN_FILTER */
- 2142, /* GL_TEXTURE_WRAP_S */
- 2143, /* GL_TEXTURE_WRAP_T */
+ 2113, /* GL_TEXTURE_MAG_FILTER */
+ 2122, /* GL_TEXTURE_MIN_FILTER */
+ 2143, /* GL_TEXTURE_WRAP_S */
+ 2144, /* GL_TEXTURE_WRAP_T */
155, /* GL_CLAMP */
1622, /* GL_REPEAT */
1416, /* GL_POLYGON_OFFSET_UNITS */
1415, /* GL_POLYGON_OFFSET_POINT */
1414, /* GL_POLYGON_OFFSET_LINE */
1562, /* GL_R3_G3_B2 */
- 2252, /* GL_V2F */
- 2253, /* GL_V3F */
+ 2253, /* GL_V2F */
+ 2254, /* GL_V3F */
152, /* GL_C4UB_V2F */
153, /* GL_C4UB_V3F */
150, /* GL_C3F_V3F */
1236, /* GL_N3F_V3F */
151, /* GL_C4F_N3F_V3F */
- 1919, /* GL_T2F_V3F */
- 1921, /* GL_T4F_V4F */
- 1917, /* GL_T2F_C4UB_V3F */
- 1915, /* GL_T2F_C3F_V3F */
- 1918, /* GL_T2F_N3F_V3F */
- 1916, /* GL_T2F_C4F_N3F_V3F */
- 1920, /* GL_T4F_C4F_N3F_V4F */
+ 1920, /* GL_T2F_V3F */
+ 1922, /* GL_T4F_V4F */
+ 1918, /* GL_T2F_C4UB_V3F */
+ 1916, /* GL_T2F_C3F_V3F */
+ 1919, /* GL_T2F_N3F_V3F */
+ 1917, /* GL_T2F_C4F_N3F_V3F */
+ 1921, /* GL_T4F_C4F_N3F_V4F */
172, /* GL_CLIP_DISTANCE0 */
173, /* GL_CLIP_DISTANCE1 */
174, /* GL_CLIP_DISTANCE2 */
@@ -5176,7 +5178,7 @@ static const unsigned reduced_enums[1569] =
693, /* GL_FUNC_REVERSE_SUBTRACT */
331, /* GL_CONVOLUTION_1D */
332, /* GL_CONVOLUTION_2D */
- 1777, /* GL_SEPARABLE_2D */
+ 1778, /* GL_SEPARABLE_2D */
335, /* GL_CONVOLUTION_BORDER_MODE */
339, /* GL_CONVOLUTION_FILTER_SCALE */
337, /* GL_CONVOLUTION_FILTER_BIAS */
@@ -5207,12 +5209,12 @@ static const unsigned reduced_enums[1569] =
1169, /* GL_MINMAX */
1171, /* GL_MINMAX_FORMAT */
1173, /* GL_MINMAX_SINK */
- 1922, /* GL_TABLE_TOO_LARGE_EXT */
- 2201, /* GL_UNSIGNED_BYTE_3_3_2 */
- 2241, /* GL_UNSIGNED_SHORT_4_4_4_4 */
- 2244, /* GL_UNSIGNED_SHORT_5_5_5_1 */
- 2213, /* GL_UNSIGNED_INT_8_8_8_8 */
- 2204, /* GL_UNSIGNED_INT_10_10_10_2 */
+ 1923, /* GL_TABLE_TOO_LARGE_EXT */
+ 2202, /* GL_UNSIGNED_BYTE_3_3_2 */
+ 2242, /* GL_UNSIGNED_SHORT_4_4_4_4 */
+ 2245, /* GL_UNSIGNED_SHORT_5_5_5_1 */
+ 2214, /* GL_UNSIGNED_INT_8_8_8_8 */
+ 2205, /* GL_UNSIGNED_INT_10_10_10_2 */
1413, /* GL_POLYGON_OFFSET_FILL */
1412, /* GL_POLYGON_OFFSET_FACTOR */
1411, /* GL_POLYGON_OFFSET_BIAS */
@@ -5236,53 +5238,53 @@ static const unsigned reduced_enums[1569] =
781, /* GL_INTENSITY8 */
771, /* GL_INTENSITY12 */
773, /* GL_INTENSITY16 */
- 1649, /* GL_RGB2_EXT */
- 1655, /* GL_RGB4 */
- 1658, /* GL_RGB5 */
- 1665, /* GL_RGB8 */
+ 1650, /* GL_RGB2_EXT */
+ 1656, /* GL_RGB4 */
+ 1659, /* GL_RGB5 */
+ 1666, /* GL_RGB8 */
1635, /* GL_RGB10 */
- 1639, /* GL_RGB12 */
- 1641, /* GL_RGB16 */
- 1685, /* GL_RGBA2 */
- 1692, /* GL_RGBA4 */
- 1661, /* GL_RGB5_A1 */
- 1697, /* GL_RGBA8 */
+ 1640, /* GL_RGB12 */
+ 1642, /* GL_RGB16 */
+ 1686, /* GL_RGBA2 */
+ 1693, /* GL_RGBA4 */
+ 1662, /* GL_RGB5_A1 */
+ 1698, /* GL_RGBA8 */
1636, /* GL_RGB10_A2 */
- 1675, /* GL_RGBA12 */
- 1677, /* GL_RGBA16 */
- 2129, /* GL_TEXTURE_RED_SIZE */
- 2097, /* GL_TEXTURE_GREEN_SIZE */
- 2017, /* GL_TEXTURE_BLUE_SIZE */
- 1996, /* GL_TEXTURE_ALPHA_SIZE */
- 2110, /* GL_TEXTURE_LUMINANCE_SIZE */
- 2101, /* GL_TEXTURE_INTENSITY_SIZE */
+ 1676, /* GL_RGBA12 */
+ 1678, /* GL_RGBA16 */
+ 2130, /* GL_TEXTURE_RED_SIZE */
+ 2098, /* GL_TEXTURE_GREEN_SIZE */
+ 2018, /* GL_TEXTURE_BLUE_SIZE */
+ 1997, /* GL_TEXTURE_ALPHA_SIZE */
+ 2111, /* GL_TEXTURE_LUMINANCE_SIZE */
+ 2102, /* GL_TEXTURE_INTENSITY_SIZE */
1624, /* GL_REPLACE_EXT */
1522, /* GL_PROXY_TEXTURE_1D */
1526, /* GL_PROXY_TEXTURE_2D */
- 2137, /* GL_TEXTURE_TOO_LARGE_EXT */
- 2123, /* GL_TEXTURE_PRIORITY */
- 2131, /* GL_TEXTURE_RESIDENT */
- 1999, /* GL_TEXTURE_BINDING_1D */
- 2002, /* GL_TEXTURE_BINDING_2D */
- 2005, /* GL_TEXTURE_BINDING_3D */
+ 2138, /* GL_TEXTURE_TOO_LARGE_EXT */
+ 2124, /* GL_TEXTURE_PRIORITY */
+ 2132, /* GL_TEXTURE_RESIDENT */
+ 2000, /* GL_TEXTURE_BINDING_1D */
+ 2003, /* GL_TEXTURE_BINDING_2D */
+ 2006, /* GL_TEXTURE_BINDING_3D */
1327, /* GL_PACK_SKIP_IMAGES */
1323, /* GL_PACK_IMAGE_HEIGHT */
- 2194, /* GL_UNPACK_SKIP_IMAGES */
- 2191, /* GL_UNPACK_IMAGE_HEIGHT */
- 1994, /* GL_TEXTURE_3D */
+ 2195, /* GL_UNPACK_SKIP_IMAGES */
+ 2192, /* GL_UNPACK_IMAGE_HEIGHT */
+ 1995, /* GL_TEXTURE_3D */
1530, /* GL_PROXY_TEXTURE_3D */
- 2080, /* GL_TEXTURE_DEPTH */
- 2140, /* GL_TEXTURE_WRAP_R */
+ 2081, /* GL_TEXTURE_DEPTH */
+ 2141, /* GL_TEXTURE_WRAP_R */
1036, /* GL_MAX_3D_TEXTURE_SIZE */
- 2257, /* GL_VERTEX_ARRAY */
+ 2258, /* GL_VERTEX_ARRAY */
1251, /* GL_NORMAL_ARRAY */
189, /* GL_COLOR_ARRAY */
754, /* GL_INDEX_ARRAY */
- 2050, /* GL_TEXTURE_COORD_ARRAY */
+ 2051, /* GL_TEXTURE_COORD_ARRAY */
535, /* GL_EDGE_FLAG_ARRAY */
- 2263, /* GL_VERTEX_ARRAY_SIZE */
- 2265, /* GL_VERTEX_ARRAY_TYPE */
- 2264, /* GL_VERTEX_ARRAY_STRIDE */
+ 2264, /* GL_VERTEX_ARRAY_SIZE */
+ 2266, /* GL_VERTEX_ARRAY_TYPE */
+ 2265, /* GL_VERTEX_ARRAY_STRIDE */
1256, /* GL_NORMAL_ARRAY_TYPE */
1255, /* GL_NORMAL_ARRAY_STRIDE */
193, /* GL_COLOR_ARRAY_SIZE */
@@ -5290,24 +5292,24 @@ static const unsigned reduced_enums[1569] =
194, /* GL_COLOR_ARRAY_STRIDE */
759, /* GL_INDEX_ARRAY_TYPE */
758, /* GL_INDEX_ARRAY_STRIDE */
- 2054, /* GL_TEXTURE_COORD_ARRAY_SIZE */
- 2056, /* GL_TEXTURE_COORD_ARRAY_TYPE */
- 2055, /* GL_TEXTURE_COORD_ARRAY_STRIDE */
+ 2055, /* GL_TEXTURE_COORD_ARRAY_SIZE */
+ 2057, /* GL_TEXTURE_COORD_ARRAY_TYPE */
+ 2056, /* GL_TEXTURE_COORD_ARRAY_STRIDE */
539, /* GL_EDGE_FLAG_ARRAY_STRIDE */
- 2262, /* GL_VERTEX_ARRAY_POINTER */
+ 2263, /* GL_VERTEX_ARRAY_POINTER */
1254, /* GL_NORMAL_ARRAY_POINTER */
192, /* GL_COLOR_ARRAY_POINTER */
757, /* GL_INDEX_ARRAY_POINTER */
- 2053, /* GL_TEXTURE_COORD_ARRAY_POINTER */
+ 2054, /* GL_TEXTURE_COORD_ARRAY_POINTER */
538, /* GL_EDGE_FLAG_ARRAY_POINTER */
1229, /* GL_MULTISAMPLE */
- 1751, /* GL_SAMPLE_ALPHA_TO_COVERAGE */
- 1753, /* GL_SAMPLE_ALPHA_TO_ONE */
- 1758, /* GL_SAMPLE_COVERAGE */
- 1755, /* GL_SAMPLE_BUFFERS */
- 1746, /* GL_SAMPLES */
- 1762, /* GL_SAMPLE_COVERAGE_VALUE */
- 1760, /* GL_SAMPLE_COVERAGE_INVERT */
+ 1752, /* GL_SAMPLE_ALPHA_TO_COVERAGE */
+ 1754, /* GL_SAMPLE_ALPHA_TO_ONE */
+ 1759, /* GL_SAMPLE_COVERAGE */
+ 1756, /* GL_SAMPLE_BUFFERS */
+ 1747, /* GL_SAMPLES */
+ 1763, /* GL_SAMPLE_COVERAGE_VALUE */
+ 1761, /* GL_SAMPLE_COVERAGE_INVERT */
237, /* GL_COLOR_MATRIX */
239, /* GL_COLOR_MATRIX_STACK_DEPTH */
1048, /* GL_MAX_COLOR_MATRIX_STACK_DEPTH */
@@ -5319,9 +5321,9 @@ static const unsigned reduced_enums[1569] =
1432, /* GL_POST_COLOR_MATRIX_GREEN_BIAS */
1427, /* GL_POST_COLOR_MATRIX_BLUE_BIAS */
1423, /* GL_POST_COLOR_MATRIX_ALPHA_BIAS */
- 2033, /* GL_TEXTURE_COLOR_TABLE_SGI */
+ 2034, /* GL_TEXTURE_COLOR_TABLE_SGI */
1531, /* GL_PROXY_TEXTURE_COLOR_TABLE_SGI */
- 2035, /* GL_TEXTURE_COMPARE_FAIL_VALUE_ARB */
+ 2036, /* GL_TEXTURE_COMPARE_FAIL_VALUE_ARB */
94, /* GL_BLEND_DST_RGB */
108, /* GL_BLEND_SRC_RGB */
92, /* GL_BLEND_DST_ALPHA */
@@ -5346,7 +5348,7 @@ static const unsigned reduced_enums[1569] =
80, /* GL_BGRA */
1064, /* GL_MAX_ELEMENTS_VERTICES */
1063, /* GL_MAX_ELEMENTS_INDICES */
- 2100, /* GL_TEXTURE_INDEX_SIZE_EXT */
+ 2101, /* GL_TEXTURE_INDEX_SIZE_EXT */
186, /* GL_CLIP_VOLUME_CLIPPING_HINT_EXT */
1394, /* GL_POINT_SIZE_MIN */
1390, /* GL_POINT_SIZE_MAX */
@@ -5354,10 +5356,10 @@ static const unsigned reduced_enums[1569] =
1375, /* GL_POINT_DISTANCE_ATTENUATION */
159, /* GL_CLAMP_TO_BORDER */
162, /* GL_CLAMP_TO_EDGE */
- 2122, /* GL_TEXTURE_MIN_LOD */
- 2120, /* GL_TEXTURE_MAX_LOD */
- 1998, /* GL_TEXTURE_BASE_LEVEL */
- 2119, /* GL_TEXTURE_MAX_LEVEL */
+ 2123, /* GL_TEXTURE_MIN_LOD */
+ 2121, /* GL_TEXTURE_MAX_LOD */
+ 1999, /* GL_TEXTURE_BASE_LEVEL */
+ 2120, /* GL_TEXTURE_MAX_LEVEL */
745, /* GL_IGNORE_BORDER_HP */
321, /* GL_CONSTANT_BORDER_HP */
1625, /* GL_REPLICATE_BORDER_HP */
@@ -5365,41 +5367,41 @@ static const unsigned reduced_enums[1569] =
1286, /* GL_OCCLUSION_TEST_HP */
1287, /* GL_OCCLUSION_TEST_RESULT_HP */
848, /* GL_LINEAR_CLIPMAP_LINEAR_SGIX */
- 2027, /* GL_TEXTURE_CLIPMAP_CENTER_SGIX */
- 2029, /* GL_TEXTURE_CLIPMAP_FRAME_SGIX */
- 2031, /* GL_TEXTURE_CLIPMAP_OFFSET_SGIX */
- 2032, /* GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX */
- 2030, /* GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX */
- 2028, /* GL_TEXTURE_CLIPMAP_DEPTH_SGIX */
+ 2028, /* GL_TEXTURE_CLIPMAP_CENTER_SGIX */
+ 2030, /* GL_TEXTURE_CLIPMAP_FRAME_SGIX */
+ 2032, /* GL_TEXTURE_CLIPMAP_OFFSET_SGIX */
+ 2033, /* GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX */
+ 2031, /* GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX */
+ 2029, /* GL_TEXTURE_CLIPMAP_DEPTH_SGIX */
1042, /* GL_MAX_CLIPMAP_DEPTH_SGIX */
1043, /* GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX */
1458, /* GL_POST_TEXTURE_FILTER_BIAS_SGIX */
1460, /* GL_POST_TEXTURE_FILTER_SCALE_SGIX */
1457, /* GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX */
1459, /* GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX */
- 2108, /* GL_TEXTURE_LOD_BIAS_S_SGIX */
- 2109, /* GL_TEXTURE_LOD_BIAS_T_SGIX */
- 2107, /* GL_TEXTURE_LOD_BIAS_R_SGIX */
+ 2109, /* GL_TEXTURE_LOD_BIAS_S_SGIX */
+ 2110, /* GL_TEXTURE_LOD_BIAS_T_SGIX */
+ 2108, /* GL_TEXTURE_LOD_BIAS_R_SGIX */
699, /* GL_GENERATE_MIPMAP */
700, /* GL_GENERATE_MIPMAP_HINT */
612, /* GL_FOG_OFFSET_SGIX */
613, /* GL_FOG_OFFSET_VALUE_SGIX */
- 2041, /* GL_TEXTURE_COMPARE_SGIX */
- 2040, /* GL_TEXTURE_COMPARE_OPERATOR_SGIX */
- 2104, /* GL_TEXTURE_LEQUAL_R_SGIX */
- 2096, /* GL_TEXTURE_GEQUAL_R_SGIX */
+ 2042, /* GL_TEXTURE_COMPARE_SGIX */
+ 2041, /* GL_TEXTURE_COMPARE_OPERATOR_SGIX */
+ 2105, /* GL_TEXTURE_LEQUAL_R_SGIX */
+ 2097, /* GL_TEXTURE_GEQUAL_R_SGIX */
416, /* GL_DEPTH_COMPONENT16 */
420, /* GL_DEPTH_COMPONENT24 */
424, /* GL_DEPTH_COMPONENT32 */
358, /* GL_CULL_VERTEX_EXT */
360, /* GL_CULL_VERTEX_OBJECT_POSITION_EXT */
359, /* GL_CULL_VERTEX_EYE_POSITION_EXT */
- 2330, /* GL_WRAP_BORDER_SUN */
- 2034, /* GL_TEXTURE_COLOR_WRITEMASK_SGIS */
+ 2331, /* GL_WRAP_BORDER_SUN */
+ 2035, /* GL_TEXTURE_COLOR_WRITEMASK_SGIS */
841, /* GL_LIGHT_MODEL_COLOR_CONTROL */
- 1796, /* GL_SINGLE_COLOR */
- 1780, /* GL_SEPARATE_SPECULAR_COLOR */
- 1791, /* GL_SHARED_TEXTURE_PALETTE_EXT */
+ 1797, /* GL_SINGLE_COLOR */
+ 1781, /* GL_SEPARATE_SPECULAR_COLOR */
+ 1792, /* GL_SHARED_TEXTURE_PALETTE_EXT */
624, /* GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
625, /* GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
636, /* GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
@@ -5417,33 +5419,33 @@ static const unsigned reduced_enums[1569] =
327, /* GL_CONTEXT_FLAGS */
753, /* GL_INDEX */
410, /* GL_DEPTH_BUFFER */
- 1870, /* GL_STENCIL_BUFFER */
+ 1871, /* GL_STENCIL_BUFFER */
298, /* GL_COMPRESSED_RED */
299, /* GL_COMPRESSED_RG */
878, /* GL_LOSE_CONTEXT_ON_RESET_ARB */
720, /* GL_GUILTY_CONTEXT_RESET_ARB */
768, /* GL_INNOCENT_CONTEXT_RESET_ARB */
- 2189, /* GL_UNKNOWN_CONTEXT_RESET_ARB */
+ 2190, /* GL_UNKNOWN_CONTEXT_RESET_ARB */
1629, /* GL_RESET_NOTIFICATION_STRATEGY_ARB */
1480, /* GL_PROGRAM_BINARY_RETRIEVABLE_HINT */
1263, /* GL_NO_RESET_NOTIFICATION_ARB */
- 2200, /* GL_UNSIGNED_BYTE_2_3_3_REV */
- 2245, /* GL_UNSIGNED_SHORT_5_6_5 */
- 2246, /* GL_UNSIGNED_SHORT_5_6_5_REV */
- 2242, /* GL_UNSIGNED_SHORT_4_4_4_4_REV */
- 2239, /* GL_UNSIGNED_SHORT_1_5_5_5_REV */
- 2214, /* GL_UNSIGNED_INT_8_8_8_8_REV */
- 2210, /* GL_UNSIGNED_INT_2_10_10_10_REV */
- 2117, /* GL_TEXTURE_MAX_CLAMP_S_SGIX */
- 2118, /* GL_TEXTURE_MAX_CLAMP_T_SGIX */
- 2116, /* GL_TEXTURE_MAX_CLAMP_R_SGIX */
+ 2201, /* GL_UNSIGNED_BYTE_2_3_3_REV */
+ 2246, /* GL_UNSIGNED_SHORT_5_6_5 */
+ 2247, /* GL_UNSIGNED_SHORT_5_6_5_REV */
+ 2243, /* GL_UNSIGNED_SHORT_4_4_4_4_REV */
+ 2240, /* GL_UNSIGNED_SHORT_1_5_5_5_REV */
+ 2215, /* GL_UNSIGNED_INT_8_8_8_8_REV */
+ 2211, /* GL_UNSIGNED_INT_2_10_10_10_REV */
+ 2118, /* GL_TEXTURE_MAX_CLAMP_S_SGIX */
+ 2119, /* GL_TEXTURE_MAX_CLAMP_T_SGIX */
+ 2117, /* GL_TEXTURE_MAX_CLAMP_R_SGIX */
1179, /* GL_MIRRORED_REPEAT */
- 1715, /* GL_RGB_S3TC */
- 1657, /* GL_RGB4_S3TC */
- 1711, /* GL_RGBA_S3TC */
- 1696, /* GL_RGBA4_S3TC */
- 1705, /* GL_RGBA_DXT5_S3TC */
- 1693, /* GL_RGBA4_DXT5_S3TC */
+ 1716, /* GL_RGB_S3TC */
+ 1658, /* GL_RGB4_S3TC */
+ 1712, /* GL_RGBA_S3TC */
+ 1697, /* GL_RGBA4_S3TC */
+ 1706, /* GL_RGBA_DXT5_S3TC */
+ 1694, /* GL_RGBA4_DXT5_S3TC */
309, /* GL_COMPRESSED_RGB_S3TC_DXT1_EXT */
304, /* GL_COMPRESSED_RGBA_S3TC_DXT1_EXT */
305, /* GL_COMPRESSED_RGBA_S3TC_DXT3_EXT */
@@ -5461,54 +5463,54 @@ static const unsigned reduced_enums[1569] =
593, /* GL_FOG_COORDINATE_ARRAY */
241, /* GL_COLOR_SUM */
385, /* GL_CURRENT_SECONDARY_COLOR */
- 1771, /* GL_SECONDARY_COLOR_ARRAY_SIZE */
- 1773, /* GL_SECONDARY_COLOR_ARRAY_TYPE */
- 1772, /* GL_SECONDARY_COLOR_ARRAY_STRIDE */
- 1770, /* GL_SECONDARY_COLOR_ARRAY_POINTER */
- 1767, /* GL_SECONDARY_COLOR_ARRAY */
+ 1772, /* GL_SECONDARY_COLOR_ARRAY_SIZE */
+ 1774, /* GL_SECONDARY_COLOR_ARRAY_TYPE */
+ 1773, /* GL_SECONDARY_COLOR_ARRAY_STRIDE */
+ 1771, /* GL_SECONDARY_COLOR_ARRAY_POINTER */
+ 1768, /* GL_SECONDARY_COLOR_ARRAY */
383, /* GL_CURRENT_RASTER_SECONDARY_COLOR */
29, /* GL_ALIASED_POINT_SIZE_RANGE */
28, /* GL_ALIASED_LINE_WIDTH_RANGE */
- 1924, /* GL_TEXTURE0 */
- 1926, /* GL_TEXTURE1 */
- 1948, /* GL_TEXTURE2 */
- 1970, /* GL_TEXTURE3 */
- 1976, /* GL_TEXTURE4 */
- 1978, /* GL_TEXTURE5 */
- 1980, /* GL_TEXTURE6 */
- 1982, /* GL_TEXTURE7 */
- 1984, /* GL_TEXTURE8 */
- 1986, /* GL_TEXTURE9 */
- 1927, /* GL_TEXTURE10 */
- 1929, /* GL_TEXTURE11 */
- 1931, /* GL_TEXTURE12 */
- 1933, /* GL_TEXTURE13 */
- 1935, /* GL_TEXTURE14 */
- 1937, /* GL_TEXTURE15 */
- 1939, /* GL_TEXTURE16 */
- 1941, /* GL_TEXTURE17 */
- 1943, /* GL_TEXTURE18 */
- 1945, /* GL_TEXTURE19 */
- 1949, /* GL_TEXTURE20 */
- 1951, /* GL_TEXTURE21 */
- 1953, /* GL_TEXTURE22 */
- 1955, /* GL_TEXTURE23 */
- 1957, /* GL_TEXTURE24 */
- 1959, /* GL_TEXTURE25 */
- 1961, /* GL_TEXTURE26 */
- 1963, /* GL_TEXTURE27 */
- 1965, /* GL_TEXTURE28 */
- 1967, /* GL_TEXTURE29 */
- 1971, /* GL_TEXTURE30 */
- 1973, /* GL_TEXTURE31 */
+ 1925, /* GL_TEXTURE0 */
+ 1927, /* GL_TEXTURE1 */
+ 1949, /* GL_TEXTURE2 */
+ 1971, /* GL_TEXTURE3 */
+ 1977, /* GL_TEXTURE4 */
+ 1979, /* GL_TEXTURE5 */
+ 1981, /* GL_TEXTURE6 */
+ 1983, /* GL_TEXTURE7 */
+ 1985, /* GL_TEXTURE8 */
+ 1987, /* GL_TEXTURE9 */
+ 1928, /* GL_TEXTURE10 */
+ 1930, /* GL_TEXTURE11 */
+ 1932, /* GL_TEXTURE12 */
+ 1934, /* GL_TEXTURE13 */
+ 1936, /* GL_TEXTURE14 */
+ 1938, /* GL_TEXTURE15 */
+ 1940, /* GL_TEXTURE16 */
+ 1942, /* GL_TEXTURE17 */
+ 1944, /* GL_TEXTURE18 */
+ 1946, /* GL_TEXTURE19 */
+ 1950, /* GL_TEXTURE20 */
+ 1952, /* GL_TEXTURE21 */
+ 1954, /* GL_TEXTURE22 */
+ 1956, /* GL_TEXTURE23 */
+ 1958, /* GL_TEXTURE24 */
+ 1960, /* GL_TEXTURE25 */
+ 1962, /* GL_TEXTURE26 */
+ 1964, /* GL_TEXTURE27 */
+ 1966, /* GL_TEXTURE28 */
+ 1968, /* GL_TEXTURE29 */
+ 1972, /* GL_TEXTURE30 */
+ 1974, /* GL_TEXTURE31 */
19, /* GL_ACTIVE_TEXTURE */
166, /* GL_CLIENT_ACTIVE_TEXTURE */
1140, /* GL_MAX_TEXTURE_UNITS */
- 2172, /* GL_TRANSPOSE_MODELVIEW_MATRIX */
- 2175, /* GL_TRANSPOSE_PROJECTION_MATRIX */
- 2177, /* GL_TRANSPOSE_TEXTURE_MATRIX */
- 2169, /* GL_TRANSPOSE_COLOR_MATRIX */
- 1906, /* GL_SUBTRACT */
+ 2173, /* GL_TRANSPOSE_MODELVIEW_MATRIX */
+ 2176, /* GL_TRANSPOSE_PROJECTION_MATRIX */
+ 2178, /* GL_TRANSPOSE_TEXTURE_MATRIX */
+ 2170, /* GL_TRANSPOSE_COLOR_MATRIX */
+ 1907, /* GL_SUBTRACT */
1121, /* GL_MAX_RENDERBUFFER_SIZE */
290, /* GL_COMPRESSED_ALPHA */
294, /* GL_COMPRESSED_LUMINANCE */
@@ -5516,18 +5518,18 @@ static const unsigned reduced_enums[1569] =
292, /* GL_COMPRESSED_INTENSITY */
300, /* GL_COMPRESSED_RGB */
301, /* GL_COMPRESSED_RGBA */
- 2048, /* GL_TEXTURE_COMPRESSION_HINT */
- 2126, /* GL_TEXTURE_RECTANGLE */
- 2013, /* GL_TEXTURE_BINDING_RECTANGLE */
+ 2049, /* GL_TEXTURE_COMPRESSION_HINT */
+ 2127, /* GL_TEXTURE_RECTANGLE */
+ 2014, /* GL_TEXTURE_BINDING_RECTANGLE */
1534, /* GL_PROXY_TEXTURE_RECTANGLE */
1118, /* GL_MAX_RECTANGLE_TEXTURE_SIZE */
431, /* GL_DEPTH_STENCIL */
- 2206, /* GL_UNSIGNED_INT_24_8 */
+ 2207, /* GL_UNSIGNED_INT_24_8 */
1135, /* GL_MAX_TEXTURE_LOD_BIAS */
- 2115, /* GL_TEXTURE_MAX_ANISOTROPY_EXT */
+ 2116, /* GL_TEXTURE_MAX_ANISOTROPY_EXT */
1137, /* GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT */
- 2087, /* GL_TEXTURE_FILTER_CONTROL */
- 2105, /* GL_TEXTURE_LOD_BIAS */
+ 2088, /* GL_TEXTURE_FILTER_CONTROL */
+ 2106, /* GL_TEXTURE_LOD_BIAS */
274, /* GL_COMBINE4 */
1127, /* GL_MAX_SHININESS_NV */
1128, /* GL_MAX_SPOT_EXPONENT_NV */
@@ -5536,14 +5538,14 @@ static const unsigned reduced_enums[1569] =
1199, /* GL_MODELVIEW1_ARB */
1257, /* GL_NORMAL_MAP */
1585, /* GL_REFLECTION_MAP */
- 2058, /* GL_TEXTURE_CUBE_MAP */
- 2009, /* GL_TEXTURE_BINDING_CUBE_MAP */
- 2070, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X */
- 2060, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X */
- 2073, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y */
- 2063, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y */
- 2076, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z */
- 2066, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z */
+ 2059, /* GL_TEXTURE_CUBE_MAP */
+ 2010, /* GL_TEXTURE_BINDING_CUBE_MAP */
+ 2071, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X */
+ 2061, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X */
+ 2074, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y */
+ 2064, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y */
+ 2077, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z */
+ 2067, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z */
1532, /* GL_PROXY_TEXTURE_CUBE_MAP */
1056, /* GL_MAX_CUBE_MAP_TEXTURE_SIZE */
1235, /* GL_MULTISAMPLE_FILTER_HINT_NV */
@@ -5555,20 +5557,20 @@ static const unsigned reduced_enums[1569] =
273, /* GL_COMBINE */
280, /* GL_COMBINE_RGB */
275, /* GL_COMBINE_ALPHA */
- 1716, /* GL_RGB_SCALE */
+ 1717, /* GL_RGB_SCALE */
25, /* GL_ADD_SIGNED */
788, /* GL_INTERPOLATE */
316, /* GL_CONSTANT */
1464, /* GL_PRIMARY_COLOR */
1461, /* GL_PREVIOUS */
- 1811, /* GL_SOURCE0_RGB */
- 1817, /* GL_SOURCE1_RGB */
- 1823, /* GL_SOURCE2_RGB */
- 1827, /* GL_SOURCE3_RGB_NV */
- 1808, /* GL_SOURCE0_ALPHA */
- 1814, /* GL_SOURCE1_ALPHA */
- 1820, /* GL_SOURCE2_ALPHA */
- 1826, /* GL_SOURCE3_ALPHA_NV */
+ 1812, /* GL_SOURCE0_RGB */
+ 1818, /* GL_SOURCE1_RGB */
+ 1824, /* GL_SOURCE2_RGB */
+ 1828, /* GL_SOURCE3_RGB_NV */
+ 1809, /* GL_SOURCE0_ALPHA */
+ 1815, /* GL_SOURCE1_ALPHA */
+ 1821, /* GL_SOURCE2_ALPHA */
+ 1827, /* GL_SOURCE3_ALPHA_NV */
1300, /* GL_OPERAND0_RGB */
1306, /* GL_OPERAND1_RGB */
1312, /* GL_OPERAND2_RGB */
@@ -5578,32 +5580,32 @@ static const unsigned reduced_enums[1569] =
1309, /* GL_OPERAND2_ALPHA */
1315, /* GL_OPERAND3_ALPHA_NV */
137, /* GL_BUFFER_OBJECT_APPLE */
- 2258, /* GL_VERTEX_ARRAY_BINDING */
- 2124, /* GL_TEXTURE_RANGE_LENGTH_APPLE */
- 2125, /* GL_TEXTURE_RANGE_POINTER_APPLE */
- 2335, /* GL_YCBCR_422_APPLE */
- 2247, /* GL_UNSIGNED_SHORT_8_8_APPLE */
- 2249, /* GL_UNSIGNED_SHORT_8_8_REV_APPLE */
- 2136, /* GL_TEXTURE_STORAGE_HINT_APPLE */
- 1897, /* GL_STORAGE_PRIVATE_APPLE */
- 1896, /* GL_STORAGE_CACHED_APPLE */
- 1898, /* GL_STORAGE_SHARED_APPLE */
- 1798, /* GL_SLICE_ACCUM_SUN */
+ 2259, /* GL_VERTEX_ARRAY_BINDING */
+ 2125, /* GL_TEXTURE_RANGE_LENGTH_APPLE */
+ 2126, /* GL_TEXTURE_RANGE_POINTER_APPLE */
+ 2336, /* GL_YCBCR_422_APPLE */
+ 2248, /* GL_UNSIGNED_SHORT_8_8_APPLE */
+ 2250, /* GL_UNSIGNED_SHORT_8_8_REV_APPLE */
+ 2137, /* GL_TEXTURE_STORAGE_HINT_APPLE */
+ 1898, /* GL_STORAGE_PRIVATE_APPLE */
+ 1897, /* GL_STORAGE_CACHED_APPLE */
+ 1899, /* GL_STORAGE_SHARED_APPLE */
+ 1799, /* GL_SLICE_ACCUM_SUN */
1543, /* GL_QUAD_MESH_SUN */
- 2183, /* GL_TRIANGLE_MESH_SUN */
- 2300, /* GL_VERTEX_PROGRAM_ARB */
- 2311, /* GL_VERTEX_STATE_PROGRAM_NV */
- 2285, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED */
- 2293, /* GL_VERTEX_ATTRIB_ARRAY_SIZE */
- 2295, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE */
- 2297, /* GL_VERTEX_ATTRIB_ARRAY_TYPE */
+ 2184, /* GL_TRIANGLE_MESH_SUN */
+ 2301, /* GL_VERTEX_PROGRAM_ARB */
+ 2312, /* GL_VERTEX_STATE_PROGRAM_NV */
+ 2286, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED */
+ 2294, /* GL_VERTEX_ATTRIB_ARRAY_SIZE */
+ 2296, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE */
+ 2298, /* GL_VERTEX_ATTRIB_ARRAY_TYPE */
387, /* GL_CURRENT_VERTEX_ATTRIB */
1488, /* GL_PROGRAM_LENGTH_ARB */
1504, /* GL_PROGRAM_STRING_ARB */
1222, /* GL_MODELVIEW_PROJECTION_NV */
744, /* GL_IDENTITY_NV */
821, /* GL_INVERSE_NV */
- 2174, /* GL_TRANSPOSE_NV */
+ 2175, /* GL_TRANSPOSE_NV */
822, /* GL_INVERSE_TRANSPOSE_NV */
1102, /* GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB */
1101, /* GL_MAX_PROGRAM_MATRICES_ARB */
@@ -5618,32 +5620,32 @@ static const unsigned reduced_enums[1569] =
370, /* GL_CURRENT_MATRIX_STACK_DEPTH_ARB */
367, /* GL_CURRENT_MATRIX_ARB */
1501, /* GL_PROGRAM_POINT_SIZE */
- 2306, /* GL_VERTEX_PROGRAM_TWO_SIDE */
+ 2307, /* GL_VERTEX_PROGRAM_TWO_SIDE */
1500, /* GL_PROGRAM_PARAMETER_NV */
- 2291, /* GL_VERTEX_ATTRIB_ARRAY_POINTER */
+ 2292, /* GL_VERTEX_ATTRIB_ARRAY_POINTER */
1506, /* GL_PROGRAM_TARGET_NV */
1503, /* GL_PROGRAM_RESIDENT_NV */
- 2146, /* GL_TRACK_MATRIX_NV */
- 2147, /* GL_TRACK_MATRIX_TRANSFORM_NV */
- 2301, /* GL_VERTEX_PROGRAM_BINDING_NV */
+ 2147, /* GL_TRACK_MATRIX_NV */
+ 2148, /* GL_TRACK_MATRIX_TRANSFORM_NV */
+ 2302, /* GL_VERTEX_PROGRAM_BINDING_NV */
1482, /* GL_PROGRAM_ERROR_POSITION_ARB */
412, /* GL_DEPTH_CLAMP */
- 2266, /* GL_VERTEX_ATTRIB_ARRAY0_NV */
- 2273, /* GL_VERTEX_ATTRIB_ARRAY1_NV */
- 2274, /* GL_VERTEX_ATTRIB_ARRAY2_NV */
- 2275, /* GL_VERTEX_ATTRIB_ARRAY3_NV */
- 2276, /* GL_VERTEX_ATTRIB_ARRAY4_NV */
- 2277, /* GL_VERTEX_ATTRIB_ARRAY5_NV */
- 2278, /* GL_VERTEX_ATTRIB_ARRAY6_NV */
- 2279, /* GL_VERTEX_ATTRIB_ARRAY7_NV */
- 2280, /* GL_VERTEX_ATTRIB_ARRAY8_NV */
- 2281, /* GL_VERTEX_ATTRIB_ARRAY9_NV */
- 2267, /* GL_VERTEX_ATTRIB_ARRAY10_NV */
- 2268, /* GL_VERTEX_ATTRIB_ARRAY11_NV */
- 2269, /* GL_VERTEX_ATTRIB_ARRAY12_NV */
- 2270, /* GL_VERTEX_ATTRIB_ARRAY13_NV */
- 2271, /* GL_VERTEX_ATTRIB_ARRAY14_NV */
- 2272, /* GL_VERTEX_ATTRIB_ARRAY15_NV */
+ 2267, /* GL_VERTEX_ATTRIB_ARRAY0_NV */
+ 2274, /* GL_VERTEX_ATTRIB_ARRAY1_NV */
+ 2275, /* GL_VERTEX_ATTRIB_ARRAY2_NV */
+ 2276, /* GL_VERTEX_ATTRIB_ARRAY3_NV */
+ 2277, /* GL_VERTEX_ATTRIB_ARRAY4_NV */
+ 2278, /* GL_VERTEX_ATTRIB_ARRAY5_NV */
+ 2279, /* GL_VERTEX_ATTRIB_ARRAY6_NV */
+ 2280, /* GL_VERTEX_ATTRIB_ARRAY7_NV */
+ 2281, /* GL_VERTEX_ATTRIB_ARRAY8_NV */
+ 2282, /* GL_VERTEX_ATTRIB_ARRAY9_NV */
+ 2268, /* GL_VERTEX_ATTRIB_ARRAY10_NV */
+ 2269, /* GL_VERTEX_ATTRIB_ARRAY11_NV */
+ 2270, /* GL_VERTEX_ATTRIB_ARRAY12_NV */
+ 2271, /* GL_VERTEX_ATTRIB_ARRAY13_NV */
+ 2272, /* GL_VERTEX_ATTRIB_ARRAY14_NV */
+ 2273, /* GL_VERTEX_ATTRIB_ARRAY15_NV */
930, /* GL_MAP1_VERTEX_ATTRIB0_4_NV */
937, /* GL_MAP1_VERTEX_ATTRIB1_4_NV */
938, /* GL_MAP1_VERTEX_ATTRIB2_4_NV */
@@ -5676,27 +5678,27 @@ static const unsigned reduced_enums[1569] =
961, /* GL_MAP2_VERTEX_ATTRIB13_4_NV */
962, /* GL_MAP2_VERTEX_ATTRIB14_4_NV */
963, /* GL_MAP2_VERTEX_ATTRIB15_4_NV */
- 2046, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE */
- 2043, /* GL_TEXTURE_COMPRESSED */
+ 2047, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE */
+ 2044, /* GL_TEXTURE_COMPRESSED */
1264, /* GL_NUM_COMPRESSED_TEXTURE_FORMATS */
314, /* GL_COMPRESSED_TEXTURE_FORMATS */
1162, /* GL_MAX_VERTEX_UNITS_ARB */
23, /* GL_ACTIVE_VERTEX_UNITS_ARB */
- 2329, /* GL_WEIGHT_SUM_UNITY_ARB */
- 2299, /* GL_VERTEX_BLEND_ARB */
+ 2330, /* GL_WEIGHT_SUM_UNITY_ARB */
+ 2300, /* GL_VERTEX_BLEND_ARB */
389, /* GL_CURRENT_WEIGHT_ARB */
- 2327, /* GL_WEIGHT_ARRAY_TYPE_ARB */
- 2325, /* GL_WEIGHT_ARRAY_STRIDE_ARB */
- 2323, /* GL_WEIGHT_ARRAY_SIZE_ARB */
- 2321, /* GL_WEIGHT_ARRAY_POINTER_ARB */
- 2316, /* GL_WEIGHT_ARRAY_ARB */
+ 2328, /* GL_WEIGHT_ARRAY_TYPE_ARB */
+ 2326, /* GL_WEIGHT_ARRAY_STRIDE_ARB */
+ 2324, /* GL_WEIGHT_ARRAY_SIZE_ARB */
+ 2322, /* GL_WEIGHT_ARRAY_POINTER_ARB */
+ 2317, /* GL_WEIGHT_ARRAY_ARB */
446, /* GL_DOT3_RGB */
447, /* GL_DOT3_RGBA */
308, /* GL_COMPRESSED_RGB_FXT1_3DFX */
303, /* GL_COMPRESSED_RGBA_FXT1_3DFX */
1230, /* GL_MULTISAMPLE_3DFX */
- 1756, /* GL_SAMPLE_BUFFERS_3DFX */
- 1747, /* GL_SAMPLES_3DFX */
+ 1757, /* GL_SAMPLE_BUFFERS_3DFX */
+ 1748, /* GL_SAMPLES_3DFX */
1210, /* GL_MODELVIEW2_ARB */
1213, /* GL_MODELVIEW3_ARB */
1214, /* GL_MODELVIEW4_ARB */
@@ -5734,7 +5736,7 @@ static const unsigned reduced_enums[1569] =
1225, /* GL_MODULATE_ADD_ATI */
1226, /* GL_MODULATE_SIGNED_ADD_ATI */
1227, /* GL_MODULATE_SUBTRACT_ATI */
- 2336, /* GL_YCBCR_MESA */
+ 2337, /* GL_YCBCR_MESA */
1324, /* GL_PACK_INVERT_MESA */
392, /* GL_DEBUG_OBJECT_MESA */
393, /* GL_DEBUG_PRINT_MESA */
@@ -5751,10 +5753,10 @@ static const unsigned reduced_enums[1569] =
147, /* GL_BUMP_TARGET_ATI */
1267, /* GL_NUM_PROGRAM_BINARY_FORMATS */
1476, /* GL_PROGRAM_BINARY_FORMATS */
- 1860, /* GL_STENCIL_BACK_FUNC */
- 1858, /* GL_STENCIL_BACK_FAIL */
- 1862, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL */
- 1864, /* GL_STENCIL_BACK_PASS_DEPTH_PASS */
+ 1861, /* GL_STENCIL_BACK_FUNC */
+ 1859, /* GL_STENCIL_BACK_FAIL */
+ 1863, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL */
+ 1865, /* GL_STENCIL_BACK_PASS_DEPTH_PASS */
616, /* GL_FRAGMENT_PROGRAM_ARB */
1474, /* GL_PROGRAM_ALU_INSTRUCTIONS_ARB */
1509, /* GL_PROGRAM_TEX_INSTRUCTIONS_ARB */
@@ -5768,11 +5770,11 @@ static const unsigned reduced_enums[1569] =
1104, /* GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB */
1110, /* GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB */
1109, /* GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB */
- 1687, /* GL_RGBA32F */
- 1650, /* GL_RGB32F */
- 1678, /* GL_RGBA16F */
- 1642, /* GL_RGB16F */
- 1706, /* GL_RGBA_FLOAT_MODE_ARB */
+ 1688, /* GL_RGBA32F */
+ 1651, /* GL_RGB32F */
+ 1679, /* GL_RGBA16F */
+ 1643, /* GL_RGB16F */
+ 1707, /* GL_RGBA_FLOAT_MODE_ARB */
1059, /* GL_MAX_DRAW_BUFFERS */
455, /* GL_DRAW_BUFFER0 */
459, /* GL_DRAW_BUFFER1 */
@@ -5801,10 +5803,10 @@ static const unsigned reduced_enums[1569] =
1030, /* GL_MATRIX_INDEX_ARRAY_TYPE_ARB */
1028, /* GL_MATRIX_INDEX_ARRAY_STRIDE_ARB */
1024, /* GL_MATRIX_INDEX_ARRAY_POINTER_ARB */
- 2081, /* GL_TEXTURE_DEPTH_SIZE */
+ 2082, /* GL_TEXTURE_DEPTH_SIZE */
439, /* GL_DEPTH_TEXTURE_MODE */
- 2038, /* GL_TEXTURE_COMPARE_MODE */
- 2036, /* GL_TEXTURE_COMPARE_FUNC */
+ 2039, /* GL_TEXTURE_COMPARE_MODE */
+ 2037, /* GL_TEXTURE_COMPARE_FUNC */
284, /* GL_COMPARE_REF_TO_TEXTURE */
1401, /* GL_POINT_SPRITE */
347, /* GL_COORD_REPLACE */
@@ -5814,7 +5816,7 @@ static const unsigned reduced_enums[1569] =
1553, /* GL_QUERY_RESULT */
1555, /* GL_QUERY_RESULT_AVAILABLE */
1154, /* GL_MAX_VERTEX_ATTRIBS */
- 2289, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED */
+ 2290, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED */
437, /* GL_DEPTH_STENCIL_TO_RGBA_NV */
436, /* GL_DEPTH_STENCIL_TO_BGRA_NV */
1131, /* GL_MAX_TEXTURE_COORDS */
@@ -5822,23 +5824,23 @@ static const unsigned reduced_enums[1569] =
1484, /* GL_PROGRAM_ERROR_STRING_ARB */
1486, /* GL_PROGRAM_FORMAT_ASCII_ARB */
1485, /* GL_PROGRAM_FORMAT_ARB */
- 2138, /* GL_TEXTURE_UNSIGNED_REMAP_MODE_NV */
+ 2139, /* GL_TEXTURE_UNSIGNED_REMAP_MODE_NV */
409, /* GL_DEPTH_BOUNDS_TEST_EXT */
408, /* GL_DEPTH_BOUNDS_EXT */
61, /* GL_ARRAY_BUFFER */
540, /* GL_ELEMENT_ARRAY_BUFFER */
62, /* GL_ARRAY_BUFFER_BINDING */
541, /* GL_ELEMENT_ARRAY_BUFFER_BINDING */
- 2260, /* GL_VERTEX_ARRAY_BUFFER_BINDING */
+ 2261, /* GL_VERTEX_ARRAY_BUFFER_BINDING */
1252, /* GL_NORMAL_ARRAY_BUFFER_BINDING */
190, /* GL_COLOR_ARRAY_BUFFER_BINDING */
755, /* GL_INDEX_ARRAY_BUFFER_BINDING */
- 2051, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING */
+ 2052, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING */
536, /* GL_EDGE_FLAG_ARRAY_BUFFER_BINDING */
- 1768, /* GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING */
+ 1769, /* GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING */
594, /* GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING */
- 2317, /* GL_WEIGHT_ARRAY_BUFFER_BINDING */
- 2282, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING */
+ 2318, /* GL_WEIGHT_ARRAY_BUFFER_BINDING */
+ 2283, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING */
1487, /* GL_PROGRAM_INSTRUCTIONS_ARB */
1097, /* GL_MAX_PROGRAM_INSTRUCTIONS_ARB */
1493, /* GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB */
@@ -5862,14 +5864,14 @@ static const unsigned reduced_enums[1569] =
1098, /* GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB */
1094, /* GL_MAX_PROGRAM_ENV_PARAMETERS_ARB */
1510, /* GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB */
- 2171, /* GL_TRANSPOSE_CURRENT_MATRIX_ARB */
+ 2172, /* GL_TRANSPOSE_CURRENT_MATRIX_ARB */
1572, /* GL_READ_ONLY */
- 2331, /* GL_WRITE_ONLY */
+ 2332, /* GL_WRITE_ONLY */
1574, /* GL_READ_WRITE */
124, /* GL_BUFFER_ACCESS */
129, /* GL_BUFFER_MAPPED */
134, /* GL_BUFFER_MAP_POINTER */
- 2145, /* GL_TIME_ELAPSED_EXT */
+ 2146, /* GL_TIME_ELAPSED_EXT */
981, /* GL_MATRIX0_ARB */
993, /* GL_MATRIX1_ARB */
1005, /* GL_MATRIX2_ARB */
@@ -5902,12 +5904,12 @@ static const unsigned reduced_enums[1569] =
1004, /* GL_MATRIX29_ARB */
1007, /* GL_MATRIX30_ARB */
1008, /* GL_MATRIX31_ARB */
- 1901, /* GL_STREAM_DRAW */
- 1903, /* GL_STREAM_READ */
- 1899, /* GL_STREAM_COPY */
- 1850, /* GL_STATIC_DRAW */
- 1852, /* GL_STATIC_READ */
- 1848, /* GL_STATIC_COPY */
+ 1902, /* GL_STREAM_DRAW */
+ 1904, /* GL_STREAM_READ */
+ 1900, /* GL_STREAM_COPY */
+ 1851, /* GL_STATIC_DRAW */
+ 1853, /* GL_STATIC_READ */
+ 1849, /* GL_STATIC_COPY */
530, /* GL_DYNAMIC_DRAW */
532, /* GL_DYNAMIC_READ */
528, /* GL_DYNAMIC_COPY */
@@ -5916,25 +5918,25 @@ static const unsigned reduced_enums[1569] =
1365, /* GL_PIXEL_PACK_BUFFER_BINDING */
1369, /* GL_PIXEL_UNPACK_BUFFER_BINDING */
400, /* GL_DEPTH24_STENCIL8 */
- 2134, /* GL_TEXTURE_STENCIL_SIZE */
- 2079, /* GL_TEXTURE_CUBE_MAP_SEAMLESS */
+ 2135, /* GL_TEXTURE_STENCIL_SIZE */
+ 2080, /* GL_TEXTURE_CUBE_MAP_SEAMLESS */
1093, /* GL_MAX_PROGRAM_CALL_DEPTH_NV */
1096, /* GL_MAX_PROGRAM_IF_DEPTH_NV */
1100, /* GL_MAX_PROGRAM_LOOP_DEPTH_NV */
1099, /* GL_MAX_PROGRAM_LOOP_COUNT_NV */
- 2287, /* GL_VERTEX_ATTRIB_ARRAY_INTEGER */
- 2284, /* GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB */
+ 2288, /* GL_VERTEX_ATTRIB_ARRAY_INTEGER */
+ 2285, /* GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB */
1038, /* GL_MAX_ARRAY_TEXTURE_LAYERS */
1177, /* GL_MIN_PROGRAM_TEXEL_OFFSET */
1113, /* GL_MAX_PROGRAM_TEXEL_OFFSET */
- 1892, /* GL_STENCIL_TEST_TWO_SIDE_EXT */
+ 1893, /* GL_STENCIL_TEST_TWO_SIDE_EXT */
18, /* GL_ACTIVE_STENCIL_FACE_EXT */
1184, /* GL_MIRROR_CLAMP_TO_BORDER_EXT */
- 1749, /* GL_SAMPLES_PASSED */
+ 1750, /* GL_SAMPLES_PASSED */
709, /* GL_GEOMETRY_VERTICES_OUT */
703, /* GL_GEOMETRY_INPUT_TYPE */
705, /* GL_GEOMETRY_OUTPUT_TYPE */
- 1739, /* GL_SAMPLER_BINDING */
+ 1740, /* GL_SAMPLER_BINDING */
164, /* GL_CLAMP_VERTEX_COLOR_ARB */
156, /* GL_CLAMP_FRAGMENT_COLOR_ARB */
157, /* GL_CLAMP_READ_COLOR */
@@ -5944,25 +5946,25 @@ static const unsigned reduced_enums[1569] =
1386, /* GL_POINT_SIZE_ARRAY_POINTER_OES */
1221, /* GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES */
1513, /* GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES */
- 2114, /* GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES */
+ 2115, /* GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES */
138, /* GL_BUFFER_SERIALIZED_MODIFY_APPLE */
128, /* GL_BUFFER_FLUSHING_UNMAP_APPLE */
1589, /* GL_RELEASED_APPLE */
- 2314, /* GL_VOLATILE_APPLE */
+ 2315, /* GL_VOLATILE_APPLE */
1630, /* GL_RETAINED_APPLE */
- 2188, /* GL_UNDEFINED_APPLE */
+ 2189, /* GL_UNDEFINED_APPLE */
1537, /* GL_PURGEABLE_APPLE */
617, /* GL_FRAGMENT_SHADER */
- 2309, /* GL_VERTEX_SHADER */
+ 2310, /* GL_VERTEX_SHADER */
1498, /* GL_PROGRAM_OBJECT_ARB */
- 1785, /* GL_SHADER_OBJECT_ARB */
+ 1786, /* GL_SHADER_OBJECT_ARB */
1068, /* GL_MAX_FRAGMENT_UNIFORM_COMPONENTS */
1159, /* GL_MAX_VERTEX_UNIFORM_COMPONENTS */
1150, /* GL_MAX_VARYING_COMPONENTS */
1157, /* GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS */
1050, /* GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS */
1284, /* GL_OBJECT_TYPE_ARB */
- 1787, /* GL_SHADER_TYPE */
+ 1788, /* GL_SHADER_TYPE */
582, /* GL_FLOAT_VEC2 */
584, /* GL_FLOAT_VEC3 */
586, /* GL_FLOAT_VEC4 */
@@ -5976,14 +5978,14 @@ static const unsigned reduced_enums[1569] =
570, /* GL_FLOAT_MAT2 */
574, /* GL_FLOAT_MAT3 */
578, /* GL_FLOAT_MAT4 */
- 1723, /* GL_SAMPLER_1D */
- 1729, /* GL_SAMPLER_2D */
- 1737, /* GL_SAMPLER_3D */
- 1742, /* GL_SAMPLER_CUBE */
- 1728, /* GL_SAMPLER_1D_SHADOW */
- 1736, /* GL_SAMPLER_2D_SHADOW */
- 1734, /* GL_SAMPLER_2D_RECT */
- 1735, /* GL_SAMPLER_2D_RECT_SHADOW */
+ 1724, /* GL_SAMPLER_1D */
+ 1730, /* GL_SAMPLER_2D */
+ 1738, /* GL_SAMPLER_3D */
+ 1743, /* GL_SAMPLER_CUBE */
+ 1729, /* GL_SAMPLER_1D_SHADOW */
+ 1737, /* GL_SAMPLER_2D_SHADOW */
+ 1735, /* GL_SAMPLER_2D_RECT */
+ 1736, /* GL_SAMPLER_2D_RECT_SHADOW */
572, /* GL_FLOAT_MAT2x3 */
573, /* GL_FLOAT_MAT2x4 */
576, /* GL_FLOAT_MAT3x2 */
@@ -5993,16 +5995,16 @@ static const unsigned reduced_enums[1569] =
398, /* GL_DELETE_STATUS */
289, /* GL_COMPILE_STATUS */
870, /* GL_LINK_STATUS */
- 2254, /* GL_VALIDATE_STATUS */
+ 2255, /* GL_VALIDATE_STATUS */
767, /* GL_INFO_LOG_LENGTH */
64, /* GL_ATTACHED_SHADERS */
21, /* GL_ACTIVE_UNIFORMS */
22, /* GL_ACTIVE_UNIFORM_MAX_LENGTH */
- 1786, /* GL_SHADER_SOURCE_LENGTH */
+ 1787, /* GL_SHADER_SOURCE_LENGTH */
15, /* GL_ACTIVE_ATTRIBUTES */
16, /* GL_ACTIVE_ATTRIBUTE_MAX_LENGTH */
619, /* GL_FRAGMENT_SHADER_DERIVATIVE_HINT */
- 1789, /* GL_SHADING_LANGUAGE_VERSION */
+ 1790, /* GL_SHADING_LANGUAGE_VERSION */
375, /* GL_CURRENT_PROGRAM */
1333, /* GL_PALETTE4_RGB8_OES */
1335, /* GL_PALETTE4_RGBA8_OES */
@@ -6017,60 +6019,60 @@ static const unsigned reduced_enums[1569] =
748, /* GL_IMPLEMENTATION_COLOR_READ_TYPE */
746, /* GL_IMPLEMENTATION_COLOR_READ_FORMAT */
1385, /* GL_POINT_SIZE_ARRAY_OES */
- 2057, /* GL_TEXTURE_CROP_RECT_OES */
+ 2058, /* GL_TEXTURE_CROP_RECT_OES */
1022, /* GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES */
1384, /* GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES */
- 2237, /* GL_UNSIGNED_NORMALIZED */
- 1989, /* GL_TEXTURE_1D_ARRAY */
+ 2238, /* GL_UNSIGNED_NORMALIZED */
+ 1990, /* GL_TEXTURE_1D_ARRAY */
1523, /* GL_PROXY_TEXTURE_1D_ARRAY */
- 1992, /* GL_TEXTURE_2D_ARRAY */
+ 1993, /* GL_TEXTURE_2D_ARRAY */
1527, /* GL_PROXY_TEXTURE_2D_ARRAY */
- 2000, /* GL_TEXTURE_BINDING_1D_ARRAY */
- 2003, /* GL_TEXTURE_BINDING_2D_ARRAY */
+ 2001, /* GL_TEXTURE_BINDING_1D_ARRAY */
+ 2004, /* GL_TEXTURE_BINDING_2D_ARRAY */
1075, /* GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS */
- 2021, /* GL_TEXTURE_BUFFER */
+ 2022, /* GL_TEXTURE_BUFFER */
1129, /* GL_MAX_TEXTURE_BUFFER_SIZE */
- 2007, /* GL_TEXTURE_BINDING_BUFFER */
- 2023, /* GL_TEXTURE_BUFFER_DATA_STORE_BINDING */
- 2025, /* GL_TEXTURE_BUFFER_FORMAT */
+ 2008, /* GL_TEXTURE_BINDING_BUFFER */
+ 2024, /* GL_TEXTURE_BUFFER_DATA_STORE_BINDING */
+ 2026, /* GL_TEXTURE_BUFFER_FORMAT */
1560, /* GL_R11F_G11F_B10F */
- 2203, /* GL_UNSIGNED_INT_10F_11F_11F_REV */
- 1673, /* GL_RGB9_E5 */
- 2212, /* GL_UNSIGNED_INT_5_9_9_9_REV */
- 2132, /* GL_TEXTURE_SHARED_SIZE */
- 1842, /* GL_SRGB */
- 1843, /* GL_SRGB8 */
- 1845, /* GL_SRGB_ALPHA */
- 1844, /* GL_SRGB8_ALPHA8 */
- 1802, /* GL_SLUMINANCE_ALPHA */
- 1801, /* GL_SLUMINANCE8_ALPHA8 */
- 1799, /* GL_SLUMINANCE */
- 1800, /* GL_SLUMINANCE8 */
+ 2204, /* GL_UNSIGNED_INT_10F_11F_11F_REV */
+ 1674, /* GL_RGB9_E5 */
+ 2213, /* GL_UNSIGNED_INT_5_9_9_9_REV */
+ 2133, /* GL_TEXTURE_SHARED_SIZE */
+ 1843, /* GL_SRGB */
+ 1844, /* GL_SRGB8 */
+ 1846, /* GL_SRGB_ALPHA */
+ 1845, /* GL_SRGB8_ALPHA8 */
+ 1803, /* GL_SLUMINANCE_ALPHA */
+ 1802, /* GL_SLUMINANCE8_ALPHA8 */
+ 1800, /* GL_SLUMINANCE */
+ 1801, /* GL_SLUMINANCE8 */
312, /* GL_COMPRESSED_SRGB */
313, /* GL_COMPRESSED_SRGB_ALPHA */
310, /* GL_COMPRESSED_SLUMINANCE */
311, /* GL_COMPRESSED_SLUMINANCE_ALPHA */
- 2167, /* GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH */
- 2156, /* GL_TRANSFORM_FEEDBACK_BUFFER_MODE */
+ 2168, /* GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH */
+ 2157, /* GL_TRANSFORM_FEEDBACK_BUFFER_MODE */
1148, /* GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS */
- 2165, /* GL_TRANSFORM_FEEDBACK_VARYINGS */
- 2161, /* GL_TRANSFORM_FEEDBACK_BUFFER_START */
- 2159, /* GL_TRANSFORM_FEEDBACK_BUFFER_SIZE */
+ 2166, /* GL_TRANSFORM_FEEDBACK_VARYINGS */
+ 2162, /* GL_TRANSFORM_FEEDBACK_BUFFER_START */
+ 2160, /* GL_TRANSFORM_FEEDBACK_BUFFER_SIZE */
1467, /* GL_PRIMITIVES_GENERATED */
- 2163, /* GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN */
+ 2164, /* GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN */
1564, /* GL_RASTERIZER_DISCARD */
1144, /* GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS */
1146, /* GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS */
786, /* GL_INTERLEAVED_ATTRIBS */
- 1778, /* GL_SEPARATE_ATTRIBS */
- 2151, /* GL_TRANSFORM_FEEDBACK_BUFFER */
- 2153, /* GL_TRANSFORM_FEEDBACK_BUFFER_BINDING */
+ 1779, /* GL_SEPARATE_ATTRIBS */
+ 2152, /* GL_TRANSFORM_FEEDBACK_BUFFER */
+ 2154, /* GL_TRANSFORM_FEEDBACK_BUFFER_BINDING */
1403, /* GL_POINT_SPRITE_COORD_ORIGIN */
879, /* GL_LOWER_LEFT */
- 2251, /* GL_UPPER_LEFT */
- 1866, /* GL_STENCIL_BACK_REF */
- 1867, /* GL_STENCIL_BACK_VALUE_MASK */
- 1868, /* GL_STENCIL_BACK_WRITEMASK */
+ 2252, /* GL_UPPER_LEFT */
+ 1867, /* GL_STENCIL_BACK_REF */
+ 1868, /* GL_STENCIL_BACK_VALUE_MASK */
+ 1869, /* GL_STENCIL_BACK_WRITEMASK */
520, /* GL_DRAW_FRAMEBUFFER_BINDING */
1594, /* GL_RENDERBUFFER_BINDING */
1568, /* GL_READ_FRAMEBUFFER */
@@ -6110,17 +6112,17 @@ static const unsigned reduced_enums[1569] =
208, /* GL_COLOR_ATTACHMENT14 */
210, /* GL_COLOR_ATTACHMENT15 */
403, /* GL_DEPTH_ATTACHMENT */
- 1855, /* GL_STENCIL_ATTACHMENT */
+ 1856, /* GL_STENCIL_ATTACHMENT */
621, /* GL_FRAMEBUFFER */
1591, /* GL_RENDERBUFFER */
1617, /* GL_RENDERBUFFER_WIDTH */
1604, /* GL_RENDERBUFFER_HEIGHT */
1607, /* GL_RENDERBUFFER_INTERNAL_FORMAT */
- 1887, /* GL_STENCIL_INDEX_EXT */
- 1876, /* GL_STENCIL_INDEX1 */
- 1881, /* GL_STENCIL_INDEX4 */
- 1884, /* GL_STENCIL_INDEX8 */
- 1877, /* GL_STENCIL_INDEX16 */
+ 1888, /* GL_STENCIL_INDEX_EXT */
+ 1877, /* GL_STENCIL_INDEX1 */
+ 1882, /* GL_STENCIL_INDEX4 */
+ 1885, /* GL_STENCIL_INDEX8 */
+ 1878, /* GL_STENCIL_INDEX16 */
1611, /* GL_RENDERBUFFER_RED_SIZE */
1602, /* GL_RENDERBUFFER_GREEN_SIZE */
1597, /* GL_RENDERBUFFER_BLUE_SIZE */
@@ -6129,45 +6131,45 @@ static const unsigned reduced_enums[1569] =
1615, /* GL_RENDERBUFFER_STENCIL_SIZE */
674, /* GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
1124, /* GL_MAX_SAMPLES */
- 2094, /* GL_TEXTURE_GEN_STR_OES */
+ 2095, /* GL_TEXTURE_GEN_STR_OES */
722, /* GL_HALF_FLOAT_OES */
- 1659, /* GL_RGB565 */
- 2086, /* GL_TEXTURE_EXTERNAL_OES */
- 1745, /* GL_SAMPLER_EXTERNAL_OES */
- 2012, /* GL_TEXTURE_BINDING_EXTERNAL_OES */
+ 1660, /* GL_RGB565 */
+ 2087, /* GL_TEXTURE_EXTERNAL_OES */
+ 1746, /* GL_SAMPLER_EXTERNAL_OES */
+ 2013, /* GL_TEXTURE_BINDING_EXTERNAL_OES */
1626, /* GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES */
- 1690, /* GL_RGBA32UI */
- 1653, /* GL_RGB32UI */
+ 1691, /* GL_RGBA32UI */
+ 1654, /* GL_RGB32UI */
40, /* GL_ALPHA32UI_EXT */
778, /* GL_INTENSITY32UI_EXT */
896, /* GL_LUMINANCE32UI_EXT */
913, /* GL_LUMINANCE_ALPHA32UI_EXT */
- 1681, /* GL_RGBA16UI */
- 1645, /* GL_RGB16UI */
+ 1682, /* GL_RGBA16UI */
+ 1646, /* GL_RGB16UI */
37, /* GL_ALPHA16UI_EXT */
775, /* GL_INTENSITY16UI_EXT */
891, /* GL_LUMINANCE16UI_EXT */
911, /* GL_LUMINANCE_ALPHA16UI_EXT */
- 1700, /* GL_RGBA8UI */
- 1668, /* GL_RGB8UI */
+ 1701, /* GL_RGBA8UI */
+ 1669, /* GL_RGB8UI */
45, /* GL_ALPHA8UI_EXT */
783, /* GL_INTENSITY8UI_EXT */
905, /* GL_LUMINANCE8UI_EXT */
915, /* GL_LUMINANCE_ALPHA8UI_EXT */
- 1688, /* GL_RGBA32I */
- 1651, /* GL_RGB32I */
+ 1689, /* GL_RGBA32I */
+ 1652, /* GL_RGB32I */
39, /* GL_ALPHA32I_EXT */
777, /* GL_INTENSITY32I_EXT */
895, /* GL_LUMINANCE32I_EXT */
912, /* GL_LUMINANCE_ALPHA32I_EXT */
- 1679, /* GL_RGBA16I */
- 1643, /* GL_RGB16I */
+ 1680, /* GL_RGBA16I */
+ 1644, /* GL_RGB16I */
36, /* GL_ALPHA16I_EXT */
774, /* GL_INTENSITY16I_EXT */
890, /* GL_LUMINANCE16I_EXT */
910, /* GL_LUMINANCE_ALPHA16I_EXT */
- 1698, /* GL_RGBA8I */
- 1666, /* GL_RGB8I */
+ 1699, /* GL_RGBA8I */
+ 1667, /* GL_RGB8I */
44, /* GL_ALPHA8I_EXT */
782, /* GL_INTENSITY8I_EXT */
904, /* GL_LUMINANCE8I_EXT */
@@ -6176,26 +6178,26 @@ static const unsigned reduced_enums[1569] =
717, /* GL_GREEN_INTEGER */
113, /* GL_BLUE_INTEGER */
49, /* GL_ALPHA_INTEGER_EXT */
- 1713, /* GL_RGB_INTEGER */
- 1707, /* GL_RGBA_INTEGER */
+ 1714, /* GL_RGB_INTEGER */
+ 1708, /* GL_RGBA_INTEGER */
84, /* GL_BGR_INTEGER */
82, /* GL_BGRA_INTEGER */
917, /* GL_LUMINANCE_INTEGER_EXT */
916, /* GL_LUMINANCE_ALPHA_INTEGER_EXT */
- 1709, /* GL_RGBA_INTEGER_MODE_EXT */
+ 1710, /* GL_RGBA_INTEGER_MODE_EXT */
792, /* GL_INT_2_10_10_10_REV */
628, /* GL_FRAMEBUFFER_ATTACHMENT_LAYERED */
669, /* GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS */
668, /* GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB */
- 1724, /* GL_SAMPLER_1D_ARRAY */
- 1730, /* GL_SAMPLER_2D_ARRAY */
- 1740, /* GL_SAMPLER_BUFFER */
- 1726, /* GL_SAMPLER_1D_ARRAY_SHADOW */
- 1732, /* GL_SAMPLER_2D_ARRAY_SHADOW */
- 1743, /* GL_SAMPLER_CUBE_SHADOW */
- 2231, /* GL_UNSIGNED_INT_VEC2 */
- 2233, /* GL_UNSIGNED_INT_VEC3 */
- 2235, /* GL_UNSIGNED_INT_VEC4 */
+ 1725, /* GL_SAMPLER_1D_ARRAY */
+ 1731, /* GL_SAMPLER_2D_ARRAY */
+ 1741, /* GL_SAMPLER_BUFFER */
+ 1727, /* GL_SAMPLER_1D_ARRAY_SHADOW */
+ 1733, /* GL_SAMPLER_2D_ARRAY_SHADOW */
+ 1744, /* GL_SAMPLER_CUBE_SHADOW */
+ 2232, /* GL_UNSIGNED_INT_VEC2 */
+ 2234, /* GL_UNSIGNED_INT_VEC3 */
+ 2236, /* GL_UNSIGNED_INT_VEC4 */
793, /* GL_INT_SAMPLER_1D */
797, /* GL_INT_SAMPLER_2D */
803, /* GL_INT_SAMPLER_3D */
@@ -6204,14 +6206,14 @@ static const unsigned reduced_enums[1569] =
794, /* GL_INT_SAMPLER_1D_ARRAY */
798, /* GL_INT_SAMPLER_2D_ARRAY */
805, /* GL_INT_SAMPLER_BUFFER */
- 2215, /* GL_UNSIGNED_INT_SAMPLER_1D */
- 2219, /* GL_UNSIGNED_INT_SAMPLER_2D */
- 2225, /* GL_UNSIGNED_INT_SAMPLER_3D */
- 2229, /* GL_UNSIGNED_INT_SAMPLER_CUBE */
- 2223, /* GL_UNSIGNED_INT_SAMPLER_2D_RECT */
- 2216, /* GL_UNSIGNED_INT_SAMPLER_1D_ARRAY */
- 2220, /* GL_UNSIGNED_INT_SAMPLER_2D_ARRAY */
- 2227, /* GL_UNSIGNED_INT_SAMPLER_BUFFER */
+ 2216, /* GL_UNSIGNED_INT_SAMPLER_1D */
+ 2220, /* GL_UNSIGNED_INT_SAMPLER_2D */
+ 2226, /* GL_UNSIGNED_INT_SAMPLER_3D */
+ 2230, /* GL_UNSIGNED_INT_SAMPLER_CUBE */
+ 2224, /* GL_UNSIGNED_INT_SAMPLER_2D_RECT */
+ 2217, /* GL_UNSIGNED_INT_SAMPLER_1D_ARRAY */
+ 2221, /* GL_UNSIGNED_INT_SAMPLER_2D_ARRAY */
+ 2228, /* GL_UNSIGNED_INT_SAMPLER_BUFFER */
707, /* GL_GEOMETRY_SHADER */
710, /* GL_GEOMETRY_VERTICES_OUT_ARB */
704, /* GL_GEOMETRY_INPUT_TYPE_ARB */
@@ -6227,11 +6229,11 @@ static const unsigned reduced_enums[1569] =
881, /* GL_LOW_INT */
1167, /* GL_MEDIUM_INT */
724, /* GL_HIGH_INT */
- 2205, /* GL_UNSIGNED_INT_10_10_10_2_OES */
+ 2206, /* GL_UNSIGNED_INT_10_10_10_2_OES */
791, /* GL_INT_10_10_10_2_OES */
- 1783, /* GL_SHADER_BINARY_FORMATS */
+ 1784, /* GL_SHADER_BINARY_FORMATS */
1269, /* GL_NUM_SHADER_BINARY_FORMATS */
- 1784, /* GL_SHADER_COMPILER */
+ 1785, /* GL_SHADER_COMPILER */
1161, /* GL_MAX_VERTEX_UNIFORM_VECTORS */
1153, /* GL_MAX_VARYING_VECTORS */
1070, /* GL_MAX_FRAGMENT_UNIFORM_VECTORS */
@@ -6239,10 +6241,10 @@ static const unsigned reduced_enums[1569] =
1551, /* GL_QUERY_NO_WAIT */
1547, /* GL_QUERY_BY_REGION_WAIT */
1545, /* GL_QUERY_BY_REGION_NO_WAIT */
- 2149, /* GL_TRANSFORM_FEEDBACK */
- 2158, /* GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
- 2152, /* GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
- 2150, /* GL_TRANSFORM_FEEDBACK_BINDING */
+ 2150, /* GL_TRANSFORM_FEEDBACK */
+ 2159, /* GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
+ 2153, /* GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
+ 2151, /* GL_TRANSFORM_FEEDBACK_BINDING */
1541, /* GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION */
562, /* GL_FIRST_VERTEX_CONVENTION */
825, /* GL_LAST_VERTEX_CONVENTION */
@@ -6250,33 +6252,34 @@ static const unsigned reduced_enums[1569] =
354, /* GL_COPY_READ_BUFFER */
355, /* GL_COPY_WRITE_BUFFER */
1584, /* GL_RED_SNORM */
- 1720, /* GL_RG_SNORM */
- 1719, /* GL_RGB_SNORM */
- 1712, /* GL_RGBA_SNORM */
+ 1721, /* GL_RG_SNORM */
+ 1720, /* GL_RGB_SNORM */
+ 1713, /* GL_RGBA_SNORM */
1563, /* GL_R8_SNORM */
1633, /* GL_RG8_SNORM */
- 1672, /* GL_RGB8_SNORM */
- 1704, /* GL_RGBA8_SNORM */
+ 1673, /* GL_RGB8_SNORM */
+ 1705, /* GL_RGBA8_SNORM */
1561, /* GL_R16_SNORM */
1632, /* GL_RG16_SNORM */
- 1648, /* GL_RGB16_SNORM */
- 1684, /* GL_RGBA16_SNORM */
- 1795, /* GL_SIGNED_NORMALIZED */
+ 1649, /* GL_RGB16_SNORM */
+ 1685, /* GL_RGBA16_SNORM */
+ 1796, /* GL_SIGNED_NORMALIZED */
1469, /* GL_PRIMITIVE_RESTART */
1470, /* GL_PRIMITIVE_RESTART_INDEX */
+ 1637, /* GL_RGB10_A2UI */
1126, /* GL_MAX_SERVER_WAIT_TIMEOUT */
1283, /* GL_OBJECT_TYPE */
- 1908, /* GL_SYNC_CONDITION */
- 1913, /* GL_SYNC_STATUS */
- 1910, /* GL_SYNC_FLAGS */
- 1909, /* GL_SYNC_FENCE */
- 1912, /* GL_SYNC_GPU_COMMANDS_COMPLETE */
- 2198, /* GL_UNSIGNALED */
- 1794, /* GL_SIGNALED */
+ 1909, /* GL_SYNC_CONDITION */
+ 1914, /* GL_SYNC_STATUS */
+ 1911, /* GL_SYNC_FLAGS */
+ 1910, /* GL_SYNC_FENCE */
+ 1913, /* GL_SYNC_GPU_COMMANDS_COMPLETE */
+ 2199, /* GL_UNSIGNALED */
+ 1795, /* GL_SIGNALED */
54, /* GL_ALREADY_SIGNALED */
- 2144, /* GL_TIMEOUT_EXPIRED */
+ 2145, /* GL_TIMEOUT_EXPIRED */
315, /* GL_CONDITION_SATISFIED */
- 2315, /* GL_WAIT_FAILED */
+ 2316, /* GL_WAIT_FAILED */
126, /* GL_BUFFER_ACCESS_FLAGS */
132, /* GL_BUFFER_MAP_LENGTH */
133, /* GL_BUFFER_MAP_OFFSET */
@@ -6289,8 +6292,8 @@ static const unsigned reduced_enums[1569] =
547, /* GL_EVAL_BIT */
1566, /* GL_RASTER_POSITION_UNCLIPPED_IBM */
872, /* GL_LIST_BIT */
- 2016, /* GL_TEXTURE_BIT */
- 1764, /* GL_SCISSOR_BIT */
+ 2017, /* GL_TEXTURE_BIT */
+ 1765, /* GL_SCISSOR_BIT */
30, /* GL_ALL_ATTRIB_BITS */
1232, /* GL_MULTISAMPLE_BIT */
31, /* GL_ALL_CLIENT_ATTRIB_BITS */
diff --git a/mesalib/src/mesa/main/format_unpack.c b/mesalib/src/mesa/main/format_unpack.c
index 080392f2b..2f051dfa4 100644
--- a/mesalib/src/mesa/main/format_unpack.c
+++ b/mesalib/src/mesa/main/format_unpack.c
@@ -113,6 +113,32 @@ unpack_ARGB8888_REV(const void *src, GLfloat dst[][4], GLuint n)
}
static void
+unpack_RGBX8888(const void *src, GLfloat dst[][4], GLuint n)
+{
+ const GLuint *s = ((const GLuint *) src);
+ GLuint i;
+ for (i = 0; i < n; i++) {
+ dst[i][RCOMP] = UBYTE_TO_FLOAT( (s[i] >> 24) );
+ dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff );
+ dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff );
+ dst[i][ACOMP] = 1.0f;
+ }
+}
+
+static void
+unpack_RGBX8888_REV(const void *src, GLfloat dst[][4], GLuint n)
+{
+ const GLuint *s = ((const GLuint *) src);
+ GLuint i;
+ for (i = 0; i < n; i++) {
+ dst[i][RCOMP] = UBYTE_TO_FLOAT( (s[i] ) & 0xff );
+ dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff );
+ dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff );
+ dst[i][ACOMP] = 1.0f;
+ }
+}
+
+static void
unpack_XRGB8888(const void *src, GLfloat dst[][4], GLuint n)
{
const GLuint *s = ((const GLuint *) src);
@@ -1405,6 +1431,8 @@ get_unpack_rgba_function(gl_format format)
table[MESA_FORMAT_RGBA8888_REV] = unpack_RGBA8888_REV;
table[MESA_FORMAT_ARGB8888] = unpack_ARGB8888;
table[MESA_FORMAT_ARGB8888_REV] = unpack_ARGB8888_REV;
+ table[MESA_FORMAT_RGBX8888] = unpack_RGBX8888;
+ table[MESA_FORMAT_RGBX8888_REV] = unpack_RGBX8888_REV;
table[MESA_FORMAT_XRGB8888] = unpack_XRGB8888;
table[MESA_FORMAT_XRGB8888_REV] = unpack_XRGB8888_REV;
table[MESA_FORMAT_RGB888] = unpack_RGB888;
diff --git a/mesalib/src/mesa/main/formats.c b/mesalib/src/mesa/main/formats.c
index b934bd4d8..b9871aec8 100644
--- a/mesalib/src/mesa/main/formats.c
+++ b/mesalib/src/mesa/main/formats.c
@@ -123,6 +123,24 @@ static struct gl_format_info format_info[MESA_FORMAT_COUNT] =
1, 1, 4 /* BlockWidth/Height,Bytes */
},
{
+ MESA_FORMAT_RGBX8888, /* Name */
+ "MESA_FORMAT_RGBX8888", /* StrName */
+ GL_RGB, /* BaseFormat */
+ GL_UNSIGNED_NORMALIZED, /* DataType */
+ 8, 8, 8, 0, /* Red/Green/Blue/AlphaBits */
+ 0, 0, 0, 0, 0, /* Lum/Int/Index/Depth/StencilBits */
+ 1, 1, 4 /* BlockWidth/Height,Bytes */
+ },
+ {
+ MESA_FORMAT_RGBX8888_REV, /* Name */
+ "MESA_FORMAT_RGBX8888_REV", /* StrName */
+ GL_RGB, /* BaseFormat */
+ GL_UNSIGNED_NORMALIZED, /* DataType */
+ 8, 8, 8, 0, /* Red/Green/Blue/AlphaBits */
+ 0, 0, 0, 0, 0, /* Lum/Int/Index/Depth/StencilBits */
+ 1, 1, 4 /* BlockWidth/Height,Bytes */
+ },
+ {
MESA_FORMAT_XRGB8888, /* Name */
"MESA_FORMAT_XRGB8888", /* StrName */
GL_RGB, /* BaseFormat */
@@ -1987,6 +2005,8 @@ _mesa_format_to_type_and_comps(gl_format format,
case MESA_FORMAT_RGBA8888_REV:
case MESA_FORMAT_ARGB8888:
case MESA_FORMAT_ARGB8888_REV:
+ case MESA_FORMAT_RGBX8888:
+ case MESA_FORMAT_RGBX8888_REV:
case MESA_FORMAT_XRGB8888:
case MESA_FORMAT_XRGB8888_REV:
*datatype = GL_UNSIGNED_BYTE;
@@ -2492,6 +2512,10 @@ _mesa_format_matches_format_and_type(gl_format gl_format,
return ((format == GL_BGRA && (type == GL_UNSIGNED_INT_8_8_8_8 ||
(type == GL_UNSIGNED_BYTE && !littleEndian))));
+ case MESA_FORMAT_RGBX8888:
+ case MESA_FORMAT_RGBX8888_REV:
+ return GL_FALSE;
+
case MESA_FORMAT_XRGB8888:
case MESA_FORMAT_XRGB8888_REV:
return GL_FALSE;
diff --git a/mesalib/src/mesa/main/formats.h b/mesalib/src/mesa/main/formats.h
index b2cb750aa..5f601862b 100644
--- a/mesalib/src/mesa/main/formats.h
+++ b/mesalib/src/mesa/main/formats.h
@@ -63,6 +63,8 @@ typedef enum
MESA_FORMAT_RGBA8888_REV, /* AAAA AAAA BBBB BBBB GGGG GGGG RRRR RRRR */
MESA_FORMAT_ARGB8888, /* AAAA AAAA RRRR RRRR GGGG GGGG BBBB BBBB */
MESA_FORMAT_ARGB8888_REV, /* BBBB BBBB GGGG GGGG RRRR RRRR AAAA AAAA */
+ MESA_FORMAT_RGBX8888, /* RRRR RRRR GGGG GGGG BBBB BBBB XXXX XXXX */
+ MESA_FORMAT_RGBX8888_REV, /* xxxx xxxx BBBB BBBB GGGG GGGG RRRR RRRR */
MESA_FORMAT_XRGB8888, /* xxxx xxxx RRRR RRRR GGGG GGGG BBBB BBBB */
MESA_FORMAT_XRGB8888_REV, /* BBBB BBBB GGGG GGGG RRRR RRRR xxxx xxxx */
MESA_FORMAT_RGB888, /* RRRR RRRR GGGG GGGG BBBB BBBB */
diff --git a/mesalib/src/mesa/main/image.c b/mesalib/src/mesa/main/image.c
index 914a99923..ca31e53a8 100644
--- a/mesalib/src/mesa/main/image.c
+++ b/mesalib/src/mesa/main/image.c
@@ -545,11 +545,12 @@ _mesa_is_legal_format_and_type(const struct gl_context *ctx,
case GL_UNSIGNED_SHORT:
case GL_INT:
case GL_UNSIGNED_INT:
+ return ctx->Extensions.EXT_texture_integer;
case GL_UNSIGNED_BYTE_3_3_2:
case GL_UNSIGNED_BYTE_2_3_3_REV:
case GL_UNSIGNED_SHORT_5_6_5:
case GL_UNSIGNED_SHORT_5_6_5_REV:
- return ctx->Extensions.EXT_texture_integer;
+ return ctx->Extensions.ARB_texture_rgb10_a2ui;
default:
return GL_FALSE;
}
@@ -577,6 +578,7 @@ _mesa_is_legal_format_and_type(const struct gl_context *ctx,
case GL_UNSIGNED_SHORT:
case GL_INT:
case GL_UNSIGNED_INT:
+ return ctx->Extensions.EXT_texture_integer;
case GL_UNSIGNED_SHORT_4_4_4_4:
case GL_UNSIGNED_SHORT_4_4_4_4_REV:
case GL_UNSIGNED_SHORT_5_5_5_1:
@@ -585,7 +587,7 @@ _mesa_is_legal_format_and_type(const struct gl_context *ctx,
case GL_UNSIGNED_INT_8_8_8_8_REV:
case GL_UNSIGNED_INT_10_10_10_2:
case GL_UNSIGNED_INT_2_10_10_10_REV:
- return ctx->Extensions.EXT_texture_integer;
+ return ctx->Extensions.ARB_texture_rgb10_a2ui;
default:
return GL_FALSE;
}
diff --git a/mesalib/src/mesa/main/texstore.c b/mesalib/src/mesa/main/texstore.c
index aae6b4b3b..6deeb642e 100644
--- a/mesalib/src/mesa/main/texstore.c
+++ b/mesalib/src/mesa/main/texstore.c
@@ -1265,12 +1265,15 @@ _mesa_texstore_rgba8888(TEXSTORE_PARAMS)
const GLenum baseFormat = _mesa_get_format_base_format(dstFormat);
ASSERT(dstFormat == MESA_FORMAT_RGBA8888 ||
- dstFormat == MESA_FORMAT_RGBA8888_REV);
+ dstFormat == MESA_FORMAT_RGBA8888_REV ||
+ dstFormat == MESA_FORMAT_RGBX8888 ||
+ dstFormat == MESA_FORMAT_RGBX8888_REV);
ASSERT(texelBytes == 4);
if (!ctx->_ImageTransferState &&
!srcPacking->SwapBytes &&
- dstFormat == MESA_FORMAT_RGBA8888 &&
+ (dstFormat == MESA_FORMAT_RGBA8888 ||
+ dstFormat == MESA_FORMAT_RGBX8888) &&
baseInternalFormat == GL_RGBA &&
((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8) ||
(srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) ||
@@ -1285,7 +1288,8 @@ _mesa_texstore_rgba8888(TEXSTORE_PARAMS)
}
else if (!ctx->_ImageTransferState &&
!srcPacking->SwapBytes &&
- dstFormat == MESA_FORMAT_RGBA8888_REV &&
+ (dstFormat == MESA_FORMAT_RGBA8888_REV ||
+ dstFormat == MESA_FORMAT_RGBX8888_REV) &&
baseInternalFormat == GL_RGBA &&
((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) ||
(srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) ||
@@ -1309,8 +1313,10 @@ _mesa_texstore_rgba8888(TEXSTORE_PARAMS)
/* dstmap - how to swizzle from RGBA to dst format:
*/
- if ((littleEndian && dstFormat == MESA_FORMAT_RGBA8888) ||
- (!littleEndian && dstFormat == MESA_FORMAT_RGBA8888_REV)) {
+ if ((littleEndian && (dstFormat == MESA_FORMAT_RGBA8888 ||
+ dstFormat == MESA_FORMAT_RGBX8888)) ||
+ (!littleEndian && (dstFormat == MESA_FORMAT_RGBA8888_REV ||
+ dstFormat == MESA_FORMAT_RGBX8888_REV))) {
dstmap[3] = 0;
dstmap[2] = 1;
dstmap[1] = 2;
@@ -1351,7 +1357,8 @@ _mesa_texstore_rgba8888(TEXSTORE_PARAMS)
+ dstXoffset * texelBytes;
for (row = 0; row < srcHeight; row++) {
GLuint *dstUI = (GLuint *) dstRow;
- if (dstFormat == MESA_FORMAT_RGBA8888) {
+ if (dstFormat == MESA_FORMAT_RGBA8888 ||
+ dstFormat == MESA_FORMAT_RGBX8888) {
for (col = 0; col < srcWidth; col++) {
dstUI[col] = PACK_COLOR_8888( src[RCOMP],
src[GCOMP],
@@ -4281,6 +4288,8 @@ _mesa_get_texstore_func(gl_format format)
table[MESA_FORMAT_RGBA8888_REV] = _mesa_texstore_rgba8888;
table[MESA_FORMAT_ARGB8888] = _mesa_texstore_argb8888;
table[MESA_FORMAT_ARGB8888_REV] = _mesa_texstore_argb8888;
+ table[MESA_FORMAT_RGBX8888] = _mesa_texstore_rgba8888;
+ table[MESA_FORMAT_RGBX8888_REV] = _mesa_texstore_rgba8888;
table[MESA_FORMAT_XRGB8888] = _mesa_texstore_argb8888;
table[MESA_FORMAT_XRGB8888_REV] = _mesa_texstore_argb8888;
table[MESA_FORMAT_RGB888] = _mesa_texstore_rgb888;
diff --git a/mesalib/src/mesa/state_tracker/st_format.c b/mesalib/src/mesa/state_tracker/st_format.c
index 196433d5e..b11245beb 100644
--- a/mesalib/src/mesa/state_tracker/st_format.c
+++ b/mesalib/src/mesa/state_tracker/st_format.c
@@ -162,6 +162,10 @@ st_mesa_format_to_pipe_format(gl_format mesaFormat)
return PIPE_FORMAT_B8G8R8A8_UNORM;
case MESA_FORMAT_ARGB8888_REV:
return PIPE_FORMAT_A8R8G8B8_UNORM;
+ case MESA_FORMAT_RGBX8888:
+ return PIPE_FORMAT_X8B8G8R8_UNORM;
+ case MESA_FORMAT_RGBX8888_REV:
+ return PIPE_FORMAT_R8G8B8X8_UNORM;
case MESA_FORMAT_XRGB8888:
return PIPE_FORMAT_B8G8R8X8_UNORM;
case MESA_FORMAT_XRGB8888_REV:
@@ -476,6 +480,10 @@ st_pipe_format_to_mesa_format(enum pipe_format format)
return MESA_FORMAT_ARGB8888;
case PIPE_FORMAT_A8R8G8B8_UNORM:
return MESA_FORMAT_ARGB8888_REV;
+ case PIPE_FORMAT_X8B8G8R8_UNORM:
+ return MESA_FORMAT_RGBX8888;
+ case PIPE_FORMAT_R8G8B8X8_UNORM:
+ return MESA_FORMAT_RGBX8888_REV;
case PIPE_FORMAT_B8G8R8X8_UNORM:
return MESA_FORMAT_XRGB8888;
case PIPE_FORMAT_X8R8G8B8_UNORM:
diff --git a/mesalib/src/mesa/swrast/s_texfetch.c b/mesalib/src/mesa/swrast/s_texfetch.c
index a854c3efd..bfa7da79d 100644
--- a/mesalib/src/mesa/swrast/s_texfetch.c
+++ b/mesalib/src/mesa/swrast/s_texfetch.c
@@ -165,6 +165,20 @@ texfetch_funcs[MESA_FORMAT_COUNT] =
store_texel_argb8888_rev
},
{
+ MESA_FORMAT_RGBX8888,
+ fetch_texel_1d_f_rgbx8888,
+ fetch_texel_2d_f_rgbx8888,
+ fetch_texel_3d_f_rgbx8888,
+ store_texel_rgbx8888
+ },
+ {
+ MESA_FORMAT_RGBX8888_REV,
+ fetch_texel_1d_f_rgbx8888_rev,
+ fetch_texel_2d_f_rgbx8888_rev,
+ fetch_texel_3d_f_rgbx8888_rev,
+ store_texel_rgbx8888_rev,
+ },
+ {
MESA_FORMAT_XRGB8888,
fetch_texel_1d_f_xrgb8888,
fetch_texel_2d_f_xrgb8888,
diff --git a/mesalib/src/mesa/swrast/s_texfetch_tmp.h b/mesalib/src/mesa/swrast/s_texfetch_tmp.h
index 8b7e930f9..4ee05a5ea 100644
--- a/mesalib/src/mesa/swrast/s_texfetch_tmp.h
+++ b/mesalib/src/mesa/swrast/s_texfetch_tmp.h
@@ -646,6 +646,54 @@ static void store_texel_argb8888_rev(struct swrast_texture_image *texImage,
#endif
+/* MESA_FORMAT_RGBX8888 ******************************************************/
+
+/* Fetch texel from 1D, 2D or 3D rgbx8888 texture, return 4 GLfloats */
+static void FETCH(f_rgbx8888)( const struct swrast_texture_image *texImage,
+ GLint i, GLint j, GLint k, GLfloat *texel )
+{
+ const GLuint s = *TEXEL_ADDR(GLuint, texImage, i, j, k, 1);
+ texel[RCOMP] = UBYTE_TO_FLOAT( (s >> 24) );
+ texel[GCOMP] = UBYTE_TO_FLOAT( (s >> 16) & 0xff );
+ texel[BCOMP] = UBYTE_TO_FLOAT( (s >> 8) & 0xff );
+ texel[ACOMP] = 1.0f;
+}
+
+#if DIM == 3
+static void store_texel_rgbx8888(struct swrast_texture_image *texImage,
+ GLint i, GLint j, GLint k, const void *texel)
+{
+ const GLubyte *rgba = (const GLubyte *) texel;
+ GLuint *dst = TEXEL_ADDR(GLuint, texImage, i, j, k, 1);
+ *dst = PACK_COLOR_8888(rgba[RCOMP], rgba[GCOMP], rgba[BCOMP], 0xff);
+}
+#endif
+
+
+/* MESA_FORMAT_RGBX888_REV ***************************************************/
+
+/* Fetch texel from 1D, 2D or 3D rgbx8888_rev texture, return 4 GLchans */
+static void FETCH(f_rgbx8888_rev)( const struct swrast_texture_image *texImage,
+ GLint i, GLint j, GLint k, GLfloat *texel )
+{
+ const GLuint s = *TEXEL_ADDR(GLuint, texImage, i, j, k, 1);
+ texel[RCOMP] = UBYTE_TO_FLOAT( (s ) & 0xff );
+ texel[GCOMP] = UBYTE_TO_FLOAT( (s >> 8) & 0xff );
+ texel[BCOMP] = UBYTE_TO_FLOAT( (s >> 16) & 0xff );
+ texel[ACOMP] = 1.0f;
+}
+
+#if DIM == 3
+static void store_texel_rgbx8888_rev(struct swrast_texture_image *texImage,
+ GLint i, GLint j, GLint k, const void *texel)
+{
+ const GLubyte *rgba = (const GLubyte *) texel;
+ GLuint *dst = TEXEL_ADDR(GLuint, texImage, i, j, k, 1);
+ *dst = PACK_COLOR_8888_REV(rgba[RCOMP], rgba[GCOMP], rgba[BCOMP], 0xff);
+}
+#endif
+
+
/* MESA_FORMAT_XRGB8888 ******************************************************/
/* Fetch texel from 1D, 2D or 3D xrgb8888 texture, return 4 GLchans */