[PATCH] present: Queue flips for later execution. Begging for review.

Chris Wilson chris at chris-wilson.co.uk
Mon Jun 2 14:38:42 PDT 2014

On Mon, Jun 02, 2014 at 01:53:29PM -0700, Keith Packard wrote:
> When a flip (or unflip) is pending and a flip request comes in, leave
> it queued until the pending flip completes and then execute it.
> Signed-off-by: Keith Packard <keithp at keithp.com>
> Tested-by: Frank Binns <frank.binns at imgtec.com>

The patch relaxes the restriction that there be a single pending flip,
and allows the client to queue up a series of fullscreen swaps. However,
we don't recheck pixmaps for being viable for flipping after the vblank
event as we rely on the ClipNotify hook aborting any flip after a Window
change. I think this check now needs to scan all pending flips.

Other than that, the patch does what it says on the tin, though you
could mention the impact this has caused by the regular flip-unflip.

Chris Wilson, Intel Open Source Technology Centre

More information about the xorg-devel mailing list