[PATCH weston 0/4] Use EGL_EXT_buffer_age instead of assuming double buffering

Ander Conselvan de Oliveira ander.conselvan.de.oliveira at intel.com
Tue Mar 5 07:30:26 PST 2013


Hi,

The intent of this series is to add usage of the EGL_EXT_buffer_age
extension so we stop assuming we are always double buffered. The three
patches leading to the actual implementation of that change a bit how
we cull repaints below overlays.

The main idea of the series is to make surface->clip contain only the
regions obscured by surfaces in the same plane. If we don't want the
renderer to draw an area obscured by a plane, we don't tell it to
render that. In order for that to be possible, we need to maintain the
primary plane clip and make sure we don't clear the primary plane
damage prematurely.

Maybe those three patches should have been squashed together. Dunno.

Cheers,
Ander

Ander Conselvan de Oliveira (4):
  compositor: Keep a z-ordered list of planes
  gl-renderer: Don't change the region supplied to output repaint
  compositor: Don't rely on surface->clip to cull overlay obscured
    damage
  gl-renderer: Use EXT_buffer_age and don't assume double buffering

 src/compositor-drm.c |   22 ++++--------
 src/compositor.c     |   90 ++++++++++++++++++++++++++++++++++----------------
 src/compositor.h     |    9 ++++-
 src/gl-renderer.c    |   88 +++++++++++++++++++++++++++++++++++++-----------
 4 files changed, 144 insertions(+), 65 deletions(-)

-- 
1.7.10.4



More information about the wayland-devel mailing list