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

ANGLE for iOS (looks) ready, and Apple urges devs to migrate away from OpenGLES.framework. Time for a switch? #8292

Open
misl6 opened this issue Sep 23, 2023 · 2 comments
Milestone

Comments

@misl6
Copy link
Contributor

misl6 commented Sep 23, 2023

Hello everyone!

Has been (almost) a couple of years after I did my first iteration over "making sure there's a continuity, even after Apple takes the toughest decision" (See: #4333)

I can only agree with the decision to stick with the OpenGLES.framework until something robust and mature (like ANGLE, the official one) is ready.

And finally, something seems to have changed:

... so, it's definitely time for a switch? (Or at least, a parallel implementation, since iOS < 12 does not support Metal, even if most modern apps can likely survive without supporting iOS <= 11, which is also not available anymore as a minimum deployment target in XCode 15 😅)

What are SDL devs thoughts?
Is there already something scheduled? (in SDL3)

IMHO, switching (or adding a new implementation) to ANGLE in UIKit, is something that needs to be scheduled before the next major iOS update, as even if we're still safe in iOS 17, there's no guarantee that the next iOS version will still have support for OpenGLES.framework, and having a plan B before that happens, is important for continuity for apps (and frameworks) that are using this feature.

@icculus
Copy link
Collaborator

icculus commented Sep 23, 2023

I think we should explore this now that upstream ANGLE is in better shape.

Is any of your previous patch salvageable at this point?

@misl6
Copy link
Contributor Author

misl6 commented Sep 24, 2023

Is any of your previous patch salvageable at this point?

I do not think so, as ANGLE does not have MGLKit that mimics Apple's deprecated EAGL & GLKit API. (MetalANGLE had this feature).

Looking at how has been used in WebKit could help: https://github.com/WebKit/WebKit/tree/main/Source/WebCore/platform/graphics/cocoa

Or, having a reboot of the MGLKit as described here seems a reasonable idea (I think the author is okay if someone wants to take over).

@icculus icculus added this to the 3.x milestone Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants