1 /* $Id: glapitemp.h,v 1.8 2000/01/10 04:29:10 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
56 * Most functions need the msg (printf-message) parameter to be finished.
57 * I.e. replace ";\n" with the real info.
63 KEYWORD1
void KEYWORD2
NAME(Accum
)(GLenum op
, GLfloat value
)
65 DISPATCH(Accum
, (op
, value
), ("glAccum(0x%x, %g);\n", op
, value
));
68 KEYWORD1
void KEYWORD2
NAME(AlphaFunc
)(GLenum func
, GLclampf ref
)
70 DISPATCH(AlphaFunc
, (func
, ref
), ("glAlphaFunc(0x%x, %g);\n", func
, ref
));
73 KEYWORD1
void KEYWORD2
NAME(Begin
)(GLenum mode
)
75 DISPATCH(Begin
, (mode
), ("glBegin(0x%x);\n", mode
));
78 KEYWORD1
void KEYWORD2
NAME(Bitmap
)(GLsizei width
, GLsizei height
, GLfloat xorig
, GLfloat yorig
, GLfloat xmove
, GLfloat ymove
, const GLubyte
*bitmap
)
80 DISPATCH(Bitmap
, (width
, height
, xorig
, yorig
, xmove
, ymove
, bitmap
), (";\n"));
83 KEYWORD1
void KEYWORD2
NAME(BlendFunc
)(GLenum sfactor
, GLenum dfactor
)
85 DISPATCH(BlendFunc
, (sfactor
, dfactor
), (";\n"));
88 KEYWORD1
void KEYWORD2
NAME(CallList
)(GLuint list
)
90 DISPATCH(CallList
, (list
), ("glCallList(%u);\n", list
));
93 KEYWORD1
void KEYWORD2
NAME(CallLists
)(GLsizei n
, GLenum type
, const GLvoid
*lists
)
95 DISPATCH(CallLists
, (n
, type
, lists
), (";\n"));
98 KEYWORD1
void KEYWORD2
NAME(Clear
)(GLbitfield mask
)
100 DISPATCH(Clear
, (mask
), ("glClear(0x%x);\n", mask
));
103 KEYWORD1
void KEYWORD2
NAME(ClearAccum
)(GLfloat red
, GLfloat green
, GLfloat blue
, GLfloat alpha
)
105 DISPATCH(ClearAccum
, (red
, green
, blue
, alpha
), (";\n"));
108 KEYWORD1
void KEYWORD2
NAME(ClearColor
)(GLclampf red
, GLclampf green
, GLclampf blue
, GLclampf alpha
)
110 DISPATCH(ClearColor
, (red
, green
, blue
, alpha
), (";\n"));
113 KEYWORD1
void KEYWORD2
NAME(ClearDepth
)(GLclampd depth
)
115 DISPATCH(ClearDepth
, (depth
), (";\n"));
118 KEYWORD1
void KEYWORD2
NAME(ClearIndex
)(GLfloat c
)
120 DISPATCH(ClearIndex
, (c
), (";\n"));
123 KEYWORD1
void KEYWORD2
NAME(ClearStencil
)(GLint s
)
125 DISPATCH(ClearStencil
, (s
), (";\n"));
128 KEYWORD1
void KEYWORD2
NAME(ClipPlane
)(GLenum plane
, const GLdouble
*equation
)
130 DISPATCH(ClipPlane
, (plane
, equation
), (";\n"));
133 KEYWORD1
void KEYWORD2
NAME(Color3b
)(GLbyte red
, GLbyte green
, GLbyte blue
)
135 DISPATCH(Color3b
, (red
, green
, blue
), (";\n"));
138 KEYWORD1
void KEYWORD2
NAME(Color3d
)(GLdouble red
, GLdouble green
, GLdouble blue
)
140 DISPATCH(Color3d
, (red
, green
, blue
), (";\n"));
143 KEYWORD1
void KEYWORD2
NAME(Color3f
)(GLfloat red
, GLfloat green
, GLfloat blue
)
145 DISPATCH(Color3f
, (red
, green
, blue
), ("glColor3f(%g, %g, %g);\n", red
, green
, blue
));
148 KEYWORD1
void KEYWORD2
NAME(Color3i
)(GLint red
, GLint green
, GLint blue
)
150 DISPATCH(Color3i
, (red
, green
, blue
), (";\n"));
153 KEYWORD1
void KEYWORD2
NAME(Color3s
)(GLshort red
, GLshort green
, GLshort blue
)
155 DISPATCH(Color3s
, (red
, green
, blue
), (";\n"));
158 KEYWORD1
void KEYWORD2
NAME(Color3ub
)(GLubyte red
, GLubyte green
, GLubyte blue
)
160 DISPATCH(Color3ub
, (red
, green
, blue
), (";\n"));
163 KEYWORD1
void KEYWORD2
NAME(Color3ui
)(GLuint red
, GLuint green
, GLuint blue
)
165 DISPATCH(Color3ui
, (red
, green
, blue
), (";\n"));
168 KEYWORD1
void KEYWORD2
NAME(Color3us
)(GLushort red
, GLushort green
, GLushort blue
)
170 DISPATCH(Color3us
, (red
, green
, blue
), (";\n"));
173 KEYWORD1
void KEYWORD2
NAME(Color4b
)(GLbyte red
, GLbyte green
, GLbyte blue
, GLbyte alpha
)
175 DISPATCH(Color4b
, (red
, green
, blue
, alpha
), (";\n"));
178 KEYWORD1
void KEYWORD2
NAME(Color4d
)(GLdouble red
, GLdouble green
, GLdouble blue
, GLdouble alpha
)
180 DISPATCH(Color4d
, (red
, green
, blue
, alpha
), (";\n"));
183 KEYWORD1
void KEYWORD2
NAME(Color4f
)(GLfloat red
, GLfloat green
, GLfloat blue
, GLfloat alpha
)
185 DISPATCH(Color4f
, (red
, green
, blue
, alpha
), (";\n"));
188 KEYWORD1
void KEYWORD2
NAME(Color4i
)(GLint red
, GLint green
, GLint blue
, GLint alpha
)
190 DISPATCH(Color4i
, (red
, green
, blue
, alpha
), (";\n"));
193 KEYWORD1
void KEYWORD2
NAME(Color4s
)(GLshort red
, GLshort green
, GLshort blue
, GLshort alpha
)
195 DISPATCH(Color4s
, (red
, green
, blue
, alpha
), (";\n"));
198 KEYWORD1
void KEYWORD2
NAME(Color4ub
)(GLubyte red
, GLubyte green
, GLubyte blue
, GLubyte alpha
)
200 DISPATCH(Color4ub
, (red
, green
, blue
, alpha
), (";\n"));
203 KEYWORD1
void KEYWORD2
NAME(Color4ui
)(GLuint red
, GLuint green
, GLuint blue
, GLuint alpha
)
205 DISPATCH(Color4ui
, (red
, green
, blue
, alpha
), (";\n"));
208 KEYWORD1
void KEYWORD2
NAME(Color4us
)(GLushort red
, GLushort green
, GLushort blue
, GLushort alpha
)
210 DISPATCH(Color4us
, (red
, green
, blue
, alpha
), (";\n"));
213 KEYWORD1
void KEYWORD2
NAME(Color3bv
)(const GLbyte
*v
)
215 DISPATCH(Color3bv
, (v
), (";\n"));
218 KEYWORD1
void KEYWORD2
NAME(Color3dv
)(const GLdouble
*v
)
220 DISPATCH(Color3dv
, (v
), (";\n"));
223 KEYWORD1
void KEYWORD2
NAME(Color3fv
)(const GLfloat
*v
)
225 DISPATCH(Color3fv
, (v
), (";\n"));
228 KEYWORD1
void KEYWORD2
NAME(Color3iv
)(const GLint
*v
)
230 DISPATCH(Color3iv
, (v
), (";\n"));
233 KEYWORD1
void KEYWORD2
NAME(Color3sv
)(const GLshort
*v
)
235 DISPATCH(Color3sv
, (v
), (";\n"));
238 KEYWORD1
void KEYWORD2
NAME(Color3ubv
)(const GLubyte
*v
)
240 DISPATCH(Color3ubv
, (v
), (";\n"));
243 KEYWORD1
void KEYWORD2
NAME(Color3uiv
)(const GLuint
*v
)
245 DISPATCH(Color3uiv
, (v
), (";\n"));
248 KEYWORD1
void KEYWORD2
NAME(Color3usv
)(const GLushort
*v
)
250 DISPATCH(Color3usv
, (v
), (";\n"));
253 KEYWORD1
void KEYWORD2
NAME(Color4bv
)(const GLbyte
*v
)
255 DISPATCH(Color4bv
, (v
), (";\n"));
258 KEYWORD1
void KEYWORD2
NAME(Color4dv
)(const GLdouble
*v
)
260 DISPATCH(Color4dv
, (v
), (";\n"));
263 KEYWORD1
void KEYWORD2
NAME(Color4fv
)(const GLfloat
*v
)
265 DISPATCH(Color4fv
, (v
), (";\n"));
268 KEYWORD1
void KEYWORD2
NAME(Color4iv
)(const GLint
*v
)
270 DISPATCH(Color4iv
, (v
), (";\n"));
273 KEYWORD1
void KEYWORD2
NAME(Color4sv
)(const GLshort
*v
)
275 DISPATCH(Color4sv
, (v
), (";\n"));
278 KEYWORD1
void KEYWORD2
NAME(Color4ubv
)(const GLubyte
*v
)
280 DISPATCH(Color4ubv
, (v
), (";\n"));
283 KEYWORD1
void KEYWORD2
NAME(Color4uiv
)(const GLuint
*v
)
285 DISPATCH(Color4uiv
, (v
), (";\n"));
288 KEYWORD1
void KEYWORD2
NAME(Color4usv
)(const GLushort
*v
)
290 DISPATCH(Color4usv
, (v
), (";\n"));
293 KEYWORD1
void KEYWORD2
NAME(ColorMask
)(GLboolean red
, GLboolean green
, GLboolean blue
, GLboolean alpha
)
295 DISPATCH(ColorMask
, (red
, green
, blue
, alpha
), (";\n"));
298 KEYWORD1
void KEYWORD2
NAME(ColorMaterial
)(GLenum face
, GLenum mode
)
300 DISPATCH(ColorMaterial
, (face
, mode
), (";\n"));
303 KEYWORD1
void KEYWORD2
NAME(CopyPixels
)(GLint x
, GLint y
, GLsizei width
, GLsizei height
, GLenum type
)
305 DISPATCH(CopyPixels
, (x
, y
, width
, height
, type
), (";\n"));
308 KEYWORD1
void KEYWORD2
NAME(CullFace
)(GLenum mode
)
310 DISPATCH(CullFace
, (mode
), (";\n"));
313 KEYWORD1
void KEYWORD2
NAME(DepthFunc
)(GLenum func
)
315 DISPATCH(DepthFunc
, (func
), (";\n"));
318 KEYWORD1
void KEYWORD2
NAME(DepthMask
)(GLboolean flag
)
320 DISPATCH(DepthMask
, (flag
), (";\n"));
323 KEYWORD1
void KEYWORD2
NAME(DepthRange
)(GLclampd nearVal
, GLclampd farVal
)
325 DISPATCH(DepthRange
, (nearVal
, farVal
), (";\n"));
328 KEYWORD1
void KEYWORD2
NAME(DeleteLists
)(GLuint list
, GLsizei range
)
330 DISPATCH(DeleteLists
, (list
, range
), (";\n"));
333 KEYWORD1
void KEYWORD2
NAME(Disable
)(GLenum cap
)
335 DISPATCH(Disable
, (cap
), ("glDisable(0x%x);\n", cap
));
338 KEYWORD1
void KEYWORD2
NAME(DrawBuffer
)(GLenum mode
)
340 DISPATCH(DrawBuffer
, (mode
), (";\n"));
343 KEYWORD1
void KEYWORD2
NAME(DrawElements
)(GLenum mode
, GLsizei count
, GLenum type
, const GLvoid
*indices
)
345 DISPATCH(DrawElements
, (mode
, count
, type
, indices
), (";\n"));
348 KEYWORD1
void KEYWORD2
NAME(DrawPixels
)(GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
350 DISPATCH(DrawPixels
, (width
, height
, format
, type
, pixels
), (";\n"));
353 KEYWORD1
void KEYWORD2
NAME(Enable
)(GLenum cap
)
355 DISPATCH(Enable
, (cap
), ("glEnable(0x%x);\n", cap
));
358 KEYWORD1
void KEYWORD2
NAME(End
)(void)
360 DISPATCH(End
, (), ("glEnd();\n"));
363 KEYWORD1
void KEYWORD2
NAME(EndList
)(void)
365 DISPATCH(EndList
, (), (";\n"));
368 KEYWORD1
void KEYWORD2
NAME(EvalCoord1d
)(GLdouble u
)
370 DISPATCH(EvalCoord1d
, (u
), (";\n"));
373 KEYWORD1
void KEYWORD2
NAME(EvalCoord1f
)(GLfloat u
)
375 DISPATCH(EvalCoord1f
, (u
), (";\n"));
378 KEYWORD1
void KEYWORD2
NAME(EvalCoord1dv
)(const GLdouble
*u
)
380 DISPATCH(EvalCoord1dv
, (u
), (";\n"));
383 KEYWORD1
void KEYWORD2
NAME(EvalCoord1fv
)(const GLfloat
*u
)
385 DISPATCH(EvalCoord1fv
, (u
), (";\n"));
388 KEYWORD1
void KEYWORD2
NAME(EvalCoord2d
)(GLdouble u
, GLdouble v
)
390 DISPATCH(EvalCoord2d
, (u
, v
), (";\n"));
393 KEYWORD1
void KEYWORD2
NAME(EvalCoord2f
)(GLfloat u
, GLfloat v
)
395 DISPATCH(EvalCoord2f
, (u
, v
), (";\n"));
398 KEYWORD1
void KEYWORD2
NAME(EvalCoord2dv
)(const GLdouble
*u
)
400 DISPATCH(EvalCoord2dv
, (u
), (";\n"));
403 KEYWORD1
void KEYWORD2
NAME(EvalCoord2fv
)(const GLfloat
*u
)
405 DISPATCH(EvalCoord2fv
, (u
), (";\n"));
408 KEYWORD1
void KEYWORD2
NAME(EvalPoint1
)(GLint i
)
410 DISPATCH(EvalPoint1
, (i
), (";\n"));
413 KEYWORD1
void KEYWORD2
NAME(EvalPoint2
)(GLint i
, GLint j
)
415 DISPATCH(EvalPoint2
, (i
, j
), (";\n"));
418 KEYWORD1
void KEYWORD2
NAME(EvalMesh1
)(GLenum mode
, GLint i1
, GLint i2
)
420 DISPATCH(EvalMesh1
, (mode
, i1
, i2
), (";\n"));
423 KEYWORD1
void KEYWORD2
NAME(EdgeFlag
)(GLboolean flag
)
425 DISPATCH(EdgeFlag
, (flag
), (";\n"));
428 KEYWORD1
void KEYWORD2
NAME(EdgeFlagv
)(const GLboolean
*flag
)
430 DISPATCH(EdgeFlagv
, (flag
), (";\n"));
433 KEYWORD1
void KEYWORD2
NAME(EvalMesh2
)(GLenum mode
, GLint i1
, GLint i2
, GLint j1
, GLint j2
)
435 DISPATCH(EvalMesh2
, (mode
, i1
, i2
, j1
, j2
), (";\n"));
438 KEYWORD1
void KEYWORD2
NAME(FeedbackBuffer
)(GLsizei size
, GLenum type
, GLfloat
*buffer
)
440 DISPATCH(FeedbackBuffer
, (size
, type
, buffer
), (";\n"));
443 KEYWORD1
void KEYWORD2
NAME(Finish
)(void)
445 DISPATCH(Finish
, (), (";\n"));
448 KEYWORD1
void KEYWORD2
NAME(Flush
)(void)
450 DISPATCH(Flush
, (), (";\n"));
453 KEYWORD1
void KEYWORD2
NAME(Fogf
)(GLenum pname
, GLfloat param
)
455 DISPATCH(Fogf
, (pname
, param
), (";\n"));
458 KEYWORD1
void KEYWORD2
NAME(Fogi
)(GLenum pname
, GLint param
)
460 DISPATCH(Fogi
, (pname
, param
), (";\n"));
463 KEYWORD1
void KEYWORD2
NAME(Fogfv
)(GLenum pname
, const GLfloat
*params
)
465 DISPATCH(Fogfv
, (pname
, params
), (";\n"));
468 KEYWORD1
void KEYWORD2
NAME(Fogiv
)(GLenum pname
, const GLint
*params
)
470 DISPATCH(Fogiv
, (pname
, params
), (";\n"));
473 KEYWORD1
void KEYWORD2
NAME(FrontFace
)(GLenum mode
)
475 DISPATCH(FrontFace
, (mode
), (";\n"));
478 KEYWORD1
void KEYWORD2
NAME(Frustum
)(GLdouble left
, GLdouble right
, GLdouble bottom
, GLdouble top
, GLdouble nearval
, GLdouble farval
)
480 DISPATCH(Frustum
, (left
, right
, bottom
, top
, nearval
, farval
), (";\n"));
483 KEYWORD1 GLuint KEYWORD2
NAME(GenLists
)(GLsizei range
)
485 RETURN_DISPATCH(GenLists
, (range
), ("glGenLists(%d);\n", range
));
488 KEYWORD1
void KEYWORD2
NAME(GetBooleanv
)(GLenum pname
, GLboolean
*params
)
490 DISPATCH(GetBooleanv
, (pname
, params
), (";\n"));
493 KEYWORD1
void KEYWORD2
NAME(GetClipPlane
)(GLenum plane
, GLdouble
*equation
)
495 DISPATCH(GetClipPlane
, (plane
, equation
), (";\n"));
498 KEYWORD1
void KEYWORD2
NAME(GetDoublev
)(GLenum pname
, GLdouble
*params
)
500 DISPATCH(GetDoublev
, (pname
, params
), (";\n"));
503 KEYWORD1 GLenum KEYWORD2
NAME(GetError
)(void)
505 RETURN_DISPATCH(GetError
, (), ("glGetError();\n"));
508 KEYWORD1
void KEYWORD2
NAME(GetFloatv
)(GLenum pname
, GLfloat
*params
)
510 DISPATCH(GetFloatv
, (pname
, params
), (";\n"));
513 KEYWORD1
void KEYWORD2
NAME(GetIntegerv
)(GLenum pname
, GLint
*params
)
515 DISPATCH(GetIntegerv
, (pname
, params
), (";\n"));
518 KEYWORD1
void KEYWORD2
NAME(GetLightfv
)(GLenum light
, GLenum pname
, GLfloat
*params
)
520 DISPATCH(GetLightfv
, (light
, pname
, params
), (";\n"));
523 KEYWORD1
void KEYWORD2
NAME(GetLightiv
)(GLenum light
, GLenum pname
, GLint
*params
)
525 DISPATCH(GetLightiv
, (light
, pname
, params
), (";\n"));
528 KEYWORD1
void KEYWORD2
NAME(GetMapdv
)(GLenum target
, GLenum query
, GLdouble
*v
)
530 DISPATCH(GetMapdv
, (target
, query
, v
), (";\n"));
533 KEYWORD1
void KEYWORD2
NAME(GetMapfv
)(GLenum target
, GLenum query
, GLfloat
*v
)
535 DISPATCH(GetMapfv
, (target
, query
, v
), (";\n"));
538 KEYWORD1
void KEYWORD2
NAME(GetMapiv
)(GLenum target
, GLenum query
, GLint
*v
)
540 DISPATCH(GetMapiv
, (target
, query
, v
), (";\n"));
543 KEYWORD1
void KEYWORD2
NAME(GetMaterialfv
)(GLenum face
, GLenum pname
, GLfloat
*params
)
545 DISPATCH(GetMaterialfv
, (face
, pname
, params
), (";\n"));
548 KEYWORD1
void KEYWORD2
NAME(GetMaterialiv
)(GLenum face
, GLenum pname
, GLint
*params
)
550 DISPATCH(GetMaterialiv
, (face
, pname
, params
), (";\n"));
553 KEYWORD1
void KEYWORD2
NAME(GetPixelMapfv
)(GLenum map
, GLfloat
*values
)
555 DISPATCH(GetPixelMapfv
, (map
, values
), (";\n"));
558 KEYWORD1
void KEYWORD2
NAME(GetPixelMapuiv
)(GLenum map
, GLuint
*values
)
560 DISPATCH(GetPixelMapuiv
, (map
, values
), (";\n"));
563 KEYWORD1
void KEYWORD2
NAME(GetPixelMapusv
)(GLenum map
, GLushort
*values
)
565 DISPATCH(GetPixelMapusv
, (map
, values
), (";\n"));
568 KEYWORD1
void KEYWORD2
NAME(GetPolygonStipple
)(GLubyte
*mask
)
570 DISPATCH(GetPolygonStipple
, (mask
), (";\n"));
573 KEYWORD1
const GLubyte
* KEYWORD2
NAME(GetString
)(GLenum name
)
575 RETURN_DISPATCH(GetString
, (name
), ("glGetString(0x%x);\n", name
));
578 KEYWORD1
void KEYWORD2
NAME(GetTexEnvfv
)(GLenum target
, GLenum pname
, GLfloat
*params
)
580 DISPATCH(GetTexEnvfv
, (target
, pname
, params
), (";\n"));
583 KEYWORD1
void KEYWORD2
NAME(GetTexEnviv
)(GLenum target
, GLenum pname
, GLint
*params
)
585 DISPATCH(GetTexEnviv
, (target
, pname
, params
), (";\n"));
588 KEYWORD1
void KEYWORD2
NAME(GetTexGeniv
)(GLenum target
, GLenum pname
, GLint
*params
)
590 DISPATCH(GetTexGeniv
, (target
, pname
, params
), (";\n"));
593 KEYWORD1
void KEYWORD2
NAME(GetTexGendv
)(GLenum target
, GLenum pname
, GLdouble
*params
)
595 DISPATCH(GetTexGendv
, (target
, pname
, params
), (";\n"));
598 KEYWORD1
void KEYWORD2
NAME(GetTexGenfv
)(GLenum target
, GLenum pname
, GLfloat
*params
)
600 DISPATCH(GetTexGenfv
, (target
, pname
, params
), (";\n"));
603 KEYWORD1
void KEYWORD2
NAME(GetTexImage
)(GLenum target
, GLint level
, GLenum format
, GLenum type
, GLvoid
*pixels
)
605 DISPATCH(GetTexImage
, (target
, level
, format
, type
, pixels
), (";\n"));
608 KEYWORD1
void KEYWORD2
NAME(GetTexLevelParameterfv
)(GLenum target
, GLint level
, GLenum pname
, GLfloat
*params
)
610 DISPATCH(GetTexLevelParameterfv
, (target
, level
, pname
, params
), (";\n"));
613 KEYWORD1
void KEYWORD2
NAME(GetTexLevelParameteriv
)(GLenum target
, GLint level
, GLenum pname
, GLint
*params
)
615 DISPATCH(GetTexLevelParameteriv
, (target
, level
, pname
, params
), (";\n"));
618 KEYWORD1
void KEYWORD2
NAME(GetTexParameterfv
)(GLenum target
, GLenum pname
, GLfloat
*params
)
620 DISPATCH(GetTexParameterfv
, (target
, pname
, params
), (";\n"));
623 KEYWORD1
void KEYWORD2
NAME(GetTexParameteriv
)(GLenum target
, GLenum pname
, GLint
*params
)
625 DISPATCH(GetTexParameteriv
, (target
, pname
, params
), (";\n"));
628 KEYWORD1
void KEYWORD2
NAME(Hint
)(GLenum target
, GLenum mode
)
630 DISPATCH(Hint
, (target
, mode
), (";\n"));
633 KEYWORD1
void KEYWORD2
NAME(Indexd
)(GLdouble c
)
635 DISPATCH(Indexd
, (c
), (";\n"));
638 KEYWORD1
void KEYWORD2
NAME(Indexdv
)(const GLdouble
*c
)
640 DISPATCH(Indexdv
, (c
), (";\n"));
643 KEYWORD1
void KEYWORD2
NAME(Indexf
)(GLfloat c
)
645 DISPATCH(Indexf
, (c
), (";\n"));
648 KEYWORD1
void KEYWORD2
NAME(Indexfv
)(const GLfloat
*c
)
650 DISPATCH(Indexfv
, (c
), (";\n"));
653 KEYWORD1
void KEYWORD2
NAME(Indexi
)(GLint c
)
655 DISPATCH(Indexi
, (c
), (";\n"));
658 KEYWORD1
void KEYWORD2
NAME(Indexiv
)(const GLint
*c
)
660 DISPATCH(Indexiv
, (c
), (";\n"));
663 KEYWORD1
void KEYWORD2
NAME(Indexs
)(GLshort c
)
665 DISPATCH(Indexs
, (c
), (";\n"));
668 KEYWORD1
void KEYWORD2
NAME(Indexsv
)(const GLshort
*c
)
670 DISPATCH(Indexsv
, (c
), (";\n"));
673 KEYWORD1
void KEYWORD2
NAME(IndexMask
)(GLuint mask
)
675 DISPATCH(IndexMask
, (mask
), (";\n"));
678 KEYWORD1
void KEYWORD2
NAME(InitNames
)(void)
680 DISPATCH(InitNames
, (), (";\n"));
683 KEYWORD1 GLboolean KEYWORD2
NAME(IsEnabled
)(GLenum cap
)
685 RETURN_DISPATCH(IsEnabled
, (cap
), ("glIsEnabled(0x%x);\n", cap
));
688 KEYWORD1 GLboolean KEYWORD2
NAME(IsList
)(GLuint list
)
690 RETURN_DISPATCH(IsList
, (list
), ("glIsList(%u);\n", list
));
693 KEYWORD1
void KEYWORD2
NAME(Lightf
)(GLenum light
, GLenum pname
, GLfloat param
)
695 DISPATCH(Lightf
, (light
, pname
, param
), (";\n"));
698 KEYWORD1
void KEYWORD2
NAME(Lighti
)(GLenum light
, GLenum pname
, GLint param
)
700 DISPATCH(Lighti
, (light
, pname
, param
), (";\n"));
703 KEYWORD1
void KEYWORD2
NAME(Lightfv
)(GLenum light
, GLenum pname
, const GLfloat
*params
)
705 DISPATCH(Lightfv
, (light
, pname
, params
), (";\n"));
708 KEYWORD1
void KEYWORD2
NAME(Lightiv
)(GLenum light
, GLenum pname
, const GLint
*params
)
710 DISPATCH(Lightiv
, (light
, pname
, params
), (";\n"));
713 KEYWORD1
void KEYWORD2
NAME(LightModelf
)(GLenum pname
, GLfloat param
)
715 DISPATCH(LightModelf
, (pname
, param
), (";\n"));
718 KEYWORD1
void KEYWORD2
NAME(LightModeli
)(GLenum pname
, GLint param
)
720 DISPATCH(LightModeli
, (pname
, param
), (";\n"));
723 KEYWORD1
void KEYWORD2
NAME(LightModelfv
)(GLenum pname
, const GLfloat
*params
)
725 DISPATCH(LightModelfv
, (pname
, params
), (";\n"));
728 KEYWORD1
void KEYWORD2
NAME(LightModeliv
)(GLenum pname
, const GLint
*params
)
730 DISPATCH(LightModeliv
, (pname
, params
), (";\n"));
733 KEYWORD1
void KEYWORD2
NAME(LineWidth
)(GLfloat width
)
735 DISPATCH(LineWidth
, (width
), (";\n"));
738 KEYWORD1
void KEYWORD2
NAME(LineStipple
)(GLint factor
, GLushort pattern
)
740 DISPATCH(LineStipple
, (factor
, pattern
), (";\n"));
743 KEYWORD1
void KEYWORD2
NAME(ListBase
)(GLuint base
)
745 DISPATCH(ListBase
, (base
), (";\n"));
748 KEYWORD1
void KEYWORD2
NAME(LoadIdentity
)(void)
750 DISPATCH(LoadIdentity
, (), (";\n"));
753 KEYWORD1
void KEYWORD2
NAME(LoadMatrixd
)(const GLdouble
*m
)
755 DISPATCH(LoadMatrixd
, (m
), (";\n"));
758 KEYWORD1
void KEYWORD2
NAME(LoadMatrixf
)(const GLfloat
*m
)
760 DISPATCH(LoadMatrixf
, (m
), (";\n"));
763 KEYWORD1
void KEYWORD2
NAME(LoadName
)(GLuint name
)
765 DISPATCH(LoadName
, (name
), (";\n"));
768 KEYWORD1
void KEYWORD2
NAME(LogicOp
)(GLenum opcode
)
770 DISPATCH(LogicOp
, (opcode
), (";\n"));
773 KEYWORD1
void KEYWORD2
NAME(Map1d
)(GLenum target
, GLdouble u1
, GLdouble u2
, GLint stride
, GLint order
, const GLdouble
*points
)
775 DISPATCH(Map1d
, (target
, u1
, u2
, stride
, order
, points
), (";\n"));
778 KEYWORD1
void KEYWORD2
NAME(Map1f
)(GLenum target
, GLfloat u1
, GLfloat u2
, GLint stride
, GLint order
, const GLfloat
*points
)
780 DISPATCH(Map1f
, (target
, u1
, u2
, stride
, order
, points
), (";\n"));
783 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
)
785 DISPATCH(Map2d
, (target
, u1
, u2
, ustride
, uorder
, v1
, v2
, vstride
, vorder
, points
), (";\n"));
788 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
)
790 DISPATCH(Map2f
, (target
, u1
, u2
, ustride
, uorder
, v1
, v2
, vstride
, vorder
, points
), (";\n"));
793 KEYWORD1
void KEYWORD2
NAME(MapGrid1d
)(GLint un
, GLdouble u1
, GLdouble u2
)
795 DISPATCH(MapGrid1d
, (un
, u1
, u2
), (";\n"));
798 KEYWORD1
void KEYWORD2
NAME(MapGrid1f
)(GLint un
, GLfloat u1
, GLfloat u2
)
800 DISPATCH(MapGrid1f
, (un
, u1
, u2
), (";\n"));
803 KEYWORD1
void KEYWORD2
NAME(MapGrid2d
)(GLint un
, GLdouble u1
, GLdouble u2
, GLint vn
, GLdouble v1
, GLdouble v2
)
805 DISPATCH(MapGrid2d
, (un
, u1
, u2
, vn
, v1
, v2
), (";\n"));
808 KEYWORD1
void KEYWORD2
NAME(MapGrid2f
)(GLint un
, GLfloat u1
, GLfloat u2
, GLint vn
, GLfloat v1
, GLfloat v2
)
810 DISPATCH(MapGrid2f
, (un
, u1
, u2
, vn
, v1
, v2
), (";\n"));
813 KEYWORD1
void KEYWORD2
NAME(Materialf
)(GLenum face
, GLenum pname
, GLfloat param
)
815 DISPATCH(Materialf
, (face
, pname
, param
), (";\n"));
818 KEYWORD1
void KEYWORD2
NAME(Materiali
)(GLenum face
, GLenum pname
, GLint param
)
820 DISPATCH(Materiali
, (face
, pname
, param
), (";\n"));
823 KEYWORD1
void KEYWORD2
NAME(Materialfv
)(GLenum face
, GLenum pname
, const GLfloat
*params
)
825 DISPATCH(Materialfv
, (face
, pname
, params
), (";\n"));
828 KEYWORD1
void KEYWORD2
NAME(Materialiv
)(GLenum face
, GLenum pname
, const GLint
*params
)
830 DISPATCH(Materialiv
, (face
, pname
, params
), (";\n"));
833 KEYWORD1
void KEYWORD2
NAME(MatrixMode
)(GLenum mode
)
835 DISPATCH(MatrixMode
, (mode
), (";\n"));
838 KEYWORD1
void KEYWORD2
NAME(MultMatrixd
)(const GLdouble
*m
)
840 DISPATCH(MultMatrixd
, (m
), (";\n"));
843 KEYWORD1
void KEYWORD2
NAME(MultMatrixf
)(const GLfloat
*m
)
845 DISPATCH(MultMatrixf
, (m
), (";\n"));
848 KEYWORD1
void KEYWORD2
NAME(NewList
)(GLuint list
, GLenum mode
)
850 DISPATCH(NewList
, (list
, mode
), (";\n"));
853 KEYWORD1
void KEYWORD2
NAME(Normal3b
)(GLbyte nx
, GLbyte ny
, GLbyte nz
)
855 DISPATCH(Normal3b
, (nx
, ny
, nz
), (";\n"));
858 KEYWORD1
void KEYWORD2
NAME(Normal3bv
)(const GLbyte
*v
)
860 DISPATCH(Normal3bv
, (v
), (";\n"));
863 KEYWORD1
void KEYWORD2
NAME(Normal3d
)(GLdouble nx
, GLdouble ny
, GLdouble nz
)
865 DISPATCH(Normal3d
, (nx
, ny
, nz
), (";\n"));
868 KEYWORD1
void KEYWORD2
NAME(Normal3dv
)(const GLdouble
*v
)
870 DISPATCH(Normal3dv
, (v
), (";\n"));
873 KEYWORD1
void KEYWORD2
NAME(Normal3f
)(GLfloat nx
, GLfloat ny
, GLfloat nz
)
875 DISPATCH(Normal3f
, (nx
, ny
, nz
), ("glNormal3f(%g, %g, %g);\n", nx
, ny
, nz
));
878 KEYWORD1
void KEYWORD2
NAME(Normal3fv
)(const GLfloat
*v
)
880 DISPATCH(Normal3fv
, (v
), (";\n"));
883 KEYWORD1
void KEYWORD2
NAME(Normal3i
)(GLint nx
, GLint ny
, GLint nz
)
885 DISPATCH(Normal3i
, (nx
, ny
, nz
), (";\n"));
888 KEYWORD1
void KEYWORD2
NAME(Normal3iv
)(const GLint
*v
)
890 DISPATCH(Normal3iv
, (v
), (";\n"));
893 KEYWORD1
void KEYWORD2
NAME(Normal3s
)(GLshort nx
, GLshort ny
, GLshort nz
)
895 DISPATCH(Normal3s
, (nx
, ny
, nz
), (";\n"));
898 KEYWORD1
void KEYWORD2
NAME(Normal3sv
)(const GLshort
*v
)
900 DISPATCH(Normal3sv
, (v
), (";\n"));
903 KEYWORD1
void KEYWORD2
NAME(Ortho
)(GLdouble left
, GLdouble right
, GLdouble bottom
, GLdouble top
, GLdouble nearval
, GLdouble farval
)
905 DISPATCH(Ortho
, (left
, right
, bottom
, top
, nearval
, farval
), (";\n"));
908 KEYWORD1
void KEYWORD2
NAME(PassThrough
)(GLfloat token
)
910 DISPATCH(PassThrough
, (token
), (";\n"));
913 KEYWORD1
void KEYWORD2
NAME(PixelMapfv
)(GLenum map
, GLint mapsize
, const GLfloat
*values
)
915 DISPATCH(PixelMapfv
, (map
, mapsize
, values
), (";\n"));
918 KEYWORD1
void KEYWORD2
NAME(PixelMapuiv
)(GLenum map
, GLint mapsize
, const GLuint
*values
)
920 DISPATCH(PixelMapuiv
, (map
, mapsize
, values
), (";\n"));
923 KEYWORD1
void KEYWORD2
NAME(PixelMapusv
)(GLenum map
, GLint mapsize
, const GLushort
*values
)
925 DISPATCH(PixelMapusv
, (map
, mapsize
, values
), (";\n"));
928 KEYWORD1
void KEYWORD2
NAME(PixelStoref
)(GLenum pname
, GLfloat param
)
930 DISPATCH(PixelStoref
, (pname
, param
), (";\n"));
933 KEYWORD1
void KEYWORD2
NAME(PixelStorei
)(GLenum pname
, GLint param
)
935 DISPATCH(PixelStorei
, (pname
, param
), (";\n"));
938 KEYWORD1
void KEYWORD2
NAME(PixelTransferf
)(GLenum pname
, GLfloat param
)
940 DISPATCH(PixelTransferf
, (pname
, param
), (";\n"));
943 KEYWORD1
void KEYWORD2
NAME(PixelTransferi
)(GLenum pname
, GLint param
)
945 DISPATCH(PixelTransferi
, (pname
, param
), (";\n"));
948 KEYWORD1
void KEYWORD2
NAME(PixelZoom
)(GLfloat xfactor
, GLfloat yfactor
)
950 DISPATCH(PixelZoom
, (xfactor
, yfactor
), (";\n"));
953 KEYWORD1
void KEYWORD2
NAME(PointSize
)(GLfloat size
)
955 DISPATCH(PointSize
, (size
), (";\n"));
958 KEYWORD1
void KEYWORD2
NAME(PolygonMode
)(GLenum face
, GLenum mode
)
960 DISPATCH(PolygonMode
, (face
, mode
), (";\n"));
963 KEYWORD1
void KEYWORD2
NAME(PolygonStipple
)(const GLubyte
*pattern
)
965 DISPATCH(PolygonStipple
, (pattern
), (";\n"));
968 KEYWORD1
void KEYWORD2
NAME(PopAttrib
)(void)
970 DISPATCH(PopAttrib
, (), (";\n"));
973 KEYWORD1
void KEYWORD2
NAME(PopMatrix
)(void)
975 DISPATCH(PopMatrix
, (), ("glPopMatrix();\n"));
978 KEYWORD1
void KEYWORD2
NAME(PopName
)(void)
980 DISPATCH(PopName
, (), (";\n"));
983 KEYWORD1
void KEYWORD2
NAME(PushAttrib
)(GLbitfield mask
)
985 DISPATCH(PushAttrib
, (mask
), (";\n"));
988 KEYWORD1
void KEYWORD2
NAME(PushMatrix
)(void)
990 DISPATCH(PushMatrix
, (), ("glPushMatrix();\n"));
993 KEYWORD1
void KEYWORD2
NAME(PushName
)(GLuint name
)
995 DISPATCH(PushName
, (name
), (";\n"));
998 KEYWORD1
void KEYWORD2
NAME(RasterPos2d
)(GLdouble x
, GLdouble y
)
1000 DISPATCH(RasterPos2d
, (x
, y
), (";\n"));
1003 KEYWORD1
void KEYWORD2
NAME(RasterPos2f
)(GLfloat x
, GLfloat y
)
1005 DISPATCH(RasterPos2f
, (x
, y
), (";\n"));
1008 KEYWORD1
void KEYWORD2
NAME(RasterPos2i
)(GLint x
, GLint y
)
1010 DISPATCH(RasterPos2i
, (x
, y
), (";\n"));
1013 KEYWORD1
void KEYWORD2
NAME(RasterPos2s
)(GLshort x
, GLshort y
)
1015 DISPATCH(RasterPos2s
, (x
, y
), (";\n"));
1018 KEYWORD1
void KEYWORD2
NAME(RasterPos3d
)(GLdouble x
, GLdouble y
, GLdouble z
)
1020 DISPATCH(RasterPos3d
, (x
, y
, z
), (";\n"));
1023 KEYWORD1
void KEYWORD2
NAME(RasterPos3f
)(GLfloat x
, GLfloat y
, GLfloat z
)
1025 DISPATCH(RasterPos3f
, (x
, y
, z
), (";\n"));
1028 KEYWORD1
void KEYWORD2
NAME(RasterPos3i
)(GLint x
, GLint y
, GLint z
)
1030 DISPATCH(RasterPos3i
, (x
, y
, z
), (";\n"));
1033 KEYWORD1
void KEYWORD2
NAME(RasterPos3s
)(GLshort x
, GLshort y
, GLshort z
)
1035 DISPATCH(RasterPos3s
, (x
, y
, z
), (";\n"));
1038 KEYWORD1
void KEYWORD2
NAME(RasterPos4d
)(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
)
1040 DISPATCH(RasterPos4d
, (x
, y
, z
, w
), (";\n"));
1043 KEYWORD1
void KEYWORD2
NAME(RasterPos4f
)(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
)
1045 DISPATCH(RasterPos4f
, (x
, y
, z
, w
), (";\n"));
1048 KEYWORD1
void KEYWORD2
NAME(RasterPos4i
)(GLint x
, GLint y
, GLint z
, GLint w
)
1050 DISPATCH(RasterPos4i
, (x
, y
, z
, w
), (";\n"));
1053 KEYWORD1
void KEYWORD2
NAME(RasterPos4s
)(GLshort x
, GLshort y
, GLshort z
, GLshort w
)
1055 DISPATCH(RasterPos4s
, (x
, y
, z
, w
), (";\n"));
1058 KEYWORD1
void KEYWORD2
NAME(RasterPos2dv
)(const GLdouble
*v
)
1060 DISPATCH(RasterPos2dv
, (v
), (";\n"));
1063 KEYWORD1
void KEYWORD2
NAME(RasterPos2fv
)(const GLfloat
*v
)
1065 DISPATCH(RasterPos2fv
, (v
), (";\n"));
1068 KEYWORD1
void KEYWORD2
NAME(RasterPos2iv
)(const GLint
*v
)
1070 DISPATCH(RasterPos2iv
, (v
), (";\n"));
1073 KEYWORD1
void KEYWORD2
NAME(RasterPos2sv
)(const GLshort
*v
)
1075 DISPATCH(RasterPos2sv
, (v
), (";\n"));
1078 KEYWORD1
void KEYWORD2
NAME(RasterPos3dv
)(const GLdouble
*v
)
1080 DISPATCH(RasterPos3dv
, (v
), (";\n"));
1083 KEYWORD1
void KEYWORD2
NAME(RasterPos3fv
)(const GLfloat
*v
)
1085 DISPATCH(RasterPos3fv
, (v
), (";\n"));
1088 KEYWORD1
void KEYWORD2
NAME(RasterPos3iv
)(const GLint
*v
)
1090 DISPATCH(RasterPos3iv
, (v
), (";\n"));
1093 KEYWORD1
void KEYWORD2
NAME(RasterPos3sv
)(const GLshort
*v
)
1095 DISPATCH(RasterPos3sv
, (v
), (";\n"));
1098 KEYWORD1
void KEYWORD2
NAME(RasterPos4dv
)(const GLdouble
*v
)
1100 DISPATCH(RasterPos4dv
, (v
), (";\n"));
1103 KEYWORD1
void KEYWORD2
NAME(RasterPos4fv
)(const GLfloat
*v
)
1105 DISPATCH(RasterPos4fv
, (v
), (";\n"));
1108 KEYWORD1
void KEYWORD2
NAME(RasterPos4iv
)(const GLint
*v
)
1110 DISPATCH(RasterPos4iv
, (v
), (";\n"));
1113 KEYWORD1
void KEYWORD2
NAME(RasterPos4sv
)(const GLshort
*v
)
1115 DISPATCH(RasterPos4sv
, (v
), (";\n"));
1118 KEYWORD1
void KEYWORD2
NAME(ReadBuffer
)(GLenum mode
)
1120 DISPATCH(ReadBuffer
, (mode
), (";\n"));
1123 KEYWORD1
void KEYWORD2
NAME(ReadPixels
)(GLint x
, GLint y
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, GLvoid
*pixels
)
1125 DISPATCH(ReadPixels
, (x
, y
, width
, height
, format
, type
, pixels
), (";\n"));
1128 KEYWORD1
void KEYWORD2
NAME(Rectd
)(GLdouble x1
, GLdouble y1
, GLdouble x2
, GLdouble y2
)
1130 DISPATCH(Rectd
, (x1
, y1
, x2
, y2
), (";\n"));
1133 KEYWORD1
void KEYWORD2
NAME(Rectdv
)(const GLdouble
*v1
, const GLdouble
*v2
)
1135 DISPATCH(Rectdv
, (v1
, v2
), (";\n"));
1138 KEYWORD1
void KEYWORD2
NAME(Rectf
)(GLfloat x1
, GLfloat y1
, GLfloat x2
, GLfloat y2
)
1140 DISPATCH(Rectf
, (x1
, y1
, x2
, y2
), (";\n"));
1143 KEYWORD1
void KEYWORD2
NAME(Rectfv
)(const GLfloat
*v1
, const GLfloat
*v2
)
1145 DISPATCH(Rectfv
, (v1
, v2
), (";\n"));
1148 KEYWORD1
void KEYWORD2
NAME(Recti
)(GLint x1
, GLint y1
, GLint x2
, GLint y2
)
1150 DISPATCH(Recti
, (x1
, y1
, x2
, y2
), (";\n"));
1153 KEYWORD1
void KEYWORD2
NAME(Rectiv
)(const GLint
*v1
, const GLint
*v2
)
1155 DISPATCH(Rectiv
, (v1
, v2
), (";\n"));
1158 KEYWORD1
void KEYWORD2
NAME(Rects
)(GLshort x1
, GLshort y1
, GLshort x2
, GLshort y2
)
1160 DISPATCH(Rects
, (x1
, y1
, x2
, y2
), (";\n"));
1163 KEYWORD1
void KEYWORD2
NAME(Rectsv
)(const GLshort
*v1
, const GLshort
*v2
)
1165 DISPATCH(Rectsv
, (v1
, v2
), (";\n"));
1168 KEYWORD1 GLint KEYWORD2
NAME(RenderMode
)(GLenum mode
)
1170 RETURN_DISPATCH(RenderMode
, (mode
), ("glRenderMode(0x%x);\n", mode
));
1173 KEYWORD1
void KEYWORD2
NAME(Rotated
)(GLdouble angle
, GLdouble x
, GLdouble y
, GLdouble z
)
1175 DISPATCH(Rotated
, (angle
, x
, y
, z
), (";\n"));
1178 KEYWORD1
void KEYWORD2
NAME(Rotatef
)(GLfloat angle
, GLfloat x
, GLfloat y
, GLfloat z
)
1180 DISPATCH(Rotatef
, (angle
, x
, y
, z
), ("glRotatef(%g, %g, %g, %g);\n", angle
, x
, y
, z
));
1183 KEYWORD1
void KEYWORD2
NAME(SelectBuffer
)(GLsizei size
, GLuint
*buffer
)
1185 DISPATCH(SelectBuffer
, (size
, buffer
), (";\n"));
1188 KEYWORD1
void KEYWORD2
NAME(Scaled
)(GLdouble x
, GLdouble y
, GLdouble z
)
1190 DISPATCH(Scaled
, (x
, y
, z
), (";\n"));
1193 KEYWORD1
void KEYWORD2
NAME(Scalef
)(GLfloat x
, GLfloat y
, GLfloat z
)
1195 DISPATCH(Scalef
, (x
, y
, z
), ("glScalef(%g, %g, %g);\n", x
, y
, z
));
1198 KEYWORD1
void KEYWORD2
NAME(Scissor
)(GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1200 DISPATCH(Scissor
, (x
, y
, width
, height
), ("glScissor(%d, %d, %d, %d);\n", x
, y
, width
, height
));
1203 KEYWORD1
void KEYWORD2
NAME(ShadeModel
)(GLenum mode
)
1205 DISPATCH(ShadeModel
, (mode
), ("glShadeModel(0x%x);\n", mode
));
1208 KEYWORD1
void KEYWORD2
NAME(StencilFunc
)(GLenum func
, GLint ref
, GLuint mask
)
1210 DISPATCH(StencilFunc
, (func
, ref
, mask
), (";\n"));
1213 KEYWORD1
void KEYWORD2
NAME(StencilMask
)(GLuint mask
)
1215 DISPATCH(StencilMask
, (mask
), (";\n"));
1218 KEYWORD1
void KEYWORD2
NAME(StencilOp
)(GLenum fail
, GLenum zfail
, GLenum zpass
)
1220 DISPATCH(StencilOp
, (fail
, zfail
, zpass
), (";\n"));
1223 KEYWORD1
void KEYWORD2
NAME(TexCoord1d
)(GLdouble s
)
1225 DISPATCH(TexCoord1d
, (s
), (";\n"));
1228 KEYWORD1
void KEYWORD2
NAME(TexCoord1f
)(GLfloat s
)
1230 DISPATCH(TexCoord1f
, (s
), (";\n"));
1233 KEYWORD1
void KEYWORD2
NAME(TexCoord1i
)(GLint s
)
1235 DISPATCH(TexCoord1i
, (s
), (";\n"));
1238 KEYWORD1
void KEYWORD2
NAME(TexCoord1s
)(GLshort s
)
1240 DISPATCH(TexCoord1s
, (s
), (";\n"));
1243 KEYWORD1
void KEYWORD2
NAME(TexCoord2d
)(GLdouble s
, GLdouble t
)
1245 DISPATCH(TexCoord2d
, (s
, t
), (";\n"));
1248 KEYWORD1
void KEYWORD2
NAME(TexCoord2f
)(GLfloat s
, GLfloat t
)
1250 DISPATCH(TexCoord2f
, (s
, t
), (";\n"));
1253 KEYWORD1
void KEYWORD2
NAME(TexCoord2s
)(GLshort s
, GLshort t
)
1255 DISPATCH(TexCoord2s
, (s
, t
), (";\n"));
1258 KEYWORD1
void KEYWORD2
NAME(TexCoord2i
)(GLint s
, GLint t
)
1260 DISPATCH(TexCoord2i
, (s
, t
), (";\n"));
1263 KEYWORD1
void KEYWORD2
NAME(TexCoord3d
)(GLdouble s
, GLdouble t
, GLdouble r
)
1265 DISPATCH(TexCoord3d
, (s
, t
, r
), (";\n"));
1268 KEYWORD1
void KEYWORD2
NAME(TexCoord3f
)(GLfloat s
, GLfloat t
, GLfloat r
)
1270 DISPATCH(TexCoord3f
, (s
, t
, r
), (";\n"));
1273 KEYWORD1
void KEYWORD2
NAME(TexCoord3i
)(GLint s
, GLint t
, GLint r
)
1275 DISPATCH(TexCoord3i
, (s
, t
, r
), (";\n"));
1278 KEYWORD1
void KEYWORD2
NAME(TexCoord3s
)(GLshort s
, GLshort t
, GLshort r
)
1280 DISPATCH(TexCoord3s
, (s
, t
, r
), (";\n"));
1283 KEYWORD1
void KEYWORD2
NAME(TexCoord4d
)(GLdouble s
, GLdouble t
, GLdouble r
, GLdouble q
)
1285 DISPATCH(TexCoord4d
, (s
, t
, r
, q
), (";\n"));
1288 KEYWORD1
void KEYWORD2
NAME(TexCoord4f
)(GLfloat s
, GLfloat t
, GLfloat r
, GLfloat q
)
1290 DISPATCH(TexCoord4f
, (s
, t
, r
, q
), (";\n"));
1293 KEYWORD1
void KEYWORD2
NAME(TexCoord4i
)(GLint s
, GLint t
, GLint r
, GLint q
)
1295 DISPATCH(TexCoord4i
, (s
, t
, r
, q
), (";\n"));
1298 KEYWORD1
void KEYWORD2
NAME(TexCoord4s
)(GLshort s
, GLshort t
, GLshort r
, GLshort q
)
1300 DISPATCH(TexCoord4s
, (s
, t
, r
, q
), (";\n"));
1303 KEYWORD1
void KEYWORD2
NAME(TexCoord1dv
)(const GLdouble
*v
)
1305 DISPATCH(TexCoord1dv
, (v
), (";\n"));
1308 KEYWORD1
void KEYWORD2
NAME(TexCoord1fv
)(const GLfloat
*v
)
1310 DISPATCH(TexCoord1fv
, (v
), (";\n"));
1313 KEYWORD1
void KEYWORD2
NAME(TexCoord1iv
)(const GLint
*v
)
1315 DISPATCH(TexCoord1iv
, (v
), (";\n"));
1318 KEYWORD1
void KEYWORD2
NAME(TexCoord1sv
)(const GLshort
*v
)
1320 DISPATCH(TexCoord1sv
, (v
), (";\n"));
1323 KEYWORD1
void KEYWORD2
NAME(TexCoord2dv
)(const GLdouble
*v
)
1325 DISPATCH(TexCoord2dv
, (v
), (";\n"));
1328 KEYWORD1
void KEYWORD2
NAME(TexCoord2fv
)(const GLfloat
*v
)
1330 DISPATCH(TexCoord2fv
, (v
), (";\n"));
1333 KEYWORD1
void KEYWORD2
NAME(TexCoord2iv
)(const GLint
*v
)
1335 DISPATCH(TexCoord2iv
, (v
), (";\n"));
1338 KEYWORD1
void KEYWORD2
NAME(TexCoord2sv
)(const GLshort
*v
)
1340 DISPATCH(TexCoord2sv
, (v
), (";\n"));
1343 KEYWORD1
void KEYWORD2
NAME(TexCoord3dv
)(const GLdouble
*v
)
1345 DISPATCH(TexCoord3dv
, (v
), (";\n"));
1348 KEYWORD1
void KEYWORD2
NAME(TexCoord3fv
)(const GLfloat
*v
)
1350 DISPATCH(TexCoord3fv
, (v
), (";\n"));
1353 KEYWORD1
void KEYWORD2
NAME(TexCoord3iv
)(const GLint
*v
)
1355 DISPATCH(TexCoord3iv
, (v
), (";\n"));
1358 KEYWORD1
void KEYWORD2
NAME(TexCoord3sv
)(const GLshort
*v
)
1360 DISPATCH(TexCoord3sv
, (v
), (";\n"));
1363 KEYWORD1
void KEYWORD2
NAME(TexCoord4dv
)(const GLdouble
*v
)
1365 DISPATCH(TexCoord4dv
, (v
), (";\n"));
1368 KEYWORD1
void KEYWORD2
NAME(TexCoord4fv
)(const GLfloat
*v
)
1370 DISPATCH(TexCoord4fv
, (v
), (";\n"));
1373 KEYWORD1
void KEYWORD2
NAME(TexCoord4iv
)(const GLint
*v
)
1375 DISPATCH(TexCoord4iv
, (v
), (";\n"));
1378 KEYWORD1
void KEYWORD2
NAME(TexCoord4sv
)(const GLshort
*v
)
1380 DISPATCH(TexCoord4sv
, (v
), (";\n"));
1383 KEYWORD1
void KEYWORD2
NAME(TexGend
)(GLenum coord
, GLenum pname
, GLdouble param
)
1385 DISPATCH(TexGend
, (coord
, pname
, param
), (";\n"));
1388 KEYWORD1
void KEYWORD2
NAME(TexGendv
)(GLenum coord
, GLenum pname
, const GLdouble
*params
)
1390 DISPATCH(TexGendv
, (coord
, pname
, params
), (";\n"));
1393 KEYWORD1
void KEYWORD2
NAME(TexGenf
)(GLenum coord
, GLenum pname
, GLfloat param
)
1395 DISPATCH(TexGenf
, (coord
, pname
, param
), (";\n"));
1398 KEYWORD1
void KEYWORD2
NAME(TexGenfv
)(GLenum coord
, GLenum pname
, const GLfloat
*params
)
1400 DISPATCH(TexGenfv
, (coord
, pname
, params
), (";\n"));
1403 KEYWORD1
void KEYWORD2
NAME(TexGeni
)(GLenum coord
, GLenum pname
, GLint param
)
1405 DISPATCH(TexGeni
, (coord
, pname
, param
), (";\n"));
1408 KEYWORD1
void KEYWORD2
NAME(TexGeniv
)(GLenum coord
, GLenum pname
, const GLint
*params
)
1410 DISPATCH(TexGeniv
, (coord
, pname
, params
), (";\n"));
1413 KEYWORD1
void KEYWORD2
NAME(TexEnvf
)(GLenum target
, GLenum pname
, GLfloat param
)
1415 DISPATCH(TexEnvf
, (target
, pname
, param
), (";\n"));
1418 KEYWORD1
void KEYWORD2
NAME(TexEnvfv
)(GLenum target
, GLenum pname
, const GLfloat
*param
)
1420 DISPATCH(TexEnvfv
, (target
, pname
, param
), (";\n"));
1423 KEYWORD1
void KEYWORD2
NAME(TexEnvi
)(GLenum target
, GLenum pname
, GLint param
)
1425 DISPATCH(TexEnvi
, (target
, pname
, param
), (";\n"));
1428 KEYWORD1
void KEYWORD2
NAME(TexEnviv
)(GLenum target
, GLenum pname
, const GLint
*param
)
1430 DISPATCH(TexEnviv
, (target
, pname
, param
), (";\n"));
1433 KEYWORD1
void KEYWORD2
NAME(TexImage1D
)(GLenum target
, GLint level
, GLint internalformat
, GLsizei width
, GLint border
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1435 DISPATCH(TexImage1D
, (target
, level
, internalformat
, width
, border
, format
, type
, pixels
), (";\n"));
1438 KEYWORD1
void KEYWORD2
NAME(TexImage2D
)(GLenum target
, GLint level
, GLint internalformat
, GLsizei width
, GLsizei height
, GLint border
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1440 DISPATCH(TexImage2D
, (target
, level
, internalformat
, width
, height
, border
, format
, type
, pixels
), (";\n"));
1443 KEYWORD1
void KEYWORD2
NAME(TexParameterf
)(GLenum target
, GLenum pname
, GLfloat param
)
1445 DISPATCH(TexParameterf
, (target
, pname
, param
), (";\n"));
1448 KEYWORD1
void KEYWORD2
NAME(TexParameterfv
)(GLenum target
, GLenum pname
, const GLfloat
*params
)
1450 DISPATCH(TexParameterfv
, (target
, pname
, params
), (";\n"));
1453 KEYWORD1
void KEYWORD2
NAME(TexParameteri
)(GLenum target
, GLenum pname
, GLint param
)
1455 DISPATCH(TexParameteri
, (target
, pname
, param
), (";\n"));
1458 KEYWORD1
void KEYWORD2
NAME(TexParameteriv
)(GLenum target
, GLenum pname
, const GLint
*params
)
1460 DISPATCH(TexParameteriv
, (target
, pname
, params
), (";\n"));
1463 KEYWORD1
void KEYWORD2
NAME(Translated
)(GLdouble x
, GLdouble y
, GLdouble z
)
1465 DISPATCH(Translated
, (x
, y
, z
), (";\n"));
1468 KEYWORD1
void KEYWORD2
NAME(Translatef
)(GLfloat x
, GLfloat y
, GLfloat z
)
1470 DISPATCH(Translatef
, (x
, y
, z
), ("glTranslatef(%g, %g, %g);\n", x
, y
, z
));
1473 KEYWORD1
void KEYWORD2
NAME(Vertex2d
)(GLdouble x
, GLdouble y
)
1475 DISPATCH(Vertex2d
, (x
, y
), (";\n"));
1478 KEYWORD1
void KEYWORD2
NAME(Vertex2dv
)(const GLdouble
*v
)
1480 DISPATCH(Vertex2dv
, (v
), (";\n"));
1483 KEYWORD1
void KEYWORD2
NAME(Vertex2f
)(GLfloat x
, GLfloat y
)
1485 DISPATCH(Vertex2f
, (x
, y
), (";\n"));
1488 KEYWORD1
void KEYWORD2
NAME(Vertex2fv
)(const GLfloat
*v
)
1490 DISPATCH(Vertex2fv
, (v
), (";\n"));
1493 KEYWORD1
void KEYWORD2
NAME(Vertex2i
)(GLint x
, GLint y
)
1495 DISPATCH(Vertex2i
, (x
, y
), (";\n"));
1498 KEYWORD1
void KEYWORD2
NAME(Vertex2iv
)(const GLint
*v
)
1500 DISPATCH(Vertex2iv
, (v
), (";\n"));
1503 KEYWORD1
void KEYWORD2
NAME(Vertex2s
)(GLshort x
, GLshort y
)
1505 DISPATCH(Vertex2s
, (x
, y
), (";\n"));
1508 KEYWORD1
void KEYWORD2
NAME(Vertex2sv
)(const GLshort
*v
)
1510 DISPATCH(Vertex2sv
, (v
), (";\n"));
1513 KEYWORD1
void KEYWORD2
NAME(Vertex3d
)(GLdouble x
, GLdouble y
, GLdouble z
)
1515 DISPATCH(Vertex3d
, (x
, y
, z
), (";\n"));
1518 KEYWORD1
void KEYWORD2
NAME(Vertex3dv
)(const GLdouble
*v
)
1520 DISPATCH(Vertex3dv
, (v
), (";\n"));
1523 KEYWORD1
void KEYWORD2
NAME(Vertex3f
)(GLfloat x
, GLfloat y
, GLfloat z
)
1525 DISPATCH(Vertex3f
, (x
, y
, z
), ("glVertex3f(%g, %g, %g);\n", x
, y
, z
));
1528 KEYWORD1
void KEYWORD2
NAME(Vertex3fv
)(const GLfloat
*v
)
1530 DISPATCH(Vertex3fv
, (v
), (";\n"));
1533 KEYWORD1
void KEYWORD2
NAME(Vertex3i
)(GLint x
, GLint y
, GLint z
)
1535 DISPATCH(Vertex3i
, (x
, y
, z
), (";\n"));
1538 KEYWORD1
void KEYWORD2
NAME(Vertex3iv
)(const GLint
*v
)
1540 DISPATCH(Vertex3iv
, (v
), (";\n"));
1543 KEYWORD1
void KEYWORD2
NAME(Vertex3s
)(GLshort x
, GLshort y
, GLshort z
)
1545 DISPATCH(Vertex3s
, (x
, y
, z
), (";\n"));
1548 KEYWORD1
void KEYWORD2
NAME(Vertex3sv
)(const GLshort
*v
)
1550 DISPATCH(Vertex3sv
, (v
), (";\n"));
1553 KEYWORD1
void KEYWORD2
NAME(Vertex4d
)(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
)
1555 DISPATCH(Vertex4d
, (x
, y
, z
, w
), (";\n"));
1558 KEYWORD1
void KEYWORD2
NAME(Vertex4dv
)(const GLdouble
*v
)
1560 DISPATCH(Vertex4dv
, (v
), (";\n"));
1563 KEYWORD1
void KEYWORD2
NAME(Vertex4f
)(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
)
1565 DISPATCH(Vertex4f
, (x
, y
, z
, w
), (";\n"));
1568 KEYWORD1
void KEYWORD2
NAME(Vertex4fv
)(const GLfloat
*v
)
1570 DISPATCH(Vertex4fv
, (v
), (";\n"));
1573 KEYWORD1
void KEYWORD2
NAME(Vertex4i
)(GLint x
, GLint y
, GLint z
, GLint w
)
1575 DISPATCH(Vertex4i
, (x
, y
, z
, w
), (";\n"));
1578 KEYWORD1
void KEYWORD2
NAME(Vertex4iv
)(const GLint
*v
)
1580 DISPATCH(Vertex4iv
, (v
), (";\n"));
1583 KEYWORD1
void KEYWORD2
NAME(Vertex4s
)(GLshort x
, GLshort y
, GLshort z
, GLshort w
)
1585 DISPATCH(Vertex4s
, (x
, y
, z
, w
), (";\n"));
1588 KEYWORD1
void KEYWORD2
NAME(Vertex4sv
)(const GLshort
*v
)
1590 DISPATCH(Vertex4sv
, (v
), (";\n"));
1593 KEYWORD1
void KEYWORD2
NAME(Viewport
)(GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1595 DISPATCH(Viewport
, (x
, y
, width
, height
), (";\n"));
1603 KEYWORD1 GLboolean KEYWORD2
NAME(AreTexturesResident
)(GLsizei n
, const GLuint
*textures
, GLboolean
*residences
)
1605 RETURN_DISPATCH(AreTexturesResident
, (n
, textures
, residences
), ("glAreTexturesResident(%d, %p, %p);\n", n
, textures
, residences
));
1608 KEYWORD1
void KEYWORD2
NAME(ArrayElement
)(GLint i
)
1610 DISPATCH(ArrayElement
, (i
), (";\n"));
1613 KEYWORD1
void KEYWORD2
NAME(BindTexture
)(GLenum target
, GLuint texture
)
1615 DISPATCH(BindTexture
, (target
, texture
), (";\n"));
1618 KEYWORD1
void KEYWORD2
NAME(ColorPointer
)(GLint size
, GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1620 DISPATCH(ColorPointer
, (size
, type
, stride
, ptr
), (";\n"));
1623 KEYWORD1
void KEYWORD2
NAME(CopyTexImage1D
)(GLenum target
, GLint level
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLint border
)
1625 DISPATCH(CopyTexImage1D
, (target
, level
, internalformat
, x
, y
, width
, border
), (";\n"));
1628 KEYWORD1
void KEYWORD2
NAME(CopyTexImage2D
)(GLenum target
, GLint level
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLsizei height
, GLint border
)
1630 DISPATCH(CopyTexImage2D
, (target
, level
, internalformat
, x
, y
, width
, height
, border
), (";\n"));
1633 KEYWORD1
void KEYWORD2
NAME(CopyTexSubImage1D
)(GLenum target
, GLint level
, GLint xoffset
, GLint x
, GLint y
, GLsizei width
)
1635 DISPATCH(CopyTexSubImage1D
, (target
, level
, xoffset
, x
, y
, width
), (";\n"));
1638 KEYWORD1
void KEYWORD2
NAME(CopyTexSubImage2D
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1640 DISPATCH(CopyTexSubImage2D
, (target
, level
, xoffset
, yoffset
, x
, y
, width
, height
), (";\n"));
1643 KEYWORD1
void KEYWORD2
NAME(DeleteTextures
)(GLsizei n
, const GLuint
*textures
)
1645 DISPATCH(DeleteTextures
, (n
, textures
), (";\n"));
1648 KEYWORD1
void KEYWORD2
NAME(DisableClientState
)(GLenum cap
)
1650 DISPATCH(DisableClientState
, (cap
), (";\n"));
1653 KEYWORD1
void KEYWORD2
NAME(DrawArrays
)(GLenum mode
, GLint first
, GLsizei count
)
1655 DISPATCH(DrawArrays
, (mode
, first
, count
), (";\n"));
1658 KEYWORD1
void KEYWORD2
NAME(EdgeFlagPointer
)(GLsizei stride
, const GLvoid
*ptr
)
1660 DISPATCH(EdgeFlagPointer
, (stride
, ptr
), (";\n"));
1663 KEYWORD1
void KEYWORD2
NAME(EnableClientState
)(GLenum cap
)
1665 DISPATCH(EnableClientState
, (cap
), (";\n"));
1668 KEYWORD1
void KEYWORD2
NAME(GenTextures
)(GLsizei n
, GLuint
*textures
)
1670 DISPATCH(GenTextures
, (n
, textures
), (";\n"));
1673 KEYWORD1
void KEYWORD2
NAME(GetPointerv
)(GLenum pname
, GLvoid
**params
)
1675 DISPATCH(GetPointerv
, (pname
, params
), (";\n"));
1678 KEYWORD1
void KEYWORD2
NAME(IndexPointer
)(GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1680 DISPATCH(IndexPointer
, (type
, stride
, ptr
), (";\n"));
1683 KEYWORD1
void KEYWORD2
NAME(Indexub
)(GLubyte c
)
1685 DISPATCH(Indexub
, (c
), (";\n"));
1688 KEYWORD1
void KEYWORD2
NAME(Indexubv
)(const GLubyte
*c
)
1690 DISPATCH(Indexubv
, (c
), (";\n"));
1693 KEYWORD1
void KEYWORD2
NAME(InterleavedArrays
)(GLenum format
, GLsizei stride
, const GLvoid
*pointer
)
1695 DISPATCH(InterleavedArrays
, (format
, stride
, pointer
), (";\n"));
1698 KEYWORD1 GLboolean KEYWORD2
NAME(IsTexture
)(GLuint texture
)
1700 RETURN_DISPATCH(IsTexture
, (texture
), ("glIsTexture(%u);\n", texture
));
1703 KEYWORD1
void KEYWORD2
NAME(NormalPointer
)(GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1705 DISPATCH(NormalPointer
, (type
, stride
, ptr
), (";\n"));
1708 KEYWORD1
void KEYWORD2
NAME(PolygonOffset
)(GLfloat factor
, GLfloat units
)
1710 DISPATCH(PolygonOffset
, (factor
, units
), (";\n"));
1713 KEYWORD1
void KEYWORD2
NAME(PopClientAttrib
)(void)
1715 DISPATCH(PopClientAttrib
, (), (";\n"));
1718 KEYWORD1
void KEYWORD2
NAME(PrioritizeTextures
)(GLsizei n
, const GLuint
*textures
, const GLclampf
*priorities
)
1720 DISPATCH(PrioritizeTextures
, (n
, textures
, priorities
), (";\n"));
1723 KEYWORD1
void KEYWORD2
NAME(PushClientAttrib
)(GLbitfield mask
)
1725 DISPATCH(PushClientAttrib
, (mask
), (";\n"));
1728 KEYWORD1
void KEYWORD2
NAME(TexCoordPointer
)(GLint size
, GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1730 DISPATCH(TexCoordPointer
, (size
, type
, stride
, ptr
), (";\n"));
1733 KEYWORD1
void KEYWORD2
NAME(TexSubImage1D
)(GLenum target
, GLint level
, GLint xoffset
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1735 DISPATCH(TexSubImage1D
, (target
, level
, xoffset
, width
, format
, type
, pixels
), (";\n"));
1738 KEYWORD1
void KEYWORD2
NAME(TexSubImage2D
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
1740 DISPATCH(TexSubImage2D
, (target
, level
, xoffset
, yoffset
, width
, height
, format
, type
, pixels
), (";\n"));
1743 KEYWORD1
void KEYWORD2
NAME(VertexPointer
)(GLint size
, GLenum type
, GLsizei stride
, const GLvoid
*ptr
)
1745 DISPATCH(VertexPointer
, (size
, type
, stride
, ptr
), (";\n"));
1753 KEYWORD1
void KEYWORD2
NAME(CopyTexSubImage3D
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1755 DISPATCH(CopyTexSubImage3D
, (target
, level
, xoffset
, yoffset
, zoffset
, x
, y
, width
, height
), (";\n"));
1758 KEYWORD1
void KEYWORD2
NAME(DrawRangeElements
)(GLenum mode
, GLuint start
, GLuint end
, GLsizei count
, GLenum type
, const GLvoid
*indices
)
1760 DISPATCH(DrawRangeElements
, (mode
, start
, end
, count
, type
, indices
), (";\n"));
1763 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
)
1765 DISPATCH(TexImage3D
, (target
, level
, internalformat
, width
, height
, depth
, border
, format
, type
, pixels
), (";\n"));
1768 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
)
1770 DISPATCH(TexSubImage3D
, (target
, level
, xoffset
, yoffset
, zoffset
, width
, height
, depth
, format
, type
, pixels
), (";\n"));
1775 /* GL_ARB_imaging */
1777 KEYWORD1
void KEYWORD2
NAME(BlendColor
)(GLclampf r
, GLclampf g
, GLclampf b
, GLclampf a
)
1779 DISPATCH(BlendColor
, (r
, g
, b
, a
), (";\n"));
1782 KEYWORD1
void KEYWORD2
NAME(BlendEquation
)(GLenum mode
)
1784 DISPATCH(BlendEquation
, (mode
), (";\n"));
1787 KEYWORD1
void KEYWORD2
NAME(ColorSubTable
)(GLenum target
, GLsizei start
, GLsizei count
, GLenum format
, GLenum type
, const GLvoid
*data
)
1789 DISPATCH(ColorSubTable
, (target
, start
, count
, format
, type
, data
), (";\n"));
1792 KEYWORD1
void KEYWORD2
NAME(ColorTable
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*table
)
1794 DISPATCH(ColorTable
, (target
, internalformat
, width
, format
, type
, table
), (";\n"));
1797 KEYWORD1
void KEYWORD2
NAME(ColorTableParameterfv
)(GLenum target
, GLenum pname
, const GLfloat
*params
)
1799 DISPATCH(ColorTableParameterfv
, (target
, pname
, params
), (";\n"));
1802 KEYWORD1
void KEYWORD2
NAME(ColorTableParameteriv
)(GLenum target
, GLenum pname
, const GLint
*params
)
1804 DISPATCH(ColorTableParameteriv
, (target
, pname
, params
), (";\n"));
1807 KEYWORD1
void KEYWORD2
NAME(ConvolutionFilter1D
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*image
)
1809 DISPATCH(ConvolutionFilter1D
, (target
, internalformat
, width
, format
, type
, image
), (";\n"));
1812 KEYWORD1
void KEYWORD2
NAME(ConvolutionFilter2D
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*image
)
1814 DISPATCH(ConvolutionFilter2D
, (target
, internalformat
, width
, height
, format
, type
, image
), (";\n"));
1817 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameterf
)(GLenum target
, GLenum pname
, GLfloat params
)
1819 DISPATCH(ConvolutionParameterf
, (target
, pname
, params
), (";\n"));
1822 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameterfv
)(GLenum target
, GLenum pname
, const GLfloat
*params
)
1824 DISPATCH(ConvolutionParameterfv
, (target
, pname
, params
), (";\n"));
1827 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameteri
)(GLenum target
, GLenum pname
, GLint params
)
1829 DISPATCH(ConvolutionParameteri
, (target
, pname
, params
), (";\n"));
1832 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameteriv
)(GLenum target
, GLenum pname
, const GLint
*params
)
1834 DISPATCH(ConvolutionParameteriv
, (target
, pname
, params
), (";\n"));
1837 KEYWORD1
void KEYWORD2
NAME(CopyColorSubTable
)(GLenum target
, GLsizei start
, GLint x
, GLint y
, GLsizei width
)
1839 DISPATCH(CopyColorSubTable
, (target
, start
, x
, y
, width
), (";\n"));
1842 KEYWORD1
void KEYWORD2
NAME(CopyColorTable
)(GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
)
1844 DISPATCH(CopyColorTable
, (target
, internalformat
, x
, y
, width
), (";\n"));
1847 KEYWORD1
void KEYWORD2
NAME(CopyConvolutionFilter1D
)(GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
)
1849 DISPATCH(CopyConvolutionFilter1D
, (target
, internalformat
, x
, y
, width
), (";\n"));
1852 KEYWORD1
void KEYWORD2
NAME(CopyConvolutionFilter2D
)(GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
1854 DISPATCH(CopyConvolutionFilter2D
, (target
, internalformat
, x
, y
, width
, height
), (";\n"));
1857 KEYWORD1
void KEYWORD2
NAME(GetColorTable
)(GLenum target
, GLenum format
, GLenum type
, GLvoid
*table
)
1859 DISPATCH(GetColorTable
, (target
, format
, type
, table
), (";\n"));
1862 KEYWORD1
void KEYWORD2
NAME(GetColorTableParameterfv
)(GLenum target
, GLenum pname
, GLfloat
*params
)
1864 DISPATCH(GetColorTableParameterfv
, (target
, pname
, params
), (";\n"));
1867 KEYWORD1
void KEYWORD2
NAME(GetColorTableParameteriv
)(GLenum target
, GLenum pname
, GLint
*params
)
1869 DISPATCH(GetColorTableParameteriv
, (target
, pname
, params
), (";\n"));
1872 KEYWORD1
void KEYWORD2
NAME(GetConvolutionFilter
)(GLenum target
, GLenum format
, GLenum type
, GLvoid
*image
)
1874 DISPATCH(GetConvolutionFilter
, (target
, format
, type
, image
), (";\n"));
1877 KEYWORD1
void KEYWORD2
NAME(GetConvolutionParameterfv
)(GLenum target
, GLenum pname
, GLfloat
*params
)
1879 DISPATCH(GetConvolutionParameterfv
, (target
, pname
, params
), (";\n"));
1882 KEYWORD1
void KEYWORD2
NAME(GetConvolutionParameteriv
)(GLenum target
, GLenum pname
, GLint
*params
)
1884 DISPATCH(GetConvolutionParameteriv
, (target
, pname
, params
), (";\n"));
1887 KEYWORD1
void KEYWORD2
NAME(GetHistogram
)(GLenum target
, GLboolean reset
, GLenum format
, GLenum type
, GLvoid
*values
)
1889 DISPATCH(GetHistogram
, (target
, reset
, format
, type
, values
), (";\n"));
1892 KEYWORD1
void KEYWORD2
NAME(GetHistogramParameterfv
)(GLenum target
, GLenum pname
, GLfloat
*params
)
1894 DISPATCH(GetHistogramParameterfv
, (target
, pname
, params
), (";\n"));
1897 KEYWORD1
void KEYWORD2
NAME(GetHistogramParameteriv
)(GLenum target
, GLenum pname
, GLint
*params
)
1899 DISPATCH(GetHistogramParameteriv
, (target
, pname
, params
), (";\n"));
1902 KEYWORD1
void KEYWORD2
NAME(GetMinmax
)(GLenum target
, GLboolean reset
, GLenum format
, GLenum types
, GLvoid
*values
)
1904 DISPATCH(GetMinmax
, (target
, reset
, format
, types
, values
), (";\n"));
1907 KEYWORD1
void KEYWORD2
NAME(GetMinmaxParameterfv
)(GLenum target
, GLenum pname
, GLfloat
*params
)
1909 DISPATCH(GetMinmaxParameterfv
, (target
, pname
, params
), (";\n"));
1912 KEYWORD1
void KEYWORD2
NAME(GetMinmaxParameteriv
)(GLenum target
, GLenum pname
, GLint
*params
)
1914 DISPATCH(GetMinmaxParameteriv
, (target
, pname
, params
), (";\n"));
1917 KEYWORD1
void KEYWORD2
NAME(GetSeparableFilter
)(GLenum target
, GLenum format
, GLenum type
, GLvoid
*row
, GLvoid
*column
, GLvoid
*span
)
1919 DISPATCH(GetSeparableFilter
, (target
, format
, type
, row
, column
, span
), (";\n"));
1922 KEYWORD1
void KEYWORD2
NAME(Histogram
)(GLenum target
, GLsizei width
, GLenum internalformat
, GLboolean sink
)
1924 DISPATCH(Histogram
, (target
, width
, internalformat
, sink
), (";\n"));
1927 KEYWORD1
void KEYWORD2
NAME(Minmax
)(GLenum target
, GLenum internalformat
, GLboolean sink
)
1929 DISPATCH(Minmax
, (target
, internalformat
, sink
), (";\n"));
1932 KEYWORD1
void KEYWORD2
NAME(ResetMinmax
)(GLenum target
)
1934 DISPATCH(ResetMinmax
, (target
), (";\n"));
1937 KEYWORD1
void KEYWORD2
NAME(ResetHistogram
)(GLenum target
)
1939 DISPATCH(ResetHistogram
, (target
), (";\n"));
1942 KEYWORD1
void KEYWORD2
NAME(SeparableFilter2D
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*row
, const GLvoid
*column
)
1944 DISPATCH(SeparableFilter2D
, (target
, internalformat
, width
, height
, format
, type
, row
, column
), (";\n"));
1949 /* GL_ARB_multitexture */
1951 KEYWORD1
void KEYWORD2
NAME(ActiveTextureARB
)(GLenum texture
)
1953 DISPATCH(ActiveTextureARB
, (texture
), (";\n"));
1956 KEYWORD1
void KEYWORD2
NAME(ClientActiveTextureARB
)(GLenum texture
)
1958 DISPATCH(ClientActiveTextureARB
, (texture
), (";\n"));
1961 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1dARB
)(GLenum target
, GLdouble s
)
1963 DISPATCH(MultiTexCoord1dARB
, (target
, s
), (";\n"));
1966 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1dvARB
)(GLenum target
, const GLdouble
*v
)
1968 DISPATCH(MultiTexCoord1dvARB
, (target
, v
), (";\n"));
1971 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1fARB
)(GLenum target
, GLfloat s
)
1973 DISPATCH(MultiTexCoord1fARB
, (target
, s
), (";\n"));
1976 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1fvARB
)(GLenum target
, const GLfloat
*v
)
1978 DISPATCH(MultiTexCoord1fvARB
, (target
, v
), (";\n"));
1981 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1iARB
)(GLenum target
, GLint s
)
1983 DISPATCH(MultiTexCoord1iARB
, (target
, s
), (";\n"));
1986 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1ivARB
)(GLenum target
, const GLint
*v
)
1988 DISPATCH(MultiTexCoord1ivARB
, (target
, v
), (";\n"));
1991 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1sARB
)(GLenum target
, GLshort s
)
1993 DISPATCH(MultiTexCoord1sARB
, (target
, s
), (";\n"));
1996 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord1svARB
)(GLenum target
, const GLshort
*v
)
1998 DISPATCH(MultiTexCoord1svARB
, (target
, v
), (";\n"));
2001 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2dARB
)(GLenum target
, GLdouble s
, GLdouble t
)
2003 DISPATCH(MultiTexCoord2dARB
, (target
, s
, t
), (";\n"));
2006 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2dvARB
)(GLenum target
, const GLdouble
*v
)
2008 DISPATCH(MultiTexCoord2dvARB
, (target
, v
), (";\n"));
2011 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2fARB
)(GLenum target
, GLfloat s
, GLfloat t
)
2013 DISPATCH(MultiTexCoord2fARB
, (target
, s
, t
), (";\n"));
2016 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2fvARB
)(GLenum target
, const GLfloat
*v
)
2018 DISPATCH(MultiTexCoord2fvARB
, (target
, v
), (";\n"));
2021 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2iARB
)(GLenum target
, GLint s
, GLint t
)
2023 DISPATCH(MultiTexCoord2iARB
, (target
, s
, t
), (";\n"));
2026 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2ivARB
)(GLenum target
, const GLint
*v
)
2028 DISPATCH(MultiTexCoord2ivARB
, (target
, v
), (";\n"));
2031 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2sARB
)(GLenum target
, GLshort s
, GLshort t
)
2033 DISPATCH(MultiTexCoord2sARB
, (target
, s
, t
), (";\n"));
2036 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord2svARB
)(GLenum target
, const GLshort
*v
)
2038 DISPATCH(MultiTexCoord2svARB
, (target
, v
), (";\n"));
2041 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3dARB
)(GLenum target
, GLdouble s
, GLdouble t
, GLdouble r
)
2043 DISPATCH(MultiTexCoord3dARB
, (target
, s
, t
, r
), (";\n"));
2046 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3dvARB
)(GLenum target
, const GLdouble
*v
)
2048 DISPATCH(MultiTexCoord3dvARB
, (target
, v
), (";\n"));
2051 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3fARB
)(GLenum target
, GLfloat s
, GLfloat t
, GLfloat r
)
2053 DISPATCH(MultiTexCoord3fARB
, (target
, s
, t
, r
), (";\n"));
2056 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3fvARB
)(GLenum target
, const GLfloat
*v
)
2058 DISPATCH(MultiTexCoord3fvARB
, (target
, v
), (";\n"));
2061 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3iARB
)(GLenum target
, GLint s
, GLint t
, GLint r
)
2063 DISPATCH(MultiTexCoord3iARB
, (target
, s
, t
, r
), (";\n"));
2066 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3ivARB
)(GLenum target
, const GLint
*v
)
2068 DISPATCH(MultiTexCoord3ivARB
, (target
, v
), (";\n"));
2071 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3sARB
)(GLenum target
, GLshort s
, GLshort t
, GLshort r
)
2073 DISPATCH(MultiTexCoord3sARB
, (target
, s
, t
, r
), (";\n"));
2076 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord3svARB
)(GLenum target
, const GLshort
*v
)
2078 DISPATCH(MultiTexCoord3svARB
, (target
, v
), (";\n"));
2081 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4dARB
)(GLenum target
, GLdouble s
, GLdouble t
, GLdouble r
, GLdouble q
)
2083 DISPATCH(MultiTexCoord4dARB
, (target
, s
, t
, r
, q
), (";\n"));
2086 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4dvARB
)(GLenum target
, const GLdouble
*v
)
2088 DISPATCH(MultiTexCoord4dvARB
, (target
, v
), (";\n"));
2091 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4fARB
)(GLenum target
, GLfloat s
, GLfloat t
, GLfloat r
, GLfloat q
)
2093 DISPATCH(MultiTexCoord4fARB
, (target
, s
, t
, r
, q
), (";\n"));
2096 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4fvARB
)(GLenum target
, const GLfloat
*v
)
2098 DISPATCH(MultiTexCoord4fvARB
, (target
, v
), (";\n"));
2101 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4iARB
)(GLenum target
, GLint s
, GLint t
, GLint r
, GLint q
)
2103 DISPATCH(MultiTexCoord4iARB
, (target
, s
, t
, r
, q
), (";\n"));
2106 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4ivARB
)(GLenum target
, const GLint
*v
)
2108 DISPATCH(MultiTexCoord4ivARB
, (target
, v
), (";\n"));
2111 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4sARB
)(GLenum target
, GLshort s
, GLshort t
, GLshort r
, GLshort q
)
2113 DISPATCH(MultiTexCoord4sARB
, (target
, s
, t
, r
, q
), (";\n"));
2116 KEYWORD1
void KEYWORD2
NAME(MultiTexCoord4svARB
)(GLenum target
, const GLshort
*v
)
2118 DISPATCH(MultiTexCoord4svARB
, (target
, v
), (";\n"));
2124 *** Extension functions
2128 /* 2. GL_EXT_blend_color */
2129 KEYWORD1
void KEYWORD2
NAME(BlendColorEXT
)(GLclampf red
, GLclampf green
, GLclampf blue
, GLclampf alpha
)
2131 DISPATCH(BlendColorEXT
, (red
, green
, blue
, alpha
), (";\n"));
2136 /* 3. GL_EXT_polygon_offset */
2137 KEYWORD1
void KEYWORD2
NAME(PolygonOffsetEXT
)(GLfloat factor
, GLfloat bias
)
2139 DISPATCH(PolygonOffsetEXT
, (factor
, bias
), (";\n"));
2144 /* 6. GL_EXT_texture3D */
2146 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
)
2148 DISPATCH(TexImage3D
, (target
, level
, internalFormat
, width
, height
, depth
, border
, format
, type
, pixels
), (";\n"));
2151 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
)
2153 DISPATCH(TexSubImage3D
, (target
, level
, xoffset
, yoffset
, zoffset
, width
, height
, depth
, format
, type
, pixels
), (";\n"));
2156 KEYWORD1
void KEYWORD2
NAME(CopyTexSubImage3DEXT
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
2158 DISPATCH(CopyTexSubImage3D
, (target
, level
, xoffset
, yoffset
, zoffset
, x
, y
, width
, height
), (";\n"));
2163 /* 7. GL_SGI_texture_filter4 */
2165 KEYWORD1
void KEYWORD2
NAME(GetTexFilterFuncSGIS
)(GLenum target
, GLenum filter
, GLsizei n
, const GLfloat
*weights
)
2167 DISPATCH(GetTexFilterFuncSGIS
, (target
, filter
, n
, weights
), (";\n"));
2170 KEYWORD1
void KEYWORD2
NAME(TexFilterFuncSGIS
)(GLenum target
, GLenum filter
, GLfloat
*weights
)
2172 DISPATCH(TexFilterFuncSGIS
, (target
, filter
, weights
), (";\n"));
2177 /* 9. GL_EXT_subtexture */
2179 KEYWORD1
void KEYWORD2
NAME(CopyTexSubImage1DEXT
)(GLenum target
, GLint level
, GLint xoffset
, GLint x
, GLint y
, GLsizei width
)
2181 DISPATCH(CopyTexSubImage1DEXT
, (target
, level
, xoffset
, x
, y
, width
), (";\n"));
2184 KEYWORD1
void KEYWORD2
NAME(TexSubImage1DEXT
)(GLenum target
, GLint level
, GLint xoffset
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
2186 DISPATCH(TexSubImage1DEXT
, (target
, level
, xoffset
, width
, format
, type
, pixels
), (";\n"));
2189 KEYWORD1
void KEYWORD2
NAME(TexSubImage2DEXT
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*pixels
)
2191 DISPATCH(TexSubImage2DEXT
, (target
, level
, xoffset
, yoffset
, width
, height
, format
, type
, pixels
), (";\n"));
2195 /* 10. GL_EXT_copy_texture */
2197 KEYWORD1
void KEYWORD2
NAME(CopyTexImage1DEXT
)(GLenum target
, GLint level
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLint border
)
2199 DISPATCH(CopyTexImage1DEXT
, (target
, level
, internalformat
, x
, y
, width
, border
), (";\n"));
2202 KEYWORD1
void KEYWORD2
NAME(CopyTexImage2DEXT
)(GLenum target
, GLint level
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLsizei height
, GLint border
)
2204 DISPATCH(CopyTexImage2DEXT
, (target
, level
, internalformat
, x
, y
, width
, height
, border
), (";\n"));
2208 KEYWORD1
void KEYWORD2
NAME(CopyTexSubImage2DEXT
)(GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
2210 DISPATCH(CopyTexSubImage2DEXT
, (target
, level
, xoffset
, yoffset
, x
, y
, width
, height
), (";\n"));
2215 /* 11. GL_EXT_histogram */
2216 KEYWORD1
void KEYWORD2
NAME(GetHistogramEXT
)(GLenum target
, GLboolean reset
, GLenum format
, GLenum type
, GLvoid
*values
)
2218 DISPATCH(GetHistogramEXT
, (target
, reset
, format
, type
, values
), (";\n"));
2221 KEYWORD1
void KEYWORD2
NAME(GetHistogramParameterfvEXT
)(GLenum target
, GLenum pname
, GLfloat
*params
)
2223 DISPATCH(GetHistogramParameterfvEXT
, (target
, pname
, params
), (";\n"));
2226 KEYWORD1
void KEYWORD2
NAME(GetHistogramParameterivEXT
)(GLenum target
, GLenum pname
, GLint
*params
)
2228 DISPATCH(GetHistogramParameterivEXT
, (target
, pname
, params
), (";\n"));
2231 KEYWORD1
void KEYWORD2
NAME(GetMinmaxEXT
)(GLenum target
, GLboolean reset
, GLenum format
, GLenum types
, GLvoid
*values
)
2233 DISPATCH(GetMinmaxEXT
, (target
, reset
, format
, types
, values
), (";\n"));
2236 KEYWORD1
void KEYWORD2
NAME(GetMinmaxParameterfvEXT
)(GLenum target
, GLenum pname
, GLfloat
*params
)
2238 DISPATCH(GetMinmaxParameterfvEXT
, (target
, pname
, params
), (";\n"));
2241 KEYWORD1
void KEYWORD2
NAME(GetMinmaxParameterivEXT
)(GLenum target
, GLenum pname
, GLint
*params
)
2243 DISPATCH(GetMinmaxParameterivEXT
, (target
, pname
, params
), (";\n"));
2246 KEYWORD1
void KEYWORD2
NAME(HistogramEXT
)(GLenum target
, GLsizei width
, GLenum internalformat
, GLboolean sink
)
2248 DISPATCH(HistogramEXT
, (target
, width
, internalformat
, sink
), (";\n"));
2251 KEYWORD1
void KEYWORD2
NAME(MinmaxEXT
)(GLenum target
, GLenum internalformat
, GLboolean sink
)
2253 DISPATCH(MinmaxEXT
, (target
, internalformat
, sink
), (";\n"));
2256 KEYWORD1
void KEYWORD2
NAME(ResetHistogramEXT
)(GLenum target
)
2258 DISPATCH(ResetHistogramEXT
, (target
), (";\n"));
2261 KEYWORD1
void KEYWORD2
NAME(ResetMinmaxEXT
)(GLenum target
)
2263 DISPATCH(ResetMinmaxEXT
, (target
), (";\n"));
2268 /* 12. GL_EXT_convolution */
2270 KEYWORD1
void KEYWORD2
NAME(ConvolutionFilter1DEXT
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*image
)
2272 DISPATCH(ConvolutionFilter1DEXT
, (target
, internalformat
, width
, format
, type
, image
), (";\n"));
2275 KEYWORD1
void KEYWORD2
NAME(ConvolutionFilter2DEXT
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*image
)
2277 DISPATCH(ConvolutionFilter2DEXT
, (target
, internalformat
, width
, height
, format
, type
, image
), (";\n"));
2280 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameterfEXT
)(GLenum target
, GLenum pname
, GLfloat params
)
2282 DISPATCH(ConvolutionParameterfEXT
, (target
, pname
, params
), (";\n"));
2285 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameterfvEXT
)(GLenum target
, GLenum pname
, const GLfloat
*params
)
2287 DISPATCH(ConvolutionParameterfvEXT
, (target
, pname
, params
), (";\n"));
2290 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameteriEXT
)(GLenum target
, GLenum pname
, GLint params
)
2292 DISPATCH(ConvolutionParameteriEXT
, (target
, pname
, params
), (";\n"));
2295 KEYWORD1
void KEYWORD2
NAME(ConvolutionParameterivEXT
)(GLenum target
, GLenum pname
, const GLint
*params
)
2297 DISPATCH(ConvolutionParameterivEXT
, (target
, pname
, params
), (";\n"));
2300 KEYWORD1
void KEYWORD2
NAME(CopyConvolutionFilter1DEXT
)(GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
)
2302 DISPATCH(CopyConvolutionFilter1DEXT
, (target
, internalformat
, x
, y
, width
), (";\n"));
2305 KEYWORD1
void KEYWORD2
NAME(CopyConvolutionFilter2DEXT
)(GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLsizei height
)
2307 DISPATCH(CopyConvolutionFilter2DEXT
, (target
, internalformat
, x
, y
, width
, height
), (";\n"));
2310 KEYWORD1
void KEYWORD2
NAME(GetConvolutionFilterEXT
)(GLenum target
, GLenum format
, GLenum type
, GLvoid
*image
)
2312 DISPATCH(GetConvolutionFilterEXT
, (target
, format
, type
, image
), (";\n"));
2315 KEYWORD1
void KEYWORD2
NAME(GetConvolutionParameterfvEXT
)(GLenum target
, GLenum pname
, GLfloat
*params
)
2317 DISPATCH(GetConvolutionParameterfvEXT
, (target
, pname
, params
), (";\n"));
2320 KEYWORD1
void KEYWORD2
NAME(GetConvolutionParameterivEXT
)(GLenum target
, GLenum pname
, GLint
*params
)
2322 DISPATCH(GetConvolutionParameterivEXT
, (target
, pname
, params
), (";\n"));
2325 KEYWORD1
void KEYWORD2
NAME(GetSeparableFilterEXT
)(GLenum target
, GLenum format
, GLenum type
, GLvoid
*row
, GLvoid
*column
, GLvoid
*span
)
2327 DISPATCH(GetSeparableFilterEXT
, (target
, format
, type
, row
, column
, span
), (";\n"));
2330 KEYWORD1
void KEYWORD2
NAME(SeparableFilter2DEXT
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*row
, const GLvoid
*column
)
2332 DISPATCH(SeparableFilter2DEXT
, (target
, internalformat
, width
, height
, format
, type
, row
, column
), (";\n"));
2337 /* 14. GL_SGI_color_table */
2339 KEYWORD1
void KEYWORD2
NAME(ColorTableParameterfvSGI
)(GLenum target
, GLenum pname
, const GLfloat
*params
)
2341 DISPATCH(ColorTableParameterfvSGI
, (target
, pname
, params
), (";\n"));
2344 KEYWORD1
void KEYWORD2
NAME(ColorTableParameterivSGI
)(GLenum target
, GLenum pname
, const GLint
*params
)
2346 DISPATCH(ColorTableParameterivSGI
, (target
, pname
, params
), (";\n"));
2349 KEYWORD1
void KEYWORD2
NAME(ColorTableSGI
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*table
)
2351 DISPATCH(ColorTableSGI
, (target
, internalformat
, width
, format
, type
, table
), (";\n"));
2354 KEYWORD1
void KEYWORD2
NAME(CopyColorTableSGI
)(GLenum target
, GLenum internalFormat
, GLint x
, GLint y
, GLsizei width
)
2356 DISPATCH(CopyColorTableSGI
, (target
, internalFormat
, x
, y
, width
), (";\n"));
2359 KEYWORD1
void KEYWORD2
NAME(GetColorTableSGI
)(GLenum target
, GLenum format
, GLenum type
, GLvoid
*table
)
2361 DISPATCH(GetColorTableSGI
, (target
, format
, type
, table
), (";\n"));
2363 KEYWORD1
void KEYWORD2
NAME(GetColorTableParameterfvSGI
)(GLenum target
, GLenum pname
, GLfloat
*params
)
2365 DISPATCH(GetColorTableParameterfvSGI
, (target
, pname
, params
), (";\n"));
2368 KEYWORD1
void KEYWORD2
NAME(GetColorTableParameterivSGI
)(GLenum target
, GLenum pname
, GLint
*params
)
2370 DISPATCH(GetColorTableParameterivSGI
, (target
, pname
, params
), (";\n"));
2375 /* 20. GL_EXT_texture_object */
2377 KEYWORD1
void KEYWORD2
NAME(GenTexturesEXT
)(GLsizei n
, GLuint
*textures
)
2379 DISPATCH(GenTextures
, (n
, textures
), (";\n"));
2382 KEYWORD1
void KEYWORD2
NAME(DeleteTexturesEXT
)(GLsizei n
, const GLuint
*texture
)
2384 DISPATCH(DeleteTextures
, (n
, texture
), (";\n"));
2387 KEYWORD1
void KEYWORD2
NAME(BindTextureEXT
)(GLenum target
, GLuint texture
)
2389 DISPATCH(BindTexture
, (target
, texture
), (";\n"));
2392 KEYWORD1
void KEYWORD2
NAME(PrioritizeTexturesEXT
)(GLsizei n
, const GLuint
*textures
, const GLclampf
*priorities
)
2394 DISPATCH(PrioritizeTextures
, (n
, textures
, priorities
), (";\n"));
2397 KEYWORD1 GLboolean KEYWORD2
NAME(AreTexturesResidentEXT
)(GLsizei n
, const GLuint
*textures
, GLboolean
*residences
)
2399 RETURN_DISPATCH(AreTexturesResident
, (n
, textures
, residences
), ("glAreTexturesResidentEXT(%d %p %p);\n", n
, textures
, residences
));
2402 KEYWORD1 GLboolean KEYWORD2
NAME(IsTextureEXT
)(GLuint texture
)
2404 RETURN_DISPATCH(IsTexture
, (texture
), ("glIsTextureEXT(%u);\n", texture
));
2409 /* 37. GL_EXT_blend_minmax */
2410 KEYWORD1
void KEYWORD2
NAME(BlendEquationEXT
)(GLenum mode
)
2412 DISPATCH(BlendEquationEXT
, (mode
), (";\n"));
2417 /* 30. GL_EXT_vertex_array */
2419 KEYWORD1
void KEYWORD2
NAME(VertexPointerEXT
)(GLint size
, GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
2421 DISPATCH(VertexPointer
, (size
, type
, stride
, ptr
), (";\n"));
2424 KEYWORD1
void KEYWORD2
NAME(NormalPointerEXT
)(GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
2426 DISPATCH(NormalPointer
, (type
, stride
, ptr
), (";\n"));
2429 KEYWORD1
void KEYWORD2
NAME(ColorPointerEXT
)(GLint size
, GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
2431 DISPATCH(ColorPointer
, (size
, type
, stride
, ptr
), (";\n"));
2434 KEYWORD1
void KEYWORD2
NAME(IndexPointerEXT
)(GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
2436 DISPATCH(IndexPointer
, (type
, stride
, ptr
), (";\n"));
2439 KEYWORD1
void KEYWORD2
NAME(TexCoordPointerEXT
)(GLint size
, GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*ptr
)
2441 DISPATCH(ColorPointer
, (size
, type
, stride
, ptr
), (";\n"));
2444 KEYWORD1
void KEYWORD2
NAME(EdgeFlagPointerEXT
)(GLsizei stride
, GLsizei count
, const GLboolean
*ptr
)
2446 DISPATCH(EdgeFlagPointer
, (stride
, ptr
), (";\n"));
2449 KEYWORD1
void KEYWORD2
NAME(GetPointervEXT
)(GLenum pname
, void **params
)
2451 DISPATCH(GetPointerv
, (pname
, params
), (";\n"));
2454 KEYWORD1
void KEYWORD2
NAME(ArrayElementEXT
)(GLint i
)
2456 DISPATCH(ArrayElement
, (i
), (";\n"));
2459 KEYWORD1
void KEYWORD2
NAME(DrawArraysEXT
)(GLenum mode
, GLint first
, GLsizei count
)
2461 DISPATCH(DrawArrays
, (mode
, first
, count
), (";\n"));
2466 /* 54. GL_EXT_point_parameters */
2468 KEYWORD1
void KEYWORD2
NAME(PointParameterfEXT
)(GLenum target
, GLfloat param
)
2470 DISPATCH(PointParameterfEXT
, (target
, param
), (";\n"));
2473 KEYWORD1
void KEYWORD2
NAME(PointParameterfvEXT
)(GLenum target
, const GLfloat
*param
)
2475 DISPATCH(PointParameterfvEXT
, (target
, param
), (";\n"));
2479 /* 77. GL_PGI_misc_hints */
2480 KEYWORD1
void KEYWORD2
NAME(HintPGI
)(GLenum target
, GLint mode
)
2482 DISPATCH(HintPGI
, (target
, mode
), (";\n"));
2486 /* 78. GL_EXT_paletted_texture */
2488 KEYWORD1
void KEYWORD2
NAME(ColorTableEXT
)(GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*table
)
2490 DISPATCH(ColorTableEXT
, (target
, internalformat
, width
, format
, type
, table
), (";\n"));
2493 KEYWORD1
void KEYWORD2
NAME(ColorSubTableEXT
)(GLenum target
, GLsizei start
, GLsizei count
, GLenum format
, GLenum type
, const GLvoid
*data
)
2495 DISPATCH(ColorSubTableEXT
, (target
, start
, count
, format
, type
, data
), (";\n"));
2498 KEYWORD1
void KEYWORD2
NAME(GetColorTableEXT
)(GLenum target
, GLenum format
, GLenum type
, GLvoid
*table
)
2500 DISPATCH(GetColorTableEXT
, (target
, format
, type
, table
), (";\n"));
2503 KEYWORD1
void KEYWORD2
NAME(GetColorTableParameterfvEXT
)(GLenum target
, GLenum pname
, GLfloat
*params
)
2505 DISPATCH(GetColorTableParameterfvEXT
, (target
, pname
, params
), (";\n"));
2508 KEYWORD1
void KEYWORD2
NAME(GetColorTableParameterivEXT
)(GLenum target
, GLenum pname
, GLint
*params
)
2510 DISPATCH(GetColorTableParameterivEXT
, (target
, pname
, params
), (";\n"));
2516 /* 97. GL_EXT_compiled_vertex_array */
2518 KEYWORD1
void KEYWORD2
NAME(LockArraysEXT
)(GLint first
, GLsizei count
)
2520 DISPATCH(LockArraysEXT
, (first
, count
), (";\n"));
2523 KEYWORD1
void KEYWORD2
NAME(UnlockArraysEXT
)(void)
2525 DISPATCH(UnlockArraysEXT
, (), (";\n"));
2530 /* 173. GL_EXT/INGR_blend_func_separate */
2531 KEYWORD1
void KEYWORD2
NAME(BlendFuncSeparateINGR
)(GLenum sfactorRGB
, GLenum dfactorRGB
, GLenum sfactorAlpha
, GLenum dfactorAlpha
)
2533 DISPATCH(BlendFuncSeparateINGR
, (sfactorRGB
, dfactorRGB
, sfactorAlpha
, dfactorAlpha
), (";\n"));
2538 /* GL_MESA_window_pos */
2540 KEYWORD1
void KEYWORD2
NAME(WindowPos2iMESA
)(GLint x
, GLint y
)
2542 DISPATCH(WindowPos4fMESA
, (x
, y
, 0, 1), (";\n"));
2545 KEYWORD1
void KEYWORD2
NAME(WindowPos2sMESA
)(GLshort x
, GLshort y
)
2547 DISPATCH(WindowPos4fMESA
, (x
, y
, 0, 1), (";\n"));
2550 KEYWORD1
void KEYWORD2
NAME(WindowPos2fMESA
)(GLfloat x
, GLfloat y
)
2552 DISPATCH(WindowPos4fMESA
, (x
, y
, 0, 1), (";\n"));
2555 KEYWORD1
void KEYWORD2
NAME(WindowPos2dMESA
)(GLdouble x
, GLdouble y
)
2557 DISPATCH(WindowPos4fMESA
, (x
, y
, 0, 1), (";\n"));
2560 KEYWORD1
void KEYWORD2
NAME(WindowPos2ivMESA
)(const GLint
*p
)
2562 DISPATCH(WindowPos4fMESA
, (p
[0], p
[1], 0, 1), (";\n"));
2565 KEYWORD1
void KEYWORD2
NAME(WindowPos2svMESA
)(const GLshort
*p
)
2567 DISPATCH(WindowPos4fMESA
, (p
[0], p
[1], 0, 1), (";\n"));
2570 KEYWORD1
void KEYWORD2
NAME(WindowPos2fvMESA
)(const GLfloat
*p
)
2572 DISPATCH(WindowPos4fMESA
, (p
[0], p
[1], 0, 1), (";\n"));
2575 KEYWORD1
void KEYWORD2
NAME(WindowPos2dvMESA
)(const GLdouble
*p
)
2577 DISPATCH(WindowPos4fMESA
, (p
[0], p
[1], 0, 1), (";\n"));
2580 KEYWORD1
void KEYWORD2
NAME(WindowPos3iMESA
)(GLint x
, GLint y
, GLint z
)
2582 DISPATCH(WindowPos4fMESA
, (x
, y
, z
, 1), (";\n"));
2585 KEYWORD1
void KEYWORD2
NAME(WindowPos3sMESA
)(GLshort x
, GLshort y
, GLshort z
)
2587 DISPATCH(WindowPos4fMESA
, (x
, y
, z
, 1), (";\n"));
2590 KEYWORD1
void KEYWORD2
NAME(WindowPos3fMESA
)(GLfloat x
, GLfloat y
, GLfloat z
)
2592 DISPATCH(WindowPos4fMESA
, (x
, y
, z
, 1), (";\n"));
2595 KEYWORD1
void KEYWORD2
NAME(WindowPos3dMESA
)(GLdouble x
, GLdouble y
, GLdouble z
)
2597 DISPATCH(WindowPos4fMESA
, (x
, y
, z
, 1), (";\n"));
2600 KEYWORD1
void KEYWORD2
NAME(WindowPos3ivMESA
)(const GLint
*p
)
2602 DISPATCH(WindowPos4fMESA
, (p
[0], p
[1], p
[2], 1.0), (";\n"));
2605 KEYWORD1
void KEYWORD2
NAME(WindowPos3svMESA
)(const GLshort
*p
)
2607 DISPATCH(WindowPos4fMESA
, (p
[0], p
[1], p
[2], 1.0), (";\n"));
2610 KEYWORD1
void KEYWORD2
NAME(WindowPos3fvMESA
)(const GLfloat
*p
)
2612 DISPATCH(WindowPos4fMESA
, (p
[0], p
[1], p
[2], 1.0), (";\n"));
2615 KEYWORD1
void KEYWORD2
NAME(WindowPos3dvMESA
)(const GLdouble
*p
)
2617 DISPATCH(WindowPos4fMESA
, (p
[0], p
[1], p
[2], 1.0), (";\n"));
2620 KEYWORD1
void KEYWORD2
NAME(WindowPos4iMESA
)(GLint x
, GLint y
, GLint z
, GLint w
)
2622 DISPATCH(WindowPos4fMESA
, (x
, y
, z
, w
), (";\n"));
2625 KEYWORD1
void KEYWORD2
NAME(WindowPos4sMESA
)(GLshort x
, GLshort y
, GLshort z
, GLshort w
)
2627 DISPATCH(WindowPos4fMESA
, (x
, y
, z
, w
), (";\n"));
2630 KEYWORD1
void KEYWORD2
NAME(WindowPos4fMESA
)(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
)
2632 DISPATCH(WindowPos4fMESA
, (x
, y
, z
, w
), (";\n"));
2635 KEYWORD1
void KEYWORD2
NAME(WindowPos4dMESA
)(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
)
2637 DISPATCH(WindowPos4fMESA
, (x
, y
, z
, w
), (";\n"));
2640 KEYWORD1
void KEYWORD2
NAME(WindowPos4ivMESA
)(const GLint
*p
)
2642 DISPATCH(WindowPos4fMESA
, (p
[0], p
[1], p
[2], p
[3]), (";\n"));
2645 KEYWORD1
void KEYWORD2
NAME(WindowPos4svMESA
)(const GLshort
*p
)
2647 DISPATCH(WindowPos4fMESA
, (p
[0], p
[1], p
[2], p
[3]), (";\n"));
2650 KEYWORD1
void KEYWORD2
NAME(WindowPos4fvMESA
)(const GLfloat
*p
)
2652 DISPATCH(WindowPos4fMESA
, (p
[0], p
[1], p
[2], p
[3]), (";\n"));
2655 KEYWORD1
void KEYWORD2
NAME(WindowPos4dvMESA
)(const GLdouble
*p
)
2657 DISPATCH(WindowPos4fMESA
, (p
[0], p
[1], p
[2], p
[3]), (";\n"));
2662 /* GL_MESA_resize_buffers */
2663 KEYWORD1
void KEYWORD2
NAME(ResizeBuffersMESA
)(void)
2665 DISPATCH(ResizeBuffersMESA
, (), (";\n"));
2670 /* GL_ARB_transpose_matrix */
2671 KEYWORD1
void KEYWORD2
NAME(LoadTransposeMatrixdARB
)(const GLdouble m
[16])
2673 DISPATCH(LoadTransposeMatrixdARB
, (m
), (";\n"));
2676 KEYWORD1
void KEYWORD2
NAME(LoadTransposeMatrixfARB
)(const GLfloat m
[16])
2678 DISPATCH(LoadTransposeMatrixfARB
, (m
), (";\n"));
2681 KEYWORD1
void KEYWORD2
NAME(MultTransposeMatrixdARB
)(const GLdouble m
[16])
2683 DISPATCH(MultTransposeMatrixdARB
, (m
), (";\n"));
2686 KEYWORD1
void KEYWORD2
NAME(MultTransposeMatrixfARB
)(const GLfloat m
[16])
2688 DISPATCH(MultTransposeMatrixfARB
, (m
), (";\n"));
2697 #undef RETURN_DISPATCH