![Pekka Paalanen](/assets/img/avatar_default.png)
surface_accumulate_damage() will call surface_compute_bbox() with the extents of the surface damage region, for transformed surfaces only. If there is no damage, surface_compute_bbox() will round up the empty rectangle to a 1x1 rectangle. Triangles are produced for this 1x1 rectangle intersected with the surface. The problem showed up with the triangle fan debug, where some seemingly garbage pixels showed up relative to rotated surfaces. Fix this by explicitly checking, that the area, for which a bounding box is being computed for, is not zero. Note, that the bbox will also be empty if only one of width and height is zero. We do not paint things with zero thickness. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com> Cc: Rob Clark <rob.clark@linaro.org>
…
…
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.
Description
Languages
C
98.1%
Meson
1.3%
GLSL
0.3%
Shell
0.2%