Did iOS 12 will automatically turn OpenGL ES into Metal?

Hi, all,

I'm writing my own app with OpenGL ES as my rendering backend. But I just look into the profiling data collected by instruments in Xcode, I found that there were lots of events running in Metal driver level. So does iOS 12 will automatically transfer my OpenGL ES commands into Metal commands?


Thanks

Replies

OpenGL runs on top of Metal on iOS (and has for some years), so pretty much yes. That doesn't mean you'll get the benefits of Metal, and OpenGL is still depreciated so if at some point it's removed from iOS your app will no longer work.