xserver-multidpi/present
Axel Davy 2203735887 present: Fix Async swap logic
According to the spec, PresentOptionAsync should only
trigger a different behaviour when the target msc has been reached.

In this case if the driver is able to do async swaps, we use
them to avoid a screen copy.

When the target msc hasn't been reached yet, we want to use sync swaps.

v2: Fix indentation and simplify checks for Async flips

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2015-11-09 15:47:01 -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: static cleanup 2015-07-08 16:40:57 -04: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: Fix Async swap logic 2015-11-09 15:47:01 -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