Re: [PATCH] [weston, v4] weston.ini: Add natural scroll support to weston.ini This adds support for enabling/disabling natural scrolling via a boolean in weston.ini:

2017-02-06 Thread Peter Hutterer
On Mon, Feb 06, 2017 at 12:00:08PM +0200, Pekka Paalanen wrote: > On Mon, 6 Feb 2017 10:36:56 +1000 > Peter Hutterer wrote: > > > On Sun, Feb 05, 2017 at 07:30:18PM -0500, Jiayi Zhao wrote: > > > ​​ > > > Hmmm, after using udev_device_has_tag(udev_device, "ID_INPUT_TOUCHPAD"), > > > I'm getting l

[PATCH] testing: add section about debugging individual tests with gdb

2017-02-06 Thread Micah Fedke
--- testing.html | 18 ++ 1 file changed, 18 insertions(+) diff --git a/testing.html b/testing.html index e5781fe..c005df1 100644 --- a/testing.html +++ b/testing.html @@ -184,4 +184,22 @@ way to learn how to leverage these API's is to study some of the existing tests (e.g. test

[PATCH v2] clients: teach simple-dmabuf-v4l to deal with flipped input

2017-02-06 Thread Micah Fedke
The v4l2 API can be queried to detect if the input video image is horizontally or vertically flipped. If the image is y-flipped, we can set the ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_Y_INVERT flag to notify the compositor. If the image is h-flipped, we can only print a warning since linux_buffer_params_

weston-simple-egl fullscreen broken?

2017-02-06 Thread Fabien DESSENNE
Hi I remember I used to get < weston-simple-egl -f > working fine. But it does not work anymore : nothing is displayed. From the logs I can see (among others) zxdg_toplevel_v6.configure and wl_surface.commit Testing with another client works fine: weston-terminal -f -> OK There may be something w

RE: How to specify the output for a weston window?

2017-02-06 Thread Ucan, Emre (ADITG/SW1)
Hi, It is possible with IVI-Shell. If you are interested, there is a quick start guide here: https://at.projects.genivi.org/wiki/display/WIE/01.+Quick+start Best regards Emre Ucan Software Group I (ADITG/SW1) Tel. +49 5121 49 6937 -Original Message- From: wayland-devel [mailto:wayland

Re: [PATCH wayland-protocols v3] linux-dmabuf: add immediate dmabuf import path

2017-02-06 Thread Pekka Paalanen
On Mon, 6 Feb 2017 13:33:43 +0530 Varad Gautam wrote: > Hi Pekka, > > On Fri, Feb 3, 2017 at 8:39 PM, Pekka Paalanen > wrote: > > On Tue, 31 Jan 2017 18:41:52 +0530 > > Varad Gautam wrote: > > > >> From: Varad Gautam > >> > >> provide a mechanism that allows clients to import the added dmab

How to specify the output for a weston window?

2017-02-06 Thread Zhu, Lingyun
Hi, Guys Is this possible to specify the output for a weston window (use API)? E.g. When I connected 2 monitors (monitor A and monitor B) on my system, and I want to display a picture on monitor A. Thanks, Lingyun ___ wayland-devel mailing list waylan

Re: [PATCH] protocol: Add gaming input protocol

2017-02-06 Thread Pekka Paalanen
On Mon, 23 Jan 2017 18:58:29 -0500 "Stephan Sokolow (You actually CAN reply)" wrote: > When I first became aware of this patch, my first response was > excitement that Wayland would finally take gamepad input into account > when doing screensaver suppression. > > However, with the idea to pass

Re: [PATCH weston 1/2] compositor-drm: update connectors with connector config

2017-02-06 Thread Pekka Paalanen
On Mon, 6 Feb 2017 12:19:45 + Daniel Stone wrote: > Hi Pekka, > > On 6 February 2017 at 12:00, Pekka Paalanen wrote: > > On Mon, 6 Feb 2017 11:05:51 + > > Daniel Stone wrote: > >> I think we've got to choose between fixing it for 1.13 and removing it > >> immediately after release (w

Re: [PATCH weston] ivi-shell: add screen_remove_layer API

2017-02-06 Thread Pekka Paalanen
On Mon, 30 Jan 2017 14:42:42 + "Ucan, Emre (ADITG/SW1)" wrote: > Hi Pekka, > > You are right. I will send second patch and add the function to end > of the function list. > > It is stated in ivi-shell/README that ivi_layout interface is stable. > But I think should not be stable yet. Becaus

Re: [PATCH weston 1/2] compositor-drm: update connectors with connector config

2017-02-06 Thread Daniel Stone
Hi Pekka, On 6 February 2017 at 12:00, Pekka Paalanen wrote: > On Mon, 6 Feb 2017 11:05:51 + > Daniel Stone wrote: >> I think we've got to choose between fixing it for 1.13 and removing it >> immediately after release (which I will happily do), or just ripping >> it out now. > > I believe it

Re: [PATCH weston 1/2] compositor-drm: update connectors with connector config

2017-02-06 Thread Pekka Paalanen
On Mon, 6 Feb 2017 11:05:51 + Daniel Stone wrote: > Hi, > > On 6 February 2017 at 10:29, Pekka Paalanen wrote: > > On Thu, 2 Feb 2017 14:06:55 + > > "Ucan, Emre (ADITG/SW1)" wrote: > >> weston can be started with --connector option to be initialized > >> with a particular output. But

Re: [PATCH 1/2] compositor-drm: don't put y-inverted / interlaced / bottom-first dmabufs on overlays

2017-02-06 Thread Pekka Paalanen
On Wed, 1 Feb 2017 15:28:23 -0500 Micah Fedke wrote: > This patch checks the attribute flags on incoming dmabufs and refuses to > put them overlays if they have any of the flags set (currently: > ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_Y_INVERT, > ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_INTERLACED and > ZWP_L

Re: [PATCH 2/2] clients: teach simple-dmabuf-v4l to deal with flipped input

2017-02-06 Thread Pekka Paalanen
On Wed, 1 Feb 2017 15:28:24 -0500 Micah Fedke wrote: > The v4l2 API can be queried to detect if the input video image is > horizontally or vertically flipped. If the image is y-flipped, we can > set the ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_Y_INVERT flag to notify the > compositor. If the image is h

Re: [PATCH weston 1/2] compositor-drm: update connectors with connector config

2017-02-06 Thread Daniel Stone
Hi, On 6 February 2017 at 10:29, Pekka Paalanen wrote: > On Thu, 2 Feb 2017 14:06:55 + > "Ucan, Emre (ADITG/SW1)" wrote: >> weston can be started with --connector option to be initialized >> with a particular output. But in the update_outputs this option >> is not considered and output is cr

Re: [PATCH weston 2/2] compositor-drm: don't pass option_connector to create_outputs

2017-02-06 Thread Pekka Paalanen
On Thu, 2 Feb 2017 14:06:56 + "Ucan, Emre (ADITG/SW1)" wrote: > The connector option is a part of drm_backend struct. > Therefore, it is not needed to pass it as an argument > to create_outputs function. > > Signed-off-by: Emre Ucan > --- > libweston/compositor-drm.c |9 - > 1

RE: How to do mode setting in Wayland

2017-02-06 Thread Zhu, Lingyun
Hi, Guys Is this possible to specify the output for a weston window? E.g. When I connected 2 monitors (monitor A and monitor B) on my system, and I want to display a picture on monitor A. Thanks, Lingyun ___ wayland-devel mailing list wayland-devel@li

RE: How to do mode setting in Wayland

2017-02-06 Thread Zhu, Lingyun
Thank you very much. It works. Thanks, Lingyun -Original Message- From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Emmanuel Gil Peyrot Sent: Friday, December 23, 2016 11:59 PM To: Zhu, Lingyun Cc: wayland-devel Subject: Re: How to do mode setting in

Re: [PATCH weston 1/2] compositor-drm: update connectors with connector config

2017-02-06 Thread Pekka Paalanen
On Thu, 2 Feb 2017 14:06:55 + "Ucan, Emre (ADITG/SW1)" wrote: > weston can be started with --connector option to be initialized > with a particular output. But in the update_outputs this option > is not considered and output is created for all the available > connectors. This patch fixes this

Re: [PATCH weston v2] ivi-shell: add screen_remove_layer API

2017-02-06 Thread Pekka Paalanen
On Mon, 30 Jan 2017 15:08:19 + "Ucan, Emre (ADITG/SW1)" wrote: > It is analagous to layer_remove_surface API. > The API removes a layer from the render order of > the screen. > > v2: > add the new vfunc at the end of > the ivi_layout_interface struct. > > Signed-off-by: Emre Ucan > --- >

Re: [PATCH weston 2/2] ivi-shell: simplfy commit_changes function

2017-02-06 Thread Pekka Paalanen
On Mon, 30 Jan 2017 13:36:07 + "Ucan, Emre (ADITG/SW1)" wrote: > It is a better idea to use one for loop instead > of using three nested for loops. > > We do not need to update the transformation of > views according to the scenegraph. The important > thing is that every visible view is upda

Re: [PATCH] [weston, v4] weston.ini: Add natural scroll support to weston.ini This adds support for enabling/disabling natural scrolling via a boolean in weston.ini:

2017-02-06 Thread Pekka Paalanen
On Mon, 6 Feb 2017 10:36:56 +1000 Peter Hutterer wrote: > On Sun, Feb 05, 2017 at 07:30:18PM -0500, Jiayi Zhao wrote: > > ​​ > > Hmmm, after using udev_device_has_tag(udev_device, "ID_INPUT_TOUCHPAD"), > > I'm getting linking errors. Quick google of this leads to: libraries on the > > command lin

Re: [PATCH wayland-protocols v3] linux-dmabuf: add immediate dmabuf import path

2017-02-06 Thread Varad Gautam
Hi Pekka, On Fri, Feb 3, 2017 at 8:39 PM, Pekka Paalanen wrote: > On Tue, 31 Jan 2017 18:41:52 +0530 > Varad Gautam wrote: > >> From: Varad Gautam >> >> provide a mechanism that allows clients to import the added dmabufs >> and immediately use the newly created wl_buffers without waiting on >>