1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-06 07:00:30 +00:00
mpv/video/out
wm4 8e6704acdb sub, vo_opengl: use packed sub-bitmaps directly if available
The previous few commits changed sd_lavc.c's output to packed RGB sub-
images. In particular, this means all sub-bitmaps are part of a larger,
single bitmap. Change the vo_opengl OSD code such that it can make use
of this, and upload the pre-packed image, instead of packing and copying
them again.

This complicates the upload code a bit (4 code paths due to messy PBO
handling). The plan is to make sub-bitmaps always packed, but some more
work is required to reach this point. The plan is to pack libass images
as well. Since this implies a copy, this will make it easy to refcount
the result.

(This is all targeted towards vo_opengl. Other VOs, vo_xv, vo_x11, and
vo_wayland in particular, will become less efficient. Although at least
vo_vdpau and vo_direct3d could be switched to the new method as well.)
2016-06-17 23:15:50 +02:00
..
cocoa
opengl sub, vo_opengl: use packed sub-bitmaps directly if available 2016-06-17 23:15:50 +02:00
wayland
win32
aspect.c
aspect.h
bitmap_packer.c bitmap_packer: make manual use slightly more convenient 2016-06-17 23:12:43 +02:00
bitmap_packer.h sub: move paletted image handling completely to sd_lavc.c 2016-06-17 23:13:14 +02:00
cocoa_common.h
cocoa_common.m cocoa: use displaylink without manually tracking the display id 2016-06-11 11:58:07 +02:00
d3d_shader_420p.h
d3d_shader_nv12.h
d3d_shader_yuv.hlsl
dither.c
dither.h
drm_common.c build: silence -Wunused-result 2016-06-07 14:12:33 +02:00
drm_common.h
filter_kernels.c
filter_kernels.h
vo_caca.c
vo_direct3d.c
vo_drm.c
vo_image.c
vo_lavc.c
vo_null.c
vo_opengl_cb.c vo_opengl_cb: icc-profile-auto does not and will not work 2016-06-05 15:00:07 +02:00
vo_opengl.c vo_opengl: expose performance timers as properties 2016-06-07 12:17:25 +02:00
vo_rpi.c vo_rpi: fix destroying overlays 2016-06-13 14:48:11 +02:00
vo_sdl.c vo_sdl: fix pixel formats. 2016-06-10 16:30:12 -04:00
vo_vaapi.c
vo_vdpau.c
vo_wayland.c wayland: implement HIDPI support 2016-05-30 20:17:26 +02:00
vo_x11.c
vo_xv.c vo_xv: Handle incorrect size returned by Xv(Shm)CreateImage 2016-05-24 10:25:39 +02:00
vo.c build: silence -Wunused-result 2016-06-07 14:12:33 +02:00
vo.h vo_opengl: expose performance timers as properties 2016-06-07 12:17:25 +02:00
w32_common.c win32: use HINST_THISCOMPONENT 2016-06-11 15:35:17 +02:00
w32_common.h
wayland_common.c wayland: mark existing dnd entry print as debug rather than an error 2016-05-31 11:22:57 +02:00
wayland_common.h wayland: implement HIDPI support 2016-05-30 20:17:26 +02:00
win_state.c
win_state.h
x11_common.c
x11_common.h
x11_icon.bin