diff options
author | Niklas Haas <git@haasn.xyz> | 2020-05-16 06:10:50 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2020-05-16 06:18:44 +0200 |
commit | 09b68648f1b2a75dfc62efb3c0889899ec0f079f (patch) | |
tree | 2fe566247df020792d88aa3406c2d018e17d7106 /test/input-gamepad.conf | |
parent | 5ebb498b7a41863c369c8fda49344e6f4a6d4203 (diff) | |
download | mpv-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 'test/input-gamepad.conf')
0 files changed, 0 insertions, 0 deletions