profile/ivi/layer-management.git
11 years agoTextRenderer: updated health monitoring support
Timo Lotterbach [Wed, 3 Jul 2013 14:11:36 +0000 (16:11 +0200)]
TextRenderer: updated health monitoring support

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoGenericComunicator: fixed unit test build
Timo Lotterbach [Wed, 3 Jul 2013 14:11:29 +0000 (16:11 +0200)]
GenericComunicator: fixed unit test build

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoX11EglImage: fixed error logging
Timo Lotterbach [Wed, 3 Jul 2013 14:11:22 +0000 (16:11 +0200)]
X11EglImage: fixed error logging

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoHealth: added thread dead-lock detection
Timo Lotterbach [Wed, 3 Jul 2013 14:11:14 +0000 (16:11 +0200)]
Health: added thread dead-lock detection

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagement: fixed issues detected by valgrind
Timo Lotterbach [Wed, 3 Jul 2013 14:11:06 +0000 (16:11 +0200)]
LayerManagement: fixed issues detected by valgrind

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoX11WindowSystem: Fixing parameter assignment
Michael Schuldt [Wed, 3 Jul 2013 14:10:59 +0000 (16:10 +0200)]
X11WindowSystem: Fixing parameter assignment

- the surface parameter should be directly assigned after
  the surface is available.

- it does not care if the client buffer is already available
  for the assignement.

- Fixes a timing issue if a resize is triggered directly after
  a surface creation

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoGLESGraphicSystem: Forcing calculation of TargetDestination
Michael Schuldt [Wed, 3 Jul 2013 14:10:50 +0000 (16:10 +0200)]
GLESGraphicSystem: Forcing calculation of TargetDestination

- calculate the target destination in each composition cyle
  to be safe that textur coordinates are fitting well.

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoilmControl: added client API for synchronized surfaces
Michael Schuldt [Fri, 5 Jul 2013 10:38:26 +0000 (12:38 +0200)]
ilmControl: added client API for synchronized surfaces

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoGenericCommunicator: added handling of synchronized surfaces commands
Michael Schuldt [Fri, 5 Jul 2013 10:38:04 +0000 (12:38 +0200)]
GenericCommunicator: added handling of synchronized surfaces commands

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoGLESGraphicSystem: added handling of synchronized surfaces
Michael Schuldt [Fri, 5 Jul 2013 10:37:38 +0000 (12:37 +0200)]
GLESGraphicSystem: added handling of synchronized surfaces

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoX11WindowSystem: added handling of synchronized surfaces
Michael Schuldt [Fri, 5 Jul 2013 10:36:40 +0000 (12:36 +0200)]
X11WindowSystem: added handling of synchronized surfaces

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoLayerManagerBase: added property 'synchronized' to scene object
Michael Schuldt [Fri, 5 Jul 2013 10:34:26 +0000 (12:34 +0200)]
LayerManagerBase: added property 'synchronized' to scene object

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoLayerManagerCommands: added RemoveSynchronizedsurface command
Michael Schuldt [Fri, 5 Jul 2013 10:32:45 +0000 (12:32 +0200)]
LayerManagerCommands: added RemoveSynchronizedsurface command

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoLayerManagerCommands: added SetSynchronizedsurface command
Michael Schuldt [Fri, 5 Jul 2013 10:32:20 +0000 (12:32 +0200)]
LayerManagerCommands: added SetSynchronizedsurface command

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoDbusIpcModule: fixed introspection and configuration
Michael Schuldt [Wed, 3 Jul 2013 14:10:17 +0000 (16:10 +0200)]
DbusIpcModule: fixed introspection and configuration

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoX11WindowSystem: improved surface resize handling
Michael Schuldt [Tue, 26 Mar 2013 10:16:41 +0000 (03:16 -0700)]
X11WindowSystem: improved surface resize handling

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoX11WindowSystem: Introducing skip of DamageEvents for resized surfaces
Michael Schuldt [Mon, 25 Mar 2013 14:16:15 +0000 (15:16 +0100)]
X11WindowSystem: Introducing skip of DamageEvents for resized surfaces

- If a surfaces is resized, we got invalid content, this causes
  flickering on the composition side.

- To guarantee that a system will not flicker during resize, an new
   mechanism is added for surfaces which causes a synchronized composition.

- It is only considered if the surface is set to synchronized

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agobuild: Allow to set CMAKE_CXX_FLAGS from outside 1_0_1
Michael Schuldt [Wed, 10 Apr 2013 08:09:07 +0000 (10:09 +0200)]
build: Allow to set CMAKE_CXX_FLAGS from outside

- due to the plugin refactoring, the CMAKE_CXX_FLAGS handling was changed too.
- currently it is not possible to set additional CMAKE_CXX_FLAGS from outside
- this patch fixes that issue

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoLayerManagement: fixed style warnings triggered by style script update 1_0 foton_release
Timo Lotterbach [Wed, 27 Mar 2013 11:56:39 +0000 (12:56 +0100)]
LayerManagement: fixed style warnings triggered by style script update

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCheck-style scripts: fixes
Timo Lotterbach [Wed, 27 Mar 2013 11:46:33 +0000 (12:46 +0100)]
Check-style scripts: fixes

-check license can now handle different license
-solved a lot of limitations for check indentation and single definitions on line
-solved some small bugs (did not introduce any new positives or negatives)

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoX11EGLImage : Fixing memory leak
Michael Schuldt [Fri, 7 Dec 2012 12:29:51 +0000 (14:29 +0200)]
X11EGLImage : Fixing memory leak

- the compostion pixmap handle was not store internal
- this causes a memory leak on surface destroy
- this is now fixed.

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoLayerManagerBase: fixed portability issue in plugin loading 1_0_rc2
Timo Lotterbach [Mon, 18 Mar 2013 13:31:55 +0000 (14:31 +0100)]
LayerManagerBase: fixed portability issue in plugin loading

on some platforms the type of directy entries always returns DT_UNKNOWN,
this makes it impossible to make a distinction between files and directories.
The plugin searching routing was updated to not rely on the directory
entry type information, it just tries to load each entry found.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmCommon: renamed ilm_client_platform.h to ilm_platform.h
Timo Lotterbach [Mon, 18 Mar 2013 09:01:37 +0000 (10:01 +0100)]
ilmCommon: renamed ilm_client_platform.h to ilm_platform.h

- ilm_client_platform.h was renamed to ilm_platform.h, because it refers
  to all existing client APIs, not only ilm_client.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: build system fixes
Timo Lotterbach [Tue, 19 Mar 2013 11:02:56 +0000 (12:02 +0100)]
CMake: build system fixes

- usage of SORT() was updated
- references to Graphic lib was removed
- added missing header files to install target
- removed debug log in build system
- included ilmControl in default build
- improved ilmCommon install settings
- fixed module search path handling

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoDoc: updated specification version, report errors during PDF creation
Timo Lotterbach [Fri, 15 Mar 2013 09:15:49 +0000 (10:15 +0100)]
Doc: updated specification version, report errors during PDF creation

all output has been suppressed previously, but errors should be visible to
user to detect script problems.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagement: fixed several warnings raised by cppcheck
Timo Lotterbach [Fri, 15 Mar 2013 15:17:32 +0000 (16:17 +0100)]
LayerManagement: fixed several warnings raised by cppcheck

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: added 'make cppcheck' build target and WITH_CPPCHECK build flag
Timo Lotterbach [Fri, 15 Mar 2013 15:07:49 +0000 (16:07 +0100)]
CMake: added 'make cppcheck' build target and WITH_CPPCHECK build flag

- support for 'make cppcheck' to run configured tests
- enable WITH_CPPCHECK to run cppcheck for each compiled file

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: fixed memory leak
Timo Lotterbach [Fri, 15 Mar 2013 13:27:14 +0000 (14:27 +0100)]
LayerManagerControl: fixed memory leak

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agodoc: updated release notes for 1.0 release 1_0_rc
Timo Lotterbach [Thu, 14 Mar 2013 10:34:54 +0000 (03:34 -0700)]
doc: updated release notes for 1.0 release

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agodoc: updated documentation (incomplete)
Timo Lotterbach [Thu, 17 Jan 2013 11:12:23 +0000 (03:12 -0800)]
doc: updated documentation (incomplete)

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agodoc: updated example toolchain files to match current set of build flags
Timo Lotterbach [Thu, 14 Mar 2013 12:01:59 +0000 (05:01 -0700)]
doc: updated example toolchain files to match current set of build flags

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: added WITH_DOCUMENTATION build flag
Timo Lotterbach [Thu, 14 Mar 2013 11:34:09 +0000 (04:34 -0700)]
CMake: added WITH_DOCUMENTATION build flag

using the build flag WITH_DOCUMENTATION the generation of the
specification document can be enabled during LayerManagement builds.
this is useful for cross-checking the documentation during code updates.

a make target 'doc' is generated, so calling 'make doc' results in
generation of the specification PDF.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: added WITH_STYLE_CHECKING build flag
Timo Lotterbach [Thu, 28 Feb 2013 15:25:47 +0000 (07:25 -0800)]
CMake: added WITH_STYLE_CHECKING build flag

enabling this flags results in execution of all code styleguide checks
during the build.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: cleaned build of IpcModules
Timo Lotterbach [Thu, 14 Mar 2013 12:01:33 +0000 (05:01 -0700)]
CMake: cleaned build of IpcModules

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: fixed compiler settings inheritance
Timo Lotterbach [Tue, 12 Mar 2013 08:17:55 +0000 (01:17 -0700)]
CMake: fixed compiler settings inheritance

test should not inherit the compiler setup from their related projects,
since unit tests with gtest/gmock will result in a lot of warnings,
if the related project uses strict compiler settings.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: removed empty unit test file in TcpIpcModule
Timo Lotterbach [Mon, 11 Mar 2013 11:02:40 +0000 (04:02 -0700)]
CMake: removed empty unit test file in TcpIpcModule

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: do not install unit test binaries for LayerManagerBase
Timo Lotterbach [Mon, 11 Mar 2013 11:02:17 +0000 (04:02 -0700)]
CMake: do not install unit test binaries for LayerManagerBase

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: fixed build, if only GenericCommunicator is build
Timo Lotterbach [Thu, 7 Mar 2013 11:39:19 +0000 (03:39 -0800)]
CMake: fixed build, if only GenericCommunicator is build

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagement: fixed warnings detected by style guide check scripts
Timo Lotterbach [Fri, 1 Mar 2013 09:42:46 +0000 (01:42 -0800)]
LayerManagement: fixed warnings detected by style guide check scripts

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoAdded python scripts to check code style
Timo Lotterbach [Thu, 28 Feb 2013 12:49:40 +0000 (04:49 -0800)]
Added python scripts to check code style

- check header guards
- check license header in source files
- check only spaces, no tabs
- check line length
- check indentation
- check single statement on same line
- check single definition on line
- check curly braces on separate line
- check consistent whitespace usage
- check for unneccessary empty lines

Each script takes the list of files to check as arguments.
All scripts print a help message if no argument is provided.

Scripts will print all warnings in a gcc-style format, so
default error and warning parsers will detect them.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmControl: removed deprecated function ilm_createLayer()
Timo Lotterbach [Fri, 8 Mar 2013 13:47:39 +0000 (05:47 -0800)]
ilmControl: removed deprecated function ilm_createLayer()

was replaced with ilm_createLayerWithDimension()

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoExamples: updated according to ilmClient split
Timo Lotterbach [Fri, 8 Mar 2013 13:29:01 +0000 (05:29 -0800)]
Examples: updated according to ilmClient split

since out client applications should run stand-alone (without
a controlling instance like a HMI), all client use the ilm_control
API to be abled to add themselves to the scene.

Typical automotive cleint applications should NOT use ilm_control
and rely on ilm_client API only.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: updated according to ilmClient split
Timo Lotterbach [Fri, 8 Mar 2013 13:28:14 +0000 (05:28 -0800)]
LayerManagerControl: updated according to ilmClient split

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmClient: split into ilmCommon, ilmClient, ilmControl
Timo Lotterbach [Fri, 8 Mar 2013 13:27:32 +0000 (05:27 -0800)]
ilmClient: split into ilmCommon, ilmClient, ilmControl

- ilmCommon includes lifecycle, threading, communication
- ilmClient includes API for default clients
- ilmControl includes API for master applications, that control the scene

Unit tests have moved from ilmClient to ilmControl.
Only ilmControl has access to all scene information and can check,
if client commands have been executed successfully.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoGraphic: moved ViewportTransform unit test to LayerMangerBase/tests
Timo Lotterbach [Tue, 12 Mar 2013 12:25:23 +0000 (05:25 -0700)]
Graphic: moved ViewportTransform unit test to LayerMangerBase/tests

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerBase: moved Plugin Loading Macros to IPlugin
Timo Lotterbach [Fri, 22 Feb 2013 10:09:32 +0000 (02:09 -0800)]
LayerManagerBase: moved Plugin Loading Macros to IPlugin

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerCommands: log screen/layer/surface IDs in decimal and hex
Timo Lotterbach [Mon, 11 Mar 2013 15:07:16 +0000 (08:07 -0700)]
LayerManagerCommands: log screen/layer/surface IDs in decimal and hex

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmClient: replaced POSIX message queue with custom queue implementation
Timo Lotterbach [Thu, 28 Feb 2013 13:03:20 +0000 (05:03 -0800)]
ilmClient: replaced POSIX message queue with custom queue implementation

the use of POSIX message queues in the ilmClient library had some side
effects on platforms other than Linux. Because of this, a small thread-
safe queue was implemented for thread synchronization in the ilmClient.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerBase: fixed unit tests
Timo Lotterbach [Mon, 11 Mar 2013 15:55:38 +0000 (08:55 -0700)]
LayerManagerBase: fixed unit tests

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoDbusIpcModule: fixed destroy() return value
Timo Lotterbach [Tue, 12 Mar 2013 12:10:53 +0000 (05:10 -0700)]
DbusIpcModule: fixed destroy() return value

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoGLESGraphicSystem: release shader resources on destruction
Timo Lotterbach [Mon, 11 Mar 2013 14:54:33 +0000 (07:54 -0700)]
GLESGraphicSystem: release shader resources on destruction

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoX11GLESRenderer: release Graphicsystem and WindowSystem on shutdown
Timo Lotterbach [Mon, 11 Mar 2013 14:55:08 +0000 (07:55 -0700)]
X11GLESRenderer: release Graphicsystem and WindowSystem on shutdown

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agodoc: fixed specification document PDF generation
Timo Lotterbach [Thu, 14 Mar 2013 11:35:06 +0000 (04:35 -0700)]
doc: fixed specification document PDF generation

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerCommands: fixed array handling
Timo Lotterbach [Thu, 21 Feb 2013 12:07:54 +0000 (04:07 -0800)]
LayerManagerCommands: fixed array handling

The array in commands must not be deleted, before the object is destroyed,
otherwise getString() will work on deleted data.

Some commands did not release the array data, resulting in a memory leak.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: fixed handling error in ILM calls
Timo Lotterbach [Thu, 28 Feb 2013 13:26:38 +0000 (05:26 -0800)]
LayerManagerControl: fixed handling error in ILM calls

LayerManagerControl used to ignore a lot of return values from ilmClient
library. This is fixed now.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmClient: fixed all client functions to return correct error code
Timo Lotterbach [Thu, 7 Feb 2013 14:30:17 +0000 (06:30 -0800)]
ilmClient: fixed all client functions to return correct error code

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoWaylandDrmWindowSysmte: Unset UseFrameTimer flag
Nobuhiko Tanibata [Tue, 15 Jan 2013 03:04:01 +0000 (12:04 +0900)]
WaylandDrmWindowSysmte: Unset UseFrameTimer flag

DRM backend can trigger a repaint by page flip but doesn't require a timer.

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoWaylandBaseWindowSystem: Add finishFrame and repaint scheduling
Nobuhiko Tanibata [Tue, 15 Jan 2013 03:00:09 +0000 (12:00 +0900)]
WaylandBaseWindowSystem: Add finishFrame and repaint scheduling

- Adds implementation of BaseWindowSystem::finishFrame.
- Modify the schedule of a repaint from client commit to timer event: 10ms except drm backend. DRM backend is triggered by page flip not by timer.

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoDrmGLESGraphicSystem: Improves the repaint efficiency in DRM backend.
Nobuhiko Tanibata [Fri, 11 Jan 2013 07:31:26 +0000 (16:31 +0900)]
DrmGLESGraphicSystem: Improves the repaint efficiency in DRM backend.

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoBaseWindowSystem: Add finishFrame
Nobuhiko Tanibata [Fri, 11 Jan 2013 07:21:07 +0000 (16:21 +0900)]
BaseWindowSystem: Add finishFrame

- Add finishFrame() method, interface which notifies the demand of repaint to WindowSystem from GraphicSystem.

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoLayerManagerUtils: fixed unit test build to use unit test configuration
Timo Lotterbach [Mon, 4 Feb 2013 14:00:11 +0000 (06:00 -0800)]
LayerManagerUtils: fixed unit test build to use unit test configuration

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerBase: fixed unit test build to use unit test configuration
Timo Lotterbach [Mon, 4 Feb 2013 13:55:54 +0000 (05:55 -0800)]
LayerManagerBase: fixed unit test build to use unit test configuration

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoDbusCommunicatorTest: fixed unit test build to use unit test configuration
Timo Lotterbach [Mon, 4 Feb 2013 13:46:47 +0000 (05:46 -0800)]
DbusCommunicatorTest: fixed unit test build to use unit test configuration

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmClient_Test: fixed unit test build to use unit test configuration
Timo Lotterbach [Mon, 4 Feb 2013 13:44:09 +0000 (05:44 -0800)]
ilmClient_Test: fixed unit test build to use unit test configuration

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: added compiler flags documentation
Timo Lotterbach [Tue, 5 Feb 2013 10:50:24 +0000 (02:50 -0800)]
CMake: added compiler flags documentation

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoIpcModuleLoader: was moved to LayerManagerUtils, dependencies have been updated
Timo Lotterbach [Mon, 4 Feb 2013 12:37:01 +0000 (04:37 -0800)]
IpcModuleLoader: was moved to LayerManagerUtils, dependencies have been updated

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoTextRenderer: provide default screen to scene
Timo Lotterbach [Tue, 22 Jan 2013 09:31:08 +0000 (01:31 -0800)]
TextRenderer: provide default screen to scene

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: added support for optional expressions in commands
Timo Lotterbach [Mon, 21 Jan 2013 11:45:41 +0000 (03:45 -0800)]
LayerManagerControl: added support for optional expressions in commands

optional commands are defined using "[...]" syntax., while variables
are defined using "<...>" syntax.

varibles now additionally may have default values using this syntax:
"get screen <screenid=0>".

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmClient: added test case for ilm_layerSetRenderOrder
Timo Lotterbach [Mon, 21 Jan 2013 12:17:13 +0000 (04:17 -0800)]
ilmClient: added test case for ilm_layerSetRenderOrder

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmClient: added test for ilm_displaySetRenderOrder
Timo Lotterbach [Mon, 21 Jan 2013 12:17:03 +0000 (04:17 -0800)]
ilmClient: added test for ilm_displaySetRenderOrder

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmClient: fix for ilm_getPropertiesOfScreen if screen was not found
Timo Lotterbach [Fri, 18 Jan 2013 12:08:28 +0000 (04:08 -0800)]
ilmClient: fix for ilm_getPropertiesOfScreen if screen was not found

if the scene does not contain the requested screen, the screenProperties
structure is now initialized to save values.

LayerManagerControl now correctly evaluates the return value of
ilm_getPropertiesOfScreen and prints "screen not found" instead of
crashing.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoMaintenenace: fix several compiler warnings in C code
Timo Lotterbach [Fri, 18 Jan 2013 11:45:09 +0000 (03:45 -0800)]
Maintenenace: fix several compiler warnings in C code

Due to incorrect handling of C source files, the typical compiler warning
settings had not been applied to C code, but instead only to C++ code.

After fixing the build system setting, this patch fixed most of the
compiler warnings in C code.

other fixes:
- GLXApplicationExample: fixed compiler warnings
- CMake: fixed several compiler warnings
- LayerManagerBase: fix compiler warning
- LayerManagerUtils: suppress DLT macro related warnings, if DLT is enabled
- TextureBinders: fixed compiler warning

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerBase: moved ScreenTest.cpp from LayerManagerService to LayerManagerbase
Timo Lotterbach [Tue, 15 Jan 2013 12:27:52 +0000 (04:27 -0800)]
LayerManagerBase: moved ScreenTest.cpp from LayerManagerService to LayerManagerbase

Component was split up, but this unit test was not moved to new location.
Becuase of this, the unit tests in ScreenTest were effectively disabled
(not build).

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: updated compiler settings
Timo Lotterbach [Tue, 15 Jan 2013 11:45:02 +0000 (03:45 -0800)]
CMake: updated compiler settings

expected compiler settings have been overwritten in several components,
so no project specific compiler flags have been used during build.
This resulted e.g. in linker errors on 64bit platforms which require
the -fPIC flag for successful builds.

new compiler flag presets have been added for 3rdParty and Test code.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoWaylandEvdevInputEvent: Fix segfault
Nobuhiko Tanibata [Fri, 11 Jan 2013 07:00:47 +0000 (16:00 +0900)]
WaylandEvdevInputEvent: Fix segfault

Bugfix: Segfault occurred on LayerManagerService when input device open failed.

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoWaylandX11GLESRenderer: Fix build error
Nobuhiko Tanibata [Fri, 11 Jan 2013 11:55:34 +0000 (20:55 +0900)]
WaylandX11GLESRenderer: Fix build error

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoWaylandFbdevGLESRenderer: Fix build error
Nobuhiko Tanibata [Fri, 11 Jan 2013 11:54:56 +0000 (20:54 +0900)]
WaylandFbdevGLESRenderer: Fix build error

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoWaylandDrmGLESRenderer: Fix build error
Nobuhiko Tanibata [Fri, 11 Jan 2013 11:53:53 +0000 (20:53 +0900)]
WaylandDrmGLESRenderer: Fix build error

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoGraphicLib WaylandFbdevGLESv2: fix typo
Nobuhiko Tanibata [Fri, 11 Jan 2013 11:52:10 +0000 (20:52 +0900)]
GraphicLib WaylandFbdevGLESv2: fix typo

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoEGLWLInputEventExample: Remove including a internal dependency
Nobuhiko Tanibata [Fri, 11 Jan 2013 11:48:40 +0000 (20:48 +0900)]
EGLWLInputEventExample: Remove including a internal dependency

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoC-Code: fixed compiler warnings in C Code
Timo Lotterbach [Fri, 11 Jan 2013 13:00:30 +0000 (05:00 -0800)]
C-Code: fixed compiler warnings in C Code

accidentally the compiler warnings settings have not been used during
the build of C files (*.c).

After enabling the warnings settings for C-Code, a fair amount of warnings
have been found. This fix removed these warnings.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoScreenSetRenderOrderCommand: fix handling of empty render order
Timo Lotterbach [Fri, 11 Jan 2013 12:53:16 +0000 (04:53 -0800)]
ScreenSetRenderOrderCommand: fix handling of empty render order

setting an empty render order wored, but execution result was set to failed.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: fixed scatter to accept lowercase letters input
Timo Lotterbach [Fri, 11 Jan 2013 12:47:35 +0000 (04:47 -0800)]
LayerManagerControl: fixed scatter to accept lowercase letters input

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: added support for GetPropertiesOfScreen
Timo Lotterbach [Thu, 10 Jan 2013 11:32:59 +0000 (03:32 -0800)]
LayerManagerControl: added support for GetPropertiesOfScreen

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoGenericCommunicator: added support for GetPropertiesOfScreen
Timo Lotterbach [Thu, 10 Jan 2013 11:36:37 +0000 (03:36 -0800)]
GenericCommunicator: added support for GetPropertiesOfScreen

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmClient: added support for GetPropertiesOfScreen
Timo Lotterbach [Thu, 10 Jan 2013 11:33:16 +0000 (03:33 -0800)]
ilmClient: added support for GetPropertiesOfScreen

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagement: removed support for layergroup and surfacegroup
Timo Lotterbach [Thu, 10 Jan 2013 11:13:10 +0000 (03:13 -0800)]
LayerManagement: removed support for layergroup and surfacegroup

the group feature has not been used by any known project and within GENIVI
it was agreed to remove it.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: fixed issue for some QNX platforms
Timo Lotterbach [Thu, 10 Jan 2013 11:00:15 +0000 (03:00 -0800)]
LayerManagerControl: fixed issue for some QNX platforms

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: fixed compiler flags for 64 bit linux builds
Timo Lotterbach [Wed, 9 Jan 2013 09:12:54 +0000 (01:12 -0800)]
CMake: fixed compiler flags for 64 bit linux builds

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: config project now additionally check configuration for validity
Timo Lotterbach [Fri, 4 Jan 2013 12:59:11 +0000 (04:59 -0800)]
CMake: config project now additionally check configuration for validity

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: using LIBRARY_BUILDMODE for libraries responding to WITH_STATIC_LIBRARIES
Timo Lotterbach [Fri, 4 Jan 2013 12:01:17 +0000 (04:01 -0800)]
CMake: using LIBRARY_BUILDMODE for libraries responding to WITH_STATIC_LIBRARIES

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: use project_type(PLUGIN) to create list of statically linked plugins
Timo Lotterbach [Fri, 4 Jan 2013 11:59:32 +0000 (03:59 -0800)]
CMake: use project_type(PLUGIN) to create list of statically linked plugins

plugins only have to define 'PLUGIN' as type to support static linking
into LayerManagerService binary.

this removed a lot of repetitive cmake code for each plugin.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: added autogeneration of build flags in config.h header file
Timo Lotterbach [Thu, 3 Jan 2013 14:14:05 +0000 (06:14 -0800)]
CMake: added autogeneration of build flags in config.h header file

now all build flags are automatically exported to the auto_generated
config.h file.

Note: config.h is no created in two passes:
1. pass: #cmakedefine macros are created for each build flag
2. pass: #cmakedefine macros are evaluated

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: replaced build_flag() macro to create list of build flags
Timo Lotterbach [Fri, 4 Jan 2013 10:39:34 +0000 (02:39 -0800)]
CMake: replaced build_flag() macro to create list of build flags

internally the flags are set with option, but additionally a list of
build flags is created.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: refactored main CMakeLists.txt
Timo Lotterbach [Thu, 3 Jan 2013 10:01:52 +0000 (02:01 -0800)]
CMake: refactored main CMakeLists.txt

main focus in this refactoring is maintainability

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: added project_type to each component
Timo Lotterbach [Thu, 3 Jan 2013 09:44:51 +0000 (01:44 -0800)]
CMake: added project_type to each component

the project_type is currently used to set the compiler flags
for based on the type of the component.

this information can be extended for type specific build behaviour.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: moved default compiler settings to DefaultSettings.txt
Timo Lotterbach [Thu, 3 Jan 2013 09:24:08 +0000 (01:24 -0800)]
CMake: moved default compiler settings to DefaultSettings.txt

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: moved DefaultSettings to separate file
Timo Lotterbach [Thu, 3 Jan 2013 09:19:17 +0000 (01:19 -0800)]
CMake: moved DefaultSettings to separate file

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: build WaylandDrmGLESRenderer independently
Timo Lotterbach [Wed, 2 Jan 2013 15:52:45 +0000 (07:52 -0800)]
CMake: build WaylandDrmGLESRenderer independently

this renderer can now be built independently of all other renderers.
this allows building multiple renderers at once.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: build WaylandFbdevGLESRenderer independently
Timo Lotterbach [Wed, 2 Jan 2013 15:44:02 +0000 (07:44 -0800)]
CMake: build WaylandFbdevGLESRenderer independently

this renderer can now be built independently of all other renderers.
this allows building multiple renderers at once.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>