<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 17, 2015 at 3:05 AM, Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 17 Dec 2015 18:27:48 +0800<br>
zou lan <<a href="mailto:nancy.lan.zou@gmail.com">nancy.lan.zou@gmail.com</a>> wrote:<br>
<br>
> Hi pekka & others<br>
><br>
> I find weston flip a null frame before start the launcher<br>
> weston-desktop-shell. So there is always a black surface flash before the<br>
> launcher. That doesn't have the relationship with the animation mode.<br>
> I think it's caused by the code weston_output_init which call<br>
> the weston_output_damage.<br>
><br>
> weston_output_damage will paint nothing if the animation mode is noe and<br>
> flip one frame.<br>
><br>
> Does this frame is normal or my implementions have problems?  Thank you.<br>
> I try it on weston version 1.8 and 1.9.<br>
><br>
> weston.ini<br>
> [shell]<br>
> animation=none<br>
> startup-animation=none<br>
> client=/usr/lib/weston/weston-desktop-shell<br>
<br>
</span>Hi Nancy,<br>
<br>
I think this commit explains some aspects of it:<br>
<a href="http://cgit.freedesktop.org/wayland/weston/commit/?id=23ed5f2526e97d11df35cd8d9a9c7b95b635e225" rel="noreferrer" target="_blank">http://cgit.freedesktop.org/wayland/weston/commit/?id=23ed5f2526e97d11df35cd8d9a9c7b95b635e225</a><br>
Looks like 1.7.93 was the first release to include that patch.<br>
<br>
What you see is how Weston is written, AFAIU. Nothing wrong on your<br>
part.<br>
<br>
Hmm, yeah, I suppose we could delay the very first repaint until after<br>
the shell client signals ready, or at least until something causes a<br>
real need for repaint.<br>
<br>
In fact the x11-backend shows the same issue, it flips to one frame of<br>
garbage before showing the desktop.<br></blockquote><div><br></div><div>I think the demo compositor must be fixed to not have any such issues. Mostly so that you can prove that it is possible and that there is not an insurmountable bug in Wayland, and to provide instruction in how to do it.<br> <br></div></div><br></div></div>