From ce4d227986cf394a80fc687290bc732bbd8dbf22 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Apr 2018 00:26:58 +0200 Subject: client API: add some render API extensions for timing Attempts to enable the following things: - let a render API user do "proper" audio-sync video timing itself - make it possible to not re-render repeated frames if the API user has better mechanisms available (e.g. waiting for a DisplayLink cycle instead) - allow the user to delay or skip redraws if it makes sense Basically this information will be needed by API users who want to be "clever" about optimizing timing and rendering. --- libmpv/mpv.def | 1 + 1 file changed, 1 insertion(+) (limited to 'libmpv/mpv.def') diff --git a/libmpv/mpv.def b/libmpv/mpv.def index efbf713622..b74378c4ae 100644 --- a/libmpv/mpv.def +++ b/libmpv/mpv.def @@ -34,6 +34,7 @@ mpv_opengl_cb_set_update_callback mpv_opengl_cb_uninit_gl mpv_render_context_create mpv_render_context_free +mpv_render_context_get_info mpv_render_context_render mpv_render_context_report_swap mpv_render_context_set_parameter -- cgit v1.2.3