On Tue, May 16, 2017 at 12:55 AM, Ben "Root" Anderson roothorick@gmail.com wrote:
On Sun, May 14, 2017 at 2:53 AM, Józef Kucia joseph.kucia@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.