1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 13:21:13 +00:00
mpv/video/out
wm4 36565c099d vo_libmpv: adjust redraw handling to new API semantics
In MPV_RENDER_PARAM_ADVANCED_CONTROL mode, a simple update callback does
not necessarily make the API user redraw. So handle it differently.

For one, setting vo->want_redraw already uses the "normal" redraw path,
which will call draw_frame() and set next_frame.

Then there are redraws trigered by mpv_render_context_set_parameter(),
which are on the render thread, and would require a separate mechanism.
I decided this is not really a good idea, since it's not even clear that
setting an arbitrary parameter should redraw. Also this could trigger an
unbounded number of redraws. The user can trigger redraws manually if
really needed, depending on the parameter that's being set. If we really
wanted vo_libmpv to do this, we could add a new flag like need_redraw,
which would be 4 lines of code or so.
2018-04-29 02:21:32 +03:00
..
cocoa osx: code cleanups and cosmetic fixes 2018-01-20 14:43:49 -08:00
cocoa-cb cocoa-cb: render on a dedicated dispatch queue 2018-03-25 16:24:23 -07:00
d3d11 vo_gpu: d3d11: implement tex_download() 2018-02-13 21:25:15 +11:00
gpu vo_libmpv: add support for DR 2018-04-29 02:21:32 +03:00
opengl hwdec_ios: fix crash after mapper_init failure 2018-04-17 01:06:29 +03:00
vulkan vo_gpu: remove old window screenshot glue code and GL implementation 2018-02-13 17:45:29 -08:00
wayland wayland_common: rewrite from scratch 2017-10-03 19:36:02 +01:00
win32 vo_gpu: win: remove exclusive-fullscreen detection hack 2017-12-20 14:53:41 +11:00
aspect.c aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
aspect.h aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
bitmap_packer.c
bitmap_packer.h
cocoa_cb_common.swift cocoa-cb: render on a dedicated dispatch queue 2018-03-25 16:24:23 -07:00
cocoa_common.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
cocoa_common.m Revert "cocoa: re-enable double buffering" 2017-09-22 23:08:46 +10:00
d3d_shader_420p.h
d3d_shader_yuv.hlsl
dither.c
dither.h
dr_helper.c vo: move DR helper code to a separate source file 2018-04-29 02:21:32 +03:00
dr_helper.h vo: move DR helper code to a separate source file 2018-04-29 02:21:32 +03:00
drm_atomic.c video: fix double free in drm_atomic_create_context 2017-12-03 17:30:17 +02:00
drm_atomic.h Add DRM_PRIME Format Handling and Display for RockChip MPP decoders 2017-10-23 21:07:24 +02:00
drm_common.c drm_common: Improve VT switching signal handling somewhat 2018-02-26 23:56:13 -08:00
drm_common.h context_drm_egl: Introduce 30bpp support 2018-02-26 23:56:13 -08:00
drm_prime.c Add DRM_PRIME Format Handling and Display for RockChip MPP decoders 2017-10-23 21:07:24 +02:00
drm_prime.h Add DRM_PRIME Format Handling and Display for RockChip MPP decoders 2017-10-23 21:07:24 +02:00
filter_kernels.c vo_opengl: refactor scaler LUT weight packing/loading 2017-09-04 13:53:14 +02:00
filter_kernels.h vo_opengl: refactor scaler LUT weight packing/loading 2017-09-04 13:53:14 +02:00
libmpv.h vo_libmpv: add support for DR 2018-04-29 02:21:32 +03:00
vo_caca.c Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
vo_direct3d.c Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
vo_drm.c vo_drm: Fix pageflip errors on VT switch 2018-02-26 23:56:13 -08:00
vo_gpu.c vo_gpu: move some extra code for screenshot to video.c 2018-04-20 17:05:53 +02:00
vo_image.c image_writer, vo_image: change license to LGPL 2017-06-18 15:45:24 +02:00
vo_lavc.c encode: simplify colorspace setting 2018-04-20 12:37:34 +02:00
vo_libmpv.c vo_libmpv: adjust redraw handling to new API semantics 2018-04-29 02:21:32 +03:00
vo_mediacodec_embed.c vo_mediacodec_embed: fix forgotten VO_CAP_NOREDRAW→VO_CAP_NORETAIN 2018-02-20 01:59:20 +02:00
vo_null.c vo.c, vo.h, vo_null.c: change license to LGPL 2017-05-10 15:06:20 +02:00
vo_rpi.c vo_gpu: add internal ability to skip osd/subs for rendering 2018-02-11 17:45:51 -08:00
vo_sdl.c input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
vo_tct.c sws_utils: don't force callers to provide option struct 2018-01-18 00:59:07 -08:00
vo_vaapi.c video: change some mp_image_pool semantics 2018-01-13 03:26:45 -08:00
vo_vdpau.c vo_vdpau: fix resizing and rotation problems 2018-03-08 17:12:32 -08:00
vo_x11.c sws_utils: don't force callers to provide option struct 2018-01-18 00:59:07 -08:00
vo_xv.c build: remove POSIX/sysv shared memory test 2017-12-02 23:19:13 +01:00
vo.c vo: move DR helper code to a separate source file 2018-04-29 02:21:32 +03:00
vo.h vo: move DR helper code to a separate source file 2018-04-29 02:21:32 +03:00
w32_common.c w32_common: avoid recursive dispatch queue calls 2018-04-18 01:17:41 +03:00
w32_common.h w32_common, w32_keyboard: change license to LGPL 2017-06-24 12:54:45 +02:00
wayland_common.c wayland_common: fix idle_inhibitor protocol segfault 2018-02-09 21:16:14 +02:00
wayland_common.h wayland_common: improve cursor code and scale cursor properly 2017-10-22 05:53:20 +01:00
win_state.c video: change some remaining vo_opengl mentions to vo_gpu 2018-01-20 14:43:49 -08:00
win_state.h x11: pseudo HiDPI scaling 2017-01-19 16:31:54 +01:00
x11_common.c input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
x11_common.h Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00