wlroots/render
Simon Ser 60885c639b render/vulkan: don't use UNDEFINED layout for imported DMA-BUFs
UNDEFINED when used as source layout means that the contents of
the underlying memory becomes undefined. This isn't what we want
here: we don't want to mutate the imported pixel data.

The Vulkan spec isn't really clear what the proper value should be
here, but after discussing with driver developers [1] it seems like
UNDEFINED isn't the right one. The recommendation is to use GENERAL
instead.

[1]: https://github.com/ValveSoftware/gamescope/issues/356

(cherry picked from commit 2c4d3ad12d)
2024-06-11 13:21:05 +00:00
..
allocator render/allocator: log message when GBM is disabled 2023-10-06 09:10:31 +00:00
gles2 gles2: Avoid crash when glGetInteger64vEXT is missing 2024-04-12 09:34:55 -04:00
pixman render/pixman: Fix non-uniform scale with rotation 2024-06-11 13:13:09 +00:00
vulkan render/vulkan: don't use UNDEFINED layout for imported DMA-BUFs 2024-06-11 13:21:05 +00:00
dmabuf.c Avoid using memcpy() to copy structs 2023-08-03 14:40:28 +00:00
dmabuf_fallback.c render/dmabuf: add dmabuf_export_sync_file() 2022-12-06 14:54:09 +00:00
dmabuf_linux.c render/dmabuf: add dmabuf_export_sync_file() 2022-12-06 14:54:09 +00:00
drm_format_set.c Use struct initializers instead of memset() 2023-07-07 17:31:11 +02:00
egl.c render/egl: fallback to GBM FD if EGLDevice is not available 2023-12-01 09:55:55 -05:00
meson.build Add a new renderer API 2023-04-25 17:25:10 +02:00
pass.c render/pass: Remove empty box early return 2023-09-21 02:25:34 -04:00
pixel_format.c render/pixel-format: add YVYU and VYUY 2023-05-21 20:28:45 +00:00
swapchain.c Use struct initializers instead of memset() 2023-07-07 17:31:11 +02:00
wlr_renderer.c render: disable linux-dmabuf without DRM FD 2023-12-04 10:53:32 -05:00
wlr_texture.c Use struct initializers instead of memset() 2023-07-07 17:31:11 +02:00