Vladimír Vondruš
428773fdcb
GL: minor cleanup in the tests.
7 years ago
Vladimír Vondruš
6ee6898c31
GL: properly execute these tests on WebGL 1 as well.
7 years ago
Vladimír Vondruš
2d5e2fda41
SceneGraph: properly prefix the assertion message.
7 years ago
Vladimír Vondruš
1bd3d270d8
Compile ResourceManager documentation snippets.
7 years ago
Vladimír Vondruš
2d04b22aba
Make it possible to pass Containers::Pointer to ResourceManager APIs.
...
Also cleaned up the test from naked new. This still needs to be reworked
to not do manual memory management inside (and then deprecate the raw
pointer versions), but for now this has to suffice.
7 years ago
Vladimír Vondruš
304cd6f036
DebugTools: greatly simplified ForceRenderer and ObjectRenderer impls.
...
This code was neglected for a while. No need to have naked new or
explicit handling of vertex/index buffers anymore.
7 years ago
Vladimír Vondruš
5cf147ec21
DebugTools: fix an assertion in ForceRenderer.
7 years ago
Vladimír Vondruš
44997465a7
DebugTools: test ForceRenderer and ObjectRenderer.
...
I spent some time trying ForceRenderer3D to produce the same image as
ForceRenderer2D but it *does not want* to show the arrowhead to me, so I
gave up.
7 years ago
Vladimír Vondruš
537177ca26
DebugTools: added screenshot().
7 years ago
Vladimír Vondruš
d4b3e950d3
DebugTools: minor cleanup.
7 years ago
Vladimír Vondruš
db44b570f7
DebugTools: make CommpareImage usable with CORRADE_COMPARE_AS().
7 years ago
Vladimír Vondruš
49d70377af
Test: fixed various unused function warnings.
7 years ago
Vladimír Vondruš
d9e7b3c384
GL: added *Framebuffer::implementationColorRead{Format,Type}().
...
Long overdue. Also wow, the drivers ARE SHIT.
7 years ago
Vladimír Vondruš
2b08995c24
Math: after the pack() fix, some Android issues are no more. Yay!
7 years ago
Vladimír Vondruš
38573c7a82
Math: we're not signing here, no.
7 years ago
Vladimír Vondruš
e62ce4faa6
Math: fix pack() to correctly select the nearest integral value.
...
Together with an assorted set of off-by-one changes to tests involving
packing, in addition to the changes done in the previous test cleanup
commit. Now Color3 sRGB conversion rountrips correctly.
7 years ago
Vladimír Vondruš
a87c7805f4
Math: rework sRGB, XYZ and packing tests with emphasis on rountripping.
...
Makes them quite simpler. Doesn't pass for the sRGB roundtrip. Who would
have thought.
7 years ago
Vladimír Vondruš
d7d65db884
Platform: hint SDL what GLES library we want to use.
7 years ago
Vladimír Vondruš
fadd4621d6
external: fix compilation of Vulkan headers on 32-bit Windows.
7 years ago
Vladimír Vondruš
e6db895452
Adapted to Corrade changes.
7 years ago
Vladimír Vondruš
8327600361
Any{Audio,Scene}Importer: coverage++
7 years ago
Vladimír Vondruš
f178d0d441
Doc++, updated credits and changelog.
7 years ago
Max Schwarz
a480c70f06
Any*{Importer,Converter}: lowercase() filename before recognizing suffix
7 years ago
Vladimír Vondruš
75b1ced583
Any*{Importer,Converter}: unify the testing.
...
Make it possible to easier test by-contents detection later and test
more than just one extension.
7 years ago
Vladimír Vondruš
3281a277cc
Vk: provide conversion of basic math-related types.
7 years ago
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