Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
retrace: Revamp IDXGIKeyedMutex handling.
It seems We can't safely emulate D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX with D3D11_RESOURCE_MISC_SHARED without introducing race conditions with applications which use IDXGIKeyedMutex to synchronize multiple contexts in a single process (e.g, IE11.) But we can't blindly honour IDXGIKeyedMutex either without introducing deadlocks with applications which use IDXGIKeyedMutex to synchronize contexts across multiple processes (e.g, WarThunder.) So compromise here by always trying to honour IDXGIKeyedMutex methods, but never deadlocking.
- Loading branch information
Showing
3 changed files
with
16 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters