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
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_common.h
cocoa_common.m
d3d_shader_yuv.h
d3d_shader_yuv.hlsl
filter_kernels.c
filter_kernels.h
gl_common.c
gl_common.h
gl_header_fixes.h
gl_osd.c
gl_osd.h
osx_common.h
osx_common.m
pnm_loader.c
pnm_loader.h
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
vo_caca.c
vo_corevideo.h
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.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_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
w32_common.c
w32_common.h
wayland_common.c
wayland_common.h
x11_common.c
x11_common.h