News for hackers. Stuff that matters.
Re:Learn OpenGL, extensive tutorial resource for learning Mo... by criddell on Thursday July 23, 2026 @12:11PM (#49023979)
It's so much easier than Vulkan or writing shaders and the performance is more than good enough for a lot of applications.

I wonder if somebody has written a adapter layer to write old OpenGL and translate it on the fly to Vulkan?

Re:Learn OpenGL, extensive tutorial resource for learning Mo... by hmry on Thursday July 23, 2026 @12:18PM (#49024121)
Mesa has Zink which translates OpenGL to Vulkan. AFAIK Asahi uses it because they only wrote a native Vulkan driver for the hardware, no native OpenGL driver.

Apple themselves also don't ship a native OpenGL driver anymore, only a layer that translates OpenGL to Metal.

Re:Learn OpenGL, extensive tutorial resource for learning Mo... by flohofwoe on Thursday July 23, 2026 @12:25PM (#49024230)
> write old OpenGL and translate it on the fly to Vulkan

Apple's OpenGL on macOS and iOS has been a shim over Metal for a very long time. The feature set is stuck somewhere between GL 3.x and 4.1 though (e.g. no compute shaders), but not for technical reasons.

Re:Learn OpenGL, extensive tutorial resource for learning Mo... by raincole on Thursday July 23, 2026 @12:41PM (#49024498)
> It's so much easier than Vulkan or writing shaders

Even if you use OpenGL you still need to write shaders.

Re:Learn OpenGL, extensive tutorial resource for learning Mo... by throwaway2046 on Thursday July 23, 2026 @01:54PM (#49025561)

    > Even if you use OpenGL you still need to write shaders.
Not in OpenGL 1.x
Re:Learn OpenGL, extensive tutorial resource for learning Mo... by jplusequalt on Thursday July 23, 2026 @06:26PM (#49028893)
OpenGL 1.x is older than the hills.
Re:Learn OpenGL, extensive tutorial resource for learning Mo... by badsectoracula on Thursday July 23, 2026 @09:32PM (#49030282)
It is also the simplest and most widely available one[0], working from decades old PCs to whatever is latest one, not only from the official drivers but also 3rd party implementations[1] that target other lower level APIs for environments where there isn't an official implementation.

[0] on open platforms at least

[1] it most likely wont be a 100% compliant one (even SGI had trouble on that front :-P) but in practice it'd be usable

Re:Learn OpenGL, extensive tutorial resource for learning Mo... by m-schuetz on Thursday July 23, 2026 @02:25PM (#49025999)
Shaders aren't the issue with Vulkan. Writing 50 lines of code for things that should be one-liners is.