-
-
Notifications
You must be signed in to change notification settings - Fork 478
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
Glutin0.23 android #1274
Glutin0.23 android #1274
Conversation
691cfc9
to
e6b7185
Compare
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've taken a quick look at the PR, but I haven't tested it yet.
To handle the android lifetime cycle thing, can't we just have users drop the |
This comment has been minimized.
This comment has been minimized.
actually if all platforms emit |
Ah, well, Meanwhile, you don't need an I should also note that dropping
This sounds like an excellent idea, now that I come to think of it. Yeah, we should do that and then platforms don't have to implement
Yeah, should be fine on GLX and EGL, as, like I mentioned above, that is what was intended. Off my limited knowledge of how WGL works, I can't imagine anything will go wrong. No clue about cocoa though. |
67ffe71
to
b8904e1
Compare
WindowEvent::Resized(size) => size, | ||
WindowEvent::CloseRequested => { | ||
*control_flow = ControlFlow::Exit; | ||
return; |
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.
Are these returns necessary?
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.
Minor doc nitpick. Otherwise, this PR is only waiting on the appropriate winit changes :D
21542a3
to
176b218
Compare
I rebased the changes and I think you can merge all except the last commit which is specific to the winit changes. That way I don't hold up other platform implementations. |
Okay, one last thing (I swear): is this comment still up to date? |
I can't find the comment, I think the commit you linked is outdated? Github does some weird caching sometimes. |
176b218
to
2904943
Compare
0379295
to
e68b47a
Compare
3308ab6
to
e95efe7
Compare
85773f9
to
4c12045
Compare
.github/workflows/ci.yml
Outdated
path: winit | ||
ref: winit-glutin-next | ||
ref: winit-glutin-next-android |
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.
NOTE to self
if: contains(matrix.platform.target, 'android') | ||
# FIXME | ||
run: cargo install --git https://github.com/dvc94ch/android-ndk-rs --branch android-glue | ||
|
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.
NOTE to self
63f06fd
to
a792317
Compare
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.
Can glutin's readme be amended with instructions for building the examples on android?
0b2e694
to
ad4ae79
Compare
Closing due to inactivity |
cargo fmt
has been run on this branchcargo doc
builds successfullyCHANGELOG.md
if knowledge of this change could be valuable to users