GTK 4 Toolkit's New OpenGL Renderer Is Maturing Well

Written by Michael Larabel in GNOME on 26 February 2021 at 12:00 AM EST. 14 Comments
GNOME
The new OpenGL renderer work for GTK 4 as a post-4.0 improvement is shaping up well and should really help push along the open-source toolkit on macOS.

Well known GNOME developer Christian Hergert of Red Hat has been working on effectively a new OpenGL renderer with a particular focus on helping the macOS support but obviously benefits all GL platforms as well.

While macOS has Vulkan support by way of MoltenVK and with GTK 4.0 there is an early Vulkan renderer, Hergert noted in a blog post how right now "it's a giant maze" when trying to use MoltenVK on macOS.

For now the OpenGL renderer is the best means of GTK 4 acceleration on macOS even with Apple having deprecated OpenGL, it doesn't look like it will disappear anytime soon. This new OpenGL renderer is also opening up rendering improvements moving forward. Additionally, this new "NGL" renderer may serve as a template for writing an Apple Metal renderer for GTK 4 in the future should anyone be interested.

Those curious about this OpenGL "NGL" renderer work for GTK 4 can see Christian's blog for the interesting remarks.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week