Vladimír Vondruš
12c2cb640e
Vk: no, this is not GL!
7 years ago
Vladimír Vondruš
75b60b6287
external: updated Vulkan header.
7 years ago
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š
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
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š
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š
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š
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š
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š
4deb2a5fe7
MeshTools: inline functions should not be heavy.
...
Returning a vector is as heavy as you can imagine.
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š
6cc7d2e3a5
Doxygen: extract private virtuals.
7 years ago
Vladimír Vondruš
c231b8c84c
Doc++
7 years ago
Vladimír Vondruš
3ca13dbc1b
Platform: implement {Glfw,Sdl2}Application::exitEvent().
...
SDL has to be special and behave weirdly, of course, as always.
7 years ago
Vladimír Vondruš
40c0576918
Platform: set SDL hints before SDL_Init().
...
Some of them need that.
7 years ago
Vladimír Vondruš
877557fff0
Platform: minor event cleanup in GlfwApplication.
7 years ago
Vladimír Vondruš
1e0d3d3727
Platform: proper feature parity for GlfwApplication::ViewportEvent.
...
Not sure why I omitted this in dba35bac7a .
7 years ago
Vladimír Vondruš
ea7e8c9aaf
Math: proper forward declaration for Constants.
...
Messed that up in c5d31d74e3 , causing lots
of Clang warnings. Sorry 'bout that.
7 years ago
Vladimír Vondruš
7f23740e82
Ugh, GL leftovers.
8 years ago
Vladimír Vondruš
c5d31d74e3
Math: provide forward declaration for Constants.
...
No point in having it repeated in Magnum.h, since we include Math/Math.h
anyway.
8 years ago
Vladimír Vondruš
86d0d37c30
Platform: remove deprecated GlfwApplication WindowFlag::Resizeable.
...
Deprecated in a7c7323673 (February 2017).
Use Resizable instead.
8 years ago
Vladimír Vondruš
8f55880b6b
Platform: remove deprecated wheel-reported-as-button events.
...
Deprecated in 2a77856df2 (June 2016). Use
the dedicated mouseScrollEvent() API instead.
8 years ago
Vladimír Vondruš
7b1aa6f497
Math: removed deprecated uppercase *HSV APIs from Color.
...
Deprecated since c27a12bb30 (December
2016). Use the CamelCased *Hsv APIs instead.
8 years ago
Vladimír Vondruš
5c5ecb5ff8
Math: removed deprecated (and confusing) normalize() / denormalize().
...
Deprecated since dd2058cee3 (December
2016), use more clearly named Math::pack() and unpack() instead.
8 years ago
Vladimír Vondruš
0a91c4c064
Removed deprecated color literals in the root namespace.
...
Deprecated in 52f2d297ca (April 2016), but
never actually causing any warning, so very annoying to deal with.
Explicitly call `using namespace Math::Literals;` instead.
8 years ago