Simple DMA-BUF Client Posted For Wayland's Weston
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.
Latest Articles & Reviews
Latest Linux News
Most Viewed News This Week