ReactOS 0.4.15-dev-8096-ga0eec98
api.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "api.h"
#include "bitmap.h"
#include "context.h"
#include "drawpix.h"
#include "eval.h"
#include "image.h"
#include "macros.h"
#include "matrix.h"
#include "teximage.h"
#include "types.h"
#include "vb.h"
Include dependency graph for api.c:

Go to the source code of this file.

Functions

void APIENTRY _mesa_Accum (GLenum op, GLfloat value)
 
void APIENTRY _mesa_AlphaFunc (GLenum func, GLclampf ref)
 
GLboolean APIENTRY _mesa_AreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences)
 
void APIENTRY _mesa_ArrayElement (GLint i)
 
void APIENTRY _mesa_Begin (GLenum mode)
 
void APIENTRY _mesa_BindTexture (GLenum target, GLuint texture)
 
void APIENTRY _mesa_Bitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap)
 
void APIENTRY _mesa_BlendFunc (GLenum sfactor, GLenum dfactor)
 
void APIENTRY _mesa_CallList (GLuint list)
 
void APIENTRY _mesa_CallLists (GLsizei n, GLenum type, const GLvoid *lists)
 
void APIENTRY _mesa_Clear (GLbitfield mask)
 
void APIENTRY _mesa_ClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
 
void APIENTRY _mesa_ClearIndex (GLfloat c)
 
void APIENTRY _mesa_ClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
 
void APIENTRY _mesa_ClearDepth (GLclampd depth)
 
void APIENTRY _mesa_ClearStencil (GLint s)
 
void APIENTRY _mesa_ClipPlane (GLenum plane, const GLdouble *equation)
 
void APIENTRY _mesa_Color3b (GLbyte red, GLbyte green, GLbyte blue)
 
void APIENTRY _mesa_Color3d (GLdouble red, GLdouble green, GLdouble blue)
 
void APIENTRY _mesa_Color3f (GLfloat red, GLfloat green, GLfloat blue)
 
void APIENTRY _mesa_Color3i (GLint red, GLint green, GLint blue)
 
void APIENTRY _mesa_Color3s (GLshort red, GLshort green, GLshort blue)
 
void APIENTRY _mesa_Color3ub (GLubyte red, GLubyte green, GLubyte blue)
 
void APIENTRY _mesa_Color3ui (GLuint red, GLuint green, GLuint blue)
 
void APIENTRY _mesa_Color3us (GLushort red, GLushort green, GLushort blue)
 
void APIENTRY _mesa_Color4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha)
 
void APIENTRY _mesa_Color4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
 
void APIENTRY _mesa_Color4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
 
void APIENTRY _mesa_Color4i (GLint red, GLint green, GLint blue, GLint alpha)
 
void APIENTRY _mesa_Color4s (GLshort red, GLshort green, GLshort blue, GLshort alpha)
 
void APIENTRY _mesa_Color4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
 
void APIENTRY _mesa_Color4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha)
 
void APIENTRY _mesa_Color4us (GLushort red, GLushort green, GLushort blue, GLushort alpha)
 
void APIENTRY _mesa_Color3bv (const GLbyte *v)
 
void APIENTRY _mesa_Color3dv (const GLdouble *v)
 
void APIENTRY _mesa_Color3fv (const GLfloat *v)
 
void APIENTRY _mesa_Color3iv (const GLint *v)
 
void APIENTRY _mesa_Color3sv (const GLshort *v)
 
void APIENTRY _mesa_Color3ubv (const GLubyte *v)
 
void APIENTRY _mesa_Color3uiv (const GLuint *v)
 
void APIENTRY _mesa_Color3usv (const GLushort *v)
 
void APIENTRY _mesa_Color4bv (const GLbyte *v)
 
void APIENTRY _mesa_Color4dv (const GLdouble *v)
 
void APIENTRY _mesa_Color4fv (const GLfloat *v)
 
void APIENTRY _mesa_Color4iv (const GLint *v)
 
void APIENTRY _mesa_Color4sv (const GLshort *v)
 
void APIENTRY _mesa_Color4ubv (const GLubyte *v)
 
void APIENTRY _mesa_Color4uiv (const GLuint *v)
 
void APIENTRY _mesa_Color4usv (const GLushort *v)
 
void APIENTRY _mesa_ColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
 
void APIENTRY _mesa_ColorMaterial (GLenum face, GLenum mode)
 
void APIENTRY _mesa_ColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
 
void APIENTRY _mesa_CopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
 
void APIENTRY _mesa_CopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
 
void APIENTRY _mesa_CopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
 
void APIENTRY _mesa_CopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
 
void APIENTRY _mesa_CopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
 
void APIENTRY _mesa_CullFace (GLenum mode)
 
void APIENTRY _mesa_DepthFunc (GLenum func)
 
void APIENTRY _mesa_DepthMask (GLboolean flag)
 
void APIENTRY _mesa_DepthRange (GLclampd near_val, GLclampd far_val)
 
void APIENTRY _mesa_DeleteLists (GLuint list, GLsizei range)
 
void APIENTRY _mesa_DeleteTextures (GLsizei n, const GLuint *textures)
 
void APIENTRY _mesa_Disable (GLenum cap)
 
void APIENTRY _mesa_DisableClientState (GLenum cap)
 
void APIENTRY _mesa_DrawArrays (GLenum mode, GLint first, GLsizei count)
 
void APIENTRY _mesa_DrawBuffer (GLenum mode)
 
void APIENTRY _mesa_DrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
 
void APIENTRY _mesa_DrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
 
void APIENTRY _mesa_Enable (GLenum cap)
 
void APIENTRY _mesa_EnableClientState (GLenum cap)
 
void APIENTRY _mesa_End (void)
 
void APIENTRY _mesa_EndList (void)
 
void APIENTRY _mesa_EvalCoord1d (GLdouble u)
 
void APIENTRY _mesa_EvalCoord1f (GLfloat u)
 
void APIENTRY _mesa_EvalCoord1dv (const GLdouble *u)
 
void APIENTRY _mesa_EvalCoord1fv (const GLfloat *u)
 
void APIENTRY _mesa_EvalCoord2d (GLdouble u, GLdouble v)
 
void APIENTRY _mesa_EvalCoord2f (GLfloat u, GLfloat v)
 
void APIENTRY _mesa_EvalCoord2dv (const GLdouble *u)
 
void APIENTRY _mesa_EvalCoord2fv (const GLfloat *u)
 
void APIENTRY _mesa_EvalPoint1 (GLint i)
 
void APIENTRY _mesa_EvalPoint2 (GLint i, GLint j)
 
void APIENTRY _mesa_EvalMesh1 (GLenum mode, GLint i1, GLint i2)
 
void APIENTRY _mesa_EdgeFlag (GLboolean flag)
 
void APIENTRY _mesa_EdgeFlagv (const GLboolean *flag)
 
void APIENTRY _mesa_EdgeFlagPointer (GLsizei stride, const GLboolean *ptr)
 
void APIENTRY _mesa_EvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
 
void APIENTRY _mesa_FeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer)
 
void APIENTRY _mesa_Finish (void)
 
void APIENTRY _mesa_Flush (void)
 
void APIENTRY _mesa_Fogf (GLenum pname, GLfloat param)
 
void APIENTRY _mesa_Fogi (GLenum pname, GLint param)
 
void APIENTRY _mesa_Fogfv (GLenum pname, const GLfloat *params)
 
void APIENTRY _mesa_Fogiv (GLenum pname, const GLint *params)
 
void APIENTRY _mesa_FrontFace (GLenum mode)
 
void APIENTRY _mesa_Frustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval)
 
GLuint APIENTRY _mesa_GenLists (GLsizei range)
 
void APIENTRY _mesa_GenTextures (GLsizei n, GLuint *textures)
 
void APIENTRY _mesa_GetBooleanv (GLenum pname, GLboolean *params)
 
void APIENTRY _mesa_GetClipPlane (GLenum plane, GLdouble *equation)
 
void APIENTRY _mesa_GetDoublev (GLenum pname, GLdouble *params)
 
GLenum APIENTRY _mesa_GetError (void)
 
void APIENTRY _mesa_GetFloatv (GLenum pname, GLfloat *params)
 
void APIENTRY _mesa_GetIntegerv (GLenum pname, GLint *params)
 
void APIENTRY _mesa_GetLightfv (GLenum light, GLenum pname, GLfloat *params)
 
void APIENTRY _mesa_GetLightiv (GLenum light, GLenum pname, GLint *params)
 
void APIENTRY _mesa_GetMapdv (GLenum target, GLenum query, GLdouble *v)
 
void APIENTRY _mesa_GetMapfv (GLenum target, GLenum query, GLfloat *v)
 
void APIENTRY _mesa_GetMapiv (GLenum target, GLenum query, GLint *v)
 
void APIENTRY _mesa_GetMaterialfv (GLenum face, GLenum pname, GLfloat *params)
 
void APIENTRY _mesa_GetMaterialiv (GLenum face, GLenum pname, GLint *params)
 
void APIENTRY _mesa_GetPixelMapfv (GLenum map, GLfloat *values)
 
void APIENTRY _mesa_GetPixelMapuiv (GLenum map, GLuint *values)
 
void APIENTRY _mesa_GetPixelMapusv (GLenum map, GLushort *values)
 
void APIENTRY _mesa_GetPointerv (GLenum pname, GLvoid **params)
 
void APIENTRY _mesa_GetPolygonStipple (GLubyte *mask)
 
const GLubyte *APIENTRY _mesa_GetString (GLenum name)
 
void APIENTRY _mesa_GetTexEnvfv (GLenum target, GLenum pname, GLfloat *params)
 
void APIENTRY _mesa_GetTexEnviv (GLenum target, GLenum pname, GLint *params)
 
void APIENTRY _mesa_GetTexGeniv (GLenum coord, GLenum pname, GLint *params)
 
void APIENTRY _mesa_GetTexGendv (GLenum coord, GLenum pname, GLdouble *params)
 
void APIENTRY _mesa_GetTexGenfv (GLenum coord, GLenum pname, GLfloat *params)
 
void APIENTRY _mesa_GetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
 
void APIENTRY _mesa_GetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params)
 
void APIENTRY _mesa_GetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params)
 
void APIENTRY _mesa_GetTexParameterfv (GLenum target, GLenum pname, GLfloat *params)
 
void APIENTRY _mesa_GetTexParameteriv (GLenum target, GLenum pname, GLint *params)
 
void APIENTRY _mesa_Hint (GLenum target, GLenum mode)
 
void APIENTRY _mesa_Indexd (GLdouble c)
 
void APIENTRY _mesa_Indexf (GLfloat c)
 
void APIENTRY _mesa_Indexi (GLint c)
 
void APIENTRY _mesa_Indexs (GLshort c)
 
void APIENTRY _mesa_Indexdv (const GLdouble *c)
 
void APIENTRY _mesa_Indexfv (const GLfloat *c)
 
void APIENTRY _mesa_Indexiv (const GLint *c)
 
void APIENTRY _mesa_Indexsv (const GLshort *c)
 
void APIENTRY _mesa_IndexMask (GLuint mask)
 
void APIENTRY _mesa_IndexPointer (GLenum type, GLsizei stride, const GLvoid *ptr)
 
void APIENTRY _mesa_InterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer)
 
void APIENTRY _mesa_InitNames (void)
 
GLboolean APIENTRY _mesa_IsList (GLuint list)
 
GLboolean APIENTRY _mesa_IsTexture (GLuint texture)
 
void APIENTRY _mesa_Lightf (GLenum light, GLenum pname, GLfloat param)
 
void APIENTRY _mesa_Lighti (GLenum light, GLenum pname, GLint param)
 
void APIENTRY _mesa_Lightfv (GLenum light, GLenum pname, const GLfloat *params)
 
void APIENTRY _mesa_Lightiv (GLenum light, GLenum pname, const GLint *params)
 
void APIENTRY _mesa_LightModelf (GLenum pname, GLfloat param)
 
void APIENTRY _mesa_LightModeli (GLenum pname, GLint param)
 
void APIENTRY _mesa_LightModelfv (GLenum pname, const GLfloat *params)
 
void APIENTRY _mesa_LightModeliv (GLenum pname, const GLint *params)
 
void APIENTRY _mesa_LineWidth (GLfloat width)
 
void APIENTRY _mesa_LineStipple (GLint factor, GLushort pattern)
 
void APIENTRY _mesa_ListBase (GLuint base)
 
void APIENTRY _mesa_LoadIdentity (void)
 
void APIENTRY _mesa_LoadMatrixd (const GLdouble *m)
 
void APIENTRY _mesa_LoadMatrixf (const GLfloat *m)
 
void APIENTRY _mesa_LoadName (GLuint name)
 
void APIENTRY _mesa_LogicOp (GLenum opcode)
 
void APIENTRY _mesa_Map1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points)
 
void APIENTRY _mesa_Map1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points)
 
void APIENTRY _mesa_Map2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points)
 
void APIENTRY _mesa_Map2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points)
 
void APIENTRY _mesa_MapGrid1d (GLint un, GLdouble u1, GLdouble u2)
 
void APIENTRY _mesa_MapGrid1f (GLint un, GLfloat u1, GLfloat u2)
 
void APIENTRY _mesa_MapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
 
void APIENTRY _mesa_MapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
 
void APIENTRY _mesa_Materialf (GLenum face, GLenum pname, GLfloat param)
 
void APIENTRY _mesa_Materiali (GLenum face, GLenum pname, GLint param)
 
void APIENTRY _mesa_Materialfv (GLenum face, GLenum pname, const GLfloat *params)
 
void APIENTRY _mesa_Materialiv (GLenum face, GLenum pname, const GLint *params)
 
void APIENTRY _mesa_MatrixMode (GLenum mode)
 
void APIENTRY _mesa_MultMatrixd (const GLdouble *m)
 
void APIENTRY _mesa_MultMatrixf (const GLfloat *m)
 
void APIENTRY _mesa_NewList (GLuint list, GLenum mode)
 
void APIENTRY _mesa_Normal3b (GLbyte nx, GLbyte ny, GLbyte nz)
 
void APIENTRY _mesa_Normal3d (GLdouble nx, GLdouble ny, GLdouble nz)
 
void APIENTRY _mesa_Normal3f (GLfloat nx, GLfloat ny, GLfloat nz)
 
void APIENTRY _mesa_Normal3i (GLint nx, GLint ny, GLint nz)
 
void APIENTRY _mesa_Normal3s (GLshort nx, GLshort ny, GLshort nz)
 
void APIENTRY _mesa_Normal3bv (const GLbyte *v)
 
void APIENTRY _mesa_Normal3dv (const GLdouble *v)
 
void APIENTRY _mesa_Normal3fv (const GLfloat *v)
 
void APIENTRY _mesa_Normal3iv (const GLint *v)
 
void APIENTRY _mesa_Normal3sv (const GLshort *v)
 
void APIENTRY _mesa_NormalPointer (GLenum type, GLsizei stride, const GLvoid *ptr)
 
void APIENTRY _mesa_Ortho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval)
 
void APIENTRY _mesa_PassThrough (GLfloat token)
 
void APIENTRY _mesa_PixelMapfv (GLenum map, GLint mapsize, const GLfloat *values)
 
void APIENTRY _mesa_PixelMapuiv (GLenum map, GLint mapsize, const GLuint *values)
 
void APIENTRY _mesa_PixelMapusv (GLenum map, GLint mapsize, const GLushort *values)
 
void APIENTRY _mesa_PixelStoref (GLenum pname, GLfloat param)
 
void APIENTRY _mesa_PixelStorei (GLenum pname, GLint param)
 
void APIENTRY _mesa_PixelTransferf (GLenum pname, GLfloat param)
 
void APIENTRY _mesa_PixelTransferi (GLenum pname, GLint param)
 
void APIENTRY _mesa_PixelZoom (GLfloat xfactor, GLfloat yfactor)
 
void APIENTRY _mesa_PointSize (GLfloat size)
 
void APIENTRY _mesa_PolygonMode (GLenum face, GLenum mode)
 
void APIENTRY _mesa_PolygonOffset (GLfloat factor, GLfloat units)
 
void APIENTRY _mesa_PolygonStipple (const GLubyte *mask)
 
void APIENTRY _mesa_PopAttrib (void)
 
void APIENTRY _mesa_PopClientAttrib (void)
 
void APIENTRY _mesa_PopMatrix (void)
 
void APIENTRY _mesa_PopName (void)
 
void APIENTRY _mesa_PrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities)
 
void APIENTRY _mesa_PushMatrix (void)
 
void APIENTRY _mesa_RasterPos2d (GLdouble x, GLdouble y)
 
void APIENTRY _mesa_RasterPos2f (GLfloat x, GLfloat y)
 
void APIENTRY _mesa_RasterPos2i (GLint x, GLint y)
 
void APIENTRY _mesa_RasterPos2s (GLshort x, GLshort y)
 
void APIENTRY _mesa_RasterPos3d (GLdouble x, GLdouble y, GLdouble z)
 
void APIENTRY _mesa_RasterPos3f (GLfloat x, GLfloat y, GLfloat z)
 
void APIENTRY _mesa_RasterPos3i (GLint x, GLint y, GLint z)
 
void APIENTRY _mesa_RasterPos3s (GLshort x, GLshort y, GLshort z)
 
void APIENTRY _mesa_RasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w)
 
void APIENTRY _mesa_RasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w)
 
void APIENTRY _mesa_RasterPos4i (GLint x, GLint y, GLint z, GLint w)
 
void APIENTRY _mesa_RasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w)
 
void APIENTRY _mesa_RasterPos2dv (const GLdouble *v)
 
void APIENTRY _mesa_RasterPos2fv (const GLfloat *v)
 
void APIENTRY _mesa_RasterPos2iv (const GLint *v)
 
void APIENTRY _mesa_RasterPos2sv (const GLshort *v)
 
void APIENTRY _mesa_RasterPos3dv (const GLdouble *v)
 
void APIENTRY _mesa_RasterPos3fv (const GLfloat *v)
 
void APIENTRY _mesa_RasterPos3iv (const GLint *v)
 
void APIENTRY _mesa_RasterPos3sv (const GLshort *v)
 
void APIENTRY _mesa_RasterPos4dv (const GLdouble *v)
 
void APIENTRY _mesa_RasterPos4fv (const GLfloat *v)
 
void APIENTRY _mesa_RasterPos4iv (const GLint *v)
 
void APIENTRY _mesa_RasterPos4sv (const GLshort *v)
 
void APIENTRY _mesa_ReadBuffer (GLenum mode)
 
void APIENTRY _mesa_ReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
 
void APIENTRY _mesa_Rectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
 
void APIENTRY _mesa_Rectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
 
void APIENTRY _mesa_Recti (GLint x1, GLint y1, GLint x2, GLint y2)
 
void APIENTRY _mesa_Rects (GLshort x1, GLshort y1, GLshort x2, GLshort y2)
 
void APIENTRY _mesa_Rectdv (const GLdouble *v1, const GLdouble *v2)
 
void APIENTRY _mesa_Rectfv (const GLfloat *v1, const GLfloat *v2)
 
void APIENTRY _mesa_Rectiv (const GLint *v1, const GLint *v2)
 
void APIENTRY _mesa_Rectsv (const GLshort *v1, const GLshort *v2)
 
void APIENTRY _mesa_Scissor (GLint x, GLint y, GLsizei width, GLsizei height)
 
GLboolean APIENTRY _mesa_IsEnabled (GLenum cap)
 
void APIENTRY _mesa_PushAttrib (GLbitfield mask)
 
void APIENTRY _mesa_PushClientAttrib (GLbitfield mask)
 
void APIENTRY _mesa_PushName (GLuint name)
 
GLint APIENTRY _mesa_RenderMode (GLenum mode)
 
void APIENTRY _mesa_Rotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
 
void APIENTRY _mesa_Rotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
 
void APIENTRY _mesa_SelectBuffer (GLsizei size, GLuint *buffer)
 
void APIENTRY _mesa_Scaled (GLdouble x, GLdouble y, GLdouble z)
 
void APIENTRY _mesa_Scalef (GLfloat x, GLfloat y, GLfloat z)
 
void APIENTRY _mesa_ShadeModel (GLenum mode)
 
void APIENTRY _mesa_StencilFunc (GLenum func, GLint ref, GLuint mask)
 
void APIENTRY _mesa_StencilMask (GLuint mask)
 
void APIENTRY _mesa_StencilOp (GLenum fail, GLenum zfail, GLenum zpass)
 
void APIENTRY _mesa_TexCoord1d (GLdouble s)
 
void APIENTRY _mesa_TexCoord1f (GLfloat s)
 
void APIENTRY _mesa_TexCoord1i (GLint s)
 
void APIENTRY _mesa_TexCoord1s (GLshort s)
 
void APIENTRY _mesa_TexCoord2d (GLdouble s, GLdouble t)
 
void APIENTRY _mesa_TexCoord2f (GLfloat s, GLfloat t)
 
void APIENTRY _mesa_TexCoord2i (GLint s, GLint t)
 
void APIENTRY _mesa_TexCoord2s (GLshort s, GLshort t)
 
void APIENTRY _mesa_TexCoord3d (GLdouble s, GLdouble t, GLdouble r)
 
void APIENTRY _mesa_TexCoord3f (GLfloat s, GLfloat t, GLfloat r)
 
void APIENTRY _mesa_TexCoord3i (GLint s, GLint t, GLint r)
 
void APIENTRY _mesa_TexCoord3s (GLshort s, GLshort t, GLshort r)
 
void APIENTRY _mesa_TexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q)
 
void APIENTRY _mesa_TexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q)
 
void APIENTRY _mesa_TexCoord4i (GLint s, GLint t, GLint r, GLint q)
 
void APIENTRY _mesa_TexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q)
 
void APIENTRY _mesa_TexCoord1dv (const GLdouble *v)
 
void APIENTRY _mesa_TexCoord1fv (const GLfloat *v)
 
void APIENTRY _mesa_TexCoord1iv (const GLint *v)
 
void APIENTRY _mesa_TexCoord1sv (const GLshort *v)
 
void APIENTRY _mesa_TexCoord2dv (const GLdouble *v)
 
void APIENTRY _mesa_TexCoord2fv (const GLfloat *v)
 
void APIENTRY _mesa_TexCoord2iv (const GLint *v)
 
void APIENTRY _mesa_TexCoord2sv (const GLshort *v)
 
void APIENTRY _mesa_TexCoord3dv (const GLdouble *v)
 
void APIENTRY _mesa_TexCoord3fv (const GLfloat *v)
 
void APIENTRY _mesa_TexCoord3iv (const GLint *v)
 
void APIENTRY _mesa_TexCoord3sv (const GLshort *v)
 
void APIENTRY _mesa_TexCoord4dv (const GLdouble *v)
 
void APIENTRY _mesa_TexCoord4fv (const GLfloat *v)
 
void APIENTRY _mesa_TexCoord4iv (const GLint *v)
 
void APIENTRY _mesa_TexCoord4sv (const GLshort *v)
 
void APIENTRY _mesa_TexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
 
void APIENTRY _mesa_TexGend (GLenum coord, GLenum pname, GLdouble param)
 
void APIENTRY _mesa_TexGenf (GLenum coord, GLenum pname, GLfloat param)
 
void APIENTRY _mesa_TexGeni (GLenum coord, GLenum pname, GLint param)
 
void APIENTRY _mesa_TexGendv (GLenum coord, GLenum pname, const GLdouble *params)
 
void APIENTRY _mesa_TexGeniv (GLenum coord, GLenum pname, const GLint *params)
 
void APIENTRY _mesa_TexGenfv (GLenum coord, GLenum pname, const GLfloat *params)
 
void APIENTRY _mesa_TexEnvf (GLenum target, GLenum pname, GLfloat param)
 
void APIENTRY _mesa_TexEnvi (GLenum target, GLenum pname, GLint param)
 
void APIENTRY _mesa_TexEnvfv (GLenum target, GLenum pname, const GLfloat *param)
 
void APIENTRY _mesa_TexEnviv (GLenum target, GLenum pname, const GLint *param)
 
void APIENTRY _mesa_TexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
 
void APIENTRY _mesa_TexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
 
void APIENTRY _mesa_TexParameterf (GLenum target, GLenum pname, GLfloat param)
 
void APIENTRY _mesa_TexParameteri (GLenum target, GLenum pname, GLint param)
 
void APIENTRY _mesa_TexParameterfv (GLenum target, GLenum pname, const GLfloat *params)
 
void APIENTRY _mesa_TexParameteriv (GLenum target, GLenum pname, const GLint *params)
 
void APIENTRY _mesa_TexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
 
void APIENTRY _mesa_TexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
 
void APIENTRY _mesa_Translated (GLdouble x, GLdouble y, GLdouble z)
 
void APIENTRY _mesa_Translatef (GLfloat x, GLfloat y, GLfloat z)
 
void APIENTRY _mesa_Vertex2d (GLdouble x, GLdouble y)
 
void APIENTRY _mesa_Vertex2f (GLfloat x, GLfloat y)
 
void APIENTRY _mesa_Vertex2i (GLint x, GLint y)
 
void APIENTRY _mesa_Vertex2s (GLshort x, GLshort y)
 
void APIENTRY _mesa_Vertex3d (GLdouble x, GLdouble y, GLdouble z)
 
void APIENTRY _mesa_Vertex3f (GLfloat x, GLfloat y, GLfloat z)
 
void APIENTRY _mesa_Vertex3i (GLint x, GLint y, GLint z)
 
void APIENTRY _mesa_Vertex3s (GLshort x, GLshort y, GLshort z)
 
void APIENTRY _mesa_Vertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w)
 
void APIENTRY _mesa_Vertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w)
 
void APIENTRY _mesa_Vertex4i (GLint x, GLint y, GLint z, GLint w)
 
void APIENTRY _mesa_Vertex4s (GLshort x, GLshort y, GLshort z, GLshort w)
 
void APIENTRY _mesa_Vertex2dv (const GLdouble *v)
 
void APIENTRY _mesa_Vertex2fv (const GLfloat *v)
 
void APIENTRY _mesa_Vertex2iv (const GLint *v)
 
void APIENTRY _mesa_Vertex2sv (const GLshort *v)
 
void APIENTRY _mesa_Vertex3dv (const GLdouble *v)
 
void APIENTRY _mesa_Vertex3fv (const GLfloat *v)
 
void APIENTRY _mesa_Vertex3iv (const GLint *v)
 
void APIENTRY _mesa_Vertex3sv (const GLshort *v)
 
void APIENTRY _mesa_Vertex4dv (const GLdouble *v)
 
void APIENTRY _mesa_Vertex4fv (const GLfloat *v)
 
void APIENTRY _mesa_Vertex4iv (const GLint *v)
 
void APIENTRY _mesa_Vertex4sv (const GLshort *v)
 
void APIENTRY _mesa_VertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
 
void APIENTRY _mesa_Viewport (GLint x, GLint y, GLsizei width, GLsizei height)
 
void APIENTRY _mesa_ColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table)
 
void APIENTRY _mesa_ColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data)
 
void APIENTRY _mesa_GetColorTableEXT (GLenum target, GLenum format, GLenum type, GLvoid *table)
 
void APIENTRY _mesa_GetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params)
 
void APIENTRY _mesa_GetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params)
 

Function Documentation

◆ _mesa_Accum()

void APIENTRY _mesa_Accum ( GLenum  op,
GLfloat  value 
)

Definition at line 41 of file api.c.

42{
44 (*CC->API.Accum)(CC, op, value);
45}
GLcontext * CC
UINT op
Definition: effect.c:236
#define GET_CONTEXT
Definition: api.h:64
struct gl_api_table API
Definition: types.h:1268
Definition: pdh_main.c:94

◆ _mesa_AlphaFunc()

void APIENTRY _mesa_AlphaFunc ( GLenum  func,
GLclampf  ref 
)

Definition at line 47 of file api.c.

48{
50 (*CC->API.AlphaFunc)(CC, func, ref);
51}
GLenum func
Definition: glext.h:6028
Definition: send.c:48

◆ _mesa_AreTexturesResident()

GLboolean APIENTRY _mesa_AreTexturesResident ( GLsizei  n,
const GLuint textures,
GLboolean residences 
)

Definition at line 54 of file api.c.

56{
58 return (*CC->API.AreTexturesResident)(CC, n, textures, residences);
59}
GLdouble n
Definition: glext.h:7729
const GLuint GLboolean * residences
Definition: glext.h:8098
const GLuint * textures
Definition: glext.h:8098

◆ _mesa_ArrayElement()

void APIENTRY _mesa_ArrayElement ( GLint  i)

Definition at line 61 of file api.c.

62{
64 (*CC->API.ArrayElement)(CC, i);
65}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248

◆ _mesa_Begin()

void APIENTRY _mesa_Begin ( GLenum  mode)

Definition at line 68 of file api.c.

69{
71 (*CC->API.Begin)( CC, mode );
72}
GLenum mode
Definition: glext.h:6217

◆ _mesa_BindTexture()

void APIENTRY _mesa_BindTexture ( GLenum  target,
GLuint  texture 
)

Definition at line 75 of file api.c.

76{
78 (*CC->API.BindTexture)(CC, target, texture);
79}
GLenum GLuint texture
Definition: glext.h:6295
GLenum target
Definition: glext.h:7315

◆ _mesa_Bitmap()

void APIENTRY _mesa_Bitmap ( GLsizei  width,
GLsizei  height,
GLfloat  xorig,
GLfloat  yorig,
GLfloat  xmove,
GLfloat  ymove,
const GLubyte bitmap 
)

Definition at line 82 of file api.c.

86{
88 if (!CC->CompileFlag) {
89 /* execute only, try optimized case where no unpacking needed */
90 if ( CC->Unpack.LsbFirst==GL_FALSE
91 && CC->Unpack.Alignment==1
92 && CC->Unpack.RowLength==0
93 && CC->Unpack.SkipPixels==0
94 && CC->Unpack.SkipRows==0) {
95 /* Special case: no unpacking needed */
96 struct gl_image image;
97 image.Width = width;
98 image.Height = height;
99 image.Components = 0;
100 image.Type = GL_BITMAP;
101 image.Format = GL_COLOR_INDEX;
102 image.Data = (GLvoid *) bitmap;
103 (*CC->Exec.Bitmap)( CC, width, height, xorig, yorig,
104 xmove, ymove, &image );
105 }
106 else {
107 struct gl_image *image;
109 (*CC->Exec.Bitmap)( CC, width, height, xorig, yorig,
110 xmove, ymove, image );
111 if (image) {
113 }
114 }
115 }
116 else {
117 /* compile and maybe execute */
118 struct gl_image *image;
120 (*CC->API.Bitmap)(CC, width, height, xorig, yorig, xmove, ymove, image );
121 }
122}
struct gl_image * gl_unpack_bitmap(GLcontext *ctx, GLsizei width, GLsizei height, const GLubyte *bitmap)
Definition: bitmap.c:76
void gl_free_image(struct gl_image *image)
Definition: image.c:661
GLeglImageOES image
Definition: gl.h:2204
#define GL_BITMAP
Definition: gl.h:497
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
#define GL_COLOR_INDEX
Definition: gl.h:479
#define GL_FALSE
Definition: gl.h:173
GLint GLint GLsizei width
Definition: gl.h:1546
Definition: uimain.c:89
GLboolean CompileFlag
Definition: types.h:1307
struct gl_pixelstore_attrib Unpack
Definition: types.h:1344
struct gl_api_table Exec
Definition: types.h:1270

◆ _mesa_BlendFunc()

void APIENTRY _mesa_BlendFunc ( GLenum  sfactor,
GLenum  dfactor 
)

Definition at line 125 of file api.c.

126{
128 (*CC->API.BlendFunc)(CC, sfactor, dfactor);
129}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint GLenum GLenum dfactor
Definition: glfuncs.h:252
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint GLenum sfactor
Definition: glfuncs.h:252

◆ _mesa_CallList()

void APIENTRY _mesa_CallList ( GLuint  list)

Definition at line 132 of file api.c.

133{
135 (*CC->API.CallList)(CC, list);
136}
Definition: list.h:37

◆ _mesa_CallLists()

void APIENTRY _mesa_CallLists ( GLsizei  n,
GLenum  type,
const GLvoid lists 
)

Definition at line 139 of file api.c.

140{
142 (*CC->API.CallLists)(CC, n, type, lists);
143}
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLsizei GLenum const GLvoid * lists
Definition: glfuncs.h:14

◆ _mesa_Clear()

void APIENTRY _mesa_Clear ( GLbitfield  mask)

Definition at line 146 of file api.c.

147{
149 (*CC->API.Clear)(CC, mask);
150}
GLenum GLint GLuint mask
Definition: glext.h:6028

◆ _mesa_ClearAccum()

void APIENTRY _mesa_ClearAccum ( GLfloat  red,
GLfloat  green,
GLfloat  blue,
GLfloat  alpha 
)

Definition at line 153 of file api.c.

155{
157 (*CC->API.ClearAccum)(CC, red, green, blue, alpha);
158}
GLclampf green
Definition: gl.h:1740
GLclampf GLclampf GLclampf alpha
Definition: gl.h:1740
GLclampf GLclampf blue
Definition: gl.h:1740
#define red
Definition: linetest.c:67

◆ _mesa_ClearColor()

void APIENTRY _mesa_ClearColor ( GLclampf  red,
GLclampf  green,
GLclampf  blue,
GLclampf  alpha 
)

Definition at line 169 of file api.c.

173{
175 (*CC->API.ClearColor)(CC, red, green, blue, alpha);
176}

◆ _mesa_ClearDepth()

void APIENTRY _mesa_ClearDepth ( GLclampd  depth)

Definition at line 179 of file api.c.

180{
182 (*CC->API.ClearDepth)( CC, depth );
183}
GLint GLint GLsizei GLsizei GLsizei depth
Definition: gl.h:1546

◆ _mesa_ClearIndex()

void APIENTRY _mesa_ClearIndex ( GLfloat  c)

Definition at line 162 of file api.c.

163{
165 (*CC->API.ClearIndex)(CC, c);
166}
const GLubyte * c
Definition: glext.h:8905

◆ _mesa_ClearStencil()

void APIENTRY _mesa_ClearStencil ( GLint  s)

Definition at line 186 of file api.c.

187{
189 (*CC->API.ClearStencil)(CC, s);
190}
GLdouble s
Definition: gl.h:2039

◆ _mesa_ClipPlane()

void APIENTRY _mesa_ClipPlane ( GLenum  plane,
const GLdouble equation 
)

Definition at line 193 of file api.c.

194{
195 GLfloat eq[4];
197 eq[0] = (GLfloat) equation[0];
198 eq[1] = (GLfloat) equation[1];
199 eq[2] = (GLfloat) equation[2];
200 eq[3] = (GLfloat) equation[3];
201 (*CC->API.ClipPlane)(CC, plane, eq );
202}
float GLfloat
Definition: gl.h:161
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint GLenum GLenum GLenum GLint GLuint GLenum GLenum GLfloat GLenum GLfloat GLenum GLint const GLfloat GLenum GLint const GLushort GLint GLint GLsizei GLsizei GLenum GLsizei GLsizei GLenum GLenum const GLvoid GLenum GLdouble * equation
Definition: glfuncs.h:270
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint GLenum GLenum GLenum GLint GLuint GLenum GLenum GLfloat GLenum GLfloat GLenum GLint const GLfloat GLenum GLint const GLushort GLint GLint GLsizei GLsizei GLenum GLsizei GLsizei GLenum GLenum const GLvoid GLenum plane
Definition: glfuncs.h:270
#define eq(received, expected, label, type)
Definition: locale.c:144

◆ _mesa_Color3b()

void APIENTRY _mesa_Color3b ( GLbyte  red,
GLbyte  green,
GLbyte  blue 
)

Definition at line 205 of file api.c.

206{
208 (*CC->API.Color3f)( CC, BYTE_TO_FLOAT(red), BYTE_TO_FLOAT(green),
210}
#define BYTE_TO_FLOAT(B)
Definition: macros.h:187

◆ _mesa_Color3bv()

void APIENTRY _mesa_Color3bv ( const GLbyte v)

Definition at line 324 of file api.c.

325{
327 (*CC->API.Color3f)( CC, BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]),
328 BYTE_TO_FLOAT(v[2]) );
329}
const GLdouble * v
Definition: gl.h:2040

◆ _mesa_Color3d()

void APIENTRY _mesa_Color3d ( GLdouble  red,
GLdouble  green,
GLdouble  blue 
)

Definition at line 213 of file api.c.

214{
216 (*CC->API.Color3f)( CC, (GLfloat) red, (GLfloat) green, (GLfloat) blue );
217}

◆ _mesa_Color3dv()

void APIENTRY _mesa_Color3dv ( const GLdouble v)

Definition at line 332 of file api.c.

333{
335 (*CC->API.Color3f)( CC, (GLdouble) v[0], (GLdouble) v[1], (GLdouble) v[2] );
336}
double GLdouble
Definition: gl.h:163

◆ _mesa_Color3f()

void APIENTRY _mesa_Color3f ( GLfloat  red,
GLfloat  green,
GLfloat  blue 
)

Definition at line 220 of file api.c.

221{
223 (*CC->API.Color3f)( CC, red, green, blue );
224}

◆ _mesa_Color3fv()

void APIENTRY _mesa_Color3fv ( const GLfloat v)

Definition at line 339 of file api.c.

340{
342 (*CC->API.Color3fv)( CC, v );
343}

◆ _mesa_Color3i()

void APIENTRY _mesa_Color3i ( GLint  red,
GLint  green,
GLint  blue 
)

Definition at line 227 of file api.c.

228{
230 (*CC->API.Color3f)( CC, INT_TO_FLOAT(red), INT_TO_FLOAT(green),
232}
#define INT_TO_FLOAT(I)
Definition: macros.h:215

◆ _mesa_Color3iv()

void APIENTRY _mesa_Color3iv ( const GLint v)

Definition at line 346 of file api.c.

347{
349 (*CC->API.Color3f)( CC, INT_TO_FLOAT(v[0]), INT_TO_FLOAT(v[1]),
350 INT_TO_FLOAT(v[2]) );
351}

◆ _mesa_Color3s()

void APIENTRY _mesa_Color3s ( GLshort  red,
GLshort  green,
GLshort  blue 
)

Definition at line 235 of file api.c.

236{
238 (*CC->API.Color3f)( CC, SHORT_TO_FLOAT(red), SHORT_TO_FLOAT(green),
240}
#define SHORT_TO_FLOAT(S)
Definition: macros.h:201

◆ _mesa_Color3sv()

void APIENTRY _mesa_Color3sv ( const GLshort v)

Definition at line 354 of file api.c.

355{
357 (*CC->API.Color3f)( CC, SHORT_TO_FLOAT(v[0]), SHORT_TO_FLOAT(v[1]),
358 SHORT_TO_FLOAT(v[2]) );
359}

◆ _mesa_Color3ub()

void APIENTRY _mesa_Color3ub ( GLubyte  red,
GLubyte  green,
GLubyte  blue 
)

Definition at line 243 of file api.c.

244{
246 (*CC->API.Color4ub)( CC, red, green, blue, 255 );
247}

◆ _mesa_Color3ubv()

void APIENTRY _mesa_Color3ubv ( const GLubyte v)

Definition at line 362 of file api.c.

363{
365 (*CC->API.Color4ub)( CC, v[0], v[1], v[2], 255 );
366}

◆ _mesa_Color3ui()

void APIENTRY _mesa_Color3ui ( GLuint  red,
GLuint  green,
GLuint  blue 
)

Definition at line 250 of file api.c.

251{
253 (*CC->API.Color3f)( CC, UINT_TO_FLOAT(red), UINT_TO_FLOAT(green),
255}
#define UINT_TO_FLOAT(U)
Definition: macros.h:208

◆ _mesa_Color3uiv()

void APIENTRY _mesa_Color3uiv ( const GLuint v)

Definition at line 369 of file api.c.

370{
372 (*CC->API.Color3f)( CC, UINT_TO_FLOAT(v[0]), UINT_TO_FLOAT(v[1]),
373 UINT_TO_FLOAT(v[2]) );
374}

◆ _mesa_Color3us()

void APIENTRY _mesa_Color3us ( GLushort  red,
GLushort  green,
GLushort  blue 
)

Definition at line 258 of file api.c.

259{
263}
#define USHORT_TO_FLOAT(S)
Definition: macros.h:194

◆ _mesa_Color3usv()

void APIENTRY _mesa_Color3usv ( const GLushort v)

Definition at line 377 of file api.c.

378{
380 (*CC->API.Color3f)( CC, USHORT_TO_FLOAT(v[0]), USHORT_TO_FLOAT(v[1]),
381 USHORT_TO_FLOAT(v[2]) );
382
383}

◆ _mesa_Color4b()

void APIENTRY _mesa_Color4b ( GLbyte  red,
GLbyte  green,
GLbyte  blue,
GLbyte  alpha 
)

Definition at line 266 of file api.c.

267{
269 (*CC->API.Color4f)( CC, BYTE_TO_FLOAT(red), BYTE_TO_FLOAT(green),
271}

◆ _mesa_Color4bv()

void APIENTRY _mesa_Color4bv ( const GLbyte v)

Definition at line 386 of file api.c.

387{
389 (*CC->API.Color4f)( CC, BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]),
390 BYTE_TO_FLOAT(v[2]), BYTE_TO_FLOAT(v[3]) );
391}

◆ _mesa_Color4d()

void APIENTRY _mesa_Color4d ( GLdouble  red,
GLdouble  green,
GLdouble  blue,
GLdouble  alpha 
)

Definition at line 274 of file api.c.

275{
277 (*CC->API.Color4f)( CC, (GLfloat) red, (GLfloat) green,
278 (GLfloat) blue, (GLfloat) alpha );
279}

◆ _mesa_Color4dv()

void APIENTRY _mesa_Color4dv ( const GLdouble v)

Definition at line 394 of file api.c.

395{
397 (*CC->API.Color4f)( CC, (GLdouble) v[0], (GLdouble) v[1],
398 (GLdouble) v[2], (GLdouble) v[3] );
399}

◆ _mesa_Color4f()

void APIENTRY _mesa_Color4f ( GLfloat  red,
GLfloat  green,
GLfloat  blue,
GLfloat  alpha 
)

Definition at line 282 of file api.c.

283{
285 (*CC->API.Color4f)( CC, red, green, blue, alpha );
286}

◆ _mesa_Color4fv()

void APIENTRY _mesa_Color4fv ( const GLfloat v)

Definition at line 402 of file api.c.

403{
405 (*CC->API.Color4f)( CC, v[0], v[1], v[2], v[3] );
406}

◆ _mesa_Color4i()

void APIENTRY _mesa_Color4i ( GLint  red,
GLint  green,
GLint  blue,
GLint  alpha 
)

Definition at line 288 of file api.c.

289{
291 (*CC->API.Color4f)( CC, INT_TO_FLOAT(red), INT_TO_FLOAT(green),
293}

◆ _mesa_Color4iv()

void APIENTRY _mesa_Color4iv ( const GLint v)

Definition at line 409 of file api.c.

410{
412 (*CC->API.Color4f)( CC, INT_TO_FLOAT(v[0]), INT_TO_FLOAT(v[1]),
413 INT_TO_FLOAT(v[2]), INT_TO_FLOAT(v[3]) );
414}

◆ _mesa_Color4s()

void APIENTRY _mesa_Color4s ( GLshort  red,
GLshort  green,
GLshort  blue,
GLshort  alpha 
)

Definition at line 296 of file api.c.

◆ _mesa_Color4sv()

void APIENTRY _mesa_Color4sv ( const GLshort v)

Definition at line 417 of file api.c.

418{
420 (*CC->API.Color4f)( CC, SHORT_TO_FLOAT(v[0]), SHORT_TO_FLOAT(v[1]),
421 SHORT_TO_FLOAT(v[2]), SHORT_TO_FLOAT(v[3]) );
422}

◆ _mesa_Color4ub()

void APIENTRY _mesa_Color4ub ( GLubyte  red,
GLubyte  green,
GLubyte  blue,
GLubyte  alpha 
)

Definition at line 303 of file api.c.

304{
306 (*CC->API.Color4ub)( CC, red, green, blue, alpha );
307}

◆ _mesa_Color4ubv()

void APIENTRY _mesa_Color4ubv ( const GLubyte v)

Definition at line 425 of file api.c.

426{
428 (*CC->API.Color4ubv)( CC, v );
429}

◆ _mesa_Color4ui()

void APIENTRY _mesa_Color4ui ( GLuint  red,
GLuint  green,
GLuint  blue,
GLuint  alpha 
)

Definition at line 309 of file api.c.

310{
312 (*CC->API.Color4f)( CC, UINT_TO_FLOAT(red), UINT_TO_FLOAT(green),
314}

◆ _mesa_Color4uiv()

void APIENTRY _mesa_Color4uiv ( const GLuint v)

Definition at line 432 of file api.c.

433{
435 (*CC->API.Color4f)( CC, UINT_TO_FLOAT(v[0]), UINT_TO_FLOAT(v[1]),
436 UINT_TO_FLOAT(v[2]), UINT_TO_FLOAT(v[3]) );
437}

◆ _mesa_Color4us()

void APIENTRY _mesa_Color4us ( GLushort  red,
GLushort  green,
GLushort  blue,
GLushort  alpha 
)

Definition at line 316 of file api.c.

◆ _mesa_Color4usv()

void APIENTRY _mesa_Color4usv ( const GLushort v)

Definition at line 440 of file api.c.

441{
443 (*CC->API.Color4f)( CC, USHORT_TO_FLOAT(v[0]), USHORT_TO_FLOAT(v[1]),
445}

◆ _mesa_ColorMask()

void APIENTRY _mesa_ColorMask ( GLboolean  red,
GLboolean  green,
GLboolean  blue,
GLboolean  alpha 
)

Definition at line 448 of file api.c.

450{
452 (*CC->API.ColorMask)(CC, red, green, blue, alpha);
453}

◆ _mesa_ColorMaterial()

void APIENTRY _mesa_ColorMaterial ( GLenum  face,
GLenum  mode 
)

Definition at line 456 of file api.c.

457{
459 (*CC->API.ColorMaterial)(CC, face, mode);
460}
GLenum GLuint GLint GLenum face
Definition: glext.h:7025

◆ _mesa_ColorPointer()

void APIENTRY _mesa_ColorPointer ( GLint  size,
GLenum  type,
GLsizei  stride,
const GLvoid ptr 
)

Definition at line 463 of file api.c.

465{
467 (*CC->API.ColorPointer)(CC, size, type, stride, ptr);
468}
GLsizeiptr size
Definition: glext.h:5919
GLsizei stride
Definition: glext.h:5848
static PVOID ptr
Definition: dispmode.c:27

◆ _mesa_ColorSubTableEXT()

void APIENTRY _mesa_ColorSubTableEXT ( GLenum  target,
GLsizei  start,
GLsizei  count,
GLenum  format,
GLenum  type,
const GLvoid data 
)

Definition at line 2839 of file api.c.

2842{
2843 struct gl_image *image;
2846 (*CC->API.ColorSubTable)( CC, target, start, image );
2847 if (image->RefCount == 0)
2849}
struct gl_image * gl_unpack_image(GLcontext *ctx, GLint width, GLint height, GLenum srcFormat, GLenum srcType, const GLvoid *pixels)
Definition: image.c:314
GLuint start
Definition: gl.h:1545
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546

Referenced by sw_GetProcAddress().

◆ _mesa_ColorTableEXT()

void APIENTRY _mesa_ColorTableEXT ( GLenum  target,
GLenum  internalFormat,
GLsizei  width,
GLenum  format,
GLenum  type,
const GLvoid table 
)

Definition at line 2826 of file api.c.

2829{
2830 struct gl_image *image;
2833 (*CC->API.ColorTable)( CC, target, internalFormat, image );
2834 if (image->RefCount == 0)
2836}
GLenum internalFormat
Definition: glext.h:8404

Referenced by sw_GetProcAddress().

◆ _mesa_CopyPixels()

void APIENTRY _mesa_CopyPixels ( GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height,
GLenum  type 
)

Definition at line 471 of file api.c.

473{
475 (*CC->API.CopyPixels)(CC, x, y, width, height, type);
476}
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

◆ _mesa_CopyTexImage1D()

void APIENTRY _mesa_CopyTexImage1D ( GLenum  target,
GLint  level,
GLenum  internalformat,
GLint  x,
GLint  y,
GLsizei  width,
GLint  border 
)

Definition at line 479 of file api.c.

483{
485 (*CC->API.CopyTexImage1D)( CC, target, level, internalformat,
486 x, y, width, border );
487}
GLint GLint GLsizei GLsizei GLsizei GLint border
Definition: gl.h:1546
GLint level
Definition: gl.h:1546
GLint GLint internalformat
Definition: gl.h:1546

◆ _mesa_CopyTexImage2D()

void APIENTRY _mesa_CopyTexImage2D ( GLenum  target,
GLint  level,
GLenum  internalformat,
GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height,
GLint  border 
)

Definition at line 490 of file api.c.

494{
496 (*CC->API.CopyTexImage2D)( CC, target, level, internalformat,
497 x, y, width, height, border );
498}

◆ _mesa_CopyTexSubImage1D()

void APIENTRY _mesa_CopyTexSubImage1D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  x,
GLint  y,
GLsizei  width 
)

Definition at line 501 of file api.c.

504{
506 (*CC->API.CopyTexSubImage1D)( CC, target, level, xoffset, x, y, width );
507}
GLint GLint xoffset
Definition: gl.h:1547

◆ _mesa_CopyTexSubImage2D()

void APIENTRY _mesa_CopyTexSubImage2D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height 
)

Definition at line 510 of file api.c.

514{
516 (*CC->API.CopyTexSubImage2D)( CC, target, level, xoffset, yoffset,
517 x, y, width, height );
518}
GLint GLint GLint yoffset
Definition: gl.h:1547

◆ _mesa_CullFace()

void APIENTRY _mesa_CullFace ( GLenum  mode)

Definition at line 522 of file api.c.

523{
525 (*CC->API.CullFace)(CC, mode);
526}

◆ _mesa_DeleteLists()

void APIENTRY _mesa_DeleteLists ( GLuint  list,
GLsizei  range 
)

Definition at line 550 of file api.c.

551{
553 (*CC->API.DeleteLists)(CC, list, range);
554}
GLenum GLint * range
Definition: glext.h:7539

◆ _mesa_DeleteTextures()

void APIENTRY _mesa_DeleteTextures ( GLsizei  n,
const GLuint textures 
)

Definition at line 557 of file api.c.

558{
560 (*CC->API.DeleteTextures)(CC, n, textures);
561}

◆ _mesa_DepthFunc()

void APIENTRY _mesa_DepthFunc ( GLenum  func)

Definition at line 529 of file api.c.

530{
532 (*CC->API.DepthFunc)( CC, func );
533}

◆ _mesa_DepthMask()

void APIENTRY _mesa_DepthMask ( GLboolean  flag)

Definition at line 536 of file api.c.

537{
539 (*CC->API.DepthMask)( CC, flag );
540}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean flag
Definition: glfuncs.h:52

◆ _mesa_DepthRange()

void APIENTRY _mesa_DepthRange ( GLclampd  near_val,
GLclampd  far_val 
)

Definition at line 543 of file api.c.

544{
546 (*CC->API.DepthRange)( CC, near_val, far_val );
547}

◆ _mesa_Disable()

void APIENTRY _mesa_Disable ( GLenum  cap)

Definition at line 564 of file api.c.

565{
567 (*CC->API.Disable)( CC, cap );
568}
GLenum cap
Definition: glext.h:9639

◆ _mesa_DisableClientState()

void APIENTRY _mesa_DisableClientState ( GLenum  cap)

Definition at line 571 of file api.c.

572{
574 (*CC->API.DisableClientState)( CC, cap );
575}

◆ _mesa_DrawArrays()

void APIENTRY _mesa_DrawArrays ( GLenum  mode,
GLint  first,
GLsizei  count 
)

Definition at line 578 of file api.c.

579{
581 (*CC->API.DrawArrays)(CC, mode, first, count);
582}
const GLint * first
Definition: glext.h:5794

◆ _mesa_DrawBuffer()

void APIENTRY _mesa_DrawBuffer ( GLenum  mode)

Definition at line 585 of file api.c.

586{
588 (*CC->API.DrawBuffer)(CC, mode);
589}

◆ _mesa_DrawElements()

void APIENTRY _mesa_DrawElements ( GLenum  mode,
GLsizei  count,
GLenum  type,
const GLvoid indices 
)

Definition at line 592 of file api.c.

594{
596 (*CC->API.DrawElements)( CC, mode, count, type, indices );
597}
GLuint GLuint GLsizei GLenum const GLvoid * indices
Definition: gl.h:1545

◆ _mesa_DrawPixels()

void APIENTRY _mesa_DrawPixels ( GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
const GLvoid pixels 
)

Definition at line 600 of file api.c.

602{
604 (*CC->API.DrawPixels)( CC, width, height, format, type, pixels );
605}
GLint GLint GLsizei GLsizei GLsizei GLint GLenum GLenum const GLvoid * pixels
Definition: gl.h:1546

◆ _mesa_EdgeFlag()

void APIENTRY _mesa_EdgeFlag ( GLboolean  flag)

Definition at line 715 of file api.c.

716{
718 (*CC->API.EdgeFlag)(CC, flag);
719}

◆ _mesa_EdgeFlagPointer()

void APIENTRY _mesa_EdgeFlagPointer ( GLsizei  stride,
const GLboolean ptr 
)

Definition at line 729 of file api.c.

730{
732 (*CC->API.EdgeFlagPointer)(CC, stride, ptr);
733}

◆ _mesa_EdgeFlagv()

void APIENTRY _mesa_EdgeFlagv ( const GLboolean flag)

Definition at line 722 of file api.c.

723{
725 (*CC->API.EdgeFlag)(CC, *flag);
726}

◆ _mesa_Enable()

void APIENTRY _mesa_Enable ( GLenum  cap)

Definition at line 608 of file api.c.

609{
611 (*CC->API.Enable)( CC, cap );
612}

◆ _mesa_EnableClientState()

void APIENTRY _mesa_EnableClientState ( GLenum  cap)

Definition at line 615 of file api.c.

616{
618 (*CC->API.EnableClientState)( CC, cap );
619}

◆ _mesa_End()

void APIENTRY _mesa_End ( void  )

Definition at line 622 of file api.c.

623{
625 (*CC->API.End)( CC );
626}

◆ _mesa_EndList()

void APIENTRY _mesa_EndList ( void  )

Definition at line 629 of file api.c.

630{
632 (*CC->API.EndList)(CC);
633}

◆ _mesa_EvalCoord1d()

void APIENTRY _mesa_EvalCoord1d ( GLdouble  u)

Definition at line 638 of file api.c.

639{
641 (*CC->API.EvalCoord1f)( CC, (GLfloat) u );
642}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
Definition: glfuncs.h:240

◆ _mesa_EvalCoord1dv()

void APIENTRY _mesa_EvalCoord1dv ( const GLdouble u)

Definition at line 652 of file api.c.

653{
655 (*CC->API.EvalCoord1f)( CC, (GLfloat) *u );
656}

◆ _mesa_EvalCoord1f()

void APIENTRY _mesa_EvalCoord1f ( GLfloat  u)

Definition at line 645 of file api.c.

646{
648 (*CC->API.EvalCoord1f)( CC, u );
649}

◆ _mesa_EvalCoord1fv()

void APIENTRY _mesa_EvalCoord1fv ( const GLfloat u)

Definition at line 659 of file api.c.

660{
662 (*CC->API.EvalCoord1f)( CC, (GLfloat) *u );
663}

◆ _mesa_EvalCoord2d()

void APIENTRY _mesa_EvalCoord2d ( GLdouble  u,
GLdouble  v 
)

Definition at line 666 of file api.c.

667{
669 (*CC->API.EvalCoord2f)( CC, (GLfloat) u, (GLfloat) v );
670}

◆ _mesa_EvalCoord2dv()

void APIENTRY _mesa_EvalCoord2dv ( const GLdouble u)

Definition at line 680 of file api.c.

681{
683 (*CC->API.EvalCoord2f)( CC, (GLfloat) u[0], (GLfloat) u[1] );
684}

◆ _mesa_EvalCoord2f()

void APIENTRY _mesa_EvalCoord2f ( GLfloat  u,
GLfloat  v 
)

Definition at line 673 of file api.c.

674{
676 (*CC->API.EvalCoord2f)( CC, u, v );
677}

◆ _mesa_EvalCoord2fv()

void APIENTRY _mesa_EvalCoord2fv ( const GLfloat u)

Definition at line 687 of file api.c.

688{
690 (*CC->API.EvalCoord2f)( CC, u[0], u[1] );
691}

◆ _mesa_EvalMesh1()

void APIENTRY _mesa_EvalMesh1 ( GLenum  mode,
GLint  i1,
GLint  i2 
)

Definition at line 708 of file api.c.

709{
711 (*CC->API.EvalMesh1)( CC, mode, i1, i2 );
712}

◆ _mesa_EvalMesh2()

void APIENTRY _mesa_EvalMesh2 ( GLenum  mode,
GLint  i1,
GLint  i2,
GLint  j1,
GLint  j2 
)

Definition at line 736 of file api.c.

737{
739 (*CC->API.EvalMesh2)( CC, mode, i1, i2, j1, j2 );
740}

◆ _mesa_EvalPoint1()

void APIENTRY _mesa_EvalPoint1 ( GLint  i)

Definition at line 694 of file api.c.

695{
697 (*CC->API.EvalPoint1)( CC, i );
698}

◆ _mesa_EvalPoint2()

void APIENTRY _mesa_EvalPoint2 ( GLint  i,
GLint  j 
)

Definition at line 701 of file api.c.

702{
704 (*CC->API.EvalPoint2)( CC, i, j );
705}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
Definition: glfuncs.h:250

◆ _mesa_FeedbackBuffer()

void APIENTRY _mesa_FeedbackBuffer ( GLsizei  size,
GLenum  type,
GLfloat buffer 
)

Definition at line 743 of file api.c.

744{
746 (*CC->API.FeedbackBuffer)(CC, size, type, buffer);
747}
GLuint buffer
Definition: glext.h:5915

◆ _mesa_Finish()

void APIENTRY _mesa_Finish ( void  )

Definition at line 750 of file api.c.

751{
753 (*CC->API.Finish)(CC);
754}

◆ _mesa_Flush()

void APIENTRY _mesa_Flush ( void  )

Definition at line 757 of file api.c.

758{
760 (*CC->API.Flush)(CC);
761}

◆ _mesa_Fogf()

void APIENTRY _mesa_Fogf ( GLenum  pname,
GLfloat  param 
)

Definition at line 764 of file api.c.

765{
767 (*CC->API.Fogfv)(CC, pname, &param);
768}
GLenum pname
Definition: glext.h:5645
GLfloat param
Definition: glext.h:5796

◆ _mesa_Fogfv()

void APIENTRY _mesa_Fogfv ( GLenum  pname,
const GLfloat params 
)

Definition at line 779 of file api.c.

780{
782 (*CC->API.Fogfv)(CC, pname, params);
783}
GLenum const GLfloat * params
Definition: glext.h:5645

◆ _mesa_Fogi()

void APIENTRY _mesa_Fogi ( GLenum  pname,
GLint  param 
)

Definition at line 771 of file api.c.

772{
773 GLfloat fparam = (GLfloat) param;
775 (*CC->API.Fogfv)(CC, pname, &fparam);
776}

◆ _mesa_Fogiv()

void APIENTRY _mesa_Fogiv ( GLenum  pname,
const GLint params 
)

Definition at line 786 of file api.c.

787{
788 GLfloat p[4];
790
791 switch (pname) {
792 case GL_FOG_MODE:
793 case GL_FOG_DENSITY:
794 case GL_FOG_START:
795 case GL_FOG_END:
796 case GL_FOG_INDEX:
797 p[0] = (GLfloat) *params;
798 break;
799 case GL_FOG_COLOR:
800 p[0] = INT_TO_FLOAT( params[0] );
801 p[1] = INT_TO_FLOAT( params[1] );
802 p[2] = INT_TO_FLOAT( params[2] );
803 p[3] = INT_TO_FLOAT( params[3] );
804 break;
805 default:
806 /* Error will be caught later in gl_Fogfv */
807 ;
808 }
809 (*CC->API.Fogfv)( CC, pname, p );
810}
#define GL_FOG_COLOR
Definition: gl.h:417
#define GL_FOG_END
Definition: gl.h:420
#define GL_FOG_INDEX
Definition: gl.h:418
#define GL_FOG_DENSITY
Definition: gl.h:416
#define GL_FOG_START
Definition: gl.h:419
#define GL_FOG_MODE
Definition: gl.h:415
GLfloat GLfloat p
Definition: glext.h:8902

◆ _mesa_FrontFace()

void APIENTRY _mesa_FrontFace ( GLenum  mode)

Definition at line 814 of file api.c.

815{
817 (*CC->API.FrontFace)(CC, mode);
818}

◆ _mesa_Frustum()

void APIENTRY _mesa_Frustum ( GLdouble  left,
GLdouble  right,
GLdouble  bottom,
GLdouble  top,
GLdouble  nearval,
GLdouble  farval 
)

Definition at line 821 of file api.c.

824{
826 (*CC->API.Frustum)(CC, left, right, bottom, top, nearval, farval);
827}
GLdouble GLdouble GLdouble GLdouble top
Definition: glext.h:10859
GLdouble GLdouble right
Definition: glext.h:10859
GLint left
Definition: glext.h:7726
GLint GLint bottom
Definition: glext.h:7726

◆ _mesa_GenLists()

GLuint APIENTRY _mesa_GenLists ( GLsizei  range)

Definition at line 830 of file api.c.

831{
833 return (*CC->API.GenLists)(CC, range);
834}

◆ _mesa_GenTextures()

void APIENTRY _mesa_GenTextures ( GLsizei  n,
GLuint textures 
)

Definition at line 837 of file api.c.

838{
840 (*CC->API.GenTextures)(CC, n, textures);
841}

◆ _mesa_GetBooleanv()

void APIENTRY _mesa_GetBooleanv ( GLenum  pname,
GLboolean params 
)

Definition at line 844 of file api.c.

845{
847 (*CC->API.GetBooleanv)(CC, pname, params);
848}

◆ _mesa_GetClipPlane()

void APIENTRY _mesa_GetClipPlane ( GLenum  plane,
GLdouble equation 
)

Definition at line 851 of file api.c.

852{
854 (*CC->API.GetClipPlane)(CC, plane, equation);
855}

◆ _mesa_GetColorTableEXT()

void APIENTRY _mesa_GetColorTableEXT ( GLenum  target,
GLenum  format,
GLenum  type,
GLvoid table 
)

Definition at line 2851 of file api.c.

2853{
2855 (*CC->API.GetColorTable)(CC, target, format, type, table);
2856}

Referenced by sw_GetProcAddress().

◆ _mesa_GetColorTableParameterfvEXT()

void APIENTRY _mesa_GetColorTableParameterfvEXT ( GLenum  target,
GLenum  pname,
GLfloat params 
)

Definition at line 2867 of file api.c.

2869{
2870 GLint iparams;
2872 *params = (GLfloat) iparams;
2873}
void APIENTRY _mesa_GetColorTableParameterivEXT(GLenum target, GLenum pname, GLint *params)
Definition: api.c:2859
int GLint
Definition: gl.h:156

◆ _mesa_GetColorTableParameterivEXT()

void APIENTRY _mesa_GetColorTableParameterivEXT ( GLenum  target,
GLenum  pname,
GLint params 
)

Definition at line 2859 of file api.c.

2861{
2863 (*CC->API.GetColorTableParameteriv)(CC, target, pname, params);
2864}

Referenced by _mesa_GetColorTableParameterfvEXT().

◆ _mesa_GetDoublev()

void APIENTRY _mesa_GetDoublev ( GLenum  pname,
GLdouble params 
)

Definition at line 857 of file api.c.

858{
860 (*CC->API.GetDoublev)(CC, pname, params);
861}

◆ _mesa_GetError()

GLenum APIENTRY _mesa_GetError ( void  )

Definition at line 864 of file api.c.

865{
867 if (!CC) {
868 /* No current context */
869 return GL_NO_ERROR;
870 }
871 return (*CC->API.GetError)(CC);
872}
#define GL_NO_ERROR
Definition: gl.h:693

◆ _mesa_GetFloatv()

void APIENTRY _mesa_GetFloatv ( GLenum  pname,
GLfloat params 
)

Definition at line 875 of file api.c.

876{
878 (*CC->API.GetFloatv)(CC, pname, params);
879}

◆ _mesa_GetIntegerv()

void APIENTRY _mesa_GetIntegerv ( GLenum  pname,
GLint params 
)

Definition at line 882 of file api.c.

883{
885 (*CC->API.GetIntegerv)(CC, pname, params);
886}

◆ _mesa_GetLightfv()

void APIENTRY _mesa_GetLightfv ( GLenum  light,
GLenum  pname,
GLfloat params 
)

Definition at line 889 of file api.c.

890{
892 (*CC->API.GetLightfv)(CC, light, pname, params);
893}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum light
Definition: glfuncs.h:170

◆ _mesa_GetLightiv()

void APIENTRY _mesa_GetLightiv ( GLenum  light,
GLenum  pname,
GLint params 
)

Definition at line 896 of file api.c.

897{
899 (*CC->API.GetLightiv)(CC, light, pname, params);
900}

◆ _mesa_GetMapdv()

void APIENTRY _mesa_GetMapdv ( GLenum  target,
GLenum  query,
GLdouble v 
)

Definition at line 903 of file api.c.

904{
906 (*CC->API.GetMapdv)( CC, target, query, v );
907}

◆ _mesa_GetMapfv()

void APIENTRY _mesa_GetMapfv ( GLenum  target,
GLenum  query,
GLfloat v 
)

Definition at line 910 of file api.c.

911{
913 (*CC->API.GetMapfv)( CC, target, query, v );
914}

◆ _mesa_GetMapiv()

void APIENTRY _mesa_GetMapiv ( GLenum  target,
GLenum  query,
GLint v 
)

Definition at line 917 of file api.c.

918{
920 (*CC->API.GetMapiv)( CC, target, query, v );
921}

◆ _mesa_GetMaterialfv()

void APIENTRY _mesa_GetMaterialfv ( GLenum  face,
GLenum  pname,
GLfloat params 
)

Definition at line 924 of file api.c.

925{
927 (*CC->API.GetMaterialfv)(CC, face, pname, params);
928}

◆ _mesa_GetMaterialiv()

void APIENTRY _mesa_GetMaterialiv ( GLenum  face,
GLenum  pname,
GLint params 
)

Definition at line 931 of file api.c.

932{
934 (*CC->API.GetMaterialiv)(CC, face, pname, params);
935}

◆ _mesa_GetPixelMapfv()

void APIENTRY _mesa_GetPixelMapfv ( GLenum  map,
GLfloat values 
)

Definition at line 938 of file api.c.

939{
941 (*CC->API.GetPixelMapfv)(CC, map, values);
942}
Definition: _map.h:48
GLboolean GLenum GLenum GLvoid * values
Definition: glext.h:5666

◆ _mesa_GetPixelMapuiv()

void APIENTRY _mesa_GetPixelMapuiv ( GLenum  map,
GLuint values 
)

Definition at line 945 of file api.c.

946{
948 (*CC->API.GetPixelMapuiv)(CC, map, values);
949}

◆ _mesa_GetPixelMapusv()

void APIENTRY _mesa_GetPixelMapusv ( GLenum  map,
GLushort values 
)

Definition at line 952 of file api.c.

953{
955 (*CC->API.GetPixelMapusv)(CC, map, values);
956}

◆ _mesa_GetPointerv()

void APIENTRY _mesa_GetPointerv ( GLenum  pname,
GLvoid **  params 
)

Definition at line 959 of file api.c.

960{
962 (*CC->API.GetPointerv)(CC, pname, params);
963}

◆ _mesa_GetPolygonStipple()

void APIENTRY _mesa_GetPolygonStipple ( GLubyte mask)

Definition at line 966 of file api.c.

967{
969 (*CC->API.GetPolygonStipple)(CC, mask);
970}

◆ _mesa_GetString()

const GLubyte *APIENTRY _mesa_GetString ( GLenum  name)

Definition at line 973 of file api.c.

974{
976 return (*CC->API.GetString)(CC, name);
977}
HRESULT GetString(REFGUID guidKey, [out, size_is(cchBufSize)] LPWSTR pwszValue, UINT32 cchBufSize, [in, out, ptr] UINT32 *pcchLength)
Definition: name.c:39

◆ _mesa_GetTexEnvfv()

void APIENTRY _mesa_GetTexEnvfv ( GLenum  target,
GLenum  pname,
GLfloat params 
)

Definition at line 981 of file api.c.

982{
984 (*CC->API.GetTexEnvfv)(CC, target, pname, params);
985}

◆ _mesa_GetTexEnviv()

void APIENTRY _mesa_GetTexEnviv ( GLenum  target,
GLenum  pname,
GLint params 
)

Definition at line 988 of file api.c.

989{
991 (*CC->API.GetTexEnviv)(CC, target, pname, params);
992}

◆ _mesa_GetTexGendv()

void APIENTRY _mesa_GetTexGendv ( GLenum  coord,
GLenum  pname,
GLdouble params 
)

Definition at line 1002 of file api.c.

1003{
1005 (*CC->API.GetTexGendv)(CC, coord, pname, params);
1006}
GLuint coord
Definition: glext.h:9511

◆ _mesa_GetTexGenfv()

void APIENTRY _mesa_GetTexGenfv ( GLenum  coord,
GLenum  pname,
GLfloat params 
)

Definition at line 1009 of file api.c.

1010{
1012 (*CC->API.GetTexGenfv)(CC, coord, pname, params);
1013}

◆ _mesa_GetTexGeniv()

void APIENTRY _mesa_GetTexGeniv ( GLenum  coord,
GLenum  pname,
GLint params 
)

Definition at line 995 of file api.c.

996{
998 (*CC->API.GetTexGeniv)(CC, coord, pname, params);
999}

◆ _mesa_GetTexImage()

void APIENTRY _mesa_GetTexImage ( GLenum  target,
GLint  level,
GLenum  format,
GLenum  type,
GLvoid pixels 
)

Definition at line 1017 of file api.c.

1019{
1021 (*CC->API.GetTexImage)(CC, target, level, format, type, pixels);
1022}

◆ _mesa_GetTexLevelParameterfv()

void APIENTRY _mesa_GetTexLevelParameterfv ( GLenum  target,
GLint  level,
GLenum  pname,
GLfloat params 
)

Definition at line 1025 of file api.c.

1027{
1029 (*CC->API.GetTexLevelParameterfv)(CC, target, level, pname, params);
1030}

◆ _mesa_GetTexLevelParameteriv()

void APIENTRY _mesa_GetTexLevelParameteriv ( GLenum  target,
GLint  level,
GLenum  pname,
GLint params 
)

Definition at line 1033 of file api.c.

1035{
1037 (*CC->API.GetTexLevelParameteriv)(CC, target, level, pname, params);
1038}

◆ _mesa_GetTexParameterfv()

void APIENTRY _mesa_GetTexParameterfv ( GLenum  target,
GLenum  pname,
GLfloat params 
)

Definition at line 1043 of file api.c.

1044{
1046 (*CC->API.GetTexParameterfv)(CC, target, pname, params);
1047}

◆ _mesa_GetTexParameteriv()

void APIENTRY _mesa_GetTexParameteriv ( GLenum  target,
GLenum  pname,
GLint params 
)

Definition at line 1050 of file api.c.

1051{
1053 (*CC->API.GetTexParameteriv)(CC, target, pname, params);
1054}

◆ _mesa_Hint()

void APIENTRY _mesa_Hint ( GLenum  target,
GLenum  mode 
)

Definition at line 1057 of file api.c.

1058{
1060 (*CC->API.Hint)(CC, target, mode);
1061}

◆ _mesa_Indexd()

void APIENTRY _mesa_Indexd ( GLdouble  c)

Definition at line 1064 of file api.c.

1065{
1067 (*CC->API.Indexf)( CC, (GLfloat) c );
1068}
#define c
Definition: ke_i.h:80

◆ _mesa_Indexdv()

void APIENTRY _mesa_Indexdv ( const GLdouble c)

Definition at line 1101 of file api.c.

1102{
1104 (*CC->API.Indexf)( CC, (GLfloat) *c );
1105}

◆ _mesa_Indexf()

void APIENTRY _mesa_Indexf ( GLfloat  c)

Definition at line 1071 of file api.c.

1072{
1074 (*CC->API.Indexf)( CC, c );
1075}

◆ _mesa_Indexfv()

void APIENTRY _mesa_Indexfv ( const GLfloat c)

Definition at line 1108 of file api.c.

1109{
1111 (*CC->API.Indexf)( CC, *c );
1112}

◆ _mesa_Indexi()

void APIENTRY _mesa_Indexi ( GLint  c)

Definition at line 1078 of file api.c.

1079{
1081 (*CC->API.Indexi)( CC, c );
1082}

◆ _mesa_Indexiv()

void APIENTRY _mesa_Indexiv ( const GLint c)

Definition at line 1115 of file api.c.

1116{
1118 (*CC->API.Indexi)( CC, *c );
1119}

◆ _mesa_IndexMask()

void APIENTRY _mesa_IndexMask ( GLuint  mask)

Definition at line 1138 of file api.c.

1139{
1141 (*CC->API.IndexMask)(CC, mask);
1142}

◆ _mesa_IndexPointer()

void APIENTRY _mesa_IndexPointer ( GLenum  type,
GLsizei  stride,
const GLvoid ptr 
)

Definition at line 1145 of file api.c.

1146{
1148 (*CC->API.IndexPointer)(CC, type, stride, ptr);
1149}

◆ _mesa_Indexs()

void APIENTRY _mesa_Indexs ( GLshort  c)

Definition at line 1085 of file api.c.

1086{
1088 (*CC->API.Indexi)( CC, (GLint) c );
1089}

◆ _mesa_Indexsv()

void APIENTRY _mesa_Indexsv ( const GLshort c)

Definition at line 1122 of file api.c.

1123{
1125 (*CC->API.Indexi)( CC, (GLint) *c );
1126}

◆ _mesa_InitNames()

void APIENTRY _mesa_InitNames ( void  )

Definition at line 1160 of file api.c.

1161{
1163 (*CC->API.InitNames)(CC);
1164}

◆ _mesa_InterleavedArrays()

void APIENTRY _mesa_InterleavedArrays ( GLenum  format,
GLsizei  stride,
const GLvoid pointer 
)

Definition at line 1152 of file api.c.

1154{
1156 (*CC->API.InterleavedArrays)( CC, format, stride, pointer );
1157}
GLsizei const GLvoid * pointer
Definition: glext.h:5848

◆ _mesa_IsEnabled()

GLboolean APIENTRY _mesa_IsEnabled ( GLenum  cap)

Definition at line 2087 of file api.c.

2088{
2090 return (*CC->API.IsEnabled)( CC, cap );
2091}
#define cap
Definition: glfuncs.h:226

◆ _mesa_IsList()

GLboolean APIENTRY _mesa_IsList ( GLuint  list)

Definition at line 1167 of file api.c.

1168{
1170 return (*CC->API.IsList)(CC, list);
1171}
#define list
Definition: rosglue.h:35

◆ _mesa_IsTexture()

GLboolean APIENTRY _mesa_IsTexture ( GLuint  texture)

Definition at line 1174 of file api.c.

1175{
1177 return (*CC->API.IsTexture)(CC, texture);
1178}

◆ _mesa_Lightf()

void APIENTRY _mesa_Lightf ( GLenum  light,
GLenum  pname,
GLfloat  param 
)

Definition at line 1181 of file api.c.

1182{
1184 (*CC->API.Lightfv)( CC, light, pname, &param, 1 );
1185}

◆ _mesa_Lightfv()

void APIENTRY _mesa_Lightfv ( GLenum  light,
GLenum  pname,
const GLfloat params 
)

Definition at line 1198 of file api.c.

1199{
1201 (*CC->API.Lightfv)( CC, light, pname, params, 4 );
1202}

◆ _mesa_Lighti()

void APIENTRY _mesa_Lighti ( GLenum  light,
GLenum  pname,
GLint  param 
)

Definition at line 1189 of file api.c.

1190{
1191 GLfloat fparam = (GLfloat) param;
1193 (*CC->API.Lightfv)( CC, light, pname, &fparam, 1 );
1194}

◆ _mesa_Lightiv()

void APIENTRY _mesa_Lightiv ( GLenum  light,
GLenum  pname,
const GLint params 
)

Definition at line 1206 of file api.c.

1207{
1208 GLfloat fparam[4];
1210
1211 switch (pname) {
1212 case GL_AMBIENT:
1213 case GL_DIFFUSE:
1214 case GL_SPECULAR:
1215 fparam[0] = INT_TO_FLOAT( params[0] );
1216 fparam[1] = INT_TO_FLOAT( params[1] );
1217 fparam[2] = INT_TO_FLOAT( params[2] );
1218 fparam[3] = INT_TO_FLOAT( params[3] );
1219 break;
1220 case GL_POSITION:
1221 fparam[0] = (GLfloat) params[0];
1222 fparam[1] = (GLfloat) params[1];
1223 fparam[2] = (GLfloat) params[2];
1224 fparam[3] = (GLfloat) params[3];
1225 break;
1226 case GL_SPOT_DIRECTION:
1227 fparam[0] = (GLfloat) params[0];
1228 fparam[1] = (GLfloat) params[1];
1229 fparam[2] = (GLfloat) params[2];
1230 break;
1231 case GL_SPOT_EXPONENT:
1232 case GL_SPOT_CUTOFF:
1236 fparam[0] = (GLfloat) params[0];
1237 break;
1238 default:
1239 /* error will be caught later in gl_Lightfv */
1240 ;
1241 }
1242 (*CC->API.Lightfv)( CC, light, pname, fparam, 4 );
1243}
#define GL_DIFFUSE
Definition: gl.h:325
#define GL_POSITION
Definition: gl.h:329
#define GL_SPOT_EXPONENT
Definition: gl.h:319
#define GL_SPECULAR
Definition: gl.h:326
#define GL_QUADRATIC_ATTENUATION
Definition: gl.h:323
#define GL_AMBIENT
Definition: gl.h:324
#define GL_LINEAR_ATTENUATION
Definition: gl.h:322
#define GL_SPOT_DIRECTION
Definition: gl.h:330
#define GL_CONSTANT_ATTENUATION
Definition: gl.h:321
#define GL_SPOT_CUTOFF
Definition: gl.h:320

◆ _mesa_LightModelf()

void APIENTRY _mesa_LightModelf ( GLenum  pname,
GLfloat  param 
)

Definition at line 1247 of file api.c.

1248{
1250 (*CC->API.LightModelfv)( CC, pname, &param );
1251}

◆ _mesa_LightModelfv()

void APIENTRY _mesa_LightModelfv ( GLenum  pname,
const GLfloat params 
)

Definition at line 1263 of file api.c.

1264{
1266 (*CC->API.LightModelfv)( CC, pname, params );
1267}

◆ _mesa_LightModeli()

void APIENTRY _mesa_LightModeli ( GLenum  pname,
GLint  param 
)

Definition at line 1254 of file api.c.

1255{
1256 GLfloat fparam[4];
1258 fparam[0] = (GLfloat) param;
1259 (*CC->API.LightModelfv)( CC, pname, fparam );
1260}

◆ _mesa_LightModeliv()

void APIENTRY _mesa_LightModeliv ( GLenum  pname,
const GLint params 
)

Definition at line 1270 of file api.c.

1271{
1272 GLfloat fparam[4];
1274
1275 switch (pname) {
1277 fparam[0] = INT_TO_FLOAT( params[0] );
1278 fparam[1] = INT_TO_FLOAT( params[1] );
1279 fparam[2] = INT_TO_FLOAT( params[2] );
1280 fparam[3] = INT_TO_FLOAT( params[3] );
1281 break;
1284 fparam[0] = (GLfloat) params[0];
1285 break;
1286 default:
1287 /* Error will be caught later in gl_LightModelfv */
1288 ;
1289 }
1290 (*CC->API.LightModelfv)( CC, pname, fparam );
1291}
#define GL_LIGHT_MODEL_LOCAL_VIEWER
Definition: gl.h:334
#define GL_LIGHT_MODEL_TWO_SIDE
Definition: gl.h:333
#define GL_LIGHT_MODEL_AMBIENT
Definition: gl.h:335

◆ _mesa_LineStipple()

void APIENTRY _mesa_LineStipple ( GLint  factor,
GLushort  pattern 
)

Definition at line 1301 of file api.c.

1302{
1304 (*CC->API.LineStipple)(CC, factor, pattern);
1305}
GLubyte * pattern
Definition: glext.h:7787
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint factor
Definition: glfuncs.h:178

◆ _mesa_LineWidth()

void APIENTRY _mesa_LineWidth ( GLfloat  width)

Definition at line 1294 of file api.c.

1295{
1297 (*CC->API.LineWidth)(CC, width);
1298}

◆ _mesa_ListBase()

void APIENTRY _mesa_ListBase ( GLuint  base)

Definition at line 1308 of file api.c.

1309{
1311 (*CC->API.ListBase)(CC, base);
1312}

◆ _mesa_LoadIdentity()

void APIENTRY _mesa_LoadIdentity ( void  )

Definition at line 1315 of file api.c.

1316{
1318 (*CC->API.LoadIdentity)( CC );
1319}

◆ _mesa_LoadMatrixd()

void APIENTRY _mesa_LoadMatrixd ( const GLdouble m)

Definition at line 1322 of file api.c.

1323{
1324 GLfloat fm[16];
1325 GLuint i;
1327
1328 for (i=0;i<16;i++) {
1329 fm[i] = (GLfloat) m[i];
1330 }
1331
1332 (*CC->API.LoadMatrixf)( CC, fm );
1333}
unsigned int GLuint
Definition: gl.h:159
const GLfloat * m
Definition: glext.h:10848

◆ _mesa_LoadMatrixf()

void APIENTRY _mesa_LoadMatrixf ( const GLfloat m)

Definition at line 1336 of file api.c.

1337{
1339 (*CC->API.LoadMatrixf)( CC, m );
1340}

◆ _mesa_LoadName()

void APIENTRY _mesa_LoadName ( GLuint  name)

Definition at line 1343 of file api.c.

1344{
1346 (*CC->API.LoadName)(CC, name);
1347}

◆ _mesa_LogicOp()

void APIENTRY _mesa_LogicOp ( GLenum  opcode)

Definition at line 1350 of file api.c.

1351{
1353 (*CC->API.LogicOp)(CC, opcode);
1354}

◆ _mesa_Map1d()

void APIENTRY _mesa_Map1d ( GLenum  target,
GLdouble  u1,
GLdouble  u2,
GLint  stride,
GLint  order,
const GLdouble points 
)

Definition at line 1358 of file api.c.

1360{
1361 GLfloat *pnts;
1362 GLboolean retain;
1364
1366 retain = CC->CompileFlag;
1367 (*CC->API.Map1f)( CC, target, u1, u2, stride, order, pnts, retain );
1368}
GLfloat * gl_copy_map_points1d(GLenum target, GLint ustride, GLint uorder, const GLdouble *points)
Definition: eval.c:613
unsigned char GLboolean
Definition: gl.h:151
GLdouble GLdouble u2
Definition: glext.h:8308
GLuint GLdouble GLdouble GLint GLint order
Definition: glext.h:11194
GLdouble u1
Definition: glext.h:8308
GLsizei const GLfloat * points
Definition: glext.h:8112
#define pnts
Definition: intsym.h:8

◆ _mesa_Map1f()

void APIENTRY _mesa_Map1f ( GLenum  target,
GLfloat  u1,
GLfloat  u2,
GLint  stride,
GLint  order,
const GLfloat points 
)

Definition at line 1371 of file api.c.

1373{
1374 GLfloat *pnts;
1375 GLboolean retain;
1377
1379 retain = CC->CompileFlag;
1380 (*CC->API.Map1f)( CC, target, u1, u2, stride, order, pnts, retain );
1381}
GLfloat * gl_copy_map_points1f(GLenum target, GLint ustride, GLint uorder, const GLfloat *points)
Definition: eval.c:587

◆ _mesa_Map2d()

void APIENTRY _mesa_Map2d ( GLenum  target,
GLdouble  u1,
GLdouble  u2,
GLint  ustride,
GLint  uorder,
GLdouble  v1,
GLdouble  v2,
GLint  vstride,
GLint  vorder,
const GLdouble points 
)

Definition at line 1384 of file api.c.

1388{
1389 GLfloat *pnts;
1390 GLboolean retain;
1392
1394 vstride, vorder, points );
1395 retain = CC->CompileFlag;
1396 (*CC->API.Map2f)( CC, target, u1, u2, ustride, uorder,
1397 v1, v2, vstride, vorder, pnts, retain );
1398}
GLfloat * gl_copy_map_points2d(GLenum target, GLint ustride, GLint uorder, GLint vstride, GLint vorder, const GLdouble *points)
Definition: eval.c:689
GLdouble GLdouble GLint ustride
Definition: glext.h:8308
GLdouble GLdouble GLint GLint uorder
Definition: glext.h:8308
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint vorder
Definition: glext.h:8308
GLfloat GLfloat v1
Definition: glext.h:6062
GLfloat GLfloat GLfloat v2
Definition: glext.h:6063
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint vstride
Definition: glext.h:8308

◆ _mesa_Map2f()

void APIENTRY _mesa_Map2f ( GLenum  target,
GLfloat  u1,
GLfloat  u2,
GLint  ustride,
GLint  uorder,
GLfloat  v1,
GLfloat  v2,
GLint  vstride,
GLint  vorder,
const GLfloat points 
)

Definition at line 1401 of file api.c.

1405{
1406 GLfloat *pnts;
1407 GLboolean retain;
1409
1411 vstride, vorder, points );
1412 retain = CC->CompileFlag;
1413 (*CC->API.Map2f)( CC, target, u1, u2, ustride, uorder,
1414 v1, v2, vstride, vorder, pnts, retain );
1415}
GLfloat * gl_copy_map_points2f(GLenum target, GLint ustride, GLint uorder, GLint vstride, GLint vorder, const GLfloat *points)
Definition: eval.c:646

◆ _mesa_MapGrid1d()

void APIENTRY _mesa_MapGrid1d ( GLint  un,
GLdouble  u1,
GLdouble  u2 
)

Definition at line 1418 of file api.c.

1419{
1421 (*CC->API.MapGrid1f)( CC, un, (GLfloat) u1, (GLfloat) u2 );
1422}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint un
Definition: glfuncs.h:236

◆ _mesa_MapGrid1f()

void APIENTRY _mesa_MapGrid1f ( GLint  un,
GLfloat  u1,
GLfloat  u2 
)

Definition at line 1425 of file api.c.

1426{
1428 (*CC->API.MapGrid1f)( CC, un, u1, u2 );
1429}

◆ _mesa_MapGrid2d()

void APIENTRY _mesa_MapGrid2d ( GLint  un,
GLdouble  u1,
GLdouble  u2,
GLint  vn,
GLdouble  v1,
GLdouble  v2 
)

Definition at line 1432 of file api.c.

1434{
1436 (*CC->API.MapGrid2f)( CC, un, (GLfloat) u1, (GLfloat) u2,
1437 vn, (GLfloat) v1, (GLfloat) v2 );
1438}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint vn
Definition: glfuncs.h:238

◆ _mesa_MapGrid2f()

void APIENTRY _mesa_MapGrid2f ( GLint  un,
GLfloat  u1,
GLfloat  u2,
GLint  vn,
GLfloat  v1,
GLfloat  v2 
)

Definition at line 1441 of file api.c.

1443{
1445 (*CC->API.MapGrid2f)( CC, un, u1, u2, vn, v1, v2 );
1446}

◆ _mesa_Materialf()

void APIENTRY _mesa_Materialf ( GLenum  face,
GLenum  pname,
GLfloat  param 
)

Definition at line 1449 of file api.c.

1450{
1452 (*CC->API.Materialfv)( CC, face, pname, &param );
1453}

◆ _mesa_Materialfv()

void APIENTRY _mesa_Materialfv ( GLenum  face,
GLenum  pname,
const GLfloat params 
)

Definition at line 1466 of file api.c.

1467{
1469 (*CC->API.Materialfv)( CC, face, pname, params );
1470}

◆ _mesa_Materiali()

void APIENTRY _mesa_Materiali ( GLenum  face,
GLenum  pname,
GLint  param 
)

Definition at line 1457 of file api.c.

1458{
1459 GLfloat fparam[4];
1461 fparam[0] = (GLfloat) param;
1462 (*CC->API.Materialfv)( CC, face, pname, fparam );
1463}

◆ _mesa_Materialiv()

void APIENTRY _mesa_Materialiv ( GLenum  face,
GLenum  pname,
const GLint params 
)

Definition at line 1473 of file api.c.

1474{
1475 GLfloat fparam[4];
1477 switch (pname) {
1478 case GL_AMBIENT:
1479 case GL_DIFFUSE:
1480 case GL_SPECULAR:
1481 case GL_EMISSION:
1483 fparam[0] = INT_TO_FLOAT( params[0] );
1484 fparam[1] = INT_TO_FLOAT( params[1] );
1485 fparam[2] = INT_TO_FLOAT( params[2] );
1486 fparam[3] = INT_TO_FLOAT( params[3] );
1487 break;
1488 case GL_SHININESS:
1489 fparam[0] = (GLfloat) params[0];
1490 break;
1491 case GL_COLOR_INDEXES:
1492 fparam[0] = (GLfloat) params[0];
1493 fparam[1] = (GLfloat) params[1];
1494 fparam[2] = (GLfloat) params[2];
1495 break;
1496 default:
1497 /* Error will be caught later in gl_Materialfv */
1498 ;
1499 }
1500 (*CC->API.Materialfv)( CC, face, pname, fparam );
1501}
#define GL_SHININESS
Definition: gl.h:327
#define GL_COLOR_INDEXES
Definition: gl.h:332
#define GL_AMBIENT_AND_DIFFUSE
Definition: gl.h:331
#define GL_EMISSION
Definition: gl.h:328

◆ _mesa_MatrixMode()

void APIENTRY _mesa_MatrixMode ( GLenum  mode)

Definition at line 1504 of file api.c.

1505{
1507 (*CC->API.MatrixMode)( CC, mode );
1508}

◆ _mesa_MultMatrixd()

void APIENTRY _mesa_MultMatrixd ( const GLdouble m)

Definition at line 1511 of file api.c.

1512{
1513 GLfloat fm[16];
1514 GLuint i;
1516
1517 for (i=0;i<16;i++) {
1518 fm[i] = (GLfloat) m[i];
1519 }
1520
1521 (*CC->API.MultMatrixf)( CC, fm );
1522}

◆ _mesa_MultMatrixf()

void APIENTRY _mesa_MultMatrixf ( const GLfloat m)

Definition at line 1525 of file api.c.

1526{
1528 (*CC->API.MultMatrixf)( CC, m );
1529}

◆ _mesa_NewList()

void APIENTRY _mesa_NewList ( GLuint  list,
GLenum  mode 
)

Definition at line 1532 of file api.c.

1533{
1535 (*CC->API.NewList)(CC, list, mode);
1536}

◆ _mesa_Normal3b()

void APIENTRY _mesa_Normal3b ( GLbyte  nx,
GLbyte  ny,
GLbyte  nz 
)

Definition at line 1538 of file api.c.

1539{
1541 (*CC->API.Normal3f)( CC, BYTE_TO_FLOAT(nx),
1543}
GLfloat GLfloat nz
Definition: glext.h:8896
GLfloat ny
Definition: glext.h:8896
GLfloat GLfloat GLfloat GLfloat nx
Definition: glext.h:8898

◆ _mesa_Normal3bv()

void APIENTRY _mesa_Normal3bv ( const GLbyte v)

Definition at line 1593 of file api.c.

1594{
1596 (*CC->API.Normal3f)( CC, BYTE_TO_FLOAT(v[0]),
1597 BYTE_TO_FLOAT(v[1]), BYTE_TO_FLOAT(v[2]) );
1598}

◆ _mesa_Normal3d()

void APIENTRY _mesa_Normal3d ( GLdouble  nx,
GLdouble  ny,
GLdouble  nz 
)

Definition at line 1546 of file api.c.

1547{
1548 GLfloat fx, fy, fz;
1550 if (ABSD(nx)<0.00001) fx = 0.0F; else fx = nx;
1551 if (ABSD(ny)<0.00001) fy = 0.0F; else fy = ny;
1552 if (ABSD(nz)<0.00001) fz = 0.0F; else fz = nz;
1553 (*CC->API.Normal3f)( CC, fx, fy, fz );
1554}
#define nz(x)
#define ABSD(X)
Definition: macros.h:142
GLfixed fx
Definition: tritemp.h:484
GLfixed fy
Definition: tritemp.h:490

◆ _mesa_Normal3dv()

void APIENTRY _mesa_Normal3dv ( const GLdouble v)

Definition at line 1601 of file api.c.

1602{
1603 GLfloat fx, fy, fz;
1605 if (ABSD(v[0])<0.00001) fx = 0.0F; else fx = v[0];
1606 if (ABSD(v[1])<0.00001) fy = 0.0F; else fy = v[1];
1607 if (ABSD(v[2])<0.00001) fz = 0.0F; else fz = v[2];
1608 (*CC->API.Normal3f)( CC, fx, fy, fz );
1609}

◆ _mesa_Normal3f()

void APIENTRY _mesa_Normal3f ( GLfloat  nx,
GLfloat  ny,
GLfloat  nz 
)

Definition at line 1557 of file api.c.

1558{
1560#ifdef SHORTCUT
1561 if (CC->CompileFlag) {
1562 (*CC->Save.Normal3f)( CC, nx, ny, nz );
1563 }
1564 else {
1565 /* Execute */
1566 CC->Current.Normal[0] = nx;
1567 CC->Current.Normal[1] = ny;
1568 CC->Current.Normal[2] = nz;
1569 CC->VB->MonoNormal = GL_FALSE;
1570 }
1571#else
1572 (*CC->API.Normal3f)( CC, nx, ny, nz );
1573#endif
1574}
struct gl_api_table Save
Definition: types.h:1269
struct vertex_buffer * VB
Definition: types.h:1380
struct gl_current_attrib Current
Definition: types.h:1320

◆ _mesa_Normal3fv()

void APIENTRY _mesa_Normal3fv ( const GLfloat v)

Definition at line 1612 of file api.c.

1613{
1615#ifdef SHORTCUT
1616 if (CC->CompileFlag) {
1617 (*CC->Save.Normal3fv)( CC, v );
1618 }
1619 else {
1620 /* Execute */
1621 GLfloat *n = CC->Current.Normal;
1622 n[0] = v[0];
1623 n[1] = v[1];
1624 n[2] = v[2];
1625 CC->VB->MonoNormal = GL_FALSE;
1626 }
1627#else
1628 (*CC->API.Normal3fv)( CC, v );
1629#endif
1630}

◆ _mesa_Normal3i()

void APIENTRY _mesa_Normal3i ( GLint  nx,
GLint  ny,
GLint  nz 
)

Definition at line 1577 of file api.c.

1578{
1580 (*CC->API.Normal3f)( CC, INT_TO_FLOAT(nx),
1582}

◆ _mesa_Normal3iv()

void APIENTRY _mesa_Normal3iv ( const GLint v)

Definition at line 1633 of file api.c.

1634{
1636 (*CC->API.Normal3f)( CC, INT_TO_FLOAT(v[0]),
1637 INT_TO_FLOAT(v[1]), INT_TO_FLOAT(v[2]) );
1638}

◆ _mesa_Normal3s()

void APIENTRY _mesa_Normal3s ( GLshort  nx,
GLshort  ny,
GLshort  nz 
)

Definition at line 1585 of file api.c.

1586{
1588 (*CC->API.Normal3f)( CC, SHORT_TO_FLOAT(nx),
1590}

◆ _mesa_Normal3sv()

void APIENTRY _mesa_Normal3sv ( const GLshort v)

Definition at line 1641 of file api.c.

1642{
1644 (*CC->API.Normal3f)( CC, SHORT_TO_FLOAT(v[0]),
1645 SHORT_TO_FLOAT(v[1]), SHORT_TO_FLOAT(v[2]) );
1646}

◆ _mesa_NormalPointer()

void APIENTRY _mesa_NormalPointer ( GLenum  type,
GLsizei  stride,
const GLvoid ptr 
)

Definition at line 1649 of file api.c.

1650{
1652 (*CC->API.NormalPointer)(CC, type, stride, ptr);
1653}

◆ _mesa_Ortho()

void APIENTRY _mesa_Ortho ( GLdouble  left,
GLdouble  right,
GLdouble  bottom,
GLdouble  top,
GLdouble  nearval,
GLdouble  farval 
)

Definition at line 1654 of file api.c.

1657{
1659 (*CC->API.Ortho)(CC, left, right, bottom, top, nearval, farval);
1660}

◆ _mesa_PassThrough()

void APIENTRY _mesa_PassThrough ( GLfloat  token)

Definition at line 1663 of file api.c.

1664{
1666 (*CC->API.PassThrough)(CC, token);
1667}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat token
Definition: glfuncs.h:210

◆ _mesa_PixelMapfv()

void APIENTRY _mesa_PixelMapfv ( GLenum  map,
GLint  mapsize,
const GLfloat values 
)

Definition at line 1670 of file api.c.

1671{
1673 (*CC->API.PixelMapfv)( CC, map, mapsize, values );
1674}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint GLenum GLenum GLenum GLint GLuint GLenum GLenum GLfloat GLenum GLfloat GLenum GLint mapsize
Definition: glfuncs.h:262

◆ _mesa_PixelMapuiv()

void APIENTRY _mesa_PixelMapuiv ( GLenum  map,
GLint  mapsize,
const GLuint values 
)

Definition at line 1677 of file api.c.

1678{
1680 GLuint i;
1682
1684 for (i=0;i<mapsize;i++) {
1685 fvalues[i] = (GLfloat) values[i];
1686 }
1687 }
1688 else {
1689 for (i=0;i<mapsize;i++) {
1690 fvalues[i] = UINT_TO_FLOAT( values[i] );
1691 }
1692 }
1693 (*CC->API.PixelMapfv)( CC, map, mapsize, fvalues );
1694}
#define MAX_PIXEL_MAP_TABLE
Definition: config.h:96
#define GL_PIXEL_MAP_I_TO_I
Definition: gl.h:617
#define GL_PIXEL_MAP_S_TO_S
Definition: gl.h:616

◆ _mesa_PixelMapusv()

void APIENTRY _mesa_PixelMapusv ( GLenum  map,
GLint  mapsize,
const GLushort values 
)

Definition at line 1698 of file api.c.

1699{
1701 GLuint i;
1703
1705 for (i=0;i<mapsize;i++) {
1706 fvalues[i] = (GLfloat) values[i];
1707 }
1708 }
1709 else {
1710 for (i=0;i<mapsize;i++) {
1711 fvalues[i] = USHORT_TO_FLOAT( values[i] );
1712 }
1713 }
1714 (*CC->API.PixelMapfv)( CC, map, mapsize, fvalues );
1715}

◆ _mesa_PixelStoref()

void APIENTRY _mesa_PixelStoref ( GLenum  pname,
GLfloat  param 
)

Definition at line 1718 of file api.c.

1719{
1721 (*CC->API.PixelStorei)( CC, pname, (GLint) param );
1722}

◆ _mesa_PixelStorei()

void APIENTRY _mesa_PixelStorei ( GLenum  pname,
GLint  param 
)

Definition at line 1725 of file api.c.

1726{
1728 (*CC->API.PixelStorei)( CC, pname, param );
1729}

◆ _mesa_PixelTransferf()

void APIENTRY _mesa_PixelTransferf ( GLenum  pname,
GLfloat  param 
)

Definition at line 1732 of file api.c.

1733{
1735 (*CC->API.PixelTransferf)(CC, pname, param);
1736}

◆ _mesa_PixelTransferi()

void APIENTRY _mesa_PixelTransferi ( GLenum  pname,
GLint  param 
)

Definition at line 1739 of file api.c.

1740{
1742 (*CC->API.PixelTransferf)(CC, pname, (GLfloat) param);
1743}

◆ _mesa_PixelZoom()

void APIENTRY _mesa_PixelZoom ( GLfloat  xfactor,
GLfloat  yfactor 
)

Definition at line 1746 of file api.c.

1747{
1749 (*CC->API.PixelZoom)(CC, xfactor, yfactor);
1750}

◆ _mesa_PointSize()

void APIENTRY _mesa_PointSize ( GLfloat  size)

Definition at line 1753 of file api.c.

1754{
1756 (*CC->API.PointSize)(CC, size);
1757}

◆ _mesa_PolygonMode()

void APIENTRY _mesa_PolygonMode ( GLenum  face,
GLenum  mode 
)

Definition at line 1760 of file api.c.

1761{
1763 (*CC->API.PolygonMode)(CC, face, mode);
1764}

◆ _mesa_PolygonOffset()

void APIENTRY _mesa_PolygonOffset ( GLfloat  factor,
GLfloat  units 
)

Definition at line 1767 of file api.c.

1768{
1770 (*CC->API.PolygonOffset)( CC, factor, units );
1771}
GLfloat units
Definition: glext.h:11727

◆ _mesa_PolygonStipple()

void APIENTRY _mesa_PolygonStipple ( const GLubyte mask)

Definition at line 1773 of file api.c.

1774{
1776 (*CC->API.PolygonStipple)(CC, mask);
1777}

◆ _mesa_PopAttrib()

void APIENTRY _mesa_PopAttrib ( void  )

Definition at line 1780 of file api.c.

1781{
1783 (*CC->API.PopAttrib)(CC);
1784}

◆ _mesa_PopClientAttrib()

void APIENTRY _mesa_PopClientAttrib ( void  )

Definition at line 1787 of file api.c.

1788{
1790 (*CC->API.PopClientAttrib)(CC);
1791}