On Mon, 2003-11-10 at 16:29, Keith Whitwell wrote:
Michel DÃnzer wrote:
Can we also do this in TransitionSingleToMulti3d()?
To get the frontbuffer at the front when pageflipping is no longer possible?
Yes.
I don't think so as the one already-active context would have its backbuffer contents exposed, right?
True, but only until the next buffer swap, right? :) Not sure what's worse, that or needlessly reduced 2D performance.
Definitely worse to have screen corruption. You could try some elaborate scheme to delay the 2nd context's construction, or deny it any cliprects until the 1st app had bufferswitched.
Or, more realistically you copy to temporary storage & fix up the contents of front & back buffers.
Or, best of all, you could make the 2d code draw directly to both front and back buffers to get full GLX spec compliance *and* good performance in this and other cases.
Keith
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel