xserver/present
Sultan Alsawaf 1fab978a95 present: Fix inaccurate PresentCompleteNotify timing for TearFree
The timing of PresentCompleteNotify events is inaccurate when a driver uses
TearFree because there's no way to know exactly when a presentation will
appear on the display without receiving a notification directly from the
driver indicating that the TearFree flip containing a presentation's pixmap
is actually visible on the display.

To fix the inaccurate PresentCompleteNotify timing, make use of the new
assumption that drivers which export TearFree permit a NULL pixmap to be
passed to their flip callback in order to make a presentation track the
exact TearFree flip responsible for rendering it onto the display.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Acked-by: Martin Roukala <martin.roukala@mupuf.org>
2023-02-28 22:43:37 -08:00
..
meson.build present: Move present_wnmd.c contents to hw/xwayland/xwayland-present.c 2021-07-09 16:11:22 +02:00
present.c present: fallback get_crtc to return crtc belonging to screen with present extension 2021-07-20 08:10:46 +02:00
present.h present: add awareness for drivers with TearFree 2022-12-19 23:56:27 -08:00
present_event.c present: Send a PresentConfigureNotify event for destroyed windows 2023-02-15 15:22:45 +01:00
present_execute.c present: Include dix-config.h instead of xorg-config.h 2020-09-15 11:41:34 +02:00
present_fake.c Don't hardcode fps for fake screen 2021-07-29 08:09:00 +00:00
present_fence.c present: Include dix-config.h instead of xorg-config.h 2020-09-15 11:41:34 +02:00
present_notify.c present: Include dix-config.h instead of xorg-config.h 2020-09-15 11:41:34 +02:00
present_priv.h present: Send a PresentConfigureNotify event for destroyed windows 2023-02-15 15:22:45 +01:00
present_request.c present: Include dix-config.h instead of xorg-config.h 2020-09-15 11:41:34 +02:00
present_scmd.c present: Fix inaccurate PresentCompleteNotify timing for TearFree 2023-02-28 22:43:37 -08:00
present_screen.c present: Send a PresentConfigureNotify event for destroyed windows 2023-02-15 15:22:45 +01:00
present_vblank.c present: Drop flip_idler member from present_vblank_rec 2021-07-09 16:20:56 +02:00
presentext.h present: Add Present extension 2013-10-31 16:59:18 -07:00