[PATCH v3] present: restore screen pixmap when aborting a flip

Keith Packard keithp at keithp.com
Mon Jun 23 13:48:45 PDT 2014

Frank Binns <frank.binns at imgtec.com> 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, and
> possibly the flip 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.
> Restore the screen pixmap at the point a pending flip is marked as aborted,
> thus avoiding this issue.
> Reviewed-by: Keith Packard <keithp at keithp.com>
> Signed-off-by: Frank Binns <frank.binns at imgtec.com>

   e27a839..334faab  master -> master

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140623/31f5f5be/attachment.sig>

More information about the xorg-devel mailing list