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
Vladimír Vondruš
d0d93d386f
Text: adapted to the new documentation theme.
8 years ago
Vladimír Vondruš
9b8aac3a94
Doc++
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
1ec14c678b
Local Doxygen ignores for symbol export macros.
...
It was impossible to put all macros including the ones from other
projects into the global Doxyfile. Much cleaner now <3
8 years ago
Vladimír Vondruš
6029cfae62
Update documentation of utilities for the new theme.
9 years ago
Vladimír Vondruš
2145ae9b96
Dropped NaCl support.
9 years ago
Vladimír Vondruš
ca000e1d52
Text: use container comparison for better test output.
9 years ago
Vladimír Vondruš
e0ee452297
Don't use deprecated Buffer functionality.
9 years ago
Vladimír Vondruš
12fa6961c8
Use CMake folders also for OBJECT libraries, executables and tests.
9 years ago
Émile Grégoire
dae1e8e9cf
Started adding folders for Visual Studio.
...
See https://gitter.im/mosra/magnum/archives/2017/03/25
9 years ago
Alice Margatroid
e762fc1efc
Modernize #1
9 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
3b3f71faa9
doc: adapted GL function/extension to Khronos domain move.
...
Followup to previous commit -- links to opengl.org are now redirected to
khronos.org and the extension links have the same format for both GL and
GLES. That allows me to remove some of the Doxygen aliases and use just
a single set of the functions for both GL and GLES.
9 years ago
Vladimír Vondruš
4509dbb1b1
Don't use deprecated Corrade functionality.
9 years ago
Vladimír Vondruš
fb454d8a3f
Made Test/AbstractOpenGLTester.h a public and documented API.
...
There will be numerous additions to this one so it made sense to make it
a static library instead of a header-only library. That also allows
CMake users to just link to Magnum::OpenGLTester instead of going
through the pain of a huge branching in order to find a correct
windowless application just to run their tests. It could have been done
even without the static library using a INTERFACE target, but that
wouldn't work on CMake < 3.0 (which, unfortunately, quite a few people
are still stuck with).
Unfortunately it's already heavily used elsewhere so I had to go through
the pain of deprecating the old implementation. The old implementation
was header-only so it can't be just typedef'd to the new one as there
would be linker failures. So the old header is just kept as it was, with
only the macros reduced.
9 years ago
Vladimír Vondruš
2ed3fba575
Adapted plugin constructor signatures to Corrade::PluginManager updates.
9 years ago
Vladimír Vondruš
bd8d807e1c
Make Linux/Windows code for windowless apps on ES more consistent.
10 years ago
Vladimír Vondruš
081f79a766
Bundle test files for both Android and Emscripten.
10 years ago
Vladimír Vondruš
8b06913534
CMake: make the plugin directories used in utilities more configurable.
...
In particular it is now possible to override the MAGNUM_PLUGINS_DIR
variables and even specify them relative, which will make them relative
to executable location.
It's nice when everything clicks together :)
10 years ago
Vladimír Vondruš
ddf6cd27f0
CMake: install plugin binary / library to different places.
...
In order to have it correct on Windows where DLLs should be next to
executables.
10 years ago
Vladimír Vondruš
7dca1cdcbc
Synchronized windowless app dependencies of all utilities.
...
And document them properly.
10 years ago
Vladimír Vondruš
a73e447545
Doxygen warning cleanup.
10 years ago
Vladimír Vondruš
3ab77b9112
Stress how Array instances returned from plugins should look like.
10 years ago
Vladimír Vondruš
ed0e4adeda
Text: don't leak AbstractLayouter subclasses.
...
They are passed in a std::unique_ptr<AbstractLayouter> and with the
non-virtual destructor their destructors weren't called. Found by
AddressSanitizer.
10 years ago