mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-27 20:09:49 +01:00
a8a194d695
Up until now we were using a VkFence for GPU-to-CPU synchronization. This has some limitations that become a blocker when trying to have multiple command buffers in flight at once (e.g. for multi-output). It's desirable to implement a command buffer pool [1], but VkFence cannot be used to track command buffer completion for individual subpasses. Let's just switch to timeline semaphores [2], which fix this issue, make synchronization a lot more ergonomic and are a core Vulkan 1.2 feature. [1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3802 [2]: https://www.khronos.org/blog/vulkan-timeline-semaphores |
||
---|---|---|
.. | ||
allocator | ||
drm_format_set.h | ||
egl.h | ||
gles2.h | ||
pixel_format.h | ||
pixman.h | ||
swapchain.h | ||
vulkan.h | ||
wlr_renderer.h |