1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00
mpv/video/out
wm4 d511ef79a0 core: simplify OSD capability handling, remove VFCAP_OSD
VFCAP_OSD was used to determine at runtime whether the VO supports OSD
rendering. This was mostly unused. vo_direct3d had an option to disable
OSD (was supposed to allow to force auto-insertion of vf_ass, but we
removed that anyway). vo_opengl_old could disable OSD rendering when a
very old OpenGL version was detected, and had an option to explicitly
disable it as well.

Remove VFCAP_OSD from everything (and some associated logic). Now the
vo_driver.draw_osd callback can be set to NULL to indicate missing OSD
support (important so that vo_null etc. don't single-step on OSD
redraw), and if OSD support depends on runtime support, the VO's
draw_osd should just do nothing if OSD is not available.

Also, do not access vo->want_redraw directly. Change the want_redraw
reset logic for this purpose, too. (Probably unneeded, vo_flip_page
resets it already.)
2013-03-01 11:16:01 +01:00
..
aspect.c options: move -geometry parsing to m_option.c 2013-01-23 10:56:11 +01:00
aspect.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
bitmap_packer.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
bitmap_packer.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
cocoa_common.h video/out: rename create_window to config_window 2013-02-26 02:01:48 +01:00
cocoa_common.m video/out: rename create_window to config_window 2013-02-26 02:01:48 +01:00
d3d_shader_yuv.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
d3d_shader_yuv.hlsl vo_direct3d: remove 2ch hack for 10 bit playback 2013-01-13 20:04:14 +01:00
filter_kernels.c Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
filter_kernels.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
gl_common.c wayland: add wayland support 2013-02-28 20:01:33 +01:00
gl_common.h wayland: add wayland support 2013-02-28 20:01:33 +01:00
gl_header_fixes.h clang: fix all warnings except deprecations 2012-11-13 22:19:18 +01:00
gl_osd.c Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
gl_osd.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
osx_common.h osxbundle: cocoa_common: change playlist on fileopen events 2013-01-16 22:27:04 +01:00
osx_common.m Prefix keycode defines with MP_ 2013-02-12 10:27:00 +01:00
pnm_loader.c Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
pnm_loader.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
vo_caca.c vo_caca: remove OSD support 2013-02-24 16:15:50 +01:00
vo_corevideo.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
vo_corevideo.m core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
vo_direct3d.c core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
vo_image.c core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
vo_lavc.c core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
vo_null.c core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
vo_opengl_old.c core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
vo_opengl_shaders.glsl vo_opengl: use more precise gamma for BT.709 with color management 2012-12-28 13:43:24 +01:00
vo_opengl.c core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
vo_sdl.c core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
vo_vdpau.c core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
vo_x11.c core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
vo_xv.c core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
vo.c core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
vo.h core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
w32_common.c video/out: remove video mode switching (--vm) 2013-02-26 02:01:48 +01:00
w32_common.h video/out: remove video mode switching (--vm) 2013-02-26 02:01:48 +01:00
wayland_common.c wayland: add wayland support 2013-02-28 20:01:33 +01:00
wayland_common.h wayland: add wayland support 2013-02-28 20:01:33 +01:00
x11_common.c video/out: remove video mode switching (--vm) 2013-02-26 02:01:48 +01:00
x11_common.h video/out: remove video mode switching (--vm) 2013-02-26 02:01:48 +01:00