Open austinEng opened 1 month ago
Jun 6 meeting:
I have slight concerns with adding the flags directly in this descriptor because it is only useful on the D3D11 and D3D12 backend, but the HWND descriptor can also be used to Vulkan and OpenGL/ES, so the flags would do nothing there. At the minimum we'll need docs to cover that.
We hadn't considered HWND on Vulkan / GL - do you think this would be better as an independent feature?
I think if the feature isn't enabled, you'd get a validation error during surface.Configure(..) (need to know the device first)
I guess if MakeWindowAssociation gets called in Configure we could make this an extension to Configure?
Moving to an extension to Configure sounds fine to me. @SoapyMan would you like to champion adding this since it seems important for your use case?
Sounds good to me
This PR https://github.com/google/dawn/pull/16 adds DXGI_MWA_NO_ALT_ENTER always to Dawn.
Probably the better thing would be for an application to be able to configure the window association when creating the WGPUSurface.
Concretely, something like:
For reference, valid flags are: