https://github.com/rust-windowing/winit-next
https://github.com/rust-windowing/winit-next
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rust-windowing/winit-next
- Owner: rust-windowing
- License: apache-2.0
- Created: 2024-01-06T09:49:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-07T21:58:36.000Z (over 1 year ago)
- Last Synced: 2025-04-06T12:37:53.495Z (7 months ago)
- Language: Rust
- Size: 43 KB
- Stars: 14
- Watchers: 5
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Exploring approaches to winit API
**This is just a prototype showing _my_ vision for the future winit API.
The API itself is just rough idea on how it may look like**
The design is motivated by endless amount of issues where we need to model feedback
between the user and application and by the fact that GUI is generally single threaded.
The desired layout:
- `winit-core` - top-level traits not tied to any platform and ideally free from platform
extensions.
- `winit` - glue around event loop creation in a cross platform way and managing extensions.
- `winit-wayland` - wayland backend implementing `winit-core`. Same should be done for other backends.
- `winit-examples` - examples for winit.
The example lives in the `winit-wayland`, but it'll be moved once the glue API is designed.