wlroots/backend/wayland
Kenny Levinsen a21c618cd3 backend/wayland: Account for shm buffer offset
If we are trying directly scan-out a shm buffer, we create a temporary
buffer pool to instantiate a wl_buffer from, created in accordance to
our buffers size. If the buffer has an offset, it will end up out of
bounds of the created pool.

Extend the temporary pool by the buffer offset to compensate. Matching
the original pool size does matter unless we want to optimize away the
temporary pool to reduce mappings in the parent compositor.

(cherry picked from commit 63fabecee2)
2024-11-11 14:09:50 -05:00
..
backend.c backend/wayland: process initial events from globals correctly 2024-08-15 11:06:50 -04:00
meson.build Switch to stable tablet-v2 protocol 2024-06-27 18:04:00 +00:00
output.c backend/wayland: Account for shm buffer offset 2024-11-11 14:09:50 -05:00
pointer.c Avoid using wayland-{client,server}.h 2024-04-17 13:37:12 +00:00
seat.c Avoid using wayland-{client,server}.h 2024-04-17 13:37:12 +00:00
tablet_v2.c Switch to stable tablet-v2 protocol 2024-06-27 18:04:00 +00:00