wlroots/backend
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
..
drm backend/drm: use CRTCs in-order 2024-08-23 09:30:33 -04:00
headless backend/headless: take wl_event_loop instead of wl_display 2024-01-25 15:05:36 +00:00
libinput build: require libinput v1.19 2024-07-04 22:51:07 +02:00
multi backend/multi: implement wlr_backend_impl.{test,commit} 2024-03-14 22:03:10 +00:00
session backend/session: use "KMS" instead of "DRM" in log messages 2024-06-17 09:43:38 +02:00
wayland backend/wayland: Account for shm buffer offset 2024-11-11 14:09:50 -05:00
x11 backend/x11: send correct keyboard layout 2024-05-26 12:52:42 +00:00
backend.c backend: add wlr_backend_{test,commit}() 2024-03-14 22:03:10 +00:00
meson.build backend/session: make optional 2022-11-25 16:15:29 +00:00