Commit graph

213 commits

Author SHA1 Message Date
Stefanos A 23c084587a Added gles2; added missing fog groups 2013-11-03 01:24:31 +01:00
Stefanos A. 285f238669 Renamed gloverrides.xml to overrides.xml
This aligns the name of the OpenGL overrides file with that of the
OpenGL|ES implementations.
2013-10-31 00:18:45 +01:00
Stefanos A. 6185059adc More line ending troubles... 2013-10-28 14:28:57 +01:00
Stefanos A. 2e435f97bb Re-added PixelInternalFormat
GL4.4 renamed PixelInternalFormat to InternalFormat. The missing tokens
are now re-added, since a lot of functions depend on them. Additionally,
a number of 'open' <use> elements now define a specific enum reference.
This is not necessary, but is good for documentation purposes.
2013-10-28 14:11:16 +01:00
Stefanos A. 5cc845713d Improved extension detection in .spec parser.
Instead of using a hardcoded list of extensions, the parser will now
use a regex to detect extension names. This gives better results on
new specs without manual editing.
2013-10-27 01:24:04 +02:00
Stefanos A. d4eeb4e9ce Functions are now categorized correctly according to their extensions. 2013-10-26 00:07:49 +02:00
Stefanos A. 7cc3947cfb MASK_COHERENT_BIT should be MAP_COHERENT_BIT 2013-10-25 16:43:43 +02:00
Stefanos A. f65965aaf7 Fixed ShaderSource and VertexArrayFogCoordOffsetEXT parameters.
ShaderSource is supposed to accept an array of string lengths as the
last parameter. The count="1" statement in the registry is wrong.
GL.VertexArrayFogCoordOffsetEXT is supposed to receive a
FogPointerType.
2013-10-25 16:30:20 +02:00
Stefanos A af9d6dd928 Fixed ClearTex[Sub]Image <type> parameter
As per bug #1006 on the public Khronos bugzilla, <type> corresponds to the PixelType accepted by TexImage3D. This is now fixed.
2013-10-24 09:01:59 +02:00
Stefanos A. eb84a29206 Implemented "Debug Output" and "State and State Requests"
functionality according to the OpenGL 4.4 specification, sections 20
and 22.
2013-10-23 20:12:05 +02:00
Stefanos A. 3037baa5ea Implemented "Reading and Copying Pixels" functionality from the OpenGL
4.4 specification, sections 18.2 and 18.3.
2013-10-23 18:54:34 +02:00
Stefanos A. b425bff682 Implemented Whole Framebuffer commands according to the OpenGL 4.4
specification, section 17.4.
2013-10-23 11:43:11 +02:00
Stefanos A. 86214ebc77 Implemented per-fragment operations according to the OpenGL 4.4
specification, section 17.
2013-10-23 10:49:29 +02:00
Stefanos A. 1585d6a02e Implemented Vertex Post-Processing according to the OpenGL 4.4
specification, section 13.
2013-10-23 10:23:02 +02:00
Stefanos A. bb2bf9fa48 Implemented Vertex Attributes according to the OpenGL 4.4
specification, section 11.
2013-10-23 09:43:33 +02:00
Stefanos A. 88183770ae Implemented Vertex Arrays accordign to the OpenGL 4.4 specification,
section 10.
2013-10-23 09:31:09 +02:00
Stefanos A. 35b63e777a Fixed version number on VertexAttribP1 methods (should be 3.3, not
1.2).
2013-10-22 21:10:14 +02:00
Stefanos A. 745fd9974f Implemented strongly-typed Framebuffer and Renderbuffer Objects
according to the OpenGL 4.4 specification, section 9.
2013-10-22 20:52:37 +02:00
Stefanos A. 5a59e63cea Implemented strongly-typed Texture functions according to the OpenGL
4.4 specification, section 8. See issue #2.
2013-10-22 18:37:25 +02:00
Stefanos A. badb083686 Added SGIX_texture_icc enumeration that has been removed by the
upstream specs. This silences a large amount of warnings caused by the
lack of this extension.
2013-10-22 17:19:19 +02:00
Stefanos A 907a1de89f Line ending fix. 2013-10-22 17:03:16 +02:00
Stefanos A. 43bde3433a Implemented strong-types for Shader and Program Objects according to
the OpenGL 4.4 specification, section 7.
2013-10-22 16:52:35 +02:00
Stefanos A. 9613975681 Updated strong-types for Buffer Objects according to the OpenGL 4.4
spec, section 6.
2013-10-22 14:40:49 +02:00
Stefanos A. cfa4f230c5 Updated strong-types for asynchronous queries, query objects and time
queries according to OpenGL 4.4 spec, section 4.2.
2013-10-22 14:00:01 +02:00
Stefanos A. 15120f3bef Updated to the latest 4.3 .spec files from the OpenGL registry. 2013-10-22 11:56:08 +02:00
Stefanos A. 8404359bca Updated to the latest gl.tm from Khronos public svn. 2013-10-22 11:39:50 +02:00
Stefanos A. 39c2230bfa Re-added BeginMode and PixelFormat enums which were removed by the
OpenGL spec.
Added strong types for sync and fence objects (4.4 core specification,
section 4.1).
2013-10-22 11:39:20 +02:00
thefiddler 8dcb8601a2 Normalized line endings
Hopefully this is the first and last time we have to do this.
2013-10-11 01:58:54 +02:00
the_fiddler 02bfac7d59 Removed invalid TextureParameterName.Red token. Fixes issue [#2789]: "TextureParameterName.Red". 2011-12-07 00:28:13 +00:00
the_fiddler cba5f45415 Added missing TextureEnvMode.Replace token. Fixes issue [#2791]: "TextureEnvMode.Replace missing". 2011-12-06 21:49:43 +00:00
the_fiddler 585a07358e Added UniformBlockReferencedByGeometryShader token to ActiveUniformBlockParameter. Fixes issue [#2616]: "ActiveUniformBlockParameter.UniformBlockReferencedByGeometryShader is missing". 2011-07-26 14:09:12 +00:00
the_fiddler 921944ce90 Added ColorWritemask to GetIndexedPName. Fixes issue [#2509]: "Missing GetIndexedPName.ColorWritemask as GetBoolean parameter". 2011-07-26 12:35:50 +00:00
the_fiddler c7bc4bffe1 Added missing tokens for ARB_texture_buffer_object (core since GL3.1). Fixes issue [#2615]: "GetPName.MaxTextureBufferSize is missing". 2011-07-26 12:14:17 +00:00
the_fiddler 47312a7a30 Updated OpenGL signatures using gl.spec revision 15037 (06 July 2011). 2011-07-26 11:55:13 +00:00
the_fiddler 3021f668ad Re-added missing gl.tm file.
Added initial C++ spec writer.
Refactored IBind and ISpecWriter interfaces.
2010-12-03 10:21:50 +00:00
the_fiddler 4cfa357dbc Removed obsolete .spec files. Binding generation is now handled through xml files. 2010-12-03 09:48:39 +00:00
the_fiddler 94cd438166 Use identical XPath for signatures.xml and overrides.xml to unify and simplify their handlers. 2010-12-03 09:45:20 +00:00
the_fiddler 5a408188e4 Added tokens for issue [#2058]: "[GL 4.1] Viewport Array". 2010-11-21 16:11:41 +00:00
the_fiddler bf6185907f Added tokens for issue [#588]: "ARB_geometry_shader4". 2010-11-21 16:04:11 +00:00
the_fiddler ef97233198 Added tokens for [#2056]: "[GL 4.1] Get Program Binary". 2010-11-21 15:45:33 +00:00
the_fiddler 6052f32c21 Added tokens for [#2055]: "[GL 4.1] ES2 Compatibility". 2010-11-21 15:43:15 +00:00
the_fiddler 87feb96a92 Added tokens for [#2057]: "[GL 4.1] Separate Shader Objects". 2010-11-21 15:25:12 +00:00
the_fiddler cbc37f14f1 Added tokens for [#2054]: "[GL 4.1] Vertex Attrib 64bit". 2010-11-21 15:10:45 +00:00
the_fiddler fa76c13e17 Added tokens for [#1799]: "[GL 4.0] Transform Feedback 3". 2010-11-21 11:45:13 +00:00
the_fiddler d40a0befc7 Added tokens for [#1798]: "[GL 4.0] Transform Feedback 2". 2010-11-21 11:41:38 +00:00
the_fiddler c132ff129d Added tokens for [#1797]: "[GL 4.0] Texture Gather". 2010-11-21 11:34:34 +00:00
the_fiddler e039e672b4 Added tokens for [#1796]: "[GL 4.0] Texture Cube Map Array". 2010-11-21 11:30:55 +00:00
the_fiddler d3e2d3fa4a Added tokens for [#1795]: "[GL 4.0] Tessellation Shader". 2010-11-21 11:26:50 +00:00
the_fiddler 4d2801d329 Added tokens for [#1794]: "[GL 4.0] Shader Subroutine".
Fixed <use> overrides for SAMPLE_SHADING and MIN_SAMPLE_SHADING_VALUE.
2010-11-21 10:47:22 +00:00
the_fiddler 4d8d039493 Added tokens for [#1793]: "[GL 4.0] Sample Shading". 2010-11-21 10:33:45 +00:00
the_fiddler d05b546a4e Added missing tokens to ActiveAttribType (integer datatypes introduced in GL2.0 and GL3.0). 2010-11-21 10:30:59 +00:00
the_fiddler 79688eec7e Added tokens for [#1792]: "[GL 4.0] GPU Shader fp64". 2010-11-21 10:26:40 +00:00
the_fiddler 0cfc02755f Added tokens for [#1791]: "[GL 4.0] GPU Shader 5". 2010-11-21 10:22:56 +00:00
the_fiddler 9326a9f7cb Added tokens for [#1789]: "[GL 4.0] Draw Indirect". 2010-11-21 10:18:37 +00:00
the_fiddler 0b0fc8c53a Fixed issue [#1969]: "GLEnums.cs enum members in Version32 are not available in GetPName". 2010-11-21 00:33:45 +00:00
the_fiddler b6b3ba4b83 Fixed issue [#1956]: "TextureCompareMode should contain NONE". 2010-11-21 00:27:57 +00:00
the_fiddler 2c641f0ad3 Added missing ReadBufferMode.None token. Fixes issue [#1694]: "missing ReadBufferMode.None". 2010-11-21 00:23:02 +00:00
the_fiddler c0d5465cb7 Added missing EnableCap.TextureRectangle token that was introduced in OpenGL 3.1. Fixes issue [#1806]: "Missing EnableCap for GL_TEXTURE_RECTANGLE". 2010-11-21 00:05:40 +00:00
the_fiddler da5630f2f6 Synced to OpenGL spec r12819. 2010-11-21 00:04:00 +00:00
the_fiddler df27bd7e38 Added tokens and function overrides for [#1786]: "[GL3.3] Vertex Type 2.10.10.10 Reverse". 2010-11-20 23:58:31 +00:00
the_fiddler a2d0590ebe Added tokens for [#1785]: "[GL3.3] Instanced Arrays". 2010-11-20 23:36:41 +00:00
the_fiddler 3e0f30cdb8 Added tokens for [#1781]: "[GL3.3] Blend Func Extended". 2010-11-20 23:19:58 +00:00
the_fiddler d40615def9 Added tokens for [#1782]: "[GL3.3] Texture Rgb10 A2ui". 2010-11-20 23:05:43 +00:00
the_fiddler 33d99d4e6c Added tokens for ARB_texture_swizzle. Fixes issue [#1783]: "[GL3.3] Texture Swizzle". 2010-11-20 23:00:36 +00:00
the_fiddler 33907727b6 Added tokens for GL3.3 sampler queries. Fixes issue [#1779]: "[GL3.3] Sampler Objects". 2010-11-19 11:30:06 +00:00
the_fiddler f125e66348 Added QueryTarget.AnySamplesPassed token. Fixes issue [#1778]: "[GL3.3] Occlusion Query 2". 2010-11-19 10:48:48 +00:00
the_fiddler f7c8a3adb6 Updated to latest upstream typemap. 2010-11-19 09:14:52 +00:00
the_fiddler 228e321502 Merged custom overrides from enum.spec. 2010-11-19 08:50:53 +00:00
the_fiddler f8cd5879b1 Added UNSIGNED_INT to ActiveUniformType enum. Fixes issue [#2077]: "Add UnsignedInt to ActiveUniformType". 2010-10-13 20:43:04 +00:00
the_fiddler bdbd50dd08 Moved hand-modified enums to the overrides file. 2010-10-12 17:36:14 +00:00
the_fiddler c13882d729 Regenerated to add missing items. 2010-10-12 16:34:45 +00:00
the_fiddler 6b8e3f5ace Added xml version of spec files, generated by Generator.Convert. 2010-10-12 15:59:20 +00:00
the_fiddler 88e6aceae0 Synced trunk with 1.0 branch. 2010-10-02 18:52:34 +00:00
the_fiddler adcce2c00b Added explicit ActiveUniformParameter enum for GetActiveUniforms function. Fixes issue [#1443]: "GetActiveUniforms parameter name". 2010-02-03 20:43:42 +00:00
the_fiddler 0b3fa24c10 Added missing TEXTURE_LOD_BIAS token to TextureParameterName. Fixes issue [#1531]: "TextureParameterName enum missing TEXTURE_LOD_BIAS element". 2010-02-03 20:17:02 +00:00
the_fiddler da138163bf Backported fix for issue [#1538] from 1.0 branch. 2010-02-03 19:55:09 +00:00
the_fiddler 53b84d18d4 Backported bugfixes from 1.0 branch. 2010-02-03 19:04:42 +00:00
the_fiddler 3aa67b84a3 Added strongly-typed tokens for GetActiveUniformBlock, which was introduced in OpenGL 3.1. Fixes issue [#1216]: "[GL] GetActiveUniformBlock* methods take ArbUniformBufferObject parameters". 2009-11-16 16:23:36 +00:00
the_fiddler 4e04838148 Added new OpenGL 3.1 tokens for ARB_texture_rectangle, ARB_shader_objects and EXT_gpu_shader4. Fixes issue [#1355]: "TextureRectangle tokens for ActiveUniformType". 2009-11-16 16:14:32 +00:00
the_fiddler 9d3c251c75 VertexAttribIPointer should take the integer subset (VertexAttribIPointerType) of VertexAttribPointerType. Fixes issue [#1166]: "VertexAttribIPointer pointer type parameter". 2009-11-16 15:13:57 +00:00
the_fiddler fa2cdee5ef Removed invalid BGRA token from VertexAttribPointerType. 2009-11-16 15:00:24 +00:00
the_fiddler 9cb660bf85 Added new OpenGL 3.x tokens to GenerateMipmap. Fixes issue [#1162]: "GL.GenerateMipmap argument". 2009-11-16 14:15:56 +00:00
the_fiddler 26b969b23e Added missing TextureBuffer token to BufferTarget and TextureTarget enums (promoted from ARB_texture_buffer_object). Fixes issue [#1313]: "TextureBuffer target". 2009-11-03 10:33:24 +00:00
the_fiddler a333532d69 Added type-safe parameters to FramebufferTexture (fixes issue [#1303]: "[GL] fix FramebufferTexture parameters"). 2009-11-03 10:22:50 +00:00
the_fiddler bf89d0a6ab Fixed GetVertexPointerParameter signature to comply with the specs. 2009-10-23 15:36:02 +00:00
the_fiddler 239d98e860 Added distinct /overrides/add and /overrides/replace elements.
Added check for the existence of override elements before trying to use them (avoids potential null reference exception).
Regenerated bindings using the latest version of the generator.
2009-10-17 21:49:35 +00:00
the_fiddler d8c8137123 Updated tokens for ARB_depth_clamp, ARB_vertex_array_bgra, ARB_seamless_cube_map, ARB_provoking_vertex, ARB_draw_elements_base_vertex which where promoted in version 3.2. Fixes issue [#1146]: "[GL3.2] Multiple (minor) corrections". 2009-09-07 18:33:32 +00:00
the_fiddler 32f9b89dc8 Updated tokens for ARB_geometry_shader4 (promoted in Version 3.2). Fixes issue [#588]: "ARB_geometry_shader4". 2009-09-07 18:21:39 +00:00
the_fiddler c396884cfe Updated tokens for ARB_texture_multisample (promoted in Version 3.2). Fixes issue [#1151]: "ARB_texture_multisample". 2009-09-07 17:56:25 +00:00
the_fiddler 06f61eb74f Fixed names for MinmaxTarget and SeparableTarget tokens. 2009-09-05 15:31:31 +00:00
the_fiddler dc988a5bfb Cleaned up EXT_convolution and EXT_histogram tokens that were promoted in version 1.2.
Fixed values for SGI_color_table tokens that were promoted in version 1.2.
2009-09-05 15:27:32 +00:00
the_fiddler 019504f739 * enumext.spec: Added COLOR_ATTACHMENTi tokens to ReadBuffersMode enum. 2009-09-03 12:51:43 +00:00
the_fiddler 19b1539ef7 Merged the OpenGL 3.2 specifications. 2009-08-03 23:10:37 +00:00
the_fiddler 300c7e06e7 Fixed GetString, GetShaderSource and ShaderSource signatures. 2009-07-15 22:31:28 +00:00
the_fiddler aeec10c94f Renamed root node to 'functions'. 2009-06-30 08:13:41 +00:00
the_fiddler 7f5150b0df Updated tokens for DrawBuffer() method. Fixes issue [#851]: "[OpenGL] DrawBuffer and DrawBuffers tokens" (http://www.opentk.com/node/851). 2009-05-29 16:52:48 +00:00
the_fiddler 1db5d3953a Corrected tokens for TexBuffer. Fixes issue [#749]: "ARB_texture_ buffer_object" (http://www.opentk.com/node/749). 2009-05-29 16:02:50 +00:00
the_fiddler cf4a243c99 Merged the latest specs from opengl.org.
Replaced all instances of Version14, Version15, Version20, Version30 and Version31 enums by type-safe equivalents.
Added gloverrides.xml to support overrides to function parameters / return types. This will make future spec updates easier to merge.
Improved handling of invalid tokens in the specs.
Bindings are now written in alphabetical order. This will reduce patch size for future updates and make side-by-side comparisons easier to perform.
2009-05-29 15:57:01 +00:00
the_fiddler ac2c47e72b Added ColorAttachment[0-15] tokens to DrawBuffersEnum (page 182 of the 3.1 specs). 2009-05-11 13:20:35 +00:00
the_fiddler 91c36efd6e Cleaned up tokens for SGI_color_table (promoted by OpenGL 1.2). Fixes bug [#834] "Problem between GL.ColorTable and Version12 enum" (http://www.opentk.com/node/834),
Started implementing tokens for EXT_convolution.
2009-05-07 10:31:44 +00:00