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

Lynne dev at lynne.ee
Thu Apr 29 05:49:43 EEST 2021


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.

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


More information about the ffmpeg-devel mailing list