Vladimír Vondruš
806e080008
doc: updated changelog and credits.
6 years ago
Vladimír Vondruš
9c14d8e354
Introduce a BUILD_STATIC_UNIQUE_GLOBALS option.
...
Same as in Corrade. Because BUILD_STATIC is independent between Corrade
and Magnum this option is also independent -- the corner cases and bad
interactions would be otherwise too complex to handle (e.g., in case of
a dynamic Corrade and static Magnum it would be impossible to enable
this option for Magnum etc etc).
6 years ago
Vladimír Vondruš
05617c02b5
doc: rewrite the building features docs to be easier to navigate.
...
Turn the BUILD_* options to a list and move unimportant blabber to the
end.
6 years ago
Vladimír Vondruš
2149f31973
MagnumFont,MagnumFontConverter: adapt to Corrade changes.
...
And document this in MagnumFont and MagnumFontConverter usage docs. The
inter-manager dependencies weren't an unused feature after all.
6 years ago
Vladimír Vondruš
b5dead9223
Platform: add no-forward-compatible-core-context workaround for EGL too.
6 years ago
Vladimír Vondruš
71e3f5d561
doc: updated changelog.
6 years ago
Vladimír Vondruš
f2800995b2
DebugTools: deprecate the old Profiler.
6 years ago
Vladimír Vondruš
820b9b94a1
DebugTools: initial implementation of a new frame profiler.
...
Replaces the old & extremely useless Profiler. Doesn't have everything I
want yet (missing stddev and fancier GPU queries), that'll come later.
6 years ago
Vladimír Vondruš
ec3e308c9b
doc: all those VAO+DSA entry points are used already.
6 years ago
Vladimír Vondruš
d366e0e7a0
GL: exposed clip / cull distance APIs.
6 years ago
Vladimír Vondruš
c114ca3fb9
Doc++
6 years ago
Vladimír Vondruš
0cd72b1883
GL: give up and disable ARB_explicit_uniform_location on Intel Windows.
...
SIGH FFS.
6 years ago
Vladimír Vondruš
5c10d6eb1e
GL: implemented ARB_pipeline_statistics_query from GL 4.6.
...
Need this for the upcoming FrameProfiler.
6 years ago
Vladimír Vondruš
7aaf646728
Platform: handle Xlib errors gracefully in WindowlessGlxApplication.
...
Another step on the path for supporting Mesa's Zink.
6 years ago
Vladimír Vondruš
d9ae6a665e
doc: we can now create a GL 2.1 context on Zink w/o errors.
6 years ago
Vladimír Vondruš
acc3932e0c
Platform: added ScreenedApplication::globalBeforeDrawEvent().
6 years ago
Vladimír Vondruš
902e8053c7
doc: updated changelog.
6 years ago
Vladimír Vondruš
299cf7740f
imageconverter,sceneconverter: add a --verbose option.
6 years ago
Vladimír Vondruš
0bdb70fcf6
Trade: add flags to AbstractImporter and AbstractImageConverter.
6 years ago
Vladimír Vondruš
4090a88c97
Rework plugin search paths using new Corrade APIs.
6 years ago
Vladimír Vondruš
573125d0a9
Math: make cross() 10x faster in Debug.
...
And the Vector3 version 5% slower in Release, on GCC at least. FFS,
what was I thinking with the gather() things. Nice in user code,
extremely bad in library code.
6 years ago
Vladimír Vondruš
4f3fd88a26
doc: make iOS/macOS platform guides discoverable when searching for Apple.
6 years ago
Vladimír Vondruš
7a30390890
Platform: extend window flags in Sdl2 and GlfwApplication.
6 years ago
Vladimír Vondruš
65aaf6d61b
package/ci: make the non-deprecated build also without assertions.
...
And in release mode. Similar to what's done for Corrade now.
6 years ago
Vladimír Vondruš
c03ed3af75
doc: show how to set up blending for alpha / transparency.
...
Hopefully more discoverable now also.
6 years ago
Vladimír Vondruš
1116c97124
doc: this TODO is done already.
6 years ago
Vladimír Vondruš
56cade15ca
Primitives: added a wireframe icosphere.
6 years ago
Vladimír Vondruš
446b63f11c
doc: updated credits and changelog.
6 years ago
Vladimír Vondruš
e6dc5be1af
Platform: default to 32-bit RGBA framebuffer instead of 24-bit RGB.
...
macOS and Android is known to degrade 24-bit to 16-bit colors, this
prevents them from doing that.
6 years ago
Vladimír Vondruš
2149e78f82
Platform: make *Application::exit() exit right after constructor ends.
...
Instead of first entering the main loop, processing events etc. This
also makes it finally possible to exit the application cleanly, with all
non-global destructors executed as well.
6 years ago
Vladimír Vondruš
8af1f6a91e
Platform: delay GLFW event callback setup to first main loop iteration.
...
A more robust fix for the Windows-specific issue, and fixing a similar
macOS issue as well.
6 years ago
Vladimír Vondruš
453be840a5
doc: updated changelog and credits.
6 years ago
Vladimír Vondruš
498f4c59e1
Math: fix angle() returning NaN for close arguments.
6 years ago
Vladimír Vondruš
55685ea382
Shaders: implement instancing in Phong.
6 years ago
Vladimír Vondruš
a1f1f66c04
Shaders: implement instancing in Flat.
6 years ago
Vladimír Vondruš
e6010388c3
Shaders: reorganize the Flat and Phong docs.
...
Dry blabber followed by dry code is worse than those two interleaved.
6 years ago
Vladimír Vondruš
e5075803eb
GL: state reset needs to unbind PBOs when entering external code.
...
Qt is not PBO-aware and it messes with its state when resizing a window.
6 years ago
Vladimír Vondruš
44609d845f
doc: fix the recommended texture format.
...
Forgot that ES wants the component count to match.
6 years ago
Vladimír Vondruš
e3841ade7e
Shaders: object and primitive ID visualization in MeshVisualizer.
6 years ago
Vladimír Vondruš
f2f66d764f
Math: make TypeTraits::epsilon() consistent with Corrade.
...
The precision stays the same, but the long double variant is now exposed
on Emscripten as well, following a similar change in Corrade.
Additionally, the alien-looking _EQUALITY_PRECISION macros are now
unused and deprecated. For some reason these weren't ever prefixed with
MAGNUM_, and the ability to override those is an extremely rare use case
that would break half of the assumptions everywhere, so better not allow
that at all.
The TypeTraits test is further extended to compare directly the epsilons
between Magnum and Corrade, in addition to verifying that TestSuite and
TypeTraits have the same comparison results.
6 years ago
Vladimír Vondruš
02525527a4
Shaders: ability to render instanced object ID in Flat/Phong.
6 years ago
Vladimír Vondruš
5a43db88ce
doc: make the 3rd party license info page more discoverable.
6 years ago
Vladimír Vondruš
3b40d91f6c
DebugTools: added a few preset colormaps.
6 years ago
Vladimír Vondruš
1c51b98d76
Trade: new magnum-sceneconverter tool.
...
Currently provides just the --info option similarly to
magnum-imageconverter, nothing else.
6 years ago
Vladimír Vondruš
92655c7238
Trade: implement magnum-imageconverter --info.
...
Useful for inspecting unknown files.
6 years ago
Vladimír Vondruš
a7a0acd3a4
MeshTools: add a primitiveCount() utility.
...
I need it in magnum-player.
6 years ago
Vladimír Vondruš
814a00fdf6
doc: updated changelog.
6 years ago
Vladimír Vondruš
171e8a5301
Shaders: remove MeshVisualizer default behavior.
...
It was rendering everything with a plain color, which is rather useless.
Moreover it wasn't consistent with TBN visualization where you might
actually want only the lines rendered and not the triangle.
6 years ago
Vladimír Vondruš
c01dc81d04
GCC 4.8, stay alive for a few more days please.
6 years ago
Vladimír Vondruš
ef7a970326
Shaders: update MeshVisualizer image to show TBN direction as well.
6 years ago