wlroots-hyprland/include/render
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
..
allocator render/allocator: make wlr_allocator part of the public API 2021-11-09 15:26:36 +00:00
drm_format_set.h render/drm_format_set: add wlr_drm_format_has 2021-11-26 16:40:53 +00:00
egl.h render/egl: add support for EGL_KHR_display_reference 2022-09-19 10:04:47 +00:00
gles2.h render/gles2: remove stale gles2_texture_from_wl_drm() prototype 2022-10-25 10:19:15 +02:00
pixel_format.h Move render/shm_format functions to render/pixel_format 2021-03-25 10:55:54 +01:00
pixman.h render/pixman: implement texture_from_buffer 2021-06-07 09:22:56 -04:00
swapchain.h render/swapchain: add support for buffer age 2020-11-15 22:48:42 +01:00
vulkan.h render/vulkan: add a command buffer pool 2022-11-11 19:18:04 +00:00
wlr_renderer.h render: drop wlr_ prefix from wlr_renderer_bind_buffer 2021-06-09 10:26:09 +02:00