The Zink Gallium3D driver that implements OpenGL on top of Vulkan has been on a hit recently … Beyond OpenGL 4.6 support in yet to be merged patches and passing ~ 97% of Piglit OpenGL tests and increasingly good performance compared For Intel’s OpenGL driver, the last interesting step is to see some initial work to bring Zink to macOS.
As Apple has phased out support for OpenGL (and OpenCL), Zink on macOS has merit – arguably even more than Linux where there are still great OpenGL drivers available for all major hardware. . With the upcoming macOS 11.0 “Big Sur”, OpenGL support will ultimately either be in a bad state or be removed altogether. For several years, Apple has been pushing for the depreciation of OpenGL / OpenCL in its software ecosystem to focus instead on its internal Metal API. But since there is still a lot of macOS software that uses OpenGL as well as use cases like running Wine / CrossOver software for Windows on macOS, Zink on macOS is an interesting candidate for the future.
Zink on macOS in turn works by leveraging MoltenVK for much of the Vulkan API on Apple’s native Metal drivers. So the full stack is indeed OpenGL on Vulkan (Zink) then Vulkan on Metal (MoltenVK).
These fixes for Zink are pending for MoltenVK support with just a few basic changes required.
Separately, Mike Blumenkrantz, who devoted much of his time to Zink, also noted that Red Hat’s Adam Jackson was working on the Vulkan WSI integration for Zink. These improvements in the integration of the windowing system may lead to further improve the performance of Zink.