mapbox-gl-native
mapbox-gl-native copied to clipboard
OpenGL ES is deprecated in iOS 12
Platform:iOS Mapbox SDK version: Master
Steps to trigger behavior
OpenGL ES is deprecated starting with iOS 12.
https://developer.apple.com/ios/whats-new/
"Apps built using OpenGL ES will continue to run in iOS 12, but Open GL ES is deprecated in iOS 12. Games and graphics-intensive apps that previously used OpenGL ES should now adopt Metal."
Expected behavior
Deprecated APIs should not be used in the SDK.
Actual behavior
Thanks @mb12, we’re following this news closely (which also applies to OpenGL on macOS 10.14). @mapbox/gl-core is looking into our options going forward.
Sounds like add Metal2 or drop iOS/macOS. Can understand the biz decision to drop. But hoping otherwise. :)
Rest assured, we aren’t dropping iOS/macOS support. 😅
Hope you do switch over to metal for iOS/macOS. Of course you could just stay on those platforms via Unity. And thanks for the reassurance. Would be wonderful to know as soon as possible for my business planning (Autonomy work prototyped on iOS). Thanks!
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
This is definitely not stale.
Any updates from the Mapbox team on what the current thoughts are on this?
@ryanchapman the team are actively looking at Metal integration - there will be a public update in the new year once we're ready to share our plans. But rest assured that there will be a solution in place by the time Apple remove support for OpenGL!
Great to hear! Best, -Philip
On Dec 13, 2018, at 9:14 PM, Julian Rex [email protected] wrote:
@ryanchapman https://github.com/ryanchapman the team are actively looking at Metal integration - there will be a public update in the new year once we're ready to share our plans. But rest assured that there will be a solution in place by the time Apple remove support for OpenGL!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mapbox/mapbox-gl-native/issues/12061#issuecomment-447105604, or mute the thread https://github.com/notifications/unsubscribe-auth/ACICs1BhiZA8mF0KXnRAj3dakZ-pFJhhks5u4rU8gaJpZM4UaG9t.
Any news on this? Normally, Apple would take awhile to actually remove support for deprecated technologies. However, with the new iOSMac platform arriving this year, and ARM Macs not far behind, this process could be significantly accelerated.
http://shapeof.com/archives/2018/6/marzipan_to_arm_on_mac.html
Please fix
Hi everyone, I just discovered this ticket. Rest assured, we have actively been working on Metal support for the last 6 months, and today, Mapbox on Metal is feature-complete. We can render full maps with Metal from mapbox-gl-native that are identical to the maps we can render today on OpenGL.
There will be minimal impact to you and your end users: you'll continue to use our published binaries, and the maps will just work for your end users' Apple devices that support Metal. Mapbox will check whether Metal is supported on a device and if so, compile the right shaders to instantiate a map on Metal; if not, it'll use OpenGL.
Stay tuned for an official public announcement this quarter.
Any news on this?
Perhaps there is a development branch we can have a look at?
@chloekraw is there any update on this, its well past "this quarter" and I've either missed it or its delayed?
@1ec5 @chloekraw I guess this lack of updates means that's drop iOS/macOS support ? Are there any links to public updates?
I am looking forward to this. Wondering if still relying on deprecated OpenGL (ES) will lead to even more trouble than missing Catalyst support as we approach WWDC. Time will tell.
As of Xcode 11.4, OpenGLES.framework is visibly marked as deprecated by the Target integrity checker, popping up with each compilation. I guess Apple is planning to push it to the Metal™ a little bit harder now. 👀

Can we please get some feedback on this from Mapbox? We're in the process of making long term business decisions on the viability of this SDK along with any changes to pricing and the lack of updates is making me nervous.
@ryanchapman Have you tried contacting Mapbox Support about this rather than waiting for an answer here?
@nnhubbard I haven't. Thought a public forum was more fitting for an open source project. I'm sure there are lots of other people watching this issue that have the same question. Might as well answer it once here rather than each contacting support.
Looking at a commit to the readme a few days ago, it seems like Metal support may be imminent https://github.com/mapbox/mapbox-gl-native/commit/97cab6365bd083d162544eb4bcae4ebd47a7ecae#diff-04c6e90faac2675aa89e2176d2eec7d8
Apple's intention definitely is to eliminate OpenGLES linking completely (as we have to link it in containing projects, this warning will surely perstist), thus raises a requirement for a Metal-only solution. 🤔
Can we please get some feedback on this from Mapbox? We're in the process of making long term business decisions on the viability of this SDK along with any changes to pricing and the lack of updates is making me nervous.
@ryanchapman - yes, we’ve been developing internally while partnering with some of our customers to help test and ensure its quality across a broad range of users and devices.
The Metal-based SDK will be available to all of our customers later this year - expect a public post in the next month that outlines our launch timeline.
With an introduction of Xcode 11.4 which very verbosely and intently warns about OpenGLES framework presence in any linked code, I came here today to bump this topic. 😎
Bumping for some news, @chloekraw? 👀
Looking forward to The Metal-based SDK. Looks like OpenGL is still present in iOS 14 and macOS 11, but running iOS apps on Apple Silicon Macs or using Mac Catalyst might need Metal?
Hi @chloekraw, Any idea when that public post about the timeline will come?
Can't wait to upgrade my app so I can start using Catalyst.
The public post went up at https://www.mapbox.com/blog/mapbox-mobile-sdk-v10-beta
Fantastic!
On Feb 28, 2021, at 10:28 PM, Andrew Harvey [email protected] wrote:
The public post went up at https://www.mapbox.com/blog/mapbox-mobile-sdk-v10-beta https://www.mapbox.com/blog/mapbox-mobile-sdk-v10-beta — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mapbox/mapbox-gl-native/issues/12061#issuecomment-787610436, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARAFM5XHQ3CMCD6SES6Z7TTBMCW7ANCNFSM4FDIN5WQ.