<div dir="ltr"><span style="font-size:14px">>>If a client really wants to use the transparency, and does not want opaque black bars, it can be the client's responsibility to produce a buffer that can fill the screen.</span><br style="font-size:14px"><div><br></div><div><span style="font-size:14px">This is what the client wants to. The Qt app call "hide" function just wants to implement a function like minimize the window. But there is no minimize in fullscreen mode. I think maybe the qtwayland </span></div><div><span style="font-size:14px">can implement the "hide" to make the window really transparent , not a black screen now.</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">Thank you.</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">Best Regards</span></div><div><span style="font-size:14px">Nancy</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-02 14:36 GMT+08:00 Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 1 Oct 2015 12:27:21 -0700<br>
Bill Spitzak <<a href="mailto:spitzak@gmail.com">spitzak@gmail.com</a>> wrote:<br>
<br>
> On Thu, Oct 1, 2015 at 12:50 AM, Pekka Paalanen <<a href="mailto:ppaalanen@gmail.com">ppaalanen@gmail.com</a>> wrote:<br>
><br>
<br>
</span><span class="">> > The black blanket surface behind the window OTOH allows for direct<br>
> > scanout. If black bars are not visible and the client buffer is<br>
> > completely opaque, it is possible to scan it out without composition by<br>
> > rendering.<br>
> ><br>
><br>
> There should be some way to detect if the buffer is opaque, in which case<br>
> these optimizations could be done.<br>
<br>
</span>There is, the hint is given by the client:<br>
wl_surface.set_opaque_region. This one we already do in Weston.<br>
<br>
<br>
Thanks,<br>
pq<br>
</blockquote></div><br></div>