You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
winit supports both stdweb and web-sys by using a <canvas> element for the "window". Using winit for WASM may simplify some of the canvas handling code as glutin also uses winit behind the the scene (however glutin itself does not work on WASM so only the winit parts can be shared).
It's not absolutely necessary to deprecate Window::render, but it does mean there will be two separate code paths for handling the event loop since Window::render_loop will no longer use poll_events.
winit
supports bothstdweb
andweb-sys
by using a<canvas>
element for the "window". Usingwinit
for WASM may simplify some of the canvas handling code asglutin
also useswinit
behind the the scene (howeverglutin
itself does not work on WASM so only thewinit
parts can be shared).Potential blockers:
PointerEvent
and notMouseEvent
(fixed on master by Web: Use mouse events instead of pointer events if the latter isn't supported rust-windowing/winit#1630 but unreleased)winit
and changekiss3d
code flow and API to use event loop v2The text was updated successfully, but these errors were encountered: