blob: 03123f0e62afb9ffb15a6c922e97d115d16f32d1 (
plain)
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
|
" Vim syntax file
" Language: C OpenGL
" Maintainer: Andreeshchev Eugene <admix@pisem.net>
" Version: 1.5
" Last Change: 2007-08-30
" Usage:
"
" Source it from somewhere
"
" Changelog:
"
" 2007-08-30 (v1.5)
" * Added OpenGL ES 2.0 and EGL symbols
" (thanks to Simon Hosie [sh1 at broadcom dot com]).
" * Added following variables:
" c_opengl_no_gles2 - turns off GLES2 highlighting
" c_opengl_no_egl - turns off EGL highlighting
" * Now version numbering is a bit screwed =)
"
" 2003-11-07 (v1.4.1)
" * Added GLUT support
" (thanks to Mathias Gumz [gumzat at cs dot uni-magdeburg dot de]).
" * Added following variables:
" c_opengl_no_glu - turns off GLU highlighting
" c_opengl_no_glut - turns off GLUT highlighting
" c_opengl_no_ext_arb - turns off ARB extensions highlighting
"
" 2003-10-31 (v1.4)
" * Updated to OpenGL 1.4 ARB extensions for OpenGL Shading Language
" (thanks to Eric Boumaour [zongo at nekeme dot net]).
" * Now version number match OpenGL version.
"
" 2003-08-29 (v0.1)
" Initial release
"
" TODO: add support for vendor specific extensions (NVidia and ATI at least)
"
" gl.h
" Data types {{{
syntax keyword glConstant GL_BYTE
syntax keyword glConstant GL_UNSIGNED_BYTE
syntax keyword glConstant GL_SHORT
syntax keyword glConstant GL_UNSIGNED_SHORT
syntax keyword glConstant GL_INT
syntax keyword glConstant GL_UNSIGNED_INT
syntax keyword glConstant GL_FLOAT
syntax keyword glConstant GL_DOUBLE
syntax keyword glConstant GL_2_BYTES
syntax keyword glConstant GL_3_BYTES
syntax keyword glConstant GL_4_BYTES
syntax keyword glType GLenum
syntax keyword glType GLboolean
syntax keyword glType GLbitfield
syntax keyword glType GLvoid
syntax keyword glType GLbyte
syntax keyword glType GLshort
syntax keyword glType GLint
syntax keyword glType GLubyte
syntax keyword glType GLushort
syntax keyword glType GLuint
syntax keyword glType GLsizei
syntax keyword glType GLfloat
syntax keyword glType GLclampf
syntax keyword glType GLdouble
syntax keyword glType GLclampd
" }}}
" Constants {{{
syntax keyword glConstant GL_FALSE
syntax keyword glConstant GL_TRUE
" Primitives {{{
syntax keyword glConstant GL_POINTS
syntax keyword glConstant GL_LINES
syntax keyword glConstant GL_LINE_LOOP
syntax keyword glConstant GL_LINE_STRIP
syntax keyword glConstant GL_TRIANGLES
syntax keyword glConstant GL_TRIANGLE_STRIP
syntax keyword glConstant GL_TRIANGLE_FAN
syntax keyword glConstant GL_QUADS
syntax keyword glConstant GL_QUAD_STRIP
syntax keyword glConstant GL_POLYGON
" }}}
" Vertex Arrays {{{
syntax keyword glConstant GL_VERTEX_ARRAY
syntax keyword glConstant GL_NORMAL_ARRAY
syntax keyword glConstant GL_COLOR_ARRAY
syntax keyword glConstant GL_INDEX_ARRAY
syntax keyword glConstant GL_TEXTURE_COORD_ARRAY
syntax keyword glConstant GL_EDGE_FLAG_ARRAY
syntax keyword glConstant GL_VERTEX_ARRAY_SIZE
syntax keyword glConstant GL_VERTEX_ARRAY_TYPE
syntax keyword glConstant GL_VERTEX_ARRAY_STRIDE
syntax keyword glConstant GL_NORMAL_ARRAY_TYPE
syntax keyword glConstant GL_NORMAL_ARRAY_STRIDE
syntax keyword glConstant GL_COLOR_ARRAY_SIZE
syntax keyword glConstant GL_COLOR_ARRAY_TYPE
syntax keyword glConstant GL_COLOR_ARRAY_STRIDE
syntax keyword glConstant GL_INDEX_ARRAY_TYPE
syntax keyword glConstant GL_INDEX_ARRAY_STRIDE
syntax keyword glConstant GL_TEXTURE_COORD_ARRAY
syntax keyword glConstant GL_TEXTURE_COORD_ARRAY
syntax keyword glConstant GL_TEXTURE_COORD_ARRAY
syntax keyword glConstant GL_EDGE_FLAG_ARRAY_STR
syntax keyword glConstant GL_VERTEX_ARRAY_POINTE
syntax keyword glConstant GL_NORMAL_ARRAY_POINTE
syntax keyword glConstant GL_COLOR_ARRAY_POINTER
syntax keyword glConstant GL_INDEX_ARRAY_POINTER
syntax keyword glConstant GL_TEXTURE_COORD_ARRAY
syntax keyword glConstant GL_EDGE_FLAG_ARRAY_POI
syntax keyword glConstant GL_V2F
syntax keyword glConstant GL_V3F
syntax keyword glConstant GL_C4UB_V2F
syntax keyword glConstant GL_C4UB_V3F
syntax keyword glConstant GL_C3F_V3F
syntax keyword glConstant GL_N3F_V3F
syntax keyword glConstant GL_C4F_N3F_V3F
syntax keyword glConstant GL_T2F_V3F
syntax keyword glConstant GL_T4F_V4F
syntax keyword glConstant GL_T2F_C4UB_V3F
syntax keyword glConstant GL_T2F_C3F_V3F
syntax keyword glConstant GL_T2F_N3F_V3F
syntax keyword glConstant GL_T2F_C4F_N3F_V3F
syntax keyword glConstant GL_T4F_C4F_N3F_V4F
" }}}
" Matrix Mode {{{
syntax keyword glConstant GL_MATRIX_MODE
syntax keyword glConstant GL_MODELVIEW
syntax keyword glConstant GL_PROJECTION
syntax keyword glConstant GL_TEXTURE
" }}}
" Points {{{
syntax keyword glConstant GL_POINT_SMOOTH
syntax keyword glConstant GL_POINT_SIZE
syntax keyword glConstant GL_POINT_SIZE_GRANULARITY
syntax keyword glConstant GL_POINT_SIZE_RANGE
" }}}
" Lines {{{
syntax keyword glConstant GL_LINE_SMOOTH
syntax keyword glConstant GL_LINE_STIPPLE
syntax keyword glConstant GL_LINE_STIPPLE_PATTERN
syntax keyword glConstant GL_LINE_STIPPLE_REPEAT
syntax keyword glConstant GL_LINE_WIDTH
syntax keyword glConstant GL_LINE_WIDTH_GRANULARITY
syntax keyword glConstant GL_LINE_WIDTH_RANGE
" }}}
" Polygons {{{
syntax keyword glConstant GL_POINT
syntax keyword glConstant GL_LINE
syntax keyword glConstant GL_FILL
syntax keyword glConstant GL_CW
syntax keyword glConstant GL_CCW
syntax keyword glConstant GL_FRONT
syntax keyword glConstant GL_BACK
syntax keyword glConstant GL_POLYGON_MODE
syntax keyword glConstant GL_POLYGON_SMOOTH
syntax keyword glConstant GL_POLYGON_STIPPLE
syntax keyword glConstant GL_EDGE_FLAG
syntax keyword glConstant GL_CULL_FACE
syntax keyword glConstant GL_CULL_FACE_MODE
syntax keyword glConstant GL_FRONT_FACE
syntax keyword glConstant GL_POLYGON_OFFSET_FACTOR
syntax keyword glConstant GL_POLYGON_OFFSET_UNITS
syntax keyword glConstant GL_POLYGON_OFFSET_POINT
syntax keyword glConstant GL_POLYGON_OFFSET_LINE
syntax keyword glConstant GL_POLYGON_OFFSET_FILL
" }}}
" Display Lists {{{
syntax keyword glConstant GL_COMPILE
syntax keyword glConstant GL_COMPILE_AND_EXECUTE
syntax keyword glConstant GL_LIST_BASE
syntax keyword glConstant GL_LIST_INDEX
syntax keyword glConstant GL_LIST_MODE
" }}}
" Depth buffer {{{
syntax keyword glConstant GL_NEVER
syntax keyword glConstant GL_LESS
syntax keyword glConstant GL_EQUAL
syntax keyword glConstant GL_LEQUAL
syntax keyword glConstant GL_GREATER
syntax keyword glConstant GL_NOTEQUAL
syntax keyword glConstant GL_GEQUAL
syntax keyword glConstant GL_ALWAYS
syntax keyword glConstant GL_DEPTH_TEST
syntax keyword glConstant GL_DEPTH_BITS
syntax keyword glConstant GL_DEPTH_CLEAR_VALUE
syntax keyword glConstant GL_DEPTH_FUNC
syntax keyword glConstant GL_DEPTH_RANGE
syntax keyword glConstant GL_DEPTH_WRITEMASK
syntax keyword glConstant GL_DEPTH_COMPONENT
" }}}
" Lighting {{{
syntax keyword glConstant GL_LIGHTING
syntax keyword glConstant GL_LIGHT0
syntax keyword glConstant GL_LIGHT1
syntax keyword glConstant GL_LIGHT2
syntax keyword glConstant GL_LIGHT3
syntax keyword glConstant GL_LIGHT4
syntax keyword glConstant GL_LIGHT5
syntax keyword glConstant GL_LIGHT6
syntax keyword glConstant GL_LIGHT7
syntax keyword glConstant GL_SPOT_EXPONENT
syntax keyword glConstant GL_SPOT_CUTOFF
syntax keyword glConstant GL_CONSTANT_ATTENUATION
syntax keyword glConstant GL_LINEAR_ATTENUATION
syntax keyword glConstant GL_QUADRATIC_ATTENUATION
syntax keyword glConstant GL_AMBIENT
syntax keyword glConstant GL_DIFFUSE
syntax keyword glConstant GL_SPECULAR
syntax keyword glConstant GL_SHININESS
syntax keyword glConstant GL_EMISSION
syntax keyword glConstant GL_POSITION
syntax keyword glConstant GL_SPOT_DIRECTION
syntax keyword glConstant GL_AMBIENT_AND_DIFFUSE
syntax keyword glConstant GL_COLOR_INDEXES
syntax keyword glConstant GL_LIGHT_MODEL_TWO_SIDE
syntax keyword glConstant GL_LIGHT_MODEL_LOCAL_VIEWER
syntax keyword glConstant GL_LIGHT_MODEL_AMBIENT
syntax keyword glConstant GL_FRONT_AND_BACK
syntax keyword glConstant GL_SHADE_MODEL
syntax keyword glConstant GL_FLAT
syntax keyword glConstant GL_SMOOTH
syntax keyword glConstant GL_COLOR_MATERIAL
syntax keyword glConstant GL_COLOR_MATERIAL_FACE
syntax keyword glConstant GL_COLOR_MATERIAL_PARAMETER
syntax keyword glConstant GL_NORMALIZE
" }}}
" Use clipping planes {{{
syntax keyword glConstant GL_CLIP_PLANE0
syntax keyword glConstant GL_CLIP_PLANE1
syntax keyword glConstant GL_CLIP_PLANE2
syntax keyword glConstant GL_CLIP_PLANE3
syntax keyword glConstant GL_CLIP_PLANE4
syntax keyword glConstant GL_CLIP_PLANE5
" }}}
" Accumulation buffer {{{
syntax keyword glConstant GL_ACCUM_RED_BITS
syntax keyword glConstant GL_ACCUM_GREEN_BITS
syntax keyword glConstant GL_ACCUM_BLUE_BITS
syntax keyword glConstant GL_ACCUM_ALPHA_BITS
syntax keyword glConstant GL_ACCUM_CLEAR_VALUE
syntax keyword glConstant GL_ACCUM
syntax keyword glConstant GL_ADD
syntax keyword glConstant GL_LOAD
syntax keyword glConstant GL_MULT
syntax keyword glConstant GL_RETURN
" }}}
" Alpha testing {{{
syntax keyword glConstant GL_ALPHA_TEST
syntax keyword glConstant GL_ALPHA_TEST_REF
syntax keyword glConstant GL_ALPHA_TEST_FUNC
" }}}
" Blending {{{
syntax keyword glConstant GL_BLEND
syntax keyword glConstant GL_BLEND_SRC
syntax keyword glConstant GL_BLEND_DST
syntax keyword glConstant GL_ZERO
syntax keyword glConstant GL_ONE
syntax keyword glConstant GL_SRC_COLOR
syntax keyword glConstant GL_ONE_MINUS_SRC_COLOR
syntax keyword glConstant GL_SRC_ALPHA
syntax keyword glConstant GL_ONE_MINUS_SRC_ALPHA
syntax keyword glConstant GL_DST_ALPHA
syntax keyword glConstant GL_ONE_MINUS_DST_ALPHA
syntax keyword glConstant GL_DST_COLOR
syntax keyword glConstant GL_ONE_MINUS_DST_COLOR
syntax keyword glConstant GL_SRC_ALPHA_SATURATE
syntax keyword glConstant GL_CONSTANT_COLOR
syntax keyword glConstant GL_ONE_MINUS_CONSTANT_COLOR
syntax keyword glConstant GL_CONSTANT_ALPHA
syntax keyword glConstant GL_ONE_MINUS_CONSTANT_ALPHA
" }}}
" Render mode {{{
syntax keyword glConstant GL_FEEDBACK
syntax keyword glConstant GL_RENDER
syntax keyword glConstant GL_SELECT
" }}}
" Feedback {{{
syntax keyword glConstant GL_2D
syntax keyword glConstant GL_3D
syntax keyword glConstant GL_3D_COLOR
syntax keyword glConstant GL_3D_COLOR_TEXTURE
syntax keyword glConstant GL_4D_COLOR_TEXTURE
syntax keyword glConstant GL_POINT_TOKEN
syntax keyword glConstant GL_LINE_TOKEN
syntax keyword glConstant GL_LINE_RESET_TOKEN
syntax keyword glConstant GL_POLYGON_TOKEN
syntax keyword glConstant GL_BITMAP_TOKEN
syntax keyword glConstant GL_DRAW_PIXEL_TOKEN
syntax keyword glConstant GL_COPY_PIXEL_TOKEN
syntax keyword glConstant GL_PASS_THROUGH_TOKEN
syntax keyword glConstant GL_FEEDBACK_BUFFER_POINTER
syntax keyword glConstant GL_FEEDBACK_BUFFER_SIZE
syntax keyword glConstant GL_FEEDBACK_BUFFER_TYPE
" }}}
" Selection {{{
syntax keyword glConstant GL_SELECTION_BUFFER_POINTER
syntax keyword glConstant GL_SELECTION_BUFFER_SIZE
" }}}
" Fog {{{
syntax keyword glConstant GL_FOG
syntax keyword glConstant GL_FOG_MODE
syntax keyword glConstant GL_FOG_DENSITY
syntax keyword glConstant GL_FOG_COLOR
syntax keyword glConstant GL_FOG_INDEX
syntax keyword glConstant GL_FOG_START
syntax keyword glConstant GL_FOG_END
syntax keyword glConstant GL_LINEAR
syntax keyword glConstant GL_EXP
syntax keyword glConstant GL_EXP2
" }}}
" Logic ops {{{
syntax keyword glConstant GL_LOGIC_OP
syntax keyword glConstant GL_INDEX_LOGIC_OP
syntax keyword glConstant GL_COLOR_LOGIC_OP
syntax keyword glConstant GL_LOGIC_OP_MODE
syntax keyword glConstant GL_CLEAR
syntax keyword glConstant GL_SET
syntax keyword glConstant GL_COPY
syntax keyword glConstant GL_COPY_INVERTED
syntax keyword glConstant GL_NOOP
syntax keyword glConstant GL_INVERT
syntax keyword glConstant GL_AND
syntax keyword glConstant GL_NAND
syntax keyword glConstant GL_OR
syntax keyword glConstant GL_NOR
syntax keyword glConstant GL_XOR
syntax keyword glConstant GL_EQUIV
syntax keyword glConstant GL_AND_REVERSE
syntax keyword glConstant GL_AND_INVERTED
syntax keyword glConstant GL_OR_REVERSE
syntax keyword glConstant GL_OR_INVERTED
" }}}
" Stencil {{{
syntax keyword glConstant GL_STENCIL_TEST
syntax keyword glConstant GL_STENCIL_WRITEMASK
syntax keyword glConstant GL_STENCIL_BITS
syntax keyword glConstant GL_STENCIL_FUNC
syntax keyword glConstant GL_STENCIL_VALUE_MASK
syntax keyword glConstant GL_STENCIL_REF
syntax keyword glConstant GL_STENCIL_FAIL
syntax keyword glConstant GL_STENCIL_PASS_DEPTH_PASS
syntax keyword glConstant GL_STENCIL_PASS_DEPTH_FAIL
syntax keyword glConstant GL_STENCIL_CLEAR_VALUE
syntax keyword glConstant GL_STENCIL_INDEX
syntax keyword glConstant GL_KEEP
syntax keyword glConstant GL_REPLACE
syntax keyword glConstant GL_INCR
syntax keyword glConstant GL_DECR
" }}}
" Buffers, Pixel Drawing/Reading {{{
syntax keyword glConstant GL_NONE
syntax keyword glConstant GL_LEFT
syntax keyword glConstant GL_RIGHT
syntax keyword glConstant GL_FRONT_LEFT
syntax keyword glConstant GL_FRONT_RIGHT
syntax keyword glConstant GL_BACK_LEFT
syntax keyword glConstant GL_BACK_RIGHT
syntax keyword glConstant GL_AUX0
syntax keyword glConstant GL_AUX1
syntax keyword glConstant GL_AUX2
syntax keyword glConstant GL_AUX3
syntax keyword glConstant GL_COLOR_INDEX
syntax keyword glConstant GL_RED
syntax keyword glConstant GL_GREEN
syntax keyword glConstant GL_BLUE
syntax keyword glConstant GL_ALPHA
syntax keyword glConstant GL_LUMINANCE
syntax keyword glConstant GL_LUMINANCE_AL
syntax keyword glConstant GL_ALPHA_BITS
syntax keyword glConstant GL_RED_BITS
syntax keyword glConstant GL_GREEN_BITS
syntax keyword glConstant GL_BLUE_BITS
syntax keyword glConstant GL_INDEX_BITS
syntax keyword glConstant GL_SUBPIXEL_BIT
syntax keyword glConstant GL_AUX_BUFFERS
syntax keyword glConstant GL_READ_BUFFER
syntax keyword glConstant GL_DRAW_BUFFER
syntax keyword glConstant GL_DOUBLEBUFFER
syntax keyword glConstant GL_STEREO
syntax keyword glConstant GL_BITMAP
syntax keyword glConstant GL_COLOR
syntax keyword glConstant GL_DEPTH
syntax keyword glConstant GL_STENCIL
syntax keyword glConstant GL_DITHER
syntax keyword glConstant GL_RGB
syntax keyword glConstant GL_RGBA
" }}}
" Implementation limits {{{
syntax keyword glConstant GL_MAX_LIST_NESTING
syntax keyword glConstant GL_MAX_ATTRIB_STACK_DEPTH
syntax keyword glConstant GL_MAX_MODELVIEW_STACK_DEPTH
syntax keyword glConstant GL_MAX_NAME_STACK_DEPTH
syntax keyword glConstant GL_MAX_PROJECTION_STACK_DEPTH
syntax keyword glConstant GL_MAX_TEXTURE_STACK_DEPTH
syntax keyword glConstant GL_MAX_EVAL_ORDER
syntax keyword glConstant GL_MAX_LIGHTS
syntax keyword glConstant GL_MAX_CLIP_PLANES
syntax keyword glConstant GL_MAX_TEXTURE_SIZE
syntax keyword glConstant GL_MAX_PIXEL_MAP_TABLE
syntax keyword glConstant GL_MAX_VIEWPORT_DIMS
syntax keyword glConstant GL_MAX_CLIENT_ATTRIB_STACK_DEPTH
" }}}
" Gets {{{
syntax keyword glConstant GL_ATTRIB_STACK_DEPTH
syntax keyword glConstant GL_CLIENT_ATTRIB_STACK_DEPTH
syntax keyword glConstant GL_COLOR_CLEAR_VALUE
syntax keyword glConstant GL_COLOR_WRITEMASK
syntax keyword glConstant GL_CURRENT_INDEX
syntax keyword glConstant GL_CURRENT_COLOR
syntax keyword glConstant GL_CURRENT_NORMAL
syntax keyword glConstant GL_CURRENT_RASTER_COLOR
syntax keyword glConstant GL_CURRENT_RASTER_DISTANCE
syntax keyword glConstant GL_CURRENT_RASTER_INDEX
syntax keyword glConstant GL_CURRENT_RASTER_POSITION
syntax keyword glConstant GL_CURRENT_RASTER_TEXTURE_COORDS
syntax keyword glConstant GL_CURRENT_RASTER_POSITION_VALID
syntax keyword glConstant GL_CURRENT_TEXTURE_COORDS
syntax keyword glConstant GL_INDEX_CLEAR_VALUE
syntax keyword glConstant GL_INDEX_MODE
syntax keyword glConstant GL_INDEX_WRITEMASK
syntax keyword glConstant GL_MODELVIEW_MATRIX
syntax keyword glConstant GL_MODELVIEW_STACK_DEPTH
syntax keyword glConstant GL_NAME_STACK_DEPTH
syntax keyword glConstant GL_PROJECTION_MATRIX
syntax keyword glConstant GL_PROJECTION_STACK_DEPTH
syntax keyword glConstant GL_RENDER_MODE
syntax keyword glConstant GL_RGBA_MODE
syntax keyword glConstant GL_TEXTURE_MATRIX
syntax keyword glConstant GL_TEXTURE_STACK_DEPTH
syntax keyword glConstant GL_VIEWPORT
" }}}
" Evaluators {{{
syntax keyword glConstant GL_AUTO_NORMAL
syntax keyword glConstant GL_MAP1_COLOR_4
syntax keyword glConstant GL_MAP1_GRID_DOMAIN
syntax keyword glConstant GL_MAP1_GRID_SEGMENTS
syntax keyword glConstant GL_MAP1_INDEX
syntax keyword glConstant GL_MAP1_NORMAL
syntax keyword glConstant GL_MAP1_TEXTURE_COORD_1
syntax keyword glConstant GL_MAP1_TEXTURE_COORD_2
syntax keyword glConstant GL_MAP1_TEXTURE_COORD_3
syntax keyword glConstant GL_MAP1_TEXTURE_COORD_4
syntax keyword glConstant GL_MAP1_VERTEX_3
syntax keyword glConstant GL_MAP1_VERTEX_4
syntax keyword glConstant GL_MAP2_COLOR_4
syntax keyword glConstant GL_MAP2_GRID_DOMAIN
syntax keyword glConstant GL_MAP2_GRID_SEGMENTS
syntax keyword glConstant GL_MAP2_INDEX
syntax keyword glConstant GL_MAP2_NORMAL
syntax keyword glConstant GL_MAP2_TEXTURE_COORD_1
syntax keyword glConstant GL_MAP2_TEXTURE_COORD_2
syntax keyword glConstant GL_MAP2_TEXTURE_COORD_3
syntax keyword glConstant GL_MAP2_TEXTURE_COORD_4
syntax keyword glConstant GL_MAP2_VERTEX_3
syntax keyword glConstant GL_MAP2_VERTEX_4
syntax keyword glConstant GL_COEFF
syntax keyword glConstant GL_DOMAIN
syntax keyword glConstant GL_ORDER
" }}}
" Hints {{{
syntax keyword glConstant GL_FOG_HINT
syntax keyword glConstant GL_LINE_SMOOTH_HINT
syntax keyword glConstant GL_PERSPECTIVE_CORRECTION_HINT
syntax keyword glConstant GL_POINT_SMOOTH_HINT
syntax keyword glConstant GL_POLYGON_SMOOTH_HINT
syntax keyword glConstant GL_DONT_CARE
syntax keyword glConstant GL_FASTEST
syntax keyword glConstant GL_NICEST
" }}}
" Scissor box {{{
syntax keyword glConstant GL_SCISSOR_TEST
syntax keyword glConstant GL_SCISSOR_BOX
" }}}
" Pixel Mode / Transfer {{{
syntax keyword glConstant GL_MAP_COLOR
syntax keyword glConstant GL_MAP_STENCIL
syntax keyword glConstant GL_INDEX_SHIFT
syntax keyword glConstant GL_INDEX_OFFSET
syntax keyword glConstant GL_RED_SCALE
syntax keyword glConstant GL_RED_BIAS
syntax keyword glConstant GL_GREEN_SCALE
syntax keyword glConstant GL_GREEN_BIAS
syntax keyword glConstant GL_BLUE_SCALE
syntax keyword glConstant GL_BLUE_BIAS
syntax keyword glConstant GL_ALPHA_SCALE
syntax keyword glConstant GL_ALPHA_BIAS
syntax keyword glConstant GL_DEPTH_SCALE
syntax keyword glConstant GL_DEPTH_BIAS
syntax keyword glConstant GL_PIXEL_MAP_S_TO_S_SIZE
syntax keyword glConstant GL_PIXEL_MAP_I_TO_I_SIZE
syntax keyword glConstant GL_PIXEL_MAP_I_TO_R_SIZE
syntax keyword glConstant GL_PIXEL_MAP_I_TO_G_SIZE
syntax keyword glConstant GL_PIXEL_MAP_I_TO_B_SIZE
syntax keyword glConstant GL_PIXEL_MAP_I_TO_A_SIZE
syntax keyword glConstant GL_PIXEL_MAP_R_TO_R_SIZE
syntax keyword glConstant GL_PIXEL_MAP_G_TO_G_SIZE
syntax keyword glConstant GL_PIXEL_MAP_B_TO_B_SIZE
syntax keyword glConstant GL_PIXEL_MAP_A_TO_A_SIZE
syntax keyword glConstant GL_PIXEL_MAP_S_TO_S
syntax keyword glConstant GL_PIXEL_MAP_I_TO_I
syntax keyword glConstant GL_PIXEL_MAP_I_TO_R
syntax keyword glConstant GL_PIXEL_MAP_I_TO_G
syntax keyword glConstant GL_PIXEL_MAP_I_TO_B
syntax keyword glConstant GL_PIXEL_MAP_I_TO_A
syntax keyword glConstant GL_PIXEL_MAP_R_TO_R
syntax keyword glConstant GL_PIXEL_MAP_G_TO_G
syntax keyword glConstant GL_PIXEL_MAP_B_TO_B
syntax keyword glConstant GL_PIXEL_MAP_A_TO_A
syntax keyword glConstant GL_PACK_ALIGNMENT
syntax keyword glConstant GL_PACK_LSB_FIRST
syntax keyword glConstant GL_PACK_ROW_LENGTH
syntax keyword glConstant GL_PACK_SKIP_PIXELS
syntax keyword glConstant GL_PACK_SKIP_ROWS
syntax keyword glConstant GL_PACK_SWAP_BYTES
syntax keyword glConstant GL_UNPACK_ALIGNMENT
syntax keyword glConstant GL_UNPACK_ROW_LENGTH
syntax keyword glConstant GL_UNPACK_SKIP_PIXELS
syntax keyword glConstant GL_UNPACK_SKIP_ROWS
syntax keyword glConstant GL_UNPACK_SWAP_BYTES
syntax keyword glConstant GL_ZOOM_X
syntax keyword glConstant GL_ZOOM_Y
" }}}
" Texture mapping {{{
syntax keyword glConstant GL_TEXTURE_ENV
syntax keyword glConstant GL_TEXTURE_ENV_MODE
syntax keyword glConstant GL_TEXTURE_1D
syntax keyword glConstant GL_TEXTURE_2D
syntax keyword glConstant GL_TEXTURE_WRAP_S
syntax keyword glConstant GL_TEXTURE_WRAP_T
syntax keyword glConstant GL_TEXTURE_MAG_FILTER
syntax keyword glConstant GL_TEXTURE_MIN_FILTER
syntax keyword glConstant GL_TEXTURE_ENV_COLOR
syntax keyword glConstant GL_TEXTURE_GEN_S
syntax keyword glConstant GL_TEXTURE_GEN_T
syntax keyword glConstant GL_TEXTURE_GEN_MODE
syntax keyword glConstant GL_TEXTURE_BORDER_COLOR
syntax keyword glConstant GL_TEXTURE_WIDTH
syntax keyword glConstant GL_TEXTURE_HEIGHT
syntax keyword glConstant GL_TEXTURE_BORDER
syntax keyword glConstant GL_TEXTURE_COMPONENTS
syntax keyword glConstant GL_TEXTURE_RED_SIZE
syntax keyword glConstant GL_TEXTURE_GREEN_SIZE
syntax keyword glConstant GL_TEXTURE_BLUE_SIZE
syntax keyword glConstant GL_TEXTURE_ALPHA_SIZE
syntax keyword glConstant GL_TEXTURE_LUMINANCE_SIZE
syntax keyword glConstant GL_TEXTURE_INTENSITY_SIZE
syntax keyword glConstant GL_NEAREST_MIPMAP_NEAREST
syntax keyword glConstant GL_NEAREST_MIPMAP_LINEAR
syntax keyword glConstant GL_LINEAR_MIPMAP_NEAREST
syntax keyword glConstant GL_LINEAR_MIPMAP_LINEAR
syntax keyword glConstant GL_OBJECT_LINEAR
syntax keyword glConstant GL_OBJECT_PLANE
syntax keyword glConstant GL_EYE_LINEAR
syntax keyword glConstant GL_EYE_PLANE
syntax keyword glConstant GL_SPHERE_MAP
syntax keyword glConstant GL_DECAL
syntax keyword glConstant GL_MODULATE
syntax keyword glConstant GL_NEAREST
syntax keyword glConstant GL_REPEAT
syntax keyword glConstant GL_CLAMP
syntax keyword glConstant GL_S
syntax keyword glConstant GL_T
syntax keyword glConstant GL_R
syntax keyword glConstant GL_Q
syntax keyword glConstant GL_TEXTURE_GEN_R
syntax keyword glConstant GL_TEXTURE_GEN_Q
"}}}
" Utility {{{
syntax keyword glConstant GL_VENDOR
syntax keyword glConstant GL_RENDERER
syntax keyword glConstant GL_VERSION
syntax keyword glConstant GL_EXTENSIONS
"}}}
" Errors {{{
syntax keyword glConstant GL_NO_ERROR
syntax keyword glConstant GL_INVALID_VALUE
syntax keyword glConstant GL_INVALID_ENUM
syntax keyword glConstant GL_INVALID_OPERATION
syntax keyword glConstant GL_STACK_OVERFLOW
syntax keyword glConstant GL_STACK_UNDERFLOW
syntax keyword glConstant GL_OUT_OF_MEMORY
"}}}
" glPush/PopAttrib bits {{{
syntax keyword glConstant GL_CURRENT_BIT
syntax keyword glConstant GL_POINT_BIT
syntax keyword glConstant GL_LINE_BIT
syntax keyword glConstant GL_POLYGON_BIT
syntax keyword glConstant GL_POLYGON_STIPPLE_BIT
syntax keyword glConstant GL_PIXEL_MODE_BIT
syntax keyword glConstant GL_LIGHTING_BIT
syntax keyword glConstant GL_FOG_BIT
syntax keyword glConstant GL_DEPTH_BUFFER_BIT
syntax keyword glConstant GL_ACCUM_BUFFER_BIT
syntax keyword glConstant GL_STENCIL_BUFFER_BIT
syntax keyword glConstant GL_VIEWPORT_BIT
syntax keyword glConstant GL_TRANSFORM_BIT
syntax keyword glConstant GL_ENABLE_BIT
syntax keyword glConstant GL_COLOR_BUFFER_BIT
syntax keyword glConstant GL_HINT_BIT
syntax keyword glConstant GL_EVAL_BIT
syntax keyword glConstant GL_LIST_BIT
syntax keyword glConstant GL_TEXTURE_BIT
syntax keyword glConstant GL_SCISSOR_BIT
syntax keyword glConstant GL_ALL_ATTRIB_BITS
"}}}
" OpenGL 1.1 {{{
syntax keyword glConstant GL_PROXY_TEXTURE_1D
syntax keyword glConstant GL_PROXY_TEXTURE_2D
syntax keyword glConstant GL_TEXTURE_PRIORITY
syntax keyword glConstant GL_TEXTURE_RESIDENT
syntax keyword glConstant GL_TEXTURE_BINDING_1D
syntax keyword glConstant GL_TEXTURE_BINDING_2D
syntax keyword glConstant GL_TEXTURE_INTERNAL_FORMAT
syntax keyword glConstant GL_ALPHA4
syntax keyword glConstant GL_ALPHA8
syntax keyword glConstant GL_ALPHA12
syntax keyword glConstant GL_ALPHA16
syntax keyword glConstant GL_LUMINANCE4
syntax keyword glConstant GL_LUMINANCE8
syntax keyword glConstant GL_LUMINANCE12
syntax keyword glConstant GL_LUMINANCE16
syntax keyword glConstant GL_LUMINANCE4_ALPHA4
syntax keyword glConstant GL_LUMINANCE6_ALPHA2
syntax keyword glConstant GL_LUMINANCE8_ALPHA8
syntax keyword glConstant GL_LUMINANCE12_ALPHA4
syntax keyword glConstant GL_LUMINANCE12_ALPHA12
syntax keyword glConstant GL_LUMINANCE16_ALPHA16
syntax keyword glConstant GL_INTENSITY
syntax keyword glConstant GL_INTENSITY4
syntax keyword glConstant GL_INTENSITY8
syntax keyword glConstant GL_INTENSITY12
syntax keyword glConstant GL_INTENSITY16
syntax keyword glConstant GL_R3_G3_B2
syntax keyword glConstant GL_RGB4
syntax keyword glConstant GL_RGB5
syntax keyword glConstant GL_RGB8
syntax keyword glConstant GL_RGB10
syntax keyword glConstant GL_RGB12
syntax keyword glConstant GL_RGB16
syntax keyword glConstant GL_RGBA2
syntax keyword glConstant GL_RGBA4
syntax keyword glConstant GL_RGB5_A1
syntax keyword glConstant GL_RGBA8
syntax keyword glConstant GL_RGB10_A2
syntax keyword glConstant GL_RGBA12
syntax keyword glConstant GL_RGBA16
syntax keyword glConstant GL_CLIENT_PIXEL_STORE_BIT
syntax keyword glConstant GL_CLIENT_VERTEX_ARRAY_BIT
syntax keyword glConstant GL_ALL_CLIENT_ATTRIB_BITS
syntax keyword glConstant GL_CLIENT_ALL_ATTRIB_BITS
"}}}
" OpenGL 1.2 {{{
syntax keyword glConstant GL_RESCALE_NORMAL
syntax keyword glConstant GL_CLAMP_TO_EDGE
syntax keyword glConstant GL_MAX_ELEMENTS_VERTICES
syntax keyword glConstant GL_MAX_ELEMENTS_INDICES
syntax keyword glConstant GL_BGR
syntax keyword glConstant GL_BGRA
syntax keyword glConstant GL_UNSIGNED_BYTE_3_3_2
syntax keyword glConstant GL_UNSIGNED_BYTE_2_3_3_REV
syntax keyword glConstant GL_UNSIGNED_SHORT_5_6_5
syntax keyword glConstant GL_UNSIGNED_SHORT_5_6_5_REV
syntax keyword glConstant GL_UNSIGNED_SHORT_4_4_4_4
syntax keyword glConstant GL_UNSIGNED_SHORT_4_4_4_4_REV
syntax keyword glConstant GL_UNSIGNED_SHORT_5_5_5_1
syntax keyword glConstant GL_UNSIGNED_SHORT_1_5_5_5_REV
syntax keyword glConstant GL_UNSIGNED_INT_8_8_8_8
syntax keyword glConstant GL_UNSIGNED_INT_8_8_8_8_REV
syntax keyword glConstant GL_UNSIGNED_INT_10_10_10_2
syntax keyword glConstant GL_UNSIGNED_INT_2_10_10_10_REV
syntax keyword glConstant GL_LIGHT_MODEL_COLOR_CONTROL
syntax keyword glConstant GL_SINGLE_COLOR
syntax keyword glConstant GL_SEPARATE_SPECULAR_COLOR
syntax keyword glConstant GL_TEXTURE_MIN_LOD
syntax keyword glConstant GL_TEXTURE_MAX_LOD
syntax keyword glConstant GL_TEXTURE_BASE_LEVEL
syntax keyword glConstant GL_TEXTURE_MAX_LEVEL
syntax keyword glConstant GL_SMOOTH_POINT_SIZE_RANGE
syntax keyword glConstant GL_SMOOTH_POINT_SIZE_GRANULARITY
syntax keyword glConstant GL_SMOOTH_LINE_WIDTH_RANGE
syntax keyword glConstant GL_SMOOTH_LINE_WIDTH_GRANULARITY
syntax keyword glConstant GL_ALIASED_POINT_SIZE_RANGE
syntax keyword glConstant GL_ALIASED_LINE_WIDTH_RANGE
syntax keyword glConstant GL_PACK_SKIP_IMAGES
syntax keyword glConstant GL_PACK_IMAGE_HEIGHT
syntax keyword glConstant GL_UNPACK_SKIP_IMAGES
syntax keyword glConstant GL_UNPACK_IMAGE_HEIGHT
syntax keyword glConstant GL_TEXTURE_3D
syntax keyword glConstant GL_PROXY_TEXTURE_3D
syntax keyword glConstant GL_TEXTURE_DEPTH
syntax keyword glConstant GL_TEXTURE_WRAP_R
syntax keyword glConstant GL_MAX_3D_TEXTURE_SIZE
syntax keyword glConstant GL_TEXTURE_BINDING_3D
"}}}
" OpenGL 1.3 {{{
syntax keyword glConstant GL_TEXTURE0
syntax keyword glConstant GL_TEXTURE1
syntax keyword glConstant GL_TEXTURE2
syntax keyword glConstant GL_TEXTURE3
syntax keyword glConstant GL_TEXTURE4
syntax keyword glConstant GL_TEXTURE5
syntax keyword glConstant GL_TEXTURE6
syntax keyword glConstant GL_TEXTURE7
syntax keyword glConstant GL_TEXTURE8
syntax keyword glConstant GL_TEXTURE9
syntax keyword glConstant GL_TEXTURE10
syntax keyword glConstant GL_TEXTURE11
syntax keyword glConstant GL_TEXTURE12
syntax keyword glConstant GL_TEXTURE13
syntax keyword glConstant GL_TEXTURE14
syntax keyword glConstant GL_TEXTURE15
syntax keyword glConstant GL_TEXTURE16
syntax keyword glConstant GL_TEXTURE17
syntax keyword glConstant GL_TEXTURE18
syntax keyword glConstant GL_TEXTURE19
syntax keyword glConstant GL_TEXTURE20
syntax keyword glConstant GL_TEXTURE21
syntax keyword glConstant GL_TEXTURE22
syntax keyword glConstant GL_TEXTURE23
syntax keyword glConstant GL_TEXTURE24
syntax keyword glConstant GL_TEXTURE25
syntax keyword glConstant GL_TEXTURE26
syntax keyword glConstant GL_TEXTURE27
syntax keyword glConstant GL_TEXTURE28
syntax keyword glConstant GL_TEXTURE29
syntax keyword glConstant GL_TEXTURE30
syntax keyword glConstant GL_TEXTURE31
syntax keyword glConstant GL_ACTIVE_TEXTURE
syntax keyword glConstant GL_CLIENT_ACTIVE_TEXTURE
syntax keyword glConstant GL_MAX_TEXTURE_UNITS
syntax keyword glConstant GL_NORMAL_MAP
syntax keyword glConstant GL_REFLECTION_MAP
syntax keyword glConstant GL_TEXTURE_CUBE_MAP
syntax keyword glConstant GL_TEXTURE_BINDING_CUBE_MAP
syntax keyword glConstant GL_TEXTURE_CUBE_MAP_POSITIVE_X
syntax keyword glConstant GL_TEXTURE_CUBE_MAP_NEGATIVE_X
syntax keyword glConstant GL_TEXTURE_CUBE_MAP_POSITIVE_Y
syntax keyword glConstant GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
syntax keyword glConstant GL_TEXTURE_CUBE_MAP_POSITIVE_Z
syntax keyword glConstant GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
syntax keyword glConstant GL_PROXY_TEXTURE_CUBE_MAP
syntax keyword glConstant GL_MAX_CUBE_MAP_TEXTURE_SIZE
syntax keyword glConstant GL_COMPRESSED_ALPHA
syntax keyword glConstant GL_COMPRESSED_LUMINANCE
syntax keyword glConstant GL_COMPRESSED_LUMINANCE_ALPHA
syntax keyword glConstant GL_COMPRESSED_INTENSITY
syntax keyword glConstant GL_COMPRESSED_RGB
syntax keyword glConstant GL_COMPRESSED_RGBA
syntax keyword glConstant GL_TEXTURE_COMPRESSION_HINT
syntax keyword glConstant GL_TEXTURE_COMPRESSED_IMAGE_SIZE
syntax keyword glConstant GL_TEXTURE_COMPRESSED
syntax keyword glConstant GL_NUM_COMPRESSED_TEXTURE_FORMATS
syntax keyword glConstant GL_COMPRESSED_TEXTURE_FORMATS
syntax keyword glConstant GL_MULTISAMPLE
syntax keyword glConstant GL_SAMPLE_ALPHA_TO_COVERAGE
syntax keyword glConstant GL_SAMPLE_ALPHA_TO_ONE
syntax keyword glConstant GL_SAMPLE_COVERAGE
syntax keyword glConstant GL_SAMPLE_BUFFERS
syntax keyword glConstant GL_SAMPLES
syntax keyword glConstant GL_SAMPLE_COVERAGE_VALUE
syntax keyword glConstant GL_SAMPLE_COVERAGE_INVERT
syntax keyword glConstant GL_MULTISAMPLE_BIT
syntax keyword glConstant GL_TRANSPOSE_MODELVIEW_MATRIX
syntax keyword glConstant GL_TRANSPOSE_PROJECTION_MATRIX
syntax keyword glConstant GL_TRANSPOSE_TEXTURE_MATRIX
syntax keyword glConstant GL_TRANSPOSE_COLOR_MATRIX
syntax keyword glConstant GL_COMBINE
syntax keyword glConstant GL_COMBINE_RGB
syntax keyword glConstant GL_COMBINE_ALPHA
syntax keyword glConstant GL_SOURCE0_RGB
syntax keyword glConstant GL_SOURCE1_RGB
syntax keyword glConstant GL_SOURCE2_RGB
syntax keyword glConstant GL_SOURCE0_ALPHA
syntax keyword glConstant GL_SOURCE1_ALPHA
syntax keyword glConstant GL_SOURCE2_ALPHA
syntax keyword glConstant GL_OPERAND0_RGB
syntax keyword glConstant GL_OPERAND1_RGB
syntax keyword glConstant GL_OPERAND2_RGB
syntax keyword glConstant GL_OPERAND0_ALPHA
syntax keyword glConstant GL_OPERAND1_ALPHA
syntax keyword glConstant GL_OPERAND2_ALPHA
syntax keyword glConstant GL_RGB_SCALE
syntax keyword glConstant GL_ADD_SIGNED
syntax keyword glConstant GL_INTERPOLATE
syntax keyword glConstant GL_SUBTRACT
syntax keyword glConstant GL_CONSTANT
syntax keyword glConstant GL_PRIMARY_COLOR
syntax keyword glConstant GL_PREVIOUS
syntax keyword glConstant GL_DOT3_RGB
syntax keyword glConstant GL_DOT3_RGBA
syntax keyword glConstant GL_CLAMP_TO_BORDER
"}}}
" OpenGL 1.4 {{{
syntax keyword glConstant GL_GENERATE_MIPMAP
syntax keyword glConstant GL_GENERATE_MIPMAP_HINT
syntax keyword glConstant GL_BLEND_COLOR
syntax keyword glConstant GL_DEPTH_COMPONENT16
syntax keyword glConstant GL_DEPTH_COMPONENT24
syntax keyword glConstant GL_DEPTH_COMPONENT32
syntax keyword glConstant GL_TEXTURE_DEPTH_SIZE
syntax keyword glConstant GL_DEPTH_TEXTURE_MODE
syntax keyword glConstant GL_TEXTURE_COMPARE_MODE
syntax keyword glConstant GL_TEXTURE_COMPARE_FUNC
syntax keyword glConstant GL_COMPARE_R_TO_TEXTURE
syntax keyword glConstant GL_FOG_COORDINATE_SOURCE
syntax keyword glConstant GL_FOG_COORDINATE
syntax keyword glConstant GL_FRAGMENT_DEPTH
syntax keyword glConstant GL_CURRENT_FOG_COORDINATE
syntax keyword glConstant GL_FOG_COORDINATE_ARRAY_TYPE
syntax keyword glConstant GL_FOG_COORDINATE_ARRAY_STRIDE
syntax keyword glConstant GL_FOG_COORDINATE_ARRAY_POINTER
syntax keyword glConstant GL_FOG_COORDINATE_ARRAY
syntax keyword glConstant GL_POINT_SIZE_MIN
syntax keyword glConstant GL_POINT_SIZE_MAX
syntax keyword glConstant GL_POINT_FADE_THRESHOLD_SIZE
syntax keyword glConstant GL_POINT_DISTANCE_ATTENUATION
syntax keyword glConstant GL_COLOR_SUM
syntax keyword glConstant GL_CURRENT_SECONDARY_COLOR
syntax keyword glConstant GL_SECONDARY_COLOR_ARRAY_SIZE
syntax keyword glConstant GL_SECONDARY_COLOR_ARRAY_TYPE
syntax keyword glConstant GL_SECONDARY_COLOR_ARRAY_STRIDE
syntax keyword glConstant GL_SECONDARY_COLOR_ARRAY_POINTER
syntax keyword glConstant GL_SECONDARY_COLOR_ARRAY
syntax keyword glConstant GL_BLEND_DST_RGB
syntax keyword glConstant GL_BLEND_SRC_RGB
syntax keyword glConstant GL_BLEND_DST_ALPHA
syntax keyword glConstant GL_BLEND_SRC_ALPHA
syntax keyword glConstant GL_INCR_WRAP
syntax keyword glConstant GL_DECR_WRAP
syntax keyword glConstant GL_TEXTURE_FILTER_CONTROL
syntax keyword glConstant GL_TEXTURE_LOD_BIAS
syntax keyword glConstant GL_MAX_TEXTURE_LOD_BIAS
syntax keyword glConstant GL_MIRRORED_REPEAT
"}}}
" }}}
" Extensions {{{
if !exists ("c_opengl_no_ext_arb")
" ARB extensions {{{
" GL_ARB_multitexture (ARB extension and OpenGL 1.2.1) {{{
syntax keyword glConstant GL_TEXTURE0_ARB
syntax keyword glConstant GL_TEXTURE1_ARB
syntax keyword glConstant GL_TEXTURE2_ARB
syntax keyword glConstant GL_TEXTURE3_ARB
syntax keyword glConstant GL_TEXTURE4_ARB
syntax keyword glConstant GL_TEXTURE5_ARB
syntax keyword glConstant GL_TEXTURE6_ARB
syntax keyword glConstant GL_TEXTURE7_ARB
syntax keyword glConstant GL_TEXTURE8_ARB
syntax keyword glConstant GL_TEXTURE9_ARB
syntax keyword glConstant GL_TEXTURE10_ARB
syntax keyword glConstant GL_TEXTURE11_ARB
syntax keyword glConstant GL_TEXTURE12_ARB
syntax keyword glConstant GL_TEXTURE13_ARB
syntax keyword glConstant GL_TEXTURE14_ARB
syntax keyword glConstant GL_TEXTURE15_ARB
syntax keyword glConstant GL_TEXTURE16_ARB
syntax keyword glConstant GL_TEXTURE17_ARB
syntax keyword glConstant GL_TEXTURE18_ARB
syntax keyword glConstant GL_TEXTURE19_ARB
syntax keyword glConstant GL_TEXTURE20_ARB
syntax keyword glConstant GL_TEXTURE21_ARB
syntax keyword glConstant GL_TEXTURE22_ARB
syntax keyword glConstant GL_TEXTURE23_ARB
syntax keyword glConstant GL_TEXTURE24_ARB
syntax keyword glConstant GL_TEXTURE25_ARB
syntax keyword glConstant GL_TEXTURE26_ARB
syntax keyword glConstant GL_TEXTURE27_ARB
syntax keyword glConstant GL_TEXTURE28_ARB
syntax keyword glConstant GL_TEXTURE29_ARB
syntax keyword glConstant GL_TEXTURE30_ARB
syntax keyword glConstant GL_TEXTURE31_ARB
syntax keyword glConstant GL_ACTIVE_TEXTURE_ARB
syntax keyword glConstant GL_CLIENT_ACTIVE_TEXTURE_ARB
syntax keyword glConstant GL_MAX_TEXTURE_UNITS_ARB
syntax keyword glFunction glActiveTextureARB
syntax keyword glFunction glClientActiveTextureARB
syntax keyword glFunction glMultiTexCoord1dARB
syntax keyword glFunction glMultiTexCoord1dvARB
syntax keyword glFunction glMultiTexCoord1fARB
syntax keyword glFunction glMultiTexCoord1fvARB
syntax keyword glFunction glMultiTexCoord1iARB
syntax keyword glFunction glMultiTexCoord1ivARB
syntax keyword glFunction glMultiTexCoord1sARB
syntax keyword glFunction glMultiTexCoord1svARB
syntax keyword glFunction glMultiTexCoord2dARB
syntax keyword glFunction glMultiTexCoord2dvARB
syntax keyword glFunction glMultiTexCoord2fARB
syntax keyword glFunction glMultiTexCoord2fvARB
syntax keyword glFunction glMultiTexCoord2iARB
syntax keyword glFunction glMultiTexCoord2ivARB
syntax keyword glFunction glMultiTexCoord2sARB
syntax keyword glFunction glMultiTexCoord2svARB
syntax keyword glFunction glMultiTexCoord3dARB
syntax keyword glFunction glMultiTexCoord3dvARB
syntax keyword glFunction glMultiTexCoord3fARB
syntax keyword glFunction glMultiTexCoord3fvARB
syntax keyword glFunction glMultiTexCoord3iARB
syntax keyword glFunction glMultiTexCoord3ivARB
syntax keyword glFunction glMultiTexCoord3sARB
syntax keyword glFunction glMultiTexCoord3svARB
syntax keyword glFunction glMultiTexCoord4dARB
syntax keyword glFunction glMultiTexCoord4dvARB
syntax keyword glFunction glMultiTexCoord4fARB
syntax keyword glFunction glMultiTexCoord4fvARB
syntax keyword glFunction glMultiTexCoord4iARB
syntax keyword glFunction glMultiTexCoord4ivARB
syntax keyword glFunction glMultiTexCoord4sARB
syntax keyword glFunction glMultiTexCoord4svARB
syntax keyword glFunction glBlendColorEXT
syntax keyword glFunction glPolygonOffsetEXT
syntax keyword glFunction glTexImage3DEXT
syntax keyword glFunction glTexSubImage3DEXT
syntax keyword glFunction glCopyTexSubImage3DEXT
syntax keyword glFunction glGenTexturesEXT
syntax keyword glFunction glDeleteTexturesEXT
syntax keyword glFunction glBindTextureEXT
syntax keyword glFunction glPrioritizeTexturesEXT
syntax keyword glFunction glAreTexturesResidentEXT
syntax keyword glFunction glIsTextureEXT
syntax keyword glFunction glVertexPointerEXT
syntax keyword glFunction glNormalPointerEXT
syntax keyword glFunction glColorPointerEXT
syntax keyword glFunction glIndexPointerEXT
syntax keyword glFunction glTexCoordPointerEXT
syntax keyword glFunction glEdgeFlagPointerEXT
syntax keyword glFunction glGetPointervEXT
syntax keyword glFunction glArrayElementEXT
syntax keyword glFunction glDrawArraysEXT
syntax keyword glFunction glBlendEquationEXT
syntax keyword glFunction glPointParameterfEXT
syntax keyword glFunction glPointParameterfvEXT
syntax keyword glFunction glPointParameterfSGIS
syntax keyword glFunction glPointParameterfvSGIS
syntax keyword glFunction glColorTableEXT
syntax keyword glFunction glColorSubTableEXT
syntax keyword glFunction glGetColorTableEXT
syntax keyword glFunction glGetColorTableParameterfvEXT
syntax keyword glFunction glGetColorTableParameterivEXT
syntax keyword glFunction glLockArraysEXT
syntax keyword glFunction glUnlockArraysEXT
syntax keyword glFunction glWindowPos2iMESA
syntax keyword glFunction glWindowPos2sMESA
syntax keyword glFunction glWindowPos2fMESA
syntax keyword glFunction glWindowPos2dMESA
syntax keyword glFunction glWindowPos2ivMESA
syntax keyword glFunction glWindowPos2svMESA
syntax keyword glFunction glWindowPos2fvMESA
syntax keyword glFunction glWindowPos2dvMESA
syntax keyword glFunction glWindowPos3iMESA
syntax keyword glFunction glWindowPos3sMESA
syntax keyword glFunction glWindowPos3fMESA
syntax keyword glFunction glWindowPos3dMESA
syntax keyword glFunction glWindowPos3ivMESA
syntax keyword glFunction glWindowPos3svMESA
syntax keyword glFunction glWindowPos3fvMESA
syntax keyword glFunction glWindowPos3dvMESA
syntax keyword glFunction glWindowPos4iMESA
syntax keyword glFunction glWindowPos4sMESA
syntax keyword glFunction glWindowPos4fMESA
syntax keyword glFunction glWindowPos4dMESA
syntax keyword glFunction glWindowPos4ivMESA
syntax keyword glFunction glWindowPos4svMESA
syntax keyword glFunction glWindowPos4fvMESA
syntax keyword glFunction glWindowPos4dvMESA
syntax keyword glFunction glResizeBuffersMESA
syntax keyword glFunction glEnableTraceMESA
syntax keyword glFunction glDisableTraceMESA
syntax keyword glFunction glNewTraceMESA
syntax keyword glFunction glEndTraceMESA
syntax keyword glFunction glTraceAssertAttribMESA
syntax keyword glFunction glTraceCommentMESA
syntax keyword glFunction glTraceTextureMESA
syntax keyword glFunction glTraceListMESA
syntax keyword glFunction glTracePointerMESA
syntax keyword glFunction glTracePointerRangeMESA
" }}}
" Functions from GL_ARB_VERTEX_PROGRAM {{{
syntax keyword glFunction glVertexAttrib1sARB
syntax keyword glFunction glVertexAttrib1fARB
syntax keyword glFunction glVertexAttrib1dARB
syntax keyword glFunction glVertexAttrib2sARB
syntax keyword glFunction glVertexAttrib2fARB
syntax keyword glFunction glVertexAttrib2dARB
syntax keyword glFunction glVertexAttrib3sARB
syntax keyword glFunction glVertexAttrib3fARB
syntax keyword glFunction glVertexAttrib3dARB
syntax keyword glFunction glVertexAttrib4sARB
syntax keyword glFunction glVertexAttrib4fARB
syntax keyword glFunction glVertexAttrib4dARB
syntax keyword glFunction glVertexAttrib4NubARB
syntax keyword glFunction glVertexAttrib1svARB
syntax keyword glFunction glVertexAttrib1fvARB
syntax keyword glFunction glVertexAttrib1dvARB
syntax keyword glFunction glVertexAttrib2svARB
syntax keyword glFunction glVertexAttrib2fvARB
syntax keyword glFunction glVertexAttrib2dvARB
syntax keyword glFunction glVertexAttrib3svARB
syntax keyword glFunction glVertexAttrib3fvARB
syntax keyword glFunction glVertexAttrib3dvARB
syntax keyword glFunction glVertexAttrib4bvARB
syntax keyword glFunction glVertexAttrib4svARB
syntax keyword glFunction glVertexAttrib4ivARB
syntax keyword glFunction glVertexAttrib4ubvARB
syntax keyword glFunction glVertexAttrib4usvARB
syntax keyword glFunction glVertexAttrib4uivARB
syntax keyword glFunction glVertexAttrib4fvARB
syntax keyword glFunction glVertexAttrib4dvARB
syntax keyword glFunction glVertexAttrib4NbvARB
syntax keyword glFunction glVertexAttrib4NsvARB
syntax keyword glFunction glVertexAttrib4NivARB
syntax keyword glFunction glVertexAttrib4NubvARB
syntax keyword glFunction glVertexAttrib4NusvARB
syntax keyword glFunction glVertexAttrib4NuivARB
syntax keyword glFunction glVertexAttribPointerARB
syntax keyword glFunction glEnableVertexAttribArrayARB
syntax keyword glFunction glDisableVertexAttribArrayARB
syntax keyword glFunction glProgramStringARB
syntax keyword glFunction glBindProgramARB
syntax keyword glFunction glDeleteProgramsARB
syntax keyword glFunction glGenProgramsARB
syntax keyword glFunction glProgramEnvParameter4fARB
syntax keyword glFunction glProgramEnvParameter4dARB
syntax keyword glFunction glProgramEnvParameter4fvARB
syntax keyword glFunction glProgramEnvParameter4dvARB
syntax keyword glFunction glProgramLocalParameter4fARB
syntax keyword glFunction glProgramLocalParameter4dARB
syntax keyword glFunction glProgramLocalParameter4fvARB
syntax keyword glFunction glProgramLocalParameter4dvARB
syntax keyword glFunction glGetProgramEnvParameterfvARB
syntax keyword glFunction glGetProgramEnvParameterdvARB
syntax keyword glFunction glGetProgramLocalParameterfvARB
syntax keyword glFunction glGetProgramLocalParameterdvARB
syntax keyword glFunction glGetProgramivARB
syntax keyword glFunction glGetProgramStringARB
syntax keyword glFunction glGetVertexAttribdvARB
syntax keyword glFunction glGetVertexAttribfvARB
syntax keyword glFunction glGetVertexAttribivARB
syntax keyword glFunction glGetVertexAttribPointervARB
syntax keyword glFunction glIsProgramARB
" }}}
" other functions (openGL 1.4 and ARB extensions) {{{
syntax keyword glFunction glLoadTransposeMatrixfARB
syntax keyword glFunction glLoadTransposeMatrixdARB
syntax keyword glFunction glMultTransposeMatrixfARB
syntax keyword glFunction glMultTransposeMatrixdARB
syntax keyword glFunction glCompressedTexImage3DARB
syntax keyword glFunction glCompressedTexImage2DARB
syntax keyword glFunction glCompressedTexImage1DARB
syntax keyword glFunction glCompressedTexSubImage3DARB
syntax keyword glFunction glCompressedTexSubImage2DARB
syntax keyword glFunction glCompressedTexSubImage1DARB
syntax keyword glFunction glGetCompressedTexImageARB
syntax keyword glFunction glWeightbvARB
syntax keyword glFunction glWeightsvARB
syntax keyword glFunction glWeightivARB
syntax keyword glFunction glWeightfvARB
syntax keyword glFunction glWeightdvARB
syntax keyword glFunction glWeightubvARB
syntax keyword glFunction glWeightusvARB
syntax keyword glFunction glWeightuivARB
syntax keyword glFunction glWeightPointerARB
syntax keyword glFunction glVertexBlendARB
syntax keyword glFunction glWindowPos2dARB
syntax keyword glFunction glWindowPos2fARB
syntax keyword glFunction glWindowPos2iARB
syntax keyword glFunction glWindowPos2sARB
syntax keyword glFunction glWindowPos2ivARB
syntax keyword glFunction glWindowPos2svARB
syntax keyword glFunction glWindowPos2fvARB
syntax keyword glFunction glWindowPos2dvARB
syntax keyword glFunction glWindowPos3iARB
syntax keyword glFunction glWindowPos3sARB
syntax keyword glFunction glWindowPos3fARB
syntax keyword glFunction glWindowPos3dARB
syntax keyword glFunction glWindowPos3ivARB
syntax keyword glFunction glWindowPos3svARB
syntax keyword glFunction glWindowPos3fvARB
syntax keyword glFunction glWindowPos3dvARB
syntax keyword glFunction glBindBufferARB
syntax keyword glFunction glDeleteBuffersARB
syntax keyword glFunction glGenBuffersARB
syntax keyword glFunction glIsBufferARB
syntax keyword glFunction glBufferDataARB
syntax keyword glFunction glBufferSubDataARB
syntax keyword glFunction glGetBufferSubDataARB
syntax keyword glFunction glMapBufferARB
syntax keyword glFunction glUnmapBufferARB
syntax keyword glFunction glGetBufferParameterivARB
syntax keyword glFunction glGetBufferPointervARB
syntax keyword glFunction glCurrentPaletteMatrixARB
syntax keyword glFunction glMatrixIndexubvARB
syntax keyword glFunction glMatrixIndexusvARB
syntax keyword glFunction glMatrixIndexuivARB
syntax keyword glFunction glMatrixIndexPointerARB
syntax keyword glFunction glSampleCoverageARB
syntax keyword glFunction glGenQueriesARB
syntax keyword glFunction glDeleteQueriesARB
syntax keyword glFunction glIsQueryARB
syntax keyword glFunction glBeginQueryARB
syntax keyword glFunction glEndQueryARB
syntax keyword glFunction glGetQueryivARB
syntax keyword glFunction glGetQueryObjectivARB
syntax keyword glFunction glGetQueryObjectuivARB
" }}}
" GL_ARB_vertex_buffer_object {{{
syntax keyword glConstant GL_ARRAY_BUFFER_ARB
syntax keyword glConstant GL_ELEMENT_ARRAY_BUFFER_ARB
syntax keyword glConstant GL_ARRAY_BUFFER_BINDING_ARB
syntax keyword glConstant GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB
syntax keyword glConstant GL_VERTEX_ARRAY_BUFFER_BINDING_ARB
syntax keyword glConstant GL_NORMAL_ARRAY_BUFFER_BINDING_ARB
syntax keyword glConstant GL_COLOR_ARRAY_BUFFER_BINDING_ARB
syntax keyword glConstant GL_INDEX_ARRAY_BUFFER_BINDING_ARB
syntax keyword glConstant GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB
syntax keyword glConstant GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB
syntax keyword glConstant GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB
syntax keyword glConstant GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB
syntax keyword glConstant GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB
syntax keyword glConstant GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB
syntax keyword glConstant GL_STREAM_DRAW_ARB
syntax keyword glConstant GL_STREAM_READ_ARB
syntax keyword glConstant GL_STREAM_COPY_ARB
syntax keyword glConstant GL_STATIC_DRAW_ARB
syntax keyword glConstant GL_STATIC_READ_ARB
syntax keyword glConstant GL_STATIC_COPY_ARB
syntax keyword glConstant GL_DYNAMIC_DRAW_ARB
syntax keyword glConstant GL_DYNAMIC_READ_ARB
syntax keyword glConstant GL_DYNAMIC_COPY_ARB
syntax keyword glConstant GL_READ_ONLY_ARB
syntax keyword glConstant GL_WRITE_ONLY_ARB
syntax keyword glConstant GL_READ_WRITE_ARB
syntax keyword glConstant GL_BUFFER_SIZE_ARB
syntax keyword glConstant GL_BUFFER_USAGE_ARB
syntax keyword glConstant GL_BUFFER_ACCESS_ARB
syntax keyword glConstant GL_BUFFER_MAPPED_ARB
syntax keyword glConstant GL_BUFFER_MAP_POINTER_ARB
"}}}
" GL_ARB_matrix_palette {{{
syntax keyword glConstant GL_MATRIX_PALETTE_ARB
syntax keyword glConstant GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB
syntax keyword glConstant GL_MAX_PALETTE_MATRICES_ARB
syntax keyword glConstant GL_CURRENT_PALETTE_MATRIX_ARB
syntax keyword glConstant GL_MATRIX_INDEX_ARRAY_ARB
syntax keyword glConstant GL_CURRENT_MATRIX_INDEX_ARB
syntax keyword glConstant GL_MATRIX_INDEX_ARRAY_SIZE_ARB
syntax keyword glConstant GL_MATRIX_INDEX_ARRAY_TYPE_ARB
syntax keyword glConstant GL_MATRIX_INDEX_ARRAY_STRIDE_ARB
syntax keyword glConstant GL_MATRIX_INDEX_ARRAY_POINTER_ARB
" }}}
" GL_ARB_multisample {{{
syntax keyword glConstant GL_MULTISAMPLE_ARB
syntax keyword glConstant GL_SAMPLE_ALPHA_TO_COVERAGE_ARB
syntax keyword glConstant GL_SAMPLE_ALPHA_TO_ONE_ARB
syntax keyword glConstant GL_SAMPLE_COVERAGE_ARB
syntax keyword glConstant GL_SAMPLE_BUFFERS_ARB
syntax keyword glConstant GL_SAMPLES_ARB
syntax keyword glConstant GL_SAMPLE_COVERAGE_VALUE_ARB
syntax keyword glConstant GL_SAMPLE_COVERAGE_INVERT_ARB
syntax keyword glConstant GL_MULTISAMPLE_BIT_ARB
" }}}
" GL_ARB_occlusion_query {{{
syntax keyword glConstant GL_SAMPLES_PASSED_ARB
syntax keyword glConstant GL_QUERY_COUNTER_BITS_ARB
syntax keyword glConstant GL_CURRENT_QUERY_ARB
syntax keyword glConstant GL_QUERY_RESULT_ARB
syntax keyword glConstant GL_QUERY_RESULT_AVAILABLE_ARB
" }}}
" GL_ARB_texture_border_clamp {{{
syntax keyword glConstant GL_CLAMP_TO_BORDER_ARB
" }}}
" GL_ARB_texture_compression {{{
syntax keyword glConstant GL_COMPRESSED_ALPHA_ARB
syntax keyword glConstant GL_COMPRESSED_LUMINANCE_ARB
syntax keyword glConstant GL_COMPRESSED_LUMINANCE_ALPHA_ARB
syntax keyword glConstant GL_COMPRESSED_INTENSITY_ARB
syntax keyword glConstant GL_COMPRESSED_RGB_ARB
syntax keyword glConstant GL_COMPRESSED_RGBA_ARB
syntax keyword glConstant GL_TEXTURE_COMPRESSION_HINT_ARB
syntax keyword glConstant GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB
syntax keyword glConstant GL_TEXTURE_COMPRESSED_ARB
syntax keyword glConstant GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB
syntax keyword glConstant GL_COMPRESSED_TEXTURE_FORMATS_ARB
" }}}
" GL_ARB_texture_cube_map {{{
syntax keyword glConstant GL_NORMAL_MAP_ARB
syntax keyword glConstant GL_REFLECTION_MAP_ARB
syntax keyword glConstant GL_TEXTURE_CUBE_MAP_ARB
syntax keyword glConstant GL_TEXTURE_BINDING_CUBE_MAP_ARB
syntax keyword glConstant GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB
syntax keyword glConstant GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB
syntax keyword glConstant GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB
syntax keyword glConstant GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB
syntax keyword glConstant GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB
syntax keyword glConstant GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB
syntax keyword glConstant GL_PROXY_TEXTURE_CUBE_MAP_ARB
syntax keyword glConstant GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB
" }}}
" GL_ARB_texture_env_combine {{{
syntax keyword glConstant GL_COMBINE_ARB
syntax keyword glConstant GL_COMBINE_RGB_ARB
syntax keyword glConstant GL_COMBINE_ALPHA_ARB
syntax keyword glConstant GL_SOURCE0_RGB_ARB
syntax keyword glConstant GL_SOURCE1_RGB_ARB
syntax keyword glConstant GL_SOURCE2_RGB_ARB
syntax keyword glConstant GL_SOURCE0_ALPHA_ARB
syntax keyword glConstant GL_SOURCE1_ALPHA_ARB
syntax keyword glConstant GL_SOURCE2_ALPHA_ARB
syntax keyword glConstant GL_OPERAND0_RGB_ARB
syntax keyword glConstant GL_OPERAND1_RGB_ARB
syntax keyword glConstant GL_OPERAND2_RGB_ARB
syntax keyword glConstant GL_OPERAND0_ALPHA_ARB
syntax keyword glConstant GL_OPERAND1_ALPHA_ARB
syntax keyword glConstant GL_OPERAND2_ALPHA_ARB
syntax keyword glConstant GL_RGB_SCALE_ARB
syntax keyword glConstant GL_ADD_SIGNED_ARB
syntax keyword glConstant GL_INTERPOLATE_ARB
syntax keyword glConstant GL_CONSTANT_ARB
syntax keyword glConstant GL_PRIMARY_COLOR_ARB
syntax keyword glConstant GL_PREVIOUS_ARB
syntax keyword glConstant GL_SUBTRACT_ARB
" }}}
" GL_ARB_texture_env_dot3 {{{
syntax keyword glConstant GL_DOT3_RGB_ARB
syntax keyword glConstant GL_DOT3_RGBA_ARB
" }}}
" GL_ARB_texture_mirrored_repeat {{{
syntax keyword glConstant GL_MIRRORED_REPEAT_ARB
" }}}
" GL_ARB_transpose_matrix {{{
syntax keyword glConstant GL_TRANSPOSE_MODELVIEW_MATRIX_ARB
syntax keyword glConstant GL_TRANSPOSE_PROJECTION_MATRIX_ARB
syntax keyword glConstant GL_TRANSPOSE_TEXTURE_MATRIX_ARB
syntax keyword glConstant GL_TRANSPOSE_COLOR_MATRIX_ARB
" }}}
" GL_ARB_vertex_blend {{{
syntax keyword glConstant GL_MAX_VERTEX_UNITS_ARB
syntax keyword glConstant GL_ACTIVE_VERTEX_UNITS_ARB
syntax keyword glConstant GL_WEIGHT_SUM_UNITY_ARB
syntax keyword glConstant GL_VERTEX_BLEND_ARB
syntax keyword glConstant GL_CURRENT_WEIGHT_ARB
syntax keyword glConstant GL_WEIGHT_ARRAY_TYPE_ARB
syntax keyword glConstant GL_WEIGHT_ARRAY_STRIDE_ARB
syntax keyword glConstant GL_WEIGHT_ARRAY_SIZE_ARB
syntax keyword glConstant GL_WEIGHT_ARRAY_POINTER_ARB
syntax keyword glConstant GL_WEIGHT_ARRAY_ARB
syntax keyword glConstant GL_MODELVIEW0_ARB
syntax keyword glConstant GL_MODELVIEW1_ARB
syntax keyword glConstant GL_MODELVIEW2_ARB
syntax keyword glConstant GL_MODELVIEW3_ARB
syntax keyword glConstant GL_MODELVIEW4_ARB
syntax keyword glConstant GL_MODELVIEW5_ARB
syntax keyword glConstant GL_MODELVIEW6_ARB
syntax keyword glConstant GL_MODELVIEW7_ARB
syntax keyword glConstant GL_MODELVIEW8_ARB
syntax keyword glConstant GL_MODELVIEW9_ARB
syntax keyword glConstant GL_MODELVIEW10_ARB
syntax keyword glConstant GL_MODELVIEW11_ARB
syntax keyword glConstant GL_MODELVIEW12_ARB
syntax keyword glConstant GL_MODELVIEW13_ARB
syntax keyword glConstant GL_MODELVIEW14_ARB
syntax keyword glConstant GL_MODELVIEW15_ARB
syntax keyword glConstant GL_MODELVIEW16_ARB
syntax keyword glConstant GL_MODELVIEW17_ARB
syntax keyword glConstant GL_MODELVIEW18_ARB
syntax keyword glConstant GL_MODELVIEW19_ARB
syntax keyword glConstant GL_MODELVIEW20_ARB
syntax keyword glConstant GL_MODELVIEW21_ARB
syntax keyword glConstant GL_MODELVIEW22_ARB
syntax keyword glConstant GL_MODELVIEW23_ARB
syntax keyword glConstant GL_MODELVIEW24_ARB
syntax keyword glConstant GL_MODELVIEW25_ARB
syntax keyword glConstant GL_MODELVIEW26_ARB
syntax keyword glConstant GL_MODELVIEW27_ARB
syntax keyword glConstant GL_MODELVIEW28_ARB
syntax keyword glConstant GL_MODELVIEW29_ARB
syntax keyword glConstant GL_MODELVIEW30_ARB
syntax keyword glConstant GL_MODELVIEW31_ARB
" }}}
" GL_ARB_vertex_program {{{
syntax keyword glConstant GL_VERTEX_PROGRAM_ARB
syntax keyword glConstant GL_VERTEX_PROGRAM_POINT_SIZE_ARB
syntax keyword glConstant GL_VERTEX_PROGRAM_TWO_SIDE_ARB
syntax keyword glConstant GL_COLOR_SUM_ARB
syntax keyword glConstant GL_PROGRAM_FORMAT_ASCII_ARB
syntax keyword glConstant GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
syntax keyword glConstant GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
syntax keyword glConstant GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
syntax keyword glConstant GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
syntax keyword glConstant GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
syntax keyword glConstant GL_CURRENT_VERTEX_ATTRIB_ARB
syntax keyword glConstant GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
syntax keyword glConstant GL_PROGRAM_LENGTH_ARB
syntax keyword glConstant GL_PROGRAM_FORMAT_ARB
syntax keyword glConstant GL_PROGRAM_BINDING_ARB
syntax keyword glConstant GL_PROGRAM_INSTRUCTIONS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_INSTRUCTIONS_ARB
syntax keyword glConstant GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
syntax keyword glConstant GL_PROGRAM_TEMPORARIES_ARB
syntax keyword glConstant GL_MAX_PROGRAM_TEMPORARIES_ARB
syntax keyword glConstant GL_PROGRAM_NATIVE_TEMPORARIES_ARB
syntax keyword glConstant GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
syntax keyword glConstant GL_PROGRAM_PARAMETERS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_PARAMETERS_ARB
syntax keyword glConstant GL_PROGRAM_NATIVE_PARAMETERS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
syntax keyword glConstant GL_PROGRAM_ATTRIBS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_ATTRIBS_ARB
syntax keyword glConstant GL_PROGRAM_NATIVE_ATTRIBS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
syntax keyword glConstant GL_PROGRAM_ADDRESS_REGISTERS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB
syntax keyword glConstant GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
syntax keyword glConstant GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
syntax keyword glConstant GL_PROGRAM_STRING_ARB
syntax keyword glConstant GL_PROGRAM_ERROR_POSITION_ARB
syntax keyword glConstant GL_CURRENT_MATRIX_ARB
syntax keyword glConstant GL_TRANSPOSE_CURRENT_MATRIX_ARB
syntax keyword glConstant GL_CURRENT_MATRIX_STACK_DEPTH_ARB
syntax keyword glConstant GL_MAX_VERTEX_ATTRIBS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_MATRICES_ARB
syntax keyword glConstant GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB
syntax keyword glConstant GL_PROGRAM_ERROR_STRING_ARB
syntax keyword glConstant GL_MATRIX0_ARB
syntax keyword glConstant GL_MATRIX1_ARB
syntax keyword glConstant GL_MATRIX2_ARB
syntax keyword glConstant GL_MATRIX3_ARB
syntax keyword glConstant GL_MATRIX4_ARB
syntax keyword glConstant GL_MATRIX5_ARB
syntax keyword glConstant GL_MATRIX6_ARB
syntax keyword glConstant GL_MATRIX7_ARB
syntax keyword glConstant GL_MATRIX8_ARB
syntax keyword glConstant GL_MATRIX9_ARB
syntax keyword glConstant GL_MATRIX10_ARB
syntax keyword glConstant GL_MATRIX11_ARB
syntax keyword glConstant GL_MATRIX12_ARB
syntax keyword glConstant GL_MATRIX13_ARB
syntax keyword glConstant GL_MATRIX14_ARB
syntax keyword glConstant GL_MATRIX15_ARB
syntax keyword glConstant GL_MATRIX16_ARB
syntax keyword glConstant GL_MATRIX17_ARB
syntax keyword glConstant GL_MATRIX18_ARB
syntax keyword glConstant GL_MATRIX19_ARB
syntax keyword glConstant GL_MATRIX20_ARB
syntax keyword glConstant GL_MATRIX21_ARB
syntax keyword glConstant GL_MATRIX22_ARB
syntax keyword glConstant GL_MATRIX23_ARB
syntax keyword glConstant GL_MATRIX24_ARB
syntax keyword glConstant GL_MATRIX25_ARB
syntax keyword glConstant GL_MATRIX26_ARB
syntax keyword glConstant GL_MATRIX27_ARB
syntax keyword glConstant GL_MATRIX28_ARB
syntax keyword glConstant GL_MATRIX29_ARB
syntax keyword glConstant GL_MATRIX30_ARB
syntax keyword glConstant GL_MATRIX31_ARB
" }}}
" GL_ARB_depth_texture {{{
syntax keyword glConstant GL_DEPTH_COMPONENT16_ARB
syntax keyword glConstant GL_DEPTH_COMPONENT24_ARB
syntax keyword glConstant GL_DEPTH_COMPONENT32_ARB
syntax keyword glConstant GL_TEXTURE_DEPTH_SIZE_ARB
syntax keyword glConstant GL_DEPTH_TEXTURE_MODE_ARB
" }}}
" GL_ARB_shadow {{{
syntax keyword glConstant GL_TEXTURE_COMPARE_MODE_ARB
syntax keyword glConstant GL_TEXTURE_COMPARE_FUNC_ARB
syntax keyword glConstant GL_COMPARE_R_TO_TEXTURE_ARB
" }}}
" GL_ARB_shadow_ambient {{{
syntax keyword glConstant GL_TEXTURE_COMPARE_FAIL_VALUE_ARB
" }}}
" GL_ARB_point_parameters {{{
syntax keyword glConstant GL_POINT_SIZE_MIN_ARB
syntax keyword glConstant GL_POINT_SIZE_MAX_ARB
syntax keyword glConstant GL_POINT_FADE_THRESHOLD_SIZE_ARB
syntax keyword glConstant GL_POINT_DISTANCE_ATTENUATION_ARB
" }}}
" GL_ARB_fragment_program {{{
syntax keyword glConstant GL_FRAGMENT_PROGRAM_ARB
syntax keyword glConstant GL_PROGRAM_ALU_INSTRUCTIONS_ARB
syntax keyword glConstant GL_PROGRAM_TEX_INSTRUCTIONS_ARB
syntax keyword glConstant GL_PROGRAM_TEX_INDIRECTIONS_ARB
syntax keyword glConstant GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
syntax keyword glConstant GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB
syntax keyword glConstant GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB
syntax keyword glConstant GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB
syntax keyword glConstant GL_MAX_TEXTURE_COORDS_ARB
syntax keyword glConstant GL_MAX_TEXTURE_IMAGE_UNITS_ARB
" }}}
" OpenGL ARB extension GL_ARB_shader_objects {{{
syntax keyword glConstant GL_OBJECT_TYPE_ARB
syntax keyword glConstant GL_OBJECT_SUBTYPE_ARB
syntax keyword glConstant GL_OBJECT_DELETE_STATUS_ARB
syntax keyword glConstant GL_OBJECT_COMPILE_STATUS_ARB
syntax keyword glConstant GL_OBJECT_LINK_STATUS_ARB
syntax keyword glConstant GL_OBJECT_VALIDATE_STATUS_ARB
syntax keyword glConstant GL_OBJECT_INFO_LOG_LENGTH_ARB
syntax keyword glConstant GL_OBJECT_ATTACHED_OBJECTS_ARB
syntax keyword glConstant GL_OBJECT_ACTIVE_UNIFORMS_ARB
syntax keyword glConstant GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB
syntax keyword glConstant GL_OBJECT_SHADER_SOURCE_LENGTH_ARB
syntax keyword glType GL_PROGRAM_OBJECT_ARB
syntax keyword glType GL_SHADER_OBJECT_ARB
syntax keyword glType GL_FLOAT_VEC2_ARB
syntax keyword glType GL_FLOAT_VEC3_ARB
syntax keyword glType GL_FLOAT_VEC4_ARB
syntax keyword glType GL_INT_VEC2_ARB
syntax keyword glType GL_INT_VEC3_ARB
syntax keyword glType GL_INT_VEC4_ARB
syntax keyword glType GL_BOOL_ARB
syntax keyword glType GL_BOOL_VEC2_ARB
syntax keyword glType GL_BOOL_VEC3_ARB
syntax keyword glType GL_BOOL_VEC4_ARB
syntax keyword glType GL_FLOAT_MAT2_ARB
syntax keyword glType GL_FLOAT_MAT3_ARB
syntax keyword glType GL_FLOAT_MAT4_ARB
syntax keyword glType GLcharARB
syntax keyword glType GLhandleARB
syntax keyword glFunction glDeleteObjectARB
syntax keyword glFunction glGetHandleARB
syntax keyword glFunction glDetachObjectARB
syntax keyword glFunction glCreateShaderObjectARB
syntax keyword glFunction glShaderSourceARB
syntax keyword glFunction glCompileShaderARB
syntax keyword glFunction glCreateProgramObjectARB
syntax keyword glFunction glAttachObjectARB
syntax keyword glFunction glLinkProgramARB
syntax keyword glFunction glUseProgramObjectARB
syntax keyword glFunction glValidateProgramARB
syntax keyword glFunction glUniform1fARB
syntax keyword glFunction glUniform2fARB
syntax keyword glFunction glUniform3fARB
syntax keyword glFunction glUniform4fARB
syntax keyword glFunction glUniform1iARB
syntax keyword glFunction glUniform2iARB
syntax keyword glFunction glUniform3iARB
syntax keyword glFunction glUniform4iARB
syntax keyword glFunction glUniform1fvARB
syntax keyword glFunction glUniform2fvARB
syntax keyword glFunction glUniform3fvARB
syntax keyword glFunction glUniform4fvARB
syntax keyword glFunction glUniform1ivARB
syntax keyword glFunction glUniform2ivARB
syntax keyword glFunction glUniform3ivARB
syntax keyword glFunction glUniform4ivARB
syntax keyword glFunction glUniformMatrix2fvARB
syntax keyword glFunction glUniformMatrix3fvARB
syntax keyword glFunction glUniformMatrix4fvARB
syntax keyword glFunction glGetObjectParameterfvARB
syntax keyword glFunction glGetObjectParameterivARB
syntax keyword glFunction glGetInfoLogARB
syntax keyword glFunction glGetAttachedObjectsARB
syntax keyword glFunction glGetUniformLocationARB
syntax keyword glFunction glGetActiveUniformARB
syntax keyword glFunction glGetUniformfvARB
syntax keyword glFunction glGetUniformivARB
syntax keyword glFunction glGetShaderSourceARB
" }}}
" OpenGL ARB extension GL_ARB_vertex_shader {{{
syntax keyword glConstant GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB
syntax keyword glConstant GL_MAX_VARYING_FLOATS_ARB
syntax keyword glConstant GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB
syntax keyword glConstant GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB
syntax keyword glConstant GL_OBJECT_ACTIVE_ATTRIBUTES_ARB
syntax keyword glConstant GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB
syntax keyword glType GL_VERTEX_SHADER_ARB
syntax keyword glFunction glBindAttribLocationARB
syntax keyword glFunction glGetActiveAttribARB
syntax keyword glFunction glGetAttribLocationARB
" }}}
" OpenGL ARB extension GL_ARB_fragment_shader {{{
syntax keyword glConstant GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB
syntax keyword glType GL_FRAGMENT_SHADER_ARB
" }}}
" }}}
endif
" }}}
" Functions {{{
syntax keyword glFunction glClearIndex
syntax keyword glFunction glClearColor
syntax keyword glFunction glClear
syntax keyword glFunction glIndexMask
syntax keyword glFunction glColorMask
syntax keyword glFunction glAlphaFunc
syntax keyword glFunction glBlendFunc
syntax keyword glFunction glLogicOp
syntax keyword glFunction glCullFace
syntax keyword glFunction glFrontFace
syntax keyword glFunction glPointSize
syntax keyword glFunction glLineWidth
syntax keyword glFunction glLineStipple
syntax keyword glFunction glPolygonMode
syntax keyword glFunction glPolygonOffset
syntax keyword glFunction glPolygonStipple
syntax keyword glFunction glGetPolygonStipple
syntax keyword glFunction glEdgeFlag
syntax keyword glFunction glEdgeFlagv
syntax keyword glFunction glScissor
syntax keyword glFunction glClipPlane
syntax keyword glFunction glGetClipPlane
syntax keyword glFunction glDrawBuffer
syntax keyword glFunction glReadBuffer
syntax keyword glFunction glEnable
syntax keyword glFunction glDisable
syntax keyword glFunction glIsEnabled
syntax keyword glFunction glEnableClientState
syntax keyword glFunction glDisableClientState
syntax keyword glFunction glGetBooleanv
syntax keyword glFunction glGetDoublev
syntax keyword glFunction glGetFloatv
syntax keyword glFunction glGetIntegerv
syntax keyword glFunction glPushAttrib
syntax keyword glFunction glPopAttrib
syntax keyword glFunction glPushClientAttrib
syntax keyword glFunction glPopClientAttrib
syntax keyword glFunction glRenderMode
syntax keyword glFunction glGetError
syntax keyword glFunction glGetString
syntax keyword glFunction glFinish
syntax keyword glFunction glFlush
syntax keyword glFunction glHint
syntax keyword glFunction glClearDepth
syntax keyword glFunction glDepthFunc
syntax keyword glFunction glDepthMask
syntax keyword glFunction glDepthRange
syntax keyword glFunction glClearAccum
syntax keyword glFunction glAccum
syntax keyword glFunction glMatrixMode
syntax keyword glFunction glOrtho
syntax keyword glFunction glFrustum
syntax keyword glFunction glViewport
syntax keyword glFunction glPushMatrix
syntax keyword glFunction glPopMatrix
syntax keyword glFunction glLoadIdentity
syntax keyword glFunction glLoadMatrixd
syntax keyword glFunction glLoadMatrixf
syntax keyword glFunction glMultMatrixd
syntax keyword glFunction glMultMatrixf
syntax keyword glFunction glRotated
syntax keyword glFunction gle
syntax keyword glFunction glRotatef
syntax keyword glFunction gle
syntax keyword glFunction glScaled
syntax keyword glFunction glScalef
syntax keyword glFunction glTranslated
syntax keyword glFunction glTranslatef
syntax keyword glFunction glIsList
syntax keyword glFunction glDeleteLists
syntax keyword glFunction glGenLists
syntax keyword glFunction glNewList
syntax keyword glFunction glEndList
syntax keyword glFunction glCallList
syntax keyword glFunction glCallLists
syntax keyword glFunction glListBase
syntax keyword glFunction glBegin
syntax keyword glFunction glEnd
syntax keyword glFunction glVertex2d
syntax keyword glFunction glVertex2f
syntax keyword glFunction glVertex2i
syntax keyword glFunction glVertex2s
syntax keyword glFunction glVertex3d
syntax keyword glFunction glVertex3f
syntax keyword glFunction glVertex3i
syntax keyword glFunction glVertex3s
syntax keyword glFunction glVertex4d
syntax keyword glFunction glVertex4f
syntax keyword glFunction glVertex4i
syntax keyword glFunction glVertex4s
syntax keyword glFunction glVertex2dv
syntax keyword glFunction glVertex2fv
syntax keyword glFunction glVertex2iv
syntax keyword glFunction glVertex2sv
syntax keyword glFunction glVertex3dv
syntax keyword glFunction glVertex3fv
syntax keyword glFunction glVertex3iv
syntax keyword glFunction glVertex3sv
syntax keyword glFunction glVertex4dv
syntax keyword glFunction glVertex4fv
syntax keyword glFunction glVertex4iv
syntax keyword glFunction glVertex4sv
syntax keyword glFunction glNormal3b
syntax keyword glFunction glNormal3d
syntax keyword glFunction glNormal3f
syntax keyword glFunction glNormal3i
syntax keyword glFunction glNormal3s
syntax keyword glFunction glNormal3bv
syntax keyword glFunction glNormal3dv
syntax keyword glFunction glNormal3fv
syntax keyword glFunction glNormal3iv
syntax keyword glFunction glNormal3sv
syntax keyword glFunction glIndexd
syntax keyword glFunction glIndexf
syntax keyword glFunction glIndexi
syntax keyword glFunction glIndexs
syntax keyword glFunction glIndexub
syntax keyword glFunction glIndexdv
syntax keyword glFunction glIndexfv
syntax keyword glFunction glIndexiv
syntax keyword glFunction glIndexsv
syntax keyword glFunction glIndexubv
syntax keyword glFunction glColor3b
syntax keyword glFunction glColor3d
syntax keyword glFunction glColor3f
syntax keyword glFunction glColor3i
syntax keyword glFunction glColor3s
syntax keyword glFunction glColor3ub
syntax keyword glFunction glColor3ui
syntax keyword glFunction glColor3us
syntax keyword glFunction glColor4b
syntax keyword glFunction glColor4d
syntax keyword glFunction glColor4f
syntax keyword glFunction glColor4i
syntax keyword glFunction glColor4s
syntax keyword glFunction glColor4ub
syntax keyword glFunction glColor4ui
syntax keyword glFunction glColor4us
syntax keyword glFunction glColor3bv
syntax keyword glFunction glColor3dv
syntax keyword glFunction glColor3fv
syntax keyword glFunction glColor3iv
syntax keyword glFunction glColor3sv
syntax keyword glFunction glColor3ubv
syntax keyword glFunction glColor3uiv
syntax keyword glFunction glColor3usv
syntax keyword glFunction glColor4bv
syntax keyword glFunction glColor4dv
syntax keyword glFunction glColor4fv
syntax keyword glFunction glColor4iv
syntax keyword glFunction glColor4sv
syntax keyword glFunction glColor4ubv
syntax keyword glFunction glColor4uiv
syntax keyword glFunction glColor4usv
syntax keyword glFunction glTexCoord1d
syntax keyword glFunction glTexCoord1f
syntax keyword glFunction glTexCoord1i
syntax keyword glFunction glTexCoord1s
syntax keyword glFunction glTexCoord2d
syntax keyword glFunction glTexCoord2f
syntax keyword glFunction glTexCoord2i
syntax keyword glFunction glTexCoord2s
syntax keyword glFunction glTexCoord3d
syntax keyword glFunction glTexCoord3f
syntax keyword glFunction glTexCoord3i
syntax keyword glFunction glTexCoord3s
syntax keyword glFunction glTexCoord4d
syntax keyword glFunction glTexCoord4f
syntax keyword glFunction glTexCoord4i
syntax keyword glFunction glTexCoord4s
syntax keyword glFunction glTexCoord1dv
syntax keyword glFunction glTexCoord1fv
syntax keyword glFunction glTexCoord1iv
syntax keyword glFunction glTexCoord1sv
syntax keyword glFunction glTexCoord2dv
syntax keyword glFunction glTexCoord2fv
syntax keyword glFunction glTexCoord2iv
syntax keyword glFunction glTexCoord2sv
syntax keyword glFunction glTexCoord3dv
syntax keyword glFunction glTexCoord3fv
syntax keyword glFunction glTexCoord3iv
syntax keyword glFunction glTexCoord3sv
syntax keyword glFunction glTexCoord4dv
syntax keyword glFunction glTexCoord4fv
syntax keyword glFunction glTexCoord4iv
syntax keyword glFunction glTexCoord4sv
syntax keyword glFunction glRasterPos2d
syntax keyword glFunction glRasterPos2f
syntax keyword glFunction glRasterPos2i
syntax keyword glFunction glRasterPos2s
syntax keyword glFunction glRasterPos3d
syntax keyword glFunction glRasterPos3f
syntax keyword glFunction glRasterPos3i
syntax keyword glFunction glRasterPos3s
syntax keyword glFunction glRasterPos4d
syntax keyword glFunction glRasterPos4f
syntax keyword glFunction glRasterPos4i
syntax keyword glFunction glRasterPos4s
syntax keyword glFunction glRasterPos2dv
syntax keyword glFunction glRasterPos2fv
syntax keyword glFunction glRasterPos2iv
syntax keyword glFunction glRasterPos2sv
syntax keyword glFunction glRasterPos3dv
syntax keyword glFunction glRasterPos3fv
syntax keyword glFunction glRasterPos3iv
syntax keyword glFunction glRasterPos3sv
syntax keyword glFunction glRasterPos4dv
syntax keyword glFunction glRasterPos4fv
syntax keyword glFunction glRasterPos4iv
syntax keyword glFunction glRasterPos4sv
syntax keyword glFunction glRectd
syntax keyword glFunction glRectf
syntax keyword glFunction glRecti
syntax keyword glFunction glRects
syntax keyword glFunction glRectdv
syntax keyword glFunction glRectfv
syntax keyword glFunction glRectiv
syntax keyword glFunction glRectsv
syntax keyword glFunction glVertexPointer
syntax keyword glFunction glNormalPointer
syntax keyword glFunction glColorPointer
syntax keyword glFunction glIndexPointer
syntax keyword glFunction glTexCoordPointer
syntax keyword glFunction glEdgeFlagPointer
syntax keyword glFunction glGetPointerv
syntax keyword glFunction glArrayElement
syntax keyword glFunction glDrawArrays
syntax keyword glFunction glDrawElements
syntax keyword glFunction glInterleavedArrays
syntax keyword glFunction glShadeModel
syntax keyword glFunction glLightf
syntax keyword glFunction glLighti
syntax keyword glFunction glLightfv
syntax keyword glFunction glLightiv
syntax keyword glFunction glGetLightfv
syntax keyword glFunction glGetLightiv
syntax keyword glFunction glLightModelf
syntax keyword glFunction glLightModeli
syntax keyword glFunction glLightModelfv
syntax keyword glFunction glLightModeliv
syntax keyword glFunction glMaterialf
syntax keyword glFunction glMateriali
syntax keyword glFunction glMaterialfv
syntax keyword glFunction glMaterialiv
syntax keyword glFunction glGetMaterialfv
syntax keyword glFunction glGetMaterialiv
syntax keyword glFunction glColorMaterial
syntax keyword glFunction glPixelZoom
syntax keyword glFunction glPixelStoref
syntax keyword glFunction glPixelStorei
syntax keyword glFunction glPixelTransferf
syntax keyword glFunction glPixelTransferi
syntax keyword glFunction glPixelMapfv
syntax keyword glFunction glPixelMapuiv
syntax keyword glFunction glPixelMapusv
syntax keyword glFunction glGetPixelMapfv
syntax keyword glFunction glGetPixelMapuiv
syntax keyword glFunction glGetPixelMapusv
syntax keyword glFunction glBitmap
syntax keyword glFunction glReadPixels
syntax keyword glFunction glDrawPixels
syntax keyword glFunction glCopyPixels
syntax keyword glFunction glStencilFunc
syntax keyword glFunction glStencilMask
syntax keyword glFunction glStencilOp
syntax keyword glFunction glClearStencil
syntax keyword glFunction glTexGend
syntax keyword glFunction glTexGenf
syntax keyword glFunction glTexGeni
syntax keyword glFunction glTexGendv
syntax keyword glFunction glTexGenfv
syntax keyword glFunction glTexGeniv
syntax keyword glFunction glGetTexGendv
syntax keyword glFunction glGetTexGenfv
syntax keyword glFunction glGetTexGeniv
syntax keyword glFunction glTexEnvf
syntax keyword glFunction glTexEnvi
syntax keyword glFunction glTexEnvfv
syntax keyword glFunction glTexEnviv
syntax keyword glFunction glGetTexEnvfv
syntax keyword glFunction glGetTexEnviv
syntax keyword glFunction glTexParameterf
syntax keyword glFunction glTexParameteri
syntax keyword glFunction glTexParameterfv
syntax keyword glFunction glTexParameteriv
syntax keyword glFunction glGetTexParameterfv
syntax keyword glFunction glGetTexParameteriv
syntax keyword glFunction glGetTexLevelParameterfv
syntax keyword glFunction glGetTexLevelParameteriv
syntax keyword glFunction glTexImage1D
syntax keyword glFunction glTexImage2D
syntax keyword glFunction glGetTexImage
syntax keyword glFunction glGenTextures
syntax keyword glFunction glDeleteTextures
syntax keyword glFunction glBindTexture
syntax keyword glFunction glPrioritizeTextures
syntax keyword glFunction glAreTexturesResident
syntax keyword glFunction glIsTexture
syntax keyword glFunction glTexSubImage1D
syntax keyword glFunction glTexSubImage2D
syntax keyword glFunction glCopyTexImage1D
syntax keyword glFunction glCopyTexImage2D
syntax keyword glFunction glCopyTexSubImage1D
syntax keyword glFunction glCopyTexSubImage2D
syntax keyword glFunction glMap1d
syntax keyword glFunction glMap1f
syntax keyword glFunction glMap2d
syntax keyword glFunction glMap2f
syntax keyword glFunction glGetMapdv
syntax keyword glFunction glGetMapfv
syntax keyword glFunction glGetMapiv
syntax keyword glFunction glEvalCoord1d
syntax keyword glFunction glEvalCoord1f
syntax keyword glFunction glEvalCoord1dv
syntax keyword glFunction glEvalCoord1fv
syntax keyword glFunction glEvalCoord2d
syntax keyword glFunction glEvalCoord2f
syntax keyword glFunction glEvalCoord2dv
syntax keyword glFunction glEvalCoord2fv
syntax keyword glFunction glMapGrid1d
syntax keyword glFunction glMapGrid1f
syntax keyword glFunction glMapGrid2d
syntax keyword glFunction glMapGrid2f
syntax keyword glFunction glEvalPoint1
syntax keyword glFunction glEvalPoint2
syntax keyword glFunction glEvalMesh1
syntax keyword glFunction glEvalMesh2
syntax keyword glFunction glFogf
syntax keyword glFunction glFogi
syntax keyword glFunction glFogfv
syntax keyword glFunction glFogiv
syntax keyword glFunction glFeedbackBuffer
syntax keyword glFunction glPassThrough
syntax keyword glFunction glSelectBuffer
syntax keyword glFunction glInitNames
syntax keyword glFunction glLoadName
syntax keyword glFunction glPushName
syntax keyword glFunction glPopName
syntax keyword glFunction glDrawRangeElements
syntax keyword glFunction glTexImage3D
syntax keyword glFunction glTexSubImage3D
syntax keyword glFunction glCopyTexSubImage3D
syntax keyword glFunction glColorTable
syntax keyword glFunction glColorSubTable
syntax keyword glFunction glColorTableParameteriv
syntax keyword glFunction glColorTableParameterfv
syntax keyword glFunction glCopyColorSubTable
syntax keyword glFunction glCopyColorTable
syntax keyword glFunction glGetColorTable
syntax keyword glFunction glGetColorTableParameterfv
syntax keyword glFunction glGetColorTableParameteriv
syntax keyword glFunction glBlendEquation
syntax keyword glFunction glBlendColor
syntax keyword glFunction glHistogram
syntax keyword glFunction glResetHistogram
syntax keyword glFunction glGetHistogram
syntax keyword glFunction glGetHistogramParameterfv
syntax keyword glFunction glGetHistogramParameteriv
syntax keyword glFunction glMinmax
syntax keyword glFunction glResetMinmax
syntax keyword glFunction glGetMinmax
syntax keyword glFunction glGetMinmaxParameterfv
syntax keyword glFunction glGetMinmaxParameteriv
syntax keyword glFunction glConvolutionFilter1D
syntax keyword glFunction glConvolutionFilter2D
syntax keyword glFunction glConvolutionParameterf
syntax keyword glFunction glConvolutionParameterfv
syntax keyword glFunction glConvolutionParameteri
syntax keyword glFunction glConvolutionParameteriv
syntax keyword glFunction glCopyConvolutionFilter1D
syntax keyword glFunction glCopyConvolutionFilter2D
syntax keyword glFunction glGetConvolutionFilter
syntax keyword glFunction glGetConvolutionParameterfv
syntax keyword glFunction glGetConvolutionParameteriv
syntax keyword glFunction glSeparableFilter2D
syntax keyword glFunction glGetSeparableFilter
syntax keyword glFunction glActiveTexture
syntax keyword glFunction glClientActiveTexture
syntax keyword glFunction glCompressedTexImage1D
syntax keyword glFunction glCompressedTexImage2D
syntax keyword glFunction glCompressedTexImage3D
syntax keyword glFunction glCompressedTexSubImage1D
syntax keyword glFunction glCompressedTexSubImage2D
syntax keyword glFunction glCompressedTexSubImage3D
syntax keyword glFunction glGetCompressedTexImage
syntax keyword glFunction glMultiTexCoord1d
syntax keyword glFunction glMultiTexCoord1dv
syntax keyword glFunction glMultiTexCoord1f
syntax keyword glFunction glMultiTexCoord1fv
syntax keyword glFunction glMultiTexCoord1i
syntax keyword glFunction glMultiTexCoord1iv
syntax keyword glFunction glMultiTexCoord1s
syntax keyword glFunction glMultiTexCoord1sv
syntax keyword glFunction glMultiTexCoord2d
syntax keyword glFunction glMultiTexCoord2dv
syntax keyword glFunction glMultiTexCoord2f
syntax keyword glFunction glMultiTexCoord2fv
syntax keyword glFunction glMultiTexCoord2i
syntax keyword glFunction glMultiTexCoord2iv
syntax keyword glFunction glMultiTexCoord2s
syntax keyword glFunction glMultiTexCoord2sv
syntax keyword glFunction glMultiTexCoord3d
syntax keyword glFunction glMultiTexCoord3dv
syntax keyword glFunction glMultiTexCoord3f
syntax keyword glFunction glMultiTexCoord3fv
syntax keyword glFunction glMultiTexCoord3i
syntax keyword glFunction glMultiTexCoord3iv
syntax keyword glFunction glMultiTexCoord3s
syntax keyword glFunction glMultiTexCoord3sv
syntax keyword glFunction glMultiTexCoord4d
syntax keyword glFunction glMultiTexCoord4dv
syntax keyword glFunction glMultiTexCoord4f
syntax keyword glFunction glMultiTexCoord4fv
syntax keyword glFunction glMultiTexCoord4i
syntax keyword glFunction glMultiTexCoord4iv
syntax keyword glFunction glMultiTexCoord4s
syntax keyword glFunction glMultiTexCoord4sv
syntax keyword glFunction glLoadTransposeMatrixd
syntax keyword glFunction glLoadTransposeMatrixf
syntax keyword glFunction glMultTransposeMatrixd
syntax keyword glFunction glMultTransposeMatrixf
syntax keyword glFunction glSampleCoverage
" }}}
" glu.h
if !exists ("c_opengl_no_glu")
" GLU {{{
" Constants {{{
syn keyword glConstant GLU_EXT_object_space_tess
syn keyword glConstant GLU_EXT_nurbs_tessellator
syn keyword glConstant GLU_FALSE GLU_TRUE
syn keyword glConstant GLU_VERSION_1_1 GLU_VERSION_1_2 GLU_VERSION_1_3
syn keyword glConstant GLU_VERSION
syn keyword glConstant GLU_EXTENSIONS
"Error codes"
syn keyword glConstant GLU_INVALID_ENUM
syn keyword glConstant GLU_INVALID_VALUE
syn keyword glConstant GLU_OUT_OF_MEMORY
syn keyword glConstant GLU_INVALID_OPERATION
"NurbsDisplay"
syn keyword glConstant GLU_OUTLINE_POLYGON
syn keyword glConstant GLU_OUTLINE_PATCH
"NurbsCallback"
syn keyword glConstant GLU_NURBS_ERROR
syn keyword glConstant GLU_ERROR
syn keyword glConstant GLU_NURBS_BEGIN
syn keyword glConstant GLU_NURBS_BEGIN_EXT
syn keyword glConstant GLU_NURBS_VERTEX
syn keyword glConstant GLU_NURBS_VERTEX_EXT
syn keyword glConstant GLU_NURBS_NORMAL
syn keyword glConstant GLU_NURBS_NORMAL_EXT
syn keyword glConstant GLU_NURBS_COLOR
syn keyword glConstant GLU_NURBS_COLOR_EXT
syn keyword glConstant GLU_NURBS_TEXTURE_COORD
syn keyword glConstant GLU_NURBS_TEX_COORD_EXT
syn keyword glConstant GLU_NURBS_END
syn keyword glConstant GLU_NURBS_END_EXT
syn keyword glConstant GLU_NURBS_BEGIN_DATA
syn keyword glConstant GLU_NURBS_BEGIN_DATA_EXT
syn keyword glConstant GLU_NURBS_VERTEX_DATA
syn keyword glConstant GLU_NURBS_VERTEX_DATA_EXT
syn keyword glConstant GLU_NURBS_NORMAL_DATA
syn keyword glConstant GLU_NURBS_NORMAL_DATA_EXT
syn keyword glConstant GLU_NURBS_COLOR_DATA
syn keyword glConstant GLU_NURBS_COLOR_DATA_EXT
syn keyword glConstant GLU_NURBS_TEXTURE_COORD_DATA
syn keyword glConstant GLU_NURBS_TEX_COORD_DATA_EXT
syn keyword glConstant GLU_NURBS_END_DATA
syn keyword glConstant GLU_NURBS_END_DATA_EXT
"NurbsError"
syn keyword glConstant GLU_NURBS_ERROR1
syn keyword glConstant GLU_NURBS_ERROR2
syn keyword glConstant GLU_NURBS_ERROR3
syn keyword glConstant GLU_NURBS_ERROR4
syn keyword glConstant GLU_NURBS_ERROR5
syn keyword glConstant GLU_NURBS_ERROR6
syn keyword glConstant GLU_NURBS_ERROR7
syn keyword glConstant GLU_NURBS_ERROR8
syn keyword glConstant GLU_NURBS_ERROR9
syn keyword glConstant GLU_NURBS_ERROR10
syn keyword glConstant GLU_NURBS_ERROR11
syn keyword glConstant GLU_NURBS_ERROR12
syn keyword glConstant GLU_NURBS_ERROR13
syn keyword glConstant GLU_NURBS_ERROR14
syn keyword glConstant GLU_NURBS_ERROR15
syn keyword glConstant GLU_NURBS_ERROR16
syn keyword glConstant GLU_NURBS_ERROR17
syn keyword glConstant GLU_NURBS_ERROR18
syn keyword glConstant GLU_NURBS_ERROR19
syn keyword glConstant GLU_NURBS_ERROR20
syn keyword glConstant GLU_NURBS_ERROR21
syn keyword glConstant GLU_NURBS_ERROR22
syn keyword glConstant GLU_NURBS_ERROR23
syn keyword glConstant GLU_NURBS_ERROR24
syn keyword glConstant GLU_NURBS_ERROR25
syn keyword glConstant GLU_NURBS_ERROR26
syn keyword glConstant GLU_NURBS_ERROR27
syn keyword glConstant GLU_NURBS_ERROR28
syn keyword glConstant GLU_NURBS_ERROR29
syn keyword glConstant GLU_NURBS_ERROR30
syn keyword glConstant GLU_NURBS_ERROR31
syn keyword glConstant GLU_NURBS_ERROR32
syn keyword glConstant GLU_NURBS_ERROR33
syn keyword glConstant GLU_NURBS_ERROR34
syn keyword glConstant GLU_NURBS_ERROR35
syn keyword glConstant GLU_NURBS_ERROR36
syn keyword glConstant GLU_NURBS_ERROR37
"NurbsProperty"
syn keyword glConstant GLU_AUTO_LOAD_MATRIX
syn keyword glConstant GLU_CULLING
syn keyword glConstant GLU_SAMPLING_TOLERANCE
syn keyword glConstant GLU_DISPLAY_MODE
syn keyword glConstant GLU_PARAMETRIC_TOLERANCE
syn keyword glConstant GLU_SAMPLING_METHOD
syn keyword glConstant GLU_U_STEP
syn keyword glConstant GLU_V_STEP
syn keyword glConstant GLU_NURBS_MODE
syn keyword glConstant GLU_NURBS_MODE_EXT
syn keyword glConstant GLU_NURBS_TESSELLATOR
syn keyword glConstant GLU_NURBS_TESSELLATOR_EXT
syn keyword glConstant GLU_NURBS_RENDERER
syn keyword glConstant GLU_NURBS_RENDERER_EXT
" NurbsSampling
syn keyword glConstant GLU_OBJECT_PARAMETRIC_ERROR
syn keyword glConstant GLU_OBJECT_PARAMETRIC_ERROR_EXT
syn keyword glConstant GLU_OBJECT_PATH_LENGTH
syn keyword glConstant GLU_OBJECT_PATH_LENGTH_EXT
syn keyword glConstant GLU_PATH_LENGTH
syn keyword glConstant GLU_PARAMETRIC_ERROR
syn keyword glConstant GLU_DOMAIN_DISTANCE
"NurbsTrim"
syn keyword glConstant GLU_MAP1_TRIM_2
syn keyword glConstant GLU_MAP1_TRIM_3
"QuadricDrawStyle"
syn keyword glConstant GLU_POINT
syn keyword glConstant GLU_LINE
syn keyword glConstant GLU_FILL
syn keyword glConstant GLU_SILHOUETTE
" QuadricNormal
syn keyword glConstant GLU_OUTSIDE
syn keyword glConstant GLU_INSIDE
" TessCallback
syn keyword glConstant GLU_TESS_BEGIN
syn keyword glConstant GLU_BEGIN
syn keyword glConstant GLU_TESS_VERTEX
syn keyword glConstant GLU_VERTEX
syn keyword glConstant GLU_TESS_END
syn keyword glConstant GLU_END
syn keyword glConstant GLU_TESS_ERROR
syn keyword glConstant GLU_TESS_EDGE_FLAG
syn keyword glConstant GLU_EDGE_FLAG
syn keyword glConstant GLU_TESS_COMBINE
syn keyword glConstant GLU_TESS_BEGIN_DATA
syn keyword glConstant GLU_TESS_VERTEX_DATA
syn keyword glConstant GLU_TESS_END_DATA
syn keyword glConstant GLU_TESS_ERROR_DATA
syn keyword glConstant GLU_TESS_EDGE_FLAG_DATA
syn keyword glConstant GLU_TESS_COMBINE_DATA
" TessContour
syn keyword glConstant GLU_CW
syn keyword glConstant GLU_CCW
syn keyword glConstant GLU_INTERIOR
syn keyword glConstant GLU_EXTERIOR
syn keyword glConstant GLU_UNKNOWN
" TessProperty
syn keyword glConstant GLU_TESS_WINDING_RULE
syn keyword glConstant GLU_TESS_BOUNDARY_ONLY
syn keyword glConstant GLU_TESS_TOLERANCE
" TessError
syn keyword glConstant GLU_TESS_ERROR1
syn keyword glConstant GLU_TESS_ERROR2
syn keyword glConstant GLU_TESS_ERROR3
syn keyword glConstant GLU_TESS_ERROR4
syn keyword glConstant GLU_TESS_ERROR5
syn keyword glConstant GLU_TESS_ERROR6
syn keyword glConstant GLU_TESS_ERROR7
syn keyword glConstant GLU_TESS_ERROR8
syn keyword glConstant GLU_TESS_MISSING_BEGIN_POLYGON
syn keyword glConstant GLU_TESS_MISSING_BEGIN_CONTOUR
syn keyword glConstant GLU_TESS_MISSING_END_POLYGON
syn keyword glConstant GLU_TESS_MISSING_END_CONTOUR
syn keyword glConstant GLU_TESS_COORD_TOO_LARGE
syn keyword glConstant GLU_TESS_NEED_COMBINE_CALLBACK
" TessWinding
syn keyword glConstant GLU_TESS_WINDING_ODD
syn keyword glConstant GLU_TESS_WINDING_NONZERO
syn keyword glConstant GLU_TESS_WINDING_POSITIVE
syn keyword glConstant GLU_TESS_WINDING_NEGATIVE
syn keyword glConstant GLU_TESS_WINDING_ABS_GEQ_TWO
" }}}
" Types {{{
syntax keyword glType GLUnurbs GLUquadric GLUtesselator
syntax keyword glType GLUnurbsObj GLUquadricObj GLUtesselatorObj GLUtriangulatorObj
" }}}
" Functions {{{
syntax keyword glFunction gluBeginCurve
syntax keyword glFunction gluBeginPolygon
syntax keyword glFunction gluBeginSurface
syntax keyword glFunction gluBeginTrim
syntax keyword glFunction gluBuild1DMipmapLevels
syntax keyword glFunction gluBuild1DMipmaps
syntax keyword glFunction gluBuild2DMipmapLevels
syntax keyword glFunction gluBuild2DMipmaps
syntax keyword glFunction gluBuild3DMipmapLevels
syntax keyword glFunction gluBuild3DMipmaps
syntax keyword glFunction gluCheckExtension
syntax keyword glFunction gluCylinder
syntax keyword glFunction gluDeleteNurbsRenderer
syntax keyword glFunction gluDeleteQuadric
syntax keyword glFunction gluDeleteTess
syntax keyword glFunction gluDisk
syntax keyword glFunction gluEndCurve
syntax keyword glFunction gluEndPolygon
syntax keyword glFunction gluEndSurface
syntax keyword glFunction gluEndTrim
syntax keyword glFunction gluGetNurbsProperty
syntax keyword glFunction gluGetTessProperty
syntax keyword glFunction gluLoadSamplingMatrices
syntax keyword glFunction gluLookAt
syntax keyword glFunction gluNewNurbsRenderer
syntax keyword glFunction gluNewQuadric
syntax keyword glFunction gluNewTess
syntax keyword glFunction gluNextContour
syntax keyword glFunction gluNurbsCallback
syntax keyword glFunction gluNurbsCallbackData
syntax keyword glFunction gluNurbsCallbackDataEXT
syntax keyword glFunction gluNurbsCurve
syntax keyword glFunction gluNurbsProperty
syntax keyword glFunction gluNurbsSurface
syntax keyword glFunction gluOrtho2D
syntax keyword glFunction gluPartialDisk
syntax keyword glFunction gluPerspective
syntax keyword glFunction gluPickMatrix
syntax keyword glFunction gluProject
syntax keyword glFunction gluPwlCurve
syntax keyword glFunction gluQuadricCallback
syntax keyword glFunction gluQuadricDrawStyle
syntax keyword glFunction gluQuadricNormals
syntax keyword glFunction gluQuadricOrientation
syntax keyword glFunction gluQuadricTexture
syntax keyword glFunction gluScaleImage
syntax keyword glFunction gluSphere
syntax keyword glFunction gluTessBeginContour
syntax keyword glFunction gluTessBeginPolygon
syntax keyword glFunction gluTessCallback
syntax keyword glFunction gluTessEndContour
syntax keyword glFunction gluTessEndPolygon
syntax keyword glFunction gluTessNormal
syntax keyword glFunction gluTessProperty
syntax keyword glFunction gluTessVertex
syntax keyword glFunction gluUnProject
syntax keyword glFunction gluUnProject4
" }}}
" }}}
endif
" glut.h
if !exists ("c_opengl_no_glut")
" GLUT {{{
" Constants {{{
syntax keyword glConstant GLUT_RGB
syntax keyword glConstant GLUT_RGBA
syntax keyword glConstant GLUT_INDEX
syntax keyword glConstant GLUT_SINGLE
syntax keyword glConstant GLUT_DOUBLE
syntax keyword glConstant GLUT_ACCUM
syntax keyword glConstant GLUT_ALPHA
syntax keyword glConstant GLUT_DEPTH
syntax keyword glConstant GLUT_STENCIL
syntax keyword glConstant GLUT_MULTISAMPLE
syntax keyword glConstant GLUT_STEREO
syntax keyword glConstant GLUT_LUMINANCE
syntax keyword glConstant GLUT_LEFT_BUTTON
syntax keyword glConstant GLUT_MIDDLE_BUTTON
syntax keyword glConstant GLUT_RIGHT_BUTTON
syntax keyword glConstant GLUT_DOWN
syntax keyword glConstant GLUT_UP
syntax keyword glConstant GLUT_KEY_F1
syntax keyword glConstant GLUT_KEY_F2
syntax keyword glConstant GLUT_KEY_F3
syntax keyword glConstant GLUT_KEY_F4
syntax keyword glConstant GLUT_KEY_F5
syntax keyword glConstant GLUT_KEY_F6
syntax keyword glConstant GLUT_KEY_F7
syntax keyword glConstant GLUT_KEY_F8
syntax keyword glConstant GLUT_KEY_F9
syntax keyword glConstant GLUT_KEY_F10
syntax keyword glConstant GLUT_KEY_F11
syntax keyword glConstant GLUT_KEY_F12
syntax keyword glConstant GLUT_KEY_LEFT
syntax keyword glConstant GLUT_KEY_UP
syntax keyword glConstant GLUT_KEY_RIGHT
syntax keyword glConstant GLUT_KEY_DOWN
syntax keyword glConstant GLUT_KEY_PAGE_UP
syntax keyword glConstant GLUT_KEY_PAGE_DOWN
syntax keyword glConstant GLUT_KEY_HOME
syntax keyword glConstant GLUT_KEY_END
syntax keyword glConstant GLUT_KEY_INSERT
syntax keyword glConstant GLUT_LEFT
syntax keyword glConstant GLUT_ENTERED
syntax keyword glConstant GLUT_MENU_NOT_IN_USE
syntax keyword glConstant GLUT_MENU_IN_USE
syntax keyword glConstant GLUT_NOT_VISIBLE
syntax keyword glConstant GLUT_VISIBLE
syntax keyword glConstant GLUT_HIDDEN
syntax keyword glConstant GLUT_FULLY_RETAINED
syntax keyword glConstant GLUT_PARTIALLY_RETAINED
syntax keyword glConstant GLUT_FULLY_COVERED
syntax keyword glConstant GLUT_RED
syntax keyword glConstant GLUT_GREEN
syntax keyword glConstant GLUT_BLUE
syntax keyword glConstant GLUT_NORMAL
syntax keyword glConstant GLUT_OVERLAY
syntax keyword glConstant GLUT_STROKE_ROMAN
syntax keyword glConstant GLUT_STROKE_MONO_ROMAN
syntax keyword glConstant GLUT_BITMAP_9_BY_15
syntax keyword glConstant GLUT_BITMAP_8_BY_13
syntax keyword glConstant GLUT_BITMAP_TIMES_ROMAN_10
syntax keyword glConstant GLUT_BITMAP_TIMES_ROMAN_24
syntax keyword glConstant GLUT_BITMAP_HELVETICA_10
syntax keyword glConstant GLUT_BITMAP_HELVETICA_12
syntax keyword glConstant GLUT_BITMAP_HELVETICA_18
syntax keyword glConstant GLUT_STROKE_ROMAN
syntax keyword glConstant GLUT_STROKE_MONO_ROMAN
syntax keyword glConstant GLUT_BITMAP_9_BY_15
syntax keyword glConstant GLUT_BITMAP_8_BY_13
syntax keyword glConstant GLUT_BITMAP_TIMES_ROMAN_10
syntax keyword glConstant GLUT_BITMAP_TIMES_ROMAN_24
syntax keyword glConstant GLUT_BITMAP_HELVETICA_10
syntax keyword glConstant GLUT_BITMAP_HELVETICA_12
syntax keyword glConstant GLUT_BITMAP_HELVETICA_18
syntax keyword glConstant GLUT_WINDOW_X
syntax keyword glConstant GLUT_WINDOW_Y
syntax keyword glConstant GLUT_WINDOW_WIDTH
syntax keyword glConstant GLUT_WINDOW_HEIGHT
syntax keyword glConstant GLUT_WINDOW_BUFFER_SIZE
syntax keyword glConstant GLUT_WINDOW_STENCIL_SIZE
syntax keyword glConstant GLUT_WINDOW_DEPTH_SIZE
syntax keyword glConstant GLUT_WINDOW_RED_SIZE
syntax keyword glConstant GLUT_WINDOW_GREEN_SIZE
syntax keyword glConstant GLUT_WINDOW_BLUE_SIZE
syntax keyword glConstant GLUT_WINDOW_ALPHA_SIZE
syntax keyword glConstant GLUT_WINDOW_ACCUM_RED_SIZE
syntax keyword glConstant GLUT_WINDOW_ACCUM_GREEN_SIZE
syntax keyword glConstant GLUT_WINDOW_ACCUM_BLUE_SIZE
syntax keyword glConstant GLUT_WINDOW_ACCUM_ALPHA_SIZE
syntax keyword glConstant GLUT_WINDOW_DOUBLEBUFFER
syntax keyword glConstant GLUT_WINDOW_RGBA
syntax keyword glConstant GLUT_WINDOW_PARENT
syntax keyword glConstant GLUT_WINDOW_NUM_CHILDREN
syntax keyword glConstant GLUT_WINDOW_COLORMAP_SIZE
syntax keyword glConstant GLUT_WINDOW_NUM_SAMPLES
syntax keyword glConstant GLUT_WINDOW_STEREO
syntax keyword glConstant GLUT_WINDOW_CURSOR
syntax keyword glConstant GLUT_SCREEN_WIDTH
syntax keyword glConstant GLUT_SCREEN_HEIGHT
syntax keyword glConstant GLUT_SCREEN_WIDTH_MM
syntax keyword glConstant GLUT_SCREEN_HEIGHT_MM
syntax keyword glConstant GLUT_MENU_NUM_ITEMS
syntax keyword glConstant GLUT_DISPLAY_MODE_POSSIBLE
syntax keyword glConstant GLUT_INIT_WINDOW_X
syntax keyword glConstant GLUT_INIT_WINDOW_Y
syntax keyword glConstant GLUT_INIT_WINDOW_WIDTH
syntax keyword glConstant GLUT_INIT_WINDOW_HEIGHT
syntax keyword glConstant GLUT_INIT_DISPLAY_MODE
syntax keyword glConstant GLUT_ELAPSED_TIME
syntax keyword glConstant GLUT_WINDOW_FORMAT_ID
syntax keyword glConstant GLUT_HAS_KEYBOARD
syntax keyword glConstant GLUT_HAS_MOUSE
syntax keyword glConstant GLUT_HAS_SPACEBALL
syntax keyword glConstant GLUT_HAS_DIAL_AND_BUTTON_BOX
syntax keyword glConstant GLUT_HAS_TABLET
syntax keyword glConstant GLUT_NUM_MOUSE_BUTTONS
syntax keyword glConstant GLUT_NUM_SPACEBALL_BUTTONS
syntax keyword glConstant GLUT_NUM_BUTTON_BOX_BUTTONS
syntax keyword glConstant GLUT_NUM_DIALS
syntax keyword glConstant GLUT_NUM_TABLET_BUTTONS
syntax keyword glConstant GLUT_DEVICE_IGNORE_KEY_REPEAT
syntax keyword glConstant GLUT_DEVICE_KEY_REPEAT
syntax keyword glConstant GLUT_HAS_JOYSTICK
syntax keyword glConstant GLUT_OWNS_JOYSTICK
syntax keyword glConstant GLUT_JOYSTICK_BUTTONS
syntax keyword glConstant GLUT_JOYSTICK_AXES
syntax keyword glConstant GLUT_JOYSTICK_POLL_RATE
syntax keyword glConstant GLUT_OVERLAY_POSSIBLE
syntax keyword glConstant GLUT_LAYER_IN_USE
syntax keyword glConstant GLUT_HAS_OVERLAY
syntax keyword glConstant GLUT_TRANSPARENT_INDEX
syntax keyword glConstant GLUT_NORMAL_DAMAGED
syntax keyword glConstant GLUT_OVERLAY_DAMAGED
syntax keyword glConstant GLUT_VIDEO_RESIZE_POSSIBLE
syntax keyword glConstant GLUT_VIDEO_RESIZE_IN_USE
syntax keyword glConstant GLUT_VIDEO_RESIZE_X_DELTA
syntax keyword glConstant GLUT_VIDEO_RESIZE_Y_DELTA
syntax keyword glConstant GLUT_VIDEO_RESIZE_WIDTH_DELTA
syntax keyword glConstant GLUT_VIDEO_RESIZE_HEIGHT_DELTA
syntax keyword glConstant GLUT_VIDEO_RESIZE_X
syntax keyword glConstant GLUT_VIDEO_RESIZE_Y
syntax keyword glConstant GLUT_VIDEO_RESIZE_WIDTH
syntax keyword glConstant GLUT_VIDEO_RESIZE_HEIGHT
syntax keyword glConstant GLUT_NORMAL
syntax keyword glConstant GLUT_OVERLAY
syntax keyword glConstant GLUT_ACTIVE_SHIFT
syntax keyword glConstant GLUT_ACTIVE_CTRL
syntax keyword glConstant GLUT_ACTIVE_ALT
syntax keyword glConstant GLUT_CURSOR_RIGHT_ARROW
syntax keyword glConstant GLUT_CURSOR_LEFT_ARROW
syntax keyword glConstant GLUT_CURSOR_INFO
syntax keyword glConstant GLUT_CURSOR_DESTROY
syntax keyword glConstant GLUT_CURSOR_HELP
syntax keyword glConstant GLUT_CURSOR_CYCLE
syntax keyword glConstant GLUT_CURSOR_SPRAY
syntax keyword glConstant GLUT_CURSOR_WAIT
syntax keyword glConstant GLUT_CURSOR_TEXT
syntax keyword glConstant GLUT_CURSOR_CROSSHAIR
syntax keyword glConstant GLUT_CURSOR_UP_DOWN
syntax keyword glConstant GLUT_CURSOR_LEFT_RIGHT
syntax keyword glConstant GLUT_CURSOR_TOP_SIDE
syntax keyword glConstant GLUT_CURSOR_BOTTOM_SIDE
syntax keyword glConstant GLUT_CURSOR_LEFT_SIDE
syntax keyword glConstant GLUT_CURSOR_RIGHT_SIDE
syntax keyword glConstant GLUT_CURSOR_TOP_LEFT_CORNER
syntax keyword glConstant GLUT_CURSOR_TOP_RIGHT_CORNER
syntax keyword glConstant GLUT_CURSOR_BOTTOM_RIGHT_CORNER
syntax keyword glConstant GLUT_CURSOR_BOTTOM_LEFT_CORNER
syntax keyword glConstant GLUT_CURSOR_INHERIT
syntax keyword glConstant GLUT_CURSOR_NONE
syntax keyword glConstant GLUT_CURSOR_FULL_CROSSHAIR
syntax keyword glConstant GLUT_KEY_REPEAT_OFF
syntax keyword glConstant GLUT_KEY_REPEAT_ON
syntax keyword glConstant GLUT_KEY_REPEAT_DEFAULT
syntax keyword glConstant GLUT_JOYSTICK_BUTTON_A
syntax keyword glConstant GLUT_JOYSTICK_BUTTON_B
syntax keyword glConstant GLUT_JOYSTICK_BUTTON_C
syntax keyword glConstant GLUT_JOYSTICK_BUTTON_D
syntax keyword glConstant GLUT_GAME_MODE_ACTIVE
syntax keyword glConstant GLUT_GAME_MODE_POSSIBLE
syntax keyword glConstant GLUT_GAME_MODE_WIDTH
syntax keyword glConstant GLUT_GAME_MODE_HEIGHT
syntax keyword glConstant GLUT_GAME_MODE_PIXEL_DEPTH
syntax keyword glConstant GLUT_GAME_MODE_REFRESH_RATE
syntax keyword glConstant GLUT_GAME_MODE_DISPLAY_CHANGED
" }}}
" Functions {{{
syntax keyword glFunction glutInit
syntax keyword glFunction glutInitDisplayMode
syntax keyword glFunction glutInitDisplayString
syntax keyword glFunction glutInitWindowPosition
syntax keyword glFunction glutInitWindowSize
syntax keyword glFunction glutMainLoop
syntax keyword glFunction glutCreateWindow
syntax keyword glFunction glutCreateSubWindow
syntax keyword glFunction glutDestroyWindow
syntax keyword glFunction glutPostRedisplay
syntax keyword glFunction glutPostWindowRedisplay
syntax keyword glFunction glutSwapBuffers
syntax keyword glFunction glutGetWindow
syntax keyword glFunction glutSetWindow
syntax keyword glFunction glutSetWindowTitle
syntax keyword glFunction glutSetIconTitle
syntax keyword glFunction glutPositionWindow
syntax keyword glFunction glutReshapeWindow
syntax keyword glFunction glutPopWindow
syntax keyword glFunction glutPushWindow
syntax keyword glFunction glutIconifyWindow
syntax keyword glFunction glutShowWindow
syntax keyword glFunction glutHideWindow
syntax keyword glFunction glutFullScreen
syntax keyword glFunction glutSetCursor
syntax keyword glFunction glutWarpPointer
syntax keyword glFunction glutEstablishOverlay
syntax keyword glFunction glutRemoveOverlay
syntax keyword glFunction glutUseLayer
syntax keyword glFunction glutPostOverlayRedisplay
syntax keyword glFunction glutPostWindowOverlayRedisplay
syntax keyword glFunction glutShowOverlay
syntax keyword glFunction glutHideOverlay
syntax keyword glFunction glutDestroyMenu
syntax keyword glFunction glutGetMenu
syntax keyword glFunction glutSetMenu
syntax keyword glFunction glutAddMenuEntry
syntax keyword glFunction glutAddSubMenu
syntax keyword glFunction glutChangeToMenuEntry
syntax keyword glFunction glutChangeToSubMenu
syntax keyword glFunction glutRemoveMenuItem
syntax keyword glFunction glutAttachMenu
syntax keyword glFunction glutDetachMenu
syntax keyword glFunction glutDisplayFunc
syntax keyword glFunction glutReshapeFunc
syntax keyword glFunction glutKeyboardFunc
syntax keyword glFunction glutMouseFunc
syntax keyword glFunction glutMotionFunc
syntax keyword glFunction glutPassiveMotionFunc
syntax keyword glFunction glutEntryFunc
syntax keyword glFunction glutVisibilityFunc
syntax keyword glFunction glutIdleFunc
syntax keyword glFunction glutTimerFunc
syntax keyword glFunction glutMenuStateFunc
syntax keyword glFunction glutSpecialFunc
syntax keyword glFunction glutSpaceballMotionFunc
syntax keyword glFunction glutSpaceballRotateFunc
syntax keyword glFunction glutSpaceballButtonFunc
syntax keyword glFunction glutButtonBoxFunc
syntax keyword glFunction glutDialsFunc
syntax keyword glFunction glutTabletMotionFunc
syntax keyword glFunction glutTabletButtonFunc
syntax keyword glFunction glutMenuStatusFunc
syntax keyword glFunction glutOverlayDisplayFunc
syntax keyword glFunction glutWindowStatusFunc
syntax keyword glFunction glutKeyboardUpFunc
syntax keyword glFunction glutSpecialUpFunc
syntax keyword glFunction glutJoystickFunc
syntax keyword glFunction glutSetColor
syntax keyword glFunction glutGetColor
syntax keyword glFunction glutCopyColormap
syntax keyword glFunction glutGet
syntax keyword glFunction glutDeviceGet
syntax keyword glFunction glutGetModifiers
syntax keyword glFunction glutLayerGet
syntax keyword glFunction glutGetProcAddress
syntax keyword glFunction glutBitmapCharacter
syntax keyword glFunction glutBitmapWidth
syntax keyword glFunction glutStrokeCharacter
syntax keyword glFunction glutStrokeWidth
syntax keyword glFunction glutBitmapLength
syntax keyword glFunction glutStrokeLength
syntax keyword glFunction glutWireSphere
syntax keyword glFunction glutSolidSphere
syntax keyword glFunction glutWireCone
syntax keyword glFunction glutSolidCone
syntax keyword glFunction glutWireCube
syntax keyword glFunction glutSolidCube
syntax keyword glFunction glutWireTorus
syntax keyword glFunction glutSolidTorus
syntax keyword glFunction glutWireDodecahedron
syntax keyword glFunction glutSolidDodecahedron
syntax keyword glFunction glutWireTeapot
syntax keyword glFunction glutSolidTeapot
syntax keyword glFunction glutWireOctahedron
syntax keyword glFunction glutSolidOctahedron
syntax keyword glFunction glutWireTetrahedron
syntax keyword glFunction glutSolidTetrahedron
syntax keyword glFunction glutWireIcosahedron
syntax keyword glFunction glutSolidIcosahedron
syntax keyword glFunction glutVideoResizeGet
syntax keyword glFunction glutSetupVideoResizing
syntax keyword glFunction glutStopVideoResizing
syntax keyword glFunction glutVideoResize
syntax keyword glFunction glutVideoPan
syntax keyword glFunction glutReportErrors
syntax keyword glFunction glutIgnoreKeyRepeat
syntax keyword glFunction glutSetKeyRepeat
syntax keyword glFunction glutForceJoystickFunc
syntax keyword glFunction glutGameModeString
syntax keyword glFunction glutEnterGameMode
syntax keyword glFunction glutLeaveGameMode
syntax keyword glFunction glutGameModeGet
" }}}
" }}}
endif
" gles2/gl.h
if !exists ("c_opengl_no_gles2")
" GLES2 {{{
" Data types {{{
syntax keyword glType GLfixed
syntax keyword glType GLclampx
syntax keyword glType GLintptr
syntax keyword glType GLsizeiptr
" }}}
" Constants {{{
" BlendEquationSeperate
syntax keyword glConstant GL_FUNC_ADD
syntax keyword glConstant GL_BLEND_EQUATION
syntax keyword glConstant GL_BLEND_EQUATION_RGB
syntax keyword glConstant GL_BLEND_EQUATION_ALPHA
" BlendSubtract
syntax keyword glConstant GL_FUNC_SUBTRACT
syntax keyword glConstant GL_FUNC_REVERSE_SUBTRACT
" Buffer Objects
syntax keyword glConstant GL_ARRAY_BUFFER
syntax keyword glConstant GL_ELEMENT_ARRAY_BUFFER
syntax keyword glConstant GL_ARRAY_BUFFER_BINDING
syntax keyword glConstant GL_ELEMENT_ARRAY_BUFFER_BINDING
syntax keyword glConstant GL_STATIC_DRAW
syntax keyword glConstant GL_DYNAMIC_DRAW
syntax keyword glConstant GL_STREAM_DRAW
syntax keyword glConstant GL_WRITE_ONLY
syntax keyword glConstant GL_BUFFER_SIZE
syntax keyword glConstant GL_BUFFER_USAGE
syntax keyword glConstant GL_BUFFER_ACCESS
syntax keyword glConstant GL_CURRENT_VERTEX_ATTRIB
" GetPName
syntax keyword glConstant GL_STENCIL_BACK_FUNC
syntax keyword glConstant GL_STENCIL_BACK_FAIL
syntax keyword glConstant GL_STENCIL_BACK_PASS_DEPTH_FAIL
syntax keyword glConstant GL_STENCIL_BACK_PASS_DEPTH_PASS
syntax keyword glConstant GL_STENCIL_BACK_REF
syntax keyword glConstant GL_STENCIL_BACK_VALUE_MASK
syntax keyword glConstant GL_STENCIL_BACK_WRITEMASK
syntax keyword glConstant GL_SUBPIXEL_BITS
" HintTarget
syntax keyword glConstant GL_FRAGMENT_SHADER_DERIVATIVE_HINT
" DataType
syntax keyword glConstant GL_FIXED
" PixelFormat
syntax keyword glConstant GL_LUMINANCE_ALPHA
" Shaders
syntax keyword glConstant GL_VERTEX_PROGRAM_POINT_SIZE
syntax keyword glConstant GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
syntax keyword glConstant GL_FRAGMENT_SHADER
syntax keyword glConstant GL_VERTEX_SHADER
syntax keyword glConstant GL_MAX_VERTEX_ATTRIBS
syntax keyword glConstant GL_MAX_VERTEX_UNIFORM_COMPONENTS
syntax keyword glConstant GL_MAX_VARYING_FLOATS
syntax keyword glConstant GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
syntax keyword glConstant GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
syntax keyword glConstant GL_MAX_TEXTURE_IMAGE_UNITS
syntax keyword glConstant GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
syntax keyword glConstant GL_SHADER_TYPE
syntax keyword glConstant GL_DELETE_STATUS
syntax keyword glConstant GL_LINK_STATUS
syntax keyword glConstant GL_VALIDATE_STATUS
syntax keyword glConstant GL_ATTACHED_SHADERS
syntax keyword glConstant GL_ACTIVE_UNIFORMS
syntax keyword glConstant GL_ACTIVE_UNIFORM_MAX_LENGTH
syntax keyword glConstant GL_ACTIVE_ATTRIBUTES
syntax keyword glConstant GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
syntax keyword glConstant GL_SHADING_LANGUAGE_VERSION
syntax keyword glConstant GL_CURRENT_PROGRAM
" Vertex Arrays
syntax keyword glConstant GL_VERTEX_ATTRIB_ARRAY_ENABLED
syntax keyword glConstant GL_VERTEX_ATTRIB_ARRAY_SIZE
syntax keyword glConstant GL_VERTEX_ATTRIB_ARRAY_STRIDE
syntax keyword glConstant GL_VERTEX_ATTRIB_ARRAY_TYPE
syntax keyword glConstant GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
syntax keyword glConstant GL_VERTEX_ATTRIB_ARRAY_POINTER
" OES_read_format
syntax keyword glConstant GL_IMPLEMENTATION_COLOR_READ_TYPE_OES
syntax keyword glConstant GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES
" OES_compressed_paletted_texture
syntax keyword glConstant GL_PALETTE4_RGB8_OES
syntax keyword glConstant GL_PALETTE4_RGBA8_OES
syntax keyword glConstant GL_PALETTE4_R5_G6_B5_OES
syntax keyword glConstant GL_PALETTE4_RGBA4_OES
syntax keyword glConstant GL_PALETTE4_RGB5_A1_OES
syntax keyword glConstant GL_PALETTE8_RGB8_OES
syntax keyword glConstant GL_PALETTE8_RGBA8_OES
syntax keyword glConstant GL_PALETTE8_R5_G6_B5_OES
syntax keyword glConstant GL_PALETTE8_RGBA4_OES
syntax keyword glConstant GL_PALETTE8_RGB5_A1_OES
" OES_framebuffer_object
syntax keyword glConstant GL_FRAMEBUFFER_OES
syntax keyword glConstant GL_RENDERBUFFER_OES
syntax keyword glConstant GL_RGB565_OES
syntax keyword glConstant GL_STENCIL_INDEX_OES
syntax keyword glConstant GL_RENDERBUFFER_WIDTH_OES
syntax keyword glConstant GL_RENDERBUFFER_HEIGHT_OES
syntax keyword glConstant GL_RENDERBUFFER_INTERNAL_FORMAT_OES
syntax keyword glConstant GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES
syntax keyword glConstant GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES
syntax keyword glConstant GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES
syntax keyword glConstant GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES
syntax keyword glConstant GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT0_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT1_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT2_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT3_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT4_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT5_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT6_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT7_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT8_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT9_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT10_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT11_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT12_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT13_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT14_OES
syntax keyword glConstant GL_COLOR_ATTACHMENT15_OES
syntax keyword glConstant GL_DEPTH_ATTACHMENT_OES
syntax keyword glConstant GL_STENCIL_ATTACHMENT_OES
syntax keyword glConstant GL_FRAMEBUFFER_COMPLETE_OES
syntax keyword glConstant GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES
syntax keyword glConstant GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES
syntax keyword glConstant GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_OES
syntax keyword glConstant GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES
syntax keyword glConstant GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES
syntax keyword glConstant GL_FRAMEBUFFER_UNSUPPORTED_OES
syntax keyword glConstant GL_FRAMEBUFFER_STATUS_ERROR_OES
syntax keyword glConstant GL_FRAMEBUFFER_BINDING_OES
syntax keyword glConstant GL_RENDERBUFFER_BINDING_OES
syntax keyword glConstant GL_MAX_COLOR_ATTACHMENTS_OES
syntax keyword glConstant GL_MAX_RENDERBUFFER_SIZE_OES
syntax keyword glConstant GL_INVALID_FRAMEBUFFER_OPERATION_OES
" OES_stencil1
syntax keyword glConstant GL_STENCIL_INDEX1_OES
" OES_stencil4
syntax keyword glConstant GL_STENCIL_INDEX4_OES
" OES_stencil8
syntax keyword glConstant GL_STENCIL_INDEX8_OES
" OES_vertex_half_float
syntax keyword glConstant GL_HALF_FLOAT_OES
" OES_compressed_ETC1_RGB8_texture
syntax keyword glConstant GL_ETC1_RGB8_OES
" OES_mapbuffer
syntax keyword glConstant GL_BUFFER_MAPPED
syntax keyword glConstant GL_BUFFER_MAP_POINTER
" OES_shader_source
syntax keyword glConstant GL_COMPILE_STATUS
syntax keyword glConstant GL_INFO_LOG_LENGTH
syntax keyword glConstant GL_SHADER_SOURCE_LENGTH
" OES_shader_binary
syntax keyword glConstant GL_PLATFORM_BINARY_OES
" }}}
" Functions {{{
syntax keyword glFunction glAttachShader
syntax keyword glFunction glBindAttribLocation
syntax keyword glFunction glBindBuffer
syntax keyword glFunction glBlendEquationSeparate
syntax keyword glFunction glBlendFuncSeparate
syntax keyword glFunction glBufferData
syntax keyword glFunction glBufferSubData
syntax keyword glFunction glClearDepthf
syntax keyword glFunction glCreateProgram
syntax keyword glFunction glCreateShader
syntax keyword glFunction glDeleteBuffers
syntax keyword glFunction glDeleteProgram
syntax keyword glFunction glDeleteShader
syntax keyword glFunction glDetachShader
syntax keyword glFunction glDepthRangef
syntax keyword glFunction glDisableVertexAttribArray
syntax keyword glFunction glEnableVertexAttribArray
syntax keyword glFunction glGetActiveAttrib
syntax keyword glFunction glGetActiveUniform
syntax keyword glFunction glGetAttachedShaders
syntax keyword glFunction glGetAttribLocation
syntax keyword glFunction glGetBufferParameteriv
syntax keyword glFunction glGenBuffers
syntax keyword glFunction glGetProgramiv
syntax keyword glFunction glGetProgramInfoLog
syntax keyword glFunction glGetUniformfv
syntax keyword glFunction glGetUniformiv
syntax keyword glFunction glGetUniformLocation
syntax keyword glFunction glGetVertexAttribfv
syntax keyword glFunction glGetVertexAttribiv
syntax keyword glFunction glGetVertexAttribPointerv
syntax keyword glFunction glIsBuffer
syntax keyword glFunction glIsProgram
syntax keyword glFunction glIsShader
syntax keyword glFunction glLinkProgram
syntax keyword glFunction glStencilFuncSeparate
syntax keyword glFunction glStencilMaskSeparate
syntax keyword glFunction glStencilOpSeparate
syntax keyword glFunction glUniform1i
syntax keyword glFunction glUniform2i
syntax keyword glFunction glUniform3i
syntax keyword glFunction glUniform4i
syntax keyword glFunction glUniform1f
syntax keyword glFunction glUniform2f
syntax keyword glFunction glUniform3f
syntax keyword glFunction glUniform4f
syntax keyword glFunction glUniform1iv
syntax keyword glFunction glUniform2iv
syntax keyword glFunction glUniform3iv
syntax keyword glFunction glUniform4iv
syntax keyword glFunction glUniform1fv
syntax keyword glFunction glUniform2fv
syntax keyword glFunction glUniform3fv
syntax keyword glFunction glUniform4fv
syntax keyword glFunction glUniformMatrix2fv
syntax keyword glFunction glUniformMatrix3fv
syntax keyword glFunction glUniformMatrix4fv
syntax keyword glFunction glUseProgram
syntax keyword glFunction glValidateProgram
syntax keyword glFunction glVertexAttrib1f
syntax keyword glFunction glVertexAttrib2f
syntax keyword glFunction glVertexAttrib3f
syntax keyword glFunction glVertexAttrib4f
syntax keyword glFunction glVertexAttrib1fv
syntax keyword glFunction glVertexAttrib2fv
syntax keyword glFunction glVertexAttrib3fv
syntax keyword glFunction glVertexAttrib4fv
syntax keyword glFunction glVertexAttribPointer
" OES_framebuffer_object
syntax keyword glFunction glIsRenderbufferOES
syntax keyword glFunction glBindRenderbufferOES
syntax keyword glFunction glDeleteRenderbuffersOES
syntax keyword glFunction glGenRenderbuffersOES
syntax keyword glFunction glRenderbufferStorageOES
syntax keyword glFunction glGetRenderbufferParameterivOES
syntax keyword glFunction glGetRenderbufferStorageFormatsivOES
syntax keyword glFunction glIsFramebufferOES
syntax keyword glFunction glBindFramebufferOES
syntax keyword glFunction glDeleteFramebuffersOES
syntax keyword glFunction glGenFramebuffersOES
syntax keyword glFunction glCheckFramebufferStatusOES
syntax keyword glFunction glFramebufferTexture2DOES
syntax keyword glFunction glFramebufferTexture3DOES
syntax keyword glFunction glFramebufferRenderbufferOES
syntax keyword glFunction glGetFramebufferAttachmentParameterivOES
syntax keyword glFunction glGenerateMipmapOES
" OES_mapbuffer
syntax keyword glFunction glMapBuffer
syntax keyword glFunction glUnmapBuffer
" OES_shader_source
syntax keyword glFunction glCompileShader
syntax keyword glFunction glGetShaderiv
syntax keyword glFunction glGetShaderInfoLog
syntax keyword glFunction glGetShaderSource
syntax keyword glFunction glReleaseShaderCompilerOES
syntax keyword glFunction glShaderSource
" OES_shader_binary
syntax keyword glFunction glShaderBinaryOES
" OES_shader_source + OES_shader_binary
syntax keyword glFunction glGetShaderPrecisionFormatOES
" }}}
" }}}
endif
" egl.h
if !exists ("c_opengl_no_egl")
" EGL {{{
" Data types {{{
syntax keyword glType EGLint
syntax keyword glType EGLenum
syntax keyword glType EGLBoolean
syntax keyword glType EGLConfig
syntax keyword glType EGLContext
syntax keyword glType EGLDisplay
syntax keyword glType EGLSurface
syntax keyword glType EGLClientBuffer
syntax keyword glType NativeDisplayType
syntax keyword glType NativeWindowType
syntax keyword glType NativePixmapType
" }}}
" Constants {{{
" API handles
syntax keyword glConstant EGL_DEFAULT_DISPLAY
syntax keyword glConstant EGL_NO_CONTEXT
syntax keyword glConstant EGL_NO_DISPLAY
syntax keyword glConstant EGL_NO_SURFACE
" Boolean
syntax keyword glConstant EGL_FALSE
syntax keyword glConstant EGL_TRUE
" Errors
syntax keyword glConstant EGL_SUCCESS
syntax keyword glConstant EGL_NOT_INITIALIZED
syntax keyword glConstant EGL_BAD_ACCESS
syntax keyword glConstant EGL_BAD_ALLOC
syntax keyword glConstant EGL_BAD_ATTRIBUTE
syntax keyword glConstant EGL_BAD_CONFIG
syntax keyword glConstant EGL_BAD_CONTEXT
syntax keyword glConstant EGL_BAD_CURRENT_SURFACE
syntax keyword glConstant EGL_BAD_DISPLAY
syntax keyword glConstant EGL_BAD_MATCH
syntax keyword glConstant EGL_BAD_NATIVE_PIXMAP
syntax keyword glConstant EGL_BAD_NATIVE_WINDOW
syntax keyword glConstant EGL_BAD_PARAMETER
syntax keyword glConstant EGL_BAD_SURFACE
syntax keyword glConstant EGL_CONTEXT_LOST
" Config attributes
syntax keyword glConstant EGL_BUFFER_SIZE
syntax keyword glConstant EGL_ALPHA_SIZE
syntax keyword glConstant EGL_BLUE_SIZE
syntax keyword glConstant EGL_GREEN_SIZE
syntax keyword glConstant EGL_RED_SIZE
syntax keyword glConstant EGL_DEPTH_SIZE
syntax keyword glConstant EGL_STENCIL_SIZE
syntax keyword glConstant EGL_CONFIG_CAVEAT
syntax keyword glConstant EGL_CONFIG_ID
syntax keyword glConstant EGL_LEVEL
syntax keyword glConstant EGL_MAX_PBUFFER_HEIGHT
syntax keyword glConstant EGL_MAX_PBUFFER_PIXELS
syntax keyword glConstant EGL_MAX_PBUFFER_WIDTH
syntax keyword glConstant EGL_NATIVE_RENDERABLE
syntax keyword glConstant EGL_NATIVE_VISUAL_ID
syntax keyword glConstant EGL_NATIVE_VISUAL_TYPE
syntax keyword glConstant EGL_PRESERVED_RESOURCES
syntax keyword glConstant EGL_SAMPLES
syntax keyword glConstant EGL_SAMPLE_BUFFERS
syntax keyword glConstant EGL_SURFACE_TYPE
syntax keyword glConstant EGL_TRANSPARENT_TYPE
syntax keyword glConstant EGL_TRANSPARENT_BLUE_VALUE
syntax keyword glConstant EGL_TRANSPARENT_GREEN_VALUE
syntax keyword glConstant EGL_TRANSPARENT_RED_VALUE
syntax keyword glConstant EGL_BIND_TO_TEXTURE_RGB
syntax keyword glConstant EGL_BIND_TO_TEXTURE_RGBA
syntax keyword glConstant EGL_MIN_SWAP_INTERVAL
syntax keyword glConstant EGL_MAX_SWAP_INTERVAL
syntax keyword glConstant EGL_LUMINANCE_SIZE
syntax keyword glConstant EGL_ALPHA_MASK_SIZE
syntax keyword glConstant EGL_COLOR_BUFFER_TYPE
syntax keyword glConstant EGL_RENDERABLE_TYPE
syntax keyword glConstant EGL_MATCH_NATIVE_PIXMAP
" Unknown display resolution/aspect ratio
syntax keyword glConstant EGL_UNKNOWN
syntax keyword glConstant EGL_RENDER_BUFFER
syntax keyword glConstant EGL_COLORSPACE
syntax keyword glConstant EGL_ALPHA_FORMAT
syntax keyword glConstant EGL_COLORSPACE_sRGB
syntax keyword glConstant EGL_COLORSPACE_LINEAR
syntax keyword glConstant EGL_ALPHA_FORMAT_NONPRE
syntax keyword glConstant EGL_ALPHA_FORMAT_PRE
syntax keyword glConstant EGL_CLIENT_APIS
syntax keyword glConstant EGL_RGB_BUFFER
syntax keyword glConstant EGL_LUMINANCE_BUFFER
syntax keyword glConstant EGL_HORIZONTAL_RESOLUTION
syntax keyword glConstant EGL_VERTICAL_RESOLUTION
syntax keyword glConstant EGL_PIXEL_ASPECT_RATIO
syntax keyword glConstant EGL_SWAP_BEHAVIOR
syntax keyword glConstant EGL_BUFFER_PRESERVED
syntax keyword glConstant EGL_BUFFER_DESTROYED
" CreatePbufferFromClientBuffer buffer types
syntax keyword glConstant EGL_OPENVG_IMAGE
" QueryContext targets
syntax keyword glConstant EGL_CONTEXT_CLIENT_TYPE
syntax keyword glConstant EGL_CONTEXT_CLIENT_VERSION
syntax keyword glConstant EGL_OPENGL_ES_API
syntax keyword glConstant EGL_OPENVG_API
" Config attribute and value
syntax keyword glConstant EGL_NONE
" Config values
syntax keyword glConstant EGL_DONT_CARE
syntax keyword glConstant EGL_PBUFFER_BIT
syntax keyword glConstant EGL_PIXMAP_BIT
syntax keyword glConstant EGL_WINDOW_BIT
syntax keyword glConstant EGL_SLOW_CONFIG
syntax keyword glConstant EGL_NON_CONFORMANT_CONFIG
syntax keyword glConstant EGL_TRANSPARENT_RGB
syntax keyword glConstant EGL_NO_TEXTURE
syntax keyword glConstant EGL_TEXTURE_RGB
syntax keyword glConstant EGL_TEXTURE_RGBA
syntax keyword glConstant EGL_TEXTURE_2D
syntax keyword glConstant EGL_OPENGL_ES_BIT
syntax keyword glConstant EGL_OPENVG_BIT
syntax keyword glConstant EGL_OPENGL_ES2_BIT
syntax keyword glConstant EGL_DISPLAY_SCALING
" String names
syntax keyword glConstant EGL_VENDOR
syntax keyword glConstant EGL_VERSION
syntax keyword glConstant EGL_EXTENSIONS
" Surface attributes
syntax keyword glConstant EGL_HEIGHT
syntax keyword glConstant EGL_WIDTH
syntax keyword glConstant EGL_LARGEST_PBUFFER
syntax keyword glConstant EGL_TEXTURE_FORMAT
syntax keyword glConstant EGL_TEXTURE_TARGET
syntax keyword glConstant EGL_MIPMAP_TEXTURE
syntax keyword glConstant EGL_MIPMAP_LEVEL
" BindTexImage/ReleaseTexImage buffer target
syntax keyword glConstant EGL_BACK_BUFFER
syntax keyword glConstant EGL_SINGLE_BUFFER
" Current surfaces
syntax keyword glConstant EGL_DRAW
syntax keyword glConstant EGL_READ
" Engines
syntax keyword glConstant EGL_CORE_NATIVE_ENGINE
" }}}
" Functions {{{
syntax keyword glFunction eglGetError
syntax keyword glFunction eglGetDisplay
syntax keyword glFunction eglInitialize
syntax keyword glFunction eglTerminate
syntax keyword glFunction eglQueryString
syntax keyword glFunction eglGetConfigs
syntax keyword glFunction eglChooseConfig
syntax keyword glFunction eglGetConfigAttrib
syntax keyword glFunction eglCreateWindowSurface
syntax keyword glFunction eglCreatePbufferSurface
syntax keyword glFunction eglCreatePixmapSurface
syntax keyword glFunction eglDestroySurface
syntax keyword glFunction eglQuerySurface
syntax keyword glFunction eglSurfaceAttrib
syntax keyword glFunction eglBindTexImage
syntax keyword glFunction eglReleaseTexImage
syntax keyword glFunction eglSwapInterval
syntax keyword glFunction eglCreateContext
syntax keyword glFunction eglDestroyContext
syntax keyword glFunction eglMakeCurrent
syntax keyword glFunction eglGetCurrentContext
syntax keyword glFunction eglGetCurrentSurface
syntax keyword glFunction eglGetCurrentDisplay
syntax keyword glFunction eglQueryContext
syntax keyword glFunction eglWaitGL
syntax keyword glFunction eglWaitNative
syntax keyword glFunction eglSwapBuffers
syntax keyword glFunction eglCopyBuffers
syntax keyword glFunction eglGetProcAddress
syntax keyword glFunction eglCreatePbufferFromClientBuffer
syntax keyword glFunction eglWaitClient
syntax keyword glFunction eglBindAPI
syntax keyword glFunction eglQueryAPI
syntax keyword glFunction eglReleaseThread
" }}}
" }}}
endif
" Default highlighting
if version >= 508 || !exists("did_c_opengl_syntax_inits")
if version < 508
let did_c_opengl_syntax_inits = 1
command -nargs=+ HiLink hi link <args>
else
command -nargs=+ HiLink hi def link <args>
endif
HiLink glType Type
HiLink glFunction Function
HiLink glConstant Constant
delcommand HiLink
endif
" vim: fdm=marker:
|