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
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
Michael Schuldt [Thu, 3 May 2012 07:15:45 +0000 (09:15 +0200)]
WaylandWindowSystem: removing obselete files
Michael Schuldt [Thu, 3 May 2012 07:15:22 +0000 (09:15 +0200)]
LayerManagerExamples: Mocknavigation removing tabs
Michael Schuldt [Thu, 3 May 2012 07:14:35 +0000 (09:14 +0200)]
ilm_client: Bugfix: Return success if ilm client is already initialized
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
Nobuhiko Tanibata [Tue, 27 Mar 2012 08:06:42 +0000 (17:06 +0900)]
EGLWLMockNavigation: fix link script
Nobuhiko Tanibata [Tue, 27 Mar 2012 08:05:32 +0000 (17:05 +0900)]
EGLWLApplicationExample: fix link script
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
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.
Michael Schuldt [Wed, 28 Mar 2012 07:04:42 +0000 (10:04 +0300)]
General: Updating LayerManagementVersion and Release Notes
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
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.
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.
Michael Schuldt [Fri, 23 Mar 2012 09:27:52 +0000 (10:27 +0100)]
config: adding config.h file to gitignore
Michael Schuldt [Fri, 23 Mar 2012 09:27:30 +0000 (10:27 +0100)]
Graphic: Removes warning if WITH_INPUT is disabled
Michael Schuldt [Fri, 23 Mar 2012 09:26:54 +0000 (10:26 +0100)]
LayerManagerCommands : Removes signed / unsigned mismatch
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
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
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()
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.
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
Rahul Singhal [Mon, 19 Mar 2012 12:19:47 +0000 (17:49 +0530)]
LayerManagerCommands: Change LayerRemoveSurface filename to be consistent with other commands
Rahul Singhal [Mon, 19 Mar 2012 12:13:52 +0000 (17:43 +0530)]
GLESGraphicSystem: unbind surface texture after rendering surface
Timo Lotterbach [Fri, 16 Mar 2012 09:01:14 +0000 (10:01 +0100)]
LayerManagement: updated .gitignore
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.
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
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
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.
Michael Schuldt [Thu, 23 Feb 2012 08:25:45 +0000 (09:25 +0100)]
Graphic: Bugfix Context has to be activated before beginLayer
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.
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.
Michael Schuldt [Tue, 13 Mar 2012 09:59:22 +0000 (10:59 +0100)]
WaylandGLESRenderer: Adding missing include dir
Nobuhiko Tanibata [Mon, 12 Mar 2012 07:36:28 +0000 (16:36 +0900)]
LayerManagerExamples: MockNavigation Example for Wayland plugins
Nobuhiko Tanibata [Mon, 12 Mar 2012 07:34:32 +0000 (16:34 +0900)]
LayerManagerExamples: Simple application Example for Wayland plugins
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
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.
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.
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.
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
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
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
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
Michael Schuldt [Tue, 28 Feb 2012 14:34:20 +0000 (15:34 +0100)]
LayerManagerUtils: Introducing DLT binding for Logging Framework
- Due to the fact that in Genivi the automotive dlt should
be used as standard logging component the Logging Class was
extended by this functionality.
- To use that component please recompile with the option WITH_DLT=ON
Timo Lotterbach [Thu, 16 Feb 2012 09:51:21 +0000 (10:51 +0100)]
LayerManagement: updated release notes for v0.9.5
Updated RELEASE_NOTES.txt with cahnges for version 0.9.5.
Updated eMail address of Michael Schuldt.
Timo Lotterbach [Tue, 14 Feb 2012 14:21:01 +0000 (15:21 +0100)]
LayerManagement: removed compiler warnings
DBUSCommunicatorTest:
- Added checks for all "system()" calls to get rid of compiler warnings. The compiler wants to make sure, the return value of "system()" calls are checked.
DBUSCommunicator:
- removed unused local variables
BaseRenderer:
- removed warnings on unused variables
XPlatformSurface:
- 2 methods did not return values, althoug specified to return bool
X11WindowSystem:
- fixed order of initializer list
Timo Lotterbach [Fri, 10 Feb 2012 08:59:28 +0000 (09:59 +0100)]
LayerManagement: updated Documentation
Updated Documentation according to review results (text and graphics).
Added file headers to all documentation files.
Improved doxygen settings for enums.
Added custom footline with document name in latex header.
Fixed some typos in existing documentation.
Timo Lotterbach [Thu, 9 Feb 2012 08:58:00 +0000 (09:58 +0100)]
LayerManagement: Added script to generate specification document
Since the doxygen generator can not be configured to leave out some parts of the
documentation (e.g. Class Documentation), a script was created to create
the desired documentation. The Script:
- create the html and latex documentation using doxygen
- patch the latex files to exclude the unnecessary sections of the document
- create the pdf version with correct file name
Timo Lotterbach [Tue, 7 Feb 2012 13:04:49 +0000 (14:04 +0100)]
LayerManagement: Added UML Model with diagrams used in documentation
Added Enterprise Architect Model with the UMl diagrams used
in the documentation.
Timo Lotterbach [Tue, 7 Feb 2012 12:55:38 +0000 (13:55 +0100)]
LayerManagment: added documentation for Renderer Architecture
Added new document section on renderer architecture.
Added renderer architecture diagram.
Timo Lotterbach [Tue, 7 Feb 2012 12:30:54 +0000 (13:30 +0100)]
LayerManagement: Updated doxygen documentation for Discovery Compliance Freeze
Updated text to reflect current state of LayerManagement.
Updated Version String inside doxygen Configuration, Document Version is 2.0.
Added new graphic, updated existing graphics.
Resized all graphics to 120mm width.
Timo Lotterbach [Tue, 31 Jan 2012 17:05:58 +0000 (18:05 +0100)]
LayerManagement: added content of Component Design for LayerManagement v1.3
Added all chapter with their content of the Word document "Component Design for Layer Management Service".
One file per chapter was created, all images reside in an images folder.
Timo Lotterbach [Tue, 31 Jan 2012 11:05:18 +0000 (12:05 +0100)]
LayerManagerService: added documentation for ICommunicator
Added doxygen documentation to ICommunicator interface to the describe the Communicator API in the LayerManagement documentation.
Timo Lotterbach [Tue, 31 Jan 2012 10:59:00 +0000 (11:59 +0100)]
LayerManagerService: added documentation for IRenderer
Adde doxygen documentation to IRenderer interface to the describe the Renderer API in the LayerManagement documentation.
Timo Lotterbach [Tue, 31 Jan 2012 10:24:22 +0000 (11:24 +0100)]
LayerManagerService: added documentation for IScene
Added the API description for IScene for the LayerManagement project documentation.
Timo Lotterbach [Tue, 31 Jan 2012 10:23:35 +0000 (11:23 +0100)]
LayerManagerService: added documentation for ICommandExecutor
Added the API description for ICommandExecutor for the LayerMamagement project documentation.
Timo Lotterbach [Tue, 31 Jan 2012 10:21:58 +0000 (11:21 +0100)]
LayerManagerCommands: added doxygen documentation
All commands are now documented with the minimum information required for
the API description document.
Timo Lotterbach [Tue, 31 Jan 2012 10:19:17 +0000 (11:19 +0100)]
ilmClient: reduced the groups inside the documentation
Since the configuration is now generated on a project global scope,
too many subgroups would make the resulting documentation way too complex.
Timo Lotterbach [Tue, 31 Jan 2012 10:17:48 +0000 (11:17 +0100)]
LayerManagement: Added global Doxygen configuration for LayerManagement project
Created Doxygen file in project's top folder.
This file configures the documention generated by doxygen.
Several options have been disabled, since they are not required inside the generated documents.
The doxygen configuration file of the ilmClient Subproject has been removed.
The ilmClient documentation is included in the global configuration.
Added custom doxygen style for LayerManagement Configuration.
This includes a custom titlepage for latex-based PDF generation.
Timo Lotterbach [Wed, 18 Jan 2012 13:39:18 +0000 (15:39 +0200)]
PlatformSurfaces : modified isReadyForRendering() to always return true
In some situations, only one damage event is sent during the startup of an application, but the
Platform surface os not yet available. In this case isReadyForRendering will always return false
and the content of the surface is not rendered.
Timo Lotterbach [Wed, 18 Jan 2012 11:06:47 +0000 (13:06 +0200)]
DBUSCommunicator : bugfix initializing error content
Timo Lotterbach [Tue, 10 Jan 2012 13:23:37 +0000 (14:23 +0100)]
LayerManagerService: Fixing init value for Surface Pixelformat.
- Due to the split of the SurfaceCreation command, the pixelformat
has to be setted to an default value.
- During the logical surface creation the surface pixelformat is not known
until the native content is applied therefore the default Pixelformat should
be setted to unknown.
Timo Lotterbach [Mon, 9 Jan 2012 15:20:15 +0000 (16:20 +0100)]
Graphic: Fixing rendering of ScreenShot
- X11WindowSystem: The graphicContext has to be activated
before the content of FrameBuffer is saved.
- GLESGraphicSystem: CodeCleanup.
Timo Lotterbach [Mon, 9 Jan 2012 15:17:56 +0000 (16:17 +0100)]
LayerManagerCommands : Fixing execution statement
During a Layer/Surface/ScreenDumpCommand, the execution state has
setted to ExecutionSuccessRedraw, to force the renderer redraw the
entire scene.
Michael Schuldt [Fri, 23 Dec 2011 10:03:01 +0000 (11:03 +0100)]
Shader: Removing const declaration of loadUniforms
Michael Schuldt [Fri, 23 Dec 2011 10:01:40 +0000 (11:01 +0100)]
LayerManagerCommands: Fixing Access to Shadermap
- Fixing wrong reference to shaderMap
Michael Schuldt [Fri, 23 Dec 2011 09:59:54 +0000 (10:59 +0100)]
LayerManagerCommands: Creating Shader moved to Renderer
- If a shader has to be created, the instantiation should be done by
the Renderer.
Michael Schuldt [Fri, 23 Dec 2011 09:48:37 +0000 (10:48 +0100)]
Renderer: Introducing CreateShader interface
- If a shader is uploaded the shader program allocation can only be done
in the Renderer Thread
Michael Schuldt [Fri, 23 Dec 2011 09:45:39 +0000 (10:45 +0100)]
GraphicSystem: Introducing Activate and Release Graphic Context
- Introducing the activate and Release Graphic Context Function,
This enables to use the render context accross different Threads
Michael Schuldt [Fri, 23 Dec 2011 09:41:47 +0000 (10:41 +0100)]
X11WindowSystem: Introducing new SystemStates
- redrawEvent removed, new SystemState REDRAW_STATE introduced
- some class methods to inline declaration.
- introducing wakeUpRendererThread
Michael Schuldt [Mon, 19 Dec 2011 13:51:13 +0000 (14:51 +0100)]
extracted project version information to separate cmake file.
The retrieval of the git version information has been extracted to
a separate cmake file in the project's cmake modules folder.
Timo Lotterbach [Tue, 13 Dec 2011 08:53:44 +0000 (09:53 +0100)]
added unit tests for GraphicalObject
Timo Lotterbach [Mon, 12 Dec 2011 14:09:47 +0000 (15:09 +0100)]
added unit tests for GraphicalGroup
Timo Lotterbach [Mon, 12 Dec 2011 13:19:44 +0000 (14:19 +0100)]
EGLX11MockNavigation: Camera aspect ratio was hard coded, now using viewport width and height to calculate aspect ratio
Timo Lotterbach [Mon, 12 Dec 2011 13:18:22 +0000 (14:18 +0100)]
EGLX11MockNavigation: fixed shader to mediump instead of highp to support egl minimum opengl es 2.0 feature set
Michael Schuldt [Fri, 9 Dec 2011 12:59:59 +0000 (13:59 +0100)]
Introducing check to enable rendering dependent on the content state.
- Rendering is enables after a graphic context refresh was send.
Michael Schuldt [Thu, 8 Dec 2011 14:38:19 +0000 (15:38 +0100)]
Introducing handling of crashed applications.
- If an application crashes, the reference to this
application will be automatically removed
Timo Lotterbach [Thu, 8 Dec 2011 12:21:28 +0000 (13:21 +0100)]
added scene unit tests for createSurface and createLayer with invalid ids
Timo Lotterbach [Thu, 8 Dec 2011 11:04:05 +0000 (12:04 +0100)]
added unit test for Scene::getSurfaceAt
Timo Lotterbach [Thu, 8 Dec 2011 08:19:49 +0000 (09:19 +0100)]
added rectangle unit test
Timo Lotterbach [Thu, 8 Dec 2011 08:17:24 +0000 (09:17 +0100)]
removed friend declaration in rectangle class; obsolete, whole class is public
Michael Schuldt [Thu, 8 Dec 2011 10:01:17 +0000 (11:01 +0100)]
Introducing ServiceConnect and ServiceDisconnect.
Due to the fact, that it should be possible to get information
which application is running and the Service should run a
internal cleanup, if a registered application crashes. This
functionality is needed.
Timo Lotterbach [Wed, 7 Dec 2011 14:56:41 +0000 (15:56 +0100)]
added unit test templates for GraphicalGroup, Rectangle, ShaderProgramFactory, ShaderProgram, ShaderUniform; all tests within these new files are disabled (not implemented).
Timo Lotterbach [Wed, 7 Dec 2011 14:16:22 +0000 (15:16 +0100)]
implemented Scene unit tests; 3 tests currently disabled, not sure how to test
Timo Lotterbach [Wed, 7 Dec 2011 13:37:20 +0000 (14:37 +0100)]
added all unit test files for LayerManagerService to build and disabled tests, that are not implemented yet
Timo Lotterbach [Wed, 7 Dec 2011 13:23:39 +0000 (14:23 +0100)]
updated interface of IScene with functions already included in Scene; updated scene unit tests
Timo Lotterbach [Wed, 7 Dec 2011 11:02:06 +0000 (12:02 +0100)]
added unit tests for surface
Timo Lotterbach [Wed, 7 Dec 2011 10:32:56 +0000 (11:32 +0100)]
added unit tests for layer
Timo Lotterbach [Wed, 7 Dec 2011 09:05:11 +0000 (10:05 +0100)]
added unit test templates for LayerManagerService
Michael Schuldt [Tue, 6 Dec 2011 15:49:08 +0000 (16:49 +0100)]
Improved Error handling sended by dbus.
- Introducing parse of error message.
- Added more Error Strings :
RESSOURCE_ALREADY_INUSE for e.g. Surface / Layer already exits
INVALID_ARGUMENT for e.g Surface Id not valid
RESSOURCE_NOT_FOUND e.g. Surface is not applied to a layer
Timo Lotterbach [Tue, 6 Dec 2011 15:44:37 +0000 (16:44 +0100)]
prepared unit tests for LayerManagmentService
Timo Lotterbach [Tue, 6 Dec 2011 13:25:10 +0000 (14:25 +0100)]
shutdown of service now destroys all plugins
Timo Lotterbach [Tue, 6 Dec 2011 09:01:42 +0000 (10:01 +0100)]
improved command enqueuing; improved cleanup during shutdown of service
Timo Lotterbach [Tue, 6 Dec 2011 07:52:06 +0000 (08:52 +0100)]
enabled ExitCommand implementation
Michael Schuldt [Tue, 6 Dec 2011 08:00:13 +0000 (09:00 +0100)]
Changing some errors into warnings
Michael Schuldt [Tue, 6 Dec 2011 07:55:50 +0000 (08:55 +0100)]
Force renderproperty changed if native content is removed.
- forces a final redraw to remove the surface garbage
Timo Lotterbach [Mon, 5 Dec 2011 15:53:38 +0000 (16:53 +0100)]
fixed broken build; typo in iterator handling
Timo Lotterbach [Mon, 5 Dec 2011 15:48:08 +0000 (16:48 +0100)]
removed warnings raised by cppcheck 1.51; mainly 'class has no virtual destructor, but virtual functions', some breaks missing in default cases of switch cases.
Michael Schuldt [Mon, 5 Dec 2011 15:05:27 +0000 (16:05 +0100)]
Allocate platform surface corrected.
Due to the fact that now logical surface without native content
are available. This check must be included to handle the
correct native content with the corresponding surface.
Timo Lotterbach [Mon, 5 Dec 2011 14:39:09 +0000 (15:39 +0100)]
fixed broken build in texture binders caused by surface interface changes.