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

Michel Dänzer michel at daenzer.net
Wed Apr 6 01:19:01 PDT 2011


On Son, 2011-03-27 at 23:00 -0700, Keith Packard wrote: 
> 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.

10 days have passed.


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the xorg-devel mailing list