Vladimír Vondruš
2c4103d426
GL: properly execute the test on ES3 builds.
7 years ago
Vladimír Vondruš
db8c5fedaa
GL: clean up Framebuffer constructors.
...
The AbstractFramebuffer constructor is now constexpr, but that doesn't
mean we can have GL::defaultFramebuffer constexpr -- all member
functions are (by design) non-const and we also need to modify its
viewport value quite often. So this has to stay as-is.
7 years ago
Vladimír Vondruš
a36d8eb033
Remove use of std::reference_wrapper where possible.
...
What's left is *a lot* of places taking monstrous
std::vector<std::reference_wrapper> and that can't be changed to
std::vector<Containers::Reference> in a source-compatible way. Even that
would be only a temporary change, since the goal is to fully avoid
dependency on STL in those cases.
The final version of these APIs should take
Containers::ArrayView<Containers::Reference> and be implicitly
convertible froom e.g. std::vector<Containers::Reference>. That's
definitely possible, but not in time for 2019.01, so instead of forcing
users to temporary pass a `{vec.begin(), vec.size()}` everywhere instead
of just `vec`, I'm rather keeping these APIs intact.
7 years ago
Vladimír Vondruš
b6f9c25fa1
doc: updated changelog.
7 years ago
Vladimír Vondruš
3bb85ae1bb
Platform: don't use deprecated functionality.
7 years ago
Vladimír Vondruš
852aebe41b
Trade: this include is not needed either.
7 years ago
Vladimír Vondruš
697c17279c
Backwards compatibility for std::unique_ptr where needed.
7 years ago
Vladimír Vondruš
f9f3df69de
Get rid of std::unique_ptr.
7 years ago
Vladimír Vondruš
f7dcb62e93
MeshTools: return just a mesh from fullScreenTriangle().
...
Backwards-incompatible change, sorry.
7 years ago
Vladimír Vondruš
24b8ff086c
Removed std::optional backwards compatibility.
...
This was a dirty mess. Good riddance. Also removing the include from the
header now, as it has a forward declaration and thus is not needed.
7 years ago
Vladimír Vondruš
3bceb0b276
GL: clean up the includes.
...
No need to include all GL headers just for one thing.
7 years ago
Vladimír Vondruš
a18ec9b6d8
Doc++
7 years ago
Vladimír Vondruš
03de71a831
doc: updated changelog, building docs and credits.
7 years ago
Guillaume Jacquemin
107253f5fb
package/msys: Add PKGBUILDs.
...
Also add a .gitattributes file to force LF line endings.
7 years ago
erikwijmans
dd4bd88df2
Switch to using eglGetCurrentDisplay instead of querying for the defualt
7 years ago
Vladimír Vondruš
9c35b11521
Math: fix unused function warning on Emscripten.
7 years ago
Vladimír Vondruš
40cfe06044
Doc++, minor cleanup.
7 years ago
Vladimír Vondruš
20a55b16aa
Platform: implement Sdl2Application::anyEvent(), expose SDL_Event.
7 years ago
Vladimír Vondruš
d4c1785dc0
Platform: make ViewportEvent non-copyable, mark internals as const.
7 years ago
Vladimír Vondruš
b9342665b2
Platform: don't group special events together with screen events.
7 years ago
Vladimír Vondruš
f325507618
Drop more CMake pre-3.1 compatibility.
7 years ago
Vladimír Vondruš
f5465f6804
modules: updated FindCorrade.cmake.
7 years ago
Vladimír Vondruš
81354d0608
DebugTools: compile forgotten snippets.
...
Also split the file to stuff that requires TARGET_GL and stuff which
doesn't.
7 years ago
Vladimír Vondruš
e08b04c46b
GL: compile forgotten code snippets.
...
Also wrap long lines to avoid ugly scrollbars.
7 years ago
Vladimír Vondruš
5fc246b908
Math: compile forgotten code snippets.
7 years ago
Vladimír Vondruš
aeab74157f
doc: fix dependency order in the custom buildsystem docs.
7 years ago
Vladimír Vondruš
476dc5c3f5
Math: compile code snippets from Packing.h.
7 years ago
Vladimír Vondruš
87e842934b
GL: new nv-egl-incorrect-gl11-function-pointers workaround.
...
This one explicitly loads GL 1.0 and 1.0 function pointers on EGL
contexts on NVidia drivers (Linux headless boxes), because somehow the
usual statically linked functions don't behave correctly.
7 years ago
Vladimír Vondruš
5923efbdee
external: pass GL::Context to flextGLInit().
...
To make it possible to put driver-specific workaround there.
7 years ago
Vladimír Vondruš
d8624b5a42
CMake: enable WindowlessEglApplication for headless builds.
...
Otherwise the build of magnum-gl-info fails with a linker error.
7 years ago
Vladimír Vondruš
e7bce11192
CMake: put a dependent option *after* its dependencies.
...
Also remove a duplicated option. Ugh this is a mess.
7 years ago
Vladimír Vondruš
76fb88fa1a
external: update OpenGL headers.
...
Only a cleanup in the type definitions, which is actually nice. The
desktop GL version now requires the khrplatform.h header as well.
7 years ago
Vladimír Vondruš
2c473e14a8
external: properly update the iOS templates as well.
...
Forgotten in 26ae018d4f .
7 years ago
Vladimír Vondruš
59b3e9b4d2
doc: make the Credits page easier to search for.
7 years ago
Vladimír Vondruš
0479360072
Platform: deprecate typo'd key name in GlfwApplication.
...
Ugh.
7 years ago
Vladimír Vondruš
ea941c03a3
Trade: doc++
7 years ago
Vladimír Vondruš
a31ae86500
Of course there were tests that got never executed.
...
Yay!
7 years ago
Vladimír Vondruš
2149f7b869
Wrap all tests in unnamed namespaces.
...
This makes the compiler warn about test cases that aren't ever used,
which is a good thing.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
919c4ebd89
modules: find the GLFW config quietly.
...
Also remove the now-obsolete CMake < 3.0 handling.
7 years ago
Vladimír Vondruš
fc939242f8
doc: make the custom buildsystem docs easier to search for.
7 years ago
Vladimír Vondruš
4deb2a5fe7
MeshTools: inline functions should not be heavy.
...
Returning a vector is as heavy as you can imagine.
7 years ago
Vladimír Vondruš
e060622026
doc: UGH DOXYGEN what the *$&@, this is not an <ol>!!
7 years ago
Vladimír Vondruš
6bd44bffd6
DebugTools: fix a build system corner case.
7 years ago
Vladimír Vondruš
b44e6e7c05
Audio: doc++
7 years ago
Vladimír Vondruš
788e9d4b06
doc: get rid of annoying Doxygen warning.
7 years ago
Vladimír Vondruš
9e188e83b1
Doxygen: set up OpenSearch integration.
7 years ago
Vladimír Vondruš
c74bd5e847
Doxygen: update search help.
7 years ago
Vladimír Vondruš
6cc7d2e3a5
Doxygen: extract private virtuals.
7 years ago
Vladimír Vondruš
2b5121da71
Doxygen: disable more useless cruft.
7 years ago