[PATCH v3] present: restore screen pixmap when aborting a flip
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
Size: 810 bytes
Desc: not available
More information about the xorg-devel