Vladimír Vondruš
e03813643a
Platform: this documentation is wrong.
6 years ago
Vladimír Vondruš
fa733a55ca
doc: updated credits.
6 years ago
Pablo Escobar
c760acb548
EmscriptenApplication: get correct keyboardListeningElement CSS selector
6 years ago
Vladimír Vondruš
321c2d22b9
Platform: improve console output of EmscriptenApplicationTest.
6 years ago
Vladimír Vondruš
08ecbbc380
Platform: fix EmscriptenApplication key events.
...
Got broken in 0f026cd314 . Note to self:
don't delegate testing to third parties.
6 years ago
Vladimír Vondruš
0f026cd314
Platform: port EmscriptenApplication away from deprecated string APIs.
...
And avoid a needless std::string allocation as well, heh.
6 years ago
Vladimír Vondruš
19d1693323
Platform: suppress a warning specific to MinGW GCC 8+.
6 years ago
Vladimír Vondruš
08803885e7
Doc++, updated changelog.
6 years ago
Tracy Ma
6a345ea982
Fix: unable to create gl context on desktop with ANGLE + GLFW3
6 years ago
Vladimír Vondruš
18a05309e9
Platform: added view-taking Platform::GlfwApplication::setWindowIcon().
...
For some reason there's just an initializer-list overload, which is
rather useless.
6 years ago
Vladimír Vondruš
051b715c12
Platform: reference useful APIs and docs from setWindowIcon().
6 years ago
Vladimír Vondruš
8c5a2d6a88
Platform: Xlib strikes again, this time with #define Bool int.
...
THe new MaterialData APIs introduce MaterialAttributeType::Bool and
everything kinda explodes with that.
Seriously, what were the people in 1979 thinking.
6 years ago
Vladimír Vondruš
1f55a11f31
Platform: fix Clang compiler warning about signed/unsigned comparison.
6 years ago
Vladimír Vondruš
8ac9750a81
Platform: properly initialize EmscriptenApp GLConfiguration.
6 years ago
erikwijmans
68aec7b088
Platform: *really* destroy EGL context in WindowlessEglApp destructor.
6 years ago
Vladimír Vondruš
3ceedb3680
Doc++
6 years ago
Vladimír Vondruš
cd48c59cab
Remove remaining APIs deprecated in 2018.10.
6 years ago
Vladimír Vondruš
cb4f6183dc
Doc++, changelog, credits and version marker updates.
6 years ago
Vladimír Vondruš
5222cf3478
doc: change all "latest" additions/deprecations to 2020.06.
6 years ago
Vladimír Vondruš
7547cfd10a
Platform: CMAKE_TOOLCHAIN_FILE should be always absolute.
6 years ago
Vladimír Vondruš
5b7caaee84
CMake: create the output dir before copying a DLL.
...
Otherwise, in case of SDL and GLFW, where we don't really know the DLL
name, it would create a file named `bin` instead of copying into a newly
created bin/ directory if it doesn't exist yet. That happens in case of
a static build, where there are no DLLs and thus
CMAKE_RUNTIME_OUTPUT_DIRECTORY gets never created.
6 years ago
Vladimír Vondruš
23d2ab1d1b
gl-info: modernize output printing a bit, list remaining defines.
6 years ago
Vladimír Vondruš
ff22cb8758
Platform: print EGL device count before overwriting the count variable.
...
Otherwise it would report a wrong count.
6 years ago
Vladimír Vondruš
6ce74205ac
doc: updated credits and changelog.
6 years ago
Vladimír Vondruš
e352fa78ba
Platform: allocate only for how many EGL devices there is.
6 years ago
Vladimír Vondruš
2803ccb241
Platform: minor whitespace, doc and error handling cleanup.
...
In particular, the "likely a driver issue" messages don't apply here.
6 years ago
erikwijmans
7514716fe7
CUDA device selection support
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
d96442389a
Platform: remove copypasted comment.
6 years ago
Vladimír Vondruš
7100e3b6d8
Revert "Platform: choose a GLXFBConfig with a pbuffer."
...
Caused an error when creating a WindowlessGlxApplication on a Mesa with
just llvmpipe. Note to self: never again try to fix anything related to
Xlib that's not broken.
This reverts commit 511d0c1b27 .
6 years ago
Vladimír Vondruš
e64e40da11
Platform: avoid using 100% CPU in an idle GlfwApplication.
6 years ago
Vladimír Vondruš
e7838a8b9e
Platform: check before calling SDL_DestroyWindow().
...
Can cause a crash when exiting from constructor on Windows (but not on
Linux). To be safe do the same for all others.
6 years ago
Vladimír Vondruš
b5dead9223
Platform: add no-forward-compatible-core-context workaround for EGL too.
6 years ago
Vladimír Vondruš
b81f78f990
Platform: I messed up.
6 years ago
Vladimír Vondruš
68c7a06ad3
Platform: add a TODO for this weird EGL app implementation.
6 years ago
aspioupiou
64d0702277
Platform: only initialize/terminate EGLDisplay once in a shared set.
...
Co-authored-by: Vladimír Vondruš <mosra@centrum.cz>
6 years ago
Vladimír Vondruš
d366e0e7a0
GL: exposed clip / cull distance APIs.
6 years ago
Vladimír Vondruš
511d0c1b27
Platform: choose a GLXFBConfig with a pbuffer.
...
Looking at provided FBConfigs, first few of them are pbuffer-only so why
not just pick those already, we don't need to look for some config that
supports rendering to a window.
6 years ago
Vladimír Vondruš
68559411fc
Platform: drop the forward compatible flag for fallback GLX 2.1 context.
...
Same is already done in the GLFW and SDL2 app. Also updated the comments
to clarify why is it done (instead of an "I have no idea" TODO).
6 years ago
Vladimír Vondruš
7aaf646728
Platform: handle Xlib errors gracefully in WindowlessGlxApplication.
...
Another step on the path for supporting Mesa's Zink.
6 years ago
Vladimír Vondruš
acc3932e0c
Platform: added ScreenedApplication::globalBeforeDrawEvent().
6 years ago
Vladimír Vondruš
7a30390890
Platform: extend window flags in Sdl2 and GlfwApplication.
6 years ago
Vladimír Vondruš
65a2ced2a7
Make this compile and test cleanly with CORRADE_NO_ASSERT defined.
6 years ago
Vladimír Vondruš
d3f2235759
Adapted to Corrade changes.
6 years ago
Vladimír Vondruš
446b63f11c
doc: updated credits and changelog.
6 years ago
Squareys
d04a9c780c
Platform: Fix compilation of EmscriptenApplication on Emscripten 1.38.26+
...
Signed-off-by: Squareys <squareys@googlemail.com>
6 years ago
Vladimír Vondruš
e6dc5be1af
Platform: default to 32-bit RGBA framebuffer instead of 24-bit RGB.
...
macOS and Android is known to degrade 24-bit to 16-bit colors, this
prevents them from doing that.
6 years ago
Vladimír Vondruš
2149e78f82
Platform: make *Application::exit() exit right after constructor ends.
...
Instead of first entering the main loop, processing events etc. This
also makes it finally possible to exit the application cleanly, with all
non-global destructors executed as well.
6 years ago
Vladimír Vondruš
3de507594d
Platform: doc++
6 years ago
Vladimír Vondruš
492ba412f0
Platform: cleanup X11 stuff only if it's there.
...
Of course, widely expepted assumptions DO NOT work here. It doesn't
even report an error, it crashes straight away.
6 years ago