GTK Lands Their New Unified GPU Renderer, Vulkan Build Enabled By Default

Written by Michael Larabel in GNOME on 8 January 2024 at 06:32 AM EST. 61 Comments
GNOME
There's been much work recently on a new unified renderer for the GTK toolkit. Yesterday a merge request was opened and already merged that enables Vulkan by default.

Open the past month has been this merge request to introduce a new unified renderer (the "GPU renderer") for the GTK toolkit. This ultimately aims to replace both the existing OpenGL and Vulkan renderers. The Vulkan renderer will work with any Vulkan version while the new OpenGL code targets OpenGL 3.3+ and OpenGL ES 3.0+.

GTK unified renderer merged


That new unified GPU renderer was merged on Sunday and is now in the GTK Git codebase.

Following that this merge request was opened and merged with some API changes as well as now enabling Vulkan by default. At build-time Vulkan is now enabled by default for GTK unless force-disabled via the "-Dvulkan=disabled" option or when compiling on macOS.

The main set of patches introducing the unified renderer is 24.8k lines of new code while dropping 9.6k lines of existing code. Exciting weekend in the GTK space with a big step forward for their modern GPU-accelerated rendering.
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