xserver/hw
Michel Dänzer 0d9a54aa97 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>
2024-05-02 08:17:35 +00:00
..
kdrive include: split out non-exported prototypes to dix_priv.h 2024-04-30 00:47:38 +00:00
vfb os: unexport Os*() functions 2024-04-16 14:20:30 +02:00
xfree86 include: move private definitions out of exevents.h 2024-04-30 00:47:38 +00:00
xnest include: move private definitions out of extinit.h 2024-04-30 00:47:38 +00:00
xquartz include: move private definitions out of extinit.h 2024-04-30 00:47:38 +00:00
xwayland xwayland/present: Skip queued flip when a new one becomes ready 2024-05-02 08:17:35 +00:00
xwin include: move private definitions out of extinit.h 2024-04-30 00:47:38 +00:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00