[PATCH weston 2/2] compositor-drm: Restore use-current-mode functionality

2016-10-09 Thread Armin Krezović
It got lost during the porting to the config API. Signed-off-by: Armin Krezović --- compositor/main.c | 9 +++-- libweston/compositor-drm.c | 3 --- libweston/compositor-drm.h | 1 - 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/compositor/main.c b/compositor/main.c

[PATCH weston 1/2] compositor-drm: Construct mode list in create_output_for_connector

2016-10-09 Thread Armin Krezović
And properly deconstruct it in drm_output_destroy. Might be useful for finding out which modes are supported before even setting them, in case we want to extend the modesetting API. Signed-off-by: Armin Krezović --- libweston/compositor-drm.c | 63 +++---

Re: [PATCH wayland-web v2] qt5: fixed bug tracker link

2016-10-09 Thread Samuel Gaist
> On 31 août 2016, at 17:13, Yong Bakos wrote: > > On Aug 30, 2016, at 11:50 PM, Samuel Gaist wrote: >> >> No being used to the by email patch workflow, should I send an updated patch >> with the “Reviewed-by” field added ? >> >> Cheers >> >> Samuel > > Samuel, not necessary. Committers wi

Re: [PATCH weston 4/4] compositor: Implement horizontal output layout configuration

2016-10-09 Thread Armin Krezović
On 07.10.2016 12:19, Pekka Paalanen wrote: > On Fri, 30 Sep 2016 23:25:30 +0200 > Armin Krezović wrote: > >> This patch adds horizontal output layout configuration using >> the previously added code. >> >> When an output is added, it looks for outputs that it should >> be placed next to, if they

Re: [PATCH weston 3/4] compositor: Add internal output object used for layout configuration

2016-10-09 Thread Armin Krezović
On 07.10.2016 12:08, Pekka Paalanen wrote: > On Fri, 30 Sep 2016 23:25:29 +0200 > Armin Krezović wrote: > >> This adds weston specific output object, which contains information >> about output's position, relative to other outputs. DRM and Windowed >> backends code has been updated to make use of

Re: [PATCH weston 2/4] weston: Move output position setting to compositor

2016-10-09 Thread Armin Krezović
On 07.10.2016 11:58, Pekka Paalanen wrote: > On Fri, 30 Sep 2016 23:25:28 +0200 > Armin Krezović wrote: > >> This moves current output positioning code and scale/transform >> application to the compositor itself, so the compositor >> can configure output layouts any way it wants. >> >> A helper f

Re: [PATCH weston 1/4] libweston: Export weston_output_transform_scale_init

2016-10-09 Thread Armin Krezović
On 07.10.2016 11:52, Pekka Paalanen wrote: > On Fri, 30 Sep 2016 23:25:27 +0200 > Armin Krezović wrote: > >> This is required for implementing output layout setting >> which relies on current output width and height, and >> those are calculated in this function. >> >> It also changes the function

[PATCH weston 08/10] compositor-wayland: Destroy shm buffers on output disable

2016-10-09 Thread Armin Krezović
Signed-off-by: Armin Krezović --- libweston/compositor-wayland.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/libweston/compositor-wayland.c b/libweston/compositor-wayland.c index 0cfc005..d1a38fe 100644 --- a/libweston/compositor-wayland.c +++ b/li

[PATCH weston 05/10] compositor-wayland: Move vfunc setting from set_size to enable

2016-10-09 Thread Armin Krezović
Signed-off-by: Armin Krezović --- libweston/compositor-wayland.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/libweston/compositor-wayland.c b/libweston/compositor-wayland.c index d26360e..42cebe7 100644 --- a/libweston/compositor-wayland.c +++ b/li

[PATCH weston 07/10] compositor-wayland: Properly clean up on backend destroy

2016-10-09 Thread Armin Krezović
Also remove a wrong XXX comment. Signed-off-by: Armin Krezović --- libweston/compositor-wayland.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/libweston/compositor-wayland.c b/libweston/compositor-wayland.c index 133d0c4..0cfc005 100644 --- a/libwesto

[PATCH weston 10/10] compositor-wayland: Simplify fullscreening for sprawl use case

2016-10-09 Thread Armin Krezović
wayland_output_set_fullscreen() already takes care of everything and xdg_shell doesn't use any present methods so a single call to wayland_output_set_fullscreen() is sufficient. Signed-off-by: Armin Krezović --- libweston/compositor-wayland.c | 22 +++--- 1 file changed, 7 insert

[PATCH weston 09/10] compositor-wayland: Port to xdg-shell-v6

2016-10-09 Thread Armin Krezović
Signed-off-by: Armin Krezović --- Makefile.am| 8 ++- libweston/compositor-wayland.c | 158 ++--- 2 files changed, 105 insertions(+), 61 deletions(-) diff --git a/Makefile.am b/Makefile.am index c94c211..f75aa46 100644 --- a/Makefile.am +

[PATCH weston 06/10] compositor-wayland: Simplify fullscreen output surface handling

2016-10-09 Thread Armin Krezović
Signed-off-by: Armin Krezović --- libweston/compositor-wayland.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/libweston/compositor-wayland.c b/libweston/compositor-wayland.c index 42cebe7..133d0c4 100644 --- a/libweston/compositor-wayland.c +++ b/libwesto

[PATCH weston 02/10] compositor-wayland: Convert sprawl flag to boolean

2016-10-09 Thread Armin Krezović
Signed-off-by: Armin Krezović --- compositor/main.c | 2 +- libweston/compositor-wayland.c | 4 ++-- libweston/compositor-wayland.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index d081106..320305c 100644 --- a/composi

[PATCH weston 01/10] compositor-wayland: Convert use-pixman flag to boolean

2016-10-09 Thread Armin Krezović
Signed-off-by: Armin Krezović --- compositor/main.c | 2 +- libweston/compositor-wayland.c | 6 +++--- libweston/compositor-wayland.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index fca9778..d081106 100644 --- a/compo

[PATCH weston 00/10] Wayland backend improvements

2016-10-09 Thread Armin Krezović
This series contains some simple fixes for Wayland backend for issues discovered by Pekka during the output API series review. That includes some cleaning up on output/backend destroy, converting some flags to boolean (nitpick!) and porting the backend to xdg-shell-v6! Armin Krezović (10): comp

[PATCH weston 03/10] compositor-wayland: Convert fullscreen flag to bool

2016-10-09 Thread Armin Krezović
Signed-off-by: Armin Krezović --- libweston/compositor-wayland.c | 2 +- libweston/compositor-wayland.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libweston/compositor-wayland.c b/libweston/compositor-wayland.c index 32c44d4..a5a360c 100644 --- a/libweston/compositor-w

[PATCH weston 04/10] compositor-wayland: Convert draw_initial_frame to boolean

2016-10-09 Thread Armin Krezović
Signed-off-by: Armin Krezović --- libweston/compositor-wayland.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libweston/compositor-wayland.c b/libweston/compositor-wayland.c index a5a360c..d26360e 100644 --- a/libweston/compositor-wayland.c +++ b/libweston/composito

Re: [PATCH weston] compositor-wayland: Port to xdg-shell

2016-10-09 Thread Armin Krezović
On 09.10.2016 15:06, Armin Krezović wrote: > Signed-off-by: Armin Krezović > --- > Makefile.am| 8 ++- > libweston/compositor-wayland.c | 155 > ++--- > 2 files changed, 102 insertions(+), 61 deletions(-) > Please ignore this one. I hav

[PATCH weston] compositor-wayland: Port to xdg-shell

2016-10-09 Thread Armin Krezović
Signed-off-by: Armin Krezović --- Makefile.am| 8 ++- libweston/compositor-wayland.c | 155 ++--- 2 files changed, 102 insertions(+), 61 deletions(-) diff --git a/Makefile.am b/Makefile.am index c94c211..f75aa46 100644 --- a/Makefile.am +