mpv/video/out/gpu
Philip Langdale 93f800a00f vo_gpu: vulkan: Add support for exporting buffer memory
The CUDA/Vulkan interop works on the basis of memory being exported
from Vulkan and then imported by CUDA. To enable this, we add a way
to declare a buffer as being intended for export, and then add a
function to do the export.

For now, we support the fd and Handle based exports on Linux and
Windows respectively. There are others, which we can support when
a need arises.

Also note that this is just for exporting buffers, rather than
textures (VkImages). Image import on the CUDA side is supposed to
work, but it is currently buggy and waiting for a new driver release.

Finally, at least with my nvidia hardware and drivers, everything
seems to work even if we don't initialise the buffer with the right
exportability options. Nevertheless I'm enforcing it so that we're
following the spec.
2018-10-22 21:35:48 +02:00
..
context.c wscript: split egl-android from android 2018-08-20 17:16:22 +02:00
context.h vo_gpu: remove old window screenshot glue code and GL implementation 2018-02-13 17:45:29 -08:00
d3d11_helpers.c vo_gpu: d3d11: implement tex_download() 2018-02-13 21:25:15 +11:00
d3d11_helpers.h vo_gpu: d3d11: implement tex_download() 2018-02-13 21:25:15 +11:00
hwdec.c hwdec: detach d3d and d3d9 hwaccel from angle 2018-01-25 20:57:45 -08:00
hwdec.h
lcms.c vo_gpu: allow higher icc-contrast and improve logging 2018-05-17 22:56:45 +03:00
lcms.h
libmpv_gpu.c drm/atomic: refactor hwdec_drmprime_drm with native resources 2018-05-01 20:48:02 +03:00
libmpv_gpu.h client API: add a new way to pass X11 Display etc. to render API 2018-03-26 19:47:08 +02:00
osd.c
osd.h
ra.c client API: add a new way to pass X11 Display etc. to render API 2018-03-26 19:47:08 +02:00
ra.h vo_gpu: vulkan: Add support for exporting buffer memory 2018-10-22 21:35:48 +02:00
shader_cache.c vo_gpu: use explicit offsets for push constants 2018-09-29 20:15:10 +02:00
shader_cache.h
spirv.c vo_gpu: vulkan: fix strncpy truncation in spirv_compiler_init 2018-10-21 23:33:10 +02:00
spirv.h
spirv_shaderc.c vo_gpu: switch to optimization level performance 2018-09-01 16:14:22 +02:00
user_shaders.c
user_shaders.h
utils.c vo_gpu: fix vec3 packing in UBOs/push_constants 2018-09-29 20:15:10 +02:00
utils.h
video.c vo_gpu: split --linear-scaling into two separate options 2018-10-19 22:58:01 +02:00
video.h vo_gpu: split --linear-scaling into two separate options 2018-10-19 22:58:01 +02:00
video_shaders.c vo_gpu: adjust PRNG variant used by GL shaders 2018-09-26 23:53:05 +03:00
video_shaders.h vo_gpu: simplify and correct color scale handling 2018-02-20 22:02:51 +02:00