profile/ivi/layer-management.git
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>
11 years agoCMake: build WaylandX11GLESRenderer independently
Timo Lotterbach [Wed, 2 Jan 2013 15:37:34 +0000 (07:37 -0800)]
CMake: build WaylandX11GLESRenderer 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: improved build of LayerManagerGraphicWaylandFbdevGLESv2
Timo Lotterbach [Wed, 2 Jan 2013 14:16:50 +0000 (06:16 -0800)]
CMake: improved build of LayerManagerGraphicWaylandFbdevGLESv2

this graphic development lib is now a dedicated component that
can be build independently of other graphic development libs.
this component contains no source code, it uses BaseRenderer and
graphic component source code.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: improved build of LayerManagerGraphicWaylandDrmGLESv2
Timo Lotterbach [Wed, 2 Jan 2013 14:16:03 +0000 (06:16 -0800)]
CMake: improved build of LayerManagerGraphicWaylandDrmGLESv2

this graphic development lib is now a dedicated component that
can be build independently of other graphic development libs.
this component contains no source code, it uses BaseRenderer and
graphic component source code.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: improved build of LayerManagerGraphicWaylandX11GLESv2
Timo Lotterbach [Wed, 2 Jan 2013 14:05:59 +0000 (06:05 -0800)]
CMake: improved build of LayerManagerGraphicWaylandX11GLESv2

this graphic development lib is now a dedicated component that
can be build independently of other graphic development libs.
this component contains no source code, it uses BaseRenderer and
graphic component source code.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: fixed install target of GLXRenderer
Timo Lotterbach [Thu, 3 Jan 2013 10:31:25 +0000 (02:31 -0800)]
CMake: fixed install target of GLXRenderer

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: improved build of LayerManagerGraphicGLX
Timo Lotterbach [Wed, 2 Jan 2013 13:45:20 +0000 (05:45 -0800)]
CMake: improved build of LayerManagerGraphicGLX

this graphic development lib is now a dedicated component that
can be build independently of other graphic development libs.
this component contains no source code, it uses BaseRenderer and
graphic component source code.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: improved build of LayerManagerGraphicGLESv2
Timo Lotterbach [Wed, 2 Jan 2013 13:44:33 +0000 (05:44 -0800)]
CMake: improved build of LayerManagerGraphicGLESv2

this graphic development lib is now a dedicated component that
can be build independently of other graphic development libs.
this component contains no source code, it uses BaseRenderer and
graphic component source code.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: improved dependency handling using add_subdirectory_once macro
Timo Lotterbach [Wed, 2 Jan 2013 12:59:21 +0000 (04:59 -0800)]
CMake: improved dependency handling using add_subdirectory_once macro

each component now just builds all components it dependes on using
the custom macro 'add_subdirectory_once'.

During the first call, add_subdirectory_once will add the subdirectory
to the current build. all subsequent calls are silently ignored.
This solves the basic problem of double definition of components which
result in cmake errors.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: removed Wayland Vivante Renderer reference
Timo Lotterbach [Wed, 2 Jan 2013 12:34:03 +0000 (04:34 -0800)]
CMake: removed Wayland Vivante Renderer reference

Vivante Renderer never was integrated because of an incompatible license.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoGenericCommunicator: improved logging of ServiceConnect/Disconnect
Timo Lotterbach [Thu, 20 Dec 2012 11:09:56 +0000 (03:09 -0800)]
GenericCommunicator: improved logging of ServiceConnect/Disconnect

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoTcpIpcModule: fixed compiler error in host resolution
Timo Lotterbach [Wed, 19 Dec 2012 14:15:10 +0000 (06:15 -0800)]
TcpIpcModule: fixed compiler error in host resolution

due to updated compiler settings (-c99) a the struct hostent has
slightly changed, member h_addr not available any more.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoGLXRenderer: updated to new IPlugin interface
Timo Lotterbach [Wed, 19 Dec 2012 13:36:04 +0000 (05:36 -0800)]
GLXRenderer: updated to new IPlugin interface

GLXRenderer is now based on the updated IPlugin interface
to support static linking.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagement: fixed warnings in C code
Timo Lotterbach [Wed, 19 Dec 2012 08:02:06 +0000 (00:02 -0800)]
LayerManagement: fixed warnings in C code

The build system was fixed to apply the global compiler settings
also to C-compiler calls.

This raised several warnings in the C code parts.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmClient: fixed memory leak in notification delivery
Timo Lotterbach [Mon, 17 Dec 2012 14:01:33 +0000 (06:01 -0800)]
ilmClient: fixed memory leak in notification delivery

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerBase: moved library to separate directory
Timo Lotterbach [Wed, 12 Dec 2012 13:31:47 +0000 (05:31 -0800)]
LayerManagerBase: moved library to separate directory

LayerManagerBase library contains all base functionality of
LayerManagement like Scene, GraphicalObjects.

All improtant interfaces are defined by this package.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmClient: removed ilm_surfaceInvalidateRectangle
Timo Lotterbach [Wed, 12 Dec 2012 13:07:45 +0000 (05:07 -0800)]
ilmClient: removed ilm_surfaceInvalidateRectangle

this function was never implemented and after being deprecated
it is now removed completely.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: moved out of examples directory
Timo Lotterbach [Wed, 12 Dec 2012 13:03:32 +0000 (05:03 -0800)]
LayerManagerControl: moved out of examples directory

LayerManagerControl was promoted to be the default control tool
for LayerManagement. In order to have it included in as many
installations as possible, it was moved out of the examples package,
because examples will not be installed on many (embedded) targets.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoWaylandGLESRenderer: updated to new IPlugin interface
Timo Lotterbach [Tue, 11 Dec 2012 12:31:08 +0000 (04:31 -0800)]
WaylandGLESRenderer: updated to new IPlugin interface

WalyandGLESRenderer is now based on the updated IPlugin interface
to support static linking.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoTextRenderer: updated to new IPlugin interface
Timo Lotterbach [Tue, 11 Dec 2012 12:04:25 +0000 (04:04 -0800)]
TextRenderer: updated to new IPlugin interface

TextRenderer is now based on the updated IPlugin interface
to support static linking.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoExampleSceneProvider: refactored cmake configuration
Timo Lotterbach [Fri, 30 Nov 2012 12:45:31 +0000 (04:45 -0800)]
ExampleSceneProvider: refactored cmake configuration

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoGenericCommunicator: refactored cmake configuration
Timo Lotterbach [Fri, 30 Nov 2012 12:07:14 +0000 (04:07 -0800)]
GenericCommunicator: refactored cmake configuration

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoX11GLESRenderer: refactored cmake configuration
Timo Lotterbach [Fri, 30 Nov 2012 12:02:48 +0000 (04:02 -0800)]
X11GLESRenderer: refactored cmake configuration

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoSystemdHealthMonitor: refactored cmake configuration
Timo Lotterbach [Fri, 30 Nov 2012 12:02:24 +0000 (04:02 -0800)]
SystemdHealthMonitor: refactored cmake configuration

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerService: added support for full static build of LayerManagerService
Timo Lotterbach [Wed, 28 Nov 2012 15:59:26 +0000 (07:59 -0800)]
LayerManagerService: added support for full static build of LayerManagerService

the build flag WITH_STATIC_LIBRARIES can be enabled to build all libraries and
plugins statically and link them directly to the LayerManagerService
binary.

Additionally searching for dynamically loaded plugins is disabled
to provide improved startup performance.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerService: divided into LayerManagerBase and LayerManagerService
Timo Lotterbach [Fri, 30 Nov 2012 12:52:52 +0000 (04:52 -0800)]
LayerManagerService: divided into LayerManagerBase and LayerManagerService

LayerManagerBase is a static library containing the whole LayerManager
base implementation, e.g. Scene, PluginLoading, ...
This allows other components to directly link to this implementation
(e.g. unit tests)

LayerManagerService contains only the main.cpp file and links to
LayerManagerBase library.

Additionally, some component dependencies have been improved.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoExampleSceneProvider: updated to new IPlugin interface
Timo Lotterbach [Wed, 28 Nov 2012 10:55:45 +0000 (02:55 -0800)]
ExampleSceneProvider: updated to new IPlugin interface

ExampleSceneProvider is now based on the updated IPlugin interface
to support static linking.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoSystemdHealthMonitor: updated to new IPlugin interface
Timo Lotterbach [Wed, 28 Nov 2012 10:55:07 +0000 (02:55 -0800)]
SystemdHealthMonitor: updated to new IPlugin interface

SystemdHealthMonitor is now based on the updated IPlugin interface
to support static linking.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoX11GLESRenderer: updated to new IPlugin interface
Timo Lotterbach [Wed, 28 Nov 2012 10:52:51 +0000 (02:52 -0800)]
X11GLESRenderer: updated to new IPlugin interface

X11GLESRenderer is now based on the updated IPlugin interface
to support static linking.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoGenericCommunicator: updated to new IPlugin interface
Timo Lotterbach [Wed, 28 Nov 2012 10:49:36 +0000 (02:49 -0800)]
GenericCommunicator: updated to new IPlugin interface

GenericCommuncator is now based on the updated IPlugin interface
to support static linking.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerService: removed plugin management functions from ICommandExecutor
Timo Lotterbach [Wed, 28 Nov 2012 10:27:21 +0000 (02:27 -0800)]
LayerManagerService: removed plugin management functions from ICommandExecutor

Plugins are now handled by the PluginManager within Layermanager, so
there's no need for the external interface to add or remove different
kind of plugins to the ICommandExecutor.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerService: updated PluginManager to load IPlugins
Timo Lotterbach [Wed, 28 Nov 2012 10:24:51 +0000 (02:24 -0800)]
LayerManagerService: updated PluginManager to load IPlugins

the plugin discovery was updated to recursively scan the whole plugin
directory. Every file in this directory is tested, if it is a valid
LayerManagement plugin. If a plugin is valid, it is instantiated.

The type and API version of the plugin can be validated afterwards.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerService: updated IPlugin, PluginBase
Timo Lotterbach [Wed, 28 Nov 2012 10:15:25 +0000 (02:15 -0800)]
LayerManagerService: updated IPlugin, PluginBase

all plugins are now required to provide their API type and version
as well as their name.

This allows loading all plugins using the same mechanism and detect
their type during runtime. The API version can be used to make sure,
that the LayerManagerService supports this verison of the plugin API.

The name of the plugin is used for logging.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerPlugins: introduced WITH_STATIC_PLUGINS to statically link plugins
Timo Lotterbach [Wed, 28 Nov 2012 10:08:04 +0000 (02:08 -0800)]
LayerManagerPlugins: introduced WITH_STATIC_PLUGINS to statically link plugins

the build system was enhanced to create a list of
statically linked plungins. All plugins in this list are statically linked
against LayerManagerService.

To enable this option, the build flag WITH_STATIC_PLUGINS was added.

Plugins supporting this features must add themselves to the list of
statically linked plugins based on the setting of WITH_STATIC_PLUGINS.

additionally the macro DECLARE_LAYERMANAGEMENT_PLUGIN was added to
simplify the definition of a plugin entry point for loading.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerService: fixed broken build of unit tests
Timo Lotterbach [Wed, 28 Nov 2012 11:39:52 +0000 (03:39 -0800)]
LayerManagerService: fixed broken build of unit tests

PluginManager class was added to LayerManagerService, but it was
not included in LayerManagerService_Test, resulting in an linker error.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerExamples: moved LayerSceneDescriptionExample to plugin directory
Timo Lotterbach [Mon, 26 Nov 2012 14:11:31 +0000 (06:11 -0800)]
LayerManagerExamples: moved LayerSceneDescriptionExample to plugin directory

LayerSceneDescriptionExample was moved to
LayerManagerPlugins/SceneProvider/ExampleSceneProvider

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerService: moved Systemd health monitor to health plugin
Timo Lotterbach [Mon, 26 Nov 2012 13:50:07 +0000 (05:50 -0800)]
LayerManagerService: moved Systemd health monitor to health plugin

the systemd integration was moved to an optional plugins.
this way LayerManagerService has no dependencies on systemd.

health monitoring plugins implement the interface IHealthMonitor.
Currently there's only one avialable that uses systemd watchdog to
report health status to the system.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerService: HealthSystemd now uses ThreadBase for monitoring thread
Timo Lotterbach [Mon, 26 Nov 2012 12:10:41 +0000 (04:10 -0800)]
LayerManagerService: HealthSystemd now uses ThreadBase for monitoring thread

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerService: removed obsolete #include directives
Timo Lotterbach [Mon, 26 Nov 2012 11:09:12 +0000 (03:09 -0800)]
LayerManagerService: removed obsolete #include directives

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerService: added waitForShutdownSignal() in SignalHandler and main.cpp
Timo Lotterbach [Mon, 14 Jan 2013 08:34:07 +0000 (00:34 -0800)]
LayerManagerService: added waitForShutdownSignal() in SignalHandler and main.cpp

The SignalHandler now has a blocking call to wait for program termination.
It internally blocks, until a signal is received that results in a shutdown.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoGenericCommunicator: now using ThreadBase as receive thread
Timo Lotterbach [Mon, 26 Nov 2012 10:55:43 +0000 (02:55 -0800)]
GenericCommunicator: now using ThreadBase as receive thread

GenericCommunicator now uses an internal thread to receive incoming
messages. It is not running in main thread anymore.

This allows having multiple Communicators at once.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerUtils: added ThreadBase class
Timo Lotterbach [Mon, 26 Nov 2012 10:29:32 +0000 (02:29 -0800)]
LayerManagerUtils: added ThreadBase class

added convenience class to simplyfy thread management by encapsulating
all thread handling in a base class.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoTextRenderer: added text renderer for debugging
Timo Lotterbach [Wed, 12 Dec 2012 13:40:17 +0000 (05:40 -0800)]
TextRenderer: added text renderer for debugging

the text  renderer does not provide any graphical representation of
the LayerManagement scene.

all calls to this renderer are logged, but no further processing
takes place.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmClient: updated implementation to be thread safe
Timo Lotterbach [Mon, 10 Dec 2012 09:45:28 +0000 (01:45 -0800)]
ilmClient: updated implementation to be thread safe

each command contains a critical region, that is protected by a mutex.
within that critical section, a command is sent and the corresponding
response is received.

The critical section enforces a transaction of a thread is completed,
before the next transaction by any thread can be processed.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerService: added support for client specific command queues
Timo Lotterbach [Tue, 4 Dec 2012 13:04:18 +0000 (05:04 -0800)]
LayerManagerService: added support for client specific command queues

all asynchronous commands get enqueued and are executed by the client
using the commit command.
Now there is a separate command queue for each connected client and a client
can only commit commands, that have been sent by this client.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerCommands: fixed logging inside CommitCommand
Timo Lotterbach [Fri, 30 Nov 2012 14:41:26 +0000 (06:41 -0800)]
LayerManagerCommands: fixed logging inside CommitCommand

CommitCommand printed itself as creator of each executed command.
Error state was logged wrong after one command failed.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerToolBox: removed component
Timo Lotterbach [Thu, 29 Nov 2012 14:08:33 +0000 (06:08 -0800)]
LayerManagerToolBox: removed component

LayerManagerToolBox was replaced by LayerManagerControl, which is easier
to extend. All feature of LayerManagerToolBox are now available in
LayerManagerControl.

The README file was updated to point users to LayerManagerControl, instead
of LayerManagerToolBox.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoNullWindowSystem: removed component
Timo Lotterbach [Thu, 29 Nov 2012 13:54:08 +0000 (05:54 -0800)]
NullWindowSystem: removed component

NullWindowSystem was not maintained any more, because it was not used.
This patch removes it.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoBeagleRenderer: removed component
Timo Lotterbach [Thu, 29 Nov 2012 13:48:45 +0000 (05:48 -0800)]
BeagleRenderer: removed component

this component is not maintained any more, because TI Beagle board
can use default GLES Renderer with current GPU driver releases.

this was not possible with older driver versions.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerSceneDescriptionExample: Adapt new getCurrentRenderOrder
Nobuhiko Tanibata [Wed, 9 Jan 2013 04:43:08 +0000 (13:43 +0900)]
LayerSceneDescriptionExample: Adapt new getCurrentRenderOrder

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoLayerManagerService Tests: Adapt new getCurrentRenderOrder
Nobuhiko Tanibata [Wed, 9 Jan 2013 04:42:19 +0000 (13:42 +0900)]
LayerManagerService Tests: Adapt new getCurrentRenderOrder

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoLayerManagerService InputManager: Adapt new getCurrentRenderOrder
Nobuhiko Tanibata [Wed, 9 Jan 2013 04:39:51 +0000 (13:39 +0900)]
LayerManagerService InputManager: Adapt new getCurrentRenderOrder

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoWindowSystems: Adapt new getCurrentRenderOrder
Nobuhiko Tanibata [Wed, 9 Jan 2013 04:31:41 +0000 (13:31 +0900)]
WindowSystems: Adapt new getCurrentRenderOrder

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoWaylandDrmWindowSystem: Modify for multi screen
Nobuhiko Tanibata [Fri, 21 Dec 2012 04:25:09 +0000 (13:25 +0900)]
WaylandDrmWindowSystem: Modify for multi screen

WaylandBaseWindowSystem
  Add virtual definition because of overriding.

WaylandDrmWindowSystem
  Add controlling multiple screens

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoDrmGLESGraphicSystem: Modify for multi screen
Nobuhiko Tanibata [Fri, 21 Dec 2012 04:51:08 +0000 (13:51 +0900)]
DrmGLESGraphicSystem: Modify for multi screen

BaseGraphicSystem
  Add two functions for multi screen which are switchScreen() and updateScreenList()
  switchScreen() is for switching screen devices.
  updateScreenList() is for updating LmScreenList.

DrmGLESGraphicSystem
  Add implementation of switchScreen() and updateScreenList()
  modify controlling multi screen devices

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoGenericCommunicator: Add screenID to command in SetRenderOrderOfLayers
Nobuhiko Tanibata [Mon, 17 Dec 2012 07:54:40 +0000 (16:54 +0900)]
GenericCommunicator: Add screenID to command in SetRenderOrderOfLayers

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoLayerManagerCommand: Add screenID of argument to ScreenSetRenderOrderCommand
Nobuhiko Tanibata [Wed, 9 Jan 2013 02:13:20 +0000 (11:13 +0900)]
LayerManagerCommand: Add screenID of argument to ScreenSetRenderOrderCommand

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoLayerManagerService tests: add test for Screen
Nobuhiko Tanibata [Fri, 21 Dec 2012 02:29:45 +0000 (11:29 +0900)]
LayerManagerService tests: add test for Screen

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoX11GLESRenderer: create LmScreen and push it to ScreenList of Scene
Nobuhiko Tanibata [Fri, 21 Dec 2012 02:25:08 +0000 (11:25 +0900)]
X11GLESRenderer: create LmScreen and push it to ScreenList of Scene

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoWaylandGLESRenderer: create LmScreen and push it to ScreenList of Scene
Nobuhiko Tanibata [Fri, 21 Dec 2012 02:23:39 +0000 (11:23 +0900)]
WaylandGLESRenderer: create LmScreen and push it to ScreenList of Scene

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoX11GLXRenderer: create LmScreen and push it to ScreenList of Scene
Nobuhiko Tanibata [Fri, 21 Dec 2012 02:11:46 +0000 (11:11 +0900)]
X11GLXRenderer: create LmScreen and push it to ScreenList of Scene

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoLayerManagerService Layer: add LmScreenID to Layer
Nobuhiko Tanibata [Fri, 21 Dec 2012 01:57:43 +0000 (10:57 +0900)]
LayerManagerService Layer: add LmScreenID to Layer

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoLayerManagerService Scene: Add controlling LmScreen
Nobuhiko Tanibata [Wed, 9 Jan 2013 01:43:09 +0000 (10:43 +0900)]
LayerManagerService Scene: Add controlling LmScreen

-Add interface: getCurrentRenderOrder by screenID
-Remove LayerList for layerRenderOrder from Scene and add it to LmScreen

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoLayerManagerService: Add LmScreen class
Nobuhiko Tanibata [Wed, 9 Jan 2013 01:56:56 +0000 (10:56 +0900)]
LayerManagerService: Add LmScreen class

-LmScreen is a control class for controlling LayerRenderOrder

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoX11GLXRenderer: added get/setOptimizationMode()
Timo Lotterbach [Wed, 19 Dec 2012 08:17:00 +0000 (00:17 -0800)]
X11GLXRenderer: added get/setOptimizationMode()

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagement: updated release notes for release 0.9.9 ivi-layer-management_version_0_9_9
Timo Lotterbach [Thu, 29 Nov 2012 09:53:05 +0000 (01:53 -0800)]
LayerManagement: updated release notes for release 0.9.9

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoDocumentation: updated doxygen documentation
Timo Lotterbach [Thu, 29 Nov 2012 09:09:46 +0000 (01:09 -0800)]
Documentation: updated doxygen documentation

- minor improvements in reference document files
- added missing API documentation

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoDocumentation: updated Doxygen configuration file for new doxygen version
Timo Lotterbach [Thu, 29 Nov 2012 09:08:10 +0000 (01:08 -0800)]
Documentation: updated Doxygen configuration file for new doxygen version

this was done automatically by 'doxygen -u' command.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: improved printing of surface properties
Timo Lotterbach [Thu, 29 Nov 2012 09:57:42 +0000 (01:57 -0800)]
LayerManagerControl: improved printing of surface properties

surface properties did not include the process id of the application
that created it.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerService: fixed linker error in unit tests
Timo Lotterbach [Thu, 29 Nov 2012 08:26:00 +0000 (00:26 -0800)]
LayerManagerService: fixed linker error in unit tests

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: added feature "import scene" and "export scene" ivi-layer-management_version_0_9_9_rc
Timo Lotterbach [Thu, 22 Nov 2012 12:18:11 +0000 (13:18 +0100)]
LayerManagerControl: added feature "import scene" and "export scene"

Export scene can be used to write the a (rendered) scene to a file.
Current implementation supports a custom format in .txt files, can
be extended to xml, json or any other custom format.
Import scene can be used to read and restore a scene from a file.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: added feature "demo"
Timo Lotterbach [Thu, 22 Nov 2012 12:17:40 +0000 (13:17 +0100)]
LayerManagerControl: added feature "demo"

"demo" is used to run a number of effects on the rendered scene.
Currently demo modes 0 to 4 are available.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: added features "scatter" and "scatter all"
Timo Lotterbach [Thu, 22 Nov 2012 12:17:05 +0000 (13:17 +0100)]
LayerManagerControl: added features "scatter" and "scatter all"

"scatter" displays all rendered surfaces into a grid

"scatter all" displays all existing surfaces (even unrendered surfaces) into a grid

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: added feature "analyze surface"
Timo Lotterbach [Thu, 22 Nov 2012 12:16:20 +0000 (13:16 +0100)]
LayerManagerControl: added feature "analyze surface"

If a surface is not seen despite being expectedly visible, "analyze surface"
can be used to run a set of tests on the surface to find the possible reasons.
A checklist with the results of the tests is printed after that

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: added utility functions for upcoming features
Timo Lotterbach [Thu, 22 Nov 2012 12:14:51 +0000 (13:14 +0100)]
LayerManagerControl: added utility functions for upcoming features

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: refactored helper.cpp to feature specific implementation files
Timo Lotterbach [Thu, 22 Nov 2012 12:07:08 +0000 (13:07 +0100)]
LayerManagerControl: refactored helper.cpp to feature specific implementation files

Each group of related and similar functions are grouped into a cpp file to maintain file and code organization

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerControl: moved feature implementations from commands.cpp to helper.cpp
Timo Lotterbach [Thu, 22 Nov 2012 09:36:05 +0000 (10:36 +0100)]
LayerManagerControl: moved feature implementations from commands.cpp to helper.cpp

in order to keep the commands.cpp file short and easy to extend,
the implementations of the existing features was moved to a
different file, which currently is helper.cpp.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerService: stacktraces only enabled, if system supports it
Timo Lotterbach [Thu, 22 Nov 2012 11:47:25 +0000 (03:47 -0800)]
LayerManagerService: stacktraces only enabled, if system supports it

the used backtrace functions used to print a stackdump on crashes
is not available on all platforms.

the build system now checks, if the system supports backtrace and
enables support if possible. Otherwise the stacktrace feature is disabled.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmClient: renamed BIT macro to resolve name collision
Timo Lotterbach [Wed, 21 Nov 2012 15:17:16 +0000 (07:17 -0800)]
ilmClient: renamed BIT macro to resolve name collision

the BIT(x) macro was also defined somwhere in wayland.
introduced ILM_ prefix to minimize risk of future collisions.

11 years agoWayland: removed compiler warnings
Timo Lotterbach [Wed, 21 Nov 2012 15:15:31 +0000 (07:15 -0800)]
Wayland: removed compiler warnings

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoEGLWLMockNavigation:Bugfix. correct protocol name from "tunneler" to "serverinfo"
Nobuhiko Tanibata [Wed, 21 Nov 2012 14:25:51 +0000 (23:25 +0900)]
EGLWLMockNavigation:Bugfix. correct protocol name from "tunneler" to "serverinfo"

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoWLChromakeyExample: update for wayland version 1.0.0
Nobuhiko Tanibata [Wed, 21 Nov 2012 14:21:05 +0000 (23:21 +0900)]
WLChromakeyExample: update for wayland version 1.0.0

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoEGLWLMockNavigation: update for wayland version 1.0.0
Nobuhiko Tanibata [Wed, 21 Nov 2012 14:13:22 +0000 (23:13 +0900)]
EGLWLMockNavigation: update for wayland version 1.0.0

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoEGLWLInputEventExample: update for wayland version 1.0.0
Nobuhiko Tanibata [Wed, 21 Nov 2012 14:11:45 +0000 (23:11 +0900)]
EGLWLInputEventExample: update for wayland version 1.0.0

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoEGLWLApplicationExample: Update for wayland version 1.0.0
Nobuhiko Tanibata [Wed, 21 Nov 2012 14:10:50 +0000 (23:10 +0900)]
EGLWLApplicationExample: Update for wayland version 1.0.0

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoWindowSystem : Added ARRAY_LENGTH for wayland version 1.0.0
Nobuhiko Tanibata [Wed, 21 Nov 2012 14:06:49 +0000 (23:06 +0900)]
WindowSystem : Added ARRAY_LENGTH for wayland version 1.0.0

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoWaylandBaseWindowSystem : Updating for wayland version 1.0.0
Nobuhiko Tanibata [Wed, 21 Nov 2012 14:04:57 +0000 (23:04 +0900)]
WaylandBaseWindowSystem : Updating for wayland version 1.0.0

Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
11 years agoLayerManagerUtils: added trace log level command line flag
Timo Lotterbach [Thu, 22 Nov 2012 08:38:01 +0000 (00:38 -0800)]
LayerManagerUtils: added trace log level command line flag

If DLT support is enabled using the build flag WITH_DLT, then
this command line flag controls the log level of DLT.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManagerService: moved plugin loading from main.cpp to dedicated class
Timo Lotterbach [Wed, 21 Nov 2012 12:55:17 +0000 (04:55 -0800)]
LayerManagerService: moved plugin loading from main.cpp to dedicated class

The implementation of plugin loading was moved from main.cpp
to the context of the new PluginManager class.

The PluginManager class encapsulates the complete plugin lifecycle. The Layermanager
now gets the list of plugins from the PluginManager.

The main.cpp size was reduced drastically.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoilmClient: Seperation of ilmClient and ilmControl
Michael Schuldt [Tue, 13 Nov 2012 13:20:18 +0000 (14:20 +0100)]
ilmClient: Seperation of ilmClient and ilmControl

- first seperation as ingroup definition for doxygen doku
- changed layermanagement version number
- added the new group to doxygen setup

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoGLESGraphicSystem: Fix compiler warning
Michael Schuldt [Wed, 21 Nov 2012 15:31:20 +0000 (16:31 +0100)]
GLESGraphicSystem: Fix compiler warning

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoGLESGraphicSystem: Chromakey support enabled.
Michael Schuldt [Mon, 12 Nov 2012 13:55:27 +0000 (14:55 +0100)]
GLESGraphicSystem: Chromakey support enabled.

- For both layer and surface Chromakey the multitexturing optimization
  is disabled

- Can Skip clear is working fine

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoLayerManagerControl: Adding detailed output on Optimization Mode
Michael Schuldt [Fri, 9 Nov 2012 14:40:33 +0000 (15:40 +0100)]
LayerManagerControl: Adding detailed output on Optimization Mode

- adding more informations on GetOptimization command.

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoGLESGraphicSystem: First Optimization is working.
Michael Schuldt [Fri, 9 Nov 2012 14:14:13 +0000 (15:14 +0100)]
GLESGraphicSystem: First Optimization is working.

- missing is currently LayerChromaKey support

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>
11 years agoilmClient: Fixing Serialization of Optimization Commands.
Michael Schuldt [Thu, 8 Nov 2012 13:26:05 +0000 (14:26 +0100)]
ilmClient: Fixing Serialization of Optimization Commands.

- Message Serialization for Set and GetOptimization Mode now
  corrected.

Signed-off-by: Michael Schuldt <michael.schuldt@bmw.de>