On Fre, 2011-03-25 at 06:10 -0700, Jakob Bornecrantz wrote: > On Mar 25, 2011, at 13:47, Ville Syrjälä wrote: > > On Fri, Mar 25, 2011 at 12:35:37PM +0100, ext Michel Dänzer wrote: > >> From: Michel Dänzer <[email protected]> > >> > >> 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. > > > > Make sense to me. > > > > BTW I'm toying around with offscreen flipping, and for that I'm using > > the following patch to also invalidate the window's pixmap (the patch > > is against our internal codebase which has the DRI2 ref counting > > patches from Pauli and Christopher). > > Does the flipped buffers magically appear in any rendering api sibling > obejcts (such as GL texture obejcts) or does the client application > need to do anything?
DRI2InvalidateDrawable sends a DRI2 invalidate event to all clients that have the DRI2 buffer information, the client side drivers should handle that as appropriate. -- Earthling Michel Dänzer | http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
