Re: [PATCH v2 libinput 4/5] pad: implement wacom pad support

2016-05-02 Thread Peter Hutterer
[this got stuck in my drafts folder, sorry] On Thu, Apr 14, 2016 at 03:33:53PM -0700, Jason Gerecke wrote: > On 04/10/2016 09:15 PM, Peter Hutterer wrote: > > Signed-off-by: Peter Hutterer > > --- > > Adjustments for the new API in 2/5 > > +static void > > +pad_init_buttons(struct pad_dispatch *p

Re: [PATCH wayland v4 1/1] protocol: Add summaries to event parameters

2016-05-02 Thread Bryce Harrington
On Sat, Apr 30, 2016 at 10:50:37PM +0800, Jonas Ådahl wrote: > On Sat, Apr 30, 2016 at 07:35:50AM -0500, Yong Bakos wrote: > > From: Yong Bakos > > > > All event arg elements now have an appropriate summary attribute. > > This was conducted mostly in response to the undocumented parameter > > war

Re: [PATCH wayland 1/5] client: fix typo

2016-05-02 Thread Bryce Harrington
On Mon, May 02, 2016 at 12:29:57PM +0200, Armin Krezović wrote: > On 02.05.2016 10:49, Eric Engestrom wrote: > > Since all of the fixes are trivial, patches 1-5: > > Reviewed-by: Armin Krezović Thanks, pushed: 4db7602..ee4e21c master -> master Bryce > > Signed-off-by: Eric Engestrom > >

Re: [GSoC] Some questions about wayland clients with no outputs present

2016-05-02 Thread Bryce Harrington
On Mon, May 02, 2016 at 12:49:04PM +0200, Armin Krezović wrote: > On 30.04.2016 22:14, Bryce Harrington wrote: > > On Sat, Apr 30, 2016 at 05:20:09PM +0200, Armin Krezović wrote: > > But virtual outputs is not a bad idea, it could be useful for testing or > > perhaps to extend one's rendering beyon

Re: Dual Monitor mirror/twinview

2016-05-02 Thread Emmanuel Gil Peyrot
On Mon, May 02, 2016 at 06:10:34PM +, Engelmann Florian wrote: > Dear list, > > I am running an old HP thin client to display our monitoring dashboard. The > thin client got a i965 (i915 module) VGA adapter with a VGA and a HDMI > connector. I am able to start weston-launch (drm backend) hav

Re: [PATCH weston 2/8] compositor-drm: Write a name in the mode generated from a modeline

2016-05-02 Thread Yong Bakos
On May 2, 2016, at 4:40 PM, Emmanuel Gil Peyrot wrote: > > The current behaviour leaves the name empty, making it somewhat harder > to determine the characteristics of this mode from a debugger. > > Signed-off-by: Emmanuel Gil Peyrot Hi Emmanuel, One long line I noticed, below. yong > ---

Re: [PATCH wayland] Add version argument to wayland-scanner

2016-05-02 Thread Bryce Harrington
On Mon, May 02, 2016 at 12:27:50PM +0200, Armin Krezović wrote: > This adds a command line argument to print wayland-scanner version. > > It also makes wayland-scanner emit a comment with wayland library > version to every file it generates. > > Signed-off-by: Armin Krezović One formatting nit

[PATCH weston 6/8] compositor-drm: Make some functions take a weston_output directly

2016-05-02 Thread Emmanuel Gil Peyrot
Makes it clearer that they don’t use any field specific to drm_output, and reduce the amount of churn from the following commits. Signed-off-by: Emmanuel Gil Peyrot --- src/compositor-drm.c | 48 1 file changed, 24 insertions(+), 24 deletions(-)

[PATCH weston 2/8] compositor-drm: Write a name in the mode generated from a modeline

2016-05-02 Thread Emmanuel Gil Peyrot
The current behaviour leaves the name empty, making it somewhat harder to determine the characteristics of this mode from a debugger. Signed-off-by: Emmanuel Gil Peyrot --- src/compositor-drm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compositor-drm.c b/src/compositor-drm.c inde

[PATCH weston 4/8] compositor-drm: Prevent a crash in the pixman renderer

2016-05-02 Thread Emmanuel Gil Peyrot
When pixman is used and no connector could be found (or any other error), drm_backend_create() tried to destroy a gbm_device that would only be created in init_egl(), resulting in a segfault. Signed-off-by: Emmanuel Gil Peyrot --- src/compositor-drm.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH weston 7/8] compositor-drm: Implement clone mode, refactor output into logical ones

2016-05-02 Thread Emmanuel Gil Peyrot
Introduces a “same-as” configuration option for each output, which bypasses the rest of the output configuration (mode, scale, transform and seat) and instead makes it a clone of the specified output. This is implemented by splitting the drm_output struct into the per-connector drm_output and the

[PATCH weston 0/8] Implement clone mode for the DRM renderer

2016-05-02 Thread Emmanuel Gil Peyrot
This series implements a clone mode in the DRM renderer. It starts with a few one-liner fixes I found while implementing the feature, which wouldn’t really merit their own series, followed by some light refactoring. The core of the series, patch 7/8, implements this feature by splitting the physi

[PATCH weston 1/8] compositor-drm: Remove unused output reference in drm_fb

2016-05-02 Thread Emmanuel Gil Peyrot
Signed-off-by: Emmanuel Gil Peyrot --- src/compositor-drm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index a47b453..7c5e1af 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -137,10 +137,7 @@ struct drm_mode { drmModeM

[PATCH weston 5/8] compositor-drm: Take a reference to the drm_output's base where it makes sense

2016-05-02 Thread Emmanuel Gil Peyrot
This makes the code more uniform with the functions taking a weston_output* as argument, and reduces the churn of the following commits. Signed-off-by: Emmanuel Gil Peyrot --- src/compositor-drm.c | 130 ++- 1 file changed, 67 insertions(+), 63 del

[PATCH weston 3/8] compositor-drm: Don’t try to set the cursor anymore once we know it’s broken

2016-05-02 Thread Emmanuel Gil Peyrot
Signed-off-by: Emmanuel Gil Peyrot --- src/compositor-drm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index ea118fa..c11562f 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -671,7 +671,8 @@ drm_output_repaint(

[PATCH weston 8/8] compositor-drm: Make output detection order irrelevant

2016-05-02 Thread Emmanuel Gil Peyrot
When using the clone mode, the order of detection of outputs shouldn’t matter for them to be included in a virtual_output or not, this fixes this issue from the previous patch. Signed-off-by: Emmanuel Gil Peyrot --- src/compositor-drm.c | 34 +- 1 file changed, 29

Dual Monitor mirror/twinview

2016-05-02 Thread Engelmann Florian
Dear list, I am running an old HP thin client to display our monitoring dashboard. The thin client got a i965 (i915 module) VGA adapter with a VGA and a HDMI connector. I am able to start weston-launch (drm backend) having both connectors enabled via kernel cmdline (acpi=off i915.modeset=1 vid

Re: Request for review of EGL_WL_wayland_eglstream extension

2016-05-02 Thread Miguel Angel Vico
Sorry, I forgot to explicitly add Daniel Stone, as this is directly addressing one of his concerns. Thanks. On Mon, 2 May 2016 12:59:05 +0200 Miguel Angel Vico wrote: > Hi guys, > > As most of you already know, we've been lately working on adding > Wayland support to our drivers by using EGLSt

Request for review of EGL_WL_wayland_eglstream extension

2016-05-02 Thread Miguel Angel Vico
Hi guys, As most of you already know, we've been lately working on adding Wayland support to our drivers by using EGLStreams and friends. As part of that effort, I've been working through the feedback I got from you last time. In order to address one of Daniel Stone's concerns about modifying cu

Re: [PATCH wayland] Add version argument to wayland-scanner

2016-05-02 Thread Pekka Paalanen
On Mon, 2 May 2016 12:27:50 +0200 Armin Krezović wrote: > This adds a command line argument to print wayland-scanner version. > > It also makes wayland-scanner emit a comment with wayland library > version to every file it generates. > > Signed-off-by: Armin Krezović > --- > src/scanner.c |

Re: [GSoC] Some questions about wayland clients with no outputs present

2016-05-02 Thread Pekka Paalanen
On Mon, 2 May 2016 12:49:04 +0200 Armin Krezović wrote: > On 30.04.2016 22:14, Bryce Harrington wrote: > > On Sat, Apr 30, 2016 at 05:20:09PM +0200, Armin Krezović wrote: > >> Hi all, > >> > >> Now that I've analyzed the weston codebase a bit, I'm ready to > >> bombard you people with some ques

Re: [GSoC] Some questions about wayland clients with no outputs present

2016-05-02 Thread Pekka Paalanen
On Sat, 30 Apr 2016 17:20:09 +0200 Armin Krezović wrote: > Hi all, > > Now that I've analyzed the weston codebase a bit, I'm ready to > bombard you people with some questions :). Hi Armin! > For those that aren't yet aware, I'll be working on making weston > able to run with no outputs and sur

Re: [PATCH wayland] Add version argument to wayland-scanner

2016-05-02 Thread Yong Bakos
On May 2, 2016, at 5:27 AM, Armin Krezović wrote: > > This adds a command line argument to print wayland-scanner version. > > It also makes wayland-scanner emit a comment with wayland library > version to every file it generates. > > Signed-off-by: Armin Krezović Nice. Reviewed-by: Yong Bako

Re: [GSoC] Some questions about wayland clients with no outputs present

2016-05-02 Thread Pekka Paalanen
On Sat, 30 Apr 2016 22:19:45 +0200 Eugen Friedrich wrote: > Hi Armin, > > first of all I wish you existing and successful project experience! > > About the missing output for clients, have just an idea: how about creating > some fake output object, maybe defined in weston.ini and send this to t

Re: [PATCH weston v2 7/9] wayland-backend: split init_backend

2016-05-02 Thread Benoit Gschwind
Hello Yong, Thanks, I will fix this in next version after few more review :) Best regards. Le 29/04/2016 03:38, Yong Bakos a écrit : > On Apr 28, 2016, at 1:33 PM, Benoit Gschwind wrote: >> >> Extract configuration parsing from init_backend function. The new >> init_backend start by generating

Re: [GSoC] Some questions about wayland clients with no outputs present

2016-05-02 Thread Armin Krezović
On 30.04.2016 22:19, Eugen Friedrich wrote: > Hi Armin, > Hi Eugen, > first of all I wish you existing and successful project experience! > Thanks! > About the missing output for clients, have just an idea: how about creating > some fake output object, maybe defined in weston.ini and send thi

Re: [GSoC] Some questions about wayland clients with no outputs present

2016-05-02 Thread Armin Krezović
On 30.04.2016 22:14, Bryce Harrington wrote: > On Sat, Apr 30, 2016 at 05:20:09PM +0200, Armin Krezović wrote: >> Hi all, >> >> Now that I've analyzed the weston codebase a bit, I'm ready to >> bombard you people with some questions :). >> >> For those that aren't yet aware, I'll be working on maki

Re: [PATCH wayland 1/5] client: fix typo

2016-05-02 Thread Armin Krezović
On 02.05.2016 10:49, Eric Engestrom wrote: Since all of the fixes are trivial, patches 1-5: Reviewed-by: Armin Krezović > Signed-off-by: Eric Engestrom > --- > src/wayland-client.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/src/wayland-client.c b/src/way

[PATCH wayland] Add version argument to wayland-scanner

2016-05-02 Thread Armin Krezović
This adds a command line argument to print wayland-scanner version. It also makes wayland-scanner emit a comment with wayland library version to every file it generates. Signed-off-by: Armin Krezović --- src/scanner.c | 26 -- 1 file changed, 24 insertions(+), 2 deletion

Re: [PATCH weston v1] headless-backend: fix leak of transfrom configuration

2016-05-02 Thread Pekka Paalanen
On Fri, 29 Apr 2016 16:03:33 -0700 Bryce Harrington wrote: > On Fri, Apr 29, 2016 at 03:36:49PM +0200, Quentin Glidic wrote: > > On 29/04/2016 15:21, Benoit Gschwind wrote: > > >Signed-off-by: Benoit Gschwind > > >--- > > >v1: > > > - fix warning for freeing a const > > > - fix typo > > > > >

[PATCH wayland 3/5] util: fix typo

2016-05-02 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/wayland-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland-util.h b/src/wayland-util.h index cc1999d..8da156c 100644 --- a/src/wayland-util.h +++ b/src/wayland-util.h @@ -300,7 +300,7 @@ union wl_argument { * A dispatcher

[PATCH wayland 4/5] doc: fix typos

2016-05-02 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- doc/Contributing | 10 +- doc/publican/sources/Protocol.xml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/Contributing b/doc/Contributing index 65565dc..c790a07 100644 --- a/doc/Contributing +++ b/doc/Contrib

[PATCH wayland 1/5] client: fix typo

2016-05-02 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/wayland-client.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wayland-client.c b/src/wayland-client.c index 7af806c..03c087a 100644 --- a/src/wayland-client.c +++ b/src/wayland-client.c @@ -581,7 +581,7 @@ create_outgoing_pr

[PATCH wayland 5/5] tests: fix typo

2016-05-02 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- tests/test-runner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-runner.c b/tests/test-runner.c index 742b4f0..4aa6667 100644 --- a/tests/test-runner.c +++ b/tests/test-runner.c @@ -205,7 +205,7 @@ run_test(const struct test *t)

[PATCH wayland 2/5] server: fix typo

2016-05-02 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/wayland-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index ae9365f..f745e62 100644 --- a/src/wayland-server.c +++ b/src/wayland-server.c @@ -1308,7 +1308,7 @@ wl_display_add_socket_fd