2abe2e6d41
weston_surface_draw() is restructured so that it will always use the RGBX shader for opaque regions, if the surface is assigned the RGBA shader. Previously for opaque regions, we simply assumed, that the texture alpha would be 1.0. If it was not (which really is an application bug), the region would be misrendered. The RGBX shader forces the texture alpha to 1.0. Xwayland surfaces may have bad alpha data in the opaque client area. If blending was enabled, the bad alpha would be used with the RGBA shader. This patch fixes rendering opaque xwayland windows with full-surface alpha applied. Test case: xterm, with full-surface alpha one step below 1.0. Before, black text was fully transparent, now it is correctly only slightly transparent. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com> |
||
---|---|---|
clients | ||
data | ||
man | ||
protocol | ||
shared | ||
src | ||
tests | ||
wcap | ||
.gitignore | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
README | ||
weston.ini |
Weston Weston is the reference implementation of a Wayland compositor, and a useful compositor in its own right. Weston has various backends that lets it run on Linux kernel modesetting and evdev input as well as under X11. Weston ships with a few example clients, from simple clients that demonstrate certain aspects of the protocol to more complete clients and a simplistic toolkit. There is also a quite capable terminal emulator (weston-terminal) and an toy/example desktop shell. Finally, weston also provides integration with the Xorg server and can pull X clients into the Wayland desktop and act as a X window manager. Refer to http://wayland.freedesktop.org/building.html for buiding weston and its dependencies.