First post, by Sgeo
I like modding old games to work with VR. Unfortunately, that requires supporting Direct3D 11+, or OpenGL, or Vulkan. I recently found out that OpenGL reportedly does not perform well with AMD graphics cards.
If I were to run a D3D9 game (or potentially older) under D3D11 via dgVoodoo2, would it be possible for me to obtain an ID3D11Device? Would it be possible for me to use a ID3D11Texture2D (obtained from the VR API) directly? Would the IDirect3D9Device == the equivalent ID3D11Device, or is there a translation layer I wouldn't have access to?
In theory I might be able to just copy pixels via CPU from the D3D9 to the D3D11 surface instead of using dgVoodoo2, but should I worry about the performance impact?
Currently, I'm doing stuff by using WineD3D and then using OpenGL to copy from the current back buffer to the provided texture, but that's mostly possible because there is in fact a "current" back buffer. I don't know D3D well enough to know if there's such global aspects anywhere.