Vladimír Vondruš
e8f13af4be
GL: test noexcept-movability of all GL classes.
...
Not sure why this wasn't done for ages already, all other
(non-GL) classes have it.
6 years ago
Vladimír Vondruš
08bd6e9ae9
Test: fix wrong plugin name in a message.
6 years ago
Vladimír Vondruš
091572e498
GL: doc++
6 years ago
Vladimír Vondruš
6e8e78c0e4
GL: verify that NoCreate constructors are explicit.
6 years ago
Vladimír Vondruš
75d238f50b
GL: implemented ARB_buffer_storage.
6 years ago
Vladimír Vondruš
aa13d08bac
GL: newer SwiftShader implements NV_read_stencil, but it's broken.
...
XFAIl on that.
6 years ago
Vladimír Vondruš
8bbbd4a994
GL: document uselessness of certain polygon offsets for future me.
...
I bet this is at least the fifth time I ran into this. And always
immediately forgot after.
6 years ago
Vladimír Vondruš
851af4fded
GL: add *Texture::target().
...
Useful when interacting with raw GL code.
6 years ago
Vladimír Vondruš
32b3f2810d
GL: doc++
6 years ago
Vladimír Vondruš
8d4dda12cd
GL: recognize all remaining WebGL extensions.
6 years ago
Vladimír Vondruš
af73929c67
GL: implemented WEBGL_blend_equation_advanced_coherent.
6 years ago
Vladimír Vondruš
bb5004dbb5
GL: added Framebuffer::Status::IncompleteDimensions.
...
Sigh, NVidia.
6 years ago
Vladimír Vondruš
083ecf72b8
GL: implement EXT_texture_norm16 ES and WebGL extension.
6 years ago
Vladimír Vondruš
cd48c59cab
Remove remaining APIs deprecated in 2018.10.
6 years ago
Vladimír Vondruš
6feb5a4cab
GL: fix compilation on macOS + ANGLE.
6 years ago
Vladimír Vondruš
fe4acbae7d
GL: there's no EXT_DSA anymore.
6 years ago
Vladimír Vondruš
c4e41d28f1
GL: one more iteration on the Apple buffer texture workaround.
...
This broke DSA-less contexts with ARB_multi_bind present.
6 years ago
Vladimír Vondruš
5222cf3478
doc: change all "latest" additions/deprecations to 2020.06.
6 years ago
Vladimír Vondruš
36f51e3116
GL: finalize the apple-buffer-texture-unbind-on-buffer-modify workaround.
...
Followup to 24cc971b1f , covering the
remaining case.
6 years ago
Vladimír Vondruš
51473776f1
GL: repro for the last remaining Apple buffer texture issue.
6 years ago
Vladimír Vondruš
d0fa28c331
Use the new half/packed typedefs where appropriate.
...
Had this in a stash for a while, not sure why it wasn't commited
already.
6 years ago
Vladimír Vondruš
1ff8baa220
GL: clarify Shader error reporting.
6 years ago
Vladimír Vondruš
609275f993
Audio,GL: shorter way to avoid crashes on nullptr C strings.
...
This is actually to avoid an ambigous overload with Corrade's new
StringView APIs, but doesn't hurt to commit that anyway.
6 years ago
Vladimír Vondruš
54a48992ff
GL: doc++
6 years ago
Vladimír Vondruš
3aca89ec82
GL: minor.
6 years ago
Vladimír Vondruš
e2621fac3c
GL,Audio: use plain old binary search for extension setup.
...
Because the cost of hundreds of tiny allocations when filling a
std::unordered_map (and then the cache unfriendliness of the whole
thing) definitely overweights the potential speedup by searching in O(1)
instead of O(log n). Same approach is chosen in the upcoming Vulkan
wrapper, I just backported it here.
This strips about 8 kB off the Emscripten build.
6 years ago
Vladimír Vondruš
54c42dfb4d
GL,Audio: sort extension lists alphabetically.
...
So we can throw away the unordered_map and do the search on constant
data.
6 years ago
Vladimír Vondruš
b45514cb1c
GL,Audio: use CORRADE_ITERATION() in extension list tests.
6 years ago
Vladimír Vondruš
5f1fd752fa
GL: no need to have those in a std::vector<std::string>.
...
Allocations are bad. Needless allocations are worse. Needless
allocations forced on library load are the worst.
6 years ago
Vladimír Vondruš
1026aee80e
Moved the NoInit tag from Math to the root namespace.
...
The old one is deprecated, and will be removed in a future release.
Unfortunately, to avoid deprecation warnings, all use of NoInit in the
Math library temporarily have to be Magnum::NoInit This will be cleaned
up when the deprecated alias is removed.
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š
a27802e67c
GL: sigh, windows.h.
6 years ago
Vladimír Vondruš
3942dff532
GL: add a test for global function pointers across libraries as well.
...
Fails. The huge change just before should have made the fix possible,
but apparently it's not so simple. Nothing is ever simple. Sigh.
6 years ago
Vladimír Vondruš
9c14d8e354
Introduce a BUILD_STATIC_UNIQUE_GLOBALS option.
...
Same as in Corrade. Because BUILD_STATIC is independent between Corrade
and Magnum this option is also independent -- the corner cases and bad
interactions would be otherwise too complex to handle (e.g., in case of
a dynamic Corrade and static Magnum it would be impossible to enable
this option for Magnum etc etc).
6 years ago
Vladimír Vondruš
d366e0e7a0
GL: exposed clip / cull distance APIs.
6 years ago
Vladimír Vondruš
2c5aea6999
GL: forgot to list those GLES extensions.
...
They were listed on WebGL tho. Sigh.
6 years ago
Vladimír Vondruš
7c0b7ad426
GL: and this is misplaced also.
6 years ago
Vladimír Vondruš
391dfbda4f
GL: not that it mattered much, but AbstractQuery forgot to move _flags.
...
These are not really used much so it probably didn't cause any bugs, but
nevertheless. Found while fixing something else.
6 years ago
Vladimír Vondruš
0cd72b1883
GL: give up and disable ARB_explicit_uniform_location on Intel Windows.
...
SIGH FFS.
6 years ago
Vladimír Vondruš
5c10d6eb1e
GL: implemented ARB_pipeline_statistics_query from GL 4.6.
...
Need this for the upcoming FrameProfiler.
6 years ago
Vladimír Vondruš
5ec5b35931
GL: fix double conversion warning in a test.
6 years ago
Vladimír Vondruš
86a5a63af9
Test: most tests now pass on Zink as well.
...
Just adding a bunch of extension checks that I thought I would never
need again.
6 years ago
Vladimír Vondruš
3bce67dfea
GL: don't ask for GL_CONTEXT_PROFILE_MASK on GL < 3.2.
...
Makes Zink sad.
6 years ago
Vladimír Vondruš
403ed25b12
GL: don't call GL3+ APIs on GL 2.1.
...
Makes Zink sad.
6 years ago
Vladimír Vondruš
6274911a3e
GL: make the double precision shader tests work on llvmpipe.
...
It doesn't support GLSL 4.00 yet, but the extension alone is supported.
6 years ago
Vladimír Vondruš
65a2ced2a7
Make this compile and test cleanly with CORRADE_NO_ASSERT defined.
6 years ago
Vladimír Vondruš
d3f2235759
Adapted to Corrade changes.
6 years ago
Vladimír Vondruš
d209d496bc
GL: this is done since 0e50f0feea.
6 years ago
Vladimír Vondruš
c03ed3af75
doc: show how to set up blending for alpha / transparency.
...
Hopefully more discoverable now also.
6 years ago