summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix includes for weston's compositor.hbaserock/genivi/1.2.0Lars Wirzenius2014-10-022-2/+2
|
* ivi-application.xml: apply the latest protocol from weston-ivi-shell1.2.0Nobuhiko Tanibata2014-09-191-28/+3
| | | | | | | | | - Remove warning events. This is notified to ivi-controller by callback now. - Add configure event to suggest resize of surface. When ivi-controller changes size of ivi_surface, client will receive this event. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* ilm_Client: fix display connection leak.Nobuhiko Tanibata2014-09-151-0/+2
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* ilmClient: Fix segv when a layer is added.Nobuhiko Tanibata2014-09-101-3/+53
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* tests: check surfaceProperties.creatorPid tooMarcus Fritzsch2014-09-011-0/+5
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* ilmControl: issue send_stats request on getPropertiesOfSurfaceMarcus Fritzsch2014-09-011-3/+13
| | | | | | | | | | | In order to have a current set of statistics in surface properties, request submission of stats prior to retrieval of actual properties. Also, if display_roundtrip_queue() fails in this one we assume something is really broken and don't bother returning properties w/o stats but simply error out. Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* tests: fixed 2 use-after-free errorsMarcus Fritzsch2014-09-011-12/+17
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* ilmControl: check roundtrip results on initMarcus Fritzsch2014-09-011-6/+11
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* ilmControl: stricter checking in display_roundtrip_queue()Marcus Fritzsch2014-09-011-2/+12
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* ilmControl: check for valid wl_event_queue on initMarcus Fritzsch2014-09-011-0/+4
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* ilmControl: rewrite sync_and_acquire_instanceMarcus Fritzsch2014-09-011-7/+27
| | | | | | | | * Moved all of the code to impl_sync_and_acquire_instance * The macro still allows for ILM_FAILED return if instance is not correctly initialized or the wayland display connection broke. Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* ilmControl: move eventfd init to init_control()Marcus Fritzsch2014-09-011-8/+8
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* ilmControl: destroy output objects, even w/o controllerMarcus Fritzsch2014-09-011-0/+15
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* ilmControl: shutdown_fd should be set to a default of -1Marcus Fritzsch2014-09-011-2/+1
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* ilmControl: check for valid controller on initMarcus Fritzsch2014-09-011-0/+6
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* ilmControl: allow clean shutdown on partial initMarcus Fritzsch2014-09-011-5/+11
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* ilmControl: use wl_output userdata pointerMarcus Fritzsch2014-09-011-29/+1
| | | | | | And remove now unneeded get_screen_context_by_output() Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* tests: check roundtrip() result in Test ctorMarcus Fritzsch2014-09-011-2/+5
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* ivi-controller: Take surface screenshot even if surface is not on layer.Nobuhiko Tanibata2014-09-011-36/+61
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* weston-ivi-shell: Add surface-screenshot function.Nobuhiko Tanibata2014-09-012-30/+251
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* weston-ivi-shell: Add function of save as bitmap.Nobuhiko Tanibata2014-09-013-0/+143
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* cmake: Add gl libraries.Nobuhiko Tanibata2014-08-211-0/+10
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* weston-ivi-shell: Fix illegal surface free.Nobuhiko Tanibata2014-08-211-3/+0
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* ilmControl: when called from AddNotification, notify of surface creation.1.2.0-rc7Nobuhiko Tanibata2014-08-211-8/+18
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* weston-ivi-shell: fix a memory leak of surface and resource.Nobuhiko Tanibata2014-08-211-5/+5
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* ilmControl: Return REMOVED immediatly when notification is set even if ↵Nobuhiko Tanibata2014-08-211-0/+3
| | | | | | wl_surface is not set to ivi_surface. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* ilmControl: Send content event when ivi-surface is created or destroyed.Nobuhiko Tanibata2014-08-211-2/+22
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* ilmCommon: Add flags of content state to ILM_NOTIFICATION.Nobuhiko Tanibata2014-08-211-0/+2
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* ilmControl: allow to set callback of surfaceAddNotification even if ↵Nobuhiko Tanibata2014-08-211-11/+16
| | | | | | | | | 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>
* weston-ivi-shell: allow to create ivi_controller_surface with ID even if ↵Nobuhiko Tanibata2014-08-212-0/+22
| | | | | | application doesn't map ID to wl_surface yet. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* weston-ivi-shell: Send content_state event from ivi-controller.Nobuhiko Tanibata2014-08-211-0/+9
| | | | | | | 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>
* weston-ivi-shell: add calling ivi_layout_surfaceSetTransition to set ↵Nobuhiko Tanibata2014-08-211-0/+6
| | | | | | | | | | | | | 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>
* weston-ivi-shell: Apply the latest headers of ivi-layout from upstream.Nobuhiko Tanibata2014-08-212-96/+160
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* weston-ivi-shell: Move screenshot function from IVI-Shell to ivi-controller.Nobuhiko Tanibata2014-08-212-36/+71
| | | | | | | 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>
* Protocol, ilmControl, add weston-ivi-shell: Add device type to argument of ↵Nobuhiko Tanibata2014-08-213-1/+16
| | | | | | | | 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>
* ilmControl: Fix incorrect resource free.Nobuhiko Tanibata2014-08-211-1/+0
| | | | | | | Even if LayerManagerControl create a layer, it is destoryed when it exits. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* ivi-controller: Fix incorrect args for ivi_layout_layerSetRenderOrder.Nobuhiko Tanibata2014-08-201-1/+1
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* ivi-controller: Fix invalid read.Nobuhiko Tanibata2014-08-201-0/+3
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* ivi-controller: Fix incorrect args for ivi_layout_screenSetRenderOrder.Nobuhiko Tanibata2014-08-201-1/+1
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* ivi-controller: Fix NULL deref in controller_screen_set_render_orderNobuhiko Tanibata2014-08-201-2/+2
| | | | | | and invalid cast of pointer. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* ivi-controller: Fix NULL deref.Nobuhiko Tanibata2014-08-121-1/+1
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* ilmControl: removed TODO comments at ilm_*Notification implsMarcus Fritzsch2014-08-121-4/+0
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* ilmControl: correct argument to sizeof operatorMarcus Fritzsch2014-08-121-5/+5
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* tests: free resources in LayerSetRenderOrder_shrinkingMarcus Fritzsch2014-08-121-11/+14
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* tests: free resources in LayerSetRenderOrder_growingMarcus Fritzsch2014-08-121-10/+13
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* tests: free resources in DisplaySetRenderOrder_shrinkingMarcus Fritzsch2014-08-121-8/+11
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* tests: free resources in DisplaySetRenderOrder_growingMarcus Fritzsch2014-08-121-9/+12
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* tests: free resources in ilm_getPropertiesOfScreenMarcus Fritzsch2014-08-121-20/+28
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* tests: free resources in ilm_getNumberOfHardwareLayersMarcus Fritzsch2014-08-121-8/+13
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* tests: remove spurious newlines and an unused variableMarcus Fritzsch2014-08-121-13/+0
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>