diff options
author | wm4 <wm4@nowhere> | 2015-05-12 22:16:38 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-12 22:16:38 +0200 |
commit | 6b7155c05bafa2e3bdf4c4aa0f6372745dc59a1d (patch) | |
tree | 7d4d76e93649a2cb892c4dfd0dfc4a914d3b00cb /video/out/vo.c | |
parent | ee3de1a063c281c1c915f204756d518966afdd54 (diff) | |
download | mpv-6b7155c05bafa2e3bdf4c4aa0f6372745dc59a1d.tar.bz2 mpv-6b7155c05bafa2e3bdf4c4aa0f6372745dc59a1d.tar.xz |
vo_opengl_cb: add support for interpolation
This uses the OpenGL frame interpolation code, which before could be
used by vo_opengl only.
Some effort was made to make it behave like vo_opengl, for the better or
the worse. As a consequence, there is a minor duplication of code and
mechanism. Hopefully this can all be wiped as soon as the VO frame
queue/timing mechanism is cleaned up.
This also attempts to use mpv_opengl_cb_report_flip() (as called by the
API user) to determine the vsync interval. This might need refinement as
well.
(In general, we simply expect the API user to work in vsync-blocking
manner.)
Diffstat (limited to 'video/out/vo.c')
0 files changed, 0 insertions, 0 deletions