Repository navigation
Winit 0.31 draft - #7731
Winit 0.31 draft#7731lucasmerlin wants to merge 2 commits into
Conversation
|
Preview is being built... Preview will be available at https://egui-pr-preview.github.io/pr/7731-lucas/winit-0.31 View snapshot changes at kitdiff |
|
Blitz Some notes:
|
If I may ask. What exactly is missing/not working? I need this for an app I am trying to develop that depends on Stylus support, so I might just do the work myself for updating egui to the newest version. Issue just becomes: How will other PRs look like? Is a PR freeze being done? |
|
Hm actually, looking at your PR now, it seems like the majority of problems lie basically down to the fact, that the winit beta just hasn't been implemented yet anywhere in the dependency chain and this looks to actually have to take multiple months before everyone else has caught up... I'll switch to SDL for now. I don't think winit is the right solution xd |
Yeah, we need a proper winit release so that the ecosystem can actually update |
|
I have an independent migration from current main available for design review: https://github.com/mockydevs/egui/tree/feat/winit-031-review (29324e8). It ports both renderers, eframe/event-loop examples, IME and asynchronous Wayland file/text transfers. I am preparing a draft PR with reproducible protocol evidence and the exact dependency order. This is not release-ready: it pins unreleased winit/AccessKit/glutin/SCTK prototypes, and the transfer/portal API direction still needs agreement in rust-windowing/winit#4790. Linux documentation, debug/release Clippy and WASM compilation checks pass; the full test run has five image-snapshot target failures which I am checking against upstream, and the dependency audit rejects the prototype Git sources/duplicates. I have not replaced reference snapshots or weakened the audit rules. macOS/mobile runtime validation is still outstanding. Sharing here before opening the separate draft, as requested by the contribution guide for large changes. I would welcome guidance on coordinating the migration and agreed dependency releases. |
I was curious how much work the winit update would be, so I tried getting hello world simple to run.
It doesn't run yet but I got it to compile. Looks like this will be a lot of effort to get perfect. (Maybe time to remove the glow backend since the two backends add a lot of complexity?).
I commented a ton of code to try to get something to compile, so this will need a lot more work. Opening this mostly in case someone wants to pick up the work or discuss how we should do things.