xserver/hw
Michel Dänzer 84d74f23f0 xwayland/present: Skip queued flip when a new one becomes ready
If multiple flips become ready for the same MSC, we would previously
execute them all sequentially, one per MSC for sync flips. This could
result in an unbounded flip queue and corresponding memory consumption.

With implicit sync, leave the mailbox handling to the compositor for
async flips though.

v2:
* Use present_vblank_rec::sync_flip.

Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1664
Fixes: e1f16fb1ac ("xwayland: don't scrap pending present requests")
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1511>
(cherry picked from commit 0d9a54aa97)
2026-01-25 10:39:53 -08:00
..
kdrive rename remaining RT_* defines to X11_RESTYPE_* 2026-01-19 12:48:30 -08:00
vfb Xvfb: Support up to 13 mouse buttons 2024-01-08 11:16:11 +00:00
xfree86 dbe: unexport dbestruct.h 2026-01-25 10:39:52 -08:00
xnest rename remaining RT_* defines to X11_RESTYPE_* 2026-01-19 12:48:30 -08:00
xquartz Fix missing include of sys/stat.h 2026-01-19 12:48:30 -08:00
xwayland xwayland/present: Skip queued flip when a new one becomes ready 2026-01-25 10:39:53 -08:00
xwin rename remaining RT_* defines to X11_RESTYPE_* 2026-01-19 12:48:30 -08:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00