From 8dc7156bc0271965ea1e6768cfc7bbe67cef1876 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 9 Apr 2015 19:30:26 +0200 Subject: vo_opengl_cb: add a function to report vsync time And also let vo.c know of it. Currently, this does not help much, but will facilitate future improvements. --- 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 d4d45874fa..4cdcf6b06b 100644 --- a/libmpv/mpv.def +++ b/libmpv/mpv.def @@ -23,6 +23,7 @@ mpv_initialize mpv_load_config_file mpv_observe_property mpv_opengl_cb_init_gl +mpv_opengl_cb_report_flip mpv_opengl_cb_render mpv_opengl_cb_set_update_callback mpv_opengl_cb_uninit_gl -- cgit v1.2.3 From e76f6929e52ff3a9d2159ad15876d9343ad88788 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 9 Apr 2015 19:31:01 +0200 Subject: vo_opengl_cb: deprecate mpv_opengl_cb_render() Its vp parameter made no sense anymore. Introduce a new one. --- 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 4cdcf6b06b..840ba1e5ed 100644 --- a/libmpv/mpv.def +++ b/libmpv/mpv.def @@ -22,6 +22,7 @@ mpv_get_wakeup_pipe mpv_initialize mpv_load_config_file mpv_observe_property +mpv_opengl_cb_draw mpv_opengl_cb_init_gl mpv_opengl_cb_report_flip mpv_opengl_cb_render -- cgit v1.2.3