Skip to content
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

Supported platforms #262

Open
implicit-invocation opened this issue Oct 21, 2023 · 4 comments
Open

Supported platforms #262

implicit-invocation opened this issue Oct 21, 2023 · 4 comments
Labels
question Further information is requested

Comments

@implicit-invocation
Copy link

Can we use this for ios/android development?

@grovesNL
Copy link
Owner

This would work fine for Android. On new versions of iOS you need to use Metal. There are some emulators that run OpenGL/OpenGL ES on top of Metal but I don't think I'd recommend that if you can avoid it.

@grovesNL grovesNL added the question Further information is requested label Oct 23, 2023
@implicit-invocation
Copy link
Author

AFAIK, Apple deprecated OpenGL ES from ios12 but apps using OpenGL ES still build and run normally on even ios16-17.
Just wondering whether glow already has the binding for that target, or I have to add it myself.

For an OpenGL ES implementation on top of Metal, MetalAngle works pretty well but I understand your reason for avoiding it.

@grovesNL
Copy link
Owner

grovesNL commented Oct 23, 2023

Sure, as long as you're ok relying on GL availability in iOS then you should be able to use glow there. Depending on the version you need, you could probably use the Metal backend that's been implemented recently in ANGLE itself (https://github.com/google/angle).

@implicit-invocation
Copy link
Author

I can confirm that glow work on ios, I shamelessly copied some rust-objc and get_proc_addr calls from miniquad and render stuffs just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants