Michael Schuldt [Thu, 8 Sep 2011 10:54:56 +0000 (12:54 +0200)]
Introducing changing used bus via environment variable.
Enable LM_USE_SESSION_BUS via export LM_USE_SESSION_BUS=enable
to use DBUS_BUS_SESSION instead of DBUS_BUS_SYSTEM
Michael Schuldt [Thu, 8 Sep 2011 10:48:18 +0000 (12:48 +0200)]
Introducing Timeout Parameter for process function
The process should not block the call. It should be possible
to define a timeout in miliseconds.
Michael Schuldt [Thu, 8 Sep 2011 10:44:45 +0000 (12:44 +0200)]
Fixing Introspection Setup.
Michael Schuldt [Thu, 25 Aug 2011 06:48:15 +0000 (08:48 +0200)]
Introducion of process function to dispatch Communication Messages
Sometime it is needed that you don't want to run the communicator
in a own thread. Therefore it is needed that you can trigger read
write to the communication message queue inside of the mainloop.
Thatis the reason why we introduce the new process method in the
ICommunicator interface and provides a reference implementation
inside of the DBUSCommunicator.
Timo Lotterbach [Tue, 23 Aug 2011 14:38:14 +0000 (16:38 +0200)]
removed internal thread for DBUSCommunicator, now based on registering callbacks at the dbus library
Michael Schuldt [Thu, 4 Aug 2011 06:34:33 +0000 (08:34 +0200)]
First version to switch from polling of DBUS_MESSAGES to event based
tracking.
Michael Schuldt [Thu, 4 Aug 2011 06:32:50 +0000 (08:32 +0200)]
Include LayerManagerService.conf to run Service on DBUS_SYSTEM_BUS.
Michael Schuldt [Thu, 4 Aug 2011 06:30:59 +0000 (08:30 +0200)]
Switched to DBUS_SYSTEM_BUS session
Michael Schuldt [Thu, 8 Sep 2011 06:32:33 +0000 (08:32 +0200)]
Bugfix : Moving the framecounter inside of graphic system
Increase the framecounter only if the surface is rendered.
Rahul Singhal [Fri, 2 Sep 2011 11:37:11 +0000 (17:07 +0530)]
Multiple Bug fixes in X11WindowSystem
1. Use SwapBuffers only if something was drawn
2. Include SwapBuffers call while calculating FPS
3. ScreenshotOfDisplay should not check for any rendering changes
as it will not do a SwapBuffers after screenshot.
Rahul Singhal [Thu, 1 Sep 2011 12:14:18 +0000 (17:44 +0530)]
Bug fix in screenshot for layer & surface
This change checks for the following:
1. Whether the requested layer is part of the current render order.
2. Whether the requested surafce belongs to a layer that is part of
the current render order.
Now a surface's screenshot will be exactly similar to the way it
appears on the screen currently (minus the effect of other surfaces
part of the same layer).
Michael Schuldt [Thu, 1 Sep 2011 10:50:46 +0000 (12:50 +0200)]
Introducing new relase notes, switching to version 0.9.2
Rahul Singhal [Thu, 1 Sep 2011 09:44:15 +0000 (15:14 +0530)]
Bug Fix for ILM command LayerAddSurface
This command should return a ExecutionSuccessRedraw which will trigger
checkForNewSurface() to map the new surface & window instead of checking
for new surafces durng every call to renderLayer().
Rahul Singhal [Wed, 31 Aug 2011 12:00:33 +0000 (17:30 +0530)]
Better error checking & cleanup when accquiring X visual fails
Michael Schuldt [Wed, 31 Aug 2011 13:58:12 +0000 (15:58 +0200)]
Feature : Introducing environment variable LM_PLUGIN_DIR
Searchpath for Layermanager Plugins is now using the environment variable
LM_PLUGIN_DIR. The default value is /usr/lib/layermanager
Michael Schuldt [Wed, 31 Aug 2011 12:34:18 +0000 (14:34 +0200)]
Bugfix : Fixing screenshot of surface.
Adding missing initalisation Parameters for
correct rendering of surface.
Michael Schuldt [Wed, 31 Aug 2011 12:32:53 +0000 (14:32 +0200)]
Feature adding Parameter to take screenshots:
ScreenShot of Layer
ScreenShot of Display
ScreenShot of Surface
Michael Schuldt [Wed, 31 Aug 2011 09:53:30 +0000 (11:53 +0200)]
Bugfix : Improved handling in case of render init failure
During initialisation of X11WindowSystem currently some
return value are not handled correctly, which can be an
issue if some initialisation dependency are not correctly solved.
This bugfix improves the cleanup of the system if the X11WindowSystem
initialisation is not successfull.
Frédéric Blain [Mon, 29 Aug 2011 09:42:23 +0000 (11:42 +0200)]
Input Event bugfix: Qt needs Xevent.xany.window attribute filled
Frédéric Blain [Mon, 29 Aug 2011 09:25:32 +0000 (11:25 +0200)]
Input Event bugfix: search for layer below a coordinate by rendering reverse order (top to low)
Frédéric Blain [Mon, 29 Aug 2011 08:58:55 +0000 (10:58 +0200)]
Input Event bugfix: correct spelling errors
Michael Schuldt [Mon, 29 Aug 2011 15:01:49 +0000 (17:01 +0200)]
Introducing version tracking
This will enhance the version which is used for the last build.
It is possible to set the version outside of the build, for rpm generation.
Michael Schuldt [Mon, 29 Aug 2011 12:17:30 +0000 (14:17 +0200)]
split transformations for better reuse
Calculate transformation with pixel values first, and
then calculate texture coordinates from these values.
Better reuse for possible hardware layers which might
not use texture coordinates for transformations.
Adjust test cases accordingly.
Remove unnecessary surface transformations, as they do not contain
any functionality
Michael Schuldt [Mon, 29 Aug 2011 12:04:28 +0000 (14:04 +0200)]
remove compiler warning from GLX build
remove an unused variable
remove signed/unsigned mismatch
Michael Schuldt [Mon, 29 Aug 2011 11:47:16 +0000 (13:47 +0200)]
fix memory bug in LayerManagerToolBox
stack violation while setting source and destination regions removed
Michael Schuldt [Mon, 29 Aug 2011 08:53:22 +0000 (10:53 +0200)]
Bugfix and SceneProviderExample added
Bugfix : fixes an issue during startup, if no compositing controller
are found.
SceneProvider Example Implementation added. Execution of
LayerManagerClientExample is no longer needed to start
EGLX11ApplicationExample or GLX11ApplicationExample.
Additional Build Option WITH_CLIENTEXAMPLE introduced to disable the build
of client examples.
Michael Schuldt [Fri, 26 Aug 2011 13:16:12 +0000 (15:16 +0200)]
Adding missing distribution files for rpm build.
Michael Schuldt [Thu, 25 Aug 2011 13:06:54 +0000 (15:06 +0200)]
added UtilsTest and small fix in DBUSCommunicator tests
Michael Schuldt [Thu, 25 Aug 2011 12:58:13 +0000 (14:58 +0200)]
fix create multiple parent directories of screenshot if needed
old version did not create multiple parent directories for a screenshot file,
only one folder was created
Michael Schuldt [Thu, 25 Aug 2011 11:24:07 +0000 (13:24 +0200)]
clean up tests for use with ctest
make ctest setup work again, now 'make test' runs all tests
remove unnecessary include file
remove -pedantic flag, it is not supported by googletest and googlemock
and causes unmanagable number of warnings
Michael Schuldt [Thu, 25 Aug 2011 11:18:31 +0000 (13:18 +0200)]
remove duplicate copies of googletest and googlemock
move googletest and googlemock to thirdparty directory, instead
of having duplicating sources in each test directory
Michael Schuldt [Thu, 25 Aug 2011 08:37:14 +0000 (10:37 +0200)]
remove compiler warnings from build
unsigned/signed warning
unused variables
deprecated string conversions
Michael Schuldt [Fri, 26 Aug 2011 09:04:51 +0000 (11:04 +0200)]
Fixing compiler warnings
- removing inline array allocation in LayerManagerToolbox
- removing wrong binding to null buffer
- removing wrong reset of pixmap
Michael Schuldt [Fri, 26 Aug 2011 06:31:38 +0000 (08:31 +0200)]
Adding missing install targets
Michael Schuldt [Thu, 25 Aug 2011 09:37:05 +0000 (11:37 +0200)]
Bugfix. Removing dependencies from EGL / GLES in GLXGraphicLib.
Michael Schuldt [Wed, 24 Aug 2011 06:46:23 +0000 (08:46 +0200)]
Bugfix : Fixing link error in transformation tests
introduction of new methods in GraphicalSurface.cpp
means this class must also be added to the build of viewtransformtest.
Michael Schuldt [Tue, 23 Aug 2011 09:28:49 +0000 (11:28 +0200)]
Bugfix: Add missing includes for TextureBinders
Michael Schuldt [Mon, 22 Aug 2011 13:31:46 +0000 (15:31 +0200)]
Introducing more parameters on Properties of Layer/Surface
LayerProperties: adding originalSourceWidth and Height
SurfacProperties: adding originalSourceWidth, Height and frameCounter
Michael Schuldt [Mon, 22 Aug 2011 10:08:17 +0000 (12:08 +0200)]
Add ViewportTransform for Surface and Layer calculation.
This patch uses the new Class ViewportTransform to apply
LayerSourceRegion
LayerDesitinationRegion
SurfaceSourceRegion
SurfaceDestinationRegion
to the final texture and vertex position on the screen
Michael Schuldt [Mon, 22 Aug 2011 10:06:01 +0000 (12:06 +0200)]
Add GraphicalSurface.cpp to build of DBusCommunicatorTests
Due to the fact, that implementations are moved to GraphicalSurface.cpp
and the Scene class has a reference to this GraphicalSurface, this
file has to be added to the CMakeLists.txt
Michael Schuldt [Fri, 19 Aug 2011 13:04:26 +0000 (15:04 +0200)]
Moving OriginalSourceWidth and OriginalSourceHeight to base class.
Michael Schuldt [Fri, 19 Aug 2011 13:03:47 +0000 (15:03 +0200)]
Bugfix in SourceRegion calculation.
Scale uses now the correct reference value.
Michael Schuldt [Fri, 19 Aug 2011 10:00:40 +0000 (12:00 +0200)]
Bugfix, using the reference value instead of the pointer.
Michael Schuldt [Fri, 19 Aug 2011 10:00:03 +0000 (12:00 +0200)]
Added new test cases to run unit tests on ViewportTransform
Michael Schuldt [Thu, 18 Aug 2011 14:59:23 +0000 (16:59 +0200)]
Fixes source viewport rendering for layer.
New transformation class introduced to transform the
required surface coordinates.
Michael Schuldt [Thu, 18 Aug 2011 14:57:18 +0000 (16:57 +0200)]
New api method added, ilm_layerCreateDimension.
To support the correct handling of the layer source region, this
call is needed. ilm_layerCreate will be deprecated.
new DBUSMessages :
CreateLayerWithDimension
CreateLayerFromIdWithDimension
introduced
Michael Schuldt [Mon, 22 Aug 2011 06:57:02 +0000 (08:57 +0200)]
Merge patches between Valeo and BMW Car IT
Frédéric Blain [Fri, 19 Aug 2011 12:10:07 +0000 (14:10 +0200)]
GLXApplicationExample: Add support for X11 events to validate input events handling in LM
Frédéric Blain [Fri, 19 Aug 2011 10:57:38 +0000 (12:57 +0200)]
Add framework to support input events + X11 implementation
Frédéric Blain [Fri, 12 Aug 2011 14:12:19 +0000 (16:12 +0200)]
X11EventLoop refactoring : Make the event loop private
Frédéric Blain [Fri, 12 Aug 2011 14:10:17 +0000 (16:10 +0200)]
Code cleaning: fix .gitignore
Timo Lotterbach [Thu, 18 Aug 2011 16:39:26 +0000 (18:39 +0200)]
X11GLXRenderer: fixed broken build
Michael Schuldt [Wed, 17 Aug 2011 09:19:46 +0000 (11:19 +0200)]
Bugfix: missing Sourcefile for GLES ShaderProgram added
Michael Schuldt [Wed, 17 Aug 2011 08:20:30 +0000 (10:20 +0200)]
Bugfix : Missing includes for extension of existing WindowSystems added
Michael Schuldt [Tue, 16 Aug 2011 11:21:08 +0000 (13:21 +0200)]
Bugfix: Fixing DBUS Communicator tests to run and compile completely
Michael Schuldt [Tue, 16 Aug 2011 08:10:48 +0000 (10:10 +0200)]
Feature Patch : moving render specific base implementations to library
This patch opens the possibility to extend the currently provided base
libs for GLES and GLX on vendor platform specific implementations. Therefore
a vendor is able to use the functionality of already existing renderer
approaches for surfaces / layers and extend these functionality to do
platform specific improvements e.g. scaling of a hardware video layer.
Michael Schuldt [Wed, 10 Aug 2011 06:45:40 +0000 (08:45 +0200)]
Change to version 0.9.1
- Version number increased and release notes added
- Readme updated to new build flags
Rahul Singhal [Thu, 21 Jul 2011 10:52:28 +0000 (16:22 +0530)]
Cleanup LayerManager Service at exit for a plugin initialization failure
Also added check for EGL_NO_DISPLAY in GLESGraphicSystem.
Michael Schuldt [Tue, 9 Aug 2011 06:41:05 +0000 (08:41 +0200)]
Introducing change of source rectangle values for layer properties.
Michael Schuldt [Fri, 5 Aug 2011 07:02:25 +0000 (09:02 +0200)]
Add more initialization values for layer creation
Michael Schuldt [Fri, 5 Aug 2011 07:01:36 +0000 (09:01 +0200)]
Add additional functionality to show layer and surface properties
Michael Schuldt [Thu, 4 Aug 2011 09:18:56 +0000 (11:18 +0200)]
Bugfix: Removes default initialization of SourceRegion
Michael Schuldt [Thu, 4 Aug 2011 08:22:07 +0000 (10:22 +0200)]
Bugfix: Initialize a graphical surface with non visible
Michael Schuldt [Thu, 4 Aug 2011 08:21:30 +0000 (10:21 +0200)]
Bugfix: Remove apply of default values for Destination Region
Michael Schuldt [Thu, 4 Aug 2011 08:20:46 +0000 (10:20 +0200)]
Bugfix : Layer Should only be rendered if visible
Michael Schuldt [Fri, 15 Jul 2011 09:01:15 +0000 (11:01 +0200)]
Minor bugfixes to improve the service functionality
Bugfix: If a already existing layer is created, the reference of layer is returned
Bugfix: The alpha value is now cleared correctly to get LayerManager working on to of VideoOverlay
Improvement : Usage Description of LayerManagerToolbox is correctly printed
Michael Schuldt [Thu, 14 Jul 2011 13:34:10 +0000 (15:34 +0200)]
SceneProvider feature added.
- New Interface ISceneProvider to initialize a layer Scene on startup
- Added dynamic load of sceneprovider plugin to LayerManagerService
Michael Schuldt [Tue, 12 Jul 2011 12:11:11 +0000 (14:11 +0200)]
Fixes issue with native X windows
- correctly displayed if the surface has the RGBA pixformat
Michael Schuldt [Tue, 12 Jul 2011 06:50:57 +0000 (08:50 +0200)]
Find of dbus architecture dependend files improved.
- On Ubuntu 11.04 the dbus architecture dependend files are located
on different locations
- Included the pkgconfig check to improve the file search
Michael Schuldt [Mon, 11 Jul 2011 14:42:03 +0000 (17:42 +0300)]
Fixed list surfaces of layer
Michael Schuldt [Fri, 8 Jul 2011 13:39:31 +0000 (15:39 +0200)]
LayerManagerToolbox Enhanced by the following functions :
add-layer, add-surface : to add new layers and surface
list-layer : to list the layer render order on the display
list-surface : to list the surfaces by on layer
remove-layer, remove-surface : to remove layers and surfaces
change-surface : to change the surface values
change-layer : to change the layer values
set-display-ro: to change the display render order
Michael Schuldt [Fri, 8 Jul 2011 09:40:48 +0000 (11:40 +0200)]
Introducing default display environment, to avoid fail of service startup
Michael Schuldt [Thu, 7 Jul 2011 07:41:56 +0000 (09:41 +0200)]
Reset unreferenced m_pReply message to initial value NULL
Michael Schuldt [Tue, 5 Jul 2011 06:24:56 +0000 (09:24 +0300)]
Fixing wrong result value in ScreenshotCommand.
* Due to the refactorin, the ScreenshotCommand does not trigger the
redraw anymore
* fixed this issue and the ScreenShotCommand is now working.
Michael Schuldt [Mon, 4 Jul 2011 09:46:38 +0000 (11:46 +0200)]
Bugfix : Reapplying Unredirect Patch, was removed during merge.
Rahul Singhal [Thu, 30 Jun 2011 12:42:31 +0000 (18:12 +0530)]
Add missing X11 headers to X11EglImage
Add missing X11 headers Xlib.h & Xutil.h to X11EglImage.h and replace
X11_Xcomposite_INCLUDE_PATH with a more general X11_INCLUDE_DIR
Michael Schuldt [Mon, 4 Jul 2011 07:48:42 +0000 (09:48 +0200)]
Merging following NVIDIA patches:
Allocate-client-buffer-damage-only-for surfaces
Compilation fix for DRAW_LAYER_DEBUG mode
Remove redundant GL calls in EGLX11ApplicationExample
Proper deinitilization of eglImage & texture handles
Conflicts:
LayerManagerPlugins/Renderers/Graphic/src/WindowSystems/X11WindowSystem.cpp
Rahul Singhal [Thu, 12 May 2011 14:00:29 +0000 (19:30 +0530)]
Proper deinitilization of eglImage & texture handles
Set eglImage & texture to 0 after they are destroyed/deleted.
Rahul Singhal [Wed, 11 May 2011 10:11:21 +0000 (15:41 +0530)]
Remove redundant GL calls in EGLX11ApplicationExample
Redundant calls to glUseProgram, attachVertexBuffer & glUniformMatrix4fv
removed. Reduces GLES driver work and improves the app's per-frame time by 0.1ms.
Rahul Singhal [Wed, 11 May 2011 09:27:43 +0000 (14:57 +0530)]
Compilation fix for DRAW_LAYER_DEBUG mode
Also included /usr/local/lib/ as alternate path to /usr/lib/ for finding layer shaders
Rahul Singhal [Thu, 30 Jun 2011 11:55:17 +0000 (17:25 +0530)]
Allocate client buffer & damage only for surfaces that belong to a renderable layer
This is was the behaviour before XDamage implementation. So this
change reverts back to the old behaviour.
A renderable layer is one which is part of getCurrentRenderOrder().
Surfaces which don't belong to such a layer are not rendered
in the final compositing, hence we don't need to allocate/create
client buffer & damage for such surfaces. Instead this is delayed
till the surface is added to a renderable layer.
Michael Schuldt [Thu, 30 Jun 2011 10:55:39 +0000 (12:55 +0200)]
Merging patches from NVIDIA an CARIT
Rahul Singhal [Thu, 30 Jun 2011 09:21:59 +0000 (14:51 +0530)]
Remove spew introduced due to XDamage implementation
Due to the XDamage implementation, every damage event produces a debug spew.
Frequent damage events make the debug log illegible, hence removing this spew.
Michael Schuldt [Wed, 29 Jun 2011 13:48:51 +0000 (15:48 +0200)]
Bugfix : Unmap Windows will no longer unredirected
* This enables mapping of windows which are already running,
before the services is started
Michael Schuldt [Wed, 29 Jun 2011 12:15:39 +0000 (14:15 +0200)]
Bugfix : spec file for rpm build updated
* LayerManagerToolBox included
Michael Schuldt [Wed, 29 Jun 2011 12:04:55 +0000 (14:04 +0200)]
Module added: LayerManagerToolBox introduced
LayerManagerToolBox can be used to push a already running Application
to the render passes of the service.
Michael Schuldt [Wed, 29 Jun 2011 11:59:27 +0000 (13:59 +0200)]
Bugfix : Improvement for handling, native X applications
Michael Schuldt [Mon, 27 Jun 2011 14:58:51 +0000 (16:58 +0200)]
Bugfix race conditions and compositing startup
* Check if composite manager is running improved
* race condition in allocate platform surfaces removed
Michael Schuldt [Mon, 27 Jun 2011 12:24:32 +0000 (14:24 +0200)]
Bugfix : Texture will now bind correctly.
Michael Schuldt [Tue, 21 Jun 2011 11:50:16 +0000 (13:50 +0200)]
Bugfix Patch : removes crash of service in various times
* DBUS Communicator double link list crash removed, due unreference message
* GLESGraphicSystem.cpp memory leak on screen shot removed
* race condition in logging module removed
* race condition on surface deletion in XWindowSystem removed.
* Release Notes updated
Michael Schuldt [Tue, 21 Jun 2011 09:56:14 +0000 (11:56 +0200)]
Compiler Issues on GLXRenderer resolved
Jeremiah C. Foster [Tue, 21 Jun 2011 09:28:18 +0000 (00:28 -0900)]
Adding workaround for newer Ubuntu versions.
Michael Schuldt [Fri, 17 Jun 2011 11:44:45 +0000 (13:44 +0200)]
Exchange busy waiting on X11 events for XThread locking
Michael Schuldt [Fri, 17 Jun 2011 12:13:38 +0000 (14:13 +0200)]
simplify fps calculation
Michael Schuldt [Thu, 16 Jun 2011 08:17:21 +0000 (10:17 +0200)]
fix minor dbus issues
fix: when replying with dbus error, send reply to correct message
fix: dbus tests must also link against new commands library
Michael Schuldt [Fri, 17 Jun 2011 11:27:49 +0000 (13:27 +0200)]
perfomance and render garbage fix
* render perfomance improved, minimized busy waiting
* bugfix, surface will only be rendered if image data is available
michael.schuldt [Thu, 16 Jun 2011 11:00:30 +0000 (13:00 +0200)]
Better outputformat of service description added
michael.schuldt [Thu, 16 Jun 2011 09:22:21 +0000 (11:22 +0200)]
change Loglevel during runtime now possible
Timo Lotterbach [Wed, 15 Jun 2011 11:25:00 +0000 (13:25 +0200)]
major code refactoring patch
introducing new library for commands
separation of asynchronous/synchronous commands
introducing mechanism for determining which commands need graphical refresh after execution
bugfix handling of x11 window with id '0'
bugfix layer without graphic update will no longer be destroyed in special cases
Rahul Singhal [Mon, 23 May 2011 08:48:22 +0000 (14:18 +0530)]
Implemented XDamage Support
Due to this the reported FPS may not be accurate
as rendering now becomes a event based process.
Change-Id: Ic726eb236777b4db0d195d3467639bc3557c691b