wlroots/render/vulkan
Kenny Levinsen 9a457a3f1d render/vulkan: Use VK_EXT_host_image_copy for shm
When uploading shm buffers to our internal backing texture, we first
allocate suitable chunk from our staging buffer accessible from both CPU
and GPU, and then we queue a GPU-side copy from the staging buffer to
the texture. This is a lot of copying, especially on iGPUs where
everything is system memory anyway.

Instead, use VK_EXT_host_image_copy when available for formats that are
reported as having optimal device access. This allows us to copy
directly to the target texture from CPU, eliminating the queued GPU-side
copy. To keep things simple we keep this texture in GENERAL for the
entire duration for now.
2026-04-17 01:29:20 +02:00
..
shaders treewide: fix typos 2026-02-28 04:26:47 -03:00
meson.build render/vulkan: use renamed glslang binary by default 2023-07-27 16:06:49 +08:00
pass.c vulkan: Add support for render timer using timestamp queries 2026-04-09 15:13:49 +02:00
pixel_format.c render/vulkan: Use VK_EXT_host_image_copy for shm 2026-04-17 01:29:20 +02:00
renderer.c vulkan: Add support for render timer using timestamp queries 2026-04-09 15:13:49 +02:00
texture.c render/vulkan: Use VK_EXT_host_image_copy for shm 2026-04-17 01:29:20 +02:00
util.c render/vulkan: compile against vulkan 1.2 header 2026-03-24 12:33:12 -04:00
vulkan.c render/vulkan: Use VK_EXT_host_image_copy for shm 2026-04-17 01:29:20 +02:00