On Wed, 12 Mar 2014 11:21:46 +0100 Daniel Stone <[email protected]> wrote:
> Hi, > > On 11 March 2014 14:30, Pekka Paalanen <[email protected]> wrote: > > On X11 you are probably used to getting an opaque window, no matter > > what values you write to the alpha channel. On Wayland, the alpha > > channel is actually used by the server to blend your window to the rest > > of the desktop, always. > > ... always? You can request XRGB buffers in wl_shm, or an EGL config > without an alpha channel. This will give you storage you can use for > alpha, but the compositor will discard it and render fully opaque. True for wl_shm, but if you ask EGL to use a config without any alpha bits, I suppose you cannot store any non-1.0 alpha values in the framebuffer, not reliably at least. The story does not tell, if Neal actually needs any alpha storage on the framebuffer. :-) Anyway, if an alpha channel exists, it is always used on Wayland, unlike with X11. I don't count an X-channel as an alpha-channel. ;-) Neal, slightly relevant: https://bugs.freedesktop.org/show_bug.cgi?id=67676 Thanks, pq _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
