wlroots-hyprland/include
Simon Ser f1eae0eeeb render/vulkan: add a command buffer pool
Before re-using a VkCommandBuffer, we need to wait for its
operations to complete. Right now we unconditionally wait for
rendering to complete in vulkan_end(), however we have plans to
fix this [1]. To fully avoid blocking, we need to handle multiple
command buffers in flight at the same time (e.g. for multi-output,
or for rendering followed by texture uploads).

Implement a pool of command buffers. When we need to render, we
pick a command buffer from the pool which has completed its
operations. If we don't find one, try to allocate a new command
buffer. If we don't have slots in the pool anymore, block like we
did before.

[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3574
2022-11-11 19:18:04 +00:00
..
backend backend/drm: use pnp.ids to fetch EDID data 2022-11-09 00:25:18 +03:00
interfaces types/wlr_input_device: move init and finish function to private API 2022-03-07 16:37:41 +00:00
render render/vulkan: add a command buffer pool 2022-11-11 19:18:04 +00:00
types xdg-shell: use role object destroy handler 2022-11-06 17:00:00 +03:00
util util/set: overhaul 2022-08-29 13:48:42 +00:00
wlr output-damage: deprecate 2022-11-11 05:31:10 +00:00
xcursor xcursor: garbage collect XcursorLibraryLoadImages 2022-01-31 14:10:08 +00:00
xwayland xwayland: use dict to collect supported features 2022-05-23 09:49:58 +02:00
meson.build render/vulkan: add Vulkan renderer 2021-10-18 11:51:13 +02:00