Commit graph

304 commits

Author SHA1 Message Date
Stefanos A af78a01643 Strongly-typed enums for ES 3.0 (WIP)
Implemented strongly-typed enums for sections: Buffer Objects,
Asynchronous Queries, Transform Feedback, ReadingandCopying Pixels and
Rasterization.
2013-11-03 21:30:25 +01:00
Stefanos A 7322828304 Regenerated the bindings using the latest specs 2013-11-03 20:36:22 +01:00
Stefanos A 2ca8870420 More PrimitiveType->BeginMode overrides 2013-11-03 20:35:02 +01:00
Stefanos A 346547331a Improved detection of deprecated tokens 2013-11-03 17:58:28 +01:00
Stefanos A. 6f08995963 Added PrimitiveType <=> BeginMode overloads
Khronos renamed BeginMode to PrimitiveType starting with GL 4.4.
OpenTK now has overloads for both flavors.
2013-11-03 16:11:39 +01:00
Stefanos A 60f971ffed Updated to the latest gl4 specs and docs
Large code-drop from Khronos upstream.
2013-11-03 12:43:50 +01:00
Stefanos A ec6c534d8a Updated using the latest converter
Tokens are now sorted according to their value, exactly is in the
upstream gl.xml spec. Additionally, gles1 and gles2 now include the
pre-defined groups in the specification.
2013-11-03 12:32:54 +01:00
Stefanos A. 2d3b5ebe5c Added missing enums to gles2 profile
Fixed undefined reference in TextureCompareMode.COMPARE_REF_TO_TEXTURE
and added strongly-typed enums for KHR_debug.
2013-11-03 12:10:52 +01:00
Stefanos A. 7a403e474e Corrected ShaderSource for gles2 and ARB
The length parameter should be an array of integers, one for each
string in the shader source. The string parameter does not need to be
translated.
2013-11-03 02:25:15 +01:00
Stefanos A 66b01873b0 Updated license information 2013-11-03 01:28:46 +01:00
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. a162ee5b1b Added DEBUGPROCKHR for the KHR_debug extension. Added
CompressedTextureARB that is encountered in the new gl.xml registry.
2013-10-25 08:47:17 +02:00
Stefanos A 8107abeb01 Updated gl4 documentation according to latest manpages 2013-10-24 09:03:15 +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. 60afa79203 Updated documentation according to the latest available manpages. 2013-10-23 20:17:08 +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
Stefanos A. 98504ce67a Added DebugProc delegate in accordance to GL 4.3 specs. 2013-10-21 21:42:09 +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 ffb3892afc Added cpp-specific typemap. 2011-12-05 18:42:13 +00:00
the_fiddler 0416ca2a28 Do not rely on JNA types that are not available on Android. 2011-12-05 18:41:46 +00:00
the_fiddler 5f4487e87b Added support for different per-language typemaps. 2011-12-02 13:12:53 +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 b6b1142ac5 * Specifications/License.txt: Removed #region-#endregion from the
license file, in order to make it compatible with C++.
2010-12-05 10:46:09 +00:00
the_fiddler c4b50469c8 Added overrides for problematic Nvidia extensions which don't contain parameter names. 2010-12-03 11:23:45 +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 33bdb90b70 Updated ES 2.0 signatures with latest upstream spec. 2010-12-02 21:58:06 +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 a15ba71d77 Added and updated documentation for OpenGL 4.x. 2010-11-21 14:34:29 +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 955478c81c Removed OpenTK qualifier from Half type. This will be useful for future work on reducing number of delegate types. 2010-11-21 00:04:49 +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 069207c508 Added new OpenGL 4.1 types. 2010-11-19 09:09:45 +00:00
the_fiddler 228e321502 Merged custom overrides from enum.spec. 2010-11-19 08:50:53 +00:00
the_fiddler e9345e9916 Synced manpages with khronos svn r12696. 2010-10-14 21:10:51 +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 bca3751e8b Synced with 1.0 branch. 2010-03-11 22:53:11 +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