wlroots-hyprland/backend
Simon Ser e7f68ba081 backend/drm: fix allocator DRM FD on multi-GPU setups
On multi-GPU setups, there is a primary DRM backend and secondary
DRM backends. wlr_backend_get_drm_fd will always return the parent
DRM FD even on secondary backends, so that users always use the
primary device for rendering.

However, for our internal rendering we want to use the secondary
device. Use allocator_autocreate_with_drm_fd to make sure the
allocator will create buffers on the secondary device.

We do something similar to ensure our internal rendering will
happen on the secondary device with renderer_autocreate_with_drm_fd.

Fixes: cc1b66364c ("backend: use wlr_allocator_autocreate")
2021-04-29 15:58:56 +02:00
..
drm backend/drm: fix allocator DRM FD on multi-GPU setups 2021-04-29 15:58:56 +02:00
headless backend: use wlr_allocator_autocreate 2021-04-28 20:55:57 +02:00
libinput backend/libinput: terminate display on error 2021-04-14 23:56:56 +02:00
multi backend: move get_drm_fd to public interface 2021-04-12 11:43:56 +02:00
noop noop: listen to display destroy and destroy the backend 2020-12-31 20:34:36 +01:00
session backend/session: add wlr_device.events.remove 2021-04-27 09:11:44 +02:00
wayland backend: use wlr_allocator_autocreate 2021-04-28 20:55:57 +02:00
x11 backend: use wlr_allocator_autocreate 2021-04-28 20:55:57 +02:00
backend.c Log when WLR_BACKENDS/WLR_RENDERER is set 2021-04-28 21:06:41 +02:00
meson.build Drop RDP backend 2020-01-10 19:38:39 +01:00