profile/ivi/layer-management.git
12 years agoWindowSystem: Forced composition should also redraw HW layers
Rahul Singhal [Fri, 22 Jun 2012 10:26:41 +0000 (15:56 +0530)]
WindowSystem: Forced composition should also redraw HW layers

12 years agoWaylandWindowSystems: Correct a previous overwritten method name change
Rahul Singhal [Tue, 12 Jun 2012 10:09:08 +0000 (15:39 +0530)]
WaylandWindowSystems: Correct a previous overwritten method name change

Change checkForNewSurface function name to checkForNewSurfaceNativeContent

This change was overwritten during the wayland window system
refactoring.

12 years agoX11GLESRenderer: fixed shader file search path
Timo Lotterbach [Fri, 6 Jul 2012 06:21:16 +0000 (23:21 -0700)]
X11GLESRenderer: fixed shader file search path

The renderer now uses the configuration flag CMAKE_INSTALL_PREFIX to
determine it's default shader search path.

12 years agoUpdate default plugin directory search path to match CMAKE_INSTALL_PREFIX
Frédéric Blain [Thu, 5 Jul 2012 15:11:59 +0000 (17:11 +0200)]
Update default plugin directory search path to match CMAKE_INSTALL_PREFIX

Currently default plugin directory is hard coded to /usr/lib in several places. This patch takes into consideration the installation directory specified with cmake.
IpcModuleLoader.cpp has also been slightly modified to avoid compiler warnings

12 years agoConfig: removed Log dependency from autogenerated config.h file
Timo Lotterbach [Thu, 5 Jul 2012 14:46:23 +0000 (07:46 -0700)]
Config: removed Log dependency from autogenerated config.h file

config.h now contains a string array with the build configuration,
that is logged by the LayerManagerService is required.
Additionally for each flag the log level is defined.

12 years agoGenericCommunicator: fixed crash during shutdown, if no ipcModule was loaded
Timo Lotterbach [Thu, 5 Jul 2012 09:51:26 +0000 (02:51 -0700)]
GenericCommunicator: fixed crash during shutdown, if no ipcModule was loaded

the GenericCommunicator always tried to destroy the ipcModule. this failed
and resulted in a crash, if no ipcModule was loaded during startup.

12 years agoClean type sharing between ilm types & internal types
Frédéric Blain [Thu, 28 Jun 2012 10:02:57 +0000 (12:02 +0200)]
Clean type sharing between ilm types & internal types

12 years agoilmClient types are used internally to LM, so let's include them by default
Frédéric Blain [Thu, 28 Jun 2012 08:48:10 +0000 (10:48 +0200)]
ilmClient types are used internally to LM, so let's include them by default

12 years agoDbusIpcModules: Fixes wrong message unreferencing
Michael Schuldt [Tue, 3 Jul 2012 12:53:46 +0000 (14:53 +0200)]
DbusIpcModules: Fixes wrong message unreferencing

- This fixes an issue inside of the send error method
- The wrong message was unreferenced

12 years agoGenericCommunicator: Fixing String allocation.
Michael Schuldt [Fri, 29 Jun 2012 11:57:32 +0000 (13:57 +0200)]
GenericCommunicator: Fixing String allocation.

- During the CreateShader call, a segmentation fault occurs
- String is now intialised correctly
- DBUSCommunicatorTest is up and running, one test is disabled, due
  to the lack of implementation in the new generic communication approach

12 years agoRelease : Release Notes updated ivi-layer-management_version_0_9_7_rc
Michael Schuldt [Thu, 28 Jun 2012 13:02:49 +0000 (15:02 +0200)]
Release : Release Notes updated

- Release Note updated.
- default version switched to 0.9.7.release_candiate

12 years agoDemo: Genivi Demo script update.
Michael Schuldt [Thu, 28 Jun 2012 11:35:42 +0000 (13:35 +0200)]
Demo: Genivi Demo script update.

- The demo script includes now start of the layer manager too.

12 years agoViewportTransform: Change order of texture coordinates
Rahul Singhal [Wed, 20 Jun 2012 10:52:34 +0000 (16:22 +0530)]
ViewportTransform: Change order of texture coordinates

Change order of texture coordinates returned by
transformRectangleToTextureCoordinates() to be consistent with the
rest of the code.

Before: {x1, x2, y1, y2}
Now: {x1, y1, x2, y2}

12 years agoGLESGraphicSystem: Simplify the vertex shader calculations
Rahul Singhal [Thu, 14 Jun 2012 09:08:27 +0000 (14:38 +0530)]
GLESGraphicSystem: Simplify the vertex shader calculations

The current vertex shader has complicated vertex/texture conversions
which change coordinate systems multiple times. Simplified the same.

This would also increase the vertex shader performance.

12 years agoViewportTransform: Fix precision loss
Rahul Singhal [Wed, 20 Jun 2012 10:33:34 +0000 (16:03 +0530)]
ViewportTransform: Fix precision loss

All the transform calculationis are being done with integers which
could lead to precision loss. Instead we should be using floats.

12 years agoViewportTransform: Simplify and fix bugs in applyLayerSource
Rahul Singhal [Tue, 19 Jun 2012 11:57:12 +0000 (17:27 +0530)]
ViewportTransform: Simplify and fix bugs in applyLayerSource

12 years agoX11WindowSystem: Fix swapinterval=1
Rahul Singhal [Mon, 25 Jun 2012 12:14:53 +0000 (17:44 +0530)]
X11WindowSystem: Fix swapinterval=1

Using a non-default visual results in a redirected pixmap for the
root window which does not respect VSYNC.

Also use default screen instead of hard-coded screen 0.

12 years agoLayerManagerCommands: Add SurfaceRemoveNativeContentCommand
Rahul Singhal [Mon, 25 Jun 2012 07:40:54 +0000 (13:10 +0530)]
LayerManagerCommands: Add SurfaceRemoveNativeContentCommand

Using this command a client can remove the native content associated
with a surface. This can be used if multiple windows need to be used
with the same surface.

TODO: The backend for wayland needs to be filled in.

12 years agoWindowSystems: Fix bugs in screenshot
Rahul Singhal [Tue, 12 Jun 2012 09:34:01 +0000 (15:04 +0530)]
WindowSystems: Fix bugs in screenshot

1. Clear needs to be done after graphics context has been activated.

2. Recent HW layer change made neccessary that m_damaged be set for
drawing in RedrawAllLayers() and hence broke display screenshot.
Fix that by drawing every layer in screenshot method itself.

Also removed redundant graphics context activate/release in
CheckRedrawAllLayers()

12 years agoRemove failing tests SceneTest.getSurfaceAt
Frédéric Blain [Thu, 28 Jun 2012 10:05:36 +0000 (12:05 +0200)]
Remove failing tests SceneTest.getSurfaceAt

12 years agoScene: Bugfix in createSurfaceGroup() / createLayerGroup()
Frédéric Blain [Tue, 26 Jun 2012 15:04:43 +0000 (17:04 +0200)]
Scene: Bugfix in createSurfaceGroup() / createLayerGroup()

12 years agoLayerManagerPlugins: Merge CopyGLES and EglImage to GLESTexture for WaylandPlugins
Nobuhiko Tanibata [Thu, 21 Jun 2012 03:03:45 +0000 (12:03 +0900)]
LayerManagerPlugins: Merge CopyGLES and EglImage to GLESTexture for WaylandPlugins

12 years agoLayerManagerPlugins: refinement of Wayland Plugins.
Nobuhiko Tanibata [Tue, 26 Jun 2012 09:53:15 +0000 (18:53 +0900)]
LayerManagerPlugins: refinement of Wayland Plugins.

- WindowSystems:

  - WaylandBaseWindowSystem:
    -support calculateSurfaceFps and calculateFps
    -change debug of information from INFO to DEBUG
    -improve deallocation method of wayland surface resources
    -add macro:WL_OMIT_CLEAR_GB to disable calling clearbackground
    -add macro:WL_LOG_DETAIL_TIMER to get detail performance value of wayland plutin
    -remove unnecesary codes
    -remove modifying m_damaged in Redraw()

  - WaylandDrmWindowSystem:
  - WaylandFbdevWindowsystem:
  - WaylandX11WindowSystem:
    -remove dependency on EGL. Because no all composition method are dependent on EGL.

- WaylandGLESRenderer:
  - remove dependency on EGL from init method.

12 years agoLayerManagement: VIVANTE GAL switch removed
Michael Schuldt [Mon, 25 Jun 2012 08:19:47 +0000 (10:19 +0200)]
LayerManagement: VIVANTE GAL switch removed

- VIVANTE GAL switch removed which was wrongly include  in
  commit LayerManagement: improved build system

12 years agoLayerManagerControl: implemented first version
Timo Lotterbach [Fri, 15 Jun 2012 13:09:09 +0000 (06:09 -0700)]
LayerManagerControl: implemented first version

- command line tool to debug and modify layermanager scene
- design goals:
-- adding new commands should be as easy as possible
-- command syntax should be human readable

12 years agoilmClient / GenericCommunicator: updated layer and surface properties
Timo Lotterbach [Fri, 15 Jun 2012 11:24:32 +0000 (04:24 -0700)]
ilmClient / GenericCommunicator: updated layer and surface properties

layer properties now additionally contain
- layer type

surface properties now additionally contain
- pixelformat
- native surface handle
- draw counter
- update counter

12 years agoLayerManagement: removed obsolete path references from build system
Timo Lotterbach [Fri, 15 Jun 2012 13:08:16 +0000 (06:08 -0700)]
LayerManagement: removed obsolete path references from build system

these paths have been changed in the project, but the build system
still had references to them. This resulted in some warnings during
build in some build environments.

12 years agoTcpIpcModule: added ipc module for tcp socket communication
Timo Lotterbach [Fri, 15 Jun 2012 13:15:14 +0000 (06:15 -0700)]
TcpIpcModule: added ipc module for tcp socket communication

- implemented in C
- depends on socket libraries
- implements low-level tcp socket communication
- unit tests prepared, but not implemented
- set environment variable LM_TCP_HOST to override IP address of LayerManagerService instance
- set environment variable LM_TCP_PORT to set TCP port for communication

12 years agoDBUSCommunicator: removed DBUS specific communciator
Timo Lotterbach [Tue, 27 Mar 2012 12:18:34 +0000 (14:18 +0200)]
DBUSCommunicator: removed DBUS specific communciator

DBUs Communication is now handled by GenericCommunicator using
the DBUSIpcModule.

12 years agoGenericCommunicator: added new LayerManager Communicator based on ipc modules
Timo Lotterbach [Fri, 15 Jun 2012 14:05:48 +0000 (07:05 -0700)]
GenericCommunicator: added new LayerManager Communicator based on ipc modules

- implemented in C++
- implements ICommunicator Interface
- communication technology independent
- loaded by LayerManagerService the same way as DBUSCommunicator
- uses IpcModules for communication
- uses IpcModuleLoader to load IpcModules
- implements messaging on LayerManagerService side

12 years agoilmClient: updated to use ipc modules via ipc module loader
Timo Lotterbach [Fri, 15 Jun 2012 12:57:05 +0000 (05:57 -0700)]
ilmClient: updated to use ipc modules via ipc module loader

- implemented in C
- same interface as previous version (ilm_client.h unchanged)
- communication technology independent
- uses IpcModules for communication
- uses IpcModuleLoader to load IpcModules
- implements messaging on client side
- remove old interface ICommunicatorClient, which was never used (not available in C)

12 years agoIpcModuleLoader: added ipc module loader library
Timo Lotterbach [Fri, 15 Jun 2012 13:58:45 +0000 (06:58 -0700)]
IpcModuleLoader: added ipc module loader library

- implemented in C
- common implementation to find, check and load IpcModules
- communication technology independent
- returns a struct of function pointers to use IpcModule

12 years agoDbusIpcModule: created DBUS ipc module
Timo Lotterbach [Fri, 15 Jun 2012 13:54:18 +0000 (06:54 -0700)]
DbusIpcModule: created DBUS ipc module

- implemented in C
- depends on dbus libraries
- implements low-level dbus communication
- implements dbus introspection

12 years agoAdd generic HW layer support
Rahul Singhal [Thu, 22 Mar 2012 10:12:08 +0000 (15:42 +0530)]
Add generic HW layer support

Add basic support & optimizations for HW layers. The function
renderHWLayer() will need to be extended to add vendor specific
implementations.

12 years agoMockNavigation: fixed default value for opacity
Timo Lotterbach [Thu, 31 May 2012 11:58:28 +0000 (13:58 +0200)]
MockNavigation: fixed default value for opacity

12 years agoLayerManagement: fixed issues detected by Coverity Scan
Timo Lotterbach [Thu, 31 May 2012 07:33:50 +0000 (09:33 +0200)]
LayerManagement: fixed issues detected by Coverity Scan

12 years agoLayerManagement: improved build system
Timo Lotterbach [Thu, 24 May 2012 11:42:23 +0000 (13:42 +0200)]
LayerManagement: improved build system

- WITH_DESKTOP, WITH_X11_GLES and WITH_WAYLAND_* can now be built in parallel
- LayerManagerUtils now include dlt libs, if WITH_DLT is enabled
- improved dependency tracking of options (WITH_DESKTOP enables WITH_GLX_LIB)
- unit test binary names now consistently and with _Test

12 years agoLayerManagerPlugins: drm backend for Wayland
Nobuhiko Tanibata [Wed, 23 May 2012 07:38:18 +0000 (16:38 +0900)]
LayerManagerPlugins: drm backend for Wayland

WindowSystems:
- Add WaylandDrmWindowSystem for drm backend of Wayland

GraphicSystems:
- Add DrmGLESGraphicSystem for drm backend of wayland
- This is child class of GLESGraphicSystem to add DRM special part

TextureBinders:
- Modify EglImage for Wayland

WaylandGLESRenderer:
- Add drm backend for Wayland

12 years agoDBUSCommunicator: Add clean up methods to remove messages filters
Michael Schuldt [Mon, 21 May 2012 07:49:23 +0000 (09:49 +0200)]
DBUSCommunicator: Add clean up methods to remove messages filters

- This fixes an issue running multi instances of the DBUSCommunicator
- Now the DBUSCommunicator Tests are running successfully

12 years agoBugFix: Correct return type for recently modified functions
Rahul Singhal [Fri, 4 May 2012 05:23:48 +0000 (10:53 +0530)]
BugFix: Correct return type for recently modified functions

This is needed to compile unit tests.

12 years agoLayerManagerService: removed warnings in unit tests
Timo Lotterbach [Tue, 22 May 2012 10:58:25 +0000 (12:58 +0200)]
LayerManagerService: removed warnings in unit tests

12 years agoGraphic: enabled and fixed build of unit tests for ViewportTransform class
Timo Lotterbach [Tue, 22 May 2012 10:09:00 +0000 (12:09 +0200)]
Graphic: enabled and fixed build of unit tests for ViewportTransform class

12 years agoEGLWLMockNavigation: added new features
Timo Lotterbach [Mon, 21 May 2012 10:48:00 +0000 (12:48 +0200)]
EGLWLMockNavigation: added new features

added new arguments:
-nosky      do not render sky, background transparent
-posx x     set surface x position on layer to x
-posy x     set surface y position on layer to x
-opacity x  set opacity of surface to x

12 years agoEGLX11MockNavigation: added new features
Timo Lotterbach [Wed, 16 May 2012 10:46:58 +0000 (12:46 +0200)]
EGLX11MockNavigation: added new features

added new arguments:
-nosky      do not render sky, background transparent
-posx x     set surface x position on layer to x
-posy x     set surface y position on layer to x
-opacity x  set opacity of surface to x

12 years agoLayerManagement: enabled "profiling" build setting for GCC
Timo Lotterbach [Thu, 10 May 2012 12:37:50 +0000 (14:37 +0200)]
LayerManagement: enabled "profiling" build setting for GCC

If LayerManagement is build on a GCC-based platform, an additional
build setting named 'profiling' is available.
Building with this setting results in intrumented versions.
The result can be used with gprof-based tools.

12 years agoLayerManagement: enabled "coverage" build setting for GCC
Timo Lotterbach [Thu, 10 May 2012 12:36:44 +0000 (14:36 +0200)]
LayerManagement: enabled "coverage" build setting for GCC

If LayerManagement is build on a GCC-based platform, an additional
build setting named 'coverage' is available.
Building with this setting results in intrumented versions.
The result can be used with gcov-based tools.

12 years agoX11WindowSystem: fixed memory management mismatch
Timo Lotterbach [Thu, 10 May 2012 11:14:29 +0000 (13:14 +0200)]
X11WindowSystem: fixed memory management mismatch

a member of type XVisualInfo was created with new() operator,
but was released with XFree() call which internally uses free().
XFree() was replaced with matching delete() operator calls.

12 years agoLayerManagerToolBox: removed function call with no effect
Timo Lotterbach [Thu, 10 May 2012 10:58:11 +0000 (12:58 +0200)]
LayerManagerToolBox: removed function call with no effect

std::string.substr(0) just creates a copy of a string.
This was not required in this context.

12 years agoGraphicSystems: fixed memory leaks
Timo Lotterbach [Thu, 10 May 2012 10:53:03 +0000 (12:53 +0200)]
GraphicSystems: fixed memory leaks

new var[] must be delete with delete[] operator.

12 years agoLayerManagerToolBox: fixed memory leak
Timo Lotterbach [Thu, 10 May 2012 10:52:14 +0000 (12:52 +0200)]
LayerManagerToolBox: fixed memory leak

12 years agoLayerManagement: fixed several compiler warnings
Timo Lotterbach [Wed, 9 May 2012 12:17:50 +0000 (14:17 +0200)]
LayerManagement: fixed several compiler warnings

fixed trivial compiler warnings without changing behaviour.
removed mostly unsed vars.

12 years agoLayerManagement: updated distfile to include new config directory
Timo Lotterbach [Tue, 8 May 2012 13:33:20 +0000 (15:33 +0200)]
LayerManagement: updated distfile to include new config directory

the auto generated config.h file was moved to a separate directory,
which was not included in distfile. This resulted in a broken auto-build.

12 years agoLayerManagement: auto-generated config.h was missing include guards
Timo Lotterbach [Tue, 8 May 2012 12:45:34 +0000 (14:45 +0200)]
LayerManagement: auto-generated config.h was missing include guards

introduced include guards in tample config.h.cmake

12 years agoilmClient: documentation fix
Timo Lotterbach [Tue, 8 May 2012 12:02:31 +0000 (14:02 +0200)]
ilmClient: documentation fix

Fixed documentation: ilmClient API calls return ILM_SUCCESS on success,
not ILM_TRUE.

12 years agoBuild: Adapted example toolchain file to new compile switches.
Michael Schuldt [Thu, 3 May 2012 14:45:46 +0000 (16:45 +0200)]
Build: Adapted example toolchain file to new compile switches.

12 years agoCMakeVersion : Introducing default version
Michael Schuldt [Thu, 3 May 2012 12:37:01 +0000 (14:37 +0200)]
CMakeVersion : Introducing default version

- If no git repository is available the git describe tags is not working
- Introducing fallback to switch to the package version
- The definition of ILM_VERSION is still working

12 years agoGeniviDemo.sh: Updating Example Start Script
Michael Schuldt [Thu, 3 May 2012 07:55:43 +0000 (09:55 +0200)]
GeniviDemo.sh: Updating Example Start Script

12 years agoLayerManagerCommands: return redraw only when absolutely required
Rahul Singhal [Mon, 9 Apr 2012 05:52:44 +0000 (11:22 +0530)]
LayerManagerCommands: return redraw only when absolutely required

This is a small optimization to cover a corner case where a client
may blindly keep setting the same property without changing its value
forcing a redundant composition.

Change-Id: Ie872b65c6fcbd2a2e17a9f883112c347860d90d1

12 years agoWindowSystem: Don't composite for every redraw request
Rahul Singhal [Fri, 6 Apr 2012 12:14:41 +0000 (17:44 +0530)]
WindowSystem: Don't composite for every redraw request

Previously composition was done for every redraw request. But this
is incorrect as a layer/surface not part of the current render order
may have sent that request.

Correcting this exposes two hidden bugs. When the render order is
modified, there is no way to compare it against the old render order.
Hence we need to force a complete composition. And updating uniforms
of a shader also needs to force a composition.

Change-Id: Ie255c85fda24f6f30504617f19b62a23d77bbea5

12 years agoWaylandWindowSystem: removing obselete files
Michael Schuldt [Thu, 3 May 2012 07:15:45 +0000 (09:15 +0200)]
WaylandWindowSystem: removing obselete files

12 years agoLayerManagerExamples: Mocknavigation removing tabs
Michael Schuldt [Thu, 3 May 2012 07:15:22 +0000 (09:15 +0200)]
LayerManagerExamples: Mocknavigation removing tabs

12 years agoilm_client: Bugfix: Return success if ilm client is already initialized
Michael Schuldt [Thu, 3 May 2012 07:14:35 +0000 (09:14 +0200)]
ilm_client: Bugfix: Return success if ilm client is already initialized

12 years agoLayerManagerService: Fix: Wrong Surface Iteration on Input Handling.
Michael Schuldt [Mon, 16 Apr 2012 13:31:09 +0000 (15:31 +0200)]
LayerManagerService: Fix: Wrong Surface Iteration on Input Handling.

- This fixes the traversing of the surface renderorder for input events
- Furthermore only surfaces with native content will be considered

12 years agoEGLWLMockNavigation: fix link script
Nobuhiko Tanibata [Tue, 27 Mar 2012 08:06:42 +0000 (17:06 +0900)]
EGLWLMockNavigation: fix link script

12 years agoEGLWLApplicationExample: fix link script
Nobuhiko Tanibata [Tue, 27 Mar 2012 08:05:32 +0000 (17:05 +0900)]
EGLWLApplicationExample: fix link script

12 years agoLayerManagerPlugins: X11 backend for Wayland
Nobuhiko Tanibata [Wed, 11 Apr 2012 07:21:54 +0000 (16:21 +0900)]
LayerManagerPlugins: X11 backend for Wayland

WindowSystems:
- Add WaylandBaseWindowSystem
- Add WaylandFbdevWindowSystem for fbdev backend of Wayland
- Add WaylandX11WindowSystem for X11 backend of Wayland

TextureBinders:
- Add EglImage for Wayland

WaylandGLESRenderer:
- Add X11 backend for Wayland

12 years agoGraphic: Fix: changing display notification between threads
Michael Schuldt [Thu, 12 Apr 2012 07:33:30 +0000 (09:33 +0200)]
Graphic: Fix: changing display notification between threads

- If the LayerManager will work on another display as zero, there was
  a bug during signal redraw event.
- Now the global display environment variable is taken too.

12 years agoGeneral: Updating LayerManagementVersion and Release Notes ivi-layer-management_version_0_9_6
Michael Schuldt [Wed, 28 Mar 2012 07:04:42 +0000 (10:04 +0300)]
General: Updating LayerManagementVersion and Release Notes

12 years agoconfig: Removing install location
Michael Schuldt [Wed, 28 Mar 2012 06:30:57 +0000 (09:30 +0300)]
config: Removing install location

- The config file should not be installed
  as development header file

12 years agoLayerManagerService: now starting communciator plugins after scene provider plugins
Timo Lotterbach [Tue, 27 Mar 2012 13:09:58 +0000 (15:09 +0200)]
LayerManagerService: now starting communciator plugins after scene provider plugins

as soon as the communicators are started, clients must be sure, that
the scene providers have been executed. Otherwise a client e.g. can't
safely rely on a layer to exist.

12 years agoconfig: created separate CMakeLists.txt file for project
Timo Lotterbach [Tue, 27 Mar 2012 12:28:40 +0000 (14:28 +0200)]
config: created separate CMakeLists.txt file for project

- Handles creation of config.h file with build configuration options.
  This reduces complexity of main CMakeLists.txt file.
- Internally moved config.h.cmake to res subfolder.

12 years agoconfig: adding config.h file to gitignore
Michael Schuldt [Fri, 23 Mar 2012 09:27:52 +0000 (10:27 +0100)]
config: adding config.h file to gitignore

12 years agoGraphic: Removes warning if WITH_INPUT is disabled
Michael Schuldt [Fri, 23 Mar 2012 09:27:30 +0000 (10:27 +0100)]
Graphic: Removes warning if WITH_INPUT is disabled

12 years agoLayerManagerCommands : Removes signed / unsigned mismatch
Michael Schuldt [Fri, 23 Mar 2012 09:26:54 +0000 (10:26 +0100)]
LayerManagerCommands : Removes signed / unsigned mismatch

12 years agoLayerManagerUtils: Removing warnings
Michael Schuldt [Fri, 23 Mar 2012 09:26:15 +0000 (10:26 +0100)]
LayerManagerUtils: Removing warnings

- removes a warning if DLT build is switched off

12 years agoX11WindowSystem: Bug fixes in map/unmap window functions
Rahul Singhal [Tue, 13 Mar 2012 11:26:19 +0000 (16:56 +0530)]
X11WindowSystem: Bug fixes in map/unmap window functions

1. Force surface update when its associated window is mapped/unmapped.
This prevent the surface from showing stale frame.

2. Only unmap a X platform surface if is currently mapped

12 years agoWindowSystems: Change checkForNewSurface function name to checkForNewSurfaceNativeContent
Rahul Singhal [Tue, 20 Mar 2012 07:11:49 +0000 (12:41 +0530)]
WindowSystems: Change checkForNewSurface function name to checkForNewSurfaceNativeContent

Since surface creation and the surface having associated native
content are now independent, this function now checks for a surface
having native content. Hence changed function name to reflect this
new behaviour.

Also removed extra setNativeContent() from NewWindow()

12 years agoTextureBinders: Correct usage for getNativeContent()
Rahul Singhal [Mon, 19 Mar 2012 09:28:38 +0000 (14:58 +0530)]
TextureBinders: Correct usage for getNativeContent()

getNativeContent() returns -1 and not 0 to indicate a failure.

12 years agoLayerManagerCommands: Multiple bug fixes
Rahul Singhal [Tue, 20 Mar 2012 09:07:45 +0000 (14:37 +0530)]
LayerManagerCommands: Multiple bug fixes

1. Return SuccessRedraw in ScreenSetRenderOrder for the case when new
order is empty, as we always clear the current render order
2. Don't return SuccessRedraw in ShaderCreateCommand &
SurfaceSetNativeContentCommand, as they are not changing screen content
3. Return Success when the new native content == old native content in
SurfaceSetNativeContentCommand

12 years agoLayerManagerCommands: Change LayerRemoveSurface filename to be consistent with other...
Rahul Singhal [Mon, 19 Mar 2012 12:19:47 +0000 (17:49 +0530)]
LayerManagerCommands: Change LayerRemoveSurface filename to be consistent with other commands

12 years agoGLESGraphicSystem: unbind surface texture after rendering surface
Rahul Singhal [Mon, 19 Mar 2012 12:13:52 +0000 (17:43 +0530)]
GLESGraphicSystem: unbind surface texture after rendering surface

12 years agoLayerManagement: updated .gitignore
Timo Lotterbach [Fri, 16 Mar 2012 09:01:14 +0000 (10:01 +0100)]
LayerManagement: updated .gitignore

12 years agoilmClient: fixes in unit tests
Timo Lotterbach [Fri, 16 Mar 2012 08:56:18 +0000 (09:56 +0100)]
ilmClient: fixes in unit tests

Some variables have not been initialized, which resulted in passed tests,
although the software under tests did not work.

12 years agoGLXApplicationExample: Adding missing include location
Michael Schuldt [Fri, 16 Mar 2012 12:47:42 +0000 (13:47 +0100)]
GLXApplicationExample: Adding missing include location

- Missing include location added for the config.h file

12 years agoGLXRenderer: Fix dependency to the new config file location
Michael Schuldt [Fri, 16 Mar 2012 12:46:49 +0000 (13:46 +0100)]
GLXRenderer: Fix dependency to the new config file location

- Removing config specific attributes in XWindowSystem.h file.
  No dependency of the build configuration is allowed in header
  files which are needed to link against a development library

12 years agoGraphic: Fixing wrong calculation of frame counter.
Michael Schuldt [Fri, 16 Mar 2012 09:58:55 +0000 (10:58 +0100)]
Graphic: Fixing wrong calculation of frame counter.

- This bug was introduced during add of additional informations
  for draw an update rate.

12 years agoGraphic: Bugfix Context has to be activated before beginLayer
Michael Schuldt [Thu, 23 Feb 2012 08:25:45 +0000 (09:25 +0100)]
Graphic: Bugfix Context has to be activated before beginLayer

12 years agoLayerManagerExamples: Bugfix fixing the dependencies
Michael Schuldt [Fri, 16 Mar 2012 08:11:33 +0000 (09:11 +0100)]
LayerManagerExamples: Bugfix fixing the dependencies

- In LayerManagerSceneDescription a missing dependicy
  to libLayerManagerCommands was added.

12 years agocmake modules: Bugfix correcting the check of the libraries
Michael Schuldt [Fri, 16 Mar 2012 08:10:06 +0000 (09:10 +0100)]
cmake modules: Bugfix correcting the check of the libraries

- During the configure of wayland libraries the path were not
  printed correctly

- Adding Wayland compile flags to main config file.

12 years agoWaylandGLESRenderer: Adding missing include dir
Michael Schuldt [Tue, 13 Mar 2012 09:59:22 +0000 (10:59 +0100)]
WaylandGLESRenderer: Adding missing include dir

12 years agoLayerManagerExamples: MockNavigation Example for Wayland plugins
Nobuhiko Tanibata [Mon, 12 Mar 2012 07:36:28 +0000 (16:36 +0900)]
LayerManagerExamples: MockNavigation Example for Wayland plugins

12 years agoLayerManagerExamples: Simple application Example for Wayland plugins
Nobuhiko Tanibata [Mon, 12 Mar 2012 07:34:32 +0000 (16:34 +0900)]
LayerManagerExamples: Simple application Example for Wayland plugins

12 years agoLayerManagerPlugins: The very first version of Wayland Plugin by GopyGLES
Nobuhiko Tanibata [Mon, 12 Mar 2012 07:31:57 +0000 (16:31 +0900)]
LayerManagerPlugins: The very first version of Wayland Plugin by GopyGLES

WindowSystems:
- Add Implementation of wayland compositor with fbdev backend "/dev/fb0"

TextureBinders:
- Add CopyGLES for Wayland

WaylandGLESRenderer:
- Add new SubModule, GLES renderer for wayland

12 years agoLayerManagerService: added support for symbolic links to plugins
Timo Lotterbach [Mon, 27 Feb 2012 09:37:30 +0000 (10:37 +0100)]
LayerManagerService: added support for symbolic links to plugins

On startup the LayerManagerService searches the plugin directories for
appropriate communicator, renderer and scene provider plugins.
During that searching, only real files were considered to be plugins,
now symbolic links are resolved and handled as expected.

12 years agoLayerManagerCommands: removed obsolete Commands
Timo Lotterbach [Tue, 14 Feb 2012 13:22:05 +0000 (14:22 +0100)]
LayerManagerCommands: removed obsolete Commands

removed LayergroupGet* and SurfacegroupGet* commands,
because their behaviour is undefined, if members of the
groups have different values for visibility or opacity.

12 years agoLayerManagerExamples: fixed path warning
Timo Lotterbach [Thu, 16 Feb 2012 13:26:02 +0000 (14:26 +0100)]
LayerManagerExamples: fixed path warning

Some example project so not have a include directory, but the build system
referred to it. This resulted in a warning.

12 years agoGraphicSystems : Adding log output on gl Error
Michael Schuldt [Mon, 5 Mar 2012 15:19:06 +0000 (17:19 +0200)]
GraphicSystems : Adding log output on gl Error

- During the surface renderloop the output of the glErrorCode
  was enabled.

- Some heavenly log outputs during debug mode were removed

12 years agoLayerManagerUtils: Refactoring of log class.
Michael Schuldt [Fri, 2 Mar 2012 12:18:17 +0000 (14:18 +0200)]
LayerManagerUtils: Refactoring of log class.

- The log. class should be independent from the used logging mechanism
- Therefore all dlt dependency where moved to Log class implementation file

12 years agoLayerManagerService: Moving config file to new location
Michael Schuldt [Fri, 2 Mar 2012 12:16:44 +0000 (14:16 +0200)]
LayerManagerService: Moving config file to new location

- The config file should be available at all sub modules
- Therefore it was moved to an own directory

12 years agoGraphic: Introducing additional performance Counter
Michael Schuldt [Tue, 28 Feb 2012 14:36:38 +0000 (15:36 +0100)]
Graphic: Introducing additional performance Counter

- This patch enables the tracking of the update rate for each surface
- This patch enables the tracking of the draw rate for each surface
- Furthermore additional frame per second calculation was introduced
  to display the update and draw rate of each surface