GTK 4.2 Released With NGL Renderer By Default

Written by Michael Larabel in GNOME on 30 March 2021 at 03:52 PM EDT. 26 Comments
GNOME
GTK 4.2 is out today as the newest stable release of this open-source toolkit and incorporates bug fixes and other improvements as a result of feedback from developers working on transitioning from GTK3 to GTK4.

Most exciting with GTK 4.2 is its new "NGL" OpenGL renderer being the default across Linux, macOS, and Windows platforms. The NGL renderer is the default across those major platforms while the old OpenGL renderer is still being maintained for the time being and can be enabled via an environment variable override (GSK_RENDERER=gl) for helping to weed out any remaining issues with NGL.

The GTK4 NGL renderer should allow for even better performance across mobile and desktop systems. The performance should already be quite good while the developers continue working on optimizing for even more features and performance moving forward.

Also on the performance front, GTK 4.2 features "performance improvements all across the board, from GLSL shaders used to render our content, to the accessibility objects created on demand instead of upfront."

GTK 4.2 is also shipping with input handling improvements, continued work on portability and build system features, improving the GTK4 documentation, better Wayland input method protocol support, improved scrolling performance, enhancements to the sub-pixel positioning of text, and more.

More of the highlights on GTK 4.2 can be found via the GTK.org blog.
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