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.
Timo Lotterbach [Mon, 5 Dec 2011 14:35:39 +0000 (15:35 +0100)]
refactored printStackTrace(), now logging set to INFO
Timo Lotterbach [Mon, 5 Dec 2011 14:03:19 +0000 (15:03 +0100)]
handling SIGSEGV and SIGBUS: print stacktrace and exit.
Michael Schuldt [Mon, 5 Dec 2011 13:36:44 +0000 (14:36 +0100)]
Fixing include directories
Michael Schuldt [Mon, 5 Dec 2011 13:23:02 +0000 (14:23 +0100)]
Some cleanup of destroyed content.
- signal redraw event during renderer stop
- reset platform surface during destroy window
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.