Re: [PATCH 2/2] compositor: finish frame if redraw fails

2013-10-23 Thread David Herrmann
Hi On Tue, Oct 22, 2013 at 9:45 PM, Kristian Høgsberg wrote: > On Tue, Oct 22, 2013 at 05:11:26PM +0200, David Herrmann wrote: >> If we are about to finish a frame, but a redraw is pending and we let the >> compositor redraw, we need to check for errors. If the redraw fails and >> the backend can

Re: [PATCH 2/2] compositor: finish frame if redraw fails

2013-10-22 Thread Kristian Høgsberg
On Tue, Oct 22, 2013 at 05:11:26PM +0200, David Herrmann wrote: > If we are about to finish a frame, but a redraw is pending and we let the > compositor redraw, we need to check for errors. If the redraw fails and > the backend cannot schedule a page-flip, we need to finish the frame, > anyway. >

[PATCH 2/2] compositor: finish frame if redraw fails

2013-10-22 Thread David Herrmann
If we are about to finish a frame, but a redraw is pending and we let the compositor redraw, we need to check for errors. If the redraw fails and the backend cannot schedule a page-flip, we need to finish the frame, anyway. All backends except DRM use a timer to schedule frames. Hence, they cannot