Vladimír Vondruš
93686746ab
Pernament is not a word.
...
/me hides in embarrassment
7 years ago
Vladimír Vondruš
64bc7f9c8e
Math: moved configuration value parsers to a dedicated header.
...
There's a lot of string operations and that's nothing good to have
included everywhere. Should speed up the compilation quite a bit.
7 years ago
Vladimír Vondruš
2b30246ff2
Fixed various MSVC warnings about clashing variable names.
7 years ago
Vladimír Vondruš
25aa1b8c22
Text: expect opened font in all AbstractFont accessors.
...
Consistency is a king. This might be a perf penalty, but it prevents
accidents (and the user code can always cache the value), so it's
warranted.
7 years ago
Vladimír Vondruš
db1d18729c
Text: test basic AbstractFont construction.
7 years ago
Vladimír Vondruš
7fefac955a
Text: debug output for AbstractFont::Feature[s].
7 years ago
Vladimír Vondruš
344e00ce11
Text: implement file callbacks for AbstractFont.
...
Basically mirroring the API of Trade::AbstractImporter, as that proved
to be useful. The old crazy openSingleData() and openData(horribleStuff)
are deprecated and will be removed in a future release.
No backwards compatibility is provided for font plugins, these need to
be adapted.
7 years ago
Vladimír Vondruš
88135b72bc
Text: doc++
7 years ago
Vladimír Vondruš
e198be76a1
Text: minor cleanup in the test.
7 years ago
Vladimír Vondruš
94ca8273e1
No need to leak GL headers everywhere.
7 years ago
Vladimír Vondruš
8e8010c40b
Document and print helpful error messages for GL-dependent features.
7 years ago
Vladimír Vondruš
8b748ace7d
Text: properly report failures from AbstractFontConverter.
7 years ago
Vladimír Vondruš
a5634f4bf4
Text: fix annoying warnings on GCC 4.8.
7 years ago
Vladimír Vondruš
834c5fe40d
Text: API-independent base for glyph caches.
...
Allows the Font and FontConverter plugins be built without TARGET_GL
enabled. That was the last piece missing for making the magnum-plugins
repo completely GL-free.
7 years ago
Vladimír Vondruš
215d50a087
Text: allow empty files in AbstractFont.
...
In particular, MagnumFont can be an empty.
7 years ago
Vladimír Vondruš
6a982f7841
Adapted to Corrade changes.
7 years ago
Vladimír Vondruš
e6db895452
Adapted to Corrade changes.
7 years ago
Vladimír Vondruš
697c17279c
Backwards compatibility for std::unique_ptr where needed.
7 years ago
Vladimír Vondruš
f9f3df69de
Get rid of std::unique_ptr.
7 years ago
Vladimír Vondruš
2149f7b869
Wrap all tests in unnamed namespaces.
...
This makes the compiler warn about test cases that aren't ever used,
which is a good thing.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
6cc7d2e3a5
Doxygen: extract private virtuals.
7 years ago
Vladimír Vondruš
00b0a814e0
Dropped GCC 4.7 support.
...
Interesting that many of the annoyances still apply to 4.8.
8 years ago
Pascal Thomet
50bf219e53
Text: fix ambiguous overload error that's happening with C++17 onwards.
8 years ago
Vladimír Vondruš
f0bb710cd3
TextureTools: make distance field processing into a stateful class.
8 years ago
Vladimír Vondruš
cb3a5cb515
Text: prefix private variables with an underscore.
8 years ago
Thomas Tissot
65b1931c62
Text: use proper formats for DistanceFieldGlyphCache on ES.
...
The unsized formats cause errors on drivers that support
EXT_texture_storage.
8 years ago
Vladimír Vondruš
b770d79fe0
Text: a barebones minimal test for DistanceFieldGlyphCache.
...
Not great at all, but at least makes it possible to test the
initialization.
8 years ago
Vladimír Vondruš
799d9b80db
Doc++
8 years ago
Vladimír Vondruš
e795478353
Make all vars initialized in constructors rather than at some later point.
...
Reported by PVS-Studio, many thanks to @alexesDev for collecting the
report.
8 years ago
Vladimír Vondruš
c334d90870
Improve utility documentation even more.
8 years ago
Vladimír Vondruš
8f6ca904d8
doc: improved and unified docs for command-line utilities.
...
Especially mention how to build them and how to use them with CMake.
Also add a dedicated page for the Magnum::Ui Gallery.
8 years ago
Vladimír Vondruš
1f9fc43c92
Text: avoid assertion failure on ES2 with EXT_texture_rg.
...
Affects iOS, among others.
8 years ago
Vladimír Vondruš
8018b17bc7
Doxygen: renamed \extension[2] to \gl_extension[2].
...
So it's clear that this is not a Vulkan extension link.
8 years ago
Vladimír Vondruš
e2512ffee2
Text: unconditionally use TextureFormat::Luminance in GlyphCache on ES2.
...
Because now with the generic formats all images that are in
PixelFormat::R8Unorm are translated to GL::PixelFormat::Luminance on ES2
and WebGL 1. The DistanceFieldGlyphCache still has the original, but
that one didn't really work there in the first place. That'll get
patched later.
8 years ago
Vladimír Vondruš
23b46ac91a
Split the OpenGL layer out, pt 22: adapted Text.
8 years ago
Vladimír Vondruš
b1de952c13
Split the OpenGL layer out, pt 6: adapted buildsystem of dependent libs.
...
Now the rest should build with a lot of deprecation warnings.
8 years ago
Vladimír Vondruš
920db7aa73
Split the Trade library out.
8 years ago
Vladimír Vondruš
253d3131fc
Text: missing includes on platforms w/o dynamic plugin support.
8 years ago
Vladimír Vondruš
d48293c07f
Don't compile pluginSearchPaths() on platforms that don't need it.
8 years ago
Vladimír Vondruš
59f4ac57d2
Use the plugin dir autodetection in the command-line utilities.
...
But still make it possible for the user to override this.
8 years ago
Vladimír Vondruš
33fe70d7b5
Simplify the converter utility plugin loading code.
...
Also have different return codes for different kinds of errors.
8 years ago
Vladimír Vondruš
d1ed10c0a8
Implement pluginSearchPaths() for all plugin interfaces.
8 years ago
Vladimír Vondruš
cb2a20aced
Test: make the GL tests compile on WebGL 1.
...
Not WebGL 2 yet, though.
8 years ago
Vladimír Vondruš
93aeac258a
Adapted to Corrade::PluginManager changes.
8 years ago
Vladimír Vondruš
d8399fe317
Text: fix ambiguous function overloads.
...
I hope this won't break stuff.
8 years ago
Vladimír Vondruš
f5c1967bdf
CHROMIUM_map_sub died along with NaCl.
8 years ago
Vladimír Vondruš
e23dd3b5b5
Doc++
8 years ago
Vladimír Vondruš
aef6b00a62
doc: compiled code snippets for the Text namespace.
...
Everything was wrong here. Ugh.
8 years ago
Vladimír Vondruš
8f27da9dfd
Set library soversion to 1.0, version to 0.
8 years ago