Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Grammar edits and formatting

Table of Contents

Overview

Westeros , light weighted is a lightweight Wayland Compositor library , that allows user users to create wayland display which further Wayland displays and also allows nesting and embedding display with displays that contain third-party applicationapplications. The WPE integrated integration with Westeros is required for enables a better video experience with increased smoothness and enhance enhanced browser responsiveness. Westeros is designed for embedded systems and is a replacement of for Weston targeting towards embedded systems.

  • Westeros is smalland simple.Being small, small and simple making it easier to understand and maintain.
  • Caters Westeros caters to the needs of embedded systems over traditional desktop computing.
  • Shared Westeros is a shared library that provides an APIfor API for creating and operating a compositor.
  • Use the included Westeros includes sample compositor app OR you can implement a custom compositor.
  • Allows Westeros allows an application to create a Wayland display within itself to create what we call - referred to as an embedded compositor. Main The main UI can then control the embedded application windowandlifecyclewindow and lifecycle.

Architecture

Gliffy Diagram
macroIda1ac8235-b999-4de6-aede-b9414d697b9b
nameWesteros Architecture
pagePin2

...

Gliffy Diagram
namewesteros use case
pagePin1

...

The hosting application (MSO Guide) has control over the presentation & composition of third-party applications.

Advantages of Westeros over Weston Compositor

There are two main sets of attributes of Westeros that could make it a good choice,:

First:

  • Westeros is small and , simple, and it is for targets embedded systems.
  • It’s Its small code size makes it easier to understand and maintain.
  • it Westeros concentrates on functionality needed for embedded systems rather than trying to include features that are related to traditional desktop computing.

Second:

  • The functionality of Wayland composition is in a shared library that provides an API for creating and operating a compositor.
  • One You can use the included sample compositor app, or just you can use it the sample as a reference for implementing a custom compositor.  
  • A big advantage this brings is that it allows an application to create a The use of embedded compositors allows applications to create additional Wayland display within itself to create what we call an embedded compositor.

A 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, one wants 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 would be is a more appropriate choice.

Westeros as

...

Wayland Library

  • Westeros implements the

...

  • Wayland protocols and is compatible with applications that are built to use Wayland compositors.

...

  • Westeros supports the creation of normal, nested, and embedded Wayland Compositors.

...

  • Westeros includes memory management primitives in order to provide a better video experience.

Build Steps

Bitbake recipes to build wpewebkit integrated with westeros is available in for building wpewebkit, which is integrated with Westeros, are available in the meta-metrological layer in the CMF space. Changes which are required to build and run westeros Westeros-integrated application applications on the Raspberry Pi platform, have been merged into meta-cmf-raspberrypi CMF Layer.

Steps to run a Westeros-enabled

...

Application

Since westeros the Westeros compositor is integrated with the WPE Browser, any application/link using WPE can be used for westeros compositor demonstration. Make sure to set few to demonstrate a Westeros compositor.

To run a Westeros-enabled application:

  1. Set the following environment variables prior to

...

  1. running a compositor-enabled application:

...



  1. $ export XDG_RUNTIME_DIR=/run/user/0/
    $ export WAYLAND_DISPLAY=WPE

...


  1. Run the Westeros compositor for WPE display server

...

  1. :

    $ westeros --renderer /usr/lib/libwesteros_render_gl.so.0.0.0 --display WPE

  2. Run the wizardkit

...

  1. UI Application:

    $ WPELauncher http://<RaspberryPi Hybrid Ip>:80/wizardkit/ui/guide.html

  2. Run

...

  1. the pre-built Westeros bits included with the test case:

    $ westeros_test --display WPE