mapbox-gl-native icon indicating copy to clipboard operation
mapbox-gl-native copied to clipboard

OpenGL ES is deprecated in iOS 12

Open mb12 opened this issue 7 years ago • 33 comments

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

mb12 avatar Jun 05 '18 03:06 mb12

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.

1ec5 avatar Jun 05 '18 21:06 1ec5

Sounds like add Metal2 or drop iOS/macOS. Can understand the biz decision to drop. But hoping otherwise. :)

monadical avatar Jun 09 '18 23:06 monadical

Rest assured, we aren’t dropping iOS/macOS support. 😅

1ec5 avatar Jun 12 '18 04:06 1ec5

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!

monadical avatar Jun 13 '18 01:06 monadical

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

stale[bot] avatar Dec 11 '18 08:12 stale[bot]

This is definitely not stale.

julianrex avatar Dec 11 '18 16:12 julianrex

Any updates from the Mapbox team on what the current thoughts are on this?

ryanchapman avatar Dec 11 '18 17:12 ryanchapman

@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!

julianrex avatar Dec 13 '18 20:12 julianrex

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.

monadical avatar Dec 13 '18 22:12 monadical

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

lightandshadow68 avatar Mar 12 '19 20:03 lightandshadow68

Please fix

Mr-Ventures avatar May 11 '19 18:05 Mr-Ventures

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.

chloekraw avatar Jun 27 '19 18:06 chloekraw

Any news on this?

lightandshadow68 avatar Oct 17 '19 22:10 lightandshadow68

Perhaps there is a development branch we can have a look at?

mindyou avatar Nov 15 '19 12:11 mindyou

@chloekraw is there any update on this, its well past "this quarter" and I've either missed it or its delayed?

hactar avatar Dec 10 '19 10:12 hactar

@1ec5 @chloekraw I guess this lack of updates means that's drop iOS/macOS support ? Are there any links to public updates?

verthais avatar Jan 10 '20 15:01 verthais

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.

halset avatar Jan 21 '20 10:01 halset

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. 👀

Screenshot 2020-02-07 at 09 17 12

username0x0a avatar Feb 07 '20 08:02 username0x0a

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 avatar Feb 07 '20 17:02 ryanchapman

@ryanchapman Have you tried contacting Mapbox Support about this rather than waiting for an answer here?

nnhubbard avatar Feb 07 '20 17:02 nnhubbard

@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.

ryanchapman avatar Feb 07 '20 17:02 ryanchapman

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

tomhut avatar Feb 10 '20 09:02 tomhut

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. 🤔

username0x0a avatar Feb 10 '20 14:02 username0x0a

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.

chloekraw avatar Feb 12 '20 17:02 chloekraw

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. 😎

username0x0a avatar Apr 02 '20 14:04 username0x0a

Bumping for some news, @chloekraw? 👀

username0x0a avatar Jun 03 '20 23:06 username0x0a

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?

halset avatar Jun 30 '20 08:06 halset

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.

fousa avatar Jul 17 '20 13:07 fousa

The public post went up at https://www.mapbox.com/blog/mapbox-mobile-sdk-v10-beta

andrewharvey avatar Mar 01 '21 03:03 andrewharvey

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.

monadical avatar Mar 01 '21 04:03 monadical