1 /* $Id: glapi.c,v 1.1 1999/11/11 01:22:26 brianp Exp $ */
4 * Mesa 3-D graphics library
7 * Copyright (C) 1999 Brian Paul All Rights Reserved.
9 * Permission is hereby granted, free of charge, to any person obtaining a
10 * copy of this software and associated documentation files (the "Software"),
11 * to deal in the Software without restriction, including without limitation
12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13 * and/or sell copies of the Software, and to permit persons to whom the
14 * Software is furnished to do so, subject to the following conditions:
16 * The above copyright notice and this permission notice shall be included
17 * in all copies or substantial portions of the Software.
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33 #include "glapinoop.h"
37 #if defined(MULTI_THREAD)
43 static struct _glapi_table
*Dispatch
= &__glapi_noop_table
;
44 #define DISPATCH(FUNC) (Dispatch->FUNC)
49 void GLAPIENTRY
glAccum(GLenum op
, GLfloat value
)
51 DISPATCH(Accum
)(op
, value
);
54 void GLAPIENTRY
glAlphaFunc(GLenum func
, GLclampf ref
)
56 DISPATCH(AlphaFunc
)(func
, ref
);
59 void GLAPIENTRY
glBegin(GLenum mode
)
61 DISPATCH(Begin
)(mode
);
64 void GLAPIENTRY
glBitmap(GLsizei width
, GLsizei height
, GLfloat xorig
, GLfloat yorig
, GLfloat xmove
, GLfloat ymove
, const GLubyte
*bitmap
)
66 DISPATCH(Bitmap
)(width
, height
, xorig
, yorig
, xmove
, ymove
, bitmap
);
69 void GLAPIENTRY
glBlendFunc(GLenum sfactor
, GLenum dfactor
)
71 DISPATCH(BlendFunc
)(sfactor
, dfactor
);
74 void GLAPIENTRY
glCallList(GLuint list
)
76 DISPATCH(CallList
)(list
);
79 void GLAPIENTRY
glCallLists(GLsizei n
, GLenum type
, const GLvoid
*lists
)
81 DISPATCH(CallLists
)(n
, type
, lists
);
84 void GLAPIENTRY
glClear(GLbitfield mask
)
86 DISPATCH(Clear
)(mask
);
89 void GLAPIENTRY
glClearAccum(GLfloat red
, GLfloat green
, GLfloat blue
, GLfloat alpha
)
91 DISPATCH(ClearAccum
)(red
, green
, blue
, alpha
);
94 void GLAPIENTRY
glClearColor(GLclampf red
, GLclampf green
, GLclampf blue
, GLclampf alpha
)
96 DISPATCH(ClearColor
)(red
, green
, blue
, alpha
);
99 void GLAPIENTRY
glClearDepth(GLclampd depth
)
101 DISPATCH(ClearDepth
)(depth
);
104 void GLAPIENTRY
glClearIndex(GLfloat c
)
106 DISPATCH(ClearIndex
)(c
);
109 void GLAPIENTRY
glClearStencil(GLint s
)
111 DISPATCH(ClearStencil
)(s
);
114 void GLAPIENTRY
glClipPlane(GLenum plane
, const GLdouble
*equation
)
116 DISPATCH(ClipPlane
)(plane
, equation
);
119 void GLAPIENTRY
glColor3b(GLbyte red
, GLbyte green
, GLbyte blue
)
121 DISPATCH(Color3b
)(red
, green
, blue
);
124 void GLAPIENTRY
glColor3d(GLdouble red
, GLdouble green
, GLdouble blue
)
126 DISPATCH(Color3d
)(red
, green
, blue
);
129 void GLAPIENTRY
glColor3f(GLfloat red
, GLfloat green
, GLfloat blue
)
131 DISPATCH(Color3f
)(red
, green
, blue
);
134 void GLAPIENTRY
glColor3i(GLint red
, GLint green
, GLint blue
)
136 DISPATCH(Color3i
)(red
, green
, blue
);
139 void GLAPIENTRY
glColor3s(GLshort red
, GLshort green
, GLshort blue
)
141 DISPATCH(Color3s
)(red
, green
, blue
);
144 void GLAPIENTRY
glColor3ub(GLubyte red
, GLubyte green
, GLubyte blue
)
146 DISPATCH(Color3ub
)(red
, green
, blue
);
149 void GLAPIENTRY
glColor3ui(GLuint red
, GLuint green
, GLuint blue
)
151 DISPATCH(Color3ui
)(red
, green
, blue
);
154 void GLAPIENTRY
glColor3us(GLushort red
, GLushort green
, GLushort blue
)
156 DISPATCH(Color3us
)(red
, green
, blue
);
159 void GLAPIENTRY
glColor4b(GLbyte red
, GLbyte green
, GLbyte blue
, GLbyte alpha
)
161 DISPATCH(Color4b
)(red
, green
, blue
, alpha
);
164 void GLAPIENTRY
glColor4d(GLdouble red
, GLdouble green
, GLdouble blue
, GLdouble alpha
)
166 DISPATCH(Color4d
)(red
, green
, blue
, alpha
);
169 void GLAPIENTRY
glColor4f(GLfloat red
, GLfloat green
, GLfloat blue
, GLfloat alpha
)
171 DISPATCH(Color4f
)(red
, green
, blue
, alpha
);
174 void GLAPIENTRY
glColor4i(GLint red
, GLint green
, GLint blue
, GLint alpha
)
176 DISPATCH(Color4i
)(red
, green
, blue
, alpha
);
179 void GLAPIENTRY
glColor4s(GLshort red
, GLshort green
, GLshort blue
, GLshort alpha
)
181 DISPATCH(Color4s
)(red
, green
, blue
, alpha
);
184 void GLAPIENTRY
glColor4ub(GLubyte red
, GLubyte green
, GLubyte blue
, GLubyte alpha
)
186 DISPATCH(Color4ub
)(red
, green
, blue
, alpha
);
189 void GLAPIENTRY
glColor4ui(GLuint red
, GLuint green
, GLuint blue
, GLuint alpha
)
191 DISPATCH(Color4ui
)(red
, green
, blue
, alpha
);
194 void GLAPIENTRY
glColor4us(GLushort red
, GLushort green
, GLushort blue
, GLushort alpha
)
196 DISPATCH(Color4us
)(red
, green
, blue
, alpha
);
199 void GLAPIENTRY
glColor3bv(const GLbyte
*v
)
201 DISPATCH(Color3bv
)(v
);
204 void GLAPIENTRY
glColor3dv(const GLdouble
*v
)
206 DISPATCH(Color3dv
)(v
);
209 void GLAPIENTRY
glColor3fv(const GLfloat
*v
)
211 DISPATCH(Color3fv
)(v
);
214 void GLAPIENTRY
glColor3iv(const GLint
*v
)
216 DISPATCH(Color3iv
)(v
);
219 void GLAPIENTRY
glColor3sv(const GLshort
*v
)
221 DISPATCH(Color3sv
)(v
);
224 void GLAPIENTRY
glColor3ubv(const GLubyte
*v
)
226 DISPATCH(Color3ubv
)(v
);
229 void GLAPIENTRY
glColor3uiv(const GLuint
*v
)
231 DISPATCH(Color3uiv
)(v
);
234 void GLAPIENTRY
glColor3usv(const GLushort
*v
)
236 DISPATCH(Color3usv
)(v
);
239 void GLAPIENTRY
glColor4bv(const GLbyte
*v
)
241 DISPATCH(Color4bv
)(v
);
244 void GLAPIENTRY
glColor4dv(const GLdouble
*v
)
246 DISPATCH(Color4dv
)(v
);
249 void GLAPIENTRY
glColor4fv(const GLfloat
*v
)
251 DISPATCH(Color4fv
)(v
);
254 void GLAPIENTRY
glColor4iv(const GLint
*v
)
256 DISPATCH(Color4iv
)(v
);
259 void GLAPIENTRY
glColor4sv(const GLshort
*v
)
261 DISPATCH(Color4sv
)(v
);
264 void GLAPIENTRY
glColor4ubv(const GLubyte
*v
)
266 DISPATCH(Color4ubv
)(v
);
269 void GLAPIENTRY
glColor4uiv(const GLuint
*v
)
271 DISPATCH(Color4uiv
)(v
);
274 void GLAPIENTRY
glColor4usv(const GLushort
*v
)
276 DISPATCH(Color4usv
)(v
);
279 void GLAPIENTRY
glColorMask(GLboolean red
, GLboolean green
, GLboolean blue
, GLboolean alpha
)
281 DISPATCH(ColorMask
)(red
, green
, blue
, alpha
);
284 void GLAPIENTRY
glColorMaterial(GLenum face
, GLenum mode
)
286 DISPATCH(ColorMaterial
)(face
, mode
);
289 void GLAPIENTRY
glCopyPixels(GLint x
, GLint y
, GLsizei width
, GLsizei height
, GLenum type
)
291 DISPATCH(CopyPixels
)(x
, y
, width
, height
, type
);
294 void GLAPIENTRY
glCullFace(GLenum mode
)
296 DISPATCH(CullFace
)(mode
);
299 void GLAPIENTRY
glDepthFunc(GLenum func
)
301 DISPATCH(DepthFunc
)(func
);
304 void GLAPIENTRY
glDepthMask(GLboolean flag
)
306 DISPATCH(DepthMask
)(flag
);
309 void GLAPIENTRY
glDepthRange(GLclampd nearVal
, GLclampd farVal
)
311 DISPATCH(DepthRange
)(nearVal
, farVal
);
314 void GLAPIENTRY
glDeleteLists(GLuint list
, GLsizei range
)
316 DISPATCH(DeleteLists
)(list
, range
);
319 void GLAPIENTRY
glDisable(GLenum cap
)
321 DISPATCH(Disable
)(cap
);
324 void GLAPIENTRY
glDisableClientState(GLenum cap
)
326 DISPATCH(DisableClientState
)(cap
);
329 void GLAPIENTRY
glDrawArrays(GLenum mode
, GLint first
, GLsizei count
)
331 DISPATCH(DrawArrays
)(mode
, first
, count
);
334 void GLAPIENTRY
glDrawBuffer(GLenum mode
)
336 DISPATCH(DrawBuffer
)(mode
);
339 void GLAPIENTRY
glDrawElements(GLenum mode
, GLsizei count
, GLenum type
, const GLvoid
*indices
)
341 DISPATCH(DrawElements
)(mode
, count
, type
, indices
);
344 void GLAPIENTRY
glDrawPixels(GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
346 DISPATCH(DrawPixels
)(width
, height
, format
, type
, pixels
);
349 void GLAPIENTRY
glEnable(GLenum mode
)
351 DISPATCH(Enable
)(mode
);
354 void GLAPIENTRY
glEnableClientState(GLenum cap
)
356 DISPATCH(EnableClientState
)(cap
);
359 void GLAPIENTRY
glEnd(void)
364 void GLAPIENTRY
glEndList(void)
369 void GLAPIENTRY
glEvalCoord1d(GLdouble u
)
371 DISPATCH(EvalCoord1d
)(u
);
374 void GLAPIENTRY
glEvalCoord1f(GLfloat u
)
376 DISPATCH(EvalCoord1f
)(u
);
379 void GLAPIENTRY
glEvalCoord1dv(const GLdouble
*u
)
381 DISPATCH(EvalCoord1dv
)(u
);
384 void GLAPIENTRY
glEvalCoord1fv(const GLfloat
*u
)
386 DISPATCH(EvalCoord1fv
)(u
);
389 void GLAPIENTRY
glEvalCoord2d(GLdouble u
, GLdouble v
)
391 DISPATCH(EvalCoord2d
)(u
, v
);
394 void GLAPIENTRY
glEvalCoord2f(GLfloat u
, GLfloat v
)
396 DISPATCH(EvalCoord2f
)(u
, v
);
399 void GLAPIENTRY
glEvalCoord2dv(const GLdouble
*u
)
401 DISPATCH(EvalCoord2dv
)(u
);
404 void GLAPIENTRY
glEvalCoord2fv(const GLfloat
*u
)
406 DISPATCH(EvalCoord2fv
)(u
);
409 void GLAPIENTRY
glEvalPoint1(GLint i
)
411 DISPATCH(EvalPoint1
)(i
);
414 void GLAPIENTRY
glEvalPoint2(GLint i
, GLint j
)
416 DISPATCH(EvalPoint2
)(i
, j
);
419 void GLAPIENTRY
glEvalMesh1(GLenum mode
, GLint i1
, GLint i2
)
421 DISPATCH(EvalMesh1
)(mode
, i1
, i2
);
424 void GLAPIENTRY
glEdgeFlag(GLboolean flag
)
426 DISPATCH(EdgeFlag
)(flag
);
429 void GLAPIENTRY
glEdgeFlagv(const GLboolean
*flag
)
431 DISPATCH(EdgeFlagv
)(flag
);
434 void GLAPIENTRY
glEvalMesh2(GLenum mode
, GLint i1
, GLint i2
, GLint j1
, GLint j2
)
436 DISPATCH(EvalMesh2
)(mode
, i1
, i2
, j1
, j2
);
439 void GLAPIENTRY
glFeedbackBuffer(GLsizei size
, GLenum type
, GLfloat
*buffer
)
441 DISPATCH(FeedbackBuffer
)(size
, type
, buffer
);
444 void GLAPIENTRY
glFinish(void)
449 void GLAPIENTRY
glFlush(void)
454 void GLAPIENTRY
glFogf(GLenum pname
, GLfloat param
)
456 DISPATCH(Fogf
)(pname
, param
);
459 void GLAPIENTRY
glFogi(GLenum pname
, GLint param
)
461 DISPATCH(Fogi
)(pname
, param
);
464 void GLAPIENTRY
glFogfv(GLenum pname
, const GLfloat
*params
)
466 DISPATCH(Fogfv
)(pname
, params
);
469 void GLAPIENTRY
glFogiv(GLenum pname
, const GLint
*params
)
471 DISPATCH(Fogiv
)(pname
, params
);
474 void GLAPIENTRY
glFrontFace(GLenum mode
)
476 DISPATCH(FrontFace
)(mode
);
479 void GLAPIENTRY
glFrustum(GLdouble left
, GLdouble right
, GLdouble bottom
, GLdouble top
, GLdouble nearval
, GLdouble farval
)
481 DISPATCH(Frustum
)(left
, right
, bottom
, top
, nearval
, farval
);
484 GLuint GLAPIENTRY
glGenLists(GLsizei range
)
486 return DISPATCH(GenLists
)(range
);
489 void GLAPIENTRY
glGenTextures(GLsizei n
, GLuint
*textures
)
491 DISPATCH(GenTextures
)(n
, textures
);
494 void GLAPIENTRY
glGetBooleanv(GLenum pname
, GLboolean
*params
)
496 DISPATCH(GetBooleanv
)(pname
, params
);
499 void GLAPIENTRY
glGetClipPlane(GLenum plane
, GLdouble
*equation
)
501 DISPATCH(GetClipPlane
)(plane
, equation
);
504 void GLAPIENTRY
glGetDoublev(GLenum pname
, GLdouble
*params
)
506 DISPATCH(GetDoublev
)(pname
, params
);
509 GLenum GLAPIENTRY
glGetError(void)
511 return DISPATCH(GetError
)();
514 void GLAPIENTRY
glGetFloatv(GLenum pname
, GLfloat
*params
)
516 DISPATCH(GetFloatv
)(pname
, params
);
519 void GLAPIENTRY
glGetIntegerv(GLenum pname
, GLint
*params
)
521 DISPATCH(GetIntegerv
)(pname
, params
);
524 void GLAPIENTRY
glGetLightfv(GLenum light
, GLenum pname
, GLfloat
*params
)
526 DISPATCH(GetLightfv
)(light
, pname
, params
);
529 void GLAPIENTRY
glGetLightiv(GLenum light
, GLenum pname
, GLint
*params
)
531 DISPATCH(GetLightiv
)(light
, pname
, params
);
534 void GLAPIENTRY
glGetMapdv(GLenum target
, GLenum query
, GLdouble
*v
)
536 DISPATCH(GetMapdv
)(target
, query
, v
);
539 void GLAPIENTRY
glGetMapfv(GLenum target
, GLenum query
, GLfloat
*v
)
541 DISPATCH(GetMapfv
)(target
, query
, v
);
544 void GLAPIENTRY
glGetMapiv(GLenum target
, GLenum query
, GLint
*v
)
546 DISPATCH(GetMapiv
)(target
, query
, v
);
549 void GLAPIENTRY
glGetMaterialfv(GLenum face
, GLenum pname
, GLfloat
*params
)
551 DISPATCH(GetMaterialfv
)(face
, pname
, params
);
554 void GLAPIENTRY
glGetMaterialiv(GLenum face
, GLenum pname
, GLint
*params
)
556 DISPATCH(GetMaterialiv
)(face
, pname
, params
);
559 void GLAPIENTRY
glGetPixelMapfv(GLenum map
, GLfloat
*values
)
561 DISPATCH(GetPixelMapfv
)(map
, values
);
564 void GLAPIENTRY
glGetPixelMapuiv(GLenum map
, GLuint
*values
)
566 DISPATCH(GetPixelMapuiv
)(map
, values
);
569 void GLAPIENTRY
glGetPixelMapusv(GLenum map
, GLushort
*values
)
571 DISPATCH(GetPixelMapusv
)(map
, values
);
574 void GLAPIENTRY
glGetPointerv(GLenum pname
, GLvoid
**params
)
576 DISPATCH(GetPointerv
)(pname
, params
);
579 void GLAPIENTRY
glGetPolygonStipple(GLubyte
*mask
)
581 DISPATCH(GetPolygonStipple
)(mask
);
584 const GLubyte
* GLAPIENTRY
glGetString(GLenum name
)
586 return DISPATCH(GetString
)(name
);
589 void GLAPIENTRY
glGetTexEnvfv(GLenum target
, GLenum pname
, GLfloat
*params
)
591 DISPATCH(GetTexEnvfv
)(target
, pname
, params
);
594 void GLAPIENTRY
glGetTexEnviv(GLenum target
, GLenum pname
, GLint
*params
)
596 DISPATCH(GetTexEnviv
)(target
, pname
, params
);
599 void GLAPIENTRY
glGetTexGeniv(GLenum target
, GLenum pname
, GLint
*params
)
601 DISPATCH(GetTexGeniv
)(target
, pname
, params
);
604 void GLAPIENTRY
glGetTexGendv(GLenum target
, GLenum pname
, GLdouble
*params
)
606 DISPATCH(GetTexGendv
)(target
, pname
, params
);
609 void GLAPIENTRY
glGetTexGenfv(GLenum target
, GLenum pname
, GLfloat
*params
)
611 DISPATCH(GetTexGenfv
)(target
, pname
, params
);
614 void GLAPIENTRY
glGetTexImage(GLenum target
, GLint level
, GLenum format
, GLenum type
, GLvoid
*pixels
)
616 DISPATCH(GetTexImage
)(target
, level
, format
, type
, pixels
);
619 void GLAPIENTRY
glGetTexLevelParameterfv(GLenum target
, GLint level
, GLenum pname
, GLfloat
*params
)
621 DISPATCH(GetTexLevelParameterfv
)(target
, level
, pname
, params
);
624 void GLAPIENTRY
glGetTexLevelParameteriv(GLenum target
, GLint level
, GLenum pname
, GLint
*params
)
626 DISPATCH(GetTexLevelParameteriv
)(target
, level
, pname
, params
);
629 void GLAPIENTRY
glGetTexParameterfv(GLenum target
, GLenum pname
, GLfloat
*params
)
631 DISPATCH(GetTexParameterfv
)(target
, pname
, params
);
634 void GLAPIENTRY
glGetTexParameteriv(GLenum target
, GLenum pname
, GLint
*params
)
636 DISPATCH(GetTexParameteriv
)(target
, pname
, params
);
639 void GLAPIENTRY
glHint(GLenum target
, GLenum mode
)
641 DISPATCH(Hint
)(target
, mode
);
644 void GLAPIENTRY
glIndexd(GLdouble c
)
649 void GLAPIENTRY
glIndexdv(const GLdouble
*c
)
651 DISPATCH(Indexdv
)(c
);
654 void GLAPIENTRY
glIndexf(GLfloat c
)
659 void GLAPIENTRY
glIndexfv(const GLfloat
*c
)
661 DISPATCH(Indexfv
)(c
);
664 void GLAPIENTRY
glIndexi(GLint c
)
669 void GLAPIENTRY
glIndexiv(const GLint
*c
)
671 DISPATCH(Indexiv
)(c
);
674 void GLAPIENTRY
glIndexs(GLshort c
)
679 void GLAPIENTRY
glIndexsv(const GLshort
*c
)
681 DISPATCH(Indexsv
)(c
);
684 void GLAPIENTRY
glIndexub(GLubyte c
)
686 DISPATCH(Indexub
)(c
);
689 void GLAPIENTRY
glIndexubv(const GLubyte
*c
)
691 DISPATCH(Indexubv
)(c
);
694 void GLAPIENTRY
glIndexMask(GLuint mask
)
696 DISPATCH(IndexMask
)(mask
);
699 void GLAPIENTRY
glInitNames(void)
701 DISPATCH(InitNames
)();
704 void GLAPIENTRY
glInterleavedArrays(GLenum format
, GLsizei stride
, const GLvoid
*pointer
)
706 DISPATCH(InterleavedArrays
)(format
, stride
, pointer
);
709 GLboolean GLAPIENTRY
glIsList(GLuint list
)
711 return DISPATCH(IsList
)(list
);
714 GLboolean GLAPIENTRY
glIsTexture(GLuint texture
)
716 return DISPATCH(IsTexture
)(texture
);
719 void GLAPIENTRY
glLightf(GLenum light
, GLenum pname
, GLfloat param
)
721 DISPATCH(Lightf
)(light
, pname
, param
);
724 void GLAPIENTRY
glLighti(GLenum light
, GLenum pname
, GLint param
)
726 DISPATCH(Lighti
)(light
, pname
, param
);
729 void GLAPIENTRY
glLightfv(GLenum light
, GLenum pname
, const GLfloat
*params
)
731 DISPATCH(Lightfv
)(light
, pname
, params
);
734 void GLAPIENTRY
glLightiv(GLenum light
, GLenum pname
, const GLint
*params
)
736 DISPATCH(Lightiv
)(light
, pname
, params
);
739 void GLAPIENTRY
glLightModelf(GLenum pname
, GLfloat param
)
741 DISPATCH(LightModelf
)(pname
, param
);
744 void GLAPIENTRY
glLightModeli(GLenum pname
, GLint param
)
746 DISPATCH(LightModeli
)(pname
, param
);
749 void GLAPIENTRY
glLightModelfv(GLenum pname
, const GLfloat
*params
)
751 DISPATCH(LightModelfv
)(pname
, params
);
754 void GLAPIENTRY
glLightModeliv(GLenum pname
, const GLint
*params
)
756 DISPATCH(LightModeliv
)(pname
, params
);
759 void GLAPIENTRY
glLineWidth(GLfloat width
)
761 DISPATCH(LineWidth
)(width
);
764 void GLAPIENTRY
glLineStipple(GLint factor
, GLushort pattern
)
766 DISPATCH(LineStipple
)(factor
, pattern
);
769 void GLAPIENTRY
glListBase(GLuint base
)
771 DISPATCH(ListBase
)(base
);
774 void GLAPIENTRY
glLoadIdentity(void)
776 DISPATCH(LoadIdentity
)();
779 void GLAPIENTRY
glLoadMatrixd(const GLdouble
*m
)
781 DISPATCH(LoadMatrixd
)(m
);
784 void GLAPIENTRY
glLoadMatrixf(const GLfloat
*m
)
786 DISPATCH(LoadMatrixf
)(m
);
789 void GLAPIENTRY
glLoadName(GLuint name
)
791 DISPATCH(LoadName
)(name
);
794 void GLAPIENTRY
glLogicOp(GLenum opcode
)
796 DISPATCH(LogicOp
)(opcode
);
799 void GLAPIENTRY
glMap1d(GLenum target
, GLdouble u1
, GLdouble u2
, GLint stride
, GLint order
, const GLdouble
*points
)
801 DISPATCH(Map1d
)(target
, u1
, u2
, stride
, order
, points
);
804 void GLAPIENTRY
glMap1f(GLenum target
, GLfloat u1
, GLfloat u2
, GLint stride
, GLint order
, const GLfloat
*points
)
806 DISPATCH(Map1f
)(target
, u1
, u2
, stride
, order
, points
);
809 void GLAPIENTRY
glMap2d(GLenum target
, GLdouble u1
, GLdouble u2
, GLint ustride
, GLint uorder
, GLdouble v1
, GLdouble v2
, GLint vstride
, GLint vorder
, const GLdouble
*points
)
811 DISPATCH(Map2d
)(target
, u1
, u2
, ustride
, uorder
, v1
, v2
, vstride
, vorder
, points
);
814 void GLAPIENTRY
glMap2f(GLenum target
, GLfloat u1
, GLfloat u2
, GLint ustride
, GLint uorder
, GLfloat v1
, GLfloat v2
, GLint vstride
, GLint vorder
, const GLfloat
*points
)
816 DISPATCH(Map2f
)(target
, u1
, u2
, ustride
, uorder
, v1
, v2
, vstride
, vorder
, points
);
819 void GLAPIENTRY
glMapGrid1d(GLint un
, GLdouble u1
, GLdouble u2
)
821 DISPATCH(MapGrid1d
)(un
, u1
, u2
);
824 void GLAPIENTRY
glMapGrid1f(GLint un
, GLfloat u1
, GLfloat u2
)
826 DISPATCH(MapGrid1f
)(un
, u1
, u2
);
829 void GLAPIENTRY
glMapGrid2d(GLint un
, GLdouble u1
, GLdouble u2
, GLint vn
, GLdouble v1
, GLdouble v2
)
831 DISPATCH(MapGrid2d
)(un
, u1
, u2
, vn
, v1
, v2
);
834 void GLAPIENTRY
glMapGrid2f(GLint un
, GLfloat u1
, GLfloat u2
, GLint vn
, GLfloat v1
, GLfloat v2
)
836 DISPATCH(MapGrid2f
)(un
, u1
, u2
, vn
, v1
, v2
);
839 void GLAPIENTRY
glMaterialf(GLenum face
, GLenum pname
, GLfloat param
)
841 DISPATCH(Materialf
)(face
, pname
, param
);
844 void GLAPIENTRY
glMateriali(GLenum face
, GLenum pname
, GLint param
)
846 DISPATCH(Materiali
)(face
, pname
, param
);
849 void GLAPIENTRY
glMaterialfv(GLenum face
, GLenum pname
, const GLfloat
*params
)
851 DISPATCH(Materialfv
)(face
, pname
, params
);
854 void GLAPIENTRY
glMaterialiv(GLenum face
, GLenum pname
, const GLint
*params
)
856 DISPATCH(Materialiv
)(face
, pname
, params
);
859 void GLAPIENTRY
glMatrixMode(GLenum mode
)
861 DISPATCH(MatrixMode
)(mode
);
864 void GLAPIENTRY
glMultMatrixd(const GLdouble
*m
)
866 DISPATCH(MultMatrixd
)(m
);
869 void GLAPIENTRY
glMultMatrixf(const GLfloat
*m
)
871 DISPATCH(MultMatrixf
)(m
);
874 void GLAPIENTRY
glNewList(GLuint list
, GLenum mode
)
876 DISPATCH(NewList
)(list
, mode
);
879 void GLAPIENTRY
glNormal3b(GLbyte nx
, GLbyte ny
, GLbyte nz
)
881 DISPATCH(Normal3b
)(nx
, ny
, nz
);
884 void GLAPIENTRY
glNormal3bv(const GLbyte
*v
)
886 DISPATCH(Normal3bv
)(v
);
889 void GLAPIENTRY
glNormal3d(GLdouble nx
, GLdouble ny
, GLdouble nz
)
891 DISPATCH(Normal3d
)(nx
, ny
, nz
);
894 void GLAPIENTRY
glNormal3dv(const GLdouble
*v
)
896 DISPATCH(Normal3dv
)(v
);
899 void GLAPIENTRY
glNormal3f(GLfloat nx
, GLfloat ny
, GLfloat nz
)
901 DISPATCH(Normal3f
)(nx
, ny
, nz
);
904 void GLAPIENTRY
glNormal3fv(const GLfloat
*v
)
906 DISPATCH(Normal3fv
)(v
);
909 void GLAPIENTRY
glNormal3i(GLint nx
, GLint ny
, GLint nz
)
911 DISPATCH(Normal3i
)(nx
, ny
, nz
);
914 void GLAPIENTRY
glNormal3iv(const GLint
*v
)
916 DISPATCH(Normal3iv
)(v
);
919 void GLAPIENTRY
glNormal3s(GLshort nx
, GLshort ny
, GLshort nz
)
921 DISPATCH(Normal3s
)(nx
, ny
, nz
);
924 void GLAPIENTRY
glNormal3sv(const GLshort
*v
)
926 DISPATCH(Normal3sv
)(v
);
929 void GLAPIENTRY
glOrtho(GLdouble left
, GLdouble right
, GLdouble bottom
, GLdouble top
, GLdouble nearval
, GLdouble farval
)
931 DISPATCH(Ortho
)(left
, right
, bottom
, top
, nearval
, farval
);
934 void GLAPIENTRY
glPassThrough(GLfloat token
)
936 DISPATCH(PassThrough
)(token
);
939 void GLAPIENTRY
glPixelMapfv(GLenum map
, GLint mapsize
, const GLfloat
*values
)
941 DISPATCH(PixelMapfv
)(map
, mapsize
, values
);
944 void GLAPIENTRY
glPixelMapuiv(GLenum map
, GLint mapsize
, const GLuint
*values
)
946 DISPATCH(PixelMapuiv
)(map
, mapsize
, values
);
949 void GLAPIENTRY
glPixelMapusv(GLenum map
, GLint mapsize
, const GLushort
*values
)
951 DISPATCH(PixelMapusv
)(map
, mapsize
, values
);
954 void GLAPIENTRY
glPixelStoref(GLenum pname
, GLfloat param
)
956 DISPATCH(PixelStoref
)(pname
, param
);
959 void GLAPIENTRY
glPixelStorei(GLenum pname
, GLint param
)
961 DISPATCH(PixelStorei
)(pname
, param
);
964 void GLAPIENTRY
glPixelTransferf(GLenum pname
, GLfloat param
)
966 DISPATCH(PixelTransferf
)(pname
, param
);
969 void GLAPIENTRY
glPixelTransferi(GLenum pname
, GLint param
)
971 DISPATCH(PixelTransferi
)(pname
, param
);
974 void GLAPIENTRY
glPixelZoom(GLfloat xfactor
, GLfloat yfactor
)
976 DISPATCH(PixelZoom
)(xfactor
, yfactor
);
979 void GLAPIENTRY
glPointSize(GLfloat size
)
981 DISPATCH(PointSize
)(size
);
984 void GLAPIENTRY
glPolygonMode(GLenum face
, GLenum mode
)
986 DISPATCH(PolygonMode
)(face
, mode
);
989 void GLAPIENTRY
glPolygonOffset(GLfloat factor
, GLfloat units
)
991 DISPATCH(PolygonOffset
)(factor
, units
);
994 void GLAPIENTRY
glPolygonStipple(const GLubyte
*pattern
)
996 DISPATCH(PolygonStipple
)(pattern
);
999 void GLAPIENTRY
glPopAttrib(void)
1001 DISPATCH(PopAttrib
)();
1004 void GLAPIENTRY
glPopClientAttrib(void)
1006 DISPATCH(PopClientAttrib
)();
1009 void GLAPIENTRY
glPopMatrix(void)
1011 DISPATCH(PopMatrix
)();
1014 void GLAPIENTRY
glPopName(void)
1016 DISPATCH(PopName
)();
1019 void GLAPIENTRY
glPrioritizeTextures(GLsizei n
, const GLuint
*textures
, const GLclampf
*priorities
)
1021 DISPATCH(PrioritizeTextures
)(n
, textures
, priorities
);
1024 void GLAPIENTRY
glPushMatrix(void)
1026 DISPATCH(PushMatrix
)();
1029 void GLAPIENTRY
glRasterPos2d(GLdouble x
, GLdouble y
)
1031 DISPATCH(RasterPos2d
)(x
, y
);
1034 void GLAPIENTRY
glRasterPos2f(GLfloat x
, GLfloat y
)
1036 DISPATCH(RasterPos2f
)(x
, y
);
1039 void GLAPIENTRY
glRasterPos2i(GLint x
, GLint y
)
1041 DISPATCH(RasterPos2i
)(x
, y
);
1044 void GLAPIENTRY
glRasterPos2s(GLshort x
, GLshort y
)
1046 DISPATCH(RasterPos2s
)(x
, y
);
1049 void GLAPIENTRY
glRasterPos3d(GLdouble x
, GLdouble y
, GLdouble z
)
1051 DISPATCH(RasterPos3d
)(x
, y
, z
);
1054 void GLAPIENTRY
glRasterPos3f(GLfloat x
, GLfloat y
, GLfloat z
)
1056 DISPATCH(RasterPos3f
)(x
, y
, z
);
1059 void GLAPIENTRY
glRasterPos3i(GLint x
, GLint y
, GLint z
)
1061 DISPATCH(RasterPos3i
)(x
, y
, z
);
1064 void GLAPIENTRY
glRasterPos3s(GLshort x
, GLshort y
, GLshort z
)
1066 DISPATCH(RasterPos3s
)(x
, y
, z
);
1069 void GLAPIENTRY
glRasterPos4d(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
)
1071 DISPATCH(RasterPos4d
)(x
, y
, z
, w
);
1074 void GLAPIENTRY
glRasterPos4f(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
)
1076 DISPATCH(RasterPos4f
)(x
, y
, z
, w
);
1079 void GLAPIENTRY
glRasterPos4i(GLint x
, GLint y
, GLint z
, GLint w
)
1081 DISPATCH(RasterPos4i
)(x
, y
, z
, w
);
1084 void GLAPIENTRY
glRasterPos4s(GLshort x
, GLshort y
, GLshort z
, GLshort w
)
1086 DISPATCH(RasterPos4s
)(x
, y
, z
, w
);
1089 void GLAPIENTRY
glRasterPos2dv(const GLdouble
*v
)
1091 DISPATCH(RasterPos2dv
)(v
);
1094 void GLAPIENTRY
glRasterPos2fv(const GLfloat
*v
)
1096 DISPATCH(RasterPos2fv
)(v
);
1099 void GLAPIENTRY
glRasterPos2iv(const GLint
*v
)
1101 DISPATCH(RasterPos2iv
)(v
);
1104 void GLAPIENTRY
glRasterPos2sv(const GLshort
*v
)
1106 DISPATCH(RasterPos2sv
)(v
);
1109 void GLAPIENTRY
glRasterPos3dv(const GLdouble
*v
)
1111 DISPATCH(RasterPos3dv
)(v
);
1114 void GLAPIENTRY
glRasterPos3fv(const GLfloat
*v
)
1116 DISPATCH(RasterPos3fv
)(v
);
1119 void GLAPIENTRY
glRasterPos3iv(const GLint
*v
)
1121 DISPATCH(RasterPos3iv
)(v
);
1124 void GLAPIENTRY
glRasterPos3sv(const GLshort
*v
)
1126 DISPATCH(RasterPos3sv
)(v
);
1129 void GLAPIENTRY
glRasterPos4dv(const GLdouble
*v
)
1131 DISPATCH(RasterPos4dv
)(v
);
1134 void GLAPIENTRY
glRasterPos4fv(const GLfloat
*v
)
1136 DISPATCH(RasterPos4fv
)(v
);
1139 void GLAPIENTRY
glRasterPos4iv(const GLint
*v
)
1141 DISPATCH(RasterPos4iv
)(v
);
1144 void GLAPIENTRY
glRasterPos4sv(const GLshort
*v
)
1146 DISPATCH(RasterPos4sv
)(v
);
1149 void GLAPIENTRY
glReadBuffer(GLenum mode
)
1151 DISPATCH(ReadBuffer
)(mode
);
1154 void GLAPIENTRY
glReadPixels(GLint x
, GLint y
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, GLvoid
*pixels
)
1156 DISPATCH(ReadPixels
)(x
, y
, width
, height
, format
, type
, pixels
);
1159 void GLAPIENTRY
glRectd(GLdouble x1
, GLdouble y1
, GLdouble x2
, GLdouble y2
)
1161 DISPATCH(Rectd
)(x1
, y1
, x2
, y2
);
1164 void GLAPIENTRY
glRectdv(const GLdouble
*v1
, const GLdouble
*v2
)
1166 DISPATCH(Rectdv
)(v1
, v2
);
1169 void GLAPIENTRY
glRectf(GLfloat x1
, GLfloat y1
, GLfloat x2
, GLfloat y2
)
1171 DISPATCH(Rectf
)(x1
, y1
, x2
, y2
);
1174 void GLAPIENTRY
glRectfv(const GLfloat
*v1
, const GLfloat
*v2
)
1176 DISPATCH(Rectfv
)(v1
, v2
);
1179 void GLAPIENTRY
glRecti(GLint x1
, GLint y1
, GLint x2
, GLint y2
)
1181 DISPATCH(Recti
)(x1
, y1
, x2
, y2
);
1184 void GLAPIENTRY
glRectiv(const GLint
*v1
, const GLint
*v2
)
1186 DISPATCH(Rectiv
)(v1
, v2
);
1189 void GLAPIENTRY
glRects(GLshort x1
, GLshort y1
, GLshort x2
, GLshort y2
)
1191 DISPATCH(Rects
)(x1
, y1
, x2
, y2
);
1194 void GLAPIENTRY
glRectsv(const GLshort
*v1
, const GLshort
*v2
)
1196 DISPATCH(Rectsv
)(v1
, v2
);
1199 void GLAPIENTRY
glScissor(GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1201 DISPATCH(Scissor
)(x
, y
, width
, height
);
1204 GLboolean GLAPIENTRY
glIsEnabled(GLenum cap
)
1206 return DISPATCH(IsEnabled
)(cap
);
1209 void GLAPIENTRY
glPushAttrib(GLbitfield mask
)
1211 DISPATCH(PushAttrib
)(mask
);
1214 void GLAPIENTRY
glPushClientAttrib(GLbitfield mask
)
1216 DISPATCH(PushClientAttrib
)(mask
);
1219 void GLAPIENTRY
glPushName(GLuint name
)
1221 DISPATCH(PushName
)(name
);
1224 GLint GLAPIENTRY
glRenderMode(GLenum mode
)
1226 return DISPATCH(RenderMode
)(mode
);
1229 void GLAPIENTRY
glRotated(GLdouble angle
, GLdouble x
, GLdouble y
, GLdouble z
)
1231 DISPATCH(Rotated
)(angle
, x
, y
, z
);
1234 void GLAPIENTRY
glRotatef(GLfloat angle
, GLfloat x
, GLfloat y
, GLfloat z
)
1236 DISPATCH(Rotatef
)(angle
, x
, y
, z
);
1239 void GLAPIENTRY
glSelectBuffer(GLsizei size
, GLuint
*buffer
)
1241 DISPATCH(SelectBuffer
)(size
, buffer
);
1244 void GLAPIENTRY
glScaled(GLdouble x
, GLdouble y
, GLdouble z
)
1246 DISPATCH(Scaled
)(x
, y
, z
);
1249 void GLAPIENTRY
glScalef(GLfloat x
, GLfloat y
, GLfloat z
)
1251 DISPATCH(Scalef
)(x
, y
, z
);
1254 void GLAPIENTRY
glShadeModel(GLenum mode
)
1256 DISPATCH(ShadeModel
)(mode
);
1259 void GLAPIENTRY
glStencilFunc(GLenum func
, GLint ref
, GLuint mask
)
1261 DISPATCH(StencilFunc
)(func
, ref
, mask
);
1264 void GLAPIENTRY
glStencilMask(GLuint mask
)
1266 DISPATCH(StencilMask
)(mask
);
1269 void GLAPIENTRY
glStencilOp(GLenum fail
, GLenum zfail
, GLenum zpass
)
1271 DISPATCH(StencilOp
)(fail
, zfail
, zpass
);
1274 void GLAPIENTRY
glTexCoord1d(GLdouble s
)
1276 DISPATCH(TexCoord1d
)(s
);
1279 void GLAPIENTRY
glTexCoord1f(GLfloat s
)
1281 DISPATCH(TexCoord1f
)(s
);
1284 void GLAPIENTRY
glTexCoord1i(GLint s
)
1286 DISPATCH(TexCoord1i
)(s
);
1289 void GLAPIENTRY
glTexCoord1s(GLshort s
)
1291 DISPATCH(TexCoord1s
)(s
);
1294 void GLAPIENTRY
glTexCoord2d(GLdouble s
, GLdouble t
)
1296 DISPATCH(TexCoord2d
)(s
, t
);
1299 void GLAPIENTRY
glTexCoord2f(GLfloat s
, GLfloat t
)
1301 DISPATCH(TexCoord2f
)(s
, t
);
1304 void GLAPIENTRY
glTexCoord2s(GLshort s
, GLshort t
)
1306 DISPATCH(TexCoord2s
)(s
, t
);
1309 void GLAPIENTRY
glTexCoord2i(GLint s
, GLint t
)
1311 DISPATCH(TexCoord2i
)(s
, t
);
1314 void GLAPIENTRY
glTexCoord3d(GLdouble s
, GLdouble t
, GLdouble r
)
1316 DISPATCH(TexCoord3d
)(s
, t
, r
);
1319 void GLAPIENTRY
glTexCoord3f(GLfloat s
, GLfloat t
, GLfloat r
)
1321 DISPATCH(TexCoord3f
)(s
, t
, r
);
1324 void GLAPIENTRY
glTexCoord3i(GLint s
, GLint t
, GLint r
)
1326 DISPATCH(TexCoord3i
)(s
, t
, r
);
1329 void GLAPIENTRY
glTexCoord3s(GLshort s
, GLshort t
, GLshort r
)
1331 DISPATCH(TexCoord3s
)(s
, t
, r
);
1334 void GLAPIENTRY
glTexCoord4d(GLdouble s
, GLdouble t
, GLdouble r
, GLdouble q
)
1336 DISPATCH(TexCoord4d
)(s
, t
, r
, q
);
1339 void GLAPIENTRY
glTexCoord4f(GLfloat s
, GLfloat t
, GLfloat r
, GLfloat q
)
1341 DISPATCH(TexCoord4f
)(s
, t
, r
, q
);
1344 void GLAPIENTRY
glTexCoord4i(GLint s
, GLint t
, GLint r
, GLint q
)
1346 DISPATCH(TexCoord4i
)(s
, t
, r
, q
);
1349 void GLAPIENTRY
glTexCoord4s(GLshort s
, GLshort t
, GLshort r
, GLshort q
)
1351 DISPATCH(TexCoord4s
)(s
, t
, r
, q
);
1354 void GLAPIENTRY
glTexCoord1dv(const GLdouble
*v
)
1356 DISPATCH(TexCoord1dv
)(v
);
1359 void GLAPIENTRY
glTexCoord1fv(const GLfloat
*v
)
1361 DISPATCH(TexCoord1fv
)(v
);
1364 void GLAPIENTRY
glTexCoord1iv(const GLint
*v
)
1366 DISPATCH(TexCoord1iv
)(v
);
1369 void GLAPIENTRY
glTexCoord1sv(const GLshort
*v
)
1371 DISPATCH(TexCoord1sv
)(v
);
1374 void GLAPIENTRY
glTexCoord2dv(const GLdouble
*v
)
1376 DISPATCH(TexCoord2dv
)(v
);
1379 void GLAPIENTRY
glTexCoord2fv(const GLfloat
*v
)
1381 DISPATCH(TexCoord2fv
)(v
);
1384 void GLAPIENTRY
glTexCoord2iv(const GLint
*v
)
1386 DISPATCH(TexCoord2iv
)(v
);
1389 void GLAPIENTRY
glTexCoord2sv(const GLshort
*v
)
1391 DISPATCH(TexCoord2sv
)(v
);
1394 void GLAPIENTRY
glTexCoord3dv(const GLdouble
*v
)
1396 DISPATCH(TexCoord3dv
)(v
);
1399 void GLAPIENTRY
glTexCoord3fv(const GLfloat
*v
)
1401 DISPATCH(TexCoord3fv
)(v
);
1404 void GLAPIENTRY
glTexCoord3iv(const GLint
*v
)
1406 DISPATCH(TexCoord3iv
)(v
);
1409 void GLAPIENTRY
glTexCoord3sv(const GLshort
*v
)
1411 DISPATCH(TexCoord3sv
)(v
);
1414 void GLAPIENTRY
glTexCoord4dv(const GLdouble
*v
)
1416 DISPATCH(TexCoord4dv
)(v
);
1419 void GLAPIENTRY
glTexCoord4fv(const GLfloat
*v
)
1421 DISPATCH(TexCoord4fv
)(v
);
1424 void GLAPIENTRY
glTexCoord4iv(const GLint
*v
)
1426 DISPATCH(TexCoord4iv
)(v
);
1429 void GLAPIENTRY
glTexCoord4sv(const GLshort
*v
)
1431 DISPATCH(TexCoord4sv
)(v
);
1434 void GLAPIENTRY
glTexGend(GLenum coord
, GLenum pname
, GLdouble param
)
1436 DISPATCH(TexGend
)(coord
, pname
, param
);
1439 void GLAPIENTRY
glTexGendv(GLenum coord
, GLenum pname
, const GLdouble
*params
)
1441 DISPATCH(TexGendv
)(coord
, pname
, params
);
1444 void GLAPIENTRY
glTexGenf(GLenum coord
, GLenum pname
, GLfloat param
)
1446 DISPATCH(TexGenf
)(coord
, pname
, param
);
1449 void GLAPIENTRY
glTexGenfv(GLenum coord
, GLenum pname
, const GLfloat
*params
)
1451 DISPATCH(TexGenfv
)(coord
, pname
, params
);
1454 void GLAPIENTRY
glTexGeni(GLenum coord
, GLenum pname
, GLint param
)
1456 DISPATCH(TexGeni
)(coord
, pname
, param
);
1459 void GLAPIENTRY
glTexGeniv(GLenum coord
, GLenum pname
, const GLint
*params
)
1461 DISPATCH(TexGeniv
)(coord
, pname
, params
);
1464 void GLAPIENTRY
glTexEnvf(GLenum target
, GLenum pname
, GLfloat param
)
1466 DISPATCH(TexEnvf
)(target
, pname
, param
);
1469 void GLAPIENTRY
glTexEnvfv(GLenum target
, GLenum pname
, const GLfloat
*param
)
1471 DISPATCH(TexEnvfv
)(target
, pname
, param
);
1474 void GLAPIENTRY
glTexEnvi(GLenum target
, GLenum pname
, GLint param
)
1476 DISPATCH(TexEnvi
)(target
, pname
, param
);
1479 void GLAPIENTRY
glTexEnviv(GLenum target
, GLenum pname
, const GLint
*param
)
1481 DISPATCH(TexEnviv
)(target
, pname
, param
);
1484 void GLAPIENTRY
glTexImage1D(GLenum target
, GLint level
, GLint internalformat
, GLsizei width
, GLint border
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1486 DISPATCH(TexImage1D
)(target
, level
, internalformat
, width
, border
, format
, type
, pixels
);
1489 void GLAPIENTRY
glTexImage2D(GLenum target
, GLint level
, GLint internalformat
, GLsizei width
, GLsizei height
, GLint border
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1491 DISPATCH(TexImage2D
)(target
, level
, internalformat
, width
, height
, border
, format
, type
, pixels
);
1494 void GLAPIENTRY
glTexParameterf(GLenum target
, GLenum pname
, GLfloat param
)
1496 DISPATCH(TexParameterf
)(target
, pname
, param
);
1499 void GLAPIENTRY
glTexParameterfv(GLenum target
, GLenum pname
, const GLfloat
*params
)
1501 DISPATCH(TexParameterfv
)(target
, pname
, params
);
1504 void GLAPIENTRY
glTexParameteri(GLenum target
, GLenum pname
, GLint param
)
1506 DISPATCH(TexParameteri
)(target
, pname
, param
);
1509 void GLAPIENTRY
glTexParameteriv(GLenum target
, GLenum pname
, const GLint
*params
)
1511 DISPATCH(TexParameteriv
)(target
, pname
, params
);
1514 void GLAPIENTRY
glTranslated(GLdouble x
, GLdouble y
, GLdouble z
)
1516 DISPATCH(Translated
)(x
, y
, z
);
1519 void GLAPIENTRY
glTranslatef(GLfloat x
, GLfloat y
, GLfloat z
)
1521 DISPATCH(Translatef
)(x
, y
, z
);
1524 void GLAPIENTRY
glVertex2d(GLdouble x
, GLdouble y
)
1526 DISPATCH(Vertex2d
)(x
, y
);
1529 void GLAPIENTRY
glVertex2dv(const GLdouble
*v
)
1531 DISPATCH(Vertex2dv
)(v
);
1534 void GLAPIENTRY
glVertex2f(GLfloat x
, GLfloat y
)
1536 DISPATCH(Vertex2f
)(x
, y
);
1539 void GLAPIENTRY
glVertex2fv(const GLfloat
*v
)
1541 DISPATCH(Vertex2fv
)(v
);
1544 void GLAPIENTRY
glVertex2i(GLint x
, GLint y
)
1546 DISPATCH(Vertex2i
)(x
, y
);
1549 void GLAPIENTRY
glVertex2iv(const GLint
*v
)
1551 DISPATCH(Vertex2iv
)(v
);
1554 void GLAPIENTRY
glVertex2s(GLshort x
, GLshort y
)
1556 DISPATCH(Vertex2s
)(x
, y
);
1559 void GLAPIENTRY
glVertex2sv(const GLshort
*v
)
1561 DISPATCH(Vertex2sv
)(v
);
1564 void GLAPIENTRY
glVertex3d(GLdouble x
, GLdouble y
, GLdouble z
)
1566 DISPATCH(Vertex3d
)(x
, y
, z
);
1569 void GLAPIENTRY
glVertex3dv(const GLdouble
*v
)
1571 DISPATCH(Vertex3dv
)(v
);
1574 void GLAPIENTRY
glVertex3f(GLfloat x
, GLfloat y
, GLfloat z
)
1576 DISPATCH(Vertex3f
)(x
, y
, z
);
1579 void GLAPIENTRY
glVertex3fv(const GLfloat
*v
)
1581 DISPATCH(Vertex3fv
)(v
);
1584 void GLAPIENTRY
glVertex3i(GLint x
, GLint y
, GLint z
)
1586 DISPATCH(Vertex3i
)(x
, y
, z
);
1589 void GLAPIENTRY
glVertex3iv(const GLint
*v
)
1591 DISPATCH(Vertex3iv
)(v
);
1594 void GLAPIENTRY
glVertex3s(GLshort x
, GLshort y
, GLshort z
)
1596 DISPATCH(Vertex3s
)(x
, y
, z
);
1599 void GLAPIENTRY
glVertex3sv(const GLshort
*v
)
1601 DISPATCH(Vertex3sv
)(v
);
1604 void GLAPIENTRY
glVertex4d(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
)
1606 DISPATCH(Vertex4d
)(x
, y
, z
, w
);
1609 void GLAPIENTRY
glVertex4dv(const GLdouble
*v
)
1611 DISPATCH(Vertex4dv
)(v
);
1614 void GLAPIENTRY
glVertex4f(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
)
1616 DISPATCH(Vertex4f
)(x
, y
, z
, w
);
1619 void GLAPIENTRY
glVertex4fv(const GLfloat
*v
)
1621 DISPATCH(Vertex4fv
)(v
);
1624 void GLAPIENTRY
glVertex4i(GLint x
, GLint y
, GLint z
, GLint w
)
1626 DISPATCH(Vertex4i
)(x
, y
, z
, w
);
1629 void GLAPIENTRY
glVertex4iv(const GLint
*v
)
1631 DISPATCH(Vertex4iv
)(v
);
1634 void GLAPIENTRY
glVertex4s(GLshort x
, GLshort y
, GLshort z
, GLshort w
)
1636 DISPATCH(Vertex4s
)(x
, y
, z
, w
);
1639 void GLAPIENTRY
glVertex4sv(const GLshort
*v
)
1641 DISPATCH(Vertex4sv
)(v
);
1644 void GLAPIENTRY
glViewport(GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1646 DISPATCH(Viewport
)(x
, y
, width
, height
);
1652 #ifdef _GLAPI_VERSION_1_1
1654 GLboolean GLAPIENTRY
glAreTexturesResident(GLsizei n
, const GLuint
*textures
, GLboolean
*residences
)
1656 return DISPATCH(AreTexturesResident
)(n
, textures
, residences
);
1659 void GLAPIENTRY
glArrayElement(GLint i
)
1661 DISPATCH(ArrayElement
)(i
);
1664 void GLAPIENTRY
glBindTexture(GLenum target
, GLuint texture
)
1666 DISPATCH(BindTexture
)(target
, texture
);
1669 void GLAPIENTRY
glColorPointer(GLint size
, GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1671 DISPATCH(ColorPointer
)(size
, type
, stride
, ptr
);
1674 void GLAPIENTRY
glCopyTexImage1D(GLenum target
, GLint level
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLint border
)
1676 DISPATCH(CopyTexImage1D
)(target
, level
, internalformat
, x
, y
, width
, border
);
1679 void GLAPIENTRY
glCopyTexImage2D(GLenum target
, GLint level
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLsizei height
, GLint border
)
1681 DISPATCH(CopyTexImage2D
)(target
, level
, internalformat
, x
, y
, width
, height
, border
);
1684 void GLAPIENTRY
glCopyTexSubImage1D(GLenum target
, GLint level
, GLint xoffset
, GLint x
, GLint y
, GLsizei width
)
1686 DISPATCH(CopyTexSubImage1D
)(target
, level
, xoffset
, x
, y
, width
);
1689 void GLAPIENTRY
glCopyTexSubImage2D(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1691 DISPATCH(CopyTexSubImage2D
)(target
, level
, xoffset
, yoffset
, x
, y
, width
, height
);
1694 void GLAPIENTRY
glDeleteTextures(GLsizei n
, const GLuint
*textures
)
1696 DISPATCH(DeleteTextures
)(n
, textures
);
1699 void GLAPIENTRY
glEdgeFlagPointer(GLsizei stride
, const GLvoid
*ptr
)
1701 DISPATCH(EdgeFlagPointer
)(stride
, ptr
);
1704 void GLAPIENTRY
glIndexPointer(GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1706 DISPATCH(IndexPointer
)(type
, stride
, ptr
);
1709 void GLAPIENTRY
glNormalPointer(GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1711 DISPATCH(NormalPointer
)(type
, stride
, ptr
);
1714 void GLAPIENTRY
glTexCoordPointer(GLint size
, GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1716 DISPATCH(TexCoordPointer
)(size
, type
, stride
, ptr
);
1719 void GLAPIENTRY
glTexSubImage1D(GLenum target
, GLint level
, GLint xoffset
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1721 DISPATCH(TexSubImage1D
)(target
, level
, xoffset
, width
, format
, type
, pixels
);
1724 void GLAPIENTRY
glTexSubImage2D(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1726 DISPATCH(TexSubImage2D
)(target
, level
, xoffset
, yoffset
, width
, height
, format
, type
, pixels
);
1729 void GLAPIENTRY
glVertexPointer(GLint size
, GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1731 DISPATCH(VertexPointer
)(size
, type
, stride
, ptr
);
1734 #endif /*GL_VERSION_1_1*/
1738 #ifdef _GLAPI_VERSION_1_2
1740 void GLAPIENTRY
glCopyTexSubImage3D(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1742 DISPATCH(CopyTexSubImage3D
)(target
, level
, xoffset
, yoffset
, zoffset
, x
, y
, width
, height
);
1745 void GLAPIENTRY
glDrawRangeElements(GLenum mode
, GLuint start
, GLuint end
, GLsizei count
, GLenum type
, const GLvoid
*indices
)
1747 DISPATCH(DrawRangeElements
)(mode
, start
, end
, count
, type
, indices
);
1750 void GLAPIENTRY
glTexImage3D(GLenum target
, GLint level
, GLint internalformat
, GLsizei width
, GLsizei height
, GLsizei depth
, GLint border
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1752 DISPATCH(TexImage3D
)(target
, level
, internalformat
, width
, height
, depth
, border
, format
, type
, pixels
);
1755 void GLAPIENTRY
glTexSubImage3D(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLsizei width
, GLsizei height
, GLsizei depth
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1757 DISPATCH(TexSubImage3D
)(target
, level
, xoffset
, yoffset
, zoffset
, width
, height
, depth
, format
, type
, pixels
);
1761 #ifdef _GLAPI_ARB_imaging
1763 void GLAPIENTRY
glBlendColor(GLclampf r
, GLclampf g
, GLclampf b
, GLclampf a
)
1765 DISPATCH(BlendColor
)(r
, g
, b
, a
);
1768 void GLAPIENTRY
glBlendEquation(GLenum mode
)
1770 DISPATCH(BlendEquation
)(mode
);
1773 void GLAPIENTRY
glColorSubTable(GLenum target
, GLsizei start
, GLsizei count
, GLenum format
, GLenum type
, const GLvoid
*data
)
1775 DISPATCH(ColorSubTable
)(target
, start
, count
, format
, type
, data
);
1778 void GLAPIENTRY
glColorTable(GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*table
)
1780 DISPATCH(ColorTable
)(target
, internalformat
, width
, format
, type
, table
);
1783 void GLAPIENTRY
glColorTableParameterfv(GLenum target
, GLenum pname
, const GLfloat
*params
)
1785 DISPATCH(ColorTableParameterfv
)(target
, pname
, params
);
1788 void GLAPIENTRY
glColorTableParameteriv(GLenum target
, GLenum pname
, const GLint
*params
)
1790 DISPATCH(ColorTableParameteriv
)(target
, pname
, params
);
1793 void glConvolutionFilter1D(GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*image
)
1795 DISPATCH(ConvolutionFilter1D
)(target
, internalformat
, width
, format
, type
, image
);
1798 void glConvolutionFilter2D(GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*image
)
1800 DISPATCH(ConvolutionFilter2D
)(target
, internalformat
, width
, height
, format
, type
, image
);
1803 void glConvolutionParameterf(GLenum target
, GLenum pname
, GLfloat params
)
1805 DISPATCH(ConvolutionParameterf
)(target
, pname
, params
);
1808 void glConvolutionParameterfv(GLenum target
, GLenum pname
, const GLfloat
*params
)
1810 DISPATCH(ConvolutionParameterfv
)(target
, pname
, params
);
1813 void glConvolutionParameteri(GLenum target
, GLenum pname
, GLint params
)
1815 DISPATCH(ConvolutionParameteri
)(target
, pname
, params
);
1818 void glConvolutionParameteriv(GLenum target
, GLenum pname
, const GLint
*params
)
1820 DISPATCH(ConvolutionParameteriv
)(target
, pname
, params
);
1823 void glCopyColorSubTable(GLenum target
, GLsizei start
, GLint x
, GLint y
, GLsizei width
)
1825 DISPATCH(CopyColorSubTable
)(target
, start
, x
, y
, width
);
1828 void glCopyColorTable(GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
)
1830 DISPATCH(CopyColorTable
)(target
, internalformat
, x
, y
, width
);
1833 void GLAPIENTRY
glCopyConvolutionFilter1D(GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
)
1835 DISPATCH(CopyConvolutionFilter1D
)(target
, internalformat
, x
, y
, width
);
1838 void GLAPIENTRY
glCopyConvolutionFilter2D(GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1840 DISPATCH(CopyConvolutionFilter2D
)(target
, internalformat
, x
, y
, width
, height
);
1843 void GLAPIENTRY
glGetColorTable(GLenum target
, GLenum format
, GLenum type
, GLvoid
*table
)
1845 DISPATCH(GetColorTable
)(target
, format
, type
, table
);
1848 void GLAPIENTRY
glGetColorTableParameterfv(GLenum target
, GLenum pname
, GLfloat
*params
)
1850 DISPATCH(GetColorTableParameterfv
)(target
, pname
, params
);
1853 void GLAPIENTRY
glGetColorTableParameteriv(GLenum target
, GLenum pname
, GLint
*params
)
1855 DISPATCH(GetColorTableParameteriv
)(target
, pname
, params
);
1858 void GLAPIENTRY
glGetConvolutionFilter(GLenum target
, GLenum format
, GLenum type
, GLvoid
*image
)
1860 DISPATCH(GetConvolutionFilter
)(target
, format
, type
, image
);
1863 void GLAPIENTRY
glGetConvolutionParameterfv(GLenum target
, GLenum pname
, GLfloat
*params
)
1865 DISPATCH(GetConvolutionParameterfv
)(target
, pname
, params
);
1868 void GLAPIENTRY
glGetConvolutionParameteriv(GLenum target
, GLenum pname
, GLint
*params
)
1870 DISPATCH(GetConvolutionParameteriv
)(target
, pname
, params
);
1873 void GLAPIENTRY
glGetHistogram(GLenum target
, GLboolean reset
, GLenum format
, GLenum type
, GLvoid
*values
)
1875 DISPATCH(GetHistogram
)(target
, reset
, format
, type
, values
);
1878 void GLAPIENTRY
glGetHistogramParameterfv(GLenum target
, GLenum pname
, GLfloat
*params
)
1880 DISPATCH(GetHistogramParameterfv
)(target
, pname
, params
);
1883 void GLAPIENTRY
glGetHistogramParameteriv(GLenum target
, GLenum pname
, GLint
*params
)
1885 DISPATCH(GetHistogramParameteriv
)(target
, pname
, params
);
1888 void GLAPIENTRY
glGetMinmax(GLenum target
, GLboolean reset
, GLenum format
, GLenum types
, GLvoid
*values
)
1890 DISPATCH(GetMinmax
)(target
, reset
, format
, types
, values
);
1893 void GLAPIENTRY
glGetMinmaxParameterfv(GLenum target
, GLenum pname
, GLfloat
*params
)
1895 DISPATCH(GetMinmaxParameterfv
)(target
, pname
, params
);
1898 void GLAPIENTRY
glGetMinmaxParameteriv(GLenum target
, GLenum pname
, GLint
*params
)
1900 DISPATCH(GetMinmaxParameteriv
)(target
, pname
, params
);
1903 void GLAPIENTRY
glGetSeparableFilter(GLenum target
, GLenum format
, GLenum type
, GLvoid
*row
, GLvoid
*column
, GLvoid
*span
)
1905 DISPATCH(GetSeparableFilter
)(target
, format
, type
, row
, column
, span
);
1908 void GLAPIENTRY
glHistogram(GLenum target
, GLsizei width
, GLenum internalformat
, GLboolean sink
)
1910 DISPATCH(Histogram
)(target
, width
, internalformat
, sink
);
1913 void GLAPIENTRY
glMinmax(GLenum target
, GLenum internalformat
, GLboolean sink
)
1915 DISPATCH(Minmax
)(target
, internalformat
, sink
);
1918 void GLAPIENTRY
glResetMinmax(GLenum target
)
1920 DISPATCH(ResetMinmax
)(target
);
1923 void GLAPIENTRY
glResetHistogram(GLenum target
)
1925 DISPATCH(ResetHistogram
)(target
);
1928 void GLAPIENTRY
glSeparableFilter2D(GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*row
, const GLvoid
*column
)
1930 DISPATCH(SeparableFilter2D
)(target
, internalformat
, width
, height
, format
, type
, row
, column
);
1934 #endif /*GL_ARB_imaging*/
1935 #endif /*GL_VERSION_1_2*/
1940 *** Extension functions
1943 #ifdef _GLAPI_EXT_blend_minmax
1944 void GLAPIENTRY
glBlendEquationEXT(GLenum mode
)
1946 DISPATCH(BlendEquationEXT
)(mode
);
1951 #ifdef _GLAPI_EXT_blend_color
1952 void GLAPIENTRY
glBlendColorEXT(GLclampf red
, GLclampf green
, GLclampf blue
, GLclampf alpha
)
1954 DISPATCH(BlendColorEXT
)(red
, green
, blue
, alpha
);
1959 #ifdef _GLAPI_EXT_polygon_offset
1960 void GLAPIENTRY
glPolygonOffsetEXT(GLfloat factor
, GLfloat bias
)
1962 DISPATCH(PolygonOffsetEXT
)(factor
, bias
);
1968 #ifdef _GLAPI_EXT_vertex_array
1970 void GLAPIENTRY
glVertexPointerEXT(GLint size
, GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
1973 DISPATCH(VertexPointer
)(size
, type
, stride
, ptr
);
1976 void GLAPIENTRY
glNormalPointerEXT(GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
1979 DISPATCH(NormalPointer
)(type
, stride
, ptr
);
1982 void GLAPIENTRY
glColorPointerEXT(GLint size
, GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
1985 DISPATCH(ColorPointer
)(size
, type
, stride
, ptr
);
1988 void GLAPIENTRY
glIndexPointerEXT(GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
1991 DISPATCH(IndexPointer
)(type
, stride
, ptr
);
1994 void GLAPIENTRY
glTexCoordPointerEXT(GLint size
, GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
1997 DISPATCH(ColorPointer
)(size
, type
, stride
, ptr
);
2000 void GLAPIENTRY
glEdgeFlagPointerEXT(GLsizei stride
, GLsizei count
, const GLboolean
*ptr
)
2003 DISPATCH(EdgeFlagPointer
)(stride
, ptr
);
2006 void GLAPIENTRY
glGetPointervEXT(GLenum pname
, void **params
)
2008 DISPATCH(GetPointerv
)(pname
, params
);
2011 void GLAPIENTRY
glArrayElementEXT(GLint i
)
2013 DISPATCH(ArrayElement
)(i
);
2016 void GLAPIENTRY
glDrawArraysEXT(GLenum mode
, GLint first
, GLsizei count
)
2018 DISPATCH(DrawArrays
)(mode
, first
, count
);
2021 #endif /* GL_EXT_vertex_arrays */
2025 #ifdef _GLAPI_EXT_texture_object
2027 void GLAPIENTRY
glGenTexturesEXT(GLsizei n
, GLuint
*textures
)
2029 DISPATCH(GenTextures
)(n
, textures
);
2032 void GLAPIENTRY
glDeleteTexturesEXT(GLsizei n
, const GLuint
*texture
)
2034 DISPATCH(DeleteTextures
)(n
, texture
);
2037 void GLAPIENTRY
glBindTextureEXT(GLenum target
, GLuint texture
)
2039 DISPATCH(BindTexture
)(target
, texture
);
2042 void GLAPIENTRY
glPrioritizeTexturesEXT(GLsizei n
, const GLuint
*textures
, const GLclampf
*priorities
)
2044 DISPATCH(PrioritizeTextures
)(n
, textures
, priorities
);
2047 GLboolean GLAPIENTRY
glAreTexturesResidentEXT(GLsizei n
, const GLuint
*textures
, GLboolean
*residences
)
2049 DISPATCH(AreTexturesResident
)(n
, textures
, residences
);
2053 GLboolean GLAPIENTRY
glIsTextureEXT(GLuint texture
)
2055 DISPATCH(IsTexture
)(texture
);
2058 #endif /* GL_EXT_texture_object */
2062 #ifdef _GLAPI_EXT_texture3D
2064 void GLAPIENTRY
glTexImage3DEXT(GLenum target
, GLint level
, GLenum internalFormat
, GLsizei width
, GLsizei height
, GLsizei depth
, GLint border
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
2066 DISPATCH(TexImage3D
)(target
, level
, internalFormat
, width
, height
, depth
, border
, format
, type
, pixels
);
2069 void GLAPIENTRY
glTexSubImage3DEXT(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLsizei width
, GLsizei height
, GLsizei depth
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
2071 DISPATCH(TexSubImage3D
)(target
, level
, xoffset
, yoffset
, zoffset
, width
, height
, depth
, format
, type
, pixels
);
2074 void GLAPIENTRY
glCopyTexSubImage3DEXT(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
2076 DISPATCH(CopyTexSubImage3D
)(target
, level
, xoffset
, yoffset
, zoffset
, x
, y
, width
, height
);
2079 #endif /* GL_EXT_texture3D*/
2083 #ifdef _GLAPI_EXT_color_table
2085 void GLAPIENTRY
glColorTableEXT(GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*table
)
2087 DISPATCH(ColorTableEXT
)(target
, internalformat
, width
, format
, type
, table
);
2090 void GLAPIENTRY
glColorSubTableEXT(GLenum target
, GLsizei start
, GLsizei count
, GLenum format
, GLenum type
, const GLvoid
*data
)
2092 DISPATCH(ColorSubTableEXT
)(target
, start
, count
, format
, type
, data
);
2095 void GLAPIENTRY
glGetColorTableEXT(GLenum target
, GLenum format
, GLenum type
, GLvoid
*table
)
2097 DISPATCH(GetColorTableEXT
)(target
, format
, type
, table
);
2100 void GLAPIENTRY
glGetColorTableParameterfvEXT(GLenum target
, GLenum pname
, GLfloat
*params
)
2102 DISPATCH(GetColorTableParameterfvEXT
)(target
, pname
, params
);
2105 void GLAPIENTRY
glGetColorTableParameterivEXT(GLenum target
, GLenum pname
, GLint
*params
)
2107 DISPATCH(GetColorTableParameterivEXT
)(target
, pname
, params
);
2110 #endif /* GL_EXT_color_table */
2114 #ifdef _GLAPI_EXT_compiled_vertex_array
2116 void GLAPIENTRY
glLockArraysEXT(GLint first
, GLsizei count
)
2118 DISPATCH(LockArraysEXT
)(first
, count
);
2121 void GLAPIENTRY
glUnlockArraysEXT(void)
2123 DISPATCH(UnlockArraysEXT
)();
2126 #endif /* GL_EXT_compiled_vertex_array */
2130 #ifdef _GLAPI_EXT_point_parameters
2132 void GLAPIENTRY
glPointParameterfEXT(GLenum target
, GLfloat param
)
2134 DISPATCH(PointParameterfEXT
)(target
, param
);
2137 void GLAPIENTRY
glPointParameterfvEXT(GLenum target
, const GLfloat
*param
)
2139 DISPATCH(PointParameterfvEXT
)(target
, param
);
2142 #endif /* GL_EXT_point_parameters */
2146 #ifdef _GLAPI_ARB_multitexture
2148 void GLAPIENTRY
glActiveTextureARB(GLenum texture
)
2150 DISPATCH(ActiveTextureARB
)(texture
);
2153 void GLAPIENTRY
glClientActiveTextureARB(GLenum texture
)
2155 DISPATCH(ClientActiveTextureARB
)(texture
);
2158 void GLAPIENTRY
glMultiTexCoord1dARB(GLenum target
, GLdouble s
)
2160 DISPATCH(MultiTexCoord1dARB
)(target
, s
);
2163 void GLAPIENTRY
glMultiTexCoord1dvARB(GLenum target
, const GLdouble
*v
)
2165 DISPATCH(MultiTexCoord1dvARB
)(target
, v
);
2168 void GLAPIENTRY
glMultiTexCoord1fARB(GLenum target
, GLfloat s
)
2170 DISPATCH(MultiTexCoord1fARB
)(target
, s
);
2173 void GLAPIENTRY
glMultiTexCoord1fvARB(GLenum target
, const GLfloat
*v
)
2175 DISPATCH(MultiTexCoord1fvARB
)(target
, v
);
2178 void GLAPIENTRY
glMultiTexCoord1iARB(GLenum target
, GLint s
)
2180 DISPATCH(MultiTexCoord1iARB
)(target
, s
);
2183 void GLAPIENTRY
glMultiTexCoord1ivARB(GLenum target
, const GLint
*v
)
2185 DISPATCH(MultiTexCoord1ivARB
)(target
, v
);
2188 void GLAPIENTRY
glMultiTexCoord1sARB(GLenum target
, GLshort s
)
2190 DISPATCH(MultiTexCoord1sARB
)(target
, s
);
2193 void GLAPIENTRY
glMultiTexCoord1svARB(GLenum target
, const GLshort
*v
)
2195 DISPATCH(MultiTexCoord1svARB
)(target
, v
);
2198 void GLAPIENTRY
glMultiTexCoord2dARB(GLenum target
, GLdouble s
, GLdouble t
)
2200 DISPATCH(MultiTexCoord2dARB
)(target
, s
, t
);
2203 void GLAPIENTRY
glMultiTexCoord2dvARB(GLenum target
, const GLdouble
*v
)
2205 DISPATCH(MultiTexCoord2dvARB
)(target
, v
);
2208 void GLAPIENTRY
glMultiTexCoord2fARB(GLenum target
, GLfloat s
, GLfloat t
)
2210 DISPATCH(MultiTexCoord2fARB
)(target
, s
, t
);
2213 void GLAPIENTRY
glMultiTexCoord2fvARB(GLenum target
, const GLfloat
*v
)
2215 DISPATCH(MultiTexCoord2fvARB
)(target
, v
);
2218 void GLAPIENTRY
glMultiTexCoord2iARB(GLenum target
, GLint s
, GLint t
)
2220 DISPATCH(MultiTexCoord2iARB
)(target
, s
, t
);
2223 void GLAPIENTRY
glMultiTexCoord2ivARB(GLenum target
, const GLint
*v
)
2225 DISPATCH(MultiTexCoord2ivARB
)(target
, v
);
2228 void GLAPIENTRY
glMultiTexCoord2sARB(GLenum target
, GLshort s
, GLshort t
)
2230 DISPATCH(MultiTexCoord2sARB
)(target
, s
, t
);
2233 void GLAPIENTRY
glMultiTexCoord2svARB(GLenum target
, const GLshort
*v
)
2235 DISPATCH(MultiTexCoord2svARB
)(target
, v
);
2238 void GLAPIENTRY
glMultiTexCoord3dARB(GLenum target
, GLdouble s
, GLdouble t
, GLdouble r
)
2240 DISPATCH(MultiTexCoord3dARB
)(target
, s
, t
, r
);
2243 void GLAPIENTRY
glMultiTexCoord3dvARB(GLenum target
, const GLdouble
*v
)
2245 DISPATCH(MultiTexCoord3dvARB
)(target
, v
);
2248 void GLAPIENTRY
glMultiTexCoord3fARB(GLenum target
, GLfloat s
, GLfloat t
, GLfloat r
)
2250 DISPATCH(MultiTexCoord3fARB
)(target
, s
, t
, r
);
2253 void GLAPIENTRY
glMultiTexCoord3fvARB(GLenum target
, const GLfloat
*v
)
2255 DISPATCH(MultiTexCoord3fvARB
)(target
, v
);
2258 void GLAPIENTRY
glMultiTexCoord3iARB(GLenum target
, GLint s
, GLint t
, GLint r
)
2260 DISPATCH(MultiTexCoord3iARB
)(target
, s
, t
, r
);
2263 void GLAPIENTRY
glMultiTexCoord3ivARB(GLenum target
, const GLint
*v
)
2265 DISPATCH(MultiTexCoord3ivARB
)(target
, v
);
2268 void GLAPIENTRY
glMultiTexCoord3sARB(GLenum target
, GLshort s
, GLshort t
, GLshort r
)
2270 DISPATCH(MultiTexCoord3sARB
)(target
, s
, t
, r
);
2273 void GLAPIENTRY
glMultiTexCoord3svARB(GLenum target
, const GLshort
*v
)
2275 DISPATCH(MultiTexCoord3svARB
)(target
, v
);
2278 void GLAPIENTRY
glMultiTexCoord4dARB(GLenum target
, GLdouble s
, GLdouble t
, GLdouble r
, GLdouble q
)
2280 DISPATCH(MultiTexCoord4dARB
)(target
, s
, t
, r
, q
);
2283 void GLAPIENTRY
glMultiTexCoord4dvARB(GLenum target
, const GLdouble
*v
)
2285 DISPATCH(MultiTexCoord4dvARB
)(target
, v
);
2288 void GLAPIENTRY
glMultiTexCoord4fARB(GLenum target
, GLfloat s
, GLfloat t
, GLfloat r
, GLfloat q
)
2290 DISPATCH(MultiTexCoord4fARB
)(target
, s
, t
, r
, q
);
2293 void GLAPIENTRY
glMultiTexCoord4fvARB(GLenum target
, const GLfloat
*v
)
2295 DISPATCH(MultiTexCoord4fvARB
)(target
, v
);
2298 void GLAPIENTRY
glMultiTexCoord4iARB(GLenum target
, GLint s
, GLint t
, GLint r
, GLint q
)
2300 DISPATCH(MultiTexCoord4iARB
)(target
, s
, t
, r
, q
);
2303 void GLAPIENTRY
glMultiTexCoord4ivARB(GLenum target
, const GLint
*v
)
2305 DISPATCH(MultiTexCoord4ivARB
)(target
, v
);
2308 void GLAPIENTRY
glMultiTexCoord4sARB(GLenum target
, GLshort s
, GLshort t
, GLshort r
, GLshort q
)
2310 DISPATCH(MultiTexCoord4sARB
)(target
, s
, t
, r
, q
);
2313 void GLAPIENTRY
glMultiTexCoord4svARB(GLenum target
, const GLshort
*v
)
2315 DISPATCH(MultiTexCoord4svARB
)(target
, v
);
2318 #endif /* GL_ARB_multitexture */
2322 #ifdef _GLAPI_INGR_blend_func_separate
2323 void GLAPIENTRY
glBlendFuncSeparateINGR(GLenum sfactorRGB
, GLenum dfactorRGB
, GLenum sfactorAlpha
, GLenum dfactorAlpha
)
2325 DISPATCH(BlendFuncSeparateINGR
)(sfactorRGB
, dfactorRGB
, sfactorAlpha
, dfactorAlpha
);
2327 #endif /* GL_INGR_blend_func_separate */
2331 #ifdef _GLAPI_MESA_window_pos
2333 void GLAPIENTRY
glWindowPos2iMESA(GLint x
, GLint y
)
2335 DISPATCH(WindowPos4fMESA
)(x
, y
, 0, 1);
2338 void GLAPIENTRY
glWindowPos2sMESA(GLshort x
, GLshort y
)
2340 DISPATCH(WindowPos4fMESA
)(x
, y
, 0, 1);
2343 void GLAPIENTRY
glWindowPos2fMESA(GLfloat x
, GLfloat y
)
2345 DISPATCH(WindowPos4fMESA
)(x
, y
, 0, 1);
2348 void GLAPIENTRY
glWindowPos2dMESA(GLdouble x
, GLdouble y
)
2350 DISPATCH(WindowPos4fMESA
)(x
, y
, 0, 1);
2353 void GLAPIENTRY
glWindowPos2ivMESA(const GLint
*p
)
2355 DISPATCH(WindowPos4fMESA
)(p
[0], p
[1], 0, 1);
2358 void GLAPIENTRY
glWindowPos2svMESA(const GLshort
*p
)
2360 DISPATCH(WindowPos4fMESA
)(p
[0], p
[1], 0, 1);
2363 void GLAPIENTRY
glWindowPos2fvMESA(const GLfloat
*p
)
2365 DISPATCH(WindowPos4fMESA
)(p
[0], p
[1], 0, 1);
2368 void GLAPIENTRY
glWindowPos2dvMESA(const GLdouble
*p
)
2370 DISPATCH(WindowPos4fMESA
)(p
[0], p
[1], 0, 1);
2373 void GLAPIENTRY
glWindowPos3iMESA(GLint x
, GLint y
, GLint z
)
2375 DISPATCH(WindowPos4fMESA
)(x
, y
, z
, 1);
2378 void GLAPIENTRY
glWindowPos3sMESA(GLshort x
, GLshort y
, GLshort z
)
2380 DISPATCH(WindowPos4fMESA
)(x
, y
, z
, 1);
2383 void GLAPIENTRY
glWindowPos3fMESA(GLfloat x
, GLfloat y
, GLfloat z
)
2385 DISPATCH(WindowPos4fMESA
)(x
, y
, z
, 1);
2388 void GLAPIENTRY
glWindowPos3dMESA(GLdouble x
, GLdouble y
, GLdouble z
)
2390 DISPATCH(WindowPos4fMESA
)(x
, y
, z
, 1);
2393 void GLAPIENTRY
glWindowPos3ivMESA(const GLint
*p
)
2395 DISPATCH(WindowPos4fMESA
)(p
[0], p
[1], p
[2], 1.0);
2398 void GLAPIENTRY
glWindowPos3svMESA(const GLshort
*p
)
2400 DISPATCH(WindowPos4fMESA
)(p
[0], p
[1], p
[2], 1.0);
2403 void GLAPIENTRY
glWindowPos3fvMESA(const GLfloat
*p
)
2405 DISPATCH(WindowPos4fMESA
)(p
[0], p
[1], p
[2], 1.0);
2408 void GLAPIENTRY
glWindowPos3dvMESA(const GLdouble
*p
)
2410 DISPATCH(WindowPos4fMESA
)(p
[0], p
[1], p
[2], 1.0);
2413 void GLAPIENTRY
glWindowPos4iMESA(GLint x
, GLint y
, GLint z
, GLint w
)
2415 DISPATCH(WindowPos4fMESA
)(x
, y
, z
, w
);
2418 void GLAPIENTRY
glWindowPos4sMESA(GLshort x
, GLshort y
, GLshort z
, GLshort w
)
2420 DISPATCH(WindowPos4fMESA
)(x
, y
, z
, w
);
2423 void GLAPIENTRY
glWindowPos4fMESA(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
)
2425 DISPATCH(WindowPos4fMESA
)(x
, y
, z
, w
);
2428 void GLAPIENTRY
glWindowPos4dMESA(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
)
2430 DISPATCH(WindowPos4fMESA
)(x
, y
, z
, w
);
2433 void GLAPIENTRY
glWindowPos4ivMESA(const GLint
*p
)
2435 DISPATCH(WindowPos4fMESA
)(p
[0], p
[1], p
[2], p
[3]);
2438 void GLAPIENTRY
glWindowPos4svMESA(const GLshort
*p
)
2440 DISPATCH(WindowPos4fMESA
)(p
[0], p
[1], p
[2], p
[3]);
2443 void GLAPIENTRY
glWindowPos4fvMESA(const GLfloat
*p
)
2445 DISPATCH(WindowPos4fMESA
)(p
[0], p
[1], p
[2], p
[3]);
2448 void GLAPIENTRY
glWindowPos4dvMESA(const GLdouble
*p
)
2450 DISPATCH(WindowPos4fMESA
)(p
[0], p
[1], p
[2], p
[3]);
2453 #endif /* GL_MESA_window_pos */
2457 #ifdef _GLAPI_MESA_resize_buffers
2458 GLAPI
void GLAPIENTRY
glResizeBuffersMESA(void)
2460 DISPATCH(ResizeBuffersMESA
)();
2462 #endif /* GL_MESA_resize_buffers */
2467 * This struct is just used to be sure we've defined all the API functions.
2469 static struct _glapi_table completeness_test
= {
2570 glGetPolygonStipple
,
2578 glGetTexLevelParameterfv
,
2579 glGetTexLevelParameteriv
,
2580 glGetTexParameterfv
,
2581 glGetTexParameteriv
,
2778 #ifdef _GLAPI_VERSION_1_1
2779 glAreTexturesResident
,
2785 glCopyTexSubImage1D
,
2786 glCopyTexSubImage2D
,
2788 glDisableClientState
,
2792 glEnableClientState
,
2798 glInterleavedArrays
,
2802 glPrioritizeTextures
,
2810 #ifdef _GLAPI_VERSION_1_2
2811 glCopyTexSubImage3D
,
2812 glDrawRangeElements
,
2816 #ifdef _GLAPI_ARB_imaging
2821 glColorTableParameterfv
,
2822 glColorTableParameteriv
,
2823 glConvolutionFilter1D
,
2824 glConvolutionFilter2D
,
2825 glConvolutionParameterf
,
2826 glConvolutionParameterfv
,
2827 glConvolutionParameteri
,
2828 glConvolutionParameteriv
,
2829 glCopyColorSubTable
,
2831 glCopyConvolutionFilter1D
,
2832 glCopyConvolutionFilter2D
,
2834 glGetColorTableParameterfv
,
2835 glGetColorTableParameteriv
,
2836 glGetConvolutionFilter
,
2837 glGetConvolutionParameterfv
,
2838 glGetConvolutionParameteriv
,
2840 glGetHistogramParameterfv
,
2841 glGetHistogramParameteriv
,
2843 glGetMinmaxParameterfv
,
2844 glGetMinmaxParameteriv
,
2845 glGetSeparableFilter
,
2850 glSeparableFilter2D
,
2859 #ifdef _GLAPI_EXT_color_table
2863 glGetColorTableParameterfvEXT
,
2864 glGetColorTableParameterivEXT
,
2867 #ifdef _GLAPI_EXT_compiled_vertex_array
2872 #ifdef _GLAPI_EXT_point_parameters
2873 glPointParameterfEXT
,
2874 glPointParameterfvEXT
,
2877 #ifdef _GLAPI_EXT_polygon_offset
2881 #ifdef _GLAPI_EXT_blend_minmax
2885 #ifdef _GLAPI_EXT_blend_color
2889 #ifdef _GLAPI_ARB_multitexture
2891 glClientActiveTextureARB
,
2892 glMultiTexCoord1dARB
,
2893 glMultiTexCoord1dvARB
,
2894 glMultiTexCoord1fARB
,
2895 glMultiTexCoord1fvARB
,
2896 glMultiTexCoord1iARB
,
2897 glMultiTexCoord1ivARB
,
2898 glMultiTexCoord1sARB
,
2899 glMultiTexCoord1svARB
,
2900 glMultiTexCoord2dARB
,
2901 glMultiTexCoord2dvARB
,
2902 glMultiTexCoord2fARB
,
2903 glMultiTexCoord2fvARB
,
2904 glMultiTexCoord2iARB
,
2905 glMultiTexCoord2ivARB
,
2906 glMultiTexCoord2sARB
,
2907 glMultiTexCoord2svARB
,
2908 glMultiTexCoord3dARB
,
2909 glMultiTexCoord3dvARB
,
2910 glMultiTexCoord3fARB
,
2911 glMultiTexCoord3fvARB
,
2912 glMultiTexCoord3iARB
,
2913 glMultiTexCoord3ivARB
,
2914 glMultiTexCoord3sARB
,
2915 glMultiTexCoord3svARB
,
2916 glMultiTexCoord4dARB
,
2917 glMultiTexCoord4dvARB
,
2918 glMultiTexCoord4fARB
,
2919 glMultiTexCoord4fvARB
,
2920 glMultiTexCoord4iARB
,
2921 glMultiTexCoord4ivARB
,
2922 glMultiTexCoord4sARB
,
2923 glMultiTexCoord4svARB
,
2926 #ifdef _GLAPI_INGR_blend_func_separate
2927 glBlendFuncSeparateINGR
,
2930 #ifdef _GLAPI_MESA_window_pos
2934 #ifdef _GLAPI_MESA_resize_buffers
2949 * Set the global or per-thread dispatch table pointer.
2952 _glapi_set_dispatch(struct _glapi_table
*dispatch
)
2955 (void) completeness_test
; /* to silence compiler warnings */
2960 _glapi_check_table(dispatch
);
2962 #if defined(MULTI_THREAD)
2963 /* set this thread's dispatch pointer */
2966 Dispatch
= dispatch
;
2970 /* no current context, each function is a no-op */
2971 Dispatch
= &__glapi_noop_table
;
2977 * Get the global or per-thread dispatch table pointer.
2979 struct _glapi_table
*
2980 _glapi_get_dispatch(void)
2982 #if defined(MULTI_THREAD)
2983 /* return this thread's dispatch pointer */
2992 * Get API dispatcher version string.
2995 _glapi_get_version(void)
2997 return "1.2"; /* XXX this isn't well defined yet */
3002 * Return list of hard-coded extension entrypoints in the dispatch table.
3005 _glapi_get_extensions(void)
3007 return "GL_EXT_color_table GL_EXT_compiled_vertex_array GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_blend_minmax GL_EXT_blend_color GL_ARB_multitexture GL_INGR_blend_func_separate GL_MESA_window_pos GL_MESA_resize_buffers";
3013 * Dynamically allocate an extension entry point. Return a slot number.
3016 _glapi_alloc_entrypoint(const char *funcName
)
3024 * Find the dynamic entry point for the named function.
3027 _glapi_get_entrypoint(const char *funcName
)
3034 * Return entrypoint for named function.
3037 _glapi_get_proc_address(const char *funcName
)
3045 * Make sure there are no NULL pointers in the given dispatch table.
3046 * Intented for debugging purposes.
3049 _glapi_check_table(const struct _glapi_table
*table
)
3051 assert(table
->Accum
);
3052 assert(table
->AlphaFunc
);
3053 assert(table
->Begin
);
3054 assert(table
->Bitmap
);
3055 assert(table
->BlendFunc
);
3056 assert(table
->CallList
);
3057 assert(table
->CallLists
);
3058 assert(table
->Clear
);
3059 assert(table
->ClearAccum
);
3060 assert(table
->ClearColor
);
3061 assert(table
->ClearDepth
);
3062 assert(table
->ClearIndex
);
3063 assert(table
->ClearStencil
);
3064 assert(table
->ClipPlane
);
3065 assert(table
->Color3b
);
3066 assert(table
->Color3bv
);
3067 assert(table
->Color3d
);
3068 assert(table
->Color3dv
);
3069 assert(table
->Color3f
);
3070 assert(table
->Color3fv
);
3071 assert(table
->Color3i
);
3072 assert(table
->Color3iv
);
3073 assert(table
->Color3s
);
3074 assert(table
->Color3sv
);
3075 assert(table
->Color3ub
);
3076 assert(table
->Color3ubv
);
3077 assert(table
->Color3ui
);
3078 assert(table
->Color3uiv
);
3079 assert(table
->Color3us
);
3080 assert(table
->Color3usv
);
3081 assert(table
->Color4b
);
3082 assert(table
->Color4bv
);
3083 assert(table
->Color4d
);
3084 assert(table
->Color4dv
);
3085 assert(table
->Color4f
);
3086 assert(table
->Color4fv
);
3087 assert(table
->Color4i
);
3088 assert(table
->Color4iv
);
3089 assert(table
->Color4s
);
3090 assert(table
->Color4sv
);
3091 assert(table
->Color4ub
);
3092 assert(table
->Color4ubv
);
3093 assert(table
->Color4ui
);
3094 assert(table
->Color4uiv
);
3095 assert(table
->Color4us
);
3096 assert(table
->Color4usv
);
3097 assert(table
->ColorMask
);
3098 assert(table
->ColorMaterial
);
3099 assert(table
->CopyPixels
);
3100 assert(table
->CullFace
);
3101 assert(table
->DeleteLists
);
3102 assert(table
->DepthFunc
);
3103 assert(table
->DepthMask
);
3104 assert(table
->DepthRange
);
3105 assert(table
->Disable
);
3106 assert(table
->DrawBuffer
);
3107 assert(table
->DrawElements
);
3108 assert(table
->DrawPixels
);
3109 assert(table
->EdgeFlag
);
3110 assert(table
->EdgeFlagv
);
3111 assert(table
->Enable
);
3113 assert(table
->EndList
);
3114 assert(table
->EvalCoord1d
);
3115 assert(table
->EvalCoord1dv
);
3116 assert(table
->EvalCoord1f
);
3117 assert(table
->EvalCoord1fv
);
3118 assert(table
->EvalCoord2d
);
3119 assert(table
->EvalCoord2dv
);
3120 assert(table
->EvalCoord2f
);
3121 assert(table
->EvalCoord2fv
);
3122 assert(table
->EvalMesh1
);
3123 assert(table
->EvalMesh2
);
3124 assert(table
->EvalPoint1
);
3125 assert(table
->EvalPoint2
);
3126 assert(table
->FeedbackBuffer
);
3127 assert(table
->Finish
);
3128 assert(table
->Flush
);
3129 assert(table
->Fogf
);
3130 assert(table
->Fogfv
);
3131 assert(table
->Fogi
);
3132 assert(table
->Fogiv
);
3133 assert(table
->FrontFace
);
3134 assert(table
->Frustum
);
3135 assert(table
->GenLists
);
3136 assert(table
->GetBooleanv
);
3137 assert(table
->GetClipPlane
);
3138 assert(table
->GetDoublev
);
3139 assert(table
->GetError
);
3140 assert(table
->GetFloatv
);
3141 assert(table
->GetIntegerv
);
3142 assert(table
->GetLightfv
);
3143 assert(table
->GetLightiv
);
3144 assert(table
->GetMapdv
);
3145 assert(table
->GetMapfv
);
3146 assert(table
->GetMapiv
);
3147 assert(table
->GetMaterialfv
);
3148 assert(table
->GetMaterialiv
);
3149 assert(table
->GetPixelMapfv
);
3150 assert(table
->GetPixelMapuiv
);
3151 assert(table
->GetPixelMapusv
);
3152 assert(table
->GetPolygonStipple
);
3153 assert(table
->GetString
);
3154 assert(table
->GetTexEnvfv
);
3155 assert(table
->GetTexEnviv
);
3156 assert(table
->GetTexGendv
);
3157 assert(table
->GetTexGenfv
);
3158 assert(table
->GetTexGeniv
);
3159 assert(table
->GetTexImage
);
3160 assert(table
->GetTexLevelParameterfv
);
3161 assert(table
->GetTexLevelParameteriv
);
3162 assert(table
->GetTexParameterfv
);
3163 assert(table
->GetTexParameteriv
);
3164 assert(table
->Hint
);
3165 assert(table
->IndexMask
);
3166 assert(table
->Indexd
);
3167 assert(table
->Indexdv
);
3168 assert(table
->Indexf
);
3169 assert(table
->Indexfv
);
3170 assert(table
->Indexi
);
3171 assert(table
->Indexiv
);
3172 assert(table
->Indexs
);
3173 assert(table
->Indexsv
);
3174 assert(table
->InitNames
);
3175 assert(table
->IsEnabled
);
3176 assert(table
->IsList
);
3177 assert(table
->LightModelf
);
3178 assert(table
->LightModelfv
);
3179 assert(table
->LightModeli
);
3180 assert(table
->LightModeliv
);
3181 assert(table
->Lightf
);
3182 assert(table
->Lightfv
);
3183 assert(table
->Lighti
);
3184 assert(table
->Lightiv
);
3185 assert(table
->LineStipple
);
3186 assert(table
->LineWidth
);
3187 assert(table
->ListBase
);
3188 assert(table
->LoadIdentity
);
3189 assert(table
->LoadMatrixd
);
3190 assert(table
->LoadMatrixf
);
3191 assert(table
->LoadName
);
3192 assert(table
->LogicOp
);
3193 assert(table
->Map1d
);
3194 assert(table
->Map1f
);
3195 assert(table
->Map2d
);
3196 assert(table
->Map2f
);
3197 assert(table
->MapGrid1d
);
3198 assert(table
->MapGrid1f
);
3199 assert(table
->MapGrid2d
);
3200 assert(table
->MapGrid2f
);
3201 assert(table
->Materialf
);
3202 assert(table
->Materialfv
);
3203 assert(table
->Materiali
);
3204 assert(table
->Materialiv
);
3205 assert(table
->MatrixMode
);
3206 assert(table
->MultMatrixd
);
3207 assert(table
->MultMatrixf
);
3208 assert(table
->NewList
);
3209 assert(table
->Normal3b
);
3210 assert(table
->Normal3bv
);
3211 assert(table
->Normal3d
);
3212 assert(table
->Normal3dv
);
3213 assert(table
->Normal3f
);
3214 assert(table
->Normal3fv
);
3215 assert(table
->Normal3i
);
3216 assert(table
->Normal3iv
);
3217 assert(table
->Normal3s
);
3218 assert(table
->Normal3sv
);
3219 assert(table
->Ortho
);
3220 assert(table
->PassThrough
);
3221 assert(table
->PixelMapfv
);
3222 assert(table
->PixelMapuiv
);
3223 assert(table
->PixelMapusv
);
3224 assert(table
->PixelStoref
);
3225 assert(table
->PixelStorei
);
3226 assert(table
->PixelTransferf
);
3227 assert(table
->PixelTransferi
);
3228 assert(table
->PixelZoom
);
3229 assert(table
->PointSize
);
3230 assert(table
->PolygonMode
);
3231 assert(table
->PolygonOffset
);
3232 assert(table
->PolygonStipple
);
3233 assert(table
->PopAttrib
);
3234 assert(table
->PopMatrix
);
3235 assert(table
->PopName
);
3236 assert(table
->PushAttrib
);
3237 assert(table
->PushMatrix
);
3238 assert(table
->PushName
);
3239 assert(table
->RasterPos2d
);
3240 assert(table
->RasterPos2dv
);
3241 assert(table
->RasterPos2f
);
3242 assert(table
->RasterPos2fv
);
3243 assert(table
->RasterPos2i
);
3244 assert(table
->RasterPos2iv
);
3245 assert(table
->RasterPos2s
);
3246 assert(table
->RasterPos2sv
);
3247 assert(table
->RasterPos3d
);
3248 assert(table
->RasterPos3dv
);
3249 assert(table
->RasterPos3f
);
3250 assert(table
->RasterPos3fv
);
3251 assert(table
->RasterPos3i
);
3252 assert(table
->RasterPos3iv
);
3253 assert(table
->RasterPos3s
);
3254 assert(table
->RasterPos3sv
);
3255 assert(table
->RasterPos4d
);
3256 assert(table
->RasterPos4dv
);
3257 assert(table
->RasterPos4f
);
3258 assert(table
->RasterPos4fv
);
3259 assert(table
->RasterPos4i
);
3260 assert(table
->RasterPos4iv
);
3261 assert(table
->RasterPos4s
);
3262 assert(table
->RasterPos4sv
);
3263 assert(table
->ReadBuffer
);
3264 assert(table
->ReadPixels
);
3265 assert(table
->Rectd
);
3266 assert(table
->Rectdv
);
3267 assert(table
->Rectf
);
3268 assert(table
->Rectfv
);
3269 assert(table
->Recti
);
3270 assert(table
->Rectiv
);
3271 assert(table
->Rects
);
3272 assert(table
->Rectsv
);
3273 assert(table
->RenderMode
);
3274 assert(table
->Rotated
);
3275 assert(table
->Rotatef
);
3276 assert(table
->Scaled
);
3277 assert(table
->Scalef
);
3278 assert(table
->Scissor
);
3279 assert(table
->SelectBuffer
);
3280 assert(table
->ShadeModel
);
3281 assert(table
->StencilFunc
);
3282 assert(table
->StencilMask
);
3283 assert(table
->StencilOp
);
3284 assert(table
->TexCoord1d
);
3285 assert(table
->TexCoord1dv
);
3286 assert(table
->TexCoord1f
);
3287 assert(table
->TexCoord1fv
);
3288 assert(table
->TexCoord1i
);
3289 assert(table
->TexCoord1iv
);
3290 assert(table
->TexCoord1s
);
3291 assert(table
->TexCoord1sv
);
3292 assert(table
->TexCoord2d
);
3293 assert(table
->TexCoord2dv
);
3294 assert(table
->TexCoord2f
);
3295 assert(table
->TexCoord2fv
);
3296 assert(table
->TexCoord2i
);
3297 assert(table
->TexCoord2iv
);
3298 assert(table
->TexCoord2s
);
3299 assert(table
->TexCoord2sv
);
3300 assert(table
->TexCoord3d
);
3301 assert(table
->TexCoord3dv
);
3302 assert(table
->TexCoord3f
);
3303 assert(table
->TexCoord3fv
);
3304 assert(table
->TexCoord3i
);
3305 assert(table
->TexCoord3iv
);
3306 assert(table
->TexCoord3s
);
3307 assert(table
->TexCoord3sv
);
3308 assert(table
->TexCoord4d
);
3309 assert(table
->TexCoord4dv
);
3310 assert(table
->TexCoord4f
);
3311 assert(table
->TexCoord4fv
);
3312 assert(table
->TexCoord4i
);
3313 assert(table
->TexCoord4iv
);
3314 assert(table
->TexCoord4s
);
3315 assert(table
->TexCoord4sv
);
3316 assert(table
->TexEnvf
);
3317 assert(table
->TexEnvfv
);
3318 assert(table
->TexEnvi
);
3319 assert(table
->TexEnviv
);
3320 assert(table
->TexGend
);
3321 assert(table
->TexGendv
);
3322 assert(table
->TexGenf
);
3323 assert(table
->TexGenfv
);
3324 assert(table
->TexGeni
);
3325 assert(table
->TexGeniv
);
3326 assert(table
->TexImage1D
);
3327 assert(table
->TexImage2D
);
3328 assert(table
->TexParameterf
);
3329 assert(table
->TexParameterfv
);
3330 assert(table
->TexParameteri
);
3331 assert(table
->TexParameteriv
);
3332 assert(table
->Translated
);
3333 assert(table
->Translatef
);
3334 assert(table
->Vertex2d
);
3335 assert(table
->Vertex2dv
);
3336 assert(table
->Vertex2f
);
3337 assert(table
->Vertex2fv
);
3338 assert(table
->Vertex2i
);
3339 assert(table
->Vertex2iv
);
3340 assert(table
->Vertex2s
);
3341 assert(table
->Vertex2sv
);
3342 assert(table
->Vertex3d
);
3343 assert(table
->Vertex3dv
);
3344 assert(table
->Vertex3f
);
3345 assert(table
->Vertex3fv
);
3346 assert(table
->Vertex3i
);
3347 assert(table
->Vertex3iv
);
3348 assert(table
->Vertex3s
);
3349 assert(table
->Vertex3sv
);
3350 assert(table
->Vertex4d
);
3351 assert(table
->Vertex4dv
);
3352 assert(table
->Vertex4f
);
3353 assert(table
->Vertex4fv
);
3354 assert(table
->Vertex4i
);
3355 assert(table
->Vertex4iv
);
3356 assert(table
->Vertex4s
);
3357 assert(table
->Vertex4sv
);
3358 assert(table
->Viewport
);
3360 #ifdef _GLAPI_VERSION_1_1
3361 assert(table
->AreTexturesResident
);
3362 assert(table
->ArrayElement
);
3363 assert(table
->BindTexture
);
3364 assert(table
->ColorPointer
);
3365 assert(table
->CopyTexImage1D
);
3366 assert(table
->CopyTexImage2D
);
3367 assert(table
->CopyTexSubImage1D
);
3368 assert(table
->CopyTexSubImage2D
);
3369 assert(table
->DeleteTextures
);
3370 assert(table
->DisableClientState
);
3371 assert(table
->DrawArrays
);
3372 assert(table
->EdgeFlagPointer
);
3373 assert(table
->EnableClientState
);
3374 assert(table
->GenTextures
);
3375 assert(table
->GetPointerv
);
3376 assert(table
->IndexPointer
);
3377 assert(table
->Indexub
);
3378 assert(table
->Indexubv
);
3379 assert(table
->InterleavedArrays
);
3380 assert(table
->IsTexture
);
3381 assert(table
->NormalPointer
);
3382 assert(table
->PopClientAttrib
);
3383 assert(table
->PrioritizeTextures
);
3384 assert(table
->PushClientAttrib
);
3385 assert(table
->TexCoordPointer
);
3386 assert(table
->TexSubImage1D
);
3387 assert(table
->TexSubImage2D
);
3388 assert(table
->VertexPointer
);
3391 #ifdef _GLAPI_VERSION_1_2
3392 assert(table
->CopyTexSubImage3D
);
3393 assert(table
->DrawRangeElements
);
3394 assert(table
->TexImage3D
);
3395 assert(table
->TexSubImage3D
);
3396 #ifdef _GLAPI_ARB_imaging
3397 assert(table
->BlendColor
);
3398 assert(table
->BlendEquation
);
3399 assert(table
->ColorSubTable
);
3400 assert(table
->ColorTable
);
3401 assert(table
->ColorTableParameterfv
);
3402 assert(table
->ColorTableParameteriv
);
3403 assert(table
->ConvolutionFilter1D
);
3404 assert(table
->ConvolutionFilter2D
);
3405 assert(table
->ConvolutionParameterf
);
3406 assert(table
->ConvolutionParameterfv
);
3407 assert(table
->ConvolutionParameteri
);
3408 assert(table
->ConvolutionParameteriv
);
3409 assert(table
->CopyColorSubTable
);
3410 assert(table
->CopyColorTable
);
3411 assert(table
->CopyConvolutionFilter1D
);
3412 assert(table
->CopyConvolutionFilter2D
);
3413 assert(table
->GetColorTable
);
3414 assert(table
->GetColorTableParameterfv
);
3415 assert(table
->GetColorTableParameteriv
);
3416 assert(table
->GetConvolutionFilter
);
3417 assert(table
->GetConvolutionParameterfv
);
3418 assert(table
->GetConvolutionParameteriv
);
3419 assert(table
->GetHistogram
);
3420 assert(table
->GetHistogramParameterfv
);
3421 assert(table
->GetHistogramParameteriv
);
3422 assert(table
->GetMinmax
);
3423 assert(table
->GetMinmaxParameterfv
);
3424 assert(table
->GetMinmaxParameteriv
);
3425 assert(table
->Histogram
);
3426 assert(table
->Minmax
);
3427 assert(table
->ResetHistogram
);
3428 assert(table
->ResetMinmax
);
3429 assert(table
->SeparableFilter2D
);
3434 #ifdef _GLAPI_EXT_color_table
3435 assert(table
->ColorTableEXT
);
3436 assert(table
->ColorSubTableEXT
);
3437 assert(table
->GetColorTableEXT
);
3438 assert(table
->GetColorTableParameterfvEXT
);
3439 assert(table
->GetColorTableParameterivEXT
);
3442 #ifdef _GLAPI_EXT_compiled_vertex_array
3443 assert(table
->LockArraysEXT
);
3444 assert(table
->UnlockArraysEXT
);
3447 #ifdef _GLAPI_EXT_point_parameter
3448 assert(table
->PointParameterfEXT
);
3449 assert(table
->PointParameterfvEXT
);
3452 #ifdef _GLAPI_EXT_polygon_offset
3453 assert(table
->PolygonOffsetEXT
);
3456 #ifdef _GLAPI_ARB_multitexture
3457 assert(table
->ActiveTextureARB
);
3458 assert(table
->ClientActiveTextureARB
);
3459 assert(table
->MultiTexCoord1dARB
);
3460 assert(table
->MultiTexCoord1dvARB
);
3461 assert(table
->MultiTexCoord1fARB
);
3462 assert(table
->MultiTexCoord1fvARB
);
3463 assert(table
->MultiTexCoord1iARB
);
3464 assert(table
->MultiTexCoord1ivARB
);
3465 assert(table
->MultiTexCoord1sARB
);
3466 assert(table
->MultiTexCoord1svARB
);
3467 assert(table
->MultiTexCoord2dARB
);
3468 assert(table
->MultiTexCoord2dvARB
);
3469 assert(table
->MultiTexCoord2fARB
);
3470 assert(table
->MultiTexCoord2fvARB
);
3471 assert(table
->MultiTexCoord2iARB
);
3472 assert(table
->MultiTexCoord2ivARB
);
3473 assert(table
->MultiTexCoord2sARB
);
3474 assert(table
->MultiTexCoord2svARB
);
3475 assert(table
->MultiTexCoord3dARB
);
3476 assert(table
->MultiTexCoord3dvARB
);
3477 assert(table
->MultiTexCoord3fARB
);
3478 assert(table
->MultiTexCoord3fvARB
);
3479 assert(table
->MultiTexCoord3iARB
);
3480 assert(table
->MultiTexCoord3ivARB
);
3481 assert(table
->MultiTexCoord3sARB
);
3482 assert(table
->MultiTexCoord3svARB
);
3483 assert(table
->MultiTexCoord4dARB
);
3484 assert(table
->MultiTexCoord4dvARB
);
3485 assert(table
->MultiTexCoord4fARB
);
3486 assert(table
->MultiTexCoord4fvARB
);
3487 assert(table
->MultiTexCoord4iARB
);
3488 assert(table
->MultiTexCoord4ivARB
);
3489 assert(table
->MultiTexCoord4sARB
);
3490 assert(table
->MultiTexCoord4svARB
);
3493 #ifdef _GLAPI_INGR_blend_func_separate
3494 assert(table
->BlendFuncSeparateINGR
);
3497 #ifdef _GLAPI_MESA_window_pos
3498 assert(table
->WindowPos4fMESA
);
3501 #ifdef _GLAPI_MESA_resize_buffers
3502 assert(table
->ResizeBuffersMESA
);