Go to file
Neil Roberts 40c0c3f91e tests: Test whether a simple EGL main loop uses too many buffers
This adds a test that tries to simulate a simple game loop that would
be like this:

while (1) {
        draw_something();
        eglSwapBuffers();
}

In this case the test is relying on eglSwapBuffers to throttle to a
sensible frame rate.

The test then verifies that only 2 EGL buffers are used. This is done
via a new request and event in the wayland-test protocol.

Currently this causes 3 buffers to be created because the release
event generated by the swap buffers is not processed by Mesa until it
blocks for the frame complete event in the next swap buffers call, but
that is too late.

This can be fixed in Mesa by issuing a sync request after the swap
buffers and blocking on it before deciding whether to allocate a new
buffer.
2013-12-07 22:26:23 -08:00
clients stacking: Set a keyboard focus handler so we can repaint the frame 2013-12-05 15:37:29 -08:00
data window.c: frame_button: Maximize, minimize, close, icon buttons in window frame 2012-05-10 16:19:33 -04:00
desktop-shell desktop-shell: Drop next_type from shell_surface 2013-12-05 23:20:44 -08:00
man Make the default desktop shell client configurable 2013-12-02 15:44:49 -08:00
protocol tests: Test whether a simple EGL main loop uses too many buffers 2013-12-07 22:26:23 -08:00
shared os: use posix_fallocate in creating sharable buffers 2013-12-02 16:20:27 -08:00
src input: make sure the devices get the resource destruction signal 2013-12-06 11:19:38 -08:00
tests tests: Test whether a simple EGL main loop uses too many buffers 2013-12-07 22:26:23 -08:00
wcap Add more missing config.h #includes 2013-08-26 14:59:14 -07:00
xwayland Move xwayland up one directory level 2013-12-04 10:20:02 -08:00
.gitignore Automatically generate weston.ini with the right paths 2013-11-27 22:49:31 -08:00
autogen.sh Update autotools configuration 2010-11-06 21:04:03 -04:00
configure.ac tests: Test whether a simple EGL main loop uses too many buffers 2013-12-07 22:26:23 -08:00
COPYING Add COPYING 2012-04-25 10:17:42 -04:00
Makefile.am desktop-shell: Move to new desktop-shell subdirectory 2013-12-04 10:20:02 -08: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
wayland-scanner.mk autotools: Don't use wayland-scanner.m4 2013-08-20 11:15:19 -07:00
weston.ini.in Automatically generate weston.ini with the right paths 2013-11-27 22:49:31 -08: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.