• Home
Name Date Size #Lines LOC

..--

cursor/03-May-2024-2,9542,187

doc/03-May-2024-7,4526,367

egl/03-May-2024-577319

m4/03-May-2024-9,0608,188

protocol/03-May-2024-2,8742,414

spec/03-May-2024-

src/03-May-2024-12,1927,438

tests/03-May-2024-21,41310,519

.gitignoreD03-May-202452 32

Android.bpD03-May-20243.9 KiB139128

CONTRIBUTING.mdD03-May-202413.3 KiB345255

COPYINGD03-May-20241.3 KiB3023

LICENSED03-May-20241.3 KiB3023

METADATAD03-May-2024725 2321

MODULE_LICENSE_MITD03-May-20240

Makefile.amD03-May-20248.8 KiB313252

Makefile.inD03-May-2024129.8 KiB2,7952,562

NOTICED03-May-20241.3 KiB3023

OWNERSD03-May-2024243 76

PREUPLOAD.cfgD03-May-2024104 42

READMED03-May-20241.6 KiB3629

README.android.mdD03-May-2024675 3119

TODOD03-May-20245.1 KiB14799

aclocal.m4D03-May-202454.4 KiB1,5221,371

autogen.shD03-May-2024200 107

compileD03-May-20247.2 KiB349259

config.guessD03-May-202443.3 KiB1,4771,283

config.hD03-May-2024671 181

config.h.inD03-May-20242 KiB8053

config.subD03-May-202435.7 KiB1,8371,699

configureD03-May-2024603.5 KiB19,65716,567

configure.acD03-May-20246.6 KiB198161

depcompD03-May-202423 KiB792502

gen_wayland_version_header.shD03-May-20241.5 KiB3417

install-shD03-May-202414.3 KiB502327

ltmain.shD03-May-2024316.6 KiB11,1507,980

missingD03-May-20246.7 KiB216143

publish-docD03-May-2024349 167

test-driverD03-May-20244.5 KiB14987

wayland-scanner.m4D03-May-2024418 149

wayland-scanner.mkD03-May-2024292 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 https://gitlab.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
34https://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