1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-06 23:20:15 +00:00
mpv/video/out
wm4 342e36ea11 vo_gpu: skip DR for unsupported image formats
DR (direct rendering) works by having the decoder decode into the GPU
staging buffers, instead of copying the video data on texture upload. We
did this even for formats unsupported by the GPU or the renderer. This
"worked" because the staging memory is untyped, and the video frame was
converted by libswscale to a supported format, and then uploaded with a
copy using the normal non-DR texture upload path.

Even though it "works", we don't gain anything from using the staging
buffers for decoding, since we can't use them for upload anyway. Also,
staging memory might be potentially limited (what really happens is up
to the driver). It's easy to avoid, so just skip it in these cases.
2018-01-18 00:25:00 -08:00
..
cocoa
d3d11 vo_gpu: hwdec_dxva2dxgi: initial implementation 2018-01-06 11:26:15 +11:00
gpu vo_gpu: skip DR for unsupported image formats 2018-01-18 00:25:00 -08:00
opengl vo_gpu: rpi: defer gl_ctx_resize until after gl_ctx_init 2018-01-15 23:16:17 -08:00
vulkan vo_gpu: vulkan: fix segfault due to index mismatch 2017-12-25 00:47:53 +01: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
drm_atomic.h
drm_common.c
drm_common.h
drm_prime.c
drm_prime.h
filter_kernels.c
filter_kernels.h
vo_caca.c
vo_direct3d.c
vo_drm.c
vo_gpu.c player: add internal vo-resize command 2017-12-27 14:29:15 -07: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_rpi.c
vo_sdl.c
vo_tct.c
vo_vaapi.c video: change some mp_image_pool semantics 2018-01-13 03:26:45 -08:00
vo_vdpau.c
vo_x11.c
vo_xv.c
vo.c vo: fix a compiler warning by properly printing a 64bit integer 2017-12-11 00:16:01 +02:00
vo.h player: add internal vo-resize command 2017-12-27 14:29:15 -07: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 vo: add support for externally driven renderloop and make wayland use it 2017-12-05 08:26:24 +00:00
wayland_common.h
win_state.c
win_state.h
x11_common.c
x11_common.h