Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[d3d11] Add stub IDXGIKeyedMutex interface. #3601

Merged
merged 1 commit into from Aug 7, 2023

Conversation

gofman
Copy link
Contributor

@gofman gofman commented Aug 3, 2023

Partially based on a patch by Derek Lesho.

I am planning on implementing the real support for that (in Proton's winevulkan first), although I guess it should be nothing wrong in having a stub meanwhile. Worst case I think some games will have videos starting showing up but still flickering. The stub already helps some games to properly show videos.

I tested that if the shared resource is created without D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX, QueryInterface indeed returns E_NOINTERFACE on Windows. It also seems to me that keyed mutex implementation belongs to DXGI resource (like other shared resources stuff) rather than to D3D11 textures of specific types.

Partially based on a patch by Derek Lesho.
@doitsujin doitsujin merged commit cbda22a into doitsujin:master Aug 7, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants