Home | History | Annotate | only in /external/wayland
Up to higher level directory
NameDateSize
Android.bp21-Aug-20182.8K
autogen.sh21-Aug-2018200
config.h21-Aug-2018671
configure.ac21-Aug-20186.8K
COPYING21-Aug-20181.3K
cursor/21-Aug-2018
doc/21-Aug-2018
gen_wayland_version_header.sh21-Aug-20181.5K
LICENSE21-Aug-20181.3K
Makefile.am21-Aug-20186.9K
METADATA21-Aug-2018725
MODULE_LICENSE_MIT21-Aug-20180
NOTICE21-Aug-20181.3K
protocol/21-Aug-2018
publish-doc21-Aug-2018349
README21-Aug-20181.6K
README.android.md21-Aug-2018675
spec/21-Aug-2018
src/21-Aug-2018
tests/21-Aug-2018
TODO21-Aug-20185.2K
wayland-scanner.m421-Aug-2018418
wayland-scanner.mk21-Aug-2018304

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