-/* $XFree86: xc/lib/GL/glx/indirect_init.c,v 1.9 2004/01/28 18:11:41 alanh Exp $ */
-/**************************************************************************
-
-Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
-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, sub license, 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 (including the
-next paragraph) 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 NON-INFRINGEMENT.
-IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS 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 generated automatically by glX_proto_send.py (from Mesa) script */
/*
- * Authors:
- * Kevin E. Martin <kevin@precisioninsight.com>
- * Brian Paul <brian@precisioninsight.com>
+ * Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
+ * (C) Copyright IBM Corporation 2004
+ * 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, sub license,
+ * 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 (including the next
+ * paragraph) 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 NON-INFRINGEMENT. IN NO EVENT SHALL
+ * PRECISION INSIGHT, IBM,
+ * AND/OR THEIR SUPPLIERS 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.
+ */
+
+/**
+ * \file indirect_init.c
+ * Initialize indirect rendering dispatch table.
+ *
+ * \author Kevin E. Martin <kevin@precisioninsight.com>
+ * \author Brian Paul <brian@precisioninsight.com>
+ * \author Ian Romanick <idr@us.ibm.com>
*/
#include "indirect_init.h"
#include "glapi.h"
-/*
-** No-op function
-*/
+/**
+ * No-op function used to initialize functions that have no GLX protocol
+ * support.
+ */
static int NoOp(void)
{
return 0;
}
-
-__GLapi *__glXNewIndirectAPI(void)
+/**
+ * Create and initialize a new GL dispatch table. The table is initialized
+ * with GLX indirect rendering protocol functions.
+ */
+__GLapi * __glXNewIndirectAPI( void )
{
__GLapi *glAPI;
GLuint entries;
}
/* now, initialize the entries we understand */
+
+ /* 1.0 */
+
glAPI->Accum = __indirect_glAccum;
glAPI->AlphaFunc = __indirect_glAlphaFunc;
- glAPI->AreTexturesResident = __indirect_glAreTexturesResident;
- glAPI->ArrayElement = __indirect_glArrayElement;
glAPI->Begin = __indirect_glBegin;
- glAPI->BindTexture = __indirect_glBindTexture;
glAPI->Bitmap = __indirect_glBitmap;
glAPI->BlendFunc = __indirect_glBlendFunc;
glAPI->CallList = __indirect_glCallList;
glAPI->Color4usv = __indirect_glColor4usv;
glAPI->ColorMask = __indirect_glColorMask;
glAPI->ColorMaterial = __indirect_glColorMaterial;
- glAPI->ColorPointer = __indirect_glColorPointer;
glAPI->CopyPixels = __indirect_glCopyPixels;
- glAPI->CopyTexImage1D = __indirect_glCopyTexImage1D;
- glAPI->CopyTexImage2D = __indirect_glCopyTexImage2D;
- glAPI->CopyTexSubImage1D = __indirect_glCopyTexSubImage1D;
- glAPI->CopyTexSubImage2D = __indirect_glCopyTexSubImage2D;
glAPI->CullFace = __indirect_glCullFace;
glAPI->DeleteLists = __indirect_glDeleteLists;
- glAPI->DeleteTextures = __indirect_glDeleteTextures;
glAPI->DepthFunc = __indirect_glDepthFunc;
glAPI->DepthMask = __indirect_glDepthMask;
glAPI->DepthRange = __indirect_glDepthRange;
glAPI->Disable = __indirect_glDisable;
- glAPI->DisableClientState = __indirect_glDisableClientState;
- glAPI->DrawArrays = __indirect_glDrawArrays;
glAPI->DrawBuffer = __indirect_glDrawBuffer;
- glAPI->DrawElements = __indirect_glDrawElements;
glAPI->DrawPixels = __indirect_glDrawPixels;
- glAPI->DrawRangeElements = __indirect_glDrawRangeElements;
glAPI->EdgeFlag = __indirect_glEdgeFlag;
- glAPI->EdgeFlagPointer = __indirect_glEdgeFlagPointer;
glAPI->EdgeFlagv = __indirect_glEdgeFlagv;
glAPI->Enable = __indirect_glEnable;
- glAPI->EnableClientState = __indirect_glEnableClientState;
glAPI->End = __indirect_glEnd;
glAPI->EndList = __indirect_glEndList;
glAPI->EvalCoord1d = __indirect_glEvalCoord1d;
glAPI->FrontFace = __indirect_glFrontFace;
glAPI->Frustum = __indirect_glFrustum;
glAPI->GenLists = __indirect_glGenLists;
- glAPI->GenTextures = __indirect_glGenTextures;
glAPI->GetBooleanv = __indirect_glGetBooleanv;
glAPI->GetClipPlane = __indirect_glGetClipPlane;
glAPI->GetDoublev = __indirect_glGetDoublev;
glAPI->GetPixelMapfv = __indirect_glGetPixelMapfv;
glAPI->GetPixelMapuiv = __indirect_glGetPixelMapuiv;
glAPI->GetPixelMapusv = __indirect_glGetPixelMapusv;
- glAPI->GetPointerv = __indirect_glGetPointerv;
glAPI->GetPolygonStipple = __indirect_glGetPolygonStipple;
glAPI->GetString = __indirect_glGetString;
glAPI->GetTexEnvfv = __indirect_glGetTexEnvfv;
glAPI->GetTexParameteriv = __indirect_glGetTexParameteriv;
glAPI->Hint = __indirect_glHint;
glAPI->IndexMask = __indirect_glIndexMask;
- glAPI->IndexPointer = __indirect_glIndexPointer;
glAPI->Indexd = __indirect_glIndexd;
glAPI->Indexdv = __indirect_glIndexdv;
glAPI->Indexf = __indirect_glIndexf;
glAPI->Indexiv = __indirect_glIndexiv;
glAPI->Indexs = __indirect_glIndexs;
glAPI->Indexsv = __indirect_glIndexsv;
- glAPI->Indexub = __indirect_glIndexub;
- glAPI->Indexubv = __indirect_glIndexubv;
glAPI->InitNames = __indirect_glInitNames;
- glAPI->InterleavedArrays = __indirect_glInterleavedArrays;
glAPI->IsEnabled = __indirect_glIsEnabled;
glAPI->IsList = __indirect_glIsList;
- glAPI->IsTexture = __indirect_glIsTexture;
glAPI->LightModelf = __indirect_glLightModelf;
glAPI->LightModelfv = __indirect_glLightModelfv;
glAPI->LightModeli = __indirect_glLightModeli;
glAPI->Normal3iv = __indirect_glNormal3iv;
glAPI->Normal3s = __indirect_glNormal3s;
glAPI->Normal3sv = __indirect_glNormal3sv;
- glAPI->NormalPointer = __indirect_glNormalPointer;
glAPI->Ortho = __indirect_glOrtho;
glAPI->PassThrough = __indirect_glPassThrough;
glAPI->PixelMapfv = __indirect_glPixelMapfv;
glAPI->PixelZoom = __indirect_glPixelZoom;
glAPI->PointSize = __indirect_glPointSize;
glAPI->PolygonMode = __indirect_glPolygonMode;
- glAPI->PolygonOffset = __indirect_glPolygonOffset;
glAPI->PolygonStipple = __indirect_glPolygonStipple;
glAPI->PopAttrib = __indirect_glPopAttrib;
- glAPI->PopClientAttrib = __indirect_glPopClientAttrib;
glAPI->PopMatrix = __indirect_glPopMatrix;
glAPI->PopName = __indirect_glPopName;
- glAPI->PrioritizeTextures = __indirect_glPrioritizeTextures;
glAPI->PushAttrib = __indirect_glPushAttrib;
- glAPI->PushClientAttrib = __indirect_glPushClientAttrib;
glAPI->PushMatrix = __indirect_glPushMatrix;
glAPI->PushName = __indirect_glPushName;
glAPI->RasterPos2d = __indirect_glRasterPos2d;
glAPI->TexCoord4iv = __indirect_glTexCoord4iv;
glAPI->TexCoord4s = __indirect_glTexCoord4s;
glAPI->TexCoord4sv = __indirect_glTexCoord4sv;
- glAPI->TexCoordPointer = __indirect_glTexCoordPointer;
glAPI->TexEnvf = __indirect_glTexEnvf;
glAPI->TexEnvfv = __indirect_glTexEnvfv;
glAPI->TexEnvi = __indirect_glTexEnvi;
glAPI->TexParameterfv = __indirect_glTexParameterfv;
glAPI->TexParameteri = __indirect_glTexParameteri;
glAPI->TexParameteriv = __indirect_glTexParameteriv;
- glAPI->TexSubImage1D = __indirect_glTexSubImage1D;
- glAPI->TexSubImage2D = __indirect_glTexSubImage2D;
glAPI->Translated = __indirect_glTranslated;
glAPI->Translatef = __indirect_glTranslatef;
glAPI->Vertex2d = __indirect_glVertex2d;
glAPI->Vertex4iv = __indirect_glVertex4iv;
glAPI->Vertex4s = __indirect_glVertex4s;
glAPI->Vertex4sv = __indirect_glVertex4sv;
- glAPI->VertexPointer = __indirect_glVertexPointer;
glAPI->Viewport = __indirect_glViewport;
+ /* 1.1 */
+
+ glAPI->AreTexturesResident = __indirect_glAreTexturesResident;
+ glAPI->ArrayElement = __indirect_glArrayElement;
+ glAPI->BindTexture = __indirect_glBindTexture;
+ glAPI->ColorPointer = __indirect_glColorPointer;
+ glAPI->CopyTexImage1D = __indirect_glCopyTexImage1D;
+ glAPI->CopyTexImage2D = __indirect_glCopyTexImage2D;
+ glAPI->CopyTexSubImage1D = __indirect_glCopyTexSubImage1D;
+ glAPI->CopyTexSubImage2D = __indirect_glCopyTexSubImage2D;
+ glAPI->DeleteTextures = __indirect_glDeleteTextures;
+ glAPI->DisableClientState = __indirect_glDisableClientState;
+ glAPI->DrawArrays = __indirect_glDrawArrays;
+ glAPI->DrawElements = __indirect_glDrawElements;
+ glAPI->EdgeFlagPointer = __indirect_glEdgeFlagPointer;
+ glAPI->EnableClientState = __indirect_glEnableClientState;
+ glAPI->GenTextures = __indirect_glGenTextures;
+ glAPI->GetPointerv = __indirect_glGetPointerv;
+ glAPI->IndexPointer = __indirect_glIndexPointer;
+ glAPI->Indexub = __indirect_glIndexub;
+ glAPI->Indexubv = __indirect_glIndexubv;
+ glAPI->InterleavedArrays = __indirect_glInterleavedArrays;
+ glAPI->IsTexture = __indirect_glIsTexture;
+ glAPI->NormalPointer = __indirect_glNormalPointer;
+ glAPI->PolygonOffset = __indirect_glPolygonOffset;
+ glAPI->PopClientAttrib = __indirect_glPopClientAttrib;
+ glAPI->PrioritizeTextures = __indirect_glPrioritizeTextures;
+ glAPI->PushClientAttrib = __indirect_glPushClientAttrib;
+ glAPI->TexCoordPointer = __indirect_glTexCoordPointer;
+ glAPI->TexSubImage1D = __indirect_glTexSubImage1D;
+ glAPI->TexSubImage2D = __indirect_glTexSubImage2D;
+ glAPI->VertexPointer = __indirect_glVertexPointer;
+
/* 1.2 */
- glAPI->CopyTexSubImage3D = __indirect_glCopyTexSubImage3D;
- glAPI->DrawRangeElements = __indirect_glDrawRangeElements;
- glAPI->TexImage3D = __indirect_glTexImage3D;
- glAPI->TexSubImage3D = __indirect_glTexSubImage3D;
- /* OpenGL 1.2 GL_ARB_imaging */
glAPI->BlendColor = __indirect_glBlendColor;
glAPI->BlendEquation = __indirect_glBlendEquation;
glAPI->ColorSubTable = __indirect_glColorSubTable;
glAPI->CopyColorTable = __indirect_glCopyColorTable;
glAPI->CopyConvolutionFilter1D = __indirect_glCopyConvolutionFilter1D;
glAPI->CopyConvolutionFilter2D = __indirect_glCopyConvolutionFilter2D;
+ glAPI->CopyTexSubImage3D = __indirect_glCopyTexSubImage3D;
+ glAPI->DrawRangeElements = __indirect_glDrawRangeElements;
glAPI->GetColorTable = __indirect_glGetColorTable;
glAPI->GetColorTableParameterfv = __indirect_glGetColorTableParameterfv;
glAPI->GetColorTableParameteriv = __indirect_glGetColorTableParameteriv;
glAPI->ResetHistogram = __indirect_glResetHistogram;
glAPI->ResetMinmax = __indirect_glResetMinmax;
glAPI->SeparableFilter2D = __indirect_glSeparableFilter2D;
+ glAPI->TexImage3D = __indirect_glTexImage3D;
+ glAPI->TexSubImage3D = __indirect_glTexSubImage3D;
- /* 1.4 */
- glAPI->MultiDrawArraysEXT = __indirect_glMultiDrawArraysEXT;
- glAPI->MultiDrawElementsEXT = __indirect_glMultiDrawElementsEXT;
+ /* 1. GL_ARB_multitexture */
- /* ARB 1. GL_ARB_multitexture */
glAPI->ActiveTextureARB = __indirect_glActiveTextureARB;
glAPI->ClientActiveTextureARB = __indirect_glClientActiveTextureARB;
glAPI->MultiTexCoord1dARB = __indirect_glMultiTexCoord1dARB;
glAPI->MultiTexCoord4sARB = __indirect_glMultiTexCoord4sARB;
glAPI->MultiTexCoord4svARB = __indirect_glMultiTexCoord4svARB;
- /* ARB 3. GL_ARB_transpose_matrix */
+ /* 3. GL_ARB_transpose_matrix */
+
glAPI->LoadTransposeMatrixdARB = __indirect_glLoadTransposeMatrixdARB;
glAPI->LoadTransposeMatrixfARB = __indirect_glLoadTransposeMatrixfARB;
glAPI->MultTransposeMatrixdARB = __indirect_glMultTransposeMatrixdARB;
glAPI->MultTransposeMatrixfARB = __indirect_glMultTransposeMatrixfARB;
- /* ARB 5. GL_ARB_multisample */
+ /* 5. GL_ARB_multisample */
+
glAPI->SampleCoverageARB = __indirect_glSampleCoverageARB;
- /* ARB 12. GL_ARB_texture_compression / 1.3 */
- glAPI->GetCompressedTexImageARB = __indirect_glGetCompressedTexImageARB;
+ /* 12. GL_ARB_texture_compression */
+
glAPI->CompressedTexImage1DARB = __indirect_glCompressedTexImage1DARB;
glAPI->CompressedTexImage2DARB = __indirect_glCompressedTexImage2DARB;
glAPI->CompressedTexImage3DARB = __indirect_glCompressedTexImage3DARB;
glAPI->CompressedTexSubImage1DARB = __indirect_glCompressedTexSubImage1DARB;
glAPI->CompressedTexSubImage2DARB = __indirect_glCompressedTexSubImage2DARB;
glAPI->CompressedTexSubImage3DARB = __indirect_glCompressedTexSubImage3DARB;
+ glAPI->GetCompressedTexImageARB = __indirect_glGetCompressedTexImageARB;
+
+ /* 26. GL_ARB_vertex_program */
+
+ glAPI->DisableVertexAttribArrayARB = __indirect_glDisableVertexAttribArrayARB;
+ glAPI->EnableVertexAttribArrayARB = __indirect_glEnableVertexAttribArrayARB;
+ glAPI->GetProgramEnvParameterdvARB = __indirect_glGetProgramEnvParameterdvARB;
+ glAPI->GetProgramEnvParameterfvARB = __indirect_glGetProgramEnvParameterfvARB;
+ glAPI->GetProgramLocalParameterdvARB = __indirect_glGetProgramLocalParameterdvARB;
+ glAPI->GetProgramLocalParameterfvARB = __indirect_glGetProgramLocalParameterfvARB;
+ glAPI->GetProgramStringARB = __indirect_glGetProgramStringARB;
+ glAPI->GetProgramivARB = __indirect_glGetProgramivARB;
+ glAPI->GetVertexAttribdvARB = __indirect_glGetVertexAttribdvARB;
+ glAPI->GetVertexAttribfvARB = __indirect_glGetVertexAttribfvARB;
+ glAPI->GetVertexAttribivARB = __indirect_glGetVertexAttribivARB;
+ glAPI->ProgramEnvParameter4dvARB = __indirect_glProgramEnvParameter4dvARB;
+ glAPI->ProgramEnvParameter4fvARB = __indirect_glProgramEnvParameter4fvARB;
+ glAPI->ProgramLocalParameter4dARB = __indirect_glProgramLocalParameter4dARB;
+ glAPI->ProgramLocalParameter4dvARB = __indirect_glProgramLocalParameter4dvARB;
+ glAPI->ProgramLocalParameter4fARB = __indirect_glProgramLocalParameter4fARB;
+ glAPI->ProgramLocalParameter4fvARB = __indirect_glProgramLocalParameter4fvARB;
+ glAPI->ProgramStringARB = __indirect_glProgramStringARB;
+ glAPI->VertexAttrib1dARB = __indirect_glVertexAttrib1dARB;
+ glAPI->VertexAttrib1dvARB = __indirect_glVertexAttrib1dvARB;
+ glAPI->VertexAttrib1fARB = __indirect_glVertexAttrib1fARB;
+ glAPI->VertexAttrib1fvARB = __indirect_glVertexAttrib1fvARB;
+ glAPI->VertexAttrib1sARB = __indirect_glVertexAttrib1sARB;
+ glAPI->VertexAttrib1svARB = __indirect_glVertexAttrib1svARB;
+ glAPI->VertexAttrib2dARB = __indirect_glVertexAttrib2dARB;
+ glAPI->VertexAttrib2dvARB = __indirect_glVertexAttrib2dvARB;
+ glAPI->VertexAttrib2fARB = __indirect_glVertexAttrib2fARB;
+ glAPI->VertexAttrib2fvARB = __indirect_glVertexAttrib2fvARB;
+ glAPI->VertexAttrib2sARB = __indirect_glVertexAttrib2sARB;
+ glAPI->VertexAttrib2svARB = __indirect_glVertexAttrib2svARB;
+ glAPI->VertexAttrib3dARB = __indirect_glVertexAttrib3dARB;
+ glAPI->VertexAttrib3dvARB = __indirect_glVertexAttrib3dvARB;
+ glAPI->VertexAttrib3fARB = __indirect_glVertexAttrib3fARB;
+ glAPI->VertexAttrib3fvARB = __indirect_glVertexAttrib3fvARB;
+ glAPI->VertexAttrib3sARB = __indirect_glVertexAttrib3sARB;
+ glAPI->VertexAttrib3svARB = __indirect_glVertexAttrib3svARB;
+ glAPI->VertexAttrib4NbvARB = __indirect_glVertexAttrib4NbvARB;
+ glAPI->VertexAttrib4NivARB = __indirect_glVertexAttrib4NivARB;
+ glAPI->VertexAttrib4NsvARB = __indirect_glVertexAttrib4NsvARB;
+ glAPI->VertexAttrib4NubARB = __indirect_glVertexAttrib4NubARB;
+ glAPI->VertexAttrib4NubvARB = __indirect_glVertexAttrib4NubvARB;
+ glAPI->VertexAttrib4NuivARB = __indirect_glVertexAttrib4NuivARB;
+ glAPI->VertexAttrib4NusvARB = __indirect_glVertexAttrib4NusvARB;
+ glAPI->VertexAttrib4bvARB = __indirect_glVertexAttrib4bvARB;
+ glAPI->VertexAttrib4dARB = __indirect_glVertexAttrib4dARB;
+ glAPI->VertexAttrib4dvARB = __indirect_glVertexAttrib4dvARB;
+ glAPI->VertexAttrib4fARB = __indirect_glVertexAttrib4fARB;
+ glAPI->VertexAttrib4fvARB = __indirect_glVertexAttrib4fvARB;
+ glAPI->VertexAttrib4ivARB = __indirect_glVertexAttrib4ivARB;
+ glAPI->VertexAttrib4sARB = __indirect_glVertexAttrib4sARB;
+ glAPI->VertexAttrib4svARB = __indirect_glVertexAttrib4svARB;
+ glAPI->VertexAttrib4ubvARB = __indirect_glVertexAttrib4ubvARB;
+ glAPI->VertexAttrib4uivARB = __indirect_glVertexAttrib4uivARB;
+ glAPI->VertexAttrib4usvARB = __indirect_glVertexAttrib4usvARB;
+ glAPI->VertexAttribPointerARB = __indirect_glVertexAttribPointerARB;
- /* ARB 14. GL_ARB_point_parameters */
- glAPI->PointParameterfEXT = __indirect_glPointParameterfARB;
- glAPI->PointParameterfvEXT = __indirect_glPointParameterfvARB;
+ /* 29. GL_ARB_occlusion_query */
+
+ glAPI->BeginQueryARB = __indirect_glBeginQueryARB;
+ glAPI->DeleteQueriesARB = __indirect_glDeleteQueriesARB;
+ glAPI->EndQueryARB = __indirect_glEndQueryARB;
+ glAPI->GenQueriesARB = __indirect_glGenQueriesARB;
+ glAPI->GetQueryObjectivARB = __indirect_glGetQueryObjectivARB;
+ glAPI->GetQueryObjectuivARB = __indirect_glGetQueryObjectuivARB;
+ glAPI->GetQueryivARB = __indirect_glGetQueryivARB;
+ glAPI->IsQueryARB = __indirect_glIsQueryARB;
+
+ /* 37. GL_ARB_draw_buffers */
+
+ glAPI->DrawBuffersARB = __indirect_glDrawBuffersARB;
+
+ /* 25. GL_SGIS_multisample */
+
+ glAPI->SampleMaskSGIS = __indirect_glSampleMaskSGIS;
+ glAPI->SamplePatternSGIS = __indirect_glSamplePatternSGIS;
+
+ /* 30. GL_EXT_vertex_array */
+
+ glAPI->ColorPointerEXT = __indirect_glColorPointerEXT;
+ glAPI->EdgeFlagPointerEXT = __indirect_glEdgeFlagPointerEXT;
+ glAPI->IndexPointerEXT = __indirect_glIndexPointerEXT;
+ glAPI->NormalPointerEXT = __indirect_glNormalPointerEXT;
+ glAPI->TexCoordPointerEXT = __indirect_glTexCoordPointerEXT;
+ glAPI->VertexPointerEXT = __indirect_glVertexPointerEXT;
+
+ /* 54. GL_EXT_point_parameters */
+
+ glAPI->PointParameterfEXT = __indirect_glPointParameterfEXT;
+ glAPI->PointParameterfvEXT = __indirect_glPointParameterfvEXT;
+
+ /* 145. GL_EXT_secondary_color */
+
+ glAPI->SecondaryColor3bEXT = __indirect_glSecondaryColor3bEXT;
+ glAPI->SecondaryColor3bvEXT = __indirect_glSecondaryColor3bvEXT;
+ glAPI->SecondaryColor3dEXT = __indirect_glSecondaryColor3dEXT;
+ glAPI->SecondaryColor3dvEXT = __indirect_glSecondaryColor3dvEXT;
+ glAPI->SecondaryColor3fEXT = __indirect_glSecondaryColor3fEXT;
+ glAPI->SecondaryColor3fvEXT = __indirect_glSecondaryColor3fvEXT;
+ glAPI->SecondaryColor3iEXT = __indirect_glSecondaryColor3iEXT;
+ glAPI->SecondaryColor3ivEXT = __indirect_glSecondaryColor3ivEXT;
+ glAPI->SecondaryColor3sEXT = __indirect_glSecondaryColor3sEXT;
+ glAPI->SecondaryColor3svEXT = __indirect_glSecondaryColor3svEXT;
+ glAPI->SecondaryColor3ubEXT = __indirect_glSecondaryColor3ubEXT;
+ glAPI->SecondaryColor3ubvEXT = __indirect_glSecondaryColor3ubvEXT;
+ glAPI->SecondaryColor3uiEXT = __indirect_glSecondaryColor3uiEXT;
+ glAPI->SecondaryColor3uivEXT = __indirect_glSecondaryColor3uivEXT;
+ glAPI->SecondaryColor3usEXT = __indirect_glSecondaryColor3usEXT;
+ glAPI->SecondaryColor3usvEXT = __indirect_glSecondaryColor3usvEXT;
+ glAPI->SecondaryColorPointerEXT = __indirect_glSecondaryColorPointerEXT;
+
+ /* 148. GL_EXT_multi_draw_arrays */
+
+ glAPI->MultiDrawArraysEXT = __indirect_glMultiDrawArraysEXT;
+ glAPI->MultiDrawElementsEXT = __indirect_glMultiDrawElementsEXT;
+
+ /* 149. GL_EXT_fog_coord */
+
+ glAPI->FogCoordPointerEXT = __indirect_glFogCoordPointerEXT;
+ glAPI->FogCoorddEXT = __indirect_glFogCoorddEXT;
+ glAPI->FogCoorddvEXT = __indirect_glFogCoorddvEXT;
+ glAPI->FogCoordfEXT = __indirect_glFogCoordfEXT;
+ glAPI->FogCoordfvEXT = __indirect_glFogCoordfvEXT;
+
+ /* 173. GL_EXT_blend_func_separate */
+
+ glAPI->BlendFuncSeparateEXT = __indirect_glBlendFuncSeparateEXT;
+
+ /* 197. GL_MESA_window_pos */
- /* ARB 15. GL_ARB_window_pos */
glAPI->WindowPos2dMESA = __indirect_glWindowPos2dMESA;
- glAPI->WindowPos2iMESA = __indirect_glWindowPos2iMESA;
- glAPI->WindowPos2fMESA = __indirect_glWindowPos2fMESA;
- glAPI->WindowPos2iMESA = __indirect_glWindowPos2iMESA;
- glAPI->WindowPos2sMESA = __indirect_glWindowPos2sMESA;
glAPI->WindowPos2dvMESA = __indirect_glWindowPos2dvMESA;
+ glAPI->WindowPos2fMESA = __indirect_glWindowPos2fMESA;
glAPI->WindowPos2fvMESA = __indirect_glWindowPos2fvMESA;
+ glAPI->WindowPos2iMESA = __indirect_glWindowPos2iMESA;
glAPI->WindowPos2ivMESA = __indirect_glWindowPos2ivMESA;
+ glAPI->WindowPos2sMESA = __indirect_glWindowPos2sMESA;
glAPI->WindowPos2svMESA = __indirect_glWindowPos2svMESA;
glAPI->WindowPos3dMESA = __indirect_glWindowPos3dMESA;
- glAPI->WindowPos3fMESA = __indirect_glWindowPos3fMESA;
- glAPI->WindowPos3iMESA = __indirect_glWindowPos3iMESA;
- glAPI->WindowPos3sMESA = __indirect_glWindowPos3sMESA;
glAPI->WindowPos3dvMESA = __indirect_glWindowPos3dvMESA;
+ glAPI->WindowPos3fMESA = __indirect_glWindowPos3fMESA;
glAPI->WindowPos3fvMESA = __indirect_glWindowPos3fvMESA;
+ glAPI->WindowPos3iMESA = __indirect_glWindowPos3iMESA;
glAPI->WindowPos3ivMESA = __indirect_glWindowPos3ivMESA;
+ glAPI->WindowPos3sMESA = __indirect_glWindowPos3sMESA;
glAPI->WindowPos3svMESA = __indirect_glWindowPos3svMESA;
- /* 25. GL_SGIS_multisample */
- glAPI->SampleMaskSGIS = __indirect_glSampleMaskSGIS;
- glAPI->SamplePatternSGIS = __indirect_glSamplePatternSGIS;
+ /* 233. GL_NV_vertex_program */
- /* 30. GL_EXT_vertex_array */
- glAPI->ColorPointerEXT = __indirect_glColorPointerEXT;
- glAPI->EdgeFlagPointerEXT = __indirect_glEdgeFlagPointerEXT;
- glAPI->IndexPointerEXT = __indirect_glIndexPointerEXT;
- glAPI->NormalPointerEXT = __indirect_glNormalPointerEXT;
- glAPI->TexCoordPointerEXT = __indirect_glTexCoordPointerEXT;
- glAPI->VertexPointerEXT = __indirect_glVertexPointerEXT;
-
- /* 145. GL_EXT_secondary_color / GL 1.4 */
- glAPI->SecondaryColor3bEXT = __indirect_glSecondaryColor3bEXT;
- glAPI->SecondaryColor3bvEXT = __indirect_glSecondaryColor3bvEXT;
- glAPI->SecondaryColor3sEXT = __indirect_glSecondaryColor3sEXT;
- glAPI->SecondaryColor3svEXT = __indirect_glSecondaryColor3svEXT;
- glAPI->SecondaryColor3iEXT = __indirect_glSecondaryColor3iEXT;
- glAPI->SecondaryColor3ivEXT = __indirect_glSecondaryColor3ivEXT;
- glAPI->SecondaryColor3ubEXT = __indirect_glSecondaryColor3ubEXT;
- glAPI->SecondaryColor3ubvEXT = __indirect_glSecondaryColor3ubvEXT;
- glAPI->SecondaryColor3usEXT = __indirect_glSecondaryColor3usEXT;
- glAPI->SecondaryColor3usvEXT = __indirect_glSecondaryColor3usvEXT;
- glAPI->SecondaryColor3uiEXT = __indirect_glSecondaryColor3uiEXT;
- glAPI->SecondaryColor3uivEXT = __indirect_glSecondaryColor3uivEXT;
- glAPI->SecondaryColor3fEXT = __indirect_glSecondaryColor3fEXT;
- glAPI->SecondaryColor3fvEXT = __indirect_glSecondaryColor3fvEXT;
- glAPI->SecondaryColor3dEXT = __indirect_glSecondaryColor3dEXT;
- glAPI->SecondaryColor3dvEXT = __indirect_glSecondaryColor3dvEXT;
- glAPI->SecondaryColorPointerEXT = __indirect_glSecondaryColorPointerEXT;
-
- /* 149. GL_EXT_fog_coord / GL 1.4 */
- glAPI->FogCoordfEXT = __indirect_glFogCoordfEXT;
- glAPI->FogCoordfvEXT = __indirect_glFogCoordfvEXT;
- glAPI->FogCoorddEXT = __indirect_glFogCoorddEXT;
- glAPI->FogCoorddvEXT = __indirect_glFogCoorddvEXT;
- glAPI->FogCoordPointerEXT = __indirect_glFogCoordPointerEXT;
+ glAPI->AreProgramsResidentNV = __indirect_glAreProgramsResidentNV;
+ glAPI->BindProgramNV = __indirect_glBindProgramNV;
+ glAPI->DeleteProgramsNV = __indirect_glDeleteProgramsNV;
+ glAPI->ExecuteProgramNV = __indirect_glExecuteProgramNV;
+ glAPI->GenProgramsNV = __indirect_glGenProgramsNV;
+ glAPI->GetProgramParameterdvNV = __indirect_glGetProgramParameterdvNV;
+ glAPI->GetProgramParameterfvNV = __indirect_glGetProgramParameterfvNV;
+ glAPI->GetProgramStringNV = __indirect_glGetProgramStringNV;
+ glAPI->GetProgramivNV = __indirect_glGetProgramivNV;
+ glAPI->GetTrackMatrixivNV = __indirect_glGetTrackMatrixivNV;
+ glAPI->GetVertexAttribPointervNV = __indirect_glGetVertexAttribPointervNV;
+ glAPI->GetVertexAttribdvNV = __indirect_glGetVertexAttribdvNV;
+ glAPI->GetVertexAttribfvNV = __indirect_glGetVertexAttribfvNV;
+ glAPI->GetVertexAttribivNV = __indirect_glGetVertexAttribivNV;
+ glAPI->IsProgramNV = __indirect_glIsProgramNV;
+ glAPI->LoadProgramNV = __indirect_glLoadProgramNV;
+ glAPI->ProgramParameters4dvNV = __indirect_glProgramParameters4dvNV;
+ glAPI->ProgramParameters4fvNV = __indirect_glProgramParameters4fvNV;
+ glAPI->RequestResidentProgramsNV = __indirect_glRequestResidentProgramsNV;
+ glAPI->TrackMatrixNV = __indirect_glTrackMatrixNV;
+ glAPI->VertexAttrib1dNV = __indirect_glVertexAttrib1dNV;
+ glAPI->VertexAttrib1dvNV = __indirect_glVertexAttrib1dvNV;
+ glAPI->VertexAttrib1fNV = __indirect_glVertexAttrib1fNV;
+ glAPI->VertexAttrib1fvNV = __indirect_glVertexAttrib1fvNV;
+ glAPI->VertexAttrib1sNV = __indirect_glVertexAttrib1sNV;
+ glAPI->VertexAttrib1svNV = __indirect_glVertexAttrib1svNV;
+ glAPI->VertexAttrib2dNV = __indirect_glVertexAttrib2dNV;
+ glAPI->VertexAttrib2dvNV = __indirect_glVertexAttrib2dvNV;
+ glAPI->VertexAttrib2fNV = __indirect_glVertexAttrib2fNV;
+ glAPI->VertexAttrib2fvNV = __indirect_glVertexAttrib2fvNV;
+ glAPI->VertexAttrib2sNV = __indirect_glVertexAttrib2sNV;
+ glAPI->VertexAttrib2svNV = __indirect_glVertexAttrib2svNV;
+ glAPI->VertexAttrib3dNV = __indirect_glVertexAttrib3dNV;
+ glAPI->VertexAttrib3dvNV = __indirect_glVertexAttrib3dvNV;
+ glAPI->VertexAttrib3fNV = __indirect_glVertexAttrib3fNV;
+ glAPI->VertexAttrib3fvNV = __indirect_glVertexAttrib3fvNV;
+ glAPI->VertexAttrib3sNV = __indirect_glVertexAttrib3sNV;
+ glAPI->VertexAttrib3svNV = __indirect_glVertexAttrib3svNV;
+ glAPI->VertexAttrib4dNV = __indirect_glVertexAttrib4dNV;
+ glAPI->VertexAttrib4dvNV = __indirect_glVertexAttrib4dvNV;
+ glAPI->VertexAttrib4fNV = __indirect_glVertexAttrib4fNV;
+ glAPI->VertexAttrib4fvNV = __indirect_glVertexAttrib4fvNV;
+ glAPI->VertexAttrib4sNV = __indirect_glVertexAttrib4sNV;
+ glAPI->VertexAttrib4svNV = __indirect_glVertexAttrib4svNV;
+ glAPI->VertexAttrib4ubNV = __indirect_glVertexAttrib4ubNV;
+ glAPI->VertexAttrib4ubvNV = __indirect_glVertexAttrib4ubvNV;
+ glAPI->VertexAttribPointerNV = __indirect_glVertexAttribPointerNV;
+ glAPI->VertexAttribs1dvNV = __indirect_glVertexAttribs1dvNV;
+ glAPI->VertexAttribs1fvNV = __indirect_glVertexAttribs1fvNV;
+ glAPI->VertexAttribs1svNV = __indirect_glVertexAttribs1svNV;
+ glAPI->VertexAttribs2dvNV = __indirect_glVertexAttribs2dvNV;
+ glAPI->VertexAttribs2fvNV = __indirect_glVertexAttribs2fvNV;
+ glAPI->VertexAttribs2svNV = __indirect_glVertexAttribs2svNV;
+ glAPI->VertexAttribs3dvNV = __indirect_glVertexAttribs3dvNV;
+ glAPI->VertexAttribs3fvNV = __indirect_glVertexAttribs3fvNV;
+ glAPI->VertexAttribs3svNV = __indirect_glVertexAttribs3svNV;
+ glAPI->VertexAttribs4dvNV = __indirect_glVertexAttribs4dvNV;
+ glAPI->VertexAttribs4fvNV = __indirect_glVertexAttribs4fvNV;
+ glAPI->VertexAttribs4svNV = __indirect_glVertexAttribs4svNV;
+ glAPI->VertexAttribs4ubvNV = __indirect_glVertexAttribs4ubvNV;
- /* 173. GL_EXT_blend_func_separate / GL 1.4 */
- glAPI->BlendFuncSeparateEXT = __indirect_glBlendFuncSeparate;
+ /* 262. GL_NV_point_sprite */
- /* 262. GL_NV_point_sprite / GL 1.4 */
- glAPI->PointParameteriNV = __indirect_glPointParameteri;
- glAPI->PointParameterivNV = __indirect_glPointParameteriv;
+ glAPI->PointParameteriNV = __indirect_glPointParameteriNV;
+ glAPI->PointParameterivNV = __indirect_glPointParameterivNV;
/* 268. GL_EXT_stencil_two_side */
+
glAPI->ActiveStencilFaceEXT = __indirect_glActiveStencilFaceEXT;
+ /* 282. GL_NV_fragment_program */
+
+ glAPI->GetProgramNamedParameterdvNV = __indirect_glGetProgramNamedParameterdvNV;
+ glAPI->GetProgramNamedParameterfvNV = __indirect_glGetProgramNamedParameterfvNV;
+ glAPI->ProgramNamedParameter4dNV = __indirect_glProgramNamedParameter4dNV;
+ glAPI->ProgramNamedParameter4dvNV = __indirect_glProgramNamedParameter4dvNV;
+ glAPI->ProgramNamedParameter4fNV = __indirect_glProgramNamedParameter4fNV;
+ glAPI->ProgramNamedParameter4fvNV = __indirect_glProgramNamedParameter4fvNV;
+
+ /* 299. GL_EXT_blend_equation_separate */
+
+ glAPI->BlendEquationSeparateEXT = __indirect_glBlendEquationSeparateEXT;
+
+ /* 310. GL_EXT_framebuffer_object */
+
+ glAPI->BindFramebufferEXT = __indirect_glBindFramebufferEXT;
+ glAPI->BindRenderbufferEXT = __indirect_glBindRenderbufferEXT;
+ glAPI->CheckFramebufferStatusEXT = __indirect_glCheckFramebufferStatusEXT;
+ glAPI->DeleteFramebuffersEXT = __indirect_glDeleteFramebuffersEXT;
+ glAPI->DeleteRenderbuffersEXT = __indirect_glDeleteRenderbuffersEXT;
+ glAPI->FramebufferRenderbufferEXT = __indirect_glFramebufferRenderbufferEXT;
+ glAPI->FramebufferTexture1DEXT = __indirect_glFramebufferTexture1DEXT;
+ glAPI->FramebufferTexture2DEXT = __indirect_glFramebufferTexture2DEXT;
+ glAPI->FramebufferTexture3DEXT = __indirect_glFramebufferTexture3DEXT;
+ glAPI->GenFramebuffersEXT = __indirect_glGenFramebuffersEXT;
+ glAPI->GenRenderbuffersEXT = __indirect_glGenRenderbuffersEXT;
+ glAPI->GenerateMipmapEXT = __indirect_glGenerateMipmapEXT;
+ glAPI->GetFramebufferAttachmentParameterivEXT = __indirect_glGetFramebufferAttachmentParameterivEXT;
+ glAPI->GetRenderbufferParameterivEXT = __indirect_glGetRenderbufferParameterivEXT;
+ glAPI->IsFramebufferEXT = __indirect_glIsFramebufferEXT;
+ glAPI->IsRenderbufferEXT = __indirect_glIsRenderbufferEXT;
+ glAPI->RenderbufferStorageEXT = __indirect_glRenderbufferStorageEXT;
+
return glAPI;
}
+