News for hackers. Stuff that matters.
Re:Standalone WebAssembly games using I/O devices by gdxhyrd on Sunday January 19, 2020 @12:10PM (#22092479)
No, OpenGL is not "on the way out". Please back up your claims.
Re:Standalone WebAssembly games using I/O devices by drfuchs on Sunday January 19, 2020 @12:34PM (#22092622)
“Apple deprecates OpenGL across all OSes”: https://www.anandtech.com/show/12894/apple-deprecates-opengl...
Re:Standalone WebAssembly games using I/O devices by gdxhyrd on Sunday January 19, 2020 @01:08PM (#22092843)
Apple is not Khronos.

They haven't supported OpenGL for years anyway, so the fact they deprecate it now is irrelevant.

Re:Standalone WebAssembly games using I/O devices by dahfizz on Sunday January 19, 2020 @02:27PM (#22093378)
A cross platform library loses its potency if it doesn't work cross platform.
Re:Standalone WebAssembly games using I/O devices by gdxhyrd on Sunday January 19, 2020 @03:16PM (#22093728)
OpenGL does not stop being cross-platform just because it does not work natively in 1 platform.

In any case, abstraction layers for macOS already exist.

And, going by your definition, if Apple only allows Metal, then no API will be cross-platform ever anyway.

Re:Standalone WebAssembly games using I/O devices by pjmlp on Sunday January 19, 2020 @05:16PM (#22094513)
OpenGL was never supported on games consoles, so....
Re:Standalone WebAssembly games using I/O devices by flohofwoe on Sunday January 19, 2020 @01:15PM (#22092888)
The GL tools rot is already starting. E.g. the Radeon GPU Profiler supports Vulkan, D3D12, OpenCL, but not OpenGL:

https://gpuopen.com/gaming-product/radeon-gpu-profiler-rgp/

Re:Standalone WebAssembly games using I/O devices by gdxhyrd on Sunday January 19, 2020 @01:24PM (#22092939)
That profiler is meant for low-level debugging as its own description says. That is why it does not support DX11 either.
Re:Standalone WebAssembly games using I/O devices by flohofwoe on Sunday January 19, 2020 @01:57PM (#22093158)
AMD's OpenGL tools don't look too active either, e.g. the last release of CodeXL is from 2018, and this only updated dependencies or removed functionality, for instance this nugget from the release notes:

---

* Removal of components which have been replaced by new standalone tools:

* FrameAnalysis - use https://github.com/GPUOpen-Tools/Radeon-GPUProfiler

---

...that Radeon-GPUProfiler is that tool which has only D3D12 and Vulkan support.

Look around for AMD's OpenGL activity more recently, there's not much, which isn't surprising because they've been lagging behind NVIDIA with their GL drivers since forever. I bet they're eager to close that chapter.

NVIDIA seems more committed to GL still, but without having all GPU vendors on board to continue supporting OpenGL, Khronos won't be able to do much to keep it alive.

Re:Standalone WebAssembly games using I/O devices by Reelin on Sunday January 19, 2020 @04:30PM (#22094242)
> but without having all GPU vendors on board to continue supporting OpenGL, Khronos won't be able to do much to keep it alive

Please don't make things up. OpenGL 4.6 was released in July 2017. According to Wikipedia, modern AMD and NVIDIA cards both gained driver support for it in April 2018. Intel drivers have support since May 2019.

(https://en.wikipedia.org/wiki/OpenGL#OpenGL_4.6)

Re:Standalone WebAssembly games using I/O devices by gdxhyrd on Sunday January 19, 2020 @03:17PM (#22093734)
AMD has always lacked tools and has never produced much on the software side.

That is not news, and that has nothing to do with the state of OpenGL.

Please, stop spreading misinformation about OpenGL.

Re:Standalone WebAssembly games using I/O devices by WAHa_06x36 on Sunday January 19, 2020 @04:12PM (#22094115)
OpenGL absolutely is a legacy API today. It has been an awful impedance mismatch to modern GPUs for about a decade now.
Re:Standalone WebAssembly games using I/O devices by pnako on Sunday January 19, 2020 @06:43PM (#22094993)
It's a high-level API. It went through N generations of graphics hardware for 30 years (40 if you consider IRIS GL).
Re:Standalone WebAssembly games using I/O devices by WAHa_06x36 on Saturday January 25, 2020 @07:48AM (#22146033)
And it became increasingly less of a good fit with each one. By now, it is ridiculously mismatched to the task it needs to perform.

Just leave it to die.

Re:Standalone WebAssembly games using I/O devices by Godel_unicode on Sunday January 19, 2020 @12:27PM (#22092576)
OpenGL is certainly used by a number of creative apps like Photoshop, but you can't deny that the number of games released with OpenGL is down significantly since say 2010.
Re:Standalone WebAssembly games using I/O devices by gdxhyrd on Sunday January 19, 2020 @01:09PM (#22092849)
A lot of games and apps are being released using OpenGL today.

Then there is WebGL and OpenGL ES, widely used everywhere too.

So, no, it is not going anywhere. In fact, Khronos themselves have said so.

Re:Standalone WebAssembly games using I/O devices by Godel_unicode on Sunday January 19, 2020 @06:06PM (#22094772)
I didn't say that there were no OpenGL games being released in 2019/2020 but that the ratio is definitely skewing away from OpenGL. "A lot of games" seems like a stretch compared with what the numbers used to be.

Also I think it's obvious but I'll say it anyway; it's not up to khronos it's up to developers. It doesn't matter if they continue to support OpenGL if developers move to some combination of dx11/12, Vulkan, and Metal.

WebGL and OpenGL ES aren't OpenGL. Their uptake or lack thereof in other arenas is orthogonal to whether people are moving away from OpenGL for game development.

Re:Standalone WebAssembly games using I/O devices by gdxhyrd on Monday January 20, 2020 @04:14AM (#22097534)
Considering UE4 and Unity both support OpenGL, yes, a lot if not the majority of games.

WebGL and OpenGL ES are pretty much OpenGL. Formally they are different standards, but they are based all in OpenGL: if you know one, you know the others pretty well, which is what is important for developers as you agree in the second paragraph.

Re:Standalone WebAssembly games using I/O devices by Godel_unicode on Monday January 20, 2020 @06:02PM (#22102792)
Once again, that's support not implementation. Developers could use OpenGL in Unreal. They could, but they haven't in general. Vulkan is the default, and is the more common choice.

If it were true that lots of games were picking OpenGL, why is it so hard to make a long list of them? It's easy to make such a list for vulkan.