Vladimír Vondruš
8f27da9dfd
Set library soversion to 1.0, version to 0.
8 years ago
Vladimír Vondruš
14a213f6eb
Improve state tracker resetting functionality.
8 years ago
Vladimír Vondruš
59b88e5aef
Make VAO binding into a dedicated function.
...
It's used from more than one place.
8 years ago
Vladimír Vondruš
76754c0400
Don't use angle brackets for internal includes.
8 years ago
Vladimír Vondruš
28475e1bd8
Doc++
8 years ago
Vladimír Vondruš
d0d93d386f
Text: adapted to the new documentation theme.
8 years ago
Vladimír Vondruš
4186f05f70
TextureTools: adapted to the new documentation theme.
8 years ago
Vladimír Vondruš
8739218cda
Shapes: adapted to the new documentation theme.
...
Ugh I should throw this all away.
8 years ago
Vladimír Vondruš
6dffc0a91e
Shaders: documentation update for the new theme.
...
Also made the shader image background transparent to better fit in the
docs and updated the images to match site colors.
8 years ago
Vladimír Vondruš
055858d357
DebugTools: documentation updates for the new theme.
8 years ago
Vladimír Vondruš
2136466f0f
Math: doc++, add search aliases for GLSL functions.
8 years ago
Vladimír Vondruš
e7d49be6f3
Audio: add search keywords for OpenAL functions.
8 years ago
Vladimír Vondruš
8181158697
Documentation updates for the new theme in the root namespace.
...
Also adding search keywords for hopefully all OpenGL APIs.
8 years ago
Vladimír Vondruš
3c4ff61e3a
external: preserve OpenGL/OpenAL macros in the docs.
...
Or hide them from Doxygen so it doesn't expand them to the numeric
values.
8 years ago
Vladimír Vondruš
09558e261a
Audio: deprecate Context::hrtfSpecifier() in favor of hrtfSpecifierString().
8 years ago
Vladimír Vondruš
afe4f4dd28
Audio: don't crash when asking for HRTF specifier string.
...
The ALC_SOFTX_HRTF extension apparently doesn't have this query yet so
it returns nullptr.
8 years ago
Vladimír Vondruš
47f472365b
Audio: deinline potentially heavy functions.
...
Functions returning strings are awfully heavy :/
8 years ago
Vladimír Vondruš
45fe611b4c
TgaImporter: don't install TgaHeader.h publicly.
...
Nobody needs that.
8 years ago
Vladimír Vondruš
13f71caa54
Math: doc++
8 years ago
Vladimír Vondruš
c804021013
Primitives: doc++
8 years ago
Vladimír Vondruš
341a70a7f4
Primitives: document how to scale capsule / cylinder to preserve normals.
8 years ago
Vladimír Vondruš
f7a0c2b78c
SceneGraph: behave properly when deleting a running animable.
...
The test now passes again.
8 years ago
Vladimír Vondruš
dee10204f9
SceneGraph: test crash and burn when deleting a running animable.
...
Yes. It does.
8 years ago
Vladimír Vondruš
72a3d67902
SceneGraph: prefix private Animable members with an underscore.
...
And minor other coding style updates. This code is old, wow!
8 years ago
Vladimír Vondruš
0b491309fb
SceneGraph: updates for the new documentation theme.
...
No proofreading.
8 years ago
Vladimír Vondruš
8f87ca9233
SceneGraph: copypaste error in the docs.
8 years ago
Vladimír Vondruš
56a81357c6
Trade: doc++
8 years ago
Vladimír Vondruš
d0d71d1c4e
Trade: no default argument for internal function.
...
It's never called from outside, so no need for convenience features.
Also prevents accidents like forgetting to pass the filePath to it.
8 years ago
Konstantinos Chatzilygeroudis
4d7f955d55
add openState to AbstractImporter to allow setting directly the state
8 years ago
Vladimír Vondruš
9b8aac3a94
Doc++
8 years ago
Vladimír Vondruš
6a03440f21
WavAudioImporter: no need to expose the private stuff in public docs.
8 years ago
Vladimír Vondruš
8e49ba20ec
doc: building docs updates.
...
Proofread everything, make the packages the first choice (and manual
build only as a backup catch-all solution), don't force the users to
CMake but provide useful snippets to show how to use the libs from
CMake.
8 years ago
Vladimír Vondruš
6d509b7a1b
Random updates for the new documentation theme in the root namespace.
8 years ago
Vladimír Vondruš
4c44c3ecf8
external: fix build of a test on WinRT with MSVC 2017.
...
It enables deprecation-warning-is-error by default and the deprecation
warnings in the std::optional compatibility test were not properly
ignored.
8 years ago
Vladimír Vondruš
1f2849d934
Test: expect test failure with XFB and EXT_debug_label.
...
The extension spec says it should be allowed, but NV thinks otherwise.
8 years ago
Vladimír Vondruš
2912a62f3c
Test: what am I doing here?!
...
Fixes test failure on ES3.
8 years ago
Vladimír Vondruš
68953f8c87
external: adapt tests to Corrade changes.
...
Now C++17 is properly selected on MSVC, but the __cplusplus macro isn't
doing the right thing there. Use CORRADE_CXX_STANDARD instead.
8 years ago
Vladimír Vondruš
d00e7c0a04
Provide backwards-compatibility alias for std::make_optional().
...
Marked as deprecated, of course.
8 years ago
Vladimír Vondruš
799870021e
Converting APIs returning std::optional to Containers::Optional.
...
And removing the bundled std::optional implementation. This finally
makes this library compatible with C++17. Since this would be a huge
backwards-incompatible change that would make everyone angry, the
following had to be done in case both CORRADE_BUILD_DEPRECATED and
MAGNUM_BUILD_DEPRECATED is defined:
* Under C++11 and C++14, Containers::Optional / Containers::NullOpt is
aliased to std::optional / std::nullopt. This is no worse than the
state before, when we also provided these symbols.
* Under C++17, where standard <optional> header is available,
Containers::Optional provides implicit conversion to it. Only one-way
conversion is supported, as there was fortunately no Magnum API that
took std::optional via parameter, and there might be some corner
cases that this doesn't cover. The goal is to have all examples
compiling with the old API, at least.
* There's a new test especially for this, which checks that both the
C++11 and C++17 ways of doing things work as they should.
The typedef and conversion is marked as deprecated, so it will spit out
many warnings to push users to upgrade. I hope I can completely remove
this mess soon :/
8 years ago
Vladimír Vondruš
0043169f0f
modules: FindGLFW.cmake should prefer absolute includes.
...
It's not like with SDL where we can't use <SDL2/SDL.h> due to macOS
packaged shipped without the SDL2 include directory.
This was just a bad copypaste from the FindSDL2.cmake module, probably.
8 years ago
Vladimír Vondruš
ec20dea1e2
Platform: un-deprecate creation of Platform::Context without passing args.
...
I deprecated that because I wanted to be sure that I properly update all
my code to actually propagate the options. But now I see that this is
actually a valid case -- the engine being in a thread or in some other
way hidden from the outside *shouldn't* need access to argc/argv.
Also updated the docs to say it's completely harmless to propagate the
args.
8 years ago
Vladimír Vondruš
7dbe6a5163
Link to live version of magnum-{al-,}info utilities from the docs.
8 years ago
Vladimír Vondruš
a97384839b
Use privately Corrade Optional instead of the problematic std::optional.
...
Not in the public APIs yet (Trade etc.), as I need to solve backwards
compatibility first.
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
a4d32e650a
Move friend declarations into private class sections.
...
And hide them from Doxygen so it's not complaining. Related bug:
https://bugzilla.gnome.org/show_bug.cgi?id=776986
8 years ago
Vladimír Vondruš
6cc8362eeb
Doc++
8 years ago
Vladimír Vondruš
ac3bdeea06
doc: fix GL extension link.
8 years ago
Vladimír Vondruš
fb258164ae
Fix Doxygen warnings in latest version.
...
Actually, now it is finally able to link to variadic funcs.
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š
eee9cbb353
MeshTools: updates for the new documentation theme.
8 years ago