Marcus Fritzsch [Fri, 4 Jul 2014 14:10:29 +0000 (16:10 +0200)]
ilmControl: code deduplication regarding controller listeners
* Actually use the same code for maina dnchild listeners, where
possible.
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 4 Jul 2014 14:04:55 +0000 (16:04 +0200)]
ilmControl: Minor fix to create_controller_layer()
* Pulled the check for existing layer out of the function.
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 4 Jul 2014 14:02:43 +0000 (16:02 +0200)]
ilmControl: simplify screen and layer associations
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 4 Jul 2014 13:47:29 +0000 (15:47 +0200)]
ilmControl: actually delete all the layer_main stuff
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Thu, 24 Jul 2014 15:23:23 +0000 (17:23 +0200)]
ilmControl: remove get_layer_context_by_controller() use get_layer_context() instead
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Thu, 24 Jul 2014 15:21:10 +0000 (17:21 +0200)]
ilmControl: making correct use of the userdata for ctrl layers
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Thu, 24 Jul 2014 15:12:17 +0000 (17:12 +0200)]
ilmControl: simplify layer creation and methods
* Simplify creation through a function that does just that; create a
layer.
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 4 Jul 2014 14:18:31 +0000 (16:18 +0200)]
ilmControl: use correct bool argument to *_destroy() requests
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Thu, 3 Jul 2014 07:52:28 +0000 (09:52 +0200)]
ilmControl: fixed layerGetType()
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Mon, 23 Jun 2014 08:25:07 +0000 (10:25 +0200)]
ilmControlTest: use local arrays instead of dyn alloc
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Wed, 28 May 2014 09:27:40 +0000 (11:27 +0200)]
LayerManagerControl: ilm_commit before ilm_destroy()
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Wed, 18 Jun 2014 15:38:28 +0000 (17:38 +0200)]
ilmControl: fix screen resolution retrieval
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Thu, 3 Jul 2014 13:12:59 +0000 (15:12 +0200)]
ilmControl: removeNotification is AddNotification NULL
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Thu, 3 Jul 2014 13:12:39 +0000 (15:12 +0200)]
ilmControlTests: do not rely on order of IDs
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Thu, 3 Jul 2014 13:11:56 +0000 (15:11 +0200)]
ilmControlTest: removed chroma key tests
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Thu, 3 Jul 2014 13:04:11 +0000 (15:04 +0200)]
ilmNotifyTests: another set of fixes for notify callbacks
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Thu, 3 Jul 2014 13:01:38 +0000 (15:01 +0200)]
ilmNotifyTests: fix notification callbacks
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Thu, 3 Jul 2014 11:55:04 +0000 (13:55 +0200)]
ilmNotifyTests: use a proper TearDown()
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Thu, 3 Jul 2014 11:53:24 +0000 (13:53 +0200)]
ilmNotifyTests: reset callback IDs on SetUp()
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Thu, 3 Jul 2014 11:52:46 +0000 (13:52 +0200)]
ilmNotifyTests: wait at most 500ms
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Mon, 30 Jun 2014 13:32:42 +0000 (15:32 +0200)]
ilmControl: getLayerIDsOnScreen() use correct list
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Mon, 30 Jun 2014 13:32:31 +0000 (15:32 +0200)]
ilmControl: removed usleep from get_instance.
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Nobuhiko Tanibata [Mon, 30 Jun 2014 03:08:56 +0000 (12:08 +0900)]
protocol: apply the latest protocol of ivi shell.
This protocol includes review comment in Wayland mailing list. Only
desciptions are modified.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Ossama Othman [Thu, 26 Jun 2014 20:52:33 +0000 (13:52 -0700)]
Addressed missing function prototype warnings.
In C, a function that accepts no arguments should have a (void)
parameter list in its prototype, not an empty () one. While they are
equivalent in C++, they are not the same in C. This patch set address
missing prototype related warnings in C code that uses the functions
in question.
Change-Id: Ic5bb65eefd857da03c39d135fd68e43880e7b975
Bug-Tizen: TC-1208
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
Ossama Othman [Thu, 26 Jun 2014 20:49:14 +0000 (13:49 -0700)]
Fixed unresolved symbol error in ilmControl library.
The ilmControl library uses symbols found in the
ivi-extension-protocol CMake project. Link it.
Change-Id: Ib5862ac6875c2297ec661d6d6fd1d621d2ec1e45
Bug-Tizen: TC-1208
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
Nobuhiko Tanibata [Fri, 20 Jun 2014 09:26:16 +0000 (18:26 +0900)]
weston-ivi-shell: change order of transmitting notification; surface->layer->Screen to Screen->Layer->surface.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Fri, 20 Jun 2014 09:25:55 +0000 (18:25 +0900)]
ilmControl: Move code of child context creation to callback of listener.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Thu, 19 Jun 2014 06:11:22 +0000 (15:11 +0900)]
ilmControl: Reverse layer ids.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Thu, 19 Jun 2014 06:10:10 +0000 (15:10 +0900)]
weston-ivi-shell: Separate code of updating layer properties from sending layer events.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Thu, 19 Jun 2014 06:09:09 +0000 (15:09 +0900)]
weston-ivi-shell: Separate code of updating surface properties from sending surface events.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Thu, 19 Jun 2014 06:08:23 +0000 (15:08 +0900)]
ilmControl and weston-ivi-shell : Send correct events of surface.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Thu, 19 Jun 2014 06:06:35 +0000 (15:06 +0900)]
ilmControl: Add implementation of listener to receive event when layer of MainContext is created.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Mon, 16 Jun 2014 09:39:45 +0000 (18:39 +0900)]
ilmControl and weston-ivi-shell: Reverse order when client is added to resources.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Mon, 16 Jun 2014 09:38:40 +0000 (18:38 +0900)]
weston-ivi-shell: Remove child context of a layer when the main context of the layer is removed
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Mon, 16 Jun 2014 09:38:04 +0000 (18:38 +0900)]
ilmControl: Avoid duplicative insertion about render order of layers.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Mon, 16 Jun 2014 09:36:57 +0000 (18:36 +0900)]
weston-ivi-shell: bug fix. Send correct events for layer.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Mon, 16 Jun 2014 09:36:17 +0000 (18:36 +0900)]
ilmControl: Add listener of wl_output for child context.
This is because an event; ivi-controller.ivi-controller_layer.screen needs wl_output so wl_output shall be binded.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Wed, 11 Jun 2014 08:30:39 +0000 (01:30 -0700)]
test: add margin to compare values of ILM with return values from wayland.
This is because type of these valuables are different.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Fri, 6 Jun 2014 12:27:17 +0000 (05:27 -0700)]
weston-ivi-shell: Fix using wrong resource of layer
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Sun, 8 Jun 2014 03:25:21 +0000 (20:25 -0700)]
weston-ivi-shell: Add destroy condition for ivi-layout-layer
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 21:40:47 +0000 (14:40 -0700)]
ilmControl: Avoid miss-cache in ilmControl because of asynchronous events
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 13:08:12 +0000 (06:08 -0700)]
test: Avoid surface creation failure.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 11:53:26 +0000 (04:53 -0700)]
ilmClient and ilmControl: Move AddNotification from ilmClient to ilmControl.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 11:39:56 +0000 (04:39 -0700)]
ilmControl: Set generated ID of layerid when it's invalid.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 11:24:39 +0000 (04:24 -0700)]
ivi-controller: Create a link layer.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 11:19:29 +0000 (04:19 -0700)]
ivi-cotroller: Avoid double free of surface.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 21:45:45 +0000 (14:45 -0700)]
test: Fix out of range error.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 10:45:32 +0000 (03:45 -0700)]
test: Fix an initial value of t_ilm_notification_mask and operations
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 10:58:24 +0000 (03:58 -0700)]
test: Fix a test code for multi-wl_surfaces.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 09:41:20 +0000 (02:41 -0700)]
ivi-controller: Send layer-add event to client when ivi-shell receives layer-remove notification.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 09:27:57 +0000 (02:27 -0700)]
ilmControl: Set initial value ILM_INPUT_DEVICE_ALL to inputDevicesAcceptance
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 09:20:37 +0000 (02:20 -0700)]
ilmControl: Avoid multiple registration to render order of surface.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 09:11:34 +0000 (02:11 -0700)]
ilmClient and ilmControl: Avoid duplicative auto generation numbers about surface and layer
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 08:12:50 +0000 (01:12 -0700)]
ilmControl: Return correct value of wayland_layerRemove
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 3 Jun 2014 12:32:50 +0000 (05:32 -0700)]
test: Revert through exception during full of message queues
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 27 May 2014 09:19:37 +0000 (18:19 +0900)]
test: Throw exception if wl_display_roundtrip returns error.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 27 May 2014 05:14:38 +0000 (22:14 -0700)]
test: Fix a lock issue when the API tests is running.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 27 May 2014 10:05:17 +0000 (19:05 +0900)]
weston-ivi-shell: Fix memory access violations.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 29 Apr 2014 13:34:44 +0000 (22:34 +0900)]
weston-ivi-shell: support weston 1.4.91 later.
Due to the change of folder structure, previous source can not be built with 1.4.91 later.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Timo Lotterbach [Wed, 30 Apr 2014 06:58:38 +0000 (08:58 +0200)]
removed compiler warnings in unit tests
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Timo Lotterbach [Fri, 30 May 2014 06:40:33 +0000 (08:40 +0200)]
fixed unit test crash, if compositor service is not running
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Timo Lotterbach [Thu, 17 Apr 2014 08:15:27 +0000 (10:15 +0200)]
fixed layer order returned in ilm_getLayerIDsOnScreen
layer ids are reported in opposite order than expected by ILM API.
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:34 +0000 (18:15 +0200)]
tests: expected behaviour of "*_Invalid*" tests
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:33 +0000 (18:15 +0200)]
tests: memory leak in IlmCommandTest::TearDown()
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:32 +0000 (18:15 +0200)]
tests: number of hardware layers
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:31 +0000 (18:15 +0200)]
tests: surface pixelformat
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:30 +0000 (18:15 +0200)]
tests: take screenshot
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:29 +0000 (18:15 +0200)]
tests: surface properites
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:28 +0000 (18:15 +0200)]
tests: surface IDs on layer
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:27 +0000 (18:15 +0200)]
tests: layer capabilities
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:26 +0000 (18:15 +0200)]
tests: layer type
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:25 +0000 (18:15 +0200)]
tests: layer remove
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:24 +0000 (18:15 +0200)]
tests: surface source rectangle
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:23 +0000 (18:15 +0200)]
tests: layer/surface visibility
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:22 +0000 (18:15 +0200)]
tests: layer/surface opacity
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:21 +0000 (18:15 +0200)]
tests: layer/surface position
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:20 +0000 (18:15 +0200)]
tests: layer/surface dimensions
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:19 +0000 (18:15 +0200)]
tests: screen resolution
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:18 +0000 (18:15 +0200)]
tests: code and resources handling cleanup
Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
Timo Lotterbach [Thu, 17 Apr 2014 07:26:02 +0000 (09:26 +0200)]
enabled all ilm_control unit tests, results in compositor crash
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Timo Lotterbach [Thu, 17 Apr 2014 07:32:23 +0000 (09:32 +0200)]
fixed ilm_control_notification unit tests setup
providing NULL as native surface is prohibited by design for IVI Extension,
unit test now use a wl_surface created in TestBase base class.
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Timo Lotterbach [Thu, 17 Apr 2014 07:24:32 +0000 (09:24 +0200)]
updated .gitignore
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Nobuhiko Tanibata [Mon, 14 Apr 2014 09:30:38 +0000 (18:30 +0900)]
ilmClient : Add null check of nativehandle to ilm_surfaceCreate
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Nobuhiko Tanibata [Fri, 11 Apr 2014 11:45:12 +0000 (20:45 +0900)]
Bug fix TIVI 3029. Add destroy surface for main_ctx
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Nobuhiko Tanibata [Fri, 11 Apr 2014 01:40:44 +0000 (10:40 +0900)]
Bug fix: weston crash due to missing destruction of surface.
This is also reported in Tizen IVI JIRA, TIVI-3029
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Timo Lotterbach [Mon, 7 Apr 2014 14:11:43 +0000 (16:11 +0200)]
remove ivi_controller_surface on content_removed event
in ILM API, surfaceDestroy(x) will remove all references to this surface
from scene. To achieve same behavior, ivi controllers must release their
corresponding ivi_controller_surfaces on content_removed event.
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Timo Lotterbach [Mon, 7 Apr 2014 14:08:52 +0000 (16:08 +0200)]
remove ivi_surface from internal state on ilm_surfaceRemove()
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Timo Lotterbach [Mon, 7 Apr 2014 13:00:22 +0000 (15:00 +0200)]
fixed small error logging issue
several functions logged error 'Invalid ... in
controller_surface_listener_destroyed' and not their real name.
This patch uses __FUNCTION__ to generate function names for logging.
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Timo Lotterbach [Mon, 7 Apr 2014 10:19:07 +0000 (12:19 +0200)]
fixed wrong order of layers in ilm_getLayerIDs
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Timo Lotterbach [Mon, 7 Apr 2014 10:18:33 +0000 (12:18 +0200)]
controller destroys mutex on shutdown
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Timo Lotterbach [Mon, 7 Apr 2014 08:59:45 +0000 (10:59 +0200)]
stop control thread during shutdown to prevent crashes
unit tests do fast init/destroy cycles, which resulted in control
thread still using resources (e.g. display) that were already destroyed.
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Timo Lotterbach [Mon, 7 Apr 2014 08:23:55 +0000 (10:23 +0200)]
fixed return value in ilm_surfaceCreate
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Timo Lotterbach [Fri, 4 Apr 2014 07:49:53 +0000 (09:49 +0200)]
refactored unit tests, check all return values
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Timo Lotterbach [Mon, 7 Apr 2014 07:57:58 +0000 (09:57 +0200)]
removed obsolete code
most of this code was specific to IVI LayerManagement (ILM) implementation
and is not used in other implementations of ILM API.
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Nobuhiko Tanibata [Tue, 1 Apr 2014 02:26:05 +0000 (11:26 +0900)]
Corrected XML file modes: 0755->0644.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Nobuhiko Tanibata [Tue, 1 Apr 2014 02:21:07 +0000 (11:21 +0900)]
Remove wl_list_init of layer_list which will be used by ivi_shell
To avoid clearing not related ivi_controller.so layer. E.g.
cursor and software keyboard.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Nobuhiko Tanibata [Tue, 1 Apr 2014 02:07:25 +0000 (11:07 +0900)]
Modify thread's control in ilm_control.
- create sub thread to receive surface notification event only.
- wl_display of sub thread is accessed by sub thread only.
- sub thread uses wl_display_dispatch() instead of
wl_display_roundtrip() in order to avoid occupying cpu.
- remove lock and unlock macros.
This is reported in TIZEN IVI.
TIVI-2880 and TIVI-2883
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Nobuhiko Tanibata [Tue, 1 Apr 2014 02:04:59 +0000 (11:04 +0900)]
Modify initialize process to use application's native display in each ilm library to avoid deak lock to use the same display connection inter application in ilm library.
This is reported in TIZEN IVI as bugs.
TIVI-2880 and TIVI-2883
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Nobuhiko Tanibata [Mon, 31 Mar 2014 08:28:30 +0000 (17:28 +0900)]
Bugfix: dead lock issue in ilm library. This happens when several client uses ilm library in parallel because the same display connect is used wihin them.
This is also reported in TIZEN IVI.
TIVI-2880 and TIVI-2883
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Timo Lotterbach [Fri, 21 Mar 2014 17:57:44 +0000 (18:57 +0100)]
Updated IVI-Application protocol
This update updates the ivi application protocol to include
the changes request by wayland community during upstream
integration of IVI-Shell.
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>