1
0
Fork 0
godot/platform/linuxbsd/wayland
Riteo e5ac45e822 Wayland: Unsuspend only for the same reason as suspension
Before, we would check both methods together, leading to loops.

Now we track the actual reason we suspended and only unsuspend when
that same reason triggers. For example, if we suspend because of the
suspended flag we'll unsuspend only because it got unset. Conversely, if
we suspend because of a timeout we'll unsuspend only if we get a new
frame event.

We do this because, while some compositors properly report a "suspended"
state (hinting us to stop repainting), most don't and we need a "safety
net" anyways as we do not want to constantly stay at 1fps (the max time
we'll wait before giving up) either.
2025-01-08 13:53:01 +01:00
..
dynwrappers
SCsub Wayland: Add support for xdg-foreign-unstable-v2 2024-12-10 01:29:46 +01:00
detect_prime_egl.cpp EGL: Use EGL_EXT_platform_base whenever possible 2024-06-04 08:43:34 +02:00
detect_prime_egl.h EGL: Use EGL_EXT_platform_base whenever possible 2024-06-04 08:43:34 +02:00
display_server_wayland.cpp Wayland: Unsuspend only for the same reason as suspension 2025-01-08 13:53:01 +01:00
display_server_wayland.h Wayland: Unsuspend only for the same reason as suspension 2025-01-08 13:53:01 +01:00
egl_manager_wayland.cpp
egl_manager_wayland.h
egl_manager_wayland_gles.cpp Wayland: Add support for OpenGL ES driver 2024-05-03 05:17:13 +02:00
egl_manager_wayland_gles.h Wayland: Add support for OpenGL ES driver 2024-05-03 05:17:13 +02:00
key_mapping_xkb.cpp
key_mapping_xkb.h Style: Apply new `clang-format` changes 2024-09-20 08:09:48 -05:00
rendering_context_driver_vulkan_wayland.cpp Move Vulkan includes to a central godot_vulkan.h header 2024-09-29 17:53:18 +02:00
rendering_context_driver_vulkan_wayland.h Finish splitting functionality of the Vulkan and D3D12 backends into RenderingDeviceDriver. 2024-02-12 10:02:18 -03:00
wayland_thread.cpp Implement `DisplayServer.window_start_resize`. 2025-01-07 07:58:02 +02:00
wayland_thread.h Implement `DisplayServer.window_start_resize`. 2025-01-07 07:58:02 +02:00