black surface in desktop shell fullscreen mode

Pekka Paalanen ppaalanen at gmail.com
Thu Oct 1 23:36:51 PDT 2015


On Thu, 1 Oct 2015 12:27:21 -0700
Bill Spitzak <spitzak at gmail.com> wrote:

> On Thu, Oct 1, 2015 at 12:50 AM, Pekka Paalanen <ppaalanen at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151002/651a0f6b/attachment.sig>


More information about the wayland-devel mailing list