~ubuntu-branches/ubuntu/quantal/mesa/quantal

« back to all changes in this revision

Viewing changes to src/mesa/drivers/dri/common/extension_helper.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-02-21 12:44:07 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20070221124407-rgcacs32mycrtadl
ImportĀ upstreamĀ versionĀ 6.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
# define NULL 0
33
33
#endif
34
34
 
35
 
#if defined(need_GL_ARB_shader_objects)
 
35
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
36
36
static const char UniformMatrix3fvARB_names[] = 
37
37
    "iiip\0" /* Parameter signature */
 
38
    "glUniformMatrix3fv\0"
38
39
    "glUniformMatrix3fvARB\0"
39
40
    "";
40
41
#endif
78
79
    "";
79
80
#endif
80
81
 
 
82
#if defined(need_GL_VERSION_2_0)
 
83
static const char GetProgramiv_names[] = 
 
84
    "iip\0" /* Parameter signature */
 
85
    "glGetProgramiv\0"
 
86
    "";
 
87
#endif
 
88
 
81
89
#if defined(need_GL_VERSION_1_3)
82
90
static const char MultiTexCoord3sARB_names[] = 
83
91
    "iiii\0" /* Parameter signature */
132
140
    "";
133
141
#endif
134
142
 
135
 
#if defined(need_GL_SGI_color_table)
136
 
static const char GetColorTableParameterfvSGI_names[] = 
137
 
    "iip\0" /* Parameter signature */
138
 
    "glGetColorTableParameterfvSGI\0"
139
 
    "";
140
 
#endif
141
 
 
142
143
#if defined(need_GL_NV_fragment_program)
143
144
static const char GetProgramNamedParameterdvNV_names[] = 
144
145
    "iipp\0" /* Parameter signature */
177
178
    "";
178
179
#endif
179
180
 
180
 
#if defined(need_GL_EXT_paletted_texture)
181
 
static const char GetColorTableParameterivEXT_names[] = 
182
 
    "iip\0" /* Parameter signature */
183
 
    "glGetColorTableParameterivEXT\0"
184
 
    "";
185
 
#endif
186
 
 
187
 
#if defined(need_GL_EXT_blend_equation_separate) || defined(need_GL_ATI_blend_equation_separate)
 
181
#if defined(need_GL_VERSION_2_0) || defined(need_GL_EXT_blend_equation_separate) || defined(need_GL_ATI_blend_equation_separate)
188
182
static const char BlendEquationSeparateEXT_names[] = 
189
183
    "ii\0" /* Parameter signature */
 
184
    "glBlendEquationSeparate\0"
190
185
    "glBlendEquationSeparateEXT\0"
191
186
    "glBlendEquationSeparateATI\0"
192
187
    "";
244
239
    "";
245
240
#endif
246
241
 
247
 
#if defined(need_GL_ARB_vertex_program)
248
 
static const char ProgramEnvParameter4dvARB_names[] = 
249
 
    "iip\0" /* Parameter signature */
250
 
    "glProgramEnvParameter4dvARB\0"
 
242
#if defined(need_GL_VERSION_2_0)
 
243
static const char AttachShader_names[] = 
 
244
    "ii\0" /* Parameter signature */
 
245
    "glAttachShader\0"
251
246
    "";
252
247
#endif
253
248
 
254
 
#if defined(need_GL_ARB_vertex_program)
 
249
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
255
250
static const char VertexAttrib2fARB_names[] = 
256
251
    "iff\0" /* Parameter signature */
 
252
    "glVertexAttrib2f\0"
257
253
    "glVertexAttrib2fARB\0"
258
254
    "";
259
255
#endif
265
261
    "";
266
262
#endif
267
263
 
268
 
#if defined(need_GL_EXT_histogram)
269
 
static const char GetHistogramParameterivEXT_names[] = 
270
 
    "iip\0" /* Parameter signature */
271
 
    "glGetHistogramParameterivEXT\0"
272
 
    "";
273
 
#endif
274
 
 
275
 
#if defined(need_GL_ARB_vertex_program)
 
264
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
276
265
static const char VertexAttrib3fARB_names[] = 
277
266
    "ifff\0" /* Parameter signature */
 
267
    "glVertexAttrib3f\0"
278
268
    "glVertexAttrib3fARB\0"
279
269
    "";
280
270
#endif
325
315
    "";
326
316
#endif
327
317
 
328
 
#if defined(need_GL_ARB_shader_objects)
 
318
#if defined(need_GL_NV_register_combiners)
 
319
static const char CombinerOutputNV_names[] = 
 
320
    "iiiiiiiiii\0" /* Parameter signature */
 
321
    "glCombinerOutputNV\0"
 
322
    "";
 
323
#endif
 
324
 
 
325
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
329
326
static const char Uniform2fARB_names[] = 
330
327
    "iff\0" /* Parameter signature */
 
328
    "glUniform2f\0"
331
329
    "glUniform2fARB\0"
332
330
    "";
333
331
#endif
334
332
 
335
 
#if defined(need_GL_ARB_vertex_program)
 
333
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
336
334
static const char VertexAttrib1svARB_names[] = 
337
335
    "ip\0" /* Parameter signature */
 
336
    "glVertexAttrib1sv\0"
338
337
    "glVertexAttrib1svARB\0"
339
338
    "";
340
339
#endif
346
345
    "";
347
346
#endif
348
347
 
349
 
#if defined(need_GL_ARB_shader_objects)
 
348
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
350
349
static const char Uniform2ivARB_names[] = 
351
350
    "iip\0" /* Parameter signature */
 
351
    "glUniform2iv\0"
352
352
    "glUniform2ivARB\0"
353
353
    "";
354
354
#endif
367
367
    "";
368
368
#endif
369
369
 
 
370
#if defined(need_GL_NV_vertex_program)
 
371
static const char VertexAttrib1fvNV_names[] = 
 
372
    "ip\0" /* Parameter signature */
 
373
    "glVertexAttrib1fvNV\0"
 
374
    "";
 
375
#endif
 
376
 
370
377
#if defined(need_GL_EXT_convolution)
371
378
static const char CopyConvolutionFilter1D_names[] = 
372
379
    "iiiii\0" /* Parameter signature */
397
404
    "";
398
405
#endif
399
406
 
400
 
#if defined(need_GL_ARB_shader_objects)
 
407
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
401
408
static const char UniformMatrix4fvARB_names[] = 
402
409
    "iiip\0" /* Parameter signature */
 
410
    "glUniformMatrix4fv\0"
403
411
    "glUniformMatrix4fvARB\0"
404
412
    "";
405
413
#endif
418
426
    "";
419
427
#endif
420
428
 
 
429
#if defined(need_GL_VERSION_2_1)
 
430
static const char UniformMatrix2x4fv_names[] = 
 
431
    "iiip\0" /* Parameter signature */
 
432
    "glUniformMatrix2x4fv\0"
 
433
    "";
 
434
#endif
 
435
 
421
436
#if defined(need_GL_SUN_vertex)
422
437
static const char Color4ubVertex3fvSUN_names[] = 
423
438
    "pp\0" /* Parameter signature */
432
447
    "";
433
448
#endif
434
449
 
435
 
#if defined(need_GL_ARB_vertex_program)
 
450
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
436
451
static const char VertexAttrib4NusvARB_names[] = 
437
452
    "ip\0" /* Parameter signature */
 
453
    "glVertexAttrib4Nusv\0"
438
454
    "glVertexAttrib4NusvARB\0"
439
455
    "";
440
456
#endif
460
476
    "";
461
477
#endif
462
478
 
463
 
#if defined(need_GL_ATI_fragment_shader)
464
 
static const char ColorFragmentOp3ATI_names[] = 
465
 
    "iiiiiiiiiiiii\0" /* Parameter signature */
466
 
    "glColorFragmentOp3ATI\0"
 
479
#if defined(need_GL_VERSION_2_1)
 
480
static const char UniformMatrix4x3fv_names[] = 
 
481
    "iiip\0" /* Parameter signature */
 
482
    "glUniformMatrix4x3fv\0"
467
483
    "";
468
484
#endif
469
485
 
556
572
    "";
557
573
#endif
558
574
 
559
 
#if defined(need_GL_ARB_vertex_program)
 
575
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
560
576
static const char DisableVertexAttribArrayARB_names[] = 
561
577
    "i\0" /* Parameter signature */
 
578
    "glDisableVertexAttribArray\0"
562
579
    "glDisableVertexAttribArrayARB\0"
563
580
    "";
564
581
#endif
585
602
    "";
586
603
#endif
587
604
 
588
 
#if defined(need_GL_ARB_vertex_program)
 
605
#if defined(need_GL_EXT_convolution)
 
606
static const char GetConvolutionParameteriv_names[] = 
 
607
    "iip\0" /* Parameter signature */
 
608
    "glGetConvolutionParameteriv\0"
 
609
    "glGetConvolutionParameterivEXT\0"
 
610
    "";
 
611
#endif
 
612
 
 
613
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
589
614
static const char VertexAttrib1fARB_names[] = 
590
615
    "if\0" /* Parameter signature */
 
616
    "glVertexAttrib1f\0"
591
617
    "glVertexAttrib1fARB\0"
592
618
    "";
593
619
#endif
700
726
    "";
701
727
#endif
702
728
 
703
 
#if defined(need_GL_ARB_vertex_program)
 
729
#if defined(need_GL_VERSION_2_0)
 
730
static const char GetProgramInfoLog_names[] = 
 
731
    "iipp\0" /* Parameter signature */
 
732
    "glGetProgramInfoLog\0"
 
733
    "";
 
734
#endif
 
735
 
 
736
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
704
737
static const char VertexAttrib4NbvARB_names[] = 
705
738
    "ip\0" /* Parameter signature */
 
739
    "glVertexAttrib4Nbv\0"
706
740
    "glVertexAttrib4NbvARB\0"
707
741
    "";
708
742
#endif
709
743
 
710
 
#if defined(need_GL_ARB_vertex_shader)
 
744
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_shader)
711
745
static const char GetActiveAttribARB_names[] = 
712
746
    "iiipppp\0" /* Parameter signature */
 
747
    "glGetActiveAttrib\0"
713
748
    "glGetActiveAttribARB\0"
714
749
    "";
715
750
#endif
728
763
    "";
729
764
#endif
730
765
 
731
 
#if defined(need_GL_EXT_histogram)
732
 
static const char GetMinmaxEXT_names[] = 
733
 
    "iiiip\0" /* Parameter signature */
734
 
    "glGetMinmaxEXT\0"
735
 
    "";
736
 
#endif
737
 
 
738
766
#if defined(need_GL_NV_register_combiners)
739
767
static const char CombinerParameterfvNV_names[] = 
740
768
    "ip\0" /* Parameter signature */
882
910
    "";
883
911
#endif
884
912
 
885
 
#if defined(need_GL_ARB_shader_objects)
 
913
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
886
914
static const char Uniform3iARB_names[] = 
887
915
    "iiii\0" /* Parameter signature */
 
916
    "glUniform3i\0"
888
917
    "glUniform3iARB\0"
889
918
    "";
890
919
#endif
896
925
    "";
897
926
#endif
898
927
 
899
 
#if defined(need_GL_EXT_coordinate_frame)
900
 
static const char Binormal3fEXT_names[] = 
901
 
    "fff\0" /* Parameter signature */
902
 
    "glBinormal3fEXT\0"
 
928
#if defined(need_GL_VERSION_2_0)
 
929
static const char GetShaderInfoLog_names[] = 
 
930
    "iipp\0" /* Parameter signature */
 
931
    "glGetShaderInfoLog\0"
903
932
    "";
904
933
#endif
905
934
 
1017
1046
    "";
1018
1047
#endif
1019
1048
 
1020
 
#if defined(need_GL_ARB_vertex_program)
 
1049
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
1021
1050
static const char VertexAttrib1sARB_names[] = 
1022
1051
    "ii\0" /* Parameter signature */
 
1052
    "glVertexAttrib1s\0"
1023
1053
    "glVertexAttrib1sARB\0"
1024
1054
    "";
1025
1055
#endif
1031
1061
    "";
1032
1062
#endif
1033
1063
 
1034
 
#if defined(need_GL_EXT_histogram)
1035
 
static const char GetHistogramParameterfvEXT_names[] = 
1036
 
    "iip\0" /* Parameter signature */
1037
 
    "glGetHistogramParameterfvEXT\0"
1038
 
    "";
1039
 
#endif
1040
 
 
1041
1064
#if defined(need_GL_SGIX_flush_raster)
1042
1065
static const char FlushRasterSGIX_names[] = 
1043
1066
    "\0" /* Parameter signature */
1052
1075
    "";
1053
1076
#endif
1054
1077
 
1055
 
#if defined(need_GL_ARB_draw_buffers) || defined(need_GL_ATI_draw_buffers)
1056
 
static const char DrawBuffersARB_names[] = 
1057
 
    "ip\0" /* Parameter signature */
1058
 
    "glDrawBuffersARB\0"
1059
 
    "glDrawBuffersATI\0"
 
1078
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
 
1079
static const char Uniform1fARB_names[] = 
 
1080
    "if\0" /* Parameter signature */
 
1081
    "glUniform1f\0"
 
1082
    "glUniform1fARB\0"
 
1083
    "";
 
1084
#endif
 
1085
 
 
1086
#if defined(need_GL_EXT_texture_object)
 
1087
static const char AreTexturesResident_names[] = 
 
1088
    "ipp\0" /* Parameter signature */
 
1089
    "glAreTexturesResident\0"
 
1090
    "glAreTexturesResidentEXT\0"
1060
1091
    "";
1061
1092
#endif
1062
1093
 
1125
1156
    "";
1126
1157
#endif
1127
1158
 
1128
 
#if defined(need_GL_EXT_histogram)
1129
 
static const char GetHistogramEXT_names[] = 
1130
 
    "iiiip\0" /* Parameter signature */
1131
 
    "glGetHistogramEXT\0"
1132
 
    "";
1133
 
#endif
1134
 
 
1135
1159
#if defined(need_GL_IBM_vertex_array_lists)
1136
1160
static const char VertexPointerListIBM_names[] = 
1137
1161
    "iiipi\0" /* Parameter signature */
1153
1177
    "";
1154
1178
#endif
1155
1179
 
1156
 
#if defined(need_GL_EXT_paletted_texture)
1157
 
static const char GetColorTableEXT_names[] = 
1158
 
    "iiip\0" /* Parameter signature */
1159
 
    "glGetColorTableEXT\0"
 
1180
#if defined(need_GL_SUN_vertex)
 
1181
static const char TexCoord2fNormal3fVertex3fSUN_names[] = 
 
1182
    "ffffffff\0" /* Parameter signature */
 
1183
    "glTexCoord2fNormal3fVertex3fSUN\0"
1160
1184
    "";
1161
1185
#endif
1162
1186
 
1188
1212
    "";
1189
1213
#endif
1190
1214
 
1191
 
#if defined(need_GL_ARB_shader_objects)
 
1215
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
1192
1216
static const char UniformMatrix2fvARB_names[] = 
1193
1217
    "iiip\0" /* Parameter signature */
 
1218
    "glUniformMatrix2fv\0"
1194
1219
    "glUniformMatrix2fvARB\0"
1195
1220
    "";
1196
1221
#endif
1234
1259
    "";
1235
1260
#endif
1236
1261
 
1237
 
#if defined(need_GL_ARB_vertex_program)
 
1262
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
1238
1263
static const char VertexAttrib3dvARB_names[] = 
1239
1264
    "ip\0" /* Parameter signature */
 
1265
    "glVertexAttrib3dv\0"
1240
1266
    "glVertexAttrib3dvARB\0"
1241
1267
    "";
1242
1268
#endif
1327
1353
    "";
1328
1354
#endif
1329
1355
 
1330
 
#if defined(need_GL_ARB_shader_objects)
 
1356
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
1331
1357
static const char Uniform3fvARB_names[] = 
1332
1358
    "iip\0" /* Parameter signature */
 
1359
    "glUniform3fv\0"
1333
1360
    "glUniform3fvARB\0"
1334
1361
    "";
1335
1362
#endif
1370
1397
    "";
1371
1398
#endif
1372
1399
 
1373
 
#if defined(need_GL_ARB_vertex_program)
 
1400
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
1374
1401
static const char GetVertexAttribivARB_names[] = 
1375
1402
    "iip\0" /* Parameter signature */
 
1403
    "glGetVertexAttribiv\0"
1376
1404
    "glGetVertexAttribivARB\0"
1377
1405
    "";
1378
1406
#endif
1384
1412
    "";
1385
1413
#endif
1386
1414
 
1387
 
#if defined(need_GL_SUN_vertex)
1388
 
static const char ReplacementCodeuiNormal3fVertex3fvSUN_names[] = 
1389
 
    "ppp\0" /* Parameter signature */
1390
 
    "glReplacementCodeuiNormal3fVertex3fvSUN\0"
 
1415
#if defined(need_GL_VERSION_2_0)
 
1416
static const char CreateProgram_names[] = 
 
1417
    "\0" /* Parameter signature */
 
1418
    "glCreateProgram\0"
1391
1419
    "";
1392
1420
#endif
1393
1421
 
1399
1427
    "";
1400
1428
#endif
1401
1429
 
 
1430
#if defined(need_GL_EXT_histogram)
 
1431
static const char GetMinmax_names[] = 
 
1432
    "iiiip\0" /* Parameter signature */
 
1433
    "glGetMinmax\0"
 
1434
    "glGetMinmaxEXT\0"
 
1435
    "";
 
1436
#endif
 
1437
 
1402
1438
#if defined(need_GL_VERSION_2_0)
1403
1439
static const char StencilFuncSeparate_names[] = 
1404
1440
    "iiii\0" /* Parameter signature */
1557
1593
    "";
1558
1594
#endif
1559
1595
 
1560
 
#if defined(need_GL_EXT_convolution)
1561
 
static const char GetSeparableFilterEXT_names[] = 
1562
 
    "iiippp\0" /* Parameter signature */
1563
 
    "glGetSeparableFilterEXT\0"
1564
 
    "";
1565
 
#endif
1566
 
 
1567
1596
#if defined(need_GL_VERSION_1_3)
1568
1597
static const char MultiTexCoord4sARB_names[] = 
1569
1598
    "iiiii\0" /* Parameter signature */
1624
1653
    "";
1625
1654
#endif
1626
1655
 
1627
 
#if defined(need_GL_ARB_vertex_program)
 
1656
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
1628
1657
static const char VertexAttrib3dARB_names[] = 
1629
1658
    "iddd\0" /* Parameter signature */
 
1659
    "glVertexAttrib3d\0"
1630
1660
    "glVertexAttrib3dARB\0"
1631
1661
    "";
1632
1662
#endif
1638
1668
    "";
1639
1669
#endif
1640
1670
 
1641
 
#if defined(need_GL_ARB_vertex_program)
 
1671
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
1642
1672
static const char VertexAttrib4fARB_names[] = 
1643
1673
    "iffff\0" /* Parameter signature */
 
1674
    "glVertexAttrib4f\0"
1644
1675
    "glVertexAttrib4fARB\0"
1645
1676
    "";
1646
1677
#endif
1689
1720
    "";
1690
1721
#endif
1691
1722
 
1692
 
#if defined(need_GL_ARB_vertex_program)
 
1723
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
1693
1724
static const char VertexAttrib4fvARB_names[] = 
1694
1725
    "ip\0" /* Parameter signature */
 
1726
    "glVertexAttrib4fv\0"
1695
1727
    "glVertexAttrib4fvARB\0"
1696
1728
    "";
1697
1729
#endif
1703
1735
    "";
1704
1736
#endif
1705
1737
 
1706
 
#if defined(need_GL_ARB_shader_objects)
 
1738
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
1707
1739
static const char GetActiveUniformARB_names[] = 
1708
1740
    "iiipppp\0" /* Parameter signature */
 
1741
    "glGetActiveUniform\0"
1709
1742
    "glGetActiveUniformARB\0"
1710
1743
    "";
1711
1744
#endif
1747
1780
    "";
1748
1781
#endif
1749
1782
 
 
1783
#if defined(need_GL_VERSION_2_0)
 
1784
static const char IsShader_names[] = 
 
1785
    "i\0" /* Parameter signature */
 
1786
    "glIsShader\0"
 
1787
    "";
 
1788
#endif
 
1789
 
1750
1790
#if defined(need_GL_HP_image_transform)
1751
1791
static const char GetImageTransformParameterivHP_names[] = 
1752
1792
    "iip\0" /* Parameter signature */
1791
1831
    "";
1792
1832
#endif
1793
1833
 
1794
 
#if defined(need_GL_ARB_shader_objects)
 
1834
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
1795
1835
static const char GetUniformivARB_names[] = 
1796
1836
    "iip\0" /* Parameter signature */
 
1837
    "glGetUniformiv\0"
1797
1838
    "glGetUniformivARB\0"
1798
1839
    "";
1799
1840
#endif
1885
1926
    "";
1886
1927
#endif
1887
1928
 
1888
 
#if defined(need_GL_EXT_convolution)
1889
 
static const char GetConvolutionFilterEXT_names[] = 
1890
 
    "iiip\0" /* Parameter signature */
1891
 
    "glGetConvolutionFilterEXT\0"
 
1929
#if defined(need_GL_VERSION_2_0)
 
1930
static const char IsProgram_names[] = 
 
1931
    "i\0" /* Parameter signature */
 
1932
    "glIsProgram\0"
1892
1933
    "";
1893
1934
#endif
1894
1935
 
1927
1968
    "";
1928
1969
#endif
1929
1970
 
 
1971
#if defined(need_GL_EXT_texture_object)
 
1972
static const char GenTextures_names[] = 
 
1973
    "ip\0" /* Parameter signature */
 
1974
    "glGenTextures\0"
 
1975
    "glGenTexturesEXT\0"
 
1976
    "";
 
1977
#endif
 
1978
 
1930
1979
#if defined(need_GL_NV_fence)
1931
1980
static const char SetFenceNV_names[] = 
1932
1981
    "ii\0" /* Parameter signature */
2022
2071
    "";
2023
2072
#endif
2024
2073
 
2025
 
#if defined(need_GL_ARB_shader_objects)
 
2074
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
2026
2075
static const char Uniform2fvARB_names[] = 
2027
2076
    "iip\0" /* Parameter signature */
 
2077
    "glUniform2fv\0"
2028
2078
    "glUniform2fvARB\0"
2029
2079
    "";
2030
2080
#endif
2051
2101
    "";
2052
2102
#endif
2053
2103
 
2054
 
#if defined(need_GL_ARB_shader_objects)
2055
 
static const char UseProgramObjectARB_names[] = 
2056
 
    "i\0" /* Parameter signature */
2057
 
    "glUseProgramObjectARB\0"
 
2104
#if defined(need_GL_ARB_matrix_palette)
 
2105
static const char MatrixIndexPointerARB_names[] = 
 
2106
    "iiip\0" /* Parameter signature */
 
2107
    "glMatrixIndexPointerARB\0"
2058
2108
    "";
2059
2109
#endif
2060
2110
 
2079
2129
    "";
2080
2130
#endif
2081
2131
 
2082
 
#if defined(need_GL_ARB_vertex_program)
2083
 
static const char VertexAttrib4usvARB_names[] = 
2084
 
    "ip\0" /* Parameter signature */
2085
 
    "glVertexAttrib4usvARB\0"
 
2132
#if defined(need_GL_SGIX_reference_plane)
 
2133
static const char ReferencePlaneSGIX_names[] = 
 
2134
    "p\0" /* Parameter signature */
 
2135
    "glReferencePlaneSGIX\0"
 
2136
    "";
 
2137
#endif
 
2138
 
 
2139
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
 
2140
static const char ValidateProgramARB_names[] = 
 
2141
    "i\0" /* Parameter signature */
 
2142
    "glValidateProgram\0"
 
2143
    "glValidateProgramARB\0"
2086
2144
    "";
2087
2145
#endif
2088
2146
 
2124
2182
    "";
2125
2183
#endif
2126
2184
 
2127
 
#if defined(need_GL_ARB_vertex_program)
 
2185
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
2128
2186
static const char VertexAttrib2dARB_names[] = 
2129
2187
    "idd\0" /* Parameter signature */
 
2188
    "glVertexAttrib2d\0"
2130
2189
    "glVertexAttrib2dARB\0"
2131
2190
    "";
2132
2191
#endif
2138
2197
    "";
2139
2198
#endif
2140
2199
 
 
2200
#if defined(need_GL_SGI_color_table) || defined(need_GL_EXT_paletted_texture)
 
2201
static const char GetColorTable_names[] = 
 
2202
    "iiip\0" /* Parameter signature */
 
2203
    "glGetColorTable\0"
 
2204
    "glGetColorTableSGI\0"
 
2205
    "glGetColorTableEXT\0"
 
2206
    "";
 
2207
#endif
 
2208
 
2141
2209
#if defined(need_GL_SGI_color_table)
2142
2210
static const char CopyColorTable_names[] = 
2143
2211
    "iiiii\0" /* Parameter signature */
2146
2214
    "";
2147
2215
#endif
2148
2216
 
 
2217
#if defined(need_GL_EXT_histogram)
 
2218
static const char GetHistogramParameterfv_names[] = 
 
2219
    "iip\0" /* Parameter signature */
 
2220
    "glGetHistogramParameterfv\0"
 
2221
    "glGetHistogramParameterfvEXT\0"
 
2222
    "";
 
2223
#endif
 
2224
 
2149
2225
#if defined(need_GL_INTEL_parallel_arrays)
2150
2226
static const char ColorPointervINTEL_names[] = 
2151
2227
    "iip\0" /* Parameter signature */
2176
2252
    "";
2177
2253
#endif
2178
2254
 
2179
 
#if defined(need_GL_ARB_vertex_program)
 
2255
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
2180
2256
static const char VertexAttrib1dvARB_names[] = 
2181
2257
    "ip\0" /* Parameter signature */
 
2258
    "glVertexAttrib1dv\0"
2182
2259
    "glVertexAttrib1dvARB\0"
2183
2260
    "";
2184
2261
#endif
2233
2310
    "";
2234
2311
#endif
2235
2312
 
2236
 
#if defined(need_GL_ARB_vertex_program)
 
2313
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
2237
2314
static const char GetVertexAttribfvARB_names[] = 
2238
2315
    "iip\0" /* Parameter signature */
 
2316
    "glGetVertexAttribfv\0"
2239
2317
    "glGetVertexAttribfvARB\0"
2240
2318
    "";
2241
2319
#endif
2248
2326
    "";
2249
2327
#endif
2250
2328
 
 
2329
#if defined(need_GL_VERSION_2_1)
 
2330
static const char UniformMatrix4x2fv_names[] = 
 
2331
    "iiip\0" /* Parameter signature */
 
2332
    "glUniformMatrix4x2fv\0"
 
2333
    "";
 
2334
#endif
 
2335
 
2251
2336
#if defined(need_GL_SGIS_detail_texture)
2252
2337
static const char GetDetailTexFuncSGIS_names[] = 
2253
2338
    "ip\0" /* Parameter signature */
2262
2347
    "";
2263
2348
#endif
2264
2349
 
 
2350
#if defined(need_GL_EXT_coordinate_frame)
 
2351
static const char Binormal3fEXT_names[] = 
 
2352
    "fff\0" /* Parameter signature */
 
2353
    "glBinormal3fEXT\0"
 
2354
    "";
 
2355
#endif
 
2356
 
2265
2357
#if defined(need_GL_SUN_vertex)
2266
2358
static const char Color4ubVertex2fvSUN_names[] = 
2267
2359
    "pp\0" /* Parameter signature */
2284
2376
    "";
2285
2377
#endif
2286
2378
 
2287
 
#if defined(need_GL_ARB_vertex_shader)
 
2379
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_shader)
2288
2380
static const char GetAttribLocationARB_names[] = 
2289
2381
    "ip\0" /* Parameter signature */
 
2382
    "glGetAttribLocation\0"
2290
2383
    "glGetAttribLocationARB\0"
2291
2384
    "";
2292
2385
#endif
2335
2428
    "";
2336
2429
#endif
2337
2430
 
2338
 
#if defined(need_GL_ARB_shader_objects)
 
2431
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
2339
2432
static const char Uniform3ivARB_names[] = 
2340
2433
    "iip\0" /* Parameter signature */
 
2434
    "glUniform3iv\0"
2341
2435
    "glUniform3ivARB\0"
2342
2436
    "";
2343
2437
#endif
2372
2466
    "";
2373
2467
#endif
2374
2468
 
2375
 
#if defined(need_GL_EXT_gpu_program_parameters)
2376
 
static const char ProgramLocalParameters4fvEXT_names[] = 
2377
 
    "iiip\0" /* Parameter signature */
2378
 
    "glProgramLocalParameters4fvEXT\0"
 
2469
#if defined(need_GL_VERSION_2_0)
 
2470
static const char GetVertexAttribPointervARB_names[] = 
 
2471
    "iip\0" /* Parameter signature */
 
2472
    "glGetVertexAttribPointerv\0"
2379
2473
    "";
2380
2474
#endif
2381
2475
 
2386
2480
    "";
2387
2481
#endif
2388
2482
 
2389
 
#if defined(need_GL_ARB_vertex_program)
 
2483
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
2390
2484
static const char VertexAttrib4sARB_names[] = 
2391
2485
    "iiiii\0" /* Parameter signature */
 
2486
    "glVertexAttrib4s\0"
2392
2487
    "glVertexAttrib4sARB\0"
2393
2488
    "";
2394
2489
#endif
2415
2510
    "";
2416
2511
#endif
2417
2512
 
2418
 
#if defined(need_GL_EXT_convolution)
2419
 
static const char GetConvolutionParameterfvEXT_names[] = 
2420
 
    "iip\0" /* Parameter signature */
2421
 
    "glGetConvolutionParameterfvEXT\0"
2422
 
    "";
2423
 
#endif
2424
 
 
2425
 
#if defined(need_GL_EXT_histogram)
2426
 
static const char GetMinmaxParameterfvEXT_names[] = 
2427
 
    "iip\0" /* Parameter signature */
2428
 
    "glGetMinmaxParameterfvEXT\0"
2429
 
    "";
2430
 
#endif
2431
 
 
2432
 
#if defined(need_GL_ARB_vertex_program)
 
2513
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
2433
2514
static const char VertexAttrib2dvARB_names[] = 
2434
2515
    "ip\0" /* Parameter signature */
 
2516
    "glVertexAttrib2dv\0"
2435
2517
    "glVertexAttrib2dvARB\0"
2436
2518
    "";
2437
2519
#endif
2457
2539
    "";
2458
2540
#endif
2459
2541
 
2460
 
#if defined(need_GL_ARB_vertex_program)
 
2542
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
2461
2543
static const char VertexAttrib2fvARB_names[] = 
2462
2544
    "ip\0" /* Parameter signature */
 
2545
    "glVertexAttrib2fv\0"
2463
2546
    "glVertexAttrib2fvARB\0"
2464
2547
    "";
2465
2548
#endif
2493
2576
    "";
2494
2577
#endif
2495
2578
 
2496
 
#if defined(need_GL_ARB_vertex_program)
 
2579
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
2497
2580
static const char VertexAttrib4NivARB_names[] = 
2498
2581
    "ip\0" /* Parameter signature */
 
2582
    "glVertexAttrib4Niv\0"
2499
2583
    "glVertexAttrib4NivARB\0"
2500
2584
    "";
2501
2585
#endif
2502
2586
 
2503
 
#if defined(need_GL_SUN_triangle_list)
2504
 
static const char ReplacementCodeuivSUN_names[] = 
2505
 
    "p\0" /* Parameter signature */
2506
 
    "glReplacementCodeuivSUN\0"
 
2587
#if defined(need_GL_VERSION_2_0)
 
2588
static const char GetAttachedShaders_names[] = 
 
2589
    "iipp\0" /* Parameter signature */
 
2590
    "glGetAttachedShaders\0"
2507
2591
    "";
2508
2592
#endif
2509
2593
 
2521
2605
    "";
2522
2606
#endif
2523
2607
 
 
2608
#if defined(need_GL_SUN_vertex)
 
2609
static const char TexCoord2fColor4fNormal3fVertex3fvSUN_names[] = 
 
2610
    "pppp\0" /* Parameter signature */
 
2611
    "glTexCoord2fColor4fNormal3fVertex3fvSUN\0"
 
2612
    "";
 
2613
#endif
 
2614
 
2524
2615
#if defined(need_GL_VERSION_1_4) || defined(need_GL_ARB_window_pos) || defined(need_GL_MESA_window_pos)
2525
2616
static const char WindowPos2iMESA_names[] = 
2526
2617
    "ii\0" /* Parameter signature */
2546
2637
    "";
2547
2638
#endif
2548
2639
 
2549
 
#if defined(need_GL_SUN_vertex)
2550
 
static const char TexCoord2fNormal3fVertex3fSUN_names[] = 
2551
 
    "ffffffff\0" /* Parameter signature */
2552
 
    "glTexCoord2fNormal3fVertex3fSUN\0"
2553
 
    "";
2554
 
#endif
2555
 
 
2556
2640
#if defined(need_GL_NV_vertex_program)
2557
2641
static const char GetVertexAttribivNV_names[] = 
2558
2642
    "iip\0" /* Parameter signature */
2567
2651
    "";
2568
2652
#endif
2569
2653
 
2570
 
#if defined(need_GL_ARB_shader_objects)
 
2654
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
2571
2655
static const char CompileShaderARB_names[] = 
2572
2656
    "i\0" /* Parameter signature */
 
2657
    "glCompileShader\0"
2573
2658
    "glCompileShaderARB\0"
2574
2659
    "";
2575
2660
#endif
2576
2661
 
2577
 
#if defined(need_GL_NV_register_combiners)
2578
 
static const char CombinerOutputNV_names[] = 
2579
 
    "iiiiiiiiii\0" /* Parameter signature */
2580
 
    "glCombinerOutputNV\0"
 
2662
#if defined(need_GL_VERSION_2_0)
 
2663
static const char DeleteShader_names[] = 
 
2664
    "i\0" /* Parameter signature */
 
2665
    "glDeleteShader\0"
 
2666
    "";
 
2667
#endif
 
2668
 
 
2669
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
 
2670
static const char Uniform3fARB_names[] = 
 
2671
    "ifff\0" /* Parameter signature */
 
2672
    "glUniform3f\0"
 
2673
    "glUniform3fARB\0"
2581
2674
    "";
2582
2675
#endif
2583
2676
 
2639
2732
    "";
2640
2733
#endif
2641
2734
 
2642
 
#if defined(need_GL_ARB_vertex_program)
 
2735
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
2643
2736
static const char VertexAttrib4NuivARB_names[] = 
2644
2737
    "ip\0" /* Parameter signature */
 
2738
    "glVertexAttrib4Nuiv\0"
2645
2739
    "glVertexAttrib4NuivARB\0"
2646
2740
    "";
2647
2741
#endif
2668
2762
    "";
2669
2763
#endif
2670
2764
 
2671
 
#if defined(need_GL_ARB_shader_objects)
 
2765
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
2672
2766
static const char Uniform4fARB_names[] = 
2673
2767
    "iffff\0" /* Parameter signature */
 
2768
    "glUniform4f\0"
2674
2769
    "glUniform4fARB\0"
2675
2770
    "";
2676
2771
#endif
2726
2821
    "";
2727
2822
#endif
2728
2823
 
 
2824
#if defined(need_GL_EXT_texture_object)
 
2825
static const char IsTexture_names[] = 
 
2826
    "i\0" /* Parameter signature */
 
2827
    "glIsTexture\0"
 
2828
    "glIsTextureEXT\0"
 
2829
    "";
 
2830
#endif
 
2831
 
2729
2832
#if defined(need_GL_EXT_vertex_weighting)
2730
2833
static const char VertexWeightfvEXT_names[] = 
2731
2834
    "p\0" /* Parameter signature */
2733
2836
    "";
2734
2837
#endif
2735
2838
 
2736
 
#if defined(need_GL_ARB_vertex_program)
 
2839
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
2737
2840
static const char VertexAttrib1dARB_names[] = 
2738
2841
    "id\0" /* Parameter signature */
 
2842
    "glVertexAttrib1d\0"
2739
2843
    "glVertexAttrib1dARB\0"
2740
2844
    "";
2741
2845
#endif
2776
2880
    "";
2777
2881
#endif
2778
2882
 
2779
 
#if defined(need_GL_NV_vertex_program)
2780
 
static const char VertexAttrib4sNV_names[] = 
2781
 
    "iiiii\0" /* Parameter signature */
2782
 
    "glVertexAttrib4sNV\0"
2783
 
    "";
2784
 
#endif
2785
 
 
2786
2883
#if defined(need_GL_SGIS_multisample) || defined(need_GL_EXT_multisample)
2787
2884
static const char SamplePatternSGIS_names[] = 
2788
2885
    "i\0" /* Parameter signature */
2806
2903
    "";
2807
2904
#endif
2808
2905
 
2809
 
#if defined(need_GL_ARB_shader_objects)
 
2906
#if defined(need_GL_ARB_vertex_program)
 
2907
static const char VertexAttrib4usvARB_names[] = 
 
2908
    "ip\0" /* Parameter signature */
 
2909
    "glVertexAttrib4usvARB\0"
 
2910
    "";
 
2911
#endif
 
2912
 
 
2913
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
2810
2914
static const char LinkProgramARB_names[] = 
2811
2915
    "i\0" /* Parameter signature */
 
2916
    "glLinkProgram\0"
2812
2917
    "glLinkProgramARB\0"
2813
2918
    "";
2814
2919
#endif
2820
2925
    "";
2821
2926
#endif
2822
2927
 
2823
 
#if defined(need_GL_ARB_shader_objects)
 
2928
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
2824
2929
static const char ShaderSourceARB_names[] = 
2825
2930
    "iipp\0" /* Parameter signature */
 
2931
    "glShaderSource\0"
2826
2932
    "glShaderSourceARB\0"
2827
2933
    "";
2828
2934
#endif
2834
2940
    "";
2835
2941
#endif
2836
2942
 
2837
 
#if defined(need_GL_ARB_vertex_program)
 
2943
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
2838
2944
static const char VertexAttrib3svARB_names[] = 
2839
2945
    "ip\0" /* Parameter signature */
 
2946
    "glVertexAttrib3sv\0"
2840
2947
    "glVertexAttrib3svARB\0"
2841
2948
    "";
2842
2949
#endif
2865
2972
    "";
2866
2973
#endif
2867
2974
 
2868
 
#if defined(need_GL_ARB_shader_objects)
 
2975
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
2869
2976
static const char Uniform4ivARB_names[] = 
2870
2977
    "iip\0" /* Parameter signature */
 
2978
    "glUniform4iv\0"
2871
2979
    "glUniform4ivARB\0"
2872
2980
    "";
2873
2981
#endif
2874
2982
 
2875
 
#if defined(need_GL_ARB_vertex_program)
 
2983
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
2876
2984
static const char GetVertexAttribdvARB_names[] = 
2877
2985
    "iip\0" /* Parameter signature */
 
2986
    "glGetVertexAttribdv\0"
2878
2987
    "glGetVertexAttribdvARB\0"
2879
2988
    "";
2880
2989
#endif
2881
2990
 
 
2991
#if defined(need_GL_EXT_convolution)
 
2992
static const char GetSeparableFilter_names[] = 
 
2993
    "iiippp\0" /* Parameter signature */
 
2994
    "glGetSeparableFilter\0"
 
2995
    "glGetSeparableFilterEXT\0"
 
2996
    "";
 
2997
#endif
 
2998
 
2882
2999
#if defined(need_GL_EXT_coordinate_frame)
2883
3000
static const char Binormal3dEXT_names[] = 
2884
3001
    "ddd\0" /* Parameter signature */
2929
3046
    "";
2930
3047
#endif
2931
3048
 
2932
 
#if defined(need_GL_ARB_shader_objects)
 
3049
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
2933
3050
static const char Uniform1ivARB_names[] = 
2934
3051
    "iip\0" /* Parameter signature */
 
3052
    "glUniform1iv\0"
2935
3053
    "glUniform1ivARB\0"
2936
3054
    "";
2937
3055
#endif
2975
3093
    "";
2976
3094
#endif
2977
3095
 
2978
 
#if defined(need_GL_ARB_vertex_program)
 
3096
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
2979
3097
static const char VertexAttrib4dvARB_names[] = 
2980
3098
    "ip\0" /* Parameter signature */
 
3099
    "glVertexAttrib4dv\0"
2981
3100
    "glVertexAttrib4dvARB\0"
2982
3101
    "";
2983
3102
#endif
2984
3103
 
2985
 
#if defined(need_GL_ARB_vertex_shader)
 
3104
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_shader)
2986
3105
static const char BindAttribLocationARB_names[] = 
2987
3106
    "iip\0" /* Parameter signature */
 
3107
    "glBindAttribLocation\0"
2988
3108
    "glBindAttribLocationARB\0"
2989
3109
    "";
2990
3110
#endif
3011
3131
    "";
3012
3132
#endif
3013
3133
 
3014
 
#if defined(need_GL_SGI_color_table)
3015
 
static const char GetColorTableParameterivSGI_names[] = 
3016
 
    "iip\0" /* Parameter signature */
3017
 
    "glGetColorTableParameterivSGI\0"
3018
 
    "";
3019
 
#endif
3020
 
 
3021
3134
#if defined(need_GL_SUN_triangle_list)
3022
3135
static const char ReplacementCodeuiSUN_names[] = 
3023
3136
    "i\0" /* Parameter signature */
3039
3152
    "";
3040
3153
#endif
3041
3154
 
 
3155
#if defined(need_GL_EXT_gpu_program_parameters)
 
3156
static const char ProgramLocalParameters4fvEXT_names[] = 
 
3157
    "iiip\0" /* Parameter signature */
 
3158
    "glProgramLocalParameters4fvEXT\0"
 
3159
    "";
 
3160
#endif
 
3161
 
3042
3162
#if defined(need_GL_EXT_framebuffer_object)
3043
3163
static const char GetFramebufferAttachmentParameterivEXT_names[] = 
3044
3164
    "iiip\0" /* Parameter signature */
3061
3181
    "";
3062
3182
#endif
3063
3183
 
3064
 
#if defined(need_GL_ARB_shader_objects)
3065
 
static const char ValidateProgramARB_names[] = 
3066
 
    "i\0" /* Parameter signature */
3067
 
    "glValidateProgramARB\0"
3068
 
    "";
3069
 
#endif
3070
 
 
3071
3184
#if defined(need_GL_SUN_vertex)
3072
3185
static const char TexCoord2fColor4ubVertex3fSUN_names[] = 
3073
3186
    "ffiiiifff\0" /* Parameter signature */
3075
3188
    "";
3076
3189
#endif
3077
3190
 
3078
 
#if defined(need_GL_ARB_shader_objects)
 
3191
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
3079
3192
static const char Uniform1iARB_names[] = 
3080
3193
    "ii\0" /* Parameter signature */
 
3194
    "glUniform1i\0"
3081
3195
    "glUniform1iARB\0"
3082
3196
    "";
3083
3197
#endif
3084
3198
 
3085
 
#if defined(need_GL_ARB_vertex_program)
 
3199
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
3086
3200
static const char VertexAttribPointerARB_names[] = 
3087
3201
    "iiiiip\0" /* Parameter signature */
 
3202
    "glVertexAttribPointer\0"
3088
3203
    "glVertexAttribPointerARB\0"
3089
3204
    "";
3090
3205
#endif
3104
3219
    "";
3105
3220
#endif
3106
3221
 
 
3222
#if defined(need_GL_VERSION_2_1)
 
3223
static const char UniformMatrix2x3fv_names[] = 
 
3224
    "iiip\0" /* Parameter signature */
 
3225
    "glUniformMatrix2x3fv\0"
 
3226
    "";
 
3227
#endif
 
3228
 
3107
3229
#if defined(need_GL_NV_vertex_program)
3108
3230
static const char TrackMatrixNV_names[] = 
3109
3231
    "iiii\0" /* Parameter signature */
3146
3268
    "";
3147
3269
#endif
3148
3270
 
3149
 
#if defined(need_GL_ARB_vertex_program)
 
3271
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
3150
3272
static const char VertexAttrib4NsvARB_names[] = 
3151
3273
    "ip\0" /* Parameter signature */
 
3274
    "glVertexAttrib4Nsv\0"
3152
3275
    "glVertexAttrib4NsvARB\0"
3153
3276
    "";
3154
3277
#endif
3155
3278
 
3156
 
#if defined(need_GL_ARB_vertex_program)
 
3279
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
3157
3280
static const char VertexAttrib3fvARB_names[] = 
3158
3281
    "ip\0" /* Parameter signature */
 
3282
    "glVertexAttrib3fv\0"
3159
3283
    "glVertexAttrib3fvARB\0"
3160
3284
    "";
3161
3285
#endif
3218
3342
    "";
3219
3343
#endif
3220
3344
 
3221
 
#if defined(need_GL_SUN_vertex)
3222
 
static const char TexCoord2fColor4fNormal3fVertex3fvSUN_names[] = 
3223
 
    "pppp\0" /* Parameter signature */
3224
 
    "glTexCoord2fColor4fNormal3fVertex3fvSUN\0"
 
3345
#if defined(need_GL_VERSION_2_0)
 
3346
static const char CreateShader_names[] = 
 
3347
    "i\0" /* Parameter signature */
 
3348
    "glCreateShader\0"
 
3349
    "";
 
3350
#endif
 
3351
 
 
3352
#if defined(need_GL_SGI_color_table) || defined(need_GL_EXT_paletted_texture)
 
3353
static const char GetColorTableParameterfv_names[] = 
 
3354
    "iip\0" /* Parameter signature */
 
3355
    "glGetColorTableParameterfv\0"
 
3356
    "glGetColorTableParameterfvSGI\0"
 
3357
    "glGetColorTableParameterfvEXT\0"
3225
3358
    "";
3226
3359
#endif
3227
3360
 
3275
3408
    "";
3276
3409
#endif
3277
3410
 
3278
 
#if defined(need_GL_NV_vertex_program)
3279
 
static const char VertexAttrib3sNV_names[] = 
3280
 
    "iiii\0" /* Parameter signature */
3281
 
    "glVertexAttrib3sNV\0"
 
3411
#if defined(need_GL_VERSION_2_0)
 
3412
static const char DetachShader_names[] = 
 
3413
    "ii\0" /* Parameter signature */
 
3414
    "glDetachShader\0"
3282
3415
    "";
3283
3416
#endif
3284
3417
 
3285
 
#if defined(need_GL_ARB_vertex_program)
 
3418
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
3286
3419
static const char VertexAttrib4NubARB_names[] = 
3287
3420
    "iiiii\0" /* Parameter signature */
 
3421
    "glVertexAttrib4Nub\0"
3288
3422
    "glVertexAttrib4NubARB\0"
3289
3423
    "";
3290
3424
#endif
3310
3444
    "";
3311
3445
#endif
3312
3446
 
3313
 
#if defined(need_GL_ARB_shader_objects)
 
3447
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
3314
3448
static const char Uniform4fvARB_names[] = 
3315
3449
    "iip\0" /* Parameter signature */
 
3450
    "glUniform4fv\0"
3316
3451
    "glUniform4fvARB\0"
3317
3452
    "";
3318
3453
#endif
3332
3467
    "";
3333
3468
#endif
3334
3469
 
3335
 
#if defined(need_GL_ARB_shader_objects)
 
3470
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
3336
3471
static const char GetUniformfvARB_names[] = 
3337
3472
    "iip\0" /* Parameter signature */
 
3473
    "glGetUniformfv\0"
3338
3474
    "glGetUniformfvARB\0"
3339
3475
    "";
3340
3476
#endif
3428
3564
    "";
3429
3565
#endif
3430
3566
 
 
3567
#if defined(need_GL_EXT_histogram)
 
3568
static const char GetMinmaxParameteriv_names[] = 
 
3569
    "iip\0" /* Parameter signature */
 
3570
    "glGetMinmaxParameteriv\0"
 
3571
    "glGetMinmaxParameterivEXT\0"
 
3572
    "";
 
3573
#endif
 
3574
 
3431
3575
#if defined(need_GL_EXT_copy_texture)
3432
3576
static const char CopyTexImage1D_names[] = 
3433
3577
    "iiiiiii\0" /* Parameter signature */
3471
3615
    "";
3472
3616
#endif
3473
3617
 
3474
 
#if defined(need_GL_ARB_shader_objects)
 
3618
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
3475
3619
static const char Uniform4iARB_names[] = 
3476
3620
    "iiiii\0" /* Parameter signature */
 
3621
    "glUniform4i\0"
3477
3622
    "glUniform4iARB\0"
3478
3623
    "";
3479
3624
#endif
3501
3646
    "";
3502
3647
#endif
3503
3648
 
 
3649
#if defined(need_GL_SGI_color_table) || defined(need_GL_EXT_paletted_texture)
 
3650
static const char GetColorTableParameteriv_names[] = 
 
3651
    "iip\0" /* Parameter signature */
 
3652
    "glGetColorTableParameteriv\0"
 
3653
    "glGetColorTableParameterivSGI\0"
 
3654
    "glGetColorTableParameterivEXT\0"
 
3655
    "";
 
3656
#endif
 
3657
 
 
3658
#if defined(need_GL_ARB_vertex_program)
 
3659
static const char ProgramEnvParameter4dvARB_names[] = 
 
3660
    "iip\0" /* Parameter signature */
 
3661
    "glProgramEnvParameter4dvARB\0"
 
3662
    "";
 
3663
#endif
 
3664
 
3504
3665
#if defined(need_GL_NV_vertex_program)
3505
3666
static const char VertexAttribs2fvNV_names[] = 
3506
3667
    "iip\0" /* Parameter signature */
3508
3669
    "";
3509
3670
#endif
3510
3671
 
3511
 
#if defined(need_GL_ARB_matrix_palette)
3512
 
static const char MatrixIndexPointerARB_names[] = 
3513
 
    "iiip\0" /* Parameter signature */
3514
 
    "glMatrixIndexPointerARB\0"
 
3672
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
 
3673
static const char UseProgramObjectARB_names[] = 
 
3674
    "i\0" /* Parameter signature */
 
3675
    "glUseProgram\0"
 
3676
    "glUseProgramObjectARB\0"
3515
3677
    "";
3516
3678
#endif
3517
3679
 
3529
3691
    "";
3530
3692
#endif
3531
3693
 
3532
 
#if defined(need_GL_NV_vertex_program)
3533
 
static const char VertexAttrib1fvNV_names[] = 
3534
 
    "ip\0" /* Parameter signature */
3535
 
    "glVertexAttrib1fvNV\0"
 
3694
#if defined(need_GL_VERSION_2_0)
 
3695
static const char DeleteProgram_names[] = 
 
3696
    "i\0" /* Parameter signature */
 
3697
    "glDeleteProgram\0"
3536
3698
    "";
3537
3699
#endif
3538
3700
 
3581
3743
    "";
3582
3744
#endif
3583
3745
 
3584
 
#if defined(need_GL_SGI_color_table)
3585
 
static const char GetColorTableSGI_names[] = 
3586
 
    "iiip\0" /* Parameter signature */
3587
 
    "glGetColorTableSGI\0"
3588
 
    "";
3589
 
#endif
3590
 
 
3591
3746
#if defined(need_GL_VERSION_1_4) || defined(need_GL_EXT_secondary_color)
3592
3747
static const char SecondaryColor3usEXT_names[] = 
3593
3748
    "iii\0" /* Parameter signature */
3642
3797
    "";
3643
3798
#endif
3644
3799
 
3645
 
#if defined(need_GL_ARB_shader_objects)
 
3800
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
3646
3801
static const char Uniform2iARB_names[] = 
3647
3802
    "iii\0" /* Parameter signature */
 
3803
    "glUniform2i\0"
3648
3804
    "glUniform2iARB\0"
3649
3805
    "";
3650
3806
#endif
3651
3807
 
3652
 
#if defined(need_GL_EXT_convolution)
3653
 
static const char GetConvolutionParameterivEXT_names[] = 
3654
 
    "iip\0" /* Parameter signature */
3655
 
    "glGetConvolutionParameterivEXT\0"
3656
 
    "";
3657
 
#endif
3658
 
 
3659
3808
#if defined(need_GL_NV_vertex_program)
3660
3809
static const char GetProgramStringNV_names[] = 
3661
3810
    "iip\0" /* Parameter signature */
3714
3863
    "";
3715
3864
#endif
3716
3865
 
3717
 
#if defined(need_GL_EXT_texture_object)
3718
 
static const char GenTexturesEXT_names[] = 
3719
 
    "ip\0" /* Parameter signature */
3720
 
    "glGenTexturesEXT\0"
3721
 
    "";
3722
 
#endif
3723
 
 
3724
3866
#if defined(need_GL_SGIX_sprite)
3725
3867
static const char SpriteParameterfSGIX_names[] = 
3726
3868
    "if\0" /* Parameter signature */
3728
3870
    "";
3729
3871
#endif
3730
3872
 
3731
 
#if defined(need_GL_EXT_histogram)
3732
 
static const char GetMinmaxParameterivEXT_names[] = 
 
3873
#if defined(need_GL_NV_vertex_program)
 
3874
static const char VertexAttrib4sNV_names[] = 
 
3875
    "iiiii\0" /* Parameter signature */
 
3876
    "glVertexAttrib4sNV\0"
 
3877
    "";
 
3878
#endif
 
3879
 
 
3880
#if defined(need_GL_EXT_convolution)
 
3881
static const char GetConvolutionParameterfv_names[] = 
3733
3882
    "iip\0" /* Parameter signature */
3734
 
    "glGetMinmaxParameterivEXT\0"
 
3883
    "glGetConvolutionParameterfv\0"
 
3884
    "glGetConvolutionParameterfvEXT\0"
3735
3885
    "";
3736
3886
#endif
3737
3887
 
3742
3892
    "";
3743
3893
#endif
3744
3894
 
3745
 
#if defined(need_GL_ARB_vertex_program)
 
3895
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
3746
3896
static const char VertexAttrib4dARB_names[] = 
3747
3897
    "idddd\0" /* Parameter signature */
 
3898
    "glVertexAttrib4d\0"
3748
3899
    "glVertexAttrib4dARB\0"
3749
3900
    "";
3750
3901
#endif
3838
3989
    "";
3839
3990
#endif
3840
3991
 
 
3992
#if defined(need_GL_EXT_histogram)
 
3993
static const char GetHistogramParameteriv_names[] = 
 
3994
    "iip\0" /* Parameter signature */
 
3995
    "glGetHistogramParameteriv\0"
 
3996
    "glGetHistogramParameterivEXT\0"
 
3997
    "";
 
3998
#endif
 
3999
 
3841
4000
#if defined(need_GL_VERSION_1_3)
3842
4001
static const char MultiTexCoord1iARB_names[] = 
3843
4002
    "ii\0" /* Parameter signature */
3846
4005
    "";
3847
4006
#endif
3848
4007
 
 
4008
#if defined(need_GL_EXT_convolution)
 
4009
static const char GetConvolutionFilter_names[] = 
 
4010
    "iiip\0" /* Parameter signature */
 
4011
    "glGetConvolutionFilter\0"
 
4012
    "glGetConvolutionFilterEXT\0"
 
4013
    "";
 
4014
#endif
 
4015
 
3849
4016
#if defined(need_GL_ARB_vertex_program)
3850
4017
static const char GetProgramivARB_names[] = 
3851
4018
    "iip\0" /* Parameter signature */
3890
4057
    "";
3891
4058
#endif
3892
4059
 
3893
 
#if defined(need_GL_EXT_texture_object)
3894
 
static const char AreTexturesResidentEXT_names[] = 
3895
 
    "ipp\0" /* Parameter signature */
3896
 
    "glAreTexturesResidentEXT\0"
 
4060
#if defined(need_GL_NV_fence)
 
4061
static const char FinishFenceNV_names[] = 
 
4062
    "i\0" /* Parameter signature */
 
4063
    "glFinishFenceNV\0"
3897
4064
    "";
3898
4065
#endif
3899
4066
 
3904
4071
    "";
3905
4072
#endif
3906
4073
 
3907
 
#if defined(need_GL_ARB_shader_objects)
 
4074
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
3908
4075
static const char GetUniformLocationARB_names[] = 
3909
4076
    "ip\0" /* Parameter signature */
 
4077
    "glGetUniformLocation\0"
3910
4078
    "glGetUniformLocationARB\0"
3911
4079
    "";
3912
4080
#endif
3926
4094
    "";
3927
4095
#endif
3928
4096
 
3929
 
#if defined(need_GL_ARB_vertex_program)
 
4097
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
3930
4098
static const char VertexAttrib3sARB_names[] = 
3931
4099
    "iiii\0" /* Parameter signature */
 
4100
    "glVertexAttrib3s\0"
3932
4101
    "glVertexAttrib3sARB\0"
3933
4102
    "";
3934
4103
#endif
3935
4104
 
 
4105
#if defined(need_GL_SUN_vertex)
 
4106
static const char ReplacementCodeuiNormal3fVertex3fvSUN_names[] = 
 
4107
    "ppp\0" /* Parameter signature */
 
4108
    "glReplacementCodeuiNormal3fVertex3fvSUN\0"
 
4109
    "";
 
4110
#endif
 
4111
 
3936
4112
#if defined(need_GL_ARB_vertex_program)
3937
4113
static const char ProgramStringARB_names[] = 
3938
4114
    "iiip\0" /* Parameter signature */
3948
4124
#endif
3949
4125
 
3950
4126
#if defined(need_GL_NV_vertex_program)
 
4127
static const char VertexAttrib3sNV_names[] = 
 
4128
    "iiii\0" /* Parameter signature */
 
4129
    "glVertexAttrib3sNV\0"
 
4130
    "";
 
4131
#endif
 
4132
 
 
4133
#if defined(need_GL_NV_vertex_program)
3951
4134
static const char VertexAttrib1fNV_names[] = 
3952
4135
    "if\0" /* Parameter signature */
3953
4136
    "glVertexAttrib1fNV\0"
3976
4159
    "";
3977
4160
#endif
3978
4161
 
 
4162
#if defined(need_GL_EXT_histogram)
 
4163
static const char GetHistogram_names[] = 
 
4164
    "iiiip\0" /* Parameter signature */
 
4165
    "glGetHistogram\0"
 
4166
    "glGetHistogramEXT\0"
 
4167
    "";
 
4168
#endif
 
4169
 
3979
4170
#if defined(need_GL_EXT_stencil_two_side)
3980
4171
static const char ActiveStencilFaceEXT_names[] = 
3981
4172
    "i\0" /* Parameter signature */
3983
4174
    "";
3984
4175
#endif
3985
4176
 
3986
 
#if defined(need_GL_EXT_paletted_texture)
3987
 
static const char GetColorTableParameterfvEXT_names[] = 
3988
 
    "iip\0" /* Parameter signature */
3989
 
    "glGetColorTableParameterfvEXT\0"
3990
 
    "";
3991
 
#endif
3992
 
 
3993
 
#if defined(need_GL_ARB_shader_objects)
 
4177
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
3994
4178
static const char GetShaderSourceARB_names[] = 
3995
4179
    "iipp\0" /* Parameter signature */
 
4180
    "glGetShaderSource\0"
3996
4181
    "glGetShaderSourceARB\0"
3997
4182
    "";
3998
4183
#endif
4062
4247
    "";
4063
4248
#endif
4064
4249
 
4065
 
#if defined(need_GL_ARB_shader_objects)
4066
 
static const char Uniform1fARB_names[] = 
4067
 
    "if\0" /* Parameter signature */
4068
 
    "glUniform1fARB\0"
 
4250
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_draw_buffers) || defined(need_GL_ATI_draw_buffers)
 
4251
static const char DrawBuffersARB_names[] = 
 
4252
    "ip\0" /* Parameter signature */
 
4253
    "glDrawBuffers\0"
 
4254
    "glDrawBuffersARB\0"
 
4255
    "glDrawBuffersATI\0"
4069
4256
    "";
4070
4257
#endif
4071
4258
 
4105
4292
    "";
4106
4293
#endif
4107
4294
 
4108
 
#if defined(need_GL_ARB_shader_objects)
 
4295
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
4109
4296
static const char Uniform1fvARB_names[] = 
4110
4297
    "iip\0" /* Parameter signature */
 
4298
    "glUniform1fv\0"
4111
4299
    "glUniform1fvARB\0"
4112
4300
    "";
4113
4301
#endif
4150
4338
    "";
4151
4339
#endif
4152
4340
 
4153
 
#if defined(need_GL_ARB_vertex_program)
 
4341
#if defined(need_GL_SUN_triangle_list)
 
4342
static const char ReplacementCodeuivSUN_names[] = 
 
4343
    "p\0" /* Parameter signature */
 
4344
    "glReplacementCodeuivSUN\0"
 
4345
    "";
 
4346
#endif
 
4347
 
 
4348
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
4154
4349
static const char EnableVertexAttribArrayARB_names[] = 
4155
4350
    "i\0" /* Parameter signature */
 
4351
    "glEnableVertexAttribArray\0"
4156
4352
    "glEnableVertexAttribArrayARB\0"
4157
4353
    "";
4158
4354
#endif
4181
4377
    "";
4182
4378
#endif
4183
4379
 
4184
 
#if defined(need_GL_NV_fence)
4185
 
static const char FinishFenceNV_names[] = 
4186
 
    "i\0" /* Parameter signature */
4187
 
    "glFinishFenceNV\0"
4188
 
    "";
4189
 
#endif
4190
 
 
4191
4380
#if defined(need_GL_VERSION_1_5) || defined(need_GL_ARB_vertex_buffer_object)
4192
4381
static const char IsBufferARB_names[] = 
4193
4382
    "i\0" /* Parameter signature */
4217
4406
    "";
4218
4407
#endif
4219
4408
 
4220
 
#if defined(need_GL_SGIX_reference_plane)
4221
 
static const char ReferencePlaneSGIX_names[] = 
4222
 
    "p\0" /* Parameter signature */
4223
 
    "glReferencePlaneSGIX\0"
 
4409
#if defined(need_GL_VERSION_2_1)
 
4410
static const char UniformMatrix3x4fv_names[] = 
 
4411
    "iiip\0" /* Parameter signature */
 
4412
    "glUniformMatrix3x4fv\0"
4224
4413
    "";
4225
4414
#endif
4226
4415
 
4231
4420
    "";
4232
4421
#endif
4233
4422
 
4234
 
#if defined(need_GL_EXT_texture_object)
4235
 
static const char IsTextureEXT_names[] = 
4236
 
    "i\0" /* Parameter signature */
4237
 
    "glIsTextureEXT\0"
4238
 
    "";
4239
 
#endif
4240
 
 
4241
4423
#if defined(need_GL_INTEL_parallel_arrays)
4242
4424
static const char TexCoordPointervINTEL_names[] = 
4243
4425
    "iip\0" /* Parameter signature */
4313
4495
    "";
4314
4496
#endif
4315
4497
 
4316
 
#if defined(need_GL_ARB_vertex_program)
 
4498
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
4317
4499
static const char VertexAttrib4svARB_names[] = 
4318
4500
    "ip\0" /* Parameter signature */
 
4501
    "glVertexAttrib4sv\0"
4319
4502
    "glVertexAttrib4svARB\0"
4320
4503
    "";
4321
4504
#endif
4327
4510
    "";
4328
4511
#endif
4329
4512
 
4330
 
#if defined(need_GL_ARB_shader_objects)
4331
 
static const char Uniform3fARB_names[] = 
4332
 
    "ifff\0" /* Parameter signature */
4333
 
    "glUniform3fARB\0"
 
4513
#if defined(need_GL_VERSION_2_0)
 
4514
static const char GetShaderiv_names[] = 
 
4515
    "iip\0" /* Parameter signature */
 
4516
    "glGetShaderiv\0"
4334
4517
    "";
4335
4518
#endif
4336
4519
 
4386
4569
    "";
4387
4570
#endif
4388
4571
 
4389
 
#if defined(need_GL_ARB_vertex_program)
 
4572
#if defined(need_GL_ATI_fragment_shader)
 
4573
static const char ColorFragmentOp3ATI_names[] = 
 
4574
    "iiiiiiiiiiiii\0" /* Parameter signature */
 
4575
    "glColorFragmentOp3ATI\0"
 
4576
    "";
 
4577
#endif
 
4578
 
 
4579
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
4390
4580
static const char VertexAttrib2svARB_names[] = 
4391
4581
    "ip\0" /* Parameter signature */
 
4582
    "glVertexAttrib2sv\0"
4392
4583
    "glVertexAttrib2svARB\0"
4393
4584
    "";
4394
4585
#endif
4431
4622
    "";
4432
4623
#endif
4433
4624
 
4434
 
#if defined(need_GL_ARB_vertex_program)
 
4625
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
4435
4626
static const char VertexAttrib4NubvARB_names[] = 
4436
4627
    "ip\0" /* Parameter signature */
 
4628
    "glVertexAttrib4Nubv\0"
4437
4629
    "glVertexAttrib4NubvARB\0"
4438
4630
    "";
4439
4631
#endif
4538
4730
    "";
4539
4731
#endif
4540
4732
 
4541
 
#if defined(need_GL_ARB_vertex_program)
 
4733
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
4542
4734
static const char VertexAttrib2sARB_names[] = 
4543
4735
    "iii\0" /* Parameter signature */
 
4736
    "glVertexAttrib2s\0"
4544
4737
    "glVertexAttrib2sARB\0"
4545
4738
    "";
4546
4739
#endif
4588
4781
    "";
4589
4782
#endif
4590
4783
 
4591
 
#if defined(need_GL_ARB_vertex_program)
 
4784
#if defined(need_GL_VERSION_2_1)
 
4785
static const char UniformMatrix3x2fv_names[] = 
 
4786
    "iiip\0" /* Parameter signature */
 
4787
    "glUniformMatrix3x2fv\0"
 
4788
    "";
 
4789
#endif
 
4790
 
 
4791
#if defined(need_GL_EXT_histogram)
 
4792
static const char GetMinmaxParameterfv_names[] = 
 
4793
    "iip\0" /* Parameter signature */
 
4794
    "glGetMinmaxParameterfv\0"
 
4795
    "glGetMinmaxParameterfvEXT\0"
 
4796
    "";
 
4797
#endif
 
4798
 
 
4799
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)
4592
4800
static const char VertexAttrib1fvARB_names[] = 
4593
4801
    "ip\0" /* Parameter signature */
 
4802
    "glVertexAttrib1fv\0"
4594
4803
    "glVertexAttrib1fvARB\0"
4595
4804
    "";
4596
4805
#endif
4697
4906
static const struct dri_extension_function GL_ARB_matrix_palette_functions[] = {
4698
4907
    { MatrixIndexusvARB_names, MatrixIndexusvARB_remap_index, -1 },
4699
4908
    { MatrixIndexuivARB_names, MatrixIndexuivARB_remap_index, -1 },
 
4909
    { MatrixIndexPointerARB_names, MatrixIndexPointerARB_remap_index, -1 },
4700
4910
    { CurrentPaletteMatrixARB_names, CurrentPaletteMatrixARB_remap_index, -1 },
4701
4911
    { MatrixIndexubvARB_names, MatrixIndexubvARB_remap_index, -1 },
4702
 
    { MatrixIndexPointerARB_names, MatrixIndexPointerARB_remap_index, -1 },
4703
4912
    { NULL, 0, 0 }
4704
4913
};
4705
4914
#endif
4742
4951
    { CreateProgramObjectARB_names, CreateProgramObjectARB_remap_index, -1 },
4743
4952
    { Uniform3iARB_names, Uniform3iARB_remap_index, -1 },
4744
4953
    { CreateShaderObjectARB_names, CreateShaderObjectARB_remap_index, -1 },
 
4954
    { Uniform1fARB_names, Uniform1fARB_remap_index, -1 },
4745
4955
    { AttachObjectARB_names, AttachObjectARB_remap_index, -1 },
4746
4956
    { UniformMatrix2fvARB_names, UniformMatrix2fvARB_remap_index, -1 },
4747
4957
    { GetAttachedObjectsARB_names, GetAttachedObjectsARB_remap_index, -1 },
4751
4961
    { GetUniformivARB_names, GetUniformivARB_remap_index, -1 },
4752
4962
    { Uniform2fvARB_names, Uniform2fvARB_remap_index, -1 },
4753
4963
    { DeleteObjectARB_names, DeleteObjectARB_remap_index, -1 },
4754
 
    { UseProgramObjectARB_names, UseProgramObjectARB_remap_index, -1 },
 
4964
    { ValidateProgramARB_names, ValidateProgramARB_remap_index, -1 },
4755
4965
    { Uniform3ivARB_names, Uniform3ivARB_remap_index, -1 },
4756
4966
    { CompileShaderARB_names, CompileShaderARB_remap_index, -1 },
 
4967
    { Uniform3fARB_names, Uniform3fARB_remap_index, -1 },
4757
4968
    { Uniform4fARB_names, Uniform4fARB_remap_index, -1 },
4758
4969
    { LinkProgramARB_names, LinkProgramARB_remap_index, -1 },
4759
4970
    { ShaderSourceARB_names, ShaderSourceARB_remap_index, -1 },
4760
4971
    { Uniform4ivARB_names, Uniform4ivARB_remap_index, -1 },
4761
4972
    { Uniform1ivARB_names, Uniform1ivARB_remap_index, -1 },
4762
 
    { ValidateProgramARB_names, ValidateProgramARB_remap_index, -1 },
4763
4973
    { Uniform1iARB_names, Uniform1iARB_remap_index, -1 },
4764
4974
    { Uniform4fvARB_names, Uniform4fvARB_remap_index, -1 },
4765
4975
    { GetUniformfvARB_names, GetUniformfvARB_remap_index, -1 },
4766
4976
    { DetachObjectARB_names, DetachObjectARB_remap_index, -1 },
4767
4977
    { Uniform4iARB_names, Uniform4iARB_remap_index, -1 },
 
4978
    { UseProgramObjectARB_names, UseProgramObjectARB_remap_index, -1 },
4768
4979
    { Uniform2iARB_names, Uniform2iARB_remap_index, -1 },
4769
4980
    { GetObjectParameterivARB_names, GetObjectParameterivARB_remap_index, -1 },
4770
4981
    { GetUniformLocationARB_names, GetUniformLocationARB_remap_index, -1 },
4771
4982
    { GetShaderSourceARB_names, GetShaderSourceARB_remap_index, -1 },
4772
 
    { Uniform1fARB_names, Uniform1fARB_remap_index, -1 },
4773
4983
    { Uniform1fvARB_names, Uniform1fvARB_remap_index, -1 },
4774
 
    { Uniform3fARB_names, Uniform3fARB_remap_index, -1 },
4775
4984
    { GetObjectParameterfvARB_names, GetObjectParameterfvARB_remap_index, -1 },
4776
4985
    { GetInfoLogARB_names, GetInfoLogARB_remap_index, -1 },
4777
4986
    { NULL, 0, 0 }
4836
5045
 
4837
5046
#if defined(need_GL_ARB_vertex_program)
4838
5047
static const struct dri_extension_function GL_ARB_vertex_program_functions[] = {
4839
 
    { ProgramEnvParameter4dvARB_names, ProgramEnvParameter4dvARB_remap_index, -1 },
4840
5048
    { VertexAttrib2fARB_names, VertexAttrib2fARB_remap_index, -1 },
4841
5049
    { VertexAttrib3fARB_names, VertexAttrib3fARB_remap_index, -1 },
4842
5050
    { VertexAttrib1svARB_names, VertexAttrib1svARB_remap_index, -1 },
4856
5064
    { VertexAttrib4fARB_names, VertexAttrib4fARB_remap_index, -1 },
4857
5065
    { VertexAttrib4fvARB_names, VertexAttrib4fvARB_remap_index, -1 },
4858
5066
    { ProgramLocalParameter4dvARB_names, ProgramLocalParameter4dvARB_remap_index, -1 },
4859
 
    { VertexAttrib4usvARB_names, VertexAttrib4usvARB_remap_index, -1 },
4860
5067
    { VertexAttrib2dARB_names, VertexAttrib2dARB_remap_index, -1 },
4861
5068
    { VertexAttrib1dvARB_names, VertexAttrib1dvARB_remap_index, -1 },
4862
5069
    { GetVertexAttribfvARB_names, GetVertexAttribfvARB_remap_index, -1 },
4871
5078
    { IsProgramNV_names, IsProgramNV_remap_index, -1 },
4872
5079
    { ProgramEnvParameter4dARB_names, ProgramEnvParameter4dARB_remap_index, -1 },
4873
5080
    { VertexAttrib1dARB_names, VertexAttrib1dARB_remap_index, -1 },
 
5081
    { VertexAttrib4usvARB_names, VertexAttrib4usvARB_remap_index, -1 },
4874
5082
    { VertexAttrib3svARB_names, VertexAttrib3svARB_remap_index, -1 },
4875
5083
    { GetVertexAttribdvARB_names, GetVertexAttribdvARB_remap_index, -1 },
4876
5084
    { VertexAttrib4dvARB_names, VertexAttrib4dvARB_remap_index, -1 },
4879
5087
    { VertexAttrib3fvARB_names, VertexAttrib3fvARB_remap_index, -1 },
4880
5088
    { VertexAttrib4NubARB_names, VertexAttrib4NubARB_remap_index, -1 },
4881
5089
    { GetProgramEnvParameterfvARB_names, GetProgramEnvParameterfvARB_remap_index, -1 },
 
5090
    { ProgramEnvParameter4dvARB_names, ProgramEnvParameter4dvARB_remap_index, -1 },
4882
5091
    { ProgramLocalParameter4fvARB_names, ProgramLocalParameter4fvARB_remap_index, -1 },
4883
5092
    { DeleteProgramsNV_names, DeleteProgramsNV_remap_index, -1 },
4884
5093
    { GetVertexAttribPointervNV_names, GetVertexAttribPointervNV_remap_index, -1 },
4949
5158
 
4950
5159
#if defined(need_GL_ATI_fragment_shader)
4951
5160
static const struct dri_extension_function GL_ATI_fragment_shader_functions[] = {
4952
 
    { ColorFragmentOp3ATI_names, ColorFragmentOp3ATI_remap_index, -1 },
4953
5161
    { ColorFragmentOp2ATI_names, ColorFragmentOp2ATI_remap_index, -1 },
4954
5162
    { DeleteFragmentShaderATI_names, DeleteFragmentShaderATI_remap_index, -1 },
4955
5163
    { SetFragmentShaderConstantATI_names, SetFragmentShaderConstantATI_remap_index, -1 },
4961
5169
    { PassTexCoordATI_names, PassTexCoordATI_remap_index, -1 },
4962
5170
    { BeginFragmentShaderATI_names, BeginFragmentShaderATI_remap_index, -1 },
4963
5171
    { BindFragmentShaderATI_names, BindFragmentShaderATI_remap_index, -1 },
 
5172
    { ColorFragmentOp3ATI_names, ColorFragmentOp3ATI_remap_index, -1 },
4964
5173
    { GenFragmentShadersATI_names, GenFragmentShadersATI_remap_index, -1 },
4965
5174
    { EndFragmentShaderATI_names, EndFragmentShaderATI_remap_index, -1 },
4966
5175
    { NULL, 0, 0 }
5015
5224
static const struct dri_extension_function GL_EXT_convolution_functions[] = {
5016
5225
    { ConvolutionFilter1D_names, -1, 348 },
5017
5226
    { CopyConvolutionFilter1D_names, -1, 354 },
 
5227
    { GetConvolutionParameteriv_names, -1, 358 },
5018
5228
    { ConvolutionFilter2D_names, -1, 349 },
5019
5229
    { ConvolutionParameteriv_names, -1, 353 },
5020
5230
    { ConvolutionParameterfv_names, -1, 351 },
5021
 
    { GetSeparableFilterEXT_names, GetSeparableFilterEXT_remap_index, -1 },
5022
 
    { GetConvolutionFilterEXT_names, GetConvolutionFilterEXT_remap_index, -1 },
5023
 
    { GetConvolutionParameterfvEXT_names, GetConvolutionParameterfvEXT_remap_index, -1 },
 
5231
    { GetSeparableFilter_names, -1, 359 },
5024
5232
    { SeparableFilter2D_names, -1, 360 },
5025
5233
    { ConvolutionParameteri_names, -1, 352 },
5026
5234
    { ConvolutionParameterf_names, -1, 350 },
5027
 
    { GetConvolutionParameterivEXT_names, GetConvolutionParameterivEXT_remap_index, -1 },
 
5235
    { GetConvolutionParameterfv_names, -1, 357 },
 
5236
    { GetConvolutionFilter_names, -1, 356 },
5028
5237
    { CopyConvolutionFilter2D_names, -1, 355 },
5029
5238
    { NULL, 0, 0 }
5030
5239
};
5032
5241
 
5033
5242
#if defined(need_GL_EXT_coordinate_frame)
5034
5243
static const struct dri_extension_function GL_EXT_coordinate_frame_functions[] = {
5035
 
    { Binormal3fEXT_names, Binormal3fEXT_remap_index, -1 },
5036
5244
    { TangentPointerEXT_names, TangentPointerEXT_remap_index, -1 },
5037
5245
    { Binormal3ivEXT_names, Binormal3ivEXT_remap_index, -1 },
5038
5246
    { Tangent3sEXT_names, Tangent3sEXT_remap_index, -1 },
5039
5247
    { Tangent3fvEXT_names, Tangent3fvEXT_remap_index, -1 },
 
5248
    { Binormal3fEXT_names, Binormal3fEXT_remap_index, -1 },
5040
5249
    { Tangent3dvEXT_names, Tangent3dvEXT_remap_index, -1 },
5041
5250
    { Binormal3bvEXT_names, Binormal3bvEXT_remap_index, -1 },
5042
5251
    { Binormal3dEXT_names, Binormal3dEXT_remap_index, -1 },
5134
5343
 
5135
5344
#if defined(need_GL_EXT_gpu_program_parameters)
5136
5345
static const struct dri_extension_function GL_EXT_gpu_program_parameters_functions[] = {
 
5346
    { ProgramEnvParameters4fvEXT_names, ProgramEnvParameters4fvEXT_remap_index, -1 },
5137
5347
    { ProgramLocalParameters4fvEXT_names, ProgramLocalParameters4fvEXT_remap_index, -1 },
5138
 
    { ProgramEnvParameters4fvEXT_names, ProgramEnvParameters4fvEXT_remap_index, -1 },
5139
5348
    { NULL, 0, 0 }
5140
5349
};
5141
5350
#endif
5143
5352
#if defined(need_GL_EXT_histogram)
5144
5353
static const struct dri_extension_function GL_EXT_histogram_functions[] = {
5145
5354
    { Histogram_names, -1, 367 },
5146
 
    { GetHistogramParameterivEXT_names, GetHistogramParameterivEXT_remap_index, -1 },
5147
5355
    { ResetHistogram_names, -1, 369 },
5148
 
    { GetMinmaxEXT_names, GetMinmaxEXT_remap_index, -1 },
5149
 
    { GetHistogramParameterfvEXT_names, GetHistogramParameterfvEXT_remap_index, -1 },
5150
 
    { GetHistogramEXT_names, GetHistogramEXT_remap_index, -1 },
5151
 
    { GetMinmaxParameterfvEXT_names, GetMinmaxParameterfvEXT_remap_index, -1 },
 
5356
    { GetMinmax_names, -1, 364 },
 
5357
    { GetHistogramParameterfv_names, -1, 362 },
 
5358
    { GetMinmaxParameteriv_names, -1, 366 },
5152
5359
    { ResetMinmax_names, -1, 370 },
5153
 
    { GetMinmaxParameterivEXT_names, GetMinmaxParameterivEXT_remap_index, -1 },
 
5360
    { GetHistogramParameteriv_names, -1, 363 },
 
5361
    { GetHistogram_names, -1, 361 },
5154
5362
    { Minmax_names, -1, 368 },
 
5363
    { GetMinmaxParameterfv_names, -1, 365 },
5155
5364
    { NULL, 0, 0 }
5156
5365
};
5157
5366
#endif
5197
5406
 
5198
5407
#if defined(need_GL_EXT_paletted_texture)
5199
5408
static const struct dri_extension_function GL_EXT_paletted_texture_functions[] = {
5200
 
    { GetColorTableParameterivEXT_names, GetColorTableParameterivEXT_remap_index, -1 },
5201
 
    { GetColorTableEXT_names, GetColorTableEXT_remap_index, -1 },
5202
5409
    { ColorTable_names, -1, 339 },
5203
 
    { GetColorTableParameterfvEXT_names, GetColorTableParameterfvEXT_remap_index, -1 },
 
5410
    { GetColorTable_names, -1, 343 },
 
5411
    { GetColorTableParameterfv_names, -1, 344 },
 
5412
    { GetColorTableParameteriv_names, -1, 345 },
5204
5413
    { NULL, 0, 0 }
5205
5414
};
5206
5415
#endif
5279
5488
#if defined(need_GL_EXT_texture_object)
5280
5489
static const struct dri_extension_function GL_EXT_texture_object_functions[] = {
5281
5490
    { PrioritizeTextures_names, -1, 331 },
 
5491
    { AreTexturesResident_names, -1, 322 },
 
5492
    { GenTextures_names, -1, 328 },
5282
5493
    { DeleteTextures_names, -1, 327 },
5283
 
    { GenTexturesEXT_names, GenTexturesEXT_remap_index, -1 },
5284
 
    { AreTexturesResidentEXT_names, AreTexturesResidentEXT_remap_index, -1 },
 
5494
    { IsTexture_names, -1, 330 },
5285
5495
    { BindTexture_names, -1, 307 },
5286
 
    { IsTextureEXT_names, IsTextureEXT_remap_index, -1 },
5287
5496
    { NULL, 0, 0 }
5288
5497
};
5289
5498
#endif
5475
5684
 
5476
5685
#if defined(need_GL_NV_register_combiners)
5477
5686
static const struct dri_extension_function GL_NV_register_combiners_functions[] = {
 
5687
    { CombinerOutputNV_names, CombinerOutputNV_remap_index, -1 },
5478
5688
    { CombinerParameterfvNV_names, CombinerParameterfvNV_remap_index, -1 },
5479
5689
    { GetCombinerOutputParameterfvNV_names, GetCombinerOutputParameterfvNV_remap_index, -1 },
5480
5690
    { FinalCombinerInputNV_names, FinalCombinerInputNV_remap_index, -1 },
5481
5691
    { GetCombinerInputParameterfvNV_names, GetCombinerInputParameterfvNV_remap_index, -1 },
5482
5692
    { GetCombinerOutputParameterivNV_names, GetCombinerOutputParameterivNV_remap_index, -1 },
5483
 
    { CombinerOutputNV_names, CombinerOutputNV_remap_index, -1 },
5484
5693
    { CombinerParameteriNV_names, CombinerParameteriNV_remap_index, -1 },
5485
5694
    { GetFinalCombinerInputParameterivNV_names, GetFinalCombinerInputParameterivNV_remap_index, -1 },
5486
5695
    { CombinerInputNV_names, CombinerInputNV_remap_index, -1 },
5514
5723
    { VertexAttrib4ubvNV_names, VertexAttrib4ubvNV_remap_index, -1 },
5515
5724
    { VertexAttrib4svNV_names, VertexAttrib4svNV_remap_index, -1 },
5516
5725
    { VertexAttribs1dvNV_names, VertexAttribs1dvNV_remap_index, -1 },
 
5726
    { VertexAttrib1fvNV_names, VertexAttrib1fvNV_remap_index, -1 },
5517
5727
    { ProgramParameter4dvNV_names, ProgramParameter4dvNV_remap_index, -1 },
5518
5728
    { VertexAttrib4fNV_names, VertexAttrib4fNV_remap_index, -1 },
5519
5729
    { VertexAttrib2dNV_names, VertexAttrib2dNV_remap_index, -1 },
5540
5750
    { VertexAttrib2svNV_names, VertexAttrib2svNV_remap_index, -1 },
5541
5751
    { VertexAttribs1fvNV_names, VertexAttribs1fvNV_remap_index, -1 },
5542
5752
    { IsProgramNV_names, IsProgramNV_remap_index, -1 },
5543
 
    { VertexAttrib4sNV_names, VertexAttrib4sNV_remap_index, -1 },
5544
5753
    { VertexAttrib2fNV_names, VertexAttrib2fNV_remap_index, -1 },
5545
5754
    { RequestResidentProgramsNV_names, RequestResidentProgramsNV_remap_index, -1 },
5546
5755
    { ExecuteProgramNV_names, ExecuteProgramNV_remap_index, -1 },
5547
5756
    { VertexAttribPointerNV_names, VertexAttribPointerNV_remap_index, -1 },
5548
5757
    { TrackMatrixNV_names, TrackMatrixNV_remap_index, -1 },
5549
5758
    { GetProgramParameterdvNV_names, GetProgramParameterdvNV_remap_index, -1 },
5550
 
    { VertexAttrib3sNV_names, VertexAttrib3sNV_remap_index, -1 },
5551
5759
    { GetTrackMatrixivNV_names, GetTrackMatrixivNV_remap_index, -1 },
5552
5760
    { VertexAttrib3svNV_names, VertexAttrib3svNV_remap_index, -1 },
5553
5761
    { ProgramParameters4fvNV_names, ProgramParameters4fvNV_remap_index, -1 },
5555
5763
    { GetVertexAttribdvNV_names, GetVertexAttribdvNV_remap_index, -1 },
5556
5764
    { VertexAttrib3fvNV_names, VertexAttrib3fvNV_remap_index, -1 },
5557
5765
    { VertexAttribs2fvNV_names, VertexAttribs2fvNV_remap_index, -1 },
5558
 
    { VertexAttrib1fvNV_names, VertexAttrib1fvNV_remap_index, -1 },
5559
5766
    { DeleteProgramsNV_names, DeleteProgramsNV_remap_index, -1 },
5560
5767
    { GetVertexAttribPointervNV_names, GetVertexAttribPointervNV_remap_index, -1 },
5561
5768
    { GetProgramStringNV_names, GetProgramStringNV_remap_index, -1 },
 
5769
    { VertexAttrib4sNV_names, VertexAttrib4sNV_remap_index, -1 },
5562
5770
    { VertexAttribs4dvNV_names, VertexAttribs4dvNV_remap_index, -1 },
5563
5771
    { ProgramParameters4dvNV_names, ProgramParameters4dvNV_remap_index, -1 },
 
5772
    { VertexAttrib3sNV_names, VertexAttrib3sNV_remap_index, -1 },
5564
5773
    { VertexAttrib1fNV_names, VertexAttrib1fNV_remap_index, -1 },
5565
5774
    { VertexAttrib4dNV_names, VertexAttrib4dNV_remap_index, -1 },
5566
5775
    { VertexAttribs4ubvNV_names, VertexAttribs4ubvNV_remap_index, -1 },
5784
5993
 
5785
5994
#if defined(need_GL_SGI_color_table)
5786
5995
static const struct dri_extension_function GL_SGI_color_table_functions[] = {
5787
 
    { GetColorTableParameterfvSGI_names, GetColorTableParameterfvSGI_remap_index, -1 },
5788
5996
    { ColorTableParameteriv_names, -1, 341 },
5789
5997
    { ColorTable_names, -1, 339 },
 
5998
    { GetColorTable_names, -1, 343 },
5790
5999
    { CopyColorTable_names, -1, 342 },
5791
6000
    { ColorTableParameterfv_names, -1, 340 },
5792
 
    { GetColorTableParameterivSGI_names, GetColorTableParameterivSGI_remap_index, -1 },
5793
 
    { GetColorTableSGI_names, GetColorTableSGI_remap_index, -1 },
 
6001
    { GetColorTableParameterfv_names, -1, 344 },
 
6002
    { GetColorTableParameteriv_names, -1, 345 },
5794
6003
    { NULL, 0, 0 }
5795
6004
};
5796
6005
#endif
5827
6036
static const struct dri_extension_function GL_SUN_triangle_list_functions[] = {
5828
6037
    { ReplacementCodeubSUN_names, ReplacementCodeubSUN_remap_index, -1 },
5829
6038
    { ReplacementCodeubvSUN_names, ReplacementCodeubvSUN_remap_index, -1 },
5830
 
    { ReplacementCodeuivSUN_names, ReplacementCodeuivSUN_remap_index, -1 },
5831
6039
    { ReplacementCodeusvSUN_names, ReplacementCodeusvSUN_remap_index, -1 },
5832
6040
    { ReplacementCodePointerSUN_names, ReplacementCodePointerSUN_remap_index, -1 },
5833
6041
    { ReplacementCodeusSUN_names, ReplacementCodeusSUN_remap_index, -1 },
5834
6042
    { ReplacementCodeuiSUN_names, ReplacementCodeuiSUN_remap_index, -1 },
 
6043
    { ReplacementCodeuivSUN_names, ReplacementCodeuivSUN_remap_index, -1 },
5835
6044
    { NULL, 0, 0 }
5836
6045
};
5837
6046
#endif
5851
6060
    { TexCoord2fNormal3fVertex3fvSUN_names, TexCoord2fNormal3fVertex3fvSUN_remap_index, -1 },
5852
6061
    { ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN_names, ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN_remap_index, -1 },
5853
6062
    { ReplacementCodeuiTexCoord2fVertex3fSUN_names, ReplacementCodeuiTexCoord2fVertex3fSUN_remap_index, -1 },
 
6063
    { TexCoord2fNormal3fVertex3fSUN_names, TexCoord2fNormal3fVertex3fSUN_remap_index, -1 },
5854
6064
    { Color3fVertex3fSUN_names, Color3fVertex3fSUN_remap_index, -1 },
5855
 
    { ReplacementCodeuiNormal3fVertex3fvSUN_names, ReplacementCodeuiNormal3fVertex3fvSUN_remap_index, -1 },
5856
6065
    { Color3fVertex3fvSUN_names, Color3fVertex3fvSUN_remap_index, -1 },
5857
6066
    { Color4fNormal3fVertex3fvSUN_names, Color4fNormal3fVertex3fvSUN_remap_index, -1 },
5858
6067
    { ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_names, ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_remap_index, -1 },
5863
6072
    { Color4ubVertex2fvSUN_names, Color4ubVertex2fvSUN_remap_index, -1 },
5864
6073
    { Normal3fVertex3fSUN_names, Normal3fVertex3fSUN_remap_index, -1 },
5865
6074
    { ReplacementCodeuiColor4fNormal3fVertex3fSUN_names, ReplacementCodeuiColor4fNormal3fVertex3fSUN_remap_index, -1 },
5866
 
    { TexCoord2fNormal3fVertex3fSUN_names, TexCoord2fNormal3fVertex3fSUN_remap_index, -1 },
 
6075
    { TexCoord2fColor4fNormal3fVertex3fvSUN_names, TexCoord2fColor4fNormal3fVertex3fvSUN_remap_index, -1 },
5867
6076
    { TexCoord2fVertex3fvSUN_names, TexCoord2fVertex3fvSUN_remap_index, -1 },
5868
6077
    { Color4ubVertex2fSUN_names, Color4ubVertex2fSUN_remap_index, -1 },
5869
6078
    { ReplacementCodeuiColor4ubVertex3fSUN_names, ReplacementCodeuiColor4ubVertex3fSUN_remap_index, -1 },
5870
6079
    { TexCoord2fColor4ubVertex3fSUN_names, TexCoord2fColor4ubVertex3fSUN_remap_index, -1 },
5871
6080
    { Normal3fVertex3fvSUN_names, Normal3fVertex3fvSUN_remap_index, -1 },
5872
6081
    { Color4fNormal3fVertex3fSUN_names, Color4fNormal3fVertex3fSUN_remap_index, -1 },
5873
 
    { TexCoord2fColor4fNormal3fVertex3fvSUN_names, TexCoord2fColor4fNormal3fVertex3fvSUN_remap_index, -1 },
5874
6082
    { ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN_names, ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN_remap_index, -1 },
5875
6083
    { ReplacementCodeuiColor4ubVertex3fvSUN_names, ReplacementCodeuiColor4ubVertex3fvSUN_remap_index, -1 },
5876
6084
    { ReplacementCodeuiColor3fVertex3fSUN_names, ReplacementCodeuiColor3fVertex3fSUN_remap_index, -1 },
5877
6085
    { TexCoord4fVertex4fSUN_names, TexCoord4fVertex4fSUN_remap_index, -1 },
5878
6086
    { TexCoord2fColor3fVertex3fvSUN_names, TexCoord2fColor3fVertex3fvSUN_remap_index, -1 },
 
6087
    { ReplacementCodeuiNormal3fVertex3fvSUN_names, ReplacementCodeuiNormal3fVertex3fvSUN_remap_index, -1 },
5879
6088
    { TexCoord4fVertex4fvSUN_names, TexCoord4fVertex4fvSUN_remap_index, -1 },
5880
6089
    { ReplacementCodeuiVertex3fSUN_names, ReplacementCodeuiVertex3fSUN_remap_index, -1 },
5881
6090
    { NULL, 0, 0 }
6012
6221
 
6013
6222
#if defined(need_GL_VERSION_2_0)
6014
6223
static const struct dri_extension_function GL_VERSION_2_0_functions[] = {
 
6224
    { UniformMatrix3fvARB_names, UniformMatrix3fvARB_remap_index, -1 },
 
6225
    { GetProgramiv_names, GetProgramiv_remap_index, -1 },
 
6226
    { BlendEquationSeparateEXT_names, BlendEquationSeparateEXT_remap_index, -1 },
 
6227
    { AttachShader_names, AttachShader_remap_index, -1 },
 
6228
    { VertexAttrib2fARB_names, VertexAttrib2fARB_remap_index, -1 },
 
6229
    { VertexAttrib3fARB_names, VertexAttrib3fARB_remap_index, -1 },
 
6230
    { Uniform2fARB_names, Uniform2fARB_remap_index, -1 },
 
6231
    { VertexAttrib1svARB_names, VertexAttrib1svARB_remap_index, -1 },
 
6232
    { Uniform2ivARB_names, Uniform2ivARB_remap_index, -1 },
 
6233
    { UniformMatrix4fvARB_names, UniformMatrix4fvARB_remap_index, -1 },
 
6234
    { VertexAttrib4NusvARB_names, VertexAttrib4NusvARB_remap_index, -1 },
 
6235
    { DisableVertexAttribArrayARB_names, DisableVertexAttribArrayARB_remap_index, -1 },
6015
6236
    { StencilMaskSeparate_names, StencilMaskSeparate_remap_index, -1 },
 
6237
    { VertexAttrib1fARB_names, VertexAttrib1fARB_remap_index, -1 },
 
6238
    { GetProgramInfoLog_names, GetProgramInfoLog_remap_index, -1 },
 
6239
    { VertexAttrib4NbvARB_names, VertexAttrib4NbvARB_remap_index, -1 },
 
6240
    { GetActiveAttribARB_names, GetActiveAttribARB_remap_index, -1 },
 
6241
    { Uniform3iARB_names, Uniform3iARB_remap_index, -1 },
 
6242
    { GetShaderInfoLog_names, GetShaderInfoLog_remap_index, -1 },
 
6243
    { VertexAttrib1sARB_names, VertexAttrib1sARB_remap_index, -1 },
 
6244
    { Uniform1fARB_names, Uniform1fARB_remap_index, -1 },
6016
6245
    { StencilOpSeparate_names, StencilOpSeparate_remap_index, -1 },
 
6246
    { UniformMatrix2fvARB_names, UniformMatrix2fvARB_remap_index, -1 },
 
6247
    { VertexAttrib3dvARB_names, VertexAttrib3dvARB_remap_index, -1 },
 
6248
    { Uniform3fvARB_names, Uniform3fvARB_remap_index, -1 },
 
6249
    { GetVertexAttribivARB_names, GetVertexAttribivARB_remap_index, -1 },
 
6250
    { CreateProgram_names, CreateProgram_remap_index, -1 },
6017
6251
    { StencilFuncSeparate_names, StencilFuncSeparate_remap_index, -1 },
 
6252
    { VertexAttrib3dARB_names, VertexAttrib3dARB_remap_index, -1 },
 
6253
    { VertexAttrib4fARB_names, VertexAttrib4fARB_remap_index, -1 },
 
6254
    { VertexAttrib4fvARB_names, VertexAttrib4fvARB_remap_index, -1 },
 
6255
    { GetActiveUniformARB_names, GetActiveUniformARB_remap_index, -1 },
 
6256
    { IsShader_names, IsShader_remap_index, -1 },
 
6257
    { GetUniformivARB_names, GetUniformivARB_remap_index, -1 },
 
6258
    { IsProgram_names, IsProgram_remap_index, -1 },
 
6259
    { Uniform2fvARB_names, Uniform2fvARB_remap_index, -1 },
 
6260
    { ValidateProgramARB_names, ValidateProgramARB_remap_index, -1 },
 
6261
    { VertexAttrib2dARB_names, VertexAttrib2dARB_remap_index, -1 },
 
6262
    { VertexAttrib1dvARB_names, VertexAttrib1dvARB_remap_index, -1 },
 
6263
    { GetVertexAttribfvARB_names, GetVertexAttribfvARB_remap_index, -1 },
 
6264
    { GetAttribLocationARB_names, GetAttribLocationARB_remap_index, -1 },
 
6265
    { Uniform3ivARB_names, Uniform3ivARB_remap_index, -1 },
 
6266
    { GetVertexAttribPointervARB_names, GetVertexAttribPointervARB_remap_index, -1 },
 
6267
    { VertexAttrib4sARB_names, VertexAttrib4sARB_remap_index, -1 },
 
6268
    { VertexAttrib2dvARB_names, VertexAttrib2dvARB_remap_index, -1 },
 
6269
    { VertexAttrib2fvARB_names, VertexAttrib2fvARB_remap_index, -1 },
 
6270
    { VertexAttrib4NivARB_names, VertexAttrib4NivARB_remap_index, -1 },
 
6271
    { GetAttachedShaders_names, GetAttachedShaders_remap_index, -1 },
 
6272
    { CompileShaderARB_names, CompileShaderARB_remap_index, -1 },
 
6273
    { DeleteShader_names, DeleteShader_remap_index, -1 },
 
6274
    { Uniform3fARB_names, Uniform3fARB_remap_index, -1 },
 
6275
    { VertexAttrib4NuivARB_names, VertexAttrib4NuivARB_remap_index, -1 },
 
6276
    { Uniform4fARB_names, Uniform4fARB_remap_index, -1 },
 
6277
    { VertexAttrib1dARB_names, VertexAttrib1dARB_remap_index, -1 },
 
6278
    { LinkProgramARB_names, LinkProgramARB_remap_index, -1 },
 
6279
    { ShaderSourceARB_names, ShaderSourceARB_remap_index, -1 },
 
6280
    { VertexAttrib3svARB_names, VertexAttrib3svARB_remap_index, -1 },
 
6281
    { Uniform4ivARB_names, Uniform4ivARB_remap_index, -1 },
 
6282
    { GetVertexAttribdvARB_names, GetVertexAttribdvARB_remap_index, -1 },
 
6283
    { Uniform1ivARB_names, Uniform1ivARB_remap_index, -1 },
 
6284
    { VertexAttrib4dvARB_names, VertexAttrib4dvARB_remap_index, -1 },
 
6285
    { BindAttribLocationARB_names, BindAttribLocationARB_remap_index, -1 },
 
6286
    { Uniform1iARB_names, Uniform1iARB_remap_index, -1 },
 
6287
    { VertexAttribPointerARB_names, VertexAttribPointerARB_remap_index, -1 },
 
6288
    { VertexAttrib4NsvARB_names, VertexAttrib4NsvARB_remap_index, -1 },
 
6289
    { VertexAttrib3fvARB_names, VertexAttrib3fvARB_remap_index, -1 },
 
6290
    { CreateShader_names, CreateShader_remap_index, -1 },
 
6291
    { DetachShader_names, DetachShader_remap_index, -1 },
 
6292
    { VertexAttrib4NubARB_names, VertexAttrib4NubARB_remap_index, -1 },
 
6293
    { Uniform4fvARB_names, Uniform4fvARB_remap_index, -1 },
 
6294
    { GetUniformfvARB_names, GetUniformfvARB_remap_index, -1 },
 
6295
    { Uniform4iARB_names, Uniform4iARB_remap_index, -1 },
 
6296
    { UseProgramObjectARB_names, UseProgramObjectARB_remap_index, -1 },
 
6297
    { DeleteProgram_names, DeleteProgram_remap_index, -1 },
 
6298
    { Uniform2iARB_names, Uniform2iARB_remap_index, -1 },
 
6299
    { VertexAttrib4dARB_names, VertexAttrib4dARB_remap_index, -1 },
 
6300
    { GetUniformLocationARB_names, GetUniformLocationARB_remap_index, -1 },
 
6301
    { VertexAttrib3sARB_names, VertexAttrib3sARB_remap_index, -1 },
 
6302
    { GetShaderSourceARB_names, GetShaderSourceARB_remap_index, -1 },
 
6303
    { DrawBuffersARB_names, DrawBuffersARB_remap_index, -1 },
 
6304
    { Uniform1fvARB_names, Uniform1fvARB_remap_index, -1 },
 
6305
    { EnableVertexAttribArrayARB_names, EnableVertexAttribArrayARB_remap_index, -1 },
 
6306
    { VertexAttrib4svARB_names, VertexAttrib4svARB_remap_index, -1 },
 
6307
    { GetShaderiv_names, GetShaderiv_remap_index, -1 },
 
6308
    { VertexAttrib2svARB_names, VertexAttrib2svARB_remap_index, -1 },
 
6309
    { VertexAttrib4NubvARB_names, VertexAttrib4NubvARB_remap_index, -1 },
 
6310
    { VertexAttrib2sARB_names, VertexAttrib2sARB_remap_index, -1 },
 
6311
    { VertexAttrib1fvARB_names, VertexAttrib1fvARB_remap_index, -1 },
 
6312
    { NULL, 0, 0 }
 
6313
};
 
6314
#endif
 
6315
 
 
6316
#if defined(need_GL_VERSION_2_1)
 
6317
static const struct dri_extension_function GL_VERSION_2_1_functions[] = {
 
6318
    { UniformMatrix2x4fv_names, UniformMatrix2x4fv_remap_index, -1 },
 
6319
    { UniformMatrix4x3fv_names, UniformMatrix4x3fv_remap_index, -1 },
 
6320
    { UniformMatrix4x2fv_names, UniformMatrix4x2fv_remap_index, -1 },
 
6321
    { UniformMatrix2x3fv_names, UniformMatrix2x3fv_remap_index, -1 },
 
6322
    { UniformMatrix3x4fv_names, UniformMatrix3x4fv_remap_index, -1 },
 
6323
    { UniformMatrix3x2fv_names, UniformMatrix3x2fv_remap_index, -1 },
6018
6324
    { NULL, 0, 0 }
6019
6325
};
6020
6326
#endif