Freedreno Gallium3D Adds Threaded Context Support

Written by Michael Larabel in Mesa on 11 March 2021 at 06:16 AM EST. 2 Comments
Last week Intel wired up Gallium3D threaded context support to their "Iris" OpenGL driver for yielding some sizable performance improvements. Now the Freedreno driver for Qualcomm Adreno hardware has hooked into the threaded context support as well.

The Freedreno Gallium3D driver now supports threaded contexts (u_threaded_contexts) as well for helping with performance with this open-source Qualcomm Adreno GL/GLES driver.

The Gallium3D threaded context support was originally written by AMD with a focus on their driver for allowing the command stream to be handled asynchronously off the main application thread. Zink began using it now Intel Iris and Freedreno have joined in on the action for squeezing out more OpenGL performance.

At the moment the threaded context support is only enabled along the Adreno 600 series code path but may be flipped on for the older hardware soon. The support was merged with this merge request while in the case of Freedreno no before/after performance numbers were shared at this point.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week