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š
5d9d529010
Any*{Importer,Converter}: less engrish in error messages.
6 years ago
Vladimír Vondruš
3b40d91f6c
DebugTools: added a few preset colormaps.
6 years ago
Vladimír Vondruš
a4020e3dbc
DebugTools: there are no binormals, only bitangents.
...
There's just one normal, but several tangents, so.
6 years ago
Vladimír Vondruš
de9c289328
Adapted all code and doc snippets to GL library changes.
6 years ago
Vladimír Vondruš
35659a6d15
DebugTools: port away from MeshDataXD.
6 years ago
Vladimír Vondruš
e7aeaf78d0
Remove ResourceManager::instance() singleton deprecated in 2019.10.
...
Due to it being global it was severely limiting multithreaded
applications and removing it was the path of least resistance.
Good riddance.
6 years ago
Vladimír Vondruš
88ec50127e
DebugTools: I'm starting to get tired of this.
6 years ago
Vladimír Vondruš
dc56bf413a
DebugTools: update test to pass on clang-cl.
...
NaN printing strikes again.
6 years ago
Vladimír Vondruš
f7f676e01d
DebugTools: remove unused declaration in a test.
...
THis one is split into imageFileZeroDelta() and imageFileNonZeroDelta().
6 years ago
Vladimír Vondruš
f077fc1ada
DebugTools: update test to pass with newer Emscripten on the CI.
6 years ago
Vladimír Vondruš
a920722839
doc: label deprecated APIs and stuff new since 2019.10 with version info.
...
Should make new things more discoverable, avoid confusion when a
documented API isn't there and reduce the need for maintaining multiple
separate versions of the docs.
7 years ago
Vladimír Vondruš
cdd0147edb
Disable automatic resource initializers when building static.
...
That's done manually, and when such a static lib is linked to a DLL, the
suddenly appearing global constructors are unexpected.
7 years ago
Vladimír Vondruš
5f4e76e646
DebugTools: fix a linker error on Clang.
...
Not sure why it started happening only after I added a deprecated
constructor. Making it the same as is done for Image classes.
7 years ago
Vladimír Vondruš
607b3a15fa
DebugTools: finish ResourceManager singleton deprecation.
7 years ago
Vladimír Vondruš
3afa29ed5b
DebugTools: XFAIL a screenshot() test if the format is not R8.
...
It gets read as RGBA on Intel Windows.
7 years ago
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š
ef725cdbcf
Adapt to changes to executable symbol defaults in 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š
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š
eef1981b43
GL: added hasTextureFormat() and textureFormat() helpers.
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š
619b4a3cb7
Be strict for missing values in pixel format switches.
7 years ago
Vladimír Vondruš
0f7e1e8fad
Deprecate ResourceManager::instance().
...
If I would have done this a year ago, I could have it removed by now.
Well. Gotta look forward to 2020, then.
7 years ago
Vladimír Vondruš
f84a91ea06
DebugTools: improve CompareImage failure message.
...
The comparison is <=, so if it passes, it's not "below".
7 years ago
Vladimír Vondruš
5ebd8394e8
DebugTools: doc++
...
The note was totally useles and additionally I made a few brainfarts
here and there.
7 years ago
Vladimír Vondruš
a0232e8506
DebugTools: CompareImage can now compare against pixel views.
...
This is getting too good.
7 years ago
Vladimír Vondruš
069c81b9cb
Deprecate passing nullptr to images.
...
Causes too much pain. Ugh.
7 years ago
Vladimír Vondruš
c6737e1958
DebugTools: PIMPL all CompareImage's state.
...
The distinction didn't make sense and we had to include more than
necessary. It's great how easy those refactorings are with the 100% code
coverage.
7 years ago
Vladimír Vondruš
f4fd8a0648
DebugTools: rewrite CompareImage guts to use StridedArrayView.
...
Yay. Much simpler code.
7 years ago
Vladimír Vondruš
ed6cde9536
DebugTools: support --save-diagnostic in CompareImage.
7 years ago
Vladimír Vondruš
4f55a17316
DebugTools: well, yes, isn't that obvious?
7 years ago
Vladimír Vondruš
f102b86645
DebugTools: prepare CompareImage for more than one plugin manager.
7 years ago
Vladimír Vondruš
bc0e45fb95
DebugTools: clearer name for a define.
7 years ago
Vladimír Vondruš
9e0b24fa5b
DebugTools: doc++, minor cleanup.
7 years ago
Vladimír Vondruš
5d9fb386f5
DebugTools: make CompareImage work correctly with NaNs and infinities.
7 years ago
Vladimír Vondruš
93789721b2
De-inline Image headers, remove dependency on ImageView.
...
This means users have to add some more #includes on their side. Sorry
but it's for your own good :P
7 years ago
Vladimír Vondruš
7604309014
DebugTools: make it clearer that ForceRenderer takes a reference.
7 years ago
Vladimír Vondruš
ddb16f6df8
DebugTools: give up on optimism.
7 years ago
Vladimír Vondruš
3626562e1d
Adapted to Corrade changes.
...
Mostly missing includes now.
7 years ago
Vladimír Vondruš
48765bdfa3
DebugTools: no need to use std::array.
...
C array is great. Use it.
7 years ago
Vladimír Vondruš
e6fb085db7
DebugTools: minor cleanup.
7 years ago
Vladimír Vondruš
10fec86534
DebugTools: no need to use std::vector in CompareImage internals.
...
Containers::Array will do juust fine.
7 years ago
Vladimír Vondruš
6f3c6f85ad
DebugTools: expect more differences in renderer tests on ARM Mali.
...
This makes the tests pass 100%.
7 years ago
Vladimír Vondruš
7cc70c6dad
DebugTools: fix textureSubImage() test on ARM Mali.
...
This time it was just a missing state, no crazy shit like gl_VertexID
not working.
7 years ago
Vladimír Vondruš
f6a978c5c4
DebugTools: properly reference rendereing test files.
7 years ago