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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
|
/* $Id: glapi.c,v 1.7 1999/11/12 18:57:50 brianp Exp $ */
/*
* Mesa 3-D graphics library
* Version: 3.3
*
* Copyright (C) 1999 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
* AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <assert.h>
#include <stdlib.h> /* to get NULL */
#include "glapi.h"
#include "glapinoop.h"
#if defined(MULTI_THREAD)
/* XXX to do */
#else
static struct _glapi_table *Dispatch = &__glapi_noop_table;
#define DISPATCH(FUNC) (Dispatch->FUNC)
#endif
void GLAPIENTRY glAccum(GLenum op, GLfloat value)
{
DISPATCH(Accum)(op, value);
}
void GLAPIENTRY glAlphaFunc(GLenum func, GLclampf ref)
{
DISPATCH(AlphaFunc)(func, ref);
}
void GLAPIENTRY glBegin(GLenum mode)
{
DISPATCH(Begin)(mode);
}
void GLAPIENTRY glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap)
{
DISPATCH(Bitmap)(width, height, xorig, yorig, xmove, ymove, bitmap);
}
void GLAPIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor)
{
DISPATCH(BlendFunc)(sfactor, dfactor);
}
void GLAPIENTRY glCallList(GLuint list)
{
DISPATCH(CallList)(list);
}
void GLAPIENTRY glCallLists(GLsizei n, GLenum type, const GLvoid *lists)
{
DISPATCH(CallLists)(n, type, lists);
}
void GLAPIENTRY glClear(GLbitfield mask)
{
DISPATCH(Clear)(mask);
}
void GLAPIENTRY glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
{
DISPATCH(ClearAccum)(red, green, blue, alpha);
}
void GLAPIENTRY glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
{
DISPATCH(ClearColor)(red, green, blue, alpha);
}
void GLAPIENTRY glClearDepth(GLclampd depth)
{
DISPATCH(ClearDepth)(depth);
}
void GLAPIENTRY glClearIndex(GLfloat c)
{
DISPATCH(ClearIndex)(c);
}
void GLAPIENTRY glClearStencil(GLint s)
{
DISPATCH(ClearStencil)(s);
}
void GLAPIENTRY glClipPlane(GLenum plane, const GLdouble *equation)
{
DISPATCH(ClipPlane)(plane, equation);
}
void GLAPIENTRY glColor3b(GLbyte red, GLbyte green, GLbyte blue)
{
DISPATCH(Color3b)(red, green, blue);
}
void GLAPIENTRY glColor3d(GLdouble red, GLdouble green, GLdouble blue)
{
DISPATCH(Color3d)(red, green, blue);
}
void GLAPIENTRY glColor3f(GLfloat red, GLfloat green, GLfloat blue)
{
DISPATCH(Color3f)(red, green, blue);
}
void GLAPIENTRY glColor3i(GLint red, GLint green, GLint blue)
{
DISPATCH(Color3i)(red, green, blue);
}
void GLAPIENTRY glColor3s(GLshort red, GLshort green, GLshort blue)
{
DISPATCH(Color3s)(red, green, blue);
}
void GLAPIENTRY glColor3ub(GLubyte red, GLubyte green, GLubyte blue)
{
DISPATCH(Color3ub)(red, green, blue);
}
void GLAPIENTRY glColor3ui(GLuint red, GLuint green, GLuint blue)
{
DISPATCH(Color3ui)(red, green, blue);
}
void GLAPIENTRY glColor3us(GLushort red, GLushort green, GLushort blue)
{
DISPATCH(Color3us)(red, green, blue);
}
void GLAPIENTRY glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha)
{
DISPATCH(Color4b)(red, green, blue, alpha);
}
void GLAPIENTRY glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
{
DISPATCH(Color4d)(red, green, blue, alpha);
}
void GLAPIENTRY glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
{
DISPATCH(Color4f)(red, green, blue, alpha);
}
void GLAPIENTRY glColor4i(GLint red, GLint green, GLint blue, GLint alpha)
{
DISPATCH(Color4i)(red, green, blue, alpha);
}
void GLAPIENTRY glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha)
{
DISPATCH(Color4s)(red, green, blue, alpha);
}
void GLAPIENTRY glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
{
DISPATCH(Color4ub)(red, green, blue, alpha);
}
void GLAPIENTRY glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha)
{
DISPATCH(Color4ui)(red, green, blue, alpha);
}
void GLAPIENTRY glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha)
{
DISPATCH(Color4us)(red, green, blue, alpha);
}
void GLAPIENTRY glColor3bv(const GLbyte *v)
{
DISPATCH(Color3bv)(v);
}
void GLAPIENTRY glColor3dv(const GLdouble *v)
{
DISPATCH(Color3dv)(v);
}
void GLAPIENTRY glColor3fv(const GLfloat *v)
{
DISPATCH(Color3fv)(v);
}
void GLAPIENTRY glColor3iv(const GLint *v)
{
DISPATCH(Color3iv)(v);
}
void GLAPIENTRY glColor3sv(const GLshort *v)
{
DISPATCH(Color3sv)(v);
}
void GLAPIENTRY glColor3ubv(const GLubyte *v)
{
DISPATCH(Color3ubv)(v);
}
void GLAPIENTRY glColor3uiv(const GLuint *v)
{
DISPATCH(Color3uiv)(v);
}
void GLAPIENTRY glColor3usv(const GLushort *v)
{
DISPATCH(Color3usv)(v);
}
void GLAPIENTRY glColor4bv(const GLbyte *v)
{
DISPATCH(Color4bv)(v);
}
void GLAPIENTRY glColor4dv(const GLdouble *v)
{
DISPATCH(Color4dv)(v);
}
void GLAPIENTRY glColor4fv(const GLfloat *v)
{
DISPATCH(Color4fv)(v);
}
void GLAPIENTRY glColor4iv(const GLint *v)
{
DISPATCH(Color4iv)(v);
}
void GLAPIENTRY glColor4sv(const GLshort *v)
{
DISPATCH(Color4sv)(v);
}
void GLAPIENTRY glColor4ubv(const GLubyte *v)
{
DISPATCH(Color4ubv)(v);
}
void GLAPIENTRY glColor4uiv(const GLuint *v)
{
DISPATCH(Color4uiv)(v);
}
void GLAPIENTRY glColor4usv(const GLushort *v)
{
DISPATCH(Color4usv)(v);
}
void GLAPIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
{
DISPATCH(ColorMask)(red, green, blue, alpha);
}
void GLAPIENTRY glColorMaterial(GLenum face, GLenum mode)
{
DISPATCH(ColorMaterial)(face, mode);
}
void GLAPIENTRY glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
{
DISPATCH(CopyPixels)(x, y, width, height, type);
}
void GLAPIENTRY glCullFace(GLenum mode)
{
DISPATCH(CullFace)(mode);
}
void GLAPIENTRY glDepthFunc(GLenum func)
{
DISPATCH(DepthFunc)(func);
}
void GLAPIENTRY glDepthMask(GLboolean flag)
{
DISPATCH(DepthMask)(flag);
}
void GLAPIENTRY glDepthRange(GLclampd nearVal, GLclampd farVal)
{
DISPATCH(DepthRange)(nearVal, farVal);
}
void GLAPIENTRY glDeleteLists(GLuint list, GLsizei range)
{
DISPATCH(DeleteLists)(list, range);
}
void GLAPIENTRY glDisable(GLenum cap)
{
DISPATCH(Disable)(cap);
}
void GLAPIENTRY glDrawBuffer(GLenum mode)
{
DISPATCH(DrawBuffer)(mode);
}
void GLAPIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
{
DISPATCH(DrawElements)(mode, count, type, indices);
}
void GLAPIENTRY glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
{
DISPATCH(DrawPixels)(width, height, format, type, pixels);
}
void GLAPIENTRY glEnable(GLenum mode)
{
DISPATCH(Enable)(mode);
}
void GLAPIENTRY glEnd(void)
{
DISPATCH(End)();
}
void GLAPIENTRY glEndList(void)
{
DISPATCH(EndList)();
}
void GLAPIENTRY glEvalCoord1d(GLdouble u)
{
DISPATCH(EvalCoord1d)(u);
}
void GLAPIENTRY glEvalCoord1f(GLfloat u)
{
DISPATCH(EvalCoord1f)(u);
}
void GLAPIENTRY glEvalCoord1dv(const GLdouble *u)
{
DISPATCH(EvalCoord1dv)(u);
}
void GLAPIENTRY glEvalCoord1fv(const GLfloat *u)
{
DISPATCH(EvalCoord1fv)(u);
}
void GLAPIENTRY glEvalCoord2d(GLdouble u, GLdouble v)
{
DISPATCH(EvalCoord2d)(u, v);
}
void GLAPIENTRY glEvalCoord2f(GLfloat u, GLfloat v)
{
DISPATCH(EvalCoord2f)(u, v);
}
void GLAPIENTRY glEvalCoord2dv(const GLdouble *u)
{
DISPATCH(EvalCoord2dv)(u);
}
void GLAPIENTRY glEvalCoord2fv(const GLfloat *u)
{
DISPATCH(EvalCoord2fv)(u);
}
void GLAPIENTRY glEvalPoint1(GLint i)
{
DISPATCH(EvalPoint1)(i);
}
void GLAPIENTRY glEvalPoint2(GLint i, GLint j)
{
DISPATCH(EvalPoint2)(i, j);
}
void GLAPIENTRY glEvalMesh1(GLenum mode, GLint i1, GLint i2)
{
DISPATCH(EvalMesh1)(mode, i1, i2);
}
void GLAPIENTRY glEdgeFlag(GLboolean flag)
{
DISPATCH(EdgeFlag)(flag);
}
void GLAPIENTRY glEdgeFlagv(const GLboolean *flag)
{
DISPATCH(EdgeFlagv)(flag);
}
void GLAPIENTRY glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
{
DISPATCH(EvalMesh2)(mode, i1, i2, j1, j2);
}
void GLAPIENTRY glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer)
{
DISPATCH(FeedbackBuffer)(size, type, buffer);
}
void GLAPIENTRY glFinish(void)
{
DISPATCH(Finish)();
}
void GLAPIENTRY glFlush(void)
{
DISPATCH(Flush)();
}
void GLAPIENTRY glFogf(GLenum pname, GLfloat param)
{
DISPATCH(Fogf)(pname, param);
}
void GLAPIENTRY glFogi(GLenum pname, GLint param)
{
DISPATCH(Fogi)(pname, param);
}
void GLAPIENTRY glFogfv(GLenum pname, const GLfloat *params)
{
DISPATCH(Fogfv)(pname, params);
}
void GLAPIENTRY glFogiv(GLenum pname, const GLint *params)
{
DISPATCH(Fogiv)(pname, params);
}
void GLAPIENTRY glFrontFace(GLenum mode)
{
DISPATCH(FrontFace)(mode);
}
void GLAPIENTRY glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval)
{
DISPATCH(Frustum)(left, right, bottom, top, nearval, farval);
}
GLuint GLAPIENTRY glGenLists(GLsizei range)
{
return DISPATCH(GenLists)(range);
}
void GLAPIENTRY glGetBooleanv(GLenum pname, GLboolean *params)
{
DISPATCH(GetBooleanv)(pname, params);
}
void GLAPIENTRY glGetClipPlane(GLenum plane, GLdouble *equation)
{
DISPATCH(GetClipPlane)(plane, equation);
}
void GLAPIENTRY glGetDoublev(GLenum pname, GLdouble *params)
{
DISPATCH(GetDoublev)(pname, params);
}
GLenum GLAPIENTRY glGetError(void)
{
return DISPATCH(GetError)();
}
void GLAPIENTRY glGetFloatv(GLenum pname, GLfloat *params)
{
DISPATCH(GetFloatv)(pname, params);
}
void GLAPIENTRY glGetIntegerv(GLenum pname, GLint *params)
{
DISPATCH(GetIntegerv)(pname, params);
}
void GLAPIENTRY glGetLightfv(GLenum light, GLenum pname, GLfloat *params)
{
DISPATCH(GetLightfv)(light, pname, params);
}
void GLAPIENTRY glGetLightiv(GLenum light, GLenum pname, GLint *params)
{
DISPATCH(GetLightiv)(light, pname, params);
}
void GLAPIENTRY glGetMapdv(GLenum target, GLenum query, GLdouble *v)
{
DISPATCH(GetMapdv)(target, query, v);
}
void GLAPIENTRY glGetMapfv(GLenum target, GLenum query, GLfloat *v)
{
DISPATCH(GetMapfv)(target, query, v);
}
void GLAPIENTRY glGetMapiv(GLenum target, GLenum query, GLint *v)
{
DISPATCH(GetMapiv)(target, query, v);
}
void GLAPIENTRY glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params)
{
DISPATCH(GetMaterialfv)(face, pname, params);
}
void GLAPIENTRY glGetMaterialiv(GLenum face, GLenum pname, GLint *params)
{
DISPATCH(GetMaterialiv)(face, pname, params);
}
void GLAPIENTRY glGetPixelMapfv(GLenum map, GLfloat *values)
{
DISPATCH(GetPixelMapfv)(map, values);
}
void GLAPIENTRY glGetPixelMapuiv(GLenum map, GLuint *values)
{
DISPATCH(GetPixelMapuiv)(map, values);
}
void GLAPIENTRY glGetPixelMapusv(GLenum map, GLushort *values)
{
DISPATCH(GetPixelMapusv)(map, values);
}
void GLAPIENTRY glGetPolygonStipple(GLubyte *mask)
{
DISPATCH(GetPolygonStipple)(mask);
}
const GLubyte * GLAPIENTRY glGetString(GLenum name)
{
return DISPATCH(GetString)(name);
}
void GLAPIENTRY glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params)
{
DISPATCH(GetTexEnvfv)(target, pname, params);
}
void GLAPIENTRY glGetTexEnviv(GLenum target, GLenum pname, GLint *params)
{
DISPATCH(GetTexEnviv)(target, pname, params);
}
void GLAPIENTRY glGetTexGeniv(GLenum target, GLenum pname, GLint *params)
{
DISPATCH(GetTexGeniv)(target, pname, params);
}
void GLAPIENTRY glGetTexGendv(GLenum target, GLenum pname, GLdouble *params)
{
DISPATCH(GetTexGendv)(target, pname, params);
}
void GLAPIENTRY glGetTexGenfv(GLenum target, GLenum pname, GLfloat *params)
{
DISPATCH(GetTexGenfv)(target, pname, params);
}
void GLAPIENTRY glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
{
DISPATCH(GetTexImage)(target, level, format, type, pixels);
}
void GLAPIENTRY glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
{
DISPATCH(GetTexLevelParameterfv)(target, level, pname, params);
}
void GLAPIENTRY glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
{
DISPATCH(GetTexLevelParameteriv)(target, level, pname, params);
}
void GLAPIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
{
DISPATCH(GetTexParameterfv)(target, pname, params);
}
void GLAPIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
{
DISPATCH(GetTexParameteriv)(target, pname, params);
}
void GLAPIENTRY glHint(GLenum target, GLenum mode)
{
DISPATCH(Hint)(target, mode);
}
void GLAPIENTRY glIndexd(GLdouble c)
{
DISPATCH(Indexd)(c);
}
void GLAPIENTRY glIndexdv(const GLdouble *c)
{
DISPATCH(Indexdv)(c);
}
void GLAPIENTRY glIndexf(GLfloat c)
{
DISPATCH(Indexf)(c);
}
void GLAPIENTRY glIndexfv(const GLfloat *c)
{
DISPATCH(Indexfv)(c);
}
void GLAPIENTRY glIndexi(GLint c)
{
DISPATCH(Indexi)(c);
}
void GLAPIENTRY glIndexiv(const GLint *c)
{
DISPATCH(Indexiv)(c);
}
void GLAPIENTRY glIndexs(GLshort c)
{
DISPATCH(Indexs)(c);
}
void GLAPIENTRY glIndexsv(const GLshort *c)
{
DISPATCH(Indexsv)(c);
}
void GLAPIENTRY glIndexub(GLubyte c)
{
DISPATCH(Indexub)(c);
}
void GLAPIENTRY glIndexubv(const GLubyte *c)
{
DISPATCH(Indexubv)(c);
}
void GLAPIENTRY glIndexMask(GLuint mask)
{
DISPATCH(IndexMask)(mask);
}
void GLAPIENTRY glInitNames(void)
{
DISPATCH(InitNames)();
}
void GLAPIENTRY glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer)
{
DISPATCH(InterleavedArrays)(format, stride, pointer);
}
GLboolean GLAPIENTRY glIsEnabled(GLenum cap)
{
return DISPATCH(IsEnabled)(cap);
}
GLboolean GLAPIENTRY glIsList(GLuint list)
{
return DISPATCH(IsList)(list);
}
GLboolean GLAPIENTRY glIsTexture(GLuint texture)
{
return DISPATCH(IsTexture)(texture);
}
void GLAPIENTRY glLightf(GLenum light, GLenum pname, GLfloat param)
{
DISPATCH(Lightf)(light, pname, param);
}
void GLAPIENTRY glLighti(GLenum light, GLenum pname, GLint param)
{
DISPATCH(Lighti)(light, pname, param);
}
void GLAPIENTRY glLightfv(GLenum light, GLenum pname, const GLfloat *params)
{
DISPATCH(Lightfv)(light, pname, params);
}
void GLAPIENTRY glLightiv(GLenum light, GLenum pname, const GLint *params)
{
DISPATCH(Lightiv)(light, pname, params);
}
void GLAPIENTRY glLightModelf(GLenum pname, GLfloat param)
{
DISPATCH(LightModelf)(pname, param);
}
void GLAPIENTRY glLightModeli(GLenum pname, GLint param)
{
DISPATCH(LightModeli)(pname, param);
}
void GLAPIENTRY glLightModelfv(GLenum pname, const GLfloat *params)
{
DISPATCH(LightModelfv)(pname, params);
}
void GLAPIENTRY glLightModeliv(GLenum pname, const GLint *params)
{
DISPATCH(LightModeliv)(pname, params);
}
void GLAPIENTRY glLineWidth(GLfloat width)
{
DISPATCH(LineWidth)(width);
}
void GLAPIENTRY glLineStipple(GLint factor, GLushort pattern)
{
DISPATCH(LineStipple)(factor, pattern);
}
void GLAPIENTRY glListBase(GLuint base)
{
DISPATCH(ListBase)(base);
}
void GLAPIENTRY glLoadIdentity(void)
{
DISPATCH(LoadIdentity)();
}
void GLAPIENTRY glLoadMatrixd(const GLdouble *m)
{
DISPATCH(LoadMatrixd)(m);
}
void GLAPIENTRY glLoadMatrixf(const GLfloat *m)
{
DISPATCH(LoadMatrixf)(m);
}
void GLAPIENTRY glLoadName(GLuint name)
{
DISPATCH(LoadName)(name);
}
void GLAPIENTRY glLogicOp(GLenum opcode)
{
DISPATCH(LogicOp)(opcode);
}
void GLAPIENTRY glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points)
{
DISPATCH(Map1d)(target, u1, u2, stride, order, points);
}
void GLAPIENTRY glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points)
{
DISPATCH(Map1f)(target, u1, u2, stride, order, points);
}
void GLAPIENTRY glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points)
{
DISPATCH(Map2d)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
}
void GLAPIENTRY glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points)
{
DISPATCH(Map2f)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
}
void GLAPIENTRY glMapGrid1d(GLint un, GLdouble u1, GLdouble u2)
{
DISPATCH(MapGrid1d)(un, u1, u2);
}
void GLAPIENTRY glMapGrid1f(GLint un, GLfloat u1, GLfloat u2)
{
DISPATCH(MapGrid1f)(un, u1, u2);
}
void GLAPIENTRY glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
{
DISPATCH(MapGrid2d)(un, u1, u2, vn, v1, v2);
}
void GLAPIENTRY glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
{
DISPATCH(MapGrid2f)(un, u1, u2, vn, v1, v2);
}
void GLAPIENTRY glMaterialf(GLenum face, GLenum pname, GLfloat param)
{
DISPATCH(Materialf)(face, pname, param);
}
void GLAPIENTRY glMateriali(GLenum face, GLenum pname, GLint param)
{
DISPATCH(Materiali)(face, pname, param);
}
void GLAPIENTRY glMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
{
DISPATCH(Materialfv)(face, pname, params);
}
void GLAPIENTRY glMaterialiv(GLenum face, GLenum pname, const GLint *params)
{
DISPATCH(Materialiv)(face, pname, params);
}
void GLAPIENTRY glMatrixMode(GLenum mode)
{
DISPATCH(MatrixMode)(mode);
}
void GLAPIENTRY glMultMatrixd(const GLdouble *m)
{
DISPATCH(MultMatrixd)(m);
}
void GLAPIENTRY glMultMatrixf(const GLfloat *m)
{
DISPATCH(MultMatrixf)(m);
}
void GLAPIENTRY glNewList(GLuint list, GLenum mode)
{
DISPATCH(NewList)(list, mode);
}
void GLAPIENTRY glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz)
{
DISPATCH(Normal3b)(nx, ny, nz);
}
void GLAPIENTRY glNormal3bv(const GLbyte *v)
{
DISPATCH(Normal3bv)(v);
}
void GLAPIENTRY glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz)
{
DISPATCH(Normal3d)(nx, ny, nz);
}
void GLAPIENTRY glNormal3dv(const GLdouble *v)
{
DISPATCH(Normal3dv)(v);
}
void GLAPIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
{
DISPATCH(Normal3f)(nx, ny, nz);
}
void GLAPIENTRY glNormal3fv(const GLfloat *v)
{
DISPATCH(Normal3fv)(v);
}
void GLAPIENTRY glNormal3i(GLint nx, GLint ny, GLint nz)
{
DISPATCH(Normal3i)(nx, ny, nz);
}
void GLAPIENTRY glNormal3iv(const GLint *v)
{
DISPATCH(Normal3iv)(v);
}
void GLAPIENTRY glNormal3s(GLshort nx, GLshort ny, GLshort nz)
{
DISPATCH(Normal3s)(nx, ny, nz);
}
void GLAPIENTRY glNormal3sv(const GLshort *v)
{
DISPATCH(Normal3sv)(v);
}
void GLAPIENTRY glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval)
{
DISPATCH(Ortho)(left, right, bottom, top, nearval, farval);
}
void GLAPIENTRY glPassThrough(GLfloat token)
{
DISPATCH(PassThrough)(token);
}
void GLAPIENTRY glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values)
{
DISPATCH(PixelMapfv)(map, mapsize, values);
}
void GLAPIENTRY glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values)
{
DISPATCH(PixelMapuiv)(map, mapsize, values);
}
void GLAPIENTRY glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values)
{
DISPATCH(PixelMapusv)(map, mapsize, values);
}
void GLAPIENTRY glPixelStoref(GLenum pname, GLfloat param)
{
DISPATCH(PixelStoref)(pname, param);
}
void GLAPIENTRY glPixelStorei(GLenum pname, GLint param)
{
DISPATCH(PixelStorei)(pname, param);
}
void GLAPIENTRY glPixelTransferf(GLenum pname, GLfloat param)
{
DISPATCH(PixelTransferf)(pname, param);
}
void GLAPIENTRY glPixelTransferi(GLenum pname, GLint param)
{
DISPATCH(PixelTransferi)(pname, param);
}
void GLAPIENTRY glPixelZoom(GLfloat xfactor, GLfloat yfactor)
{
DISPATCH(PixelZoom)(xfactor, yfactor);
}
void GLAPIENTRY glPointSize(GLfloat size)
{
DISPATCH(PointSize)(size);
}
void GLAPIENTRY glPolygonMode(GLenum face, GLenum mode)
{
DISPATCH(PolygonMode)(face, mode);
}
void GLAPIENTRY glPolygonStipple(const GLubyte *pattern)
{
DISPATCH(PolygonStipple)(pattern);
}
void GLAPIENTRY glPopAttrib(void)
{
DISPATCH(PopAttrib)();
}
void GLAPIENTRY glPopMatrix(void)
{
DISPATCH(PopMatrix)();
}
void GLAPIENTRY glPopName(void)
{
DISPATCH(PopName)();
}
void GLAPIENTRY glPushAttrib(GLbitfield mask)
{
DISPATCH(PushAttrib)(mask);
}
void GLAPIENTRY glPushMatrix(void)
{
DISPATCH(PushMatrix)();
}
void GLAPIENTRY glPushName(GLuint name)
{
DISPATCH(PushName)(name);
}
void GLAPIENTRY glRasterPos2d(GLdouble x, GLdouble y)
{
DISPATCH(RasterPos2d)(x, y);
}
void GLAPIENTRY glRasterPos2f(GLfloat x, GLfloat y)
{
DISPATCH(RasterPos2f)(x, y);
}
void GLAPIENTRY glRasterPos2i(GLint x, GLint y)
{
DISPATCH(RasterPos2i)(x, y);
}
void GLAPIENTRY glRasterPos2s(GLshort x, GLshort y)
{
DISPATCH(RasterPos2s)(x, y);
}
void GLAPIENTRY glRasterPos3d(GLdouble x, GLdouble y, GLdouble z)
{
DISPATCH(RasterPos3d)(x, y, z);
}
void GLAPIENTRY glRasterPos3f(GLfloat x, GLfloat y, GLfloat z)
{
DISPATCH(RasterPos3f)(x, y, z);
}
void GLAPIENTRY glRasterPos3i(GLint x, GLint y, GLint z)
{
DISPATCH(RasterPos3i)(x, y, z);
}
void GLAPIENTRY glRasterPos3s(GLshort x, GLshort y, GLshort z)
{
DISPATCH(RasterPos3s)(x, y, z);
}
void GLAPIENTRY glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
{
DISPATCH(RasterPos4d)(x, y, z, w);
}
void GLAPIENTRY glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
{
DISPATCH(RasterPos4f)(x, y, z, w);
}
void GLAPIENTRY glRasterPos4i(GLint x, GLint y, GLint z, GLint w)
{
DISPATCH(RasterPos4i)(x, y, z, w);
}
void GLAPIENTRY glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w)
{
DISPATCH(RasterPos4s)(x, y, z, w);
}
void GLAPIENTRY glRasterPos2dv(const GLdouble *v)
{
DISPATCH(RasterPos2dv)(v);
}
void GLAPIENTRY glRasterPos2fv(const GLfloat *v)
{
DISPATCH(RasterPos2fv)(v);
}
void GLAPIENTRY glRasterPos2iv(const GLint *v)
{
DISPATCH(RasterPos2iv)(v);
}
void GLAPIENTRY glRasterPos2sv(const GLshort *v)
{
DISPATCH(RasterPos2sv)(v);
}
void GLAPIENTRY glRasterPos3dv(const GLdouble *v)
{
DISPATCH(RasterPos3dv)(v);
}
void GLAPIENTRY glRasterPos3fv(const GLfloat *v)
{
DISPATCH(RasterPos3fv)(v);
}
void GLAPIENTRY glRasterPos3iv(const GLint *v)
{
DISPATCH(RasterPos3iv)(v);
}
void GLAPIENTRY glRasterPos3sv(const GLshort *v)
{
DISPATCH(RasterPos3sv)(v);
}
void GLAPIENTRY glRasterPos4dv(const GLdouble *v)
{
DISPATCH(RasterPos4dv)(v);
}
void GLAPIENTRY glRasterPos4fv(const GLfloat *v)
{
DISPATCH(RasterPos4fv)(v);
}
void GLAPIENTRY glRasterPos4iv(const GLint *v)
{
DISPATCH(RasterPos4iv)(v);
}
void GLAPIENTRY glRasterPos4sv(const GLshort *v)
{
DISPATCH(RasterPos4sv)(v);
}
void GLAPIENTRY glReadBuffer(GLenum mode)
{
DISPATCH(ReadBuffer)(mode);
}
void GLAPIENTRY glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
{
DISPATCH(ReadPixels)(x, y, width, height, format, type, pixels);
}
void GLAPIENTRY glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
{
DISPATCH(Rectd)(x1, y1, x2, y2);
}
void GLAPIENTRY glRectdv(const GLdouble *v1, const GLdouble *v2)
{
DISPATCH(Rectdv)(v1, v2);
}
void GLAPIENTRY glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
{
DISPATCH(Rectf)(x1, y1, x2, y2);
}
void GLAPIENTRY glRectfv(const GLfloat *v1, const GLfloat *v2)
{
DISPATCH(Rectfv)(v1, v2);
}
void GLAPIENTRY glRecti(GLint x1, GLint y1, GLint x2, GLint y2)
{
DISPATCH(Recti)(x1, y1, x2, y2);
}
void GLAPIENTRY glRectiv(const GLint *v1, const GLint *v2)
{
DISPATCH(Rectiv)(v1, v2);
}
void GLAPIENTRY glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2)
{
DISPATCH(Rects)(x1, y1, x2, y2);
}
void GLAPIENTRY glRectsv(const GLshort *v1, const GLshort *v2)
{
DISPATCH(Rectsv)(v1, v2);
}
GLint GLAPIENTRY glRenderMode(GLenum mode)
{
return DISPATCH(RenderMode)(mode);
}
void GLAPIENTRY glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
{
DISPATCH(Rotated)(angle, x, y, z);
}
void GLAPIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
{
DISPATCH(Rotatef)(angle, x, y, z);
}
void GLAPIENTRY glSelectBuffer(GLsizei size, GLuint *buffer)
{
DISPATCH(SelectBuffer)(size, buffer);
}
void GLAPIENTRY glScaled(GLdouble x, GLdouble y, GLdouble z)
{
DISPATCH(Scaled)(x, y, z);
}
void GLAPIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z)
{
DISPATCH(Scalef)(x, y, z);
}
void GLAPIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
{
DISPATCH(Scissor)(x, y, width, height);
}
void GLAPIENTRY glShadeModel(GLenum mode)
{
DISPATCH(ShadeModel)(mode);
}
void GLAPIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask)
{
DISPATCH(StencilFunc)(func, ref, mask);
}
void GLAPIENTRY glStencilMask(GLuint mask)
{
DISPATCH(StencilMask)(mask);
}
void GLAPIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
{
DISPATCH(StencilOp)(fail, zfail, zpass);
}
void GLAPIENTRY glTexCoord1d(GLdouble s)
{
DISPATCH(TexCoord1d)(s);
}
void GLAPIENTRY glTexCoord1f(GLfloat s)
{
DISPATCH(TexCoord1f)(s);
}
void GLAPIENTRY glTexCoord1i(GLint s)
{
DISPATCH(TexCoord1i)(s);
}
void GLAPIENTRY glTexCoord1s(GLshort s)
{
DISPATCH(TexCoord1s)(s);
}
void GLAPIENTRY glTexCoord2d(GLdouble s, GLdouble t)
{
DISPATCH(TexCoord2d)(s, t);
}
void GLAPIENTRY glTexCoord2f(GLfloat s, GLfloat t)
{
DISPATCH(TexCoord2f)(s, t);
}
void GLAPIENTRY glTexCoord2s(GLshort s, GLshort t)
{
DISPATCH(TexCoord2s)(s, t);
}
void GLAPIENTRY glTexCoord2i(GLint s, GLint t)
{
DISPATCH(TexCoord2i)(s, t);
}
void GLAPIENTRY glTexCoord3d(GLdouble s, GLdouble t, GLdouble r)
{
DISPATCH(TexCoord3d)(s, t, r);
}
void GLAPIENTRY glTexCoord3f(GLfloat s, GLfloat t, GLfloat r)
{
DISPATCH(TexCoord3f)(s, t, r);
}
void GLAPIENTRY glTexCoord3i(GLint s, GLint t, GLint r)
{
DISPATCH(TexCoord3i)(s, t, r);
}
void GLAPIENTRY glTexCoord3s(GLshort s, GLshort t, GLshort r)
{
DISPATCH(TexCoord3s)(s, t, r);
}
void GLAPIENTRY glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q)
{
DISPATCH(TexCoord4d)(s, t, r, q);
}
void GLAPIENTRY glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q)
{
DISPATCH(TexCoord4f)(s, t, r, q);
}
void GLAPIENTRY glTexCoord4i(GLint s, GLint t, GLint r, GLint q)
{
DISPATCH(TexCoord4i)(s, t, r, q);
}
void GLAPIENTRY glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q)
{
DISPATCH(TexCoord4s)(s, t, r, q);
}
void GLAPIENTRY glTexCoord1dv(const GLdouble *v)
{
DISPATCH(TexCoord1dv)(v);
}
void GLAPIENTRY glTexCoord1fv(const GLfloat *v)
{
DISPATCH(TexCoord1fv)(v);
}
void GLAPIENTRY glTexCoord1iv(const GLint *v)
{
DISPATCH(TexCoord1iv)(v);
}
void GLAPIENTRY glTexCoord1sv(const GLshort *v)
{
DISPATCH(TexCoord1sv)(v);
}
void GLAPIENTRY glTexCoord2dv(const GLdouble *v)
{
DISPATCH(TexCoord2dv)(v);
}
void GLAPIENTRY glTexCoord2fv(const GLfloat *v)
{
DISPATCH(TexCoord2fv)(v);
}
void GLAPIENTRY glTexCoord2iv(const GLint *v)
{
DISPATCH(TexCoord2iv)(v);
}
void GLAPIENTRY glTexCoord2sv(const GLshort *v)
{
DISPATCH(TexCoord2sv)(v);
}
void GLAPIENTRY glTexCoord3dv(const GLdouble *v)
{
DISPATCH(TexCoord3dv)(v);
}
void GLAPIENTRY glTexCoord3fv(const GLfloat *v)
{
DISPATCH(TexCoord3fv)(v);
}
void GLAPIENTRY glTexCoord3iv(const GLint *v)
{
DISPATCH(TexCoord3iv)(v);
}
void GLAPIENTRY glTexCoord3sv(const GLshort *v)
{
DISPATCH(TexCoord3sv)(v);
}
void GLAPIENTRY glTexCoord4dv(const GLdouble *v)
{
DISPATCH(TexCoord4dv)(v);
}
void GLAPIENTRY glTexCoord4fv(const GLfloat *v)
{
DISPATCH(TexCoord4fv)(v);
}
void GLAPIENTRY glTexCoord4iv(const GLint *v)
{
DISPATCH(TexCoord4iv)(v);
}
void GLAPIENTRY glTexCoord4sv(const GLshort *v)
{
DISPATCH(TexCoord4sv)(v);
}
void GLAPIENTRY glTexGend(GLenum coord, GLenum pname, GLdouble param)
{
DISPATCH(TexGend)(coord, pname, param);
}
void GLAPIENTRY glTexGendv(GLenum coord, GLenum pname, const GLdouble *params)
{
DISPATCH(TexGendv)(coord, pname, params);
}
void GLAPIENTRY glTexGenf(GLenum coord, GLenum pname, GLfloat param)
{
DISPATCH(TexGenf)(coord, pname, param);
}
void GLAPIENTRY glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params)
{
DISPATCH(TexGenfv)(coord, pname, params);
}
void GLAPIENTRY glTexGeni(GLenum coord, GLenum pname, GLint param)
{
DISPATCH(TexGeni)(coord, pname, param);
}
void GLAPIENTRY glTexGeniv(GLenum coord, GLenum pname, const GLint *params)
{
DISPATCH(TexGeniv)(coord, pname, params);
}
void GLAPIENTRY glTexEnvf(GLenum target, GLenum pname, GLfloat param)
{
DISPATCH(TexEnvf)(target, pname, param);
}
void GLAPIENTRY glTexEnvfv(GLenum target, GLenum pname, const GLfloat *param)
{
DISPATCH(TexEnvfv)(target, pname, param);
}
void GLAPIENTRY glTexEnvi(GLenum target, GLenum pname, GLint param)
{
DISPATCH(TexEnvi)(target, pname, param);
}
void GLAPIENTRY glTexEnviv(GLenum target, GLenum pname, const GLint *param)
{
DISPATCH(TexEnviv)(target, pname, param);
}
void GLAPIENTRY glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
{
DISPATCH(TexImage1D)(target, level, internalformat, width, border, format, type, pixels);
}
void GLAPIENTRY glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
{
DISPATCH(TexImage2D)(target, level, internalformat, width, height, border, format, type, pixels);
}
void GLAPIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param)
{
DISPATCH(TexParameterf)(target, pname, param);
}
void GLAPIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
{
DISPATCH(TexParameterfv)(target, pname, params);
}
void GLAPIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param)
{
DISPATCH(TexParameteri)(target, pname, param);
}
void GLAPIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
{
DISPATCH(TexParameteriv)(target, pname, params);
}
void GLAPIENTRY glTranslated(GLdouble x, GLdouble y, GLdouble z)
{
DISPATCH(Translated)(x, y, z);
}
void GLAPIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z)
{
DISPATCH(Translatef)(x, y, z);
}
void GLAPIENTRY glVertex2d(GLdouble x, GLdouble y)
{
DISPATCH(Vertex2d)(x, y);
}
void GLAPIENTRY glVertex2dv(const GLdouble *v)
{
DISPATCH(Vertex2dv)(v);
}
void GLAPIENTRY glVertex2f(GLfloat x, GLfloat y)
{
DISPATCH(Vertex2f)(x, y);
}
void GLAPIENTRY glVertex2fv(const GLfloat *v)
{
DISPATCH(Vertex2fv)(v);
}
void GLAPIENTRY glVertex2i(GLint x, GLint y)
{
DISPATCH(Vertex2i)(x, y);
}
void GLAPIENTRY glVertex2iv(const GLint *v)
{
DISPATCH(Vertex2iv)(v);
}
void GLAPIENTRY glVertex2s(GLshort x, GLshort y)
{
DISPATCH(Vertex2s)(x, y);
}
void GLAPIENTRY glVertex2sv(const GLshort *v)
{
DISPATCH(Vertex2sv)(v);
}
void GLAPIENTRY glVertex3d(GLdouble x, GLdouble y, GLdouble z)
{
DISPATCH(Vertex3d)(x, y, z);
}
void GLAPIENTRY glVertex3dv(const GLdouble *v)
{
DISPATCH(Vertex3dv)(v);
}
void GLAPIENTRY glVertex3f(GLfloat x, GLfloat y, GLfloat z)
{
DISPATCH(Vertex3f)(x, y, z);
}
void GLAPIENTRY glVertex3fv(const GLfloat *v)
{
DISPATCH(Vertex3fv)(v);
}
void GLAPIENTRY glVertex3i(GLint x, GLint y, GLint z)
{
DISPATCH(Vertex3i)(x, y, z);
}
void GLAPIENTRY glVertex3iv(const GLint *v)
{
DISPATCH(Vertex3iv)(v);
}
void GLAPIENTRY glVertex3s(GLshort x, GLshort y, GLshort z)
{
DISPATCH(Vertex3s)(x, y, z);
}
void GLAPIENTRY glVertex3sv(const GLshort *v)
{
DISPATCH(Vertex3sv)(v);
}
void GLAPIENTRY glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
{
DISPATCH(Vertex4d)(x, y, z, w);
}
void GLAPIENTRY glVertex4dv(const GLdouble *v)
{
DISPATCH(Vertex4dv)(v);
}
void GLAPIENTRY glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
{
DISPATCH(Vertex4f)(x, y, z, w);
}
void GLAPIENTRY glVertex4fv(const GLfloat *v)
{
DISPATCH(Vertex4fv)(v);
}
void GLAPIENTRY glVertex4i(GLint x, GLint y, GLint z, GLint w)
{
DISPATCH(Vertex4i)(x, y, z, w);
}
void GLAPIENTRY glVertex4iv(const GLint *v)
{
DISPATCH(Vertex4iv)(v);
}
void GLAPIENTRY glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w)
{
DISPATCH(Vertex4s)(x, y, z, w);
}
void GLAPIENTRY glVertex4sv(const GLshort *v)
{
DISPATCH(Vertex4sv)(v);
}
void GLAPIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
{
DISPATCH(Viewport)(x, y, width, height);
}
#ifdef _GLAPI_VERSION_1_1
GLboolean GLAPIENTRY glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences)
{
return DISPATCH(AreTexturesResident)(n, textures, residences);
}
void GLAPIENTRY glArrayElement(GLint i)
{
DISPATCH(ArrayElement)(i);
}
void GLAPIENTRY glBindTexture(GLenum target, GLuint texture)
{
DISPATCH(BindTexture)(target, texture);
}
void GLAPIENTRY glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
{
DISPATCH(ColorPointer)(size, type, stride, ptr);
}
void GLAPIENTRY glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
{
DISPATCH(CopyTexImage1D)(target, level, internalformat, x, y, width, border);
}
void GLAPIENTRY glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
{
DISPATCH(CopyTexImage2D)(target, level, internalformat, x, y, width, height, border);
}
void GLAPIENTRY glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
{
DISPATCH(CopyTexSubImage1D)(target, level, xoffset, x, y, width);
}
void GLAPIENTRY glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
{
DISPATCH(CopyTexSubImage2D)(target, level, xoffset, yoffset, x, y, width, height);
}
void GLAPIENTRY glDeleteTextures(GLsizei n, const GLuint *textures)
{
DISPATCH(DeleteTextures)(n, textures);
}
void GLAPIENTRY glDisableClientState(GLenum cap)
{
DISPATCH(DisableClientState)(cap);
}
void GLAPIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count)
{
DISPATCH(DrawArrays)(mode, first, count);
}
void GLAPIENTRY glEdgeFlagPointer(GLsizei stride, const GLvoid *ptr)
{
DISPATCH(EdgeFlagPointer)(stride, ptr);
}
void GLAPIENTRY glEnableClientState(GLenum cap)
{
DISPATCH(EnableClientState)(cap);
}
void GLAPIENTRY glGenTextures(GLsizei n, GLuint *textures)
{
DISPATCH(GenTextures)(n, textures);
}
void GLAPIENTRY glGetPointerv(GLenum pname, GLvoid **params)
{
DISPATCH(GetPointerv)(pname, params);
}
void GLAPIENTRY glIndexPointer(GLenum type, GLsizei stride, const GLvoid *ptr)
{
DISPATCH(IndexPointer)(type, stride, ptr);
}
void GLAPIENTRY glNormalPointer(GLenum type, GLsizei stride, const GLvoid *ptr)
{
DISPATCH(NormalPointer)(type, stride, ptr);
}
void GLAPIENTRY glPolygonOffset(GLfloat factor, GLfloat units)
{
DISPATCH(PolygonOffset)(factor, units);
}
void GLAPIENTRY glPopClientAttrib(void)
{
DISPATCH(PopClientAttrib)();
}
void GLAPIENTRY glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLclampf *priorities)
{
DISPATCH(PrioritizeTextures)(n, textures, priorities);
}
void GLAPIENTRY glPushClientAttrib(GLbitfield mask)
{
DISPATCH(PushClientAttrib)(mask);
}
void GLAPIENTRY glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
{
DISPATCH(TexCoordPointer)(size, type, stride, ptr);
}
void GLAPIENTRY glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
{
DISPATCH(TexSubImage1D)(target, level, xoffset, width, format, type, pixels);
}
void GLAPIENTRY glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
{
DISPATCH(TexSubImage2D)(target, level, xoffset, yoffset, width, height, format, type, pixels);
}
void GLAPIENTRY glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
{
DISPATCH(VertexPointer)(size, type, stride, ptr);
}
#endif /*_GLAPI_VERSION_1_1*/
#ifdef _GLAPI_VERSION_1_2
void GLAPIENTRY glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
{
DISPATCH(CopyTexSubImage3D)(target, level, xoffset, yoffset, zoffset, x, y, width, height);
}
void GLAPIENTRY glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
{
DISPATCH(DrawRangeElements)(mode, start, end, count, type, indices);
}
void GLAPIENTRY glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
{
DISPATCH(TexImage3D)(target, level, internalformat, width, height, depth, border, format, type, pixels);
}
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)
{
DISPATCH(TexSubImage3D)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
}
#ifdef _GLAPI_ARB_imaging
void GLAPIENTRY glBlendColor(GLclampf r, GLclampf g, GLclampf b, GLclampf a)
{
DISPATCH(BlendColor)(r, g, b, a);
}
void GLAPIENTRY glBlendEquation(GLenum mode)
{
DISPATCH(BlendEquation)(mode);
}
void GLAPIENTRY glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data)
{
DISPATCH(ColorSubTable)(target, start, count, format, type, data);
}
void GLAPIENTRY glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table)
{
DISPATCH(ColorTable)(target, internalformat, width, format, type, table);
}
void GLAPIENTRY glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params)
{
DISPATCH(ColorTableParameterfv)(target, pname, params);
}
void GLAPIENTRY glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params)
{
DISPATCH(ColorTableParameteriv)(target, pname, params);
}
void GLAPIENTRY glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image)
{
DISPATCH(ConvolutionFilter1D)(target, internalformat, width, format, type, image);
}
void GLAPIENTRY glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image)
{
DISPATCH(ConvolutionFilter2D)(target, internalformat, width, height, format, type, image);
}
void GLAPIENTRY glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params)
{
DISPATCH(ConvolutionParameterf)(target, pname, params);
}
void GLAPIENTRY glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params)
{
DISPATCH(ConvolutionParameterfv)(target, pname, params);
}
void GLAPIENTRY glConvolutionParameteri(GLenum target, GLenum pname, GLint params)
{
DISPATCH(ConvolutionParameteri)(target, pname, params);
}
void GLAPIENTRY glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params)
{
DISPATCH(ConvolutionParameteriv)(target, pname, params);
}
void GLAPIENTRY glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width)
{
DISPATCH(CopyColorSubTable)(target, start, x, y, width);
}
void GLAPIENTRY glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width)
{
DISPATCH(CopyColorTable)(target, internalformat, x, y, width);
}
void GLAPIENTRY glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width)
{
DISPATCH(CopyConvolutionFilter1D)(target, internalformat, x, y, width);
}
void GLAPIENTRY glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height)
{
DISPATCH(CopyConvolutionFilter2D)(target, internalformat, x, y, width, height);
}
void GLAPIENTRY glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table)
{
DISPATCH(GetColorTable)(target, format, type, table);
}
void GLAPIENTRY glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params)
{
DISPATCH(GetColorTableParameterfv)(target, pname, params);
}
void GLAPIENTRY glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params)
{
DISPATCH(GetColorTableParameteriv)(target, pname, params);
}
void GLAPIENTRY glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image)
{
DISPATCH(GetConvolutionFilter)(target, format, type, image);
}
void GLAPIENTRY glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params)
{
DISPATCH(GetConvolutionParameterfv)(target, pname, params);
}
void GLAPIENTRY glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params)
{
DISPATCH(GetConvolutionParameteriv)(target, pname, params);
}
void GLAPIENTRY glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values)
{
DISPATCH(GetHistogram)(target, reset, format, type, values);
}
void GLAPIENTRY glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params)
{
DISPATCH(GetHistogramParameterfv)(target, pname, params);
}
void GLAPIENTRY glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params)
{
DISPATCH(GetHistogramParameteriv)(target, pname, params);
}
void GLAPIENTRY glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values)
{
DISPATCH(GetMinmax)(target, reset, format, types, values);
}
void GLAPIENTRY glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params)
{
DISPATCH(GetMinmaxParameterfv)(target, pname, params);
}
void GLAPIENTRY glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params)
{
DISPATCH(GetMinmaxParameteriv)(target, pname, params);
}
void GLAPIENTRY glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span)
{
DISPATCH(GetSeparableFilter)(target, format, type, row, column, span);
}
void GLAPIENTRY glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink)
{
DISPATCH(Histogram)(target, width, internalformat, sink);
}
void GLAPIENTRY glMinmax(GLenum target, GLenum internalformat, GLboolean sink)
{
DISPATCH(Minmax)(target, internalformat, sink);
}
void GLAPIENTRY glResetMinmax(GLenum target)
{
DISPATCH(ResetMinmax)(target);
}
void GLAPIENTRY glResetHistogram(GLenum target)
{
DISPATCH(ResetHistogram)(target);
}
void GLAPIENTRY glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column)
{
DISPATCH(SeparableFilter2D)(target, internalformat, width, height, format, type, row, column);
}
#endif /*_GLAPI_ARB_imaging*/
#endif /*_GLAPI_VERSION_1_2*/
/***
*** Extension functions
***/
#ifdef _GLAPI_EXT_blend_minmax
void GLAPIENTRY glBlendEquationEXT(GLenum mode)
{
DISPATCH(BlendEquationEXT)(mode);
}
#endif
#ifdef _GLAPI_EXT_blend_color
void GLAPIENTRY glBlendColorEXT(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
{
DISPATCH(BlendColorEXT)(red, green, blue, alpha);
}
#endif
#ifdef _GLAPI_EXT_polygon_offset
void GLAPIENTRY glPolygonOffsetEXT(GLfloat factor, GLfloat bias)
{
DISPATCH(PolygonOffsetEXT)(factor, bias);
}
#endif
#ifdef _GLAPI_EXT_vertex_array
void GLAPIENTRY glVertexPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr)
{
(void) count;
DISPATCH(VertexPointer)(size, type, stride, ptr);
}
void GLAPIENTRY glNormalPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr)
{
(void) count;
DISPATCH(NormalPointer)(type, stride, ptr);
}
void GLAPIENTRY glColorPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr)
{
(void) count;
DISPATCH(ColorPointer)(size, type, stride, ptr);
}
void GLAPIENTRY glIndexPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr)
{
(void) count;
DISPATCH(IndexPointer)(type, stride, ptr);
}
void GLAPIENTRY glTexCoordPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr)
{
(void) count;
DISPATCH(ColorPointer)(size, type, stride, ptr);
}
void GLAPIENTRY glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, const GLboolean *ptr)
{
(void) count;
DISPATCH(EdgeFlagPointer)(stride, ptr);
}
void GLAPIENTRY glGetPointervEXT(GLenum pname, void **params)
{
DISPATCH(GetPointerv)(pname, params);
}
void GLAPIENTRY glArrayElementEXT(GLint i)
{
DISPATCH(ArrayElement)(i);
}
void GLAPIENTRY glDrawArraysEXT(GLenum mode, GLint first, GLsizei count)
{
DISPATCH(DrawArrays)(mode, first, count);
}
#endif /* GL_EXT_vertex_arrays */
#ifdef _GLAPI_EXT_texture_object
void GLAPIENTRY glGenTexturesEXT(GLsizei n, GLuint *textures)
{
DISPATCH(GenTextures)(n, textures);
}
void GLAPIENTRY glDeleteTexturesEXT(GLsizei n, const GLuint *texture)
{
DISPATCH(DeleteTextures)(n, texture);
}
void GLAPIENTRY glBindTextureEXT(GLenum target, GLuint texture)
{
DISPATCH(BindTexture)(target, texture);
}
void GLAPIENTRY glPrioritizeTexturesEXT(GLsizei n, const GLuint *textures, const GLclampf *priorities)
{
DISPATCH(PrioritizeTextures)(n, textures, priorities);
}
GLboolean GLAPIENTRY glAreTexturesResidentEXT(GLsizei n, const GLuint *textures, GLboolean *residences)
{
DISPATCH(AreTexturesResident)(n, textures, residences);
return GL_FALSE;
}
GLboolean GLAPIENTRY glIsTextureEXT(GLuint texture)
{
DISPATCH(IsTexture)(texture);
return GL_FALSE;
}
#endif /* GL_EXT_texture_object */
#ifdef _GLAPI_EXT_texture3D
void GLAPIENTRY glTexImage3DEXT(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
{
DISPATCH(TexImage3D)(target, level, internalFormat, width, height, depth, border, format, type, pixels);
}
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)
{
DISPATCH(TexSubImage3D)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
}
void GLAPIENTRY glCopyTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
{
DISPATCH(CopyTexSubImage3D)(target, level, xoffset, yoffset, zoffset, x, y, width, height);
}
#endif /* GL_EXT_texture3D*/
#ifdef _GLAPI_EXT_paletted_texture
void GLAPIENTRY glColorTableEXT(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table)
{
DISPATCH(ColorTableEXT)(target, internalformat, width, format, type, table);
}
void GLAPIENTRY glColorSubTableEXT(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data)
{
DISPATCH(ColorSubTableEXT)(target, start, count, format, type, data);
}
void GLAPIENTRY glGetColorTableEXT(GLenum target, GLenum format, GLenum type, GLvoid *table)
{
DISPATCH(GetColorTableEXT)(target, format, type, table);
}
void GLAPIENTRY glGetColorTableParameterfvEXT(GLenum target, GLenum pname, GLfloat *params)
{
DISPATCH(GetColorTableParameterfvEXT)(target, pname, params);
}
void GLAPIENTRY glGetColorTableParameterivEXT(GLenum target, GLenum pname, GLint *params)
{
DISPATCH(GetColorTableParameterivEXT)(target, pname, params);
}
#endif /* GL_EXT_paletted_texture */
#ifdef _GLAPI_EXT_compiled_vertex_array
void GLAPIENTRY glLockArraysEXT(GLint first, GLsizei count)
{
DISPATCH(LockArraysEXT)(first, count);
}
void GLAPIENTRY glUnlockArraysEXT(void)
{
DISPATCH(UnlockArraysEXT)();
}
#endif /* GL_EXT_compiled_vertex_array */
#ifdef _GLAPI_EXT_point_parameters
void GLAPIENTRY glPointParameterfEXT(GLenum target, GLfloat param)
{
DISPATCH(PointParameterfEXT)(target, param);
}
void GLAPIENTRY glPointParameterfvEXT(GLenum target, const GLfloat *param)
{
DISPATCH(PointParameterfvEXT)(target, param);
}
#endif /* GL_EXT_point_parameters */
#ifdef _GLAPI_ARB_multitexture
void GLAPIENTRY glActiveTextureARB(GLenum texture)
{
DISPATCH(ActiveTextureARB)(texture);
}
void GLAPIENTRY glClientActiveTextureARB(GLenum texture)
{
DISPATCH(ClientActiveTextureARB)(texture);
}
void GLAPIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s)
{
DISPATCH(MultiTexCoord1dARB)(target, s);
}
void GLAPIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v)
{
DISPATCH(MultiTexCoord1dvARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s)
{
DISPATCH(MultiTexCoord1fARB)(target, s);
}
void GLAPIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v)
{
DISPATCH(MultiTexCoord1fvARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord1iARB(GLenum target, GLint s)
{
DISPATCH(MultiTexCoord1iARB)(target, s);
}
void GLAPIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v)
{
DISPATCH(MultiTexCoord1ivARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s)
{
DISPATCH(MultiTexCoord1sARB)(target, s);
}
void GLAPIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v)
{
DISPATCH(MultiTexCoord1svARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t)
{
DISPATCH(MultiTexCoord2dARB)(target, s, t);
}
void GLAPIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v)
{
DISPATCH(MultiTexCoord2dvARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t)
{
DISPATCH(MultiTexCoord2fARB)(target, s, t);
}
void GLAPIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v)
{
DISPATCH(MultiTexCoord2fvARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t)
{
DISPATCH(MultiTexCoord2iARB)(target, s, t);
}
void GLAPIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v)
{
DISPATCH(MultiTexCoord2ivARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t)
{
DISPATCH(MultiTexCoord2sARB)(target, s, t);
}
void GLAPIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v)
{
DISPATCH(MultiTexCoord2svARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r)
{
DISPATCH(MultiTexCoord3dARB)(target, s, t, r);
}
void GLAPIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v)
{
DISPATCH(MultiTexCoord3dvARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r)
{
DISPATCH(MultiTexCoord3fARB)(target, s, t, r);
}
void GLAPIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v)
{
DISPATCH(MultiTexCoord3fvARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r)
{
DISPATCH(MultiTexCoord3iARB)(target, s, t, r);
}
void GLAPIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v)
{
DISPATCH(MultiTexCoord3ivARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r)
{
DISPATCH(MultiTexCoord3sARB)(target, s, t, r);
}
void GLAPIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v)
{
DISPATCH(MultiTexCoord3svARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q)
{
DISPATCH(MultiTexCoord4dARB)(target, s, t, r, q);
}
void GLAPIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v)
{
DISPATCH(MultiTexCoord4dvARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
{
DISPATCH(MultiTexCoord4fARB)(target, s, t, r, q);
}
void GLAPIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v)
{
DISPATCH(MultiTexCoord4fvARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q)
{
DISPATCH(MultiTexCoord4iARB)(target, s, t, r, q);
}
void GLAPIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v)
{
DISPATCH(MultiTexCoord4ivARB)(target, v);
}
void GLAPIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q)
{
DISPATCH(MultiTexCoord4sARB)(target, s, t, r, q);
}
void GLAPIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v)
{
DISPATCH(MultiTexCoord4svARB)(target, v);
}
#endif /* GL_ARB_multitexture */
#ifdef _GLAPI_INGR_blend_func_separate
void GLAPIENTRY glBlendFuncSeparateINGR(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
{
DISPATCH(BlendFuncSeparateINGR)(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
}
#endif /* GL_INGR_blend_func_separate */
#ifdef _GLAPI_MESA_window_pos
void GLAPIENTRY glWindowPos2iMESA(GLint x, GLint y)
{
DISPATCH(WindowPos4fMESA)(x, y, 0, 1);
}
void GLAPIENTRY glWindowPos2sMESA(GLshort x, GLshort y)
{
DISPATCH(WindowPos4fMESA)(x, y, 0, 1);
}
void GLAPIENTRY glWindowPos2fMESA(GLfloat x, GLfloat y)
{
DISPATCH(WindowPos4fMESA)(x, y, 0, 1);
}
void GLAPIENTRY glWindowPos2dMESA(GLdouble x, GLdouble y)
{
DISPATCH(WindowPos4fMESA)(x, y, 0, 1);
}
void GLAPIENTRY glWindowPos2ivMESA(const GLint *p)
{
DISPATCH(WindowPos4fMESA)(p[0], p[1], 0, 1);
}
void GLAPIENTRY glWindowPos2svMESA(const GLshort *p)
{
DISPATCH(WindowPos4fMESA)(p[0], p[1], 0, 1);
}
void GLAPIENTRY glWindowPos2fvMESA(const GLfloat *p)
{
DISPATCH(WindowPos4fMESA)(p[0], p[1], 0, 1);
}
void GLAPIENTRY glWindowPos2dvMESA(const GLdouble *p)
{
DISPATCH(WindowPos4fMESA)(p[0], p[1], 0, 1);
}
void GLAPIENTRY glWindowPos3iMESA(GLint x, GLint y, GLint z)
{
DISPATCH(WindowPos4fMESA)(x, y, z, 1);
}
void GLAPIENTRY glWindowPos3sMESA(GLshort x, GLshort y, GLshort z)
{
DISPATCH(WindowPos4fMESA)(x, y, z, 1);
}
void GLAPIENTRY glWindowPos3fMESA(GLfloat x, GLfloat y, GLfloat z)
{
DISPATCH(WindowPos4fMESA)(x, y, z, 1);
}
void GLAPIENTRY glWindowPos3dMESA(GLdouble x, GLdouble y, GLdouble z)
{
DISPATCH(WindowPos4fMESA)(x, y, z, 1);
}
void GLAPIENTRY glWindowPos3ivMESA(const GLint *p)
{
DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], 1.0);
}
void GLAPIENTRY glWindowPos3svMESA(const GLshort *p)
{
DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], 1.0);
}
void GLAPIENTRY glWindowPos3fvMESA(const GLfloat *p)
{
DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], 1.0);
}
void GLAPIENTRY glWindowPos3dvMESA(const GLdouble *p)
{
DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], 1.0);
}
void GLAPIENTRY glWindowPos4iMESA(GLint x, GLint y, GLint z, GLint w)
{
DISPATCH(WindowPos4fMESA)(x, y, z, w);
}
void GLAPIENTRY glWindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w)
{
DISPATCH(WindowPos4fMESA)(x, y, z, w);
}
void GLAPIENTRY glWindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
{
DISPATCH(WindowPos4fMESA)(x, y, z, w);
}
void GLAPIENTRY glWindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
{
DISPATCH(WindowPos4fMESA)(x, y, z, w);
}
void GLAPIENTRY glWindowPos4ivMESA(const GLint *p)
{
DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], p[3]);
}
void GLAPIENTRY glWindowPos4svMESA(const GLshort *p)
{
DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], p[3]);
}
void GLAPIENTRY glWindowPos4fvMESA(const GLfloat *p)
{
DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], p[3]);
}
void GLAPIENTRY glWindowPos4dvMESA(const GLdouble *p)
{
DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], p[3]);
}
#endif /* GL_MESA_window_pos */
#ifdef _GLAPI_MESA_resize_buffers
void GLAPIENTRY glResizeBuffersMESA(void)
{
DISPATCH(ResizeBuffersMESA)();
}
#endif /* GL_MESA_resize_buffers */
#ifdef DEBUG
/*
* This struct is just used to be sure we've defined all the API functions.
*/
static struct _glapi_table completeness_test = {
glAccum,
glAlphaFunc,
glBegin,
glBitmap,
glBlendFunc,
glCallList,
glCallLists,
glClear,
glClearAccum,
glClearColor,
glClearDepth,
glClearIndex,
glClearStencil,
glClipPlane,
glColor3b,
glColor3bv,
glColor3d,
glColor3dv,
glColor3f,
glColor3fv,
glColor3i,
glColor3iv,
glColor3s,
glColor3sv,
glColor3ub,
glColor3ubv,
glColor3ui,
glColor3uiv,
glColor3us,
glColor3usv,
glColor4b,
glColor4bv,
glColor4d,
glColor4dv,
glColor4f,
glColor4fv,
glColor4i,
glColor4iv,
glColor4s,
glColor4sv,
glColor4ub,
glColor4ubv,
glColor4ui,
glColor4uiv,
glColor4us,
glColor4usv,
glColorMask,
glColorMaterial,
glCopyPixels,
glCullFace,
glDeleteLists,
glDepthFunc,
glDepthMask,
glDepthRange,
glDisable,
glDrawBuffer,
glDrawPixels,
glEdgeFlag,
glEdgeFlagv,
glEnable,
glEnd,
glEndList,
glEvalCoord1d,
glEvalCoord1dv,
glEvalCoord1f,
glEvalCoord1fv,
glEvalCoord2d,
glEvalCoord2dv,
glEvalCoord2f,
glEvalCoord2fv,
glEvalMesh1,
glEvalMesh2,
glEvalPoint1,
glEvalPoint2,
glFeedbackBuffer,
glFinish,
glFlush,
glFogf,
glFogfv,
glFogi,
glFogiv,
glFrontFace,
glFrustum,
glGenLists,
glGetBooleanv,
glGetClipPlane,
glGetDoublev,
glGetError,
glGetFloatv,
glGetIntegerv,
glGetLightfv,
glGetLightiv,
glGetMapdv,
glGetMapfv,
glGetMapiv,
glGetMaterialfv,
glGetMaterialiv,
glGetPixelMapfv,
glGetPixelMapuiv,
glGetPixelMapusv,
glGetPolygonStipple,
glGetString,
glGetTexEnvfv,
glGetTexEnviv,
glGetTexGendv,
glGetTexGenfv,
glGetTexGeniv,
glGetTexImage,
glGetTexLevelParameterfv,
glGetTexLevelParameteriv,
glGetTexParameterfv,
glGetTexParameteriv,
glHint,
glIndexMask,
glIndexd,
glIndexdv,
glIndexf,
glIndexfv,
glIndexi,
glIndexiv,
glIndexs,
glIndexsv,
glInitNames,
glIsEnabled,
glIsList,
glLightModelf,
glLightModelfv,
glLightModeli,
glLightModeliv,
glLightf,
glLightfv,
glLighti,
glLightiv,
glLineStipple,
glLineWidth,
glListBase,
glLoadIdentity,
glLoadMatrixd,
glLoadMatrixf,
glLoadName,
glLogicOp,
glMap1d,
glMap1f,
glMap2d,
glMap2f,
glMapGrid1d,
glMapGrid1f,
glMapGrid2d,
glMapGrid2f,
glMaterialf,
glMaterialfv,
glMateriali,
glMaterialiv,
glMatrixMode,
glMultMatrixd,
glMultMatrixf,
glNewList,
glNormal3b,
glNormal3bv,
glNormal3d,
glNormal3dv,
glNormal3f,
glNormal3fv,
glNormal3i,
glNormal3iv,
glNormal3s,
glNormal3sv,
glOrtho,
glPassThrough,
glPixelMapfv,
glPixelMapuiv,
glPixelMapusv,
glPixelStoref,
glPixelStorei,
glPixelTransferf,
glPixelTransferi,
glPixelZoom,
glPointSize,
glPolygonMode,
glPolygonOffset,
glPolygonStipple,
glPopAttrib,
glPopMatrix,
glPopName,
glPushAttrib,
glPushMatrix,
glPushName,
glRasterPos2d,
glRasterPos2dv,
glRasterPos2f,
glRasterPos2fv,
glRasterPos2i,
glRasterPos2iv,
glRasterPos2s,
glRasterPos2sv,
glRasterPos3d,
glRasterPos3dv,
glRasterPos3f,
glRasterPos3fv,
glRasterPos3i,
glRasterPos3iv,
glRasterPos3s,
glRasterPos3sv,
glRasterPos4d,
glRasterPos4dv,
glRasterPos4f,
glRasterPos4fv,
glRasterPos4i,
glRasterPos4iv,
glRasterPos4s,
glRasterPos4sv,
glReadBuffer,
glReadPixels,
glRectd,
glRectdv,
glRectf,
glRectfv,
glRecti,
glRectiv,
glRects,
glRectsv,
glRenderMode,
glRotated,
glRotatef,
glScaled,
glScalef,
glScissor,
glSelectBuffer,
glShadeModel,
glStencilFunc,
glStencilMask,
glStencilOp,
glTexCoord1d,
glTexCoord1dv,
glTexCoord1f,
glTexCoord1fv,
glTexCoord1i,
glTexCoord1iv,
glTexCoord1s,
glTexCoord1sv,
glTexCoord2d,
glTexCoord2dv,
glTexCoord2f,
glTexCoord2fv,
glTexCoord2i,
glTexCoord2iv,
glTexCoord2s,
glTexCoord2sv,
glTexCoord3d,
glTexCoord3dv,
glTexCoord3f,
glTexCoord3fv,
glTexCoord3i,
glTexCoord3iv,
glTexCoord3s,
glTexCoord3sv,
glTexCoord4d,
glTexCoord4dv,
glTexCoord4f,
glTexCoord4fv,
glTexCoord4i,
glTexCoord4iv,
glTexCoord4s,
glTexCoord4sv,
glTexEnvf,
glTexEnvfv,
glTexEnvi,
glTexEnviv,
glTexGend,
glTexGendv,
glTexGenf,
glTexGenfv,
glTexGeni,
glTexGeniv,
glTexImage1D,
glTexImage2D,
glTexParameterf,
glTexParameterfv,
glTexParameteri,
glTexParameteriv,
glTranslated,
glTranslatef,
glVertex2d,
glVertex2dv,
glVertex2f,
glVertex2fv,
glVertex2i,
glVertex2iv,
glVertex2s,
glVertex2sv,
glVertex3d,
glVertex3dv,
glVertex3f,
glVertex3fv,
glVertex3i,
glVertex3iv,
glVertex3s,
glVertex3sv,
glVertex4d,
glVertex4dv,
glVertex4f,
glVertex4fv,
glVertex4i,
glVertex4iv,
glVertex4s,
glVertex4sv,
glViewport,
#ifdef _GLAPI_VERSION_1_1
glAreTexturesResident,
glArrayElement,
glBindTexture,
glColorPointer,
glCopyTexImage1D,
glCopyTexImage2D,
glCopyTexSubImage1D,
glCopyTexSubImage2D,
glDeleteTextures,
glDisableClientState,
glDrawArrays,
glDrawElements,
glEdgeFlagPointer,
glEnableClientState,
glGenTextures,
glGetPointerv,
glIndexPointer,
glIndexub,
glIndexubv,
glInterleavedArrays,
glIsTexture,
glNormalPointer,
glPopClientAttrib,
glPrioritizeTextures,
glPushClientAttrib,
glTexCoordPointer,
glTexSubImage1D,
glTexSubImage2D,
glVertexPointer,
#endif
#ifdef _GLAPI_VERSION_1_2
glCopyTexSubImage3D,
glDrawRangeElements,
glTexImage3D,
glTexSubImage3D,
#ifdef _GLAPI_ARB_imaging
glBlendColor,
glBlendEquation,
glColorSubTable,
glColorTable,
glColorTableParameterfv,
glColorTableParameteriv,
glConvolutionFilter1D,
glConvolutionFilter2D,
glConvolutionParameterf,
glConvolutionParameterfv,
glConvolutionParameteri,
glConvolutionParameteriv,
glCopyColorSubTable,
glCopyColorTable,
glCopyConvolutionFilter1D,
glCopyConvolutionFilter2D,
glGetColorTable,
glGetColorTableParameterfv,
glGetColorTableParameteriv,
glGetConvolutionFilter,
glGetConvolutionParameterfv,
glGetConvolutionParameteriv,
glGetHistogram,
glGetHistogramParameterfv,
glGetHistogramParameteriv,
glGetMinmax,
glGetMinmaxParameterfv,
glGetMinmaxParameteriv,
glGetSeparableFilter,
glHistogram,
glMinmax,
glResetHistogram,
glResetMinmax,
glSeparableFilter2D,
#endif
#endif
/*
* Extensions
*/
#ifdef _GLAPI_EXT_paletted_texture
glColorTableEXT,
glColorSubTableEXT,
glGetColorTableEXT,
glGetColorTableParameterfvEXT,
glGetColorTableParameterivEXT,
#endif
#ifdef _GLAPI_EXT_compiled_vertex_array
glLockArraysEXT,
glUnlockArraysEXT,
#endif
#ifdef _GLAPI_EXT_point_parameters
glPointParameterfEXT,
glPointParameterfvEXT,
#endif
#ifdef _GLAPI_EXT_polygon_offset
glPolygonOffsetEXT,
#endif
#ifdef _GLAPI_EXT_blend_minmax
glBlendEquationEXT,
#endif
#ifdef _GLAPI_EXT_blend_color
glBlendColorEXT,
#endif
#ifdef _GLAPI_ARB_multitexture
glActiveTextureARB,
glClientActiveTextureARB,
glMultiTexCoord1dARB,
glMultiTexCoord1dvARB,
glMultiTexCoord1fARB,
glMultiTexCoord1fvARB,
glMultiTexCoord1iARB,
glMultiTexCoord1ivARB,
glMultiTexCoord1sARB,
glMultiTexCoord1svARB,
glMultiTexCoord2dARB,
glMultiTexCoord2dvARB,
glMultiTexCoord2fARB,
glMultiTexCoord2fvARB,
glMultiTexCoord2iARB,
glMultiTexCoord2ivARB,
glMultiTexCoord2sARB,
glMultiTexCoord2svARB,
glMultiTexCoord3dARB,
glMultiTexCoord3dvARB,
glMultiTexCoord3fARB,
glMultiTexCoord3fvARB,
glMultiTexCoord3iARB,
glMultiTexCoord3ivARB,
glMultiTexCoord3sARB,
glMultiTexCoord3svARB,
glMultiTexCoord4dARB,
glMultiTexCoord4dvARB,
glMultiTexCoord4fARB,
glMultiTexCoord4fvARB,
glMultiTexCoord4iARB,
glMultiTexCoord4ivARB,
glMultiTexCoord4sARB,
glMultiTexCoord4svARB,
#endif
#ifdef _GLAPI_INGR_blend_func_separate
glBlendFuncSeparateINGR,
#endif
#ifdef _GLAPI_MESA_window_pos
glWindowPos4fMESA,
#endif
#ifdef _GLAPI_MESA_resize_buffers
glResizeBuffersMESA
#endif
};
#endif /*DEBUG*/
/*
* Set the global or per-thread dispatch table pointer.
*/
void
_glapi_set_dispatch(struct _glapi_table *dispatch)
{
#ifdef DEBUG
(void) completeness_test; /* to silence compiler warnings */
#endif
if (dispatch) {
#ifdef DEBUG
_glapi_check_table(dispatch);
#endif
#if defined(MULTI_THREAD)
/* set this thread's dispatch pointer */
/* XXX To Do */
#else
Dispatch = dispatch;
#endif
}
else {
/* no current context, each function is a no-op */
#if defined(MULTI_THREAD)
/* XXX To Do */
#else
Dispatch = &__glapi_noop_table;
#endif
}
}
/*
* Get the global or per-thread dispatch table pointer.
*/
struct _glapi_table *
_glapi_get_dispatch(void)
{
#if defined(MULTI_THREAD)
/* return this thread's dispatch pointer */
return NULL;
#else
return Dispatch;
#endif
}
/*
* Get API dispatcher version string.
*/
const char *
_glapi_get_version(void)
{
return "1.2"; /* XXX this isn't well defined yet */
}
/*
* Return list of hard-coded extension entrypoints in the dispatch table.
*/
const char *
_glapi_get_extensions(void)
{
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";
}
/*
* Dynamically allocate an extension entry point. Return a slot number.
*/
GLint
_glapi_alloc_entrypoint(const char *funcName)
{
/* XXX To Do */
return -1;
}
/*
* Find the dynamic entry point for the named function.
*/
GLint
_glapi_get_entrypoint(const char *funcName)
{
/* XXX To Do */
return -1;
}
/*
* Return entrypoint for named function.
*/
const GLvoid *
_glapi_get_proc_address(const char *funcName)
{
/* XXX To Do */
return NULL;
}
/*
* Make sure there are no NULL pointers in the given dispatch table.
* Intented for debugging purposes.
*/
void
_glapi_check_table(const struct _glapi_table *table)
{
assert(table->Accum);
assert(table->AlphaFunc);
assert(table->Begin);
assert(table->Bitmap);
assert(table->BlendFunc);
assert(table->CallList);
assert(table->CallLists);
assert(table->Clear);
assert(table->ClearAccum);
assert(table->ClearColor);
assert(table->ClearDepth);
assert(table->ClearIndex);
assert(table->ClearStencil);
assert(table->ClipPlane);
assert(table->Color3b);
assert(table->Color3bv);
assert(table->Color3d);
assert(table->Color3dv);
assert(table->Color3f);
assert(table->Color3fv);
assert(table->Color3i);
assert(table->Color3iv);
assert(table->Color3s);
assert(table->Color3sv);
assert(table->Color3ub);
assert(table->Color3ubv);
assert(table->Color3ui);
assert(table->Color3uiv);
assert(table->Color3us);
assert(table->Color3usv);
assert(table->Color4b);
assert(table->Color4bv);
assert(table->Color4d);
assert(table->Color4dv);
assert(table->Color4f);
assert(table->Color4fv);
assert(table->Color4i);
assert(table->Color4iv);
assert(table->Color4s);
assert(table->Color4sv);
assert(table->Color4ub);
assert(table->Color4ubv);
assert(table->Color4ui);
assert(table->Color4uiv);
assert(table->Color4us);
assert(table->Color4usv);
assert(table->ColorMask);
assert(table->ColorMaterial);
assert(table->CopyPixels);
assert(table->CullFace);
assert(table->DeleteLists);
assert(table->DepthFunc);
assert(table->DepthMask);
assert(table->DepthRange);
assert(table->Disable);
assert(table->DrawBuffer);
assert(table->DrawElements);
assert(table->DrawPixels);
assert(table->EdgeFlag);
assert(table->EdgeFlagv);
assert(table->Enable);
assert(table->End);
assert(table->EndList);
assert(table->EvalCoord1d);
assert(table->EvalCoord1dv);
assert(table->EvalCoord1f);
assert(table->EvalCoord1fv);
assert(table->EvalCoord2d);
assert(table->EvalCoord2dv);
assert(table->EvalCoord2f);
assert(table->EvalCoord2fv);
assert(table->EvalMesh1);
assert(table->EvalMesh2);
assert(table->EvalPoint1);
assert(table->EvalPoint2);
assert(table->FeedbackBuffer);
assert(table->Finish);
assert(table->Flush);
assert(table->Fogf);
assert(table->Fogfv);
assert(table->Fogi);
assert(table->Fogiv);
assert(table->FrontFace);
assert(table->Frustum);
assert(table->GenLists);
assert(table->GetBooleanv);
assert(table->GetClipPlane);
assert(table->GetDoublev);
assert(table->GetError);
assert(table->GetFloatv);
assert(table->GetIntegerv);
assert(table->GetLightfv);
assert(table->GetLightiv);
assert(table->GetMapdv);
assert(table->GetMapfv);
assert(table->GetMapiv);
assert(table->GetMaterialfv);
assert(table->GetMaterialiv);
assert(table->GetPixelMapfv);
assert(table->GetPixelMapuiv);
assert(table->GetPixelMapusv);
assert(table->GetPolygonStipple);
assert(table->GetString);
assert(table->GetTexEnvfv);
assert(table->GetTexEnviv);
assert(table->GetTexGendv);
assert(table->GetTexGenfv);
assert(table->GetTexGeniv);
assert(table->GetTexImage);
assert(table->GetTexLevelParameterfv);
assert(table->GetTexLevelParameteriv);
assert(table->GetTexParameterfv);
assert(table->GetTexParameteriv);
assert(table->Hint);
assert(table->IndexMask);
assert(table->Indexd);
assert(table->Indexdv);
assert(table->Indexf);
assert(table->Indexfv);
assert(table->Indexi);
assert(table->Indexiv);
assert(table->Indexs);
assert(table->Indexsv);
assert(table->InitNames);
assert(table->IsEnabled);
assert(table->IsList);
assert(table->LightModelf);
assert(table->LightModelfv);
assert(table->LightModeli);
assert(table->LightModeliv);
assert(table->Lightf);
assert(table->Lightfv);
assert(table->Lighti);
assert(table->Lightiv);
assert(table->LineStipple);
assert(table->LineWidth);
assert(table->ListBase);
assert(table->LoadIdentity);
assert(table->LoadMatrixd);
assert(table->LoadMatrixf);
assert(table->LoadName);
assert(table->LogicOp);
assert(table->Map1d);
assert(table->Map1f);
assert(table->Map2d);
assert(table->Map2f);
assert(table->MapGrid1d);
assert(table->MapGrid1f);
assert(table->MapGrid2d);
assert(table->MapGrid2f);
assert(table->Materialf);
assert(table->Materialfv);
assert(table->Materiali);
assert(table->Materialiv);
assert(table->MatrixMode);
assert(table->MultMatrixd);
assert(table->MultMatrixf);
assert(table->NewList);
assert(table->Normal3b);
assert(table->Normal3bv);
assert(table->Normal3d);
assert(table->Normal3dv);
assert(table->Normal3f);
assert(table->Normal3fv);
assert(table->Normal3i);
assert(table->Normal3iv);
assert(table->Normal3s);
assert(table->Normal3sv);
assert(table->Ortho);
assert(table->PassThrough);
assert(table->PixelMapfv);
assert(table->PixelMapuiv);
assert(table->PixelMapusv);
assert(table->PixelStoref);
assert(table->PixelStorei);
assert(table->PixelTransferf);
assert(table->PixelTransferi);
assert(table->PixelZoom);
assert(table->PointSize);
assert(table->PolygonMode);
assert(table->PolygonOffset);
assert(table->PolygonStipple);
assert(table->PopAttrib);
assert(table->PopMatrix);
assert(table->PopName);
assert(table->PushAttrib);
assert(table->PushMatrix);
assert(table->PushName);
assert(table->RasterPos2d);
assert(table->RasterPos2dv);
assert(table->RasterPos2f);
assert(table->RasterPos2fv);
assert(table->RasterPos2i);
assert(table->RasterPos2iv);
assert(table->RasterPos2s);
assert(table->RasterPos2sv);
assert(table->RasterPos3d);
assert(table->RasterPos3dv);
assert(table->RasterPos3f);
assert(table->RasterPos3fv);
assert(table->RasterPos3i);
assert(table->RasterPos3iv);
assert(table->RasterPos3s);
assert(table->RasterPos3sv);
assert(table->RasterPos4d);
assert(table->RasterPos4dv);
assert(table->RasterPos4f);
assert(table->RasterPos4fv);
assert(table->RasterPos4i);
assert(table->RasterPos4iv);
assert(table->RasterPos4s);
assert(table->RasterPos4sv);
assert(table->ReadBuffer);
assert(table->ReadPixels);
assert(table->Rectd);
assert(table->Rectdv);
assert(table->Rectf);
assert(table->Rectfv);
assert(table->Recti);
assert(table->Rectiv);
assert(table->Rects);
assert(table->Rectsv);
assert(table->RenderMode);
assert(table->Rotated);
assert(table->Rotatef);
assert(table->Scaled);
assert(table->Scalef);
assert(table->Scissor);
assert(table->SelectBuffer);
assert(table->ShadeModel);
assert(table->StencilFunc);
assert(table->StencilMask);
assert(table->StencilOp);
assert(table->TexCoord1d);
assert(table->TexCoord1dv);
assert(table->TexCoord1f);
assert(table->TexCoord1fv);
assert(table->TexCoord1i);
assert(table->TexCoord1iv);
assert(table->TexCoord1s);
assert(table->TexCoord1sv);
assert(table->TexCoord2d);
assert(table->TexCoord2dv);
assert(table->TexCoord2f);
assert(table->TexCoord2fv);
assert(table->TexCoord2i);
assert(table->TexCoord2iv);
assert(table->TexCoord2s);
assert(table->TexCoord2sv);
assert(table->TexCoord3d);
assert(table->TexCoord3dv);
assert(table->TexCoord3f);
assert(table->TexCoord3fv);
assert(table->TexCoord3i);
assert(table->TexCoord3iv);
assert(table->TexCoord3s);
assert(table->TexCoord3sv);
assert(table->TexCoord4d);
assert(table->TexCoord4dv);
assert(table->TexCoord4f);
assert(table->TexCoord4fv);
assert(table->TexCoord4i);
assert(table->TexCoord4iv);
assert(table->TexCoord4s);
assert(table->TexCoord4sv);
assert(table->TexEnvf);
assert(table->TexEnvfv);
assert(table->TexEnvi);
assert(table->TexEnviv);
assert(table->TexGend);
assert(table->TexGendv);
assert(table->TexGenf);
assert(table->TexGenfv);
assert(table->TexGeni);
assert(table->TexGeniv);
assert(table->TexImage1D);
assert(table->TexImage2D);
assert(table->TexParameterf);
assert(table->TexParameterfv);
assert(table->TexParameteri);
assert(table->TexParameteriv);
assert(table->Translated);
assert(table->Translatef);
assert(table->Vertex2d);
assert(table->Vertex2dv);
assert(table->Vertex2f);
assert(table->Vertex2fv);
assert(table->Vertex2i);
assert(table->Vertex2iv);
assert(table->Vertex2s);
assert(table->Vertex2sv);
assert(table->Vertex3d);
assert(table->Vertex3dv);
assert(table->Vertex3f);
assert(table->Vertex3fv);
assert(table->Vertex3i);
assert(table->Vertex3iv);
assert(table->Vertex3s);
assert(table->Vertex3sv);
assert(table->Vertex4d);
assert(table->Vertex4dv);
assert(table->Vertex4f);
assert(table->Vertex4fv);
assert(table->Vertex4i);
assert(table->Vertex4iv);
assert(table->Vertex4s);
assert(table->Vertex4sv);
assert(table->Viewport);
#ifdef _GLAPI_VERSION_1_1
assert(table->AreTexturesResident);
assert(table->ArrayElement);
assert(table->BindTexture);
assert(table->ColorPointer);
assert(table->CopyTexImage1D);
assert(table->CopyTexImage2D);
assert(table->CopyTexSubImage1D);
assert(table->CopyTexSubImage2D);
assert(table->DeleteTextures);
assert(table->DisableClientState);
assert(table->DrawArrays);
assert(table->EdgeFlagPointer);
assert(table->EnableClientState);
assert(table->GenTextures);
assert(table->GetPointerv);
assert(table->IndexPointer);
assert(table->Indexub);
assert(table->Indexubv);
assert(table->InterleavedArrays);
assert(table->IsTexture);
assert(table->NormalPointer);
assert(table->PopClientAttrib);
assert(table->PrioritizeTextures);
assert(table->PushClientAttrib);
assert(table->TexCoordPointer);
assert(table->TexSubImage1D);
assert(table->TexSubImage2D);
assert(table->VertexPointer);
#endif
#ifdef _GLAPI_VERSION_1_2
assert(table->CopyTexSubImage3D);
assert(table->DrawRangeElements);
assert(table->TexImage3D);
assert(table->TexSubImage3D);
#ifdef _GLAPI_ARB_imaging
assert(table->BlendColor);
assert(table->BlendEquation);
assert(table->ColorSubTable);
assert(table->ColorTable);
assert(table->ColorTableParameterfv);
assert(table->ColorTableParameteriv);
assert(table->ConvolutionFilter1D);
assert(table->ConvolutionFilter2D);
assert(table->ConvolutionParameterf);
assert(table->ConvolutionParameterfv);
assert(table->ConvolutionParameteri);
assert(table->ConvolutionParameteriv);
assert(table->CopyColorSubTable);
assert(table->CopyColorTable);
assert(table->CopyConvolutionFilter1D);
assert(table->CopyConvolutionFilter2D);
assert(table->GetColorTable);
assert(table->GetColorTableParameterfv);
assert(table->GetColorTableParameteriv);
assert(table->GetConvolutionFilter);
assert(table->GetConvolutionParameterfv);
assert(table->GetConvolutionParameteriv);
assert(table->GetHistogram);
assert(table->GetHistogramParameterfv);
assert(table->GetHistogramParameteriv);
assert(table->GetMinmax);
assert(table->GetMinmaxParameterfv);
assert(table->GetMinmaxParameteriv);
assert(table->Histogram);
assert(table->Minmax);
assert(table->ResetHistogram);
assert(table->ResetMinmax);
assert(table->SeparableFilter2D);
#endif
#endif
#ifdef _GLAPI_EXT_paletted_texture
assert(table->ColorTableEXT);
assert(table->ColorSubTableEXT);
assert(table->GetColorTableEXT);
assert(table->GetColorTableParameterfvEXT);
assert(table->GetColorTableParameterivEXT);
#endif
#ifdef _GLAPI_EXT_compiled_vertex_array
assert(table->LockArraysEXT);
assert(table->UnlockArraysEXT);
#endif
#ifdef _GLAPI_EXT_point_parameter
assert(table->PointParameterfEXT);
assert(table->PointParameterfvEXT);
#endif
#ifdef _GLAPI_EXT_polygon_offset
assert(table->PolygonOffsetEXT);
#endif
#ifdef _GLAPI_ARB_multitexture
assert(table->ActiveTextureARB);
assert(table->ClientActiveTextureARB);
assert(table->MultiTexCoord1dARB);
assert(table->MultiTexCoord1dvARB);
assert(table->MultiTexCoord1fARB);
assert(table->MultiTexCoord1fvARB);
assert(table->MultiTexCoord1iARB);
assert(table->MultiTexCoord1ivARB);
assert(table->MultiTexCoord1sARB);
assert(table->MultiTexCoord1svARB);
assert(table->MultiTexCoord2dARB);
assert(table->MultiTexCoord2dvARB);
assert(table->MultiTexCoord2fARB);
assert(table->MultiTexCoord2fvARB);
assert(table->MultiTexCoord2iARB);
assert(table->MultiTexCoord2ivARB);
assert(table->MultiTexCoord2sARB);
assert(table->MultiTexCoord2svARB);
assert(table->MultiTexCoord3dARB);
assert(table->MultiTexCoord3dvARB);
assert(table->MultiTexCoord3fARB);
assert(table->MultiTexCoord3fvARB);
assert(table->MultiTexCoord3iARB);
assert(table->MultiTexCoord3ivARB);
assert(table->MultiTexCoord3sARB);
assert(table->MultiTexCoord3svARB);
assert(table->MultiTexCoord4dARB);
assert(table->MultiTexCoord4dvARB);
assert(table->MultiTexCoord4fARB);
assert(table->MultiTexCoord4fvARB);
assert(table->MultiTexCoord4iARB);
assert(table->MultiTexCoord4ivARB);
assert(table->MultiTexCoord4sARB);
assert(table->MultiTexCoord4svARB);
#endif
#ifdef _GLAPI_INGR_blend_func_separate
assert(table->BlendFuncSeparateINGR);
#endif
#ifdef _GLAPI_MESA_window_pos
assert(table->WindowPos4fMESA);
#endif
#ifdef _GLAPI_MESA_resize_buffers
assert(table->ResizeBuffersMESA);
#endif
}
|