Re: [PATCH 1/2] compositor: don't schedule idle_repaint from calls to repaint

2011-10-24 Thread Kristian Høgsberg
On Mon, Oct 24, 2011 at 3:22 PM, Ander Conselvan de Oliveira wrote: > Em 24-10-2011 18:57, Kristian Høgsberg escreveu: >> >> On Mon, Oct 24, 2011 at 9:30 AM, Ander Conselvan de Oliveira >>  wrote: >>> >>> wlsc_output_repaint may call wlsc_surface_damage indirectly through >>> wlsc_output_set_curs

Re: [PATCH 1/2] compositor: don't schedule idle_repaint from calls to repaint

2011-10-24 Thread Ander Conselvan de Oliveira
Em 24-10-2011 18:57, Kristian Høgsberg escreveu: On Mon, Oct 24, 2011 at 9:30 AM, Ander Conselvan de Oliveira wrote: wlsc_output_repaint may call wlsc_surface_damage indirectly through wlsc_output_set_cursor. If this happens in the call made from repaint, one ends up with repaint being called

Re: [PATCH 1/2] compositor: don't schedule idle_repaint from calls to repaint

2011-10-24 Thread Kristian Høgsberg
On Mon, Oct 24, 2011 at 9:30 AM, Ander Conselvan de Oliveira wrote: > wlsc_output_repaint may call wlsc_surface_damage indirectly through > wlsc_output_set_cursor. If this happens in the call made from repaint, > one ends up with repaint being called from both idle_repaint and > wlsc_output_finish

[PATCH 1/2] compositor: don't schedule idle_repaint from calls to repaint

2011-10-24 Thread Ander Conselvan de Oliveira
wlsc_output_repaint may call wlsc_surface_damage indirectly through wlsc_output_set_cursor. If this happens in the call made from repaint, one ends up with repaint being called from both idle_repaint and wlsc_output_finish_frame. Fix this by setting output->repaint_scheduled to 1 before calling wl