-/* $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
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)
{
DISPATCH(DrawBuffer)(mode);
DISPATCH(Enable)(mode);
}
-void GLAPIENTRY glEnableClientState(GLenum cap)
-{
- DISPATCH(EnableClientState)(cap);
-}
-
void GLAPIENTRY glEnd(void)
{
DISPATCH(End)();
return DISPATCH(GenLists)(range);
}
-void GLAPIENTRY glGenTextures(GLsizei n, GLuint *textures)
-{
- DISPATCH(GenTextures)(n, textures);
-}
-
void GLAPIENTRY glGetBooleanv(GLenum pname, GLboolean *params)
{
DISPATCH(GetBooleanv)(pname, params);
DISPATCH(GetPixelMapusv)(map, values);
}
-void GLAPIENTRY glGetPointerv(GLenum pname, GLvoid **params)
-{
- DISPATCH(GetPointerv)(pname, params);
-}
-
void GLAPIENTRY glGetPolygonStipple(GLubyte *mask)
{
DISPATCH(GetPolygonStipple)(mask);
DISPATCH(InterleavedArrays)(format, stride, pointer);
}
+GLboolean GLAPIENTRY glIsEnabled(GLenum cap)
+{
+ return DISPATCH(IsEnabled)(cap);
+}
+
GLboolean GLAPIENTRY glIsList(GLuint list)
{
return DISPATCH(IsList)(list);
DISPATCH(PolygonMode)(face, mode);
}
-void GLAPIENTRY glPolygonOffset(GLfloat factor, GLfloat units)
-{
- DISPATCH(PolygonOffset)(factor, units);
-}
-
void GLAPIENTRY glPolygonStipple(const GLubyte *pattern)
{
DISPATCH(PolygonStipple)(pattern);
DISPATCH(PopAttrib)();
}
-void GLAPIENTRY glPopClientAttrib(void)
-{
- DISPATCH(PopClientAttrib)();
-}
-
void GLAPIENTRY glPopMatrix(void)
{
DISPATCH(PopMatrix)();
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)
DISPATCH(PushMatrix)();
}
+void GLAPIENTRY glPushName(GLuint name)
+{
+ DISPATCH(PushName)(name);
+}
+
void GLAPIENTRY glRasterPos2d(GLdouble x, GLdouble y)
{
DISPATCH(RasterPos2d)(x, y);
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)
{
return DISPATCH(RenderMode)(mode);
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)
{
DISPATCH(ShadeModel)(mode);
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)
{
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)
{
DISPATCH(IndexPointer)(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)
{
DISPATCH(TexCoordPointer)(size, type, stride, ptr);