• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

cursor/22-Nov-2023-2,9482,181

doc/22-Nov-2023-4,6383,959

protocol/22-Nov-2023-2,7652,328

spec/22-Nov-2023-

src/22-Nov-2023-10,9356,932

tests/22-Nov-2023-6,1333,942

.gitD01-Jan-19700

.gitignoreD22-Nov-202352 32

Android.bpD22-Nov-20232.8 KiB10091

COPYINGD22-Nov-20231.3 KiB3023

LICENSED22-Nov-20231.3 KiB3023

METADATAD22-Nov-2023725 2321

MODULE_LICENSE_MITD22-Nov-20230

Makefile.amD22-Nov-20236.9 KiB249200

NOTICED22-Nov-20231.3 KiB3023

READMED22-Nov-20231.6 KiB3629

README.android.mdD22-Nov-2023675 3119

TODOD22-Nov-20235.2 KiB150101

autogen.shD22-Nov-2023200 107

config.hD22-Nov-2023671 181

configure.acD22-Nov-20236.8 KiB204167

gen_wayland_version_header.shD22-Nov-20231.5 KiB3417

publish-docD22-Nov-2023349 167

wayland-scanner.m4D22-Nov-2023418 149

wayland-scanner.mkD22-Nov-2023304 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