From 08bf5e52ad5841a28cb03075ad93b8d966f7013f Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 28 Feb 2009 18:50:16 +0000 Subject: [PATCH] Merged changes from gl3 branch. --- Source/Bind/GL2/Generator.cs | 2 +- Source/Bind/Glu/Generator.cs | 2 +- Source/Bind/Main.cs | 2 +- Source/Bind/Settings.cs | 7 +- Source/Bind/Specifications/GL2/enum.spec | 569 ++- Source/Bind/Specifications/GL2/enumext.spec | 2407 +++++++--- Source/Bind/Specifications/GL2/gl.spec | 4748 ++++++++++++++++++- Source/Bind/Specifications/GL2/gl.tm | 28 +- Source/Bind/Specifications/csharp.tm | 4 +- Source/Bind/Structures/Enum.cs | 62 +- Source/Bind/Utilities.cs | 2 +- 11 files changed, 6823 insertions(+), 1010 deletions(-) diff --git a/Source/Bind/GL2/Generator.cs b/Source/Bind/GL2/Generator.cs index c5dfde18..0aabc532 100644 --- a/Source/Bind/GL2/Generator.cs +++ b/Source/Bind/GL2/Generator.cs @@ -60,7 +60,7 @@ namespace Bind.GL2 // Matches functions that cannot have their trailing 'v' trimmed for CLS-Compliance reasons. // Built through trial and error :) Function.endingsAddV = - new Regex(@"(Coord1|Attrib(I?)1(u?)|Stream1|Uniform2(u?)|(Point|Convolution|Transform|Sprite|List|Combiner|Tex)Parameter|Fog(Coord)?.*|VertexWeight|(Fragment)?Light(Model)?|Material|ReplacementCodeu?b?|Tex(Gen|Env)|Indexu?.v)", + new Regex(@"(Coord1|Attrib(I?)1(u?)|Stream1|Uniform2(u?)|(Point|Convolution|Transform|Sprite|List|Combiner|Tex)Parameter|Fog(Coord)?.*|VertexWeight|(Fragment)?Light(Model)?|Material|ReplacementCodeu?b?|Tex(Gen|Env)|Indexu?|TextureParameter.v)", RegexOptions.Compiled); Bind.Structures.Type.Initialize(glTypemap, csTypemap); diff --git a/Source/Bind/Glu/Generator.cs b/Source/Bind/Glu/Generator.cs index a0096a9e..7b8dd09d 100644 --- a/Source/Bind/Glu/Generator.cs +++ b/Source/Bind/Glu/Generator.cs @@ -14,7 +14,7 @@ namespace Bind.Glu { class Generator : Bind.GL2.Generator { - string enumSpecAux;// = "GL2\\enum.spec"; + string enumSpecAux = null;// = "GL2\\enum.spec"; #region --- Constructors --- diff --git a/Source/Bind/Main.cs b/Source/Bind/Main.cs index 3ed6ffe1..216ad7b1 100644 --- a/Source/Bind/Main.cs +++ b/Source/Bind/Main.cs @@ -183,7 +183,7 @@ namespace Bind Available switches: -in: Input directory (e.g. -in:../specs/) -out: Output directory (e.g. -out:out) --ns: Output namespace (e.g. -ns:OpenTK.Graphics.OpenGL). +-ns: Output namespace (e.g. -ns:OpenTK.Graphics). Default: OpenTK.Graphics.OpenGL -namespace: Same as -ns -class: Output class (e.g. -class:GL3). diff --git a/Source/Bind/Settings.cs b/Source/Bind/Settings.cs index 66e8a093..c77bf4cd 100644 --- a/Source/Bind/Settings.cs +++ b/Source/Bind/Settings.cs @@ -18,7 +18,7 @@ namespace Bind public const string DefaultInputPath = "..\\..\\..\\Source\\Bind\\Specifications"; public const string DefaultOutputPath = "..\\..\\..\\Source\\OpenTK\\OpenGL\\Bindings"; - public const string DefaultOutputNamespace = "OpenTK.Graphics.OpenGL"; + public const string DefaultOutputNamespace = "OpenTK.Graphics"; public static string GLClass = "GL"; // Needed by Glu for the AuxEnumsClass. Can be set through -gl:"xxx". public static string OutputClass = "GL"; // The real output class. Can be set through -class:"xxx". @@ -67,13 +67,12 @@ namespace Bind } } - // New enums namespace (no nested class). - public static string EnumsNamespace;// = "Enums"; + // New enums namespace (don't use a nested class). + public static string EnumsNamespace = null;// = "Enums"; public static string DelegatesClass = "Delegates"; public static string ImportsClass = "Imports"; - // TODO: Remove legacy for for 0.3.15. public static Legacy Compatibility = Legacy.NoDropMultipleTokens; /// diff --git a/Source/Bind/Specifications/GL2/enum.spec b/Source/Bind/Specifications/GL2/enum.spec index 1d7203af..07db33bd 100644 --- a/Source/Bind/Specifications/GL2/enum.spec +++ b/Source/Bind/Specifications/GL2/enum.spec @@ -95,6 +95,9 @@ Extensions define: VERSION_1_3 = 1 VERSION_1_4 = 1 VERSION_1_5 = 1 + VERSION_2_0 = 1 + VERSION_2_1 = 1 + VERSION_3_0 = 1 ARB_imaging = 1 EXT_abgr = 1 EXT_blend_color = 1 @@ -244,6 +247,23 @@ ClientAttribMask enum: ############################################################################### +# There's no obvious better place to put non-attribute-group mask bits +# VERSION_3_0 enum: +# ARB_map_buffer_range enum: +# MAP_READ_BIT = 0x0001 # 3.0 / ARB_mbr +# MAP_WRITE_BIT = 0x0002 # 3.0 / ARB_mbr +# MAP_INVALIDATE_RANGE_BIT = 0x0004 # 3.0 / ARB_mbr +# MAP_INVALIDATE_BUFFER_BIT = 0x0008 # 3.0 / ARB_mbr +# MAP_FLUSH_EXPLICIT_BIT = 0x0010 # 3.0 / ARB_mbr +# MAP_UNSYNCHRONIZED_BIT = 0x0020 # 3.0 / ARB_mbr + +############################################################################### + +# VERSION_3_0 enum: +# CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT = 0x0001 # 3.0 + +############################################################################### + Boolean enum: FALSE = 0 TRUE = 1 @@ -261,10 +281,15 @@ BeginMode enum: QUADS = 0x0007 QUAD_STRIP = 0x0008 POLYGON = 0x0009 +# ARB_geometry_shader4 enum: (additional; see below) # NV_geometry_program4 enum: (additional; see below) +# LINES_ADJACENCY_ARB = 0x000A # LINES_ADJACENCY_EXT = 0x000A +# LINE_STRIP_ADJACENCY_ARB = 0x000B # LINE_STRIP_ADJACENCY_EXT = 0x000B +# TRIANGLES_ADJACENCY_ARB = 0x000C # TRIANGLES_ADJACENCY_EXT = 0x000C +# TRIANGLE_STRIP_ADJACENCY_ARB = 0x000D # TRIANGLE_STRIP_ADJACENCY_EXT = 0x000D ############################################################################### @@ -309,19 +334,16 @@ BlendingFactorDest enum: ############################################################################### -# Edited for OpenTK BlendingFactorSrc enum: use BlendingFactorDest ZERO use BlendingFactorDest ONE - use BlendingFactorDest SRC_COLOR - use BlendingFactorDest ONE_MINUS_SRC_COLOR - use BlendingFactorDest DST_COLOR - use BlendingFactorDest ONE_MINUS_DST_COLOR + DST_COLOR = 0x0306 + ONE_MINUS_DST_COLOR = 0x0307 + SRC_ALPHA_SATURATE = 0x0308 use BlendingFactorDest SRC_ALPHA use BlendingFactorDest ONE_MINUS_SRC_ALPHA use BlendingFactorDest DST_ALPHA use BlendingFactorDest ONE_MINUS_DST_ALPHA - SRC_ALPHA_SATURATE = 0x0308 use EXT_blend_color CONSTANT_COLOR_EXT use EXT_blend_color ONE_MINUS_CONSTANT_COLOR_EXT use EXT_blend_color CONSTANT_ALPHA_EXT @@ -517,12 +539,7 @@ EnableCap enum: use EXT_rescale_normal RESCALE_NORMAL_EXT use EXT_shared_texture_palette SHARED_TEXTURE_PALETTE_EXT use EXT_texture3D TEXTURE_3D_EXT - - # Revision 1 use VERSION_1_3 MULTISAMPLE - - #use SGIS_multisample MULTISAMPLE_SGIS - use SGIS_multisample SAMPLE_ALPHA_TO_MASK_SGIS use SGIS_multisample SAMPLE_ALPHA_TO_ONE_SGIS use SGIS_multisample SAMPLE_MASK_SGIS @@ -568,8 +585,12 @@ ErrorCode enum: use EXT_histogram TABLE_TOO_LARGE_EXT use EXT_texture TEXTURE_TOO_LARGE_EXT -# Additional error code +# Additional error codes + +# VERSION_3_0 enum: +# ARB_framebuffer_object enum: (note: no ARB suffixes) # EXT_framebuffer_object enum: +# INVALID_FRAMEBUFFER_OPERATION = 0x0506 # 3.0 / ARB_fbo # INVALID_FRAMEBUFFER_OPERATION_EXT = 0x0506 ############################################################################### @@ -744,12 +765,12 @@ GetPName enum: LINE_STIPPLE = 0x0B24 # 1 I LINE_STIPPLE_PATTERN = 0x0B25 # 1 I LINE_STIPPLE_REPEAT = 0x0B26 # 1 I -# use VERSION_1_2 SMOOTH_POINT_SIZE_RANGE -# use VERSION_1_2 SMOOTH_POINT_SIZE_GRANULARITY -# use VERSION_1_2 SMOOTH_LINE_WIDTH_RANGE -# use VERSION_1_2 SMOOTH_LINE_WIDTH_GRANULARITY -# use VERSION_1_2 ALIASED_POINT_SIZE_RANGE -# use VERSION_1_2 ALIASED_LINE_WIDTH_RANGE + use VERSION_1_2 SMOOTH_POINT_SIZE_RANGE + use VERSION_1_2 SMOOTH_POINT_SIZE_GRANULARITY + use VERSION_1_2 SMOOTH_LINE_WIDTH_RANGE + use VERSION_1_2 SMOOTH_LINE_WIDTH_GRANULARITY + use VERSION_1_2 ALIASED_POINT_SIZE_RANGE + use VERSION_1_2 ALIASED_LINE_WIDTH_RANGE LIST_MODE = 0x0B30 # 1 I MAX_LIST_NESTING = 0x0B31 # 1 I @@ -901,6 +922,8 @@ GetPName enum: MAX_EVAL_ORDER = 0x0D30 # 1 I MAX_LIGHTS = 0x0D31 # 1 I +# VERSION_3_0 enum: (aliases) +# MAX_CLIP_DISTANCES = GL_MAX_CLIP_PLANES # 3.0 MAX_CLIP_PLANES = 0x0D32 # 1 I MAX_TEXTURE_SIZE = 0x0D33 # 1 I MAX_PIXEL_MAP_TABLE = 0x0D34 # 1 I @@ -1020,7 +1043,7 @@ GetPName enum: # use ARB_transpose_matrix TRANSPOSE_TEXTURE_MATRIX_ARB # use ARB_transpose_matrix TRANSPOSE_COLOR_MATRIX_ARB -# use VERSION_1_2 LIGHT_MODEL_COLOR_CONTROL + use VERSION_1_2 LIGHT_MODEL_COLOR_CONTROL use EXT_blend_color BLEND_COLOR_EXT @@ -1309,8 +1332,8 @@ LightEnvParameterSGIX enum: ############################################################################### LightModelColorControl enum: -# use VERSION_1_2 SINGLE_COLOR -# use VERSION_1_2 SEPARATE_SPECULAR_COLOR + use VERSION_1_2 SINGLE_COLOR + use VERSION_1_2 SEPARATE_SPECULAR_COLOR ############################################################################### @@ -1318,7 +1341,7 @@ LightModelParameter enum: use GetPName LIGHT_MODEL_AMBIENT use GetPName LIGHT_MODEL_LOCAL_VIEWER use GetPName LIGHT_MODEL_TWO_SIDE -# use VERSION_1_2 LIGHT_MODEL_COLOR_CONTROL + use VERSION_1_2 LIGHT_MODEL_COLOR_CONTROL ############################################################################### @@ -1356,8 +1379,11 @@ DataType enum: DOUBLE = 0x140A DOUBLE_EXT = 0x140A +# VERSION_3_0 enum: +# ARB_half_float_vertex enum: (note: no ARB suffixes) # ARB_half_float_pixel enum: # NV_half_float enum: +# HALF_FLOAT = 0x140B # 3.0 / ARB_half_float_vertex # HALF_FLOAT_ARB = 0x140B # HALF_FLOAT_NV = 0x140B @@ -1442,15 +1468,9 @@ MaterialParameter enum: SHININESS = 0x1601 AMBIENT_AND_DIFFUSE = 0x1602 COLOR_INDEXES = 0x1603 - - # Revision 1 use LightParameter AMBIENT use LightParameter DIFFUSE use LightParameter SPECULAR - - #use LightProperty AMBIENT - #use LightProperty DIFFUSE - #use LightProperty SPECULAR ############################################################################### @@ -1880,15 +1900,15 @@ TextureTarget enum: use GetPName TEXTURE_2D PROXY_TEXTURE_1D = 0x8063 PROXY_TEXTURE_2D = 0x8064 - use EXT_texture3D TEXTURE_3D_EXT - use EXT_texture3D PROXY_TEXTURE_3D_EXT + TEXTURE_3D = 0x806F # use EXT_texture3D TEXTURE_3D_EXT + PROXY_TEXTURE_3D = 0x8070 # use EXT_texture3D PROXY_TEXTURE_3D_EXT use SGIS_detail_texture DETAIL_TEXTURE_2D_SGIS use SGIS_texture4D TEXTURE_4D_SGIS use SGIS_texture4D PROXY_TEXTURE_4D_SGIS - use SGIS_texture_lod TEXTURE_MIN_LOD_SGIS - use SGIS_texture_lod TEXTURE_MAX_LOD_SGIS - use SGIS_texture_lod TEXTURE_BASE_LEVEL_SGIS - use SGIS_texture_lod TEXTURE_MAX_LEVEL_SGIS + TEXTURE_MIN_LOD = 0x813A # use SGIS_texture_lod TEXTURE_MIN_LOD_SGIS + TEXTURE_MAX_LOD = 0x813B # use SGIS_texture_lod TEXTURE_MAX_LOD_SGIS + TEXTURE_BASE_LEVEL = 0x813C # use SGIS_texture_lod TEXTURE_BASE_LEVEL_SGIS + TEXTURE_MAX_LEVEL = 0x813D # use SGIS_texture_lod TEXTURE_MAX_LEVEL_SGIS # Revision 1 use ARB_texture_rectangle TEXTURE_RECTANGLE_ARB @@ -1899,13 +1919,8 @@ TextureTarget enum: TextureWrapMode enum: CLAMP = 0x2900 REPEAT = 0x2901 - - # Revision 1 - # use SGIS_texture_border_clamp CLAMP_TO_BORDER_SGIS - # use SGIS_texture_edge_clamp CLAMP_TO_EDGE_SGIS - - # use VERSION_1_3 CLAMP_TO_BORDER - # use VERSION_1_2 CLAMP_TO_EDGE + use VERSION_1_3 CLAMP_TO_BORDER + use VERSION_1_2 CLAMP_TO_EDGE ############################################################################### @@ -2028,6 +2043,14 @@ ClipPlaneName enum: CLIP_PLANE4 = 0x3004 # 1 I CLIP_PLANE5 = 0x3005 # 1 I +# VERSION_3_0 enum: (aliases) +# CLIP_DISTANCE0 = GL_CLIP_PLANE0 # 3.0 +# CLIP_DISTANCE1 = GL_CLIP_PLANE1 # 3.0 +# CLIP_DISTANCE2 = GL_CLIP_PLANE2 # 3.0 +# CLIP_DISTANCE3 = GL_CLIP_PLANE3 # 3.0 +# CLIP_DISTANCE4 = GL_CLIP_PLANE4 # 3.0 +# CLIP_DISTANCE5 = GL_CLIP_PLANE5 # 3.0 + ############################################################################### # 0x4000-0x4FFF are reserved for light numbers @@ -3051,7 +3074,69 @@ EXT_shared_texture_palette enum: ############################################################################### -# Any_vendor_future_use: 0x8210-0x82AF (released by Microsoft 2002/9/16) +# ARB: 0x8210-0x823F + +# VERSION_3_0 enum: +# ARB_framebuffer_object enum: (note: no ARB suffixes) +# FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210 # 3.0 / ARB_fbo +# FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211 # 3.0 / ARB_fbo +# FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212 # 3.0 / ARB_fbo +# FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213 # 3.0 / ARB_fbo +# FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214 # 3.0 / ARB_fbo +# FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215 # 3.0 / ARB_fbo +# FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216 # 3.0 / ARB_fbo +# FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217 # 3.0 / ARB_fbo +# FRAMEBUFFER_DEFAULT = 0x8218 # 3.0 / ARB_fbo +# FRAMEBUFFER_UNDEFINED = 0x8219 # 3.0 / ARB_fbo +# DEPTH_STENCIL_ATTACHMENT = 0x821A # 3.0 / ARB_fbo + +# VERSION_3_0 enum: +# MAJOR_VERSION = 0x821B # 3.0 +# MINOR_VERSION = 0x821C # 3.0 +# NUM_EXTENSIONS = 0x821D # 3.0 +# CONTEXT_FLAGS = 0x821E # 3.0 +# 0x821F-0x8221 currently unused + +# VERSION_3_0 enum: +# ARB_framebuffer_object enum: (note: no ARB suffixes) +# INDEX = 0x8222 # 3.0 / ARB_fbo + +# VERSION_3_0 enum: +# DEPTH_BUFFER = 0x8223 # 3.0 +# STENCIL_BUFFER = 0x8224 # 3.0 +# COMPRESSED_RED = 0x8225 # 3.0 +# COMPRESSED_RG = 0x8226 # 3.0 + +# VERSION_3_0 enum: +# ARB_texture_rg enum: (note: no ARB suffixes) +# RG = 0x8227 # 3.0 / ARB_trg +# RG_INTEGER = 0x8228 # 3.0 / ARB_trg +# R8 = 0x8229 # 3.0 / ARB_trg +# R16 = 0x822A # 3.0 / ARB_trg +# RG8 = 0x822B # 3.0 / ARB_trg +# RG16 = 0x822C # 3.0 / ARB_trg +# R16F = 0x822D # 3.0 / ARB_trg +# R32F = 0x822E # 3.0 / ARB_trg +# RG16F = 0x822F # 3.0 / ARB_trg +# RG32F = 0x8230 # 3.0 / ARB_trg +# R8I = 0x8231 # 3.0 / ARB_trg +# R8UI = 0x8232 # 3.0 / ARB_trg +# R16I = 0x8233 # 3.0 / ARB_trg +# R16UI = 0x8234 # 3.0 / ARB_trg +# R32I = 0x8235 # 3.0 / ARB_trg +# R32UI = 0x8236 # 3.0 / ARB_trg +# RG8I = 0x8237 # 3.0 / ARB_trg +# RG8UI = 0x8238 # 3.0 / ARB_trg +# RG16I = 0x8239 # 3.0 / ARB_trg +# RG16UI = 0x823A # 3.0 / ARB_trg +# RG32I = 0x823B # 3.0 / ARB_trg +# RG32UI = 0x823C # 3.0 / ARB_trg + +# ARB_future_use: 0x823D-0x823F + +############################################################################### + +# @@@ Any_vendor_future_use: 0x8240-0x82AF (released by Microsoft 2002/9/16) ############################################################################### @@ -3634,7 +3719,10 @@ SGIX_icc_texture enum: # SUBTRACT = 0x84E7 # SUBTRACT_ARB = 0x84E7 +# VERSION_3_0 enum: +# ARB_framebuffer_object enum: (note: no ARB suffixes) # EXT_framebuffer_object (additional; see below): +# MAX_RENDERBUFFER_SIZE = 0x84E8 # 3.0 / ARB_fbo # MAX_RENDERBUFFER_SIZE_EXT = 0x84E8 # VERSION_1_3 enum: (Promoted for OpenGL 1.3) @@ -3684,10 +3772,14 @@ SGIX_icc_texture enum: # MAX_RECTANGLE_TEXTURE_SIZE_ARB = 0x84F8 # MAX_RECTANGLE_TEXTURE_SIZE_NV = 0x84F8 +# VERSION_3_0 enum: +# ARB_framebuffer_object enum: (note: no ARB suffixes) # EXT_packed_depth_stencil enum: # NV_packed_depth_stencil enum: +# DEPTH_STENCIL = 0x84F9 # 3.0 / ARB_fbo # DEPTH_STENCIL_EXT = 0x84F9 # DEPTH_STENCIL_NV = 0x84F9 +# UNSIGNED_INT_24_8 = 0x84FA # 3.0 / ARB_fbo # UNSIGNED_INT_24_8_EXT = 0x84FA # UNSIGNED_INT_24_8_NV = 0x84FA @@ -3997,7 +4089,10 @@ SGIX_subsample enum: # BUFFER_OBJECT_APPLE = 0x85B3 # STORAGE_CLIENT_APPLE = 0x85B4 +# VERSION_3_0 enum: +# ARB_vertex_array_object enum: (note: no ARB suffixes) # APPLE_vertex_array_object enum: +# VERTEX_ARRAY_BINDING = 0x85B5 # 3.0 / ARB_vao # VERTEX_ARRAY_BINDING_APPLE = 0x85B5 # APPLE_future_use: 0x85B6-0x85B8 @@ -4007,9 +4102,12 @@ SGIX_subsample enum: # TEXTURE_RANGE_POINTER_APPLE = 0x85B8 # APPLE_ycbcr_422 enum: +# MESA_ycbcr_texture enum: (additional; see below) # YCBCR_422_APPLE = 0x85B9 # UNSIGNED_SHORT_8_8_APPLE = 0x85BA +# UNSIGNED_SHORT_8_8_MESA = 0x85BA # UNSIGNED_SHORT_8_8_REV_APPLE = 0x85BB +# UNSIGNED_SHORT_8_8_REV_MESA = 0x85BB # MESA_ycbcr_texture enum: (separate; see below) # UNSIGNED_SHORT_8_8_MESA = 0x85BA @@ -4188,7 +4286,9 @@ SGIX_subsample enum: # NV_texture_shader (additional; see below): 0x864C-0x864E +# ARB_geometry_shader4 enum: (additional; see below) # NV_geometry_program4 enum: (additional; see below) +# PROGRAM_POINT_SIZE_ARB = 0x8642 # PROGRAM_POINT_SIZE_EXT = 0x8642 # NV_depth_clamp enum: @@ -4446,7 +4546,26 @@ SGIX_subsample enum: # MESA: 0x8750-0x875F -# MESA_future_use: 0x8750-0x8757 +# MESA_packed_depth_stencil enum: +# DEPTH_STENCIL_MESA = 0x8750 +# UNSIGNED_INT_24_8_MESA = 0x8751 +# UNSIGNED_INT_8_24_REV_MESA = 0x8752 +# UNSIGNED_SHORT_15_1_MESA = 0x8753 +# UNSIGNED_SHORT_1_15_REV_MESA = 0x8754 + +# MESA_trace enum: +# TRACE_ALL_BITS_MESA = 0xFFFF +# TRACE_OPERATIONS_BIT_MESA = 0x0001 +# TRACE_PRIMITIVES_BIT_MESA = 0x0002 +# TRACE_ARRAYS_BIT_MESA = 0x0004 +# TRACE_TEXTURES_BIT_MESA = 0x0008 +# TRACE_PIXELS_BIT_MESA = 0x0010 +# TRACE_ERRORS_BIT_MESA = 0x0020 +# TRACE_MASK_MESA = 0x8755 +# TRACE_NAME_MESA = 0x8756 + +# MESA_ycbcr_texture enum: +# YCBCR_MESA = 0x8757 # MESA_pack_invert enum: # PACK_INVERT_MESA = 0x8758 @@ -4459,6 +4578,12 @@ SGIX_subsample enum: # TEXTURE_1D_STACK_BINDING_MESAX = 0x875D # TEXTURE_2D_STACK_BINDING_MESAX = 0x875E +# MESA_shader_debug enum: +# DEBUG_OBJECT_MESA = 0x8759 +# DEBUG_PRINT_MESA = 0x875A +# DEBUG_ASSERT_MESA = 0x875B + + # MESA_future_use: 0x875F ############################################################################### @@ -4670,10 +4795,13 @@ SGIX_subsample enum: # ATI_future_use: 0x8811-0x8813 +# VERSION_3_0 enum: # ARB_texture_float enum: # ATI_texture_float enum: +# RGBA32F = 0x8814 # 3.0 # RGBA32F_ARB = 0x8814 # RGBA_FLOAT32_ATI = 0x8814 +# RGB32F = 0x8815 # 3.0 # RGB32F_ARB = 0x8815 # RGB_FLOAT32_ATI = 0x8815 # ALPHA32F_ARB = 0x8816 @@ -4684,8 +4812,10 @@ SGIX_subsample enum: # LUMINANCE_FLOAT32_ATI = 0x8818 # LUMINANCE_ALPHA32F_ARB = 0x8819 # LUMINANCE_ALPHA_FLOAT32_ATI = 0x8819 +# RGBA16F = 0x881A # 3.0 # RGBA16F_ARB = 0x881A # RGBA_FLOAT16_ATI = 0x881A +# RGB16F = 0x881B # 3.0 # RGB16F_ARB = 0x881B # RGB_FLOAT16_ATI = 0x881B # ALPHA16F_ARB = 0x881C @@ -4792,6 +4922,7 @@ SGIX_subsample enum: # DEPTH_TEXTURE_MODE = 0x884B # DEPTH_TEXTURE_MODE_ARB = 0x884B +# VERSION_3_0 enum: (aliases) # VERSION_1_4 enum: (Promoted for OpenGL 1.4) # ARB_shadow enum: # EXT_texture_array enum: (additional; see below) @@ -4799,6 +4930,7 @@ SGIX_subsample enum: # TEXTURE_COMPARE_MODE_ARB = 0x884C # TEXTURE_COMPARE_FUNC = 0x884D # TEXTURE_COMPARE_FUNC_ARB = 0x884D +# COMPARE_REF_TO_TEXTURE = GL_COMPARE_R_TO_TEXTURE_ARB # 3.0 # COMPARE_R_TO_TEXTURE = 0x884E # COMPARE_R_TO_TEXTURE_ARB = 0x884E # COMPARE_REF_DEPTH_TO_TEXTURE_EXT = 0x884E @@ -5080,8 +5212,12 @@ SGIX_subsample enum: # ARB_future_use: 0x88E3, 0x88E7, 0x88EE # (for extending ARB_vertex_buffer_object): +# VERSION_3_0 enum: +# ARB_framebuffer_object enum: (note: no ARB suffixes) # EXT_packed_depth_stencil enum: (additional; see above) +# DEPTH24_STENCIL8 = 0x88F0 # 3.0 / ARB_fbo # DEPTH24_STENCIL8_EXT = 0x88F0 +# TEXTURE_STENCIL_SIZE = 0x88F1 # 3.0 / ARB_fbo # TEXTURE_STENCIL_SIZE_EXT = 0x88F1 # EXT_stencil_clear_tag enum: @@ -5101,16 +5237,24 @@ SGIX_subsample enum: # NV_future_use: 0x88F9-0x88FC +# VERSION_3_0 enum: # NV_vertex_program4 enum: +# VERTEX_ATTRIB_ARRAY_INTEGER = 0x88FD # 3.0 # VERTEX_ATTRIB_ARRAY_INTEGER_NV = 0x88FD -# NV_future_use: 0x88FE +# ARB_instanced_arrays enum: +# VERTEX_ATTRIB_ARRAY_DIVISOR_ARB = 0x88FE +# VERSION_3_0 enum: # EXT_texture_array enum: (additional; see below) +# MAX_ARRAY_TEXTURE_LAYERS = 0x88FF # 3.0 # MAX_ARRAY_TEXTURE_LAYERS_EXT = 0x88FF +# VERSION_3_0 enum: # NV_gpu_program4 enum: +# MIN_PROGRAM_TEXEL_OFFSET = 0x8904 # 3.0 # MIN_PROGRAM_TEXEL_OFFSET_NV = 0x8904 +# MAX_PROGRAM_TEXEL_OFFSET = 0x8905 # 3.0 # MAX_PROGRAM_TEXEL_OFFSET_NV = 0x8905 # PROGRAM_ATTRIB_COMPONENTS_NV = 0x8906 # PROGRAM_RESULT_COMPONENTS_NV = 0x8907 @@ -5133,10 +5277,15 @@ SGIX_subsample enum: # NV_future_use: 0x8915-0x8919 +# VERSION_3_0 enum: # ARB_color_buffer_float enum: (additional; see above) +# CLAMP_VERTEX_COLOR = 0x891A # 3.0 # CLAMP_VERTEX_COLOR_ARB = 0x891A +# CLAMP_FRAGMENT_COLOR = 0x891B # 3.0 # CLAMP_FRAGMENT_COLOR_ARB = 0x891B +# CLAMP_READ_COLOR = 0x891C # 3.0 # CLAMP_READ_COLOR_ARB = 0x891C +# FIXED_ONLY = 0x891D # 3.0 # FIXED_ONLY_ARB = 0x891D # NV_future_use: 0x891E-0x891F @@ -5424,6 +5573,10 @@ SGIX_subsample enum: # SHADING_LANGUAGE_VERSION = 0x8B8C # VERSION_2_0 # SHADING_LANGUAGE_VERSION_ARB = 0x8B8C # ARB_shading_language_100 +# VERSION_3_0 enum: +# ARB_geometry_shader4 enum: (additional; see below; note: no ARB suffixes) +# MAX_VARYING_COMPONENTS = GL_MAX_VARYING_FLOATS # 3.0 + # EXT_geometry_shader4 enum: (additional; see below) # MAX_VARYING_COMPONENTS_EXT = 0x8B4B @@ -5467,6 +5620,17 @@ SGIX_subsample enum: ############################################################################### # Mesa: 0x8BB0-0x8BBF +# Probably one of the two 0x8BB4 enums should be 0x8BB5, but the +# extension spec is not complete in any event. +# MESA_program_debug enum: +# FRAGMENT_PROGRAM_POSITION_MESA = 0x8BB0 +# FRAGMENT_PROGRAM_CALLBACK_MESA = 0x8BB1 +# FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA = 0x8BB2 +# FRAGMENT_PROGRAM_CALLBACK_DATA_MESA = 0x8BB3 +# VERTEX_PROGRAM_CALLBACK_MESA = 0x8BB4 +# VERTEX_PROGRAM_POSITION_MESA = 0x8BB4 +# VERTEX_PROGRAM_CALLBACK_FUNC_MESA = 0x8BB6 +# VERTEX_PROGRAM_CALLBACK_DATA_MESA = 0x8BB7 ############################################################################### @@ -5480,51 +5644,81 @@ SGIX_subsample enum: # NVIDIA: 0x8C10-0x8C8F (Pat Brown) +# VERSION_3_0 enum: +# ARB_framebuffer_object enum: (note: no ARB suffixes) # ARB_texture_float enum: (additional; see above) +# TEXTURE_RED_TYPE = 0x8C10 # 3.0 / ARB_fbo # TEXTURE_RED_TYPE_ARB = 0x8C10 +# TEXTURE_GREEN_TYPE = 0x8C11 # 3.0 / ARB_fbo # TEXTURE_GREEN_TYPE_ARB = 0x8C11 +# TEXTURE_BLUE_TYPE = 0x8C12 # 3.0 / ARB_fbo # TEXTURE_BLUE_TYPE_ARB = 0x8C12 +# TEXTURE_ALPHA_TYPE = 0x8C13 # 3.0 / ARB_fbo # TEXTURE_ALPHA_TYPE_ARB = 0x8C13 +# TEXTURE_LUMINANCE_TYPE = 0x8C14 # 3.0 / ARB_fbo # TEXTURE_LUMINANCE_TYPE_ARB = 0x8C14 +# TEXTURE_INTENSITY_TYPE = 0x8C15 # 3.0 / ARB_fbo # TEXTURE_INTENSITY_TYPE_ARB = 0x8C15 +# TEXTURE_DEPTH_TYPE = 0x8C16 # 3.0 / ARB_fbo # TEXTURE_DEPTH_TYPE_ARB = 0x8C16 +# UNSIGNED_NORMALIZED = 0x8C17 # 3.0 / ARB_fbo # UNSIGNED_NORMALIZED_ARB = 0x8C17 +# VERSION_3_0 enum: # EXT_texture_array enum: +# TEXTURE_1D_ARRAY = 0x8C18 # 3.0 # TEXTURE_1D_ARRAY_EXT = 0x8C18 +# PROXY_TEXTURE_1D_ARRAY = 0x8C19 # 3.0 # PROXY_TEXTURE_1D_ARRAY_EXT = 0x8C19 +# TEXTURE_2D_ARRAY = 0x8C1A # 3.0 # TEXTURE_2D_ARRAY_EXT = 0x8C1A +# PROXY_TEXTURE_2D_ARRAY = 0x8C1B # 3.0 # PROXY_TEXTURE_2D_ARRAY_EXT = 0x8C1B +# TEXTURE_BINDING_1D_ARRAY = 0x8C1C # 3.0 # TEXTURE_BINDING_1D_ARRAY_EXT = 0x8C1C +# TEXTURE_BINDING_2D_ARRAY = 0x8C1D # 3.0 # TEXTURE_BINDING_2D_ARRAY_EXT = 0x8C1D # NV_future_use: 0x8C1E-0x8C25 +# ARB_geometry_shader4 enum: (additional; see below) # NV_geometry_program4 enum: # GEOMETRY_PROGRAM_NV = 0x8C26 # MAX_PROGRAM_OUTPUT_VERTICES_NV = 0x8C27 # MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV = 0x8C28 +# MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB = 0x8C29 # MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT = 0x8C29 -# NV_future_use: 0x8C2A-0x8C29 - +# ARB_texture_buffer_object enum: # EXT_texture_buffer_object enum: +# TEXTURE_BUFFER_ARB = 0x8C2A # TEXTURE_BUFFER_EXT = 0x8C2A +# MAX_TEXTURE_BUFFER_SIZE_ARB = 0x8C2B # MAX_TEXTURE_BUFFER_SIZE_EXT = 0x8C2B +# TEXTURE_BINDING_BUFFER_ARB = 0x8C2C # TEXTURE_BINDING_BUFFER_EXT = 0x8C2C +# TEXTURE_BUFFER_FORMAT_ARB = 0x8C2E # TEXTURE_BUFFER_DATA_STORE_BINDING_EXT = 0x8C2D +# TEXTURE_BUFFER_FORMAT_ARB = 0x8C2E # TEXTURE_BUFFER_FORMAT_EXT = 0x8C2E # NV_future_use: 0x8C2F-0x8C39 +# VERSION_3_0 enum: # EXT_packed_float enum: +# R11F_G11F_B10F = 0x8C3A # 3.0 # R11F_G11F_B10F_EXT = 0x8C3A +# UNSIGNED_INT_10F_11F_11F_REV = 0x8C3B # 3.0 # UNSIGNED_INT_10F_11F_11F_REV_EXT = 0x8C3B # RGBA_SIGNED_COMPONENTS_EXT = 0x8C3C +# VERSION_3_0 enum: # EXT_texture_shared_exponent enum: +# RGB9_E5 = 0x8C3D # 3.0 # RGB9_E5_EXT = 0x8C3D +# UNSIGNED_INT_5_9_9_9_REV = 0x8C3E # 3.0 # UNSIGNED_INT_5_9_9_9_REV_EXT = 0x8C3E +# TEXTURE_SHARED_SIZE = 0x8C3F # 3.0 # TEXTURE_SHARED_SIZE_EXT = 0x8C3F # VERSION_2_1 enum: (Generic formats promoted for OpenGL 2.1) @@ -5566,9 +5760,13 @@ SGIX_subsample enum: # COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C72 # COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C73 -# NV_future_use: 0x8C74-0x8C76 +# NV_future_use: 0x8C74-0x8C75 +# VERSION_3_0 enum: +# EXT_transform_feedback enum: # NV_transform_feedback enum: +# TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 0x8C76 # 3.0 +# TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT = 0x8C76 # BACK_PRIMARY_COLOR_NV = 0x8C77 # BACK_SECONDARY_COLOR_NV = 0x8C78 # TEXTURE_COORD_NV = 0x8C79 @@ -5577,22 +5775,50 @@ SGIX_subsample enum: # PRIMITIVE_ID_NV = 0x8C7C # GENERIC_ATTRIB_NV = 0x8C7D # TRANSFORM_FEEDBACK_ATTRIBS_NV = 0x8C7E +# TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F # 3.0 +# TRANSFORM_FEEDBACK_BUFFER_MODE_EXT = 0x8C7F # TRANSFORM_FEEDBACK_BUFFER_MODE_NV = 0x8C7F +# MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80 # 3.0 +# MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT = 0x8C80 # MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV = 0x8C80 # ACTIVE_VARYINGS_NV = 0x8C81 # ACTIVE_VARYING_MAX_LENGTH_NV = 0x8C82 +# TRANSFORM_FEEDBACK_VARYINGS = 0x8C83 # 3.0 +# TRANSFORM_FEEDBACK_VARYINGS_EXT = 0x8C83 # TRANSFORM_FEEDBACK_VARYINGS_NV = 0x8C83 +# TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84 # 3.0 +# TRANSFORM_FEEDBACK_BUFFER_START_EXT = 0x8C84 # TRANSFORM_FEEDBACK_BUFFER_START_NV = 0x8C84 +# TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85 # 3.0 +# TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT = 0x8C85 # TRANSFORM_FEEDBACK_BUFFER_SIZE_NV = 0x8C85 # TRANSFORM_FEEDBACK_RECORD_NV = 0x8C86 +# PRIMITIVES_GENERATED = 0x8C87 # 3.0 +# PRIMITIVES_GENERATED_EXT = 0x8C87 # PRIMITIVES_GENERATED_NV = 0x8C87 +# TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88 # 3.0 +# TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT = 0x8C88 # TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV = 0x8C88 +# RASTERIZER_DISCARD = 0x8C89 # 3.0 +# RASTERIZER_DISCARD_EXT = 0x8C89 # RASTERIZER_DISCARD_NV = 0x8C89 +# MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A # 3.0 +# MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT = 0x8C8A # MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV = 0x8C8A +# MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B # 3.0 +# MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT = 0x8C8B # MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV = 0x8C8B +# INTERLEAVED_ATTRIBS = 0x8C8C # 3.0 +# INTERLEAVED_ATTRIBS_EXT = 0x8C8C # INTERLEAVED_ATTRIBS_NV = 0x8C8C +# SEPARATE_ATTRIBS = 0x8C8D # 3.0 +# SEPARATE_ATTRIBS_EXT = 0x8C8D # SEPARATE_ATTRIBS_NV = 0x8C8D +# TRANSFORM_FEEDBACK_BUFFER = 0x8C8E # 3.0 +# TRANSFORM_FEEDBACK_BUFFER_EXT = 0x8C8E # TRANSFORM_FEEDBACK_BUFFER_NV = 0x8C8E +# TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F # 3.0 +# TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT = 0x8C8F # TRANSFORM_FEEDBACK_BUFFER_BINDING_NV = 0x8C8F ############################################################################### @@ -5610,20 +5836,42 @@ SGIX_subsample enum: # STENCIL_BACK_REF = 0x8CA3 # STENCIL_BACK_VALUE_MASK = 0x8CA4 # STENCIL_BACK_WRITEMASK = 0x8CA5 + +# VERSION_3_0 enum: +# ARB_framebuffer_object enum: (note: no ARB suffixes) # EXT_framebuffer_object enum: (additional; see below) +# FRAMEBUFFER_BINDING = 0x8CA6 # 3.0 / ARB_fbo # FRAMEBUFFER_BINDING_EXT = 0x8CA6 +# DRAW_FRAMEBUFFER_BINDING = GL_FRAMEBUFFER_BINDING # 3.0 / ARB_fbo +# RENDERBUFFER_BINDING = 0x8CA7 # 3.0 / ARB_fbo # RENDERBUFFER_BINDING_EXT = 0x8CA7 + +# VERSION_3_0 enum: +# ARB_framebuffer_object enum: (note: no ARB suffixes) # EXT_framebuffer_blit enum: +# READ_FRAMEBUFFER = 0x8CA8 # 3.0 / ARB_fbo # READ_FRAMEBUFFER_EXT = 0x8CA8 +# DRAW_FRAMEBUFFER = 0x8CA9 # 3.0 / ARB_fbo # DRAW_FRAMEBUFFER_EXT = 0x8CA9 -# READ_FRAMEBUFFER_BINDING_EXT = GL_FRAMEBUFFER_BINDING_EXT -# DRAW_FRAMEBUFFER_BINDING_EXT = 0x8CAA +# DRAW_FRAMEBUFFER_BINDING_EXT = GL_FRAMEBUFFER_BINDING_EXT +# READ_FRAMEBUFFER_BINDING = 0x8CAA # 3.0 / ARB_fbo +# READ_FRAMEBUFFER_BINDING_EXT = 0x8CAA + +# VERSION_3_0 enum: +# ARB_framebuffer_object enum: (note: no ARB suffixes) # EXT_framebuffer_multisample enum: # NV_framebuffer_multisample_coverage enum: (additional; see below) +# RENDERBUFFER_SAMPLES = 0x8CAB # 3.0 / ARB_fbo # RENDERBUFFER_SAMPLES_EXT = 0x8CAB # RENDERBUFFER_COVERAGE_SAMPLES_NV = 0x8CAB -# ARB_future_use: 0x8CAC-08CAF +# VERSION_3_0 enum: +# ARB_depth_buffer_float enum: (note: no ARB suffixes) +# All enums except external format are incompatible with NV_depth_buffer_float +# DEPTH_COMPONENT32F = 0x8CAC +# DEPTH32F_STENCIL8 = 0x8CAD + +# ARB_future_use: 0x8CAF ############################################################################### @@ -5633,67 +5881,120 @@ SGIX_subsample enum: # OpenGL ARB: 0x8CD0-0x8D5F (Framebuffer object specification + headroom) +# VERSION_3_0 enum: +# ARB_geometry_shader4 enum: (additional; see below; note: no ARB suffixes) +# ARB_framebuffer_object enum: (note: no ARB suffixes) # EXT_framebuffer_object enum: (additional; see above) +# FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0 # 3.0 / ARB_fbo # FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT = 0x8CD0 +# FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1 # 3.0 / ARB_fbo # FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT = 0x8CD1 +# FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2 # 3.0 / ARB_fbo # FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT = 0x8CD2 +# FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3 # 3.0 / ARB_fbo # FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT = 0x8CD3 +# FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4 # 3.0 / ARB_fbo # FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT = 0x8CD4 +# FRAMEBUFFER_COMPLETE = 0x8CD5 # 3.0 / ARB_fbo # FRAMEBUFFER_COMPLETE_EXT = 0x8CD5 +# FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6 # 3.0 / ARB_fbo # FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT = 0x8CD6 +# FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7 # 3.0 / ARB_fbo # FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT = 0x8CD7 ## Removed 2005/09/26 in revision #117 of the extension: ## FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT = 0x8CD8 # FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT = 0x8CD9 # FRAMEBUFFER_INCOMPLETE_FORMATS_EXT = 0x8CDA +# FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER = 0x8CDB # 3.0 / ARB_fbo # FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT = 0x8CDB +# FRAMEBUFFER_INCOMPLETE_READ_BUFFER = 0x8CDC # 3.0 / ARB_fbo # FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT = 0x8CDC +# FRAMEBUFFER_UNSUPPORTED = 0x8CDD # 3.0 / ARB_fbo # FRAMEBUFFER_UNSUPPORTED_EXT = 0x8CDD ## Removed 2005/05/31 in revision #113 of the extension: ## FRAMEBUFFER_STATUS_ERROR_EXT = 0x8CDE +# MAX_COLOR_ATTACHMENTS = 0x8CDF # 3.0 / ARB_fbo # MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF +# COLOR_ATTACHMENT0 = 0x8CE0 # 3.0 / ARB_fbo # COLOR_ATTACHMENT0_EXT = 0x8CE0 +# COLOR_ATTACHMENT1 = 0x8CE1 # 3.0 / ARB_fbo # COLOR_ATTACHMENT1_EXT = 0x8CE1 +# COLOR_ATTACHMENT2 = 0x8CE2 # 3.0 / ARB_fbo # COLOR_ATTACHMENT2_EXT = 0x8CE2 +# COLOR_ATTACHMENT3 = 0x8CE3 # 3.0 / ARB_fbo # COLOR_ATTACHMENT3_EXT = 0x8CE3 +# COLOR_ATTACHMENT4 = 0x8CE4 # 3.0 / ARB_fbo # COLOR_ATTACHMENT4_EXT = 0x8CE4 +# COLOR_ATTACHMENT5 = 0x8CE5 # 3.0 / ARB_fbo # COLOR_ATTACHMENT5_EXT = 0x8CE5 +# COLOR_ATTACHMENT6 = 0x8CE6 # 3.0 / ARB_fbo # COLOR_ATTACHMENT6_EXT = 0x8CE6 +# COLOR_ATTACHMENT7 = 0x8CE7 # 3.0 / ARB_fbo # COLOR_ATTACHMENT7_EXT = 0x8CE7 +# COLOR_ATTACHMENT8 = 0x8CE8 # 3.0 / ARB_fbo # COLOR_ATTACHMENT8_EXT = 0x8CE8 +# COLOR_ATTACHMENT9 = 0x8CE9 # 3.0 / ARB_fbo # COLOR_ATTACHMENT9_EXT = 0x8CE9 +# COLOR_ATTACHMENT10 = 0x8CEA # 3.0 / ARB_fbo # COLOR_ATTACHMENT10_EXT = 0x8CEA +# COLOR_ATTACHMENT11 = 0x8CEB # 3.0 / ARB_fbo # COLOR_ATTACHMENT11_EXT = 0x8CEB +# COLOR_ATTACHMENT12 = 0x8CEC # 3.0 / ARB_fbo # COLOR_ATTACHMENT12_EXT = 0x8CEC +# COLOR_ATTACHMENT13 = 0x8CED # 3.0 / ARB_fbo # COLOR_ATTACHMENT13_EXT = 0x8CED +# COLOR_ATTACHMENT14 = 0x8CEE # 3.0 / ARB_fbo # COLOR_ATTACHMENT14_EXT = 0x8CEE +# COLOR_ATTACHMENT15 = 0x8CEF # 3.0 / ARB_fbo # COLOR_ATTACHMENT15_EXT = 0x8CEF # 0x8CF0-0x8CFF reserved for color attachments 16-31, if needed +# DEPTH_ATTACHMENT = 0x8D00 # 3.0 / ARB_fbo # DEPTH_ATTACHMENT_EXT = 0x8D00 # 0x8D01-0x8D1F reserved for depth attachments 1-31, if needed +# STENCIL_ATTACHMENT = 0x8D20 # 3.0 / ARB_fbo # STENCIL_ATTACHMENT_EXT = 0x8D20 # 0x8D21-0x8D3F reserved for stencil attachments 1-31, if needed +# FRAMEBUFFER = 0x8D40 # 3.0 / ARB_fbo # FRAMEBUFFER_EXT = 0x8D40 +# RENDERBUFFER = 0x8D41 # 3.0 / ARB_fbo # RENDERBUFFER_EXT = 0x8D41 +# RENDERBUFFER_WIDTH = 0x8D42 # 3.0 / ARB_fbo # RENDERBUFFER_WIDTH_EXT = 0x8D42 +# RENDERBUFFER_HEIGHT = 0x8D43 # 3.0 / ARB_fbo # RENDERBUFFER_HEIGHT_EXT = 0x8D43 +# RENDERBUFFER_INTERNAL_FORMAT = 0x8D44 # 3.0 / ARB_fbo # RENDERBUFFER_INTERNAL_FORMAT_EXT = 0x8D44 # 0x8D45 unused (reserved for STENCIL_INDEX_EXT, but now use core STENCIL_INDEX instead) +# STENCIL_INDEX1 = 0x8D46 # 3.0 / ARB_fbo # STENCIL_INDEX1_EXT = 0x8D46 +# STENCIL_INDEX4 = 0x8D47 # 3.0 / ARB_fbo # STENCIL_INDEX4_EXT = 0x8D47 +# STENCIL_INDEX8 = 0x8D48 # 3.0 / ARB_fbo # STENCIL_INDEX8_EXT = 0x8D48 +# STENCIL_INDEX16 = 0x8D49 # 3.0 / ARB_fbo # STENCIL_INDEX16_EXT = 0x8D49 # 0x8D4A-0x8D4D reserved for additional stencil formats # Added 2005/05/31 in revision #113 of the extension: +# RENDERBUFFER_RED_SIZE = 0x8D50 # 3.0 / ARB_fbo # RENDERBUFFER_RED_SIZE_EXT = 0x8D50 +# RENDERBUFFER_GREEN_SIZE = 0x8D51 # 3.0 / ARB_fbo # RENDERBUFFER_GREEN_SIZE_EXT = 0x8D51 +# RENDERBUFFER_BLUE_SIZE = 0x8D52 # 3.0 / ARB_fbo # RENDERBUFFER_BLUE_SIZE_EXT = 0x8D52 +# RENDERBUFFER_ALPHA_SIZE = 0x8D53 # 3.0 / ARB_fbo # RENDERBUFFER_ALPHA_SIZE_EXT = 0x8D53 +# RENDERBUFFER_DEPTH_SIZE = 0x8D54 # 3.0 / ARB_fbo # RENDERBUFFER_DEPTH_SIZE_EXT = 0x8D54 +# RENDERBUFFER_STENCIL_SIZE = 0x8D55 # 3.0 / ARB_fbo # RENDERBUFFER_STENCIL_SIZE_EXT = 0x8D55 + +# VERSION_3_0 enum: +# ARB_framebuffer_object enum: (note: no ARB suffixes) # EXT_framebuffer_multisample enum: (additional; see above) # Added 2006/10/10 in revision #6b of the extension. +# FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56 # 3.0 / ARB_fbo # FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT = 0x8D56 +# MAX_SAMPLES = 0x8D57 # 3.0 / ARB_fbo # MAX_SAMPLES_EXT = 0x8D57 # 0x8D58-0x8D5F reserved for additional FBO enums @@ -5711,50 +6012,71 @@ SGIX_subsample enum: # NVIDIA: 0x8D70-0x8DEF # Reserved per email from Pat Brown 2005/10/13 +# VERSION_3_0 enum: # EXT_texture_integer enum: +# RGBA32UI = 0x8D70 # 3.0 # RGBA32UI_EXT = 0x8D70 +# RGB32UI = 0x8D71 # 3.0 # RGB32UI_EXT = 0x8D71 # ALPHA32UI_EXT = 0x8D72 # INTENSITY32UI_EXT = 0x8D73 # LUMINANCE32UI_EXT = 0x8D74 # LUMINANCE_ALPHA32UI_EXT = 0x8D75 +# RGBA16UI = 0x8D76 # 3.0 # RGBA16UI_EXT = 0x8D76 +# RGB16UI = 0x8D77 # 3.0 # RGB16UI_EXT = 0x8D77 # ALPHA16UI_EXT = 0x8D78 # INTENSITY16UI_EXT = 0x8D79 # LUMINANCE16UI_EXT = 0x8D7A # LUMINANCE_ALPHA16UI_EXT = 0x8D7B +# RGBA8UI = 0x8D7C # 3.0 # RGBA8UI_EXT = 0x8D7C +# RGB8UI = 0x8D7D # 3.0 # RGB8UI_EXT = 0x8D7D # ALPHA8UI_EXT = 0x8D7E # INTENSITY8UI_EXT = 0x8D7F # LUMINANCE8UI_EXT = 0x8D80 # LUMINANCE_ALPHA8UI_EXT = 0x8D81 +# RGBA32I = 0x8D82 # 3.0 # RGBA32I_EXT = 0x8D82 +# RGB32I = 0x8D83 # 3.0 # RGB32I_EXT = 0x8D83 # ALPHA32I_EXT = 0x8D84 # INTENSITY32I_EXT = 0x8D85 # LUMINANCE32I_EXT = 0x8D86 # LUMINANCE_ALPHA32I_EXT = 0x8D87 +# RGBA16I = 0x8D88 # 3.0 # RGBA16I_EXT = 0x8D88 +# RGB16I = 0x8D89 # 3.0 # RGB16I_EXT = 0x8D89 # ALPHA16I_EXT = 0x8D8A # INTENSITY16I_EXT = 0x8D8B # LUMINANCE16I_EXT = 0x8D8C # LUMINANCE_ALPHA16I_EXT = 0x8D8D +# RGBA8I = 0x8D8E # 3.0 # RGBA8I_EXT = 0x8D8E +# RGB8I = 0x8D8F # 3.0 # RGB8I_EXT = 0x8D8F # ALPHA8I_EXT = 0x8D90 # INTENSITY8I_EXT = 0x8D91 # LUMINANCE8I_EXT = 0x8D92 # LUMINANCE_ALPHA8I_EXT = 0x8D93 +# RED_INTEGER = 0x8D94 # 3.0 # RED_INTEGER_EXT = 0x8D94 +# GREEN_INTEGER = 0x8D95 # 3.0 # GREEN_INTEGER_EXT = 0x8D95 +# BLUE_INTEGER = 0x8D96 # 3.0 # BLUE_INTEGER_EXT = 0x8D96 +# ALPHA_INTEGER = 0x8D97 # 3.0 # ALPHA_INTEGER_EXT = 0x8D97 +# RGB_INTEGER = 0x8D98 # 3.0 # RGB_INTEGER_EXT = 0x8D98 +# RGBA_INTEGER = 0x8D99 # 3.0 # RGBA_INTEGER_EXT = 0x8D99 +# BGR_INTEGER = 0x8D9A # 3.0 # BGR_INTEGER_EXT = 0x8D9A +# BGRA_INTEGER = 0x8D9B # 3.0 # BGRA_INTEGER_EXT = 0x8D9B # LUMINANCE_INTEGER_EXT = 0x8D9C # LUMINANCE_ALPHA_INTEGER_EXT = 0x8D9D @@ -5773,73 +6095,123 @@ SGIX_subsample enum: # MAX_PROGRAM_GENERIC_ATTRIBS_NV = 0x8DA5 # MAX_PROGRAM_GENERIC_RESULTS_NV = 0x8DA6 +# ARB_geometry_shader4 enum: (additional; see below) # NV_geometry_program4 enum: (additional; see above) +# FRAMEBUFFER_ATTACHMENT_LAYERED_ARB = 0x8DA7 # FRAMEBUFFER_ATTACHMENT_LAYERED_EXT = 0x8DA7 +# FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB = 0x8DA8 # FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT = 0x8DA8 +# FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB = 0x8DA9 # FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT = 0x8DA9 # NV_future_use: 0x8DAA +# NV_future_use: 0x8DAE +# VERSION_3_0 enum: +# ARB_depth_buffer_float enum: (additional; see above; some values different from NV; note: no ARB suffixes) # NV_depth_buffer_float enum: # DEPTH_COMPONENT32F_NV = 0x8DAB # DEPTH32F_STENCIL8_NV = 0x8DAC # FLOAT_32_UNSIGNED_INT_24_8_REV_NV = 0x8DAD +# FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD # DEPTH_BUFFER_FLOAT_MODE_NV = 0x8DAF # NV_future_use: 0x8DB0-0x8DB8 +# VERSION_3_0 enum: +# ARB_framebuffer_sRGB enum: (note: no ARB suffixes) # EXT_framebuffer_sRGB enum: +# FRAMEBUFFER_SRGB = 0x8DB9 # 3.0 / ARB_sRGB # FRAMEBUFFER_SRGB_EXT = 0x8DB9 # FRAMEBUFFER_SRGB_CAPABLE_EXT = 0x8DBA +# VERSION_3_0 enum: +# ARB_texture_compression_rgtc enum: (note: no ARB suffixes) # EXT_texture_compression_rgtc enum: +# COMPRESSED_RED_RGTC1 = 0x8DBB # 3.0 / ARB_tcrgtc # COMPRESSED_RED_RGTC1_EXT = 0x8DBB +# COMPRESSED_SIGNED_RED_RGTC1 = 0x8DBC # 3.0 / ARB_tcrgtc # COMPRESSED_SIGNED_RED_RGTC1_EXT = 0x8DBC +# COMPRESSED_RG_RGTC2 = 0x8DBD # 3.0 / ARB_tcrgtc # COMPRESSED_RED_GREEN_RGTC2_EXT = 0x8DBD +# COMPRESSED_SIGNED_RG_RGTC2 = 0x8DBE # 3.0 / ARB_tcrgtc # COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT = 0x8DBE # NV_future_use: 0x8DBF +# VERSION_3_0 enum: # EXT_gpu_shader4 enum: +# SAMPLER_1D_ARRAY = 0x8DC0 # 3.0 # SAMPLER_1D_ARRAY_EXT = 0x8DC0 +# SAMPLER_2D_ARRAY = 0x8DC1 # 3.0 # SAMPLER_2D_ARRAY_EXT = 0x8DC1 # SAMPLER_BUFFER_EXT = 0x8DC2 +# SAMPLER_1D_ARRAY_SHADOW = 0x8DC3 # 3.0 # SAMPLER_1D_ARRAY_SHADOW_EXT = 0x8DC3 +# SAMPLER_2D_ARRAY_SHADOW = 0x8DC4 # 3.0 # SAMPLER_2D_ARRAY_SHADOW_EXT = 0x8DC4 +# SAMPLER_CUBE_SHADOW = 0x8DC5 # 3.0 # SAMPLER_CUBE_SHADOW_EXT = 0x8DC5 +# UNSIGNED_INT_VEC2 = 0x8DC6 # 3.0 # UNSIGNED_INT_VEC2_EXT = 0x8DC6 +# UNSIGNED_INT_VEC3 = 0x8DC7 # 3.0 # UNSIGNED_INT_VEC3_EXT = 0x8DC7 +# UNSIGNED_INT_VEC4 = 0x8DC8 # 3.0 # UNSIGNED_INT_VEC4_EXT = 0x8DC8 +# INT_SAMPLER_1D = 0x8DC9 # 3.0 # INT_SAMPLER_1D_EXT = 0x8DC9 +# INT_SAMPLER_2D = 0x8DCA # 3.0 # INT_SAMPLER_2D_EXT = 0x8DCA +# INT_SAMPLER_3D = 0x8DCB # 3.0 # INT_SAMPLER_3D_EXT = 0x8DCB +# INT_SAMPLER_CUBE = 0x8DCC # 3.0 # INT_SAMPLER_CUBE_EXT = 0x8DCC # INT_SAMPLER_2D_RECT_EXT = 0x8DCD +# INT_SAMPLER_1D_ARRAY = 0x8DCE # 3.0 # INT_SAMPLER_1D_ARRAY_EXT = 0x8DCE +# INT_SAMPLER_2D_ARRAY = 0x8DCF # 3.0 # INT_SAMPLER_2D_ARRAY_EXT = 0x8DCF # INT_SAMPLER_BUFFER_EXT = 0x8DD0 +# UNSIGNED_INT_SAMPLER_1D = 0x8DD1 # 3.0 # UNSIGNED_INT_SAMPLER_1D_EXT = 0x8DD1 +# UNSIGNED_INT_SAMPLER_2D = 0x8DD2 # 3.0 # UNSIGNED_INT_SAMPLER_2D_EXT = 0x8DD2 +# UNSIGNED_INT_SAMPLER_3D = 0x8DD3 # 3.0 # UNSIGNED_INT_SAMPLER_3D_EXT = 0x8DD3 +# UNSIGNED_INT_SAMPLER_CUBE = 0x8DD4 # 3.0 # UNSIGNED_INT_SAMPLER_CUBE_EXT = 0x8DD4 # UNSIGNED_INT_SAMPLER_2D_RECT_EXT = 0x8DD5 +# UNSIGNED_INT_SAMPLER_1D_ARRAY = 0x8DD6 # 3.0 # UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT = 0x8DD6 +# UNSIGNED_INT_SAMPLER_2D_ARRAY = 0x8DD7 # 3.0 # UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT = 0x8DD7 # UNSIGNED_INT_SAMPLER_BUFFER_EXT = 0x8DD8 +# ARB_geometry_shader4 enum: # EXT_geometry_shader4 enum: +# GEOMETRY_SHADER_ARB = 0x8DD9 # GEOMETRY_SHADER_EXT = 0x8DD9 +# ARB_geometry_shader4 enum: (additional; see above) # NV_geometry_program4 enum: (additional; see above) +# GEOMETRY_VERTICES_OUT_ARB = 0x8DDA # GEOMETRY_VERTICES_OUT_EXT = 0x8DDA +# GEOMETRY_INPUT_TYPE_ARB = 0x8DDB # GEOMETRY_INPUT_TYPE_EXT = 0x8DDB +# GEOMETRY_OUTPUT_TYPE_ARB = 0x8DDC # GEOMETRY_OUTPUT_TYPE_EXT = 0x8DDC +# ARB_geometry_shader4 enum: (additional; see above) # EXT_geometry_shader4 enum: (additional; see above) +# MAX_GEOMETRY_VARYING_COMPONENTS_ARB = 0x8DDD # MAX_GEOMETRY_VARYING_COMPONENTS_EXT = 0x8DDD +# MAX_VERTEX_VARYING_COMPONENTS_ARB = 0x8DDE # MAX_VERTEX_VARYING_COMPONENTS_EXT = 0x8DDE +# MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB = 0x8DDF # MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT = 0x8DDF +# MAX_GEOMETRY_OUTPUT_VERTICES_ARB = 0x8DE0 # MAX_GEOMETRY_OUTPUT_VERTICES_EXT = 0x8DE0 +# MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB = 0x8DE1 # MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT = 0x8DE1 # EXT_bindable_uniform enum: @@ -5870,7 +6242,64 @@ SGIX_subsample enum: # MAX_MULTISAMPLE_COVERAGE_MODES_NV = 0x8E11 # MULTISAMPLE_COVERAGE_MODES_NV = 0x8E12 -# NV_future_use: 0x8E13-0x8E8F +# VERSION_3_0 enum: +# GL_NV_conditional_render enum: +# QUERY_WAIT = 0x8E13 # 3.0 +# QUERY_WAIT_NV = 0x8E13 +# QUERY_NO_WAIT = 0x8E14 # 3.0 +# QUERY_NO_WAIT_NV = 0x8E14 +# QUERY_BY_REGION_WAIT = 0x8E15 # 3.0 +# QUERY_BY_REGION_WAIT_NV = 0x8E15 +# QUERY_BY_REGION_NO_WAIT = 0x8E16 # 3.0 +# QUERY_BY_REGION_NO_WAIT_NV = 0x8E16 + +# NV_future_use: 0x8E17-0x8E21 + +# NV_transform_feedback2 enum: +# TRANSFORM_FEEDBACK_NV = 0x8E22 +# TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV = 0x8E23 +# TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV = 0x8E24 +# TRANSFORM_FEEDBACK_BINDING_NV = 0x8E25 + +# NV_present_video enum: +# FRAME_NV = 0x8E26 +# FIELDS_NV = 0x8E27 +# CURRENT_TIME_NV = 0x8E28 +# NUM_FILL_STREAMS_NV = 0x8E29 +# PRESENT_TIME_NV = 0x8E2A +# PRESENT_DURATION_NV = 0x8E2B + +# NV_future_use: 0x8E2C + +# EXT_direct_state_access enum: +# PROGRAM_MATRIX_EXT = 0x8E2D +# TRANSPOSE_PROGRAM_MATRIX_EXT = 0x8E2E +# PROGRAM_MATRIX_STACK_DEPTH_EXT = 0x8E2F + +# NV_future_use: 0x8E30-0x8E41 + +# EXT_texture_swizzle enum: +# TEXTURE_SWIZZLE_R_EXT = 0x8E42 +# TEXTURE_SWIZZLE_G_EXT = 0x8E43 +# TEXTURE_SWIZZLE_B_EXT = 0x8E44 +# TEXTURE_SWIZZLE_A_EXT = 0x8E45 +# TEXTURE_SWIZZLE_RGBA_EXT = 0x8E46 + +# NV_future_use: 0x8E47-0x8E4F + +# NV_explicit_multisample enum: +# SAMPLE_POSITION_NV = 0x8E50 +# SAMPLE_MASK_NV = 0x8E51 +# SAMPLE_MASK_VALUE_NV = 0x8E52 +# TEXTURE_BINDING_RENDERBUFFER_NV = 0x8E53 +# TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV = 0x8E54 +# MAX_SAMPLE_MASK_WORDS_NV = 0x8E59 +# TEXTURE_RENDERBUFFER_NV = 0x8E55 +# SAMPLER_RENDERBUFFER_NV = 0x8E56 +# INT_SAMPLER_RENDERBUFFER_NV = 0x8E57 +# UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV = 0x8E58 + +# NV_future_use: 0x8E59-0x8E8F ############################################################################### @@ -5884,13 +6313,47 @@ SGIX_subsample enum: # Imagination Tech.: 0x8EA0-0x8EAF +############################################################################### + +# Khronos OpenGL ES WG: 0x8EB0-0x8EBF +# Assigned for Affie Munshi on 2007/07/20 + +############################################################################### + +# Vincent: 0x8EC0-0x8ECF + +############################################################################### + +# NVIDIA: 0x8ED0-0x8F4F +# Assigned for Pat Brown (Khronos bug 3191) + +############################################################################### + +# 3Dlabs: 0x8F50-0x8F5F +# Assigned for Jon Kennedy (Khronos public bug 75) + +############################################################################### + +# ARM: 0x8F60-0x8F6F +# Assigned for Remi Pedersen (Khronos bug 3745) + +############################################################################### + +# HI Corp: 0x8F70-0x8F7F +# Assigned for Mark Callow (Khronos bug 4055) + +############################################################################### + +# Zebra Imaging: 0x8F80-0x8F8F +# Assigned for Mike Weiblen (Khronos public bug 91) + ############################################################################### ### Please remember that new enumerant allocations must be obtained by request ### to the Khronos API registrar (see comments at the top of this file) ### File requests in the Khronos Bugzilla, OpenGL project, Registry component. ############################################################################### -# Any_vendor_future_use: 0x8EB0-0xFFFF +# Any_vendor_future_use: 0x8F90-0xFFFF # # This range must be the last range in the file. To generate a new # range, allocate multiples of 16 from the beginning of the @@ -5925,7 +6388,7 @@ SGIX_subsample enum: ############################################################################### # NEC: 104000-104999 -# Compaq: 105000-105999 +# Compaq: 105000-105999 (Compaq was acquired by HP) # KPC: 106000-106999 (Kubota is out of business) # PGI: 107000-107999 (Portable was acquired by Template Graphics) # E&S: 108000-108999 diff --git a/Source/Bind/Specifications/GL2/enumext.spec b/Source/Bind/Specifications/GL2/enumext.spec index bfe78277..efeec9b8 100644 --- a/Source/Bind/Specifications/GL2/enumext.spec +++ b/Source/Bind/Specifications/GL2/enumext.spec @@ -15,15 +15,11 @@ # glext.h version number - this should be automatically updated, # when changing either enum or template spec files. -# -# Edited for OpenTK -# - passthru: passthru: /* Header file version number, required by OpenGL ABI for Linux */ -passthru: /* glext.h last updated 2007/02/12 */ +passthru: /* glext.h last updated 2008/11/14 */ passthru: /* Current version at http://www.opengl.org/registry/ */ -passthru: #define GL_GLEXT_VERSION 39 +passthru: #define GL_GLEXT_VERSION 44 ############################################################################### # @@ -74,86 +70,6 @@ passthru: #define GL_GLEXT_VERSION 39 # ALIASED_POINT_SIZE_RANGE = 0x846D # 2 F # ALIASED_LINE_WIDTH_RANGE = 0x846E # 2 F -# Light Model (http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml) -LightModelParameter enum: - LIGHT_MODEL_COLOR_CONTROL = 0x81F8 # 1 I - -LightModelColorControl enum: - SINGLE_COLOR = 0x81F9 - SEPARATE_SPECULAR_COLOR = 0x81FA - -GetPName enum: - LIGHT_MODEL_COLOR_CONTROL = 0x81F8 - -# Rescale Normal (http://www.opengl.org/registry/specs/EXT/rescale_normal.txt) -EnableCap enum: - RESCALE_NORMAL = 0x803A # 1 I # Equivalent to EXT_rescale_normal - -# Draw Range Elements (http://www.opengl.org/sdk/docs/man/xhtml/glGet.xml) -GetPName enum: - MAX_ELEMENTS_VERTICES = 0x80E8 - MAX_ELEMENTS_INDICES = 0x80E9 - -# 3d textures (http://www.opengl.org/sdk/docs/man/xhtml/glTexImage3D.xml) -# http://www.opengl.org/sdk/docs/man/xhtml/glPixelStore.xml -TextureTarget enum: - TEXTURE_3D = 0x806F # 1 I - PROXY_TEXTURE_3D = 0x8070 - -PixelType enum: - UNSIGNED_BYTE_3_3_2 = 0x8032 # Equivalent to EXT_packed_pixels - UNSIGNED_SHORT_4_4_4_4 = 0x8033 - UNSIGNED_SHORT_5_5_5_1 = 0x8034 - UNSIGNED_INT_8_8_8_8 = 0x8035 - UNSIGNED_INT_10_10_10_2 = 0x8036 - UNSIGNED_BYTE_2_3_3_REVERSED = 0x8362 # New for OpenGL 1.2 - UNSIGNED_SHORT_5_6_5 = 0x8363 - UNSIGNED_SHORT_5_6_5_REVERSED = 0x8364 - UNSIGNED_SHORT_4_4_4_4_REVERSED = 0x8365 - UNSIGNED_SHORT_1_5_5_5_REVERSED = 0x8366 - UNSIGNED_INT_8_8_8_8_REVERSED = 0x8367 - UNSIGNED_INT_2_10_10_10_REVERSED = 0x8368 - -PixelFormat enum: - BGR = 0x80E0 - BGRA = 0x80E1 - -GetPName enum: - TEXTURE_BINDING_3D = 0x806A # 1 I - SMOOTH_POINT_SIZE_RANGE = 0x0B12 # 2 F - SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13 # 1 F - SMOOTH_LINE_WIDTH_RANGE = 0x0B22 # 2 F - SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23 # 1 F - ALIASED_POINT_SIZE_RANGE = 0x846D # 2 F - ALIASED_LINE_WIDTH_RANGE = 0x846E # 2 F - MAX_3D_TEXTURE_SIZE = 0x8073 # 1 I - -GetTextureParameter enum: - TEXTURE_MIN_LOD = 0x813A # Equivalent to SGIS_texture_lod - TEXTURE_MAX_LOD = 0x813B - TEXTURE_BASE_LEVEL = 0x813C - TEXTURE_MAX_LEVEL = 0x813D - TEXTURE_DEPTH = 0x8071 - TEXTURE_WRAP_R = 0x8072 - -TextureParameterName enum: - CLAMP_TO_EDGE = 0x812F # Equivalent to SGIS_texture_edge_clamp - use GetTextureParameter TEXTURE_MIN_LOD - use GetTextureParameter TEXTURE_MAX_LOD - use GetTextureParameter TEXTURE_BASE_LEVEL - use GetTextureParameter TEXTURE_MAX_LEVEL - use GetTextureParameter TEXTURE_DEPTH - use GetTextureParameter TEXTURE_WRAP_R - -TextureWrapMode enum: - CLAMP_TO_EDGE = 0x812F # Equivalent to SGIS_texture_edge_clamp - -PixelStoreParameter enum: - PACK_SKIP_IMAGES = 0x806B # 1 I - PACK_IMAGE_HEIGHT = 0x806C # 1 F - UNPACK_SKIP_IMAGES = 0x806D # 1 I - UNPACK_IMAGE_HEIGHT = 0x806E # 1 F - ARB_imaging enum: CONSTANT_COLOR = 0x8001 # Equivalent to EXT_blend_color ONE_MINUS_CONSTANT_COLOR = 0x8002 @@ -230,20 +146,11 @@ ARB_imaging enum: CONSTANT_BORDER = 0x8151 REPLICATE_BORDER = 0x8153 CONVOLUTION_BORDER_COLOR = 0x8154 - -MatrixMode enum: - use PixelCopyType COLOR # Supported by the ARB_imaging extension - -BlendEquationMode enum: - FUNC_ADD = 0x8006 # Equivalent to EXT_blend_minmax - MIN = 0x8007 - MAX = 0x8008 - FUNC_SUBTRACT = 0x800A # Equivalent to EXT_blend_subtract - FUNC_REVERSE_SUBTRACT = 0x800B - + + ############################################################################### # -# OpenGL 1.3 enums (edited for OpenTK) +# OpenGL 1.3 enums # ############################################################################### @@ -345,223 +252,10 @@ BlendEquationMode enum: # DOT3_RGB = 0x86AE # Promoted from ARB_texture_env_dot3 # DOT3_RGBA = 0x86AF -# Texture Parameter (http://www.opengl.org/sdk/docs/man/xhtml/glTexParameter.xml) -TextureParameterName enum: - CLAMP_TO_BORDER = 0x812D # Promoted from ARB_texture_border_clamp - -TextureWrapMode enum: - CLAMP_TO_BORDER = 0x812D # Promoted from ARB_texture_border_clamp - -# Multisample (http://www.opengl.org/registry/specs/ARB/multisample.txt) -EnableCap enum: - MULTISAMPLE = 0x809D # Promoted from ARB_multisample - SAMPLE_ALPHA_TO_COVERAGE = 0x809E - SAMPLE_ALPHA_TO_ONE = 0x809F - SAMPLE_COVERAGE = 0x80A0 - -GetPName enum: - MULTISAMPLE = 0x809D # Promoted from ARB_multisample - SAMPLE_ALPHA_TO_COVERAGE = 0x809E - SAMPLE_ALPHA_TO_ONE = 0x809F - SAMPLE_COVERAGE = 0x80A0 - SAMPLE_BUFFERS = 0x80A8 - SAMPLES = 0x80A9 - SAMPLE_COVERAGE_VALUE = 0x80AA - SAMPLE_COVERAGE_INVERT = 0x80AB - -AttribMask enum: - MULTISAMPLE_BIT = 0x20000000 - -# Texture Environment Combine, Crossbar and Dot3 -# http://www.opengl.org/sdk/docs/man/xhtml/glTexEnv.xml -# http://www.opengl.org/registry/specs/ARB/texture_env_combine.txt -# http://www.opengl.org/registry/specs/ARB/texture_env_crossbar.txt -# http://www.opengl.org/registry/specs/ARB/texture_env_dot3.txt -TextureEnvMode enum: - COMBINE = 0x8570 # Promoted from ARB_texture_env_combine - -TextureEnvParameter enum: - COMBINE_RGB = 0x8571 - COMBINE_ALPHA = 0x8572 - SOURCE0_RGB = 0x8580 - SRC1_RGB = 0x8581 - SRC2_RGB = 0x8582 - SRC0_ALPHA = 0x8588 - SRC1_ALPHA = 0x8589 - SRC2_ALPHA = 0x858A - OPERAND0_RGB = 0x8590 - OPERAND1_RGB = 0x8591 - OPERAND2_RGB = 0x8592 - OPERAND0_ALPHA = 0x8598 - OPERAND1_ALPHA = 0x8599 - OPERAND2_ALPHA = 0x859A - RGB_SCALE = 0x8573 - use GetPName ALPHA_SCALE - -# Accepted by GL.TexGen when the pname parameter value is CombineRgb or CombineAlpha. -TextureEnvModeCombine enum: - use StencilOp REPLACE - use TextureEnvMode MODULATE - use AccumOp ADD - ADD_SIGNED = 0x8574 - INTERPOLATE = 0x8575 - SUBTRACT = 0x84E7 - DOT3_RGB = 0x86AE # Promoted from ARB_texture_env_dot3 - DOT3_RGBA = 0x86AF - -# Accepted by GL.TexGen when the pname parameter value is Source0Rgb, Source1Rgb, Source2Rgb, Source0Alpha, Source1Alpha, or Source2Alpha. -TextureEnvModeSource enum: - use MatrixMode TEXTURE - CONSTANT = 0x8576 - PRIMARY_COLOR = 0x8577 - PREVIOUS = 0x8578 - TEXTURE0 = 0x84C0 # Promoted from ARB_multitexture - TEXTURE1 = 0x84C1 - TEXTURE2 = 0x84C2 - TEXTURE3 = 0x84C3 - TEXTURE4 = 0x84C4 - TEXTURE5 = 0x84C5 - TEXTURE6 = 0x84C6 - TEXTURE7 = 0x84C7 - TEXTURE8 = 0x84C8 - TEXTURE9 = 0x84C9 - TEXTURE10 = 0x84CA - TEXTURE11 = 0x84CB - TEXTURE12 = 0x84CC - TEXTURE13 = 0x84CD - TEXTURE14 = 0x84CE - TEXTURE15 = 0x84CF - TEXTURE16 = 0x84D0 - TEXTURE17 = 0x84D1 - TEXTURE18 = 0x84D2 - TEXTURE19 = 0x84D3 - TEXTURE20 = 0x84D4 - TEXTURE21 = 0x84D5 - TEXTURE22 = 0x84D6 - TEXTURE23 = 0x84D7 - TEXTURE24 = 0x84D8 - TEXTURE25 = 0x84D9 - TEXTURE26 = 0x84DA - TEXTURE27 = 0x84DB - TEXTURE28 = 0x84DC - TEXTURE29 = 0x84DD - TEXTURE30 = 0x84DE - TEXTURE31 = 0x84DF - -# Accepted by GL.TexGen when the pname parameter value is Operand0Rgb, Operand1Rgb, or Operand2Rgb. -TextureEnvModeOperandRgb enum: - use BlendingFactorDest SRC_COLOR - use BlendingFactorDest ONE_MINUS_SRC_COLOR - use BlendingFactorDest SRC_ALPHA - use BlendingFactorDest ONE_MINUS_SRC_ALPHA - -# Accepted by GL.TexGen when the pname parameter value is Operand0Alpha, Operand1Alpha, or Operand2Alpha. -TextureEnvModeOperandAlpha enum: - use BlendingFactorDest SRC_ALPHA - use BlendingFactorDest ONE_MINUS_SRC_ALPHA - -# Accepted by GL.TexGen when the pname parameter value is RgbScale or AlphaScale. -TextureEnvModeScale enum: - ONE = 1 - TWO = 2 - FOUR = 4 - -# Transpose Matrix (http://www.opengl.org/registry/specs/ARB/transpose_matrix.txt) -GetPName enum: - TRANSPOSE_MODELVIEW_MATRIX = 0x84E3 # 16 F # Promoted from ARB_transpose_matrix - TRANSPOSE_PROJECTION_MATRIX = 0x84E4 # 16 F - TRANSPOSE_TEXTURE_MATRIX = 0x84E5 # 16 F - TRANSPOSE_COLOR_MATRIX = 0x84E6 # 16 F - -# Cube Maps (http://www.opengl.org/registry/specs/ARB/texture_cube_map.txt) -TextureGenMode enum: - NORMAL_MAP = 0x8511 # Promoted from ARB_texture_cube_map - REFLECTION_MAP = 0x8512 - -EnableCap enum: - TEXTURE_CUBE_MAP = 0x8513 - -TextureTarget enum: - TEXTURE_CUBE_MAP = 0x8513 - TEXTURE_BINDING_CUBE_MAP = 0x8514 - TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515 - TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516 - TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517 - TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518 - TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519 - TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A - PROXY_TEXTURE_CUBE_MAP = 0x851B - -GetPName enum: - TEXTURE_CUBE_MAP = 0x8513 - TEXTURE_BINDING_CUBE_MAP = 0x8514 - MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C - -# Multitexture (http://www.opengl.org/documentation/specs/version1.2/opengl1.2.1.pdf) -GetPName enum: - ACTIVE_TEXTURE = 0x84E0 # 1 I - CLIENT_ACTIVE_TEXTURE = 0x84E1 # 1 I - MAX_TEXTURE_UNITS = 0x84E2 # 1 I - -TextureUnit enum: - TEXTURE0 = 0x84C0 # Promoted from ARB_multitexture - TEXTURE1 = 0x84C1 - TEXTURE2 = 0x84C2 - TEXTURE3 = 0x84C3 - TEXTURE4 = 0x84C4 - TEXTURE5 = 0x84C5 - TEXTURE6 = 0x84C6 - TEXTURE7 = 0x84C7 - TEXTURE8 = 0x84C8 - TEXTURE9 = 0x84C9 - TEXTURE10 = 0x84CA - TEXTURE11 = 0x84CB - TEXTURE12 = 0x84CC - TEXTURE13 = 0x84CD - TEXTURE14 = 0x84CE - TEXTURE15 = 0x84CF - TEXTURE16 = 0x84D0 - TEXTURE17 = 0x84D1 - TEXTURE18 = 0x84D2 - TEXTURE19 = 0x84D3 - TEXTURE20 = 0x84D4 - TEXTURE21 = 0x84D5 - TEXTURE22 = 0x84D6 - TEXTURE23 = 0x84D7 - TEXTURE24 = 0x84D8 - TEXTURE25 = 0x84D9 - TEXTURE26 = 0x84DA - TEXTURE27 = 0x84DB - TEXTURE28 = 0x84DC - TEXTURE29 = 0x84DD - TEXTURE30 = 0x84DE - TEXTURE31 = 0x84DF - -# Compressed Textures (http://www.opengl.org/registry/specs/ARB/texture_compression.txt) -PixelInternalFormat enum: - COMPRESSED_ALPHA = 0x84E9 # Promoted from ARB_texture_compression - COMPRESSED_LUMINANCE = 0x84EA - COMPRESSED_LUMINANCE_ALPHA = 0x84EB - COMPRESSED_INTENSITY = 0x84EC - COMPRESSED_RGB = 0x84ED - COMPRESSED_RGBA = 0x84EE - -HintTarget enum: - TEXTURE_COMPRESSION_HINT = 0x84EF - -GetTextureParameter enum: - TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0 - TEXTURE_COMPRESSED = 0x86A1 - -GetPName enum: - TEXTURE_COMPRESSION_HINT = 0x84EF - NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2 - COMPRESSED_TEXTURE_FORMATS = 0x86A3 - ############################################################################### # -# OpenGL 1.4 enums (edited for OpenTK) +# OpenGL 1.4 enums # ############################################################################### @@ -606,136 +300,10 @@ GetPName enum: # TEXTURE_COMPARE_FUNC = 0x884D # COMPARE_R_TO_TEXTURE = 0x884E -# Generate Mipmap (http://www.opengl.org/registry/specs/SGIS/generate_mipmap.txt) -TextureParameterName enum: - GENERATE_MIPMAP = 0x8191 - -GetPName enum: - GENERATE_MIPMAP_HINT = 0x8192 # 1 I - -GetTextureParameter enum: - GENERATE_MIPMAP = 0x8191 - -HintTarget enum: - GENERATE_MIPMAP_HINT = 0x8192 # 1 I - -# Stencil Wrap (http://www.opengl.org/registry/specs/EXT/stencil_wrap.txt) -StencilOp enum: - INCR_WRAP = 0x8507 - DECR_WRAP = 0x8508 - -# Texture LOD Bias (http://www.opengl.org/registry/specs/EXT/texture_lod_bias.txt) -TextureEnvTarget enum: - TEXTURE_FILTER_CONTROL = 0x8500 - -TextureEnvParameter enum: - TEXTURE_LOD_BIAS = 0x8501 - -GetPName enum: - MAX_TEXTURE_LOD_BIAS = 0x84FD - -# Blendfunc Separate (http://www.opengl.org/registry/specs/EXT/blend_func_separate.txt) -GetPName enum: - BLEND_DST_RGB = 0x80C8 - BLEND_SRC_RGB = 0x80C9 - BLEND_DST_ALPHA = 0x80CA - BLEND_SRC_ALPHA = 0x80CB - -# Texture Filter Control -TextureEnvTarget enum: - TEXTURE_FILTER_CONTROL = 0x8500 - -# Depth Texture -PixelInternalFormat enum: - use PixelFormat DEPTH_COMPONENT - DEPTH_COMPONENT16 = 0x81a5 - DEPTH_COMPONENT24 = 0x81a6 - DEPTH_COMPONENT32 = 0x81a7 - -GetTextureParameter enum: - TEXTURE_DEPTH_SIZE = 0x884A - DEPTH_TEXTURE_MODE = 0x884B - -TextureParameterName enum: - DEPTH_TEXTURE_MODE = 0x884B - -# Texture Wrap Mode -TextureWrapMode enum: - MIRRORED_REPEAT = 0x8370 - -# Shadow (http://opengl.org/registry/specs/ARB/shadow.txt) -TextureParameterName enum: - TEXTURE_COMPARE_MODE = 0x884C - TEXTURE_COMPARE_FUNC = 0x884D - -GetTextureParameter enum: - TEXTURE_COMPARE_MODE = 0x884C - TEXTURE_COMPARE_FUNC = 0x884D - -TextureCompareMode enum: - COMPARE_R_TO_TEXTURE = 0x884E - -# Shadow Ambient (http://opengl.org/registry/specs/ARB/shadow_ambient.txt) -TextureParameterName enum: - TEXTURE_COMPARE_FAIL_VALUE = 0x80BF - -# Fog (http://www.opengl.org/registry/specs/EXT/fog_coord.txt) -FogPointerType enum: - use DataType FLOAT - use DataType DOUBLE - -FogParameter enum: - FOG_COORD_SRC = 0x8450 - -FogMode enum: - FOG_COORD = 0x8451 - FRAGMENT_DEPTH = 0x8452 - -GetPName enum: - CURRENT_FOG_COORD = 0x8453 - FOG_COORD_ARRAY_TYPE = 0x8454 - FOG_COORD_ARRAY_STRIDE = 0x8455 - -GetPointervPName enum: - FOG_COORD_ARRAY_POINTER = 0x8456 - -EnableCap enum: - FOG_COORD_ARRAY = 0x8457 - -# Secondary Color (http://www.opengl.org/registry/specs/EXT/secondary_color.txt) -EnableCap enum: - COLOR_SUM = 0x8458 - SECONDARY_COLOR_ARRAY = 0x845E - -GetPName enum: - COLOR_SUM = 0x8458 - CURRENT_SECONDARY_COLOR = 0x8459 - SECONDARY_COLOR_ARRAY_SIZE = 0x845A - SECONDARY_COLOR_ARRAY_TYPE = 0x845B - SECONDARY_COLOR_ARRAY_STRIDE = 0x845C - -GetPointervPName enum: - SECONDARY_COLOR_ARRAY_POINTER = 0x845D - -# Point Parameters (http://www.opengl.org/registry/specs/ARB/point_parameters.txt) -PointParameterName enum: - POINT_SIZE_MIN = 0x8126 - POINT_SIZE_MAX = 0x8127 - POINT_FADE_THRESHOLD_SIZE = 0x8128 - # this token is only accepted by GL.PointParameterv not GL.PointParameter - POINT_DISTANCE_ATTENUATION = 0x8129 - -GetPName enum: - POINT_SIZE_MIN = 0x8126 - POINT_SIZE_MAX = 0x8127 - POINT_FADE_THRESHOLD_SIZE = 0x8128 - # this token is only accepted by GL.PointParameterv not GL.PointParameter - POINT_DISTANCE_ATTENUATION = 0x8129 - ############################################################################### # -# OpenGL 1.5 enums (edited for OpenTK) +# OpenGL 1.5 enums # ############################################################################### @@ -792,66 +360,10 @@ GetPName enum: # SRC1_ALPHA = GL_SOURCE1_ALPHA # SRC2_ALPHA = GL_SOURCE2_ALPHA -# Occlusion Query -QueryTarget enum: - SAMPLES_PASSED = 0x8914 - -GetQueryParam enum: - QUERY_COUNTER_BITS = 0x8864 - CURRENT_QUERY = 0x8865 - -GetQueryObjectParam enum: - QUERY_RESULT = 0x8866 - QUERY_RESULT_AVAILABLE = 0x8867 - - -# Buffer Objects (http://www.opengl.org/sdk/docs/man/xhtml/glBindBuffer.xml) -BufferTarget enum: - ARRAY_BUFFER = 0x8892 # ARB_vertex_buffer_object - ELEMENT_ARRAY_BUFFER = 0x8893 # ARB_vertex_buffer_object - -BufferUsageHint enum: - STREAM_DRAW = 0x88E0 # ARB_vertex_buffer_object - STREAM_READ = 0x88E1 # ARB_vertex_buffer_object - STREAM_COPY = 0x88E2 # ARB_vertex_buffer_object - STATIC_DRAW = 0x88E4 # ARB_vertex_buffer_object - STATIC_READ = 0x88E5 # ARB_vertex_buffer_object - STATIC_COPY = 0x88E6 # ARB_vertex_buffer_object - DYNAMIC_DRAW = 0x88E8 # ARB_vertex_buffer_object - DYNAMIC_READ = 0x88E9 # ARB_vertex_buffer_object - DYNAMIC_COPY = 0x88EA # ARB_vertex_buffer_object - -BufferAccess enum: - READ_ONLY = 0x88B8 # ARB_vertex_buffer_object - WRITE_ONLY = 0x88B9 # ARB_vertex_buffer_object - READ_WRITE = 0x88BA # ARB_vertex_buffer_object - -BufferParameterName enum: - BUFFER_SIZE = 0x8764 # ARB_vertex_buffer_object - BUFFER_USAGE = 0x8765 # ARB_vertex_buffer_object - BUFFER_ACCESS = 0x88BB # ARB_vertex_buffer_object - BUFFER_MAPPED = 0x88BC # ARB_vertex_buffer_object - -BufferPointer enum: - BUFFER_MAP_POINTER = 0x88BD # ARB_vertex_buffer_object - -GetPName enum: - ARRAY_BUFFER_BINDING = 0x8894 # ARB_vertex_buffer_object - ELEMENT_ARRAY_BUFFER_BINDING = 0x8895 # ARB_vertex_buffer_object - VERTEX_ARRAY_BUFFER_BINDING = 0x8896 # ARB_vertex_buffer_object - NORMAL_ARRAY_BUFFER_BINDING = 0x8897 # ARB_vertex_buffer_object - COLOR_ARRAY_BUFFER_BINDING = 0x8898 # ARB_vertex_buffer_object - INDEX_ARRAY_BUFFER_BINDING = 0x8899 # ARB_vertex_buffer_object - TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A # ARB_vertex_buffer_object - EDGE_FLAG_ARRAY_BUFFER_BINDING = 0x889B # ARB_vertex_buffer_object - SECONDARY_COLOR_ARRAY_BUFFER_BINDING = 0x889C # ARB_vertex_buffer_object - FOG_COORD_ARRAY_BUFFER_BINDING = 0x889D # ARB_vertex_buffer_object - WEIGHT_ARRAY_BUFFER_BINDING = 0x889E # ARB_vertex_buffer_object - VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F # ARB_vertex_buffer_object ############################################################################### # -# OpenGL 2.0 enums (edited for OpenTK) +# OpenGL 2.0 enums # ############################################################################### @@ -941,196 +453,7 @@ GetPName enum: # STENCIL_BACK_VALUE_MASK = 0x8CA4 # ARB_stencil_two_side # STENCIL_BACK_WRITEMASK = 0x8CA5 # ARB_stencil_two_side -# Two Side Stencil -# http://www.opengl.org/sdk/docs/man/xhtml/glStencilFuncSeparate.xml -# http://www.opengl.org/sdk/docs/man/xhtml/glStencilMaskSeparate.xml -# http://www.opengl.org/sdk/docs/man/xhtml/glStencilOpSeparate.xml -GetPName enum: - STENCIL_BACK_FUNC = 0x8800 # ARB_stencil_two_side - STENCIL_BACK_FAIL = 0x8801 # ARB_stencil_two_side - STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802 # ARB_stencil_two_side - STENCIL_BACK_PASS_DEPTH_PASS = 0x8803 # ARB_stencil_two_side - STENCIL_BACK_REF = 0x8CA3 # ARB_stencil_two_side - STENCIL_BACK_VALUE_MASK = 0x8CA4 # ARB_stencil_two_side - STENCIL_BACK_WRITEMASK = 0x8CA5 # ARB_stencil_two_side -# Blend equation separate (http://www.opengl.org/registry/specs/EXT/blend_equation_separate.txt) -GetPName enum: - BLEND_EQUATION_RGB = 0x8009 # EXT_blend_equation_separate - BLEND_EQUATION_ALPHA = 0x883D # EXT_blend_equation_separate - -# Shader Objects -# http://www.opengl.org/sdk/docs/man/xhtml/glCreateShader.xml -# http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniform.xml -ShaderType enum: - FRAGMENT_SHADER = 0x8B30 # ARB_fragment_shader - VERTEX_SHADER = 0x8B31 # ARB_vertex_shader - GEOMETRY_SHADER_EXT = 0x8DD9 # EXT_geometry_shader4 -- not core - -EnableCap enum: - VERTEX_PROGRAM_POINT_SIZE = 0x8642 # ARB_vertex_shader - VERTEX_PROGRAM_TWO_SIDE = 0x8643 # ARB_vertex_shader - -GetPName enum: - FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B # ARB_fragment_shader - MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49 # ARB_fragment_shader - MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A # ARB_vertex_shader - MAX_VARYING_FLOATS = 0x8B4B # ARB_vertex_shader - MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C # ARB_vertex_shader - MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D # ARB_vertex_shader - MAX_TEXTURE_COORDS = 0x8871 # ARB_vertex_shader, ARB_fragment_shader - MAX_TEXTURE_IMAGE_UNITS = 0x8872 # ARB_vertex_shader, ARB_fragment_shader - MAX_VERTEX_ATTRIBS = 0x8869 # ARB_vertex_shader - CURRENT_PROGRAM = 0x8B8D # ARB_shader_objects (added for 2.0) - -ActiveUniformType enum: - use DataType FLOAT - FLOAT_VEC2 = 0x8B50 # ARB_shader_objects - FLOAT_VEC3 = 0x8B51 # ARB_shader_objects - FLOAT_VEC4 = 0x8B52 # ARB_shader_objects - use DataType INT - INT_VEC2 = 0x8B53 # ARB_shader_objects - INT_VEC3 = 0x8B54 # ARB_shader_objects - INT_VEC4 = 0x8B55 # ARB_shader_objects - BOOL = 0x8B56 # ARB_shader_objects - BOOL_VEC2 = 0x8B57 # ARB_shader_objects - BOOL_VEC3 = 0x8B58 # ARB_shader_objects - BOOL_VEC4 = 0x8B59 # ARB_shader_objects - FLOAT_MAT2 = 0x8B5A # ARB_shader_objects - FLOAT_MAT3 = 0x8B5B # ARB_shader_objects - FLOAT_MAT4 = 0x8B5C # ARB_shader_objects - SAMPLER_1D = 0x8B5D # ARB_shader_objects - SAMPLER_2D = 0x8B5E # ARB_shader_objects - SAMPLER_3D = 0x8B5F # ARB_shader_objects - SAMPLER_CUBE = 0x8B60 # ARB_shader_objects - SAMPLER_1D_SHADOW = 0x8B61 # ARB_shader_objects - SAMPLER_2D_SHADOW = 0x8B62 # ARB_shader_objects - -ActiveAttribType enum: - use DataType FLOAT - FLOAT_VEC2 = 0x8B50 # ARB_shader_objects - FLOAT_VEC3 = 0x8B51 # ARB_shader_objects - FLOAT_VEC4 = 0x8B52 # ARB_shader_objects - FLOAT_MAT2 = 0x8B5A # ARB_shader_objects - FLOAT_MAT3 = 0x8B5B # ARB_shader_objects - FLOAT_MAT4 = 0x8B5C # ARB_shader_objects - -VertexAttribPointerType enum: - use DataType BYTE - use DataType UNSIGNED_BYTE - use DataType SHORT - use DataType UNSIGNED_SHORT - use DataType INT - use DataType UNSIGNED_INT - use DataType FLOAT - use DataType DOUBLE - -# Shading Language -StringName enum: - SHADING_LANGUAGE_VERSION = 0x8B8C - -# Used in GetShader (http://www.opengl.org/sdk/docs/man/xhtml/glGetShader.xml) -ShaderParameter enum: - DELETE_STATUS = 0x8B80 # ARB_shader_objects - COMPILE_STATUS = 0x8B81 # ARB_shader_objects - INFO_LOG_LENGTH = 0x8B84 # ARB_shader_objects - SHADER_SOURCE_LENGTH = 0x8B88 # ARB_shader_objects - SHADER_TYPE = 0x8B4F # ARB_shader_objects - -# Used in GetProgram (http://www.opengl.org/sdk/docs/man/xhtml/glGetProgram.xml) -ProgramParameter enum: - DELETE_STATUS = 0x8B80 # ARB_shader_objects - LINK_STATUS = 0x8B82 # ARB_shader_objects - VALIDATE_STATUS = 0x8B83 # ARB_shader_objects - INFO_LOG_LENGTH = 0x8B84 # ARB_shader_objects - ATTACHED_SHADERS = 0x8B85 # ARB_shader_objects - ACTIVE_UNIFORMS = 0x8B86 # ARB_shader_objects - ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87 # ARB_shader_objects - ACTIVE_ATTRIBUTES = 0x8B89 # ARB_vertex_shader - ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A # ARB_vertex_shader - -VertexAttribParameter enum: -# VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622 # ARB_vertex_shader -# VERTEX_ATTRIB_ARRAY_SIZE = 0x8623 # ARB_vertex_shader -# VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624 # ARB_vertex_shader -# VERTEX_ATTRIB_ARRAY_TYPE = 0x8625 # ARB_vertex_shader -# CURRENT_VERTEX_ATTRIB = 0x8626 # ARB_vertex_shader -# VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A # ARB_vertex_shader - ARRAY_ENABLED = 0x8622 # ARB_vertex_shader - ARRAY_SIZE = 0x8623 # ARB_vertex_shader - ARRAY_STRIDE = 0x8624 # ARB_vertex_shader - ARRAY_TYPE = 0x8625 # ARB_vertex_shader - CURRENT_VERTEX_ATTRIB = 0x8626 # ARB_vertex_shader - ARRAY_NORMALIZED = 0x886A # ARB_vertex_shader - -VertexAttribPointerParameter enum: -# VERTEX_ATTRIB_ARRAY_POINTER = 0x8645 # ARB_vertex_shader - ARRAY_POINTER = 0x8645 # ARB_vertex_shader - -# Half Float (http://www.opengl.org/registry/specs/ARB/half_float_pixel.txt) -PixelType enum: - HALF_FLOAT = 0x140B - -# Draw Buffers (http://www.opengl.org/registry/specs/ARB/draw_buffers.txt) -# Monoscopic contexts include only left buffers, while stereoscopic contexts include both left and right buffers. Likewise, single buffered contexts include only front buffers, while double buffered contexts include both front and back buffers. -DrawBuffersEnum enum: - use DrawBufferMode NONE - use DrawBufferMode FRONT_LEFT - use DrawBufferMode FRONT_RIGHT - use DrawBufferMode BACK_LEFT - use DrawBufferMode BACK_RIGHT - use DrawBufferMode AUX0 - use DrawBufferMode AUX1 - use DrawBufferMode AUX2 - use DrawBufferMode AUX3 - -GetPName enum: - MAX_DRAW_BUFFERS = 0x8824 - DRAW_BUFFER0 = 0x8825 - DRAW_BUFFER1 = 0x8826 - DRAW_BUFFER2 = 0x8827 - DRAW_BUFFER3 = 0x8828 - DRAW_BUFFER4 = 0x8829 - DRAW_BUFFER5 = 0x882A - DRAW_BUFFER6 = 0x882B - DRAW_BUFFER7 = 0x882C - DRAW_BUFFER8 = 0x882D - DRAW_BUFFER9 = 0x882E - DRAW_BUFFER10 = 0x882F - DRAW_BUFFER11 = 0x8830 - DRAW_BUFFER12 = 0x8831 - DRAW_BUFFER13 = 0x8832 - DRAW_BUFFER14 = 0x8833 - DRAW_BUFFER15 = 0x8834 - -# Point Sprites -# http://opengl.org/registry/specs/ARB/point_sprite.txt -# http://www.opengl.org/sdk/docs/man/xhtml/glPointParameter.xml -PointParameterName enum: - POINT_SPRITE_COORD_ORIGIN = 0x8CA0 # ARB_point_sprite (added for 2.0) - -# Specifies the coordinate origin of the Point Sprite. -PointSpriteCoordOriginParameter enum: - LOWER_LEFT = 0x8CA1 # ARB_point_sprite (added for 2.0) - UPPER_LEFT = 0x8CA2 # ARB_point_sprite (added for 2.0) - -EnableCap enum: - POINT_SPRITE = 0x8861 - -TextureEnvTarget enum: - POINT_SPRITE = 0x8861 - -TextureEnvParameter enum: - COORD_REPLACE = 0x8862 - -# This Enum may only be used with GL.TexEnv if target is PointSprite and pname is CoordReplace. -TextureEnvModePointSprite enum: - use Boolean TRUE - use Boolean FALSE - -GetPName enum: - POINT_SPRITE = 0x8861 - ############################################################################### # # OpenGL 2.1 enums (edited for OpenTK) @@ -1162,51 +485,249 @@ GetPName enum: # COMPRESSED_SLUMINANCE = 0x8C4A # EXT_texture_sRGB # COMPRESSED_SLUMINANCE_ALPHA = 0x8C4B # EXT_texture_sRGB -# Raster Secondary Color (http://www.opengl.org/sdk/docs/man/xhtml/glGet.xml) -GetPName enum: - CURRENT_RASTER_SECONDARY_COLOR = 0x845F # New for 2.1 -# Shader Uniforms (http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniform.xml) -ActiveUniformType enum: - FLOAT_MAT2x3 = 0x8B65 # New for 2.1 - FLOAT_MAT2x4 = 0x8B66 # New for 2.1 - FLOAT_MAT3x2 = 0x8B67 # New for 2.1 - FLOAT_MAT3x4 = 0x8B68 # New for 2.1 - FLOAT_MAT4x2 = 0x8B69 # New for 2.1 - FLOAT_MAT4x3 = 0x8B6A # New for 2.1 +############################################################################### +# +# OpenGL 3.0 enums (edited for OpenTK) +# +############################################################################### -# Pixel Buffer Objects http://www.opengl.org/sdk/docs/man/xhtml/glBindBuffer.xml -BufferTarget enum: - PIXEL_PACK_BUFFER = 0x88EB # ARB_pixel_buffer_object - PIXEL_UNPACK_BUFFER = 0x88EC # ARB_pixel_buffer_object - -GetPName enum: - PIXEL_PACK_BUFFER_BINDING = 0x88ED # ARB_pixel_buffer_object - PIXEL_UNPACK_BUFFER_BINDING = 0x88EF # ARB_pixel_buffer_object - -# sRGB textures (http://www.opengl.org/registry/specs/EXT/texture_sRGB.txt) -PixelInternalFormat enum: - SRGB = 0x8C40 # EXT_texture_sRGB - SRGB8 = 0x8C41 # EXT_texture_sRGB - SRGB_ALPHA = 0x8C42 # EXT_texture_sRGB - SRGB8_ALPHA8 = 0x8C43 # EXT_texture_sRGB - SLUMINANCE_ALPHA = 0x8C44 # EXT_texture_sRGB - SLUMINANCE8_ALPHA8 = 0x8C45 # EXT_texture_sRGB - SLUMINANCE = 0x8C46 # EXT_texture_sRGB - SLUMINANCE8 = 0x8C47 # EXT_texture_sRGB - COMPRESSED_SRGB = 0x8C48 # EXT_texture_sRGB - COMPRESSED_SRGB_ALPHA = 0x8C49 # EXT_texture_sRGB - COMPRESSED_SLUMINANCE = 0x8C4A # EXT_texture_sRGB - COMPRESSED_SLUMINANCE_ALPHA = 0x8C4B # EXT_texture_sRGB +VERSION_3_0 enum: +# COMPARE_REF_TO_TEXTURE = GL_COMPARE_R_TO_TEXTURE_ARB + CLIP_DISTANCE0 = GL_CLIP_PLANE0 + CLIP_DISTANCE1 = GL_CLIP_PLANE1 + CLIP_DISTANCE2 = GL_CLIP_PLANE2 + CLIP_DISTANCE3 = GL_CLIP_PLANE3 + CLIP_DISTANCE4 = GL_CLIP_PLANE4 + CLIP_DISTANCE5 = GL_CLIP_PLANE5 + MAX_CLIP_DISTANCES = GL_MAX_CLIP_PLANES + MAJOR_VERSION = 0x821B + MINOR_VERSION = 0x821C + NUM_EXTENSIONS = 0x821D + CONTEXT_FLAGS = 0x821E + DEPTH_BUFFER = 0x8223 + STENCIL_BUFFER = 0x8224 +# COMPRESSED_RED = 0x8225 +# COMPRESSED_RG = 0x8226 + CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT = 0x0001 +# RGBA32F = 0x8814 +# RGB32F = 0x8815 +# RGBA16F = 0x881A +# RGB16F = 0x881B + VERTEX_ATTRIB_ARRAY_INTEGER = 0x88FD +# MAX_ARRAY_TEXTURE_LAYERS = 0x88FF + MIN_PROGRAM_TEXEL_OFFSET = 0x8904 + MAX_PROGRAM_TEXEL_OFFSET = 0x8905 +# CLAMP_VERTEX_COLOR = 0x891A +# CLAMP_FRAGMENT_COLOR = 0x891B +# CLAMP_READ_COLOR = 0x891C +# FIXED_ONLY = 0x891D + MAX_VARYING_COMPONENTS = GL_MAX_VARYING_FLOATS +# TEXTURE_RED_TYPE = 0x8C10 +# TEXTURE_GREEN_TYPE = 0x8C11 +# TEXTURE_BLUE_TYPE = 0x8C12 +# TEXTURE_ALPHA_TYPE = 0x8C13 +# TEXTURE_LUMINANCE_TYPE = 0x8C14 +# TEXTURE_INTENSITY_TYPE = 0x8C15 +# TEXTURE_DEPTH_TYPE = 0x8C16 + UNSIGNED_NORMALIZED = 0x8C17 +# TEXTURE_1D_ARRAY = 0x8C18 +# PROXY_TEXTURE_1D_ARRAY = 0x8C19 +# TEXTURE_2D_ARRAY = 0x8C1A +# PROXY_TEXTURE_2D_ARRAY = 0x8C1B +# TEXTURE_BINDING_1D_ARRAY = 0x8C1C +# TEXTURE_BINDING_2D_ARRAY = 0x8C1D +# R11F_G11F_B10F = 0x8C3A + UNSIGNED_INT_10F_11F_11F_REV = 0x8C3B +# RGB9_E5 = 0x8C3D + UNSIGNED_INT_5_9_9_9_REV = 0x8C3E +# TEXTURE_SHARED_SIZE = 0x8C3F + TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 0x8C76 + TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F + MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80 + TRANSFORM_FEEDBACK_VARYINGS = 0x8C83 + TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84 + TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85 + PRIMITIVES_GENERATED = 0x8C87 + TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88 + RASTERIZER_DISCARD = 0x8C89 + MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A + MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B + INTERLEAVED_ATTRIBS = 0x8C8C + SEPARATE_ATTRIBS = 0x8C8D + TRANSFORM_FEEDBACK_BUFFER = 0x8C8E + TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F +# RGBA32UI = 0x8D70 +# RGB32UI = 0x8D71 +# RGBA16UI = 0x8D76 +# RGB16UI = 0x8D77 +# RGBA8UI = 0x8D7C +# RGB8UI = 0x8D7D +# RGBA32I = 0x8D82 +# RGB32I = 0x8D83 +# RGBA16I = 0x8D88 +# RGB16I = 0x8D89 +# RGBA8I = 0x8D8E +# RGB8I = 0x8D8F +# RED_INTEGER = 0x8D94 +# GREEN_INTEGER = 0x8D95 +# BLUE_INTEGER = 0x8D96 +# ALPHA_INTEGER = 0x8D97 +# RGB_INTEGER = 0x8D98 +# RGBA_INTEGER = 0x8D99 +# BGR_INTEGER = 0x8D9A +# BGRA_INTEGER = 0x8D9B +# SAMPLER_1D_ARRAY = 0x8DC0 +# SAMPLER_2D_ARRAY = 0x8DC1 +# SAMPLER_1D_ARRAY_SHADOW = 0x8DC3 +# SAMPLER_2D_ARRAY_SHADOW = 0x8DC4 + SAMPLER_CUBE_SHADOW = 0x8DC5 + UNSIGNED_INT_VEC2 = 0x8DC6 + UNSIGNED_INT_VEC3 = 0x8DC7 + UNSIGNED_INT_VEC4 = 0x8DC8 + INT_SAMPLER_1D = 0x8DC9 + INT_SAMPLER_2D = 0x8DCA + INT_SAMPLER_3D = 0x8DCB + INT_SAMPLER_CUBE = 0x8DCC + INT_SAMPLER_1D_ARRAY = 0x8DCE + INT_SAMPLER_2D_ARRAY = 0x8DCF + UNSIGNED_INT_SAMPLER_1D = 0x8DD1 + UNSIGNED_INT_SAMPLER_2D = 0x8DD2 + UNSIGNED_INT_SAMPLER_3D = 0x8DD3 + UNSIGNED_INT_SAMPLER_CUBE = 0x8DD4 + UNSIGNED_INT_SAMPLER_1D_ARRAY = 0x8DD6 + UNSIGNED_INT_SAMPLER_2D_ARRAY = 0x8DD7 + QUERY_WAIT = 0x8E13 + QUERY_NO_WAIT = 0x8E14 + QUERY_BY_REGION_WAIT = 0x8E15 + QUERY_BY_REGION_NO_WAIT = 0x8E16 +passthru: /* Reuse tokens from ARB_depth_buffer_float */ +# use ARB_depth_buffer_float DEPTH_COMPONENT32F +# use ARB_depth_buffer_float DEPTH32F_STENCIL8 +# use ARB_depth_buffer_float FLOAT_32_UNSIGNED_INT_24_8_REV +passthru: /* Reuse tokens from ARB_framebuffer_object */ +# use ARB_framebuffer_object INVALID_FRAMEBUFFER_OPERATION +# use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING +# use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE +# use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_RED_SIZE +# use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_GREEN_SIZE +# use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_BLUE_SIZE +# use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE +# use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE +# use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE +# use ARB_framebuffer_object FRAMEBUFFER_DEFAULT +# use ARB_framebuffer_object FRAMEBUFFER_UNDEFINED +# use ARB_framebuffer_object DEPTH_STENCIL_ATTACHMENT +# use ARB_framebuffer_object INDEX +# use ARB_framebuffer_object MAX_RENDERBUFFER_SIZE +# use ARB_framebuffer_object DEPTH_STENCIL +# use ARB_framebuffer_object UNSIGNED_INT_24_8 +# use ARB_framebuffer_object DEPTH24_STENCIL8 +# use ARB_framebuffer_object TEXTURE_STENCIL_SIZE +# use ARB_framebuffer_object TEXTURE_RED_TYPE +# use ARB_framebuffer_object TEXTURE_GREEN_TYPE +# use ARB_framebuffer_object TEXTURE_BLUE_TYPE +# use ARB_framebuffer_object TEXTURE_ALPHA_TYPE +# use ARB_framebuffer_object TEXTURE_LUMINANCE_TYPE +# use ARB_framebuffer_object TEXTURE_INTENSITY_TYPE +# use ARB_framebuffer_object TEXTURE_DEPTH_TYPE +# use ARB_framebuffer_object UNSIGNED_NORMALIZED +# use ARB_framebuffer_object FRAMEBUFFER_BINDING +# use ARB_framebuffer_object DRAW_FRAMEBUFFER_BINDING +# use ARB_framebuffer_object RENDERBUFFER_BINDING +# use ARB_framebuffer_object READ_FRAMEBUFFER +# use ARB_framebuffer_object DRAW_FRAMEBUFFER +# use ARB_framebuffer_object READ_FRAMEBUFFER_BINDING +# use ARB_framebuffer_object RENDERBUFFER_SAMPLES +# use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE +# use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_OBJECT_NAME +# use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL +# use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE +# use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER +# use ARB_framebuffer_object FRAMEBUFFER_COMPLETE +# use ARB_framebuffer_object FRAMEBUFFER_INCOMPLETE_ATTACHMENT +# use ARB_framebuffer_object FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT +# use ARB_framebuffer_object FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER +# use ARB_framebuffer_object FRAMEBUFFER_INCOMPLETE_READ_BUFFER +# use ARB_framebuffer_object FRAMEBUFFER_UNSUPPORTED +# use ARB_framebuffer_object MAX_COLOR_ATTACHMENTS +# use ARB_framebuffer_object COLOR_ATTACHMENT0 +# use ARB_framebuffer_object COLOR_ATTACHMENT1 +# use ARB_framebuffer_object COLOR_ATTACHMENT2 +# use ARB_framebuffer_object COLOR_ATTACHMENT3 +# use ARB_framebuffer_object COLOR_ATTACHMENT4 +# use ARB_framebuffer_object COLOR_ATTACHMENT5 +# use ARB_framebuffer_object COLOR_ATTACHMENT6 +# use ARB_framebuffer_object COLOR_ATTACHMENT7 +# use ARB_framebuffer_object COLOR_ATTACHMENT8 +# use ARB_framebuffer_object COLOR_ATTACHMENT9 +# use ARB_framebuffer_object COLOR_ATTACHMENT10 +# use ARB_framebuffer_object COLOR_ATTACHMENT11 +# use ARB_framebuffer_object COLOR_ATTACHMENT12 +# use ARB_framebuffer_object COLOR_ATTACHMENT13 +# use ARB_framebuffer_object COLOR_ATTACHMENT14 +# use ARB_framebuffer_object COLOR_ATTACHMENT15 +# use ARB_framebuffer_object DEPTH_ATTACHMENT +# use ARB_framebuffer_object STENCIL_ATTACHMENT +# use ARB_framebuffer_object FRAMEBUFFER +# use ARB_framebuffer_object RENDERBUFFER +# use ARB_framebuffer_object RENDERBUFFER_WIDTH +# use ARB_framebuffer_object RENDERBUFFER_HEIGHT +# use ARB_framebuffer_object RENDERBUFFER_INTERNAL_FORMAT +# use ARB_framebuffer_object STENCIL_INDEX1 +# use ARB_framebuffer_object STENCIL_INDEX4 +# use ARB_framebuffer_object STENCIL_INDEX8 +# use ARB_framebuffer_object STENCIL_INDEX16 +# use ARB_framebuffer_object RENDERBUFFER_RED_SIZE +# use ARB_framebuffer_object RENDERBUFFER_GREEN_SIZE +# use ARB_framebuffer_object RENDERBUFFER_BLUE_SIZE +# use ARB_framebuffer_object RENDERBUFFER_ALPHA_SIZE +# use ARB_framebuffer_object RENDERBUFFER_DEPTH_SIZE +# use ARB_framebuffer_object RENDERBUFFER_STENCIL_SIZE +# use ARB_framebuffer_object FRAMEBUFFER_INCOMPLETE_MULTISAMPLE +# use ARB_framebuffer_object MAX_SAMPLES +passthru: /* Reuse tokens from ARB_framebuffer_sRGB */ + use ARB_framebuffer_sRGB FRAMEBUFFER_SRGB +passthru: /* Reuse tokens from ARB_half_float_vertex */ + use ARB_half_float_vertex HALF_FLOAT +passthru: /* Reuse tokens from ARB_map_buffer_range */ + use ARB_map_buffer_range MAP_READ_BIT + use ARB_map_buffer_range MAP_WRITE_BIT + use ARB_map_buffer_range MAP_INVALIDATE_RANGE_BIT + use ARB_map_buffer_range MAP_INVALIDATE_BUFFER_BIT + use ARB_map_buffer_range MAP_FLUSH_EXPLICIT_BIT + use ARB_map_buffer_range MAP_UNSYNCHRONIZED_BIT +passthru: /* Reuse tokens from ARB_texture_compression_rgtc */ +# use ARB_texture_compression_rgtc COMPRESSED_RED_RGTC1 +# use ARB_texture_compression_rgtc COMPRESSED_SIGNED_RED_RGTC1 +# use ARB_texture_compression_rgtc COMPRESSED_RG_RGTC2 +# use ARB_texture_compression_rgtc COMPRESSED_SIGNED_RG_RGTC2 +passthru: /* Reuse tokens from ARB_texture_rg */ +# use ARB_texture_rg RG +# use ARB_texture_rg RG_INTEGER +# use ARB_texture_rg R8 +# use ARB_texture_rg R16 +# use ARB_texture_rg RG8 +# use ARB_texture_rg RG16 +# use ARB_texture_rg R16F +# use ARB_texture_rg R32F +# use ARB_texture_rg RG16F +# use ARB_texture_rg RG32F +# use ARB_texture_rg R8I +# use ARB_texture_rg R8UI +# use ARB_texture_rg R16I +# use ARB_texture_rg R16UI +# use ARB_texture_rg R32I +# use ARB_texture_rg R32UI +# use ARB_texture_rg RG8I +# use ARB_texture_rg RG8UI +# use ARB_texture_rg RG16I +# use ARB_texture_rg RG16UI +# use ARB_texture_rg RG32I +# use ARB_texture_rg RG32UI +passthru: /* Reuse tokens from ARB_vertex_array_object */ + use ARB_vertex_array_object VERTEX_ARRAY_BINDING - # Format only valid for 2D Textures - COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C - # Format only valid for 2D Textures - COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D - # Format only valid for 2D Textures - COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E - # Format only valid for 2D Textures - COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F ############################################################################### # @@ -2027,6 +1548,212 @@ ARB_pixel_buffer_object enum: PIXEL_PACK_BUFFER_BINDING_ARB = 0x88ED PIXEL_UNPACK_BUFFER_BINDING_ARB = 0x88EF +############################################################################### + +# ARB Extension #43 +ARB_depth_buffer_float enum: + DEPTH_COMPONENT32F = 0x8CAC + DEPTH32F_STENCIL8 = 0x8CAD + FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD + +############################################################################### + +# ARB Extension #44 +# No new tokens +ARB_draw_instanced enum: + +############################################################################### + +# ARB Extension #45 +ARB_framebuffer_object enum: + INVALID_FRAMEBUFFER_OPERATION = 0x0506 + FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210 + FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211 + FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212 + FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213 + FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214 + FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215 + FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216 + FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217 + FRAMEBUFFER_DEFAULT = 0x8218 + FRAMEBUFFER_UNDEFINED = 0x8219 + DEPTH_STENCIL_ATTACHMENT = 0x821A + INDEX = 0x8222 + MAX_RENDERBUFFER_SIZE = 0x84E8 + DEPTH_STENCIL = 0x84F9 + UNSIGNED_INT_24_8 = 0x84FA + DEPTH24_STENCIL8 = 0x88F0 + TEXTURE_STENCIL_SIZE = 0x88F1 + TEXTURE_RED_TYPE = 0x8C10 + TEXTURE_GREEN_TYPE = 0x8C11 + TEXTURE_BLUE_TYPE = 0x8C12 + TEXTURE_ALPHA_TYPE = 0x8C13 + TEXTURE_LUMINANCE_TYPE = 0x8C14 + TEXTURE_INTENSITY_TYPE = 0x8C15 + TEXTURE_DEPTH_TYPE = 0x8C16 + UNSIGNED_NORMALIZED = 0x8C17 + FRAMEBUFFER_BINDING = 0x8CA6 + DRAW_FRAMEBUFFER_BINDING = GL_FRAMEBUFFER_BINDING + RENDERBUFFER_BINDING = 0x8CA7 + READ_FRAMEBUFFER = 0x8CA8 + DRAW_FRAMEBUFFER = 0x8CA9 + READ_FRAMEBUFFER_BINDING = 0x8CAA + RENDERBUFFER_SAMPLES = 0x8CAB + FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0 + FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1 + FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2 + FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3 + FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4 + FRAMEBUFFER_COMPLETE = 0x8CD5 + FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6 + FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7 + FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER = 0x8CDB + FRAMEBUFFER_INCOMPLETE_READ_BUFFER = 0x8CDC + FRAMEBUFFER_UNSUPPORTED = 0x8CDD + MAX_COLOR_ATTACHMENTS = 0x8CDF + COLOR_ATTACHMENT0 = 0x8CE0 + COLOR_ATTACHMENT1 = 0x8CE1 + COLOR_ATTACHMENT2 = 0x8CE2 + COLOR_ATTACHMENT3 = 0x8CE3 + COLOR_ATTACHMENT4 = 0x8CE4 + COLOR_ATTACHMENT5 = 0x8CE5 + COLOR_ATTACHMENT6 = 0x8CE6 + COLOR_ATTACHMENT7 = 0x8CE7 + COLOR_ATTACHMENT8 = 0x8CE8 + COLOR_ATTACHMENT9 = 0x8CE9 + COLOR_ATTACHMENT10 = 0x8CEA + COLOR_ATTACHMENT11 = 0x8CEB + COLOR_ATTACHMENT12 = 0x8CEC + COLOR_ATTACHMENT13 = 0x8CED + COLOR_ATTACHMENT14 = 0x8CEE + COLOR_ATTACHMENT15 = 0x8CEF + DEPTH_ATTACHMENT = 0x8D00 + STENCIL_ATTACHMENT = 0x8D20 + FRAMEBUFFER = 0x8D40 + RENDERBUFFER = 0x8D41 + RENDERBUFFER_WIDTH = 0x8D42 + RENDERBUFFER_HEIGHT = 0x8D43 + RENDERBUFFER_INTERNAL_FORMAT = 0x8D44 + STENCIL_INDEX1 = 0x8D46 + STENCIL_INDEX4 = 0x8D47 + STENCIL_INDEX8 = 0x8D48 + STENCIL_INDEX16 = 0x8D49 + RENDERBUFFER_RED_SIZE = 0x8D50 + RENDERBUFFER_GREEN_SIZE = 0x8D51 + RENDERBUFFER_BLUE_SIZE = 0x8D52 + RENDERBUFFER_ALPHA_SIZE = 0x8D53 + RENDERBUFFER_DEPTH_SIZE = 0x8D54 + RENDERBUFFER_STENCIL_SIZE = 0x8D55 + FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56 + MAX_SAMPLES = 0x8D57 + +############################################################################### + +# ARB Extension #46 +ARB_framebuffer_sRGB enum: + FRAMEBUFFER_SRGB = 0x8DB9 + +############################################################################### + +# ARB Extension #47 +ARB_geometry_shader4 enum: + LINES_ADJACENCY_ARB = 0x000A + LINE_STRIP_ADJACENCY_ARB = 0x000B + TRIANGLES_ADJACENCY_ARB = 0x000C + TRIANGLE_STRIP_ADJACENCY_ARB = 0x000D + PROGRAM_POINT_SIZE_ARB = 0x8642 + MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB = 0x8C29 + FRAMEBUFFER_ATTACHMENT_LAYERED_ARB = 0x8DA7 + FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB = 0x8DA8 + FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB = 0x8DA9 + GEOMETRY_SHADER_ARB = 0x8DD9 + GEOMETRY_VERTICES_OUT_ARB = 0x8DDA + GEOMETRY_INPUT_TYPE_ARB = 0x8DDB + GEOMETRY_OUTPUT_TYPE_ARB = 0x8DDC + MAX_GEOMETRY_VARYING_COMPONENTS_ARB = 0x8DDD + MAX_VERTEX_VARYING_COMPONENTS_ARB = 0x8DDE + MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB = 0x8DDF + MAX_GEOMETRY_OUTPUT_VERTICES_ARB = 0x8DE0 + MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB = 0x8DE1 + use VERSION_3_0 MAX_VARYING_COMPONENTS + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER + +############################################################################### + +# ARB Extension #48 +ARB_half_float_vertex enum: + HALF_FLOAT = 0x140B + +############################################################################### + +# ARB Extension #49 +ARB_instanced_arrays enum: +# ARB_instanced_arrays enum: +# VERTEX_ATTRIB_ARRAY_DIVISOR_ARB = 0x88FE + +############################################################################### + +# ARB Extension #50 +ARB_map_buffer_range enum: + MAP_READ_BIT = 0x0001 + MAP_WRITE_BIT = 0x0002 + MAP_INVALIDATE_RANGE_BIT = 0x0004 + MAP_INVALIDATE_BUFFER_BIT = 0x0008 + MAP_FLUSH_EXPLICIT_BIT = 0x0010 + MAP_UNSYNCHRONIZED_BIT = 0x0020 + +############################################################################### + +# ARB Extension #51 +ARB_texture_buffer_object enum: + TEXTURE_BUFFER_ARB = 0x8C2A + MAX_TEXTURE_BUFFER_SIZE_ARB = 0x8C2B + TEXTURE_BINDING_BUFFER_ARB = 0x8C2C + TEXTURE_BUFFER_DATA_STORE_BINDING_ARB = 0x8C2D + TEXTURE_BUFFER_FORMAT_ARB = 0x8C2E + +############################################################################### + +# ARB Extension #52 +ARB_texture_compression_rgtc enum: + COMPRESSED_RED_RGTC1 = 0x8DBB + COMPRESSED_SIGNED_RED_RGTC1 = 0x8DBC + COMPRESSED_RG_RGTC2 = 0x8DBD + COMPRESSED_SIGNED_RG_RGTC2 = 0x8DBE + +############################################################################### + +# ARB Extension #53 +ARB_texture_rg enum: + RG = 0x8227 + RG_INTEGER = 0x8228 + R8 = 0x8229 + R16 = 0x822A + RG8 = 0x822B + RG16 = 0x822C + R16F = 0x822D + R32F = 0x822E + RG16F = 0x822F + RG32F = 0x8230 + R8I = 0x8231 + R8UI = 0x8232 + R16I = 0x8233 + R16UI = 0x8234 + R32I = 0x8235 + R32UI = 0x8236 + RG8I = 0x8237 + RG8UI = 0x8238 + RG16I = 0x8239 + RG16UI = 0x823A + RG32I = 0x823B + RG32UI = 0x823C + +############################################################################### + +# ARB Extension #54 +ARB_vertex_array_object enum: + VERTEX_ARRAY_BINDING = 0x85B5 + ############################################################################### # @@ -4799,14 +4526,14 @@ NV_fragment_program2 enum: # Extension #305 NV_vertex_program2_option enum: - use NV_fragment_program2 MAX_PROGRAM_EXEC_INSTRUCTIONS_NV - use NV_fragment_program2 MAX_PROGRAM_CALL_DEPTH_NV + use NV_fragment_program2 MAX_PROGRAM_EXEC_INSTRUCTIONS_NV + use NV_fragment_program2 MAX_PROGRAM_CALL_DEPTH_NV ############################################################################### # Extension #306 NV_vertex_program3 enum: - use ARB_vertex_shader MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB + use ARB_vertex_shader MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB ############################################################################### @@ -5003,8 +4730,8 @@ EXT_texture_sRGB enum: EXT_framebuffer_blit enum: READ_FRAMEBUFFER_EXT = 0x8CA8 DRAW_FRAMEBUFFER_EXT = 0x8CA9 - READ_FRAMEBUFFER_BINDING_EXT = GL_FRAMEBUFFER_BINDING_EXT - DRAW_FRAMEBUFFER_BINDING_EXT = 0x8CAA + DRAW_FRAMEBUFFER_BINDING_EXT = GL_FRAMEBUFFER_BINDING_EXT + READ_FRAMEBUFFER_BINDING_EXT = 0x8CAA ############################################################################### @@ -5083,25 +4810,25 @@ NV_geometry_program4 enum: # Extension #324 EXT_geometry_shader4 enum: GEOMETRY_SHADER_EXT = 0x8DD9 - use NV_geometry_program4 GEOMETRY_VERTICES_OUT_EXT - use NV_geometry_program4 GEOMETRY_INPUT_TYPE_EXT - use NV_geometry_program4 GEOMETRY_OUTPUT_TYPE_EXT - use NV_geometry_program4 MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT + use NV_geometry_program4 GEOMETRY_VERTICES_OUT_EXT + use NV_geometry_program4 GEOMETRY_INPUT_TYPE_EXT + use NV_geometry_program4 GEOMETRY_OUTPUT_TYPE_EXT + use NV_geometry_program4 MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT MAX_GEOMETRY_VARYING_COMPONENTS_EXT = 0x8DDD MAX_VERTEX_VARYING_COMPONENTS_EXT = 0x8DDE MAX_VARYING_COMPONENTS_EXT = 0x8B4B MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT = 0x8DDF MAX_GEOMETRY_OUTPUT_VERTICES_EXT = 0x8DE0 MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT = 0x8DE1 - use NV_geometry_program4 LINES_ADJACENCY_EXT - use NV_geometry_program4 LINE_STRIP_ADJACENCY_EXT - use NV_geometry_program4 TRIANGLES_ADJACENCY_EXT - use NV_geometry_program4 TRIANGLE_STRIP_ADJACENCY_EXT - use NV_geometry_program4 FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT - use NV_geometry_program4 FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT - use NV_geometry_program4 FRAMEBUFFER_ATTACHMENT_LAYERED_EXT - use NV_geometry_program4 FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT - use NV_geometry_program4 PROGRAM_POINT_SIZE_EXT + use NV_geometry_program4 LINES_ADJACENCY_EXT + use NV_geometry_program4 LINE_STRIP_ADJACENCY_EXT + use NV_geometry_program4 TRIANGLES_ADJACENCY_EXT + use NV_geometry_program4 TRIANGLE_STRIP_ADJACENCY_EXT + use NV_geometry_program4 FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT + use NV_geometry_program4 FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT + use NV_geometry_program4 FRAMEBUFFER_ATTACHMENT_LAYERED_EXT + use NV_geometry_program4 FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT + use NV_geometry_program4 PROGRAM_POINT_SIZE_EXT ############################################################################### @@ -5165,7 +4892,7 @@ EXT_texture_array enum: TEXTURE_BINDING_2D_ARRAY_EXT = 0x8C1D MAX_ARRAY_TEXTURE_LAYERS_EXT = 0x88FF COMPARE_REF_DEPTH_TO_TEXTURE_EXT = 0x884E - use NV_geometry_program4 FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT + use NV_geometry_program4 FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT ############################################################################### @@ -5354,3 +5081,1191 @@ EXT_texture_integer enum: # Extension #344 - GLX_EXT_texture_from_pixmap +############################################################################### + +# No new tokens +# Extension #345 +GREMEDY_frame_terminator enum: + +############################################################################### + +# Extension #346 +NV_conditional_render enum: + QUERY_WAIT_NV = 0x8E13 + QUERY_NO_WAIT_NV = 0x8E14 + QUERY_BY_REGION_WAIT_NV = 0x8E15 + QUERY_BY_REGION_NO_WAIT_NV = 0x8E16 + +############################################################################### + +# Extension #347 +NV_present_video enum: + FRAME_NV = 0x8E26 + FIELDS_NV = 0x8E27 + CURRENT_TIME_NV = 0x8E28 + NUM_FILL_STREAMS_NV = 0x8E29 + PRESENT_TIME_NV = 0x8E2A + PRESENT_DURATION_NV = 0x8E2B + +############################################################################### + +# Extension #348 - GLX_NV_video_out +# Extension #349 - WGL_NV_video_out +# Extension #350 - GLX_NV_swap_group +# Extension #351 - WGL_NV_swap_group + +############################################################################### + +# Extension #352 +EXT_transform_feedback enum: + TRANSFORM_FEEDBACK_BUFFER_EXT = 0x8C8E + TRANSFORM_FEEDBACK_BUFFER_START_EXT = 0x8C84 + TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT = 0x8C85 + TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT = 0x8C8F + INTERLEAVED_ATTRIBS_EXT = 0x8C8C + SEPARATE_ATTRIBS_EXT = 0x8C8D + PRIMITIVES_GENERATED_EXT = 0x8C87 + TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT = 0x8C88 + RASTERIZER_DISCARD_EXT = 0x8C89 + MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT = 0x8C8A + MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT = 0x8C8B + MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT = 0x8C80 + TRANSFORM_FEEDBACK_VARYINGS_EXT = 0x8C83 + TRANSFORM_FEEDBACK_BUFFER_MODE_EXT = 0x8C7F + TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT = 0x8C76 + +############################################################################### + +# Extension #353 +EXT_direct_state_access enum: + PROGRAM_MATRIX_EXT = 0x8E2D + TRANSPOSE_PROGRAM_MATRIX_EXT = 0x8E2E + PROGRAM_MATRIX_STACK_DEPTH_EXT = 0x8E2F + +############################################################################### + +# Extension #354 +EXT_vertex_array_bgra enum: + use EXT_bgra BGRA # OpenTK + +############################################################################### + +# Extension #355 - WGL_NV_gpu_affinity + +############################################################################### + +# Extension #356 +EXT_texture_swizzle enum: + TEXTURE_SWIZZLE_R_EXT = 0x8E42 + TEXTURE_SWIZZLE_G_EXT = 0x8E43 + TEXTURE_SWIZZLE_B_EXT = 0x8E44 + TEXTURE_SWIZZLE_A_EXT = 0x8E45 + TEXTURE_SWIZZLE_RGBA_EXT = 0x8E46 + +############################################################################### + +# Extension #357 +NV_explicit_multisample enum: + SAMPLE_POSITION_NV = 0x8E50 + SAMPLE_MASK_NV = 0x8E51 + SAMPLE_MASK_VALUE_NV = 0x8E52 + TEXTURE_BINDING_RENDERBUFFER_NV = 0x8E53 + TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV = 0x8E54 + MAX_SAMPLE_MASK_WORDS_NV = 0x8E59 + TEXTURE_RENDERBUFFER_NV = 0x8E55 + SAMPLER_RENDERBUFFER_NV = 0x8E56 + INT_SAMPLER_RENDERBUFFER_NV = 0x8E57 + UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV = 0x8E58 + +############################################################################### + +# Extension #358 +NV_transform_feedback2 enum: + TRANSFORM_FEEDBACK_NV = 0x8E22 + TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV = 0x8E23 + TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV = 0x8E24 + TRANSFORM_FEEDBACK_BINDING_NV = 0x8E25 + + + + + + + + + + + + + + + + + + + + + + +############################################################################### +# +# OpenTK edits for type safety +# +############################################################################### + +# Version 1.2 + + +# Light Model (http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml) +LightModelParameter enum: + LIGHT_MODEL_COLOR_CONTROL = 0x81F8 # 1 I + +LightModelColorControl enum: + SINGLE_COLOR = 0x81F9 + SEPARATE_SPECULAR_COLOR = 0x81FA + +GetPName enum: + LIGHT_MODEL_COLOR_CONTROL = 0x81F8 + +# Rescale Normal (http://www.opengl.org/registry/specs/EXT/rescale_normal.txt) +EnableCap enum: + RESCALE_NORMAL = 0x803A # 1 I # Equivalent to EXT_rescale_normal + +# Draw Range Elements (http://www.opengl.org/sdk/docs/man/xhtml/glGet.xml) +GetPName enum: + MAX_ELEMENTS_VERTICES = 0x80E8 + MAX_ELEMENTS_INDICES = 0x80E9 + +# 3d textures (http://www.opengl.org/sdk/docs/man/xhtml/glTexImage3D.xml) +# http://www.opengl.org/sdk/docs/man/xhtml/glPixelStore.xml +TextureTarget enum: + TEXTURE_3D = 0x806F # 1 I + PROXY_TEXTURE_3D = 0x8070 + +PixelType enum: + UNSIGNED_BYTE_3_3_2 = 0x8032 # Equivalent to EXT_packed_pixels + UNSIGNED_SHORT_4_4_4_4 = 0x8033 + UNSIGNED_SHORT_5_5_5_1 = 0x8034 + UNSIGNED_INT_8_8_8_8 = 0x8035 + UNSIGNED_INT_10_10_10_2 = 0x8036 + UNSIGNED_BYTE_2_3_3_REVERSED = 0x8362 # New for OpenGL 1.2 + UNSIGNED_SHORT_5_6_5 = 0x8363 + UNSIGNED_SHORT_5_6_5_REVERSED = 0x8364 + UNSIGNED_SHORT_4_4_4_4_REVERSED = 0x8365 + UNSIGNED_SHORT_1_5_5_5_REVERSED = 0x8366 + UNSIGNED_INT_8_8_8_8_REVERSED = 0x8367 + UNSIGNED_INT_2_10_10_10_REVERSED = 0x8368 + +PixelFormat enum: + BGR = 0x80E0 + BGRA = 0x80E1 + +GetPName enum: + TEXTURE_BINDING_3D = 0x806A # 1 I + SMOOTH_POINT_SIZE_RANGE = 0x0B12 # 2 F + SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13 # 1 F + SMOOTH_LINE_WIDTH_RANGE = 0x0B22 # 2 F + SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23 # 1 F + ALIASED_POINT_SIZE_RANGE = 0x846D # 2 F + ALIASED_LINE_WIDTH_RANGE = 0x846E # 2 F + MAX_3D_TEXTURE_SIZE = 0x8073 # 1 I + +GetTextureParameter enum: + TEXTURE_MIN_LOD = 0x813A # Equivalent to SGIS_texture_lod + TEXTURE_MAX_LOD = 0x813B + TEXTURE_BASE_LEVEL = 0x813C + TEXTURE_MAX_LEVEL = 0x813D + TEXTURE_DEPTH = 0x8071 + TEXTURE_WRAP_R = 0x8072 + +TextureParameterName enum: + CLAMP_TO_EDGE = 0x812F # Equivalent to SGIS_texture_edge_clamp + use GetTextureParameter TEXTURE_MIN_LOD + use GetTextureParameter TEXTURE_MAX_LOD + use GetTextureParameter TEXTURE_BASE_LEVEL + use GetTextureParameter TEXTURE_MAX_LEVEL + use GetTextureParameter TEXTURE_DEPTH + use GetTextureParameter TEXTURE_WRAP_R + +TextureWrapMode enum: + CLAMP_TO_EDGE = 0x812F # Equivalent to SGIS_texture_edge_clamp + +PixelStoreParameter enum: + PACK_SKIP_IMAGES = 0x806B # 1 I + PACK_IMAGE_HEIGHT = 0x806C # 1 F + UNPACK_SKIP_IMAGES = 0x806D # 1 I + UNPACK_IMAGE_HEIGHT = 0x806E # 1 F + +MatrixMode enum: + use PixelCopyType COLOR # Supported by the ARB_imaging extension + +BlendEquationMode enum: + FUNC_ADD = 0x8006 # Equivalent to EXT_blend_minmax + MIN = 0x8007 + MAX = 0x8008 + FUNC_SUBTRACT = 0x800A # Equivalent to EXT_blend_subtract + FUNC_REVERSE_SUBTRACT = 0x800B + + +# Version 1.3 + +# Texture Parameter (http://www.opengl.org/sdk/docs/man/xhtml/glTexParameter.xml) +TextureParameterName enum: + CLAMP_TO_BORDER = 0x812D # Promoted from ARB_texture_border_clamp + +TextureWrapMode enum: + CLAMP_TO_BORDER = 0x812D # Promoted from ARB_texture_border_clamp + +# Multisample (http://www.opengl.org/registry/specs/ARB/multisample.txt) +EnableCap enum: + MULTISAMPLE = 0x809D # Promoted from ARB_multisample + SAMPLE_ALPHA_TO_COVERAGE = 0x809E + SAMPLE_ALPHA_TO_ONE = 0x809F + SAMPLE_COVERAGE = 0x80A0 + +GetPName enum: + MULTISAMPLE = 0x809D # Promoted from ARB_multisample + SAMPLE_ALPHA_TO_COVERAGE = 0x809E + SAMPLE_ALPHA_TO_ONE = 0x809F + SAMPLE_COVERAGE = 0x80A0 + SAMPLE_BUFFERS = 0x80A8 + SAMPLES = 0x80A9 + SAMPLE_COVERAGE_VALUE = 0x80AA + SAMPLE_COVERAGE_INVERT = 0x80AB + +AttribMask enum: + MULTISAMPLE_BIT = 0x20000000 + +# Texture Environment Combine, Crossbar and Dot3 +# http://www.opengl.org/sdk/docs/man/xhtml/glTexEnv.xml +# http://www.opengl.org/registry/specs/ARB/texture_env_combine.txt +# http://www.opengl.org/registry/specs/ARB/texture_env_crossbar.txt +# http://www.opengl.org/registry/specs/ARB/texture_env_dot3.txt +TextureEnvMode enum: + COMBINE = 0x8570 # Promoted from ARB_texture_env_combine + +TextureEnvParameter enum: + COMBINE_RGB = 0x8571 + COMBINE_ALPHA = 0x8572 + SOURCE0_RGB = 0x8580 + SRC1_RGB = 0x8581 + SRC2_RGB = 0x8582 + SRC0_ALPHA = 0x8588 + SRC1_ALPHA = 0x8589 + SRC2_ALPHA = 0x858A + OPERAND0_RGB = 0x8590 + OPERAND1_RGB = 0x8591 + OPERAND2_RGB = 0x8592 + OPERAND0_ALPHA = 0x8598 + OPERAND1_ALPHA = 0x8599 + OPERAND2_ALPHA = 0x859A + RGB_SCALE = 0x8573 + use GetPName ALPHA_SCALE + +# Accepted by GL.TexGen when the pname parameter value is CombineRgb or CombineAlpha. +TextureEnvModeCombine enum: + use StencilOp REPLACE + use TextureEnvMode MODULATE + use AccumOp ADD + ADD_SIGNED = 0x8574 + INTERPOLATE = 0x8575 + SUBTRACT = 0x84E7 + DOT3_RGB = 0x86AE # Promoted from ARB_texture_env_dot3 + DOT3_RGBA = 0x86AF + +# Accepted by GL.TexGen when the pname parameter value is Source0Rgb, Source1Rgb, Source2Rgb, Source0Alpha, Source1Alpha, or Source2Alpha. +TextureEnvModeSource enum: + use MatrixMode TEXTURE + CONSTANT = 0x8576 + PRIMARY_COLOR = 0x8577 + PREVIOUS = 0x8578 + TEXTURE0 = 0x84C0 # Promoted from ARB_multitexture + TEXTURE1 = 0x84C1 + TEXTURE2 = 0x84C2 + TEXTURE3 = 0x84C3 + TEXTURE4 = 0x84C4 + TEXTURE5 = 0x84C5 + TEXTURE6 = 0x84C6 + TEXTURE7 = 0x84C7 + TEXTURE8 = 0x84C8 + TEXTURE9 = 0x84C9 + TEXTURE10 = 0x84CA + TEXTURE11 = 0x84CB + TEXTURE12 = 0x84CC + TEXTURE13 = 0x84CD + TEXTURE14 = 0x84CE + TEXTURE15 = 0x84CF + TEXTURE16 = 0x84D0 + TEXTURE17 = 0x84D1 + TEXTURE18 = 0x84D2 + TEXTURE19 = 0x84D3 + TEXTURE20 = 0x84D4 + TEXTURE21 = 0x84D5 + TEXTURE22 = 0x84D6 + TEXTURE23 = 0x84D7 + TEXTURE24 = 0x84D8 + TEXTURE25 = 0x84D9 + TEXTURE26 = 0x84DA + TEXTURE27 = 0x84DB + TEXTURE28 = 0x84DC + TEXTURE29 = 0x84DD + TEXTURE30 = 0x84DE + TEXTURE31 = 0x84DF + +# Accepted by GL.TexGen when the pname parameter value is Operand0Rgb, Operand1Rgb, or Operand2Rgb. +TextureEnvModeOperandRgb enum: + use BlendingFactorDest SRC_COLOR + use BlendingFactorDest ONE_MINUS_SRC_COLOR + use BlendingFactorDest SRC_ALPHA + use BlendingFactorDest ONE_MINUS_SRC_ALPHA + +# Accepted by GL.TexGen when the pname parameter value is Operand0Alpha, Operand1Alpha, or Operand2Alpha. +TextureEnvModeOperandAlpha enum: + use BlendingFactorDest SRC_ALPHA + use BlendingFactorDest ONE_MINUS_SRC_ALPHA + +# Accepted by GL.TexGen when the pname parameter value is RgbScale or AlphaScale. +TextureEnvModeScale enum: + ONE = 1 + TWO = 2 + FOUR = 4 + +# Transpose Matrix (http://www.opengl.org/registry/specs/ARB/transpose_matrix.txt) +GetPName enum: + TRANSPOSE_MODELVIEW_MATRIX = 0x84E3 # 16 F # Promoted from ARB_transpose_matrix + TRANSPOSE_PROJECTION_MATRIX = 0x84E4 # 16 F + TRANSPOSE_TEXTURE_MATRIX = 0x84E5 # 16 F + TRANSPOSE_COLOR_MATRIX = 0x84E6 # 16 F + +# Cube Maps (http://www.opengl.org/registry/specs/ARB/texture_cube_map.txt) +TextureGenMode enum: + NORMAL_MAP = 0x8511 # Promoted from ARB_texture_cube_map + REFLECTION_MAP = 0x8512 + +EnableCap enum: + TEXTURE_CUBE_MAP = 0x8513 + +TextureTarget enum: + TEXTURE_CUBE_MAP = 0x8513 + TEXTURE_BINDING_CUBE_MAP = 0x8514 + TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515 + TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516 + TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517 + TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518 + TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519 + TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A + PROXY_TEXTURE_CUBE_MAP = 0x851B + +GetPName enum: + TEXTURE_CUBE_MAP = 0x8513 + TEXTURE_BINDING_CUBE_MAP = 0x8514 + MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C + +# Multitexture (http://www.opengl.org/documentation/specs/version1.2/opengl1.2.1.pdf) +GetPName enum: + ACTIVE_TEXTURE = 0x84E0 # 1 I + CLIENT_ACTIVE_TEXTURE = 0x84E1 # 1 I + MAX_TEXTURE_UNITS = 0x84E2 # 1 I + +TextureUnit enum: + TEXTURE0 = 0x84C0 # Promoted from ARB_multitexture + TEXTURE1 = 0x84C1 + TEXTURE2 = 0x84C2 + TEXTURE3 = 0x84C3 + TEXTURE4 = 0x84C4 + TEXTURE5 = 0x84C5 + TEXTURE6 = 0x84C6 + TEXTURE7 = 0x84C7 + TEXTURE8 = 0x84C8 + TEXTURE9 = 0x84C9 + TEXTURE10 = 0x84CA + TEXTURE11 = 0x84CB + TEXTURE12 = 0x84CC + TEXTURE13 = 0x84CD + TEXTURE14 = 0x84CE + TEXTURE15 = 0x84CF + TEXTURE16 = 0x84D0 + TEXTURE17 = 0x84D1 + TEXTURE18 = 0x84D2 + TEXTURE19 = 0x84D3 + TEXTURE20 = 0x84D4 + TEXTURE21 = 0x84D5 + TEXTURE22 = 0x84D6 + TEXTURE23 = 0x84D7 + TEXTURE24 = 0x84D8 + TEXTURE25 = 0x84D9 + TEXTURE26 = 0x84DA + TEXTURE27 = 0x84DB + TEXTURE28 = 0x84DC + TEXTURE29 = 0x84DD + TEXTURE30 = 0x84DE + TEXTURE31 = 0x84DF + +# Compressed Textures (http://www.opengl.org/registry/specs/ARB/texture_compression.txt) +PixelInternalFormat enum: + COMPRESSED_ALPHA = 0x84E9 # Promoted from ARB_texture_compression + COMPRESSED_LUMINANCE = 0x84EA + COMPRESSED_LUMINANCE_ALPHA = 0x84EB + COMPRESSED_INTENSITY = 0x84EC + COMPRESSED_RGB = 0x84ED + COMPRESSED_RGBA = 0x84EE + +HintTarget enum: + TEXTURE_COMPRESSION_HINT = 0x84EF + +GetTextureParameter enum: + TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0 + TEXTURE_COMPRESSED = 0x86A1 + +GetPName enum: + TEXTURE_COMPRESSION_HINT = 0x84EF + NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2 + COMPRESSED_TEXTURE_FORMATS = 0x86A3 + + +# Version 1.4 + +# Generate Mipmap (http://www.opengl.org/registry/specs/SGIS/generate_mipmap.txt) +TextureParameterName enum: + GENERATE_MIPMAP = 0x8191 + +GetPName enum: + GENERATE_MIPMAP_HINT = 0x8192 # 1 I + +GetTextureParameter enum: + GENERATE_MIPMAP = 0x8191 + +HintTarget enum: + GENERATE_MIPMAP_HINT = 0x8192 # 1 I + +# Stencil Wrap (http://www.opengl.org/registry/specs/EXT/stencil_wrap.txt) +StencilOp enum: + INCR_WRAP = 0x8507 + DECR_WRAP = 0x8508 + +# Texture LOD Bias (http://www.opengl.org/registry/specs/EXT/texture_lod_bias.txt) +TextureEnvTarget enum: + TEXTURE_FILTER_CONTROL = 0x8500 + +TextureEnvParameter enum: + TEXTURE_LOD_BIAS = 0x8501 + +GetPName enum: + MAX_TEXTURE_LOD_BIAS = 0x84FD + +# Blendfunc Separate (http://www.opengl.org/registry/specs/EXT/blend_func_separate.txt) +GetPName enum: + BLEND_DST_RGB = 0x80C8 + BLEND_SRC_RGB = 0x80C9 + BLEND_DST_ALPHA = 0x80CA + BLEND_SRC_ALPHA = 0x80CB + +# Texture Filter Control +TextureEnvTarget enum: + TEXTURE_FILTER_CONTROL = 0x8500 + +# Depth Texture +PixelInternalFormat enum: + use PixelFormat DEPTH_COMPONENT + DEPTH_COMPONENT16 = 0x81a5 + DEPTH_COMPONENT24 = 0x81a6 + DEPTH_COMPONENT32 = 0x81a7 + +GetTextureParameter enum: + TEXTURE_DEPTH_SIZE = 0x884A + DEPTH_TEXTURE_MODE = 0x884B + +TextureParameterName enum: + DEPTH_TEXTURE_MODE = 0x884B + +# Texture Wrap Mode +TextureWrapMode enum: + MIRRORED_REPEAT = 0x8370 + +# Shadow (http://opengl.org/registry/specs/ARB/shadow.txt) +TextureParameterName enum: + TEXTURE_COMPARE_MODE = 0x884C + TEXTURE_COMPARE_FUNC = 0x884D + +GetTextureParameter enum: + TEXTURE_COMPARE_MODE = 0x884C + TEXTURE_COMPARE_FUNC = 0x884D + +TextureCompareMode enum: + COMPARE_R_TO_TEXTURE = 0x884E + +# Shadow Ambient (http://opengl.org/registry/specs/ARB/shadow_ambient.txt) +TextureParameterName enum: + TEXTURE_COMPARE_FAIL_VALUE = 0x80BF + +# Fog (http://www.opengl.org/registry/specs/EXT/fog_coord.txt) +FogPointerType enum: + use DataType FLOAT + use DataType DOUBLE + +FogParameter enum: + FOG_COORD_SRC = 0x8450 + +FogMode enum: + FOG_COORD = 0x8451 + FRAGMENT_DEPTH = 0x8452 + +GetPName enum: + CURRENT_FOG_COORD = 0x8453 + FOG_COORD_ARRAY_TYPE = 0x8454 + FOG_COORD_ARRAY_STRIDE = 0x8455 + +GetPointervPName enum: + FOG_COORD_ARRAY_POINTER = 0x8456 + +EnableCap enum: + FOG_COORD_ARRAY = 0x8457 + +# Secondary Color (http://www.opengl.org/registry/specs/EXT/secondary_color.txt) +EnableCap enum: + COLOR_SUM = 0x8458 + SECONDARY_COLOR_ARRAY = 0x845E + +GetPName enum: + COLOR_SUM = 0x8458 + CURRENT_SECONDARY_COLOR = 0x8459 + SECONDARY_COLOR_ARRAY_SIZE = 0x845A + SECONDARY_COLOR_ARRAY_TYPE = 0x845B + SECONDARY_COLOR_ARRAY_STRIDE = 0x845C + +GetPointervPName enum: + SECONDARY_COLOR_ARRAY_POINTER = 0x845D + +# Point Parameters (http://www.opengl.org/registry/specs/ARB/point_parameters.txt) +PointParameterName enum: + POINT_SIZE_MIN = 0x8126 + POINT_SIZE_MAX = 0x8127 + POINT_FADE_THRESHOLD_SIZE = 0x8128 + # this token is only accepted by GL.PointParameterv not GL.PointParameter + POINT_DISTANCE_ATTENUATION = 0x8129 + +GetPName enum: + POINT_SIZE_MIN = 0x8126 + POINT_SIZE_MAX = 0x8127 + POINT_FADE_THRESHOLD_SIZE = 0x8128 + # this token is only accepted by GL.PointParameterv not GL.PointParameter + POINT_DISTANCE_ATTENUATION = 0x8129 + +# Version 1.5 + +# Occlusion Query +QueryTarget enum: + SAMPLES_PASSED = 0x8914 + +GetQueryParam enum: + QUERY_COUNTER_BITS = 0x8864 + CURRENT_QUERY = 0x8865 + +GetQueryObjectParam enum: + QUERY_RESULT = 0x8866 + QUERY_RESULT_AVAILABLE = 0x8867 + + +# Buffer Objects (http://www.opengl.org/sdk/docs/man/xhtml/glBindBuffer.xml) +BufferTarget enum: + ARRAY_BUFFER = 0x8892 # ARB_vertex_buffer_object + ELEMENT_ARRAY_BUFFER = 0x8893 # ARB_vertex_buffer_object + +BufferUsageHint enum: + STREAM_DRAW = 0x88E0 # ARB_vertex_buffer_object + STREAM_READ = 0x88E1 # ARB_vertex_buffer_object + STREAM_COPY = 0x88E2 # ARB_vertex_buffer_object + STATIC_DRAW = 0x88E4 # ARB_vertex_buffer_object + STATIC_READ = 0x88E5 # ARB_vertex_buffer_object + STATIC_COPY = 0x88E6 # ARB_vertex_buffer_object + DYNAMIC_DRAW = 0x88E8 # ARB_vertex_buffer_object + DYNAMIC_READ = 0x88E9 # ARB_vertex_buffer_object + DYNAMIC_COPY = 0x88EA # ARB_vertex_buffer_object + +BufferAccess enum: + READ_ONLY = 0x88B8 # ARB_vertex_buffer_object + WRITE_ONLY = 0x88B9 # ARB_vertex_buffer_object + READ_WRITE = 0x88BA # ARB_vertex_buffer_object + +BufferParameterName enum: + BUFFER_SIZE = 0x8764 # ARB_vertex_buffer_object + BUFFER_USAGE = 0x8765 # ARB_vertex_buffer_object + BUFFER_ACCESS = 0x88BB # ARB_vertex_buffer_object + BUFFER_MAPPED = 0x88BC # ARB_vertex_buffer_object + +BufferPointer enum: + BUFFER_MAP_POINTER = 0x88BD # ARB_vertex_buffer_object + +GetPName enum: + ARRAY_BUFFER_BINDING = 0x8894 # ARB_vertex_buffer_object + ELEMENT_ARRAY_BUFFER_BINDING = 0x8895 # ARB_vertex_buffer_object + VERTEX_ARRAY_BUFFER_BINDING = 0x8896 # ARB_vertex_buffer_object + NORMAL_ARRAY_BUFFER_BINDING = 0x8897 # ARB_vertex_buffer_object + COLOR_ARRAY_BUFFER_BINDING = 0x8898 # ARB_vertex_buffer_object + INDEX_ARRAY_BUFFER_BINDING = 0x8899 # ARB_vertex_buffer_object + TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A # ARB_vertex_buffer_object + EDGE_FLAG_ARRAY_BUFFER_BINDING = 0x889B # ARB_vertex_buffer_object + SECONDARY_COLOR_ARRAY_BUFFER_BINDING = 0x889C # ARB_vertex_buffer_object + FOG_COORD_ARRAY_BUFFER_BINDING = 0x889D # ARB_vertex_buffer_object + WEIGHT_ARRAY_BUFFER_BINDING = 0x889E # ARB_vertex_buffer_object + VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F # ARB_vertex_buffer_object + + +# Version 2.0 + +# Two Side Stencil +# http://www.opengl.org/sdk/docs/man/xhtml/glStencilFuncSeparate.xml +# http://www.opengl.org/sdk/docs/man/xhtml/glStencilMaskSeparate.xml +# http://www.opengl.org/sdk/docs/man/xhtml/glStencilOpSeparate.xml +GetPName enum: + STENCIL_BACK_FUNC = 0x8800 # ARB_stencil_two_side + STENCIL_BACK_FAIL = 0x8801 # ARB_stencil_two_side + STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802 # ARB_stencil_two_side + STENCIL_BACK_PASS_DEPTH_PASS = 0x8803 # ARB_stencil_two_side + STENCIL_BACK_REF = 0x8CA3 # ARB_stencil_two_side + STENCIL_BACK_VALUE_MASK = 0x8CA4 # ARB_stencil_two_side + STENCIL_BACK_WRITEMASK = 0x8CA5 # ARB_stencil_two_side + +# Blend equation separate (http://www.opengl.org/registry/specs/EXT/blend_equation_separate.txt) +GetPName enum: + BLEND_EQUATION_RGB = 0x8009 # EXT_blend_equation_separate + BLEND_EQUATION_ALPHA = 0x883D # EXT_blend_equation_separate + +# Shader Objects +# http://www.opengl.org/sdk/docs/man/xhtml/glCreateShader.xml +# http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniform.xml +ShaderType enum: + FRAGMENT_SHADER = 0x8B30 # ARB_fragment_shader + VERTEX_SHADER = 0x8B31 # ARB_vertex_shader + GEOMETRY_SHADER_EXT = 0x8DD9 # EXT_geometry_shader4 -- not core + +EnableCap enum: + VERTEX_PROGRAM_POINT_SIZE = 0x8642 # ARB_vertex_shader + VERTEX_PROGRAM_TWO_SIDE = 0x8643 # ARB_vertex_shader + +GetPName enum: + FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B # ARB_fragment_shader + MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49 # ARB_fragment_shader + MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A # ARB_vertex_shader + MAX_VARYING_FLOATS = 0x8B4B # ARB_vertex_shader + MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C # ARB_vertex_shader + MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D # ARB_vertex_shader + MAX_TEXTURE_COORDS = 0x8871 # ARB_vertex_shader, ARB_fragment_shader + MAX_TEXTURE_IMAGE_UNITS = 0x8872 # ARB_vertex_shader, ARB_fragment_shader + MAX_VERTEX_ATTRIBS = 0x8869 # ARB_vertex_shader + CURRENT_PROGRAM = 0x8B8D # ARB_shader_objects (added for 2.0) + +ActiveUniformType enum: + use DataType FLOAT + FLOAT_VEC2 = 0x8B50 # ARB_shader_objects + FLOAT_VEC3 = 0x8B51 # ARB_shader_objects + FLOAT_VEC4 = 0x8B52 # ARB_shader_objects + use DataType INT + INT_VEC2 = 0x8B53 # ARB_shader_objects + INT_VEC3 = 0x8B54 # ARB_shader_objects + INT_VEC4 = 0x8B55 # ARB_shader_objects + BOOL = 0x8B56 # ARB_shader_objects + BOOL_VEC2 = 0x8B57 # ARB_shader_objects + BOOL_VEC3 = 0x8B58 # ARB_shader_objects + BOOL_VEC4 = 0x8B59 # ARB_shader_objects + FLOAT_MAT2 = 0x8B5A # ARB_shader_objects + FLOAT_MAT3 = 0x8B5B # ARB_shader_objects + FLOAT_MAT4 = 0x8B5C # ARB_shader_objects + SAMPLER_1D = 0x8B5D # ARB_shader_objects + SAMPLER_2D = 0x8B5E # ARB_shader_objects + SAMPLER_3D = 0x8B5F # ARB_shader_objects + SAMPLER_CUBE = 0x8B60 # ARB_shader_objects + SAMPLER_1D_SHADOW = 0x8B61 # ARB_shader_objects + SAMPLER_2D_SHADOW = 0x8B62 # ARB_shader_objects + +ActiveAttribType enum: + use DataType FLOAT + FLOAT_VEC2 = 0x8B50 # ARB_shader_objects + FLOAT_VEC3 = 0x8B51 # ARB_shader_objects + FLOAT_VEC4 = 0x8B52 # ARB_shader_objects + FLOAT_MAT2 = 0x8B5A # ARB_shader_objects + FLOAT_MAT3 = 0x8B5B # ARB_shader_objects + FLOAT_MAT4 = 0x8B5C # ARB_shader_objects + +VertexAttribPointerType enum: + use DataType BYTE + use DataType UNSIGNED_BYTE + use DataType SHORT + use DataType UNSIGNED_SHORT + use DataType INT + use DataType UNSIGNED_INT + use DataType FLOAT + use DataType DOUBLE + +# Shading Language +StringName enum: + SHADING_LANGUAGE_VERSION = 0x8B8C + +# Used in GetShader (http://www.opengl.org/sdk/docs/man/xhtml/glGetShader.xml) +ShaderParameter enum: + DELETE_STATUS = 0x8B80 # ARB_shader_objects + COMPILE_STATUS = 0x8B81 # ARB_shader_objects + INFO_LOG_LENGTH = 0x8B84 # ARB_shader_objects + SHADER_SOURCE_LENGTH = 0x8B88 # ARB_shader_objects + SHADER_TYPE = 0x8B4F # ARB_shader_objects + +# Used in GetProgram (http://www.opengl.org/sdk/docs/man/xhtml/glGetProgram.xml) +ProgramParameter enum: + DELETE_STATUS = 0x8B80 # ARB_shader_objects + LINK_STATUS = 0x8B82 # ARB_shader_objects + VALIDATE_STATUS = 0x8B83 # ARB_shader_objects + INFO_LOG_LENGTH = 0x8B84 # ARB_shader_objects + ATTACHED_SHADERS = 0x8B85 # ARB_shader_objects + ACTIVE_UNIFORMS = 0x8B86 # ARB_shader_objects + ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87 # ARB_shader_objects + ACTIVE_ATTRIBUTES = 0x8B89 # ARB_vertex_shader + ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A # ARB_vertex_shader + +VertexAttribParameter enum: +# VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622 # ARB_vertex_shader +# VERTEX_ATTRIB_ARRAY_SIZE = 0x8623 # ARB_vertex_shader +# VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624 # ARB_vertex_shader +# VERTEX_ATTRIB_ARRAY_TYPE = 0x8625 # ARB_vertex_shader +# CURRENT_VERTEX_ATTRIB = 0x8626 # ARB_vertex_shader +# VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A # ARB_vertex_shader + ARRAY_ENABLED = 0x8622 # ARB_vertex_shader + ARRAY_SIZE = 0x8623 # ARB_vertex_shader + ARRAY_STRIDE = 0x8624 # ARB_vertex_shader + ARRAY_TYPE = 0x8625 # ARB_vertex_shader + CURRENT_VERTEX_ATTRIB = 0x8626 # ARB_vertex_shader + ARRAY_NORMALIZED = 0x886A # ARB_vertex_shader + +VertexAttribPointerParameter enum: +# VERTEX_ATTRIB_ARRAY_POINTER = 0x8645 # ARB_vertex_shader + ARRAY_POINTER = 0x8645 # ARB_vertex_shader + +# Half Float (http://www.opengl.org/registry/specs/ARB/half_float_pixel.txt) +PixelType enum: + HALF_FLOAT = 0x140B + +# Draw Buffers (http://www.opengl.org/registry/specs/ARB/draw_buffers.txt) +# Monoscopic contexts include only left buffers, while stereoscopic contexts include both left and right buffers. Likewise, single buffered contexts include only front buffers, while double buffered contexts include both front and back buffers. +DrawBuffersEnum enum: + use DrawBufferMode NONE + use DrawBufferMode FRONT_LEFT + use DrawBufferMode FRONT_RIGHT + use DrawBufferMode BACK_LEFT + use DrawBufferMode BACK_RIGHT + use DrawBufferMode AUX0 + use DrawBufferMode AUX1 + use DrawBufferMode AUX2 + use DrawBufferMode AUX3 + +GetPName enum: + MAX_DRAW_BUFFERS = 0x8824 + DRAW_BUFFER0 = 0x8825 + DRAW_BUFFER1 = 0x8826 + DRAW_BUFFER2 = 0x8827 + DRAW_BUFFER3 = 0x8828 + DRAW_BUFFER4 = 0x8829 + DRAW_BUFFER5 = 0x882A + DRAW_BUFFER6 = 0x882B + DRAW_BUFFER7 = 0x882C + DRAW_BUFFER8 = 0x882D + DRAW_BUFFER9 = 0x882E + DRAW_BUFFER10 = 0x882F + DRAW_BUFFER11 = 0x8830 + DRAW_BUFFER12 = 0x8831 + DRAW_BUFFER13 = 0x8832 + DRAW_BUFFER14 = 0x8833 + DRAW_BUFFER15 = 0x8834 + +# Point Sprites +# http://opengl.org/registry/specs/ARB/point_sprite.txt +# http://www.opengl.org/sdk/docs/man/xhtml/glPointParameter.xml +PointParameterName enum: + POINT_SPRITE_COORD_ORIGIN = 0x8CA0 # ARB_point_sprite (added for 2.0) + +# Specifies the coordinate origin of the Point Sprite. +PointSpriteCoordOriginParameter enum: + LOWER_LEFT = 0x8CA1 # ARB_point_sprite (added for 2.0) + UPPER_LEFT = 0x8CA2 # ARB_point_sprite (added for 2.0) + +EnableCap enum: + POINT_SPRITE = 0x8861 + +TextureEnvTarget enum: + POINT_SPRITE = 0x8861 + +TextureEnvParameter enum: + COORD_REPLACE = 0x8862 + +# This Enum may only be used with GL.TexEnv if target is PointSprite and pname is CoordReplace. +TextureEnvModePointSprite enum: + use Boolean TRUE + use Boolean FALSE + +GetPName enum: + POINT_SPRITE = 0x8861 + + +# Version 2.1 + +# Raster Secondary Color (http://www.opengl.org/sdk/docs/man/xhtml/glGet.xml) +GetPName enum: + CURRENT_RASTER_SECONDARY_COLOR = 0x845F # New for 2.1 + +# Shader Uniforms (http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniform.xml) +ActiveUniformType enum: + FLOAT_MAT2x3 = 0x8B65 # New for 2.1 + FLOAT_MAT2x4 = 0x8B66 # New for 2.1 + FLOAT_MAT3x2 = 0x8B67 # New for 2.1 + FLOAT_MAT3x4 = 0x8B68 # New for 2.1 + FLOAT_MAT4x2 = 0x8B69 # New for 2.1 + FLOAT_MAT4x3 = 0x8B6A # New for 2.1 + +# Pixel Buffer Objects http://www.opengl.org/sdk/docs/man/xhtml/glBindBuffer.xml +BufferTarget enum: + PIXEL_PACK_BUFFER = 0x88EB # ARB_pixel_buffer_object + PIXEL_UNPACK_BUFFER = 0x88EC # ARB_pixel_buffer_object + +GetPName enum: + PIXEL_PACK_BUFFER_BINDING = 0x88ED # ARB_pixel_buffer_object + PIXEL_UNPACK_BUFFER_BINDING = 0x88EF # ARB_pixel_buffer_object + +# sRGB textures (http://www.opengl.org/registry/specs/EXT/texture_sRGB.txt) +PixelInternalFormat enum: + SRGB = 0x8C40 # EXT_texture_sRGB + SRGB8 = 0x8C41 # EXT_texture_sRGB + SRGB_ALPHA = 0x8C42 # EXT_texture_sRGB + SRGB8_ALPHA8 = 0x8C43 # EXT_texture_sRGB + SLUMINANCE_ALPHA = 0x8C44 # EXT_texture_sRGB + SLUMINANCE8_ALPHA8 = 0x8C45 # EXT_texture_sRGB + SLUMINANCE = 0x8C46 # EXT_texture_sRGB + SLUMINANCE8 = 0x8C47 # EXT_texture_sRGB + COMPRESSED_SRGB = 0x8C48 # EXT_texture_sRGB + COMPRESSED_SRGB_ALPHA = 0x8C49 # EXT_texture_sRGB + COMPRESSED_SLUMINANCE = 0x8C4A # EXT_texture_sRGB + COMPRESSED_SLUMINANCE_ALPHA = 0x8C4B # EXT_texture_sRGB + + # Format only valid for 2D Textures + COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C + # Format only valid for 2D Textures + COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D + # Format only valid for 2D Textures + COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E + # Format only valid for 2D Textures + COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F + + +# Version 3.0 + +# Promoted from ARB_color_buffer_float +ClampColorTarget enum: + CLAMP_VERTEX_COLOR = 0x891A + CLAMP_FRAGMENT_COLOR = 0x891B + CLAMP_READ_COLOR = 0x891C + +ClampColorMode enum: + FIXED_ONLY = 0x891D + use Boolean TRUE + use Boolean FALSE + +GetPName enum: + RGBA_FLOAT_MODE = 0x8820 + use ClampColorTarget CLAMP_VERTEX_COLOR + use ClampColorTarget CLAMP_FRAGMENT_COLOR + use ClampColorTarget CLAMP_READ_COLOR + +# Promoted from ARB_texture_float +GetTextureParameter enum: + TEXTURE_RED_TYPE = 0x8C10 + TEXTURE_GREEN_TYPE = 0x8C11 + TEXTURE_BLUE_TYPE = 0x8C12 + TEXTURE_ALPHA_TYPE = 0x8C13 + TEXTURE_LUMINANCE_TYPE = 0x8C14 + TEXTURE_INTENSITY_TYPE = 0x8C15 + TEXTURE_DEPTH_TYPE = 0x8C16 + +# Page 180 of glspec30.20080923.pdf +PixelInternalFormat enum: + RGBA32F = 0x8814 + RGB32F = 0x8815 + RGBA16F = 0x881A + RGB16F = 0x881B + R11F_G11F_B10F = 0x8C3A + RGB9_E5 = 0x8C3D + use ARB_depth_buffer_float DEPTH_COMPONENT32F + use ARB_depth_buffer_float DEPTH32F_STENCIL8 + use ARB_depth_buffer_float FLOAT_32_UNSIGNED_INT_24_8_REV + +# Promoted from EXT_texture_integer +PixelInternalFormat enum: + RGBA32UI = 0x8D70 + RGB32UI = 0x8D71 + RGBA16UI = 0x8D76 + RGB16UI = 0x8D77 + RGBA8UI = 0x8D7C + RGB8UI = 0x8D7D + RGBA32I = 0x8D82 + RGB32I = 0x8D83 + RGBA16I = 0x8D88 + RGB16I = 0x8D89 + RGBA8I = 0x8D8E + RGB8I = 0x8D8F + +PixelFormat enum: + RED_INTEGER = 0x8D94 + GREEN_INTEGER = 0x8D95 + BLUE_INTEGER = 0x8D96 + ALPHA_INTEGER = 0x8D97 + RGB_INTEGER = 0x8D98 + RGBA_INTEGER = 0x8D99 + BGR_INTEGER = 0x8D9A + BGRA_INTEGER = 0x8D9B + +# Promoted from ARB_texture_rg +PixelInternalFormat enum: + use ARB_texture_rg R8 + use ARB_texture_rg R16 + use ARB_texture_rg RG8 + use ARB_texture_rg RG16 + use ARB_texture_rg R16F + use ARB_texture_rg R32F + use ARB_texture_rg RG16F + use ARB_texture_rg RG32F + use ARB_texture_rg R8I + use ARB_texture_rg R8UI + use ARB_texture_rg R16I + use ARB_texture_rg R16UI + use ARB_texture_rg R32I + use ARB_texture_rg R32UI + use ARB_texture_rg RG8I + use ARB_texture_rg RG8UI + use ARB_texture_rg RG16I + use ARB_texture_rg RG16UI + use ARB_texture_rg RG32I + use ARB_texture_rg RG32UI + +PixelFormat enum: + use ARB_texture_rg RG + use ARB_texture_rg RG_INTEGER + +TextureParameterName enum: + RED = 0x1903 + +# Promoted from ARB_texture_compression_rgtc +PixelInternalFormat enum: + use ARB_texture_compression_rgtc COMPRESSED_RED_RGTC1 + use ARB_texture_compression_rgtc COMPRESSED_SIGNED_RED_RGTC1 + use ARB_texture_compression_rgtc COMPRESSED_RG_RGTC2 + use ARB_texture_compression_rgtc COMPRESSED_SIGNED_RG_RGTC2 + COMPRESSED_RED = 0x8225 + COMPRESSED_RG = 0x8226 + +# Promoted from EXT_texture_array +TextureTarget enum: + TEXTURE_1D_ARRAY = 0x8C18 + PROXY_TEXTURE_1D_ARRAY = 0x8C19 + TEXTURE_2D_ARRAY = 0x8C1A + PROXY_TEXTURE_2D_ARRAY = 0x8C1B + +GetPName enum: + TEXTURE_BINDING_1D_ARRAY = 0x8C1C + TEXTURE_BINDING_2D_ARRAY = 0x8C1D + MAX_ARRAY_TEXTURE_LAYERS = 0x88FF + +TextureCompareMode enum: + COMPARE_REF_TO_TEXTURE = GL_COMPARE_R_TO_TEXTURE_ARB + +ActiveUniformType enum: + SAMPLER_1D_ARRAY = 0x8DC0 + SAMPLER_2D_ARRAY = 0x8DC1 + SAMPLER_1D_ARRAY_SHADOW = 0x8DC3 + SAMPLER_2D_ARRAY_SHADOW = 0x8DC4 + +# Promoted from ARB_framebuffer_object +BlitFramebufferFilter enum: + use TextureMagFilter LINEAR + use TextureMagFilter NEAREST + +FramebufferTarget enum: + use ARB_framebuffer_object READ_FRAMEBUFFER + use ARB_framebuffer_object DRAW_FRAMEBUFFER + use ARB_framebuffer_object FRAMEBUFFER + +FramebufferParameterName enum: + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_RED_SIZE + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_GREEN_SIZE + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_BLUE_SIZE + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_OBJECT_NAME + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE + use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER + +FramebufferAttachment enum: + use ARB_framebuffer_object COLOR_ATTACHMENT0 + use ARB_framebuffer_object COLOR_ATTACHMENT1 + use ARB_framebuffer_object COLOR_ATTACHMENT2 + use ARB_framebuffer_object COLOR_ATTACHMENT3 + use ARB_framebuffer_object COLOR_ATTACHMENT4 + use ARB_framebuffer_object COLOR_ATTACHMENT5 + use ARB_framebuffer_object COLOR_ATTACHMENT6 + use ARB_framebuffer_object COLOR_ATTACHMENT7 + use ARB_framebuffer_object COLOR_ATTACHMENT8 + use ARB_framebuffer_object COLOR_ATTACHMENT9 + use ARB_framebuffer_object COLOR_ATTACHMENT10 + use ARB_framebuffer_object COLOR_ATTACHMENT11 + use ARB_framebuffer_object COLOR_ATTACHMENT12 + use ARB_framebuffer_object COLOR_ATTACHMENT13 + use ARB_framebuffer_object COLOR_ATTACHMENT14 + use ARB_framebuffer_object COLOR_ATTACHMENT15 + use ARB_framebuffer_object DEPTH_ATTACHMENT + use ARB_framebuffer_object STENCIL_ATTACHMENT + use ARB_framebuffer_object DEPTH_STENCIL_ATTACHMENT + +FramebufferAttachmentObjectType enum: + NONE = 0 + use ARB_framebuffer_object FRAMEBUFFER_DEFAULT + use MatrixMode TEXTURE + use ARB_framebuffer_object RENDERBUFFER + +FramebufferAttachmentComponentType enum: + use DataType FLOAT + use DataType INT + use ARB_framebuffer_object UNSIGNED_NORMALIZED + use ARB_framebuffer_object INDEX + +FramebufferErrorCode enum: + use ARB_framebuffer_object FRAMEBUFFER_COMPLETE + use ARB_framebuffer_object FRAMEBUFFER_INCOMPLETE_ATTACHMENT + use ARB_framebuffer_object FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT + use ARB_framebuffer_object FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER + use ARB_framebuffer_object FRAMEBUFFER_INCOMPLETE_READ_BUFFER + use ARB_framebuffer_object FRAMEBUFFER_UNSUPPORTED + use ARB_framebuffer_object FRAMEBUFFER_INCOMPLETE_MULTISAMPLE + use ARB_framebuffer_object FRAMEBUFFER_UNDEFINED + +RenderbufferTarget enum: + use ARB_framebuffer_object RENDERBUFFER + +RenderbufferParameterName enum: + use ARB_framebuffer_object RENDERBUFFER_SAMPLES + use ARB_framebuffer_object RENDERBUFFER_WIDTH + use ARB_framebuffer_object RENDERBUFFER_HEIGHT + use ARB_framebuffer_object RENDERBUFFER_INTERNAL_FORMAT + use ARB_framebuffer_object RENDERBUFFER_RED_SIZE + use ARB_framebuffer_object RENDERBUFFER_GREEN_SIZE + use ARB_framebuffer_object RENDERBUFFER_BLUE_SIZE + use ARB_framebuffer_object RENDERBUFFER_ALPHA_SIZE + use ARB_framebuffer_object RENDERBUFFER_DEPTH_SIZE + use ARB_framebuffer_object RENDERBUFFER_STENCIL_SIZE + +RenderbufferStorage enum: + use PixelInternalFormat ALPHA4 + use PixelInternalFormat ALPHA8 + use PixelInternalFormat ALPHA12 + use PixelInternalFormat ALPHA16 + use PixelInternalFormat R8 + use PixelInternalFormat R16 + use PixelInternalFormat RG8 + use PixelInternalFormat RG16 + use PixelInternalFormat R3_G3_B2 + use PixelInternalFormat RGB4 + use PixelInternalFormat RGB5 + use PixelInternalFormat RGB8 + use PixelInternalFormat RGB10 + use PixelInternalFormat RGB12 + use PixelInternalFormat RGB16 + use PixelInternalFormat RGBA2 + use PixelInternalFormat RGBA4 + use PixelInternalFormat RGB5 A1 + use PixelInternalFormat RGBA8 + use PixelInternalFormat RGB10_A2 + use PixelInternalFormat RGBA12 + use PixelInternalFormat RGBA16 + use PixelInternalFormat SRGB8 + use PixelInternalFormat SRGB8_ALPHA8 + use PixelInternalFormat R16F + use PixelInternalFormat RG16F + use PixelInternalFormat RGB16F + use PixelInternalFormat RGBA16F + use PixelInternalFormat R32F + use PixelInternalFormat RG32F + use PixelInternalFormat RGB32F + use PixelInternalFormat RGBA32F + use PixelInternalFormat R11F_G11F_B10F + use PixelInternalFormat RGB9_E5 + use PixelInternalFormat R8I + use PixelInternalFormat R8UI + use PixelInternalFormat R16I + use PixelInternalFormat R16UI + use PixelInternalFormat R32I + use PixelInternalFormat R32UI + use PixelInternalFormat RG8I + use PixelInternalFormat RG8UI + use PixelInternalFormat RG16I + use PixelInternalFormat RG16UI + use PixelInternalFormat RG32I + use PixelInternalFormat RG32UI + use PixelInternalFormat RGB8I + use PixelInternalFormat RGB8UI + use PixelInternalFormat RGB16I + use PixelInternalFormat RGB16UI + use PixelInternalFormat RGB32I + use PixelInternalFormat RGB32UI + use PixelInternalFormat RGBA8I + use PixelInternalFormat RGBA8UI + use PixelInternalFormat RGBA16I + use PixelInternalFormat RGBA16UI + use PixelInternalFormat RGBA32I + use PixelInternalFormat RGBA32UI + + use PixelInternalFormat DEPTH_COMPONENT16 + use PixelInternalFormat DEPTH_COMPONENT24 + use PixelInternalFormat DEPTH_COMPONENT32 + use PixelInternalFormat DEPTH_COMPONENT32F + use PixelInternalFormat DEPTH24_STENCIL8 + use PixelInternalFormat DEPTH32F_STENCIL8 + + use ARB_framebuffer_object STENCIL_INDEX1 + use ARB_framebuffer_object STENCIL_INDEX4 + use ARB_framebuffer_object STENCIL_INDEX8 + use ARB_framebuffer_object STENCIL_INDEX16 + +GetPName enum: + use ARB_framebuffer_object MAX_SAMPLES + use ARB_framebuffer_object MAX_COLOR_ATTACHMENTS + use ARB_framebuffer_object FRAMEBUFFER_BINDING + use ARB_framebuffer_object DRAW_FRAMEBUFFER_BINDING + use ARB_framebuffer_object READ_FRAMEBUFFER_BINDING + use ARB_framebuffer_object RENDERBUFFER_BINDING + use ARB_framebuffer_object MAX_RENDERBUFFER_SIZE + +ErrorCode enum: + use ARB_framebuffer_object INVALID_FRAMEBUFFER_OPERATION + +PixelFormat enum: + use ARB_framebuffer_object DEPTH_STENCIL + +PixelInternalFormat enum: + use ARB_framebuffer_object DEPTH_STENCIL + use ARB_framebuffer_object DEPTH24_STENCIL8 + +PixelType enum: + use ARB_framebuffer_object UNSIGNED_INT_24_8 + +GetTextureParameter enum: + TEXTURE_SHARED_SIZE = 0x8C3F + use ARB_framebuffer_object TEXTURE_STENCIL_SIZE + use ARB_framebuffer_object TEXTURE_RED_TYPE + use ARB_framebuffer_object TEXTURE_GREEN_TYPE + use ARB_framebuffer_object TEXTURE_BLUE_TYPE + use ARB_framebuffer_object TEXTURE_ALPHA_TYPE + use ARB_framebuffer_object TEXTURE_LUMINANCE_TYPE + use ARB_framebuffer_object TEXTURE_INTENSITY_TYPE + use ARB_framebuffer_object TEXTURE_DEPTH_TYPE + +# End (don't remove, or the last token may be missed!) diff --git a/Source/Bind/Specifications/GL2/gl.spec b/Source/Bind/Specifications/GL2/gl.spec index e2eb0332..b31519dd 100644 --- a/Source/Bind/Specifications/GL2/gl.spec +++ b/Source/Bind/Specifications/GL2/gl.spec @@ -1,32 +1,11 @@ # gl.spec file # DON'T REMOVE PREVIOUS LINE!!! libspec depends on it! # -# License Applicability. Except to the extent portions of this file are -# made subject to an alternative license as permitted in the SGI Free -# Software License B, Version 1.1 (the "License"), the contents of this -# file are subject only to the provisions of the License. You may not use -# this file except in compliance with the License. You may obtain a copy -# of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 -# Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: +# Copyright (C) 1991-2005 Silicon Graphics, Inc. All Rights Reserved. # -# http://oss.sgi.com/projects/FreeB -# -# Note that, as provided in the License, the Software is distributed on an -# "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS -# DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND -# CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A -# PARTICULAR PURPOSE, AND NON-INFRINGEMENT. -# -# Original Code. The Original Code is: OpenGL Sample Implementation, -# Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, -# Inc. The Original Code is Copyright (c) 1991-2005 Silicon Graphics, Inc. -# Copyright in any portions created by third parties is as indicated -# elsewhere herein. All Rights Reserved. -# -# Additional Notice Provisions: This software was created using the -# OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has -# not been independently verified as being compliant with the OpenGL(R) -# version 1.2.1 Specification. +# This document is licensed under the SGI Free Software B License Version +# 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . + # @@ NOTE - need to distinguish extensions via some (new?) flag for glext.pl # @@ NOTE - 'alias' commands are not yet used in SI generator scripts, but should be @@ -38,16 +17,17 @@ param: retval retained dlflags: notlistable handcode glxflags: client-intercept client-handcode server-handcode EXT SGI ignore ARB vectorequiv: * -category: display-list drawing drawing-control feedback framebuf misc modeling pixel-op pixel-rw state-req xform 1_1 VERSION_1_2 VERSION_1_3 VERSION_1_4 VERSION_1_5 VERSION_2_0 VERSION_2_1 ATI_element_array ATI_envmap_bumpmap ATI_fragment_shader ATI_pn_triangles ATI_vertex_array_object ATI_vertex_streams EXT_blend_color EXT_blend_minmax EXT_convolution EXT_copy_texture EXT_histogram EXT_polygon_offset EXT_subtexture EXT_texture3D EXT_texture_object EXT_vertex_array EXT_vertex_shader SGIS_detail_texture SGIS_multisample SGIS_pixel_texture ARB_point_parameters EXT_point_parameters SGIS_point_parameters SGIS_sharpen_texture SGIS_texture4D SGIS_texture_filter4 SGIX_async SGIX_flush_raster SGIX_fragment_lighting SGIX_framezoom SGIX_igloo_interface SGIX_instruments SGIX_list_priority SGIX_pixel_texture SGIX_polynomial_ffd SGIX_reference_plane SGIX_sprite SGIX_tag_sample_buffer SGI_color_table ARB_multitexture ARB_multisample ARB_texture_compression ARB_transpose_matrix ARB_vertex_blend ARB_matrix_palette EXT_compiled_vertex_array EXT_cull_vertex EXT_index_func EXT_index_material EXT_draw_range_elements EXT_vertex_weighting INGR_blend_func_separate NV_evaluators NV_fence NV_occlusion_query NV_point_sprite NV_register_combiners NV_register_combiners2 NV_vertex_array_range NV_vertex_program NV_vertex_program1_1_dcc MESA_resize_buffers MESA_window_pos PGI_misc_hints EXT_fog_coord EXT_blend_func_separate EXT_color_subtable EXT_coordinate_frame EXT_light_texture EXT_multi_draw_arrays EXT_paletted_texture EXT_pixel_transform EXT_secondary_color EXT_texture_perturb_normal HP_image_transform IBM_multimode_draw_arrays IBM_vertex_array_lists INTEL_parallel_arrays SUNX_constant_data SUN_global_alpha SUN_mesh_array SUN_triangle_list SUN_vertex 3DFX_tbuffer EXT_multisample SGIS_fog_function SGIS_texture_color_mask ARB_window_pos EXT_stencil_two_side EXT_depth_bounds_test EXT_blend_equation_separate ARB_vertex_program ARB_fragment_program ARB_vertex_buffer_object ARB_occlusion_query ARB_shader_objects ARB_vertex_shader ARB_fragment_shader S3_s3tc ATI_draw_buffers ATI_texture_env_combine3 ATI_texture_float NV_float_buffer NV_fragment_program NV_half_float NV_pixel_data_range NV_primitive_restart NV_texture_expand_normal NV_texture_expand_normal NV_vertex_program2 APPLE_element_array APPLE_fence APPLE_vertex_array_object APPLE_vertex_array_range ATI_draw_buffers NV_fragment_program NV_half_float NV_pixel_data_range NV_primitive_restart ATI_map_object_buffer ATI_separate_stencil ATI_vertex_attrib_array_object ARB_draw_buffers ARB_texture_rectangle ARB_color_buffer_float EXT_framebuffer_object GREMEDY_string_marker EXT_stencil_clear_tag EXT_framebuffer_blit EXT_framebuffer_multisample MESAX_texture_stack EXT_timer_query EXT_gpu_program_parameters APPLE_flush_buffer_range NV_gpu_program4 NV_geometry_program4 EXT_geometry_shader4 NV_vertex_program4 EXT_gpu_shader4 EXT_draw_instanced EXT_texture_buffer_object NV_depth_buffer_float NV_framebuffer_multisample_coverage NV_parameter_buffer_object EXT_draw_buffers2 NV_transform_feedback EXT_bindable_uniform EXT_texture_integer +category: display-list drawing drawing-control feedback framebuf misc modeling pixel-op pixel-rw state-req xform 1_1 VERSION_1_2 VERSION_1_3 VERSION_1_4 VERSION_1_5 VERSION_2_0 VERSION_2_1 VERSION_3_0 ATI_element_array ATI_envmap_bumpmap ATI_fragment_shader ATI_pn_triangles ATI_vertex_array_object ATI_vertex_streams EXT_blend_color EXT_blend_minmax EXT_convolution EXT_copy_texture EXT_histogram EXT_polygon_offset EXT_subtexture EXT_texture3D EXT_texture_object EXT_vertex_array EXT_vertex_shader SGIS_detail_texture SGIS_multisample SGIS_pixel_texture ARB_point_parameters EXT_point_parameters SGIS_point_parameters SGIS_sharpen_texture SGIS_texture4D SGIS_texture_filter4 SGIX_async SGIX_flush_raster SGIX_fragment_lighting SGIX_framezoom SGIX_igloo_interface SGIX_instruments SGIX_list_priority SGIX_pixel_texture SGIX_polynomial_ffd SGIX_reference_plane SGIX_sprite SGIX_tag_sample_buffer SGI_color_table ARB_multitexture ARB_multisample ARB_texture_compression ARB_transpose_matrix ARB_vertex_blend ARB_matrix_palette EXT_compiled_vertex_array EXT_cull_vertex EXT_index_func EXT_index_material EXT_draw_range_elements EXT_vertex_weighting INGR_blend_func_separate NV_evaluators NV_fence NV_occlusion_query NV_point_sprite NV_register_combiners NV_register_combiners2 NV_vertex_array_range NV_vertex_program NV_vertex_program1_1_dcc MESA_resize_buffers MESA_window_pos PGI_misc_hints EXT_fog_coord EXT_blend_func_separate EXT_color_subtable EXT_coordinate_frame EXT_light_texture EXT_multi_draw_arrays EXT_paletted_texture EXT_pixel_transform EXT_secondary_color EXT_texture_perturb_normal HP_image_transform IBM_multimode_draw_arrays IBM_vertex_array_lists INTEL_parallel_arrays SUNX_constant_data SUN_global_alpha SUN_mesh_array SUN_triangle_list SUN_vertex 3DFX_tbuffer EXT_multisample SGIS_fog_function SGIS_texture_color_mask ARB_window_pos EXT_stencil_two_side EXT_depth_bounds_test EXT_blend_equation_separate ARB_vertex_program ARB_fragment_program ARB_vertex_buffer_object ARB_occlusion_query ARB_shader_objects ARB_vertex_shader ARB_fragment_shader S3_s3tc ATI_draw_buffers ATI_texture_env_combine3 ATI_texture_float NV_float_buffer NV_fragment_program NV_half_float NV_pixel_data_range NV_primitive_restart NV_texture_expand_normal NV_texture_expand_normal NV_vertex_program2 APPLE_element_array APPLE_fence APPLE_vertex_array_object APPLE_vertex_array_range ATI_draw_buffers NV_fragment_program NV_half_float NV_pixel_data_range NV_primitive_restart ATI_map_object_buffer ATI_separate_stencil ATI_vertex_attrib_array_object ARB_draw_buffers ARB_texture_rectangle ARB_color_buffer_float EXT_framebuffer_object GREMEDY_string_marker EXT_stencil_clear_tag EXT_framebuffer_blit EXT_framebuffer_multisample MESAX_texture_stack EXT_timer_query EXT_gpu_program_parameters APPLE_flush_buffer_range NV_gpu_program4 NV_geometry_program4 EXT_geometry_shader4 NV_vertex_program4 EXT_gpu_shader4 EXT_draw_instanced EXT_texture_buffer_object NV_depth_buffer_float NV_framebuffer_multisample_coverage NV_parameter_buffer_object EXT_draw_buffers2 NV_transform_feedback EXT_bindable_uniform EXT_texture_integer GREMEDY_frame_terminator NV_conditional_render NV_present_video EXT_transform_feedback ARB_depth_buffer_float ARB_draw_instanced ARB_framebuffer_object ARB_framebuffer_sRGB ARB_geometry_shader4 ARB_half_float_vertex ARB_instanced_arrays ARB_map_buffer_range ARB_texture_buffer_object ARB_texture_compression_rgtc ARB_texture_rg ARB_vertex_array_object EXT_direct_state_access EXT_vertex_array_bgra EXT_texture_swizzle NV_explicit_multisample NV_transform_feedback2 + # categories for extensions with no functions - need not be included now -# ARB_texture_env_add ARB_texture_cube_map ARB_texture_border_clamp ARB_shading_language_100 ARB_texture_non_power_of_two ARB_point_sprite ARB_half_float_pixel ARB_texture_float ARB_pixel_buffer_object EXT_abgr EXT_texture SGI_color_matrix SGI_texture_color_table EXT_cmyka EXT_packed_pixels SGIS_texture_lod EXT_rescale_normal EXT_misc_attribute SGIS_generate_mipmap SGIX_clipmap SGIX_shadow SGIS_texture_edge_clamp SGIS_texture_border_clamp EXT_blend_subtract EXT_blend_logic_op SGIX_async_histogram SGIX_async_pixel SGIX_interlace SGIX_pixel_tiles SGIX_texture_select SGIX_texture_multi_buffer SGIX_texture_scale_bias SGIX_depth_texture SGIX_fog_offset HP_convolution_border_modes SGIX_texture_add_env PGI_vertex_hints EXT_clip_volume_hint SGIX_ir_instrument1 SGIX_calligraphic_fragment SGIX_texture_lod_bias SGIX_shadow_ambient EXT_index_texture EXT_index_array_formats SGIX_ycrcb IBM_rasterpos_clip HP_texture_lighting WIN_phong_shading WIN_specular_fog SGIX_blend_alpha_minmax EXT_bgra HP_occlusion_test EXT_pixel_transform_color_table EXT_shared_texture_palette EXT_separate_specular_color EXT_texture_env REND_screen_coordinates EXT_texture_env_combine APPLE_specular_vector APPLE_transform_hint SGIX_fog_scale INGR_color_clamp INGR_interlace_read EXT_stencil_wrap EXT_422_pixels NV_texgen_reflection SUN_convolution_border_modes SUN_slice_accum EXT_texture_env_add EXT_texture_lod_bias EXT_texture_filter_anisotropic NV_light_max_exponent NV_fog_distance NV_texgen_emboss NV_blend_square NV_texture_env_combine4 NV_packed_depth_stencil NV_texture_compression_vtc NV_texture_rectangle NV_texture_shader NV_texture_shader2 NV_vertex_array_range2 IBM_cull_vertex SGIX_subsample SGIX_ycrcba SGIX_ycrcb_subsample SGIX_depth_pass_instrument 3DFX_texture_compression_FXT1 3DFX_multisample SGIX_vertex_preclip SGIX_convolution_accuracy SGIX_resample SGIX_scalebias_hint SGIX_texture_coordinate_clamp EXT_shadow_funcs MESA_pack_invert MESA_ycbcr_texture EXT_packed_float EXT_texture_array EXT_texture_compression_latc EXT_texture_compression_rgtc EXT_texture_shared_exponent NV_fragment_program4 EXT_framebuffer_sRGB NV_geometry_shader4 +# ARB_texture_env_add ARB_texture_cube_map ARB_texture_border_clamp ARB_shading_language_100 ARB_texture_non_power_of_two ARB_point_sprite ARB_half_float_pixel ARB_texture_float ARB_pixel_buffer_object EXT_abgr EXT_texture SGI_color_matrix SGI_texture_color_table EXT_cmyka EXT_packed_pixels SGIS_texture_lod EXT_rescale_normal EXT_misc_attribute SGIS_generate_mipmap SGIX_clipmap SGIX_shadow SGIS_texture_edge_clamp SGIS_texture_border_clamp EXT_blend_subtract EXT_blend_logic_op SGIX_async_histogram SGIX_async_pixel SGIX_interlace SGIX_pixel_tiles SGIX_texture_select SGIX_texture_multi_buffer SGIX_texture_scale_bias SGIX_depth_texture SGIX_fog_offset HP_convolution_border_modes SGIX_texture_add_env PGI_vertex_hints EXT_clip_volume_hint SGIX_ir_instrument1 SGIX_calligraphic_fragment SGIX_texture_lod_bias SGIX_shadow_ambient EXT_index_texture EXT_index_array_formats SGIX_ycrcb IBM_rasterpos_clip HP_texture_lighting WIN_phong_shading WIN_specular_fog SGIX_blend_alpha_minmax EXT_bgra HP_occlusion_test EXT_pixel_transform_color_table EXT_shared_texture_palette EXT_separate_specular_color EXT_texture_env REND_screen_coordinates EXT_texture_env_combine APPLE_specular_vector APPLE_transform_hint SGIX_fog_scale INGR_color_clamp INGR_interlace_read EXT_stencil_wrap EXT_422_pixels NV_texgen_reflection SUN_convolution_border_modes SUN_slice_accum EXT_texture_env_add EXT_texture_lod_bias EXT_texture_filter_anisotropic NV_light_max_exponent NV_fog_distance NV_texgen_emboss NV_blend_square NV_texture_env_combine4 NV_packed_depth_stencil NV_texture_compression_vtc NV_texture_rectangle NV_texture_shader NV_texture_shader2 NV_vertex_array_range2 IBM_cull_vertex SGIX_subsample SGIX_ycrcba SGIX_ycrcb_subsample SGIX_depth_pass_instrument 3DFX_texture_compression_FXT1 3DFX_multisample SGIX_vertex_preclip SGIX_convolution_accuracy SGIX_resample SGIX_scalebias_hint SGIX_texture_coordinate_clamp EXT_shadow_funcs MESA_pack_invert MESA_ycbcr_texture EXT_packed_float EXT_texture_array EXT_texture_compression_latc EXT_texture_compression_rgtc EXT_texture_shared_exponent NV_fragment_program4 EXT_framebuffer_sRGB NV_geometry_shader4 EXT_vertex_array_bgra -version: 1.0 1.1 1.2 1.3 1.4 1.5 2.0 2.1 +version: 1.0 1.1 1.2 1.3 1.4 1.5 2.0 2.1 3.0 glxsingle: * glxropcode: * glxvendorpriv: * -glsflags: capture-handcode client get gl-enum ignore matrix pixel-null pixel-pack pixel-unpack +glsflags: capture-handcode client client-state get gl-enum ignore matrix pixel-null pixel-pack pixel-unpack glsopcode: * glsalias: * wglflags: client-handcode server-handcode small-data batchable @@ -58,29 +38,19 @@ offset: * glfflags: * beginend: * glxvectorequiv: * +subcategory: * +glextmask: * ############################################################################### # -# GLX opcodes -# glxsingle: 101-159 (1.0-1.2 core) -# 160 (ARB_texture_compression) -# glxropcode: 1-196 (1.2 core; ropcode 140 unused?!) -# 197-213 (ARB_multitexture) -# 214-219 (ARB_texture_compression) -# 220-228 (ARB_vertex_blend) -# 229 (ARB_multisample) -# 230 (ARB_window_pos) -# 2048-2082 (SGI extensions) -# 4096-4123 (1.2 core and multivendor EXT) -# 4124-4142 (EXT extensions) +# glxsingle, glxropcode, and other GLX allocations to vendors +# are used here, but the master registry for GLX is in +# /ogl/trunk/doc/registry/extensions/extensions.reserved +# # XFree86 dispatch offsets: 0-645 # 578-641 NV_vertex_program # GLS opcodes: 0x0030-0x0269 # -# New opcodes and offsets must be allocated by SGI in the master registry file; -# a copy of this is in doc/registry/extensions/extensions.reserved, but only -# the copy maintained by SGI is the official and current version. -# ############################################################################### ############################################################################### @@ -138,16 +108,16 @@ passthru: typedef unsigned short GLhalfNV; passthru: #endif passthru: passthru: #ifndef GLEXT_64_TYPES_DEFINED -passthru: /* This code block is duplicated in glext.h, so must be protected */ +passthru: /* This code block is duplicated in glxext.h, so must be protected */ passthru: #define GLEXT_64_TYPES_DEFINED passthru: /* Define int32_t, int64_t, and uint64_t types for UST/MSC */ passthru: /* (as used in the GL_EXT_timer_query extension). */ passthru: #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L passthru: #include -passthru: #elif defined(__sun__) +passthru: #elif defined(__sun__) || defined(__digital__) passthru: #include passthru: #if defined(__STDC__) -passthru: #if defined(__arch64__) +passthru: #if defined(__arch64__) || defined(_LP64) passthru: typedef long int int64_t; passthru: typedef unsigned long int uint64_t; passthru: #else @@ -155,7 +125,7 @@ passthru: typedef long long int int64_t; passthru: typedef unsigned long long int uint64_t; passthru: #endif /* __arch64__ */ passthru: #endif /* __STDC__ */ -passthru: #elif defined( __VMS ) +passthru: #elif defined( __VMS ) || defined(__sgi) passthru: #include passthru: #elif defined(__SCO__) || defined(__USLC__) passthru: #include @@ -5656,7 +5626,7 @@ GetQueryObjectiv(id, pname, params) GetQueryObjectuiv(id, pname, params) return void - param id UInt32 in value + param id UInt32 in value param pname GetQueryObjectParam in value # GLenum in value param params UInt32 out array [pname] category VERSION_1_5 @@ -7045,6 +7015,7 @@ VertexAttribPointer(index, size, type, normalized, stride, pointer) # OpenGL 2.1 (EXT_texture_sRGB) commands - none # New commands in OpenGL 2.1 + UniformMatrix2x3fv(location, count, transpose, value) return void param location Int32 in value @@ -7130,6 +7101,768 @@ UniformMatrix4x3fv(location, count, transpose, value) offset ? +############################################################################### +############################################################################### +# +# OpenGL 3.0 commands +# +############################################################################### +############################################################################### + +# OpenGL 3.0 (EXT_draw_buffers2) commands + +ColorMaski(index, r, g, b, a) + return void + param index UInt32 in value + param r Boolean in value + param g Boolean in value + param b Boolean in value + param a Boolean in value + category VERSION_3_0 + version 3.0 + extension + glxflags ignore + glfflags ignore + glsflags ignore + +GetBooleani_v(target, index, data) + return void + param target GLenum in value + param index UInt32 in value + param data Boolean out array [COMPSIZE(target)] + category VERSION_3_0 + version 3.0 + extension + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +GetIntegeri_v(target, index, data) + return void + param target GLenum in value + param index UInt32 in value + param data Int32 out array [COMPSIZE(target)] + category VERSION_3_0 + version 3.0 + extension + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +Enablei(target, index) + return void + param target GLenum in value + param index UInt32 in value + category VERSION_3_0 + version 3.0 + extension + glxflags ignore + glfflags ignore + glsflags ignore + +Disablei(target, index) + return void + param target GLenum in value + param index UInt32 in value + category VERSION_3_0 + version 3.0 + extension + glxflags ignore + glfflags ignore + glsflags ignore + +IsEnabledi(target, index) + return Boolean + param target GLenum in value + param index UInt32 in value + category VERSION_3_0 + version 3.0 + extension + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +# OpenGL 3.0 (EXT_transform_feedback) commands + +BeginTransformFeedback(primitiveMode) + return void + param primitiveMode GLenum in value + category VERSION_3_0 + version 3.0 + extension + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +EndTransformFeedback() + return void + category VERSION_3_0 + version 3.0 + extension + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +BindBufferRange(target, index, buffer, offset, size) + return void + param target GLenum in value + param index UInt32 in value + param buffer UInt32 in value + param offset BufferOffset in value + param size BufferSize in value + category VERSION_3_0 + version 3.0 + extension + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +BindBufferBase(target, index, buffer) + return void + param target GLenum in value + param index UInt32 in value + param buffer UInt32 in value + category VERSION_3_0 + version 3.0 + extension + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +TransformFeedbackVaryings(program, count, locations, bufferMode) + return void + param program UInt32 in value + param count SizeI in value + param locations Int32 in array [COMPSIZE(count)] + param bufferMode GLenum in value + category VERSION_3_0 + version 3.0 + extension + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +GetTransformFeedbackVarying(program, index, location) + return void + param program UInt32 in value + param index UInt32 in value + param location Int32 out array [1] + category VERSION_3_0 + dlflags notlistable + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +ClampColor(target, clamp) + return void + param target ClampColorTarget in value # ClampColorTargetARB in value + param clamp ClampColorMode in value # ClampColorModeARB in value + category VERSION_3_0 + version 3.0 + extension + glxropcode 234 + glxflags ignore + glsopcode ? + offset ? + +BeginConditionalRender(id, mode) + return void + param id UInt32 in value + param mode TypeEnum in value + category VERSION_3_0 + version 3.0 + glfflags ignore + glsflags ignore + glxflags ignore + +EndConditionalRender() + return void + category VERSION_3_0 + version 3.0 + glfflags ignore + glsflags ignore + glxflags ignore + +# OpenGL 3.0 (NV_vertex_program4) commands + +VertexAttribI1i(index, x) + return void + param index UInt32 in value + param x Int32 in value + category VERSION_3_0 + version 3.0 + beginend allow-inside + vectorequiv VertexAttribI1iv + glxvectorequiv VertexAttribI1iv + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI2i(index, x, y) + return void + param index UInt32 in value + param x Int32 in value + param y Int32 in value + category VERSION_3_0 + version 3.0 + beginend allow-inside + vectorequiv VertexAttribI2iv + glxvectorequiv VertexAttribI2iv + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI3i(index, x, y, z) + return void + param index UInt32 in value + param x Int32 in value + param y Int32 in value + param z Int32 in value + category VERSION_3_0 + version 3.0 + beginend allow-inside + vectorequiv VertexAttribI3iv + glxvectorequiv VertexAttribI3iv + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI4i(index, x, y, z, w) + return void + param index UInt32 in value + param x Int32 in value + param y Int32 in value + param z Int32 in value + param w Int32 in value + category VERSION_3_0 + version 3.0 + beginend allow-inside + vectorequiv VertexAttribI4iv + glxvectorequiv VertexAttribI4iv + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI1ui(index, x) + return void + param index UInt32 in value + param x UInt32 in value + category VERSION_3_0 + version 3.0 + beginend allow-inside + vectorequiv VertexAttribI1uiv + glxvectorequiv VertexAttribI1uiv + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI2ui(index, x, y) + return void + param index UInt32 in value + param x UInt32 in value + param y UInt32 in value + category VERSION_3_0 + version 3.0 + beginend allow-inside + vectorequiv VertexAttribI2uiv + glxvectorequiv VertexAttribI2uiv + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI3ui(index, x, y, z) + return void + param index UInt32 in value + param x UInt32 in value + param y UInt32 in value + param z UInt32 in value + category VERSION_3_0 + version 3.0 + beginend allow-inside + vectorequiv VertexAttribI3uiv + glxvectorequiv VertexAttribI3uiv + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI4ui(index, x, y, z, w) + return void + param index UInt32 in value + param x UInt32 in value + param y UInt32 in value + param z UInt32 in value + param w UInt32 in value + category VERSION_3_0 + version 3.0 + beginend allow-inside + vectorequiv VertexAttribI4uiv + glxvectorequiv VertexAttribI4uiv + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI1iv(index, v) + return void + param index UInt32 in value + param v Int32 in array [1] + category VERSION_3_0 + version 3.0 + beginend allow-inside + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI2iv(index, v) + return void + param index UInt32 in value + param v Int32 in array [2] + category VERSION_3_0 + version 3.0 + beginend allow-inside + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI3iv(index, v) + return void + param index UInt32 in value + param v Int32 in array [3] + category VERSION_3_0 + version 3.0 + beginend allow-inside + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI4iv(index, v) + return void + param index UInt32 in value + param v Int32 in array [4] + category VERSION_3_0 + version 3.0 + beginend allow-inside + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI1uiv(index, v) + return void + param index UInt32 in value + param v UInt32 in array [1] + category VERSION_3_0 + version 3.0 + beginend allow-inside + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI2uiv(index, v) + return void + param index UInt32 in value + param v UInt32 in array [2] + category VERSION_3_0 + version 3.0 + beginend allow-inside + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI3uiv(index, v) + return void + param index UInt32 in value + param v UInt32 in array [3] + category VERSION_3_0 + version 3.0 + beginend allow-inside + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI4uiv(index, v) + return void + param index UInt32 in value + param v UInt32 in array [4] + category VERSION_3_0 + version 3.0 + beginend allow-inside + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI4bv(index, v) + return void + param index UInt32 in value + param v Int8 in array [4] + category VERSION_3_0 + version 3.0 + beginend allow-inside + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI4sv(index, v) + return void + param index UInt32 in value + param v Int16 in array [4] + category VERSION_3_0 + version 3.0 + beginend allow-inside + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI4ubv(index, v) + return void + param index UInt32 in value + param v UInt8 in array [4] + category VERSION_3_0 + version 3.0 + beginend allow-inside + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribI4usv(index, v) + return void + param index UInt32 in value + param v UInt16 in array [4] + category VERSION_3_0 + version 3.0 + beginend allow-inside + extension + glfflags ignore + glsflags ignore + glxflags ignore + +VertexAttribIPointer(index, size, type, stride, pointer) + return void + param index UInt32 in value + param size Int32 in value + param type VertexAttribEnum in value + param stride SizeI in value + param pointer Void in array [COMPSIZE(size/type/stride)] retained + category VERSION_3_0 + version 3.0 + dlflags notlistable + extension + glfflags ignore + glsflags ignore + glxflags ignore + +GetVertexAttribIiv(index, pname, params) + return void + param index UInt32 in value + param pname VertexAttribEnum in value + param params Int32 out array [1] + category VERSION_3_0 + version 3.0 + dlflags notlistable + extension + glfflags ignore + glsflags ignore + glxflags ignore + +GetVertexAttribIuiv(index, pname, params) + return void + param index UInt32 in value + param pname VertexAttribEnum in value + param params UInt32 out array [1] + category VERSION_3_0 + version 3.0 + dlflags notlistable + extension + glfflags ignore + glsflags ignore + glxflags ignore + +# OpenGL 3.0 (EXT_gpu_shader4) commands + +GetUniformuiv(program, location, params) + return void + param program UInt32 in value + param location Int32 in value + param params UInt32 out array [COMPSIZE(program/location)] + category VERSION_3_0 + dlflags notlistable + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +BindFragDataLocation(program, color, name) + return void + param program UInt32 in value + param color UInt32 in value + param name Char in array [COMPSIZE(name)] + category VERSION_3_0 + dlflags notlistable + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +GetFragDataLocation(program, name) + return Int32 + param program UInt32 in value + param name Char in array [COMPSIZE(name)] + category VERSION_3_0 + dlflags notlistable + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +Uniform1ui(location, v0) + return void + param location Int32 in value + param v0 UInt32 in value + category VERSION_3_0 + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +Uniform2ui(location, v0, v1) + return void + param location Int32 in value + param v0 UInt32 in value + param v1 UInt32 in value + category VERSION_3_0 + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +Uniform3ui(location, v0, v1, v2) + return void + param location Int32 in value + param v0 UInt32 in value + param v1 UInt32 in value + param v2 UInt32 in value + category VERSION_3_0 + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +Uniform4ui(location, v0, v1, v2, v3) + return void + param location Int32 in value + param v0 UInt32 in value + param v1 UInt32 in value + param v2 UInt32 in value + param v3 UInt32 in value + category VERSION_3_0 + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +Uniform1uiv(location, count, value) + return void + param location Int32 in value + param count SizeI in value + param value UInt32 in array [count] + category VERSION_3_0 + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +Uniform2uiv(location, count, value) + return void + param location Int32 in value + param count SizeI in value + param value UInt32 in array [count*2] + category VERSION_3_0 + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +Uniform3uiv(location, count, value) + return void + param location Int32 in value + param count SizeI in value + param value UInt32 in array [count*3] + category VERSION_3_0 + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +Uniform4uiv(location, count, value) + return void + param location Int32 in value + param count SizeI in value + param value UInt32 in array [count*4] + category VERSION_3_0 + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +# OpenGL 3.0 (EXT_texture_integer) commands + +TexParameterIiv(target, pname, params) + return void + param target TextureTarget in value + param pname TextureParameterName in value + param params Int32 in array [COMPSIZE(pname)] + category VERSION_3_0 + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +TexParameterIuiv(target, pname, params) + return void + param target TextureTarget in value + param pname TextureParameterName in value + param params UInt32 in array [COMPSIZE(pname)] + category VERSION_3_0 + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +GetTexParameterIiv(target, pname, params) + return void + param target TextureTarget in value + param pname GetTextureParameter in value + param params Int32 out array [COMPSIZE(pname)] + category VERSION_3_0 + dlflags notlistable + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +GetTexParameterIuiv(target, pname, params) + return void + param target TextureTarget in value + param pname GetTextureParameter in value + param params UInt32 out array [COMPSIZE(pname)] + category VERSION_3_0 + dlflags notlistable + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +# New commands in OpenGL 3.0 + +ClearBufferiv(buffer, drawbuffer, value) + return void + param buffer GLenum in value + param drawbuffer DrawBufferName in value + param value Int32 in array [COMPSIZE(buffer)] + category VERSION_3_0 + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +ClearBufferuiv(buffer, drawbuffer, value) + return void + param buffer GLenum in value + param drawbuffer DrawBufferName in value + param value UInt32 in array [COMPSIZE(buffer)] + category VERSION_3_0 + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +ClearBufferfv(buffer, drawbuffer, value) + return void + param buffer GLenum in value + param drawbuffer DrawBufferName in value + param value Float32 in array [COMPSIZE(buffer)] + category VERSION_3_0 + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +ClearBufferfi(buffer, drawbuffer, depth, stencil) + return void + param buffer GLenum in value + param drawbuffer DrawBufferName in value + param depth Float32 in value + param stencil Int32 in value + category VERSION_3_0 + version 3.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +GetStringi(name, index) + return String + param name GLenum in value + param index UInt32 in value + category VERSION_3_0 + version 3.0 + extension + dlflags notlistable + glxflags client-handcode server-handcode + glfflags ignore + glsflags get + glxsingle ? + +passthru: /* OpenGL 3.0 also reuses entry points from these extensions: */ +passthru: /* ARB_framebuffer_object */ +passthru: /* ARB_map_buffer_range */ +passthru: /* ARB_vertex_array_object */ + ############################################################################### ############################################################################### @@ -9910,8 +10643,8 @@ ClampColorARB(target, clamp) extension glxropcode 234 glxflags ignore - glsopcode ? - offset ? + alias ClampColor + glsalias ClampColor ############################################################################### # @@ -9943,6 +10676,563 @@ newcategory: ARB_texture_float # (none) newcategory: ARB_pixel_buffer_object +############################################################################### +# +# ARB Extension #43 +# ARB_depth_buffer_float commands (also OpenGL 3.0) +# +############################################################################### + +# (none) +newcategory: ARB_depth_buffer_float + +############################################################################### +# +# ARB Extension #44 +# ARB_draw_instanced commands +# +############################################################################### + +DrawArraysInstancedARB(mode, first, count, primcount) + return void + param mode BeginMode in value + param first Int32 in value + param count SizeI in value + param primcount SizeI in value + category ARB_draw_instanced + version 2.0 + extension soft WINSOFT + dlflags notlistable + vectorequiv ArrayElement + glfflags ignore + glsflags ignore + glxflags ignore + +DrawElementsInstancedARB(mode, count, type, indices, primcount) + return void + param mode BeginMode in value + param count SizeI in value + param type DrawElementsType in value + param indices Void in array [COMPSIZE(count/type)] + param primcount SizeI in value + category ARB_draw_instanced + version 2.0 + extension soft WINSOFT + dlflags notlistable + vectorequiv ArrayElement + glfflags ignore + glsflags ignore + glxflags ignore + +############################################################################### +# +# ARB Extension #45 +# ARB_framebuffer_object commands (also OpenGL 3.0) +# +############################################################################### + +# Promoted from EXT_framebuffer_object +IsRenderbuffer(renderbuffer) + return Boolean + param renderbuffer UInt32 in value + category ARB_framebuffer_object + version 3.0 + extension + glxvendorpriv 1422 + glxflags ignore + glsopcode ? + offset ? + +BindRenderbuffer(target, renderbuffer) + return void + param target RenderbufferTarget in value + param renderbuffer UInt32 in value + category ARB_framebuffer_object + version 3.0 + extension + glxropcode 4316 + glxflags ignore + glsopcode ? + offset ? + +DeleteRenderbuffers(n, renderbuffers) + return void + param n SizeI in value + param renderbuffers UInt32 in array [n] + category ARB_framebuffer_object + version 3.0 + extension + glxropcode 4317 + glxflags ignore + glsopcode ? + offset ? + +GenRenderbuffers(n, renderbuffers) + return void + param n SizeI in value + param renderbuffers UInt32 out array [n] + category ARB_framebuffer_object + version 3.0 + extension + glxvendorpriv 1423 + glxflags ignore + glsopcode ? + offset ? + +RenderbufferStorage(target, internalformat, width, height) + return void + param target RenderbufferTarget in value + param internalformat RenderbufferStorage in value # GLenum in value + param width SizeI in value + param height SizeI in value + category ARB_framebuffer_object + version 3.0 + extension + glxropcode 4318 + glxflags ignore + glsopcode ? + offset ? + +GetRenderbufferParameteriv(target, pname, params) + return void + param target RenderbufferTarget in value + param pname RenderbufferParameterName in value # GLenum in value + param params Int32 out array [COMPSIZE(pname)] + category ARB_framebuffer_object + dlflags notlistable + version 3.0 + extension + glxvendorpriv 1424 + glxflags ignore + glsflags get + glsopcode ? + offset ? + +IsFramebuffer(framebuffer) + return Boolean + param framebuffer UInt32 in value + category ARB_framebuffer_object + version 3.0 + extension + glxvendorpriv 1425 + glxflags ignore + glsopcode ? + offset ? + +BindFramebuffer(target, framebuffer) + return void + param target FramebufferTarget in value + param framebuffer UInt32 in value + category ARB_framebuffer_object + version 3.0 + extension + glxropcode 4319 + glxflags ignore + glsopcode ? + offset ? + +DeleteFramebuffers(n, framebuffers) + return void + param n SizeI in value + param framebuffers UInt32 in array [n] + category ARB_framebuffer_object + version 3.0 + extension + glxropcode 4320 + glxflags ignore + glsopcode ? + offset ? + +GenFramebuffers(n, framebuffers) + return void + param n SizeI in value + param framebuffers UInt32 out array [n] + category ARB_framebuffer_object + version 3.0 + extension + glxvendorpriv 1426 + glxflags ignore + glsopcode ? + offset ? + +CheckFramebufferStatus(target) + return FramebufferErrorCode # GLenum + param target FramebufferTarget in value + category ARB_framebuffer_object + version 3.0 + extension + glxvendorpriv 1427 + glxflags ignore + glsopcode ? + offset ? + +FramebufferTexture1D(target, attachment, textarget, texture, level) + return void + param target FramebufferTarget in value + param attachment FramebufferAttachment in value + param textarget TextureTarget in value # GLenum in value + param texture UInt32 in value + param level Int32 in value + category ARB_framebuffer_object + version 3.0 + extension + glxropcode 4321 + glxflags ignore + glsopcode ? + offset ? + +FramebufferTexture2D(target, attachment, textarget, texture, level) + return void + param target FramebufferTarget in value + param attachment FramebufferAttachment in value + param textarget TextureTarget in value # GLenum in value + param texture UInt32 in value + param level Int32 in value + category ARB_framebuffer_object + version 3.0 + extension + glxropcode 4322 + glxflags ignore + glsopcode ? + offset ? + +FramebufferTexture3D(target, attachment, textarget, texture, level, zoffset) + return void + param target FramebufferTarget in value + param attachment FramebufferAttachment in value + param textarget TextureTarget in value # GLenum in value + param texture UInt32 in value + param level Int32 in value + param zoffset Int32 in value + category ARB_framebuffer_object + version 3.0 + extension + glxropcode 4323 + glxflags ignore + glsopcode ? + offset ? + +FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer) + return void + param target FramebufferTarget in value + param attachment FramebufferAttachment in value + param renderbuffertarget RenderbufferTarget in value + param renderbuffer UInt32 in value + category ARB_framebuffer_object + version 3.0 + extension + glxropcode 4324 + glxflags ignore + glsopcode ? + offset ? + +GetFramebufferAttachmentParameteriv(target, attachment, pname, params) + return void + param target FramebufferTarget in value + param attachment FramebufferAttachment in value + param pname FramebufferParameterName in value # GLenum in value + param params Int32 out array [COMPSIZE(pname)] + category ARB_framebuffer_object + dlflags notlistable + version 3.0 + extension + glxvendorpriv 1428 + glxflags ignore + glsflags get + glsopcode ? + offset ? + +Generate(target) + return void + param target GenerateMipmapTarget in value # GLenum in value + category ARB_framebuffer_object + version 3.0 + extension + glxropcode 4325 + glxflags ignore + glsopcode ? + offset ? + +# Promoted from EXT_framebuffer_blit +BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter) + return void + param srcX0 Int32 in value + param srcY0 Int32 in value + param srcX1 Int32 in value + param srcY1 Int32 in value + param dstX0 Int32 in value + param dstY0 Int32 in value + param dstX1 Int32 in value + param dstY1 Int32 in value + param mask ClearBufferMask in value + param filter BlitFramebufferFilter in value # GLenum in value + category ARB_framebuffer_object + version 3.0 + glxropcode 4330 + glsopcode ? + offset ? + +# Promoted from EXT_framebuffer_multisample +RenderbufferStorageMultisample(target, samples, internalformat, width, height) + return void + param target RenderbufferTarget in value # GLenum in value + param samples SizeI in value + param internalformat RenderbufferStorage in value # GLenum in value + param width SizeI in value + param height SizeI in value + category ARB_framebuffer_object + version 3.0 + glxropcode 4331 + glsopcode ? + offset ? + +# Promoted from ARB_geometry_shader4 +FramebufferTextureLayer(target, attachment, texture, level, layer) + return void + param target FramebufferTarget in value + param attachment FramebufferAttachment in value + param texture Texture in value + param level CheckedInt32 in value + param layer CheckedInt32 in value + category ARB_framebuffer_object + version 3.0 + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + + +############################################################################### +# +# ARB Extension #46 +# ARB_framebuffer_sRGB commands (also OpenGL 3.0) +# +############################################################################### + +# (none) +newcategory: ARB_framebuffer_sRGB + +############################################################################### +# +# ARB Extension #47 +# ARB_geometry_shader4 commands +# +############################################################################### + +ProgramParameteriARB(program, pname, value) + return void + param program UInt32 in value + param pname ProgramParameterPName in value + param value Int32 in value + category ARB_geometry_shader4 + version 3.0 + extension soft WINSOFT + glfflags ignore + glsflags ignore + glxflags ignore + +FramebufferTextureARB(target, attachment, texture, level) + return void + param target FramebufferTarget in value + param attachment FramebufferAttachment in value + param texture Texture in value + param level CheckedInt32 in value + category ARB_geometry_shader4 + version 3.0 + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + +FramebufferTextureLayerARB(target, attachment, texture, level, layer) + return void + param target FramebufferTarget in value + param attachment FramebufferAttachment in value + param texture Texture in value + param level CheckedInt32 in value + param layer CheckedInt32 in value + category ARB_geometry_shader4 + version 3.0 + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glxflags ignore + alias FramebufferTextureLayer + glsalias FramebufferTextureLayer + +FramebufferTextureFaceARB(target, attachment, texture, level, face) + return void + param target FramebufferTarget in value + param attachment FramebufferAttachment in value + param texture Texture in value + param level CheckedInt32 in value + param face TextureTarget in value + category ARB_geometry_shader4 + version 3.0 + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + +############################################################################### +# +# ARB Extension #48 +# ARB_half_float_vertex commands (also OpenGL 3.0) +# +############################################################################### + +# (none) +newcategory: ARB_half_float_vertex + +############################################################################### +# +# ARB Extension #49 +# ARB_instanced_arrays commands +# +############################################################################### + +VertexAttribDivisor(index, divisor) + return void + param index UInt32 in value + param divisor UInt32 in value + category ARB_instanced_arrays + version 2.0 + extension + glfflags ignore + glsflags ignore + glxflags ignore + +############################################################################### +# +# ARB Extension #50 +# ARB_map_buffer_range commands (also OpenGL 3.0) +# +############################################################################### + +MapBufferRange(target, offset, length, access) + return void + param target BufferTargetARB in value + param offset BufferOffset in value + param length BufferSize in value + param access BufferAccessMask in value + category ARB_map_buffer_range + version 3.0 + extension + glxropcode ? + glxflags ignore + glsopcode ? + offset ? + +# Promoted from APPLE_flush_buffer_range +FlushMappedBufferRange(target, offset, length) + return void + param target BufferTargetARB in value + param offset BufferOffset in value + param length BufferSize in value + category ARB_map_buffer_range + version 3.0 + extension + glxropcode ? + glxflags ignore + glsopcode ? + offset ? + +############################################################################### +# +# ARB Extension #51 +# ARB_texture_buffer_object commands +# +############################################################################### + +TexBufferARB(target, internalformat, buffer) + return void + param target TextureTarget in value + param internalformat GLenum in value + param buffer UInt32 in value + category ARB_texture_buffer_object + version 3.0 + extension soft WINSOFT NV50 + glfflags ignore + glsflags ignore + glxflags ignore + +############################################################################### +# +# ARB Extension #52 +# ARB_texture_compression_rgtc commands (also OpenGL 3.0) +# +############################################################################### + +# (none) +newcategory: ARB_texture_compression_rgtc + +############################################################################### +# +# ARB Extension #53 +# ARB_texture_rg commands (also OpenGL 3.0) +# +############################################################################### + +# (none) +newcategory: ARB_texture_rg + +############################################################################### +# +# ARB Extension #54 +# ARB_vertex_array_object commands (also OpenGL 3.0) +# +############################################################################### + +# Promoted from APPLE_vertex_array_object +BindVertexArray(array) + return void + param array UInt32 in value + category ARB_vertex_array_object + version 3.0 + extension + glxropcode ? + glxflags ignore + glsopcode ? + offset ? + +DeleteVertexArrays(n, arrays) + return void + param n SizeI in value + param arrays UInt32 in array [n] + category ARB_vertex_array_object + version 3.0 + extension + glxropcode ? + glxflags ignore + glsopcode ? + offset ? + +GenVertexArrays(n, arrays) + return void + param n SizeI in value + param arrays UInt32 out array [n] + category ARB_vertex_array_object + version 3.0 + extension + glxropcode ? + glxflags ignore + glsopcode ? + offset ? + +IsVertexArray(array) + return Boolean + param array UInt32 in value + category ARB_vertex_array_object + version 3.0 + extension + glxropcode ? + glxflags ignore + glsopcode ? + offset ? + ############################################################################### ############################################################################### @@ -18906,9 +20196,6 @@ FinishObjectAPPLE(object, name) # ############################################################################### -# @@ Need to verify/add GLX protocol - -# @@@ loosely derived from incomplete SGIX_vertex_array_object BindVertexArrayAPPLE(array) return void param array UInt32 in value @@ -18917,8 +20204,8 @@ BindVertexArrayAPPLE(array) extension glxropcode ? glxflags ignore - glsopcode ? - offset ? + alias BindVertexArray + glsalias BindVertexArray DeleteVertexArraysAPPLE(n, arrays) return void @@ -18929,8 +20216,8 @@ DeleteVertexArraysAPPLE(n, arrays) extension glxropcode ? glxflags ignore - glsopcode ? - offset ? + alias DeleteVertexArrays + glsalias DeleteVertexArrays GenVertexArraysAPPLE(n, arrays) return void @@ -18941,8 +20228,8 @@ GenVertexArraysAPPLE(n, arrays) extension glxropcode ? glxflags ignore - glsopcode ? - offset ? + alias GenVertexArray + glsalias GenVertexArray IsVertexArrayAPPLE(array) return Boolean @@ -18952,8 +20239,8 @@ IsVertexArrayAPPLE(array) extension glxropcode ? glxflags ignore - glsopcode ? - offset ? + alias IsVertexArray + glsalias IsVertexArray ############################################################################### # @@ -20195,8 +21482,8 @@ IsRenderbufferEXT(renderbuffer) extension glxvendorpriv 1422 glxflags ignore - glsopcode ? - offset ? + alias IsRenderbuffer + glsalias IsRenderbuffer BindRenderbufferEXT(target, renderbuffer) return void @@ -20207,8 +21494,8 @@ BindRenderbufferEXT(target, renderbuffer) extension glxropcode 4316 glxflags ignore - glsopcode ? - offset ? + alias BindRenderbuffer + glsalias BindRenderbuffer DeleteRenderbuffersEXT(n, renderbuffers) return void @@ -20219,8 +21506,8 @@ DeleteRenderbuffersEXT(n, renderbuffers) extension glxropcode 4317 glxflags ignore - glsopcode ? - offset ? + alias DeleteRenderbuffers + glsalias DeleteRenderbuffers GenRenderbuffersEXT(n, renderbuffers) return void @@ -20231,8 +21518,8 @@ GenRenderbuffersEXT(n, renderbuffers) extension glxvendorpriv 1423 glxflags ignore - glsopcode ? - offset ? + alias GenRenderbuffers + glsalias GenRenderbuffers RenderbufferStorageEXT(target, internalformat, width, height) return void @@ -20245,8 +21532,8 @@ RenderbufferStorageEXT(target, internalformat, width, height) extension glxropcode 4318 glxflags ignore - glsopcode ? - offset ? + alias RenderbufferStorage + glsalias RenderbufferStorage GetRenderbufferParameterivEXT(target, pname, params) return void @@ -20260,8 +21547,8 @@ GetRenderbufferParameterivEXT(target, pname, params) glxvendorpriv 1424 glxflags ignore glsflags get - glsopcode ? - offset ? + alias GetRenderbufferParameteriv + glsalias GetRenderbufferParameteriv IsFramebufferEXT(framebuffer) return Boolean @@ -20271,8 +21558,8 @@ IsFramebufferEXT(framebuffer) extension glxvendorpriv 1425 glxflags ignore - glsopcode ? - offset ? + alias IsFramebuffer + glsalias IsFramebuffer BindFramebufferEXT(target, framebuffer) return void @@ -20283,8 +21570,8 @@ BindFramebufferEXT(target, framebuffer) extension glxropcode 4319 glxflags ignore - glsopcode ? - offset ? + alias BindFramebuffer + glsalias BindFramebuffer DeleteFramebuffersEXT(n, framebuffers) return void @@ -20295,8 +21582,8 @@ DeleteFramebuffersEXT(n, framebuffers) extension glxropcode 4320 glxflags ignore - glsopcode ? - offset ? + alias DeleteFramebuffers + glsalias DeleteFramebuffers GenFramebuffersEXT(n, framebuffers) return void @@ -20307,8 +21594,8 @@ GenFramebuffersEXT(n, framebuffers) extension glxvendorpriv 1426 glxflags ignore - glsopcode ? - offset ? + alias GenFramebuffers + glsalias GenFramebuffers CheckFramebufferStatusEXT(target) return FramebufferErrorCode @@ -20318,8 +21605,8 @@ CheckFramebufferStatusEXT(target) extension glxvendorpriv 1427 glxflags ignore - glsopcode ? - offset ? + alias CheckFramebufferStatus + glsalias CheckFramebufferStatus FramebufferTexture1DEXT(target, attachment, textarget, texture, level) return void @@ -20333,8 +21620,8 @@ FramebufferTexture1DEXT(target, attachment, textarget, texture, level) extension glxropcode 4321 glxflags ignore - glsopcode ? - offset ? + alias FramebufferTexture1D + glsalias FramebufferTexture1D FramebufferTexture2DEXT(target, attachment, textarget, texture, level) return void @@ -20348,8 +21635,8 @@ FramebufferTexture2DEXT(target, attachment, textarget, texture, level) extension glxropcode 4322 glxflags ignore - glsopcode ? - offset ? + alias FramebufferTexture2D + glsalias FramebufferTexture2D FramebufferTexture3DEXT(target, attachment, textarget, texture, level, zoffset) return void @@ -20364,8 +21651,8 @@ FramebufferTexture3DEXT(target, attachment, textarget, texture, level, zoffset) extension glxropcode 4323 glxflags ignore - glsopcode ? - offset ? + alias FramebufferTexture3D + glsalias FramebufferTexture3D FramebufferRenderbufferEXT(target, attachment, renderbuffertarget, renderbuffer) return void @@ -20378,8 +21665,8 @@ FramebufferRenderbufferEXT(target, attachment, renderbuffertarget, renderbuffer) extension glxropcode 4324 glxflags ignore - glsopcode ? - offset ? + alias FramebufferRenderbuffer + glsalias FramebufferRenderbuffer GetFramebufferAttachmentParameterivEXT(target, attachment, pname, params) return void @@ -20394,8 +21681,8 @@ GetFramebufferAttachmentParameterivEXT(target, attachment, pname, params) glxvendorpriv 1428 glxflags ignore glsflags get - glsopcode ? - offset ? + alias GetFramebufferAttachmentParameteriv + glsalias GetFramebufferAttachmentParameteriv GenerateMipmapEXT(target) return void @@ -20405,8 +21692,8 @@ GenerateMipmapEXT(target) extension glxropcode 4325 glxflags ignore - glsopcode ? - offset ? + alias GenerateMipmap + glsalias GenerateMipmap ############################################################################### @@ -20494,8 +21781,8 @@ BlitFramebufferEXT(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, category EXT_framebuffer_blit version 1.5 glxropcode 4330 - glsopcode ? - offset ? + alias BlitFramebuffer + glsalias BlitFramebuffer ############################################################################### # @@ -20514,8 +21801,8 @@ RenderbufferStorageMultisampleEXT(target, samples, internalformat, width, height category EXT_framebuffer_multisample version 1.5 glxropcode 4331 - glsopcode ? - offset ? + alias RenderbufferStorageMultisample + glsalias RenderbufferStorageMultisample ############################################################################### # @@ -20623,8 +21910,8 @@ FlushMappedBufferRangeAPPLE(target, offset, size) extension glxropcode ? glxflags ignore - glsopcode ? - offset ? + alias FlushMappedBufferRange + glsalias FlushMappedBufferRange ############################################################################### # @@ -20882,8 +22169,9 @@ FramebufferTextureEXT(target, attachment, texture, level) extension soft WINSOFT dlflags notlistable glfflags ignore - glsflags ignore glxflags ignore + alias FramebufferTextureARB + glsalias FramebufferTextureARB FramebufferTextureLayerEXT(target, attachment, texture, level, layer) return void @@ -20897,8 +22185,9 @@ FramebufferTextureLayerEXT(target, attachment, texture, level, layer) extension soft WINSOFT dlflags notlistable glfflags ignore - glsflags ignore glxflags ignore + alias FramebufferTextureLayer + glsalias FramebufferTextureLayer FramebufferTextureFaceEXT(target, attachment, texture, level, face) return void @@ -20912,8 +22201,9 @@ FramebufferTextureFaceEXT(target, attachment, texture, level, face) extension soft WINSOFT dlflags notlistable glfflags ignore - glsflags ignore glxflags ignore + alias FramebufferTextureFaceARB + glsalias FramebufferTextureFaceARB ############################################################################### # @@ -20931,8 +22221,9 @@ ProgramParameteriEXT(program, pname, value) version 2.0 extension soft WINSOFT glfflags ignore - glsflags ignore glxflags ignore + alias ProgramParameteriARB + glsalias ProgramParameteriARB ############################################################################### # @@ -20951,8 +22242,9 @@ VertexAttribI1iEXT(index, x) glxvectorequiv VertexAttribI1ivEXT extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI1i + glsalias VertexAttribI1i VertexAttribI2iEXT(index, x, y) return void @@ -20965,8 +22257,9 @@ VertexAttribI2iEXT(index, x, y) glxvectorequiv VertexAttribI2ivEXT extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI2i + glsalias VertexAttribI2i VertexAttribI3iEXT(index, x, y, z) return void @@ -20980,8 +22273,9 @@ VertexAttribI3iEXT(index, x, y, z) glxvectorequiv VertexAttribI3ivEXT extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI3i + glsalias VertexAttribI3i VertexAttribI4iEXT(index, x, y, z, w) return void @@ -20996,8 +22290,9 @@ VertexAttribI4iEXT(index, x, y, z, w) glxvectorequiv VertexAttribI4ivEXT extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI4i + glsalias VertexAttribI4i VertexAttribI1uiEXT(index, x) return void @@ -21009,8 +22304,9 @@ VertexAttribI1uiEXT(index, x) glxvectorequiv VertexAttribI1uivEXT extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI1ui + glsalias VertexAttribI1ui VertexAttribI2uiEXT(index, x, y) return void @@ -21023,8 +22319,9 @@ VertexAttribI2uiEXT(index, x, y) glxvectorequiv VertexAttribI2uivEXT extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI2ui + glsalias VertexAttribI2ui VertexAttribI3uiEXT(index, x, y, z) return void @@ -21038,8 +22335,9 @@ VertexAttribI3uiEXT(index, x, y, z) glxvectorequiv VertexAttribI3uivEXT extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI3ui + glsalias VertexAttribI3ui VertexAttribI4uiEXT(index, x, y, z, w) return void @@ -21054,8 +22352,9 @@ VertexAttribI4uiEXT(index, x, y, z, w) glxvectorequiv VertexAttribI4uivEXT extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI4ui + glsalias VertexAttribI4ui VertexAttribI1ivEXT(index, v) return void @@ -21065,8 +22364,9 @@ VertexAttribI1ivEXT(index, v) beginend allow-inside extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI1iv + glsalias VertexAttribI1iv VertexAttribI2ivEXT(index, v) return void @@ -21076,8 +22376,9 @@ VertexAttribI2ivEXT(index, v) beginend allow-inside extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI2iv + glsalias VertexAttribI2iv VertexAttribI3ivEXT(index, v) return void @@ -21087,8 +22388,9 @@ VertexAttribI3ivEXT(index, v) beginend allow-inside extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI3iv + glsalias VertexAttribI3iv VertexAttribI4ivEXT(index, v) return void @@ -21098,8 +22400,9 @@ VertexAttribI4ivEXT(index, v) beginend allow-inside extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI4iv + glsalias VertexAttribI4iv VertexAttribI1uivEXT(index, v) return void @@ -21109,8 +22412,9 @@ VertexAttribI1uivEXT(index, v) beginend allow-inside extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI1uiv + glsalias VertexAttribI1uiv VertexAttribI2uivEXT(index, v) return void @@ -21120,8 +22424,9 @@ VertexAttribI2uivEXT(index, v) beginend allow-inside extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI2uiv + glsalias VertexAttribI2uiv VertexAttribI3uivEXT(index, v) return void @@ -21131,8 +22436,9 @@ VertexAttribI3uivEXT(index, v) beginend allow-inside extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI3uiv + glsalias VertexAttribI3uiv VertexAttribI4uivEXT(index, v) return void @@ -21142,8 +22448,9 @@ VertexAttribI4uivEXT(index, v) beginend allow-inside extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI4uiv + glsalias VertexAttribI4uiv VertexAttribI4bvEXT(index, v) return void @@ -21153,8 +22460,9 @@ VertexAttribI4bvEXT(index, v) beginend allow-inside extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI4bv + glsalias VertexAttribI4bv VertexAttribI4svEXT(index, v) return void @@ -21164,8 +22472,9 @@ VertexAttribI4svEXT(index, v) beginend allow-inside extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI4sv + glsalias VertexAttribI4sv VertexAttribI4ubvEXT(index, v) return void @@ -21175,8 +22484,9 @@ VertexAttribI4ubvEXT(index, v) beginend allow-inside extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI4ubv + glsalias VertexAttribI4ubv VertexAttribI4usvEXT(index, v) return void @@ -21186,8 +22496,9 @@ VertexAttribI4usvEXT(index, v) beginend allow-inside extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribI4usv + glsalias VertexAttribI4usv VertexAttribIPointerEXT(index, size, type, stride, pointer) return void @@ -21200,8 +22511,9 @@ VertexAttribIPointerEXT(index, size, type, stride, pointer) dlflags notlistable extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias VertexAttribIPointer + glsalias VertexAttribIPointer GetVertexAttribIivEXT(index, pname, params) return void @@ -21212,8 +22524,9 @@ GetVertexAttribIivEXT(index, pname, params) dlflags notlistable extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias GetVertexAttribIiv + glsalias GetVertexAttribIiv GetVertexAttribIuivEXT(index, pname, params) return void @@ -21224,8 +22537,9 @@ GetVertexAttribIuivEXT(index, pname, params) dlflags notlistable extension soft WINSOFT NV10 glfflags ignore - glsflags ignore glxflags ignore + alias GetVertexAttribIuiv + glsalias GetVertexAttribIuiv ############################################################################### # @@ -21244,8 +22558,9 @@ GetUniformuivEXT(program, location, params) version 2.0 extension soft WINSOFT glfflags ignore - glsflags ignore glxflags ignore + alias GetUniformuiv + glsalias GetUniformuiv BindFragDataLocationEXT(program, color, name) return void @@ -21257,8 +22572,9 @@ BindFragDataLocationEXT(program, color, name) version 2.0 extension soft WINSOFT glfflags ignore - glsflags ignore glxflags ignore + alias BindFragDataLocation + glsalias BindFragDataLocation GetFragDataLocationEXT(program, name) return Int32 @@ -21269,8 +22585,9 @@ GetFragDataLocationEXT(program, name) version 2.0 extension soft WINSOFT glfflags ignore - glsflags ignore glxflags ignore + alias GetFragDataLocation + glsalias GetFragDataLocation Uniform1uiEXT(location, v0) return void @@ -21280,8 +22597,9 @@ Uniform1uiEXT(location, v0) version 2.0 extension soft WINSOFT glfflags ignore - glsflags ignore glxflags ignore + alias Uniform1ui + glsalias Uniform1ui Uniform2uiEXT(location, v0, v1) return void @@ -21292,8 +22610,9 @@ Uniform2uiEXT(location, v0, v1) version 2.0 extension soft WINSOFT glfflags ignore - glsflags ignore glxflags ignore + alias Uniform2ui + glsalias Uniform2ui Uniform3uiEXT(location, v0, v1, v2) return void @@ -21305,8 +22624,9 @@ Uniform3uiEXT(location, v0, v1, v2) version 2.0 extension soft WINSOFT glfflags ignore - glsflags ignore glxflags ignore + alias Uniform3ui + glsalias Uniform3ui Uniform4uiEXT(location, v0, v1, v2, v3) return void @@ -21319,8 +22639,9 @@ Uniform4uiEXT(location, v0, v1, v2, v3) version 2.0 extension soft WINSOFT glfflags ignore - glsflags ignore glxflags ignore + alias Uniform4ui + glsalias Uniform4ui Uniform1uivEXT(location, count, value) return void @@ -21331,8 +22652,9 @@ Uniform1uivEXT(location, count, value) version 2.0 extension soft WINSOFT glfflags ignore - glsflags ignore glxflags ignore + alias Uniform1uiv + glsalias Uniform1uiv Uniform2uivEXT(location, count, value) return void @@ -21343,8 +22665,9 @@ Uniform2uivEXT(location, count, value) version 2.0 extension soft WINSOFT glfflags ignore - glsflags ignore glxflags ignore + alias Uniform2uiv + glsalias Uniform2uiv Uniform3uivEXT(location, count, value) return void @@ -21355,8 +22678,9 @@ Uniform3uivEXT(location, count, value) version 2.0 extension soft WINSOFT glfflags ignore - glsflags ignore glxflags ignore + alias Uniform3uiv + glsalias Uniform3uiv Uniform4uivEXT(location, count, value) return void @@ -21367,8 +22691,9 @@ Uniform4uivEXT(location, count, value) version 2.0 extension soft WINSOFT glfflags ignore - glsflags ignore glxflags ignore + alias Uniform4uiv + glsalias Uniform4uiv ############################################################################### # @@ -21389,8 +22714,9 @@ DrawArraysInstancedEXT(mode, start, count, primcount) dlflags notlistable vectorequiv ArrayElement glfflags ignore - glsflags ignore glxflags ignore + alias DrawArraysInstancedARB + glsalias DrawArraysInstancedARB DrawElementsInstancedEXT(mode, count, type, indices, primcount) return void @@ -21405,9 +22731,9 @@ DrawElementsInstancedEXT(mode, count, type, indices, primcount) dlflags notlistable vectorequiv ArrayElement glfflags ignore - glsflags ignore glxflags ignore - + alias DrawElementsInstancedARB + glsalias DrawElementsInstancedARB ############################################################################### # @@ -21445,8 +22771,9 @@ TexBufferEXT(target, internalformat, buffer) version 2.0 extension soft WINSOFT NV50 glfflags ignore - glsflags ignore glxflags ignore + alias TexBufferARB + glsalias TexBufferARB ############################################################################### # @@ -21628,77 +22955,83 @@ ProgramBufferParametersIuivNV(target, buffer, index, count, params) ColorMaskIndexedEXT(index, r, g, b, a) return void - param index UInt32 in value - param r Boolean in value - param g Boolean in value - param b Boolean in value - param a Boolean in value + param index UInt32 in value + param r Boolean in value + param g Boolean in value + param b Boolean in value + param a Boolean in value category EXT_draw_buffers2 version 2.0 glxflags ignore glfflags ignore - glsflags ignore extension soft WINSOFT + alias ColorMaski + glsalias ColorMaski GetBooleanIndexedvEXT(target, index, data) return void param target GLenum in value - param index UInt32 in value - param data Boolean out array [COMPSIZE(target)] + param index UInt32 in value + param data Boolean out array [COMPSIZE(target)] category EXT_draw_buffers2 version 2.0 dlflags notlistable glxflags ignore glfflags ignore - glsflags ignore extension soft WINSOFT + alias GetBooleani_v + glsalias GetBooleani_v GetIntegerIndexedvEXT(target, index, data) return void param target GLenum in value - param index UInt32 in value - param data Int32 out array [COMPSIZE(target)] + param index UInt32 in value + param data Int32 out array [COMPSIZE(target)] category EXT_draw_buffers2 version 2.0 dlflags notlistable glxflags ignore glfflags ignore - glsflags ignore extension soft WINSOFT + alias GetIntegeri_v + glsalias GetIntegeri_v EnableIndexedEXT(target, index) return void param target GLenum in value - param index UInt32 in value + param index UInt32 in value category EXT_draw_buffers2 version 2.0 glxflags ignore glfflags ignore - glsflags ignore extension soft WINSOFT + alias Enablei + glsalias Enablei DisableIndexedEXT(target, index) return void param target GLenum in value - param index UInt32 in value + param index UInt32 in value category EXT_draw_buffers2 version 2.0 glxflags ignore glfflags ignore - glsflags ignore extension soft WINSOFT + alias Disablei + glsalias Disablei IsEnabledIndexedEXT(target, index) return Boolean param target GLenum in value - param index UInt32 in value + param index UInt32 in value category EXT_draw_buffers2 version 2.0 dlflags notlistable glxflags ignore glfflags ignore - glsflags ignore extension soft WINSOFT + alias IsEnabledi + glsalias IsEnabledi ############################################################################### # @@ -21715,8 +23048,9 @@ BeginTransformFeedbackNV(primitiveMode) dlflags notlistable glxflags ignore glfflags ignore - glsflags ignore extension soft WINSOFT + alias BeginTransformFeedback + glsalias BeginTransformFeedback EndTransformFeedbackNV() return void @@ -21725,8 +23059,9 @@ EndTransformFeedbackNV() dlflags notlistable glxflags ignore glfflags ignore - glsflags ignore extension soft WINSOFT + alias EndTransformFeedback + glsalias EndTransformFeedback TransformFeedbackAttribsNV(count, attribs, bufferMode) return void @@ -21753,8 +23088,9 @@ BindBufferRangeNV(target, index, buffer, offset, size) dlflags notlistable glxflags ignore glfflags ignore - glsflags ignore extension soft WINSOFT + alias BindBufferRange + glsalias BindBufferRange BindBufferOffsetNV(target, index, buffer, offset) return void @@ -21767,8 +23103,9 @@ BindBufferOffsetNV(target, index, buffer, offset) dlflags notlistable glxflags ignore glfflags ignore - glsflags ignore extension soft WINSOFT + alias BindBufferOffsetEXT + glsalias BindBufferOffsetEXT BindBufferBaseNV(target, index, buffer) return void @@ -21780,8 +23117,9 @@ BindBufferBaseNV(target, index, buffer) dlflags notlistable glxflags ignore glfflags ignore - glsflags ignore extension soft WINSOFT + alias BindBufferBase + glsalias BindBufferBase TransformFeedbackVaryingsNV(program, count, locations, bufferMode) return void @@ -21794,8 +23132,9 @@ TransformFeedbackVaryingsNV(program, count, locations, bufferMode) dlflags notlistable glxflags ignore glfflags ignore - glsflags ignore extension soft WINSOFT + alias TransformFeedbackVaryings + glsalias TransformFeedbackVaryings ActiveVaryingNV(program, name) return void @@ -21848,8 +23187,9 @@ GetTransformFeedbackVaryingNV(program, index, location) version 1.5 extension soft WINSOFT glfflags ignore - glsflags ignore glxflags ignore + alias GetTransformFeedbackVarying + glsalias GetTransformFeedbackVarying ############################################################################### # @@ -21910,8 +23250,9 @@ TexParameterIivEXT(target, pname, params) version 2.0 extension soft WINSOFT NV50 glfflags ignore - glsflags ignore glxflags ignore + alias TexParameterIiv + glsalias TexParameterIiv TexParameterIuivEXT(target, pname, params) return void @@ -21922,8 +23263,9 @@ TexParameterIuivEXT(target, pname, params) version 2.0 extension soft WINSOFT NV50 glfflags ignore - glsflags ignore glxflags ignore + alias TexParameterIuiv + glsalias TexParameterIuiv GetTexParameterIivEXT(target, pname, params) return void @@ -21936,8 +23278,9 @@ GetTexParameterIivEXT(target, pname, params) version 2.0 extension soft WINSOFT NV50 glfflags ignore - glsflags ignore glxflags ignore + alias GetTexParameterIiv + glsalias GetTexParameterIiv GetTexParameterIuivEXT(target, pname, params) return void @@ -21950,8 +23293,9 @@ GetTexParameterIuivEXT(target, pname, params) version 2.0 extension soft WINSOFT NV50 glfflags ignore - glsflags ignore glxflags ignore + alias GetTexParameterIuiv + glsalias GetTexParameterIuiv ClearColorIiEXT(red, green, blue, alpha) return void @@ -21985,3 +23329,3059 @@ ClearColorIuiEXT(red, green, blue, alpha) # ############################################################################### +############################################################################### +# +# Extension #345 +# GREMEDY_frame_terminator commands +# +############################################################################### + +FrameTerminatorGREMEDY() + return void + category GREMEDY_frame_terminator + version 1.0 + extension + glsflags ignore + glxflags ignore + offset ? + +############################################################################### +# +# Extension #346 +# NV_conditional_render commands +# +############################################################################### + +BeginConditionalRenderNV(id, mode) + return void + param id UInt32 in value + param mode TypeEnum in value + category NV_conditional_render + glfflags ignore + glxflags ignore + alias BeginConditionalRender + glsalias BeginConditionalRender + +EndConditionalRenderNV() + return void + category NV_conditional_render + glfflags ignore + glsflags ignore + glxflags ignore + alias EndConditionalRender + glsalias EndConditionalRender + +############################################################################### +# +# Extension #347 +# NV_present_video commands +# +############################################################################### + +# TBD +newcategory: NV_present_video + +# void PresentFrameKeyedNV(uint video_slot, uint64EXT minPresentTime, +# uint beginPresentTimeId, uint +# presentDurationId, enum type, enum target0, +# uint fill0, uint key0, enum target1, uint +# fill1, uint key1); +# +# void PresentFrameDualFillNV(uint video_slot, uint64EXT +# minPresentTime, uint beginPresentTimeId, +# uint presentDurationId, enum type, enum +# target0, uint fill0, enum target1, uint +# fill1, enum target2, uint fill2, enum +# target3, uint fill3); +# +# void GetVideoivNV(uint video_slot, enum pname, int *params); +# void GetVideouivNV(uint video_slot, enum pname, uint *params); +# void GetVideoi64vNV(uint video_slot, enum pname, int64EXT *params); +# void GetVideoui64vNV(uint video_slot, enum pname, uint64EXT *params); +# void VideoParameterivNV(uint video_slot, enum pname, const int *params); + +############################################################################### +# +# Extension #348 - GLX_NV_video_out +# Extension #349 - WGL_NV_video_out +# Extension #350 - GLX_NV_swap_group +# Extension #351 - WGL_NV_swap_group +# +############################################################################### + +############################################################################### +# +# Extension #352 +# EXT_transform_feedback commands +# +############################################################################### + +# From EXT_draw_buffers2: GetBooleanIndexedvEXT / GetIntegerIndexedvEXT + +BeginTransformFeedbackEXT(primitiveMode) + return void + param primitiveMode GLenum in value + category EXT_transform_feedback + version 2.0 + dlflags notlistable + glxflags ignore + glfflags ignore + extension soft WINSOFT + alias BeginTransformFeedback + glsalias BeginTransformFeedback + +EndTransformFeedbackEXT() + return void + category EXT_transform_feedback + version 2.0 + dlflags notlistable + glxflags ignore + glfflags ignore + extension soft WINSOFT + alias EndTransformFeedback + glsalias EndTransformFeedback + +BindBufferRangeEXT(target, index, buffer, offset, size) + return void + param target GLenum in value + param index UInt32 in value + param buffer UInt32 in value + param offset BufferOffset in value + param size BufferSize in value + category EXT_transform_feedback + version 2.0 + dlflags notlistable + glxflags ignore + glfflags ignore + extension soft WINSOFT + alias BindBufferRange + glsalias BindBufferRange + +# Not promoted to the OpenGL 3.0 core +BindBufferOffsetEXT(target, index, buffer, offset) + return void + param target GLenum in value + param index UInt32 in value + param buffer UInt32 in value + param offset BufferOffset in value + category EXT_transform_feedback + version 2.0 + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + extension soft WINSOFT + +BindBufferBaseEXT(target, index, buffer) + return void + param target GLenum in value + param index UInt32 in value + param buffer UInt32 in value + category EXT_transform_feedback + version 2.0 + dlflags notlistable + glxflags ignore + glfflags ignore + extension soft WINSOFT + alias BindBufferBase + glsalias BindBufferBase + +TransformFeedbackVaryingsEXT(program, count, locations, bufferMode) + return void + param program UInt32 in value + param count SizeI in value + param locations Int32 in array [COMPSIZE(count)] + param bufferMode GLenum in value + category EXT_transform_feedback + version 2.0 + dlflags notlistable + glxflags ignore + glfflags ignore + extension soft WINSOFT + alias TransformFeedbackVaryings + glsalias TransformFeedbackVaryings + + +GetTransformFeedbackVaryingEXT(program, index, location) + return void + param program UInt32 in value + param index UInt32 in value + param location Int32 out array [1] + category EXT_transform_feedback + dlflags notlistable + version 2.0 + extension soft WINSOFT + glfflags ignore + glxflags ignore + alias GetTransformFeedbackVarying + glsalias GetTransformFeedbackVarying + +############################################################################### +# +# Extension #353 +# EXT_direct_state_access commands +# +############################################################################### + +# New 1.1 client commands + +ClientAttribDefaultEXT(mask) + return void + param mask ClientAttribMask in value + category EXT_direct_state_access + extension soft WINSOFT + dlflags notlistable + glxflags ignore ### client-handcode client-intercept server-handcode + glsflags client-state + +PushClientAttribDefaultEXT(mask) + return void + param mask ClientAttribMask in value + category EXT_direct_state_access + extension soft WINSOFT + dlflags notlistable + glxflags ignore ### client-handcode client-intercept server-handcode + glsflags client-state + +# New 1.0 matrix commands + +MatrixLoadfEXT(mode, m) + return void + param mode MatrixMode in value + param m Float32 in array [16] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixLoaddEXT(mode, m) + return void + param mode MatrixMode in value + param m Float64 in array [16] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixMultfEXT(mode, m) + return void + param mode MatrixMode in value + param m Float32 in array [16] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixMultdEXT(mode, m) + return void + param mode MatrixMode in value + param m Float64 in array [16] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixLoadIdentityEXT(mode) + return void + param mode MatrixMode in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixRotatefEXT(mode, angle, x, y, z) + return void + param mode MatrixMode in value + param angle Float32 in value + param x Float32 in value + param y Float32 in value + param z Float32 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixRotatedEXT(mode, angle, x, y, z) + return void + param mode MatrixMode in value + param angle Float64 in value + param x Float64 in value + param y Float64 in value + param z Float64 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixScalefEXT(mode, x, y, z) + return void + param mode MatrixMode in value + param x Float32 in value + param y Float32 in value + param z Float32 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixScaledEXT(mode, x, y, z) + return void + param mode MatrixMode in value + param x Float64 in value + param y Float64 in value + param z Float64 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixTranslatefEXT(mode, x, y, z) + return void + param mode MatrixMode in value + param x Float32 in value + param y Float32 in value + param z Float32 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixTranslatedEXT(mode, x, y, z) + return void + param mode MatrixMode in value + param x Float64 in value + param y Float64 in value + param z Float64 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixFrustumEXT(mode, left, right, bottom, top, zNear, zFar) + return void + param mode MatrixMode in value + param left Float64 in value + param right Float64 in value + param bottom Float64 in value + param top Float64 in value + param zNear Float64 in value + param zFar Float64 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixOrthoEXT(mode, left, right, bottom, top, zNear, zFar) + return void + param mode MatrixMode in value + param left Float64 in value + param right Float64 in value + param bottom Float64 in value + param top Float64 in value + param zNear Float64 in value + param zFar Float64 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixPopEXT(mode) + return void + param mode MatrixMode in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixPushEXT(mode) + return void + param mode MatrixMode in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +# New 1.3 matrix transpose commands + +MatrixLoadTransposefEXT(mode, m) + return void + param mode MatrixMode in value + param m Float32 in array [16] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixLoadTransposedEXT(mode, m) + return void + param mode MatrixMode in value + param m Float64 in array [16] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixMultTransposefEXT(mode, m) + return void + param mode MatrixMode in value + param m Float32 in array [16] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MatrixMultTransposedEXT(mode, m) + return void + param mode MatrixMode in value + param m Float64 in array [16] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +# New 1.1 texture object commands + +TextureParameterfEXT(texture, target, pname, param) + return void + param texture Texture in value + param target TextureTarget in value + param pname TextureParameterName in value + param param CheckedFloat32 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + vectorequiv TextureParameterfvEXT + +TextureParameterfvEXT(texture, target, pname, params) + return void + param texture Texture in value + param target TextureTarget in value + param pname TextureParameterName in value + param params CheckedFloat32 in array [COMPSIZE(pname)] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +TextureParameteriEXT(texture, target, pname, param) + return void + param texture Texture in value + param target TextureTarget in value + param pname TextureParameterName in value + param param CheckedInt32 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + vectorequiv TextureParameterivEXT + +TextureParameterivEXT(texture, target, pname, params) + return void + param texture Texture in value + param target TextureTarget in value + param pname TextureParameterName in value + param params CheckedInt32 in array [COMPSIZE(pname)] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +TextureImage1DEXT(texture, target, level, internalformat, width, border, format, type, pixels) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param width SizeI in value + param border CheckedInt32 in value + param format PixelFormat in value + param type PixelType in value + param pixels Void in array [COMPSIZE(format/type/width)] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + extension soft WINSOFT + glfflags capture-handcode decode-handcode pixel-unpack + glsflags pixel-null pixel-unpack + +TextureImage2DEXT(texture, target, level, internalformat, width, height, border, format, type, pixels) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param width SizeI in value + param height SizeI in value + param border CheckedInt32 in value + param format PixelFormat in value + param type PixelType in value + param pixels Void in array [COMPSIZE(format/type/width/height)] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + extension soft WINSOFT + glfflags capture-handcode decode-handcode pixel-unpack + glsflags pixel-null pixel-unpack + +TextureSubImage1DEXT(texture, target, level, xoffset, width, format, type, pixels) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param width SizeI in value + param format PixelFormat in value + param type PixelType in value + param pixels Void in array [COMPSIZE(format/type/width)] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### EXT client-handcode server-handcode + glxflags ignore + extension soft WINSOFT + glfflags ignore + glsflags pixel-unpack + +TextureSubImage2DEXT(texture, target, level, xoffset, yoffset, width, height, format, type, pixels) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param yoffset CheckedInt32 in value + param width SizeI in value + param height SizeI in value + param format PixelFormat in value + param type PixelType in value + param pixels Void in array [COMPSIZE(format/type/width/height)] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### EXT client-handcode server-handcode + extension soft WINSOFT + glfflags ignore + glsflags pixel-unpack + +CopyTextureImage1DEXT(texture, target, level, internalformat, x, y, width, border) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param x WinCoord in value + param y WinCoord in value + param width SizeI in value + param border CheckedInt32 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore ### EXT + +CopyTextureImage2DEXT(texture, target, level, internalformat, x, y, width, height, border) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param x WinCoord in value + param y WinCoord in value + param width SizeI in value + param height SizeI in value + param border CheckedInt32 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore ### EXT + +CopyTextureSubImage1DEXT(texture, target, level, xoffset, x, y, width) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param x WinCoord in value + param y WinCoord in value + param width SizeI in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore ### EXT + +CopyTextureSubImage2DEXT(texture, target, level, xoffset, yoffset, x, y, width, height) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param yoffset CheckedInt32 in value + param x WinCoord in value + param y WinCoord in value + param width SizeI in value + param height SizeI in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore ### EXT + +# New 1.1 texture object queries + +GetTextureImageEXT(texture, target, level, format, type, pixels) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param format PixelFormat in value + param type PixelType in value + param pixels Void out array [COMPSIZE(target/level/format/type)] + category EXT_direct_state_access + dlflags notlistable + glxflags ignore ### client-handcode server-handcode + extension soft WINSOFT + glfflags capture-execute capture-handcode decode-handcode pixel-pack + glsflags get pixel-pack + +GetTextureParameterfvEXT(texture, target, pname, params) + return void + param texture Texture in value + param target TextureTarget in value + param pname GetTextureParameter in value + param params Float32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + +GetTextureParameterivEXT(texture, target, pname, params) + return void + param texture Texture in value + param target TextureTarget in value + param pname GetTextureParameter in value + param params Int32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + +GetTextureLevelParameterfvEXT(texture, target, level, pname, params) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param pname GetTextureParameter in value + param params Float32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + +GetTextureLevelParameterivEXT(texture, target, level, pname, params) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param pname GetTextureParameter in value + param params Int32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + +# New 1.2 3D texture object commands + +TextureImage3DEXT(texture, target, level, internalformat, width, height, depth, border, format, type, pixels) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param width SizeI in value + param height SizeI in value + param depth SizeI in value + param border CheckedInt32 in value + param format PixelFormat in value + param type PixelType in value + param pixels Void in array [COMPSIZE(format/type/width/height/depth)] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode EXT + extension soft WINSOFT + glfflags ignore + glsflags ignore + +TextureSubImage3DEXT(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param yoffset CheckedInt32 in value + param zoffset CheckedInt32 in value + param width SizeI in value + param height SizeI in value + param depth SizeI in value + param format PixelFormat in value + param type PixelType in value + param pixels Void in array [COMPSIZE(format/type/width/height/depth)] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode EXT + extension soft WINSOFT + glfflags ignore + glsflags ignore + +CopyTextureSubImage3DEXT(texture, target, level, xoffset, yoffset, zoffset, x, y, width, height) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param yoffset CheckedInt32 in value + param zoffset CheckedInt32 in value + param x WinCoord in value + param y WinCoord in value + param width SizeI in value + param height SizeI in value + category EXT_direct_state_access + glxflags ignore ### EXT + extension soft WINSOFT + glfflags ignore + glsflags ignore + +# New 1.1 multitexture commands + +MultiTexParameterfEXT(texunit, target, pname, param) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param pname TextureParameterName in value + param param CheckedFloat32 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + vectorequiv MultiTexParameterfvEXT + +MultiTexParameterfvEXT(texunit, target, pname, params) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param pname TextureParameterName in value + param params CheckedFloat32 in array [COMPSIZE(pname)] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MultiTexParameteriEXT(texunit, target, pname, param) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param pname TextureParameterName in value + param param CheckedInt32 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + vectorequiv MultiTexParameterivEXT + +MultiTexParameterivEXT(texunit, target, pname, params) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param pname TextureParameterName in value + param params CheckedInt32 in array [COMPSIZE(pname)] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + +MultiTexImage1DEXT(texunit, target, level, internalformat, width, border, format, type, pixels) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param width SizeI in value + param border CheckedInt32 in value + param format PixelFormat in value + param type PixelType in value + param pixels Void in array [COMPSIZE(format/type/width)] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + extension soft WINSOFT + glfflags capture-handcode decode-handcode pixel-unpack + glsflags pixel-null pixel-unpack + +MultiTexImage2DEXT(texunit, target, level, internalformat, width, height, border, format, type, pixels) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param width SizeI in value + param height SizeI in value + param border CheckedInt32 in value + param format PixelFormat in value + param type PixelType in value + param pixels Void in array [COMPSIZE(format/type/width/height)] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + extension soft WINSOFT + glfflags capture-handcode decode-handcode pixel-unpack + glsflags pixel-null pixel-unpack + +MultiTexSubImage1DEXT(texunit, target, level, xoffset, width, format, type, pixels) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param width SizeI in value + param format PixelFormat in value + param type PixelType in value + param pixels Void in array [COMPSIZE(format/type/width)] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### EXT client-handcode server-handcode + extension soft WINSOFT + glfflags ignore + glsflags pixel-unpack + +MultiTexSubImage2DEXT(texunit, target, level, xoffset, yoffset, width, height, format, type, pixels) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param yoffset CheckedInt32 in value + param width SizeI in value + param height SizeI in value + param format PixelFormat in value + param type PixelType in value + param pixels Void in array [COMPSIZE(format/type/width/height)] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### EXT client-handcode server-handcode + extension soft WINSOFT + glfflags ignore + glsflags pixel-unpack + +CopyMultiTexImage1DEXT(texunit, target, level, internalformat, x, y, width, border) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param x WinCoord in value + param y WinCoord in value + param width SizeI in value + param border CheckedInt32 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore ### EXT + +CopyMultiTexImage2DEXT(texunit, target, level, internalformat, x, y, width, height, border) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param x WinCoord in value + param y WinCoord in value + param width SizeI in value + param height SizeI in value + param border CheckedInt32 in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore ### EXT + +CopyMultiTexSubImage1DEXT(texunit, target, level, xoffset, x, y, width) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param x WinCoord in value + param y WinCoord in value + param width SizeI in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore ### EXT + +CopyMultiTexSubImage2DEXT(texunit, target, level, xoffset, yoffset, x, y, width, height) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param yoffset CheckedInt32 in value + param x WinCoord in value + param y WinCoord in value + param width SizeI in value + param height SizeI in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore ### EXT + +# New 1.1 multitexture queries + +GetMultiTexImageEXT(texunit, target, level, format, type, pixels) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param format PixelFormat in value + param type PixelType in value + param pixels Void out array [COMPSIZE(target/level/format/type)] + category EXT_direct_state_access + dlflags notlistable + glxflags ignore ### client-handcode server-handcode + extension soft WINSOFT + glfflags capture-execute capture-handcode decode-handcode pixel-pack + glsflags get pixel-pack + +GetMultiTexParameterfvEXT(texunit, target, pname, params) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param pname GetTextureParameter in value + param params Float32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + +GetMultiTexParameterivEXT(texunit, target, pname, params) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param pname GetTextureParameter in value + param params Int32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + +GetMultiTexLevelParameterfvEXT(texunit, target, level, pname, params) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param pname GetTextureParameter in value + param params Float32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + +GetMultiTexLevelParameterivEXT(texunit, target, level, pname, params) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param pname GetTextureParameter in value + param params Int32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + +# New 1.2 3D multitexture commands + +MultiTexImage3DEXT(texunit, target, level, internalformat, width, height, depth, border, format, type, pixels) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param width SizeI in value + param height SizeI in value + param depth SizeI in value + param border CheckedInt32 in value + param format PixelFormat in value + param type PixelType in value + param pixels Void in array [COMPSIZE(format/type/width/height/depth)] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode EXT + extension soft WINSOFT + glfflags ignore + glsflags ignore + +MultiTexSubImage3DEXT(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param yoffset CheckedInt32 in value + param zoffset CheckedInt32 in value + param width SizeI in value + param height SizeI in value + param depth SizeI in value + param format PixelFormat in value + param type PixelType in value + param pixels Void in array [COMPSIZE(format/type/width/height/depth)] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode EXT + extension soft WINSOFT + glfflags ignore + glsflags ignore + +CopyMultiTexSubImage3DEXT(texunit, target, level, xoffset, yoffset, zoffset, x, y, width, height) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param yoffset CheckedInt32 in value + param zoffset CheckedInt32 in value + param x WinCoord in value + param y WinCoord in value + param width SizeI in value + param height SizeI in value + category EXT_direct_state_access + glxflags ignore ### EXT + extension soft WINSOFT + glfflags ignore + glsflags ignore + +# New 1.2.1 multitexture texture commands + +BindMultiTextureEXT(texunit, target, texture) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param texture Texture in value + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore ### EXT + +EnableClientStateIndexedEXT(array, index) + return void + param array EnableCap in value + param index UInt32 in value + category EXT_direct_state_access + dlflags notlistable + glxflags ignore ### client-handcode client-intercept server-handcode + extension soft WINSOFT + glsflags client-state + +DisableClientStateIndexedEXT(array, index) + return void + param array EnableCap in value + param index UInt32 in value + category EXT_direct_state_access + extension soft WINSOFT + dlflags notlistable + glxflags ignore ### client-handcode client-intercept server-handcode + glsflags client-state + +MultiTexCoordPointerEXT(texunit, size, type, stride, pointer) + return void + param texunit TextureUnit in value + param size Int32 in value + param type TexCoordPointerType in value + param stride SizeI in value + param pointer Void in array [COMPSIZE(size/type/stride)] retained + category EXT_direct_state_access + dlflags notlistable + glxflags ignore ### client-handcode client-intercept server-handcode + extension soft WINSOFT + glfflags ignore + glsflags client-state + +MultiTexEnvfEXT(texunit, target, pname, param) + return void + param texunit TextureUnit in value + param target TextureEnvTarget in value + param pname TextureEnvParameter in value + param param CheckedFloat32 in value + category EXT_direct_state_access + extension soft WINSOFT + vectorequiv MultiTexEnvfvEXT + glxflags ignore + glfflags gl-enum + glsflags gl-enum + +MultiTexEnvfvEXT(texunit, target, pname, params) + return void + param texunit TextureUnit in value + param target TextureEnvTarget in value + param pname TextureEnvParameter in value + param params CheckedFloat32 in array [COMPSIZE(pname)] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags gl-enum + glsflags gl-enum + +MultiTexEnviEXT(texunit, target, pname, param) + return void + param texunit TextureUnit in value + param target TextureEnvTarget in value + param pname TextureEnvParameter in value + param param CheckedInt32 in value + category EXT_direct_state_access + extension soft WINSOFT + vectorequiv MultiTexEnvivEXT + glxflags ignore + glfflags gl-enum + glsflags gl-enum + +MultiTexEnvivEXT(texunit, target, pname, params) + return void + param texunit TextureUnit in value + param target TextureEnvTarget in value + param pname TextureEnvParameter in value + param params CheckedInt32 in array [COMPSIZE(pname)] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags gl-enum + glsflags gl-enum + +MultiTexGendEXT(texunit, coord, pname, param) + return void + param texunit TextureUnit in value + param coord TextureCoordName in value + param pname TextureGenParameter in value + param param Float64 in value + category EXT_direct_state_access + extension soft WINSOFT + vectorequiv MultiTexGendvEXT + glxflags ignore + glfflags gl-enum + glsflags gl-enum + +MultiTexGendvEXT(texunit, coord, pname, params) + return void + param texunit TextureUnit in value + param coord TextureCoordName in value + param pname TextureGenParameter in value + param params Float64 in array [COMPSIZE(pname)] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags gl-enum + glsflags gl-enum + +MultiTexGenfEXT(texunit, coord, pname, param) + return void + param texunit TextureUnit in value + param coord TextureCoordName in value + param pname TextureGenParameter in value + param param CheckedFloat32 in value + category EXT_direct_state_access + extension soft WINSOFT + vectorequiv MultiTexGenfvEXT + glxflags ignore + glfflags gl-enum + glsflags gl-enum + +MultiTexGenfvEXT(texunit, coord, pname, params) + return void + param texunit TextureUnit in value + param coord TextureCoordName in value + param pname TextureGenParameter in value + param params CheckedFloat32 in array [COMPSIZE(pname)] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags gl-enum + glsflags gl-enum + +MultiTexGeniEXT(texunit, coord, pname, param) + return void + param texunit TextureUnit in value + param coord TextureCoordName in value + param pname TextureGenParameter in value + param param CheckedInt32 in value + category EXT_direct_state_access + extension soft WINSOFT + vectorequiv MultiTexGenivEXT + glxflags ignore + glfflags gl-enum + glsflags gl-enum + +MultiTexGenivEXT(texunit, coord, pname, params) + return void + param texunit TextureUnit in value + param coord TextureCoordName in value + param pname TextureGenParameter in value + param params CheckedInt32 in array [COMPSIZE(pname)] + category EXT_direct_state_access + extension soft WINSOFT + glxflags ignore + glfflags gl-enum + glsflags gl-enum + +# New 1.2.1 multitexture texture queries + +GetMultiTexEnvfvEXT(texunit, target, pname, params) + return void + param texunit TextureUnit in value + param target TextureEnvTarget in value + param pname TextureEnvParameter in value + param params Float32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + +GetMultiTexEnvivEXT(texunit, target, pname, params) + return void + param texunit TextureUnit in value + param target TextureEnvTarget in value + param pname TextureEnvParameter in value + param params Int32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + +GetMultiTexGendvEXT(texunit, coord, pname, params) + return void + param texunit TextureUnit in value + param coord TextureCoordName in value + param pname TextureGenParameter in value + param params Float64 out array [COMPSIZE(pname)] + category EXT_direct_state_access + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + +GetMultiTexGenfvEXT(texunit, coord, pname, params) + return void + param texunit TextureUnit in value + param coord TextureCoordName in value + param pname TextureGenParameter in value + param params Float32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + +GetMultiTexGenivEXT(texunit, coord, pname, params) + return void + param texunit TextureUnit in value + param coord TextureCoordName in value + param pname TextureGenParameter in value + param params Int32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + +# From EXT_draw_buffers2 +# EnableIndexedEXT +# DisableIndexedEXT +# IsEnabledIndexedEXT + +GetFloatIndexedvEXT(target, index, data) + return void + param target TypeEnum in value + param index UInt32 in value + param data Float32 out array [COMPSIZE(target)] + category EXT_direct_state_access + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + extension soft WINSOFT + +GetDoubleIndexedvEXT(target, index, data) + return void + param target TypeEnum in value + param index UInt32 in value + param data Float64 out array [COMPSIZE(target)] + category EXT_direct_state_access + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + extension soft WINSOFT + +GetPointerIndexedvEXT(target, index, data) + return void + param target TypeEnum in value + param index UInt32 in value + param data VoidPointer out array [COMPSIZE(target)] + category EXT_direct_state_access + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + extension soft WINSOFT + +# New compressed texture commands + +CompressedTextureImage3DEXT(texture, target, level, internalformat, width, height, depth, border, imageSize, bits) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param width SizeI in value + param height SizeI in value + param depth SizeI in value + param border CheckedInt32 in value + param imageSize SizeI in value + param bits Void in array [imageSize] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + glfflags ignore + glsflags ignore + extension soft WINSOFT + +CompressedTextureImage2DEXT(texture, target, level, internalformat, width, height, border, imageSize, bits) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param width SizeI in value + param height SizeI in value + param border CheckedInt32 in value + param imageSize SizeI in value + param bits Void in array [imageSize] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + glfflags ignore + glsflags ignore + extension soft WINSOFT + +CompressedTextureImage1DEXT(texture, target, level, internalformat, width, border, imageSize, bits) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param width SizeI in value + param border CheckedInt32 in value + param imageSize SizeI in value + param bits Void in array [imageSize] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + glfflags ignore + glsflags ignore + extension soft WINSOFT + +CompressedTextureSubImage3DEXT(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param yoffset CheckedInt32 in value + param zoffset CheckedInt32 in value + param width SizeI in value + param height SizeI in value + param depth SizeI in value + param format PixelFormat in value + param imageSize SizeI in value + param bits Void in array [imageSize] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + glfflags ignore + glsflags ignore + extension soft WINSOFT + +CompressedTextureSubImage2DEXT(texture, target, level, xoffset, yoffset, width, height, format, imageSize, bits) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param yoffset CheckedInt32 in value + param width SizeI in value + param height SizeI in value + param format PixelFormat in value + param imageSize SizeI in value + param bits Void in array [imageSize] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + glfflags ignore + glsflags ignore + extension soft WINSOFT + +CompressedTextureSubImage1DEXT(texture, target, level, xoffset, width, format, imageSize, bits) + return void + param texture Texture in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param width SizeI in value + param format PixelFormat in value + param imageSize SizeI in value + param bits Void in array [imageSize] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + glfflags ignore + glsflags ignore + extension soft WINSOFT + +# New compressed texture query + +GetCompressedTextureImageEXT(texture, target, lod, img) + return void + param texture Texture in value + param target TextureTarget in value + param lod CheckedInt32 in value + param img Void out array [COMPSIZE(target/lod)] + category EXT_direct_state_access + dlflags notlistable + glxflags ignore ### server-handcode + glsflags ignore + extension soft WINSOFT + +# New compressed multitexture commands + +CompressedMultiTexImage3DEXT(texunit, target, level, internalformat, width, height, depth, border, imageSize, bits) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param width SizeI in value + param height SizeI in value + param depth SizeI in value + param border CheckedInt32 in value + param imageSize SizeI in value + param bits Void in array [imageSize] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + glfflags ignore + glsflags ignore + extension soft WINSOFT + +CompressedMultiTexImage2DEXT(texunit, target, level, internalformat, width, height, border, imageSize, bits) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param width SizeI in value + param height SizeI in value + param border CheckedInt32 in value + param imageSize SizeI in value + param bits Void in array [imageSize] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + glfflags ignore + glsflags ignore + extension soft WINSOFT + +CompressedMultiTexImage1DEXT(texunit, target, level, internalformat, width, border, imageSize, bits) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param internalformat TextureInternalFormat in value + param width SizeI in value + param border CheckedInt32 in value + param imageSize SizeI in value + param bits Void in array [imageSize] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + glfflags ignore + glsflags ignore + extension soft WINSOFT + +CompressedMultiTexSubImage3DEXT(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param yoffset CheckedInt32 in value + param zoffset CheckedInt32 in value + param width SizeI in value + param height SizeI in value + param depth SizeI in value + param format PixelFormat in value + param imageSize SizeI in value + param bits Void in array [imageSize] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + glfflags ignore + glsflags ignore + extension soft WINSOFT + +CompressedMultiTexSubImage2DEXT(texunit, target, level, xoffset, yoffset, width, height, format, imageSize, bits) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param yoffset CheckedInt32 in value + param width SizeI in value + param height SizeI in value + param format PixelFormat in value + param imageSize SizeI in value + param bits Void in array [imageSize] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + glfflags ignore + glsflags ignore + extension soft WINSOFT + +CompressedMultiTexSubImage1DEXT(texunit, target, level, xoffset, width, format, imageSize, bits) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param level CheckedInt32 in value + param xoffset CheckedInt32 in value + param width SizeI in value + param format PixelFormat in value + param imageSize SizeI in value + param bits Void in array [imageSize] + category EXT_direct_state_access + dlflags handcode + glxflags ignore ### client-handcode server-handcode + glfflags ignore + glsflags ignore + extension soft WINSOFT + +# New compressed multitexture query + +GetCompressedMultiTexImageEXT(texunit, target, lod, img) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param lod CheckedInt32 in value + param img Void out array [COMPSIZE(target/lod)] + category EXT_direct_state_access + dlflags notlistable + glxflags ignore ### server-handcode + glsflags ignore + extension soft WINSOFT + +# New ARB assembly program named commands + +NamedProgramStringEXT(program, target, format, len, string) + return void + param program UInt32 in value + param target ProgramTarget in value + param format ProgramFormat in value + param len SizeI in value + param string Void in array [len] + category EXT_direct_state_access + subcategory ARB_vertex_program + extension soft WINSOFT + glfflags ignore + glsflags ignore + glxflags ignore ### client-handcode server-handcode EXT + glextmask GL_MASK_ARB_vertex_program|GL_MASK_ARB_fragment_program + +NamedProgramLocalParameter4dEXT(program, target, index, x, y, z, w) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param x Float64 in value + param y Float64 in value + param z Float64 in value + param w Float64 in value + category EXT_direct_state_access + subcategory ARB_vertex_program + vectorequiv NamedProgramLocalParameter4dvEXT + glxvectorequiv NamedProgramLocalParameter4dvEXT + extension soft WINSOFT NV10 + glfflags ignore + glsflags ignore + glxflags ignore ### EXT + glextmask GL_MASK_ARB_vertex_program|GL_MASK_ARB_fragment_program + +NamedProgramLocalParameter4dvEXT(program, target, index, params) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param params Float64 in array [4] + category EXT_direct_state_access + subcategory ARB_vertex_program + extension soft WINSOFT NV10 + glfflags ignore + glsflags ignore + glxflags ignore ### EXT + glextmask GL_MASK_ARB_vertex_program|GL_MASK_ARB_fragment_program + +NamedProgramLocalParameter4fEXT(program, target, index, x, y, z, w) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param x Float32 in value + param y Float32 in value + param z Float32 in value + param w Float32 in value + category EXT_direct_state_access + subcategory ARB_vertex_program + vectorequiv NamedProgramLocalParameter4fvEXT + glxvectorequiv NamedProgramLocalParameter4fvEXT + extension soft WINSOFT NV10 + glfflags ignore + glsflags ignore + glxflags ignore ### EXT + glextmask GL_MASK_ARB_vertex_program|GL_MASK_ARB_fragment_program + +NamedProgramLocalParameter4fvEXT(program, target, index, params) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param params Float32 in array [4] + category EXT_direct_state_access + subcategory ARB_vertex_program + extension soft WINSOFT NV10 + glfflags ignore + glsflags ignore + glxflags ignore ### EXT + glextmask GL_MASK_ARB_vertex_program|GL_MASK_ARB_fragment_program + +# New ARB assembly program named queries + +GetNamedProgramLocalParameterdvEXT(program, target, index, params) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param params Float64 out array [4] + dlflags notlistable + category EXT_direct_state_access + subcategory ARB_vertex_program + extension soft WINSOFT NV10 + glfflags ignore + glsflags ignore + glxflags ignore ### client-handcode server-handcode EXT + glextmask GL_MASK_ARB_vertex_program|GL_MASK_ARB_fragment_program + +GetNamedProgramLocalParameterfvEXT(program, target, index, params) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param params Float32 out array [4] + dlflags notlistable + category EXT_direct_state_access + subcategory ARB_vertex_program + extension soft WINSOFT NV10 + glfflags ignore + glsflags ignore + glxflags ignore ### client-handcode server-handcode EXT + glextmask GL_MASK_ARB_vertex_program|GL_MASK_ARB_fragment_program + +GetNamedProgramivEXT(program, target, pname, params) + return void + param program UInt32 in value + param target ProgramTarget in value + param pname ProgramProperty in value + param params Int32 out array [1] + dlflags notlistable + category EXT_direct_state_access + subcategory ARB_vertex_program + extension soft WINSOFT NV10 + glfflags ignore + glsflags ignore + glxflags ignore ### client-handcode server-handcode EXT + glextmask GL_MASK_ARB_vertex_program|GL_MASK_ARB_fragment_program + +GetNamedProgramStringEXT(program, target, pname, string) + return void + param program UInt32 in value + param target ProgramTarget in value + param pname ProgramStringProperty in value + param string Void out array [COMPSIZE(program,pname)] + dlflags notlistable + category EXT_direct_state_access + subcategory ARB_vertex_program + extension soft WINSOFT NV10 + glfflags ignore + glsflags ignore + glxflags ignore ### client-handcode server-handcode EXT + glextmask GL_MASK_ARB_vertex_program|GL_MASK_ARB_fragment_program + +# New EXT_gpu_program_parameters command + +NamedProgramLocalParameters4fvEXT(program, target, index, count, params) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param count SizeI in value + param params Float32 in array [count*4] + category EXT_direct_state_access + subcategory EXT_gpu_program_parameters + extension soft WINSOFT NV10 + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_gpu_program_parameters + +# New NV_gpu_program4 commands + +NamedProgramLocalParameterI4iEXT(program, target, index, x, y, z, w) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param x Int32 in value + param y Int32 in value + param z Int32 in value + param w Int32 in value + category EXT_direct_state_access + subcategory NV_gpu_program4 + vectorequiv NamedProgramLocalParameterI4ivEXT + glxvectorequiv NamedProgramLocalParameterI4ivEXT + extension soft WINSOFT NV50 + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_NV_gpu_program4 + +NamedProgramLocalParameterI4ivEXT(program, target, index, params) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param params Int32 in array [4] + category EXT_direct_state_access + subcategory NV_gpu_program4 + extension soft WINSOFT NV50 + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_NV_gpu_program4 + +NamedProgramLocalParametersI4ivEXT(program, target, index, count, params) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param count SizeI in value + param params Int32 in array [count*4] + category EXT_direct_state_access + subcategory NV_gpu_program4 + extension soft WINSOFT NV50 + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_NV_gpu_program4 + +NamedProgramLocalParameterI4uiEXT(program, target, index, x, y, z, w) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param x UInt32 in value + param y UInt32 in value + param z UInt32 in value + param w UInt32 in value + category EXT_direct_state_access + subcategory NV_gpu_program4 + vectorequiv NamedProgramLocalParameterI4uivEXT + glxvectorequiv NamedProgramLocalParameterI4uivEXT + extension soft WINSOFT NV50 + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_NV_gpu_program4 + +NamedProgramLocalParameterI4uivEXT(program, target, index, params) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param params UInt32 in array [4] + category EXT_direct_state_access + subcategory NV_gpu_program4 + extension soft WINSOFT NV50 + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_NV_gpu_program4 + +NamedProgramLocalParametersI4uivEXT(program, target, index, count, params) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param count SizeI in value + param params UInt32 in array [count*4] + category EXT_direct_state_access + subcategory NV_gpu_program4 + extension soft WINSOFT NV50 + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_NV_gpu_program4 + +GetNamedProgramLocalParameterIivEXT(program, target, index, params) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param params Int32 out array [4] + dlflags notlistable + category EXT_direct_state_access + subcategory NV_gpu_program4 + extension soft WINSOFT NV50 + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_NV_gpu_program4 + +GetNamedProgramLocalParameterIuivEXT(program, target, index, params) + return void + param program UInt32 in value + param target ProgramTarget in value + param index UInt32 in value + param params UInt32 out array [4] + dlflags notlistable + category EXT_direct_state_access + subcategory NV_gpu_program4 + extension soft WINSOFT NV50 + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_NV_gpu_program4 + +# New EXT_texture_integer texture object commands + +TextureParameterIivEXT(texture, target, pname, params) + return void + param texture Texture in value + param target TextureTarget in value + param pname TextureParameterName in value + param params CheckedInt32 in array [COMPSIZE(pname)] + category EXT_direct_state_access + subcategory EXT_texture_integer + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + glextmask GL_MASK_EXT_texture_integer + +TextureParameterIuivEXT(texture, target, pname, params) + return void + param texture Texture in value + param target TextureTarget in value + param pname TextureParameterName in value + param params UInt32 in array [COMPSIZE(pname)] + category EXT_direct_state_access + subcategory EXT_texture_integer + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + glextmask GL_MASK_EXT_texture_integer + +# New EXT_texture_integer texture object queries + +GetTextureParameterIivEXT(texture, target, pname, params) + return void + param texture Texture in value + param target TextureTarget in value + param pname GetTextureParameter in value + param params Int32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + subcategory EXT_texture_integer + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + glextmask GL_MASK_EXT_texture_integer + +GetTextureParameterIuivEXT(texture, target, pname, params) + return void + param texture Texture in value + param target TextureTarget in value + param pname GetTextureParameter in value + param params UInt32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + subcategory EXT_texture_integer + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + glextmask GL_MASK_EXT_texture_integer + +# New EXT_texture_integer multitexture commands + +MultiTexParameterIivEXT(texunit, target, pname, params) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param pname TextureParameterName in value + param params CheckedInt32 in array [COMPSIZE(pname)] + category EXT_direct_state_access + subcategory EXT_texture_integer + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + glextmask GL_MASK_EXT_texture_integer + +MultiTexParameterIuivEXT(texunit, target, pname, params) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param pname TextureParameterName in value + param params UInt32 in array [COMPSIZE(pname)] + category EXT_direct_state_access + subcategory EXT_texture_integer + extension soft WINSOFT + glxflags ignore + glfflags ignore + glsflags ignore + glextmask GL_MASK_EXT_texture_integer + +# New EXT_texture_integer multitexture queries + +GetMultiTexParameterIivEXT(texunit, target, pname, params) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param pname GetTextureParameter in value + param params Int32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + subcategory EXT_texture_integer + dlflags notlistable + extension soft WINSOFT + glfflags capture-execute gl-enum + glsflags get + glxflags ignore + glextmask GL_MASK_EXT_texture_integer + +GetMultiTexParameterIuivEXT(texunit, target, pname, params) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param pname GetTextureParameter in value + param params UInt32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + subcategory EXT_texture_integer + dlflags notlistable + extension soft WINSOFT + glfflags capture-execute gl-enum + glsflags get + glxflags ignore + glextmask GL_MASK_EXT_texture_integer + +# New GLSL 2.0 uniform commands + +ProgramUniform1fEXT(program, location, v0) + return void + param program UInt32 in value + param location Int32 in value + param v0 Float32 in value + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform2fEXT(program, location, v0, v1) + return void + param program UInt32 in value + param location Int32 in value + param v0 Float32 in value + param v1 Float32 in value + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform3fEXT(program, location, v0, v1, v2) + return void + param program UInt32 in value + param location Int32 in value + param v0 Float32 in value + param v1 Float32 in value + param v2 Float32 in value + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform4fEXT(program, location, v0, v1, v2, v3) + return void + param program UInt32 in value + param location Int32 in value + param v0 Float32 in value + param v1 Float32 in value + param v2 Float32 in value + param v3 Float32 in value + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform1iEXT(program, location, v0) + return void + param program UInt32 in value + param location Int32 in value + param v0 Int32 in value + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform2iEXT(program, location, v0, v1) + return void + param program UInt32 in value + param location Int32 in value + param v0 Int32 in value + param v1 Int32 in value + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform3iEXT(program, location, v0, v1, v2) + return void + param program UInt32 in value + param location Int32 in value + param v0 Int32 in value + param v1 Int32 in value + param v2 Int32 in value + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform4iEXT(program, location, v0, v1, v2, v3) + return void + param program UInt32 in value + param location Int32 in value + param v0 Int32 in value + param v1 Int32 in value + param v2 Int32 in value + param v3 Int32 in value + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform1fvEXT(program, location, count, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param value Float32 in array [count] + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform2fvEXT(program, location, count, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param value Float32 in array [count*2] + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform3fvEXT(program, location, count, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param value Float32 in array [count*3] + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform4fvEXT(program, location, count, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param value Float32 in array [count*4] + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform1ivEXT(program, location, count, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param value Int32 in array [count] + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform2ivEXT(program, location, count, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param value Int32 in array [count*2] + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform3ivEXT(program, location, count, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param value Int32 in array [count*3] + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform4ivEXT(program, location, count, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param value Int32 in array [count*4] + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniformMatrix2fvEXT(program, location, count, transpose, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param transpose Boolean in value + param value Float32 in array [count*4] + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniformMatrix3fvEXT(program, location, count, transpose, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param transpose Boolean in value + param value Float32 in array [count*9] + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniformMatrix4fvEXT(program, location, count, transpose, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param transpose Boolean in value + param value Float32 in array [count*16] + category EXT_direct_state_access + subcategory VERSION_2_0 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +# New GLSL 2.1 uniform commands + +ProgramUniformMatrix2x3fvEXT(program, location, count, transpose, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param transpose Boolean in value + param value Float32 in array [count*6] + category EXT_direct_state_access + subcategory VERSION_2_1 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniformMatrix3x2fvEXT(program, location, count, transpose, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param transpose Boolean in value + param value Float32 in array [count*6] + category EXT_direct_state_access + subcategory VERSION_2_1 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniformMatrix2x4fvEXT(program, location, count, transpose, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param transpose Boolean in value + param value Float32 in array [count*8] + category EXT_direct_state_access + subcategory VERSION_2_1 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniformMatrix4x2fvEXT(program, location, count, transpose, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param transpose Boolean in value + param value Float32 in array [count*8] + category EXT_direct_state_access + subcategory VERSION_2_1 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniformMatrix3x4fvEXT(program, location, count, transpose, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param transpose Boolean in value + param value Float32 in array [count*12] + category EXT_direct_state_access + subcategory VERSION_2_1 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniformMatrix4x3fvEXT(program, location, count, transpose, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param transpose Boolean in value + param value Float32 in array [count*12] + category EXT_direct_state_access + subcategory VERSION_2_1 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +# New EXT_gpu_shader4 commands + +ProgramUniform1uiEXT(program, location, v0) + return void + param program UInt32 in value + param location Int32 in value + param v0 UInt32 in value + category EXT_direct_state_access + subcategory EXT_gpu_shader4 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform2uiEXT(program, location, v0, v1) + return void + param program UInt32 in value + param location Int32 in value + param v0 UInt32 in value + param v1 UInt32 in value + category EXT_direct_state_access + subcategory EXT_gpu_shader4 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform3uiEXT(program, location, v0, v1, v2) + return void + param program UInt32 in value + param location Int32 in value + param v0 UInt32 in value + param v1 UInt32 in value + param v2 UInt32 in value + category EXT_direct_state_access + subcategory EXT_gpu_shader4 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform4uiEXT(program, location, v0, v1, v2, v3) + return void + param program UInt32 in value + param location Int32 in value + param v0 UInt32 in value + param v1 UInt32 in value + param v2 UInt32 in value + param v3 UInt32 in value + category EXT_direct_state_access + subcategory EXT_gpu_shader4 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform1uivEXT(program, location, count, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param value UInt32 in array [count] + category EXT_direct_state_access + subcategory EXT_gpu_shader4 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform2uivEXT(program, location, count, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param value UInt32 in array [count*2] + category EXT_direct_state_access + subcategory EXT_gpu_shader4 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform3uivEXT(program, location, count, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param value UInt32 in array [count*3] + category EXT_direct_state_access + subcategory EXT_gpu_shader4 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +ProgramUniform4uivEXT(program, location, count, value) + return void + param program UInt32 in value + param location Int32 in value + param count SizeI in value + param value UInt32 in array [count*4] + category EXT_direct_state_access + subcategory EXT_gpu_shader4 + glfflags ignore + glsflags ignore + glxflags ignore + extension soft WINSOFT + glextmask GL_MASK_OpenGL_2_0 + +# New named buffer commands + +NamedBufferDataEXT(buffer, size, data, usage) + return void + param buffer UInt32 in value + param size Sizeiptr in value + param data Void in array [COMPSIZE(size)] + param usage VertexBufferObjectUsage in value + category EXT_direct_state_access + extension soft WINSOFT + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +NamedBufferSubDataEXT(buffer, offset, size, data) + return void + param buffer UInt32 in value + param offset Intptr in value + param size Sizeiptr in value + param data Void in array [COMPSIZE(size)] + category EXT_direct_state_access + extension soft WINSOFT + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +MapNamedBufferEXT(buffer, access) + return VoidPointer + param buffer UInt32 in value + param access VertexBufferObjectAccess in value + category EXT_direct_state_access + extension soft WINSOFT + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +UnmapNamedBufferEXT(buffer) + return Boolean + param buffer UInt32 in value + category EXT_direct_state_access + extension soft WINSOFT + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +# New named buffer queries + +GetNamedBufferParameterivEXT(buffer, pname, params) + return void + param buffer UInt32 in value + param pname VertexBufferObjectParameter in value + param params Int32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + extension soft WINSOFT + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +GetNamedBufferPointervEXT(buffer, pname, params) + return void + param buffer UInt32 in value + param pname VertexBufferObjectParameter in value + param params VoidPointer out array [COMPSIZE(pname)] + category EXT_direct_state_access + extension soft WINSOFT + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +GetNamedBufferSubDataEXT(buffer, offset, size, data) + return void + param buffer UInt32 in value + param offset Intptr in value + param size Sizeiptr in value + param data Void out array [COMPSIZE(size)] + category EXT_direct_state_access + extension soft WINSOFT + dlflags notlistable + glxflags ignore + glfflags ignore + glsflags ignore + +# New named texture buffer texture object command + +TextureBufferEXT(texture, target, internalformat, buffer) + return void + param texture Texture in value + param target TextureTarget in value + param internalformat TypeEnum in value + param buffer UInt32 in value + category EXT_direct_state_access + subcategory EXT_texture_buffer_object + extension soft WINSOFT NV50 + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_texture_buffer_object + dlflags notlistable + +# New named texture buffer multitexture command + +MultiTexBufferEXT(texunit, target, internalformat, buffer) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param internalformat TypeEnum in value + param buffer UInt32 in value + category EXT_direct_state_access + subcategory EXT_texture_buffer_object + extension soft WINSOFT NV50 + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_texture_buffer_object + dlflags notlistable + +# New named frame buffer object commands + +NamedRenderbufferStorageEXT(renderbuffer, internalformat, width, height) + return void + param renderbuffer Renderbuffer in value + param internalformat PixelInternalFormat in value + param width SizeI in value + param height SizeI in value + category EXT_direct_state_access + subcategory EXT_framebuffer_object + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_framebuffer_object + +GetNamedRenderbufferParameterivEXT(renderbuffer, pname, params) + return void + param renderbuffer Renderbuffer in value + param pname RenderbufferParameterName in value + param params Int32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + subcategory EXT_framebuffer_object + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_framebuffer_object + +CheckNamedFramebufferStatusEXT(framebuffer, target) + return FramebufferStatus + param framebuffer Framebuffer in value + param target FramebufferTarget in value + category EXT_direct_state_access + subcategory EXT_framebuffer_object + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_framebuffer_object + +NamedFramebufferTexture1DEXT(framebuffer, attachment, textarget, texture, level) + return void + param framebuffer Framebuffer in value + param attachment FramebufferAttachment in value + param textarget TextureTarget in value + param texture Texture in value + param level CheckedInt32 in value + category EXT_direct_state_access + subcategory EXT_framebuffer_object + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_framebuffer_object + +NamedFramebufferTexture2DEXT(framebuffer, attachment, textarget, texture, level) + return void + param framebuffer Framebuffer in value + param attachment FramebufferAttachment in value + param textarget TextureTarget in value + param texture Texture in value + param level CheckedInt32 in value + category EXT_direct_state_access + subcategory EXT_framebuffer_object + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_framebuffer_object + +NamedFramebufferTexture3DEXT(framebuffer, attachment, textarget, texture, level, zoffset) + return void + param framebuffer Framebuffer in value + param attachment FramebufferAttachment in value + param textarget TextureTarget in value + param texture Texture in value + param level CheckedInt32 in value + param zoffset CheckedInt32 in value + category EXT_direct_state_access + subcategory EXT_framebuffer_object + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_framebuffer_object + +NamedFramebufferRenderbufferEXT(framebuffer, attachment, renderbuffertarget, renderbuffer) + return void + param framebuffer Framebuffer in value + param attachment FramebufferAttachment in value + param renderbuffertarget RenderbufferTarget in value + param renderbuffer Renderbuffer in value + category EXT_direct_state_access + subcategory EXT_framebuffer_object + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_framebuffer_object + +GetNamedFramebufferAttachmentParameterivEXT(framebuffer, attachment, pname, params) + return void + param framebuffer Framebuffer in value + param attachment FramebufferAttachment in value + param pname FramebufferAttachmentParameterName in value + param params Int32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + subcategory EXT_framebuffer_object + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_framebuffer_object + +GenerateTextureMipmapEXT(texture, target) + return void + param texture Texture in value + param target TextureTarget in value + category EXT_direct_state_access + subcategory EXT_framebuffer_object + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_framebuffer_object + +GenerateMultiTexMipmapEXT(texunit, target) + return void + param texunit TextureUnit in value + param target TextureTarget in value + category EXT_direct_state_access + subcategory EXT_framebuffer_object + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_framebuffer_object + +FramebufferDrawBufferEXT(framebuffer, mode) + return void + param framebuffer Framebuffer in value + param mode DrawBufferMode in value + category EXT_direct_state_access + subcategory EXT_framebuffer_object + extension soft WINSOFT + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_framebuffer_object + +FramebufferDrawBuffersEXT(framebuffer, n, bufs) + return void + param framebuffer Framebuffer in value + param n SizeI in value + param bufs DrawBufferMode in array [n] + category EXT_direct_state_access + subcategory EXT_framebuffer_object + extension soft WINSOFT + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_framebuffer_object + +FramebufferReadBufferEXT(framebuffer, mode) + return void + param framebuffer Framebuffer in value + param mode ReadBufferMode in value + category EXT_direct_state_access + subcategory EXT_framebuffer_object + extension soft WINSOFT + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_framebuffer_object + +GetFramebufferParameterivEXT(framebuffer, pname, params) + return void + param framebuffer Framebuffer in value + param pname GetFramebufferParameter in value + param params Int32 out array [COMPSIZE(pname)] + category EXT_direct_state_access + subcategory EXT_framebuffer_object + dlflags notlistable + extension soft WINSOFT + glxflags ignore + glfflags capture-execute gl-enum + glsflags get + +# New named framebuffer multisample object commands + +NamedRenderbufferStorageMultisampleEXT(renderbuffer, samples, internalformat, width, height) + return void + param renderbuffer Renderbuffer in value + param samples SizeI in value + param internalformat PixelInternalFormat in value + param width SizeI in value + param height SizeI in value + category EXT_direct_state_access + subcategory EXT_framebuffer_multisample + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_EXT_framebuffer_multisample + +# New named framebuffer multisample coverage object commands + +NamedRenderbufferStorageMultisampleCoverageEXT(renderbuffer, coverageSamples, colorSamples, internalformat, width, height) + return void + param renderbuffer Renderbuffer in value + param coverageSamples SizeI in value + param colorSamples SizeI in value + param internalformat PixelInternalFormat in value + param width SizeI in value + param height SizeI in value + category EXT_direct_state_access + subcategory NV_framebuffer_multisample_coverage + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_NV_framebuffer_multisample_coverage + +# New named geometry program/shader frame buffer object commands + +NamedFramebufferTextureEXT(framebuffer, attachment, texture, level) + return void + param framebuffer Framebuffer in value + param attachment FramebufferAttachment in value + param texture Texture in value + param level CheckedInt32 in value + category EXT_direct_state_access + subcategory NV_gpu_program4 + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_NV_gpu_program4 + +NamedFramebufferTextureLayerEXT(framebuffer, attachment, texture, level, layer) + return void + param framebuffer Framebuffer in value + param attachment FramebufferAttachment in value + param texture Texture in value + param level CheckedInt32 in value + param layer CheckedInt32 in value + category EXT_direct_state_access + subcategory NV_gpu_program4 + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_NV_gpu_program4 + +NamedFramebufferTextureFaceEXT(framebuffer, attachment, texture, level, face) + return void + param framebuffer Framebuffer in value + param attachment FramebufferAttachment in value + param texture Texture in value + param level CheckedInt32 in value + param face TextureTarget in value + category EXT_direct_state_access + subcategory NV_gpu_program4 + extension soft WINSOFT + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_NV_gpu_program4 + +# New explicit multisample query and commands + +TextureRenderbufferEXT(texture, target, renderbuffer) + return void + param texture Texture in value + param target TextureTarget in value + param renderbuffer UInt32 in value + category EXT_direct_state_access + subcategory NV_explicit_multisample + extension soft WINSOFT NV50 + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_NV_explicit_multisample + +MultiTexRenderbufferEXT(texunit, target, renderbuffer) + return void + param texunit TextureUnit in value + param target TextureTarget in value + param renderbuffer UInt32 in value + category EXT_direct_state_access + subcategory NV_explicit_multisample + extension soft WINSOFT NV50 + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + glextmask GL_MASK_NV_explicit_multisample + +############################################################################### +# +# Extension #354 +# EXT_vertex_array_bgra commands +# +############################################################################### + +# (none) +newcategory: EXT_vertex_array_bgra + +############################################################################### +# +# Extension #355 - WGL_NV_gpu_affinity +# +############################################################################### + +############################################################################### +# +# Extension #356 +# EXT_texture_swizzle commands +# +############################################################################### + +# (none) +newcategory: EXT_texture_swizzle + +############################################################################### +# +# Extension #357 +# NV_explicit_multisample commands +# +############################################################################### + +# From EXT_draw_buffers2: GetBooleanIndexedvEXT / GetIntegerIndexedvEXT + +GetMultisamplefvNV(pname, index, val) + return void + param pname GetMultisamplePNameNV in value + param index UInt32 in value + param val Float32 out array [2] + category NV_explicit_multisample + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + +SampleMaskIndexedNV(index, mask) + return void + param index UInt32 in value + param mask SampleMaskNV in value + category NV_explicit_multisample + glfflags ignore + glsflags ignore + glxflags ignore + +TexRenderbufferNV(target, renderbuffer) + return void + param target TextureTarget in value + param renderbuffer UInt32 in value + category NV_explicit_multisample + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + +############################################################################### +# +# Extension #358 +# NV_transform_feedback2 commands +# +############################################################################### + +BindTransformFeedbackNV(target, id) + return void + param target BufferTargetARB in value + param id UInt32 in value + category NV_transform_feedback2 + glfflags ignore + glsflags ignore + glxflags ignore + +DeleteTransformFeedbacksNV(n, ids) + return void + param n SizeI in value + param ids UInt32 in array [n] + category NV_transform_feedback2 + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + +GenTransformFeedbacksNV(n, ids) + return void + param n SizeI in value + param ids UInt32 out array [n] + category NV_transform_feedback2 + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + +IsTransformFeedbackNV(id) + return Boolean + param id UInt32 in value + category NV_transform_feedback2 + dlflags notlistable + glfflags ignore + glsflags ignore + glxflags ignore + +PauseTransformFeedbackNV() + return void + category NV_transform_feedback2 + glfflags ignore + glsflags ignore + glxflags ignore + +ResumeTransformFeedbackNV() + return void + category NV_transform_feedback2 + glfflags ignore + glsflags ignore + glxflags ignore + +DrawTransformFeedbackNV(mode, id) + return void + param mode GLenum in value + param id UInt32 in value + category NV_transform_feedback2 + glfflags ignore + glsflags ignore + glxflags ignore diff --git a/Source/Bind/Specifications/GL2/gl.tm b/Source/Bind/Specifications/GL2/gl.tm index 0bcac25f..73314f54 100644 --- a/Source/Bind/Specifications/GL2/gl.tm +++ b/Source/Bind/Specifications/GL2/gl.tm @@ -66,6 +66,7 @@ CullFaceMode,*,*, GLenum,*,* CullParameterEXT,*,*, GLenum,*,* DepthFunction,*,*, GLenum,*,* DrawBufferMode,*,*, GLenum,*,* +DrawBufferName,*,*, GLint,*,* DrawElementsType,*,*, GLenum,*,* ElementPointerTypeATI,*,*, GLenum,*,* EnableCap,*,*, GLenum,*,* @@ -196,7 +197,7 @@ StencilFunction,*,*, GLenum,*,* StencilFaceDirection,*,*, GLenum,*,* StencilOp,*,*, GLenum,*,* StencilValue,*,*, GLint,*,* -String,*,*, GLstring,*,* +String,*,*, GLstring,*,* # OpenTK StringName,*,*, GLenum,*,* TangentPointerTypeEXT,*,*, GLenum,*,* TessCallback,*,*, GLenum,*,* @@ -282,6 +283,7 @@ Half16NV,*,*, GLhalfNV,*,* # NV_pixel_data_range PixelDataRangeTargetNV,*,*, GLenum,*,* # Generic types for as-yet-unspecified enums +TypeEnum,*,*, GLenum,*,* GLenum,*,*, GLenum,*,* handleARB,*,*, GLhandleARB,*,* charARB,*,*, GLcharARB,*,* @@ -289,3 +291,27 @@ charPointerARB,*,*, GLcharARB*,*,* # EXT_timer_query Int64EXT,*,*, GLint64EXT,*,* UInt64EXT,*,*, GLuint64EXT,*,* +# EXT_direct_state_access +#FramebufferAttachment,*,*, GLenum,*,* # OpenTK: already exists +FramebufferAttachmentParameterName,*,*, GLenum,*,* +Framebuffer,*,*, GLuint,*,* +FramebufferStatus,*,*, GLenum,*,* +#FramebufferTarget,*,*, GLenum,*,* # OpenTK: already exists +GetFramebufferParameter,*,*, GLenum,*,* +Intptr,*,*, GLintptr,*,* +ProgramFormat,*,*, GLenum,*,* +ProgramProperty,*,*, GLenum,*,* +ProgramStringProperty,*,*, GLenum,*,* +#ProgramTarget,*,*, GLenum,*,* # OpenTK: already exists +Renderbuffer,*,*, GLuint,*,* +RenderbufferParameterName,*,*, GLenum,*,* +Sizeiptr,*,*, GLsizeiptr,*,* +TextureInternalFormat,*,*, GLenum,*,* +VertexBufferObjectAccess,*,*, GLenum,*,* +VertexBufferObjectParameter,*,*, GLenum,*,* +VertexBufferObjectUsage,*,*, GLenum,*,* +# ARB_map_buffer_range +BufferAccessMask,*,*, GLbitfield,*,* +# NV_explicit_multisample +GetMultisamplePNameNV,*,*, GLenum,*,* +SampleMaskNV,*,*, GLbitfield,*,* diff --git a/Source/Bind/Specifications/csharp.tm b/Source/Bind/Specifications/csharp.tm index afcb43a8..33642a9f 100644 --- a/Source/Bind/Specifications/csharp.tm +++ b/Source/Bind/Specifications/csharp.tm @@ -26,8 +26,8 @@ PixelInternalFormat, PixelInternalFormat GLsizeiptrARB, IntPtr GLintptrARB, IntPtr GLhandleARB, UInt32 -GLhalfARB, UInt16 -GLhalfNV, UInt16 +GLhalfARB, OpenTK.Math.Half +GLhalfNV, OpenTK.Math.Half GLcharARB, Char # 64 bit types (introduced in 2.1) diff --git a/Source/Bind/Structures/Enum.cs b/Source/Bind/Structures/Enum.cs index d93af616..e05136f9 100644 --- a/Source/Bind/Structures/Enum.cs +++ b/Source/Bind/Structures/Enum.cs @@ -87,9 +87,9 @@ namespace Bind.Structures #endregion - System.Collections.Hashtable _constant_collection = new System.Collections.Hashtable(); + Dictionary _constant_collection = new Dictionary(); - public System.Collections.Hashtable ConstantCollection + public IDictionary ConstantCollection { get { return _constant_collection; } //set { _constant_collection = value; } @@ -140,11 +140,23 @@ namespace Bind.Structures public override string ToString() { StringBuilder sb = new StringBuilder(); + List constants = new List(ConstantCollection.Values); + constants.Sort(delegate(Constant c1, Constant c2) + { + int ret = String.Compare(c1.Value, c2.Value); + if (ret == 0) + return String.Compare(c1.Name, c2.Name); + return ret; + }); sb.AppendLine("public enum " + Name); sb.AppendLine("{"); - foreach (Constant c in ConstantCollection.Values) + + foreach (Constant c in constants) { + if (c.Name == "PointSmooth") + { + } sb.Append(" "); sb.Append(c.ToString()); if (!String.IsNullOrEmpty(c.ToString())) @@ -224,39 +236,35 @@ namespace Bind.Structures if (Settings.DropMultipleTokens) { - // When there are multiple tokens with the same value but different extension // drop the duplicates. Order of preference: core > ARB > EXT > vendor specific + + List removed_tokens = new List(); + foreach (Enum e in this.Values) { if (e.Name == "All") continue; + // This implementation is a not very bright O(n^2). foreach (Constant c in e.ConstantCollection.Values) { foreach (Constant c2 in e.ConstantCollection.Values) { if (c.Name != c2.Name && c.Value == c2.Value) { - if (c.Name.Contains(Constant.Translate("TEXTURE_DEFORMATION_BIT_SGIX")) || - c2.Name.Contains(Constant.Translate("TEXTURE_DEFORMATION_BIT_SGIX"))) - { - } - int prefer = OrderOfPreference(Utilities.GetGL2Extension(c.Name), Utilities.GetGL2Extension(c2.Name)); if (prefer == -1) - { - c2.Name = ""; - c2.Value = ""; - } + removed_tokens.Add(c2); else if (prefer == 1) - { - c.Name = ""; - c.Value = ""; - } + removed_tokens.Add(c); } } } + + foreach (Constant c in removed_tokens) + e.ConstantCollection.Remove(c.Name); + removed_tokens.Clear(); } } } @@ -264,22 +272,24 @@ namespace Bind.Structures // Return -1 for ext1, 1 for ext2 or 0 if no preference. int OrderOfPreference(string ext1, string ext2) { - // If one is empty and the other note, prefer the empty one. - // (empty == core) + // If one is empty and the other not, prefer the empty one (empty == core) // Otherwise check for Arb and Ext. To reuse the logic for the // empty check, let's try to remove first Arb, then Ext from the strings. - int ret; - ret = OrderOfPreferenceInternal(ext1, ext2); - if (ret != 0) return ret; + int ret = PreferEmpty(ext1, ext2); + if (ret != 0) + return ret; + ext1 = ext1.Replace("Arb", ""); ext2 = ext2.Replace("Arb", ""); - ret = OrderOfPreferenceInternal(ext1, ext2); - if (ret != 0) return ret; + ret = PreferEmpty(ext1, ext2); + if (ret != 0) + return ret; + ext1 = ext1.Replace("Ext", ""); ext2 = ext2.Replace("Ext", ""); - return ret; + return PreferEmpty(ext1, ext2); } // Prefer the empty string over the non-empty. - int OrderOfPreferenceInternal(string ext1, string ext2) + int PreferEmpty(string ext1, string ext2) { if (String.IsNullOrEmpty(ext1) && !String.IsNullOrEmpty(ext2)) return -1; diff --git a/Source/Bind/Utilities.cs b/Source/Bind/Utilities.cs index 19a232b0..7056bb9c 100644 --- a/Source/Bind/Utilities.cs +++ b/Source/Bind/Utilities.cs @@ -194,7 +194,7 @@ namespace Bind internal static string GetGL2Extension(string name) { name = name.ToUpper(); - if (name.EndsWith("TEXT")) { return ""; } + //if (name.EndsWith("TEXT")) { return ""; } if (name.EndsWith("ARB")) { return "Arb"; } if (name.EndsWith("EXT")) { return "Ext"; } if (name.EndsWith("ATI")) { return "Ati"; }