1 /* $Id: glapitemp.h,v 1.15 2000/02/23 01:52:42 brianp Exp $ */
4 * Mesa 3-D graphics library
7 * Copyright (C) 1999-2000 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.
29 * This file is a template which generates the OpenGL API entry point
30 * functions. It should be included by a .c file which first defines
31 * the following macros:
32 * KEYWORD1 - usually nothing, but might be __declspec(dllexport) on Win32
33 * KEYWORD2 - usually nothing, but might be __stdcall on Win32
34 * NAME(n) - builds the final function name (usually add "gl" prefix)
35 * DISPATCH(func, args, msg) - code to do dispatch of named function.
36 * msg is a printf-style debug message.
37 * RETURN_DISPATCH(func, args, msg) - code to do dispatch with a return value
39 * Here's an example which generates the usual OpenGL functions:
42 * #define NAME(func) gl##func
43 * #define DISPATCH(func, args, msg) \
44 * struct _glapi_table *dispatch = CurrentDispatch; \
45 * (*dispatch->func) args
46 * #define RETURN DISPATCH(func, args, msg) \
47 * struct _glapi_table *dispatch = CurrentDispatch; \
48 * return (*dispatch->func) args
62 #define NAME(func) gl##func
66 #define DISPATCH(func, args, msg) \
67 const struct _glapi_table *dispatch; \
68 dispatch = _glapi_Dispatch ? _glapi_Dispatch : _glapi_get_dispatch();\
72 #ifndef RETURN_DISPATCH
73 #define RETURN_DISPATCH(FUNC, ARGS, MESSAGE) \
74 const struct _glapi_table *dispatch; \
75 dispatch = _glapi_Dispatch ? _glapi_Dispatch : _glapi_get_dispatch();\
76 return (dispatch->func) args
82 * Most functions need the msg (printf-message) parameter to be finished.
83 * I.e. replace ";" with the real info.
88 * Someday this code should be automatically generated from a spec file
89 * like that used in the SGI OpenGL SI.
96 KEYWORD1
void KEYWORD2
NAME(Accum
)(GLenum op
, GLfloat value
)
98 DISPATCH(Accum
, (op
, value
), (F
, "glAccum(0x%x, %g);", op
, value
));
101 KEYWORD1
void KEYWORD2
NAME(AlphaFunc
)(GLenum func
, GLclampf ref
)
103 DISPATCH(AlphaFunc
, (func
, ref
), (F
, "glAlphaFunc(0x%x, %g);", func
, ref
));
106 KEYWORD1
void KEYWORD2
NAME(Begin
)(GLenum mode
)
108 DISPATCH(Begin
, (mode
), (F
, "glBegin(0x%x);", mode
));
111 KEYWORD1
void KEYWORD2
NAME(Bitmap
)(GLsizei width
, GLsizei height
, GLfloat xorig
, GLfloat yorig
, GLfloat xmove
, GLfloat ymove
, const GLubyte
*bitmap
)
113 DISPATCH(Bitmap
, (width
, height
, xorig
, yorig
, xmove
, ymove
, bitmap
), (F
, "glBitmap(%d %d %g %g %g %g %p;", width
, height
, xorig
, yorig
, xmove
, ymove
, bitmap
));
116 KEYWORD1
void KEYWORD2
NAME(BlendFunc
)(GLenum sfactor
, GLenum dfactor
)
118 DISPATCH(BlendFunc
, (sfactor
, dfactor
), (F
, "glBlendFunc(0x%x, 0x%x);", sfactor
, dfactor
));
121 KEYWORD1
void KEYWORD2
NAME(CallList
)(GLuint list
)
123 DISPATCH(CallList
, (list
), (F
, "glCallList(%u);", list
));
126 KEYWORD1
void KEYWORD2
NAME(CallLists
)(GLsizei n
, GLenum type
, const GLvoid
*lists
)
128 DISPATCH(CallLists
, (n
, type
, lists
), (F
, "glCallLists(%d, 0x%x, %p);", n
, type
, lists
));
131 KEYWORD1
void KEYWORD2
NAME(Clear
)(GLbitfield mask
)
133 DISPATCH(Clear
, (mask
), (F
, "glClear(0x%x);", mask
));
136 KEYWORD1
void KEYWORD2
NAME(ClearAccum
)(GLfloat red
, GLfloat green
, GLfloat blue
, GLfloat alpha
)
138 DISPATCH(ClearAccum
, (red
, green
, blue
, alpha
), (F
, "glClearAccum(%g, %g, %g, %g);", red
, green
, blue
, alpha
));
141 KEYWORD1
void KEYWORD2
NAME(ClearColor
)(GLclampf red
, GLclampf green
, GLclampf blue
, GLclampf alpha
)
143 DISPATCH(ClearColor
, (red
, green
, blue
, alpha
), (F
, "glClearColor(%g, %g, %g, %g);", red
, green
, blue
, alpha
));
146 KEYWORD1
void KEYWORD2
NAME(ClearDepth
)(GLclampd depth
)
148 DISPATCH(ClearDepth
, (depth
), (F
, "glClearDepth(%g);", depth
));
151 KEYWORD1
void KEYWORD2
NAME(ClearIndex
)(GLfloat c
)
153 DISPATCH(ClearIndex
, (c
), (F
, "glClearIndex(%g);", c
));
156 KEYWORD1
void KEYWORD2
NAME(ClearStencil
)(GLint s
)
158 DISPATCH(ClearStencil
, (s
), (F
, "glClearStencil(%d);", s
));
161 KEYWORD1
void KEYWORD2
NAME(ClipPlane
)(GLenum plane
, const GLdouble
*equation
)
163 DISPATCH(ClipPlane
, (plane
, equation
), (F
, "glClipPlane(%p);", equation
));
166 KEYWORD1
void KEYWORD2
NAME(Color3b
)(GLbyte red
, GLbyte green
, GLbyte blue
)
168 DISPATCH(Color3b
, (red
, green
, blue
), (F
, "glColor3b(%d, %d, %d);", red
, green
, blue
));
171 KEYWORD1
void KEYWORD2
NAME(Color3d
)(GLdouble red
, GLdouble green
, GLdouble blue
)
173 DISPATCH(Color3d
, (red
, green
, blue
), (F
, "glColor3d(%g, %g, %g);", red
, green
, blue
));
176 KEYWORD1
void KEYWORD2
NAME(Color3f
)(GLfloat red
, GLfloat green
, GLfloat blue
)
178 DISPATCH(Color3f
, (red
, green
, blue
), (F
, "glColor3f(%g, %g, %g);", red
, green
, blue
));
181 KEYWORD1
void KEYWORD2
NAME(Color3i
)(GLint red
, GLint green
, GLint blue
)
183 DISPATCH(Color3i
, (red
, green
, blue
), (F
, "glColor3i(%d, %d, %d);", red
, green
, blue
));
186 KEYWORD1
void KEYWORD2
NAME(Color3s
)(GLshort red
, GLshort green
, GLshort blue
)
188 DISPATCH(Color3s
, (red
, green
, blue
), (F
, "glColor3s(%d, %d, %d);", red
, green
, blue
));
191 KEYWORD1
void KEYWORD2
NAME(Color3ub
)(GLubyte red
, GLubyte green
, GLubyte blue
)
193 DISPATCH(Color3ub
, (red
, green
, blue
), (F
, "glColor3ub(%u, %u, %u);", red
, green
, blue
));
196 KEYWORD1
void KEYWORD2
NAME(Color3ui
)(GLuint red
, GLuint green
, GLuint blue
)
198 DISPATCH(Color3ui
, (red
, green
, blue
), (F
, "glColor3ui(%u, %u, %u);", red
, green
, blue
));
201 KEYWORD1
void KEYWORD2
NAME(Color3us
)(GLushort red
, GLushort green
, GLushort blue
)
203 DISPATCH(Color3us
, (red
, green
, blue
), (F
, "glColor3us(%u, %u, %u);", red
, green
, blue
));
206 KEYWORD1
void KEYWORD2
NAME(Color4b
)(GLbyte red
, GLbyte green
, GLbyte blue
, GLbyte alpha
)
208 DISPATCH(Color4b
, (red
, green
, blue
, alpha
), (F
, "glColor4b(%d, %d, %d, %d);", red
, green
, blue
, alpha
));
211 KEYWORD1
void KEYWORD2
NAME(Color4d
)(GLdouble red
, GLdouble green
, GLdouble blue
, GLdouble alpha
)
213 DISPATCH(Color4d
, (red
, green
, blue
, alpha
), (F
, "glColor4d(%g, %g, %g, %g);", red
, green
, blue
, alpha
));
216 KEYWORD1
void KEYWORD2
NAME(Color4f
)(GLfloat red
, GLfloat green
, GLfloat blue
, GLfloat alpha
)
218 DISPATCH(Color4f
, (red
, green
, blue
, alpha
), (F
, "glColor4b(%g, %g, %g, %g);", red
, green
, blue
, alpha
));
221 KEYWORD1
void KEYWORD2
NAME(Color4i
)(GLint red
, GLint green
, GLint blue
, GLint alpha
)
223 DISPATCH(Color4i
, (red
, green
, blue
, alpha
), (F
, "glColor4i(%d, %d, %d);", red
, green
, blue
));
226 KEYWORD1
void KEYWORD2
NAME(Color4s
)(GLshort red
, GLshort green
, GLshort blue
, GLshort alpha
)
228 DISPATCH(Color4s
, (red
, green
, blue
, alpha
), (F
, "glColor4s(%d, %d, %d, %d);", red
, green
, blue
, alpha
));
231 KEYWORD1
void KEYWORD2
NAME(Color4ub
)(GLubyte red
, GLubyte green
, GLubyte blue
, GLubyte alpha
)
233 DISPATCH(Color4ub
, (red
, green
, blue
, alpha
), (F
, "glColor4ub(%u, %u, %u, %u);", red
, green
, blue
, alpha
));
236 KEYWORD1
void KEYWORD2
NAME(Color4ui
)(GLuint red
, GLuint green
, GLuint blue
, GLuint alpha
)
238 DISPATCH(Color4ui
, (red
, green
, blue
, alpha
), (F
, "glColor4ui(%u, %u, %u, %u);", red
, green
, blue
, alpha
));
241 KEYWORD1
void KEYWORD2
NAME(Color4us
)(GLushort red
, GLushort green
, GLushort blue
, GLushort alpha
)
243 DISPATCH(Color4us
, (red
, green
, blue
, alpha
), (F
, "glColor4us(%u, %u, %u, %u);", red
, green
, blue
, alpha
));
246 KEYWORD1
void KEYWORD2
NAME(Color3bv
)(const GLbyte
*v
)
248 DISPATCH(Color3bv
, (v
), (F
, "glColor3bf(%p);", v
));
251 KEYWORD1
void KEYWORD2
NAME(Color3dv
)(const GLdouble
*v
)
253 DISPATCH(Color3dv
, (v
), (F
, "glColor3dv(%p);", v
));
256 KEYWORD1
void KEYWORD2
NAME(Color3fv
)(const GLfloat
*v
)
258 DISPATCH(Color3fv
, (v
), (F
, "glColor3fv(%p);", v
));
261 KEYWORD1
void KEYWORD2
NAME(Color3iv
)(const GLint
*v
)
263 DISPATCH(Color3iv
, (v
), (F
, "glColor3iv(%p);", v
));
266 KEYWORD1
void KEYWORD2
NAME(Color3sv
)(const GLshort
*v
)
268 DISPATCH(Color3sv
, (v
), (F
, "glColor3sv(%p);", v
));
271 KEYWORD1
void KEYWORD2
NAME(Color3ubv
)(const GLubyte
*v
)
273 DISPATCH(Color3ubv
, (v
), (F
, "glColor3ubv(%p);", v
));
276 KEYWORD1
void KEYWORD2
NAME(Color3uiv
)(const GLuint
*v
)
278 DISPATCH(Color3uiv
, (v
), (F
, "glColor3uiv(%p);", v
));
281 KEYWORD1
void KEYWORD2
NAME(Color3usv
)(const GLushort
*v
)
283 DISPATCH(Color3usv
, (v
), (F
, "glColor3usv(%p);", v
));
286 KEYWORD1
void KEYWORD2
NAME(Color4bv
)(const GLbyte
*v
)
288 DISPATCH(Color4bv
, (v
), (F
, "glColor3bv(%p);", v
));
291 KEYWORD1
void KEYWORD2
NAME(Color4dv
)(const GLdouble
*v
)
293 DISPATCH(Color4dv
, (v
), (F
, "glColor4dv(%p);", v
));
296 KEYWORD1
void KEYWORD2
NAME(Color4fv
)(const GLfloat
*v
)
298 DISPATCH(Color4fv
, (v
), (F
, "glColor4fv(%p);", v
));
301 KEYWORD1
void KEYWORD2
NAME(Color4iv
)(const GLint
*v
)
303 DISPATCH(Color4iv
, (v
), (F
, "glColor4iv(%p);", v
));
306 KEYWORD1
void KEYWORD2
NAME(Color4sv
)(const GLshort
*v
)
308 DISPATCH(Color4sv
, (v
), (F
, "glColor4sv(%p);", v
));
311 KEYWORD1
void KEYWORD2
NAME(Color4ubv
)(const GLubyte
*v
)
313 DISPATCH(Color4ubv
, (v
), (F
, "glColor4ubv(%p);", v
));
316 KEYWORD1
void KEYWORD2
NAME(Color4uiv
)(const GLuint
*v
)
318 DISPATCH(Color4uiv
, (v
), (F
, "glColor4uiv(%p);", v
));
321 KEYWORD1
void KEYWORD2
NAME(Color4usv
)(const GLushort
*v
)
323 DISPATCH(Color4usv
, (v
), (F
, "glColor4usv(%p);", v
));
326 KEYWORD1
void KEYWORD2
NAME(ColorMask
)(GLboolean red
, GLboolean green
, GLboolean blue
, GLboolean alpha
)
328 DISPATCH(ColorMask
, (red
, green
, blue
, alpha
), (F
, "glColorMask(%d, %d, %d, %d);", red
, green
, blue
, alpha
));
331 KEYWORD1
void KEYWORD2
NAME(ColorMaterial
)(GLenum face
, GLenum mode
)
333 DISPATCH(ColorMaterial
, (face
, mode
), (F
, "glColorMaterial(0x%x, 0x%x);", face
, mode
));
336 KEYWORD1
void KEYWORD2
NAME(CopyPixels
)(GLint x
, GLint y
, GLsizei width
, GLsizei height
, GLenum type
)
338 DISPATCH(CopyPixels
, (x
, y
, width
, height
, type
), (F
, "glCopyPixels(%d, %d, %d, %d, 0x%x;", x
, y
, width
, height
, type
));
341 KEYWORD1
void KEYWORD2
NAME(CullFace
)(GLenum mode
)
343 DISPATCH(CullFace
, (mode
), (F
, "glCullFace(0x%x);", mode
));
346 KEYWORD1
void KEYWORD2
NAME(DepthFunc
)(GLenum func
)
348 DISPATCH(DepthFunc
, (func
), (F
, "glDepthFunc(0x%x);", func
));
351 KEYWORD1
void KEYWORD2
NAME(DepthMask
)(GLboolean flag
)
353 DISPATCH(DepthMask
, (flag
), (F
, "glDepthMask(%d);", flag
));
356 KEYWORD1
void KEYWORD2
NAME(DepthRange
)(GLclampd nearVal
, GLclampd farVal
)
358 DISPATCH(DepthRange
, (nearVal
, farVal
), (F
, "glDepthRange(%g, %g;", nearVal
, farVal
));
361 KEYWORD1
void KEYWORD2
NAME(DeleteLists
)(GLuint list
, GLsizei range
)
363 DISPATCH(DeleteLists
, (list
, range
), (F
, "glDeleteLists(%u, %d);", list
, range
));
366 KEYWORD1
void KEYWORD2
NAME(Disable
)(GLenum cap
)
368 DISPATCH(Disable
, (cap
), (F
, "glDisable(0x%x);", cap
));
371 KEYWORD1
void KEYWORD2
NAME(DrawBuffer
)(GLenum mode
)
373 DISPATCH(DrawBuffer
, (mode
), (F
, "glDrawBuffer(0x%x);", mode
));
376 KEYWORD1
void KEYWORD2
NAME(DrawElements
)(GLenum mode
, GLsizei count
, GLenum type
, const GLvoid
*indices
)
378 DISPATCH(DrawElements
, (mode
, count
, type
, indices
), (F
, "glDrawElements(0x%x, %d, 0x%x, %p;", mode
, count
, type
, indices
));
381 KEYWORD1
void KEYWORD2
NAME(DrawPixels
)(GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
383 DISPATCH(DrawPixels
, (width
, height
, format
, type
, pixels
), (F
, "glDrawPixels(%d, %d, 0x%x, 0x%x, %p);", width
, height
, format
, type
, pixels
));
386 KEYWORD1
void KEYWORD2
NAME(Enable
)(GLenum cap
)
388 DISPATCH(Enable
, (cap
), (F
, "glEnable(0x%x);", cap
));
391 KEYWORD1
void KEYWORD2
NAME(End
)(void)
393 DISPATCH(End
, (), (F
, "glEnd();"));
396 KEYWORD1
void KEYWORD2
NAME(EndList
)(void)
398 DISPATCH(EndList
, (), (F
, "glEndList();"));
401 KEYWORD1
void KEYWORD2
NAME(EvalCoord1d
)(GLdouble u
)
403 DISPATCH(EvalCoord1d
, (u
), (F
, "glEvalCoord1d(%g);", u
));
406 KEYWORD1
void KEYWORD2
NAME(EvalCoord1f
)(GLfloat u
)
408 DISPATCH(EvalCoord1f
, (u
), (F
, ";"));
411 KEYWORD1
void KEYWORD2
NAME(EvalCoord1dv
)(const GLdouble
*u
)
413 DISPATCH(EvalCoord1dv
, (u
), (F
, ";"));
416 KEYWORD1
void KEYWORD2
NAME(EvalCoord1fv
)(const GLfloat
*u
)
418 DISPATCH(EvalCoord1fv
, (u
), (F
, ";"));
421 KEYWORD1
void KEYWORD2
NAME(EvalCoord2d
)(GLdouble u
, GLdouble v
)
423 DISPATCH(EvalCoord2d
, (u
, v
), (F
, ";"));
426 KEYWORD1
void KEYWORD2
NAME(EvalCoord2f
)(GLfloat u
, GLfloat v
)
428 DISPATCH(EvalCoord2f
, (u
, v
), (F
, ";"));
431 KEYWORD1
void KEYWORD2
NAME(EvalCoord2dv
)(const GLdouble
*u
)
433 DISPATCH(EvalCoord2dv
, (u
), (F
, ";"));
436 KEYWORD1
void KEYWORD2
NAME(EvalCoord2fv
)(const GLfloat
*u
)
438 DISPATCH(EvalCoord2fv
, (u
), (F
, ";"));
441 KEYWORD1
void KEYWORD2
NAME(EvalPoint1
)(GLint i
)
443 DISPATCH(EvalPoint1
, (i
), (F
, ";"));
446 KEYWORD1
void KEYWORD2
NAME(EvalPoint2
)(GLint i
, GLint j
)
448 DISPATCH(EvalPoint2
, (i
, j
), (F
, ";"));
451 KEYWORD1
void KEYWORD2
NAME(EvalMesh1
)(GLenum mode
, GLint i1
, GLint i2
)
453 DISPATCH(EvalMesh1
, (mode
, i1
, i2
), (F
, ";"));
456 KEYWORD1
void KEYWORD2
NAME(EdgeFlag
)(GLboolean flag
)
458 DISPATCH(EdgeFlag
, (flag
), (F
, ";"));
461 KEYWORD1
void KEYWORD2
NAME(EdgeFlagv
)(const GLboolean
*flag
)
463 DISPATCH(EdgeFlagv
, (flag
), (F
, ";"));
466 KEYWORD1
void KEYWORD2
NAME(EvalMesh2
)(GLenum mode
, GLint i1
, GLint i2
, GLint j1
, GLint j2
)
468 DISPATCH(EvalMesh2
, (mode
, i1
, i2
, j1
, j2
), (F
, ";"));
471 KEYWORD1
void KEYWORD2
NAME(FeedbackBuffer
)(GLsizei size
, GLenum type
, GLfloat
*buffer
)
473 DISPATCH(FeedbackBuffer
, (size
, type
, buffer
), (F
, ";"));
476 KEYWORD1
void KEYWORD2
NAME(Finish
)(void)
478 DISPATCH(Finish
, (), (F
, "glFinish();"));
481 KEYWORD1
void KEYWORD2
NAME(Flush
)(void)
483 DISPATCH(Flush
, (), (F
, "glFlush();"));
486 KEYWORD1
void KEYWORD2
NAME(Fogf
)(GLenum pname
, GLfloat param
)
488 DISPATCH(Fogf
, (pname
, param
), (F
, "glFogf(0x%x, %g);", pname
, param
));
491 KEYWORD1
void KEYWORD2
NAME(Fogi
)(GLenum pname
, GLint param
)
493 DISPATCH(Fogi
, (pname
, param
), (F
, "glFogi(0x%x, %d);", pname
, param
));
496 KEYWORD1
void KEYWORD2
NAME(Fogfv
)(GLenum pname
, const GLfloat
*params
)
498 DISPATCH(Fogfv
, (pname
, params
), (F
, "glFogfv(0x%x, %p);", pname
, params
));
501 KEYWORD1
void KEYWORD2
NAME(Fogiv
)(GLenum pname
, const GLint
*params
)
503 DISPATCH(Fogiv
, (pname
, params
), (F
, "glFogiv(0x%x, %p);", pname
, params
));
506 KEYWORD1
void KEYWORD2
NAME(FrontFace
)(GLenum mode
)
508 DISPATCH(FrontFace
, (mode
), (F
, "glFrontFace(0x%x);", mode
));
511 KEYWORD1
void KEYWORD2
NAME(Frustum
)(GLdouble left
, GLdouble right
, GLdouble bottom
, GLdouble top
, GLdouble nearval
, GLdouble farval
)
513 DISPATCH(Frustum
, (left
, right
, bottom
, top
, nearval
, farval
), (F
, "glFrustum(%f, %f, %f, %f, %f, %f);", left
, right
, bottom
, top
, nearval
, farval
));
516 KEYWORD1 GLuint KEYWORD2
NAME(GenLists
)(GLsizei range
)
518 RETURN_DISPATCH(GenLists
, (range
), (F
, "glGenLists(%d);", range
));
521 KEYWORD1
void KEYWORD2
NAME(GetBooleanv
)(GLenum pname
, GLboolean
*params
)
523 DISPATCH(GetBooleanv
, (pname
, params
), (F
, "glGetBooleanv(0x%x, %p);", pname
, params
));
526 KEYWORD1
void KEYWORD2
NAME(GetClipPlane
)(GLenum plane
, GLdouble
*equation
)
528 DISPATCH(GetClipPlane
, (plane
, equation
), (F
, "glGetClipPlane(x0%x, %p);", plane
, equation
));
531 KEYWORD1
void KEYWORD2
NAME(GetDoublev
)(GLenum pname
, GLdouble
*params
)
533 DISPATCH(GetDoublev
, (pname
, params
), (F
, "glGetDoublev(0x%x, %p);", pname
, params
));
536 KEYWORD1 GLenum KEYWORD2
NAME(GetError
)(void)
538 RETURN_DISPATCH(GetError
, (), (F
, "glGetError();"));
541 KEYWORD1
void KEYWORD2
NAME(GetFloatv
)(GLenum pname
, GLfloat
*params
)
543 DISPATCH(GetFloatv
, (pname
, params
), (F
, "glGetFloatv(0x%x, %p);", pname
, params
));
546 KEYWORD1
void KEYWORD2
NAME(GetIntegerv
)(GLenum pname
, GLint
*params
)
548 DISPATCH(GetIntegerv
, (pname
, params
), (F
, "glGetIntegerv(0x%x, %p);", pname
, params
));
551 KEYWORD1
void KEYWORD2
NAME(GetLightfv
)(GLenum light
, GLenum pname
, GLfloat
*params
)
553 DISPATCH(GetLightfv
, (light
, pname
, params
), (F
, ";"));
556 KEYWORD1
void KEYWORD2
NAME(GetLightiv
)(GLenum light
, GLenum pname
, GLint
*params
)
558 DISPATCH(GetLightiv
, (light
, pname
, params
), (F
, ";"));
561 KEYWORD1
void KEYWORD2
NAME(GetMapdv
)(GLenum target
, GLenum query
, GLdouble
*v
)
563 DISPATCH(GetMapdv
, (target
, query
, v
), (F
, ";"));
566 KEYWORD1
void KEYWORD2
NAME(GetMapfv
)(GLenum target
, GLenum query
, GLfloat
*v
)
568 DISPATCH(GetMapfv
, (target
, query
, v
), (F
, ";"));
571 KEYWORD1
void KEYWORD2
NAME(GetMapiv
)(GLenum target
, GLenum query
, GLint
*v
)
573 DISPATCH(GetMapiv
, (target
, query
, v
), (F
, ";"));
576 KEYWORD1
void KEYWORD2
NAME(GetMaterialfv
)(GLenum face
, GLenum pname
, GLfloat
*params
)
578 DISPATCH(GetMaterialfv
, (face
, pname
, params
), (F
, ";"));
581 KEYWORD1
void KEYWORD2
NAME(GetMaterialiv
)(GLenum face
, GLenum pname
, GLint
*params
)
583 DISPATCH(GetMaterialiv
, (face
, pname
, params
), (F
, ";"));
586 KEYWORD1
void KEYWORD2
NAME(GetPixelMapfv
)(GLenum map
, GLfloat
*values
)
588 DISPATCH(GetPixelMapfv
, (map
, values
), (F
, ";"));
591 KEYWORD1
void KEYWORD2
NAME(GetPixelMapuiv
)(GLenum map
, GLuint
*values
)
593 DISPATCH(GetPixelMapuiv
, (map
, values
), (F
, ";"));
596 KEYWORD1
void KEYWORD2
NAME(GetPixelMapusv
)(GLenum map
, GLushort
*values
)
598 DISPATCH(GetPixelMapusv
, (map
, values
), (F
, ";"));
601 KEYWORD1
void KEYWORD2
NAME(GetPolygonStipple
)(GLubyte
*mask
)
603 DISPATCH(GetPolygonStipple
, (mask
), (F
, ";"));
606 KEYWORD1
const GLubyte
* KEYWORD2
NAME(GetString
)(GLenum name
)
608 RETURN_DISPATCH(GetString
, (name
), (F
, "glGetString(0x%x);", name
));
611 KEYWORD1
void KEYWORD2
NAME(GetTexEnvfv
)(GLenum target
, GLenum pname
, GLfloat
*params
)
613 DISPATCH(GetTexEnvfv
, (target
, pname
, params
), (F
, ";"));
616 KEYWORD1
void KEYWORD2
NAME(GetTexEnviv
)(GLenum target
, GLenum pname
, GLint
*params
)
618 DISPATCH(GetTexEnviv
, (target
, pname
, params
), (F
, ";"));
621 KEYWORD1
void KEYWORD2
NAME(GetTexGeniv
)(GLenum target
, GLenum pname
, GLint
*params
)
623 DISPATCH(GetTexGeniv
, (target
, pname
, params
), (F
, ";"));
626 KEYWORD1
void KEYWORD2
NAME(GetTexGendv
)(GLenum target
, GLenum pname
, GLdouble
*params
)
628 DISPATCH(GetTexGendv
, (target
, pname
, params
), (F
, ";"));
631 KEYWORD1
void KEYWORD2
NAME(GetTexGenfv
)(GLenum target
, GLenum pname
, GLfloat
*params
)
633 DISPATCH(GetTexGenfv
, (target
, pname
, params
), (F
, ";"));
636 KEYWORD1
void KEYWORD2
NAME(GetTexImage
)(GLenum target
, GLint level
, GLenum format
, GLenum type
, GLvoid
*pixels
)
638 DISPATCH(GetTexImage
, (target
, level
, format
, type
, pixels
), (F
, ";"));
641 KEYWORD1
void KEYWORD2
NAME(GetTexLevelParameterfv
)(GLenum target
, GLint level
, GLenum pname
, GLfloat
*params
)
643 DISPATCH(GetTexLevelParameterfv
, (target
, level
, pname
, params
), (F
, ";"));
646 KEYWORD1
void KEYWORD2
NAME(GetTexLevelParameteriv
)(GLenum target
, GLint level
, GLenum pname
, GLint
*params
)
648 DISPATCH(GetTexLevelParameteriv
, (target
, level
, pname
, params
), (F
, ";"));
651 KEYWORD1
void KEYWORD2
NAME(GetTexParameterfv
)(GLenum target
, GLenum pname
, GLfloat
*params
)
653 DISPATCH(GetTexParameterfv
, (target
, pname
, params
), (F
, ";"));
656 KEYWORD1
void KEYWORD2
NAME(GetTexParameteriv
)(GLenum target
, GLenum pname
, GLint
*params
)
658 DISPATCH(GetTexParameteriv
, (target
, pname
, params
), (F
, ";"));
661 KEYWORD1
void KEYWORD2
NAME(Hint
)(GLenum target
, GLenum mode
)
663 DISPATCH(Hint
, (target
, mode
), (F
, ";"));
666 KEYWORD1
void KEYWORD2
NAME(Indexd
)(GLdouble c
)
668 DISPATCH(Indexd
, (c
), (F
, ";"));
671 KEYWORD1
void KEYWORD2
NAME(Indexdv
)(const GLdouble
*c
)
673 DISPATCH(Indexdv
, (c
), (F
, ";"));
676 KEYWORD1
void KEYWORD2
NAME(Indexf
)(GLfloat c
)
678 DISPATCH(Indexf
, (c
), (F
, ";"));
681 KEYWORD1
void KEYWORD2
NAME(Indexfv
)(const GLfloat
*c
)
683 DISPATCH(Indexfv
, (c
), (F
, ";"));
686 KEYWORD1
void KEYWORD2
NAME(Indexi
)(GLint c
)
688 DISPATCH(Indexi
, (c
), (F
, ";"));
691 KEYWORD1
void KEYWORD2
NAME(Indexiv
)(const GLint
*c
)
693 DISPATCH(Indexiv
, (c
), (F
, ";"));
696 KEYWORD1
void KEYWORD2
NAME(Indexs
)(GLshort c
)
698 DISPATCH(Indexs
, (c
), (F
, ";"));
701 KEYWORD1
void KEYWORD2
NAME(Indexsv
)(const GLshort
*c
)
703 DISPATCH(Indexsv
, (c
), (F
, ";"));
706 KEYWORD1
void KEYWORD2
NAME(IndexMask
)(GLuint mask
)
708 DISPATCH(IndexMask
, (mask
), (F
, ";"));
711 KEYWORD1
void KEYWORD2
NAME(InitNames
)(void)
713 DISPATCH(InitNames
, (), (F
, ";"));
716 KEYWORD1 GLboolean KEYWORD2
NAME(IsEnabled
)(GLenum cap
)
718 RETURN_DISPATCH(IsEnabled
, (cap
), (F
, "glIsEnabled(0x%x);", cap
));
721 KEYWORD1 GLboolean KEYWORD2
NAME(IsList
)(GLuint list
)
723 RETURN_DISPATCH(IsList
, (list
), (F
, "glIsList(%u);", list
));
726 KEYWORD1
void KEYWORD2
NAME(Lightf
)(GLenum light
, GLenum pname
, GLfloat param
)
728 DISPATCH(Lightf
, (light
, pname
, param
), (F
, ";"));
731 KEYWORD1
void KEYWORD2
NAME(Lighti
)(GLenum light
, GLenum pname
, GLint param
)
733 DISPATCH(Lighti
, (light
, pname
, param
), (F
, ";"));
736 KEYWORD1
void KEYWORD2
NAME(Lightfv
)(GLenum light
, GLenum pname
, const GLfloat
*params
)
738 DISPATCH(Lightfv
, (light
, pname
, params
), (F
, ";"));
741 KEYWORD1
void KEYWORD2
NAME(Lightiv
)(GLenum light
, GLenum pname
, const GLint
*params
)
743 DISPATCH(Lightiv
, (light
, pname
, params
), (F
, ";"));
746 KEYWORD1
void KEYWORD2
NAME(LightModelf
)(GLenum pname
, GLfloat param
)
748 DISPATCH(LightModelf
, (pname
, param
), (F
, ";"));
751 KEYWORD1
void KEYWORD2
NAME(LightModeli
)(GLenum pname
, GLint param
)
753 DISPATCH(LightModeli
, (pname
, param
), (F
, ";"));
756 KEYWORD1
void KEYWORD2
NAME(LightModelfv
)(GLenum pname
, const GLfloat
*params
)
758 DISPATCH(LightModelfv
, (pname
, params
), (F
, ";"));
761 KEYWORD1
void KEYWORD2
NAME(LightModeliv
)(GLenum pname
, const GLint
*params
)
763 DISPATCH(LightModeliv
, (pname
, params
), (F
, ";"));
766 KEYWORD1
void KEYWORD2
NAME(LineWidth
)(GLfloat width
)
768 DISPATCH(LineWidth
, (width
), (F
, ";"));
771 KEYWORD1
void KEYWORD2
NAME(LineStipple
)(GLint factor
, GLushort pattern
)
773 DISPATCH(LineStipple
, (factor
, pattern
), (F
, ";"));
776 KEYWORD1
void KEYWORD2
NAME(ListBase
)(GLuint base
)
778 DISPATCH(ListBase
, (base
), (F
, ";"));
781 KEYWORD1
void KEYWORD2
NAME(LoadIdentity
)(void)
783 DISPATCH(LoadIdentity
, (), (F
, ";"));
786 KEYWORD1
void KEYWORD2
NAME(LoadMatrixd
)(const GLdouble
*m
)
788 DISPATCH(LoadMatrixd
, (m
), (F
, ";"));
791 KEYWORD1
void KEYWORD2
NAME(LoadMatrixf
)(const GLfloat
*m
)
793 DISPATCH(LoadMatrixf
, (m
), (F
, ";"));
796 KEYWORD1
void KEYWORD2
NAME(LoadName
)(GLuint name
)
798 DISPATCH(LoadName
, (name
), (F
, ";"));
801 KEYWORD1
void KEYWORD2
NAME(LogicOp
)(GLenum opcode
)
803 DISPATCH(LogicOp
, (opcode
), (F
, ";"));
806 KEYWORD1
void KEYWORD2
NAME(Map1d
)(GLenum target
, GLdouble u1
, GLdouble u2
, GLint stride
, GLint order
, const GLdouble
*points
)
808 DISPATCH(Map1d
, (target
, u1
, u2
, stride
, order
, points
), (F
, ";"));
811 KEYWORD1
void KEYWORD2
NAME(Map1f
)(GLenum target
, GLfloat u1
, GLfloat u2
, GLint stride
, GLint order
, const GLfloat
*points
)
813 DISPATCH(Map1f
, (target
, u1
, u2
, stride
, order
, points
), (F
, ";"));
816 KEYWORD1
void KEYWORD2
NAME(Map2d
)(GLenum target
, GLdouble u1
, GLdouble u2
, GLint ustride
, GLint uorder
, GLdouble v1
, GLdouble v2
, GLint vstride
, GLint vorder
, const GLdouble
*points
)
818 DISPATCH(Map2d
, (target
, u1
, u2
, ustride
, uorder
, v1
, v2
, vstride
, vorder
, points
), (F
, ";"));
821 KEYWORD1
void KEYWORD2
NAME(Map2f
)(GLenum target
, GLfloat u1
, GLfloat u2
, GLint ustride
, GLint uorder
, GLfloat v1
, GLfloat v2
, GLint vstride
, GLint vorder
, const GLfloat
*points
)
823 DISPATCH(Map2f
, (target
, u1
, u2
, ustride
, uorder
, v1
, v2
, vstride
, vorder
, points
), (F
, ";"));
826 KEYWORD1
void KEYWORD2
NAME(MapGrid1d
)(GLint un
, GLdouble u1
, GLdouble u2
)
828 DISPATCH(MapGrid1d
, (un
, u1
, u2
), (F
, ";"));
831 KEYWORD1
void KEYWORD2
NAME(MapGrid1f
)(GLint un
, GLfloat u1
, GLfloat u2
)
833 DISPATCH(MapGrid1f
, (un
, u1
, u2
), (F
, ";"));
836 KEYWORD1
void KEYWORD2
NAME(MapGrid2d
)(GLint un
, GLdouble u1
, GLdouble u2
, GLint vn
, GLdouble v1
, GLdouble v2
)
838 DISPATCH(MapGrid2d
, (un
, u1
, u2
, vn
, v1
, v2
), (F
, ";"));
841 KEYWORD1
void KEYWORD2
NAME(MapGrid2f
)(GLint un
, GLfloat u1
, GLfloat u2
, GLint vn
, GLfloat v1
, GLfloat v2
)
843 DISPATCH(MapGrid2f
, (un
, u1
, u2
, vn
, v1
, v2
), (F
, ";"));
846 KEYWORD1
void KEYWORD2
NAME(Materialf
)(GLenum face
, GLenum pname
, GLfloat param
)
848 DISPATCH(Materialf
, (face
, pname
, param
), (F
, ";"));
851 KEYWORD1
void KEYWORD2
NAME(Materiali
)(GLenum face
, GLenum pname
, GLint param
)
853 DISPATCH(Materiali
, (face
, pname
, param
), (F
, ";"));
856 KEYWORD1
void KEYWORD2
NAME(Materialfv
)(GLenum face
, GLenum pname
, const GLfloat
*params
)
858 DISPATCH(Materialfv
, (face
, pname
, params
), (F
, ";"));
861 KEYWORD1
void KEYWORD2
NAME(Materialiv
)(GLenum face
, GLenum pname
, const GLint
*params
)
863 DISPATCH(Materialiv
, (face
, pname
, params
), (F
, ";"));
866 KEYWORD1
void KEYWORD2
NAME(MatrixMode
)(GLenum mode
)
868 DISPATCH(MatrixMode
, (mode
), (F
, ";"));
871 KEYWORD1
void KEYWORD2
NAME(MultMatrixd
)(const GLdouble
*m
)
873 DISPATCH(MultMatrixd
, (m
), (F
, ";"));
876 KEYWORD1
void KEYWORD2
NAME(MultMatrixf
)(const GLfloat
*m
)
878 DISPATCH(MultMatrixf
, (m
), (F
, ";"));
881 KEYWORD1
void KEYWORD2
NAME(NewList
)(GLuint list
, GLenum mode
)
883 DISPATCH(NewList
, (list
, mode
), (F
, ";"));
886 KEYWORD1
void KEYWORD2
NAME(Normal3b
)(GLbyte nx
, GLbyte ny
, GLbyte nz
)
888 DISPATCH(Normal3b
, (nx
, ny
, nz
), (F
, "glNormal3b(%d, %d, %d);", nx
, ny
, nz
));
891 KEYWORD1
void KEYWORD2
NAME(Normal3bv
)(const GLbyte
*v
)
893 DISPATCH(Normal3bv
, (v
), (F
, "glNormal3bv(%p);", v
));
896 KEYWORD1
void KEYWORD2
NAME(Normal3d
)(GLdouble nx
, GLdouble ny
, GLdouble nz
)
898 DISPATCH(Normal3d
, (nx
, ny
, nz
), (F
, "glNormal3d(%f, %f, %f);", nx
, ny
, nz
));
901 KEYWORD1
void KEYWORD2
NAME(Normal3dv
)(const GLdouble
*v
)
903 DISPATCH(Normal3dv
, (v
), (F
, "glNormal3dv(%p);", v
));
906 KEYWORD1
void KEYWORD2
NAME(Normal3f
)(GLfloat nx
, GLfloat ny
, GLfloat nz
)
908 DISPATCH(Normal3f
, (nx
, ny
, nz
), (F
, "glNormal3f(%g, %g, %g);", nx
, ny
, nz
));
911 KEYWORD1
void KEYWORD2
NAME(Normal3fv
)(const GLfloat
*v
)
913 DISPATCH(Normal3fv
, (v
), (F
, "glNormal3fv(%p);", v
));
916 KEYWORD1
void KEYWORD2
NAME(Normal3i
)(GLint nx
, GLint ny
, GLint nz
)
918 DISPATCH(Normal3i
, (nx
, ny
, nz
), (F
, "glNormal3i(%d, %d, %d);", nx
, ny
, nz
));
921 KEYWORD1
void KEYWORD2
NAME(Normal3iv
)(const GLint
*v
)
923 DISPATCH(Normal3iv
, (v
), (F
, "glNormal3iv(%p);", v
));
926 KEYWORD1
void KEYWORD2
NAME(Normal3s
)(GLshort nx
, GLshort ny
, GLshort nz
)
928 DISPATCH(Normal3s
, (nx
, ny
, nz
), (F
, "glNormal3s(%d, %d, %d);", nx
, ny
, nz
));
931 KEYWORD1
void KEYWORD2
NAME(Normal3sv
)(const GLshort
*v
)
933 DISPATCH(Normal3sv
, (v
), (F
, "glNormal3sv(%p);", v
));
936 KEYWORD1
void KEYWORD2
NAME(Ortho
)(GLdouble left
, GLdouble right
, GLdouble bottom
, GLdouble top
, GLdouble nearval
, GLdouble farval
)
938 DISPATCH(Ortho
, (left
, right
, bottom
, top
, nearval
, farval
), (F
, "glOrtho(%f, %f, %f, %f, %f, %f);", left
, right
, bottom
, top
, nearval
, farval
));
941 KEYWORD1
void KEYWORD2
NAME(PassThrough
)(GLfloat token
)
943 DISPATCH(PassThrough
, (token
), (F
, "glPassThrough(%f);", token
));
946 KEYWORD1
void KEYWORD2
NAME(PixelMapfv
)(GLenum map
, GLint mapsize
, const GLfloat
*values
)
948 DISPATCH(PixelMapfv
, (map
, mapsize
, values
), (F
, ";"));
951 KEYWORD1
void KEYWORD2
NAME(PixelMapuiv
)(GLenum map
, GLint mapsize
, const GLuint
*values
)
953 DISPATCH(PixelMapuiv
, (map
, mapsize
, values
), (F
, ";"));
956 KEYWORD1
void KEYWORD2
NAME(PixelMapusv
)(GLenum map
, GLint mapsize
, const GLushort
*values
)
958 DISPATCH(PixelMapusv
, (map
, mapsize
, values
), (F
, ";"));
961 KEYWORD1
void KEYWORD2
NAME(PixelStoref
)(GLenum pname
, GLfloat param
)
963 DISPATCH(PixelStoref
, (pname
, param
), (F
, ";"));
966 KEYWORD1
void KEYWORD2
NAME(PixelStorei
)(GLenum pname
, GLint param
)
968 DISPATCH(PixelStorei
, (pname
, param
), (F
, ";"));
971 KEYWORD1
void KEYWORD2
NAME(PixelTransferf
)(GLenum pname
, GLfloat param
)
973 DISPATCH(PixelTransferf
, (pname
, param
), (F
, ";"));
976 KEYWORD1
void KEYWORD2
NAME(PixelTransferi
)(GLenum pname
, GLint param
)
978 DISPATCH(PixelTransferi
, (pname
, param
), (F
, ";"));
981 KEYWORD1
void KEYWORD2
NAME(PixelZoom
)(GLfloat xfactor
, GLfloat yfactor
)
983 DISPATCH(PixelZoom
, (xfactor
, yfactor
), (F
, ";"));
986 KEYWORD1
void KEYWORD2
NAME(PointSize
)(GLfloat size
)
988 DISPATCH(PointSize
, (size
), (F
, ";"));
991 KEYWORD1
void KEYWORD2
NAME(PolygonMode
)(GLenum face
, GLenum mode
)
993 DISPATCH(PolygonMode
, (face
, mode
), (F
, ";"));
996 KEYWORD1
void KEYWORD2
NAME(PolygonStipple
)(const GLubyte
*pattern
)
998 DISPATCH(PolygonStipple
, (pattern
), (F
, ";"));
1001 KEYWORD1
void KEYWORD2
NAME(PopAttrib
)(void)
1003 DISPATCH(PopAttrib
, (), (F
, "glPopAttrib();"));
1006 KEYWORD1
void KEYWORD2
NAME(PopMatrix
)(void)
1008 DISPATCH(PopMatrix
, (), (F
, "glPopMatrix();"));
1011 KEYWORD1
void KEYWORD2
NAME(PopName
)(void)
1013 DISPATCH(PopName
, (), (F
, "glPopName();"));
1016 KEYWORD1
void KEYWORD2
NAME(PushAttrib
)(GLbitfield mask
)
1018 DISPATCH(PushAttrib
, (mask
), (F
, "glPushAttrib(0x%x)", mask
));
1021 KEYWORD1
void KEYWORD2
NAME(PushMatrix
)(void)
1023 DISPATCH(PushMatrix
, (), (F
, "glPushMatrix();"));
1026 KEYWORD1
void KEYWORD2
NAME(PushName
)(GLuint name
)
1028 DISPATCH(PushName
, (name
), (F
, "glPushName(%u)", name
));
1031 KEYWORD1
void KEYWORD2
NAME(RasterPos2d
)(GLdouble x
, GLdouble y
)
1033 DISPATCH(RasterPos2d
, (x
, y
), (F
, ";"));
1036 KEYWORD1
void KEYWORD2
NAME(RasterPos2f
)(GLfloat x
, GLfloat y
)
1038 DISPATCH(RasterPos2f
, (x
, y
), (F
, ";"));
1041 KEYWORD1
void KEYWORD2
NAME(RasterPos2i
)(GLint x
, GLint y
)
1043 DISPATCH(RasterPos2i
, (x
, y
), (F
, ";"));
1046 KEYWORD1
void KEYWORD2
NAME(RasterPos2s
)(GLshort x
, GLshort y
)
1048 DISPATCH(RasterPos2s
, (x
, y
), (F
, ";"));
1051 KEYWORD1
void KEYWORD2
NAME(RasterPos3d
)(GLdouble x
, GLdouble y
, GLdouble z
)
1053 DISPATCH(RasterPos3d
, (x
, y
, z
), (F
, ";"));
1056 KEYWORD1
void KEYWORD2
NAME(RasterPos3f
)(GLfloat x
, GLfloat y
, GLfloat z
)
1058 DISPATCH(RasterPos3f
, (x
, y
, z
), (F
, ";"));
1061 KEYWORD1
void KEYWORD2
NAME(RasterPos3i
)(GLint x
, GLint y
, GLint z
)
1063 DISPATCH(RasterPos3i
, (x
, y
, z
), (F
, ";"));
1066 KEYWORD1
void KEYWORD2
NAME(RasterPos3s
)(GLshort x
, GLshort y
, GLshort z
)
1068 DISPATCH(RasterPos3s
, (x
, y
, z
), (F
, ";"));
1071 KEYWORD1
void KEYWORD2
NAME(RasterPos4d
)(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
)
1073 DISPATCH(RasterPos4d
, (x
, y
, z
, w
), (F
, ";"));
1076 KEYWORD1
void KEYWORD2
NAME(RasterPos4f
)(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
)
1078 DISPATCH(RasterPos4f
, (x
, y
, z
, w
), (F
, ";"));
1081 KEYWORD1
void KEYWORD2
NAME(RasterPos4i
)(GLint x
, GLint y
, GLint z
, GLint w
)
1083 DISPATCH(RasterPos4i
, (x
, y
, z
, w
), (F
, ";"));
1086 KEYWORD1
void KEYWORD2
NAME(RasterPos4s
)(GLshort x
, GLshort y
, GLshort z
, GLshort w
)
1088 DISPATCH(RasterPos4s
, (x
, y
, z
, w
), (F
, ";"));
1091 KEYWORD1
void KEYWORD2
NAME(RasterPos2dv
)(const GLdouble
*v
)
1093 DISPATCH(RasterPos2dv
, (v
), (F
, ";"));
1096 KEYWORD1
void KEYWORD2
NAME(RasterPos2fv
)(const GLfloat
*v
)
1098 DISPATCH(RasterPos2fv
, (v
), (F
, ";"));
1101 KEYWORD1
void KEYWORD2
NAME(RasterPos2iv
)(const GLint
*v
)
1103 DISPATCH(RasterPos2iv
, (v
), (F
, ";"));
1106 KEYWORD1
void KEYWORD2
NAME(RasterPos2sv
)(const GLshort
*v
)
1108 DISPATCH(RasterPos2sv
, (v
), (F
, ";"));
1111 KEYWORD1
void KEYWORD2
NAME(RasterPos3dv
)(const GLdouble
*v
)
1113 DISPATCH(RasterPos3dv
, (v
), (F
, ";"));
1116 KEYWORD1
void KEYWORD2
NAME(RasterPos3fv
)(const GLfloat
*v
)
1118 DISPATCH(RasterPos3fv
, (v
), (F
, ";"));
1121 KEYWORD1
void KEYWORD2
NAME(RasterPos3iv
)(const GLint
*v
)
1123 DISPATCH(RasterPos3iv
, (v
), (F
, ";"));
1126 KEYWORD1
void KEYWORD2
NAME(RasterPos3sv
)(const GLshort
*v
)
1128 DISPATCH(RasterPos3sv
, (v
), (F
, ";"));
1131 KEYWORD1
void KEYWORD2
NAME(RasterPos4dv
)(const GLdouble
*v
)
1133 DISPATCH(RasterPos4dv
, (v
), (F
, ";"));
1136 KEYWORD1
void KEYWORD2
NAME(RasterPos4fv
)(const GLfloat
*v
)
1138 DISPATCH(RasterPos4fv
, (v
), (F
, ";"));
1141 KEYWORD1
void KEYWORD2
NAME(RasterPos4iv
)(const GLint
*v
)
1143 DISPATCH(RasterPos4iv
, (v
), (F
, ";"));
1146 KEYWORD1
void KEYWORD2
NAME(RasterPos4sv
)(const GLshort
*v
)
1148 DISPATCH(RasterPos4sv
, (v
), (F
, ";"));
1151 KEYWORD1
void KEYWORD2
NAME(ReadBuffer
)(GLenum mode
)
1153 DISPATCH(ReadBuffer
, (mode
), (F
, ";"));
1156 KEYWORD1
void KEYWORD2
NAME(ReadPixels
)(GLint x
, GLint y
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, GLvoid
*pixels
)
1158 DISPATCH(ReadPixels
, (x
, y
, width
, height
, format
, type
, pixels
), (F
, ";"));
1161 KEYWORD1
void KEYWORD2
NAME(Rectd
)(GLdouble x1
, GLdouble y1
, GLdouble x2
, GLdouble y2
)
1163 DISPATCH(Rectd
, (x1
, y1
, x2
, y2
), (F
, ";"));
1166 KEYWORD1
void KEYWORD2
NAME(Rectdv
)(const GLdouble
*v1
, const GLdouble
*v2
)
1168 DISPATCH(Rectdv
, (v1
, v2
), (F
, ";"));
1171 KEYWORD1
void KEYWORD2
NAME(Rectf
)(GLfloat x1
, GLfloat y1
, GLfloat x2
, GLfloat y2
)
1173 DISPATCH(Rectf
, (x1
, y1
, x2
, y2
), (F
, ";"));
1176 KEYWORD1
void KEYWORD2
NAME(Rectfv
)(const GLfloat
*v1
, const GLfloat
*v2
)
1178 DISPATCH(Rectfv
, (v1
, v2
), (F
, ";"));
1181 KEYWORD1
void KEYWORD2
NAME(Recti
)(GLint x1
, GLint y1
, GLint x2
, GLint y2
)
1183 DISPATCH(Recti
, (x1
, y1
, x2
, y2
), (F
, ";"));
1186 KEYWORD1
void KEYWORD2
NAME(Rectiv
)(const GLint
*v1
, const GLint
*v2
)
1188 DISPATCH(Rectiv
, (v1
, v2
), (F
, ";"));
1191 KEYWORD1
void KEYWORD2
NAME(Rects
)(GLshort x1
, GLshort y1
, GLshort x2
, GLshort y2
)
1193 DISPATCH(Rects
, (x1
, y1
, x2
, y2
), (F
, ";"));
1196 KEYWORD1
void KEYWORD2
NAME(Rectsv
)(const GLshort
*v1
, const GLshort
*v2
)
1198 DISPATCH(Rectsv
, (v1
, v2
), (F
, ";"));
1201 KEYWORD1 GLint KEYWORD2
NAME(RenderMode
)(GLenum mode
)
1203 RETURN_DISPATCH(RenderMode
, (mode
), (F
, "glRenderMode(0x%x);", mode
));
1206 KEYWORD1
void KEYWORD2
NAME(Rotated
)(GLdouble angle
, GLdouble x
, GLdouble y
, GLdouble z
)
1208 DISPATCH(Rotated
, (angle
, x
, y
, z
), (F
, ";"));
1211 KEYWORD1
void KEYWORD2
NAME(Rotatef
)(GLfloat angle
, GLfloat x
, GLfloat y
, GLfloat z
)
1213 DISPATCH(Rotatef
, (angle
, x
, y
, z
), (F
, "glRotatef(%g, %g, %g, %g);", angle
, x
, y
, z
));
1216 KEYWORD1
void KEYWORD2
NAME(SelectBuffer
)(GLsizei size
, GLuint
*buffer
)
1218 DISPATCH(SelectBuffer
, (size
, buffer
), (F
, ";"));
1221 KEYWORD1
void KEYWORD2
NAME(Scaled
)(GLdouble x
, GLdouble y
, GLdouble z
)
1223 DISPATCH(Scaled
, (x
, y
, z
), (F
, ";"));
1226 KEYWORD1
void KEYWORD2
NAME(Scalef
)(GLfloat x
, GLfloat y
, GLfloat z
)
1228 DISPATCH(Scalef
, (x
, y
, z
), (F
, "glScalef(%g, %g, %g);", x
, y
, z
));
1231 KEYWORD1
void KEYWORD2
NAME(Scissor
)(GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1233 DISPATCH(Scissor
, (x
, y
, width
, height
), (F
, "glScissor(%d, %d, %d, %d);", x
, y
, width
, height
));
1236 KEYWORD1
void KEYWORD2
NAME(ShadeModel
)(GLenum mode
)
1238 DISPATCH(ShadeModel
, (mode
), (F
, "glShadeModel(0x%x);", mode
));
1241 KEYWORD1
void KEYWORD2
NAME(StencilFunc
)(GLenum func
, GLint ref
, GLuint mask
)
1243 DISPATCH(StencilFunc
, (func
, ref
, mask
), (F
, ";"));
1246 KEYWORD1
void KEYWORD2
NAME(StencilMask
)(GLuint mask
)
1248 DISPATCH(StencilMask
, (mask
), (F
, ";"));
1251 KEYWORD1
void KEYWORD2
NAME(StencilOp
)(GLenum fail
, GLenum zfail
, GLenum zpass
)
1253 DISPATCH(StencilOp
, (fail
, zfail
, zpass
), (F
, ";"));
1256 KEYWORD1
void KEYWORD2
NAME(TexCoord1d
)(GLdouble s
)
1258 DISPATCH(TexCoord1d
, (s
), (F
, ";"));
1261 KEYWORD1
void KEYWORD2
NAME(TexCoord1f
)(GLfloat s
)
1263 DISPATCH(TexCoord1f
, (s
), (F
, ";"));
1266 KEYWORD1
void KEYWORD2
NAME(TexCoord1i
)(GLint s
)
1268 DISPATCH(TexCoord1i
, (s
), (F
, ";"));
1271 KEYWORD1
void KEYWORD2
NAME(TexCoord1s
)(GLshort s
)
1273 DISPATCH(TexCoord1s
, (s
), (F
, ";"));
1276 KEYWORD1
void KEYWORD2
NAME(TexCoord2d
)(GLdouble s
, GLdouble t
)
1278 DISPATCH(TexCoord2d
, (s
, t
), (F
, ";"));
1281 KEYWORD1
void KEYWORD2
NAME(TexCoord2f
)(GLfloat s
, GLfloat t
)
1283 DISPATCH(TexCoord2f
, (s
, t
), (F
, ";"));
1286 KEYWORD1
void KEYWORD2
NAME(TexCoord2s
)(GLshort s
, GLshort t
)
1288 DISPATCH(TexCoord2s
, (s
, t
), (F
, ";"));
1291 KEYWORD1
void KEYWORD2
NAME(TexCoord2i
)(GLint s
, GLint t
)
1293 DISPATCH(TexCoord2i
, (s
, t
), (F
, ";"));
1296 KEYWORD1
void KEYWORD2
NAME(TexCoord3d
)(GLdouble s
, GLdouble t
, GLdouble r
)
1298 DISPATCH(TexCoord3d
, (s
, t
, r
), (F
, ";"));
1301 KEYWORD1
void KEYWORD2
NAME(TexCoord3f
)(GLfloat s
, GLfloat t
, GLfloat r
)
1303 DISPATCH(TexCoord3f
, (s
, t
, r
), (F
, ";"));
1306 KEYWORD1
void KEYWORD2
NAME(TexCoord3i
)(GLint s
, GLint t
, GLint r
)
1308 DISPATCH(TexCoord3i
, (s
, t
, r
), (F
, ";"));
1311 KEYWORD1
void KEYWORD2
NAME(TexCoord3s
)(GLshort s
, GLshort t
, GLshort r
)
1313 DISPATCH(TexCoord3s
, (s
, t
, r
), (F
, ";"));
1316 KEYWORD1
void KEYWORD2
NAME(TexCoord4d
)(GLdouble s
, GLdouble t
, GLdouble r
, GLdouble q
)
1318 DISPATCH(TexCoord4d
, (s
, t
, r
, q
), (F
, ";"));
1321 KEYWORD1
void KEYWORD2
NAME(TexCoord4f
)(GLfloat s
, GLfloat t
, GLfloat r
, GLfloat q
)
1323 DISPATCH(TexCoord4f
, (s
, t
, r
, q
), (F
, ";"));
1326 KEYWORD1
void KEYWORD2
NAME(TexCoord4i
)(GLint s
, GLint t
, GLint r
, GLint q
)
1328 DISPATCH(TexCoord4i
, (s
, t
, r
, q
), (F
, ";"));
1331 KEYWORD1
void KEYWORD2
NAME(TexCoord4s
)(GLshort s
, GLshort t
, GLshort r
, GLshort q
)
1333 DISPATCH(TexCoord4s
, (s
, t
, r
, q
), (F
, ";"));
1336 KEYWORD1
void KEYWORD2
NAME(TexCoord1dv
)(const GLdouble
*v
)
1338 DISPATCH(TexCoord1dv
, (v
), (F
, ";"));
1341 KEYWORD1
void KEYWORD2
NAME(TexCoord1fv
)(const GLfloat
*v
)
1343 DISPATCH(TexCoord1fv
, (v
), (F
, ";"));
1346 KEYWORD1
void KEYWORD2
NAME(TexCoord1iv
)(const GLint
*v
)
1348 DISPATCH(TexCoord1iv
, (v
), (F
, ";"));
1351 KEYWORD1
void KEYWORD2
NAME(TexCoord1sv
)(const GLshort
*v
)
1353 DISPATCH(TexCoord1sv
, (v
), (F
, ";"));
1356 KEYWORD1
void KEYWORD2
NAME(TexCoord2dv
)(const GLdouble
*v
)
1358 DISPATCH(TexCoord2dv
, (v
), (F
, ";"));
1361 KEYWORD1
void KEYWORD2
NAME(TexCoord2fv
)(const GLfloat
*v
)
1363 DISPATCH(TexCoord2fv
, (v
), (F
, ";"));
1366 KEYWORD1
void KEYWORD2
NAME(TexCoord2iv
)(const GLint
*v
)
1368 DISPATCH(TexCoord2iv
, (v
), (F
, ";"));
1371 KEYWORD1
void KEYWORD2
NAME(TexCoord2sv
)(const GLshort
*v
)
1373 DISPATCH(TexCoord2sv
, (v
), (F
, ";"));
1376 KEYWORD1
void KEYWORD2
NAME(TexCoord3dv
)(const GLdouble
*v
)
1378 DISPATCH(TexCoord3dv
, (v
), (F
, ";"));
1381 KEYWORD1
void KEYWORD2
NAME(TexCoord3fv
)(const GLfloat
*v
)
1383 DISPATCH(TexCoord3fv
, (v
), (F
, ";"));
1386 KEYWORD1
void KEYWORD2
NAME(TexCoord3iv
)(const GLint
*v
)
1388 DISPATCH(TexCoord3iv
, (v
), (F
, ";"));
1391 KEYWORD1
void KEYWORD2
NAME(TexCoord3sv
)(const GLshort
*v
)
1393 DISPATCH(TexCoord3sv
, (v
), (F
, ";"));
1396 KEYWORD1
void KEYWORD2
NAME(TexCoord4dv
)(const GLdouble
*v
)
1398 DISPATCH(TexCoord4dv
, (v
), (F
, ";"));
1401 KEYWORD1
void KEYWORD2
NAME(TexCoord4fv
)(const GLfloat
*v
)
1403 DISPATCH(TexCoord4fv
, (v
), (F
, ";"));
1406 KEYWORD1
void KEYWORD2
NAME(TexCoord4iv
)(const GLint
*v
)
1408 DISPATCH(TexCoord4iv
, (v
), (F
, ";"));
1411 KEYWORD1
void KEYWORD2
NAME(TexCoord4sv
)(const GLshort
*v
)
1413 DISPATCH(TexCoord4sv
, (v
), (F
, ";"));
1416 KEYWORD1
void KEYWORD2
NAME(TexGend
)(GLenum coord
, GLenum pname
, GLdouble param
)
1418 DISPATCH(TexGend
, (coord
, pname
, param
), (F
, ";"));
1421 KEYWORD1
void KEYWORD2
NAME(TexGendv
)(GLenum coord
, GLenum pname
, const GLdouble
*params
)
1423 DISPATCH(TexGendv
, (coord
, pname
, params
), (F
, ";"));
1426 KEYWORD1
void KEYWORD2
NAME(TexGenf
)(GLenum coord
, GLenum pname
, GLfloat param
)
1428 DISPATCH(TexGenf
, (coord
, pname
, param
), (F
, ";"));
1431 KEYWORD1
void KEYWORD2
NAME(TexGenfv
)(GLenum coord
, GLenum pname
, const GLfloat
*params
)
1433 DISPATCH(TexGenfv
, (coord
, pname
, params
), (F
, ";"));
1436 KEYWORD1
void KEYWORD2
NAME(TexGeni
)(GLenum coord
, GLenum pname
, GLint param
)
1438 DISPATCH(TexGeni
, (coord
, pname
, param
), (F
, ";"));
1441 KEYWORD1
void KEYWORD2
NAME(TexGeniv
)(GLenum coord
, GLenum pname
, const GLint
*params
)
1443 DISPATCH(TexGeniv
, (coord
, pname
, params
), (F
, ";"));
1446 KEYWORD1
void KEYWORD2
NAME(TexEnvf
)(GLenum target
, GLenum pname
, GLfloat param
)
1448 DISPATCH(TexEnvf
, (target
, pname
, param
), (F
, ";"));
1451 KEYWORD1
void KEYWORD2
NAME(TexEnvfv
)(GLenum target
, GLenum pname
, const GLfloat
*param
)
1453 DISPATCH(TexEnvfv
, (target
, pname
, param
), (F
, ";"));
1456 KEYWORD1
void KEYWORD2
NAME(TexEnvi
)(GLenum target
, GLenum pname
, GLint param
)
1458 DISPATCH(TexEnvi
, (target
, pname
, param
), (F
, ";"));
1461 KEYWORD1
void KEYWORD2
NAME(TexEnviv
)(GLenum target
, GLenum pname
, const GLint
*param
)
1463 DISPATCH(TexEnviv
, (target
, pname
, param
), (F
, ";"));
1466 KEYWORD1
void KEYWORD2
NAME(TexImage1D
)(GLenum target
, GLint level
, GLint internalformat
, GLsizei width
, GLint border
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1468 DISPATCH(TexImage1D
, (target
, level
, internalformat
, width
, border
, format
, type
, pixels
), (F
, ";"));
1471 KEYWORD1
void KEYWORD2
NAME(TexImage2D
)(GLenum target
, GLint level
, GLint internalformat
, GLsizei width
, GLsizei height
, GLint border
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1473 DISPATCH(TexImage2D
, (target
, level
, internalformat
, width
, height
, border
, format
, type
, pixels
), (F
, ";"));
1476 KEYWORD1
void KEYWORD2
NAME(TexParameterf
)(GLenum target
, GLenum pname
, GLfloat param
)
1478 DISPATCH(TexParameterf
, (target
, pname
, param
), (F
, ";"));
1481 KEYWORD1
void KEYWORD2
NAME(TexParameterfv
)(GLenum target
, GLenum pname
, const GLfloat
*params
)
1483 DISPATCH(TexParameterfv
, (target
, pname
, params
), (F
, ";"));
1486 KEYWORD1
void KEYWORD2
NAME(TexParameteri
)(GLenum target
, GLenum pname
, GLint param
)
1488 DISPATCH(TexParameteri
, (target
, pname
, param
), (F
, ";"));
1491 KEYWORD1
void KEYWORD2
NAME(TexParameteriv
)(GLenum target
, GLenum pname
, const GLint
*params
)
1493 DISPATCH(TexParameteriv
, (target
, pname
, params
), (F
, ";"));
1496 KEYWORD1
void KEYWORD2
NAME(Translated
)(GLdouble x
, GLdouble y
, GLdouble z
)
1498 DISPATCH(Translated
, (x
, y
, z
), (F
, ";"));
1501 KEYWORD1
void KEYWORD2
NAME(Translatef
)(GLfloat x
, GLfloat y
, GLfloat z
)
1503 DISPATCH(Translatef
, (x
, y
, z
), (F
, "glTranslatef(%g, %g, %g);", x
, y
, z
));
1506 KEYWORD1
void KEYWORD2
NAME(Vertex2d
)(GLdouble x
, GLdouble y
)
1508 DISPATCH(Vertex2d
, (x
, y
), (F
, "glVertex2d(%f, %f);", x
, y
));
1511 KEYWORD1
void KEYWORD2
NAME(Vertex2dv
)(const GLdouble
*v
)
1513 DISPATCH(Vertex2dv
, (v
), (F
, "glVertex2dv(%p);", v
));
1516 KEYWORD1
void KEYWORD2
NAME(Vertex2f
)(GLfloat x
, GLfloat y
)
1518 DISPATCH(Vertex2f
, (x
, y
), (F
, "glVertex2f(%g, %g);", x
, y
));
1521 KEYWORD1
void KEYWORD2
NAME(Vertex2fv
)(const GLfloat
*v
)
1523 DISPATCH(Vertex2fv
, (v
), (F
, "glVertex2fv(%p);", v
));
1526 KEYWORD1
void KEYWORD2
NAME(Vertex2i
)(GLint x
, GLint y
)
1528 DISPATCH(Vertex2i
, (x
, y
), (F
, "glVertex2i(%d, %d);", x
, y
));
1531 KEYWORD1
void KEYWORD2
NAME(Vertex2iv
)(const GLint
*v
)
1533 DISPATCH(Vertex2iv
, (v
), (F
, "glVertex2iv(%p);", v
));
1536 KEYWORD1
void KEYWORD2
NAME(Vertex2s
)(GLshort x
, GLshort y
)
1538 DISPATCH(Vertex2s
, (x
, y
), (F
, "glVertex2s(%d, %d);", x
, y
));
1541 KEYWORD1
void KEYWORD2
NAME(Vertex2sv
)(const GLshort
*v
)
1543 DISPATCH(Vertex2sv
, (v
), (F
, "glVertex2sv(%p);", v
));
1546 KEYWORD1
void KEYWORD2
NAME(Vertex3d
)(GLdouble x
, GLdouble y
, GLdouble z
)
1548 DISPATCH(Vertex3d
, (x
, y
, z
), (F
, "glVertex3d(%f, %f, %f);", x
, y
, z
));
1551 KEYWORD1
void KEYWORD2
NAME(Vertex3dv
)(const GLdouble
*v
)
1553 DISPATCH(Vertex3dv
, (v
), (F
, "glVertex3dv(%p);", v
));
1556 KEYWORD1
void KEYWORD2
NAME(Vertex3f
)(GLfloat x
, GLfloat y
, GLfloat z
)
1558 DISPATCH(Vertex3f
, (x
, y
, z
), (F
, "glVertex3f(%g, %g, %g);", x
, y
, z
));
1561 KEYWORD1
void KEYWORD2
NAME(Vertex3fv
)(const GLfloat
*v
)
1563 DISPATCH(Vertex3fv
, (v
), (F
, "glVertex3fv(%p);", v
));
1566 KEYWORD1
void KEYWORD2
NAME(Vertex3i
)(GLint x
, GLint y
, GLint z
)
1568 DISPATCH(Vertex3i
, (x
, y
, z
), (F
, "glVertex3i(%d, %d, %d);", x
, y
, z
));
1571 KEYWORD1
void KEYWORD2
NAME(Vertex3iv
)(const GLint
*v
)
1573 DISPATCH(Vertex3iv
, (v
), (F
, "glVertex3iv(%p);", v
));
1576 KEYWORD1
void KEYWORD2
NAME(Vertex3s
)(GLshort x
, GLshort y
, GLshort z
)
1578 DISPATCH(Vertex3s
, (x
, y
, z
), (F
, "glVertex3s(%d, %d, %d);", x
, y
, z
));
1581 KEYWORD1
void KEYWORD2
NAME(Vertex3sv
)(const GLshort
*v
)
1583 DISPATCH(Vertex3sv
, (v
), (F
, "glVertex3sv(%p);", v
));
1586 KEYWORD1
void KEYWORD2
NAME(Vertex4d
)(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
)
1588 DISPATCH(Vertex4d
, (x
, y
, z
, w
), (F
, "glVertex4d(%f, %f, %f, %f);", x
, y
, z
, w
));
1591 KEYWORD1
void KEYWORD2
NAME(Vertex4dv
)(const GLdouble
*v
)
1593 DISPATCH(Vertex4dv
, (v
), (F
, "glVertex4dv(%p);", v
));
1596 KEYWORD1
void KEYWORD2
NAME(Vertex4f
)(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
)
1598 DISPATCH(Vertex4f
, (x
, y
, z
, w
), (F
, "glVertex4f(%f, %f, %f, %f);", x
, y
, z
, w
));
1601 KEYWORD1
void KEYWORD2
NAME(Vertex4fv
)(const GLfloat
*v
)
1603 DISPATCH(Vertex4fv
, (v
), (F
, "glVertex4fv(%p);", v
));
1606 KEYWORD1
void KEYWORD2
NAME(Vertex4i
)(GLint x
, GLint y
, GLint z
, GLint w
)
1608 DISPATCH(Vertex4i
, (x
, y
, z
, w
), (F
, "glVertex4i(%d, %d, %d, %d);", x
, y
, z
, w
));
1611 KEYWORD1
void KEYWORD2
NAME(Vertex4iv
)(const GLint
*v
)
1613 DISPATCH(Vertex4iv
, (v
), (F
, "glVertex4iv(%p);", v
));
1616 KEYWORD1
void KEYWORD2
NAME(Vertex4s
)(GLshort x
, GLshort y
, GLshort z
, GLshort w
)
1618 DISPATCH(Vertex4s
, (x
, y
, z
, w
), (F
, "glVertex4s(%d, %d, %d, %d);", x
, y
, z
, w
));
1621 KEYWORD1
void KEYWORD2
NAME(Vertex4sv
)(const GLshort
*v
)
1623 DISPATCH(Vertex4sv
, (v
), (F
, "glVertex4sv(%p);", v
));
1626 KEYWORD1
void KEYWORD2
NAME(Viewport
)(GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1628 DISPATCH(Viewport
, (x
, y
, width
, height
), (F
, "glViewport(%d, %d, %d, %d);", x
, y
, width
, height
));
1636 KEYWORD1 GLboolean KEYWORD2
NAME(AreTexturesResident
)(GLsizei n
, const GLuint
*textures
, GLboolean
*residences
)
1638 RETURN_DISPATCH(AreTexturesResident
, (n
, textures
, residences
), (F
, "glAreTexturesResident(%d, %p, %p);", n
, textures
, residences
));
1641 KEYWORD1
void KEYWORD2
NAME(ArrayElement
)(GLint i
)
1643 DISPATCH(ArrayElement
, (i
), (F
, ";"));
1646 KEYWORD1
void KEYWORD2
NAME(BindTexture
)(GLenum target
, GLuint texture
)
1648 DISPATCH(BindTexture
, (target
, texture
), (F
, ";"));
1651 KEYWORD1
void KEYWORD2
NAME(ColorPointer
)(GLint size
, GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1653 DISPATCH(ColorPointer
, (size
, type
, stride
, ptr
), (F
, ";"));
1656 KEYWORD1
void KEYWORD2
NAME(CopyTexImage1D
)(GLenum target
, GLint level
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLint border
)
1658 DISPATCH(CopyTexImage1D
, (target
, level
, internalformat
, x
, y
, width
, border
), (F
, ";"));
1661 KEYWORD1
void KEYWORD2
NAME(CopyTexImage2D
)(GLenum target
, GLint level
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLsizei height
, GLint border
)
1663 DISPATCH(CopyTexImage2D
, (target
, level
, internalformat
, x
, y
, width
, height
, border
), (F
, ";"));
1666 KEYWORD1
void KEYWORD2
NAME(CopyTexSubImage1D
)(GLenum target
, GLint level
, GLint xoffset
, GLint x
, GLint y
, GLsizei width
)
1668 DISPATCH(CopyTexSubImage1D
, (target
, level
, xoffset
, x
, y
, width
), (F
, ";"));
1671 KEYWORD1
void KEYWORD2
NAME(CopyTexSubImage2D
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1673 DISPATCH(CopyTexSubImage2D
, (target
, level
, xoffset
, yoffset
, x
, y
, width
, height
), (F
, ";"));
1676 KEYWORD1
void KEYWORD2
NAME(DeleteTextures
)(GLsizei n
, const GLuint
*textures
)
1678 DISPATCH(DeleteTextures
, (n
, textures
), (F
, ";"));
1681 KEYWORD1
void KEYWORD2
NAME(DisableClientState
)(GLenum cap
)
1683 DISPATCH(DisableClientState
, (cap
), (F
, "glDisableClientState(0x%x);", cap
));
1686 KEYWORD1
void KEYWORD2
NAME(DrawArrays
)(GLenum mode
, GLint first
, GLsizei count
)
1688 DISPATCH(DrawArrays
, (mode
, first
, count
), (F
, ";"));
1691 KEYWORD1
void KEYWORD2
NAME(EdgeFlagPointer
)(GLsizei stride
, const GLvoid
*ptr
)
1693 DISPATCH(EdgeFlagPointer
, (stride
, ptr
), (F
, ";"));
1696 KEYWORD1
void KEYWORD2
NAME(EnableClientState
)(GLenum cap
)
1698 DISPATCH(EnableClientState
, (cap
), (F
, "glEnableClientState(0x%x)", cap
));
1701 KEYWORD1
void KEYWORD2
NAME(GenTextures
)(GLsizei n
, GLuint
*textures
)
1703 DISPATCH(GenTextures
, (n
, textures
), (F
, ";"));
1706 KEYWORD1
void KEYWORD2
NAME(GetPointerv
)(GLenum pname
, GLvoid
**params
)
1708 DISPATCH(GetPointerv
, (pname
, params
), (F
, ";"));
1711 KEYWORD1
void KEYWORD2
NAME(IndexPointer
)(GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1713 DISPATCH(IndexPointer
, (type
, stride
, ptr
), (F
, ";"));
1716 KEYWORD1
void KEYWORD2
NAME(Indexub
)(GLubyte c
)
1718 DISPATCH(Indexub
, (c
), (F
, ";"));
1721 KEYWORD1
void KEYWORD2
NAME(Indexubv
)(const GLubyte
*c
)
1723 DISPATCH(Indexubv
, (c
), (F
, ";"));
1726 KEYWORD1
void KEYWORD2
NAME(InterleavedArrays
)(GLenum format
, GLsizei stride
, const GLvoid
*pointer
)
1728 DISPATCH(InterleavedArrays
, (format
, stride
, pointer
), (F
, ";"));
1731 KEYWORD1 GLboolean KEYWORD2
NAME(IsTexture
)(GLuint texture
)
1733 RETURN_DISPATCH(IsTexture
, (texture
), (F
, "glIsTexture(%u);", texture
));
1736 KEYWORD1
void KEYWORD2
NAME(NormalPointer
)(GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1738 DISPATCH(NormalPointer
, (type
, stride
, ptr
), (F
, ";"));
1741 KEYWORD1
void KEYWORD2
NAME(PolygonOffset
)(GLfloat factor
, GLfloat units
)
1743 DISPATCH(PolygonOffset
, (factor
, units
), (F
, ";"));
1746 KEYWORD1
void KEYWORD2
NAME(PopClientAttrib
)(void)
1748 DISPATCH(PopClientAttrib
, (), (F
, "glPopClientAttrib();"));
1751 KEYWORD1
void KEYWORD2
NAME(PrioritizeTextures
)(GLsizei n
, const GLuint
*textures
, const GLclampf
*priorities
)
1753 DISPATCH(PrioritizeTextures
, (n
, textures
, priorities
), (F
, ";"));
1756 KEYWORD1
void KEYWORD2
NAME(PushClientAttrib
)(GLbitfield mask
)
1758 DISPATCH(PushClientAttrib
, (mask
), (F
, "glPushClientAttrib(0x%x)", mask
));
1761 KEYWORD1
void KEYWORD2
NAME(TexCoordPointer
)(GLint size
, GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1763 DISPATCH(TexCoordPointer
, (size
, type
, stride
, ptr
), (F
, ";"));
1766 KEYWORD1
void KEYWORD2
NAME(TexSubImage1D
)(GLenum target
, GLint level
, GLint xoffset
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1768 DISPATCH(TexSubImage1D
, (target
, level
, xoffset
, width
, format
, type
, pixels
), (F
, ";"));
1771 KEYWORD1
void KEYWORD2
NAME(TexSubImage2D
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1773 DISPATCH(TexSubImage2D
, (target
, level
, xoffset
, yoffset
, width
, height
, format
, type
, pixels
), (F
, ";"));
1776 KEYWORD1
void KEYWORD2
NAME(VertexPointer
)(GLint size
, GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1778 DISPATCH(VertexPointer
, (size
, type
, stride
, ptr
), (F
, ";"));
1786 KEYWORD1
void KEYWORD2
NAME(CopyTexSubImage3D
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1788 DISPATCH(CopyTexSubImage3D
, (target
, level
, xoffset
, yoffset
, zoffset
, x
, y
, width
, height
), (F
, ";"));
1791 KEYWORD1
void KEYWORD2
NAME(DrawRangeElements
)(GLenum mode
, GLuint start
, GLuint end
, GLsizei count
, GLenum type
, const GLvoid
*indices
)
1793 DISPATCH(DrawRangeElements
, (mode
, start
, end
, count
, type
, indices
), (F
, ";"));
1796 KEYWORD1
void KEYWORD2
NAME(TexImage3D
)(GLenum target
, GLint level
, GLint internalformat
, GLsizei width
, GLsizei height
, GLsizei depth
, GLint border
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1798 DISPATCH(TexImage3D
, (target
, level
, internalformat
, width
, height
, depth
, border
, format
, type
, pixels
), (F
, ";"));
1801 KEYWORD1
void KEYWORD2
NAME(TexSubImage3D
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLsizei width
, GLsizei height
, GLsizei depth
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1803 DISPATCH(TexSubImage3D
, (target
, level
, xoffset
, yoffset
, zoffset
, width
, height
, depth
, format
, type
, pixels
), (F
, ";"));
1808 /* GL_ARB_imaging */
1810 KEYWORD1
void KEYWORD2
NAME(BlendColor
)(GLclampf r
, GLclampf g
, GLclampf b
, GLclampf a
)
1812 DISPATCH(BlendColor
, (r
, g
, b
, a
), (F
, ";"));
1815 KEYWORD1
void KEYWORD2
NAME(BlendEquation
)(GLenum mode
)
1817 DISPATCH(BlendEquation
, (mode
), (F
, ";"));
1820 KEYWORD1
void KEYWORD2
NAME(ColorSubTable
)(GLenum target
, GLsizei start
, GLsizei count
, GLenum format
, GLenum type
, const GLvoid
*data
)
1822 DISPATCH(ColorSubTable
, (target
, start
, count
, format
, type
, data
), (F
, ";"));
1825 KEYWORD1
void KEYWORD2
NAME(ColorTable
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*table
)
1827 DISPATCH(ColorTable
, (target
, internalformat
, width
, format
, type
, table
), (F
, ";"));
1830 KEYWORD1
void KEYWORD2
NAME(ColorTableParameterfv
)(GLenum target
, GLenum pname
, const GLfloat
*params
)
1832 DISPATCH(ColorTableParameterfv
, (target
, pname
, params
), (F
, ";"));
1835 KEYWORD1
void KEYWORD2
NAME(ColorTableParameteriv
)(GLenum target
, GLenum pname
, const GLint
*params
)
1837 DISPATCH(ColorTableParameteriv
, (target
, pname
, params
), (F
, ";"));
1840 KEYWORD1
void KEYWORD2
NAME(ConvolutionFilter1D
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*image
)
1842 DISPATCH(ConvolutionFilter1D
, (target
, internalformat
, width
, format
, type
, image
), (F
, ";"));
1845 KEYWORD1
void KEYWORD2
NAME(ConvolutionFilter2D
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*image
)
1847 DISPATCH(ConvolutionFilter2D
, (target
, internalformat
, width
, height
, format
, type
, image
), (F
, ";"));
1850 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameterf
)(GLenum target
, GLenum pname
, GLfloat params
)
1852 DISPATCH(ConvolutionParameterf
, (target
, pname
, params
), (F
, ";"));
1855 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameterfv
)(GLenum target
, GLenum pname
, const GLfloat
*params
)
1857 DISPATCH(ConvolutionParameterfv
, (target
, pname
, params
), (F
, ";"));
1860 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameteri
)(GLenum target
, GLenum pname
, GLint params
)
1862 DISPATCH(ConvolutionParameteri
, (target
, pname
, params
), (F
, ";"));
1865 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameteriv
)(GLenum target
, GLenum pname
, const GLint
*params
)
1867 DISPATCH(ConvolutionParameteriv
, (target
, pname
, params
), (F
, ";"));
1870 KEYWORD1
void KEYWORD2
NAME(CopyColorSubTable
)(GLenum target
, GLsizei start
, GLint x
, GLint y
, GLsizei width
)
1872 DISPATCH(CopyColorSubTable
, (target
, start
, x
, y
, width
), (F
, ";"));
1875 KEYWORD1
void KEYWORD2
NAME(CopyColorTable
)(GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
)
1877 DISPATCH(CopyColorTable
, (target
, internalformat
, x
, y
, width
), (F
, ";"));
1880 KEYWORD1
void KEYWORD2
NAME(CopyConvolutionFilter1D
)(GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
)
1882 DISPATCH(CopyConvolutionFilter1D
, (target
, internalformat
, x
, y
, width
), (F
, ";"));
1885 KEYWORD1
void KEYWORD2
NAME(CopyConvolutionFilter2D
)(GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1887 DISPATCH(CopyConvolutionFilter2D
, (target
, internalformat
, x
, y
, width
, height
), (F
, ";"));
1890 KEYWORD1
void KEYWORD2
NAME(GetColorTable
)(GLenum target
, GLenum format
, GLenum type
, GLvoid
*table
)
1892 DISPATCH(GetColorTable
, (target
, format
, type
, table
), (F
, ";"));
1895 KEYWORD1
void KEYWORD2
NAME(GetColorTableParameterfv
)(GLenum target
, GLenum pname
, GLfloat
*params
)
1897 DISPATCH(GetColorTableParameterfv
, (target
, pname
, params
), (F
, ";"));
1900 KEYWORD1
void KEYWORD2
NAME(GetColorTableParameteriv
)(GLenum target
, GLenum pname
, GLint
*params
)
1902 DISPATCH(GetColorTableParameteriv
, (target
, pname
, params
), (F
, ";"));
1905 KEYWORD1
void KEYWORD2
NAME(GetConvolutionFilter
)(GLenum target
, GLenum format
, GLenum type
, GLvoid
*image
)
1907 DISPATCH(GetConvolutionFilter
, (target
, format
, type
, image
), (F
, ";"));
1910 KEYWORD1
void KEYWORD2
NAME(GetConvolutionParameterfv
)(GLenum target
, GLenum pname
, GLfloat
*params
)
1912 DISPATCH(GetConvolutionParameterfv
, (target
, pname
, params
), (F
, ";"));
1915 KEYWORD1
void KEYWORD2
NAME(GetConvolutionParameteriv
)(GLenum target
, GLenum pname
, GLint
*params
)
1917 DISPATCH(GetConvolutionParameteriv
, (target
, pname
, params
), (F
, ";"));
1920 KEYWORD1
void KEYWORD2
NAME(GetHistogram
)(GLenum target
, GLboolean reset
, GLenum format
, GLenum type
, GLvoid
*values
)
1922 DISPATCH(GetHistogram
, (target
, reset
, format
, type
, values
), (F
, ";"));
1925 KEYWORD1
void KEYWORD2
NAME(GetHistogramParameterfv
)(GLenum target
, GLenum pname
, GLfloat
*params
)
1927 DISPATCH(GetHistogramParameterfv
, (target
, pname
, params
), (F
, ";"));
1930 KEYWORD1
void KEYWORD2
NAME(GetHistogramParameteriv
)(GLenum target
, GLenum pname
, GLint
*params
)
1932 DISPATCH(GetHistogramParameteriv
, (target
, pname
, params
), (F
, ";"));
1935 KEYWORD1
void KEYWORD2
NAME(GetMinmax
)(GLenum target
, GLboolean reset
, GLenum format
, GLenum types
, GLvoid
*values
)
1937 DISPATCH(GetMinmax
, (target
, reset
, format
, types
, values
), (F
, ";"));
1940 KEYWORD1
void KEYWORD2
NAME(GetMinmaxParameterfv
)(GLenum target
, GLenum pname
, GLfloat
*params
)
1942 DISPATCH(GetMinmaxParameterfv
, (target
, pname
, params
), (F
, ";"));
1945 KEYWORD1
void KEYWORD2
NAME(GetMinmaxParameteriv
)(GLenum target
, GLenum pname
, GLint
*params
)
1947 DISPATCH(GetMinmaxParameteriv
, (target
, pname
, params
), (F
, ";"));
1950 KEYWORD1
void KEYWORD2
NAME(GetSeparableFilter
)(GLenum target
, GLenum format
, GLenum type
, GLvoid
*row
, GLvoid
*column
, GLvoid
*span
)
1952 DISPATCH(GetSeparableFilter
, (target
, format
, type
, row
, column
, span
), (F
, ";"));
1955 KEYWORD1
void KEYWORD2
NAME(Histogram
)(GLenum target
, GLsizei width
, GLenum internalformat
, GLboolean sink
)
1957 DISPATCH(Histogram
, (target
, width
, internalformat
, sink
), (F
, ";"));
1960 KEYWORD1
void KEYWORD2
NAME(Minmax
)(GLenum target
, GLenum internalformat
, GLboolean sink
)
1962 DISPATCH(Minmax
, (target
, internalformat
, sink
), (F
, ";"));
1965 KEYWORD1
void KEYWORD2
NAME(ResetMinmax
)(GLenum target
)
1967 DISPATCH(ResetMinmax
, (target
), (F
, ";"));
1970 KEYWORD1
void KEYWORD2
NAME(ResetHistogram
)(GLenum target
)
1972 DISPATCH(ResetHistogram
, (target
), (F
, ";"));
1975 KEYWORD1
void KEYWORD2
NAME(SeparableFilter2D
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*row
, const GLvoid
*column
)
1977 DISPATCH(SeparableFilter2D
, (target
, internalformat
, width
, height
, format
, type
, row
, column
), (F
, ";"));
1982 /* GL_ARB_multitexture */
1984 KEYWORD1
void KEYWORD2
NAME(ActiveTextureARB
)(GLenum texture
)
1986 DISPATCH(ActiveTextureARB
, (texture
), (F
, ";"));
1989 KEYWORD1
void KEYWORD2
NAME(ClientActiveTextureARB
)(GLenum texture
)
1991 DISPATCH(ClientActiveTextureARB
, (texture
), (F
, ";"));
1994 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1dARB
)(GLenum target
, GLdouble s
)
1996 DISPATCH(MultiTexCoord1dARB
, (target
, s
), (F
, ";"));
1999 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1dvARB
)(GLenum target
, const GLdouble
*v
)
2001 DISPATCH(MultiTexCoord1dvARB
, (target
, v
), (F
, ";"));
2004 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1fARB
)(GLenum target
, GLfloat s
)
2006 DISPATCH(MultiTexCoord1fARB
, (target
, s
), (F
, ";"));
2009 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1fvARB
)(GLenum target
, const GLfloat
*v
)
2011 DISPATCH(MultiTexCoord1fvARB
, (target
, v
), (F
, ";"));
2014 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1iARB
)(GLenum target
, GLint s
)
2016 DISPATCH(MultiTexCoord1iARB
, (target
, s
), (F
, ";"));
2019 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1ivARB
)(GLenum target
, const GLint
*v
)
2021 DISPATCH(MultiTexCoord1ivARB
, (target
, v
), (F
, ";"));
2024 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1sARB
)(GLenum target
, GLshort s
)
2026 DISPATCH(MultiTexCoord1sARB
, (target
, s
), (F
, ";"));
2029 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1svARB
)(GLenum target
, const GLshort
*v
)
2031 DISPATCH(MultiTexCoord1svARB
, (target
, v
), (F
, ";"));
2034 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2dARB
)(GLenum target
, GLdouble s
, GLdouble t
)
2036 DISPATCH(MultiTexCoord2dARB
, (target
, s
, t
), (F
, ";"));
2039 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2dvARB
)(GLenum target
, const GLdouble
*v
)
2041 DISPATCH(MultiTexCoord2dvARB
, (target
, v
), (F
, ";"));
2044 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2fARB
)(GLenum target
, GLfloat s
, GLfloat t
)
2046 DISPATCH(MultiTexCoord2fARB
, (target
, s
, t
), (F
, ";"));
2049 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2fvARB
)(GLenum target
, const GLfloat
*v
)
2051 DISPATCH(MultiTexCoord2fvARB
, (target
, v
), (F
, ";"));
2054 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2iARB
)(GLenum target
, GLint s
, GLint t
)
2056 DISPATCH(MultiTexCoord2iARB
, (target
, s
, t
), (F
, ";"));
2059 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2ivARB
)(GLenum target
, const GLint
*v
)
2061 DISPATCH(MultiTexCoord2ivARB
, (target
, v
), (F
, ";"));
2064 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2sARB
)(GLenum target
, GLshort s
, GLshort t
)
2066 DISPATCH(MultiTexCoord2sARB
, (target
, s
, t
), (F
, ";"));
2069 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2svARB
)(GLenum target
, const GLshort
*v
)
2071 DISPATCH(MultiTexCoord2svARB
, (target
, v
), (F
, ";"));
2074 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3dARB
)(GLenum target
, GLdouble s
, GLdouble t
, GLdouble r
)
2076 DISPATCH(MultiTexCoord3dARB
, (target
, s
, t
, r
), (F
, ";"));
2079 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3dvARB
)(GLenum target
, const GLdouble
*v
)
2081 DISPATCH(MultiTexCoord3dvARB
, (target
, v
), (F
, ";"));
2084 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3fARB
)(GLenum target
, GLfloat s
, GLfloat t
, GLfloat r
)
2086 DISPATCH(MultiTexCoord3fARB
, (target
, s
, t
, r
), (F
, ";"));
2089 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3fvARB
)(GLenum target
, const GLfloat
*v
)
2091 DISPATCH(MultiTexCoord3fvARB
, (target
, v
), (F
, ";"));
2094 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3iARB
)(GLenum target
, GLint s
, GLint t
, GLint r
)
2096 DISPATCH(MultiTexCoord3iARB
, (target
, s
, t
, r
), (F
, ";"));
2099 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3ivARB
)(GLenum target
, const GLint
*v
)
2101 DISPATCH(MultiTexCoord3ivARB
, (target
, v
), (F
, ";"));
2104 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3sARB
)(GLenum target
, GLshort s
, GLshort t
, GLshort r
)
2106 DISPATCH(MultiTexCoord3sARB
, (target
, s
, t
, r
), (F
, ";"));
2109 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3svARB
)(GLenum target
, const GLshort
*v
)
2111 DISPATCH(MultiTexCoord3svARB
, (target
, v
), (F
, ";"));
2114 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4dARB
)(GLenum target
, GLdouble s
, GLdouble t
, GLdouble r
, GLdouble q
)
2116 DISPATCH(MultiTexCoord4dARB
, (target
, s
, t
, r
, q
), (F
, ";"));
2119 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4dvARB
)(GLenum target
, const GLdouble
*v
)
2121 DISPATCH(MultiTexCoord4dvARB
, (target
, v
), (F
, ";"));
2124 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4fARB
)(GLenum target
, GLfloat s
, GLfloat t
, GLfloat r
, GLfloat q
)
2126 DISPATCH(MultiTexCoord4fARB
, (target
, s
, t
, r
, q
), (F
, ";"));
2129 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4fvARB
)(GLenum target
, const GLfloat
*v
)
2131 DISPATCH(MultiTexCoord4fvARB
, (target
, v
), (F
, ";"));
2134 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4iARB
)(GLenum target
, GLint s
, GLint t
, GLint r
, GLint q
)
2136 DISPATCH(MultiTexCoord4iARB
, (target
, s
, t
, r
, q
), (F
, ";"));
2139 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4ivARB
)(GLenum target
, const GLint
*v
)
2141 DISPATCH(MultiTexCoord4ivARB
, (target
, v
), (F
, ";"));
2144 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4sARB
)(GLenum target
, GLshort s
, GLshort t
, GLshort r
, GLshort q
)
2146 DISPATCH(MultiTexCoord4sARB
, (target
, s
, t
, r
, q
), (F
, ";"));
2149 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4svARB
)(GLenum target
, const GLshort
*v
)
2151 DISPATCH(MultiTexCoord4svARB
, (target
, v
), (F
, ";"));
2157 *** Extension functions
2161 /* 2. GL_EXT_blend_color */
2162 KEYWORD1
void KEYWORD2
NAME(BlendColorEXT
)(GLclampf red
, GLclampf green
, GLclampf blue
, GLclampf alpha
)
2164 DISPATCH(BlendColorEXT
, (red
, green
, blue
, alpha
), (F
, ";"));
2169 /* 3. GL_EXT_polygon_offset */
2170 KEYWORD1
void KEYWORD2
NAME(PolygonOffsetEXT
)(GLfloat factor
, GLfloat bias
)
2172 DISPATCH(PolygonOffsetEXT
, (factor
, bias
), (F
, ";"));
2177 /* 6. GL_EXT_texture3D */
2179 KEYWORD1
void KEYWORD2
NAME(CopyTexSubImage3DEXT
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
2181 DISPATCH(CopyTexSubImage3DEXT
, (target
, level
, xoffset
, yoffset
, zoffset
, x
, y
, width
, height
), (F
, ";"));
2184 KEYWORD1
void KEYWORD2
NAME(TexImage3DEXT
)(GLenum target
, GLint level
, GLenum internalFormat
, GLsizei width
, GLsizei height
, GLsizei depth
, GLint border
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
2186 DISPATCH(TexImage3DEXT
, (target
, level
, internalFormat
, width
, height
, depth
, border
, format
, type
, pixels
), (F
, ";"));
2189 KEYWORD1
void KEYWORD2
NAME(TexSubImage3DEXT
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLsizei width
, GLsizei height
, GLsizei depth
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
2191 DISPATCH(TexSubImage3DEXT
, (target
, level
, xoffset
, yoffset
, zoffset
, width
, height
, depth
, format
, type
, pixels
), (F
, ";"));
2196 /* 7. GL_SGI_texture_filter4 */
2198 KEYWORD1
void KEYWORD2
NAME(GetTexFilterFuncSGIS
)(GLenum target
, GLenum filter
, GLfloat
*weights
)
2200 DISPATCH(GetTexFilterFuncSGIS
, (target
, filter
, weights
), (F
, ";"));
2203 KEYWORD1
void KEYWORD2
NAME(TexFilterFuncSGIS
)(GLenum target
, GLenum filter
, GLsizei n
, const GLfloat
*weights
)
2205 DISPATCH(TexFilterFuncSGIS
, (target
, filter
, n
, weights
), (F
, ";"));
2210 /* 9. GL_EXT_subtexture */
2212 KEYWORD1
void KEYWORD2
NAME(CopyTexSubImage1DEXT
)(GLenum target
, GLint level
, GLint xoffset
, GLint x
, GLint y
, GLsizei width
)
2214 DISPATCH(CopyTexSubImage1DEXT
, (target
, level
, xoffset
, x
, y
, width
), (F
, ";"));
2217 KEYWORD1
void KEYWORD2
NAME(TexSubImage1DEXT
)(GLenum target
, GLint level
, GLint xoffset
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
2219 DISPATCH(TexSubImage1DEXT
, (target
, level
, xoffset
, width
, format
, type
, pixels
), (F
, ";"));
2222 KEYWORD1
void KEYWORD2
NAME(TexSubImage2DEXT
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
2224 DISPATCH(TexSubImage2DEXT
, (target
, level
, xoffset
, yoffset
, width
, height
, format
, type
, pixels
), (F
, ";"));
2228 /* 10. GL_EXT_copy_texture */
2230 KEYWORD1
void KEYWORD2
NAME(CopyTexImage1DEXT
)(GLenum target
, GLint level
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLint border
)
2232 DISPATCH(CopyTexImage1DEXT
, (target
, level
, internalformat
, x
, y
, width
, border
), (F
, ";"));
2235 KEYWORD1
void KEYWORD2
NAME(CopyTexImage2DEXT
)(GLenum target
, GLint level
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLsizei height
, GLint border
)
2237 DISPATCH(CopyTexImage2DEXT
, (target
, level
, internalformat
, x
, y
, width
, height
, border
), (F
, ";"));
2241 KEYWORD1
void KEYWORD2
NAME(CopyTexSubImage2DEXT
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
2243 DISPATCH(CopyTexSubImage2DEXT
, (target
, level
, xoffset
, yoffset
, x
, y
, width
, height
), (F
, ";"));
2248 /* 11. GL_EXT_histogram */
2249 KEYWORD1
void KEYWORD2
NAME(GetHistogramEXT
)(GLenum target
, GLboolean reset
, GLenum format
, GLenum type
, GLvoid
*values
)
2251 DISPATCH(GetHistogramEXT
, (target
, reset
, format
, type
, values
), (F
, ";"));
2254 KEYWORD1
void KEYWORD2
NAME(GetHistogramParameterfvEXT
)(GLenum target
, GLenum pname
, GLfloat
*params
)
2256 DISPATCH(GetHistogramParameterfvEXT
, (target
, pname
, params
), (F
, ";"));
2259 KEYWORD1
void KEYWORD2
NAME(GetHistogramParameterivEXT
)(GLenum target
, GLenum pname
, GLint
*params
)
2261 DISPATCH(GetHistogramParameterivEXT
, (target
, pname
, params
), (F
, ";"));
2264 KEYWORD1
void KEYWORD2
NAME(GetMinmaxEXT
)(GLenum target
, GLboolean reset
, GLenum format
, GLenum types
, GLvoid
*values
)
2266 DISPATCH(GetMinmaxEXT
, (target
, reset
, format
, types
, values
), (F
, ";"));
2269 KEYWORD1
void KEYWORD2
NAME(GetMinmaxParameterfvEXT
)(GLenum target
, GLenum pname
, GLfloat
*params
)
2271 DISPATCH(GetMinmaxParameterfvEXT
, (target
, pname
, params
), (F
, ";"));
2274 KEYWORD1
void KEYWORD2
NAME(GetMinmaxParameterivEXT
)(GLenum target
, GLenum pname
, GLint
*params
)
2276 DISPATCH(GetMinmaxParameterivEXT
, (target
, pname
, params
), (F
, ";"));
2279 KEYWORD1
void KEYWORD2
NAME(HistogramEXT
)(GLenum target
, GLsizei width
, GLenum internalformat
, GLboolean sink
)
2281 DISPATCH(HistogramEXT
, (target
, width
, internalformat
, sink
), (F
, ";"));
2284 KEYWORD1
void KEYWORD2
NAME(MinmaxEXT
)(GLenum target
, GLenum internalformat
, GLboolean sink
)
2286 DISPATCH(MinmaxEXT
, (target
, internalformat
, sink
), (F
, ";"));
2289 KEYWORD1
void KEYWORD2
NAME(ResetHistogramEXT
)(GLenum target
)
2291 DISPATCH(ResetHistogramEXT
, (target
), (F
, ";"));
2294 KEYWORD1
void KEYWORD2
NAME(ResetMinmaxEXT
)(GLenum target
)
2296 DISPATCH(ResetMinmaxEXT
, (target
), (F
, ";"));
2301 /* 12. GL_EXT_convolution */
2303 KEYWORD1
void KEYWORD2
NAME(ConvolutionFilter1DEXT
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*image
)
2305 DISPATCH(ConvolutionFilter1DEXT
, (target
, internalformat
, width
, format
, type
, image
), (F
, ";"));
2308 KEYWORD1
void KEYWORD2
NAME(ConvolutionFilter2DEXT
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*image
)
2310 DISPATCH(ConvolutionFilter2DEXT
, (target
, internalformat
, width
, height
, format
, type
, image
), (F
, ";"));
2313 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameterfEXT
)(GLenum target
, GLenum pname
, GLfloat params
)
2315 DISPATCH(ConvolutionParameterfEXT
, (target
, pname
, params
), (F
, ";"));
2318 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameterfvEXT
)(GLenum target
, GLenum pname
, const GLfloat
*params
)
2320 DISPATCH(ConvolutionParameterfvEXT
, (target
, pname
, params
), (F
, ";"));
2323 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameteriEXT
)(GLenum target
, GLenum pname
, GLint params
)
2325 DISPATCH(ConvolutionParameteriEXT
, (target
, pname
, params
), (F
, ";"));
2328 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameterivEXT
)(GLenum target
, GLenum pname
, const GLint
*params
)
2330 DISPATCH(ConvolutionParameterivEXT
, (target
, pname
, params
), (F
, ";"));
2333 KEYWORD1
void KEYWORD2
NAME(CopyConvolutionFilter1DEXT
)(GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
)
2335 DISPATCH(CopyConvolutionFilter1DEXT
, (target
, internalformat
, x
, y
, width
), (F
, ";"));
2338 KEYWORD1
void KEYWORD2
NAME(CopyConvolutionFilter2DEXT
)(GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
2340 DISPATCH(CopyConvolutionFilter2DEXT
, (target
, internalformat
, x
, y
, width
, height
), (F
, ";"));
2343 KEYWORD1
void KEYWORD2
NAME(GetConvolutionFilterEXT
)(GLenum target
, GLenum format
, GLenum type
, GLvoid
*image
)
2345 DISPATCH(GetConvolutionFilterEXT
, (target
, format
, type
, image
), (F
, ";"));
2348 KEYWORD1
void KEYWORD2
NAME(GetConvolutionParameterfvEXT
)(GLenum target
, GLenum pname
, GLfloat
*params
)
2350 DISPATCH(GetConvolutionParameterfvEXT
, (target
, pname
, params
), (F
, ";"));
2353 KEYWORD1
void KEYWORD2
NAME(GetConvolutionParameterivEXT
)(GLenum target
, GLenum pname
, GLint
*params
)
2355 DISPATCH(GetConvolutionParameterivEXT
, (target
, pname
, params
), (F
, ";"));
2358 KEYWORD1
void KEYWORD2
NAME(GetSeparableFilterEXT
)(GLenum target
, GLenum format
, GLenum type
, GLvoid
*row
, GLvoid
*column
, GLvoid
*span
)
2360 DISPATCH(GetSeparableFilterEXT
, (target
, format
, type
, row
, column
, span
), (F
, ";"));
2363 KEYWORD1
void KEYWORD2
NAME(SeparableFilter2DEXT
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*row
, const GLvoid
*column
)
2365 DISPATCH(SeparableFilter2DEXT
, (target
, internalformat
, width
, height
, format
, type
, row
, column
), (F
, ";"));
2370 /* 14. GL_SGI_color_table */
2372 KEYWORD1
void KEYWORD2
NAME(ColorTableParameterfvSGI
)(GLenum target
, GLenum pname
, const GLfloat
*params
)
2374 DISPATCH(ColorTableParameterfvSGI
, (target
, pname
, params
), (F
, ";"));
2377 KEYWORD1
void KEYWORD2
NAME(ColorTableParameterivSGI
)(GLenum target
, GLenum pname
, const GLint
*params
)
2379 DISPATCH(ColorTableParameterivSGI
, (target
, pname
, params
), (F
, ";"));
2382 KEYWORD1
void KEYWORD2
NAME(ColorTableSGI
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*table
)
2384 DISPATCH(ColorTableSGI
, (target
, internalformat
, width
, format
, type
, table
), (F
, ";"));
2387 KEYWORD1
void KEYWORD2
NAME(CopyColorTableSGI
)(GLenum target
, GLenum internalFormat
, GLint x
, GLint y
, GLsizei width
)
2389 DISPATCH(CopyColorTableSGI
, (target
, internalFormat
, x
, y
, width
), (F
, ";"));
2392 KEYWORD1
void KEYWORD2
NAME(GetColorTableSGI
)(GLenum target
, GLenum format
, GLenum type
, GLvoid
*table
)
2394 DISPATCH(GetColorTableSGI
, (target
, format
, type
, table
), (F
, ";"));
2396 KEYWORD1
void KEYWORD2
NAME(GetColorTableParameterfvSGI
)(GLenum target
, GLenum pname
, GLfloat
*params
)
2398 DISPATCH(GetColorTableParameterfvSGI
, (target
, pname
, params
), (F
, ";"));
2401 KEYWORD1
void KEYWORD2
NAME(GetColorTableParameterivSGI
)(GLenum target
, GLenum pname
, GLint
*params
)
2403 DISPATCH(GetColorTableParameterivSGI
, (target
, pname
, params
), (F
, ";"));
2408 /* 15. GL_SGIS_pixel_texture */
2410 KEYWORD1
void KEYWORD2
NAME(PixelTexGenParameterfSGIS
)(GLenum target
, GLfloat value
)
2412 DISPATCH(PixelTexGenParameterfSGIS
, (target
, value
), (F
, ";"));
2415 KEYWORD1
void KEYWORD2
NAME(PixelTexGenParameteriSGIS
)(GLenum target
, GLint value
)
2417 DISPATCH(PixelTexGenParameteriSGIS
, (target
, value
), (F
, ";"));
2420 KEYWORD1
void KEYWORD2
NAME(GetPixelTexGenParameterfvSGIS
)(GLenum target
, GLfloat
*value
)
2422 DISPATCH(GetPixelTexGenParameterfvSGIS
, (target
, value
), (F
, ";"));
2425 KEYWORD1
void KEYWORD2
NAME(GetPixelTexGenParameterivSGIS
)(GLenum target
, GLint
*value
)
2427 DISPATCH(GetPixelTexGenParameterivSGIS
, (target
, value
), (F
, ";"));
2432 /* 16. GL_SGIS_texture4D */
2434 KEYWORD1
void KEYWORD2
NAME(TexImage4DSGIS
)(GLenum target
, GLint level
, GLint internalFormat
, GLsizei width
, GLsizei height
, GLsizei depth
, GLsizei extent
, GLint border
, GLenum format
, GLenum type
, const void *pixels
)
2436 DISPATCH(TexImage4DSGIS
, (target
, level
, internalFormat
, width
, height
, depth
, extent
, border
, format
, type
, pixels
), (F
, ";"));
2439 KEYWORD1
void KEYWORD2
NAME(TexSubImage4DSGIS
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLint woffset
, GLsizei width
, GLsizei height
, GLsizei depth
, GLsizei extent
, GLenum format
, GLenum type
, const void *pixels
)
2441 DISPATCH(TexSubImage4DSGIS
, (target
, level
, xoffset
, yoffset
, zoffset
, woffset
, width
, height
, depth
, extent
, format
, type
, pixels
), (F
, ";"));
2446 /* 20. GL_EXT_texture_object */
2448 KEYWORD1
void KEYWORD2
NAME(GenTexturesEXT
)(GLsizei n
, GLuint
*textures
)
2450 DISPATCH(GenTextures
, (n
, textures
), (F
, ";"));
2453 KEYWORD1
void KEYWORD2
NAME(DeleteTexturesEXT
)(GLsizei n
, const GLuint
*texture
)
2455 DISPATCH(DeleteTextures
, (n
, texture
), (F
, ";"));
2458 KEYWORD1
void KEYWORD2
NAME(BindTextureEXT
)(GLenum target
, GLuint texture
)
2460 DISPATCH(BindTexture
, (target
, texture
), (F
, ";"));
2463 KEYWORD1
void KEYWORD2
NAME(PrioritizeTexturesEXT
)(GLsizei n
, const GLuint
*textures
, const GLclampf
*priorities
)
2465 DISPATCH(PrioritizeTextures
, (n
, textures
, priorities
), (F
, ";"));
2468 KEYWORD1 GLboolean KEYWORD2
NAME(AreTexturesResidentEXT
)(GLsizei n
, const GLuint
*textures
, GLboolean
*residences
)
2470 RETURN_DISPATCH(AreTexturesResident
, (n
, textures
, residences
), (F
, "glAreTexturesResidentEXT(%d %p %p);", n
, textures
, residences
));
2473 KEYWORD1 GLboolean KEYWORD2
NAME(IsTextureEXT
)(GLuint texture
)
2475 RETURN_DISPATCH(IsTexture
, (texture
), (F
, "glIsTextureEXT(%u);", texture
));
2480 /* 21. GL_SGIS_detail_texture */
2482 KEYWORD1
void KEYWORD2
NAME(DetailTexFuncSGIS
)(GLenum target
, GLsizei n
, const GLfloat
*points
)
2484 DISPATCH(DetailTexFuncSGIS
, (target
, n
, points
), (F
, ";"));
2487 KEYWORD1
void KEYWORD2
NAME(GetDetailTexFuncSGIS
)(GLenum target
, GLfloat
*points
)
2489 DISPATCH(GetDetailTexFuncSGIS
, (target
, points
), (F
, ";"));
2493 /* 22. GL_SGIS_sharpen_texture */
2495 KEYWORD1
void KEYWORD2
NAME(GetSharpenTexFuncSGIS
)(GLenum target
, GLfloat
*points
)
2497 DISPATCH(GetSharpenTexFuncSGIS
, (target
, points
), (F
, ";"));
2500 KEYWORD1
void KEYWORD2
NAME(SharpenTexFuncSGIS
)(GLenum target
, GLsizei n
, const GLfloat
*points
)
2502 DISPATCH(SharpenTexFuncSGIS
, (target
, n
, points
), (F
, ";"));
2506 /* 25. GL_SGIS_multisample */
2508 KEYWORD1
void KEYWORD2
NAME(SampleMaskSGIS
)(GLclampf value
, GLboolean invert
)
2510 DISPATCH(SampleMaskSGIS
, (value
, invert
), (F
, ";"));
2513 KEYWORD1
void KEYWORD2
NAME(SamplePatternSGIS
)(GLenum pattern
)
2515 DISPATCH(SamplePatternSGIS
, (pattern
), (F
, ";"));
2519 /* 30. GL_EXT_vertex_array */
2521 KEYWORD1
void KEYWORD2
NAME(VertexPointerEXT
)(GLint size
, GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
2523 DISPATCH(VertexPointer
, (size
, type
, stride
, ptr
), (F
, ";"));
2526 KEYWORD1
void KEYWORD2
NAME(NormalPointerEXT
)(GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
2528 DISPATCH(NormalPointer
, (type
, stride
, ptr
), (F
, ";"));
2531 KEYWORD1
void KEYWORD2
NAME(ColorPointerEXT
)(GLint size
, GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
2533 DISPATCH(ColorPointer
, (size
, type
, stride
, ptr
), (F
, ";"));
2536 KEYWORD1
void KEYWORD2
NAME(IndexPointerEXT
)(GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
2538 DISPATCH(IndexPointer
, (type
, stride
, ptr
), (F
, ";"));
2541 KEYWORD1
void KEYWORD2
NAME(TexCoordPointerEXT
)(GLint size
, GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
2543 DISPATCH(ColorPointer
, (size
, type
, stride
, ptr
), (F
, ";"));
2546 KEYWORD1
void KEYWORD2
NAME(EdgeFlagPointerEXT
)(GLsizei stride
, GLsizei count
, const GLboolean
*ptr
)
2548 DISPATCH(EdgeFlagPointer
, (stride
, ptr
), (F
, ";"));
2551 KEYWORD1
void KEYWORD2
NAME(GetPointervEXT
)(GLenum pname
, void **params
)
2553 DISPATCH(GetPointerv
, (pname
, params
), (F
, ";"));
2556 KEYWORD1
void KEYWORD2
NAME(ArrayElementEXT
)(GLint i
)
2558 DISPATCH(ArrayElement
, (i
), (F
, ";"));
2561 KEYWORD1
void KEYWORD2
NAME(DrawArraysEXT
)(GLenum mode
, GLint first
, GLsizei count
)
2563 DISPATCH(DrawArrays
, (mode
, first
, count
), (F
, ";"));
2567 /* 37. GL_EXT_blend_minmax */
2568 KEYWORD1
void KEYWORD2
NAME(BlendEquationEXT
)(GLenum mode
)
2570 DISPATCH(BlendEquationEXT
, (mode
), (F
, "glBlendEquationEXT(0x%x);", mode
));
2574 /* 52. GL_SGIX_sprite */
2576 KEYWORD1
void KEYWORD2
NAME(SpriteParameterfSGIX
)(GLenum pname
, GLfloat param
)
2578 DISPATCH(SpriteParameterfSGIX
, (pname
, param
), (F
, ";"));
2581 KEYWORD1
void KEYWORD2
NAME(SpriteParameterfvSGIX
)(GLenum pname
, const GLfloat
*param
)
2583 DISPATCH(SpriteParameterfvSGIX
, (pname
, param
), (F
, ";"));
2586 KEYWORD1
void KEYWORD2
NAME(SpriteParameteriSGIX
)(GLenum pname
, GLint param
)
2588 DISPATCH(SpriteParameteriSGIX
, (pname
, param
), (F
, ";"));
2591 KEYWORD1
void KEYWORD2
NAME(SpriteParameterivSGIX
)(GLenum pname
, const GLint
*param
)
2593 DISPATCH(SpriteParameterivSGIX
, (pname
, param
), (F
, ";"));
2598 /* 54. GL_EXT_point_parameters */
2600 KEYWORD1
void KEYWORD2
NAME(PointParameterfEXT
)(GLenum target
, GLfloat param
)
2602 DISPATCH(PointParameterfEXT
, (target
, param
), (F
, ";"));
2605 KEYWORD1
void KEYWORD2
NAME(PointParameterfvEXT
)(GLenum target
, const GLfloat
*param
)
2607 DISPATCH(PointParameterfvEXT
, (target
, param
), (F
, ";"));
2612 /* 55. GL_SGIX_instruments */
2613 KEYWORD1 GLint KEYWORD2
NAME(GetInstrumentsSGIX
)(void)
2615 RETURN_DISPATCH(GetInstrumentsSGIX
, (), (F
, ";"));
2618 KEYWORD1
void KEYWORD2
NAME(InstrumentsBufferSGIX
)(GLsizei size
, GLint
*buf
)
2620 DISPATCH(InstrumentsBufferSGIX
, (size
, buf
), (F
, ";"));
2623 KEYWORD1 GLint KEYWORD2
NAME(PollInstrumentsSGIX
)(GLint
*markerp
)
2625 RETURN_DISPATCH(PollInstrumentsSGIX
, (markerp
), (F
, ";"));
2628 KEYWORD1
void KEYWORD2
NAME(ReadInstrumentsSGIX
)(GLint marker
)
2630 DISPATCH(ReadInstrumentsSGIX
, (marker
), (F
, ";"));
2633 KEYWORD1
void KEYWORD2
NAME(StartInstrumentsSGIX
)(void)
2635 DISPATCH(StartInstrumentsSGIX
, (), (F
, ";"));
2638 KEYWORD1
void KEYWORD2
NAME(StopInstrumentsSGIX
)(GLint marker
)
2640 DISPATCH(StopInstrumentsSGIX
, (marker
), (F
, ";"));
2645 /* 57. GL_SGIX_framezoom */
2646 KEYWORD1
void KEYWORD2
NAME(FrameZoomSGIX
)(GLint factor
)
2648 DISPATCH(FrameZoomSGIX
, (factor
), (F
, ";"));
2652 /* 60. GL_SGIX_reference_plane */
2653 KEYWORD1
void KEYWORD2
NAME(ReferencePlaneSGIX
)(const GLdouble
*plane
)
2655 DISPATCH(ReferencePlaneSGIX
, (plane
), (F
, ";"));
2659 /* 61. GL_SGIX_flush_raster */
2660 KEYWORD1
void KEYWORD2
NAME(FlushRasterSGIX
)(void)
2662 DISPATCH(FlushRasterSGIX
, (), (F
, ";"));
2667 /* 66. GL_HP_image_transform */
2668 KEYWORD1
void KEYWORD2
NAME(GetImageTransformParameterfvHP
)(GLenum target
, GLenum pname
, GLfloat
*param
)
2670 DISPATCH(GetImageTransformParameterfvHP
, (target
, pname
, param
), (F
, ";"));
2673 KEYWORD1
void KEYWORD2
NAME(GetImageTransformParameterivHP
)(GLenum target
, GLenum pname
, GLint
*param
)
2675 DISPATCH(GetImageTransformParameterivHP
, (target
, pname
, param
), (F
, ";"));
2678 KEYWORD1
void KEYWORD2
NAME(ImageTransformParameterfHP
)(GLenum target
, GLenum pname
, const GLfloat param
)
2680 DISPATCH(ImageTransformParameterfHP
, (target
, pname
, param
), (F
, ";"));
2683 KEYWORD1
void KEYWORD2
NAME(ImageTransformParameterfvHP
)(GLenum target
, GLenum pname
, const GLfloat
*param
)
2685 DISPATCH(ImageTransformParameterfvHP
, (target
, pname
, param
), (F
, ";"));
2688 KEYWORD1
void KEYWORD2
NAME(ImageTransformParameteriHP
)(GLenum target
, GLenum pname
, const GLint param
)
2690 DISPATCH(ImageTransformParameteriHP
, (target
, pname
, param
), (F
, ";"));
2693 KEYWORD1
void KEYWORD2
NAME(ImageTransformParameterivHP
)(GLenum target
, GLenum pname
, const GLint
*param
)
2695 DISPATCH(ImageTransformParameterivHP
, (target
, pname
, param
), (F
, ";"));
2699 /* 74. GL_EXT_color_subtable */
2700 KEYWORD1
void KEYWORD2
NAME(ColorSubTableEXT
)(GLenum target
, GLsizei start
, GLsizei count
, GLenum format
, GLenum type
, const void *data
)
2702 DISPATCH(ColorSubTableEXT
, (target
, start
, count
, format
, type
, data
), (F
, ";"));
2705 KEYWORD1
void KEYWORD2
NAME(CopyColorSubTableEXT
)(GLenum target
, GLsizei start
, GLint x
, GLint y
, GLsizei width
)
2707 DISPATCH(CopyColorSubTableEXT
, (target
, start
, x
, y
, width
), (F
, ";"));
2712 /* 77. GL_PGI_misc_hints */
2713 KEYWORD1
void KEYWORD2
NAME(HintPGI
)(GLenum target
, GLint mode
)
2715 DISPATCH(HintPGI
, (target
, mode
), (F
, ";"));
2720 /* 78. GL_EXT_paletted_texture */
2722 KEYWORD1
void KEYWORD2
NAME(ColorTableEXT
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*table
)
2724 DISPATCH(ColorTableEXT
, (target
, internalformat
, width
, format
, type
, table
), (F
, ";"));
2727 KEYWORD1
void KEYWORD2
NAME(GetColorTableEXT
)(GLenum target
, GLenum format
, GLenum type
, GLvoid
*table
)
2729 DISPATCH(GetColorTableEXT
, (target
, format
, type
, table
), (F
, ";"));
2732 KEYWORD1
void KEYWORD2
NAME(GetColorTableParameterfvEXT
)(GLenum target
, GLenum pname
, GLfloat
*params
)
2734 DISPATCH(GetColorTableParameterfvEXT
, (target
, pname
, params
), (F
, ";"));
2737 KEYWORD1
void KEYWORD2
NAME(GetColorTableParameterivEXT
)(GLenum target
, GLenum pname
, GLint
*params
)
2739 DISPATCH(GetColorTableParameterivEXT
, (target
, pname
, params
), (F
, ";"));
2745 /* 80. GL_SGIX_list_priority */
2746 KEYWORD1
void KEYWORD2
NAME(GetListParameterfvSGIX
)(GLuint list
, GLenum name
, GLfloat
*param
)
2748 DISPATCH(GetListParameterfvSGIX
, (list
, name
, param
), (F
, ";"));
2751 KEYWORD1
void KEYWORD2
NAME(GetListParameterivSGIX
)(GLuint list
, GLenum name
, GLint
*param
)
2753 DISPATCH(GetListParameterivSGIX
, (list
, name
, param
), (F
, ";"));
2756 KEYWORD1
void KEYWORD2
NAME(ListParameterfSGIX
)(GLuint list
, GLenum name
, GLfloat param
)
2758 DISPATCH(ListParameterfSGIX
, (list
, name
, param
), (F
, ";"));
2761 KEYWORD1
void KEYWORD2
NAME(ListParameterfvSGIX
)(GLuint list
, GLenum name
, const GLfloat
*param
)
2763 DISPATCH(ListParameterfvSGIX
, (list
, name
, param
), (F
, ";"));
2766 KEYWORD1
void KEYWORD2
NAME(ListParameteriSGIX
)(GLuint list
, GLenum name
, GLint param
)
2768 DISPATCH(ListParameteriSGIX
, (list
, name
, param
), (F
, ";"));
2771 KEYWORD1
void KEYWORD2
NAME(ListParameterivSGIX
)(GLuint list
, GLenum name
, const GLint
*param
)
2773 DISPATCH(ListParameterivSGIX
, (list
, name
, param
), (F
, ";"));
2778 /* 94. GL_EXT_index_material */
2779 KEYWORD1
void KEYWORD2
NAME(IndexMaterialEXT
)(GLenum face
, GLenum mode
)
2781 DISPATCH(IndexMaterialEXT
, (face
, mode
), (F
, ";"));
2785 /* 95. GL_EXT_index_func */
2786 KEYWORD1
void KEYWORD2
NAME(IndexFuncEXT
)(GLenum func
, GLfloat ref
)
2788 DISPATCH(IndexFuncEXT
, (func
, ref
), (F
, ";"));
2793 /* 97. GL_EXT_compiled_vertex_array */
2795 KEYWORD1
void KEYWORD2
NAME(LockArraysEXT
)(GLint first
, GLsizei count
)
2797 DISPATCH(LockArraysEXT
, (first
, count
), (F
, ";"));
2800 KEYWORD1
void KEYWORD2
NAME(UnlockArraysEXT
)(void)
2802 DISPATCH(UnlockArraysEXT
, (), (F
, ";"));
2806 /* 98. GL_EXT_cull_vertex */
2807 KEYWORD1
void KEYWORD2
NAME(CullParameterfvEXT
)(GLenum pname
, const GLfloat
*params
)
2809 DISPATCH(CullParameterfvEXT
, (pname
, params
), (F
, ";"));
2812 KEYWORD1
void KEYWORD2
NAME(CullParameterdvEXT
)(GLenum pname
, const GLdouble
*params
)
2814 DISPATCH(CullParameterdvEXT
, (pname
, params
), (F
, ";"));
2819 /* 173. GL_EXT/INGR_blend_func_separate */
2820 KEYWORD1
void KEYWORD2
NAME(BlendFuncSeparateINGR
)(GLenum sfactorRGB
, GLenum dfactorRGB
, GLenum sfactorAlpha
, GLenum dfactorAlpha
)
2822 DISPATCH(BlendFuncSeparateINGR
, (sfactorRGB
, dfactorRGB
, sfactorAlpha
, dfactorAlpha
), (F
, ";"));
2827 /* GL_MESA_window_pos */
2829 KEYWORD1
void KEYWORD2
NAME(WindowPos2iMESA
)(GLint x
, GLint y
)
2831 DISPATCH(WindowPos2iMESA
, (x
, y
), (F
, ";"));
2834 KEYWORD1
void KEYWORD2
NAME(WindowPos2sMESA
)(GLshort x
, GLshort y
)
2836 DISPATCH(WindowPos2sMESA
, (x
, y
), (F
, ";"));
2839 KEYWORD1
void KEYWORD2
NAME(WindowPos2fMESA
)(GLfloat x
, GLfloat y
)
2841 DISPATCH(WindowPos2fMESA
, (x
, y
), (F
, ";"));
2844 KEYWORD1
void KEYWORD2
NAME(WindowPos2dMESA
)(GLdouble x
, GLdouble y
)
2846 DISPATCH(WindowPos2dMESA
, (x
, y
), (F
, ";"));
2849 KEYWORD1
void KEYWORD2
NAME(WindowPos2ivMESA
)(const GLint
*p
)
2851 DISPATCH(WindowPos2ivMESA
, (p
), (F
, ";"));
2854 KEYWORD1
void KEYWORD2
NAME(WindowPos2svMESA
)(const GLshort
*p
)
2856 DISPATCH(WindowPos2svMESA
, (p
), (F
, ";"));
2859 KEYWORD1
void KEYWORD2
NAME(WindowPos2fvMESA
)(const GLfloat
*p
)
2861 DISPATCH(WindowPos2fvMESA
, (p
), (F
, ";"));
2864 KEYWORD1
void KEYWORD2
NAME(WindowPos2dvMESA
)(const GLdouble
*p
)
2866 DISPATCH(WindowPos2dvMESA
, (p
), (F
, ";"));
2869 KEYWORD1
void KEYWORD2
NAME(WindowPos3iMESA
)(GLint x
, GLint y
, GLint z
)
2871 DISPATCH(WindowPos3iMESA
, (x
, y
, z
), (F
, ";"));
2874 KEYWORD1
void KEYWORD2
NAME(WindowPos3sMESA
)(GLshort x
, GLshort y
, GLshort z
)
2876 DISPATCH(WindowPos3sMESA
, (x
, y
, z
), (F
, ";"));
2879 KEYWORD1
void KEYWORD2
NAME(WindowPos3fMESA
)(GLfloat x
, GLfloat y
, GLfloat z
)
2881 DISPATCH(WindowPos3fMESA
, (x
, y
, z
), (F
, ";"));
2884 KEYWORD1
void KEYWORD2
NAME(WindowPos3dMESA
)(GLdouble x
, GLdouble y
, GLdouble z
)
2886 DISPATCH(WindowPos3dMESA
, (x
, y
, z
), (F
, ";"));
2889 KEYWORD1
void KEYWORD2
NAME(WindowPos3ivMESA
)(const GLint
*p
)
2891 DISPATCH(WindowPos3ivMESA
, (p
), (F
, ";"));
2894 KEYWORD1
void KEYWORD2
NAME(WindowPos3svMESA
)(const GLshort
*p
)
2896 DISPATCH(WindowPos3svMESA
, (p
), (F
, ";"));
2899 KEYWORD1
void KEYWORD2
NAME(WindowPos3fvMESA
)(const GLfloat
*p
)
2901 DISPATCH(WindowPos3fvMESA
, (p
), (F
, ";"));
2904 KEYWORD1
void KEYWORD2
NAME(WindowPos3dvMESA
)(const GLdouble
*p
)
2906 DISPATCH(WindowPos3dvMESA
, (p
), (F
, ";"));
2909 KEYWORD1
void KEYWORD2
NAME(WindowPos4iMESA
)(GLint x
, GLint y
, GLint z
, GLint w
)
2911 DISPATCH(WindowPos4iMESA
, (x
, y
, z
, w
), (F
, ";"));
2914 KEYWORD1
void KEYWORD2
NAME(WindowPos4sMESA
)(GLshort x
, GLshort y
, GLshort z
, GLshort w
)
2916 DISPATCH(WindowPos4sMESA
, (x
, y
, z
, w
), (F
, ";"));
2919 KEYWORD1
void KEYWORD2
NAME(WindowPos4fMESA
)(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
)
2921 DISPATCH(WindowPos4fMESA
, (x
, y
, z
, w
), (F
, ";"));
2924 KEYWORD1
void KEYWORD2
NAME(WindowPos4dMESA
)(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
)
2926 DISPATCH(WindowPos4dMESA
, (x
, y
, z
, w
), (F
, ";"));
2929 KEYWORD1
void KEYWORD2
NAME(WindowPos4ivMESA
)(const GLint
*p
)
2931 DISPATCH(WindowPos4ivMESA
, (p
), (F
, ";"));
2934 KEYWORD1
void KEYWORD2
NAME(WindowPos4svMESA
)(const GLshort
*p
)
2936 DISPATCH(WindowPos4svMESA
, (p
), (F
, ";"));
2939 KEYWORD1
void KEYWORD2
NAME(WindowPos4fvMESA
)(const GLfloat
*p
)
2941 DISPATCH(WindowPos4fvMESA
, (p
), (F
, ";"));
2944 KEYWORD1
void KEYWORD2
NAME(WindowPos4dvMESA
)(const GLdouble
*p
)
2946 DISPATCH(WindowPos4dvMESA
, (p
), (F
, ";"));
2951 /* GL_MESA_resize_buffers */
2952 KEYWORD1
void KEYWORD2
NAME(ResizeBuffersMESA
)(void)
2954 DISPATCH(ResizeBuffersMESA
, (), (F
, "glResizeBuffersMESA();"));
2959 /* GL_ARB_transpose_matrix */
2960 KEYWORD1
void KEYWORD2
NAME(LoadTransposeMatrixdARB
)(const GLdouble m
[16])
2962 DISPATCH(LoadTransposeMatrixdARB
, (m
), (F
, "glLoadTransposeMatrixARB(%p);", m
));
2965 KEYWORD1
void KEYWORD2
NAME(LoadTransposeMatrixfARB
)(const GLfloat m
[16])
2967 DISPATCH(LoadTransposeMatrixfARB
, (m
), (F
, "glLoadTransposeMatrixfARB(%p)", m
));
2970 KEYWORD1
void KEYWORD2
NAME(MultTransposeMatrixdARB
)(const GLdouble m
[16])
2972 DISPATCH(MultTransposeMatrixdARB
, (m
), (F
, "glMultTransposeMatrixfARB(%p)", m
));
2975 KEYWORD1
void KEYWORD2
NAME(MultTransposeMatrixfARB
)(const GLfloat m
[16])
2977 DISPATCH(MultTransposeMatrixfARB
, (m
), (F
, "glLoadTransposeMatrixfARB(%p)", m
));
2986 #undef RETURN_DISPATCH