Forum Discussion
knchaffin
7 years agoExplorer
wglDXRegisterObjectNV returns 0 but no error ( NV_DX_interop2 )
Has anyone successfully added NV_DX_interop2 functionality to a PC Win10 OVR SDK app with NVIDIA GTX 1080 GPU? Just to be clear, my goal is to be able to execute arbitrary GL code and have it writ...
knchaffin
7 years agoExplorer
Is there any possibility that Oculus is doing a wglDXRegisterObjectsNV in the background on the application rendertarget swapchain textures? No matter what I try, wglDXRegisterObjectsNV returns 0 but sets no error. I think I have seen this behavior before when I tried to register an object that was already registered. Of course this also raises the question as to whether Oculus is also doing a wglDXOpenDeviceNVFunc in the background, since wglDXRegisterObjectsNV requires a DX/GL device handle argument .
It would be nice to know if in fact full NV_DX_interop2 via wglDXOpenDeviceNVFunc is possible with the OVR SDK and runtime. I'm sure my confusion is related to my ignorance of exactly what Oculus is doing in the runtime DLL, for which source code is not provided (at least that is my understanding). I see the SDK LibOVR Shim functions for communicating with the DLL, but that's it.
Thanks to anyone who can clarify this.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago