Vladimír Vondruš
3a243a04b2
CMake: put all binaries into a dedicated location in the build dir.
...
This makes it possible to:
- finally use Magnum as a CMake subproject on Windows and have your
executables not fail to run with a "DLL missing" error (and the
setting is put to cache so superprojects just implicitly make use of
that)
- run tests on Windows without having to install first
- use dynamic plugins from a CMake subproject on any platform without
having to install first or load them by filename --- and the plugin
directory is now easily discovered as relative to
libraryLocation() of the library implementing given plugin interface
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š
6ba9bf529a
Platform: doc++
7 years ago
Vladimír Vondruš
f7d739058b
Platform: device selection in WindowlessEglApplication.
7 years ago
Vladimír Vondruš
3bfec34cec
Platform: EGL_EXT_anything isn't on WebGL anyway.
7 years ago
Vladimír Vondruš
73baab69ce
Platform: specify EGL context version for desktop as well.
...
This might be a fix for the nv-egl-forward-compatible-context-unhappy
workaround, actually.
7 years ago
Vladimír Vondruš
bc3451a593
Platform: how did Linus say it, fuck NVidia?
...
Thanks a lot, there goes my morning.
7 years ago
Vladimír Vondruš
c5d08156ea
Audio: shorten test name to avoid too wide CTest output.
7 years ago
Vladimír Vondruš
7489c4c2d7
Shaders: fix warnings in a test.
7 years ago
Vladimír Vondruš
22458f22b5
Trade: minor cleanup.
7 years ago
Vladimír Vondruš
84fc685c87
Trade, Audio: explicitly disallow custom deleters returned from plugins.
7 years ago
Vladimír Vondruš
118c3e4aca
Audio: 100% test coverage for the base Importer class.
...
One bug found.
7 years ago
Vladimír Vondruš
ef725cdbcf
Adapt to changes to executable symbol defaults in CMake 3.4.
7 years ago
Vladimír Vondruš
7f4da303cb
Require at least CMake 3.4.
7 years ago
Vladimír Vondruš
a018521a8c
CMake: simplify plugin test setup.
...
No matter how broken iOS is in CMake 3.6, $<CONFIG> seems to work there,
so reducing the amount of code and putting the configure into a single
place independently of what generator or what system/build is used.
Compared to current state it always adds Debug/configure.h instead of
putting it directly to the ${CMAKE_CURRENT_BINARY_DIR}, but the
alternative would be some CMake branching again and I just removed that,
so no.
This also prepares everything for plugin libraries being put into a
central place -- the config files don't depend on their location
anymore.
7 years ago
Vladimír Vondruš
dbb4cb39a1
GL: improve Framebuffer usage docs.
7 years ago
Vladimír Vondruš
3f9c541753
GL: add ES-only TextureFormat::BGRA[8].
...
And clarify their purpose. This was an accidental ommision, as there's
no need for such a thing on desktop.
7 years ago
Vladimír Vondruš
7b368dcdf4
GL: mention how to do --magnum-log quiet directly from C++.
7 years ago
Vladimír Vondruš
a1a59ec4ea
Shaders: assert on the wireframe flag when calling related setters.
...
This is to be consistent with other shaders -- failing loudly is better
than habing to spend ages wondering why it doesn't render the thing.
7 years ago
Vladimír Vondruš
398988193a
TextureTools: increase fuzzy compare threshold for iOS/WebGL.
7 years ago
Vladimír Vondruš
8bac2a05a5
Platform: more compact list of GLSL versions in magnum-gl-info.
7 years ago
Vladimír Vondruš
387a12c329
Trade: provide less useless OOB assert messages.
...
If this would be there yesterday already, it would made my debugging
session of `image2D(-1)` immediately obvious (instead of wasting 20
minutes).
7 years ago
Vladimír Vondruš
9315175a72
Shaders: avoid MeshVisualizer::VertexIndex reusing a generic color slot.
...
Can't really future-proof that, so just adding a lot of comments
everywhere.
7 years ago
Vladimír Vondruš
a0f0015211
Shaders: de-inline uniform setters.
...
Reduces includes in the header quite a lot, yay.
7 years ago
Vladimír Vondruš
9616273e18
Shaders: improve MeshVisualizer docs.
7 years ago
Vladimír Vondruš
0e8e6f43e5
Shaders: adjust thresholds for Flat/Phong vertex color WebGL 1 tests.
7 years ago
Vladimír Vondruš
a515bdf297
Shaders: rendering tests for all remaining builtin shaders.
7 years ago
Vladimír Vondruš
2d1d9f4b29
Shaders: simplified [DistanceField]Vector and VertexColor shader tests.
7 years ago
Vladimír Vondruš
d89b74d40a
DebugTools: now it can happen that the pixel list is empty.
7 years ago
Vladimír Vondruš
5b1c521f99
DebugTools: provide verbose diagnostic from CompareImage.
7 years ago
Vladimír Vondruš
cb492f932a
DebugTools: don't print a newline after comparison delta image.
...
It makes other stuff too nasty.
7 years ago
Vladimír Vondruš
dbfc145362
DebugTools: copypaste oops, so this wasn't testing the correct thing.
7 years ago
Vladimír Vondruš
64e365eeee
AnyImageImporter: Basis file signature is just the two bytes.
...
The rest after was a version, which changes all the time.
7 years ago
Vladimír Vondruš
e49136fd24
GL: I *knew* there was a reason I did this.
7 years ago
Florian Goujeon
837defa182
Fix DistanceFieldVector on WebGL iOS
7 years ago
Vladimír Vondruš
957e8470fe
GL: put extension docs to proper enum value.
...
It's relevant to the generic RGB/RGBA format, not the sized 16F formats
that aren't available in WebGL 1 anyway.
7 years ago
Vladimír Vondruš
f58a15b9a1
GL: update outdated info -- ASTC is on WebGL now.
7 years ago
Vladimír Vondruš
eef1981b43
GL: added hasTextureFormat() and textureFormat() helpers.
7 years ago
Vladimír Vondruš
7f70dc7385
Math: XFAIL most (all?) NoInit tests in Release builds.
7 years ago
Vladimír Vondruš
dc4c24da03
Vk: fix handling of unsupported formats.
...
Until now, Vulkan supported all formats. With the 3D ASTC ones not
anymore and that uncovered a bug.
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š
cd39463876
Shaders: verify that no GL errors happened during construction.
7 years ago
Vladimír Vondruš
8703497367
Remove redundant information from assert messages.
7 years ago
Vladimír Vondruš
75bfd41baf
Add a table describing block size of all known compressed pixel formats.
...
Needed for a bunch of features (and feature parity in
CompressedImageView).
7 years ago
Vladimír Vondruš
64c9d40722
Minor cleanup.
7 years ago
Squareys
b4ca71ef9b
AnyImageConverter: Delegate .basis files to BasisImageConverter
...
Signed-off-by: Squareys <squareys@googlemail.com>
7 years ago
Squareys
a1c2c9c6b3
AnyImageImporter: Delegate .basis files to BasisImporter
...
Signed-off-by: Squareys <squareys@googlemail.com>
7 years ago
Vladimír Vondruš
90c727c025
GL: test for ARB_gpu_shader_fp64 in tests that need it.
7 years ago