xserver-multidpi/present
Louis-Francis Ratté-Boulianne e2ef3b44fa present: Send PresentCompleteModeSuboptimalCopy appropriately
Add 'check_flip2' hook for driver to let know the core
about why flipping is not possible ('reason').
If it is because of unsupported buffer format/modifier,
a PresentCompleteNotify event is sent to the client with
the PresentCompleteModeSuboptimalCopy mode.

v2: Check for PresentOptionSuboptimal and check driver version
    before using 'check_flip2'.

v3: Only require one of 'check_flip' or 'check_flip2' to be
    implemented by the driver.
    Refactor reasons list to enum

Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Acked-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2018-03-05 13:27:32 -05:00
..
Makefile.am present: Add Present extension 2013-10-31 16:59:18 -07:00
meson.build present: Send PresentCompleteModeSuboptimalCopy appropriately 2018-03-05 13:27:32 -05:00
present_event.c Revert "present: Only send PresentCompleteNotify events to the presenting client" 2018-01-24 11:40:50 +01:00
present_fake.c present: Free the fake_present OsTimerPtr 2016-08-15 15:16:48 -04:00
present_fence.c sync: Convert from "CARD64" to int64_t. 2017-09-20 13:19:27 -04:00
present_notify.c present: Add Present extension 2013-10-31 16:59:18 -07:00
present_priv.h present: Send PresentCompleteModeSuboptimalCopy appropriately 2018-03-05 13:27:32 -05:00
present_request.c Revert "present: Only send PresentCompleteNotify events to the presenting client" 2018-01-24 11:40:50 +01:00
present_screen.c present: Call set_abort_flip / restore_screen_pixmap in clear_window_flip 2016-08-15 15:14:53 -04:00
present.c present: Send PresentCompleteModeSuboptimalCopy appropriately 2018-03-05 13:27:32 -05:00
present.h present: Send PresentCompleteModeSuboptimalCopy appropriately 2018-03-05 13:27:32 -05:00
presentext.h present: Add Present extension 2013-10-31 16:59:18 -07:00