forked from TACC/GLuRay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gl_functions.h
2171 lines (1087 loc) · 95.8 KB
/
gl_functions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#ifndef GL_FUNCTIONS_H
#define GL_FUNCTIONS_H
//#include "spyglass.h"
//#include "gl_functions.h"
#include <GL/gl.h>
#include <GL/glx.h>
static void (*next_glAccum)(GLenum op, GLfloat value) = NULL;
static void (*next_glActiveTexture)(GLenum texture) = NULL;
static void (*next_glActiveTextureARB)(GLenum texture) = NULL;
static void (*next_glAlphaFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod) = NULL;
static void (*next_glAlphaFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod) = NULL;
static void (*next_glAlphaFragmentOp3ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod) = NULL;
static void (*next_glAlphaFunc)(GLenum func, GLclampf ref) = NULL;
static void (*next_glApplyTextureEXT)(GLenum mode) = NULL;
static GLboolean (*next_glAreProgramsResidentNV)(GLsizei n, const GLuint * ids, GLboolean * residences) = NULL;
static GLboolean (*next_glAreTexturesResident)(GLsizei n, const GLuint * textures, GLboolean * residences) = NULL;
static GLboolean (*next_glAreTexturesResidentEXT)(GLsizei n, const GLuint * textures, GLboolean * residences) = NULL;
static void (*next_glArrayElement)(GLint i) = NULL;
static void (*next_glArrayElementEXT)(GLint i) = NULL;
static void (*next_glArrayObjectATI)(GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset) = NULL;
static void (*next_glAsyncMarkerSGIX)(GLuint marker) = NULL;
static void (*next_glBegin)(GLenum mode) = NULL;
static void (*next_glBeginFragmentShaderATI)() = NULL;
static void (*next_glBeginVertexShaderEXT)() = NULL;
static void (*next_glBindFragmentShaderATI)(GLuint id) = NULL;
static GLuint (*next_glBindLightParameterEXT)(GLenum light, GLenum value) = NULL;
static GLuint (*next_glBindMaterialParameterEXT)(GLenum face, GLenum value) = NULL;
static GLuint (*next_glBindParameterEXT)(GLenum value) = NULL;
static void (*next_glBindProgramNV)(GLenum target, GLuint id) = NULL;
static GLuint (*next_glBindTexGenParameterEXT)(GLenum unit, GLenum coord, GLenum value) = NULL;
static void (*next_glBindTexture)(GLenum target, GLuint texture) = NULL;
static void (*next_glBindTextureEXT)(GLenum target, GLuint texture) = NULL;
static GLuint (*next_glBindTextureUnitParameterEXT)(GLenum unit, GLenum value) = NULL;
static void (*next_glBindVertexShaderEXT)(GLuint id) = NULL;
static void (*next_glBinormal3bEXT)(GLbyte bx, GLbyte by, GLbyte bz) = NULL;
static void (*next_glBinormal3bvEXT)(const GLbyte * v) = NULL;
static void (*next_glBinormal3dEXT)(GLdouble bx, GLdouble by, GLdouble bz) = NULL;
static void (*next_glBinormal3dvEXT)(const GLdouble * v) = NULL;
static void (*next_glBinormal3fEXT)(GLfloat bx, GLfloat by, GLfloat bz) = NULL;
static void (*next_glBinormal3fvEXT)(const GLfloat * v) = NULL;
static void (*next_glBinormal3iEXT)(GLint bx, GLint by, GLint bz) = NULL;
static void (*next_glBinormal3ivEXT)(const GLint * v) = NULL;
static void (*next_glBinormal3sEXT)(GLshort bx, GLshort by, GLshort bz) = NULL;
static void (*next_glBinormal3svEXT)(const GLshort * v) = NULL;
static void (*next_glBinormalPointerEXT)(GLenum type, GLsizei stride, const GLvoid * pointer) = NULL;
static void (*next_glBitmap)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap) = NULL;
static void (*next_glBlendColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) = NULL;
static void (*next_glBlendColorEXT)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) = NULL;
static void (*next_glBlendEquation)(GLenum mode) = NULL;
static void (*next_glBlendEquationEXT)(GLenum mode) = NULL;
static void (*next_glBlendFunc)(GLenum sfactor, GLenum dfactor) = NULL;
static void (*next_glBlendFuncSeparateEXT)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) = NULL;
static void (*next_glBlendFuncSeparateINGR)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) = NULL;
static void (*next_glCallList)(GLuint list) = NULL;
static void (*next_glCallLists)(GLsizei n, GLenum type, const GLvoid * lists) = NULL;
static void (*next_glClear)(GLbitfield mask) = NULL;
static void (*next_glClearAccum)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) = NULL;
static void (*next_glClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) = NULL;
static void (*next_glClearDepth)(GLclampd depth) = NULL;
static void (*next_glClearIndex)(GLfloat c) = NULL;
static void (*next_glClearStencil)(GLint s) = NULL;
static void (*next_glClientActiveTexture)(GLenum texture) = NULL;
static void (*next_glClientActiveTextureARB)(GLenum texture) = NULL;
static void (*next_glClientActiveVertexStreamATI)(GLenum stream) = NULL;
static void (*next_glClipPlane)(GLenum plane, const GLdouble * equation) = NULL;
static void (*next_glColor3b)(GLbyte red, GLbyte green, GLbyte blue) = NULL;
static void (*next_glColor3bv)(const GLbyte * v) = NULL;
static void (*next_glColor3d)(GLdouble red, GLdouble green, GLdouble blue) = NULL;
static void (*next_glColor3dv)(const GLdouble * v) = NULL;
static void (*next_glColor3f)(GLfloat red, GLfloat green, GLfloat blue) = NULL;
static void (*next_glColor3fVertex3fSUN)(GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) = NULL;
static void (*next_glColor3fVertex3fvSUN)(const GLfloat * c, const GLfloat * v) = NULL;
static void (*next_glColor3fv)(const GLfloat * v) = NULL;
static void (*next_glColor3i)(GLint red, GLint green, GLint blue) = NULL;
static void (*next_glColor3iv)(const GLint * v) = NULL;
static void (*next_glColor3s)(GLshort red, GLshort green, GLshort blue) = NULL;
static void (*next_glColor3sv)(const GLshort * v) = NULL;
static void (*next_glColor3ub)(GLubyte red, GLubyte green, GLubyte blue) = NULL;
static void (*next_glColor3ubv)(const GLubyte * v) = NULL;
static void (*next_glColor3ui)(GLuint red, GLuint green, GLuint blue) = NULL;
static void (*next_glColor3uiv)(const GLuint * v) = NULL;
static void (*next_glColor3us)(GLushort red, GLushort green, GLushort blue) = NULL;
static void (*next_glColor3usv)(const GLushort * v) = NULL;
static void (*next_glColor4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) = NULL;
static void (*next_glColor4bv)(const GLbyte * v) = NULL;
static void (*next_glColor4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) = NULL;
static void (*next_glColor4dv)(const GLdouble * v) = NULL;
static void (*next_glColor4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) = NULL;
static void (*next_glColor4fNormal3fVertex3fSUN)(GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) = NULL;
static void (*next_glColor4fNormal3fVertex3fvSUN)(const GLfloat * c, const GLfloat * n, const GLfloat * v) = NULL;
static void (*next_glColor4fv)(const GLfloat * v) = NULL;
static void (*next_glColor4i)(GLint red, GLint green, GLint blue, GLint alpha) = NULL;
static void (*next_glColor4iv)(const GLint * v) = NULL;
static void (*next_glColor4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha) = NULL;
static void (*next_glColor4sv)(const GLshort * v) = NULL;
static void (*next_glColor4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) = NULL;
static void (*next_glColor4ubVertex2fSUN)(GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y) = NULL;
static void (*next_glColor4ubVertex2fvSUN)(const GLubyte * c, const GLfloat * v) = NULL;
static void (*next_glColor4ubVertex3fSUN)(GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) = NULL;
static void (*next_glColor4ubVertex3fvSUN)(const GLubyte * c, const GLfloat * v) = NULL;
static void (*next_glColor4ubv)(const GLubyte * v) = NULL;
static void (*next_glColor4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha) = NULL;
static void (*next_glColor4uiv)(const GLuint * v) = NULL;
static void (*next_glColor4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha) = NULL;
static void (*next_glColor4usv)(const GLushort * v) = NULL;
static void (*next_glColorFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod) = NULL;
static void (*next_glColorFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod) = NULL;
static void (*next_glColorFragmentOp3ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod) = NULL;
static void (*next_glColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) = NULL;
static void (*next_glColorMaterial)(GLenum face, GLenum mode) = NULL;
static void (*next_glColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) = NULL;
static void (*next_glColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer) = NULL;
static void (*next_glColorPointerListIBM)(GLint size, GLenum type, GLint stride, const GLvoid* * pointer, GLint ptrstride) = NULL;
static void (*next_glColorPointervINTEL)(GLint size, GLenum type, const GLvoid* * pointer) = NULL;
static void (*next_glColorSubTable)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data) = NULL;
static void (*next_glColorSubTableEXT)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data) = NULL;
static void (*next_glColorTable)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * table) = NULL;
static void (*next_glColorTableEXT)(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid * table) = NULL;
static void (*next_glColorTableParameterfv)(GLenum target, GLenum pname, const GLfloat * params) = NULL;
static void (*next_glColorTableParameterfvSGI)(GLenum target, GLenum pname, const GLfloat * params) = NULL;
static void (*next_glColorTableParameteriv)(GLenum target, GLenum pname, const GLint * params) = NULL;
static void (*next_glColorTableParameterivSGI)(GLenum target, GLenum pname, const GLint * params) = NULL;
static void (*next_glColorTableSGI)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * table) = NULL;
static void (*next_glCombinerInputNV)(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) = NULL;
static void (*next_glCombinerOutputNV)(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum) = NULL;
static void (*next_glCombinerParameterfNV)(GLenum pname, GLfloat param) = NULL;
static void (*next_glCombinerParameterfvNV)(GLenum pname, const GLfloat * params) = NULL;
static void (*next_glCombinerParameteriNV)(GLenum pname, GLint param) = NULL;
static void (*next_glCombinerParameterivNV)(GLenum pname, const GLint * params) = NULL;
static void (*next_glCombinerStageParameterfvNV)(GLenum stage, GLenum pname, const GLfloat * params) = NULL;
static void (*next_glCompressedTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data) = NULL;
static void (*next_glCompressedTexImage1DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data) = NULL;
static void (*next_glCompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) = NULL;
static void (*next_glCompressedTexImage2DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) = NULL;
static void (*next_glCompressedTexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data) = NULL;
static void (*next_glCompressedTexImage3DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data) = NULL;
static void (*next_glCompressedTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data) = NULL;
static void (*next_glCompressedTexSubImage1DARB)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data) = NULL;
static void (*next_glCompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data) = NULL;
static void (*next_glCompressedTexSubImage2DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data) = NULL;
static void (*next_glCompressedTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data) = NULL;
static void (*next_glCompressedTexSubImage3DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data) = NULL;
static void (*next_glConvolutionFilter1D)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image) = NULL;
static void (*next_glConvolutionFilter1DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image) = NULL;
static void (*next_glConvolutionFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image) = NULL;
static void (*next_glConvolutionFilter2DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image) = NULL;
static void (*next_glConvolutionParameterf)(GLenum target, GLenum pname, GLfloat params) = NULL;
static void (*next_glConvolutionParameterfEXT)(GLenum target, GLenum pname, GLfloat params) = NULL;
static void (*next_glConvolutionParameterfv)(GLenum target, GLenum pname, const GLfloat * params) = NULL;
static void (*next_glConvolutionParameterfvEXT)(GLenum target, GLenum pname, const GLfloat * params) = NULL;
static void (*next_glConvolutionParameteri)(GLenum target, GLenum pname, GLint params) = NULL;
static void (*next_glConvolutionParameteriEXT)(GLenum target, GLenum pname, GLint params) = NULL;
static void (*next_glConvolutionParameteriv)(GLenum target, GLenum pname, const GLint * params) = NULL;
static void (*next_glConvolutionParameterivEXT)(GLenum target, GLenum pname, const GLint * params) = NULL;
static void (*next_glCopyColorSubTable)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) = NULL;
static void (*next_glCopyColorSubTableEXT)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) = NULL;
static void (*next_glCopyColorTable)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) = NULL;
static void (*next_glCopyColorTableSGI)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) = NULL;
static void (*next_glCopyConvolutionFilter1D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) = NULL;
static void (*next_glCopyConvolutionFilter1DEXT)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) = NULL;
static void (*next_glCopyConvolutionFilter2D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) = NULL;
static void (*next_glCopyConvolutionFilter2DEXT)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) = NULL;
static void (*next_glCopyPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) = NULL;
static void (*next_glCopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) = NULL;
static void (*next_glCopyTexImage1DEXT)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) = NULL;
static void (*next_glCopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) = NULL;
static void (*next_glCopyTexImage2DEXT)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) = NULL;
static void (*next_glCopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) = NULL;
static void (*next_glCopyTexSubImage1DEXT)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) = NULL;
static void (*next_glCopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) = NULL;
static void (*next_glCopyTexSubImage2DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) = NULL;
static void (*next_glCopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) = NULL;
static void (*next_glCopyTexSubImage3DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) = NULL;
static void (*next_glCullFace)(GLenum mode) = NULL;
static void (*next_glCullParameterdvEXT)(GLenum pname, GLdouble * params) = NULL;
static void (*next_glCullParameterfvEXT)(GLenum pname, GLfloat * params) = NULL;
static void (*next_glCurrentPaletteMatrixARB)(GLint index) = NULL;
static void (*next_glDeformSGIX)(GLbitfield mask) = NULL;
static void (*next_glDeformationMap3dSGIX)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble * points) = NULL;
static void (*next_glDeformationMap3fSGIX)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat * points) = NULL;
static void (*next_glDeleteAsyncMarkersSGIX)(GLuint marker, GLsizei range) = NULL;
static void (*next_glDeleteFencesNV)(GLsizei n, const GLuint * fences) = NULL;
static void (*next_glDeleteFragmentShaderATI)(GLuint id) = NULL;
static void (*next_glDeleteLists)(GLuint list, GLsizei range) = NULL;
static void (*next_glDeleteObjectBufferATI)(GLuint buffer) = NULL;
static void (*next_glDeleteProgramsNV)(GLsizei n, const GLuint * ids) = NULL;
static void (*next_glDeleteTextures)(GLsizei n, const GLuint * textures) = NULL;
static void (*next_glDeleteTexturesEXT)(GLsizei n, const GLuint * textures) = NULL;
static void (*next_glDeleteVertexShaderEXT)(GLuint id) = NULL;
static void (*next_glDepthFunc)(GLenum func) = NULL;
static void (*next_glDepthMask)(GLboolean flag) = NULL;
static void (*next_glDepthRange)(GLclampd near, GLclampd far) = NULL;
static void (*next_glDetailTexFuncSGIS)(GLenum target, GLsizei n, const GLfloat * points) = NULL;
static void (*next_glDisable)(GLenum cap) = NULL;
static void (*next_glDisableClientState)(GLenum array) = NULL;
static void (*next_glDisableVariantClientStateEXT)(GLuint id) = NULL;
static void (*next_glDrawArrays)(GLenum mode, GLint first, GLsizei count) = NULL;
static void (*next_glDrawArraysEXT)(GLenum mode, GLint first, GLsizei count) = NULL;
static void (*next_glDeleteBuffers)(GLsizei n, const GLuint* buffersa) = NULL;
static void (*next_glGenBuffers)(GLsizei n, GLuint* buffers) = NULL;
static void (*next_glDrawBuffer)(GLenum mode) = NULL;
static void (*next_glDrawElementArrayATI)(GLenum mode, GLsizei count) = NULL;
static void (*next_glDrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) = NULL;
static void (*next_glDrawMeshArraysSUN)(GLenum mode, GLint first, GLsizei count, GLsizei width) = NULL;
static void (*next_glDrawPixels)(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) = NULL;
static void (*next_glDrawRangeElementArrayATI)(GLenum mode, GLuint start, GLuint end, GLsizei count) = NULL;
static void (*next_glDrawRangeElements)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices) = NULL;
static void (*next_glDrawRangeElementsEXT)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices) = NULL;
static void (*next_glEdgeFlag)(GLboolean flag) = NULL;
static void (*next_glEdgeFlagPointer)(GLsizei stride, const GLvoid * pointer) = NULL;
static void (*next_glEdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLvoid * pointer) = NULL;
static void (*next_glEdgeFlagPointerListIBM)(GLint stride, const GLboolean* * pointer, GLint ptrstride) = NULL;
static void (*next_glEdgeFlagv)(const GLboolean * flag) = NULL;
static void (*next_glElementPointerATI)(GLenum type, const GLvoid * pointer) = NULL;
static void (*next_glEnable)(GLenum cap) = NULL;
static void (*next_glEnableClientState)(GLenum array) = NULL;
static void (*next_glEnableVariantClientStateEXT)(GLuint id) = NULL;
static void (*next_glEnd)() = NULL;
static void (*next_glEndFragmentShaderATI)() = NULL;
static void (*next_glEndList)() = NULL;
static void (*next_glEndVertexShaderEXT)() = NULL;
static void (*next_glEvalCoord1d)(GLdouble u) = NULL;
static void (*next_glEvalCoord1dv)(const GLdouble * u) = NULL;
static void (*next_glEvalCoord1f)(GLfloat u) = NULL;
static void (*next_glEvalCoord1fv)(const GLfloat * u) = NULL;
static void (*next_glEvalCoord2d)(GLdouble u, GLdouble v) = NULL;
static void (*next_glEvalCoord2dv)(const GLdouble * u) = NULL;
static void (*next_glEvalCoord2f)(GLfloat u, GLfloat v) = NULL;
static void (*next_glEvalCoord2fv)(const GLfloat * u) = NULL;
static void (*next_glEvalMapsNV)(GLenum target, GLenum mode) = NULL;
static void (*next_glEvalMesh1)(GLenum mode, GLint i1, GLint i2) = NULL;
static void (*next_glEvalMesh2)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) = NULL;
static void (*next_glEvalPoint1)(GLint i) = NULL;
static void (*next_glEvalPoint2)(GLint i, GLint j) = NULL;
static void (*next_glExecuteProgramNV)(GLenum target, GLuint id, const GLfloat * params) = NULL;
static void (*next_glExtractComponentEXT)(GLuint res, GLuint src, GLuint num) = NULL;
static void (*next_glFeedbackBuffer)(GLsizei size, GLenum type, GLfloat * buffer) = NULL;
static void (*next_glFinalCombinerInputNV)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) = NULL;
static void (*next_glFinish)() = NULL;
static GLint (*next_glFinishAsyncSGIX)(GLuint * markerp) = NULL;
static void (*next_glFinishFenceNV)(GLuint fence) = NULL;
static void (*next_glFinishTextureSUNX)() = NULL;
static void (*next_gluLookAt)(GLfloat,GLfloat,GLfloat,GLfloat,GLfloat,GLfloat,GLfloat,GLfloat,GLfloat)= NULL;
static void (*next_glFlush)() = NULL;
static void (*next_glFlushRasterSGIX)() = NULL;
static void (*next_glFlushVertexArrayRangeNV)() = NULL;
static void (*next_glFogCoordPointerEXT)(GLenum type, GLsizei stride, const GLvoid * pointer) = NULL;
static void (*next_glFogCoordPointerListIBM)(GLenum type, GLint stride, const GLvoid* * pointer, GLint ptrstride) = NULL;
static void (*next_glFogCoorddEXT)(GLdouble coord) = NULL;
static void (*next_glFogCoorddvEXT)(const GLdouble * coord) = NULL;
static void (*next_glFogCoordfEXT)(GLfloat coord) = NULL;
static void (*next_glFogCoordfvEXT)(const GLfloat * coord) = NULL;
static void (*next_glFogFuncSGIS)(GLsizei n, const GLfloat * points) = NULL;
static void (*next_glFogf)(GLenum pname, GLfloat param) = NULL;
static void (*next_glFogfv)(GLenum pname, const GLfloat * params) = NULL;
static void (*next_glFogi)(GLenum pname, GLint param) = NULL;
static void (*next_glFogiv)(GLenum pname, const GLint * params) = NULL;
static void (*next_glFragmentColorMaterialSGIX)(GLenum face, GLenum mode) = NULL;
static void (*next_glFragmentLightModelfSGIX)(GLenum pname, GLfloat param) = NULL;
static void (*next_glFragmentLightModelfvSGIX)(GLenum pname, const GLfloat * params) = NULL;
static void (*next_glFragmentLightModeliSGIX)(GLenum pname, GLint param) = NULL;
static void (*next_glFragmentLightModelivSGIX)(GLenum pname, const GLint * params) = NULL;
static void (*next_glFragmentLightfSGIX)(GLenum light, GLenum pname, GLfloat param) = NULL;
static void (*next_glFragmentLightfvSGIX)(GLenum light, GLenum pname, const GLfloat * params) = NULL;
static void (*next_glFragmentLightiSGIX)(GLenum light, GLenum pname, GLint param) = NULL;
static void (*next_glFragmentLightivSGIX)(GLenum light, GLenum pname, const GLint * params) = NULL;
static void (*next_glFragmentMaterialfSGIX)(GLenum face, GLenum pname, GLfloat param) = NULL;
static void (*next_glFragmentMaterialfvSGIX)(GLenum face, GLenum pname, const GLfloat * params) = NULL;
static void (*next_glFragmentMaterialiSGIX)(GLenum face, GLenum pname, GLint param) = NULL;
static void (*next_glFragmentMaterialivSGIX)(GLenum face, GLenum pname, const GLint * params) = NULL;
static void (*next_glFrameZoomSGIX)(GLint factor) = NULL;
static void (*next_glFrontFace)(GLenum mode) = NULL;
static void (*next_glFrustum)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) = NULL;
static GLuint (*next_glGenAsyncMarkersSGIX)(GLsizei range) = NULL;
static void (*next_glGenFencesNV)(GLsizei n, GLuint * fences) = NULL;
static GLuint (*next_glGenFragmentShadersATI)(GLuint range) = NULL;
static GLuint (*next_glGenLists)(GLsizei range) = NULL;
static void (*next_glGenProgramsNV)(GLsizei n, GLuint * ids) = NULL;
static GLuint (*next_glGenSymbolsEXT)(GLenum datatype, GLenum storagetype, GLenum range, GLuint components) = NULL;
static void (*next_glGenTextures)(GLsizei n, GLuint * textures) = NULL;
static void (*next_glGenTexturesEXT)(GLsizei n, GLuint * textures) = NULL;
static GLuint (*next_glGenVertexShadersEXT)(GLuint range) = NULL;
static void (*next_glGetArrayObjectfvATI)(GLenum array, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetArrayObjectivATI)(GLenum array, GLenum pname, GLint * params) = NULL;
static void (*next_glGetBooleanv)(GLenum pname, GLboolean * params) = NULL;
static void (*next_glGetClipPlane)(GLenum plane, GLdouble * equation) = NULL;
static void (*next_glGetColorTable)(GLenum target, GLenum format, GLenum type, GLvoid * table) = NULL;
static void (*next_glGetColorTableEXT)(GLenum target, GLenum format, GLenum type, GLvoid * data) = NULL;
static void (*next_glGetColorTableParameterfv)(GLenum target, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetColorTableParameterfvEXT)(GLenum target, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetColorTableParameterfvSGI)(GLenum target, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetColorTableParameteriv)(GLenum target, GLenum pname, GLint * params) = NULL;
static void (*next_glGetColorTableParameterivEXT)(GLenum target, GLenum pname, GLint * params) = NULL;
static void (*next_glGetColorTableParameterivSGI)(GLenum target, GLenum pname, GLint * params) = NULL;
static void (*next_glGetColorTableSGI)(GLenum target, GLenum format, GLenum type, GLvoid * table) = NULL;
static void (*next_glGetCombinerInputParameterfvNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetCombinerInputParameterivNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params) = NULL;
static void (*next_glGetCombinerOutputParameterfvNV)(GLenum stage, GLenum portion, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetCombinerOutputParameterivNV)(GLenum stage, GLenum portion, GLenum pname, GLint * params) = NULL;
static void (*next_glGetCombinerStageParameterfvNV)(GLenum stage, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetCompressedTexImage)(GLenum target, GLint level, void * img) = NULL;
static void (*next_glGetCompressedTexImageARB)(GLenum target, GLint level, void * img) = NULL;
static void (*next_glGetConvolutionFilter)(GLenum target, GLenum format, GLenum type, GLvoid * image) = NULL;
static void (*next_glGetConvolutionFilterEXT)(GLenum target, GLenum format, GLenum type, GLvoid * image) = NULL;
static void (*next_glGetConvolutionParameterfv)(GLenum target, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetConvolutionParameterfvEXT)(GLenum target, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetConvolutionParameteriv)(GLenum target, GLenum pname, GLint * params) = NULL;
static void (*next_glGetConvolutionParameterivEXT)(GLenum target, GLenum pname, GLint * params) = NULL;
static void (*next_glGetDetailTexFuncSGIS)(GLenum target, GLfloat * points) = NULL;
static void (*next_glGetDoublev)(GLenum pname, GLdouble * params) = NULL;
static GLenum (*next_glGetError)() = NULL;
static void (*next_glGetFenceivNV)(GLuint fence, GLenum pname, GLint * params) = NULL;
static void (*next_glGetFinalCombinerInputParameterfvNV)(GLenum variable, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetFinalCombinerInputParameterivNV)(GLenum variable, GLenum pname, GLint * params) = NULL;
static void (*next_glGetFloatv)(GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetFogFuncSGIS)(GLfloat * points) = NULL;
static void (*next_glGetFragmentLightfvSGIX)(GLenum light, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetFragmentLightivSGIX)(GLenum light, GLenum pname, GLint * params) = NULL;
static void (*next_glGetFragmentMaterialfvSGIX)(GLenum face, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetFragmentMaterialivSGIX)(GLenum face, GLenum pname, GLint * params) = NULL;
static void (*next_glGetHistogram)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values) = NULL;
static void (*next_glGetHistogramEXT)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values) = NULL;
static void (*next_glGetHistogramParameterfv)(GLenum target, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetHistogramParameterfvEXT)(GLenum target, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetHistogramParameteriv)(GLenum target, GLenum pname, GLint * params) = NULL;
static void (*next_glGetHistogramParameterivEXT)(GLenum target, GLenum pname, GLint * params) = NULL;
static void (*next_glGetImageTransformParameterfvHP)(GLenum target, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetImageTransformParameterivHP)(GLenum target, GLenum pname, GLint * params) = NULL;
static GLint (*next_glGetInstrumentsSGIX)() = NULL;
static void (*next_glGetIntegerv)(GLenum pname, GLint * params) = NULL;
static void (*next_glGetInvariantBooleanvEXT)(GLuint id, GLenum value, GLboolean * data) = NULL;
static void (*next_glGetInvariantFloatvEXT)(GLuint id, GLenum value, GLfloat * data) = NULL;
static void (*next_glGetInvariantIntegervEXT)(GLuint id, GLenum value, GLint * data) = NULL;
static void (*next_glGetLightfv)(GLenum light, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetLightiv)(GLenum light, GLenum pname, GLint * params) = NULL;
static void (*next_glGetListParameterfvSGIX)(GLuint list, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetListParameterivSGIX)(GLuint list, GLenum pname, GLint * params) = NULL;
static void (*next_glGetLocalConstantBooleanvEXT)(GLuint id, GLenum value, GLboolean * data) = NULL;
static void (*next_glGetLocalConstantFloatvEXT)(GLuint id, GLenum value, GLfloat * data) = NULL;
static void (*next_glGetLocalConstantIntegervEXT)(GLuint id, GLenum value, GLint * data) = NULL;
static void (*next_glGetMapAttribParameterfvNV)(GLenum target, GLuint index, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetMapAttribParameterivNV)(GLenum target, GLuint index, GLenum pname, GLint * params) = NULL;
static void (*next_glGetMapControlPointsNV)(GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid * points) = NULL;
static void (*next_glGetMapParameterfvNV)(GLenum target, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetMapParameterivNV)(GLenum target, GLenum pname, GLint * params) = NULL;
static void (*next_glGetMapdv)(GLenum target, GLenum query, GLdouble * v) = NULL;
static void (*next_glGetMapfv)(GLenum target, GLenum query, GLfloat * v) = NULL;
static void (*next_glGetMapiv)(GLenum target, GLenum query, GLint * v) = NULL;
static void (*next_glGetMaterialfv)(GLenum face, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetMaterialiv)(GLenum face, GLenum pname, GLint * params) = NULL;
static void (*next_glGetMinmax)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values) = NULL;
static void (*next_glGetMinmaxEXT)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values) = NULL;
static void (*next_glGetMinmaxParameterfv)(GLenum target, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetMinmaxParameterfvEXT)(GLenum target, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetMinmaxParameteriv)(GLenum target, GLenum pname, GLint * params) = NULL;
static void (*next_glGetMinmaxParameterivEXT)(GLenum target, GLenum pname, GLint * params) = NULL;
static void (*next_glGetObjectBufferfvATI)(GLuint buffer, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetObjectBufferivATI)(GLuint buffer, GLenum pname, GLint * params) = NULL;
static void (*next_glGetPixelMapfv)(GLenum map, GLfloat * values) = NULL;
static void (*next_glGetPixelMapuiv)(GLenum map, GLuint * values) = NULL;
static void (*next_glGetPixelMapusv)(GLenum map, GLushort * values) = NULL;
static void (*next_glGetPixelTexGenParameterfvSGIS)(GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetPixelTexGenParameterivSGIS)(GLenum pname, GLint * params) = NULL;
static void (*next_glGetPointerv)(GLenum pname, GLvoid* * params) = NULL;
static void (*next_glGetPointervEXT)(GLenum pname, GLvoid* * params) = NULL;
static void (*next_glGetPolygonStipple)(GLubyte * mask) = NULL;
static void (*next_glGetProgramParameterdvNV)(GLenum target, GLuint index, GLenum pname, GLdouble * params) = NULL;
static void (*next_glGetProgramParameterfvNV)(GLenum target, GLuint index, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetProgramStringNV)(GLuint id, GLenum pname, GLubyte * program) = NULL;
static void (*next_glGetProgramivNV)(GLuint id, GLenum pname, GLint * params) = NULL;
static void (*next_glGetSeparableFilter)(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span) = NULL;
static void (*next_glGetSeparableFilterEXT)(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span) = NULL;
static void (*next_glGetSharpenTexFuncSGIS)(GLenum target, GLfloat * points) = NULL;
static const GLubyte * (*next_glGetString)(GLenum name) = NULL;
static void (*next_glGetTexBumpParameterfvATI)(GLenum pname, GLfloat * param) = NULL;
static void (*next_glGetTexBumpParameterivATI)(GLenum pname, GLint * param) = NULL;
static void (*next_glGetTexEnvfv)(GLenum target, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetTexEnviv)(GLenum target, GLenum pname, GLint * params) = NULL;
static void (*next_glGetTexFilterFuncSGIS)(GLenum target, GLenum filter, GLfloat * weights) = NULL;
static void (*next_glGetTexGendv)(GLenum coord, GLenum pname, GLdouble * params) = NULL;
static void (*next_glGetTexGenfv)(GLenum coord, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetTexGeniv)(GLenum coord, GLenum pname, GLint * params) = NULL;
static void (*next_glGetTexImage)(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * pixels) = NULL;
static void (*next_glGetTexLevelParameterfv)(GLenum target, GLint level, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetTexLevelParameteriv)(GLenum target, GLint level, GLenum pname, GLint * params) = NULL;
static void (*next_glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetTexParameteriv)(GLenum target, GLenum pname, GLint * params) = NULL;
static void (*next_glGetTrackMatrixivNV)(GLenum target, GLuint address, GLenum pname, GLint * params) = NULL;
static void (*next_glGetVariantArrayObjectfvATI)(GLuint id, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetVariantArrayObjectivATI)(GLuint id, GLenum pname, GLint * params) = NULL;
static void (*next_glGetVariantBooleanvEXT)(GLuint id, GLenum value, GLboolean * data) = NULL;
static void (*next_glGetVariantFloatvEXT)(GLuint id, GLenum value, GLfloat * data) = NULL;
static void (*next_glGetVariantIntegervEXT)(GLuint id, GLenum value, GLint * data) = NULL;
static void (*next_glGetVariantPointervEXT)(GLuint id, GLenum value, GLvoid* * data) = NULL;
static void (*next_glGetVertexAttribPointervNV)(GLuint index, GLenum pname, GLvoid* * pointer) = NULL;
static void (*next_glGetVertexAttribdvNV)(GLuint index, GLenum pname, GLdouble * params) = NULL;
static void (*next_glGetVertexAttribfvNV)(GLuint index, GLenum pname, GLfloat * params) = NULL;
static void (*next_glGetVertexAttribivNV)(GLuint index, GLenum pname, GLint * params) = NULL;
static void (*next_glGlobalAlphaFactorbSUN)(GLbyte factor) = NULL;
static void (*next_glGlobalAlphaFactordSUN)(GLdouble factor) = NULL;
static void (*next_glGlobalAlphaFactorfSUN)(GLfloat factor) = NULL;
static void (*next_glGlobalAlphaFactoriSUN)(GLint factor) = NULL;
static void (*next_glGlobalAlphaFactorsSUN)(GLshort factor) = NULL;
static void (*next_glGlobalAlphaFactorubSUN)(GLubyte factor) = NULL;
static void (*next_glGlobalAlphaFactoruiSUN)(GLuint factor) = NULL;
static void (*next_glGlobalAlphaFactorusSUN)(GLushort factor) = NULL;
static void (*next_glHint)(GLenum target, GLenum mode) = NULL;
static void (*next_glHintPGI)(GLenum target, GLint mode) = NULL;
static void (*next_glHistogram)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) = NULL;
static void (*next_glHistogramEXT)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) = NULL;
static void (*next_glIglooInterfaceSGIX)(GLenum pname, const GLvoid * params) = NULL;
static void (*next_glImageTransformParameterfHP)(GLenum target, GLenum pname, GLfloat param) = NULL;
static void (*next_glImageTransformParameterfvHP)(GLenum target, GLenum pname, const GLfloat * params) = NULL;
static void (*next_glImageTransformParameteriHP)(GLenum target, GLenum pname, GLint param) = NULL;
static void (*next_glImageTransformParameterivHP)(GLenum target, GLenum pname, const GLint * params) = NULL;
static void (*next_glIndexFuncEXT)(GLenum func, GLclampf ref) = NULL;
static void (*next_glIndexMask)(GLuint mask) = NULL;
static void (*next_glIndexMaterialEXT)(GLenum face, GLenum mode) = NULL;
static void (*next_glIndexPointer)(GLenum type, GLsizei stride, const GLvoid * pointer) = NULL;
static void (*next_glIndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer) = NULL;
static void (*next_glIndexPointerListIBM)(GLenum type, GLint stride, const GLvoid* * pointer, GLint ptrstride) = NULL;
static void (*next_glIndexd)(GLdouble c) = NULL;
static void (*next_glIndexdv)(const GLdouble * c) = NULL;
static void (*next_glIndexf)(GLfloat c) = NULL;
static void (*next_glIndexfv)(const GLfloat * c) = NULL;
static void (*next_glIndexi)(GLint c) = NULL;
static void (*next_glIndexiv)(const GLint * c) = NULL;
static void (*next_glIndexs)(GLshort c) = NULL;
static void (*next_glIndexsv)(const GLshort * c) = NULL;
static void (*next_glIndexub)(GLubyte c) = NULL;
static void (*next_glIndexubv)(const GLubyte * c) = NULL;
static void (*next_glInitNames)() = NULL;
static void (*next_glInsertComponentEXT)(GLuint res, GLuint src, GLuint num) = NULL;
static void (*next_glInstrumentsBufferSGIX)(GLsizei size, GLint * buffer) = NULL;
static void (*next_glInterleavedArrays)(GLenum format, GLsizei stride, const GLvoid * pointer) = NULL;
static GLboolean (*next_glIsAsyncMarkerSGIX)(GLuint marker) = NULL;
static GLboolean (*next_glIsEnabled)(GLenum cap) = NULL;
static GLboolean (*next_glIsFenceNV)(GLuint fence) = NULL;
static GLboolean (*next_glIsList)(GLuint list) = NULL;
static GLboolean (*next_glIsObjectBufferATI)(GLuint buffer) = NULL;
static GLboolean (*next_glIsProgramNV)(GLuint id) = NULL;
static GLboolean (*next_glIsTexture)(GLuint texture) = NULL;
static GLboolean (*next_glIsTextureEXT)(GLuint texture) = NULL;
static GLboolean (*next_glIsVariantEnabledEXT)(GLuint id, GLenum cap) = NULL;
static void (*next_glLightEnviSGIX)(GLenum pname, GLint param) = NULL;
static void (*next_glLightModelf)(GLenum pname, GLfloat param) = NULL;
static void (*next_glLightModelfv)(GLenum pname, const GLfloat * params) = NULL;
static void (*next_glLightModeli)(GLenum pname, GLint param) = NULL;
static void (*next_glLightModeliv)(GLenum pname, const GLint * params) = NULL;
static void (*next_glLightf)(GLenum light, GLenum pname, GLfloat param) = NULL;
static void (*next_glLightfv)(GLenum light, GLenum pname, const GLfloat * params) = NULL;
static void (*next_glLighti)(GLenum light, GLenum pname, GLint param) = NULL;
static void (*next_glLightiv)(GLenum light, GLenum pname, const GLint * params) = NULL;
static void (*next_glLineStipple)(GLint factor, GLushort pattern) = NULL;
static void (*next_glLineWidth)(GLfloat width) = NULL;
static void (*next_glListBase)(GLuint base) = NULL;
static void (*next_glListParameterfSGIX)(GLuint list, GLenum pname, GLfloat param) = NULL;
static void (*next_glListParameterfvSGIX)(GLuint list, GLenum pname, const GLfloat * params) = NULL;
static void (*next_glListParameteriSGIX)(GLuint list, GLenum pname, GLint param) = NULL;
static void (*next_glListParameterivSGIX)(GLuint list, GLenum pname, const GLint * params) = NULL;
static void (*next_glLoadIdentity)() = NULL;
static void (*next_glLoadIdentityDeformationMapSGIX)(GLbitfield mask) = NULL;
static void (*next_glLoadMatrixd)(const GLdouble * m) = NULL;
static void (*next_glLoadMatrixf)(const GLfloat * m) = NULL;
static void (*next_glLoadName)(GLuint name) = NULL;
static void (*next_glLoadProgramNV)(GLenum target, GLuint id, GLsizei len, const GLubyte * program) = NULL;
static void (*next_glLoadTransposeMatrixd)(const GLdouble * m) = NULL;
static void (*next_glLoadTransposeMatrixdARB)(const GLdouble * m) = NULL;
static void (*next_glLoadTransposeMatrixf)(const GLfloat * m) = NULL;
static void (*next_glLoadTransposeMatrixfARB)(const GLfloat * m) = NULL;
static void (*next_glLockArraysEXT)(GLint first, GLsizei count) = NULL;
static void (*next_glLogicOp)(GLenum opcode) = NULL;
static void (*next_glMap1d)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points) = NULL;
static void (*next_glMap1f)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points) = NULL;
static void (*next_glMap2d)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points) = NULL;
static void (*next_glMap2f)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points) = NULL;
static void (*next_glMapControlPointsNV)(GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid * points) = NULL;
static void (*next_glMapGrid1d)(GLint un, GLdouble u1, GLdouble u2) = NULL;
static void (*next_glMapGrid1f)(GLint un, GLfloat u1, GLfloat u2) = NULL;
static void (*next_glMapGrid2d)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) = NULL;
static void (*next_glMapGrid2f)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) = NULL;
static void (*next_glMapParameterfvNV)(GLenum target, GLenum pname, const GLfloat * params) = NULL;
static void (*next_glMapParameterivNV)(GLenum target, GLenum pname, const GLint * params) = NULL;
static void (*next_glMaterialf)(GLenum face, GLenum pname, GLfloat param) = NULL;
static void (*next_glMaterialfv)(GLenum face, GLenum pname, const GLfloat * params) = NULL;
static void (*next_glMateriali)(GLenum face, GLenum pname, GLint param) = NULL;
static void (*next_glMaterialiv)(GLenum face, GLenum pname, const GLint * params) = NULL;
static void (*next_glMatrixIndexPointerARB)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) = NULL;
static void (*next_glMatrixIndexubvARB)(GLint size, const GLubyte * indices) = NULL;
static void (*next_glMatrixIndexuivARB)(GLint size, const GLuint * indices) = NULL;
static void (*next_glMatrixIndexusvARB)(GLint size, const GLushort * indices) = NULL;
static void (*next_glMatrixMode)(GLenum mode) = NULL;
static void (*next_glMinmax)(GLenum target, GLenum internalformat, GLboolean sink) = NULL;
static void (*next_glMinmaxEXT)(GLenum target, GLenum internalformat, GLboolean sink) = NULL;
static void (*next_glMultMatrixd)(const GLdouble * m) = NULL;
static void (*next_glMultMatrixf)(const GLfloat * m) = NULL;
static void (*next_glMultTransposeMatrixd)(const GLdouble * m) = NULL;
static void (*next_glMultTransposeMatrixdARB)(const GLdouble * m) = NULL;
static void (*next_glMultTransposeMatrixf)(const GLfloat * m) = NULL;
static void (*next_glMultTransposeMatrixfARB)(const GLfloat * m) = NULL;
static void (*next_glMultiDrawArraysEXT)(GLenum mode, GLint * first, GLsizei * count, GLsizei primcount) = NULL;
static void (*next_glMultiDrawElementsEXT)(GLenum mode, const GLsizei * count, GLenum type, const GLvoid* * indices, GLsizei primcount) = NULL;