10 Commits

Author SHA1 Message Date
twinaphex
97ad8cbfd2 Remove this code for Vulkan over X too 2021-06-22 18:26:32 +02:00
CTCaer
a8028d5e8e X11: fix fullscreen when swapping monitors/resolution
Most DEs have the tendency to lose focus when monitor is getting swapped or the resolution changes.
That causes X11 exiting fullscreen and setting a lower resolution to fit desktop.
Pushing the window back to top, automatically fixes that and X11 enforces fullscreen again and new max resolution.

Additionally, XConfigure events are now checked and preferred over XGetWindowAttributes.
That saves several to hundreds μs per frame.
2021-05-29 22:19:19 +03:00
twinaphex
627b668da8 Another buildfix for retro_sleep 2020-12-21 21:06:54 +01:00
Autechre
094ae69b09
Update x_vk_ctx.c 2020-08-31 14:17:36 +02:00
twinaphex
5f08605680 Refactor joypad drivers 2020-08-30 05:29:32 +02:00
twinaphex
9ac9309991 Optimize call to vulkan_present 2020-07-20 04:45:12 +02:00
twinaphex
8cfbe3b8d4 Cleanups 2020-07-17 20:35:11 +02:00
twinaphex
9f9d59f2be Cleanups 2020-07-17 16:46:00 +02:00
twinaphex
d2b749e0e6 Unnecessary 2020-07-17 14:19:17 +02:00
twinaphex
1fb77c43a3 (X11) Split up X11 context into two - GL and Vulkan 2020-07-17 14:15:30 +02:00