0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/video/out/gpu
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
..
context.c vo_gpu: d3d11: initial implementation 2017-11-07 20:27:13 +11:00
context.h vo_gpu: vulkan: generalize SPIR-V compiler 2017-09-26 17:25:35 +02:00
d3d11_helpers.c vo_gpu: d3d11: don't use a bgra8 swapchain 2018-01-04 22:08:10 +11:00
d3d11_helpers.h vo_gpu: move d3d11_screenshot to shared code 2017-11-07 20:27:13 +11:00
hwdec.c vo_gpu: hwdec_dxva2dxgi: initial implementation 2018-01-06 11:26:15 +11:00
hwdec.h vo_gpu: hwdec: remove redundant fields 2017-12-01 05:57:41 +01:00
lcms.c Fix various typos in log messages 2017-12-03 21:24:18 +01:00
lcms.h
osd.c vo_gpu: invalidate fbotex before drawing 2017-12-25 00:47:53 +01:00
osd.h vo_gpu: simplify structs / names 2017-09-22 16:58:55 +02:00
ra.c vo_gpu: export the GLSL format qualifier for ra_format 2017-11-07 20:27:13 +11:00
ra.h vo_gpu: attempt re-using the FBO format for p->output_tex 2017-12-25 00:47:53 +01:00
shader_cache.c vo_gpu: vulkan: omit needless #define 2017-12-25 00:47:53 +01:00
shader_cache.h vo_gpu: invalidate fbotex before drawing 2017-12-25 00:47:53 +01:00
spirv_shaderc.c vo_gpu: shaderc: include debug info when --gpu-debug is set 2017-10-11 12:22:21 +11:00
spirv.c vo_gpu: fix memleak in spirv.c 2017-09-26 17:32:36 +02:00
spirv.h vo_gpu: vulkan: generalize SPIR-V compiler 2017-09-26 17:25:35 +02:00
user_shaders.c
user_shaders.h vo_gpu: make the vertex attribs dynamic 2017-09-28 01:54:38 +02:00
utils.c msg: reinterpret a bunch of message levels 2017-12-15 22:28:47 -08:00
utils.h vo_gpu: simplify structs / names 2017-09-22 16:58:55 +02:00
video_shaders.c vo_gpu: d3d11: add RA caps for ra_d3d11 2017-11-07 20:27:13 +11:00
video_shaders.h vo_gpu: d3d11: add RA caps for ra_d3d11 2017-11-07 20:27:13 +11:00
video.c vo_gpu: skip DR for unsupported image formats 2018-01-18 00:25:00 -08:00
video.h vo_gpu: make it possible to load multiple hwdec interop drivers 2017-12-01 05:57:01 +01:00