Again, in the interest of getting a non-broken (i.e. non-tearing) GL stack w/DRI2 I've been working on making SwapBuffers use page flipping for full screen clients (like compositing managers). This saves a full screen blit so should be a little faster than the current code. There's a big downside though: small copies aren't sync'd, so they'll still tear.
This version adds real buffer object waiting rather than blocking the queue in i830_do_pageflip. It also fixes a crash at exit time if the wrong buffer happened to be in place at the time (I've switched to just swapping the private pixmap pointers rather than the whole buffer private to make the DestroyBuffers xfree call work as expected). Compiz (hacked to use swapbuffers) & glxgears work ok for me so far, and rotation is only partly broken now. So it's getting a little closer to mergeable... -- Jesse Barnes, Intel Open Source Technology Center ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel