weston gdlbackend is available on gitorious now

Juan Zhao juan.j.zhao at linux.intel.com
Mon May 14 20:38:13 PDT 2012


  Hi All,

     I've successfully run weston and its shm and egl/gles client over 
Intel CE platform SDV now. The screen-shot is like this:
wayland screenshot
     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.

     Here are some info about weston gdlbackend:

the other upstream packages commits I used for the test:

cairo:

	

d304f0e57be8036719c3709e2419487326369105

kbproto:

	

cb49f95af605bd5019e194eeb656d8789d57756a

libxkbcommon:

	

aaffcef35d692b0c77fe88d63ac6d9c669aad080

pixman:

	

e27bdcd968e786079353432d14816600bf813d76

dri2 proto:

	

7fd18b15646a62bd82a4eb0eca60a34c1731813d

gl proto:

	

29d5b553b30755a25300c30b67d39b37c9a76466

libX11:

	

7f23c72c94d9d14122426b0d8c66054f1402769a

macros-macros:

	

08dd5d30c137abe43d5b1673edc39eb569881d66

xproto:

	

06ebd5b88bee8c54222bde3178dc773776036802

running
#cd $WLD/bin
#./weston or ./weston --mode=720p

#cd WaylandSourceCode/client/
#./simple-shm or others


supporting modes
{ name, width,height, refresh, interlace }
{ "480i", 720, 480, GDL_REFRESH_59_94, GDL_TRUE },
{ "480p", 720, 480, GDL_REFRESH_59_94, GDL_FALSE },
{ "576i", 720, 576, GDL_REFRESH_50, GDL_TRUE },
{ "576p", 720, 576, GDL_REFRESH_50, GDL_FALSE },
{ "720p", 1280, 720, GDL_REFRESH_59_94, GDL_FALSE },
{ "720p50", 1280, 720, GDL_REFRESH_50, GDL_FALSE },
{ "1080i", 1920, 1080, GDL_REFRESH_59_94, GDL_TRUE },
{ "1080i50",1920, 1080, GDL_REFRESH_50, GDL_TRUE },
{ "1080p", 1920, 1080, GDL_REFRESH_59_94, GDL_FALSE },
{ "1080p50",1920, 1080, GDL_REFRESH_50, GDL_FALSE },
{ "1080p24",1920, 1080, GDL_REFRESH_23_98, GDL_FALSE },
{ NULL, 0, 0, 0, 0 }

*note:* 1080x is not supported now, because we are using cairo-image, 
and we will meet cairo SSE2 segment fault error when the mode is higher 
than 720p


summarize

method

	

FBO+GBM

	

Render to Surface

Render to

	

Render to gbm buffer object and copy to gdl surface

	

Render to eglsurface which is on screen directly

Share memory applications

	

OK

	

OK

Simple-egl applications

	

OK

	

OK(the frame rate is not stable)

Performance(ms/frame)

	

169

	

28


modify the code to choose one method:

Enable FBO+GBM

	

#define GDL_USEFBO 1
#define TEST_GBM 1

Enable Render to Surface

	

#undef GDL_USEFBO
#undef TEST_GBM

Enable Performance Calc

	

#define PERFORMANCE_TEST 1


Thanks,
Juan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120515/0a80f044/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wayland-screenshot.png
Type: image/png
Size: 67138 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120515/0a80f044/attachment-0001.png>


More information about the wayland-devel mailing list