xserver-multidpi/present
Michel Dänzer b4ac7b142f present: Only requeue if target MSC is not reached after an unflip
While present_pixmap decrements target_msc by 1 for present_queue_vblank,
it leaves the original vblank->target_msc intact. So incrementing the
latter for requeueing resulted in the requeued presentation being
executed too late.

Also, no need to requeue if the target MSC is already reached.

This further reduces stutter when a popup menu appears on top of a
flipping fullscreen window.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
2016-02-25 10:18:04 -05:00
..
Makefile.am present: Add Present extension 2013-10-31 16:59:18 -07:00
present_event.c present: static cleanup 2015-07-08 16:40:57 -04:00
present_fake.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
present_fence.c present: Block for wait_fence in present_execute 2013-11-20 13:12:30 -08:00
present_notify.c present: Add Present extension 2013-10-31 16:59:18 -07:00
present_priv.h present: When cancelling a pending synchronous flip, requeue it 2015-12-07 14:25:43 -05:00
present_request.c present: static cleanup 2015-07-08 16:40:57 -04:00
present_screen.c present: Make window MSC offset 0 initially 2014-07-31 00:03:53 -07:00
present.c present: Only requeue if target MSC is not reached after an unflip 2016-02-25 10:18:04 -05:00
present.h glx/present: Only send GLX_BufferSwapComplete for PresentCompleteKindPixmap 2014-09-11 18:19:41 -07:00
presentext.h present: Add Present extension 2013-10-31 16:59:18 -07:00