Apple and deprecation of OpenGL and OpenCL

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Apple and deprecation of OpenGL and OpenCL

Post by triplus »

Hopefully it won't turn out to be as bad as it reads (after the macOS 10.14). But this will likely represent some challenges in the future on our side? As our current viewport is not all that likely to get a proper Metal API support anytime soon?
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.
https://developer.apple.com/macos/whats-new/
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Apple and deprecation of OpenGL and OpenCL

Post by yorik »

Most of what I read today says that 1) they won't remove opengl from macos, they will just stop updating it. So it should still live on its own for some time, and 2) probably some good opengl to metal translation library will emerge soon because people will vastly want to continue using opengl apps...

In any case, this is a very crazy move of apple...
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Apple and deprecation of OpenGL and OpenCL

Post by NormandC »

But so typical.

I stopped being a Mac user back in 1999 and never looked back.
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Apple and deprecation of OpenGL and OpenCL

Post by Jee-Bee »

I think they want move forward to to vullkan...
Opus
Posts: 91
Joined: Wed Nov 08, 2017 5:36 pm

Re: Apple and deprecation of OpenGL and OpenCL

Post by Opus »

yorik wrote: Tue Jun 05, 2018 1:40 am ...probably some good opengl to metal translation library will emerge soon because people will vastly want to continue using opengl apps...
It's already here:
https://github.com/KhronosGroup/MoltenVK
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: Apple and deprecation of OpenGL and OpenCL

Post by looo »

Opus wrote:It's already here:
I can't see anything related to opengl.

I guess it's quite simple: If there is no opengl on osx there will be no coin3d and also no freecad available.
Opus
Posts: 91
Joined: Wed Nov 08, 2017 5:36 pm

Re: Apple and deprecation of OpenGL and OpenCL

Post by Opus »

looo wrote: Tue Jun 05, 2018 8:38 am
Opus wrote:It's already here:
I can't see anything related to opengl.
Vulkan isn't the next generation of OpenGL?
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Apple and deprecation of OpenGL and OpenCL

Post by Jee-Bee »

This is what wiki said about it
Vulkan was first announced by the non-profit Khronos Group at GDC 2015.[8][11][12] The Vulkan API was initially referred to as the "next generation OpenGL initiative", or "OpenGL next"[13] by Khronos, but use of those names was discontinued once the Vulkan name was announced.[14] Vulkan is derived from and built upon components of AMD's Mantle API, which was donated by AMD to Khronos with the intent of giving Khronos a foundation on which to begin developing a low-level API that they could standardize across the industry, much like OpenGL.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: Apple and deprecation of OpenGL and OpenCL

Post by looo »

no I don't think so.
At least I get the impression from reading some posts about porting osg from opengl- to vulkan-backend. And it doesn't seem like this is a easy job... If it is difficult for osg, it will be even more difficult for coin. So I don't think vulkan will replace opengl...
Opus
Posts: 91
Joined: Wed Nov 08, 2017 5:36 pm

Re: Apple and deprecation of OpenGL and OpenCL

Post by Opus »

At some point, OpenGL will be deprecated.
Post Reply