Nobuhiko Tanibata [Mon, 4 Aug 2014 07:09:27 +0000 (16:09 +0900)]
ilmControl: when called from AddNotification, notify of surface creation.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Mon, 4 Aug 2014 06:52:13 +0000 (15:52 +0900)]
weston-ivi-shell: fix a memory leak of surface and resource.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 29 Jul 2014 07:33:43 +0000 (16:33 +0900)]
ilmControl: Return REMOVED immediatly when notification is set even if wl_surface is not set to ivi_surface.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 29 Jul 2014 07:28:33 +0000 (16:28 +0900)]
ilmControl: Send content event when ivi-surface is created or destroyed.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Mon, 7 Jul 2014 12:22:54 +0000 (21:22 +0900)]
ilmCommon: Add flags of content state to ILM_NOTIFICATION.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Sun, 10 Aug 2014 12:57:22 +0000 (21:57 +0900)]
ilmControl: allow to set callback of surfaceAddNotification even if application doen't map ID to wl_surface.
When application map ID to wl_surface by ivi_application.createSurface,
content_state is notified with content_available.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 29 Jul 2014 05:30:58 +0000 (14:30 +0900)]
weston-ivi-shell: allow to create ivi_controller_surface with ID even if application doesn't map ID to wl_surface yet.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Nobuhiko Tanibata [Mon, 7 Jul 2014 12:19:53 +0000 (21:19 +0900)]
weston-ivi-shell: Send content_state event from ivi-controller.
When content of ivi_surface is changes, e.g. map wl_surface or remove
it, content_state is notified.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Mon, 7 Jul 2014 17:54:13 +0000 (10:54 -0700)]
weston-ivi-shell: add calling ivi_layout_surfaceSetTransition to set transition type.
ivi-layout have new feture to control type of transion when property of
surface happens. ivi-layout proposes the above api:
ivi_layout_surfaceSetTransition to change the type.
This api allows user to set type of transition per surface when
commitchange happens. Type of transtion is defined in enum
ivi_layout_transition_type.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Mon, 7 Jul 2014 17:52:53 +0000 (10:52 -0700)]
weston-ivi-shell: Apply the latest headers of ivi-layout from upstream.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Wed, 25 Jun 2014 08:55:08 +0000 (17:55 +0900)]
weston-ivi-shell: Move screenshot function from IVI-Shell to ivi-controller.
This is because ivi-shell shall not have dependency on other components
as much as possible. Now it depends on CAIRO.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Tue, 29 Jul 2014 05:01:05 +0000 (14:01 +0900)]
Protocol, ilmControl, add weston-ivi-shell: Add device type to argument of input_focus functions.
A parameter, device, is missing from protocol. It is needed for API spec.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Fri, 8 Aug 2014 00:53:33 +0000 (09:53 +0900)]
ilmControl: Fix incorrect resource free.
Even if LayerManagerControl create a layer, it is destoryed when it
exits.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Fri, 8 Aug 2014 00:53:10 +0000 (09:53 +0900)]
ivi-controller: Fix incorrect args for ivi_layout_layerSetRenderOrder.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Fri, 8 Aug 2014 00:52:42 +0000 (09:52 +0900)]
ivi-controller: Fix invalid read.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Fri, 8 Aug 2014 00:51:58 +0000 (09:51 +0900)]
ivi-controller: Fix incorrect args for ivi_layout_screenSetRenderOrder.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Fri, 8 Aug 2014 00:47:57 +0000 (09:47 +0900)]
ivi-controller: Fix NULL deref in controller_screen_set_render_order
and invalid cast of pointer.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Nobuhiko Tanibata [Fri, 8 Aug 2014 00:47:27 +0000 (09:47 +0900)]
ivi-controller: Fix NULL deref.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Marcus Fritzsch [Fri, 1 Aug 2014 11:17:05 +0000 (13:17 +0200)]
ilmControl: removed TODO comments at ilm_*Notification impls
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 1 Aug 2014 09:59:43 +0000 (11:59 +0200)]
ilmControl: correct argument to sizeof operator
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 1 Aug 2014 07:13:42 +0000 (09:13 +0200)]
tests: free resources in LayerSetRenderOrder_shrinking
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 1 Aug 2014 07:13:23 +0000 (09:13 +0200)]
tests: free resources in LayerSetRenderOrder_growing
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 1 Aug 2014 07:13:03 +0000 (09:13 +0200)]
tests: free resources in DisplaySetRenderOrder_shrinking
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 1 Aug 2014 07:12:42 +0000 (09:12 +0200)]
tests: free resources in DisplaySetRenderOrder_growing
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 1 Aug 2014 07:12:19 +0000 (09:12 +0200)]
tests: free resources in ilm_getPropertiesOfScreen
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 1 Aug 2014 07:11:39 +0000 (09:11 +0200)]
tests: free resources in ilm_getNumberOfHardwareLayers
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 1 Aug 2014 07:10:27 +0000 (09:10 +0200)]
tests: remove spurious newlines and an unused variable
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 1 Aug 2014 07:09:32 +0000 (09:09 +0200)]
tests: some simple free allocated arrays from ilm_* calls
ASSERT_* less and EXPECT_* more where we need to free resources.
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 1 Aug 2014 07:02:21 +0000 (09:02 +0200)]
tests: remove all cleanup code at end of tests
These cleanup-marked lines where pretty bogus, as they wouldn't even be
executed if something ASSERT_'ed before it. Also, to have a clean slate,
the cleanup - i.e. remove all layers and surfaces - is done in TearDown.
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 1 Aug 2014 06:57:46 +0000 (08:57 +0200)]
notifyTests: "allocate" 2-wide arrays in stack
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 1 Aug 2014 06:55:27 +0000 (08:55 +0200)]
ilmControl: control_thread uses eventfd for shutdown signal
Do not use pthread_cancel to shutdown control_thread. This could cause
stale locks in libwayland-client when the cancel was received when
the display lock (according to the current 1.3 implementation) is held.
To alleviate this, one could disable thread_cancellation in
control_thread during wl_* calls, this however is one more hack to the
cancel-to-shutdown hack. Instead, use a clean interface to send an
event to the control_thread when it's time to shutdown.
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Thu, 31 Jul 2014 11:05:42 +0000 (13:05 +0200)]
ilmControl: remove implementation function pointer table
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Wed, 30 Jul 2014 15:21:21 +0000 (17:21 +0200)]
ilmControl: sync_and_acquire_instance checks for initialization
sync_and_acquire_instance coded as a macro that checks
the initialized field and returns ILM_FAILED if no initilized.
As sync_and_acquire_instance() is only to be used from ilm_*
implementation functions, this should be safe.
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Tue, 12 Aug 2014 08:41:54 +0000 (10:41 +0200)]
ilmControl: control_thread variables are const
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Tue, 12 Aug 2014 08:40:16 +0000 (10:40 +0200)]
ilmControl: simplify control_thread loop
Use an old-fashioned while loop for the prepare_read+
dispatch_pending loop.
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Wed, 30 Jul 2014 15:17:59 +0000 (17:17 +0200)]
ilmControl: destroy event queue if get_registry fails
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Wed, 30 Jul 2014 15:17:28 +0000 (17:17 +0200)]
ilmControl: free resources after use
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Fri, 1 Aug 2014 09:25:32 +0000 (11:25 +0200)]
ilmControl: a screen needs no order link
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Tue, 12 Aug 2014 07:37:57 +0000 (09:37 +0200)]
ilmClient: free resources after use
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Tue, 12 Aug 2014 07:37:42 +0000 (09:37 +0200)]
ilmClient: init surface_context::link on create
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Wed, 30 Jul 2014 15:16:02 +0000 (17:16 +0200)]
ilmClient: remove double-loop without purpose
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Wed, 30 Jul 2014 10:16:31 +0000 (12:16 +0200)]
ilmControl: screen dimension is set only from current output mode
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Tue, 29 Jul 2014 15:19:01 +0000 (17:19 +0200)]
ilmControl: propagate roundtrip return value to caller of commitChanges
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Thu, 24 Jul 2014 11:12:58 +0000 (13:12 +0200)]
ilmControl: some initialization fixes
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
Marcus Fritzsch [Wed, 23 Jul 2014 11:06:49 +0000 (13:06 +0200)]
ilmControl: removed num_screen field of ilm_context
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>