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š
a5e7c19973
MagnumFont: simple bitmap font.
...
The fonts is simply a file with character and glyph parameters
along with glyph cache image. There is also MagnumFontConverter, which
allows to create the font from any currently opened font.
Added tests for both, they both need active GL context due to GlyphCache
instance. MagnumFont doesn't have test for creating glyph cache yet.
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š
978f9cc250
TgaImageConverter: export symbols for use as other plugin dependency.
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š
8f08ae4baa
TgaImageConverter: don't forget about endianness.
13 years ago
Vladimír Vondruš
51075b91c5
TgaImageConverter: ported to OpenGL ES.
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š
3544b17fdf
New plugin TgaImageConverter.
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.
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š
050eb89d47
Adapted to Corrade changes.
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š
21ef62201d
Treat Corrade includes as real, not internal dependency.
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š
6cd334d9c3
Anonymized unused function parameter.
14 years ago
Vladimír Vondruš
e75db8aede
Don't use C-style casts.
14 years ago
Vladimír Vondruš
3cb611cbbf
TgaImporter: quick ugly fix - don't delete the image data on closing.
...
It causes problems in ColladaImporter, because it uses TgaImporter for
opening the image, then takes ownership of the data and then destroys
the importer. Need to think this thoroughly.
14 years ago
Vladimír Vondruš
dc0895142a
Ability to explicitly specify name for image from TgaImporter.
14 years ago