[vlc-devel] [PATCH 1/4] [RFC] direct3d11: add a way to (re)store the device in the global context

Steve Lhomme robux4 at gmail.com
Mon Nov 20 14:46:30 CET 2017


On Mon, Nov 20, 2017 at 2:36 PM, Steve Lhomme <robux4 at gmail.com> wrote:
> On Mon, Nov 20, 2017 at 2:20 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
>> Le 20 novembre 2017 14:26:49 GMT+02:00, Steve Lhomme <robux4 at gmail.com> a écrit :
>>>On Mon, Nov 20, 2017 at 1:20 PM, Rémi Denis-Courmont <remi at remlab.net>
>>>wrote:
>>>> This is actually pretty bad, and I don't see why you can't do
>>>something like VDPAU support. It also has a global context to work
>>>around the lack of filter pool and pool-level private data.
>>>
>>>Because for Direct3D support in QSV I will also need this information.
>>>I cannot put everything in a single module.
>>>
>>>> --
>>>> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez
>>>excuser ma brièveté.
>>>> _______________________________________________
>>>> vlc-devel mailing list
>>>> To unsubscribe or modify your subscription options:
>>>> https://mailman.videolan.org/listinfo/vlc-devel
>>>_______________________________________________
>>>vlc-devel mailing list
>>>To unsubscribe or modify your subscription options:
>>>https://mailman.videolan.org/listinfo/vlc-devel
>>
>> So what? VDPAU has more than one module too.
>
> From what I see, it's using a shared (non-static) library between the
> modules. And there's a lock in that library.
>
> I have to check if that can work for Windows library and how they're
> initialized. In that case I'll probably have to move all the
> D3D11/D3D9 libraries output to make sure they all end up in the same
> place so the dynamic loading can happen.

Also for QSV that can support both D3D11 and D3D9 output it would need
to be in the same folder. Or load the DLL explicitly in the code...

>> --
>> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list