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

Ville Syrjälä syrjala at sci.fi
Tue May 3 05:56:26 PDT 2011


On Thu, Apr 07, 2011 at 08:50:56AM -0700, Keith Packard wrote:
> On Thu, 07 Apr 2011 12:26:56 +0200, Michel Dänzer <michel at daenzer.net> wrote:
> 
> > Anyway, you know where you can find testers for your patch.
> 
> Are you willing to test and review it? I don't know of anyone else
> interested and capable.
> 
> -- 
> keith.packard at intel.com

I did some testing of these with compiz and they don't actually fix the
problems with unredirecting fullscreen windows on my r300.

Some further thought about the issue leads me to the conclusion that the
only thing these patches really fix, is getting a more fresh snapshot of
the front buffer into the fake front buffer for those drawables that
didn't initiate the swap.

The real problem is that the front buffer pixmap and name might have
changed between GetBuffers and SwapBuffers. I cooked up a couple of
quick and dirty patches for radeon to fix the problem for me. I'll see
about cleaning them up later, but here they are just for reference.



More information about the xorg-devel mailing list