11af0d9ea71778475200c65fadff88f4b70e67bc
Change the region argument types in repaint_region(), moving the final_region computation to the caller. The caller is in a better position deciding if source clipping is needed or if it can be intersected into the final_region via a simple translation. This avoids surf_region or source clip implying that the transformation is only a translation. The region_global_to_output() call is also moved into the callers so that repaint_region() would not modify caller-provided data. Modifying caller provided data could be surprising. This patch does not change the rendering output. v2: Remove unused source_clip argument. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-By: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
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 building weston and its dependencies. The test suite can be invoked via `make check`; see http://wayland.freedesktop.org/testing.html for additional details.
Description
Languages
C
98%
Meson
1.4%
Shell
0.3%
GLSL
0.2%