using IDirectD3DSurface9 in amp

Category: visual studio parallelcpp


wanglei hxt on Sat, 07 Jan 2017 12:46:45


I have a IDirect3DSurface9 pointer, how can i do something about it use AMP?

I tried to copy D3DSurface9 to IDirect3D9Texture then share to ID3D11Texture2D, but I got exception when I use texture_view.set(idr, unorm()) in parallel_for_each.

Best regards, Wanglei.