summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/relnotes-7.6.html3
-rw-r--r--progs/tests/Makefile1
-rw-r--r--progs/tests/prim.c559
-rw-r--r--progs/tests/tkmap.c71
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe.c22
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe_vbuf.c15
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_decompose.h65
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_vcache.c34
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h73
-rw-r--r--src/gallium/drivers/softpipe/sp_prim_vbuf.c229
-rw-r--r--src/gallium/drivers/softpipe/sp_setup.c5
-rw-r--r--src/mesa/drivers/dri/common/extension_helper.h14
-rw-r--r--src/mesa/glapi/EXT_provoking_vertex.xml22
-rw-r--r--src/mesa/glapi/Makefile3
-rw-r--r--src/mesa/glapi/dispatch.h19
-rw-r--r--src/mesa/glapi/gl_API.xml2
-rw-r--r--src/mesa/glapi/glapioffsets.h14
-rw-r--r--src/mesa/glapi/glapitable.h11
-rw-r--r--src/mesa/glapi/glapitemp.h28
-rw-r--r--src/mesa/glapi/glprocs.h616
-rw-r--r--src/mesa/main/api_exec.c2
-rw-r--r--src/mesa/main/context.c3
-rw-r--r--src/mesa/main/dlist.c33
-rw-r--r--src/mesa/main/enums.c4720
-rw-r--r--src/mesa/main/extensions.c2
-rw-r--r--src/mesa/main/get.c24
-rw-r--r--src/mesa/main/get_gen.py7
-rw-r--r--src/mesa/main/light.c37
-rw-r--r--src/mesa/main/light.h14
-rw-r--r--src/mesa/main/mtypes.h5
-rw-r--r--src/mesa/sparc/glapi_sparc.S13
-rw-r--r--src/mesa/state_tracker/st_atom_rasterizer.c3
-rw-r--r--src/mesa/state_tracker/st_extensions.c1
-rw-r--r--src/mesa/tnl/t_vb_rendertmp.h101
-rw-r--r--src/mesa/x86-64/glapi_x86-64.S71
-rw-r--r--src/mesa/x86/glapi_x86.S15
36 files changed, 3975 insertions, 2882 deletions
diff --git a/docs/relnotes-7.6.html b/docs/relnotes-7.6.html
index 82a924c586..3c4ff4fbea 100644
--- a/docs/relnotes-7.6.html
+++ b/docs/relnotes-7.6.html
@@ -38,11 +38,12 @@ tbd
This was written by Zack Rusin at Tungsten Graphics.
<li>GL_APPLE_vertex_array_object for Gallium drivers and Intel DRI drivers.
<li>GL_ARB_copy_buffer extension (supported in Gallium and swrast drivers)
+<LI>GL_ARB_map_buffer_range extension (supported in Gallium and software drivers)
+<li>GL_EXT_provoking_vertex extension (supported in Gallium and software drivers)
<li>Rewritten radeon/r200/r300 driver using a buffer manager
<li>radeon/r200/r300 GL_EXT_framebuffer_object support when used with
kernel memory manager
<li>r300 driver support for GL_EXT_vertex_array_bgra, GL_EXT_texture_sRGB
-<LI>GL_ARB_map_buffer_range extension (supported in Gallium and software drivers)
</ul>
diff --git a/progs/tests/Makefile b/progs/tests/Makefile
index 23fe3c35c1..46f5b1c3a2 100644
--- a/progs/tests/Makefile
+++ b/progs/tests/Makefile
@@ -68,6 +68,7 @@ SOURCES = \
packedpixels.c \
pbo.c \
persp_hint.c \
+ prim.c \
prog_parameter.c \
quads.c \
random.c \
diff --git a/progs/tests/prim.c b/progs/tests/prim.c
new file mode 100644
index 0000000000..3e006e823d
--- /dev/null
+++ b/progs/tests/prim.c
@@ -0,0 +1,559 @@
+#define GL_GLEXT_PROTOTYPES
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+#include <GL/glut.h>
+
+
+#define PIXEL_CENTER(x) ((long)(x) + 0.5)
+
+#define GAP 10
+#define ROWS 3
+#define COLS 4
+
+#define OPENGL_WIDTH 48
+#define OPENGL_HEIGHT 13
+
+
+GLenum provoking = GL_LAST_VERTEX_CONVENTION_EXT;
+GLenum rgb, doubleBuffer, windType;
+GLint windW, windH;
+
+GLenum mode1, mode2;
+GLint boxW, boxH;
+GLubyte OpenGL_bits[] = {
+ 0x00, 0x03, 0x00, 0x00, 0x00, 0x00,
+ 0x7f, 0xfb, 0xff, 0xff, 0xff, 0x01,
+ 0x7f, 0xfb, 0xff, 0xff, 0xff, 0x01,
+ 0x00, 0x03, 0x00, 0x00, 0x00, 0x00,
+ 0x3e, 0x8f, 0xb7, 0xf9, 0xfc, 0x01,
+ 0x63, 0xdb, 0xb0, 0x8d, 0x0d, 0x00,
+ 0x63, 0xdb, 0xb7, 0x8d, 0x0d, 0x00,
+ 0x63, 0xdb, 0xb6, 0x8d, 0x0d, 0x00,
+ 0x63, 0x8f, 0xf3, 0xcc, 0x0d, 0x00,
+ 0x63, 0x00, 0x00, 0x0c, 0x4c, 0x0a,
+ 0x63, 0x00, 0x00, 0x0c, 0x4c, 0x0e,
+ 0x63, 0x00, 0x00, 0x8c, 0xed, 0x0e,
+ 0x3e, 0x00, 0x00, 0xf8, 0x0c, 0x00,
+};
+
+
+#include "tkmap.c"
+
+static void Init(void)
+{
+
+ mode1 = GL_TRUE;
+ mode2 = GL_TRUE;
+}
+
+static void Reshape(int width, int height)
+{
+
+ windW = (GLint)width;
+ windH = (GLint)height;
+}
+
+static void RotateColorMask(void)
+{
+ static GLint rotation = 0;
+
+ rotation = (rotation + 1) & 0x3;
+ switch (rotation) {
+ case 0:
+ glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
+ glIndexMask( 0xff );
+ break;
+ case 1:
+ glColorMask(GL_FALSE, GL_TRUE, GL_TRUE, GL_TRUE);
+ glIndexMask(0xFE);
+ break;
+ case 2:
+ glColorMask(GL_TRUE, GL_FALSE, GL_TRUE, GL_TRUE);
+ glIndexMask(0xFD);
+ break;
+ case 3:
+ glColorMask(GL_TRUE, GL_TRUE, GL_FALSE, GL_TRUE);
+ glIndexMask(0xFB);
+ break;
+ }
+}
+
+static void Key(unsigned char key, int x, int y)
+{
+
+ switch (key) {
+ case 27:
+ exit(1);
+ case '1':
+ mode1 = !mode1;
+ break;
+ case '2':
+ mode2 = !mode2;
+ break;
+ case '3':
+ RotateColorMask();
+ break;
+ case 'p':
+ if (provoking == GL_FIRST_VERTEX_CONVENTION_EXT) {
+ printf("provoke last\n");
+ provoking = GL_LAST_VERTEX_CONVENTION_EXT;
+ }
+ else {
+ printf("provoke first\n");
+ provoking = GL_FIRST_VERTEX_CONVENTION_EXT;
+ }
+ glProvokingVertexEXT(provoking);
+ break;
+ default:
+ return;
+ }
+
+ glutPostRedisplay();
+}
+
+static void Viewport(GLint row, GLint column)
+{
+ GLint x, y;
+
+ boxW = (windW - (COLS + 1) * GAP) / COLS;
+ boxH = (windH - (ROWS + 1) * GAP) / ROWS;
+
+ x = GAP + column * (boxW + GAP);
+ y = GAP + row * (boxH + GAP);
+
+ glViewport(x, y, boxW, boxH);
+
+ glMatrixMode(GL_PROJECTION);
+ glLoadIdentity();
+ glOrtho(-boxW/2, boxW/2, -boxH/2, boxH/2, 0.0, 1.0);
+ glMatrixMode(GL_MODELVIEW);
+
+ glEnable(GL_SCISSOR_TEST);
+ glScissor(x, y, boxW, boxH);
+}
+
+static void Point(void)
+{
+ GLint i;
+
+ glBegin(GL_POINTS);
+ SetColor(COLOR_WHITE);
+ glVertex2i(0, 0);
+ for (i = 1; i < 8; i++) {
+ GLint j = i * 2;
+ SetColor(COLOR_BLACK+i);
+ glVertex2i(-j, -j);
+ glVertex2i(-j, 0);
+ glVertex2i(-j, j);
+ glVertex2i(0, j);
+ glVertex2i(j, j);
+ glVertex2i(j, 0);
+ glVertex2i(j, -j);
+ glVertex2i(0, -j);
+ }
+ glEnd();
+}
+
+static void Lines(void)
+{
+ GLint i;
+
+ glPushMatrix();
+
+ glTranslatef(-12, 0, 0);
+ for (i = 1; i < 8; i++) {
+ glBegin(GL_LINES);
+ SetColor(COLOR_BLACK+i);
+ glVertex2i(-boxW/4, -boxH/4);
+ SetColor(COLOR_BLACK+i+1);
+ glVertex2i(boxW/4, boxH/4);
+ glEnd();
+ glTranslatef(4, 0, 0);
+ }
+
+ glPopMatrix();
+
+ glBegin(GL_LINES);
+ glVertex2i(0, 0);
+ glEnd();
+}
+
+static void LineStrip(void)
+{
+
+ glBegin(GL_LINE_STRIP);
+ SetColor(COLOR_RED);
+ glVertex2f(PIXEL_CENTER(-boxW/4), PIXEL_CENTER(-boxH/4));
+ SetColor(COLOR_GREEN);
+ glVertex2f(PIXEL_CENTER(-boxW/4), PIXEL_CENTER(boxH/4));
+ SetColor(COLOR_BLUE);
+ glVertex2f(PIXEL_CENTER(boxW/4), PIXEL_CENTER(boxH/4));
+ SetColor(COLOR_WHITE);
+ glVertex2f(PIXEL_CENTER(boxW/4), PIXEL_CENTER(-boxH/4));
+ glEnd();
+
+ glBegin(GL_LINE_STRIP);
+ glVertex2i(0, 0);
+ glEnd();
+}
+
+static void LineLoop(void)
+{
+
+ glBegin(GL_LINE_LOOP);
+ SetColor(COLOR_RED);
+ glVertex2f(PIXEL_CENTER(-boxW/4), PIXEL_CENTER(-boxH/4));
+ SetColor(COLOR_GREEN);
+ glVertex2f(PIXEL_CENTER(-boxW/4), PIXEL_CENTER(boxH/4));
+ SetColor(COLOR_BLUE);
+ glVertex2f(PIXEL_CENTER(boxW/4), PIXEL_CENTER(boxH/4));
+ SetColor(COLOR_WHITE);
+ glVertex2f(PIXEL_CENTER(boxW/4), PIXEL_CENTER(-boxH/4));
+ glEnd();
+
+ glEnable(GL_LOGIC_OP);
+ glLogicOp(GL_XOR);
+
+ glEnable(GL_BLEND);
+ glBlendFunc(GL_ONE, GL_ONE);
+
+ SetColor(COLOR_MAGENTA);
+ glBegin(GL_LINE_LOOP);
+ glVertex2f(PIXEL_CENTER(-boxW/8), PIXEL_CENTER(-boxH/8));
+ glVertex2f(PIXEL_CENTER(-boxW/8), PIXEL_CENTER(boxH/8));
+ glEnd();
+ glBegin(GL_LINE_LOOP);
+ glVertex2f(PIXEL_CENTER(-boxW/8), PIXEL_CENTER(boxH/8+5));
+ glVertex2f(PIXEL_CENTER(boxW/8), PIXEL_CENTER(boxH/8+5));
+ glEnd();
+ glDisable(GL_LOGIC_OP);
+ glDisable(GL_BLEND);
+
+ SetColor(COLOR_GREEN);
+ glBegin(GL_POINTS);
+ glVertex2i(0, 0);
+ glEnd();
+
+ glBegin(GL_LINE_LOOP);
+ glVertex2i(0, 0);
+ glEnd();
+}
+
+static void Bitmap(void)
+{
+
+ glBegin(GL_LINES);
+ SetColor(COLOR_GREEN);
+ glVertex2i(-boxW/2, 0);
+ glVertex2i(boxW/2, 0);
+ glVertex2i(0, -boxH/2);
+ glVertex2i(0, boxH/2);
+ SetColor(COLOR_RED);
+ glVertex2i(0, -3);
+ glVertex2i(0, -3+OPENGL_HEIGHT);
+ SetColor(COLOR_BLUE);
+ glVertex2i(0, -3);
+ glVertex2i(OPENGL_WIDTH, -3);
+ glEnd();
+
+ SetColor(COLOR_GREEN);
+
+ glPixelStorei(GL_UNPACK_LSB_FIRST, GL_TRUE);
+ glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
+
+ glRasterPos2i(0, 0);
+ glBitmap(OPENGL_WIDTH, OPENGL_HEIGHT, 0, 3, 0.0, 0.0, OpenGL_bits);
+}
+
+static void Triangles(void)
+{
+
+ glBegin(GL_TRIANGLES);
+ SetColor(COLOR_GREEN);
+ glVertex2i(-boxW/4, -boxH/4);
+ SetColor(COLOR_RED);
+ glVertex2i(-boxW/8, -boxH/16);
+ SetColor(COLOR_BLUE);
+ glVertex2i(boxW/8, -boxH/16);
+
+ SetColor(COLOR_GREEN);
+ glVertex2i(-boxW/4, boxH/4);
+ SetColor(COLOR_RED);
+ glVertex2i(-boxW/8, boxH/16);
+ SetColor(COLOR_BLUE);
+ glVertex2i(boxW/8, boxH/16);
+ glEnd();
+
+ glBegin(GL_TRIANGLES);
+ glVertex2i(0, 0);
+ glVertex2i(-100, 100);
+ glEnd();
+}
+
+static void TriangleStrip(void)
+{
+
+ glBegin(GL_TRIANGLE_STRIP);
+ SetColor(COLOR_GREEN);
+ glVertex2i(-boxW/4, -boxH/4);
+ SetColor(COLOR_RED);
+ glVertex2i(-boxW/4, boxH/4);
+ SetColor(COLOR_BLUE);
+ glVertex2i(0, -boxH/4);
+ SetColor(COLOR_WHITE);
+ glVertex2i(0, boxH/4);
+ SetColor(COLOR_CYAN);
+ glVertex2i(boxW/4, -boxH/4);
+ SetColor(COLOR_YELLOW);
+ glVertex2i(boxW/4, boxH/4);
+ glEnd();
+
+ glBegin(GL_TRIANGLE_STRIP);
+ glVertex2i(0, 0);
+ glVertex2i(-100, 100);
+ glEnd();
+}
+
+static void TriangleFan(void)
+{
+ GLint vx[8][2];
+ GLint x0, y0, x1, y1, x2, y2, x3, y3;
+ GLint i;
+
+ y0 = -boxH/4;
+ y1 = y0 + boxH/2/3;
+ y2 = y1 + boxH/2/3;
+ y3 = boxH/4;
+ x0 = -boxW/4;
+ x1 = x0 + boxW/2/3;
+ x2 = x1 + boxW/2/3;
+ x3 = boxW/4;
+
+ vx[0][0] = x0; vx[0][1] = y1;
+ vx[1][0] = x0; vx[1][1] = y2;
+ vx[2][0] = x1; vx[2][1] = y3;
+ vx[3][0] = x2; vx[3][1] = y3;
+ vx[4][0] = x3; vx[4][1] = y2;
+ vx[5][0] = x3; vx[5][1] = y1;
+ vx[6][0] = x2; vx[6][1] = y0;
+ vx[7][0] = x1; vx[7][1] = y0;
+
+ glBegin(GL_TRIANGLE_FAN);
+ SetColor(COLOR_WHITE);
+ glVertex2i(0, 0);
+ for (i = 0; i < 8; i++) {
+ SetColor(COLOR_WHITE-i);
+ glVertex2iv(vx[i]);
+ }
+ glEnd();
+
+ glBegin(GL_TRIANGLE_FAN);
+ glVertex2i(0, 0);
+ glVertex2i(-100, 100);
+ glEnd();
+}
+
+static void Rect(void)
+{
+
+ SetColor(COLOR_GREEN);
+ glRecti(-boxW/4, -boxH/4, boxW/4, boxH/4);
+}
+
+static void PolygonFunc(void)
+{
+ GLint vx[8][2];
+ GLint x0, y0, x1, y1, x2, y2, x3, y3;
+ GLint i;
+
+ y0 = -boxH/4;
+ y1 = y0 + boxH/2/3;
+ y2 = y1 + boxH/2/3;
+ y3 = boxH/4;
+ x0 = -boxW/4;
+ x1 = x0 + boxW/2/3;
+ x2 = x1 + boxW/2/3;
+ x3 = boxW/4;
+
+ vx[0][0] = x0; vx[0][1] = y1;
+ vx[1][0] = x0; vx[1][1] = y2;
+ vx[2][0] = x1; vx[2][1] = y3;
+ vx[3][0] = x2; vx[3][1] = y3;
+ vx[4][0] = x3; vx[4][1] = y2;
+ vx[5][0] = x3; vx[5][1] = y1;
+ vx[6][0] = x2; vx[6][1] = y0;
+ vx[7][0] = x1; vx[7][1] = y0;
+
+ glBegin(GL_POLYGON);
+ for (i = 0; i < 8; i++) {
+ SetColor(COLOR_WHITE-i);
+ glVertex2iv(vx[i]);
+ }
+ glEnd();
+
+ glBegin(GL_POLYGON);
+ glVertex2i(0, 0);
+ glVertex2i(100, 100);
+ glEnd();
+}
+
+static void Quads(void)
+{
+
+ glBegin(GL_QUADS);
+ SetColor(COLOR_GREEN);
+ glVertex2i(-boxW/4, -boxH/4);
+ SetColor(COLOR_RED);
+ glVertex2i(-boxW/8, -boxH/16);
+ SetColor(COLOR_BLUE);
+ glVertex2i(boxW/8, -boxH/16);
+ SetColor(COLOR_WHITE);
+ glVertex2i(boxW/4, -boxH/4);
+
+ SetColor(COLOR_GREEN);
+ glVertex2i(-boxW/4, boxH/4);
+ SetColor(COLOR_RED);
+ glVertex2i(-boxW/8, boxH/16);
+ SetColor(COLOR_BLUE);
+ glVertex2i(boxW/8, boxH/16);
+ SetColor(COLOR_WHITE);
+ glVertex2i(boxW/4, boxH/4);
+ glEnd();
+
+ glBegin(GL_QUADS);
+ glVertex2i(0, 0);
+ glVertex2i(100, 100);
+ glVertex2i(-100, 100);
+ glEnd();
+}
+
+static void QuadStrip(void)
+{
+
+ glBegin(GL_QUAD_STRIP);
+ SetColor(COLOR_GREEN);
+ glVertex2i(-boxW/4, -boxH/4);
+ SetColor(COLOR_RED);
+ glVertex2i(-boxW/4, boxH/4);
+ SetColor(COLOR_BLUE);
+ glVertex2i(0, -boxH/4);
+ SetColor(COLOR_WHITE);
+ glVertex2i(0, boxH/4);
+ SetColor(COLOR_CYAN);
+ glVertex2i(boxW/4, -boxH/4);
+ SetColor(COLOR_YELLOW);
+ glVertex2i(boxW/4, boxH/4);
+ glEnd();
+
+ glBegin(GL_QUAD_STRIP);
+ glVertex2i(0, 0);
+ glVertex2i(100, 100);
+ glVertex2i(-100, 100);
+ glEnd();
+}
+
+static void Draw(void)
+{
+
+ glViewport(0, 0, windW, windH);
+ glDisable(GL_SCISSOR_TEST);
+
+ glPushAttrib(GL_COLOR_BUFFER_BIT);
+
+ glColorMask(1, 1, 1, 1);
+ glIndexMask(~0);
+
+ glClearColor(0.0, 0.0, 0.0, 0.0);
+ glClear(GL_COLOR_BUFFER_BIT);
+
+ glPopAttrib();
+
+ if (mode1) {
+ glShadeModel(GL_SMOOTH);
+ } else {
+ glShadeModel(GL_FLAT);
+ }
+
+ if (mode2) {
+ glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
+ } else {
+ glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
+ }
+
+ Viewport(0, 0); Point();
+ Viewport(0, 1); Lines();
+ Viewport(0, 2); LineStrip();
+ Viewport(0, 3); LineLoop();
+
+ Viewport(1, 0); Bitmap();
+ Viewport(1, 1); TriangleFan();
+ Viewport(1, 2); Triangles();
+ Viewport(1, 3); TriangleStrip();
+
+ Viewport(2, 0); Rect();
+ Viewport(2, 1); PolygonFunc();
+ Viewport(2, 2); Quads();
+ Viewport(2, 3); QuadStrip();
+
+ glFlush();
+
+ if (doubleBuffer) {
+ glutSwapBuffers();
+ }
+}
+
+static GLenum Args(int argc, char **argv)
+{
+ GLint i;
+
+ rgb = GL_TRUE;
+ doubleBuffer = GL_FALSE;
+
+ for (i = 1; i < argc; i++) {
+ if (strcmp(argv[i], "-ci") == 0) {
+ rgb = GL_FALSE;
+ } else if (strcmp(argv[i], "-rgb") == 0) {
+ rgb = GL_TRUE;
+ } else if (strcmp(argv[i], "-sb") == 0) {
+ doubleBuffer = GL_FALSE;
+ } else if (strcmp(argv[i], "-db") == 0) {
+ doubleBuffer = GL_TRUE;
+ } else {
+ printf("%s (Bad option).\n", argv[i]);
+ return GL_FALSE;
+ }
+ }
+ return GL_TRUE;
+}
+
+int main(int argc, char **argv)
+{
+ glutInit(&argc, argv);
+
+ if (Args(argc, argv) == GL_FALSE) {
+ exit(1);
+ }
+
+ windW = 600;
+ windH = 300;
+ glutInitWindowPosition(0, 0); glutInitWindowSize( windW, windH);
+
+ windType = (rgb) ? GLUT_RGB : GLUT_INDEX;
+ windType |= (doubleBuffer) ? GLUT_DOUBLE : GLUT_SINGLE;
+ glutInitDisplayMode(windType);
+
+ if (glutCreateWindow("Primitive Test") == GL_FALSE) {
+ exit(1);
+ }
+
+ InitMap();
+
+ Init();
+
+ glutReshapeFunc(Reshape);
+ glutKeyboardFunc(Key);
+ glutDisplayFunc(Draw);
+ glutMainLoop();
+ return 0;
+}
diff --git a/progs/tests/tkmap.c b/progs/tests/tkmap.c
new file mode 100644
index 0000000000..3ded79caca
--- /dev/null
+++ b/progs/tests/tkmap.c
@@ -0,0 +1,71 @@
+
+enum {
+ COLOR_BLACK = 0,
+ COLOR_RED,
+ COLOR_GREEN,
+ COLOR_YELLOW,
+ COLOR_BLUE,
+ COLOR_MAGENTA,
+ COLOR_CYAN,
+ COLOR_WHITE
+};
+
+static float RGBMap[9][3] = {
+ {0, 0, 0},
+ {1, 0, 0},
+ {0, 1, 0},
+ {1, 1, 0},
+ {0, 0, 1},
+ {1, 0, 1},
+ {0, 1, 1},
+ {1, 1, 1},
+ {0.5, 0.5, 0.5}
+};
+
+static void SetColor(int c)
+{
+ if (glutGet(GLUT_WINDOW_RGBA))
+ glColor3fv(RGBMap[c]);
+ else
+ glIndexf(c);
+}
+
+static void InitMap(void)
+{
+ int i;
+
+ if (rgb)
+ return;
+
+ for (i = 0; i < 9; i++)
+ glutSetColor(i, RGBMap[i][0], RGBMap[i][1], RGBMap[i][2]);
+}
+
+static void SetFogRamp(int density, int startIndex)
+{
+ int fogValues, colorValues;
+ int i, j, k;
+ float intensity;
+
+ fogValues = 1 << density;
+ colorValues = 1 << startIndex;
+ for (i = 0; i < colorValues; i++) {
+ for (j = 0; j < fogValues; j++) {
+ k = i * fogValues + j;
+ intensity = (i * fogValues + j * colorValues) / 255.0;
+ glutSetColor(k, intensity, intensity, intensity);
+ }
+ }
+}
+
+static void SetGreyRamp(void)
+{
+ int i;
+ float intensity;
+
+ for (i = 0; i < 255; i++) {
+ intensity = i / 255.0;
+ glutSetColor(i, intensity, intensity, intensity);
+ }
+}
+
diff --git a/src/gallium/auxiliary/draw/draw_pipe.c b/src/gallium/auxiliary/draw/draw_pipe.c
index 3cde9d36d3..2e3f5b2fc0 100644
--- a/src/gallium/auxiliary/draw/draw_pipe.c
+++ b/src/gallium/auxiliary/draw/draw_pipe.c
@@ -216,22 +216,22 @@ void draw_pipeline_run( struct draw_context *draw,
( DRAW_PIPE_RESET_STIPPLE | \
DRAW_PIPE_EDGE_FLAG_0 | \
DRAW_PIPE_EDGE_FLAG_2 ), \
- verts + stride * ((i0) & ~DRAW_PIPE_FLAG_MASK), \
- verts + stride * (i1), \
+ verts + stride * ((i0) & ~DRAW_PIPE_FLAG_MASK), \
+ verts + stride * (i1), \
verts + stride * (i3)); \
- do_triangle( draw, \
- ( DRAW_PIPE_EDGE_FLAG_0 | \
- DRAW_PIPE_EDGE_FLAG_1 ), \
- verts + stride * ((i1) & ~DRAW_PIPE_FLAG_MASK), \
- verts + stride * (i2), \
- verts + stride * (i3))
+ do_triangle( draw, \
+ ( DRAW_PIPE_EDGE_FLAG_0 | \
+ DRAW_PIPE_EDGE_FLAG_1 ), \
+ verts + stride * ((i1) & ~DRAW_PIPE_FLAG_MASK), \
+ verts + stride * (i2), \
+ verts + stride * (i3))
#define TRIANGLE(flags,i0,i1,i2) \
do_triangle( draw, \
flags, /* flags */ \
- verts + stride * ((i0) & ~DRAW_PIPE_FLAG_MASK), \
- verts + stride * (i1), \
- verts + stride * (i2))
+ verts + stride * ((i0) & ~DRAW_PIPE_FLAG_MASK), \
+ verts + stride * (i1), \
+ verts + stride * (i2))
#define LINE(flags,i0,i1) \
do_line( draw, \
diff --git a/src/gallium/auxiliary/draw/draw_pipe_vbuf.c b/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
index a5d840b96e..1a5269c0de 100644
--- a/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
+++ b/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
@@ -159,8 +159,19 @@ vbuf_tri( struct draw_stage *stage,
check_space( vbuf, 3 );
- for (i = 0; i < 3; i++) {
- vbuf->indices[vbuf->nr_indices++] = emit_vertex( vbuf, prim->v[i] );
+ if (vbuf->stage.draw->rasterizer->flatshade_first) {
+ /* Put provoking vertex in position expected by the driver.
+ * Emit last provoking vertex in first pos.
+ * Swap verts 0 & 1 to preserve polygon winding.
+ */
+ vbuf->indices[vbuf->nr_indices++] = emit_vertex( vbuf, prim->v[2] );
+ vbuf->indices[vbuf->nr_indices++] = emit_vertex( vbuf, prim->v[0] );
+ vbuf->indices[vbuf->nr_indices++] = emit_vertex( vbuf, prim->v[1] );
+ }
+ else {
+ for (i = 0; i < 3; i++) {
+ vbuf->indices[vbuf->nr_indices++] = emit_vertex( vbuf, prim->v[i] );
+ }
}
}
diff --git a/src/gallium/auxiliary/draw/draw_pt_decompose.h b/src/gallium/auxiliary/draw/draw_pt_decompose.h
index 3fb0695687..4ca5b52020 100644
--- a/src/gallium/auxiliary/draw/draw_pt_decompose.h
+++ b/src/gallium/auxiliary/draw/draw_pt_decompose.h
@@ -47,10 +47,19 @@ static void FUNC( ARGS,
case PIPE_PRIM_TRIANGLES:
for (i = 0; i+2 < count; i += 3) {
- TRIANGLE( DRAW_PIPE_RESET_STIPPLE | DRAW_PIPE_EDGE_FLAG_ALL,
- (i + 0),
- (i + 1),
- (i + 2 ));
+ if (flatfirst) {
+ /* put provoking vertex in last pos for clipper */
+ TRIANGLE( DRAW_PIPE_RESET_STIPPLE | DRAW_PIPE_EDGE_FLAG_ALL,
+ (i + 1),
+ (i + 2),
+ (i + 0 ));
+ }
+ else {
+ TRIANGLE( DRAW_PIPE_RESET_STIPPLE | DRAW_PIPE_EDGE_FLAG_ALL,
+ (i + 0),
+ (i + 1),
+ (i + 2 ));
+ }
}
break;
@@ -58,9 +67,9 @@ static void FUNC( ARGS,
if (flatfirst) {
for (i = 0; i+2 < count; i++) {
TRIANGLE( DRAW_PIPE_RESET_STIPPLE | DRAW_PIPE_EDGE_FLAG_ALL,
- (i + 0),
(i + 1 + (i&1)),
- (i + 2 - (i&1)));
+ (i + 2 - (i&1)),
+ (i + 0) );
}
}
else {
@@ -78,9 +87,9 @@ static void FUNC( ARGS,
if (flatfirst) {
for (i = 0; i+2 < count; i++) {
TRIANGLE( DRAW_PIPE_RESET_STIPPLE | DRAW_PIPE_EDGE_FLAG_ALL,
- (i + 1),
(i + 2),
- (0 ));
+ 0,
+ (i + 1) );
}
}
else {
@@ -96,20 +105,40 @@ static void FUNC( ARGS,
case PIPE_PRIM_QUADS:
- for (i = 0; i+3 < count; i += 4) {
- QUAD( (i + 0),
- (i + 1),
- (i + 2),
- (i + 3));
+ if (flatfirst) {
+ for (i = 0; i+3 < count; i += 4) {
+ QUAD( (i + 1),
+ (i + 2),
+ (i + 3),
+ (i + 0) );
+ }
+ }
+ else {
+ for (i = 0; i+3 < count; i += 4) {
+ QUAD( (i + 0),
+ (i + 1),
+ (i + 2),
+ (i + 3));
+ }
}
break;
case PIPE_PRIM_QUAD_STRIP:
- for (i = 0; i+3 < count; i += 2) {
- QUAD( (i + 2),
- (i + 0),
- (i + 1),
- (i + 3));
+ if (flatfirst) {
+ for (i = 0; i+3 < count; i += 2) {
+ QUAD( (i + 1),
+ (i + 3),
+ (i + 2),
+ (i + 0) );
+ }
+ }
+ else {
+ for (i = 0; i+3 < count; i += 2) {
+ QUAD( (i + 2),
+ (i + 0),
+ (i + 1),
+ (i + 3));
+ }
}
break;
diff --git a/src/gallium/auxiliary/draw/draw_pt_vcache.c b/src/gallium/auxiliary/draw/draw_pt_vcache.c
index 5d268a2226..edb2aa73e1 100644
--- a/src/gallium/auxiliary/draw/draw_pt_vcache.c
+++ b/src/gallium/auxiliary/draw/draw_pt_vcache.c
@@ -193,16 +193,30 @@ vcache_ef_quad( struct vcache_frontend *vcache,
unsigned i2,
unsigned i3 )
{
- vcache_triangle_flags( vcache,
- ( DRAW_PIPE_RESET_STIPPLE |
- DRAW_PIPE_EDGE_FLAG_0 |
- DRAW_PIPE_EDGE_FLAG_2 ),
- i0, i1, i3 );
-
- vcache_triangle_flags( vcache,
- ( DRAW_PIPE_EDGE_FLAG_0 |
- DRAW_PIPE_EDGE_FLAG_1 ),
- i1, i2, i3 );
+ if (vcache->draw->rasterizer->flatshade_first) {
+ vcache_triangle_flags( vcache,
+ ( DRAW_PIPE_RESET_STIPPLE |
+ DRAW_PIPE_EDGE_FLAG_0 |
+ DRAW_PIPE_EDGE_FLAG_1 ),
+ i0, i1, i2 );
+
+ vcache_triangle_flags( vcache,
+ ( DRAW_PIPE_EDGE_FLAG_2 |
+ DRAW_PIPE_EDGE_FLAG_1 ),
+ i0, i2, i3 );
+ }
+ else {
+ vcache_triangle_flags( vcache,
+ ( DRAW_PIPE_RESET_STIPPLE |
+ DRAW_PIPE_EDGE_FLAG_0 |
+ DRAW_PIPE_EDGE_FLAG_2 ),
+ i0, i1, i3 );
+
+ vcache_triangle_flags( vcache,
+ ( DRAW_PIPE_EDGE_FLAG_0 |
+ DRAW_PIPE_EDGE_FLAG_1 ),
+ i1, i2, i3 );
+ }
}
/* At least for now, we're back to using a template include file for
diff --git a/src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h b/src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h
index ec05bbeab4..62822a3d56 100644
--- a/src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h
+++ b/src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h
@@ -118,21 +118,39 @@ static void FUNC( struct draw_pt_front_end *frontend,
case PIPE_PRIM_QUADS:
for (i = 0; i+3 < count; i += 4) {
- QUAD( vcache,
- get_elt(elts, i + 0),
- get_elt(elts, i + 1),
- get_elt(elts, i + 2),
- get_elt(elts, i + 3));
+ if (flatfirst) {
+ QUAD( vcache,
+ get_elt(elts, i + 0),
+ get_elt(elts, i + 1),
+ get_elt(elts, i + 2),
+ get_elt(elts, i + 3) );
+ }
+ else {
+ QUAD( vcache,
+ get_elt(elts, i + 0),
+ get_elt(elts, i + 1),
+ get_elt(elts, i + 2),
+ get_elt(elts, i + 3) );
+ }
}
break;
case PIPE_PRIM_QUAD_STRIP:
for (i = 0; i+3 < count; i += 2) {
- QUAD( vcache,
- get_elt(elts, i + 2),
- get_elt(elts, i + 0),
- get_elt(elts, i + 1),
- get_elt(elts, i + 3));
+ if (flatfirst) {
+ QUAD( vcache,
+ get_elt(elts, i + 0),
+ get_elt(elts, i + 1),
+ get_elt(elts, i + 3),
+ get_elt(elts, i + 2) );
+ }
+ else {
+ QUAD( vcache,
+ get_elt(elts, i + 2),
+ get_elt(elts, i + 0),
+ get_elt(elts, i + 1),
+ get_elt(elts, i + 3) );
+ }
}
break;
@@ -144,19 +162,38 @@ static void FUNC( struct draw_pt_front_end *frontend,
const ushort edge_first = DRAW_PIPE_EDGE_FLAG_2;
const ushort edge_middle = DRAW_PIPE_EDGE_FLAG_0;
const ushort edge_last = DRAW_PIPE_EDGE_FLAG_1;
+ ushort edge_next, edge_finish;
- flags = DRAW_PIPE_RESET_STIPPLE | edge_first | edge_middle;
+ if (flatfirst) {
+ flags = DRAW_PIPE_RESET_STIPPLE | edge_middle | edge_last;
+ edge_next = edge_last;
+ edge_finish = edge_first;
+ }
+ else {
+ flags = DRAW_PIPE_RESET_STIPPLE | edge_first | edge_middle;
+ edge_next = edge_middle;
+ edge_finish = edge_last;
+ }
- for (i = 0; i+2 < count; i++, flags = edge_middle) {
+ for (i = 0; i+2 < count; i++, flags = edge_next) {
if (i + 3 == count)
- flags |= edge_last;
+ flags |= edge_finish;
- TRIANGLE( vcache,
- flags,
- get_elt(elts, i + 1),
- get_elt(elts, i + 2),
- get_elt(elts, 0));
+ if (flatfirst) {
+ TRIANGLE( vcache,
+ flags,
+ get_elt(elts, 0),
+ get_elt(elts, i + 1),
+ get_elt(elts, i + 2) );
+ }
+ else {
+ TRIANGLE( vcache,
+ flags,
+ get_elt(elts, i + 1),
+ get_elt(elts, i + 2),
+ get_elt(elts, 0));
+ }
}
}
break;
diff --git a/src/gallium/drivers/softpipe/sp_prim_vbuf.c b/src/gallium/drivers/softpipe/sp_prim_vbuf.c
index 06725fd09b..42021789ea 100644
--- a/src/gallium/drivers/softpipe/sp_prim_vbuf.c
+++ b/src/gallium/drivers/softpipe/sp_prim_vbuf.c
@@ -238,65 +238,117 @@ sp_vbuf_draw(struct vbuf_render *vbr, const ushort *indices, uint nr)
case PIPE_PRIM_TRIANGLES:
for (i = 2; i < nr; i += 3) {
- setup_tri( setup_ctx,
- get_vert(vertex_buffer, indices[i-2], stride),
- get_vert(vertex_buffer, indices[i-1], stride),
- get_vert(vertex_buffer, indices[i-0], stride));
+ if (softpipe->rasterizer->flatshade_first) {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, indices[i-1], stride),
+ get_vert(vertex_buffer, indices[i-0], stride),
+ get_vert(vertex_buffer, indices[i-2], stride) );
+ }
+ else {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, indices[i-2], stride),
+ get_vert(vertex_buffer, indices[i-1], stride),
+ get_vert(vertex_buffer, indices[i-0], stride) );
+ }
}
break;
case PIPE_PRIM_TRIANGLE_STRIP:
for (i = 2; i < nr; i += 1) {
- setup_tri( setup_ctx,
- get_vert(vertex_buffer, indices[i+(i&1)-2], stride),
- get_vert(vertex_buffer, indices[i-(i&1)-1], stride),
- get_vert(vertex_buffer, indices[i-0], stride));
+ if (softpipe->rasterizer->flatshade_first) {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, indices[i+(i&1)-1], stride),
+ get_vert(vertex_buffer, indices[i-(i&1)], stride),
+ get_vert(vertex_buffer, indices[i-2], stride) );
+ }
+ else {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, indices[i+(i&1)-2], stride),
+ get_vert(vertex_buffer, indices[i-(i&1)-1], stride),
+ get_vert(vertex_buffer, indices[i-0], stride) );
+ }
}
break;
case PIPE_PRIM_TRIANGLE_FAN:
for (i = 2; i < nr; i += 1) {
- setup_tri( setup_ctx,
- get_vert(vertex_buffer, indices[0], stride),
- get_vert(vertex_buffer, indices[i-1], stride),
- get_vert(vertex_buffer, indices[i-0], stride));
+ if (softpipe->rasterizer->flatshade_first) {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, indices[i-0], stride),
+ get_vert(vertex_buffer, indices[0], stride),
+ get_vert(vertex_buffer, indices[i-1], stride) );
+ }
+ else {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, indices[0], stride),
+ get_vert(vertex_buffer, indices[i-1], stride),
+ get_vert(vertex_buffer, indices[i-0], stride) );
+ }
}
break;
case PIPE_PRIM_QUADS:
for (i = 3; i < nr; i += 4) {
- setup_tri( setup_ctx,
- get_vert(vertex_buffer, indices[i-3], stride),
- get_vert(vertex_buffer, indices[i-2], stride),
- get_vert(vertex_buffer, indices[i-0], stride));
-
- setup_tri( setup_ctx,
- get_vert(vertex_buffer, indices[i-2], stride),
- get_vert(vertex_buffer, indices[i-1], stride),
- get_vert(vertex_buffer, indices[i-0], stride));
+ if (softpipe->rasterizer->flatshade_first) {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, indices[i-2], stride),
+ get_vert(vertex_buffer, indices[i-1], stride),
+ get_vert(vertex_buffer, indices[i-3], stride) );
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, indices[i-1], stride),
+ get_vert(vertex_buffer, indices[i-0], stride),
+ get_vert(vertex_buffer, indices[i-3], stride) );
+ }
+ else {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, indices[i-3], stride),
+ get_vert(vertex_buffer, indices[i-2], stride),
+ get_vert(vertex_buffer, indices[i-0], stride) );
+
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, indices[i-2], stride),
+ get_vert(vertex_buffer, indices[i-1], stride),
+ get_vert(vertex_buffer, indices[i-0], stride) );
+ }
}
break;
case PIPE_PRIM_QUAD_STRIP:
for (i = 3; i < nr; i += 2) {
- setup_tri( setup_ctx,
- get_vert(vertex_buffer, indices[i-3], stride),
- get_vert(vertex_buffer, indices[i-2], stride),
- get_vert(vertex_buffer, indices[i-0], stride));
-
- setup_tri( setup_ctx,
- get_vert(vertex_buffer, indices[i-1], stride),
- get_vert(vertex_buffer, indices[i-3], stride),
- get_vert(vertex_buffer, indices[i-0], stride));
+ if (softpipe->rasterizer->flatshade_first) {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, indices[i-0], stride),
+ get_vert(vertex_buffer, indices[i-1], stride),
+ get_vert(vertex_buffer, indices[i-3], stride));
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, indices[i-2], stride),
+ get_vert(vertex_buffer, indices[i-0], stride),
+ get_vert(vertex_buffer, indices[i-3], stride) );
+ }
+ else {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, indices[i-3], stride),
+ get_vert(vertex_buffer, indices[i-2], stride),
+ get_vert(vertex_buffer, indices[i-0], stride) );
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, indices[i-1], stride),
+ get_vert(vertex_buffer, indices[i-3], stride),
+ get_vert(vertex_buffer, indices[i-0], stride) );
+ }
}
break;
case PIPE_PRIM_POLYGON:
+ /* Almost same as tri fan but the _first_ vertex specifies the flat
+ * shading color. Note that the first polygon vertex is passed as
+ * the last triangle vertex here.
+ * flatshade_first state makes no difference.
+ */
for (i = 2; i < nr; i += 1) {
setup_tri( setup_ctx,
- get_vert(vertex_buffer, indices[0-1], stride),
get_vert(vertex_buffer, indices[i-0], stride),
- get_vert(vertex_buffer, indices[0], stride));
+ get_vert(vertex_buffer, indices[i-1], stride),
+ get_vert(vertex_buffer, indices[0], stride) );
}
break;
@@ -368,58 +420,104 @@ sp_vbuf_draw_arrays(struct vbuf_render *vbr, uint start, uint nr)
}
break;
-
case PIPE_PRIM_TRIANGLES:
for (i = 2; i < nr; i += 3) {
- setup_tri( setup_ctx,
- get_vert(vertex_buffer, i-2, stride),
- get_vert(vertex_buffer, i-1, stride),
- get_vert(vertex_buffer, i-0, stride));
+ if (softpipe->rasterizer->flatshade_first) {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, i-1, stride),
+ get_vert(vertex_buffer, i-0, stride),
+ get_vert(vertex_buffer, i-2, stride) );
+ }
+ else {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, i-2, stride),
+ get_vert(vertex_buffer, i-1, stride),
+ get_vert(vertex_buffer, i-0, stride) );
+ }
}
break;
case PIPE_PRIM_TRIANGLE_STRIP:
- for (i = 2; i < nr; i += 1) {
- setup_tri( setup_ctx,
- get_vert(vertex_buffer, i+(i&1)-2, stride),
- get_vert(vertex_buffer, i-(i&1)-1, stride),
- get_vert(vertex_buffer, i-0, stride));
+ for (i = 2; i < nr; i++) {
+ if (softpipe->rasterizer->flatshade_first) {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, i+(i&1)-1, stride),
+ get_vert(vertex_buffer, i-(i&1), stride),
+ get_vert(vertex_buffer, i-2, stride) );
+ }
+ else {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, i+(i&1)-2, stride),
+ get_vert(vertex_buffer, i-(i&1)-1, stride),
+ get_vert(vertex_buffer, i-0, stride) );
+ }
}
break;
case PIPE_PRIM_TRIANGLE_FAN:
for (i = 2; i < nr; i += 1) {
- setup_tri( setup_ctx,
- get_vert(vertex_buffer, 0, stride),
- get_vert(vertex_buffer, i-1, stride),
- get_vert(vertex_buffer, i-0, stride));
+ if (softpipe->rasterizer->flatshade_first) {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, i-0, stride),
+ get_vert(vertex_buffer, 0, stride),
+ get_vert(vertex_buffer, i-1, stride) );
+ }
+ else {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, 0, stride),
+ get_vert(vertex_buffer, i-1, stride),
+ get_vert(vertex_buffer, i-0, stride) );
+ }
}
break;
case PIPE_PRIM_QUADS:
for (i = 3; i < nr; i += 4) {
- setup_tri( setup_ctx,
- get_vert(vertex_buffer, i-3, stride),
- get_vert(vertex_buffer, i-2, stride),
- get_vert(vertex_buffer, i-0, stride));
-
- setup_tri( setup_ctx,
- get_vert(vertex_buffer, i-2, stride),
- get_vert(vertex_buffer, i-1, stride),
- get_vert(vertex_buffer, i-0, stride));
+ if (softpipe->rasterizer->flatshade_first) {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, i-2, stride),
+ get_vert(vertex_buffer, i-1, stride),
+ get_vert(vertex_buffer, i-3, stride) );
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, i-1, stride),
+ get_vert(vertex_buffer, i-0, stride),
+ get_vert(vertex_buffer, i-3, stride) );
+ }
+ else {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, i-3, stride),
+ get_vert(vertex_buffer, i-2, stride),
+ get_vert(vertex_buffer, i-0, stride) );
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, i-2, stride),
+ get_vert(vertex_buffer, i-1, stride),
+ get_vert(vertex_buffer, i-0, stride) );
+ }
}
break;
+
case PIPE_PRIM_QUAD_STRIP:
for (i = 3; i < nr; i += 2) {
- setup_tri( setup_ctx,
- get_vert(vertex_buffer, i-3, stride),
- get_vert(vertex_buffer, i-2, stride),
- get_vert(vertex_buffer, i-0, stride));
-
- setup_tri( setup_ctx,
- get_vert(vertex_buffer, i-1, stride),
- get_vert(vertex_buffer, i-3, stride),
- get_vert(vertex_buffer, i-0, stride));
+ if (softpipe->rasterizer->flatshade_first) {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, i-0, stride),
+ get_vert(vertex_buffer, i-1, stride),
+ get_vert(vertex_buffer, i-3, stride) );
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, i-2, stride),
+ get_vert(vertex_buffer, i-0, stride),
+ get_vert(vertex_buffer, i-3, stride) );
+ }
+ else {
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, i-3, stride),
+ get_vert(vertex_buffer, i-2, stride),
+ get_vert(vertex_buffer, i-0, stride) );
+ setup_tri( setup_ctx,
+ get_vert(vertex_buffer, i-1, stride),
+ get_vert(vertex_buffer, i-3, stride),
+ get_vert(vertex_buffer, i-0, stride) );
+ }
}
break;
@@ -427,12 +525,13 @@ sp_vbuf_draw_arrays(struct vbuf_render *vbr, uint start, uint nr)
/* Almost same as tri fan but the _first_ vertex specifies the flat
* shading color. Note that the first polygon vertex is passed as
* the last triangle vertex here.
+ * flatshade_first state makes no difference.
*/
for (i = 2; i < nr; i += 1) {
setup_tri( setup_ctx,
get_vert(vertex_buffer, i-1, stride),
get_vert(vertex_buffer, i-0, stride),
- get_vert(vertex_buffer, 0, stride));
+ get_vert(vertex_buffer, 0, stride) );
}
break;
diff --git a/src/gallium/drivers/softpipe/sp_setup.c b/src/gallium/drivers/softpipe/sp_setup.c
index cb5d0fb6c2..5a0715ea5c 100644
--- a/src/gallium/drivers/softpipe/sp_setup.c
+++ b/src/gallium/drivers/softpipe/sp_setup.c
@@ -1054,7 +1054,10 @@ setup_line_coefficients(struct setup_context *setup,
float area;
/* use setup->vmin, vmax to point to vertices */
- setup->vprovoke = v1;
+ if (softpipe->rasterizer->flatshade_first)
+ setup->vprovoke = v0;
+ else
+ setup->vprovoke = v1;
setup->vmin = v0;
setup->vmax = v1;
diff --git a/src/mesa/drivers/dri/common/extension_helper.h b/src/mesa/drivers/dri/common/extension_helper.h
index 261b5f6067..8df0e6c44b 100644
--- a/src/mesa/drivers/dri/common/extension_helper.h
+++ b/src/mesa/drivers/dri/common/extension_helper.h
@@ -4310,6 +4310,13 @@ static const char SpriteParameterivSGIX_names[] =
"";
#endif
+#if defined(need_GL_EXT_provoking_vertex)
+static const char ProvokingVertexEXT_names[] =
+ "i\0" /* Parameter signature */
+ "glProvokingVertexEXT\0"
+ "";
+#endif
+
#if defined(need_GL_VERSION_1_3)
static const char MultiTexCoord1fARB_names[] =
"if\0" /* Parameter signature */
@@ -5563,6 +5570,13 @@ static const struct dri_extension_function GL_EXT_polygon_offset_functions[] = {
};
#endif
+#if defined(need_GL_EXT_provoking_vertex)
+static const struct dri_extension_function GL_EXT_provoking_vertex_functions[] = {
+ { ProvokingVertexEXT_names, ProvokingVertexEXT_remap_index, -1 },
+ { NULL, 0, 0 }
+};
+#endif
+
#if defined(need_GL_EXT_secondary_color)
static const struct dri_extension_function GL_EXT_secondary_color_functions[] = {
{ SecondaryColor3iEXT_names, SecondaryColor3iEXT_remap_index, -1 },
diff --git a/src/mesa/glapi/EXT_provoking_vertex.xml b/src/mesa/glapi/EXT_provoking_vertex.xml
new file mode 100644
index 0000000000..f528a2c7d3
--- /dev/null
+++ b/src/mesa/glapi/EXT_provoking_vertex.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<!-- Note: no GLX protocol info yet. -->
+
+
+<OpenGLAPI>
+
+<category name="GL_EXT_provoking_vertex" number="364">
+
+ <enum name="FIRST_VERTEX_CONVENTION_EXT" value="0x8E4D"/>
+ <enum name="LAST_VERTEX_CONVENTION_EXT" value="0x8E4E"/>
+ <enum name="PROVOKING_VERTEX_EXT" value="0x8E4F"/>
+ <enum name="QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT" value="0x8E4C"/>
+
+ <function name="ProvokingVertexEXT" offset="assign">
+ <param name="mode" type="GLenum"/>
+ </function>
+
+</category>
+
+</OpenGLAPI>
diff --git a/src/mesa/glapi/Makefile b/src/mesa/glapi/Makefile
index b536350068..74cea53306 100644
--- a/src/mesa/glapi/Makefile
+++ b/src/mesa/glapi/Makefile
@@ -50,7 +50,8 @@ API_XML = gl_API.xml \
ARB_copy_buffer.xml \
ARB_framebuffer_object.xml \
ARB_map_buffer_range.xml \
- APPLE_vertex_array_object.xml
+ APPLE_vertex_array_object.xml \
+ EXT_provoking_vertex.xml
COMMON = gl_XML.py glX_XML.py license.py $(API_XML) typeexpr.py
COMMON_GLX = $(COMMON) glX_API.xml glX_XML.py glX_proto_common.py
diff --git a/src/mesa/glapi/dispatch.h b/src/mesa/glapi/dispatch.h
index 0ceec40284..874b23bc7a 100644
--- a/src/mesa/glapi/dispatch.h
+++ b/src/mesa/glapi/dispatch.h
@@ -2379,6 +2379,9 @@
#define CALL_FramebufferTextureLayerEXT(disp, parameters) (*((disp)->FramebufferTextureLayerEXT)) parameters
#define GET_FramebufferTextureLayerEXT(disp) ((disp)->FramebufferTextureLayerEXT)
#define SET_FramebufferTextureLayerEXT(disp, fn) ((disp)->FramebufferTextureLayerEXT = fn)
+#define CALL_ProvokingVertexEXT(disp, parameters) (*((disp)->ProvokingVertexEXT)) parameters
+#define GET_ProvokingVertexEXT(disp) ((disp)->ProvokingVertexEXT)
+#define SET_ProvokingVertexEXT(disp, fn) ((disp)->ProvokingVertexEXT = fn)
#define CALL_StencilFuncSeparateATI(disp, parameters) (*((disp)->StencilFuncSeparateATI)) parameters
#define GET_StencilFuncSeparateATI(disp) ((disp)->StencilFuncSeparateATI)
#define SET_StencilFuncSeparateATI(disp, fn) ((disp)->StencilFuncSeparateATI = fn)
@@ -2397,7 +2400,7 @@
#else
-#define driDispatchRemapTable_size 370
+#define driDispatchRemapTable_size 371
extern int driDispatchRemapTable[ driDispatchRemapTable_size ];
#define AttachShader_remap_index 0
@@ -2765,11 +2768,12 @@ extern int driDispatchRemapTable[ driDispatchRemapTable_size ];
#define RenderbufferStorageEXT_remap_index 362
#define BlitFramebufferEXT_remap_index 363
#define FramebufferTextureLayerEXT_remap_index 364
-#define StencilFuncSeparateATI_remap_index 365
-#define ProgramEnvParameters4fvEXT_remap_index 366
-#define ProgramLocalParameters4fvEXT_remap_index 367
-#define GetQueryObjecti64vEXT_remap_index 368
-#define GetQueryObjectui64vEXT_remap_index 369
+#define ProvokingVertexEXT_remap_index 365
+#define StencilFuncSeparateATI_remap_index 366
+#define ProgramEnvParameters4fvEXT_remap_index 367
+#define ProgramLocalParameters4fvEXT_remap_index 368
+#define GetQueryObjecti64vEXT_remap_index 369
+#define GetQueryObjectui64vEXT_remap_index 370
#define CALL_AttachShader(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLuint, GLuint)), driDispatchRemapTable[AttachShader_remap_index], parameters)
#define GET_AttachShader(disp) GET_by_offset(disp, driDispatchRemapTable[AttachShader_remap_index])
@@ -3866,6 +3870,9 @@ extern int driDispatchRemapTable[ driDispatchRemapTable_size ];
#define CALL_FramebufferTextureLayerEXT(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLenum, GLenum, GLuint, GLint, GLint)), driDispatchRemapTable[FramebufferTextureLayerEXT_remap_index], parameters)
#define GET_FramebufferTextureLayerEXT(disp) GET_by_offset(disp, driDispatchRemapTable[FramebufferTextureLayerEXT_remap_index])
#define SET_FramebufferTextureLayerEXT(disp, fn) SET_by_offset(disp, driDispatchRemapTable[FramebufferTextureLayerEXT_remap_index], fn)
+#define CALL_ProvokingVertexEXT(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLenum)), driDispatchRemapTable[ProvokingVertexEXT_remap_index], parameters)
+#define GET_ProvokingVertexEXT(disp) GET_by_offset(disp, driDispatchRemapTable[ProvokingVertexEXT_remap_index])
+#define SET_ProvokingVertexEXT(disp, fn) SET_by_offset(disp, driDispatchRemapTable[ProvokingVertexEXT_remap_index], fn)
#define CALL_StencilFuncSeparateATI(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLenum, GLenum, GLint, GLuint)), driDispatchRemapTable[StencilFuncSeparateATI_remap_index], parameters)
#define GET_StencilFuncSeparateATI(disp) GET_by_offset(disp, driDispatchRemapTable[StencilFuncSeparateATI_remap_index])
#define SET_StencilFuncSeparateATI(disp, fn) SET_by_offset(disp, driDispatchRemapTable[StencilFuncSeparateATI_remap_index], fn)
diff --git a/src/mesa/glapi/gl_API.xml b/src/mesa/glapi/gl_API.xml
index 1de1c91edb..49dd102382 100644
--- a/src/mesa/glapi/gl_API.xml
+++ b/src/mesa/glapi/gl_API.xml
@@ -12228,6 +12228,8 @@
<xi:include href="EXT_framebuffer_object.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+<xi:include href="EXT_provoking_vertex.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
<category name="GL_EXT_framebuffer_blit" number="316">
<enum name="READ_FRAMEBUFFER_EXT" value="0x8CA8"/>
<enum name="DRAW_FRAMEBUFFER_EXT" value="0x8CA9"/>
diff --git a/src/mesa/glapi/glapioffsets.h b/src/mesa/glapi/glapioffsets.h
index 580b6b66bc..bd0a53a58f 100644
--- a/src/mesa/glapi/glapioffsets.h
+++ b/src/mesa/glapi/glapioffsets.h
@@ -805,12 +805,13 @@
#define _gloffset_RenderbufferStorageEXT 770
#define _gloffset_BlitFramebufferEXT 771
#define _gloffset_FramebufferTextureLayerEXT 772
-#define _gloffset_StencilFuncSeparateATI 773
-#define _gloffset_ProgramEnvParameters4fvEXT 774
-#define _gloffset_ProgramLocalParameters4fvEXT 775
-#define _gloffset_GetQueryObjecti64vEXT 776
-#define _gloffset_GetQueryObjectui64vEXT 777
-#define _gloffset_FIRST_DYNAMIC 778
+#define _gloffset_ProvokingVertexEXT 773
+#define _gloffset_StencilFuncSeparateATI 774
+#define _gloffset_ProgramEnvParameters4fvEXT 775
+#define _gloffset_ProgramLocalParameters4fvEXT 776
+#define _gloffset_GetQueryObjecti64vEXT 777
+#define _gloffset_GetQueryObjectui64vEXT 778
+#define _gloffset_FIRST_DYNAMIC 779
#else
@@ -1179,6 +1180,7 @@
#define _gloffset_RenderbufferStorageEXT driDispatchRemapTable[RenderbufferStorageEXT_remap_index]
#define _gloffset_BlitFramebufferEXT driDispatchRemapTable[BlitFramebufferEXT_remap_index]
#define _gloffset_FramebufferTextureLayerEXT driDispatchRemapTable[FramebufferTextureLayerEXT_remap_index]
+#define _gloffset_ProvokingVertexEXT driDispatchRemapTable[ProvokingVertexEXT_remap_index]
#define _gloffset_StencilFuncSeparateATI driDispatchRemapTable[StencilFuncSeparateATI_remap_index]
#define _gloffset_ProgramEnvParameters4fvEXT driDispatchRemapTable[ProgramEnvParameters4fvEXT_remap_index]
#define _gloffset_ProgramLocalParameters4fvEXT driDispatchRemapTable[ProgramLocalParameters4fvEXT_remap_index]
diff --git a/src/mesa/glapi/glapitable.h b/src/mesa/glapi/glapitable.h
index f4c36234ce..c96d84a084 100644
--- a/src/mesa/glapi/glapitable.h
+++ b/src/mesa/glapi/glapitable.h
@@ -813,11 +813,12 @@ struct _glapi_table
void (GLAPIENTRYP RenderbufferStorageEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); /* 770 */
void (GLAPIENTRYP BlitFramebufferEXT)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); /* 771 */
void (GLAPIENTRYP FramebufferTextureLayerEXT)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); /* 772 */
- void (GLAPIENTRYP StencilFuncSeparateATI)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); /* 773 */
- void (GLAPIENTRYP ProgramEnvParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 774 */
- void (GLAPIENTRYP ProgramLocalParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 775 */
- void (GLAPIENTRYP GetQueryObjecti64vEXT)(GLuint id, GLenum pname, GLint64EXT * params); /* 776 */
- void (GLAPIENTRYP GetQueryObjectui64vEXT)(GLuint id, GLenum pname, GLuint64EXT * params); /* 777 */
+ void (GLAPIENTRYP ProvokingVertexEXT)(GLenum mode); /* 773 */
+ void (GLAPIENTRYP StencilFuncSeparateATI)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); /* 774 */
+ void (GLAPIENTRYP ProgramEnvParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 775 */
+ void (GLAPIENTRYP ProgramLocalParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 776 */
+ void (GLAPIENTRYP GetQueryObjecti64vEXT)(GLuint id, GLenum pname, GLint64EXT * params); /* 777 */
+ void (GLAPIENTRYP GetQueryObjectui64vEXT)(GLuint id, GLenum pname, GLuint64EXT * params); /* 778 */
};
#endif /* !defined( _GLAPI_TABLE_H_ ) */
diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h
index b1ac9ff841..79a94dbb19 100644
--- a/src/mesa/glapi/glapitemp.h
+++ b/src/mesa/glapi/glapitemp.h
@@ -5588,37 +5588,42 @@ KEYWORD1 void KEYWORD2 NAME(FramebufferTextureLayerEXT)(GLenum target, GLenum at
DISPATCH(FramebufferTextureLayerEXT, (target, attachment, texture, level, layer), (F, "glFramebufferTextureLayerEXT(0x%x, 0x%x, %d, %d, %d);\n", target, attachment, texture, level, layer));
}
-KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_773)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
+KEYWORD1 void KEYWORD2 NAME(ProvokingVertexEXT)(GLenum mode)
+{
+ DISPATCH(ProvokingVertexEXT, (mode), (F, "glProvokingVertexEXT(0x%x);\n", mode));
+}
-KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_773)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask)
+KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_774)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
+
+KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_774)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask)
{
DISPATCH(StencilFuncSeparateATI, (frontfunc, backfunc, ref, mask), (F, "glStencilFuncSeparateATI(0x%x, 0x%x, %d, %d);\n", frontfunc, backfunc, ref, mask));
}
-KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_774)(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
+KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_775)(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
-KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_774)(GLenum target, GLuint index, GLsizei count, const GLfloat * params)
+KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_775)(GLenum target, GLuint index, GLsizei count, const GLfloat * params)
{
DISPATCH(ProgramEnvParameters4fvEXT, (target, index, count, params), (F, "glProgramEnvParameters4fvEXT(0x%x, %d, %d, %p);\n", target, index, count, (const void *) params));
}
-KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_775)(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
+KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_776)(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
-KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_775)(GLenum target, GLuint index, GLsizei count, const GLfloat * params)
+KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_776)(GLenum target, GLuint index, GLsizei count, const GLfloat * params)
{
DISPATCH(ProgramLocalParameters4fvEXT, (target, index, count, params), (F, "glProgramLocalParameters4fvEXT(0x%x, %d, %d, %p);\n", target, index, count, (const void *) params));
}
-KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_776)(GLuint id, GLenum pname, GLint64EXT * params);
+KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_777)(GLuint id, GLenum pname, GLint64EXT * params);
-KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_776)(GLuint id, GLenum pname, GLint64EXT * params)
+KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_777)(GLuint id, GLenum pname, GLint64EXT * params)
{
DISPATCH(GetQueryObjecti64vEXT, (id, pname, params), (F, "glGetQueryObjecti64vEXT(%d, 0x%x, %p);\n", id, pname, (const void *) params));
}
-KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_777)(GLuint id, GLenum pname, GLuint64EXT * params);
+KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_778)(GLuint id, GLenum pname, GLuint64EXT * params);
-KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_777)(GLuint id, GLenum pname, GLuint64EXT * params)
+KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_778)(GLuint id, GLenum pname, GLuint64EXT * params)
{
DISPATCH(GetQueryObjectui64vEXT, (id, pname, params), (F, "glGetQueryObjectui64vEXT(%d, 0x%x, %p);\n", id, pname, (const void *) params));
}
@@ -6410,11 +6415,12 @@ static _glapi_proc DISPATCH_TABLE_NAME[] = {
TABLE_ENTRY(RenderbufferStorageEXT),
TABLE_ENTRY(_dispatch_stub_771),
TABLE_ENTRY(FramebufferTextureLayerEXT),
- TABLE_ENTRY(_dispatch_stub_773),
+ TABLE_ENTRY(ProvokingVertexEXT),
TABLE_ENTRY(_dispatch_stub_774),
TABLE_ENTRY(_dispatch_stub_775),
TABLE_ENTRY(_dispatch_stub_776),
TABLE_ENTRY(_dispatch_stub_777),
+ TABLE_ENTRY(_dispatch_stub_778),
/* A whole bunch of no-op functions. These might be called
* when someone tries to call a dynamically-registered
* extension function without a current rendering context.
diff --git a/src/mesa/glapi/glprocs.h b/src/mesa/glapi/glprocs.h
index 2a7cca5b2b..b83d88571c 100644
--- a/src/mesa/glapi/glprocs.h
+++ b/src/mesa/glapi/glprocs.h
@@ -825,6 +825,7 @@ static const char gl_string_table[] =
"glRenderbufferStorageEXT\0"
"glBlitFramebufferEXT\0"
"glFramebufferTextureLayerEXT\0"
+ "glProvokingVertexEXT\0"
"glStencilFuncSeparateATI\0"
"glProgramEnvParameters4fvEXT\0"
"glProgramLocalParameters4fvEXT\0"
@@ -1173,11 +1174,11 @@ static const char gl_string_table[] =
#define gl_dispatch_stub_752 mgl_dispatch_stub_752
#define gl_dispatch_stub_753 mgl_dispatch_stub_753
#define gl_dispatch_stub_771 mgl_dispatch_stub_771
-#define gl_dispatch_stub_773 mgl_dispatch_stub_773
#define gl_dispatch_stub_774 mgl_dispatch_stub_774
#define gl_dispatch_stub_775 mgl_dispatch_stub_775
#define gl_dispatch_stub_776 mgl_dispatch_stub_776
#define gl_dispatch_stub_777 mgl_dispatch_stub_777
+#define gl_dispatch_stub_778 mgl_dispatch_stub_778
#endif /* USE_MGL_NAMESPACE */
@@ -1223,11 +1224,11 @@ GLboolean GLAPIENTRY gl_dispatch_stub_745(GLuint array);
void GLAPIENTRY gl_dispatch_stub_752(GLclampd zmin, GLclampd zmax);
void GLAPIENTRY gl_dispatch_stub_753(GLenum modeRGB, GLenum modeA);
void GLAPIENTRY gl_dispatch_stub_771(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
-void GLAPIENTRY gl_dispatch_stub_773(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
-void GLAPIENTRY gl_dispatch_stub_774(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
+void GLAPIENTRY gl_dispatch_stub_774(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
void GLAPIENTRY gl_dispatch_stub_775(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
-void GLAPIENTRY gl_dispatch_stub_776(GLuint id, GLenum pname, GLint64EXT * params);
-void GLAPIENTRY gl_dispatch_stub_777(GLuint id, GLenum pname, GLuint64EXT * params);
+void GLAPIENTRY gl_dispatch_stub_776(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
+void GLAPIENTRY gl_dispatch_stub_777(GLuint id, GLenum pname, GLint64EXT * params);
+void GLAPIENTRY gl_dispatch_stub_778(GLuint id, GLenum pname, GLuint64EXT * params);
#endif /* defined(NEED_FUNCTION_POINTER) || defined(GLX_INDIRECT_RENDERING) */
static const glprocs_table_t static_functions[] = {
@@ -2004,309 +2005,310 @@ static const glprocs_table_t static_functions[] = {
NAME_FUNC_OFFSET(13527, glRenderbufferStorageEXT, glRenderbufferStorageEXT, NULL, _gloffset_RenderbufferStorageEXT),
NAME_FUNC_OFFSET(13552, gl_dispatch_stub_771, gl_dispatch_stub_771, NULL, _gloffset_BlitFramebufferEXT),
NAME_FUNC_OFFSET(13573, glFramebufferTextureLayerEXT, glFramebufferTextureLayerEXT, NULL, _gloffset_FramebufferTextureLayerEXT),
- NAME_FUNC_OFFSET(13602, gl_dispatch_stub_773, gl_dispatch_stub_773, NULL, _gloffset_StencilFuncSeparateATI),
- NAME_FUNC_OFFSET(13627, gl_dispatch_stub_774, gl_dispatch_stub_774, NULL, _gloffset_ProgramEnvParameters4fvEXT),
- NAME_FUNC_OFFSET(13656, gl_dispatch_stub_775, gl_dispatch_stub_775, NULL, _gloffset_ProgramLocalParameters4fvEXT),
- NAME_FUNC_OFFSET(13687, gl_dispatch_stub_776, gl_dispatch_stub_776, NULL, _gloffset_GetQueryObjecti64vEXT),
- NAME_FUNC_OFFSET(13711, gl_dispatch_stub_777, gl_dispatch_stub_777, NULL, _gloffset_GetQueryObjectui64vEXT),
- NAME_FUNC_OFFSET(13736, glArrayElement, glArrayElement, NULL, _gloffset_ArrayElement),
- NAME_FUNC_OFFSET(13754, glBindTexture, glBindTexture, NULL, _gloffset_BindTexture),
- NAME_FUNC_OFFSET(13771, glDrawArrays, glDrawArrays, NULL, _gloffset_DrawArrays),
- NAME_FUNC_OFFSET(13787, glAreTexturesResident, glAreTexturesResidentEXT, glAreTexturesResidentEXT, _gloffset_AreTexturesResident),
- NAME_FUNC_OFFSET(13812, glCopyTexImage1D, glCopyTexImage1D, NULL, _gloffset_CopyTexImage1D),
- NAME_FUNC_OFFSET(13832, glCopyTexImage2D, glCopyTexImage2D, NULL, _gloffset_CopyTexImage2D),
- NAME_FUNC_OFFSET(13852, glCopyTexSubImage1D, glCopyTexSubImage1D, NULL, _gloffset_CopyTexSubImage1D),
- NAME_FUNC_OFFSET(13875, glCopyTexSubImage2D, glCopyTexSubImage2D, NULL, _gloffset_CopyTexSubImage2D),
- NAME_FUNC_OFFSET(13898, glDeleteTextures, glDeleteTexturesEXT, glDeleteTexturesEXT, _gloffset_DeleteTextures),
- NAME_FUNC_OFFSET(13918, glGenTextures, glGenTexturesEXT, glGenTexturesEXT, _gloffset_GenTextures),
- NAME_FUNC_OFFSET(13935, glGetPointerv, glGetPointerv, NULL, _gloffset_GetPointerv),
- NAME_FUNC_OFFSET(13952, glIsTexture, glIsTextureEXT, glIsTextureEXT, _gloffset_IsTexture),
- NAME_FUNC_OFFSET(13967, glPrioritizeTextures, glPrioritizeTextures, NULL, _gloffset_PrioritizeTextures),
- NAME_FUNC_OFFSET(13991, glTexSubImage1D, glTexSubImage1D, NULL, _gloffset_TexSubImage1D),
- NAME_FUNC_OFFSET(14010, glTexSubImage2D, glTexSubImage2D, NULL, _gloffset_TexSubImage2D),
- NAME_FUNC_OFFSET(14029, glBlendColor, glBlendColor, NULL, _gloffset_BlendColor),
- NAME_FUNC_OFFSET(14045, glBlendEquation, glBlendEquation, NULL, _gloffset_BlendEquation),
- NAME_FUNC_OFFSET(14064, glDrawRangeElements, glDrawRangeElements, NULL, _gloffset_DrawRangeElements),
- NAME_FUNC_OFFSET(14087, glColorTable, glColorTable, NULL, _gloffset_ColorTable),
- NAME_FUNC_OFFSET(14103, glColorTable, glColorTable, NULL, _gloffset_ColorTable),
- NAME_FUNC_OFFSET(14119, glColorTableParameterfv, glColorTableParameterfv, NULL, _gloffset_ColorTableParameterfv),
- NAME_FUNC_OFFSET(14146, glColorTableParameteriv, glColorTableParameteriv, NULL, _gloffset_ColorTableParameteriv),
- NAME_FUNC_OFFSET(14173, glCopyColorTable, glCopyColorTable, NULL, _gloffset_CopyColorTable),
- NAME_FUNC_OFFSET(14193, glGetColorTable, glGetColorTableEXT, glGetColorTableEXT, _gloffset_GetColorTable),
- NAME_FUNC_OFFSET(14212, glGetColorTable, glGetColorTableEXT, glGetColorTableEXT, _gloffset_GetColorTable),
- NAME_FUNC_OFFSET(14231, glGetColorTableParameterfv, glGetColorTableParameterfvEXT, glGetColorTableParameterfvEXT, _gloffset_GetColorTableParameterfv),
- NAME_FUNC_OFFSET(14261, glGetColorTableParameterfv, glGetColorTableParameterfvEXT, glGetColorTableParameterfvEXT, _gloffset_GetColorTableParameterfv),
- NAME_FUNC_OFFSET(14291, glGetColorTableParameteriv, glGetColorTableParameterivEXT, glGetColorTableParameterivEXT, _gloffset_GetColorTableParameteriv),
- NAME_FUNC_OFFSET(14321, glGetColorTableParameteriv, glGetColorTableParameterivEXT, glGetColorTableParameterivEXT, _gloffset_GetColorTableParameteriv),
- NAME_FUNC_OFFSET(14351, glColorSubTable, glColorSubTable, NULL, _gloffset_ColorSubTable),
- NAME_FUNC_OFFSET(14370, glCopyColorSubTable, glCopyColorSubTable, NULL, _gloffset_CopyColorSubTable),
- NAME_FUNC_OFFSET(14393, glConvolutionFilter1D, glConvolutionFilter1D, NULL, _gloffset_ConvolutionFilter1D),
- NAME_FUNC_OFFSET(14418, glConvolutionFilter2D, glConvolutionFilter2D, NULL, _gloffset_ConvolutionFilter2D),
- NAME_FUNC_OFFSET(14443, glConvolutionParameterf, glConvolutionParameterf, NULL, _gloffset_ConvolutionParameterf),
- NAME_FUNC_OFFSET(14470, glConvolutionParameterfv, glConvolutionParameterfv, NULL, _gloffset_ConvolutionParameterfv),
- NAME_FUNC_OFFSET(14498, glConvolutionParameteri, glConvolutionParameteri, NULL, _gloffset_ConvolutionParameteri),
- NAME_FUNC_OFFSET(14525, glConvolutionParameteriv, glConvolutionParameteriv, NULL, _gloffset_ConvolutionParameteriv),
- NAME_FUNC_OFFSET(14553, glCopyConvolutionFilter1D, glCopyConvolutionFilter1D, NULL, _gloffset_CopyConvolutionFilter1D),
- NAME_FUNC_OFFSET(14582, glCopyConvolutionFilter2D, glCopyConvolutionFilter2D, NULL, _gloffset_CopyConvolutionFilter2D),
- NAME_FUNC_OFFSET(14611, glGetConvolutionFilter, gl_dispatch_stub_356, gl_dispatch_stub_356, _gloffset_GetConvolutionFilter),
- NAME_FUNC_OFFSET(14637, glGetConvolutionParameterfv, gl_dispatch_stub_357, gl_dispatch_stub_357, _gloffset_GetConvolutionParameterfv),
- NAME_FUNC_OFFSET(14668, glGetConvolutionParameteriv, gl_dispatch_stub_358, gl_dispatch_stub_358, _gloffset_GetConvolutionParameteriv),
- NAME_FUNC_OFFSET(14699, glGetSeparableFilter, gl_dispatch_stub_359, gl_dispatch_stub_359, _gloffset_GetSeparableFilter),
- NAME_FUNC_OFFSET(14723, glSeparableFilter2D, glSeparableFilter2D, NULL, _gloffset_SeparableFilter2D),
- NAME_FUNC_OFFSET(14746, glGetHistogram, gl_dispatch_stub_361, gl_dispatch_stub_361, _gloffset_GetHistogram),
- NAME_FUNC_OFFSET(14764, glGetHistogramParameterfv, gl_dispatch_stub_362, gl_dispatch_stub_362, _gloffset_GetHistogramParameterfv),
- NAME_FUNC_OFFSET(14793, glGetHistogramParameteriv, gl_dispatch_stub_363, gl_dispatch_stub_363, _gloffset_GetHistogramParameteriv),
- NAME_FUNC_OFFSET(14822, glGetMinmax, gl_dispatch_stub_364, gl_dispatch_stub_364, _gloffset_GetMinmax),
- NAME_FUNC_OFFSET(14837, glGetMinmaxParameterfv, gl_dispatch_stub_365, gl_dispatch_stub_365, _gloffset_GetMinmaxParameterfv),
- NAME_FUNC_OFFSET(14863, glGetMinmaxParameteriv, gl_dispatch_stub_366, gl_dispatch_stub_366, _gloffset_GetMinmaxParameteriv),
- NAME_FUNC_OFFSET(14889, glHistogram, glHistogram, NULL, _gloffset_Histogram),
- NAME_FUNC_OFFSET(14904, glMinmax, glMinmax, NULL, _gloffset_Minmax),
- NAME_FUNC_OFFSET(14916, glResetHistogram, glResetHistogram, NULL, _gloffset_ResetHistogram),
- NAME_FUNC_OFFSET(14936, glResetMinmax, glResetMinmax, NULL, _gloffset_ResetMinmax),
- NAME_FUNC_OFFSET(14953, glTexImage3D, glTexImage3D, NULL, _gloffset_TexImage3D),
- NAME_FUNC_OFFSET(14969, glTexSubImage3D, glTexSubImage3D, NULL, _gloffset_TexSubImage3D),
- NAME_FUNC_OFFSET(14988, glCopyTexSubImage3D, glCopyTexSubImage3D, NULL, _gloffset_CopyTexSubImage3D),
- NAME_FUNC_OFFSET(15011, glActiveTextureARB, glActiveTextureARB, NULL, _gloffset_ActiveTextureARB),
- NAME_FUNC_OFFSET(15027, glClientActiveTextureARB, glClientActiveTextureARB, NULL, _gloffset_ClientActiveTextureARB),
- NAME_FUNC_OFFSET(15049, glMultiTexCoord1dARB, glMultiTexCoord1dARB, NULL, _gloffset_MultiTexCoord1dARB),
- NAME_FUNC_OFFSET(15067, glMultiTexCoord1dvARB, glMultiTexCoord1dvARB, NULL, _gloffset_MultiTexCoord1dvARB),
- NAME_FUNC_OFFSET(15086, glMultiTexCoord1fARB, glMultiTexCoord1fARB, NULL, _gloffset_MultiTexCoord1fARB),
- NAME_FUNC_OFFSET(15104, glMultiTexCoord1fvARB, glMultiTexCoord1fvARB, NULL, _gloffset_MultiTexCoord1fvARB),
- NAME_FUNC_OFFSET(15123, glMultiTexCoord1iARB, glMultiTexCoord1iARB, NULL, _gloffset_MultiTexCoord1iARB),
- NAME_FUNC_OFFSET(15141, glMultiTexCoord1ivARB, glMultiTexCoord1ivARB, NULL, _gloffset_MultiTexCoord1ivARB),
- NAME_FUNC_OFFSET(15160, glMultiTexCoord1sARB, glMultiTexCoord1sARB, NULL, _gloffset_MultiTexCoord1sARB),
- NAME_FUNC_OFFSET(15178, glMultiTexCoord1svARB, glMultiTexCoord1svARB, NULL, _gloffset_MultiTexCoord1svARB),
- NAME_FUNC_OFFSET(15197, glMultiTexCoord2dARB, glMultiTexCoord2dARB, NULL, _gloffset_MultiTexCoord2dARB),
- NAME_FUNC_OFFSET(15215, glMultiTexCoord2dvARB, glMultiTexCoord2dvARB, NULL, _gloffset_MultiTexCoord2dvARB),
- NAME_FUNC_OFFSET(15234, glMultiTexCoord2fARB, glMultiTexCoord2fARB, NULL, _gloffset_MultiTexCoord2fARB),
- NAME_FUNC_OFFSET(15252, glMultiTexCoord2fvARB, glMultiTexCoord2fvARB, NULL, _gloffset_MultiTexCoord2fvARB),
- NAME_FUNC_OFFSET(15271, glMultiTexCoord2iARB, glMultiTexCoord2iARB, NULL, _gloffset_MultiTexCoord2iARB),
- NAME_FUNC_OFFSET(15289, glMultiTexCoord2ivARB, glMultiTexCoord2ivARB, NULL, _gloffset_MultiTexCoord2ivARB),
- NAME_FUNC_OFFSET(15308, glMultiTexCoord2sARB, glMultiTexCoord2sARB, NULL, _gloffset_MultiTexCoord2sARB),
- NAME_FUNC_OFFSET(15326, glMultiTexCoord2svARB, glMultiTexCoord2svARB, NULL, _gloffset_MultiTexCoord2svARB),
- NAME_FUNC_OFFSET(15345, glMultiTexCoord3dARB, glMultiTexCoord3dARB, NULL, _gloffset_MultiTexCoord3dARB),
- NAME_FUNC_OFFSET(15363, glMultiTexCoord3dvARB, glMultiTexCoord3dvARB, NULL, _gloffset_MultiTexCoord3dvARB),
- NAME_FUNC_OFFSET(15382, glMultiTexCoord3fARB, glMultiTexCoord3fARB, NULL, _gloffset_MultiTexCoord3fARB),
- NAME_FUNC_OFFSET(15400, glMultiTexCoord3fvARB, glMultiTexCoord3fvARB, NULL, _gloffset_MultiTexCoord3fvARB),
- NAME_FUNC_OFFSET(15419, glMultiTexCoord3iARB, glMultiTexCoord3iARB, NULL, _gloffset_MultiTexCoord3iARB),
- NAME_FUNC_OFFSET(15437, glMultiTexCoord3ivARB, glMultiTexCoord3ivARB, NULL, _gloffset_MultiTexCoord3ivARB),
- NAME_FUNC_OFFSET(15456, glMultiTexCoord3sARB, glMultiTexCoord3sARB, NULL, _gloffset_MultiTexCoord3sARB),
- NAME_FUNC_OFFSET(15474, glMultiTexCoord3svARB, glMultiTexCoord3svARB, NULL, _gloffset_MultiTexCoord3svARB),
- NAME_FUNC_OFFSET(15493, glMultiTexCoord4dARB, glMultiTexCoord4dARB, NULL, _gloffset_MultiTexCoord4dARB),
- NAME_FUNC_OFFSET(15511, glMultiTexCoord4dvARB, glMultiTexCoord4dvARB, NULL, _gloffset_MultiTexCoord4dvARB),
- NAME_FUNC_OFFSET(15530, glMultiTexCoord4fARB, glMultiTexCoord4fARB, NULL, _gloffset_MultiTexCoord4fARB),
- NAME_FUNC_OFFSET(15548, glMultiTexCoord4fvARB, glMultiTexCoord4fvARB, NULL, _gloffset_MultiTexCoord4fvARB),
- NAME_FUNC_OFFSET(15567, glMultiTexCoord4iARB, glMultiTexCoord4iARB, NULL, _gloffset_MultiTexCoord4iARB),
- NAME_FUNC_OFFSET(15585, glMultiTexCoord4ivARB, glMultiTexCoord4ivARB, NULL, _gloffset_MultiTexCoord4ivARB),
- NAME_FUNC_OFFSET(15604, glMultiTexCoord4sARB, glMultiTexCoord4sARB, NULL, _gloffset_MultiTexCoord4sARB),
- NAME_FUNC_OFFSET(15622, glMultiTexCoord4svARB, glMultiTexCoord4svARB, NULL, _gloffset_MultiTexCoord4svARB),
- NAME_FUNC_OFFSET(15641, glStencilOpSeparate, glStencilOpSeparate, NULL, _gloffset_StencilOpSeparate),
- NAME_FUNC_OFFSET(15664, glLoadTransposeMatrixdARB, glLoadTransposeMatrixdARB, NULL, _gloffset_LoadTransposeMatrixdARB),
- NAME_FUNC_OFFSET(15687, glLoadTransposeMatrixfARB, glLoadTransposeMatrixfARB, NULL, _gloffset_LoadTransposeMatrixfARB),
- NAME_FUNC_OFFSET(15710, glMultTransposeMatrixdARB, glMultTransposeMatrixdARB, NULL, _gloffset_MultTransposeMatrixdARB),
- NAME_FUNC_OFFSET(15733, glMultTransposeMatrixfARB, glMultTransposeMatrixfARB, NULL, _gloffset_MultTransposeMatrixfARB),
- NAME_FUNC_OFFSET(15756, glSampleCoverageARB, glSampleCoverageARB, NULL, _gloffset_SampleCoverageARB),
- NAME_FUNC_OFFSET(15773, glCompressedTexImage1DARB, glCompressedTexImage1DARB, NULL, _gloffset_CompressedTexImage1DARB),
- NAME_FUNC_OFFSET(15796, glCompressedTexImage2DARB, glCompressedTexImage2DARB, NULL, _gloffset_CompressedTexImage2DARB),
- NAME_FUNC_OFFSET(15819, glCompressedTexImage3DARB, glCompressedTexImage3DARB, NULL, _gloffset_CompressedTexImage3DARB),
- NAME_FUNC_OFFSET(15842, glCompressedTexSubImage1DARB, glCompressedTexSubImage1DARB, NULL, _gloffset_CompressedTexSubImage1DARB),
- NAME_FUNC_OFFSET(15868, glCompressedTexSubImage2DARB, glCompressedTexSubImage2DARB, NULL, _gloffset_CompressedTexSubImage2DARB),
- NAME_FUNC_OFFSET(15894, glCompressedTexSubImage3DARB, glCompressedTexSubImage3DARB, NULL, _gloffset_CompressedTexSubImage3DARB),
- NAME_FUNC_OFFSET(15920, glGetCompressedTexImageARB, glGetCompressedTexImageARB, NULL, _gloffset_GetCompressedTexImageARB),
- NAME_FUNC_OFFSET(15944, glDisableVertexAttribArrayARB, glDisableVertexAttribArrayARB, NULL, _gloffset_DisableVertexAttribArrayARB),
- NAME_FUNC_OFFSET(15971, glEnableVertexAttribArrayARB, glEnableVertexAttribArrayARB, NULL, _gloffset_EnableVertexAttribArrayARB),
- NAME_FUNC_OFFSET(15997, glGetVertexAttribdvARB, glGetVertexAttribdvARB, NULL, _gloffset_GetVertexAttribdvARB),
- NAME_FUNC_OFFSET(16017, glGetVertexAttribfvARB, glGetVertexAttribfvARB, NULL, _gloffset_GetVertexAttribfvARB),
- NAME_FUNC_OFFSET(16037, glGetVertexAttribivARB, glGetVertexAttribivARB, NULL, _gloffset_GetVertexAttribivARB),
- NAME_FUNC_OFFSET(16057, glProgramEnvParameter4dARB, glProgramEnvParameter4dARB, NULL, _gloffset_ProgramEnvParameter4dARB),
- NAME_FUNC_OFFSET(16080, glProgramEnvParameter4dvARB, glProgramEnvParameter4dvARB, NULL, _gloffset_ProgramEnvParameter4dvARB),
- NAME_FUNC_OFFSET(16104, glProgramEnvParameter4fARB, glProgramEnvParameter4fARB, NULL, _gloffset_ProgramEnvParameter4fARB),
- NAME_FUNC_OFFSET(16127, glProgramEnvParameter4fvARB, glProgramEnvParameter4fvARB, NULL, _gloffset_ProgramEnvParameter4fvARB),
- NAME_FUNC_OFFSET(16151, glVertexAttrib1dARB, glVertexAttrib1dARB, NULL, _gloffset_VertexAttrib1dARB),
- NAME_FUNC_OFFSET(16168, glVertexAttrib1dvARB, glVertexAttrib1dvARB, NULL, _gloffset_VertexAttrib1dvARB),
- NAME_FUNC_OFFSET(16186, glVertexAttrib1fARB, glVertexAttrib1fARB, NULL, _gloffset_VertexAttrib1fARB),
- NAME_FUNC_OFFSET(16203, glVertexAttrib1fvARB, glVertexAttrib1fvARB, NULL, _gloffset_VertexAttrib1fvARB),
- NAME_FUNC_OFFSET(16221, glVertexAttrib1sARB, glVertexAttrib1sARB, NULL, _gloffset_VertexAttrib1sARB),
- NAME_FUNC_OFFSET(16238, glVertexAttrib1svARB, glVertexAttrib1svARB, NULL, _gloffset_VertexAttrib1svARB),
- NAME_FUNC_OFFSET(16256, glVertexAttrib2dARB, glVertexAttrib2dARB, NULL, _gloffset_VertexAttrib2dARB),
- NAME_FUNC_OFFSET(16273, glVertexAttrib2dvARB, glVertexAttrib2dvARB, NULL, _gloffset_VertexAttrib2dvARB),
- NAME_FUNC_OFFSET(16291, glVertexAttrib2fARB, glVertexAttrib2fARB, NULL, _gloffset_VertexAttrib2fARB),
- NAME_FUNC_OFFSET(16308, glVertexAttrib2fvARB, glVertexAttrib2fvARB, NULL, _gloffset_VertexAttrib2fvARB),
- NAME_FUNC_OFFSET(16326, glVertexAttrib2sARB, glVertexAttrib2sARB, NULL, _gloffset_VertexAttrib2sARB),
- NAME_FUNC_OFFSET(16343, glVertexAttrib2svARB, glVertexAttrib2svARB, NULL, _gloffset_VertexAttrib2svARB),
- NAME_FUNC_OFFSET(16361, glVertexAttrib3dARB, glVertexAttrib3dARB, NULL, _gloffset_VertexAttrib3dARB),
- NAME_FUNC_OFFSET(16378, glVertexAttrib3dvARB, glVertexAttrib3dvARB, NULL, _gloffset_VertexAttrib3dvARB),
- NAME_FUNC_OFFSET(16396, glVertexAttrib3fARB, glVertexAttrib3fARB, NULL, _gloffset_VertexAttrib3fARB),
- NAME_FUNC_OFFSET(16413, glVertexAttrib3fvARB, glVertexAttrib3fvARB, NULL, _gloffset_VertexAttrib3fvARB),
- NAME_FUNC_OFFSET(16431, glVertexAttrib3sARB, glVertexAttrib3sARB, NULL, _gloffset_VertexAttrib3sARB),
- NAME_FUNC_OFFSET(16448, glVertexAttrib3svARB, glVertexAttrib3svARB, NULL, _gloffset_VertexAttrib3svARB),
- NAME_FUNC_OFFSET(16466, glVertexAttrib4NbvARB, glVertexAttrib4NbvARB, NULL, _gloffset_VertexAttrib4NbvARB),
- NAME_FUNC_OFFSET(16485, glVertexAttrib4NivARB, glVertexAttrib4NivARB, NULL, _gloffset_VertexAttrib4NivARB),
- NAME_FUNC_OFFSET(16504, glVertexAttrib4NsvARB, glVertexAttrib4NsvARB, NULL, _gloffset_VertexAttrib4NsvARB),
- NAME_FUNC_OFFSET(16523, glVertexAttrib4NubARB, glVertexAttrib4NubARB, NULL, _gloffset_VertexAttrib4NubARB),
- NAME_FUNC_OFFSET(16542, glVertexAttrib4NubvARB, glVertexAttrib4NubvARB, NULL, _gloffset_VertexAttrib4NubvARB),
- NAME_FUNC_OFFSET(16562, glVertexAttrib4NuivARB, glVertexAttrib4NuivARB, NULL, _gloffset_VertexAttrib4NuivARB),
- NAME_FUNC_OFFSET(16582, glVertexAttrib4NusvARB, glVertexAttrib4NusvARB, NULL, _gloffset_VertexAttrib4NusvARB),
- NAME_FUNC_OFFSET(16602, glVertexAttrib4bvARB, glVertexAttrib4bvARB, NULL, _gloffset_VertexAttrib4bvARB),
- NAME_FUNC_OFFSET(16620, glVertexAttrib4dARB, glVertexAttrib4dARB, NULL, _gloffset_VertexAttrib4dARB),
- NAME_FUNC_OFFSET(16637, glVertexAttrib4dvARB, glVertexAttrib4dvARB, NULL, _gloffset_VertexAttrib4dvARB),
- NAME_FUNC_OFFSET(16655, glVertexAttrib4fARB, glVertexAttrib4fARB, NULL, _gloffset_VertexAttrib4fARB),
- NAME_FUNC_OFFSET(16672, glVertexAttrib4fvARB, glVertexAttrib4fvARB, NULL, _gloffset_VertexAttrib4fvARB),
- NAME_FUNC_OFFSET(16690, glVertexAttrib4ivARB, glVertexAttrib4ivARB, NULL, _gloffset_VertexAttrib4ivARB),
- NAME_FUNC_OFFSET(16708, glVertexAttrib4sARB, glVertexAttrib4sARB, NULL, _gloffset_VertexAttrib4sARB),
- NAME_FUNC_OFFSET(16725, glVertexAttrib4svARB, glVertexAttrib4svARB, NULL, _gloffset_VertexAttrib4svARB),
- NAME_FUNC_OFFSET(16743, glVertexAttrib4ubvARB, glVertexAttrib4ubvARB, NULL, _gloffset_VertexAttrib4ubvARB),
- NAME_FUNC_OFFSET(16762, glVertexAttrib4uivARB, glVertexAttrib4uivARB, NULL, _gloffset_VertexAttrib4uivARB),
- NAME_FUNC_OFFSET(16781, glVertexAttrib4usvARB, glVertexAttrib4usvARB, NULL, _gloffset_VertexAttrib4usvARB),
- NAME_FUNC_OFFSET(16800, glVertexAttribPointerARB, glVertexAttribPointerARB, NULL, _gloffset_VertexAttribPointerARB),
- NAME_FUNC_OFFSET(16822, glBindBufferARB, glBindBufferARB, NULL, _gloffset_BindBufferARB),
- NAME_FUNC_OFFSET(16835, glBufferDataARB, glBufferDataARB, NULL, _gloffset_BufferDataARB),
- NAME_FUNC_OFFSET(16848, glBufferSubDataARB, glBufferSubDataARB, NULL, _gloffset_BufferSubDataARB),
- NAME_FUNC_OFFSET(16864, glDeleteBuffersARB, glDeleteBuffersARB, NULL, _gloffset_DeleteBuffersARB),
- NAME_FUNC_OFFSET(16880, glGenBuffersARB, glGenBuffersARB, NULL, _gloffset_GenBuffersARB),
- NAME_FUNC_OFFSET(16893, glGetBufferParameterivARB, glGetBufferParameterivARB, NULL, _gloffset_GetBufferParameterivARB),
- NAME_FUNC_OFFSET(16916, glGetBufferPointervARB, glGetBufferPointervARB, NULL, _gloffset_GetBufferPointervARB),
- NAME_FUNC_OFFSET(16936, glGetBufferSubDataARB, glGetBufferSubDataARB, NULL, _gloffset_GetBufferSubDataARB),
- NAME_FUNC_OFFSET(16955, glIsBufferARB, glIsBufferARB, NULL, _gloffset_IsBufferARB),
- NAME_FUNC_OFFSET(16966, glMapBufferARB, glMapBufferARB, NULL, _gloffset_MapBufferARB),
- NAME_FUNC_OFFSET(16978, glUnmapBufferARB, glUnmapBufferARB, NULL, _gloffset_UnmapBufferARB),
- NAME_FUNC_OFFSET(16992, glBeginQueryARB, glBeginQueryARB, NULL, _gloffset_BeginQueryARB),
- NAME_FUNC_OFFSET(17005, glDeleteQueriesARB, glDeleteQueriesARB, NULL, _gloffset_DeleteQueriesARB),
- NAME_FUNC_OFFSET(17021, glEndQueryARB, glEndQueryARB, NULL, _gloffset_EndQueryARB),
- NAME_FUNC_OFFSET(17032, glGenQueriesARB, glGenQueriesARB, NULL, _gloffset_GenQueriesARB),
- NAME_FUNC_OFFSET(17045, glGetQueryObjectivARB, glGetQueryObjectivARB, NULL, _gloffset_GetQueryObjectivARB),
- NAME_FUNC_OFFSET(17064, glGetQueryObjectuivARB, glGetQueryObjectuivARB, NULL, _gloffset_GetQueryObjectuivARB),
- NAME_FUNC_OFFSET(17084, glGetQueryivARB, glGetQueryivARB, NULL, _gloffset_GetQueryivARB),
- NAME_FUNC_OFFSET(17097, glIsQueryARB, glIsQueryARB, NULL, _gloffset_IsQueryARB),
- NAME_FUNC_OFFSET(17107, glCompileShaderARB, glCompileShaderARB, NULL, _gloffset_CompileShaderARB),
- NAME_FUNC_OFFSET(17123, glGetActiveUniformARB, glGetActiveUniformARB, NULL, _gloffset_GetActiveUniformARB),
- NAME_FUNC_OFFSET(17142, glGetShaderSourceARB, glGetShaderSourceARB, NULL, _gloffset_GetShaderSourceARB),
- NAME_FUNC_OFFSET(17160, glGetUniformLocationARB, glGetUniformLocationARB, NULL, _gloffset_GetUniformLocationARB),
- NAME_FUNC_OFFSET(17181, glGetUniformfvARB, glGetUniformfvARB, NULL, _gloffset_GetUniformfvARB),
- NAME_FUNC_OFFSET(17196, glGetUniformivARB, glGetUniformivARB, NULL, _gloffset_GetUniformivARB),
- NAME_FUNC_OFFSET(17211, glLinkProgramARB, glLinkProgramARB, NULL, _gloffset_LinkProgramARB),
- NAME_FUNC_OFFSET(17225, glShaderSourceARB, glShaderSourceARB, NULL, _gloffset_ShaderSourceARB),
- NAME_FUNC_OFFSET(17240, glUniform1fARB, glUniform1fARB, NULL, _gloffset_Uniform1fARB),
- NAME_FUNC_OFFSET(17252, glUniform1fvARB, glUniform1fvARB, NULL, _gloffset_Uniform1fvARB),
- NAME_FUNC_OFFSET(17265, glUniform1iARB, glUniform1iARB, NULL, _gloffset_Uniform1iARB),
- NAME_FUNC_OFFSET(17277, glUniform1ivARB, glUniform1ivARB, NULL, _gloffset_Uniform1ivARB),
- NAME_FUNC_OFFSET(17290, glUniform2fARB, glUniform2fARB, NULL, _gloffset_Uniform2fARB),
- NAME_FUNC_OFFSET(17302, glUniform2fvARB, glUniform2fvARB, NULL, _gloffset_Uniform2fvARB),
- NAME_FUNC_OFFSET(17315, glUniform2iARB, glUniform2iARB, NULL, _gloffset_Uniform2iARB),
- NAME_FUNC_OFFSET(17327, glUniform2ivARB, glUniform2ivARB, NULL, _gloffset_Uniform2ivARB),
- NAME_FUNC_OFFSET(17340, glUniform3fARB, glUniform3fARB, NULL, _gloffset_Uniform3fARB),
- NAME_FUNC_OFFSET(17352, glUniform3fvARB, glUniform3fvARB, NULL, _gloffset_Uniform3fvARB),
- NAME_FUNC_OFFSET(17365, glUniform3iARB, glUniform3iARB, NULL, _gloffset_Uniform3iARB),
- NAME_FUNC_OFFSET(17377, glUniform3ivARB, glUniform3ivARB, NULL, _gloffset_Uniform3ivARB),
- NAME_FUNC_OFFSET(17390, glUniform4fARB, glUniform4fARB, NULL, _gloffset_Uniform4fARB),
- NAME_FUNC_OFFSET(17402, glUniform4fvARB, glUniform4fvARB, NULL, _gloffset_Uniform4fvARB),
- NAME_FUNC_OFFSET(17415, glUniform4iARB, glUniform4iARB, NULL, _gloffset_Uniform4iARB),
- NAME_FUNC_OFFSET(17427, glUniform4ivARB, glUniform4ivARB, NULL, _gloffset_Uniform4ivARB),
- NAME_FUNC_OFFSET(17440, glUniformMatrix2fvARB, glUniformMatrix2fvARB, NULL, _gloffset_UniformMatrix2fvARB),
- NAME_FUNC_OFFSET(17459, glUniformMatrix3fvARB, glUniformMatrix3fvARB, NULL, _gloffset_UniformMatrix3fvARB),
- NAME_FUNC_OFFSET(17478, glUniformMatrix4fvARB, glUniformMatrix4fvARB, NULL, _gloffset_UniformMatrix4fvARB),
- NAME_FUNC_OFFSET(17497, glUseProgramObjectARB, glUseProgramObjectARB, NULL, _gloffset_UseProgramObjectARB),
- NAME_FUNC_OFFSET(17510, glValidateProgramARB, glValidateProgramARB, NULL, _gloffset_ValidateProgramARB),
- NAME_FUNC_OFFSET(17528, glBindAttribLocationARB, glBindAttribLocationARB, NULL, _gloffset_BindAttribLocationARB),
- NAME_FUNC_OFFSET(17549, glGetActiveAttribARB, glGetActiveAttribARB, NULL, _gloffset_GetActiveAttribARB),
- NAME_FUNC_OFFSET(17567, glGetAttribLocationARB, glGetAttribLocationARB, NULL, _gloffset_GetAttribLocationARB),
- NAME_FUNC_OFFSET(17587, glDrawBuffersARB, glDrawBuffersARB, NULL, _gloffset_DrawBuffersARB),
- NAME_FUNC_OFFSET(17601, glDrawBuffersARB, glDrawBuffersARB, NULL, _gloffset_DrawBuffersARB),
- NAME_FUNC_OFFSET(17618, gl_dispatch_stub_572, gl_dispatch_stub_572, NULL, _gloffset_SampleMaskSGIS),
- NAME_FUNC_OFFSET(17634, gl_dispatch_stub_573, gl_dispatch_stub_573, NULL, _gloffset_SamplePatternSGIS),
- NAME_FUNC_OFFSET(17653, glPointParameterfEXT, glPointParameterfEXT, NULL, _gloffset_PointParameterfEXT),
- NAME_FUNC_OFFSET(17671, glPointParameterfEXT, glPointParameterfEXT, NULL, _gloffset_PointParameterfEXT),
+ NAME_FUNC_OFFSET(13602, glProvokingVertexEXT, glProvokingVertexEXT, NULL, _gloffset_ProvokingVertexEXT),
+ NAME_FUNC_OFFSET(13623, gl_dispatch_stub_774, gl_dispatch_stub_774, NULL, _gloffset_StencilFuncSeparateATI),
+ NAME_FUNC_OFFSET(13648, gl_dispatch_stub_775, gl_dispatch_stub_775, NULL, _gloffset_ProgramEnvParameters4fvEXT),
+ NAME_FUNC_OFFSET(13677, gl_dispatch_stub_776, gl_dispatch_stub_776, NULL, _gloffset_ProgramLocalParameters4fvEXT),
+ NAME_FUNC_OFFSET(13708, gl_dispatch_stub_777, gl_dispatch_stub_777, NULL, _gloffset_GetQueryObjecti64vEXT),
+ NAME_FUNC_OFFSET(13732, gl_dispatch_stub_778, gl_dispatch_stub_778, NULL, _gloffset_GetQueryObjectui64vEXT),
+ NAME_FUNC_OFFSET(13757, glArrayElement, glArrayElement, NULL, _gloffset_ArrayElement),
+ NAME_FUNC_OFFSET(13775, glBindTexture, glBindTexture, NULL, _gloffset_BindTexture),
+ NAME_FUNC_OFFSET(13792, glDrawArrays, glDrawArrays, NULL, _gloffset_DrawArrays),
+ NAME_FUNC_OFFSET(13808, glAreTexturesResident, glAreTexturesResidentEXT, glAreTexturesResidentEXT, _gloffset_AreTexturesResident),
+ NAME_FUNC_OFFSET(13833, glCopyTexImage1D, glCopyTexImage1D, NULL, _gloffset_CopyTexImage1D),
+ NAME_FUNC_OFFSET(13853, glCopyTexImage2D, glCopyTexImage2D, NULL, _gloffset_CopyTexImage2D),
+ NAME_FUNC_OFFSET(13873, glCopyTexSubImage1D, glCopyTexSubImage1D, NULL, _gloffset_CopyTexSubImage1D),
+ NAME_FUNC_OFFSET(13896, glCopyTexSubImage2D, glCopyTexSubImage2D, NULL, _gloffset_CopyTexSubImage2D),
+ NAME_FUNC_OFFSET(13919, glDeleteTextures, glDeleteTexturesEXT, glDeleteTexturesEXT, _gloffset_DeleteTextures),
+ NAME_FUNC_OFFSET(13939, glGenTextures, glGenTexturesEXT, glGenTexturesEXT, _gloffset_GenTextures),
+ NAME_FUNC_OFFSET(13956, glGetPointerv, glGetPointerv, NULL, _gloffset_GetPointerv),
+ NAME_FUNC_OFFSET(13973, glIsTexture, glIsTextureEXT, glIsTextureEXT, _gloffset_IsTexture),
+ NAME_FUNC_OFFSET(13988, glPrioritizeTextures, glPrioritizeTextures, NULL, _gloffset_PrioritizeTextures),
+ NAME_FUNC_OFFSET(14012, glTexSubImage1D, glTexSubImage1D, NULL, _gloffset_TexSubImage1D),
+ NAME_FUNC_OFFSET(14031, glTexSubImage2D, glTexSubImage2D, NULL, _gloffset_TexSubImage2D),
+ NAME_FUNC_OFFSET(14050, glBlendColor, glBlendColor, NULL, _gloffset_BlendColor),
+ NAME_FUNC_OFFSET(14066, glBlendEquation, glBlendEquation, NULL, _gloffset_BlendEquation),
+ NAME_FUNC_OFFSET(14085, glDrawRangeElements, glDrawRangeElements, NULL, _gloffset_DrawRangeElements),
+ NAME_FUNC_OFFSET(14108, glColorTable, glColorTable, NULL, _gloffset_ColorTable),
+ NAME_FUNC_OFFSET(14124, glColorTable, glColorTable, NULL, _gloffset_ColorTable),
+ NAME_FUNC_OFFSET(14140, glColorTableParameterfv, glColorTableParameterfv, NULL, _gloffset_ColorTableParameterfv),
+ NAME_FUNC_OFFSET(14167, glColorTableParameteriv, glColorTableParameteriv, NULL, _gloffset_ColorTableParameteriv),
+ NAME_FUNC_OFFSET(14194, glCopyColorTable, glCopyColorTable, NULL, _gloffset_CopyColorTable),
+ NAME_FUNC_OFFSET(14214, glGetColorTable, glGetColorTableEXT, glGetColorTableEXT, _gloffset_GetColorTable),
+ NAME_FUNC_OFFSET(14233, glGetColorTable, glGetColorTableEXT, glGetColorTableEXT, _gloffset_GetColorTable),
+ NAME_FUNC_OFFSET(14252, glGetColorTableParameterfv, glGetColorTableParameterfvEXT, glGetColorTableParameterfvEXT, _gloffset_GetColorTableParameterfv),
+ NAME_FUNC_OFFSET(14282, glGetColorTableParameterfv, glGetColorTableParameterfvEXT, glGetColorTableParameterfvEXT, _gloffset_GetColorTableParameterfv),
+ NAME_FUNC_OFFSET(14312, glGetColorTableParameteriv, glGetColorTableParameterivEXT, glGetColorTableParameterivEXT, _gloffset_GetColorTableParameteriv),
+ NAME_FUNC_OFFSET(14342, glGetColorTableParameteriv, glGetColorTableParameterivEXT, glGetColorTableParameterivEXT, _gloffset_GetColorTableParameteriv),
+ NAME_FUNC_OFFSET(14372, glColorSubTable, glColorSubTable, NULL, _gloffset_ColorSubTable),
+ NAME_FUNC_OFFSET(14391, glCopyColorSubTable, glCopyColorSubTable, NULL, _gloffset_CopyColorSubTable),
+ NAME_FUNC_OFFSET(14414, glConvolutionFilter1D, glConvolutionFilter1D, NULL, _gloffset_ConvolutionFilter1D),
+ NAME_FUNC_OFFSET(14439, glConvolutionFilter2D, glConvolutionFilter2D, NULL, _gloffset_ConvolutionFilter2D),
+ NAME_FUNC_OFFSET(14464, glConvolutionParameterf, glConvolutionParameterf, NULL, _gloffset_ConvolutionParameterf),
+ NAME_FUNC_OFFSET(14491, glConvolutionParameterfv, glConvolutionParameterfv, NULL, _gloffset_ConvolutionParameterfv),
+ NAME_FUNC_OFFSET(14519, glConvolutionParameteri, glConvolutionParameteri, NULL, _gloffset_ConvolutionParameteri),
+ NAME_FUNC_OFFSET(14546, glConvolutionParameteriv, glConvolutionParameteriv, NULL, _gloffset_ConvolutionParameteriv),
+ NAME_FUNC_OFFSET(14574, glCopyConvolutionFilter1D, glCopyConvolutionFilter1D, NULL, _gloffset_CopyConvolutionFilter1D),
+ NAME_FUNC_OFFSET(14603, glCopyConvolutionFilter2D, glCopyConvolutionFilter2D, NULL, _gloffset_CopyConvolutionFilter2D),
+ NAME_FUNC_OFFSET(14632, glGetConvolutionFilter, gl_dispatch_stub_356, gl_dispatch_stub_356, _gloffset_GetConvolutionFilter),
+ NAME_FUNC_OFFSET(14658, glGetConvolutionParameterfv, gl_dispatch_stub_357, gl_dispatch_stub_357, _gloffset_GetConvolutionParameterfv),
+ NAME_FUNC_OFFSET(14689, glGetConvolutionParameteriv, gl_dispatch_stub_358, gl_dispatch_stub_358, _gloffset_GetConvolutionParameteriv),
+ NAME_FUNC_OFFSET(14720, glGetSeparableFilter, gl_dispatch_stub_359, gl_dispatch_stub_359, _gloffset_GetSeparableFilter),
+ NAME_FUNC_OFFSET(14744, glSeparableFilter2D, glSeparableFilter2D, NULL, _gloffset_SeparableFilter2D),
+ NAME_FUNC_OFFSET(14767, glGetHistogram, gl_dispatch_stub_361, gl_dispatch_stub_361, _gloffset_GetHistogram),
+ NAME_FUNC_OFFSET(14785, glGetHistogramParameterfv, gl_dispatch_stub_362, gl_dispatch_stub_362, _gloffset_GetHistogramParameterfv),
+ NAME_FUNC_OFFSET(14814, glGetHistogramParameteriv, gl_dispatch_stub_363, gl_dispatch_stub_363, _gloffset_GetHistogramParameteriv),
+ NAME_FUNC_OFFSET(14843, glGetMinmax, gl_dispatch_stub_364, gl_dispatch_stub_364, _gloffset_GetMinmax),
+ NAME_FUNC_OFFSET(14858, glGetMinmaxParameterfv, gl_dispatch_stub_365, gl_dispatch_stub_365, _gloffset_GetMinmaxParameterfv),
+ NAME_FUNC_OFFSET(14884, glGetMinmaxParameteriv, gl_dispatch_stub_366, gl_dispatch_stub_366, _gloffset_GetMinmaxParameteriv),
+ NAME_FUNC_OFFSET(14910, glHistogram, glHistogram, NULL, _gloffset_Histogram),
+ NAME_FUNC_OFFSET(14925, glMinmax, glMinmax, NULL, _gloffset_Minmax),
+ NAME_FUNC_OFFSET(14937, glResetHistogram, glResetHistogram, NULL, _gloffset_ResetHistogram),
+ NAME_FUNC_OFFSET(14957, glResetMinmax, glResetMinmax, NULL, _gloffset_ResetMinmax),
+ NAME_FUNC_OFFSET(14974, glTexImage3D, glTexImage3D, NULL, _gloffset_TexImage3D),
+ NAME_FUNC_OFFSET(14990, glTexSubImage3D, glTexSubImage3D, NULL, _gloffset_TexSubImage3D),
+ NAME_FUNC_OFFSET(15009, glCopyTexSubImage3D, glCopyTexSubImage3D, NULL, _gloffset_CopyTexSubImage3D),
+ NAME_FUNC_OFFSET(15032, glActiveTextureARB, glActiveTextureARB, NULL, _gloffset_ActiveTextureARB),
+ NAME_FUNC_OFFSET(15048, glClientActiveTextureARB, glClientActiveTextureARB, NULL, _gloffset_ClientActiveTextureARB),
+ NAME_FUNC_OFFSET(15070, glMultiTexCoord1dARB, glMultiTexCoord1dARB, NULL, _gloffset_MultiTexCoord1dARB),
+ NAME_FUNC_OFFSET(15088, glMultiTexCoord1dvARB, glMultiTexCoord1dvARB, NULL, _gloffset_MultiTexCoord1dvARB),
+ NAME_FUNC_OFFSET(15107, glMultiTexCoord1fARB, glMultiTexCoord1fARB, NULL, _gloffset_MultiTexCoord1fARB),
+ NAME_FUNC_OFFSET(15125, glMultiTexCoord1fvARB, glMultiTexCoord1fvARB, NULL, _gloffset_MultiTexCoord1fvARB),
+ NAME_FUNC_OFFSET(15144, glMultiTexCoord1iARB, glMultiTexCoord1iARB, NULL, _gloffset_MultiTexCoord1iARB),
+ NAME_FUNC_OFFSET(15162, glMultiTexCoord1ivARB, glMultiTexCoord1ivARB, NULL, _gloffset_MultiTexCoord1ivARB),
+ NAME_FUNC_OFFSET(15181, glMultiTexCoord1sARB, glMultiTexCoord1sARB, NULL, _gloffset_MultiTexCoord1sARB),
+ NAME_FUNC_OFFSET(15199, glMultiTexCoord1svARB, glMultiTexCoord1svARB, NULL, _gloffset_MultiTexCoord1svARB),
+ NAME_FUNC_OFFSET(15218, glMultiTexCoord2dARB, glMultiTexCoord2dARB, NULL, _gloffset_MultiTexCoord2dARB),
+ NAME_FUNC_OFFSET(15236, glMultiTexCoord2dvARB, glMultiTexCoord2dvARB, NULL, _gloffset_MultiTexCoord2dvARB),
+ NAME_FUNC_OFFSET(15255, glMultiTexCoord2fARB, glMultiTexCoord2fARB, NULL, _gloffset_MultiTexCoord2fARB),
+ NAME_FUNC_OFFSET(15273, glMultiTexCoord2fvARB, glMultiTexCoord2fvARB, NULL, _gloffset_MultiTexCoord2fvARB),
+ NAME_FUNC_OFFSET(15292, glMultiTexCoord2iARB, glMultiTexCoord2iARB, NULL, _gloffset_MultiTexCoord2iARB),
+ NAME_FUNC_OFFSET(15310, glMultiTexCoord2ivARB, glMultiTexCoord2ivARB, NULL, _gloffset_MultiTexCoord2ivARB),
+ NAME_FUNC_OFFSET(15329, glMultiTexCoord2sARB, glMultiTexCoord2sARB, NULL, _gloffset_MultiTexCoord2sARB),
+ NAME_FUNC_OFFSET(15347, glMultiTexCoord2svARB, glMultiTexCoord2svARB, NULL, _gloffset_MultiTexCoord2svARB),
+ NAME_FUNC_OFFSET(15366, glMultiTexCoord3dARB, glMultiTexCoord3dARB, NULL, _gloffset_MultiTexCoord3dARB),
+ NAME_FUNC_OFFSET(15384, glMultiTexCoord3dvARB, glMultiTexCoord3dvARB, NULL, _gloffset_MultiTexCoord3dvARB),
+ NAME_FUNC_OFFSET(15403, glMultiTexCoord3fARB, glMultiTexCoord3fARB, NULL, _gloffset_MultiTexCoord3fARB),
+ NAME_FUNC_OFFSET(15421, glMultiTexCoord3fvARB, glMultiTexCoord3fvARB, NULL, _gloffset_MultiTexCoord3fvARB),
+ NAME_FUNC_OFFSET(15440, glMultiTexCoord3iARB, glMultiTexCoord3iARB, NULL, _gloffset_MultiTexCoord3iARB),
+ NAME_FUNC_OFFSET(15458, glMultiTexCoord3ivARB, glMultiTexCoord3ivARB, NULL, _gloffset_MultiTexCoord3ivARB),
+ NAME_FUNC_OFFSET(15477, glMultiTexCoord3sARB, glMultiTexCoord3sARB, NULL, _gloffset_MultiTexCoord3sARB),
+ NAME_FUNC_OFFSET(15495, glMultiTexCoord3svARB, glMultiTexCoord3svARB, NULL, _gloffset_MultiTexCoord3svARB),
+ NAME_FUNC_OFFSET(15514, glMultiTexCoord4dARB, glMultiTexCoord4dARB, NULL, _gloffset_MultiTexCoord4dARB),
+ NAME_FUNC_OFFSET(15532, glMultiTexCoord4dvARB, glMultiTexCoord4dvARB, NULL, _gloffset_MultiTexCoord4dvARB),
+ NAME_FUNC_OFFSET(15551, glMultiTexCoord4fARB, glMultiTexCoord4fARB, NULL, _gloffset_MultiTexCoord4fARB),
+ NAME_FUNC_OFFSET(15569, glMultiTexCoord4fvARB, glMultiTexCoord4fvARB, NULL, _gloffset_MultiTexCoord4fvARB),
+ NAME_FUNC_OFFSET(15588, glMultiTexCoord4iARB, glMultiTexCoord4iARB, NULL, _gloffset_MultiTexCoord4iARB),
+ NAME_FUNC_OFFSET(15606, glMultiTexCoord4ivARB, glMultiTexCoord4ivARB, NULL, _gloffset_MultiTexCoord4ivARB),
+ NAME_FUNC_OFFSET(15625, glMultiTexCoord4sARB, glMultiTexCoord4sARB, NULL, _gloffset_MultiTexCoord4sARB),
+ NAME_FUNC_OFFSET(15643, glMultiTexCoord4svARB, glMultiTexCoord4svARB, NULL, _gloffset_MultiTexCoord4svARB),
+ NAME_FUNC_OFFSET(15662, glStencilOpSeparate, glStencilOpSeparate, NULL, _gloffset_StencilOpSeparate),
+ NAME_FUNC_OFFSET(15685, glLoadTransposeMatrixdARB, glLoadTransposeMatrixdARB, NULL, _gloffset_LoadTransposeMatrixdARB),
+ NAME_FUNC_OFFSET(15708, glLoadTransposeMatrixfARB, glLoadTransposeMatrixfARB, NULL, _gloffset_LoadTransposeMatrixfARB),
+ NAME_FUNC_OFFSET(15731, glMultTransposeMatrixdARB, glMultTransposeMatrixdARB, NULL, _gloffset_MultTransposeMatrixdARB),
+ NAME_FUNC_OFFSET(15754, glMultTransposeMatrixfARB, glMultTransposeMatrixfARB, NULL, _gloffset_MultTransposeMatrixfARB),
+ NAME_FUNC_OFFSET(15777, glSampleCoverageARB, glSampleCoverageARB, NULL, _gloffset_SampleCoverageARB),
+ NAME_FUNC_OFFSET(15794, glCompressedTexImage1DARB, glCompressedTexImage1DARB, NULL, _gloffset_CompressedTexImage1DARB),
+ NAME_FUNC_OFFSET(15817, glCompressedTexImage2DARB, glCompressedTexImage2DARB, NULL, _gloffset_CompressedTexImage2DARB),
+ NAME_FUNC_OFFSET(15840, glCompressedTexImage3DARB, glCompressedTexImage3DARB, NULL, _gloffset_CompressedTexImage3DARB),
+ NAME_FUNC_OFFSET(15863, glCompressedTexSubImage1DARB, glCompressedTexSubImage1DARB, NULL, _gloffset_CompressedTexSubImage1DARB),
+ NAME_FUNC_OFFSET(15889, glCompressedTexSubImage2DARB, glCompressedTexSubImage2DARB, NULL, _gloffset_CompressedTexSubImage2DARB),
+ NAME_FUNC_OFFSET(15915, glCompressedTexSubImage3DARB, glCompressedTexSubImage3DARB, NULL, _gloffset_CompressedTexSubImage3DARB),
+ NAME_FUNC_OFFSET(15941, glGetCompressedTexImageARB, glGetCompressedTexImageARB, NULL, _gloffset_GetCompressedTexImageARB),
+ NAME_FUNC_OFFSET(15965, glDisableVertexAttribArrayARB, glDisableVertexAttribArrayARB, NULL, _gloffset_DisableVertexAttribArrayARB),
+ NAME_FUNC_OFFSET(15992, glEnableVertexAttribArrayARB, glEnableVertexAttribArrayARB, NULL, _gloffset_EnableVertexAttribArrayARB),
+ NAME_FUNC_OFFSET(16018, glGetVertexAttribdvARB, glGetVertexAttribdvARB, NULL, _gloffset_GetVertexAttribdvARB),
+ NAME_FUNC_OFFSET(16038, glGetVertexAttribfvARB, glGetVertexAttribfvARB, NULL, _gloffset_GetVertexAttribfvARB),
+ NAME_FUNC_OFFSET(16058, glGetVertexAttribivARB, glGetVertexAttribivARB, NULL, _gloffset_GetVertexAttribivARB),
+ NAME_FUNC_OFFSET(16078, glProgramEnvParameter4dARB, glProgramEnvParameter4dARB, NULL, _gloffset_ProgramEnvParameter4dARB),
+ NAME_FUNC_OFFSET(16101, glProgramEnvParameter4dvARB, glProgramEnvParameter4dvARB, NULL, _gloffset_ProgramEnvParameter4dvARB),
+ NAME_FUNC_OFFSET(16125, glProgramEnvParameter4fARB, glProgramEnvParameter4fARB, NULL, _gloffset_ProgramEnvParameter4fARB),
+ NAME_FUNC_OFFSET(16148, glProgramEnvParameter4fvARB, glProgramEnvParameter4fvARB, NULL, _gloffset_ProgramEnvParameter4fvARB),
+ NAME_FUNC_OFFSET(16172, glVertexAttrib1dARB, glVertexAttrib1dARB, NULL, _gloffset_VertexAttrib1dARB),
+ NAME_FUNC_OFFSET(16189, glVertexAttrib1dvARB, glVertexAttrib1dvARB, NULL, _gloffset_VertexAttrib1dvARB),
+ NAME_FUNC_OFFSET(16207, glVertexAttrib1fARB, glVertexAttrib1fARB, NULL, _gloffset_VertexAttrib1fARB),
+ NAME_FUNC_OFFSET(16224, glVertexAttrib1fvARB, glVertexAttrib1fvARB, NULL, _gloffset_VertexAttrib1fvARB),
+ NAME_FUNC_OFFSET(16242, glVertexAttrib1sARB, glVertexAttrib1sARB, NULL, _gloffset_VertexAttrib1sARB),
+ NAME_FUNC_OFFSET(16259, glVertexAttrib1svARB, glVertexAttrib1svARB, NULL, _gloffset_VertexAttrib1svARB),
+ NAME_FUNC_OFFSET(16277, glVertexAttrib2dARB, glVertexAttrib2dARB, NULL, _gloffset_VertexAttrib2dARB),
+ NAME_FUNC_OFFSET(16294, glVertexAttrib2dvARB, glVertexAttrib2dvARB, NULL, _gloffset_VertexAttrib2dvARB),
+ NAME_FUNC_OFFSET(16312, glVertexAttrib2fARB, glVertexAttrib2fARB, NULL, _gloffset_VertexAttrib2fARB),
+ NAME_FUNC_OFFSET(16329, glVertexAttrib2fvARB, glVertexAttrib2fvARB, NULL, _gloffset_VertexAttrib2fvARB),
+ NAME_FUNC_OFFSET(16347, glVertexAttrib2sARB, glVertexAttrib2sARB, NULL, _gloffset_VertexAttrib2sARB),
+ NAME_FUNC_OFFSET(16364, glVertexAttrib2svARB, glVertexAttrib2svARB, NULL, _gloffset_VertexAttrib2svARB),
+ NAME_FUNC_OFFSET(16382, glVertexAttrib3dARB, glVertexAttrib3dARB, NULL, _gloffset_VertexAttrib3dARB),
+ NAME_FUNC_OFFSET(16399, glVertexAttrib3dvARB, glVertexAttrib3dvARB, NULL, _gloffset_VertexAttrib3dvARB),
+ NAME_FUNC_OFFSET(16417, glVertexAttrib3fARB, glVertexAttrib3fARB, NULL, _gloffset_VertexAttrib3fARB),
+ NAME_FUNC_OFFSET(16434, glVertexAttrib3fvARB, glVertexAttrib3fvARB, NULL, _gloffset_VertexAttrib3fvARB),
+ NAME_FUNC_OFFSET(16452, glVertexAttrib3sARB, glVertexAttrib3sARB, NULL, _gloffset_VertexAttrib3sARB),
+ NAME_FUNC_OFFSET(16469, glVertexAttrib3svARB, glVertexAttrib3svARB, NULL, _gloffset_VertexAttrib3svARB),
+ NAME_FUNC_OFFSET(16487, glVertexAttrib4NbvARB, glVertexAttrib4NbvARB, NULL, _gloffset_VertexAttrib4NbvARB),
+ NAME_FUNC_OFFSET(16506, glVertexAttrib4NivARB, glVertexAttrib4NivARB, NULL, _gloffset_VertexAttrib4NivARB),
+ NAME_FUNC_OFFSET(16525, glVertexAttrib4NsvARB, glVertexAttrib4NsvARB, NULL, _gloffset_VertexAttrib4NsvARB),
+ NAME_FUNC_OFFSET(16544, glVertexAttrib4NubARB, glVertexAttrib4NubARB, NULL, _gloffset_VertexAttrib4NubARB),
+ NAME_FUNC_OFFSET(16563, glVertexAttrib4NubvARB, glVertexAttrib4NubvARB, NULL, _gloffset_VertexAttrib4NubvARB),
+ NAME_FUNC_OFFSET(16583, glVertexAttrib4NuivARB, glVertexAttrib4NuivARB, NULL, _gloffset_VertexAttrib4NuivARB),
+ NAME_FUNC_OFFSET(16603, glVertexAttrib4NusvARB, glVertexAttrib4NusvARB, NULL, _gloffset_VertexAttrib4NusvARB),
+ NAME_FUNC_OFFSET(16623, glVertexAttrib4bvARB, glVertexAttrib4bvARB, NULL, _gloffset_VertexAttrib4bvARB),
+ NAME_FUNC_OFFSET(16641, glVertexAttrib4dARB, glVertexAttrib4dARB, NULL, _gloffset_VertexAttrib4dARB),
+ NAME_FUNC_OFFSET(16658, glVertexAttrib4dvARB, glVertexAttrib4dvARB, NULL, _gloffset_VertexAttrib4dvARB),
+ NAME_FUNC_OFFSET(16676, glVertexAttrib4fARB, glVertexAttrib4fARB, NULL, _gloffset_VertexAttrib4fARB),
+ NAME_FUNC_OFFSET(16693, glVertexAttrib4fvARB, glVertexAttrib4fvARB, NULL, _gloffset_VertexAttrib4fvARB),
+ NAME_FUNC_OFFSET(16711, glVertexAttrib4ivARB, glVertexAttrib4ivARB, NULL, _gloffset_VertexAttrib4ivARB),
+ NAME_FUNC_OFFSET(16729, glVertexAttrib4sARB, glVertexAttrib4sARB, NULL, _gloffset_VertexAttrib4sARB),
+ NAME_FUNC_OFFSET(16746, glVertexAttrib4svARB, glVertexAttrib4svARB, NULL, _gloffset_VertexAttrib4svARB),
+ NAME_FUNC_OFFSET(16764, glVertexAttrib4ubvARB, glVertexAttrib4ubvARB, NULL, _gloffset_VertexAttrib4ubvARB),
+ NAME_FUNC_OFFSET(16783, glVertexAttrib4uivARB, glVertexAttrib4uivARB, NULL, _gloffset_VertexAttrib4uivARB),
+ NAME_FUNC_OFFSET(16802, glVertexAttrib4usvARB, glVertexAttrib4usvARB, NULL, _gloffset_VertexAttrib4usvARB),
+ NAME_FUNC_OFFSET(16821, glVertexAttribPointerARB, glVertexAttribPointerARB, NULL, _gloffset_VertexAttribPointerARB),
+ NAME_FUNC_OFFSET(16843, glBindBufferARB, glBindBufferARB, NULL, _gloffset_BindBufferARB),
+ NAME_FUNC_OFFSET(16856, glBufferDataARB, glBufferDataARB, NULL, _gloffset_BufferDataARB),
+ NAME_FUNC_OFFSET(16869, glBufferSubDataARB, glBufferSubDataARB, NULL, _gloffset_BufferSubDataARB),
+ NAME_FUNC_OFFSET(16885, glDeleteBuffersARB, glDeleteBuffersARB, NULL, _gloffset_DeleteBuffersARB),
+ NAME_FUNC_OFFSET(16901, glGenBuffersARB, glGenBuffersARB, NULL, _gloffset_GenBuffersARB),
+ NAME_FUNC_OFFSET(16914, glGetBufferParameterivARB, glGetBufferParameterivARB, NULL, _gloffset_GetBufferParameterivARB),
+ NAME_FUNC_OFFSET(16937, glGetBufferPointervARB, glGetBufferPointervARB, NULL, _gloffset_GetBufferPointervARB),
+ NAME_FUNC_OFFSET(16957, glGetBufferSubDataARB, glGetBufferSubDataARB, NULL, _gloffset_GetBufferSubDataARB),
+ NAME_FUNC_OFFSET(16976, glIsBufferARB, glIsBufferARB, NULL, _gloffset_IsBufferARB),
+ NAME_FUNC_OFFSET(16987, glMapBufferARB, glMapBufferARB, NULL, _gloffset_MapBufferARB),
+ NAME_FUNC_OFFSET(16999, glUnmapBufferARB, glUnmapBufferARB, NULL, _gloffset_UnmapBufferARB),
+ NAME_FUNC_OFFSET(17013, glBeginQueryARB, glBeginQueryARB, NULL, _gloffset_BeginQueryARB),
+ NAME_FUNC_OFFSET(17026, glDeleteQueriesARB, glDeleteQueriesARB, NULL, _gloffset_DeleteQueriesARB),
+ NAME_FUNC_OFFSET(17042, glEndQueryARB, glEndQueryARB, NULL, _gloffset_EndQueryARB),
+ NAME_FUNC_OFFSET(17053, glGenQueriesARB, glGenQueriesARB, NULL, _gloffset_GenQueriesARB),
+ NAME_FUNC_OFFSET(17066, glGetQueryObjectivARB, glGetQueryObjectivARB, NULL, _gloffset_GetQueryObjectivARB),
+ NAME_FUNC_OFFSET(17085, glGetQueryObjectuivARB, glGetQueryObjectuivARB, NULL, _gloffset_GetQueryObjectuivARB),
+ NAME_FUNC_OFFSET(17105, glGetQueryivARB, glGetQueryivARB, NULL, _gloffset_GetQueryivARB),
+ NAME_FUNC_OFFSET(17118, glIsQueryARB, glIsQueryARB, NULL, _gloffset_IsQueryARB),
+ NAME_FUNC_OFFSET(17128, glCompileShaderARB, glCompileShaderARB, NULL, _gloffset_CompileShaderARB),
+ NAME_FUNC_OFFSET(17144, glGetActiveUniformARB, glGetActiveUniformARB, NULL, _gloffset_GetActiveUniformARB),
+ NAME_FUNC_OFFSET(17163, glGetShaderSourceARB, glGetShaderSourceARB, NULL, _gloffset_GetShaderSourceARB),
+ NAME_FUNC_OFFSET(17181, glGetUniformLocationARB, glGetUniformLocationARB, NULL, _gloffset_GetUniformLocationARB),
+ NAME_FUNC_OFFSET(17202, glGetUniformfvARB, glGetUniformfvARB, NULL, _gloffset_GetUniformfvARB),
+ NAME_FUNC_OFFSET(17217, glGetUniformivARB, glGetUniformivARB, NULL, _gloffset_GetUniformivARB),
+ NAME_FUNC_OFFSET(17232, glLinkProgramARB, glLinkProgramARB, NULL, _gloffset_LinkProgramARB),
+ NAME_FUNC_OFFSET(17246, glShaderSourceARB, glShaderSourceARB, NULL, _gloffset_ShaderSourceARB),
+ NAME_FUNC_OFFSET(17261, glUniform1fARB, glUniform1fARB, NULL, _gloffset_Uniform1fARB),
+ NAME_FUNC_OFFSET(17273, glUniform1fvARB, glUniform1fvARB, NULL, _gloffset_Uniform1fvARB),
+ NAME_FUNC_OFFSET(17286, glUniform1iARB, glUniform1iARB, NULL, _gloffset_Uniform1iARB),
+ NAME_FUNC_OFFSET(17298, glUniform1ivARB, glUniform1ivARB, NULL, _gloffset_Uniform1ivARB),
+ NAME_FUNC_OFFSET(17311, glUniform2fARB, glUniform2fARB, NULL, _gloffset_Uniform2fARB),
+ NAME_FUNC_OFFSET(17323, glUniform2fvARB, glUniform2fvARB, NULL, _gloffset_Uniform2fvARB),
+ NAME_FUNC_OFFSET(17336, glUniform2iARB, glUniform2iARB, NULL, _gloffset_Uniform2iARB),
+ NAME_FUNC_OFFSET(17348, glUniform2ivARB, glUniform2ivARB, NULL, _gloffset_Uniform2ivARB),
+ NAME_FUNC_OFFSET(17361, glUniform3fARB, glUniform3fARB, NULL, _gloffset_Uniform3fARB),
+ NAME_FUNC_OFFSET(17373, glUniform3fvARB, glUniform3fvARB, NULL, _gloffset_Uniform3fvARB),
+ NAME_FUNC_OFFSET(17386, glUniform3iARB, glUniform3iARB, NULL, _gloffset_Uniform3iARB),
+ NAME_FUNC_OFFSET(17398, glUniform3ivARB, glUniform3ivARB, NULL, _gloffset_Uniform3ivARB),
+ NAME_FUNC_OFFSET(17411, glUniform4fARB, glUniform4fARB, NULL, _gloffset_Uniform4fARB),
+ NAME_FUNC_OFFSET(17423, glUniform4fvARB, glUniform4fvARB, NULL, _gloffset_Uniform4fvARB),
+ NAME_FUNC_OFFSET(17436, glUniform4iARB, glUniform4iARB, NULL, _gloffset_Uniform4iARB),
+ NAME_FUNC_OFFSET(17448, glUniform4ivARB, glUniform4ivARB, NULL, _gloffset_Uniform4ivARB),
+ NAME_FUNC_OFFSET(17461, glUniformMatrix2fvARB, glUniformMatrix2fvARB, NULL, _gloffset_UniformMatrix2fvARB),
+ NAME_FUNC_OFFSET(17480, glUniformMatrix3fvARB, glUniformMatrix3fvARB, NULL, _gloffset_UniformMatrix3fvARB),
+ NAME_FUNC_OFFSET(17499, glUniformMatrix4fvARB, glUniformMatrix4fvARB, NULL, _gloffset_UniformMatrix4fvARB),
+ NAME_FUNC_OFFSET(17518, glUseProgramObjectARB, glUseProgramObjectARB, NULL, _gloffset_UseProgramObjectARB),
+ NAME_FUNC_OFFSET(17531, glValidateProgramARB, glValidateProgramARB, NULL, _gloffset_ValidateProgramARB),
+ NAME_FUNC_OFFSET(17549, glBindAttribLocationARB, glBindAttribLocationARB, NULL, _gloffset_BindAttribLocationARB),
+ NAME_FUNC_OFFSET(17570, glGetActiveAttribARB, glGetActiveAttribARB, NULL, _gloffset_GetActiveAttribARB),
+ NAME_FUNC_OFFSET(17588, glGetAttribLocationARB, glGetAttribLocationARB, NULL, _gloffset_GetAttribLocationARB),
+ NAME_FUNC_OFFSET(17608, glDrawBuffersARB, glDrawBuffersARB, NULL, _gloffset_DrawBuffersARB),
+ NAME_FUNC_OFFSET(17622, glDrawBuffersARB, glDrawBuffersARB, NULL, _gloffset_DrawBuffersARB),
+ NAME_FUNC_OFFSET(17639, gl_dispatch_stub_572, gl_dispatch_stub_572, NULL, _gloffset_SampleMaskSGIS),
+ NAME_FUNC_OFFSET(17655, gl_dispatch_stub_573, gl_dispatch_stub_573, NULL, _gloffset_SamplePatternSGIS),
+ NAME_FUNC_OFFSET(17674, glPointParameterfEXT, glPointParameterfEXT, NULL, _gloffset_PointParameterfEXT),
NAME_FUNC_OFFSET(17692, glPointParameterfEXT, glPointParameterfEXT, NULL, _gloffset_PointParameterfEXT),
- NAME_FUNC_OFFSET(17714, glPointParameterfvEXT, glPointParameterfvEXT, NULL, _gloffset_PointParameterfvEXT),
- NAME_FUNC_OFFSET(17733, glPointParameterfvEXT, glPointParameterfvEXT, NULL, _gloffset_PointParameterfvEXT),
- NAME_FUNC_OFFSET(17755, glPointParameterfvEXT, glPointParameterfvEXT, NULL, _gloffset_PointParameterfvEXT),
- NAME_FUNC_OFFSET(17778, glSecondaryColor3bEXT, glSecondaryColor3bEXT, NULL, _gloffset_SecondaryColor3bEXT),
- NAME_FUNC_OFFSET(17797, glSecondaryColor3bvEXT, glSecondaryColor3bvEXT, NULL, _gloffset_SecondaryColor3bvEXT),
- NAME_FUNC_OFFSET(17817, glSecondaryColor3dEXT, glSecondaryColor3dEXT, NULL, _gloffset_SecondaryColor3dEXT),
- NAME_FUNC_OFFSET(17836, glSecondaryColor3dvEXT, glSecondaryColor3dvEXT, NULL, _gloffset_SecondaryColor3dvEXT),
- NAME_FUNC_OFFSET(17856, glSecondaryColor3fEXT, glSecondaryColor3fEXT, NULL, _gloffset_SecondaryColor3fEXT),
- NAME_FUNC_OFFSET(17875, glSecondaryColor3fvEXT, glSecondaryColor3fvEXT, NULL, _gloffset_SecondaryColor3fvEXT),
- NAME_FUNC_OFFSET(17895, glSecondaryColor3iEXT, glSecondaryColor3iEXT, NULL, _gloffset_SecondaryColor3iEXT),
- NAME_FUNC_OFFSET(17914, glSecondaryColor3ivEXT, glSecondaryColor3ivEXT, NULL, _gloffset_SecondaryColor3ivEXT),
- NAME_FUNC_OFFSET(17934, glSecondaryColor3sEXT, glSecondaryColor3sEXT, NULL, _gloffset_SecondaryColor3sEXT),
- NAME_FUNC_OFFSET(17953, glSecondaryColor3svEXT, glSecondaryColor3svEXT, NULL, _gloffset_SecondaryColor3svEXT),
- NAME_FUNC_OFFSET(17973, glSecondaryColor3ubEXT, glSecondaryColor3ubEXT, NULL, _gloffset_SecondaryColor3ubEXT),
- NAME_FUNC_OFFSET(17993, glSecondaryColor3ubvEXT, glSecondaryColor3ubvEXT, NULL, _gloffset_SecondaryColor3ubvEXT),
- NAME_FUNC_OFFSET(18014, glSecondaryColor3uiEXT, glSecondaryColor3uiEXT, NULL, _gloffset_SecondaryColor3uiEXT),
- NAME_FUNC_OFFSET(18034, glSecondaryColor3uivEXT, glSecondaryColor3uivEXT, NULL, _gloffset_SecondaryColor3uivEXT),
- NAME_FUNC_OFFSET(18055, glSecondaryColor3usEXT, glSecondaryColor3usEXT, NULL, _gloffset_SecondaryColor3usEXT),
- NAME_FUNC_OFFSET(18075, glSecondaryColor3usvEXT, glSecondaryColor3usvEXT, NULL, _gloffset_SecondaryColor3usvEXT),
- NAME_FUNC_OFFSET(18096, glSecondaryColorPointerEXT, glSecondaryColorPointerEXT, NULL, _gloffset_SecondaryColorPointerEXT),
- NAME_FUNC_OFFSET(18120, glMultiDrawArraysEXT, glMultiDrawArraysEXT, NULL, _gloffset_MultiDrawArraysEXT),
- NAME_FUNC_OFFSET(18138, glMultiDrawElementsEXT, glMultiDrawElementsEXT, NULL, _gloffset_MultiDrawElementsEXT),
- NAME_FUNC_OFFSET(18158, glFogCoordPointerEXT, glFogCoordPointerEXT, NULL, _gloffset_FogCoordPointerEXT),
- NAME_FUNC_OFFSET(18176, glFogCoorddEXT, glFogCoorddEXT, NULL, _gloffset_FogCoorddEXT),
- NAME_FUNC_OFFSET(18188, glFogCoorddvEXT, glFogCoorddvEXT, NULL, _gloffset_FogCoorddvEXT),
- NAME_FUNC_OFFSET(18201, glFogCoordfEXT, glFogCoordfEXT, NULL, _gloffset_FogCoordfEXT),
- NAME_FUNC_OFFSET(18213, glFogCoordfvEXT, glFogCoordfvEXT, NULL, _gloffset_FogCoordfvEXT),
- NAME_FUNC_OFFSET(18226, glBlendFuncSeparateEXT, glBlendFuncSeparateEXT, NULL, _gloffset_BlendFuncSeparateEXT),
- NAME_FUNC_OFFSET(18246, glBlendFuncSeparateEXT, glBlendFuncSeparateEXT, NULL, _gloffset_BlendFuncSeparateEXT),
- NAME_FUNC_OFFSET(18270, glWindowPos2dMESA, glWindowPos2dMESA, NULL, _gloffset_WindowPos2dMESA),
- NAME_FUNC_OFFSET(18284, glWindowPos2dMESA, glWindowPos2dMESA, NULL, _gloffset_WindowPos2dMESA),
- NAME_FUNC_OFFSET(18301, glWindowPos2dvMESA, glWindowPos2dvMESA, NULL, _gloffset_WindowPos2dvMESA),
- NAME_FUNC_OFFSET(18316, glWindowPos2dvMESA, glWindowPos2dvMESA, NULL, _gloffset_WindowPos2dvMESA),
- NAME_FUNC_OFFSET(18334, glWindowPos2fMESA, glWindowPos2fMESA, NULL, _gloffset_WindowPos2fMESA),
- NAME_FUNC_OFFSET(18348, glWindowPos2fMESA, glWindowPos2fMESA, NULL, _gloffset_WindowPos2fMESA),
- NAME_FUNC_OFFSET(18365, glWindowPos2fvMESA, glWindowPos2fvMESA, NULL, _gloffset_WindowPos2fvMESA),
- NAME_FUNC_OFFSET(18380, glWindowPos2fvMESA, glWindowPos2fvMESA, NULL, _gloffset_WindowPos2fvMESA),
- NAME_FUNC_OFFSET(18398, glWindowPos2iMESA, glWindowPos2iMESA, NULL, _gloffset_WindowPos2iMESA),
- NAME_FUNC_OFFSET(18412, glWindowPos2iMESA, glWindowPos2iMESA, NULL, _gloffset_WindowPos2iMESA),
- NAME_FUNC_OFFSET(18429, glWindowPos2ivMESA, glWindowPos2ivMESA, NULL, _gloffset_WindowPos2ivMESA),
- NAME_FUNC_OFFSET(18444, glWindowPos2ivMESA, glWindowPos2ivMESA, NULL, _gloffset_WindowPos2ivMESA),
- NAME_FUNC_OFFSET(18462, glWindowPos2sMESA, glWindowPos2sMESA, NULL, _gloffset_WindowPos2sMESA),
- NAME_FUNC_OFFSET(18476, glWindowPos2sMESA, glWindowPos2sMESA, NULL, _gloffset_WindowPos2sMESA),
- NAME_FUNC_OFFSET(18493, glWindowPos2svMESA, glWindowPos2svMESA, NULL, _gloffset_WindowPos2svMESA),
- NAME_FUNC_OFFSET(18508, glWindowPos2svMESA, glWindowPos2svMESA, NULL, _gloffset_WindowPos2svMESA),
- NAME_FUNC_OFFSET(18526, glWindowPos3dMESA, glWindowPos3dMESA, NULL, _gloffset_WindowPos3dMESA),
- NAME_FUNC_OFFSET(18540, glWindowPos3dMESA, glWindowPos3dMESA, NULL, _gloffset_WindowPos3dMESA),
- NAME_FUNC_OFFSET(18557, glWindowPos3dvMESA, glWindowPos3dvMESA, NULL, _gloffset_WindowPos3dvMESA),
- NAME_FUNC_OFFSET(18572, glWindowPos3dvMESA, glWindowPos3dvMESA, NULL, _gloffset_WindowPos3dvMESA),
- NAME_FUNC_OFFSET(18590, glWindowPos3fMESA, glWindowPos3fMESA, NULL, _gloffset_WindowPos3fMESA),
- NAME_FUNC_OFFSET(18604, glWindowPos3fMESA, glWindowPos3fMESA, NULL, _gloffset_WindowPos3fMESA),
- NAME_FUNC_OFFSET(18621, glWindowPos3fvMESA, glWindowPos3fvMESA, NULL, _gloffset_WindowPos3fvMESA),
- NAME_FUNC_OFFSET(18636, glWindowPos3fvMESA, glWindowPos3fvMESA, NULL, _gloffset_WindowPos3fvMESA),
- NAME_FUNC_OFFSET(18654, glWindowPos3iMESA, glWindowPos3iMESA, NULL, _gloffset_WindowPos3iMESA),
- NAME_FUNC_OFFSET(18668, glWindowPos3iMESA, glWindowPos3iMESA, NULL, _gloffset_WindowPos3iMESA),
- NAME_FUNC_OFFSET(18685, glWindowPos3ivMESA, glWindowPos3ivMESA, NULL, _gloffset_WindowPos3ivMESA),
- NAME_FUNC_OFFSET(18700, glWindowPos3ivMESA, glWindowPos3ivMESA, NULL, _gloffset_WindowPos3ivMESA),
- NAME_FUNC_OFFSET(18718, glWindowPos3sMESA, glWindowPos3sMESA, NULL, _gloffset_WindowPos3sMESA),
- NAME_FUNC_OFFSET(18732, glWindowPos3sMESA, glWindowPos3sMESA, NULL, _gloffset_WindowPos3sMESA),
- NAME_FUNC_OFFSET(18749, glWindowPos3svMESA, glWindowPos3svMESA, NULL, _gloffset_WindowPos3svMESA),
- NAME_FUNC_OFFSET(18764, glWindowPos3svMESA, glWindowPos3svMESA, NULL, _gloffset_WindowPos3svMESA),
- NAME_FUNC_OFFSET(18782, glBindProgramNV, glBindProgramNV, NULL, _gloffset_BindProgramNV),
- NAME_FUNC_OFFSET(18799, glDeleteProgramsNV, glDeleteProgramsNV, NULL, _gloffset_DeleteProgramsNV),
- NAME_FUNC_OFFSET(18819, glGenProgramsNV, glGenProgramsNV, NULL, _gloffset_GenProgramsNV),
- NAME_FUNC_OFFSET(18836, glGetVertexAttribPointervNV, glGetVertexAttribPointervNV, NULL, _gloffset_GetVertexAttribPointervNV),
- NAME_FUNC_OFFSET(18862, glGetVertexAttribPointervNV, glGetVertexAttribPointervNV, NULL, _gloffset_GetVertexAttribPointervNV),
- NAME_FUNC_OFFSET(18891, glIsProgramNV, glIsProgramNV, NULL, _gloffset_IsProgramNV),
- NAME_FUNC_OFFSET(18906, glPointParameteriNV, glPointParameteriNV, NULL, _gloffset_PointParameteriNV),
- NAME_FUNC_OFFSET(18924, glPointParameterivNV, glPointParameterivNV, NULL, _gloffset_PointParameterivNV),
- NAME_FUNC_OFFSET(18943, gl_dispatch_stub_753, gl_dispatch_stub_753, NULL, _gloffset_BlendEquationSeparateEXT),
- NAME_FUNC_OFFSET(18967, gl_dispatch_stub_753, gl_dispatch_stub_753, NULL, _gloffset_BlendEquationSeparateEXT),
- NAME_FUNC_OFFSET(18994, glBindFramebufferEXT, glBindFramebufferEXT, NULL, _gloffset_BindFramebufferEXT),
- NAME_FUNC_OFFSET(19012, glBindRenderbufferEXT, glBindRenderbufferEXT, NULL, _gloffset_BindRenderbufferEXT),
- NAME_FUNC_OFFSET(19031, glCheckFramebufferStatusEXT, glCheckFramebufferStatusEXT, NULL, _gloffset_CheckFramebufferStatusEXT),
- NAME_FUNC_OFFSET(19056, glDeleteFramebuffersEXT, glDeleteFramebuffersEXT, NULL, _gloffset_DeleteFramebuffersEXT),
- NAME_FUNC_OFFSET(19077, glDeleteRenderbuffersEXT, glDeleteRenderbuffersEXT, NULL, _gloffset_DeleteRenderbuffersEXT),
- NAME_FUNC_OFFSET(19099, glFramebufferRenderbufferEXT, glFramebufferRenderbufferEXT, NULL, _gloffset_FramebufferRenderbufferEXT),
- NAME_FUNC_OFFSET(19125, glFramebufferTexture1DEXT, glFramebufferTexture1DEXT, NULL, _gloffset_FramebufferTexture1DEXT),
- NAME_FUNC_OFFSET(19148, glFramebufferTexture2DEXT, glFramebufferTexture2DEXT, NULL, _gloffset_FramebufferTexture2DEXT),
- NAME_FUNC_OFFSET(19171, glFramebufferTexture3DEXT, glFramebufferTexture3DEXT, NULL, _gloffset_FramebufferTexture3DEXT),
- NAME_FUNC_OFFSET(19194, glGenFramebuffersEXT, glGenFramebuffersEXT, NULL, _gloffset_GenFramebuffersEXT),
- NAME_FUNC_OFFSET(19212, glGenRenderbuffersEXT, glGenRenderbuffersEXT, NULL, _gloffset_GenRenderbuffersEXT),
- NAME_FUNC_OFFSET(19231, glGenerateMipmapEXT, glGenerateMipmapEXT, NULL, _gloffset_GenerateMipmapEXT),
- NAME_FUNC_OFFSET(19248, glGetFramebufferAttachmentParameterivEXT, glGetFramebufferAttachmentParameterivEXT, NULL, _gloffset_GetFramebufferAttachmentParameterivEXT),
- NAME_FUNC_OFFSET(19286, glGetRenderbufferParameterivEXT, glGetRenderbufferParameterivEXT, NULL, _gloffset_GetRenderbufferParameterivEXT),
- NAME_FUNC_OFFSET(19315, glIsFramebufferEXT, glIsFramebufferEXT, NULL, _gloffset_IsFramebufferEXT),
- NAME_FUNC_OFFSET(19331, glIsRenderbufferEXT, glIsRenderbufferEXT, NULL, _gloffset_IsRenderbufferEXT),
- NAME_FUNC_OFFSET(19348, glRenderbufferStorageEXT, glRenderbufferStorageEXT, NULL, _gloffset_RenderbufferStorageEXT),
- NAME_FUNC_OFFSET(19370, gl_dispatch_stub_771, gl_dispatch_stub_771, NULL, _gloffset_BlitFramebufferEXT),
- NAME_FUNC_OFFSET(19388, glFramebufferTextureLayerEXT, glFramebufferTextureLayerEXT, NULL, _gloffset_FramebufferTextureLayerEXT),
+ NAME_FUNC_OFFSET(17713, glPointParameterfEXT, glPointParameterfEXT, NULL, _gloffset_PointParameterfEXT),
+ NAME_FUNC_OFFSET(17735, glPointParameterfvEXT, glPointParameterfvEXT, NULL, _gloffset_PointParameterfvEXT),
+ NAME_FUNC_OFFSET(17754, glPointParameterfvEXT, glPointParameterfvEXT, NULL, _gloffset_PointParameterfvEXT),
+ NAME_FUNC_OFFSET(17776, glPointParameterfvEXT, glPointParameterfvEXT, NULL, _gloffset_PointParameterfvEXT),
+ NAME_FUNC_OFFSET(17799, glSecondaryColor3bEXT, glSecondaryColor3bEXT, NULL, _gloffset_SecondaryColor3bEXT),
+ NAME_FUNC_OFFSET(17818, glSecondaryColor3bvEXT, glSecondaryColor3bvEXT, NULL, _gloffset_SecondaryColor3bvEXT),
+ NAME_FUNC_OFFSET(17838, glSecondaryColor3dEXT, glSecondaryColor3dEXT, NULL, _gloffset_SecondaryColor3dEXT),
+ NAME_FUNC_OFFSET(17857, glSecondaryColor3dvEXT, glSecondaryColor3dvEXT, NULL, _gloffset_SecondaryColor3dvEXT),
+ NAME_FUNC_OFFSET(17877, glSecondaryColor3fEXT, glSecondaryColor3fEXT, NULL, _gloffset_SecondaryColor3fEXT),
+ NAME_FUNC_OFFSET(17896, glSecondaryColor3fvEXT, glSecondaryColor3fvEXT, NULL, _gloffset_SecondaryColor3fvEXT),
+ NAME_FUNC_OFFSET(17916, glSecondaryColor3iEXT, glSecondaryColor3iEXT, NULL, _gloffset_SecondaryColor3iEXT),
+ NAME_FUNC_OFFSET(17935, glSecondaryColor3ivEXT, glSecondaryColor3ivEXT, NULL, _gloffset_SecondaryColor3ivEXT),
+ NAME_FUNC_OFFSET(17955, glSecondaryColor3sEXT, glSecondaryColor3sEXT, NULL, _gloffset_SecondaryColor3sEXT),
+ NAME_FUNC_OFFSET(17974, glSecondaryColor3svEXT, glSecondaryColor3svEXT, NULL, _gloffset_SecondaryColor3svEXT),
+ NAME_FUNC_OFFSET(17994, glSecondaryColor3ubEXT, glSecondaryColor3ubEXT, NULL, _gloffset_SecondaryColor3ubEXT),
+ NAME_FUNC_OFFSET(18014, glSecondaryColor3ubvEXT, glSecondaryColor3ubvEXT, NULL, _gloffset_SecondaryColor3ubvEXT),
+ NAME_FUNC_OFFSET(18035, glSecondaryColor3uiEXT, glSecondaryColor3uiEXT, NULL, _gloffset_SecondaryColor3uiEXT),
+ NAME_FUNC_OFFSET(18055, glSecondaryColor3uivEXT, glSecondaryColor3uivEXT, NULL, _gloffset_SecondaryColor3uivEXT),
+ NAME_FUNC_OFFSET(18076, glSecondaryColor3usEXT, glSecondaryColor3usEXT, NULL, _gloffset_SecondaryColor3usEXT),
+ NAME_FUNC_OFFSET(18096, glSecondaryColor3usvEXT, glSecondaryColor3usvEXT, NULL, _gloffset_SecondaryColor3usvEXT),
+ NAME_FUNC_OFFSET(18117, glSecondaryColorPointerEXT, glSecondaryColorPointerEXT, NULL, _gloffset_SecondaryColorPointerEXT),
+ NAME_FUNC_OFFSET(18141, glMultiDrawArraysEXT, glMultiDrawArraysEXT, NULL, _gloffset_MultiDrawArraysEXT),
+ NAME_FUNC_OFFSET(18159, glMultiDrawElementsEXT, glMultiDrawElementsEXT, NULL, _gloffset_MultiDrawElementsEXT),
+ NAME_FUNC_OFFSET(18179, glFogCoordPointerEXT, glFogCoordPointerEXT, NULL, _gloffset_FogCoordPointerEXT),
+ NAME_FUNC_OFFSET(18197, glFogCoorddEXT, glFogCoorddEXT, NULL, _gloffset_FogCoorddEXT),
+ NAME_FUNC_OFFSET(18209, glFogCoorddvEXT, glFogCoorddvEXT, NULL, _gloffset_FogCoorddvEXT),
+ NAME_FUNC_OFFSET(18222, glFogCoordfEXT, glFogCoordfEXT, NULL, _gloffset_FogCoordfEXT),
+ NAME_FUNC_OFFSET(18234, glFogCoordfvEXT, glFogCoordfvEXT, NULL, _gloffset_FogCoordfvEXT),
+ NAME_FUNC_OFFSET(18247, glBlendFuncSeparateEXT, glBlendFuncSeparateEXT, NULL, _gloffset_BlendFuncSeparateEXT),
+ NAME_FUNC_OFFSET(18267, glBlendFuncSeparateEXT, glBlendFuncSeparateEXT, NULL, _gloffset_BlendFuncSeparateEXT),
+ NAME_FUNC_OFFSET(18291, glWindowPos2dMESA, glWindowPos2dMESA, NULL, _gloffset_WindowPos2dMESA),
+ NAME_FUNC_OFFSET(18305, glWindowPos2dMESA, glWindowPos2dMESA, NULL, _gloffset_WindowPos2dMESA),
+ NAME_FUNC_OFFSET(18322, glWindowPos2dvMESA, glWindowPos2dvMESA, NULL, _gloffset_WindowPos2dvMESA),
+ NAME_FUNC_OFFSET(18337, glWindowPos2dvMESA, glWindowPos2dvMESA, NULL, _gloffset_WindowPos2dvMESA),
+ NAME_FUNC_OFFSET(18355, glWindowPos2fMESA, glWindowPos2fMESA, NULL, _gloffset_WindowPos2fMESA),
+ NAME_FUNC_OFFSET(18369, glWindowPos2fMESA, glWindowPos2fMESA, NULL, _gloffset_WindowPos2fMESA),
+ NAME_FUNC_OFFSET(18386, glWindowPos2fvMESA, glWindowPos2fvMESA, NULL, _gloffset_WindowPos2fvMESA),
+ NAME_FUNC_OFFSET(18401, glWindowPos2fvMESA, glWindowPos2fvMESA, NULL, _gloffset_WindowPos2fvMESA),
+ NAME_FUNC_OFFSET(18419, glWindowPos2iMESA, glWindowPos2iMESA, NULL, _gloffset_WindowPos2iMESA),
+ NAME_FUNC_OFFSET(18433, glWindowPos2iMESA, glWindowPos2iMESA, NULL, _gloffset_WindowPos2iMESA),
+ NAME_FUNC_OFFSET(18450, glWindowPos2ivMESA, glWindowPos2ivMESA, NULL, _gloffset_WindowPos2ivMESA),
+ NAME_FUNC_OFFSET(18465, glWindowPos2ivMESA, glWindowPos2ivMESA, NULL, _gloffset_WindowPos2ivMESA),
+ NAME_FUNC_OFFSET(18483, glWindowPos2sMESA, glWindowPos2sMESA, NULL, _gloffset_WindowPos2sMESA),
+ NAME_FUNC_OFFSET(18497, glWindowPos2sMESA, glWindowPos2sMESA, NULL, _gloffset_WindowPos2sMESA),
+ NAME_FUNC_OFFSET(18514, glWindowPos2svMESA, glWindowPos2svMESA, NULL, _gloffset_WindowPos2svMESA),
+ NAME_FUNC_OFFSET(18529, glWindowPos2svMESA, glWindowPos2svMESA, NULL, _gloffset_WindowPos2svMESA),
+ NAME_FUNC_OFFSET(18547, glWindowPos3dMESA, glWindowPos3dMESA, NULL, _gloffset_WindowPos3dMESA),
+ NAME_FUNC_OFFSET(18561, glWindowPos3dMESA, glWindowPos3dMESA, NULL, _gloffset_WindowPos3dMESA),
+ NAME_FUNC_OFFSET(18578, glWindowPos3dvMESA, glWindowPos3dvMESA, NULL, _gloffset_WindowPos3dvMESA),
+ NAME_FUNC_OFFSET(18593, glWindowPos3dvMESA, glWindowPos3dvMESA, NULL, _gloffset_WindowPos3dvMESA),
+ NAME_FUNC_OFFSET(18611, glWindowPos3fMESA, glWindowPos3fMESA, NULL, _gloffset_WindowPos3fMESA),
+ NAME_FUNC_OFFSET(18625, glWindowPos3fMESA, glWindowPos3fMESA, NULL, _gloffset_WindowPos3fMESA),
+ NAME_FUNC_OFFSET(18642, glWindowPos3fvMESA, glWindowPos3fvMESA, NULL, _gloffset_WindowPos3fvMESA),
+ NAME_FUNC_OFFSET(18657, glWindowPos3fvMESA, glWindowPos3fvMESA, NULL, _gloffset_WindowPos3fvMESA),
+ NAME_FUNC_OFFSET(18675, glWindowPos3iMESA, glWindowPos3iMESA, NULL, _gloffset_WindowPos3iMESA),
+ NAME_FUNC_OFFSET(18689, glWindowPos3iMESA, glWindowPos3iMESA, NULL, _gloffset_WindowPos3iMESA),
+ NAME_FUNC_OFFSET(18706, glWindowPos3ivMESA, glWindowPos3ivMESA, NULL, _gloffset_WindowPos3ivMESA),
+ NAME_FUNC_OFFSET(18721, glWindowPos3ivMESA, glWindowPos3ivMESA, NULL, _gloffset_WindowPos3ivMESA),
+ NAME_FUNC_OFFSET(18739, glWindowPos3sMESA, glWindowPos3sMESA, NULL, _gloffset_WindowPos3sMESA),
+ NAME_FUNC_OFFSET(18753, glWindowPos3sMESA, glWindowPos3sMESA, NULL, _gloffset_WindowPos3sMESA),
+ NAME_FUNC_OFFSET(18770, glWindowPos3svMESA, glWindowPos3svMESA, NULL, _gloffset_WindowPos3svMESA),
+ NAME_FUNC_OFFSET(18785, glWindowPos3svMESA, glWindowPos3svMESA, NULL, _gloffset_WindowPos3svMESA),
+ NAME_FUNC_OFFSET(18803, glBindProgramNV, glBindProgramNV, NULL, _gloffset_BindProgramNV),
+ NAME_FUNC_OFFSET(18820, glDeleteProgramsNV, glDeleteProgramsNV, NULL, _gloffset_DeleteProgramsNV),
+ NAME_FUNC_OFFSET(18840, glGenProgramsNV, glGenProgramsNV, NULL, _gloffset_GenProgramsNV),
+ NAME_FUNC_OFFSET(18857, glGetVertexAttribPointervNV, glGetVertexAttribPointervNV, NULL, _gloffset_GetVertexAttribPointervNV),
+ NAME_FUNC_OFFSET(18883, glGetVertexAttribPointervNV, glGetVertexAttribPointervNV, NULL, _gloffset_GetVertexAttribPointervNV),
+ NAME_FUNC_OFFSET(18912, glIsProgramNV, glIsProgramNV, NULL, _gloffset_IsProgramNV),
+ NAME_FUNC_OFFSET(18927, glPointParameteriNV, glPointParameteriNV, NULL, _gloffset_PointParameteriNV),
+ NAME_FUNC_OFFSET(18945, glPointParameterivNV, glPointParameterivNV, NULL, _gloffset_PointParameterivNV),
+ NAME_FUNC_OFFSET(18964, gl_dispatch_stub_753, gl_dispatch_stub_753, NULL, _gloffset_BlendEquationSeparateEXT),
+ NAME_FUNC_OFFSET(18988, gl_dispatch_stub_753, gl_dispatch_stub_753, NULL, _gloffset_BlendEquationSeparateEXT),
+ NAME_FUNC_OFFSET(19015, glBindFramebufferEXT, glBindFramebufferEXT, NULL, _gloffset_BindFramebufferEXT),
+ NAME_FUNC_OFFSET(19033, glBindRenderbufferEXT, glBindRenderbufferEXT, NULL, _gloffset_BindRenderbufferEXT),
+ NAME_FUNC_OFFSET(19052, glCheckFramebufferStatusEXT, glCheckFramebufferStatusEXT, NULL, _gloffset_CheckFramebufferStatusEXT),
+ NAME_FUNC_OFFSET(19077, glDeleteFramebuffersEXT, glDeleteFramebuffersEXT, NULL, _gloffset_DeleteFramebuffersEXT),
+ NAME_FUNC_OFFSET(19098, glDeleteRenderbuffersEXT, glDeleteRenderbuffersEXT, NULL, _gloffset_DeleteRenderbuffersEXT),
+ NAME_FUNC_OFFSET(19120, glFramebufferRenderbufferEXT, glFramebufferRenderbufferEXT, NULL, _gloffset_FramebufferRenderbufferEXT),
+ NAME_FUNC_OFFSET(19146, glFramebufferTexture1DEXT, glFramebufferTexture1DEXT, NULL, _gloffset_FramebufferTexture1DEXT),
+ NAME_FUNC_OFFSET(19169, glFramebufferTexture2DEXT, glFramebufferTexture2DEXT, NULL, _gloffset_FramebufferTexture2DEXT),
+ NAME_FUNC_OFFSET(19192, glFramebufferTexture3DEXT, glFramebufferTexture3DEXT, NULL, _gloffset_FramebufferTexture3DEXT),
+ NAME_FUNC_OFFSET(19215, glGenFramebuffersEXT, glGenFramebuffersEXT, NULL, _gloffset_GenFramebuffersEXT),
+ NAME_FUNC_OFFSET(19233, glGenRenderbuffersEXT, glGenRenderbuffersEXT, NULL, _gloffset_GenRenderbuffersEXT),
+ NAME_FUNC_OFFSET(19252, glGenerateMipmapEXT, glGenerateMipmapEXT, NULL, _gloffset_GenerateMipmapEXT),
+ NAME_FUNC_OFFSET(19269, glGetFramebufferAttachmentParameterivEXT, glGetFramebufferAttachmentParameterivEXT, NULL, _gloffset_GetFramebufferAttachmentParameterivEXT),
+ NAME_FUNC_OFFSET(19307, glGetRenderbufferParameterivEXT, glGetRenderbufferParameterivEXT, NULL, _gloffset_GetRenderbufferParameterivEXT),
+ NAME_FUNC_OFFSET(19336, glIsFramebufferEXT, glIsFramebufferEXT, NULL, _gloffset_IsFramebufferEXT),
+ NAME_FUNC_OFFSET(19352, glIsRenderbufferEXT, glIsRenderbufferEXT, NULL, _gloffset_IsRenderbufferEXT),
+ NAME_FUNC_OFFSET(19369, glRenderbufferStorageEXT, glRenderbufferStorageEXT, NULL, _gloffset_RenderbufferStorageEXT),
+ NAME_FUNC_OFFSET(19391, gl_dispatch_stub_771, gl_dispatch_stub_771, NULL, _gloffset_BlitFramebufferEXT),
+ NAME_FUNC_OFFSET(19409, glFramebufferTextureLayerEXT, glFramebufferTextureLayerEXT, NULL, _gloffset_FramebufferTextureLayerEXT),
NAME_FUNC_OFFSET(-1, NULL, NULL, NULL, 0)
};
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index 2cc9a4323b..534fef00df 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -641,6 +641,8 @@ _mesa_init_exec_table(struct _glapi_table *exec)
/* ???. GL_EXT_depth_bounds_test */
SET_DepthBoundsEXT(exec, _mesa_DepthBoundsEXT);
+ SET_ProvokingVertexEXT(exec, _mesa_ProvokingVertexEXT);
+
/* ARB 1. GL_ARB_multitexture */
#if _HAVE_FULL_GL
SET_ActiveTextureARB(exec, _mesa_ActiveTextureARB);
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index bf53bd3467..eafe292a1f 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -592,6 +592,9 @@ _mesa_init_constants(GLcontext *ctx)
/* GL_ATI_envmap_bumpmap */
ctx->Const.SupportedBumpUnits = SUPPORTED_ATI_BUMP_UNITS;
+ /* GL_EXT_provoking_vertex */
+ ctx->Const.QuadsFollowProvokingVertexConvention = GL_TRUE;
+
/* sanity checks */
ASSERT(ctx->Const.MaxTextureUnits == MIN2(ctx->Const.MaxTextureImageUnits,
ctx->Const.MaxTextureCoordUnits));
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index a9c2c306ec..1eed27fe45 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -352,6 +352,9 @@ typedef enum
OPCODE_EVAL_P1,
OPCODE_EVAL_P2,
+ /* GL_EXT_provoking_vertex */
+ OPCODE_PROVOKING_VERTEX,
+
/* The following three are meta instructions */
OPCODE_ERROR, /* raise compiled-in error */
OPCODE_CONTINUE,
@@ -5705,6 +5708,25 @@ save_BlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
#endif
+/** GL_EXT_provoking_vertex */
+static void GLAPIENTRY
+save_ProvokingVertexEXT(GLenum mode)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ Node *n;
+ ASSERT_OUTSIDE_SAVE_BEGIN_END_AND_FLUSH(ctx);
+ n = ALLOC_INSTRUCTION(ctx, OPCODE_PROVOKING_VERTEX, 1);
+ if (n) {
+ n[1].e = mode;
+ }
+ if (ctx->ExecuteFlag) {
+ /*CALL_ProvokingVertexEXT(ctx->Exec, (mode));*/
+ _mesa_ProvokingVertexEXT(mode);
+ }
+}
+
+
+
/**
* Save an error-generating command into display list.
*
@@ -6269,6 +6291,9 @@ execute_list(GLcontext *ctx, GLuint list)
case OPCODE_SHADE_MODEL:
CALL_ShadeModel(ctx->Exec, (n[1].e));
break;
+ case OPCODE_PROVOKING_VERTEX:
+ CALL_ProvokingVertexEXT(ctx->Exec, (n[1].e));
+ break;
case OPCODE_STENCIL_FUNC:
CALL_StencilFunc(ctx->Exec, (n[1].e, n[2].i, n[3].ui));
break;
@@ -8247,6 +8272,9 @@ _mesa_init_dlist_table(struct _glapi_table *table)
/* ARB 59. GL_ARB_copy_buffer */
SET_CopyBufferSubData(table, _mesa_CopyBufferSubData); /* no dlist save */
+
+ /* 364. GL_EXT_provoking_vertex */
+ SET_ProvokingVertexEXT(table, save_ProvokingVertexEXT);
}
@@ -8483,6 +8511,11 @@ print_list(GLcontext *ctx, GLuint list)
_mesa_printf("EVAL_P2 %d %d\n", n[1].i, n[2].i);
break;
+ case OPCODE_PROVOKING_VERTEX:
+ _mesa_printf("ProvokingVertex %s\n",
+ _mesa_lookup_enum_by_nr(n[1].ui));
+ break;
+
/*
* meta opcodes/commands
*/
diff --git a/src/mesa/main/enums.c b/src/mesa/main/enums.c
index aa4351dfa1..2745fb3d66 100644
--- a/src/mesa/main/enums.c
+++ b/src/mesa/main/enums.c
@@ -514,6 +514,7 @@ LONGSTRING static const char enum_string_table[] =
"GL_FEEDBACK_BUFFER_SIZE\0"
"GL_FEEDBACK_BUFFER_TYPE\0"
"GL_FILL\0"
+ "GL_FIRST_VERTEX_CONVENTION_EXT\0"
"GL_FLAT\0"
"GL_FLOAT\0"
"GL_FLOAT_MAT2\0"
@@ -696,6 +697,7 @@ LONGSTRING static const char enum_string_table[] =
"GL_INVERSE_TRANSPOSE_NV\0"
"GL_INVERT\0"
"GL_KEEP\0"
+ "GL_LAST_VERTEX_CONVENTION_EXT\0"
"GL_LEFT\0"
"GL_LEQUAL\0"
"GL_LESS\0"
@@ -1279,6 +1281,7 @@ LONGSTRING static const char enum_string_table[] =
"GL_PROJECTION\0"
"GL_PROJECTION_MATRIX\0"
"GL_PROJECTION_STACK_DEPTH\0"
+ "GL_PROVOKING_VERTEX_EXT\0"
"GL_PROXY_COLOR_TABLE\0"
"GL_PROXY_HISTOGRAM\0"
"GL_PROXY_HISTOGRAM_EXT\0"
@@ -1299,6 +1302,7 @@ LONGSTRING static const char enum_string_table[] =
"GL_Q\0"
"GL_QUADRATIC_ATTENUATION\0"
"GL_QUADS\0"
+ "GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT\0"
"GL_QUAD_MESH_SUN\0"
"GL_QUAD_STRIP\0"
"GL_QUERY_COUNTER_BITS\0"
@@ -1866,7 +1870,7 @@ LONGSTRING static const char enum_string_table[] =
"GL_ZOOM_Y\0"
;
-static const enum_elt all_enums[1828] =
+static const enum_elt all_enums[1832] =
{
{ 0, 0x00000600 }, /* GL_2D */
{ 6, 0x00001407 }, /* GL_2_BYTES */
@@ -2346,1435 +2350,1439 @@ static const enum_elt all_enums[1828] =
{ 9547, 0x00000DF1 }, /* GL_FEEDBACK_BUFFER_SIZE */
{ 9571, 0x00000DF2 }, /* GL_FEEDBACK_BUFFER_TYPE */
{ 9595, 0x00001B02 }, /* GL_FILL */
- { 9603, 0x00001D00 }, /* GL_FLAT */
- { 9611, 0x00001406 }, /* GL_FLOAT */
- { 9620, 0x00008B5A }, /* GL_FLOAT_MAT2 */
- { 9634, 0x00008B5A }, /* GL_FLOAT_MAT2_ARB */
- { 9652, 0x00008B65 }, /* GL_FLOAT_MAT2x3 */
- { 9668, 0x00008B66 }, /* GL_FLOAT_MAT2x4 */
- { 9684, 0x00008B5B }, /* GL_FLOAT_MAT3 */
- { 9698, 0x00008B5B }, /* GL_FLOAT_MAT3_ARB */
- { 9716, 0x00008B67 }, /* GL_FLOAT_MAT3x2 */
- { 9732, 0x00008B68 }, /* GL_FLOAT_MAT3x4 */
- { 9748, 0x00008B5C }, /* GL_FLOAT_MAT4 */
- { 9762, 0x00008B5C }, /* GL_FLOAT_MAT4_ARB */
- { 9780, 0x00008B69 }, /* GL_FLOAT_MAT4x2 */
- { 9796, 0x00008B6A }, /* GL_FLOAT_MAT4x3 */
- { 9812, 0x00008B50 }, /* GL_FLOAT_VEC2 */
- { 9826, 0x00008B50 }, /* GL_FLOAT_VEC2_ARB */
- { 9844, 0x00008B51 }, /* GL_FLOAT_VEC3 */
- { 9858, 0x00008B51 }, /* GL_FLOAT_VEC3_ARB */
- { 9876, 0x00008B52 }, /* GL_FLOAT_VEC4 */
- { 9890, 0x00008B52 }, /* GL_FLOAT_VEC4_ARB */
- { 9908, 0x00000B60 }, /* GL_FOG */
- { 9915, 0x00000080 }, /* GL_FOG_BIT */
- { 9926, 0x00000B66 }, /* GL_FOG_COLOR */
- { 9939, 0x00008451 }, /* GL_FOG_COORD */
- { 9952, 0x00008451 }, /* GL_FOG_COORDINATE */
- { 9970, 0x00008457 }, /* GL_FOG_COORDINATE_ARRAY */
- { 9994, 0x0000889D }, /* GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING */
- { 10033, 0x0000889D }, /* GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB */
- { 10076, 0x00008456 }, /* GL_FOG_COORDINATE_ARRAY_POINTER */
- { 10108, 0x00008455 }, /* GL_FOG_COORDINATE_ARRAY_STRIDE */
- { 10139, 0x00008454 }, /* GL_FOG_COORDINATE_ARRAY_TYPE */
- { 10168, 0x00008450 }, /* GL_FOG_COORDINATE_SOURCE */
- { 10193, 0x00008457 }, /* GL_FOG_COORD_ARRAY */
- { 10212, 0x0000889D }, /* GL_FOG_COORD_ARRAY_BUFFER_BINDING */
- { 10246, 0x00008456 }, /* GL_FOG_COORD_ARRAY_POINTER */
- { 10273, 0x00008455 }, /* GL_FOG_COORD_ARRAY_STRIDE */
- { 10299, 0x00008454 }, /* GL_FOG_COORD_ARRAY_TYPE */
- { 10323, 0x00008450 }, /* GL_FOG_COORD_SRC */
- { 10340, 0x00000B62 }, /* GL_FOG_DENSITY */
- { 10355, 0x0000855A }, /* GL_FOG_DISTANCE_MODE_NV */
- { 10379, 0x00000B64 }, /* GL_FOG_END */
- { 10390, 0x00000C54 }, /* GL_FOG_HINT */
- { 10402, 0x00000B61 }, /* GL_FOG_INDEX */
- { 10415, 0x00000B65 }, /* GL_FOG_MODE */
- { 10427, 0x00008198 }, /* GL_FOG_OFFSET_SGIX */
- { 10446, 0x00008199 }, /* GL_FOG_OFFSET_VALUE_SGIX */
- { 10471, 0x00000B63 }, /* GL_FOG_START */
- { 10484, 0x00008452 }, /* GL_FRAGMENT_DEPTH */
- { 10502, 0x00008804 }, /* GL_FRAGMENT_PROGRAM_ARB */
- { 10526, 0x00008B30 }, /* GL_FRAGMENT_SHADER */
- { 10545, 0x00008B30 }, /* GL_FRAGMENT_SHADER_ARB */
- { 10568, 0x00008B8B }, /* GL_FRAGMENT_SHADER_DERIVATIVE_HINT */
- { 10603, 0x00008D40 }, /* GL_FRAMEBUFFER */
- { 10618, 0x00008215 }, /* GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
- { 10655, 0x00008214 }, /* GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
- { 10691, 0x00008210 }, /* GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
- { 10732, 0x00008211 }, /* GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
- { 10773, 0x00008216 }, /* GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
- { 10810, 0x00008213 }, /* GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
- { 10847, 0x00008CD1 }, /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
- { 10885, 0x00008CD1 }, /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT */
- { 10927, 0x00008CD0 }, /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
- { 10965, 0x00008CD0 }, /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT */
- { 11007, 0x00008212 }, /* GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
- { 11042, 0x00008217 }, /* GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
- { 11081, 0x00008CD4 }, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT */
- { 11130, 0x00008CD3 }, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
- { 11178, 0x00008CD3 }, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT */
- { 11230, 0x00008CD4 }, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
- { 11270, 0x00008CD4 }, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
- { 11314, 0x00008CD2 }, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
- { 11354, 0x00008CD2 }, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT */
- { 11398, 0x00008CA6 }, /* GL_FRAMEBUFFER_BINDING_EXT */
- { 11425, 0x00008CD5 }, /* GL_FRAMEBUFFER_COMPLETE */
- { 11449, 0x00008CD5 }, /* GL_FRAMEBUFFER_COMPLETE_EXT */
- { 11477, 0x00008218 }, /* GL_FRAMEBUFFER_DEFAULT */
- { 11500, 0x00008D40 }, /* GL_FRAMEBUFFER_EXT */
- { 11519, 0x00008CD6 }, /* GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
- { 11556, 0x00008CD6 }, /* GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT */
- { 11597, 0x00008CD9 }, /* GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT */
- { 11638, 0x00008CDB }, /* GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT */
- { 11680, 0x00008CD8 }, /* GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT */
- { 11731, 0x00008CDA }, /* GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT */
- { 11769, 0x00008CD7 }, /* GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
- { 11814, 0x00008CD7 }, /* GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT */
- { 11863, 0x00008D56 }, /* GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
- { 11901, 0x00008CDC }, /* GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT */
- { 11943, 0x00008CDE }, /* GL_FRAMEBUFFER_STATUS_ERROR_EXT */
- { 11975, 0x00008219 }, /* GL_FRAMEBUFFER_UNDEFINED */
- { 12000, 0x00008CDD }, /* GL_FRAMEBUFFER_UNSUPPORTED */
- { 12027, 0x00008CDD }, /* GL_FRAMEBUFFER_UNSUPPORTED_EXT */
- { 12058, 0x00000404 }, /* GL_FRONT */
- { 12067, 0x00000408 }, /* GL_FRONT_AND_BACK */
- { 12085, 0x00000B46 }, /* GL_FRONT_FACE */
- { 12099, 0x00000400 }, /* GL_FRONT_LEFT */
- { 12113, 0x00000401 }, /* GL_FRONT_RIGHT */
- { 12128, 0x00008006 }, /* GL_FUNC_ADD */
- { 12140, 0x00008006 }, /* GL_FUNC_ADD_EXT */
- { 12156, 0x0000800B }, /* GL_FUNC_REVERSE_SUBTRACT */
- { 12181, 0x0000800B }, /* GL_FUNC_REVERSE_SUBTRACT_EXT */
- { 12210, 0x0000800A }, /* GL_FUNC_SUBTRACT */
- { 12227, 0x0000800A }, /* GL_FUNC_SUBTRACT_EXT */
- { 12248, 0x00008191 }, /* GL_GENERATE_MIPMAP */
- { 12267, 0x00008192 }, /* GL_GENERATE_MIPMAP_HINT */
- { 12291, 0x00008192 }, /* GL_GENERATE_MIPMAP_HINT_SGIS */
- { 12320, 0x00008191 }, /* GL_GENERATE_MIPMAP_SGIS */
- { 12344, 0x00000206 }, /* GL_GEQUAL */
- { 12354, 0x00000204 }, /* GL_GREATER */
- { 12365, 0x00001904 }, /* GL_GREEN */
- { 12374, 0x00000D19 }, /* GL_GREEN_BIAS */
- { 12388, 0x00000D53 }, /* GL_GREEN_BITS */
- { 12402, 0x00000D18 }, /* GL_GREEN_SCALE */
- { 12417, 0x00008000 }, /* GL_HINT_BIT */
- { 12429, 0x00008024 }, /* GL_HISTOGRAM */
- { 12442, 0x0000802B }, /* GL_HISTOGRAM_ALPHA_SIZE */
- { 12466, 0x0000802B }, /* GL_HISTOGRAM_ALPHA_SIZE_EXT */
- { 12494, 0x0000802A }, /* GL_HISTOGRAM_BLUE_SIZE */
- { 12517, 0x0000802A }, /* GL_HISTOGRAM_BLUE_SIZE_EXT */
- { 12544, 0x00008024 }, /* GL_HISTOGRAM_EXT */
- { 12561, 0x00008027 }, /* GL_HISTOGRAM_FORMAT */
- { 12581, 0x00008027 }, /* GL_HISTOGRAM_FORMAT_EXT */
- { 12605, 0x00008029 }, /* GL_HISTOGRAM_GREEN_SIZE */
- { 12629, 0x00008029 }, /* GL_HISTOGRAM_GREEN_SIZE_EXT */
- { 12657, 0x0000802C }, /* GL_HISTOGRAM_LUMINANCE_SIZE */
- { 12685, 0x0000802C }, /* GL_HISTOGRAM_LUMINANCE_SIZE_EXT */
- { 12717, 0x00008028 }, /* GL_HISTOGRAM_RED_SIZE */
- { 12739, 0x00008028 }, /* GL_HISTOGRAM_RED_SIZE_EXT */
- { 12765, 0x0000802D }, /* GL_HISTOGRAM_SINK */
- { 12783, 0x0000802D }, /* GL_HISTOGRAM_SINK_EXT */
- { 12805, 0x00008026 }, /* GL_HISTOGRAM_WIDTH */
- { 12824, 0x00008026 }, /* GL_HISTOGRAM_WIDTH_EXT */
- { 12847, 0x0000862A }, /* GL_IDENTITY_NV */
- { 12862, 0x00008150 }, /* GL_IGNORE_BORDER_HP */
- { 12882, 0x00008B9B }, /* GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES */
- { 12922, 0x00008B9A }, /* GL_IMPLEMENTATION_COLOR_READ_TYPE_OES */
- { 12960, 0x00001E02 }, /* GL_INCR */
- { 12968, 0x00008507 }, /* GL_INCR_WRAP */
- { 12981, 0x00008507 }, /* GL_INCR_WRAP_EXT */
- { 12998, 0x00008222 }, /* GL_INDEX */
- { 13007, 0x00008077 }, /* GL_INDEX_ARRAY */
- { 13022, 0x00008899 }, /* GL_INDEX_ARRAY_BUFFER_BINDING */
- { 13052, 0x00008899 }, /* GL_INDEX_ARRAY_BUFFER_BINDING_ARB */
- { 13086, 0x00008091 }, /* GL_INDEX_ARRAY_POINTER */
- { 13109, 0x00008086 }, /* GL_INDEX_ARRAY_STRIDE */
- { 13131, 0x00008085 }, /* GL_INDEX_ARRAY_TYPE */
- { 13151, 0x00000D51 }, /* GL_INDEX_BITS */
- { 13165, 0x00000C20 }, /* GL_INDEX_CLEAR_VALUE */
- { 13186, 0x00000BF1 }, /* GL_INDEX_LOGIC_OP */
- { 13204, 0x00000C30 }, /* GL_INDEX_MODE */
- { 13218, 0x00000D13 }, /* GL_INDEX_OFFSET */
- { 13234, 0x00000D12 }, /* GL_INDEX_SHIFT */
- { 13249, 0x00000C21 }, /* GL_INDEX_WRITEMASK */
- { 13268, 0x00008B84 }, /* GL_INFO_LOG_LENGTH */
- { 13287, 0x00001404 }, /* GL_INT */
- { 13294, 0x00008049 }, /* GL_INTENSITY */
- { 13307, 0x0000804C }, /* GL_INTENSITY12 */
- { 13322, 0x0000804C }, /* GL_INTENSITY12_EXT */
- { 13341, 0x0000804D }, /* GL_INTENSITY16 */
- { 13356, 0x0000804D }, /* GL_INTENSITY16_EXT */
- { 13375, 0x0000804A }, /* GL_INTENSITY4 */
- { 13389, 0x0000804A }, /* GL_INTENSITY4_EXT */
- { 13407, 0x0000804B }, /* GL_INTENSITY8 */
- { 13421, 0x0000804B }, /* GL_INTENSITY8_EXT */
- { 13439, 0x00008049 }, /* GL_INTENSITY_EXT */
- { 13456, 0x00008575 }, /* GL_INTERPOLATE */
- { 13471, 0x00008575 }, /* GL_INTERPOLATE_ARB */
- { 13490, 0x00008575 }, /* GL_INTERPOLATE_EXT */
- { 13509, 0x00008B53 }, /* GL_INT_VEC2 */
- { 13521, 0x00008B53 }, /* GL_INT_VEC2_ARB */
- { 13537, 0x00008B54 }, /* GL_INT_VEC3 */
- { 13549, 0x00008B54 }, /* GL_INT_VEC3_ARB */
- { 13565, 0x00008B55 }, /* GL_INT_VEC4 */
- { 13577, 0x00008B55 }, /* GL_INT_VEC4_ARB */
- { 13593, 0x00000500 }, /* GL_INVALID_ENUM */
- { 13609, 0x00000506 }, /* GL_INVALID_FRAMEBUFFER_OPERATION */
- { 13642, 0x00000506 }, /* GL_INVALID_FRAMEBUFFER_OPERATION_EXT */
- { 13679, 0x00000502 }, /* GL_INVALID_OPERATION */
- { 13700, 0x00000501 }, /* GL_INVALID_VALUE */
- { 13717, 0x0000862B }, /* GL_INVERSE_NV */
- { 13731, 0x0000862D }, /* GL_INVERSE_TRANSPOSE_NV */
- { 13755, 0x0000150A }, /* GL_INVERT */
- { 13765, 0x00001E00 }, /* GL_KEEP */
- { 13773, 0x00000406 }, /* GL_LEFT */
- { 13781, 0x00000203 }, /* GL_LEQUAL */
- { 13791, 0x00000201 }, /* GL_LESS */
- { 13799, 0x00004000 }, /* GL_LIGHT0 */
- { 13809, 0x00004001 }, /* GL_LIGHT1 */
- { 13819, 0x00004002 }, /* GL_LIGHT2 */
- { 13829, 0x00004003 }, /* GL_LIGHT3 */
- { 13839, 0x00004004 }, /* GL_LIGHT4 */
- { 13849, 0x00004005 }, /* GL_LIGHT5 */
- { 13859, 0x00004006 }, /* GL_LIGHT6 */
- { 13869, 0x00004007 }, /* GL_LIGHT7 */
- { 13879, 0x00000B50 }, /* GL_LIGHTING */
- { 13891, 0x00000040 }, /* GL_LIGHTING_BIT */
- { 13907, 0x00000B53 }, /* GL_LIGHT_MODEL_AMBIENT */
- { 13930, 0x000081F8 }, /* GL_LIGHT_MODEL_COLOR_CONTROL */
- { 13959, 0x000081F8 }, /* GL_LIGHT_MODEL_COLOR_CONTROL_EXT */
- { 13992, 0x00000B51 }, /* GL_LIGHT_MODEL_LOCAL_VIEWER */
- { 14020, 0x00000B52 }, /* GL_LIGHT_MODEL_TWO_SIDE */
- { 14044, 0x00001B01 }, /* GL_LINE */
- { 14052, 0x00002601 }, /* GL_LINEAR */
- { 14062, 0x00001208 }, /* GL_LINEAR_ATTENUATION */
- { 14084, 0x00008170 }, /* GL_LINEAR_CLIPMAP_LINEAR_SGIX */
- { 14114, 0x0000844F }, /* GL_LINEAR_CLIPMAP_NEAREST_SGIX */
- { 14145, 0x00002703 }, /* GL_LINEAR_MIPMAP_LINEAR */
- { 14169, 0x00002701 }, /* GL_LINEAR_MIPMAP_NEAREST */
- { 14194, 0x00000001 }, /* GL_LINES */
- { 14203, 0x00000004 }, /* GL_LINE_BIT */
- { 14215, 0x00000002 }, /* GL_LINE_LOOP */
- { 14228, 0x00000707 }, /* GL_LINE_RESET_TOKEN */
- { 14248, 0x00000B20 }, /* GL_LINE_SMOOTH */
- { 14263, 0x00000C52 }, /* GL_LINE_SMOOTH_HINT */
- { 14283, 0x00000B24 }, /* GL_LINE_STIPPLE */
- { 14299, 0x00000B25 }, /* GL_LINE_STIPPLE_PATTERN */
- { 14323, 0x00000B26 }, /* GL_LINE_STIPPLE_REPEAT */
- { 14346, 0x00000003 }, /* GL_LINE_STRIP */
- { 14360, 0x00000702 }, /* GL_LINE_TOKEN */
- { 14374, 0x00000B21 }, /* GL_LINE_WIDTH */
- { 14388, 0x00000B23 }, /* GL_LINE_WIDTH_GRANULARITY */
- { 14414, 0x00000B22 }, /* GL_LINE_WIDTH_RANGE */
- { 14434, 0x00008B82 }, /* GL_LINK_STATUS */
- { 14449, 0x00000B32 }, /* GL_LIST_BASE */
- { 14462, 0x00020000 }, /* GL_LIST_BIT */
- { 14474, 0x00000B33 }, /* GL_LIST_INDEX */
- { 14488, 0x00000B30 }, /* GL_LIST_MODE */
- { 14501, 0x00000101 }, /* GL_LOAD */
- { 14509, 0x00000BF1 }, /* GL_LOGIC_OP */
- { 14521, 0x00000BF0 }, /* GL_LOGIC_OP_MODE */
- { 14538, 0x00008CA1 }, /* GL_LOWER_LEFT */
- { 14552, 0x00001909 }, /* GL_LUMINANCE */
- { 14565, 0x00008041 }, /* GL_LUMINANCE12 */
- { 14580, 0x00008047 }, /* GL_LUMINANCE12_ALPHA12 */
- { 14603, 0x00008047 }, /* GL_LUMINANCE12_ALPHA12_EXT */
- { 14630, 0x00008046 }, /* GL_LUMINANCE12_ALPHA4 */
- { 14652, 0x00008046 }, /* GL_LUMINANCE12_ALPHA4_EXT */
- { 14678, 0x00008041 }, /* GL_LUMINANCE12_EXT */
- { 14697, 0x00008042 }, /* GL_LUMINANCE16 */
- { 14712, 0x00008048 }, /* GL_LUMINANCE16_ALPHA16 */
- { 14735, 0x00008048 }, /* GL_LUMINANCE16_ALPHA16_EXT */
- { 14762, 0x00008042 }, /* GL_LUMINANCE16_EXT */
- { 14781, 0x0000803F }, /* GL_LUMINANCE4 */
- { 14795, 0x00008043 }, /* GL_LUMINANCE4_ALPHA4 */
- { 14816, 0x00008043 }, /* GL_LUMINANCE4_ALPHA4_EXT */
- { 14841, 0x0000803F }, /* GL_LUMINANCE4_EXT */
- { 14859, 0x00008044 }, /* GL_LUMINANCE6_ALPHA2 */
- { 14880, 0x00008044 }, /* GL_LUMINANCE6_ALPHA2_EXT */
- { 14905, 0x00008040 }, /* GL_LUMINANCE8 */
- { 14919, 0x00008045 }, /* GL_LUMINANCE8_ALPHA8 */
- { 14940, 0x00008045 }, /* GL_LUMINANCE8_ALPHA8_EXT */
- { 14965, 0x00008040 }, /* GL_LUMINANCE8_EXT */
- { 14983, 0x0000190A }, /* GL_LUMINANCE_ALPHA */
- { 15002, 0x00000D90 }, /* GL_MAP1_COLOR_4 */
- { 15018, 0x00000DD0 }, /* GL_MAP1_GRID_DOMAIN */
- { 15038, 0x00000DD1 }, /* GL_MAP1_GRID_SEGMENTS */
- { 15060, 0x00000D91 }, /* GL_MAP1_INDEX */
- { 15074, 0x00000D92 }, /* GL_MAP1_NORMAL */
- { 15089, 0x00000D93 }, /* GL_MAP1_TEXTURE_COORD_1 */
- { 15113, 0x00000D94 }, /* GL_MAP1_TEXTURE_COORD_2 */
- { 15137, 0x00000D95 }, /* GL_MAP1_TEXTURE_COORD_3 */
- { 15161, 0x00000D96 }, /* GL_MAP1_TEXTURE_COORD_4 */
- { 15185, 0x00000D97 }, /* GL_MAP1_VERTEX_3 */
- { 15202, 0x00000D98 }, /* GL_MAP1_VERTEX_4 */
- { 15219, 0x00008660 }, /* GL_MAP1_VERTEX_ATTRIB0_4_NV */
- { 15247, 0x0000866A }, /* GL_MAP1_VERTEX_ATTRIB10_4_NV */
- { 15276, 0x0000866B }, /* GL_MAP1_VERTEX_ATTRIB11_4_NV */
- { 15305, 0x0000866C }, /* GL_MAP1_VERTEX_ATTRIB12_4_NV */
- { 15334, 0x0000866D }, /* GL_MAP1_VERTEX_ATTRIB13_4_NV */
- { 15363, 0x0000866E }, /* GL_MAP1_VERTEX_ATTRIB14_4_NV */
- { 15392, 0x0000866F }, /* GL_MAP1_VERTEX_ATTRIB15_4_NV */
- { 15421, 0x00008661 }, /* GL_MAP1_VERTEX_ATTRIB1_4_NV */
- { 15449, 0x00008662 }, /* GL_MAP1_VERTEX_ATTRIB2_4_NV */
- { 15477, 0x00008663 }, /* GL_MAP1_VERTEX_ATTRIB3_4_NV */
- { 15505, 0x00008664 }, /* GL_MAP1_VERTEX_ATTRIB4_4_NV */
- { 15533, 0x00008665 }, /* GL_MAP1_VERTEX_ATTRIB5_4_NV */
- { 15561, 0x00008666 }, /* GL_MAP1_VERTEX_ATTRIB6_4_NV */
- { 15589, 0x00008667 }, /* GL_MAP1_VERTEX_ATTRIB7_4_NV */
- { 15617, 0x00008668 }, /* GL_MAP1_VERTEX_ATTRIB8_4_NV */
- { 15645, 0x00008669 }, /* GL_MAP1_VERTEX_ATTRIB9_4_NV */
- { 15673, 0x00000DB0 }, /* GL_MAP2_COLOR_4 */
- { 15689, 0x00000DD2 }, /* GL_MAP2_GRID_DOMAIN */
- { 15709, 0x00000DD3 }, /* GL_MAP2_GRID_SEGMENTS */
- { 15731, 0x00000DB1 }, /* GL_MAP2_INDEX */
- { 15745, 0x00000DB2 }, /* GL_MAP2_NORMAL */
- { 15760, 0x00000DB3 }, /* GL_MAP2_TEXTURE_COORD_1 */
- { 15784, 0x00000DB4 }, /* GL_MAP2_TEXTURE_COORD_2 */
- { 15808, 0x00000DB5 }, /* GL_MAP2_TEXTURE_COORD_3 */
- { 15832, 0x00000DB6 }, /* GL_MAP2_TEXTURE_COORD_4 */
- { 15856, 0x00000DB7 }, /* GL_MAP2_VERTEX_3 */
- { 15873, 0x00000DB8 }, /* GL_MAP2_VERTEX_4 */
- { 15890, 0x00008670 }, /* GL_MAP2_VERTEX_ATTRIB0_4_NV */
- { 15918, 0x0000867A }, /* GL_MAP2_VERTEX_ATTRIB10_4_NV */
- { 15947, 0x0000867B }, /* GL_MAP2_VERTEX_ATTRIB11_4_NV */
- { 15976, 0x0000867C }, /* GL_MAP2_VERTEX_ATTRIB12_4_NV */
- { 16005, 0x0000867D }, /* GL_MAP2_VERTEX_ATTRIB13_4_NV */
- { 16034, 0x0000867E }, /* GL_MAP2_VERTEX_ATTRIB14_4_NV */
- { 16063, 0x0000867F }, /* GL_MAP2_VERTEX_ATTRIB15_4_NV */
- { 16092, 0x00008671 }, /* GL_MAP2_VERTEX_ATTRIB1_4_NV */
- { 16120, 0x00008672 }, /* GL_MAP2_VERTEX_ATTRIB2_4_NV */
- { 16148, 0x00008673 }, /* GL_MAP2_VERTEX_ATTRIB3_4_NV */
- { 16176, 0x00008674 }, /* GL_MAP2_VERTEX_ATTRIB4_4_NV */
- { 16204, 0x00008675 }, /* GL_MAP2_VERTEX_ATTRIB5_4_NV */
- { 16232, 0x00008676 }, /* GL_MAP2_VERTEX_ATTRIB6_4_NV */
- { 16260, 0x00008677 }, /* GL_MAP2_VERTEX_ATTRIB7_4_NV */
- { 16288, 0x00008678 }, /* GL_MAP2_VERTEX_ATTRIB8_4_NV */
- { 16316, 0x00008679 }, /* GL_MAP2_VERTEX_ATTRIB9_4_NV */
- { 16344, 0x00000D10 }, /* GL_MAP_COLOR */
- { 16357, 0x00000010 }, /* GL_MAP_FLUSH_EXPLICIT_BIT */
- { 16383, 0x00000008 }, /* GL_MAP_INVALIDATE_BUFFER_BIT */
- { 16412, 0x00000004 }, /* GL_MAP_INVALIDATE_RANGE_BIT */
- { 16440, 0x00000001 }, /* GL_MAP_READ_BIT */
- { 16456, 0x00000D11 }, /* GL_MAP_STENCIL */
- { 16471, 0x00000020 }, /* GL_MAP_UNSYNCHRONIZED_BIT */
- { 16497, 0x00000002 }, /* GL_MAP_WRITE_BIT */
- { 16514, 0x000088C0 }, /* GL_MATRIX0_ARB */
- { 16529, 0x00008630 }, /* GL_MATRIX0_NV */
- { 16543, 0x000088CA }, /* GL_MATRIX10_ARB */
- { 16559, 0x000088CB }, /* GL_MATRIX11_ARB */
- { 16575, 0x000088CC }, /* GL_MATRIX12_ARB */
- { 16591, 0x000088CD }, /* GL_MATRIX13_ARB */
- { 16607, 0x000088CE }, /* GL_MATRIX14_ARB */
- { 16623, 0x000088CF }, /* GL_MATRIX15_ARB */
- { 16639, 0x000088D0 }, /* GL_MATRIX16_ARB */
- { 16655, 0x000088D1 }, /* GL_MATRIX17_ARB */
- { 16671, 0x000088D2 }, /* GL_MATRIX18_ARB */
- { 16687, 0x000088D3 }, /* GL_MATRIX19_ARB */
- { 16703, 0x000088C1 }, /* GL_MATRIX1_ARB */
- { 16718, 0x00008631 }, /* GL_MATRIX1_NV */
- { 16732, 0x000088D4 }, /* GL_MATRIX20_ARB */
- { 16748, 0x000088D5 }, /* GL_MATRIX21_ARB */
- { 16764, 0x000088D6 }, /* GL_MATRIX22_ARB */
- { 16780, 0x000088D7 }, /* GL_MATRIX23_ARB */
- { 16796, 0x000088D8 }, /* GL_MATRIX24_ARB */
- { 16812, 0x000088D9 }, /* GL_MATRIX25_ARB */
- { 16828, 0x000088DA }, /* GL_MATRIX26_ARB */
- { 16844, 0x000088DB }, /* GL_MATRIX27_ARB */
- { 16860, 0x000088DC }, /* GL_MATRIX28_ARB */
- { 16876, 0x000088DD }, /* GL_MATRIX29_ARB */
- { 16892, 0x000088C2 }, /* GL_MATRIX2_ARB */
- { 16907, 0x00008632 }, /* GL_MATRIX2_NV */
- { 16921, 0x000088DE }, /* GL_MATRIX30_ARB */
- { 16937, 0x000088DF }, /* GL_MATRIX31_ARB */
- { 16953, 0x000088C3 }, /* GL_MATRIX3_ARB */
- { 16968, 0x00008633 }, /* GL_MATRIX3_NV */
- { 16982, 0x000088C4 }, /* GL_MATRIX4_ARB */
- { 16997, 0x00008634 }, /* GL_MATRIX4_NV */
- { 17011, 0x000088C5 }, /* GL_MATRIX5_ARB */
- { 17026, 0x00008635 }, /* GL_MATRIX5_NV */
- { 17040, 0x000088C6 }, /* GL_MATRIX6_ARB */
- { 17055, 0x00008636 }, /* GL_MATRIX6_NV */
- { 17069, 0x000088C7 }, /* GL_MATRIX7_ARB */
- { 17084, 0x00008637 }, /* GL_MATRIX7_NV */
- { 17098, 0x000088C8 }, /* GL_MATRIX8_ARB */
- { 17113, 0x000088C9 }, /* GL_MATRIX9_ARB */
- { 17128, 0x00008844 }, /* GL_MATRIX_INDEX_ARRAY_ARB */
- { 17154, 0x00008849 }, /* GL_MATRIX_INDEX_ARRAY_POINTER_ARB */
- { 17188, 0x00008846 }, /* GL_MATRIX_INDEX_ARRAY_SIZE_ARB */
- { 17219, 0x00008848 }, /* GL_MATRIX_INDEX_ARRAY_STRIDE_ARB */
- { 17252, 0x00008847 }, /* GL_MATRIX_INDEX_ARRAY_TYPE_ARB */
- { 17283, 0x00000BA0 }, /* GL_MATRIX_MODE */
- { 17298, 0x00008840 }, /* GL_MATRIX_PALETTE_ARB */
- { 17320, 0x00008008 }, /* GL_MAX */
- { 17327, 0x00008073 }, /* GL_MAX_3D_TEXTURE_SIZE */
- { 17350, 0x000088FF }, /* GL_MAX_ARRAY_TEXTURE_LAYERS_EXT */
- { 17382, 0x00000D35 }, /* GL_MAX_ATTRIB_STACK_DEPTH */
- { 17408, 0x00000D3B }, /* GL_MAX_CLIENT_ATTRIB_STACK_DEPTH */
- { 17441, 0x00008177 }, /* GL_MAX_CLIPMAP_DEPTH_SGIX */
- { 17467, 0x00008178 }, /* GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX */
- { 17501, 0x00000D32 }, /* GL_MAX_CLIP_PLANES */
- { 17520, 0x00008CDF }, /* GL_MAX_COLOR_ATTACHMENTS_EXT */
- { 17549, 0x000080B3 }, /* GL_MAX_COLOR_MATRIX_STACK_DEPTH */
- { 17581, 0x000080B3 }, /* GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI */
- { 17617, 0x00008B4D }, /* GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS */
- { 17653, 0x00008B4D }, /* GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB */
- { 17693, 0x0000801B }, /* GL_MAX_CONVOLUTION_HEIGHT */
- { 17719, 0x0000801B }, /* GL_MAX_CONVOLUTION_HEIGHT_EXT */
- { 17749, 0x0000801A }, /* GL_MAX_CONVOLUTION_WIDTH */
- { 17774, 0x0000801A }, /* GL_MAX_CONVOLUTION_WIDTH_EXT */
- { 17803, 0x0000851C }, /* GL_MAX_CUBE_MAP_TEXTURE_SIZE */
- { 17832, 0x0000851C }, /* GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB */
- { 17865, 0x00008824 }, /* GL_MAX_DRAW_BUFFERS */
- { 17885, 0x00008824 }, /* GL_MAX_DRAW_BUFFERS_ARB */
- { 17909, 0x00008824 }, /* GL_MAX_DRAW_BUFFERS_ATI */
- { 17933, 0x000080E9 }, /* GL_MAX_ELEMENTS_INDICES */
- { 17957, 0x000080E8 }, /* GL_MAX_ELEMENTS_VERTICES */
- { 17982, 0x00000D30 }, /* GL_MAX_EVAL_ORDER */
- { 18000, 0x00008008 }, /* GL_MAX_EXT */
- { 18011, 0x00008B49 }, /* GL_MAX_FRAGMENT_UNIFORM_COMPONENTS */
- { 18046, 0x00008B49 }, /* GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB */
- { 18085, 0x00000D31 }, /* GL_MAX_LIGHTS */
- { 18099, 0x00000B31 }, /* GL_MAX_LIST_NESTING */
- { 18119, 0x00008841 }, /* GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB */
- { 18157, 0x00000D36 }, /* GL_MAX_MODELVIEW_STACK_DEPTH */
- { 18186, 0x00000D37 }, /* GL_MAX_NAME_STACK_DEPTH */
- { 18210, 0x00008842 }, /* GL_MAX_PALETTE_MATRICES_ARB */
- { 18238, 0x00000D34 }, /* GL_MAX_PIXEL_MAP_TABLE */
- { 18261, 0x000088B1 }, /* GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB */
- { 18298, 0x0000880B }, /* GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB */
- { 18334, 0x000088AD }, /* GL_MAX_PROGRAM_ATTRIBS_ARB */
- { 18361, 0x000088F5 }, /* GL_MAX_PROGRAM_CALL_DEPTH_NV */
- { 18390, 0x000088B5 }, /* GL_MAX_PROGRAM_ENV_PARAMETERS_ARB */
- { 18424, 0x000088F4 }, /* GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */
- { 18460, 0x000088F6 }, /* GL_MAX_PROGRAM_IF_DEPTH_NV */
- { 18487, 0x000088A1 }, /* GL_MAX_PROGRAM_INSTRUCTIONS_ARB */
- { 18519, 0x000088B4 }, /* GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB */
- { 18555, 0x000088F8 }, /* GL_MAX_PROGRAM_LOOP_COUNT_NV */
- { 18584, 0x000088F7 }, /* GL_MAX_PROGRAM_LOOP_DEPTH_NV */
- { 18613, 0x0000862F }, /* GL_MAX_PROGRAM_MATRICES_ARB */
- { 18641, 0x0000862E }, /* GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB */
- { 18679, 0x000088B3 }, /* GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB */
- { 18723, 0x0000880E }, /* GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB */
- { 18766, 0x000088AF }, /* GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB */
- { 18800, 0x000088A3 }, /* GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB */
- { 18839, 0x000088AB }, /* GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB */
- { 18876, 0x000088A7 }, /* GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB */
- { 18914, 0x00008810 }, /* GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB */
- { 18957, 0x0000880F }, /* GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB */
- { 19000, 0x000088A9 }, /* GL_MAX_PROGRAM_PARAMETERS_ARB */
- { 19030, 0x000088A5 }, /* GL_MAX_PROGRAM_TEMPORARIES_ARB */
- { 19061, 0x0000880D }, /* GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB */
- { 19097, 0x0000880C }, /* GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB */
- { 19133, 0x00000D38 }, /* GL_MAX_PROJECTION_STACK_DEPTH */
- { 19163, 0x000084F8 }, /* GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB */
- { 19197, 0x000084F8 }, /* GL_MAX_RECTANGLE_TEXTURE_SIZE_NV */
- { 19230, 0x000084E8 }, /* GL_MAX_RENDERBUFFER_SIZE_EXT */
- { 19259, 0x00008D57 }, /* GL_MAX_SAMPLES */
- { 19274, 0x00008504 }, /* GL_MAX_SHININESS_NV */
- { 19294, 0x00008505 }, /* GL_MAX_SPOT_EXPONENT_NV */
- { 19318, 0x00008871 }, /* GL_MAX_TEXTURE_COORDS */
- { 19340, 0x00008871 }, /* GL_MAX_TEXTURE_COORDS_ARB */
- { 19366, 0x00008872 }, /* GL_MAX_TEXTURE_IMAGE_UNITS */
- { 19393, 0x00008872 }, /* GL_MAX_TEXTURE_IMAGE_UNITS_ARB */
- { 19424, 0x000084FD }, /* GL_MAX_TEXTURE_LOD_BIAS */
- { 19448, 0x000084FF }, /* GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT */
- { 19482, 0x00000D33 }, /* GL_MAX_TEXTURE_SIZE */
- { 19502, 0x00000D39 }, /* GL_MAX_TEXTURE_STACK_DEPTH */
- { 19529, 0x000084E2 }, /* GL_MAX_TEXTURE_UNITS */
- { 19550, 0x000084E2 }, /* GL_MAX_TEXTURE_UNITS_ARB */
- { 19575, 0x0000862F }, /* GL_MAX_TRACK_MATRICES_NV */
- { 19600, 0x0000862E }, /* GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV */
- { 19635, 0x00008B4B }, /* GL_MAX_VARYING_FLOATS */
- { 19657, 0x00008B4B }, /* GL_MAX_VARYING_FLOATS_ARB */
- { 19683, 0x00008869 }, /* GL_MAX_VERTEX_ATTRIBS */
- { 19705, 0x00008869 }, /* GL_MAX_VERTEX_ATTRIBS_ARB */
- { 19731, 0x00008B4C }, /* GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS */
- { 19765, 0x00008B4C }, /* GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */
- { 19803, 0x00008B4A }, /* GL_MAX_VERTEX_UNIFORM_COMPONENTS */
- { 19836, 0x00008B4A }, /* GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB */
- { 19873, 0x000086A4 }, /* GL_MAX_VERTEX_UNITS_ARB */
- { 19897, 0x00000D3A }, /* GL_MAX_VIEWPORT_DIMS */
- { 19918, 0x00008007 }, /* GL_MIN */
- { 19925, 0x0000802E }, /* GL_MINMAX */
- { 19935, 0x0000802E }, /* GL_MINMAX_EXT */
- { 19949, 0x0000802F }, /* GL_MINMAX_FORMAT */
- { 19966, 0x0000802F }, /* GL_MINMAX_FORMAT_EXT */
- { 19987, 0x00008030 }, /* GL_MINMAX_SINK */
- { 20002, 0x00008030 }, /* GL_MINMAX_SINK_EXT */
- { 20021, 0x00008007 }, /* GL_MIN_EXT */
- { 20032, 0x00008370 }, /* GL_MIRRORED_REPEAT */
- { 20051, 0x00008370 }, /* GL_MIRRORED_REPEAT_ARB */
- { 20074, 0x00008370 }, /* GL_MIRRORED_REPEAT_IBM */
- { 20097, 0x00008742 }, /* GL_MIRROR_CLAMP_ATI */
- { 20117, 0x00008742 }, /* GL_MIRROR_CLAMP_EXT */
- { 20137, 0x00008912 }, /* GL_MIRROR_CLAMP_TO_BORDER_EXT */
- { 20167, 0x00008743 }, /* GL_MIRROR_CLAMP_TO_EDGE_ATI */
- { 20195, 0x00008743 }, /* GL_MIRROR_CLAMP_TO_EDGE_EXT */
- { 20223, 0x00001700 }, /* GL_MODELVIEW */
- { 20236, 0x00001700 }, /* GL_MODELVIEW0_ARB */
- { 20254, 0x0000872A }, /* GL_MODELVIEW10_ARB */
- { 20273, 0x0000872B }, /* GL_MODELVIEW11_ARB */
- { 20292, 0x0000872C }, /* GL_MODELVIEW12_ARB */
- { 20311, 0x0000872D }, /* GL_MODELVIEW13_ARB */
- { 20330, 0x0000872E }, /* GL_MODELVIEW14_ARB */
- { 20349, 0x0000872F }, /* GL_MODELVIEW15_ARB */
- { 20368, 0x00008730 }, /* GL_MODELVIEW16_ARB */
- { 20387, 0x00008731 }, /* GL_MODELVIEW17_ARB */
- { 20406, 0x00008732 }, /* GL_MODELVIEW18_ARB */
- { 20425, 0x00008733 }, /* GL_MODELVIEW19_ARB */
- { 20444, 0x0000850A }, /* GL_MODELVIEW1_ARB */
- { 20462, 0x00008734 }, /* GL_MODELVIEW20_ARB */
- { 20481, 0x00008735 }, /* GL_MODELVIEW21_ARB */
- { 20500, 0x00008736 }, /* GL_MODELVIEW22_ARB */
- { 20519, 0x00008737 }, /* GL_MODELVIEW23_ARB */
- { 20538, 0x00008738 }, /* GL_MODELVIEW24_ARB */
- { 20557, 0x00008739 }, /* GL_MODELVIEW25_ARB */
- { 20576, 0x0000873A }, /* GL_MODELVIEW26_ARB */
- { 20595, 0x0000873B }, /* GL_MODELVIEW27_ARB */
- { 20614, 0x0000873C }, /* GL_MODELVIEW28_ARB */
- { 20633, 0x0000873D }, /* GL_MODELVIEW29_ARB */
- { 20652, 0x00008722 }, /* GL_MODELVIEW2_ARB */
- { 20670, 0x0000873E }, /* GL_MODELVIEW30_ARB */
- { 20689, 0x0000873F }, /* GL_MODELVIEW31_ARB */
- { 20708, 0x00008723 }, /* GL_MODELVIEW3_ARB */
- { 20726, 0x00008724 }, /* GL_MODELVIEW4_ARB */
- { 20744, 0x00008725 }, /* GL_MODELVIEW5_ARB */
- { 20762, 0x00008726 }, /* GL_MODELVIEW6_ARB */
- { 20780, 0x00008727 }, /* GL_MODELVIEW7_ARB */
- { 20798, 0x00008728 }, /* GL_MODELVIEW8_ARB */
- { 20816, 0x00008729 }, /* GL_MODELVIEW9_ARB */
- { 20834, 0x00000BA6 }, /* GL_MODELVIEW_MATRIX */
- { 20854, 0x00008629 }, /* GL_MODELVIEW_PROJECTION_NV */
- { 20881, 0x00000BA3 }, /* GL_MODELVIEW_STACK_DEPTH */
- { 20906, 0x00002100 }, /* GL_MODULATE */
- { 20918, 0x00008744 }, /* GL_MODULATE_ADD_ATI */
- { 20938, 0x00008745 }, /* GL_MODULATE_SIGNED_ADD_ATI */
- { 20965, 0x00008746 }, /* GL_MODULATE_SUBTRACT_ATI */
- { 20990, 0x00000103 }, /* GL_MULT */
- { 20998, 0x0000809D }, /* GL_MULTISAMPLE */
- { 21013, 0x000086B2 }, /* GL_MULTISAMPLE_3DFX */
- { 21033, 0x0000809D }, /* GL_MULTISAMPLE_ARB */
- { 21052, 0x20000000 }, /* GL_MULTISAMPLE_BIT */
- { 21071, 0x20000000 }, /* GL_MULTISAMPLE_BIT_3DFX */
- { 21095, 0x20000000 }, /* GL_MULTISAMPLE_BIT_ARB */
- { 21118, 0x00008534 }, /* GL_MULTISAMPLE_FILTER_HINT_NV */
- { 21148, 0x00002A25 }, /* GL_N3F_V3F */
- { 21159, 0x00000D70 }, /* GL_NAME_STACK_DEPTH */
- { 21179, 0x0000150E }, /* GL_NAND */
- { 21187, 0x00002600 }, /* GL_NEAREST */
- { 21198, 0x0000844E }, /* GL_NEAREST_CLIPMAP_LINEAR_SGIX */
- { 21229, 0x0000844D }, /* GL_NEAREST_CLIPMAP_NEAREST_SGIX */
- { 21261, 0x00002702 }, /* GL_NEAREST_MIPMAP_LINEAR */
- { 21286, 0x00002700 }, /* GL_NEAREST_MIPMAP_NEAREST */
- { 21312, 0x00000200 }, /* GL_NEVER */
- { 21321, 0x00001102 }, /* GL_NICEST */
- { 21331, 0x00000000 }, /* GL_NONE */
- { 21339, 0x00001505 }, /* GL_NOOP */
- { 21347, 0x00001508 }, /* GL_NOR */
- { 21354, 0x00000BA1 }, /* GL_NORMALIZE */
- { 21367, 0x00008075 }, /* GL_NORMAL_ARRAY */
- { 21383, 0x00008897 }, /* GL_NORMAL_ARRAY_BUFFER_BINDING */
- { 21414, 0x00008897 }, /* GL_NORMAL_ARRAY_BUFFER_BINDING_ARB */
- { 21449, 0x0000808F }, /* GL_NORMAL_ARRAY_POINTER */
- { 21473, 0x0000807F }, /* GL_NORMAL_ARRAY_STRIDE */
- { 21496, 0x0000807E }, /* GL_NORMAL_ARRAY_TYPE */
- { 21517, 0x00008511 }, /* GL_NORMAL_MAP */
- { 21531, 0x00008511 }, /* GL_NORMAL_MAP_ARB */
- { 21549, 0x00008511 }, /* GL_NORMAL_MAP_NV */
- { 21566, 0x00000205 }, /* GL_NOTEQUAL */
- { 21578, 0x00000000 }, /* GL_NO_ERROR */
- { 21590, 0x000086A2 }, /* GL_NUM_COMPRESSED_TEXTURE_FORMATS */
- { 21624, 0x000086A2 }, /* GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB */
- { 21662, 0x00008B89 }, /* GL_OBJECT_ACTIVE_ATTRIBUTES_ARB */
- { 21694, 0x00008B8A }, /* GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB */
- { 21736, 0x00008B86 }, /* GL_OBJECT_ACTIVE_UNIFORMS_ARB */
- { 21766, 0x00008B87 }, /* GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB */
- { 21806, 0x00008B85 }, /* GL_OBJECT_ATTACHED_OBJECTS_ARB */
- { 21837, 0x00008B81 }, /* GL_OBJECT_COMPILE_STATUS_ARB */
- { 21866, 0x00008B80 }, /* GL_OBJECT_DELETE_STATUS_ARB */
- { 21894, 0x00008B84 }, /* GL_OBJECT_INFO_LOG_LENGTH_ARB */
- { 21924, 0x00002401 }, /* GL_OBJECT_LINEAR */
- { 21941, 0x00008B82 }, /* GL_OBJECT_LINK_STATUS_ARB */
- { 21967, 0x00002501 }, /* GL_OBJECT_PLANE */
- { 21983, 0x00008B88 }, /* GL_OBJECT_SHADER_SOURCE_LENGTH_ARB */
- { 22018, 0x00008B4F }, /* GL_OBJECT_SUBTYPE_ARB */
- { 22040, 0x00008B4E }, /* GL_OBJECT_TYPE_ARB */
- { 22059, 0x00008B83 }, /* GL_OBJECT_VALIDATE_STATUS_ARB */
- { 22089, 0x00008165 }, /* GL_OCCLUSION_TEST_HP */
- { 22110, 0x00008166 }, /* GL_OCCLUSION_TEST_RESULT_HP */
- { 22138, 0x00000001 }, /* GL_ONE */
- { 22145, 0x00008004 }, /* GL_ONE_MINUS_CONSTANT_ALPHA */
- { 22173, 0x00008004 }, /* GL_ONE_MINUS_CONSTANT_ALPHA_EXT */
- { 22205, 0x00008002 }, /* GL_ONE_MINUS_CONSTANT_COLOR */
- { 22233, 0x00008002 }, /* GL_ONE_MINUS_CONSTANT_COLOR_EXT */
- { 22265, 0x00000305 }, /* GL_ONE_MINUS_DST_ALPHA */
- { 22288, 0x00000307 }, /* GL_ONE_MINUS_DST_COLOR */
- { 22311, 0x00000303 }, /* GL_ONE_MINUS_SRC_ALPHA */
- { 22334, 0x00000301 }, /* GL_ONE_MINUS_SRC_COLOR */
- { 22357, 0x00008598 }, /* GL_OPERAND0_ALPHA */
- { 22375, 0x00008598 }, /* GL_OPERAND0_ALPHA_ARB */
- { 22397, 0x00008598 }, /* GL_OPERAND0_ALPHA_EXT */
- { 22419, 0x00008590 }, /* GL_OPERAND0_RGB */
- { 22435, 0x00008590 }, /* GL_OPERAND0_RGB_ARB */
- { 22455, 0x00008590 }, /* GL_OPERAND0_RGB_EXT */
- { 22475, 0x00008599 }, /* GL_OPERAND1_ALPHA */
- { 22493, 0x00008599 }, /* GL_OPERAND1_ALPHA_ARB */
- { 22515, 0x00008599 }, /* GL_OPERAND1_ALPHA_EXT */
- { 22537, 0x00008591 }, /* GL_OPERAND1_RGB */
- { 22553, 0x00008591 }, /* GL_OPERAND1_RGB_ARB */
- { 22573, 0x00008591 }, /* GL_OPERAND1_RGB_EXT */
- { 22593, 0x0000859A }, /* GL_OPERAND2_ALPHA */
- { 22611, 0x0000859A }, /* GL_OPERAND2_ALPHA_ARB */
- { 22633, 0x0000859A }, /* GL_OPERAND2_ALPHA_EXT */
- { 22655, 0x00008592 }, /* GL_OPERAND2_RGB */
- { 22671, 0x00008592 }, /* GL_OPERAND2_RGB_ARB */
- { 22691, 0x00008592 }, /* GL_OPERAND2_RGB_EXT */
- { 22711, 0x0000859B }, /* GL_OPERAND3_ALPHA_NV */
- { 22732, 0x00008593 }, /* GL_OPERAND3_RGB_NV */
- { 22751, 0x00001507 }, /* GL_OR */
- { 22757, 0x00000A01 }, /* GL_ORDER */
- { 22766, 0x0000150D }, /* GL_OR_INVERTED */
- { 22781, 0x0000150B }, /* GL_OR_REVERSE */
- { 22795, 0x00000505 }, /* GL_OUT_OF_MEMORY */
- { 22812, 0x00000D05 }, /* GL_PACK_ALIGNMENT */
- { 22830, 0x0000806C }, /* GL_PACK_IMAGE_HEIGHT */
- { 22851, 0x00008758 }, /* GL_PACK_INVERT_MESA */
- { 22871, 0x00000D01 }, /* GL_PACK_LSB_FIRST */
- { 22889, 0x00000D02 }, /* GL_PACK_ROW_LENGTH */
- { 22908, 0x0000806B }, /* GL_PACK_SKIP_IMAGES */
- { 22928, 0x00000D04 }, /* GL_PACK_SKIP_PIXELS */
- { 22948, 0x00000D03 }, /* GL_PACK_SKIP_ROWS */
- { 22966, 0x00000D00 }, /* GL_PACK_SWAP_BYTES */
- { 22985, 0x00008B92 }, /* GL_PALETTE4_R5_G6_B5_OES */
- { 23010, 0x00008B94 }, /* GL_PALETTE4_RGB5_A1_OES */
- { 23034, 0x00008B90 }, /* GL_PALETTE4_RGB8_OES */
- { 23055, 0x00008B93 }, /* GL_PALETTE4_RGBA4_OES */
- { 23077, 0x00008B91 }, /* GL_PALETTE4_RGBA8_OES */
- { 23099, 0x00008B97 }, /* GL_PALETTE8_R5_G6_B5_OES */
- { 23124, 0x00008B99 }, /* GL_PALETTE8_RGB5_A1_OES */
- { 23148, 0x00008B95 }, /* GL_PALETTE8_RGB8_OES */
- { 23169, 0x00008B98 }, /* GL_PALETTE8_RGBA4_OES */
- { 23191, 0x00008B96 }, /* GL_PALETTE8_RGBA8_OES */
- { 23213, 0x00000700 }, /* GL_PASS_THROUGH_TOKEN */
- { 23235, 0x00000C50 }, /* GL_PERSPECTIVE_CORRECTION_HINT */
- { 23266, 0x00000C79 }, /* GL_PIXEL_MAP_A_TO_A */
- { 23286, 0x00000CB9 }, /* GL_PIXEL_MAP_A_TO_A_SIZE */
- { 23311, 0x00000C78 }, /* GL_PIXEL_MAP_B_TO_B */
- { 23331, 0x00000CB8 }, /* GL_PIXEL_MAP_B_TO_B_SIZE */
- { 23356, 0x00000C77 }, /* GL_PIXEL_MAP_G_TO_G */
- { 23376, 0x00000CB7 }, /* GL_PIXEL_MAP_G_TO_G_SIZE */
- { 23401, 0x00000C75 }, /* GL_PIXEL_MAP_I_TO_A */
- { 23421, 0x00000CB5 }, /* GL_PIXEL_MAP_I_TO_A_SIZE */
- { 23446, 0x00000C74 }, /* GL_PIXEL_MAP_I_TO_B */
- { 23466, 0x00000CB4 }, /* GL_PIXEL_MAP_I_TO_B_SIZE */
- { 23491, 0x00000C73 }, /* GL_PIXEL_MAP_I_TO_G */
- { 23511, 0x00000CB3 }, /* GL_PIXEL_MAP_I_TO_G_SIZE */
- { 23536, 0x00000C70 }, /* GL_PIXEL_MAP_I_TO_I */
- { 23556, 0x00000CB0 }, /* GL_PIXEL_MAP_I_TO_I_SIZE */
- { 23581, 0x00000C72 }, /* GL_PIXEL_MAP_I_TO_R */
- { 23601, 0x00000CB2 }, /* GL_PIXEL_MAP_I_TO_R_SIZE */
- { 23626, 0x00000C76 }, /* GL_PIXEL_MAP_R_TO_R */
- { 23646, 0x00000CB6 }, /* GL_PIXEL_MAP_R_TO_R_SIZE */
- { 23671, 0x00000C71 }, /* GL_PIXEL_MAP_S_TO_S */
- { 23691, 0x00000CB1 }, /* GL_PIXEL_MAP_S_TO_S_SIZE */
- { 23716, 0x00000020 }, /* GL_PIXEL_MODE_BIT */
- { 23734, 0x000088EB }, /* GL_PIXEL_PACK_BUFFER */
- { 23755, 0x000088ED }, /* GL_PIXEL_PACK_BUFFER_BINDING */
- { 23784, 0x000088ED }, /* GL_PIXEL_PACK_BUFFER_BINDING_EXT */
- { 23817, 0x000088EB }, /* GL_PIXEL_PACK_BUFFER_EXT */
- { 23842, 0x000088EC }, /* GL_PIXEL_UNPACK_BUFFER */
- { 23865, 0x000088EF }, /* GL_PIXEL_UNPACK_BUFFER_BINDING */
- { 23896, 0x000088EF }, /* GL_PIXEL_UNPACK_BUFFER_BINDING_EXT */
- { 23931, 0x000088EC }, /* GL_PIXEL_UNPACK_BUFFER_EXT */
- { 23958, 0x00001B00 }, /* GL_POINT */
- { 23967, 0x00000000 }, /* GL_POINTS */
- { 23977, 0x00000002 }, /* GL_POINT_BIT */
- { 23990, 0x00008129 }, /* GL_POINT_DISTANCE_ATTENUATION */
- { 24020, 0x00008129 }, /* GL_POINT_DISTANCE_ATTENUATION_ARB */
- { 24054, 0x00008129 }, /* GL_POINT_DISTANCE_ATTENUATION_EXT */
- { 24088, 0x00008129 }, /* GL_POINT_DISTANCE_ATTENUATION_SGIS */
- { 24123, 0x00008128 }, /* GL_POINT_FADE_THRESHOLD_SIZE */
- { 24152, 0x00008128 }, /* GL_POINT_FADE_THRESHOLD_SIZE_ARB */
- { 24185, 0x00008128 }, /* GL_POINT_FADE_THRESHOLD_SIZE_EXT */
- { 24218, 0x00008128 }, /* GL_POINT_FADE_THRESHOLD_SIZE_SGIS */
- { 24252, 0x00000B11 }, /* GL_POINT_SIZE */
- { 24266, 0x00000B13 }, /* GL_POINT_SIZE_GRANULARITY */
- { 24292, 0x00008127 }, /* GL_POINT_SIZE_MAX */
- { 24310, 0x00008127 }, /* GL_POINT_SIZE_MAX_ARB */
- { 24332, 0x00008127 }, /* GL_POINT_SIZE_MAX_EXT */
- { 24354, 0x00008127 }, /* GL_POINT_SIZE_MAX_SGIS */
- { 24377, 0x00008126 }, /* GL_POINT_SIZE_MIN */
- { 24395, 0x00008126 }, /* GL_POINT_SIZE_MIN_ARB */
- { 24417, 0x00008126 }, /* GL_POINT_SIZE_MIN_EXT */
- { 24439, 0x00008126 }, /* GL_POINT_SIZE_MIN_SGIS */
- { 24462, 0x00000B12 }, /* GL_POINT_SIZE_RANGE */
- { 24482, 0x00000B10 }, /* GL_POINT_SMOOTH */
- { 24498, 0x00000C51 }, /* GL_POINT_SMOOTH_HINT */
- { 24519, 0x00008861 }, /* GL_POINT_SPRITE */
- { 24535, 0x00008861 }, /* GL_POINT_SPRITE_ARB */
- { 24555, 0x00008CA0 }, /* GL_POINT_SPRITE_COORD_ORIGIN */
- { 24584, 0x00008861 }, /* GL_POINT_SPRITE_NV */
- { 24603, 0x00008863 }, /* GL_POINT_SPRITE_R_MODE_NV */
- { 24629, 0x00000701 }, /* GL_POINT_TOKEN */
- { 24644, 0x00000009 }, /* GL_POLYGON */
- { 24655, 0x00000008 }, /* GL_POLYGON_BIT */
- { 24670, 0x00000B40 }, /* GL_POLYGON_MODE */
- { 24686, 0x00008039 }, /* GL_POLYGON_OFFSET_BIAS */
- { 24709, 0x00008038 }, /* GL_POLYGON_OFFSET_FACTOR */
- { 24734, 0x00008037 }, /* GL_POLYGON_OFFSET_FILL */
- { 24757, 0x00002A02 }, /* GL_POLYGON_OFFSET_LINE */
- { 24780, 0x00002A01 }, /* GL_POLYGON_OFFSET_POINT */
- { 24804, 0x00002A00 }, /* GL_POLYGON_OFFSET_UNITS */
- { 24828, 0x00000B41 }, /* GL_POLYGON_SMOOTH */
- { 24846, 0x00000C53 }, /* GL_POLYGON_SMOOTH_HINT */
- { 24869, 0x00000B42 }, /* GL_POLYGON_STIPPLE */
- { 24888, 0x00000010 }, /* GL_POLYGON_STIPPLE_BIT */
- { 24911, 0x00000703 }, /* GL_POLYGON_TOKEN */
- { 24928, 0x00001203 }, /* GL_POSITION */
- { 24940, 0x000080BB }, /* GL_POST_COLOR_MATRIX_ALPHA_BIAS */
- { 24972, 0x000080BB }, /* GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI */
- { 25008, 0x000080B7 }, /* GL_POST_COLOR_MATRIX_ALPHA_SCALE */
- { 25041, 0x000080B7 }, /* GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI */
- { 25078, 0x000080BA }, /* GL_POST_COLOR_MATRIX_BLUE_BIAS */
- { 25109, 0x000080BA }, /* GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI */
- { 25144, 0x000080B6 }, /* GL_POST_COLOR_MATRIX_BLUE_SCALE */
- { 25176, 0x000080B6 }, /* GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI */
- { 25212, 0x000080D2 }, /* GL_POST_COLOR_MATRIX_COLOR_TABLE */
- { 25245, 0x000080B9 }, /* GL_POST_COLOR_MATRIX_GREEN_BIAS */
- { 25277, 0x000080B9 }, /* GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI */
- { 25313, 0x000080B5 }, /* GL_POST_COLOR_MATRIX_GREEN_SCALE */
- { 25346, 0x000080B5 }, /* GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI */
- { 25383, 0x000080B8 }, /* GL_POST_COLOR_MATRIX_RED_BIAS */
- { 25413, 0x000080B8 }, /* GL_POST_COLOR_MATRIX_RED_BIAS_SGI */
- { 25447, 0x000080B4 }, /* GL_POST_COLOR_MATRIX_RED_SCALE */
- { 25478, 0x000080B4 }, /* GL_POST_COLOR_MATRIX_RED_SCALE_SGI */
- { 25513, 0x00008023 }, /* GL_POST_CONVOLUTION_ALPHA_BIAS */
- { 25544, 0x00008023 }, /* GL_POST_CONVOLUTION_ALPHA_BIAS_EXT */
- { 25579, 0x0000801F }, /* GL_POST_CONVOLUTION_ALPHA_SCALE */
- { 25611, 0x0000801F }, /* GL_POST_CONVOLUTION_ALPHA_SCALE_EXT */
- { 25647, 0x00008022 }, /* GL_POST_CONVOLUTION_BLUE_BIAS */
- { 25677, 0x00008022 }, /* GL_POST_CONVOLUTION_BLUE_BIAS_EXT */
- { 25711, 0x0000801E }, /* GL_POST_CONVOLUTION_BLUE_SCALE */
- { 25742, 0x0000801E }, /* GL_POST_CONVOLUTION_BLUE_SCALE_EXT */
- { 25777, 0x000080D1 }, /* GL_POST_CONVOLUTION_COLOR_TABLE */
- { 25809, 0x00008021 }, /* GL_POST_CONVOLUTION_GREEN_BIAS */
- { 25840, 0x00008021 }, /* GL_POST_CONVOLUTION_GREEN_BIAS_EXT */
- { 25875, 0x0000801D }, /* GL_POST_CONVOLUTION_GREEN_SCALE */
- { 25907, 0x0000801D }, /* GL_POST_CONVOLUTION_GREEN_SCALE_EXT */
- { 25943, 0x00008020 }, /* GL_POST_CONVOLUTION_RED_BIAS */
- { 25972, 0x00008020 }, /* GL_POST_CONVOLUTION_RED_BIAS_EXT */
- { 26005, 0x0000801C }, /* GL_POST_CONVOLUTION_RED_SCALE */
- { 26035, 0x0000801C }, /* GL_POST_CONVOLUTION_RED_SCALE_EXT */
- { 26069, 0x0000817B }, /* GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX */
- { 26108, 0x00008179 }, /* GL_POST_TEXTURE_FILTER_BIAS_SGIX */
- { 26141, 0x0000817C }, /* GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX */
- { 26181, 0x0000817A }, /* GL_POST_TEXTURE_FILTER_SCALE_SGIX */
- { 26215, 0x00008578 }, /* GL_PREVIOUS */
- { 26227, 0x00008578 }, /* GL_PREVIOUS_ARB */
- { 26243, 0x00008578 }, /* GL_PREVIOUS_EXT */
- { 26259, 0x00008577 }, /* GL_PRIMARY_COLOR */
- { 26276, 0x00008577 }, /* GL_PRIMARY_COLOR_ARB */
- { 26297, 0x00008577 }, /* GL_PRIMARY_COLOR_EXT */
- { 26318, 0x000088B0 }, /* GL_PROGRAM_ADDRESS_REGISTERS_ARB */
- { 26351, 0x00008805 }, /* GL_PROGRAM_ALU_INSTRUCTIONS_ARB */
- { 26383, 0x000088AC }, /* GL_PROGRAM_ATTRIBS_ARB */
- { 26406, 0x00008677 }, /* GL_PROGRAM_BINDING_ARB */
- { 26429, 0x0000864B }, /* GL_PROGRAM_ERROR_POSITION_ARB */
- { 26459, 0x0000864B }, /* GL_PROGRAM_ERROR_POSITION_NV */
- { 26488, 0x00008874 }, /* GL_PROGRAM_ERROR_STRING_ARB */
- { 26516, 0x00008876 }, /* GL_PROGRAM_FORMAT_ARB */
- { 26538, 0x00008875 }, /* GL_PROGRAM_FORMAT_ASCII_ARB */
- { 26566, 0x000088A0 }, /* GL_PROGRAM_INSTRUCTIONS_ARB */
- { 26594, 0x00008627 }, /* GL_PROGRAM_LENGTH_ARB */
- { 26616, 0x00008627 }, /* GL_PROGRAM_LENGTH_NV */
- { 26637, 0x000088B2 }, /* GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB */
- { 26677, 0x00008808 }, /* GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB */
- { 26716, 0x000088AE }, /* GL_PROGRAM_NATIVE_ATTRIBS_ARB */
- { 26746, 0x000088A2 }, /* GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB */
- { 26781, 0x000088AA }, /* GL_PROGRAM_NATIVE_PARAMETERS_ARB */
- { 26814, 0x000088A6 }, /* GL_PROGRAM_NATIVE_TEMPORARIES_ARB */
- { 26848, 0x0000880A }, /* GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB */
- { 26887, 0x00008809 }, /* GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB */
- { 26926, 0x00008B40 }, /* GL_PROGRAM_OBJECT_ARB */
- { 26948, 0x000088A8 }, /* GL_PROGRAM_PARAMETERS_ARB */
- { 26974, 0x00008644 }, /* GL_PROGRAM_PARAMETER_NV */
- { 26998, 0x00008647 }, /* GL_PROGRAM_RESIDENT_NV */
- { 27021, 0x00008628 }, /* GL_PROGRAM_STRING_ARB */
- { 27043, 0x00008628 }, /* GL_PROGRAM_STRING_NV */
- { 27064, 0x00008646 }, /* GL_PROGRAM_TARGET_NV */
- { 27085, 0x000088A4 }, /* GL_PROGRAM_TEMPORARIES_ARB */
- { 27112, 0x00008807 }, /* GL_PROGRAM_TEX_INDIRECTIONS_ARB */
- { 27144, 0x00008806 }, /* GL_PROGRAM_TEX_INSTRUCTIONS_ARB */
- { 27176, 0x000088B6 }, /* GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB */
- { 27211, 0x00001701 }, /* GL_PROJECTION */
- { 27225, 0x00000BA7 }, /* GL_PROJECTION_MATRIX */
- { 27246, 0x00000BA4 }, /* GL_PROJECTION_STACK_DEPTH */
- { 27272, 0x000080D3 }, /* GL_PROXY_COLOR_TABLE */
- { 27293, 0x00008025 }, /* GL_PROXY_HISTOGRAM */
- { 27312, 0x00008025 }, /* GL_PROXY_HISTOGRAM_EXT */
- { 27335, 0x000080D5 }, /* GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE */
- { 27374, 0x000080D4 }, /* GL_PROXY_POST_CONVOLUTION_COLOR_TABLE */
- { 27412, 0x00008063 }, /* GL_PROXY_TEXTURE_1D */
- { 27432, 0x00008C19 }, /* GL_PROXY_TEXTURE_1D_ARRAY_EXT */
- { 27462, 0x00008063 }, /* GL_PROXY_TEXTURE_1D_EXT */
- { 27486, 0x00008064 }, /* GL_PROXY_TEXTURE_2D */
- { 27506, 0x00008C1B }, /* GL_PROXY_TEXTURE_2D_ARRAY_EXT */
- { 27536, 0x00008064 }, /* GL_PROXY_TEXTURE_2D_EXT */
- { 27560, 0x00008070 }, /* GL_PROXY_TEXTURE_3D */
- { 27580, 0x000080BD }, /* GL_PROXY_TEXTURE_COLOR_TABLE_SGI */
- { 27613, 0x0000851B }, /* GL_PROXY_TEXTURE_CUBE_MAP */
- { 27639, 0x0000851B }, /* GL_PROXY_TEXTURE_CUBE_MAP_ARB */
- { 27669, 0x000084F7 }, /* GL_PROXY_TEXTURE_RECTANGLE_ARB */
- { 27700, 0x000084F7 }, /* GL_PROXY_TEXTURE_RECTANGLE_NV */
- { 27730, 0x00002003 }, /* GL_Q */
- { 27735, 0x00001209 }, /* GL_QUADRATIC_ATTENUATION */
- { 27760, 0x00000007 }, /* GL_QUADS */
- { 27769, 0x00008614 }, /* GL_QUAD_MESH_SUN */
- { 27786, 0x00000008 }, /* GL_QUAD_STRIP */
- { 27800, 0x00008864 }, /* GL_QUERY_COUNTER_BITS */
- { 27822, 0x00008864 }, /* GL_QUERY_COUNTER_BITS_ARB */
- { 27848, 0x00008866 }, /* GL_QUERY_RESULT */
- { 27864, 0x00008866 }, /* GL_QUERY_RESULT_ARB */
- { 27884, 0x00008867 }, /* GL_QUERY_RESULT_AVAILABLE */
- { 27910, 0x00008867 }, /* GL_QUERY_RESULT_AVAILABLE_ARB */
- { 27940, 0x00002002 }, /* GL_R */
- { 27945, 0x00002A10 }, /* GL_R3_G3_B2 */
- { 27957, 0x00019262 }, /* GL_RASTER_POSITION_UNCLIPPED_IBM */
- { 27990, 0x00000C02 }, /* GL_READ_BUFFER */
- { 28005, 0x00008CA8 }, /* GL_READ_FRAMEBUFFER */
- { 28025, 0x00008CAA }, /* GL_READ_FRAMEBUFFER_BINDING_EXT */
- { 28057, 0x00008CA8 }, /* GL_READ_FRAMEBUFFER_EXT */
- { 28081, 0x000088B8 }, /* GL_READ_ONLY */
- { 28094, 0x000088B8 }, /* GL_READ_ONLY_ARB */
- { 28111, 0x000088BA }, /* GL_READ_WRITE */
- { 28125, 0x000088BA }, /* GL_READ_WRITE_ARB */
- { 28143, 0x00001903 }, /* GL_RED */
- { 28150, 0x00008016 }, /* GL_REDUCE */
- { 28160, 0x00008016 }, /* GL_REDUCE_EXT */
- { 28174, 0x00000D15 }, /* GL_RED_BIAS */
- { 28186, 0x00000D52 }, /* GL_RED_BITS */
- { 28198, 0x00000D14 }, /* GL_RED_SCALE */
- { 28211, 0x00008512 }, /* GL_REFLECTION_MAP */
- { 28229, 0x00008512 }, /* GL_REFLECTION_MAP_ARB */
- { 28251, 0x00008512 }, /* GL_REFLECTION_MAP_NV */
- { 28272, 0x00001C00 }, /* GL_RENDER */
- { 28282, 0x00008D41 }, /* GL_RENDERBUFFER */
- { 28298, 0x00008D53 }, /* GL_RENDERBUFFER_ALPHA_SIZE */
- { 28325, 0x00008CA7 }, /* GL_RENDERBUFFER_BINDING_EXT */
- { 28353, 0x00008D52 }, /* GL_RENDERBUFFER_BLUE_SIZE */
- { 28379, 0x00008D54 }, /* GL_RENDERBUFFER_DEPTH_SIZE */
- { 28406, 0x00008D41 }, /* GL_RENDERBUFFER_EXT */
- { 28426, 0x00008D51 }, /* GL_RENDERBUFFER_GREEN_SIZE */
- { 28453, 0x00008D43 }, /* GL_RENDERBUFFER_HEIGHT */
- { 28476, 0x00008D43 }, /* GL_RENDERBUFFER_HEIGHT_EXT */
- { 28503, 0x00008D44 }, /* GL_RENDERBUFFER_INTERNAL_FORMAT */
- { 28535, 0x00008D44 }, /* GL_RENDERBUFFER_INTERNAL_FORMAT_EXT */
- { 28571, 0x00008D50 }, /* GL_RENDERBUFFER_RED_SIZE */
- { 28596, 0x00008CAB }, /* GL_RENDERBUFFER_SAMPLES */
- { 28620, 0x00008D55 }, /* GL_RENDERBUFFER_STENCIL_SIZE */
- { 28649, 0x00008D42 }, /* GL_RENDERBUFFER_WIDTH */
- { 28671, 0x00008D42 }, /* GL_RENDERBUFFER_WIDTH_EXT */
- { 28697, 0x00001F01 }, /* GL_RENDERER */
- { 28709, 0x00000C40 }, /* GL_RENDER_MODE */
- { 28724, 0x00002901 }, /* GL_REPEAT */
- { 28734, 0x00001E01 }, /* GL_REPLACE */
- { 28745, 0x00008062 }, /* GL_REPLACE_EXT */
- { 28760, 0x00008153 }, /* GL_REPLICATE_BORDER_HP */
- { 28783, 0x0000803A }, /* GL_RESCALE_NORMAL */
- { 28801, 0x0000803A }, /* GL_RESCALE_NORMAL_EXT */
- { 28823, 0x00000102 }, /* GL_RETURN */
- { 28833, 0x00001907 }, /* GL_RGB */
- { 28840, 0x00008052 }, /* GL_RGB10 */
- { 28849, 0x00008059 }, /* GL_RGB10_A2 */
- { 28861, 0x00008059 }, /* GL_RGB10_A2_EXT */
- { 28877, 0x00008052 }, /* GL_RGB10_EXT */
- { 28890, 0x00008053 }, /* GL_RGB12 */
- { 28899, 0x00008053 }, /* GL_RGB12_EXT */
- { 28912, 0x00008054 }, /* GL_RGB16 */
- { 28921, 0x00008054 }, /* GL_RGB16_EXT */
- { 28934, 0x0000804E }, /* GL_RGB2_EXT */
- { 28946, 0x0000804F }, /* GL_RGB4 */
- { 28954, 0x0000804F }, /* GL_RGB4_EXT */
- { 28966, 0x000083A1 }, /* GL_RGB4_S3TC */
- { 28979, 0x00008050 }, /* GL_RGB5 */
- { 28987, 0x00008057 }, /* GL_RGB5_A1 */
- { 28998, 0x00008057 }, /* GL_RGB5_A1_EXT */
- { 29013, 0x00008050 }, /* GL_RGB5_EXT */
- { 29025, 0x00008051 }, /* GL_RGB8 */
- { 29033, 0x00008051 }, /* GL_RGB8_EXT */
- { 29045, 0x00001908 }, /* GL_RGBA */
- { 29053, 0x0000805A }, /* GL_RGBA12 */
- { 29063, 0x0000805A }, /* GL_RGBA12_EXT */
- { 29077, 0x0000805B }, /* GL_RGBA16 */
- { 29087, 0x0000805B }, /* GL_RGBA16_EXT */
- { 29101, 0x00008055 }, /* GL_RGBA2 */
- { 29110, 0x00008055 }, /* GL_RGBA2_EXT */
- { 29123, 0x00008056 }, /* GL_RGBA4 */
- { 29132, 0x000083A5 }, /* GL_RGBA4_DXT5_S3TC */
- { 29151, 0x00008056 }, /* GL_RGBA4_EXT */
- { 29164, 0x000083A3 }, /* GL_RGBA4_S3TC */
- { 29178, 0x00008058 }, /* GL_RGBA8 */
- { 29187, 0x00008058 }, /* GL_RGBA8_EXT */
- { 29200, 0x00008F97 }, /* GL_RGBA8_SNORM */
- { 29215, 0x000083A4 }, /* GL_RGBA_DXT5_S3TC */
- { 29233, 0x00000C31 }, /* GL_RGBA_MODE */
- { 29246, 0x000083A2 }, /* GL_RGBA_S3TC */
- { 29259, 0x00008F93 }, /* GL_RGBA_SNORM */
- { 29273, 0x000083A0 }, /* GL_RGB_S3TC */
- { 29285, 0x00008573 }, /* GL_RGB_SCALE */
- { 29298, 0x00008573 }, /* GL_RGB_SCALE_ARB */
- { 29315, 0x00008573 }, /* GL_RGB_SCALE_EXT */
- { 29332, 0x00000407 }, /* GL_RIGHT */
- { 29341, 0x00002000 }, /* GL_S */
- { 29346, 0x00008B5D }, /* GL_SAMPLER_1D */
- { 29360, 0x00008B61 }, /* GL_SAMPLER_1D_SHADOW */
- { 29381, 0x00008B5E }, /* GL_SAMPLER_2D */
- { 29395, 0x00008B62 }, /* GL_SAMPLER_2D_SHADOW */
- { 29416, 0x00008B5F }, /* GL_SAMPLER_3D */
- { 29430, 0x00008B60 }, /* GL_SAMPLER_CUBE */
- { 29446, 0x000080A9 }, /* GL_SAMPLES */
- { 29457, 0x000086B4 }, /* GL_SAMPLES_3DFX */
- { 29473, 0x000080A9 }, /* GL_SAMPLES_ARB */
- { 29488, 0x00008914 }, /* GL_SAMPLES_PASSED */
- { 29506, 0x00008914 }, /* GL_SAMPLES_PASSED_ARB */
- { 29528, 0x0000809E }, /* GL_SAMPLE_ALPHA_TO_COVERAGE */
- { 29556, 0x0000809E }, /* GL_SAMPLE_ALPHA_TO_COVERAGE_ARB */
- { 29588, 0x0000809F }, /* GL_SAMPLE_ALPHA_TO_ONE */
- { 29611, 0x0000809F }, /* GL_SAMPLE_ALPHA_TO_ONE_ARB */
- { 29638, 0x000080A8 }, /* GL_SAMPLE_BUFFERS */
- { 29656, 0x000086B3 }, /* GL_SAMPLE_BUFFERS_3DFX */
- { 29679, 0x000080A8 }, /* GL_SAMPLE_BUFFERS_ARB */
- { 29701, 0x000080A0 }, /* GL_SAMPLE_COVERAGE */
- { 29720, 0x000080A0 }, /* GL_SAMPLE_COVERAGE_ARB */
- { 29743, 0x000080AB }, /* GL_SAMPLE_COVERAGE_INVERT */
- { 29769, 0x000080AB }, /* GL_SAMPLE_COVERAGE_INVERT_ARB */
- { 29799, 0x000080AA }, /* GL_SAMPLE_COVERAGE_VALUE */
- { 29824, 0x000080AA }, /* GL_SAMPLE_COVERAGE_VALUE_ARB */
- { 29853, 0x00080000 }, /* GL_SCISSOR_BIT */
- { 29868, 0x00000C10 }, /* GL_SCISSOR_BOX */
- { 29883, 0x00000C11 }, /* GL_SCISSOR_TEST */
- { 29899, 0x0000845E }, /* GL_SECONDARY_COLOR_ARRAY */
- { 29924, 0x0000889C }, /* GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING */
- { 29964, 0x0000889C }, /* GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB */
- { 30008, 0x0000845D }, /* GL_SECONDARY_COLOR_ARRAY_POINTER */
- { 30041, 0x0000845A }, /* GL_SECONDARY_COLOR_ARRAY_SIZE */
- { 30071, 0x0000845C }, /* GL_SECONDARY_COLOR_ARRAY_STRIDE */
- { 30103, 0x0000845B }, /* GL_SECONDARY_COLOR_ARRAY_TYPE */
- { 30133, 0x00001C02 }, /* GL_SELECT */
- { 30143, 0x00000DF3 }, /* GL_SELECTION_BUFFER_POINTER */
- { 30171, 0x00000DF4 }, /* GL_SELECTION_BUFFER_SIZE */
- { 30196, 0x00008012 }, /* GL_SEPARABLE_2D */
- { 30212, 0x000081FA }, /* GL_SEPARATE_SPECULAR_COLOR */
- { 30239, 0x000081FA }, /* GL_SEPARATE_SPECULAR_COLOR_EXT */
- { 30270, 0x0000150F }, /* GL_SET */
- { 30277, 0x00008B48 }, /* GL_SHADER_OBJECT_ARB */
- { 30298, 0x00008B88 }, /* GL_SHADER_SOURCE_LENGTH */
- { 30322, 0x00008B4F }, /* GL_SHADER_TYPE */
- { 30337, 0x00000B54 }, /* GL_SHADE_MODEL */
- { 30352, 0x00008B8C }, /* GL_SHADING_LANGUAGE_VERSION */
- { 30380, 0x000080BF }, /* GL_SHADOW_AMBIENT_SGIX */
- { 30403, 0x000081FB }, /* GL_SHARED_TEXTURE_PALETTE_EXT */
- { 30433, 0x00001601 }, /* GL_SHININESS */
- { 30446, 0x00001402 }, /* GL_SHORT */
- { 30455, 0x00008F9C }, /* GL_SIGNED_NORMALIZED */
- { 30476, 0x000081F9 }, /* GL_SINGLE_COLOR */
- { 30492, 0x000081F9 }, /* GL_SINGLE_COLOR_EXT */
- { 30512, 0x000085CC }, /* GL_SLICE_ACCUM_SUN */
- { 30531, 0x00008C46 }, /* GL_SLUMINANCE */
- { 30545, 0x00008C47 }, /* GL_SLUMINANCE8 */
- { 30560, 0x00008C45 }, /* GL_SLUMINANCE8_ALPHA8 */
- { 30582, 0x00008C44 }, /* GL_SLUMINANCE_ALPHA */
- { 30602, 0x00001D01 }, /* GL_SMOOTH */
- { 30612, 0x00000B23 }, /* GL_SMOOTH_LINE_WIDTH_GRANULARITY */
- { 30645, 0x00000B22 }, /* GL_SMOOTH_LINE_WIDTH_RANGE */
- { 30672, 0x00000B13 }, /* GL_SMOOTH_POINT_SIZE_GRANULARITY */
- { 30705, 0x00000B12 }, /* GL_SMOOTH_POINT_SIZE_RANGE */
- { 30732, 0x00008588 }, /* GL_SOURCE0_ALPHA */
- { 30749, 0x00008588 }, /* GL_SOURCE0_ALPHA_ARB */
- { 30770, 0x00008588 }, /* GL_SOURCE0_ALPHA_EXT */
- { 30791, 0x00008580 }, /* GL_SOURCE0_RGB */
- { 30806, 0x00008580 }, /* GL_SOURCE0_RGB_ARB */
- { 30825, 0x00008580 }, /* GL_SOURCE0_RGB_EXT */
- { 30844, 0x00008589 }, /* GL_SOURCE1_ALPHA */
- { 30861, 0x00008589 }, /* GL_SOURCE1_ALPHA_ARB */
- { 30882, 0x00008589 }, /* GL_SOURCE1_ALPHA_EXT */
- { 30903, 0x00008581 }, /* GL_SOURCE1_RGB */
- { 30918, 0x00008581 }, /* GL_SOURCE1_RGB_ARB */
- { 30937, 0x00008581 }, /* GL_SOURCE1_RGB_EXT */
- { 30956, 0x0000858A }, /* GL_SOURCE2_ALPHA */
- { 30973, 0x0000858A }, /* GL_SOURCE2_ALPHA_ARB */
- { 30994, 0x0000858A }, /* GL_SOURCE2_ALPHA_EXT */
- { 31015, 0x00008582 }, /* GL_SOURCE2_RGB */
- { 31030, 0x00008582 }, /* GL_SOURCE2_RGB_ARB */
- { 31049, 0x00008582 }, /* GL_SOURCE2_RGB_EXT */
- { 31068, 0x0000858B }, /* GL_SOURCE3_ALPHA_NV */
- { 31088, 0x00008583 }, /* GL_SOURCE3_RGB_NV */
- { 31106, 0x00001202 }, /* GL_SPECULAR */
- { 31118, 0x00002402 }, /* GL_SPHERE_MAP */
- { 31132, 0x00001206 }, /* GL_SPOT_CUTOFF */
- { 31147, 0x00001204 }, /* GL_SPOT_DIRECTION */
- { 31165, 0x00001205 }, /* GL_SPOT_EXPONENT */
- { 31182, 0x00008588 }, /* GL_SRC0_ALPHA */
- { 31196, 0x00008580 }, /* GL_SRC0_RGB */
- { 31208, 0x00008589 }, /* GL_SRC1_ALPHA */
- { 31222, 0x00008581 }, /* GL_SRC1_RGB */
- { 31234, 0x0000858A }, /* GL_SRC2_ALPHA */
- { 31248, 0x00008582 }, /* GL_SRC2_RGB */
- { 31260, 0x00000302 }, /* GL_SRC_ALPHA */
- { 31273, 0x00000308 }, /* GL_SRC_ALPHA_SATURATE */
- { 31295, 0x00000300 }, /* GL_SRC_COLOR */
- { 31308, 0x00008C40 }, /* GL_SRGB */
- { 31316, 0x00008C41 }, /* GL_SRGB8 */
- { 31325, 0x00008C43 }, /* GL_SRGB8_ALPHA8 */
- { 31341, 0x00008C42 }, /* GL_SRGB_ALPHA */
- { 31355, 0x00000503 }, /* GL_STACK_OVERFLOW */
- { 31373, 0x00000504 }, /* GL_STACK_UNDERFLOW */
- { 31392, 0x000088E6 }, /* GL_STATIC_COPY */
- { 31407, 0x000088E6 }, /* GL_STATIC_COPY_ARB */
- { 31426, 0x000088E4 }, /* GL_STATIC_DRAW */
- { 31441, 0x000088E4 }, /* GL_STATIC_DRAW_ARB */
- { 31460, 0x000088E5 }, /* GL_STATIC_READ */
- { 31475, 0x000088E5 }, /* GL_STATIC_READ_ARB */
- { 31494, 0x00001802 }, /* GL_STENCIL */
- { 31505, 0x00008D20 }, /* GL_STENCIL_ATTACHMENT */
- { 31527, 0x00008D20 }, /* GL_STENCIL_ATTACHMENT_EXT */
- { 31553, 0x00008801 }, /* GL_STENCIL_BACK_FAIL */
- { 31574, 0x00008801 }, /* GL_STENCIL_BACK_FAIL_ATI */
- { 31599, 0x00008800 }, /* GL_STENCIL_BACK_FUNC */
- { 31620, 0x00008800 }, /* GL_STENCIL_BACK_FUNC_ATI */
- { 31645, 0x00008802 }, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL */
- { 31677, 0x00008802 }, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI */
- { 31713, 0x00008803 }, /* GL_STENCIL_BACK_PASS_DEPTH_PASS */
- { 31745, 0x00008803 }, /* GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI */
- { 31781, 0x00008CA3 }, /* GL_STENCIL_BACK_REF */
- { 31801, 0x00008CA4 }, /* GL_STENCIL_BACK_VALUE_MASK */
- { 31828, 0x00008CA5 }, /* GL_STENCIL_BACK_WRITEMASK */
- { 31854, 0x00000D57 }, /* GL_STENCIL_BITS */
- { 31870, 0x00000400 }, /* GL_STENCIL_BUFFER_BIT */
- { 31892, 0x00000B91 }, /* GL_STENCIL_CLEAR_VALUE */
- { 31915, 0x00000B94 }, /* GL_STENCIL_FAIL */
- { 31931, 0x00000B92 }, /* GL_STENCIL_FUNC */
- { 31947, 0x00001901 }, /* GL_STENCIL_INDEX */
- { 31964, 0x00008D49 }, /* GL_STENCIL_INDEX16_EXT */
- { 31987, 0x00008D46 }, /* GL_STENCIL_INDEX1_EXT */
- { 32009, 0x00008D47 }, /* GL_STENCIL_INDEX4_EXT */
- { 32031, 0x00008D48 }, /* GL_STENCIL_INDEX8_EXT */
- { 32053, 0x00008D45 }, /* GL_STENCIL_INDEX_EXT */
- { 32074, 0x00000B95 }, /* GL_STENCIL_PASS_DEPTH_FAIL */
- { 32101, 0x00000B96 }, /* GL_STENCIL_PASS_DEPTH_PASS */
- { 32128, 0x00000B97 }, /* GL_STENCIL_REF */
- { 32143, 0x00000B90 }, /* GL_STENCIL_TEST */
- { 32159, 0x00008910 }, /* GL_STENCIL_TEST_TWO_SIDE_EXT */
- { 32188, 0x00000B93 }, /* GL_STENCIL_VALUE_MASK */
- { 32210, 0x00000B98 }, /* GL_STENCIL_WRITEMASK */
- { 32231, 0x00000C33 }, /* GL_STEREO */
- { 32241, 0x000088E2 }, /* GL_STREAM_COPY */
- { 32256, 0x000088E2 }, /* GL_STREAM_COPY_ARB */
- { 32275, 0x000088E0 }, /* GL_STREAM_DRAW */
- { 32290, 0x000088E0 }, /* GL_STREAM_DRAW_ARB */
- { 32309, 0x000088E1 }, /* GL_STREAM_READ */
- { 32324, 0x000088E1 }, /* GL_STREAM_READ_ARB */
- { 32343, 0x00000D50 }, /* GL_SUBPIXEL_BITS */
- { 32360, 0x000084E7 }, /* GL_SUBTRACT */
- { 32372, 0x000084E7 }, /* GL_SUBTRACT_ARB */
- { 32388, 0x00002001 }, /* GL_T */
- { 32393, 0x00002A2A }, /* GL_T2F_C3F_V3F */
- { 32408, 0x00002A2C }, /* GL_T2F_C4F_N3F_V3F */
- { 32427, 0x00002A29 }, /* GL_T2F_C4UB_V3F */
- { 32443, 0x00002A2B }, /* GL_T2F_N3F_V3F */
- { 32458, 0x00002A27 }, /* GL_T2F_V3F */
- { 32469, 0x00002A2D }, /* GL_T4F_C4F_N3F_V4F */
- { 32488, 0x00002A28 }, /* GL_T4F_V4F */
- { 32499, 0x00008031 }, /* GL_TABLE_TOO_LARGE_EXT */
- { 32522, 0x00001702 }, /* GL_TEXTURE */
- { 32533, 0x000084C0 }, /* GL_TEXTURE0 */
- { 32545, 0x000084C0 }, /* GL_TEXTURE0_ARB */
- { 32561, 0x000084C1 }, /* GL_TEXTURE1 */
- { 32573, 0x000084CA }, /* GL_TEXTURE10 */
- { 32586, 0x000084CA }, /* GL_TEXTURE10_ARB */
- { 32603, 0x000084CB }, /* GL_TEXTURE11 */
- { 32616, 0x000084CB }, /* GL_TEXTURE11_ARB */
- { 32633, 0x000084CC }, /* GL_TEXTURE12 */
- { 32646, 0x000084CC }, /* GL_TEXTURE12_ARB */
- { 32663, 0x000084CD }, /* GL_TEXTURE13 */
- { 32676, 0x000084CD }, /* GL_TEXTURE13_ARB */
- { 32693, 0x000084CE }, /* GL_TEXTURE14 */
- { 32706, 0x000084CE }, /* GL_TEXTURE14_ARB */
- { 32723, 0x000084CF }, /* GL_TEXTURE15 */
- { 32736, 0x000084CF }, /* GL_TEXTURE15_ARB */
- { 32753, 0x000084D0 }, /* GL_TEXTURE16 */
- { 32766, 0x000084D0 }, /* GL_TEXTURE16_ARB */
- { 32783, 0x000084D1 }, /* GL_TEXTURE17 */
- { 32796, 0x000084D1 }, /* GL_TEXTURE17_ARB */
- { 32813, 0x000084D2 }, /* GL_TEXTURE18 */
- { 32826, 0x000084D2 }, /* GL_TEXTURE18_ARB */
- { 32843, 0x000084D3 }, /* GL_TEXTURE19 */
- { 32856, 0x000084D3 }, /* GL_TEXTURE19_ARB */
- { 32873, 0x000084C1 }, /* GL_TEXTURE1_ARB */
- { 32889, 0x000084C2 }, /* GL_TEXTURE2 */
- { 32901, 0x000084D4 }, /* GL_TEXTURE20 */
- { 32914, 0x000084D4 }, /* GL_TEXTURE20_ARB */
- { 32931, 0x000084D5 }, /* GL_TEXTURE21 */
- { 32944, 0x000084D5 }, /* GL_TEXTURE21_ARB */
- { 32961, 0x000084D6 }, /* GL_TEXTURE22 */
- { 32974, 0x000084D6 }, /* GL_TEXTURE22_ARB */
- { 32991, 0x000084D7 }, /* GL_TEXTURE23 */
- { 33004, 0x000084D7 }, /* GL_TEXTURE23_ARB */
- { 33021, 0x000084D8 }, /* GL_TEXTURE24 */
- { 33034, 0x000084D8 }, /* GL_TEXTURE24_ARB */
- { 33051, 0x000084D9 }, /* GL_TEXTURE25 */
- { 33064, 0x000084D9 }, /* GL_TEXTURE25_ARB */
- { 33081, 0x000084DA }, /* GL_TEXTURE26 */
- { 33094, 0x000084DA }, /* GL_TEXTURE26_ARB */
- { 33111, 0x000084DB }, /* GL_TEXTURE27 */
- { 33124, 0x000084DB }, /* GL_TEXTURE27_ARB */
- { 33141, 0x000084DC }, /* GL_TEXTURE28 */
- { 33154, 0x000084DC }, /* GL_TEXTURE28_ARB */
- { 33171, 0x000084DD }, /* GL_TEXTURE29 */
- { 33184, 0x000084DD }, /* GL_TEXTURE29_ARB */
- { 33201, 0x000084C2 }, /* GL_TEXTURE2_ARB */
- { 33217, 0x000084C3 }, /* GL_TEXTURE3 */
- { 33229, 0x000084DE }, /* GL_TEXTURE30 */
- { 33242, 0x000084DE }, /* GL_TEXTURE30_ARB */
- { 33259, 0x000084DF }, /* GL_TEXTURE31 */
- { 33272, 0x000084DF }, /* GL_TEXTURE31_ARB */
- { 33289, 0x000084C3 }, /* GL_TEXTURE3_ARB */
- { 33305, 0x000084C4 }, /* GL_TEXTURE4 */
- { 33317, 0x000084C4 }, /* GL_TEXTURE4_ARB */
- { 33333, 0x000084C5 }, /* GL_TEXTURE5 */
- { 33345, 0x000084C5 }, /* GL_TEXTURE5_ARB */
- { 33361, 0x000084C6 }, /* GL_TEXTURE6 */
- { 33373, 0x000084C6 }, /* GL_TEXTURE6_ARB */
- { 33389, 0x000084C7 }, /* GL_TEXTURE7 */
- { 33401, 0x000084C7 }, /* GL_TEXTURE7_ARB */
- { 33417, 0x000084C8 }, /* GL_TEXTURE8 */
- { 33429, 0x000084C8 }, /* GL_TEXTURE8_ARB */
- { 33445, 0x000084C9 }, /* GL_TEXTURE9 */
- { 33457, 0x000084C9 }, /* GL_TEXTURE9_ARB */
- { 33473, 0x00000DE0 }, /* GL_TEXTURE_1D */
- { 33487, 0x00008C18 }, /* GL_TEXTURE_1D_ARRAY_EXT */
- { 33511, 0x00000DE1 }, /* GL_TEXTURE_2D */
- { 33525, 0x00008C1A }, /* GL_TEXTURE_2D_ARRAY_EXT */
- { 33549, 0x0000806F }, /* GL_TEXTURE_3D */
- { 33563, 0x0000805F }, /* GL_TEXTURE_ALPHA_SIZE */
- { 33585, 0x0000805F }, /* GL_TEXTURE_ALPHA_SIZE_EXT */
- { 33611, 0x0000813C }, /* GL_TEXTURE_BASE_LEVEL */
- { 33633, 0x00008068 }, /* GL_TEXTURE_BINDING_1D */
- { 33655, 0x00008C1C }, /* GL_TEXTURE_BINDING_1D_ARRAY_EXT */
- { 33687, 0x00008069 }, /* GL_TEXTURE_BINDING_2D */
- { 33709, 0x00008C1D }, /* GL_TEXTURE_BINDING_2D_ARRAY_EXT */
- { 33741, 0x0000806A }, /* GL_TEXTURE_BINDING_3D */
- { 33763, 0x00008514 }, /* GL_TEXTURE_BINDING_CUBE_MAP */
- { 33791, 0x00008514 }, /* GL_TEXTURE_BINDING_CUBE_MAP_ARB */
- { 33823, 0x000084F6 }, /* GL_TEXTURE_BINDING_RECTANGLE_ARB */
- { 33856, 0x000084F6 }, /* GL_TEXTURE_BINDING_RECTANGLE_NV */
- { 33888, 0x00040000 }, /* GL_TEXTURE_BIT */
- { 33903, 0x0000805E }, /* GL_TEXTURE_BLUE_SIZE */
- { 33924, 0x0000805E }, /* GL_TEXTURE_BLUE_SIZE_EXT */
- { 33949, 0x00001005 }, /* GL_TEXTURE_BORDER */
- { 33967, 0x00001004 }, /* GL_TEXTURE_BORDER_COLOR */
- { 33991, 0x00008171 }, /* GL_TEXTURE_CLIPMAP_CENTER_SGIX */
- { 34022, 0x00008176 }, /* GL_TEXTURE_CLIPMAP_DEPTH_SGIX */
- { 34052, 0x00008172 }, /* GL_TEXTURE_CLIPMAP_FRAME_SGIX */
- { 34082, 0x00008175 }, /* GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX */
- { 34117, 0x00008173 }, /* GL_TEXTURE_CLIPMAP_OFFSET_SGIX */
- { 34148, 0x00008174 }, /* GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX */
- { 34186, 0x000080BC }, /* GL_TEXTURE_COLOR_TABLE_SGI */
- { 34213, 0x000081EF }, /* GL_TEXTURE_COLOR_WRITEMASK_SGIS */
- { 34245, 0x000080BF }, /* GL_TEXTURE_COMPARE_FAIL_VALUE_ARB */
- { 34279, 0x0000884D }, /* GL_TEXTURE_COMPARE_FUNC */
- { 34303, 0x0000884D }, /* GL_TEXTURE_COMPARE_FUNC_ARB */
- { 34331, 0x0000884C }, /* GL_TEXTURE_COMPARE_MODE */
- { 34355, 0x0000884C }, /* GL_TEXTURE_COMPARE_MODE_ARB */
- { 34383, 0x0000819B }, /* GL_TEXTURE_COMPARE_OPERATOR_SGIX */
- { 34416, 0x0000819A }, /* GL_TEXTURE_COMPARE_SGIX */
- { 34440, 0x00001003 }, /* GL_TEXTURE_COMPONENTS */
- { 34462, 0x000086A1 }, /* GL_TEXTURE_COMPRESSED */
- { 34484, 0x000086A1 }, /* GL_TEXTURE_COMPRESSED_ARB */
- { 34510, 0x000086A3 }, /* GL_TEXTURE_COMPRESSED_FORMATS_ARB */
- { 34544, 0x000086A0 }, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE */
- { 34577, 0x000086A0 }, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB */
- { 34614, 0x000084EF }, /* GL_TEXTURE_COMPRESSION_HINT */
- { 34642, 0x000084EF }, /* GL_TEXTURE_COMPRESSION_HINT_ARB */
- { 34674, 0x00008078 }, /* GL_TEXTURE_COORD_ARRAY */
- { 34697, 0x0000889A }, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING */
- { 34735, 0x0000889A }, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB */
- { 34777, 0x00008092 }, /* GL_TEXTURE_COORD_ARRAY_POINTER */
- { 34808, 0x00008088 }, /* GL_TEXTURE_COORD_ARRAY_SIZE */
- { 34836, 0x0000808A }, /* GL_TEXTURE_COORD_ARRAY_STRIDE */
- { 34866, 0x00008089 }, /* GL_TEXTURE_COORD_ARRAY_TYPE */
- { 34894, 0x00008513 }, /* GL_TEXTURE_CUBE_MAP */
- { 34914, 0x00008513 }, /* GL_TEXTURE_CUBE_MAP_ARB */
- { 34938, 0x00008516 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X */
- { 34969, 0x00008516 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB */
- { 35004, 0x00008518 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y */
- { 35035, 0x00008518 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB */
- { 35070, 0x0000851A }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z */
- { 35101, 0x0000851A }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB */
- { 35136, 0x00008515 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X */
- { 35167, 0x00008515 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB */
- { 35202, 0x00008517 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y */
- { 35233, 0x00008517 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB */
- { 35268, 0x00008519 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z */
- { 35299, 0x00008519 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB */
- { 35334, 0x00008071 }, /* GL_TEXTURE_DEPTH */
- { 35351, 0x0000884A }, /* GL_TEXTURE_DEPTH_SIZE */
- { 35373, 0x0000884A }, /* GL_TEXTURE_DEPTH_SIZE_ARB */
- { 35399, 0x00002300 }, /* GL_TEXTURE_ENV */
- { 35414, 0x00002201 }, /* GL_TEXTURE_ENV_COLOR */
- { 35435, 0x00002200 }, /* GL_TEXTURE_ENV_MODE */
- { 35455, 0x00008500 }, /* GL_TEXTURE_FILTER_CONTROL */
- { 35481, 0x00002500 }, /* GL_TEXTURE_GEN_MODE */
- { 35501, 0x00000C63 }, /* GL_TEXTURE_GEN_Q */
- { 35518, 0x00000C62 }, /* GL_TEXTURE_GEN_R */
- { 35535, 0x00000C60 }, /* GL_TEXTURE_GEN_S */
- { 35552, 0x00000C61 }, /* GL_TEXTURE_GEN_T */
- { 35569, 0x0000819D }, /* GL_TEXTURE_GEQUAL_R_SGIX */
- { 35594, 0x0000805D }, /* GL_TEXTURE_GREEN_SIZE */
- { 35616, 0x0000805D }, /* GL_TEXTURE_GREEN_SIZE_EXT */
- { 35642, 0x00001001 }, /* GL_TEXTURE_HEIGHT */
- { 35660, 0x000080ED }, /* GL_TEXTURE_INDEX_SIZE_EXT */
- { 35686, 0x00008061 }, /* GL_TEXTURE_INTENSITY_SIZE */
- { 35712, 0x00008061 }, /* GL_TEXTURE_INTENSITY_SIZE_EXT */
- { 35742, 0x00001003 }, /* GL_TEXTURE_INTERNAL_FORMAT */
- { 35769, 0x0000819C }, /* GL_TEXTURE_LEQUAL_R_SGIX */
- { 35794, 0x00008501 }, /* GL_TEXTURE_LOD_BIAS */
- { 35814, 0x00008501 }, /* GL_TEXTURE_LOD_BIAS_EXT */
- { 35838, 0x00008190 }, /* GL_TEXTURE_LOD_BIAS_R_SGIX */
- { 35865, 0x0000818E }, /* GL_TEXTURE_LOD_BIAS_S_SGIX */
- { 35892, 0x0000818F }, /* GL_TEXTURE_LOD_BIAS_T_SGIX */
- { 35919, 0x00008060 }, /* GL_TEXTURE_LUMINANCE_SIZE */
- { 35945, 0x00008060 }, /* GL_TEXTURE_LUMINANCE_SIZE_EXT */
- { 35975, 0x00002800 }, /* GL_TEXTURE_MAG_FILTER */
- { 35997, 0x00000BA8 }, /* GL_TEXTURE_MATRIX */
- { 36015, 0x000084FE }, /* GL_TEXTURE_MAX_ANISOTROPY_EXT */
- { 36045, 0x0000836B }, /* GL_TEXTURE_MAX_CLAMP_R_SGIX */
- { 36073, 0x00008369 }, /* GL_TEXTURE_MAX_CLAMP_S_SGIX */
- { 36101, 0x0000836A }, /* GL_TEXTURE_MAX_CLAMP_T_SGIX */
- { 36129, 0x0000813D }, /* GL_TEXTURE_MAX_LEVEL */
- { 36150, 0x0000813B }, /* GL_TEXTURE_MAX_LOD */
- { 36169, 0x00002801 }, /* GL_TEXTURE_MIN_FILTER */
- { 36191, 0x0000813A }, /* GL_TEXTURE_MIN_LOD */
- { 36210, 0x00008066 }, /* GL_TEXTURE_PRIORITY */
- { 36230, 0x000084F5 }, /* GL_TEXTURE_RECTANGLE_ARB */
- { 36255, 0x000084F5 }, /* GL_TEXTURE_RECTANGLE_NV */
- { 36279, 0x0000805C }, /* GL_TEXTURE_RED_SIZE */
- { 36299, 0x0000805C }, /* GL_TEXTURE_RED_SIZE_EXT */
- { 36323, 0x00008067 }, /* GL_TEXTURE_RESIDENT */
- { 36343, 0x00000BA5 }, /* GL_TEXTURE_STACK_DEPTH */
- { 36366, 0x000088F1 }, /* GL_TEXTURE_STENCIL_SIZE */
- { 36390, 0x00008065 }, /* GL_TEXTURE_TOO_LARGE_EXT */
- { 36415, 0x0000888F }, /* GL_TEXTURE_UNSIGNED_REMAP_MODE_NV */
- { 36449, 0x00001000 }, /* GL_TEXTURE_WIDTH */
- { 36466, 0x00008072 }, /* GL_TEXTURE_WRAP_R */
- { 36484, 0x00002802 }, /* GL_TEXTURE_WRAP_S */
- { 36502, 0x00002803 }, /* GL_TEXTURE_WRAP_T */
- { 36520, 0x000088BF }, /* GL_TIME_ELAPSED_EXT */
- { 36540, 0x00008648 }, /* GL_TRACK_MATRIX_NV */
- { 36559, 0x00008649 }, /* GL_TRACK_MATRIX_TRANSFORM_NV */
- { 36588, 0x00001000 }, /* GL_TRANSFORM_BIT */
- { 36605, 0x000084E6 }, /* GL_TRANSPOSE_COLOR_MATRIX */
- { 36631, 0x000084E6 }, /* GL_TRANSPOSE_COLOR_MATRIX_ARB */
- { 36661, 0x000088B7 }, /* GL_TRANSPOSE_CURRENT_MATRIX_ARB */
- { 36693, 0x000084E3 }, /* GL_TRANSPOSE_MODELVIEW_MATRIX */
- { 36723, 0x000084E3 }, /* GL_TRANSPOSE_MODELVIEW_MATRIX_ARB */
- { 36757, 0x0000862C }, /* GL_TRANSPOSE_NV */
- { 36773, 0x000084E4 }, /* GL_TRANSPOSE_PROJECTION_MATRIX */
- { 36804, 0x000084E4 }, /* GL_TRANSPOSE_PROJECTION_MATRIX_ARB */
- { 36839, 0x000084E5 }, /* GL_TRANSPOSE_TEXTURE_MATRIX */
- { 36867, 0x000084E5 }, /* GL_TRANSPOSE_TEXTURE_MATRIX_ARB */
- { 36899, 0x00000004 }, /* GL_TRIANGLES */
- { 36912, 0x00000006 }, /* GL_TRIANGLE_FAN */
- { 36928, 0x00008615 }, /* GL_TRIANGLE_MESH_SUN */
- { 36949, 0x00000005 }, /* GL_TRIANGLE_STRIP */
- { 36967, 0x00000001 }, /* GL_TRUE */
- { 36975, 0x00000CF5 }, /* GL_UNPACK_ALIGNMENT */
- { 36995, 0x0000806E }, /* GL_UNPACK_IMAGE_HEIGHT */
- { 37018, 0x00000CF1 }, /* GL_UNPACK_LSB_FIRST */
- { 37038, 0x00000CF2 }, /* GL_UNPACK_ROW_LENGTH */
- { 37059, 0x0000806D }, /* GL_UNPACK_SKIP_IMAGES */
- { 37081, 0x00000CF4 }, /* GL_UNPACK_SKIP_PIXELS */
- { 37103, 0x00000CF3 }, /* GL_UNPACK_SKIP_ROWS */
- { 37123, 0x00000CF0 }, /* GL_UNPACK_SWAP_BYTES */
- { 37144, 0x00001401 }, /* GL_UNSIGNED_BYTE */
- { 37161, 0x00008362 }, /* GL_UNSIGNED_BYTE_2_3_3_REV */
- { 37188, 0x00008032 }, /* GL_UNSIGNED_BYTE_3_3_2 */
- { 37211, 0x00001405 }, /* GL_UNSIGNED_INT */
- { 37227, 0x00008036 }, /* GL_UNSIGNED_INT_10_10_10_2 */
- { 37254, 0x000084FA }, /* GL_UNSIGNED_INT_24_8 */
- { 37275, 0x000084FA }, /* GL_UNSIGNED_INT_24_8_NV */
- { 37299, 0x00008368 }, /* GL_UNSIGNED_INT_2_10_10_10_REV */
- { 37330, 0x00008035 }, /* GL_UNSIGNED_INT_8_8_8_8 */
- { 37354, 0x00008367 }, /* GL_UNSIGNED_INT_8_8_8_8_REV */
- { 37382, 0x00008C17 }, /* GL_UNSIGNED_NORMALIZED */
- { 37405, 0x00001403 }, /* GL_UNSIGNED_SHORT */
- { 37423, 0x00008366 }, /* GL_UNSIGNED_SHORT_1_5_5_5_REV */
- { 37453, 0x00008033 }, /* GL_UNSIGNED_SHORT_4_4_4_4 */
- { 37479, 0x00008365 }, /* GL_UNSIGNED_SHORT_4_4_4_4_REV */
- { 37509, 0x00008034 }, /* GL_UNSIGNED_SHORT_5_5_5_1 */
- { 37535, 0x00008363 }, /* GL_UNSIGNED_SHORT_5_6_5 */
- { 37559, 0x00008364 }, /* GL_UNSIGNED_SHORT_5_6_5_REV */
- { 37587, 0x000085BA }, /* GL_UNSIGNED_SHORT_8_8_APPLE */
- { 37615, 0x000085BA }, /* GL_UNSIGNED_SHORT_8_8_MESA */
- { 37642, 0x000085BB }, /* GL_UNSIGNED_SHORT_8_8_REV_APPLE */
- { 37674, 0x000085BB }, /* GL_UNSIGNED_SHORT_8_8_REV_MESA */
- { 37705, 0x00008CA2 }, /* GL_UPPER_LEFT */
- { 37719, 0x00002A20 }, /* GL_V2F */
- { 37726, 0x00002A21 }, /* GL_V3F */
- { 37733, 0x00008B83 }, /* GL_VALIDATE_STATUS */
- { 37752, 0x00001F00 }, /* GL_VENDOR */
- { 37762, 0x00001F02 }, /* GL_VERSION */
- { 37773, 0x00008074 }, /* GL_VERTEX_ARRAY */
- { 37789, 0x000085B5 }, /* GL_VERTEX_ARRAY_BINDING_APPLE */
- { 37819, 0x00008896 }, /* GL_VERTEX_ARRAY_BUFFER_BINDING */
- { 37850, 0x00008896 }, /* GL_VERTEX_ARRAY_BUFFER_BINDING_ARB */
- { 37885, 0x0000808E }, /* GL_VERTEX_ARRAY_POINTER */
- { 37909, 0x0000807A }, /* GL_VERTEX_ARRAY_SIZE */
- { 37930, 0x0000807C }, /* GL_VERTEX_ARRAY_STRIDE */
- { 37953, 0x0000807B }, /* GL_VERTEX_ARRAY_TYPE */
- { 37974, 0x00008650 }, /* GL_VERTEX_ATTRIB_ARRAY0_NV */
- { 38001, 0x0000865A }, /* GL_VERTEX_ATTRIB_ARRAY10_NV */
- { 38029, 0x0000865B }, /* GL_VERTEX_ATTRIB_ARRAY11_NV */
- { 38057, 0x0000865C }, /* GL_VERTEX_ATTRIB_ARRAY12_NV */
- { 38085, 0x0000865D }, /* GL_VERTEX_ATTRIB_ARRAY13_NV */
- { 38113, 0x0000865E }, /* GL_VERTEX_ATTRIB_ARRAY14_NV */
- { 38141, 0x0000865F }, /* GL_VERTEX_ATTRIB_ARRAY15_NV */
- { 38169, 0x00008651 }, /* GL_VERTEX_ATTRIB_ARRAY1_NV */
- { 38196, 0x00008652 }, /* GL_VERTEX_ATTRIB_ARRAY2_NV */
- { 38223, 0x00008653 }, /* GL_VERTEX_ATTRIB_ARRAY3_NV */
- { 38250, 0x00008654 }, /* GL_VERTEX_ATTRIB_ARRAY4_NV */
- { 38277, 0x00008655 }, /* GL_VERTEX_ATTRIB_ARRAY5_NV */
- { 38304, 0x00008656 }, /* GL_VERTEX_ATTRIB_ARRAY6_NV */
- { 38331, 0x00008657 }, /* GL_VERTEX_ATTRIB_ARRAY7_NV */
- { 38358, 0x00008658 }, /* GL_VERTEX_ATTRIB_ARRAY8_NV */
- { 38385, 0x00008659 }, /* GL_VERTEX_ATTRIB_ARRAY9_NV */
- { 38412, 0x0000889F }, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING */
- { 38450, 0x0000889F }, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB */
- { 38492, 0x00008622 }, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED */
- { 38523, 0x00008622 }, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB */
- { 38558, 0x0000886A }, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED */
- { 38592, 0x0000886A }, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB */
- { 38630, 0x00008645 }, /* GL_VERTEX_ATTRIB_ARRAY_POINTER */
- { 38661, 0x00008645 }, /* GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB */
- { 38696, 0x00008623 }, /* GL_VERTEX_ATTRIB_ARRAY_SIZE */
- { 38724, 0x00008623 }, /* GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB */
- { 38756, 0x00008624 }, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE */
- { 38786, 0x00008624 }, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB */
- { 38820, 0x00008625 }, /* GL_VERTEX_ATTRIB_ARRAY_TYPE */
- { 38848, 0x00008625 }, /* GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB */
- { 38880, 0x000086A7 }, /* GL_VERTEX_BLEND_ARB */
- { 38900, 0x00008620 }, /* GL_VERTEX_PROGRAM_ARB */
- { 38922, 0x0000864A }, /* GL_VERTEX_PROGRAM_BINDING_NV */
- { 38951, 0x00008620 }, /* GL_VERTEX_PROGRAM_NV */
- { 38972, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE */
- { 39001, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE_ARB */
- { 39034, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE_NV */
- { 39066, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE */
- { 39093, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE_ARB */
- { 39124, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE_NV */
- { 39154, 0x00008B31 }, /* GL_VERTEX_SHADER */
- { 39171, 0x00008B31 }, /* GL_VERTEX_SHADER_ARB */
- { 39192, 0x00008621 }, /* GL_VERTEX_STATE_PROGRAM_NV */
- { 39219, 0x00000BA2 }, /* GL_VIEWPORT */
- { 39231, 0x00000800 }, /* GL_VIEWPORT_BIT */
- { 39247, 0x000086AD }, /* GL_WEIGHT_ARRAY_ARB */
- { 39267, 0x0000889E }, /* GL_WEIGHT_ARRAY_BUFFER_BINDING */
- { 39298, 0x0000889E }, /* GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB */
- { 39333, 0x000086AC }, /* GL_WEIGHT_ARRAY_POINTER_ARB */
- { 39361, 0x000086AB }, /* GL_WEIGHT_ARRAY_SIZE_ARB */
- { 39386, 0x000086AA }, /* GL_WEIGHT_ARRAY_STRIDE_ARB */
- { 39413, 0x000086A9 }, /* GL_WEIGHT_ARRAY_TYPE_ARB */
- { 39438, 0x000086A6 }, /* GL_WEIGHT_SUM_UNITY_ARB */
- { 39462, 0x000081D4 }, /* GL_WRAP_BORDER_SUN */
- { 39481, 0x000088B9 }, /* GL_WRITE_ONLY */
- { 39495, 0x000088B9 }, /* GL_WRITE_ONLY_ARB */
- { 39513, 0x00001506 }, /* GL_XOR */
- { 39520, 0x000085B9 }, /* GL_YCBCR_422_APPLE */
- { 39539, 0x00008757 }, /* GL_YCBCR_MESA */
- { 39553, 0x00000000 }, /* GL_ZERO */
- { 39561, 0x00000D16 }, /* GL_ZOOM_X */
- { 39571, 0x00000D17 }, /* GL_ZOOM_Y */
+ { 9603, 0x00008E4D }, /* GL_FIRST_VERTEX_CONVENTION_EXT */
+ { 9634, 0x00001D00 }, /* GL_FLAT */
+ { 9642, 0x00001406 }, /* GL_FLOAT */
+ { 9651, 0x00008B5A }, /* GL_FLOAT_MAT2 */
+ { 9665, 0x00008B5A }, /* GL_FLOAT_MAT2_ARB */
+ { 9683, 0x00008B65 }, /* GL_FLOAT_MAT2x3 */
+ { 9699, 0x00008B66 }, /* GL_FLOAT_MAT2x4 */
+ { 9715, 0x00008B5B }, /* GL_FLOAT_MAT3 */
+ { 9729, 0x00008B5B }, /* GL_FLOAT_MAT3_ARB */
+ { 9747, 0x00008B67 }, /* GL_FLOAT_MAT3x2 */
+ { 9763, 0x00008B68 }, /* GL_FLOAT_MAT3x4 */
+ { 9779, 0x00008B5C }, /* GL_FLOAT_MAT4 */
+ { 9793, 0x00008B5C }, /* GL_FLOAT_MAT4_ARB */
+ { 9811, 0x00008B69 }, /* GL_FLOAT_MAT4x2 */
+ { 9827, 0x00008B6A }, /* GL_FLOAT_MAT4x3 */
+ { 9843, 0x00008B50 }, /* GL_FLOAT_VEC2 */
+ { 9857, 0x00008B50 }, /* GL_FLOAT_VEC2_ARB */
+ { 9875, 0x00008B51 }, /* GL_FLOAT_VEC3 */
+ { 9889, 0x00008B51 }, /* GL_FLOAT_VEC3_ARB */
+ { 9907, 0x00008B52 }, /* GL_FLOAT_VEC4 */
+ { 9921, 0x00008B52 }, /* GL_FLOAT_VEC4_ARB */
+ { 9939, 0x00000B60 }, /* GL_FOG */
+ { 9946, 0x00000080 }, /* GL_FOG_BIT */
+ { 9957, 0x00000B66 }, /* GL_FOG_COLOR */
+ { 9970, 0x00008451 }, /* GL_FOG_COORD */
+ { 9983, 0x00008451 }, /* GL_FOG_COORDINATE */
+ { 10001, 0x00008457 }, /* GL_FOG_COORDINATE_ARRAY */
+ { 10025, 0x0000889D }, /* GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING */
+ { 10064, 0x0000889D }, /* GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB */
+ { 10107, 0x00008456 }, /* GL_FOG_COORDINATE_ARRAY_POINTER */
+ { 10139, 0x00008455 }, /* GL_FOG_COORDINATE_ARRAY_STRIDE */
+ { 10170, 0x00008454 }, /* GL_FOG_COORDINATE_ARRAY_TYPE */
+ { 10199, 0x00008450 }, /* GL_FOG_COORDINATE_SOURCE */
+ { 10224, 0x00008457 }, /* GL_FOG_COORD_ARRAY */
+ { 10243, 0x0000889D }, /* GL_FOG_COORD_ARRAY_BUFFER_BINDING */
+ { 10277, 0x00008456 }, /* GL_FOG_COORD_ARRAY_POINTER */
+ { 10304, 0x00008455 }, /* GL_FOG_COORD_ARRAY_STRIDE */
+ { 10330, 0x00008454 }, /* GL_FOG_COORD_ARRAY_TYPE */
+ { 10354, 0x00008450 }, /* GL_FOG_COORD_SRC */
+ { 10371, 0x00000B62 }, /* GL_FOG_DENSITY */
+ { 10386, 0x0000855A }, /* GL_FOG_DISTANCE_MODE_NV */
+ { 10410, 0x00000B64 }, /* GL_FOG_END */
+ { 10421, 0x00000C54 }, /* GL_FOG_HINT */
+ { 10433, 0x00000B61 }, /* GL_FOG_INDEX */
+ { 10446, 0x00000B65 }, /* GL_FOG_MODE */
+ { 10458, 0x00008198 }, /* GL_FOG_OFFSET_SGIX */
+ { 10477, 0x00008199 }, /* GL_FOG_OFFSET_VALUE_SGIX */
+ { 10502, 0x00000B63 }, /* GL_FOG_START */
+ { 10515, 0x00008452 }, /* GL_FRAGMENT_DEPTH */
+ { 10533, 0x00008804 }, /* GL_FRAGMENT_PROGRAM_ARB */
+ { 10557, 0x00008B30 }, /* GL_FRAGMENT_SHADER */
+ { 10576, 0x00008B30 }, /* GL_FRAGMENT_SHADER_ARB */
+ { 10599, 0x00008B8B }, /* GL_FRAGMENT_SHADER_DERIVATIVE_HINT */
+ { 10634, 0x00008D40 }, /* GL_FRAMEBUFFER */
+ { 10649, 0x00008215 }, /* GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
+ { 10686, 0x00008214 }, /* GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
+ { 10722, 0x00008210 }, /* GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
+ { 10763, 0x00008211 }, /* GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
+ { 10804, 0x00008216 }, /* GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
+ { 10841, 0x00008213 }, /* GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
+ { 10878, 0x00008CD1 }, /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
+ { 10916, 0x00008CD1 }, /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT */
+ { 10958, 0x00008CD0 }, /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
+ { 10996, 0x00008CD0 }, /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT */
+ { 11038, 0x00008212 }, /* GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
+ { 11073, 0x00008217 }, /* GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
+ { 11112, 0x00008CD4 }, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT */
+ { 11161, 0x00008CD3 }, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
+ { 11209, 0x00008CD3 }, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT */
+ { 11261, 0x00008CD4 }, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
+ { 11301, 0x00008CD4 }, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
+ { 11345, 0x00008CD2 }, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
+ { 11385, 0x00008CD2 }, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT */
+ { 11429, 0x00008CA6 }, /* GL_FRAMEBUFFER_BINDING_EXT */
+ { 11456, 0x00008CD5 }, /* GL_FRAMEBUFFER_COMPLETE */
+ { 11480, 0x00008CD5 }, /* GL_FRAMEBUFFER_COMPLETE_EXT */
+ { 11508, 0x00008218 }, /* GL_FRAMEBUFFER_DEFAULT */
+ { 11531, 0x00008D40 }, /* GL_FRAMEBUFFER_EXT */
+ { 11550, 0x00008CD6 }, /* GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
+ { 11587, 0x00008CD6 }, /* GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT */
+ { 11628, 0x00008CD9 }, /* GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT */
+ { 11669, 0x00008CDB }, /* GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT */
+ { 11711, 0x00008CD8 }, /* GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT */
+ { 11762, 0x00008CDA }, /* GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT */
+ { 11800, 0x00008CD7 }, /* GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
+ { 11845, 0x00008CD7 }, /* GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT */
+ { 11894, 0x00008D56 }, /* GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
+ { 11932, 0x00008CDC }, /* GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT */
+ { 11974, 0x00008CDE }, /* GL_FRAMEBUFFER_STATUS_ERROR_EXT */
+ { 12006, 0x00008219 }, /* GL_FRAMEBUFFER_UNDEFINED */
+ { 12031, 0x00008CDD }, /* GL_FRAMEBUFFER_UNSUPPORTED */
+ { 12058, 0x00008CDD }, /* GL_FRAMEBUFFER_UNSUPPORTED_EXT */
+ { 12089, 0x00000404 }, /* GL_FRONT */
+ { 12098, 0x00000408 }, /* GL_FRONT_AND_BACK */
+ { 12116, 0x00000B46 }, /* GL_FRONT_FACE */
+ { 12130, 0x00000400 }, /* GL_FRONT_LEFT */
+ { 12144, 0x00000401 }, /* GL_FRONT_RIGHT */
+ { 12159, 0x00008006 }, /* GL_FUNC_ADD */
+ { 12171, 0x00008006 }, /* GL_FUNC_ADD_EXT */
+ { 12187, 0x0000800B }, /* GL_FUNC_REVERSE_SUBTRACT */
+ { 12212, 0x0000800B }, /* GL_FUNC_REVERSE_SUBTRACT_EXT */
+ { 12241, 0x0000800A }, /* GL_FUNC_SUBTRACT */
+ { 12258, 0x0000800A }, /* GL_FUNC_SUBTRACT_EXT */
+ { 12279, 0x00008191 }, /* GL_GENERATE_MIPMAP */
+ { 12298, 0x00008192 }, /* GL_GENERATE_MIPMAP_HINT */
+ { 12322, 0x00008192 }, /* GL_GENERATE_MIPMAP_HINT_SGIS */
+ { 12351, 0x00008191 }, /* GL_GENERATE_MIPMAP_SGIS */
+ { 12375, 0x00000206 }, /* GL_GEQUAL */
+ { 12385, 0x00000204 }, /* GL_GREATER */
+ { 12396, 0x00001904 }, /* GL_GREEN */
+ { 12405, 0x00000D19 }, /* GL_GREEN_BIAS */
+ { 12419, 0x00000D53 }, /* GL_GREEN_BITS */
+ { 12433, 0x00000D18 }, /* GL_GREEN_SCALE */
+ { 12448, 0x00008000 }, /* GL_HINT_BIT */
+ { 12460, 0x00008024 }, /* GL_HISTOGRAM */
+ { 12473, 0x0000802B }, /* GL_HISTOGRAM_ALPHA_SIZE */
+ { 12497, 0x0000802B }, /* GL_HISTOGRAM_ALPHA_SIZE_EXT */
+ { 12525, 0x0000802A }, /* GL_HISTOGRAM_BLUE_SIZE */
+ { 12548, 0x0000802A }, /* GL_HISTOGRAM_BLUE_SIZE_EXT */
+ { 12575, 0x00008024 }, /* GL_HISTOGRAM_EXT */
+ { 12592, 0x00008027 }, /* GL_HISTOGRAM_FORMAT */
+ { 12612, 0x00008027 }, /* GL_HISTOGRAM_FORMAT_EXT */
+ { 12636, 0x00008029 }, /* GL_HISTOGRAM_GREEN_SIZE */
+ { 12660, 0x00008029 }, /* GL_HISTOGRAM_GREEN_SIZE_EXT */
+ { 12688, 0x0000802C }, /* GL_HISTOGRAM_LUMINANCE_SIZE */
+ { 12716, 0x0000802C }, /* GL_HISTOGRAM_LUMINANCE_SIZE_EXT */
+ { 12748, 0x00008028 }, /* GL_HISTOGRAM_RED_SIZE */
+ { 12770, 0x00008028 }, /* GL_HISTOGRAM_RED_SIZE_EXT */
+ { 12796, 0x0000802D }, /* GL_HISTOGRAM_SINK */
+ { 12814, 0x0000802D }, /* GL_HISTOGRAM_SINK_EXT */
+ { 12836, 0x00008026 }, /* GL_HISTOGRAM_WIDTH */
+ { 12855, 0x00008026 }, /* GL_HISTOGRAM_WIDTH_EXT */
+ { 12878, 0x0000862A }, /* GL_IDENTITY_NV */
+ { 12893, 0x00008150 }, /* GL_IGNORE_BORDER_HP */
+ { 12913, 0x00008B9B }, /* GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES */
+ { 12953, 0x00008B9A }, /* GL_IMPLEMENTATION_COLOR_READ_TYPE_OES */
+ { 12991, 0x00001E02 }, /* GL_INCR */
+ { 12999, 0x00008507 }, /* GL_INCR_WRAP */
+ { 13012, 0x00008507 }, /* GL_INCR_WRAP_EXT */
+ { 13029, 0x00008222 }, /* GL_INDEX */
+ { 13038, 0x00008077 }, /* GL_INDEX_ARRAY */
+ { 13053, 0x00008899 }, /* GL_INDEX_ARRAY_BUFFER_BINDING */
+ { 13083, 0x00008899 }, /* GL_INDEX_ARRAY_BUFFER_BINDING_ARB */
+ { 13117, 0x00008091 }, /* GL_INDEX_ARRAY_POINTER */
+ { 13140, 0x00008086 }, /* GL_INDEX_ARRAY_STRIDE */
+ { 13162, 0x00008085 }, /* GL_INDEX_ARRAY_TYPE */
+ { 13182, 0x00000D51 }, /* GL_INDEX_BITS */
+ { 13196, 0x00000C20 }, /* GL_INDEX_CLEAR_VALUE */
+ { 13217, 0x00000BF1 }, /* GL_INDEX_LOGIC_OP */
+ { 13235, 0x00000C30 }, /* GL_INDEX_MODE */
+ { 13249, 0x00000D13 }, /* GL_INDEX_OFFSET */
+ { 13265, 0x00000D12 }, /* GL_INDEX_SHIFT */
+ { 13280, 0x00000C21 }, /* GL_INDEX_WRITEMASK */
+ { 13299, 0x00008B84 }, /* GL_INFO_LOG_LENGTH */
+ { 13318, 0x00001404 }, /* GL_INT */
+ { 13325, 0x00008049 }, /* GL_INTENSITY */
+ { 13338, 0x0000804C }, /* GL_INTENSITY12 */
+ { 13353, 0x0000804C }, /* GL_INTENSITY12_EXT */
+ { 13372, 0x0000804D }, /* GL_INTENSITY16 */
+ { 13387, 0x0000804D }, /* GL_INTENSITY16_EXT */
+ { 13406, 0x0000804A }, /* GL_INTENSITY4 */
+ { 13420, 0x0000804A }, /* GL_INTENSITY4_EXT */
+ { 13438, 0x0000804B }, /* GL_INTENSITY8 */
+ { 13452, 0x0000804B }, /* GL_INTENSITY8_EXT */
+ { 13470, 0x00008049 }, /* GL_INTENSITY_EXT */
+ { 13487, 0x00008575 }, /* GL_INTERPOLATE */
+ { 13502, 0x00008575 }, /* GL_INTERPOLATE_ARB */
+ { 13521, 0x00008575 }, /* GL_INTERPOLATE_EXT */
+ { 13540, 0x00008B53 }, /* GL_INT_VEC2 */
+ { 13552, 0x00008B53 }, /* GL_INT_VEC2_ARB */
+ { 13568, 0x00008B54 }, /* GL_INT_VEC3 */
+ { 13580, 0x00008B54 }, /* GL_INT_VEC3_ARB */
+ { 13596, 0x00008B55 }, /* GL_INT_VEC4 */
+ { 13608, 0x00008B55 }, /* GL_INT_VEC4_ARB */
+ { 13624, 0x00000500 }, /* GL_INVALID_ENUM */
+ { 13640, 0x00000506 }, /* GL_INVALID_FRAMEBUFFER_OPERATION */
+ { 13673, 0x00000506 }, /* GL_INVALID_FRAMEBUFFER_OPERATION_EXT */
+ { 13710, 0x00000502 }, /* GL_INVALID_OPERATION */
+ { 13731, 0x00000501 }, /* GL_INVALID_VALUE */
+ { 13748, 0x0000862B }, /* GL_INVERSE_NV */
+ { 13762, 0x0000862D }, /* GL_INVERSE_TRANSPOSE_NV */
+ { 13786, 0x0000150A }, /* GL_INVERT */
+ { 13796, 0x00001E00 }, /* GL_KEEP */
+ { 13804, 0x00008E4E }, /* GL_LAST_VERTEX_CONVENTION_EXT */
+ { 13834, 0x00000406 }, /* GL_LEFT */
+ { 13842, 0x00000203 }, /* GL_LEQUAL */
+ { 13852, 0x00000201 }, /* GL_LESS */
+ { 13860, 0x00004000 }, /* GL_LIGHT0 */
+ { 13870, 0x00004001 }, /* GL_LIGHT1 */
+ { 13880, 0x00004002 }, /* GL_LIGHT2 */
+ { 13890, 0x00004003 }, /* GL_LIGHT3 */
+ { 13900, 0x00004004 }, /* GL_LIGHT4 */
+ { 13910, 0x00004005 }, /* GL_LIGHT5 */
+ { 13920, 0x00004006 }, /* GL_LIGHT6 */
+ { 13930, 0x00004007 }, /* GL_LIGHT7 */
+ { 13940, 0x00000B50 }, /* GL_LIGHTING */
+ { 13952, 0x00000040 }, /* GL_LIGHTING_BIT */
+ { 13968, 0x00000B53 }, /* GL_LIGHT_MODEL_AMBIENT */
+ { 13991, 0x000081F8 }, /* GL_LIGHT_MODEL_COLOR_CONTROL */
+ { 14020, 0x000081F8 }, /* GL_LIGHT_MODEL_COLOR_CONTROL_EXT */
+ { 14053, 0x00000B51 }, /* GL_LIGHT_MODEL_LOCAL_VIEWER */
+ { 14081, 0x00000B52 }, /* GL_LIGHT_MODEL_TWO_SIDE */
+ { 14105, 0x00001B01 }, /* GL_LINE */
+ { 14113, 0x00002601 }, /* GL_LINEAR */
+ { 14123, 0x00001208 }, /* GL_LINEAR_ATTENUATION */
+ { 14145, 0x00008170 }, /* GL_LINEAR_CLIPMAP_LINEAR_SGIX */
+ { 14175, 0x0000844F }, /* GL_LINEAR_CLIPMAP_NEAREST_SGIX */
+ { 14206, 0x00002703 }, /* GL_LINEAR_MIPMAP_LINEAR */
+ { 14230, 0x00002701 }, /* GL_LINEAR_MIPMAP_NEAREST */
+ { 14255, 0x00000001 }, /* GL_LINES */
+ { 14264, 0x00000004 }, /* GL_LINE_BIT */
+ { 14276, 0x00000002 }, /* GL_LINE_LOOP */
+ { 14289, 0x00000707 }, /* GL_LINE_RESET_TOKEN */
+ { 14309, 0x00000B20 }, /* GL_LINE_SMOOTH */
+ { 14324, 0x00000C52 }, /* GL_LINE_SMOOTH_HINT */
+ { 14344, 0x00000B24 }, /* GL_LINE_STIPPLE */
+ { 14360, 0x00000B25 }, /* GL_LINE_STIPPLE_PATTERN */
+ { 14384, 0x00000B26 }, /* GL_LINE_STIPPLE_REPEAT */
+ { 14407, 0x00000003 }, /* GL_LINE_STRIP */
+ { 14421, 0x00000702 }, /* GL_LINE_TOKEN */
+ { 14435, 0x00000B21 }, /* GL_LINE_WIDTH */
+ { 14449, 0x00000B23 }, /* GL_LINE_WIDTH_GRANULARITY */
+ { 14475, 0x00000B22 }, /* GL_LINE_WIDTH_RANGE */
+ { 14495, 0x00008B82 }, /* GL_LINK_STATUS */
+ { 14510, 0x00000B32 }, /* GL_LIST_BASE */
+ { 14523, 0x00020000 }, /* GL_LIST_BIT */
+ { 14535, 0x00000B33 }, /* GL_LIST_INDEX */
+ { 14549, 0x00000B30 }, /* GL_LIST_MODE */
+ { 14562, 0x00000101 }, /* GL_LOAD */
+ { 14570, 0x00000BF1 }, /* GL_LOGIC_OP */
+ { 14582, 0x00000BF0 }, /* GL_LOGIC_OP_MODE */
+ { 14599, 0x00008CA1 }, /* GL_LOWER_LEFT */
+ { 14613, 0x00001909 }, /* GL_LUMINANCE */
+ { 14626, 0x00008041 }, /* GL_LUMINANCE12 */
+ { 14641, 0x00008047 }, /* GL_LUMINANCE12_ALPHA12 */
+ { 14664, 0x00008047 }, /* GL_LUMINANCE12_ALPHA12_EXT */
+ { 14691, 0x00008046 }, /* GL_LUMINANCE12_ALPHA4 */
+ { 14713, 0x00008046 }, /* GL_LUMINANCE12_ALPHA4_EXT */
+ { 14739, 0x00008041 }, /* GL_LUMINANCE12_EXT */
+ { 14758, 0x00008042 }, /* GL_LUMINANCE16 */
+ { 14773, 0x00008048 }, /* GL_LUMINANCE16_ALPHA16 */
+ { 14796, 0x00008048 }, /* GL_LUMINANCE16_ALPHA16_EXT */
+ { 14823, 0x00008042 }, /* GL_LUMINANCE16_EXT */
+ { 14842, 0x0000803F }, /* GL_LUMINANCE4 */
+ { 14856, 0x00008043 }, /* GL_LUMINANCE4_ALPHA4 */
+ { 14877, 0x00008043 }, /* GL_LUMINANCE4_ALPHA4_EXT */
+ { 14902, 0x0000803F }, /* GL_LUMINANCE4_EXT */
+ { 14920, 0x00008044 }, /* GL_LUMINANCE6_ALPHA2 */
+ { 14941, 0x00008044 }, /* GL_LUMINANCE6_ALPHA2_EXT */
+ { 14966, 0x00008040 }, /* GL_LUMINANCE8 */
+ { 14980, 0x00008045 }, /* GL_LUMINANCE8_ALPHA8 */
+ { 15001, 0x00008045 }, /* GL_LUMINANCE8_ALPHA8_EXT */
+ { 15026, 0x00008040 }, /* GL_LUMINANCE8_EXT */
+ { 15044, 0x0000190A }, /* GL_LUMINANCE_ALPHA */
+ { 15063, 0x00000D90 }, /* GL_MAP1_COLOR_4 */
+ { 15079, 0x00000DD0 }, /* GL_MAP1_GRID_DOMAIN */
+ { 15099, 0x00000DD1 }, /* GL_MAP1_GRID_SEGMENTS */
+ { 15121, 0x00000D91 }, /* GL_MAP1_INDEX */
+ { 15135, 0x00000D92 }, /* GL_MAP1_NORMAL */
+ { 15150, 0x00000D93 }, /* GL_MAP1_TEXTURE_COORD_1 */
+ { 15174, 0x00000D94 }, /* GL_MAP1_TEXTURE_COORD_2 */
+ { 15198, 0x00000D95 }, /* GL_MAP1_TEXTURE_COORD_3 */
+ { 15222, 0x00000D96 }, /* GL_MAP1_TEXTURE_COORD_4 */
+ { 15246, 0x00000D97 }, /* GL_MAP1_VERTEX_3 */
+ { 15263, 0x00000D98 }, /* GL_MAP1_VERTEX_4 */
+ { 15280, 0x00008660 }, /* GL_MAP1_VERTEX_ATTRIB0_4_NV */
+ { 15308, 0x0000866A }, /* GL_MAP1_VERTEX_ATTRIB10_4_NV */
+ { 15337, 0x0000866B }, /* GL_MAP1_VERTEX_ATTRIB11_4_NV */
+ { 15366, 0x0000866C }, /* GL_MAP1_VERTEX_ATTRIB12_4_NV */
+ { 15395, 0x0000866D }, /* GL_MAP1_VERTEX_ATTRIB13_4_NV */
+ { 15424, 0x0000866E }, /* GL_MAP1_VERTEX_ATTRIB14_4_NV */
+ { 15453, 0x0000866F }, /* GL_MAP1_VERTEX_ATTRIB15_4_NV */
+ { 15482, 0x00008661 }, /* GL_MAP1_VERTEX_ATTRIB1_4_NV */
+ { 15510, 0x00008662 }, /* GL_MAP1_VERTEX_ATTRIB2_4_NV */
+ { 15538, 0x00008663 }, /* GL_MAP1_VERTEX_ATTRIB3_4_NV */
+ { 15566, 0x00008664 }, /* GL_MAP1_VERTEX_ATTRIB4_4_NV */
+ { 15594, 0x00008665 }, /* GL_MAP1_VERTEX_ATTRIB5_4_NV */
+ { 15622, 0x00008666 }, /* GL_MAP1_VERTEX_ATTRIB6_4_NV */
+ { 15650, 0x00008667 }, /* GL_MAP1_VERTEX_ATTRIB7_4_NV */
+ { 15678, 0x00008668 }, /* GL_MAP1_VERTEX_ATTRIB8_4_NV */
+ { 15706, 0x00008669 }, /* GL_MAP1_VERTEX_ATTRIB9_4_NV */
+ { 15734, 0x00000DB0 }, /* GL_MAP2_COLOR_4 */
+ { 15750, 0x00000DD2 }, /* GL_MAP2_GRID_DOMAIN */
+ { 15770, 0x00000DD3 }, /* GL_MAP2_GRID_SEGMENTS */
+ { 15792, 0x00000DB1 }, /* GL_MAP2_INDEX */
+ { 15806, 0x00000DB2 }, /* GL_MAP2_NORMAL */
+ { 15821, 0x00000DB3 }, /* GL_MAP2_TEXTURE_COORD_1 */
+ { 15845, 0x00000DB4 }, /* GL_MAP2_TEXTURE_COORD_2 */
+ { 15869, 0x00000DB5 }, /* GL_MAP2_TEXTURE_COORD_3 */
+ { 15893, 0x00000DB6 }, /* GL_MAP2_TEXTURE_COORD_4 */
+ { 15917, 0x00000DB7 }, /* GL_MAP2_VERTEX_3 */
+ { 15934, 0x00000DB8 }, /* GL_MAP2_VERTEX_4 */
+ { 15951, 0x00008670 }, /* GL_MAP2_VERTEX_ATTRIB0_4_NV */
+ { 15979, 0x0000867A }, /* GL_MAP2_VERTEX_ATTRIB10_4_NV */
+ { 16008, 0x0000867B }, /* GL_MAP2_VERTEX_ATTRIB11_4_NV */
+ { 16037, 0x0000867C }, /* GL_MAP2_VERTEX_ATTRIB12_4_NV */
+ { 16066, 0x0000867D }, /* GL_MAP2_VERTEX_ATTRIB13_4_NV */
+ { 16095, 0x0000867E }, /* GL_MAP2_VERTEX_ATTRIB14_4_NV */
+ { 16124, 0x0000867F }, /* GL_MAP2_VERTEX_ATTRIB15_4_NV */
+ { 16153, 0x00008671 }, /* GL_MAP2_VERTEX_ATTRIB1_4_NV */
+ { 16181, 0x00008672 }, /* GL_MAP2_VERTEX_ATTRIB2_4_NV */
+ { 16209, 0x00008673 }, /* GL_MAP2_VERTEX_ATTRIB3_4_NV */
+ { 16237, 0x00008674 }, /* GL_MAP2_VERTEX_ATTRIB4_4_NV */
+ { 16265, 0x00008675 }, /* GL_MAP2_VERTEX_ATTRIB5_4_NV */
+ { 16293, 0x00008676 }, /* GL_MAP2_VERTEX_ATTRIB6_4_NV */
+ { 16321, 0x00008677 }, /* GL_MAP2_VERTEX_ATTRIB7_4_NV */
+ { 16349, 0x00008678 }, /* GL_MAP2_VERTEX_ATTRIB8_4_NV */
+ { 16377, 0x00008679 }, /* GL_MAP2_VERTEX_ATTRIB9_4_NV */
+ { 16405, 0x00000D10 }, /* GL_MAP_COLOR */
+ { 16418, 0x00000010 }, /* GL_MAP_FLUSH_EXPLICIT_BIT */
+ { 16444, 0x00000008 }, /* GL_MAP_INVALIDATE_BUFFER_BIT */
+ { 16473, 0x00000004 }, /* GL_MAP_INVALIDATE_RANGE_BIT */
+ { 16501, 0x00000001 }, /* GL_MAP_READ_BIT */
+ { 16517, 0x00000D11 }, /* GL_MAP_STENCIL */
+ { 16532, 0x00000020 }, /* GL_MAP_UNSYNCHRONIZED_BIT */
+ { 16558, 0x00000002 }, /* GL_MAP_WRITE_BIT */
+ { 16575, 0x000088C0 }, /* GL_MATRIX0_ARB */
+ { 16590, 0x00008630 }, /* GL_MATRIX0_NV */
+ { 16604, 0x000088CA }, /* GL_MATRIX10_ARB */
+ { 16620, 0x000088CB }, /* GL_MATRIX11_ARB */
+ { 16636, 0x000088CC }, /* GL_MATRIX12_ARB */
+ { 16652, 0x000088CD }, /* GL_MATRIX13_ARB */
+ { 16668, 0x000088CE }, /* GL_MATRIX14_ARB */
+ { 16684, 0x000088CF }, /* GL_MATRIX15_ARB */
+ { 16700, 0x000088D0 }, /* GL_MATRIX16_ARB */
+ { 16716, 0x000088D1 }, /* GL_MATRIX17_ARB */
+ { 16732, 0x000088D2 }, /* GL_MATRIX18_ARB */
+ { 16748, 0x000088D3 }, /* GL_MATRIX19_ARB */
+ { 16764, 0x000088C1 }, /* GL_MATRIX1_ARB */
+ { 16779, 0x00008631 }, /* GL_MATRIX1_NV */
+ { 16793, 0x000088D4 }, /* GL_MATRIX20_ARB */
+ { 16809, 0x000088D5 }, /* GL_MATRIX21_ARB */
+ { 16825, 0x000088D6 }, /* GL_MATRIX22_ARB */
+ { 16841, 0x000088D7 }, /* GL_MATRIX23_ARB */
+ { 16857, 0x000088D8 }, /* GL_MATRIX24_ARB */
+ { 16873, 0x000088D9 }, /* GL_MATRIX25_ARB */
+ { 16889, 0x000088DA }, /* GL_MATRIX26_ARB */
+ { 16905, 0x000088DB }, /* GL_MATRIX27_ARB */
+ { 16921, 0x000088DC }, /* GL_MATRIX28_ARB */
+ { 16937, 0x000088DD }, /* GL_MATRIX29_ARB */
+ { 16953, 0x000088C2 }, /* GL_MATRIX2_ARB */
+ { 16968, 0x00008632 }, /* GL_MATRIX2_NV */
+ { 16982, 0x000088DE }, /* GL_MATRIX30_ARB */
+ { 16998, 0x000088DF }, /* GL_MATRIX31_ARB */
+ { 17014, 0x000088C3 }, /* GL_MATRIX3_ARB */
+ { 17029, 0x00008633 }, /* GL_MATRIX3_NV */
+ { 17043, 0x000088C4 }, /* GL_MATRIX4_ARB */
+ { 17058, 0x00008634 }, /* GL_MATRIX4_NV */
+ { 17072, 0x000088C5 }, /* GL_MATRIX5_ARB */
+ { 17087, 0x00008635 }, /* GL_MATRIX5_NV */
+ { 17101, 0x000088C6 }, /* GL_MATRIX6_ARB */
+ { 17116, 0x00008636 }, /* GL_MATRIX6_NV */
+ { 17130, 0x000088C7 }, /* GL_MATRIX7_ARB */
+ { 17145, 0x00008637 }, /* GL_MATRIX7_NV */
+ { 17159, 0x000088C8 }, /* GL_MATRIX8_ARB */
+ { 17174, 0x000088C9 }, /* GL_MATRIX9_ARB */
+ { 17189, 0x00008844 }, /* GL_MATRIX_INDEX_ARRAY_ARB */
+ { 17215, 0x00008849 }, /* GL_MATRIX_INDEX_ARRAY_POINTER_ARB */
+ { 17249, 0x00008846 }, /* GL_MATRIX_INDEX_ARRAY_SIZE_ARB */
+ { 17280, 0x00008848 }, /* GL_MATRIX_INDEX_ARRAY_STRIDE_ARB */
+ { 17313, 0x00008847 }, /* GL_MATRIX_INDEX_ARRAY_TYPE_ARB */
+ { 17344, 0x00000BA0 }, /* GL_MATRIX_MODE */
+ { 17359, 0x00008840 }, /* GL_MATRIX_PALETTE_ARB */
+ { 17381, 0x00008008 }, /* GL_MAX */
+ { 17388, 0x00008073 }, /* GL_MAX_3D_TEXTURE_SIZE */
+ { 17411, 0x000088FF }, /* GL_MAX_ARRAY_TEXTURE_LAYERS_EXT */
+ { 17443, 0x00000D35 }, /* GL_MAX_ATTRIB_STACK_DEPTH */
+ { 17469, 0x00000D3B }, /* GL_MAX_CLIENT_ATTRIB_STACK_DEPTH */
+ { 17502, 0x00008177 }, /* GL_MAX_CLIPMAP_DEPTH_SGIX */
+ { 17528, 0x00008178 }, /* GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX */
+ { 17562, 0x00000D32 }, /* GL_MAX_CLIP_PLANES */
+ { 17581, 0x00008CDF }, /* GL_MAX_COLOR_ATTACHMENTS_EXT */
+ { 17610, 0x000080B3 }, /* GL_MAX_COLOR_MATRIX_STACK_DEPTH */
+ { 17642, 0x000080B3 }, /* GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI */
+ { 17678, 0x00008B4D }, /* GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS */
+ { 17714, 0x00008B4D }, /* GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB */
+ { 17754, 0x0000801B }, /* GL_MAX_CONVOLUTION_HEIGHT */
+ { 17780, 0x0000801B }, /* GL_MAX_CONVOLUTION_HEIGHT_EXT */
+ { 17810, 0x0000801A }, /* GL_MAX_CONVOLUTION_WIDTH */
+ { 17835, 0x0000801A }, /* GL_MAX_CONVOLUTION_WIDTH_EXT */
+ { 17864, 0x0000851C }, /* GL_MAX_CUBE_MAP_TEXTURE_SIZE */
+ { 17893, 0x0000851C }, /* GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB */
+ { 17926, 0x00008824 }, /* GL_MAX_DRAW_BUFFERS */
+ { 17946, 0x00008824 }, /* GL_MAX_DRAW_BUFFERS_ARB */
+ { 17970, 0x00008824 }, /* GL_MAX_DRAW_BUFFERS_ATI */
+ { 17994, 0x000080E9 }, /* GL_MAX_ELEMENTS_INDICES */
+ { 18018, 0x000080E8 }, /* GL_MAX_ELEMENTS_VERTICES */
+ { 18043, 0x00000D30 }, /* GL_MAX_EVAL_ORDER */
+ { 18061, 0x00008008 }, /* GL_MAX_EXT */
+ { 18072, 0x00008B49 }, /* GL_MAX_FRAGMENT_UNIFORM_COMPONENTS */
+ { 18107, 0x00008B49 }, /* GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB */
+ { 18146, 0x00000D31 }, /* GL_MAX_LIGHTS */
+ { 18160, 0x00000B31 }, /* GL_MAX_LIST_NESTING */
+ { 18180, 0x00008841 }, /* GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB */
+ { 18218, 0x00000D36 }, /* GL_MAX_MODELVIEW_STACK_DEPTH */
+ { 18247, 0x00000D37 }, /* GL_MAX_NAME_STACK_DEPTH */
+ { 18271, 0x00008842 }, /* GL_MAX_PALETTE_MATRICES_ARB */
+ { 18299, 0x00000D34 }, /* GL_MAX_PIXEL_MAP_TABLE */
+ { 18322, 0x000088B1 }, /* GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB */
+ { 18359, 0x0000880B }, /* GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB */
+ { 18395, 0x000088AD }, /* GL_MAX_PROGRAM_ATTRIBS_ARB */
+ { 18422, 0x000088F5 }, /* GL_MAX_PROGRAM_CALL_DEPTH_NV */
+ { 18451, 0x000088B5 }, /* GL_MAX_PROGRAM_ENV_PARAMETERS_ARB */
+ { 18485, 0x000088F4 }, /* GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */
+ { 18521, 0x000088F6 }, /* GL_MAX_PROGRAM_IF_DEPTH_NV */
+ { 18548, 0x000088A1 }, /* GL_MAX_PROGRAM_INSTRUCTIONS_ARB */
+ { 18580, 0x000088B4 }, /* GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB */
+ { 18616, 0x000088F8 }, /* GL_MAX_PROGRAM_LOOP_COUNT_NV */
+ { 18645, 0x000088F7 }, /* GL_MAX_PROGRAM_LOOP_DEPTH_NV */
+ { 18674, 0x0000862F }, /* GL_MAX_PROGRAM_MATRICES_ARB */
+ { 18702, 0x0000862E }, /* GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB */
+ { 18740, 0x000088B3 }, /* GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB */
+ { 18784, 0x0000880E }, /* GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB */
+ { 18827, 0x000088AF }, /* GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB */
+ { 18861, 0x000088A3 }, /* GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB */
+ { 18900, 0x000088AB }, /* GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB */
+ { 18937, 0x000088A7 }, /* GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB */
+ { 18975, 0x00008810 }, /* GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB */
+ { 19018, 0x0000880F }, /* GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB */
+ { 19061, 0x000088A9 }, /* GL_MAX_PROGRAM_PARAMETERS_ARB */
+ { 19091, 0x000088A5 }, /* GL_MAX_PROGRAM_TEMPORARIES_ARB */
+ { 19122, 0x0000880D }, /* GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB */
+ { 19158, 0x0000880C }, /* GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB */
+ { 19194, 0x00000D38 }, /* GL_MAX_PROJECTION_STACK_DEPTH */
+ { 19224, 0x000084F8 }, /* GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB */
+ { 19258, 0x000084F8 }, /* GL_MAX_RECTANGLE_TEXTURE_SIZE_NV */
+ { 19291, 0x000084E8 }, /* GL_MAX_RENDERBUFFER_SIZE_EXT */
+ { 19320, 0x00008D57 }, /* GL_MAX_SAMPLES */
+ { 19335, 0x00008504 }, /* GL_MAX_SHININESS_NV */
+ { 19355, 0x00008505 }, /* GL_MAX_SPOT_EXPONENT_NV */
+ { 19379, 0x00008871 }, /* GL_MAX_TEXTURE_COORDS */
+ { 19401, 0x00008871 }, /* GL_MAX_TEXTURE_COORDS_ARB */
+ { 19427, 0x00008872 }, /* GL_MAX_TEXTURE_IMAGE_UNITS */
+ { 19454, 0x00008872 }, /* GL_MAX_TEXTURE_IMAGE_UNITS_ARB */
+ { 19485, 0x000084FD }, /* GL_MAX_TEXTURE_LOD_BIAS */
+ { 19509, 0x000084FF }, /* GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT */
+ { 19543, 0x00000D33 }, /* GL_MAX_TEXTURE_SIZE */
+ { 19563, 0x00000D39 }, /* GL_MAX_TEXTURE_STACK_DEPTH */
+ { 19590, 0x000084E2 }, /* GL_MAX_TEXTURE_UNITS */
+ { 19611, 0x000084E2 }, /* GL_MAX_TEXTURE_UNITS_ARB */
+ { 19636, 0x0000862F }, /* GL_MAX_TRACK_MATRICES_NV */
+ { 19661, 0x0000862E }, /* GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV */
+ { 19696, 0x00008B4B }, /* GL_MAX_VARYING_FLOATS */
+ { 19718, 0x00008B4B }, /* GL_MAX_VARYING_FLOATS_ARB */
+ { 19744, 0x00008869 }, /* GL_MAX_VERTEX_ATTRIBS */
+ { 19766, 0x00008869 }, /* GL_MAX_VERTEX_ATTRIBS_ARB */
+ { 19792, 0x00008B4C }, /* GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS */
+ { 19826, 0x00008B4C }, /* GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */
+ { 19864, 0x00008B4A }, /* GL_MAX_VERTEX_UNIFORM_COMPONENTS */
+ { 19897, 0x00008B4A }, /* GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB */
+ { 19934, 0x000086A4 }, /* GL_MAX_VERTEX_UNITS_ARB */
+ { 19958, 0x00000D3A }, /* GL_MAX_VIEWPORT_DIMS */
+ { 19979, 0x00008007 }, /* GL_MIN */
+ { 19986, 0x0000802E }, /* GL_MINMAX */
+ { 19996, 0x0000802E }, /* GL_MINMAX_EXT */
+ { 20010, 0x0000802F }, /* GL_MINMAX_FORMAT */
+ { 20027, 0x0000802F }, /* GL_MINMAX_FORMAT_EXT */
+ { 20048, 0x00008030 }, /* GL_MINMAX_SINK */
+ { 20063, 0x00008030 }, /* GL_MINMAX_SINK_EXT */
+ { 20082, 0x00008007 }, /* GL_MIN_EXT */
+ { 20093, 0x00008370 }, /* GL_MIRRORED_REPEAT */
+ { 20112, 0x00008370 }, /* GL_MIRRORED_REPEAT_ARB */
+ { 20135, 0x00008370 }, /* GL_MIRRORED_REPEAT_IBM */
+ { 20158, 0x00008742 }, /* GL_MIRROR_CLAMP_ATI */
+ { 20178, 0x00008742 }, /* GL_MIRROR_CLAMP_EXT */
+ { 20198, 0x00008912 }, /* GL_MIRROR_CLAMP_TO_BORDER_EXT */
+ { 20228, 0x00008743 }, /* GL_MIRROR_CLAMP_TO_EDGE_ATI */
+ { 20256, 0x00008743 }, /* GL_MIRROR_CLAMP_TO_EDGE_EXT */
+ { 20284, 0x00001700 }, /* GL_MODELVIEW */
+ { 20297, 0x00001700 }, /* GL_MODELVIEW0_ARB */
+ { 20315, 0x0000872A }, /* GL_MODELVIEW10_ARB */
+ { 20334, 0x0000872B }, /* GL_MODELVIEW11_ARB */
+ { 20353, 0x0000872C }, /* GL_MODELVIEW12_ARB */
+ { 20372, 0x0000872D }, /* GL_MODELVIEW13_ARB */
+ { 20391, 0x0000872E }, /* GL_MODELVIEW14_ARB */
+ { 20410, 0x0000872F }, /* GL_MODELVIEW15_ARB */
+ { 20429, 0x00008730 }, /* GL_MODELVIEW16_ARB */
+ { 20448, 0x00008731 }, /* GL_MODELVIEW17_ARB */
+ { 20467, 0x00008732 }, /* GL_MODELVIEW18_ARB */
+ { 20486, 0x00008733 }, /* GL_MODELVIEW19_ARB */
+ { 20505, 0x0000850A }, /* GL_MODELVIEW1_ARB */
+ { 20523, 0x00008734 }, /* GL_MODELVIEW20_ARB */
+ { 20542, 0x00008735 }, /* GL_MODELVIEW21_ARB */
+ { 20561, 0x00008736 }, /* GL_MODELVIEW22_ARB */
+ { 20580, 0x00008737 }, /* GL_MODELVIEW23_ARB */
+ { 20599, 0x00008738 }, /* GL_MODELVIEW24_ARB */
+ { 20618, 0x00008739 }, /* GL_MODELVIEW25_ARB */
+ { 20637, 0x0000873A }, /* GL_MODELVIEW26_ARB */
+ { 20656, 0x0000873B }, /* GL_MODELVIEW27_ARB */
+ { 20675, 0x0000873C }, /* GL_MODELVIEW28_ARB */
+ { 20694, 0x0000873D }, /* GL_MODELVIEW29_ARB */
+ { 20713, 0x00008722 }, /* GL_MODELVIEW2_ARB */
+ { 20731, 0x0000873E }, /* GL_MODELVIEW30_ARB */
+ { 20750, 0x0000873F }, /* GL_MODELVIEW31_ARB */
+ { 20769, 0x00008723 }, /* GL_MODELVIEW3_ARB */
+ { 20787, 0x00008724 }, /* GL_MODELVIEW4_ARB */
+ { 20805, 0x00008725 }, /* GL_MODELVIEW5_ARB */
+ { 20823, 0x00008726 }, /* GL_MODELVIEW6_ARB */
+ { 20841, 0x00008727 }, /* GL_MODELVIEW7_ARB */
+ { 20859, 0x00008728 }, /* GL_MODELVIEW8_ARB */
+ { 20877, 0x00008729 }, /* GL_MODELVIEW9_ARB */
+ { 20895, 0x00000BA6 }, /* GL_MODELVIEW_MATRIX */
+ { 20915, 0x00008629 }, /* GL_MODELVIEW_PROJECTION_NV */
+ { 20942, 0x00000BA3 }, /* GL_MODELVIEW_STACK_DEPTH */
+ { 20967, 0x00002100 }, /* GL_MODULATE */
+ { 20979, 0x00008744 }, /* GL_MODULATE_ADD_ATI */
+ { 20999, 0x00008745 }, /* GL_MODULATE_SIGNED_ADD_ATI */
+ { 21026, 0x00008746 }, /* GL_MODULATE_SUBTRACT_ATI */
+ { 21051, 0x00000103 }, /* GL_MULT */
+ { 21059, 0x0000809D }, /* GL_MULTISAMPLE */
+ { 21074, 0x000086B2 }, /* GL_MULTISAMPLE_3DFX */
+ { 21094, 0x0000809D }, /* GL_MULTISAMPLE_ARB */
+ { 21113, 0x20000000 }, /* GL_MULTISAMPLE_BIT */
+ { 21132, 0x20000000 }, /* GL_MULTISAMPLE_BIT_3DFX */
+ { 21156, 0x20000000 }, /* GL_MULTISAMPLE_BIT_ARB */
+ { 21179, 0x00008534 }, /* GL_MULTISAMPLE_FILTER_HINT_NV */
+ { 21209, 0x00002A25 }, /* GL_N3F_V3F */
+ { 21220, 0x00000D70 }, /* GL_NAME_STACK_DEPTH */
+ { 21240, 0x0000150E }, /* GL_NAND */
+ { 21248, 0x00002600 }, /* GL_NEAREST */
+ { 21259, 0x0000844E }, /* GL_NEAREST_CLIPMAP_LINEAR_SGIX */
+ { 21290, 0x0000844D }, /* GL_NEAREST_CLIPMAP_NEAREST_SGIX */
+ { 21322, 0x00002702 }, /* GL_NEAREST_MIPMAP_LINEAR */
+ { 21347, 0x00002700 }, /* GL_NEAREST_MIPMAP_NEAREST */
+ { 21373, 0x00000200 }, /* GL_NEVER */
+ { 21382, 0x00001102 }, /* GL_NICEST */
+ { 21392, 0x00000000 }, /* GL_NONE */
+ { 21400, 0x00001505 }, /* GL_NOOP */
+ { 21408, 0x00001508 }, /* GL_NOR */
+ { 21415, 0x00000BA1 }, /* GL_NORMALIZE */
+ { 21428, 0x00008075 }, /* GL_NORMAL_ARRAY */
+ { 21444, 0x00008897 }, /* GL_NORMAL_ARRAY_BUFFER_BINDING */
+ { 21475, 0x00008897 }, /* GL_NORMAL_ARRAY_BUFFER_BINDING_ARB */
+ { 21510, 0x0000808F }, /* GL_NORMAL_ARRAY_POINTER */
+ { 21534, 0x0000807F }, /* GL_NORMAL_ARRAY_STRIDE */
+ { 21557, 0x0000807E }, /* GL_NORMAL_ARRAY_TYPE */
+ { 21578, 0x00008511 }, /* GL_NORMAL_MAP */
+ { 21592, 0x00008511 }, /* GL_NORMAL_MAP_ARB */
+ { 21610, 0x00008511 }, /* GL_NORMAL_MAP_NV */
+ { 21627, 0x00000205 }, /* GL_NOTEQUAL */
+ { 21639, 0x00000000 }, /* GL_NO_ERROR */
+ { 21651, 0x000086A2 }, /* GL_NUM_COMPRESSED_TEXTURE_FORMATS */
+ { 21685, 0x000086A2 }, /* GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB */
+ { 21723, 0x00008B89 }, /* GL_OBJECT_ACTIVE_ATTRIBUTES_ARB */
+ { 21755, 0x00008B8A }, /* GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB */
+ { 21797, 0x00008B86 }, /* GL_OBJECT_ACTIVE_UNIFORMS_ARB */
+ { 21827, 0x00008B87 }, /* GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB */
+ { 21867, 0x00008B85 }, /* GL_OBJECT_ATTACHED_OBJECTS_ARB */
+ { 21898, 0x00008B81 }, /* GL_OBJECT_COMPILE_STATUS_ARB */
+ { 21927, 0x00008B80 }, /* GL_OBJECT_DELETE_STATUS_ARB */
+ { 21955, 0x00008B84 }, /* GL_OBJECT_INFO_LOG_LENGTH_ARB */
+ { 21985, 0x00002401 }, /* GL_OBJECT_LINEAR */
+ { 22002, 0x00008B82 }, /* GL_OBJECT_LINK_STATUS_ARB */
+ { 22028, 0x00002501 }, /* GL_OBJECT_PLANE */
+ { 22044, 0x00008B88 }, /* GL_OBJECT_SHADER_SOURCE_LENGTH_ARB */
+ { 22079, 0x00008B4F }, /* GL_OBJECT_SUBTYPE_ARB */
+ { 22101, 0x00008B4E }, /* GL_OBJECT_TYPE_ARB */
+ { 22120, 0x00008B83 }, /* GL_OBJECT_VALIDATE_STATUS_ARB */
+ { 22150, 0x00008165 }, /* GL_OCCLUSION_TEST_HP */
+ { 22171, 0x00008166 }, /* GL_OCCLUSION_TEST_RESULT_HP */
+ { 22199, 0x00000001 }, /* GL_ONE */
+ { 22206, 0x00008004 }, /* GL_ONE_MINUS_CONSTANT_ALPHA */
+ { 22234, 0x00008004 }, /* GL_ONE_MINUS_CONSTANT_ALPHA_EXT */
+ { 22266, 0x00008002 }, /* GL_ONE_MINUS_CONSTANT_COLOR */
+ { 22294, 0x00008002 }, /* GL_ONE_MINUS_CONSTANT_COLOR_EXT */
+ { 22326, 0x00000305 }, /* GL_ONE_MINUS_DST_ALPHA */
+ { 22349, 0x00000307 }, /* GL_ONE_MINUS_DST_COLOR */
+ { 22372, 0x00000303 }, /* GL_ONE_MINUS_SRC_ALPHA */
+ { 22395, 0x00000301 }, /* GL_ONE_MINUS_SRC_COLOR */
+ { 22418, 0x00008598 }, /* GL_OPERAND0_ALPHA */
+ { 22436, 0x00008598 }, /* GL_OPERAND0_ALPHA_ARB */
+ { 22458, 0x00008598 }, /* GL_OPERAND0_ALPHA_EXT */
+ { 22480, 0x00008590 }, /* GL_OPERAND0_RGB */
+ { 22496, 0x00008590 }, /* GL_OPERAND0_RGB_ARB */
+ { 22516, 0x00008590 }, /* GL_OPERAND0_RGB_EXT */
+ { 22536, 0x00008599 }, /* GL_OPERAND1_ALPHA */
+ { 22554, 0x00008599 }, /* GL_OPERAND1_ALPHA_ARB */
+ { 22576, 0x00008599 }, /* GL_OPERAND1_ALPHA_EXT */
+ { 22598, 0x00008591 }, /* GL_OPERAND1_RGB */
+ { 22614, 0x00008591 }, /* GL_OPERAND1_RGB_ARB */
+ { 22634, 0x00008591 }, /* GL_OPERAND1_RGB_EXT */
+ { 22654, 0x0000859A }, /* GL_OPERAND2_ALPHA */
+ { 22672, 0x0000859A }, /* GL_OPERAND2_ALPHA_ARB */
+ { 22694, 0x0000859A }, /* GL_OPERAND2_ALPHA_EXT */
+ { 22716, 0x00008592 }, /* GL_OPERAND2_RGB */
+ { 22732, 0x00008592 }, /* GL_OPERAND2_RGB_ARB */
+ { 22752, 0x00008592 }, /* GL_OPERAND2_RGB_EXT */
+ { 22772, 0x0000859B }, /* GL_OPERAND3_ALPHA_NV */
+ { 22793, 0x00008593 }, /* GL_OPERAND3_RGB_NV */
+ { 22812, 0x00001507 }, /* GL_OR */
+ { 22818, 0x00000A01 }, /* GL_ORDER */
+ { 22827, 0x0000150D }, /* GL_OR_INVERTED */
+ { 22842, 0x0000150B }, /* GL_OR_REVERSE */
+ { 22856, 0x00000505 }, /* GL_OUT_OF_MEMORY */
+ { 22873, 0x00000D05 }, /* GL_PACK_ALIGNMENT */
+ { 22891, 0x0000806C }, /* GL_PACK_IMAGE_HEIGHT */
+ { 22912, 0x00008758 }, /* GL_PACK_INVERT_MESA */
+ { 22932, 0x00000D01 }, /* GL_PACK_LSB_FIRST */
+ { 22950, 0x00000D02 }, /* GL_PACK_ROW_LENGTH */
+ { 22969, 0x0000806B }, /* GL_PACK_SKIP_IMAGES */
+ { 22989, 0x00000D04 }, /* GL_PACK_SKIP_PIXELS */
+ { 23009, 0x00000D03 }, /* GL_PACK_SKIP_ROWS */
+ { 23027, 0x00000D00 }, /* GL_PACK_SWAP_BYTES */
+ { 23046, 0x00008B92 }, /* GL_PALETTE4_R5_G6_B5_OES */
+ { 23071, 0x00008B94 }, /* GL_PALETTE4_RGB5_A1_OES */
+ { 23095, 0x00008B90 }, /* GL_PALETTE4_RGB8_OES */
+ { 23116, 0x00008B93 }, /* GL_PALETTE4_RGBA4_OES */
+ { 23138, 0x00008B91 }, /* GL_PALETTE4_RGBA8_OES */
+ { 23160, 0x00008B97 }, /* GL_PALETTE8_R5_G6_B5_OES */
+ { 23185, 0x00008B99 }, /* GL_PALETTE8_RGB5_A1_OES */
+ { 23209, 0x00008B95 }, /* GL_PALETTE8_RGB8_OES */
+ { 23230, 0x00008B98 }, /* GL_PALETTE8_RGBA4_OES */
+ { 23252, 0x00008B96 }, /* GL_PALETTE8_RGBA8_OES */
+ { 23274, 0x00000700 }, /* GL_PASS_THROUGH_TOKEN */
+ { 23296, 0x00000C50 }, /* GL_PERSPECTIVE_CORRECTION_HINT */
+ { 23327, 0x00000C79 }, /* GL_PIXEL_MAP_A_TO_A */
+ { 23347, 0x00000CB9 }, /* GL_PIXEL_MAP_A_TO_A_SIZE */
+ { 23372, 0x00000C78 }, /* GL_PIXEL_MAP_B_TO_B */
+ { 23392, 0x00000CB8 }, /* GL_PIXEL_MAP_B_TO_B_SIZE */
+ { 23417, 0x00000C77 }, /* GL_PIXEL_MAP_G_TO_G */
+ { 23437, 0x00000CB7 }, /* GL_PIXEL_MAP_G_TO_G_SIZE */
+ { 23462, 0x00000C75 }, /* GL_PIXEL_MAP_I_TO_A */
+ { 23482, 0x00000CB5 }, /* GL_PIXEL_MAP_I_TO_A_SIZE */
+ { 23507, 0x00000C74 }, /* GL_PIXEL_MAP_I_TO_B */
+ { 23527, 0x00000CB4 }, /* GL_PIXEL_MAP_I_TO_B_SIZE */
+ { 23552, 0x00000C73 }, /* GL_PIXEL_MAP_I_TO_G */
+ { 23572, 0x00000CB3 }, /* GL_PIXEL_MAP_I_TO_G_SIZE */
+ { 23597, 0x00000C70 }, /* GL_PIXEL_MAP_I_TO_I */
+ { 23617, 0x00000CB0 }, /* GL_PIXEL_MAP_I_TO_I_SIZE */
+ { 23642, 0x00000C72 }, /* GL_PIXEL_MAP_I_TO_R */
+ { 23662, 0x00000CB2 }, /* GL_PIXEL_MAP_I_TO_R_SIZE */
+ { 23687, 0x00000C76 }, /* GL_PIXEL_MAP_R_TO_R */
+ { 23707, 0x00000CB6 }, /* GL_PIXEL_MAP_R_TO_R_SIZE */
+ { 23732, 0x00000C71 }, /* GL_PIXEL_MAP_S_TO_S */
+ { 23752, 0x00000CB1 }, /* GL_PIXEL_MAP_S_TO_S_SIZE */
+ { 23777, 0x00000020 }, /* GL_PIXEL_MODE_BIT */
+ { 23795, 0x000088EB }, /* GL_PIXEL_PACK_BUFFER */
+ { 23816, 0x000088ED }, /* GL_PIXEL_PACK_BUFFER_BINDING */
+ { 23845, 0x000088ED }, /* GL_PIXEL_PACK_BUFFER_BINDING_EXT */
+ { 23878, 0x000088EB }, /* GL_PIXEL_PACK_BUFFER_EXT */
+ { 23903, 0x000088EC }, /* GL_PIXEL_UNPACK_BUFFER */
+ { 23926, 0x000088EF }, /* GL_PIXEL_UNPACK_BUFFER_BINDING */
+ { 23957, 0x000088EF }, /* GL_PIXEL_UNPACK_BUFFER_BINDING_EXT */
+ { 23992, 0x000088EC }, /* GL_PIXEL_UNPACK_BUFFER_EXT */
+ { 24019, 0x00001B00 }, /* GL_POINT */
+ { 24028, 0x00000000 }, /* GL_POINTS */
+ { 24038, 0x00000002 }, /* GL_POINT_BIT */
+ { 24051, 0x00008129 }, /* GL_POINT_DISTANCE_ATTENUATION */
+ { 24081, 0x00008129 }, /* GL_POINT_DISTANCE_ATTENUATION_ARB */
+ { 24115, 0x00008129 }, /* GL_POINT_DISTANCE_ATTENUATION_EXT */
+ { 24149, 0x00008129 }, /* GL_POINT_DISTANCE_ATTENUATION_SGIS */
+ { 24184, 0x00008128 }, /* GL_POINT_FADE_THRESHOLD_SIZE */
+ { 24213, 0x00008128 }, /* GL_POINT_FADE_THRESHOLD_SIZE_ARB */
+ { 24246, 0x00008128 }, /* GL_POINT_FADE_THRESHOLD_SIZE_EXT */
+ { 24279, 0x00008128 }, /* GL_POINT_FADE_THRESHOLD_SIZE_SGIS */
+ { 24313, 0x00000B11 }, /* GL_POINT_SIZE */
+ { 24327, 0x00000B13 }, /* GL_POINT_SIZE_GRANULARITY */
+ { 24353, 0x00008127 }, /* GL_POINT_SIZE_MAX */
+ { 24371, 0x00008127 }, /* GL_POINT_SIZE_MAX_ARB */
+ { 24393, 0x00008127 }, /* GL_POINT_SIZE_MAX_EXT */
+ { 24415, 0x00008127 }, /* GL_POINT_SIZE_MAX_SGIS */
+ { 24438, 0x00008126 }, /* GL_POINT_SIZE_MIN */
+ { 24456, 0x00008126 }, /* GL_POINT_SIZE_MIN_ARB */
+ { 24478, 0x00008126 }, /* GL_POINT_SIZE_MIN_EXT */
+ { 24500, 0x00008126 }, /* GL_POINT_SIZE_MIN_SGIS */
+ { 24523, 0x00000B12 }, /* GL_POINT_SIZE_RANGE */
+ { 24543, 0x00000B10 }, /* GL_POINT_SMOOTH */
+ { 24559, 0x00000C51 }, /* GL_POINT_SMOOTH_HINT */
+ { 24580, 0x00008861 }, /* GL_POINT_SPRITE */
+ { 24596, 0x00008861 }, /* GL_POINT_SPRITE_ARB */
+ { 24616, 0x00008CA0 }, /* GL_POINT_SPRITE_COORD_ORIGIN */
+ { 24645, 0x00008861 }, /* GL_POINT_SPRITE_NV */
+ { 24664, 0x00008863 }, /* GL_POINT_SPRITE_R_MODE_NV */
+ { 24690, 0x00000701 }, /* GL_POINT_TOKEN */
+ { 24705, 0x00000009 }, /* GL_POLYGON */
+ { 24716, 0x00000008 }, /* GL_POLYGON_BIT */
+ { 24731, 0x00000B40 }, /* GL_POLYGON_MODE */
+ { 24747, 0x00008039 }, /* GL_POLYGON_OFFSET_BIAS */
+ { 24770, 0x00008038 }, /* GL_POLYGON_OFFSET_FACTOR */
+ { 24795, 0x00008037 }, /* GL_POLYGON_OFFSET_FILL */
+ { 24818, 0x00002A02 }, /* GL_POLYGON_OFFSET_LINE */
+ { 24841, 0x00002A01 }, /* GL_POLYGON_OFFSET_POINT */
+ { 24865, 0x00002A00 }, /* GL_POLYGON_OFFSET_UNITS */
+ { 24889, 0x00000B41 }, /* GL_POLYGON_SMOOTH */
+ { 24907, 0x00000C53 }, /* GL_POLYGON_SMOOTH_HINT */
+ { 24930, 0x00000B42 }, /* GL_POLYGON_STIPPLE */
+ { 24949, 0x00000010 }, /* GL_POLYGON_STIPPLE_BIT */
+ { 24972, 0x00000703 }, /* GL_POLYGON_TOKEN */
+ { 24989, 0x00001203 }, /* GL_POSITION */
+ { 25001, 0x000080BB }, /* GL_POST_COLOR_MATRIX_ALPHA_BIAS */
+ { 25033, 0x000080BB }, /* GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI */
+ { 25069, 0x000080B7 }, /* GL_POST_COLOR_MATRIX_ALPHA_SCALE */
+ { 25102, 0x000080B7 }, /* GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI */
+ { 25139, 0x000080BA }, /* GL_POST_COLOR_MATRIX_BLUE_BIAS */
+ { 25170, 0x000080BA }, /* GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI */
+ { 25205, 0x000080B6 }, /* GL_POST_COLOR_MATRIX_BLUE_SCALE */
+ { 25237, 0x000080B6 }, /* GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI */
+ { 25273, 0x000080D2 }, /* GL_POST_COLOR_MATRIX_COLOR_TABLE */
+ { 25306, 0x000080B9 }, /* GL_POST_COLOR_MATRIX_GREEN_BIAS */
+ { 25338, 0x000080B9 }, /* GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI */
+ { 25374, 0x000080B5 }, /* GL_POST_COLOR_MATRIX_GREEN_SCALE */
+ { 25407, 0x000080B5 }, /* GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI */
+ { 25444, 0x000080B8 }, /* GL_POST_COLOR_MATRIX_RED_BIAS */
+ { 25474, 0x000080B8 }, /* GL_POST_COLOR_MATRIX_RED_BIAS_SGI */
+ { 25508, 0x000080B4 }, /* GL_POST_COLOR_MATRIX_RED_SCALE */
+ { 25539, 0x000080B4 }, /* GL_POST_COLOR_MATRIX_RED_SCALE_SGI */
+ { 25574, 0x00008023 }, /* GL_POST_CONVOLUTION_ALPHA_BIAS */
+ { 25605, 0x00008023 }, /* GL_POST_CONVOLUTION_ALPHA_BIAS_EXT */
+ { 25640, 0x0000801F }, /* GL_POST_CONVOLUTION_ALPHA_SCALE */
+ { 25672, 0x0000801F }, /* GL_POST_CONVOLUTION_ALPHA_SCALE_EXT */
+ { 25708, 0x00008022 }, /* GL_POST_CONVOLUTION_BLUE_BIAS */
+ { 25738, 0x00008022 }, /* GL_POST_CONVOLUTION_BLUE_BIAS_EXT */
+ { 25772, 0x0000801E }, /* GL_POST_CONVOLUTION_BLUE_SCALE */
+ { 25803, 0x0000801E }, /* GL_POST_CONVOLUTION_BLUE_SCALE_EXT */
+ { 25838, 0x000080D1 }, /* GL_POST_CONVOLUTION_COLOR_TABLE */
+ { 25870, 0x00008021 }, /* GL_POST_CONVOLUTION_GREEN_BIAS */
+ { 25901, 0x00008021 }, /* GL_POST_CONVOLUTION_GREEN_BIAS_EXT */
+ { 25936, 0x0000801D }, /* GL_POST_CONVOLUTION_GREEN_SCALE */
+ { 25968, 0x0000801D }, /* GL_POST_CONVOLUTION_GREEN_SCALE_EXT */
+ { 26004, 0x00008020 }, /* GL_POST_CONVOLUTION_RED_BIAS */
+ { 26033, 0x00008020 }, /* GL_POST_CONVOLUTION_RED_BIAS_EXT */
+ { 26066, 0x0000801C }, /* GL_POST_CONVOLUTION_RED_SCALE */
+ { 26096, 0x0000801C }, /* GL_POST_CONVOLUTION_RED_SCALE_EXT */
+ { 26130, 0x0000817B }, /* GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX */
+ { 26169, 0x00008179 }, /* GL_POST_TEXTURE_FILTER_BIAS_SGIX */
+ { 26202, 0x0000817C }, /* GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX */
+ { 26242, 0x0000817A }, /* GL_POST_TEXTURE_FILTER_SCALE_SGIX */
+ { 26276, 0x00008578 }, /* GL_PREVIOUS */
+ { 26288, 0x00008578 }, /* GL_PREVIOUS_ARB */
+ { 26304, 0x00008578 }, /* GL_PREVIOUS_EXT */
+ { 26320, 0x00008577 }, /* GL_PRIMARY_COLOR */
+ { 26337, 0x00008577 }, /* GL_PRIMARY_COLOR_ARB */
+ { 26358, 0x00008577 }, /* GL_PRIMARY_COLOR_EXT */
+ { 26379, 0x000088B0 }, /* GL_PROGRAM_ADDRESS_REGISTERS_ARB */
+ { 26412, 0x00008805 }, /* GL_PROGRAM_ALU_INSTRUCTIONS_ARB */
+ { 26444, 0x000088AC }, /* GL_PROGRAM_ATTRIBS_ARB */
+ { 26467, 0x00008677 }, /* GL_PROGRAM_BINDING_ARB */
+ { 26490, 0x0000864B }, /* GL_PROGRAM_ERROR_POSITION_ARB */
+ { 26520, 0x0000864B }, /* GL_PROGRAM_ERROR_POSITION_NV */
+ { 26549, 0x00008874 }, /* GL_PROGRAM_ERROR_STRING_ARB */
+ { 26577, 0x00008876 }, /* GL_PROGRAM_FORMAT_ARB */
+ { 26599, 0x00008875 }, /* GL_PROGRAM_FORMAT_ASCII_ARB */
+ { 26627, 0x000088A0 }, /* GL_PROGRAM_INSTRUCTIONS_ARB */
+ { 26655, 0x00008627 }, /* GL_PROGRAM_LENGTH_ARB */
+ { 26677, 0x00008627 }, /* GL_PROGRAM_LENGTH_NV */
+ { 26698, 0x000088B2 }, /* GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB */
+ { 26738, 0x00008808 }, /* GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB */
+ { 26777, 0x000088AE }, /* GL_PROGRAM_NATIVE_ATTRIBS_ARB */
+ { 26807, 0x000088A2 }, /* GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB */
+ { 26842, 0x000088AA }, /* GL_PROGRAM_NATIVE_PARAMETERS_ARB */
+ { 26875, 0x000088A6 }, /* GL_PROGRAM_NATIVE_TEMPORARIES_ARB */
+ { 26909, 0x0000880A }, /* GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB */
+ { 26948, 0x00008809 }, /* GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB */
+ { 26987, 0x00008B40 }, /* GL_PROGRAM_OBJECT_ARB */
+ { 27009, 0x000088A8 }, /* GL_PROGRAM_PARAMETERS_ARB */
+ { 27035, 0x00008644 }, /* GL_PROGRAM_PARAMETER_NV */
+ { 27059, 0x00008647 }, /* GL_PROGRAM_RESIDENT_NV */
+ { 27082, 0x00008628 }, /* GL_PROGRAM_STRING_ARB */
+ { 27104, 0x00008628 }, /* GL_PROGRAM_STRING_NV */
+ { 27125, 0x00008646 }, /* GL_PROGRAM_TARGET_NV */
+ { 27146, 0x000088A4 }, /* GL_PROGRAM_TEMPORARIES_ARB */
+ { 27173, 0x00008807 }, /* GL_PROGRAM_TEX_INDIRECTIONS_ARB */
+ { 27205, 0x00008806 }, /* GL_PROGRAM_TEX_INSTRUCTIONS_ARB */
+ { 27237, 0x000088B6 }, /* GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB */
+ { 27272, 0x00001701 }, /* GL_PROJECTION */
+ { 27286, 0x00000BA7 }, /* GL_PROJECTION_MATRIX */
+ { 27307, 0x00000BA4 }, /* GL_PROJECTION_STACK_DEPTH */
+ { 27333, 0x00008E4F }, /* GL_PROVOKING_VERTEX_EXT */
+ { 27357, 0x000080D3 }, /* GL_PROXY_COLOR_TABLE */
+ { 27378, 0x00008025 }, /* GL_PROXY_HISTOGRAM */
+ { 27397, 0x00008025 }, /* GL_PROXY_HISTOGRAM_EXT */
+ { 27420, 0x000080D5 }, /* GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE */
+ { 27459, 0x000080D4 }, /* GL_PROXY_POST_CONVOLUTION_COLOR_TABLE */
+ { 27497, 0x00008063 }, /* GL_PROXY_TEXTURE_1D */
+ { 27517, 0x00008C19 }, /* GL_PROXY_TEXTURE_1D_ARRAY_EXT */
+ { 27547, 0x00008063 }, /* GL_PROXY_TEXTURE_1D_EXT */
+ { 27571, 0x00008064 }, /* GL_PROXY_TEXTURE_2D */
+ { 27591, 0x00008C1B }, /* GL_PROXY_TEXTURE_2D_ARRAY_EXT */
+ { 27621, 0x00008064 }, /* GL_PROXY_TEXTURE_2D_EXT */
+ { 27645, 0x00008070 }, /* GL_PROXY_TEXTURE_3D */
+ { 27665, 0x000080BD }, /* GL_PROXY_TEXTURE_COLOR_TABLE_SGI */
+ { 27698, 0x0000851B }, /* GL_PROXY_TEXTURE_CUBE_MAP */
+ { 27724, 0x0000851B }, /* GL_PROXY_TEXTURE_CUBE_MAP_ARB */
+ { 27754, 0x000084F7 }, /* GL_PROXY_TEXTURE_RECTANGLE_ARB */
+ { 27785, 0x000084F7 }, /* GL_PROXY_TEXTURE_RECTANGLE_NV */
+ { 27815, 0x00002003 }, /* GL_Q */
+ { 27820, 0x00001209 }, /* GL_QUADRATIC_ATTENUATION */
+ { 27845, 0x00000007 }, /* GL_QUADS */
+ { 27854, 0x00008E4C }, /* GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT */
+ { 27902, 0x00008614 }, /* GL_QUAD_MESH_SUN */
+ { 27919, 0x00000008 }, /* GL_QUAD_STRIP */
+ { 27933, 0x00008864 }, /* GL_QUERY_COUNTER_BITS */
+ { 27955, 0x00008864 }, /* GL_QUERY_COUNTER_BITS_ARB */
+ { 27981, 0x00008866 }, /* GL_QUERY_RESULT */
+ { 27997, 0x00008866 }, /* GL_QUERY_RESULT_ARB */
+ { 28017, 0x00008867 }, /* GL_QUERY_RESULT_AVAILABLE */
+ { 28043, 0x00008867 }, /* GL_QUERY_RESULT_AVAILABLE_ARB */
+ { 28073, 0x00002002 }, /* GL_R */
+ { 28078, 0x00002A10 }, /* GL_R3_G3_B2 */
+ { 28090, 0x00019262 }, /* GL_RASTER_POSITION_UNCLIPPED_IBM */
+ { 28123, 0x00000C02 }, /* GL_READ_BUFFER */
+ { 28138, 0x00008CA8 }, /* GL_READ_FRAMEBUFFER */
+ { 28158, 0x00008CAA }, /* GL_READ_FRAMEBUFFER_BINDING_EXT */
+ { 28190, 0x00008CA8 }, /* GL_READ_FRAMEBUFFER_EXT */
+ { 28214, 0x000088B8 }, /* GL_READ_ONLY */
+ { 28227, 0x000088B8 }, /* GL_READ_ONLY_ARB */
+ { 28244, 0x000088BA }, /* GL_READ_WRITE */
+ { 28258, 0x000088BA }, /* GL_READ_WRITE_ARB */
+ { 28276, 0x00001903 }, /* GL_RED */
+ { 28283, 0x00008016 }, /* GL_REDUCE */
+ { 28293, 0x00008016 }, /* GL_REDUCE_EXT */
+ { 28307, 0x00000D15 }, /* GL_RED_BIAS */
+ { 28319, 0x00000D52 }, /* GL_RED_BITS */
+ { 28331, 0x00000D14 }, /* GL_RED_SCALE */
+ { 28344, 0x00008512 }, /* GL_REFLECTION_MAP */
+ { 28362, 0x00008512 }, /* GL_REFLECTION_MAP_ARB */
+ { 28384, 0x00008512 }, /* GL_REFLECTION_MAP_NV */
+ { 28405, 0x00001C00 }, /* GL_RENDER */
+ { 28415, 0x00008D41 }, /* GL_RENDERBUFFER */
+ { 28431, 0x00008D53 }, /* GL_RENDERBUFFER_ALPHA_SIZE */
+ { 28458, 0x00008CA7 }, /* GL_RENDERBUFFER_BINDING_EXT */
+ { 28486, 0x00008D52 }, /* GL_RENDERBUFFER_BLUE_SIZE */
+ { 28512, 0x00008D54 }, /* GL_RENDERBUFFER_DEPTH_SIZE */
+ { 28539, 0x00008D41 }, /* GL_RENDERBUFFER_EXT */
+ { 28559, 0x00008D51 }, /* GL_RENDERBUFFER_GREEN_SIZE */
+ { 28586, 0x00008D43 }, /* GL_RENDERBUFFER_HEIGHT */
+ { 28609, 0x00008D43 }, /* GL_RENDERBUFFER_HEIGHT_EXT */
+ { 28636, 0x00008D44 }, /* GL_RENDERBUFFER_INTERNAL_FORMAT */
+ { 28668, 0x00008D44 }, /* GL_RENDERBUFFER_INTERNAL_FORMAT_EXT */
+ { 28704, 0x00008D50 }, /* GL_RENDERBUFFER_RED_SIZE */
+ { 28729, 0x00008CAB }, /* GL_RENDERBUFFER_SAMPLES */
+ { 28753, 0x00008D55 }, /* GL_RENDERBUFFER_STENCIL_SIZE */
+ { 28782, 0x00008D42 }, /* GL_RENDERBUFFER_WIDTH */
+ { 28804, 0x00008D42 }, /* GL_RENDERBUFFER_WIDTH_EXT */
+ { 28830, 0x00001F01 }, /* GL_RENDERER */
+ { 28842, 0x00000C40 }, /* GL_RENDER_MODE */
+ { 28857, 0x00002901 }, /* GL_REPEAT */
+ { 28867, 0x00001E01 }, /* GL_REPLACE */
+ { 28878, 0x00008062 }, /* GL_REPLACE_EXT */
+ { 28893, 0x00008153 }, /* GL_REPLICATE_BORDER_HP */
+ { 28916, 0x0000803A }, /* GL_RESCALE_NORMAL */
+ { 28934, 0x0000803A }, /* GL_RESCALE_NORMAL_EXT */
+ { 28956, 0x00000102 }, /* GL_RETURN */
+ { 28966, 0x00001907 }, /* GL_RGB */
+ { 28973, 0x00008052 }, /* GL_RGB10 */
+ { 28982, 0x00008059 }, /* GL_RGB10_A2 */
+ { 28994, 0x00008059 }, /* GL_RGB10_A2_EXT */
+ { 29010, 0x00008052 }, /* GL_RGB10_EXT */
+ { 29023, 0x00008053 }, /* GL_RGB12 */
+ { 29032, 0x00008053 }, /* GL_RGB12_EXT */
+ { 29045, 0x00008054 }, /* GL_RGB16 */
+ { 29054, 0x00008054 }, /* GL_RGB16_EXT */
+ { 29067, 0x0000804E }, /* GL_RGB2_EXT */
+ { 29079, 0x0000804F }, /* GL_RGB4 */
+ { 29087, 0x0000804F }, /* GL_RGB4_EXT */
+ { 29099, 0x000083A1 }, /* GL_RGB4_S3TC */
+ { 29112, 0x00008050 }, /* GL_RGB5 */
+ { 29120, 0x00008057 }, /* GL_RGB5_A1 */
+ { 29131, 0x00008057 }, /* GL_RGB5_A1_EXT */
+ { 29146, 0x00008050 }, /* GL_RGB5_EXT */
+ { 29158, 0x00008051 }, /* GL_RGB8 */
+ { 29166, 0x00008051 }, /* GL_RGB8_EXT */
+ { 29178, 0x00001908 }, /* GL_RGBA */
+ { 29186, 0x0000805A }, /* GL_RGBA12 */
+ { 29196, 0x0000805A }, /* GL_RGBA12_EXT */
+ { 29210, 0x0000805B }, /* GL_RGBA16 */
+ { 29220, 0x0000805B }, /* GL_RGBA16_EXT */
+ { 29234, 0x00008055 }, /* GL_RGBA2 */
+ { 29243, 0x00008055 }, /* GL_RGBA2_EXT */
+ { 29256, 0x00008056 }, /* GL_RGBA4 */
+ { 29265, 0x000083A5 }, /* GL_RGBA4_DXT5_S3TC */
+ { 29284, 0x00008056 }, /* GL_RGBA4_EXT */
+ { 29297, 0x000083A3 }, /* GL_RGBA4_S3TC */
+ { 29311, 0x00008058 }, /* GL_RGBA8 */
+ { 29320, 0x00008058 }, /* GL_RGBA8_EXT */
+ { 29333, 0x00008F97 }, /* GL_RGBA8_SNORM */
+ { 29348, 0x000083A4 }, /* GL_RGBA_DXT5_S3TC */
+ { 29366, 0x00000C31 }, /* GL_RGBA_MODE */
+ { 29379, 0x000083A2 }, /* GL_RGBA_S3TC */
+ { 29392, 0x00008F93 }, /* GL_RGBA_SNORM */
+ { 29406, 0x000083A0 }, /* GL_RGB_S3TC */
+ { 29418, 0x00008573 }, /* GL_RGB_SCALE */
+ { 29431, 0x00008573 }, /* GL_RGB_SCALE_ARB */
+ { 29448, 0x00008573 }, /* GL_RGB_SCALE_EXT */
+ { 29465, 0x00000407 }, /* GL_RIGHT */
+ { 29474, 0x00002000 }, /* GL_S */
+ { 29479, 0x00008B5D }, /* GL_SAMPLER_1D */
+ { 29493, 0x00008B61 }, /* GL_SAMPLER_1D_SHADOW */
+ { 29514, 0x00008B5E }, /* GL_SAMPLER_2D */
+ { 29528, 0x00008B62 }, /* GL_SAMPLER_2D_SHADOW */
+ { 29549, 0x00008B5F }, /* GL_SAMPLER_3D */
+ { 29563, 0x00008B60 }, /* GL_SAMPLER_CUBE */
+ { 29579, 0x000080A9 }, /* GL_SAMPLES */
+ { 29590, 0x000086B4 }, /* GL_SAMPLES_3DFX */
+ { 29606, 0x000080A9 }, /* GL_SAMPLES_ARB */
+ { 29621, 0x00008914 }, /* GL_SAMPLES_PASSED */
+ { 29639, 0x00008914 }, /* GL_SAMPLES_PASSED_ARB */
+ { 29661, 0x0000809E }, /* GL_SAMPLE_ALPHA_TO_COVERAGE */
+ { 29689, 0x0000809E }, /* GL_SAMPLE_ALPHA_TO_COVERAGE_ARB */
+ { 29721, 0x0000809F }, /* GL_SAMPLE_ALPHA_TO_ONE */
+ { 29744, 0x0000809F }, /* GL_SAMPLE_ALPHA_TO_ONE_ARB */
+ { 29771, 0x000080A8 }, /* GL_SAMPLE_BUFFERS */
+ { 29789, 0x000086B3 }, /* GL_SAMPLE_BUFFERS_3DFX */
+ { 29812, 0x000080A8 }, /* GL_SAMPLE_BUFFERS_ARB */
+ { 29834, 0x000080A0 }, /* GL_SAMPLE_COVERAGE */
+ { 29853, 0x000080A0 }, /* GL_SAMPLE_COVERAGE_ARB */
+ { 29876, 0x000080AB }, /* GL_SAMPLE_COVERAGE_INVERT */
+ { 29902, 0x000080AB }, /* GL_SAMPLE_COVERAGE_INVERT_ARB */
+ { 29932, 0x000080AA }, /* GL_SAMPLE_COVERAGE_VALUE */
+ { 29957, 0x000080AA }, /* GL_SAMPLE_COVERAGE_VALUE_ARB */
+ { 29986, 0x00080000 }, /* GL_SCISSOR_BIT */
+ { 30001, 0x00000C10 }, /* GL_SCISSOR_BOX */
+ { 30016, 0x00000C11 }, /* GL_SCISSOR_TEST */
+ { 30032, 0x0000845E }, /* GL_SECONDARY_COLOR_ARRAY */
+ { 30057, 0x0000889C }, /* GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING */
+ { 30097, 0x0000889C }, /* GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB */
+ { 30141, 0x0000845D }, /* GL_SECONDARY_COLOR_ARRAY_POINTER */
+ { 30174, 0x0000845A }, /* GL_SECONDARY_COLOR_ARRAY_SIZE */
+ { 30204, 0x0000845C }, /* GL_SECONDARY_COLOR_ARRAY_STRIDE */
+ { 30236, 0x0000845B }, /* GL_SECONDARY_COLOR_ARRAY_TYPE */
+ { 30266, 0x00001C02 }, /* GL_SELECT */
+ { 30276, 0x00000DF3 }, /* GL_SELECTION_BUFFER_POINTER */
+ { 30304, 0x00000DF4 }, /* GL_SELECTION_BUFFER_SIZE */
+ { 30329, 0x00008012 }, /* GL_SEPARABLE_2D */
+ { 30345, 0x000081FA }, /* GL_SEPARATE_SPECULAR_COLOR */
+ { 30372, 0x000081FA }, /* GL_SEPARATE_SPECULAR_COLOR_EXT */
+ { 30403, 0x0000150F }, /* GL_SET */
+ { 30410, 0x00008B48 }, /* GL_SHADER_OBJECT_ARB */
+ { 30431, 0x00008B88 }, /* GL_SHADER_SOURCE_LENGTH */
+ { 30455, 0x00008B4F }, /* GL_SHADER_TYPE */
+ { 30470, 0x00000B54 }, /* GL_SHADE_MODEL */
+ { 30485, 0x00008B8C }, /* GL_SHADING_LANGUAGE_VERSION */
+ { 30513, 0x000080BF }, /* GL_SHADOW_AMBIENT_SGIX */
+ { 30536, 0x000081FB }, /* GL_SHARED_TEXTURE_PALETTE_EXT */
+ { 30566, 0x00001601 }, /* GL_SHININESS */
+ { 30579, 0x00001402 }, /* GL_SHORT */
+ { 30588, 0x00008F9C }, /* GL_SIGNED_NORMALIZED */
+ { 30609, 0x000081F9 }, /* GL_SINGLE_COLOR */
+ { 30625, 0x000081F9 }, /* GL_SINGLE_COLOR_EXT */
+ { 30645, 0x000085CC }, /* GL_SLICE_ACCUM_SUN */
+ { 30664, 0x00008C46 }, /* GL_SLUMINANCE */
+ { 30678, 0x00008C47 }, /* GL_SLUMINANCE8 */
+ { 30693, 0x00008C45 }, /* GL_SLUMINANCE8_ALPHA8 */
+ { 30715, 0x00008C44 }, /* GL_SLUMINANCE_ALPHA */
+ { 30735, 0x00001D01 }, /* GL_SMOOTH */
+ { 30745, 0x00000B23 }, /* GL_SMOOTH_LINE_WIDTH_GRANULARITY */
+ { 30778, 0x00000B22 }, /* GL_SMOOTH_LINE_WIDTH_RANGE */
+ { 30805, 0x00000B13 }, /* GL_SMOOTH_POINT_SIZE_GRANULARITY */
+ { 30838, 0x00000B12 }, /* GL_SMOOTH_POINT_SIZE_RANGE */
+ { 30865, 0x00008588 }, /* GL_SOURCE0_ALPHA */
+ { 30882, 0x00008588 }, /* GL_SOURCE0_ALPHA_ARB */
+ { 30903, 0x00008588 }, /* GL_SOURCE0_ALPHA_EXT */
+ { 30924, 0x00008580 }, /* GL_SOURCE0_RGB */
+ { 30939, 0x00008580 }, /* GL_SOURCE0_RGB_ARB */
+ { 30958, 0x00008580 }, /* GL_SOURCE0_RGB_EXT */
+ { 30977, 0x00008589 }, /* GL_SOURCE1_ALPHA */
+ { 30994, 0x00008589 }, /* GL_SOURCE1_ALPHA_ARB */
+ { 31015, 0x00008589 }, /* GL_SOURCE1_ALPHA_EXT */
+ { 31036, 0x00008581 }, /* GL_SOURCE1_RGB */
+ { 31051, 0x00008581 }, /* GL_SOURCE1_RGB_ARB */
+ { 31070, 0x00008581 }, /* GL_SOURCE1_RGB_EXT */
+ { 31089, 0x0000858A }, /* GL_SOURCE2_ALPHA */
+ { 31106, 0x0000858A }, /* GL_SOURCE2_ALPHA_ARB */
+ { 31127, 0x0000858A }, /* GL_SOURCE2_ALPHA_EXT */
+ { 31148, 0x00008582 }, /* GL_SOURCE2_RGB */
+ { 31163, 0x00008582 }, /* GL_SOURCE2_RGB_ARB */
+ { 31182, 0x00008582 }, /* GL_SOURCE2_RGB_EXT */
+ { 31201, 0x0000858B }, /* GL_SOURCE3_ALPHA_NV */
+ { 31221, 0x00008583 }, /* GL_SOURCE3_RGB_NV */
+ { 31239, 0x00001202 }, /* GL_SPECULAR */
+ { 31251, 0x00002402 }, /* GL_SPHERE_MAP */
+ { 31265, 0x00001206 }, /* GL_SPOT_CUTOFF */
+ { 31280, 0x00001204 }, /* GL_SPOT_DIRECTION */
+ { 31298, 0x00001205 }, /* GL_SPOT_EXPONENT */
+ { 31315, 0x00008588 }, /* GL_SRC0_ALPHA */
+ { 31329, 0x00008580 }, /* GL_SRC0_RGB */
+ { 31341, 0x00008589 }, /* GL_SRC1_ALPHA */
+ { 31355, 0x00008581 }, /* GL_SRC1_RGB */
+ { 31367, 0x0000858A }, /* GL_SRC2_ALPHA */
+ { 31381, 0x00008582 }, /* GL_SRC2_RGB */
+ { 31393, 0x00000302 }, /* GL_SRC_ALPHA */
+ { 31406, 0x00000308 }, /* GL_SRC_ALPHA_SATURATE */
+ { 31428, 0x00000300 }, /* GL_SRC_COLOR */
+ { 31441, 0x00008C40 }, /* GL_SRGB */
+ { 31449, 0x00008C41 }, /* GL_SRGB8 */
+ { 31458, 0x00008C43 }, /* GL_SRGB8_ALPHA8 */
+ { 31474, 0x00008C42 }, /* GL_SRGB_ALPHA */
+ { 31488, 0x00000503 }, /* GL_STACK_OVERFLOW */
+ { 31506, 0x00000504 }, /* GL_STACK_UNDERFLOW */
+ { 31525, 0x000088E6 }, /* GL_STATIC_COPY */
+ { 31540, 0x000088E6 }, /* GL_STATIC_COPY_ARB */
+ { 31559, 0x000088E4 }, /* GL_STATIC_DRAW */
+ { 31574, 0x000088E4 }, /* GL_STATIC_DRAW_ARB */
+ { 31593, 0x000088E5 }, /* GL_STATIC_READ */
+ { 31608, 0x000088E5 }, /* GL_STATIC_READ_ARB */
+ { 31627, 0x00001802 }, /* GL_STENCIL */
+ { 31638, 0x00008D20 }, /* GL_STENCIL_ATTACHMENT */
+ { 31660, 0x00008D20 }, /* GL_STENCIL_ATTACHMENT_EXT */
+ { 31686, 0x00008801 }, /* GL_STENCIL_BACK_FAIL */
+ { 31707, 0x00008801 }, /* GL_STENCIL_BACK_FAIL_ATI */
+ { 31732, 0x00008800 }, /* GL_STENCIL_BACK_FUNC */
+ { 31753, 0x00008800 }, /* GL_STENCIL_BACK_FUNC_ATI */
+ { 31778, 0x00008802 }, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL */
+ { 31810, 0x00008802 }, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI */
+ { 31846, 0x00008803 }, /* GL_STENCIL_BACK_PASS_DEPTH_PASS */
+ { 31878, 0x00008803 }, /* GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI */
+ { 31914, 0x00008CA3 }, /* GL_STENCIL_BACK_REF */
+ { 31934, 0x00008CA4 }, /* GL_STENCIL_BACK_VALUE_MASK */
+ { 31961, 0x00008CA5 }, /* GL_STENCIL_BACK_WRITEMASK */
+ { 31987, 0x00000D57 }, /* GL_STENCIL_BITS */
+ { 32003, 0x00000400 }, /* GL_STENCIL_BUFFER_BIT */
+ { 32025, 0x00000B91 }, /* GL_STENCIL_CLEAR_VALUE */
+ { 32048, 0x00000B94 }, /* GL_STENCIL_FAIL */
+ { 32064, 0x00000B92 }, /* GL_STENCIL_FUNC */
+ { 32080, 0x00001901 }, /* GL_STENCIL_INDEX */
+ { 32097, 0x00008D49 }, /* GL_STENCIL_INDEX16_EXT */
+ { 32120, 0x00008D46 }, /* GL_STENCIL_INDEX1_EXT */
+ { 32142, 0x00008D47 }, /* GL_STENCIL_INDEX4_EXT */
+ { 32164, 0x00008D48 }, /* GL_STENCIL_INDEX8_EXT */
+ { 32186, 0x00008D45 }, /* GL_STENCIL_INDEX_EXT */
+ { 32207, 0x00000B95 }, /* GL_STENCIL_PASS_DEPTH_FAIL */
+ { 32234, 0x00000B96 }, /* GL_STENCIL_PASS_DEPTH_PASS */
+ { 32261, 0x00000B97 }, /* GL_STENCIL_REF */
+ { 32276, 0x00000B90 }, /* GL_STENCIL_TEST */
+ { 32292, 0x00008910 }, /* GL_STENCIL_TEST_TWO_SIDE_EXT */
+ { 32321, 0x00000B93 }, /* GL_STENCIL_VALUE_MASK */
+ { 32343, 0x00000B98 }, /* GL_STENCIL_WRITEMASK */
+ { 32364, 0x00000C33 }, /* GL_STEREO */
+ { 32374, 0x000088E2 }, /* GL_STREAM_COPY */
+ { 32389, 0x000088E2 }, /* GL_STREAM_COPY_ARB */
+ { 32408, 0x000088E0 }, /* GL_STREAM_DRAW */
+ { 32423, 0x000088E0 }, /* GL_STREAM_DRAW_ARB */
+ { 32442, 0x000088E1 }, /* GL_STREAM_READ */
+ { 32457, 0x000088E1 }, /* GL_STREAM_READ_ARB */
+ { 32476, 0x00000D50 }, /* GL_SUBPIXEL_BITS */
+ { 32493, 0x000084E7 }, /* GL_SUBTRACT */
+ { 32505, 0x000084E7 }, /* GL_SUBTRACT_ARB */
+ { 32521, 0x00002001 }, /* GL_T */
+ { 32526, 0x00002A2A }, /* GL_T2F_C3F_V3F */
+ { 32541, 0x00002A2C }, /* GL_T2F_C4F_N3F_V3F */
+ { 32560, 0x00002A29 }, /* GL_T2F_C4UB_V3F */
+ { 32576, 0x00002A2B }, /* GL_T2F_N3F_V3F */
+ { 32591, 0x00002A27 }, /* GL_T2F_V3F */
+ { 32602, 0x00002A2D }, /* GL_T4F_C4F_N3F_V4F */
+ { 32621, 0x00002A28 }, /* GL_T4F_V4F */
+ { 32632, 0x00008031 }, /* GL_TABLE_TOO_LARGE_EXT */
+ { 32655, 0x00001702 }, /* GL_TEXTURE */
+ { 32666, 0x000084C0 }, /* GL_TEXTURE0 */
+ { 32678, 0x000084C0 }, /* GL_TEXTURE0_ARB */
+ { 32694, 0x000084C1 }, /* GL_TEXTURE1 */
+ { 32706, 0x000084CA }, /* GL_TEXTURE10 */
+ { 32719, 0x000084CA }, /* GL_TEXTURE10_ARB */
+ { 32736, 0x000084CB }, /* GL_TEXTURE11 */
+ { 32749, 0x000084CB }, /* GL_TEXTURE11_ARB */
+ { 32766, 0x000084CC }, /* GL_TEXTURE12 */
+ { 32779, 0x000084CC }, /* GL_TEXTURE12_ARB */
+ { 32796, 0x000084CD }, /* GL_TEXTURE13 */
+ { 32809, 0x000084CD }, /* GL_TEXTURE13_ARB */
+ { 32826, 0x000084CE }, /* GL_TEXTURE14 */
+ { 32839, 0x000084CE }, /* GL_TEXTURE14_ARB */
+ { 32856, 0x000084CF }, /* GL_TEXTURE15 */
+ { 32869, 0x000084CF }, /* GL_TEXTURE15_ARB */
+ { 32886, 0x000084D0 }, /* GL_TEXTURE16 */
+ { 32899, 0x000084D0 }, /* GL_TEXTURE16_ARB */
+ { 32916, 0x000084D1 }, /* GL_TEXTURE17 */
+ { 32929, 0x000084D1 }, /* GL_TEXTURE17_ARB */
+ { 32946, 0x000084D2 }, /* GL_TEXTURE18 */
+ { 32959, 0x000084D2 }, /* GL_TEXTURE18_ARB */
+ { 32976, 0x000084D3 }, /* GL_TEXTURE19 */
+ { 32989, 0x000084D3 }, /* GL_TEXTURE19_ARB */
+ { 33006, 0x000084C1 }, /* GL_TEXTURE1_ARB */
+ { 33022, 0x000084C2 }, /* GL_TEXTURE2 */
+ { 33034, 0x000084D4 }, /* GL_TEXTURE20 */
+ { 33047, 0x000084D4 }, /* GL_TEXTURE20_ARB */
+ { 33064, 0x000084D5 }, /* GL_TEXTURE21 */
+ { 33077, 0x000084D5 }, /* GL_TEXTURE21_ARB */
+ { 33094, 0x000084D6 }, /* GL_TEXTURE22 */
+ { 33107, 0x000084D6 }, /* GL_TEXTURE22_ARB */
+ { 33124, 0x000084D7 }, /* GL_TEXTURE23 */
+ { 33137, 0x000084D7 }, /* GL_TEXTURE23_ARB */
+ { 33154, 0x000084D8 }, /* GL_TEXTURE24 */
+ { 33167, 0x000084D8 }, /* GL_TEXTURE24_ARB */
+ { 33184, 0x000084D9 }, /* GL_TEXTURE25 */
+ { 33197, 0x000084D9 }, /* GL_TEXTURE25_ARB */
+ { 33214, 0x000084DA }, /* GL_TEXTURE26 */
+ { 33227, 0x000084DA }, /* GL_TEXTURE26_ARB */
+ { 33244, 0x000084DB }, /* GL_TEXTURE27 */
+ { 33257, 0x000084DB }, /* GL_TEXTURE27_ARB */
+ { 33274, 0x000084DC }, /* GL_TEXTURE28 */
+ { 33287, 0x000084DC }, /* GL_TEXTURE28_ARB */
+ { 33304, 0x000084DD }, /* GL_TEXTURE29 */
+ { 33317, 0x000084DD }, /* GL_TEXTURE29_ARB */
+ { 33334, 0x000084C2 }, /* GL_TEXTURE2_ARB */
+ { 33350, 0x000084C3 }, /* GL_TEXTURE3 */
+ { 33362, 0x000084DE }, /* GL_TEXTURE30 */
+ { 33375, 0x000084DE }, /* GL_TEXTURE30_ARB */
+ { 33392, 0x000084DF }, /* GL_TEXTURE31 */
+ { 33405, 0x000084DF }, /* GL_TEXTURE31_ARB */
+ { 33422, 0x000084C3 }, /* GL_TEXTURE3_ARB */
+ { 33438, 0x000084C4 }, /* GL_TEXTURE4 */
+ { 33450, 0x000084C4 }, /* GL_TEXTURE4_ARB */
+ { 33466, 0x000084C5 }, /* GL_TEXTURE5 */
+ { 33478, 0x000084C5 }, /* GL_TEXTURE5_ARB */
+ { 33494, 0x000084C6 }, /* GL_TEXTURE6 */
+ { 33506, 0x000084C6 }, /* GL_TEXTURE6_ARB */
+ { 33522, 0x000084C7 }, /* GL_TEXTURE7 */
+ { 33534, 0x000084C7 }, /* GL_TEXTURE7_ARB */
+ { 33550, 0x000084C8 }, /* GL_TEXTURE8 */
+ { 33562, 0x000084C8 }, /* GL_TEXTURE8_ARB */
+ { 33578, 0x000084C9 }, /* GL_TEXTURE9 */
+ { 33590, 0x000084C9 }, /* GL_TEXTURE9_ARB */
+ { 33606, 0x00000DE0 }, /* GL_TEXTURE_1D */
+ { 33620, 0x00008C18 }, /* GL_TEXTURE_1D_ARRAY_EXT */
+ { 33644, 0x00000DE1 }, /* GL_TEXTURE_2D */
+ { 33658, 0x00008C1A }, /* GL_TEXTURE_2D_ARRAY_EXT */
+ { 33682, 0x0000806F }, /* GL_TEXTURE_3D */
+ { 33696, 0x0000805F }, /* GL_TEXTURE_ALPHA_SIZE */
+ { 33718, 0x0000805F }, /* GL_TEXTURE_ALPHA_SIZE_EXT */
+ { 33744, 0x0000813C }, /* GL_TEXTURE_BASE_LEVEL */
+ { 33766, 0x00008068 }, /* GL_TEXTURE_BINDING_1D */
+ { 33788, 0x00008C1C }, /* GL_TEXTURE_BINDING_1D_ARRAY_EXT */
+ { 33820, 0x00008069 }, /* GL_TEXTURE_BINDING_2D */
+ { 33842, 0x00008C1D }, /* GL_TEXTURE_BINDING_2D_ARRAY_EXT */
+ { 33874, 0x0000806A }, /* GL_TEXTURE_BINDING_3D */
+ { 33896, 0x00008514 }, /* GL_TEXTURE_BINDING_CUBE_MAP */
+ { 33924, 0x00008514 }, /* GL_TEXTURE_BINDING_CUBE_MAP_ARB */
+ { 33956, 0x000084F6 }, /* GL_TEXTURE_BINDING_RECTANGLE_ARB */
+ { 33989, 0x000084F6 }, /* GL_TEXTURE_BINDING_RECTANGLE_NV */
+ { 34021, 0x00040000 }, /* GL_TEXTURE_BIT */
+ { 34036, 0x0000805E }, /* GL_TEXTURE_BLUE_SIZE */
+ { 34057, 0x0000805E }, /* GL_TEXTURE_BLUE_SIZE_EXT */
+ { 34082, 0x00001005 }, /* GL_TEXTURE_BORDER */
+ { 34100, 0x00001004 }, /* GL_TEXTURE_BORDER_COLOR */
+ { 34124, 0x00008171 }, /* GL_TEXTURE_CLIPMAP_CENTER_SGIX */
+ { 34155, 0x00008176 }, /* GL_TEXTURE_CLIPMAP_DEPTH_SGIX */
+ { 34185, 0x00008172 }, /* GL_TEXTURE_CLIPMAP_FRAME_SGIX */
+ { 34215, 0x00008175 }, /* GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX */
+ { 34250, 0x00008173 }, /* GL_TEXTURE_CLIPMAP_OFFSET_SGIX */
+ { 34281, 0x00008174 }, /* GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX */
+ { 34319, 0x000080BC }, /* GL_TEXTURE_COLOR_TABLE_SGI */
+ { 34346, 0x000081EF }, /* GL_TEXTURE_COLOR_WRITEMASK_SGIS */
+ { 34378, 0x000080BF }, /* GL_TEXTURE_COMPARE_FAIL_VALUE_ARB */
+ { 34412, 0x0000884D }, /* GL_TEXTURE_COMPARE_FUNC */
+ { 34436, 0x0000884D }, /* GL_TEXTURE_COMPARE_FUNC_ARB */
+ { 34464, 0x0000884C }, /* GL_TEXTURE_COMPARE_MODE */
+ { 34488, 0x0000884C }, /* GL_TEXTURE_COMPARE_MODE_ARB */
+ { 34516, 0x0000819B }, /* GL_TEXTURE_COMPARE_OPERATOR_SGIX */
+ { 34549, 0x0000819A }, /* GL_TEXTURE_COMPARE_SGIX */
+ { 34573, 0x00001003 }, /* GL_TEXTURE_COMPONENTS */
+ { 34595, 0x000086A1 }, /* GL_TEXTURE_COMPRESSED */
+ { 34617, 0x000086A1 }, /* GL_TEXTURE_COMPRESSED_ARB */
+ { 34643, 0x000086A3 }, /* GL_TEXTURE_COMPRESSED_FORMATS_ARB */
+ { 34677, 0x000086A0 }, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE */
+ { 34710, 0x000086A0 }, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB */
+ { 34747, 0x000084EF }, /* GL_TEXTURE_COMPRESSION_HINT */
+ { 34775, 0x000084EF }, /* GL_TEXTURE_COMPRESSION_HINT_ARB */
+ { 34807, 0x00008078 }, /* GL_TEXTURE_COORD_ARRAY */
+ { 34830, 0x0000889A }, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING */
+ { 34868, 0x0000889A }, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB */
+ { 34910, 0x00008092 }, /* GL_TEXTURE_COORD_ARRAY_POINTER */
+ { 34941, 0x00008088 }, /* GL_TEXTURE_COORD_ARRAY_SIZE */
+ { 34969, 0x0000808A }, /* GL_TEXTURE_COORD_ARRAY_STRIDE */
+ { 34999, 0x00008089 }, /* GL_TEXTURE_COORD_ARRAY_TYPE */
+ { 35027, 0x00008513 }, /* GL_TEXTURE_CUBE_MAP */
+ { 35047, 0x00008513 }, /* GL_TEXTURE_CUBE_MAP_ARB */
+ { 35071, 0x00008516 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X */
+ { 35102, 0x00008516 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB */
+ { 35137, 0x00008518 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y */
+ { 35168, 0x00008518 }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB */
+ { 35203, 0x0000851A }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z */
+ { 35234, 0x0000851A }, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB */
+ { 35269, 0x00008515 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X */
+ { 35300, 0x00008515 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB */
+ { 35335, 0x00008517 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y */
+ { 35366, 0x00008517 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB */
+ { 35401, 0x00008519 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z */
+ { 35432, 0x00008519 }, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB */
+ { 35467, 0x00008071 }, /* GL_TEXTURE_DEPTH */
+ { 35484, 0x0000884A }, /* GL_TEXTURE_DEPTH_SIZE */
+ { 35506, 0x0000884A }, /* GL_TEXTURE_DEPTH_SIZE_ARB */
+ { 35532, 0x00002300 }, /* GL_TEXTURE_ENV */
+ { 35547, 0x00002201 }, /* GL_TEXTURE_ENV_COLOR */
+ { 35568, 0x00002200 }, /* GL_TEXTURE_ENV_MODE */
+ { 35588, 0x00008500 }, /* GL_TEXTURE_FILTER_CONTROL */
+ { 35614, 0x00002500 }, /* GL_TEXTURE_GEN_MODE */
+ { 35634, 0x00000C63 }, /* GL_TEXTURE_GEN_Q */
+ { 35651, 0x00000C62 }, /* GL_TEXTURE_GEN_R */
+ { 35668, 0x00000C60 }, /* GL_TEXTURE_GEN_S */
+ { 35685, 0x00000C61 }, /* GL_TEXTURE_GEN_T */
+ { 35702, 0x0000819D }, /* GL_TEXTURE_GEQUAL_R_SGIX */
+ { 35727, 0x0000805D }, /* GL_TEXTURE_GREEN_SIZE */
+ { 35749, 0x0000805D }, /* GL_TEXTURE_GREEN_SIZE_EXT */
+ { 35775, 0x00001001 }, /* GL_TEXTURE_HEIGHT */
+ { 35793, 0x000080ED }, /* GL_TEXTURE_INDEX_SIZE_EXT */
+ { 35819, 0x00008061 }, /* GL_TEXTURE_INTENSITY_SIZE */
+ { 35845, 0x00008061 }, /* GL_TEXTURE_INTENSITY_SIZE_EXT */
+ { 35875, 0x00001003 }, /* GL_TEXTURE_INTERNAL_FORMAT */
+ { 35902, 0x0000819C }, /* GL_TEXTURE_LEQUAL_R_SGIX */
+ { 35927, 0x00008501 }, /* GL_TEXTURE_LOD_BIAS */
+ { 35947, 0x00008501 }, /* GL_TEXTURE_LOD_BIAS_EXT */
+ { 35971, 0x00008190 }, /* GL_TEXTURE_LOD_BIAS_R_SGIX */
+ { 35998, 0x0000818E }, /* GL_TEXTURE_LOD_BIAS_S_SGIX */
+ { 36025, 0x0000818F }, /* GL_TEXTURE_LOD_BIAS_T_SGIX */
+ { 36052, 0x00008060 }, /* GL_TEXTURE_LUMINANCE_SIZE */
+ { 36078, 0x00008060 }, /* GL_TEXTURE_LUMINANCE_SIZE_EXT */
+ { 36108, 0x00002800 }, /* GL_TEXTURE_MAG_FILTER */
+ { 36130, 0x00000BA8 }, /* GL_TEXTURE_MATRIX */
+ { 36148, 0x000084FE }, /* GL_TEXTURE_MAX_ANISOTROPY_EXT */
+ { 36178, 0x0000836B }, /* GL_TEXTURE_MAX_CLAMP_R_SGIX */
+ { 36206, 0x00008369 }, /* GL_TEXTURE_MAX_CLAMP_S_SGIX */
+ { 36234, 0x0000836A }, /* GL_TEXTURE_MAX_CLAMP_T_SGIX */
+ { 36262, 0x0000813D }, /* GL_TEXTURE_MAX_LEVEL */
+ { 36283, 0x0000813B }, /* GL_TEXTURE_MAX_LOD */
+ { 36302, 0x00002801 }, /* GL_TEXTURE_MIN_FILTER */
+ { 36324, 0x0000813A }, /* GL_TEXTURE_MIN_LOD */
+ { 36343, 0x00008066 }, /* GL_TEXTURE_PRIORITY */
+ { 36363, 0x000084F5 }, /* GL_TEXTURE_RECTANGLE_ARB */
+ { 36388, 0x000084F5 }, /* GL_TEXTURE_RECTANGLE_NV */
+ { 36412, 0x0000805C }, /* GL_TEXTURE_RED_SIZE */
+ { 36432, 0x0000805C }, /* GL_TEXTURE_RED_SIZE_EXT */
+ { 36456, 0x00008067 }, /* GL_TEXTURE_RESIDENT */
+ { 36476, 0x00000BA5 }, /* GL_TEXTURE_STACK_DEPTH */
+ { 36499, 0x000088F1 }, /* GL_TEXTURE_STENCIL_SIZE */
+ { 36523, 0x00008065 }, /* GL_TEXTURE_TOO_LARGE_EXT */
+ { 36548, 0x0000888F }, /* GL_TEXTURE_UNSIGNED_REMAP_MODE_NV */
+ { 36582, 0x00001000 }, /* GL_TEXTURE_WIDTH */
+ { 36599, 0x00008072 }, /* GL_TEXTURE_WRAP_R */
+ { 36617, 0x00002802 }, /* GL_TEXTURE_WRAP_S */
+ { 36635, 0x00002803 }, /* GL_TEXTURE_WRAP_T */
+ { 36653, 0x000088BF }, /* GL_TIME_ELAPSED_EXT */
+ { 36673, 0x00008648 }, /* GL_TRACK_MATRIX_NV */
+ { 36692, 0x00008649 }, /* GL_TRACK_MATRIX_TRANSFORM_NV */
+ { 36721, 0x00001000 }, /* GL_TRANSFORM_BIT */
+ { 36738, 0x000084E6 }, /* GL_TRANSPOSE_COLOR_MATRIX */
+ { 36764, 0x000084E6 }, /* GL_TRANSPOSE_COLOR_MATRIX_ARB */
+ { 36794, 0x000088B7 }, /* GL_TRANSPOSE_CURRENT_MATRIX_ARB */
+ { 36826, 0x000084E3 }, /* GL_TRANSPOSE_MODELVIEW_MATRIX */
+ { 36856, 0x000084E3 }, /* GL_TRANSPOSE_MODELVIEW_MATRIX_ARB */
+ { 36890, 0x0000862C }, /* GL_TRANSPOSE_NV */
+ { 36906, 0x000084E4 }, /* GL_TRANSPOSE_PROJECTION_MATRIX */
+ { 36937, 0x000084E4 }, /* GL_TRANSPOSE_PROJECTION_MATRIX_ARB */
+ { 36972, 0x000084E5 }, /* GL_TRANSPOSE_TEXTURE_MATRIX */
+ { 37000, 0x000084E5 }, /* GL_TRANSPOSE_TEXTURE_MATRIX_ARB */
+ { 37032, 0x00000004 }, /* GL_TRIANGLES */
+ { 37045, 0x00000006 }, /* GL_TRIANGLE_FAN */
+ { 37061, 0x00008615 }, /* GL_TRIANGLE_MESH_SUN */
+ { 37082, 0x00000005 }, /* GL_TRIANGLE_STRIP */
+ { 37100, 0x00000001 }, /* GL_TRUE */
+ { 37108, 0x00000CF5 }, /* GL_UNPACK_ALIGNMENT */
+ { 37128, 0x0000806E }, /* GL_UNPACK_IMAGE_HEIGHT */
+ { 37151, 0x00000CF1 }, /* GL_UNPACK_LSB_FIRST */
+ { 37171, 0x00000CF2 }, /* GL_UNPACK_ROW_LENGTH */
+ { 37192, 0x0000806D }, /* GL_UNPACK_SKIP_IMAGES */
+ { 37214, 0x00000CF4 }, /* GL_UNPACK_SKIP_PIXELS */
+ { 37236, 0x00000CF3 }, /* GL_UNPACK_SKIP_ROWS */
+ { 37256, 0x00000CF0 }, /* GL_UNPACK_SWAP_BYTES */
+ { 37277, 0x00001401 }, /* GL_UNSIGNED_BYTE */
+ { 37294, 0x00008362 }, /* GL_UNSIGNED_BYTE_2_3_3_REV */
+ { 37321, 0x00008032 }, /* GL_UNSIGNED_BYTE_3_3_2 */
+ { 37344, 0x00001405 }, /* GL_UNSIGNED_INT */
+ { 37360, 0x00008036 }, /* GL_UNSIGNED_INT_10_10_10_2 */
+ { 37387, 0x000084FA }, /* GL_UNSIGNED_INT_24_8 */
+ { 37408, 0x000084FA }, /* GL_UNSIGNED_INT_24_8_NV */
+ { 37432, 0x00008368 }, /* GL_UNSIGNED_INT_2_10_10_10_REV */
+ { 37463, 0x00008035 }, /* GL_UNSIGNED_INT_8_8_8_8 */
+ { 37487, 0x00008367 }, /* GL_UNSIGNED_INT_8_8_8_8_REV */
+ { 37515, 0x00008C17 }, /* GL_UNSIGNED_NORMALIZED */
+ { 37538, 0x00001403 }, /* GL_UNSIGNED_SHORT */
+ { 37556, 0x00008366 }, /* GL_UNSIGNED_SHORT_1_5_5_5_REV */
+ { 37586, 0x00008033 }, /* GL_UNSIGNED_SHORT_4_4_4_4 */
+ { 37612, 0x00008365 }, /* GL_UNSIGNED_SHORT_4_4_4_4_REV */
+ { 37642, 0x00008034 }, /* GL_UNSIGNED_SHORT_5_5_5_1 */
+ { 37668, 0x00008363 }, /* GL_UNSIGNED_SHORT_5_6_5 */
+ { 37692, 0x00008364 }, /* GL_UNSIGNED_SHORT_5_6_5_REV */
+ { 37720, 0x000085BA }, /* GL_UNSIGNED_SHORT_8_8_APPLE */
+ { 37748, 0x000085BA }, /* GL_UNSIGNED_SHORT_8_8_MESA */
+ { 37775, 0x000085BB }, /* GL_UNSIGNED_SHORT_8_8_REV_APPLE */
+ { 37807, 0x000085BB }, /* GL_UNSIGNED_SHORT_8_8_REV_MESA */
+ { 37838, 0x00008CA2 }, /* GL_UPPER_LEFT */
+ { 37852, 0x00002A20 }, /* GL_V2F */
+ { 37859, 0x00002A21 }, /* GL_V3F */
+ { 37866, 0x00008B83 }, /* GL_VALIDATE_STATUS */
+ { 37885, 0x00001F00 }, /* GL_VENDOR */
+ { 37895, 0x00001F02 }, /* GL_VERSION */
+ { 37906, 0x00008074 }, /* GL_VERTEX_ARRAY */
+ { 37922, 0x000085B5 }, /* GL_VERTEX_ARRAY_BINDING_APPLE */
+ { 37952, 0x00008896 }, /* GL_VERTEX_ARRAY_BUFFER_BINDING */
+ { 37983, 0x00008896 }, /* GL_VERTEX_ARRAY_BUFFER_BINDING_ARB */
+ { 38018, 0x0000808E }, /* GL_VERTEX_ARRAY_POINTER */
+ { 38042, 0x0000807A }, /* GL_VERTEX_ARRAY_SIZE */
+ { 38063, 0x0000807C }, /* GL_VERTEX_ARRAY_STRIDE */
+ { 38086, 0x0000807B }, /* GL_VERTEX_ARRAY_TYPE */
+ { 38107, 0x00008650 }, /* GL_VERTEX_ATTRIB_ARRAY0_NV */
+ { 38134, 0x0000865A }, /* GL_VERTEX_ATTRIB_ARRAY10_NV */
+ { 38162, 0x0000865B }, /* GL_VERTEX_ATTRIB_ARRAY11_NV */
+ { 38190, 0x0000865C }, /* GL_VERTEX_ATTRIB_ARRAY12_NV */
+ { 38218, 0x0000865D }, /* GL_VERTEX_ATTRIB_ARRAY13_NV */
+ { 38246, 0x0000865E }, /* GL_VERTEX_ATTRIB_ARRAY14_NV */
+ { 38274, 0x0000865F }, /* GL_VERTEX_ATTRIB_ARRAY15_NV */
+ { 38302, 0x00008651 }, /* GL_VERTEX_ATTRIB_ARRAY1_NV */
+ { 38329, 0x00008652 }, /* GL_VERTEX_ATTRIB_ARRAY2_NV */
+ { 38356, 0x00008653 }, /* GL_VERTEX_ATTRIB_ARRAY3_NV */
+ { 38383, 0x00008654 }, /* GL_VERTEX_ATTRIB_ARRAY4_NV */
+ { 38410, 0x00008655 }, /* GL_VERTEX_ATTRIB_ARRAY5_NV */
+ { 38437, 0x00008656 }, /* GL_VERTEX_ATTRIB_ARRAY6_NV */
+ { 38464, 0x00008657 }, /* GL_VERTEX_ATTRIB_ARRAY7_NV */
+ { 38491, 0x00008658 }, /* GL_VERTEX_ATTRIB_ARRAY8_NV */
+ { 38518, 0x00008659 }, /* GL_VERTEX_ATTRIB_ARRAY9_NV */
+ { 38545, 0x0000889F }, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING */
+ { 38583, 0x0000889F }, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB */
+ { 38625, 0x00008622 }, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED */
+ { 38656, 0x00008622 }, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB */
+ { 38691, 0x0000886A }, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED */
+ { 38725, 0x0000886A }, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB */
+ { 38763, 0x00008645 }, /* GL_VERTEX_ATTRIB_ARRAY_POINTER */
+ { 38794, 0x00008645 }, /* GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB */
+ { 38829, 0x00008623 }, /* GL_VERTEX_ATTRIB_ARRAY_SIZE */
+ { 38857, 0x00008623 }, /* GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB */
+ { 38889, 0x00008624 }, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE */
+ { 38919, 0x00008624 }, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB */
+ { 38953, 0x00008625 }, /* GL_VERTEX_ATTRIB_ARRAY_TYPE */
+ { 38981, 0x00008625 }, /* GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB */
+ { 39013, 0x000086A7 }, /* GL_VERTEX_BLEND_ARB */
+ { 39033, 0x00008620 }, /* GL_VERTEX_PROGRAM_ARB */
+ { 39055, 0x0000864A }, /* GL_VERTEX_PROGRAM_BINDING_NV */
+ { 39084, 0x00008620 }, /* GL_VERTEX_PROGRAM_NV */
+ { 39105, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE */
+ { 39134, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE_ARB */
+ { 39167, 0x00008642 }, /* GL_VERTEX_PROGRAM_POINT_SIZE_NV */
+ { 39199, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE */
+ { 39226, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE_ARB */
+ { 39257, 0x00008643 }, /* GL_VERTEX_PROGRAM_TWO_SIDE_NV */
+ { 39287, 0x00008B31 }, /* GL_VERTEX_SHADER */
+ { 39304, 0x00008B31 }, /* GL_VERTEX_SHADER_ARB */
+ { 39325, 0x00008621 }, /* GL_VERTEX_STATE_PROGRAM_NV */
+ { 39352, 0x00000BA2 }, /* GL_VIEWPORT */
+ { 39364, 0x00000800 }, /* GL_VIEWPORT_BIT */
+ { 39380, 0x000086AD }, /* GL_WEIGHT_ARRAY_ARB */
+ { 39400, 0x0000889E }, /* GL_WEIGHT_ARRAY_BUFFER_BINDING */
+ { 39431, 0x0000889E }, /* GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB */
+ { 39466, 0x000086AC }, /* GL_WEIGHT_ARRAY_POINTER_ARB */
+ { 39494, 0x000086AB }, /* GL_WEIGHT_ARRAY_SIZE_ARB */
+ { 39519, 0x000086AA }, /* GL_WEIGHT_ARRAY_STRIDE_ARB */
+ { 39546, 0x000086A9 }, /* GL_WEIGHT_ARRAY_TYPE_ARB */
+ { 39571, 0x000086A6 }, /* GL_WEIGHT_SUM_UNITY_ARB */
+ { 39595, 0x000081D4 }, /* GL_WRAP_BORDER_SUN */
+ { 39614, 0x000088B9 }, /* GL_WRITE_ONLY */
+ { 39628, 0x000088B9 }, /* GL_WRITE_ONLY_ARB */
+ { 39646, 0x00001506 }, /* GL_XOR */
+ { 39653, 0x000085B9 }, /* GL_YCBCR_422_APPLE */
+ { 39672, 0x00008757 }, /* GL_YCBCR_MESA */
+ { 39686, 0x00000000 }, /* GL_ZERO */
+ { 39694, 0x00000D16 }, /* GL_ZOOM_X */
+ { 39704, 0x00000D17 }, /* GL_ZOOM_Y */
};
-static const unsigned reduced_enums[1321] =
+static const unsigned reduced_enums[1325] =
{
471, /* GL_FALSE */
- 685, /* GL_LINES */
- 687, /* GL_LINE_LOOP */
- 694, /* GL_LINE_STRIP */
- 1717, /* GL_TRIANGLES */
- 1720, /* GL_TRIANGLE_STRIP */
- 1718, /* GL_TRIANGLE_FAN */
- 1262, /* GL_QUADS */
- 1264, /* GL_QUAD_STRIP */
- 1150, /* GL_POLYGON */
- 1162, /* GL_POLYGON_STIPPLE_BIT */
- 1111, /* GL_PIXEL_MODE_BIT */
- 672, /* GL_LIGHTING_BIT */
- 499, /* GL_FOG_BIT */
+ 687, /* GL_LINES */
+ 689, /* GL_LINE_LOOP */
+ 696, /* GL_LINE_STRIP */
+ 1721, /* GL_TRIANGLES */
+ 1724, /* GL_TRIANGLE_STRIP */
+ 1722, /* GL_TRIANGLE_FAN */
+ 1265, /* GL_QUADS */
+ 1268, /* GL_QUAD_STRIP */
+ 1152, /* GL_POLYGON */
+ 1164, /* GL_POLYGON_STIPPLE_BIT */
+ 1113, /* GL_PIXEL_MODE_BIT */
+ 674, /* GL_LIGHTING_BIT */
+ 500, /* GL_FOG_BIT */
8, /* GL_ACCUM */
- 704, /* GL_LOAD */
- 1316, /* GL_RETURN */
- 984, /* GL_MULT */
+ 706, /* GL_LOAD */
+ 1320, /* GL_RETURN */
+ 986, /* GL_MULT */
23, /* GL_ADD */
- 1000, /* GL_NEVER */
- 662, /* GL_LESS */
+ 1002, /* GL_NEVER */
+ 664, /* GL_LESS */
461, /* GL_EQUAL */
- 661, /* GL_LEQUAL */
- 585, /* GL_GREATER */
- 1015, /* GL_NOTEQUAL */
- 584, /* GL_GEQUAL */
+ 663, /* GL_LEQUAL */
+ 586, /* GL_GREATER */
+ 1017, /* GL_NOTEQUAL */
+ 585, /* GL_GEQUAL */
46, /* GL_ALWAYS */
- 1456, /* GL_SRC_COLOR */
- 1044, /* GL_ONE_MINUS_SRC_COLOR */
- 1454, /* GL_SRC_ALPHA */
- 1043, /* GL_ONE_MINUS_SRC_ALPHA */
+ 1460, /* GL_SRC_COLOR */
+ 1046, /* GL_ONE_MINUS_SRC_COLOR */
+ 1458, /* GL_SRC_ALPHA */
+ 1045, /* GL_ONE_MINUS_SRC_ALPHA */
440, /* GL_DST_ALPHA */
- 1041, /* GL_ONE_MINUS_DST_ALPHA */
+ 1043, /* GL_ONE_MINUS_DST_ALPHA */
441, /* GL_DST_COLOR */
- 1042, /* GL_ONE_MINUS_DST_COLOR */
- 1455, /* GL_SRC_ALPHA_SATURATE */
- 572, /* GL_FRONT_LEFT */
- 573, /* GL_FRONT_RIGHT */
+ 1044, /* GL_ONE_MINUS_DST_COLOR */
+ 1459, /* GL_SRC_ALPHA_SATURATE */
+ 573, /* GL_FRONT_LEFT */
+ 574, /* GL_FRONT_RIGHT */
68, /* GL_BACK_LEFT */
69, /* GL_BACK_RIGHT */
- 569, /* GL_FRONT */
+ 570, /* GL_FRONT */
67, /* GL_BACK */
- 660, /* GL_LEFT */
- 1358, /* GL_RIGHT */
- 570, /* GL_FRONT_AND_BACK */
+ 662, /* GL_LEFT */
+ 1362, /* GL_RIGHT */
+ 571, /* GL_FRONT_AND_BACK */
62, /* GL_AUX0 */
63, /* GL_AUX1 */
64, /* GL_AUX2 */
65, /* GL_AUX3 */
- 651, /* GL_INVALID_ENUM */
- 655, /* GL_INVALID_VALUE */
- 654, /* GL_INVALID_OPERATION */
- 1461, /* GL_STACK_OVERFLOW */
- 1462, /* GL_STACK_UNDERFLOW */
- 1069, /* GL_OUT_OF_MEMORY */
- 652, /* GL_INVALID_FRAMEBUFFER_OPERATION */
+ 652, /* GL_INVALID_ENUM */
+ 656, /* GL_INVALID_VALUE */
+ 655, /* GL_INVALID_OPERATION */
+ 1465, /* GL_STACK_OVERFLOW */
+ 1466, /* GL_STACK_UNDERFLOW */
+ 1071, /* GL_OUT_OF_MEMORY */
+ 653, /* GL_INVALID_FRAMEBUFFER_OPERATION */
0, /* GL_2D */
2, /* GL_3D */
3, /* GL_3D_COLOR */
4, /* GL_3D_COLOR_TEXTURE */
6, /* GL_4D_COLOR_TEXTURE */
- 1089, /* GL_PASS_THROUGH_TOKEN */
- 1149, /* GL_POINT_TOKEN */
- 695, /* GL_LINE_TOKEN */
- 1163, /* GL_POLYGON_TOKEN */
+ 1091, /* GL_PASS_THROUGH_TOKEN */
+ 1151, /* GL_POINT_TOKEN */
+ 697, /* GL_LINE_TOKEN */
+ 1165, /* GL_POLYGON_TOKEN */
73, /* GL_BITMAP_TOKEN */
439, /* GL_DRAW_PIXEL_TOKEN */
297, /* GL_COPY_PIXEL_TOKEN */
- 688, /* GL_LINE_RESET_TOKEN */
+ 690, /* GL_LINE_RESET_TOKEN */
464, /* GL_EXP */
465, /* GL_EXP2 */
333, /* GL_CW */
122, /* GL_CCW */
143, /* GL_COEFF */
- 1066, /* GL_ORDER */
+ 1068, /* GL_ORDER */
377, /* GL_DOMAIN */
307, /* GL_CURRENT_COLOR */
310, /* GL_CURRENT_INDEX */
@@ -3786,67 +3794,67 @@ static const unsigned reduced_enums[1321] =
324, /* GL_CURRENT_RASTER_POSITION */
325, /* GL_CURRENT_RASTER_POSITION_VALID */
322, /* GL_CURRENT_RASTER_DISTANCE */
- 1142, /* GL_POINT_SMOOTH */
- 1131, /* GL_POINT_SIZE */
- 1141, /* GL_POINT_SIZE_RANGE */
- 1132, /* GL_POINT_SIZE_GRANULARITY */
- 689, /* GL_LINE_SMOOTH */
- 696, /* GL_LINE_WIDTH */
- 698, /* GL_LINE_WIDTH_RANGE */
- 697, /* GL_LINE_WIDTH_GRANULARITY */
- 691, /* GL_LINE_STIPPLE */
- 692, /* GL_LINE_STIPPLE_PATTERN */
- 693, /* GL_LINE_STIPPLE_REPEAT */
- 703, /* GL_LIST_MODE */
- 868, /* GL_MAX_LIST_NESTING */
- 700, /* GL_LIST_BASE */
- 702, /* GL_LIST_INDEX */
- 1152, /* GL_POLYGON_MODE */
- 1159, /* GL_POLYGON_SMOOTH */
- 1161, /* GL_POLYGON_STIPPLE */
+ 1144, /* GL_POINT_SMOOTH */
+ 1133, /* GL_POINT_SIZE */
+ 1143, /* GL_POINT_SIZE_RANGE */
+ 1134, /* GL_POINT_SIZE_GRANULARITY */
+ 691, /* GL_LINE_SMOOTH */
+ 698, /* GL_LINE_WIDTH */
+ 700, /* GL_LINE_WIDTH_RANGE */
+ 699, /* GL_LINE_WIDTH_GRANULARITY */
+ 693, /* GL_LINE_STIPPLE */
+ 694, /* GL_LINE_STIPPLE_PATTERN */
+ 695, /* GL_LINE_STIPPLE_REPEAT */
+ 705, /* GL_LIST_MODE */
+ 870, /* GL_MAX_LIST_NESTING */
+ 702, /* GL_LIST_BASE */
+ 704, /* GL_LIST_INDEX */
+ 1154, /* GL_POLYGON_MODE */
+ 1161, /* GL_POLYGON_SMOOTH */
+ 1163, /* GL_POLYGON_STIPPLE */
450, /* GL_EDGE_FLAG */
300, /* GL_CULL_FACE */
301, /* GL_CULL_FACE_MODE */
- 571, /* GL_FRONT_FACE */
- 671, /* GL_LIGHTING */
- 676, /* GL_LIGHT_MODEL_LOCAL_VIEWER */
- 677, /* GL_LIGHT_MODEL_TWO_SIDE */
- 673, /* GL_LIGHT_MODEL_AMBIENT */
- 1404, /* GL_SHADE_MODEL */
+ 572, /* GL_FRONT_FACE */
+ 673, /* GL_LIGHTING */
+ 678, /* GL_LIGHT_MODEL_LOCAL_VIEWER */
+ 679, /* GL_LIGHT_MODEL_TWO_SIDE */
+ 675, /* GL_LIGHT_MODEL_AMBIENT */
+ 1408, /* GL_SHADE_MODEL */
190, /* GL_COLOR_MATERIAL_FACE */
191, /* GL_COLOR_MATERIAL_PARAMETER */
189, /* GL_COLOR_MATERIAL */
- 498, /* GL_FOG */
- 520, /* GL_FOG_INDEX */
- 516, /* GL_FOG_DENSITY */
- 524, /* GL_FOG_START */
- 518, /* GL_FOG_END */
- 521, /* GL_FOG_MODE */
- 500, /* GL_FOG_COLOR */
+ 499, /* GL_FOG */
+ 521, /* GL_FOG_INDEX */
+ 517, /* GL_FOG_DENSITY */
+ 525, /* GL_FOG_START */
+ 519, /* GL_FOG_END */
+ 522, /* GL_FOG_MODE */
+ 501, /* GL_FOG_COLOR */
364, /* GL_DEPTH_RANGE */
371, /* GL_DEPTH_TEST */
374, /* GL_DEPTH_WRITEMASK */
352, /* GL_DEPTH_CLEAR_VALUE */
363, /* GL_DEPTH_FUNC */
12, /* GL_ACCUM_CLEAR_VALUE */
- 1497, /* GL_STENCIL_TEST */
- 1485, /* GL_STENCIL_CLEAR_VALUE */
- 1487, /* GL_STENCIL_FUNC */
- 1499, /* GL_STENCIL_VALUE_MASK */
- 1486, /* GL_STENCIL_FAIL */
- 1494, /* GL_STENCIL_PASS_DEPTH_FAIL */
- 1495, /* GL_STENCIL_PASS_DEPTH_PASS */
- 1496, /* GL_STENCIL_REF */
- 1500, /* GL_STENCIL_WRITEMASK */
- 837, /* GL_MATRIX_MODE */
- 1005, /* GL_NORMALIZE */
- 1809, /* GL_VIEWPORT */
- 979, /* GL_MODELVIEW_STACK_DEPTH */
- 1242, /* GL_PROJECTION_STACK_DEPTH */
- 1695, /* GL_TEXTURE_STACK_DEPTH */
- 977, /* GL_MODELVIEW_MATRIX */
- 1241, /* GL_PROJECTION_MATRIX */
- 1680, /* GL_TEXTURE_MATRIX */
+ 1501, /* GL_STENCIL_TEST */
+ 1489, /* GL_STENCIL_CLEAR_VALUE */
+ 1491, /* GL_STENCIL_FUNC */
+ 1503, /* GL_STENCIL_VALUE_MASK */
+ 1490, /* GL_STENCIL_FAIL */
+ 1498, /* GL_STENCIL_PASS_DEPTH_FAIL */
+ 1499, /* GL_STENCIL_PASS_DEPTH_PASS */
+ 1500, /* GL_STENCIL_REF */
+ 1504, /* GL_STENCIL_WRITEMASK */
+ 839, /* GL_MATRIX_MODE */
+ 1007, /* GL_NORMALIZE */
+ 1813, /* GL_VIEWPORT */
+ 981, /* GL_MODELVIEW_STACK_DEPTH */
+ 1244, /* GL_PROJECTION_STACK_DEPTH */
+ 1699, /* GL_TEXTURE_STACK_DEPTH */
+ 979, /* GL_MODELVIEW_MATRIX */
+ 1243, /* GL_PROJECTION_MATRIX */
+ 1684, /* GL_TEXTURE_MATRIX */
60, /* GL_ATTRIB_STACK_DEPTH */
133, /* GL_CLIENT_ATTRIB_STACK_DEPTH */
43, /* GL_ALPHA_TEST */
@@ -3856,162 +3864,162 @@ static const unsigned reduced_enums[1321] =
77, /* GL_BLEND_DST */
86, /* GL_BLEND_SRC */
74, /* GL_BLEND */
- 706, /* GL_LOGIC_OP_MODE */
- 625, /* GL_INDEX_LOGIC_OP */
+ 708, /* GL_LOGIC_OP_MODE */
+ 626, /* GL_INDEX_LOGIC_OP */
188, /* GL_COLOR_LOGIC_OP */
66, /* GL_AUX_BUFFERS */
387, /* GL_DRAW_BUFFER */
- 1274, /* GL_READ_BUFFER */
- 1385, /* GL_SCISSOR_BOX */
- 1386, /* GL_SCISSOR_TEST */
- 624, /* GL_INDEX_CLEAR_VALUE */
- 629, /* GL_INDEX_WRITEMASK */
+ 1278, /* GL_READ_BUFFER */
+ 1389, /* GL_SCISSOR_BOX */
+ 1390, /* GL_SCISSOR_TEST */
+ 625, /* GL_INDEX_CLEAR_VALUE */
+ 630, /* GL_INDEX_WRITEMASK */
185, /* GL_COLOR_CLEAR_VALUE */
227, /* GL_COLOR_WRITEMASK */
- 626, /* GL_INDEX_MODE */
- 1351, /* GL_RGBA_MODE */
+ 627, /* GL_INDEX_MODE */
+ 1355, /* GL_RGBA_MODE */
386, /* GL_DOUBLEBUFFER */
- 1501, /* GL_STEREO */
- 1309, /* GL_RENDER_MODE */
- 1090, /* GL_PERSPECTIVE_CORRECTION_HINT */
- 1143, /* GL_POINT_SMOOTH_HINT */
- 690, /* GL_LINE_SMOOTH_HINT */
- 1160, /* GL_POLYGON_SMOOTH_HINT */
- 519, /* GL_FOG_HINT */
- 1661, /* GL_TEXTURE_GEN_S */
- 1662, /* GL_TEXTURE_GEN_T */
- 1660, /* GL_TEXTURE_GEN_R */
- 1659, /* GL_TEXTURE_GEN_Q */
- 1103, /* GL_PIXEL_MAP_I_TO_I */
- 1109, /* GL_PIXEL_MAP_S_TO_S */
- 1105, /* GL_PIXEL_MAP_I_TO_R */
- 1101, /* GL_PIXEL_MAP_I_TO_G */
- 1099, /* GL_PIXEL_MAP_I_TO_B */
- 1097, /* GL_PIXEL_MAP_I_TO_A */
- 1107, /* GL_PIXEL_MAP_R_TO_R */
- 1095, /* GL_PIXEL_MAP_G_TO_G */
- 1093, /* GL_PIXEL_MAP_B_TO_B */
- 1091, /* GL_PIXEL_MAP_A_TO_A */
- 1104, /* GL_PIXEL_MAP_I_TO_I_SIZE */
- 1110, /* GL_PIXEL_MAP_S_TO_S_SIZE */
- 1106, /* GL_PIXEL_MAP_I_TO_R_SIZE */
- 1102, /* GL_PIXEL_MAP_I_TO_G_SIZE */
- 1100, /* GL_PIXEL_MAP_I_TO_B_SIZE */
- 1098, /* GL_PIXEL_MAP_I_TO_A_SIZE */
- 1108, /* GL_PIXEL_MAP_R_TO_R_SIZE */
- 1096, /* GL_PIXEL_MAP_G_TO_G_SIZE */
- 1094, /* GL_PIXEL_MAP_B_TO_B_SIZE */
- 1092, /* GL_PIXEL_MAP_A_TO_A_SIZE */
- 1729, /* GL_UNPACK_SWAP_BYTES */
- 1724, /* GL_UNPACK_LSB_FIRST */
- 1725, /* GL_UNPACK_ROW_LENGTH */
- 1728, /* GL_UNPACK_SKIP_ROWS */
- 1727, /* GL_UNPACK_SKIP_PIXELS */
- 1722, /* GL_UNPACK_ALIGNMENT */
- 1078, /* GL_PACK_SWAP_BYTES */
- 1073, /* GL_PACK_LSB_FIRST */
- 1074, /* GL_PACK_ROW_LENGTH */
- 1077, /* GL_PACK_SKIP_ROWS */
- 1076, /* GL_PACK_SKIP_PIXELS */
- 1070, /* GL_PACK_ALIGNMENT */
- 784, /* GL_MAP_COLOR */
- 789, /* GL_MAP_STENCIL */
- 628, /* GL_INDEX_SHIFT */
- 627, /* GL_INDEX_OFFSET */
- 1287, /* GL_RED_SCALE */
- 1285, /* GL_RED_BIAS */
- 1826, /* GL_ZOOM_X */
- 1827, /* GL_ZOOM_Y */
- 589, /* GL_GREEN_SCALE */
- 587, /* GL_GREEN_BIAS */
+ 1505, /* GL_STEREO */
+ 1313, /* GL_RENDER_MODE */
+ 1092, /* GL_PERSPECTIVE_CORRECTION_HINT */
+ 1145, /* GL_POINT_SMOOTH_HINT */
+ 692, /* GL_LINE_SMOOTH_HINT */
+ 1162, /* GL_POLYGON_SMOOTH_HINT */
+ 520, /* GL_FOG_HINT */
+ 1665, /* GL_TEXTURE_GEN_S */
+ 1666, /* GL_TEXTURE_GEN_T */
+ 1664, /* GL_TEXTURE_GEN_R */
+ 1663, /* GL_TEXTURE_GEN_Q */
+ 1105, /* GL_PIXEL_MAP_I_TO_I */
+ 1111, /* GL_PIXEL_MAP_S_TO_S */
+ 1107, /* GL_PIXEL_MAP_I_TO_R */
+ 1103, /* GL_PIXEL_MAP_I_TO_G */
+ 1101, /* GL_PIXEL_MAP_I_TO_B */
+ 1099, /* GL_PIXEL_MAP_I_TO_A */
+ 1109, /* GL_PIXEL_MAP_R_TO_R */
+ 1097, /* GL_PIXEL_MAP_G_TO_G */
+ 1095, /* GL_PIXEL_MAP_B_TO_B */
+ 1093, /* GL_PIXEL_MAP_A_TO_A */
+ 1106, /* GL_PIXEL_MAP_I_TO_I_SIZE */
+ 1112, /* GL_PIXEL_MAP_S_TO_S_SIZE */
+ 1108, /* GL_PIXEL_MAP_I_TO_R_SIZE */
+ 1104, /* GL_PIXEL_MAP_I_TO_G_SIZE */
+ 1102, /* GL_PIXEL_MAP_I_TO_B_SIZE */
+ 1100, /* GL_PIXEL_MAP_I_TO_A_SIZE */
+ 1110, /* GL_PIXEL_MAP_R_TO_R_SIZE */
+ 1098, /* GL_PIXEL_MAP_G_TO_G_SIZE */
+ 1096, /* GL_PIXEL_MAP_B_TO_B_SIZE */
+ 1094, /* GL_PIXEL_MAP_A_TO_A_SIZE */
+ 1733, /* GL_UNPACK_SWAP_BYTES */
+ 1728, /* GL_UNPACK_LSB_FIRST */
+ 1729, /* GL_UNPACK_ROW_LENGTH */
+ 1732, /* GL_UNPACK_SKIP_ROWS */
+ 1731, /* GL_UNPACK_SKIP_PIXELS */
+ 1726, /* GL_UNPACK_ALIGNMENT */
+ 1080, /* GL_PACK_SWAP_BYTES */
+ 1075, /* GL_PACK_LSB_FIRST */
+ 1076, /* GL_PACK_ROW_LENGTH */
+ 1079, /* GL_PACK_SKIP_ROWS */
+ 1078, /* GL_PACK_SKIP_PIXELS */
+ 1072, /* GL_PACK_ALIGNMENT */
+ 786, /* GL_MAP_COLOR */
+ 791, /* GL_MAP_STENCIL */
+ 629, /* GL_INDEX_SHIFT */
+ 628, /* GL_INDEX_OFFSET */
+ 1291, /* GL_RED_SCALE */
+ 1289, /* GL_RED_BIAS */
+ 1830, /* GL_ZOOM_X */
+ 1831, /* GL_ZOOM_Y */
+ 590, /* GL_GREEN_SCALE */
+ 588, /* GL_GREEN_BIAS */
92, /* GL_BLUE_SCALE */
90, /* GL_BLUE_BIAS */
42, /* GL_ALPHA_SCALE */
40, /* GL_ALPHA_BIAS */
365, /* GL_DEPTH_SCALE */
346, /* GL_DEPTH_BIAS */
- 863, /* GL_MAX_EVAL_ORDER */
- 867, /* GL_MAX_LIGHTS */
- 846, /* GL_MAX_CLIP_PLANES */
- 912, /* GL_MAX_TEXTURE_SIZE */
- 873, /* GL_MAX_PIXEL_MAP_TABLE */
- 842, /* GL_MAX_ATTRIB_STACK_DEPTH */
- 870, /* GL_MAX_MODELVIEW_STACK_DEPTH */
- 871, /* GL_MAX_NAME_STACK_DEPTH */
- 899, /* GL_MAX_PROJECTION_STACK_DEPTH */
- 913, /* GL_MAX_TEXTURE_STACK_DEPTH */
- 927, /* GL_MAX_VIEWPORT_DIMS */
- 843, /* GL_MAX_CLIENT_ATTRIB_STACK_DEPTH */
- 1508, /* GL_SUBPIXEL_BITS */
- 623, /* GL_INDEX_BITS */
- 1286, /* GL_RED_BITS */
- 588, /* GL_GREEN_BITS */
+ 865, /* GL_MAX_EVAL_ORDER */
+ 869, /* GL_MAX_LIGHTS */
+ 848, /* GL_MAX_CLIP_PLANES */
+ 914, /* GL_MAX_TEXTURE_SIZE */
+ 875, /* GL_MAX_PIXEL_MAP_TABLE */
+ 844, /* GL_MAX_ATTRIB_STACK_DEPTH */
+ 872, /* GL_MAX_MODELVIEW_STACK_DEPTH */
+ 873, /* GL_MAX_NAME_STACK_DEPTH */
+ 901, /* GL_MAX_PROJECTION_STACK_DEPTH */
+ 915, /* GL_MAX_TEXTURE_STACK_DEPTH */
+ 929, /* GL_MAX_VIEWPORT_DIMS */
+ 845, /* GL_MAX_CLIENT_ATTRIB_STACK_DEPTH */
+ 1512, /* GL_SUBPIXEL_BITS */
+ 624, /* GL_INDEX_BITS */
+ 1290, /* GL_RED_BITS */
+ 589, /* GL_GREEN_BITS */
91, /* GL_BLUE_BITS */
41, /* GL_ALPHA_BITS */
347, /* GL_DEPTH_BITS */
- 1483, /* GL_STENCIL_BITS */
+ 1487, /* GL_STENCIL_BITS */
14, /* GL_ACCUM_RED_BITS */
13, /* GL_ACCUM_GREEN_BITS */
10, /* GL_ACCUM_BLUE_BITS */
9, /* GL_ACCUM_ALPHA_BITS */
- 993, /* GL_NAME_STACK_DEPTH */
+ 995, /* GL_NAME_STACK_DEPTH */
61, /* GL_AUTO_NORMAL */
- 730, /* GL_MAP1_COLOR_4 */
- 733, /* GL_MAP1_INDEX */
- 734, /* GL_MAP1_NORMAL */
- 735, /* GL_MAP1_TEXTURE_COORD_1 */
- 736, /* GL_MAP1_TEXTURE_COORD_2 */
- 737, /* GL_MAP1_TEXTURE_COORD_3 */
- 738, /* GL_MAP1_TEXTURE_COORD_4 */
- 739, /* GL_MAP1_VERTEX_3 */
- 740, /* GL_MAP1_VERTEX_4 */
- 757, /* GL_MAP2_COLOR_4 */
- 760, /* GL_MAP2_INDEX */
- 761, /* GL_MAP2_NORMAL */
- 762, /* GL_MAP2_TEXTURE_COORD_1 */
- 763, /* GL_MAP2_TEXTURE_COORD_2 */
- 764, /* GL_MAP2_TEXTURE_COORD_3 */
- 765, /* GL_MAP2_TEXTURE_COORD_4 */
- 766, /* GL_MAP2_VERTEX_3 */
- 767, /* GL_MAP2_VERTEX_4 */
- 731, /* GL_MAP1_GRID_DOMAIN */
- 732, /* GL_MAP1_GRID_SEGMENTS */
- 758, /* GL_MAP2_GRID_DOMAIN */
- 759, /* GL_MAP2_GRID_SEGMENTS */
- 1585, /* GL_TEXTURE_1D */
- 1587, /* GL_TEXTURE_2D */
+ 732, /* GL_MAP1_COLOR_4 */
+ 735, /* GL_MAP1_INDEX */
+ 736, /* GL_MAP1_NORMAL */
+ 737, /* GL_MAP1_TEXTURE_COORD_1 */
+ 738, /* GL_MAP1_TEXTURE_COORD_2 */
+ 739, /* GL_MAP1_TEXTURE_COORD_3 */
+ 740, /* GL_MAP1_TEXTURE_COORD_4 */
+ 741, /* GL_MAP1_VERTEX_3 */
+ 742, /* GL_MAP1_VERTEX_4 */
+ 759, /* GL_MAP2_COLOR_4 */
+ 762, /* GL_MAP2_INDEX */
+ 763, /* GL_MAP2_NORMAL */
+ 764, /* GL_MAP2_TEXTURE_COORD_1 */
+ 765, /* GL_MAP2_TEXTURE_COORD_2 */
+ 766, /* GL_MAP2_TEXTURE_COORD_3 */
+ 767, /* GL_MAP2_TEXTURE_COORD_4 */
+ 768, /* GL_MAP2_VERTEX_3 */
+ 769, /* GL_MAP2_VERTEX_4 */
+ 733, /* GL_MAP1_GRID_DOMAIN */
+ 734, /* GL_MAP1_GRID_SEGMENTS */
+ 760, /* GL_MAP2_GRID_DOMAIN */
+ 761, /* GL_MAP2_GRID_SEGMENTS */
+ 1589, /* GL_TEXTURE_1D */
+ 1591, /* GL_TEXTURE_2D */
474, /* GL_FEEDBACK_BUFFER_POINTER */
475, /* GL_FEEDBACK_BUFFER_SIZE */
476, /* GL_FEEDBACK_BUFFER_TYPE */
- 1395, /* GL_SELECTION_BUFFER_POINTER */
- 1396, /* GL_SELECTION_BUFFER_SIZE */
- 1699, /* GL_TEXTURE_WIDTH */
- 1666, /* GL_TEXTURE_HEIGHT */
- 1622, /* GL_TEXTURE_COMPONENTS */
- 1606, /* GL_TEXTURE_BORDER_COLOR */
- 1605, /* GL_TEXTURE_BORDER */
+ 1399, /* GL_SELECTION_BUFFER_POINTER */
+ 1400, /* GL_SELECTION_BUFFER_SIZE */
+ 1703, /* GL_TEXTURE_WIDTH */
+ 1670, /* GL_TEXTURE_HEIGHT */
+ 1626, /* GL_TEXTURE_COMPONENTS */
+ 1610, /* GL_TEXTURE_BORDER_COLOR */
+ 1609, /* GL_TEXTURE_BORDER */
378, /* GL_DONT_CARE */
472, /* GL_FASTEST */
- 1001, /* GL_NICEST */
+ 1003, /* GL_NICEST */
47, /* GL_AMBIENT */
375, /* GL_DIFFUSE */
- 1443, /* GL_SPECULAR */
- 1164, /* GL_POSITION */
- 1446, /* GL_SPOT_DIRECTION */
- 1447, /* GL_SPOT_EXPONENT */
- 1445, /* GL_SPOT_CUTOFF */
+ 1447, /* GL_SPECULAR */
+ 1166, /* GL_POSITION */
+ 1450, /* GL_SPOT_DIRECTION */
+ 1451, /* GL_SPOT_EXPONENT */
+ 1449, /* GL_SPOT_CUTOFF */
271, /* GL_CONSTANT_ATTENUATION */
- 680, /* GL_LINEAR_ATTENUATION */
- 1261, /* GL_QUADRATIC_ATTENUATION */
+ 682, /* GL_LINEAR_ATTENUATION */
+ 1264, /* GL_QUADRATIC_ATTENUATION */
241, /* GL_COMPILE */
242, /* GL_COMPILE_AND_EXECUTE */
117, /* GL_BYTE */
- 1730, /* GL_UNSIGNED_BYTE */
- 1409, /* GL_SHORT */
- 1741, /* GL_UNSIGNED_SHORT */
- 631, /* GL_INT */
- 1733, /* GL_UNSIGNED_INT */
- 479, /* GL_FLOAT */
+ 1734, /* GL_UNSIGNED_BYTE */
+ 1413, /* GL_SHORT */
+ 1745, /* GL_UNSIGNED_SHORT */
+ 632, /* GL_INT */
+ 1737, /* GL_UNSIGNED_INT */
+ 480, /* GL_FLOAT */
1, /* GL_2_BYTES */
5, /* GL_3_BYTES */
7, /* GL_4_BYTES */
@@ -4021,284 +4029,284 @@ static const unsigned reduced_enums[1321] =
51, /* GL_AND_REVERSE */
295, /* GL_COPY */
50, /* GL_AND_INVERTED */
- 1003, /* GL_NOOP */
- 1822, /* GL_XOR */
- 1065, /* GL_OR */
- 1004, /* GL_NOR */
+ 1005, /* GL_NOOP */
+ 1826, /* GL_XOR */
+ 1067, /* GL_OR */
+ 1006, /* GL_NOR */
462, /* GL_EQUIV */
- 658, /* GL_INVERT */
- 1068, /* GL_OR_REVERSE */
+ 659, /* GL_INVERT */
+ 1070, /* GL_OR_REVERSE */
296, /* GL_COPY_INVERTED */
- 1067, /* GL_OR_INVERTED */
- 994, /* GL_NAND */
- 1400, /* GL_SET */
+ 1069, /* GL_OR_INVERTED */
+ 996, /* GL_NAND */
+ 1404, /* GL_SET */
459, /* GL_EMISSION */
- 1408, /* GL_SHININESS */
+ 1412, /* GL_SHININESS */
48, /* GL_AMBIENT_AND_DIFFUSE */
187, /* GL_COLOR_INDEXES */
- 944, /* GL_MODELVIEW */
- 1240, /* GL_PROJECTION */
- 1520, /* GL_TEXTURE */
+ 946, /* GL_MODELVIEW */
+ 1242, /* GL_PROJECTION */
+ 1524, /* GL_TEXTURE */
144, /* GL_COLOR */
342, /* GL_DEPTH */
- 1469, /* GL_STENCIL */
+ 1473, /* GL_STENCIL */
186, /* GL_COLOR_INDEX */
- 1488, /* GL_STENCIL_INDEX */
+ 1492, /* GL_STENCIL_INDEX */
353, /* GL_DEPTH_COMPONENT */
- 1282, /* GL_RED */
- 586, /* GL_GREEN */
+ 1286, /* GL_RED */
+ 587, /* GL_GREEN */
89, /* GL_BLUE */
31, /* GL_ALPHA */
- 1317, /* GL_RGB */
- 1336, /* GL_RGBA */
- 708, /* GL_LUMINANCE */
- 729, /* GL_LUMINANCE_ALPHA */
+ 1321, /* GL_RGB */
+ 1340, /* GL_RGBA */
+ 710, /* GL_LUMINANCE */
+ 731, /* GL_LUMINANCE_ALPHA */
72, /* GL_BITMAP */
- 1120, /* GL_POINT */
- 678, /* GL_LINE */
+ 1122, /* GL_POINT */
+ 680, /* GL_LINE */
477, /* GL_FILL */
- 1291, /* GL_RENDER */
+ 1295, /* GL_RENDER */
473, /* GL_FEEDBACK */
- 1394, /* GL_SELECT */
- 478, /* GL_FLAT */
- 1418, /* GL_SMOOTH */
- 659, /* GL_KEEP */
- 1311, /* GL_REPLACE */
- 613, /* GL_INCR */
+ 1398, /* GL_SELECT */
+ 479, /* GL_FLAT */
+ 1422, /* GL_SMOOTH */
+ 660, /* GL_KEEP */
+ 1315, /* GL_REPLACE */
+ 614, /* GL_INCR */
338, /* GL_DECR */
- 1756, /* GL_VENDOR */
- 1308, /* GL_RENDERER */
- 1757, /* GL_VERSION */
+ 1760, /* GL_VENDOR */
+ 1312, /* GL_RENDERER */
+ 1761, /* GL_VERSION */
466, /* GL_EXTENSIONS */
- 1359, /* GL_S */
- 1511, /* GL_T */
- 1271, /* GL_R */
- 1260, /* GL_Q */
- 980, /* GL_MODULATE */
+ 1363, /* GL_S */
+ 1515, /* GL_T */
+ 1275, /* GL_R */
+ 1263, /* GL_Q */
+ 982, /* GL_MODULATE */
337, /* GL_DECAL */
- 1656, /* GL_TEXTURE_ENV_MODE */
- 1655, /* GL_TEXTURE_ENV_COLOR */
- 1654, /* GL_TEXTURE_ENV */
+ 1660, /* GL_TEXTURE_ENV_MODE */
+ 1659, /* GL_TEXTURE_ENV_COLOR */
+ 1658, /* GL_TEXTURE_ENV */
467, /* GL_EYE_LINEAR */
- 1027, /* GL_OBJECT_LINEAR */
- 1444, /* GL_SPHERE_MAP */
- 1658, /* GL_TEXTURE_GEN_MODE */
- 1029, /* GL_OBJECT_PLANE */
+ 1029, /* GL_OBJECT_LINEAR */
+ 1448, /* GL_SPHERE_MAP */
+ 1662, /* GL_TEXTURE_GEN_MODE */
+ 1031, /* GL_OBJECT_PLANE */
468, /* GL_EYE_PLANE */
- 995, /* GL_NEAREST */
- 679, /* GL_LINEAR */
- 999, /* GL_NEAREST_MIPMAP_NEAREST */
- 684, /* GL_LINEAR_MIPMAP_NEAREST */
- 998, /* GL_NEAREST_MIPMAP_LINEAR */
- 683, /* GL_LINEAR_MIPMAP_LINEAR */
- 1679, /* GL_TEXTURE_MAG_FILTER */
- 1687, /* GL_TEXTURE_MIN_FILTER */
- 1701, /* GL_TEXTURE_WRAP_S */
- 1702, /* GL_TEXTURE_WRAP_T */
+ 997, /* GL_NEAREST */
+ 681, /* GL_LINEAR */
+ 1001, /* GL_NEAREST_MIPMAP_NEAREST */
+ 686, /* GL_LINEAR_MIPMAP_NEAREST */
+ 1000, /* GL_NEAREST_MIPMAP_LINEAR */
+ 685, /* GL_LINEAR_MIPMAP_LINEAR */
+ 1683, /* GL_TEXTURE_MAG_FILTER */
+ 1691, /* GL_TEXTURE_MIN_FILTER */
+ 1705, /* GL_TEXTURE_WRAP_S */
+ 1706, /* GL_TEXTURE_WRAP_T */
123, /* GL_CLAMP */
- 1310, /* GL_REPEAT */
- 1158, /* GL_POLYGON_OFFSET_UNITS */
- 1157, /* GL_POLYGON_OFFSET_POINT */
- 1156, /* GL_POLYGON_OFFSET_LINE */
- 1272, /* GL_R3_G3_B2 */
- 1753, /* GL_V2F */
- 1754, /* GL_V3F */
+ 1314, /* GL_REPEAT */
+ 1160, /* GL_POLYGON_OFFSET_UNITS */
+ 1159, /* GL_POLYGON_OFFSET_POINT */
+ 1158, /* GL_POLYGON_OFFSET_LINE */
+ 1276, /* GL_R3_G3_B2 */
+ 1757, /* GL_V2F */
+ 1758, /* GL_V3F */
120, /* GL_C4UB_V2F */
121, /* GL_C4UB_V3F */
118, /* GL_C3F_V3F */
- 992, /* GL_N3F_V3F */
+ 994, /* GL_N3F_V3F */
119, /* GL_C4F_N3F_V3F */
- 1516, /* GL_T2F_V3F */
- 1518, /* GL_T4F_V4F */
- 1514, /* GL_T2F_C4UB_V3F */
- 1512, /* GL_T2F_C3F_V3F */
- 1515, /* GL_T2F_N3F_V3F */
- 1513, /* GL_T2F_C4F_N3F_V3F */
- 1517, /* GL_T4F_C4F_N3F_V4F */
+ 1520, /* GL_T2F_V3F */
+ 1522, /* GL_T4F_V4F */
+ 1518, /* GL_T2F_C4UB_V3F */
+ 1516, /* GL_T2F_C3F_V3F */
+ 1519, /* GL_T2F_N3F_V3F */
+ 1517, /* GL_T2F_C4F_N3F_V3F */
+ 1521, /* GL_T4F_C4F_N3F_V4F */
136, /* GL_CLIP_PLANE0 */
137, /* GL_CLIP_PLANE1 */
138, /* GL_CLIP_PLANE2 */
139, /* GL_CLIP_PLANE3 */
140, /* GL_CLIP_PLANE4 */
141, /* GL_CLIP_PLANE5 */
- 663, /* GL_LIGHT0 */
- 664, /* GL_LIGHT1 */
- 665, /* GL_LIGHT2 */
- 666, /* GL_LIGHT3 */
- 667, /* GL_LIGHT4 */
- 668, /* GL_LIGHT5 */
- 669, /* GL_LIGHT6 */
- 670, /* GL_LIGHT7 */
- 590, /* GL_HINT_BIT */
+ 665, /* GL_LIGHT0 */
+ 666, /* GL_LIGHT1 */
+ 667, /* GL_LIGHT2 */
+ 668, /* GL_LIGHT3 */
+ 669, /* GL_LIGHT4 */
+ 670, /* GL_LIGHT5 */
+ 671, /* GL_LIGHT6 */
+ 672, /* GL_LIGHT7 */
+ 591, /* GL_HINT_BIT */
273, /* GL_CONSTANT_COLOR */
- 1039, /* GL_ONE_MINUS_CONSTANT_COLOR */
+ 1041, /* GL_ONE_MINUS_CONSTANT_COLOR */
268, /* GL_CONSTANT_ALPHA */
- 1037, /* GL_ONE_MINUS_CONSTANT_ALPHA */
+ 1039, /* GL_ONE_MINUS_CONSTANT_ALPHA */
75, /* GL_BLEND_COLOR */
- 574, /* GL_FUNC_ADD */
- 928, /* GL_MIN */
- 839, /* GL_MAX */
+ 575, /* GL_FUNC_ADD */
+ 930, /* GL_MIN */
+ 841, /* GL_MAX */
80, /* GL_BLEND_EQUATION */
- 578, /* GL_FUNC_SUBTRACT */
- 576, /* GL_FUNC_REVERSE_SUBTRACT */
+ 579, /* GL_FUNC_SUBTRACT */
+ 577, /* GL_FUNC_REVERSE_SUBTRACT */
276, /* GL_CONVOLUTION_1D */
277, /* GL_CONVOLUTION_2D */
- 1397, /* GL_SEPARABLE_2D */
+ 1401, /* GL_SEPARABLE_2D */
280, /* GL_CONVOLUTION_BORDER_MODE */
284, /* GL_CONVOLUTION_FILTER_SCALE */
282, /* GL_CONVOLUTION_FILTER_BIAS */
- 1283, /* GL_REDUCE */
+ 1287, /* GL_REDUCE */
286, /* GL_CONVOLUTION_FORMAT */
290, /* GL_CONVOLUTION_WIDTH */
288, /* GL_CONVOLUTION_HEIGHT */
- 854, /* GL_MAX_CONVOLUTION_WIDTH */
- 852, /* GL_MAX_CONVOLUTION_HEIGHT */
- 1197, /* GL_POST_CONVOLUTION_RED_SCALE */
- 1193, /* GL_POST_CONVOLUTION_GREEN_SCALE */
- 1188, /* GL_POST_CONVOLUTION_BLUE_SCALE */
- 1184, /* GL_POST_CONVOLUTION_ALPHA_SCALE */
- 1195, /* GL_POST_CONVOLUTION_RED_BIAS */
- 1191, /* GL_POST_CONVOLUTION_GREEN_BIAS */
- 1186, /* GL_POST_CONVOLUTION_BLUE_BIAS */
- 1182, /* GL_POST_CONVOLUTION_ALPHA_BIAS */
- 591, /* GL_HISTOGRAM */
- 1244, /* GL_PROXY_HISTOGRAM */
- 607, /* GL_HISTOGRAM_WIDTH */
- 597, /* GL_HISTOGRAM_FORMAT */
- 603, /* GL_HISTOGRAM_RED_SIZE */
- 599, /* GL_HISTOGRAM_GREEN_SIZE */
- 594, /* GL_HISTOGRAM_BLUE_SIZE */
- 592, /* GL_HISTOGRAM_ALPHA_SIZE */
- 601, /* GL_HISTOGRAM_LUMINANCE_SIZE */
- 605, /* GL_HISTOGRAM_SINK */
- 929, /* GL_MINMAX */
- 931, /* GL_MINMAX_FORMAT */
- 933, /* GL_MINMAX_SINK */
- 1519, /* GL_TABLE_TOO_LARGE_EXT */
- 1732, /* GL_UNSIGNED_BYTE_3_3_2 */
- 1743, /* GL_UNSIGNED_SHORT_4_4_4_4 */
- 1745, /* GL_UNSIGNED_SHORT_5_5_5_1 */
- 1738, /* GL_UNSIGNED_INT_8_8_8_8 */
- 1734, /* GL_UNSIGNED_INT_10_10_10_2 */
- 1155, /* GL_POLYGON_OFFSET_FILL */
- 1154, /* GL_POLYGON_OFFSET_FACTOR */
- 1153, /* GL_POLYGON_OFFSET_BIAS */
- 1314, /* GL_RESCALE_NORMAL */
+ 856, /* GL_MAX_CONVOLUTION_WIDTH */
+ 854, /* GL_MAX_CONVOLUTION_HEIGHT */
+ 1199, /* GL_POST_CONVOLUTION_RED_SCALE */
+ 1195, /* GL_POST_CONVOLUTION_GREEN_SCALE */
+ 1190, /* GL_POST_CONVOLUTION_BLUE_SCALE */
+ 1186, /* GL_POST_CONVOLUTION_ALPHA_SCALE */
+ 1197, /* GL_POST_CONVOLUTION_RED_BIAS */
+ 1193, /* GL_POST_CONVOLUTION_GREEN_BIAS */
+ 1188, /* GL_POST_CONVOLUTION_BLUE_BIAS */
+ 1184, /* GL_POST_CONVOLUTION_ALPHA_BIAS */
+ 592, /* GL_HISTOGRAM */
+ 1247, /* GL_PROXY_HISTOGRAM */
+ 608, /* GL_HISTOGRAM_WIDTH */
+ 598, /* GL_HISTOGRAM_FORMAT */
+ 604, /* GL_HISTOGRAM_RED_SIZE */
+ 600, /* GL_HISTOGRAM_GREEN_SIZE */
+ 595, /* GL_HISTOGRAM_BLUE_SIZE */
+ 593, /* GL_HISTOGRAM_ALPHA_SIZE */
+ 602, /* GL_HISTOGRAM_LUMINANCE_SIZE */
+ 606, /* GL_HISTOGRAM_SINK */
+ 931, /* GL_MINMAX */
+ 933, /* GL_MINMAX_FORMAT */
+ 935, /* GL_MINMAX_SINK */
+ 1523, /* GL_TABLE_TOO_LARGE_EXT */
+ 1736, /* GL_UNSIGNED_BYTE_3_3_2 */
+ 1747, /* GL_UNSIGNED_SHORT_4_4_4_4 */
+ 1749, /* GL_UNSIGNED_SHORT_5_5_5_1 */
+ 1742, /* GL_UNSIGNED_INT_8_8_8_8 */
+ 1738, /* GL_UNSIGNED_INT_10_10_10_2 */
+ 1157, /* GL_POLYGON_OFFSET_FILL */
+ 1156, /* GL_POLYGON_OFFSET_FACTOR */
+ 1155, /* GL_POLYGON_OFFSET_BIAS */
+ 1318, /* GL_RESCALE_NORMAL */
36, /* GL_ALPHA4 */
38, /* GL_ALPHA8 */
32, /* GL_ALPHA12 */
34, /* GL_ALPHA16 */
- 719, /* GL_LUMINANCE4 */
- 725, /* GL_LUMINANCE8 */
- 709, /* GL_LUMINANCE12 */
- 715, /* GL_LUMINANCE16 */
- 720, /* GL_LUMINANCE4_ALPHA4 */
- 723, /* GL_LUMINANCE6_ALPHA2 */
- 726, /* GL_LUMINANCE8_ALPHA8 */
- 712, /* GL_LUMINANCE12_ALPHA4 */
- 710, /* GL_LUMINANCE12_ALPHA12 */
- 716, /* GL_LUMINANCE16_ALPHA16 */
- 632, /* GL_INTENSITY */
- 637, /* GL_INTENSITY4 */
- 639, /* GL_INTENSITY8 */
- 633, /* GL_INTENSITY12 */
- 635, /* GL_INTENSITY16 */
- 1326, /* GL_RGB2_EXT */
- 1327, /* GL_RGB4 */
- 1330, /* GL_RGB5 */
- 1334, /* GL_RGB8 */
- 1318, /* GL_RGB10 */
- 1322, /* GL_RGB12 */
- 1324, /* GL_RGB16 */
- 1341, /* GL_RGBA2 */
- 1343, /* GL_RGBA4 */
- 1331, /* GL_RGB5_A1 */
- 1347, /* GL_RGBA8 */
- 1319, /* GL_RGB10_A2 */
- 1337, /* GL_RGBA12 */
- 1339, /* GL_RGBA16 */
- 1692, /* GL_TEXTURE_RED_SIZE */
- 1664, /* GL_TEXTURE_GREEN_SIZE */
- 1603, /* GL_TEXTURE_BLUE_SIZE */
- 1590, /* GL_TEXTURE_ALPHA_SIZE */
- 1677, /* GL_TEXTURE_LUMINANCE_SIZE */
- 1668, /* GL_TEXTURE_INTENSITY_SIZE */
- 1312, /* GL_REPLACE_EXT */
- 1248, /* GL_PROXY_TEXTURE_1D */
- 1251, /* GL_PROXY_TEXTURE_2D */
- 1697, /* GL_TEXTURE_TOO_LARGE_EXT */
- 1689, /* GL_TEXTURE_PRIORITY */
- 1694, /* GL_TEXTURE_RESIDENT */
- 1593, /* GL_TEXTURE_BINDING_1D */
- 1595, /* GL_TEXTURE_BINDING_2D */
- 1597, /* GL_TEXTURE_BINDING_3D */
- 1075, /* GL_PACK_SKIP_IMAGES */
- 1071, /* GL_PACK_IMAGE_HEIGHT */
- 1726, /* GL_UNPACK_SKIP_IMAGES */
- 1723, /* GL_UNPACK_IMAGE_HEIGHT */
- 1589, /* GL_TEXTURE_3D */
- 1254, /* GL_PROXY_TEXTURE_3D */
- 1651, /* GL_TEXTURE_DEPTH */
- 1700, /* GL_TEXTURE_WRAP_R */
- 840, /* GL_MAX_3D_TEXTURE_SIZE */
- 1758, /* GL_VERTEX_ARRAY */
- 1006, /* GL_NORMAL_ARRAY */
+ 721, /* GL_LUMINANCE4 */
+ 727, /* GL_LUMINANCE8 */
+ 711, /* GL_LUMINANCE12 */
+ 717, /* GL_LUMINANCE16 */
+ 722, /* GL_LUMINANCE4_ALPHA4 */
+ 725, /* GL_LUMINANCE6_ALPHA2 */
+ 728, /* GL_LUMINANCE8_ALPHA8 */
+ 714, /* GL_LUMINANCE12_ALPHA4 */
+ 712, /* GL_LUMINANCE12_ALPHA12 */
+ 718, /* GL_LUMINANCE16_ALPHA16 */
+ 633, /* GL_INTENSITY */
+ 638, /* GL_INTENSITY4 */
+ 640, /* GL_INTENSITY8 */
+ 634, /* GL_INTENSITY12 */
+ 636, /* GL_INTENSITY16 */
+ 1330, /* GL_RGB2_EXT */
+ 1331, /* GL_RGB4 */
+ 1334, /* GL_RGB5 */
+ 1338, /* GL_RGB8 */
+ 1322, /* GL_RGB10 */
+ 1326, /* GL_RGB12 */
+ 1328, /* GL_RGB16 */
+ 1345, /* GL_RGBA2 */
+ 1347, /* GL_RGBA4 */
+ 1335, /* GL_RGB5_A1 */
+ 1351, /* GL_RGBA8 */
+ 1323, /* GL_RGB10_A2 */
+ 1341, /* GL_RGBA12 */
+ 1343, /* GL_RGBA16 */
+ 1696, /* GL_TEXTURE_RED_SIZE */
+ 1668, /* GL_TEXTURE_GREEN_SIZE */
+ 1607, /* GL_TEXTURE_BLUE_SIZE */
+ 1594, /* GL_TEXTURE_ALPHA_SIZE */
+ 1681, /* GL_TEXTURE_LUMINANCE_SIZE */
+ 1672, /* GL_TEXTURE_INTENSITY_SIZE */
+ 1316, /* GL_REPLACE_EXT */
+ 1251, /* GL_PROXY_TEXTURE_1D */
+ 1254, /* GL_PROXY_TEXTURE_2D */
+ 1701, /* GL_TEXTURE_TOO_LARGE_EXT */
+ 1693, /* GL_TEXTURE_PRIORITY */
+ 1698, /* GL_TEXTURE_RESIDENT */
+ 1597, /* GL_TEXTURE_BINDING_1D */
+ 1599, /* GL_TEXTURE_BINDING_2D */
+ 1601, /* GL_TEXTURE_BINDING_3D */
+ 1077, /* GL_PACK_SKIP_IMAGES */
+ 1073, /* GL_PACK_IMAGE_HEIGHT */
+ 1730, /* GL_UNPACK_SKIP_IMAGES */
+ 1727, /* GL_UNPACK_IMAGE_HEIGHT */
+ 1593, /* GL_TEXTURE_3D */
+ 1257, /* GL_PROXY_TEXTURE_3D */
+ 1655, /* GL_TEXTURE_DEPTH */
+ 1704, /* GL_TEXTURE_WRAP_R */
+ 842, /* GL_MAX_3D_TEXTURE_SIZE */
+ 1762, /* GL_VERTEX_ARRAY */
+ 1008, /* GL_NORMAL_ARRAY */
145, /* GL_COLOR_ARRAY */
- 617, /* GL_INDEX_ARRAY */
- 1630, /* GL_TEXTURE_COORD_ARRAY */
+ 618, /* GL_INDEX_ARRAY */
+ 1634, /* GL_TEXTURE_COORD_ARRAY */
451, /* GL_EDGE_FLAG_ARRAY */
- 1763, /* GL_VERTEX_ARRAY_SIZE */
- 1765, /* GL_VERTEX_ARRAY_TYPE */
- 1764, /* GL_VERTEX_ARRAY_STRIDE */
- 1011, /* GL_NORMAL_ARRAY_TYPE */
- 1010, /* GL_NORMAL_ARRAY_STRIDE */
+ 1767, /* GL_VERTEX_ARRAY_SIZE */
+ 1769, /* GL_VERTEX_ARRAY_TYPE */
+ 1768, /* GL_VERTEX_ARRAY_STRIDE */
+ 1013, /* GL_NORMAL_ARRAY_TYPE */
+ 1012, /* GL_NORMAL_ARRAY_STRIDE */
149, /* GL_COLOR_ARRAY_SIZE */
151, /* GL_COLOR_ARRAY_TYPE */
150, /* GL_COLOR_ARRAY_STRIDE */
- 622, /* GL_INDEX_ARRAY_TYPE */
- 621, /* GL_INDEX_ARRAY_STRIDE */
- 1634, /* GL_TEXTURE_COORD_ARRAY_SIZE */
- 1636, /* GL_TEXTURE_COORD_ARRAY_TYPE */
- 1635, /* GL_TEXTURE_COORD_ARRAY_STRIDE */
+ 623, /* GL_INDEX_ARRAY_TYPE */
+ 622, /* GL_INDEX_ARRAY_STRIDE */
+ 1638, /* GL_TEXTURE_COORD_ARRAY_SIZE */
+ 1640, /* GL_TEXTURE_COORD_ARRAY_TYPE */
+ 1639, /* GL_TEXTURE_COORD_ARRAY_STRIDE */
455, /* GL_EDGE_FLAG_ARRAY_STRIDE */
- 1762, /* GL_VERTEX_ARRAY_POINTER */
- 1009, /* GL_NORMAL_ARRAY_POINTER */
+ 1766, /* GL_VERTEX_ARRAY_POINTER */
+ 1011, /* GL_NORMAL_ARRAY_POINTER */
148, /* GL_COLOR_ARRAY_POINTER */
- 620, /* GL_INDEX_ARRAY_POINTER */
- 1633, /* GL_TEXTURE_COORD_ARRAY_POINTER */
+ 621, /* GL_INDEX_ARRAY_POINTER */
+ 1637, /* GL_TEXTURE_COORD_ARRAY_POINTER */
454, /* GL_EDGE_FLAG_ARRAY_POINTER */
- 985, /* GL_MULTISAMPLE */
- 1371, /* GL_SAMPLE_ALPHA_TO_COVERAGE */
- 1373, /* GL_SAMPLE_ALPHA_TO_ONE */
- 1378, /* GL_SAMPLE_COVERAGE */
- 1375, /* GL_SAMPLE_BUFFERS */
- 1366, /* GL_SAMPLES */
- 1382, /* GL_SAMPLE_COVERAGE_VALUE */
- 1380, /* GL_SAMPLE_COVERAGE_INVERT */
+ 987, /* GL_MULTISAMPLE */
+ 1375, /* GL_SAMPLE_ALPHA_TO_COVERAGE */
+ 1377, /* GL_SAMPLE_ALPHA_TO_ONE */
+ 1382, /* GL_SAMPLE_COVERAGE */
+ 1379, /* GL_SAMPLE_BUFFERS */
+ 1370, /* GL_SAMPLES */
+ 1386, /* GL_SAMPLE_COVERAGE_VALUE */
+ 1384, /* GL_SAMPLE_COVERAGE_INVERT */
192, /* GL_COLOR_MATRIX */
194, /* GL_COLOR_MATRIX_STACK_DEPTH */
- 848, /* GL_MAX_COLOR_MATRIX_STACK_DEPTH */
- 1180, /* GL_POST_COLOR_MATRIX_RED_SCALE */
- 1176, /* GL_POST_COLOR_MATRIX_GREEN_SCALE */
- 1171, /* GL_POST_COLOR_MATRIX_BLUE_SCALE */
- 1167, /* GL_POST_COLOR_MATRIX_ALPHA_SCALE */
- 1178, /* GL_POST_COLOR_MATRIX_RED_BIAS */
- 1174, /* GL_POST_COLOR_MATRIX_GREEN_BIAS */
- 1169, /* GL_POST_COLOR_MATRIX_BLUE_BIAS */
- 1165, /* GL_POST_COLOR_MATRIX_ALPHA_BIAS */
- 1613, /* GL_TEXTURE_COLOR_TABLE_SGI */
- 1255, /* GL_PROXY_TEXTURE_COLOR_TABLE_SGI */
- 1615, /* GL_TEXTURE_COMPARE_FAIL_VALUE_ARB */
+ 850, /* GL_MAX_COLOR_MATRIX_STACK_DEPTH */
+ 1182, /* GL_POST_COLOR_MATRIX_RED_SCALE */
+ 1178, /* GL_POST_COLOR_MATRIX_GREEN_SCALE */
+ 1173, /* GL_POST_COLOR_MATRIX_BLUE_SCALE */
+ 1169, /* GL_POST_COLOR_MATRIX_ALPHA_SCALE */
+ 1180, /* GL_POST_COLOR_MATRIX_RED_BIAS */
+ 1176, /* GL_POST_COLOR_MATRIX_GREEN_BIAS */
+ 1171, /* GL_POST_COLOR_MATRIX_BLUE_BIAS */
+ 1167, /* GL_POST_COLOR_MATRIX_ALPHA_BIAS */
+ 1617, /* GL_TEXTURE_COLOR_TABLE_SGI */
+ 1258, /* GL_PROXY_TEXTURE_COLOR_TABLE_SGI */
+ 1619, /* GL_TEXTURE_COMPARE_FAIL_VALUE_ARB */
79, /* GL_BLEND_DST_RGB */
88, /* GL_BLEND_SRC_RGB */
78, /* GL_BLEND_DST_ALPHA */
87, /* GL_BLEND_SRC_ALPHA */
198, /* GL_COLOR_TABLE */
- 1190, /* GL_POST_CONVOLUTION_COLOR_TABLE */
- 1173, /* GL_POST_COLOR_MATRIX_COLOR_TABLE */
- 1243, /* GL_PROXY_COLOR_TABLE */
- 1247, /* GL_PROXY_POST_CONVOLUTION_COLOR_TABLE */
- 1246, /* GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE */
+ 1192, /* GL_POST_CONVOLUTION_COLOR_TABLE */
+ 1175, /* GL_POST_COLOR_MATRIX_COLOR_TABLE */
+ 1246, /* GL_PROXY_COLOR_TABLE */
+ 1250, /* GL_PROXY_POST_CONVOLUTION_COLOR_TABLE */
+ 1249, /* GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE */
222, /* GL_COLOR_TABLE_SCALE */
202, /* GL_COLOR_TABLE_BIAS */
207, /* GL_COLOR_TABLE_FORMAT */
@@ -4311,374 +4319,374 @@ static const unsigned reduced_enums[1321] =
213, /* GL_COLOR_TABLE_INTENSITY_SIZE */
70, /* GL_BGR */
71, /* GL_BGRA */
- 862, /* GL_MAX_ELEMENTS_VERTICES */
- 861, /* GL_MAX_ELEMENTS_INDICES */
- 1667, /* GL_TEXTURE_INDEX_SIZE_EXT */
+ 864, /* GL_MAX_ELEMENTS_VERTICES */
+ 863, /* GL_MAX_ELEMENTS_INDICES */
+ 1671, /* GL_TEXTURE_INDEX_SIZE_EXT */
142, /* GL_CLIP_VOLUME_CLIPPING_HINT_EXT */
- 1137, /* GL_POINT_SIZE_MIN */
- 1133, /* GL_POINT_SIZE_MAX */
- 1127, /* GL_POINT_FADE_THRESHOLD_SIZE */
- 1123, /* GL_POINT_DISTANCE_ATTENUATION */
+ 1139, /* GL_POINT_SIZE_MIN */
+ 1135, /* GL_POINT_SIZE_MAX */
+ 1129, /* GL_POINT_FADE_THRESHOLD_SIZE */
+ 1125, /* GL_POINT_DISTANCE_ATTENUATION */
124, /* GL_CLAMP_TO_BORDER */
127, /* GL_CLAMP_TO_EDGE */
- 1688, /* GL_TEXTURE_MIN_LOD */
- 1686, /* GL_TEXTURE_MAX_LOD */
- 1592, /* GL_TEXTURE_BASE_LEVEL */
- 1685, /* GL_TEXTURE_MAX_LEVEL */
- 610, /* GL_IGNORE_BORDER_HP */
+ 1692, /* GL_TEXTURE_MIN_LOD */
+ 1690, /* GL_TEXTURE_MAX_LOD */
+ 1596, /* GL_TEXTURE_BASE_LEVEL */
+ 1689, /* GL_TEXTURE_MAX_LEVEL */
+ 611, /* GL_IGNORE_BORDER_HP */
272, /* GL_CONSTANT_BORDER_HP */
- 1313, /* GL_REPLICATE_BORDER_HP */
+ 1317, /* GL_REPLICATE_BORDER_HP */
278, /* GL_CONVOLUTION_BORDER_COLOR */
- 1034, /* GL_OCCLUSION_TEST_HP */
- 1035, /* GL_OCCLUSION_TEST_RESULT_HP */
- 681, /* GL_LINEAR_CLIPMAP_LINEAR_SGIX */
- 1607, /* GL_TEXTURE_CLIPMAP_CENTER_SGIX */
- 1609, /* GL_TEXTURE_CLIPMAP_FRAME_SGIX */
- 1611, /* GL_TEXTURE_CLIPMAP_OFFSET_SGIX */
- 1612, /* GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX */
- 1610, /* GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX */
- 1608, /* GL_TEXTURE_CLIPMAP_DEPTH_SGIX */
- 844, /* GL_MAX_CLIPMAP_DEPTH_SGIX */
- 845, /* GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX */
- 1200, /* GL_POST_TEXTURE_FILTER_BIAS_SGIX */
- 1202, /* GL_POST_TEXTURE_FILTER_SCALE_SGIX */
- 1199, /* GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX */
- 1201, /* GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX */
- 1675, /* GL_TEXTURE_LOD_BIAS_S_SGIX */
- 1676, /* GL_TEXTURE_LOD_BIAS_T_SGIX */
- 1674, /* GL_TEXTURE_LOD_BIAS_R_SGIX */
- 580, /* GL_GENERATE_MIPMAP */
- 581, /* GL_GENERATE_MIPMAP_HINT */
- 522, /* GL_FOG_OFFSET_SGIX */
- 523, /* GL_FOG_OFFSET_VALUE_SGIX */
- 1621, /* GL_TEXTURE_COMPARE_SGIX */
- 1620, /* GL_TEXTURE_COMPARE_OPERATOR_SGIX */
- 1671, /* GL_TEXTURE_LEQUAL_R_SGIX */
- 1663, /* GL_TEXTURE_GEQUAL_R_SGIX */
+ 1036, /* GL_OCCLUSION_TEST_HP */
+ 1037, /* GL_OCCLUSION_TEST_RESULT_HP */
+ 683, /* GL_LINEAR_CLIPMAP_LINEAR_SGIX */
+ 1611, /* GL_TEXTURE_CLIPMAP_CENTER_SGIX */
+ 1613, /* GL_TEXTURE_CLIPMAP_FRAME_SGIX */
+ 1615, /* GL_TEXTURE_CLIPMAP_OFFSET_SGIX */
+ 1616, /* GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX */
+ 1614, /* GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX */
+ 1612, /* GL_TEXTURE_CLIPMAP_DEPTH_SGIX */
+ 846, /* GL_MAX_CLIPMAP_DEPTH_SGIX */
+ 847, /* GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX */
+ 1202, /* GL_POST_TEXTURE_FILTER_BIAS_SGIX */
+ 1204, /* GL_POST_TEXTURE_FILTER_SCALE_SGIX */
+ 1201, /* GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX */
+ 1203, /* GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX */
+ 1679, /* GL_TEXTURE_LOD_BIAS_S_SGIX */
+ 1680, /* GL_TEXTURE_LOD_BIAS_T_SGIX */
+ 1678, /* GL_TEXTURE_LOD_BIAS_R_SGIX */
+ 581, /* GL_GENERATE_MIPMAP */
+ 582, /* GL_GENERATE_MIPMAP_HINT */
+ 523, /* GL_FOG_OFFSET_SGIX */
+ 524, /* GL_FOG_OFFSET_VALUE_SGIX */
+ 1625, /* GL_TEXTURE_COMPARE_SGIX */
+ 1624, /* GL_TEXTURE_COMPARE_OPERATOR_SGIX */
+ 1675, /* GL_TEXTURE_LEQUAL_R_SGIX */
+ 1667, /* GL_TEXTURE_GEQUAL_R_SGIX */
354, /* GL_DEPTH_COMPONENT16 */
357, /* GL_DEPTH_COMPONENT24 */
360, /* GL_DEPTH_COMPONENT32 */
302, /* GL_CULL_VERTEX_EXT */
304, /* GL_CULL_VERTEX_OBJECT_POSITION_EXT */
303, /* GL_CULL_VERTEX_EYE_POSITION_EXT */
- 1819, /* GL_WRAP_BORDER_SUN */
- 1614, /* GL_TEXTURE_COLOR_WRITEMASK_SGIS */
- 674, /* GL_LIGHT_MODEL_COLOR_CONTROL */
- 1411, /* GL_SINGLE_COLOR */
- 1398, /* GL_SEPARATE_SPECULAR_COLOR */
- 1407, /* GL_SHARED_TEXTURE_PALETTE_EXT */
- 533, /* GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
- 534, /* GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
- 541, /* GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
- 536, /* GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
- 532, /* GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
- 531, /* GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
- 535, /* GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
- 542, /* GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
- 553, /* GL_FRAMEBUFFER_DEFAULT */
- 566, /* GL_FRAMEBUFFER_UNDEFINED */
+ 1823, /* GL_WRAP_BORDER_SUN */
+ 1618, /* GL_TEXTURE_COLOR_WRITEMASK_SGIS */
+ 676, /* GL_LIGHT_MODEL_COLOR_CONTROL */
+ 1415, /* GL_SINGLE_COLOR */
+ 1402, /* GL_SEPARATE_SPECULAR_COLOR */
+ 1411, /* GL_SHARED_TEXTURE_PALETTE_EXT */
+ 534, /* GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
+ 535, /* GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
+ 542, /* GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
+ 537, /* GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
+ 533, /* GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
+ 532, /* GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
+ 536, /* GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
+ 543, /* GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
+ 554, /* GL_FRAMEBUFFER_DEFAULT */
+ 567, /* GL_FRAMEBUFFER_UNDEFINED */
367, /* GL_DEPTH_STENCIL_ATTACHMENT */
- 616, /* GL_INDEX */
- 1731, /* GL_UNSIGNED_BYTE_2_3_3_REV */
- 1746, /* GL_UNSIGNED_SHORT_5_6_5 */
- 1747, /* GL_UNSIGNED_SHORT_5_6_5_REV */
- 1744, /* GL_UNSIGNED_SHORT_4_4_4_4_REV */
- 1742, /* GL_UNSIGNED_SHORT_1_5_5_5_REV */
- 1739, /* GL_UNSIGNED_INT_8_8_8_8_REV */
- 1737, /* GL_UNSIGNED_INT_2_10_10_10_REV */
- 1683, /* GL_TEXTURE_MAX_CLAMP_S_SGIX */
- 1684, /* GL_TEXTURE_MAX_CLAMP_T_SGIX */
- 1682, /* GL_TEXTURE_MAX_CLAMP_R_SGIX */
- 936, /* GL_MIRRORED_REPEAT */
- 1354, /* GL_RGB_S3TC */
- 1329, /* GL_RGB4_S3TC */
- 1352, /* GL_RGBA_S3TC */
- 1346, /* GL_RGBA4_S3TC */
- 1350, /* GL_RGBA_DXT5_S3TC */
- 1344, /* GL_RGBA4_DXT5_S3TC */
+ 617, /* GL_INDEX */
+ 1735, /* GL_UNSIGNED_BYTE_2_3_3_REV */
+ 1750, /* GL_UNSIGNED_SHORT_5_6_5 */
+ 1751, /* GL_UNSIGNED_SHORT_5_6_5_REV */
+ 1748, /* GL_UNSIGNED_SHORT_4_4_4_4_REV */
+ 1746, /* GL_UNSIGNED_SHORT_1_5_5_5_REV */
+ 1743, /* GL_UNSIGNED_INT_8_8_8_8_REV */
+ 1741, /* GL_UNSIGNED_INT_2_10_10_10_REV */
+ 1687, /* GL_TEXTURE_MAX_CLAMP_S_SGIX */
+ 1688, /* GL_TEXTURE_MAX_CLAMP_T_SGIX */
+ 1686, /* GL_TEXTURE_MAX_CLAMP_R_SGIX */
+ 938, /* GL_MIRRORED_REPEAT */
+ 1358, /* GL_RGB_S3TC */
+ 1333, /* GL_RGB4_S3TC */
+ 1356, /* GL_RGBA_S3TC */
+ 1350, /* GL_RGBA4_S3TC */
+ 1354, /* GL_RGBA_DXT5_S3TC */
+ 1348, /* GL_RGBA4_DXT5_S3TC */
261, /* GL_COMPRESSED_RGB_S3TC_DXT1_EXT */
256, /* GL_COMPRESSED_RGBA_S3TC_DXT1_EXT */
257, /* GL_COMPRESSED_RGBA_S3TC_DXT3_EXT */
258, /* GL_COMPRESSED_RGBA_S3TC_DXT5_EXT */
- 997, /* GL_NEAREST_CLIPMAP_NEAREST_SGIX */
- 996, /* GL_NEAREST_CLIPMAP_LINEAR_SGIX */
- 682, /* GL_LINEAR_CLIPMAP_NEAREST_SGIX */
- 509, /* GL_FOG_COORDINATE_SOURCE */
- 501, /* GL_FOG_COORD */
- 525, /* GL_FRAGMENT_DEPTH */
+ 999, /* GL_NEAREST_CLIPMAP_NEAREST_SGIX */
+ 998, /* GL_NEAREST_CLIPMAP_LINEAR_SGIX */
+ 684, /* GL_LINEAR_CLIPMAP_NEAREST_SGIX */
+ 510, /* GL_FOG_COORDINATE_SOURCE */
+ 502, /* GL_FOG_COORD */
+ 526, /* GL_FRAGMENT_DEPTH */
308, /* GL_CURRENT_FOG_COORD */
- 508, /* GL_FOG_COORDINATE_ARRAY_TYPE */
- 507, /* GL_FOG_COORDINATE_ARRAY_STRIDE */
- 506, /* GL_FOG_COORDINATE_ARRAY_POINTER */
- 503, /* GL_FOG_COORDINATE_ARRAY */
+ 509, /* GL_FOG_COORDINATE_ARRAY_TYPE */
+ 508, /* GL_FOG_COORDINATE_ARRAY_STRIDE */
+ 507, /* GL_FOG_COORDINATE_ARRAY_POINTER */
+ 504, /* GL_FOG_COORDINATE_ARRAY */
196, /* GL_COLOR_SUM */
328, /* GL_CURRENT_SECONDARY_COLOR */
- 1391, /* GL_SECONDARY_COLOR_ARRAY_SIZE */
- 1393, /* GL_SECONDARY_COLOR_ARRAY_TYPE */
- 1392, /* GL_SECONDARY_COLOR_ARRAY_STRIDE */
- 1390, /* GL_SECONDARY_COLOR_ARRAY_POINTER */
- 1387, /* GL_SECONDARY_COLOR_ARRAY */
+ 1395, /* GL_SECONDARY_COLOR_ARRAY_SIZE */
+ 1397, /* GL_SECONDARY_COLOR_ARRAY_TYPE */
+ 1396, /* GL_SECONDARY_COLOR_ARRAY_STRIDE */
+ 1394, /* GL_SECONDARY_COLOR_ARRAY_POINTER */
+ 1391, /* GL_SECONDARY_COLOR_ARRAY */
326, /* GL_CURRENT_RASTER_SECONDARY_COLOR */
28, /* GL_ALIASED_POINT_SIZE_RANGE */
27, /* GL_ALIASED_LINE_WIDTH_RANGE */
- 1521, /* GL_TEXTURE0 */
- 1523, /* GL_TEXTURE1 */
- 1545, /* GL_TEXTURE2 */
- 1567, /* GL_TEXTURE3 */
- 1573, /* GL_TEXTURE4 */
- 1575, /* GL_TEXTURE5 */
- 1577, /* GL_TEXTURE6 */
- 1579, /* GL_TEXTURE7 */
- 1581, /* GL_TEXTURE8 */
- 1583, /* GL_TEXTURE9 */
- 1524, /* GL_TEXTURE10 */
- 1526, /* GL_TEXTURE11 */
- 1528, /* GL_TEXTURE12 */
- 1530, /* GL_TEXTURE13 */
- 1532, /* GL_TEXTURE14 */
- 1534, /* GL_TEXTURE15 */
- 1536, /* GL_TEXTURE16 */
- 1538, /* GL_TEXTURE17 */
- 1540, /* GL_TEXTURE18 */
- 1542, /* GL_TEXTURE19 */
- 1546, /* GL_TEXTURE20 */
- 1548, /* GL_TEXTURE21 */
- 1550, /* GL_TEXTURE22 */
- 1552, /* GL_TEXTURE23 */
- 1554, /* GL_TEXTURE24 */
- 1556, /* GL_TEXTURE25 */
- 1558, /* GL_TEXTURE26 */
- 1560, /* GL_TEXTURE27 */
- 1562, /* GL_TEXTURE28 */
- 1564, /* GL_TEXTURE29 */
- 1568, /* GL_TEXTURE30 */
- 1570, /* GL_TEXTURE31 */
+ 1525, /* GL_TEXTURE0 */
+ 1527, /* GL_TEXTURE1 */
+ 1549, /* GL_TEXTURE2 */
+ 1571, /* GL_TEXTURE3 */
+ 1577, /* GL_TEXTURE4 */
+ 1579, /* GL_TEXTURE5 */
+ 1581, /* GL_TEXTURE6 */
+ 1583, /* GL_TEXTURE7 */
+ 1585, /* GL_TEXTURE8 */
+ 1587, /* GL_TEXTURE9 */
+ 1528, /* GL_TEXTURE10 */
+ 1530, /* GL_TEXTURE11 */
+ 1532, /* GL_TEXTURE12 */
+ 1534, /* GL_TEXTURE13 */
+ 1536, /* GL_TEXTURE14 */
+ 1538, /* GL_TEXTURE15 */
+ 1540, /* GL_TEXTURE16 */
+ 1542, /* GL_TEXTURE17 */
+ 1544, /* GL_TEXTURE18 */
+ 1546, /* GL_TEXTURE19 */
+ 1550, /* GL_TEXTURE20 */
+ 1552, /* GL_TEXTURE21 */
+ 1554, /* GL_TEXTURE22 */
+ 1556, /* GL_TEXTURE23 */
+ 1558, /* GL_TEXTURE24 */
+ 1560, /* GL_TEXTURE25 */
+ 1562, /* GL_TEXTURE26 */
+ 1564, /* GL_TEXTURE27 */
+ 1566, /* GL_TEXTURE28 */
+ 1568, /* GL_TEXTURE29 */
+ 1572, /* GL_TEXTURE30 */
+ 1574, /* GL_TEXTURE31 */
18, /* GL_ACTIVE_TEXTURE */
130, /* GL_CLIENT_ACTIVE_TEXTURE */
- 914, /* GL_MAX_TEXTURE_UNITS */
- 1710, /* GL_TRANSPOSE_MODELVIEW_MATRIX */
- 1713, /* GL_TRANSPOSE_PROJECTION_MATRIX */
- 1715, /* GL_TRANSPOSE_TEXTURE_MATRIX */
- 1707, /* GL_TRANSPOSE_COLOR_MATRIX */
- 1509, /* GL_SUBTRACT */
- 902, /* GL_MAX_RENDERBUFFER_SIZE_EXT */
+ 916, /* GL_MAX_TEXTURE_UNITS */
+ 1714, /* GL_TRANSPOSE_MODELVIEW_MATRIX */
+ 1717, /* GL_TRANSPOSE_PROJECTION_MATRIX */
+ 1719, /* GL_TRANSPOSE_TEXTURE_MATRIX */
+ 1711, /* GL_TRANSPOSE_COLOR_MATRIX */
+ 1513, /* GL_SUBTRACT */
+ 904, /* GL_MAX_RENDERBUFFER_SIZE_EXT */
244, /* GL_COMPRESSED_ALPHA */
248, /* GL_COMPRESSED_LUMINANCE */
249, /* GL_COMPRESSED_LUMINANCE_ALPHA */
246, /* GL_COMPRESSED_INTENSITY */
252, /* GL_COMPRESSED_RGB */
253, /* GL_COMPRESSED_RGBA */
- 1628, /* GL_TEXTURE_COMPRESSION_HINT */
- 1690, /* GL_TEXTURE_RECTANGLE_ARB */
- 1600, /* GL_TEXTURE_BINDING_RECTANGLE_ARB */
- 1258, /* GL_PROXY_TEXTURE_RECTANGLE_ARB */
- 900, /* GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB */
+ 1632, /* GL_TEXTURE_COMPRESSION_HINT */
+ 1694, /* GL_TEXTURE_RECTANGLE_ARB */
+ 1604, /* GL_TEXTURE_BINDING_RECTANGLE_ARB */
+ 1261, /* GL_PROXY_TEXTURE_RECTANGLE_ARB */
+ 902, /* GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB */
366, /* GL_DEPTH_STENCIL */
- 1735, /* GL_UNSIGNED_INT_24_8 */
- 910, /* GL_MAX_TEXTURE_LOD_BIAS */
- 1681, /* GL_TEXTURE_MAX_ANISOTROPY_EXT */
- 911, /* GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT */
- 1657, /* GL_TEXTURE_FILTER_CONTROL */
- 1672, /* GL_TEXTURE_LOD_BIAS */
+ 1739, /* GL_UNSIGNED_INT_24_8 */
+ 912, /* GL_MAX_TEXTURE_LOD_BIAS */
+ 1685, /* GL_TEXTURE_MAX_ANISOTROPY_EXT */
+ 913, /* GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT */
+ 1661, /* GL_TEXTURE_FILTER_CONTROL */
+ 1676, /* GL_TEXTURE_LOD_BIAS */
229, /* GL_COMBINE4 */
- 904, /* GL_MAX_SHININESS_NV */
- 905, /* GL_MAX_SPOT_EXPONENT_NV */
- 614, /* GL_INCR_WRAP */
+ 906, /* GL_MAX_SHININESS_NV */
+ 907, /* GL_MAX_SPOT_EXPONENT_NV */
+ 615, /* GL_INCR_WRAP */
339, /* GL_DECR_WRAP */
- 956, /* GL_MODELVIEW1_ARB */
- 1012, /* GL_NORMAL_MAP */
- 1288, /* GL_REFLECTION_MAP */
- 1637, /* GL_TEXTURE_CUBE_MAP */
- 1598, /* GL_TEXTURE_BINDING_CUBE_MAP */
- 1645, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X */
- 1639, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X */
- 1647, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y */
- 1641, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y */
- 1649, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z */
- 1643, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z */
- 1256, /* GL_PROXY_TEXTURE_CUBE_MAP */
- 856, /* GL_MAX_CUBE_MAP_TEXTURE_SIZE */
- 991, /* GL_MULTISAMPLE_FILTER_HINT_NV */
- 517, /* GL_FOG_DISTANCE_MODE_NV */
+ 958, /* GL_MODELVIEW1_ARB */
+ 1014, /* GL_NORMAL_MAP */
+ 1292, /* GL_REFLECTION_MAP */
+ 1641, /* GL_TEXTURE_CUBE_MAP */
+ 1602, /* GL_TEXTURE_BINDING_CUBE_MAP */
+ 1649, /* GL_TEXTURE_CUBE_MAP_POSITIVE_X */
+ 1643, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_X */
+ 1651, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Y */
+ 1645, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Y */
+ 1653, /* GL_TEXTURE_CUBE_MAP_POSITIVE_Z */
+ 1647, /* GL_TEXTURE_CUBE_MAP_NEGATIVE_Z */
+ 1259, /* GL_PROXY_TEXTURE_CUBE_MAP */
+ 858, /* GL_MAX_CUBE_MAP_TEXTURE_SIZE */
+ 993, /* GL_MULTISAMPLE_FILTER_HINT_NV */
+ 518, /* GL_FOG_DISTANCE_MODE_NV */
470, /* GL_EYE_RADIAL_NV */
469, /* GL_EYE_PLANE_ABSOLUTE_NV */
228, /* GL_COMBINE */
235, /* GL_COMBINE_RGB */
230, /* GL_COMBINE_ALPHA */
- 1355, /* GL_RGB_SCALE */
+ 1359, /* GL_RGB_SCALE */
24, /* GL_ADD_SIGNED */
- 642, /* GL_INTERPOLATE */
+ 643, /* GL_INTERPOLATE */
267, /* GL_CONSTANT */
- 1206, /* GL_PRIMARY_COLOR */
- 1203, /* GL_PREVIOUS */
- 1426, /* GL_SOURCE0_RGB */
- 1432, /* GL_SOURCE1_RGB */
- 1438, /* GL_SOURCE2_RGB */
- 1442, /* GL_SOURCE3_RGB_NV */
- 1423, /* GL_SOURCE0_ALPHA */
- 1429, /* GL_SOURCE1_ALPHA */
- 1435, /* GL_SOURCE2_ALPHA */
- 1441, /* GL_SOURCE3_ALPHA_NV */
- 1048, /* GL_OPERAND0_RGB */
- 1054, /* GL_OPERAND1_RGB */
- 1060, /* GL_OPERAND2_RGB */
- 1064, /* GL_OPERAND3_RGB_NV */
- 1045, /* GL_OPERAND0_ALPHA */
- 1051, /* GL_OPERAND1_ALPHA */
- 1057, /* GL_OPERAND2_ALPHA */
- 1063, /* GL_OPERAND3_ALPHA_NV */
- 1759, /* GL_VERTEX_ARRAY_BINDING_APPLE */
- 1823, /* GL_YCBCR_422_APPLE */
- 1748, /* GL_UNSIGNED_SHORT_8_8_APPLE */
- 1750, /* GL_UNSIGNED_SHORT_8_8_REV_APPLE */
- 1413, /* GL_SLICE_ACCUM_SUN */
- 1263, /* GL_QUAD_MESH_SUN */
- 1719, /* GL_TRIANGLE_MESH_SUN */
- 1797, /* GL_VERTEX_PROGRAM_ARB */
- 1808, /* GL_VERTEX_STATE_PROGRAM_NV */
- 1784, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED */
- 1790, /* GL_VERTEX_ATTRIB_ARRAY_SIZE */
- 1792, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE */
- 1794, /* GL_VERTEX_ATTRIB_ARRAY_TYPE */
+ 1208, /* GL_PRIMARY_COLOR */
+ 1205, /* GL_PREVIOUS */
+ 1430, /* GL_SOURCE0_RGB */
+ 1436, /* GL_SOURCE1_RGB */
+ 1442, /* GL_SOURCE2_RGB */
+ 1446, /* GL_SOURCE3_RGB_NV */
+ 1427, /* GL_SOURCE0_ALPHA */
+ 1433, /* GL_SOURCE1_ALPHA */
+ 1439, /* GL_SOURCE2_ALPHA */
+ 1445, /* GL_SOURCE3_ALPHA_NV */
+ 1050, /* GL_OPERAND0_RGB */
+ 1056, /* GL_OPERAND1_RGB */
+ 1062, /* GL_OPERAND2_RGB */
+ 1066, /* GL_OPERAND3_RGB_NV */
+ 1047, /* GL_OPERAND0_ALPHA */
+ 1053, /* GL_OPERAND1_ALPHA */
+ 1059, /* GL_OPERAND2_ALPHA */
+ 1065, /* GL_OPERAND3_ALPHA_NV */
+ 1763, /* GL_VERTEX_ARRAY_BINDING_APPLE */
+ 1827, /* GL_YCBCR_422_APPLE */
+ 1752, /* GL_UNSIGNED_SHORT_8_8_APPLE */
+ 1754, /* GL_UNSIGNED_SHORT_8_8_REV_APPLE */
+ 1417, /* GL_SLICE_ACCUM_SUN */
+ 1267, /* GL_QUAD_MESH_SUN */
+ 1723, /* GL_TRIANGLE_MESH_SUN */
+ 1801, /* GL_VERTEX_PROGRAM_ARB */
+ 1812, /* GL_VERTEX_STATE_PROGRAM_NV */
+ 1788, /* GL_VERTEX_ATTRIB_ARRAY_ENABLED */
+ 1794, /* GL_VERTEX_ATTRIB_ARRAY_SIZE */
+ 1796, /* GL_VERTEX_ATTRIB_ARRAY_STRIDE */
+ 1798, /* GL_VERTEX_ATTRIB_ARRAY_TYPE */
330, /* GL_CURRENT_VERTEX_ATTRIB */
- 1219, /* GL_PROGRAM_LENGTH_ARB */
- 1233, /* GL_PROGRAM_STRING_ARB */
- 978, /* GL_MODELVIEW_PROJECTION_NV */
- 609, /* GL_IDENTITY_NV */
- 656, /* GL_INVERSE_NV */
- 1712, /* GL_TRANSPOSE_NV */
- 657, /* GL_INVERSE_TRANSPOSE_NV */
- 886, /* GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB */
- 885, /* GL_MAX_PROGRAM_MATRICES_ARB */
- 793, /* GL_MATRIX0_NV */
- 805, /* GL_MATRIX1_NV */
- 817, /* GL_MATRIX2_NV */
- 821, /* GL_MATRIX3_NV */
- 823, /* GL_MATRIX4_NV */
- 825, /* GL_MATRIX5_NV */
- 827, /* GL_MATRIX6_NV */
- 829, /* GL_MATRIX7_NV */
+ 1221, /* GL_PROGRAM_LENGTH_ARB */
+ 1235, /* GL_PROGRAM_STRING_ARB */
+ 980, /* GL_MODELVIEW_PROJECTION_NV */
+ 610, /* GL_IDENTITY_NV */
+ 657, /* GL_INVERSE_NV */
+ 1716, /* GL_TRANSPOSE_NV */
+ 658, /* GL_INVERSE_TRANSPOSE_NV */
+ 888, /* GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB */
+ 887, /* GL_MAX_PROGRAM_MATRICES_ARB */
+ 795, /* GL_MATRIX0_NV */
+ 807, /* GL_MATRIX1_NV */
+ 819, /* GL_MATRIX2_NV */
+ 823, /* GL_MATRIX3_NV */
+ 825, /* GL_MATRIX4_NV */
+ 827, /* GL_MATRIX5_NV */
+ 829, /* GL_MATRIX6_NV */
+ 831, /* GL_MATRIX7_NV */
314, /* GL_CURRENT_MATRIX_STACK_DEPTH_ARB */
311, /* GL_CURRENT_MATRIX_ARB */
- 1800, /* GL_VERTEX_PROGRAM_POINT_SIZE */
- 1803, /* GL_VERTEX_PROGRAM_TWO_SIDE */
- 1231, /* GL_PROGRAM_PARAMETER_NV */
- 1788, /* GL_VERTEX_ATTRIB_ARRAY_POINTER */
- 1235, /* GL_PROGRAM_TARGET_NV */
- 1232, /* GL_PROGRAM_RESIDENT_NV */
- 1704, /* GL_TRACK_MATRIX_NV */
- 1705, /* GL_TRACK_MATRIX_TRANSFORM_NV */
- 1798, /* GL_VERTEX_PROGRAM_BINDING_NV */
- 1213, /* GL_PROGRAM_ERROR_POSITION_ARB */
+ 1804, /* GL_VERTEX_PROGRAM_POINT_SIZE */
+ 1807, /* GL_VERTEX_PROGRAM_TWO_SIDE */
+ 1233, /* GL_PROGRAM_PARAMETER_NV */
+ 1792, /* GL_VERTEX_ATTRIB_ARRAY_POINTER */
+ 1237, /* GL_PROGRAM_TARGET_NV */
+ 1234, /* GL_PROGRAM_RESIDENT_NV */
+ 1708, /* GL_TRACK_MATRIX_NV */
+ 1709, /* GL_TRACK_MATRIX_TRANSFORM_NV */
+ 1802, /* GL_VERTEX_PROGRAM_BINDING_NV */
+ 1215, /* GL_PROGRAM_ERROR_POSITION_ARB */
351, /* GL_DEPTH_CLAMP_NV */
- 1766, /* GL_VERTEX_ATTRIB_ARRAY0_NV */
- 1773, /* GL_VERTEX_ATTRIB_ARRAY1_NV */
- 1774, /* GL_VERTEX_ATTRIB_ARRAY2_NV */
- 1775, /* GL_VERTEX_ATTRIB_ARRAY3_NV */
- 1776, /* GL_VERTEX_ATTRIB_ARRAY4_NV */
- 1777, /* GL_VERTEX_ATTRIB_ARRAY5_NV */
- 1778, /* GL_VERTEX_ATTRIB_ARRAY6_NV */
- 1779, /* GL_VERTEX_ATTRIB_ARRAY7_NV */
- 1780, /* GL_VERTEX_ATTRIB_ARRAY8_NV */
- 1781, /* GL_VERTEX_ATTRIB_ARRAY9_NV */
- 1767, /* GL_VERTEX_ATTRIB_ARRAY10_NV */
- 1768, /* GL_VERTEX_ATTRIB_ARRAY11_NV */
- 1769, /* GL_VERTEX_ATTRIB_ARRAY12_NV */
- 1770, /* GL_VERTEX_ATTRIB_ARRAY13_NV */
- 1771, /* GL_VERTEX_ATTRIB_ARRAY14_NV */
- 1772, /* GL_VERTEX_ATTRIB_ARRAY15_NV */
- 741, /* GL_MAP1_VERTEX_ATTRIB0_4_NV */
- 748, /* GL_MAP1_VERTEX_ATTRIB1_4_NV */
- 749, /* GL_MAP1_VERTEX_ATTRIB2_4_NV */
- 750, /* GL_MAP1_VERTEX_ATTRIB3_4_NV */
- 751, /* GL_MAP1_VERTEX_ATTRIB4_4_NV */
- 752, /* GL_MAP1_VERTEX_ATTRIB5_4_NV */
- 753, /* GL_MAP1_VERTEX_ATTRIB6_4_NV */
- 754, /* GL_MAP1_VERTEX_ATTRIB7_4_NV */
- 755, /* GL_MAP1_VERTEX_ATTRIB8_4_NV */
- 756, /* GL_MAP1_VERTEX_ATTRIB9_4_NV */
- 742, /* GL_MAP1_VERTEX_ATTRIB10_4_NV */
- 743, /* GL_MAP1_VERTEX_ATTRIB11_4_NV */
- 744, /* GL_MAP1_VERTEX_ATTRIB12_4_NV */
- 745, /* GL_MAP1_VERTEX_ATTRIB13_4_NV */
- 746, /* GL_MAP1_VERTEX_ATTRIB14_4_NV */
- 747, /* GL_MAP1_VERTEX_ATTRIB15_4_NV */
- 768, /* GL_MAP2_VERTEX_ATTRIB0_4_NV */
- 775, /* GL_MAP2_VERTEX_ATTRIB1_4_NV */
- 776, /* GL_MAP2_VERTEX_ATTRIB2_4_NV */
- 777, /* GL_MAP2_VERTEX_ATTRIB3_4_NV */
- 778, /* GL_MAP2_VERTEX_ATTRIB4_4_NV */
- 779, /* GL_MAP2_VERTEX_ATTRIB5_4_NV */
- 780, /* GL_MAP2_VERTEX_ATTRIB6_4_NV */
- 1212, /* GL_PROGRAM_BINDING_ARB */
- 782, /* GL_MAP2_VERTEX_ATTRIB8_4_NV */
- 783, /* GL_MAP2_VERTEX_ATTRIB9_4_NV */
- 769, /* GL_MAP2_VERTEX_ATTRIB10_4_NV */
- 770, /* GL_MAP2_VERTEX_ATTRIB11_4_NV */
- 771, /* GL_MAP2_VERTEX_ATTRIB12_4_NV */
- 772, /* GL_MAP2_VERTEX_ATTRIB13_4_NV */
- 773, /* GL_MAP2_VERTEX_ATTRIB14_4_NV */
- 774, /* GL_MAP2_VERTEX_ATTRIB15_4_NV */
- 1626, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE */
- 1623, /* GL_TEXTURE_COMPRESSED */
- 1017, /* GL_NUM_COMPRESSED_TEXTURE_FORMATS */
+ 1770, /* GL_VERTEX_ATTRIB_ARRAY0_NV */
+ 1777, /* GL_VERTEX_ATTRIB_ARRAY1_NV */
+ 1778, /* GL_VERTEX_ATTRIB_ARRAY2_NV */
+ 1779, /* GL_VERTEX_ATTRIB_ARRAY3_NV */
+ 1780, /* GL_VERTEX_ATTRIB_ARRAY4_NV */
+ 1781, /* GL_VERTEX_ATTRIB_ARRAY5_NV */
+ 1782, /* GL_VERTEX_ATTRIB_ARRAY6_NV */
+ 1783, /* GL_VERTEX_ATTRIB_ARRAY7_NV */
+ 1784, /* GL_VERTEX_ATTRIB_ARRAY8_NV */
+ 1785, /* GL_VERTEX_ATTRIB_ARRAY9_NV */
+ 1771, /* GL_VERTEX_ATTRIB_ARRAY10_NV */
+ 1772, /* GL_VERTEX_ATTRIB_ARRAY11_NV */
+ 1773, /* GL_VERTEX_ATTRIB_ARRAY12_NV */
+ 1774, /* GL_VERTEX_ATTRIB_ARRAY13_NV */
+ 1775, /* GL_VERTEX_ATTRIB_ARRAY14_NV */
+ 1776, /* GL_VERTEX_ATTRIB_ARRAY15_NV */
+ 743, /* GL_MAP1_VERTEX_ATTRIB0_4_NV */
+ 750, /* GL_MAP1_VERTEX_ATTRIB1_4_NV */
+ 751, /* GL_MAP1_VERTEX_ATTRIB2_4_NV */
+ 752, /* GL_MAP1_VERTEX_ATTRIB3_4_NV */
+ 753, /* GL_MAP1_VERTEX_ATTRIB4_4_NV */
+ 754, /* GL_MAP1_VERTEX_ATTRIB5_4_NV */
+ 755, /* GL_MAP1_VERTEX_ATTRIB6_4_NV */
+ 756, /* GL_MAP1_VERTEX_ATTRIB7_4_NV */
+ 757, /* GL_MAP1_VERTEX_ATTRIB8_4_NV */
+ 758, /* GL_MAP1_VERTEX_ATTRIB9_4_NV */
+ 744, /* GL_MAP1_VERTEX_ATTRIB10_4_NV */
+ 745, /* GL_MAP1_VERTEX_ATTRIB11_4_NV */
+ 746, /* GL_MAP1_VERTEX_ATTRIB12_4_NV */
+ 747, /* GL_MAP1_VERTEX_ATTRIB13_4_NV */
+ 748, /* GL_MAP1_VERTEX_ATTRIB14_4_NV */
+ 749, /* GL_MAP1_VERTEX_ATTRIB15_4_NV */
+ 770, /* GL_MAP2_VERTEX_ATTRIB0_4_NV */
+ 777, /* GL_MAP2_VERTEX_ATTRIB1_4_NV */
+ 778, /* GL_MAP2_VERTEX_ATTRIB2_4_NV */
+ 779, /* GL_MAP2_VERTEX_ATTRIB3_4_NV */
+ 780, /* GL_MAP2_VERTEX_ATTRIB4_4_NV */
+ 781, /* GL_MAP2_VERTEX_ATTRIB5_4_NV */
+ 782, /* GL_MAP2_VERTEX_ATTRIB6_4_NV */
+ 1214, /* GL_PROGRAM_BINDING_ARB */
+ 784, /* GL_MAP2_VERTEX_ATTRIB8_4_NV */
+ 785, /* GL_MAP2_VERTEX_ATTRIB9_4_NV */
+ 771, /* GL_MAP2_VERTEX_ATTRIB10_4_NV */
+ 772, /* GL_MAP2_VERTEX_ATTRIB11_4_NV */
+ 773, /* GL_MAP2_VERTEX_ATTRIB12_4_NV */
+ 774, /* GL_MAP2_VERTEX_ATTRIB13_4_NV */
+ 775, /* GL_MAP2_VERTEX_ATTRIB14_4_NV */
+ 776, /* GL_MAP2_VERTEX_ATTRIB15_4_NV */
+ 1630, /* GL_TEXTURE_COMPRESSED_IMAGE_SIZE */
+ 1627, /* GL_TEXTURE_COMPRESSED */
+ 1019, /* GL_NUM_COMPRESSED_TEXTURE_FORMATS */
266, /* GL_COMPRESSED_TEXTURE_FORMATS */
- 926, /* GL_MAX_VERTEX_UNITS_ARB */
+ 928, /* GL_MAX_VERTEX_UNITS_ARB */
22, /* GL_ACTIVE_VERTEX_UNITS_ARB */
- 1818, /* GL_WEIGHT_SUM_UNITY_ARB */
- 1796, /* GL_VERTEX_BLEND_ARB */
+ 1822, /* GL_WEIGHT_SUM_UNITY_ARB */
+ 1800, /* GL_VERTEX_BLEND_ARB */
332, /* GL_CURRENT_WEIGHT_ARB */
- 1817, /* GL_WEIGHT_ARRAY_TYPE_ARB */
- 1816, /* GL_WEIGHT_ARRAY_STRIDE_ARB */
- 1815, /* GL_WEIGHT_ARRAY_SIZE_ARB */
- 1814, /* GL_WEIGHT_ARRAY_POINTER_ARB */
- 1811, /* GL_WEIGHT_ARRAY_ARB */
+ 1821, /* GL_WEIGHT_ARRAY_TYPE_ARB */
+ 1820, /* GL_WEIGHT_ARRAY_STRIDE_ARB */
+ 1819, /* GL_WEIGHT_ARRAY_SIZE_ARB */
+ 1818, /* GL_WEIGHT_ARRAY_POINTER_ARB */
+ 1815, /* GL_WEIGHT_ARRAY_ARB */
379, /* GL_DOT3_RGB */
380, /* GL_DOT3_RGBA */
260, /* GL_COMPRESSED_RGB_FXT1_3DFX */
255, /* GL_COMPRESSED_RGBA_FXT1_3DFX */
- 986, /* GL_MULTISAMPLE_3DFX */
- 1376, /* GL_SAMPLE_BUFFERS_3DFX */
- 1367, /* GL_SAMPLES_3DFX */
- 967, /* GL_MODELVIEW2_ARB */
- 970, /* GL_MODELVIEW3_ARB */
- 971, /* GL_MODELVIEW4_ARB */
- 972, /* GL_MODELVIEW5_ARB */
- 973, /* GL_MODELVIEW6_ARB */
- 974, /* GL_MODELVIEW7_ARB */
- 975, /* GL_MODELVIEW8_ARB */
- 976, /* GL_MODELVIEW9_ARB */
- 946, /* GL_MODELVIEW10_ARB */
- 947, /* GL_MODELVIEW11_ARB */
- 948, /* GL_MODELVIEW12_ARB */
- 949, /* GL_MODELVIEW13_ARB */
- 950, /* GL_MODELVIEW14_ARB */
- 951, /* GL_MODELVIEW15_ARB */
- 952, /* GL_MODELVIEW16_ARB */
- 953, /* GL_MODELVIEW17_ARB */
- 954, /* GL_MODELVIEW18_ARB */
- 955, /* GL_MODELVIEW19_ARB */
- 957, /* GL_MODELVIEW20_ARB */
- 958, /* GL_MODELVIEW21_ARB */
- 959, /* GL_MODELVIEW22_ARB */
- 960, /* GL_MODELVIEW23_ARB */
- 961, /* GL_MODELVIEW24_ARB */
- 962, /* GL_MODELVIEW25_ARB */
- 963, /* GL_MODELVIEW26_ARB */
- 964, /* GL_MODELVIEW27_ARB */
- 965, /* GL_MODELVIEW28_ARB */
- 966, /* GL_MODELVIEW29_ARB */
- 968, /* GL_MODELVIEW30_ARB */
- 969, /* GL_MODELVIEW31_ARB */
+ 988, /* GL_MULTISAMPLE_3DFX */
+ 1380, /* GL_SAMPLE_BUFFERS_3DFX */
+ 1371, /* GL_SAMPLES_3DFX */
+ 969, /* GL_MODELVIEW2_ARB */
+ 972, /* GL_MODELVIEW3_ARB */
+ 973, /* GL_MODELVIEW4_ARB */
+ 974, /* GL_MODELVIEW5_ARB */
+ 975, /* GL_MODELVIEW6_ARB */
+ 976, /* GL_MODELVIEW7_ARB */
+ 977, /* GL_MODELVIEW8_ARB */
+ 978, /* GL_MODELVIEW9_ARB */
+ 948, /* GL_MODELVIEW10_ARB */
+ 949, /* GL_MODELVIEW11_ARB */
+ 950, /* GL_MODELVIEW12_ARB */
+ 951, /* GL_MODELVIEW13_ARB */
+ 952, /* GL_MODELVIEW14_ARB */
+ 953, /* GL_MODELVIEW15_ARB */
+ 954, /* GL_MODELVIEW16_ARB */
+ 955, /* GL_MODELVIEW17_ARB */
+ 956, /* GL_MODELVIEW18_ARB */
+ 957, /* GL_MODELVIEW19_ARB */
+ 959, /* GL_MODELVIEW20_ARB */
+ 960, /* GL_MODELVIEW21_ARB */
+ 961, /* GL_MODELVIEW22_ARB */
+ 962, /* GL_MODELVIEW23_ARB */
+ 963, /* GL_MODELVIEW24_ARB */
+ 964, /* GL_MODELVIEW25_ARB */
+ 965, /* GL_MODELVIEW26_ARB */
+ 966, /* GL_MODELVIEW27_ARB */
+ 967, /* GL_MODELVIEW28_ARB */
+ 968, /* GL_MODELVIEW29_ARB */
+ 970, /* GL_MODELVIEW30_ARB */
+ 971, /* GL_MODELVIEW31_ARB */
384, /* GL_DOT3_RGB_EXT */
382, /* GL_DOT3_RGBA_EXT */
- 940, /* GL_MIRROR_CLAMP_EXT */
- 943, /* GL_MIRROR_CLAMP_TO_EDGE_EXT */
- 981, /* GL_MODULATE_ADD_ATI */
- 982, /* GL_MODULATE_SIGNED_ADD_ATI */
- 983, /* GL_MODULATE_SUBTRACT_ATI */
- 1824, /* GL_YCBCR_MESA */
- 1072, /* GL_PACK_INVERT_MESA */
+ 942, /* GL_MIRROR_CLAMP_EXT */
+ 945, /* GL_MIRROR_CLAMP_TO_EDGE_EXT */
+ 983, /* GL_MODULATE_ADD_ATI */
+ 984, /* GL_MODULATE_SIGNED_ADD_ATI */
+ 985, /* GL_MODULATE_SUBTRACT_ATI */
+ 1828, /* GL_YCBCR_MESA */
+ 1074, /* GL_PACK_INVERT_MESA */
335, /* GL_DEBUG_OBJECT_MESA */
336, /* GL_DEBUG_PRINT_MESA */
334, /* GL_DEBUG_ASSERT_MESA */
@@ -4692,24 +4700,24 @@ static const unsigned reduced_enums[1321] =
442, /* GL_DU8DV8_ATI */
111, /* GL_BUMP_ENVMAP_ATI */
115, /* GL_BUMP_TARGET_ATI */
- 1474, /* GL_STENCIL_BACK_FUNC */
- 1472, /* GL_STENCIL_BACK_FAIL */
- 1476, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL */
- 1478, /* GL_STENCIL_BACK_PASS_DEPTH_PASS */
- 526, /* GL_FRAGMENT_PROGRAM_ARB */
- 1210, /* GL_PROGRAM_ALU_INSTRUCTIONS_ARB */
- 1238, /* GL_PROGRAM_TEX_INSTRUCTIONS_ARB */
- 1237, /* GL_PROGRAM_TEX_INDIRECTIONS_ARB */
- 1222, /* GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB */
- 1228, /* GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB */
- 1227, /* GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB */
- 875, /* GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB */
- 898, /* GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB */
- 897, /* GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB */
- 888, /* GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB */
- 894, /* GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB */
- 893, /* GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB */
- 858, /* GL_MAX_DRAW_BUFFERS */
+ 1478, /* GL_STENCIL_BACK_FUNC */
+ 1476, /* GL_STENCIL_BACK_FAIL */
+ 1480, /* GL_STENCIL_BACK_PASS_DEPTH_FAIL */
+ 1482, /* GL_STENCIL_BACK_PASS_DEPTH_PASS */
+ 527, /* GL_FRAGMENT_PROGRAM_ARB */
+ 1212, /* GL_PROGRAM_ALU_INSTRUCTIONS_ARB */
+ 1240, /* GL_PROGRAM_TEX_INSTRUCTIONS_ARB */
+ 1239, /* GL_PROGRAM_TEX_INDIRECTIONS_ARB */
+ 1224, /* GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB */
+ 1230, /* GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB */
+ 1229, /* GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB */
+ 877, /* GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB */
+ 900, /* GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB */
+ 899, /* GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB */
+ 890, /* GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB */
+ 896, /* GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB */
+ 895, /* GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB */
+ 860, /* GL_MAX_DRAW_BUFFERS */
388, /* GL_DRAW_BUFFER0 */
391, /* GL_DRAW_BUFFER1 */
412, /* GL_DRAW_BUFFER2 */
@@ -4727,251 +4735,251 @@ static const unsigned reduced_enums[1321] =
404, /* GL_DRAW_BUFFER14 */
407, /* GL_DRAW_BUFFER15 */
81, /* GL_BLEND_EQUATION_ALPHA */
- 838, /* GL_MATRIX_PALETTE_ARB */
- 869, /* GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB */
- 872, /* GL_MAX_PALETTE_MATRICES_ARB */
+ 840, /* GL_MATRIX_PALETTE_ARB */
+ 871, /* GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB */
+ 874, /* GL_MAX_PALETTE_MATRICES_ARB */
317, /* GL_CURRENT_PALETTE_MATRIX_ARB */
- 832, /* GL_MATRIX_INDEX_ARRAY_ARB */
+ 834, /* GL_MATRIX_INDEX_ARRAY_ARB */
312, /* GL_CURRENT_MATRIX_INDEX_ARB */
- 834, /* GL_MATRIX_INDEX_ARRAY_SIZE_ARB */
- 836, /* GL_MATRIX_INDEX_ARRAY_TYPE_ARB */
- 835, /* GL_MATRIX_INDEX_ARRAY_STRIDE_ARB */
- 833, /* GL_MATRIX_INDEX_ARRAY_POINTER_ARB */
- 1652, /* GL_TEXTURE_DEPTH_SIZE */
+ 836, /* GL_MATRIX_INDEX_ARRAY_SIZE_ARB */
+ 838, /* GL_MATRIX_INDEX_ARRAY_TYPE_ARB */
+ 837, /* GL_MATRIX_INDEX_ARRAY_STRIDE_ARB */
+ 835, /* GL_MATRIX_INDEX_ARRAY_POINTER_ARB */
+ 1656, /* GL_TEXTURE_DEPTH_SIZE */
372, /* GL_DEPTH_TEXTURE_MODE */
- 1618, /* GL_TEXTURE_COMPARE_MODE */
- 1616, /* GL_TEXTURE_COMPARE_FUNC */
+ 1622, /* GL_TEXTURE_COMPARE_MODE */
+ 1620, /* GL_TEXTURE_COMPARE_FUNC */
239, /* GL_COMPARE_R_TO_TEXTURE */
- 1144, /* GL_POINT_SPRITE */
+ 1146, /* GL_POINT_SPRITE */
292, /* GL_COORD_REPLACE */
- 1148, /* GL_POINT_SPRITE_R_MODE_NV */
- 1265, /* GL_QUERY_COUNTER_BITS */
+ 1150, /* GL_POINT_SPRITE_R_MODE_NV */
+ 1269, /* GL_QUERY_COUNTER_BITS */
319, /* GL_CURRENT_QUERY */
- 1267, /* GL_QUERY_RESULT */
- 1269, /* GL_QUERY_RESULT_AVAILABLE */
- 920, /* GL_MAX_VERTEX_ATTRIBS */
- 1786, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED */
+ 1271, /* GL_QUERY_RESULT */
+ 1273, /* GL_QUERY_RESULT_AVAILABLE */
+ 922, /* GL_MAX_VERTEX_ATTRIBS */
+ 1790, /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED */
370, /* GL_DEPTH_STENCIL_TO_RGBA_NV */
369, /* GL_DEPTH_STENCIL_TO_BGRA_NV */
- 906, /* GL_MAX_TEXTURE_COORDS */
- 908, /* GL_MAX_TEXTURE_IMAGE_UNITS */
- 1215, /* GL_PROGRAM_ERROR_STRING_ARB */
- 1217, /* GL_PROGRAM_FORMAT_ASCII_ARB */
- 1216, /* GL_PROGRAM_FORMAT_ARB */
- 1698, /* GL_TEXTURE_UNSIGNED_REMAP_MODE_NV */
+ 908, /* GL_MAX_TEXTURE_COORDS */
+ 910, /* GL_MAX_TEXTURE_IMAGE_UNITS */
+ 1217, /* GL_PROGRAM_ERROR_STRING_ARB */
+ 1219, /* GL_PROGRAM_FORMAT_ASCII_ARB */
+ 1218, /* GL_PROGRAM_FORMAT_ARB */
+ 1702, /* GL_TEXTURE_UNSIGNED_REMAP_MODE_NV */
349, /* GL_DEPTH_BOUNDS_TEST_EXT */
348, /* GL_DEPTH_BOUNDS_EXT */
52, /* GL_ARRAY_BUFFER */
456, /* GL_ELEMENT_ARRAY_BUFFER */
53, /* GL_ARRAY_BUFFER_BINDING */
457, /* GL_ELEMENT_ARRAY_BUFFER_BINDING */
- 1760, /* GL_VERTEX_ARRAY_BUFFER_BINDING */
- 1007, /* GL_NORMAL_ARRAY_BUFFER_BINDING */
+ 1764, /* GL_VERTEX_ARRAY_BUFFER_BINDING */
+ 1009, /* GL_NORMAL_ARRAY_BUFFER_BINDING */
146, /* GL_COLOR_ARRAY_BUFFER_BINDING */
- 618, /* GL_INDEX_ARRAY_BUFFER_BINDING */
- 1631, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING */
+ 619, /* GL_INDEX_ARRAY_BUFFER_BINDING */
+ 1635, /* GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING */
452, /* GL_EDGE_FLAG_ARRAY_BUFFER_BINDING */
- 1388, /* GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING */
- 504, /* GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING */
- 1812, /* GL_WEIGHT_ARRAY_BUFFER_BINDING */
- 1782, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING */
- 1218, /* GL_PROGRAM_INSTRUCTIONS_ARB */
- 881, /* GL_MAX_PROGRAM_INSTRUCTIONS_ARB */
- 1224, /* GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB */
- 890, /* GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB */
- 1236, /* GL_PROGRAM_TEMPORARIES_ARB */
- 896, /* GL_MAX_PROGRAM_TEMPORARIES_ARB */
- 1226, /* GL_PROGRAM_NATIVE_TEMPORARIES_ARB */
- 892, /* GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB */
- 1230, /* GL_PROGRAM_PARAMETERS_ARB */
- 895, /* GL_MAX_PROGRAM_PARAMETERS_ARB */
- 1225, /* GL_PROGRAM_NATIVE_PARAMETERS_ARB */
- 891, /* GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB */
- 1211, /* GL_PROGRAM_ATTRIBS_ARB */
- 876, /* GL_MAX_PROGRAM_ATTRIBS_ARB */
- 1223, /* GL_PROGRAM_NATIVE_ATTRIBS_ARB */
- 889, /* GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB */
- 1209, /* GL_PROGRAM_ADDRESS_REGISTERS_ARB */
- 874, /* GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB */
- 1221, /* GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB */
- 887, /* GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB */
- 882, /* GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB */
- 878, /* GL_MAX_PROGRAM_ENV_PARAMETERS_ARB */
- 1239, /* GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB */
- 1709, /* GL_TRANSPOSE_CURRENT_MATRIX_ARB */
- 1278, /* GL_READ_ONLY */
- 1820, /* GL_WRITE_ONLY */
- 1280, /* GL_READ_WRITE */
+ 1392, /* GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING */
+ 505, /* GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING */
+ 1816, /* GL_WEIGHT_ARRAY_BUFFER_BINDING */
+ 1786, /* GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING */
+ 1220, /* GL_PROGRAM_INSTRUCTIONS_ARB */
+ 883, /* GL_MAX_PROGRAM_INSTRUCTIONS_ARB */
+ 1226, /* GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB */
+ 892, /* GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB */
+ 1238, /* GL_PROGRAM_TEMPORARIES_ARB */
+ 898, /* GL_MAX_PROGRAM_TEMPORARIES_ARB */
+ 1228, /* GL_PROGRAM_NATIVE_TEMPORARIES_ARB */
+ 894, /* GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB */
+ 1232, /* GL_PROGRAM_PARAMETERS_ARB */
+ 897, /* GL_MAX_PROGRAM_PARAMETERS_ARB */
+ 1227, /* GL_PROGRAM_NATIVE_PARAMETERS_ARB */
+ 893, /* GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB */
+ 1213, /* GL_PROGRAM_ATTRIBS_ARB */
+ 878, /* GL_MAX_PROGRAM_ATTRIBS_ARB */
+ 1225, /* GL_PROGRAM_NATIVE_ATTRIBS_ARB */
+ 891, /* GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB */
+ 1211, /* GL_PROGRAM_ADDRESS_REGISTERS_ARB */
+ 876, /* GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB */
+ 1223, /* GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB */
+ 889, /* GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB */
+ 884, /* GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB */
+ 880, /* GL_MAX_PROGRAM_ENV_PARAMETERS_ARB */
+ 1241, /* GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB */
+ 1713, /* GL_TRANSPOSE_CURRENT_MATRIX_ARB */
+ 1282, /* GL_READ_ONLY */
+ 1824, /* GL_WRITE_ONLY */
+ 1284, /* GL_READ_WRITE */
101, /* GL_BUFFER_ACCESS */
103, /* GL_BUFFER_MAPPED */
105, /* GL_BUFFER_MAP_POINTER */
- 1703, /* GL_TIME_ELAPSED_EXT */
- 792, /* GL_MATRIX0_ARB */
- 804, /* GL_MATRIX1_ARB */
- 816, /* GL_MATRIX2_ARB */
- 820, /* GL_MATRIX3_ARB */
- 822, /* GL_MATRIX4_ARB */
- 824, /* GL_MATRIX5_ARB */
- 826, /* GL_MATRIX6_ARB */
- 828, /* GL_MATRIX7_ARB */
- 830, /* GL_MATRIX8_ARB */
- 831, /* GL_MATRIX9_ARB */
- 794, /* GL_MATRIX10_ARB */
- 795, /* GL_MATRIX11_ARB */
- 796, /* GL_MATRIX12_ARB */
- 797, /* GL_MATRIX13_ARB */
- 798, /* GL_MATRIX14_ARB */
- 799, /* GL_MATRIX15_ARB */
- 800, /* GL_MATRIX16_ARB */
- 801, /* GL_MATRIX17_ARB */
- 802, /* GL_MATRIX18_ARB */
- 803, /* GL_MATRIX19_ARB */
- 806, /* GL_MATRIX20_ARB */
- 807, /* GL_MATRIX21_ARB */
- 808, /* GL_MATRIX22_ARB */
- 809, /* GL_MATRIX23_ARB */
- 810, /* GL_MATRIX24_ARB */
- 811, /* GL_MATRIX25_ARB */
- 812, /* GL_MATRIX26_ARB */
- 813, /* GL_MATRIX27_ARB */
- 814, /* GL_MATRIX28_ARB */
- 815, /* GL_MATRIX29_ARB */
- 818, /* GL_MATRIX30_ARB */
- 819, /* GL_MATRIX31_ARB */
- 1504, /* GL_STREAM_DRAW */
- 1506, /* GL_STREAM_READ */
- 1502, /* GL_STREAM_COPY */
- 1465, /* GL_STATIC_DRAW */
- 1467, /* GL_STATIC_READ */
- 1463, /* GL_STATIC_COPY */
+ 1707, /* GL_TIME_ELAPSED_EXT */
+ 794, /* GL_MATRIX0_ARB */
+ 806, /* GL_MATRIX1_ARB */
+ 818, /* GL_MATRIX2_ARB */
+ 822, /* GL_MATRIX3_ARB */
+ 824, /* GL_MATRIX4_ARB */
+ 826, /* GL_MATRIX5_ARB */
+ 828, /* GL_MATRIX6_ARB */
+ 830, /* GL_MATRIX7_ARB */
+ 832, /* GL_MATRIX8_ARB */
+ 833, /* GL_MATRIX9_ARB */
+ 796, /* GL_MATRIX10_ARB */
+ 797, /* GL_MATRIX11_ARB */
+ 798, /* GL_MATRIX12_ARB */
+ 799, /* GL_MATRIX13_ARB */
+ 800, /* GL_MATRIX14_ARB */
+ 801, /* GL_MATRIX15_ARB */
+ 802, /* GL_MATRIX16_ARB */
+ 803, /* GL_MATRIX17_ARB */
+ 804, /* GL_MATRIX18_ARB */
+ 805, /* GL_MATRIX19_ARB */
+ 808, /* GL_MATRIX20_ARB */
+ 809, /* GL_MATRIX21_ARB */
+ 810, /* GL_MATRIX22_ARB */
+ 811, /* GL_MATRIX23_ARB */
+ 812, /* GL_MATRIX24_ARB */
+ 813, /* GL_MATRIX25_ARB */
+ 814, /* GL_MATRIX26_ARB */
+ 815, /* GL_MATRIX27_ARB */
+ 816, /* GL_MATRIX28_ARB */
+ 817, /* GL_MATRIX29_ARB */
+ 820, /* GL_MATRIX30_ARB */
+ 821, /* GL_MATRIX31_ARB */
+ 1508, /* GL_STREAM_DRAW */
+ 1510, /* GL_STREAM_READ */
+ 1506, /* GL_STREAM_COPY */
+ 1469, /* GL_STATIC_DRAW */
+ 1471, /* GL_STATIC_READ */
+ 1467, /* GL_STATIC_COPY */
446, /* GL_DYNAMIC_DRAW */
448, /* GL_DYNAMIC_READ */
444, /* GL_DYNAMIC_COPY */
- 1112, /* GL_PIXEL_PACK_BUFFER */
- 1116, /* GL_PIXEL_UNPACK_BUFFER */
- 1113, /* GL_PIXEL_PACK_BUFFER_BINDING */
- 1117, /* GL_PIXEL_UNPACK_BUFFER_BINDING */
+ 1114, /* GL_PIXEL_PACK_BUFFER */
+ 1118, /* GL_PIXEL_UNPACK_BUFFER */
+ 1115, /* GL_PIXEL_PACK_BUFFER_BINDING */
+ 1119, /* GL_PIXEL_UNPACK_BUFFER_BINDING */
343, /* GL_DEPTH24_STENCIL8 */
- 1696, /* GL_TEXTURE_STENCIL_SIZE */
- 879, /* GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */
- 877, /* GL_MAX_PROGRAM_CALL_DEPTH_NV */
- 880, /* GL_MAX_PROGRAM_IF_DEPTH_NV */
- 884, /* GL_MAX_PROGRAM_LOOP_DEPTH_NV */
- 883, /* GL_MAX_PROGRAM_LOOP_COUNT_NV */
- 841, /* GL_MAX_ARRAY_TEXTURE_LAYERS_EXT */
- 1498, /* GL_STENCIL_TEST_TWO_SIDE_EXT */
+ 1700, /* GL_TEXTURE_STENCIL_SIZE */
+ 881, /* GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */
+ 879, /* GL_MAX_PROGRAM_CALL_DEPTH_NV */
+ 882, /* GL_MAX_PROGRAM_IF_DEPTH_NV */
+ 886, /* GL_MAX_PROGRAM_LOOP_DEPTH_NV */
+ 885, /* GL_MAX_PROGRAM_LOOP_COUNT_NV */
+ 843, /* GL_MAX_ARRAY_TEXTURE_LAYERS_EXT */
+ 1502, /* GL_STENCIL_TEST_TWO_SIDE_EXT */
17, /* GL_ACTIVE_STENCIL_FACE_EXT */
- 941, /* GL_MIRROR_CLAMP_TO_BORDER_EXT */
- 1369, /* GL_SAMPLES_PASSED */
- 527, /* GL_FRAGMENT_SHADER */
- 1806, /* GL_VERTEX_SHADER */
- 1229, /* GL_PROGRAM_OBJECT_ARB */
- 1401, /* GL_SHADER_OBJECT_ARB */
- 865, /* GL_MAX_FRAGMENT_UNIFORM_COMPONENTS */
- 924, /* GL_MAX_VERTEX_UNIFORM_COMPONENTS */
- 918, /* GL_MAX_VARYING_FLOATS */
- 922, /* GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS */
- 850, /* GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS */
- 1032, /* GL_OBJECT_TYPE_ARB */
- 1403, /* GL_SHADER_TYPE */
- 492, /* GL_FLOAT_VEC2 */
- 494, /* GL_FLOAT_VEC3 */
- 496, /* GL_FLOAT_VEC4 */
- 645, /* GL_INT_VEC2 */
- 647, /* GL_INT_VEC3 */
- 649, /* GL_INT_VEC4 */
+ 943, /* GL_MIRROR_CLAMP_TO_BORDER_EXT */
+ 1373, /* GL_SAMPLES_PASSED */
+ 528, /* GL_FRAGMENT_SHADER */
+ 1810, /* GL_VERTEX_SHADER */
+ 1231, /* GL_PROGRAM_OBJECT_ARB */
+ 1405, /* GL_SHADER_OBJECT_ARB */
+ 867, /* GL_MAX_FRAGMENT_UNIFORM_COMPONENTS */
+ 926, /* GL_MAX_VERTEX_UNIFORM_COMPONENTS */
+ 920, /* GL_MAX_VARYING_FLOATS */
+ 924, /* GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS */
+ 852, /* GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS */
+ 1034, /* GL_OBJECT_TYPE_ARB */
+ 1407, /* GL_SHADER_TYPE */
+ 493, /* GL_FLOAT_VEC2 */
+ 495, /* GL_FLOAT_VEC3 */
+ 497, /* GL_FLOAT_VEC4 */
+ 646, /* GL_INT_VEC2 */
+ 648, /* GL_INT_VEC3 */
+ 650, /* GL_INT_VEC4 */
93, /* GL_BOOL */
95, /* GL_BOOL_VEC2 */
97, /* GL_BOOL_VEC3 */
99, /* GL_BOOL_VEC4 */
- 480, /* GL_FLOAT_MAT2 */
- 484, /* GL_FLOAT_MAT3 */
- 488, /* GL_FLOAT_MAT4 */
- 1360, /* GL_SAMPLER_1D */
- 1362, /* GL_SAMPLER_2D */
- 1364, /* GL_SAMPLER_3D */
- 1365, /* GL_SAMPLER_CUBE */
- 1361, /* GL_SAMPLER_1D_SHADOW */
- 1363, /* GL_SAMPLER_2D_SHADOW */
- 482, /* GL_FLOAT_MAT2x3 */
- 483, /* GL_FLOAT_MAT2x4 */
- 486, /* GL_FLOAT_MAT3x2 */
- 487, /* GL_FLOAT_MAT3x4 */
- 490, /* GL_FLOAT_MAT4x2 */
- 491, /* GL_FLOAT_MAT4x3 */
+ 481, /* GL_FLOAT_MAT2 */
+ 485, /* GL_FLOAT_MAT3 */
+ 489, /* GL_FLOAT_MAT4 */
+ 1364, /* GL_SAMPLER_1D */
+ 1366, /* GL_SAMPLER_2D */
+ 1368, /* GL_SAMPLER_3D */
+ 1369, /* GL_SAMPLER_CUBE */
+ 1365, /* GL_SAMPLER_1D_SHADOW */
+ 1367, /* GL_SAMPLER_2D_SHADOW */
+ 483, /* GL_FLOAT_MAT2x3 */
+ 484, /* GL_FLOAT_MAT2x4 */
+ 487, /* GL_FLOAT_MAT3x2 */
+ 488, /* GL_FLOAT_MAT3x4 */
+ 491, /* GL_FLOAT_MAT4x2 */
+ 492, /* GL_FLOAT_MAT4x3 */
341, /* GL_DELETE_STATUS */
243, /* GL_COMPILE_STATUS */
- 699, /* GL_LINK_STATUS */
- 1755, /* GL_VALIDATE_STATUS */
- 630, /* GL_INFO_LOG_LENGTH */
+ 701, /* GL_LINK_STATUS */
+ 1759, /* GL_VALIDATE_STATUS */
+ 631, /* GL_INFO_LOG_LENGTH */
55, /* GL_ATTACHED_SHADERS */
20, /* GL_ACTIVE_UNIFORMS */
21, /* GL_ACTIVE_UNIFORM_MAX_LENGTH */
- 1402, /* GL_SHADER_SOURCE_LENGTH */
+ 1406, /* GL_SHADER_SOURCE_LENGTH */
15, /* GL_ACTIVE_ATTRIBUTES */
16, /* GL_ACTIVE_ATTRIBUTE_MAX_LENGTH */
- 529, /* GL_FRAGMENT_SHADER_DERIVATIVE_HINT */
- 1405, /* GL_SHADING_LANGUAGE_VERSION */
+ 530, /* GL_FRAGMENT_SHADER_DERIVATIVE_HINT */
+ 1409, /* GL_SHADING_LANGUAGE_VERSION */
318, /* GL_CURRENT_PROGRAM */
- 1081, /* GL_PALETTE4_RGB8_OES */
- 1083, /* GL_PALETTE4_RGBA8_OES */
- 1079, /* GL_PALETTE4_R5_G6_B5_OES */
- 1082, /* GL_PALETTE4_RGBA4_OES */
- 1080, /* GL_PALETTE4_RGB5_A1_OES */
- 1086, /* GL_PALETTE8_RGB8_OES */
- 1088, /* GL_PALETTE8_RGBA8_OES */
- 1084, /* GL_PALETTE8_R5_G6_B5_OES */
- 1087, /* GL_PALETTE8_RGBA4_OES */
- 1085, /* GL_PALETTE8_RGB5_A1_OES */
- 612, /* GL_IMPLEMENTATION_COLOR_READ_TYPE_OES */
- 611, /* GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES */
- 1740, /* GL_UNSIGNED_NORMALIZED */
- 1586, /* GL_TEXTURE_1D_ARRAY_EXT */
- 1249, /* GL_PROXY_TEXTURE_1D_ARRAY_EXT */
- 1588, /* GL_TEXTURE_2D_ARRAY_EXT */
- 1252, /* GL_PROXY_TEXTURE_2D_ARRAY_EXT */
- 1594, /* GL_TEXTURE_BINDING_1D_ARRAY_EXT */
- 1596, /* GL_TEXTURE_BINDING_2D_ARRAY_EXT */
- 1457, /* GL_SRGB */
- 1458, /* GL_SRGB8 */
- 1460, /* GL_SRGB_ALPHA */
- 1459, /* GL_SRGB8_ALPHA8 */
- 1417, /* GL_SLUMINANCE_ALPHA */
- 1416, /* GL_SLUMINANCE8_ALPHA8 */
- 1414, /* GL_SLUMINANCE */
- 1415, /* GL_SLUMINANCE8 */
+ 1083, /* GL_PALETTE4_RGB8_OES */
+ 1085, /* GL_PALETTE4_RGBA8_OES */
+ 1081, /* GL_PALETTE4_R5_G6_B5_OES */
+ 1084, /* GL_PALETTE4_RGBA4_OES */
+ 1082, /* GL_PALETTE4_RGB5_A1_OES */
+ 1088, /* GL_PALETTE8_RGB8_OES */
+ 1090, /* GL_PALETTE8_RGBA8_OES */
+ 1086, /* GL_PALETTE8_R5_G6_B5_OES */
+ 1089, /* GL_PALETTE8_RGBA4_OES */
+ 1087, /* GL_PALETTE8_RGB5_A1_OES */
+ 613, /* GL_IMPLEMENTATION_COLOR_READ_TYPE_OES */
+ 612, /* GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES */
+ 1744, /* GL_UNSIGNED_NORMALIZED */
+ 1590, /* GL_TEXTURE_1D_ARRAY_EXT */
+ 1252, /* GL_PROXY_TEXTURE_1D_ARRAY_EXT */
+ 1592, /* GL_TEXTURE_2D_ARRAY_EXT */
+ 1255, /* GL_PROXY_TEXTURE_2D_ARRAY_EXT */
+ 1598, /* GL_TEXTURE_BINDING_1D_ARRAY_EXT */
+ 1600, /* GL_TEXTURE_BINDING_2D_ARRAY_EXT */
+ 1461, /* GL_SRGB */
+ 1462, /* GL_SRGB8 */
+ 1464, /* GL_SRGB_ALPHA */
+ 1463, /* GL_SRGB8_ALPHA8 */
+ 1421, /* GL_SLUMINANCE_ALPHA */
+ 1420, /* GL_SLUMINANCE8_ALPHA8 */
+ 1418, /* GL_SLUMINANCE */
+ 1419, /* GL_SLUMINANCE8 */
264, /* GL_COMPRESSED_SRGB */
265, /* GL_COMPRESSED_SRGB_ALPHA */
262, /* GL_COMPRESSED_SLUMINANCE */
263, /* GL_COMPRESSED_SLUMINANCE_ALPHA */
- 1146, /* GL_POINT_SPRITE_COORD_ORIGIN */
- 707, /* GL_LOWER_LEFT */
- 1752, /* GL_UPPER_LEFT */
- 1480, /* GL_STENCIL_BACK_REF */
- 1481, /* GL_STENCIL_BACK_VALUE_MASK */
- 1482, /* GL_STENCIL_BACK_WRITEMASK */
+ 1148, /* GL_POINT_SPRITE_COORD_ORIGIN */
+ 709, /* GL_LOWER_LEFT */
+ 1756, /* GL_UPPER_LEFT */
+ 1484, /* GL_STENCIL_BACK_REF */
+ 1485, /* GL_STENCIL_BACK_VALUE_MASK */
+ 1486, /* GL_STENCIL_BACK_WRITEMASK */
437, /* GL_DRAW_FRAMEBUFFER_BINDING_EXT */
- 1294, /* GL_RENDERBUFFER_BINDING_EXT */
- 1275, /* GL_READ_FRAMEBUFFER */
+ 1298, /* GL_RENDERBUFFER_BINDING_EXT */
+ 1279, /* GL_READ_FRAMEBUFFER */
436, /* GL_DRAW_FRAMEBUFFER */
- 1276, /* GL_READ_FRAMEBUFFER_BINDING_EXT */
- 1304, /* GL_RENDERBUFFER_SAMPLES */
- 539, /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
- 537, /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
- 548, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
- 544, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
- 546, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
- 551, /* GL_FRAMEBUFFER_COMPLETE */
- 555, /* GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
- 561, /* GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
- 559, /* GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT */
- 557, /* GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT */
- 560, /* GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT */
- 558, /* GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT */
- 564, /* GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT */
- 567, /* GL_FRAMEBUFFER_UNSUPPORTED */
- 565, /* GL_FRAMEBUFFER_STATUS_ERROR_EXT */
- 847, /* GL_MAX_COLOR_ATTACHMENTS_EXT */
+ 1280, /* GL_READ_FRAMEBUFFER_BINDING_EXT */
+ 1308, /* GL_RENDERBUFFER_SAMPLES */
+ 540, /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
+ 538, /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
+ 549, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
+ 545, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
+ 547, /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
+ 552, /* GL_FRAMEBUFFER_COMPLETE */
+ 556, /* GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
+ 562, /* GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
+ 560, /* GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT */
+ 558, /* GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT */
+ 561, /* GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT */
+ 559, /* GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT */
+ 565, /* GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT */
+ 568, /* GL_FRAMEBUFFER_UNSUPPORTED */
+ 566, /* GL_FRAMEBUFFER_STATUS_ERROR_EXT */
+ 849, /* GL_MAX_COLOR_ATTACHMENTS_EXT */
152, /* GL_COLOR_ATTACHMENT0 */
154, /* GL_COLOR_ATTACHMENT1 */
168, /* GL_COLOR_ATTACHMENT2 */
@@ -4989,37 +4997,41 @@ static const unsigned reduced_enums[1321] =
163, /* GL_COLOR_ATTACHMENT14 */
165, /* GL_COLOR_ATTACHMENT15 */
344, /* GL_DEPTH_ATTACHMENT */
- 1470, /* GL_STENCIL_ATTACHMENT */
- 530, /* GL_FRAMEBUFFER */
- 1292, /* GL_RENDERBUFFER */
- 1306, /* GL_RENDERBUFFER_WIDTH */
- 1299, /* GL_RENDERBUFFER_HEIGHT */
- 1301, /* GL_RENDERBUFFER_INTERNAL_FORMAT */
- 1493, /* GL_STENCIL_INDEX_EXT */
- 1490, /* GL_STENCIL_INDEX1_EXT */
- 1491, /* GL_STENCIL_INDEX4_EXT */
- 1492, /* GL_STENCIL_INDEX8_EXT */
- 1489, /* GL_STENCIL_INDEX16_EXT */
- 1303, /* GL_RENDERBUFFER_RED_SIZE */
- 1298, /* GL_RENDERBUFFER_GREEN_SIZE */
- 1295, /* GL_RENDERBUFFER_BLUE_SIZE */
- 1293, /* GL_RENDERBUFFER_ALPHA_SIZE */
- 1296, /* GL_RENDERBUFFER_DEPTH_SIZE */
- 1305, /* GL_RENDERBUFFER_STENCIL_SIZE */
- 563, /* GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
- 903, /* GL_MAX_SAMPLES */
+ 1474, /* GL_STENCIL_ATTACHMENT */
+ 531, /* GL_FRAMEBUFFER */
+ 1296, /* GL_RENDERBUFFER */
+ 1310, /* GL_RENDERBUFFER_WIDTH */
+ 1303, /* GL_RENDERBUFFER_HEIGHT */
+ 1305, /* GL_RENDERBUFFER_INTERNAL_FORMAT */
+ 1497, /* GL_STENCIL_INDEX_EXT */
+ 1494, /* GL_STENCIL_INDEX1_EXT */
+ 1495, /* GL_STENCIL_INDEX4_EXT */
+ 1496, /* GL_STENCIL_INDEX8_EXT */
+ 1493, /* GL_STENCIL_INDEX16_EXT */
+ 1307, /* GL_RENDERBUFFER_RED_SIZE */
+ 1302, /* GL_RENDERBUFFER_GREEN_SIZE */
+ 1299, /* GL_RENDERBUFFER_BLUE_SIZE */
+ 1297, /* GL_RENDERBUFFER_ALPHA_SIZE */
+ 1300, /* GL_RENDERBUFFER_DEPTH_SIZE */
+ 1309, /* GL_RENDERBUFFER_STENCIL_SIZE */
+ 564, /* GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
+ 905, /* GL_MAX_SAMPLES */
+ 1266, /* GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT */
+ 478, /* GL_FIRST_VERTEX_CONVENTION_EXT */
+ 661, /* GL_LAST_VERTEX_CONVENTION_EXT */
+ 1245, /* GL_PROVOKING_VERTEX_EXT */
298, /* GL_COPY_READ_BUFFER */
299, /* GL_COPY_WRITE_BUFFER */
- 1353, /* GL_RGBA_SNORM */
- 1349, /* GL_RGBA8_SNORM */
- 1410, /* GL_SIGNED_NORMALIZED */
+ 1357, /* GL_RGBA_SNORM */
+ 1353, /* GL_RGBA8_SNORM */
+ 1414, /* GL_SIGNED_NORMALIZED */
463, /* GL_EVAL_BIT */
- 1273, /* GL_RASTER_POSITION_UNCLIPPED_IBM */
- 701, /* GL_LIST_BIT */
- 1602, /* GL_TEXTURE_BIT */
- 1384, /* GL_SCISSOR_BIT */
+ 1277, /* GL_RASTER_POSITION_UNCLIPPED_IBM */
+ 703, /* GL_LIST_BIT */
+ 1606, /* GL_TEXTURE_BIT */
+ 1388, /* GL_SCISSOR_BIT */
29, /* GL_ALL_ATTRIB_BITS */
- 988, /* GL_MULTISAMPLE_BIT */
+ 990, /* GL_MULTISAMPLE_BIT */
30, /* GL_ALL_CLIENT_ATTRIB_BITS */
};
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 0d708fc246..96552599a8 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -109,6 +109,7 @@ static const struct {
{ OFF, "GL_EXT_pixel_buffer_object", F(EXT_pixel_buffer_object) },
{ OFF, "GL_EXT_point_parameters", F(EXT_point_parameters) },
{ ON, "GL_EXT_polygon_offset", F(EXT_polygon_offset) },
+ { OFF, "GL_EXT_provoking_vertex", F(EXT_provoking_vertex) },
{ ON, "GL_EXT_rescale_normal", F(EXT_rescale_normal) },
{ OFF, "GL_EXT_secondary_color", F(EXT_secondary_color) },
{ ON, "GL_EXT_separate_specular_color", F(EXT_separate_specular_color) },
@@ -266,6 +267,7 @@ _mesa_enable_sw_extensions(GLcontext *ctx)
ctx->Extensions.EXT_pixel_buffer_object = GL_TRUE;
#endif
ctx->Extensions.EXT_point_parameters = GL_TRUE;
+ ctx->Extensions.EXT_provoking_vertex = GL_TRUE;
ctx->Extensions.EXT_shadow_funcs = GL_TRUE;
ctx->Extensions.EXT_secondary_color = GL_TRUE;
ctx->Extensions.EXT_shared_texture_palette = GL_TRUE;
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 1ed6fc3383..516159bbf2 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -1835,6 +1835,14 @@ _mesa_GetBooleanv( GLenum pname, GLboolean *params )
CHECK_EXT1(EXT_framebuffer_blit, "GetBooleanv");
params[0] = INT_TO_BOOLEAN(ctx->ReadBuffer->Name);
break;
+ case GL_PROVOKING_VERTEX_EXT:
+ CHECK_EXT1(EXT_provoking_vertex, "GetBooleanv");
+ params[0] = ctx->Light.ProvokingVertex;
+ break;
+ case GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT:
+ CHECK_EXT1(EXT_provoking_vertex, "GetBooleanv");
+ params[0] = ctx->Const.QuadsFollowProvokingVertexConvention;
+ break;
case GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB:
CHECK_EXT1(ARB_fragment_shader, "GetBooleanv");
params[0] = INT_TO_BOOLEAN(ctx->Const.FragmentProgram.MaxUniformComponents);
@@ -3649,6 +3657,14 @@ _mesa_GetFloatv( GLenum pname, GLfloat *params )
CHECK_EXT1(EXT_framebuffer_blit, "GetFloatv");
params[0] = (GLfloat)(ctx->ReadBuffer->Name);
break;
+ case GL_PROVOKING_VERTEX_EXT:
+ CHECK_EXT1(EXT_provoking_vertex, "GetFloatv");
+ params[0] = BOOLEAN_TO_FLOAT(ctx->Light.ProvokingVertex);
+ break;
+ case GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT:
+ CHECK_EXT1(EXT_provoking_vertex, "GetFloatv");
+ params[0] = BOOLEAN_TO_FLOAT(ctx->Const.QuadsFollowProvokingVertexConvention);
+ break;
case GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB:
CHECK_EXT1(ARB_fragment_shader, "GetFloatv");
params[0] = (GLfloat)(ctx->Const.FragmentProgram.MaxUniformComponents);
@@ -5463,6 +5479,14 @@ _mesa_GetIntegerv( GLenum pname, GLint *params )
CHECK_EXT1(EXT_framebuffer_blit, "GetIntegerv");
params[0] = ctx->ReadBuffer->Name;
break;
+ case GL_PROVOKING_VERTEX_EXT:
+ CHECK_EXT1(EXT_provoking_vertex, "GetIntegerv");
+ params[0] = BOOLEAN_TO_INT(ctx->Light.ProvokingVertex);
+ break;
+ case GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT:
+ CHECK_EXT1(EXT_provoking_vertex, "GetIntegerv");
+ params[0] = BOOLEAN_TO_INT(ctx->Const.QuadsFollowProvokingVertexConvention);
+ break;
case GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB:
CHECK_EXT1(ARB_fragment_shader, "GetIntegerv");
params[0] = ctx->Const.FragmentProgram.MaxUniformComponents;
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py
index 43ee5fff10..5666ad0e42 100644
--- a/src/mesa/main/get_gen.py
+++ b/src/mesa/main/get_gen.py
@@ -976,6 +976,13 @@ StateVars = [
( "GL_READ_FRAMEBUFFER_BINDING_EXT", GLint, ["ctx->ReadBuffer->Name"], "",
["EXT_framebuffer_blit"] ),
+ # GL_EXT_provoking_vertex
+ ( "GL_PROVOKING_VERTEX_EXT", GLboolean,
+ ["ctx->Light.ProvokingVertex"], "", ["EXT_provoking_vertex"] ),
+ ( "GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT", GLboolean,
+ ["ctx->Const.QuadsFollowProvokingVertexConvention"], "",
+ ["EXT_provoking_vertex"] ),
+
# GL_ARB_fragment_shader
( "GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB", GLint,
["ctx->Const.FragmentProgram.MaxUniformComponents"], "",
diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c
index ac604fd12c..0f0d831fee 100644
--- a/src/mesa/main/light.c
+++ b/src/mesa/main/light.c
@@ -1,8 +1,9 @@
/*
* Mesa 3-D graphics library
- * Version: 7.0
+ * Version: 7.5
*
- * Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2008 Brian Paul All Rights Reserved.
+ * Copyright (C) 2009 VMware, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -64,6 +65,37 @@ _mesa_ShadeModel( GLenum mode )
/**
+ * Set the provoking vertex (the vertex which specifies the prim's
+ * color when flat shading) to either the first or last vertex of the
+ * triangle or line.
+ */
+void GLAPIENTRY
+_mesa_ProvokingVertexEXT(GLenum mode)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ ASSERT_OUTSIDE_BEGIN_END(ctx);
+
+ if (MESA_VERBOSE&VERBOSE_API)
+ _mesa_debug(ctx, "glProvokingVertexEXT 0x%x\n", mode);
+
+ switch (mode) {
+ case GL_FIRST_VERTEX_CONVENTION_EXT:
+ case GL_LAST_VERTEX_CONVENTION_EXT:
+ break;
+ default:
+ _mesa_error(ctx, GL_INVALID_ENUM, "glProvokingVertexEXT(0x%x)", mode);
+ return;
+ }
+
+ if (ctx->Light.ProvokingVertex == mode)
+ return;
+
+ FLUSH_VERTICES(ctx, _NEW_LIGHT);
+ ctx->Light.ProvokingVertex = mode;
+}
+
+
+/**
* Helper function called by _mesa_Lightfv and _mesa_PopAttrib to set
* per-light state.
* For GL_POSITION and GL_SPOT_DIRECTION the params position/direction
@@ -1348,6 +1380,7 @@ _mesa_init_lighting( GLcontext *ctx )
init_lightmodel( &ctx->Light.Model );
init_material( &ctx->Light.Material );
ctx->Light.ShadeModel = GL_SMOOTH;
+ ctx->Light.ProvokingVertex = GL_LAST_VERTEX_CONVENTION_EXT;
ctx->Light.Enabled = GL_FALSE;
ctx->Light.ColorMaterialFace = GL_FRONT_AND_BACK;
ctx->Light.ColorMaterialMode = GL_AMBIENT_AND_DIFFUSE;
diff --git a/src/mesa/main/light.h b/src/mesa/main/light.h
index b97e17b5be..9c1a5eefad 100644
--- a/src/mesa/main/light.h
+++ b/src/mesa/main/light.h
@@ -1,13 +1,9 @@
-/**
- * \file light.h
- * Lighting.
- */
-
/*
* Mesa 3-D graphics library
- * Version: 3.5
+ * Version: 7.5
*
- * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2008 Brian Paul All Rights Reserved.
+ * Copyright (C) 2009 VMware, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -37,6 +33,10 @@
extern void GLAPIENTRY
_mesa_ShadeModel( GLenum mode );
+extern void GLAPIENTRY
+_mesa_ProvokingVertexEXT(GLenum mode);
+
+
#if _HAVE_FULL_GL
extern void GLAPIENTRY
_mesa_ColorMaterial( GLenum face, GLenum mode );
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 71a85a9db8..0c071ee19a 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -770,6 +770,7 @@ struct gl_light_attrib
GLboolean Enabled; /**< Lighting enabled flag */
GLenum ShadeModel; /**< GL_FLAT or GL_SMOOTH */
+ GLenum ProvokingVertex; /**< GL_EXT_provoking_vertex */
GLenum ColorMaterialFace; /**< GL_FRONT, BACK or FRONT_AND_BACK */
GLenum ColorMaterialMode; /**< GL_AMBIENT, GL_DIFFUSE, etc */
GLbitfield ColorMaterialBitmask; /**< bitmask formed from Face and Mode */
@@ -2424,6 +2425,9 @@ struct gl_constants
GLuint MaxVarying; /**< Number of float[4] varying parameters */
GLbitfield SupportedBumpUnits; /**> units supporting GL_ATI_envmap_bumpmap as targets */
+
+ /**< GL_EXT_provoking_vertex */
+ GLboolean QuadsFollowProvokingVertexConvention;
};
@@ -2494,6 +2498,7 @@ struct gl_extensions
GLboolean EXT_pixel_buffer_object;
GLboolean EXT_point_parameters;
GLboolean EXT_polygon_offset;
+ GLboolean EXT_provoking_vertex;
GLboolean EXT_rescale_normal;
GLboolean EXT_shadow_funcs;
GLboolean EXT_secondary_color;
diff --git a/src/mesa/sparc/glapi_sparc.S b/src/mesa/sparc/glapi_sparc.S
index 1771c576ab..c1663dfc83 100644
--- a/src/mesa/sparc/glapi_sparc.S
+++ b/src/mesa/sparc/glapi_sparc.S
@@ -998,16 +998,17 @@ gl_dispatch_functions_start:
GL_STUB(gl_dispatch_stub_771, _gloffset_BlitFramebufferEXT)
HIDDEN(gl_dispatch_stub_771)
GL_STUB(glFramebufferTextureLayerEXT, _gloffset_FramebufferTextureLayerEXT)
- GL_STUB(gl_dispatch_stub_773, _gloffset_StencilFuncSeparateATI)
- HIDDEN(gl_dispatch_stub_773)
- GL_STUB(gl_dispatch_stub_774, _gloffset_ProgramEnvParameters4fvEXT)
+ GL_STUB(glProvokingVertexEXT, _gloffset_ProvokingVertexEXT)
+ GL_STUB(gl_dispatch_stub_774, _gloffset_StencilFuncSeparateATI)
HIDDEN(gl_dispatch_stub_774)
- GL_STUB(gl_dispatch_stub_775, _gloffset_ProgramLocalParameters4fvEXT)
+ GL_STUB(gl_dispatch_stub_775, _gloffset_ProgramEnvParameters4fvEXT)
HIDDEN(gl_dispatch_stub_775)
- GL_STUB(gl_dispatch_stub_776, _gloffset_GetQueryObjecti64vEXT)
+ GL_STUB(gl_dispatch_stub_776, _gloffset_ProgramLocalParameters4fvEXT)
HIDDEN(gl_dispatch_stub_776)
- GL_STUB(gl_dispatch_stub_777, _gloffset_GetQueryObjectui64vEXT)
+ GL_STUB(gl_dispatch_stub_777, _gloffset_GetQueryObjecti64vEXT)
HIDDEN(gl_dispatch_stub_777)
+ GL_STUB(gl_dispatch_stub_778, _gloffset_GetQueryObjectui64vEXT)
+ HIDDEN(gl_dispatch_stub_778)
GL_STUB_ALIAS(glArrayElementEXT, glArrayElement)
GL_STUB_ALIAS(glBindTextureEXT, glBindTexture)
GL_STUB_ALIAS(glDrawArraysEXT, glDrawArrays)
diff --git a/src/mesa/state_tracker/st_atom_rasterizer.c b/src/mesa/state_tracker/st_atom_rasterizer.c
index 5c7206409c..36b28cb4df 100644
--- a/src/mesa/state_tracker/st_atom_rasterizer.c
+++ b/src/mesa/state_tracker/st_atom_rasterizer.c
@@ -102,6 +102,9 @@ static void update_raster_state( struct st_context *st )
if (ctx->Light.ShadeModel == GL_FLAT)
raster->flatshade = 1;
+ if (ctx->Light.ProvokingVertex == GL_FIRST_VERTEX_CONVENTION_EXT)
+ raster->flatshade_first = 1;
+
/* _NEW_LIGHT | _NEW_PROGRAM
*
* Back-face colors can come from traditional lighting (when
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 8f63819e63..3cc40ee884 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -163,6 +163,7 @@ void st_init_extensions(struct st_context *st)
ctx->Extensions.EXT_multi_draw_arrays = GL_TRUE;
ctx->Extensions.EXT_pixel_buffer_object = GL_TRUE;
ctx->Extensions.EXT_point_parameters = GL_TRUE;
+ ctx->Extensions.EXT_provoking_vertex = GL_TRUE;
ctx->Extensions.EXT_secondary_color = GL_TRUE;
ctx->Extensions.EXT_stencil_wrap = GL_TRUE;
ctx->Extensions.EXT_texture_env_add = GL_TRUE;
diff --git a/src/mesa/tnl/t_vb_rendertmp.h b/src/mesa/tnl/t_vb_rendertmp.h
index 2b5f4e93b2..75f6f55bdc 100644
--- a/src/mesa/tnl/t_vb_rendertmp.h
+++ b/src/mesa/tnl/t_vb_rendertmp.h
@@ -82,7 +82,10 @@ static void TAG(render_lines)( GLcontext *ctx,
INIT(GL_LINES);
for (j=start+1; j<count; j+=2 ) {
RESET_STIPPLE;
- RENDER_LINE( ELT(j-1), ELT(j) );
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
+ RENDER_LINE( ELT(j-1), ELT(j) );
+ else
+ RENDER_LINE( ELT(j), ELT(j-1) );
}
POSTFIX;
}
@@ -103,9 +106,12 @@ static void TAG(render_line_strip)( GLcontext *ctx,
RESET_STIPPLE;
}
- for (j=start+1; j<count; j++ )
- RENDER_LINE( ELT(j-1), ELT(j) );
-
+ for (j=start+1; j<count; j++ ) {
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
+ RENDER_LINE( ELT(j-1), ELT(j) );
+ else
+ RENDER_LINE( ELT(j), ELT(j-1) );
+ }
POSTFIX;
}
@@ -125,15 +131,24 @@ static void TAG(render_line_loop)( GLcontext *ctx,
if (start+1 < count) {
if (TEST_PRIM_BEGIN(flags)) {
RESET_STIPPLE;
- RENDER_LINE( ELT(start), ELT(start+1) );
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
+ RENDER_LINE( ELT(start), ELT(start+1) );
+ else
+ RENDER_LINE( ELT(start+1), ELT(start) );
}
for ( i = start+2 ; i < count ; i++) {
- RENDER_LINE( ELT(i-1), ELT(i) );
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
+ RENDER_LINE( ELT(i-1), ELT(i) );
+ else
+ RENDER_LINE( ELT(i), ELT(i-1) );
}
if ( TEST_PRIM_END(flags)) {
- RENDER_LINE( ELT(count-1), ELT(start) );
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
+ RENDER_LINE( ELT(count-1), ELT(start) );
+ else
+ RENDER_LINE( ELT(start), ELT(count-1) );
}
}
@@ -156,11 +171,17 @@ static void TAG(render_triangles)( GLcontext *ctx,
/* Leave the edgeflags as supplied by the user.
*/
RESET_STIPPLE;
- RENDER_TRI( ELT(j-2), ELT(j-1), ELT(j) );
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
+ RENDER_TRI( ELT(j-2), ELT(j-1), ELT(j) );
+ else
+ RENDER_TRI( ELT(j-1), ELT(j), ELT(j-2) );
}
} else {
for (j=start+2; j<count; j+=3) {
- RENDER_TRI( ELT(j-2), ELT(j-1), ELT(j) );
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
+ RENDER_TRI( ELT(j-2), ELT(j-1), ELT(j) );
+ else
+ RENDER_TRI( ELT(j-1), ELT(j), ELT(j-2) );
}
}
POSTFIX;
@@ -180,26 +201,38 @@ static void TAG(render_tri_strip)( GLcontext *ctx,
INIT(GL_TRIANGLE_STRIP);
if (NEED_EDGEFLAG_SETUP) {
for (j=start+2;j<count;j++,parity^=1) {
- GLuint ej2 = ELT(j-2+parity);
- GLuint ej1 = ELT(j-1-parity);
- GLuint ej = ELT(j);
- GLboolean ef2 = EDGEFLAG_GET( ej2 );
- GLboolean ef1 = EDGEFLAG_GET( ej1 );
- GLboolean ef = EDGEFLAG_GET( ej );
+ GLuint ej2, ej1, ej;
+ GLboolean ef2, ef1, ef;
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) {
+ ej2 = ELT(j-2+parity);
+ ej1 = ELT(j-1-parity);
+ ej = ELT(j);
+ }
+ else {
+ ej2 = ELT(j-1+parity);
+ ej1 = ELT(j-parity);
+ ej = ELT(j-2);
+ }
+ ef2 = EDGEFLAG_GET( ej2 );
+ ef1 = EDGEFLAG_GET( ej1 );
+ ef = EDGEFLAG_GET( ej );
if (TEST_PRIM_BEGIN(flags)) {
RESET_STIPPLE;
}
EDGEFLAG_SET( ej2, GL_TRUE );
EDGEFLAG_SET( ej1, GL_TRUE );
EDGEFLAG_SET( ej, GL_TRUE );
- RENDER_TRI( ej2, ej1, ej );
+ RENDER_TRI( ej2, ej1, ej );
EDGEFLAG_SET( ej2, ef2 );
EDGEFLAG_SET( ej1, ef1 );
EDGEFLAG_SET( ej, ef );
}
} else {
for (j=start+2; j<count ; j++, parity^=1) {
- RENDER_TRI( ELT(j-2+parity), ELT(j-1-parity), ELT(j) );
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
+ RENDER_TRI( ELT(j-2+parity), ELT(j-1-parity), ELT(j) );
+ else
+ RENDER_TRI( ELT(j-1+parity), ELT(j-parity), ELT(j-2) );
}
}
POSTFIX;
@@ -232,14 +265,20 @@ static void TAG(render_tri_fan)( GLcontext *ctx,
EDGEFLAG_SET( ejs, GL_TRUE );
EDGEFLAG_SET( ej1, GL_TRUE );
EDGEFLAG_SET( ej, GL_TRUE );
- RENDER_TRI( ejs, ej1, ej);
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
+ RENDER_TRI( ejs, ej1, ej);
+ else
+ RENDER_TRI( ej, ejs, ej1);
EDGEFLAG_SET( ejs, efs );
EDGEFLAG_SET( ej1, ef1 );
EDGEFLAG_SET( ej, ef );
}
} else {
for (j=start+2;j<count;j++) {
- RENDER_TRI( ELT(start), ELT(j-1), ELT(j) );
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
+ RENDER_TRI( ELT(start), ELT(j-1), ELT(j) );
+ else
+ RENDER_TRI( ELT(j), ELT(start), ELT(j-1) );
}
}
@@ -331,11 +370,19 @@ static void TAG(render_quads)( GLcontext *ctx,
/* Use user-specified edgeflags for quads.
*/
RESET_STIPPLE;
- RENDER_QUAD( ELT(j-3), ELT(j-2), ELT(j-1), ELT(j) );
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT ||
+ !ctx->Const.QuadsFollowProvokingVertexConvention)
+ RENDER_QUAD( ELT(j-3), ELT(j-2), ELT(j-1), ELT(j) );
+ else
+ RENDER_QUAD( ELT(j-2), ELT(j-1), ELT(j), ELT(j-3) );
}
} else {
for (j=start+3; j<count; j+=4) {
- RENDER_QUAD( ELT(j-3), ELT(j-2), ELT(j-1), ELT(j) );
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT ||
+ !ctx->Const.QuadsFollowProvokingVertexConvention)
+ RENDER_QUAD( ELT(j-3), ELT(j-2), ELT(j-1), ELT(j) );
+ else
+ RENDER_QUAD( ELT(j-2), ELT(j-1), ELT(j), ELT(j-3) );
}
}
POSTFIX;
@@ -367,7 +414,11 @@ static void TAG(render_quad_strip)( GLcontext *ctx,
EDGEFLAG_SET( ELT(j-2), GL_TRUE );
EDGEFLAG_SET( ELT(j-1), GL_TRUE );
EDGEFLAG_SET( ELT(j), GL_TRUE );
- RENDER_QUAD( ELT(j-1), ELT(j-3), ELT(j-2), ELT(j) );
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT ||
+ !ctx->Const.QuadsFollowProvokingVertexConvention)
+ RENDER_QUAD( ELT(j-1), ELT(j-3), ELT(j-2), ELT(j) );
+ else
+ RENDER_QUAD( ELT(j-2), ELT(j), ELT(j-1), ELT(j-3) );
EDGEFLAG_SET( ELT(j-3), ef3 );
EDGEFLAG_SET( ELT(j-2), ef2 );
EDGEFLAG_SET( ELT(j-1), ef1 );
@@ -375,7 +426,11 @@ static void TAG(render_quad_strip)( GLcontext *ctx,
}
} else {
for (j=start+3;j<count;j+=2) {
- RENDER_QUAD( ELT(j-1), ELT(j-3), ELT(j-2), ELT(j) );
+ if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT ||
+ !ctx->Const.QuadsFollowProvokingVertexConvention)
+ RENDER_QUAD( ELT(j-1), ELT(j-3), ELT(j-2), ELT(j) );
+ else
+ RENDER_QUAD( ELT(j-2), ELT(j), ELT(j-1), ELT(j-3) );
}
}
POSTFIX;
diff --git a/src/mesa/x86-64/glapi_x86-64.S b/src/mesa/x86-64/glapi_x86-64.S
index dc6cfa72f7..98b9ef3819 100644
--- a/src/mesa/x86-64/glapi_x86-64.S
+++ b/src/mesa/x86-64/glapi_x86-64.S
@@ -29256,25 +29256,16 @@ GL_PREFIX(FramebufferTextureLayerEXT):
.size GL_PREFIX(FramebufferTextureLayerEXT), .-GL_PREFIX(FramebufferTextureLayerEXT)
.p2align 4,,15
- .globl GL_PREFIX(_dispatch_stub_773)
- .type GL_PREFIX(_dispatch_stub_773), @function
- HIDDEN(GL_PREFIX(_dispatch_stub_773))
-GL_PREFIX(_dispatch_stub_773):
+ .globl GL_PREFIX(ProvokingVertexEXT)
+ .type GL_PREFIX(ProvokingVertexEXT), @function
+GL_PREFIX(ProvokingVertexEXT):
#if defined(GLX_USE_TLS)
call _x86_64_get_dispatch@PLT
movq 6184(%rax), %r11
jmp *%r11
#elif defined(PTHREADS)
pushq %rdi
- pushq %rsi
- pushq %rdx
- pushq %rcx
- pushq %rbp
call _x86_64_get_dispatch@PLT
- popq %rbp
- popq %rcx
- popq %rdx
- popq %rsi
popq %rdi
movq 6184(%rax), %r11
jmp *%r11
@@ -29286,20 +29277,12 @@ GL_PREFIX(_dispatch_stub_773):
jmp *%r11
1:
pushq %rdi
- pushq %rsi
- pushq %rdx
- pushq %rcx
- pushq %rbp
call _glapi_get_dispatch
- popq %rbp
- popq %rcx
- popq %rdx
- popq %rsi
popq %rdi
movq 6184(%rax), %r11
jmp *%r11
#endif /* defined(GLX_USE_TLS) */
- .size GL_PREFIX(_dispatch_stub_773), .-GL_PREFIX(_dispatch_stub_773)
+ .size GL_PREFIX(ProvokingVertexEXT), .-GL_PREFIX(ProvokingVertexEXT)
.p2align 4,,15
.globl GL_PREFIX(_dispatch_stub_774)
@@ -29406,7 +29389,11 @@ GL_PREFIX(_dispatch_stub_776):
pushq %rdi
pushq %rsi
pushq %rdx
+ pushq %rcx
+ pushq %rbp
call _x86_64_get_dispatch@PLT
+ popq %rbp
+ popq %rcx
popq %rdx
popq %rsi
popq %rdi
@@ -29422,7 +29409,11 @@ GL_PREFIX(_dispatch_stub_776):
pushq %rdi
pushq %rsi
pushq %rdx
+ pushq %rcx
+ pushq %rbp
call _glapi_get_dispatch
+ popq %rbp
+ popq %rcx
popq %rdx
popq %rsi
popq %rdi
@@ -29469,6 +29460,44 @@ GL_PREFIX(_dispatch_stub_777):
#endif /* defined(GLX_USE_TLS) */
.size GL_PREFIX(_dispatch_stub_777), .-GL_PREFIX(_dispatch_stub_777)
+ .p2align 4,,15
+ .globl GL_PREFIX(_dispatch_stub_778)
+ .type GL_PREFIX(_dispatch_stub_778), @function
+ HIDDEN(GL_PREFIX(_dispatch_stub_778))
+GL_PREFIX(_dispatch_stub_778):
+#if defined(GLX_USE_TLS)
+ call _x86_64_get_dispatch@PLT
+ movq 6224(%rax), %r11
+ jmp *%r11
+#elif defined(PTHREADS)
+ pushq %rdi
+ pushq %rsi
+ pushq %rdx
+ call _x86_64_get_dispatch@PLT
+ popq %rdx
+ popq %rsi
+ popq %rdi
+ movq 6224(%rax), %r11
+ jmp *%r11
+#else
+ movq _glapi_Dispatch(%rip), %rax
+ testq %rax, %rax
+ je 1f
+ movq 6224(%rax), %r11
+ jmp *%r11
+1:
+ pushq %rdi
+ pushq %rsi
+ pushq %rdx
+ call _glapi_get_dispatch
+ popq %rdx
+ popq %rsi
+ popq %rdi
+ movq 6224(%rax), %r11
+ jmp *%r11
+#endif /* defined(GLX_USE_TLS) */
+ .size GL_PREFIX(_dispatch_stub_778), .-GL_PREFIX(_dispatch_stub_778)
+
.globl GL_PREFIX(ArrayElementEXT) ; .set GL_PREFIX(ArrayElementEXT), GL_PREFIX(ArrayElement)
.globl GL_PREFIX(BindTextureEXT) ; .set GL_PREFIX(BindTextureEXT), GL_PREFIX(BindTexture)
.globl GL_PREFIX(DrawArraysEXT) ; .set GL_PREFIX(DrawArraysEXT), GL_PREFIX(DrawArrays)
diff --git a/src/mesa/x86/glapi_x86.S b/src/mesa/x86/glapi_x86.S
index 8d5ef4f90c..5ad5e4f622 100644
--- a/src/mesa/x86/glapi_x86.S
+++ b/src/mesa/x86/glapi_x86.S
@@ -952,16 +952,17 @@ GLNAME(gl_dispatch_functions_start):
GL_STUB(_dispatch_stub_771, _gloffset_BlitFramebufferEXT, _dispatch_stub_771@40)
HIDDEN(GL_PREFIX(_dispatch_stub_771, _dispatch_stub_771@40))
GL_STUB(FramebufferTextureLayerEXT, _gloffset_FramebufferTextureLayerEXT, FramebufferTextureLayerEXT@20)
- GL_STUB(_dispatch_stub_773, _gloffset_StencilFuncSeparateATI, _dispatch_stub_773@16)
- HIDDEN(GL_PREFIX(_dispatch_stub_773, _dispatch_stub_773@16))
- GL_STUB(_dispatch_stub_774, _gloffset_ProgramEnvParameters4fvEXT, _dispatch_stub_774@16)
+ GL_STUB(ProvokingVertexEXT, _gloffset_ProvokingVertexEXT, ProvokingVertexEXT@4)
+ GL_STUB(_dispatch_stub_774, _gloffset_StencilFuncSeparateATI, _dispatch_stub_774@16)
HIDDEN(GL_PREFIX(_dispatch_stub_774, _dispatch_stub_774@16))
- GL_STUB(_dispatch_stub_775, _gloffset_ProgramLocalParameters4fvEXT, _dispatch_stub_775@16)
+ GL_STUB(_dispatch_stub_775, _gloffset_ProgramEnvParameters4fvEXT, _dispatch_stub_775@16)
HIDDEN(GL_PREFIX(_dispatch_stub_775, _dispatch_stub_775@16))
- GL_STUB(_dispatch_stub_776, _gloffset_GetQueryObjecti64vEXT, _dispatch_stub_776@12)
- HIDDEN(GL_PREFIX(_dispatch_stub_776, _dispatch_stub_776@12))
- GL_STUB(_dispatch_stub_777, _gloffset_GetQueryObjectui64vEXT, _dispatch_stub_777@12)
+ GL_STUB(_dispatch_stub_776, _gloffset_ProgramLocalParameters4fvEXT, _dispatch_stub_776@16)
+ HIDDEN(GL_PREFIX(_dispatch_stub_776, _dispatch_stub_776@16))
+ GL_STUB(_dispatch_stub_777, _gloffset_GetQueryObjecti64vEXT, _dispatch_stub_777@12)
HIDDEN(GL_PREFIX(_dispatch_stub_777, _dispatch_stub_777@12))
+ GL_STUB(_dispatch_stub_778, _gloffset_GetQueryObjectui64vEXT, _dispatch_stub_778@12)
+ HIDDEN(GL_PREFIX(_dispatch_stub_778, _dispatch_stub_778@12))
GL_STUB_ALIAS(ArrayElementEXT, _gloffset_ArrayElement, ArrayElementEXT@4, ArrayElement, ArrayElement@4)
GL_STUB_ALIAS(BindTextureEXT, _gloffset_BindTexture, BindTextureEXT@8, BindTexture, BindTexture@8)
GL_STUB_ALIAS(DrawArraysEXT, _gloffset_DrawArrays, DrawArraysEXT@12, DrawArrays, DrawArrays@12)