mpv/video/out
Marco Migliori 3a2bc158bb vo_drm: make the osd as large as the screen
Before this commit, the drm vo drew the osd over the scaled image, and
then copied the result onto the framebuffer, shifted. This made the
frame centered, but forced the osd to be only as large as the image.
This was inconsistent with other vo's, covered the image with the
progress indicator even when a black band was at the top of the screen,
made the progress indicator wrap on narrow videos, etc.

The change is to always use an image as large as the screen. The frame
is copied scaled and shifted to it, and the osd drawn over it. The
result is finally copied to the framebuffer without any shift, since it
is already as large as it.

Technically, cur_frame is an image as large as the screen and
cur_frame_cropped is a dummy reference to it, cropped to the size of
the scaled video. This way, copying the scaled image to
cur_frame_cropped positions the image in the right place in cur_frame,
which can then have the osd added to it and copied to the framebuffer.
2018-02-11 17:51:15 -08:00
..
cocoa osx: code cleanups and cosmetic fixes 2018-01-20 14:43:49 -08:00
d3d11 video: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
gpu vo_gpu: make screenshots use the GL renderer 2018-02-11 17:45:51 -08:00
opengl vo_gpu: make screenshots use the GL renderer 2018-02-11 17:45:51 -08:00
vulkan vo_gpu: add RA_CAP for gl_NumWorkGroups 2018-02-05 23:11:18 -08:00
wayland
win32 vo_gpu: win: remove exclusive-fullscreen detection hack 2017-12-20 14:53:41 +11:00
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_common.h
cocoa_common.m
d3d_shader_420p.h
d3d_shader_yuv.hlsl
dither.c
dither.h
drm_atomic.c video: fix double free in drm_atomic_create_context 2017-12-03 17:30:17 +02:00
drm_atomic.h
drm_common.c
drm_common.h
drm_prime.c
drm_prime.h
filter_kernels.c
filter_kernels.h
vo.c vo_gpu: make screenshots use the GL renderer 2018-02-11 17:45:51 -08:00
vo.h vo_gpu: make screenshots use the GL renderer 2018-02-11 17:45:51 -08:00
vo_caca.c
vo_direct3d.c
vo_drm.c vo_drm: make the osd as large as the screen 2018-02-11 17:51:15 -08:00
vo_gpu.c vo_gpu: make screenshots use the GL renderer 2018-02-11 17:45:51 -08:00
vo_image.c
vo_lavc.c
vo_mediacodec_embed.c vo_mediacodec_embed: implement hwcontext 2017-12-20 15:45:55 +11:00
vo_null.c
vo_opengl_cb.c vo_gpu: add internal ability to skip osd/subs for rendering 2018-02-11 17:45:51 -08: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
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 video: change some remaining vo_opengl mentions to vo_gpu 2018-01-20 14:43:49 -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
w32_common.c w32_common: refactor and improve window state handling 2017-12-19 23:22:52 +11:00
w32_common.h
wayland_common.c wayland_common: fix idle_inhibitor protocol segfault 2018-02-09 21:16:14 +02:00
wayland_common.h
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_common.c
x11_common.h