logoalt Hacker News

criddelltoday at 4:11 PM3 repliesview on HN

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?


Replies

hmrytoday at 4:18 PM

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 doesn't ship a native OpenGL driver anymore, only a layer that translates OpenGL to Metal.

flohofwoetoday at 4:25 PM

> 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.

raincoletoday at 4:41 PM

> It's so much easier than Vulkan or writing shaders

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

show 2 replies