Timo Lotterbach [Wed, 28 Sep 2011 07:46:18 +0000 (09:46 +0200)]
removed IlmMatrix duplication in EGLX11MockNavigation;
added IlmMatrixProjection to IlmMatrix;
refactored IlmMatrix: angle conversion now macros (evaluated at compile time), removed unused global var m_IdentityMatrix, minor code style fixes;
removed LayerScene.h duplication in EGLX11MockNavigation;
refactored CMakeLists for EGLX11MockNavigation
Timo Lotterbach [Wed, 28 Sep 2011 07:14:05 +0000 (09:14 +0200)]
fixed position of ground, was too low and did not cover whole space between houses
Michael Schuldt [Mon, 26 Sep 2011 11:41:18 +0000 (13:41 +0200)]
Position of objects changed.
Michael Schuldt [Mon, 26 Sep 2011 11:40:57 +0000 (13:40 +0200)]
Enabled depth buffer allocation.
Correcting cull mode to show all faces
Timo Lotterbach [Mon, 26 Sep 2011 10:34:06 +0000 (12:34 +0200)]
added first working version of MockNavigation
Rahul Singhal [Fri, 23 Sep 2011 09:46:28 +0000 (15:16 +0530)]
Add restrictions on adding a surface to a layer
This prevents:
1. A surface being added to multiple layers.
2. A surface being added to the same layer multiple times.
API Calls:
Added: unsigned int Surface::getContainingLayerId() const
Added: void Surface::setContainingLayerId(unsigned int id)
Added: inline void Layer::removeAllSurfaces()
Added: bool Scene::isLayerInCurrentRenderOrder(const uint id)
Removed: void Scene::removeSurfaceFromAllLayers(Surafce* surface)
Change-Id: I788e716aabf322b9b800157d1c498ca62e468b90
Rahul Singhal [Thu, 22 Sep 2011 10:31:40 +0000 (16:01 +0530)]
Restore part of a bug-fix lost during a merge conflict
Part of a bug-fix to eliminate race concditions in platform surface allocation
was lost during the merge commit
74815133d6b9f42d8e6c170979f01631e9151ac9.
This change restores the same.
Change-Id: Iab62cf1c74eab8c5d227f7bde8f259cf8e65e666
Reviewed-on: http://git-embedded-01.nvidia.com/r/4855
Reviewed-by: Adam Cheney <acheney@nvidia.com>
Tested-by: Rahul Singhal <rasinghal@nvidia.com>
Michael Schuldt [Thu, 15 Sep 2011 08:24:08 +0000 (11:24 +0300)]
Removed Quiet Message, is not working with CMake 2.6
Michael Schuldt [Fri, 9 Sep 2011 11:38:00 +0000 (13:38 +0200)]
Change version number to 0.9.3.
Update version number
Update release notes
Michael Schuldt [Fri, 9 Sep 2011 11:36:35 +0000 (13:36 +0200)]
Update C-API documentation
Michael Schuldt [Fri, 9 Sep 2011 11:10:03 +0000 (13:10 +0200)]
Update Readme file
Enhance Builddescription
Removed Beagle board platform requirements
Introducing new Chapter "Change the environment during Runtime"
Introducing new Chapter "Running Testapplications"
Michael Schuldt [Thu, 8 Sep 2011 15:01:22 +0000 (17:01 +0200)]
added tests for new cropping-test function
Michael Schuldt [Thu, 8 Sep 2011 15:00:09 +0000 (17:00 +0200)]
skip rendering of fully cropped surfaces
surfaces that are fully cropped by the layer source
region can be skipped from rendering
Michael Schuldt [Fri, 9 Sep 2011 08:22:28 +0000 (10:22 +0200)]
Remove uncommented code.
Michael Schuldt [Fri, 9 Sep 2011 06:04:00 +0000 (08:04 +0200)]
Bugfix for linking the correct Native Libraries.
Michael Schuldt [Thu, 8 Sep 2011 13:22:11 +0000 (15:22 +0200)]
Changing to LM_PLUGIN_DIR to LM_PLUGIN_PATH to be consitent
Michael Schuldt [Thu, 8 Sep 2011 11:09:46 +0000 (13:09 +0200)]
Removed several warnings
Michael Schuldt [Thu, 8 Sep 2011 11:09:21 +0000 (13:09 +0200)]
Refactoring dbus tests to run with threadless communicators
Michael Schuldt [Thu, 8 Sep 2011 11:05:52 +0000 (13:05 +0200)]
Changing dbus service name to be genivi compliant
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.