Home | History | Annotate | only in /external/wayland
Up to higher level directory
NameDateSize
Android.bp22-Oct-20203.9K
autogen.sh22-Oct-2020200
config.h22-Oct-2020671
configure.ac22-Oct-20206.8K
COPYING22-Oct-20201.3K
cursor/22-Oct-2020
doc/22-Oct-2020
gen_wayland_version_header.sh22-Oct-20201.5K
LICENSE22-Oct-20201.3K
Makefile.am22-Oct-20206.9K
METADATA22-Oct-2020725
MODULE_LICENSE_MIT22-Oct-20200
NOTICE22-Oct-20201.3K
OWNERS22-Oct-2020243
protocol/22-Oct-2020
publish-doc22-Oct-2020349
README22-Oct-20201.6K
README.android.md22-Oct-2020675
spec/22-Oct-2020
src/22-Oct-2020
tests/22-Oct-2020
TODO22-Oct-20205.2K
wayland-scanner.m422-Oct-2020418
wayland-scanner.mk22-Oct-2020304

README

      1 What is Wayland?
      2 
      3 Wayland is a project to define a protocol for a compositor to talk to
      4 its clients as well as a library implementation of the protocol.  The
      5 compositor can be a standalone display server running on Linux kernel
      6 modesetting and evdev input devices, an X application, or a wayland
      7 client itself.  The clients can be traditional applications, X servers
      8 (rootless or fullscreen) or other display servers.
      9 
     10 The wayland protocol is essentially only about input handling and
     11 buffer management.  The compositor receives input events and forwards
     12 them to the relevant client.  The clients creates buffers and renders
     13 into them and notifies the compositor when it needs to redraw.  The
     14 protocol also handles drag and drop, selections, window management and
     15 other interactions that must go through the compositor.  However, the
     16 protocol does not handle rendering, which is one of the features that
     17 makes wayland so simple.  All clients are expected to handle rendering
     18 themselves, typically through cairo or OpenGL.
     19 
     20 The weston compositor is a reference implementation of a wayland
     21 compositor and the weston repository also includes a few example
     22 clients.
     23 
     24 Building the wayland libraries is fairly simple, aside from libffi,
     25 they 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 
     33 where PREFIX is where you want to install the libraries.  See
     34 http://wayland.freedesktop.org for more complete build instructions
     35 for 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 
      5 http://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 
     16 Note 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 
     21 These files are generated by the Android.mk makefile into the source directory,
     22 and 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