Hey Daniel,<div><br></div><div>Thanks for the info! I didn't realize this was higher up the stack. Reading Pekka's post now!<br><div style="white-space: pre;"><table style="font-size: 14px; text-align: left; margin: 3em 0; color: black; border: none;" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td rowspan="3" valign="middle" style="vertical-align: middle;"><a href="https://system76.com" style="text-decoration: none; margin-right: 1em;"><img src="https://system76.com/images/icon-64.png" height="64" width="64" alt="System76 |"></a></td><td style="font-family: 'Roboto Slab', serif; font-size: 24px; font-weight: 300;">Ryan Sipes</td></tr><tr><td style="font-family: 'Fira Sans', sans-serif;"><strong>COMMUNITY MANAGER</strong></td></tr><tr><td style="font-family: 'Fira Sans', sans-serif; font-weight: 300;"><a href="mailto:ryan@system76.com" style="color: black; text-decoration: none;">RYAN@SYSTEM76.COM</a></td></tr>
</tbody></table></div>
<br><br>On Fri, May 12, 2017 at 11:05 AM, Daniel Stone <daniel@fooishbar.org> wrote:<br>
<blockquote type="cite"><div dir="ltr">Hi Ryan,<div class="gmail_extra"><br><div class="gmail_quote">On 12 May 2017 at 17:10, Ryan Sipes <span dir="ltr"><<a href="mailto:ryan@system76.com" target="_blank">ryan@system76.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>New to Wayland and had a big question. I was curious as to whether work had gone into when screen redraws were made (they are called "Surface Redraws" and "GPU Redraws" in Android). I know in Android this has resulted in better battery life. I'm sure many in this mailing list know, but what it does is only redraws when changes have been made. Is this on the roadmap? Has it already been implemented? I know it was on the roadmap for Mir, so I'm curious if it is an consideration in Wayland.</div><div><br></div><div>Love the work, using Wayland right now with multiple monitors and it works great!</div></blockquote><div><br></div><div>Depends what you mean by 'Wayland', I guess! But most servers (Weston, Mutter/GNOME, KWin, Enlightenment) certainly do this. Repaints only happen once per screen refresh cycle (vsync), and also only when client content has changed and requires an update. This timing information is also passed down to clients, who latch on to the clock to themselves only issue redraws once per frame: the 'frame clock' setup was one of the bigger and more invasive changes in GTK+3, but means those (also Qt, Clutter, GL and I think also EFL) clients don't repaint unnecessarily.</div><div><br></div><div>You can find some more on Pekka's blog - it's fairly old, but still goes into some of the details:</div><div><a href="http://ppaalanen.blogspot.co.uk/2015/02/weston-repaint-scheduling.html">http://ppaalanen.blogspot.co.uk/2015/02/weston-repaint-scheduling.html</a><br></div><div><br></div><div>Cheers,</div><div>Daniel</div></div></div></div>
</blockquote></div>