Vladimír Vondruš
a0fa21c9fb
external: expose the OVR_multiview, OVR_multiview2 extension entrypoints.
7 years ago
Vladimír Vondruš
60c18f93a1
GL: implement time queries for WebGL 2, and workarounds, and ...
...
There's a new firefox-fake-disjoint-timer-query-webgl2 workaround and a
half-page of text listing various caveats and issues you might run into.
Also exposing them in the OpenGLTester (although quite shitty at this
point).
7 years ago
Vladimír Vondruš
8f72f383df
external: update Vulkan headers with latest flextgl.
...
Stuff that was accidentally pulled in because of optional extension
interaction is not pulled in anymore.
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š
d9cef2feea
Add HDR ASTC pixel formats.
...
Both Vulkan and Metal have separate enums for these, GL is the only odd
one out.
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š
be65f85e88
GL: recognize KHR_texture_compression_astc_sliced_3d.
7 years ago
Vladimír Vondruš
87a446c7ba
GL: recognizing {EXT,ANGLE}_texture_compression_dxt{1,3,5} extensions.
...
This makes it possible to test S3TC code paths on SwiftShader as well.
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š
9dfe6d1ab0
external: add helpers for updating flextgl-generated headers.
7 years ago
Vladimír Vondruš
8e57060f39
Support for PVRTC compressed pixel format.
7 years ago
Vladimír Vondruš
2b9772d86a
Added generic ASTC formats and the corresponding WebGL extensions.
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š
7993360a9e
Vk: update the header.
...
Ugh, what a mess. I need to mark the old things with a deprecation macro.
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š
fad30db41d
GL: fix and add a comment so I don't mess this up again in the future.
7 years ago
Guillaume Jacquemin
8029abca07
Audio: add support for buffer loop points.
...
This feature requires the AL_SOFT_loop_points extension.
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š
6e482549d2
external: don't even attempt to load ES3.1 and ES3.2 functions on iOS.
...
Probably a missed leftover from the times where the world was still
optimistic about OpenGL on Apple platforms.
7 years ago
Vladimír Vondruš
572b64bb5c
GL: drop support for EXT_direct_state_access.
7 years ago
Vladimír Vondruš
fadd4621d6
external: fix compilation of Vulkan headers on 32-bit Windows.
7 years ago
Vladimír Vondruš
75b60b6287
external: updated Vulkan header.
7 years ago
Vladimír Vondruš
24b8ff086c
Removed std::optional backwards compatibility.
...
This was a dirty mess. Good riddance. Also removing the include from the
header now, as it has a forward declaration and thus is not needed.
7 years ago
erikwijmans
dd4bd88df2
Switch to using eglGetCurrentDisplay instead of querying for the defualt
7 years ago
Vladimír Vondruš
87e842934b
GL: new nv-egl-incorrect-gl11-function-pointers workaround.
...
This one explicitly loads GL 1.0 and 1.0 function pointers on EGL
contexts on NVidia drivers (Linux headless boxes), because somehow the
usual statically linked functions don't behave correctly.
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š
2c473e14a8
external: properly update the iOS templates as well.
...
Forgotten in 26ae018d4f .
7 years ago
Vladimír Vondruš
2149f7b869
Wrap all tests in unnamed namespaces.
...
This makes the compiler warn about test cases that aren't ever used,
which is a good thing.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
61d0ad9c7c
external: update generated Vulkan headers for new global function in 1.1.
...
See https://github.com/mosra/flextgl/issues/18 for a detailed
discussion.
8 years ago
Vladimír Vondruš
6f2b115953
external: regenerated Vulkan headers with latest flextGL.
...
Should fix the compilation issue on Windows.
8 years ago
Vladimír Vondruš
994b9b22ba
CMake: properly specify IDE folders for everything.
8 years ago
Steeve Morin
26ae018d4f
external: fix ES2 and ES3 include paths in iOS
...
Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
8 years ago
Vladimír Vondruš
b1377033e8
Vk: initial Vulkan headers generated using flextGL.
8 years ago
Vladimír Vondruš
82fce786d8
Split the OpenGL layer out, pt 7: renamed magnum-info to magnum-gl-info.
...
The WITH_MAGNUMINFO CMake option is now WITH_GL_INFO. No backwards
compatibility is provided, sorry.
8 years ago
Vladimír Vondruš
fc1b167bff
Split the OpenGL layer out, pt 1: moving files to a new location.
...
Minimal updates (just the include guards) so Git is hopefully able to
detect the rename and track the history properly.
Everything except Magnum::GL doesn't compile now.
8 years ago
Vladimír Vondruš
2d67a091f8
external: expect failure for std::optional compatibility on Xcode 9.3.
8 years ago
Vladimír Vondruš
323f7e076a
external: better diagnostics for the std::optional compatiblity test.
8 years ago
Vladimír Vondruš
6c02f57c91
external: don't install OpenAL extension header if Audio is not enabled.
8 years ago
Vladimír Vondruš
dd6c97a9ae
external: license headers for this as well.
8 years ago
Vladimír Vondruš
311f44faec
doc: step-by-step checklists for core developers and maintainers.
8 years ago
Vladimír Vondruš
2f729f6965
external: updated OpenGL headers for 4.6, related modifications.
8 years ago
Vladimír Vondruš
1f87ab7288
external: updated OpenGL headers with ES 3.2 extensions.
8 years ago
Vladimír Vondruš
3c4ff61e3a
external: preserve OpenGL/OpenAL macros in the docs.
...
Or hide them from Doxygen so it doesn't expand them to the numeric
values.
8 years ago
Vladimír Vondruš
4c44c3ecf8
external: fix build of a test on WinRT with MSVC 2017.
...
It enables deprecation-warning-is-error by default and the deprecation
warnings in the std::optional compatibility test were not properly
ignored.
8 years ago
Vladimír Vondruš
68953f8c87
external: adapt tests to Corrade changes.
...
Now C++17 is properly selected on MSVC, but the __cplusplus macro isn't
doing the right thing there. Use CORRADE_CXX_STANDARD instead.
8 years ago
Vladimír Vondruš
d00e7c0a04
Provide backwards-compatibility alias for std::make_optional().
...
Marked as deprecated, of course.
8 years ago