Wayland's Weston Now Supports EGL Partial Updates For Better Performance

Written by Michael Larabel in Wayland on 27 June 2019 at 03:16 AM EDT. Add A Comment
WAYLAND
Thanks to longtime open-source Linux graphics developer Daniel Stone, Wayland's Weston reference compositor now has support for the EGL_KHR_partial_update extension to provide for potentially better performance.

The EGL_KHR_partial_update extension was led by Arm years ago to allow for efficient partial updates of surfaces ready to be displayed and for ignoring surfaces that are unchanged between frames.

Stone does a good job summarizing the benefit in the Git commit:
partial_update is an EGL extension which allows us to inform the driver ahead of time the limits of the areas we'll be writing to. This helps performance for GPU hardware which renders into a local tile buffer: informing the driver of the rendering extents means it can avoid fetching unchanged tiles into the tile buffer and subsequently writing them out.

The extension complements rather than replaces EGL_EXT_buffer_age (used before partial_update to know which areas we need to update) and EGL_KHR_swap_buffers_with_damage (used after partial_update to inform the winsys of the changed region).

Wayland's Weston continues advancing nicely thanks to the likes of Collabora and other contributors.
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