Find a file
Pekka Paalanen ccfeae2ad7 compositor: add early wl_buffer.release
A client can reliably avoid allocating a second buffer per surface, if
the compositor sends the wl_buffer.release event before the frame
callback. To enable clients' single-buffering, release the wl_buffer
early if possible. Otherwise clients will double-buffer.

Releasing early is not possible, if the backend needs the buffer for
migrating a surface to or from a non-primary weston_plane. In that case,
a new buffer must arrive, before the old can be released. Backends will
indicate this by setting weston_surface:keep_buffer to 1 in
assign_planes().

A proper buffer reference in the backends would be better than the
keep_buffer flag, but that would require a per-surface backend private.

The rpi and DRM backends are updated to set keep_buffer, other backends
do not support planes, so do not have to set it.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-12-06 16:55:41 -05:00
clients clients: Add a touchscreen calibration tool 2012-12-06 15:53:08 -05:00
data window.c: frame_button: Maximize, minimize, close, icon buttons in window frame 2012-05-10 16:19:33 -04:00
man man: fill missing pieces to weston page 2012-11-27 11:13:00 -05:00
protocol text: Add support for forwarding key events 2012-11-27 13:10:10 -05:00
shared Move matrix.[ch] to shared 2012-12-06 15:53:03 -05:00
src compositor: add early wl_buffer.release 2012-12-06 16:55:41 -05:00
tests Move matrix.[ch] to shared 2012-12-06 15:53:03 -05:00
wcap wcap: Fix typo in usage output. 2012-07-23 14:25:14 -04:00
.gitignore Add cscope.out to .gitignore 2012-07-09 17:57:55 -04:00
autogen.sh Update autotools configuration 2010-11-06 21:04:03 -04:00
configure.ac configure.ac: Don't link weston to cairo or image libraries 2012-11-29 13:32:11 -05:00
COPYING Add COPYING 2012-04-25 10:17:42 -04:00
Makefile.am man: add man page for weston 2012-08-29 15:32:05 -04:00
notes.txt Add informal notes file 2012-10-25 15:00:42 -04:00
README Flesh out README a bit, link to building instructions 2012-07-20 12:26:23 -04:00
weston.ini weston.ini: Introduce core section and remove type keys. 2012-11-27 20:28:08 -05:00

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.