servo / webxr

Bindings for WebXR
Mozilla Public License 2.0
81 stars 23 forks source link

Switch winapi dependency to windows/windows-sys #228

Open atouchet opened 4 months ago

atouchet commented 4 months ago

The winapi crate is no longer maintained and there are now official windows/windows-sys crates from Microsoft. webxr should transition from using winapi to windows/windows-sys.

atouchet commented 4 months ago

The dependency on the associated wio crate should probably be removed as well as that looks unlikely to ever be updated.

msub2 commented 4 months ago

Seems like this will be dependent on https://github.com/servo/surfman/pull/298 merging first, as SurfmanAdapter::from_dxgi_adapter currently expects a ComPtr.

msub2 commented 3 months ago

Actually, after having separated out D3D11-specific code it seems like the function that calls that isn't even used right now. Will take another look this week to see if this can be done without waiting for surfman