diff options
author | Brian Paul <[email protected]> | 2001-11-18 22:48:11 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-11-18 22:48:11 +0000 |
commit | b5fd886ee12ef52126969f712dee0bd4b2eea706 (patch) | |
tree | 47b4d4f9831a02942445305eed224935bdfed604 /src/mesa/glapi | |
parent | 4fe0f9d2a92b4a35b3bf993fe5b6e828e84b4bda (diff) |
API dispath updates
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r-- | src/mesa/glapi/glapi.c | 1253 | ||||
-rw-r--r-- | src/mesa/glapi/glapioffsets.h | 98 | ||||
-rw-r--r-- | src/mesa/glapi/glapitable.h | 122 | ||||
-rw-r--r-- | src/mesa/glapi/glapitemp.h | 3514 |
4 files changed, 1771 insertions, 3216 deletions
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c index 51078be85fd..0c4c91c32c0 100644 --- a/src/mesa/glapi/glapi.c +++ b/src/mesa/glapi/glapi.c @@ -1,4 +1,4 @@ -/* $Id: glapi.c,v 1.58 2001/10/17 13:34:08 brianp Exp $ */ +/* $Id: glapi.c,v 1.59 2001/11/18 22:48:11 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -465,1255 +465,8 @@ struct name_address_offset { }; -static struct name_address_offset static_functions[] = { - /* GL 1.1 */ - { "glNewList", (GLvoid *) glNewList, _gloffset_NewList }, - { "glEndList", (GLvoid *) glEndList, _gloffset_EndList }, - { "glCallList", (GLvoid *) glCallList, _gloffset_CallList }, - { "glCallLists", (GLvoid *) glCallLists, _gloffset_CallLists }, - { "glDeleteLists", (GLvoid *) glDeleteLists, _gloffset_DeleteLists }, - { "glGenLists", (GLvoid *) glGenLists, _gloffset_GenLists }, - { "glListBase", (GLvoid *) glListBase, _gloffset_ListBase }, - { "glBegin", (GLvoid *) glBegin, _gloffset_Begin }, - { "glBitmap", (GLvoid *) glBitmap, _gloffset_Bitmap }, - { "glColor3b", (GLvoid *) glColor3b, _gloffset_Color3b }, - { "glColor3bv", (GLvoid *) glColor3bv, _gloffset_Color3bv }, - { "glColor3d", (GLvoid *) glColor3d, _gloffset_Color3d }, - { "glColor3dv", (GLvoid *) glColor3dv, _gloffset_Color3dv }, - { "glColor3f", (GLvoid *) glColor3f, _gloffset_Color3f }, - { "glColor3fv", (GLvoid *) glColor3fv, _gloffset_Color3fv }, - { "glColor3i", (GLvoid *) glColor3i, _gloffset_Color3i }, - { "glColor3iv", (GLvoid *) glColor3iv, _gloffset_Color3iv }, - { "glColor3s", (GLvoid *) glColor3s, _gloffset_Color3s }, - { "glColor3sv", (GLvoid *) glColor3sv, _gloffset_Color3sv }, - { "glColor3ub", (GLvoid *) glColor3ub, _gloffset_Color3ub }, - { "glColor3ubv", (GLvoid *) glColor3ubv, _gloffset_Color3ubv }, - { "glColor3ui", (GLvoid *) glColor3ui, _gloffset_Color3ui }, - { "glColor3uiv", (GLvoid *) glColor3uiv, _gloffset_Color3uiv }, - { "glColor3us", (GLvoid *) glColor3us, _gloffset_Color3us }, - { "glColor3usv", (GLvoid *) glColor3usv, _gloffset_Color3usv }, - { "glColor4b", (GLvoid *) glColor4b, _gloffset_Color4b }, - { "glColor4bv", (GLvoid *) glColor4bv, _gloffset_Color4bv }, - { "glColor4d", (GLvoid *) glColor4d, _gloffset_Color4d }, - { "glColor4dv", (GLvoid *) glColor4dv, _gloffset_Color4dv }, - { "glColor4f", (GLvoid *) glColor4f, _gloffset_Color4f }, - { "glColor4fv", (GLvoid *) glColor4fv, _gloffset_Color4fv }, - { "glColor4i", (GLvoid *) glColor4i, _gloffset_Color4i }, - { "glColor4iv", (GLvoid *) glColor4iv, _gloffset_Color4iv }, - { "glColor4s", (GLvoid *) glColor4s, _gloffset_Color4s }, - { "glColor4sv", (GLvoid *) glColor4sv, _gloffset_Color4sv }, - { "glColor4ub", (GLvoid *) glColor4ub, _gloffset_Color4ub }, - { "glColor4ubv", (GLvoid *) glColor4ubv, _gloffset_Color4ubv }, - { "glColor4ui", (GLvoid *) glColor4ui, _gloffset_Color4ui }, - { "glColor4uiv", (GLvoid *) glColor4uiv, _gloffset_Color4uiv }, - { "glColor4us", (GLvoid *) glColor4us, _gloffset_Color4us }, - { "glColor4usv", (GLvoid *) glColor4usv, _gloffset_Color4usv }, - { "glEdgeFlag", (GLvoid *) glEdgeFlag, _gloffset_EdgeFlag }, - { "glEdgeFlagv", (GLvoid *) glEdgeFlagv, _gloffset_EdgeFlagv }, - { "glEnd", (GLvoid *) glEnd, _gloffset_End }, - { "glIndexd", (GLvoid *) glIndexd, _gloffset_Indexd }, - { "glIndexdv", (GLvoid *) glIndexdv, _gloffset_Indexdv }, - { "glIndexf", (GLvoid *) glIndexf, _gloffset_Indexf }, - { "glIndexfv", (GLvoid *) glIndexfv, _gloffset_Indexfv }, - { "glIndexi", (GLvoid *) glIndexi, _gloffset_Indexi }, - { "glIndexiv", (GLvoid *) glIndexiv, _gloffset_Indexiv }, - { "glIndexs", (GLvoid *) glIndexs, _gloffset_Indexs }, - { "glIndexsv", (GLvoid *) glIndexsv, _gloffset_Indexsv }, - { "glNormal3b", (GLvoid *) glNormal3b, _gloffset_Normal3b }, - { "glNormal3bv", (GLvoid *) glNormal3bv, _gloffset_Normal3bv }, - { "glNormal3d", (GLvoid *) glNormal3d, _gloffset_Normal3d }, - { "glNormal3dv", (GLvoid *) glNormal3dv, _gloffset_Normal3dv }, - { "glNormal3f", (GLvoid *) glNormal3f, _gloffset_Normal3f }, - { "glNormal3fv", (GLvoid *) glNormal3fv, _gloffset_Normal3fv }, - { "glNormal3i", (GLvoid *) glNormal3i, _gloffset_Normal3i }, - { "glNormal3iv", (GLvoid *) glNormal3iv, _gloffset_Normal3iv }, - { "glNormal3s", (GLvoid *) glNormal3s, _gloffset_Normal3s }, - { "glNormal3sv", (GLvoid *) glNormal3sv, _gloffset_Normal3sv }, - { "glRasterPos2d", (GLvoid *) glRasterPos2d, _gloffset_RasterPos2d }, - { "glRasterPos2dv", (GLvoid *) glRasterPos2dv, _gloffset_RasterPos2dv }, - { "glRasterPos2f", (GLvoid *) glRasterPos2f, _gloffset_RasterPos2f }, - { "glRasterPos2fv", (GLvoid *) glRasterPos2fv, _gloffset_RasterPos2fv }, - { "glRasterPos2i", (GLvoid *) glRasterPos2i, _gloffset_RasterPos2i }, - { "glRasterPos2iv", (GLvoid *) glRasterPos2iv, _gloffset_RasterPos2iv }, - { "glRasterPos2s", (GLvoid *) glRasterPos2s, _gloffset_RasterPos2s }, - { "glRasterPos2sv", (GLvoid *) glRasterPos2sv, _gloffset_RasterPos2sv }, - { "glRasterPos3d", (GLvoid *) glRasterPos3d, _gloffset_RasterPos3d }, - { "glRasterPos3dv", (GLvoid *) glRasterPos3dv, _gloffset_RasterPos3dv }, - { "glRasterPos3f", (GLvoid *) glRasterPos3f, _gloffset_RasterPos3f }, - { "glRasterPos3fv", (GLvoid *) glRasterPos3fv, _gloffset_RasterPos3fv }, - { "glRasterPos3i", (GLvoid *) glRasterPos3i, _gloffset_RasterPos3i }, - { "glRasterPos3iv", (GLvoid *) glRasterPos3iv, _gloffset_RasterPos3iv }, - { "glRasterPos3s", (GLvoid *) glRasterPos3s, _gloffset_RasterPos3s }, - { "glRasterPos3sv", (GLvoid *) glRasterPos3sv, _gloffset_RasterPos3sv }, - { "glRasterPos4d", (GLvoid *) glRasterPos4d, _gloffset_RasterPos4d }, - { "glRasterPos4dv", (GLvoid *) glRasterPos4dv, _gloffset_RasterPos4dv }, - { "glRasterPos4f", (GLvoid *) glRasterPos4f, _gloffset_RasterPos4f }, - { "glRasterPos4fv", (GLvoid *) glRasterPos4fv, _gloffset_RasterPos4fv }, - { "glRasterPos4i", (GLvoid *) glRasterPos4i, _gloffset_RasterPos4i }, - { "glRasterPos4iv", (GLvoid *) glRasterPos4iv, _gloffset_RasterPos4iv }, - { "glRasterPos4s", (GLvoid *) glRasterPos4s, _gloffset_RasterPos4s }, - { "glRasterPos4sv", (GLvoid *) glRasterPos4sv, _gloffset_RasterPos4sv }, - { "glRectd", (GLvoid *) glRectd, _gloffset_Rectd }, - { "glRectdv", (GLvoid *) glRectdv, _gloffset_Rectdv }, - { "glRectf", (GLvoid *) glRectf, _gloffset_Rectf }, - { "glRectfv", (GLvoid *) glRectfv, _gloffset_Rectfv }, - { "glRecti", (GLvoid *) glRecti, _gloffset_Recti }, - { "glRectiv", (GLvoid *) glRectiv, _gloffset_Rectiv }, - { "glRects", (GLvoid *) glRects, _gloffset_Rects }, - { "glRectsv", (GLvoid *) glRectsv, _gloffset_Rectsv }, - { "glTexCoord1d", (GLvoid *) glTexCoord1d, _gloffset_TexCoord1d }, - { "glTexCoord1dv", (GLvoid *) glTexCoord1dv, _gloffset_TexCoord1dv }, - { "glTexCoord1f", (GLvoid *) glTexCoord1f, _gloffset_TexCoord1f }, - { "glTexCoord1fv", (GLvoid *) glTexCoord1fv, _gloffset_TexCoord1fv }, - { "glTexCoord1i", (GLvoid *) glTexCoord1i, _gloffset_TexCoord1i }, - { "glTexCoord1iv", (GLvoid *) glTexCoord1iv, _gloffset_TexCoord1iv }, - { "glTexCoord1s", (GLvoid *) glTexCoord1s, _gloffset_TexCoord1s }, - { "glTexCoord1sv", (GLvoid *) glTexCoord1sv, _gloffset_TexCoord1sv }, - { "glTexCoord2d", (GLvoid *) glTexCoord2d, _gloffset_TexCoord2d }, - { "glTexCoord2dv", (GLvoid *) glTexCoord2dv, _gloffset_TexCoord2dv }, - { "glTexCoord2f", (GLvoid *) glTexCoord2f, _gloffset_TexCoord2f }, - { "glTexCoord2fv", (GLvoid *) glTexCoord2fv, _gloffset_TexCoord2fv }, - { "glTexCoord2i", (GLvoid *) glTexCoord2i, _gloffset_TexCoord2i }, - { "glTexCoord2iv", (GLvoid *) glTexCoord2iv, _gloffset_TexCoord2iv }, - { "glTexCoord2s", (GLvoid *) glTexCoord2s, _gloffset_TexCoord2s }, - { "glTexCoord2sv", (GLvoid *) glTexCoord2sv, _gloffset_TexCoord2sv }, - { "glTexCoord3d", (GLvoid *) glTexCoord3d, _gloffset_TexCoord3d }, - { "glTexCoord3dv", (GLvoid *) glTexCoord3dv, _gloffset_TexCoord3dv }, - { "glTexCoord3f", (GLvoid *) glTexCoord3f, _gloffset_TexCoord3f }, - { "glTexCoord3fv", (GLvoid *) glTexCoord3fv, _gloffset_TexCoord3fv }, - { "glTexCoord3i", (GLvoid *) glTexCoord3i, _gloffset_TexCoord3i }, - { "glTexCoord3iv", (GLvoid *) glTexCoord3iv, _gloffset_TexCoord3iv }, - { "glTexCoord3s", (GLvoid *) glTexCoord3s, _gloffset_TexCoord3s }, - { "glTexCoord3sv", (GLvoid *) glTexCoord3sv, _gloffset_TexCoord3sv }, - { "glTexCoord4d", (GLvoid *) glTexCoord4d, _gloffset_TexCoord4d }, - { "glTexCoord4dv", (GLvoid *) glTexCoord4dv, _gloffset_TexCoord4dv }, - { "glTexCoord4f", (GLvoid *) glTexCoord4f, _gloffset_TexCoord4f }, - { "glTexCoord4fv", (GLvoid *) glTexCoord4fv, _gloffset_TexCoord4fv }, - { "glTexCoord4i", (GLvoid *) glTexCoord4i, _gloffset_TexCoord4i }, - { "glTexCoord4iv", (GLvoid *) glTexCoord4iv, _gloffset_TexCoord4iv }, - { "glTexCoord4s", (GLvoid *) glTexCoord4s, _gloffset_TexCoord4s }, - { "glTexCoord4sv", (GLvoid *) glTexCoord4sv, _gloffset_TexCoord4sv }, - { "glVertex2d", (GLvoid *) glVertex2d, _gloffset_Vertex2d }, - { "glVertex2dv", (GLvoid *) glVertex2dv, _gloffset_Vertex2dv }, - { "glVertex2f", (GLvoid *) glVertex2f, _gloffset_Vertex2f }, - { "glVertex2fv", (GLvoid *) glVertex2fv, _gloffset_Vertex2fv }, - { "glVertex2i", (GLvoid *) glVertex2i, _gloffset_Vertex2i }, - { "glVertex2iv", (GLvoid *) glVertex2iv, _gloffset_Vertex2iv }, - { "glVertex2s", (GLvoid *) glVertex2s, _gloffset_Vertex2s }, - { "glVertex2sv", (GLvoid *) glVertex2sv, _gloffset_Vertex2sv }, - { "glVertex3d", (GLvoid *) glVertex3d, _gloffset_Vertex3d }, - { "glVertex3dv", (GLvoid *) glVertex3dv, _gloffset_Vertex3dv }, - { "glVertex3f", (GLvoid *) glVertex3f, _gloffset_Vertex3f }, - { "glVertex3fv", (GLvoid *) glVertex3fv, _gloffset_Vertex3fv }, - { "glVertex3i", (GLvoid *) glVertex3i, _gloffset_Vertex3i }, - { "glVertex3iv", (GLvoid *) glVertex3iv, _gloffset_Vertex3iv }, - { "glVertex3s", (GLvoid *) glVertex3s, _gloffset_Vertex3s }, - { "glVertex3sv", (GLvoid *) glVertex3sv, _gloffset_Vertex3sv }, - { "glVertex4d", (GLvoid *) glVertex4d, _gloffset_Vertex4d }, - { "glVertex4dv", (GLvoid *) glVertex4dv, _gloffset_Vertex4dv }, - { "glVertex4f", (GLvoid *) glVertex4f, _gloffset_Vertex4f }, - { "glVertex4fv", (GLvoid *) glVertex4fv, _gloffset_Vertex4fv }, - { "glVertex4i", (GLvoid *) glVertex4i, _gloffset_Vertex4i }, - { "glVertex4iv", (GLvoid *) glVertex4iv, _gloffset_Vertex4iv }, - { "glVertex4s", (GLvoid *) glVertex4s, _gloffset_Vertex4s }, - { "glVertex4sv", (GLvoid *) glVertex4sv, _gloffset_Vertex4sv }, - { "glClipPlane", (GLvoid *) glClipPlane, _gloffset_ClipPlane }, - { "glColorMaterial", (GLvoid *) glColorMaterial, _gloffset_ColorMaterial }, - { "glCullFace", (GLvoid *) glCullFace, _gloffset_CullFace }, - { "glFogf", (GLvoid *) glFogf, _gloffset_Fogf }, - { "glFogfv", (GLvoid *) glFogfv, _gloffset_Fogfv }, - { "glFogi", (GLvoid *) glFogi, _gloffset_Fogi }, - { "glFogiv", (GLvoid *) glFogiv, _gloffset_Fogiv }, - { "glFrontFace", (GLvoid *) glFrontFace, _gloffset_FrontFace }, - { "glHint", (GLvoid *) glHint, _gloffset_Hint }, - { "glLightf", (GLvoid *) glLightf, _gloffset_Lightf }, - { "glLightfv", (GLvoid *) glLightfv, _gloffset_Lightfv }, - { "glLighti", (GLvoid *) glLighti, _gloffset_Lighti }, - { "glLightiv", (GLvoid *) glLightiv, _gloffset_Lightiv }, - { "glLightModelf", (GLvoid *) glLightModelf, _gloffset_LightModelf }, - { "glLightModelfv", (GLvoid *) glLightModelfv, _gloffset_LightModelfv }, - { "glLightModeli", (GLvoid *) glLightModeli, _gloffset_LightModeli }, - { "glLightModeliv", (GLvoid *) glLightModeliv, _gloffset_LightModeliv }, - { "glLineStipple", (GLvoid *) glLineStipple, _gloffset_LineStipple }, - { "glLineWidth", (GLvoid *) glLineWidth, _gloffset_LineWidth }, - { "glMaterialf", (GLvoid *) glMaterialf, _gloffset_Materialf }, - { "glMaterialfv", (GLvoid *) glMaterialfv, _gloffset_Materialfv }, - { "glMateriali", (GLvoid *) glMateriali, _gloffset_Materiali }, - { "glMaterialiv", (GLvoid *) glMaterialiv, _gloffset_Materialiv }, - { "glPointSize", (GLvoid *) glPointSize, _gloffset_PointSize }, - { "glPolygonMode", (GLvoid *) glPolygonMode, _gloffset_PolygonMode }, - { "glPolygonStipple", (GLvoid *) glPolygonStipple, _gloffset_PolygonStipple }, - { "glScissor", (GLvoid *) glScissor, _gloffset_Scissor }, - { "glShadeModel", (GLvoid *) glShadeModel, _gloffset_ShadeModel }, - { "glTexParameterf", (GLvoid *) glTexParameterf, _gloffset_TexParameterf }, - { "glTexParameterfv", (GLvoid *) glTexParameterfv, _gloffset_TexParameterfv }, - { "glTexParameteri", (GLvoid *) glTexParameteri, _gloffset_TexParameteri }, - { "glTexParameteriv", (GLvoid *) glTexParameteriv, _gloffset_TexParameteriv }, - { "glTexImage1D", (GLvoid *) glTexImage1D, _gloffset_TexImage1D }, - { "glTexImage2D", (GLvoid *) glTexImage2D, _gloffset_TexImage2D }, - { "glTexEnvf", (GLvoid *) glTexEnvf, _gloffset_TexEnvf }, - { "glTexEnvfv", (GLvoid *) glTexEnvfv, _gloffset_TexEnvfv }, - { "glTexEnvi", (GLvoid *) glTexEnvi, _gloffset_TexEnvi }, - { "glTexEnviv", (GLvoid *) glTexEnviv, _gloffset_TexEnviv }, - { "glTexGend", (GLvoid *) glTexGend, _gloffset_TexGend }, - { "glTexGendv", (GLvoid *) glTexGendv, _gloffset_TexGendv }, - { "glTexGenf", (GLvoid *) glTexGenf, _gloffset_TexGenf }, - { "glTexGenfv", (GLvoid *) glTexGenfv, _gloffset_TexGenfv }, - { "glTexGeni", (GLvoid *) glTexGeni, _gloffset_TexGeni }, - { "glTexGeniv", (GLvoid *) glTexGeniv, _gloffset_TexGeniv }, - { "glFeedbackBuffer", (GLvoid *) glFeedbackBuffer, _gloffset_FeedbackBuffer }, - { "glSelectBuffer", (GLvoid *) glSelectBuffer, _gloffset_SelectBuffer }, - { "glRenderMode", (GLvoid *) glRenderMode, _gloffset_RenderMode }, - { "glInitNames", (GLvoid *) glInitNames, _gloffset_InitNames }, - { "glLoadName", (GLvoid *) glLoadName, _gloffset_LoadName }, - { "glPassThrough", (GLvoid *) glPassThrough, _gloffset_PassThrough }, - { "glPopName", (GLvoid *) glPopName, _gloffset_PopName }, - { "glPushName", (GLvoid *) glPushName, _gloffset_PushName }, - { "glDrawBuffer", (GLvoid *) glDrawBuffer, _gloffset_DrawBuffer }, - { "glClear", (GLvoid *) glClear, _gloffset_Clear }, - { "glClearAccum", (GLvoid *) glClearAccum, _gloffset_ClearAccum }, - { "glClearIndex", (GLvoid *) glClearIndex, _gloffset_ClearIndex }, - { "glClearColor", (GLvoid *) glClearColor, _gloffset_ClearColor }, - { "glClearStencil", (GLvoid *) glClearStencil, _gloffset_ClearStencil }, - { "glClearDepth", (GLvoid *) glClearDepth, _gloffset_ClearDepth }, - { "glStencilMask", (GLvoid *) glStencilMask, _gloffset_StencilMask }, - { "glColorMask", (GLvoid *) glColorMask, _gloffset_ColorMask }, - { "glDepthMask", (GLvoid *) glDepthMask, _gloffset_DepthMask }, - { "glIndexMask", (GLvoid *) glIndexMask, _gloffset_IndexMask }, - { "glAccum", (GLvoid *) glAccum, _gloffset_Accum }, - { "glDisable", (GLvoid *) glDisable, _gloffset_Disable }, - { "glEnable", (GLvoid *) glEnable, _gloffset_Enable }, - { "glFinish", (GLvoid *) glFinish, _gloffset_Finish }, - { "glFlush", (GLvoid *) glFlush, _gloffset_Flush }, - { "glPopAttrib", (GLvoid *) glPopAttrib, _gloffset_PopAttrib }, - { "glPushAttrib", (GLvoid *) glPushAttrib, _gloffset_PushAttrib }, - { "glMap1d", (GLvoid *) glMap1d, _gloffset_Map1d }, - { "glMap1f", (GLvoid *) glMap1f, _gloffset_Map1f }, - { "glMap2d", (GLvoid *) glMap2d, _gloffset_Map2d }, - { "glMap2f", (GLvoid *) glMap2f, _gloffset_Map2f }, - { "glMapGrid1d", (GLvoid *) glMapGrid1d, _gloffset_MapGrid1d }, - { "glMapGrid1f", (GLvoid *) glMapGrid1f, _gloffset_MapGrid1f }, - { "glMapGrid2d", (GLvoid *) glMapGrid2d, _gloffset_MapGrid2d }, - { "glMapGrid2f", (GLvoid *) glMapGrid2f, _gloffset_MapGrid2f }, - { "glEvalCoord1d", (GLvoid *) glEvalCoord1d, _gloffset_EvalCoord1d }, - { "glEvalCoord1dv", (GLvoid *) glEvalCoord1dv, _gloffset_EvalCoord1dv }, - { "glEvalCoord1f", (GLvoid *) glEvalCoord1f, _gloffset_EvalCoord1f }, - { "glEvalCoord1fv", (GLvoid *) glEvalCoord1fv, _gloffset_EvalCoord1fv }, - { "glEvalCoord2d", (GLvoid *) glEvalCoord2d, _gloffset_EvalCoord2d }, - { "glEvalCoord2dv", (GLvoid *) glEvalCoord2dv, _gloffset_EvalCoord2dv }, - { "glEvalCoord2f", (GLvoid *) glEvalCoord2f, _gloffset_EvalCoord2f }, - { "glEvalCoord2fv", (GLvoid *) glEvalCoord2fv, _gloffset_EvalCoord2fv }, - { "glEvalMesh1", (GLvoid *) glEvalMesh1, _gloffset_EvalMesh1 }, - { "glEvalPoint1", (GLvoid *) glEvalPoint1, _gloffset_EvalPoint1 }, - { "glEvalMesh2", (GLvoid *) glEvalMesh2, _gloffset_EvalMesh2 }, - { "glEvalPoint2", (GLvoid *) glEvalPoint2, _gloffset_EvalPoint2 }, - { "glAlphaFunc", (GLvoid *) glAlphaFunc, _gloffset_AlphaFunc }, - { "glBlendFunc", (GLvoid *) glBlendFunc, _gloffset_BlendFunc }, - { "glLogicOp", (GLvoid *) glLogicOp, _gloffset_LogicOp }, - { "glStencilFunc", (GLvoid *) glStencilFunc, _gloffset_StencilFunc }, - { "glStencilOp", (GLvoid *) glStencilOp, _gloffset_StencilOp }, - { "glDepthFunc", (GLvoid *) glDepthFunc, _gloffset_DepthFunc }, - { "glPixelZoom", (GLvoid *) glPixelZoom, _gloffset_PixelZoom }, - { "glPixelTransferf", (GLvoid *) glPixelTransferf, _gloffset_PixelTransferf }, - { "glPixelTransferi", (GLvoid *) glPixelTransferi, _gloffset_PixelTransferi }, - { "glPixelStoref", (GLvoid *) glPixelStoref, _gloffset_PixelStoref }, - { "glPixelStorei", (GLvoid *) glPixelStorei, _gloffset_PixelStorei }, - { "glPixelMapfv", (GLvoid *) glPixelMapfv, _gloffset_PixelMapfv }, - { "glPixelMapuiv", (GLvoid *) glPixelMapuiv, _gloffset_PixelMapuiv }, - { "glPixelMapusv", (GLvoid *) glPixelMapusv, _gloffset_PixelMapusv }, - { "glReadBuffer", (GLvoid *) glReadBuffer, _gloffset_ReadBuffer }, - { "glCopyPixels", (GLvoid *) glCopyPixels, _gloffset_CopyPixels }, - { "glReadPixels", (GLvoid *) glReadPixels, _gloffset_ReadPixels }, - { "glDrawPixels", (GLvoid *) glDrawPixels, _gloffset_DrawPixels }, - { "glGetBooleanv", (GLvoid *) glGetBooleanv, _gloffset_GetBooleanv }, - { "glGetClipPlane", (GLvoid *) glGetClipPlane, _gloffset_GetClipPlane }, - { "glGetDoublev", (GLvoid *) glGetDoublev, _gloffset_GetDoublev }, - { "glGetError", (GLvoid *) glGetError, _gloffset_GetError }, - { "glGetFloatv", (GLvoid *) glGetFloatv, _gloffset_GetFloatv }, - { "glGetIntegerv", (GLvoid *) glGetIntegerv, _gloffset_GetIntegerv }, - { "glGetLightfv", (GLvoid *) glGetLightfv, _gloffset_GetLightfv }, - { "glGetLightiv", (GLvoid *) glGetLightiv, _gloffset_GetLightiv }, - { "glGetMapdv", (GLvoid *) glGetMapdv, _gloffset_GetMapdv }, - { "glGetMapfv", (GLvoid *) glGetMapfv, _gloffset_GetMapfv }, - { "glGetMapiv", (GLvoid *) glGetMapiv, _gloffset_GetMapiv }, - { "glGetMaterialfv", (GLvoid *) glGetMaterialfv, _gloffset_GetMaterialfv }, - { "glGetMaterialiv", (GLvoid *) glGetMaterialiv, _gloffset_GetMaterialiv }, - { "glGetPixelMapfv", (GLvoid *) glGetPixelMapfv, _gloffset_GetPixelMapfv }, - { "glGetPixelMapuiv", (GLvoid *) glGetPixelMapuiv, _gloffset_GetPixelMapuiv }, - { "glGetPixelMapusv", (GLvoid *) glGetPixelMapusv, _gloffset_GetPixelMapusv }, - { "glGetPolygonStipple", (GLvoid *) glGetPolygonStipple, _gloffset_GetPolygonStipple }, - { "glGetString", (GLvoid *) glGetString, _gloffset_GetString }, - { "glGetTexEnvfv", (GLvoid *) glGetTexEnvfv, _gloffset_GetTexEnvfv }, - { "glGetTexEnviv", (GLvoid *) glGetTexEnviv, _gloffset_GetTexEnviv }, - { "glGetTexGendv", (GLvoid *) glGetTexGendv, _gloffset_GetTexGendv }, - { "glGetTexGenfv", (GLvoid *) glGetTexGenfv, _gloffset_GetTexGenfv }, - { "glGetTexGeniv", (GLvoid *) glGetTexGeniv, _gloffset_GetTexGeniv }, - { "glGetTexImage", (GLvoid *) glGetTexImage, _gloffset_GetTexImage }, - { "glGetTexParameterfv", (GLvoid *) glGetTexParameterfv, _gloffset_GetTexParameterfv }, - { "glGetTexParameteriv", (GLvoid *) glGetTexParameteriv, _gloffset_GetTexParameteriv }, - { "glGetTexLevelParameterfv", (GLvoid *) glGetTexLevelParameterfv, _gloffset_GetTexLevelParameterfv }, - { "glGetTexLevelParameteriv", (GLvoid *) glGetTexLevelParameteriv, _gloffset_GetTexLevelParameteriv }, - { "glIsEnabled", (GLvoid *) glIsEnabled, _gloffset_IsEnabled }, - { "glIsList", (GLvoid *) glIsList, _gloffset_IsList }, - { "glDepthRange", (GLvoid *) glDepthRange, _gloffset_DepthRange }, - { "glFrustum", (GLvoid *) glFrustum, _gloffset_Frustum }, - { "glLoadIdentity", (GLvoid *) glLoadIdentity, _gloffset_LoadIdentity }, - { "glLoadMatrixf", (GLvoid *) glLoadMatrixf, _gloffset_LoadMatrixf }, - { "glLoadMatrixd", (GLvoid *) glLoadMatrixd, _gloffset_LoadMatrixd }, - { "glMatrixMode", (GLvoid *) glMatrixMode, _gloffset_MatrixMode }, - { "glMultMatrixf", (GLvoid *) glMultMatrixf, _gloffset_MultMatrixf }, - { "glMultMatrixd", (GLvoid *) glMultMatrixd, _gloffset_MultMatrixd }, - { "glOrtho", (GLvoid *) glOrtho, _gloffset_Ortho }, - { "glPopMatrix", (GLvoid *) glPopMatrix, _gloffset_PopMatrix }, - { "glPushMatrix", (GLvoid *) glPushMatrix, _gloffset_PushMatrix }, - { "glRotated", (GLvoid *) glRotated, _gloffset_Rotated }, - { "glRotatef", (GLvoid *) glRotatef, _gloffset_Rotatef }, - { "glScaled", (GLvoid *) glScaled, _gloffset_Scaled }, - { "glScalef", (GLvoid *) glScalef, _gloffset_Scalef }, - { "glTranslated", (GLvoid *) glTranslated, _gloffset_Translated }, - { "glTranslatef", (GLvoid *) glTranslatef, _gloffset_Translatef }, - { "glViewport", (GLvoid *) glViewport, _gloffset_Viewport }, - /* 1.1 */ - { "glArrayElement", (GLvoid *) glArrayElement, _gloffset_ArrayElement }, - { "glColorPointer", (GLvoid *) glColorPointer, _gloffset_ColorPointer }, - { "glDisableClientState", (GLvoid *) glDisableClientState, _gloffset_DisableClientState }, - { "glDrawArrays", (GLvoid *) glDrawArrays, _gloffset_DrawArrays }, - { "glDrawElements", (GLvoid *) glDrawElements, _gloffset_DrawElements }, - { "glEdgeFlagPointer", (GLvoid *) glEdgeFlagPointer, _gloffset_EdgeFlagPointer }, - { "glEnableClientState", (GLvoid *) glEnableClientState, _gloffset_EnableClientState }, - { "glGetPointerv", (GLvoid *) glGetPointerv, _gloffset_GetPointerv }, - { "glIndexPointer", (GLvoid *) glIndexPointer, _gloffset_IndexPointer }, - { "glInterleavedArrays", (GLvoid *) glInterleavedArrays, _gloffset_InterleavedArrays }, - { "glNormalPointer", (GLvoid *) glNormalPointer, _gloffset_NormalPointer }, - { "glTexCoordPointer", (GLvoid *) glTexCoordPointer, _gloffset_TexCoordPointer }, - { "glVertexPointer", (GLvoid *) glVertexPointer, _gloffset_VertexPointer }, - { "glPolygonOffset", (GLvoid *) glPolygonOffset, _gloffset_PolygonOffset }, - { "glCopyTexImage1D", (GLvoid *) glCopyTexImage1D, _gloffset_CopyTexImage1D }, - { "glCopyTexImage2D", (GLvoid *) glCopyTexImage2D, _gloffset_CopyTexImage2D }, - { "glCopyTexSubImage1D", (GLvoid *) glCopyTexSubImage1D, _gloffset_CopyTexSubImage1D }, - { "glCopyTexSubImage2D", (GLvoid *) glCopyTexSubImage2D, _gloffset_CopyTexSubImage2D }, - { "glTexSubImage1D", (GLvoid *) glTexSubImage1D, _gloffset_TexSubImage1D }, - { "glTexSubImage2D", (GLvoid *) glTexSubImage2D, _gloffset_TexSubImage2D }, - { "glAreTexturesResident", (GLvoid *) glAreTexturesResident, _gloffset_AreTexturesResident }, - { "glBindTexture", (GLvoid *) glBindTexture, _gloffset_BindTexture }, - { "glDeleteTextures", (GLvoid *) glDeleteTextures, _gloffset_DeleteTextures }, - { "glGenTextures", (GLvoid *) glGenTextures, _gloffset_GenTextures }, - { "glIsTexture", (GLvoid *) glIsTexture, _gloffset_IsTexture }, - { "glPrioritizeTextures", (GLvoid *) glPrioritizeTextures, _gloffset_PrioritizeTextures }, - { "glIndexub", (GLvoid *) glIndexub, _gloffset_Indexub }, - { "glIndexubv", (GLvoid *) glIndexubv, _gloffset_Indexubv }, - { "glPopClientAttrib", (GLvoid *) glPopClientAttrib, _gloffset_PopClientAttrib }, - { "glPushClientAttrib", (GLvoid *) glPushClientAttrib, _gloffset_PushClientAttrib }, - /* 1.2 */ -#ifdef GL_VERSION_1_2 -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) NotImplemented -#endif - { "glBlendColor", (GLvoid *) NAME(glBlendColor), _gloffset_BlendColor }, - { "glBlendEquation", (GLvoid *) NAME(glBlendEquation), _gloffset_BlendEquation }, - { "glDrawRangeElements", (GLvoid *) NAME(glDrawRangeElements), _gloffset_DrawRangeElements }, - { "glColorTable", (GLvoid *) NAME(glColorTable), _gloffset_ColorTable }, - { "glColorTableParameterfv", (GLvoid *) NAME(glColorTableParameterfv), _gloffset_ColorTableParameterfv }, - { "glColorTableParameteriv", (GLvoid *) NAME(glColorTableParameteriv), _gloffset_ColorTableParameteriv }, - { "glCopyColorTable", (GLvoid *) NAME(glCopyColorTable), _gloffset_CopyColorTable }, - { "glGetColorTable", (GLvoid *) NAME(glGetColorTable), _gloffset_GetColorTable }, - { "glGetColorTableParameterfv", (GLvoid *) NAME(glGetColorTableParameterfv), _gloffset_GetColorTableParameterfv }, - { "glGetColorTableParameteriv", (GLvoid *) NAME(glGetColorTableParameteriv), _gloffset_GetColorTableParameteriv }, - { "glColorSubTable", (GLvoid *) NAME(glColorSubTable), _gloffset_ColorSubTable }, - { "glCopyColorSubTable", (GLvoid *) NAME(glCopyColorSubTable), _gloffset_CopyColorSubTable }, - { "glConvolutionFilter1D", (GLvoid *) NAME(glConvolutionFilter1D), _gloffset_ConvolutionFilter1D }, - { "glConvolutionFilter2D", (GLvoid *) NAME(glConvolutionFilter2D), _gloffset_ConvolutionFilter2D }, - { "glConvolutionParameterf", (GLvoid *) NAME(glConvolutionParameterf), _gloffset_ConvolutionParameterf }, - { "glConvolutionParameterfv", (GLvoid *) NAME(glConvolutionParameterfv), _gloffset_ConvolutionParameterfv }, - { "glConvolutionParameteri", (GLvoid *) NAME(glConvolutionParameteri), _gloffset_ConvolutionParameteri }, - { "glConvolutionParameteriv", (GLvoid *) NAME(glConvolutionParameteriv), _gloffset_ConvolutionParameteriv }, - { "glCopyConvolutionFilter1D", (GLvoid *) NAME(glCopyConvolutionFilter1D), _gloffset_CopyConvolutionFilter1D }, - { "glCopyConvolutionFilter2D", (GLvoid *) NAME(glCopyConvolutionFilter2D), _gloffset_CopyConvolutionFilter2D }, - { "glGetConvolutionFilter", (GLvoid *) NAME(glGetConvolutionFilter), _gloffset_GetConvolutionFilter }, - { "glGetConvolutionParameterfv", (GLvoid *) NAME(glGetConvolutionParameterfv), _gloffset_GetConvolutionParameterfv }, - { "glGetConvolutionParameteriv", (GLvoid *) NAME(glGetConvolutionParameteriv), _gloffset_GetConvolutionParameteriv }, - { "glGetSeparableFilter", (GLvoid *) NAME(glGetSeparableFilter), _gloffset_GetSeparableFilter }, - { "glSeparableFilter2D", (GLvoid *) NAME(glSeparableFilter2D), _gloffset_SeparableFilter2D }, - { "glGetHistogram", (GLvoid *) NAME(glGetHistogram), _gloffset_GetHistogram }, - { "glGetHistogramParameterfv", (GLvoid *) NAME(glGetHistogramParameterfv), _gloffset_GetHistogramParameterfv }, - { "glGetHistogramParameteriv", (GLvoid *) NAME(glGetHistogramParameteriv), _gloffset_GetHistogramParameteriv }, - { "glGetMinmax", (GLvoid *) NAME(glGetMinmax), _gloffset_GetMinmax }, - { "glGetMinmaxParameterfv", (GLvoid *) NAME(glGetMinmaxParameterfv), _gloffset_GetMinmaxParameterfv }, - { "glGetMinmaxParameteriv", (GLvoid *) NAME(glGetMinmaxParameteriv), _gloffset_GetMinmaxParameteriv }, - { "glHistogram", (GLvoid *) NAME(glHistogram), _gloffset_Histogram }, - { "glMinmax", (GLvoid *) NAME(glMinmax), _gloffset_Minmax }, - { "glResetHistogram", (GLvoid *) NAME(glResetHistogram), _gloffset_ResetHistogram }, - { "glResetMinmax", (GLvoid *) NAME(glResetMinmax), _gloffset_ResetMinmax }, - { "glTexImage3D", (GLvoid *) NAME(glTexImage3D), _gloffset_TexImage3D }, - { "glTexSubImage3D", (GLvoid *) NAME(glTexSubImage3D), _gloffset_TexSubImage3D }, - { "glCopyTexSubImage3D", (GLvoid *) NAME(glCopyTexSubImage3D), _gloffset_CopyTexSubImage3D }, -#undef NAME - - /* 1.3 */ -#ifdef GL_VERSION_1_3 -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) NotImplemented -#endif - { "glActiveTexture", (GLvoid *) NAME(glActiveTexture), _gloffset_ActiveTextureARB }, - { "glClientActiveTexture", (GLvoid *) NAME(glClientActiveTexture), _gloffset_ClientActiveTextureARB }, - { "glCompressedTexImage1D", (GLvoid *) NAME(glCompressedTexImage1D), _gloffset_CompressedTexImage1DARB }, - { "glCompressedTexImage2D", (GLvoid *) NAME(glCompressedTexImage2D), _gloffset_CompressedTexImage2DARB }, - { "glCompressedTexImage3D", (GLvoid *) NAME(glCompressedTexImage3D), _gloffset_CompressedTexImage3DARB }, - { "glCompressedTexSubImage1D", (GLvoid *) NAME(glCompressedTexSubImage1D), _gloffset_CompressedTexSubImage1DARB }, - { "glCompressedTexSubImage2D", (GLvoid *) NAME(glCompressedTexSubImage2D), _gloffset_CompressedTexSubImage2DARB }, - { "glCompressedTexSubImage3D", (GLvoid *) NAME(glCompressedTexSubImage3D), _gloffset_CompressedTexSubImage3DARB }, - { "glGetCompressedTexImage", (GLvoid *) NAME(glGetCompressedTexImage), _gloffset_GetCompressedTexImageARB }, - { "glMultiTexCoord1d", (GLvoid *) NAME(glMultiTexCoord1d), _gloffset_MultiTexCoord1dARB }, - { "glMultiTexCoord1dv", (GLvoid *) NAME(glMultiTexCoord1dv), _gloffset_MultiTexCoord1dvARB }, - { "glMultiTexCoord1f", (GLvoid *) NAME(glMultiTexCoord1f), _gloffset_MultiTexCoord1fARB }, - { "glMultiTexCoord1fv", (GLvoid *) NAME(glMultiTexCoord1fv), _gloffset_MultiTexCoord1fvARB }, - { "glMultiTexCoord1i", (GLvoid *) NAME(glMultiTexCoord1i), _gloffset_MultiTexCoord1iARB }, - { "glMultiTexCoord1iv", (GLvoid *) NAME(glMultiTexCoord1iv), _gloffset_MultiTexCoord1ivARB }, - { "glMultiTexCoord1s", (GLvoid *) NAME(glMultiTexCoord1s), _gloffset_MultiTexCoord1sARB }, - { "glMultiTexCoord1sv", (GLvoid *) NAME(glMultiTexCoord1sv), _gloffset_MultiTexCoord1svARB }, - { "glMultiTexCoord2d", (GLvoid *) NAME(glMultiTexCoord2d), _gloffset_MultiTexCoord2dARB }, - { "glMultiTexCoord2dv", (GLvoid *) NAME(glMultiTexCoord2dv), _gloffset_MultiTexCoord2dvARB }, - { "glMultiTexCoord2f", (GLvoid *) NAME(glMultiTexCoord2f), _gloffset_MultiTexCoord2fARB }, - { "glMultiTexCoord2fv", (GLvoid *) NAME(glMultiTexCoord2fv), _gloffset_MultiTexCoord2fvARB }, - { "glMultiTexCoord2i", (GLvoid *) NAME(glMultiTexCoord2i), _gloffset_MultiTexCoord2iARB }, - { "glMultiTexCoord2iv", (GLvoid *) NAME(glMultiTexCoord2iv), _gloffset_MultiTexCoord2ivARB }, - { "glMultiTexCoord2s", (GLvoid *) NAME(glMultiTexCoord2s), _gloffset_MultiTexCoord2sARB }, - { "glMultiTexCoord2sv", (GLvoid *) NAME(glMultiTexCoord2sv), _gloffset_MultiTexCoord2svARB }, - { "glMultiTexCoord3d", (GLvoid *) NAME(glMultiTexCoord3d), _gloffset_MultiTexCoord3dARB }, - { "glMultiTexCoord3dv", (GLvoid *) NAME(glMultiTexCoord3dv), _gloffset_MultiTexCoord3dvARB }, - { "glMultiTexCoord3f", (GLvoid *) NAME(glMultiTexCoord3f), _gloffset_MultiTexCoord3fARB }, - { "glMultiTexCoord3fv", (GLvoid *) NAME(glMultiTexCoord3fv), _gloffset_MultiTexCoord3fvARB }, - { "glMultiTexCoord3i", (GLvoid *) NAME(glMultiTexCoord3i), _gloffset_MultiTexCoord3iARB }, - { "glMultiTexCoord3iv", (GLvoid *) NAME(glMultiTexCoord3iv), _gloffset_MultiTexCoord3ivARB }, - { "glMultiTexCoord3s", (GLvoid *) NAME(glMultiTexCoord3s), _gloffset_MultiTexCoord3sARB }, - { "glMultiTexCoord3sv", (GLvoid *) NAME(glMultiTexCoord3sv), _gloffset_MultiTexCoord3svARB }, - { "glMultiTexCoord4d", (GLvoid *) NAME(glMultiTexCoord4d), _gloffset_MultiTexCoord4dARB }, - { "glMultiTexCoord4dv", (GLvoid *) NAME(glMultiTexCoord4dv), _gloffset_MultiTexCoord4dvARB }, - { "glMultiTexCoord4f", (GLvoid *) NAME(glMultiTexCoord4f), _gloffset_MultiTexCoord4fARB }, - { "glMultiTexCoord4fv", (GLvoid *) NAME(glMultiTexCoord4fv), _gloffset_MultiTexCoord4fvARB }, - { "glMultiTexCoord4i", (GLvoid *) NAME(glMultiTexCoord4i), _gloffset_MultiTexCoord4iARB }, - { "glMultiTexCoord4iv", (GLvoid *) NAME(glMultiTexCoord4iv), _gloffset_MultiTexCoord4ivARB }, - { "glMultiTexCoord4s", (GLvoid *) NAME(glMultiTexCoord4s), _gloffset_MultiTexCoord4sARB }, - { "glMultiTexCoord4sv", (GLvoid *) NAME(glMultiTexCoord4sv), _gloffset_MultiTexCoord4svARB }, - { "glLoadTransposeMatrixd", (GLvoid *) NAME(glLoadTransposeMatrixd), _gloffset_LoadTransposeMatrixdARB }, - { "glLoadTransposeMatrixf", (GLvoid *) NAME(glLoadTransposeMatrixf), _gloffset_LoadTransposeMatrixfARB }, - { "glMultTransposeMatrixd", (GLvoid *) NAME(glMultTransposeMatrixd), _gloffset_MultTransposeMatrixdARB }, - { "glMultTransposeMatrixf", (GLvoid *) NAME(glMultTransposeMatrixf), _gloffset_MultTransposeMatrixfARB }, - { "glSampleCoverage", (GLvoid *) NAME(glSampleCoverage), _gloffset_SampleCoverageARB }, -#if 0 - { "glSamplePass", (GLvoid *) NAME(glSamplePass), _gloffset_SamplePassARB }, -#endif -#undef NAME - - /* ARB 1. GL_ARB_multitexture */ -#ifdef GL_ARB_multitexture -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) NotImplemented -#endif - { "glActiveTextureARB", (GLvoid *) NAME(glActiveTextureARB), _gloffset_ActiveTextureARB }, - { "glClientActiveTextureARB", (GLvoid *) NAME(glClientActiveTextureARB), _gloffset_ClientActiveTextureARB }, - { "glMultiTexCoord1dARB", (GLvoid *) NAME(glMultiTexCoord1dARB), _gloffset_MultiTexCoord1dARB }, - { "glMultiTexCoord1dvARB", (GLvoid *) NAME(glMultiTexCoord1dvARB), _gloffset_MultiTexCoord1dvARB }, - { "glMultiTexCoord1fARB", (GLvoid *) NAME(glMultiTexCoord1fARB), _gloffset_MultiTexCoord1fARB }, - { "glMultiTexCoord1fvARB", (GLvoid *) NAME(glMultiTexCoord1fvARB), _gloffset_MultiTexCoord1fvARB }, - { "glMultiTexCoord1iARB", (GLvoid *) NAME(glMultiTexCoord1iARB), _gloffset_MultiTexCoord1iARB }, - { "glMultiTexCoord1ivARB", (GLvoid *) NAME(glMultiTexCoord1ivARB), _gloffset_MultiTexCoord1ivARB }, - { "glMultiTexCoord1sARB", (GLvoid *) NAME(glMultiTexCoord1sARB), _gloffset_MultiTexCoord1sARB }, - { "glMultiTexCoord1svARB", (GLvoid *) NAME(glMultiTexCoord1svARB), _gloffset_MultiTexCoord1svARB }, - { "glMultiTexCoord2dARB", (GLvoid *) NAME(glMultiTexCoord2dARB), _gloffset_MultiTexCoord2dARB }, - { "glMultiTexCoord2dvARB", (GLvoid *) NAME(glMultiTexCoord2dvARB), _gloffset_MultiTexCoord2dvARB }, - { "glMultiTexCoord2fARB", (GLvoid *) NAME(glMultiTexCoord2fARB), _gloffset_MultiTexCoord2fARB }, - { "glMultiTexCoord2fvARB", (GLvoid *) NAME(glMultiTexCoord2fvARB), _gloffset_MultiTexCoord2fvARB }, - { "glMultiTexCoord2iARB", (GLvoid *) NAME(glMultiTexCoord2iARB), _gloffset_MultiTexCoord2iARB }, - { "glMultiTexCoord2ivARB", (GLvoid *) NAME(glMultiTexCoord2ivARB), _gloffset_MultiTexCoord2ivARB }, - { "glMultiTexCoord2sARB", (GLvoid *) NAME(glMultiTexCoord2sARB), _gloffset_MultiTexCoord2sARB }, - { "glMultiTexCoord2svARB", (GLvoid *) NAME(glMultiTexCoord2svARB), _gloffset_MultiTexCoord2svARB }, - { "glMultiTexCoord3dARB", (GLvoid *) NAME(glMultiTexCoord3dARB), _gloffset_MultiTexCoord3dARB }, - { "glMultiTexCoord3dvARB", (GLvoid *) NAME(glMultiTexCoord3dvARB), _gloffset_MultiTexCoord3dvARB }, - { "glMultiTexCoord3fARB", (GLvoid *) NAME(glMultiTexCoord3fARB), _gloffset_MultiTexCoord3fARB }, - { "glMultiTexCoord3fvARB", (GLvoid *) NAME(glMultiTexCoord3fvARB), _gloffset_MultiTexCoord3fvARB }, - { "glMultiTexCoord3iARB", (GLvoid *) NAME(glMultiTexCoord3iARB), _gloffset_MultiTexCoord3iARB }, - { "glMultiTexCoord3ivARB", (GLvoid *) NAME(glMultiTexCoord3ivARB), _gloffset_MultiTexCoord3ivARB }, - { "glMultiTexCoord3sARB", (GLvoid *) NAME(glMultiTexCoord3sARB), _gloffset_MultiTexCoord3sARB }, - { "glMultiTexCoord3svARB", (GLvoid *) NAME(glMultiTexCoord3svARB), _gloffset_MultiTexCoord3svARB }, - { "glMultiTexCoord4dARB", (GLvoid *) NAME(glMultiTexCoord4dARB), _gloffset_MultiTexCoord4dARB }, - { "glMultiTexCoord4dvARB", (GLvoid *) NAME(glMultiTexCoord4dvARB), _gloffset_MultiTexCoord4dvARB }, - { "glMultiTexCoord4fARB", (GLvoid *) NAME(glMultiTexCoord4fARB), _gloffset_MultiTexCoord4fARB }, - { "glMultiTexCoord4fvARB", (GLvoid *) NAME(glMultiTexCoord4fvARB), _gloffset_MultiTexCoord4fvARB }, - { "glMultiTexCoord4iARB", (GLvoid *) NAME(glMultiTexCoord4iARB), _gloffset_MultiTexCoord4iARB }, - { "glMultiTexCoord4ivARB", (GLvoid *) NAME(glMultiTexCoord4ivARB), _gloffset_MultiTexCoord4ivARB }, - { "glMultiTexCoord4sARB", (GLvoid *) NAME(glMultiTexCoord4sARB), _gloffset_MultiTexCoord4sARB }, - { "glMultiTexCoord4svARB", (GLvoid *) NAME(glMultiTexCoord4svARB), _gloffset_MultiTexCoord4svARB }, -#undef NAME - - /* ARB 3. GL_ARB_transpose_matrix */ -#ifdef GL_ARB_transpose_matrix -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) NotImplemented -#endif - { "glLoadTransposeMatrixdARB", (GLvoid *) NAME(glLoadTransposeMatrixdARB), _gloffset_LoadTransposeMatrixdARB }, - { "glLoadTransposeMatrixfARB", (GLvoid *) NAME(glLoadTransposeMatrixfARB), _gloffset_LoadTransposeMatrixfARB }, - { "glMultTransposeMatrixdARB", (GLvoid *) NAME(glMultTransposeMatrixdARB), _gloffset_MultTransposeMatrixdARB }, - { "glMultTransposeMatrixfARB", (GLvoid *) NAME(glMultTransposeMatrixfARB), _gloffset_MultTransposeMatrixfARB }, -#undef NAME - - /* ARB 5. GL_ARB_multisample */ -#ifdef GL_ARB_multisample -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glSampleCoverageARB", NAME(glSampleCoverageARB), _gloffset_SampleCoverageARB }, -#undef NAME - - /* ARB 12. GL_ARB_texture_compression */ -#if 000 -#if defined(GL_ARB_texture_compression) && defined(_gloffset_CompressedTexImage3DARB) -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glCompressedTexImage3DARB", NAME(glCompressedTexImage3DARB), _gloffset_CompressedTexImage3DARB }, - { "glCompressedTexImage2DARB", NAME(glCompressedTexImage2DARB), _gloffset_CompressedTexImage2DARB }, - { "glCompressedTexImage1DARB", NAME(glCompressedTexImage1DARB), _gloffset_CompressedTexImage1DARB }, - { "glCompressedTexSubImage3DARB", NAME(glCompressedTexSubImage3DARB), _gloffset_CompressedTexSubImage3DARB }, - { "glCompressedTexSubImage2DARB", NAME(glCompressedTexSubImage2DARB), _gloffset_CompressedTexSubImage2DARB }, - { "glCompressedTexSubImage1DARB", NAME(glCompressedTexSubImage1DARB), _gloffset_CompressedTexSubImage1DARB }, - { "glGetCompressedTexImageARB", NAME(glGetCompressedTexImageARB), _gloffset_GetCompressedTexImageARB }, -#undef NAME -#endif - - /* 2. GL_EXT_blend_color */ -#ifdef GL_EXT_blend_color -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glBlendColorEXT", NAME(glBlendColorEXT), _gloffset_BlendColor }, -#undef NAME - - /* 3. GL_EXT_polygon_offset */ -#ifdef GL_EXT_polygon_offset -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glPolygonOffsetEXT", NAME(glPolygonOffsetEXT), _gloffset_PolygonOffsetEXT }, -#undef NAME - - /* 6. GL_EXT_texture3D */ -#ifdef GL_EXT_texture3D -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glCopyTexSubImage3DEXT", NAME(glCopyTexSubImage3DEXT), _gloffset_CopyTexSubImage3D }, - { "glTexImage3DEXT", NAME(glTexImage3DEXT), _gloffset_TexImage3D }, - { "glTexSubImage3DEXT", NAME(glTexSubImage3DEXT), _gloffset_TexSubImage3D }, -#undef NAME - - /* 7. GL_SGI_texture_filter4 */ -#ifdef GL_SGI_texture_filter4 -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glGetTexFilterFuncSGIS", NAME(glGetTexFilterFuncSGIS), _gloffset_GetTexFilterFuncSGIS }, - { "glTexFilterFuncSGIS", NAME(glTexFilterFuncSGIS), _gloffset_TexFilterFuncSGIS }, -#undef NAME - - /* 9. GL_EXT_subtexture */ -#ifdef GL_EXT_subtexture -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glTexSubImage1DEXT", NAME(glTexSubImage1DEXT), _gloffset_TexSubImage1D }, - { "glTexSubImage2DEXT", NAME(glTexSubImage2DEXT), _gloffset_TexSubImage2D }, -#undef NAME - - /* 10. GL_EXT_copy_texture */ -#ifdef GL_EXT_copy_texture -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glCopyTexImage1DEXT", NAME(glCopyTexImage1DEXT), _gloffset_CopyTexImage1D }, - { "glCopyTexImage2DEXT", NAME(glCopyTexImage2DEXT), _gloffset_CopyTexImage2D }, - { "glCopyTexSubImage1DEXT", NAME(glCopyTexSubImage1DEXT), _gloffset_CopyTexSubImage1D }, - { "glCopyTexSubImage2DEXT", NAME(glCopyTexSubImage2DEXT), _gloffset_CopyTexSubImage2D }, -#undef NAME - - /* 11. GL_EXT_histogram */ -#ifdef GL_EXT_histogram -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glGetHistogramEXT", NAME(glGetHistogramEXT), _gloffset_GetHistogramEXT }, - { "glGetHistogramParameterfvEXT", NAME(glGetHistogramParameterfvEXT), _gloffset_GetHistogramParameterfvEXT }, - { "glGetHistogramParameterivEXT", NAME(glGetHistogramParameterivEXT), _gloffset_GetHistogramParameterivEXT }, - { "glGetMinmaxEXT", NAME(glGetMinmaxEXT), _gloffset_GetMinmaxEXT }, - { "glGetMinmaxParameterfvEXT", NAME(glGetMinmaxParameterfvEXT), _gloffset_GetMinmaxParameterfvEXT }, - { "glGetMinmaxParameterivEXT", NAME(glGetMinmaxParameterivEXT), _gloffset_GetMinmaxParameterivEXT }, - { "glHistogramEXT", NAME(glHistogramEXT), _gloffset_Histogram }, - { "glMinmaxEXT", NAME(glMinmaxEXT), _gloffset_Minmax }, - { "glResetHistogramEXT", NAME(glResetHistogramEXT), _gloffset_ResetHistogram }, - { "glResetMinmaxEXT", NAME(glResetMinmaxEXT), _gloffset_ResetMinmax }, -#undef NAME - - /* 12. GL_EXT_convolution */ -#ifdef GL_EXT_convolution -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glConvolutionFilter1DEXT", NAME(glConvolutionFilter1DEXT), _gloffset_ConvolutionFilter1D }, - { "glConvolutionFilter2DEXT", NAME(glConvolutionFilter2DEXT), _gloffset_ConvolutionFilter2D }, - { "glConvolutionParameterfEXT", NAME(glConvolutionParameterfEXT), _gloffset_ConvolutionParameterf }, - { "glConvolutionParameterfvEXT", NAME(glConvolutionParameterfvEXT), _gloffset_ConvolutionParameterfv }, - { "glConvolutionParameteriEXT", NAME(glConvolutionParameteriEXT), _gloffset_ConvolutionParameteri }, - { "glConvolutionParameterivEXT", NAME(glConvolutionParameterivEXT), _gloffset_ConvolutionParameteriv }, - { "glCopyConvolutionFilter1DEXT", NAME(glCopyConvolutionFilter1DEXT), _gloffset_CopyConvolutionFilter1D }, - { "glCopyConvolutionFilter2DEXT", NAME(glCopyConvolutionFilter2DEXT), _gloffset_CopyConvolutionFilter2D }, - { "glGetConvolutionFilterEXT", NAME(glGetConvolutionFilterEXT), _gloffset_GetConvolutionFilterEXT }, - { "glGetConvolutionParameterivEXT", NAME(glGetConvolutionParameterivEXT), _gloffset_GetConvolutionParameterivEXT }, - { "glGetConvolutionParameterfvEXT", NAME(glGetConvolutionParameterfvEXT), _gloffset_GetConvolutionParameterfvEXT }, - { "glGetSeparableFilterEXT", NAME(glGetSeparableFilterEXT), _gloffset_GetSeparableFilterEXT }, - { "glSeparableFilter2DEXT", NAME(glSeparableFilter2DEXT), _gloffset_SeparableFilter2D }, -#undef NAME - - /* 14. GL_SGI_color_table */ -#ifdef GL_SGI_color_table -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glColorTableSGI", NAME(glColorTableSGI), _gloffset_ColorTable }, - { "glColorTableParameterfvSGI", NAME(glColorTableParameterfvSGI), _gloffset_ColorTableParameterfv }, - { "glColorTableParameterivSGI", NAME(glColorTableParameterivSGI), _gloffset_ColorTableParameteriv }, - { "glCopyColorTableSGI", NAME(glCopyColorTableSGI), _gloffset_CopyColorTable }, - { "glGetColorTableSGI", NAME(glGetColorTableSGI), _gloffset_GetColorTableSGI }, - { "glGetColorTableParameterfvSGI", NAME(glGetColorTableParameterfvSGI), _gloffset_GetColorTableParameterfvSGI }, - { "glGetColorTableParameterivSGI", NAME(glGetColorTableParameterivSGI), _gloffset_GetColorTableParameterivSGI }, -#undef NAME - - /* 15. GL_SGIS_pixel_texture */ -#ifdef GL_SGIS_pixel_texture -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glPixelTexGenParameterfSGIS", NAME(glPixelTexGenParameterfSGIS), _gloffset_PixelTexGenParameterfSGIS }, - { "glPixelTexGenParameteriSGIS", NAME(glPixelTexGenParameteriSGIS), _gloffset_PixelTexGenParameteriSGIS }, - { "glGetPixelTexGenParameterfvSGIS", NAME(glGetPixelTexGenParameterfvSGIS), _gloffset_GetPixelTexGenParameterfvSGIS }, - { "glGetPixelTexGenParameterivSGIS", NAME(glGetPixelTexGenParameterivSGIS), _gloffset_GetPixelTexGenParameterivSGIS }, -#undef NAME - - /* 16. GL_SGIS_texture4D */ -#ifdef GL_SGIS_texture4D -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glTexImage4DSGIS", NAME(glTexImage4DSGIS), _gloffset_TexImage4DSGIS }, - { "glTexSubImage4DSGIS", NAME(glTexSubImage4DSGIS), _gloffset_TexSubImage4DSGIS }, -#undef NAME - - /* 20. GL_EXT_texture_object */ -#ifdef GL_EXT_texture_object -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glAreTexturesResidentEXT", NAME(glAreTexturesResidentEXT), _gloffset_AreTexturesResidentEXT }, - { "glBindTextureEXT", NAME(glBindTextureEXT), _gloffset_BindTexture }, - { "glDeleteTexturesEXT", NAME(glDeleteTexturesEXT), _gloffset_DeleteTextures }, - { "glGenTexturesEXT", NAME(glGenTexturesEXT), _gloffset_GenTexturesEXT }, - { "glIsTextureEXT", NAME(glIsTextureEXT), _gloffset_IsTextureEXT }, - { "glPrioritizeTexturesEXT", NAME(glPrioritizeTexturesEXT), _gloffset_PrioritizeTextures }, -#undef NAME - - /* 21. GL_SGIS_detail_texture */ -#ifdef GL_SGIS_detail_texture -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glDetailTexFuncSGIS", NAME(glDetailTexFuncSGIS), _gloffset_DetailTexFuncSGIS }, - { "glGetDetailTexFuncSGIS", NAME(glGetDetailTexFuncSGIS), _gloffset_GetDetailTexFuncSGIS }, -#undef NAME - - /* 22. GL_SGIS_sharpen_texture */ -#ifdef GL_SGIS_sharpen_texture -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glGetSharpenTexFuncSGIS", NAME(glGetSharpenTexFuncSGIS), _gloffset_GetSharpenTexFuncSGIS }, - { "glSharpenTexFuncSGIS", NAME(glSharpenTexFuncSGIS), _gloffset_SharpenTexFuncSGIS }, -#undef NAME - - /* 25. GL_SGIS_multisample */ -#ifdef GL_SGIS_multisample -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glSampleMaskSGIS", NAME(glSampleMaskSGIS), _gloffset_SampleMaskSGIS }, - { "glSamplePatternSGIS", NAME(glSamplePatternSGIS), _gloffset_SamplePatternSGIS }, -#undef NAME - - /* 30. GL_EXT_vertex_array */ -#ifdef GL_EXT_vertex_array -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glArrayElementEXT", NAME(glArrayElementEXT), _gloffset_ArrayElement }, - { "glColorPointerEXT", NAME(glColorPointerEXT), _gloffset_ColorPointerEXT }, - { "glDrawArraysEXT", NAME(glDrawArraysEXT), _gloffset_DrawArrays }, - { "glEdgeFlagPointerEXT", NAME(glEdgeFlagPointerEXT), _gloffset_EdgeFlagPointerEXT }, - { "glGetPointervEXT", NAME(glGetPointervEXT), _gloffset_GetPointerv }, - { "glIndexPointerEXT", NAME(glIndexPointerEXT), _gloffset_IndexPointerEXT }, - { "glNormalPointerEXT", NAME(glNormalPointerEXT), _gloffset_NormalPointerEXT }, - { "glTexCoordPointerEXT", NAME(glTexCoordPointerEXT), _gloffset_TexCoordPointerEXT }, - { "glVertexPointerEXT", NAME(glVertexPointerEXT), _gloffset_VertexPointerEXT }, -#undef NAME - - /* 37. GL_EXT_blend_minmax */ -#ifdef GL_EXT_blend_minmax -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glBlendEquationEXT", NAME(glBlendEquationEXT), _gloffset_BlendEquation }, -#undef NAME - - /* 52. GL_SGIX_sprite */ -#ifdef GL_SGIX_sprite -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glSpriteParameterfSGIX", NAME(glSpriteParameterfSGIX), _gloffset_SpriteParameterfSGIX }, - { "glSpriteParameterfvSGIX", NAME(glSpriteParameterfvSGIX), _gloffset_SpriteParameterfvSGIX }, - { "glSpriteParameteriSGIX", NAME(glSpriteParameteriSGIX), _gloffset_SpriteParameteriSGIX }, - { "glSpriteParameterivSGIX", NAME(glSpriteParameterivSGIX), _gloffset_SpriteParameterivSGIX }, -#undef NAME - - /* 54. GL_EXT_point_parameters */ -#ifdef GL_EXT_point_parameters -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glPointParameterfEXT", NAME(glPointParameterfEXT), _gloffset_PointParameterfEXT }, - { "glPointParameterfvEXT", NAME(glPointParameterfvEXT), _gloffset_PointParameterfvEXT }, - { "glPointParameterfSGIS", NAME(glPointParameterfSGIS), _gloffset_PointParameterfEXT }, - { "glPointParameterfvSGIS", NAME(glPointParameterfvSGIS), _gloffset_PointParameterfvEXT }, -#undef NAME - - /* 55. GL_SGIX_instruments */ -#ifdef GL_SGIX_instruments -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glInstrumentsBufferSGIX", NAME(glInstrumentsBufferSGIX), _gloffset_InstrumentsBufferSGIX }, - { "glStartInstrumentsSGIX", NAME(glStartInstrumentsSGIX), _gloffset_StartInstrumentsSGIX }, - { "glStopInstrumentsSGIX", NAME(glStopInstrumentsSGIX), _gloffset_StopInstrumentsSGIX }, - { "glReadInstrumentsSGIX", NAME(glReadInstrumentsSGIX), _gloffset_ReadInstrumentsSGIX }, - { "glPollInstrumentsSGIX", NAME(glPollInstrumentsSGIX), _gloffset_PollInstrumentsSGIX }, - { "glGetInstrumentsSGIX", NAME(glGetInstrumentsSGIX), _gloffset_GetInstrumentsSGIX }, -#undef NAME - - /* 57. GL_SGIX_framezoom */ -#ifdef GL_SGIX_framezoom -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glFrameZoomSGIX", NAME(glFrameZoomSGIX), _gloffset_FrameZoomSGIX }, -#undef NAME - - /* 58. GL_SGIX_tag_sample_buffer */ -#ifdef GL_SGIX_tag_sample_buffer -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glTagSampleBufferSGIX", NAME(glTagSampleBufferSGIX), _gloffset_TagSampleBufferSGIX }, -#undef NAME - - /* 60. GL_SGIX_reference_plane */ -#ifdef GL_SGIX_reference_plane -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glReferencePlaneSGIX", NAME(glReferencePlaneSGIX), _gloffset_ReferencePlaneSGIX }, -#undef NAME - - /* 61. GL_SGIX_flush_raster */ -#ifdef GL_SGIX_flush_raster -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glFlushRasterSGIX", NAME(glFlushRasterSGIX), _gloffset_FlushRasterSGIX }, -#undef NAME - - /* 66. GL_HP_image_transform */ -#if 0 -#ifdef GL_HP_image_transform -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glGetImageTransformParameterfvHP", NAME(glGetImageTransformParameterfvHP), _gloffset_GetImageTransformParameterfvHP }, - { "glGetImageTransformParameterivHP", NAME(glGetImageTransformParameterivHP), _gloffset_GetImageTransformParameterivHP }, - { "glImageTransformParameterfHP", NAME(glImageTransformParameterfHP), _gloffset_ImageTransformParameterfHP }, - { "glImageTransformParameterfvHP", NAME(glImageTransformParameterfvHP), _gloffset_ImageTransformParameterfvHP }, - { "glImageTransformParameteriHP", NAME(glImageTransformParameteriHP), _gloffset_ImageTransformParameteriHP }, - { "glImageTransformParameterivHP", NAME(glImageTransformParameterivHP), _gloffset_ImageTransformParameterivHP }, -#undef NAME -#endif - - /* 74. GL_EXT_color_subtable */ -#ifdef GL_EXT_color_subtable -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glColorSubTableEXT", NAME(glColorSubTableEXT), _gloffset_ColorSubTable }, - { "glCopyColorSubTableEXT", NAME(glCopyColorSubTableEXT), _gloffset_CopyColorSubTable }, -#undef NAME - - /* 77. GL_PGI_misc_hints */ -#ifdef GL_PGI_misc_hints -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glHintPGI", NAME(glHintPGI), _gloffset_HintPGI }, -#undef NAME - - /* 78. GL_EXT_paletted_texture */ -#ifdef GL_EXT_paletted_texture -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glColorTableEXT", NAME(glColorTableEXT), _gloffset_ColorTable }, - { "glGetColorTableEXT", NAME(glGetColorTableEXT), _gloffset_GetColorTable }, - { "glGetColorTableParameterfvEXT", NAME(glGetColorTableParameterfvEXT), _gloffset_GetColorTableParameterfv }, - { "glGetColorTableParameterivEXT", NAME(glGetColorTableParameterivEXT), _gloffset_GetColorTableParameteriv }, -#undef NAME - - /* 80. GL_SGIX_list_priority */ -#ifdef GL_SGIX_list_priority -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glGetListParameterfvSGIX", NAME(glGetListParameterfvSGIX), _gloffset_GetListParameterfvSGIX }, - { "glGetListParameterivSGIX", NAME(glGetListParameterivSGIX), _gloffset_GetListParameterivSGIX }, - { "glListParameterfSGIX", NAME(glListParameterfSGIX), _gloffset_ListParameterfSGIX }, - { "glListParameterfvSGIX", NAME(glListParameterfvSGIX), _gloffset_ListParameterfvSGIX }, - { "glListParameteriSGIX", NAME(glListParameteriSGIX), _gloffset_ListParameteriSGIX }, - { "glListParameterivSGIX", NAME(glListParameterivSGIX), _gloffset_ListParameterivSGIX }, -#undef NAME - - /* 94. GL_EXT_index_material */ -#ifdef GL_EXT_index_material -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glIndexMaterialEXT", NAME(glIndexMaterialEXT), _gloffset_IndexMaterialEXT }, -#undef NAME - - /* 95. GL_EXT_index_func */ -#ifdef GL_EXT_index_func -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glIndexFuncEXT", NAME(glIndexFuncEXT), _gloffset_IndexFuncEXT }, -#undef NAME - - /* 97. GL_EXT_compiled_vertex_array */ -#ifdef GL_EXT_compiled_vertex_array -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glLockArraysEXT", NAME(glLockArraysEXT), _gloffset_LockArraysEXT }, - { "glUnlockArraysEXT", NAME(glUnlockArraysEXT), _gloffset_UnlockArraysEXT }, -#undef NAME - - /* 98. GL_EXT_cull_vertex */ -#ifdef GL_EXT_cull_vertex -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glCullParameterfvEXT", NAME(glCullParameterfvEXT), _gloffset_CullParameterfvEXT }, - { "glCullParameterdvEXT", NAME(glCullParameterdvEXT), _gloffset_CullParameterdvEXT }, -#undef NAME - - /* 102. GL_SGIX_fragment_lighting */ -#ifdef GL_SGIX_fragment_lighting -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glFragmentColorMaterialSGIX", NAME(glFragmentColorMaterialSGIX), _gloffset_FragmentColorMaterialSGIX }, - { "glFragmentLightfSGIX", NAME(glFragmentLightfSGIX), _gloffset_FragmentLightfSGIX }, - { "glFragmentLightfvSGIX", NAME(glFragmentLightfvSGIX), _gloffset_FragmentLightfvSGIX }, - { "glFragmentLightiSGIX", NAME(glFragmentLightiSGIX), _gloffset_FragmentLightiSGIX }, - { "glFragmentLightivSGIX", NAME(glFragmentLightivSGIX), _gloffset_FragmentLightivSGIX }, - { "glFragmentLightModelfSGIX", NAME(glFragmentLightModelfSGIX), _gloffset_FragmentLightModelfSGIX }, - { "glFragmentLightModelfvSGIX", NAME(glFragmentLightModelfvSGIX), _gloffset_FragmentLightModelfvSGIX }, - { "glFragmentLightModeliSGIX", NAME(glFragmentLightModeliSGIX), _gloffset_FragmentLightModeliSGIX }, - { "glFragmentLightModelivSGIX", NAME(glFragmentLightModelivSGIX), _gloffset_FragmentLightModelivSGIX }, - { "glFragmentMaterialfSGIX", NAME(glFragmentMaterialfSGIX), _gloffset_FragmentMaterialfSGIX }, - { "glFragmentMaterialfvSGIX", NAME(glFragmentMaterialfvSGIX), _gloffset_FragmentMaterialfvSGIX }, - { "glFragmentMaterialiSGIX", NAME(glFragmentMaterialiSGIX), _gloffset_FragmentMaterialiSGIX }, - { "glFragmentMaterialivSGIX", NAME(glFragmentMaterialivSGIX), _gloffset_FragmentMaterialivSGIX }, - { "glGetFragmentLightfvSGIX", NAME(glGetFragmentLightfvSGIX), _gloffset_GetFragmentLightfvSGIX }, - { "glGetFragmentLightivSGIX", NAME(glGetFragmentLightivSGIX), _gloffset_GetFragmentLightivSGIX }, - { "glGetFragmentMaterialfvSGIX", NAME(glGetFragmentMaterialfvSGIX), _gloffset_GetFragmentMaterialfvSGIX }, - { "glGetFragmentMaterialivSGIX", NAME(glGetFragmentMaterialivSGIX), _gloffset_GetFragmentMaterialivSGIX }, - { "glLightEnviSGIX", NAME(glLightEnviSGIX), _gloffset_LightEnviSGIX }, -#undef NAME - - /* 112. GL_EXT_draw_range_elements */ -#if 000 -#ifdef GL_EXT_draw_range_elements -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glDrawRangeElementsEXT", NAME(glDrawRangeElementsEXT), _gloffset_DrawRangeElementsEXT }, -#undef NAME -#endif - - /* 117. GL_EXT_light_texture */ -#if 000 -#ifdef GL_EXT_light_texture -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glApplyTextureEXT", NAME(glApplyTextureEXT), _gloffset_ApplyTextureEXT }, - { "glTextureLightEXT", NAME(glTextureLightEXT), _gloffset_TextureLightEXT }, - { "glTextureMaterialEXT", NAME(glTextureMaterialEXT), _gloffset_TextureMaterialEXT }, -#undef NAME - - /* 135. GL_INTEL_texture_scissor */ -#ifdef GL_INTEL_texture_scissor -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glTexScissorINTEL", NAME(glTexScissorINTEL), _gloffset_TexScissorINTEL }, - { "glTexScissorFuncINTEL", NAME(glTexScissorFuncINTEL), _gloffset_glTexScissorFuncINTEL }, -#undef NAME - - /* 136. GL_INTEL_parallel_arrays */ -#ifdef GL_INTEL_parallel_arrays -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glVertexPointervINTEL", NAME(glVertexPointervINTEL), _gloffset_VertexPointervINTEL }, - { "glNormalPointervINTEL", NAME(glNormalPointervINTEL), _gloffset_NormalPointervINTEL }, - { "glColorPointervINTEL", NAME(glColorPointervINTEL), _gloffset_ColorPointervINTEL }, - { "glTexCoordPointervINTEL", NAME(glTexCoordPointervINTEL), _gloffset_glxCoordPointervINTEL }, -#undef NAME -#endif - - /* 138. GL_EXT_pixel_transform */ -#if 000 -#ifdef GL_EXT_pixel_transform -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glPixelTransformParameteriEXT", NAME(glPixelTransformParameteriEXT), _gloffset_PixelTransformParameteriEXT }, - { "glPixelTransformParameterfEXT", NAME(glPixelTransformParameterfEXT), _gloffset_PixelTransformParameterfEXT }, - { "glPixelTransformParameterivEXT", NAME(glPixelTransformParameterivEXT), _gloffset_PixelTransformParameterivEXT }, - { "glPixelTransformParameterfvEXT", NAME(glPixelTransformParameterfvEXT), _gloffset_PixelTransformParameterfvEXT }, - { "glGetPixelTransformParameterivEXT", NAME(glGetPixelTransformParameterivEXT), _gloffset_GetPixelTransformParameterivEXT }, - { "glGetPixelTransformParameterfvEXT", NAME(glGetPixelTransformParameterfvEXT), _gloffset_GetPixelTransformParameterfvEXT }, -#undef NAME -#endif - - /* 145. GL_EXT_secondary_color */ -#ifdef GL_EXT_secondary_color -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glSecondaryColor3bEXT", NAME(glSecondaryColor3bEXT), _gloffset_SecondaryColor3bEXT }, - { "glSecondaryColor3dEXT", NAME(glSecondaryColor3dEXT), _gloffset_SecondaryColor3dEXT }, - { "glSecondaryColor3fEXT", NAME(glSecondaryColor3fEXT), _gloffset_SecondaryColor3fEXT }, - { "glSecondaryColor3iEXT", NAME(glSecondaryColor3iEXT), _gloffset_SecondaryColor3iEXT }, - { "glSecondaryColor3sEXT", NAME(glSecondaryColor3sEXT), _gloffset_SecondaryColor3sEXT }, - { "glSecondaryColor3ubEXT", NAME(glSecondaryColor3ubEXT), _gloffset_SecondaryColor3ubEXT }, - { "glSecondaryColor3uiEXT", NAME(glSecondaryColor3uiEXT), _gloffset_SecondaryColor3uiEXT }, - { "glSecondaryColor3usEXT", NAME(glSecondaryColor3usEXT), _gloffset_SecondaryColor3usEXT }, - { "glSecondaryColor3bvEXT", NAME(glSecondaryColor3bvEXT), _gloffset_SecondaryColor3bvEXT }, - { "glSecondaryColor3dvEXT", NAME(glSecondaryColor3dvEXT), _gloffset_SecondaryColor3dvEXT }, - { "glSecondaryColor3fvEXT", NAME(glSecondaryColor3fvEXT), _gloffset_SecondaryColor3fvEXT }, - { "glSecondaryColor3ivEXT", NAME(glSecondaryColor3ivEXT), _gloffset_SecondaryColor3ivEXT }, - { "glSecondaryColor3svEXT", NAME(glSecondaryColor3svEXT), _gloffset_SecondaryColor3svEXT }, - { "glSecondaryColor3ubvEXT", NAME(glSecondaryColor3ubvEXT), _gloffset_SecondaryColor3ubvEXT }, - { "glSecondaryColor3uivEXT", NAME(glSecondaryColor3uivEXT), _gloffset_SecondaryColor3uivEXT }, - { "glSecondaryColor3usvEXT", NAME(glSecondaryColor3usvEXT), _gloffset_SecondaryColor3usvEXT }, - { "glSecondaryColorPointerEXT", NAME(glSecondaryColorPointerEXT), _gloffset_SecondaryColorPointerEXT }, -#undef NAME - - /* 147. GL_EXT_texture_perturb_normal */ -#if 000 -#ifdef GL_EXT_texture_perturb_normal -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glTextureNormalEXT", NAME(glTextureNormalEXT), _gloffset_TextureNormalEXT }, -#undef NAME -#endif - - /* 148. GL_EXT_multi_draw_arrays */ -#if 000 -#ifdef GL_EXT_multi_draw_arrays -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glMultiDrawArraysEXT", NAME(glMultiDrawArraysEXT), _gloffset_MultiDrawArraysEXT }, -#undef NAME -#endif - - /* 149. GL_EXT_fog_coord */ -#ifdef GL_EXT_fog_coord -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glFogCoordfEXT", NAME(glFogCoordfEXT), _gloffset_FogCoordfEXT }, - { "glFogCoordfvEXT", NAME(glFogCoordfvEXT), _gloffset_FogCoordfvEXT }, - { "glFogCoorddEXT", NAME(glFogCoorddEXT), _gloffset_FogCoorddEXT }, - { "glFogCoorddEXT", NAME(glFogCoorddEXT), _gloffset_FogCoorddEXT }, - { "glFogCoordPointerEXT", NAME(glFogCoordPointerEXT), _gloffset_FogCoordPointerEXT }, -#undef NAME - - /* 156. GL_EXT_coordinate_frame */ -#if 000 -#ifdef GL_EXT_coordinate_frame -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glTangent3bEXT", NAME(glTangent3bEXT), _gloffset_Tangent3bEXT }, - { "glTangent3dEXT", NAME(glTangent3dEXT), _gloffset_Tangent3dEXT }, - { "glTangent3fEXT", NAME(glTangent3fEXT), _gloffset_Tangent3fEXT }, - { "glTangent3iEXT", NAME(glTangent3iEXT), _gloffset_Tangent3iEXT }, - { "glTangent3sEXT", NAME(glTangent3sEXT), _gloffset_Tangent3sEXT }, - { "glTangent3bvEXT", NAME(glTangent3bvEXT), _gloffset_Tangent3bvEXT }, - { "glTangent3dvEXT", NAME(glTangent3dvEXT), _gloffset_Tangent3dvEXT }, - { "glTangent3fvEXT", NAME(glTangent3fvEXT), _gloffset_Tangent3fvEXT }, - { "glTangent3ivEXT", NAME(glTangent3ivEXT), _gloffset_Tangent3ivEXT }, - { "glTangent3svEXT", NAME(glTangent3svEXT), _gloffset_Tangent3svEXT }, - { "glBinormal3bEXT", NAME(glBinormal3bEXT), _gloffset_Binormal3bEXT }, - { "glBinormal3dEXT", NAME(glBinormal3dEXT), _gloffset_Binormal3dEXT }, - { "glBinormal3fEXT", NAME(glBinormal3fEXT), _gloffset_Binormal3fEXT }, - { "glBinormal3iEXT", NAME(glBinormal3iEXT), _gloffset_Binormal3iEXT }, - { "glBinormal3sEXT", NAME(glBinormal3sEXT), _gloffset_Binormal3sEXT }, - { "glBinormal3bvEXT", NAME(glBinormal3bvEXT), _gloffset_Binormal3bvEXT }, - { "glBinormal3dvEXT", NAME(glBinormal3dvEXT), _gloffset_Binormal3dvEXT }, - { "glBinormal3fvEXT", NAME(glBinormal3fvEXT), _gloffset_Binormal3fvEXT }, - { "glBinormal3ivEXT", NAME(glBinormal3ivEXT), _gloffset_Binormal3ivEXT }, - { "glBinormal3svEXT", NAME(glBinormal3svEXT), _gloffset_Binormal3svEXT }, - { "glTangentPointerEXT", NAME(glTangentPointerEXT), _gloffset_TangentPointerEXT }, - { "glBinormalPointerEXT", NAME(glBinormalPointerEXT), _gloffset_BinormalPointerEXT }, -#undef NAME -#endif - - /* 164. GL_SUN_global_alpha */ -#if 000 -#ifdef GL_SUN_global_alpha -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glGlobalAlphaFactorbSUN", NAME(glGlobalAlphaFactorbSUN), _gloffset_GlobalAlphaFactorbSUN }, - { "glGlobalAlphaFactorsSUN", NAME(glGlobalAlphaFactorsSUN), _gloffset_GlobalAlphaFactorsSUN }, - { "glGlobalAlphaFactoriSUN", NAME(glGlobalAlphaFactoriSUN), _gloffset_GlobalAlphaFactoriSUN }, - { "glGlobalAlphaFactorfSUN", NAME(glGlobalAlphaFactorfSUN), _gloffset_GlobalAlphaFactorfSUN }, - { "glGlobalAlphaFactordSUN", NAME(glGlobalAlphaFactordSUN), _gloffset_GlobalAlphaFactordSUN }, - { "glGlobalAlphaFactorubSUN", NAME(glGlobalAlphaFactorubSUN), _gloffset_GlobalAlphaFactorubSUN }, - { "glGlobalAlphaFactorusSUN", NAME(glGlobalAlphaFactorusSUN), _gloffset_GlobalAlphaFactorusSUN }, - { "glGlobalAlphaFactoruiSUN", NAME(glGlobalAlphaFactoruiSUN), _gloffset_GlobalAlphaFactoruiSUN }, -#undef NAME -#endif - - /* 165. GL_SUN_triangle_list */ -#if 000 -#ifdef GL_SUN_triangle_list -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glReplacementCodeuiSUN", NAME(glReplacementCodeuiSUN), _gloffset_ReplacementCodeuiSUN }, - { "glReplacementCodeusSUN", NAME(glReplacementCodeusSUN), _gloffset_ReplacementCodeusSUN }, - { "glReplacementCodeubSUN", NAME(glReplacementCodeubSUN), _gloffset_ReplacementCodeubSUN }, - { "glReplacementCodeuivSUN", NAME(glReplacementCodeuivSUN), _gloffset_ReplacementCodeuivSUN }, - { "glReplacementCodeusvSUN", NAME(glReplacementCodeusvSUN), _gloffset_ReplacementCodeusvSUN }, - { "glReplacementCodeubvSUN", NAME(glReplacementCodeubvSUN), _gloffset_ReplacementCodeubvSUN }, - { "glReplacementCodePointerSUN", NAME(glReplacementCodePointerSUN), _gloffset_ReplacementCodePointerSUN }, -#undef NAME -#endif - - /* 166. GL_SUN_vertex */ -#if 000 -#ifdef GL_SUN_vertex -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glColor4ubVertex2fSUN", NAME(glColor4ubVertex2fSUN), _gloffset_Color4ubVertex2fSUN }, - { "glColor4ubVertex2fvSUN", NAME(glColor4ubVertex2fvSUN), _gloffset_Color4ubVertex2fvSUN }, - { "glColor4ubVertex3fSUN", NAME(glColor4ubVertex3fSUN), _gloffset_Color4ubVertex3fSUN }, - { "glColor4ubVertex3fvSUN", NAME(glColor4ubVertex3fvSUN), _gloffset_Color4ubVertex3fvSUN }, - { "glColor3fVertex3fSUN", NAME(glColor3fVertex3fSUN), _gloffset_Color3fVertex3fSUN }, - { "glColor3fVertex3fvSUN", NAME(glColor3fVertex3fvSUN), _gloffset_Color3fVertex3fvSUN }, - { "glNormal3fVertex3fSUN", NAME(glNormal3fVertex3fSUN), _gloffset_Normal3fVertex3fSUN }, - { "glNormal3fVertex3fvSUN", NAME(glNormal3fVertex3fvSUN), _gloffset_Normal3fVertex3fvSUN }, - { "glColor4fNormal3fVertex3fSUN", NAME(glColor4fNormal3fVertex3fSUN), _gloffset_Color4fNormal3fVertex3fSUN }, - { "glColor4fNormal3fVertex3fvSUN", NAME(glColor4fNormal3fVertex3fvSUN), _gloffset_Color4fNormal3fVertex3fvSUN }, - { "glTexCoord2fVertex3fSUN", NAME(glTexCoord2fVertex3fSUN), _gloffset_TexCoord2fVertex3fSUN }, - { "glTexCoord2fVertex3fvSUN", NAME(glTexCoord2fVertex3fvSUN), _gloffset_TexCoord2fVertex3fvSUN }, - { "glTexCoord4fVertex4fSUN", NAME(glTexCoord4fVertex4fSUN), _gloffset_TexCoord4fVertex4fSUN }, - { "glTexCoord4fVertex4fvSUN", NAME(glTexCoord4fVertex4fvSUN), _gloffset_TexCoord4fVertex4fvSUN }, - { "glTexCoord2fColor4ubVertex3fSUN", NAME(glTexCoord2fColor4ubVertex3fSUN), _gloffset_TexCoord2fColor4ubVertex3fSUN }, - { "glTexCoord2fColor4ubVertex3fvSUN", NAME(glTexCoord2fColor4ubVertex3fvSUN), _gloffset_TexCoord2fColor4ubVertex3fvSUN }, - { "glTexCoord2fColor3fVertex3fSUN", NAME(glTexCoord2fColor3fVertex3fSUN), _gloffset_TexCoord2fColor3fVertex3fSUN }, - { "glTexCoord2fColor3fVertex3fvSUN", NAME(glTexCoord2fColor3fVertex3fvSUN), _gloffset_TexCoord2fColor3fVertex3fvSUN }, - { "glTexCoord2fNormal3fVertex3fSUN", NAME(glTexCoord2fNormal3fVertex3fSUN), _gloffset_TexCoord2fNormal3fVertex3fSUN }, - { "glTexCoord2fNormal3fVertex3fvSUN", NAME(glTexCoord2fNormal3fVertex3fvSUN), _gloffset_TexCoord2fNormal3fVertex3fvSUN }, - { "glTexCoord2fColor4fNormal3fVertex3fSUN", NAME(glTexCoord2fColor4fNormal3fVertex3fSUN), _gloffset_TexCoord2fColor4fNormal3fVertex3fSUN }, - { "glTexCoord2fColor4fNormal3fVertex3fvSUN", NAME(glTexCoord2fColor4fNormal3fVertex3fvSUN), _gloffset_TexCoord2fColor4fNormal3fVertex3fvSUN }, - { "glTexCoord4fColor4fNormal3fVertex4fSUN", NAME(glTexCoord4fColor4fNormal3fVertex4fSUN), _gloffset_TexCoord4fColor4fNormal3fVertex4fSUN }, - { "glTexCoord4fColor4fNormal3fVertex4fvSUN", NAME(glTexCoord4fColor4fNormal3fVertex4fvSUN), _gloffset_TexCoord4fColor4fNormal3fVertex4fvSUN }, - { "glReplacementCodeuiVertex3fSUN", NAME(glReplacementCodeuiVertex3fSUN), _gloffset_ReplacementCodeuiVertex3fSUN }, - { "glReplacementCodeuiVertex3fvSUN", NAME(glReplacementCodeuiVertex3fvSUN), _gloffset_ReplacementCodeuiVertex3fvSUN }, - { "glReplacementCodeuiColor4ubVertex3fSUN", NAME(glReplacementCodeuiColor4ubVertex3fSUN), _gloffset_ReplacementCodeuiColor4ubVertex3fSUN }, - { "glReplacementCodeuiColor4ubVertex3fvSUN", NAME(glReplacementCodeuiColor4ubVertex3fvSUN), _gloffset_ReplacementCodeuiColor4ubVertex3fvSUN }, - { "glReplacementCodeuiColor3fVertex3fSUN", NAME(glReplacementCodeuiColor3fVertex3fSUN), _gloffset_ReplacementCodeuiColor3fVertex3fSUN }, - { "glReplacementCodeuiColor3fVertex3fvSUN", NAME(glReplacementCodeuiColor3fVertex3fvSUN), _gloffset_ReplacementCodeuiColor3fVertex3fvSUN }, - { "glReplacementCodeuiNormal3fVertex3fSUN", NAME(glReplacementCodeuiNormal3fVertex3fSUN), _gloffset_ReplacementCodeuiNormal3fVertex3fSUN }, - { "glReplacementCodeuiNormal3fVertex3fvSUN", NAME(glReplacementCodeuiNormal3fVertex3fvSUN), _gloffset_ReplacementCodeuiNormal3fVertex3fvSUN }, - { "glReplacementCodeuiColor4fNormal3fVertex3fSUN", NAME(glReplacementCodeuiColor4fNormal3fVertex3fSUN), _gloffset_ReplacementCodeuiColor4fNormal3fVertex3fSUN }, - { "glReplacementCodeuiColor4fNormal3fVertex3fvSUN", NAME(glReplacementCodeuiColor4fNormal3fVertex3fvSUN), _gloffset_ReplacementCodeuiColor4fNormal3fVertex3fvSUN }, - { "glReplacementCodeuiTexCoord2fVertex3fSUN", NAME(glReplacementCodeuiTexCoord2fVertex3fSUN), _gloffset_ReplacementCodeuiTexCoord2fVertex3fSUN }, - { "glReplacementCodeuiTexCoord2fVertex3fvSUN", NAME(glReplacementCodeuiTexCoord2fVertex3fvSUN), _gloffset_ReplacementCodeuiTexCoord2fVertex3fvSUN }, - { "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN", NAME(glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN), _gloffset_ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN }, - { "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN", NAME(glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN), _gloffset_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN }, - { "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN", NAME(glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN), _gloffset_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN }, - { "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN", NAME(glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN), _gloffset_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN }, -#undef NAME -#endif - - /* 173. GL_EXT/INGR_blend_func_separate */ -#ifdef GL_EXT_blend_func_separate -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glBlendFuncSeparateEXT", NAME(glBlendFuncSeparateEXT), _gloffset_BlendFuncSeparateEXT }, - { "glBlendFuncSeparateINGR", NAME(glBlendFuncSeparateEXT), _gloffset_BlendFuncSeparateEXT }, -#undef NAME - - /* 188. GL_EXT_vertex_weighting */ -#ifdef GL_EXT_vertex_weighting -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glVertexWeightfEXT", NAME(glVertexWeightfEXT), _gloffset_VertexWeightfEXT }, - { "glVertexWeightfvEXT", NAME(glVertexWeightfvEXT), _gloffset_VertexWeightfvEXT }, - { "glVertexWeightPointerEXT", NAME(glVertexWeightPointerEXT), _gloffset_VertexWeightPointerEXT }, -#undef NAME - - /* 190. GL_NV_vertex_array_range */ -#ifdef GL_NV_vertex_array_range -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glFlushVertexArrayRangeNV", NAME(glFlushVertexArrayRangeNV), _gloffset_FlushVertexArrayRangeNV }, - { "glVertexArrayRangeNV", NAME(glVertexArrayRangeNV), _gloffset_VertexArrayRangeNV }, -#undef NAME - - /* 191. GL_NV_register_combiners */ -#ifdef GL_NV_register_combiners -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glCombinerParameterfvNV", NAME(glCombinerParameterfvNV), _gloffset_CombinerParameterfvNV }, - { "glCombinerParameterfNV", NAME(glCombinerParameterfNV), _gloffset_CombinerParameterfNV }, - { "glCombinerParameterivNV", NAME(glCombinerParameterivNV), _gloffset_CombinerParameterivNV }, - { "glCombinerParameteriNV", NAME(glCombinerParameteriNV), _gloffset_CombinerParameteriNV }, - { "glCombinerInputNV", NAME(glCombinerInputNV), _gloffset_CombinerInputNV }, - { "glCombinerOutputNV", NAME(glCombinerOutputNV), _gloffset_CombinerOutputNV }, - { "glFinalCombinerInputNV", NAME(glFinalCombinerInputNV), _gloffset_FinalCombinerInputNV }, - { "glGetCombinerInputParameterfvNV", NAME(glGetCombinerInputParameterfvNV), _gloffset_GetCombinerInputParameterfvNV }, - { "glGetCombinerInputParameterivNV", NAME(glGetCombinerInputParameterivNV), _gloffset_GetCombinerInputParameterivNV }, - { "glGetCombinerOutputParameterfvNV", NAME(glGetCombinerOutputParameterfvNV), _gloffset_GetCombinerOutputParameterfvNV }, - { "glGetCombinerOutputParameterivNV", NAME(glGetCombinerOutputParameterivNV), _gloffset_GetCombinerOutputParameterivNV }, - { "glGetFinalCombinerInputParameterfvNV", NAME(glGetFinalCombinerInputParameterfvNV), _gloffset_GetFinalCombinerInputParameterfvNV }, - { "glGetFinalCombinerInputParameterivNV", NAME(glGetFinalCombinerInputParameterivNV), _gloffset_GetFinalCombinerInputParameterivNV }, -#undef NAME - - /* 196. GL_MESA_resize_buffers */ -#ifdef MESA_resize_buffers -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glResizeBuffersMESA", NAME(glResizeBuffersMESA), _gloffset_ResizeBuffersMESA }, -#undef NAME - - /* 197. GL_MESA_window_pos */ -#ifdef MESA_window_pos -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glWindowPos4fMESA", NAME(glWindowPos4fMESA), _gloffset_WindowPos4fMESA }, -#undef NAME - - /* 209. WGL_EXT_multisample */ -#ifdef WGL_EXT_multisample -#define NAME(X) (GLvoid *) X -#else -#define NAME(X) (GLvoid *) NotImplemented -#endif - { "glSampleMaskEXT", NAME(glSampleMaskEXT), _gloffset_SampleMaskSGIS }, - { "glSamplePatternEXT", NAME(glSamplePatternEXT), _gloffset_SamplePatternSGIS }, -#undef NAME - - { NULL, NULL } /* end of list marker */ -}; +/* The code in this file is auto-generated */ +#include "glprocs.h" diff --git a/src/mesa/glapi/glapioffsets.h b/src/mesa/glapi/glapioffsets.h index c1c82bba0e5..0a83d478b3e 100644 --- a/src/mesa/glapi/glapioffsets.h +++ b/src/mesa/glapi/glapioffsets.h @@ -376,46 +376,46 @@ #define _gloffset_TexImage3D 371 #define _gloffset_TexSubImage3D 372 #define _gloffset_CopyTexSubImage3D 373 -#define _gloffset_ActiveTextureARB 374 -#define _gloffset_ClientActiveTextureARB 375 -#define _gloffset_MultiTexCoord1dARB 376 -#define _gloffset_MultiTexCoord1dvARB 377 -#define _gloffset_MultiTexCoord1fARB 378 -#define _gloffset_MultiTexCoord1fvARB 379 -#define _gloffset_MultiTexCoord1iARB 380 -#define _gloffset_MultiTexCoord1ivARB 381 -#define _gloffset_MultiTexCoord1sARB 382 -#define _gloffset_MultiTexCoord1svARB 383 -#define _gloffset_MultiTexCoord2dARB 384 -#define _gloffset_MultiTexCoord2dvARB 385 -#define _gloffset_MultiTexCoord2fARB 386 -#define _gloffset_MultiTexCoord2fvARB 387 -#define _gloffset_MultiTexCoord2iARB 388 -#define _gloffset_MultiTexCoord2ivARB 389 -#define _gloffset_MultiTexCoord2sARB 390 -#define _gloffset_MultiTexCoord2svARB 391 -#define _gloffset_MultiTexCoord3dARB 392 -#define _gloffset_MultiTexCoord3dvARB 393 -#define _gloffset_MultiTexCoord3fARB 394 -#define _gloffset_MultiTexCoord3fvARB 395 -#define _gloffset_MultiTexCoord3iARB 396 -#define _gloffset_MultiTexCoord3ivARB 397 -#define _gloffset_MultiTexCoord3sARB 398 -#define _gloffset_MultiTexCoord3svARB 399 -#define _gloffset_MultiTexCoord4dARB 400 -#define _gloffset_MultiTexCoord4dvARB 401 -#define _gloffset_MultiTexCoord4fARB 402 -#define _gloffset_MultiTexCoord4fvARB 403 -#define _gloffset_MultiTexCoord4iARB 404 -#define _gloffset_MultiTexCoord4ivARB 405 -#define _gloffset_MultiTexCoord4sARB 406 -#define _gloffset_MultiTexCoord4svARB 407 -#define _gloffset_LoadTransposeMatrixfARB 408 -#define _gloffset_LoadTransposeMatrixdARB 409 -#define _gloffset_MultTransposeMatrixfARB 410 -#define _gloffset_MultTransposeMatrixdARB 411 -#define _gloffset_SampleCoverageARB 412 -#define _gloffset_SamplePassARB 413 +#define _gloffset_ActiveTexture 374 +#define _gloffset_ClientActiveTexture 375 +#define _gloffset_MultiTexCoord1d 376 +#define _gloffset_MultiTexCoord1dv 377 +#define _gloffset_MultiTexCoord1f 378 +#define _gloffset_MultiTexCoord1fv 379 +#define _gloffset_MultiTexCoord1i 380 +#define _gloffset_MultiTexCoord1iv 381 +#define _gloffset_MultiTexCoord1s 382 +#define _gloffset_MultiTexCoord1sv 383 +#define _gloffset_MultiTexCoord2d 384 +#define _gloffset_MultiTexCoord2dv 385 +#define _gloffset_MultiTexCoord2f 386 +#define _gloffset_MultiTexCoord2fv 387 +#define _gloffset_MultiTexCoord2i 388 +#define _gloffset_MultiTexCoord2iv 389 +#define _gloffset_MultiTexCoord2s 390 +#define _gloffset_MultiTexCoord2sv 391 +#define _gloffset_MultiTexCoord3d 392 +#define _gloffset_MultiTexCoord3dv 393 +#define _gloffset_MultiTexCoord3f 394 +#define _gloffset_MultiTexCoord3fv 395 +#define _gloffset_MultiTexCoord3i 396 +#define _gloffset_MultiTexCoord3iv 397 +#define _gloffset_MultiTexCoord3s 398 +#define _gloffset_MultiTexCoord3sv 399 +#define _gloffset_MultiTexCoord4d 400 +#define _gloffset_MultiTexCoord4dv 401 +#define _gloffset_MultiTexCoord4f 402 +#define _gloffset_MultiTexCoord4fv 403 +#define _gloffset_MultiTexCoord4i 404 +#define _gloffset_MultiTexCoord4iv 405 +#define _gloffset_MultiTexCoord4s 406 +#define _gloffset_MultiTexCoord4sv 407 +#define _gloffset_LoadTransposeMatrixf 408 +#define _gloffset_LoadTransposeMatrixd 409 +#define _gloffset_MultTransposeMatrixf 410 +#define _gloffset_MultTransposeMatrixd 411 +#define _gloffset_SampleCoverage 412 +#define _gloffset___unused413 413 #define _gloffset_PolygonOffsetEXT 414 #define _gloffset_GetTexFilterFuncSGIS 415 #define _gloffset_TexFilterFuncSGIS 416 @@ -460,8 +460,8 @@ #define _gloffset_SpriteParameterfvSGIX 455 #define _gloffset_SpriteParameteriSGIX 456 #define _gloffset_SpriteParameterivSGIX 457 -#define _gloffset_PointParameterfEXT 458 -#define _gloffset_PointParameterfvEXT 459 +#define _gloffset_PointParameterfARB 458 +#define _gloffset_PointParameterfvARB 459 #define _gloffset_GetInstrumentsSGIX 460 #define _gloffset_InstrumentsBufferSGIX 461 #define _gloffset_PollInstrumentsSGIX 462 @@ -556,13 +556,13 @@ #define _gloffset_GetColorTableParameterivEXT 551 #define _gloffset_GetColorTableParameterfvEXT 552 #define _gloffset_TbufferMask3DFX 553 -#define _gloffset_CompressedTexImage3DARB 554 -#define _gloffset_CompressedTexImage2DARB 555 -#define _gloffset_CompressedTexImage1DARB 556 -#define _gloffset_CompressedTexSubImage3DARB 557 -#define _gloffset_CompressedTexSubImage2DARB 558 -#define _gloffset_CompressedTexSubImage1DARB 559 -#define _gloffset_GetCompressedTexImageARB 560 +#define _gloffset_CompressedTexImage3D 554 +#define _gloffset_CompressedTexImage2D 555 +#define _gloffset_CompressedTexImage1D 556 +#define _gloffset_CompressedTexSubImage3D 557 +#define _gloffset_CompressedTexSubImage2D 558 +#define _gloffset_CompressedTexSubImage1D 559 +#define _gloffset_GetCompressedTexImage 560 #define _gloffset_SecondaryColor3bEXT 561 #define _gloffset_SecondaryColor3bvEXT 562 #define _gloffset_SecondaryColor3dEXT 563 diff --git a/src/mesa/glapi/glapitable.h b/src/mesa/glapi/glapitable.h index b20ca8c5844..53071cef83f 100644 --- a/src/mesa/glapi/glapitable.h +++ b/src/mesa/glapi/glapitable.h @@ -313,7 +313,7 @@ struct _glapi_table void (*Translatef)(GLfloat x, GLfloat y, GLfloat z); /* 304 */ void (*Viewport)(GLint x, GLint y, GLsizei width, GLsizei height); /* 305 */ void (*ArrayElement)(GLint i); /* 306 */ - void (*BindTexture)(GLenum target, GLenum texture); /* 307 */ + void (*BindTexture)(GLenum target, GLuint texture); /* 307 */ void (*ColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 308 */ void (*DisableClientState)(GLenum array); /* 309 */ void (*DrawArrays)(GLenum mode, GLint first, GLsizei count); /* 310 */ @@ -328,16 +328,16 @@ struct _glapi_table void (*PolygonOffset)(GLfloat factor, GLfloat units); /* 319 */ void (*TexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 320 */ void (*VertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 321 */ - GLboolean (*AreTexturesResident)(GLsizei n, const GLenum * textures, GLboolean * residences); /* 322 */ + GLboolean (*AreTexturesResident)(GLsizei n, const GLuint * textures, GLboolean * residences); /* 322 */ void (*CopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); /* 323 */ void (*CopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); /* 324 */ void (*CopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); /* 325 */ void (*CopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); /* 326 */ - void (*DeleteTextures)(GLsizei n, const GLenum * textures); /* 327 */ - void (*GenTextures)(GLsizei n, GLenum * textures); /* 328 */ - void (*GetPointerv)(GLenum pname, GLvoid * * params); /* 329 */ - GLboolean (*IsTexture)(GLenum texture); /* 330 */ - void (*PrioritizeTextures)(GLsizei n, const GLenum * textures, const GLclampf * priorities); /* 331 */ + void (*DeleteTextures)(GLsizei n, const GLuint * textures); /* 327 */ + void (*GenTextures)(GLsizei n, GLuint * textures); /* 328 */ + void (*GetPointerv)(GLenum pname, GLvoid ** params); /* 329 */ + GLboolean (*IsTexture)(GLuint texture); /* 330 */ + void (*PrioritizeTextures)(GLsizei n, const GLuint * textures, const GLclampf * priorities); /* 331 */ void (*TexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels); /* 332 */ void (*TexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); /* 333 */ void (*PopClientAttrib)(void); /* 334 */ @@ -377,49 +377,49 @@ struct _glapi_table void (*Minmax)(GLenum target, GLenum internalformat, GLboolean sink); /* 368 */ void (*ResetHistogram)(GLenum target); /* 369 */ void (*ResetMinmax)(GLenum target); /* 370 */ - void (*TexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 371 */ + void (*TexImage3D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 371 */ void (*TexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels); /* 372 */ void (*CopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); /* 373 */ - void (*ActiveTextureARB)(GLenum texture); /* 374 */ - void (*ClientActiveTextureARB)(GLenum texture); /* 375 */ - void (*MultiTexCoord1dARB)(GLenum target, GLdouble s); /* 376 */ - void (*MultiTexCoord1dvARB)(GLenum target, const GLdouble * v); /* 377 */ - void (*MultiTexCoord1fARB)(GLenum target, GLfloat s); /* 378 */ - void (*MultiTexCoord1fvARB)(GLenum target, const GLfloat * v); /* 379 */ - void (*MultiTexCoord1iARB)(GLenum target, GLint s); /* 380 */ - void (*MultiTexCoord1ivARB)(GLenum target, const GLint * v); /* 381 */ - void (*MultiTexCoord1sARB)(GLenum target, GLshort s); /* 382 */ - void (*MultiTexCoord1svARB)(GLenum target, const GLshort * v); /* 383 */ - void (*MultiTexCoord2dARB)(GLenum target, GLdouble s, GLdouble t); /* 384 */ - void (*MultiTexCoord2dvARB)(GLenum target, const GLdouble * v); /* 385 */ - void (*MultiTexCoord2fARB)(GLenum target, GLfloat s, GLfloat t); /* 386 */ - void (*MultiTexCoord2fvARB)(GLenum target, const GLfloat * v); /* 387 */ - void (*MultiTexCoord2iARB)(GLenum target, GLint s, GLint t); /* 388 */ - void (*MultiTexCoord2ivARB)(GLenum target, const GLint * v); /* 389 */ - void (*MultiTexCoord2sARB)(GLenum target, GLshort s, GLshort t); /* 390 */ - void (*MultiTexCoord2svARB)(GLenum target, const GLshort * v); /* 391 */ - void (*MultiTexCoord3dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r); /* 392 */ - void (*MultiTexCoord3dvARB)(GLenum target, const GLdouble * v); /* 393 */ - void (*MultiTexCoord3fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r); /* 394 */ - void (*MultiTexCoord3fvARB)(GLenum target, const GLfloat * v); /* 395 */ - void (*MultiTexCoord3iARB)(GLenum target, GLint s, GLint t, GLint r); /* 396 */ - void (*MultiTexCoord3ivARB)(GLenum target, const GLint * v); /* 397 */ - void (*MultiTexCoord3sARB)(GLenum target, GLshort s, GLshort t, GLshort r); /* 398 */ - void (*MultiTexCoord3svARB)(GLenum target, const GLshort * v); /* 399 */ - void (*MultiTexCoord4dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); /* 400 */ - void (*MultiTexCoord4dvARB)(GLenum target, const GLdouble * v); /* 401 */ - void (*MultiTexCoord4fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); /* 402 */ - void (*MultiTexCoord4fvARB)(GLenum target, const GLfloat * v); /* 403 */ - void (*MultiTexCoord4iARB)(GLenum target, GLint s, GLint t, GLint r, GLint q); /* 404 */ - void (*MultiTexCoord4ivARB)(GLenum target, const GLint * v); /* 405 */ - void (*MultiTexCoord4sARB)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); /* 406 */ - void (*MultiTexCoord4svARB)(GLenum target, const GLshort * v); /* 407 */ - void (*LoadTransposeMatrixfARB)(const GLfloat * m); /* 408 */ - void (*LoadTransposeMatrixdARB)(const GLdouble * m); /* 409 */ - void (*MultTransposeMatrixfARB)(const GLfloat * m); /* 410 */ - void (*MultTransposeMatrixdARB)(const GLdouble * m); /* 411 */ - void (*SampleCoverageARB)(GLclampf value, GLboolean invert); /* 412 */ - void (*SamplePassARB)(GLenum pass); /* 413 */ + void (*ActiveTexture)(GLenum texture); /* 374 */ + void (*ClientActiveTexture)(GLenum texture); /* 375 */ + void (*MultiTexCoord1d)(GLenum target, GLdouble s); /* 376 */ + void (*MultiTexCoord1dv)(GLenum target, const GLdouble * v); /* 377 */ + void (*MultiTexCoord1f)(GLenum target, GLfloat s); /* 378 */ + void (*MultiTexCoord1fv)(GLenum target, const GLfloat * v); /* 379 */ + void (*MultiTexCoord1i)(GLenum target, GLint s); /* 380 */ + void (*MultiTexCoord1iv)(GLenum target, const GLint * v); /* 381 */ + void (*MultiTexCoord1s)(GLenum target, GLshort s); /* 382 */ + void (*MultiTexCoord1sv)(GLenum target, const GLshort * v); /* 383 */ + void (*MultiTexCoord2d)(GLenum target, GLdouble s, GLdouble t); /* 384 */ + void (*MultiTexCoord2dv)(GLenum target, const GLdouble * v); /* 385 */ + void (*MultiTexCoord2f)(GLenum target, GLfloat s, GLfloat t); /* 386 */ + void (*MultiTexCoord2fv)(GLenum target, const GLfloat * v); /* 387 */ + void (*MultiTexCoord2i)(GLenum target, GLint s, GLint t); /* 388 */ + void (*MultiTexCoord2iv)(GLenum target, const GLint * v); /* 389 */ + void (*MultiTexCoord2s)(GLenum target, GLshort s, GLshort t); /* 390 */ + void (*MultiTexCoord2sv)(GLenum target, const GLshort * v); /* 391 */ + void (*MultiTexCoord3d)(GLenum target, GLdouble s, GLdouble t, GLdouble r); /* 392 */ + void (*MultiTexCoord3dv)(GLenum target, const GLdouble * v); /* 393 */ + void (*MultiTexCoord3f)(GLenum target, GLfloat s, GLfloat t, GLfloat r); /* 394 */ + void (*MultiTexCoord3fv)(GLenum target, const GLfloat * v); /* 395 */ + void (*MultiTexCoord3i)(GLenum target, GLint s, GLint t, GLint r); /* 396 */ + void (*MultiTexCoord3iv)(GLenum target, const GLint * v); /* 397 */ + void (*MultiTexCoord3s)(GLenum target, GLshort s, GLshort t, GLshort r); /* 398 */ + void (*MultiTexCoord3sv)(GLenum target, const GLshort * v); /* 399 */ + void (*MultiTexCoord4d)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); /* 400 */ + void (*MultiTexCoord4dv)(GLenum target, const GLdouble * v); /* 401 */ + void (*MultiTexCoord4f)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); /* 402 */ + void (*MultiTexCoord4fv)(GLenum target, const GLfloat * v); /* 403 */ + void (*MultiTexCoord4i)(GLenum target, GLint s, GLint t, GLint r, GLint q); /* 404 */ + void (*MultiTexCoord4iv)(GLenum target, const GLint * v); /* 405 */ + void (*MultiTexCoord4s)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); /* 406 */ + void (*MultiTexCoord4sv)(GLenum target, const GLshort * v); /* 407 */ + void (*LoadTransposeMatrixf)(const GLfloat * m); /* 408 */ + void (*LoadTransposeMatrixd)(const GLdouble * m); /* 409 */ + void (*MultTransposeMatrixf)(const GLfloat * m); /* 410 */ + void (*MultTransposeMatrixd)(const GLdouble * m); /* 411 */ + void (*SampleCoverage)(GLclampf value, GLboolean invert); /* 412 */ + void (*__unused413)(void); /* 413 */ void (*PolygonOffsetEXT)(GLfloat factor, GLfloat bias); /* 414 */ void (*GetTexFilterFuncSGIS)(GLenum target, GLenum filter, GLfloat * weights); /* 415 */ void (*TexFilterFuncSGIS)(GLenum target, GLenum filter, GLsizei n, const GLfloat * weights); /* 416 */ @@ -445,9 +445,9 @@ struct _glapi_table void (*GetPixelTexGenParameterfvSGIS)(GLenum pname, GLfloat * params); /* 436 */ void (*TexImage4DSGIS)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 437 */ void (*TexSubImage4DSGIS)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid * pixels); /* 438 */ - GLboolean (*AreTexturesResidentEXT)(GLsizei n, const GLenum * textures, GLboolean * residences); /* 439 */ - void (*GenTexturesEXT)(GLsizei n, GLenum * textures); /* 440 */ - GLboolean (*IsTextureEXT)(GLenum texture); /* 441 */ + GLboolean (*AreTexturesResidentEXT)(GLsizei n, const GLuint * textures, GLboolean * residences); /* 439 */ + void (*GenTexturesEXT)(GLsizei n, GLuint * textures); /* 440 */ + GLboolean (*IsTextureEXT)(GLuint texture); /* 441 */ void (*DetailTexFuncSGIS)(GLenum target, GLsizei n, const GLfloat * points); /* 442 */ void (*GetDetailTexFuncSGIS)(GLenum target, GLfloat * points); /* 443 */ void (*SharpenTexFuncSGIS)(GLenum target, GLsizei n, const GLfloat * points); /* 444 */ @@ -464,8 +464,8 @@ struct _glapi_table void (*SpriteParameterfvSGIX)(GLenum pname, const GLfloat * params); /* 455 */ void (*SpriteParameteriSGIX)(GLenum pname, GLint param); /* 456 */ void (*SpriteParameterivSGIX)(GLenum pname, const GLint * params); /* 457 */ - void (*PointParameterfEXT)(GLenum pname, GLfloat param); /* 458 */ - void (*PointParameterfvEXT)(GLenum pname, const GLfloat * params); /* 459 */ + void (*PointParameterfARB)(GLenum pname, GLfloat param); /* 458 */ + void (*PointParameterfvARB)(GLenum pname, const GLfloat * params); /* 459 */ GLint (*GetInstrumentsSGIX)(void); /* 460 */ void (*InstrumentsBufferSGIX)(GLsizei size, GLint * buffer); /* 461 */ GLint (*PollInstrumentsSGIX)(GLint * marker_p); /* 462 */ @@ -504,7 +504,7 @@ struct _glapi_table void (*VertexWeightfvEXT)(const GLfloat * weight); /* 495 */ void (*VertexWeightPointerEXT)(GLsizei size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 496 */ void (*FlushVertexArrayRangeNV)(void); /* 497 */ - void (*VertexArrayRangeNV)(GLsizei size, const GLvoid * pointer); /* 498 */ + void (*VertexArrayRangeNV)(GLsizei length, const GLvoid * pointer); /* 498 */ void (*CombinerParameterfvNV)(GLenum pname, const GLfloat * params); /* 499 */ void (*CombinerParameterfNV)(GLenum pname, GLfloat param); /* 500 */ void (*CombinerParameterivNV)(GLenum pname, const GLint * params); /* 501 */ @@ -560,13 +560,13 @@ struct _glapi_table void (*GetColorTableParameterivEXT)(GLenum target, GLenum pname, GLint * params); /* 551 */ void (*GetColorTableParameterfvEXT)(GLenum target, GLenum pname, GLfloat * params); /* 552 */ void (*TbufferMask3DFX)(GLuint mask); /* 553 */ - void (*CompressedTexImage3DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data); /* 554 */ - void (*CompressedTexImage2DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data); /* 555 */ - void (*CompressedTexImage1DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data); /* 556 */ - void (*CompressedTexSubImage3DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data); /* 557 */ - void (*CompressedTexSubImage2DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data); /* 558 */ - void (*CompressedTexSubImage1DARB)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data); /* 559 */ - void (*GetCompressedTexImageARB)(GLenum target, GLint level, void * img); /* 560 */ + void (*CompressedTexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data); /* 554 */ + void (*CompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data); /* 555 */ + void (*CompressedTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data); /* 556 */ + void (*CompressedTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data); /* 557 */ + void (*CompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data); /* 558 */ + void (*CompressedTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data); /* 559 */ + void (*GetCompressedTexImage)(GLenum target, GLint level, GLvoid * img); /* 560 */ void (*SecondaryColor3bEXT)(GLbyte red, GLbyte green, GLbyte blue); /* 561 */ void (*SecondaryColor3bvEXT)(const GLbyte * v); /* 562 */ void (*SecondaryColor3dEXT)(GLdouble red, GLdouble green, GLdouble blue); /* 563 */ diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h index 6f5f52b9292..10f40d268ef 100644 --- a/src/mesa/glapi/glapitemp.h +++ b/src/mesa/glapi/glapitemp.h @@ -1,29 +1,5 @@ -/* $Id: glapitemp.h,v 1.32 2001/11/01 00:39:24 brianp Exp $ */ - -/* - * Mesa 3-D graphics library - * Version: 3.5 - * - * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ +/* DO NOT EDIT! This file is generated by the glapitemp.py script. */ /* * This file is a template which generates the OpenGL API entry point @@ -71,95 +47,49 @@ #endif -/* - * XXX - * Most functions need the msg (printf-message) parameter to be finished. - * I.e. replace ";" with the real info. - */ - -/* - * XXX - * Someday this code should be automatically generated from a spec file - * like that used in the SGI OpenGL SI. - */ - - - -/* GL 1.0 */ - -KEYWORD1 void KEYWORD2 NAME(Accum)(GLenum op, GLfloat value) -{ - DISPATCH(Accum, (op, value), (F, "glAccum(0x%x, %g);", op, value)); -} - -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) +KEYWORD1 void KEYWORD2 NAME(NewList)(GLuint list, GLenum mode) { - 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)); + DISPATCH(NewList, (list, mode), (F, "glNewList(%d, 0x%x);", list, mode)); } -KEYWORD1 void KEYWORD2 NAME(BlendFunc)(GLenum sfactor, GLenum dfactor) +KEYWORD1 void KEYWORD2 NAME(EndList)(void) { - DISPATCH(BlendFunc, (sfactor, dfactor), (F, "glBlendFunc(0x%x, 0x%x);", sfactor, dfactor)); + DISPATCH(EndList, (), (F, "glEndList();")); } 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)); + DISPATCH(CallList, (list), (F, "glCallList(%d);", list)); } -KEYWORD1 void KEYWORD2 NAME(ClearAccum)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +KEYWORD1 void KEYWORD2 NAME(CallLists)(GLsizei n, GLenum type, const GLvoid * lists) { - DISPATCH(ClearAccum, (red, green, blue, alpha), (F, "glClearAccum(%g, %g, %g, %g);", red, green, blue, alpha)); + DISPATCH(CallLists, (n, type, lists), (F, "glCallLists(%p, 0x%x, %p);", (void *) n, type, (void *) lists)); } -KEYWORD1 void KEYWORD2 NAME(ClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) +KEYWORD1 void KEYWORD2 NAME(DeleteLists)(GLuint list, GLsizei range) { - DISPATCH(ClearColor, (red, green, blue, alpha), (F, "glClearColor(%g, %g, %g, %g);", red, green, blue, alpha)); + DISPATCH(DeleteLists, (list, range), (F, "glDeleteLists(%d, %p);", list, (void *) range)); } -KEYWORD1 void KEYWORD2 NAME(ClearDepth)(GLclampd depth) +KEYWORD1 GLuint KEYWORD2 NAME(GenLists)(GLsizei range) { - DISPATCH(ClearDepth, (depth), (F, "glClearDepth(%g);", depth)); + RETURN_DISPATCH(GenLists, (range), (F, "glGenLists(%p);", (void *) range)); } -KEYWORD1 void KEYWORD2 NAME(ClearIndex)(GLfloat c) +KEYWORD1 void KEYWORD2 NAME(ListBase)(GLuint base) { - DISPATCH(ClearIndex, (c), (F, "glClearIndex(%g);", c)); + DISPATCH(ListBase, (base), (F, "glListBase(%d);", base)); } -KEYWORD1 void KEYWORD2 NAME(ClearStencil)(GLint s) +KEYWORD1 void KEYWORD2 NAME(Begin)(GLenum mode) { - DISPATCH(ClearStencil, (s), (F, "glClearStencil(%d);", s)); + DISPATCH(Begin, (mode), (F, "glBegin(0x%x);", mode)); } -KEYWORD1 void KEYWORD2 NAME(ClipPlane)(GLenum plane, const GLdouble *equation) +KEYWORD1 void KEYWORD2 NAME(Bitmap)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap) { - DISPATCH(ClipPlane, (plane, equation), (F, "glClipPlane(%p);", (void *) equation)); + DISPATCH(Bitmap, (width, height, xorig, yorig, xmove, ymove, bitmap), (F, "glBitmap(%p, %p, %f, %f, %f, %f, %p);", (void *) width, (void *) height, xorig, yorig, xmove, ymove, (void *) bitmap)); } KEYWORD1 void KEYWORD2 NAME(Color3b)(GLbyte red, GLbyte green, GLbyte blue) @@ -167,829 +97,819 @@ 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) +KEYWORD1 void KEYWORD2 NAME(Color3bv)(const GLbyte * v) { - DISPATCH(Color3d, (red, green, blue), (F, "glColor3d(%g, %g, %g);", red, green, blue)); + DISPATCH(Color3bv, (v), (F, "glColor3bv(%p);", (void *) v)); } -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) +KEYWORD1 void KEYWORD2 NAME(Color3d)(GLdouble red, GLdouble green, GLdouble blue) { - DISPATCH(Color3s, (red, green, blue), (F, "glColor3s(%d, %d, %d);", red, green, blue)); + DISPATCH(Color3d, (red, green, blue), (F, "glColor3d(%f, %f, %f);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(Color3ub)(GLubyte red, GLubyte green, GLubyte blue) +KEYWORD1 void KEYWORD2 NAME(Color3dv)(const GLdouble * v) { - DISPATCH(Color3ub, (red, green, blue), (F, "glColor3ub(%u, %u, %u);", red, green, blue)); + DISPATCH(Color3dv, (v), (F, "glColor3dv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Color3ui)(GLuint red, GLuint green, GLuint blue) +KEYWORD1 void KEYWORD2 NAME(Color3f)(GLfloat red, GLfloat green, GLfloat blue) { - DISPATCH(Color3ui, (red, green, blue), (F, "glColor3ui(%u, %u, %u);", red, green, blue)); + DISPATCH(Color3f, (red, green, blue), (F, "glColor3f(%f, %f, %f);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(Color3us)(GLushort red, GLushort green, GLushort blue) +KEYWORD1 void KEYWORD2 NAME(Color3fv)(const GLfloat * v) { - DISPATCH(Color3us, (red, green, blue), (F, "glColor3us(%u, %u, %u);", red, green, blue)); + DISPATCH(Color3fv, (v), (F, "glColor3fv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Color4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) +KEYWORD1 void KEYWORD2 NAME(Color3i)(GLint red, GLint green, GLint blue) { - DISPATCH(Color4b, (red, green, blue, alpha), (F, "glColor4b(%d, %d, %d, %d);", red, green, blue, alpha)); + DISPATCH(Color3i, (red, green, blue), (F, "glColor3i(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(Color4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) +KEYWORD1 void KEYWORD2 NAME(Color3iv)(const GLint * v) { - DISPATCH(Color4d, (red, green, blue, alpha), (F, "glColor4d(%g, %g, %g, %g);", red, green, blue, alpha)); + DISPATCH(Color3iv, (v), (F, "glColor3iv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Color4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +KEYWORD1 void KEYWORD2 NAME(Color3s)(GLshort red, GLshort green, GLshort blue) { - DISPATCH(Color4f, (red, green, blue, alpha), (F, "glColor4b(%g, %g, %g, %g);", red, green, blue, alpha)); + DISPATCH(Color3s, (red, green, blue), (F, "glColor3s(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(Color4i)(GLint red, GLint green, GLint blue, GLint alpha) +KEYWORD1 void KEYWORD2 NAME(Color3sv)(const GLshort * v) { - DISPATCH(Color4i, (red, green, blue, alpha), (F, "glColor4i(%d, %d, %d);", red, green, blue)); + DISPATCH(Color3sv, (v), (F, "glColor3sv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Color4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha) +KEYWORD1 void KEYWORD2 NAME(Color3ub)(GLubyte red, GLubyte green, GLubyte blue) { - DISPATCH(Color4s, (red, green, blue, alpha), (F, "glColor4s(%d, %d, %d, %d);", red, green, blue, alpha)); + DISPATCH(Color3ub, (red, green, blue), (F, "glColor3ub(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(Color4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) +KEYWORD1 void KEYWORD2 NAME(Color3ubv)(const GLubyte * v) { - DISPATCH(Color4ub, (red, green, blue, alpha), (F, "glColor4ub(%u, %u, %u, %u);", red, green, blue, alpha)); + DISPATCH(Color3ubv, (v), (F, "glColor3ubv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Color4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha) +KEYWORD1 void KEYWORD2 NAME(Color3ui)(GLuint red, GLuint green, GLuint blue) { - DISPATCH(Color4ui, (red, green, blue, alpha), (F, "glColor4ui(%u, %u, %u, %u);", red, green, blue, alpha)); + DISPATCH(Color3ui, (red, green, blue), (F, "glColor3ui(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(Color4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha) +KEYWORD1 void KEYWORD2 NAME(Color3uiv)(const GLuint * v) { - DISPATCH(Color4us, (red, green, blue, alpha), (F, "glColor4us(%u, %u, %u, %u);", red, green, blue, alpha)); + DISPATCH(Color3uiv, (v), (F, "glColor3uiv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Color3bv)(const GLbyte *v) +KEYWORD1 void KEYWORD2 NAME(Color3us)(GLushort red, GLushort green, GLushort blue) { - DISPATCH(Color3bv, (v), (F, "glColor3bf(%p);", v)); + DISPATCH(Color3us, (red, green, blue), (F, "glColor3us(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(Color3dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(Color3usv)(const GLushort * v) { - DISPATCH(Color3dv, (v), (F, "glColor3dv(%p);", (void *) v)); + DISPATCH(Color3usv, (v), (F, "glColor3usv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Color3fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(Color4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) { - DISPATCH(Color3fv, (v), (F, "glColor3fv(%p);", (void *) v)); + DISPATCH(Color4b, (red, green, blue, alpha), (F, "glColor4b(%d, %d, %d, %d);", red, green, blue, alpha)); } -KEYWORD1 void KEYWORD2 NAME(Color3iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(Color4bv)(const GLbyte * v) { - DISPATCH(Color3iv, (v), (F, "glColor3iv(%p);", (void *) v)); + DISPATCH(Color4bv, (v), (F, "glColor4bv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Color3sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(Color4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) { - DISPATCH(Color3sv, (v), (F, "glColor3sv(%p);", (void *) v)); + DISPATCH(Color4d, (red, green, blue, alpha), (F, "glColor4d(%f, %f, %f, %f);", red, green, blue, alpha)); } -KEYWORD1 void KEYWORD2 NAME(Color3ubv)(const GLubyte *v) +KEYWORD1 void KEYWORD2 NAME(Color4dv)(const GLdouble * v) { - DISPATCH(Color3ubv, (v), (F, "glColor3ubv(%p);", (void *) v)); + DISPATCH(Color4dv, (v), (F, "glColor4dv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Color3uiv)(const GLuint *v) +KEYWORD1 void KEYWORD2 NAME(Color4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { - DISPATCH(Color3uiv, (v), (F, "glColor3uiv(%p);", (void *) v)); + DISPATCH(Color4f, (red, green, blue, alpha), (F, "glColor4f(%f, %f, %f, %f);", red, green, blue, alpha)); } -KEYWORD1 void KEYWORD2 NAME(Color3usv)(const GLushort *v) +KEYWORD1 void KEYWORD2 NAME(Color4fv)(const GLfloat * v) { - DISPATCH(Color3usv, (v), (F, "glColor3usv(%p);", (void *) v)); + DISPATCH(Color4fv, (v), (F, "glColor4fv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Color4bv)(const GLbyte *v) +KEYWORD1 void KEYWORD2 NAME(Color4i)(GLint red, GLint green, GLint blue, GLint alpha) { - DISPATCH(Color4bv, (v), (F, "glColor3bv(%p);", v)); + DISPATCH(Color4i, (red, green, blue, alpha), (F, "glColor4i(%d, %d, %d, %d);", red, green, blue, alpha)); } -KEYWORD1 void KEYWORD2 NAME(Color4dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(Color4iv)(const GLint * v) { - DISPATCH(Color4dv, (v), (F, "glColor4dv(%p);", (void *) v)); + DISPATCH(Color4iv, (v), (F, "glColor4iv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Color4fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(Color4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha) { - DISPATCH(Color4fv, (v), (F, "glColor4fv(%p);", (void *) v)); + DISPATCH(Color4s, (red, green, blue, alpha), (F, "glColor4s(%d, %d, %d, %d);", red, green, blue, alpha)); } -KEYWORD1 void KEYWORD2 NAME(Color4iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(Color4sv)(const GLshort * v) { - DISPATCH(Color4iv, (v), (F, "glColor4iv(%p);", (void *) v)); + DISPATCH(Color4sv, (v), (F, "glColor4sv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Color4sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(Color4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { - DISPATCH(Color4sv, (v), (F, "glColor4sv(%p);", (void *) v)); + DISPATCH(Color4ub, (red, green, blue, alpha), (F, "glColor4ub(%d, %d, %d, %d);", red, green, blue, alpha)); } -KEYWORD1 void KEYWORD2 NAME(Color4ubv)(const GLubyte *v) +KEYWORD1 void KEYWORD2 NAME(Color4ubv)(const GLubyte * v) { DISPATCH(Color4ubv, (v), (F, "glColor4ubv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Color4uiv)(const GLuint *v) +KEYWORD1 void KEYWORD2 NAME(Color4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha) { - DISPATCH(Color4uiv, (v), (F, "glColor4uiv(%p);", (void *) v)); + DISPATCH(Color4ui, (red, green, blue, alpha), (F, "glColor4ui(%d, %d, %d, %d);", red, green, blue, alpha)); } -KEYWORD1 void KEYWORD2 NAME(Color4usv)(const GLushort *v) +KEYWORD1 void KEYWORD2 NAME(Color4uiv)(const GLuint * v) { - DISPATCH(Color4usv, (v), (F, "glColor4usv(%p);", (void *) v)); + DISPATCH(Color4uiv, (v), (F, "glColor4uiv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(ColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) +KEYWORD1 void KEYWORD2 NAME(Color4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha) { - DISPATCH(ColorMask, (red, green, blue, alpha), (F, "glColorMask(%d, %d, %d, %d);", red, green, blue, alpha)); + DISPATCH(Color4us, (red, green, blue, alpha), (F, "glColor4us(%d, %d, %d, %d);", red, green, blue, alpha)); } -KEYWORD1 void KEYWORD2 NAME(ColorMaterial)(GLenum face, GLenum mode) +KEYWORD1 void KEYWORD2 NAME(Color4usv)(const GLushort * v) { - DISPATCH(ColorMaterial, (face, mode), (F, "glColorMaterial(0x%x, 0x%x);", face, mode)); + DISPATCH(Color4usv, (v), (F, "glColor4usv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(CopyPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) +KEYWORD1 void KEYWORD2 NAME(EdgeFlag)(GLboolean flag) { - DISPATCH(CopyPixels, (x, y, width, height, type), (F, "glCopyPixels(%d, %d, %d, %d, 0x%x;", x, y, width, height, type)); + DISPATCH(EdgeFlag, (flag), (F, "glEdgeFlag(%d);", flag)); } -KEYWORD1 void KEYWORD2 NAME(CullFace)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(EdgeFlagv)(const GLboolean * flag) { - DISPATCH(CullFace, (mode), (F, "glCullFace(0x%x);", mode)); + DISPATCH(EdgeFlagv, (flag), (F, "glEdgeFlagv(%p);", (void *) flag)); } -KEYWORD1 void KEYWORD2 NAME(DepthFunc)(GLenum func) +KEYWORD1 void KEYWORD2 NAME(End)(void) { - DISPATCH(DepthFunc, (func), (F, "glDepthFunc(0x%x);", func)); + DISPATCH(End, (), (F, "glEnd();")); } -KEYWORD1 void KEYWORD2 NAME(DepthMask)(GLboolean flag) +KEYWORD1 void KEYWORD2 NAME(Indexd)(GLdouble c) { - DISPATCH(DepthMask, (flag), (F, "glDepthMask(%d);", flag)); + DISPATCH(Indexd, (c), (F, "glIndexd(%f);", c)); } -KEYWORD1 void KEYWORD2 NAME(DepthRange)(GLclampd nearVal, GLclampd farVal) +KEYWORD1 void KEYWORD2 NAME(Indexdv)(const GLdouble * c) { - DISPATCH(DepthRange, (nearVal, farVal), (F, "glDepthRange(%g, %g;", nearVal, farVal)); + DISPATCH(Indexdv, (c), (F, "glIndexdv(%p);", (void *) c)); } -KEYWORD1 void KEYWORD2 NAME(DeleteLists)(GLuint list, GLsizei range) +KEYWORD1 void KEYWORD2 NAME(Indexf)(GLfloat c) { - DISPATCH(DeleteLists, (list, range), (F, "glDeleteLists(%u, %d);", list, range)); + DISPATCH(Indexf, (c), (F, "glIndexf(%f);", c)); } -KEYWORD1 void KEYWORD2 NAME(Disable)(GLenum cap) +KEYWORD1 void KEYWORD2 NAME(Indexfv)(const GLfloat * c) { - DISPATCH(Disable, (cap), (F, "glDisable(0x%x);", cap)); + DISPATCH(Indexfv, (c), (F, "glIndexfv(%p);", (void *) c)); } -KEYWORD1 void KEYWORD2 NAME(DrawBuffer)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(Indexi)(GLint c) { - DISPATCH(DrawBuffer, (mode), (F, "glDrawBuffer(0x%x);", mode)); + DISPATCH(Indexi, (c), (F, "glIndexi(%d);", c)); } -KEYWORD1 void KEYWORD2 NAME(DrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) +KEYWORD1 void KEYWORD2 NAME(Indexiv)(const GLint * c) { - DISPATCH(DrawElements, (mode, count, type, indices), (F, "glDrawElements(0x%x, %d, 0x%x, %p;", mode, count, type, indices)); + DISPATCH(Indexiv, (c), (F, "glIndexiv(%p);", (void *) c)); } -KEYWORD1 void KEYWORD2 NAME(DrawPixels)(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(Indexs)(GLshort c) { - DISPATCH(DrawPixels, (width, height, format, type, pixels), (F, "glDrawPixels(%d, %d, 0x%x, 0x%x, %p);", width, height, format, type, pixels)); + DISPATCH(Indexs, (c), (F, "glIndexs(%d);", c)); } -KEYWORD1 void KEYWORD2 NAME(EdgeFlag)(GLboolean flag) +KEYWORD1 void KEYWORD2 NAME(Indexsv)(const GLshort * c) { - DISPATCH(EdgeFlag, (flag), (F, ";")); + DISPATCH(Indexsv, (c), (F, "glIndexsv(%p);", (void *) c)); } -KEYWORD1 void KEYWORD2 NAME(EdgeFlagv)(const GLboolean *flag) +KEYWORD1 void KEYWORD2 NAME(Normal3b)(GLbyte nx, GLbyte ny, GLbyte nz) { - DISPATCH(EdgeFlagv, (flag), (F, ";")); + DISPATCH(Normal3b, (nx, ny, nz), (F, "glNormal3b(%d, %d, %d);", nx, ny, nz)); } -KEYWORD1 void KEYWORD2 NAME(Enable)(GLenum cap) +KEYWORD1 void KEYWORD2 NAME(Normal3bv)(const GLbyte * v) { - DISPATCH(Enable, (cap), (F, "glEnable(0x%x);", cap)); + DISPATCH(Normal3bv, (v), (F, "glNormal3bv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(End)(void) +KEYWORD1 void KEYWORD2 NAME(Normal3d)(GLdouble nx, GLdouble ny, GLdouble nz) { - DISPATCH(End, (), (F, "glEnd();")); + DISPATCH(Normal3d, (nx, ny, nz), (F, "glNormal3d(%f, %f, %f);", nx, ny, nz)); } -KEYWORD1 void KEYWORD2 NAME(EndList)(void) +KEYWORD1 void KEYWORD2 NAME(Normal3dv)(const GLdouble * v) { - DISPATCH(EndList, (), (F, "glEndList();")); + DISPATCH(Normal3dv, (v), (F, "glNormal3dv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord1d)(GLdouble u) +KEYWORD1 void KEYWORD2 NAME(Normal3f)(GLfloat nx, GLfloat ny, GLfloat nz) { - DISPATCH(EvalCoord1d, (u), (F, "glEvalCoord1d(%g);", u)); + DISPATCH(Normal3f, (nx, ny, nz), (F, "glNormal3f(%f, %f, %f);", nx, ny, nz)); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord1f)(GLfloat u) +KEYWORD1 void KEYWORD2 NAME(Normal3fv)(const GLfloat * v) { - DISPATCH(EvalCoord1f, (u), (F, ";")); + DISPATCH(Normal3fv, (v), (F, "glNormal3fv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord1dv)(const GLdouble *u) +KEYWORD1 void KEYWORD2 NAME(Normal3i)(GLint nx, GLint ny, GLint nz) { - DISPATCH(EvalCoord1dv, (u), (F, ";")); + DISPATCH(Normal3i, (nx, ny, nz), (F, "glNormal3i(%d, %d, %d);", nx, ny, nz)); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord1fv)(const GLfloat *u) +KEYWORD1 void KEYWORD2 NAME(Normal3iv)(const GLint * v) { - DISPATCH(EvalCoord1fv, (u), (F, ";")); + DISPATCH(Normal3iv, (v), (F, "glNormal3iv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord2d)(GLdouble u, GLdouble v) +KEYWORD1 void KEYWORD2 NAME(Normal3s)(GLshort nx, GLshort ny, GLshort nz) { - DISPATCH(EvalCoord2d, (u, v), (F, ";")); + DISPATCH(Normal3s, (nx, ny, nz), (F, "glNormal3s(%d, %d, %d);", nx, ny, nz)); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord2f)(GLfloat u, GLfloat v) +KEYWORD1 void KEYWORD2 NAME(Normal3sv)(const GLshort * v) { - DISPATCH(EvalCoord2f, (u, v), (F, ";")); + DISPATCH(Normal3sv, (v), (F, "glNormal3sv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord2dv)(const GLdouble *u) +KEYWORD1 void KEYWORD2 NAME(RasterPos2d)(GLdouble x, GLdouble y) { - DISPATCH(EvalCoord2dv, (u), (F, ";")); + DISPATCH(RasterPos2d, (x, y), (F, "glRasterPos2d(%f, %f);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(EvalCoord2fv)(const GLfloat *u) +KEYWORD1 void KEYWORD2 NAME(RasterPos2dv)(const GLdouble * v) { - DISPATCH(EvalCoord2fv, (u), (F, ";")); + DISPATCH(RasterPos2dv, (v), (F, "glRasterPos2dv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(EvalMesh1)(GLenum mode, GLint i1, GLint i2) +KEYWORD1 void KEYWORD2 NAME(RasterPos2f)(GLfloat x, GLfloat y) { - DISPATCH(EvalMesh1, (mode, i1, i2), (F, "glEvalMesh(0x%x, %d, %d);", mode, i1, i2)); + DISPATCH(RasterPos2f, (x, y), (F, "glRasterPos2f(%f, %f);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(EvalMesh2)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) +KEYWORD1 void KEYWORD2 NAME(RasterPos2fv)(const GLfloat * v) { - DISPATCH(EvalMesh2, (mode, i1, i2, j1, j2), (F, "glEvalMesh2(0x%x, %d, %d, %d, %d);", mode, i1, i2, j1, j2)); + DISPATCH(RasterPos2fv, (v), (F, "glRasterPos2fv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(EvalPoint1)(GLint i) +KEYWORD1 void KEYWORD2 NAME(RasterPos2i)(GLint x, GLint y) { - DISPATCH(EvalPoint1, (i), (F, ";")); + DISPATCH(RasterPos2i, (x, y), (F, "glRasterPos2i(%d, %d);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(EvalPoint2)(GLint i, GLint j) +KEYWORD1 void KEYWORD2 NAME(RasterPos2iv)(const GLint * v) { - DISPATCH(EvalPoint2, (i, j), (F, ";")); + DISPATCH(RasterPos2iv, (v), (F, "glRasterPos2iv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(FeedbackBuffer)(GLsizei size, GLenum type, GLfloat *buffer) +KEYWORD1 void KEYWORD2 NAME(RasterPos2s)(GLshort x, GLshort y) { - DISPATCH(FeedbackBuffer, (size, type, buffer), (F, "glFeedbackBuffer(%d, 0x%x, %p);", size, type, (void *) buffer)); + DISPATCH(RasterPos2s, (x, y), (F, "glRasterPos2s(%d, %d);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(Finish)(void) +KEYWORD1 void KEYWORD2 NAME(RasterPos2sv)(const GLshort * v) { - DISPATCH(Finish, (), (F, "glFinish();")); + DISPATCH(RasterPos2sv, (v), (F, "glRasterPos2sv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Flush)(void) +KEYWORD1 void KEYWORD2 NAME(RasterPos3d)(GLdouble x, GLdouble y, GLdouble z) { - DISPATCH(Flush, (), (F, "glFlush();")); + DISPATCH(RasterPos3d, (x, y, z), (F, "glRasterPos3d(%f, %f, %f);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(Fogf)(GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(RasterPos3dv)(const GLdouble * v) { - DISPATCH(Fogf, (pname, param), (F, "glFogf(0x%x, %g);", pname, param)); + DISPATCH(RasterPos3dv, (v), (F, "glRasterPos3dv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Fogi)(GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(RasterPos3f)(GLfloat x, GLfloat y, GLfloat z) { - DISPATCH(Fogi, (pname, param), (F, "glFogi(0x%x, %d);", pname, param)); + DISPATCH(RasterPos3f, (x, y, z), (F, "glRasterPos3f(%f, %f, %f);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(Fogfv)(GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(RasterPos3fv)(const GLfloat * v) { - DISPATCH(Fogfv, (pname, params), (F, "glFogfv(0x%x, %p);", pname, (void *) params)); + DISPATCH(RasterPos3fv, (v), (F, "glRasterPos3fv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Fogiv)(GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(RasterPos3i)(GLint x, GLint y, GLint z) { - DISPATCH(Fogiv, (pname, params), (F, "glFogiv(0x%x, %p);", pname, (void *) params)); + DISPATCH(RasterPos3i, (x, y, z), (F, "glRasterPos3i(%d, %d, %d);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(FrontFace)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(RasterPos3iv)(const GLint * v) { - DISPATCH(FrontFace, (mode), (F, "glFrontFace(0x%x);", mode)); + DISPATCH(RasterPos3iv, (v), (F, "glRasterPos3iv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Frustum)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) +KEYWORD1 void KEYWORD2 NAME(RasterPos3s)(GLshort x, GLshort y, GLshort z) { - DISPATCH(Frustum, (left, right, bottom, top, nearval, farval), (F, "glFrustum(%f, %f, %f, %f, %f, %f);", left, right, bottom, top, nearval, farval)); + DISPATCH(RasterPos3s, (x, y, z), (F, "glRasterPos3s(%d, %d, %d);", x, y, z)); } -KEYWORD1 GLuint KEYWORD2 NAME(GenLists)(GLsizei range) +KEYWORD1 void KEYWORD2 NAME(RasterPos3sv)(const GLshort * v) { - RETURN_DISPATCH(GenLists, (range), (F, "glGenLists(%d);", range)); + DISPATCH(RasterPos3sv, (v), (F, "glRasterPos3sv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetBooleanv)(GLenum pname, GLboolean *params) +KEYWORD1 void KEYWORD2 NAME(RasterPos4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { - DISPATCH(GetBooleanv, (pname, params), (F, "glGetBooleanv(0x%x, %p);", pname, params)); + DISPATCH(RasterPos4d, (x, y, z, w), (F, "glRasterPos4d(%f, %f, %f, %f);", x, y, z, w)); } -KEYWORD1 void KEYWORD2 NAME(GetClipPlane)(GLenum plane, GLdouble *equation) +KEYWORD1 void KEYWORD2 NAME(RasterPos4dv)(const GLdouble * v) { - DISPATCH(GetClipPlane, (plane, equation), (F, "glGetClipPlane(x0%x, %p);", plane, (void *) equation)); + DISPATCH(RasterPos4dv, (v), (F, "glRasterPos4dv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetDoublev)(GLenum pname, GLdouble *params) +KEYWORD1 void KEYWORD2 NAME(RasterPos4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - DISPATCH(GetDoublev, (pname, params), (F, "glGetDoublev(0x%x, %p);", pname, (void *) params)); + DISPATCH(RasterPos4f, (x, y, z, w), (F, "glRasterPos4f(%f, %f, %f, %f);", x, y, z, w)); } -KEYWORD1 GLenum KEYWORD2 NAME(GetError)(void) +KEYWORD1 void KEYWORD2 NAME(RasterPos4fv)(const GLfloat * v) { - RETURN_DISPATCH(GetError, (), (F, "glGetError();")); + DISPATCH(RasterPos4fv, (v), (F, "glRasterPos4fv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetFloatv)(GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(RasterPos4i)(GLint x, GLint y, GLint z, GLint w) { - DISPATCH(GetFloatv, (pname, params), (F, "glGetFloatv(0x%x, %p);", pname, (void *) params)); + DISPATCH(RasterPos4i, (x, y, z, w), (F, "glRasterPos4i(%d, %d, %d, %d);", x, y, z, w)); } -KEYWORD1 void KEYWORD2 NAME(GetIntegerv)(GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(RasterPos4iv)(const GLint * v) { - DISPATCH(GetIntegerv, (pname, params), (F, "glGetIntegerv(0x%x, %p);", pname, (void *) params)); + DISPATCH(RasterPos4iv, (v), (F, "glRasterPos4iv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetLightfv)(GLenum light, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(RasterPos4s)(GLshort x, GLshort y, GLshort z, GLshort w) { - DISPATCH(GetLightfv, (light, pname, params), (F, "glGetLightfv(0x%x, 0x%x, %p);", light, pname, (void *) params)); + DISPATCH(RasterPos4s, (x, y, z, w), (F, "glRasterPos4s(%d, %d, %d, %d);", x, y, z, w)); } -KEYWORD1 void KEYWORD2 NAME(GetLightiv)(GLenum light, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(RasterPos4sv)(const GLshort * v) { - DISPATCH(GetLightiv, (light, pname, params), (F, "glGetLightiv(0x%x, 0x%x, %p);", light, pname, (void *) params)); + DISPATCH(RasterPos4sv, (v), (F, "glRasterPos4sv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetMapdv)(GLenum target, GLenum query, GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(Rectd)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) { - DISPATCH(GetMapdv, (target, query, v), (F, "glGetMapdv(0x%x, 0x%x, %p);", target, query, (void *) v)); + DISPATCH(Rectd, (x1, y1, x2, y2), (F, "glRectd(%f, %f, %f, %f);", x1, y1, x2, y2)); } -KEYWORD1 void KEYWORD2 NAME(GetMapfv)(GLenum target, GLenum query, GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(Rectdv)(const GLdouble * v1, const GLdouble * v2) { - DISPATCH(GetMapfv, (target, query, v), (F, "glGetMapfv(0x%x, 0x%x, %p);", target, query, (void *) v)); + DISPATCH(Rectdv, (v1, v2), (F, "glRectdv(%p, %p);", (void *) v1, (void *) v2)); } -KEYWORD1 void KEYWORD2 NAME(GetMapiv)(GLenum target, GLenum query, GLint *v) +KEYWORD1 void KEYWORD2 NAME(Rectf)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) { - DISPATCH(GetMapiv, (target, query, v), (F, "glGetMapiv(0x%x, 0x%x, %p);", target, query, (void *) v)); + DISPATCH(Rectf, (x1, y1, x2, y2), (F, "glRectf(%f, %f, %f, %f);", x1, y1, x2, y2)); } -KEYWORD1 void KEYWORD2 NAME(GetMaterialfv)(GLenum face, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(Rectfv)(const GLfloat * v1, const GLfloat * v2) { - DISPATCH(GetMaterialfv, (face, pname, params), (F, "glGetMaterialfv(0x%x, 0x%x, %p;", face, pname, (void *) params)); + DISPATCH(Rectfv, (v1, v2), (F, "glRectfv(%p, %p);", (void *) v1, (void *) v2)); } -KEYWORD1 void KEYWORD2 NAME(GetMaterialiv)(GLenum face, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(Recti)(GLint x1, GLint y1, GLint x2, GLint y2) { - DISPATCH(GetMaterialiv, (face, pname, params), (F, "glGetMaterialiv(0x%x, 0x%x, %p);", face, pname, (void *) params)); + DISPATCH(Recti, (x1, y1, x2, y2), (F, "glRecti(%d, %d, %d, %d);", x1, y1, x2, y2)); } -KEYWORD1 void KEYWORD2 NAME(GetPixelMapfv)(GLenum map, GLfloat *values) +KEYWORD1 void KEYWORD2 NAME(Rectiv)(const GLint * v1, const GLint * v2) { - DISPATCH(GetPixelMapfv, (map, values), (F, "glGetPixelMapfv(0x%x, %p);", map, (void *) values)); + DISPATCH(Rectiv, (v1, v2), (F, "glRectiv(%p, %p);", (void *) v1, (void *) v2)); } -KEYWORD1 void KEYWORD2 NAME(GetPixelMapuiv)(GLenum map, GLuint *values) +KEYWORD1 void KEYWORD2 NAME(Rects)(GLshort x1, GLshort y1, GLshort x2, GLshort y2) { - DISPATCH(GetPixelMapuiv, (map, values), (F, "glGetPixelMapuiv(0x%x, %p);", map, (void *) values)); + DISPATCH(Rects, (x1, y1, x2, y2), (F, "glRects(%d, %d, %d, %d);", x1, y1, x2, y2)); } -KEYWORD1 void KEYWORD2 NAME(GetPixelMapusv)(GLenum map, GLushort *values) +KEYWORD1 void KEYWORD2 NAME(Rectsv)(const GLshort * v1, const GLshort * v2) { - DISPATCH(GetPixelMapusv, (map, values), (F, "glGetPixelMapusv(0x%x, %p);", map, (void *) values)); + DISPATCH(Rectsv, (v1, v2), (F, "glRectsv(%p, %p);", (void *) v1, (void *) v2)); } -KEYWORD1 void KEYWORD2 NAME(GetPolygonStipple)(GLubyte *mask) +KEYWORD1 void KEYWORD2 NAME(TexCoord1d)(GLdouble s) { - DISPATCH(GetPolygonStipple, (mask), (F, "glGetPolygonStipple(%p);", mask)); + DISPATCH(TexCoord1d, (s), (F, "glTexCoord1d(%f);", s)); } -KEYWORD1 const GLubyte * KEYWORD2 NAME(GetString)(GLenum name) +KEYWORD1 void KEYWORD2 NAME(TexCoord1dv)(const GLdouble * v) { - RETURN_DISPATCH(GetString, (name), (F, "glGetString(0x%x);", name)); + DISPATCH(TexCoord1dv, (v), (F, "glTexCoord1dv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetTexEnvfv)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord1f)(GLfloat s) { - DISPATCH(GetTexEnvfv, (target, pname, params), (F, "glGettexEnvfv(0x%x, 0x%x, %p);", target, pname, (void *) params)); + DISPATCH(TexCoord1f, (s), (F, "glTexCoord1f(%f);", s)); } -KEYWORD1 void KEYWORD2 NAME(GetTexEnviv)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord1fv)(const GLfloat * v) { - DISPATCH(GetTexEnviv, (target, pname, params), (F, "glGetTexEnviv(0x%x, 0x%x, %p);", target, pname, (void *) params)); + DISPATCH(TexCoord1fv, (v), (F, "glTexCoord1fv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetTexGeniv)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord1i)(GLint s) { - DISPATCH(GetTexGeniv, (target, pname, params), (F, "glGetTexGeniv(0x%x, 0x%x, %p);", target, pname, (void *) params)); + DISPATCH(TexCoord1i, (s), (F, "glTexCoord1i(%d);", s)); } -KEYWORD1 void KEYWORD2 NAME(GetTexGendv)(GLenum target, GLenum pname, GLdouble *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord1iv)(const GLint * v) { - DISPATCH(GetTexGendv, (target, pname, params), (F, "glGetTexGendv(0x%x, 0x%x, %p;", target, pname, (void *) params)); + DISPATCH(TexCoord1iv, (v), (F, "glTexCoord1iv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetTexGenfv)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord1s)(GLshort s) { - DISPATCH(GetTexGenfv, (target, pname, params), (F, "glGetTexGenfv(0x%x, 0x%x, %p);", target, pname, (void *) params)); + DISPATCH(TexCoord1s, (s), (F, "glTexCoord1s(%d);", s)); } -KEYWORD1 void KEYWORD2 NAME(GetTexImage)(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(TexCoord1sv)(const GLshort * v) { - DISPATCH(GetTexImage, (target, level, format, type, pixels), (F, "glGetTexImage(0x%x, %d, 0x%x, 0x%x, %p);", target, level, format, type, pixels)); + DISPATCH(TexCoord1sv, (v), (F, "glTexCoord1sv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetTexLevelParameterfv)(GLenum target, GLint level, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord2d)(GLdouble s, GLdouble t) { - DISPATCH(GetTexLevelParameterfv, (target, level, pname, params), (F, "glGetTexLevelParameterfv(0x%x, %d, 0x%x, %p);", target, level, pname, (void *) params)); + DISPATCH(TexCoord2d, (s, t), (F, "glTexCoord2d(%f, %f);", s, t)); } -KEYWORD1 void KEYWORD2 NAME(GetTexLevelParameteriv)(GLenum target, GLint level, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord2dv)(const GLdouble * v) { - DISPATCH(GetTexLevelParameteriv, (target, level, pname, params), (F, "glGetTexLevelParameteriv(0x%x, %d, 0x%x, %p);", target, level, pname, (void *) params)); + DISPATCH(TexCoord2dv, (v), (F, "glTexCoord2dv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetTexParameterfv)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord2f)(GLfloat s, GLfloat t) { - DISPATCH(GetTexParameterfv, (target, pname, params), (F, "glGetTexParameterfv(0x%x, 0x%x, %p);", target, pname, (void *) params)); + DISPATCH(TexCoord2f, (s, t), (F, "glTexCoord2f(%f, %f);", s, t)); } -KEYWORD1 void KEYWORD2 NAME(GetTexParameteriv)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord2fv)(const GLfloat * v) { - DISPATCH(GetTexParameteriv, (target, pname, params), (F, "glGetTexParameteriv(0x%x, 0x%x, %p);", target, pname, (void *) params)); + DISPATCH(TexCoord2fv, (v), (F, "glTexCoord2fv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Hint)(GLenum target, GLenum mode) +KEYWORD1 void KEYWORD2 NAME(TexCoord2i)(GLint s, GLint t) { - DISPATCH(Hint, (target, mode), (F, "glHint(0x%x, 0x%x);", target, mode)); + DISPATCH(TexCoord2i, (s, t), (F, "glTexCoord2i(%d, %d);", s, t)); } -KEYWORD1 void KEYWORD2 NAME(Indexd)(GLdouble c) +KEYWORD1 void KEYWORD2 NAME(TexCoord2iv)(const GLint * v) { - DISPATCH(Indexd, (c), (F, ";")); + DISPATCH(TexCoord2iv, (v), (F, "glTexCoord2iv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Indexdv)(const GLdouble *c) +KEYWORD1 void KEYWORD2 NAME(TexCoord2s)(GLshort s, GLshort t) { - DISPATCH(Indexdv, (c), (F, ";")); + DISPATCH(TexCoord2s, (s, t), (F, "glTexCoord2s(%d, %d);", s, t)); } -KEYWORD1 void KEYWORD2 NAME(Indexf)(GLfloat c) +KEYWORD1 void KEYWORD2 NAME(TexCoord2sv)(const GLshort * v) { - DISPATCH(Indexf, (c), (F, ";")); + DISPATCH(TexCoord2sv, (v), (F, "glTexCoord2sv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Indexfv)(const GLfloat *c) +KEYWORD1 void KEYWORD2 NAME(TexCoord3d)(GLdouble s, GLdouble t, GLdouble r) { - DISPATCH(Indexfv, (c), (F, ";")); + DISPATCH(TexCoord3d, (s, t, r), (F, "glTexCoord3d(%f, %f, %f);", s, t, r)); } -KEYWORD1 void KEYWORD2 NAME(Indexi)(GLint c) +KEYWORD1 void KEYWORD2 NAME(TexCoord3dv)(const GLdouble * v) { - DISPATCH(Indexi, (c), (F, ";")); + DISPATCH(TexCoord3dv, (v), (F, "glTexCoord3dv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Indexiv)(const GLint *c) +KEYWORD1 void KEYWORD2 NAME(TexCoord3f)(GLfloat s, GLfloat t, GLfloat r) { - DISPATCH(Indexiv, (c), (F, ";")); + DISPATCH(TexCoord3f, (s, t, r), (F, "glTexCoord3f(%f, %f, %f);", s, t, r)); } -KEYWORD1 void KEYWORD2 NAME(Indexs)(GLshort c) +KEYWORD1 void KEYWORD2 NAME(TexCoord3fv)(const GLfloat * v) { - DISPATCH(Indexs, (c), (F, ";")); + DISPATCH(TexCoord3fv, (v), (F, "glTexCoord3fv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Indexsv)(const GLshort *c) +KEYWORD1 void KEYWORD2 NAME(TexCoord3i)(GLint s, GLint t, GLint r) { - DISPATCH(Indexsv, (c), (F, ";")); + DISPATCH(TexCoord3i, (s, t, r), (F, "glTexCoord3i(%d, %d, %d);", s, t, r)); } -KEYWORD1 void KEYWORD2 NAME(Indexub)(GLubyte c) +KEYWORD1 void KEYWORD2 NAME(TexCoord3iv)(const GLint * v) { - DISPATCH(Indexub, (c), (F, ";")); + DISPATCH(TexCoord3iv, (v), (F, "glTexCoord3iv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Indexubv)(const GLubyte *c) +KEYWORD1 void KEYWORD2 NAME(TexCoord3s)(GLshort s, GLshort t, GLshort r) { - DISPATCH(Indexubv, (c), (F, ";")); + DISPATCH(TexCoord3s, (s, t, r), (F, "glTexCoord3s(%d, %d, %d);", s, t, r)); } -KEYWORD1 void KEYWORD2 NAME(IndexMask)(GLuint mask) +KEYWORD1 void KEYWORD2 NAME(TexCoord3sv)(const GLshort * v) { - DISPATCH(IndexMask, (mask), (F, "glIndexMask(%u);", mask)); + DISPATCH(TexCoord3sv, (v), (F, "glTexCoord3sv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(InitNames)(void) +KEYWORD1 void KEYWORD2 NAME(TexCoord4d)(GLdouble s, GLdouble t, GLdouble r, GLdouble q) { - DISPATCH(InitNames, (), (F, "glInitNames();")); + DISPATCH(TexCoord4d, (s, t, r, q), (F, "glTexCoord4d(%f, %f, %f, %f);", s, t, r, q)); } -KEYWORD1 GLboolean KEYWORD2 NAME(IsEnabled)(GLenum cap) +KEYWORD1 void KEYWORD2 NAME(TexCoord4dv)(const GLdouble * v) { - RETURN_DISPATCH(IsEnabled, (cap), (F, "glIsEnabled(0x%x);", cap)); + DISPATCH(TexCoord4dv, (v), (F, "glTexCoord4dv(%p);", (void *) v)); } -KEYWORD1 GLboolean KEYWORD2 NAME(IsList)(GLuint list) +KEYWORD1 void KEYWORD2 NAME(TexCoord4f)(GLfloat s, GLfloat t, GLfloat r, GLfloat q) { - RETURN_DISPATCH(IsList, (list), (F, "glIsList(%u);", list)); + DISPATCH(TexCoord4f, (s, t, r, q), (F, "glTexCoord4f(%f, %f, %f, %f);", s, t, r, q)); } -KEYWORD1 void KEYWORD2 NAME(Lightf)(GLenum light, GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(TexCoord4fv)(const GLfloat * v) { - DISPATCH(Lightf, (light, pname, param), (F, "glLightfv(0x%x, 0x%x, %g);", light, pname, param)); + DISPATCH(TexCoord4fv, (v), (F, "glTexCoord4fv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Lighti)(GLenum light, GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(TexCoord4i)(GLint s, GLint t, GLint r, GLint q) { - DISPATCH(Lighti, (light, pname, param), (F, "glLighti(0x%x, 0x%x, %d);", light, pname, param)); + DISPATCH(TexCoord4i, (s, t, r, q), (F, "glTexCoord4i(%d, %d, %d, %d);", s, t, r, q)); } -KEYWORD1 void KEYWORD2 NAME(Lightfv)(GLenum light, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord4iv)(const GLint * v) { - DISPATCH(Lightfv, (light, pname, params), (F, "glLightfv(0x%x, 0x%x, %p);", light, pname, (void *) params)); + DISPATCH(TexCoord4iv, (v), (F, "glTexCoord4iv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Lightiv)(GLenum light, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(TexCoord4s)(GLshort s, GLshort t, GLshort r, GLshort q) { - DISPATCH(Lightiv, (light, pname, params), (F, "glLightiv(0x%x, 0x%x, %p);", light, pname, (void *) params)); + DISPATCH(TexCoord4s, (s, t, r, q), (F, "glTexCoord4s(%d, %d, %d, %d);", s, t, r, q)); } -KEYWORD1 void KEYWORD2 NAME(LightModelf)(GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(TexCoord4sv)(const GLshort * v) { - DISPATCH(LightModelf, (pname, param), (F, "glLightModelf(0x%x, %f);", pname, param)); + DISPATCH(TexCoord4sv, (v), (F, "glTexCoord4sv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(LightModeli)(GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(Vertex2d)(GLdouble x, GLdouble y) { - DISPATCH(LightModeli, (pname, param), (F, "glLightModeli(0x%x, %d);", pname, param)); + DISPATCH(Vertex2d, (x, y), (F, "glVertex2d(%f, %f);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(LightModelfv)(GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(Vertex2dv)(const GLdouble * v) { - DISPATCH(LightModelfv, (pname, params), (F, "glLightModelfv(0x%x, %p);", pname, (void *) params)); + DISPATCH(Vertex2dv, (v), (F, "glVertex2dv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(LightModeliv)(GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(Vertex2f)(GLfloat x, GLfloat y) { - DISPATCH(LightModeliv, (pname, params), (F, "glLightModeliv(0x%x, %p);", pname, (void *) params)); + DISPATCH(Vertex2f, (x, y), (F, "glVertex2f(%f, %f);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(LineWidth)(GLfloat width) +KEYWORD1 void KEYWORD2 NAME(Vertex2fv)(const GLfloat * v) { - DISPATCH(LineWidth, (width), (F, "glLineWidth(%g);", width)); + DISPATCH(Vertex2fv, (v), (F, "glVertex2fv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(LineStipple)(GLint factor, GLushort pattern) +KEYWORD1 void KEYWORD2 NAME(Vertex2i)(GLint x, GLint y) { - DISPATCH(LineStipple, (factor, pattern), (F, "glLineStipple(%d, 0x%x);", factor, pattern)); + DISPATCH(Vertex2i, (x, y), (F, "glVertex2i(%d, %d);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(ListBase)(GLuint base) +KEYWORD1 void KEYWORD2 NAME(Vertex2iv)(const GLint * v) { - DISPATCH(ListBase, (base), (F, "glListbase(%d);", base)); + DISPATCH(Vertex2iv, (v), (F, "glVertex2iv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(LoadIdentity)(void) +KEYWORD1 void KEYWORD2 NAME(Vertex2s)(GLshort x, GLshort y) { - DISPATCH(LoadIdentity, (), (F, "glLoadIdentity();")); + DISPATCH(Vertex2s, (x, y), (F, "glVertex2s(%d, %d);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(LoadMatrixd)(const GLdouble *m) +KEYWORD1 void KEYWORD2 NAME(Vertex2sv)(const GLshort * v) { - DISPATCH(LoadMatrixd, (m), (F, "glLoadMatirxd(%p);", (void *) m)); + DISPATCH(Vertex2sv, (v), (F, "glVertex2sv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(LoadMatrixf)(const GLfloat *m) +KEYWORD1 void KEYWORD2 NAME(Vertex3d)(GLdouble x, GLdouble y, GLdouble z) { - DISPATCH(LoadMatrixf, (m), (F, "glLoadMatrixf(%p);", (void *) m)); + DISPATCH(Vertex3d, (x, y, z), (F, "glVertex3d(%f, %f, %f);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(LoadName)(GLuint name) +KEYWORD1 void KEYWORD2 NAME(Vertex3dv)(const GLdouble * v) { - DISPATCH(LoadName, (name), (F, "glLoadName(%u);", name)); + DISPATCH(Vertex3dv, (v), (F, "glVertex3dv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(LogicOp)(GLenum opcode) +KEYWORD1 void KEYWORD2 NAME(Vertex3f)(GLfloat x, GLfloat y, GLfloat z) { - DISPATCH(LogicOp, (opcode), (F, "glLogicOp(0x%x);", opcode)); + DISPATCH(Vertex3f, (x, y, z), (F, "glVertex3f(%f, %f, %f);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(Map1d)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) +KEYWORD1 void KEYWORD2 NAME(Vertex3fv)(const GLfloat * v) { - DISPATCH(Map1d, (target, u1, u2, stride, order, points), (F, ";")); + DISPATCH(Vertex3fv, (v), (F, "glVertex3fv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Map1f)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) +KEYWORD1 void KEYWORD2 NAME(Vertex3i)(GLint x, GLint y, GLint z) { - DISPATCH(Map1f, (target, u1, u2, stride, order, points), (F, ";")); + DISPATCH(Vertex3i, (x, y, z), (F, "glVertex3i(%d, %d, %d);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(Map2d)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) +KEYWORD1 void KEYWORD2 NAME(Vertex3iv)(const GLint * v) { - DISPATCH(Map2d, (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points), (F, ";")); + DISPATCH(Vertex3iv, (v), (F, "glVertex3iv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Map2f)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) +KEYWORD1 void KEYWORD2 NAME(Vertex3s)(GLshort x, GLshort y, GLshort z) { - DISPATCH(Map2f, (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points), (F, ";")); + DISPATCH(Vertex3s, (x, y, z), (F, "glVertex3s(%d, %d, %d);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(MapGrid1d)(GLint un, GLdouble u1, GLdouble u2) +KEYWORD1 void KEYWORD2 NAME(Vertex3sv)(const GLshort * v) { - DISPATCH(MapGrid1d, (un, u1, u2), (F, ";")); + DISPATCH(Vertex3sv, (v), (F, "glVertex3sv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MapGrid1f)(GLint un, GLfloat u1, GLfloat u2) +KEYWORD1 void KEYWORD2 NAME(Vertex4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { - DISPATCH(MapGrid1f, (un, u1, u2), (F, ";")); + DISPATCH(Vertex4d, (x, y, z, w), (F, "glVertex4d(%f, %f, %f, %f);", x, y, z, w)); } -KEYWORD1 void KEYWORD2 NAME(MapGrid2d)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) +KEYWORD1 void KEYWORD2 NAME(Vertex4dv)(const GLdouble * v) { - DISPATCH(MapGrid2d, (un, u1, u2, vn, v1, v2), (F, ";")); + DISPATCH(Vertex4dv, (v), (F, "glVertex4dv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MapGrid2f)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) +KEYWORD1 void KEYWORD2 NAME(Vertex4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - DISPATCH(MapGrid2f, (un, u1, u2, vn, v1, v2), (F, ";")); + DISPATCH(Vertex4f, (x, y, z, w), (F, "glVertex4f(%f, %f, %f, %f);", x, y, z, w)); } -KEYWORD1 void KEYWORD2 NAME(Materialf)(GLenum face, GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(Vertex4fv)(const GLfloat * v) { - DISPATCH(Materialf, (face, pname, param), (F, ";")); + DISPATCH(Vertex4fv, (v), (F, "glVertex4fv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Materiali)(GLenum face, GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(Vertex4i)(GLint x, GLint y, GLint z, GLint w) { - DISPATCH(Materiali, (face, pname, param), (F, ";")); + DISPATCH(Vertex4i, (x, y, z, w), (F, "glVertex4i(%d, %d, %d, %d);", x, y, z, w)); } -KEYWORD1 void KEYWORD2 NAME(Materialfv)(GLenum face, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(Vertex4iv)(const GLint * v) { - DISPATCH(Materialfv, (face, pname, params), (F, ";")); + DISPATCH(Vertex4iv, (v), (F, "glVertex4iv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(Materialiv)(GLenum face, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(Vertex4s)(GLshort x, GLshort y, GLshort z, GLshort w) { - DISPATCH(Materialiv, (face, pname, params), (F, ";")); + DISPATCH(Vertex4s, (x, y, z, w), (F, "glVertex4s(%d, %d, %d, %d);", x, y, z, w)); } -KEYWORD1 void KEYWORD2 NAME(MatrixMode)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(Vertex4sv)(const GLshort * v) { - DISPATCH(MatrixMode, (mode), (F, "glMatrixMode(0x%x);", mode)); + DISPATCH(Vertex4sv, (v), (F, "glVertex4sv(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultMatrixd)(const GLdouble *m) +KEYWORD1 void KEYWORD2 NAME(ClipPlane)(GLenum plane, const GLdouble * equation) { - DISPATCH(MultMatrixd, (m), (F, "glMultMatrixd(%p);", (void *) m)); + DISPATCH(ClipPlane, (plane, equation), (F, "glClipPlane(0x%x, %p);", plane, (void *) equation)); } -KEYWORD1 void KEYWORD2 NAME(MultMatrixf)(const GLfloat *m) +KEYWORD1 void KEYWORD2 NAME(ColorMaterial)(GLenum face, GLenum mode) { - DISPATCH(MultMatrixf, (m), (F, "glMultMatrixf(%p);", (void *) m)); + DISPATCH(ColorMaterial, (face, mode), (F, "glColorMaterial(0x%x, 0x%x);", face, mode)); } -KEYWORD1 void KEYWORD2 NAME(NewList)(GLuint list, GLenum mode) +KEYWORD1 void KEYWORD2 NAME(CullFace)(GLenum mode) { - DISPATCH(NewList, (list, mode), (F, ";")); + DISPATCH(CullFace, (mode), (F, "glCullFace(0x%x);", mode)); } -KEYWORD1 void KEYWORD2 NAME(Normal3b)(GLbyte nx, GLbyte ny, GLbyte nz) +KEYWORD1 void KEYWORD2 NAME(Fogf)(GLenum pname, GLfloat param) { - DISPATCH(Normal3b, (nx, ny, nz), (F, "glNormal3b(%d, %d, %d);", nx, ny, nz)); + DISPATCH(Fogf, (pname, param), (F, "glFogf(0x%x, %f);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(Normal3bv)(const GLbyte *v) +KEYWORD1 void KEYWORD2 NAME(Fogfv)(GLenum pname, const GLfloat * params) { - DISPATCH(Normal3bv, (v), (F, "glNormal3bv(%p);", (void *) v)); + DISPATCH(Fogfv, (pname, params), (F, "glFogfv(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(Normal3d)(GLdouble nx, GLdouble ny, GLdouble nz) +KEYWORD1 void KEYWORD2 NAME(Fogi)(GLenum pname, GLint param) { - DISPATCH(Normal3d, (nx, ny, nz), (F, "glNormal3d(%f, %f, %f);", nx, ny, nz)); + DISPATCH(Fogi, (pname, param), (F, "glFogi(0x%x, %d);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(Normal3dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(Fogiv)(GLenum pname, const GLint * params) { - DISPATCH(Normal3dv, (v), (F, "glNormal3dv(%p);", (void *) v)); + DISPATCH(Fogiv, (pname, params), (F, "glFogiv(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(Normal3f)(GLfloat nx, GLfloat ny, GLfloat nz) +KEYWORD1 void KEYWORD2 NAME(FrontFace)(GLenum mode) { - DISPATCH(Normal3f, (nx, ny, nz), (F, "glNormal3f(%g, %g, %g);", nx, ny, nz)); + DISPATCH(FrontFace, (mode), (F, "glFrontFace(0x%x);", mode)); } -KEYWORD1 void KEYWORD2 NAME(Normal3fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(Hint)(GLenum target, GLenum mode) { - DISPATCH(Normal3fv, (v), (F, "glNormal3fv(%p);", (void *) v)); + DISPATCH(Hint, (target, mode), (F, "glHint(0x%x, 0x%x);", target, mode)); } -KEYWORD1 void KEYWORD2 NAME(Normal3i)(GLint nx, GLint ny, GLint nz) +KEYWORD1 void KEYWORD2 NAME(Lightf)(GLenum light, GLenum pname, GLfloat param) { - DISPATCH(Normal3i, (nx, ny, nz), (F, "glNormal3i(%d, %d, %d);", nx, ny, nz)); + DISPATCH(Lightf, (light, pname, param), (F, "glLightf(0x%x, 0x%x, %f);", light, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(Normal3iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(Lightfv)(GLenum light, GLenum pname, const GLfloat * params) { - DISPATCH(Normal3iv, (v), (F, "glNormal3iv(%p);", (void *) v)); + DISPATCH(Lightfv, (light, pname, params), (F, "glLightfv(0x%x, 0x%x, %p);", light, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(Normal3s)(GLshort nx, GLshort ny, GLshort nz) +KEYWORD1 void KEYWORD2 NAME(Lighti)(GLenum light, GLenum pname, GLint param) { - DISPATCH(Normal3s, (nx, ny, nz), (F, "glNormal3s(%d, %d, %d);", nx, ny, nz)); + DISPATCH(Lighti, (light, pname, param), (F, "glLighti(0x%x, 0x%x, %d);", light, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(Normal3sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(Lightiv)(GLenum light, GLenum pname, const GLint * params) { - DISPATCH(Normal3sv, (v), (F, "glNormal3sv(%p);", (void *) v)); + DISPATCH(Lightiv, (light, pname, params), (F, "glLightiv(0x%x, 0x%x, %p);", light, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(Ortho)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) +KEYWORD1 void KEYWORD2 NAME(LightModelf)(GLenum pname, GLfloat param) { - DISPATCH(Ortho, (left, right, bottom, top, nearval, farval), (F, "glOrtho(%f, %f, %f, %f, %f, %f);", left, right, bottom, top, nearval, farval)); + DISPATCH(LightModelf, (pname, param), (F, "glLightModelf(0x%x, %f);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(PassThrough)(GLfloat token) +KEYWORD1 void KEYWORD2 NAME(LightModelfv)(GLenum pname, const GLfloat * params) { - DISPATCH(PassThrough, (token), (F, "glPassThrough(%f);", token)); + DISPATCH(LightModelfv, (pname, params), (F, "glLightModelfv(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(PixelMapfv)(GLenum map, GLint mapsize, const GLfloat *values) +KEYWORD1 void KEYWORD2 NAME(LightModeli)(GLenum pname, GLint param) { - DISPATCH(PixelMapfv, (map, mapsize, values), (F, ";")); + DISPATCH(LightModeli, (pname, param), (F, "glLightModeli(0x%x, %d);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(PixelMapuiv)(GLenum map, GLint mapsize, const GLuint *values) +KEYWORD1 void KEYWORD2 NAME(LightModeliv)(GLenum pname, const GLint * params) { - DISPATCH(PixelMapuiv, (map, mapsize, values), (F, ";")); + DISPATCH(LightModeliv, (pname, params), (F, "glLightModeliv(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(PixelMapusv)(GLenum map, GLint mapsize, const GLushort *values) +KEYWORD1 void KEYWORD2 NAME(LineStipple)(GLint factor, GLushort pattern) { - DISPATCH(PixelMapusv, (map, mapsize, values), (F, ";")); + DISPATCH(LineStipple, (factor, pattern), (F, "glLineStipple(%d, %d);", factor, pattern)); } -KEYWORD1 void KEYWORD2 NAME(PixelStoref)(GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(LineWidth)(GLfloat width) { - DISPATCH(PixelStoref, (pname, param), (F, "glPixelStoref(0x%x, %f);", pname, param)); + DISPATCH(LineWidth, (width), (F, "glLineWidth(%f);", width)); } -KEYWORD1 void KEYWORD2 NAME(PixelStorei)(GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(Materialf)(GLenum face, GLenum pname, GLfloat param) { - DISPATCH(PixelStorei, (pname, param), (F, "glPixelStorei(0x%x, %d);", pname, param)); + DISPATCH(Materialf, (face, pname, param), (F, "glMaterialf(0x%x, 0x%x, %f);", face, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(PixelTransferf)(GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(Materialfv)(GLenum face, GLenum pname, const GLfloat * params) { - DISPATCH(PixelTransferf, (pname, param), (F, "glPixelTransferf(0x%x, %f);", pname, param)); + DISPATCH(Materialfv, (face, pname, params), (F, "glMaterialfv(0x%x, 0x%x, %p);", face, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(PixelTransferi)(GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(Materiali)(GLenum face, GLenum pname, GLint param) { - DISPATCH(PixelTransferi, (pname, param), (F, "glPixelTransferi(0x%x, %d);", pname, param)); + DISPATCH(Materiali, (face, pname, param), (F, "glMateriali(0x%x, 0x%x, %d);", face, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(PixelZoom)(GLfloat xfactor, GLfloat yfactor) +KEYWORD1 void KEYWORD2 NAME(Materialiv)(GLenum face, GLenum pname, const GLint * params) { - DISPATCH(PixelZoom, (xfactor, yfactor), (F, "glPixelZoom(%f, %f);", xfactor, yfactor)); + DISPATCH(Materialiv, (face, pname, params), (F, "glMaterialiv(0x%x, 0x%x, %p);", face, pname, (void *) params)); } KEYWORD1 void KEYWORD2 NAME(PointSize)(GLfloat size) @@ -1002,2647 +922,2700 @@ KEYWORD1 void KEYWORD2 NAME(PolygonMode)(GLenum face, GLenum mode) DISPATCH(PolygonMode, (face, mode), (F, "glPolygonMode(0x%x, 0x%x);", face, mode)); } -KEYWORD1 void KEYWORD2 NAME(PolygonStipple)(const GLubyte *pattern) -{ - DISPATCH(PolygonStipple, (pattern), (F, "glPolygonStipple(%p);", pattern)); -} - -KEYWORD1 void KEYWORD2 NAME(PopAttrib)(void) -{ - DISPATCH(PopAttrib, (), (F, "glPopAttrib();")); -} - -KEYWORD1 void KEYWORD2 NAME(PopMatrix)(void) -{ - DISPATCH(PopMatrix, (), (F, "glPopMatrix();")); -} - -KEYWORD1 void KEYWORD2 NAME(PopName)(void) +KEYWORD1 void KEYWORD2 NAME(PolygonStipple)(const GLubyte * mask) { - DISPATCH(PopName, (), (F, "glPopName();")); + DISPATCH(PolygonStipple, (mask), (F, "glPolygonStipple(%p);", (void *) mask)); } -KEYWORD1 void KEYWORD2 NAME(PushAttrib)(GLbitfield mask) +KEYWORD1 void KEYWORD2 NAME(Scissor)(GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(PushAttrib, (mask), (F, "glPushAttrib(0x%x)", mask)); + DISPATCH(Scissor, (x, y, width, height), (F, "glScissor(%d, %d, %p, %p);", x, y, (void *) width, (void *) height)); } -KEYWORD1 void KEYWORD2 NAME(PushMatrix)(void) +KEYWORD1 void KEYWORD2 NAME(ShadeModel)(GLenum mode) { - DISPATCH(PushMatrix, (), (F, "glPushMatrix();")); + DISPATCH(ShadeModel, (mode), (F, "glShadeModel(0x%x);", mode)); } -KEYWORD1 void KEYWORD2 NAME(PushName)(GLuint name) +KEYWORD1 void KEYWORD2 NAME(TexParameterf)(GLenum target, GLenum pname, GLfloat param) { - DISPATCH(PushName, (name), (F, "glPushName(%u)", name)); + DISPATCH(TexParameterf, (target, pname, param), (F, "glTexParameterf(0x%x, 0x%x, %f);", target, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos2d)(GLdouble x, GLdouble y) +KEYWORD1 void KEYWORD2 NAME(TexParameterfv)(GLenum target, GLenum pname, const GLfloat * params) { - DISPATCH(RasterPos2d, (x, y), (F, "glRasterPos2d(%g, %g);", x, y)); + DISPATCH(TexParameterfv, (target, pname, params), (F, "glTexParameterfv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos2f)(GLfloat x, GLfloat y) +KEYWORD1 void KEYWORD2 NAME(TexParameteri)(GLenum target, GLenum pname, GLint param) { - DISPATCH(RasterPos2f, (x, y), (F, "glRasterPos2f(%g, %g);", x, y)); + DISPATCH(TexParameteri, (target, pname, param), (F, "glTexParameteri(0x%x, 0x%x, %d);", target, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos2i)(GLint x, GLint y) +KEYWORD1 void KEYWORD2 NAME(TexParameteriv)(GLenum target, GLenum pname, const GLint * params) { - DISPATCH(RasterPos2i, (x, y), (F, "glRasterPos2i(%d, %d);", x, y)); + DISPATCH(TexParameteriv, (target, pname, params), (F, "glTexParameteriv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos2s)(GLshort x, GLshort y) +KEYWORD1 void KEYWORD2 NAME(TexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid * pixels) { - DISPATCH(RasterPos2s, (x, y), (F, "glRasterPos2s(%d, %d);", x, y)); + DISPATCH(TexImage1D, (target, level, internalformat, width, border, format, type, pixels), (F, "glTexImage1D(0x%x, %d, %d, %p, %d, 0x%x, 0x%x, %p);", target, level, internalformat, (void *) width, border, format, type, (void *) pixels)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos3d)(GLdouble x, GLdouble y, GLdouble z) +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(RasterPos3d, (x, y, z), (F, "glRasterPos3d(%g, %g, %g);", x, y, z)); + DISPATCH(TexImage2D, (target, level, internalformat, width, height, border, format, type, pixels), (F, "glTexImage2D(0x%x, %d, %d, %p, %p, %d, 0x%x, 0x%x, %p);", target, level, internalformat, (void *) width, (void *) height, border, format, type, (void *) pixels)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos3f)(GLfloat x, GLfloat y, GLfloat z) +KEYWORD1 void KEYWORD2 NAME(TexEnvf)(GLenum target, GLenum pname, GLfloat param) { - DISPATCH(RasterPos3f, (x, y, z), (F, "glRasterPos3f(%g, %g, %g);", x, y, z)); + DISPATCH(TexEnvf, (target, pname, param), (F, "glTexEnvf(0x%x, 0x%x, %f);", target, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos3i)(GLint x, GLint y, GLint z) +KEYWORD1 void KEYWORD2 NAME(TexEnvfv)(GLenum target, GLenum pname, const GLfloat * params) { - DISPATCH(RasterPos3i, (x, y, z), (F, "glRasterPos3i(%d, %d, %d);", x, y, z)); + DISPATCH(TexEnvfv, (target, pname, params), (F, "glTexEnvfv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos3s)(GLshort x, GLshort y, GLshort z) +KEYWORD1 void KEYWORD2 NAME(TexEnvi)(GLenum target, GLenum pname, GLint param) { - DISPATCH(RasterPos3s, (x, y, z), (F, "glRasterPos3s(%d, %d, %d);", x, y, z)); + DISPATCH(TexEnvi, (target, pname, param), (F, "glTexEnvi(0x%x, 0x%x, %d);", target, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) +KEYWORD1 void KEYWORD2 NAME(TexEnviv)(GLenum target, GLenum pname, const GLint * params) { - DISPATCH(RasterPos4d, (x, y, z, w), (F, "glRasterPos4d(%g, %g, %g, %g);", x, y, z, w)); + DISPATCH(TexEnviv, (target, pname, params), (F, "glTexEnviv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) +KEYWORD1 void KEYWORD2 NAME(TexGend)(GLenum coord, GLenum pname, GLdouble param) { - DISPATCH(RasterPos4f, (x, y, z, w), (F, "glRasterPos4f(%g, %g, %g, %g);", x, y, z, w)); + DISPATCH(TexGend, (coord, pname, param), (F, "glTexGend(0x%x, 0x%x, %f);", coord, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos4i)(GLint x, GLint y, GLint z, GLint w) +KEYWORD1 void KEYWORD2 NAME(TexGendv)(GLenum coord, GLenum pname, const GLdouble * params) { - DISPATCH(RasterPos4i, (x, y, z, w), (F, "glRasterPos4i(%d, %d, %d, %d);", x, y, z, w)); + DISPATCH(TexGendv, (coord, pname, params), (F, "glTexGendv(0x%x, 0x%x, %p);", coord, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos4s)(GLshort x, GLshort y, GLshort z, GLshort w) +KEYWORD1 void KEYWORD2 NAME(TexGenf)(GLenum coord, GLenum pname, GLfloat param) { - DISPATCH(RasterPos4s, (x, y, z, w), (F, "glRasterPos4s(%d, %d, %d, %d);", x, y, z, w)); + DISPATCH(TexGenf, (coord, pname, param), (F, "glTexGenf(0x%x, 0x%x, %f);", coord, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos2dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(TexGenfv)(GLenum coord, GLenum pname, const GLfloat * params) { - DISPATCH(RasterPos2dv, (v), (F, ";")); + DISPATCH(TexGenfv, (coord, pname, params), (F, "glTexGenfv(0x%x, 0x%x, %p);", coord, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos2fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(TexGeni)(GLenum coord, GLenum pname, GLint param) { - DISPATCH(RasterPos2fv, (v), (F, ";")); + DISPATCH(TexGeni, (coord, pname, param), (F, "glTexGeni(0x%x, 0x%x, %d);", coord, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos2iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(TexGeniv)(GLenum coord, GLenum pname, const GLint * params) { - DISPATCH(RasterPos2iv, (v), (F, ";")); + DISPATCH(TexGeniv, (coord, pname, params), (F, "glTexGeniv(0x%x, 0x%x, %p);", coord, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos2sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(FeedbackBuffer)(GLsizei size, GLenum type, GLfloat * buffer) { - DISPATCH(RasterPos2sv, (v), (F, ";")); + DISPATCH(FeedbackBuffer, (size, type, buffer), (F, "glFeedbackBuffer(%p, 0x%x, %p);", (void *) size, type, (void *) buffer)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos3dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(SelectBuffer)(GLsizei size, GLuint * buffer) { - DISPATCH(RasterPos3dv, (v), (F, ";")); + DISPATCH(SelectBuffer, (size, buffer), (F, "glSelectBuffer(%p, %p);", (void *) size, (void *) buffer)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos3fv)(const GLfloat *v) +KEYWORD1 GLint KEYWORD2 NAME(RenderMode)(GLenum mode) { - DISPATCH(RasterPos3fv, (v), (F, ";")); + RETURN_DISPATCH(RenderMode, (mode), (F, "glRenderMode(0x%x);", mode)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos3iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(InitNames)(void) { - DISPATCH(RasterPos3iv, (v), (F, ";")); + DISPATCH(InitNames, (), (F, "glInitNames();")); } -KEYWORD1 void KEYWORD2 NAME(RasterPos3sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(LoadName)(GLuint name) { - DISPATCH(RasterPos3sv, (v), (F, ";")); + DISPATCH(LoadName, (name), (F, "glLoadName(%d);", name)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos4dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(PassThrough)(GLfloat token) { - DISPATCH(RasterPos4dv, (v), (F, ";")); + DISPATCH(PassThrough, (token), (F, "glPassThrough(%f);", token)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos4fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(PopName)(void) { - DISPATCH(RasterPos4fv, (v), (F, ";")); + DISPATCH(PopName, (), (F, "glPopName();")); } -KEYWORD1 void KEYWORD2 NAME(RasterPos4iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(PushName)(GLuint name) { - DISPATCH(RasterPos4iv, (v), (F, ";")); + DISPATCH(PushName, (name), (F, "glPushName(%d);", name)); } -KEYWORD1 void KEYWORD2 NAME(RasterPos4sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(DrawBuffer)(GLenum mode) { - DISPATCH(RasterPos4sv, (v), (F, ";")); + DISPATCH(DrawBuffer, (mode), (F, "glDrawBuffer(0x%x);", mode)); } -KEYWORD1 void KEYWORD2 NAME(ReadBuffer)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(Clear)(GLbitfield mask) { - DISPATCH(ReadBuffer, (mode), (F, ";")); + DISPATCH(Clear, (mask), (F, "glClear(%p);", (void *) mask)); } -KEYWORD1 void KEYWORD2 NAME(ReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(ClearAccum)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { - DISPATCH(ReadPixels, (x, y, width, height, format, type, pixels), (F, ";")); + DISPATCH(ClearAccum, (red, green, blue, alpha), (F, "glClearAccum(%f, %f, %f, %f);", red, green, blue, alpha)); } -KEYWORD1 void KEYWORD2 NAME(Rectd)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) +KEYWORD1 void KEYWORD2 NAME(ClearIndex)(GLfloat c) { - DISPATCH(Rectd, (x1, y1, x2, y2), (F, ";")); + DISPATCH(ClearIndex, (c), (F, "glClearIndex(%f);", c)); } -KEYWORD1 void KEYWORD2 NAME(Rectdv)(const GLdouble *v1, const GLdouble *v2) +KEYWORD1 void KEYWORD2 NAME(ClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { - DISPATCH(Rectdv, (v1, v2), (F, ";")); + DISPATCH(ClearColor, (red, green, blue, alpha), (F, "glClearColor(%f, %f, %f, %f);", red, green, blue, alpha)); } -KEYWORD1 void KEYWORD2 NAME(Rectf)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) +KEYWORD1 void KEYWORD2 NAME(ClearStencil)(GLint s) { - DISPATCH(Rectf, (x1, y1, x2, y2), (F, ";")); + DISPATCH(ClearStencil, (s), (F, "glClearStencil(%d);", s)); } -KEYWORD1 void KEYWORD2 NAME(Rectfv)(const GLfloat *v1, const GLfloat *v2) +KEYWORD1 void KEYWORD2 NAME(ClearDepth)(GLclampd depth) { - DISPATCH(Rectfv, (v1, v2), (F, ";")); + DISPATCH(ClearDepth, (depth), (F, "glClearDepth(%f);", depth)); } -KEYWORD1 void KEYWORD2 NAME(Recti)(GLint x1, GLint y1, GLint x2, GLint y2) +KEYWORD1 void KEYWORD2 NAME(StencilMask)(GLuint mask) { - DISPATCH(Recti, (x1, y1, x2, y2), (F, ";")); + DISPATCH(StencilMask, (mask), (F, "glStencilMask(%d);", mask)); } -KEYWORD1 void KEYWORD2 NAME(Rectiv)(const GLint *v1, const GLint *v2) +KEYWORD1 void KEYWORD2 NAME(ColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { - DISPATCH(Rectiv, (v1, v2), (F, ";")); + DISPATCH(ColorMask, (red, green, blue, alpha), (F, "glColorMask(%d, %d, %d, %d);", red, green, blue, alpha)); } -KEYWORD1 void KEYWORD2 NAME(Rects)(GLshort x1, GLshort y1, GLshort x2, GLshort y2) +KEYWORD1 void KEYWORD2 NAME(DepthMask)(GLboolean flag) { - DISPATCH(Rects, (x1, y1, x2, y2), (F, ";")); + DISPATCH(DepthMask, (flag), (F, "glDepthMask(%d);", flag)); } -KEYWORD1 void KEYWORD2 NAME(Rectsv)(const GLshort *v1, const GLshort *v2) +KEYWORD1 void KEYWORD2 NAME(IndexMask)(GLuint mask) { - DISPATCH(Rectsv, (v1, v2), (F, ";")); + DISPATCH(IndexMask, (mask), (F, "glIndexMask(%d);", mask)); } -KEYWORD1 GLint KEYWORD2 NAME(RenderMode)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(Accum)(GLenum op, GLfloat value) { - RETURN_DISPATCH(RenderMode, (mode), (F, "glRenderMode(0x%x);", mode)); + DISPATCH(Accum, (op, value), (F, "glAccum(0x%x, %f);", op, value)); } -KEYWORD1 void KEYWORD2 NAME(Rotated)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) +KEYWORD1 void KEYWORD2 NAME(Disable)(GLenum cap) { - DISPATCH(Rotated, (angle, x, y, z), (F, ";")); + DISPATCH(Disable, (cap), (F, "glDisable(0x%x);", cap)); } -KEYWORD1 void KEYWORD2 NAME(Rotatef)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) +KEYWORD1 void KEYWORD2 NAME(Enable)(GLenum cap) { - DISPATCH(Rotatef, (angle, x, y, z), (F, "glRotatef(%g, %g, %g, %g);", angle, x, y, z)); + DISPATCH(Enable, (cap), (F, "glEnable(0x%x);", cap)); } -KEYWORD1 void KEYWORD2 NAME(SelectBuffer)(GLsizei size, GLuint *buffer) +KEYWORD1 void KEYWORD2 NAME(Finish)(void) { - DISPATCH(SelectBuffer, (size, buffer), (F, ";")); + DISPATCH(Finish, (), (F, "glFinish();")); } -KEYWORD1 void KEYWORD2 NAME(Scaled)(GLdouble x, GLdouble y, GLdouble z) +KEYWORD1 void KEYWORD2 NAME(Flush)(void) { - DISPATCH(Scaled, (x, y, z), (F, ";")); + DISPATCH(Flush, (), (F, "glFlush();")); } -KEYWORD1 void KEYWORD2 NAME(Scalef)(GLfloat x, GLfloat y, GLfloat z) +KEYWORD1 void KEYWORD2 NAME(PopAttrib)(void) { - DISPATCH(Scalef, (x, y, z), (F, "glScalef(%g, %g, %g);", x, y, z)); + DISPATCH(PopAttrib, (), (F, "glPopAttrib();")); } -KEYWORD1 void KEYWORD2 NAME(Scissor)(GLint x, GLint y, GLsizei width, GLsizei height) +KEYWORD1 void KEYWORD2 NAME(PushAttrib)(GLbitfield mask) { - DISPATCH(Scissor, (x, y, width, height), (F, "glScissor(%d, %d, %d, %d);", x, y, width, height)); + DISPATCH(PushAttrib, (mask), (F, "glPushAttrib(%p);", (void *) mask)); } -KEYWORD1 void KEYWORD2 NAME(ShadeModel)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(Map1d)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points) { - DISPATCH(ShadeModel, (mode), (F, "glShadeModel(0x%x);", mode)); + DISPATCH(Map1d, (target, u1, u2, stride, order, points), (F, "glMap1d(0x%x, %f, %f, %d, %d, %p);", target, u1, u2, stride, order, (void *) points)); } -KEYWORD1 void KEYWORD2 NAME(StencilFunc)(GLenum func, GLint ref, GLuint mask) +KEYWORD1 void KEYWORD2 NAME(Map1f)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points) { - DISPATCH(StencilFunc, (func, ref, mask), (F, ";")); + DISPATCH(Map1f, (target, u1, u2, stride, order, points), (F, "glMap1f(0x%x, %f, %f, %d, %d, %p);", target, u1, u2, stride, order, (void *) points)); } -KEYWORD1 void KEYWORD2 NAME(StencilMask)(GLuint mask) +KEYWORD1 void KEYWORD2 NAME(Map2d)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points) { - DISPATCH(StencilMask, (mask), (F, ";")); + DISPATCH(Map2d, (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points), (F, "glMap2d(0x%x, %f, %f, %d, %d, %f, %f, %d, %d, %p);", target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, (void *) points)); } -KEYWORD1 void KEYWORD2 NAME(StencilOp)(GLenum fail, GLenum zfail, GLenum zpass) +KEYWORD1 void KEYWORD2 NAME(Map2f)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points) { - DISPATCH(StencilOp, (fail, zfail, zpass), (F, ";")); + DISPATCH(Map2f, (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points), (F, "glMap2f(0x%x, %f, %f, %d, %d, %f, %f, %d, %d, %p);", target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, (void *) points)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1d)(GLdouble s) +KEYWORD1 void KEYWORD2 NAME(MapGrid1d)(GLint un, GLdouble u1, GLdouble u2) { - DISPATCH(TexCoord1d, (s), (F, ";")); + DISPATCH(MapGrid1d, (un, u1, u2), (F, "glMapGrid1d(%d, %f, %f);", un, u1, u2)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1f)(GLfloat s) +KEYWORD1 void KEYWORD2 NAME(MapGrid1f)(GLint un, GLfloat u1, GLfloat u2) { - DISPATCH(TexCoord1f, (s), (F, ";")); + DISPATCH(MapGrid1f, (un, u1, u2), (F, "glMapGrid1f(%d, %f, %f);", un, u1, u2)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1i)(GLint s) +KEYWORD1 void KEYWORD2 NAME(MapGrid2d)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) { - DISPATCH(TexCoord1i, (s), (F, ";")); + DISPATCH(MapGrid2d, (un, u1, u2, vn, v1, v2), (F, "glMapGrid2d(%d, %f, %f, %d, %f, %f);", un, u1, u2, vn, v1, v2)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1s)(GLshort s) +KEYWORD1 void KEYWORD2 NAME(MapGrid2f)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) { - DISPATCH(TexCoord1s, (s), (F, ";")); + DISPATCH(MapGrid2f, (un, u1, u2, vn, v1, v2), (F, "glMapGrid2f(%d, %f, %f, %d, %f, %f);", un, u1, u2, vn, v1, v2)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2d)(GLdouble s, GLdouble t) +KEYWORD1 void KEYWORD2 NAME(EvalCoord1d)(GLdouble u) { - DISPATCH(TexCoord2d, (s, t), (F, ";")); + DISPATCH(EvalCoord1d, (u), (F, "glEvalCoord1d(%f);", u)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2f)(GLfloat s, GLfloat t) +KEYWORD1 void KEYWORD2 NAME(EvalCoord1dv)(const GLdouble * u) { - DISPATCH(TexCoord2f, (s, t), (F, ";")); + DISPATCH(EvalCoord1dv, (u), (F, "glEvalCoord1dv(%p);", (void *) u)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2s)(GLshort s, GLshort t) +KEYWORD1 void KEYWORD2 NAME(EvalCoord1f)(GLfloat u) { - DISPATCH(TexCoord2s, (s, t), (F, ";")); + DISPATCH(EvalCoord1f, (u), (F, "glEvalCoord1f(%f);", u)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2i)(GLint s, GLint t) +KEYWORD1 void KEYWORD2 NAME(EvalCoord1fv)(const GLfloat * u) { - DISPATCH(TexCoord2i, (s, t), (F, ";")); + DISPATCH(EvalCoord1fv, (u), (F, "glEvalCoord1fv(%p);", (void *) u)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3d)(GLdouble s, GLdouble t, GLdouble r) +KEYWORD1 void KEYWORD2 NAME(EvalCoord2d)(GLdouble u, GLdouble v) { - DISPATCH(TexCoord3d, (s, t, r), (F, ";")); + DISPATCH(EvalCoord2d, (u, v), (F, "glEvalCoord2d(%f, %f);", u, v)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3f)(GLfloat s, GLfloat t, GLfloat r) +KEYWORD1 void KEYWORD2 NAME(EvalCoord2dv)(const GLdouble * u) { - DISPATCH(TexCoord3f, (s, t, r), (F, ";")); + DISPATCH(EvalCoord2dv, (u), (F, "glEvalCoord2dv(%p);", (void *) u)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3i)(GLint s, GLint t, GLint r) +KEYWORD1 void KEYWORD2 NAME(EvalCoord2f)(GLfloat u, GLfloat v) { - DISPATCH(TexCoord3i, (s, t, r), (F, ";")); + DISPATCH(EvalCoord2f, (u, v), (F, "glEvalCoord2f(%f, %f);", u, v)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3s)(GLshort s, GLshort t, GLshort r) +KEYWORD1 void KEYWORD2 NAME(EvalCoord2fv)(const GLfloat * u) { - DISPATCH(TexCoord3s, (s, t, r), (F, ";")); + DISPATCH(EvalCoord2fv, (u), (F, "glEvalCoord2fv(%p);", (void *) u)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4d)(GLdouble s, GLdouble t, GLdouble r, GLdouble q) +KEYWORD1 void KEYWORD2 NAME(EvalMesh1)(GLenum mode, GLint i1, GLint i2) { - DISPATCH(TexCoord4d, (s, t, r, q), (F, ";")); + DISPATCH(EvalMesh1, (mode, i1, i2), (F, "glEvalMesh1(0x%x, %d, %d);", mode, i1, i2)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4f)(GLfloat s, GLfloat t, GLfloat r, GLfloat q) +KEYWORD1 void KEYWORD2 NAME(EvalPoint1)(GLint i) { - DISPATCH(TexCoord4f, (s, t, r, q), (F, ";")); + DISPATCH(EvalPoint1, (i), (F, "glEvalPoint1(%d);", i)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4i)(GLint s, GLint t, GLint r, GLint q) +KEYWORD1 void KEYWORD2 NAME(EvalMesh2)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) { - DISPATCH(TexCoord4i, (s, t, r, q), (F, ";")); + DISPATCH(EvalMesh2, (mode, i1, i2, j1, j2), (F, "glEvalMesh2(0x%x, %d, %d, %d, %d);", mode, i1, i2, j1, j2)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4s)(GLshort s, GLshort t, GLshort r, GLshort q) +KEYWORD1 void KEYWORD2 NAME(EvalPoint2)(GLint i, GLint j) { - DISPATCH(TexCoord4s, (s, t, r, q), (F, ";")); + DISPATCH(EvalPoint2, (i, j), (F, "glEvalPoint2(%d, %d);", i, j)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(AlphaFunc)(GLenum func, GLclampf ref) { - DISPATCH(TexCoord1dv, (v), (F, ";")); + DISPATCH(AlphaFunc, (func, ref), (F, "glAlphaFunc(0x%x, %f);", func, ref)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(BlendFunc)(GLenum sfactor, GLenum dfactor) { - DISPATCH(TexCoord1fv, (v), (F, ";")); + DISPATCH(BlendFunc, (sfactor, dfactor), (F, "glBlendFunc(0x%x, 0x%x);", sfactor, dfactor)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(LogicOp)(GLenum opcode) { - DISPATCH(TexCoord1iv, (v), (F, ";")); + DISPATCH(LogicOp, (opcode), (F, "glLogicOp(0x%x);", opcode)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord1sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(StencilFunc)(GLenum func, GLint ref, GLuint mask) { - DISPATCH(TexCoord1sv, (v), (F, ";")); + DISPATCH(StencilFunc, (func, ref, mask), (F, "glStencilFunc(0x%x, %d, %d);", func, ref, mask)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(StencilOp)(GLenum fail, GLenum zfail, GLenum zpass) { - DISPATCH(TexCoord2dv, (v), (F, ";")); + DISPATCH(StencilOp, (fail, zfail, zpass), (F, "glStencilOp(0x%x, 0x%x, 0x%x);", fail, zfail, zpass)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(DepthFunc)(GLenum func) { - DISPATCH(TexCoord2fv, (v), (F, ";")); + DISPATCH(DepthFunc, (func), (F, "glDepthFunc(0x%x);", func)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(PixelZoom)(GLfloat xfactor, GLfloat yfactor) { - DISPATCH(TexCoord2iv, (v), (F, ";")); + DISPATCH(PixelZoom, (xfactor, yfactor), (F, "glPixelZoom(%f, %f);", xfactor, yfactor)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord2sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(PixelTransferf)(GLenum pname, GLfloat param) { - DISPATCH(TexCoord2sv, (v), (F, ";")); + DISPATCH(PixelTransferf, (pname, param), (F, "glPixelTransferf(0x%x, %f);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(PixelTransferi)(GLenum pname, GLint param) { - DISPATCH(TexCoord3dv, (v), (F, ";")); + DISPATCH(PixelTransferi, (pname, param), (F, "glPixelTransferi(0x%x, %d);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(PixelStoref)(GLenum pname, GLfloat param) { - DISPATCH(TexCoord3fv, (v), (F, ";")); + DISPATCH(PixelStoref, (pname, param), (F, "glPixelStoref(0x%x, %f);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(PixelStorei)(GLenum pname, GLint param) { - DISPATCH(TexCoord3iv, (v), (F, ";")); + DISPATCH(PixelStorei, (pname, param), (F, "glPixelStorei(0x%x, %d);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord3sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(PixelMapfv)(GLenum map, GLint mapsize, const GLfloat * values) { - DISPATCH(TexCoord3sv, (v), (F, ";")); + DISPATCH(PixelMapfv, (map, mapsize, values), (F, "glPixelMapfv(0x%x, %d, %p);", map, mapsize, (void *) values)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(PixelMapuiv)(GLenum map, GLint mapsize, const GLuint * values) { - DISPATCH(TexCoord4dv, (v), (F, ";")); + DISPATCH(PixelMapuiv, (map, mapsize, values), (F, "glPixelMapuiv(0x%x, %d, %p);", map, mapsize, (void *) values)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(PixelMapusv)(GLenum map, GLint mapsize, const GLushort * values) { - DISPATCH(TexCoord4fv, (v), (F, ";")); + DISPATCH(PixelMapusv, (map, mapsize, values), (F, "glPixelMapusv(0x%x, %d, %p);", map, mapsize, (void *) values)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(ReadBuffer)(GLenum mode) { - DISPATCH(TexCoord4iv, (v), (F, ";")); + DISPATCH(ReadBuffer, (mode), (F, "glReadBuffer(0x%x);", mode)); } -KEYWORD1 void KEYWORD2 NAME(TexCoord4sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(CopyPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) { - DISPATCH(TexCoord4sv, (v), (F, ";")); + DISPATCH(CopyPixels, (x, y, width, height, type), (F, "glCopyPixels(%d, %d, %p, %p, 0x%x);", x, y, (void *) width, (void *) height, type)); } -KEYWORD1 void KEYWORD2 NAME(TexGend)(GLenum coord, GLenum pname, GLdouble param) +KEYWORD1 void KEYWORD2 NAME(ReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels) { - DISPATCH(TexGend, (coord, pname, param), (F, ";")); + DISPATCH(ReadPixels, (x, y, width, height, format, type, pixels), (F, "glReadPixels(%d, %d, %p, %p, 0x%x, 0x%x, %p);", x, y, (void *) width, (void *) height, format, type, (void *) pixels)); } -KEYWORD1 void KEYWORD2 NAME(TexGendv)(GLenum coord, GLenum pname, const GLdouble *params) +KEYWORD1 void KEYWORD2 NAME(DrawPixels)(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) { - DISPATCH(TexGendv, (coord, pname, params), (F, ";")); + DISPATCH(DrawPixels, (width, height, format, type, pixels), (F, "glDrawPixels(%p, %p, 0x%x, 0x%x, %p);", (void *) width, (void *) height, format, type, (void *) pixels)); } -KEYWORD1 void KEYWORD2 NAME(TexGenf)(GLenum coord, GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(GetBooleanv)(GLenum pname, GLboolean * params) { - DISPATCH(TexGenf, (coord, pname, param), (F, ";")); + DISPATCH(GetBooleanv, (pname, params), (F, "glGetBooleanv(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(TexGenfv)(GLenum coord, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(GetClipPlane)(GLenum plane, GLdouble * equation) { - DISPATCH(TexGenfv, (coord, pname, params), (F, ";")); + DISPATCH(GetClipPlane, (plane, equation), (F, "glGetClipPlane(0x%x, %p);", plane, (void *) equation)); } -KEYWORD1 void KEYWORD2 NAME(TexGeni)(GLenum coord, GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(GetDoublev)(GLenum pname, GLdouble * params) { - DISPATCH(TexGeni, (coord, pname, param), (F, ";")); + DISPATCH(GetDoublev, (pname, params), (F, "glGetDoublev(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(TexGeniv)(GLenum coord, GLenum pname, const GLint *params) +KEYWORD1 GLenum KEYWORD2 NAME(GetError)(void) { - DISPATCH(TexGeniv, (coord, pname, params), (F, ";")); + RETURN_DISPATCH(GetError, (), (F, "glGetError();")); } -KEYWORD1 void KEYWORD2 NAME(TexEnvf)(GLenum target, GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(GetFloatv)(GLenum pname, GLfloat * params) { - DISPATCH(TexEnvf, (target, pname, param), (F, ";")); + DISPATCH(GetFloatv, (pname, params), (F, "glGetFloatv(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(TexEnvfv)(GLenum target, GLenum pname, const GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(GetIntegerv)(GLenum pname, GLint * params) { - DISPATCH(TexEnvfv, (target, pname, param), (F, ";")); + DISPATCH(GetIntegerv, (pname, params), (F, "glGetIntegerv(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(TexEnvi)(GLenum target, GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(GetLightfv)(GLenum light, GLenum pname, GLfloat * params) { - DISPATCH(TexEnvi, (target, pname, param), (F, ";")); + DISPATCH(GetLightfv, (light, pname, params), (F, "glGetLightfv(0x%x, 0x%x, %p);", light, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(TexEnviv)(GLenum target, GLenum pname, const GLint *param) +KEYWORD1 void KEYWORD2 NAME(GetLightiv)(GLenum light, GLenum pname, GLint * params) { - DISPATCH(TexEnviv, (target, pname, param), (F, ";")); + DISPATCH(GetLightiv, (light, pname, params), (F, "glGetLightiv(0x%x, 0x%x, %p);", light, pname, (void *) params)); } -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(GetMapdv)(GLenum target, GLenum query, GLdouble * v) { - DISPATCH(TexImage1D, (target, level, internalformat, width, border, format, type, pixels), (F, ";")); + DISPATCH(GetMapdv, (target, query, v), (F, "glGetMapdv(0x%x, 0x%x, %p);", target, query, (void *) v)); } -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(GetMapfv)(GLenum target, GLenum query, GLfloat * v) { - DISPATCH(TexImage2D, (target, level, internalformat, width, height, border, format, type, pixels), (F, ";")); + DISPATCH(GetMapfv, (target, query, v), (F, "glGetMapfv(0x%x, 0x%x, %p);", target, query, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(TexParameterf)(GLenum target, GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(GetMapiv)(GLenum target, GLenum query, GLint * v) { - DISPATCH(TexParameterf, (target, pname, param), (F, ";")); + DISPATCH(GetMapiv, (target, query, v), (F, "glGetMapiv(0x%x, 0x%x, %p);", target, query, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(TexParameterfv)(GLenum target, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(GetMaterialfv)(GLenum face, GLenum pname, GLfloat * params) { - DISPATCH(TexParameterfv, (target, pname, params), (F, ";")); + DISPATCH(GetMaterialfv, (face, pname, params), (F, "glGetMaterialfv(0x%x, 0x%x, %p);", face, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(TexParameteri)(GLenum target, GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(GetMaterialiv)(GLenum face, GLenum pname, GLint * params) { - DISPATCH(TexParameteri, (target, pname, param), (F, ";")); + DISPATCH(GetMaterialiv, (face, pname, params), (F, "glGetMaterialiv(0x%x, 0x%x, %p);", face, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(TexParameteriv)(GLenum target, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(GetPixelMapfv)(GLenum map, GLfloat * values) { - DISPATCH(TexParameteriv, (target, pname, params), (F, ";")); + DISPATCH(GetPixelMapfv, (map, values), (F, "glGetPixelMapfv(0x%x, %p);", map, (void *) values)); } -KEYWORD1 void KEYWORD2 NAME(Translated)(GLdouble x, GLdouble y, GLdouble z) +KEYWORD1 void KEYWORD2 NAME(GetPixelMapuiv)(GLenum map, GLuint * values) { - DISPATCH(Translated, (x, y, z), (F, "glTranslated(%g, %g, %g);", x, y, z)); + DISPATCH(GetPixelMapuiv, (map, values), (F, "glGetPixelMapuiv(0x%x, %p);", map, (void *) values)); } -KEYWORD1 void KEYWORD2 NAME(Translatef)(GLfloat x, GLfloat y, GLfloat z) +KEYWORD1 void KEYWORD2 NAME(GetPixelMapusv)(GLenum map, GLushort * values) { - DISPATCH(Translatef, (x, y, z), (F, "glTranslatef(%g, %g, %g);", x, y, z)); + DISPATCH(GetPixelMapusv, (map, values), (F, "glGetPixelMapusv(0x%x, %p);", map, (void *) values)); } -KEYWORD1 void KEYWORD2 NAME(Vertex2d)(GLdouble x, GLdouble y) +KEYWORD1 void KEYWORD2 NAME(GetPolygonStipple)(GLubyte * mask) { - DISPATCH(Vertex2d, (x, y), (F, "glVertex2d(%f, %f);", x, y)); + DISPATCH(GetPolygonStipple, (mask), (F, "glGetPolygonStipple(%p);", (void *) mask)); } -KEYWORD1 void KEYWORD2 NAME(Vertex2dv)(const GLdouble *v) +KEYWORD1 const GLubyte * KEYWORD2 NAME(GetString)(GLenum name) { - DISPATCH(Vertex2dv, (v), (F, "glVertex2dv(%p);", (void *) v)); + RETURN_DISPATCH(GetString, (name), (F, "glGetString(0x%x);", name)); } -KEYWORD1 void KEYWORD2 NAME(Vertex2f)(GLfloat x, GLfloat y) +KEYWORD1 void KEYWORD2 NAME(GetTexEnvfv)(GLenum target, GLenum pname, GLfloat * params) { - DISPATCH(Vertex2f, (x, y), (F, "glVertex2f(%g, %g);", x, y)); + DISPATCH(GetTexEnvfv, (target, pname, params), (F, "glGetTexEnvfv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(Vertex2fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(GetTexEnviv)(GLenum target, GLenum pname, GLint * params) { - DISPATCH(Vertex2fv, (v), (F, "glVertex2fv(%p);", (void *) v)); + DISPATCH(GetTexEnviv, (target, pname, params), (F, "glGetTexEnviv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(Vertex2i)(GLint x, GLint y) +KEYWORD1 void KEYWORD2 NAME(GetTexGendv)(GLenum coord, GLenum pname, GLdouble * params) { - DISPATCH(Vertex2i, (x, y), (F, "glVertex2i(%d, %d);", x, y)); + DISPATCH(GetTexGendv, (coord, pname, params), (F, "glGetTexGendv(0x%x, 0x%x, %p);", coord, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(Vertex2iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(GetTexGenfv)(GLenum coord, GLenum pname, GLfloat * params) { - DISPATCH(Vertex2iv, (v), (F, "glVertex2iv(%p);", (void *) v)); + DISPATCH(GetTexGenfv, (coord, pname, params), (F, "glGetTexGenfv(0x%x, 0x%x, %p);", coord, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(Vertex2s)(GLshort x, GLshort y) +KEYWORD1 void KEYWORD2 NAME(GetTexGeniv)(GLenum coord, GLenum pname, GLint * params) { - DISPATCH(Vertex2s, (x, y), (F, "glVertex2s(%d, %d);", x, y)); + DISPATCH(GetTexGeniv, (coord, pname, params), (F, "glGetTexGeniv(0x%x, 0x%x, %p);", coord, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(Vertex2sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(GetTexImage)(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * pixels) { - DISPATCH(Vertex2sv, (v), (F, "glVertex2sv(%p);", (void *) v)); + DISPATCH(GetTexImage, (target, level, format, type, pixels), (F, "glGetTexImage(0x%x, %d, 0x%x, 0x%x, %p);", target, level, format, type, (void *) pixels)); } -KEYWORD1 void KEYWORD2 NAME(Vertex3d)(GLdouble x, GLdouble y, GLdouble z) +KEYWORD1 void KEYWORD2 NAME(GetTexParameterfv)(GLenum target, GLenum pname, GLfloat * params) { - DISPATCH(Vertex3d, (x, y, z), (F, "glVertex3d(%f, %f, %f);", x, y, z)); + DISPATCH(GetTexParameterfv, (target, pname, params), (F, "glGetTexParameterfv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(Vertex3dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(GetTexParameteriv)(GLenum target, GLenum pname, GLint * params) { - DISPATCH(Vertex3dv, (v), (F, "glVertex3dv(%p);", (void *) v)); + DISPATCH(GetTexParameteriv, (target, pname, params), (F, "glGetTexParameteriv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(Vertex3f)(GLfloat x, GLfloat y, GLfloat z) +KEYWORD1 void KEYWORD2 NAME(GetTexLevelParameterfv)(GLenum target, GLint level, GLenum pname, GLfloat * params) { - DISPATCH(Vertex3f, (x, y, z), (F, "glVertex3f(%g, %g, %g);", x, y, z)); + DISPATCH(GetTexLevelParameterfv, (target, level, pname, params), (F, "glGetTexLevelParameterfv(0x%x, %d, 0x%x, %p);", target, level, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(Vertex3fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(GetTexLevelParameteriv)(GLenum target, GLint level, GLenum pname, GLint * params) { - DISPATCH(Vertex3fv, (v), (F, "glVertex3fv(%p);", (void *) v)); + DISPATCH(GetTexLevelParameteriv, (target, level, pname, params), (F, "glGetTexLevelParameteriv(0x%x, %d, 0x%x, %p);", target, level, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(Vertex3i)(GLint x, GLint y, GLint z) +KEYWORD1 GLboolean KEYWORD2 NAME(IsEnabled)(GLenum cap) { - DISPATCH(Vertex3i, (x, y, z), (F, "glVertex3i(%d, %d, %d);", x, y, z)); + RETURN_DISPATCH(IsEnabled, (cap), (F, "glIsEnabled(0x%x);", cap)); } -KEYWORD1 void KEYWORD2 NAME(Vertex3iv)(const GLint *v) +KEYWORD1 GLboolean KEYWORD2 NAME(IsList)(GLuint list) { - DISPATCH(Vertex3iv, (v), (F, "glVertex3iv(%p);", (void *) v)); + RETURN_DISPATCH(IsList, (list), (F, "glIsList(%d);", list)); } -KEYWORD1 void KEYWORD2 NAME(Vertex3s)(GLshort x, GLshort y, GLshort z) +KEYWORD1 void KEYWORD2 NAME(DepthRange)(GLclampd near, GLclampd far) { - DISPATCH(Vertex3s, (x, y, z), (F, "glVertex3s(%d, %d, %d);", x, y, z)); + DISPATCH(DepthRange, (near, far), (F, "glDepthRange(%f, %f);", near, far)); } -KEYWORD1 void KEYWORD2 NAME(Vertex3sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(Frustum)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { - DISPATCH(Vertex3sv, (v), (F, "glVertex3sv(%p);", (void *) v)); + DISPATCH(Frustum, (left, right, bottom, top, zNear, zFar), (F, "glFrustum(%f, %f, %f, %f, %f, %f);", left, right, bottom, top, zNear, zFar)); } -KEYWORD1 void KEYWORD2 NAME(Vertex4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) +KEYWORD1 void KEYWORD2 NAME(LoadIdentity)(void) { - DISPATCH(Vertex4d, (x, y, z, w), (F, "glVertex4d(%f, %f, %f, %f);", x, y, z, w)); + DISPATCH(LoadIdentity, (), (F, "glLoadIdentity();")); } -KEYWORD1 void KEYWORD2 NAME(Vertex4dv)(const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(LoadMatrixf)(const GLfloat * m) { - DISPATCH(Vertex4dv, (v), (F, "glVertex4dv(%p);", (void *) v)); + DISPATCH(LoadMatrixf, (m), (F, "glLoadMatrixf(%p);", (void *) m)); } -KEYWORD1 void KEYWORD2 NAME(Vertex4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) +KEYWORD1 void KEYWORD2 NAME(LoadMatrixd)(const GLdouble * m) { - DISPATCH(Vertex4f, (x, y, z, w), (F, "glVertex4f(%f, %f, %f, %f);", x, y, z, w)); + DISPATCH(LoadMatrixd, (m), (F, "glLoadMatrixd(%p);", (void *) m)); } -KEYWORD1 void KEYWORD2 NAME(Vertex4fv)(const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(MatrixMode)(GLenum mode) { - DISPATCH(Vertex4fv, (v), (F, "glVertex4fv(%p);", (void *) v)); + DISPATCH(MatrixMode, (mode), (F, "glMatrixMode(0x%x);", mode)); } -KEYWORD1 void KEYWORD2 NAME(Vertex4i)(GLint x, GLint y, GLint z, GLint w) +KEYWORD1 void KEYWORD2 NAME(MultMatrixf)(const GLfloat * m) { - DISPATCH(Vertex4i, (x, y, z, w), (F, "glVertex4i(%d, %d, %d, %d);", x, y, z, w)); + DISPATCH(MultMatrixf, (m), (F, "glMultMatrixf(%p);", (void *) m)); } -KEYWORD1 void KEYWORD2 NAME(Vertex4iv)(const GLint *v) +KEYWORD1 void KEYWORD2 NAME(MultMatrixd)(const GLdouble * m) { - DISPATCH(Vertex4iv, (v), (F, "glVertex4iv(%p);", (void *) v)); + DISPATCH(MultMatrixd, (m), (F, "glMultMatrixd(%p);", (void *) m)); } -KEYWORD1 void KEYWORD2 NAME(Vertex4s)(GLshort x, GLshort y, GLshort z, GLshort w) +KEYWORD1 void KEYWORD2 NAME(Ortho)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { - DISPATCH(Vertex4s, (x, y, z, w), (F, "glVertex4s(%d, %d, %d, %d);", x, y, z, w)); + DISPATCH(Ortho, (left, right, bottom, top, zNear, zFar), (F, "glOrtho(%f, %f, %f, %f, %f, %f);", left, right, bottom, top, zNear, zFar)); } -KEYWORD1 void KEYWORD2 NAME(Vertex4sv)(const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(PopMatrix)(void) { - DISPATCH(Vertex4sv, (v), (F, "glVertex4sv(%p);", (void *) v)); + DISPATCH(PopMatrix, (), (F, "glPopMatrix();")); } - -KEYWORD1 void KEYWORD2 NAME(Viewport)(GLint x, GLint y, GLsizei width, GLsizei height) +KEYWORD1 void KEYWORD2 NAME(PushMatrix)(void) { - DISPATCH(Viewport, (x, y, width, height), (F, "glViewport(%d, %d, %d, %d);", x, y, width, height)); + DISPATCH(PushMatrix, (), (F, "glPushMatrix();")); } - - -/* GL 1.1 */ - -KEYWORD1 GLboolean KEYWORD2 NAME(AreTexturesResident)(GLsizei n, const GLuint *textures, GLboolean *residences) +KEYWORD1 void KEYWORD2 NAME(Rotated)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) { - RETURN_DISPATCH(AreTexturesResident, (n, textures, residences), (F, "glAreTexturesResident(%d, %p, %p);", n, (void *) textures, (void *) residences)); + DISPATCH(Rotated, (angle, x, y, z), (F, "glRotated(%f, %f, %f, %f);", angle, x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(ArrayElement)(GLint i) +KEYWORD1 void KEYWORD2 NAME(Rotatef)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { - DISPATCH(ArrayElement, (i), (F, ";")); + DISPATCH(Rotatef, (angle, x, y, z), (F, "glRotatef(%f, %f, %f, %f);", angle, x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(BindTexture)(GLenum target, GLuint texture) +KEYWORD1 void KEYWORD2 NAME(Scaled)(GLdouble x, GLdouble y, GLdouble z) { - DISPATCH(BindTexture, (target, texture), (F, ";")); + DISPATCH(Scaled, (x, y, z), (F, "glScaled(%f, %f, %f);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(ColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(Scalef)(GLfloat x, GLfloat y, GLfloat z) { - DISPATCH(ColorPointer, (size, type, stride, ptr), (F, ";")); + DISPATCH(Scalef, (x, y, z), (F, "glScalef(%f, %f, %f);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(CopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) +KEYWORD1 void KEYWORD2 NAME(Translated)(GLdouble x, GLdouble y, GLdouble z) { - DISPATCH(CopyTexImage1D, (target, level, internalformat, x, y, width, border), (F, ";")); + DISPATCH(Translated, (x, y, z), (F, "glTranslated(%f, %f, %f);", x, y, z)); } -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(Translatef)(GLfloat x, GLfloat y, GLfloat z) { - DISPATCH(CopyTexImage2D, (target, level, internalformat, x, y, width, height, border), (F, ";")); + DISPATCH(Translatef, (x, y, z), (F, "glTranslatef(%f, %f, %f);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) +KEYWORD1 void KEYWORD2 NAME(Viewport)(GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(CopyTexSubImage1D, (target, level, xoffset, x, y, width), (F, ";")); + DISPATCH(Viewport, (x, y, width, height), (F, "glViewport(%d, %d, %p, %p);", x, y, (void *) width, (void *) height)); } -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(ArrayElement)(GLint i) { - DISPATCH(CopyTexSubImage2D, (target, level, xoffset, yoffset, x, y, width, height), (F, ";")); + DISPATCH(ArrayElement, (i), (F, "glArrayElement(%d);", i)); } -KEYWORD1 void KEYWORD2 NAME(DeleteTextures)(GLsizei n, const GLuint *textures) +KEYWORD1 void KEYWORD2 NAME(ColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { - DISPATCH(DeleteTextures, (n, textures), (F, "glDeleteTextures(%d, %p);", n, (void *) textures)); + DISPATCH(ColorPointer, (size, type, stride, pointer), (F, "glColorPointer(%d, 0x%x, %p, %p);", size, type, (void *) stride, (void *) pointer)); } -KEYWORD1 void KEYWORD2 NAME(DisableClientState)(GLenum cap) +KEYWORD1 void KEYWORD2 NAME(DisableClientState)(GLenum array) { - DISPATCH(DisableClientState, (cap), (F, "glDisableClientState(0x%x);", cap)); + DISPATCH(DisableClientState, (array), (F, "glDisableClientState(0x%x);", array)); } KEYWORD1 void KEYWORD2 NAME(DrawArrays)(GLenum mode, GLint first, GLsizei count) { - DISPATCH(DrawArrays, (mode, first, count), (F, "glDrawArrays(0x%x, %d, %d);", mode, first, count)); + DISPATCH(DrawArrays, (mode, first, count), (F, "glDrawArrays(0x%x, %d, %p);", mode, first, (void *) count)); } -KEYWORD1 void KEYWORD2 NAME(EdgeFlagPointer)(GLsizei stride, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(DrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) { - DISPATCH(EdgeFlagPointer, (stride, ptr), (F, "glEdgeFlagPointer(%d, %p);", stride, (void *) ptr)); + DISPATCH(DrawElements, (mode, count, type, indices), (F, "glDrawElements(0x%x, %p, 0x%x, %p);", mode, (void *) count, type, (void *) indices)); } -KEYWORD1 void KEYWORD2 NAME(EnableClientState)(GLenum cap) +KEYWORD1 void KEYWORD2 NAME(EdgeFlagPointer)(GLsizei stride, const GLvoid * pointer) { - DISPATCH(EnableClientState, (cap), (F, "glEnableClientState(0x%x)", cap)); + DISPATCH(EdgeFlagPointer, (stride, pointer), (F, "glEdgeFlagPointer(%p, %p);", (void *) stride, (void *) pointer)); } -KEYWORD1 void KEYWORD2 NAME(GenTextures)(GLsizei n, GLuint *textures) +KEYWORD1 void KEYWORD2 NAME(EnableClientState)(GLenum array) { - DISPATCH(GenTextures, (n, textures), (F, "glGenTextures(%d, %p);", n, (void *) textures)); + DISPATCH(EnableClientState, (array), (F, "glEnableClientState(0x%x);", array)); } -KEYWORD1 void KEYWORD2 NAME(GetPointerv)(GLenum pname, GLvoid **params) +KEYWORD1 void KEYWORD2 NAME(GetPointerv)(GLenum pname, GLvoid ** params) { DISPATCH(GetPointerv, (pname, params), (F, "glGetPointerv(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(IndexPointer)(GLenum type, GLsizei stride, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(IndexPointer)(GLenum type, GLsizei stride, const GLvoid * pointer) { - DISPATCH(IndexPointer, (type, stride, ptr), (F, "glIndexPointer(0x%x, %d, %p);", type, stride, ptr)); + DISPATCH(IndexPointer, (type, stride, pointer), (F, "glIndexPointer(0x%x, %p, %p);", type, (void *) stride, (void *) pointer)); } -KEYWORD1 void KEYWORD2 NAME(InterleavedArrays)(GLenum format, GLsizei stride, const GLvoid *pointer) +KEYWORD1 void KEYWORD2 NAME(InterleavedArrays)(GLenum format, GLsizei stride, const GLvoid * pointer) { - DISPATCH(InterleavedArrays, (format, stride, pointer), (F, "glInterleavedArrays(0x%x, %d, %p);", format, stride, pointer)); + DISPATCH(InterleavedArrays, (format, stride, pointer), (F, "glInterleavedArrays(0x%x, %p, %p);", format, (void *) stride, (void *) pointer)); } -KEYWORD1 GLboolean KEYWORD2 NAME(IsTexture)(GLuint texture) +KEYWORD1 void KEYWORD2 NAME(NormalPointer)(GLenum type, GLsizei stride, const GLvoid * pointer) { - RETURN_DISPATCH(IsTexture, (texture), (F, "glIsTexture(%u);", texture)); + DISPATCH(NormalPointer, (type, stride, pointer), (F, "glNormalPointer(0x%x, %p, %p);", type, (void *) stride, (void *) pointer)); } -KEYWORD1 void KEYWORD2 NAME(NormalPointer)(GLenum type, GLsizei stride, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(TexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { - DISPATCH(NormalPointer, (type, stride, ptr), (F, "glNormalPointer(0x%x, %d, %p);", type, stride, (void *) ptr)); + DISPATCH(TexCoordPointer, (size, type, stride, pointer), (F, "glTexCoordPointer(%d, 0x%x, %p, %p);", size, type, (void *) stride, (void *) pointer)); } -KEYWORD1 void KEYWORD2 NAME(PolygonOffset)(GLfloat factor, GLfloat units) -{ - DISPATCH(PolygonOffset, (factor, units), (F, "glPolygonOffset(%g, %g);", factor, units)); -} - -KEYWORD1 void KEYWORD2 NAME(PopClientAttrib)(void) +KEYWORD1 void KEYWORD2 NAME(VertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { - DISPATCH(PopClientAttrib, (), (F, "glPopClientAttrib();")); + DISPATCH(VertexPointer, (size, type, stride, pointer), (F, "glVertexPointer(%d, 0x%x, %p, %p);", size, type, (void *) stride, (void *) pointer)); } -KEYWORD1 void KEYWORD2 NAME(PrioritizeTextures)(GLsizei n, const GLuint *textures, const GLclampf *priorities) +KEYWORD1 void KEYWORD2 NAME(PolygonOffset)(GLfloat factor, GLfloat units) { - DISPATCH(PrioritizeTextures, (n, textures, priorities), (F, "glPrioritizeTextures(%d, %p, %p);", n, (void *) textures, (void *) priorities)); + DISPATCH(PolygonOffset, (factor, units), (F, "glPolygonOffset(%f, %f);", factor, units)); } -KEYWORD1 void KEYWORD2 NAME(PushClientAttrib)(GLbitfield mask) +KEYWORD1 void KEYWORD2 NAME(CopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) { - DISPATCH(PushClientAttrib, (mask), (F, "glPushClientAttrib(0x%x)", mask)); + DISPATCH(CopyTexImage1D, (target, level, internalformat, x, y, width, border), (F, "glCopyTexImage1D(0x%x, %d, 0x%x, %d, %d, %p, %d);", target, level, internalformat, x, y, (void *) width, border)); } -KEYWORD1 void KEYWORD2 NAME(TexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(CopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { - DISPATCH(TexCoordPointer, (size, type, stride, ptr), (F, ";")); + DISPATCH(CopyTexImage2D, (target, level, internalformat, x, y, width, height, border), (F, "glCopyTexImage2D(0x%x, %d, 0x%x, %d, %d, %p, %p, %d);", target, level, internalformat, x, y, (void *) width, (void *) height, border)); } -KEYWORD1 void KEYWORD2 NAME(TexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { - DISPATCH(TexSubImage1D, (target, level, xoffset, width, format, type, pixels), (F, ";")); + DISPATCH(CopyTexSubImage1D, (target, level, xoffset, x, y, width), (F, "glCopyTexSubImage1D(0x%x, %d, %d, %d, %d, %p);", target, level, xoffset, x, y, (void *) width)); } -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(CopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(TexSubImage2D, (target, level, xoffset, yoffset, width, height, format, type, pixels), (F, ";")); + DISPATCH(CopyTexSubImage2D, (target, level, xoffset, yoffset, x, y, width, height), (F, "glCopyTexSubImage2D(0x%x, %d, %d, %d, %d, %d, %p, %p);", target, level, xoffset, yoffset, x, y, (void *) width, (void *) height)); } -KEYWORD1 void KEYWORD2 NAME(VertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(TexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels) { - DISPATCH(VertexPointer, (size, type, stride, ptr), (F, ";")); + DISPATCH(TexSubImage1D, (target, level, xoffset, width, format, type, pixels), (F, "glTexSubImage1D(0x%x, %d, %d, %p, 0x%x, 0x%x, %p);", target, level, xoffset, (void *) width, format, type, (void *) pixels)); } - -/* 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(TexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) { - DISPATCH(CopyTexSubImage3D, (target, level, xoffset, yoffset, zoffset, x, y, width, height), (F, ";")); + DISPATCH(TexSubImage2D, (target, level, xoffset, yoffset, width, height, format, type, pixels), (F, "glTexSubImage2D(0x%x, %d, %d, %d, %p, %p, 0x%x, 0x%x, %p);", target, level, xoffset, yoffset, (void *) width, (void *) height, format, type, (void *) pixels)); } -KEYWORD1 void KEYWORD2 NAME(DrawRangeElements)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) +KEYWORD1 GLboolean KEYWORD2 NAME(AreTexturesResident)(GLsizei n, const GLuint * textures, GLboolean * residences) { - DISPATCH(DrawRangeElements, (mode, start, end, count, type, indices), (F, ";")); + RETURN_DISPATCH(AreTexturesResident, (n, textures, residences), (F, "glAreTexturesResident(%p, %p, %p);", (void *) n, (void *) textures, (void *) residences)); } -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(BindTexture)(GLenum target, GLuint texture) { - DISPATCH(TexImage3D, (target, level, internalformat, width, height, depth, border, format, type, pixels), (F, ";")); + DISPATCH(BindTexture, (target, texture), (F, "glBindTexture(0x%x, %d);", target, texture)); } -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(DeleteTextures)(GLsizei n, const GLuint * textures) { - DISPATCH(TexSubImage3D, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels), (F, ";")); + DISPATCH(DeleteTextures, (n, textures), (F, "glDeleteTextures(%p, %p);", (void *) n, (void *) textures)); } -/* GL_ARB_imaging */ - -KEYWORD1 void KEYWORD2 NAME(BlendColor)(GLclampf r, GLclampf g, GLclampf b, GLclampf a) +KEYWORD1 void KEYWORD2 NAME(GenTextures)(GLsizei n, GLuint * textures) { - DISPATCH(BlendColor, (r, g, b, a), (F, ";")); + DISPATCH(GenTextures, (n, textures), (F, "glGenTextures(%p, %p);", (void *) n, (void *) textures)); } -KEYWORD1 void KEYWORD2 NAME(BlendEquation)(GLenum mode) +KEYWORD1 GLboolean KEYWORD2 NAME(IsTexture)(GLuint texture) { - DISPATCH(BlendEquation, (mode), (F, ";")); + RETURN_DISPATCH(IsTexture, (texture), (F, "glIsTexture(%d);", texture)); } -KEYWORD1 void KEYWORD2 NAME(ColorSubTable)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(PrioritizeTextures)(GLsizei n, const GLuint * textures, const GLclampf * priorities) { - DISPATCH(ColorSubTable, (target, start, count, format, type, data), (F, ";")); + DISPATCH(PrioritizeTextures, (n, textures, priorities), (F, "glPrioritizeTextures(%p, %p, %p);", (void *) n, (void *) textures, (void *) priorities)); } -KEYWORD1 void KEYWORD2 NAME(ColorTable)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) +KEYWORD1 void KEYWORD2 NAME(Indexub)(GLubyte c) { - DISPATCH(ColorTable, (target, internalformat, width, format, type, table), (F, ";")); + DISPATCH(Indexub, (c), (F, "glIndexub(%d);", c)); } -KEYWORD1 void KEYWORD2 NAME(ColorTableParameterfv)(GLenum target, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(Indexubv)(const GLubyte * c) { - DISPATCH(ColorTableParameterfv, (target, pname, params), (F, ";")); + DISPATCH(Indexubv, (c), (F, "glIndexubv(%p);", (void *) c)); } -KEYWORD1 void KEYWORD2 NAME(ColorTableParameteriv)(GLenum target, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(PopClientAttrib)(void) { - DISPATCH(ColorTableParameteriv, (target, pname, params), (F, ";")); + DISPATCH(PopClientAttrib, (), (F, "glPopClientAttrib();")); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter1D)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) +KEYWORD1 void KEYWORD2 NAME(PushClientAttrib)(GLbitfield mask) { - DISPATCH(ConvolutionFilter1D, (target, internalformat, width, format, type, image), (F, ";")); + DISPATCH(PushClientAttrib, (mask), (F, "glPushClientAttrib(%p);", (void *) mask)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) +KEYWORD1 void KEYWORD2 NAME(BlendColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { - DISPATCH(ConvolutionFilter2D, (target, internalformat, width, height, format, type, image), (F, ";")); + DISPATCH(BlendColor, (red, green, blue, alpha), (F, "glBlendColor(%f, %f, %f, %f);", red, green, blue, alpha)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterf)(GLenum target, GLenum pname, GLfloat params) +KEYWORD1 void KEYWORD2 NAME(BlendEquation)(GLenum mode) { - DISPATCH(ConvolutionParameterf, (target, pname, params), (F, ";")); + DISPATCH(BlendEquation, (mode), (F, "glBlendEquation(0x%x);", mode)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterfv)(GLenum target, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(DrawRangeElements)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices) { - DISPATCH(ConvolutionParameterfv, (target, pname, params), (F, ";")); + DISPATCH(DrawRangeElements, (mode, start, end, count, type, indices), (F, "glDrawRangeElements(0x%x, %d, %d, %p, 0x%x, %p);", mode, start, end, (void *) count, type, (void *) indices)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameteri)(GLenum target, GLenum pname, GLint params) +KEYWORD1 void KEYWORD2 NAME(ColorTable)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * table) { - DISPATCH(ConvolutionParameteri, (target, pname, params), (F, ";")); + DISPATCH(ColorTable, (target, internalformat, width, format, type, table), (F, "glColorTable(0x%x, 0x%x, %p, 0x%x, 0x%x, %p);", target, internalformat, (void *) width, format, type, (void *) table)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameteriv)(GLenum target, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(ColorTableParameterfv)(GLenum target, GLenum pname, const GLfloat * params) { - DISPATCH(ConvolutionParameteriv, (target, pname, params), (F, ";")); + DISPATCH(ColorTableParameterfv, (target, pname, params), (F, "glColorTableParameterfv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(CopyColorSubTable)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) +KEYWORD1 void KEYWORD2 NAME(ColorTableParameteriv)(GLenum target, GLenum pname, const GLint * params) { - DISPATCH(CopyColorSubTable, (target, start, x, y, width), (F, ";")); + DISPATCH(ColorTableParameteriv, (target, pname, params), (F, "glColorTableParameteriv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } KEYWORD1 void KEYWORD2 NAME(CopyColorTable)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { - DISPATCH(CopyColorTable, (target, internalformat, x, y, width), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter1D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) -{ - DISPATCH(CopyConvolutionFilter1D, (target, internalformat, x, y, width), (F, ";")); + DISPATCH(CopyColorTable, (target, internalformat, x, y, width), (F, "glCopyColorTable(0x%x, 0x%x, %d, %d, %p);", target, internalformat, x, y, (void *) width)); } -KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter2D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) +KEYWORD1 void KEYWORD2 NAME(GetColorTable)(GLenum target, GLenum format, GLenum type, GLvoid * table) { - DISPATCH(CopyConvolutionFilter2D, (target, internalformat, x, y, width, height), (F, ";")); + DISPATCH(GetColorTable, (target, format, type, table), (F, "glGetColorTable(0x%x, 0x%x, 0x%x, %p);", target, format, type, (void *) table)); } -KEYWORD1 void KEYWORD2 NAME(GetColorTable)(GLenum target, GLenum format, GLenum type, GLvoid *table) +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterfv)(GLenum target, GLenum pname, GLfloat * params) { - DISPATCH(GetColorTable, (target, format, type, table), (F, ";")); + DISPATCH(GetColorTableParameterfv, (target, pname, params), (F, "glGetColorTableParameterfv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterfv)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameteriv)(GLenum target, GLenum pname, GLint * params) { - DISPATCH(GetColorTableParameterfv, (target, pname, params), (F, ";")); + DISPATCH(GetColorTableParameteriv, (target, pname, params), (F, "glGetColorTableParameteriv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableParameteriv)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(ColorSubTable)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data) { - DISPATCH(GetColorTableParameteriv, (target, pname, params), (F, ";")); + DISPATCH(ColorSubTable, (target, start, count, format, type, data), (F, "glColorSubTable(0x%x, %p, %p, 0x%x, 0x%x, %p);", target, (void *) start, (void *) count, format, type, (void *) data)); } -KEYWORD1 void KEYWORD2 NAME(GetConvolutionFilter)(GLenum target, GLenum format, GLenum type, GLvoid *image) +KEYWORD1 void KEYWORD2 NAME(CopyColorSubTable)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) { - DISPATCH(GetConvolutionFilter, (target, format, type, image), (F, ";")); + DISPATCH(CopyColorSubTable, (target, start, x, y, width), (F, "glCopyColorSubTable(0x%x, %p, %d, %d, %p);", target, (void *) start, x, y, (void *) width)); } -KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameterfv)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter1D)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image) { - DISPATCH(GetConvolutionParameterfv, (target, pname, params), (F, ";")); + DISPATCH(ConvolutionFilter1D, (target, internalformat, width, format, type, image), (F, "glConvolutionFilter1D(0x%x, 0x%x, %p, 0x%x, 0x%x, %p);", target, internalformat, (void *) width, format, type, (void *) image)); } -KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameteriv)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image) { - DISPATCH(GetConvolutionParameteriv, (target, pname, params), (F, ";")); + DISPATCH(ConvolutionFilter2D, (target, internalformat, width, height, format, type, image), (F, "glConvolutionFilter2D(0x%x, 0x%x, %p, %p, 0x%x, 0x%x, %p);", target, internalformat, (void *) width, (void *) height, format, type, (void *) image)); } -KEYWORD1 void KEYWORD2 NAME(GetHistogram)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterf)(GLenum target, GLenum pname, GLfloat params) { - DISPATCH(GetHistogram, (target, reset, format, type, values), (F, ";")); + DISPATCH(ConvolutionParameterf, (target, pname, params), (F, "glConvolutionParameterf(0x%x, 0x%x, %f);", target, pname, params)); } -KEYWORD1 void KEYWORD2 NAME(GetHistogramParameterfv)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterfv)(GLenum target, GLenum pname, const GLfloat * params) { - DISPATCH(GetHistogramParameterfv, (target, pname, params), (F, ";")); + DISPATCH(ConvolutionParameterfv, (target, pname, params), (F, "glConvolutionParameterfv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(GetHistogramParameteriv)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameteri)(GLenum target, GLenum pname, GLint params) { - DISPATCH(GetHistogramParameteriv, (target, pname, params), (F, ";")); + DISPATCH(ConvolutionParameteri, (target, pname, params), (F, "glConvolutionParameteri(0x%x, 0x%x, %d);", target, pname, params)); } -KEYWORD1 void KEYWORD2 NAME(GetMinmax)(GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameteriv)(GLenum target, GLenum pname, const GLint * params) { - DISPATCH(GetMinmax, (target, reset, format, types, values), (F, ";")); + DISPATCH(ConvolutionParameteriv, (target, pname, params), (F, "glConvolutionParameteriv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameterfv)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter1D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { - DISPATCH(GetMinmaxParameterfv, (target, pname, params), (F, ";")); + DISPATCH(CopyConvolutionFilter1D, (target, internalformat, x, y, width), (F, "glCopyConvolutionFilter1D(0x%x, 0x%x, %d, %d, %p);", target, internalformat, x, y, (void *) width)); } -KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameteriv)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter2D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(GetMinmaxParameteriv, (target, pname, params), (F, ";")); + DISPATCH(CopyConvolutionFilter2D, (target, internalformat, x, y, width, height), (F, "glCopyConvolutionFilter2D(0x%x, 0x%x, %d, %d, %p, %p);", target, internalformat, x, y, (void *) width, (void *) height)); } -KEYWORD1 void KEYWORD2 NAME(GetSeparableFilter)(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) +KEYWORD1 void KEYWORD2 NAME(GetConvolutionFilter)(GLenum target, GLenum format, GLenum type, GLvoid * image) { - DISPATCH(GetSeparableFilter, (target, format, type, row, column, span), (F, ";")); + DISPATCH(GetConvolutionFilter, (target, format, type, image), (F, "glGetConvolutionFilter(0x%x, 0x%x, 0x%x, %p);", target, format, type, (void *) image)); } -KEYWORD1 void KEYWORD2 NAME(Histogram)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) +KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameterfv)(GLenum target, GLenum pname, GLfloat * params) { - DISPATCH(Histogram, (target, width, internalformat, sink), (F, ";")); + DISPATCH(GetConvolutionParameterfv, (target, pname, params), (F, "glGetConvolutionParameterfv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(Minmax)(GLenum target, GLenum internalformat, GLboolean sink) +KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameteriv)(GLenum target, GLenum pname, GLint * params) { - DISPATCH(Minmax, (target, internalformat, sink), (F, ";")); + DISPATCH(GetConvolutionParameteriv, (target, pname, params), (F, "glGetConvolutionParameteriv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(ResetMinmax)(GLenum target) +KEYWORD1 void KEYWORD2 NAME(GetSeparableFilter)(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span) { - DISPATCH(ResetMinmax, (target), (F, ";")); + DISPATCH(GetSeparableFilter, (target, format, type, row, column, span), (F, "glGetSeparableFilter(0x%x, 0x%x, 0x%x, %p, %p, %p);", target, format, type, (void *) row, (void *) column, (void *) span)); } -KEYWORD1 void KEYWORD2 NAME(ResetHistogram)(GLenum target) +KEYWORD1 void KEYWORD2 NAME(SeparableFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * row, const GLvoid * column) { - DISPATCH(ResetHistogram, (target), (F, ";")); + DISPATCH(SeparableFilter2D, (target, internalformat, width, height, format, type, row, column), (F, "glSeparableFilter2D(0x%x, 0x%x, %p, %p, 0x%x, 0x%x, %p, %p);", target, internalformat, (void *) width, (void *) height, format, type, (void *) row, (void *) column)); } -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(GetHistogram)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values) { - DISPATCH(SeparableFilter2D, (target, internalformat, width, height, format, type, row, column), (F, ";")); + DISPATCH(GetHistogram, (target, reset, format, type, values), (F, "glGetHistogram(0x%x, %d, 0x%x, 0x%x, %p);", target, reset, format, type, (void *) values)); } -/*** - *** Extension functions - ***/ - -/* 2. GL_EXT_blend_color */ -KEYWORD1 void KEYWORD2 NAME(BlendColorEXT)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) -{ - DISPATCH(BlendColor, (red, green, blue, alpha), (F, ";")); -} - -/* 3. GL_EXT_polygon_offset */ -KEYWORD1 void KEYWORD2 NAME(PolygonOffsetEXT)(GLfloat factor, GLfloat bias) +KEYWORD1 void KEYWORD2 NAME(GetHistogramParameterfv)(GLenum target, GLenum pname, GLfloat * params) { - DISPATCH(PolygonOffsetEXT, (factor, bias), (F, ";")); + DISPATCH(GetHistogramParameterfv, (target, pname, params), (F, "glGetHistogramParameterfv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -/* 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(GetHistogramParameteriv)(GLenum target, GLenum pname, GLint * params) { - DISPATCH(CopyTexSubImage3D, (target, level, xoffset, yoffset, zoffset, x, y, width, height), (F, ";")); + DISPATCH(GetHistogramParameteriv, (target, pname, params), (F, "glGetHistogramParameteriv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -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(GetMinmax)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values) { - DISPATCH(TexImage3D, (target, level, internalFormat, width, height, depth, border, format, type, pixels), (F, ";")); + DISPATCH(GetMinmax, (target, reset, format, type, values), (F, "glGetMinmax(0x%x, %d, 0x%x, 0x%x, %p);", target, reset, format, type, (void *) values)); } -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(GetMinmaxParameterfv)(GLenum target, GLenum pname, GLfloat * params) { - DISPATCH(TexSubImage3D, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels), (F, ";")); + DISPATCH(GetMinmaxParameterfv, (target, pname, params), (F, "glGetMinmaxParameterfv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -/* 7. GL_SGI_texture_filter4 */ - -KEYWORD1 void KEYWORD2 NAME(GetTexFilterFuncSGIS)(GLenum target, GLenum filter, GLfloat *weights) +KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameteriv)(GLenum target, GLenum pname, GLint * params) { - DISPATCH(GetTexFilterFuncSGIS, (target, filter, weights), (F, ";")); + DISPATCH(GetMinmaxParameteriv, (target, pname, params), (F, "glGetMinmaxParameteriv(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(TexFilterFuncSGIS)(GLenum target, GLenum filter, GLsizei n, const GLfloat *weights) -{ - DISPATCH(TexFilterFuncSGIS, (target, filter, n, weights), (F, ";")); -} - -/* 9. GL_EXT_subtexture */ - -KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage1DEXT)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) -{ - DISPATCH(CopyTexSubImage1D, (target, level, xoffset, x, y, width), (F, ";")); -} - -KEYWORD1 void KEYWORD2 NAME(TexSubImage1DEXT)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) +KEYWORD1 void KEYWORD2 NAME(Histogram)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) { - DISPATCH(TexSubImage1D, (target, level, xoffset, width, format, type, pixels), (F, ";")); + DISPATCH(Histogram, (target, width, internalformat, sink), (F, "glHistogram(0x%x, %p, 0x%x, %d);", target, (void *) width, internalformat, sink)); } -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(Minmax)(GLenum target, GLenum internalformat, GLboolean sink) { - DISPATCH(TexSubImage2D, (target, level, xoffset, yoffset, width, height, format, type, pixels), (F, ";")); + DISPATCH(Minmax, (target, internalformat, sink), (F, "glMinmax(0x%x, 0x%x, %d);", target, internalformat, sink)); } -/* 10. GL_EXT_copy_texture */ - -KEYWORD1 void KEYWORD2 NAME(CopyTexImage1DEXT)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) +KEYWORD1 void KEYWORD2 NAME(ResetHistogram)(GLenum target) { - DISPATCH(CopyTexImage1D, (target, level, internalformat, x, y, width, border), (F, ";")); + DISPATCH(ResetHistogram, (target), (F, "glResetHistogram(0x%x);", target)); } -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(ResetMinmax)(GLenum target) { - DISPATCH(CopyTexImage2D, (target, level, internalformat, x, y, width, height, border), (F, ";")); + DISPATCH(ResetMinmax, (target), (F, "glResetMinmax(0x%x);", target)); } -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(TexImage3D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels) { - DISPATCH(CopyTexSubImage2D, (target, level, xoffset, yoffset, x, y, width, height), (F, ";")); + DISPATCH(TexImage3D, (target, level, internalformat, width, height, depth, border, format, type, pixels), (F, "glTexImage3D(0x%x, %d, %d, %p, %p, %p, %d, 0x%x, 0x%x, %p);", target, level, internalformat, (void *) width, (void *) height, (void *) depth, border, format, type, (void *) pixels)); } -/* 11. GL_EXT_histogram */ -KEYWORD1 void KEYWORD2 NAME(GetHistogramEXT)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) +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(GetHistogramEXT, (target, reset, format, type, values), (F, ";")); + DISPATCH(TexSubImage3D, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels), (F, "glTexSubImage3D(0x%x, %d, %d, %d, %d, %p, %p, %p, 0x%x, 0x%x, %p);", target, level, xoffset, yoffset, zoffset, (void *) width, (void *) height, (void *) depth, format, type, (void *) pixels)); } -KEYWORD1 void KEYWORD2 NAME(GetHistogramParameterfvEXT)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(GetHistogramParameterfvEXT, (target, pname, params), (F, ";")); + DISPATCH(CopyTexSubImage3D, (target, level, xoffset, yoffset, zoffset, x, y, width, height), (F, "glCopyTexSubImage3D(0x%x, %d, %d, %d, %d, %d, %d, %p, %p);", target, level, xoffset, yoffset, zoffset, x, y, (void *) width, (void *) height)); } -KEYWORD1 void KEYWORD2 NAME(GetHistogramParameterivEXT)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(ActiveTexture)(GLenum texture) { - DISPATCH(GetHistogramParameterivEXT, (target, pname, params), (F, ";")); + DISPATCH(ActiveTexture, (texture), (F, "glActiveTexture(0x%x);", texture)); } -KEYWORD1 void KEYWORD2 NAME(GetMinmaxEXT)(GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values) +KEYWORD1 void KEYWORD2 NAME(ClientActiveTexture)(GLenum texture) { - DISPATCH(GetMinmaxEXT, (target, reset, format, types, values), (F, ";")); + DISPATCH(ClientActiveTexture, (texture), (F, "glClientActiveTexture(0x%x);", texture)); } -KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameterfvEXT)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1d)(GLenum target, GLdouble s) { - DISPATCH(GetMinmaxParameterfvEXT, (target, pname, params), (F, ";")); + DISPATCH(MultiTexCoord1d, (target, s), (F, "glMultiTexCoord1d(0x%x, %f);", target, s)); } -KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameterivEXT)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dv)(GLenum target, const GLdouble * v) { - DISPATCH(GetMinmaxParameterivEXT, (target, pname, params), (F, ";")); + DISPATCH(MultiTexCoord1dv, (target, v), (F, "glMultiTexCoord1dv(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(HistogramEXT)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1f)(GLenum target, GLfloat s) { - DISPATCH(Histogram, (target, width, internalformat, sink), (F, ";")); + DISPATCH(MultiTexCoord1f, (target, s), (F, "glMultiTexCoord1f(0x%x, %f);", target, s)); } -KEYWORD1 void KEYWORD2 NAME(MinmaxEXT)(GLenum target, GLenum internalformat, GLboolean sink) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fv)(GLenum target, const GLfloat * v) { - DISPATCH(Minmax, (target, internalformat, sink), (F, ";")); + DISPATCH(MultiTexCoord1fv, (target, v), (F, "glMultiTexCoord1fv(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(ResetHistogramEXT)(GLenum target) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1i)(GLenum target, GLint s) { - DISPATCH(ResetHistogram, (target), (F, ";")); + DISPATCH(MultiTexCoord1i, (target, s), (F, "glMultiTexCoord1i(0x%x, %d);", target, s)); } -KEYWORD1 void KEYWORD2 NAME(ResetMinmaxEXT)(GLenum target) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1iv)(GLenum target, const GLint * v) { - DISPATCH(ResetMinmax, (target), (F, ";")); + DISPATCH(MultiTexCoord1iv, (target, v), (F, "glMultiTexCoord1iv(0x%x, %p);", target, (void *) v)); } -/* 12. GL_EXT_convolution */ - -KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter1DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1s)(GLenum target, GLshort s) { - DISPATCH(ConvolutionFilter1D, (target, internalformat, width, format, type, image), (F, ";")); + DISPATCH(MultiTexCoord1s, (target, s), (F, "glMultiTexCoord1s(0x%x, %d);", target, s)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter2DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1sv)(GLenum target, const GLshort * v) { - DISPATCH(ConvolutionFilter2D, (target, internalformat, width, height, format, type, image), (F, ";")); + DISPATCH(MultiTexCoord1sv, (target, v), (F, "glMultiTexCoord1sv(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterfEXT)(GLenum target, GLenum pname, GLfloat params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2d)(GLenum target, GLdouble s, GLdouble t) { - DISPATCH(ConvolutionParameterf, (target, pname, params), (F, ";")); + DISPATCH(MultiTexCoord2d, (target, s, t), (F, "glMultiTexCoord2d(0x%x, %f, %f);", target, s, t)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterfvEXT)(GLenum target, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dv)(GLenum target, const GLdouble * v) { - DISPATCH(ConvolutionParameterfv, (target, pname, params), (F, ";")); + DISPATCH(MultiTexCoord2dv, (target, v), (F, "glMultiTexCoord2dv(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameteriEXT)(GLenum target, GLenum pname, GLint params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2f)(GLenum target, GLfloat s, GLfloat t) { - DISPATCH(ConvolutionParameteri, (target, pname, params), (F, ";")); + DISPATCH(MultiTexCoord2f, (target, s, t), (F, "glMultiTexCoord2f(0x%x, %f, %f);", target, s, t)); } -KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterivEXT)(GLenum target, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fv)(GLenum target, const GLfloat * v) { - DISPATCH(ConvolutionParameteriv, (target, pname, params), (F, ";")); + DISPATCH(MultiTexCoord2fv, (target, v), (F, "glMultiTexCoord2fv(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter1DEXT)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2i)(GLenum target, GLint s, GLint t) { - DISPATCH(CopyConvolutionFilter1D, (target, internalformat, x, y, width), (F, ";")); + DISPATCH(MultiTexCoord2i, (target, s, t), (F, "glMultiTexCoord2i(0x%x, %d, %d);", target, s, t)); } -KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter2DEXT)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2iv)(GLenum target, const GLint * v) { - DISPATCH(CopyConvolutionFilter2D, (target, internalformat, x, y, width, height), (F, ";")); + DISPATCH(MultiTexCoord2iv, (target, v), (F, "glMultiTexCoord2iv(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetConvolutionFilterEXT)(GLenum target, GLenum format, GLenum type, GLvoid *image) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2s)(GLenum target, GLshort s, GLshort t) { - DISPATCH(GetConvolutionFilterEXT, (target, format, type, image), (F, ";")); + DISPATCH(MultiTexCoord2s, (target, s, t), (F, "glMultiTexCoord2s(0x%x, %d, %d);", target, s, t)); } -KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameterfvEXT)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2sv)(GLenum target, const GLshort * v) { - DISPATCH(GetConvolutionParameterfvEXT, (target, pname, params), (F, ";")); + DISPATCH(MultiTexCoord2sv, (target, v), (F, "glMultiTexCoord2sv(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameterivEXT)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3d)(GLenum target, GLdouble s, GLdouble t, GLdouble r) { - DISPATCH(GetConvolutionParameterivEXT, (target, pname, params), (F, ";")); + DISPATCH(MultiTexCoord3d, (target, s, t, r), (F, "glMultiTexCoord3d(0x%x, %f, %f, %f);", target, s, t, r)); } -KEYWORD1 void KEYWORD2 NAME(GetSeparableFilterEXT)(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3dv)(GLenum target, const GLdouble * v) { - DISPATCH(GetSeparableFilterEXT, (target, format, type, row, column, span), (F, ";")); + DISPATCH(MultiTexCoord3dv, (target, v), (F, "glMultiTexCoord3dv(0x%x, %p);", target, (void *) v)); } -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(MultiTexCoord3f)(GLenum target, GLfloat s, GLfloat t, GLfloat r) { - DISPATCH(SeparableFilter2D, (target, internalformat, width, height, format, type, row, column), (F, ";")); + DISPATCH(MultiTexCoord3f, (target, s, t, r), (F, "glMultiTexCoord3f(0x%x, %f, %f, %f);", target, s, t, r)); } -/* 14. GL_SGI_color_table */ - -KEYWORD1 void KEYWORD2 NAME(ColorTableParameterfvSGI)(GLenum target, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3fv)(GLenum target, const GLfloat * v) { - DISPATCH(ColorTableParameterfv, (target, pname, params), (F, ";")); + DISPATCH(MultiTexCoord3fv, (target, v), (F, "glMultiTexCoord3fv(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(ColorTableParameterivSGI)(GLenum target, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3i)(GLenum target, GLint s, GLint t, GLint r) { - DISPATCH(ColorTableParameteriv, (target, pname, params), (F, ";")); + DISPATCH(MultiTexCoord3i, (target, s, t, r), (F, "glMultiTexCoord3i(0x%x, %d, %d, %d);", target, s, t, r)); } -KEYWORD1 void KEYWORD2 NAME(ColorTableSGI)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3iv)(GLenum target, const GLint * v) { - DISPATCH(ColorTable, (target, internalformat, width, format, type, table), (F, ";")); + DISPATCH(MultiTexCoord3iv, (target, v), (F, "glMultiTexCoord3iv(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(CopyColorTableSGI)(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3s)(GLenum target, GLshort s, GLshort t, GLshort r) { - DISPATCH(CopyColorTable, (target, internalFormat, x, y, width), (F, ";")); + DISPATCH(MultiTexCoord3s, (target, s, t, r), (F, "glMultiTexCoord3s(0x%x, %d, %d, %d);", target, s, t, r)); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableSGI)(GLenum target, GLenum format, GLenum type, GLvoid *table) -{ - DISPATCH(GetColorTableSGI, (target, format, type, table), (F, ";")); -} -KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterfvSGI)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3sv)(GLenum target, const GLshort * v) { - DISPATCH(GetColorTableParameterfvSGI, (target, pname, params), (F, ";")); + DISPATCH(MultiTexCoord3sv, (target, v), (F, "glMultiTexCoord3sv(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterivSGI)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4d)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { - DISPATCH(GetColorTableParameterivSGI, (target, pname, params), (F, ";")); + DISPATCH(MultiTexCoord4d, (target, s, t, r, q), (F, "glMultiTexCoord4d(0x%x, %f, %f, %f, %f);", target, s, t, r, q)); } -/* ??. GL_SGIX_pixel_texture */ - -KEYWORD1 void KEYWORD2 NAME(PixelTexGenSGIX)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dv)(GLenum target, const GLdouble * v) { - DISPATCH(PixelTexGenSGIX, (mode), (F, ";")); + DISPATCH(MultiTexCoord4dv, (target, v), (F, "glMultiTexCoord4dv(0x%x, %p);", target, (void *) v)); } -/* 15. GL_SGIS_pixel_texture */ - -KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameterfSGIS)(GLenum target, GLfloat value) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4f)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { - DISPATCH(PixelTexGenParameterfSGIS, (target, value), (F, ";")); + DISPATCH(MultiTexCoord4f, (target, s, t, r, q), (F, "glMultiTexCoord4f(0x%x, %f, %f, %f, %f);", target, s, t, r, q)); } -KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameterfvSGIS)(GLenum target, const GLfloat *value) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fv)(GLenum target, const GLfloat * v) { - DISPATCH(PixelTexGenParameterfvSGIS, (target, value), (F, ";")); + DISPATCH(MultiTexCoord4fv, (target, v), (F, "glMultiTexCoord4fv(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameteriSGIS)(GLenum target, GLint value) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4i)(GLenum target, GLint s, GLint t, GLint r, GLint q) { - DISPATCH(PixelTexGenParameteriSGIS, (target, value), (F, ";")); + DISPATCH(MultiTexCoord4i, (target, s, t, r, q), (F, "glMultiTexCoord4i(0x%x, %d, %d, %d, %d);", target, s, t, r, q)); } -KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameterivSGIS)(GLenum target, const GLint *value) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4iv)(GLenum target, const GLint * v) { - DISPATCH(PixelTexGenParameterivSGIS, (target, value), (F, ";")); + DISPATCH(MultiTexCoord4iv, (target, v), (F, "glMultiTexCoord4iv(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetPixelTexGenParameterfvSGIS)(GLenum target, GLfloat *value) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4s)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) { - DISPATCH(GetPixelTexGenParameterfvSGIS, (target, value), (F, ";")); + DISPATCH(MultiTexCoord4s, (target, s, t, r, q), (F, "glMultiTexCoord4s(0x%x, %d, %d, %d, %d);", target, s, t, r, q)); } -KEYWORD1 void KEYWORD2 NAME(GetPixelTexGenParameterivSGIS)(GLenum target, GLint *value) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4sv)(GLenum target, const GLshort * v) { - DISPATCH(GetPixelTexGenParameterivSGIS, (target, value), (F, ";")); + DISPATCH(MultiTexCoord4sv, (target, v), (F, "glMultiTexCoord4sv(0x%x, %p);", target, (void *) v)); } -/* 16. GL_SGIS_texture4D */ - -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) +KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixf)(const GLfloat * m) { - DISPATCH(TexImage4DSGIS, (target, level, internalFormat, width, height, depth, extent, border, format, type, pixels), (F, ";")); + DISPATCH(LoadTransposeMatrixf, (m), (F, "glLoadTransposeMatrixf(%p);", (void *) m)); } -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) +KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixd)(const GLdouble * m) { - DISPATCH(TexSubImage4DSGIS, (target, level, xoffset, yoffset, zoffset, woffset, width, height, depth, extent, format, type, pixels), (F, ";")); + DISPATCH(LoadTransposeMatrixd, (m), (F, "glLoadTransposeMatrixd(%p);", (void *) m)); } -/* 20. GL_EXT_texture_object */ - -KEYWORD1 void KEYWORD2 NAME(GenTexturesEXT)(GLsizei n, GLuint *textures) +KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixf)(const GLfloat * m) { - DISPATCH(GenTextures, (n, textures), (F, ";")); + DISPATCH(MultTransposeMatrixf, (m), (F, "glMultTransposeMatrixf(%p);", (void *) m)); } -KEYWORD1 void KEYWORD2 NAME(DeleteTexturesEXT)(GLsizei n, const GLuint *texture) +KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixd)(const GLdouble * m) { - DISPATCH(DeleteTextures, (n, texture), (F, ";")); + DISPATCH(MultTransposeMatrixd, (m), (F, "glMultTransposeMatrixd(%p);", (void *) m)); } -KEYWORD1 void KEYWORD2 NAME(BindTextureEXT)(GLenum target, GLuint texture) +KEYWORD1 void KEYWORD2 NAME(SampleCoverage)(GLclampf value, GLboolean invert) { - DISPATCH(BindTexture, (target, texture), (F, ";")); + DISPATCH(SampleCoverage, (value, invert), (F, "glSampleCoverage(%f, %d);", value, invert)); } -KEYWORD1 void KEYWORD2 NAME(PrioritizeTexturesEXT)(GLsizei n, const GLuint *textures, const GLclampf *priorities) +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(PrioritizeTextures, (n, textures, priorities), (F, ";")); + DISPATCH(CompressedTexImage3D, (target, level, internalformat, width, height, depth, border, imageSize, data), (F, "glCompressedTexImage3D(0x%x, %d, 0x%x, %p, %p, %p, %d, %p, %p);", target, level, internalformat, (void *) width, (void *) height, (void *) depth, border, (void *) imageSize, (void *) data)); } -KEYWORD1 GLboolean KEYWORD2 NAME(AreTexturesResidentEXT)(GLsizei n, const GLuint *textures, GLboolean *residences) +KEYWORD1 void KEYWORD2 NAME(CompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) { - RETURN_DISPATCH(AreTexturesResident, (n, textures, residences), (F, "glAreTexturesResidentEXT(%d %p %p);", n, (void *) textures, (void *) residences)); + DISPATCH(CompressedTexImage2D, (target, level, internalformat, width, height, border, imageSize, data), (F, "glCompressedTexImage2D(0x%x, %d, 0x%x, %p, %p, %d, %p, %p);", target, level, internalformat, (void *) width, (void *) height, border, (void *) imageSize, (void *) data)); } -KEYWORD1 GLboolean KEYWORD2 NAME(IsTextureEXT)(GLuint texture) +KEYWORD1 void KEYWORD2 NAME(CompressedTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data) { - RETURN_DISPATCH(IsTexture, (texture), (F, "glIsTextureEXT(%u);", texture)); + DISPATCH(CompressedTexImage1D, (target, level, internalformat, width, border, imageSize, data), (F, "glCompressedTexImage1D(0x%x, %d, 0x%x, %p, %d, %p, %p);", target, level, internalformat, (void *) width, border, (void *) imageSize, (void *) data)); } -/* 21. GL_SGIS_detail_texture */ - -KEYWORD1 void KEYWORD2 NAME(DetailTexFuncSGIS)(GLenum target, GLsizei n, const GLfloat *points) +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(DetailTexFuncSGIS, (target, n, points), (F, ";")); + DISPATCH(CompressedTexSubImage3D, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data), (F, "glCompressedTexSubImage3D(0x%x, %d, %d, %d, %d, %p, %p, %p, 0x%x, %p, %p);", target, level, xoffset, yoffset, zoffset, (void *) width, (void *) height, (void *) depth, format, (void *) imageSize, (void *) data)); } -KEYWORD1 void KEYWORD2 NAME(GetDetailTexFuncSGIS)(GLenum target, GLfloat *points) +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(GetDetailTexFuncSGIS, (target, points), (F, ";")); + DISPATCH(CompressedTexSubImage2D, (target, level, xoffset, yoffset, width, height, format, imageSize, data), (F, "glCompressedTexSubImage2D(0x%x, %d, %d, %d, %p, %p, 0x%x, %p, %p);", target, level, xoffset, yoffset, (void *) width, (void *) height, format, (void *) imageSize, (void *) data)); } -/* 22. GL_SGIS_sharpen_texture */ - -KEYWORD1 void KEYWORD2 NAME(GetSharpenTexFuncSGIS)(GLenum target, GLfloat *points) +KEYWORD1 void KEYWORD2 NAME(CompressedTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data) { - DISPATCH(GetSharpenTexFuncSGIS, (target, points), (F, ";")); + DISPATCH(CompressedTexSubImage1D, (target, level, xoffset, width, format, imageSize, data), (F, "glCompressedTexSubImage1D(0x%x, %d, %d, %p, 0x%x, %p, %p);", target, level, xoffset, (void *) width, format, (void *) imageSize, (void *) data)); } -KEYWORD1 void KEYWORD2 NAME(SharpenTexFuncSGIS)(GLenum target, GLsizei n, const GLfloat *points) +KEYWORD1 void KEYWORD2 NAME(GetCompressedTexImage)(GLenum target, GLint level, GLvoid * img) { - DISPATCH(SharpenTexFuncSGIS, (target, n, points), (F, ";")); + DISPATCH(GetCompressedTexImage, (target, level, img), (F, "glGetCompressedTexImage(0x%x, %d, %p);", target, level, (void *) img)); } -/* 25. GL_SGIS_multisample */ - -KEYWORD1 void KEYWORD2 NAME(SampleMaskSGIS)(GLclampf value, GLboolean invert) +KEYWORD1 void KEYWORD2 NAME(ActiveTextureARB)(GLenum texture) { - DISPATCH(SampleMaskSGIS, (value, invert), (F, ";")); + DISPATCH(ActiveTexture, (texture), (F, "glActiveTextureARB(0x%x);", texture)); } -KEYWORD1 void KEYWORD2 NAME(SamplePatternSGIS)(GLenum pattern) +KEYWORD1 void KEYWORD2 NAME(ClientActiveTextureARB)(GLenum texture) { - DISPATCH(SamplePatternSGIS, (pattern), (F, ";")); + DISPATCH(ClientActiveTexture, (texture), (F, "glClientActiveTextureARB(0x%x);", texture)); } -/* 30. GL_EXT_vertex_array */ - -KEYWORD1 void KEYWORD2 NAME(VertexPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dARB)(GLenum target, GLdouble s) { - DISPATCH(VertexPointerEXT, (size, type, stride, count, ptr), (F, ";")); + DISPATCH(MultiTexCoord1d, (target, s), (F, "glMultiTexCoord1dARB(0x%x, %f);", target, s)); } -KEYWORD1 void KEYWORD2 NAME(NormalPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dvARB)(GLenum target, const GLdouble * v) { - DISPATCH(NormalPointerEXT, (type, stride, count, ptr), (F, ";")); + DISPATCH(MultiTexCoord1dv, (target, v), (F, "glMultiTexCoord1dvARB(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(ColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fARB)(GLenum target, GLfloat s) { - DISPATCH(ColorPointerEXT, (size, type, stride, count, ptr), (F, ";")); + DISPATCH(MultiTexCoord1f, (target, s), (F, "glMultiTexCoord1fARB(0x%x, %f);", target, s)); } -KEYWORD1 void KEYWORD2 NAME(IndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fvARB)(GLenum target, const GLfloat * v) { - DISPATCH(IndexPointerEXT, (type, stride, count, ptr), (F, ";")); + DISPATCH(MultiTexCoord1fv, (target, v), (F, "glMultiTexCoord1fvARB(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(TexCoordPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1iARB)(GLenum target, GLint s) { - DISPATCH(ColorPointerEXT, (size, type, stride, count, ptr), (F, ";")); + DISPATCH(MultiTexCoord1i, (target, s), (F, "glMultiTexCoord1iARB(0x%x, %d);", target, s)); } -KEYWORD1 void KEYWORD2 NAME(EdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLboolean *ptr) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1ivARB)(GLenum target, const GLint * v) { - DISPATCH(EdgeFlagPointerEXT, (stride, count, ptr), (F, ";")); + DISPATCH(MultiTexCoord1iv, (target, v), (F, "glMultiTexCoord1ivARB(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetPointervEXT)(GLenum pname, void **params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1sARB)(GLenum target, GLshort s) { - DISPATCH(GetPointerv, (pname, params), (F, ";")); + DISPATCH(MultiTexCoord1s, (target, s), (F, "glMultiTexCoord1sARB(0x%x, %d);", target, s)); } -KEYWORD1 void KEYWORD2 NAME(DrawArraysEXT)(GLenum mode, GLint first, GLsizei count) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1svARB)(GLenum target, const GLshort * v) { - DISPATCH(DrawArrays, (mode, first, count), (F, ";")); + DISPATCH(MultiTexCoord1sv, (target, v), (F, "glMultiTexCoord1svARB(0x%x, %p);", target, (void *) v)); } -/* 37. GL_EXT_blend_minmax */ -KEYWORD1 void KEYWORD2 NAME(BlendEquationEXT)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dARB)(GLenum target, GLdouble s, GLdouble t) { - DISPATCH(BlendEquation, (mode), (F, "glBlendEquationEXT(0x%x);", mode)); + DISPATCH(MultiTexCoord2d, (target, s, t), (F, "glMultiTexCoord2dARB(0x%x, %f, %f);", target, s, t)); } -/* 52. GL_SGIX_sprite */ - -KEYWORD1 void KEYWORD2 NAME(SpriteParameterfSGIX)(GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dvARB)(GLenum target, const GLdouble * v) { - DISPATCH(SpriteParameterfSGIX, (pname, param), (F, ";")); + DISPATCH(MultiTexCoord2dv, (target, v), (F, "glMultiTexCoord2dvARB(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(SpriteParameterfvSGIX)(GLenum pname, const GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fARB)(GLenum target, GLfloat s, GLfloat t) { - DISPATCH(SpriteParameterfvSGIX, (pname, param), (F, ";")); + DISPATCH(MultiTexCoord2f, (target, s, t), (F, "glMultiTexCoord2fARB(0x%x, %f, %f);", target, s, t)); } -KEYWORD1 void KEYWORD2 NAME(SpriteParameteriSGIX)(GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fvARB)(GLenum target, const GLfloat * v) { - DISPATCH(SpriteParameteriSGIX, (pname, param), (F, ";")); + DISPATCH(MultiTexCoord2fv, (target, v), (F, "glMultiTexCoord2fvARB(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(SpriteParameterivSGIX)(GLenum pname, const GLint *param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2iARB)(GLenum target, GLint s, GLint t) { - DISPATCH(SpriteParameterivSGIX, (pname, param), (F, ";")); + DISPATCH(MultiTexCoord2i, (target, s, t), (F, "glMultiTexCoord2iARB(0x%x, %d, %d);", target, s, t)); } -/* 54. GL_EXT_point_parameters */ - -KEYWORD1 void KEYWORD2 NAME(PointParameterfEXT)(GLenum target, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2ivARB)(GLenum target, const GLint * v) { - DISPATCH(PointParameterfEXT, (target, param), (F, ";")); + DISPATCH(MultiTexCoord2iv, (target, v), (F, "glMultiTexCoord2ivARB(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(PointParameterfvEXT)(GLenum target, const GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2sARB)(GLenum target, GLshort s, GLshort t) { - DISPATCH(PointParameterfvEXT, (target, param), (F, ";")); + DISPATCH(MultiTexCoord2s, (target, s, t), (F, "glMultiTexCoord2sARB(0x%x, %d, %d);", target, s, t)); } -KEYWORD1 void KEYWORD2 NAME(PointParameterfSGIS)(GLenum target, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2svARB)(GLenum target, const GLshort * v) { - DISPATCH(PointParameterfEXT, (target, param), (F, ";")); + DISPATCH(MultiTexCoord2sv, (target, v), (F, "glMultiTexCoord2svARB(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(PointParameterfvSGIS)(GLenum target, const GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r) { - DISPATCH(PointParameterfvEXT, (target, param), (F, ";")); + DISPATCH(MultiTexCoord3d, (target, s, t, r), (F, "glMultiTexCoord3dARB(0x%x, %f, %f, %f);", target, s, t, r)); } -/* 55. GL_SGIX_instruments */ -KEYWORD1 GLint KEYWORD2 NAME(GetInstrumentsSGIX)(void) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3dvARB)(GLenum target, const GLdouble * v) { - RETURN_DISPATCH(GetInstrumentsSGIX, (), (F, ";")); + DISPATCH(MultiTexCoord3dv, (target, v), (F, "glMultiTexCoord3dvARB(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(InstrumentsBufferSGIX)(GLsizei size, GLint *buf) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r) { - DISPATCH(InstrumentsBufferSGIX, (size, buf), (F, ";")); + DISPATCH(MultiTexCoord3f, (target, s, t, r), (F, "glMultiTexCoord3fARB(0x%x, %f, %f, %f);", target, s, t, r)); } -KEYWORD1 GLint KEYWORD2 NAME(PollInstrumentsSGIX)(GLint *markerp) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3fvARB)(GLenum target, const GLfloat * v) { - RETURN_DISPATCH(PollInstrumentsSGIX, (markerp), (F, ";")); + DISPATCH(MultiTexCoord3fv, (target, v), (F, "glMultiTexCoord3fvARB(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(ReadInstrumentsSGIX)(GLint marker) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3iARB)(GLenum target, GLint s, GLint t, GLint r) { - DISPATCH(ReadInstrumentsSGIX, (marker), (F, ";")); + DISPATCH(MultiTexCoord3i, (target, s, t, r), (F, "glMultiTexCoord3iARB(0x%x, %d, %d, %d);", target, s, t, r)); } -KEYWORD1 void KEYWORD2 NAME(StartInstrumentsSGIX)(void) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3ivARB)(GLenum target, const GLint * v) { - DISPATCH(StartInstrumentsSGIX, (), (F, ";")); + DISPATCH(MultiTexCoord3iv, (target, v), (F, "glMultiTexCoord3ivARB(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(StopInstrumentsSGIX)(GLint marker) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3sARB)(GLenum target, GLshort s, GLshort t, GLshort r) { - DISPATCH(StopInstrumentsSGIX, (marker), (F, ";")); + DISPATCH(MultiTexCoord3s, (target, s, t, r), (F, "glMultiTexCoord3sARB(0x%x, %d, %d, %d);", target, s, t, r)); } -/* 57. GL_SGIX_framezoom */ -KEYWORD1 void KEYWORD2 NAME(FrameZoomSGIX)(GLint factor) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3svARB)(GLenum target, const GLshort * v) { - DISPATCH(FrameZoomSGIX, (factor), (F, ";")); + DISPATCH(MultiTexCoord3sv, (target, v), (F, "glMultiTexCoord3svARB(0x%x, %p);", target, (void *) v)); } -/* 58. GL_SGIX_tag_sample_buffer */ -KEYWORD1 void KEYWORD2 NAME(TagSampleBufferSGIX)(void) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { - DISPATCH(TagSampleBufferSGIX, (), (F, ";")); + DISPATCH(MultiTexCoord4d, (target, s, t, r, q), (F, "glMultiTexCoord4dARB(0x%x, %f, %f, %f, %f);", target, s, t, r, q)); } -/* 60. GL_SGIX_reference_plane */ -KEYWORD1 void KEYWORD2 NAME(ReferencePlaneSGIX)(const GLdouble *plane) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dvARB)(GLenum target, const GLdouble * v) { - DISPATCH(ReferencePlaneSGIX, (plane), (F, ";")); + DISPATCH(MultiTexCoord4dv, (target, v), (F, "glMultiTexCoord4dvARB(0x%x, %p);", target, (void *) v)); } -/* 61. GL_SGIX_flush_raster */ -KEYWORD1 void KEYWORD2 NAME(FlushRasterSGIX)(void) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { - DISPATCH(FlushRasterSGIX, (), (F, ";")); + DISPATCH(MultiTexCoord4f, (target, s, t, r, q), (F, "glMultiTexCoord4fARB(0x%x, %f, %f, %f, %f);", target, s, t, r, q)); } -/* 66. GL_HP_image_transform */ -#if 00 -KEYWORD1 void KEYWORD2 NAME(GetImageTransformParameterfvHP)(GLenum target, GLenum pname, GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fvARB)(GLenum target, const GLfloat * v) { - DISPATCH(GetImageTransformParameterfvHP, (target, pname, param), (F, ";")); + DISPATCH(MultiTexCoord4fv, (target, v), (F, "glMultiTexCoord4fvARB(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(GetImageTransformParameterivHP)(GLenum target, GLenum pname, GLint *param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4iARB)(GLenum target, GLint s, GLint t, GLint r, GLint q) { - DISPATCH(GetImageTransformParameterivHP, (target, pname, param), (F, ";")); + DISPATCH(MultiTexCoord4i, (target, s, t, r, q), (F, "glMultiTexCoord4iARB(0x%x, %d, %d, %d, %d);", target, s, t, r, q)); } -KEYWORD1 void KEYWORD2 NAME(ImageTransformParameterfHP)(GLenum target, GLenum pname, const GLfloat param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4ivARB)(GLenum target, const GLint * v) { - DISPATCH(ImageTransformParameterfHP, (target, pname, param), (F, ";")); + DISPATCH(MultiTexCoord4iv, (target, v), (F, "glMultiTexCoord4ivARB(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(ImageTransformParameterfvHP)(GLenum target, GLenum pname, const GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4sARB)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) { - DISPATCH(ImageTransformParameterfvHP, (target, pname, param), (F, ";")); + DISPATCH(MultiTexCoord4s, (target, s, t, r, q), (F, "glMultiTexCoord4sARB(0x%x, %d, %d, %d, %d);", target, s, t, r, q)); } -KEYWORD1 void KEYWORD2 NAME(ImageTransformParameteriHP)(GLenum target, GLenum pname, const GLint param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4svARB)(GLenum target, const GLshort * v) { - DISPATCH(ImageTransformParameteriHP, (target, pname, param), (F, ";")); + DISPATCH(MultiTexCoord4sv, (target, v), (F, "glMultiTexCoord4svARB(0x%x, %p);", target, (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(ImageTransformParameterivHP)(GLenum target, GLenum pname, const GLint *param) +KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixfARB)(const GLfloat * m) { - DISPATCH(ImageTransformParameterivHP, (target, pname, param), (F, ";")); + DISPATCH(LoadTransposeMatrixf, (m), (F, "glLoadTransposeMatrixfARB(%p);", (void *) m)); } -#endif -/* 74. GL_EXT_color_subtable */ -KEYWORD1 void KEYWORD2 NAME(ColorSubTableEXT)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data) +KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixdARB)(const GLdouble * m) { - DISPATCH(ColorSubTable, (target, start, count, format, type, data), (F, ";")); + DISPATCH(LoadTransposeMatrixd, (m), (F, "glLoadTransposeMatrixdARB(%p);", (void *) m)); } -KEYWORD1 void KEYWORD2 NAME(CopyColorSubTableEXT)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) +KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixfARB)(const GLfloat * m) { - DISPATCH(CopyColorSubTable, (target, start, x, y, width), (F, ";")); + DISPATCH(MultTransposeMatrixf, (m), (F, "glMultTransposeMatrixfARB(%p);", (void *) m)); } -/* 77. GL_PGI_misc_hints */ -KEYWORD1 void KEYWORD2 NAME(HintPGI)(GLenum target, GLint mode) +KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixdARB)(const GLdouble * m) { - DISPATCH(HintPGI, (target, mode), (F, ";")); + DISPATCH(MultTransposeMatrixd, (m), (F, "glMultTransposeMatrixdARB(%p);", (void *) m)); } -/* 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(SampleCoverageARB)(GLclampf value, GLboolean invert) { - DISPATCH(ColorTable, (target, internalformat, width, format, type, table), (F, ";")); + DISPATCH(SampleCoverage, (value, invert), (F, "glSampleCoverageARB(%f, %d);", value, invert)); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableEXT)(GLenum target, GLenum format, GLenum type, GLvoid *table) +KEYWORD1 void KEYWORD2 NAME(__unused413)(void) { - DISPATCH(GetColorTableEXT, (target, format, type, table), (F, ";")); + DISPATCH(__unused413, (), (F, "gl__unused413();")); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterfvEXT)(GLenum target, GLenum pname, GLfloat *params) +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(GetColorTableParameterfvEXT, (target, pname, params), (F, ";")); + DISPATCH(CompressedTexImage3D, (target, level, internalformat, width, height, depth, border, imageSize, data), (F, "glCompressedTexImage3DARB(0x%x, %d, 0x%x, %p, %p, %p, %d, %p, %p);", target, level, internalformat, (void *) width, (void *) height, (void *) depth, border, (void *) imageSize, (void *) data)); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterivEXT)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(CompressedTexImage2DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) { - DISPATCH(GetColorTableParameterivEXT, (target, pname, params), (F, ";")); + DISPATCH(CompressedTexImage2D, (target, level, internalformat, width, height, border, imageSize, data), (F, "glCompressedTexImage2DARB(0x%x, %d, 0x%x, %p, %p, %d, %p, %p);", target, level, internalformat, (void *) width, (void *) height, border, (void *) imageSize, (void *) data)); } -/* 80. GL_SGIX_list_priority */ - -KEYWORD1 void KEYWORD2 NAME(GetListParameterfvSGIX)(GLuint list, GLenum name, GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(CompressedTexImage1DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data) { - DISPATCH(GetListParameterfvSGIX, (list, name, param), (F, ";")); + DISPATCH(CompressedTexImage1D, (target, level, internalformat, width, border, imageSize, data), (F, "glCompressedTexImage1DARB(0x%x, %d, 0x%x, %p, %d, %p, %p);", target, level, internalformat, (void *) width, border, (void *) imageSize, (void *) data)); } -KEYWORD1 void KEYWORD2 NAME(GetListParameterivSGIX)(GLuint list, GLenum name, GLint *param) +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(GetListParameterivSGIX, (list, name, param), (F, ";")); + DISPATCH(CompressedTexSubImage3D, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data), (F, "glCompressedTexSubImage3DARB(0x%x, %d, %d, %d, %d, %p, %p, %p, 0x%x, %p, %p);", target, level, xoffset, yoffset, zoffset, (void *) width, (void *) height, (void *) depth, format, (void *) imageSize, (void *) data)); } -KEYWORD1 void KEYWORD2 NAME(ListParameterfSGIX)(GLuint list, GLenum name, GLfloat param) +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(ListParameterfSGIX, (list, name, param), (F, ";")); + DISPATCH(CompressedTexSubImage2D, (target, level, xoffset, yoffset, width, height, format, imageSize, data), (F, "glCompressedTexSubImage2DARB(0x%x, %d, %d, %d, %p, %p, 0x%x, %p, %p);", target, level, xoffset, yoffset, (void *) width, (void *) height, format, (void *) imageSize, (void *) data)); } -KEYWORD1 void KEYWORD2 NAME(ListParameterfvSGIX)(GLuint list, GLenum name, const GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(CompressedTexSubImage1DARB)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data) { - DISPATCH(ListParameterfvSGIX, (list, name, param), (F, ";")); + DISPATCH(CompressedTexSubImage1D, (target, level, xoffset, width, format, imageSize, data), (F, "glCompressedTexSubImage1DARB(0x%x, %d, %d, %p, 0x%x, %p, %p);", target, level, xoffset, (void *) width, format, (void *) imageSize, (void *) data)); } -KEYWORD1 void KEYWORD2 NAME(ListParameteriSGIX)(GLuint list, GLenum name, GLint param) +KEYWORD1 void KEYWORD2 NAME(GetCompressedTexImageARB)(GLenum target, GLint level, GLvoid * img) { - DISPATCH(ListParameteriSGIX, (list, name, param), (F, ";")); + DISPATCH(GetCompressedTexImage, (target, level, img), (F, "glGetCompressedTexImageARB(0x%x, %d, %p);", target, level, (void *) img)); } -KEYWORD1 void KEYWORD2 NAME(ListParameterivSGIX)(GLuint list, GLenum name, const GLint *param) +/* No dispatch for WeightbvARB() */ +/* No dispatch for WeightsvARB() */ +/* No dispatch for WeightivARB() */ +/* No dispatch for WeightfvARB() */ +/* No dispatch for WeightdvARB() */ +/* No dispatch for WeightubvARB() */ +/* No dispatch for WeightusvARB() */ +/* No dispatch for WeightuivARB() */ +/* No dispatch for WeightPointerARB() */ +/* No dispatch for VertexBlendARB() */ +/* No dispatch for CurrentPaletteMatrixARB() */ +/* No dispatch for MatrixIndexubvARB() */ +/* No dispatch for MatrixIndexusvARB() */ +/* No dispatch for MatrixIndexuivARB() */ +/* No dispatch for MatrixIndexPointerARB() */ +KEYWORD1 void KEYWORD2 NAME(BlendColorEXT)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { - DISPATCH(ListParameterivSGIX, (list, name, param), (F, ";")); + DISPATCH(BlendColor, (red, green, blue, alpha), (F, "glBlendColorEXT(%f, %f, %f, %f);", red, green, blue, alpha)); } -/* 94. GL_EXT_index_material */ -KEYWORD1 void KEYWORD2 NAME(IndexMaterialEXT)(GLenum face, GLenum mode) +KEYWORD1 void KEYWORD2 NAME(PolygonOffsetEXT)(GLfloat factor, GLfloat bias) { - DISPATCH(IndexMaterialEXT, (face, mode), (F, ";")); + DISPATCH(PolygonOffsetEXT, (factor, bias), (F, "glPolygonOffsetEXT(%f, %f);", factor, bias)); } -/* 95. GL_EXT_index_func */ -KEYWORD1 void KEYWORD2 NAME(IndexFuncEXT)(GLenum func, GLfloat ref) +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(IndexFuncEXT, (func, ref), (F, ";")); + DISPATCH(TexImage3D, (target, level, internalformat, width, height, depth, border, format, type, pixels), (F, "glTexImage3DEXT(0x%x, %d, 0x%x, %p, %p, %p, %d, 0x%x, 0x%x, %p);", target, level, internalformat, (void *) width, (void *) height, (void *) depth, border, format, type, (void *) pixels)); } -/* 97. GL_EXT_compiled_vertex_array */ -KEYWORD1 void KEYWORD2 NAME(LockArraysEXT)(GLint first, GLsizei count) +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(LockArraysEXT, (first, count), (F, ";")); + DISPATCH(TexSubImage3D, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels), (F, "glTexSubImage3DEXT(0x%x, %d, %d, %d, %d, %p, %p, %p, 0x%x, 0x%x, %p);", target, level, xoffset, yoffset, zoffset, (void *) width, (void *) height, (void *) depth, format, type, (void *) pixels)); } -KEYWORD1 void KEYWORD2 NAME(UnlockArraysEXT)(void) +KEYWORD1 void KEYWORD2 NAME(GetTexFilterFuncSGIS)(GLenum target, GLenum filter, GLfloat * weights) { - DISPATCH(UnlockArraysEXT, (), (F, ";")); + DISPATCH(GetTexFilterFuncSGIS, (target, filter, weights), (F, "glGetTexFilterFuncSGIS(0x%x, 0x%x, %p);", target, filter, (void *) weights)); } -/* 98. GL_EXT_cull_vertex */ -KEYWORD1 void KEYWORD2 NAME(CullParameterfvEXT)(GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(TexFilterFuncSGIS)(GLenum target, GLenum filter, GLsizei n, const GLfloat * weights) { - DISPATCH(CullParameterfvEXT, (pname, params), (F, ";")); + DISPATCH(TexFilterFuncSGIS, (target, filter, n, weights), (F, "glTexFilterFuncSGIS(0x%x, 0x%x, %p, %p);", target, filter, (void *) n, (void *) weights)); } -KEYWORD1 void KEYWORD2 NAME(CullParameterdvEXT)(GLenum pname, GLdouble *params) +KEYWORD1 void KEYWORD2 NAME(TexSubImage1DEXT)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels) { - DISPATCH(CullParameterdvEXT, (pname, params), (F, ";")); + DISPATCH(TexSubImage1D, (target, level, xoffset, width, format, type, pixels), (F, "glTexSubImage1DEXT(0x%x, %d, %d, %p, 0x%x, 0x%x, %p);", target, level, xoffset, (void *) width, format, type, (void *) pixels)); } -/* 102. GL_SGIX_fragment_lighting */ -KEYWORD1 void KEYWORD2 NAME(FragmentColorMaterialSGIX)(GLenum face, GLenum mode) +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(FragmentColorMaterialSGIX, (face, mode), (F, ";")); + DISPATCH(TexSubImage2D, (target, level, xoffset, yoffset, width, height, format, type, pixels), (F, "glTexSubImage2DEXT(0x%x, %d, %d, %d, %p, %p, 0x%x, 0x%x, %p);", target, level, xoffset, yoffset, (void *) width, (void *) height, format, type, (void *) pixels)); } -KEYWORD1 void KEYWORD2 NAME(FragmentLightfSGIX)(GLenum light, GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(CopyTexImage1DEXT)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) { - DISPATCH(FragmentLightfSGIX, (light, pname, param), (F, ";")); + DISPATCH(CopyTexImage1D, (target, level, internalformat, x, y, width, border), (F, "glCopyTexImage1DEXT(0x%x, %d, 0x%x, %d, %d, %p, %d);", target, level, internalformat, x, y, (void *) width, border)); } -KEYWORD1 void KEYWORD2 NAME(FragmentLightfvSGIX)(GLenum light, GLenum pname, const GLfloat * params) +KEYWORD1 void KEYWORD2 NAME(CopyTexImage2DEXT)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { - DISPATCH(FragmentLightfvSGIX, (light, pname, params), (F, ";")); + DISPATCH(CopyTexImage2D, (target, level, internalformat, x, y, width, height, border), (F, "glCopyTexImage2DEXT(0x%x, %d, 0x%x, %d, %d, %p, %p, %d);", target, level, internalformat, x, y, (void *) width, (void *) height, border)); } -KEYWORD1 void KEYWORD2 NAME(FragmentLightiSGIX)(GLenum light, GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage1DEXT)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { - DISPATCH(FragmentLightiSGIX, (light, pname, param), (F, ";")); + DISPATCH(CopyTexSubImage1D, (target, level, xoffset, x, y, width), (F, "glCopyTexSubImage1DEXT(0x%x, %d, %d, %d, %d, %p);", target, level, xoffset, x, y, (void *) width)); } -KEYWORD1 void KEYWORD2 NAME(FragmentLightivSGIX)(GLenum light, GLenum pname, const GLint * params) +KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage2DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(FragmentLightivSGIX, (light, pname, params), (F, ";")); + DISPATCH(CopyTexSubImage2D, (target, level, xoffset, yoffset, x, y, width, height), (F, "glCopyTexSubImage2DEXT(0x%x, %d, %d, %d, %d, %d, %p, %p);", target, level, xoffset, yoffset, x, y, (void *) width, (void *) height)); } -KEYWORD1 void KEYWORD2 NAME(FragmentLightModelfSGIX)(GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage3DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(FragmentLightModelfSGIX, (pname, param), (F, ";")); + DISPATCH(CopyTexSubImage3D, (target, level, xoffset, yoffset, zoffset, x, y, width, height), (F, "glCopyTexSubImage3DEXT(0x%x, %d, %d, %d, %d, %d, %d, %p, %p);", target, level, xoffset, yoffset, zoffset, x, y, (void *) width, (void *) height)); } -KEYWORD1 void KEYWORD2 NAME(FragmentLightModelfvSGIX)(GLenum pname, const GLfloat * params) +KEYWORD1 void KEYWORD2 NAME(GetHistogramEXT)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values) { - DISPATCH(FragmentLightModelfvSGIX, (pname, params), (F, ";")); + DISPATCH(GetHistogramEXT, (target, reset, format, type, values), (F, "glGetHistogramEXT(0x%x, %d, 0x%x, 0x%x, %p);", target, reset, format, type, (void *) values)); } -KEYWORD1 void KEYWORD2 NAME(FragmentLightModeliSGIX)(GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(GetHistogramParameterfvEXT)(GLenum target, GLenum pname, GLfloat * params) { - DISPATCH(FragmentLightModeliSGIX, (pname, param), (F, ";")); + DISPATCH(GetHistogramParameterfvEXT, (target, pname, params), (F, "glGetHistogramParameterfvEXT(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(FragmentLightModelivSGIX)(GLenum pname, const GLint * params) +KEYWORD1 void KEYWORD2 NAME(GetHistogramParameterivEXT)(GLenum target, GLenum pname, GLint * params) { - DISPATCH(FragmentLightModelivSGIX, (pname, params), (F, ";")); + DISPATCH(GetHistogramParameterivEXT, (target, pname, params), (F, "glGetHistogramParameterivEXT(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(FragmentMaterialfSGIX)(GLenum face, GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(GetMinmaxEXT)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values) { - DISPATCH(FragmentMaterialfSGIX, (face, pname, param), (F, ";")); + DISPATCH(GetMinmaxEXT, (target, reset, format, type, values), (F, "glGetMinmaxEXT(0x%x, %d, 0x%x, 0x%x, %p);", target, reset, format, type, (void *) values)); } -KEYWORD1 void KEYWORD2 NAME(FragmentMaterialfvSGIX)(GLenum face, GLenum pname, const GLfloat * params) +KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameterfvEXT)(GLenum target, GLenum pname, GLfloat * params) { - DISPATCH(FragmentMaterialfvSGIX, (face, pname, params), (F, ";")); + DISPATCH(GetMinmaxParameterfvEXT, (target, pname, params), (F, "glGetMinmaxParameterfvEXT(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(FragmentMaterialiSGIX)(GLenum face, GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(GetMinmaxParameterivEXT)(GLenum target, GLenum pname, GLint * params) { - DISPATCH(FragmentMaterialiSGIX, (face, pname, param), (F, ";")); + DISPATCH(GetMinmaxParameterivEXT, (target, pname, params), (F, "glGetMinmaxParameterivEXT(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(FragmentMaterialivSGIX)(GLenum face, GLenum pname, const GLint * params) +KEYWORD1 void KEYWORD2 NAME(HistogramEXT)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) { - DISPATCH(FragmentMaterialivSGIX, (face, pname, params), (F, ";")); + DISPATCH(Histogram, (target, width, internalformat, sink), (F, "glHistogramEXT(0x%x, %p, 0x%x, %d);", target, (void *) width, internalformat, sink)); } -KEYWORD1 void KEYWORD2 NAME(GetFragmentLightfvSGIX)(GLenum light, GLenum pname, GLfloat * params) +KEYWORD1 void KEYWORD2 NAME(MinmaxEXT)(GLenum target, GLenum internalformat, GLboolean sink) { - DISPATCH(FragmentLightfvSGIX, (light, pname, params), (F, ";")); + DISPATCH(Minmax, (target, internalformat, sink), (F, "glMinmaxEXT(0x%x, 0x%x, %d);", target, internalformat, sink)); } -KEYWORD1 void KEYWORD2 NAME(GetFragmentLightivSGIX)(GLenum light, GLenum pname, GLint * params) +KEYWORD1 void KEYWORD2 NAME(ResetHistogramEXT)(GLenum target) { - DISPATCH(FragmentLightivSGIX, (light, pname, params), (F, ";")); + DISPATCH(ResetHistogram, (target), (F, "glResetHistogramEXT(0x%x);", target)); } -KEYWORD1 void KEYWORD2 NAME(GetFragmentMaterialfvSGIX)(GLenum face, GLenum pname, GLfloat * params) +KEYWORD1 void KEYWORD2 NAME(ResetMinmaxEXT)(GLenum target) { - DISPATCH(FragmentMaterialfvSGIX, (face, pname, params), (F, ";")); + DISPATCH(ResetMinmax, (target), (F, "glResetMinmaxEXT(0x%x);", target)); } -KEYWORD1 void KEYWORD2 NAME(GetFragmentMaterialivSGIX)(GLenum face, GLenum pname, GLint * params) +KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter1DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image) { - DISPATCH(FragmentMaterialivSGIX, (face, pname, params), (F, ";")); + DISPATCH(ConvolutionFilter1D, (target, internalformat, width, format, type, image), (F, "glConvolutionFilter1DEXT(0x%x, 0x%x, %p, 0x%x, 0x%x, %p);", target, internalformat, (void *) width, format, type, (void *) image)); } -KEYWORD1 void KEYWORD2 NAME(LightEnviSGIX)(GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(ConvolutionFilter2DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image) { - DISPATCH(LightEnviSGIX, (pname, param), (F, ";")); + DISPATCH(ConvolutionFilter2D, (target, internalformat, width, height, format, type, image), (F, "glConvolutionFilter2DEXT(0x%x, 0x%x, %p, %p, 0x%x, 0x%x, %p);", target, internalformat, (void *) width, (void *) height, format, type, (void *) image)); } -/* 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(ConvolutionParameterfEXT)(GLenum target, GLenum pname, GLfloat params) { - DISPATCH(DrawRangeElements, (mode, start, end, count, type, indices), (F, "glDrawRangeElementsEXT(0x%x, %u %u %d 0x%x %p);", mode, start, end, count, type, (void *) indices)); + DISPATCH(ConvolutionParameterf, (target, pname, params), (F, "glConvolutionParameterfEXT(0x%x, 0x%x, %f);", target, pname, params)); } -/* 117. GL_EXT_light_texture */ -#if 00 -KEYWORD1 void KEYWORD2 NAME(ApplyTextureEXT)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterfvEXT)(GLenum target, GLenum pname, const GLfloat * params) { - DISPATCH(ApplyTextureEXT, (mode), (F, "glApplyTextureEXT(0x%x);", mode)); + DISPATCH(ConvolutionParameterfv, (target, pname, params), (F, "glConvolutionParameterfvEXT(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(TextureLightEXT)(GLenum pname) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameteriEXT)(GLenum target, GLenum pname, GLint params) { - DISPATCH(TextureLightEXT, (pname), (F, "glTextureLightEXT(0x%x);", pname)); + DISPATCH(ConvolutionParameteri, (target, pname, params), (F, "glConvolutionParameteriEXT(0x%x, 0x%x, %d);", target, pname, params)); } -KEYWORD1 void KEYWORD2 NAME(TextureMaterialEXT)(GLenum face, GLenum mode) +KEYWORD1 void KEYWORD2 NAME(ConvolutionParameterivEXT)(GLenum target, GLenum pname, const GLint * params) { - DISPATCH(TextureMaterialEXT, (face, mode), (F, "glTextureMaterialEXT(0x%x, 0x%x);", face, mode)); + DISPATCH(ConvolutionParameteriv, (target, pname, params), (F, "glConvolutionParameterivEXT(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -#endif -/* 135. GL_INTEL_texture_scissor */ -#if 00 -KEYWORD1 void KEYWORD2 NAME(TexScissorINTEL)(GLenum target, GLclampf tlow, GLclampf thigh) +KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter1DEXT)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { - DISPATCH(TexScissorINTEL, (target, tlow, thigh), (F, "glTexScissorINTEL(0x%x %g %g);", target, tlow, thigh)); + DISPATCH(CopyConvolutionFilter1D, (target, internalformat, x, y, width), (F, "glCopyConvolutionFilter1DEXT(0x%x, 0x%x, %d, %d, %p);", target, internalformat, x, y, (void *) width)); } -KEYWORD1 void KEYWORD2 NAME(TexScissorFuncINTEL)(GLenum target, GLenum lfunc, GLenum hfunc) +KEYWORD1 void KEYWORD2 NAME(CopyConvolutionFilter2DEXT)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) { - DISPATCH(TexScissorFuncINTEL, (target, lfunc, hfunc), (F, "glTexScissorFuncINTEL(0x%x 0x%x 0x%x);", target, tlow, thigh)); + DISPATCH(CopyConvolutionFilter2D, (target, internalformat, x, y, width, height), (F, "glCopyConvolutionFilter2DEXT(0x%x, 0x%x, %d, %d, %p, %p);", target, internalformat, x, y, (void *) width, (void *) height)); } -#endif -/* 136. GL_INTEL_parallel_arrays */ -#if 00 -KEYWORD1 void KEYWORD2 NAME(VertexPointervINTEL)(GLint size, GLenum type, const void ** pointer) +KEYWORD1 void KEYWORD2 NAME(GetConvolutionFilterEXT)(GLenum target, GLenum format, GLenum type, GLvoid * image) { - DISPATCH(VertexPointervINTEL, (size, type, pointer), (F, "glVertexPointervINTEL(%d, 0x%x, %p);", size, type, pointer)); + DISPATCH(GetConvolutionFilterEXT, (target, format, type, image), (F, "glGetConvolutionFilterEXT(0x%x, 0x%x, 0x%x, %p);", target, format, type, (void *) image)); } -KEYWORD1 void KEYWORD2 NAME(NormalPointervINTEL)(GLenum type, const void** pointer) +KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameterfvEXT)(GLenum target, GLenum pname, GLfloat * params) { - DISPATCH(NormalPointervINTEL, (size, pointer), (F, "glNormalPointervINTEL(%d, %p);", size, pointer)); + DISPATCH(GetConvolutionParameterfvEXT, (target, pname, params), (F, "glGetConvolutionParameterfvEXT(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(ColorPointervINTEL)(GLint size, GLenum type, const void** pointer) +KEYWORD1 void KEYWORD2 NAME(GetConvolutionParameterivEXT)(GLenum target, GLenum pname, GLint * params) { - DISPATCH(ColorPointervINTEL, (size, type, pointer), (F, "glColorPointervINTEL(%d, 0x%x, %p);", size, type, pointer)); + DISPATCH(GetConvolutionParameterivEXT, (target, pname, params), (F, "glGetConvolutionParameterivEXT(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(TexCoordPointervINTEL)(GLint size, GLenum type, const void** pointer) +KEYWORD1 void KEYWORD2 NAME(GetSeparableFilterEXT)(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span) { - DISPATCH(TexCoordPointervINTEL, (size, type, pointer), (F, "glTexCoordPointervINTEL(%d, 0x%x, %p);", size, type, pointer)); + DISPATCH(GetSeparableFilterEXT, (target, format, type, row, column, span), (F, "glGetSeparableFilterEXT(0x%x, 0x%x, 0x%x, %p, %p, %p);", target, format, type, (void *) row, (void *) column, (void *) span)); } -#endif -/* 138. GL_EXT_pixel_transform */ -#if 00 -KEYWORD1 void KEYWORD2 NAME(PixelTransformParameteriEXT)(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(PixelTransformParameteriEXT, (target, pname, param), (F, "glPixelTransformParameteriEXT(0x%x, 0x%x, %d);", target, pname, param)); + DISPATCH(SeparableFilter2D, (target, internalformat, width, height, format, type, row, column), (F, "glSeparableFilter2DEXT(0x%x, 0x%x, %p, %p, 0x%x, 0x%x, %p, %p);", target, internalformat, (void *) width, (void *) height, format, type, (void *) row, (void *) column)); } -KEYWORD1 void KEYWORD2 NAME(PixelTransformParameterfEXT)(GLenum target, GLenum pname, const GLfloat param) +KEYWORD1 void KEYWORD2 NAME(ColorTableSGI)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * table) { - DISPATCH(PixelTransformParameterfEXT, (target, pname, param), (F, "glPixelTransformParameterfEXT(0x%x, 0x%x, %f);", target, pname, param)); + DISPATCH(ColorTable, (target, internalformat, width, format, type, table), (F, "glColorTableSGI(0x%x, 0x%x, %p, 0x%x, 0x%x, %p);", target, internalformat, (void *) width, format, type, (void *) table)); } -KEYWORD1 void KEYWORD2 NAME(PixelTransformParameterivEXT)(GLenum target, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(ColorTableParameterfvSGI)(GLenum target, GLenum pname, const GLfloat * params) { - DISPATCH(PixelTransformParameterivEXT, (target, pname, params), (F, "glPixelTransformParameterivEXT(0x%x, 0x%x, %p);", target, pname, params)); + DISPATCH(ColorTableParameterfv, (target, pname, params), (F, "glColorTableParameterfvSGI(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(PixelTransformParameterfvEXT)(GLenum target, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(ColorTableParameterivSGI)(GLenum target, GLenum pname, const GLint * params) { - DISPATCH(PixelTransformParameterfvEXT, (target, pname, params), (F, "glPixelTransformParameterfvEXT(0x%x, 0x%x, %p);", target, pname, params)); + DISPATCH(ColorTableParameteriv, (target, pname, params), (F, "glColorTableParameterivSGI(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(GetPixelTransformParameterivEXT)(GLenum target, GLenum pname, const GLint *params) +KEYWORD1 void KEYWORD2 NAME(CopyColorTableSGI)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { - DISPATCH(GetPixelTransformParameterivEXT, (target, pname, params), (F, "glGetPixelTransformParameterivEXT(0x%x, 0x%x, %p);", target, pname, params)); + DISPATCH(CopyColorTable, (target, internalformat, x, y, width), (F, "glCopyColorTableSGI(0x%x, 0x%x, %d, %d, %p);", target, internalformat, x, y, (void *) width)); } -KEYWORD1 void KEYWORD2 NAME(GetPixelTransformParameterfvEXT)(GLenum target, GLenum pname, const GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(GetColorTableSGI)(GLenum target, GLenum format, GLenum type, GLvoid * table) { - DISPATCH(GetPixelTransformParameterfvEXT, (target, pname, params), (F, "glGetPixelTransformParameterfvEXT(0x%x, 0x%x, %p);", target, pname, params)); + DISPATCH(GetColorTableSGI, (target, format, type, table), (F, "glGetColorTableSGI(0x%x, 0x%x, 0x%x, %p);", target, format, type, (void *) table)); } -#endif - -/* 145. GL_EXT_secondary_color */ -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3bEXT)(GLbyte red, GLbyte green, GLbyte blue) +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterfvSGI)(GLenum target, GLenum pname, GLfloat * params) { - DISPATCH(SecondaryColor3bEXT, (red, green, blue), (F, "glSecondaryColor3bEXT(%d, %d, %d);", red, green, blue)); + DISPATCH(GetColorTableParameterfvSGI, (target, pname, params), (F, "glGetColorTableParameterfvSGI(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3bvEXT)(const GLbyte *v) +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterivSGI)(GLenum target, GLenum pname, GLint * params) { - DISPATCH(SecondaryColor3bvEXT, (v), (F, "glSecondaryColor3bvEXT(%d, %d, %d);", v[0], v[1], v[2])); + DISPATCH(GetColorTableParameterivSGI, (target, pname, params), (F, "glGetColorTableParameterivSGI(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3dEXT)(GLdouble red, GLdouble green, GLdouble blue) +KEYWORD1 void KEYWORD2 NAME(PixelTexGenSGIX)(GLenum mode) { - DISPATCH(SecondaryColor3dEXT, (red, green, blue), (F, "glSecondaryColor3dEXT(%g, %g, %g);", red, green, blue)); + DISPATCH(PixelTexGenSGIX, (mode), (F, "glPixelTexGenSGIX(0x%x);", mode)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3dvEXT)(const GLdouble * v) +KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameteriSGIS)(GLenum pname, GLint param) { - DISPATCH(SecondaryColor3dvEXT, (v), (F, "glSecondaryColor3dvEXT(%g, %g, %g);", v[0], v[1], v[2])); + DISPATCH(PixelTexGenParameteriSGIS, (pname, param), (F, "glPixelTexGenParameteriSGIS(0x%x, %d);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3fEXT)(GLfloat red, GLfloat green, GLfloat blue) +KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameterivSGIS)(GLenum pname, const GLint * params) { - DISPATCH(SecondaryColor3fEXT, (red, green, blue), (F, "glSecondaryColor3fEXT(%g, %g, %g);", red, green, blue)); + DISPATCH(PixelTexGenParameterivSGIS, (pname, params), (F, "glPixelTexGenParameterivSGIS(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3fvEXT)(const GLfloat * v) +KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameterfSGIS)(GLenum pname, GLfloat param) { - DISPATCH(SecondaryColor3fvEXT, (v), (F, "glSecondaryColor3fvEXT(%g, %g, %g);", v[0], v[1], v[2])); + DISPATCH(PixelTexGenParameterfSGIS, (pname, param), (F, "glPixelTexGenParameterfSGIS(0x%x, %f);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3iEXT)(GLint red, GLint green, GLint blue) +KEYWORD1 void KEYWORD2 NAME(PixelTexGenParameterfvSGIS)(GLenum pname, const GLfloat * params) { - DISPATCH(SecondaryColor3iEXT, (red, green, blue), (F, "glSecondaryColor3iEXT(%d, %d, %d);", red, green, blue)); + DISPATCH(PixelTexGenParameterfvSGIS, (pname, params), (F, "glPixelTexGenParameterfvSGIS(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ivEXT)(const GLint * v) +KEYWORD1 void KEYWORD2 NAME(GetPixelTexGenParameterivSGIS)(GLenum pname, GLint * params) { - DISPATCH(SecondaryColor3ivEXT, (v), (F, "glSecondaryColor3ivEXT(%d, %d, %d);", v[0], v[1], v[2])); + DISPATCH(GetPixelTexGenParameterivSGIS, (pname, params), (F, "glGetPixelTexGenParameterivSGIS(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3sEXT)(GLshort red, GLshort green, GLshort blue) +KEYWORD1 void KEYWORD2 NAME(GetPixelTexGenParameterfvSGIS)(GLenum pname, GLfloat * params) { - DISPATCH(SecondaryColor3sEXT, (red, green, blue), (F, "glSecondaryColor3sEXT(%d, %d, %d);", red, green, blue)); + DISPATCH(GetPixelTexGenParameterfvSGIS, (pname, params), (F, "glGetPixelTexGenParameterfvSGIS(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3svEXT)(const GLshort * v) +KEYWORD1 void KEYWORD2 NAME(TexImage4DSGIS)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid * pixels) { - DISPATCH(SecondaryColor3svEXT, (v), (F, "glSecondaryColor3svEXT(%d, %d, %d);", v[0], v[1], v[2])); + DISPATCH(TexImage4DSGIS, (target, level, internalformat, width, height, depth, size4d, border, format, type, pixels), (F, "glTexImage4DSGIS(0x%x, %d, 0x%x, %p, %p, %p, %p, %d, 0x%x, 0x%x, %p);", target, level, internalformat, (void *) width, (void *) height, (void *) depth, (void *) size4d, border, format, type, (void *) pixels)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ubEXT)(GLubyte red, GLubyte green, GLubyte blue) +KEYWORD1 void KEYWORD2 NAME(TexSubImage4DSGIS)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid * pixels) { - DISPATCH(SecondaryColor3ubEXT, (red, green, blue), (F, "glSecondaryColor3ubEXT(%d, %d, %d);", red, green, blue)); + DISPATCH(TexSubImage4DSGIS, (target, level, xoffset, yoffset, zoffset, woffset, width, height, depth, size4d, format, type, pixels), (F, "glTexSubImage4DSGIS(0x%x, %d, %d, %d, %d, %d, %p, %p, %p, %p, 0x%x, 0x%x, %p);", target, level, xoffset, yoffset, zoffset, woffset, (void *) width, (void *) height, (void *) depth, (void *) size4d, format, type, (void *) pixels)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ubvEXT)(const GLubyte * v) +KEYWORD1 GLboolean KEYWORD2 NAME(AreTexturesResidentEXT)(GLsizei n, const GLuint * textures, GLboolean * residences) { - DISPATCH(SecondaryColor3ubvEXT, (v), (F, "glSecondaryColor3ubvEXT(%d, %d, %d);", v[0], v[1], v[2])); + RETURN_DISPATCH(AreTexturesResidentEXT, (n, textures, residences), (F, "glAreTexturesResidentEXT(%p, %p, %p);", (void *) n, (void *) textures, (void *) residences)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3uiEXT)(GLuint red, GLuint green, GLuint blue) +KEYWORD1 void KEYWORD2 NAME(BindTextureEXT)(GLenum target, GLuint texture) { - DISPATCH(SecondaryColor3uiEXT, (red, green, blue), (F, "glSecondaryColor3uiEXT(%d, %d, %d);", red, green, blue)); + DISPATCH(BindTexture, (target, texture), (F, "glBindTextureEXT(0x%x, %d);", target, texture)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3uivEXT)(const GLuint * v) +KEYWORD1 void KEYWORD2 NAME(DeleteTexturesEXT)(GLsizei n, const GLuint * textures) { - DISPATCH(SecondaryColor3uivEXT, (v), (F, "glSecondaryColor3uivEXT(%d, %d, %d);", v[0], v[1], v[2])); + DISPATCH(DeleteTextures, (n, textures), (F, "glDeleteTexturesEXT(%p, %p);", (void *) n, (void *) textures)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3usEXT)(GLushort red, GLushort green, GLushort blue) +KEYWORD1 void KEYWORD2 NAME(GenTexturesEXT)(GLsizei n, GLuint * textures) { - DISPATCH(SecondaryColor3usEXT, (red, green, blue), (F, "glSecondaryColor3usEXT(%d, %d, %d);", red, green, blue)); + DISPATCH(GenTexturesEXT, (n, textures), (F, "glGenTexturesEXT(%p, %p);", (void *) n, (void *) textures)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColor3usvEXT)(const GLushort * v) +KEYWORD1 GLboolean KEYWORD2 NAME(IsTextureEXT)(GLuint texture) { - DISPATCH(SecondaryColor3usvEXT, (v), (F, "glSecondaryColor3usvEXT(%d, %d, %d);", v[0], v[1], v[2])); + RETURN_DISPATCH(IsTextureEXT, (texture), (F, "glIsTextureEXT(%d);", texture)); } -KEYWORD1 void KEYWORD2 NAME(SecondaryColorPointerEXT)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) +KEYWORD1 void KEYWORD2 NAME(PrioritizeTexturesEXT)(GLsizei n, const GLuint * textures, const GLclampf * priorities) { - DISPATCH(SecondaryColorPointerEXT, (size, type, stride, pointer), (F, "glSecondaryColorPointerEXT(%d, 0x%x, %d, %p);", size, type, stride, pointer)); + DISPATCH(PrioritizeTextures, (n, textures, priorities), (F, "glPrioritizeTexturesEXT(%p, %p, %p);", (void *) n, (void *) textures, (void *) priorities)); } -/* 149. GL_EXT_fog_coord */ - -KEYWORD1 void KEYWORD2 NAME(FogCoordfEXT)(GLfloat coord) +KEYWORD1 void KEYWORD2 NAME(DetailTexFuncSGIS)(GLenum target, GLsizei n, const GLfloat * points) { - DISPATCH(FogCoordfEXT, (coord), (F, "glFogCoordfEXT(%g);", coord)); + DISPATCH(DetailTexFuncSGIS, (target, n, points), (F, "glDetailTexFuncSGIS(0x%x, %p, %p);", target, (void *) n, (void *) points)); } -KEYWORD1 void KEYWORD2 NAME(FogCoordfvEXT)(const GLfloat *coord) +KEYWORD1 void KEYWORD2 NAME(GetDetailTexFuncSGIS)(GLenum target, GLfloat * points) { - DISPATCH(FogCoordfvEXT, (coord), (F, "glFogCoordfvEXT(%p);", (void *) coord)); + DISPATCH(GetDetailTexFuncSGIS, (target, points), (F, "glGetDetailTexFuncSGIS(0x%x, %p);", target, (void *) points)); } -KEYWORD1 void KEYWORD2 NAME(FogCoorddEXT)(GLdouble coord) +KEYWORD1 void KEYWORD2 NAME(SharpenTexFuncSGIS)(GLenum target, GLsizei n, const GLfloat * points) { - DISPATCH(FogCoorddEXT, (coord), (F, "glFogCoorddEXT(%g);", coord)); + DISPATCH(SharpenTexFuncSGIS, (target, n, points), (F, "glSharpenTexFuncSGIS(0x%x, %p, %p);", target, (void *) n, (void *) points)); } -KEYWORD1 void KEYWORD2 NAME(FogCoorddvEXT)(const GLdouble * coord) +KEYWORD1 void KEYWORD2 NAME(GetSharpenTexFuncSGIS)(GLenum target, GLfloat * points) { - DISPATCH(FogCoorddvEXT, (coord), (F, "glFogCoorddvEXT(%p);", (void *) coord)); + DISPATCH(GetSharpenTexFuncSGIS, (target, points), (F, "glGetSharpenTexFuncSGIS(0x%x, %p);", target, (void *) points)); } -KEYWORD1 void KEYWORD2 NAME(FogCoordPointerEXT)(GLenum type, GLsizei stride, const GLvoid * pointer) -{ - DISPATCH(FogCoordPointerEXT, (type, stride, pointer), (F, "glFogCoordPointerEXT(0x%x, %d, %p);", type, stride, (void *) pointer)); -} - -/* 173. GL_EXT/INGR_blend_func_separate */ -KEYWORD1 void KEYWORD2 NAME(BlendFuncSeparateEXT)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) +KEYWORD1 void KEYWORD2 NAME(SampleMaskSGIS)(GLclampf value, GLboolean invert) { - DISPATCH(BlendFuncSeparateEXT, (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha), (F, ";")); + DISPATCH(SampleMaskSGIS, (value, invert), (F, "glSampleMaskSGIS(%f, %d);", value, invert)); } -KEYWORD1 void KEYWORD2 NAME(BlendFuncSeparateINGR)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) +KEYWORD1 void KEYWORD2 NAME(SamplePatternSGIS)(GLenum pattern) { - DISPATCH(BlendFuncSeparateEXT, (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha), (F, ";")); + DISPATCH(SamplePatternSGIS, (pattern), (F, "glSamplePatternSGIS(0x%x);", pattern)); } -/* 190. GL_NV_vertex_array_range */ -KEYWORD1 void KEYWORD2 NAME(FlushVertexArrayRangeNV)(void) +KEYWORD1 void KEYWORD2 NAME(ArrayElementEXT)(GLint i) { - DISPATCH(FlushVertexArrayRangeNV, (), (F, ";")); + DISPATCH(ArrayElement, (i), (F, "glArrayElementEXT(%d);", i)); } -KEYWORD1 void KEYWORD2 NAME(VertexArrayRangeNV)(GLsizei size, const GLvoid * pointer) +KEYWORD1 void KEYWORD2 NAME(ColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer) { - DISPATCH(VertexArrayRangeNV, (size, pointer), (F, ";")); + DISPATCH(ColorPointerEXT, (size, type, stride, count, pointer), (F, "glColorPointerEXT(%d, 0x%x, %p, %p, %p);", size, type, (void *) stride, (void *) count, (void *) pointer)); } -/* 191. GL_NV_register_combiners */ -KEYWORD1 void KEYWORD2 NAME(CombinerParameterfvNV)(GLenum pname, const GLfloat * params) +KEYWORD1 void KEYWORD2 NAME(DrawArraysEXT)(GLenum mode, GLint first, GLsizei count) { - DISPATCH(CombinerParameterfvNV, (pname, params), (F, ";")); + DISPATCH(DrawArrays, (mode, first, count), (F, "glDrawArraysEXT(0x%x, %d, %p);", mode, first, (void *) count)); } -KEYWORD1 void KEYWORD2 NAME(CombinerParameterfNV)(GLenum pname, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(EdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLboolean * pointer) { - DISPATCH(CombinerParameterfNV, (pname, param), (F, ";")); + DISPATCH(EdgeFlagPointerEXT, (stride, count, pointer), (F, "glEdgeFlagPointerEXT(%p, %p, %p);", (void *) stride, (void *) count, (void *) pointer)); } -KEYWORD1 void KEYWORD2 NAME(CombinerParameterivNV)(GLenum pname, const GLint * params) +KEYWORD1 void KEYWORD2 NAME(GetPointervEXT)(GLenum pname, GLvoid ** params) { - DISPATCH(CombinerParameterivNV, (pname, params), (F, ";")); + DISPATCH(GetPointerv, (pname, params), (F, "glGetPointervEXT(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(CombinerParameteriNV)(GLenum pname, GLint param) +KEYWORD1 void KEYWORD2 NAME(IndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer) { - DISPATCH(CombinerParameteriNV, (pname, param), (F, ";")); + DISPATCH(IndexPointerEXT, (type, stride, count, pointer), (F, "glIndexPointerEXT(0x%x, %p, %p, %p);", type, (void *) stride, (void *) count, (void *) pointer)); } -KEYWORD1 void KEYWORD2 NAME(CombinerInputNV)(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) +KEYWORD1 void KEYWORD2 NAME(NormalPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer) { - DISPATCH(CombinerInputNV, (stage, portion, variable, input, mapping, componentUsage), (F, ";")); + DISPATCH(NormalPointerEXT, (type, stride, count, pointer), (F, "glNormalPointerEXT(0x%x, %p, %p, %p);", type, (void *) stride, (void *) count, (void *) pointer)); } -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) +KEYWORD1 void KEYWORD2 NAME(TexCoordPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer) { - DISPATCH(CombinerOutputNV, (stage, portion, abOutput, cdOutput, sumOutput, scale, bias, abDotProduct, cdDotProduct, muxSum), (F, ";")); + DISPATCH(TexCoordPointerEXT, (size, type, stride, count, pointer), (F, "glTexCoordPointerEXT(%d, 0x%x, %p, %p, %p);", size, type, (void *) stride, (void *) count, (void *) pointer)); } -KEYWORD1 void KEYWORD2 NAME(FinalCombinerInputNV)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) +KEYWORD1 void KEYWORD2 NAME(VertexPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer) { - DISPATCH(FinalCombinerInputNV, (variable, input, mapping, componentUsage), (F, ";")); + DISPATCH(VertexPointerEXT, (size, type, stride, count, pointer), (F, "glVertexPointerEXT(%d, 0x%x, %p, %p, %p);", size, type, (void *) stride, (void *) count, (void *) pointer)); } -KEYWORD1 void KEYWORD2 NAME(GetCombinerInputParameterfvNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params) +KEYWORD1 void KEYWORD2 NAME(BlendEquationEXT)(GLenum mode) { - DISPATCH(GetCombinerInputParameterfvNV, (stage, portion, variable, pname, params), (F, ";")); + DISPATCH(BlendEquation, (mode), (F, "glBlendEquationEXT(0x%x);", mode)); } -KEYWORD1 void KEYWORD2 NAME(GetCombinerInputParameterivNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params) +KEYWORD1 void KEYWORD2 NAME(SpriteParameterfSGIX)(GLenum pname, GLfloat param) { - DISPATCH(GetCombinerInputParameterivNV, (stage, portion, variable, pname, params), (F, ";")); + DISPATCH(SpriteParameterfSGIX, (pname, param), (F, "glSpriteParameterfSGIX(0x%x, %f);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(GetCombinerOutputParameterfvNV)(GLenum stage, GLenum portion, GLenum pname, GLfloat * params) +KEYWORD1 void KEYWORD2 NAME(SpriteParameterfvSGIX)(GLenum pname, const GLfloat * params) { - DISPATCH(GetCombinerOutputParameterfvNV, (stage, portion, pname, params), (F, ";")); + DISPATCH(SpriteParameterfvSGIX, (pname, params), (F, "glSpriteParameterfvSGIX(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(GetCombinerOutputParameterivNV)(GLenum stage, GLenum portion, GLenum pname, GLint * params) +KEYWORD1 void KEYWORD2 NAME(SpriteParameteriSGIX)(GLenum pname, GLint param) { - DISPATCH(GetCombinerOutputParameterivNV, (stage, portion, pname, params), (F, ";")); + DISPATCH(SpriteParameteriSGIX, (pname, param), (F, "glSpriteParameteriSGIX(0x%x, %d);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(GetFinalCombinerInputParameterfvNV)(GLenum variable, GLenum pname, GLfloat * params) +KEYWORD1 void KEYWORD2 NAME(SpriteParameterivSGIX)(GLenum pname, const GLint * params) { -DISPATCH(GetFinalCombinerInputParameterfvNV, (variable, pname, params), (F, ";")); + DISPATCH(SpriteParameterivSGIX, (pname, params), (F, "glSpriteParameterivSGIX(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(GetFinalCombinerInputParameterivNV)(GLenum variable, GLenum pname, GLint * params) +KEYWORD1 void KEYWORD2 NAME(PointParameterfARB)(GLenum pname, GLfloat param) { -DISPATCH(GetFinalCombinerInputParameterivNV, (variable, pname, params), (F, ";")); + DISPATCH(PointParameterfARB, (pname, param), (F, "glPointParameterfARB(0x%x, %f);", pname, param)); } -/* 194. GL_EXT_vertex_weighting */ -KEYWORD1 void KEYWORD2 NAME(VertexWeightfEXT)(GLfloat weight) +KEYWORD1 void KEYWORD2 NAME(PointParameterfvARB)(GLenum pname, const GLfloat * params) { - DISPATCH(VertexWeightfEXT, (weight), (F, ";")); + DISPATCH(PointParameterfvARB, (pname, params), (F, "glPointParameterfvARB(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(VertexWeightfvEXT)(const GLfloat * weight) +KEYWORD1 void KEYWORD2 NAME(PointParameterfEXT)(GLenum pname, GLfloat param) { - DISPATCH(VertexWeightfvEXT, (weight), (F, ";")); + DISPATCH(PointParameterfARB, (pname, param), (F, "glPointParameterfEXT(0x%x, %f);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(VertexWeightPointerEXT)(GLsizei size, GLenum type, GLsizei stride, const GLvoid * pointer) +KEYWORD1 void KEYWORD2 NAME(PointParameterfvEXT)(GLenum pname, const GLfloat * params) { - DISPATCH(VertexWeightPointerEXT, (size, type, stride, pointer), (F, ";")); + DISPATCH(PointParameterfvARB, (pname, params), (F, "glPointParameterfvEXT(0x%x, %p);", pname, (void *) params)); } -/* 196. GL_MESA_resize_buffers */ -KEYWORD1 void KEYWORD2 NAME(ResizeBuffersMESA)(void) +KEYWORD1 void KEYWORD2 NAME(PointParameterfSGIS)(GLenum pname, GLfloat param) { - DISPATCH(ResizeBuffersMESA, (), (F, "glResizeBuffersMESA();")); + DISPATCH(PointParameterfARB, (pname, param), (F, "glPointParameterfSGIS(0x%x, %f);", pname, param)); } -/* 197. GL_MESA_window_pos */ -KEYWORD1 void KEYWORD2 NAME(WindowPos2iMESA)(GLint x, GLint y) +KEYWORD1 void KEYWORD2 NAME(PointParameterfvSGIS)(GLenum pname, const GLfloat * params) { - DISPATCH(WindowPos2iMESA, (x, y), (F, ";")); + DISPATCH(PointParameterfvARB, (pname, params), (F, "glPointParameterfvSGIS(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos2sMESA)(GLshort x, GLshort y) +KEYWORD1 GLint KEYWORD2 NAME(GetInstrumentsSGIX)(void) { - DISPATCH(WindowPos2sMESA, (x, y), (F, ";")); + RETURN_DISPATCH(GetInstrumentsSGIX, (), (F, "glGetInstrumentsSGIX();")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos2fMESA)(GLfloat x, GLfloat y) +KEYWORD1 void KEYWORD2 NAME(InstrumentsBufferSGIX)(GLsizei size, GLint * buffer) { - DISPATCH(WindowPos2fMESA, (x, y), (F, ";")); + DISPATCH(InstrumentsBufferSGIX, (size, buffer), (F, "glInstrumentsBufferSGIX(%p, %p);", (void *) size, (void *) buffer)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos2dMESA)(GLdouble x, GLdouble y) +KEYWORD1 GLint KEYWORD2 NAME(PollInstrumentsSGIX)(GLint * marker_p) { - DISPATCH(WindowPos2dMESA, (x, y), (F, ";")); + RETURN_DISPATCH(PollInstrumentsSGIX, (marker_p), (F, "glPollInstrumentsSGIX(%p);", (void *) marker_p)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos2ivMESA)(const GLint *p) +KEYWORD1 void KEYWORD2 NAME(ReadInstrumentsSGIX)(GLint marker) { - DISPATCH(WindowPos2ivMESA, (p), (F, ";")); + DISPATCH(ReadInstrumentsSGIX, (marker), (F, "glReadInstrumentsSGIX(%d);", marker)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos2svMESA)(const GLshort *p) +KEYWORD1 void KEYWORD2 NAME(StartInstrumentsSGIX)(void) { - DISPATCH(WindowPos2svMESA, (p), (F, ";")); + DISPATCH(StartInstrumentsSGIX, (), (F, "glStartInstrumentsSGIX();")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos2fvMESA)(const GLfloat *p) +KEYWORD1 void KEYWORD2 NAME(StopInstrumentsSGIX)(GLint marker) { - DISPATCH(WindowPos2fvMESA, (p), (F, ";")); + DISPATCH(StopInstrumentsSGIX, (marker), (F, "glStopInstrumentsSGIX(%d);", marker)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos2dvMESA)(const GLdouble *p) +KEYWORD1 void KEYWORD2 NAME(FrameZoomSGIX)(GLint factor) { - DISPATCH(WindowPos2dvMESA, (p), (F, ";")); + DISPATCH(FrameZoomSGIX, (factor), (F, "glFrameZoomSGIX(%d);", factor)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3iMESA)(GLint x, GLint y, GLint z) +KEYWORD1 void KEYWORD2 NAME(TagSampleBufferSGIX)(void) { - DISPATCH(WindowPos3iMESA, (x, y, z), (F, ";")); + DISPATCH(TagSampleBufferSGIX, (), (F, "glTagSampleBufferSGIX();")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3sMESA)(GLshort x, GLshort y, GLshort z) +/* No dispatch for DeformationMap3dSGIX() */ +/* No dispatch for DeformationMap3fSGIX() */ +/* No dispatch for DeformSGIX() */ +/* No dispatch for LoadIdentityDeformationMapSGIX() */ +KEYWORD1 void KEYWORD2 NAME(ReferencePlaneSGIX)(const GLdouble * equation) { - DISPATCH(WindowPos3sMESA, (x, y, z), (F, ";")); + DISPATCH(ReferencePlaneSGIX, (equation), (F, "glReferencePlaneSGIX(%p);", (void *) equation)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3fMESA)(GLfloat x, GLfloat y, GLfloat z) +KEYWORD1 void KEYWORD2 NAME(FlushRasterSGIX)(void) { - DISPATCH(WindowPos3fMESA, (x, y, z), (F, ";")); + DISPATCH(FlushRasterSGIX, (), (F, "glFlushRasterSGIX();")); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3dMESA)(GLdouble x, GLdouble y, GLdouble z) +/* No dispatch for FogFuncSGIS() */ +/* No dispatch for GetFogFuncSGIS() */ +/* No dispatch for ImageTransformParameteriHP() */ +/* No dispatch for ImageTransformParameterfHP() */ +/* No dispatch for ImageTransformParameterivHP() */ +/* No dispatch for ImageTransformParameterfvHP() */ +/* No dispatch for GetImageTransformParameterivHP() */ +/* No dispatch for GetImageTransformParameterfvHP() */ +KEYWORD1 void KEYWORD2 NAME(ColorSubTableEXT)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data) { - DISPATCH(WindowPos3dMESA, (x, y, z), (F, ";")); + DISPATCH(ColorSubTable, (target, start, count, format, type, data), (F, "glColorSubTableEXT(0x%x, %p, %p, 0x%x, 0x%x, %p);", target, (void *) start, (void *) count, format, type, (void *) data)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3ivMESA)(const GLint *p) +KEYWORD1 void KEYWORD2 NAME(CopyColorSubTableEXT)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) { - DISPATCH(WindowPos3ivMESA, (p), (F, ";")); + DISPATCH(CopyColorSubTable, (target, start, x, y, width), (F, "glCopyColorSubTableEXT(0x%x, %p, %d, %d, %p);", target, (void *) start, x, y, (void *) width)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3svMESA)(const GLshort *p) +KEYWORD1 void KEYWORD2 NAME(HintPGI)(GLenum target, GLint mode) { - DISPATCH(WindowPos3svMESA, (p), (F, ";")); + DISPATCH(HintPGI, (target, mode), (F, "glHintPGI(0x%x, %d);", target, mode)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3fvMESA)(const GLfloat *p) +KEYWORD1 void KEYWORD2 NAME(ColorTableEXT)(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid * table) { - DISPATCH(WindowPos3fvMESA, (p), (F, ";")); + DISPATCH(ColorTable, (target, internalFormat, width, format, type, table), (F, "glColorTableEXT(0x%x, 0x%x, %p, 0x%x, 0x%x, %p);", target, internalFormat, (void *) width, format, type, (void *) table)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos3dvMESA)(const GLdouble *p) +KEYWORD1 void KEYWORD2 NAME(GetColorTableEXT)(GLenum target, GLenum format, GLenum type, GLvoid * data) { - DISPATCH(WindowPos3dvMESA, (p), (F, ";")); + DISPATCH(GetColorTableEXT, (target, format, type, data), (F, "glGetColorTableEXT(0x%x, 0x%x, 0x%x, %p);", target, format, type, (void *) data)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4iMESA)(GLint x, GLint y, GLint z, GLint w) +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterivEXT)(GLenum target, GLenum pname, GLint * params) { - DISPATCH(WindowPos4iMESA, (x, y, z, w), (F, ";")); + DISPATCH(GetColorTableParameterivEXT, (target, pname, params), (F, "glGetColorTableParameterivEXT(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -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, "glGetColorTableParameterfvEXT(0x%x, 0x%x, %p);", target, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4fMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) +KEYWORD1 void KEYWORD2 NAME(GetListParameterfvSGIX)(GLuint list, GLenum pname, GLfloat * params) { - DISPATCH(WindowPos4fMESA, (x, y, z, w), (F, ";")); + DISPATCH(GetListParameterfvSGIX, (list, pname, params), (F, "glGetListParameterfvSGIX(%d, 0x%x, %p);", list, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4dMESA)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) +KEYWORD1 void KEYWORD2 NAME(GetListParameterivSGIX)(GLuint list, GLenum pname, GLint * params) { - DISPATCH(WindowPos4dMESA, (x, y, z, w), (F, ";")); + DISPATCH(GetListParameterivSGIX, (list, pname, params), (F, "glGetListParameterivSGIX(%d, 0x%x, %p);", list, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4ivMESA)(const GLint *p) +KEYWORD1 void KEYWORD2 NAME(ListParameterfSGIX)(GLuint list, GLenum pname, GLfloat param) { - DISPATCH(WindowPos4ivMESA, (p), (F, ";")); + DISPATCH(ListParameterfSGIX, (list, pname, param), (F, "glListParameterfSGIX(%d, 0x%x, %f);", list, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4svMESA)(const GLshort *p) +KEYWORD1 void KEYWORD2 NAME(ListParameterfvSGIX)(GLuint list, GLenum pname, const GLfloat * params) { - DISPATCH(WindowPos4svMESA, (p), (F, ";")); + DISPATCH(ListParameterfvSGIX, (list, pname, params), (F, "glListParameterfvSGIX(%d, 0x%x, %p);", list, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4fvMESA)(const GLfloat *p) +KEYWORD1 void KEYWORD2 NAME(ListParameteriSGIX)(GLuint list, GLenum pname, GLint param) { - DISPATCH(WindowPos4fvMESA, (p), (F, ";")); + DISPATCH(ListParameteriSGIX, (list, pname, param), (F, "glListParameteriSGIX(%d, 0x%x, %d);", list, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(WindowPos4dvMESA)(const GLdouble *p) +KEYWORD1 void KEYWORD2 NAME(ListParameterivSGIX)(GLuint list, GLenum pname, const GLint * params) { - DISPATCH(WindowPos4dvMESA, (p), (F, ";")); + DISPATCH(ListParameterivSGIX, (list, pname, params), (F, "glListParameterivSGIX(%d, 0x%x, %p);", list, pname, (void *) params)); } -/* 208. GL_3DFX_tbuffer */ -KEYWORD1 void KEYWORD2 NAME(TbufferMask3DFX)(GLuint mask) +KEYWORD1 void KEYWORD2 NAME(IndexMaterialEXT)(GLenum face, GLenum mode) { - DISPATCH(TbufferMask3DFX, (mask), (F, "glTbufferMask3DFX(0x%x);", mask)); + DISPATCH(IndexMaterialEXT, (face, mode), (F, "glIndexMaterialEXT(0x%x, 0x%x);", face, mode)); } -/* 209. WGL_EXT_multisample */ - -KEYWORD1 void KEYWORD2 NAME(SampleMaskEXT)(GLclampf value, GLboolean invert) +KEYWORD1 void KEYWORD2 NAME(IndexFuncEXT)(GLenum func, GLclampf ref) { - DISPATCH(SampleMaskSGIS, (value, invert), (F, ";")); + DISPATCH(IndexFuncEXT, (func, ref), (F, "glIndexFuncEXT(0x%x, %f);", func, ref)); } -KEYWORD1 void KEYWORD2 NAME(SamplePatternEXT)(GLenum pattern) +KEYWORD1 void KEYWORD2 NAME(LockArraysEXT)(GLint first, GLsizei count) { - DISPATCH(SamplePatternSGIS, (pattern), (F, ";")); + DISPATCH(LockArraysEXT, (first, count), (F, "glLockArraysEXT(%d, %p);", first, (void *) count)); } -/* ARB 1. GL_ARB_multitexture */ - -KEYWORD1 void KEYWORD2 NAME(ActiveTextureARB)(GLenum texture) +KEYWORD1 void KEYWORD2 NAME(UnlockArraysEXT)(void) { - DISPATCH(ActiveTextureARB, (texture), (F, ";")); + DISPATCH(UnlockArraysEXT, (), (F, "glUnlockArraysEXT();")); } -KEYWORD1 void KEYWORD2 NAME(ClientActiveTextureARB)(GLenum texture) +KEYWORD1 void KEYWORD2 NAME(CullParameterdvEXT)(GLenum pname, GLdouble * params) { - DISPATCH(ClientActiveTextureARB, (texture), (F, ";")); + DISPATCH(CullParameterdvEXT, (pname, params), (F, "glCullParameterdvEXT(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dARB)(GLenum target, GLdouble s) +KEYWORD1 void KEYWORD2 NAME(CullParameterfvEXT)(GLenum pname, GLfloat * params) { - DISPATCH(MultiTexCoord1dARB, (target, s), (F, ";")); + DISPATCH(CullParameterfvEXT, (pname, params), (F, "glCullParameterfvEXT(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dvARB)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(FragmentColorMaterialSGIX)(GLenum face, GLenum mode) { - DISPATCH(MultiTexCoord1dvARB, (target, v), (F, ";")); + DISPATCH(FragmentColorMaterialSGIX, (face, mode), (F, "glFragmentColorMaterialSGIX(0x%x, 0x%x);", face, mode)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fARB)(GLenum target, GLfloat s) +KEYWORD1 void KEYWORD2 NAME(FragmentLightfSGIX)(GLenum light, GLenum pname, GLfloat param) { - DISPATCH(MultiTexCoord1fARB, (target, s), (F, ";")); + DISPATCH(FragmentLightfSGIX, (light, pname, param), (F, "glFragmentLightfSGIX(0x%x, 0x%x, %f);", light, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fvARB)(GLenum target, const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(FragmentLightfvSGIX)(GLenum light, GLenum pname, const GLfloat * params) { - DISPATCH(MultiTexCoord1fvARB, (target, v), (F, ";")); + DISPATCH(FragmentLightfvSGIX, (light, pname, params), (F, "glFragmentLightfvSGIX(0x%x, 0x%x, %p);", light, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1iARB)(GLenum target, GLint s) +KEYWORD1 void KEYWORD2 NAME(FragmentLightiSGIX)(GLenum light, GLenum pname, GLint param) { - DISPATCH(MultiTexCoord1iARB, (target, s), (F, ";")); + DISPATCH(FragmentLightiSGIX, (light, pname, param), (F, "glFragmentLightiSGIX(0x%x, 0x%x, %d);", light, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1ivARB)(GLenum target, const GLint *v) +KEYWORD1 void KEYWORD2 NAME(FragmentLightivSGIX)(GLenum light, GLenum pname, const GLint * params) { - DISPATCH(MultiTexCoord1ivARB, (target, v), (F, ";")); + DISPATCH(FragmentLightivSGIX, (light, pname, params), (F, "glFragmentLightivSGIX(0x%x, 0x%x, %p);", light, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1sARB)(GLenum target, GLshort s) +KEYWORD1 void KEYWORD2 NAME(FragmentLightModelfSGIX)(GLenum pname, GLfloat param) { - DISPATCH(MultiTexCoord1sARB, (target, s), (F, ";")); + DISPATCH(FragmentLightModelfSGIX, (pname, param), (F, "glFragmentLightModelfSGIX(0x%x, %f);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1svARB)(GLenum target, const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(FragmentLightModelfvSGIX)(GLenum pname, const GLfloat * params) { - DISPATCH(MultiTexCoord1svARB, (target, v), (F, ";")); + DISPATCH(FragmentLightModelfvSGIX, (pname, params), (F, "glFragmentLightModelfvSGIX(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dARB)(GLenum target, GLdouble s, GLdouble t) +KEYWORD1 void KEYWORD2 NAME(FragmentLightModeliSGIX)(GLenum pname, GLint param) { - DISPATCH(MultiTexCoord2dARB, (target, s, t), (F, ";")); + DISPATCH(FragmentLightModeliSGIX, (pname, param), (F, "glFragmentLightModeliSGIX(0x%x, %d);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dvARB)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(FragmentLightModelivSGIX)(GLenum pname, const GLint * params) { - DISPATCH(MultiTexCoord2dvARB, (target, v), (F, ";")); + DISPATCH(FragmentLightModelivSGIX, (pname, params), (F, "glFragmentLightModelivSGIX(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fARB)(GLenum target, GLfloat s, GLfloat t) +KEYWORD1 void KEYWORD2 NAME(FragmentMaterialfSGIX)(GLenum face, GLenum pname, GLfloat param) { - DISPATCH(MultiTexCoord2fARB, (target, s, t), (F, ";")); + DISPATCH(FragmentMaterialfSGIX, (face, pname, param), (F, "glFragmentMaterialfSGIX(0x%x, 0x%x, %f);", face, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fvARB)(GLenum target, const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(FragmentMaterialfvSGIX)(GLenum face, GLenum pname, const GLfloat * params) { - DISPATCH(MultiTexCoord2fvARB, (target, v), (F, ";")); + DISPATCH(FragmentMaterialfvSGIX, (face, pname, params), (F, "glFragmentMaterialfvSGIX(0x%x, 0x%x, %p);", face, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2iARB)(GLenum target, GLint s, GLint t) +KEYWORD1 void KEYWORD2 NAME(FragmentMaterialiSGIX)(GLenum face, GLenum pname, GLint param) { - DISPATCH(MultiTexCoord2iARB, (target, s, t), (F, ";")); + DISPATCH(FragmentMaterialiSGIX, (face, pname, param), (F, "glFragmentMaterialiSGIX(0x%x, 0x%x, %d);", face, pname, param)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2ivARB)(GLenum target, const GLint *v) +KEYWORD1 void KEYWORD2 NAME(FragmentMaterialivSGIX)(GLenum face, GLenum pname, const GLint * params) { - DISPATCH(MultiTexCoord2ivARB, (target, v), (F, ";")); + DISPATCH(FragmentMaterialivSGIX, (face, pname, params), (F, "glFragmentMaterialivSGIX(0x%x, 0x%x, %p);", face, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2sARB)(GLenum target, GLshort s, GLshort t) +KEYWORD1 void KEYWORD2 NAME(GetFragmentLightfvSGIX)(GLenum light, GLenum pname, GLfloat * params) { - DISPATCH(MultiTexCoord2sARB, (target, s, t), (F, ";")); + DISPATCH(GetFragmentLightfvSGIX, (light, pname, params), (F, "glGetFragmentLightfvSGIX(0x%x, 0x%x, %p);", light, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2svARB)(GLenum target, const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(GetFragmentLightivSGIX)(GLenum light, GLenum pname, GLint * params) { - DISPATCH(MultiTexCoord2svARB, (target, v), (F, ";")); + DISPATCH(GetFragmentLightivSGIX, (light, pname, params), (F, "glGetFragmentLightivSGIX(0x%x, 0x%x, %p);", light, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r) +KEYWORD1 void KEYWORD2 NAME(GetFragmentMaterialfvSGIX)(GLenum face, GLenum pname, GLfloat * params) { - DISPATCH(MultiTexCoord3dARB, (target, s, t, r), (F, ";")); + DISPATCH(GetFragmentMaterialfvSGIX, (face, pname, params), (F, "glGetFragmentMaterialfvSGIX(0x%x, 0x%x, %p);", face, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3dvARB)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(GetFragmentMaterialivSGIX)(GLenum face, GLenum pname, GLint * params) { - DISPATCH(MultiTexCoord3dvARB, (target, v), (F, ";")); + DISPATCH(GetFragmentMaterialivSGIX, (face, pname, params), (F, "glGetFragmentMaterialivSGIX(0x%x, 0x%x, %p);", face, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r) +KEYWORD1 void KEYWORD2 NAME(LightEnviSGIX)(GLenum pname, GLint param) { - DISPATCH(MultiTexCoord3fARB, (target, s, t, r), (F, ";")); + DISPATCH(LightEnviSGIX, (pname, param), (F, "glLightEnviSGIX(0x%x, %d);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3fvARB)(GLenum target, const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(DrawRangeElementsEXT)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices) { - DISPATCH(MultiTexCoord3fvARB, (target, v), (F, ";")); + DISPATCH(DrawRangeElements, (mode, start, end, count, type, indices), (F, "glDrawRangeElementsEXT(0x%x, %d, %d, %p, 0x%x, %p);", mode, start, end, (void *) count, type, (void *) indices)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3iARB)(GLenum target, GLint s, GLint t, GLint r) +/* No dispatch for ApplyTextureEXT() */ +/* No dispatch for TextureLightEXT() */ +/* No dispatch for TextureMaterialEXT() */ +/* No dispatch for AsyncMarkerSGIX() */ +/* No dispatch for FinishAsyncSGIX() */ +/* No dispatch for PollAsyncSGIX() */ +/* No dispatch for GenAsyncMarkersSGIX() */ +/* No dispatch for DeleteAsyncMarkersSGIX() */ +/* No dispatch for IsAsyncMarkerSGIX() */ +/* No dispatch for VertexPointervINTEL() */ +/* No dispatch for NormalPointervINTEL() */ +/* No dispatch for ColorPointervINTEL() */ +/* No dispatch for TexCoordPointervINTEL() */ +/* No dispatch for PixelTransformParameteriEXT() */ +/* No dispatch for PixelTransformParameterfEXT() */ +/* No dispatch for PixelTransformParameterivEXT() */ +/* No dispatch for PixelTransformParameterfvEXT() */ +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3bEXT)(GLbyte red, GLbyte green, GLbyte blue) { - DISPATCH(MultiTexCoord3iARB, (target, s, t, r), (F, ";")); + DISPATCH(SecondaryColor3bEXT, (red, green, blue), (F, "glSecondaryColor3bEXT(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3ivARB)(GLenum target, const GLint *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3bvEXT)(const GLbyte * v) { - DISPATCH(MultiTexCoord3ivARB, (target, v), (F, ";")); + DISPATCH(SecondaryColor3bvEXT, (v), (F, "glSecondaryColor3bvEXT(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3sARB)(GLenum target, GLshort s, GLshort t, GLshort r) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3dEXT)(GLdouble red, GLdouble green, GLdouble blue) { - DISPATCH(MultiTexCoord3sARB, (target, s, t, r), (F, ";")); + DISPATCH(SecondaryColor3dEXT, (red, green, blue), (F, "glSecondaryColor3dEXT(%f, %f, %f);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3svARB)(GLenum target, const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3dvEXT)(const GLdouble * v) { - DISPATCH(MultiTexCoord3svARB, (target, v), (F, ";")); + DISPATCH(SecondaryColor3dvEXT, (v), (F, "glSecondaryColor3dvEXT(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3fEXT)(GLfloat red, GLfloat green, GLfloat blue) { - DISPATCH(MultiTexCoord4dARB, (target, s, t, r, q), (F, ";")); + DISPATCH(SecondaryColor3fEXT, (red, green, blue), (F, "glSecondaryColor3fEXT(%f, %f, %f);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dvARB)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3fvEXT)(const GLfloat * v) { - DISPATCH(MultiTexCoord4dvARB, (target, v), (F, ";")); + DISPATCH(SecondaryColor3fvEXT, (v), (F, "glSecondaryColor3fvEXT(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3iEXT)(GLint red, GLint green, GLint blue) { - DISPATCH(MultiTexCoord4fARB, (target, s, t, r, q), (F, ";")); + DISPATCH(SecondaryColor3iEXT, (red, green, blue), (F, "glSecondaryColor3iEXT(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fvARB)(GLenum target, const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ivEXT)(const GLint * v) { - DISPATCH(MultiTexCoord4fvARB, (target, v), (F, ";")); + DISPATCH(SecondaryColor3ivEXT, (v), (F, "glSecondaryColor3ivEXT(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4iARB)(GLenum target, GLint s, GLint t, GLint r, GLint q) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3sEXT)(GLshort red, GLshort green, GLshort blue) { - DISPATCH(MultiTexCoord4iARB, (target, s, t, r, q), (F, ";")); + DISPATCH(SecondaryColor3sEXT, (red, green, blue), (F, "glSecondaryColor3sEXT(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4ivARB)(GLenum target, const GLint *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3svEXT)(const GLshort * v) { - DISPATCH(MultiTexCoord4ivARB, (target, v), (F, ";")); + DISPATCH(SecondaryColor3svEXT, (v), (F, "glSecondaryColor3svEXT(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4sARB)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ubEXT)(GLubyte red, GLubyte green, GLubyte blue) { - DISPATCH(MultiTexCoord4sARB, (target, s, t, r, q), (F, ";")); + DISPATCH(SecondaryColor3ubEXT, (red, green, blue), (F, "glSecondaryColor3ubEXT(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4svARB)(GLenum target, const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ubvEXT)(const GLubyte * v) { - DISPATCH(MultiTexCoord4svARB, (target, v), (F, ";")); + DISPATCH(SecondaryColor3ubvEXT, (v), (F, "glSecondaryColor3ubvEXT(%p);", (void *) v)); } - -/* ARB 3. GL_ARB_transpose_matrix */ -KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixdARB)(const GLdouble m[16]) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3uiEXT)(GLuint red, GLuint green, GLuint blue) { - DISPATCH(LoadTransposeMatrixdARB, (m), (F, "glLoadTransposeMatrixARB(%p);", (void *) m)); + DISPATCH(SecondaryColor3uiEXT, (red, green, blue), (F, "glSecondaryColor3uiEXT(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixfARB)(const GLfloat m[16]) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3uivEXT)(const GLuint * v) { - DISPATCH(LoadTransposeMatrixfARB, (m), (F, "glLoadTransposeMatrixfARB(%p)", (void *) m)); + DISPATCH(SecondaryColor3uivEXT, (v), (F, "glSecondaryColor3uivEXT(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixdARB)(const GLdouble m[16]) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3usEXT)(GLushort red, GLushort green, GLushort blue) { - DISPATCH(MultTransposeMatrixdARB, (m), (F, "glMultTransposeMatrixfARB(%p)", (void *) m)); + DISPATCH(SecondaryColor3usEXT, (red, green, blue), (F, "glSecondaryColor3usEXT(%d, %d, %d);", red, green, blue)); } -KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixfARB)(const GLfloat m[16]) +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3usvEXT)(const GLushort * v) { - DISPATCH(MultTransposeMatrixfARB, (m), (F, "glLoadTransposeMatrixfARB(%p)", (void *) m)); + DISPATCH(SecondaryColor3usvEXT, (v), (F, "glSecondaryColor3usvEXT(%p);", (void *) v)); } -/* ARB 5. GL_ARB_multisample */ -KEYWORD1 void KEYWORD2 NAME(SampleCoverageARB)(GLclampf value, GLboolean invert) +KEYWORD1 void KEYWORD2 NAME(SecondaryColorPointerEXT)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { - DISPATCH(SampleCoverageARB, (value, invert), (F, "glSampleCoverageARB(%f, %d);", value, invert)); + DISPATCH(SecondaryColorPointerEXT, (size, type, stride, pointer), (F, "glSecondaryColorPointerEXT(%d, 0x%x, %p, %p);", size, type, (void *) stride, (void *) pointer)); } -/* -KEYWORD1 void KEYWORD2 NAME(SamplePassARB)(GLenum pass) +/* No dispatch for TextureNormalEXT() */ +/* No dispatch for MultiDrawArraysEXT() */ +/* No dispatch for MultiDrawElementsEXT() */ +KEYWORD1 void KEYWORD2 NAME(FogCoordfEXT)(GLfloat coord) { - DISPATCH(SamplePassARB, (pass), (F, "glSamplePassARB(0x%x);", pass)); + DISPATCH(FogCoordfEXT, (coord), (F, "glFogCoordfEXT(%f);", coord)); } -*/ -/* 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) +KEYWORD1 void KEYWORD2 NAME(FogCoordfvEXT)(const GLfloat * coord) { - DISPATCH(CompressedTexImage1DARB, (target, level, internalformat, width, border, imageSize, data), (F, "glCompressedTexImage1DARB();")); + DISPATCH(FogCoordfvEXT, (coord), (F, "glFogCoordfvEXT(%p);", (void *) coord)); } -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(FogCoorddEXT)(GLdouble coord) { - DISPATCH(CompressedTexImage2DARB, (target, level, internalformat, width, height, border, imageSize, data), (F, "glCompressedTexImage2DARB();")); + DISPATCH(FogCoorddEXT, (coord), (F, "glFogCoorddEXT(%f);", coord)); } -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(FogCoorddvEXT)(const GLdouble * coord) { - DISPATCH(CompressedTexImage3DARB, (target, level, internalformat, width, height, depth, border, imageSize, data), (F, "glCompressedTexImage3DARB();")); + DISPATCH(FogCoorddvEXT, (coord), (F, "glFogCoorddvEXT(%p);", (void *) coord)); } -KEYWORD1 void KEYWORD2 NAME(CompressedTexSubImage1DARB)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(FogCoordPointerEXT)(GLenum type, GLsizei stride, const GLvoid * pointer) { - DISPATCH(CompressedTexSubImage1DARB, (target, level, xoffset, width, format, imageSize, data), (F, "glCompressedTexSubImage1DARB();")); -} - -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(FogCoordPointerEXT, (type, stride, pointer), (F, "glFogCoordPointerEXT(0x%x, %p, %p);", type, (void *) stride, (void *) pointer)); +} + +/* No dispatch for Tangent3bEXT() */ +/* No dispatch for Tangent3bvEXT() */ +/* No dispatch for Tangent3dEXT() */ +/* No dispatch for Tangent3dvEXT() */ +/* No dispatch for Tangent3fEXT() */ +/* No dispatch for Tangent3fvEXT() */ +/* No dispatch for Tangent3iEXT() */ +/* No dispatch for Tangent3ivEXT() */ +/* No dispatch for Tangent3sEXT() */ +/* No dispatch for Tangent3svEXT() */ +/* No dispatch for Binormal3bEXT() */ +/* No dispatch for Binormal3bvEXT() */ +/* No dispatch for Binormal3dEXT() */ +/* No dispatch for Binormal3dvEXT() */ +/* No dispatch for Binormal3fEXT() */ +/* No dispatch for Binormal3fvEXT() */ +/* No dispatch for Binormal3iEXT() */ +/* No dispatch for Binormal3ivEXT() */ +/* No dispatch for Binormal3sEXT() */ +/* No dispatch for Binormal3svEXT() */ +/* No dispatch for TangentPointerEXT() */ +/* No dispatch for BinormalPointerEXT() */ +/* No dispatch for FinishTextureSUNX() */ +/* No dispatch for GlobalAlphaFactorbSUN() */ +/* No dispatch for GlobalAlphaFactorsSUN() */ +/* No dispatch for GlobalAlphaFactoriSUN() */ +/* No dispatch for GlobalAlphaFactorfSUN() */ +/* No dispatch for GlobalAlphaFactordSUN() */ +/* No dispatch for GlobalAlphaFactorubSUN() */ +/* No dispatch for GlobalAlphaFactorusSUN() */ +/* No dispatch for GlobalAlphaFactoruiSUN() */ +/* No dispatch for ReplacementCodeuiSUN() */ +/* No dispatch for ReplacementCodeusSUN() */ +/* No dispatch for ReplacementCodeubSUN() */ +/* No dispatch for ReplacementCodeuivSUN() */ +/* No dispatch for ReplacementCodeusvSUN() */ +/* No dispatch for ReplacementCodeubvSUN() */ +/* No dispatch for ReplacementCodePointerSUN() */ +/* No dispatch for Color4ubVertex2fSUN() */ +/* No dispatch for Color4ubVertex2fvSUN() */ +/* No dispatch for Color4ubVertex3fSUN() */ +/* No dispatch for Color4ubVertex3fvSUN() */ +/* No dispatch for Color3fVertex3fSUN() */ +/* No dispatch for Color3fVertex3fvSUN() */ +/* No dispatch for Normal3fVertex3fSUN() */ +/* No dispatch for Normal3fVertex3fvSUN() */ +/* No dispatch for Color4fNormal3fVertex3fSUN() */ +/* No dispatch for Color4fNormal3fVertex3fvSUN() */ +/* No dispatch for TexCoord2fVertex3fSUN() */ +/* No dispatch for TexCoord2fVertex3fvSUN() */ +/* No dispatch for TexCoord4fVertex4fSUN() */ +/* No dispatch for TexCoord4fVertex4fvSUN() */ +/* No dispatch for TexCoord2fColor4ubVertex3fSUN() */ +/* No dispatch for TexCoord2fColor4ubVertex3fvSUN() */ +/* No dispatch for TexCoord2fColor3fVertex3fSUN() */ +/* No dispatch for TexCoord2fColor3fVertex3fvSUN() */ +/* No dispatch for TexCoord2fNormal3fVertex3fSUN() */ +/* No dispatch for TexCoord2fNormal3fVertex3fvSUN() */ +/* No dispatch for TexCoord2fColor4fNormal3fVertex3fSUN() */ +/* No dispatch for TexCoord2fColor4fNormal3fVertex3fvSUN() */ +/* No dispatch for TexCoord4fColor4fNormal3fVertex4fSUN() */ +/* No dispatch for TexCoord4fColor4fNormal3fVertex4fvSUN() */ +/* No dispatch for ReplacementCodeuiVertex3fSUN() */ +/* No dispatch for ReplacementCodeuiVertex3fvSUN() */ +/* No dispatch for ReplacementCodeuiColor4ubVertex3fSUN() */ +/* No dispatch for ReplacementCodeuiColor4ubVertex3fvSUN() */ +/* No dispatch for ReplacementCodeuiColor3fVertex3fSUN() */ +/* No dispatch for ReplacementCodeuiColor3fVertex3fvSUN() */ +/* No dispatch for ReplacementCodeuiNormal3fVertex3fSUN() */ +/* No dispatch for ReplacementCodeuiNormal3fVertex3fvSUN() */ +/* No dispatch for ReplacementCodeuiColor4fNormal3fVertex3fSUN() */ +/* No dispatch for ReplacementCodeuiColor4fNormal3fVertex3fvSUN() */ +/* No dispatch for ReplacementCodeuiTexCoord2fVertex3fSUN() */ +/* No dispatch for ReplacementCodeuiTexCoord2fVertex3fvSUN() */ +/* No dispatch for ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN() */ +/* No dispatch for ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN() */ +/* No dispatch for ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN() */ +/* No dispatch for ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN() */ +KEYWORD1 void KEYWORD2 NAME(BlendFuncSeparateEXT)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { - DISPATCH(CompressedTexSubImage2DARB, (target, level, xoffset, yoffset, width, height, format, imageSize, data), (F, "glCompressedTexSubImage2DARB();")); + DISPATCH(BlendFuncSeparateEXT, (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha), (F, "glBlendFuncSeparateEXT(0x%x, 0x%x, 0x%x, 0x%x);", sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)); } -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(BlendFuncSeparateINGR)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { - DISPATCH(CompressedTexSubImage3DARB, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data), (F, "glCompressedTexSubImage3DARB();")); + DISPATCH(BlendFuncSeparateEXT, (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha), (F, "glBlendFuncSeparateINGR(0x%x, 0x%x, 0x%x, 0x%x);", sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)); } -KEYWORD1 void KEYWORD2 NAME(GetCompressedTexImageARB)(GLenum target, GLint lod, GLvoid *img) +KEYWORD1 void KEYWORD2 NAME(VertexWeightfEXT)(GLfloat weight) { - DISPATCH(GetCompressedTexImageARB, (target, lod, img), (F, "glGetCompressedTexImageARB();")); + DISPATCH(VertexWeightfEXT, (weight), (F, "glVertexWeightfEXT(%f);", weight)); } - -/* GL 1.3 */ - -KEYWORD1 void KEYWORD2 NAME(ActiveTexture)(GLenum texture) +KEYWORD1 void KEYWORD2 NAME(VertexWeightfvEXT)(const GLfloat * weight) { - DISPATCH(ActiveTextureARB, (texture), (F, ";")); + DISPATCH(VertexWeightfvEXT, (weight), (F, "glVertexWeightfvEXT(%p);", (void *) weight)); } -KEYWORD1 void KEYWORD2 NAME(ClientActiveTexture)(GLenum texture) +KEYWORD1 void KEYWORD2 NAME(VertexWeightPointerEXT)(GLsizei size, GLenum type, GLsizei stride, const GLvoid * pointer) { - DISPATCH(ClientActiveTextureARB, (texture), (F, ";")); + DISPATCH(VertexWeightPointerEXT, (size, type, stride, pointer), (F, "glVertexWeightPointerEXT(%p, 0x%x, %p, %p);", (void *) size, type, (void *) stride, (void *) pointer)); } -KEYWORD1 void KEYWORD2 NAME(CompressedTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(FlushVertexArrayRangeNV)(void) { - DISPATCH(CompressedTexImage1DARB, (target, level, internalformat, width, border, imageSize, data), (F, "glCompressedTexImage1DARB();")); + DISPATCH(FlushVertexArrayRangeNV, (), (F, "glFlushVertexArrayRangeNV();")); } -KEYWORD1 void KEYWORD2 NAME(CompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(VertexArrayRangeNV)(GLsizei length, const GLvoid * pointer) { - DISPATCH(CompressedTexImage2DARB, (target, level, internalformat, width, height, border, imageSize, data), (F, "glCompressedTexImage2DARB();")); + DISPATCH(VertexArrayRangeNV, (length, pointer), (F, "glVertexArrayRangeNV(%p, %p);", (void *) length, (void *) pointer)); } -KEYWORD1 void KEYWORD2 NAME(CompressedTexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(CombinerParameterfvNV)(GLenum pname, const GLfloat * params) { - DISPATCH(CompressedTexImage3DARB, (target, level, internalformat, width, height, depth, border, imageSize, data), (F, "glCompressedTexImage3DARB();")); + DISPATCH(CombinerParameterfvNV, (pname, params), (F, "glCombinerParameterfvNV(0x%x, %p);", pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(CompressedTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(CombinerParameterfNV)(GLenum pname, GLfloat param) { - DISPATCH(CompressedTexSubImage1DARB, (target, level, xoffset, width, format, imageSize, data), (F, "glCompressedTexSubImage1DARB();")); + DISPATCH(CombinerParameterfNV, (pname, param), (F, "glCombinerParameterfNV(0x%x, %f);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(CompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(CombinerParameterivNV)(GLenum pname, const GLint * params) { - DISPATCH(CompressedTexSubImage2DARB, (target, level, xoffset, yoffset, width, height, format, imageSize, data), (F, "glCompressedTexSubImage2DARB();")); + DISPATCH(CombinerParameterivNV, (pname, params), (F, "glCombinerParameterivNV(0x%x, %p);", pname, (void *) params)); } -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) +KEYWORD1 void KEYWORD2 NAME(CombinerParameteriNV)(GLenum pname, GLint param) { - DISPATCH(CompressedTexSubImage3DARB, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data), (F, "glCompressedTexSubImage3DARB();")); + DISPATCH(CombinerParameteriNV, (pname, param), (F, "glCombinerParameteriNV(0x%x, %d);", pname, param)); } -KEYWORD1 void KEYWORD2 NAME(GetCompressedTexImage)(GLenum target, GLint lod, GLvoid *img) +KEYWORD1 void KEYWORD2 NAME(CombinerInputNV)(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) { - DISPATCH(GetCompressedTexImageARB, (target, lod, img), (F, "glGetCompressedTexImageARB();")); + DISPATCH(CombinerInputNV, (stage, portion, variable, input, mapping, componentUsage), (F, "glCombinerInputNV(0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x);", stage, portion, variable, input, mapping, componentUsage)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1d)(GLenum target, GLdouble s) +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(MultiTexCoord1dARB, (target, s), (F, ";")); + DISPATCH(CombinerOutputNV, (stage, portion, abOutput, cdOutput, sumOutput, scale, bias, abDotProduct, cdDotProduct, muxSum), (F, "glCombinerOutputNV(0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x, %d, %d, %d);", stage, portion, abOutput, cdOutput, sumOutput, scale, bias, abDotProduct, cdDotProduct, muxSum)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dv)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(FinalCombinerInputNV)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) { - DISPATCH(MultiTexCoord1dvARB, (target, v), (F, ";")); + DISPATCH(FinalCombinerInputNV, (variable, input, mapping, componentUsage), (F, "glFinalCombinerInputNV(0x%x, 0x%x, 0x%x, 0x%x);", variable, input, mapping, componentUsage)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1f)(GLenum target, GLfloat s) +KEYWORD1 void KEYWORD2 NAME(GetCombinerInputParameterfvNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params) { - DISPATCH(MultiTexCoord1fARB, (target, s), (F, ";")); + DISPATCH(GetCombinerInputParameterfvNV, (stage, portion, variable, pname, params), (F, "glGetCombinerInputParameterfvNV(0x%x, 0x%x, 0x%x, 0x%x, %p);", stage, portion, variable, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fv)(GLenum target, const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(GetCombinerInputParameterivNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params) { - DISPATCH(MultiTexCoord1fvARB, (target, v), (F, ";")); + DISPATCH(GetCombinerInputParameterivNV, (stage, portion, variable, pname, params), (F, "glGetCombinerInputParameterivNV(0x%x, 0x%x, 0x%x, 0x%x, %p);", stage, portion, variable, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1i)(GLenum target, GLint s) +KEYWORD1 void KEYWORD2 NAME(GetCombinerOutputParameterfvNV)(GLenum stage, GLenum portion, GLenum pname, GLfloat * params) { - DISPATCH(MultiTexCoord1iARB, (target, s), (F, ";")); + DISPATCH(GetCombinerOutputParameterfvNV, (stage, portion, pname, params), (F, "glGetCombinerOutputParameterfvNV(0x%x, 0x%x, 0x%x, %p);", stage, portion, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1iv)(GLenum target, const GLint *v) +KEYWORD1 void KEYWORD2 NAME(GetCombinerOutputParameterivNV)(GLenum stage, GLenum portion, GLenum pname, GLint * params) { - DISPATCH(MultiTexCoord1ivARB, (target, v), (F, ";")); + DISPATCH(GetCombinerOutputParameterivNV, (stage, portion, pname, params), (F, "glGetCombinerOutputParameterivNV(0x%x, 0x%x, 0x%x, %p);", stage, portion, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1s)(GLenum target, GLshort s) +KEYWORD1 void KEYWORD2 NAME(GetFinalCombinerInputParameterfvNV)(GLenum variable, GLenum pname, GLfloat * params) { - DISPATCH(MultiTexCoord1sARB, (target, s), (F, ";")); + DISPATCH(GetFinalCombinerInputParameterfvNV, (variable, pname, params), (F, "glGetFinalCombinerInputParameterfvNV(0x%x, 0x%x, %p);", variable, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1sv)(GLenum target, const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(GetFinalCombinerInputParameterivNV)(GLenum variable, GLenum pname, GLint * params) { - DISPATCH(MultiTexCoord1svARB, (target, v), (F, ";")); + DISPATCH(GetFinalCombinerInputParameterivNV, (variable, pname, params), (F, "glGetFinalCombinerInputParameterivNV(0x%x, 0x%x, %p);", variable, pname, (void *) params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2d)(GLenum target, GLdouble s, GLdouble t) +KEYWORD1 void KEYWORD2 NAME(ResizeBuffersMESA)(void) { - DISPATCH(MultiTexCoord2dARB, (target, s, t), (F, ";")); + DISPATCH(ResizeBuffersMESA, (), (F, "glResizeBuffersMESA();")); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dv)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos2dMESA)(GLdouble x, GLdouble y) { - DISPATCH(MultiTexCoord2dvARB, (target, v), (F, ";")); + DISPATCH(WindowPos2dMESA, (x, y), (F, "glWindowPos2dMESA(%f, %f);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2f)(GLenum target, GLfloat s, GLfloat t) +KEYWORD1 void KEYWORD2 NAME(WindowPos2dvMESA)(const GLdouble * v) { - DISPATCH(MultiTexCoord2fARB, (target, s, t), (F, ";")); + DISPATCH(WindowPos2dvMESA, (v), (F, "glWindowPos2dvMESA(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fv)(GLenum target, const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos2fMESA)(GLfloat x, GLfloat y) { - DISPATCH(MultiTexCoord2fvARB, (target, v), (F, ";")); + DISPATCH(WindowPos2fMESA, (x, y), (F, "glWindowPos2fMESA(%f, %f);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2i)(GLenum target, GLint s, GLint t) +KEYWORD1 void KEYWORD2 NAME(WindowPos2fvMESA)(const GLfloat * v) { - DISPATCH(MultiTexCoord2iARB, (target, s, t), (F, ";")); + DISPATCH(WindowPos2fvMESA, (v), (F, "glWindowPos2fvMESA(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2iv)(GLenum target, const GLint *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos2iMESA)(GLint x, GLint y) { - DISPATCH(MultiTexCoord2ivARB, (target, v), (F, ";")); + DISPATCH(WindowPos2iMESA, (x, y), (F, "glWindowPos2iMESA(%d, %d);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2s)(GLenum target, GLshort s, GLshort t) +KEYWORD1 void KEYWORD2 NAME(WindowPos2ivMESA)(const GLint * v) { - DISPATCH(MultiTexCoord2sARB, (target, s, t), (F, ";")); + DISPATCH(WindowPos2ivMESA, (v), (F, "glWindowPos2ivMESA(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2sv)(GLenum target, const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos2sMESA)(GLshort x, GLshort y) { - DISPATCH(MultiTexCoord2svARB, (target, v), (F, ";")); + DISPATCH(WindowPos2sMESA, (x, y), (F, "glWindowPos2sMESA(%d, %d);", x, y)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3d)(GLenum target, GLdouble s, GLdouble t, GLdouble r) +KEYWORD1 void KEYWORD2 NAME(WindowPos2svMESA)(const GLshort * v) { - DISPATCH(MultiTexCoord3dARB, (target, s, t, r), (F, ";")); + DISPATCH(WindowPos2svMESA, (v), (F, "glWindowPos2svMESA(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3dv)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos3dMESA)(GLdouble x, GLdouble y, GLdouble z) { - DISPATCH(MultiTexCoord3dvARB, (target, v), (F, ";")); + DISPATCH(WindowPos3dMESA, (x, y, z), (F, "glWindowPos3dMESA(%f, %f, %f);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3f)(GLenum target, GLfloat s, GLfloat t, GLfloat r) +KEYWORD1 void KEYWORD2 NAME(WindowPos3dvMESA)(const GLdouble * v) { - DISPATCH(MultiTexCoord3fARB, (target, s, t, r), (F, ";")); + DISPATCH(WindowPos3dvMESA, (v), (F, "glWindowPos3dvMESA(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3fv)(GLenum target, const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos3fMESA)(GLfloat x, GLfloat y, GLfloat z) { - DISPATCH(MultiTexCoord3fvARB, (target, v), (F, ";")); + DISPATCH(WindowPos3fMESA, (x, y, z), (F, "glWindowPos3fMESA(%f, %f, %f);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3i)(GLenum target, GLint s, GLint t, GLint r) +KEYWORD1 void KEYWORD2 NAME(WindowPos3fvMESA)(const GLfloat * v) { - DISPATCH(MultiTexCoord3iARB, (target, s, t, r), (F, ";")); + DISPATCH(WindowPos3fvMESA, (v), (F, "glWindowPos3fvMESA(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3iv)(GLenum target, const GLint *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos3iMESA)(GLint x, GLint y, GLint z) { - DISPATCH(MultiTexCoord3ivARB, (target, v), (F, ";")); + DISPATCH(WindowPos3iMESA, (x, y, z), (F, "glWindowPos3iMESA(%d, %d, %d);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3s)(GLenum target, GLshort s, GLshort t, GLshort r) +KEYWORD1 void KEYWORD2 NAME(WindowPos3ivMESA)(const GLint * v) { - DISPATCH(MultiTexCoord3sARB, (target, s, t, r), (F, ";")); + DISPATCH(WindowPos3ivMESA, (v), (F, "glWindowPos3ivMESA(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3sv)(GLenum target, const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos3sMESA)(GLshort x, GLshort y, GLshort z) { - DISPATCH(MultiTexCoord3svARB, (target, v), (F, ";")); + DISPATCH(WindowPos3sMESA, (x, y, z), (F, "glWindowPos3sMESA(%d, %d, %d);", x, y, z)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4d)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) +KEYWORD1 void KEYWORD2 NAME(WindowPos3svMESA)(const GLshort * v) { - DISPATCH(MultiTexCoord4dARB, (target, s, t, r, q), (F, ";")); + DISPATCH(WindowPos3svMESA, (v), (F, "glWindowPos3svMESA(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dv)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos4dMESA)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { - DISPATCH(MultiTexCoord4dvARB, (target, v), (F, ";")); + DISPATCH(WindowPos4dMESA, (x, y, z, w), (F, "glWindowPos4dMESA(%f, %f, %f, %f);", x, y, z, w)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4f)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) +KEYWORD1 void KEYWORD2 NAME(WindowPos4dvMESA)(const GLdouble * v) { - DISPATCH(MultiTexCoord4fARB, (target, s, t, r, q), (F, ";")); + DISPATCH(WindowPos4dvMESA, (v), (F, "glWindowPos4dvMESA(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fv)(GLenum target, const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos4fMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - DISPATCH(MultiTexCoord4fvARB, (target, v), (F, ";")); + DISPATCH(WindowPos4fMESA, (x, y, z, w), (F, "glWindowPos4fMESA(%f, %f, %f, %f);", x, y, z, w)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4i)(GLenum target, GLint s, GLint t, GLint r, GLint q) +KEYWORD1 void KEYWORD2 NAME(WindowPos4fvMESA)(const GLfloat * v) { - DISPATCH(MultiTexCoord4iARB, (target, s, t, r, q), (F, ";")); + DISPATCH(WindowPos4fvMESA, (v), (F, "glWindowPos4fvMESA(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4iv)(GLenum target, const GLint *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos4iMESA)(GLint x, GLint y, GLint z, GLint w) { - DISPATCH(MultiTexCoord4ivARB, (target, v), (F, ";")); + DISPATCH(WindowPos4iMESA, (x, y, z, w), (F, "glWindowPos4iMESA(%d, %d, %d, %d);", x, y, z, w)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4s)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) +KEYWORD1 void KEYWORD2 NAME(WindowPos4ivMESA)(const GLint * v) { - DISPATCH(MultiTexCoord4sARB, (target, s, t, r, q), (F, ";")); + DISPATCH(WindowPos4ivMESA, (v), (F, "glWindowPos4ivMESA(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4sv)(GLenum target, const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(WindowPos4sMESA)(GLshort x, GLshort y, GLshort z, GLshort w) { - DISPATCH(MultiTexCoord4svARB, (target, v), (F, ";")); + DISPATCH(WindowPos4sMESA, (x, y, z, w), (F, "glWindowPos4sMESA(%d, %d, %d, %d);", x, y, z, w)); } - -KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixd)(const GLdouble m[16]) +KEYWORD1 void KEYWORD2 NAME(WindowPos4svMESA)(const GLshort * v) { - DISPATCH(LoadTransposeMatrixdARB, (m), (F, "glLoadTransposeMatrixARB(%p);", (void *) m)); + DISPATCH(WindowPos4svMESA, (v), (F, "glWindowPos4svMESA(%p);", (void *) v)); } -KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixf)(const GLfloat m[16]) +/* No dispatch for MultiModeDrawArraysIBM() */ +/* No dispatch for MultiModeDrawElementsIBM() */ +/* No dispatch for ColorPointerListIBM() */ +/* No dispatch for SecondaryColorPointerListIBM() */ +/* No dispatch for EdgeFlagPointerListIBM() */ +/* No dispatch for FogCoordPointerListIBM() */ +/* No dispatch for IndexPointerListIBM() */ +/* No dispatch for NormalPointerListIBM() */ +/* No dispatch for TexCoordPointerListIBM() */ +/* No dispatch for VertexPointerListIBM() */ +KEYWORD1 void KEYWORD2 NAME(TbufferMask3DFX)(GLuint mask) { - DISPATCH(LoadTransposeMatrixfARB, (m), (F, "glLoadTransposeMatrixfARB(%p)", (void *) m)); + DISPATCH(TbufferMask3DFX, (mask), (F, "glTbufferMask3DFX(%d);", mask)); } -KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixd)(const GLdouble m[16]) +KEYWORD1 void KEYWORD2 NAME(SampleMaskEXT)(GLclampf value, GLboolean invert) { - DISPATCH(MultTransposeMatrixdARB, (m), (F, "glMultTransposeMatrixfARB(%p)", (void *) m)); + DISPATCH(SampleMaskSGIS, (value, invert), (F, "glSampleMaskEXT(%f, %d);", value, invert)); } -KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixf)(const GLfloat m[16]) +KEYWORD1 void KEYWORD2 NAME(SamplePatternEXT)(GLenum pattern) { - DISPATCH(MultTransposeMatrixfARB, (m), (F, "glLoadTransposeMatrixfARB(%p)", (void *) m)); -} + DISPATCH(SamplePatternSGIS, (pattern), (F, "glSamplePatternEXT(0x%x);", pattern)); +} + +/* No dispatch for TextureColorMaskSGIS() */ +/* No dispatch for IglooInterfaceSGIX() */ +/* No dispatch for GenFencesNV() */ +/* No dispatch for DeleteFencesNV() */ +/* No dispatch for SetFenceNV() */ +/* No dispatch for TestFenceNV() */ +/* No dispatch for FinishFenceNV() */ +/* No dispatch for IsFenceNV() */ +/* No dispatch for GetFenceivNV() */ +/* No dispatch for MapControlPointsNV() */ +/* No dispatch for MapParameterivNV() */ +/* No dispatch for MapParameterfvNV() */ +/* No dispatch for GetMapControlPointsNV() */ +/* No dispatch for GetMapParameterivNV() */ +/* No dispatch for GetMapParameterfvNV() */ +/* No dispatch for GetMapAttribParameterivNV() */ +/* No dispatch for GetMapAttribParameterfvNV() */ +/* No dispatch for EvalMapsNV() */ +/* No dispatch for CombinerStageParameterfvNV() */ +/* No dispatch for GetCombinerStageParameterfvNV() */ +/* No dispatch for BindProgramNV() */ +/* No dispatch for DeleteProgramsNV() */ +/* No dispatch for ExecuteProgramNV() */ +/* No dispatch for GenProgramsNV() */ +/* No dispatch for AreProgramsResidentNV() */ +/* No dispatch for RequestResidentProgramsNV() */ +/* No dispatch for GetProgramParameterfvNV() */ +/* No dispatch for GetProgramParameterdvNV() */ +/* No dispatch for GetProgramivNV() */ +/* No dispatch for GetProgramStringNV() */ +/* No dispatch for GetTrackMatrixivNV() */ +/* No dispatch for GetVertexAttribdvNV() */ +/* No dispatch for GetVertexAttribfvNV() */ +/* No dispatch for GetVertexAttribivNV() */ +/* No dispatch for GetVertexAttribPointervNV() */ +/* No dispatch for IsProgramNV() */ +/* No dispatch for LoadProgramNV() */ +/* No dispatch for ProgramParameter4fNV() */ +/* No dispatch for ProgramParameter4dNV() */ +/* No dispatch for ProgramParameter4dvNV() */ +/* No dispatch for ProgramParameter4fvNV() */ +/* No dispatch for ProgramParameters4dvNV() */ +/* No dispatch for ProgramParameters4fvNV() */ +/* No dispatch for TrackMatrixNV() */ +/* No dispatch for VertexAttribPointerNV() */ +/* No dispatch for VertexAttrib1sNV() */ +/* No dispatch for VertexAttrib1fNV() */ +/* No dispatch for VertexAttrib1dNV() */ +/* No dispatch for VertexAttrib2sNV() */ +/* No dispatch for VertexAttrib2fNV() */ +/* No dispatch for VertexAttrib2dNV() */ +/* No dispatch for VertexAttrib3sNV() */ +/* No dispatch for VertexAttrib3fNV() */ +/* No dispatch for VertexAttrib3dNV() */ +/* No dispatch for VertexAttrib4sNV() */ +/* No dispatch for VertexAttrib4fNV() */ +/* No dispatch for VertexAttrib4dNV() */ +/* No dispatch for VertexAttrib4ubNV() */ +/* No dispatch for VertexAttrib1svNV() */ +/* No dispatch for VertexAttrib1fvNV() */ +/* No dispatch for VertexAttrib1dvNV() */ +/* No dispatch for VertexAttrib2svNV() */ +/* No dispatch for VertexAttrib2fvNV() */ +/* No dispatch for VertexAttrib2dvNV() */ +/* No dispatch for VertexAttrib3svNV() */ +/* No dispatch for VertexAttrib3fvNV() */ +/* No dispatch for VertexAttrib3dvNV() */ +/* No dispatch for VertexAttrib4svNV() */ +/* No dispatch for VertexAttrib4fvNV() */ +/* No dispatch for VertexAttrib4dvNV() */ +/* No dispatch for VertexAttrib4ubvNV() */ +/* No dispatch for VertexAttribs1svNV() */ +/* No dispatch for VertexAttribs1fvNV() */ +/* No dispatch for VertexAttribs1dvNV() */ +/* No dispatch for VertexAttribs2svNV() */ +/* No dispatch for VertexAttribs2fvNV() */ +/* No dispatch for VertexAttribs2dvNV() */ +/* No dispatch for VertexAttribs3svNV() */ +/* No dispatch for VertexAttribs3fvNV() */ +/* No dispatch for VertexAttribs3dvNV() */ +/* No dispatch for VertexAttribs4svNV() */ +/* No dispatch for VertexAttribs4fvNV() */ +/* No dispatch for VertexAttribs4dvNV() */ -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)); -} -*/ - - - - + * This is how a dispatch table can be initialized with all the functions + * we generated above. + */ #ifdef DISPATCH_TABLE_NAME #ifndef TABLE_ENTRY @@ -3956,7 +3929,6 @@ void *DISPATCH_TABLE_NAME[] = { TABLE_ENTRY(Translated), TABLE_ENTRY(Translatef), TABLE_ENTRY(Viewport), - /* 1.1 */ TABLE_ENTRY(ArrayElement), TABLE_ENTRY(BindTexture), TABLE_ENTRY(ColorPointer), @@ -3987,7 +3959,6 @@ void *DISPATCH_TABLE_NAME[] = { TABLE_ENTRY(TexSubImage2D), TABLE_ENTRY(PopClientAttrib), TABLE_ENTRY(PushClientAttrib), - /* 1.2 */ TABLE_ENTRY(BlendColor), TABLE_ENTRY(BlendEquation), TABLE_ENTRY(DrawRangeElements), @@ -4026,143 +3997,108 @@ void *DISPATCH_TABLE_NAME[] = { TABLE_ENTRY(TexImage3D), TABLE_ENTRY(TexSubImage3D), TABLE_ENTRY(CopyTexSubImage3D), - /* GL_ARB_multitexture */ - TABLE_ENTRY(ActiveTextureARB), - TABLE_ENTRY(ClientActiveTextureARB), - TABLE_ENTRY(MultiTexCoord1dARB), - TABLE_ENTRY(MultiTexCoord1dvARB), - TABLE_ENTRY(MultiTexCoord1fARB), - TABLE_ENTRY(MultiTexCoord1fvARB), - TABLE_ENTRY(MultiTexCoord1iARB), - TABLE_ENTRY(MultiTexCoord1ivARB), - TABLE_ENTRY(MultiTexCoord1sARB), - TABLE_ENTRY(MultiTexCoord1svARB), - TABLE_ENTRY(MultiTexCoord2dARB), - TABLE_ENTRY(MultiTexCoord2dvARB), - TABLE_ENTRY(MultiTexCoord2fARB), - TABLE_ENTRY(MultiTexCoord2fvARB), - TABLE_ENTRY(MultiTexCoord2iARB), - TABLE_ENTRY(MultiTexCoord2ivARB), - TABLE_ENTRY(MultiTexCoord2sARB), - TABLE_ENTRY(MultiTexCoord2svARB), - TABLE_ENTRY(MultiTexCoord3dARB), - TABLE_ENTRY(MultiTexCoord3dvARB), - TABLE_ENTRY(MultiTexCoord3fARB), - TABLE_ENTRY(MultiTexCoord3fvARB), - TABLE_ENTRY(MultiTexCoord3iARB), - TABLE_ENTRY(MultiTexCoord3ivARB), - TABLE_ENTRY(MultiTexCoord3sARB), - TABLE_ENTRY(MultiTexCoord3svARB), - TABLE_ENTRY(MultiTexCoord4dARB), - TABLE_ENTRY(MultiTexCoord4dvARB), - TABLE_ENTRY(MultiTexCoord4fARB), - TABLE_ENTRY(MultiTexCoord4fvARB), - TABLE_ENTRY(MultiTexCoord4iARB), - TABLE_ENTRY(MultiTexCoord4ivARB), - TABLE_ENTRY(MultiTexCoord4sARB), - TABLE_ENTRY(MultiTexCoord4svARB), - /* GL_ARB_transpose_matrix */ - TABLE_ENTRY(LoadTransposeMatrixfARB), - TABLE_ENTRY(LoadTransposeMatrixdARB), - TABLE_ENTRY(MultTransposeMatrixfARB), - TABLE_ENTRY(MultTransposeMatrixdARB), - /* GL_ARB_multisample */ - TABLE_ENTRY(SampleCoverageARB), -#if 0 - TABLE_ENTRY(SamplePassARB), -#else - TABLE_ENTRY(Unused), -#endif - /* GL_EXT_blend_color */ - /* GL_EXT_polygon_offset */ + TABLE_ENTRY(ActiveTexture), + TABLE_ENTRY(ClientActiveTexture), + 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(LoadTransposeMatrixf), + TABLE_ENTRY(LoadTransposeMatrixd), + TABLE_ENTRY(MultTransposeMatrixf), + TABLE_ENTRY(MultTransposeMatrixd), + TABLE_ENTRY(SampleCoverage), + TABLE_ENTRY(__unused413), TABLE_ENTRY(PolygonOffsetEXT), - /* GL_EXT_texture3D */ - /* GL_EXT_subtexture */ - /* GL_SGIS_texture_filter4 */ TABLE_ENTRY(GetTexFilterFuncSGIS), TABLE_ENTRY(TexFilterFuncSGIS), - /* GL_EXT_subtexture */ - /* GL_EXT_copy_texture */ - /* GL_EXT_histogram */ TABLE_ENTRY(GetHistogramEXT), TABLE_ENTRY(GetHistogramParameterfvEXT), TABLE_ENTRY(GetHistogramParameterivEXT), TABLE_ENTRY(GetMinmaxEXT), TABLE_ENTRY(GetMinmaxParameterfvEXT), TABLE_ENTRY(GetMinmaxParameterivEXT), - /* GL_EXT_convolution */ TABLE_ENTRY(GetConvolutionFilterEXT), TABLE_ENTRY(GetConvolutionParameterfvEXT), TABLE_ENTRY(GetConvolutionParameterivEXT), TABLE_ENTRY(GetSeparableFilterEXT), - /* GL_SGI_color_table */ TABLE_ENTRY(GetColorTableSGI), TABLE_ENTRY(GetColorTableParameterfvSGI), TABLE_ENTRY(GetColorTableParameterivSGI), - /* GL_SGIX_pixel_texture */ TABLE_ENTRY(PixelTexGenSGIX), - /* GL_SGIS_pixel_texture */ TABLE_ENTRY(PixelTexGenParameteriSGIS), TABLE_ENTRY(PixelTexGenParameterivSGIS), TABLE_ENTRY(PixelTexGenParameterfSGIS), TABLE_ENTRY(PixelTexGenParameterfvSGIS), TABLE_ENTRY(GetPixelTexGenParameterivSGIS), TABLE_ENTRY(GetPixelTexGenParameterfvSGIS), - /* GL_SGIS_texture4D */ TABLE_ENTRY(TexImage4DSGIS), TABLE_ENTRY(TexSubImage4DSGIS), - /* GL_EXT_texture_object */ TABLE_ENTRY(AreTexturesResidentEXT), TABLE_ENTRY(GenTexturesEXT), TABLE_ENTRY(IsTextureEXT), - /* GL_SGIS_detail_texture */ TABLE_ENTRY(DetailTexFuncSGIS), TABLE_ENTRY(GetDetailTexFuncSGIS), - /* GL_SGIS_sharpen_texture */ TABLE_ENTRY(SharpenTexFuncSGIS), TABLE_ENTRY(GetSharpenTexFuncSGIS), - /* GL_SGIS_multisample */ TABLE_ENTRY(SampleMaskSGIS), TABLE_ENTRY(SamplePatternSGIS), - /* GL_EXT_vertex_array */ TABLE_ENTRY(ColorPointerEXT), TABLE_ENTRY(EdgeFlagPointerEXT), TABLE_ENTRY(IndexPointerEXT), TABLE_ENTRY(NormalPointerEXT), TABLE_ENTRY(TexCoordPointerEXT), TABLE_ENTRY(VertexPointerEXT), - /* GL_EXT_blend_minmax */ - /* GL_SGIX_sprite */ TABLE_ENTRY(SpriteParameterfSGIX), TABLE_ENTRY(SpriteParameterfvSGIX), TABLE_ENTRY(SpriteParameteriSGIX), TABLE_ENTRY(SpriteParameterivSGIX), - /* GL_EXT_point_parameters */ - TABLE_ENTRY(PointParameterfEXT), - TABLE_ENTRY(PointParameterfvEXT), - /* GL_SGIX_instruments */ + TABLE_ENTRY(PointParameterfARB), + TABLE_ENTRY(PointParameterfvARB), TABLE_ENTRY(GetInstrumentsSGIX), TABLE_ENTRY(InstrumentsBufferSGIX), TABLE_ENTRY(PollInstrumentsSGIX), TABLE_ENTRY(ReadInstrumentsSGIX), TABLE_ENTRY(StartInstrumentsSGIX), TABLE_ENTRY(StopInstrumentsSGIX), - /* GL_SGIX_framezoom */ TABLE_ENTRY(FrameZoomSGIX), - /* GL_SGIX_tag_sample_buffer */ TABLE_ENTRY(TagSampleBufferSGIX), - /* GL_SGIX_reference_plane */ TABLE_ENTRY(ReferencePlaneSGIX), - /* GL_SGIX_flush_raster */ TABLE_ENTRY(FlushRasterSGIX), - /* GL_SGIX_list_priority */ TABLE_ENTRY(GetListParameterfvSGIX), TABLE_ENTRY(GetListParameterivSGIX), TABLE_ENTRY(ListParameterfSGIX), TABLE_ENTRY(ListParameterfvSGIX), TABLE_ENTRY(ListParameteriSGIX), TABLE_ENTRY(ListParameterivSGIX), - /* GL_SGIX_fragment_lighting */ TABLE_ENTRY(FragmentColorMaterialSGIX), TABLE_ENTRY(FragmentLightfSGIX), TABLE_ENTRY(FragmentLightfvSGIX), @@ -4181,14 +4117,11 @@ void *DISPATCH_TABLE_NAME[] = { TABLE_ENTRY(GetFragmentMaterialfvSGIX), TABLE_ENTRY(GetFragmentMaterialivSGIX), TABLE_ENTRY(LightEnviSGIX), - /* GL_EXT_vertex_weighting */ TABLE_ENTRY(VertexWeightfEXT), TABLE_ENTRY(VertexWeightfvEXT), TABLE_ENTRY(VertexWeightPointerEXT), - /* GL_NV_vertex_array_range */ TABLE_ENTRY(FlushVertexArrayRangeNV), TABLE_ENTRY(VertexArrayRangeNV), - /* GL_NV_register_combiners */ TABLE_ENTRY(CombinerParameterfvNV), TABLE_ENTRY(CombinerParameterfNV), TABLE_ENTRY(CombinerParameterivNV), @@ -4202,9 +4135,7 @@ void *DISPATCH_TABLE_NAME[] = { TABLE_ENTRY(GetCombinerOutputParameterivNV), TABLE_ENTRY(GetFinalCombinerInputParameterfvNV), TABLE_ENTRY(GetFinalCombinerInputParameterivNV), - /* GL_MESA_resize_buffers */ TABLE_ENTRY(ResizeBuffersMESA), - /* GL_MESA_window_pos */ TABLE_ENTRY(WindowPos2dMESA), TABLE_ENTRY(WindowPos2dvMESA), TABLE_ENTRY(WindowPos2fMESA), @@ -4229,41 +4160,30 @@ void *DISPATCH_TABLE_NAME[] = { TABLE_ENTRY(WindowPos4ivMESA), TABLE_ENTRY(WindowPos4sMESA), TABLE_ENTRY(WindowPos4svMESA), - /* GL_EXT_draw_range_elements */ TABLE_ENTRY(BlendFuncSeparateEXT), - /* GL_EXT_index_material */ TABLE_ENTRY(IndexMaterialEXT), - /* GL_EXT_index_func */ TABLE_ENTRY(IndexFuncEXT), - /* GL_EXT_compiled_vertex_array */ TABLE_ENTRY(LockArraysEXT), TABLE_ENTRY(UnlockArraysEXT), - /* GL_EXT_cull_vertex */ TABLE_ENTRY(CullParameterdvEXT), TABLE_ENTRY(CullParameterfvEXT), - /* GL_PGI_misc_hints */ TABLE_ENTRY(HintPGI), - /* GL_EXT_fog_coord */ TABLE_ENTRY(FogCoordfEXT), TABLE_ENTRY(FogCoordfvEXT), TABLE_ENTRY(FogCoorddEXT), TABLE_ENTRY(FogCoorddvEXT), TABLE_ENTRY(FogCoordPointerEXT), - /* GL_EXT_color_table */ TABLE_ENTRY(GetColorTableEXT), TABLE_ENTRY(GetColorTableParameterivEXT), TABLE_ENTRY(GetColorTableParameterfvEXT), - /* GL_3DFX_tbuffer */ TABLE_ENTRY(TbufferMask3DFX), - /* GL_ARB_texture_compression */ - TABLE_ENTRY(CompressedTexImage3DARB), - TABLE_ENTRY(CompressedTexImage2DARB), - TABLE_ENTRY(CompressedTexImage1DARB), - TABLE_ENTRY(CompressedTexSubImage3DARB), - TABLE_ENTRY(CompressedTexSubImage2DARB), - TABLE_ENTRY(CompressedTexSubImage1DARB), - TABLE_ENTRY(GetCompressedTexImageARB), - /* GL_EXT_secondary_color */ + TABLE_ENTRY(CompressedTexImage3D), + TABLE_ENTRY(CompressedTexImage2D), + TABLE_ENTRY(CompressedTexImage1D), + TABLE_ENTRY(CompressedTexSubImage3D), + TABLE_ENTRY(CompressedTexSubImage2D), + TABLE_ENTRY(CompressedTexSubImage1D), + TABLE_ENTRY(GetCompressedTexImage), TABLE_ENTRY(SecondaryColor3bEXT), TABLE_ENTRY(SecondaryColor3bvEXT), TABLE_ENTRY(SecondaryColor3dEXT), @@ -4281,63 +4201,9 @@ 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), -#if 0 - TABLE_ENTRY(SamplePass), -#else - TABLE_ENTRY(Unused), -#endif -#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. + * when someone tries to call a dynamically-registered + * extension function without a current rendering context. */ TABLE_ENTRY(Unused), TABLE_ENTRY(Unused), @@ -4438,89 +4304,72 @@ void *DISPATCH_TABLE_NAME[] = { TABLE_ENTRY(Unused), TABLE_ENTRY(Unused), TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused), - TABLE_ENTRY(Unused) }; #endif /* DISPATCH_TABLE_NAME */ - /* * This is just used to silence compiler warnings. * We list the functions which aren't otherwise used. */ #ifdef UNUSED_TABLE_NAME void *UNUSED_TABLE_NAME[] = { + TABLE_ENTRY(ActiveTextureARB), + TABLE_ENTRY(ClientActiveTextureARB), + TABLE_ENTRY(MultiTexCoord1dARB), + TABLE_ENTRY(MultiTexCoord1dvARB), + TABLE_ENTRY(MultiTexCoord1fARB), + TABLE_ENTRY(MultiTexCoord1fvARB), + TABLE_ENTRY(MultiTexCoord1iARB), + TABLE_ENTRY(MultiTexCoord1ivARB), + TABLE_ENTRY(MultiTexCoord1sARB), + TABLE_ENTRY(MultiTexCoord1svARB), + TABLE_ENTRY(MultiTexCoord2dARB), + TABLE_ENTRY(MultiTexCoord2dvARB), + TABLE_ENTRY(MultiTexCoord2fARB), + TABLE_ENTRY(MultiTexCoord2fvARB), + TABLE_ENTRY(MultiTexCoord2iARB), + TABLE_ENTRY(MultiTexCoord2ivARB), + TABLE_ENTRY(MultiTexCoord2sARB), + TABLE_ENTRY(MultiTexCoord2svARB), + TABLE_ENTRY(MultiTexCoord3dARB), + TABLE_ENTRY(MultiTexCoord3dvARB), + TABLE_ENTRY(MultiTexCoord3fARB), + TABLE_ENTRY(MultiTexCoord3fvARB), + TABLE_ENTRY(MultiTexCoord3iARB), + TABLE_ENTRY(MultiTexCoord3ivARB), + TABLE_ENTRY(MultiTexCoord3sARB), + TABLE_ENTRY(MultiTexCoord3svARB), + TABLE_ENTRY(MultiTexCoord4dARB), + TABLE_ENTRY(MultiTexCoord4dvARB), + TABLE_ENTRY(MultiTexCoord4fARB), + TABLE_ENTRY(MultiTexCoord4fvARB), + TABLE_ENTRY(MultiTexCoord4iARB), + TABLE_ENTRY(MultiTexCoord4ivARB), + TABLE_ENTRY(MultiTexCoord4sARB), + TABLE_ENTRY(MultiTexCoord4svARB), + TABLE_ENTRY(LoadTransposeMatrixfARB), + TABLE_ENTRY(LoadTransposeMatrixdARB), + TABLE_ENTRY(MultTransposeMatrixfARB), + TABLE_ENTRY(MultTransposeMatrixdARB), + TABLE_ENTRY(SampleCoverageARB), + TABLE_ENTRY(CompressedTexImage3DARB), + TABLE_ENTRY(CompressedTexImage2DARB), + TABLE_ENTRY(CompressedTexImage1DARB), + TABLE_ENTRY(CompressedTexSubImage3DARB), + TABLE_ENTRY(CompressedTexSubImage2DARB), + TABLE_ENTRY(CompressedTexSubImage1DARB), + TABLE_ENTRY(GetCompressedTexImageARB), TABLE_ENTRY(BlendColorEXT), - TABLE_ENTRY(CopyTexSubImage3DEXT), TABLE_ENTRY(TexImage3DEXT), TABLE_ENTRY(TexSubImage3DEXT), - TABLE_ENTRY(CopyTexSubImage1DEXT), TABLE_ENTRY(TexSubImage1DEXT), TABLE_ENTRY(TexSubImage2DEXT), TABLE_ENTRY(CopyTexImage1DEXT), TABLE_ENTRY(CopyTexImage2DEXT), + TABLE_ENTRY(CopyTexSubImage1DEXT), TABLE_ENTRY(CopyTexSubImage2DEXT), + TABLE_ENTRY(CopyTexSubImage3DEXT), TABLE_ENTRY(HistogramEXT), TABLE_ENTRY(MinmaxEXT), TABLE_ENTRY(ResetHistogramEXT), @@ -4534,17 +4383,19 @@ void *UNUSED_TABLE_NAME[] = { TABLE_ENTRY(CopyConvolutionFilter1DEXT), TABLE_ENTRY(CopyConvolutionFilter2DEXT), TABLE_ENTRY(SeparableFilter2DEXT), + TABLE_ENTRY(ColorTableSGI), TABLE_ENTRY(ColorTableParameterfvSGI), TABLE_ENTRY(ColorTableParameterivSGI), - TABLE_ENTRY(ColorTableSGI), TABLE_ENTRY(CopyColorTableSGI), - TABLE_ENTRY(DeleteTexturesEXT), TABLE_ENTRY(BindTextureEXT), + TABLE_ENTRY(DeleteTexturesEXT), TABLE_ENTRY(PrioritizeTexturesEXT), - TABLE_ENTRY(GetPointervEXT), TABLE_ENTRY(ArrayElementEXT), TABLE_ENTRY(DrawArraysEXT), + TABLE_ENTRY(GetPointervEXT), TABLE_ENTRY(BlendEquationEXT), + TABLE_ENTRY(PointParameterfEXT), + TABLE_ENTRY(PointParameterfvEXT), TABLE_ENTRY(PointParameterfSGIS), TABLE_ENTRY(PointParameterfvSGIS), TABLE_ENTRY(ColorSubTableEXT), @@ -4554,56 +4405,6 @@ void *UNUSED_TABLE_NAME[] = { TABLE_ENTRY(BlendFuncSeparateINGR), TABLE_ENTRY(SampleMaskEXT), 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), -#if 0 - TABLE_ENTRY(SamplePass) -#endif }; #endif /*UNUSED_TABLE_NAME*/ @@ -4616,3 +4417,4 @@ void *UNUSED_TABLE_NAME[] = { #undef DISPATCH_TABLE_NAME #undef UNUSED_TABLE_NAME #undef TABLE_ENTRY + |