weston/libweston/backend-drm
Derek Foreman 78657c5ff3 drm-backend: Fix cursor updates with overlapping heads
We can't use the surface damage to determine when to upload new cursor
images because when heads overlap the first repainted head will accumulate
that damage as plane damage.

We can't easily use plane damage either because the plane isn't really
assigned until after an atomic test, which requires the cursor fb to be
current.

Untangle this mess a little by always testing with the first cursor fb,
which is identical to the second in all ways, then replace with the correct
fb in repaint.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
2023-11-10 09:38:41 -06:00
..
drm-gbm.c drm-backend: Drop support libgbm older than 21.1.1 2023-08-09 21:45:42 +03:00
drm-internal.h backend-drm: enable multi-backend support 2023-09-28 14:02:04 +00:00
drm-virtual.c libweston: have one primary_plane per output 2023-07-11 07:26:43 -05:00
drm.c drm-backend: Fix cursor updates with overlapping heads 2023-11-10 09:38:41 -06:00
fb.c drm-backend: Drop support libgbm older than 21.1.1 2023-08-09 21:45:42 +03:00
kms-color.c Revert "backend-drm: add HDR_OUTPUT_METADATA definitions" 2022-06-07 09:35:14 +01:00
kms.c libweston: Set the presentation clock in the compositor 2023-08-02 11:51:56 +03:00
libbacklight.c libbacklight: Fix backlight never gets initialized 2022-04-11 08:38:00 +03:00
libbacklight.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
meson.build drm-backend: Drop support libgbm older than 21.1.1 2023-08-09 21:45:42 +03:00
modes.c libweston: set default monitor strings 2023-09-15 06:56:59 +00:00
state-helpers.c backend-drm: Pass view alpha to plane state and commit 2023-03-30 17:29:57 +01:00
state-propose.c drm-backend: Fix cursor updates with overlapping heads 2023-11-10 09:38:41 -06:00
vaapi-recorder.c drm/vaapi: Fix pointer-size confusion 2021-08-03 11:13:23 +00:00
vaapi-recorder.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00