This pull request improves the performance of the rendering thread which caused by the waiting time for rendering commands to copy render textures.
The past implementation is waiting the ID3D11DeviceContext::Flush to wait completion of rendering process, therefore it increases the load on rendering thread. In this change, by using ID3D11Fence to wait GPU process on the worker thread, it decreases the load on the rendering thread.
Currently, we are developing the same change for D3D12.
This pull request improves the performance of the rendering thread which caused by the waiting time for rendering commands to copy render textures.
The past implementation is waiting the
ID3D11DeviceContext::Flush
to wait completion of rendering process, therefore it increases the load on rendering thread. In this change, by usingID3D11Fence
to wait GPU process on the worker thread, it decreases the load on the rendering thread.Currently, we are developing the same change for D3D12.