Posted 27 November 2012 - 02:42 PM
I'm curious if anyone knows if this is possible: I'd like to share D3D resources (2D Textures, array size=1, mip levels=1) across session boundaries. For example, I have a COM server running in session 0 that is responsible for rendering video and handing the frames out to processes running in potentially other sessions. I haven't had any luck with this so far and I'm beginning to think it's not possible. I have, however, been able to share D3D resources from within the same session, just not from two different sessions. Does anyone know if this is possible and if so, what exactly must be done? If it matters these processes are 64 bit running on Windows 8. Also, the resources are being shared from D3D11 to D3D11 and D3D9. One more thing, the call to OpenSharedResource fails with E_INVALIDARG. Any thoughts would be very much appreciated.