weston gdlbackend is available on gitorious now

Arnaud Vrac rawoul at gmail.com
Tue May 15 04:17:01 PDT 2012


On Tue, May 15, 2012 at 5:38 AM, Juan Zhao <juan.j.zhao at linux.intel.com>wrote:

> **
> Hi All,****
>
>     I've successfully run weston and its shm and egl/gles client over
> Intel CE platform SDV now.
>      The code can be accessed on
> https://gitorious.org/wayland-and-weston-with-gdlbackend . The main code
> is just compositor-gdl.c, a gdl backend for weston. and this file is
> licensed as BSD.
>     For the trying, you need to clone the weston TVgdl branch. And the
> driver should support gbm and wl_egl interfaces.
>

Hi Juan,

that's nice work, congratulations on making weston work on this platform !

If you need I wrote an EGL backend for gdl/wayland:

https://github.com/rawoul/intelce-wayland

This adds a wl_gdl_buffer extension, which is used to create gdl buffers
and share them directly with the compositor. This allows flipping the
client surface directly on screen in the compositor when the client uses
this extension. The EGL backend uses this extension to create the window or
pixmap buffers, so it works out of the box with clients using EGL. You do
need to add the wl_gdl_buffer handling in the compositor though :)

Note that the powervr EGL drivers use EGL_SWAP_BEHAVIOR set to
EGL_BUFFER_PRESERVED
and you cannot change it without hacking the EGL backends. This means the
frontbuffer is copied to the backbuffer after each swap, which is obviously
slow. This can be avoided by calling glClear() at the start of the frame,
rendering the damage tracking useless in the compositor.

-- 
Arnaud Vrac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120515/9c09b183/attachment-0001.html>


More information about the wayland-devel mailing list