[FFmpeg-devel] [PATCH 2/2] hwcontext_vulkan: dlopen libvulkan

Lynne dev at lynne.ee
Thu Apr 29 17:27:02 EEST 2021


Apr 29, 2021, 04:49 by dev at lynne.ee:

> Apr 29, 2021, 04:35 by dev at lynne.ee:
>
>> Apr 29, 2021, 03:54 by dev at lynne.ee:
>>
>>> 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.
>>>
>>> Patch attached.
>>>
>>
>> Thanks to jamrial for telling me to zero extralibs, now there's no linking
>> at all to libvulkan.
>> v2 attached.
>>
>
> v3 attached.
>

v4 attached, added a cpp-only test version of test_pkg_conifg
and fixed the hardnamed library name.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4-0001-hwcontext_vulkan-dlopen-libvulkan.patch
Type: text/x-patch
Size: 5912 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210429/cb073c79/attachment.bin>


More information about the ffmpeg-devel mailing list