diff options
author | Brian Paul <[email protected]> | 1999-12-15 12:52:31 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 1999-12-15 12:52:31 +0000 |
commit | 67661b04f2b31691ef8e5a557624654b25e6d553 (patch) | |
tree | e3e506b96d972525f7366d9168b720ec9345ba6b /src/mesa/glapi/glapitemp.h | |
parent | 945d18a5e2fb64d150c1a66faef63b3d1c77ede1 (diff) |
added many more extension entry points
Diffstat (limited to 'src/mesa/glapi/glapitemp.h')
-rw-r--r-- | src/mesa/glapi/glapitemp.h | 460 |
1 files changed, 209 insertions, 251 deletions
diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h index 32578ba66b2..24b9467f75e 100644 --- a/src/mesa/glapi/glapitemp.h +++ b/src/mesa/glapi/glapitemp.h @@ -1,4 +1,4 @@ -/* $Id: glapitemp.h,v 1.2 1999/12/10 20:01:06 brianp Exp $ */ +/* $Id: glapitemp.h,v 1.3 1999/12/15 12:52:31 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -42,31 +42,11 @@ * #define DISPATCH_SETUP struct _glapi_table *dispatch = CurrentDispatch; * #define DISPATCH(func, args) (*dispatch->func) args * - * Furthermore, sets of entrypoints (extensions) can selectively be - * generated by defining the following symbols before including this - * file: - * - * _GLAPI_VERSION_1_1 - generate 1.1 functions - * _GLAPI_VERSION_1_2 - generate 1.2 functions - * _GLAPI_ARB_imaging - generate 1.2 imaging functions - * _GLAPI_ARB_multitexture - generate 1.2 multi-texture functions - * _GLAPI_EXT_paletted_texture - * _GLAPI_EXT_compiled_vertex_array - * _GLAPI_EXT_point_parameters - * _GLAPI_EXT_polygon_offset - * _GLAPI_EXT_blend_minmax - * _GLAPI_EXT_blend_color - * _GLAPI_EXT_texture3 - * _GLAPI_EXT_texture_object - * _GLAPI_EXT_vertex_array - * _GLAPI_INGR_blend_func_separate - * _GLAPI_MESA_window_pos - * _GLAPI_MESA_resize_buffers - * etc... */ +/* GL 1.0 */ KEYWORD1 void KEYWORD2 NAME(Accum)(GLenum op, GLfloat value) { @@ -800,18 +780,6 @@ KEYWORD1 void KEYWORD2 NAME(Indexsv)(const GLshort *c) DISPATCH(Indexsv, (c)); } -KEYWORD1 void KEYWORD2 NAME(Indexub)(GLubyte c) -{ - DISPATCH_SETUP; - DISPATCH(Indexub, (c)); -} - -KEYWORD1 void KEYWORD2 NAME(Indexubv)(const GLubyte *c) -{ - DISPATCH_SETUP; - DISPATCH(Indexubv, (c)); -} - KEYWORD1 void KEYWORD2 NAME(IndexMask)(GLuint mask) { DISPATCH_SETUP; @@ -824,12 +792,6 @@ KEYWORD1 void KEYWORD2 NAME(InitNames)(void) DISPATCH(InitNames, ()); } -KEYWORD1 void KEYWORD2 NAME(InterleavedArrays)(GLenum format, GLsizei stride, const GLvoid *pointer) -{ - DISPATCH_SETUP; - DISPATCH(InterleavedArrays, (format, stride, pointer)); -} - KEYWORD1 GLboolean KEYWORD2 NAME(IsEnabled)(GLenum cap) { DISPATCH_SETUP; @@ -842,12 +804,6 @@ KEYWORD1 GLboolean KEYWORD2 NAME(IsList)(GLuint list) return DISPATCH(IsList, (list)); } -KEYWORD1 GLboolean KEYWORD2 NAME(IsTexture)(GLuint texture) -{ - DISPATCH_SETUP; - return DISPATCH(IsTexture, (texture)); -} - KEYWORD1 void KEYWORD2 NAME(Lightf)(GLenum light, GLenum pname, GLfloat param) { DISPATCH_SETUP; @@ -1937,7 +1893,7 @@ KEYWORD1 void KEYWORD2 NAME(Viewport)(GLint x, GLint y, GLsizei width, GLsizei h -#ifdef _GLAPI_VERSION_1_1 +/* GL 1.1 */ KEYWORD1 GLboolean KEYWORD2 NAME(AreTexturesResident)(GLsizei n, const GLuint *textures, GLboolean *residences) { @@ -2035,6 +1991,30 @@ KEYWORD1 void KEYWORD2 NAME(IndexPointer)(GLenum type, GLsizei stride, const GLv DISPATCH(IndexPointer, (type, stride, ptr)); } +KEYWORD1 void KEYWORD2 NAME(Indexub)(GLubyte c) +{ + DISPATCH_SETUP; + DISPATCH(Indexub, (c)); +} + +KEYWORD1 void KEYWORD2 NAME(Indexubv)(const GLubyte *c) +{ + DISPATCH_SETUP; + DISPATCH(Indexubv, (c)); +} + +KEYWORD1 void KEYWORD2 NAME(InterleavedArrays)(GLenum format, GLsizei stride, const GLvoid *pointer) +{ + DISPATCH_SETUP; + DISPATCH(InterleavedArrays, (format, stride, pointer)); +} + +KEYWORD1 GLboolean KEYWORD2 NAME(IsTexture)(GLuint texture) +{ + DISPATCH_SETUP; + return DISPATCH(IsTexture, (texture)); +} + KEYWORD1 void KEYWORD2 NAME(NormalPointer)(GLenum type, GLsizei stride, const GLvoid *ptr) { DISPATCH_SETUP; @@ -2089,11 +2069,10 @@ KEYWORD1 void KEYWORD2 NAME(VertexPointer)(GLint size, GLenum type, GLsizei stri DISPATCH(VertexPointer, (size, type, stride, ptr)); } -#endif /*_GLAPI_VERSION_1_1*/ -#ifdef _GLAPI_VERSION_1_2 +/* 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) { @@ -2120,7 +2099,8 @@ KEYWORD1 void KEYWORD2 NAME(TexSubImage3D)(GLenum target, GLint level, GLint xof } -#ifdef _GLAPI_ARB_imaging + +/* GL_ARB_imaging */ KEYWORD1 void KEYWORD2 NAME(BlendColor)(GLclampf r, GLclampf g, GLclampf b, GLclampf a) { @@ -2327,469 +2307,450 @@ KEYWORD1 void KEYWORD2 NAME(SeparableFilter2D)(GLenum target, GLenum internalfor } -#endif /*_GLAPI_ARB_imaging*/ -#endif /*_GLAPI_VERSION_1_2*/ - +/* GL_ARB_multitexture */ -/*** - *** Extension functions - ***/ - -#ifdef _GLAPI_EXT_blend_minmax -KEYWORD1 void KEYWORD2 NAME(BlendEquationEXT)(GLenum mode) +KEYWORD1 void KEYWORD2 NAME(ActiveTextureARB)(GLenum texture) { DISPATCH_SETUP; - DISPATCH(BlendEquationEXT, (mode)); + DISPATCH(ActiveTextureARB, (texture)); } -#endif - -#ifdef _GLAPI_EXT_blend_color -KEYWORD1 void KEYWORD2 NAME(BlendColorEXT)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) +KEYWORD1 void KEYWORD2 NAME(ClientActiveTextureARB)(GLenum texture) { DISPATCH_SETUP; - DISPATCH(BlendColorEXT, (red, green, blue, alpha)); + DISPATCH(ClientActiveTextureARB, (texture)); } -#endif - -#ifdef _GLAPI_EXT_polygon_offset -KEYWORD1 void KEYWORD2 NAME(PolygonOffsetEXT)(GLfloat factor, GLfloat bias) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dARB)(GLenum target, GLdouble s) { DISPATCH_SETUP; - DISPATCH(PolygonOffsetEXT, (factor, bias)); + DISPATCH(MultiTexCoord1dARB, (target, s)); } -#endif - - - -#ifdef _GLAPI_EXT_vertex_array -KEYWORD1 void KEYWORD2 NAME(VertexPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dvARB)(GLenum target, const GLdouble *v) { DISPATCH_SETUP; - (void) count; - DISPATCH(VertexPointer, (size, type, stride, ptr)); + DISPATCH(MultiTexCoord1dvARB, (target, v)); } -KEYWORD1 void KEYWORD2 NAME(NormalPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fARB)(GLenum target, GLfloat s) { DISPATCH_SETUP; - (void) count; - DISPATCH(NormalPointer, (type, stride, ptr)); + DISPATCH(MultiTexCoord1fARB, (target, s)); } -KEYWORD1 void KEYWORD2 NAME(ColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fvARB)(GLenum target, const GLfloat *v) { DISPATCH_SETUP; - (void) count; - DISPATCH(ColorPointer, (size, type, stride, ptr)); + DISPATCH(MultiTexCoord1fvARB, (target, v)); } -KEYWORD1 void KEYWORD2 NAME(IndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1iARB)(GLenum target, GLint s) { DISPATCH_SETUP; - (void) count; - DISPATCH(IndexPointer, (type, stride, ptr)); + DISPATCH(MultiTexCoord1iARB, (target, s)); } -KEYWORD1 void KEYWORD2 NAME(TexCoordPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1ivARB)(GLenum target, const GLint *v) { DISPATCH_SETUP; - (void) count; - DISPATCH(ColorPointer, (size, type, stride, ptr)); + DISPATCH(MultiTexCoord1ivARB, (target, v)); } -KEYWORD1 void KEYWORD2 NAME(EdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLboolean *ptr) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1sARB)(GLenum target, GLshort s) { DISPATCH_SETUP; - (void) count; - DISPATCH(EdgeFlagPointer, (stride, ptr)); + DISPATCH(MultiTexCoord1sARB, (target, s)); } -KEYWORD1 void KEYWORD2 NAME(GetPointervEXT)(GLenum pname, void **params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1svARB)(GLenum target, const GLshort *v) { DISPATCH_SETUP; - DISPATCH(GetPointerv, (pname, params)); + DISPATCH(MultiTexCoord1svARB, (target, v)); } -KEYWORD1 void KEYWORD2 NAME(ArrayElementEXT)(GLint i) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dARB)(GLenum target, GLdouble s, GLdouble t) { DISPATCH_SETUP; - DISPATCH(ArrayElement, (i)); + DISPATCH(MultiTexCoord2dARB, (target, s, t)); } -KEYWORD1 void KEYWORD2 NAME(DrawArraysEXT)(GLenum mode, GLint first, GLsizei count) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dvARB)(GLenum target, const GLdouble *v) { DISPATCH_SETUP; - DISPATCH(DrawArrays, (mode, first, count)); + DISPATCH(MultiTexCoord2dvARB, (target, v)); } -#endif /* GL_EXT_vertex_arrays */ - - - -#ifdef _GLAPI_EXT_texture_object - -KEYWORD1 void KEYWORD2 NAME(GenTexturesEXT)(GLsizei n, GLuint *textures) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fARB)(GLenum target, GLfloat s, GLfloat t) { DISPATCH_SETUP; - DISPATCH(GenTextures, (n, textures)); + DISPATCH(MultiTexCoord2fARB, (target, s, t)); } -KEYWORD1 void KEYWORD2 NAME(DeleteTexturesEXT)(GLsizei n, const GLuint *texture) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fvARB)(GLenum target, const GLfloat *v) { DISPATCH_SETUP; - DISPATCH(DeleteTextures, (n, texture)); + DISPATCH(MultiTexCoord2fvARB, (target, v)); } -KEYWORD1 void KEYWORD2 NAME(BindTextureEXT)(GLenum target, GLuint texture) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2iARB)(GLenum target, GLint s, GLint t) { DISPATCH_SETUP; - DISPATCH(BindTexture, (target, texture)); + DISPATCH(MultiTexCoord2iARB, (target, s, t)); } -KEYWORD1 void KEYWORD2 NAME(PrioritizeTexturesEXT)(GLsizei n, const GLuint *textures, const GLclampf *priorities) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2ivARB)(GLenum target, const GLint *v) { DISPATCH_SETUP; - DISPATCH(PrioritizeTextures, (n, textures, priorities)); + DISPATCH(MultiTexCoord2ivARB, (target, v)); } -KEYWORD1 GLboolean KEYWORD2 NAME(AreTexturesResidentEXT)(GLsizei n, const GLuint *textures, GLboolean *residences) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2sARB)(GLenum target, GLshort s, GLshort t) { DISPATCH_SETUP; - DISPATCH(AreTexturesResident, (n, textures, residences)); - return GL_FALSE; + DISPATCH(MultiTexCoord2sARB, (target, s, t)); } -KEYWORD1 GLboolean KEYWORD2 NAME(IsTextureEXT)(GLuint texture) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2svARB)(GLenum target, const GLshort *v) { DISPATCH_SETUP; - DISPATCH(IsTexture, (texture)); - return GL_FALSE; + DISPATCH(MultiTexCoord2svARB, (target, v)); } -#endif /* GL_EXT_texture_object */ - - -#ifdef _GLAPI_EXT_texture3D - -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(MultiTexCoord3dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r) { DISPATCH_SETUP; - DISPATCH(TexImage3D, (target, level, internalFormat, width, height, depth, border, format, type, pixels)); + DISPATCH(MultiTexCoord3dARB, (target, s, t, r)); } -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(MultiTexCoord3dvARB)(GLenum target, const GLdouble *v) { DISPATCH_SETUP; - DISPATCH(TexSubImage3D, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels)); + DISPATCH(MultiTexCoord3dvARB, (target, v)); } -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(MultiTexCoord3fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r) { DISPATCH_SETUP; - DISPATCH(CopyTexSubImage3D, (target, level, xoffset, yoffset, zoffset, x, y, width, height)); + DISPATCH(MultiTexCoord3fARB, (target, s, t, r)); } -#endif /* GL_EXT_texture3D*/ - - - -#ifdef _GLAPI_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(MultiTexCoord3fvARB)(GLenum target, const GLfloat *v) { DISPATCH_SETUP; - DISPATCH(ColorTableEXT, (target, internalformat, width, format, type, table)); + DISPATCH(MultiTexCoord3fvARB, (target, v)); } -KEYWORD1 void KEYWORD2 NAME(ColorSubTableEXT)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3iARB)(GLenum target, GLint s, GLint t, GLint r) { DISPATCH_SETUP; - DISPATCH(ColorSubTableEXT, (target, start, count, format, type, data)); + DISPATCH(MultiTexCoord3iARB, (target, s, t, r)); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableEXT)(GLenum target, GLenum format, GLenum type, GLvoid *table) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3ivARB)(GLenum target, const GLint *v) { DISPATCH_SETUP; - DISPATCH(GetColorTableEXT, (target, format, type, table)); + DISPATCH(MultiTexCoord3ivARB, (target, v)); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterfvEXT)(GLenum target, GLenum pname, GLfloat *params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3sARB)(GLenum target, GLshort s, GLshort t, GLshort r) { DISPATCH_SETUP; - DISPATCH(GetColorTableParameterfvEXT, (target, pname, params)); + DISPATCH(MultiTexCoord3sARB, (target, s, t, r)); } -KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterivEXT)(GLenum target, GLenum pname, GLint *params) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3svARB)(GLenum target, const GLshort *v) { DISPATCH_SETUP; - DISPATCH(GetColorTableParameterivEXT, (target, pname, params)); + DISPATCH(MultiTexCoord3svARB, (target, v)); } -#endif /* GL_EXT_paletted_texture */ - - - -#ifdef _GLAPI_EXT_compiled_vertex_array - -KEYWORD1 void KEYWORD2 NAME(LockArraysEXT)(GLint first, GLsizei count) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { DISPATCH_SETUP; - DISPATCH(LockArraysEXT, (first, count)); + DISPATCH(MultiTexCoord4dARB, (target, s, t, r, q)); } -KEYWORD1 void KEYWORD2 NAME(UnlockArraysEXT)(void) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dvARB)(GLenum target, const GLdouble *v) { DISPATCH_SETUP; - DISPATCH(UnlockArraysEXT, ()); + DISPATCH(MultiTexCoord4dvARB, (target, v)); } -#endif /* GL_EXT_compiled_vertex_array */ - - - -#ifdef _GLAPI_EXT_point_parameters - -KEYWORD1 void KEYWORD2 NAME(PointParameterfEXT)(GLenum target, GLfloat param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { DISPATCH_SETUP; - DISPATCH(PointParameterfEXT, (target, param)); + DISPATCH(MultiTexCoord4fARB, (target, s, t, r, q)); } -KEYWORD1 void KEYWORD2 NAME(PointParameterfvEXT)(GLenum target, const GLfloat *param) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fvARB)(GLenum target, const GLfloat *v) { DISPATCH_SETUP; - DISPATCH(PointParameterfvEXT, (target, param)); + DISPATCH(MultiTexCoord4fvARB, (target, v)); } -#endif /* GL_EXT_point_parameters */ - - - -#ifdef _GLAPI_ARB_multitexture - -KEYWORD1 void KEYWORD2 NAME(ActiveTextureARB)(GLenum texture) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4iARB)(GLenum target, GLint s, GLint t, GLint r, GLint q) { DISPATCH_SETUP; - DISPATCH(ActiveTextureARB, (texture)); + DISPATCH(MultiTexCoord4iARB, (target, s, t, r, q)); } -KEYWORD1 void KEYWORD2 NAME(ClientActiveTextureARB)(GLenum texture) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4ivARB)(GLenum target, const GLint *v) { DISPATCH_SETUP; - DISPATCH(ClientActiveTextureARB, (texture)); + DISPATCH(MultiTexCoord4ivARB, (target, v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dARB)(GLenum target, GLdouble s) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4sARB)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord1dARB, (target, s)); + DISPATCH(MultiTexCoord4sARB, (target, s, t, r, q)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1dvARB)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4svARB)(GLenum target, const GLshort *v) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord1dvARB, (target, v)); + DISPATCH(MultiTexCoord4svARB, (target, v)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fARB)(GLenum target, GLfloat s) + + +/*** + *** Extension functions + ***/ + + +/* 2. GL_EXT_blend_color */ +KEYWORD1 void KEYWORD2 NAME(BlendColorEXT)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord1fARB, (target, s)); + DISPATCH(BlendColorEXT, (red, green, blue, alpha)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1fvARB)(GLenum target, const GLfloat *v) + + +/* 3. GL_EXT_polygon_offset */ +KEYWORD1 void KEYWORD2 NAME(PolygonOffsetEXT)(GLfloat factor, GLfloat bias) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord1fvARB, (target, v)); + DISPATCH(PolygonOffsetEXT, (factor, bias)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1iARB)(GLenum target, GLint s) + + +/* 6. GL_EXT_texture3D */ + +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_SETUP; - DISPATCH(MultiTexCoord1iARB, (target, s)); + DISPATCH(TexImage3D, (target, level, internalFormat, width, height, depth, border, format, type, pixels)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1ivARB)(GLenum target, const GLint *v) +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_SETUP; - DISPATCH(MultiTexCoord1ivARB, (target, v)); + DISPATCH(TexSubImage3D, (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1sARB)(GLenum target, GLshort s) +KEYWORD1 void KEYWORD2 NAME(CopyTexSubImage3DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord1sARB, (target, s)); + DISPATCH(CopyTexSubImage3D, (target, level, xoffset, yoffset, zoffset, x, y, width, height)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord1svARB)(GLenum target, const GLshort *v) + + +/* 20. GL_EXT_texture_object */ + +KEYWORD1 void KEYWORD2 NAME(GenTexturesEXT)(GLsizei n, GLuint *textures) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord1svARB, (target, v)); + DISPATCH(GenTextures, (n, textures)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dARB)(GLenum target, GLdouble s, GLdouble t) +KEYWORD1 void KEYWORD2 NAME(DeleteTexturesEXT)(GLsizei n, const GLuint *texture) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord2dARB, (target, s, t)); + DISPATCH(DeleteTextures, (n, texture)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2dvARB)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(BindTextureEXT)(GLenum target, GLuint texture) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord2dvARB, (target, v)); + DISPATCH(BindTexture, (target, texture)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fARB)(GLenum target, GLfloat s, GLfloat t) +KEYWORD1 void KEYWORD2 NAME(PrioritizeTexturesEXT)(GLsizei n, const GLuint *textures, const GLclampf *priorities) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord2fARB, (target, s, t)); + DISPATCH(PrioritizeTextures, (n, textures, priorities)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2fvARB)(GLenum target, const GLfloat *v) +KEYWORD1 GLboolean KEYWORD2 NAME(AreTexturesResidentEXT)(GLsizei n, const GLuint *textures, GLboolean *residences) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord2fvARB, (target, v)); + return DISPATCH(AreTexturesResident, (n, textures, residences)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2iARB)(GLenum target, GLint s, GLint t) +KEYWORD1 GLboolean KEYWORD2 NAME(IsTextureEXT)(GLuint texture) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord2iARB, (target, s, t)); + return DISPATCH(IsTexture, (texture)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2ivARB)(GLenum target, const GLint *v) + + +/* 37. GL_EXT_blend_minmax */ +KEYWORD1 void KEYWORD2 NAME(BlendEquationEXT)(GLenum mode) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord2ivARB, (target, v)); + DISPATCH(BlendEquationEXT, (mode)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2sARB)(GLenum target, GLshort s, GLshort t) + + +/* 30. GL_EXT_vertex_array */ + +KEYWORD1 void KEYWORD2 NAME(VertexPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord2sARB, (target, s, t)); + (void) count; + DISPATCH(VertexPointer, (size, type, stride, ptr)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord2svARB)(GLenum target, const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(NormalPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord2svARB, (target, v)); + (void) count; + DISPATCH(NormalPointer, (type, stride, ptr)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r) +KEYWORD1 void KEYWORD2 NAME(ColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord3dARB, (target, s, t, r)); + (void) count; + DISPATCH(ColorPointer, (size, type, stride, ptr)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3dvARB)(GLenum target, const GLdouble *v) +KEYWORD1 void KEYWORD2 NAME(IndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord3dvARB, (target, v)); + (void) count; + DISPATCH(IndexPointer, (type, stride, ptr)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r) +KEYWORD1 void KEYWORD2 NAME(TexCoordPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord3fARB, (target, s, t, r)); + (void) count; + DISPATCH(ColorPointer, (size, type, stride, ptr)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3fvARB)(GLenum target, const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(EdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLboolean *ptr) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord3fvARB, (target, v)); + (void) count; + DISPATCH(EdgeFlagPointer, (stride, ptr)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3iARB)(GLenum target, GLint s, GLint t, GLint r) +KEYWORD1 void KEYWORD2 NAME(GetPointervEXT)(GLenum pname, void **params) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord3iARB, (target, s, t, r)); + DISPATCH(GetPointerv, (pname, params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3ivARB)(GLenum target, const GLint *v) +KEYWORD1 void KEYWORD2 NAME(ArrayElementEXT)(GLint i) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord3ivARB, (target, v)); + DISPATCH(ArrayElement, (i)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3sARB)(GLenum target, GLshort s, GLshort t, GLshort r) +KEYWORD1 void KEYWORD2 NAME(DrawArraysEXT)(GLenum mode, GLint first, GLsizei count) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord3sARB, (target, s, t, r)); + DISPATCH(DrawArrays, (mode, first, count)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord3svARB)(GLenum target, const GLshort *v) + + +/* 54. GL_EXT_point_parameters */ + +KEYWORD1 void KEYWORD2 NAME(PointParameterfEXT)(GLenum target, GLfloat param) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord3svARB, (target, v)); + DISPATCH(PointParameterfEXT, (target, param)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) +KEYWORD1 void KEYWORD2 NAME(PointParameterfvEXT)(GLenum target, const GLfloat *param) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord4dARB, (target, s, t, r, q)); + DISPATCH(PointParameterfvEXT, (target, param)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4dvARB)(GLenum target, const GLdouble *v) + + +/* 78. GL_EXT_paletted_texture */ + +KEYWORD1 void KEYWORD2 NAME(ColorTableEXT)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord4dvARB, (target, v)); + DISPATCH(ColorTableEXT, (target, internalformat, width, format, type, table)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) +KEYWORD1 void KEYWORD2 NAME(ColorSubTableEXT)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord4fARB, (target, s, t, r, q)); + DISPATCH(ColorSubTableEXT, (target, start, count, format, type, data)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4fvARB)(GLenum target, const GLfloat *v) +KEYWORD1 void KEYWORD2 NAME(GetColorTableEXT)(GLenum target, GLenum format, GLenum type, GLvoid *table) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord4fvARB, (target, v)); + DISPATCH(GetColorTableEXT, (target, format, type, table)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4iARB)(GLenum target, GLint s, GLint t, GLint r, GLint q) +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterfvEXT)(GLenum target, GLenum pname, GLfloat *params) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord4iARB, (target, s, t, r, q)); + DISPATCH(GetColorTableParameterfvEXT, (target, pname, params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4ivARB)(GLenum target, const GLint *v) +KEYWORD1 void KEYWORD2 NAME(GetColorTableParameterivEXT)(GLenum target, GLenum pname, GLint *params) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord4ivARB, (target, v)); + DISPATCH(GetColorTableParameterivEXT, (target, pname, params)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4sARB)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) + + + +/* 97. GL_EXT_compiled_vertex_array */ + +KEYWORD1 void KEYWORD2 NAME(LockArraysEXT)(GLint first, GLsizei count) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord4sARB, (target, s, t, r, q)); + DISPATCH(LockArraysEXT, (first, count)); } -KEYWORD1 void KEYWORD2 NAME(MultiTexCoord4svARB)(GLenum target, const GLshort *v) +KEYWORD1 void KEYWORD2 NAME(UnlockArraysEXT)(void) { DISPATCH_SETUP; - DISPATCH(MultiTexCoord4svARB, (target, v)); + DISPATCH(UnlockArraysEXT, ()); } -#endif /* GL_ARB_multitexture */ - -#ifdef _GLAPI_INGR_blend_func_separate +/* 173. GL_EXT/INGR_blend_func_separate */ KEYWORD1 void KEYWORD2 NAME(BlendFuncSeparateINGR)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { DISPATCH_SETUP; DISPATCH(BlendFuncSeparateINGR, (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)); } -#endif /* GL_INGR_blend_func_separate */ -#ifdef _GLAPI_MESA_window_pos +/* GL_MESA_window_pos */ KEYWORD1 void KEYWORD2 NAME(WindowPos2iMESA)(GLint x, GLint y) { @@ -2935,19 +2896,18 @@ KEYWORD1 void KEYWORD2 NAME(WindowPos4dvMESA)(const GLdouble *p) DISPATCH(WindowPos4fMESA, (p[0], p[1], p[2], p[3])); } -#endif /* GL_MESA_window_pos */ -#ifdef _GLAPI_MESA_resize_buffers +/* GL_MESA_resize_buffers */ KEYWORD1 void KEYWORD2 NAME(ResizeBuffersMESA)(void) { DISPATCH_SETUP; DISPATCH(ResizeBuffersMESA, ()); } -#endif /* GL_MESA_resize_buffers */ -#ifdef _GLAPI_ARB_transpose_matrix + +/* GL_ARB_transpose_matrix */ KEYWORD1 void KEYWORD2 NAME(LoadTransposeMatrixdARB)(const GLdouble m[16]) { DISPATCH_SETUP; @@ -2972,8 +2932,6 @@ KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixfARB)(const GLfloat m[16]) DISPATCH(MultTransposeMatrixfARB, (m)); } -#endif - #undef KEYWORD1 |