Commit graph

237 commits

Author SHA1 Message Date
thefiddler bfcfb9a2ce [GL] Added missing VertexAttribDPointerType enum
This enum used to be there, but somehow disappeared from the 4.5 specs.
It’s back now.
2014-09-02 13:04:14 +02:00
thefiddler e959a99d95 [GL][ES] Implemented ARB_ES_3_1_compatibility
MemoryBarrier and MemoryBarrierByRegion now use the same enum name.
2014-09-02 13:04:13 +02:00
thefiddler 47e49c85b3 [ES] Typo corrections in the ES 3.1 bindings 2014-09-02 13:04:13 +02:00
thefiddler a706a78cf5 [ES] Implemented bindings for ES 3.1 (2/2)
Implemented core functionality:
- KHR_shader_atomic_counters
- KHR_shader_image_load_store
- KHR_shader_storage_buffer_object
- KHR_stencil_texturing
- KHR_texture_gather
- KHR_texture_storage_multisample
- KHR_vertex_attrib_binding
2014-09-02 13:04:13 +02:00
thefiddler dcca1d77ac [ES] Implemented bindings for ES 3.1 (1/2)
Implemented core functionality:
- KHR_compute_shader
- KHR_draw_indirect
- KHR_explicit_uniform_location
- KHR_framebuffer_no_attachments
- KHR_program_interface_queries
- KHR_separate_shader_objects
2014-09-02 13:04:13 +02:00
thefiddler d570eb2032 [Bind] Moved GL overrides to parent folder 2014-09-02 13:04:13 +02:00
thefiddler 0e0565098c [GL] Added a missing enum 2014-09-02 13:04:13 +02:00
thefiddler 5e8357b17e [GL] Implemented ARB_direct_state_access
See http://www.opengl.org/registry/specs/ARB/direct_state_access.txt
2014-09-02 13:04:13 +02:00
thefiddler 02d592c548 [GL] Added missing tokens for 4.2-4.4 2014-09-02 13:04:13 +02:00
thefiddler 398bcd40aa [GL][ES] Implemented KHR_context_robustness 2014-09-02 13:04:12 +02:00
thefiddler 06269f2253 [GL] Implemented ARB_get_texture_sub_image
Also fixed KHR_context_flush_control tokens in OpenGL ES.
2014-09-02 13:04:12 +02:00
thefiddler adffb47af2 [GL][ES] Implemented KHR_context_flush_control 2014-09-02 13:04:12 +02:00
thefiddler 056e586bb1 [GL] Implemented ARB_conditional_render_inverted 2014-09-02 13:04:12 +02:00
thefiddler cde7061280 [GL] Implemented ARB_cull_distance 2014-09-02 13:04:12 +02:00
thefiddler 240a5a6e70 [GL][ES] Added tokens for backwards compatibility
The 4.5 spec moves BLEND_ADVANCED_COHERENT_KHR from
KHR_blend_equation_advanced to KHR_blend_equation_advanced_coherent.
Add a deprecated token to maintain binary compatibility.
2014-09-02 13:04:12 +02:00
thefiddler b0192b7d15 [GL] Added ARB_clip_control 2014-09-02 13:04:12 +02:00
thefiddler a37057233f [GL] Added int overload to DrawElements for OpenGL4 2014-09-02 10:54:31 +02:00
thefiddler 2a84104262 Merge pull request #157 from thefiddler/warnfix
Fix all build warnings on VS2013 and Mono 3.4.0
2014-07-21 18:05:20 +02:00
thefiddler 6d1149cccd [GL] BufferObjects and TextureUnit are not obsolete 2014-07-21 16:34:21 +02:00
thefiddler 33c9fe5025 [ES] Marked obsolete enums as such 2014-07-21 16:02:32 +02:00
thefiddler 5cac37a4f5 [GL] Synced with the July 2014 Khronos spec
This version fixes various issues in the OES_byte_coordinates extension
and improves the documentation on parameter lengths.
2014-07-21 09:19:29 +02:00
thefiddler 28746e85cc [ES][GL] Synced with June 2014 specifications
This introduces support for the following extensions:
- EXT_geometry_point_size
- EXT_primitive_bounding_box
- EXT_texture_array
- EXT_tessellation_point_size
2014-06-19 16:24:40 +02:00
thefiddler a6bdd2840c [Graphics] Synced with May 2014 Khronos spec 2014-05-19 23:03:39 +02:00
thefiddler bfaff0bd66 [GL] Added generic RenderbufferStorage depth-stencil formats
According to the OpenGL 4.4 specification, RenderbufferStorage accepts
both generic and sized depth-stencil formats (DepthComponent and
DepthStencil). See sections 9.2.4, 9.2.5 and 9.4.
2014-05-07 23:21:24 +02:00
thefiddler 168713aecf [GL] Added GetPName.Max*ImageUniforms
These tokens were introduced in OpenGL 4.2 and 4.3.
2014-04-27 22:47:04 +02:00
thefiddler 6186373df1 [ES][GL] Synced with April Khronos specification 2014-04-27 09:53:22 +02:00
thefiddler 4ae65c86ff [GL] Added missing GetPName.MaxPatchVertices 2014-04-25 11:11:42 +02:00
thefiddler db913ca3f4 [GL] Added missing [Rgba]16Snorm texture formats
See https://www.opengl.org/sdk/docs/man4/html/glTexImage2D.xhtml or the
4.4 spec, section 8.5, table "Sized internal color formats".
2014-03-18 12:08:02 +01:00
thefiddler cf728a631e [Bind] Added overloads for backwards compatibility 2014-03-13 18:42:37 +01:00
thefiddler a7516dc9b9 [Graphics] Improve compatibility with Feb2014 release (WIP) 2014-03-13 11:56:21 +01:00
thefiddler 1c6cfc390b Updated OpenGL definitions 2014-03-12 18:12:38 +01:00
thefiddler d8eda71a2c [GL] Added missing ActiveUniformType.FloatMat3x2 token 2014-02-04 14:26:52 +01:00
Stefanos A 39a216f1ac Added overloads for compatibility with svn r3127
Several projects are still using the last svn revision from the
sourceforge repository (r3127). These overloads provide an upgrade path
from r3127 to OpenTK 1.1.
2013-12-16 01:55:05 +01:00
Stefanos A 2add888424 Added overloads for compatibility with 1.0 and 1.1 APIs 2013-12-08 16:20:22 +01:00
Stefanos A. 95a9296df7 Updated to Revision 24389 2013-12-06 18:37:03 +01:00
Stefanos A ac0fab7760 More compatibility overloads for OpenGL 2013-11-18 18:32:36 +01:00
Stefanos A 3d50554903 Added OpenGL overloads for OpenTK-1.0 compatibility 2013-11-18 13:28:44 +01:00
Stefanos A e572f418af Added compatibility overloads for ES 2.0 2013-11-18 01:10:01 +01:00
Stefanos A 13d3bdb47f OpenGL overrides for compatibility
Added overrides to maintain backwards compatibility with
OpenTK.Graphics.OpenGL.GL. These were generated
through the apitest tool.
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