Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 29 Nov 2009
Offline Last Active Feb 21 2013 04:53 PM

#5030524 Shared resources (eg textures) between devices/threads

Posted by on 09 February 2013 - 05:15 PM

Sharing textures (and other resources) between devices/threads works just fine as advertised, when using D3D9Ex (and not D3D9). I wish Microsofts' documentation would state that more clearly.


The reason is that only D3D9Ex utilizes the features provided through WDDM display drivers, like eg sharing resources. So D3D9Ex was specifically introduced for people like me that want to stick with D3D9, but want to use some of the features that were introduced with Vista (and later). So thanks for that to Microsoft :)


So the actual fix was to use Direct3DCreate9Ex() and CreateDeviceEx() instead of their D3D9 predecessors. Everything else remains the same.