Vladimír Vondruš
38a2a1f6c4
AnyShaderConverter: propagate optimization level as well.
...
Finally a complete API... except for linking, which no plugin exposes
yet so I can't test it.
6 years ago
Vladimír Vondruš
9b3abeef17
AnyShaderConverter: typo!
6 years ago
Vladimír Vondruš
5327fe0ae2
CMake: make it possible to build only some plugins as static.
...
It doesn't really work for tests that depend on more than one plugin
(because there i would need to handle all combinations, somehow), but it
does the job when the end user has such use case.
6 years ago
Vladimír Vondruš
b18aba5868
AnyShaderConverter: propagate debug info level.
6 years ago
Vladimír Vondruš
bd3903e637
AnyShaderConverter: propagate preprocessor definitions.
6 years ago
Vladimír Vondruš
d41e81fa9c
AnyShaderConverter: fix include order.
6 years ago
Vladimír Vondruš
6db6a2a5f8
AnySceneConverter: fix a misleading macro name in the test.
6 years ago
Vladimír Vondruš
f1ba6c692b
AnyShaderConverter: new plugin.
6 years ago
Vladimír Vondruš
7f5f93f31d
AnyImageImporter: port away from deprecated APIs.
6 years ago
Vladimír Vondruš
e852277905
AnyImageImporter: fix signature printing in the error message.
...
And also test various potential false positives, which shouldn't be
detected as given format.
*Damn*, I need some utility class for printing this, this is
unsustainable.
6 years ago
Vladimír Vondruš
884b315ca5
AnySceneImporter: support skin import.
6 years ago
Vladimír Vondruš
ddb7185417
Trade: make AbstractImporter::defaultScene() const.
...
Makes more sense as the function isn't expected to fail (and thus any
kind of lazy population is not possible as it would be too late for
error checks anyway).
*Not* updating interface strings even though this is an ABI break
because we're doing that right after the skin import interface bump.
6 years ago
Vladimír Vondruš
8c24ea19d3
Trade: skin import in AbstractImporter.
6 years ago
Vladimír Vondruš
0ec8e002fb
Trade: return Optional instead of Pointer from *Importer::material().
...
The plugin interface version got bumped to avoid ABI issues when loading
plugins that weren't updated for the change, but apart from that this
shouldn't be a breaking change, as the API returns a type that can be
both an Optional and a Pointer.
6 years ago
Vladimír Vondruš
fb1452eca6
AnyImageImporter: recognize TIFF files by magic.
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
a66964898f
AnyImageImporter: recognize *.ico and *.cur files.
6 years ago
Vladimír Vondruš
b2f003bdd6
MagnumFontConverter: fix warnings on Clang 10.
6 years ago
Vladimír Vondruš
1bd5efc1f8
doc: initial file format support tables.
...
Plus accompanying changes to plugin docs.
6 years ago
Vladimír Vondruš
0ad5a8968f
AnySceneConverter: new plugin.
6 years ago
Vladimír Vondruš
3977f0472f
Any*{Importer,Converter}: show used plugin in verbose output.
...
Good for the first step when debugging why is something wrong.
6 years ago
Vladimír Vondruš
2149f31973
MagnumFont,MagnumFontConverter: adapt to Corrade changes.
...
And document this in MagnumFont and MagnumFontConverter usage docs. The
inter-manager dependencies weren't an unused feature after all.
6 years ago
Vladimír Vondruš
1b03e20e3e
Any*{Importer,Converter}: propagate flags to the actual plugins.
6 years ago
Vladimír Vondruš
42b8ab2d0e
TgaImporter,TgaImageConverter: verbose output about channel reordering.
...
Not useful much, more for testing flag propagation inside Any* plugins.
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š
5d9d529010
Any*{Importer,Converter}: less engrish in error messages.
6 years ago
Vladimír Vondruš
1ec6691005
plugins: these checks are done in the top-level CMakeLists.txt already.
...
Moreover, doing them here would mean the options might get ignored with
no clear reason why. Aaand yes of course this caused MagnumFontConverter
to be skipped for no clear reason on embedded platforms, and uncovered a
setup bug in the test.
6 years ago
Vladimír Vondruš
27f4a7073e
AnySceneImporter: treat both *.gltf and *.glb the same.
6 years ago
Vladimír Vondruš
ab32d6598d
TgaImporter: MSVC 2015, you too.
...
You're not supposed to just crash, not even the apocalypse is an excuse
for that.
6 years ago
Vladimír Vondruš
350a79d324
TgaImporter: make error messages consistent.
6 years ago
Vladimír Vondruš
d01f8ba3fe
TgaImporter: minor test cleanup.
6 years ago
Vladimír Vondruš
132359b78f
TgaImporter: make expected test output more explicit.
...
Otherwise we can't be sure we have the right slice.
6 years ago
Vladimír Vondruš
440a3f96ad
TgaImporter: implement RLE decoding.
...
I need a bunch of new test images for shader tests and this was rather
easy to do, considering RLE images are ten times smaller. Not doing the
converter side yet due to time constraints, temporarily relying on
imagemagick to handle that (StbImageConverter does RLE also, but
interestingly it produces larger files than imagemagick).
6 years ago
Vladimír Vondruš
8c837be26f
TgaImageConverter: same.
6 years ago
Vladimír Vondruš
0388364128
TgaImporter: STL algorithms only make you write longer and slower code.
...
And more error-prone, harder-to-debug and complex. Seriously, why even
bother.
6 years ago
Vladimír Vondruš
c56ccddd61
TgaImporter: add a comment for future me.
6 years ago
Vladimír Vondruš
ab86b4c581
AnySceneImporter: adapt to AbstractImporter changes.
6 years ago
Vladimír Vondruš
f782caaf52
ObjImporter: port the test away from MeshData3D.
6 years ago
Vladimír Vondruš
4269c1303b
ObjImporter: port away from MeshDataXD.
...
Not the tests yet -- those will get done in the next round.
6 years ago
Vladimír Vondruš
92a9940628
AnyImageImporter: make the plugin movable.
...
Needed for caching in importers that support mip level import.
6 years ago
Vladimír Vondruš
dfacd7fb2d
Trade: support mip levels in image import.
...
There's a new level option in each imageND() API, plus an
imageNDLevelCount() query to get image level count.
6 years ago
Vladimír Vondruš
6e04d0d4c6
CMake: add an explicit dependency between plugins and their tests.
...
Otherwise selectively rebuilding a test will not do a plugin rebuild
even if it changed.
6 years ago
Vladimír Vondruš
19dd7a0176
Move Feature[s] enums from inside plugin classes outside.
...
Too annoyingly long to type. Also added a debug output operator for the
FontConverterFeature enums, for some reason there were none.
6 years ago
Vladimír Vondruš
16f845e4fb
WavAudioImporter: fix the tests to work on any endian and char signs.
...
Some platforms have unsigned chars, and those 16/32/64bit values worked
only on LE (of course I forgot about this, eh).
6 years ago
Vladimír Vondruš
7cfa1709ef
WavAudioImporter: FFS GCC.
6 years ago
Vladimír Vondruš
2ff5d32156
WavAudioImporter: make it work on Big-Endian platforms, support RIFX.
...
With the RIFX support I can test for BE support on a LE platform, that's
why. Otherwise I wouldn't bother.
6 years ago
Vladimír Vondruš
0fed65a3e5
WavAudioImporter: fix a comment.
6 years ago
Vladimír Vondruš
c1f43709fd
doc: sweeping update of CMake usage instructions.
...
Putting more emphasis into CMake subproject setup.
6 years ago
Vladimír Vondruš
a50e249b63
MagnumFontConverter: fix static build.
6 years ago