Dual display in clone mode with weston and wayland-ivi-extension

2017-03-09 Thread Vikas Patil
Dear All, Do wayland/weston or wayland-ivi-extension supports dual display in clone mode? If not, is there any way I can configure weston or wayland-ivi-extension to operate dual display in clone mode? Is there any plan to support this? Any suggestions/inputs on How can I achieve this? Thanks

[ANNOUNCE] libinput 1.6.902

2017-03-09 Thread Peter Hutterer
The second RC for libinput 1.7 is now available. While I have your attention: **TEST THIS OR YOUR TOUCHPAD MAY NOT WORK** We switched to pressure-based touch detection on compatible touchpads but the pressure thresholds can differ between various touchpad manufacturers and even models. We've

Re: [PATCH weston v9 06/62] compositor-drm: Refactor destroy drm_fb function

2017-03-09 Thread Emil Velikov
On 3 March 2017 at 23:05, Daniel Stone wrote: > From: Tomohito Esaki > > The drm_fb destroy callback to mostly the same thing regardless of > whether the buffer is a dumb buffer or gbm buffer. This patch refactors > the common parts into a new function

Re: [PATCH weston v9 03/62] compositor-drm: Calculate more cursor state up front

2017-03-09 Thread Emil Velikov
On 3 March 2017 at 23:05, Daniel Stone wrote: > - x = (x - output->base.x) * output->base.current_scale; > - y = (y - output->base.y) * output->base.current_scale; > + x = (output->cursor_plane.x - output->base.x) * > +

Re: [PATCH weston v9 01/62] libweston: Add pixel-format helpers

2017-03-09 Thread Emil Velikov
Hi Daniel, So was feeling a bit bored and decided to remind myself about all the crazy formats out there :-) I believe you've got a couple of mistakes, plus there's a couple of questions/ideas below. Note that handful of those are inspired by now format info is stored in DRM. On 3 March 2017 at

Re: [PATCH weston] weston-terminal: Add a --maximized command line parameter

2017-03-09 Thread Bryce Harrington
On Wed, Mar 08, 2017 at 11:58:20AM -0600, Derek Foreman wrote: > This is useful for testing compositor response to a client that > requests a maximized initial surface. > > Signed-off-by: Derek Foreman Reviewed-by: Bryce Harrington > --- >

Re: [PATCH libinput] configure.ac: set AC_CONFIG_AUX_DIR

2017-03-09 Thread Emil Velikov
On 8 March 2017 at 21:57, Peter Hutterer wrote: > If not set, libtool will search directories up to ../.. for an install-sh and > then dump the aux files there. This caused a couple of problems with the xorg > release.sh script that now uses worktrees but is generally

Re: weston-simple-egl fullscreen broken?

2017-03-09 Thread Pekka Paalanen
On Thu, 9 Mar 2017 15:01:03 + Vincent ABRIOU wrote: > On 03/09/2017 02:48 PM, Pekka Paalanen wrote: > > On Thu, 9 Mar 2017 12:53:35 + > > Vincent ABRIOU wrote: > > > >> Hi Pekka, > >> > >> On 03/09/2017 11:32 AM, Pekka Paalanen wrote: >

Re: weston-simple-egl fullscreen broken?

2017-03-09 Thread Vincent ABRIOU
On 03/09/2017 02:48 PM, Pekka Paalanen wrote: > On Thu, 9 Mar 2017 12:53:35 + > Vincent ABRIOU wrote: > >> Hi Pekka, >> >> On 03/09/2017 11:32 AM, Pekka Paalanen wrote: >>> On Wed, 8 Mar 2017 17:16:31 + >>> Vincent ABRIOU wrote: >>>

Re: weston-simple-egl fullscreen broken?

2017-03-09 Thread Pekka Paalanen
On Thu, 9 Mar 2017 12:53:35 + Vincent ABRIOU wrote: > Hi Pekka, > > On 03/09/2017 11:32 AM, Pekka Paalanen wrote: > > On Wed, 8 Mar 2017 17:16:31 + > > Vincent ABRIOU wrote: > > > >> Hi, > >> > >> I have investigate deeper the issue and

Re: weston-simple-egl fullscreen broken?

2017-03-09 Thread Vincent ABRIOU
Hi Pekka, On 03/09/2017 11:32 AM, Pekka Paalanen wrote: > On Wed, 8 Mar 2017 17:16:31 + > Vincent ABRIOU wrote: > >> Hi, >> >> I have investigate deeper the issue and it comes from the Mali400 >> wayland library (at least in the r6p1-01rel0 version). >> >> Actually,

[PATCH libinput 13/13] tablet: add axis smoothing

2017-03-09 Thread Peter Hutterer
Taking the tablet events as-is produces the occasional wobble in what should be a straight line. But 99961 has a jpg attachment to illustrate that. Emulate the wacom driver behavior and average x/y across the last 4 values to smoothen out these dents.

[PATCH libinput 07/13] tablet: move the axis transforms to the end

2017-03-09 Thread Peter Hutterer
No functional changes, part of the grouping of tablet axis manipulation vs. processing of that manipulated state. Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/evdev-tablet.c

[PATCH libinput 08/13] tablet: reshuffle device axis updates

2017-03-09 Thread Peter Hutterer
This is prep work for axis smoothing. Modify the various helper functions to just update the state in the tablet and then grab the state later for better grouping. Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 77

[PATCH libinput 10/13] tablet: split point vs delta handling up

2017-03-09 Thread Peter Hutterer
Handle the delta in the end once we've updated the device state for all axes. This requires us to use the device history rather than the current state delta, and it also requires us to update both x and y whenever an axis change comes in. Signed-off-by: Peter Hutterer

[PATCH libinput 12/13] tablet: reset delta and changed axes as soon as we send them

2017-03-09 Thread Peter Hutterer
We don't have frame events for tablets so we must take care to send the axis change notifications once only and leave the others as-is. Most of the axes ar absolute so it doesn't really matter, but we need to reset the delta to make sure clients don't receive the same delta twice. Signed-off-by:

[PATCH libinput 11/13] tablet: add assert that deltas are always 0

2017-03-09 Thread Peter Hutterer
The tablet axis struct has a delta field that's only useful for the events, not for our internal axis handling. Make sure we never set it to anything nonzero. Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH libinput 09/13] table: move custom rotation handling into a helper function

2017-03-09 Thread Peter Hutterer
This is a bit hard to follow: - tilt is handled first, if either tilt axis is set, we fetch *both* tilt axes into tablet->axes.tilt - rotation is handled second but it only triggers if either tilt axis is flagged. since we now guarantee to have both axes in tablet->axes.tilt, we can continue

[PATCH libinput 01/13] tablet: drop unnecessary call to reset the changed axes

2017-03-09 Thread Peter Hutterer
The only code path that leads here would see the changed_axes array zeroed out in tablet_send_axis_proximity_tip_down_events(), zeroing again is unlikely to make it more zero. Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 1 - 1 file changed, 1 deletion(-)

[PATCH libinput 06/13] tablet: move delta processing down

2017-03-09 Thread Peter Hutterer
No functional changes, this is just to group the calls that modify tablet axis state together and move the bits that rely on this state (but don't modify it) to the bottom. Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH libinput 05/13] tablet: add a motion history

2017-03-09 Thread Peter Hutterer
Stores the processed axes values in a history 4 deep. Currently unused but will be used to smoothen out axis values to avoid transducer-caused axis jumps. Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 62 +-

[PATCH libinput 02/13] tablet: remove unnecessary out-of-prox check

2017-03-09 Thread Peter Hutterer
This cannot trigger, if we have this status set we never get here, tablet_flush() will return early. Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/evdev-tablet.c b/src/evdev-tablet.c

[PATCH libinput 04/13] tablet: move definition of tablet_axes down

2017-03-09 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/libinput-private.h | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/libinput-private.h b/src/libinput-private.h index 205dbf8..a1d5000 100644 --- a/src/libinput-private.h +++

[PATCH libinput 00/13] tablet axis smoothing

2017-03-09 Thread Peter Hutterer
This is a rather large patchset because it involved quite a fair bit of revamp of things. The actual interesting bits are just in the last patch, the rest moves code like a specific member of the rolling stones. The wacom tablet transducers aren't as accurate as a perfect world would require them

[PATCH libinput 03/13] tablet: reshuffle the event sending code

2017-03-09 Thread Peter Hutterer
The current code modifies a bit of state inside the proximity_tip_down function which makes for confusing reading. Clean this up by having a bunch of helper functions for the various events. Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 231

Re: waltham ivi-application build failed

2017-03-09 Thread Pekka Paalanen
On Thu, 9 Mar 2017 00:13:30 + "Mizuno, Wataru (ADITJ/SWG)" wrote: > Hello Pekka, > > Thank you for your kindly reply. > It is very helpful for me. > > >We haven't got far enough with Waltham to be able to build multiple > >XML files together. src/waltham/Makefile.am

Re: weston-simple-egl fullscreen broken?

2017-03-09 Thread Pekka Paalanen
On Wed, 8 Mar 2017 17:16:31 + Vincent ABRIOU wrote: > Hi, > > I have investigate deeper the issue and it comes from the Mali400 > wayland library (at least in the r6p1-01rel0 version). > > Actually, the Mali400 wayland library is creating very early the output >