mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[c-host] dxgi: don't stall the GPU pipeline to map textures to ram
ID3D11DeviceContext_Map by default will force a CPU sync if the prior call to CopyResource has not completed, this change defers the mapping and sets the D3D11_MAP_FLAG_DO_NOT_WAIT when attempting to map the texture allowing the capture to continue without incurring an expensive CPU/GPU sync. A new tuneable has also been added * dxgi:maxTextures
This commit is contained in: