Vladimír Vondruš
4955e1e320
Platform: text input in GlfwApplication.
...
Mirrors a subset of the text input API from Sdl2Application, requires
latest Corrade for the Unicode::utf8() function.
9 years ago
Vladimír Vondruš
11d664efef
Platform: provide position in GlfwApplication::MouseEvent.
...
Kinda useless without it, I would say.
9 years ago
Vladimír Vondruš
9aa4e69db0
Platform: added GlfwApplication::windowSize().
9 years ago
Vladimír Vondruš
455dc26840
Platform: properly set minimized and cursor window options for GLFW.
...
Didn't work and caused the following error messages to be printed to the
output:
Invalid window hint 131074
Invalid window hint 208897
9 years ago
Vladimír Vondruš
57b36240c2
Platform: doc++
9 years ago
Vladimír Vondruš
3a16ae6f46
Platform: use Flag::TextInputActive instead of a boolean in Sdl2Application.
9 years ago
Vladimír Vondruš
f64ebc6219
Platform: use Flag::Redraw instead of a boolean in GlfwApplication.
...
Also properly reset it before drawEvent() so the users can control the
amount of redrawing themselves.
9 years ago
Vladimír Vondruš
4509dbb1b1
Don't use deprecated Corrade functionality.
9 years ago
Vladimír Vondruš
a7c7323673
Platform: make WindowFlag::Resizable consistent between GLFW and SDL2 app.
...
It was Resizeable on GLFW and Resizable on SDL2. As both APIs use
"resizable" as the flag name, I'm keeping it. The old enum value is now
an alias to the new one, is marked as deprecated and will be removed in
a future release.
9 years ago
Vladimír Vondruš
6ed4f6fe7f
Sloppy Doxygen docs are sloppy.
...
Note to myself: don't write docs under pressure.
9 years ago
Vladimír Vondruš
d34899eb5c
doc: added some useful notes to Best Practices.
9 years ago
Vladimír Vondruš
30018bdfbb
doc: updated formatting of Best Practices.
9 years ago
Vladimír Vondruš
f0cf36dea5
Added NoCreate {Compressed,}BufferImage constructors.
...
To have common API across the board.
9 years ago
Vladimír Vondruš
e0672f4867
Math: link to the Tau manifesto.
9 years ago
Vladimír Vondruš
44b2ae72bb
Ability to create {Compressed,}BufferImage from an existing Buffer.
...
One use case might be data reinterpreting in combination with
{Compressed,}BufferImage::release().
9 years ago
Vladimír Vondruš
876573fc6c
Added {Compressed,}BufferImage::release().
...
To mirror the API in other Image classes.
9 years ago
Vladimír Vondruš
cd70bc8f1e
DebugTools: fix assertion in ObjectRenderer.
...
Apparently this class was not used since 2013.
9 years ago
Vladimír Vondruš
bc1b8b0095
SceneGraph: fix deprecation warning message.
9 years ago
Vladimír Vondruš
e797fac8c7
package/ci: make AppVeyor MinGW green again.
9 years ago
Vladimír Vondruš
58831670f4
package/ci: fix coveralls upload.
9 years ago
Vladimír Vondruš
3300f06017
package: enabled OpenGLTester in all packages and CIs.
9 years ago
Vladimír Vondruš
9ab2a1553c
Fix compilation on GCC 6.3.
...
This is just sad.
9 years ago
Vladimír Vondruš
a0eeecba4a
Added GPU time benchmarking to OpenGLTester.
9 years ago
Vladimír Vondruš
ee3afc1bbc
Code simplification in plugin tests.
...
Somehow slipped through ages ago.
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š
772ae84062
Test: adapt AbstractOpenGLTester to changes in Corrade::TestSuite.
9 years ago
Vladimír Vondruš
7ec6c3b477
doc: reordered sections of building docs for consistency with cmake docs.
9 years ago
Vladimír Vondruš
f31537d184
Clarify docs of Renderer::Feature::FramebufferSRGB.
9 years ago
Vladimír Vondruš
fa0395bb9e
Platform: improve docs of MAGNUM_*APPLICATION_MAIN() for consistency.
9 years ago
Vladimír Vondruš
100405ec89
DebugTools: GCC 4.7 can't handle raw strings inside macros.
9 years ago
Vladimír Vondruš
c45472a0f0
DebugTools: initial implementation of CompareImage class.
...
Currently just does per-pixel comparison and calculates absolute delta,
failing the comparison if max/mean delta threshold is above specified
values. Useful enough for the case I have right now, might fail in other
case -- but still better than whatever else I was using before :)
9 years ago
Vladimír Vondruš
bb69a88922
Math: fix double->float conversion warnings on MSVC.
9 years ago
Vladimír Vondruš
c0ce10882f
Fix misleading documentation of PixelStorage::dataProperties().
9 years ago
Vladimír Vondruš
f966644d83
DebugTools: include the tests only if the features are actually built.
9 years ago
Vladimír Vondruš
256930b90e
CMake: provide the plugin-related variables insde the project as well.
...
Until now they were provided only through FindMagnum.cmake.
9 years ago
Vladimír Vondruš
2ed3fba575
Adapted plugin constructor signatures to Corrade::PluginManager updates.
9 years ago
Vladimír Vondruš
a960a3d8cd
Math: initialize BoolVector to silence compiler warnings.
9 years ago
Vladimír Vondruš
db3ef59ddc
MeshTools: don't use deprecated functionality.
9 years ago
Vladimír Vondruš
9de8fb9a67
Math: expect minor sRGB monotonicity test failure on Emscripten -O3 build.
...
The debug output isn't even able to print the difference as it is
differing *very* little.
9 years ago
Vladimír Vondruš
5a0be1dfee
Math: document the test repeats to avoid confusion.
9 years ago
Vladimír Vondruš
1f2af862dc
Doc++
9 years ago
Vladimír Vondruš
bdb6daec82
Math: new Half literal class.
9 years ago
Vladimír Vondruš
16ef1ae0b6
Math: functions for half-float (un)packing.
...
Most of the code is in the actual test where I'm comparing and
benchmarking three different implementations (a
naive/straightforward/ground-truth one, the chosen one and a fast though
cache-spilling table-based one) to ensure the behavior is consistent
across all of them and that the performance is within reasonable bounds.
The Corrade::TestSuite benchmarking stuff needs serious improvements,
though.
9 years ago
Vladimír Vondruš
c8cc1dc88e
Math: expect failure in SVD test only on non-optimized Emscripten builds.
...
Emscripten 1.37.1 with -O3 doesn't fail there.
9 years ago
Vladimír Vondruš
9ebc1068cb
Math: missing include after updates in Corrade::TestSuite.
9 years ago
Vladimír Vondruš
502d59c2a8
Math: ability to specify number of integer bits for {un,}pack().
...
This also allowed me to get rid of the <limits> header.
9 years ago
Vladimír Vondruš
996c707cbc
Math: reduced code duplication in vector packing functions.
...
This should also improve debug performance as there is less code to
inline.
9 years ago
Vladimír Vondruš
aaa38d3570
MeshTools: got rid of <limits> dependency in removeDuplicates().
9 years ago
Vladimír Vondruš
54c7b8d775
Math: document why unpacking is done this way.
9 years ago
Vladimír Vondruš
e5fe46949e
Math: got rid of <limits> dependency in Constants.h.
...
The tests still pass, so why not.
9 years ago