Re: [PATCH 1/3] Add wayland support

2012-08-23 Thread Pekka Paalanen
On Fri, 24 Aug 2012 08:08:22 +0200 Alexander Preisinger wrote: > Implements shared routines for initialising wayland and keyboard/pointer > input. > Indepentend from the video output. Hi, I have some wayland protocol related comments below, inline. > --- > libvo/wl_common.c | 634 >

[PATCH 3/3] Enable build for wayland egl

2012-08-23 Thread Alexander Preisinger
This uses 2 defines * CONFIG_WAYLAND * CONFIG_GL_WAYLAND CONFIG_WAYLAND is not used at the moment --- Makefile | 1 + configure | 48 +++- 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d1ce8dd..035606c 1006

[PATCH 2/3] Add wayland egl support for vo_gl

2012-08-23 Thread Alexander Preisinger
--- libvo/gl_common.c | 199 ++ libvo/gl_common.h | 9 +++ 2 files changed, 208 insertions(+) diff --git a/libvo/gl_common.c b/libvo/gl_common.c index 3b72349..d916db7 100644 --- a/libvo/gl_common.c +++ b/libvo/gl_common.c @@ -1971,6 +1971,182

[PATCH 1/3] Add wayland support

2012-08-23 Thread Alexander Preisinger
Implements shared routines for initialising wayland and keyboard/pointer input. Indepentend from the video output. --- libvo/wl_common.c | 634 ++ libvo/wl_common.h | 131 +++ 2 files changed, 765 insertions(+) create mode 100644 libvo/w

[RFC] Add wayland support for MPlayer2

2012-08-23 Thread Alexander Preisinger
This patch series will enable support for wayland via EGL. Input and output works correctly. But there is no window decoration. Please have look and tell what should be changed or improved. This patch series also goes to wayland-devel@lists.freedesktop.org. Regards, Alexander Preisinger

Re: Running xserver

2012-08-23 Thread Scott Moreau
On Thu, Aug 23, 2012 at 10:46 AM, Bill Spitzak wrote: > Any hints on what is needed to make xserver work under x11-compositor? > > Is it possible without setuid? > > From the sample launch script I have, it seems to require running wayland > with --xserver, and also running the new Xorg (which di

[XDC 2012] Conference Update #2

2012-08-23 Thread Egbert Eich
We are a little less than one month into XDC 2012 so here's some update: Registration: - So far we have 32 registered participants - which is pretty good. If you plan to come and haven't added yourself to the participants list at http://wiki.x.org/wiki/Events/XDC2012/Attendees, plea

Running xserver

2012-08-23 Thread Bill Spitzak
Any hints on what is needed to make xserver work under x11-compositor? Is it possible without setuid? From the sample launch script I have, it seems to require running wayland with --xserver, and also running the new Xorg (which did compile and install) with "-wayland -rootless :2". I am a l

Re: Compiling xserver on Ubuntu 12.04 Precise

2012-08-23 Thread Bill Spitzak
On 08/23/2012 08:40 AM, Bill Spitzak wrote: git clone git://anongit.freedesktop.org/xorg/xserver -b xwayland-1.12 Attempting to compile gets me this far: ./autogen.sh --prefix=/home/spitzak/install/ =-with-sha1=libgcrypt ^^^ Never mind, there wa

Re: Compiling xserver on Ubuntu 12.04 Precise

2012-08-23 Thread Bill Spitzak
On 08/22/2012 02:16 AM, Pekka Paalanen wrote: On Tue, 21 Aug 2012 21:44:46 -0700 Bill Spitzak wrote: On 08/21/2012 10:17 AM, Scott Moreau wrote: You probably have the wrong xserver code. Make sure you get it from the xwayland-1.12 branch of git://anongit.freedesktop.org/xorg/xserver

Re: [PATCH] intel: Adjust test to reflect that __DRI_IMAGE_USE_SHARE is always set

2012-08-23 Thread Rob Bradford
On 22 August 2012 21:00, Eoff, Ullysses A wrote: > should this go to the mesa list? Yeh. That's where it went first. I sent it here as an afterthought in case folks wanted to "unbreak" their mesa/weston. Cheerio, Rob ___ wayland-devel mailing list way

[PATCH v2 15/15] tablet-shell: a workaround to prevent memory leak in drawing background.

2012-08-23 Thread ning . tang
From: Ning Tang The origin method is to create a surface every time paint background and destroy it. But load_cairo_surface(1) and cairo_surface_destroy(1) will cause memory leak. Since sliding effect will cause background to be drawn many times, use this workaround to avoid out of memory.

[PATCH v2 14/15] tablet-shell: remove lock surface in tablet-shell.

2012-08-23 Thread ning . tang
From: Ning Tang It is no requirement to use lockscreen. So remove it totally now. Signed-off-by: Ning Tang --- clients/tablet-shell.c| 94 --- protocol/tablet-shell.xml | 5 --- src/tablet-shell.c| 89 +++

[PATCH v2 13/15] tablet-shell: add key binding to launch terminal.

2012-08-23 Thread ning . tang
From: Ning Tang Terminal is regarded as special application to tablet-shell. So use ctrl+T to launch it. The server will send an event to daemon, and it will launch terminal according to the path in .ini file. Signed-off-by: Ning Tang --- clients/tablet-shell.c| 25 +++

[PATCH v2 12/15] tablet-shell: add key binding for kill and activate surface.

2012-08-23 Thread ning . tang
From: Ning Tang Send kill signal to client in order to exit. After the client ends, the surface below it would get focus. Signed-off-by: Ning Tang --- src/tablet-shell.c | 74 ++ 1 file changed, 74 insertions(+) diff --git a/src/tablet-she

[PATCH v2 11/15] tablet-shell: add event in tablet-client protocol.

2012-08-23 Thread ning . tang
From: Ning Tang When a client is binded, the server side will send an event to let the client set fullscreen. If the client don't response, it will remain centered. Signed-off-by: Ning Tang --- protocol/tablet-shell.xml | 2 ++ src/tablet-shell.c| 74 +

[PATCH v2 09/15] tablet-shell: remove conflict key binding.

2012-08-23 Thread ning . tang
From: Ning Tang Left meta will cause mod key first recognized so mod + R is corrupted. Now tablet-shell can use mod + R to record video. Signed-off-by: Ning Tang --- src/tablet-shell.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tablet-shell.c b/src/tablet-shell.c index f17d888.

[PATCH v2 10/15] tablet-shell: add shell_surface in tablet-shell.

2012-08-23 Thread ning . tang
From: Ning Tang Since now toytoolkit and simple programs use shell_surface to show on screen, we add it in tablet-shell to let them show. But we only need serveral feature in tablet shell, the wl_shell is too big and not suitable for tablet-shell. And it is helpful to fill in the interface of wl

[PATCH v2 08/15] tablet-shell: add layout indicator on homescreen.

2012-08-23 Thread ning . tang
From: Ning Tang We could know how many layouts in total and our current layout. Keyword in ini file is the path to indicator images, use the format of 1-f.png(focus) 1.png 2-f.png... Signed-off-by: Ning Tang --- clients/tablet-shell.c | 47 +++ west

[PATCH v2 07/15] tablet-shell: add trash function when dragging launcher icon.

2012-08-23 Thread ning . tang
From: Ning Tang Determine whether to accpet the data by the allocation of trash area. If the icon is in it, then drop event will delete either the icon image as well as tag in ini file. Signed-off-by: Ning Tang --- clients/tablet-shell.c | 156

[PATCH v2 06/15] toytoolkit: add method to determine whether a point is in rectangle.

2012-08-23 Thread ning . tang
From: Ning Tang The method to determine whether a point is in an rectangle area is common and could be used by applications. Signed-off-by: Ning Tang --- clients/window.c | 17 + clients/window.h | 3 +++ 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/clien

[PATCH v2 05/15] tablet-shell: add motion handler to launchers.

2012-08-23 Thread ning . tang
From: Ning Tang Enable dragging launchers. Use the drag and drop mechanism, the launcher's icon is provided as cursor image. Currently ignore all drop events. Signed-off-by: Ning Tang --- clients/tablet-shell.c | 234 ++--- 1 file changed, 223 inser

[PATCH v2 04/15] tablet-shell: add sliding effect of layout.

2012-08-23 Thread ning . tang
From: Ning Tang Use frame callback to enable layout moving, so dragging layout will cause layout's offset changes. And redraw function will allocate corresponding positions to launchers. The allocation of layout won't change until sliding ends. Signed-off-by: Ning Tang --- clients/tablet-she

[PATCH v2 03/15] tablet-shell: break the connection between launcher and homescreen.

2012-08-23 Thread ning . tang
From: Ning Tang Launcher is totally depend on layout and add layout redraw function to manage drawing launchers. Signed-off-by: Ning Tang --- clients/tablet-shell.c | 135 ++--- weston-tablet.ini | 3 ++ 2 files changed, 97 insertions(+), 4

[PATCH v2 02/15] tablet-shell: add layout structure on homescreen.

2012-08-23 Thread ning . tang
From: Ning Tang It is a base for further operations on layout. Launchers are put in a certain layout. Signed-off-by: Ning Tang --- clients/tablet-shell.c | 62 +++--- weston-tablet.ini | 3 ++- 2 files changed, 61 insertions(+), 4 deletions

[PATCH v2 01/15] tablet-shell: add weston-tablet.ini file for tablet shell configuration.

2012-08-23 Thread ning . tang
From: Ning Tang Signed-off-by: Ning Tang --- weston-tablet.ini | 64 +++ 1 file changed, 64 insertions(+) create mode 100644 weston-tablet.ini diff --git a/weston-tablet.ini b/weston-tablet.ini new file mode 100644 index 000..9387bab --