[PATCH 6/6] cms-helper/static: Add "identity" builtin cms profile

2015-04-01 Thread Mario Kleiner
Allows to force loading an identity gamma table if option icc_profile=identity is given in weston.ini for an output. Some special display output devices, e.g., for neuro-science applications, and special display testing hardware need a guaranteed perfect pixel passthrough from framebuffer to outpu

[PATCH 5/6] compositor-drm: Fix refresh rate selection in drm_output_switch_mode

2015-04-01 Thread Mario Kleiner
The matching logic in choose_mode() compared refresh rate of a drm_mode candidate mode expressed in Hz against the requested refresh rate of the target weston_mode expressed in milliHz, so the match always failed and the logic always ended up the mode with the highest refresh rate for a given resol

[PATCH 4/6] compositor-drm/shell: Allow restore_output_mode() to work properly.

2015-04-01 Thread Mario Kleiner
Initialize output->native_mode with the initially chosen mode for an output, so restore_output_mode() has something to work with and can switch back from temporary selected modes to the outputs native mode. Before, this was a no-op. This allows an output to switch back to its default mode if a for

[PATCH 3/6] desktop-shell: Allow multiple active fullscreen windows on multi-display setup.

2015-04-01 Thread Mario Kleiner
Desktop shell demoted all fullscreen shell surfaces on all active outputs of a multi-display setup whenever any shell surface was activated anywhere. This made it impossible to have multiple fullscreen windows on separate outputs active at the same time, as creating or activating any shell surface

[PATCH 1/6] compositor-drm: Handle more than two output crtcs per card

2015-04-01 Thread Mario Kleiner
Allow proper handling of output->pipe > 1 to support triple-head graphics cards etc. by using the "high-crtc" support introduced in Linux 2.6.39 and libdrm 2.4.25 around May 2011. Signed-off-by: Mario Kleiner --- src/compositor-drm.c | 14 -- 1 file changed, 12 insertions(+), 2 delet

[PATCH 2/6] compositor-drm: Allow instant start of repaint loop.

2015-04-01 Thread Mario Kleiner
drm_output_start_repaint_loop() incurred a delay of one refresh cycle by using a no-op page-flip to get an accurate vblank timestamp as reference. This causes unwanted lag whenever Weston exited its repaint loop, e.g., whenever an application wants to repaint with less than full video refresh rate

[PATCH 1/5] compositor: Help text for --config

2015-04-01 Thread Bryce Harrington
Signed-off-by: Bryce Harrington --- src/compositor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor.c b/src/compositor.c index 4de8fbf..f969018 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -5032,6 +5032,7 @@ usage(int error_code) " -i, --idle-time=S

[PATCH 4/5] tests: Cleanup test log filenames

2015-04-01 Thread Bryce Harrington
The log files were being named like: surface-global-test.la-log.txt surface-global-test.la-serverlog.txt surface-test.la-log.txt surface-test.la-serverlog.txt text.weston-log.txt text.weston-serverlog.txt For consistency, omit the test filename's ex

[PATCH 0/5] Enable test configuration

2015-04-01 Thread Bryce Harrington
This enables tests to provide their own .ini files for configuring weston, via the recently added --config option. Also included in this set is some related cleanup in weston-tests-env. Bryce Harrington (5): compositor: Help text for --config tests: Support --config to enable tests to overri

[PATCH 2/5] tests: Support --config to enable tests to override config defaults

2015-04-01 Thread Bryce Harrington
Implements a simple mechanism to allow tests to customize the configuration. Just place a .ini file at the same location as the test itself. If no configuration file is found, then no configuration will be used (i.e. --no-config is specified.) Signed-off-by: Bryce Harrington --- tests/weston-t

[PATCH 5/5] tests: Refactor weston launching syntax

2015-04-01 Thread Bryce Harrington
There are only minor differences in the syntax for how weston is invoked for .so/.la tests vs. other tests, but it's hard to spot them. Refactor the command itself out, so it becomes clearer what the difference is. Signed-off-by: Bryce Harrington --- tests/weston-tests-env | 35

[PATCH 3/5] tests: Keep track of basename

2015-04-01 Thread Bryce Harrington
basename returns the filename without path information (but with the file extension). We can get this more efficiently via shell variables. Also, for the socket name, use the test's name without the file extension. Signed-off-by: Bryce Harrington --- tests/weston-tests-env | 19 ++-

RE: [PATCH weston 5/9] build: generate weston-ivi.ini for tests

2015-04-01 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> -Original Message- > From: wayland-devel > [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Pekka > Paalanen > Sent: Monday, March 30, 2015 6:21 PM > To: wayland-devel@lists.freedesktop.org > Cc: Pekka Paalanen; Nobuhiko Tanibata > Subject: [PATCH weston 5/9] build: gen

RE: [PATCH weston 9/9] tests: add ivi_layout stand-alone test module

2015-04-01 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> -Original Message- > From: wayland-devel > [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Pekka > Paalanen > Sent: Monday, March 30, 2015 6:21 PM > To: wayland-devel@lists.freedesktop.org > Cc: Pekka Paalanen; Nobuhiko Tanibata > Subject: [PATCH weston 9/9] tests: add

RE: [PATCH weston 4/9] ivi-layout: abort without controller_module_init

2015-04-01 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> -Original Message- > From: wayland-devel > [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Pekka > Paalanen > Sent: Monday, March 30, 2015 6:21 PM > To: wayland-devel@lists.freedesktop.org > Cc: Pekka Paalanen; Nobuhiko Tanibata > Subject: [PATCH weston 4/9] ivi-layout

RE: [PATCH weston 3/9] ivi-shell: add cmdline option for controller module

2015-04-01 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> -Original Message- > From: wayland-devel > [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Pekka > Paalanen > Sent: Monday, March 30, 2015 6:21 PM > To: wayland-devel@lists.freedesktop.org > Cc: Pekka Paalanen; Nobuhiko Tanibata > Subject: [PATCH weston 3/9] ivi-shell:

RE: [PATCH weston 2/9] tests: rename client_create to create_client_and_test_surface

2015-04-01 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> -Original Message- > From: wayland-devel > [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Pekka > Paalanen > Sent: Monday, March 30, 2015 6:21 PM > To: wayland-devel@lists.freedesktop.org > Cc: Pekka Paalanen; Nobuhiko Tanibata > Subject: [PATCH weston 2/9] tests: ren

RE: [PATCH weston 1/9] tests: introduce create_client()

2015-04-01 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> -Original Message- > From: wayland-devel > [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Pekka > Paalanen > Sent: Monday, March 30, 2015 6:21 PM > To: wayland-devel@lists.freedesktop.org > Cc: Pekka Paalanen; Nobuhiko Tanibata > Subject: [PATCH weston 1/9] tests: int

Re: [PATCH libinput v2 0/4] touchpad gestures support

2015-04-01 Thread Jason Gerecke
On 3/26/2015 2:04 AM, Hans de Goede wrote: Hi All, Here is v2 of my touchpad gestures support patch series, changes since v1: - Merge the gesture capability flag and event-debug patched into the "touchpad: Add an API for touchpad gesture events" - Update the swipe and pinch/rotate implementat

[PATCH libinput] tools: List relative wheel among axis capabilities

2015-04-01 Thread Jason Gerecke
Signed-off-by: Jason Gerecke --- For Peter's tablet-support branch. tools/event-debug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/event-debug.c b/tools/event-debug.c index d2ac415..e8e49cd 100644 --- a/tools/event-debug.c +++ b/tools/event-debug.c @@ -480,6 +480,8 @@ print_prox

Re: [PATCH weston 1/2] compositor-wayland: Flag the wayland backend as nested

2015-04-01 Thread Giulio Camuffo
2015-04-01 20:37 GMT+03:00 Derek Foreman : > Nested compositors may have different requirements than un-nested ones. > The current need stems from having to avoid the new repaint delay when > in a nested compositor. > > Signed-off-by: Derek Foreman > --- > src/compositor-wayland.c | 2 ++ > src/c

[PATCH weston 2/2] compositor: Skip repaint delay for nested compositors

2015-04-01 Thread Derek Foreman
The repaint delay becomes cumulative if it's used in both a parent compositor and a nested compositor. This can lead to dropped frames and visible latency. Signed-off-by: Derek Foreman --- src/compositor.c | 8 1 file changed, 8 insertions(+) diff --git a/src/compositor.c b/src/compos

[PATCH weston 0/2] Fix choppy update in weston on weston

2015-04-01 Thread Derek Foreman
When running weston under weston since the new repaint delay code we get bad framerates since both compositors are doing their own delay. This is a pretty simplistic fix, just removing the delay entirely from nested compositors. Derek Foreman (2): compositor-wayland: Flag the wayland backend as

[PATCH weston 1/2] compositor-wayland: Flag the wayland backend as nested

2015-04-01 Thread Derek Foreman
Nested compositors may have different requirements than un-nested ones. The current need stems from having to avoid the new repaint delay when in a nested compositor. Signed-off-by: Derek Foreman --- src/compositor-wayland.c | 2 ++ src/compositor.h | 1 + 2 files changed, 3 insertions(+