News for hackers. Stuff that matters.
Re:Deprecation of OpenGL and OpenCL by amag on Monday June 04, 2018 @05:51PM (#17232914)
OpenGL is still an option on Windows, it's not deprecated.
Re:Deprecation of OpenGL and OpenCL by rossy on Monday June 04, 2018 @07:41PM (#17233689)
That depends on who you ask. OpenGL is in the deprecated API section on MSDN[1]. Because of the ICD model, Microsoft can't prevent GPU vendors from adding OpenGL features, but they don't bother integrating it with modern Windows APIs. You can't create an OpenGL context on a DirectComposition surface or in a UWP app. It integrates poorly with the compositor. You can't get composition feedback, and most drivers will flicker or show artifacts when windows are resized. OpenGL apps don't get windowed-fullscreen optimizations and you can't control when they enter exclusive fullscreen mode. I don't think you can use windowed-stereoscopic or windowed-HDR either. All these issues push developers away from OpenGL and towards DirectX, which is what Microsoft wants.

[1]: https://msdn.microsoft.com/en-us/library/windows/desktop/ff8...

Re:Deprecation of OpenGL and OpenCL by dman on Monday June 04, 2018 @07:59PM (#17233796)
Deprecated means very different things when coming from Microsoft and Apple.
Re:Deprecation of OpenGL and OpenCL by msbarnett on Monday June 04, 2018 @07:20PM (#17233534)
It’s not deprecated because it’s not even there to begin with — Windows 10 doesn’t ship OpenGL by default; GPU vendors provide their own implementations.

Which AFAIK they’re free to do on MacOS as well, they just don’t seem to bother since Apple was doing that work for them

Re:Deprecation of OpenGL and OpenCL by wolfgke on Monday June 04, 2018 @07:36PM (#17233650)
> Which AFAIK they’re free to do on MacOS as well, they just don’t seem to bother since Apple was doing that work for them

As far as I am aware Apple develops the GPU drivers for OS X (though, I think, based on code that the GPU vendor provides).

Re:Deprecation of OpenGL and OpenCL by coldtea on Tuesday June 05, 2018 @08:08AM (#17236874)
OpenGL is not a driver though, it's a graphics API
Re:Deprecation of OpenGL and OpenCL by wolfgke on Tuesday June 05, 2018 @08:24AM (#17236975)
At least on Windows, the OpenGL implementation is part of the graphics driver. Why? Because by default Windows only has between rudimentary (at least up to Vista, I think; I am not sure about Windows 7 and 8.1) and no (Windows 10) OpenGL support - this is what the GPU vendors provides as part of his graphics driver.
Re:Deprecation of OpenGL and OpenCL by msbarnett on Wednesday June 06, 2018 @02:19PM (#17249595)
> At least on Windows, the OpenGL implementation is part of the graphics driver.

It's distributed with the Graphics Driver, but most of it exists in a user space library, not in the driver proper.

Re:Deprecation of OpenGL and OpenCL by rockdoe on Tuesday June 05, 2018 @08:55AM (#17237177)
Which AFAIK they’re free to do on MacOS as well, they just don’t seem to bother since Apple was doing that work for them

I'm not sure. NVIDIA provides updates for CUDA and an extremely limited amount of updates for their graphics stack (AFAIK none at all for integrated graphics, for example).

Re:Deprecation of OpenGL and OpenCL by pjmlp on Tuesday June 05, 2018 @02:08AM (#17235339)
Not on UWP or store apps.