|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| cursor/ | | 22-Nov-2023 | - | 2,948 | 2,181 |
| doc/ | | 22-Nov-2023 | - | 4,638 | 3,959 |
| protocol/ | | 22-Nov-2023 | - | 2,765 | 2,328 |
| spec/ | | 22-Nov-2023 | - | | |
| src/ | | 22-Nov-2023 | - | 10,935 | 6,932 |
| tests/ | | 22-Nov-2023 | - | 6,133 | 3,942 |
| .git | D | 01-Jan-1970 | 0 | | |
| .gitignore | D | 22-Nov-2023 | 52 | 3 | 2 |
| Android.bp | D | 23-Nov-2023 | 3.9 KiB | 137 | 126 |
| COPYING | D | 22-Nov-2023 | 1.3 KiB | 30 | 23 |
| LICENSE | D | 22-Nov-2023 | 1.3 KiB | 30 | 23 |
| METADATA | D | 22-Nov-2023 | 725 | 23 | 21 |
| MODULE_LICENSE_MIT | D | 22-Nov-2023 | 0 | | |
| Makefile.am | D | 22-Nov-2023 | 6.9 KiB | 249 | 200 |
| NOTICE | D | 22-Nov-2023 | 1.3 KiB | 30 | 23 |
| OWNERS | D | 23-Nov-2023 | 243 | 7 | 6 |
| README | D | 22-Nov-2023 | 1.6 KiB | 36 | 29 |
| README.android.md | D | 22-Nov-2023 | 675 | 31 | 19 |
| TODO | D | 22-Nov-2023 | 5.2 KiB | 150 | 101 |
| autogen.sh | D | 22-Nov-2023 | 200 | 10 | 7 |
| config.h | D | 22-Nov-2023 | 671 | 18 | 1 |
| configure.ac | D | 22-Nov-2023 | 6.8 KiB | 204 | 167 |
| gen_wayland_version_header.sh | D | 22-Nov-2023 | 1.5 KiB | 34 | 17 |
| publish-doc | D | 22-Nov-2023 | 349 | 16 | 7 |
| wayland-scanner.m4 | D | 22-Nov-2023 | 418 | 14 | 9 |
| wayland-scanner.mk | D | 22-Nov-2023 | 304 | 9 | 6 |
README
1What is Wayland?
2
3Wayland is a project to define a protocol for a compositor to talk to
4its clients as well as a library implementation of the protocol. The
5compositor can be a standalone display server running on Linux kernel
6modesetting and evdev input devices, an X application, or a wayland
7client itself. The clients can be traditional applications, X servers
8(rootless or fullscreen) or other display servers.
9
10The wayland protocol is essentially only about input handling and
11buffer management. The compositor receives input events and forwards
12them to the relevant client. The clients creates buffers and renders
13into them and notifies the compositor when it needs to redraw. The
14protocol also handles drag and drop, selections, window management and
15other interactions that must go through the compositor. However, the
16protocol does not handle rendering, which is one of the features that
17makes wayland so simple. All clients are expected to handle rendering
18themselves, typically through cairo or OpenGL.
19
20The weston compositor is a reference implementation of a wayland
21compositor and the weston repository also includes a few example
22clients.
23
24Building the wayland libraries is fairly simple, aside from libffi,
25they don't have many dependencies:
26
27 $ git clone git://anongit.freedesktop.org/wayland/wayland
28 $ cd wayland
29 $ ./autogen.sh --prefix=PREFIX
30 $ make
31 $ make install
32
33where PREFIX is where you want to install the libraries. See
34http://wayland.freedesktop.org for more complete build instructions
35for wayland, weston, xwayland and various toolkits.
36