[PATCH 0/2] Fix release of wrong buffer on frame complete

Tiago Vignatti tiago.vignatti at intel.com
Tue Oct 18 07:02:05 PDT 2011


From: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>

If scanning out a client buffer, the compositor will send a buffer
release event for the front buffer as soon as the flip completes. This
series change the behavior to send the release event for the previous
front buffer.

The second patch is a kind of ugly and duplicates some code.
Suggestions of how to do it better are very welcome.

Thanks,
Ander

Ander Conselvan de Oliveira (2):
  compositor: move setup of scanout surface out of wlsc_output_repaint
  compositor: don't release the front buffer after page flip

 compositor/compositor.c |   58 ++++++++++++++++++++++++++++++++++++++---------
 compositor/compositor.h |    2 +
 2 files changed, 49 insertions(+), 11 deletions(-)

-- 
1.7.4.1



More information about the wayland-devel mailing list