]> git.sesse.net Git - ffmpeg/commit
hwcontext_vulkan: dlopen libvulkan
authorLynne <dev@lynne.ee>
Thu, 29 Apr 2021 01:37:42 +0000 (03:37 +0200)
committerLynne <dev@lynne.ee>
Thu, 29 Apr 2021 22:08:37 +0000 (00:08 +0200)
commitcf17e2323f9db866e47312dfa38c9290423d30c1
tree34b900f991afaf02d72e99b9aaa3653aa09f3a5f
parent4a6581e968d38f009140e055e29be9953279cc7b
hwcontext_vulkan: dlopen libvulkan

While Vulkan itself went more or less the way it was expected to go,
libvulkan didn't quite solve all of the opengl loader issues. It's multi-vendor,
yes, but unfortunately, the code is Google/Khronos QUALITY, so suffers from
big static linking issues (static linking on anything but OSX is unsupported),
has bugs, and due to the prefix system used, there are 3 or so ways to type out
functions.

Just solve all of those problems by dlopening it. We even have nice emulation
for it on Windows.
configure
libavutil/hwcontext_vulkan.c