0c4445ba5756e51007606028bce00b2ecb352bd7
This introduces the function widget_cairo_create(). Instead of directly referencing surface->cairo_surface, use the function widget_cairo_create(), which will create the cairo_surface as necessary, and just returns a Cairo drawing context. Also fix window_get_surface() similarly. Now we can go through idle_redraw() without always creating Cairo surfaces and committing them. This will be useful with sub-surfaces, where repainting one sub-surface does not need to force the repaint of all surfaces of a window. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
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%
Meson
1.4%
Shell
0.3%
GLSL
0.2%