summaryrefslogtreecommitdiffstats
path: root/etc/_mpv.zsh
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2020-05-16 06:10:50 +0200
committerNiklas Haas <git@haasn.xyz>2020-05-16 06:18:44 +0200
commit09b68648f1b2a75dfc62efb3c0889899ec0f079f (patch)
tree2fe566247df020792d88aa3406c2d018e17d7106 /etc/_mpv.zsh
parent5ebb498b7a41863c369c8fda49344e6f4a6d4203 (diff)
downloadmpv-09b68648f1b2a75dfc62efb3c0889899ec0f079f.tar.bz2
mpv-09b68648f1b2a75dfc62efb3c0889899ec0f079f.tar.xz
vo_gpu: ra_pl: add timers support
Added in libplacebo v60, unfortunately with some changes in design that make it a bit of an awkward fit for the way timers are used in mpv. Timer queries in libplacebo don't support "start" and "stop"-style operations, and instead are attached directly to operations. The only sane way of implementing this in the ra API is to have a single 'active timer' that gets attached to every pass, taking care to sort distinct operations into distinct pl_timer queries within that ra_timer. This design unfortunately doesn't let us have multiple 'active timers' concurrently, similar to the current such limitation in ra_gl. But it's also not a big deal.
Diffstat (limited to 'etc/_mpv.zsh')
0 files changed, 0 insertions, 0 deletions