• Home
Name Date Size #Lines LOC

..--

cursor/03-May-2024-2,9482,181

doc/03-May-2024-4,6383,959

protocol/03-May-2024-2,7652,328

spec/03-May-2024-

src/03-May-2024-10,9356,932

tests/03-May-2024-6,1333,942

.gitignoreD03-May-202452 32

Android.bpD03-May-20243.9 KiB137126

COPYINGD03-May-20241.3 KiB3023

LICENSED03-May-20241.3 KiB3023

METADATAD03-May-2024725 2321

MODULE_LICENSE_MITD03-May-20240

Makefile.amD03-May-20246.9 KiB249200

NOTICED03-May-20241.3 KiB3023

OWNERSD03-May-2024243 76

READMED03-May-20241.6 KiB3629

README.android.mdD03-May-2024675 3119

TODOD03-May-20245.2 KiB150101

autogen.shD03-May-2024200 107

config.hD03-May-2024671 181

configure.acD03-May-20246.8 KiB204167

gen_wayland_version_header.shD03-May-20241.5 KiB3417

publish-docD03-May-2024349 167

wayland-scanner.m4D03-May-2024418 149

wayland-scanner.mkD03-May-2024304 96

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

README.android.md

1# Notes for updating `external/wayland` from source
2
3## Official source home page
4
5http://cgit.freedesktop.org/wayland/wayland/
6
7## Files added for use in Android:
8
9- `./Android.mk`
10- `./METADATA`
11- `./LICENSE (copy of ./COPYING)`
12- `./README.android.md`
13- `./config.h`
14- `.gitignore`
15
16Note that Android.mk embeds the version of Wayland being built (ends up in src
17/wayland-version.h).
18
19## Files generated by the build process
20
21These files are generated by the Android.mk makefile into the source directory,
22and should not be checked in.
23
24### From `protocol/wayland.xml`
25
26- `protocol/wayland-client-protocol.h`
27
28### From `src/wayland-version.h.in`
29
30- `src/wayland-version.h`
31