aosp12/external/wayland
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
.gitlab/issue_templates init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
cursor init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
doc init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
egl init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m4 init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
patches init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
protocol init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
src init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tests init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.editorconfig init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.gitignore init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.gitlab-ci.yml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Android.bp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
CONTRIBUTING.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
COPYING init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
LICENSE init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
METADATA init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
MODULE_LICENSE_MIT init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Makefile.am init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
OWNERS init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
PREUPLOAD.cfg init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.android.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
autogen.sh init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
configure.ac init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
import_official_snapshot.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
meson.build init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
meson_options.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
publish-doc init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
releasing.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
wayland-scanner.mk init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README

What is Wayland?

Wayland is a project to define a protocol for a compositor to talk to
its clients as well as a library implementation of the protocol.  The
compositor can be a standalone display server running on Linux kernel
modesetting and evdev input devices, an X application, or a wayland
client itself.  The clients can be traditional applications, X servers
(rootless or fullscreen) or other display servers.

The wayland protocol is essentially only about input handling and
buffer management.  The compositor receives input events and forwards
them to the relevant client.  The clients creates buffers and renders
into them and notifies the compositor when it needs to redraw.  The
protocol also handles drag and drop, selections, window management and
other interactions that must go through the compositor.  However, the
protocol does not handle rendering, which is one of the features that
makes wayland so simple.  All clients are expected to handle rendering
themselves, typically through cairo or OpenGL.

The weston compositor is a reference implementation of a wayland
compositor and the weston repository also includes a few example
clients.

Building the wayland libraries is fairly simple, aside from libffi,
they don't have many dependencies:

    $ git clone https://gitlab.freedesktop.org/wayland/wayland
    $ cd wayland
    $ meson build/ --prefix=PREFIX
    $ ninja -C build/ install

where PREFIX is where you want to install the libraries.  See
https://wayland.freedesktop.org for more complete build instructions
for wayland, weston, xwayland and various toolkits.