Re: [PATCH weston 3/3] compositor-drm: Fix artifacts when scanning out a client buffer

2012-11-21 Thread Kristian Høgsberg
On Wed, Nov 21, 2012 at 8:11 AM, Ander Conselvan de Oliveira wrote: > Consider the following scenario: a fullscreen surface is composited for > a few frames and suddenly it is moved to a scan out plane. (This could > happen for instance if it used a big cursor and later switched to a > cursor that

Re: [PATCH weston 3/3] compositor-drm: Fix artifacts when scanning out a client buffer

2012-11-21 Thread Daniel Stone
Hi Ander, On 22 November 2012 00:11, Ander Conselvan de Oliveira < ander.conselvan.de.olive...@intel.com> wrote: > The reason for this is that the renderer's repaint function is not > called if a client buffer is scanned out. When the surface moves to the > scan out plane, the primary plane is da

[PATCH weston 3/3] compositor-drm: Fix artifacts when scanning out a client buffer

2012-11-21 Thread Ander Conselvan de Oliveira
Consider the following scenario: a fullscreen surface is composited for a few frames and suddenly it is moved to a scan out plane. (This could happen for instance if it used a big cursor and later switched to a cursor that fits in the hw cursor overlay.) If that surface is resized during one frame