GLAMOR Is Making Linux 2D Performance More Glamorous

Written by Michael Larabel in X.Org on 10 October 2014 at 09:29 AM EDT. 3 Comments
X.ORG
Keith Packard of Intel and the X.Org Server maintainer presented at this week's XDC2014 Bordeaux conference about the state of GLAMOR, accelerating X.Org's 2D over OpenGL / OpenGL ES in a device-independent manner rather than each hardware driver requiring custom 2D acceleration code-paths.

GLAMOR continues being invested in by Intel since it's now used whenever XWayland is called into play, rather than requiring modified DDX drivers to be made XWayland compatible. GLAMOR also remains to be a run-time option for Intel Linux users not wanting to use the SNA or UXA acceleration architectures. Meanwhile for Radeon hardware it's used exclusively for 2D acceleration with Radeon HD 7000 series graphics cards and newer. The Nouveau driver is also exclusively depending upon GLAMOR for 2D acceleration with "Maxwell" GPUs.

Keith's presentation covered the history of GLAMOR and the improvements made over time -- with as of X.Org Server 1.16 the GLAMOR code now living within the X.Org Server rather than an independent library. With the new GLAMOR code in the server, there's less dependence on the CPU for various operations and GPUs can work out the complete operations.

Among the projects still forthcoming for GLAMOR are reworking the pixel format code, removing the optimization for single-texture pixmaps, rewriting the render text code, fragment shader trapezoid support, using VAOs (vertex array objects), and finishing the OpenGL core context work.

Those wanting to learn more about GLAMOR in its latest state can check out Keith's PDF slides for his Bordeaux presentation.
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