-
Notifications
You must be signed in to change notification settings - Fork 1.1k
winit-core: new crate #4208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winit-core: new crate #4208
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick look so far, very focused on making reviewing this easier.
12e2587 to
42c9a07
Compare
|
I've split it somehow logically. Also, I haven't added everything to I'll still go through and add missing. Also, not sure what to do with |
|
Also, the |
|
The API will also need |
madsmtm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reviewed it commit-by-commit, and then globally, it was very clear to follow. Though I think we should probably still squash-merge, for better git history (again, very much my focus here).
Requesting changes to:
- Figure out the docs stuff.
- Perhaps move a few things to separate PRs.
- Discuss avoiding constructors on POD types like
VideoMode.
|
Also, the intend is not squash anything, since every commit builds on its own, so while I can take things out, some things don't make sense without the rest of changes here e.g. window attributes. |
42c9a07 to
99831d5
Compare
|
I'm okay with rebase-merging, but only if you squash "winit-core: move window, except attrs", "winit-core: move WindowAttributes" and "winit: drop window module stub". Again, I want |
99831d5 to
355e500
Compare
squashed them. |
|
The only real blocker for me now is that the |
madsmtm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#4208 (comment) is still open, but otherwise I'm good to move forwards with this.
355e500 to
09038bc
Compare
Create `WindowAttributes` for respective platform specific window attributes in `winit` due to move of `WindowAttributes`.
Generally, winit-core doesn't know about underlying platforms, though, some general information which will true for any implementation was left in place.
09038bc to
f320fb2
Compare
|
Thanks for pushing forwards on this @kchibisov! |
Split trait based public API of winit into winit-core. Part of #3433.
--
Draft for now, since need to take a pass on docs and organize where things should lay.