Re: [PATCH 00/14] New output configuration API take 2

2016-08-18 Thread Armin Krezović
On 18.08.2016 18:42, Armin Krezović wrote: > This is take 3 of my new output configuration API. > Sorry for title mismatch. signature.asc Description: OpenPGP digital signature ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https:

[PATCH weston 11/14 v2] weston: Rename weston_output_init_pending() to weston_output_init()

2016-08-18 Thread Armin Krezović
v2: - Rebased for latest changes. Reviewed-by: Quentin Glidic Signed-off-by: Armin Krezović --- libweston/compositor-drm.c | 2 +- libweston/compositor-fbdev.c| 2 +- libweston/compositor-headless.c | 2 +- libweston/compositor-rdp.c | 2 +- libweston/compositor-wayland.c | 4 +

[PATCH weston 14/14] compositor-rdp: Properly destroy the renderer and pixman image

2016-08-18 Thread Armin Krezović
Signed-off-by: Armin Krezović --- libweston/compositor-rdp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libweston/compositor-rdp.c b/libweston/compositor-rdp.c index d385a31..223382c 100644 --- a/libweston/compositor-rdp.c +++ b/libweston/compositor-rdp.c @@ -542,6 +542,9 @@ rdp_outpu

[PATCH weston 12/14] libweston: Remove weston_backend_output_config structure

2016-08-18 Thread Armin Krezović
Reviewed-by: Quentin Glidic Signed-off-by: Armin Krezović --- libweston/compositor.h | 14 -- 1 file changed, 14 deletions(-) diff --git a/libweston/compositor.h b/libweston/compositor.h index 8201e1a..f496bc3 100644 --- a/libweston/compositor.h +++ b/libweston/compositor.h @@ -700,

[PATCH weston 06/14 v3] weston: Port headless backend to new output handling API

2016-08-18 Thread Armin Krezović
This is a complete port of the headless backend that uses recently added output handling API for output configuration. - Output can be configured at runtime by passing the necessary configuration parameters, which can be filled in manually, obtained from the configuration file or obtained fr

[PATCH weston 02/14 v3] libweston: Add initial output API for windowed outputs configuration

2016-08-18 Thread Armin Krezović
This adds new plugin-specific API for configuring outputs on "windowed" backends, such as X11, wayland/non-fullscreen and even headless (although, it doesn't have any windows, its configuration is very similar). It can be used from compositors to configure pending outputs and should be used with pr

[PATCH weston 10/14] libweston: Merge weston_output_init() into weston_output_enable()

2016-08-18 Thread Armin Krezović
Reviewed-by: Quentin Glidic Signed-off-by: Armin Krezović --- libweston/compositor.c | 124 - 1 file changed, 41 insertions(+), 83 deletions(-) diff --git a/libweston/compositor.c b/libweston/compositor.c index 2e7212f..de2c97b 100644 --- a/libwes

[PATCH weston 08/14 v3] weston: Port Wayland backend to new output handling API

2016-08-18 Thread Armin Krezović
This is a complete port of the Wayland backend that uses recently added output handling API for output configuration. - Output can be configured at runtime by passing the necessary configuration parameters, which can be filled in manually, obtained from the configuration file or obtained fro

[PATCH weston 09/14 v3] weston: Port X11 backend to new output handling API

2016-08-18 Thread Armin Krezović
This is a complete port of the X11 backend that uses recently added output handling API for output configuration. - Output can be configured at runtime by passing the necessary configuration parameters, which can be filled in manually, obtained from the configuration file or obtained from th

[PATCH weston 13/14] libweston: Drop requirement of setting mm_width/mm_height in backends

2016-08-18 Thread Armin Krezović
They were required for transitional phase in order not to break previous weston_output_init(). Now, they can even be initialized on enable, or left with defaults if backend doesn't support them. Signed-off-by: Armin Krezović --- libweston/compositor.c | 3 --- 1 file changed, 3 deletions(-) dif

[PATCH weston 07/14 v3] weston: Port RDP backend to new output handling API

2016-08-18 Thread Armin Krezović
This is a complete port of the RDP backend that uses recently added output handling API for output configuration. Output can be configured at runtime by passing the necessary configuration parameters, which can be filled in manually or obtained from the command line using previously added function

[PATCH weston 03/14 v3] compositor: Implement output configuration using windowed_output_api

2016-08-18 Thread Armin Krezović
This implements output configuration for outputs which use previously added weston_windowed_output_api. The function takes an output that's to be configured, default configuration that's to be set in case no configuration is specified in the config file or on command line and optional third argumen

[PATCH 00/14] New output configuration API take 2

2016-08-18 Thread Armin Krezović
This is take 3 of my new output configuration API. Two major changes happened: - weston_output_init_pending() was split into weston_compositor_add_pending_output(), so weston_output_init_pending() wouldn't announce a new pending output before some configuration is done in certain backends

[PATCH weston 01/14 v3] libweston: Add more functionality for handling weston_output objects

2016-08-18 Thread Armin Krezović
This patch implements additional functionality that will be used for configuring, enabling and disabling weston's outputs. Its indended use is by the compositors or user programs that want to be able to configure, enable or disable an output at any time. An output can only be configured while it's

[PATCH weston 05/14 v2] weston: Port fbdev backend to new output handling API

2016-08-18 Thread Armin Krezović
This is a complete port of the fbdev backend that uses recently added output handling API for output configuration. It is required that the scale and transform values are set using the previously added functionality. After everything has been set, output needs to be enabled manually using weston_

[PATCH weston 04/14 v3] weston: Port DRM backend to new output handling API

2016-08-18 Thread Armin Krezović
This is a complete port of the DRM backend that uses recently added output handling API for output configuration. Output can be configured at runtime by passing the necessary configuration parameters, which can be filled in manually or obtained from the configuration file using previously added fu

Re: [PATCH libinput] tablet: don't send tip up/button release/prox out events for unknown tools

2016-08-18 Thread Jason Gerecke
On 08/17/2016 10:20 PM, Peter Hutterer wrote: > If the kernel does not send the MSC_SERIAL information with every event, we > end up creating a tool with a serial of 0. When the MSC_SERIAL comes in > later for this tool libinput will think it's a new tool. On proximity out of > that new tool we sen

Re: [PATCH weston 08/12 v2] weston: Port Wayland backend to new output handling API

2016-08-18 Thread Armin Krezović
On 18.08.2016 12:31, Pekka Paalanen wrote: > On Wed, 17 Aug 2016 19:49:06 +0200 > Armin Krezović wrote: > >> On 17.08.2016 17:07, Pekka Paalanen wrote: >>> On Sun, 14 Aug 2016 17:28:17 +0200 >>> Armin Krezović wrote: SNIP +static int +wayland_output_configure_hotplug(struct weston_ou

[PATCH weston] libweston-desktop/xwayland: Do not over-destroy the view

2016-08-18 Thread Quentin Glidic
From: Quentin Glidic With this weston_view_destroy() call, Xwayland popups make Weston freeze in a busy-loop (probably corrupted wl_list). Signed-off-by: Quentin Glidic --- libweston-desktop/xwayland.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libweston-desktop/

[PATCH weston] libweston-desktop/xdg_shell_v5: Add surface as needed

2016-08-18 Thread Quentin Glidic
From: Quentin Glidic This way we are sure the compositor is aware of a surface when we forward a request for said surface. Signed-off-by: Quentin Glidic --- libweston-desktop/xdg-shell-v5.c | 42 ++-- 1 file changed, 32 insertions(+), 10 deletions(-) diff -

Re: [PATCH weston 07/12 v2] Port RDP backend to new output handling API

2016-08-18 Thread Pekka Paalanen
On Sun, 14 Aug 2016 17:28:16 +0200 Armin Krezović wrote: > This is a complete port of the RDP backend that uses > recently added output handling API for output > configuration. > > Output can be configured at runtime by passing the > necessary configuration parameters, which can be > filled in m

Re: [PATCH weston 09/12 v2] weston: Port X11 backend to new output handling API

2016-08-18 Thread Pekka Paalanen
On Sun, 14 Aug 2016 17:28:18 +0200 Armin Krezović wrote: > This is a complete port of the X11 backend that > uses recently added output handling API for output > configuration. > > - Output can be configured at runtime by passing the > necessary configuration parameters, which can be > fille

Re: [PATCH weston 1/2] libweston: Move text_backend_* to weston.h

2016-08-18 Thread Quentin Glidic
On 18/08/2016 11:15, Quentin Glidic wrote: From: Quentin Glidic I forgot to explain it, but these are actually defined in Weston, not libweston, so any libweston user trying to use them will fail. Signed-off-by: Quentin Glidic --- This patch should be in the release. compositor/weston

Re: [PATCH weston 08/12 v2] weston: Port Wayland backend to new output handling API

2016-08-18 Thread Pekka Paalanen
On Thu, 18 Aug 2016 13:31:22 +0300 Pekka Paalanen wrote: > On Wed, 17 Aug 2016 19:49:06 +0200 > Armin Krezović wrote: > > > On 17.08.2016 17:07, Pekka Paalanen wrote: > > > On Sun, 14 Aug 2016 17:28:17 +0200 > > > Armin Krezović wrote: > > > > > >> This is a complete port of the Wayland

Re: [PATCH weston 08/12 v2] weston: Port Wayland backend to new output handling API

2016-08-18 Thread Pekka Paalanen
On Wed, 17 Aug 2016 19:49:06 +0200 Armin Krezović wrote: > On 17.08.2016 17:07, Pekka Paalanen wrote: > > On Sun, 14 Aug 2016 17:28:17 +0200 > > Armin Krezović wrote: > > > >> This is a complete port of the Wayland backend that > >> uses recently added output handling API for output > >> conf

Re: [PATCH weston 2/2] Makefile.am: Link modules to libweston.la

2016-08-18 Thread Pekka Paalanen
On Thu, 18 Aug 2016 11:15:45 +0200 Quentin Glidic wrote: > From: Quentin Glidic > > Modules are using libweston symbols (at least weston_log) and should > explicitly link to it. > > This patch also reorders some flags. > > Signed-off-by: Quentin Glidic > --- > > It doesn’t allow to build wi

Re: [PATCH libinput] touchpad: on a non-clickpad, reset the motion history on nfingers change

2016-08-18 Thread Hans de Goede
Hi, On 18-08-16 08:02, Peter Hutterer wrote: The only reason to have more than one finger on a non-clickpad is to tap, scroll or gesture. In all cases resetting the motion history is a good idea to avoid jumps moving from 2 to 1 finger. https://bugs.freedesktop.org/show_bug.cgi?id=91695 https:/

[PATCH weston 1/2] libweston: Move text_backend_* to weston.h

2016-08-18 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- This patch should be in the release. compositor/weston.h| 8 libweston/compositor.h | 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/compositor/weston.h b/compositor/weston.h index bff5cc1..bb04002

[PATCH weston 2/2] Makefile.am: Link modules to libweston.la

2016-08-18 Thread Quentin Glidic
From: Quentin Glidic Modules are using libweston symbols (at least weston_log) and should explicitly link to it. This patch also reorders some flags. Signed-off-by: Quentin Glidic --- It doesn’t allow to build with --no-undefined, but it gets closer to that. Makefile.am | 105 ++

Re: [PATCH] gl-renderer: emit frame_signal after eglSwapBuffers

2016-08-18 Thread Pekka Paalanen
On Wed, 17 Aug 2016 17:10:46 +0200 Fabien DESSENNE wrote: > On 08/17/2016 09:42 AM, Pekka Paalanen wrote: > > On Tue, 16 Aug 2016 14:46:23 +0200 > > Fabien DESSENNE wrote: > > > >> On 08/16/2016 10:18 AM, Pekka Paalanen wrote: > >>> On Fri, 12 Aug 2016 14:11:40 +0200 > >>> Fabien Dessenne w

Weston exported symbols

2016-08-18 Thread Pekka Paalanen
On Wed, 17 Aug 2016 13:14:22 +0100 Emil Velikov wrote: > On 15 August 2016 at 17:16, Quentin Glidic > wrote: > > On 15/08/2016 17:31, Emil Velikov wrote: > >> > >> From: Emil Velikov > >> > >> Provides some ease wrt constructing the required version. > >> > >> Cc: Quentin Glidic > >> Suggest

Re: [PATCH weston] compositor-drm: Zero drmModeAddFB2 data

2016-08-18 Thread Quentin Glidic
On 18/08/2016 02:37, Yong Bakos wrote: From: Yong Bakos Initialize arrays of data passed to drmModeAddFB2, just as drm_fb_get_from_bo does. See https://lists.freedesktop.org/archives/wayland-devel/2016-August/030645.html Signed-off-by: Yong Bakos Thanks, reviewed and pushed: eb07f36..4b632

Re: [PATCH wayland-web] Mention GammaRay in the tools page

2016-08-18 Thread Jonas Ådahl
On Thu, Aug 18, 2016 at 11:02:29AM +0300, Pekka Paalanen wrote: > On Thu, 18 Aug 2016 09:45:30 +0200 > Giulio Camuffo wrote: > > > 2016-08-17 23:23 GMT+02:00 : > > > On 08/17, Jonas Ådahl wrote: > > >> Is half a megabyte really a big deal for wayland-web? I find it more > > >> reasonable to ju

Re: [PATCH wayland-web] Mention GammaRay in the tools page

2016-08-18 Thread Pekka Paalanen
On Thu, 18 Aug 2016 09:45:30 +0200 Giulio Camuffo wrote: > 2016-08-17 23:23 GMT+02:00 : > > On 08/17, Jonas Ådahl wrote: > >> Is half a megabyte really a big deal for wayland-web? I find it more > >> reasonable to just provide the full resolution image instead of relying > >> on the URL to the

Re: [PATCH wayland-web] Mention GammaRay in the tools page

2016-08-18 Thread Giulio Camuffo
2016-08-17 23:23 GMT+02:00 : > On 08/17, Jonas Ådahl wrote: >> Is half a megabyte really a big deal for wayland-web? I find it more >> reasonable to just provide the full resolution image instead of relying >> on the URL to the external image never changing. > > I think I'd only host a thumbnail o