wlroots/render/vulkan
Kenny Levinsen b385af41dc render/vulkan: Use host memory backed VkImages
If VK_EXT_external_memory_host is supported and the incoming buffer
matches the alignment requirements of the device, try to create a
VkImage bound directly to the host memory. Otherwise, fall back to
maintaining a copy in device memory.

When host memory backed images are in use, we need to skip the shm
immediate release optimization. Despite the client needing to maintain
double buffers, the number of copies is still reduced as the data no
longer goes through intermediate staging buffers.

The efficiency in using host memory like this might depend on
architecture. Integrated GPUs already use the host memory as "device"
memory, with the main issue being that the memory is linear.
2024-06-26 12:44:03 +02:00
..
shaders render/vulkan: add lut3d output shader option 2024-04-26 17:17:36 +00:00
meson.build render/vulkan: use renamed glslang binary by default 2023-07-27 16:06:49 +08:00
pass.c render/vulkan: don't use UNDEFINED layout for imported DMA-BUFs 2024-05-14 13:14:28 +02:00
pixel_format.c render: unify getter for texture formats 2024-04-21 11:27:29 +00:00
renderer.c render/vulkan: Recycle memory maps for stage spans 2024-06-24 15:55:10 +00:00
texture.c render/vulkan: Use host memory backed VkImages 2024-06-26 12:44:03 +02:00
util.c render/vulkan: drop unused vulkan_has_extension() 2023-05-26 12:25:53 +00:00
vulkan.c render/vulkan: Prepare VK_EXT_external_memory_host 2024-06-26 12:44:03 +02:00