gfx icon indicating copy to clipboard operation
gfx copied to clipboard

dx12: UWP support

Open msiglreith opened this issue 6 years ago • 2 comments

Bring Vulkan to directx world named UWP! See: https://github.com/gfx-rs/portability/issues/89

Testing can be done via gfx-portability. I have some old sample ported over to UWP: https://github.com/SaschaWillems/Vulkan/compare/master...msiglreith:uwp

(Implementation also in rostkatze for reference)

msiglreith avatar Feb 25 '19 20:02 msiglreith

@msiglreith Could you explain more?

I see that the code you linked to uses an RKZ extension. Do we need a Vulkan Portability extension for UWP windowing? Would it be different from Win32 surface? And if so, do we need to add a variant into RawWindowHandle?

kvark avatar Sep 30 '20 17:09 kvark

@kvark I'm far from an UWP expert, but yes the extension outlined would be an option (https://github.com/msiglreith/rostkatze/wiki/RKZ-extensions) In terms of raw-window-handle, it would need a new variant as well, which would pass the CoreWindow. Regarding rust ecosystem for uwp etc I haven't followed it at all. (common crates defining these types?) Right now, UWP target is tier 3 requiring building the compiler and stuff yourself.

msiglreith avatar Sep 30 '20 18:09 msiglreith