profile/ivi/wayland-ivi-extension.git
10 years agoilmControl: simplify SetRenderOrder implementations
Marcus Fritzsch [Wed, 23 Jul 2014 10:54:57 +0000 (12:54 +0200)]
ilmControl: simplify SetRenderOrder implementations

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: use three roundtrips at init time
Marcus Fritzsch [Wed, 23 Jul 2014 10:54:33 +0000 (12:54 +0200)]
ilmControl: use three roundtrips at init time

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: fix a minor memory leak
Marcus Fritzsch [Tue, 22 Jul 2014 11:52:06 +0000 (13:52 +0200)]
ilmControl: fix a minor memory leak

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: fix NULL deref in getPropertiesOfScreen
Marcus Fritzsch [Tue, 22 Jul 2014 11:51:49 +0000 (13:51 +0200)]
ilmControl: fix NULL deref in getPropertiesOfScreen

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: get rid of context::valid
Marcus Fritzsch [Tue, 29 Jul 2014 13:37:08 +0000 (15:37 +0200)]
ilmControl: get rid of context::valid

Replace valid with a needed "initialized" flag, also don't use
this flag to determine thread termination, pthread_cancel() is
used.

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: control_thread has most stuff in local variables
Marcus Fritzsch [Tue, 22 Jul 2014 09:12:06 +0000 (11:12 +0200)]
ilmControl: control_thread has most stuff in local variables

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: control_thread checks context validity more often
Marcus Fritzsch [Tue, 22 Jul 2014 09:08:00 +0000 (11:08 +0200)]
ilmControl: control_thread checks context validity more often

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: cancel read even on thread cancellation
Marcus Fritzsch [Tue, 22 Jul 2014 09:06:07 +0000 (11:06 +0200)]
ilmControl: cancel read even on thread cancellation

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: fix another "continued" error string
Marcus Fritzsch [Tue, 22 Jul 2014 09:03:09 +0000 (11:03 +0200)]
ilmControl: fix another "continued" error string

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmCommon: fix destruction order of "components"
Marcus Fritzsch [Tue, 22 Jul 2014 09:00:09 +0000 (11:00 +0200)]
ilmCommon: fix destruction order of "components"

After display ownership is managed in ilmCommon, it is important
to destroy components in the reverse order they were created.

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: renamed main_ctx field to just wl
Marcus Fritzsch [Mon, 21 Jul 2014 15:29:49 +0000 (17:29 +0200)]
ilmControl: renamed main_ctx field to just wl

Get rid of the "main_ctx" name as it does not apply anymore.

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: renamed get_instace, moved context locking inside it
Marcus Fritzsch [Mon, 21 Jul 2014 15:26:26 +0000 (17:26 +0200)]
ilmControl: renamed get_instace, moved context locking inside it

Renamed get_instance() to sync_and_acquire_instance() to cleanly state
that there is more than just return an instance pointer. Acquires the
state lock and does a display_roundtrip_queue()

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: added display_flush to layer "screenshot"
Marcus Fritzsch [Tue, 29 Jul 2014 13:07:42 +0000 (15:07 +0200)]
ilmControl: added display_flush to layer "screenshot"

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: remove last remains of dual-contexts
Marcus Fritzsch [Tue, 29 Jul 2014 13:06:59 +0000 (15:06 +0200)]
ilmControl: remove last remains of dual-contexts

* child global listener renamed.
* main global listener removed.

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: rename child globals listener
Marcus Fritzsch [Tue, 29 Jul 2014 13:03:23 +0000 (15:03 +0200)]
ilmControl: rename child globals listener

Also remove the "mostly-child" main globals listener.

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: removed main controller_surface listener
Marcus Fritzsch [Tue, 29 Jul 2014 12:45:27 +0000 (14:45 +0200)]
ilmControl: removed main controller_surface listener

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: renamed child controller_surface listener
Marcus Fritzsch [Tue, 29 Jul 2014 12:36:48 +0000 (14:36 +0200)]
ilmControl: renamed child controller_surface listener

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: renamed all child controller_layer listeners
Marcus Fritzsch [Tue, 29 Jul 2014 12:28:22 +0000 (14:28 +0200)]
ilmControl: renamed all child controller_layer listeners

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: remove child_ctx
Marcus Fritzsch [Tue, 29 Jul 2014 12:09:38 +0000 (14:09 +0200)]
ilmControl: remove child_ctx

First step towards single "context", use main_ctx for everything.

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: acquire context lock on each ilm call
Marcus Fritzsch [Tue, 29 Jul 2014 09:29:52 +0000 (11:29 +0200)]
ilmControl: acquire context lock on each ilm call

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: implement new control_thread main loop
Marcus Fritzsch [Mon, 28 Jul 2014 15:10:04 +0000 (17:10 +0200)]
ilmControl: implement new control_thread main loop

* Implements a dispatch loop pretty much like the wayland
  documentation suggests.
* Acquire the context lock before each dispatching call.
* Make sure to cancel_read even when the thread is cancelled.

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: rework init + destroy, wl_event_queue
Marcus Fritzsch [Mon, 28 Jul 2014 14:43:36 +0000 (16:43 +0200)]
ilmControl: rework init + destroy, wl_event_queue

* Using a private event queue for all ilm_* internal
  wayland communication. This separates the ivi_*
  objects from whatever is used externally.
* Init not happens _only_ on ilm_init
  This also means no more is initialized polling and
  possibly exit(0)ing from get_instace()
* Fixed destroy to happen in main thread where it will
  actually be executed.
* Needed to adapt ilm_commitChanges() to new internal
  wl_event_queue.

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: Removed some unnecessary NULL checks
Marcus Fritzsch [Mon, 21 Jul 2014 14:47:51 +0000 (16:47 +0200)]
ilmControl: Removed some unnecessary NULL checks

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: Added display_roundtrip_queue()
Marcus Fritzsch [Mon, 28 Jul 2014 07:58:52 +0000 (09:58 +0200)]
ilmControl: Added display_roundtrip_queue()

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agonotifyTests: expect the correct number of calls
Marcus Fritzsch [Mon, 28 Jul 2014 07:56:19 +0000 (09:56 +0200)]
notifyTests: expect the correct number of calls

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmCommon: manage ownership of display connection
Marcus Fritzsch [Mon, 21 Jul 2014 11:43:52 +0000 (13:43 +0200)]
ilmCommon: manage ownership of display connection

Introduced a new flag 'disconnect_display' separate from
valid, as adding bits to valid would change its scope and
entail changes to all usages of it.

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: simplify add/remove ordersurface to/from layer
Marcus Fritzsch [Thu, 24 Jul 2014 15:43:08 +0000 (17:43 +0200)]
ilmControl: simplify add/remove ordersurface to/from layer

* simplify implementation.
* only pass the data that we actually need.

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: make use of userdata pointer for ctrl surfaces
Marcus Fritzsch [Thu, 24 Jul 2014 15:37:24 +0000 (17:37 +0200)]
ilmControl: make use of userdata pointer for ctrl surfaces

* Use the userdata pointer in surface listener methods.

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: actually remove get_layer_context()
Marcus Fritzsch [Thu, 24 Jul 2014 15:33:53 +0000 (17:33 +0200)]
ilmControl: actually remove get_layer_context()

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: renaming the last remaining layer listener
Marcus Fritzsch [Fri, 4 Jul 2014 14:12:31 +0000 (16:12 +0200)]
ilmControl: renaming the last remaining layer listener

* No more child/main, only one remains and we do not need a suffix
anymore.

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
10 years agoilmControl: code deduplication regarding controller listeners
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>
10 years agoilmControl: Minor fix to create_controller_layer()
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>
10 years agoilmControl: simplify screen and layer associations
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>
10 years agoilmControl: actually delete all the layer_main stuff
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>
10 years agoilmControl: remove get_layer_context_by_controller() use get_layer_context() instead
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>
10 years agoilmControl: making correct use of the userdata for ctrl layers
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>
10 years agoilmControl: simplify layer creation and methods
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>
10 years agoilmControl: use correct bool argument to *_destroy() requests
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>
10 years agoilmControl: fixed layerGetType()
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>
10 years agoilmControlTest: use local arrays instead of dyn alloc
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>
10 years agoLayerManagerControl: ilm_commit before ilm_destroy()
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>
10 years agoilmControl: fix screen resolution retrieval
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>
10 years agoilmControl: removeNotification is AddNotification NULL
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>
10 years agoilmControlTests: do not rely on order of IDs
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>
10 years agoilmControlTest: removed chroma key tests
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>
10 years agoilmNotifyTests: another set of fixes for notify callbacks
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>
10 years agoilmNotifyTests: fix notification callbacks
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>
10 years agoilmNotifyTests: use a proper TearDown()
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>
10 years agoilmNotifyTests: reset callback IDs on SetUp()
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>
10 years agoilmNotifyTests: wait at most 500ms
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>
10 years agoilmControl: getLayerIDsOnScreen() use correct list
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>
10 years agoilmControl: removed usleep from get_instance.
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>
10 years agoprotocol: apply the latest protocol of ivi shell. 1.2.0-rc6
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>
10 years agoAddressed missing function prototype warnings.
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>
10 years agoFixed unresolved symbol error in ilmControl library.
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>
10 years agoweston-ivi-shell: change order of transmitting notification; surface->layer->Screen...
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>
10 years agoilmControl: Move code of child context creation to callback of listener.
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>
10 years agoilmControl: Reverse layer ids.
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>
10 years agoweston-ivi-shell: Separate code of updating layer properties from sending layer events.
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>
10 years agoweston-ivi-shell: Separate code of updating surface properties from sending surface...
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>
10 years agoilmControl and weston-ivi-shell : Send correct events of surface.
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>
10 years agoilmControl: Add implementation of listener to receive event when layer of MainContext...
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>
10 years agoilmControl and weston-ivi-shell: Reverse order when client is added to resources.
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>
10 years agoweston-ivi-shell: Remove child context of a layer when the main context of the layer...
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>
10 years agoilmControl: Avoid duplicative insertion about render order of layers.
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>
10 years agoweston-ivi-shell: bug fix. Send correct events for layer.
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>
10 years agoilmControl: Add listener of wl_output for child context.
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>
10 years agotest: add margin to compare values of ILM with return values from wayland.
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>
10 years agoweston-ivi-shell: Fix using wrong resource of layer
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>
10 years agoweston-ivi-shell: Add destroy condition for ivi-layout-layer
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>
10 years agoilmControl: Avoid miss-cache in ilmControl because of asynchronous events
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>
10 years agotest: Avoid surface creation failure.
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>
10 years agoilmClient and ilmControl: Move AddNotification from ilmClient to ilmControl.
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>
10 years agoilmControl: Set generated ID of layerid when it's invalid.
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>
10 years agoivi-controller: Create a link layer.
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>
10 years agoivi-cotroller: Avoid double free of surface.
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>
10 years agotest: Fix out of range error.
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>
10 years agotest: Fix an initial value of t_ilm_notification_mask and operations
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>
10 years agotest: Fix a test code for multi-wl_surfaces.
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>
10 years agoivi-controller: Send layer-add event to client when ivi-shell receives layer-remove...
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>
10 years agoilmControl: Set initial value ILM_INPUT_DEVICE_ALL to inputDevicesAcceptance
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>
10 years agoilmControl: Avoid multiple registration to render order of surface.
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>
10 years agoilmClient and ilmControl: Avoid duplicative auto generation numbers about surface...
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>
10 years agoilmControl: Return correct value of wayland_layerRemove
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>
10 years agotest: Revert through exception during full of message queues
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>
10 years agotest: Throw exception if wl_display_roundtrip returns error.
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>
10 years agotest: Fix a lock issue when the API tests is running.
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>
10 years agoweston-ivi-shell: Fix memory access violations.
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>
10 years agoweston-ivi-shell: support weston 1.4.91 later.
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>
10 years agoremoved compiler warnings in unit tests
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>
10 years agofixed unit test crash, if compositor service is not running
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>
10 years agofixed layer order returned in ilm_getLayerIDsOnScreen
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>
10 years agotests: expected behaviour of "*_Invalid*" tests
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>
10 years agotests: memory leak in IlmCommandTest::TearDown()
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>
10 years agotests: number of hardware layers
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>
10 years agotests: surface pixelformat
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>
10 years agotests: take screenshot
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>
10 years agotests: surface properites
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>
10 years agotests: surface IDs on layer
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>
10 years agotests: layer capabilities
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>