Wayland Gets A Simple Drawing Library

Written by Michael Larabel in Wayland on 27 July 2013 at 12:33 AM EDT. 25 Comments
WAYLAND
A simple drawing library has been created for Wayland in the process of porting a simple terminal and dynamic menu system from X11 to Wayland.

WLD is the new (and very simple) Wayland drawing library that's been christened. Michael Forney, an independent developer, was wanting to port ST (a simple terminal emulator for X) and Dmenu (a dynamic menu for X) to Wayland. However, with the current Wayland render back-ends being overkill for such simple/basic programs, he decided to write his own implementation.

ST and Dmenu are classic X11 programs and basically need only the ability to draw colored rectangles and monochrome text, but certainly don't need a full 3D API or even advanced 2D drawing. With needing only primitive draw and text support, WLD was created as a Wayland library to accomplish drawing colored rectangles and monochrome text.

WLD in turn has back-ends for using the Pixman renderer on Wayland or directly the BLT engine for Intel GPUs. The text support is rendered through FreeType. WLD can also work on non-Wayland back-ends due to the common yet portable use of Pixman and FreeType with them being able to create contexts in other environments.

Those wishing to learn more about this simple Wayland drawing library can find the announcement with many more details on the Wayland mailing list.
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