Backends may move surfaces to different planes, in which case damage is generated in the primary plane. This damage is usually passed to the renderer, but in some cases the backend may decide to not render anything (that's the case when drm compositor scans out a client buffer). In that case the damage on the primary plane would be discarded, leading to artifacts later. This patch makes the backend's responsibility to clear the damage on the primary plane, so that unrendered damage is kept for as long as necessary.
parent
7e918da36f
commit
0a887728ea
Loading…
Reference in new issue