


Set the following environment variables prior to running a compositor-enabled application: $ export XDG_RUNTIME_DIR=/run/user/0/ $ export WAYLAND_DISPLAY=WPE.Since the Westeros compositor is integrated with the WPE Browser, any application/link using WPE can be used to demonstrate a Westeros compositor. Steps to run a Westeros-enabled Application Changes which are required to build and run Westeros-integrated applications on the Raspberry Pi platform, have been merged into meta-cmf-raspberrypi CMF Layer. Westeros includes memory management primitives in order to provide a better video experience.īitbake recipes for building wpewebkit, which is integrated with Westeros, are available in the meta-metrological layer in the CMF space.Westeros supports the creation of normal, nested, and embedded Wayland Compositors.Westeros implements the Wayland protocols and is compatible with applications that are built to use Wayland compositors.The use of embedded compositors allows applications to create additional Wayland display within itself.Ī system could have a primary user interface which allows other third party applications to provide additional functionality such as Netflix, and the primary UI can control the size and position of the third party UI to provide seamless integration. If, on the other hand, you want to implement a system where the user moves, resizes, minimizes, and maximizes various windows, and does drag and drop operations etc., then Weston is a more appropriate choice.You can use the included sample compositor app, or you can use the sample as a reference for implementing a custom compositor.The functionality of Wayland composition is in a shared library that provides an API for creating and operating a compositor.Westeros concentrates on functionality needed for embedded systems rather than trying to include features that are related to traditional desktop computing.
#Weston compositor code

Unfortunately, upstream changes can make maintenance difficult. Weston is very commonly used for testing new ports and as a demo ( Category:Interface). weston -backend=rdp-backend.so -rdp-tls-cert=/path/to/mycrt.crt -rdp-tls-key=/path/to/mypublic.key -socket=wayland-1 -width=540 -height=600įollow the Display guide to change and fix display related issues.sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout mypublic.key -out mycrt.crt.Weston will be launched automatically on boot by TinyDM. This will package weston libraries as well as demos for your device, see weston* commands.
