Sample demonstrates how to use DXGI 1.1 synchronized shared surface across two Direct3D10.1 devices created in a parent and a child process. The child process's Direct3D10.1 device renders a spinning cube. Sample specific details
- surface is shared between a D3D10.1 device of a parent proc and a D3D10.1 device of its child proc
- the shared surface is the same size as the entire hWnd/swapchain backbuffer created in parent proc
- sample does not handle window resize and therefore, the shared surface size is fixed
- interprocess communication occurs via command line arguments only
- child proc's D3D device renders directly to the shared surface
DXGI 1.1 APIs provide the functionality to synchronize reading from and writing to the same video memory surface (DXGISurface1), by two or more Direct3D devices. The rendering devices using synchronized shared surfaces can be Direct3D 10.1 and/or Direct3D 11 devices, each running in the same process and/or cross processes. For more information, refer to August 2009 DirectX SDK documentation, http://msdn.microsoft.com/en-us/library/ee421920(VS.85).aspxFor whitepaper on detailed documentation of synchronized shared surfaces support and its usage in sample applications, refer to http://msdn.microsoft.com/en-us/library/ee913554(VS.85).aspx.
|