profile/ivi/layer-management.git
10 years agoInitial support for Wayland 1.3. 34/13334/1
Ossama Othman [Tue, 3 Dec 2013 18:50:45 +0000 (10:50 -0800)]
Initial support for Wayland 1.3.

These changes are intended to get the layer management service to
build against Wayland 1.3.  The port is not yet complete, however.
Areas that need work are marked with a "@todo Port to Wayland 1.3"
comment.

Change-Id: I8e00ee901854dde216540fd0272b5378bc47131b
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoAdd Tizen 3.0 packaging 58/12958/3 accepted/tizen/20131127.212414 submit/tizen/20131127.010129
Rusty Lynch [Tue, 26 Nov 2013 23:26:56 +0000 (15:26 -0800)]
Add Tizen 3.0 packaging

Change-Id: I54f62cd259d70d781fe61e993969069174f94b7f
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
11 years agoLayerManagement: updated release notes for V 1.2 upstream 1_2 gemini_release upstream/1.2.0
Timo Lotterbach [Mon, 7 Oct 2013 12:47:37 +0000 (14:47 +0200)]
LayerManagement: updated release notes for V 1.2

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoLayerManager: Added support for DirectFB
Marek Pikarski [Tue, 1 Oct 2013 07:47:16 +0000 (09:47 +0200)]
LayerManager: Added support for DirectFB

Added support for DirectFB which can now be selected as target (default=NO).
Adjusted LayerManager.spec.in to include new LM libraries built with DirectFB.

Signed-off-by: Marek Pikarski <mass@directfb.org>
11 years agoGraphicLib: Added DirectFB support
Marek Pikarski [Tue, 1 Oct 2013 07:45:14 +0000 (09:45 +0200)]
GraphicLib: Added DirectFB support

Added LM DirectFB subsystem library to supported targets for building.

Signed-off-by: Marek Pikarski <mass@directfb.org>
11 years agomodules: Added helper for cmake to find DirectFB
Marek Pikarski [Tue, 1 Oct 2013 07:42:42 +0000 (09:42 +0200)]
modules: Added helper for cmake to find DirectFB

Added helper for cmake to find all LIBS/INCLUDES as needed to build LM with DirectFB support.

Signed-off-by: Marek Pikarski <mass@directfb.org>
11 years agoExample: Added EGL application example running with DirectFB
Marek Pikarski [Tue, 1 Oct 2013 07:40:30 +0000 (09:40 +0200)]
Example: Added EGL application example running with DirectFB

Added an EGL example application which directly renders into a DIrectFB surface.

Signed-off-by: Marek Pikarski <mass@directfb.org>
11 years agoWindowSystems: Added support for DirectFB
Marek Pikarski [Tue, 1 Oct 2013 07:38:23 +0000 (09:38 +0200)]
WindowSystems: Added support for DirectFB

Added DirectFB window system which manages all windows/surfaces as used by LM running on DirectFB.

Signed-off-by: Marek Pikarski <mass@directfb.org>
11 years agoGraphicSystems: Added support for DirectFB
Marek Pikarski [Tue, 1 Oct 2013 07:36:45 +0000 (09:36 +0200)]
GraphicSystems: Added support for DirectFB

Added the DirectFB graphics system which renders into DirectFB surfaces.
It can deal with both HW/SW layers.

Signed-off-by: Marek Pikarski <mass@directfb.org>
11 years agoPlatformSurfaces: Added DirectFB/EGL platform surfaces
Marek Pikarski [Tue, 1 Oct 2013 07:34:46 +0000 (09:34 +0200)]
PlatformSurfaces: Added DirectFB/EGL platform surfaces

Added support for DirectFB/EGL surfaces as used on the DirectFB platform.

Signed-off-by: Marek Pikarski <mass@directfb.org>
11 years agoTextureBinders: Added binders for DirectFB/EGL images
Marek Pikarski [Tue, 1 Oct 2013 07:30:20 +0000 (09:30 +0200)]
TextureBinders: Added binders for DirectFB/EGL images

Added support for EGL/Surface data as used with DirectFB.

Signed-off-by: Marek Pikarski <mass@directfb.org>
11 years agoRenderers: Added DFBRenderer
Marek Pikarski [Tue, 1 Oct 2013 07:26:24 +0000 (09:26 +0200)]
Renderers: Added DFBRenderer

Added a new renderer plugin which implements compositing on DirectFB backend.
It runs with either DFBGraphicSystem or GLESGraphicSystem.

Signed-off-by: Marek Pikarski <mass@directfb.org>
11 years agoilmClient: generate & install pkg-config file for ilmClient
Lukasz Juszkiewicz [Mon, 1 Jul 2013 14:48:36 +0000 (16:48 +0200)]
ilmClient: generate & install pkg-config file for ilmClient

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoCMake: update wayland find module for 64bit targets 1_1 1_1_rc
Timo Lotterbach [Fri, 12 Jul 2013 06:48:53 +0000 (08:48 +0200)]
CMake: update wayland find module for 64bit targets

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoScreenDump: WindowSystems: add screenId in doScreenShot function
Eugen Friedrich [Wed, 3 Jul 2013 14:26:24 +0000 (16:26 +0200)]
ScreenDump: WindowSystems: add screenId in doScreenShot function

ScreenId is important if window system supports more than one screen
so the requested screen could be dumped.

Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
11 years agoScreenDump: Renderers: add screenId in doScreenShot function
Eugen Friedrich [Wed, 3 Jul 2013 14:25:50 +0000 (16:25 +0200)]
ScreenDump: Renderers: add screenId in doScreenShot function

ScreenId is used to perform dump of the requested screen
this is especially required if the renderes supports more than one screen

Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
11 years agoScreenDump: check for valid screenId and set screenId for layer
Eugen Friedrich [Wed, 3 Jul 2013 11:53:53 +0000 (13:53 +0200)]
ScreenDump: check for valid screenId and set screenId for layer

If rendering plug-in supports several screens we cannot assume
only screen 0 as valid screenId.
Also if the layer is assigned to some screen, containing screenId
should be set.
One layer could also be assigned to more than one
screen at the same time, in this case only the last screenId is set

Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
11 years agoScreenDump: add screenId parameter to doScreenShot function in the IRenderer.h
Eugen Friedrich [Wed, 3 Jul 2013 12:20:20 +0000 (14:20 +0200)]
ScreenDump: add screenId parameter to doScreenShot function in the IRenderer.h

If the rendering plug-in supports several screens the screenId
should be provided to the graphical system so the requested
screen could be dumped.
To achieve this we have to change the IRenderer interface class
and all of the derived class.

Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
11 years agoWayland: fixed build of Wayland Renderers caused by Health Monitoring API change
Timo Lotterbach [Wed, 3 Jul 2013 10:24:36 +0000 (12:24 +0200)]
Wayland: fixed build of Wayland Renderers caused by Health Monitoring API change

Health monitoring is updated to detect thread dead-lock by incrementing
thread internal counters. The health monitoring API of Plugins was modified
to request the internal iteration counter value.

This allows the health monitor to check, if the plugin is still working.

This patch enables the build, but does not implement iteration counter
handling in Wayland-based Renderers.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
11 years agoTcpIpcModule: fixed several C90 compiler warnings
Timo Lotterbach [Mon, 17 Jun 2013 08:33:24 +0000 (10:33 +0200)]
TcpIpcModule: fixed several C90 compiler warnings

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
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>