diff options
author | Akemi <der.richter@gmx.de> | 2018-06-04 19:13:15 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-11-13 20:43:29 +0200 |
commit | e72093581bdf07784d6889035c3751cbc7fb8ca0 (patch) | |
tree | 3d5f3b7df900c83554587b019c20325520e03fb7 /video/out/libmpv.h | |
parent | 9e466ee6214ed302a6846dd40264cf06eb712b3a (diff) | |
download | mpv-e72093581bdf07784d6889035c3751cbc7fb8ca0.tar.bz2 mpv-e72093581bdf07784d6889035c3751cbc7fb8ca0.tar.xz |
vo_libmpv: support render performance data
Diffstat (limited to 'video/out/libmpv.h')
-rw-r--r-- | video/out/libmpv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/libmpv.h b/video/out/libmpv.h index 2fe33386f4..329b2dffec 100644 --- a/video/out/libmpv.h +++ b/video/out/libmpv.h @@ -54,6 +54,8 @@ struct render_backend_fns { void (*reset)(struct render_backend *ctx); void (*screenshot)(struct render_backend *ctx, struct vo_frame *frame, struct voctrl_screenshot *args); + void (*perfdata)(struct render_backend *ctx, + struct voctrl_performance_data *out); // Like vo_driver.get_image(). struct mp_image *(*get_image)(struct render_backend *ctx, int imgfmt, int w, int h, int stride_align); |