Commit graph

642 commits

Author SHA1 Message Date
thefiddler
73fd8aca35 Merge pull request #179 from thefiddler/issue152
[ES][GL] Fix GetObjectLabel marked obsolete
2014-09-11 12:42:12 +02:00
thefiddler
1bba544cbe [ES][GL] Fix GetObjectLabel marked obsolete
Fixes issue #152
2014-09-11 12:34:35 +02:00
thefiddler
1c76024938 [ES][GL] Maintain compatibility with 1.1.4 2014-09-10 23:29:03 +02:00
thefiddler
51a11092eb [GL] Sync signatures with OpenGL 4.5 2014-09-03 20:56:43 +02:00
thefiddler
b9235e1b4c [Bind] Remove default debug parameter 2014-09-03 20:55:42 +02:00
thefiddler
3805c3ad63 [Bind] Minor debug message beautification 2014-09-03 20:55:25 +02:00
thefiddler
a05ffb8654 [Bind] Hardcode some common OpenGL IHV names
These names are present in ES enums, even if no function uses them. We
need them for backwards-compatibility.
2014-09-02 13:04:14 +02:00
thefiddler
d036c50a15 [Bind] Use ES/1.1/obsolete.xml 2014-09-02 13:04:14 +02:00
thefiddler
1ef9b85e9a [ES] Moved some ES 1.1 to ES/1.1/obsolete.xml 2014-09-02 13:04:14 +02:00
thefiddler
b45e9463fc [GL] Removed duplicate enums
This duplication is no longer necessary, after the enum name
translation fix.
2014-09-02 13:04:14 +02:00
thefiddler
45c8d837a1 [Bind] Added ES 3.1 generator 2014-09-02 13:04:14 +02:00
thefiddler
5ec28b65be [Bind] Do not re-translate translated enum names 2014-09-02 13:04:14 +02:00
thefiddler
d50bef3ba6 [GL] Fixed COMPRESSED_SRGB_ALPHA_BPTC_UNORM token 2014-09-02 13:04:14 +02:00
thefiddler
7cd2f0b1e6 [GL] Fixed TEXTURE_BINDING_RECTANGLE token 2014-09-02 13:04:14 +02:00
thefiddler
2410dda9a4 [GL] Removed duplicate bindings 2014-09-02 13:04:14 +02:00
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
bcd76c7364 [ES] Implemented ES 3.1 binding generator 2014-09-02 13:04:13 +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
c6e8991872 [Bind] Allow multiple overrides files
Multiple overrides files allow us to split overrides by extension,
simplifying maintenance.
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
6bb7c1d406 Merge pull request #173 from thefiddler/buffersize_to_int
[Bind] Add int overloads to buffer size (IntPtr) parameters
2014-09-02 13:03:42 +02:00
thefiddler
a37057233f [GL] Added int overload to DrawElements for OpenGL4 2014-09-02 10:54:31 +02:00
thefiddler
cbe0684d7f [Bind] Add int overloads to buffer size (IntPtr) parameters
As a convenience, int overloads are provided for IntPtr size
parameters (corresponding to BufferSize or size_t). In the vast
majority of cases, a 32bit int is sufficient for buffer sizes,
so these overloads avoid the necessity of annoying (IntPtr) casts.

If more than 2^31-1 elements are required, the IntPtr overloads
remain available. (As always, this requires a 64bit runtime
environment.)
2014-09-02 09:48:39 +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
093dd1d1ca [Bind] Fixed an issue where CLS-compliance was incorrectly overriden 2014-07-21 16:53:02 +02:00
thefiddler
6d1149cccd [GL] BufferObjects and TextureUnit are not obsolete 2014-07-21 16:34:21 +02:00
thefiddler
c046584aaf [Bind] Implemented CLS-compliant checks for Enums 2014-07-21 16:25:21 +02:00
thefiddler
bf65005e7b [Bind] Added Enum.Obsolete property 2014-07-21 16:02:56 +02:00
thefiddler
33c9fe5025 [ES] Marked obsolete enums as such 2014-07-21 16:02:32 +02:00
thefiddler
cab9e85386 [Bind] Enums can now be marked as obsolete 2014-07-21 16:02:18 +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
c0f6d4bc79 [Bind] Fixed a System.FormatException 2014-06-08 09:57:48 +02:00
thefiddler
92efb5957f [Bind] Use byte for GLboolean return types
GLboolean is typedefed as an unsigned char.  It appears that `[return:
MarshalAs(UnmanagedType.U1)]` is ignored in calli p/invokes, so we need
to take care of this ourselves by emitting byte instead of bool for the
p/invoke signature. The public API remains unchanged.

Fixes issue #129.
2014-06-08 09:52:12 +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