weston/libweston/backend-drm
Derek Foreman 2abe4efcf7 libweston/backends: Move damage flush into backends
Currently we flush damage for the "primary plane" every repaint, but this
is folly.

The drm backend may skip rendering entirely if using an all-planes
composition. This could leave the renderer plane in a messy state if a
surface on an overlay plane disappears.

Instead, let the backends flush the primary plane damage when they know
they need to render.

Fixes #864

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
2024-01-10 14:13:09 -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 libweston/backends: Move damage flush into backends 2024-01-10 14:13:09 -06:00
drm-virtual.c libweston/backends: Move damage flush into backends 2024-01-10 14:13:09 -06:00
drm.c libweston/backends: Move damage flush into backends 2024-01-10 14:13:09 -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 libweston,tools: Include libgen.h for basename signature 2023-12-18 21:13:52 +00: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