1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

Sub-Surfaces Support Added To Wayland Protocol

Wayland

Published on 16 November 2013 01:25 PM EST
Written by Michael Larabel in Wayland
10 Comments

After the support has been within Wayland's Weston reference compositor for several months, developers have now added sub-surfaces support to the Wayland core protocol itself. Wayland sub-surfaces can make for efficient use of video players and windowed OpenGL games on Wayland.

Sub-surfaces in Weston has been mainline since May and now all the kinks should be worked out in its design so it was determined ready to move to the core Wayland protocol itself rather than just being a Weston addition. Sub-surfaces are surfaces tied to a parent Wayland surface (wl_surface) and ultimately then these surfaces combined form the actual window.

Pekka Paalanen explained in the Git commit adding sub-surfaces to Wayland, "The representative use case for sub-surfaces is a video player window. When the video content is given its own wl_surface, there is no need to modify the video frame contents after decoding or copy them into a whole window sized buffer before submitting it to the compositor. This allows efficient, zero-copy video presentation paths, where video decoding hardware produces a (YUV) buffer, which eventually ends up in a (YUV-capable) hardware overlay and is scanned out directly. This can also be used for zero-copy presentation of windowed OpenGL content, where the OpenGL rendering engine does not need to draw or avoid window decorations. Sub-surfaces allow mixing different buffer types into the same window, e.g. software-rendered decorations in wl_shm buffers, and live content in EGL-based buffers."

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Articles & Reviews
  1. GeForce GTX 750 Series: Nouveau vs. NVIDIA Linux Driver Performance
  2. GLAMOR + RadeonSI 2D Acceleration Is Quite Good For Open-Source AMD 2D Performance
  3. AMD Radeon R9 290 OpenGL On Ubuntu 15.04: Catalyst vs. RadeonSI Gallium3D
  4. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  5. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  6. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
Latest Linux News
  1. Libinput 0.15 Adds New Debug Events Utility
  2. Qt 5.5 Beta Is Coming Soon, Snapshot Released
  3. Steam Linux Usage Drops Below 1%
  4. Many OpenGL ES 3.1 Commits Land In Mesa
  5. HHVM 3.7 Brings More Performance Improvements
  6. Experimental DragonFlyBSD Code Adds Broadwell Graphics
  7. Virt-Manager 1.2.0 Brings OVMF/AAVMF Support For UEFI In VMs
  8. Interesting GSoC 2015 Projects: Wine D3DRM, GameStream, NaCL Fun
  9. An Ubuntu Phone Will Ship This Year With The Converged Unity Experience
  10. Ubuntu 15.10 Is Codenamed The Wily Werewolf
Most Viewed News This Week
  1. Trying Out Microsoft Visual Studio Code On Linux
  2. Microsoft Releases New Code IDE For Linux!
  3. Improvements On The Way For GNOME's Nautilus File Manager
  4. A Lot Of Improvements Are Coming For Mir 0.13, Including Work Towards Libinput
  5. Kodi 15.0 Beta 1 Released
  6. Mono 4.0 Makes Use Of Microsoft's Open-Source Code, C# 6.0
  7. Wayland 1.8 Alpha Release Delayed
  8. Lucid Sleep Support Is Being Worked On For The Upstream Linux Kernel