Re: [PATCH weston v2 09/11] Switch to global output repaint timer

2017-03-13 Thread Pekka Paalanen
On Fri, 10 Mar 2017 14:37:14 + Daniel Stone wrote: > Hi, > > On 8 March 2017 at 14:05, Pekka Paalanen > wrote: > > On Wed, 1 Mar 2017 11:34:08 + Daniel Stone > > wrote: > >> + /* XXX: This can keep postponing forever, maybe? */ > >> + if (msec_to_next < 1) > >> +

Re: [PATCH weston v2 09/11] Switch to global output repaint timer

2017-03-10 Thread Daniel Stone
Hi, On 8 March 2017 at 14:05, Pekka Paalanen wrote: > On Wed, 1 Mar 2017 11:34:08 + Daniel Stone wrote: >> + /* XXX: This can keep postponing forever, maybe? */ >> + if (msec_to_next < 1) >> + msec_to_next = 1; > > I think there is no longer a risk of postponing indefini

Re: [PATCH weston v2 09/11] Switch to global output repaint timer

2017-03-08 Thread Pekka Paalanen
On Wed, 1 Mar 2017 11:34:08 + Daniel Stone wrote: > In preparation for grouping output repaint together where possible, > switch the per-output repaint timer, to a global timer which iterates > across all outputs. > > This is implemented by storing the absolute time for the next repaint > f

[PATCH weston v2 09/11] Switch to global output repaint timer

2017-03-01 Thread Daniel Stone
In preparation for grouping output repaint together where possible, switch the per-output repaint timer, to a global timer which iterates across all outputs. This is implemented by storing the absolute time for the next repaint for each output locally, and maintaining a global timer which iterates