wlroots/backend
Simon Ser 04d89a8bc5
backend/drm: fix modifiers for cursor plane buffers
In 93cd3a79b2 ("backend/drm: stop using GBM flags"), we stopped
using the GBM_BO_USE_LINEAR flag in favor of a modifier list set
to { DRM_FORMAT_MOD_LINEAR }. However, the last argument of
drm_plane_init_surface disables modifiers -- so the buffer will just
get allocated with an implicit modifier, without necessarily being
LINEAR.

To fix this, allow modifiers when allocating the cursor buffers.
wlr_drm_plane.formats should already have the necessary LINEAR
restrictions.

Fixes: 93cd3a79b2 ("backend/drm: stop using GBM flags")
2021-01-17 22:25:18 +01:00
..
drm backend/drm: fix modifiers for cursor plane buffers 2021-01-17 22:25:18 +01:00
headless backend/headless: create renderer after wlr_backend_init 2021-01-17 01:08:40 +01:00
libinput backend/session: replace session_signal with events.active 2020-11-19 22:47:49 +01:00
multi backend/multi: implement get_drm_fd 2021-01-16 08:57:42 +01:00
noop noop: listen to display destroy and destroy the backend 2020-12-31 20:34:36 +01:00
session backend/session: allow wlr_session_find_gpus to return an error 2021-01-04 19:46:44 +01:00
wayland render/gles2: make EGL context current in bind_buffer 2021-01-16 09:06:17 +01:00
x11 backend/x11: add xcb_dri3_pixmap_from_buffers check for n_planes 2021-01-17 12:08:40 +01:00
backend.c backend: add get_drm_fd to interface 2021-01-16 08:57:42 +01:00
meson.build Drop RDP backend 2020-01-10 19:38:39 +01:00