Vladimír Vondruš
45a10cefdf
Making includes absolute, part 1: moving files around.
...
Everything what was in src/ is now in src/Corrade, everything from
src/Plugins is now in src/MagnumPlugins, everything from external/ is in
src/MagnumExternal. Added new CMakeLists.txt file and updated the other
ones for the moves, no other change was made. If MAGNUM_BUILD_DEPRECATED
is set, everything compiles and installs like previously except for the
plugins, which are now in MagnumPlugins and not in Magnum/Plugins.
13 years ago
Vladimír Vondruš
1a608a5b7e
TgaImporter: fix test on ES2.
13 years ago
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š
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š
2835f6cc13
Properly update tests after message cleanup.
...
Followup to 03e81361c979c2f92ed646c2bef1cd615bfe9ba9. I should test
before pushing.
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š
4d69b63fb6
Adapted to Magnum changes.
...
Removed redundant checks, hidden implementation to class privates.
13 years ago
Vladimír Vondruš
d17248959e
TgaImporter: more verbose error when image type is not supported.
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š
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š
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š
af18c8d65d
Adapted to Corrade and Magnum changes.
13 years ago
Vladimír Vondruš
4c8cf7c8fa
Include cleanup.
13 years ago
Vladimír Vondruš
220ac9e1ca
Removed header files from tests.
...
Following decisions made in Magnum itself.
13 years ago
Vladimír Vondruš
40b1b1ea2b
Adapted to Magnum changes.
13 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
Vladimír Vondruš
92e250b600
Adapted to Magnum changes.
14 years ago
Vladimír Vondruš
f58ccfa1f7
Adapted to (old) Magnum changes.
14 years ago
Vladimír Vondruš
68ea16ea99
TgaImporter: ported to work also with OpenGL ES.
...
OpenGL ES doesn't have BGR and BGRA, swizzling pixel values to make it
RGB and RGBA there.
14 years ago
Vladimír Vondruš
2aba9b98fa
Got rid of Qt's QtTest in favor of Corrade's TestSuite.
...
Also added check() function to AUR Git PKGBUILD.
14 years ago
Vladimír Vondruš
18e9e7aa93
Adapted to Magnum changes.
14 years ago
Vladimír Vondruš
1f4e6022ac
TgaImporter: check if the file is long enough.
...
Prevents undefined behavior when opening e.g. empty files.
14 years ago
Vladimír Vondruš
eab9b13250
TgaImporter: test for opening inexistent files.
14 years ago
Vladimír Vondruš
595f23b06e
Adapted to Magnum changes.
14 years ago
Vladimír Vondruš
f17de6a63d
Renamed TGAImporter -> TgaImporter.
14 years ago
Vladimír Vondruš
ea853308f8
Adapted to Magnum changes, renamed namespace Plugins to Trade.
14 years ago
Vladimír Vondruš
65986a1cef
Adapted to Magnum changes.
14 years ago
Vladimír Vondruš
82816ac845
Happy New Year.
15 years ago
Vladimír Vondruš
1fb857985d
TGAImporter: hardened file opening, added unit tests.
15 years ago