[meta-freescale] [meta-fsl-arm][PATCH 0/2] Wayland support for i.MX6

Otavio Salvador otavio at ossystems.com.br
Wed Mar 26 18:34:55 PDT 2014


Hello,

Prabhu been working in this patches for a while and I think it is
ready for wider review/testing. This depends on a patch for OE-Core[1]
so please be careful to apply this one before testing it.

1. http://patchwork.openembedded.org/patch/69339/

You can use the core-image-weston image to try it.

He provided a quite nice 'how-to' for it:

Simple tests

$: weston-simple-shm => basic wayland example
$: weston-simple-egl => basic wayland example. To make sure egl integration works fine
$: weston-terminal => To make sure cairo integration works fine.
 
Enabling multibuffering

$: export FB_MULTI_BUFFER=2
$: /etc/init.d/weston restart
 
How to start with gal2d compositor

$: /etc/init.d/weston stop
$: weston –tty=1 –use-gl=0 –use-gal2d=1 &
 
 
Using Multi(extended) display), make sure /dev/fb0 and /dev/fb1 has
same color depth

$: /etc/init.d/weston stop

$: weston –tty=1 –use-gl=0 –use-gal2d=1 –device=”dev/fb0,/dev/fb2” &  
 
Using QT5, need to build meta-qt5 with qtwayland package. Then run
with

$: hellogl_es2 –platform wayland-egl

Prabhu Sundararaj (2):
  cairo: add OpenGL ES2 support for i.MX6
  weston: Add i.MX6 GPU support

 recipes-graphics/cairo/cairo_%.bbappend            |    9 +
 .../0001-Add-support-for-Vivante-FBDEV-EGL.patch   |   69 +
 ...-weston-Add-Vivante-2D-compositor-support.patch | 1513 ++++++++++++++++++++
 recipes-graphics/wayland/weston_1.4.0.bbappend     |   21 +
 4 files changed, 1612 insertions(+)
 create mode 100644 recipes-graphics/cairo/cairo_%.bbappend
 create mode 100644 recipes-graphics/wayland/weston/0001-Add-support-for-Vivante-FBDEV-EGL.patch
 create mode 100644 recipes-graphics/wayland/weston/0002-weston-Add-Vivante-2D-compositor-support.patch
 create mode 100644 recipes-graphics/wayland/weston_1.4.0.bbappend

-- 
1.9.1



More information about the meta-freescale mailing list