[PATCH] [RFC] desktop-shell: change the alpha of black view in fullscreen mode
Bill Spitzak
spitzak at gmail.com
Mon Dec 7 10:01:07 PST 2015
On Mon, Dec 7, 2015 at 12:17 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
>
> FYI, I do not like the user-controlled window opacity feature. It
> currently cannot work right with sub-surfaces, and the black surface
> case is equivalent to a sub-surface. We would need an intermediate
> composite of the compound window to be able to apply window opacity
> properly as a second step. I feel that implementing that costs too much
> in work, runtime, and maintenance at the moment.
>
In fact it fails even in this case with the black background. A 50% opaque
window composited atop a 50% opaque black is not the same result as just a
50% opaque window.
In fact he will get a much closer simulation of the desired result if the
black surface was removed when the surface is made transparent. Pixels
inside the surface will be correct, and if it happens to fill the screen
then all pixels will be correct.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151207/c68119b2/attachment-0001.html>
More information about the wayland-devel
mailing list