Simple DMA-BUF Client Posted For Wayland's Weston

Written by Michael Larabel in Wayland on 22 October 2013 at 09:06 AM EDT. 15 Comments
WAYLAND
David Herrmann is out with a lot of new code this week. One of his interesting bits of code is the simple-dmabuf client for Wayland's Weston compositor.

Simple-dmabuf is new example code that shows how to write Wayland clients using his DRM render-nodes for hardware-accelerated rendering and passing the rendered buffer via DMA-BUF to the Wayland compositor. In this example, no special Mesa/EGL extensions are needed but DMA-BUFs as Wayland shared memory buffers are being used and what's passed to the compositor.

This implementation means that hardware-accelerated rendering can happen even if using FBDEV or other basic Weston compositor back-ends. This is quite an interesting feat and made possible by David's DRM Render-Nodes work from over the summer.

The simple-dmabuf code is still under an "RFC" state and there's some bugs with it, but the code can be found for now on the Wayland development 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