Anyway to implement a our own direct mode in driver like which for oculus?
Hey, i noticed that there was some change in OpenVR 1.0.1, the direct mode component had been splited out of vr::IVRDisplayComponent. But whatever for this new SDK nor older ones, those functions like CreateSwapTextureSet() were never called even if direct mode enabled. Any idea?
Anybody find way to manage this functions through driver? As i saw, now textures and window created from Compositor without give access to it with driver.
This workaround currently only works for the Oculus driver.
What do you want to accomplish with your own direct mode that you can't accomplish with the compositor drawing directly to the display?
I have custom display that connected to computer by ethernet, and it does not recognized as Windows display. I made API that allows to draws any DirectX window to this display, and now want connect OpenVr driver :)
How to use this workaround? i tried set Prop_CurrentUniverseId_Uint64 to 1 (Reserved for oculus) and return TRUE from IsDisplayRealDisplay()
But Compositor also want to create SwapTextureSet themself and exit with error: Invalid adapter (-1, -1) specified!