From: Brian Paul Date: Tue, 28 Aug 2001 22:46:22 +0000 (+0000) Subject: OpenGL 1.3 support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a88946f9ad82350c2f7edc2185bf9394d2d4764;p=mesa.git OpenGL 1.3 support --- diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 227b889f561..42de21641ac 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -1,4 +1,4 @@ -/* $Id: osmesa.c,v 1.63 2001/07/14 17:53:04 brianp Exp $ */ +/* $Id: osmesa.c,v 1.64 2001/08/28 22:46:22 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -306,6 +306,7 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits, } _mesa_enable_sw_extensions(&(osmesa->gl_ctx)); + _mesa_enable_1_3_extensions(&(osmesa->gl_ctx)); osmesa->gl_buffer = _mesa_create_framebuffer( osmesa->gl_visual, osmesa->gl_visual->depthBits > 0, diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index a487f229055..a077749d597 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -1,4 +1,4 @@ -/* $Id: xm_api.c,v 1.25 2001/06/15 14:18:46 brianp Exp $ */ +/* $Id: xm_api.c,v 1.26 2001/08/28 22:46:22 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1636,7 +1636,7 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list ) } _mesa_enable_sw_extensions(ctx); - _mesa_enable_extension(ctx, "GL_ARB_texture_compression"); + _mesa_enable_1_3_extensions(ctx); ctx->Driver.BaseCompressedTexFormat = _mesa_base_compressed_texformat; ctx->Driver.CompressedTextureSize = _mesa_compressed_texture_size; ctx->Driver.GetCompressedTexImage = _mesa_get_compressed_teximage; @@ -2506,7 +2506,7 @@ const char *XMesaGetString( XMesaContext c, int name ) { (void) c; if (name==XMESA_VERSION) { - return "3.1"; + return "3.5"; } else if (name==XMESA_EXTENSIONS) { return ""; diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h index 6d986680671..8719b6c8246 100644 --- a/src/mesa/glapi/glapitemp.h +++ b/src/mesa/glapi/glapitemp.h @@ -1,4 +1,4 @@ -/* $Id: glapitemp.h,v 1.29 2001/06/05 19:29:41 brianp Exp $ */ +/* $Id: glapitemp.h,v 1.30 2001/08/28 22:46:22 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -97,6 +97,16 @@ KEYWORD1 void KEYWORD2 NAME(AlphaFunc)(GLenum func, GLclampf ref) DISPATCH(AlphaFunc, (func, ref), (F, "glAlphaFunc(0x%x, %g);", func, ref)); } +KEYWORD1 void KEYWORD2 NAME(ArrayElementEXT)(GLint i) +{ + DISPATCH(ArrayElement, (i), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(Begin)(GLenum mode) +{ + DISPATCH(Begin, (mode), (F, "glBegin(0x%x);", mode)); +} + KEYWORD1 void KEYWORD2 NAME(Bitmap)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) { DISPATCH(Bitmap, (width, height, xorig, yorig, xmove, ymove, bitmap), (F, "glBitmap(%d %d %g %g %g %g %p;", width, height, xorig, yorig, xmove, ymove, bitmap)); @@ -107,6 +117,16 @@ KEYWORD1 void KEYWORD2 NAME(BlendFunc)(GLenum sfactor, GLenum dfactor) DISPATCH(BlendFunc, (sfactor, dfactor), (F, "glBlendFunc(0x%x, 0x%x);", sfactor, dfactor)); } +KEYWORD1 void KEYWORD2 NAME(CallList)(GLuint list) +{ + DISPATCH(CallList, (list), (F, "glCallList(%u);", list)); +} + +KEYWORD1 void KEYWORD2 NAME(CallLists)(GLsizei n, GLenum type, const GLvoid *lists) +{ + DISPATCH(CallLists, (n, type, lists), (F, "glCallLists(%d, 0x%x, %p);", n, type, lists)); +} + KEYWORD1 void KEYWORD2 NAME(Clear)(GLbitfield mask) { DISPATCH(Clear, (mask), (F, "glClear(0x%x);", mask)); @@ -142,6 +162,166 @@ KEYWORD1 void KEYWORD2 NAME(ClipPlane)(GLenum plane, const GLdouble *equation) DISPATCH(ClipPlane, (plane, equation), (F, "glClipPlane(%p);", equation)); } +KEYWORD1 void KEYWORD2 NAME(Color3b)(GLbyte red, GLbyte green, GLbyte blue) +{ + DISPATCH(Color3b, (red, green, blue), (F, "glColor3b(%d, %d, %d);", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3d)(GLdouble red, GLdouble green, GLdouble blue) +{ + DISPATCH(Color3d, (red, green, blue), (F, "glColor3d(%g, %g, %g);", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3f)(GLfloat red, GLfloat green, GLfloat blue) +{ + DISPATCH(Color3f, (red, green, blue), (F, "glColor3f(%g, %g, %g);", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3i)(GLint red, GLint green, GLint blue) +{ + DISPATCH(Color3i, (red, green, blue), (F, "glColor3i(%d, %d, %d);", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3s)(GLshort red, GLshort green, GLshort blue) +{ + DISPATCH(Color3s, (red, green, blue), (F, "glColor3s(%d, %d, %d);", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3ub)(GLubyte red, GLubyte green, GLubyte blue) +{ + DISPATCH(Color3ub, (red, green, blue), (F, "glColor3ub(%u, %u, %u);", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3ui)(GLuint red, GLuint green, GLuint blue) +{ + DISPATCH(Color3ui, (red, green, blue), (F, "glColor3ui(%u, %u, %u);", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3us)(GLushort red, GLushort green, GLushort blue) +{ + DISPATCH(Color3us, (red, green, blue), (F, "glColor3us(%u, %u, %u);", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) +{ + DISPATCH(Color4b, (red, green, blue, alpha), (F, "glColor4b(%d, %d, %d, %d);", red, green, blue, alpha)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) +{ + DISPATCH(Color4d, (red, green, blue, alpha), (F, "glColor4d(%g, %g, %g, %g);", red, green, blue, alpha)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +{ + DISPATCH(Color4f, (red, green, blue, alpha), (F, "glColor4b(%g, %g, %g, %g);", red, green, blue, alpha)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4i)(GLint red, GLint green, GLint blue, GLint alpha) +{ + DISPATCH(Color4i, (red, green, blue, alpha), (F, "glColor4i(%d, %d, %d);", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha) +{ + DISPATCH(Color4s, (red, green, blue, alpha), (F, "glColor4s(%d, %d, %d, %d);", red, green, blue, alpha)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) +{ + DISPATCH(Color4ub, (red, green, blue, alpha), (F, "glColor4ub(%u, %u, %u, %u);", red, green, blue, alpha)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha) +{ + DISPATCH(Color4ui, (red, green, blue, alpha), (F, "glColor4ui(%u, %u, %u, %u);", red, green, blue, alpha)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha) +{ + DISPATCH(Color4us, (red, green, blue, alpha), (F, "glColor4us(%u, %u, %u, %u);", red, green, blue, alpha)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3bv)(const GLbyte *v) +{ + DISPATCH(Color3bv, (v), (F, "glColor3bf(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3dv)(const GLdouble *v) +{ + DISPATCH(Color3dv, (v), (F, "glColor3dv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3fv)(const GLfloat *v) +{ + DISPATCH(Color3fv, (v), (F, "glColor3fv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3iv)(const GLint *v) +{ + DISPATCH(Color3iv, (v), (F, "glColor3iv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3sv)(const GLshort *v) +{ + DISPATCH(Color3sv, (v), (F, "glColor3sv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3ubv)(const GLubyte *v) +{ + DISPATCH(Color3ubv, (v), (F, "glColor3ubv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3uiv)(const GLuint *v) +{ + DISPATCH(Color3uiv, (v), (F, "glColor3uiv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color3usv)(const GLushort *v) +{ + DISPATCH(Color3usv, (v), (F, "glColor3usv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4bv)(const GLbyte *v) +{ + DISPATCH(Color4bv, (v), (F, "glColor3bv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4dv)(const GLdouble *v) +{ + DISPATCH(Color4dv, (v), (F, "glColor4dv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4fv)(const GLfloat *v) +{ + DISPATCH(Color4fv, (v), (F, "glColor4fv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4iv)(const GLint *v) +{ + DISPATCH(Color4iv, (v), (F, "glColor4iv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4sv)(const GLshort *v) +{ + DISPATCH(Color4sv, (v), (F, "glColor4sv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4ubv)(const GLubyte *v) +{ + DISPATCH(Color4ubv, (v), (F, "glColor4ubv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4uiv)(const GLuint *v) +{ + DISPATCH(Color4uiv, (v), (F, "glColor4uiv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Color4usv)(const GLushort *v) +{ + DISPATCH(Color4usv, (v), (F, "glColor4usv(%p);", v)); +} + KEYWORD1 void KEYWORD2 NAME(ColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { DISPATCH(ColorMask, (red, green, blue, alpha), (F, "glColorMask(%d, %d, %d, %d);", red, green, blue, alpha)); @@ -202,16 +382,71 @@ KEYWORD1 void KEYWORD2 NAME(DrawPixels)(GLsizei width, GLsizei height, GLenum fo DISPATCH(DrawPixels, (width, height, format, type, pixels), (F, "glDrawPixels(%d, %d, 0x%x, 0x%x, %p);", width, height, format, type, pixels)); } +KEYWORD1 void KEYWORD2 NAME(EdgeFlag)(GLboolean flag) +{ + DISPATCH(EdgeFlag, (flag), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(EdgeFlagv)(const GLboolean *flag) +{ + DISPATCH(EdgeFlagv, (flag), (F, ";")); +} + KEYWORD1 void KEYWORD2 NAME(Enable)(GLenum cap) { DISPATCH(Enable, (cap), (F, "glEnable(0x%x);", cap)); } +KEYWORD1 void KEYWORD2 NAME(End)(void) +{ + DISPATCH(End, (), (F, "glEnd();")); +} + KEYWORD1 void KEYWORD2 NAME(EndList)(void) { DISPATCH(EndList, (), (F, "glEndList();")); } +KEYWORD1 void KEYWORD2 NAME(EvalCoord1d)(GLdouble u) +{ + DISPATCH(EvalCoord1d, (u), (F, "glEvalCoord1d(%g);", u)); +} + +KEYWORD1 void KEYWORD2 NAME(EvalCoord1f)(GLfloat u) +{ + DISPATCH(EvalCoord1f, (u), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(EvalCoord1dv)(const GLdouble *u) +{ + DISPATCH(EvalCoord1dv, (u), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(EvalCoord1fv)(const GLfloat *u) +{ + DISPATCH(EvalCoord1fv, (u), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(EvalCoord2d)(GLdouble u, GLdouble v) +{ + DISPATCH(EvalCoord2d, (u, v), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(EvalCoord2f)(GLfloat u, GLfloat v) +{ + DISPATCH(EvalCoord2f, (u, v), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(EvalCoord2dv)(const GLdouble *u) +{ + DISPATCH(EvalCoord2dv, (u), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(EvalCoord2fv)(const GLfloat *u) +{ + DISPATCH(EvalCoord2fv, (u), (F, ";")); +} + KEYWORD1 void KEYWORD2 NAME(EvalMesh1)(GLenum mode, GLint i1, GLint i2) { DISPATCH(EvalMesh1, (mode, i1, i2), (F, "glEvalMesh(0x%x, %d, %d);", mode, i1, i2)); @@ -222,6 +457,16 @@ KEYWORD1 void KEYWORD2 NAME(EvalMesh2)(GLenum mode, GLint i1, GLint i2, GLint j1 DISPATCH(EvalMesh2, (mode, i1, i2, j1, j2), (F, "glEvalMesh2(0x%x, %d, %d, %d, %d);", mode, i1, i2, j1, j2)); } +KEYWORD1 void KEYWORD2 NAME(EvalPoint1)(GLint i) +{ + DISPATCH(EvalPoint1, (i), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(EvalPoint2)(GLint i, GLint j) +{ + DISPATCH(EvalPoint2, (i, j), (F, ";")); +} + KEYWORD1 void KEYWORD2 NAME(FeedbackBuffer)(GLsizei size, GLenum type, GLfloat *buffer) { DISPATCH(FeedbackBuffer, (size, type, buffer), (F, "glFeedbackBuffer(%d, 0x%x, %p);", size, type, buffer)); @@ -417,19 +662,69 @@ KEYWORD1 void KEYWORD2 NAME(Hint)(GLenum target, GLenum mode) DISPATCH(Hint, (target, mode), (F, "glHint(0x%x, 0x%x);", target, mode)); } -KEYWORD1 void KEYWORD2 NAME(IndexMask)(GLuint mask) +KEYWORD1 void KEYWORD2 NAME(Indexd)(GLdouble c) { - DISPATCH(IndexMask, (mask), (F, "glIndexMask(%u);", mask)); + DISPATCH(Indexd, (c), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(InitNames)(void) +KEYWORD1 void KEYWORD2 NAME(Indexdv)(const GLdouble *c) { - DISPATCH(InitNames, (), (F, "glInitNames();")); + DISPATCH(Indexdv, (c), (F, ";")); } -KEYWORD1 GLboolean KEYWORD2 NAME(IsEnabled)(GLenum cap) +KEYWORD1 void KEYWORD2 NAME(Indexf)(GLfloat c) { - RETURN_DISPATCH(IsEnabled, (cap), (F, "glIsEnabled(0x%x);", cap)); + DISPATCH(Indexf, (c), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(Indexfv)(const GLfloat *c) +{ + DISPATCH(Indexfv, (c), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(Indexi)(GLint c) +{ + DISPATCH(Indexi, (c), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(Indexiv)(const GLint *c) +{ + DISPATCH(Indexiv, (c), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(Indexs)(GLshort c) +{ + DISPATCH(Indexs, (c), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(Indexsv)(const GLshort *c) +{ + DISPATCH(Indexsv, (c), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(Indexub)(GLubyte c) +{ + DISPATCH(Indexub, (c), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(Indexubv)(const GLubyte *c) +{ + DISPATCH(Indexubv, (c), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(IndexMask)(GLuint mask) +{ + DISPATCH(IndexMask, (mask), (F, "glIndexMask(%u);", mask)); +} + +KEYWORD1 void KEYWORD2 NAME(InitNames)(void) +{ + DISPATCH(InitNames, (), (F, "glInitNames();")); +} + +KEYWORD1 GLboolean KEYWORD2 NAME(IsEnabled)(GLenum cap) +{ + RETURN_DISPATCH(IsEnabled, (cap), (F, "glIsEnabled(0x%x);", cap)); } KEYWORD1 GLboolean KEYWORD2 NAME(IsList)(GLuint list) @@ -557,6 +852,26 @@ KEYWORD1 void KEYWORD2 NAME(MapGrid2f)(GLint un, GLfloat u1, GLfloat u2, GLint v DISPATCH(MapGrid2f, (un, u1, u2, vn, v1, v2), (F, ";")); } +KEYWORD1 void KEYWORD2 NAME(Materialf)(GLenum face, GLenum pname, GLfloat param) +{ + DISPATCH(Materialf, (face, pname, param), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(Materiali)(GLenum face, GLenum pname, GLint param) +{ + DISPATCH(Materiali, (face, pname, param), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(Materialfv)(GLenum face, GLenum pname, const GLfloat *params) +{ + DISPATCH(Materialfv, (face, pname, params), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(Materialiv)(GLenum face, GLenum pname, const GLint *params) +{ + DISPATCH(Materialiv, (face, pname, params), (F, ";")); +} + KEYWORD1 void KEYWORD2 NAME(MatrixMode)(GLenum mode) { DISPATCH(MatrixMode, (mode), (F, "glMatrixMode(0x%x);", mode)); @@ -577,6 +892,56 @@ KEYWORD1 void KEYWORD2 NAME(NewList)(GLuint list, GLenum mode) DISPATCH(NewList, (list, mode), (F, ";")); } +KEYWORD1 void KEYWORD2 NAME(Normal3b)(GLbyte nx, GLbyte ny, GLbyte nz) +{ + DISPATCH(Normal3b, (nx, ny, nz), (F, "glNormal3b(%d, %d, %d);", nx, ny, nz)); +} + +KEYWORD1 void KEYWORD2 NAME(Normal3bv)(const GLbyte *v) +{ + DISPATCH(Normal3bv, (v), (F, "glNormal3bv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Normal3d)(GLdouble nx, GLdouble ny, GLdouble nz) +{ + DISPATCH(Normal3d, (nx, ny, nz), (F, "glNormal3d(%f, %f, %f);", nx, ny, nz)); +} + +KEYWORD1 void KEYWORD2 NAME(Normal3dv)(const GLdouble *v) +{ + DISPATCH(Normal3dv, (v), (F, "glNormal3dv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Normal3f)(GLfloat nx, GLfloat ny, GLfloat nz) +{ + DISPATCH(Normal3f, (nx, ny, nz), (F, "glNormal3f(%g, %g, %g);", nx, ny, nz)); +} + +KEYWORD1 void KEYWORD2 NAME(Normal3fv)(const GLfloat *v) +{ + DISPATCH(Normal3fv, (v), (F, "glNormal3fv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Normal3i)(GLint nx, GLint ny, GLint nz) +{ + DISPATCH(Normal3i, (nx, ny, nz), (F, "glNormal3i(%d, %d, %d);", nx, ny, nz)); +} + +KEYWORD1 void KEYWORD2 NAME(Normal3iv)(const GLint *v) +{ + DISPATCH(Normal3iv, (v), (F, "glNormal3iv(%p);", v)); +} + +KEYWORD1 void KEYWORD2 NAME(Normal3s)(GLshort nx, GLshort ny, GLshort nz) +{ + DISPATCH(Normal3s, (nx, ny, nz), (F, "glNormal3s(%d, %d, %d);", nx, ny, nz)); +} + +KEYWORD1 void KEYWORD2 NAME(Normal3sv)(const GLshort *v) +{ + DISPATCH(Normal3sv, (v), (F, "glNormal3sv(%p);", v)); +} + KEYWORD1 void KEYWORD2 NAME(Ortho)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) { DISPATCH(Ortho, (left, right, bottom, top, nearval, farval), (F, "glOrtho(%f, %f, %f, %f, %f, %f);", left, right, bottom, top, nearval, farval)); @@ -897,2507 +1262,2383 @@ KEYWORD1 void KEYWORD2 NAME(StencilOp)(GLenum fail, GLenum zfail, GLenum zpass) DISPATCH(StencilOp, (fail, zfail, zpass), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexGend)(GLenum coord, GLenum pname, GLdouble param) +KEYWORD1 void KEYWORD2 NAME(TexCoord1d)(GLdouble s) { - DISPATCH(TexGend, (coord, pname, param), (F, ";")); + DISPATCH(TexCoord1d, (s), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexGendv)(GLenum coord, GLenum pname, const GLdouble *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord1f)(GLfloat s) { - DISPATCH(TexGendv, (coord, pname, params), (F, ";")); + DISPATCH(TexCoord1f, (s), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexGenf)(GLenum coord, GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(TexCoord1i)(GLint s) { - DISPATCH(TexGenf, (coord, pname, param), (F, ";")); + DISPATCH(TexCoord1i, (s), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexGenfv)(GLenum coord, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord1s)(GLshort s) { - DISPATCH(TexGenfv, (coord, pname, params), (F, ";")); + DISPATCH(TexCoord1s, (s), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexGeni)(GLenum coord, GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(TexCoord2d)(GLdouble s, GLdouble t) { - DISPATCH(TexGeni, (coord, pname, param), (F, ";")); + DISPATCH(TexCoord2d, (s, t), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexGeniv)(GLenum coord, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord2f)(GLfloat s, GLfloat t) { - DISPATCH(TexGeniv, (coord, pname, params), (F, ";")); + DISPATCH(TexCoord2f, (s, t), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexEnvf)(GLenum target, GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(TexCoord2s)(GLshort s, GLshort t) { - DISPATCH(TexEnvf, (target, pname, param), (F, ";")); + DISPATCH(TexCoord2s, (s, t), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexEnvfv)(GLenum target, GLenum pname, const GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(TexCoord2i)(GLint s, GLint t) { - DISPATCH(TexEnvfv, (target, pname, param), (F, ";")); + DISPATCH(TexCoord2i, (s, t), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexEnvi)(GLenum target, GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(TexCoord3d)(GLdouble s, GLdouble t, GLdouble r) { - DISPATCH(TexEnvi, (target, pname, param), (F, ";")); + DISPATCH(TexCoord3d, (s, t, r), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexEnviv)(GLenum target, GLenum pname, const GLint *param) +KEYWORD1 void KEYWORD2 NAME(TexCoord3f)(GLfloat s, GLfloat t, GLfloat r) { - DISPATCH(TexEnviv, (target, pname, param), (F, ";")); + DISPATCH(TexCoord3f, (s, t, r), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(TexCoord3i)(GLint s, GLint t, GLint r) { - DISPATCH(TexImage1D, (target, level, internalformat, width, border, format, type, pixels), (F, ";")); + DISPATCH(TexCoord3i, (s, t, r), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(TexCoord3s)(GLshort s, GLshort t, GLshort r) { - DISPATCH(TexImage2D, (target, level, internalformat, width, height, border, format, type, pixels), (F, ";")); + DISPATCH(TexCoord3s, (s, t, r), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexParameterf)(GLenum target, GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(TexCoord4d)(GLdouble s, GLdouble t, GLdouble r, GLdouble q) { - DISPATCH(TexParameterf, (target, pname, param), (F, ";")); + DISPATCH(TexCoord4d, (s, t, r, q), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexParameterfv)(GLenum target, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord4f)(GLfloat s, GLfloat t, GLfloat r, GLfloat q) { - DISPATCH(TexParameterfv, (target, pname, params), (F, ";")); + DISPATCH(TexCoord4f, (s, t, r, q), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexParameteri)(GLenum target, GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(TexCoord4i)(GLint s, GLint t, GLint r, GLint q) { - DISPATCH(TexParameteri, (target, pname, param), (F, ";")); + DISPATCH(TexCoord4i, (s, t, r, q), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexParameteriv)(GLenum target, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord4s)(GLshort s, GLshort t, GLshort r, GLshort q) { - DISPATCH(TexParameteriv, (target, pname, params), (F, ";")); + DISPATCH(TexCoord4s, (s, t, r, q), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Translated)(GLdouble x, GLdouble y, GLdouble z) +KEYWORD1 void KEYWORD2 NAME(TexCoord1dv)(const GLdouble *v) { - DISPATCH(Translated, (x, y, z), (F, "glTranslated(%g, %g, %g);", x, y, z)); + DISPATCH(TexCoord1dv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Translatef)(GLfloat x, GLfloat y, GLfloat z) +KEYWORD1 void KEYWORD2 NAME(TexCoord1fv)(const GLfloat *v) { - DISPATCH(Translatef, (x, y, z), (F, "glTranslatef(%g, %g, %g);", x, y, z)); + DISPATCH(TexCoord1fv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Viewport)(GLint x, GLint y, GLsizei width, GLsizei height) +KEYWORD1 void KEYWORD2 NAME(TexCoord1iv)(const GLint *v) { - DISPATCH(Viewport, (x, y, width, height), (F, "glViewport(%d, %d, %d, %d);", x, y, width, height)); + DISPATCH(TexCoord1iv, (v), (F, ";")); } - - -/* GL 1.1 */ - -KEYWORD1 GLboolean KEYWORD2 NAME(AreTexturesResident)(GLsizei n, const GLuint *textures, GLboolean *residences) +KEYWORD1 void KEYWORD2 NAME(TexCoord1sv)(const GLshort *v) { - RETURN_DISPATCH(AreTexturesResident, (n, textures, residences), (F, "glAreTexturesResident(%d, %p, %p);", n, textures, residences)); + DISPATCH(TexCoord1sv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ArrayElement)(GLint i) +KEYWORD1 void KEYWORD2 NAME(TexCoord2dv)(const GLdouble *v) { - DISPATCH(ArrayElement, (i), (F, ";")); + DISPATCH(TexCoord2dv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(BindTexture)(GLenum target, GLuint texture) +KEYWORD1 void KEYWORD2 NAME(TexCoord2fv)(const GLfloat *v) { - DISPATCH(BindTexture, (target, texture), (F, ";")); + DISPATCH(TexCoord2fv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(TexCoord2iv)(const GLint *v) { - DISPATCH(ColorPointer, (size, type, stride, ptr), (F, ";")); + DISPATCH(TexCoord2iv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) +KEYWORD1 void KEYWORD2 NAME(TexCoord2sv)(const GLshort *v) { - DISPATCH(CopyTexImage1D, (target, level, internalformat, x, y, width, border), (F, ";")); + DISPATCH(TexCoord2sv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) +KEYWORD1 void KEYWORD2 NAME(TexCoord3dv)(const GLdouble *v) { - DISPATCH(CopyTexImage2D, (target, level, internalformat, x, y, width, height, border), (F, ";")); + DISPATCH(TexCoord3dv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) +KEYWORD1 void KEYWORD2 NAME(TexCoord3fv)(const GLfloat *v) { - DISPATCH(CopyTexSubImage1D, (target, level, xoffset, x, y, width), (F, ";")); + DISPATCH(TexCoord3fv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) +KEYWORD1 void KEYWORD2 NAME(TexCoord3iv)(const GLint *v) { - DISPATCH(CopyTexSubImage2D, (target, level, xoffset, yoffset, x, y, width, height), (F, ";")); + DISPATCH(TexCoord3iv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(DeleteTextures)(GLsizei n, const GLuint *textures) +KEYWORD1 void KEYWORD2 NAME(TexCoord3sv)(const GLshort *v) { - DISPATCH(DeleteTextures, (n, textures), (F, "glDeleteTextures(%d, %p);", n, textures)); + DISPATCH(TexCoord3sv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(DisableClientState)(GLenum cap) +KEYWORD1 void KEYWORD2 NAME(TexCoord4dv)(const GLdouble *v) { - DISPATCH(DisableClientState, (cap), (F, "glDisableClientState(0x%x);", cap)); + DISPATCH(TexCoord4dv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(DrawArrays)(GLenum mode, GLint first, GLsizei count) +KEYWORD1 void KEYWORD2 NAME(TexCoord4fv)(const GLfloat *v) { - DISPATCH(DrawArrays, (mode, first, count), (F, "glDrawArrays(0x%x, %d, %d);", mode, first, count)); + DISPATCH(TexCoord4fv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(EdgeFlagPointer)(GLsizei stride, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(TexCoord4iv)(const GLint *v) { - DISPATCH(EdgeFlagPointer, (stride, ptr), (F, "glEdgeFlagPointer(%d, %p);", stride, ptr)); + DISPATCH(TexCoord4iv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(EnableClientState)(GLenum cap) +KEYWORD1 void KEYWORD2 NAME(TexCoord4sv)(const GLshort *v) { - DISPATCH(EnableClientState, (cap), (F, "glEnableClientState(0x%x)", cap)); + DISPATCH(TexCoord4sv, (v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GenTextures)(GLsizei n, GLuint *textures) +KEYWORD1 void KEYWORD2 NAME(TexGend)(GLenum coord, GLenum pname, GLdouble param) { - DISPATCH(GenTextures, (n, textures), (F, "glGenTextures(%d, %p);", n, textures)); + DISPATCH(TexGend, (coord, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetPointerv)(GLenum pname, GLvoid **params) +KEYWORD1 void KEYWORD2 NAME(TexGendv)(GLenum coord, GLenum pname, const GLdouble *params) { - DISPATCH(GetPointerv, (pname, params), (F, "glGetPointerv(0x%x, %p);", pname, params)); + DISPATCH(TexGendv, (coord, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(IndexPointer)(GLenum type, GLsizei stride, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(TexGenf)(GLenum coord, GLenum pname, GLfloat param) { - DISPATCH(IndexPointer, (type, stride, ptr), (F, "glIndexPointer(0x%x, %d, %p);", type, stride, ptr)); + DISPATCH(TexGenf, (coord, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(InterleavedArrays)(GLenum format, GLsizei stride, const GLvoid *pointer) +KEYWORD1 void KEYWORD2 NAME(TexGenfv)(GLenum coord, GLenum pname, const GLfloat *params) { - DISPATCH(InterleavedArrays, (format, stride, pointer), (F, "glInterleavedArrays(0x%x, %d, %p);", format, stride, pointer)); + DISPATCH(TexGenfv, (coord, pname, params), (F, ";")); } -KEYWORD1 GLboolean KEYWORD2 NAME(IsTexture)(GLuint texture) +KEYWORD1 void KEYWORD2 NAME(TexGeni)(GLenum coord, GLenum pname, GLint param) { - RETURN_DISPATCH(IsTexture, (texture), (F, "glIsTexture(%u);", texture)); + DISPATCH(TexGeni, (coord, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(NormalPointer)(GLenum type, GLsizei stride, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(TexGeniv)(GLenum coord, GLenum pname, const GLint *params) { - DISPATCH(NormalPointer, (type, stride, ptr), (F, "glNormalPointer(0x%x, %d, %p);", type, stride, ptr)); + DISPATCH(TexGeniv, (coord, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(PolygonOffset)(GLfloat factor, GLfloat units) +KEYWORD1 void KEYWORD2 NAME(TexEnvf)(GLenum target, GLenum pname, GLfloat param) { - DISPATCH(PolygonOffset, (factor, units), (F, "glPolygonOffset(%g, %g);", factor, units)); + DISPATCH(TexEnvf, (target, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(PopClientAttrib)(void) +KEYWORD1 void KEYWORD2 NAME(TexEnvfv)(GLenum target, GLenum pname, const GLfloat *param) { - DISPATCH(PopClientAttrib, (), (F, "glPopClientAttrib();")); + DISPATCH(TexEnvfv, (target, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(PrioritizeTextures)(GLsizei n, const GLuint *textures, const GLclampf *priorities) +KEYWORD1 void KEYWORD2 NAME(TexEnvi)(GLenum target, GLenum pname, GLint param) { - DISPATCH(PrioritizeTextures, (n, textures, priorities), (F, "glPrioritizeTextures(%d, %p, %p);", n, textures, priorities)); + DISPATCH(TexEnvi, (target, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(PushClientAttrib)(GLbitfield mask) +KEYWORD1 void KEYWORD2 NAME(TexEnviv)(GLenum target, GLenum pname, const GLint *param) { - DISPATCH(PushClientAttrib, (mask), (F, "glPushClientAttrib(0x%x)", mask)); + DISPATCH(TexEnviv, (target, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(TexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) { - DISPATCH(TexCoordPointer, (size, type, stride, ptr), (F, ";")); + DISPATCH(TexImage1D, (target, level, internalformat, width, border, format, type, pixels), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(TexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) { - DISPATCH(TexSubImage1D, (target, level, xoffset, width, format, type, pixels), (F, ";")); + DISPATCH(TexImage2D, (target, level, internalformat, width, height, border, format, type, pixels), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(TexParameterf)(GLenum target, GLenum pname, GLfloat param) { - DISPATCH(TexSubImage2D, (target, level, xoffset, yoffset, width, height, format, type, pixels), (F, ";")); + DISPATCH(TexParameterf, (target, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(VertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(TexParameterfv)(GLenum target, GLenum pname, const GLfloat *params) { - DISPATCH(VertexPointer, (size, type, stride, ptr), (F, ";")); + DISPATCH(TexParameterfv, (target, pname, params), (F, ";")); } - -/* GL 1.2 */ - -KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) +KEYWORD1 void KEYWORD2 NAME(TexParameteri)(GLenum target, GLenum pname, GLint param) { - DISPATCH(CopyTexSubImage3D, (target, level, xoffset, yoffset, zoffset, x, y, width, height), (F, ";")); + DISPATCH(TexParameteri, (target, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(DrawRangeElements)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) +KEYWORD1 void KEYWORD2 NAME(TexParameteriv)(GLenum target, GLenum pname, const GLint *params) { - DISPATCH(DrawRangeElements, (mode, start, end, count, type, indices), (F, ";")); + DISPATCH(TexParameteriv, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(Translated)(GLdouble x, GLdouble y, GLdouble z) { - DISPATCH(TexImage3D, (target, level, internalformat, width, height, depth, border, format, type, pixels), (F, ";")); + DISPATCH(Translated, (x, y, z), (F, "glTranslated(%g, %g, %g);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(TexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(Translatef)(GLfloat x, GLfloat y, GLfloat z) { - DISPATCH(TexSubImage3D, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels), (F, ";")); + DISPATCH(Translatef, (x, y, z), (F, "glTranslatef(%g, %g, %g);", x, y, z)); } -/* GL_ARB_imaging */ - -KEYWORD1 void KEYWORD2 NAME(BlendColor)(GLclampf r, GLclampf g, GLclampf b, GLclampf a) +KEYWORD1 void KEYWORD2 NAME(Vertex2d)(GLdouble x, GLdouble y) { - DISPATCH(BlendColor, (r, g, b, a), (F, ";")); + DISPATCH(Vertex2d, (x, y), (F, "glVertex2d(%f, %f);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(BlendEquation)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(Vertex2dv)(const GLdouble *v) { - DISPATCH(BlendEquation, (mode), (F, ";")); + DISPATCH(Vertex2dv, (v), (F, "glVertex2dv(%p);", v)); } -KEYWORD1 void KEYWORD2 NAME(ColorSubTable)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(Vertex2f)(GLfloat x, GLfloat y) { - DISPATCH(ColorSubTable, (target, start, count, format, type, data), (F, ";")); + DISPATCH(Vertex2f, (x, y), (F, "glVertex2f(%g, %g);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(ColorTable)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) +KEYWORD1 void KEYWORD2 NAME(Vertex2fv)(const GLfloat *v) { - DISPATCH(ColorTable, (target, internalformat, width, format, type, table), (F, ";")); + DISPATCH(Vertex2fv, (v), (F, "glVertex2fv(%p);", v)); } -KEYWORD1 void KEYWORD2 NAME(ColorTableParameterfv)(GLenum target, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(Vertex2i)(GLint x, GLint y) { - DISPATCH(ColorTableParameterfv, (target, pname, params), (F, ";")); + DISPATCH(Vertex2i, (x, y), (F, "glVertex2i(%d, %d);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(ColorTableParameteriv)(GLenum target, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(Vertex2iv)(const GLint *v) { - DISPATCH(ColorTableParameteriv, (target, pname, params), (F, ";")); + DISPATCH(Vertex2iv, (v), (F, "glVertex2iv(%p);", v)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter1D)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) +KEYWORD1 void KEYWORD2 NAME(Vertex2s)(GLshort x, GLshort y) { - DISPATCH(ConvolutionFilter1D, (target, internalformat, width, format, type, image), (F, ";")); + DISPATCH(Vertex2s, (x, y), (F, "glVertex2s(%d, %d);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) +KEYWORD1 void KEYWORD2 NAME(Vertex2sv)(const GLshort *v) { - DISPATCH(ConvolutionFilter2D, (target, internalformat, width, height, format, type, image), (F, ";")); + DISPATCH(Vertex2sv, (v), (F, "glVertex2sv(%p);", v)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterf)(GLenum target, GLenum pname, GLfloat params) +KEYWORD1 void KEYWORD2 NAME(Vertex3d)(GLdouble x, GLdouble y, GLdouble z) { - DISPATCH(ConvolutionParameterf, (target, pname, params), (F, ";")); + DISPATCH(Vertex3d, (x, y, z), (F, "glVertex3d(%f, %f, %f);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterfv)(GLenum target, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(Vertex3dv)(const GLdouble *v) { - DISPATCH(ConvolutionParameterfv, (target, pname, params), (F, ";")); + DISPATCH(Vertex3dv, (v), (F, "glVertex3dv(%p);", v)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameteri)(GLenum target, GLenum pname, GLint params) +KEYWORD1 void KEYWORD2 NAME(Vertex3f)(GLfloat x, GLfloat y, GLfloat z) { - DISPATCH(ConvolutionParameteri, (target, pname, params), (F, ";")); + DISPATCH(Vertex3f, (x, y, z), (F, "glVertex3f(%g, %g, %g);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameteriv)(GLenum target, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(Vertex3fv)(const GLfloat *v) { - DISPATCH(ConvolutionParameteriv, (target, pname, params), (F, ";")); + DISPATCH(Vertex3fv, (v), (F, "glVertex3fv(%p);", v)); } -KEYWORD1 void KEYWORD2 NAME(CopyColorSubTable)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) +KEYWORD1 void KEYWORD2 NAME(Vertex3i)(GLint x, GLint y, GLint z) { - DISPATCH(CopyColorSubTable, (target, start, x, y, width), (F, ";")); + DISPATCH(Vertex3i, (x, y, z), (F, "glVertex3i(%d, %d, %d);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(CopyColorTable)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) +KEYWORD1 void KEYWORD2 NAME(Vertex3iv)(const GLint *v) { - DISPATCH(CopyColorTable, (target, internalformat, x, y, width), (F, ";")); + DISPATCH(Vertex3iv, (v), (F, "glVertex3iv(%p);", v)); } -KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter1D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) +KEYWORD1 void KEYWORD2 NAME(Vertex3s)(GLshort x, GLshort y, GLshort z) { - DISPATCH(CopyConvolutionFilter1D, (target, internalformat, x, y, width), (F, ";")); + DISPATCH(Vertex3s, (x, y, z), (F, "glVertex3s(%d, %d, %d);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter2D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) +KEYWORD1 void KEYWORD2 NAME(Vertex3sv)(const GLshort *v) { - DISPATCH(CopyConvolutionFilter2D, (target, internalformat, x, y, width, height), (F, ";")); + DISPATCH(Vertex3sv, (v), (F, "glVertex3sv(%p);", v)); } -KEYWORD1 void KEYWORD2 NAME(GetColorTable)(GLenum target, GLenum format, GLenum type, GLvoid *table) +KEYWORD1 void KEYWORD2 NAME(Vertex4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { - DISPATCH(GetColorTable, (target, format, type, table), (F, ";")); + DISPATCH(Vertex4d, (x, y, z, w), (F, "glVertex4d(%f, %f, %f, %f);", x, y, z, w)); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterfv)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(Vertex4dv)(const GLdouble *v) { - DISPATCH(GetColorTableParameterfv, (target, pname, params), (F, ";")); + DISPATCH(Vertex4dv, (v), (F, "glVertex4dv(%p);", v)); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableParameteriv)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(Vertex4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - DISPATCH(GetColorTableParameteriv, (target, pname, params), (F, ";")); + DISPATCH(Vertex4f, (x, y, z, w), (F, "glVertex4f(%f, %f, %f, %f);", x, y, z, w)); } -KEYWORD1 void KEYWORD2 NAME(GetConvolutionFilter)(GLenum target, GLenum format, GLenum type, GLvoid *image) +KEYWORD1 void KEYWORD2 NAME(Vertex4fv)(const GLfloat *v) { - DISPATCH(GetConvolutionFilter, (target, format, type, image), (F, ";")); + DISPATCH(Vertex4fv, (v), (F, "glVertex4fv(%p);", v)); } -KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameterfv)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(Vertex4i)(GLint x, GLint y, GLint z, GLint w) { - DISPATCH(GetConvolutionParameterfv, (target, pname, params), (F, ";")); + DISPATCH(Vertex4i, (x, y, z, w), (F, "glVertex4i(%d, %d, %d, %d);", x, y, z, w)); } -KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameteriv)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(Vertex4iv)(const GLint *v) { - DISPATCH(GetConvolutionParameteriv, (target, pname, params), (F, ";")); + DISPATCH(Vertex4iv, (v), (F, "glVertex4iv(%p);", v)); } -KEYWORD1 void KEYWORD2 NAME(GetHistogram)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) +KEYWORD1 void KEYWORD2 NAME(Vertex4s)(GLshort x, GLshort y, GLshort z, GLshort w) { - DISPATCH(GetHistogram, (target, reset, format, type, values), (F, ";")); + DISPATCH(Vertex4s, (x, y, z, w), (F, "glVertex4s(%d, %d, %d, %d);", x, y, z, w)); } -KEYWORD1 void KEYWORD2 NAME(GetHistogramParameterfv)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(Vertex4sv)(const GLshort *v) { - DISPATCH(GetHistogramParameterfv, (target, pname, params), (F, ";")); + DISPATCH(Vertex4sv, (v), (F, "glVertex4sv(%p);", v)); } -KEYWORD1 void KEYWORD2 NAME(GetHistogramParameteriv)(GLenum target, GLenum pname, GLint *params) + +KEYWORD1 void KEYWORD2 NAME(Viewport)(GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(GetHistogramParameteriv, (target, pname, params), (F, ";")); + DISPATCH(Viewport, (x, y, width, height), (F, "glViewport(%d, %d, %d, %d);", x, y, width, height)); } -KEYWORD1 void KEYWORD2 NAME(GetMinmax)(GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values) + + +/* GL 1.1 */ + +KEYWORD1 GLboolean KEYWORD2 NAME(AreTexturesResident)(GLsizei n, const GLuint *textures, GLboolean *residences) { - DISPATCH(GetMinmax, (target, reset, format, types, values), (F, ";")); + RETURN_DISPATCH(AreTexturesResident, (n, textures, residences), (F, "glAreTexturesResident(%d, %p, %p);", n, textures, residences)); } -KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameterfv)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(ArrayElement)(GLint i) { - DISPATCH(GetMinmaxParameterfv, (target, pname, params), (F, ";")); + DISPATCH(ArrayElement, (i), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameteriv)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(BindTexture)(GLenum target, GLuint texture) { - DISPATCH(GetMinmaxParameteriv, (target, pname, params), (F, ";")); + DISPATCH(BindTexture, (target, texture), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetSeparableFilter)(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) +KEYWORD1 void KEYWORD2 NAME(ColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) { - DISPATCH(GetSeparableFilter, (target, format, type, row, column, span), (F, ";")); + DISPATCH(ColorPointer, (size, type, stride, ptr), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Histogram)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) +KEYWORD1 void KEYWORD2 NAME(CopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) { - DISPATCH(Histogram, (target, width, internalformat, sink), (F, ";")); + DISPATCH(CopyTexImage1D, (target, level, internalformat, x, y, width, border), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Minmax)(GLenum target, GLenum internalformat, GLboolean sink) +KEYWORD1 void KEYWORD2 NAME(CopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { - DISPATCH(Minmax, (target, internalformat, sink), (F, ";")); + DISPATCH(CopyTexImage2D, (target, level, internalformat, x, y, width, height, border), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ResetMinmax)(GLenum target) +KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { - DISPATCH(ResetMinmax, (target), (F, ";")); + DISPATCH(CopyTexSubImage1D, (target, level, xoffset, x, y, width), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ResetHistogram)(GLenum target) +KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(ResetHistogram, (target), (F, ";")); + DISPATCH(CopyTexSubImage2D, (target, level, xoffset, yoffset, x, y, width, height), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(SeparableFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) +KEYWORD1 void KEYWORD2 NAME(DeleteTextures)(GLsizei n, const GLuint *textures) { - DISPATCH(SeparableFilter2D, (target, internalformat, width, height, format, type, row, column), (F, ";")); + DISPATCH(DeleteTextures, (n, textures), (F, "glDeleteTextures(%d, %p);", n, textures)); } -/*** - *** Extension functions - ***/ - -/* 2. GL_EXT_blend_color */ -KEYWORD1 void KEYWORD2 NAME(BlendColorEXT)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) +KEYWORD1 void KEYWORD2 NAME(DisableClientState)(GLenum cap) { - DISPATCH(BlendColor, (red, green, blue, alpha), (F, ";")); + DISPATCH(DisableClientState, (cap), (F, "glDisableClientState(0x%x);", cap)); } -/* 3. GL_EXT_polygon_offset */ -KEYWORD1 void KEYWORD2 NAME(PolygonOffsetEXT)(GLfloat factor, GLfloat bias) +KEYWORD1 void KEYWORD2 NAME(DrawArrays)(GLenum mode, GLint first, GLsizei count) { - DISPATCH(PolygonOffsetEXT, (factor, bias), (F, ";")); + DISPATCH(DrawArrays, (mode, first, count), (F, "glDrawArrays(0x%x, %d, %d);", mode, first, count)); } -/* 6. GL_EXT_texture3D */ - -KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage3DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) +KEYWORD1 void KEYWORD2 NAME(EdgeFlagPointer)(GLsizei stride, const GLvoid *ptr) { - DISPATCH(CopyTexSubImage3D, (target, level, xoffset, yoffset, zoffset, x, y, width, height), (F, ";")); + DISPATCH(EdgeFlagPointer, (stride, ptr), (F, "glEdgeFlagPointer(%d, %p);", stride, ptr)); } -KEYWORD1 void KEYWORD2 NAME(TexImage3DEXT)(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(EnableClientState)(GLenum cap) { - DISPATCH(TexImage3D, (target, level, internalFormat, width, height, depth, border, format, type, pixels), (F, ";")); + DISPATCH(EnableClientState, (cap), (F, "glEnableClientState(0x%x)", cap)); } -KEYWORD1 void KEYWORD2 NAME(TexSubImage3DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(GenTextures)(GLsizei n, GLuint *textures) { - DISPATCH(TexSubImage3D, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels), (F, ";")); + DISPATCH(GenTextures, (n, textures), (F, "glGenTextures(%d, %p);", n, textures)); } -/* 7. GL_SGI_texture_filter4 */ +KEYWORD1 void KEYWORD2 NAME(GetPointerv)(GLenum pname, GLvoid **params) +{ + DISPATCH(GetPointerv, (pname, params), (F, "glGetPointerv(0x%x, %p);", pname, params)); +} -KEYWORD1 void KEYWORD2 NAME(GetTexFilterFuncSGIS)(GLenum target, GLenum filter, GLfloat *weights) +KEYWORD1 void KEYWORD2 NAME(IndexPointer)(GLenum type, GLsizei stride, const GLvoid *ptr) { - DISPATCH(GetTexFilterFuncSGIS, (target, filter, weights), (F, ";")); + DISPATCH(IndexPointer, (type, stride, ptr), (F, "glIndexPointer(0x%x, %d, %p);", type, stride, ptr)); } -KEYWORD1 void KEYWORD2 NAME(TexFilterFuncSGIS)(GLenum target, GLenum filter, GLsizei n, const GLfloat *weights) +KEYWORD1 void KEYWORD2 NAME(InterleavedArrays)(GLenum format, GLsizei stride, const GLvoid *pointer) { - DISPATCH(TexFilterFuncSGIS, (target, filter, n, weights), (F, ";")); + DISPATCH(InterleavedArrays, (format, stride, pointer), (F, "glInterleavedArrays(0x%x, %d, %p);", format, stride, pointer)); } -/* 9. GL_EXT_subtexture */ +KEYWORD1 GLboolean KEYWORD2 NAME(IsTexture)(GLuint texture) +{ + RETURN_DISPATCH(IsTexture, (texture), (F, "glIsTexture(%u);", texture)); +} -KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage1DEXT)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) +KEYWORD1 void KEYWORD2 NAME(NormalPointer)(GLenum type, GLsizei stride, const GLvoid *ptr) { - DISPATCH(CopyTexSubImage1D, (target, level, xoffset, x, y, width), (F, ";")); + DISPATCH(NormalPointer, (type, stride, ptr), (F, "glNormalPointer(0x%x, %d, %p);", type, stride, ptr)); } -KEYWORD1 void KEYWORD2 NAME(TexSubImage1DEXT)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(PolygonOffset)(GLfloat factor, GLfloat units) { - DISPATCH(TexSubImage1D, (target, level, xoffset, width, format, type, pixels), (F, ";")); + DISPATCH(PolygonOffset, (factor, units), (F, "glPolygonOffset(%g, %g);", factor, units)); } -KEYWORD1 void KEYWORD2 NAME(TexSubImage2DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(PopClientAttrib)(void) { - DISPATCH(TexSubImage2D, (target, level, xoffset, yoffset, width, height, format, type, pixels), (F, ";")); + DISPATCH(PopClientAttrib, (), (F, "glPopClientAttrib();")); } -/* 10. GL_EXT_copy_texture */ +KEYWORD1 void KEYWORD2 NAME(PrioritizeTextures)(GLsizei n, const GLuint *textures, const GLclampf *priorities) +{ + DISPATCH(PrioritizeTextures, (n, textures, priorities), (F, "glPrioritizeTextures(%d, %p, %p);", n, textures, priorities)); +} -KEYWORD1 void KEYWORD2 NAME(CopyTexImage1DEXT)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) +KEYWORD1 void KEYWORD2 NAME(PushClientAttrib)(GLbitfield mask) { - DISPATCH(CopyTexImage1D, (target, level, internalformat, x, y, width, border), (F, ";")); + DISPATCH(PushClientAttrib, (mask), (F, "glPushClientAttrib(0x%x)", mask)); } -KEYWORD1 void KEYWORD2 NAME(CopyTexImage2DEXT)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) +KEYWORD1 void KEYWORD2 NAME(TexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) { - DISPATCH(CopyTexImage2D, (target, level, internalformat, x, y, width, height, border), (F, ";")); + DISPATCH(TexCoordPointer, (size, type, stride, ptr), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage2DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) +KEYWORD1 void KEYWORD2 NAME(TexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) { - DISPATCH(CopyTexSubImage2D, (target, level, xoffset, yoffset, x, y, width, height), (F, ";")); + DISPATCH(TexSubImage1D, (target, level, xoffset, width, format, type, pixels), (F, ";")); } -/* 11. GL_EXT_histogram */ -KEYWORD1 void KEYWORD2 NAME(GetHistogramEXT)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) +KEYWORD1 void KEYWORD2 NAME(TexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) { - DISPATCH(GetHistogramEXT, (target, reset, format, type, values), (F, ";")); + DISPATCH(TexSubImage2D, (target, level, xoffset, yoffset, width, height, format, type, pixels), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetHistogramParameterfvEXT)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(VertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) { - DISPATCH(GetHistogramParameterfvEXT, (target, pname, params), (F, ";")); + DISPATCH(VertexPointer, (size, type, stride, ptr), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetHistogramParameterivEXT)(GLenum target, GLenum pname, GLint *params) + +/* GL 1.2 */ + +KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(GetHistogramParameterivEXT, (target, pname, params), (F, ";")); + DISPATCH(CopyTexSubImage3D, (target, level, xoffset, yoffset, zoffset, x, y, width, height), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetMinmaxEXT)(GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values) +KEYWORD1 void KEYWORD2 NAME(DrawRangeElements)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) { - DISPATCH(GetMinmaxEXT, (target, reset, format, types, values), (F, ";")); + DISPATCH(DrawRangeElements, (mode, start, end, count, type, indices), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameterfvEXT)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(TexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) { - DISPATCH(GetMinmaxParameterfvEXT, (target, pname, params), (F, ";")); + DISPATCH(TexImage3D, (target, level, internalformat, width, height, depth, border, format, type, pixels), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameterivEXT)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(TexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) { - DISPATCH(GetMinmaxParameterivEXT, (target, pname, params), (F, ";")); + DISPATCH(TexSubImage3D, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(HistogramEXT)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) +/* GL_ARB_imaging */ + +KEYWORD1 void KEYWORD2 NAME(BlendColor)(GLclampf r, GLclampf g, GLclampf b, GLclampf a) { - DISPATCH(Histogram, (target, width, internalformat, sink), (F, ";")); + DISPATCH(BlendColor, (r, g, b, a), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MinmaxEXT)(GLenum target, GLenum internalformat, GLboolean sink) +KEYWORD1 void KEYWORD2 NAME(BlendEquation)(GLenum mode) { - DISPATCH(Minmax, (target, internalformat, sink), (F, ";")); + DISPATCH(BlendEquation, (mode), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ResetHistogramEXT)(GLenum target) +KEYWORD1 void KEYWORD2 NAME(ColorSubTable)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) { - DISPATCH(ResetHistogram, (target), (F, ";")); + DISPATCH(ColorSubTable, (target, start, count, format, type, data), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ResetMinmaxEXT)(GLenum target) +KEYWORD1 void KEYWORD2 NAME(ColorTable)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) { - DISPATCH(ResetMinmax, (target), (F, ";")); + DISPATCH(ColorTable, (target, internalformat, width, format, type, table), (F, ";")); } -/* 12. GL_EXT_convolution */ +KEYWORD1 void KEYWORD2 NAME(ColorTableParameterfv)(GLenum target, GLenum pname, const GLfloat *params) +{ + DISPATCH(ColorTableParameterfv, (target, pname, params), (F, ";")); +} -KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter1DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) +KEYWORD1 void KEYWORD2 NAME(ColorTableParameteriv)(GLenum target, GLenum pname, const GLint *params) +{ + DISPATCH(ColorTableParameteriv, (target, pname, params), (F, ";")); +} + +KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter1D)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) { DISPATCH(ConvolutionFilter1D, (target, internalformat, width, format, type, image), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter2DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) +KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) { DISPATCH(ConvolutionFilter2D, (target, internalformat, width, height, format, type, image), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterfEXT)(GLenum target, GLenum pname, GLfloat params) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterf)(GLenum target, GLenum pname, GLfloat params) { DISPATCH(ConvolutionParameterf, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterfvEXT)(GLenum target, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterfv)(GLenum target, GLenum pname, const GLfloat *params) { DISPATCH(ConvolutionParameterfv, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameteriEXT)(GLenum target, GLenum pname, GLint params) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameteri)(GLenum target, GLenum pname, GLint params) { DISPATCH(ConvolutionParameteri, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterivEXT)(GLenum target, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameteriv)(GLenum target, GLenum pname, const GLint *params) { DISPATCH(ConvolutionParameteriv, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter1DEXT)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) +KEYWORD1 void KEYWORD2 NAME(CopyColorSubTable)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) { - DISPATCH(CopyConvolutionFilter1D, (target, internalformat, x, y, width), (F, ";")); + DISPATCH(CopyColorSubTable, (target, start, x, y, width), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter2DEXT)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) +KEYWORD1 void KEYWORD2 NAME(CopyColorTable)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { - DISPATCH(CopyConvolutionFilter2D, (target, internalformat, x, y, width, height), (F, ";")); + DISPATCH(CopyColorTable, (target, internalformat, x, y, width), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetConvolutionFilterEXT)(GLenum target, GLenum format, GLenum type, GLvoid *image) +KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter1D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { - DISPATCH(GetConvolutionFilterEXT, (target, format, type, image), (F, ";")); + DISPATCH(CopyConvolutionFilter1D, (target, internalformat, x, y, width), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameterfvEXT)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter2D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(GetConvolutionParameterfvEXT, (target, pname, params), (F, ";")); + DISPATCH(CopyConvolutionFilter2D, (target, internalformat, x, y, width, height), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameterivEXT)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(GetColorTable)(GLenum target, GLenum format, GLenum type, GLvoid *table) { - DISPATCH(GetConvolutionParameterivEXT, (target, pname, params), (F, ";")); + DISPATCH(GetColorTable, (target, format, type, table), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetSeparableFilterEXT)(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterfv)(GLenum target, GLenum pname, GLfloat *params) { - DISPATCH(GetSeparableFilterEXT, (target, format, type, row, column, span), (F, ";")); + DISPATCH(GetColorTableParameterfv, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(SeparableFilter2DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameteriv)(GLenum target, GLenum pname, GLint *params) { - DISPATCH(SeparableFilter2D, (target, internalformat, width, height, format, type, row, column), (F, ";")); + DISPATCH(GetColorTableParameteriv, (target, pname, params), (F, ";")); } -/* 14. GL_SGI_color_table */ - -KEYWORD1 void KEYWORD2 NAME(ColorTableParameterfvSGI)(GLenum target, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(GetConvolutionFilter)(GLenum target, GLenum format, GLenum type, GLvoid *image) { - DISPATCH(ColorTableParameterfv, (target, pname, params), (F, ";")); + DISPATCH(GetConvolutionFilter, (target, format, type, image), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ColorTableParameterivSGI)(GLenum target, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameterfv)(GLenum target, GLenum pname, GLfloat *params) { - DISPATCH(ColorTableParameteriv, (target, pname, params), (F, ";")); + DISPATCH(GetConvolutionParameterfv, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ColorTableSGI)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) +KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameteriv)(GLenum target, GLenum pname, GLint *params) { - DISPATCH(ColorTable, (target, internalformat, width, format, type, table), (F, ";")); + DISPATCH(GetConvolutionParameteriv, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CopyColorTableSGI)(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width) +KEYWORD1 void KEYWORD2 NAME(GetHistogram)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) { - DISPATCH(CopyColorTable, (target, internalFormat, x, y, width), (F, ";")); + DISPATCH(GetHistogram, (target, reset, format, type, values), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableSGI)(GLenum target, GLenum format, GLenum type, GLvoid *table) +KEYWORD1 void KEYWORD2 NAME(GetHistogramParameterfv)(GLenum target, GLenum pname, GLfloat *params) { - DISPATCH(GetColorTableSGI, (target, format, type, table), (F, ";")); + DISPATCH(GetHistogramParameterfv, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterfvSGI)(GLenum target, GLenum pname, GLfloat *params) + +KEYWORD1 void KEYWORD2 NAME(GetHistogramParameteriv)(GLenum target, GLenum pname, GLint *params) { - DISPATCH(GetColorTableParameterfvSGI, (target, pname, params), (F, ";")); + DISPATCH(GetHistogramParameteriv, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterivSGI)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(GetMinmax)(GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values) { - DISPATCH(GetColorTableParameterivSGI, (target, pname, params), (F, ";")); + DISPATCH(GetMinmax, (target, reset, format, types, values), (F, ";")); } -/* ??. GL_SGIX_pixel_texture */ - -KEYWORD1 void KEYWORD2 NAME(PixelTexGenSGIX)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameterfv)(GLenum target, GLenum pname, GLfloat *params) { - DISPATCH(PixelTexGenSGIX, (mode), (F, ";")); + DISPATCH(GetMinmaxParameterfv, (target, pname, params), (F, ";")); } -/* 15. GL_SGIS_pixel_texture */ +KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameteriv)(GLenum target, GLenum pname, GLint *params) +{ + DISPATCH(GetMinmaxParameteriv, (target, pname, params), (F, ";")); +} -KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameterfSGIS)(GLenum target, GLfloat value) +KEYWORD1 void KEYWORD2 NAME(GetSeparableFilter)(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) { - DISPATCH(PixelTexGenParameterfSGIS, (target, value), (F, ";")); + DISPATCH(GetSeparableFilter, (target, format, type, row, column, span), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameterfvSGIS)(GLenum target, const GLfloat *value) +KEYWORD1 void KEYWORD2 NAME(Histogram)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) { - DISPATCH(PixelTexGenParameterfvSGIS, (target, value), (F, ";")); + DISPATCH(Histogram, (target, width, internalformat, sink), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameteriSGIS)(GLenum target, GLint value) +KEYWORD1 void KEYWORD2 NAME(Minmax)(GLenum target, GLenum internalformat, GLboolean sink) { - DISPATCH(PixelTexGenParameteriSGIS, (target, value), (F, ";")); + DISPATCH(Minmax, (target, internalformat, sink), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameterivSGIS)(GLenum target, const GLint *value) +KEYWORD1 void KEYWORD2 NAME(ResetMinmax)(GLenum target) { - DISPATCH(PixelTexGenParameterivSGIS, (target, value), (F, ";")); + DISPATCH(ResetMinmax, (target), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetPixelTexGenParameterfvSGIS)(GLenum target, GLfloat *value) +KEYWORD1 void KEYWORD2 NAME(ResetHistogram)(GLenum target) { - DISPATCH(GetPixelTexGenParameterfvSGIS, (target, value), (F, ";")); + DISPATCH(ResetHistogram, (target), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetPixelTexGenParameterivSGIS)(GLenum target, GLint *value) +KEYWORD1 void KEYWORD2 NAME(SeparableFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) { - DISPATCH(GetPixelTexGenParameterivSGIS, (target, value), (F, ";")); + DISPATCH(SeparableFilter2D, (target, internalformat, width, height, format, type, row, column), (F, ";")); } -/* 16. GL_SGIS_texture4D */ +/*** + *** Extension functions + ***/ -KEYWORD1 void KEYWORD2 NAME(TexImage4DSGIS)(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLint border, GLenum format, GLenum type, const void *pixels) +/* 2. GL_EXT_blend_color */ +KEYWORD1 void KEYWORD2 NAME(BlendColorEXT)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { - DISPATCH(TexImage4DSGIS, (target, level, internalFormat, width, height, depth, extent, border, format, type, pixels), (F, ";")); + DISPATCH(BlendColor, (red, green, blue, alpha), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexSubImage4DSGIS)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLenum format, GLenum type, const void *pixels) +/* 3. GL_EXT_polygon_offset */ +KEYWORD1 void KEYWORD2 NAME(PolygonOffsetEXT)(GLfloat factor, GLfloat bias) { - DISPATCH(TexSubImage4DSGIS, (target, level, xoffset, yoffset, zoffset, woffset, width, height, depth, extent, format, type, pixels), (F, ";")); + DISPATCH(PolygonOffsetEXT, (factor, bias), (F, ";")); } -/* 20. GL_EXT_texture_object */ +/* 6. GL_EXT_texture3D */ -KEYWORD1 void KEYWORD2 NAME(GenTexturesEXT)(GLsizei n, GLuint *textures) +KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage3DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(GenTextures, (n, textures), (F, ";")); + DISPATCH(CopyTexSubImage3D, (target, level, xoffset, yoffset, zoffset, x, y, width, height), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(DeleteTexturesEXT)(GLsizei n, const GLuint *texture) +KEYWORD1 void KEYWORD2 NAME(TexImage3DEXT)(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) { - DISPATCH(DeleteTextures, (n, texture), (F, ";")); + DISPATCH(TexImage3D, (target, level, internalFormat, width, height, depth, border, format, type, pixels), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(BindTextureEXT)(GLenum target, GLuint texture) +KEYWORD1 void KEYWORD2 NAME(TexSubImage3DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) { - DISPATCH(BindTexture, (target, texture), (F, ";")); + DISPATCH(TexSubImage3D, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(PrioritizeTexturesEXT)(GLsizei n, const GLuint *textures, const GLclampf *priorities) +/* 7. GL_SGI_texture_filter4 */ + +KEYWORD1 void KEYWORD2 NAME(GetTexFilterFuncSGIS)(GLenum target, GLenum filter, GLfloat *weights) { - DISPATCH(PrioritizeTextures, (n, textures, priorities), (F, ";")); + DISPATCH(GetTexFilterFuncSGIS, (target, filter, weights), (F, ";")); } -KEYWORD1 GLboolean KEYWORD2 NAME(AreTexturesResidentEXT)(GLsizei n, const GLuint *textures, GLboolean *residences) +KEYWORD1 void KEYWORD2 NAME(TexFilterFuncSGIS)(GLenum target, GLenum filter, GLsizei n, const GLfloat *weights) { - RETURN_DISPATCH(AreTexturesResident, (n, textures, residences), (F, "glAreTexturesResidentEXT(%d %p %p);", n, textures, residences)); + DISPATCH(TexFilterFuncSGIS, (target, filter, n, weights), (F, ";")); } -KEYWORD1 GLboolean KEYWORD2 NAME(IsTextureEXT)(GLuint texture) +/* 9. GL_EXT_subtexture */ + +KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage1DEXT)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { - RETURN_DISPATCH(IsTexture, (texture), (F, "glIsTextureEXT(%u);", texture)); + DISPATCH(CopyTexSubImage1D, (target, level, xoffset, x, y, width), (F, ";")); } -/* 21. GL_SGIS_detail_texture */ - -KEYWORD1 void KEYWORD2 NAME(DetailTexFuncSGIS)(GLenum target, GLsizei n, const GLfloat *points) +KEYWORD1 void KEYWORD2 NAME(TexSubImage1DEXT)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) { - DISPATCH(DetailTexFuncSGIS, (target, n, points), (F, ";")); + DISPATCH(TexSubImage1D, (target, level, xoffset, width, format, type, pixels), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetDetailTexFuncSGIS)(GLenum target, GLfloat *points) +KEYWORD1 void KEYWORD2 NAME(TexSubImage2DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) { - DISPATCH(GetDetailTexFuncSGIS, (target, points), (F, ";")); + DISPATCH(TexSubImage2D, (target, level, xoffset, yoffset, width, height, format, type, pixels), (F, ";")); } -/* 22. GL_SGIS_sharpen_texture */ +/* 10. GL_EXT_copy_texture */ -KEYWORD1 void KEYWORD2 NAME(GetSharpenTexFuncSGIS)(GLenum target, GLfloat *points) +KEYWORD1 void KEYWORD2 NAME(CopyTexImage1DEXT)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) { - DISPATCH(GetSharpenTexFuncSGIS, (target, points), (F, ";")); + DISPATCH(CopyTexImage1D, (target, level, internalformat, x, y, width, border), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(SharpenTexFuncSGIS)(GLenum target, GLsizei n, const GLfloat *points) -{ - DISPATCH(SharpenTexFuncSGIS, (target, n, points), (F, ";")); -} - -/* 25. GL_SGIS_multisample */ - -KEYWORD1 void KEYWORD2 NAME(SampleMaskSGIS)(GLclampf value, GLboolean invert) -{ - DISPATCH(SampleMaskSGIS, (value, invert), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(SamplePatternSGIS)(GLenum pattern) -{ - DISPATCH(SamplePatternSGIS, (pattern), (F, ";")); -} - -/* 30. GL_EXT_vertex_array */ - -KEYWORD1 void KEYWORD2 NAME(VertexPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) -{ - DISPATCH(VertexPointerEXT, (size, type, stride, count, ptr), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(NormalPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) -{ - DISPATCH(NormalPointerEXT, (type, stride, count, ptr), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(ColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) -{ - DISPATCH(ColorPointerEXT, (size, type, stride, count, ptr), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(IndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) -{ - DISPATCH(IndexPointerEXT, (type, stride, count, ptr), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(TexCoordPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) -{ - DISPATCH(ColorPointerEXT, (size, type, stride, count, ptr), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(EdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLboolean *ptr) -{ - DISPATCH(EdgeFlagPointerEXT, (stride, count, ptr), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(GetPointervEXT)(GLenum pname, void **params) -{ - DISPATCH(GetPointerv, (pname, params), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(DrawArraysEXT)(GLenum mode, GLint first, GLsizei count) +KEYWORD1 void KEYWORD2 NAME(CopyTexImage2DEXT)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { - DISPATCH(DrawArrays, (mode, first, count), (F, ";")); + DISPATCH(CopyTexImage2D, (target, level, internalformat, x, y, width, height, border), (F, ";")); } -/* 37. GL_EXT_blend_minmax */ -KEYWORD1 void KEYWORD2 NAME(BlendEquationEXT)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage2DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(BlendEquation, (mode), (F, "glBlendEquationEXT(0x%x);", mode)); + DISPATCH(CopyTexSubImage2D, (target, level, xoffset, yoffset, x, y, width, height), (F, ";")); } -/* 52. GL_SGIX_sprite */ - -KEYWORD1 void KEYWORD2 NAME(SpriteParameterfSGIX)(GLenum pname, GLfloat param) +/* 11. GL_EXT_histogram */ +KEYWORD1 void KEYWORD2 NAME(GetHistogramEXT)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) { - DISPATCH(SpriteParameterfSGIX, (pname, param), (F, ";")); + DISPATCH(GetHistogramEXT, (target, reset, format, type, values), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(SpriteParameterfvSGIX)(GLenum pname, const GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(GetHistogramParameterfvEXT)(GLenum target, GLenum pname, GLfloat *params) { - DISPATCH(SpriteParameterfvSGIX, (pname, param), (F, ";")); + DISPATCH(GetHistogramParameterfvEXT, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(SpriteParameteriSGIX)(GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(GetHistogramParameterivEXT)(GLenum target, GLenum pname, GLint *params) { - DISPATCH(SpriteParameteriSGIX, (pname, param), (F, ";")); + DISPATCH(GetHistogramParameterivEXT, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(SpriteParameterivSGIX)(GLenum pname, const GLint *param) +KEYWORD1 void KEYWORD2 NAME(GetMinmaxEXT)(GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values) { - DISPATCH(SpriteParameterivSGIX, (pname, param), (F, ";")); + DISPATCH(GetMinmaxEXT, (target, reset, format, types, values), (F, ";")); } -/* 54. GL_EXT_point_parameters */ - -KEYWORD1 void KEYWORD2 NAME(PointParameterfEXT)(GLenum target, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameterfvEXT)(GLenum target, GLenum pname, GLfloat *params) { - DISPATCH(PointParameterfEXT, (target, param), (F, ";")); + DISPATCH(GetMinmaxParameterfvEXT, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(PointParameterfvEXT)(GLenum target, const GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameterivEXT)(GLenum target, GLenum pname, GLint *params) { - DISPATCH(PointParameterfvEXT, (target, param), (F, ";")); + DISPATCH(GetMinmaxParameterivEXT, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(PointParameterfSGIS)(GLenum target, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(HistogramEXT)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) { - DISPATCH(PointParameterfEXT, (target, param), (F, ";")); + DISPATCH(Histogram, (target, width, internalformat, sink), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(PointParameterfvSGIS)(GLenum target, const GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(MinmaxEXT)(GLenum target, GLenum internalformat, GLboolean sink) { - DISPATCH(PointParameterfvEXT, (target, param), (F, ";")); + DISPATCH(Minmax, (target, internalformat, sink), (F, ";")); } -/* 55. GL_SGIX_instruments */ -KEYWORD1 GLint KEYWORD2 NAME(GetInstrumentsSGIX)(void) +KEYWORD1 void KEYWORD2 NAME(ResetHistogramEXT)(GLenum target) { - RETURN_DISPATCH(GetInstrumentsSGIX, (), (F, ";")); + DISPATCH(ResetHistogram, (target), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(InstrumentsBufferSGIX)(GLsizei size, GLint *buf) +KEYWORD1 void KEYWORD2 NAME(ResetMinmaxEXT)(GLenum target) { - DISPATCH(InstrumentsBufferSGIX, (size, buf), (F, ";")); + DISPATCH(ResetMinmax, (target), (F, ";")); } -KEYWORD1 GLint KEYWORD2 NAME(PollInstrumentsSGIX)(GLint *markerp) -{ - RETURN_DISPATCH(PollInstrumentsSGIX, (markerp), (F, ";")); -} +/* 12. GL_EXT_convolution */ -KEYWORD1 void KEYWORD2 NAME(ReadInstrumentsSGIX)(GLint marker) +KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter1DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) { - DISPATCH(ReadInstrumentsSGIX, (marker), (F, ";")); + DISPATCH(ConvolutionFilter1D, (target, internalformat, width, format, type, image), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(StartInstrumentsSGIX)(void) +KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter2DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) { - DISPATCH(StartInstrumentsSGIX, (), (F, ";")); + DISPATCH(ConvolutionFilter2D, (target, internalformat, width, height, format, type, image), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(StopInstrumentsSGIX)(GLint marker) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterfEXT)(GLenum target, GLenum pname, GLfloat params) { - DISPATCH(StopInstrumentsSGIX, (marker), (F, ";")); + DISPATCH(ConvolutionParameterf, (target, pname, params), (F, ";")); } -/* 57. GL_SGIX_framezoom */ -KEYWORD1 void KEYWORD2 NAME(FrameZoomSGIX)(GLint factor) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterfvEXT)(GLenum target, GLenum pname, const GLfloat *params) { - DISPATCH(FrameZoomSGIX, (factor), (F, ";")); + DISPATCH(ConvolutionParameterfv, (target, pname, params), (F, ";")); } -/* 58. GL_SGIX_tag_sample_buffer */ -KEYWORD1 void KEYWORD2 NAME(TagSampleBufferSGIX)(void) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameteriEXT)(GLenum target, GLenum pname, GLint params) { - DISPATCH(TagSampleBufferSGIX, (), (F, ";")); + DISPATCH(ConvolutionParameteri, (target, pname, params), (F, ";")); } -/* 60. GL_SGIX_reference_plane */ -KEYWORD1 void KEYWORD2 NAME(ReferencePlaneSGIX)(const GLdouble *plane) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterivEXT)(GLenum target, GLenum pname, const GLint *params) { - DISPATCH(ReferencePlaneSGIX, (plane), (F, ";")); + DISPATCH(ConvolutionParameteriv, (target, pname, params), (F, ";")); } -/* 61. GL_SGIX_flush_raster */ -KEYWORD1 void KEYWORD2 NAME(FlushRasterSGIX)(void) +KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter1DEXT)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { - DISPATCH(FlushRasterSGIX, (), (F, ";")); + DISPATCH(CopyConvolutionFilter1D, (target, internalformat, x, y, width), (F, ";")); } -/* 66. GL_HP_image_transform */ -#if 00 -KEYWORD1 void KEYWORD2 NAME(GetImageTransformParameterfvHP)(GLenum target, GLenum pname, GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter2DEXT)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(GetImageTransformParameterfvHP, (target, pname, param), (F, ";")); + DISPATCH(CopyConvolutionFilter2D, (target, internalformat, x, y, width, height), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetImageTransformParameterivHP)(GLenum target, GLenum pname, GLint *param) +KEYWORD1 void KEYWORD2 NAME(GetConvolutionFilterEXT)(GLenum target, GLenum format, GLenum type, GLvoid *image) { - DISPATCH(GetImageTransformParameterivHP, (target, pname, param), (F, ";")); + DISPATCH(GetConvolutionFilterEXT, (target, format, type, image), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ImageTransformParameterfHP)(GLenum target, GLenum pname, const GLfloat param) +KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameterfvEXT)(GLenum target, GLenum pname, GLfloat *params) { - DISPATCH(ImageTransformParameterfHP, (target, pname, param), (F, ";")); + DISPATCH(GetConvolutionParameterfvEXT, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ImageTransformParameterfvHP)(GLenum target, GLenum pname, const GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameterivEXT)(GLenum target, GLenum pname, GLint *params) { - DISPATCH(ImageTransformParameterfvHP, (target, pname, param), (F, ";")); + DISPATCH(GetConvolutionParameterivEXT, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ImageTransformParameteriHP)(GLenum target, GLenum pname, const GLint param) +KEYWORD1 void KEYWORD2 NAME(GetSeparableFilterEXT)(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) { - DISPATCH(ImageTransformParameteriHP, (target, pname, param), (F, ";")); + DISPATCH(GetSeparableFilterEXT, (target, format, type, row, column, span), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ImageTransformParameterivHP)(GLenum target, GLenum pname, const GLint *param) +KEYWORD1 void KEYWORD2 NAME(SeparableFilter2DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) { - DISPATCH(ImageTransformParameterivHP, (target, pname, param), (F, ";")); + DISPATCH(SeparableFilter2D, (target, internalformat, width, height, format, type, row, column), (F, ";")); } -#endif -/* 74. GL_EXT_color_subtable */ -KEYWORD1 void KEYWORD2 NAME(ColorSubTableEXT)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data) -{ - DISPATCH(ColorSubTable, (target, start, count, format, type, data), (F, ";")); -} +/* 14. GL_SGI_color_table */ -KEYWORD1 void KEYWORD2 NAME(CopyColorSubTableEXT)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) +KEYWORD1 void KEYWORD2 NAME(ColorTableParameterfvSGI)(GLenum target, GLenum pname, const GLfloat *params) { - DISPATCH(CopyColorSubTable, (target, start, x, y, width), (F, ";")); + DISPATCH(ColorTableParameterfv, (target, pname, params), (F, ";")); } -/* 77. GL_PGI_misc_hints */ -KEYWORD1 void KEYWORD2 NAME(HintPGI)(GLenum target, GLint mode) +KEYWORD1 void KEYWORD2 NAME(ColorTableParameterivSGI)(GLenum target, GLenum pname, const GLint *params) { - DISPATCH(HintPGI, (target, mode), (F, ";")); + DISPATCH(ColorTableParameteriv, (target, pname, params), (F, ";")); } -/* 78. GL_EXT_paletted_texture */ - -KEYWORD1 void KEYWORD2 NAME(ColorTableEXT)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) +KEYWORD1 void KEYWORD2 NAME(ColorTableSGI)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) { DISPATCH(ColorTable, (target, internalformat, width, format, type, table), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableEXT)(GLenum target, GLenum format, GLenum type, GLvoid *table) -{ - DISPATCH(GetColorTableEXT, (target, format, type, table), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterfvEXT)(GLenum target, GLenum pname, GLfloat *params) -{ - DISPATCH(GetColorTableParameterfvEXT, (target, pname, params), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterivEXT)(GLenum target, GLenum pname, GLint *params) -{ - DISPATCH(GetColorTableParameterivEXT, (target, pname, params), (F, ";")); -} - -/* 80. GL_SGIX_list_priority */ - -KEYWORD1 void KEYWORD2 NAME(GetListParameterfvSGIX)(GLuint list, GLenum name, GLfloat *param) -{ - DISPATCH(GetListParameterfvSGIX, (list, name, param), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(GetListParameterivSGIX)(GLuint list, GLenum name, GLint *param) -{ - DISPATCH(GetListParameterivSGIX, (list, name, param), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(ListParameterfSGIX)(GLuint list, GLenum name, GLfloat param) -{ - DISPATCH(ListParameterfSGIX, (list, name, param), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(ListParameterfvSGIX)(GLuint list, GLenum name, const GLfloat *param) -{ - DISPATCH(ListParameterfvSGIX, (list, name, param), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(ListParameteriSGIX)(GLuint list, GLenum name, GLint param) -{ - DISPATCH(ListParameteriSGIX, (list, name, param), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(ListParameterivSGIX)(GLuint list, GLenum name, const GLint *param) -{ - DISPATCH(ListParameterivSGIX, (list, name, param), (F, ";")); -} - -/* 94. GL_EXT_index_material */ -KEYWORD1 void KEYWORD2 NAME(IndexMaterialEXT)(GLenum face, GLenum mode) -{ - DISPATCH(IndexMaterialEXT, (face, mode), (F, ";")); -} - -/* 95. GL_EXT_index_func */ -KEYWORD1 void KEYWORD2 NAME(IndexFuncEXT)(GLenum func, GLfloat ref) -{ - DISPATCH(IndexFuncEXT, (func, ref), (F, ";")); -} - -/* 97. GL_EXT_compiled_vertex_array */ -KEYWORD1 void KEYWORD2 NAME(LockArraysEXT)(GLint first, GLsizei count) -{ - DISPATCH(LockArraysEXT, (first, count), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(UnlockArraysEXT)(void) -{ - DISPATCH(UnlockArraysEXT, (), (F, ";")); -} - -/* 98. GL_EXT_cull_vertex */ -KEYWORD1 void KEYWORD2 NAME(CullParameterfvEXT)(GLenum pname, GLfloat *params) -{ - DISPATCH(CullParameterfvEXT, (pname, params), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(CullParameterdvEXT)(GLenum pname, GLdouble *params) -{ - DISPATCH(CullParameterdvEXT, (pname, params), (F, ";")); -} - -/* 102. GL_SGIX_fragment_lighting */ -KEYWORD1 void KEYWORD2 NAME(FragmentColorMaterialSGIX)(GLenum face, GLenum mode) -{ - DISPATCH(FragmentColorMaterialSGIX, (face, mode), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(FragmentLightfSGIX)(GLenum light, GLenum pname, GLfloat param) -{ - DISPATCH(FragmentLightfSGIX, (light, pname, param), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(FragmentLightfvSGIX)(GLenum light, GLenum pname, const GLfloat * params) -{ - DISPATCH(FragmentLightfvSGIX, (light, pname, params), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(FragmentLightiSGIX)(GLenum light, GLenum pname, GLint param) -{ - DISPATCH(FragmentLightiSGIX, (light, pname, param), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(FragmentLightivSGIX)(GLenum light, GLenum pname, const GLint * params) -{ - DISPATCH(FragmentLightivSGIX, (light, pname, params), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(FragmentLightModelfSGIX)(GLenum pname, GLfloat param) -{ - DISPATCH(FragmentLightModelfSGIX, (pname, param), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(FragmentLightModelfvSGIX)(GLenum pname, const GLfloat * params) -{ - DISPATCH(FragmentLightModelfvSGIX, (pname, params), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(FragmentLightModeliSGIX)(GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(CopyColorTableSGI)(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width) { - DISPATCH(FragmentLightModeliSGIX, (pname, param), (F, ";")); + DISPATCH(CopyColorTable, (target, internalFormat, x, y, width), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(FragmentLightModelivSGIX)(GLenum pname, const GLint * params) +KEYWORD1 void KEYWORD2 NAME(GetColorTableSGI)(GLenum target, GLenum format, GLenum type, GLvoid *table) { - DISPATCH(FragmentLightModelivSGIX, (pname, params), (F, ";")); + DISPATCH(GetColorTableSGI, (target, format, type, table), (F, ";")); } - -KEYWORD1 void KEYWORD2 NAME(FragmentMaterialfSGIX)(GLenum face, GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterfvSGI)(GLenum target, GLenum pname, GLfloat *params) { - DISPATCH(FragmentMaterialfSGIX, (face, pname, param), (F, ";")); + DISPATCH(GetColorTableParameterfvSGI, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(FragmentMaterialfvSGIX)(GLenum face, GLenum pname, const GLfloat * params) +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterivSGI)(GLenum target, GLenum pname, GLint *params) { - DISPATCH(FragmentMaterialfvSGIX, (face, pname, params), (F, ";")); + DISPATCH(GetColorTableParameterivSGI, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(FragmentMaterialiSGIX)(GLenum face, GLenum pname, GLint param) -{ - DISPATCH(FragmentMaterialiSGIX, (face, pname, param), (F, ";")); -} +/* ??. GL_SGIX_pixel_texture */ -KEYWORD1 void KEYWORD2 NAME(FragmentMaterialivSGIX)(GLenum face, GLenum pname, const GLint * params) +KEYWORD1 void KEYWORD2 NAME(PixelTexGenSGIX)(GLenum mode) { - DISPATCH(FragmentMaterialivSGIX, (face, pname, params), (F, ";")); + DISPATCH(PixelTexGenSGIX, (mode), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetFragmentLightfvSGIX)(GLenum light, GLenum pname, GLfloat * params) -{ - DISPATCH(FragmentLightfvSGIX, (light, pname, params), (F, ";")); -} +/* 15. GL_SGIS_pixel_texture */ -KEYWORD1 void KEYWORD2 NAME(GetFragmentLightivSGIX)(GLenum light, GLenum pname, GLint * params) +KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameterfSGIS)(GLenum target, GLfloat value) { - DISPATCH(FragmentLightivSGIX, (light, pname, params), (F, ";")); + DISPATCH(PixelTexGenParameterfSGIS, (target, value), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetFragmentMaterialfvSGIX)(GLenum face, GLenum pname, GLfloat * params) +KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameterfvSGIS)(GLenum target, const GLfloat *value) { - DISPATCH(FragmentMaterialfvSGIX, (face, pname, params), (F, ";")); + DISPATCH(PixelTexGenParameterfvSGIS, (target, value), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetFragmentMaterialivSGIX)(GLenum face, GLenum pname, GLint * params) +KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameteriSGIS)(GLenum target, GLint value) { - DISPATCH(FragmentMaterialivSGIX, (face, pname, params), (F, ";")); + DISPATCH(PixelTexGenParameteriSGIS, (target, value), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(LightEnviSGIX)(GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameterivSGIS)(GLenum target, const GLint *value) { - DISPATCH(LightEnviSGIX, (pname, param), (F, ";")); + DISPATCH(PixelTexGenParameterivSGIS, (target, value), (F, ";")); } -/* 112. GL_EXT_draw_range_elements */ -KEYWORD1 void KEYWORD2 NAME(DrawRangeElementsEXT)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) +KEYWORD1 void KEYWORD2 NAME(GetPixelTexGenParameterfvSGIS)(GLenum target, GLfloat *value) { - DISPATCH(DrawRangeElements, (mode, start, end, count, type, indices), (F, "glDrawRangeElementsEXT(0x%x, %u %u %d 0x%x %p);", mode, start, end, count, type, indices)); + DISPATCH(GetPixelTexGenParameterfvSGIS, (target, value), (F, ";")); } -/* 117. GL_EXT_light_texture */ -#if 00 -KEYWORD1 void KEYWORD2 NAME(ApplyTextureEXT)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(GetPixelTexGenParameterivSGIS)(GLenum target, GLint *value) { - DISPATCH(ApplyTextureEXT, (mode), (F, "glApplyTextureEXT(0x%x);", mode)); + DISPATCH(GetPixelTexGenParameterivSGIS, (target, value), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TextureLightEXT)(GLenum pname) -{ - DISPATCH(TextureLightEXT, (pname), (F, "glTextureLightEXT(0x%x);", pname)); -} +/* 16. GL_SGIS_texture4D */ -KEYWORD1 void KEYWORD2 NAME(TextureMaterialEXT)(GLenum face, GLenum mode) +KEYWORD1 void KEYWORD2 NAME(TexImage4DSGIS)(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLint border, GLenum format, GLenum type, const void *pixels) { - DISPATCH(TextureMaterialEXT, (face, mode), (F, "glTextureMaterialEXT(0x%x, 0x%x);", face, mode)); + DISPATCH(TexImage4DSGIS, (target, level, internalFormat, width, height, depth, extent, border, format, type, pixels), (F, ";")); } -#endif -/* 135. GL_INTEL_texture_scissor */ -#if 00 -KEYWORD1 void KEYWORD2 NAME(TexScissorINTEL)(GLenum target, GLclampf tlow, GLclampf thigh) +KEYWORD1 void KEYWORD2 NAME(TexSubImage4DSGIS)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLenum format, GLenum type, const void *pixels) { - DISPATCH(TexScissorINTEL, (target, tlow, thigh), (F, "glTexScissorINTEL(0x%x %g %g);", target, tlow, thigh)); + DISPATCH(TexSubImage4DSGIS, (target, level, xoffset, yoffset, zoffset, woffset, width, height, depth, extent, format, type, pixels), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexScissorFuncINTEL)(GLenum target, GLenum lfunc, GLenum hfunc) -{ - DISPATCH(TexScissorFuncINTEL, (target, lfunc, hfunc), (F, "glTexScissorFuncINTEL(0x%x 0x%x 0x%x);", target, tlow, thigh)); -} -#endif +/* 20. GL_EXT_texture_object */ -/* 136. GL_INTEL_parallel_arrays */ -#if 00 -KEYWORD1 void KEYWORD2 NAME(VertexPointervINTEL)(GLint size, GLenum type, const void ** pointer) +KEYWORD1 void KEYWORD2 NAME(GenTexturesEXT)(GLsizei n, GLuint *textures) { - DISPATCH(VertexPointervINTEL, (size, type, pointer), (F, "glVertexPointervINTEL(%d, 0x%x, %p);", size, type, pointer)); + DISPATCH(GenTextures, (n, textures), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(NormalPointervINTEL)(GLenum type, const void** pointer) +KEYWORD1 void KEYWORD2 NAME(DeleteTexturesEXT)(GLsizei n, const GLuint *texture) { - DISPATCH(NormalPointervINTEL, (size, pointer), (F, "glNormalPointervINTEL(%d, %p);", size, pointer)); + DISPATCH(DeleteTextures, (n, texture), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ColorPointervINTEL)(GLint size, GLenum type, const void** pointer) +KEYWORD1 void KEYWORD2 NAME(BindTextureEXT)(GLenum target, GLuint texture) { - DISPATCH(ColorPointervINTEL, (size, type, pointer), (F, "glColorPointervINTEL(%d, 0x%x, %p);", size, type, pointer)); + DISPATCH(BindTexture, (target, texture), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoordPointervINTEL)(GLint size, GLenum type, const void** pointer) +KEYWORD1 void KEYWORD2 NAME(PrioritizeTexturesEXT)(GLsizei n, const GLuint *textures, const GLclampf *priorities) { - DISPATCH(TexCoordPointervINTEL, (size, type, pointer), (F, "glTexCoordPointervINTEL(%d, 0x%x, %p);", size, type, pointer)); + DISPATCH(PrioritizeTextures, (n, textures, priorities), (F, ";")); } -#endif -/* 138. GL_EXT_pixel_transform */ -#if 00 -KEYWORD1 void KEYWORD2 NAME(PixelTransformParameteriEXT)(GLenum target, GLenum pname, const GLint param) +KEYWORD1 GLboolean KEYWORD2 NAME(AreTexturesResidentEXT)(GLsizei n, const GLuint *textures, GLboolean *residences) { - DISPATCH(PixelTransformParameteriEXT, (target, pname, param), (F, "glPixelTransformParameteriEXT(0x%x, 0x%x, %d);", target, pname, param)); + RETURN_DISPATCH(AreTexturesResident, (n, textures, residences), (F, "glAreTexturesResidentEXT(%d %p %p);", n, textures, residences)); } -KEYWORD1 void KEYWORD2 NAME(PixelTransformParameterfEXT)(GLenum target, GLenum pname, const GLfloat param) +KEYWORD1 GLboolean KEYWORD2 NAME(IsTextureEXT)(GLuint texture) { - DISPATCH(PixelTransformParameterfEXT, (target, pname, param), (F, "glPixelTransformParameterfEXT(0x%x, 0x%x, %f);", target, pname, param)); + RETURN_DISPATCH(IsTexture, (texture), (F, "glIsTextureEXT(%u);", texture)); } -KEYWORD1 void KEYWORD2 NAME(PixelTransformParameterivEXT)(GLenum target, GLenum pname, const GLint *params) +/* 21. GL_SGIS_detail_texture */ + +KEYWORD1 void KEYWORD2 NAME(DetailTexFuncSGIS)(GLenum target, GLsizei n, const GLfloat *points) { - DISPATCH(PixelTransformParameterivEXT, (target, pname, params), (F, "glPixelTransformParameterivEXT(0x%x, 0x%x, %p);", target, pname, params)); + DISPATCH(DetailTexFuncSGIS, (target, n, points), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(PixelTransformParameterfvEXT)(GLenum target, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(GetDetailTexFuncSGIS)(GLenum target, GLfloat *points) { - DISPATCH(PixelTransformParameterfvEXT, (target, pname, params), (F, "glPixelTransformParameterfvEXT(0x%x, 0x%x, %p);", target, pname, params)); + DISPATCH(GetDetailTexFuncSGIS, (target, points), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetPixelTransformParameterivEXT)(GLenum target, GLenum pname, const GLint *params) +/* 22. GL_SGIS_sharpen_texture */ + +KEYWORD1 void KEYWORD2 NAME(GetSharpenTexFuncSGIS)(GLenum target, GLfloat *points) { - DISPATCH(GetPixelTransformParameterivEXT, (target, pname, params), (F, "glGetPixelTransformParameterivEXT(0x%x, 0x%x, %p);", target, pname, params)); + DISPATCH(GetSharpenTexFuncSGIS, (target, points), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetPixelTransformParameterfvEXT)(GLenum target, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(SharpenTexFuncSGIS)(GLenum target, GLsizei n, const GLfloat *points) { - DISPATCH(GetPixelTransformParameterfvEXT, (target, pname, params), (F, "glGetPixelTransformParameterfvEXT(0x%x, 0x%x, %p);", target, pname, params)); + DISPATCH(SharpenTexFuncSGIS, (target, n, points), (F, ";")); } -#endif -/* 145. GL_EXT_secondary_color */ -KEYWORD1 void KEYWORD2 NAME(SecondaryColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLvoid * pointer) +/* 25. GL_SGIS_multisample */ + +KEYWORD1 void KEYWORD2 NAME(SampleMaskSGIS)(GLclampf value, GLboolean invert) { - DISPATCH(SecondaryColorPointerEXT, (size, type, stride, pointer), (F, "glSecondaryColorPointerEXT(%d, 0x%x, %d, %p);", size, type, stride, pointer)); + DISPATCH(SampleMaskSGIS, (value, invert), (F, ";")); } -/* 149. GL_EXT_fog_coord */ -KEYWORD1 void KEYWORD2 NAME(FogCoordPointerEXT)(GLenum type, GLsizei stride, const GLvoid * pointer) +KEYWORD1 void KEYWORD2 NAME(SamplePatternSGIS)(GLenum pattern) { - DISPATCH(FogCoordPointerEXT, (type, stride, pointer), (F, "glFogCoordPointerEXT(0x%x, %d, %p);", type, stride, pointer)); + DISPATCH(SamplePatternSGIS, (pattern), (F, ";")); } -/* 173. GL_EXT/INGR_blend_func_separate */ -KEYWORD1 void KEYWORD2 NAME(BlendFuncSeparateEXT)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) +/* 30. GL_EXT_vertex_array */ + +KEYWORD1 void KEYWORD2 NAME(VertexPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) { - DISPATCH(BlendFuncSeparateEXT, (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha), (F, ";")); + DISPATCH(VertexPointerEXT, (size, type, stride, count, ptr), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(BlendFuncSeparateINGR)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) +KEYWORD1 void KEYWORD2 NAME(NormalPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) { - DISPATCH(BlendFuncSeparateEXT, (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha), (F, ";")); + DISPATCH(NormalPointerEXT, (type, stride, count, ptr), (F, ";")); } -/* 190. GL_NV_vertex_array_range */ -KEYWORD1 void KEYWORD2 NAME(FlushVertexArrayRangeNV)(void) +KEYWORD1 void KEYWORD2 NAME(ColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) { - DISPATCH(FlushVertexArrayRangeNV, (), (F, ";")); + DISPATCH(ColorPointerEXT, (size, type, stride, count, ptr), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(VertexArrayRangeNV)(GLsizei size, const GLvoid * pointer) +KEYWORD1 void KEYWORD2 NAME(IndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) { - DISPATCH(VertexArrayRangeNV, (size, pointer), (F, ";")); + DISPATCH(IndexPointerEXT, (type, stride, count, ptr), (F, ";")); } -/* 191. GL_NV_register_combiners */ -KEYWORD1 void KEYWORD2 NAME(CombinerParameterfvNV)(GLenum pname, const GLfloat * params) +KEYWORD1 void KEYWORD2 NAME(TexCoordPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) { - DISPATCH(CombinerParameterfvNV, (pname, params), (F, ";")); + DISPATCH(ColorPointerEXT, (size, type, stride, count, ptr), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CombinerParameterfNV)(GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(EdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLboolean *ptr) { - DISPATCH(CombinerParameterfNV, (pname, param), (F, ";")); + DISPATCH(EdgeFlagPointerEXT, (stride, count, ptr), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CombinerParameterivNV)(GLenum pname, const GLint * params) +KEYWORD1 void KEYWORD2 NAME(GetPointervEXT)(GLenum pname, void **params) { - DISPATCH(CombinerParameterivNV, (pname, params), (F, ";")); + DISPATCH(GetPointerv, (pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CombinerParameteriNV)(GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(DrawArraysEXT)(GLenum mode, GLint first, GLsizei count) { - DISPATCH(CombinerParameteriNV, (pname, param), (F, ";")); + DISPATCH(DrawArrays, (mode, first, count), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CombinerInputNV)(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) +/* 37. GL_EXT_blend_minmax */ +KEYWORD1 void KEYWORD2 NAME(BlendEquationEXT)(GLenum mode) { - DISPATCH(CombinerInputNV, (stage, portion, variable, input, mapping, componentUsage), (F, ";")); + DISPATCH(BlendEquation, (mode), (F, "glBlendEquationEXT(0x%x);", mode)); } -KEYWORD1 void KEYWORD2 NAME(CombinerOutputNV)(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum) +/* 52. GL_SGIX_sprite */ + +KEYWORD1 void KEYWORD2 NAME(SpriteParameterfSGIX)(GLenum pname, GLfloat param) { - DISPATCH(CombinerOutputNV, (stage, portion, abOutput, cdOutput, sumOutput, scale, bias, abDotProduct, cdDotProduct, muxSum), (F, ";")); + DISPATCH(SpriteParameterfSGIX, (pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(FinalCombinerInputNV)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) +KEYWORD1 void KEYWORD2 NAME(SpriteParameterfvSGIX)(GLenum pname, const GLfloat *param) { - DISPATCH(FinalCombinerInputNV, (variable, input, mapping, componentUsage), (F, ";")); + DISPATCH(SpriteParameterfvSGIX, (pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetCombinerInputParameterfvNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params) +KEYWORD1 void KEYWORD2 NAME(SpriteParameteriSGIX)(GLenum pname, GLint param) { - DISPATCH(GetCombinerInputParameterfvNV, (stage, portion, variable, pname, params), (F, ";")); + DISPATCH(SpriteParameteriSGIX, (pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetCombinerInputParameterivNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params) +KEYWORD1 void KEYWORD2 NAME(SpriteParameterivSGIX)(GLenum pname, const GLint *param) { - DISPATCH(GetCombinerInputParameterivNV, (stage, portion, variable, pname, params), (F, ";")); + DISPATCH(SpriteParameterivSGIX, (pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetCombinerOutputParameterfvNV)(GLenum stage, GLenum portion, GLenum pname, GLfloat * params) +/* 54. GL_EXT_point_parameters */ + +KEYWORD1 void KEYWORD2 NAME(PointParameterfEXT)(GLenum target, GLfloat param) { - DISPATCH(GetCombinerOutputParameterfvNV, (stage, portion, pname, params), (F, ";")); + DISPATCH(PointParameterfEXT, (target, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetCombinerOutputParameterivNV)(GLenum stage, GLenum portion, GLenum pname, GLint * params) +KEYWORD1 void KEYWORD2 NAME(PointParameterfvEXT)(GLenum target, const GLfloat *param) { - DISPATCH(GetCombinerOutputParameterivNV, (stage, portion, pname, params), (F, ";")); + DISPATCH(PointParameterfvEXT, (target, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetFinalCombinerInputParameterfvNV)(GLenum variable, GLenum pname, GLfloat * params) +KEYWORD1 void KEYWORD2 NAME(PointParameterfSGIS)(GLenum target, GLfloat param) { -DISPATCH(GetFinalCombinerInputParameterfvNV, (variable, pname, params), (F, ";")); + DISPATCH(PointParameterfEXT, (target, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetFinalCombinerInputParameterivNV)(GLenum variable, GLenum pname, GLint * params) +KEYWORD1 void KEYWORD2 NAME(PointParameterfvSGIS)(GLenum target, const GLfloat *param) { -DISPATCH(GetFinalCombinerInputParameterivNV, (variable, pname, params), (F, ";")); + DISPATCH(PointParameterfvEXT, (target, param), (F, ";")); } -/* 194. GL_EXT_vertex_weighting */ -KEYWORD1 void KEYWORD2 NAME(VertexWeightfEXT)(GLfloat weight) +/* 55. GL_SGIX_instruments */ +KEYWORD1 GLint KEYWORD2 NAME(GetInstrumentsSGIX)(void) { - DISPATCH(VertexWeightfEXT, (weight), (F, ";")); + RETURN_DISPATCH(GetInstrumentsSGIX, (), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(VertexWeightfvEXT)(const GLfloat * weight) +KEYWORD1 void KEYWORD2 NAME(InstrumentsBufferSGIX)(GLsizei size, GLint *buf) { - DISPATCH(VertexWeightfvEXT, (weight), (F, ";")); + DISPATCH(InstrumentsBufferSGIX, (size, buf), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(VertexWeightPointerEXT)(GLsizei size, GLenum type, GLsizei stride, const GLvoid * pointer) +KEYWORD1 GLint KEYWORD2 NAME(PollInstrumentsSGIX)(GLint *markerp) { - DISPATCH(VertexWeightPointerEXT, (size, type, stride, pointer), (F, ";")); + RETURN_DISPATCH(PollInstrumentsSGIX, (markerp), (F, ";")); } -/* 196. GL_MESA_resize_buffers */ -KEYWORD1 void KEYWORD2 NAME(ResizeBuffersMESA)(void) +KEYWORD1 void KEYWORD2 NAME(ReadInstrumentsSGIX)(GLint marker) { - DISPATCH(ResizeBuffersMESA, (), (F, "glResizeBuffersMESA();")); + DISPATCH(ReadInstrumentsSGIX, (marker), (F, ";")); } -/* 197. GL_MESA_window_pos */ -KEYWORD1 void KEYWORD2 NAME(WindowPos2iMESA)(GLint x, GLint y) +KEYWORD1 void KEYWORD2 NAME(StartInstrumentsSGIX)(void) { - DISPATCH(WindowPos2iMESA, (x, y), (F, ";")); + DISPATCH(StartInstrumentsSGIX, (), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos2sMESA)(GLshort x, GLshort y) +KEYWORD1 void KEYWORD2 NAME(StopInstrumentsSGIX)(GLint marker) { - DISPATCH(WindowPos2sMESA, (x, y), (F, ";")); + DISPATCH(StopInstrumentsSGIX, (marker), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos2fMESA)(GLfloat x, GLfloat y) +/* 57. GL_SGIX_framezoom */ +KEYWORD1 void KEYWORD2 NAME(FrameZoomSGIX)(GLint factor) { - DISPATCH(WindowPos2fMESA, (x, y), (F, ";")); + DISPATCH(FrameZoomSGIX, (factor), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos2dMESA)(GLdouble x, GLdouble y) +/* 58. GL_SGIX_tag_sample_buffer */ +KEYWORD1 void KEYWORD2 NAME(TagSampleBufferSGIX)(void) { - DISPATCH(WindowPos2dMESA, (x, y), (F, ";")); + DISPATCH(TagSampleBufferSGIX, (), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos2ivMESA)(const GLint *p) +/* 60. GL_SGIX_reference_plane */ +KEYWORD1 void KEYWORD2 NAME(ReferencePlaneSGIX)(const GLdouble *plane) { - DISPATCH(WindowPos2ivMESA, (p), (F, ";")); + DISPATCH(ReferencePlaneSGIX, (plane), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos2svMESA)(const GLshort *p) +/* 61. GL_SGIX_flush_raster */ +KEYWORD1 void KEYWORD2 NAME(FlushRasterSGIX)(void) { - DISPATCH(WindowPos2svMESA, (p), (F, ";")); + DISPATCH(FlushRasterSGIX, (), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos2fvMESA)(const GLfloat *p) +/* 66. GL_HP_image_transform */ +#if 00 +KEYWORD1 void KEYWORD2 NAME(GetImageTransformParameterfvHP)(GLenum target, GLenum pname, GLfloat *param) { - DISPATCH(WindowPos2fvMESA, (p), (F, ";")); + DISPATCH(GetImageTransformParameterfvHP, (target, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos2dvMESA)(const GLdouble *p) +KEYWORD1 void KEYWORD2 NAME(GetImageTransformParameterivHP)(GLenum target, GLenum pname, GLint *param) { - DISPATCH(WindowPos2dvMESA, (p), (F, ";")); + DISPATCH(GetImageTransformParameterivHP, (target, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3iMESA)(GLint x, GLint y, GLint z) +KEYWORD1 void KEYWORD2 NAME(ImageTransformParameterfHP)(GLenum target, GLenum pname, const GLfloat param) { - DISPATCH(WindowPos3iMESA, (x, y, z), (F, ";")); + DISPATCH(ImageTransformParameterfHP, (target, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3sMESA)(GLshort x, GLshort y, GLshort z) +KEYWORD1 void KEYWORD2 NAME(ImageTransformParameterfvHP)(GLenum target, GLenum pname, const GLfloat *param) { - DISPATCH(WindowPos3sMESA, (x, y, z), (F, ";")); + DISPATCH(ImageTransformParameterfvHP, (target, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3fMESA)(GLfloat x, GLfloat y, GLfloat z) +KEYWORD1 void KEYWORD2 NAME(ImageTransformParameteriHP)(GLenum target, GLenum pname, const GLint param) { - DISPATCH(WindowPos3fMESA, (x, y, z), (F, ";")); + DISPATCH(ImageTransformParameteriHP, (target, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3dMESA)(GLdouble x, GLdouble y, GLdouble z) +KEYWORD1 void KEYWORD2 NAME(ImageTransformParameterivHP)(GLenum target, GLenum pname, const GLint *param) { - DISPATCH(WindowPos3dMESA, (x, y, z), (F, ";")); + DISPATCH(ImageTransformParameterivHP, (target, pname, param), (F, ";")); } +#endif -KEYWORD1 void KEYWORD2 NAME(WindowPos3ivMESA)(const GLint *p) +/* 74. GL_EXT_color_subtable */ +KEYWORD1 void KEYWORD2 NAME(ColorSubTableEXT)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data) { - DISPATCH(WindowPos3ivMESA, (p), (F, ";")); + DISPATCH(ColorSubTable, (target, start, count, format, type, data), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3svMESA)(const GLshort *p) +KEYWORD1 void KEYWORD2 NAME(CopyColorSubTableEXT)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) { - DISPATCH(WindowPos3svMESA, (p), (F, ";")); + DISPATCH(CopyColorSubTable, (target, start, x, y, width), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3fvMESA)(const GLfloat *p) +/* 77. GL_PGI_misc_hints */ +KEYWORD1 void KEYWORD2 NAME(HintPGI)(GLenum target, GLint mode) { - DISPATCH(WindowPos3fvMESA, (p), (F, ";")); + DISPATCH(HintPGI, (target, mode), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3dvMESA)(const GLdouble *p) +/* 78. GL_EXT_paletted_texture */ + +KEYWORD1 void KEYWORD2 NAME(ColorTableEXT)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) { - DISPATCH(WindowPos3dvMESA, (p), (F, ";")); + DISPATCH(ColorTable, (target, internalformat, width, format, type, table), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4iMESA)(GLint x, GLint y, GLint z, GLint w) +KEYWORD1 void KEYWORD2 NAME(GetColorTableEXT)(GLenum target, GLenum format, GLenum type, GLvoid *table) { - DISPATCH(WindowPos4iMESA, (x, y, z, w), (F, ";")); + DISPATCH(GetColorTableEXT, (target, format, type, table), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4sMESA)(GLshort x, GLshort y, GLshort z, GLshort w) +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterfvEXT)(GLenum target, GLenum pname, GLfloat *params) { - DISPATCH(WindowPos4sMESA, (x, y, z, w), (F, ";")); + DISPATCH(GetColorTableParameterfvEXT, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4fMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterivEXT)(GLenum target, GLenum pname, GLint *params) { - DISPATCH(WindowPos4fMESA, (x, y, z, w), (F, ";")); + DISPATCH(GetColorTableParameterivEXT, (target, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4dMESA)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) +/* 80. GL_SGIX_list_priority */ + +KEYWORD1 void KEYWORD2 NAME(GetListParameterfvSGIX)(GLuint list, GLenum name, GLfloat *param) { - DISPATCH(WindowPos4dMESA, (x, y, z, w), (F, ";")); + DISPATCH(GetListParameterfvSGIX, (list, name, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4ivMESA)(const GLint *p) +KEYWORD1 void KEYWORD2 NAME(GetListParameterivSGIX)(GLuint list, GLenum name, GLint *param) { - DISPATCH(WindowPos4ivMESA, (p), (F, ";")); + DISPATCH(GetListParameterivSGIX, (list, name, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4svMESA)(const GLshort *p) +KEYWORD1 void KEYWORD2 NAME(ListParameterfSGIX)(GLuint list, GLenum name, GLfloat param) { - DISPATCH(WindowPos4svMESA, (p), (F, ";")); + DISPATCH(ListParameterfSGIX, (list, name, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4fvMESA)(const GLfloat *p) +KEYWORD1 void KEYWORD2 NAME(ListParameterfvSGIX)(GLuint list, GLenum name, const GLfloat *param) { - DISPATCH(WindowPos4fvMESA, (p), (F, ";")); + DISPATCH(ListParameterfvSGIX, (list, name, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4dvMESA)(const GLdouble *p) +KEYWORD1 void KEYWORD2 NAME(ListParameteriSGIX)(GLuint list, GLenum name, GLint param) { - DISPATCH(WindowPos4dvMESA, (p), (F, ";")); + DISPATCH(ListParameteriSGIX, (list, name, param), (F, ";")); } -/* 208. GL_3DFX_tbuffer */ -KEYWORD1 void KEYWORD2 NAME(TbufferMask3DFX)(GLuint mask) +KEYWORD1 void KEYWORD2 NAME(ListParameterivSGIX)(GLuint list, GLenum name, const GLint *param) { - DISPATCH(TbufferMask3DFX, (mask), (F, "glTbufferMask3DFX(0x%x);", mask)); + DISPATCH(ListParameterivSGIX, (list, name, param), (F, ";")); } -/* 209. WGL_EXT_multisample */ - -KEYWORD1 void KEYWORD2 NAME(SampleMaskEXT)(GLclampf value, GLboolean invert) +/* 94. GL_EXT_index_material */ +KEYWORD1 void KEYWORD2 NAME(IndexMaterialEXT)(GLenum face, GLenum mode) { - DISPATCH(SampleMaskSGIS, (value, invert), (F, ";")); + DISPATCH(IndexMaterialEXT, (face, mode), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(SamplePatternEXT)(GLenum pattern) +/* 95. GL_EXT_index_func */ +KEYWORD1 void KEYWORD2 NAME(IndexFuncEXT)(GLenum func, GLfloat ref) { - DISPATCH(SamplePatternSGIS, (pattern), (F, ";")); + DISPATCH(IndexFuncEXT, (func, ref), (F, ";")); } -/* ARB 1. GL_ARB_multitexture */ - -KEYWORD1 void KEYWORD2 NAME(ActiveTextureARB)(GLenum texture) +/* 97. GL_EXT_compiled_vertex_array */ +KEYWORD1 void KEYWORD2 NAME(LockArraysEXT)(GLint first, GLsizei count) { - DISPATCH(ActiveTextureARB, (texture), (F, ";")); + DISPATCH(LockArraysEXT, (first, count), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(ClientActiveTextureARB)(GLenum texture) +KEYWORD1 void KEYWORD2 NAME(UnlockArraysEXT)(void) { - DISPATCH(ClientActiveTextureARB, (texture), (F, ";")); + DISPATCH(UnlockArraysEXT, (), (F, ";")); } - -/* ARB 3. GL_ARB_transpose_matrix */ -KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixdARB)(const GLdouble m[16]) +/* 98. GL_EXT_cull_vertex */ +KEYWORD1 void KEYWORD2 NAME(CullParameterfvEXT)(GLenum pname, GLfloat *params) { - DISPATCH(LoadTransposeMatrixdARB, (m), (F, "glLoadTransposeMatrixARB(%p);", m)); + DISPATCH(CullParameterfvEXT, (pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixfARB)(const GLfloat m[16]) +KEYWORD1 void KEYWORD2 NAME(CullParameterdvEXT)(GLenum pname, GLdouble *params) { - DISPATCH(LoadTransposeMatrixfARB, (m), (F, "glLoadTransposeMatrixfARB(%p)", m)); + DISPATCH(CullParameterdvEXT, (pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixdARB)(const GLdouble m[16]) +/* 102. GL_SGIX_fragment_lighting */ +KEYWORD1 void KEYWORD2 NAME(FragmentColorMaterialSGIX)(GLenum face, GLenum mode) { - DISPATCH(MultTransposeMatrixdARB, (m), (F, "glMultTransposeMatrixfARB(%p)", m)); + DISPATCH(FragmentColorMaterialSGIX, (face, mode), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixfARB)(const GLfloat m[16]) +KEYWORD1 void KEYWORD2 NAME(FragmentLightfSGIX)(GLenum light, GLenum pname, GLfloat param) { - DISPATCH(MultTransposeMatrixfARB, (m), (F, "glLoadTransposeMatrixfARB(%p)", m)); + DISPATCH(FragmentLightfSGIX, (light, pname, param), (F, ";")); } -/* ARB 5. GL_ARB_multisample */ -KEYWORD1 void KEYWORD2 NAME(SampleCoverageARB)(GLclampf value, GLboolean invert) +KEYWORD1 void KEYWORD2 NAME(FragmentLightfvSGIX)(GLenum light, GLenum pname, const GLfloat * params) { - DISPATCH(SampleCoverageARB, (value, invert), (F, "glSampleCoverageARB(%f, %d);", value, invert)); + DISPATCH(FragmentLightfvSGIX, (light, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(SamplePassARB)(GLenum pass) +KEYWORD1 void KEYWORD2 NAME(FragmentLightiSGIX)(GLenum light, GLenum pname, GLint param) { - DISPATCH(SamplePassARB, (pass), (F, "glSamplePassARB(0x%x);", pass)); + DISPATCH(FragmentLightiSGIX, (light, pname, param), (F, ";")); } -/* ARB 12. GL_ARB_texture_compression */ -KEYWORD1 void KEYWORD2 NAME(CompressedTexImage3DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(FragmentLightivSGIX)(GLenum light, GLenum pname, const GLint * params) { - DISPATCH(CompressedTexImage3DARB, (target, level, internalformat, width, height, depth, border, imageSize, data), (F, "glCompressedTexImage3DARB();")); + DISPATCH(FragmentLightivSGIX, (light, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CompressedTexImage2DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(FragmentLightModelfSGIX)(GLenum pname, GLfloat param) { - DISPATCH(CompressedTexImage2DARB, (target, level, internalformat, width, height, border, imageSize, data), (F, "glCompressedTexImage2DARB();")); + DISPATCH(FragmentLightModelfSGIX, (pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CompressedTexImage1DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(FragmentLightModelfvSGIX)(GLenum pname, const GLfloat * params) { - DISPATCH(CompressedTexImage1DARB, (target, level, internalformat, width, border, imageSize, data), (F, "glCompressedTexImage1DARB();")); + DISPATCH(FragmentLightModelfvSGIX, (pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CompressedTexSubImage3DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(FragmentLightModeliSGIX)(GLenum pname, GLint param) { - DISPATCH(CompressedTexSubImage3DARB, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data), (F, "glCompressedTexSubImage3DARB();")); + DISPATCH(FragmentLightModeliSGIX, (pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CompressedTexSubImage2DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(FragmentLightModelivSGIX)(GLenum pname, const GLint * params) { - DISPATCH(CompressedTexSubImage2DARB, (target, level, xoffset, yoffset, width, height, format, imageSize, data), (F, "glCompressedTexSubImage2DARB();")); + DISPATCH(FragmentLightModelivSGIX, (pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CompressedTexSubImage1DARB)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(FragmentMaterialfSGIX)(GLenum face, GLenum pname, GLfloat param) { - DISPATCH(CompressedTexSubImage1DARB, (target, level, xoffset, width, format, imageSize, data), (F, "glCompressedTexSubImage1DARB();")); + DISPATCH(FragmentMaterialfSGIX, (face, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(GetCompressedTexImageARB)(GLenum target, GLint lod, GLvoid *img) +KEYWORD1 void KEYWORD2 NAME(FragmentMaterialfvSGIX)(GLenum face, GLenum pname, const GLfloat * params) { - DISPATCH(GetCompressedTexImageARB, (target, lod, img), (F, "glGetCompressedTexImageARB();")); + DISPATCH(FragmentMaterialfvSGIX, (face, pname, params), (F, ";")); } - - - -KEYWORD1 void KEYWORD2 NAME(Begin)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(FragmentMaterialiSGIX)(GLenum face, GLenum pname, GLint param) { - DISPATCH(Begin, (mode), (F, "glBegin(0x%x);", mode)); + DISPATCH(FragmentMaterialiSGIX, (face, pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CallList)(GLuint list) +KEYWORD1 void KEYWORD2 NAME(FragmentMaterialivSGIX)(GLenum face, GLenum pname, const GLint * params) { - DISPATCH(CallList, (list), (F, "glCallList(%u);", list)); + DISPATCH(FragmentMaterialivSGIX, (face, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(CallLists)(GLsizei n, GLenum type, const GLvoid *lists) +KEYWORD1 void KEYWORD2 NAME(GetFragmentLightfvSGIX)(GLenum light, GLenum pname, GLfloat * params) { - DISPATCH(CallLists, (n, type, lists), (F, "glCallLists(%d, 0x%x, %p);", n, type, lists)); + DISPATCH(FragmentLightfvSGIX, (light, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Color3b)(GLbyte red, GLbyte green, GLbyte blue) +KEYWORD1 void KEYWORD2 NAME(GetFragmentLightivSGIX)(GLenum light, GLenum pname, GLint * params) { - DISPATCH(Color3b, (red, green, blue), (F, "glColor3b(%d, %d, %d);", red, green, blue)); + DISPATCH(FragmentLightivSGIX, (light, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Color3d)(GLdouble red, GLdouble green, GLdouble blue) +KEYWORD1 void KEYWORD2 NAME(GetFragmentMaterialfvSGIX)(GLenum face, GLenum pname, GLfloat * params) { - DISPATCH(Color3d, (red, green, blue), (F, "glColor3d(%g, %g, %g);", red, green, blue)); + DISPATCH(FragmentMaterialfvSGIX, (face, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Color3f)(GLfloat red, GLfloat green, GLfloat blue) +KEYWORD1 void KEYWORD2 NAME(GetFragmentMaterialivSGIX)(GLenum face, GLenum pname, GLint * params) { - DISPATCH(Color3f, (red, green, blue), (F, "glColor3f(%g, %g, %g);", red, green, blue)); + DISPATCH(FragmentMaterialivSGIX, (face, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Color3i)(GLint red, GLint green, GLint blue) +KEYWORD1 void KEYWORD2 NAME(LightEnviSGIX)(GLenum pname, GLint param) { - DISPATCH(Color3i, (red, green, blue), (F, "glColor3i(%d, %d, %d);", red, green, blue)); + DISPATCH(LightEnviSGIX, (pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Color3s)(GLshort red, GLshort green, GLshort blue) +/* 112. GL_EXT_draw_range_elements */ +KEYWORD1 void KEYWORD2 NAME(DrawRangeElementsEXT)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) { - DISPATCH(Color3s, (red, green, blue), (F, "glColor3s(%d, %d, %d);", red, green, blue)); + DISPATCH(DrawRangeElements, (mode, start, end, count, type, indices), (F, "glDrawRangeElementsEXT(0x%x, %u %u %d 0x%x %p);", mode, start, end, count, type, indices)); } -KEYWORD1 void KEYWORD2 NAME(Color3ub)(GLubyte red, GLubyte green, GLubyte blue) +/* 117. GL_EXT_light_texture */ +#if 00 +KEYWORD1 void KEYWORD2 NAME(ApplyTextureEXT)(GLenum mode) { - DISPATCH(Color3ub, (red, green, blue), (F, "glColor3ub(%u, %u, %u);", red, green, blue)); + DISPATCH(ApplyTextureEXT, (mode), (F, "glApplyTextureEXT(0x%x);", mode)); } -KEYWORD1 void KEYWORD2 NAME(Color3ui)(GLuint red, GLuint green, GLuint blue) +KEYWORD1 void KEYWORD2 NAME(TextureLightEXT)(GLenum pname) { - DISPATCH(Color3ui, (red, green, blue), (F, "glColor3ui(%u, %u, %u);", red, green, blue)); + DISPATCH(TextureLightEXT, (pname), (F, "glTextureLightEXT(0x%x);", pname)); } -KEYWORD1 void KEYWORD2 NAME(Color3us)(GLushort red, GLushort green, GLushort blue) +KEYWORD1 void KEYWORD2 NAME(TextureMaterialEXT)(GLenum face, GLenum mode) { - DISPATCH(Color3us, (red, green, blue), (F, "glColor3us(%u, %u, %u);", red, green, blue)); + DISPATCH(TextureMaterialEXT, (face, mode), (F, "glTextureMaterialEXT(0x%x, 0x%x);", face, mode)); } +#endif -KEYWORD1 void KEYWORD2 NAME(Color4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) +/* 135. GL_INTEL_texture_scissor */ +#if 00 +KEYWORD1 void KEYWORD2 NAME(TexScissorINTEL)(GLenum target, GLclampf tlow, GLclampf thigh) { - DISPATCH(Color4b, (red, green, blue, alpha), (F, "glColor4b(%d, %d, %d, %d);", red, green, blue, alpha)); + DISPATCH(TexScissorINTEL, (target, tlow, thigh), (F, "glTexScissorINTEL(0x%x %g %g);", target, tlow, thigh)); } -KEYWORD1 void KEYWORD2 NAME(Color4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) +KEYWORD1 void KEYWORD2 NAME(TexScissorFuncINTEL)(GLenum target, GLenum lfunc, GLenum hfunc) { - DISPATCH(Color4d, (red, green, blue, alpha), (F, "glColor4d(%g, %g, %g, %g);", red, green, blue, alpha)); + DISPATCH(TexScissorFuncINTEL, (target, lfunc, hfunc), (F, "glTexScissorFuncINTEL(0x%x 0x%x 0x%x);", target, tlow, thigh)); } +#endif -KEYWORD1 void KEYWORD2 NAME(Color4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +/* 136. GL_INTEL_parallel_arrays */ +#if 00 +KEYWORD1 void KEYWORD2 NAME(VertexPointervINTEL)(GLint size, GLenum type, const void ** pointer) { - DISPATCH(Color4f, (red, green, blue, alpha), (F, "glColor4b(%g, %g, %g, %g);", red, green, blue, alpha)); + DISPATCH(VertexPointervINTEL, (size, type, pointer), (F, "glVertexPointervINTEL(%d, 0x%x, %p);", size, type, pointer)); } -KEYWORD1 void KEYWORD2 NAME(Color4i)(GLint red, GLint green, GLint blue, GLint alpha) +KEYWORD1 void KEYWORD2 NAME(NormalPointervINTEL)(GLenum type, const void** pointer) { - DISPATCH(Color4i, (red, green, blue, alpha), (F, "glColor4i(%d, %d, %d);", red, green, blue)); + DISPATCH(NormalPointervINTEL, (size, pointer), (F, "glNormalPointervINTEL(%d, %p);", size, pointer)); } -KEYWORD1 void KEYWORD2 NAME(Color4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha) +KEYWORD1 void KEYWORD2 NAME(ColorPointervINTEL)(GLint size, GLenum type, const void** pointer) { - DISPATCH(Color4s, (red, green, blue, alpha), (F, "glColor4s(%d, %d, %d, %d);", red, green, blue, alpha)); + DISPATCH(ColorPointervINTEL, (size, type, pointer), (F, "glColorPointervINTEL(%d, 0x%x, %p);", size, type, pointer)); } -KEYWORD1 void KEYWORD2 NAME(Color4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) +KEYWORD1 void KEYWORD2 NAME(TexCoordPointervINTEL)(GLint size, GLenum type, const void** pointer) { - DISPATCH(Color4ub, (red, green, blue, alpha), (F, "glColor4ub(%u, %u, %u, %u);", red, green, blue, alpha)); + DISPATCH(TexCoordPointervINTEL, (size, type, pointer), (F, "glTexCoordPointervINTEL(%d, 0x%x, %p);", size, type, pointer)); } +#endif -KEYWORD1 void KEYWORD2 NAME(Color4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha) +/* 138. GL_EXT_pixel_transform */ +#if 00 +KEYWORD1 void KEYWORD2 NAME(PixelTransformParameteriEXT)(GLenum target, GLenum pname, const GLint param) { - DISPATCH(Color4ui, (red, green, blue, alpha), (F, "glColor4ui(%u, %u, %u, %u);", red, green, blue, alpha)); + DISPATCH(PixelTransformParameteriEXT, (target, pname, param), (F, "glPixelTransformParameteriEXT(0x%x, 0x%x, %d);", target, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(Color4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha) +KEYWORD1 void KEYWORD2 NAME(PixelTransformParameterfEXT)(GLenum target, GLenum pname, const GLfloat param) { - DISPATCH(Color4us, (red, green, blue, alpha), (F, "glColor4us(%u, %u, %u, %u);", red, green, blue, alpha)); + DISPATCH(PixelTransformParameterfEXT, (target, pname, param), (F, "glPixelTransformParameterfEXT(0x%x, 0x%x, %f);", target, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(Color3bv)(const GLbyte *v) +KEYWORD1 void KEYWORD2 NAME(PixelTransformParameterivEXT)(GLenum target, GLenum pname, const GLint *params) { - DISPATCH(Color3bv, (v), (F, "glColor3bf(%p);", v)); + DISPATCH(PixelTransformParameterivEXT, (target, pname, params), (F, "glPixelTransformParameterivEXT(0x%x, 0x%x, %p);", target, pname, params)); } -KEYWORD1 void KEYWORD2 NAME(Color3dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(PixelTransformParameterfvEXT)(GLenum target, GLenum pname, const GLfloat *params) { - DISPATCH(Color3dv, (v), (F, "glColor3dv(%p);", v)); + DISPATCH(PixelTransformParameterfvEXT, (target, pname, params), (F, "glPixelTransformParameterfvEXT(0x%x, 0x%x, %p);", target, pname, params)); } -KEYWORD1 void KEYWORD2 NAME(Color3fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(GetPixelTransformParameterivEXT)(GLenum target, GLenum pname, const GLint *params) { - DISPATCH(Color3fv, (v), (F, "glColor3fv(%p);", v)); + DISPATCH(GetPixelTransformParameterivEXT, (target, pname, params), (F, "glGetPixelTransformParameterivEXT(0x%x, 0x%x, %p);", target, pname, params)); } -KEYWORD1 void KEYWORD2 NAME(Color3iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(GetPixelTransformParameterfvEXT)(GLenum target, GLenum pname, const GLfloat *params) { - DISPATCH(Color3iv, (v), (F, "glColor3iv(%p);", v)); + DISPATCH(GetPixelTransformParameterfvEXT, (target, pname, params), (F, "glGetPixelTransformParameterfvEXT(0x%x, 0x%x, %p);", target, pname, params)); } +#endif -KEYWORD1 void KEYWORD2 NAME(Color3sv)(const GLshort *v) +/* 145. GL_EXT_secondary_color */ + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3bEXT)(GLbyte red, GLbyte green, GLbyte blue) { - DISPATCH(Color3sv, (v), (F, "glColor3sv(%p);", v)); + DISPATCH(SecondaryColor3bEXT, (red, green, blue), (F, "glSecondaryColor3bEXT(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(Color3ubv)(const GLubyte *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3bvEXT)(const GLbyte *v) { - DISPATCH(Color3ubv, (v), (F, "glColor3ubv(%p);", v)); + DISPATCH(SecondaryColor3bvEXT, (v), (F, "glSecondaryColor3bvEXT(%d, %d, %d);", v[0], v[1], v[2])); } -KEYWORD1 void KEYWORD2 NAME(Color3uiv)(const GLuint *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3dEXT)(GLdouble red, GLdouble green, GLdouble blue) { - DISPATCH(Color3uiv, (v), (F, "glColor3uiv(%p);", v)); + DISPATCH(SecondaryColor3dEXT, (red, green, blue), (F, "glSecondaryColor3dEXT(%g, %g, %g);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(Color3usv)(const GLushort *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3dvEXT)(const GLdouble * v) { - DISPATCH(Color3usv, (v), (F, "glColor3usv(%p);", v)); + DISPATCH(SecondaryColor3dvEXT, (v), (F, "glSecondaryColor3dvEXT(%g, %g, %g);", v[0], v[1], v[2])); } -KEYWORD1 void KEYWORD2 NAME(Color4bv)(const GLbyte *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3fEXT)(GLfloat red, GLfloat green, GLfloat blue) { - DISPATCH(Color4bv, (v), (F, "glColor3bv(%p);", v)); + DISPATCH(SecondaryColor3fEXT, (red, green, blue), (F, "glSecondaryColor3fEXT(%g, %g, %g);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(Color4dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3fvEXT)(const GLfloat * v) { - DISPATCH(Color4dv, (v), (F, "glColor4dv(%p);", v)); + DISPATCH(SecondaryColor3fvEXT, (v), (F, "glSecondaryColor3fvEXT(%g, %g, %g);", v[0], v[1], v[2])); } -KEYWORD1 void KEYWORD2 NAME(Color4fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3iEXT)(GLint red, GLint green, GLint blue) { - DISPATCH(Color4fv, (v), (F, "glColor4fv(%p);", v)); + DISPATCH(SecondaryColor3iEXT, (red, green, blue), (F, "glSecondaryColor3iEXT(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(Color4iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ivEXT)(const GLint * v) { - DISPATCH(Color4iv, (v), (F, "glColor4iv(%p);", v)); + DISPATCH(SecondaryColor3ivEXT, (v), (F, "glSecondaryColor3ivEXT(%d, %d, %d);", v[0], v[1], v[2])); } -KEYWORD1 void KEYWORD2 NAME(Color4sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3sEXT)(GLshort red, GLshort green, GLshort blue) { - DISPATCH(Color4sv, (v), (F, "glColor4sv(%p);", v)); + DISPATCH(SecondaryColor3sEXT, (red, green, blue), (F, "glSecondaryColor3sEXT(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(Color4ubv)(const GLubyte *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3svEXT)(const GLshort * v) { - DISPATCH(Color4ubv, (v), (F, "glColor4ubv(%p);", v)); + DISPATCH(SecondaryColor3svEXT, (v), (F, "glSecondaryColor3svEXT(%d, %d, %d);", v[0], v[1], v[2])); } -KEYWORD1 void KEYWORD2 NAME(Color4uiv)(const GLuint *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ubEXT)(GLubyte red, GLubyte green, GLubyte blue) { - DISPATCH(Color4uiv, (v), (F, "glColor4uiv(%p);", v)); + DISPATCH(SecondaryColor3ubEXT, (red, green, blue), (F, "glSecondaryColor3ubEXT(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(Color4usv)(const GLushort *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ubvEXT)(const GLubyte * v) { - DISPATCH(Color4usv, (v), (F, "glColor4usv(%p);", v)); + DISPATCH(SecondaryColor3ubvEXT, (v), (F, "glSecondaryColor3ubvEXT(%d, %d, %d);", v[0], v[1], v[2])); } -KEYWORD1 void KEYWORD2 NAME(End)(void) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3uiEXT)(GLuint red, GLuint green, GLuint blue) { - DISPATCH(End, (), (F, "glEnd();")); + DISPATCH(SecondaryColor3uiEXT, (red, green, blue), (F, "glSecondaryColor3uiEXT(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord1d)(GLdouble u) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3uivEXT)(const GLuint * v) { - DISPATCH(EvalCoord1d, (u), (F, "glEvalCoord1d(%g);", u)); + DISPATCH(SecondaryColor3uivEXT, (v), (F, "glSecondaryColor3uivEXT(%d, %d, %d);", v[0], v[1], v[2])); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord1f)(GLfloat u) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3usEXT)(GLushort red, GLushort green, GLushort blue) { - DISPATCH(EvalCoord1f, (u), (F, ";")); + DISPATCH(SecondaryColor3usEXT, (red, green, blue), (F, "glSecondaryColor3usEXT(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord1dv)(const GLdouble *u) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3usvEXT)(const GLushort * v) { - DISPATCH(EvalCoord1dv, (u), (F, ";")); + DISPATCH(SecondaryColor3usvEXT, (v), (F, "glSecondaryColor3usvEXT(%d, %d, %d);", v[0], v[1], v[2])); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord1fv)(const GLfloat *u) +KEYWORD1 void KEYWORD2 NAME(SecondaryColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLvoid * pointer) { - DISPATCH(EvalCoord1fv, (u), (F, ";")); + DISPATCH(SecondaryColorPointerEXT, (size, type, stride, pointer), (F, "glSecondaryColorPointerEXT(%d, 0x%x, %d, %p);", size, type, stride, pointer)); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord2d)(GLdouble u, GLdouble v) +/* 149. GL_EXT_fog_coord */ + +KEYWORD1 void KEYWORD2 NAME(FogCoordfEXT)(GLfloat coord) { - DISPATCH(EvalCoord2d, (u, v), (F, ";")); + DISPATCH(FogCoordfEXT, (coord), (F, "glFogCoordfEXT(%g);", coord)); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord2f)(GLfloat u, GLfloat v) +KEYWORD1 void KEYWORD2 NAME(FogCoordfvEXT)(const GLfloat * coord) { - DISPATCH(EvalCoord2f, (u, v), (F, ";")); + DISPATCH(FogCoordfvEXT, (coord), (F, "glFogCoordfvEXT(%p);", coord)); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord2dv)(const GLdouble *u) +KEYWORD1 void KEYWORD2 NAME(FogCoorddEXT)(GLdouble coord) { - DISPATCH(EvalCoord2dv, (u), (F, ";")); + DISPATCH(FogCoorddEXT, (coord), (F, "glFogCoorddEXT(%g);", coord)); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord2fv)(const GLfloat *u) +KEYWORD1 void KEYWORD2 NAME(FogCoorddvEXT)(const GLdouble * coord) { - DISPATCH(EvalCoord2fv, (u), (F, ";")); + DISPATCH(FogCoorddvEXT, (coord), (F, "glFogCoorddvEXT(%p);", coord)); } -KEYWORD1 void KEYWORD2 NAME(EvalPoint1)(GLint i) +KEYWORD1 void KEYWORD2 NAME(FogCoordPointerEXT)(GLenum type, GLsizei stride, const GLvoid * pointer) { - DISPATCH(EvalPoint1, (i), (F, ";")); + DISPATCH(FogCoordPointerEXT, (type, stride, pointer), (F, "glFogCoordPointerEXT(0x%x, %d, %p);", type, stride, pointer)); } -KEYWORD1 void KEYWORD2 NAME(EvalPoint2)(GLint i, GLint j) +/* 173. GL_EXT/INGR_blend_func_separate */ +KEYWORD1 void KEYWORD2 NAME(BlendFuncSeparateEXT)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { - DISPATCH(EvalPoint2, (i, j), (F, ";")); + DISPATCH(BlendFuncSeparateEXT, (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(EdgeFlag)(GLboolean flag) +KEYWORD1 void KEYWORD2 NAME(BlendFuncSeparateINGR)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { - DISPATCH(EdgeFlag, (flag), (F, ";")); + DISPATCH(BlendFuncSeparateEXT, (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(EdgeFlagv)(const GLboolean *flag) +/* 190. GL_NV_vertex_array_range */ +KEYWORD1 void KEYWORD2 NAME(FlushVertexArrayRangeNV)(void) { - DISPATCH(EdgeFlagv, (flag), (F, ";")); + DISPATCH(FlushVertexArrayRangeNV, (), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Indexd)(GLdouble c) +KEYWORD1 void KEYWORD2 NAME(VertexArrayRangeNV)(GLsizei size, const GLvoid * pointer) { - DISPATCH(Indexd, (c), (F, ";")); + DISPATCH(VertexArrayRangeNV, (size, pointer), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Indexdv)(const GLdouble *c) +/* 191. GL_NV_register_combiners */ +KEYWORD1 void KEYWORD2 NAME(CombinerParameterfvNV)(GLenum pname, const GLfloat * params) { - DISPATCH(Indexdv, (c), (F, ";")); + DISPATCH(CombinerParameterfvNV, (pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Indexf)(GLfloat c) +KEYWORD1 void KEYWORD2 NAME(CombinerParameterfNV)(GLenum pname, GLfloat param) { - DISPATCH(Indexf, (c), (F, ";")); + DISPATCH(CombinerParameterfNV, (pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Indexfv)(const GLfloat *c) +KEYWORD1 void KEYWORD2 NAME(CombinerParameterivNV)(GLenum pname, const GLint * params) { - DISPATCH(Indexfv, (c), (F, ";")); + DISPATCH(CombinerParameterivNV, (pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Indexi)(GLint c) +KEYWORD1 void KEYWORD2 NAME(CombinerParameteriNV)(GLenum pname, GLint param) { - DISPATCH(Indexi, (c), (F, ";")); + DISPATCH(CombinerParameteriNV, (pname, param), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Indexiv)(const GLint *c) +KEYWORD1 void KEYWORD2 NAME(CombinerInputNV)(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) { - DISPATCH(Indexiv, (c), (F, ";")); + DISPATCH(CombinerInputNV, (stage, portion, variable, input, mapping, componentUsage), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Indexs)(GLshort c) +KEYWORD1 void KEYWORD2 NAME(CombinerOutputNV)(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum) { - DISPATCH(Indexs, (c), (F, ";")); + DISPATCH(CombinerOutputNV, (stage, portion, abOutput, cdOutput, sumOutput, scale, bias, abDotProduct, cdDotProduct, muxSum), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Indexsv)(const GLshort *c) +KEYWORD1 void KEYWORD2 NAME(FinalCombinerInputNV)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) { - DISPATCH(Indexsv, (c), (F, ";")); + DISPATCH(FinalCombinerInputNV, (variable, input, mapping, componentUsage), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Materialf)(GLenum face, GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(GetCombinerInputParameterfvNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params) { - DISPATCH(Materialf, (face, pname, param), (F, ";")); + DISPATCH(GetCombinerInputParameterfvNV, (stage, portion, variable, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Materiali)(GLenum face, GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(GetCombinerInputParameterivNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params) { - DISPATCH(Materiali, (face, pname, param), (F, ";")); + DISPATCH(GetCombinerInputParameterivNV, (stage, portion, variable, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Materialfv)(GLenum face, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(GetCombinerOutputParameterfvNV)(GLenum stage, GLenum portion, GLenum pname, GLfloat * params) { - DISPATCH(Materialfv, (face, pname, params), (F, ";")); + DISPATCH(GetCombinerOutputParameterfvNV, (stage, portion, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Materialiv)(GLenum face, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(GetCombinerOutputParameterivNV)(GLenum stage, GLenum portion, GLenum pname, GLint * params) { - DISPATCH(Materialiv, (face, pname, params), (F, ";")); + DISPATCH(GetCombinerOutputParameterivNV, (stage, portion, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Normal3b)(GLbyte nx, GLbyte ny, GLbyte nz) +KEYWORD1 void KEYWORD2 NAME(GetFinalCombinerInputParameterfvNV)(GLenum variable, GLenum pname, GLfloat * params) { - DISPATCH(Normal3b, (nx, ny, nz), (F, "glNormal3b(%d, %d, %d);", nx, ny, nz)); +DISPATCH(GetFinalCombinerInputParameterfvNV, (variable, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Normal3bv)(const GLbyte *v) +KEYWORD1 void KEYWORD2 NAME(GetFinalCombinerInputParameterivNV)(GLenum variable, GLenum pname, GLint * params) { - DISPATCH(Normal3bv, (v), (F, "glNormal3bv(%p);", v)); +DISPATCH(GetFinalCombinerInputParameterivNV, (variable, pname, params), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Normal3d)(GLdouble nx, GLdouble ny, GLdouble nz) +/* 194. GL_EXT_vertex_weighting */ +KEYWORD1 void KEYWORD2 NAME(VertexWeightfEXT)(GLfloat weight) { - DISPATCH(Normal3d, (nx, ny, nz), (F, "glNormal3d(%f, %f, %f);", nx, ny, nz)); + DISPATCH(VertexWeightfEXT, (weight), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Normal3dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(VertexWeightfvEXT)(const GLfloat * weight) { - DISPATCH(Normal3dv, (v), (F, "glNormal3dv(%p);", v)); + DISPATCH(VertexWeightfvEXT, (weight), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Normal3f)(GLfloat nx, GLfloat ny, GLfloat nz) +KEYWORD1 void KEYWORD2 NAME(VertexWeightPointerEXT)(GLsizei size, GLenum type, GLsizei stride, const GLvoid * pointer) { - DISPATCH(Normal3f, (nx, ny, nz), (F, "glNormal3f(%g, %g, %g);", nx, ny, nz)); + DISPATCH(VertexWeightPointerEXT, (size, type, stride, pointer), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Normal3fv)(const GLfloat *v) +/* 196. GL_MESA_resize_buffers */ +KEYWORD1 void KEYWORD2 NAME(ResizeBuffersMESA)(void) { - DISPATCH(Normal3fv, (v), (F, "glNormal3fv(%p);", v)); + DISPATCH(ResizeBuffersMESA, (), (F, "glResizeBuffersMESA();")); } -KEYWORD1 void KEYWORD2 NAME(Normal3i)(GLint nx, GLint ny, GLint nz) +/* 197. GL_MESA_window_pos */ +KEYWORD1 void KEYWORD2 NAME(WindowPos2iMESA)(GLint x, GLint y) { - DISPATCH(Normal3i, (nx, ny, nz), (F, "glNormal3i(%d, %d, %d);", nx, ny, nz)); + DISPATCH(WindowPos2iMESA, (x, y), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Normal3iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos2sMESA)(GLshort x, GLshort y) { - DISPATCH(Normal3iv, (v), (F, "glNormal3iv(%p);", v)); + DISPATCH(WindowPos2sMESA, (x, y), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Normal3s)(GLshort nx, GLshort ny, GLshort nz) +KEYWORD1 void KEYWORD2 NAME(WindowPos2fMESA)(GLfloat x, GLfloat y) { - DISPATCH(Normal3s, (nx, ny, nz), (F, "glNormal3s(%d, %d, %d);", nx, ny, nz)); + DISPATCH(WindowPos2fMESA, (x, y), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Normal3sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos2dMESA)(GLdouble x, GLdouble y) { - DISPATCH(Normal3sv, (v), (F, "glNormal3sv(%p);", v)); + DISPATCH(WindowPos2dMESA, (x, y), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1d)(GLdouble s) +KEYWORD1 void KEYWORD2 NAME(WindowPos2ivMESA)(const GLint *p) { - DISPATCH(TexCoord1d, (s), (F, ";")); + DISPATCH(WindowPos2ivMESA, (p), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1f)(GLfloat s) +KEYWORD1 void KEYWORD2 NAME(WindowPos2svMESA)(const GLshort *p) { - DISPATCH(TexCoord1f, (s), (F, ";")); + DISPATCH(WindowPos2svMESA, (p), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1i)(GLint s) +KEYWORD1 void KEYWORD2 NAME(WindowPos2fvMESA)(const GLfloat *p) { - DISPATCH(TexCoord1i, (s), (F, ";")); + DISPATCH(WindowPos2fvMESA, (p), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1s)(GLshort s) +KEYWORD1 void KEYWORD2 NAME(WindowPos2dvMESA)(const GLdouble *p) { - DISPATCH(TexCoord1s, (s), (F, ";")); + DISPATCH(WindowPos2dvMESA, (p), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2d)(GLdouble s, GLdouble t) +KEYWORD1 void KEYWORD2 NAME(WindowPos3iMESA)(GLint x, GLint y, GLint z) { - DISPATCH(TexCoord2d, (s, t), (F, ";")); + DISPATCH(WindowPos3iMESA, (x, y, z), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2f)(GLfloat s, GLfloat t) +KEYWORD1 void KEYWORD2 NAME(WindowPos3sMESA)(GLshort x, GLshort y, GLshort z) { - DISPATCH(TexCoord2f, (s, t), (F, ";")); + DISPATCH(WindowPos3sMESA, (x, y, z), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2s)(GLshort s, GLshort t) +KEYWORD1 void KEYWORD2 NAME(WindowPos3fMESA)(GLfloat x, GLfloat y, GLfloat z) { - DISPATCH(TexCoord2s, (s, t), (F, ";")); + DISPATCH(WindowPos3fMESA, (x, y, z), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2i)(GLint s, GLint t) +KEYWORD1 void KEYWORD2 NAME(WindowPos3dMESA)(GLdouble x, GLdouble y, GLdouble z) { - DISPATCH(TexCoord2i, (s, t), (F, ";")); + DISPATCH(WindowPos3dMESA, (x, y, z), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3d)(GLdouble s, GLdouble t, GLdouble r) +KEYWORD1 void KEYWORD2 NAME(WindowPos3ivMESA)(const GLint *p) { - DISPATCH(TexCoord3d, (s, t, r), (F, ";")); + DISPATCH(WindowPos3ivMESA, (p), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3f)(GLfloat s, GLfloat t, GLfloat r) +KEYWORD1 void KEYWORD2 NAME(WindowPos3svMESA)(const GLshort *p) { - DISPATCH(TexCoord3f, (s, t, r), (F, ";")); + DISPATCH(WindowPos3svMESA, (p), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3i)(GLint s, GLint t, GLint r) +KEYWORD1 void KEYWORD2 NAME(WindowPos3fvMESA)(const GLfloat *p) { - DISPATCH(TexCoord3i, (s, t, r), (F, ";")); + DISPATCH(WindowPos3fvMESA, (p), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3s)(GLshort s, GLshort t, GLshort r) +KEYWORD1 void KEYWORD2 NAME(WindowPos3dvMESA)(const GLdouble *p) { - DISPATCH(TexCoord3s, (s, t, r), (F, ";")); + DISPATCH(WindowPos3dvMESA, (p), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4d)(GLdouble s, GLdouble t, GLdouble r, GLdouble q) +KEYWORD1 void KEYWORD2 NAME(WindowPos4iMESA)(GLint x, GLint y, GLint z, GLint w) { - DISPATCH(TexCoord4d, (s, t, r, q), (F, ";")); + DISPATCH(WindowPos4iMESA, (x, y, z, w), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4f)(GLfloat s, GLfloat t, GLfloat r, GLfloat q) +KEYWORD1 void KEYWORD2 NAME(WindowPos4sMESA)(GLshort x, GLshort y, GLshort z, GLshort w) { - DISPATCH(TexCoord4f, (s, t, r, q), (F, ";")); + DISPATCH(WindowPos4sMESA, (x, y, z, w), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4i)(GLint s, GLint t, GLint r, GLint q) +KEYWORD1 void KEYWORD2 NAME(WindowPos4fMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - DISPATCH(TexCoord4i, (s, t, r, q), (F, ";")); + DISPATCH(WindowPos4fMESA, (x, y, z, w), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4s)(GLshort s, GLshort t, GLshort r, GLshort q) +KEYWORD1 void KEYWORD2 NAME(WindowPos4dMESA)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { - DISPATCH(TexCoord4s, (s, t, r, q), (F, ";")); + DISPATCH(WindowPos4dMESA, (x, y, z, w), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos4ivMESA)(const GLint *p) { - DISPATCH(TexCoord1dv, (v), (F, ";")); + DISPATCH(WindowPos4ivMESA, (p), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos4svMESA)(const GLshort *p) { - DISPATCH(TexCoord1fv, (v), (F, ";")); + DISPATCH(WindowPos4svMESA, (p), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos4fvMESA)(const GLfloat *p) { - DISPATCH(TexCoord1iv, (v), (F, ";")); + DISPATCH(WindowPos4fvMESA, (p), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos4dvMESA)(const GLdouble *p) { - DISPATCH(TexCoord1sv, (v), (F, ";")); + DISPATCH(WindowPos4dvMESA, (p), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2dv)(const GLdouble *v) +/* 208. GL_3DFX_tbuffer */ +KEYWORD1 void KEYWORD2 NAME(TbufferMask3DFX)(GLuint mask) { - DISPATCH(TexCoord2dv, (v), (F, ";")); + DISPATCH(TbufferMask3DFX, (mask), (F, "glTbufferMask3DFX(0x%x);", mask)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2fv)(const GLfloat *v) +/* 209. WGL_EXT_multisample */ + +KEYWORD1 void KEYWORD2 NAME(SampleMaskEXT)(GLclampf value, GLboolean invert) { - DISPATCH(TexCoord2fv, (v), (F, ";")); + DISPATCH(SampleMaskSGIS, (value, invert), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(SamplePatternEXT)(GLenum pattern) { - DISPATCH(TexCoord2iv, (v), (F, ";")); + DISPATCH(SamplePatternSGIS, (pattern), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2sv)(const GLshort *v) +/* ARB 1. GL_ARB_multitexture */ + +KEYWORD1 void KEYWORD2 NAME(ActiveTextureARB)(GLenum texture) { - DISPATCH(TexCoord2sv, (v), (F, ";")); + DISPATCH(ActiveTextureARB, (texture), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(ClientActiveTextureARB)(GLenum texture) { - DISPATCH(TexCoord3dv, (v), (F, ";")); + DISPATCH(ClientActiveTextureARB, (texture), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dARB)(GLenum target, GLdouble s) { - DISPATCH(TexCoord3fv, (v), (F, ";")); + DISPATCH(MultiTexCoord1dARB, (target, s), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dvARB)(GLenum target, const GLdouble *v) { - DISPATCH(TexCoord3iv, (v), (F, ";")); + DISPATCH(MultiTexCoord1dvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fARB)(GLenum target, GLfloat s) { - DISPATCH(TexCoord3sv, (v), (F, ";")); + DISPATCH(MultiTexCoord1fARB, (target, s), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fvARB)(GLenum target, const GLfloat *v) { - DISPATCH(TexCoord4dv, (v), (F, ";")); + DISPATCH(MultiTexCoord1fvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1iARB)(GLenum target, GLint s) { - DISPATCH(TexCoord4fv, (v), (F, ";")); + DISPATCH(MultiTexCoord1iARB, (target, s), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1ivARB)(GLenum target, const GLint *v) { - DISPATCH(TexCoord4iv, (v), (F, ";")); + DISPATCH(MultiTexCoord1ivARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1sARB)(GLenum target, GLshort s) { - DISPATCH(TexCoord4sv, (v), (F, ";")); + DISPATCH(MultiTexCoord1sARB, (target, s), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex2d)(GLdouble x, GLdouble y) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1svARB)(GLenum target, const GLshort *v) { - DISPATCH(Vertex2d, (x, y), (F, "glVertex2d(%f, %f);", x, y)); + DISPATCH(MultiTexCoord1svARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex2dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dARB)(GLenum target, GLdouble s, GLdouble t) { - DISPATCH(Vertex2dv, (v), (F, "glVertex2dv(%p);", v)); + DISPATCH(MultiTexCoord2dARB, (target, s, t), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex2f)(GLfloat x, GLfloat y) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dvARB)(GLenum target, const GLdouble *v) { - DISPATCH(Vertex2f, (x, y), (F, "glVertex2f(%g, %g);", x, y)); + DISPATCH(MultiTexCoord2dvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex2fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fARB)(GLenum target, GLfloat s, GLfloat t) { - DISPATCH(Vertex2fv, (v), (F, "glVertex2fv(%p);", v)); + DISPATCH(MultiTexCoord2fARB, (target, s, t), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex2i)(GLint x, GLint y) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fvARB)(GLenum target, const GLfloat *v) { - DISPATCH(Vertex2i, (x, y), (F, "glVertex2i(%d, %d);", x, y)); + DISPATCH(MultiTexCoord2fvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex2iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2iARB)(GLenum target, GLint s, GLint t) { - DISPATCH(Vertex2iv, (v), (F, "glVertex2iv(%p);", v)); + DISPATCH(MultiTexCoord2iARB, (target, s, t), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex2s)(GLshort x, GLshort y) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2ivARB)(GLenum target, const GLint *v) { - DISPATCH(Vertex2s, (x, y), (F, "glVertex2s(%d, %d);", x, y)); + DISPATCH(MultiTexCoord2ivARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex2sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2sARB)(GLenum target, GLshort s, GLshort t) { - DISPATCH(Vertex2sv, (v), (F, "glVertex2sv(%p);", v)); + DISPATCH(MultiTexCoord2sARB, (target, s, t), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex3d)(GLdouble x, GLdouble y, GLdouble z) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2svARB)(GLenum target, const GLshort *v) { - DISPATCH(Vertex3d, (x, y, z), (F, "glVertex3d(%f, %f, %f);", x, y, z)); + DISPATCH(MultiTexCoord2svARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex3dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r) { - DISPATCH(Vertex3dv, (v), (F, "glVertex3dv(%p);", v)); + DISPATCH(MultiTexCoord3dARB, (target, s, t, r), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex3f)(GLfloat x, GLfloat y, GLfloat z) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3dvARB)(GLenum target, const GLdouble *v) { - DISPATCH(Vertex3f, (x, y, z), (F, "glVertex3f(%g, %g, %g);", x, y, z)); + DISPATCH(MultiTexCoord3dvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex3fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r) { - DISPATCH(Vertex3fv, (v), (F, "glVertex3fv(%p);", v)); + DISPATCH(MultiTexCoord3fARB, (target, s, t, r), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex3i)(GLint x, GLint y, GLint z) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3fvARB)(GLenum target, const GLfloat *v) { - DISPATCH(Vertex3i, (x, y, z), (F, "glVertex3i(%d, %d, %d);", x, y, z)); + DISPATCH(MultiTexCoord3fvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex3iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3iARB)(GLenum target, GLint s, GLint t, GLint r) { - DISPATCH(Vertex3iv, (v), (F, "glVertex3iv(%p);", v)); + DISPATCH(MultiTexCoord3iARB, (target, s, t, r), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex3s)(GLshort x, GLshort y, GLshort z) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3ivARB)(GLenum target, const GLint *v) { - DISPATCH(Vertex3s, (x, y, z), (F, "glVertex3s(%d, %d, %d);", x, y, z)); + DISPATCH(MultiTexCoord3ivARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex3sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3sARB)(GLenum target, GLshort s, GLshort t, GLshort r) { - DISPATCH(Vertex3sv, (v), (F, "glVertex3sv(%p);", v)); + DISPATCH(MultiTexCoord3sARB, (target, s, t, r), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3svARB)(GLenum target, const GLshort *v) { - DISPATCH(Vertex4d, (x, y, z, w), (F, "glVertex4d(%f, %f, %f, %f);", x, y, z, w)); + DISPATCH(MultiTexCoord3svARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex4dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { - DISPATCH(Vertex4dv, (v), (F, "glVertex4dv(%p);", v)); + DISPATCH(MultiTexCoord4dARB, (target, s, t, r, q), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dvARB)(GLenum target, const GLdouble *v) { - DISPATCH(Vertex4f, (x, y, z, w), (F, "glVertex4f(%f, %f, %f, %f);", x, y, z, w)); + DISPATCH(MultiTexCoord4dvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex4fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { - DISPATCH(Vertex4fv, (v), (F, "glVertex4fv(%p);", v)); + DISPATCH(MultiTexCoord4fARB, (target, s, t, r, q), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex4i)(GLint x, GLint y, GLint z, GLint w) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fvARB)(GLenum target, const GLfloat *v) { - DISPATCH(Vertex4i, (x, y, z, w), (F, "glVertex4i(%d, %d, %d, %d);", x, y, z, w)); + DISPATCH(MultiTexCoord4fvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex4iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4iARB)(GLenum target, GLint s, GLint t, GLint r, GLint q) { - DISPATCH(Vertex4iv, (v), (F, "glVertex4iv(%p);", v)); + DISPATCH(MultiTexCoord4iARB, (target, s, t, r, q), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex4s)(GLshort x, GLshort y, GLshort z, GLshort w) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4ivARB)(GLenum target, const GLint *v) { - DISPATCH(Vertex4s, (x, y, z, w), (F, "glVertex4s(%d, %d, %d, %d);", x, y, z, w)); + DISPATCH(MultiTexCoord4ivARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Vertex4sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4sARB)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) { - DISPATCH(Vertex4sv, (v), (F, "glVertex4sv(%p);", v)); + DISPATCH(MultiTexCoord4sARB, (target, s, t, r, q), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Indexub)(GLubyte c) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4svARB)(GLenum target, const GLshort *v) { - DISPATCH(Indexub, (c), (F, ";")); + DISPATCH(MultiTexCoord4svARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(Indexubv)(const GLubyte *c) + +/* ARB 3. GL_ARB_transpose_matrix */ +KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixdARB)(const GLdouble m[16]) { - DISPATCH(Indexubv, (c), (F, ";")); + DISPATCH(LoadTransposeMatrixdARB, (m), (F, "glLoadTransposeMatrixARB(%p);", m)); } -KEYWORD1 void KEYWORD2 NAME(ArrayElementEXT)(GLint i) +KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixfARB)(const GLfloat m[16]) { - DISPATCH(ArrayElement, (i), (F, ";")); + DISPATCH(LoadTransposeMatrixfARB, (m), (F, "glLoadTransposeMatrixfARB(%p)", m)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3bEXT)(GLbyte red, GLbyte green, GLbyte blue) +KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixdARB)(const GLdouble m[16]) { - DISPATCH(SecondaryColor3bEXT, (red, green, blue), (F, "glSecondaryColor3bEXT(%d, %d, %d);", red, green, blue)); + DISPATCH(MultTransposeMatrixdARB, (m), (F, "glMultTransposeMatrixfARB(%p)", m)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3bvEXT)(const GLbyte *v) +KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixfARB)(const GLfloat m[16]) { - DISPATCH(SecondaryColor3bvEXT, (v), (F, "glSecondaryColor3bvEXT(%d, %d, %d);", v[0], v[1], v[2])); + DISPATCH(MultTransposeMatrixfARB, (m), (F, "glLoadTransposeMatrixfARB(%p)", m)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3dEXT)(GLdouble red, GLdouble green, GLdouble blue) +/* ARB 5. GL_ARB_multisample */ +KEYWORD1 void KEYWORD2 NAME(SampleCoverageARB)(GLclampf value, GLboolean invert) { - DISPATCH(SecondaryColor3dEXT, (red, green, blue), (F, "glSecondaryColor3dEXT(%g, %g, %g);", red, green, blue)); + DISPATCH(SampleCoverageARB, (value, invert), (F, "glSampleCoverageARB(%f, %d);", value, invert)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3dvEXT)(const GLdouble * v) +KEYWORD1 void KEYWORD2 NAME(SamplePassARB)(GLenum pass) { - DISPATCH(SecondaryColor3dvEXT, (v), (F, "glSecondaryColor3dvEXT(%g, %g, %g);", v[0], v[1], v[2])); + DISPATCH(SamplePassARB, (pass), (F, "glSamplePassARB(0x%x);", pass)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3fEXT)(GLfloat red, GLfloat green, GLfloat blue) +/* ARB 12. GL_ARB_texture_compression */ +KEYWORD1 void KEYWORD2 NAME(CompressedTexImage1DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) { - DISPATCH(SecondaryColor3fEXT, (red, green, blue), (F, "glSecondaryColor3fEXT(%g, %g, %g);", red, green, blue)); + DISPATCH(CompressedTexImage1DARB, (target, level, internalformat, width, border, imageSize, data), (F, "glCompressedTexImage1DARB();")); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3fvEXT)(const GLfloat * v) +KEYWORD1 void KEYWORD2 NAME(CompressedTexImage2DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) { - DISPATCH(SecondaryColor3fvEXT, (v), (F, "glSecondaryColor3fvEXT(%g, %g, %g);", v[0], v[1], v[2])); + DISPATCH(CompressedTexImage2DARB, (target, level, internalformat, width, height, border, imageSize, data), (F, "glCompressedTexImage2DARB();")); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3iEXT)(GLint red, GLint green, GLint blue) +KEYWORD1 void KEYWORD2 NAME(CompressedTexImage3DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) { - DISPATCH(SecondaryColor3iEXT, (red, green, blue), (F, "glSecondaryColor3iEXT(%d, %d, %d);", red, green, blue)); + DISPATCH(CompressedTexImage3DARB, (target, level, internalformat, width, height, depth, border, imageSize, data), (F, "glCompressedTexImage3DARB();")); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ivEXT)(const GLint * v) +KEYWORD1 void KEYWORD2 NAME(CompressedTexSubImage1DARB)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) { - DISPATCH(SecondaryColor3ivEXT, (v), (F, "glSecondaryColor3ivEXT(%d, %d, %d);", v[0], v[1], v[2])); + DISPATCH(CompressedTexSubImage1DARB, (target, level, xoffset, width, format, imageSize, data), (F, "glCompressedTexSubImage1DARB();")); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3sEXT)(GLshort red, GLshort green, GLshort blue) +KEYWORD1 void KEYWORD2 NAME(CompressedTexSubImage2DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) { - DISPATCH(SecondaryColor3sEXT, (red, green, blue), (F, "glSecondaryColor3sEXT(%d, %d, %d);", red, green, blue)); + DISPATCH(CompressedTexSubImage2DARB, (target, level, xoffset, yoffset, width, height, format, imageSize, data), (F, "glCompressedTexSubImage2DARB();")); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3svEXT)(const GLshort * v) +KEYWORD1 void KEYWORD2 NAME(CompressedTexSubImage3DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) { - DISPATCH(SecondaryColor3svEXT, (v), (F, "glSecondaryColor3svEXT(%d, %d, %d);", v[0], v[1], v[2])); + DISPATCH(CompressedTexSubImage3DARB, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data), (F, "glCompressedTexSubImage3DARB();")); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ubEXT)(GLubyte red, GLubyte green, GLubyte blue) +KEYWORD1 void KEYWORD2 NAME(GetCompressedTexImageARB)(GLenum target, GLint lod, GLvoid *img) { - DISPATCH(SecondaryColor3ubEXT, (red, green, blue), (F, "glSecondaryColor3ubEXT(%d, %d, %d);", red, green, blue)); + DISPATCH(GetCompressedTexImageARB, (target, lod, img), (F, "glGetCompressedTexImageARB();")); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ubvEXT)(const GLubyte * v) + +/* GL 1.3 */ + +KEYWORD1 void KEYWORD2 NAME(ActiveTexture)(GLenum texture) { - DISPATCH(SecondaryColor3ubvEXT, (v), (F, "glSecondaryColor3ubvEXT(%d, %d, %d);", v[0], v[1], v[2])); + DISPATCH(ActiveTextureARB, (texture), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3uiEXT)(GLuint red, GLuint green, GLuint blue) +KEYWORD1 void KEYWORD2 NAME(ClientActiveTexture)(GLenum texture) { - DISPATCH(SecondaryColor3uiEXT, (red, green, blue), (F, "glSecondaryColor3uiEXT(%d, %d, %d);", red, green, blue)); + DISPATCH(ClientActiveTextureARB, (texture), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3uivEXT)(const GLuint * v) +KEYWORD1 void KEYWORD2 NAME(CompressedTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) { - DISPATCH(SecondaryColor3uivEXT, (v), (F, "glSecondaryColor3uivEXT(%d, %d, %d);", v[0], v[1], v[2])); + DISPATCH(CompressedTexImage1DARB, (target, level, internalformat, width, border, imageSize, data), (F, "glCompressedTexImage1DARB();")); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3usEXT)(GLushort red, GLushort green, GLushort blue) +KEYWORD1 void KEYWORD2 NAME(CompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) { - DISPATCH(SecondaryColor3usEXT, (red, green, blue), (F, "glSecondaryColor3usEXT(%d, %d, %d);", red, green, blue)); + DISPATCH(CompressedTexImage2DARB, (target, level, internalformat, width, height, border, imageSize, data), (F, "glCompressedTexImage2DARB();")); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3usvEXT)(const GLushort * v) +KEYWORD1 void KEYWORD2 NAME(CompressedTexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) { - DISPATCH(SecondaryColor3usvEXT, (v), (F, "glSecondaryColor3usvEXT(%d, %d, %d);", v[0], v[1], v[2])); + DISPATCH(CompressedTexImage3DARB, (target, level, internalformat, width, height, depth, border, imageSize, data), (F, "glCompressedTexImage3DARB();")); } -KEYWORD1 void KEYWORD2 NAME(FogCoordfEXT)(GLfloat coord) +KEYWORD1 void KEYWORD2 NAME(CompressedTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) { - DISPATCH(FogCoordfEXT, (coord), (F, "glFogCoordfEXT(%g);", coord)); + DISPATCH(CompressedTexSubImage1DARB, (target, level, xoffset, width, format, imageSize, data), (F, "glCompressedTexSubImage1DARB();")); } -KEYWORD1 void KEYWORD2 NAME(FogCoordfvEXT)(const GLfloat * coord) +KEYWORD1 void KEYWORD2 NAME(CompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) { - DISPATCH(FogCoordfvEXT, (coord), (F, "glFogCoordfvEXT(%p);", coord)); + DISPATCH(CompressedTexSubImage2DARB, (target, level, xoffset, yoffset, width, height, format, imageSize, data), (F, "glCompressedTexSubImage2DARB();")); } -KEYWORD1 void KEYWORD2 NAME(FogCoorddEXT)(GLdouble coord) +KEYWORD1 void KEYWORD2 NAME(CompressedTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) { - DISPATCH(FogCoorddEXT, (coord), (F, "glFogCoorddEXT(%g);", coord)); + DISPATCH(CompressedTexSubImage3DARB, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data), (F, "glCompressedTexSubImage3DARB();")); } -KEYWORD1 void KEYWORD2 NAME(FogCoorddvEXT)(const GLdouble * coord) +KEYWORD1 void KEYWORD2 NAME(GetCompressedTexImage)(GLenum target, GLint lod, GLvoid *img) { - DISPATCH(FogCoorddvEXT, (coord), (F, "glFogCoorddvEXT(%p);", coord)); + DISPATCH(GetCompressedTexImageARB, (target, lod, img), (F, "glGetCompressedTexImageARB();")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dARB)(GLenum target, GLdouble s) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1d)(GLenum target, GLdouble s) { DISPATCH(MultiTexCoord1dARB, (target, s), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dvARB)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dv)(GLenum target, const GLdouble *v) { DISPATCH(MultiTexCoord1dvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fARB)(GLenum target, GLfloat s) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1f)(GLenum target, GLfloat s) { DISPATCH(MultiTexCoord1fARB, (target, s), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fvARB)(GLenum target, const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fv)(GLenum target, const GLfloat *v) { DISPATCH(MultiTexCoord1fvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1iARB)(GLenum target, GLint s) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1i)(GLenum target, GLint s) { DISPATCH(MultiTexCoord1iARB, (target, s), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1ivARB)(GLenum target, const GLint *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1iv)(GLenum target, const GLint *v) { DISPATCH(MultiTexCoord1ivARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1sARB)(GLenum target, GLshort s) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1s)(GLenum target, GLshort s) { DISPATCH(MultiTexCoord1sARB, (target, s), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1svARB)(GLenum target, const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1sv)(GLenum target, const GLshort *v) { DISPATCH(MultiTexCoord1svARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dARB)(GLenum target, GLdouble s, GLdouble t) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2d)(GLenum target, GLdouble s, GLdouble t) { DISPATCH(MultiTexCoord2dARB, (target, s, t), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dvARB)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dv)(GLenum target, const GLdouble *v) { DISPATCH(MultiTexCoord2dvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fARB)(GLenum target, GLfloat s, GLfloat t) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2f)(GLenum target, GLfloat s, GLfloat t) { DISPATCH(MultiTexCoord2fARB, (target, s, t), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fvARB)(GLenum target, const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fv)(GLenum target, const GLfloat *v) { DISPATCH(MultiTexCoord2fvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2iARB)(GLenum target, GLint s, GLint t) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2i)(GLenum target, GLint s, GLint t) { DISPATCH(MultiTexCoord2iARB, (target, s, t), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2ivARB)(GLenum target, const GLint *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2iv)(GLenum target, const GLint *v) { DISPATCH(MultiTexCoord2ivARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2sARB)(GLenum target, GLshort s, GLshort t) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2s)(GLenum target, GLshort s, GLshort t) { DISPATCH(MultiTexCoord2sARB, (target, s, t), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2svARB)(GLenum target, const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2sv)(GLenum target, const GLshort *v) { DISPATCH(MultiTexCoord2svARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3d)(GLenum target, GLdouble s, GLdouble t, GLdouble r) { DISPATCH(MultiTexCoord3dARB, (target, s, t, r), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3dvARB)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3dv)(GLenum target, const GLdouble *v) { DISPATCH(MultiTexCoord3dvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3f)(GLenum target, GLfloat s, GLfloat t, GLfloat r) { DISPATCH(MultiTexCoord3fARB, (target, s, t, r), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3fvARB)(GLenum target, const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3fv)(GLenum target, const GLfloat *v) { DISPATCH(MultiTexCoord3fvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3iARB)(GLenum target, GLint s, GLint t, GLint r) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3i)(GLenum target, GLint s, GLint t, GLint r) { DISPATCH(MultiTexCoord3iARB, (target, s, t, r), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3ivARB)(GLenum target, const GLint *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3iv)(GLenum target, const GLint *v) { DISPATCH(MultiTexCoord3ivARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3sARB)(GLenum target, GLshort s, GLshort t, GLshort r) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3s)(GLenum target, GLshort s, GLshort t, GLshort r) { DISPATCH(MultiTexCoord3sARB, (target, s, t, r), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3svARB)(GLenum target, const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3sv)(GLenum target, const GLshort *v) { DISPATCH(MultiTexCoord3svARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4d)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { DISPATCH(MultiTexCoord4dARB, (target, s, t, r, q), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dvARB)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dv)(GLenum target, const GLdouble *v) { DISPATCH(MultiTexCoord4dvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4f)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { DISPATCH(MultiTexCoord4fARB, (target, s, t, r, q), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fvARB)(GLenum target, const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fv)(GLenum target, const GLfloat *v) { DISPATCH(MultiTexCoord4fvARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4iARB)(GLenum target, GLint s, GLint t, GLint r, GLint q) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4i)(GLenum target, GLint s, GLint t, GLint r, GLint q) { DISPATCH(MultiTexCoord4iARB, (target, s, t, r, q), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4ivARB)(GLenum target, const GLint *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4iv)(GLenum target, const GLint *v) { DISPATCH(MultiTexCoord4ivARB, (target, v), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4sARB)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4s)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) { DISPATCH(MultiTexCoord4sARB, (target, s, t, r, q), (F, ";")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4svARB)(GLenum target, const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4sv)(GLenum target, const GLshort *v) { DISPATCH(MultiTexCoord4svARB, (target, v), (F, ";")); } +KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixd)(const GLdouble m[16]) +{ + DISPATCH(LoadTransposeMatrixdARB, (m), (F, "glLoadTransposeMatrixARB(%p);", m)); +} + +KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixf)(const GLfloat m[16]) +{ + DISPATCH(LoadTransposeMatrixfARB, (m), (F, "glLoadTransposeMatrixfARB(%p)", m)); +} + +KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixd)(const GLdouble m[16]) +{ + DISPATCH(MultTransposeMatrixdARB, (m), (F, "glMultTransposeMatrixfARB(%p)", m)); +} + +KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixf)(const GLfloat m[16]) +{ + DISPATCH(MultTransposeMatrixfARB, (m), (F, "glLoadTransposeMatrixfARB(%p)", m)); +} + +KEYWORD1 void KEYWORD2 NAME(SampleCoverage)(GLclampf value, GLboolean invert) +{ + DISPATCH(SampleCoverageARB, (value, invert), (F, "glSampleCoverageARB(%f, %d);", value, invert)); +} + +KEYWORD1 void KEYWORD2 NAME(SamplePass)(GLenum pass) +{ + DISPATCH(SamplePassARB, (pass), (F, "glSamplePassARB(0x%x);", pass)); +} + + + + #ifdef DISPATCH_TABLE_NAME @@ -4033,6 +4274,56 @@ void *DISPATCH_TABLE_NAME[] = { TABLE_ENTRY(SecondaryColor3usEXT), TABLE_ENTRY(SecondaryColor3usvEXT), TABLE_ENTRY(SecondaryColorPointerEXT), +#if 0 + /* 1.3 */ + TABLE_ENTRY(ActiveTexture), + TABLE_ENTRY(ClientActiveTexture), + TABLE_ENTRY(CompressedTexImage1D), + TABLE_ENTRY(CompressedTexImage2D), + TABLE_ENTRY(CompressedTexImage3D), + TABLE_ENTRY(CompressedTexSubImage1D), + TABLE_ENTRY(CompressedTexSubImage2D), + TABLE_ENTRY(CompressedTexSubImage3D), + TABLE_ENTRY(GetCompressedTexImage), + TABLE_ENTRY(MultiTexCoord1d), + TABLE_ENTRY(MultiTexCoord1dv), + TABLE_ENTRY(MultiTexCoord1f), + TABLE_ENTRY(MultiTexCoord1fv), + TABLE_ENTRY(MultiTexCoord1i), + TABLE_ENTRY(MultiTexCoord1iv), + TABLE_ENTRY(MultiTexCoord1s), + TABLE_ENTRY(MultiTexCoord1sv), + TABLE_ENTRY(MultiTexCoord2d), + TABLE_ENTRY(MultiTexCoord2dv), + TABLE_ENTRY(MultiTexCoord2f), + TABLE_ENTRY(MultiTexCoord2fv), + TABLE_ENTRY(MultiTexCoord2i), + TABLE_ENTRY(MultiTexCoord2iv), + TABLE_ENTRY(MultiTexCoord2s), + TABLE_ENTRY(MultiTexCoord2sv), + TABLE_ENTRY(MultiTexCoord3d), + TABLE_ENTRY(MultiTexCoord3dv), + TABLE_ENTRY(MultiTexCoord3f), + TABLE_ENTRY(MultiTexCoord3fv), + TABLE_ENTRY(MultiTexCoord3i), + TABLE_ENTRY(MultiTexCoord3iv), + TABLE_ENTRY(MultiTexCoord3s), + TABLE_ENTRY(MultiTexCoord3sv), + TABLE_ENTRY(MultiTexCoord4d), + TABLE_ENTRY(MultiTexCoord4dv), + TABLE_ENTRY(MultiTexCoord4f), + TABLE_ENTRY(MultiTexCoord4fv), + TABLE_ENTRY(MultiTexCoord4i), + TABLE_ENTRY(MultiTexCoord4iv), + TABLE_ENTRY(MultiTexCoord4s), + TABLE_ENTRY(MultiTexCoord4sv), + TABLE_ENTRY(LoadTransposeMatrixd), + TABLE_ENTRY(LoadTransposeMatrixf), + TABLE_ENTRY(MultTransposeMatrixd), + TABLE_ENTRY(MultTransposeMatrixf), + TABLE_ENTRY(SampleCoverage), + TABLE_ENTRY(SamplePass), +#endif /* 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. @@ -4251,7 +4542,55 @@ void *UNUSED_TABLE_NAME[] = { TABLE_ENTRY(DrawRangeElementsEXT), TABLE_ENTRY(BlendFuncSeparateINGR), TABLE_ENTRY(SampleMaskEXT), - TABLE_ENTRY(SamplePatternEXT) + TABLE_ENTRY(SamplePatternEXT), + TABLE_ENTRY(ActiveTexture), + TABLE_ENTRY(ClientActiveTexture), + TABLE_ENTRY(CompressedTexImage1D), + TABLE_ENTRY(CompressedTexImage2D), + TABLE_ENTRY(CompressedTexImage2DARB), + TABLE_ENTRY(CompressedTexImage3D), + TABLE_ENTRY(CompressedTexSubImage1D), + TABLE_ENTRY(CompressedTexSubImage2D), + TABLE_ENTRY(CompressedTexSubImage3D), + TABLE_ENTRY(GetCompressedTexImage), + TABLE_ENTRY(MultiTexCoord1d), + TABLE_ENTRY(MultiTexCoord1dv), + TABLE_ENTRY(MultiTexCoord1f), + TABLE_ENTRY(MultiTexCoord1fv), + TABLE_ENTRY(MultiTexCoord1i), + TABLE_ENTRY(MultiTexCoord1iv), + TABLE_ENTRY(MultiTexCoord1s), + TABLE_ENTRY(MultiTexCoord1sv), + TABLE_ENTRY(MultiTexCoord2d), + TABLE_ENTRY(MultiTexCoord2dv), + TABLE_ENTRY(MultiTexCoord2f), + TABLE_ENTRY(MultiTexCoord2fv), + TABLE_ENTRY(MultiTexCoord2i), + TABLE_ENTRY(MultiTexCoord2iv), + TABLE_ENTRY(MultiTexCoord2s), + TABLE_ENTRY(MultiTexCoord2sv), + TABLE_ENTRY(MultiTexCoord3d), + TABLE_ENTRY(MultiTexCoord3dv), + TABLE_ENTRY(MultiTexCoord3f), + TABLE_ENTRY(MultiTexCoord3fv), + TABLE_ENTRY(MultiTexCoord3i), + TABLE_ENTRY(MultiTexCoord3iv), + TABLE_ENTRY(MultiTexCoord3s), + TABLE_ENTRY(MultiTexCoord3sv), + TABLE_ENTRY(MultiTexCoord4d), + TABLE_ENTRY(MultiTexCoord4dv), + TABLE_ENTRY(MultiTexCoord4f), + TABLE_ENTRY(MultiTexCoord4fv), + TABLE_ENTRY(MultiTexCoord4i), + TABLE_ENTRY(MultiTexCoord4iv), + TABLE_ENTRY(MultiTexCoord4s), + TABLE_ENTRY(MultiTexCoord4sv), + TABLE_ENTRY(LoadTransposeMatrixd), + TABLE_ENTRY(LoadTransposeMatrixf), + TABLE_ENTRY(MultTransposeMatrixd), + TABLE_ENTRY(MultTransposeMatrixf), + TABLE_ENTRY(SampleCoverage), + TABLE_ENTRY(SamplePass) }; #endif /*UNUSED_TABLE_NAME*/ diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 1123799d074..8199ce2b972 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1,4 +1,4 @@ -/* $Id: get.c,v 1.66 2001/08/20 16:42:40 brianp Exp $ */ +/* $Id: get.c,v 1.67 2001/08/28 22:46:22 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -5310,7 +5310,8 @@ _mesa_GetString( GLenum name ) GET_CURRENT_CONTEXT(ctx); static const char *vendor = "Brian Paul"; static const char *renderer = "Mesa"; - static const char *version = "1.2 Mesa 3.5.1"; + static const char *version_1_2 = "1.2 Mesa 3.5.1"; + static const char *version_1_3 = "1.3 Mesa 3.5.1"; ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx, 0); @@ -5327,7 +5328,16 @@ _mesa_GetString( GLenum name ) case GL_RENDERER: return (const GLubyte *) renderer; case GL_VERSION: - return (const GLubyte *) version; + if (ctx->Extensions.ARB_multitexture && + ctx->Extensions.ARB_multisample && + ctx->Extensions.ARB_texture_border_clamp && + ctx->Extensions.ARB_texture_compression && + ctx->Extensions.EXT_texture_env_add && + ctx->Extensions.ARB_texture_env_combine && + ctx->Extensions.ARB_texture_env_dot3) + return (const GLubyte *) version_1_3; + else + return (const GLubyte *) version_1_2; case GL_EXTENSIONS: return (const GLubyte *) _mesa_extensions_get_string(ctx); default: