Going Indepth With Wayland Sub-Surfaces

Written by Michael Larabel in Wayland on 18 November 2013 at 11:34 AM EST. 37 Comments
WAYLAND
A few days back I wrote about sub-surfaces coming to Wayland's protocol after being a Weston-only feature for several months. For those curious about this Wayland feature, developer behind the code has written about this new feature at length.

In that article last week I wrote how the sub-surfaces support was moved from being just a Weston compositor feature to now being part of core Wayland. Sub-surfaces allow for better support of applications like video players or windowed OpenGL content.

Pekka Paalanen, the developer at Collabora who originally spearheaded the Weston feature and then got it promoted to Wayland, has written a new blog post about sub-surfaces in Wayland for those interested in the low-level details.

Pekka summarized, "Sub-surfaces are intended for special cases, where you need to build a window from several buffers that are composited together, to make efficient use of the hardware resources. They are not meant for widgets in general, nor for pushing parts of application rendering to the compositor. Sub-surfaces are also not meant for things that are not integral parts of a window, like tooltips, menus, or drop-down boxes. These 'transient' surface types should be offered by the shell protocol."
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