Vladimír Vondruš
86c7486402
Platform: fix non-deprecated build.
...
Breakage introduced by the recent window icon addition.
7 years ago
Konstantinos Chatzilygeroudis
5e5c5f7945
GlfwApplication: fix for empty env XDG_SESSION_TYPE
7 years ago
Vladimír Vondruš
a920722839
doc: label deprecated APIs and stuff new since 2019.10 with version info.
...
Should make new things more discoverable, avoid confusion when a
documented API isn't there and reduce the need for maintaining multiple
separate versions of the docs.
7 years ago
Vladimír Vondruš
090c6bb4a7
Platform: window icon management in Glfw and Sdl2Application.
7 years ago
Vladimír Vondruš
4f6f8ecdde
Platform: um... why isn't SDL_version.h pulled in implicitly?
...
I'd assume that if I include any SDL header, the version macros get
included too.
7 years ago
Vladimír Vondruš
51e65aaae0
Platform: respect DPI in setMin/MaxWindowSize().
...
I hope this doesn't break someone's use case.
7 years ago
Vladimír Vondruš
322a57e88c
Platform: properly fire Sdl2Application::viewportEvent() in all cases.
...
The event wasn't fired when the window size got changed through an API
call. Unfortunately after this change the event gets fired any time
I call setMaxWindowSize(), not just when the size changes.
7 years ago
Vladimír Vondruš
3e4646f4be
Platform: add tests for setMin/MaxWindowSize().
...
DPI scaling is not respected and viewport event is not fired on SDL.
Ugh.
7 years ago
Vladimír Vondruš
98e64b5dee
Platform: make the GlfwApplication test app resizable.
7 years ago
Konstantinos Chatzilygeroudis
c8d2c33ac6
Fix for Glfw and Wayland crashing when showing the window after being hidden
7 years ago
Vladimír Vondruš
1a4179be70
Platform: minor.
7 years ago
Vladimír Vondruš
39ba1583e1
Platform: ability to specify exit code in AbstractXApplication.
...
For consistency with all others.
7 years ago
Konstantinos Chatzilygeroudis
270b755517
AbstractXApplication: remove button defines that interere with GlfwApplication.
7 years ago
Konstantinos Chatzilygeroudis
411e349358
GlfwApplication: Workaround for DPI scaling when monitor size is equal to zero
7 years ago
Konstantinos Chatzilygeroudis
756c1242ad
GlfwApplication: add mainLoopIteration similar to Sdl2Application
7 years ago
Konstantinos Chatzilygeroudis
432aca900d
AbstractXApplication: add mainLoopIteration similar to Sdl2Application
7 years ago
Vladimír Vondruš
01e12ba495
Platform: test Sdl2App/GlfwApp mouse locking.
7 years ago
Vladimír Vondruš
c4e3e3c045
Platform: deprecate Sdl2Application::setMouseLocked().
...
Now also handled by the new setCursor() APIs.
7 years ago
Vladimír Vondruš
8d9d247573
Platform: deprecate badly designed & useless GlfwApp setCursorMode().
...
I'm not sure who thought making this settable only during app startup
(and never after) is a good idea. Let's use the new setCursor() APIs
instead.
7 years ago
Vladimír Vondruš
c091ed0e66
Platform: implement cursor management for EmscriptenApplication as well.
...
36 cursor types, wow. Now I envy web devs.
7 years ago
Vladimír Vondruš
a23423457e
Platform: update Emscripten boilerplate copy to new binary locations.
7 years ago
Vladimír Vondruš
1f65f0a823
Platform: minor cleanup.
7 years ago
Vladimír Vondruš
7cb49fbb36
Platform: simple test for Sdl2 and GlfwApplication cursors.
7 years ago
Vladimír Vondruš
04827d3743
Platform: Emscripten support for cursors in Sdl2Application.
7 years ago
Vladimír Vondruš
fdcfa419de
Platform: fix compilation on Emscripten.
7 years ago
Vladimír Vondruš
a1bca4d8f4
Platform: minor cleanup, doc++, make cursor LUTs file-local.
7 years ago
Marco Melorio
40bfa7ae91
Plaftorm: Add cursor management support
7 years ago
Vladimír Vondruš
aa722cd5bd
Platform: Xlib.h is a bad, bad thing.
7 years ago
Vladimír Vondruš
303468f299
Doc++
7 years ago
Vladimír Vondruš
507c5bf739
GL: remove the nv-egl-forward-compatible-context-unhappy workaround.
...
This was my bug, as requesting a forward-compatible context without
saying *what* version it should be forward compatible to makes no sense.
A followup to 73baab69ce .
7 years ago
Vladimír Vondruš
9fad16182e
Platform: implement AndroidApplication::MouseMoveEvent::relativePosition().
7 years ago
Vladimír Vondruš
35bf229ed5
Platform: add Sdl2Application::Configuration::WindowFlag::{OpenGL,Vulkan}.
7 years ago
Vladimír Vondruš
82f53862e1
Platform: Sdl2Application::mainLoopIteration() now returns a bool.
...
To indicate when the app desires to exit.
7 years ago
Vladimír Vondruš
0731546bc8
Copy HTML runners for magnum-gl-info and magnum-al-info into the build dir.
...
So I can run those directly from there, without installing stuff.
7 years ago
Vladimír Vondruš
ef1fbd8e4b
CMake: copy SDL / GLFW DLLs to CMAKE_RUNTIME_OUTPUT_DIRECTORY.
...
Shall make Windows users' life a bit less painful.
7 years ago
Vladimír Vondruš
6ba9bf529a
Platform: doc++
7 years ago
Vladimír Vondruš
f7d739058b
Platform: device selection in WindowlessEglApplication.
7 years ago
Vladimír Vondruš
3bfec34cec
Platform: EGL_EXT_anything isn't on WebGL anyway.
7 years ago
Vladimír Vondruš
73baab69ce
Platform: specify EGL context version for desktop as well.
...
This might be a fix for the nv-egl-forward-compatible-context-unhappy
workaround, actually.
7 years ago
Vladimír Vondruš
bc3451a593
Platform: how did Linus say it, fuck NVidia?
...
Thanks a lot, there goes my morning.
7 years ago
Vladimír Vondruš
7f4da303cb
Require at least CMake 3.4.
7 years ago
Vladimír Vondruš
8bac2a05a5
Platform: more compact list of GLSL versions in magnum-gl-info.
7 years ago
Vladimír Vondruš
64ad4a566a
Platform: fix Sdl2Application on Emscripten with TARGET_GL disabled.
...
An old TODO.
7 years ago
Vladimír Vondruš
76a73bb38d
Platform: properly link to GLX also if Sdl2/GlfwApplication is disabled.
7 years ago
Vladimír Vondruš
eb7684da7e
Platform: reuse the dynamically loaded opengl32.dll.
...
Instead of using wglGetProcAddress directly and thus forcing a link-time
dependency on that DLL (and because this is a static lib also forcing all
users to link to it).
7 years ago
Vladimír Vondruš
9638e77996
Platform: we don't need to include windows.h here.
...
Did the same thing a while ago in Corrade/PluginManager/AbstractManager.h
so reusing it here.
7 years ago
Vladimír Vondruš
6a905089b9
Platform: avoid needless string allocations in workaround detection.
7 years ago
Vladimír Vondruš
4e218d3f24
Platform: new nv-egl-forward-compatible-context-unhappy workaround.
...
SIGH. WHY CAN'T WE HAVE NICE THINGS.
7 years ago
Vladimír Vondruš
d1d8db1f54
Platform: test also for EGL_EXT_device_base.
7 years ago
Vladimír Vondruš
53e86dd041
Platform: prefer EGL_EXT_device_enumeration to find an EGL display.
...
Makes things work on Mesa 19.2 when DISPLAY is not defined. And opens the
possibilities for *sane* GPU selection. No more environment variables,
globally exported symbols or other BAD SHIT.
7 years ago