Vladimír Vondruš
3183f613b5
Fix: inexistent -> nonexistent.
...
No public change, only tests.
13 years ago
Vladimír Vondruš
c9ad947136
Plugins: mark the includes as inter-project, not external.
13 years ago
Vladimír Vondruš
f29ea2140f
Fixed ES build without deprecated API.
13 years ago
Vladimír Vondruš
3fb969d397
Integrated plugins into build system and updated the documentation.
13 years ago
Vladimír Vondruš
fc73848277
Improved building and CMake usage documentation.
13 years ago
Vladimír Vondruš
b7e241f17a
Adapted to Magnum changes.
13 years ago
Vladimír Vondruš
b84dc709f8
TgaImporter, TgaImageConverter: adapted to Magnum changes.
...
It looks like I forgot to `delete` three times in the tests. It just
proves that the previous API was flawed (or unusable for people spoilt
with RAII like me).
13 years ago
Vladimír Vondruš
840b8be08c
Removed enum-referencing Doxygen workarounds.
13 years ago
Vladimír Vondruš
8ca25de2ec
TgaImporter: minor cleanup.
...
Reset back to default packing (it's 8, but this looks better like
default).
13 years ago
Vladimír Vondruš
2835f6cc13
Properly update tests after message cleanup.
...
Followup to 03e81361c979c2f92ed646c2bef1cd615bfe9ba9. I should test
before pushing.
13 years ago
Vladimír Vondruš
c5685d5f30
No need to make destructors as virtual.
...
The parent ones are marked already.
13 years ago
Vladimír Vondruš
e55b4b80c6
Cleaned up and unified error and assertion messages.
13 years ago
Vladimír Vondruš
d442cb964e
Explicitly specify library types for *TestLib targets.
...
Use static libraries for plugins which aren't used as dependencies (as
they don't export any symbols anyway), use shared libraries for plugins
used as dependencies (as they already export the symbols and static
libraries cause linker errors on mingw32).
13 years ago
Vladimír Vondruš
1e5f4d68de
Fixed visibility macros for plugins used as dependencies.
...
The symbols weren't exported on mingw32, causing linker errors.
13 years ago
Vladimír Vondruš
b003e53f00
Wrap CMAKE_SHARED_LIBRARY_CXX_FLAGS in quotes.
...
The variable is empty on some platforms (Windows), would cause issues.
13 years ago
Vladimír Vondruš
0eb828f67e
TgaImporter: return Luminance if EXT_texture_rg is not supported in ES.
...
Also documented the behavior.
13 years ago
Vladimír Vondruš
0012ec37f7
OpenGL ES build fix.
13 years ago
Vladimír Vondruš
d3937556b5
Ability to build the plugins either as dynamic or static.
13 years ago
Vladimír Vondruš
96166663f1
Doxygen fixes.
13 years ago
Vladimír Vondruš
c53cb1b004
Adapted to Magnum changes.
...
Image constructor parameter reordering.
13 years ago
Vladimír Vondruš
cb9a66bd8a
Properly prefix visibility macros.
13 years ago
Vladimír Vondruš
6eeb014110
Removed superfluous namespaces.
...
Not sure how to handle everything properly (e.g. namespaces and naming
for implementation classes, tests...), will update coding style for
plugins accordingly later.
13 years ago
Vladimír Vondruš
90a4e4a709
TgaImporter: simplified visibility macros.
13 years ago
Vladimír Vondruš
4d69b63fb6
Adapted to Magnum changes.
...
Removed redundant checks, hidden implementation to class privates.
13 years ago
Vladimír Vondruš
0ca9491244
TgaImporter: removed unneeded #include.
13 years ago
Vladimír Vondruš
e8fe82ac28
TgaImporter: don't include these headers if not really needed.
13 years ago
Vladimír Vondruš
d17248959e
TgaImporter: more verbose error when image type is not supported.
13 years ago
Vladimír Vondruš
b701dbb655
Adapted to Corrade changes.
13 years ago
Vladimír Vondruš
5d1fcd26d3
Adapted to Corrade and Magnum changes.
...
More shorter lines (sometimes even longer lines).
13 years ago
Vladimír Vondruš
089ec23c77
Adapted to Magnum changes.
...
Shorter lines, yay!
13 years ago
Vladimír Vondruš
9f2ea8aa15
TgaImporter: test also file opening.
13 years ago
Vladimír Vondruš
ca9ed0150b
Adapted to Magnum changes.
13 years ago
Vladimír Vondruš
b71310f6d0
TgaImporter: moved TGA header structure to separate file.
...
Will be used elsewhere.
13 years ago
Vladimír Vondruš
cceba12569
TgaImporter: support for grayscale images, updated error messages.
...
The messages now print fully qualified function name.
13 years ago
Vladimír Vondruš
f8b8d93217
TgaImporter: minor code cleanup, blind ES compilation fix.
13 years ago
Vladimír Vondruš
4a657b77d2
TgaImporter: parsing the image on call to image2D().
...
Solves the problem about image deletion, the image is imported again on
every request and the user is responsible for its deletion. Now also
asserting that the file is opened and that the image ID is zero.
13 years ago
Vladimír Vondruš
0927138ff1
Adapted to Magnum changes.
13 years ago
Vladimír Vondruš
e8c3838065
TgaImporter: deinlined functions.
13 years ago
Vladimír Vondruš
f40b112f8f
TgaImporter: prefix macros with `MAGNUM_`.
13 years ago
Vladimír Vondruš
be0d089678
Relicensing to MIT/Expat license, part 4: CMake and documentation files.
13 years ago
Vladimír Vondruš
29fd52b3e6
Relicensing to MIT/Expat license, part 3: source files.
...
License header was not added to COLLADA test files (because it should be
then also added to TGA test files, which is impossible).
13 years ago
Vladimír Vondruš
1f5247ab52
Relicensing to MIT/Expat license, part 2: headers.
13 years ago
Vladimír Vondruš
193c03759a
Thorough CMakeLists cleanup.
...
* Explicitly installing header files instead of recursive glob (some
header are internal, thus no need to install them).
* Calling enable_testing() only in project root.
* Using MAGNUM_LIBRARIES instead of specifying all dependencies
explicitly.
* Using CORRADE_CXX_FLAGS instead of our own (heavily outdated) set.
* Removed FindMagnumPlugins.cmake, the module does essentially nothing.
* Various reorganization and cleanup.
13 years ago
Vladimír Vondruš
af18c8d65d
Adapted to Corrade and Magnum changes.
13 years ago
Vladimír Vondruš
dc6b8a52eb
Adapted to Magnum changes (own type aliases).
13 years ago
Vladimír Vondruš
4c8cf7c8fa
Include cleanup.
13 years ago
Vladimír Vondruš
cd00422e4f
TgaImporter: adapted to Magnum changes.
...
Not storing image name inside ImageData greatly simplifies the
implementation. Also using `override` keyword where possible.
14 years ago
Vladimír Vondruš
220ac9e1ca
Removed header files from tests.
...
Following decisions made in Magnum itself.
14 years ago
Vladimír Vondruš
40b1b1ea2b
Adapted to Magnum changes.
14 years ago
Vladimír Vondruš
884db80152
No `using namespace std` anywhere.
...
Also added missing std:: prefix to remaining cases of std::size_t,
std::[u]int[0-9]+_t, std::sin() etc., std::exit().
14 years ago