@@ -1916,42 +1916,6 @@ pub var vertexAttribP3uiv: *const fn (index: Uint, type: Enum, normalized: Boole
1916
1916
pub var vertexAttribP4ui : * const fn (index : Uint , type : Enum , normalized : Boolean , value : Uint ) callconv (.C ) void = undefined ;
1917
1917
pub var vertexAttribP4uiv : * const fn (index : Uint , type : Enum , normalized : Boolean , value : * const Uint ) callconv (.C ) void = undefined ;
1918
1918
1919
- //--------------------------------------------------------------------------------------------------
1920
- //
1921
- // OpenGL 3.3 (Compatibility Profile)
1922
- //
1923
- //--------------------------------------------------------------------------------------------------
1924
- pub var vertexP2ui : * const fn (type : Enum , value : Uint ) callconv (.C ) void = undefined ;
1925
- pub var vertexP2uiv : * const fn (type : Enum , value : * const Uint ) callconv (.C ) void = undefined ;
1926
- pub var vertexP3ui : * const fn (type : Enum , value : Uint ) callconv (.C ) void = undefined ;
1927
- pub var vertexP3uiv : * const fn (type : Enum , value : * const Uint ) callconv (.C ) void = undefined ;
1928
- pub var vertexP4ui : * const fn (type : Enum , value : Uint ) callconv (.C ) void = undefined ;
1929
- pub var vertexP4uiv : * const fn (type : Enum , value : * const Uint ) callconv (.C ) void = undefined ;
1930
- pub var texCoordP1ui : * const fn (type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
1931
- pub var texCoordP1uiv : * const fn (type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
1932
- pub var texCoordP2ui : * const fn (type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
1933
- pub var texCoordP2uiv : * const fn (type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
1934
- pub var texCoordP3ui : * const fn (type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
1935
- pub var texCoordP3uiv : * const fn (type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
1936
- pub var texCoordP4ui : * const fn (type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
1937
- pub var texCoordP4uiv : * const fn (type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
1938
- pub var multiTexCoordP1ui : * const fn (texture : Enum , type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
1939
- pub var multiTexCoordP1uiv : * const fn (texture : Enum , type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
1940
- pub var multiTexCoordP2ui : * const fn (texture : Enum , type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
1941
- pub var multiTexCoordP2uiv : * const fn (texture : Enum , type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
1942
- pub var multiTexCoordP3ui : * const fn (texture : Enum , type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
1943
- pub var multiTexCoordP3uiv : * const fn (texture : Enum , type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
1944
- pub var multiTexCoordP4ui : * const fn (texture : Enum , type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
1945
- pub var multiTexCoordP4uiv : * const fn (texture : Enum , type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
1946
- pub var normalP3ui : * const fn (type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
1947
- pub var normalP3uiv : * const fn (type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
1948
- pub var colorP3ui : * const fn (type : Enum , color : Uint ) callconv (.C ) void = undefined ;
1949
- pub var colorP3uiv : * const fn (type : Enum , color : * const Uint ) callconv (.C ) void = undefined ;
1950
- pub var colorP4ui : * const fn (type : Enum , color : Uint ) callconv (.C ) void = undefined ;
1951
- pub var colorP4uiv : * const fn (type : Enum , color : * const Uint ) callconv (.C ) void = undefined ;
1952
- pub var secondaryColorP3ui : * const fn (type : Enum , color : Uint ) callconv (.C ) void = undefined ;
1953
- pub var secondaryColorP3uiv : * const fn (type : Enum , color : * const Uint ) callconv (.C ) void = undefined ;
1954
-
1955
1919
//--------------------------------------------------------------------------------------------------
1956
1920
//
1957
1921
// OpenGL 4.0 (Core Profile)
@@ -2834,8 +2798,6 @@ pub const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER = 0x90ED;
2834
2798
pub const DISPATCH_INDIRECT_BUFFER = 0x90EE ;
2835
2799
pub const DISPATCH_INDIRECT_BUFFER_BINDING = 0x90EF ;
2836
2800
pub const COMPUTE_SHADER_BIT = 0x00000020 ;
2837
- // ARB_copy_image (none)
2838
- // KHR_debug
2839
2801
pub const DEBUGPROC = * const fn (
2840
2802
source : Enum ,
2841
2803
type : Enum ,
@@ -3164,7 +3126,6 @@ pub var invalidateSubFramebuffer: *const fn (
3164
3126
width : Sizei ,
3165
3127
height : Sizei ,
3166
3128
) callconv (.C ) void = undefined ;
3167
- // ARB_multi_draw_indirect
3168
3129
pub var multiDrawArraysIndirect : * const fn (
3169
3130
mode : Enum ,
3170
3131
indirect : [* c ]const u8 ,
@@ -3178,7 +3139,6 @@ pub var multiDrawElementsIndirect: *const fn (
3178
3139
drawcount : Sizei ,
3179
3140
stride : Sizei ,
3180
3141
) callconv (.C ) void = undefined ;
3181
- // ARB_program_interface_query
3182
3142
pub var getProgramInterfaceiv : * const fn (
3183
3143
program : Uint ,
3184
3144
programInterface : Enum ,
@@ -3218,25 +3178,18 @@ pub var getProgramResourceLocationIndex: *const fn (
3218
3178
programInterface : Enum ,
3219
3179
name : [* c ]const Char ,
3220
3180
) callconv (.C ) Int = undefined ;
3221
- // ARB_robust_buffer_access_behavior (none)
3222
- // ARB_shader_image_size (none, GLSL only)
3223
- // ARB_shader_storage_buffer_object
3224
3181
pub var shaderStorageBlockBinding : * const fn (
3225
3182
program : Uint ,
3226
3183
storageBlockIndex : Uint ,
3227
3184
storageBlockBinding : Uint ,
3228
3185
) callconv (.C ) void = undefined ;
3229
- // ARB_stencil_texturing (none)
3230
- // ARB_texture_buffer_range
3231
3186
pub var texBufferRange : * const fn (
3232
3187
target : Enum ,
3233
3188
internalformat : Enum ,
3234
3189
buffer : Uint ,
3235
3190
offset : Intptr ,
3236
3191
size : Sizeiptr ,
3237
3192
) callconv (.C ) void = undefined ;
3238
- // ARB_texture_query_levels (none)
3239
- // ARB_texture_storage_multisample
3240
3193
pub var texStorage2DMultisample : * const fn (
3241
3194
target : Enum ,
3242
3195
samples : Sizei ,
@@ -3254,7 +3207,6 @@ pub var texStorage3DMultisample: *const fn (
3254
3207
depth : Sizei ,
3255
3208
fixedsamplelocations : Boolean ,
3256
3209
) callconv (.C ) void = undefined ;
3257
- // ARB_texture_view
3258
3210
pub var textureView : * const fn (
3259
3211
texture : Uint ,
3260
3212
target : Enum ,
@@ -3265,7 +3217,6 @@ pub var textureView: *const fn (
3265
3217
minlayer : Uint ,
3266
3218
numlayers : Uint ,
3267
3219
) callconv (.C ) void = undefined ;
3268
- // ARB_vertex_attrib_binding
3269
3220
pub var bindVertexBuffer : * const fn (
3270
3221
bindingindex : Uint ,
3271
3222
buffer : Uint ,
@@ -3299,7 +3250,6 @@ pub var vertexBindingDivisor: *const fn (
3299
3250
bindingindex : Uint ,
3300
3251
divisor : Uint ,
3301
3252
) callconv (.C ) void = undefined ;
3302
- // KHR_debug
3303
3253
pub var debugMessageControl : * const fn (
3304
3254
source : Enum ,
3305
3255
type : Enum ,
@@ -4212,7 +4162,7 @@ pub var specializeShader: *const fn (
4212
4162
4213
4163
//--------------------------------------------------------------------------------------------------
4214
4164
//
4215
- // OpenGL 1.0 and 1.1 ( Compatibility Profile)
4165
+ // Compatibility Profile
4216
4166
//
4217
4167
//--------------------------------------------------------------------------------------------------
4218
4168
pub const MODELVIEW = 0x1700 ;
@@ -4245,11 +4195,38 @@ pub var popMatrix: *const fn () callconv(.C) void = undefined;
4245
4195
pub var rotatef : * const fn (angle : Float , x : Float , y : Float , z : Float ) callconv (.C ) void = undefined ;
4246
4196
pub var scalef : * const fn (x : Float , y : Float , z : Float ) callconv (.C ) void = undefined ;
4247
4197
pub var translatef : * const fn (x : Float , y : Float , z : Float ) callconv (.C ) void = undefined ;
4248
- //--------------------------------------------------------------------------------------------------
4249
- //
4250
- // OpenGL misc. extensions (Compatibility Profile)
4251
- //
4252
- //--------------------------------------------------------------------------------------------------
4198
+
4199
+ pub var vertexP2ui : * const fn (type : Enum , value : Uint ) callconv (.C ) void = undefined ;
4200
+ pub var vertexP2uiv : * const fn (type : Enum , value : * const Uint ) callconv (.C ) void = undefined ;
4201
+ pub var vertexP3ui : * const fn (type : Enum , value : Uint ) callconv (.C ) void = undefined ;
4202
+ pub var vertexP3uiv : * const fn (type : Enum , value : * const Uint ) callconv (.C ) void = undefined ;
4203
+ pub var vertexP4ui : * const fn (type : Enum , value : Uint ) callconv (.C ) void = undefined ;
4204
+ pub var vertexP4uiv : * const fn (type : Enum , value : * const Uint ) callconv (.C ) void = undefined ;
4205
+ pub var texCoordP1ui : * const fn (type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
4206
+ pub var texCoordP1uiv : * const fn (type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
4207
+ pub var texCoordP2ui : * const fn (type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
4208
+ pub var texCoordP2uiv : * const fn (type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
4209
+ pub var texCoordP3ui : * const fn (type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
4210
+ pub var texCoordP3uiv : * const fn (type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
4211
+ pub var texCoordP4ui : * const fn (type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
4212
+ pub var texCoordP4uiv : * const fn (type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
4213
+ pub var multiTexCoordP1ui : * const fn (texture : Enum , type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
4214
+ pub var multiTexCoordP1uiv : * const fn (texture : Enum , type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
4215
+ pub var multiTexCoordP2ui : * const fn (texture : Enum , type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
4216
+ pub var multiTexCoordP2uiv : * const fn (texture : Enum , type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
4217
+ pub var multiTexCoordP3ui : * const fn (texture : Enum , type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
4218
+ pub var multiTexCoordP3uiv : * const fn (texture : Enum , type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
4219
+ pub var multiTexCoordP4ui : * const fn (texture : Enum , type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
4220
+ pub var multiTexCoordP4uiv : * const fn (texture : Enum , type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
4221
+ pub var normalP3ui : * const fn (type : Enum , coords : Uint ) callconv (.C ) void = undefined ;
4222
+ pub var normalP3uiv : * const fn (type : Enum , coords : * const Uint ) callconv (.C ) void = undefined ;
4223
+ pub var colorP3ui : * const fn (type : Enum , color : Uint ) callconv (.C ) void = undefined ;
4224
+ pub var colorP3uiv : * const fn (type : Enum , color : * const Uint ) callconv (.C ) void = undefined ;
4225
+ pub var colorP4ui : * const fn (type : Enum , color : Uint ) callconv (.C ) void = undefined ;
4226
+ pub var colorP4uiv : * const fn (type : Enum , color : * const Uint ) callconv (.C ) void = undefined ;
4227
+ pub var secondaryColorP3ui : * const fn (type : Enum , color : Uint ) callconv (.C ) void = undefined ;
4228
+ pub var secondaryColorP3uiv : * const fn (type : Enum , color : * const Uint ) callconv (.C ) void = undefined ;
4229
+
4253
4230
pub var matrixLoadIdentityEXT : * const fn (mode : Enum ) callconv (.C ) void = undefined ;
4254
4231
pub var matrixOrthoEXT : * const fn (
4255
4232
mode : Enum ,
@@ -4260,6 +4237,22 @@ pub var matrixOrthoEXT: *const fn (
4260
4237
zNear : Double ,
4261
4238
zFar : Double ,
4262
4239
) callconv (.C ) void = undefined ;
4240
+
4241
+ //--------------------------------------------------------------------------------------------------
4242
+ //
4243
+ // OpenGL ES 1.0
4244
+ //
4245
+ //--------------------------------------------------------------------------------------------------
4246
+ pub var clearDepthf : * const fn (depth : Float ) callconv (.C ) void = undefined ;
4247
+ pub var depthRangef : * const fn (n : Clampf , f : Clampf ) callconv (.C ) void = undefined ;
4248
+
4249
+ //--------------------------------------------------------------------------------------------------
4250
+ //
4251
+ // OpenGL ES 2.0
4252
+ //
4253
+ //--------------------------------------------------------------------------------------------------
4254
+ pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9 ;
4255
+
4263
4256
//--------------------------------------------------------------------------------------------------
4264
4257
//
4265
4258
// EXT_copy_texture
@@ -4346,19 +4339,6 @@ pub var programUniformui64NV: *const fn (
4346
4339
// TODO: Add the rest
4347
4340
//--------------------------------------------------------------------------------------------------
4348
4341
//
4349
- // OpenGL ES 1.0
4350
- //
4351
- //--------------------------------------------------------------------------------------------------
4352
- pub var clearDepthf : * const fn (depth : Float ) callconv (.C ) void = undefined ;
4353
- pub var depthRangef : * const fn (n : Clampf , f : Clampf ) callconv (.C ) void = undefined ;
4354
- //--------------------------------------------------------------------------------------------------
4355
- //
4356
- // OpenGL ES 2.0
4357
- //
4358
- //--------------------------------------------------------------------------------------------------
4359
- pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9 ;
4360
- //--------------------------------------------------------------------------------------------------
4361
- //
4362
4342
// OES_vertex_array_object (OpenGL ES Extension #71)
4363
4343
//
4364
4344
//--------------------------------------------------------------------------------------------------
0 commit comments