@@ -1916,42 +1916,6 @@ pub var vertexAttribP3uiv: *const fn (index: Uint, type: Enum, normalized: Boole
19161916pub var vertexAttribP4ui : * const fn (index : Uint , type : Enum , normalized : Boolean , value : Uint ) callconv (.C ) void = undefined ;
19171917pub var vertexAttribP4uiv : * const fn (index : Uint , type : Enum , normalized : Boolean , value : * const Uint ) callconv (.C ) void = undefined ;
19181918
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-
19551919//--------------------------------------------------------------------------------------------------
19561920//
19571921// OpenGL 4.0 (Core Profile)
@@ -2834,8 +2798,6 @@ pub const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER = 0x90ED;
28342798pub const DISPATCH_INDIRECT_BUFFER = 0x90EE ;
28352799pub const DISPATCH_INDIRECT_BUFFER_BINDING = 0x90EF ;
28362800pub const COMPUTE_SHADER_BIT = 0x00000020 ;
2837- // ARB_copy_image (none)
2838- // KHR_debug
28392801pub const DEBUGPROC = * const fn (
28402802 source : Enum ,
28412803 type : Enum ,
@@ -3164,7 +3126,6 @@ pub var invalidateSubFramebuffer: *const fn (
31643126 width : Sizei ,
31653127 height : Sizei ,
31663128) callconv (.C ) void = undefined ;
3167- // ARB_multi_draw_indirect
31683129pub var multiDrawArraysIndirect : * const fn (
31693130 mode : Enum ,
31703131 indirect : [* c ]const u8 ,
@@ -3178,7 +3139,6 @@ pub var multiDrawElementsIndirect: *const fn (
31783139 drawcount : Sizei ,
31793140 stride : Sizei ,
31803141) callconv (.C ) void = undefined ;
3181- // ARB_program_interface_query
31823142pub var getProgramInterfaceiv : * const fn (
31833143 program : Uint ,
31843144 programInterface : Enum ,
@@ -3218,25 +3178,18 @@ pub var getProgramResourceLocationIndex: *const fn (
32183178 programInterface : Enum ,
32193179 name : [* c ]const Char ,
32203180) 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
32243181pub var shaderStorageBlockBinding : * const fn (
32253182 program : Uint ,
32263183 storageBlockIndex : Uint ,
32273184 storageBlockBinding : Uint ,
32283185) callconv (.C ) void = undefined ;
3229- // ARB_stencil_texturing (none)
3230- // ARB_texture_buffer_range
32313186pub var texBufferRange : * const fn (
32323187 target : Enum ,
32333188 internalformat : Enum ,
32343189 buffer : Uint ,
32353190 offset : Intptr ,
32363191 size : Sizeiptr ,
32373192) callconv (.C ) void = undefined ;
3238- // ARB_texture_query_levels (none)
3239- // ARB_texture_storage_multisample
32403193pub var texStorage2DMultisample : * const fn (
32413194 target : Enum ,
32423195 samples : Sizei ,
@@ -3254,7 +3207,6 @@ pub var texStorage3DMultisample: *const fn (
32543207 depth : Sizei ,
32553208 fixedsamplelocations : Boolean ,
32563209) callconv (.C ) void = undefined ;
3257- // ARB_texture_view
32583210pub var textureView : * const fn (
32593211 texture : Uint ,
32603212 target : Enum ,
@@ -3265,7 +3217,6 @@ pub var textureView: *const fn (
32653217 minlayer : Uint ,
32663218 numlayers : Uint ,
32673219) callconv (.C ) void = undefined ;
3268- // ARB_vertex_attrib_binding
32693220pub var bindVertexBuffer : * const fn (
32703221 bindingindex : Uint ,
32713222 buffer : Uint ,
@@ -3299,7 +3250,6 @@ pub var vertexBindingDivisor: *const fn (
32993250 bindingindex : Uint ,
33003251 divisor : Uint ,
33013252) callconv (.C ) void = undefined ;
3302- // KHR_debug
33033253pub var debugMessageControl : * const fn (
33043254 source : Enum ,
33053255 type : Enum ,
@@ -4212,7 +4162,7 @@ pub var specializeShader: *const fn (
42124162
42134163//--------------------------------------------------------------------------------------------------
42144164//
4215- // OpenGL 1.0 and 1.1 ( Compatibility Profile)
4165+ // Compatibility Profile
42164166//
42174167//--------------------------------------------------------------------------------------------------
42184168pub const MODELVIEW = 0x1700 ;
@@ -4245,11 +4195,38 @@ pub var popMatrix: *const fn () callconv(.C) void = undefined;
42454195pub var rotatef : * const fn (angle : Float , x : Float , y : Float , z : Float ) callconv (.C ) void = undefined ;
42464196pub var scalef : * const fn (x : Float , y : Float , z : Float ) callconv (.C ) void = undefined ;
42474197pub 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+
42534230pub var matrixLoadIdentityEXT : * const fn (mode : Enum ) callconv (.C ) void = undefined ;
42544231pub var matrixOrthoEXT : * const fn (
42554232 mode : Enum ,
@@ -4260,6 +4237,22 @@ pub var matrixOrthoEXT: *const fn (
42604237 zNear : Double ,
42614238 zFar : Double ,
42624239) 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+
42634256//--------------------------------------------------------------------------------------------------
42644257//
42654258// EXT_copy_texture
@@ -4346,19 +4339,6 @@ pub var programUniformui64NV: *const fn (
43464339// TODO: Add the rest
43474340//--------------------------------------------------------------------------------------------------
43484341//
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- //
43624342// OES_vertex_array_object (OpenGL ES Extension #71)
43634343//
43644344//--------------------------------------------------------------------------------------------------
0 commit comments