summaryrefslogtreecommitdiff
path: root/src/mesa/glapi
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>1999-11-25 18:17:14 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>1999-11-25 18:17:14 +0000
commit88590fb3423943d4b7c27bb5ab0e0d77c93fa7ec (patch)
tree5fc1c27ed79168c394fd183e870938777bad7b35 /src/mesa/glapi
parent7e1161bd2d3e603a82e9626ef89dac23732f37f7 (diff)
include glapitable.h
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r--src/mesa/glapi/glapi.h526
1 files changed, 2 insertions, 524 deletions
diff --git a/src/mesa/glapi/glapi.h b/src/mesa/glapi/glapi.h
index a7f3059e84..0baa0c2b50 100644
--- a/src/mesa/glapi/glapi.h
+++ b/src/mesa/glapi/glapi.h
@@ -1,4 +1,4 @@
-/* $Id: glapi.h,v 1.2 1999/11/12 18:57:50 brianp Exp $ */
+/* $Id: glapi.h,v 1.3 1999/11/25 18:17:14 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -25,535 +25,13 @@
*/
-/*
- * This file is not specific to Mesa. It defines a dispatch table
- * which could be used by any number of OpenGL implementations.
- * It's designed to be gl.h-independent as well. That is, it does
- * not depend on any particular extensions being defined in the gl.h
- * header. We #define extension symbols (like _GLAPI_EXT_blend_color)
- * to determine which entry points to compile. Clients of this dispatcher
- * (like Mesa) can #ifdef test these symbols to know how to fill in the
- * table.
- */
-
-
#ifndef _GLAPI_H
#define _GLAPI_H
#include "GL/gl.h"
-
-/* Which OpenGL API revisisions are supported by the table: */
-#define _GLAPI_VERSION_1_1 1
-#define _GLAPI_VERSION_1_2 1
-
-/* And which extensions: */
-#define _GLAPI_ARB_imaging 1
-#define _GLAPI_ARB_multitexture 1
-#define _GLAPI_EXT_paletted_texture 1
-#define _GLAPI_EXT_compiled_vertex_array 1
-#define _GLAPI_EXT_point_parameters 1
-#define _GLAPI_EXT_polygon_offset 1
-#define _GLAPI_EXT_blend_minmax 1
-#define _GLAPI_EXT_blend_color 1
-#define _GLAPI_EXT_texture3D 1
-#define _GLAPI_EXT_texture_object 1
-#define _GLAPI_EXT_vertex_array 1
-#define _GLAPI_INGR_blend_func_separate 1
-#define _GLAPI_MESA_window_pos 1
-#define _GLAPI_MESA_resize_buffers 1
-
-
-
-
-/*
- * This struct contains pointers for all the GL API entrypoints
- * plus some reserved slots for dynamic extensions.
- *
- */
-struct _glapi_table
-{
- /*
- * OpenGL 1.0
- */
- void (*Accum)(GLenum, GLfloat);
- void (*AlphaFunc)(GLenum, GLclampf);
- void (*Begin)(GLenum);
- void (*Bitmap)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *);
- void (*BlendFunc)(GLenum, GLenum);
- void (*CallList)(GLuint list);
- void (*CallLists)(GLsizei, GLenum, const GLvoid *);
- void (*Clear)(GLbitfield);
- void (*ClearAccum)(GLfloat, GLfloat, GLfloat, GLfloat);
- void (*ClearColor)(GLclampf, GLclampf, GLclampf, GLclampf);
- void (*ClearDepth)(GLclampd);
- void (*ClearIndex)(GLfloat);
- void (*ClearStencil)(GLint);
- void (*ClipPlane)(GLenum, const GLdouble *);
- void (*Color3b)(GLbyte, GLbyte, GLbyte);
- void (*Color3bv)(const GLbyte *);
- void (*Color3d)(GLdouble, GLdouble, GLdouble);
- void (*Color3dv)(const GLdouble *);
- void (*Color3f)(GLfloat, GLfloat, GLfloat);
- void (*Color3fv)(const GLfloat *);
- void (*Color3i)(GLint, GLint, GLint);
- void (*Color3iv)(const GLint *);
- void (*Color3s)(GLshort, GLshort, GLshort);
- void (*Color3sv)(const GLshort *);
- void (*Color3ub)(GLubyte, GLubyte, GLubyte);
- void (*Color3ubv)(const GLubyte *);
- void (*Color3ui)(GLuint, GLuint, GLuint);
- void (*Color3uiv)(const GLuint *);
- void (*Color3us)(GLushort, GLushort, GLushort);
- void (*Color3usv)(const GLushort *);
- void (*Color4b)(GLbyte, GLbyte, GLbyte, GLbyte);
- void (*Color4bv)(const GLbyte *);
- void (*Color4d)(GLdouble, GLdouble, GLdouble, GLdouble);
- void (*Color4dv)(const GLdouble *);
- void (*Color4f)(GLfloat, GLfloat, GLfloat, GLfloat);
- void (*Color4fv)(const GLfloat *);
- void (*Color4i)(GLint, GLint, GLint, GLint);
- void (*Color4iv)(const GLint *);
- void (*Color4s)(GLshort, GLshort, GLshort, GLshort);
- void (*Color4sv)(const GLshort *);
- void (*Color4ub)(GLubyte, GLubyte, GLubyte, GLubyte);
- void (*Color4ubv)(const GLubyte *);
- void (*Color4ui)(GLuint, GLuint, GLuint, GLuint);
- void (*Color4uiv)(const GLuint *);
- void (*Color4us)(GLushort, GLushort, GLushort, GLushort);
- void (*Color4usv)(const GLushort *);
- void (*ColorMask)(GLboolean, GLboolean, GLboolean, GLboolean);
- void (*ColorMaterial)(GLenum, GLenum);
- void (*CopyPixels)(GLint, GLint, GLsizei, GLsizei, GLenum);
- void (*CullFace)(GLenum);
- void (*DeleteLists)(GLuint, GLsizei);
- void (*DepthFunc)(GLenum);
- void (*DepthMask)(GLboolean);
- void (*DepthRange)(GLclampd, GLclampd);
- void (*Disable)(GLenum);
- void (*DrawBuffer)(GLenum);
- void (*DrawPixels)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
- void (*EdgeFlag)(GLboolean);
- void (*EdgeFlagv)(const GLboolean *);
- void (*Enable)(GLenum);
- void (*End)(void);
- void (*EndList)(void);
- void (*EvalCoord1d)(GLdouble);
- void (*EvalCoord1dv)(const GLdouble *);
- void (*EvalCoord1f)(GLfloat);
- void (*EvalCoord1fv)(const GLfloat *);
- void (*EvalCoord2d)(GLdouble u, GLdouble);
- void (*EvalCoord2dv)(const GLdouble *);
- void (*EvalCoord2f)(GLfloat u, GLfloat);
- void (*EvalCoord2fv)(const GLfloat *);
- void (*EvalMesh1)(GLenum, GLint, GLint);
- void (*EvalMesh2)(GLenum, GLint, GLint, GLint, GLint);
- void (*EvalPoint1)(GLint);
- void (*EvalPoint2)(GLint, GLint);
- void (*FeedbackBuffer)(GLsizei, GLenum, GLfloat *);
- void (*Finish)(void);
- void (*Flush)(void);
- void (*Fogf)(GLenum, GLfloat);
- void (*Fogfv)(GLenum, const GLfloat *);
- void (*Fogi)(GLenum, GLint);
- void (*Fogiv)(GLenum, const GLint *);
- void (*FrontFace)(GLenum);
- void (*Frustum)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
- GLuint (*GenLists)(GLsizei);
- void (*GetBooleanv)(GLenum, GLboolean *);
- void (*GetClipPlane)(GLenum, GLdouble *);
- void (*GetDoublev)(GLenum, GLdouble *);
- GLenum (*GetError)(void);
- void (*GetFloatv)(GLenum, GLfloat *);
- void (*GetIntegerv)(GLenum, GLint *);
- void (*GetLightfv)(GLenum light, GLenum, GLfloat *);
- void (*GetLightiv)(GLenum light, GLenum, GLint *);
- void (*GetMapdv)(GLenum, GLenum, GLdouble *);
- void (*GetMapfv)(GLenum, GLenum, GLfloat *);
- void (*GetMapiv)(GLenum, GLenum, GLint *);
- void (*GetMaterialfv)(GLenum, GLenum, GLfloat *);
- void (*GetMaterialiv)(GLenum, GLenum, GLint *);
- void (*GetPixelMapfv)(GLenum, GLfloat *);
- void (*GetPixelMapuiv)(GLenum, GLuint *);
- void (*GetPixelMapusv)(GLenum, GLushort *);
- void (*GetPolygonStipple)(GLubyte *);
- const GLubyte* (*GetString)(GLenum name);
- void (*GetTexEnvfv)(GLenum, GLenum, GLfloat *);
- void (*GetTexEnviv)(GLenum, GLenum, GLint *);
- void (*GetTexGendv)(GLenum coord, GLenum, GLdouble *);
- void (*GetTexGenfv)(GLenum coord, GLenum, GLfloat *);
- void (*GetTexGeniv)(GLenum coord, GLenum, GLint *);
- void (*GetTexImage)(GLenum, GLint level, GLenum, GLenum, GLvoid *);
- void (*GetTexLevelParameterfv)(GLenum, GLint, GLenum, GLfloat *);
- void (*GetTexLevelParameteriv)(GLenum, GLint, GLenum, GLint *);
- void (*GetTexParameterfv)(GLenum, GLenum, GLfloat *);
- void (*GetTexParameteriv)(GLenum, GLenum, GLint *);
- void (*Hint)(GLenum, GLenum);
- void (*IndexMask)(GLuint);
- void (*Indexd)(GLdouble);
- void (*Indexdv)(const GLdouble *);
- void (*Indexf)(GLfloat);
- void (*Indexfv)(const GLfloat *);
- void (*Indexi)(GLint);
- void (*Indexiv)(const GLint *);
- void (*Indexs)(GLshort);
- void (*Indexsv)(const GLshort *);
- void (*InitNames)(void);
- GLboolean (*IsEnabled)(GLenum);
- GLboolean (*IsList)(GLuint);
- void (*LightModelf)(GLenum, GLfloat);
- void (*LightModelfv)(GLenum, const GLfloat *);
- void (*LightModeli)(GLenum, GLint);
- void (*LightModeliv)(GLenum, const GLint *);
- void (*Lightf)(GLenum light, GLenum, GLfloat);
- void (*Lightfv)(GLenum light, GLenum, const GLfloat *);
- void (*Lighti)(GLenum light, GLenum, GLint);
- void (*Lightiv)(GLenum light, GLenum, const GLint *);
- void (*LineStipple)(GLint factor, GLushort);
- void (*LineWidth)(GLfloat);
- void (*ListBase)(GLuint);
- void (*LoadIdentity)(void);
- void (*LoadMatrixd)(const GLdouble *);
- void (*LoadMatrixf)(const GLfloat *);
- void (*LoadName)(GLuint);
- void (*LogicOp)(GLenum);
- void (*Map1d)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
- void (*Map1f)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
- void (*Map2d)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
- void (*Map2f)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
- void (*MapGrid1d)(GLint, GLdouble, GLdouble);
- void (*MapGrid1f)(GLint, GLfloat, GLfloat);
- void (*MapGrid2d)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble);
- void (*MapGrid2f)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat);
- void (*Materialf)(GLenum, GLenum, GLfloat);
- void (*Materialfv)(GLenum, GLenum, const GLfloat *);
- void (*Materiali)(GLenum, GLenum, GLint);
- void (*Materialiv)(GLenum, GLenum, const GLint *);
- void (*MatrixMode)(GLenum);
- void (*MultMatrixd)(const GLdouble *);
- void (*MultMatrixf)(const GLfloat *);
- void (*NewList)(GLuint list, GLenum);
- void (*Normal3b)(GLbyte, GLbyte, GLbyte);
- void (*Normal3bv)(const GLbyte *);
- void (*Normal3d)(GLdouble, GLdouble, GLdouble);
- void (*Normal3dv)(const GLdouble *);
- void (*Normal3f)(GLfloat, GLfloat, GLfloat);
- void (*Normal3fv)(const GLfloat *);
- void (*Normal3i)(GLint, GLint, GLint);
- void (*Normal3iv)(const GLint *);
- void (*Normal3s)(GLshort, GLshort, GLshort);
- void (*Normal3sv)(const GLshort *);
- void (*Ortho)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
- void (*PassThrough)(GLfloat);
- void (*PixelMapfv)(GLenum, GLint, const GLfloat *);
- void (*PixelMapuiv)(GLenum, GLint, const GLuint *);
- void (*PixelMapusv)(GLenum, GLint, const GLushort *);
- void (*PixelStoref)(GLenum, GLfloat);
- void (*PixelStorei)(GLenum, GLint);
- void (*PixelTransferf)(GLenum, GLfloat);
- void (*PixelTransferi)(GLenum, GLint);
- void (*PixelZoom)(GLfloat, GLfloat);
- void (*PointSize)(GLfloat);
- void (*PolygonMode)(GLenum, GLenum);
- void (*PolygonOffset)(GLfloat, GLfloat);
- void (*PolygonStipple)(const GLubyte *);
- void (*PopAttrib)(void);
- void (*PopMatrix)(void);
- void (*PopName)(void);
- void (*PushAttrib)(GLbitfield);
- void (*PushMatrix)(void);
- void (*PushName)(GLuint);
- void (*RasterPos2d)(GLdouble, GLdouble);
- void (*RasterPos2dv)(const GLdouble *);
- void (*RasterPos2f)(GLfloat, GLfloat);
- void (*RasterPos2fv)(const GLfloat *);
- void (*RasterPos2i)(GLint, GLint);
- void (*RasterPos2iv)(const GLint *);
- void (*RasterPos2s)(GLshort, GLshort);
- void (*RasterPos2sv)(const GLshort *);
- void (*RasterPos3d)(GLdouble, GLdouble, GLdouble);
- void (*RasterPos3dv)(const GLdouble *);
- void (*RasterPos3f)(GLfloat, GLfloat, GLfloat);
- void (*RasterPos3fv)(const GLfloat *);
- void (*RasterPos3i)(GLint, GLint, GLint);
- void (*RasterPos3iv)(const GLint *);
- void (*RasterPos3s)(GLshort, GLshort, GLshort);
- void (*RasterPos3sv)(const GLshort *);
- void (*RasterPos4d)(GLdouble, GLdouble, GLdouble, GLdouble);
- void (*RasterPos4dv)(const GLdouble *);
- void (*RasterPos4f)(GLfloat, GLfloat, GLfloat, GLfloat);
- void (*RasterPos4fv)(const GLfloat *);
- void (*RasterPos4i)(GLint, GLint, GLint, GLint);
- void (*RasterPos4iv)(const GLint *);
- void (*RasterPos4s)(GLshort, GLshort, GLshort, GLshort);
- void (*RasterPos4sv)(const GLshort *);
- void (*ReadBuffer)(GLenum);
- void (*ReadPixels)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *);
- void (*Rectd)(GLdouble, GLdouble, GLdouble, GLdouble);
- void (*Rectdv)(const GLdouble *, const GLdouble *);
- void (*Rectf)(GLfloat, GLfloat, GLfloat, GLfloat);
- void (*Rectfv)(const GLfloat *, const GLfloat *);
- void (*Recti)(GLint, GLint, GLint, GLint);
- void (*Rectiv)(const GLint *, const GLint *);
- void (*Rects)(GLshort, GLshort, GLshort, GLshort);
- void (*Rectsv)(const GLshort *, const GLshort *);
- GLint (*RenderMode)(GLenum);
- void (*Rotated)(GLdouble, GLdouble, GLdouble, GLdouble);
- void (*Rotatef)(GLfloat, GLfloat, GLfloat, GLfloat);
- void (*Scaled)(GLdouble, GLdouble, GLdouble);
- void (*Scalef)(GLfloat, GLfloat, GLfloat);
- void (*Scissor)(GLint, GLint, GLsizei, GLsizei);
- void (*SelectBuffer)(GLsizei, GLuint *);
- void (*ShadeModel)(GLenum);
- void (*StencilFunc)(GLenum, GLint, GLuint);
- void (*StencilMask)(GLuint);
- void (*StencilOp)(GLenum, GLenum, GLenum);
- void (*TexCoord1d)(GLdouble);
- void (*TexCoord1dv)(const GLdouble *);
- void (*TexCoord1f)(GLfloat);
- void (*TexCoord1fv)(const GLfloat *);
- void (*TexCoord1i)(GLint);
- void (*TexCoord1iv)(const GLint *);
- void (*TexCoord1s)(GLshort);
- void (*TexCoord1sv)(const GLshort *);
- void (*TexCoord2d)(GLdouble, GLdouble);
- void (*TexCoord2dv)(const GLdouble *);
- void (*TexCoord2f)(GLfloat, GLfloat);
- void (*TexCoord2fv)(const GLfloat *);
- void (*TexCoord2i)(GLint, GLint);
- void (*TexCoord2iv)(const GLint *);
- void (*TexCoord2s)(GLshort, GLshort);
- void (*TexCoord2sv)(const GLshort *);
- void (*TexCoord3d)(GLdouble, GLdouble, GLdouble);
- void (*TexCoord3dv)(const GLdouble *);
- void (*TexCoord3f)(GLfloat, GLfloat, GLfloat);
- void (*TexCoord3fv)(const GLfloat *);
- void (*TexCoord3i)(GLint, GLint, GLint);
- void (*TexCoord3iv)(const GLint *);
- void (*TexCoord3s)(GLshort, GLshort, GLshort);
- void (*TexCoord3sv)(const GLshort *);
- void (*TexCoord4d)(GLdouble, GLdouble, GLdouble, GLdouble);
- void (*TexCoord4dv)(const GLdouble *);
- void (*TexCoord4f)(GLfloat, GLfloat, GLfloat, GLfloat);
- void (*TexCoord4fv)(const GLfloat *);
- void (*TexCoord4i)(GLint, GLint, GLint, GLint);
- void (*TexCoord4iv)(const GLint *);
- void (*TexCoord4s)(GLshort, GLshort, GLshort, GLshort);
- void (*TexCoord4sv)(const GLshort *);
- void (*TexEnvf)(GLenum, GLenum, GLfloat);
- void (*TexEnvfv)(GLenum, GLenum, const GLfloat *);
- void (*TexEnvi)(GLenum, GLenum, GLint);
- void (*TexEnviv)(GLenum, GLenum, const GLint *);
- void (*TexGend)(GLenum, GLenum, GLdouble);
- void (*TexGendv)(GLenum, GLenum, const GLdouble *);
- void (*TexGenf)(GLenum, GLenum, GLfloat);
- void (*TexGenfv)(GLenum, GLenum, const GLfloat *);
- void (*TexGeni)(GLenum, GLenum, GLint);
- void (*TexGeniv)(GLenum, GLenum, const GLint *);
- void (*TexImage1D)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
- void (*TexImage2D)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
- void (*TexParameterf)(GLenum, GLenum, GLfloat);
- void (*TexParameterfv)(GLenum, GLenum, const GLfloat *);
- void (*TexParameteri)(GLenum, GLenum, GLint);
- void (*TexParameteriv)(GLenum, GLenum, const GLint *);
- void (*Translated)(GLdouble, GLdouble, GLdouble);
- void (*Translatef)(GLfloat, GLfloat, GLfloat);
- void (*Vertex2d)(GLdouble, GLdouble);
- void (*Vertex2dv)(const GLdouble *);
- void (*Vertex2f)(GLfloat, GLfloat);
- void (*Vertex2fv)(const GLfloat *);
- void (*Vertex2i)(GLint, GLint);
- void (*Vertex2iv)(const GLint *);
- void (*Vertex2s)(GLshort, GLshort);
- void (*Vertex2sv)(const GLshort *);
- void (*Vertex3d)(GLdouble, GLdouble, GLdouble);
- void (*Vertex3dv)(const GLdouble *);
- void (*Vertex3f)(GLfloat, GLfloat, GLfloat);
- void (*Vertex3fv)(const GLfloat *);
- void (*Vertex3i)(GLint, GLint, GLint);
- void (*Vertex3iv)(const GLint *);
- void (*Vertex3s)(GLshort, GLshort, GLshort);
- void (*Vertex3sv)(const GLshort *);
- void (*Vertex4d)(GLdouble, GLdouble, GLdouble, GLdouble);
- void (*Vertex4dv)(const GLdouble *);
- void (*Vertex4f)(GLfloat, GLfloat, GLfloat, GLfloat);
- void (*Vertex4fv)(const GLfloat *);
- void (*Vertex4i)(GLint, GLint, GLint, GLint);
- void (*Vertex4iv)(const GLint *);
- void (*Vertex4s)(GLshort, GLshort, GLshort, GLshort);
- void (*Vertex4sv)(const GLshort *);
- void (*Viewport)(GLint, GLint, GLsizei, GLsizei);
-
- /*
- * OpenGL 1.1
- */
-#ifdef _GLAPI_VERSION_1_1
- GLboolean (*AreTexturesResident)(GLsizei, const GLuint *, GLboolean *);
- void (*ArrayElement)(GLint);
- void (*BindTexture)(GLenum, GLuint);
- void (*ColorPointer)(GLint, GLenum, GLsizei, const GLvoid *);
- void (*CopyTexImage1D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
- void (*CopyTexImage2D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
- void (*CopyTexSubImage1D)(GLenum, GLint, GLint, GLint, GLint, GLsizei);
- void (*CopyTexSubImage2D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
- void (*DeleteTextures)(GLsizei, const GLuint *);
- void (*DisableClientState)(GLenum);
- void (*DrawArrays)(GLenum, GLint, GLsizei);
- void (*DrawElements)(GLenum, GLsizei, GLenum, const GLvoid *);
- void (*EdgeFlagPointer)(GLsizei, const GLvoid *);
- void (*EnableClientState)(GLenum);
- void (*GenTextures)(GLsizei, GLuint *);
- void (*GetPointerv)(GLenum, GLvoid **);
- void (*IndexPointer)(GLenum, GLsizei, const GLvoid *);
- void (*Indexub)(GLubyte);
- void (*Indexubv)(const GLubyte *);
- void (*InterleavedArrays)(GLenum, GLsizei, const GLvoid *);
- GLboolean (*IsTexture)(GLuint);
- void (*NormalPointer)(GLenum, GLsizei, const GLvoid *);
- void (*PopClientAttrib)(void);
- void (*PrioritizeTextures)(GLsizei, const GLuint *, const GLclampf *);
- void (*PushClientAttrib)(GLbitfield);
- void (*TexCoordPointer)(GLint, GLenum, GLsizei, const GLvoid *);
- void (*TexSubImage1D)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
- void (*TexSubImage2D)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
- void (*VertexPointer)(GLint, GLenum, GLsizei, const GLvoid *);
-#endif
-
- /*
- * OpenGL 1.2
- */
-#ifdef _GLAPI_VERSION_1_2
- void (*CopyTexSubImage3D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
- void (*DrawRangeElements)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
- void (*TexImage3D)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
- void (*TexSubImage3D)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
-
-#ifdef _GLAPI_ARB_imaging
- void (*BlendColor)(GLclampf, GLclampf, GLclampf, GLclampf);
- void (*BlendEquation)(GLenum);
- void (*ColorSubTable)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
- void (*ColorTable)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
- void (*ColorTableParameterfv)(GLenum, GLenum, const GLfloat *);
- void (*ColorTableParameteriv)(GLenum, GLenum, const GLint *);
- void (*ConvolutionFilter1D)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
- void (*ConvolutionFilter2D)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
- void (*ConvolutionParameterf)(GLenum, GLenum, GLfloat);
- void (*ConvolutionParameterfv)(GLenum, GLenum, const GLfloat *);
- void (*ConvolutionParameteri)(GLenum, GLenum, GLint);
- void (*ConvolutionParameteriv)(GLenum, GLenum, const GLint *);
- void (*CopyColorSubTable)(GLenum, GLsizei, GLint, GLint, GLsizei);
- void (*CopyColorTable)(GLenum, GLenum, GLint, GLint, GLsizei);
- void (*CopyConvolutionFilter1D)(GLenum, GLenum, GLint x, GLint y, GLsizei);
- void (*CopyConvolutionFilter2D)(GLenum, GLenum, GLint x, GLint y, GLsizei, GLsizei);
- void (*GetColorTable)(GLenum, GLenum, GLenum, GLvoid *);
- void (*GetColorTableParameterfv)(GLenum, GLenum, GLfloat *);
- void (*GetColorTableParameteriv)(GLenum, GLenum, GLint *);
- void (*GetConvolutionFilter)(GLenum, GLenum, GLenum, GLvoid *);
- void (*GetConvolutionParameterfv)(GLenum, GLenum, GLfloat *);
- void (*GetConvolutionParameteriv)(GLenum, GLenum, GLint *);
- void (*GetHistogram)(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
- void (*GetHistogramParameterfv)(GLenum, GLenum, GLfloat *);
- void (*GetHistogramParameteriv)(GLenum, GLenum, GLint *);
- void (*GetMinmax)(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
- void (*GetMinmaxParameterfv)(GLenum, GLenum, GLfloat *);
- void (*GetMinmaxParameteriv)(GLenum, GLenum, GLint *);
- void (*GetSeparableFilter)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
- void (*Histogram)(GLenum, GLsizei, GLenum, GLboolean);
- void (*Minmax)(GLenum, GLenum, GLboolean);
- void (*ResetHistogram)(GLenum);
- void (*ResetMinmax)(GLenum);
- void (*SeparableFilter2D)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
-#endif /*_GLAPI_ARB_imaging*/
-#endif /*_GLAPI_VERSION_1_2*/
-
-
- /*
- * Extensions
- */
-
-#ifdef _GLAPI_EXT_paletted_texture
- void (*ColorTableEXT)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
- void (*ColorSubTableEXT)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
- void (*GetColorTableEXT)(GLenum, GLenum, GLenum, GLvoid *);
- void (*GetColorTableParameterfvEXT)(GLenum, GLenum, GLfloat *);
- void (*GetColorTableParameterivEXT)(GLenum, GLenum, GLint *);
-#endif
-
-#ifdef _GLAPI_EXT_compiled_vertex_array
- void (*LockArraysEXT)(GLint, GLsizei);
- void (*UnlockArraysEXT)(void);
-#endif
-
-#ifdef _GLAPI_EXT_point_parameters
- void (*PointParameterfEXT)(GLenum, GLfloat);
- void (*PointParameterfvEXT)(GLenum, const GLfloat *);
-#endif
-
-#ifdef _GLAPI_EXT_polygon_offset
- void (*PolygonOffsetEXT)(GLfloat, GLfloat);
-#endif
-
-#ifdef _GLAPI_EXT_blend_minmax
- void (*BlendEquationEXT)(GLenum);
-#endif
-
-#ifdef _GLAPI_EXT_blend_color
- void (*BlendColorEXT)(GLclampf, GLclampf, GLclampf, GLclampf);
-#endif
-
-#ifdef _GLAPI_ARB_multitexture
- void (*ActiveTextureARB)(GLenum);
- void (*ClientActiveTextureARB)(GLenum);
- void (*MultiTexCoord1dARB)(GLenum, GLdouble);
- void (*MultiTexCoord1dvARB)(GLenum, const GLdouble *);
- void (*MultiTexCoord1fARB)(GLenum, GLfloat);
- void (*MultiTexCoord1fvARB)(GLenum, const GLfloat *);
- void (*MultiTexCoord1iARB)(GLenum, GLint);
- void (*MultiTexCoord1ivARB)(GLenum, const GLint *);
- void (*MultiTexCoord1sARB)(GLenum, GLshort);
- void (*MultiTexCoord1svARB)(GLenum, const GLshort *);
- void (*MultiTexCoord2dARB)(GLenum, GLdouble, GLdouble);
- void (*MultiTexCoord2dvARB)(GLenum, const GLdouble *);
- void (*MultiTexCoord2fARB)(GLenum, GLfloat, GLfloat);
- void (*MultiTexCoord2fvARB)(GLenum, const GLfloat *);
- void (*MultiTexCoord2iARB)(GLenum, GLint, GLint);
- void (*MultiTexCoord2ivARB)(GLenum, const GLint *);
- void (*MultiTexCoord2sARB)(GLenum, GLshort, GLshort);
- void (*MultiTexCoord2svARB)(GLenum, const GLshort *);
- void (*MultiTexCoord3dARB)(GLenum, GLdouble, GLdouble, GLdouble);
- void (*MultiTexCoord3dvARB)(GLenum, const GLdouble *);
- void (*MultiTexCoord3fARB)(GLenum, GLfloat, GLfloat, GLfloat);
- void (*MultiTexCoord3fvARB)(GLenum, const GLfloat *);
- void (*MultiTexCoord3iARB)(GLenum, GLint, GLint, GLint);
- void (*MultiTexCoord3ivARB)(GLenum, const GLint *);
- void (*MultiTexCoord3sARB)(GLenum, GLshort, GLshort, GLshort);
- void (*MultiTexCoord3svARB)(GLenum, const GLshort *);
- void (*MultiTexCoord4dARB)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
- void (*MultiTexCoord4dvARB)(GLenum, const GLdouble *);
- void (*MultiTexCoord4fARB)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
- void (*MultiTexCoord4fvARB)(GLenum, const GLfloat *);
- void (*MultiTexCoord4iARB)(GLenum, GLint, GLint, GLint, GLint);
- void (*MultiTexCoord4ivARB)(GLenum, const GLint *);
- void (*MultiTexCoord4sARB)(GLenum, GLshort, GLshort, GLshort, GLshort);
- void (*MultiTexCoord4svARB)(GLenum, const GLshort *);
-#endif
-
-#ifdef _GLAPI_INGR_blend_func_separate
- void (*BlendFuncSeparateINGR)(GLenum, GLenum, GLenum, GLenum);
-#endif
-
-#ifdef _GLAPI_MESA_window_pos
- void (*WindowPos4fMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
-#endif
-
-#ifdef _GLAPI_MESA_resize_buffers
- void (*ResizeBuffersMESA)(void);
-#endif
-
-};
-
-
+#include "glapitable.h"
extern void