weston/libweston/backend-x11
Derek Foreman 0126e6f275 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>
(cherry picked from commit 2abe4efcf7)
2024-04-16 13:25:35 +03:00
..
meson.build build: simplify dep_egl a bit 2022-12-14 11:57:24 +00:00
x11.c libweston/backends: Move damage flush into backends 2024-04-16 13:25:35 +03:00