wlroots-hyprland/backend
Simon Ser e804de923d backend/drm: clarify error message on drmModeAddFB fallback
The previous code would always print "falling back to legacy method",
even if the format wasn't ARGB8888.

Drop get_fb_for_bo_legacy, since the code can just be inlined without
hurting readability.

Ideally we should only fallback to drmModeAddFB if the error code
indicates the BE failure, but the original PR [1] doesn't say what
error code is returned by the kernel.

[1]: https://github.com/swaywm/wlroots/pull/2569
2021-04-26 23:12:53 +02:00
..
drm backend/drm: clarify error message on drmModeAddFB fallback 2021-04-26 23:12:53 +02:00
headless Log drmGetDevices2 error code 2021-04-26 16:27:24 +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: Close remaining devices on destroy 2021-04-18 18:32:24 +02:00
wayland Log drmGetDevices2 error code 2021-04-26 16:27:24 +02:00
x11 backend/x11: add support for shm buffers 2021-04-20 20:27:25 +02:00
backend.c backend: move get_drm_fd to public interface 2021-04-12 11:43:56 +02:00
meson.build Drop RDP backend 2020-01-10 19:38:39 +01:00