wlroots/render/vulkan
Kenny Levinsen 6ca84bf64d render/vulkan: Delay shm texture updates till render
In order to optimize rendering of shm-backed buffers, we copy the buffer
into a properly allocated texture. However, some clients might send
rapid updates for large surfaces, or may not even be visible, making the
copy wasteful.

Move the copy to the point where the texture is added to the render
pass, ensuring that we only perform the copy if texture is being used
and only once per render. This means that the shm optimization is
effectively disabled for clients that are not visible.
2024-07-04 11:24:45 +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: Delay shm texture updates till render 2024-07-04 11:24:45 +02:00
pixel_format.c render: unify getter for texture formats 2024-04-21 11:27:29 +00:00
renderer.c render/vulkan: vkMapMemory stage spans up front 2024-06-26 21:10:46 +00:00
texture.c render/vulkan: Delay shm texture updates till render 2024-07-04 11:24:45 +02:00
util.c render/vulkan: drop unused vulkan_has_extension() 2023-05-26 12:25:53 +00:00
vulkan.c render: unify getter for texture formats 2024-04-21 11:27:29 +00:00