Frank Binns <[email protected]> writes: > If a 2D application is started on top of a fullscreen 3D application, which > is flipping, then we need to stop flipping and restore the root window to > using the screen pixmap. Normally this would be done as part of an unflip. > However, in the case that there is a pending flip there is no mechanism to > abort so the unflip is deferred until the pending flip completes. This > provides a window of opportunity for the 2D application to draw to the wrong > pixmap. > > This problem is avoided by fixing up the root window pixmap immediately but > deferring the unflip as usual.
I think we should also be doing this in the other two places where abort_flip is set to TRUE. Also, this needs to do the same two calls to present_set_tree_pixmap that present_unflip would do later on. Those are done in a specific order so that the child window hierarchy also gets its pixmaps reset correctly. -- [email protected]
pgpwJjg5oLgp8.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
