Re: [PATCH weston v3 08/11] Change boolean repaint_scheduled to quad-state enum

2017-03-10 Thread Daniel Stone
Hi Pekka, On 8 March 2017 at 13:22, Pekka Paalanen wrote: > On Fri, 3 Mar 2017 16:59:42 + Daniel Stone wrote: >> repaint_scheduled is actually cleverly a quad-state, disguised as a >> boolean. There are four possible conditions for the repaint loop to be >> in at any time: >> - loop idle;

Re: [PATCH weston v3 08/11] Change boolean repaint_scheduled to quad-state enum

2017-03-08 Thread Pekka Paalanen
On Fri, 3 Mar 2017 16:59:42 + Daniel Stone wrote: > repaint_scheduled is actually cleverly a quad-state, disguised as a > boolean. There are four possible conditions for the repaint loop to be > in at any time: > - loop idle; no repaint will occur until specifically requested, which >

[PATCH weston v3 08/11] Change boolean repaint_scheduled to quad-state enum

2017-03-03 Thread Daniel Stone
repaint_scheduled is actually cleverly a quad-state, disguised as a boolean. There are four possible conditions for the repaint loop to be in at any time: - loop idle; no repaint will occur until specifically requested, which may be never (repaint_scheduled == 0) - loop schedule to begin: t