Skip to content
Snippets Groups Projects
Commit 2abe4efc authored by Derek Foreman's avatar Derek Foreman
Browse files

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: default avatarDerek Foreman <derek.foreman@collabora.com>
parent 04d9f7e7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment