I'm writing a mac application that draws some of its UI on NSOpenGLView using OpenGL with legacy profile.
My app is targeted to OS X 10.7 and later.
If I migrate to OpenGL 3.2, would it prevent some users with Lion to run it, or every Mac with Lion supports OpenGL 3.2 anyway?
According to Apple, OpenGL is no longer supported. However, it appears v4. 1 of OpenGL was supported on many devices as of July 28, 2020.
OpenGL is officially deprecated by Apple starting with macOS Mojave 10.14. However, Apple is still maintaining the standard.
Mac and Android mobile devices: Go to OpenGL Extensions Viewer (Windows), and click the appropriate link to download the OpenGL Extensions Viewer from the Mac App Store, iTunes Store, or the Android Market, depending on the device and operating system.
Mac OS X Lion (version 10.7; marketed as OS X Lion) is the eighth major release of Mac OS X, Apple's desktop and server operating system for Macintosh computers.
OS X 10.7's SDK includes OpenGL 3.2's Core profile, but actual run-time support requires the presence of an OpenGL 3.2-compliant GPU and driver.
OpenGL 3.2 was released in 2008 and OS X 10.7 Lion supports certain Mac models going back to 2006. The Late 2006 Core 2 Duo MacBook Pro runs Lion and has an ATI Mobility Radeon X1600 which is an OpenGL 2.0 GPU.
By that single example it is shown that the set of computers capable of running 10.7 Lion is a superset of the set of computers capable of running OpenGL 3.2 programs.
Note that I'm neither a Mac expert nor an OpenGL programmer, I don't know to what extent OpenGL is backwards compatible. I guess compiling against OpenGL 3.2 libraries is fine, but if you try to use any hardware-accelerate 3.2 features then you'd get a runtime error. But then you should test to see if a feature is supported before using it, so your program should run fine on older Macs provided you make some minor modifications.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With