>>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.

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
can implement the "hide" to make the window really transparent , not a
black screen now.

Thank you.

Best Regards
Nancy

2015-10-02 14:36 GMT+08:00 Pekka Paalanen <ppaala...@gmail.com>:

> On Thu, 1 Oct 2015 12:27:21 -0700
> Bill Spitzak <spit...@gmail.com> wrote:
>
> > On Thu, Oct 1, 2015 at 12:50 AM, Pekka Paalanen <ppaala...@gmail.com>
> wrote:
> >
>
> > > The black blanket surface behind the window OTOH allows for direct
> > > scanout. If black bars are not visible and the client buffer is
> > > completely opaque, it is possible to scan it out without composition by
> > > rendering.
> > >
> >
> > There should be some way to detect if the buffer is opaque, in which case
> > these optimizations could be done.
>
> There is, the hint is given by the client:
> wl_surface.set_opaque_region. This one we already do in Weston.
>
>
> Thanks,
> pq
>
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to