Transferring D3D textures to OpenGL or Vulkan contexts in Winelib

Józef Kucia joseph.kucia at gmail.com
Tue May 16 09:40:22 CDT 2017


On Tue, May 16, 2017 at 12:55 AM, Ben "Root" Anderson
<roothorick at gmail.com> wrote:
> On Sun, May 14, 2017 at 2:53 AM, Józef Kucia <joseph.kucia at gmail.com> wrote:
>> In theory Wine could implement WGL_NV_DX_interop [1] and WGL_NV_DX_interop2 [2].
>>
>> [1] - https://www.khronos.org/registry/OpenGL/extensions/NV/WGL_NV_DX_interop.txt
>> [2] - https://www.khronos.org/registry/OpenGL/extensions/NV/WGL_NV_DX_interop2.txt
>
> In theory?

I'm just a bit skeptical about usefulness of this extension in Wine
besides your use-case.

>
> The main question I can't find the answer to is, are there any
> potential copyright/IP problems (or just Wine policy issues) with
> implementing these extensions "paint by numbers" off the published
> specs?

I'm not aware of such problems. Other WGL extensions are already
implemented in Wine, see dlls/winex11.drv/opengl.c. In this case it
may be a little harder though, the extension has to understand D3D9,
D3D10 and D3D11 interfaces, and it has to talk to wined3d, and it has
to presumably map GL objects to internal wined3d GL objects.



More information about the wine-devel mailing list