13

I've read that OpenGL was deprecated in macOS Mojave 10.14 in the favour of Metal, Apple's proprietary low-level graphics API. Has it been completely removed in macOS Catalina? glxinfo appears to be not installed.

OpenGL is still supported in the latest iMac - supported versions

If it has been removed, is there a way to install it?

1
  • 2
    glxinfo is not a general OpenGL tool. It's specific to the X Window System, which is not the native windowing system of macOS. If you install XQuartz or X.org, it should come with glxinfo. – Ken Thomases Jan 9 '20 at 22:16
13

OpenGL is officially deprecated by Apple starting with macOS Mojave 10.14. However, Apple is still maintaining the standard.

OpenGL and OpenCL

OpenGL and OpenCL were officially deprecated in Mojave last year, though that's a little misleading since it implies that Apple had been actively maintaining and updating its support for those standards. In Catalina, as in every macOS version going all the way back to Mavericks, the macOS OpenGL implementation is stuck at version 4.1 (2010), and the OpenCL version is stuck at 1.2 (2011). This means that apps that still rely on those APIs on macOS will continue to run, provided they've been updated to meet the 64-bit-only requirement. But you shouldn't be developing new Mac apps that rely on OpenGL or CL for anything important.

The situation can be misleading for OpenGL developers. But Apple is clearly hinting they will not support the technology moving forward in the future.

18
  • 1
    Interesting... Has Apple stated a reason for their decision? Does it have anything to do with licensing issues? – Seamus Jan 9 '20 at 18:00
  • 4
    @Seamus No reason whatsoever stated officially (which is as expected from Apple). One reasonable explanation is to have a more efficient AND proprietary technology. – Nimesh Neema Jan 9 '20 at 18:52
  • 2
    @Seamus The reason bash is so old is because it is the latest available under a license Apple likes. You can hardly blame Apple for somebody else changing the license to something incompatible with what they need. (and the solution appears to be replacing bash with zsh) – Thorbjørn Ravn Andersen Jan 10 '20 at 8:04
  • 1
    @Seamus - it’s not about what you pay for the Apple product because you have two options: update it yourself, or don’t buy Apple products. Apple doesn’t include anything with GPLv3 licensing because they would have to make everything in macOS available to everyone. So, it’s not about what you pay, but what they would legally be obligated to do. Darwin is open source, macOS is not. – Allan Jan 10 '20 at 9:51
  • 1
    @Seamus but on the flip side, the point of GPL is that if you want a newer bash you are completely free to build it yourself and replace the shipped version. – OrangeDog Jan 10 '20 at 10:48
8

It is still there and located at /System/Library/Frameworks/OpenGL.framework but it seems glxinfo is missing

See comment on original question for information on installing glxinfo

1
  • This is the much shorter and clearer answer than the above one. – allenlinli Mar 31 '20 at 10:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .