mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-15 22:59:22 +00:00
4f49917ec5
Add a frame buffer backend using pixman to render to fbdev. This has been tested against nouveaufb but nothing else. Much of the code came straight from the rpi backend (and copyright has been attributed accordingly). The behaviour of this backend on less modern frame buffers has yet to be tested. The refresh rate is calculated from the frame buffer's metadata. Every frame is finished in synchrony with the refresh rate. Frame buffer devices are currently specified on the command line (or using the default of /dev/fb0); udev could be used in future to enumerate them. pixman is used for compositing, and a suitable pixman format is built from the frame buffer's metadata. This doesn't support the full range of frame buffer formats, but does support varying BPPs of RGBA and ARGB. That should be enough for now. The following are not currently supported: • FOURCC • Non-packed formats (interleaved, planes, etc.) • Non-true-colour formats (monochrome, greyscale, etc.) • Big-endian formats (with component MSBs on the right) • Non-RGBA and non-ARGB formats Signed-off-by: Philip Withnall <philip@tecnocode.co.uk> |
||
---|---|---|
clients | ||
data | ||
man | ||
protocol | ||
shared | ||
src | ||
tests | ||
wcap | ||
.gitignore | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
notes.txt | ||
README | ||
weston.ini |
Weston Weston is the reference implementation of a Wayland compositor, and a useful compositor in its own right. Weston has various backends that lets it run on Linux kernel modesetting and evdev input as well as under X11. Weston ships with a few example clients, from simple clients that demonstrate certain aspects of the protocol to more complete clients and a simplistic toolkit. There is also a quite capable terminal emulator (weston-terminal) and an toy/example desktop shell. Finally, weston also provides integration with the Xorg server and can pull X clients into the Wayland desktop and act as a X window manager. Refer to http://wayland.freedesktop.org/building.html for buiding weston and its dependencies.