GTK4 Toolkit Seeing More Improvements To Its OpenGL Renderer

Written by Michael Larabel in GNOME on 24 January 2021 at 03:33 AM EST. 17 Comments
GNOME
While GTK 4.0 has been released, there still is major work to look forward to with future GTK4 releases. One area seeing recent and ongoing improvements is with the toolkit's OpenGL renderer.

Even though GTK4 has a Vulkan renderer, the OpenGL renderer is still of interest for cross-platform support particularly for macOS where Vulkan doesn't exist unless employing MoltenVK. There is also still legacy and other cases like the Nouveau driver stack where Vulkan isn't available, thus in 2021 working on the OpenGL renderer still pays off.

Christian Hergert at Red Hat has been working on some OpenGL renderer improvements for past GTK 4.0. While still underway, he mentions he has been "retooling" the OpenGL renderer and is seeing a "healthy bump" in the performance on macOS.

Hergert went on to add in a follow-up twet that this OpenGL renderer work preps the infrastructure for batch reordering as another performance win. This also might open the door for getting threaded OpenGL working with GTK. So good things to the GTK4 OpenGL support are still certainly happening in 2021.
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