Share surface between D2D, DX10, DX11

855 views Asked by At

I need to share surface between direct 3d 10.1 device and direct 3d 11 device to permit my application to render Sprite sharing surface between diirect 2d and direct 3d 10.1. I've read this topic http://msdn.microsoft.com/en-us/library/windows/desktop/ee913554(v=vs.85).aspx but ther is only example for sharing between d2d and d3d 10.1 and not for sharing between d3d 10.1 and 11, can someone give me code example?

1

There are 1 answers

0
vt. On

Surface sharing between different DirecX devices is done via IDXGIResource::GetSharedHandle and ID3D11Device::OpenSharedResource

Here is another answer that explains the process in more details.