summaryrefslogtreecommitdiff
path: root/ivi-layermanagement-examples
Commit message (Collapse)AuthorAgeFilesLines
* layer-add-surfaces: choose display with highest resolutionEmre Ucan2016-06-281-5/+35
| | | | | | | | | Currently, the display 0 is used in layer-add-surfaces. It is better to use the display with highest resolution than using a hard-coded ID. Because the highest display is most likely the main display. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLInputEventExample: convert enter event coordinates from wl_fixed to intEmre Ucan2016-06-281-1/+2
| | | | | | Otherwise the printed out values are wrong Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLMockNavigation: remove IlmMatrix source codeEmre Ucan2016-04-192-364/+0
| | | | | | | IlmMatrix source code is removed, because it has a different license than the license of wayland-ivi-extension (i.e Apache 2.0). Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLMockNavigation: remove IlmMatrix dependencyEmre Ucan2016-04-1913-45/+134
| | | | | | | | | | | | | IlmMatrix dependency is removed, because it has a different license than the license of wayland-ivi-extension (i.e Apache 2.0). This license problem is reported by Jeremiah C. Foster. He also raised the ticket "BUG 432" in http://bugs.genivi.org/ I replaced the IlmMatrix implementation with my own implementation to fix the issue. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* simple-ivi-share: fix compiler warningsEmre Ucan2016-04-071-3/+4
| | | | | | | | I fixed several compiler warnings: -Wreturn-type -Wunused-value Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* cmake: fix parallel make in example programs buildEugen Friedrich2016-03-212-27/+2
| | | | | | | | - This avoids redefining the generation of protocol files during build of examples - Add depedency to header and c files generated from the protocols to fix build issues Signed-off-by: Frederico Cadete <frederico.cadete@awtce.be> Reviewed-by: Eugen Friedrich <efriedrich@de.adit-jv.de>
* ivi-layermanagement-examples: an example of ivi_share protocolNobuhiko Tanibata2015-12-233-0/+811
| | | | Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
* EGLWLMockNavigation: delete WaylandServerinfoProtocol source codesEmre Ucan2015-12-012-143/+0
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLMockNavigation: don't compile WaylandServerinfoProtocol source codeEmre Ucan2015-12-011-1/+0
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLInputEventExample: delete WaylandServerinfoProtocol source codesEmre Ucan2015-12-012-143/+0
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLInputEventExample: don't compile WaylandServerinfoProtocol source codesEmre Ucan2015-12-011-2/+0
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLInputEventExample: remove WaylandServerinfoProtocol implementationEmre Ucan2015-12-011-27/+0
| | | | | | | | WaylandServerinfoProtocol is used for old LayerManager component. It is not required to use with weston-ivi-shell. Therefore, I removed the implementation. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* multi-touch-viewer: add EGL_CFLAGS definitionsEmre Ucan2015-12-011-0/+2
| | | | | | | EGL_CFLAGS may include platform dependent definitions, which are required to successfully build the application. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLMockNavigation: add EGL_CFLAGS definitionsEmre Ucan2015-12-011-0/+2
| | | | | | | EGL_CFLAGS may include platform dependent definitions, which are required to successfully build the application. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* multi-touch-viewer: an example to receive multi touch and display them asNobuhiko Tanibata2015-09-308-0/+1802
| | | | | | | | | | points. This example provides us how to receive multi touch and handle them for own application. This shows multi touch as points with differenct color. Signed-off-by: Nobihiko Tanibata <ntanibata@jp.adit-jv.com>
* layer-add-surface: support surface which was created before layer-add-surface.Nobuhiko Tanibata2015-07-291-17/+20
| | | | Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>
* layer-add-surface: use origSourceWidth and Height for configuringEmre Ucan2015-07-201-10/+31
| | | | | | | | | | | check in surface creation event, if the surface is already configured. If it is, use the origSourceWidth and Height to configure destination and source rectangle of ilm_surface. If not, add a surface notification callback and wait for configured event. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* layer-add-surface: add more infomation which ilm api is called onNobuhiko Tanibata2015-07-171-1/+7
| | | | | | surface/layer. Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
* layer-add-surface: initial implementationEmre Ucan2015-07-173-0/+171
| | | | | | | | | | | | | | | | | it has 2 parameters: layerID: The layer with the given ID is created and added to the screen 0. Moreover, it is made visible number_of_surfaces: number of surfaces which should be added to the layer. when the surface creation callback is called, the surface is made visible, added to the layer. Moreover, destination rectangle and source rectangle are set to size of its wayland buffers. layer-add-surfaces exits when given number of surfaces are added to the layer Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLInputEventExample: modify WaitforEvent to read the socketEmre Ucan2015-07-173-5/+37
| | | | | | | | | it is not enough to dispatch the pending events in the mainloop. Event should be also read from the socket with wl_display_read_events call. This Implementation also avoids the busy loop in main.c, because WaitforEvent function waits at poll() till an event comes to the socket. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLInputEventExample: remove ilmControl dependencyEmre Ucan2015-07-173-23/+3
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLMockNavigation: remove ilmControl dependencyEmre Ucan2015-07-174-25/+3
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* LayerManagerControl: remove SetPosition API callsEmre Ucan2015-07-081-5/+25
| | | | | | ilm_*SetDestinationRectangle APIs are used instead Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* LayerManagerControl: remove ilm_layerGetDimension callsEmre Ucan2015-07-081-8/+12
| | | | | | instead use the ilm_getPropertiesOfLayer API Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* LayerManagerControl: remove ilm_surfaceGetDimension callsEmre Ucan2015-07-061-9/+14
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* LayerManagerControl: remove ilm_surfaceSetNativeContent callsEmre Ucan2015-07-062-20/+0
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* LayerManagerControl: fix compiler warning -Wsign-compareEmre Ucan2015-06-161-1/+1
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* LayerManagerControl: do not send empty string at get input device capabilitiesEmre Ucan2015-06-151-30/+38
| | | | | | send a NULL pointer instead Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLInputEventExample: make it multi-seat capableEmre Ucan2015-05-132-62/+39
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* LayerManagerControl: make the ilmInput commands optionalEmre Ucan2015-05-132-6/+263
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* LayerManagerControl: Fix scene parsingEmre Ucan2015-05-131-1/+1
| | | | | | | | | Previously, it would grab all text after the final opening '[' for the property. I can only assume C++'s data parsing was kind enough to discard invalid characters, which is why this error only popped up when parsing strings. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ilmControl: Remove ilm_Set/GetKeyboardFocusOn/SurfaceIdJonathan Maw2015-02-235-62/+2
| | | | | | | | | | | i.e. Removes the functions ilm_SetKeyboardFocusOn and ilm_GetKeyboardFocusSurfaceId, along with the parts of wayland-ivi-extension that support it. This functionality has been removed, in preparation for a new, more general input focus API. Signed-off-by: James Thomas <james.thomas@codethink.co.uk>
* ilmClient: Remove ilm_UpdateInputEventAcceptanceOnJonathan Maw2015-02-239-85/+3
| | | | | | | This function is being removed because it will be replaced by a more general "input acceptance" API. Signed-off-by: James Thomas <james.thomas@codethink.co.uk>
* ilmControl: Remove ilm_getNumberOfHardwareLayersJonathan Maw2015-02-231-3/+3
| | | | | | Removed because hardware layers aren't supported in weston Signed-off-by: James Thomas <james.thomas@codethink.co.uk>
* ilmControl: Remove ilm_Set/GetOptimizationMode and ilm_Set/GetChromaKeyJonathan Maw2015-02-234-149/+0
| | | | | | | Removed because they weren't implemented, and have little relevance to weston. Signed-off-by: James Thomas <james.thomas@codethink.co.uk>
* ivi-layermanagement-examples: EGLWLInputEventExapmle to be built with ↵1.3.0-rc1Nobuhiko Tanibata2014-11-131-0/+7
| | | | | | non-default directly. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* ivi-layermnagement-examples: Add command-line option for surface to ↵Jonathan Maw2014-11-131-0/+24
| | | | | | EGLWLInputEventExample Signed-off-by: James Thomas <james.thomas@codethink.co.uk>
* ivi-layermanagement-examples: Add EGLWLInputEventExample example applicationJames Thomas2014-11-1316-0/+2050
| | | | Signed-off-by: James Thomas <james.thomas@codethink.co.uk>
* LayerManagerControl: ilm_commit before ilm_destroy()Marcus Fritzsch2014-08-121-0/+1
| | | | Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
* Suppoting only ivi-application to get ivi_surface, not supporting wl_shell.Nobuhiko Tanibata2014-03-043-43/+12
| | | | | | | | -The ivi-application protocol is sufficient for ivi style shell. -Removing layer creation. This means creating a Layer and add surface of MockNavigation to the layer by e.g. LayerManagerControl to visible it. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* Add link_directories to find wayland-client library.Nobuhiko Tanibata2014-02-101-0/+5
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* fixed pkg_config integration in cmake build systemTimo Lotterbach2014-02-051-0/+7
| | | | | | | - library directories were missing - include paths were not always correct Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
* added ivi-extension-protocol libraryTimo Lotterbach2014-01-311-44/+49
| | | | | | | | | | | | | | | | this library takes care to generate header and source files from XML files. All generated files are now stored in the build directory. ilmCommon and weston-ivi-shell now just use the new library and don't care about code generation any more. In addition, a lot of duplicated code compilation is removed, resulting in faster builds. This patch also fixes an issue, that file generation was done every time a build was started. This resulted in full rebuilds all the time. Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
* removed obsolete code and build scriptsTimo Lotterbach2014-01-3124-2047/+4
| | | | | | | | | - removed LayerSceneDescriptionExample - removed LayerManagerUtils - removed config project - updated build system Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
* replaced wayland/weston findmodules with pkgconfig dependency handlingTimo Lotterbach2014-01-311-9/+9
| | | | Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
* ivi-layermanagement-examples: Add LayerManagerControl to cmake of examplesNobuhiko Tanibata2014-01-081-0/+1
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* ivi-layermanagement-examples: Add LayerManagerControl for examplesNobuhiko Tanibata2014-01-0818-0/+7123
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* Cmake: Modification build files to compile ivi-layermanagement-examplesNobuhiko Tanibata2013-11-271-0/+27
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* Examples: Add LayerSceneDescriptionExample as examplesNobuhiko Tanibata2013-11-274-0/+244
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
* LayerManagerUtils: Add LayerManagerUtils as examplesNobuhiko Tanibata2013-11-2717-0/+2205
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>