Apple deprecates OpenGL
Apple deprecates OpenGL
https://www.anandtech.com/show/12894/ap ... s-all-oses
https://en.wikipedia.org/wiki/Metal_(API)
Hello folks!
I am not very interested in that kind of "low level" APIs; but will that affect PureBasic?
The only thing I see here is that Apple is making devloper's life harder.
Maybe it's necessary due to more power with a new API?
The first thing I was looking for was "Metal API for windows"...
Why do they build such thing without talking each other, I mean Apple<->Microsoft<->Linux?
https://en.wikipedia.org/wiki/Metal_(API)
Hello folks!
I am not very interested in that kind of "low level" APIs; but will that affect PureBasic?
The only thing I see here is that Apple is making devloper's life harder.
Maybe it's necessary due to more power with a new API?
The first thing I was looking for was "Metal API for windows"...
Why do they build such thing without talking each other, I mean Apple<->Microsoft<->Linux?
-
- Enthusiast
- Posts: 334
- Joined: Mon Feb 04, 2013 5:28 pm
Re: Apple deprecates OpenGL
All the crossplatform OpenGL-based libraries maintainers that are around will be so happy.
Also the semi-wrapped OGRE uses OpenGL on OSX, but support for Metal will be added by its developers.
Then there is the OpenGL gadget, which I imagine will be simply no longer available on OSX, if/when Apple will actually remove OpenGL from the OS (but maybe it will never happen, who knows).
Metal is a better performer, but like Vulkan it's also a lot simpler to since it moves a lot of complexity up from the driver to the software using it, not exactly a great accomplishment.
Like ASM you have finer control = greater efficiency, but a lot more work to do yourself (try to render a triangle on Vulkan).
Thinking they could have adopted Vulkan instead would have been expecting too much from Apple, but Vulkan is coming to OSX anyway implemented on top of Metal, so this would probably mitigate the problems they are always causing.
Carbon first, now OpenGL. OpenGL is a much bigger deal obviously, but it's not surprising. The writing was on the wall.
AFAIK PureBasic uses OpenGL on Linux and OSX for its 2D graphic (sprites etc).I am not very interested in that kind of "low level" APIs; but will that affect PureBasic?
Also the semi-wrapped OGRE uses OpenGL on OSX, but support for Metal will be added by its developers.
Then there is the OpenGL gadget, which I imagine will be simply no longer available on OSX, if/when Apple will actually remove OpenGL from the OS (but maybe it will never happen, who knows).
Apple wrote: "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."
I wouldn't say necessary, Apple's OpenGL always sucked compared to other implementations, but that's not an OpenGL fault, just Apple's.Maybe it's necessary due to more power with a new API?
Metal is a better performer, but like Vulkan it's also a lot simpler to since it moves a lot of complexity up from the driver to the software using it, not exactly a great accomplishment.
Like ASM you have finer control = greater efficiency, but a lot more work to do yourself (try to render a triangle on Vulkan).
Metal is proprietary of Apple, but why anyone would like to adopt it anyway ? It's like Direct/X on Windows. It stays there.The first thing I was looking for was "Metal API for windows"..
Thinking they could have adopted Vulkan instead would have been expecting too much from Apple, but Vulkan is coming to OSX anyway implemented on top of Metal, so this would probably mitigate the problems they are always causing.
Carbon first, now OpenGL. OpenGL is a much bigger deal obviously, but it's not surprising. The writing was on the wall.
-
- Addict
- Posts: 2228
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: Apple deprecates OpenGL
Linux? You mean Khronos? Khronos is the only independent group creating graphics standards like OpenGL or OpenCL. It isn't dependent of any OS or manufacturer, however the manufacturers should implement these standards correctly and completely. IMHO these standards should be supported instead of Metal.HanPBF wrote:Why do they build such thing without talking each other, I mean Apple<->Microsoft<->Linux?
bye,
Daniel
Daniel
Re: Apple deprecates OpenGL
I am sceptic about the cross platform idea anyway.
But: great info
Thanks a lot!!!
But: great info
Thanks a lot!!!
-
- Addict
- Posts: 2228
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: Apple deprecates OpenGL
I am sceptic about all the platform dependent frameworks. I mean look at UIKit: there is no damn way to get key down/release events other than for predefined shortcuts. This is just crap and non-standard. Yeah lets do something to make porting more difficult for everyone. They never think about usability for developers. That is the reason why everyone switches to web programming: HTML/JavaScript/CSS is more standardized than all other frameworks combined although HTML rendering results in 100 different outputs in 100 different browsers.HanPBF wrote:I am sceptic about the cross platform idea anyway.
Yeah! They forgot to deprecate that, lets use this.wilbert wrote:Vulkan ?
bye,
Daniel
Daniel
Re: Apple deprecates OpenGL
In my opinion, we have platforms for a reason.I am sceptic about all the platform dependent frameworks.
Apple is more "beautiful", Microsoft is more "office" and Linux is more "free".
But isn't that true for programming languages, file systems, etc.?
There's no solution to that; so
Annoying...That is the reason why everyone switches to web programming
-
- Addict
- Posts: 2228
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: Apple deprecates OpenGL
Still, there are paradigms which should be covered by all of them, but out of the sudden a wall appears in front of you (changing a paradigma which had been successfully proven) and you cannot continue the work with the effort you planned and you have to create workarounds. This means more and more non conformance costs and out of the sudden you've doubled your costs.HanPBF wrote:In my opinion, we have platforms for a reason.I am sceptic about all the platform dependent frameworks.
Apple is more "beautiful", Microsoft is more "office" and Linux is more "free".
bye,
Daniel
Daniel
- StarBootics
- Addict
- Posts: 984
- Joined: Sun Jul 07, 2013 11:35 am
- Location: Canada
Re: Apple deprecates OpenGL
It's always a good news when you start developing stuff with OpenGL and you read this.
I like OpenGL because it's written in C instead of C++ so it's readily available in PureBasic. Vulkan is the most recent graphic API but you need an OpenGL 4.6 capable graphic card to use it.
Maybe Fred should find a way to solve the C++ OOP libraies mangling so we can use any libraries as easy as the C libraries.
Anyway I'm on Linux for now and probably for many years to come so ...
Best regards
StarBootics
I like OpenGL because it's written in C instead of C++ so it's readily available in PureBasic. Vulkan is the most recent graphic API but you need an OpenGL 4.6 capable graphic card to use it.
Maybe Fred should find a way to solve the C++ OOP libraies mangling so we can use any libraries as easy as the C libraries.
Anyway I'm on Linux for now and probably for many years to come so ...
Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
-
- Enthusiast
- Posts: 334
- Joined: Mon Feb 04, 2013 5:28 pm
Re: Apple deprecates OpenGL
It can't be done, name mangling it's not standard, every compiler does it its way, C++ does not even specify name mangling as part of the implementation standards.StarBootics wrote: Maybe Fred should find a way to solve the C++ OOP libraies mangling so we can use any libraries as easy as the C libraries.
Re: Apple deprecates OpenGL
Vulkan is C as well.StarBootics wrote:I like OpenGL because it's written in C instead of C++ so it's readily available in PureBasic. Vulkan is the most recent graphic API but you need an OpenGL 4.6 capable graphic card to use it.
Maybe Fred should find a way to solve the C++ OOP libraies mangling so we can use any libraries as easy as the C libraries.
- StarBootics
- Addict
- Posts: 984
- Joined: Sun Jul 07, 2013 11:35 am
- Location: Canada
Re: Apple deprecates OpenGL
I know but my computer is 9 years old so I'm stuck with OpenGL 3.0 and GLSL 1.30 but I'm progressing in my programming.Trond wrote:Vulkan is C as well.
Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
- the.weavster
- Addict
- Posts: 1537
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Re: Apple deprecates OpenGL
We're very close to the point where an OS is little more than a browser launcher, having a non-standard graphics API will probably just mean browsers run less well on your OS.