-
Notifications
You must be signed in to change notification settings - Fork 943
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
Version 0.25 nor latest master allowing Surface to be acquired in android. #1986
Comments
I was able to figure out some Android compatibility: winit versions test with ndk_glue 0.2.1 winit versions test with ndk_glue 0.3.0 winit versions test with ndk_glue 0.4.0 That would suggest latest working pair combination is If this is expected, feel free to close. |
Hi, right the edit: probably worth adding a note in the README |
Hi @msiglreith I guess then Is there place to add such a versioning table anywhere? |
I agree, it's not immediately clear. README in the Android section seems best to me.
yep, next releases would support 0.4 then |
Hi, I've issued a PR to have some documentation relevant to this. Let me know if you guys are ok with it! |
@nmpribeiro It looks like this is solved now, can we close this? |
Sure. Closed! |
Even though
winit
works fine in android, I cannot ever grab a valid surface. Try latest master with wgpu triangle example in android and it will crash on surface creation. If you downgrade tov0.24
it works fine.Following this thread from wgpu, I have tried to fix the surface not found on startup by adapting my logic to use
Resume
/Suspended
events. However, only withwinit
v0.24
that works. If I move tov0.25
or latest master the behaviour is changed, not triggering theResume
event nor the ability to grab the surface on app startup (hence never grabbing it).This is what happens with
winit
from my forked repo and ios fix, forked from tag v0.23 with just a small ios fix already in PR inwinit
repo:output:
This is with
winit
v0.24
:While in my android simulator it doesn't work, it is expected that support for OpenGL for android is still lagging behind.
The text was updated successfully, but these errors were encountered: