PixInsight Forum (historical)

PixInsight => General => Topic started by: JamieInCLT on 2018 June 05 17:49:37

Title: Apple Mojave deprecating OpenGL (last version that will support it)
Post by: JamieInCLT on 2018 June 05 17:49:37
from https://developer.apple.com/macos/whats-new/

Looks like Mojave will be the last version supporting OpenGL, not sure if the devs have seen this

Quote
Deprecation of OpenGL and OpenCL

Apps built using OpenGL and OpenCL will continue to run in macOS 10.14, but these legacy technologies are deprecated in macOS 10.14. Games and graphics-intensive apps that use OpenGL should now adopt Metal. Similarly, apps that use OpenCL for computational tasks should now adopt Metal and Metal Performance Shaders.

Metal is designed from the ground up to provide the best access to the modern GPUs on iOS, macOS, and tvOS devices. Metal avoids the overhead inherent in legacy technologies and exposes the latest graphics processing functionality. Unified support for graphics and compute in Metal lets your apps efficiently utilize the latest rendering techniques. For information about developing apps and games using Metal, see the developer documentation for Metal, Metal Performance Shaders, and MetalKit. For information about migrating OpenGL code to Metal, see Mixing Metal and OpenGL Rendering in a View.
Title: Re: Apple Mojave deprecating OpenGL (last version that will support it)
Post by: Russ on 2018 July 12 15:24:16
I haven't seen an answer to this important question. I imagine that there are a lot of us Mac people using PixInsight, so we would all have a vital interest in the OpenGL question.
Title: Re: Apple Mojave deprecating OpenGL (last version that will support it)
Post by: FlyingBeagles on 2018 July 23 22:44:48
+1 Russ
Title: Re: Apple Mojave deprecating OpenGL (last version that will support it)
Post by: Juan Conejero on 2018 July 24 00:36:07
PixInsight uses (and requires) OpenGL to render its graphical user interface on all supported platforms. The PixInsight core application depends on the Qt library (https://www.qt.io/) for most of its graphics implementations, including the user interface, so we'll support Metal when Qt supports Metal. Hopefully this will happen in the near future since Qt is a critical support library for thousands of free and commercial applications.

Anyway, I seriously doubt that Apple decides to cease to support OpenGL in macOS, even in the long term. Thousands of applications that depend on OpenGL run nicely on macOS, so causing them to cease to work just for this reason is quite absurd.
Title: Re: Apple Mojave deprecating OpenGL (last version that will support it)
Post by: FlyingBeagles on 2018 July 25 00:40:27
Fingers crossed this is so Juan; I suspect you're right or MacOS might go the way of OS/2 :)