[PATCH xserver 2/2] dri2: Invalidate DRI2 buffers for all windows with the same pixmap on swap.

Keith Packard keithp at keithp.com
Sun Mar 27 23:00:54 PDT 2011


On Fri, 25 Mar 2011 18:26:56 +0100, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <daenzer at vmware.com>
> 
> Without this, when a compositing manager unredirects a fullscreen window which
> uses DRI2 and page flipping, the DRI2 buffer information for the compositing
> manager's output window (typically the Composite Overlay Window or root window)
> may become stale, resulting in all kinds of hilarity.

Yeah, this looks sufficient to me. I'm wondering if krh can think of any
more efficient way to do this -- walking the whole tree seems pretty
heavy-weight.

Unless someone comes up with a cleverer mechanism, I'll merge this
in a few days.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110327/80b70afe/attachment.pgp>


More information about the xorg-devel mailing list