Vladimír Vondruš
c6e9b2d45d
Properly include everything needed for a deprecated header.
8 years ago
Vladimír Vondruš
b73b9cb408
Platform: remove 50 000 lines from Sdl2Application header.
...
Of all the libraries I use, I expected SDL to do the "include the world"
horror the least of all. Ugh.
8 years ago
Vladimír Vondruš
9a11b7d23a
Platform: make all useful Application APIs public, not protected.
8 years ago
Vladimír Vondruš
5cc140d60c
TextureTools: make the test files properly accessible on an iOS device.
...
Testing exclusively on the iOS Simulator isn't a good thing after all.
8 years ago
Vladimír Vondruš
8be57d1a21
Math: I should have tested this.
...
Did I ever check the CIs?
8 years ago
Vladimír Vondruš
3cf98026d5
TextureTools: make distance field output bit-exact for all platforms.
...
*Finally* having consistent output on desktop, ES1, ES2, WebGL 1 and
WebGL 2, while also cutting 40% off the processing time. For the record,
the benchmark took 2.3 ms before, now it's 1.4.
8 years ago
Vladimír Vondruš
b9739a97ff
TextureTools: make distance field test working on WebGL 1 as well.
...
And remove the implicit assumptions, making it more robust.
8 years ago
Vladimír Vondruš
f0bb710cd3
TextureTools: make distance field processing into a stateful class.
8 years ago
Vladimír Vondruš
1fa1869ba7
TextureTools: add a benchmark for distance field processing.
...
It's a bit shitty because we're recreating the shader and everything
every iteration.
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š
07101c8ebf
Animation: properly set IDE folders for tests.
8 years ago
Vladimír Vondruš
e74749043c
Animation: make it possible to advance() multiple players at once.
...
Just realized that <functional> is 22k in C++11 and 44k lines in C++17.
SAD. EXTREMELY.
8 years ago
Vladimír Vondruš
dd343fe35b
GL: make it possible to bind a scratch VAO for external GL code.
...
Used in those sad and unfortunate cases where we need to call
shitty external GL code that's not VAO-aware.
8 years ago
Vladimír Vondruš
057854c5bd
GL: properly provide enum operators for Context::State.
8 years ago
Vladimír Vondruš
1234bc8c48
Animation: added Player::resume().
8 years ago
Vladimír Vondruš
c98a936b41
Animation: added a collection of easing functions.
...
This was tremendous fun to make.
8 years ago
Vladimír Vondruš
d7d8e49de2
Math: make all literals usable with Utility::Tweakable.
8 years ago
Vladimír Vondruš
89f7a5ee75
Platform: don't assert on X11 DEs that don't have RESOURCE_MANAGER.
8 years ago
Vladimír Vondruš
a14975cc42
Platform: properly support the MAGNUM_DPI_SCALING environment variable.
8 years ago
Vladimír Vondruš
f42fb83fae
Animation: doc++
8 years ago
Vladimír Vondruš
0dd46e7e37
HTTPS!!
8 years ago
Vladimír Vondruš
6d7558672d
Math: MSVC 2015 constexpr fun!
8 years ago
Vladimír Vondruš
0226ab26c4
Math: make one-dimensional range just from scalar types.
...
Since Range1D is now used all over Animation, the vector made it very
annoying to use. That's fixed now. This is a backwards-incompatible
change, but I don't expect the 1D range to be used much, mainly because
it was so shitty to use. Generic code that needs a vector can always
cast to it, like this:
Math::Vector<dimensions, T>{range.min()}
Test for the constructor from pair is no longer accepting pairs of 1D
vectors. I have no idea what I meant by that test case (it's testing the
same thing twice), so I removed one of these.
8 years ago
Vladimír Vondruš
d6017ad8cc
Math: fixed enable_if for one-dimensional Range-from-pair constructor.
...
This shouldn't have worked like this. Apparently it works even after
this. Huh.
8 years ago
Vladimír Vondruš
ff57f95e99
Math: minor cleanup.
8 years ago
Vladimír Vondruš
b0a1719eb4
Vk: functions for translating generic enums to Vulkan values.
...
Because I don't yet have any source file that's assert-independent, the
MagnumVkObjects library is commented out, as it is completely empty
right now.
8 years ago
Vladimír Vondruš
46781bb195
Vk: a Vulkan.h header that "just includes Vulkan".
...
Similarly to <Magnum/GL/OpenGL.h>, something where you don't need to
think too much about where in MagnumExternal the header is.
8 years ago
Vladimír Vondruš
31b7a39e9d
GL: use CORRADE_IGNORE_DEPRECATED macros where applicable.
8 years ago
Vladimír Vondruš
3c18721c26
GL: better wording.
8 years ago
Vladimír Vondruš
ca0cc0b67c
GL: doc++
8 years ago
Vladimír Vondruš
0728ae687b
GL: rotten leftovers.
8 years ago
Vladimír Vondruš
82ba2a069c
GL: also name the parameters properly.
...
What the heck, really.
8 years ago
Vladimír Vondruš
cd7f67e5c9
GL: make the Array GL::samplerWrapping() work and test it.
...
Also not sure what happened there.
8 years ago
Vladimír Vondruš
67bcb6f347
Properly mark MeshPrimitive members as deprecated.
...
Something weird happened when I was writing this file.
8 years ago
Vladimír Vondruš
597223e993
Math: test a bit more.
8 years ago
Vladimír Vondruš
ebedbce2f2
Math: vector overloads for isInf() and isNan().
8 years ago
Vladimír Vondruš
edff639204
Math: functions were not inline by mistake.
...
It's inline for all others of similar size, so why not this.
8 years ago
Vladimír Vondruš
5792d7f06a
Math: fun with printing NaNs :(
8 years ago
Vladimír Vondruš
24af174f5e
Math: minor cleanup.
8 years ago
Vladimír Vondruš
0cf65741ae
Math: helpfully print the offending values in all assertions.
8 years ago
Vladimír Vondruš
2fd8bae26d
Math: added Range::scaledFromCenter().
8 years ago
Vladimír Vondruš
0f33107efc
Math: no need to de-inline such tiny functions.
8 years ago
Vladimír Vondruš
0557add6e5
SceneGraph: properly forward references in addChild()/addFeature().
8 years ago
Vladimír Vondruš
c1206629a0
SceneGraph: properly test perfect forwarding in addFeature()/addObject().
...
It's not working, obviously.
8 years ago
Vladimír Vondruš
e3e61d8865
Math: ability to multiply/divide a Complex with a Vector2.
8 years ago
Vladimír Vondruš
1a253af761
Math: added Constants::sqrtHalf().
8 years ago
Vladimír Vondruš
9f7512bf2b
Math: improve Constants docs, show useful identities.
8 years ago
Vladimír Vondruš
66a313bc0d
Math: doc++
8 years ago