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 },
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 },
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 },
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 },