-struct name_address_offset {
- const char *Name;
- GLvoid *Address;
- GLuint 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
-
- /* 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
- { "glSamplePassARB", NAME(glSamplePassARB), _gloffset_SamplePassARB },
- { "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