[PATCH] shell: fix weston_output_mode_switch() usage

2014-09-19 Thread Derek Foreman
Calling weston_output_mode_switch() with WESTON_MODE_SWITCH_RESTORE_NATIVE will result in the mode being set "back" to the passed in mode - so the passed mode should be the native mode. Additionally, weston_output_mode_switch() should be called when output->original_mode is non-NULL (which indicat

Re: [PATCH weston 1/3] Introduce pointer lock interface

2014-09-19 Thread Jason Ekstrand
On Fri, Sep 19, 2014 at 11:20 AM, Jonas Ådahl wrote: > On Fri, Sep 19, 2014 at 11:00:21AM -0600, Jasper St. Pierre wrote: > > On Fri, Sep 19, 2014 at 2:54 AM, Pekka Paalanen > wrote: > > > > > On Fri, 19 Sep 2014 08:33:13 +0200 > > > Jonas Ådahl wrote: > > > > > > > On Thu, Sep 18, 2014 at 10:4

Re: The part of code that maintains the position of each surface

2014-09-19 Thread Jonas Ådahl
On Fri, Sep 19, 2014 at 02:24:50PM -0400, Hongze Zhao wrote: > Hi All, > > I am using weston-1.5.X and I am curious about the which part of code that > maintains the position of each surface. > > When multiple clients connects to the weston server and initializes its > surface, the surfaces are n

The part of code that maintains the position of each surface

2014-09-19 Thread Hongze Zhao
Hi All, I am using weston-1.5.X and I am curious about the which part of code that maintains the position of each surface. When multiple clients connects to the weston server and initializes its surface, the surfaces are not showed in the exactly same position initially, which means someone is ma

Re: [PATCH weston 1/3] Introduce pointer lock interface

2014-09-19 Thread Jonas Ådahl
On Fri, Sep 19, 2014 at 11:00:21AM -0600, Jasper St. Pierre wrote: > On Fri, Sep 19, 2014 at 2:54 AM, Pekka Paalanen wrote: > > > On Fri, 19 Sep 2014 08:33:13 +0200 > > Jonas Ådahl wrote: > > > > > On Thu, Sep 18, 2014 at 10:43:47AM -0700, Jason Ekstrand wrote: > > > > On Thu, Sep 18, 2014 at 2:

Re: [PATCH weston 1/3] Introduce pointer lock interface

2014-09-19 Thread Jasper St. Pierre
On Fri, Sep 19, 2014 at 2:54 AM, Pekka Paalanen wrote: > On Fri, 19 Sep 2014 08:33:13 +0200 > Jonas Ådahl wrote: > > > On Thu, Sep 18, 2014 at 10:43:47AM -0700, Jason Ekstrand wrote: > > > On Thu, Sep 18, 2014 at 2:26 AM, Pekka Paalanen > wrote: > > > > > > > On Wed, 17 Sep 2014 22:35:40 +0200

Re: Wayland and Weston 1.6.0 released

2014-09-19 Thread Andrea Giammarchi
Great stuff, congratulations for the release! On Fri, Sep 19, 2014 at 11:51 AM, Pekka Paalanen wrote: > Hi, > > this is the Wayland and Weston release 1.6.0. The SHA1s are: > > 6183108a3bffb204c05b7f37b763b6278760572d wayland-1.6.0.tar.xz > 339e83aa579569711cd14623ca4b2db46256b766 wayland

Wayland and Weston 1.6.0 released

2014-09-19 Thread Pekka Paalanen
Hi, this is the Wayland and Weston release 1.6.0. The SHA1s are: 6183108a3bffb204c05b7f37b763b6278760572d wayland-1.6.0.tar.xz 339e83aa579569711cd14623ca4b2db46256b766 wayland 1.6.0 tag f3c801f0610b605cda45a017b475c10f2d3b7dbb weston-1.6.0.tar.xz 2858cc2a50854685b44eee72994dea57f5aa42

Re: Is there specail requirement for libEGL.so to support wayland1.5?

2014-09-19 Thread Pekka Paalanen
On Fri, 19 Sep 2014 10:43:09 +0300 Giulio Camuffo wrote: > That doesn't sound right. The Wayland ABI didn't change in the > 1.4->1.5 timeframe, so a rebuild shouldn't be needed. You should try > to debug and find the exact problem. Yes, exactly this. It should just work. Please provide WAYLAND_

Re: [PATCH libinput 01/10] Replace pointer acceleration with a much simpler linear one

2014-09-19 Thread Steven Newbury
On Fri, 2014-09-19 at 15:44 +1000, Peter Hutterer wrote: > We ran a userstudy, evaluating three different accel methods. > Detailed results are > available at: > http://www.who-t.net/publications/hutterer2014_libinput_ptraccel_study.pdf > > We found that there was little difference between the m

Re: [PATCH weston 1/3] Introduce pointer lock interface

2014-09-19 Thread Pekka Paalanen
On Fri, 19 Sep 2014 08:33:13 +0200 Jonas Ådahl wrote: > On Thu, Sep 18, 2014 at 10:43:47AM -0700, Jason Ekstrand wrote: > > On Thu, Sep 18, 2014 at 2:26 AM, Pekka Paalanen wrote: > > > > > On Wed, 17 Sep 2014 22:35:40 +0200 > > > Jonas Ådahl wrote: > > > > > > > On Wed, Sep 17, 2014 at 11:16:0

RE: Is there specail requirement for libEGL.so to support wayland1.5?

2014-09-19 Thread Yang Andy
Hi Yong Thanks for your reply. Best regards. Andy From: yong@freescale.com To: williamyan...@hotmail.com; wayland-devel@lists.freedesktop.org Subject: RE: Is there specail requirement for libEGL.so to support wayland1.5? Date: Fri, 19 Sep 2014 07:21:41 + Hi Andy: You need rebu

Re: Is there specail requirement for libEGL.so to support wayland1.5?

2014-09-19 Thread Giulio Camuffo
That doesn't sound right. The Wayland ABI didn't change in the 1.4->1.5 timeframe, so a rebuild shouldn't be needed. You should try to debug and find the exact problem. -- Giulio 2014-09-19 10:21 GMT+03:00 yong@freescale.com : > Hi Andy: > > > > You need rebuild libEGL.so with wayland and w

RE: Is there specail requirement for libEGL.so to support wayland1.5?

2014-09-19 Thread yong....@freescale.com
Hi Andy: You need rebuild libEGL.so with wayland and weston 1.5 header files. So you'd better get the EGL driver from your vendor for weston1.5. Best regards Yong Gan From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Yang Andy Sent: Friday, September 19, 201

Re: [PATCH libinput 09/10] tools: keep a list of devices around for run-time changes

2014-09-19 Thread Hans de Goede
Hi, On 09/19/2014 07:44 AM, Peter Hutterer wrote: > Hard-coded to 50 devices, because for a debugging tool that's plenty. > > Signed-off-by: Peter Hutterer This patch and 10/10 look good and are: Reviewed-by: Hans de Goede Regards, Hans > --- > tools/event-gui.c | 36 +

Re: [PATCH libinput 08/10] touchpad: hook up pointer acceleration configuration

2014-09-19 Thread Hans de Goede
Hi, On 09/19/2014 07:44 AM, Peter Hutterer wrote: > Signed-off-by: Peter Hutterer > --- This is exactly the same code as in src/evdev.c since evdev-mt-touchpad derives from evdev, can't it re-use that code somehow ? Regards, Hans > src/evdev-mt-touchpad.c | 45 +++

Re: [PATCH libinput 07/10] evdev: hook into pointer acceleration config interface

2014-09-19 Thread Hans de Goede
Hi, On 09/19/2014 07:44 AM, Peter Hutterer wrote: > Signed-off-by: Peter Hutterer > --- > src/evdev.c | 39 +++ > src/evdev.h | 1 + > 2 files changed, 40 insertions(+) > > diff --git a/src/evdev.c b/src/evdev.c > index de7ee16..eb570e2 100644 > --- a/src/ev

Re: [PATCH libinput 06/10] Add a pointer acceleration API

2014-09-19 Thread Hans de Goede
Hi, On 09/19/2014 07:44 AM, Peter Hutterer wrote: > Only exposes one knob - speed, normalized to a [-1, 1] range with 0 being the > neutral "this is what we think is normal" speed. -1 and 1 reflect the > slowest/fastest reasonable speed on this device. > > Note: with this API we commit to having

Re: [PATCH libinput 05/10] filter: adjust acceleration curve depending on speed

2014-09-19 Thread Hans de Goede
Hi, On 09/19/2014 07:44 AM, Peter Hutterer wrote: > The acceleration curve consists of four parts, in ascii-art like this: > _ >/ > / > / > / > > where the x axis is the speed, y is the acceleration factor. > The first plateau is at the acceleration factor 1 (i.

Is there specail requirement for libEGL.so to support wayland1.5?

2014-09-19 Thread Yang Andy
Hi Everyone I test EGL application software with weston/wayland protocol on my board. When i run EGL application with weston1.5,it failed to run and stop at eglInitialize. But it can run EGL application with weston1.4 correctly. Is there specail requirement for libEGL.so to support wayland1.5?