xserver/present
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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
meson.build present: Send PresentCompleteModeSuboptimalCopy appropriately 2018-03-05 13:27:32 -05: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
present_event.c
present_fake.c
present_fence.c
present_notify.c
present_priv.h present: Send PresentCompleteModeSuboptimalCopy appropriately 2018-03-05 13:27:32 -05:00
present_request.c
present_screen.c
presentext.h