[Wayland-bugs] [Bug 56537] Repaint culling under opaque surfaces broken
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Oct 31 10:36:50 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=56537
Kristian Høgsberg <krh at bitplanet.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Kristian Høgsberg <krh at bitplanet.net> ---
commit 4bcf3a5fced20b2265094c71f1a8672df97e1009
Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
Date: Wed Oct 31 17:55:45 2012 +0200
compositor: Fix culling of repaints behind opaque surfaces
Culling of the repaint of a surface behind an opaque surface on the
same plane was broken by commit 547149a9 [1]. The idea of that commit
is that the damage obscured by an overlay would remain on the primary
plane damage and be repainted when the overlay moved. However, in the
case the two surfaces are on the same plane, the opaque one is not
obscured, so it ends up being repainted.
This commit adds an opaque field to struct weston_plane, that is built
incrementally when accumulating damage. The opaque region of surfaces
on the same plane are removed from the plane's damage, restoring the
previous culling behavior. But since damage behind opaque region of
other planes is maintained, the bug solved in the mentioned commit is
not regressed.
https://bugs.freedesktop.org/show_bug.cgi?id=56537
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20121031/8e4d2bdb/attachment.html>
More information about the Wayland-bugs
mailing list