reordered some functions
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: glapi.c,v 1.5 1999/11/12 16:46:56 kendallb Exp $ */
|
/* $Id: glapi.c,v 1.6 1999/11/12 18:27:27 brianp Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Mesa 3-D graphics library
|
* Mesa 3-D graphics library
|
||||||
@@ -319,16 +319,6 @@ void GLAPIENTRY glDisable(GLenum cap)
|
|||||||
DISPATCH(Disable)(cap);
|
DISPATCH(Disable)(cap);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLAPIENTRY glDisableClientState(GLenum cap)
|
|
||||||
{
|
|
||||||
DISPATCH(DisableClientState)(cap);
|
|
||||||
}
|
|
||||||
|
|
||||||
void GLAPIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count)
|
|
||||||
{
|
|
||||||
DISPATCH(DrawArrays)(mode, first, count);
|
|
||||||
}
|
|
||||||
|
|
||||||
void GLAPIENTRY glDrawBuffer(GLenum mode)
|
void GLAPIENTRY glDrawBuffer(GLenum mode)
|
||||||
{
|
{
|
||||||
DISPATCH(DrawBuffer)(mode);
|
DISPATCH(DrawBuffer)(mode);
|
||||||
@@ -349,11 +339,6 @@ void GLAPIENTRY glEnable(GLenum mode)
|
|||||||
DISPATCH(Enable)(mode);
|
DISPATCH(Enable)(mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLAPIENTRY glEnableClientState(GLenum cap)
|
|
||||||
{
|
|
||||||
DISPATCH(EnableClientState)(cap);
|
|
||||||
}
|
|
||||||
|
|
||||||
void GLAPIENTRY glEnd(void)
|
void GLAPIENTRY glEnd(void)
|
||||||
{
|
{
|
||||||
DISPATCH(End)();
|
DISPATCH(End)();
|
||||||
@@ -484,11 +469,6 @@ GLuint GLAPIENTRY glGenLists(GLsizei range)
|
|||||||
return DISPATCH(GenLists)(range);
|
return DISPATCH(GenLists)(range);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLAPIENTRY glGenTextures(GLsizei n, GLuint *textures)
|
|
||||||
{
|
|
||||||
DISPATCH(GenTextures)(n, textures);
|
|
||||||
}
|
|
||||||
|
|
||||||
void GLAPIENTRY glGetBooleanv(GLenum pname, GLboolean *params)
|
void GLAPIENTRY glGetBooleanv(GLenum pname, GLboolean *params)
|
||||||
{
|
{
|
||||||
DISPATCH(GetBooleanv)(pname, params);
|
DISPATCH(GetBooleanv)(pname, params);
|
||||||
@@ -569,11 +549,6 @@ void GLAPIENTRY glGetPixelMapusv(GLenum map, GLushort *values)
|
|||||||
DISPATCH(GetPixelMapusv)(map, values);
|
DISPATCH(GetPixelMapusv)(map, values);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLAPIENTRY glGetPointerv(GLenum pname, GLvoid **params)
|
|
||||||
{
|
|
||||||
DISPATCH(GetPointerv)(pname, params);
|
|
||||||
}
|
|
||||||
|
|
||||||
void GLAPIENTRY glGetPolygonStipple(GLubyte *mask)
|
void GLAPIENTRY glGetPolygonStipple(GLubyte *mask)
|
||||||
{
|
{
|
||||||
DISPATCH(GetPolygonStipple)(mask);
|
DISPATCH(GetPolygonStipple)(mask);
|
||||||
@@ -704,6 +679,11 @@ void GLAPIENTRY glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid
|
|||||||
DISPATCH(InterleavedArrays)(format, stride, pointer);
|
DISPATCH(InterleavedArrays)(format, stride, pointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GLboolean GLAPIENTRY glIsEnabled(GLenum cap)
|
||||||
|
{
|
||||||
|
return DISPATCH(IsEnabled)(cap);
|
||||||
|
}
|
||||||
|
|
||||||
GLboolean GLAPIENTRY glIsList(GLuint list)
|
GLboolean GLAPIENTRY glIsList(GLuint list)
|
||||||
{
|
{
|
||||||
return DISPATCH(IsList)(list);
|
return DISPATCH(IsList)(list);
|
||||||
@@ -984,11 +964,6 @@ void GLAPIENTRY glPolygonMode(GLenum face, GLenum mode)
|
|||||||
DISPATCH(PolygonMode)(face, mode);
|
DISPATCH(PolygonMode)(face, mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLAPIENTRY glPolygonOffset(GLfloat factor, GLfloat units)
|
|
||||||
{
|
|
||||||
DISPATCH(PolygonOffset)(factor, units);
|
|
||||||
}
|
|
||||||
|
|
||||||
void GLAPIENTRY glPolygonStipple(const GLubyte *pattern)
|
void GLAPIENTRY glPolygonStipple(const GLubyte *pattern)
|
||||||
{
|
{
|
||||||
DISPATCH(PolygonStipple)(pattern);
|
DISPATCH(PolygonStipple)(pattern);
|
||||||
@@ -999,11 +974,6 @@ void GLAPIENTRY glPopAttrib(void)
|
|||||||
DISPATCH(PopAttrib)();
|
DISPATCH(PopAttrib)();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLAPIENTRY glPopClientAttrib(void)
|
|
||||||
{
|
|
||||||
DISPATCH(PopClientAttrib)();
|
|
||||||
}
|
|
||||||
|
|
||||||
void GLAPIENTRY glPopMatrix(void)
|
void GLAPIENTRY glPopMatrix(void)
|
||||||
{
|
{
|
||||||
DISPATCH(PopMatrix)();
|
DISPATCH(PopMatrix)();
|
||||||
@@ -1014,9 +984,9 @@ void GLAPIENTRY glPopName(void)
|
|||||||
DISPATCH(PopName)();
|
DISPATCH(PopName)();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLAPIENTRY glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLclampf *priorities)
|
void GLAPIENTRY glPushAttrib(GLbitfield mask)
|
||||||
{
|
{
|
||||||
DISPATCH(PrioritizeTextures)(n, textures, priorities);
|
DISPATCH(PushAttrib)(mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLAPIENTRY glPushMatrix(void)
|
void GLAPIENTRY glPushMatrix(void)
|
||||||
@@ -1024,6 +994,11 @@ void GLAPIENTRY glPushMatrix(void)
|
|||||||
DISPATCH(PushMatrix)();
|
DISPATCH(PushMatrix)();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GLAPIENTRY glPushName(GLuint name)
|
||||||
|
{
|
||||||
|
DISPATCH(PushName)(name);
|
||||||
|
}
|
||||||
|
|
||||||
void GLAPIENTRY glRasterPos2d(GLdouble x, GLdouble y)
|
void GLAPIENTRY glRasterPos2d(GLdouble x, GLdouble y)
|
||||||
{
|
{
|
||||||
DISPATCH(RasterPos2d)(x, y);
|
DISPATCH(RasterPos2d)(x, y);
|
||||||
@@ -1194,31 +1169,6 @@ void GLAPIENTRY glRectsv(const GLshort *v1, const GLshort *v2)
|
|||||||
DISPATCH(Rectsv)(v1, v2);
|
DISPATCH(Rectsv)(v1, v2);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLAPIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
|
|
||||||
{
|
|
||||||
DISPATCH(Scissor)(x, y, width, height);
|
|
||||||
}
|
|
||||||
|
|
||||||
GLboolean GLAPIENTRY glIsEnabled(GLenum cap)
|
|
||||||
{
|
|
||||||
return DISPATCH(IsEnabled)(cap);
|
|
||||||
}
|
|
||||||
|
|
||||||
void GLAPIENTRY glPushAttrib(GLbitfield mask)
|
|
||||||
{
|
|
||||||
DISPATCH(PushAttrib)(mask);
|
|
||||||
}
|
|
||||||
|
|
||||||
void GLAPIENTRY glPushClientAttrib(GLbitfield mask)
|
|
||||||
{
|
|
||||||
DISPATCH(PushClientAttrib)(mask);
|
|
||||||
}
|
|
||||||
|
|
||||||
void GLAPIENTRY glPushName(GLuint name)
|
|
||||||
{
|
|
||||||
DISPATCH(PushName)(name);
|
|
||||||
}
|
|
||||||
|
|
||||||
GLint GLAPIENTRY glRenderMode(GLenum mode)
|
GLint GLAPIENTRY glRenderMode(GLenum mode)
|
||||||
{
|
{
|
||||||
return DISPATCH(RenderMode)(mode);
|
return DISPATCH(RenderMode)(mode);
|
||||||
@@ -1249,6 +1199,11 @@ void GLAPIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z)
|
|||||||
DISPATCH(Scalef)(x, y, z);
|
DISPATCH(Scalef)(x, y, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GLAPIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
|
||||||
|
{
|
||||||
|
DISPATCH(Scissor)(x, y, width, height);
|
||||||
|
}
|
||||||
|
|
||||||
void GLAPIENTRY glShadeModel(GLenum mode)
|
void GLAPIENTRY glShadeModel(GLenum mode)
|
||||||
{
|
{
|
||||||
DISPATCH(ShadeModel)(mode);
|
DISPATCH(ShadeModel)(mode);
|
||||||
@@ -1694,11 +1649,36 @@ void GLAPIENTRY glDeleteTextures(GLsizei n, const GLuint *textures)
|
|||||||
DISPATCH(DeleteTextures)(n, textures);
|
DISPATCH(DeleteTextures)(n, textures);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GLAPIENTRY glDisableClientState(GLenum cap)
|
||||||
|
{
|
||||||
|
DISPATCH(DisableClientState)(cap);
|
||||||
|
}
|
||||||
|
|
||||||
|
void GLAPIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count)
|
||||||
|
{
|
||||||
|
DISPATCH(DrawArrays)(mode, first, count);
|
||||||
|
}
|
||||||
|
|
||||||
void GLAPIENTRY glEdgeFlagPointer(GLsizei stride, const GLvoid *ptr)
|
void GLAPIENTRY glEdgeFlagPointer(GLsizei stride, const GLvoid *ptr)
|
||||||
{
|
{
|
||||||
DISPATCH(EdgeFlagPointer)(stride, ptr);
|
DISPATCH(EdgeFlagPointer)(stride, ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GLAPIENTRY glEnableClientState(GLenum cap)
|
||||||
|
{
|
||||||
|
DISPATCH(EnableClientState)(cap);
|
||||||
|
}
|
||||||
|
|
||||||
|
void GLAPIENTRY glGenTextures(GLsizei n, GLuint *textures)
|
||||||
|
{
|
||||||
|
DISPATCH(GenTextures)(n, textures);
|
||||||
|
}
|
||||||
|
|
||||||
|
void GLAPIENTRY glGetPointerv(GLenum pname, GLvoid **params)
|
||||||
|
{
|
||||||
|
DISPATCH(GetPointerv)(pname, params);
|
||||||
|
}
|
||||||
|
|
||||||
void GLAPIENTRY glIndexPointer(GLenum type, GLsizei stride, const GLvoid *ptr)
|
void GLAPIENTRY glIndexPointer(GLenum type, GLsizei stride, const GLvoid *ptr)
|
||||||
{
|
{
|
||||||
DISPATCH(IndexPointer)(type, stride, ptr);
|
DISPATCH(IndexPointer)(type, stride, ptr);
|
||||||
@@ -1709,6 +1689,26 @@ void GLAPIENTRY glNormalPointer(GLenum type, GLsizei stride, const GLvoid *ptr)
|
|||||||
DISPATCH(NormalPointer)(type, stride, ptr);
|
DISPATCH(NormalPointer)(type, stride, ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GLAPIENTRY glPolygonOffset(GLfloat factor, GLfloat units)
|
||||||
|
{
|
||||||
|
DISPATCH(PolygonOffset)(factor, units);
|
||||||
|
}
|
||||||
|
|
||||||
|
void GLAPIENTRY glPopClientAttrib(void)
|
||||||
|
{
|
||||||
|
DISPATCH(PopClientAttrib)();
|
||||||
|
}
|
||||||
|
|
||||||
|
void GLAPIENTRY glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLclampf *priorities)
|
||||||
|
{
|
||||||
|
DISPATCH(PrioritizeTextures)(n, textures, priorities);
|
||||||
|
}
|
||||||
|
|
||||||
|
void GLAPIENTRY glPushClientAttrib(GLbitfield mask)
|
||||||
|
{
|
||||||
|
DISPATCH(PushClientAttrib)(mask);
|
||||||
|
}
|
||||||
|
|
||||||
void GLAPIENTRY glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
|
void GLAPIENTRY glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
|
||||||
{
|
{
|
||||||
DISPATCH(TexCoordPointer)(size, type, stride, ptr);
|
DISPATCH(TexCoordPointer)(size, type, stride, ptr);
|
||||||
|
Reference in New Issue
Block a user