Vladimír Vondruš
7d0a8215d3
GL: recognize and implement INTEL_blackhole_render.
2 years ago
Vladimír Vondruš
79191044df
GL: implement EXT_buffer_storage.
...
For some reason I didn't see that there's an ES variant of
ARB_buffer_storage since 2015 when implementing it in
75d238f50b .
2 years ago
Vladimír Vondruš
7233be75a2
GL: recognize 9 new WebGL extensions.
...
And 5 new ES extensions that they're based on.
2 years ago
Vladimír Vondruš
007a7e6f96
external: update generated GL headers and function loaders.
...
The only change is that GLvoid became just void in certain entrypoints.
2 years ago
Vladimír Vondruš
bbb54a9df8
It's 2023 already!
3 years ago
Vladimír Vondruš
db29024250
GL: implement {ARB,EXT}_clip_control.
3 years ago
Vladimír Vondruš
6b37d76d8c
GL: recognize and implement EXT_depth_clamp on GLES.
...
Makes Renderer::Feature::DepthClamp available not just on desktop GL
anymore.
3 years ago
Vladimír Vondruš
7153ef92a0
GL: recognize {OES,EXT}_texture_view ES3.1+ extensions.
...
To match ARB_texture_view from from GL 4.3. Not sure why there's two of
them -- I was looking into the spec files, and the EXT variant seems to
be based on the OES variant but doesn't seem to add any change (or, no
change is listed), however the OES variant has number 218 while EXT has
185 so it's actually newer?! No idea what's happening there.
3 years ago
Vladimír Vondruš
95b138362f
external: refresh generated OpenGL headers.
...
It's comforting to know that I wasn't the only one struggling with const
in pointers to pointers, heh.
3 years ago
Vladimír Vondruš
74f1778759
GL: recognize KHR_parallel_shader_compile on GL, GLES and WebGL.
4 years ago
Vladimír Vondruš
822fa0d644
Updated copyright year.
4 years ago
Vladimír Vondruš
46d8f25363
external: don't define WIN32_LEAN_AND_MEAN just for shits and giggles.
...
We're not including windows.h there (fortunately!), so there's no point
in defining such a macro. Also the proper way would be defining it only
if it's not already defined to avoid macro redefinition warnings.
5 years ago
Vladimír Vondruš
b0bc366334
GL: recognize and load ANGLE multi-draw extensions.
...
Needed a change in flextGL to allow merging in 3rd party gl.xml
additions because Chrome is apparently a center of the universe and thus
doesn't need to bother upstreaming its extensions, ffs.
5 years ago
Vladimír Vondruš
5fa2696583
external: and this ES3 extension is in the wrong group.
5 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
23698eed7b
external: print an error when gl32.h is encountered as well.
...
Followup to 80a844c6c5 , forgot this
initially.
6 years ago
Vladimír Vondruš
80a844c6c5
external: avoid conflicts of our GL headers with GLES3/gl32.h.
6 years ago
Vladimír Vondruš
083ecf72b8
GL: implement EXT_texture_norm16 ES and WebGL extension.
6 years ago
Vladimír Vondruš
4b24a27a88
GL: expose AMD_sample_positions and NV_sample_locations.
...
No wrapping yet, just recognize the extensions and load entrypoints.
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
b580458104
external: pack all dynamically loaded GL entrypoints into a giant struct.
...
On desktop this saves about 50 kB in symbols. Was done for Vulkan
already, this follows that (two years later). I need this in order to
solve the problem of static globals being unique across shared libs, and
it sounded better to export just one symbol instead of 689.
6 years ago
Vladimír Vondruš
d366e0e7a0
GL: exposed clip / cull distance APIs.
6 years ago
Vladimír Vondruš
20a3fedaa4
external: GLES EXT_disjoint_timer_query now exposes glGetInteger64vEXT().
...
Not sure what for, but whatever.
7 years ago
Vladimír Vondruš
a0fa21c9fb
external: expose the OVR_multiview, OVR_multiview2 extension entrypoints.
7 years ago
Vladimír Vondruš
32ce1f1b43
external: include KHR/khrplatform.h absolutely.
...
Otherwise it requires custom buildsystem users to add
MagnumExternal/OpenGL to include paths, causes issues in Vcpkg and so
on.
7 years ago
Vladimír Vondruš
893d5d38bc
ASTC: the pain never ends (3D formats).
...
GL has an extension, but only for ES, not on desktop. Vulkan has
nothing yet (due to there being just ARM that implements it, no other
vendor), except those being listed in a KTX format specification.
7 years ago
Vladimír Vondruš
40b8815b9d
Added sRGB formats to PixelFormats + R and RG sRGB GL texture formats.
...
The extension support is a mess, as usual. This time the ES flavor
supports something that desktop doesn't and WebGL lack those altogether.
Yay.
7 years ago
Vladimír Vondruš
435f7a9f14
GL: remove redundant defines to slim the GL headers a bit.
...
What the hell, why does the ASTC HDR extension add *the exact same*
defines as the LDR one.
7 years ago
Vladimír Vondruš
8e57060f39
Support for PVRTC compressed pixel format.
7 years ago
Vladimír Vondruš
7cb0c4d57d
Added BC4, BC5, BC6H and BC7 compression formats.
...
Those are now also available under WebGL 1/2 and OpenGL ES 3.O (strangely
not OpenGL ES 2.0) under EXT_texture_compression_{rgtc,bptc}. The GL names
are extra weird-ass now that all other APIs use the BC names.
7 years ago
Vladimír Vondruš
e1ab3ccf6e
GL: this extension was listed, but actually never in headers.
7 years ago
Vladimír Vondruš
15f9ec3adf
Added {EXT_texture_compression,WEBGL_compressed_texture}_s3tc_srgb extensions.
...
And silently the definitions from EXT_texture_sRGB (core since GL 2.1) as
that's where definitions for sRGB S3TC formats are hiding on desktop.
7 years ago
Vladimír Vondruš
522db683a9
external: provide the GL_VERSION_* defines in our GL headers.
...
This fixes a conflicting definition of GLsizeiptr and GLintptr when
Magnum is combined with qopengl.h from Qt on Windows. Khronos has it as
`signed long int`, whereas qopengl.h as ptrdiff_t, which is just `int`.
7 years ago
Vladimír Vondruš
5923efbdee
external: pass GL::Context to flextGLInit().
...
To make it possible to put driver-specific workaround there.
7 years ago
Vladimír Vondruš
76fb88fa1a
external: update OpenGL headers.
...
Only a cleanup in the type definitions, which is actually nice. The
desktop GL version now requires the khrplatform.h header as well.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
dd6c97a9ae
external: license headers for this as well.
8 years ago
Vladimír Vondruš
1f87ab7288
external: updated OpenGL headers with ES 3.2 extensions.
8 years ago
Vladimír Vondruš
889171303e
Mark EXT_shader_framebuffer_fetch as semi-supported.
10 years ago
Vladimír Vondruš
d2f8821ce7
Implemented KHR_no_error.
10 years ago
Vladimír Vondruš
32e56b8a14
external: shorter generated GL loader files.
...
I like commits like this.
11 years ago
Vladimír Vondruš
7aef7f44f5
Compressed image support, part 5: added EXT_texture_compression_s3tc.
...
And related WebGL extension. Why the hell do they need their own naming
again?!
11 years ago
Vladimír Vondruš
e18ee47510
External: flextGL now respects API/profile restrictions for extensions.
11 years ago
Vladimír Vondruš
34281dd9c2
External: updated to new version of flextGL.
...
Stuff's just reordered alphabetically, no other change.
11 years ago
Vladimír Vondruš
cb44f06359
Added NV_shader_noperspective_interpolation ES3 extension.
11 years ago
Vladimír Vondruš
361ab62fe9
Added ANDROID_extension_pack_es31a extensions.
...
Just added them to the list, nothing integrated or implemented yet. Also
added some more stuff into OpenGL mapping table, as I apparently forgot
some entries.
11 years ago
Vladimír Vondruš
0dba2601e3
Added KHR_blend_equation_advanced{,_coherent} extensions.
11 years ago
Vladimír Vondruš
a80370865c
Updated GLES3 extension headers.
11 years ago
Vladimír Vondruš
4720a8db96
Implement NV_polygon_mode ES extension.
11 years ago
Vladimír Vondruš
df6acb10ab
Implement EXT_sRGB_write_control ES extension.
11 years ago