diff options
author | Dudemanguy <random342@airmail.cc> | 2023-01-13 19:28:46 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-01-13 22:24:11 -0600 |
commit | 6cdce9e18e4cd199c1342db6e6d1db03828ad860 (patch) | |
tree | 3f6bd590a8d0853c154119fc0926c67560b80978 /TOOLS | |
parent | f32c5586d65e85e488e24007d24ee6d75611b756 (diff) | |
download | mpv-6cdce9e18e4cd199c1342db6e6d1db03828ad860.tar.bz2 mpv-6cdce9e18e4cd199c1342db6e6d1db03828ad860.tar.xz |
wayland: store presentation feedbacks in a pool
Officially, the most cursed part of the wayland code in mpv (third or
fourth try now?) This time, let's allocate a pool during init
(arbitrarily set to the maximum swapchain length mpv allows, 8; don't
even know if this actually works in wayland). Then we add/remove
feedbacks from the pool during the lifecycle of the VO, and clean it up
all at the end. Hopefully, this does the trick for good this time.
Diffstat (limited to 'TOOLS')
0 files changed, 0 insertions, 0 deletions