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

Michel Dänzer michel at daenzer.net
Mon Mar 28 01:04:23 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.

See the discussion with Ville about this.

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

So once again, a fix is delayed because it's not considered quite
perfect yet.

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

More information about the xorg-devel mailing list