Timo Lotterbach [Mon, 5 Dec 2011 13:37:08 +0000 (14:37 +0100)]
default build type is now Release.
Timo Lotterbach [Mon, 5 Dec 2011 13:16:20 +0000 (14:16 +0100)]
removed compiler flag to enable FORCE_COPY. This #define is contained in config.h now.
Timo Lotterbach [Mon, 5 Dec 2011 12:38:25 +0000 (13:38 +0100)]
removed compiler flags -DUSE_XTHREADS and -DENABLE_INPUT_EVENTS. these #defines are contained in config.h now.
Michael Schuldt [Mon, 5 Dec 2011 12:07:28 +0000 (13:07 +0100)]
Introducing surface initialization on startup.
- Now all example surface are initialized on layermanager startup
Michael Schuldt [Mon, 5 Dec 2011 12:06:40 +0000 (13:06 +0100)]
Changed render algorithm
- Rendering only surfaces which has native content
- Some cosmetic changes, replace tabspace with 4 whitespaces
- GLXGraphicSystem should only render a layer, if it is visible
Michael Schuldt [Mon, 5 Dec 2011 12:03:44 +0000 (13:03 +0100)]
Introducing default values for OriginalSource Dimension
Michael Schuldt [Mon, 5 Dec 2011 12:02:53 +0000 (13:02 +0100)]
Introducing new Method removeNativeContent.
Now it is possible to remove the native content of an existing
surface. This gurantee that the logical scene structure is the same
if an application is closed or killed.
Michael Schuldt [Mon, 5 Dec 2011 12:00:26 +0000 (13:00 +0100)]
Introducing new UnitTest for ilm_surfaceInitialize.
Stabilize unit tests
Michael Schuldt [Mon, 5 Dec 2011 11:59:24 +0000 (12:59 +0100)]
Introducing new Surface initialization methods
- Introducing C-Api ilm_surfaceSetNativeContent
- Introducing C-Api ilm_surfaceInitialize
- Introducing IPC Message InitializeSurface and InitializeSurfaceFromId
- Removing Refactoring of CreateSurface and CreateSurfaceFromId
Timo Lotterbach [Mon, 5 Dec 2011 11:37:33 +0000 (12:37 +0100)]
renamed CmakeConfiguration.h to config.h and updated internal names
Timo Lotterbach [Mon, 5 Dec 2011 10:28:57 +0000 (11:28 +0100)]
removed Config.h, was replaced by CmakeConfiguration.h
Timo Lotterbach [Mon, 5 Dec 2011 10:24:19 +0000 (11:24 +0100)]
auto-generate CmakeConfiguration.h, which includes all required configuration flags from build system
Timo Lotterbach [Fri, 2 Dec 2011 09:19:09 +0000 (10:19 +0100)]
added signal handler for shutdown: SIGINT, SIGTERM
Timo Lotterbach [Thu, 1 Dec 2011 12:55:19 +0000 (13:55 +0100)]
changed logging inside DBUS communicator (INFO->DEBUG)
Timo Lotterbach [Thu, 1 Dec 2011 12:41:07 +0000 (13:41 +0100)]
fix: SurfaceSetNativeContent does not initialize Source and Destination Regions
Timo Lotterbach [Thu, 1 Dec 2011 12:33:30 +0000 (13:33 +0100)]
SurfaceCreate and SurfaceSetNativeContent are two separate steps now; ilmClient::CreateSurface() behaves the same way as before by sending both commands
Timo Lotterbach [Thu, 1 Dec 2011 08:54:36 +0000 (09:54 +0100)]
updated DBUSCommunicator unit tests to reflect Command refactoring.
Timo Lotterbach [Fri, 25 Nov 2011 14:02:06 +0000 (15:02 +0100)]
changed logging during startup of layermanagement: some logging items were moved from INFO to DEBUG state
Timo Lotterbach [Thu, 24 Nov 2011 16:04:54 +0000 (17:04 +0100)]
fixed compiler warnings for unused variables
Timo Lotterbach [Thu, 24 Nov 2011 15:55:59 +0000 (16:55 +0100)]
modified version string handling in build system; cmake now generate Version.h file which is used by main.cpp
Timo Lotterbach [Thu, 24 Nov 2011 11:04:26 +0000 (12:04 +0100)]
refactored LayerManagerCommands
replaced CreateCommand with type specific create commands
refactored LayerManagerCommands to handle only one case each
refactored commands GetDimension GetOpacity GetPixelformat to be type specific
refactored GetOrientationCommand
refactored GetPositionCommand
refactored GetVisibilityCommand
refactored RemoveCommand
refactored SetDestinationRectangleCommand
refactored SetDimensionCommand
refactored SetLayerTypeCommand SetLayerOrderCommand
refactored ScreenShotCommand
refactored SetOpacityCommand
refactored SetOrderWithinLayerCommand
refactored SetUniformsCommand
refactored SetShaderCommand
refactored SetOrientationCommand
refactored SetPositionCommand
refactored SetSourceRectangleCommand
refactored SetVisibilityCommand; cleaned up #includes in command header files
Timo Lotterbach [Wed, 23 Nov 2011 10:11:16 +0000 (11:11 +0100)]
added implementation of ilm_surfaceAssociateRenderBuffer and ilm_surfaceCreatePlaceholder
Timo Lotterbach [Mon, 21 Nov 2011 15:57:08 +0000 (16:57 +0100)]
added ilmClient functions ilm_surfaceCreatePlaceholder() and ilm_surfaceAssociateRenderBuffer()
Timo Lotterbach [Mon, 21 Nov 2011 14:14:26 +0000 (15:14 +0100)]
Changes file names of LogicalGraphicsObject.(h/cpp) to GraphicalObject.(h/cpp) to match class name
Timo Lotterbach [Wed, 26 Oct 2011 11:49:17 +0000 (13:49 +0200)]
updated version number to 0.9.4 in CMakelists.txt
Timo Lotterbach [Wed, 26 Oct 2011 10:35:20 +0000 (12:35 +0200)]
Mock Navi: enabled unsigned integer arguments for layer and surface ids
Timo Lotterbach [Wed, 26 Oct 2011 10:33:01 +0000 (12:33 +0200)]
Mock Navi: added support for unsigned integer arguments
Michael Schuldt [Thu, 20 Oct 2011 08:03:40 +0000 (10:03 +0200)]
Increase Version Number
Michael Schuldt [Thu, 20 Oct 2011 08:03:27 +0000 (10:03 +0200)]
Updated Release Notes
Rahul Singhal [Fri, 21 Oct 2011 01:00:07 +0000 (06:30 +0530)]
Small bug fix for LayerManagerToolBox
'beginpos' was mistyped as 'pos'.
Also did some cosmetic changes.
Michael Schuldt [Wed, 28 Sep 2011 09:38:45 +0000 (11:38 +0200)]
Adding new Command to set the hardware layertype during scene creation
Michael Schuldt [Thu, 22 Sep 2011 08:44:32 +0000 (10:44 +0200)]
Fixing include path of ViewportTransform
Michael Schuldt [Thu, 22 Sep 2011 07:36:04 +0000 (09:36 +0200)]
Change private methods to be protected for improved inheritance
- RedrawAllLayers()
- CheckRedrawAllLayers()
Frédéric Blain [Tue, 27 Sep 2011 16:33:43 +0000 (18:33 +0200)]
Input Events: better support of Qt: XMotionEvent need to be reported for Button1 to move sliders & scrollbars
Michael Schuldt [Thu, 6 Oct 2011 09:39:47 +0000 (11:39 +0200)]
Bugfix remove wrong parameter parse due to lost of stack value
Michael Schuldt [Wed, 5 Oct 2011 13:52:46 +0000 (15:52 +0200)]
Bugfix to establish rpm build with version tracking
- Added newly created files to rpm
- fix ILM VERSION for rpm, character '-' ist not allowed
in RELEASE variable, so now it is replaced by underscore
Michael Schuldt [Wed, 5 Oct 2011 13:50:20 +0000 (15:50 +0200)]
Bugfix fixes issue regarding layer source transformation
- LayerSource Width should be considered with crop amount
- Unit Test case added
Timo Lotterbach [Wed, 28 Sep 2011 09:32:33 +0000 (11:32 +0200)]
MockNavi: added command line arguments for surface layer, width and heigth;
refactored OpenGLES2App, improved rendering of exactly x fps;
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.