Stefanos A
fd910e6a6c
Added int/uint to the c# typemap
2013-11-17 01:49:07 +01:00
Stefanos A
f9deeaead7
Improved compatibility with OpenTK 1.0
...
Added overloads for enumerations with name changes. Reduced differences
between ES and GL APIs.
2013-11-15 01:59:50 +01:00
Stefanos A
2e14ca59b2
AMD_performance_monitors is not const-correct
...
Workaround fo bug in rhe specification of AMD_performance_monitors.
Upstream bug report here:
https://www.khronos.org/bugzilla/show_bug.cgi?id=1035
2013-11-14 16:17:20 +01:00
Stefanos A
4fd6347de7
Mark untyped overloads as obsolete
2013-11-14 14:10:19 +01:00
Stefanos A
5b4d3edf39
ES11 compatibility overloads (WIP1)
2013-11-14 11:34:46 +01:00
thefiddler
1792f7bf29
Added Version20 overload to StencilFuncSeparate
...
Compatibility fix for OpenTK 1.0
2013-11-12 23:39:43 +01:00
Stefanos A
1f6d445021
Removed non-existent token from OpenGL
...
COMPRESSED_ALPHA_BPTC_UNORM does not appear to be defined anywhere.
Removed.
2013-11-07 16:46:38 +01:00
Stefanos A
be8f7c6311
Corrected ES 2.0 enums
...
After the previous commit, several ES 2.0 functions would refer to
enums found in ES 3.0. These enums have been copied to ES 2.0, either
as core enums or as extensions.
2013-11-07 16:25:19 +01:00
Stefanos A
735d05e496
Merged ES2.0 and ES3.0 replacements
...
ES 3.0 includes ES 2.0 verbatim. We can significantly reduce
duplication by using the same <replace> node for both APIs. Note that
the enumerations must remain separate, as ES 2.0 and 3.0 support
different tokens.
2013-11-07 11:37:51 +01:00
Stefanos A
7c54a19708
ES 3.0 fixed enums for GetIntegeri_v and GetInteger64i_v
...
These functions have a first parameter named "target", not "pname".
Fixed now.
2013-11-07 10:58:02 +01:00
Stefanos A
e59c95f2f9
ES 3.0 fixed enums for GetInteger64*
...
GetInteger64v should accept GetPName, while GetInteger64i_v should
accept GetIndexedPName.
2013-11-07 10:39:20 +01:00
Stefanos A
8de24c97fb
ES 3.0 strong enums for DrawBuffersEXT and NV
...
Relax the extension constraint in DrawBuffers, in order to add strong
enums to the extension varieties of this function.
2013-11-07 10:33:02 +01:00
Stefanos A
2d1df46d98
ES 3.0 strong enums for DrawArrays*() and Draw*Elements*()
...
The strongly-typed enums include core and extension varieties.
2013-11-07 10:17:33 +01:00
Stefanos A
0f98f0e00b
Fixed misspelled and missing enums
2013-11-07 09:47:27 +01:00
Stefanos A
93b8d4b86e
Fixed enums for (Get)ObjectLabel
...
ObjectLabel and GetObjectLabel are part of KHR_debug.
2013-11-07 09:34:48 +01:00
Stefanos A
0598e02140
Fixed enums for GetDebugMessageLog
...
GetDebugMessageLog was misspelled as GetMessageDebugLog. This is now
fixed.
2013-11-07 08:39:57 +01:00
Stefanos A
de38df8820
Fixed strong-enums for GetDebugMessageLog
...
GetDebugMessageLog is part of KHR_debug.
2013-11-07 08:36:23 +01:00
Stefanos A
a2f2ab29ea
Fixes for ES 3.0 strongly-typed enums
...
Fixed parameter mismatches in CopyBufferSubData and BlendFuncSeparate.
Implemented KHR_debug extension.
2013-11-07 08:33:17 +01:00
Stefanos A
2b4d10ffd7
Strongly-typed enums for ES 3.0 (complete)
...
Implemented sectiosn: Pixel Rectangles. Binding & Managing Framebuffer
Objects, Renderbuffer Objects, Attaching Renderbuffer Images to
Framebuffer, Attaching Texture Images to Framebuffer, Framebuffer
Completeness, Invaildating Framebuffer Contents, Renderbuffer Object
Queries, Simple Queries, String Queries.
2013-11-07 08:14:49 +01:00
Stefanos A
1a02457ddc
Strongly-typed enums for ES 3.0 (WIP8)
...
Implemented sections: Hints and Sync Object Quries.
Renamed SyncParameter to SyncParameterName, as per the OpenGL naming
conventions.
2013-11-05 10:23:25 +01:00
Stefanos A
167c97dd84
Strongly-typed enums for ES 3.0 (WIP7)
...
Implemented section: Sync Objects and Fences [5.2].
Fixed desktop OpenGL wrapper for ClientWaitSync and FenceSync.
2013-11-05 09:53:34 +01:00
Stefanos A
2511cb1086
Implemented support for <overload> element
...
The <overload> element simplifies the addition of overloads for
backwards compatibility. It is defined similar to the <replace>
element, but instead of replacing the parameters of a function
in-place, it adds a new overload and modifies the overload instead.
2013-11-05 08:55:52 +01:00
Stefanos A
25b9939263
Strongly-typed enums for ES 3.0 (WIP6)
...
Implemented strongly-typed enums for sections: Selecting a Buffer for
Writing, Fine Control of Buffer Updates, Clearing the Buffers.
2013-11-04 23:25:02 +01:00
Stefanos A
372dac9c48
Strongly-typed enums for ES 3.0 (WIP5)
...
Implemented sections: Stencil Test, Depth Buffer Test, Blending.
2013-11-04 23:01:25 +01:00
Stefanos A
dcd2d03e59
Strongly-typed enums for ES 3.0 (WIP4)
...
Implemented sections: Texture Image Specification, Alternative Texture
Image Specification, Compressed Texture Images, Texture Parameters,
Manual Mipmap Generation and Enumerated Queries.
2013-11-04 22:27:06 +01:00
Stefanos A
20e70062f8
Strongly-typed enums for ES 3.0 (WIP3)
...
Implemented sections: Texturing, Sampler Objects, Sampler Queries,
Texture Image Specification.
2013-11-04 19:49:25 +01:00
Stefanos A
9b5be9300b
Strongly-typed enums for ES 3.0 (WIP2)
...
Added strongly-typed enums for sections: Vertices, Shaders and
Programs. Added a number of missing enums for ES 2.0. Normalized
several APIs between OpenGL and OpenGL ES.
2013-11-04 00:04:09 +01:00
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