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š
be8f19cc66
Adapted to Magnum changes regarding Containers::Optional.
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š
8133ef31b0
Updated copyright year.
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š
c1dc6b98ae
AnySceneImporter: doc++
8 years ago
Vladimír Vondruš
e524912f92
Properly ignore symbol export macros for Doxygen.
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
Vladimír Vondruš
c54739d6c9
Audio: updates for the new documentation theme.
8 years ago
Vladimír Vondruš
d49b8efe9e
Platform: updates for the new documentation theme.
8 years ago
Vladimír Vondruš
23cf84cdae
Math: what? there's no such thing.
8 years ago
Vladimír Vondruš
05bb8b419a
Math: updates for the new documentation theme.
8 years ago
Vladimír Vondruš
6029cfae62
Update documentation of utilities for the new theme.
9 years ago
Vladimír Vondruš
36f5030ffd
DebugTools: use ANSI text file instead of a terminal screenshot.
9 years ago
Vladimír Vondruš
eec6cad9e8
Platform: remove unneeded cruft from docs.
9 years ago
Vladimír Vondruš
017c0ad94f
Primitives: test for circle mesh primitive as well.
...
So I see what's looping and what not.
9 years ago
guillaume.giraud@gmail.com
059f1396b0
Primitives: adding one extra vertex in solid circle primitive.
9 years ago
Vladimír Vondruš
6ae21f23b5
Revert "Platform: Move emscripten port of Sdl2Application to SDL2"
...
Size of all executables got inflated by *half a megabyte* because of
this. I'm not sure if the change is worth it, so reverting for now.
This reverts commits
c01961ba6b
5fb3f435dd
fada6fba05
9 years ago
Vladimír Vondruš
fada6fba05
Platform: doc++
9 years ago
Squareys
5fb3f435dd
Platform: Move emscripten port of Sdl2Application to SDL2
...
Signed-off-by: Squareys <squareys@googlemail.com>
9 years ago
Vladimír Vondruš
f7c6a4d066
CMake: don't trust the MSVC variable.
9 years ago
Squareys
db56be54a0
Shaders: @mosra is evil.
9 years ago
Vladimír Vondruš
32613a592a
Implemented glClearBuffer() APIs from GL 3.0 / GLES 3.0.
...
According to my browser, glClear() can't be used to clear integer
framebuffers, so this APIs are needed.
9 years ago
Vladimír Vondruš
5f3ff712bc
Platform: show Emscripten windowless app log only after it loads.
...
Otherwise it obscures the information about downloading.
9 years ago
Vladimír Vondruš
94dc9b1149
Platform: fix deprecation warning.
9 years ago
Vladimír Vondruš
48990755ab
Platform: fix dependencies of ScreenedApplication header.
9 years ago
Criss
98f920527e
Math: get rid of needless GenerateReverseSequence utility.
9 years ago
Vladimír Vondruš
40b06e08cf
Revert "Platform: use saner APIs."
...
Didn't realize that this would put two newlines there, instead of just
one. So it's not a saner API.
This reverts commit 8e2ecc922b .
9 years ago
Vladimír Vondruš
9733988686
Platform: fix severe aliasing artifacts with defaults on Emscripten.
...
The default for Sdl2Application canvas size was 800x600, but the canvas
was sized to 640x480 by the default CSS style. Sorry about this.
9 years ago
Vladimír Vondruš
8e2ecc922b
Platform: use saner APIs.
9 years ago
Vladimír Vondruš
c77782c3f4
Audio: ported magnum-al-info to Emscripten.
9 years ago
Vladimír Vondruš
404c23e63d
Platform: ported magnum-info to Emscripten.
9 years ago
Vladimír Vondruš
3cae6a4a86
Platform: don't assume canvas is in all windowless Emscripten apps.
...
Some apps might not use GL context at all.
9 years ago
Vladimír Vondruš
215beaa3be
Platform: ability to pass command-line args to Emscripten browser apps.
9 years ago
Vladimír Vondruš
76d6e1c120
Fix the mess with WebGL 2 extensions.
...
EXT_sRGB is core in WebGL 2 and so it's not available as an extension,
while WEBGL_texture_compression_s3tc was accidentally left out for WebGL
2.
9 years ago
Vladimír Vondruš
fda77b8965
Platform: port WindowlessEglApplication to Emscripten.
...
Makes it finally possible to have magnum-info and GL tests.
9 years ago
Vladimír Vondruš
99483385e6
Don't forward-declare things for platforms where they aren't.
9 years ago
Vladimír Vondruš
16d5cbea14
Don't expose compute shader limit APIs on WebGL.
...
No such thing.
9 years ago