texture palette update
[mesa.git] / src / mesa / glapi / glapi.c
1 /* $Id: glapi.c,v 1.7 1999/11/12 18:57:50 brianp Exp $ */
2
3 /*
4 * Mesa 3-D graphics library
5 * Version: 3.3
6 *
7 * Copyright (C) 1999 Brian Paul All Rights Reserved.
8 *
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:
15 *
16 * The above copyright notice and this permission notice shall be included
17 * in all copies or substantial portions of the Software.
18 *
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.
25 */
26
27
28 #include <assert.h>
29 #include <stdlib.h> /* to get NULL */
30 #include "glapi.h"
31 #include "glapinoop.h"
32
33
34
35 #if defined(MULTI_THREAD)
36
37 /* XXX to do */
38
39 #else
40
41 static struct _glapi_table *Dispatch = &__glapi_noop_table;
42 #define DISPATCH(FUNC) (Dispatch->FUNC)
43
44 #endif
45
46
47 void GLAPIENTRY glAccum(GLenum op, GLfloat value)
48 {
49 DISPATCH(Accum)(op, value);
50 }
51
52 void GLAPIENTRY glAlphaFunc(GLenum func, GLclampf ref)
53 {
54 DISPATCH(AlphaFunc)(func, ref);
55 }
56
57 void GLAPIENTRY glBegin(GLenum mode)
58 {
59 DISPATCH(Begin)(mode);
60 }
61
62 void GLAPIENTRY glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap)
63 {
64 DISPATCH(Bitmap)(width, height, xorig, yorig, xmove, ymove, bitmap);
65 }
66
67 void GLAPIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor)
68 {
69 DISPATCH(BlendFunc)(sfactor, dfactor);
70 }
71
72 void GLAPIENTRY glCallList(GLuint list)
73 {
74 DISPATCH(CallList)(list);
75 }
76
77 void GLAPIENTRY glCallLists(GLsizei n, GLenum type, const GLvoid *lists)
78 {
79 DISPATCH(CallLists)(n, type, lists);
80 }
81
82 void GLAPIENTRY glClear(GLbitfield mask)
83 {
84 DISPATCH(Clear)(mask);
85 }
86
87 void GLAPIENTRY glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
88 {
89 DISPATCH(ClearAccum)(red, green, blue, alpha);
90 }
91
92 void GLAPIENTRY glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
93 {
94 DISPATCH(ClearColor)(red, green, blue, alpha);
95 }
96
97 void GLAPIENTRY glClearDepth(GLclampd depth)
98 {
99 DISPATCH(ClearDepth)(depth);
100 }
101
102 void GLAPIENTRY glClearIndex(GLfloat c)
103 {
104 DISPATCH(ClearIndex)(c);
105 }
106
107 void GLAPIENTRY glClearStencil(GLint s)
108 {
109 DISPATCH(ClearStencil)(s);
110 }
111
112 void GLAPIENTRY glClipPlane(GLenum plane, const GLdouble *equation)
113 {
114 DISPATCH(ClipPlane)(plane, equation);
115 }
116
117 void GLAPIENTRY glColor3b(GLbyte red, GLbyte green, GLbyte blue)
118 {
119 DISPATCH(Color3b)(red, green, blue);
120 }
121
122 void GLAPIENTRY glColor3d(GLdouble red, GLdouble green, GLdouble blue)
123 {
124 DISPATCH(Color3d)(red, green, blue);
125 }
126
127 void GLAPIENTRY glColor3f(GLfloat red, GLfloat green, GLfloat blue)
128 {
129 DISPATCH(Color3f)(red, green, blue);
130 }
131
132 void GLAPIENTRY glColor3i(GLint red, GLint green, GLint blue)
133 {
134 DISPATCH(Color3i)(red, green, blue);
135 }
136
137 void GLAPIENTRY glColor3s(GLshort red, GLshort green, GLshort blue)
138 {
139 DISPATCH(Color3s)(red, green, blue);
140 }
141
142 void GLAPIENTRY glColor3ub(GLubyte red, GLubyte green, GLubyte blue)
143 {
144 DISPATCH(Color3ub)(red, green, blue);
145 }
146
147 void GLAPIENTRY glColor3ui(GLuint red, GLuint green, GLuint blue)
148 {
149 DISPATCH(Color3ui)(red, green, blue);
150 }
151
152 void GLAPIENTRY glColor3us(GLushort red, GLushort green, GLushort blue)
153 {
154 DISPATCH(Color3us)(red, green, blue);
155 }
156
157 void GLAPIENTRY glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha)
158 {
159 DISPATCH(Color4b)(red, green, blue, alpha);
160 }
161
162 void GLAPIENTRY glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
163 {
164 DISPATCH(Color4d)(red, green, blue, alpha);
165 }
166
167 void GLAPIENTRY glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
168 {
169 DISPATCH(Color4f)(red, green, blue, alpha);
170 }
171
172 void GLAPIENTRY glColor4i(GLint red, GLint green, GLint blue, GLint alpha)
173 {
174 DISPATCH(Color4i)(red, green, blue, alpha);
175 }
176
177 void GLAPIENTRY glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha)
178 {
179 DISPATCH(Color4s)(red, green, blue, alpha);
180 }
181
182 void GLAPIENTRY glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
183 {
184 DISPATCH(Color4ub)(red, green, blue, alpha);
185 }
186
187 void GLAPIENTRY glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha)
188 {
189 DISPATCH(Color4ui)(red, green, blue, alpha);
190 }
191
192 void GLAPIENTRY glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha)
193 {
194 DISPATCH(Color4us)(red, green, blue, alpha);
195 }
196
197 void GLAPIENTRY glColor3bv(const GLbyte *v)
198 {
199 DISPATCH(Color3bv)(v);
200 }
201
202 void GLAPIENTRY glColor3dv(const GLdouble *v)
203 {
204 DISPATCH(Color3dv)(v);
205 }
206
207 void GLAPIENTRY glColor3fv(const GLfloat *v)
208 {
209 DISPATCH(Color3fv)(v);
210 }
211
212 void GLAPIENTRY glColor3iv(const GLint *v)
213 {
214 DISPATCH(Color3iv)(v);
215 }
216
217 void GLAPIENTRY glColor3sv(const GLshort *v)
218 {
219 DISPATCH(Color3sv)(v);
220 }
221
222 void GLAPIENTRY glColor3ubv(const GLubyte *v)
223 {
224 DISPATCH(Color3ubv)(v);
225 }
226
227 void GLAPIENTRY glColor3uiv(const GLuint *v)
228 {
229 DISPATCH(Color3uiv)(v);
230 }
231
232 void GLAPIENTRY glColor3usv(const GLushort *v)
233 {
234 DISPATCH(Color3usv)(v);
235 }
236
237 void GLAPIENTRY glColor4bv(const GLbyte *v)
238 {
239 DISPATCH(Color4bv)(v);
240 }
241
242 void GLAPIENTRY glColor4dv(const GLdouble *v)
243 {
244 DISPATCH(Color4dv)(v);
245 }
246
247 void GLAPIENTRY glColor4fv(const GLfloat *v)
248 {
249 DISPATCH(Color4fv)(v);
250 }
251
252 void GLAPIENTRY glColor4iv(const GLint *v)
253 {
254 DISPATCH(Color4iv)(v);
255 }
256
257 void GLAPIENTRY glColor4sv(const GLshort *v)
258 {
259 DISPATCH(Color4sv)(v);
260 }
261
262 void GLAPIENTRY glColor4ubv(const GLubyte *v)
263 {
264 DISPATCH(Color4ubv)(v);
265 }
266
267 void GLAPIENTRY glColor4uiv(const GLuint *v)
268 {
269 DISPATCH(Color4uiv)(v);
270 }
271
272 void GLAPIENTRY glColor4usv(const GLushort *v)
273 {
274 DISPATCH(Color4usv)(v);
275 }
276
277 void GLAPIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
278 {
279 DISPATCH(ColorMask)(red, green, blue, alpha);
280 }
281
282 void GLAPIENTRY glColorMaterial(GLenum face, GLenum mode)
283 {
284 DISPATCH(ColorMaterial)(face, mode);
285 }
286
287 void GLAPIENTRY glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
288 {
289 DISPATCH(CopyPixels)(x, y, width, height, type);
290 }
291
292 void GLAPIENTRY glCullFace(GLenum mode)
293 {
294 DISPATCH(CullFace)(mode);
295 }
296
297 void GLAPIENTRY glDepthFunc(GLenum func)
298 {
299 DISPATCH(DepthFunc)(func);
300 }
301
302 void GLAPIENTRY glDepthMask(GLboolean flag)
303 {
304 DISPATCH(DepthMask)(flag);
305 }
306
307 void GLAPIENTRY glDepthRange(GLclampd nearVal, GLclampd farVal)
308 {
309 DISPATCH(DepthRange)(nearVal, farVal);
310 }
311
312 void GLAPIENTRY glDeleteLists(GLuint list, GLsizei range)
313 {
314 DISPATCH(DeleteLists)(list, range);
315 }
316
317 void GLAPIENTRY glDisable(GLenum cap)
318 {
319 DISPATCH(Disable)(cap);
320 }
321
322 void GLAPIENTRY glDrawBuffer(GLenum mode)
323 {
324 DISPATCH(DrawBuffer)(mode);
325 }
326
327 void GLAPIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
328 {
329 DISPATCH(DrawElements)(mode, count, type, indices);
330 }
331
332 void GLAPIENTRY glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
333 {
334 DISPATCH(DrawPixels)(width, height, format, type, pixels);
335 }
336
337 void GLAPIENTRY glEnable(GLenum mode)
338 {
339 DISPATCH(Enable)(mode);
340 }
341
342 void GLAPIENTRY glEnd(void)
343 {
344 DISPATCH(End)();
345 }
346
347 void GLAPIENTRY glEndList(void)
348 {
349 DISPATCH(EndList)();
350 }
351
352 void GLAPIENTRY glEvalCoord1d(GLdouble u)
353 {
354 DISPATCH(EvalCoord1d)(u);
355 }
356
357 void GLAPIENTRY glEvalCoord1f(GLfloat u)
358 {
359 DISPATCH(EvalCoord1f)(u);
360 }
361
362 void GLAPIENTRY glEvalCoord1dv(const GLdouble *u)
363 {
364 DISPATCH(EvalCoord1dv)(u);
365 }
366
367 void GLAPIENTRY glEvalCoord1fv(const GLfloat *u)
368 {
369 DISPATCH(EvalCoord1fv)(u);
370 }
371
372 void GLAPIENTRY glEvalCoord2d(GLdouble u, GLdouble v)
373 {
374 DISPATCH(EvalCoord2d)(u, v);
375 }
376
377 void GLAPIENTRY glEvalCoord2f(GLfloat u, GLfloat v)
378 {
379 DISPATCH(EvalCoord2f)(u, v);
380 }
381
382 void GLAPIENTRY glEvalCoord2dv(const GLdouble *u)
383 {
384 DISPATCH(EvalCoord2dv)(u);
385 }
386
387 void GLAPIENTRY glEvalCoord2fv(const GLfloat *u)
388 {
389 DISPATCH(EvalCoord2fv)(u);
390 }
391
392 void GLAPIENTRY glEvalPoint1(GLint i)
393 {
394 DISPATCH(EvalPoint1)(i);
395 }
396
397 void GLAPIENTRY glEvalPoint2(GLint i, GLint j)
398 {
399 DISPATCH(EvalPoint2)(i, j);
400 }
401
402 void GLAPIENTRY glEvalMesh1(GLenum mode, GLint i1, GLint i2)
403 {
404 DISPATCH(EvalMesh1)(mode, i1, i2);
405 }
406
407 void GLAPIENTRY glEdgeFlag(GLboolean flag)
408 {
409 DISPATCH(EdgeFlag)(flag);
410 }
411
412 void GLAPIENTRY glEdgeFlagv(const GLboolean *flag)
413 {
414 DISPATCH(EdgeFlagv)(flag);
415 }
416
417 void GLAPIENTRY glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
418 {
419 DISPATCH(EvalMesh2)(mode, i1, i2, j1, j2);
420 }
421
422 void GLAPIENTRY glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer)
423 {
424 DISPATCH(FeedbackBuffer)(size, type, buffer);
425 }
426
427 void GLAPIENTRY glFinish(void)
428 {
429 DISPATCH(Finish)();
430 }
431
432 void GLAPIENTRY glFlush(void)
433 {
434 DISPATCH(Flush)();
435 }
436
437 void GLAPIENTRY glFogf(GLenum pname, GLfloat param)
438 {
439 DISPATCH(Fogf)(pname, param);
440 }
441
442 void GLAPIENTRY glFogi(GLenum pname, GLint param)
443 {
444 DISPATCH(Fogi)(pname, param);
445 }
446
447 void GLAPIENTRY glFogfv(GLenum pname, const GLfloat *params)
448 {
449 DISPATCH(Fogfv)(pname, params);
450 }
451
452 void GLAPIENTRY glFogiv(GLenum pname, const GLint *params)
453 {
454 DISPATCH(Fogiv)(pname, params);
455 }
456
457 void GLAPIENTRY glFrontFace(GLenum mode)
458 {
459 DISPATCH(FrontFace)(mode);
460 }
461
462 void GLAPIENTRY glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval)
463 {
464 DISPATCH(Frustum)(left, right, bottom, top, nearval, farval);
465 }
466
467 GLuint GLAPIENTRY glGenLists(GLsizei range)
468 {
469 return DISPATCH(GenLists)(range);
470 }
471
472 void GLAPIENTRY glGetBooleanv(GLenum pname, GLboolean *params)
473 {
474 DISPATCH(GetBooleanv)(pname, params);
475 }
476
477 void GLAPIENTRY glGetClipPlane(GLenum plane, GLdouble *equation)
478 {
479 DISPATCH(GetClipPlane)(plane, equation);
480 }
481
482 void GLAPIENTRY glGetDoublev(GLenum pname, GLdouble *params)
483 {
484 DISPATCH(GetDoublev)(pname, params);
485 }
486
487 GLenum GLAPIENTRY glGetError(void)
488 {
489 return DISPATCH(GetError)();
490 }
491
492 void GLAPIENTRY glGetFloatv(GLenum pname, GLfloat *params)
493 {
494 DISPATCH(GetFloatv)(pname, params);
495 }
496
497 void GLAPIENTRY glGetIntegerv(GLenum pname, GLint *params)
498 {
499 DISPATCH(GetIntegerv)(pname, params);
500 }
501
502 void GLAPIENTRY glGetLightfv(GLenum light, GLenum pname, GLfloat *params)
503 {
504 DISPATCH(GetLightfv)(light, pname, params);
505 }
506
507 void GLAPIENTRY glGetLightiv(GLenum light, GLenum pname, GLint *params)
508 {
509 DISPATCH(GetLightiv)(light, pname, params);
510 }
511
512 void GLAPIENTRY glGetMapdv(GLenum target, GLenum query, GLdouble *v)
513 {
514 DISPATCH(GetMapdv)(target, query, v);
515 }
516
517 void GLAPIENTRY glGetMapfv(GLenum target, GLenum query, GLfloat *v)
518 {
519 DISPATCH(GetMapfv)(target, query, v);
520 }
521
522 void GLAPIENTRY glGetMapiv(GLenum target, GLenum query, GLint *v)
523 {
524 DISPATCH(GetMapiv)(target, query, v);
525 }
526
527 void GLAPIENTRY glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params)
528 {
529 DISPATCH(GetMaterialfv)(face, pname, params);
530 }
531
532 void GLAPIENTRY glGetMaterialiv(GLenum face, GLenum pname, GLint *params)
533 {
534 DISPATCH(GetMaterialiv)(face, pname, params);
535 }
536
537 void GLAPIENTRY glGetPixelMapfv(GLenum map, GLfloat *values)
538 {
539 DISPATCH(GetPixelMapfv)(map, values);
540 }
541
542 void GLAPIENTRY glGetPixelMapuiv(GLenum map, GLuint *values)
543 {
544 DISPATCH(GetPixelMapuiv)(map, values);
545 }
546
547 void GLAPIENTRY glGetPixelMapusv(GLenum map, GLushort *values)
548 {
549 DISPATCH(GetPixelMapusv)(map, values);
550 }
551
552 void GLAPIENTRY glGetPolygonStipple(GLubyte *mask)
553 {
554 DISPATCH(GetPolygonStipple)(mask);
555 }
556
557 const GLubyte * GLAPIENTRY glGetString(GLenum name)
558 {
559 return DISPATCH(GetString)(name);
560 }
561
562 void GLAPIENTRY glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params)
563 {
564 DISPATCH(GetTexEnvfv)(target, pname, params);
565 }
566
567 void GLAPIENTRY glGetTexEnviv(GLenum target, GLenum pname, GLint *params)
568 {
569 DISPATCH(GetTexEnviv)(target, pname, params);
570 }
571
572 void GLAPIENTRY glGetTexGeniv(GLenum target, GLenum pname, GLint *params)
573 {
574 DISPATCH(GetTexGeniv)(target, pname, params);
575 }
576
577 void GLAPIENTRY glGetTexGendv(GLenum target, GLenum pname, GLdouble *params)
578 {
579 DISPATCH(GetTexGendv)(target, pname, params);
580 }
581
582 void GLAPIENTRY glGetTexGenfv(GLenum target, GLenum pname, GLfloat *params)
583 {
584 DISPATCH(GetTexGenfv)(target, pname, params);
585 }
586
587 void GLAPIENTRY glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
588 {
589 DISPATCH(GetTexImage)(target, level, format, type, pixels);
590 }
591
592 void GLAPIENTRY glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
593 {
594 DISPATCH(GetTexLevelParameterfv)(target, level, pname, params);
595 }
596
597 void GLAPIENTRY glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
598 {
599 DISPATCH(GetTexLevelParameteriv)(target, level, pname, params);
600 }
601
602 void GLAPIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
603 {
604 DISPATCH(GetTexParameterfv)(target, pname, params);
605 }
606
607 void GLAPIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
608 {
609 DISPATCH(GetTexParameteriv)(target, pname, params);
610 }
611
612 void GLAPIENTRY glHint(GLenum target, GLenum mode)
613 {
614 DISPATCH(Hint)(target, mode);
615 }
616
617 void GLAPIENTRY glIndexd(GLdouble c)
618 {
619 DISPATCH(Indexd)(c);
620 }
621
622 void GLAPIENTRY glIndexdv(const GLdouble *c)
623 {
624 DISPATCH(Indexdv)(c);
625 }
626
627 void GLAPIENTRY glIndexf(GLfloat c)
628 {
629 DISPATCH(Indexf)(c);
630 }
631
632 void GLAPIENTRY glIndexfv(const GLfloat *c)
633 {
634 DISPATCH(Indexfv)(c);
635 }
636
637 void GLAPIENTRY glIndexi(GLint c)
638 {
639 DISPATCH(Indexi)(c);
640 }
641
642 void GLAPIENTRY glIndexiv(const GLint *c)
643 {
644 DISPATCH(Indexiv)(c);
645 }
646
647 void GLAPIENTRY glIndexs(GLshort c)
648 {
649 DISPATCH(Indexs)(c);
650 }
651
652 void GLAPIENTRY glIndexsv(const GLshort *c)
653 {
654 DISPATCH(Indexsv)(c);
655 }
656
657 void GLAPIENTRY glIndexub(GLubyte c)
658 {
659 DISPATCH(Indexub)(c);
660 }
661
662 void GLAPIENTRY glIndexubv(const GLubyte *c)
663 {
664 DISPATCH(Indexubv)(c);
665 }
666
667 void GLAPIENTRY glIndexMask(GLuint mask)
668 {
669 DISPATCH(IndexMask)(mask);
670 }
671
672 void GLAPIENTRY glInitNames(void)
673 {
674 DISPATCH(InitNames)();
675 }
676
677 void GLAPIENTRY glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer)
678 {
679 DISPATCH(InterleavedArrays)(format, stride, pointer);
680 }
681
682 GLboolean GLAPIENTRY glIsEnabled(GLenum cap)
683 {
684 return DISPATCH(IsEnabled)(cap);
685 }
686
687 GLboolean GLAPIENTRY glIsList(GLuint list)
688 {
689 return DISPATCH(IsList)(list);
690 }
691
692 GLboolean GLAPIENTRY glIsTexture(GLuint texture)
693 {
694 return DISPATCH(IsTexture)(texture);
695 }
696
697 void GLAPIENTRY glLightf(GLenum light, GLenum pname, GLfloat param)
698 {
699 DISPATCH(Lightf)(light, pname, param);
700 }
701
702 void GLAPIENTRY glLighti(GLenum light, GLenum pname, GLint param)
703 {
704 DISPATCH(Lighti)(light, pname, param);
705 }
706
707 void GLAPIENTRY glLightfv(GLenum light, GLenum pname, const GLfloat *params)
708 {
709 DISPATCH(Lightfv)(light, pname, params);
710 }
711
712 void GLAPIENTRY glLightiv(GLenum light, GLenum pname, const GLint *params)
713 {
714 DISPATCH(Lightiv)(light, pname, params);
715 }
716
717 void GLAPIENTRY glLightModelf(GLenum pname, GLfloat param)
718 {
719 DISPATCH(LightModelf)(pname, param);
720 }
721
722 void GLAPIENTRY glLightModeli(GLenum pname, GLint param)
723 {
724 DISPATCH(LightModeli)(pname, param);
725 }
726
727 void GLAPIENTRY glLightModelfv(GLenum pname, const GLfloat *params)
728 {
729 DISPATCH(LightModelfv)(pname, params);
730 }
731
732 void GLAPIENTRY glLightModeliv(GLenum pname, const GLint *params)
733 {
734 DISPATCH(LightModeliv)(pname, params);
735 }
736
737 void GLAPIENTRY glLineWidth(GLfloat width)
738 {
739 DISPATCH(LineWidth)(width);
740 }
741
742 void GLAPIENTRY glLineStipple(GLint factor, GLushort pattern)
743 {
744 DISPATCH(LineStipple)(factor, pattern);
745 }
746
747 void GLAPIENTRY glListBase(GLuint base)
748 {
749 DISPATCH(ListBase)(base);
750 }
751
752 void GLAPIENTRY glLoadIdentity(void)
753 {
754 DISPATCH(LoadIdentity)();
755 }
756
757 void GLAPIENTRY glLoadMatrixd(const GLdouble *m)
758 {
759 DISPATCH(LoadMatrixd)(m);
760 }
761
762 void GLAPIENTRY glLoadMatrixf(const GLfloat *m)
763 {
764 DISPATCH(LoadMatrixf)(m);
765 }
766
767 void GLAPIENTRY glLoadName(GLuint name)
768 {
769 DISPATCH(LoadName)(name);
770 }
771
772 void GLAPIENTRY glLogicOp(GLenum opcode)
773 {
774 DISPATCH(LogicOp)(opcode);
775 }
776
777 void GLAPIENTRY glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points)
778 {
779 DISPATCH(Map1d)(target, u1, u2, stride, order, points);
780 }
781
782 void GLAPIENTRY glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points)
783 {
784 DISPATCH(Map1f)(target, u1, u2, stride, order, points);
785 }
786
787 void GLAPIENTRY glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points)
788 {
789 DISPATCH(Map2d)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
790 }
791
792 void GLAPIENTRY glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points)
793 {
794 DISPATCH(Map2f)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
795 }
796
797 void GLAPIENTRY glMapGrid1d(GLint un, GLdouble u1, GLdouble u2)
798 {
799 DISPATCH(MapGrid1d)(un, u1, u2);
800 }
801
802 void GLAPIENTRY glMapGrid1f(GLint un, GLfloat u1, GLfloat u2)
803 {
804 DISPATCH(MapGrid1f)(un, u1, u2);
805 }
806
807 void GLAPIENTRY glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
808 {
809 DISPATCH(MapGrid2d)(un, u1, u2, vn, v1, v2);
810 }
811
812 void GLAPIENTRY glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
813 {
814 DISPATCH(MapGrid2f)(un, u1, u2, vn, v1, v2);
815 }
816
817 void GLAPIENTRY glMaterialf(GLenum face, GLenum pname, GLfloat param)
818 {
819 DISPATCH(Materialf)(face, pname, param);
820 }
821
822 void GLAPIENTRY glMateriali(GLenum face, GLenum pname, GLint param)
823 {
824 DISPATCH(Materiali)(face, pname, param);
825 }
826
827 void GLAPIENTRY glMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
828 {
829 DISPATCH(Materialfv)(face, pname, params);
830 }
831
832 void GLAPIENTRY glMaterialiv(GLenum face, GLenum pname, const GLint *params)
833 {
834 DISPATCH(Materialiv)(face, pname, params);
835 }
836
837 void GLAPIENTRY glMatrixMode(GLenum mode)
838 {
839 DISPATCH(MatrixMode)(mode);
840 }
841
842 void GLAPIENTRY glMultMatrixd(const GLdouble *m)
843 {
844 DISPATCH(MultMatrixd)(m);
845 }
846
847 void GLAPIENTRY glMultMatrixf(const GLfloat *m)
848 {
849 DISPATCH(MultMatrixf)(m);
850 }
851
852 void GLAPIENTRY glNewList(GLuint list, GLenum mode)
853 {
854 DISPATCH(NewList)(list, mode);
855 }
856
857 void GLAPIENTRY glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz)
858 {
859 DISPATCH(Normal3b)(nx, ny, nz);
860 }
861
862 void GLAPIENTRY glNormal3bv(const GLbyte *v)
863 {
864 DISPATCH(Normal3bv)(v);
865 }
866
867 void GLAPIENTRY glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz)
868 {
869 DISPATCH(Normal3d)(nx, ny, nz);
870 }
871
872 void GLAPIENTRY glNormal3dv(const GLdouble *v)
873 {
874 DISPATCH(Normal3dv)(v);
875 }
876
877 void GLAPIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
878 {
879 DISPATCH(Normal3f)(nx, ny, nz);
880 }
881
882 void GLAPIENTRY glNormal3fv(const GLfloat *v)
883 {
884 DISPATCH(Normal3fv)(v);
885 }
886
887 void GLAPIENTRY glNormal3i(GLint nx, GLint ny, GLint nz)
888 {
889 DISPATCH(Normal3i)(nx, ny, nz);
890 }
891
892 void GLAPIENTRY glNormal3iv(const GLint *v)
893 {
894 DISPATCH(Normal3iv)(v);
895 }
896
897 void GLAPIENTRY glNormal3s(GLshort nx, GLshort ny, GLshort nz)
898 {
899 DISPATCH(Normal3s)(nx, ny, nz);
900 }
901
902 void GLAPIENTRY glNormal3sv(const GLshort *v)
903 {
904 DISPATCH(Normal3sv)(v);
905 }
906
907 void GLAPIENTRY glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval)
908 {
909 DISPATCH(Ortho)(left, right, bottom, top, nearval, farval);
910 }
911
912 void GLAPIENTRY glPassThrough(GLfloat token)
913 {
914 DISPATCH(PassThrough)(token);
915 }
916
917 void GLAPIENTRY glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values)
918 {
919 DISPATCH(PixelMapfv)(map, mapsize, values);
920 }
921
922 void GLAPIENTRY glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values)
923 {
924 DISPATCH(PixelMapuiv)(map, mapsize, values);
925 }
926
927 void GLAPIENTRY glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values)
928 {
929 DISPATCH(PixelMapusv)(map, mapsize, values);
930 }
931
932 void GLAPIENTRY glPixelStoref(GLenum pname, GLfloat param)
933 {
934 DISPATCH(PixelStoref)(pname, param);
935 }
936
937 void GLAPIENTRY glPixelStorei(GLenum pname, GLint param)
938 {
939 DISPATCH(PixelStorei)(pname, param);
940 }
941
942 void GLAPIENTRY glPixelTransferf(GLenum pname, GLfloat param)
943 {
944 DISPATCH(PixelTransferf)(pname, param);
945 }
946
947 void GLAPIENTRY glPixelTransferi(GLenum pname, GLint param)
948 {
949 DISPATCH(PixelTransferi)(pname, param);
950 }
951
952 void GLAPIENTRY glPixelZoom(GLfloat xfactor, GLfloat yfactor)
953 {
954 DISPATCH(PixelZoom)(xfactor, yfactor);
955 }
956
957 void GLAPIENTRY glPointSize(GLfloat size)
958 {
959 DISPATCH(PointSize)(size);
960 }
961
962 void GLAPIENTRY glPolygonMode(GLenum face, GLenum mode)
963 {
964 DISPATCH(PolygonMode)(face, mode);
965 }
966
967 void GLAPIENTRY glPolygonStipple(const GLubyte *pattern)
968 {
969 DISPATCH(PolygonStipple)(pattern);
970 }
971
972 void GLAPIENTRY glPopAttrib(void)
973 {
974 DISPATCH(PopAttrib)();
975 }
976
977 void GLAPIENTRY glPopMatrix(void)
978 {
979 DISPATCH(PopMatrix)();
980 }
981
982 void GLAPIENTRY glPopName(void)
983 {
984 DISPATCH(PopName)();
985 }
986
987 void GLAPIENTRY glPushAttrib(GLbitfield mask)
988 {
989 DISPATCH(PushAttrib)(mask);
990 }
991
992 void GLAPIENTRY glPushMatrix(void)
993 {
994 DISPATCH(PushMatrix)();
995 }
996
997 void GLAPIENTRY glPushName(GLuint name)
998 {
999 DISPATCH(PushName)(name);
1000 }
1001
1002 void GLAPIENTRY glRasterPos2d(GLdouble x, GLdouble y)
1003 {
1004 DISPATCH(RasterPos2d)(x, y);
1005 }
1006
1007 void GLAPIENTRY glRasterPos2f(GLfloat x, GLfloat y)
1008 {
1009 DISPATCH(RasterPos2f)(x, y);
1010 }
1011
1012 void GLAPIENTRY glRasterPos2i(GLint x, GLint y)
1013 {
1014 DISPATCH(RasterPos2i)(x, y);
1015 }
1016
1017 void GLAPIENTRY glRasterPos2s(GLshort x, GLshort y)
1018 {
1019 DISPATCH(RasterPos2s)(x, y);
1020 }
1021
1022 void GLAPIENTRY glRasterPos3d(GLdouble x, GLdouble y, GLdouble z)
1023 {
1024 DISPATCH(RasterPos3d)(x, y, z);
1025 }
1026
1027 void GLAPIENTRY glRasterPos3f(GLfloat x, GLfloat y, GLfloat z)
1028 {
1029 DISPATCH(RasterPos3f)(x, y, z);
1030 }
1031
1032 void GLAPIENTRY glRasterPos3i(GLint x, GLint y, GLint z)
1033 {
1034 DISPATCH(RasterPos3i)(x, y, z);
1035 }
1036
1037 void GLAPIENTRY glRasterPos3s(GLshort x, GLshort y, GLshort z)
1038 {
1039 DISPATCH(RasterPos3s)(x, y, z);
1040 }
1041
1042 void GLAPIENTRY glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
1043 {
1044 DISPATCH(RasterPos4d)(x, y, z, w);
1045 }
1046
1047 void GLAPIENTRY glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
1048 {
1049 DISPATCH(RasterPos4f)(x, y, z, w);
1050 }
1051
1052 void GLAPIENTRY glRasterPos4i(GLint x, GLint y, GLint z, GLint w)
1053 {
1054 DISPATCH(RasterPos4i)(x, y, z, w);
1055 }
1056
1057 void GLAPIENTRY glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w)
1058 {
1059 DISPATCH(RasterPos4s)(x, y, z, w);
1060 }
1061
1062 void GLAPIENTRY glRasterPos2dv(const GLdouble *v)
1063 {
1064 DISPATCH(RasterPos2dv)(v);
1065 }
1066
1067 void GLAPIENTRY glRasterPos2fv(const GLfloat *v)
1068 {
1069 DISPATCH(RasterPos2fv)(v);
1070 }
1071
1072 void GLAPIENTRY glRasterPos2iv(const GLint *v)
1073 {
1074 DISPATCH(RasterPos2iv)(v);
1075 }
1076
1077 void GLAPIENTRY glRasterPos2sv(const GLshort *v)
1078 {
1079 DISPATCH(RasterPos2sv)(v);
1080 }
1081
1082 void GLAPIENTRY glRasterPos3dv(const GLdouble *v)
1083 {
1084 DISPATCH(RasterPos3dv)(v);
1085 }
1086
1087 void GLAPIENTRY glRasterPos3fv(const GLfloat *v)
1088 {
1089 DISPATCH(RasterPos3fv)(v);
1090 }
1091
1092 void GLAPIENTRY glRasterPos3iv(const GLint *v)
1093 {
1094 DISPATCH(RasterPos3iv)(v);
1095 }
1096
1097 void GLAPIENTRY glRasterPos3sv(const GLshort *v)
1098 {
1099 DISPATCH(RasterPos3sv)(v);
1100 }
1101
1102 void GLAPIENTRY glRasterPos4dv(const GLdouble *v)
1103 {
1104 DISPATCH(RasterPos4dv)(v);
1105 }
1106
1107 void GLAPIENTRY glRasterPos4fv(const GLfloat *v)
1108 {
1109 DISPATCH(RasterPos4fv)(v);
1110 }
1111
1112 void GLAPIENTRY glRasterPos4iv(const GLint *v)
1113 {
1114 DISPATCH(RasterPos4iv)(v);
1115 }
1116
1117 void GLAPIENTRY glRasterPos4sv(const GLshort *v)
1118 {
1119 DISPATCH(RasterPos4sv)(v);
1120 }
1121
1122 void GLAPIENTRY glReadBuffer(GLenum mode)
1123 {
1124 DISPATCH(ReadBuffer)(mode);
1125 }
1126
1127 void GLAPIENTRY glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
1128 {
1129 DISPATCH(ReadPixels)(x, y, width, height, format, type, pixels);
1130 }
1131
1132 void GLAPIENTRY glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
1133 {
1134 DISPATCH(Rectd)(x1, y1, x2, y2);
1135 }
1136
1137 void GLAPIENTRY glRectdv(const GLdouble *v1, const GLdouble *v2)
1138 {
1139 DISPATCH(Rectdv)(v1, v2);
1140 }
1141
1142 void GLAPIENTRY glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
1143 {
1144 DISPATCH(Rectf)(x1, y1, x2, y2);
1145 }
1146
1147 void GLAPIENTRY glRectfv(const GLfloat *v1, const GLfloat *v2)
1148 {
1149 DISPATCH(Rectfv)(v1, v2);
1150 }
1151
1152 void GLAPIENTRY glRecti(GLint x1, GLint y1, GLint x2, GLint y2)
1153 {
1154 DISPATCH(Recti)(x1, y1, x2, y2);
1155 }
1156
1157 void GLAPIENTRY glRectiv(const GLint *v1, const GLint *v2)
1158 {
1159 DISPATCH(Rectiv)(v1, v2);
1160 }
1161
1162 void GLAPIENTRY glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2)
1163 {
1164 DISPATCH(Rects)(x1, y1, x2, y2);
1165 }
1166
1167 void GLAPIENTRY glRectsv(const GLshort *v1, const GLshort *v2)
1168 {
1169 DISPATCH(Rectsv)(v1, v2);
1170 }
1171
1172 GLint GLAPIENTRY glRenderMode(GLenum mode)
1173 {
1174 return DISPATCH(RenderMode)(mode);
1175 }
1176
1177 void GLAPIENTRY glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
1178 {
1179 DISPATCH(Rotated)(angle, x, y, z);
1180 }
1181
1182 void GLAPIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
1183 {
1184 DISPATCH(Rotatef)(angle, x, y, z);
1185 }
1186
1187 void GLAPIENTRY glSelectBuffer(GLsizei size, GLuint *buffer)
1188 {
1189 DISPATCH(SelectBuffer)(size, buffer);
1190 }
1191
1192 void GLAPIENTRY glScaled(GLdouble x, GLdouble y, GLdouble z)
1193 {
1194 DISPATCH(Scaled)(x, y, z);
1195 }
1196
1197 void GLAPIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z)
1198 {
1199 DISPATCH(Scalef)(x, y, z);
1200 }
1201
1202 void GLAPIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
1203 {
1204 DISPATCH(Scissor)(x, y, width, height);
1205 }
1206
1207 void GLAPIENTRY glShadeModel(GLenum mode)
1208 {
1209 DISPATCH(ShadeModel)(mode);
1210 }
1211
1212 void GLAPIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask)
1213 {
1214 DISPATCH(StencilFunc)(func, ref, mask);
1215 }
1216
1217 void GLAPIENTRY glStencilMask(GLuint mask)
1218 {
1219 DISPATCH(StencilMask)(mask);
1220 }
1221
1222 void GLAPIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
1223 {
1224 DISPATCH(StencilOp)(fail, zfail, zpass);
1225 }
1226
1227 void GLAPIENTRY glTexCoord1d(GLdouble s)
1228 {
1229 DISPATCH(TexCoord1d)(s);
1230 }
1231
1232 void GLAPIENTRY glTexCoord1f(GLfloat s)
1233 {
1234 DISPATCH(TexCoord1f)(s);
1235 }
1236
1237 void GLAPIENTRY glTexCoord1i(GLint s)
1238 {
1239 DISPATCH(TexCoord1i)(s);
1240 }
1241
1242 void GLAPIENTRY glTexCoord1s(GLshort s)
1243 {
1244 DISPATCH(TexCoord1s)(s);
1245 }
1246
1247 void GLAPIENTRY glTexCoord2d(GLdouble s, GLdouble t)
1248 {
1249 DISPATCH(TexCoord2d)(s, t);
1250 }
1251
1252 void GLAPIENTRY glTexCoord2f(GLfloat s, GLfloat t)
1253 {
1254 DISPATCH(TexCoord2f)(s, t);
1255 }
1256
1257 void GLAPIENTRY glTexCoord2s(GLshort s, GLshort t)
1258 {
1259 DISPATCH(TexCoord2s)(s, t);
1260 }
1261
1262 void GLAPIENTRY glTexCoord2i(GLint s, GLint t)
1263 {
1264 DISPATCH(TexCoord2i)(s, t);
1265 }
1266
1267 void GLAPIENTRY glTexCoord3d(GLdouble s, GLdouble t, GLdouble r)
1268 {
1269 DISPATCH(TexCoord3d)(s, t, r);
1270 }
1271
1272 void GLAPIENTRY glTexCoord3f(GLfloat s, GLfloat t, GLfloat r)
1273 {
1274 DISPATCH(TexCoord3f)(s, t, r);
1275 }
1276
1277 void GLAPIENTRY glTexCoord3i(GLint s, GLint t, GLint r)
1278 {
1279 DISPATCH(TexCoord3i)(s, t, r);
1280 }
1281
1282 void GLAPIENTRY glTexCoord3s(GLshort s, GLshort t, GLshort r)
1283 {
1284 DISPATCH(TexCoord3s)(s, t, r);
1285 }
1286
1287 void GLAPIENTRY glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q)
1288 {
1289 DISPATCH(TexCoord4d)(s, t, r, q);
1290 }
1291
1292 void GLAPIENTRY glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q)
1293 {
1294 DISPATCH(TexCoord4f)(s, t, r, q);
1295 }
1296
1297 void GLAPIENTRY glTexCoord4i(GLint s, GLint t, GLint r, GLint q)
1298 {
1299 DISPATCH(TexCoord4i)(s, t, r, q);
1300 }
1301
1302 void GLAPIENTRY glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q)
1303 {
1304 DISPATCH(TexCoord4s)(s, t, r, q);
1305 }
1306
1307 void GLAPIENTRY glTexCoord1dv(const GLdouble *v)
1308 {
1309 DISPATCH(TexCoord1dv)(v);
1310 }
1311
1312 void GLAPIENTRY glTexCoord1fv(const GLfloat *v)
1313 {
1314 DISPATCH(TexCoord1fv)(v);
1315 }
1316
1317 void GLAPIENTRY glTexCoord1iv(const GLint *v)
1318 {
1319 DISPATCH(TexCoord1iv)(v);
1320 }
1321
1322 void GLAPIENTRY glTexCoord1sv(const GLshort *v)
1323 {
1324 DISPATCH(TexCoord1sv)(v);
1325 }
1326
1327 void GLAPIENTRY glTexCoord2dv(const GLdouble *v)
1328 {
1329 DISPATCH(TexCoord2dv)(v);
1330 }
1331
1332 void GLAPIENTRY glTexCoord2fv(const GLfloat *v)
1333 {
1334 DISPATCH(TexCoord2fv)(v);
1335 }
1336
1337 void GLAPIENTRY glTexCoord2iv(const GLint *v)
1338 {
1339 DISPATCH(TexCoord2iv)(v);
1340 }
1341
1342 void GLAPIENTRY glTexCoord2sv(const GLshort *v)
1343 {
1344 DISPATCH(TexCoord2sv)(v);
1345 }
1346
1347 void GLAPIENTRY glTexCoord3dv(const GLdouble *v)
1348 {
1349 DISPATCH(TexCoord3dv)(v);
1350 }
1351
1352 void GLAPIENTRY glTexCoord3fv(const GLfloat *v)
1353 {
1354 DISPATCH(TexCoord3fv)(v);
1355 }
1356
1357 void GLAPIENTRY glTexCoord3iv(const GLint *v)
1358 {
1359 DISPATCH(TexCoord3iv)(v);
1360 }
1361
1362 void GLAPIENTRY glTexCoord3sv(const GLshort *v)
1363 {
1364 DISPATCH(TexCoord3sv)(v);
1365 }
1366
1367 void GLAPIENTRY glTexCoord4dv(const GLdouble *v)
1368 {
1369 DISPATCH(TexCoord4dv)(v);
1370 }
1371
1372 void GLAPIENTRY glTexCoord4fv(const GLfloat *v)
1373 {
1374 DISPATCH(TexCoord4fv)(v);
1375 }
1376
1377 void GLAPIENTRY glTexCoord4iv(const GLint *v)
1378 {
1379 DISPATCH(TexCoord4iv)(v);
1380 }
1381
1382 void GLAPIENTRY glTexCoord4sv(const GLshort *v)
1383 {
1384 DISPATCH(TexCoord4sv)(v);
1385 }
1386
1387 void GLAPIENTRY glTexGend(GLenum coord, GLenum pname, GLdouble param)
1388 {
1389 DISPATCH(TexGend)(coord, pname, param);
1390 }
1391
1392 void GLAPIENTRY glTexGendv(GLenum coord, GLenum pname, const GLdouble *params)
1393 {
1394 DISPATCH(TexGendv)(coord, pname, params);
1395 }
1396
1397 void GLAPIENTRY glTexGenf(GLenum coord, GLenum pname, GLfloat param)
1398 {
1399 DISPATCH(TexGenf)(coord, pname, param);
1400 }
1401
1402 void GLAPIENTRY glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params)
1403 {
1404 DISPATCH(TexGenfv)(coord, pname, params);
1405 }
1406
1407 void GLAPIENTRY glTexGeni(GLenum coord, GLenum pname, GLint param)
1408 {
1409 DISPATCH(TexGeni)(coord, pname, param);
1410 }
1411
1412 void GLAPIENTRY glTexGeniv(GLenum coord, GLenum pname, const GLint *params)
1413 {
1414 DISPATCH(TexGeniv)(coord, pname, params);
1415 }
1416
1417 void GLAPIENTRY glTexEnvf(GLenum target, GLenum pname, GLfloat param)
1418 {
1419 DISPATCH(TexEnvf)(target, pname, param);
1420 }
1421
1422 void GLAPIENTRY glTexEnvfv(GLenum target, GLenum pname, const GLfloat *param)
1423 {
1424 DISPATCH(TexEnvfv)(target, pname, param);
1425 }
1426
1427 void GLAPIENTRY glTexEnvi(GLenum target, GLenum pname, GLint param)
1428 {
1429 DISPATCH(TexEnvi)(target, pname, param);
1430 }
1431
1432 void GLAPIENTRY glTexEnviv(GLenum target, GLenum pname, const GLint *param)
1433 {
1434 DISPATCH(TexEnviv)(target, pname, param);
1435 }
1436
1437 void GLAPIENTRY glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
1438 {
1439 DISPATCH(TexImage1D)(target, level, internalformat, width, border, format, type, pixels);
1440 }
1441
1442 void GLAPIENTRY glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
1443 {
1444 DISPATCH(TexImage2D)(target, level, internalformat, width, height, border, format, type, pixels);
1445 }
1446
1447 void GLAPIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param)
1448 {
1449 DISPATCH(TexParameterf)(target, pname, param);
1450 }
1451
1452 void GLAPIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
1453 {
1454 DISPATCH(TexParameterfv)(target, pname, params);
1455 }
1456
1457 void GLAPIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param)
1458 {
1459 DISPATCH(TexParameteri)(target, pname, param);
1460 }
1461
1462 void GLAPIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
1463 {
1464 DISPATCH(TexParameteriv)(target, pname, params);
1465 }
1466
1467 void GLAPIENTRY glTranslated(GLdouble x, GLdouble y, GLdouble z)
1468 {
1469 DISPATCH(Translated)(x, y, z);
1470 }
1471
1472 void GLAPIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z)
1473 {
1474 DISPATCH(Translatef)(x, y, z);
1475 }
1476
1477 void GLAPIENTRY glVertex2d(GLdouble x, GLdouble y)
1478 {
1479 DISPATCH(Vertex2d)(x, y);
1480 }
1481
1482 void GLAPIENTRY glVertex2dv(const GLdouble *v)
1483 {
1484 DISPATCH(Vertex2dv)(v);
1485 }
1486
1487 void GLAPIENTRY glVertex2f(GLfloat x, GLfloat y)
1488 {
1489 DISPATCH(Vertex2f)(x, y);
1490 }
1491
1492 void GLAPIENTRY glVertex2fv(const GLfloat *v)
1493 {
1494 DISPATCH(Vertex2fv)(v);
1495 }
1496
1497 void GLAPIENTRY glVertex2i(GLint x, GLint y)
1498 {
1499 DISPATCH(Vertex2i)(x, y);
1500 }
1501
1502 void GLAPIENTRY glVertex2iv(const GLint *v)
1503 {
1504 DISPATCH(Vertex2iv)(v);
1505 }
1506
1507 void GLAPIENTRY glVertex2s(GLshort x, GLshort y)
1508 {
1509 DISPATCH(Vertex2s)(x, y);
1510 }
1511
1512 void GLAPIENTRY glVertex2sv(const GLshort *v)
1513 {
1514 DISPATCH(Vertex2sv)(v);
1515 }
1516
1517 void GLAPIENTRY glVertex3d(GLdouble x, GLdouble y, GLdouble z)
1518 {
1519 DISPATCH(Vertex3d)(x, y, z);
1520 }
1521
1522 void GLAPIENTRY glVertex3dv(const GLdouble *v)
1523 {
1524 DISPATCH(Vertex3dv)(v);
1525 }
1526
1527 void GLAPIENTRY glVertex3f(GLfloat x, GLfloat y, GLfloat z)
1528 {
1529 DISPATCH(Vertex3f)(x, y, z);
1530 }
1531
1532 void GLAPIENTRY glVertex3fv(const GLfloat *v)
1533 {
1534 DISPATCH(Vertex3fv)(v);
1535 }
1536
1537 void GLAPIENTRY glVertex3i(GLint x, GLint y, GLint z)
1538 {
1539 DISPATCH(Vertex3i)(x, y, z);
1540 }
1541
1542 void GLAPIENTRY glVertex3iv(const GLint *v)
1543 {
1544 DISPATCH(Vertex3iv)(v);
1545 }
1546
1547 void GLAPIENTRY glVertex3s(GLshort x, GLshort y, GLshort z)
1548 {
1549 DISPATCH(Vertex3s)(x, y, z);
1550 }
1551
1552 void GLAPIENTRY glVertex3sv(const GLshort *v)
1553 {
1554 DISPATCH(Vertex3sv)(v);
1555 }
1556
1557 void GLAPIENTRY glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
1558 {
1559 DISPATCH(Vertex4d)(x, y, z, w);
1560 }
1561
1562 void GLAPIENTRY glVertex4dv(const GLdouble *v)
1563 {
1564 DISPATCH(Vertex4dv)(v);
1565 }
1566
1567 void GLAPIENTRY glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
1568 {
1569 DISPATCH(Vertex4f)(x, y, z, w);
1570 }
1571
1572 void GLAPIENTRY glVertex4fv(const GLfloat *v)
1573 {
1574 DISPATCH(Vertex4fv)(v);
1575 }
1576
1577 void GLAPIENTRY glVertex4i(GLint x, GLint y, GLint z, GLint w)
1578 {
1579 DISPATCH(Vertex4i)(x, y, z, w);
1580 }
1581
1582 void GLAPIENTRY glVertex4iv(const GLint *v)
1583 {
1584 DISPATCH(Vertex4iv)(v);
1585 }
1586
1587 void GLAPIENTRY glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w)
1588 {
1589 DISPATCH(Vertex4s)(x, y, z, w);
1590 }
1591
1592 void GLAPIENTRY glVertex4sv(const GLshort *v)
1593 {
1594 DISPATCH(Vertex4sv)(v);
1595 }
1596
1597 void GLAPIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
1598 {
1599 DISPATCH(Viewport)(x, y, width, height);
1600 }
1601
1602
1603
1604
1605 #ifdef _GLAPI_VERSION_1_1
1606
1607 GLboolean GLAPIENTRY glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences)
1608 {
1609 return DISPATCH(AreTexturesResident)(n, textures, residences);
1610 }
1611
1612 void GLAPIENTRY glArrayElement(GLint i)
1613 {
1614 DISPATCH(ArrayElement)(i);
1615 }
1616
1617 void GLAPIENTRY glBindTexture(GLenum target, GLuint texture)
1618 {
1619 DISPATCH(BindTexture)(target, texture);
1620 }
1621
1622 void GLAPIENTRY glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
1623 {
1624 DISPATCH(ColorPointer)(size, type, stride, ptr);
1625 }
1626
1627 void GLAPIENTRY glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
1628 {
1629 DISPATCH(CopyTexImage1D)(target, level, internalformat, x, y, width, border);
1630 }
1631
1632 void GLAPIENTRY glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
1633 {
1634 DISPATCH(CopyTexImage2D)(target, level, internalformat, x, y, width, height, border);
1635 }
1636
1637 void GLAPIENTRY glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
1638 {
1639 DISPATCH(CopyTexSubImage1D)(target, level, xoffset, x, y, width);
1640 }
1641
1642 void GLAPIENTRY glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
1643 {
1644 DISPATCH(CopyTexSubImage2D)(target, level, xoffset, yoffset, x, y, width, height);
1645 }
1646
1647 void GLAPIENTRY glDeleteTextures(GLsizei n, const GLuint *textures)
1648 {
1649 DISPATCH(DeleteTextures)(n, textures);
1650 }
1651
1652 void GLAPIENTRY glDisableClientState(GLenum cap)
1653 {
1654 DISPATCH(DisableClientState)(cap);
1655 }
1656
1657 void GLAPIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count)
1658 {
1659 DISPATCH(DrawArrays)(mode, first, count);
1660 }
1661
1662 void GLAPIENTRY glEdgeFlagPointer(GLsizei stride, const GLvoid *ptr)
1663 {
1664 DISPATCH(EdgeFlagPointer)(stride, ptr);
1665 }
1666
1667 void GLAPIENTRY glEnableClientState(GLenum cap)
1668 {
1669 DISPATCH(EnableClientState)(cap);
1670 }
1671
1672 void GLAPIENTRY glGenTextures(GLsizei n, GLuint *textures)
1673 {
1674 DISPATCH(GenTextures)(n, textures);
1675 }
1676
1677 void GLAPIENTRY glGetPointerv(GLenum pname, GLvoid **params)
1678 {
1679 DISPATCH(GetPointerv)(pname, params);
1680 }
1681
1682 void GLAPIENTRY glIndexPointer(GLenum type, GLsizei stride, const GLvoid *ptr)
1683 {
1684 DISPATCH(IndexPointer)(type, stride, ptr);
1685 }
1686
1687 void GLAPIENTRY glNormalPointer(GLenum type, GLsizei stride, const GLvoid *ptr)
1688 {
1689 DISPATCH(NormalPointer)(type, stride, ptr);
1690 }
1691
1692 void GLAPIENTRY glPolygonOffset(GLfloat factor, GLfloat units)
1693 {
1694 DISPATCH(PolygonOffset)(factor, units);
1695 }
1696
1697 void GLAPIENTRY glPopClientAttrib(void)
1698 {
1699 DISPATCH(PopClientAttrib)();
1700 }
1701
1702 void GLAPIENTRY glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLclampf *priorities)
1703 {
1704 DISPATCH(PrioritizeTextures)(n, textures, priorities);
1705 }
1706
1707 void GLAPIENTRY glPushClientAttrib(GLbitfield mask)
1708 {
1709 DISPATCH(PushClientAttrib)(mask);
1710 }
1711
1712 void GLAPIENTRY glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
1713 {
1714 DISPATCH(TexCoordPointer)(size, type, stride, ptr);
1715 }
1716
1717 void GLAPIENTRY glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
1718 {
1719 DISPATCH(TexSubImage1D)(target, level, xoffset, width, format, type, pixels);
1720 }
1721
1722 void GLAPIENTRY glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
1723 {
1724 DISPATCH(TexSubImage2D)(target, level, xoffset, yoffset, width, height, format, type, pixels);
1725 }
1726
1727 void GLAPIENTRY glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
1728 {
1729 DISPATCH(VertexPointer)(size, type, stride, ptr);
1730 }
1731
1732 #endif /*_GLAPI_VERSION_1_1*/
1733
1734
1735
1736 #ifdef _GLAPI_VERSION_1_2
1737
1738 void GLAPIENTRY glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
1739 {
1740 DISPATCH(CopyTexSubImage3D)(target, level, xoffset, yoffset, zoffset, x, y, width, height);
1741 }
1742
1743 void GLAPIENTRY glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
1744 {
1745 DISPATCH(DrawRangeElements)(mode, start, end, count, type, indices);
1746 }
1747
1748 void GLAPIENTRY glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
1749 {
1750 DISPATCH(TexImage3D)(target, level, internalformat, width, height, depth, border, format, type, pixels);
1751 }
1752
1753 void GLAPIENTRY glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels)
1754 {
1755 DISPATCH(TexSubImage3D)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
1756 }
1757
1758
1759 #ifdef _GLAPI_ARB_imaging
1760
1761 void GLAPIENTRY glBlendColor(GLclampf r, GLclampf g, GLclampf b, GLclampf a)
1762 {
1763 DISPATCH(BlendColor)(r, g, b, a);
1764 }
1765
1766 void GLAPIENTRY glBlendEquation(GLenum mode)
1767 {
1768 DISPATCH(BlendEquation)(mode);
1769 }
1770
1771 void GLAPIENTRY glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data)
1772 {
1773 DISPATCH(ColorSubTable)(target, start, count, format, type, data);
1774 }
1775
1776 void GLAPIENTRY glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table)
1777 {
1778 DISPATCH(ColorTable)(target, internalformat, width, format, type, table);
1779 }
1780
1781 void GLAPIENTRY glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params)
1782 {
1783 DISPATCH(ColorTableParameterfv)(target, pname, params);
1784 }
1785
1786 void GLAPIENTRY glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params)
1787 {
1788 DISPATCH(ColorTableParameteriv)(target, pname, params);
1789 }
1790
1791 void GLAPIENTRY glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image)
1792 {
1793 DISPATCH(ConvolutionFilter1D)(target, internalformat, width, format, type, image);
1794 }
1795
1796 void GLAPIENTRY glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image)
1797 {
1798 DISPATCH(ConvolutionFilter2D)(target, internalformat, width, height, format, type, image);
1799 }
1800
1801 void GLAPIENTRY glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params)
1802 {
1803 DISPATCH(ConvolutionParameterf)(target, pname, params);
1804 }
1805
1806 void GLAPIENTRY glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params)
1807 {
1808 DISPATCH(ConvolutionParameterfv)(target, pname, params);
1809 }
1810
1811 void GLAPIENTRY glConvolutionParameteri(GLenum target, GLenum pname, GLint params)
1812 {
1813 DISPATCH(ConvolutionParameteri)(target, pname, params);
1814 }
1815
1816 void GLAPIENTRY glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params)
1817 {
1818 DISPATCH(ConvolutionParameteriv)(target, pname, params);
1819 }
1820
1821 void GLAPIENTRY glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width)
1822 {
1823 DISPATCH(CopyColorSubTable)(target, start, x, y, width);
1824 }
1825
1826 void GLAPIENTRY glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width)
1827 {
1828 DISPATCH(CopyColorTable)(target, internalformat, x, y, width);
1829 }
1830
1831 void GLAPIENTRY glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width)
1832 {
1833 DISPATCH(CopyConvolutionFilter1D)(target, internalformat, x, y, width);
1834 }
1835
1836 void GLAPIENTRY glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height)
1837 {
1838 DISPATCH(CopyConvolutionFilter2D)(target, internalformat, x, y, width, height);
1839 }
1840
1841 void GLAPIENTRY glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table)
1842 {
1843 DISPATCH(GetColorTable)(target, format, type, table);
1844 }
1845
1846 void GLAPIENTRY glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params)
1847 {
1848 DISPATCH(GetColorTableParameterfv)(target, pname, params);
1849 }
1850
1851 void GLAPIENTRY glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params)
1852 {
1853 DISPATCH(GetColorTableParameteriv)(target, pname, params);
1854 }
1855
1856 void GLAPIENTRY glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image)
1857 {
1858 DISPATCH(GetConvolutionFilter)(target, format, type, image);
1859 }
1860
1861 void GLAPIENTRY glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params)
1862 {
1863 DISPATCH(GetConvolutionParameterfv)(target, pname, params);
1864 }
1865
1866 void GLAPIENTRY glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params)
1867 {
1868 DISPATCH(GetConvolutionParameteriv)(target, pname, params);
1869 }
1870
1871 void GLAPIENTRY glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values)
1872 {
1873 DISPATCH(GetHistogram)(target, reset, format, type, values);
1874 }
1875
1876 void GLAPIENTRY glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params)
1877 {
1878 DISPATCH(GetHistogramParameterfv)(target, pname, params);
1879 }
1880
1881 void GLAPIENTRY glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params)
1882 {
1883 DISPATCH(GetHistogramParameteriv)(target, pname, params);
1884 }
1885
1886 void GLAPIENTRY glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values)
1887 {
1888 DISPATCH(GetMinmax)(target, reset, format, types, values);
1889 }
1890
1891 void GLAPIENTRY glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params)
1892 {
1893 DISPATCH(GetMinmaxParameterfv)(target, pname, params);
1894 }
1895
1896 void GLAPIENTRY glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params)
1897 {
1898 DISPATCH(GetMinmaxParameteriv)(target, pname, params);
1899 }
1900
1901 void GLAPIENTRY glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span)
1902 {
1903 DISPATCH(GetSeparableFilter)(target, format, type, row, column, span);
1904 }
1905
1906 void GLAPIENTRY glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink)
1907 {
1908 DISPATCH(Histogram)(target, width, internalformat, sink);
1909 }
1910
1911 void GLAPIENTRY glMinmax(GLenum target, GLenum internalformat, GLboolean sink)
1912 {
1913 DISPATCH(Minmax)(target, internalformat, sink);
1914 }
1915
1916 void GLAPIENTRY glResetMinmax(GLenum target)
1917 {
1918 DISPATCH(ResetMinmax)(target);
1919 }
1920
1921 void GLAPIENTRY glResetHistogram(GLenum target)
1922 {
1923 DISPATCH(ResetHistogram)(target);
1924 }
1925
1926 void GLAPIENTRY glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column)
1927 {
1928 DISPATCH(SeparableFilter2D)(target, internalformat, width, height, format, type, row, column);
1929 }
1930
1931
1932 #endif /*_GLAPI_ARB_imaging*/
1933 #endif /*_GLAPI_VERSION_1_2*/
1934
1935
1936
1937 /***
1938 *** Extension functions
1939 ***/
1940
1941 #ifdef _GLAPI_EXT_blend_minmax
1942 void GLAPIENTRY glBlendEquationEXT(GLenum mode)
1943 {
1944 DISPATCH(BlendEquationEXT)(mode);
1945 }
1946 #endif
1947
1948
1949 #ifdef _GLAPI_EXT_blend_color
1950 void GLAPIENTRY glBlendColorEXT(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
1951 {
1952 DISPATCH(BlendColorEXT)(red, green, blue, alpha);
1953 }
1954 #endif
1955
1956
1957 #ifdef _GLAPI_EXT_polygon_offset
1958 void GLAPIENTRY glPolygonOffsetEXT(GLfloat factor, GLfloat bias)
1959 {
1960 DISPATCH(PolygonOffsetEXT)(factor, bias);
1961 }
1962 #endif
1963
1964
1965
1966 #ifdef _GLAPI_EXT_vertex_array
1967
1968 void GLAPIENTRY glVertexPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr)
1969 {
1970 (void) count;
1971 DISPATCH(VertexPointer)(size, type, stride, ptr);
1972 }
1973
1974 void GLAPIENTRY glNormalPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr)
1975 {
1976 (void) count;
1977 DISPATCH(NormalPointer)(type, stride, ptr);
1978 }
1979
1980 void GLAPIENTRY glColorPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr)
1981 {
1982 (void) count;
1983 DISPATCH(ColorPointer)(size, type, stride, ptr);
1984 }
1985
1986 void GLAPIENTRY glIndexPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr)
1987 {
1988 (void) count;
1989 DISPATCH(IndexPointer)(type, stride, ptr);
1990 }
1991
1992 void GLAPIENTRY glTexCoordPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr)
1993 {
1994 (void) count;
1995 DISPATCH(ColorPointer)(size, type, stride, ptr);
1996 }
1997
1998 void GLAPIENTRY glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, const GLboolean *ptr)
1999 {
2000 (void) count;
2001 DISPATCH(EdgeFlagPointer)(stride, ptr);
2002 }
2003
2004 void GLAPIENTRY glGetPointervEXT(GLenum pname, void **params)
2005 {
2006 DISPATCH(GetPointerv)(pname, params);
2007 }
2008
2009 void GLAPIENTRY glArrayElementEXT(GLint i)
2010 {
2011 DISPATCH(ArrayElement)(i);
2012 }
2013
2014 void GLAPIENTRY glDrawArraysEXT(GLenum mode, GLint first, GLsizei count)
2015 {
2016 DISPATCH(DrawArrays)(mode, first, count);
2017 }
2018
2019 #endif /* GL_EXT_vertex_arrays */
2020
2021
2022
2023 #ifdef _GLAPI_EXT_texture_object
2024
2025 void GLAPIENTRY glGenTexturesEXT(GLsizei n, GLuint *textures)
2026 {
2027 DISPATCH(GenTextures)(n, textures);
2028 }
2029
2030 void GLAPIENTRY glDeleteTexturesEXT(GLsizei n, const GLuint *texture)
2031 {
2032 DISPATCH(DeleteTextures)(n, texture);
2033 }
2034
2035 void GLAPIENTRY glBindTextureEXT(GLenum target, GLuint texture)
2036 {
2037 DISPATCH(BindTexture)(target, texture);
2038 }
2039
2040 void GLAPIENTRY glPrioritizeTexturesEXT(GLsizei n, const GLuint *textures, const GLclampf *priorities)
2041 {
2042 DISPATCH(PrioritizeTextures)(n, textures, priorities);
2043 }
2044
2045 GLboolean GLAPIENTRY glAreTexturesResidentEXT(GLsizei n, const GLuint *textures, GLboolean *residences)
2046 {
2047 DISPATCH(AreTexturesResident)(n, textures, residences);
2048 return GL_FALSE;
2049 }
2050
2051 GLboolean GLAPIENTRY glIsTextureEXT(GLuint texture)
2052 {
2053 DISPATCH(IsTexture)(texture);
2054 return GL_FALSE;
2055 }
2056 #endif /* GL_EXT_texture_object */
2057
2058
2059
2060 #ifdef _GLAPI_EXT_texture3D
2061
2062 void GLAPIENTRY glTexImage3DEXT(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
2063 {
2064 DISPATCH(TexImage3D)(target, level, internalFormat, width, height, depth, border, format, type, pixels);
2065 }
2066
2067 void GLAPIENTRY glTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels)
2068 {
2069 DISPATCH(TexSubImage3D)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
2070 }
2071
2072 void GLAPIENTRY glCopyTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
2073 {
2074 DISPATCH(CopyTexSubImage3D)(target, level, xoffset, yoffset, zoffset, x, y, width, height);
2075 }
2076
2077 #endif /* GL_EXT_texture3D*/
2078
2079
2080
2081 #ifdef _GLAPI_EXT_paletted_texture
2082
2083 void GLAPIENTRY glColorTableEXT(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table)
2084 {
2085 DISPATCH(ColorTableEXT)(target, internalformat, width, format, type, table);
2086 }
2087
2088 void GLAPIENTRY glColorSubTableEXT(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data)
2089 {
2090 DISPATCH(ColorSubTableEXT)(target, start, count, format, type, data);
2091 }
2092
2093 void GLAPIENTRY glGetColorTableEXT(GLenum target, GLenum format, GLenum type, GLvoid *table)
2094 {
2095 DISPATCH(GetColorTableEXT)(target, format, type, table);
2096 }
2097
2098 void GLAPIENTRY glGetColorTableParameterfvEXT(GLenum target, GLenum pname, GLfloat *params)
2099 {
2100 DISPATCH(GetColorTableParameterfvEXT)(target, pname, params);
2101 }
2102
2103 void GLAPIENTRY glGetColorTableParameterivEXT(GLenum target, GLenum pname, GLint *params)
2104 {
2105 DISPATCH(GetColorTableParameterivEXT)(target, pname, params);
2106 }
2107
2108 #endif /* GL_EXT_paletted_texture */
2109
2110
2111
2112 #ifdef _GLAPI_EXT_compiled_vertex_array
2113
2114 void GLAPIENTRY glLockArraysEXT(GLint first, GLsizei count)
2115 {
2116 DISPATCH(LockArraysEXT)(first, count);
2117 }
2118
2119 void GLAPIENTRY glUnlockArraysEXT(void)
2120 {
2121 DISPATCH(UnlockArraysEXT)();
2122 }
2123
2124 #endif /* GL_EXT_compiled_vertex_array */
2125
2126
2127
2128 #ifdef _GLAPI_EXT_point_parameters
2129
2130 void GLAPIENTRY glPointParameterfEXT(GLenum target, GLfloat param)
2131 {
2132 DISPATCH(PointParameterfEXT)(target, param);
2133 }
2134
2135 void GLAPIENTRY glPointParameterfvEXT(GLenum target, const GLfloat *param)
2136 {
2137 DISPATCH(PointParameterfvEXT)(target, param);
2138 }
2139
2140 #endif /* GL_EXT_point_parameters */
2141
2142
2143
2144 #ifdef _GLAPI_ARB_multitexture
2145
2146 void GLAPIENTRY glActiveTextureARB(GLenum texture)
2147 {
2148 DISPATCH(ActiveTextureARB)(texture);
2149 }
2150
2151 void GLAPIENTRY glClientActiveTextureARB(GLenum texture)
2152 {
2153 DISPATCH(ClientActiveTextureARB)(texture);
2154 }
2155
2156 void GLAPIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s)
2157 {
2158 DISPATCH(MultiTexCoord1dARB)(target, s);
2159 }
2160
2161 void GLAPIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v)
2162 {
2163 DISPATCH(MultiTexCoord1dvARB)(target, v);
2164 }
2165
2166 void GLAPIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s)
2167 {
2168 DISPATCH(MultiTexCoord1fARB)(target, s);
2169 }
2170
2171 void GLAPIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v)
2172 {
2173 DISPATCH(MultiTexCoord1fvARB)(target, v);
2174 }
2175
2176 void GLAPIENTRY glMultiTexCoord1iARB(GLenum target, GLint s)
2177 {
2178 DISPATCH(MultiTexCoord1iARB)(target, s);
2179 }
2180
2181 void GLAPIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v)
2182 {
2183 DISPATCH(MultiTexCoord1ivARB)(target, v);
2184 }
2185
2186 void GLAPIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s)
2187 {
2188 DISPATCH(MultiTexCoord1sARB)(target, s);
2189 }
2190
2191 void GLAPIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v)
2192 {
2193 DISPATCH(MultiTexCoord1svARB)(target, v);
2194 }
2195
2196 void GLAPIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t)
2197 {
2198 DISPATCH(MultiTexCoord2dARB)(target, s, t);
2199 }
2200
2201 void GLAPIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v)
2202 {
2203 DISPATCH(MultiTexCoord2dvARB)(target, v);
2204 }
2205
2206 void GLAPIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t)
2207 {
2208 DISPATCH(MultiTexCoord2fARB)(target, s, t);
2209 }
2210
2211 void GLAPIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v)
2212 {
2213 DISPATCH(MultiTexCoord2fvARB)(target, v);
2214 }
2215
2216 void GLAPIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t)
2217 {
2218 DISPATCH(MultiTexCoord2iARB)(target, s, t);
2219 }
2220
2221 void GLAPIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v)
2222 {
2223 DISPATCH(MultiTexCoord2ivARB)(target, v);
2224 }
2225
2226 void GLAPIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t)
2227 {
2228 DISPATCH(MultiTexCoord2sARB)(target, s, t);
2229 }
2230
2231 void GLAPIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v)
2232 {
2233 DISPATCH(MultiTexCoord2svARB)(target, v);
2234 }
2235
2236 void GLAPIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r)
2237 {
2238 DISPATCH(MultiTexCoord3dARB)(target, s, t, r);
2239 }
2240
2241 void GLAPIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v)
2242 {
2243 DISPATCH(MultiTexCoord3dvARB)(target, v);
2244 }
2245
2246 void GLAPIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r)
2247 {
2248 DISPATCH(MultiTexCoord3fARB)(target, s, t, r);
2249 }
2250
2251 void GLAPIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v)
2252 {
2253 DISPATCH(MultiTexCoord3fvARB)(target, v);
2254 }
2255
2256 void GLAPIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r)
2257 {
2258 DISPATCH(MultiTexCoord3iARB)(target, s, t, r);
2259 }
2260
2261 void GLAPIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v)
2262 {
2263 DISPATCH(MultiTexCoord3ivARB)(target, v);
2264 }
2265
2266 void GLAPIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r)
2267 {
2268 DISPATCH(MultiTexCoord3sARB)(target, s, t, r);
2269 }
2270
2271 void GLAPIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v)
2272 {
2273 DISPATCH(MultiTexCoord3svARB)(target, v);
2274 }
2275
2276 void GLAPIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q)
2277 {
2278 DISPATCH(MultiTexCoord4dARB)(target, s, t, r, q);
2279 }
2280
2281 void GLAPIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v)
2282 {
2283 DISPATCH(MultiTexCoord4dvARB)(target, v);
2284 }
2285
2286 void GLAPIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
2287 {
2288 DISPATCH(MultiTexCoord4fARB)(target, s, t, r, q);
2289 }
2290
2291 void GLAPIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v)
2292 {
2293 DISPATCH(MultiTexCoord4fvARB)(target, v);
2294 }
2295
2296 void GLAPIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q)
2297 {
2298 DISPATCH(MultiTexCoord4iARB)(target, s, t, r, q);
2299 }
2300
2301 void GLAPIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v)
2302 {
2303 DISPATCH(MultiTexCoord4ivARB)(target, v);
2304 }
2305
2306 void GLAPIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q)
2307 {
2308 DISPATCH(MultiTexCoord4sARB)(target, s, t, r, q);
2309 }
2310
2311 void GLAPIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v)
2312 {
2313 DISPATCH(MultiTexCoord4svARB)(target, v);
2314 }
2315
2316 #endif /* GL_ARB_multitexture */
2317
2318
2319
2320 #ifdef _GLAPI_INGR_blend_func_separate
2321 void GLAPIENTRY glBlendFuncSeparateINGR(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
2322 {
2323 DISPATCH(BlendFuncSeparateINGR)(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
2324 }
2325 #endif /* GL_INGR_blend_func_separate */
2326
2327
2328
2329 #ifdef _GLAPI_MESA_window_pos
2330
2331 void GLAPIENTRY glWindowPos2iMESA(GLint x, GLint y)
2332 {
2333 DISPATCH(WindowPos4fMESA)(x, y, 0, 1);
2334 }
2335
2336 void GLAPIENTRY glWindowPos2sMESA(GLshort x, GLshort y)
2337 {
2338 DISPATCH(WindowPos4fMESA)(x, y, 0, 1);
2339 }
2340
2341 void GLAPIENTRY glWindowPos2fMESA(GLfloat x, GLfloat y)
2342 {
2343 DISPATCH(WindowPos4fMESA)(x, y, 0, 1);
2344 }
2345
2346 void GLAPIENTRY glWindowPos2dMESA(GLdouble x, GLdouble y)
2347 {
2348 DISPATCH(WindowPos4fMESA)(x, y, 0, 1);
2349 }
2350
2351 void GLAPIENTRY glWindowPos2ivMESA(const GLint *p)
2352 {
2353 DISPATCH(WindowPos4fMESA)(p[0], p[1], 0, 1);
2354 }
2355
2356 void GLAPIENTRY glWindowPos2svMESA(const GLshort *p)
2357 {
2358 DISPATCH(WindowPos4fMESA)(p[0], p[1], 0, 1);
2359 }
2360
2361 void GLAPIENTRY glWindowPos2fvMESA(const GLfloat *p)
2362 {
2363 DISPATCH(WindowPos4fMESA)(p[0], p[1], 0, 1);
2364 }
2365
2366 void GLAPIENTRY glWindowPos2dvMESA(const GLdouble *p)
2367 {
2368 DISPATCH(WindowPos4fMESA)(p[0], p[1], 0, 1);
2369 }
2370
2371 void GLAPIENTRY glWindowPos3iMESA(GLint x, GLint y, GLint z)
2372 {
2373 DISPATCH(WindowPos4fMESA)(x, y, z, 1);
2374 }
2375
2376 void GLAPIENTRY glWindowPos3sMESA(GLshort x, GLshort y, GLshort z)
2377 {
2378 DISPATCH(WindowPos4fMESA)(x, y, z, 1);
2379 }
2380
2381 void GLAPIENTRY glWindowPos3fMESA(GLfloat x, GLfloat y, GLfloat z)
2382 {
2383 DISPATCH(WindowPos4fMESA)(x, y, z, 1);
2384 }
2385
2386 void GLAPIENTRY glWindowPos3dMESA(GLdouble x, GLdouble y, GLdouble z)
2387 {
2388 DISPATCH(WindowPos4fMESA)(x, y, z, 1);
2389 }
2390
2391 void GLAPIENTRY glWindowPos3ivMESA(const GLint *p)
2392 {
2393 DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], 1.0);
2394 }
2395
2396 void GLAPIENTRY glWindowPos3svMESA(const GLshort *p)
2397 {
2398 DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], 1.0);
2399 }
2400
2401 void GLAPIENTRY glWindowPos3fvMESA(const GLfloat *p)
2402 {
2403 DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], 1.0);
2404 }
2405
2406 void GLAPIENTRY glWindowPos3dvMESA(const GLdouble *p)
2407 {
2408 DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], 1.0);
2409 }
2410
2411 void GLAPIENTRY glWindowPos4iMESA(GLint x, GLint y, GLint z, GLint w)
2412 {
2413 DISPATCH(WindowPos4fMESA)(x, y, z, w);
2414 }
2415
2416 void GLAPIENTRY glWindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w)
2417 {
2418 DISPATCH(WindowPos4fMESA)(x, y, z, w);
2419 }
2420
2421 void GLAPIENTRY glWindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
2422 {
2423 DISPATCH(WindowPos4fMESA)(x, y, z, w);
2424 }
2425
2426 void GLAPIENTRY glWindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
2427 {
2428 DISPATCH(WindowPos4fMESA)(x, y, z, w);
2429 }
2430
2431 void GLAPIENTRY glWindowPos4ivMESA(const GLint *p)
2432 {
2433 DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], p[3]);
2434 }
2435
2436 void GLAPIENTRY glWindowPos4svMESA(const GLshort *p)
2437 {
2438 DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], p[3]);
2439 }
2440
2441 void GLAPIENTRY glWindowPos4fvMESA(const GLfloat *p)
2442 {
2443 DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], p[3]);
2444 }
2445
2446 void GLAPIENTRY glWindowPos4dvMESA(const GLdouble *p)
2447 {
2448 DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], p[3]);
2449 }
2450
2451 #endif /* GL_MESA_window_pos */
2452
2453
2454
2455 #ifdef _GLAPI_MESA_resize_buffers
2456 void GLAPIENTRY glResizeBuffersMESA(void)
2457 {
2458 DISPATCH(ResizeBuffersMESA)();
2459 }
2460 #endif /* GL_MESA_resize_buffers */
2461
2462
2463 #ifdef DEBUG
2464 /*
2465 * This struct is just used to be sure we've defined all the API functions.
2466 */
2467 static struct _glapi_table completeness_test = {
2468 glAccum,
2469 glAlphaFunc,
2470 glBegin,
2471 glBitmap,
2472 glBlendFunc,
2473 glCallList,
2474 glCallLists,
2475 glClear,
2476 glClearAccum,
2477 glClearColor,
2478 glClearDepth,
2479 glClearIndex,
2480 glClearStencil,
2481 glClipPlane,
2482 glColor3b,
2483 glColor3bv,
2484 glColor3d,
2485 glColor3dv,
2486 glColor3f,
2487 glColor3fv,
2488 glColor3i,
2489 glColor3iv,
2490 glColor3s,
2491 glColor3sv,
2492 glColor3ub,
2493 glColor3ubv,
2494 glColor3ui,
2495 glColor3uiv,
2496 glColor3us,
2497 glColor3usv,
2498 glColor4b,
2499 glColor4bv,
2500 glColor4d,
2501 glColor4dv,
2502 glColor4f,
2503 glColor4fv,
2504 glColor4i,
2505 glColor4iv,
2506 glColor4s,
2507 glColor4sv,
2508 glColor4ub,
2509 glColor4ubv,
2510 glColor4ui,
2511 glColor4uiv,
2512 glColor4us,
2513 glColor4usv,
2514 glColorMask,
2515 glColorMaterial,
2516 glCopyPixels,
2517 glCullFace,
2518 glDeleteLists,
2519 glDepthFunc,
2520 glDepthMask,
2521 glDepthRange,
2522 glDisable,
2523 glDrawBuffer,
2524 glDrawPixels,
2525 glEdgeFlag,
2526 glEdgeFlagv,
2527 glEnable,
2528 glEnd,
2529 glEndList,
2530 glEvalCoord1d,
2531 glEvalCoord1dv,
2532 glEvalCoord1f,
2533 glEvalCoord1fv,
2534 glEvalCoord2d,
2535 glEvalCoord2dv,
2536 glEvalCoord2f,
2537 glEvalCoord2fv,
2538 glEvalMesh1,
2539 glEvalMesh2,
2540 glEvalPoint1,
2541 glEvalPoint2,
2542 glFeedbackBuffer,
2543 glFinish,
2544 glFlush,
2545 glFogf,
2546 glFogfv,
2547 glFogi,
2548 glFogiv,
2549 glFrontFace,
2550 glFrustum,
2551 glGenLists,
2552 glGetBooleanv,
2553 glGetClipPlane,
2554 glGetDoublev,
2555 glGetError,
2556 glGetFloatv,
2557 glGetIntegerv,
2558 glGetLightfv,
2559 glGetLightiv,
2560 glGetMapdv,
2561 glGetMapfv,
2562 glGetMapiv,
2563 glGetMaterialfv,
2564 glGetMaterialiv,
2565 glGetPixelMapfv,
2566 glGetPixelMapuiv,
2567 glGetPixelMapusv,
2568 glGetPolygonStipple,
2569 glGetString,
2570 glGetTexEnvfv,
2571 glGetTexEnviv,
2572 glGetTexGendv,
2573 glGetTexGenfv,
2574 glGetTexGeniv,
2575 glGetTexImage,
2576 glGetTexLevelParameterfv,
2577 glGetTexLevelParameteriv,
2578 glGetTexParameterfv,
2579 glGetTexParameteriv,
2580 glHint,
2581 glIndexMask,
2582 glIndexd,
2583 glIndexdv,
2584 glIndexf,
2585 glIndexfv,
2586 glIndexi,
2587 glIndexiv,
2588 glIndexs,
2589 glIndexsv,
2590 glInitNames,
2591 glIsEnabled,
2592 glIsList,
2593 glLightModelf,
2594 glLightModelfv,
2595 glLightModeli,
2596 glLightModeliv,
2597 glLightf,
2598 glLightfv,
2599 glLighti,
2600 glLightiv,
2601 glLineStipple,
2602 glLineWidth,
2603 glListBase,
2604 glLoadIdentity,
2605 glLoadMatrixd,
2606 glLoadMatrixf,
2607 glLoadName,
2608 glLogicOp,
2609 glMap1d,
2610 glMap1f,
2611 glMap2d,
2612 glMap2f,
2613 glMapGrid1d,
2614 glMapGrid1f,
2615 glMapGrid2d,
2616 glMapGrid2f,
2617 glMaterialf,
2618 glMaterialfv,
2619 glMateriali,
2620 glMaterialiv,
2621 glMatrixMode,
2622 glMultMatrixd,
2623 glMultMatrixf,
2624 glNewList,
2625 glNormal3b,
2626 glNormal3bv,
2627 glNormal3d,
2628 glNormal3dv,
2629 glNormal3f,
2630 glNormal3fv,
2631 glNormal3i,
2632 glNormal3iv,
2633 glNormal3s,
2634 glNormal3sv,
2635 glOrtho,
2636 glPassThrough,
2637 glPixelMapfv,
2638 glPixelMapuiv,
2639 glPixelMapusv,
2640 glPixelStoref,
2641 glPixelStorei,
2642 glPixelTransferf,
2643 glPixelTransferi,
2644 glPixelZoom,
2645 glPointSize,
2646 glPolygonMode,
2647 glPolygonOffset,
2648 glPolygonStipple,
2649 glPopAttrib,
2650 glPopMatrix,
2651 glPopName,
2652 glPushAttrib,
2653 glPushMatrix,
2654 glPushName,
2655 glRasterPos2d,
2656 glRasterPos2dv,
2657 glRasterPos2f,
2658 glRasterPos2fv,
2659 glRasterPos2i,
2660 glRasterPos2iv,
2661 glRasterPos2s,
2662 glRasterPos2sv,
2663 glRasterPos3d,
2664 glRasterPos3dv,
2665 glRasterPos3f,
2666 glRasterPos3fv,
2667 glRasterPos3i,
2668 glRasterPos3iv,
2669 glRasterPos3s,
2670 glRasterPos3sv,
2671 glRasterPos4d,
2672 glRasterPos4dv,
2673 glRasterPos4f,
2674 glRasterPos4fv,
2675 glRasterPos4i,
2676 glRasterPos4iv,
2677 glRasterPos4s,
2678 glRasterPos4sv,
2679 glReadBuffer,
2680 glReadPixels,
2681 glRectd,
2682 glRectdv,
2683 glRectf,
2684 glRectfv,
2685 glRecti,
2686 glRectiv,
2687 glRects,
2688 glRectsv,
2689 glRenderMode,
2690 glRotated,
2691 glRotatef,
2692 glScaled,
2693 glScalef,
2694 glScissor,
2695 glSelectBuffer,
2696 glShadeModel,
2697 glStencilFunc,
2698 glStencilMask,
2699 glStencilOp,
2700 glTexCoord1d,
2701 glTexCoord1dv,
2702 glTexCoord1f,
2703 glTexCoord1fv,
2704 glTexCoord1i,
2705 glTexCoord1iv,
2706 glTexCoord1s,
2707 glTexCoord1sv,
2708 glTexCoord2d,
2709 glTexCoord2dv,
2710 glTexCoord2f,
2711 glTexCoord2fv,
2712 glTexCoord2i,
2713 glTexCoord2iv,
2714 glTexCoord2s,
2715 glTexCoord2sv,
2716 glTexCoord3d,
2717 glTexCoord3dv,
2718 glTexCoord3f,
2719 glTexCoord3fv,
2720 glTexCoord3i,
2721 glTexCoord3iv,
2722 glTexCoord3s,
2723 glTexCoord3sv,
2724 glTexCoord4d,
2725 glTexCoord4dv,
2726 glTexCoord4f,
2727 glTexCoord4fv,
2728 glTexCoord4i,
2729 glTexCoord4iv,
2730 glTexCoord4s,
2731 glTexCoord4sv,
2732 glTexEnvf,
2733 glTexEnvfv,
2734 glTexEnvi,
2735 glTexEnviv,
2736 glTexGend,
2737 glTexGendv,
2738 glTexGenf,
2739 glTexGenfv,
2740 glTexGeni,
2741 glTexGeniv,
2742 glTexImage1D,
2743 glTexImage2D,
2744 glTexParameterf,
2745 glTexParameterfv,
2746 glTexParameteri,
2747 glTexParameteriv,
2748 glTranslated,
2749 glTranslatef,
2750 glVertex2d,
2751 glVertex2dv,
2752 glVertex2f,
2753 glVertex2fv,
2754 glVertex2i,
2755 glVertex2iv,
2756 glVertex2s,
2757 glVertex2sv,
2758 glVertex3d,
2759 glVertex3dv,
2760 glVertex3f,
2761 glVertex3fv,
2762 glVertex3i,
2763 glVertex3iv,
2764 glVertex3s,
2765 glVertex3sv,
2766 glVertex4d,
2767 glVertex4dv,
2768 glVertex4f,
2769 glVertex4fv,
2770 glVertex4i,
2771 glVertex4iv,
2772 glVertex4s,
2773 glVertex4sv,
2774 glViewport,
2775
2776 #ifdef _GLAPI_VERSION_1_1
2777 glAreTexturesResident,
2778 glArrayElement,
2779 glBindTexture,
2780 glColorPointer,
2781 glCopyTexImage1D,
2782 glCopyTexImage2D,
2783 glCopyTexSubImage1D,
2784 glCopyTexSubImage2D,
2785 glDeleteTextures,
2786 glDisableClientState,
2787 glDrawArrays,
2788 glDrawElements,
2789 glEdgeFlagPointer,
2790 glEnableClientState,
2791 glGenTextures,
2792 glGetPointerv,
2793 glIndexPointer,
2794 glIndexub,
2795 glIndexubv,
2796 glInterleavedArrays,
2797 glIsTexture,
2798 glNormalPointer,
2799 glPopClientAttrib,
2800 glPrioritizeTextures,
2801 glPushClientAttrib,
2802 glTexCoordPointer,
2803 glTexSubImage1D,
2804 glTexSubImage2D,
2805 glVertexPointer,
2806 #endif
2807
2808 #ifdef _GLAPI_VERSION_1_2
2809 glCopyTexSubImage3D,
2810 glDrawRangeElements,
2811 glTexImage3D,
2812 glTexSubImage3D,
2813
2814 #ifdef _GLAPI_ARB_imaging
2815 glBlendColor,
2816 glBlendEquation,
2817 glColorSubTable,
2818 glColorTable,
2819 glColorTableParameterfv,
2820 glColorTableParameteriv,
2821 glConvolutionFilter1D,
2822 glConvolutionFilter2D,
2823 glConvolutionParameterf,
2824 glConvolutionParameterfv,
2825 glConvolutionParameteri,
2826 glConvolutionParameteriv,
2827 glCopyColorSubTable,
2828 glCopyColorTable,
2829 glCopyConvolutionFilter1D,
2830 glCopyConvolutionFilter2D,
2831 glGetColorTable,
2832 glGetColorTableParameterfv,
2833 glGetColorTableParameteriv,
2834 glGetConvolutionFilter,
2835 glGetConvolutionParameterfv,
2836 glGetConvolutionParameteriv,
2837 glGetHistogram,
2838 glGetHistogramParameterfv,
2839 glGetHistogramParameteriv,
2840 glGetMinmax,
2841 glGetMinmaxParameterfv,
2842 glGetMinmaxParameteriv,
2843 glGetSeparableFilter,
2844 glHistogram,
2845 glMinmax,
2846 glResetHistogram,
2847 glResetMinmax,
2848 glSeparableFilter2D,
2849 #endif
2850 #endif
2851
2852
2853 /*
2854 * Extensions
2855 */
2856
2857 #ifdef _GLAPI_EXT_paletted_texture
2858 glColorTableEXT,
2859 glColorSubTableEXT,
2860 glGetColorTableEXT,
2861 glGetColorTableParameterfvEXT,
2862 glGetColorTableParameterivEXT,
2863 #endif
2864
2865 #ifdef _GLAPI_EXT_compiled_vertex_array
2866 glLockArraysEXT,
2867 glUnlockArraysEXT,
2868 #endif
2869
2870 #ifdef _GLAPI_EXT_point_parameters
2871 glPointParameterfEXT,
2872 glPointParameterfvEXT,
2873 #endif
2874
2875 #ifdef _GLAPI_EXT_polygon_offset
2876 glPolygonOffsetEXT,
2877 #endif
2878
2879 #ifdef _GLAPI_EXT_blend_minmax
2880 glBlendEquationEXT,
2881 #endif
2882
2883 #ifdef _GLAPI_EXT_blend_color
2884 glBlendColorEXT,
2885 #endif
2886
2887 #ifdef _GLAPI_ARB_multitexture
2888 glActiveTextureARB,
2889 glClientActiveTextureARB,
2890 glMultiTexCoord1dARB,
2891 glMultiTexCoord1dvARB,
2892 glMultiTexCoord1fARB,
2893 glMultiTexCoord1fvARB,
2894 glMultiTexCoord1iARB,
2895 glMultiTexCoord1ivARB,
2896 glMultiTexCoord1sARB,
2897 glMultiTexCoord1svARB,
2898 glMultiTexCoord2dARB,
2899 glMultiTexCoord2dvARB,
2900 glMultiTexCoord2fARB,
2901 glMultiTexCoord2fvARB,
2902 glMultiTexCoord2iARB,
2903 glMultiTexCoord2ivARB,
2904 glMultiTexCoord2sARB,
2905 glMultiTexCoord2svARB,
2906 glMultiTexCoord3dARB,
2907 glMultiTexCoord3dvARB,
2908 glMultiTexCoord3fARB,
2909 glMultiTexCoord3fvARB,
2910 glMultiTexCoord3iARB,
2911 glMultiTexCoord3ivARB,
2912 glMultiTexCoord3sARB,
2913 glMultiTexCoord3svARB,
2914 glMultiTexCoord4dARB,
2915 glMultiTexCoord4dvARB,
2916 glMultiTexCoord4fARB,
2917 glMultiTexCoord4fvARB,
2918 glMultiTexCoord4iARB,
2919 glMultiTexCoord4ivARB,
2920 glMultiTexCoord4sARB,
2921 glMultiTexCoord4svARB,
2922 #endif
2923
2924 #ifdef _GLAPI_INGR_blend_func_separate
2925 glBlendFuncSeparateINGR,
2926 #endif
2927
2928 #ifdef _GLAPI_MESA_window_pos
2929 glWindowPos4fMESA,
2930 #endif
2931
2932 #ifdef _GLAPI_MESA_resize_buffers
2933 glResizeBuffersMESA
2934 #endif
2935
2936 };
2937
2938 #endif /*DEBUG*/
2939
2940
2941
2942
2943 /*
2944 * Set the global or per-thread dispatch table pointer.
2945 */
2946 void
2947 _glapi_set_dispatch(struct _glapi_table *dispatch)
2948 {
2949 #ifdef DEBUG
2950 (void) completeness_test; /* to silence compiler warnings */
2951 #endif
2952
2953 if (dispatch) {
2954 #ifdef DEBUG
2955 _glapi_check_table(dispatch);
2956 #endif
2957 #if defined(MULTI_THREAD)
2958 /* set this thread's dispatch pointer */
2959 /* XXX To Do */
2960 #else
2961 Dispatch = dispatch;
2962 #endif
2963 }
2964 else {
2965 /* no current context, each function is a no-op */
2966 #if defined(MULTI_THREAD)
2967 /* XXX To Do */
2968 #else
2969 Dispatch = &__glapi_noop_table;
2970 #endif
2971 }
2972 }
2973
2974
2975 /*
2976 * Get the global or per-thread dispatch table pointer.
2977 */
2978 struct _glapi_table *
2979 _glapi_get_dispatch(void)
2980 {
2981 #if defined(MULTI_THREAD)
2982 /* return this thread's dispatch pointer */
2983 return NULL;
2984 #else
2985 return Dispatch;
2986 #endif
2987 }
2988
2989
2990 /*
2991 * Get API dispatcher version string.
2992 */
2993 const char *
2994 _glapi_get_version(void)
2995 {
2996 return "1.2"; /* XXX this isn't well defined yet */
2997 }
2998
2999
3000 /*
3001 * Return list of hard-coded extension entrypoints in the dispatch table.
3002 */
3003 const char *
3004 _glapi_get_extensions(void)
3005 {
3006 return "GL_EXT_paletted_texture GL_EXT_compiled_vertex_array GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_blend_minmax GL_EXT_blend_color GL_ARB_multitexture GL_INGR_blend_func_separate GL_MESA_window_pos GL_MESA_resize_buffers";
3007 }
3008
3009
3010
3011 /*
3012 * Dynamically allocate an extension entry point. Return a slot number.
3013 */
3014 GLint
3015 _glapi_alloc_entrypoint(const char *funcName)
3016 {
3017 /* XXX To Do */
3018 return -1;
3019 }
3020
3021
3022
3023 /*
3024 * Find the dynamic entry point for the named function.
3025 */
3026 GLint
3027 _glapi_get_entrypoint(const char *funcName)
3028 {
3029 /* XXX To Do */
3030 return -1;
3031 }
3032
3033
3034 /*
3035 * Return entrypoint for named function.
3036 */
3037 const GLvoid *
3038 _glapi_get_proc_address(const char *funcName)
3039 {
3040 /* XXX To Do */
3041 return NULL;
3042 }
3043
3044
3045
3046 /*
3047 * Make sure there are no NULL pointers in the given dispatch table.
3048 * Intented for debugging purposes.
3049 */
3050 void
3051 _glapi_check_table(const struct _glapi_table *table)
3052 {
3053 assert(table->Accum);
3054 assert(table->AlphaFunc);
3055 assert(table->Begin);
3056 assert(table->Bitmap);
3057 assert(table->BlendFunc);
3058 assert(table->CallList);
3059 assert(table->CallLists);
3060 assert(table->Clear);
3061 assert(table->ClearAccum);
3062 assert(table->ClearColor);
3063 assert(table->ClearDepth);
3064 assert(table->ClearIndex);
3065 assert(table->ClearStencil);
3066 assert(table->ClipPlane);
3067 assert(table->Color3b);
3068 assert(table->Color3bv);
3069 assert(table->Color3d);
3070 assert(table->Color3dv);
3071 assert(table->Color3f);
3072 assert(table->Color3fv);
3073 assert(table->Color3i);
3074 assert(table->Color3iv);
3075 assert(table->Color3s);
3076 assert(table->Color3sv);
3077 assert(table->Color3ub);
3078 assert(table->Color3ubv);
3079 assert(table->Color3ui);
3080 assert(table->Color3uiv);
3081 assert(table->Color3us);
3082 assert(table->Color3usv);
3083 assert(table->Color4b);
3084 assert(table->Color4bv);
3085 assert(table->Color4d);
3086 assert(table->Color4dv);
3087 assert(table->Color4f);
3088 assert(table->Color4fv);
3089 assert(table->Color4i);
3090 assert(table->Color4iv);
3091 assert(table->Color4s);
3092 assert(table->Color4sv);
3093 assert(table->Color4ub);
3094 assert(table->Color4ubv);
3095 assert(table->Color4ui);
3096 assert(table->Color4uiv);
3097 assert(table->Color4us);
3098 assert(table->Color4usv);
3099 assert(table->ColorMask);
3100 assert(table->ColorMaterial);
3101 assert(table->CopyPixels);
3102 assert(table->CullFace);
3103 assert(table->DeleteLists);
3104 assert(table->DepthFunc);
3105 assert(table->DepthMask);
3106 assert(table->DepthRange);
3107 assert(table->Disable);
3108 assert(table->DrawBuffer);
3109 assert(table->DrawElements);
3110 assert(table->DrawPixels);
3111 assert(table->EdgeFlag);
3112 assert(table->EdgeFlagv);
3113 assert(table->Enable);
3114 assert(table->End);
3115 assert(table->EndList);
3116 assert(table->EvalCoord1d);
3117 assert(table->EvalCoord1dv);
3118 assert(table->EvalCoord1f);
3119 assert(table->EvalCoord1fv);
3120 assert(table->EvalCoord2d);
3121 assert(table->EvalCoord2dv);
3122 assert(table->EvalCoord2f);
3123 assert(table->EvalCoord2fv);
3124 assert(table->EvalMesh1);
3125 assert(table->EvalMesh2);
3126 assert(table->EvalPoint1);
3127 assert(table->EvalPoint2);
3128 assert(table->FeedbackBuffer);
3129 assert(table->Finish);
3130 assert(table->Flush);
3131 assert(table->Fogf);
3132 assert(table->Fogfv);
3133 assert(table->Fogi);
3134 assert(table->Fogiv);
3135 assert(table->FrontFace);
3136 assert(table->Frustum);
3137 assert(table->GenLists);
3138 assert(table->GetBooleanv);
3139 assert(table->GetClipPlane);
3140 assert(table->GetDoublev);
3141 assert(table->GetError);
3142 assert(table->GetFloatv);
3143 assert(table->GetIntegerv);
3144 assert(table->GetLightfv);
3145 assert(table->GetLightiv);
3146 assert(table->GetMapdv);
3147 assert(table->GetMapfv);
3148 assert(table->GetMapiv);
3149 assert(table->GetMaterialfv);
3150 assert(table->GetMaterialiv);
3151 assert(table->GetPixelMapfv);
3152 assert(table->GetPixelMapuiv);
3153 assert(table->GetPixelMapusv);
3154 assert(table->GetPolygonStipple);
3155 assert(table->GetString);
3156 assert(table->GetTexEnvfv);
3157 assert(table->GetTexEnviv);
3158 assert(table->GetTexGendv);
3159 assert(table->GetTexGenfv);
3160 assert(table->GetTexGeniv);
3161 assert(table->GetTexImage);
3162 assert(table->GetTexLevelParameterfv);
3163 assert(table->GetTexLevelParameteriv);
3164 assert(table->GetTexParameterfv);
3165 assert(table->GetTexParameteriv);
3166 assert(table->Hint);
3167 assert(table->IndexMask);
3168 assert(table->Indexd);
3169 assert(table->Indexdv);
3170 assert(table->Indexf);
3171 assert(table->Indexfv);
3172 assert(table->Indexi);
3173 assert(table->Indexiv);
3174 assert(table->Indexs);
3175 assert(table->Indexsv);
3176 assert(table->InitNames);
3177 assert(table->IsEnabled);
3178 assert(table->IsList);
3179 assert(table->LightModelf);
3180 assert(table->LightModelfv);
3181 assert(table->LightModeli);
3182 assert(table->LightModeliv);
3183 assert(table->Lightf);
3184 assert(table->Lightfv);
3185 assert(table->Lighti);
3186 assert(table->Lightiv);
3187 assert(table->LineStipple);
3188 assert(table->LineWidth);
3189 assert(table->ListBase);
3190 assert(table->LoadIdentity);
3191 assert(table->LoadMatrixd);
3192 assert(table->LoadMatrixf);
3193 assert(table->LoadName);
3194 assert(table->LogicOp);
3195 assert(table->Map1d);
3196 assert(table->Map1f);
3197 assert(table->Map2d);
3198 assert(table->Map2f);
3199 assert(table->MapGrid1d);
3200 assert(table->MapGrid1f);
3201 assert(table->MapGrid2d);
3202 assert(table->MapGrid2f);
3203 assert(table->Materialf);
3204 assert(table->Materialfv);
3205 assert(table->Materiali);
3206 assert(table->Materialiv);
3207 assert(table->MatrixMode);
3208 assert(table->MultMatrixd);
3209 assert(table->MultMatrixf);
3210 assert(table->NewList);
3211 assert(table->Normal3b);
3212 assert(table->Normal3bv);
3213 assert(table->Normal3d);
3214 assert(table->Normal3dv);
3215 assert(table->Normal3f);
3216 assert(table->Normal3fv);
3217 assert(table->Normal3i);
3218 assert(table->Normal3iv);
3219 assert(table->Normal3s);
3220 assert(table->Normal3sv);
3221 assert(table->Ortho);
3222 assert(table->PassThrough);
3223 assert(table->PixelMapfv);
3224 assert(table->PixelMapuiv);
3225 assert(table->PixelMapusv);
3226 assert(table->PixelStoref);
3227 assert(table->PixelStorei);
3228 assert(table->PixelTransferf);
3229 assert(table->PixelTransferi);
3230 assert(table->PixelZoom);
3231 assert(table->PointSize);
3232 assert(table->PolygonMode);
3233 assert(table->PolygonOffset);
3234 assert(table->PolygonStipple);
3235 assert(table->PopAttrib);
3236 assert(table->PopMatrix);
3237 assert(table->PopName);
3238 assert(table->PushAttrib);
3239 assert(table->PushMatrix);
3240 assert(table->PushName);
3241 assert(table->RasterPos2d);
3242 assert(table->RasterPos2dv);
3243 assert(table->RasterPos2f);
3244 assert(table->RasterPos2fv);
3245 assert(table->RasterPos2i);
3246 assert(table->RasterPos2iv);
3247 assert(table->RasterPos2s);
3248 assert(table->RasterPos2sv);
3249 assert(table->RasterPos3d);
3250 assert(table->RasterPos3dv);
3251 assert(table->RasterPos3f);
3252 assert(table->RasterPos3fv);
3253 assert(table->RasterPos3i);
3254 assert(table->RasterPos3iv);
3255 assert(table->RasterPos3s);
3256 assert(table->RasterPos3sv);
3257 assert(table->RasterPos4d);
3258 assert(table->RasterPos4dv);
3259 assert(table->RasterPos4f);
3260 assert(table->RasterPos4fv);
3261 assert(table->RasterPos4i);
3262 assert(table->RasterPos4iv);
3263 assert(table->RasterPos4s);
3264 assert(table->RasterPos4sv);
3265 assert(table->ReadBuffer);
3266 assert(table->ReadPixels);
3267 assert(table->Rectd);
3268 assert(table->Rectdv);
3269 assert(table->Rectf);
3270 assert(table->Rectfv);
3271 assert(table->Recti);
3272 assert(table->Rectiv);
3273 assert(table->Rects);
3274 assert(table->Rectsv);
3275 assert(table->RenderMode);
3276 assert(table->Rotated);
3277 assert(table->Rotatef);
3278 assert(table->Scaled);
3279 assert(table->Scalef);
3280 assert(table->Scissor);
3281 assert(table->SelectBuffer);
3282 assert(table->ShadeModel);
3283 assert(table->StencilFunc);
3284 assert(table->StencilMask);
3285 assert(table->StencilOp);
3286 assert(table->TexCoord1d);
3287 assert(table->TexCoord1dv);
3288 assert(table->TexCoord1f);
3289 assert(table->TexCoord1fv);
3290 assert(table->TexCoord1i);
3291 assert(table->TexCoord1iv);
3292 assert(table->TexCoord1s);
3293 assert(table->TexCoord1sv);
3294 assert(table->TexCoord2d);
3295 assert(table->TexCoord2dv);
3296 assert(table->TexCoord2f);
3297 assert(table->TexCoord2fv);
3298 assert(table->TexCoord2i);
3299 assert(table->TexCoord2iv);
3300 assert(table->TexCoord2s);
3301 assert(table->TexCoord2sv);
3302 assert(table->TexCoord3d);
3303 assert(table->TexCoord3dv);
3304 assert(table->TexCoord3f);
3305 assert(table->TexCoord3fv);
3306 assert(table->TexCoord3i);
3307 assert(table->TexCoord3iv);
3308 assert(table->TexCoord3s);
3309 assert(table->TexCoord3sv);
3310 assert(table->TexCoord4d);
3311 assert(table->TexCoord4dv);
3312 assert(table->TexCoord4f);
3313 assert(table->TexCoord4fv);
3314 assert(table->TexCoord4i);
3315 assert(table->TexCoord4iv);
3316 assert(table->TexCoord4s);
3317 assert(table->TexCoord4sv);
3318 assert(table->TexEnvf);
3319 assert(table->TexEnvfv);
3320 assert(table->TexEnvi);
3321 assert(table->TexEnviv);
3322 assert(table->TexGend);
3323 assert(table->TexGendv);
3324 assert(table->TexGenf);
3325 assert(table->TexGenfv);
3326 assert(table->TexGeni);
3327 assert(table->TexGeniv);
3328 assert(table->TexImage1D);
3329 assert(table->TexImage2D);
3330 assert(table->TexParameterf);
3331 assert(table->TexParameterfv);
3332 assert(table->TexParameteri);
3333 assert(table->TexParameteriv);
3334 assert(table->Translated);
3335 assert(table->Translatef);
3336 assert(table->Vertex2d);
3337 assert(table->Vertex2dv);
3338 assert(table->Vertex2f);
3339 assert(table->Vertex2fv);
3340 assert(table->Vertex2i);
3341 assert(table->Vertex2iv);
3342 assert(table->Vertex2s);
3343 assert(table->Vertex2sv);
3344 assert(table->Vertex3d);
3345 assert(table->Vertex3dv);
3346 assert(table->Vertex3f);
3347 assert(table->Vertex3fv);
3348 assert(table->Vertex3i);
3349 assert(table->Vertex3iv);
3350 assert(table->Vertex3s);
3351 assert(table->Vertex3sv);
3352 assert(table->Vertex4d);
3353 assert(table->Vertex4dv);
3354 assert(table->Vertex4f);
3355 assert(table->Vertex4fv);
3356 assert(table->Vertex4i);
3357 assert(table->Vertex4iv);
3358 assert(table->Vertex4s);
3359 assert(table->Vertex4sv);
3360 assert(table->Viewport);
3361
3362 #ifdef _GLAPI_VERSION_1_1
3363 assert(table->AreTexturesResident);
3364 assert(table->ArrayElement);
3365 assert(table->BindTexture);
3366 assert(table->ColorPointer);
3367 assert(table->CopyTexImage1D);
3368 assert(table->CopyTexImage2D);
3369 assert(table->CopyTexSubImage1D);
3370 assert(table->CopyTexSubImage2D);
3371 assert(table->DeleteTextures);
3372 assert(table->DisableClientState);
3373 assert(table->DrawArrays);
3374 assert(table->EdgeFlagPointer);
3375 assert(table->EnableClientState);
3376 assert(table->GenTextures);
3377 assert(table->GetPointerv);
3378 assert(table->IndexPointer);
3379 assert(table->Indexub);
3380 assert(table->Indexubv);
3381 assert(table->InterleavedArrays);
3382 assert(table->IsTexture);
3383 assert(table->NormalPointer);
3384 assert(table->PopClientAttrib);
3385 assert(table->PrioritizeTextures);
3386 assert(table->PushClientAttrib);
3387 assert(table->TexCoordPointer);
3388 assert(table->TexSubImage1D);
3389 assert(table->TexSubImage2D);
3390 assert(table->VertexPointer);
3391 #endif
3392
3393 #ifdef _GLAPI_VERSION_1_2
3394 assert(table->CopyTexSubImage3D);
3395 assert(table->DrawRangeElements);
3396 assert(table->TexImage3D);
3397 assert(table->TexSubImage3D);
3398 #ifdef _GLAPI_ARB_imaging
3399 assert(table->BlendColor);
3400 assert(table->BlendEquation);
3401 assert(table->ColorSubTable);
3402 assert(table->ColorTable);
3403 assert(table->ColorTableParameterfv);
3404 assert(table->ColorTableParameteriv);
3405 assert(table->ConvolutionFilter1D);
3406 assert(table->ConvolutionFilter2D);
3407 assert(table->ConvolutionParameterf);
3408 assert(table->ConvolutionParameterfv);
3409 assert(table->ConvolutionParameteri);
3410 assert(table->ConvolutionParameteriv);
3411 assert(table->CopyColorSubTable);
3412 assert(table->CopyColorTable);
3413 assert(table->CopyConvolutionFilter1D);
3414 assert(table->CopyConvolutionFilter2D);
3415 assert(table->GetColorTable);
3416 assert(table->GetColorTableParameterfv);
3417 assert(table->GetColorTableParameteriv);
3418 assert(table->GetConvolutionFilter);
3419 assert(table->GetConvolutionParameterfv);
3420 assert(table->GetConvolutionParameteriv);
3421 assert(table->GetHistogram);
3422 assert(table->GetHistogramParameterfv);
3423 assert(table->GetHistogramParameteriv);
3424 assert(table->GetMinmax);
3425 assert(table->GetMinmaxParameterfv);
3426 assert(table->GetMinmaxParameteriv);
3427 assert(table->Histogram);
3428 assert(table->Minmax);
3429 assert(table->ResetHistogram);
3430 assert(table->ResetMinmax);
3431 assert(table->SeparableFilter2D);
3432 #endif
3433 #endif
3434
3435
3436 #ifdef _GLAPI_EXT_paletted_texture
3437 assert(table->ColorTableEXT);
3438 assert(table->ColorSubTableEXT);
3439 assert(table->GetColorTableEXT);
3440 assert(table->GetColorTableParameterfvEXT);
3441 assert(table->GetColorTableParameterivEXT);
3442 #endif
3443
3444 #ifdef _GLAPI_EXT_compiled_vertex_array
3445 assert(table->LockArraysEXT);
3446 assert(table->UnlockArraysEXT);
3447 #endif
3448
3449 #ifdef _GLAPI_EXT_point_parameter
3450 assert(table->PointParameterfEXT);
3451 assert(table->PointParameterfvEXT);
3452 #endif
3453
3454 #ifdef _GLAPI_EXT_polygon_offset
3455 assert(table->PolygonOffsetEXT);
3456 #endif
3457
3458 #ifdef _GLAPI_ARB_multitexture
3459 assert(table->ActiveTextureARB);
3460 assert(table->ClientActiveTextureARB);
3461 assert(table->MultiTexCoord1dARB);
3462 assert(table->MultiTexCoord1dvARB);
3463 assert(table->MultiTexCoord1fARB);
3464 assert(table->MultiTexCoord1fvARB);
3465 assert(table->MultiTexCoord1iARB);
3466 assert(table->MultiTexCoord1ivARB);
3467 assert(table->MultiTexCoord1sARB);
3468 assert(table->MultiTexCoord1svARB);
3469 assert(table->MultiTexCoord2dARB);
3470 assert(table->MultiTexCoord2dvARB);
3471 assert(table->MultiTexCoord2fARB);
3472 assert(table->MultiTexCoord2fvARB);
3473 assert(table->MultiTexCoord2iARB);
3474 assert(table->MultiTexCoord2ivARB);
3475 assert(table->MultiTexCoord2sARB);
3476 assert(table->MultiTexCoord2svARB);
3477 assert(table->MultiTexCoord3dARB);
3478 assert(table->MultiTexCoord3dvARB);
3479 assert(table->MultiTexCoord3fARB);
3480 assert(table->MultiTexCoord3fvARB);
3481 assert(table->MultiTexCoord3iARB);
3482 assert(table->MultiTexCoord3ivARB);
3483 assert(table->MultiTexCoord3sARB);
3484 assert(table->MultiTexCoord3svARB);
3485 assert(table->MultiTexCoord4dARB);
3486 assert(table->MultiTexCoord4dvARB);
3487 assert(table->MultiTexCoord4fARB);
3488 assert(table->MultiTexCoord4fvARB);
3489 assert(table->MultiTexCoord4iARB);
3490 assert(table->MultiTexCoord4ivARB);
3491 assert(table->MultiTexCoord4sARB);
3492 assert(table->MultiTexCoord4svARB);
3493 #endif
3494
3495 #ifdef _GLAPI_INGR_blend_func_separate
3496 assert(table->BlendFuncSeparateINGR);
3497 #endif
3498
3499 #ifdef _GLAPI_MESA_window_pos
3500 assert(table->WindowPos4fMESA);
3501 #endif
3502
3503 #ifdef _GLAPI_MESA_resize_buffers
3504 assert(table->ResizeBuffersMESA);
3505 #endif
3506 }
3507