android13/external/wayland
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
.gitlab/issue_templates initial 2024-06-22 20:45:49 +08:00
cursor initial 2024-06-22 20:45:49 +08:00
doc initial 2024-06-22 20:45:49 +08:00
egl initial 2024-06-22 20:45:49 +08:00
m4 initial 2024-06-22 20:45:49 +08:00
patches initial 2024-06-22 20:45:49 +08:00
protocol initial 2024-06-22 20:45:49 +08:00
src initial 2024-06-22 20:45:49 +08:00
tests initial 2024-06-22 20:45:49 +08:00
.editorconfig initial 2024-06-22 20:45:49 +08:00
.gitlab-ci.yml initial 2024-06-22 20:45:49 +08:00
Android.bp initial 2024-06-22 20:45:49 +08:00
CONTRIBUTING.md initial 2024-06-22 20:45:49 +08:00
COPYING initial 2024-06-22 20:45:49 +08:00
LICENSE initial 2024-06-22 20:45:49 +08:00
METADATA initial 2024-06-22 20:45:49 +08:00
MODULE_LICENSE_MIT initial 2024-06-22 20:45:49 +08:00
Makefile.am initial 2024-06-22 20:45:49 +08:00
OWNERS initial 2024-06-22 20:45:49 +08:00
PREUPLOAD.cfg initial 2024-06-22 20:45:49 +08:00
README initial 2024-06-22 20:45:49 +08:00
README.android.md initial 2024-06-22 20:45:49 +08:00
autogen.sh initial 2024-06-22 20:45:49 +08:00
config.h initial 2024-06-22 20:45:49 +08:00
configure.ac initial 2024-06-22 20:45:49 +08:00
import_official_snapshot.py initial 2024-06-22 20:45:49 +08:00
meson.build initial 2024-06-22 20:45:49 +08:00
meson_options.txt initial 2024-06-22 20:45:49 +08:00
publish-doc initial 2024-06-22 20:45:49 +08:00
releasing.txt initial 2024-06-22 20:45:49 +08:00
wayland-scanner.m4 initial 2024-06-22 20:45:49 +08:00
wayland-scanner.mk initial 2024-06-22 20:45:49 +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.