[PATCH weston] ivi-layout: apply opacity to weston_view correctly

2015-12-26 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> update_opacity is only called when a ivi-surface is visible. But the previous code also checks event masks redundantly. However if the event happens when ivi-surface is invisible, opacity is not calculated. This patch r

[PATCH weston] hmi-controller: remove duplicate commit_changes in random mode

2015-12-24 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Previous code cleaned up surfaces in layer once and then added surfaces to a layer in random. In this flow, two commitchanges are required. This patch proposes that it avoids calling add_surface if a surface is already added to a

[PATCH weston 01/11] ivi-shell: avoid update_prop() on invisible surfaces

2015-12-08 Thread Nobuhiko Tanibata
update_prop, which actually updates weston_views. Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Pekka Paalanen <pekka.paala...@collabora.co.uk> --- ivi-shell/ivi-layout.c | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff

[PATCH weston 05/11] hmi-controller: allocate base layers for multi-screen

2015-12-08 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> A layer ID for screen is set by key: base-layer-id at weston.ini. To support multi screens. It also support offset to offset the layer ID to next ID for next screen. For example, base-layer-id=1000 base-layer-id-offset=1 La

[PATCH weston 04/11] ivi-shell: hmi-controller implements internal method to get screen.

2015-12-08 Thread Nobuhiko Tanibata
- get screens from weston core - provide screens as internel method - the iviscn is stored in array inverse order in index. Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Pekka Paalanen <pekka.paala...@collabora.co.uk> --- ivi-shell/hmi-contr

[PATCH weston 06/11] hmi-controller: allocate background surfaces for multi-screen

2015-12-08 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> A surface ID for layer of background/panel image is set by key: background-id or panel-id at weston.ini. To support multi screens, it also support offset, surface-id-offset, to offset the surface ID to next ID for a layer on next

[PATCH weston 10/11] ivi-shell: hmi-controller supports multi screens at fullscreen mode.

2015-12-08 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> It shows ivi applications in fullscreen per screen like, The first screen: Application 1,4,5,6 The seconed screen: Application 2, The third screen: Application 3 Thie mode assigns one application to each screen at

[PATCH weston 09/11] ivi-shell: hmi-controller supports multi screens at side-by-side mode.

2015-12-08 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> It shows 2 ivi application in a screen at side-by-side. It moves additinal application more than 2xN to next screen N+1. Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Pekka Paalanen

[PATCH weston 08/11] ivi-shell: hmi-controller supports multi screens at tiling mode.

2015-12-08 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> It shows 8 ivi applications in a screen at tiling. It moves additional application more than 8xN to next screen N+1. Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Pekka Paalanen

[PATCH weston 09/11] ivi-shell: hmi-controller supports multi screens at side-by-side mode.

2015-12-08 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> It shows 2 ivi application in a screen at side-by-side. It moves additinal application more than 2xN to next screen N+1. Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Pekka Paalanen

[PATCH weston 11/11] ivi-shell: hmi-controller supports multi screens at random-mode.

2015-12-08 Thread Nobuhiko Tanibata
It shows ivi applications at screensa randomly. Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Pekka Paalanen <pekka.paala...@collabora.co.uk> --- ivi-shell/hmi-controller.c | 39 ++- 1 file changed, 34 inse

[PATCH weston 03/11] ivi-shell: multi screen support to calcuration of a mask of weston_surface.

2015-12-08 Thread Nobuhiko Tanibata
} in simple. This is because there is no scaled and rotated transformation. - intersect inside of a screen the layer is assigned to. This is because overlapped region of weston surface in another screen shall not be displayed according to ivi use case. Signed-off-by: Nobuhiko Tanibata

[PATCH weston 02/11] ivi-shell: convert from screen to global coordinates

2015-12-08 Thread Nobuhiko Tanibata
in (x,y) of output of its weston output so it shall be used to transform layer-local to global coordinates. Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Pekka Paalanen <pekka.paala...@collabora.co.uk> --- ivi-shell/ivi-layout.c | 10 -- 1 fil

[PATCH] ivi-shell: activate weston surface with a seat when left click or touch.

2015-12-08 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Similar with Desktop shell, set activate to weston surface which is left-clicked by pointer or touched. This is needed to focus it with a seat. Without this, a feature who gets activated weston surface by

[PATCH weston 00/11] ivi-shell: multi screen supprot

2015-12-08 Thread Nobuhiko Tanibata
of controller; hmi-controller to manage surfaces in multi screen. It provide an example of layer inter multi screens. Best regards, Nobuhiko Tanibata clients/ivi-shell-user-interface.c | 39 -- ivi-shell/hmi-controller.c | 452

[PATCH weston 07/11] hmi-controller: allocate application layers for multi-screen

2015-12-08 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> To locate surfaces of application on multi screens, multi layers are created baseod on application-layer-id + base-layer-id-offset x N. Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Pe

[PATCH weston 07/11] hmi-controller: allocate application layers for multi-screen

2015-12-08 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> To locate surfaces of application on multi screens, multi layers are created baseod on application-layer-id + base-layer-id-offset x N. Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Pe

[PATCH weston 3/4] ivi-shell: fix layout_layer.view_list is not initilized per a screen.

2015-11-25 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> This is potential bug when it supports several screens. If view_list is initilized here, the views, which are set by the previous screen, are cleared. So View list shall be initilized in front of wl_list_for_each of all screens.

[PATCH weston 0/4] fix bugs and TODO to support multi screens

2015-11-25 Thread Nobuhiko Tanibata
Hi, I am proposing 4 patches to fix potential bugs and TODOs to support multi screens. Best Regards, Tanibata ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

[PATCH weston 1/4] ivi-shell: fix TODO which expects only one screen in the system.

2015-11-25 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> It just return the first screen found in screen list. Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Pekka Paalanen <pekka.paala...@collabora.co.uk> --- ivi-shell/ivi-layout.c

[PATCH weston 2/4] ivi-shell: avoid inserting a ivi_layer to multiple screens.

2015-11-25 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> In just previous wl_list_for_each_safe, list of layer in a screen is cleaned up. And then, the list is re-constructed from pending.layer_list. In this re-construction, if order.link of a layer were inserted into a screen whose

[PATCH weston 4/4] ivi-shell: remove a code which expects only a screen in the system.

2015-11-25 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> It breaks from wl_list_for_each of screens when the frist screen found. Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Pekka Paalanen <pekka.paala...@collabora.co.uk> --- ivi-shel

Re: [PATCH 1/5] ivi-shell: remove struct link_screen

2015-10-01 Thread Nobuhiko Tanibata
Hi, Tested-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> These constructors are reserved for a feature of 'a ivi-surface to several layers' and 'a ivi-layer to several screens'. This feature

Re: [PATCH 2/5] ivi-shell: remove struct link_layer

2015-10-01 Thread Nobuhiko Tanibata
Hi, Tested-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> BR, Nobuhiko Tanibata 2015-08-28 21:58 に Ucan, Emre (ADITG/SW1) さんは書きました: link_layer's sole purpose is to link a surface to multiple layers, if

Re: [PATCH 5/5] ivi-shell: introduce get_weston_view

2015-10-01 Thread Nobuhiko Tanibata
Hi, Tested-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Best Regards, Nobuhiko Tanibata 2015-08-28 21:59 に Ucan, Emre (ADITG/SW1) さんは書きました: The internal API "get_weston_view" is int

Re: [PATCH 4/5] ivi-shell: remove is_surface_in_layer API

2015-10-01 Thread Nobuhiko Tanibata
Hi, Tested-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> BR, Nobuhiko Tanibata 2015-08-28 21:59 に Ucan, Emre (ADITG/SW1) さんは書きました: This internal API is redundant, because a surface is allowed to be

Re: [PATCH 3/5] ivi-shell: remove is_layer_in_screen API

2015-10-01 Thread Nobuhiko Tanibata
Hi, Tested-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Reviewed-by: Nobuhiko Tanibata <nobuhiko_tanib...@xddp.denso.co.jp> Best Regards, Nobuhiko Tanibata 2015-08-28 21:59 に Ucan, Emre (ADITG/SW1) さんは書きました: This internal API is redundant, because a layer is allowe

[PATCH weston v2] ivi-layout: implement surface clipping

2015-08-23 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp View clip region is set in surface-local coordinates. To compute that region, the ivi-layer destination rectangle in the global coordinates are transformed back into the surface-local coordinates. The transformation is computed by first

[PATCH weston] hmi-controller: fix the laucher layer width

2015-08-23 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp A layer for workspace is used to display icons for invoking applications in several pages. These pages are swapped from one to next page. The width of the layer was decided as a size of screen before reading weston.ini. This worked

[PATCH weston] hmi-controller: fix wrong width and height are set to a layer of workspace.

2015-08-23 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Reviewed-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- ivi-shell/hmi-controller.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ivi

[PATCH weston] ivi-layout: implement surface clipping

2015-08-23 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp View clip region is set in surface-local coordinates. To compute that region, the ivi-layer destination rectangle in the global coordinates are transformed back into the surface-local coordinates. The transformation is computed by first

[PATCH weston v2] ivi-shell: bugfix, an ivi_surface is not removed from list of ivi_layer when the ivi_surface is removed from the compositor.

2015-08-06 Thread Nobuhiko Tanibata
of surface in commit_layer_list. In commit_layer_list, this patch also removes duplicated code in two conditions for IVI_NOTIFICATION_ADD/REMOVE. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- v2 changes: - fix 8 spaces to tab. - clean up duplicate code in commit_layer_list

[PATCH] ivi-shell: bugfix, ivi_surface is not removed from list of a layer when the ivi_surface is removed from the compositor.

2015-08-05 Thread Nobuhiko Tanibata
Set a mask value to event_mask of ivi_layout_layer, a removed ivi_surface belongs to, in order to trigger refreshing a list of surface in ivi_layout_layer. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- ivi-shell/ivi-layout.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH] ivi-shell: bugfix, list of surfaces on a layer are cumulated when set render order is called several time in one commitchanges.

2015-08-05 Thread Nobuhiko Tanibata
The final list of surfaces of set render order shall be applied. So link of surfaces and list of surfaces in a layer shall be initialized. And then the order of surfaces shall be restructured. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- ivi-shell/ivi-layout.c | 14

Re: [PATCH] ivi-shell: bugfix, ivi_surface is not removed from list of a layer when the ivi_surface is removed from the compositor.

2015-08-05 Thread Nobuhiko Tanibata
2015-08-06 02:15 に Derek Foreman さんは書きました: On 05/08/15 01:58 AM, Nobuhiko Tanibata wrote: Set a mask value to event_mask of ivi_layout_layer, a removed ivi_surface belongs to, in order to trigger refreshing a list of surface in ivi_layout_layer. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib

[PATCH] ivi-shell: remove one indent level from update_prop()

2015-07-14 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp There is no logic update. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Reviewed-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- ivi-shell/ivi-layout.c | 39 +-- 1 file

[PATCH weston 1/2] ivi-shell: transform refactoring, remove transform part of ivi_layout_surface and ivi_layout_layer once

2015-07-14 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp To refactor transform of ivi_layout_surface and ivi_layout_surface to be more readable logical flow. Remove following parts once, * definition of weston_transform in ivi_layout_surface * update_layer_orientation * update_layer_position

[PATCH weston 2/2] ivi-shell: transform refactoring to improve it to more readable code

2015-07-14 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Transform matrix for transforming a surface to global_matrix is calculated from * ivi_layout_surface_properties * ivi_layout_layer_properties This patch pareares sub-method like following, 1/ calc_surface_to_global_matrix

[PATCH weston 0/2] transform refactoring in ivi-shell

2015-07-14 Thread Nobuhiko Tanibata
Hi, Current code in ivi-shell to transform a surface to global_matrix is not readable very much. This patch set improves it. This consists of two patches, - remove transform part once to add transform logic from scratch. - add transform logic as more readable way. BR, Nobuhiko Tanibata

[PATCH 03/14] tests: test set for ivi-surface with bad condition in server side

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp These tests are implemented on test suite framework, which provides internal method validation. Following features are tested for ivi-surface, - destination_rectangle with bad parameter - orientation with bad parameter - dimension

[PATCH 01/14] tests: test set for ivi-surface normal use case with helper client

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp These tests are implemented on test suite framework, which provides helper client. Following features are tested for ivi-surface - orientation - dimension - position - destination rectangle - source rectangle Signed-off-by: Nobuhiko

[PATCH 02/14] tests: test set for ivi-surface bad condition with helper client

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp These tests are implemented on test suite framework, which provides helper client. Following features are tested, - ivi_layout_runner with basic_test_names[] - surface with bad opacity - destroy ivi/wl_surface and call get_surface

[PATCH 12/13] ivi-shell: bugfix, update event_mask when new propertiy is not same as before.

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp In previous code, it sends notification whenever setter calls. This patch fixs that notification will not happens if there is no change of properties by setter. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Reviewed

[PATCH 10/13] ivi-shell: add interface to get screen ID

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp This interface is required for user to manage screens per IDs. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Acked-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- ivi-shell/ivi-layout-export.h | 7

[PATCH 13/13] ivi-shell: rename to ivi_layout_layer_destroy()

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp remove is not proper name beacause it destorys a layer. The name of the api is changed from layer_remove to layer_destroy. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Reviewed-by: Pekka Paalanen pekka.paala

[PATCH 09/13] ivi-shell: add new method to remove a callback to get notificaiton of ivi_layer property changes.

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp To get property changes of ivi_layer, callbacks can be registered. However there was no API to remove a callback rather than removing all callbacks by using layer_remove_notification. layer_remove_notification_by_callback can do

[PATCH 06/13] ivi-shell: fix ivi_shell_surface lifetime

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp ivi_shell_surface lifetime shall follow the ivi_surface protocol object lifetime, and frees the ivi-id by destroying the ivi_layout_surface from both wl_surface and ivi_surface destruction as the protocol specifies. Signed-off

[PATCH 04/13] ivi-shell: bugfix, SEVG by adding NULL check in ivi_layout_get_screen_resolution

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Acked-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- ivi-shell/ivi-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ivi-shell/ivi

[PATCH 05/13] ivi-shell: make ivi_layout_surface destruction explicit

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Reviewed-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- ivi-shell/ivi-layout-private.h | 3 ++- ivi-shell/ivi-layout.c | 54

[PATCH 02/13] ivi-shell: bugfix, check limitation of ivi_layout_layer opacity

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Acked-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- ivi-shell/ivi-layout.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ivi-shell/ivi

[PATCH 08/13] ivi-shell: add new method to remove a callback to get notification of ivi_surface property changes.

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp To get property changes of ivi_surface, callbacks can be registered. However there was no API to remove a callback rather than remove all callbacks by using surface_remove_notification. surface_remove_notification_by_callback can do

[PATCH 07/13] ivi-shell: bugfix, add ref_count to ivi_layout_layer

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp if a controller calls ivi_layout_layer_create_with_demenstion with a ID which is already created before, the API returns exist ivi_layer. However addtionally, it shall count up ref count to destroy ivi_layer when ref count is 0

[PATCH 11/13] ivi-shell: bugfix, send notification when properties are changed according to event mask.

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Previous code sends notification without event mask. So the notification Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Reviewed-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- ivi-shell/ivi-layout.c | 6

ivi-shell test suite and bugfixes found by these test cases

2015-06-22 Thread Nobuhiko Tanibata
-shell: bugfix, send notification when properties are changed according to event mask. d5d1640 ivi-shell: bugfix, update event_mask when new propertiy is not same as before. f5675a7 ivi-shell: rename to ivi_layout_layer_destroy() Nobuhiko Tanibata (27): 6e50c24 ivi-shell: bugfix, check

[PATCH 01/13] ivi-shell: bugfix, check limitation of ivi_layout_surface opacity

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Acked-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- ivi-shell/ivi-layout.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ivi-shell/ivi

[PATCH 11/14] tests: test set for ivi-shell notification normal use case with helper client

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp These tests are implemented on test suite framework, which provides helper client. Following features are tested, - notification of adding ivi-surface - notification of ivi-surface configure - notification of creating ivi-surface

[PATCH 10/14] tests: make the test context persistent

2015-06-22 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp The TESTs in ivi_layout-test.c may have several server-side parts (RUNNER_TEST in ivi_layout-test-plugin.c) each. Sometimes we need to carry state from one RUNNER_TEST to another within one TEST, but not across multiple TESTs. The correct

[PATCH] ivi-shell: remove unnecesary code in ivi_shell_surface_configure

2015-04-27 Thread Nobuhiko Tanibata
This method should not update weston_view directly. This shall be done by controller via ivi_layout_*. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Acked-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- ivi-shell/ivi-shell.c | 18 -- 1 file changed, 18

[PATCH] ivi-shell: set an initial value for ivi-surface.

2015-04-27 Thread Nobuhiko Tanibata
by (0,0) destination rectangle. So transition fucntion always calculates its scale as inf at first frame of fade-in with new invoked application. To fix this, restructing transition function is ideally needed. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Acked-by: Pekka Paalanen

[PATCH] ivi-shell: remove unnecesary assignment of fail safe value.

2015-04-27 Thread Nobuhiko Tanibata
Scale is calculated as float and to be inf. It shall be avoided by, ivi_layout_surface_set_source/destination_rectangle. So output log and then return this method to use prevous scale for fail safe. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Acked-by: Pekka Paalanen

[PATCH] ivi-shell: remove unnecesary code in ivi_layout_surface_configure

2015-04-27 Thread Nobuhiko Tanibata
ivi_layout_surface_configure is called from ivi-shell when configure listener of weston surface is triggered. This function shall do, - emit signal to hmi-controller to notify the configuration change Other unnecesary logics are cleaned up. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib

[PATCH] ivi-shell: fit source rectangle of ivi-surface to the size of application content.

2015-04-27 Thread Nobuhiko Tanibata
When application changes the size of its content, UI shall fit the source rectangle, view area, to the size of its content to show whole content. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Acked-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- ivi-shell/hmi

[PATCH] ivi-shell: support surface screen shot of ivi_layout by using weston_surface_copy_content

2015-04-20 Thread Nobuhiko Tanibata
-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Reviewed-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- ivi-shell/ivi-layout-export.h | 12 ++ ivi-shell/ivi-layout.c| 55 ++- 2 files changed, 66 insertions(+), 1 deletion

[PATCH] ivi-shell: SEGV occurs when multi touch happens in transition

2015-02-05 Thread Nobuhiko Tanibata
of application launching. This is because cancel callback is mistakenly set to weston_touch_grab_interface. To fix this issue, add a callback, touch_move_workspace_grab_frame and set it to the weston_touch_grab_interface like desktop-shell. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib

[PATCH] ivi-shell: Fix wrong condition to check return value of controller_module_init

2014-12-16 Thread Nobuhiko Tanibata
Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- ivi-shell/ivi-layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index a126483..6b2604e 100644 --- a/ivi-shell/ivi-layout.c +++ b/ivi-shell/ivi

[PATCH] ivi-shell: clean-up transition animation code.

2014-12-14 Thread Nobuhiko Tanibata
ivi_layout_transition_layer_render_order is not necesary called. Remove the method and methods called by it. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- ivi-shell/hmi-controller.c| 5 - ivi-shell/ivi-layout-transition.c | 194

[PATCH] ivi-shell: clean up unnecesary header

2014-12-14 Thread Nobuhiko Tanibata
Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- ivi-shell/ivi-layout.c | 5 - ivi-shell/ivi-shell.c | 5 - 2 files changed, 10 deletions(-) diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index 5d89eb0..67ccf6e 100644 --- a/ivi-shell/ivi-layout.c

[PATCH] ivi-shell: reordering method in ivi_layout.c

2014-12-14 Thread Nobuhiko Tanibata
In the future, re-alignmenet of WL_EXPORT per method should be done. For that work, re-ordering is required to be used by another method. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- ivi-shell/ivi-layout.c | 171 + 1 file

[PATCH] ivi-shell: several ivi-layout interfaces moved accross source.

2014-12-14 Thread Nobuhiko Tanibata
Interfaces for properties setting shall be implemented in ivi-layout. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- ivi-shell/ivi-layout-transition.c | 66 -- ivi-shell/ivi-layout.c| 67

[PATCH 1/2] ivi-shell: make ivi-layout.c as a part of ivi-shell.so

2014-12-14 Thread Nobuhiko Tanibata
to be exposed as module_init. This patch alone builds, but loading controller modules at runtime failes. This failure will be fixed by following patches. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- Makefile.am| 16 +++- ivi-shell/ivi-layout-private.h

[PATCH 2/2] ivi-shell: rewrite controller API

2014-12-14 Thread Nobuhiko Tanibata
- additions are allowed at the end of struct ivi_controller_interface - all function pointers must always be populated and working in ivi-shell.so (ivi-layout.c etc.) Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- ivi-shell/hmi-controller.c| 174 +++--- ivi

[PATCH weston-ivi-shell v8 00/13] a reference shell for In-Vehicle Infotainment system

2014-11-26 Thread Nobuhiko Tanibata
into ivi-shell.so. BR, Nobuhiko Tanibata ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

[PATCH weston-ivi-shell v8 01/13] ivi-shell: add README for ivi-shell

2014-11-26 Thread Nobuhiko Tanibata
Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Reviewed-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- ivi-shell/README | 79 1 file changed, 79 insertions(+) create mode 100644 ivi-shell/README diff --git

[PATCH weston-ivi-shell v8 04/13] ivi-shell: add the shell plugin for In-Vehicle Infotainment system

2014-11-26 Thread Nobuhiko Tanibata
-shell explicitly loads ivi-layout.so and a module to add business logic like how to layout surfaces by using ivi-layout APIs. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Reviewed-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- Makefile.am | 17 +- ivi

[PATCH weston-ivi-shell v8 06/13] ivi-shell: a reference implementation how to use ivi-layout internal APIs

2014-11-26 Thread Nobuhiko Tanibata
with icons. Paths to binary and icon are defined in weston.ini. The width of this layer is longer than the size of screen because a workspace has several pages and is controlled by motion of input. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Acked-by: Pekka Paalanen

[PATCH weston-ivi-shell v8 08/13] data: add reference image files for weston-ivi-shell-user-interface

2014-11-26 Thread Nobuhiko Tanibata
- introduces reference images used by weston-ivi-shell-user-interface. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Reviewed-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- Makefile.am | 14 +- data/COPYING | 28

[PATCH weston-ivi-shell v8 11/13] clients: support ivi-application.xml for clients/simple-egl.c

2014-11-26 Thread Nobuhiko Tanibata
Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Reviewed-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- Makefile.am | 4 ++- clients/simple-egl.c | 95 +++- 2 files changed, 89 insertions(+), 10 deletions

[PATCH weston-ivi-shell v8 09/13] ivi-shell: a reference of weston.ini for ivi-shell and ivi-hmi-controller.

2014-11-26 Thread Nobuhiko Tanibata
- introduces ivi-shell/weston.ini.in Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Reviewed-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- Makefile.am | 13 +-- ivi-shell/.gitignore| 1 + ivi-shell/weston.ini.in | 93

[PATCH weston-ivi-shell v8 12/13] clients: support ivi-application.xml for clients/window.c

2014-11-26 Thread Nobuhiko Tanibata
Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Reviewed-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- clients/window.c | 67 +++- 1 file changed, 57 insertions(+), 10 deletions(-) diff --git a/clients/window.c b

[PATCH weston-ivi-shell v8 10/13] clients: support ivi-application.xml for clients/simple-shm.c

2014-11-26 Thread Nobuhiko Tanibata
Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Reviewed-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- Makefile.am | 4 +++- clients/simple-shm.c | 42 ++ 2 files changed, 45 insertions(+), 1 deletion(-) diff --git

[PATCH weston-ivi-shell v8 13/13] ivi-shell: reference implementation of input panel for ivi-shell

2014-11-26 Thread Nobuhiko Tanibata
- introduces ivi-shell/input-panel-ivi.c which is basically copied from desktop shell. It shall be improvaded to remove duplicate implementation. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp Acked-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- Makefile.am

[PATCH weston-ivi-shell v7 1/9] protocol: add interface ivi_application extension

2014-07-12 Thread Nobuhiko Tanibata
of wl_surface in the scenegraph of the compositor. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- Changes for v2: - Rename error to warning because meaning of error in wayland is fatal. Changes for v3: - Move warning from ivi_application to ivi_surface. - Squash Makefile

[PATCH weston-ivi-shell v7 2/9] ivi-shell: add the shell plugin for In-Vehicle Infotainment system

2014-07-12 Thread Nobuhiko Tanibata
to add business logic like how to layout surfaces by using ivi-layout APIs. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- Changes for v2: - apply review comments of mailing list. - squash update of Makefile into this patch. - move this patch after patch of weston-layout

Re: [PATCH weston-ivi-shell v5 2/9] The weston-layout library supports

2014-07-09 Thread Nobuhiko Tanibata
2014-07-07 16:10 に Pekka Paalanen さんは書きました: On Tue, 20 May 2014 13:52:55 +0900 Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp wrote: Hi, I apply review comments as v5 except following comments. + +struct link_layerPropertyNotification { +layerPropertyNotificationFunc callback

Re: [PATCH weston-ivi-shell v4 3/9] ivi-shell supports a type of shell for In-Vehicle Infotainment system.

2014-07-09 Thread Nobuhiko Tanibata
2014-07-07 16:34 に Pekka Paalanen さんは書きました: On Tue, 20 May 2014 14:05:10 +0900 Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp wrote: Hi pq, I applied your comments except for several ones, +struct ivi_shell *shell = wl_resource_get_user_data(resource); +struct

Re: [PATCH weston-ivi-shell v5 6/9] A reference implementation of UI client how to use ivi-hmi-controller.

2014-07-09 Thread Nobuhiko Tanibata
2014-07-07 17:04 に Pekka Paalanen さんは書きました: On Tue, 20 May 2014 19:02:56 +0900 Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp wrote: 2014-04-25 20:55 に Pekka Paalanen さんは書きました: On Thu, 20 Mar 2014 16:00:57 +0900 Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp wrote

Re: [PATCH weston-ivi-shell v4 5/9] A reference implementation how to use weston-layout library.

2014-07-09 Thread Nobuhiko Tanibata
2014-07-07 16:58 に Pekka Paalanen さんは書きました: On Tue, 20 May 2014 18:57:46 +0900 Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp wrote: 2014-04-25 20:38 に Pekka Paalanen さんは書きました: On Mon, 17 Mar 2014 15:28:22 +0900 Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp wrote: The library

Re: [PATCH weston-ivi-shell v5 7/9] data: add reference image files for weston-ivi-shell-user-interface

2014-06-25 Thread Nobuhiko Tanibata
/icon_ivi_smoke.png Hope this helps ! Regards, 2014-05-20 6:35 GMT+02:00 Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp: Hi, I removed binary from patch as review comment. Image files can be downloaded from, https://github.com/ntanibata/weston-ivi-shell/tree/weston-ivi-shell-1.4.93-v3/data [1

[PATCH weston-ivi-shell v6 1/9] protocol: add interface ivi_application extension

2014-06-25 Thread Nobuhiko Tanibata
of wl_surface in the scenegraph of the compositor. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- Changes for v2: - Rename error to warning because meaning of error in wayland is fatal. Changes for v3: - Move warning from ivi_application to ivi_surface. - Squash Makefile

[PATCH weston-ivi-shell v6 2/9] ivi-shell: add the shell plugin for In-Vehicle Infotainment system

2014-06-25 Thread Nobuhiko Tanibata
to add business logic like how to layout surfaces by using ivi-layout APIs. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- Changes for v2: - apply review comments of mailing list. - squash update of Makefile into this patch. - move this patch after patch of weston-layout

[PATCH weston-ivi-shell v6 4/9] protocol: ivi hmi controller protocol to set up IVI style UI

2014-06-25 Thread Nobuhiko Tanibata
-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- Changes for v2: - squash Makefile to this patch Changes for v3 and v4 - nothing. Version number aligned to the first patch Changes for v5: - rebase weston v1.5 branch - apply review comments from mailing list Changes for v6

[PATCH weston-ivi-shell v6 6/9] clients: a reference implementation of UI client how to use ivi-hmi-controller.

2014-06-25 Thread Nobuhiko Tanibata
, ivi_hmi_controller_workspace_control is sent to slide workspace. When control finished, event: ivi_hmi_controller_workspace_end_control is received. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp data: add reference image files for weston-ivi-shell-user-interface Signed-off-by: Nobuhiko

[PATCH weston-ivi-shell v6 7/9] data: add reference image files for weston-ivi-shell-user-interface

2014-06-25 Thread Nobuhiko Tanibata
Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- Changes for v2: - squash Makefile to this patch Changes for v3, v4, and v5: - nothing. Version number aligned to the first patch Changes for v6: - apply review comment from mailing list; Makefile.am. Makefile.am

[PATCH weston-ivi-shell v6 8/9] ivi-shell: a reference of weston.ini for ivi-shell and ivi-hmi-controller.

2014-06-25 Thread Nobuhiko Tanibata
Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- Changes for v2: - squash Makefile to this patch Changes for v3 and v4: - nothing. Version number aligned to the first patch Changes for v5: - rebase weston v1.5 branch Changes for v6: - the same as v5 Makefile.am

[PATCH weston-ivi-shell v6 9/9] clients: modify example clients to support ivi-application.xml

2014-06-25 Thread Nobuhiko Tanibata
Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- Changes for v2, v3 and v4: - nothing. Version number aligned to the first patch Changes for v5: - rebase weston v1.5 branch - remove Macros to enable ivi-application Changes for v6: - the same as v5 Makefile.am

Re: [PATCH weston-ivi-shell v4 5/9] A reference implementation how to use weston-layout library.

2014-05-20 Thread Nobuhiko Tanibata
2014-04-25 20:38 に Pekka Paalanen さんは書きました: On Mon, 17 Mar 2014 15:28:22 +0900 Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp wrote: The library is used to manage layout of surfaces/layers. Layout change is triggered by ivi-hmi-controller protocol, ivi-hmi-controller.xml. A reference

Re: [PATCH weston-ivi-shell v5 6/9] A reference implementation of UI client how to use ivi-hmi-controller.

2014-05-20 Thread Nobuhiko Tanibata
2014-04-25 20:55 に Pekka Paalanen さんは書きました: On Thu, 20 Mar 2014 16:00:57 +0900 Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp wrote: This is launched from hmi-controller by using hmi_client_start and create a pthread. The basic flow is as followed, 1/ create pthread 2/ read

Re: [PATCH weston-ivi-shell v4 8/9] Add a reference of weston.ini for ivi-shell and ivi-hmi-controller.

2014-05-20 Thread Nobuhiko Tanibata
2014-04-25 19:41 に Pekka Paalanen さんは書きました: On Mon, 17 Mar 2014 15:31:09 +0900 Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp wrote: Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- Changes for v2: - squash Makefile to this patch Changes for v3 and v4

Re: [PATCH weston-ivi-shell v5 9/9] Modify example clients to support ivi-application.xml

2014-05-20 Thread Nobuhiko Tanibata
2014-04-25 21:43 に Pekka Paalanen さんは書きました: On Tue, 18 Mar 2014 23:57:32 +0900 Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp wrote: Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- Changes for v2, v3 and v4 - nothing. Version number aligned to the first patch

[PATCH weston-ivi-shell v5 0/9] a reference shell for In-Vehicle Infotainment system

2014-05-19 Thread Nobuhiko Tanibata
2014-04-26 01:05 に Pekka Paalanen さんは書きました: On Fri, 25 Apr 2014 22:34:27 +0900 Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp wrote: 2014-04-23 19:40 に Pekka Paalanen さんは書きました: This is looking good, mostly just some details in the wording to be tuned. :-) I will see if I can review

  1   2   >