major code refactoring patch
authorTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Wed, 15 Jun 2011 11:25:00 +0000 (13:25 +0200)
committermichael.schuldt <michael.schuldt@bmw-carit.de>
Thu, 16 Jun 2011 08:08:10 +0000 (10:08 +0200)
commit8d07a95872242e5f596cec0c701e6941db3fc47d
treebfdaf9c112c205137075656124309a73a4323e91
parentf8954015ea084c8d79d338d209f3ecca1da67761
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
240 files changed:
CMakeLists.txt
LayerManager.spec.in
LayerManagerClient/ilmClient/include/Doxyfile [new file with mode: 0644]
LayerManagerClient/ilmClient/include/ilm_client.h
LayerManagerClient/ilmClient/include/ilm_client_platform.h
LayerManagerClient/ilmClient/include/ilm_client_priv.h
LayerManagerClient/ilmClient/include/ilm_types.h
LayerManagerClient/ilmClient/src/ilm_client.c
LayerManagerClient/ilmClient/src/ilm_client_priv.c
LayerManagerClient/ilmClient/tests/IlmCommandTest.cpp
LayerManagerClient/ilmClient/tests/gtest/gtest-all.cc
LayerManagerClient/ilmClient/tests/gtest/gtest.h
LayerManagerClient/ilmClient/tests/gtest/gtest_main.cc
LayerManagerCommands/CMakeLists.txt [new file with mode: 0644]
LayerManagerCommands/include/BaseCommandAsynchronous.h [new file with mode: 0644]
LayerManagerCommands/include/BaseCommandSynchronous.h [new file with mode: 0644]
LayerManagerCommands/include/CommitCommand.h [new file with mode: 0644]
LayerManagerCommands/include/CreateCommand.h [new file with mode: 0644]
LayerManagerCommands/include/CreateShaderCommand.h [new file with mode: 0644]
LayerManagerCommands/include/DebugCommand.h [moved from LayerManagerService/include/commands/DebugCommand.h with 66% similarity]
LayerManagerCommands/include/DestroyShaderCommand.h [new file with mode: 0644]
LayerManagerCommands/include/ExitCommand.h [new file with mode: 0644]
LayerManagerCommands/include/GetDimensionCommand.h [new file with mode: 0644]
LayerManagerCommands/include/GetOpacityCommand.h [moved from LayerManagerService/include/commands/CommitCommand.h with 52% similarity]
LayerManagerCommands/include/GetOrientationCommand.h [new file with mode: 0644]
LayerManagerCommands/include/GetPixelformatCommand.h [new file with mode: 0644]
LayerManagerCommands/include/GetPositionCommand.h [new file with mode: 0644]
LayerManagerCommands/include/GetVisibilityCommand.h [new file with mode: 0644]
LayerManagerCommands/include/LayerAddSurfaceCommand.h [new file with mode: 0644]
LayerManagerCommands/include/LayerRemoveSurfaceCommand.h [moved from LayerManagerService/include/commands/LayerRemoveSurface.h with 58% similarity]
LayerManagerCommands/include/LayergroupAddLayerCommand.h [new file with mode: 0644]
LayerManagerCommands/include/LayergroupRemoveLayerCommand.h [moved from LayerManagerService/include/commands/LayergroupRemoveLayerCommand.h with 57% similarity]
LayerManagerCommands/include/RemoveCommand.h [new file with mode: 0644]
LayerManagerCommands/include/ScreenShotCommand.h [new file with mode: 0644]
LayerManagerCommands/include/SetDestinationRectangleCommand.h [new file with mode: 0644]
LayerManagerCommands/include/SetDimensionCommand.h [new file with mode: 0644]
LayerManagerCommands/include/SetLayerOrderCommand.h [new file with mode: 0644]
LayerManagerCommands/include/SetOpacityCommand.h [new file with mode: 0644]
LayerManagerCommands/include/SetOrderWithinLayerCommand.h [new file with mode: 0644]
LayerManagerCommands/include/SetOrientationCommand.h [new file with mode: 0644]
LayerManagerCommands/include/SetPositionCommand.h [new file with mode: 0644]
LayerManagerCommands/include/SetShaderCommand.h [moved from LayerManagerService/include/commands/ScreenShotCommand.h with 55% similarity]
LayerManagerCommands/include/SetSourceRectangleCommand.h [new file with mode: 0644]
LayerManagerCommands/include/SetUniformsCommand.h [new file with mode: 0644]
LayerManagerCommands/include/SetVisibilityCommand.h [new file with mode: 0644]
LayerManagerCommands/include/SurfacegroupAddSurfaceCommand.h [new file with mode: 0644]
LayerManagerCommands/include/SurfacegroupRemoveSurfaceCommand.h [moved from LayerManagerService/include/commands/SurfacegroupRemoveSurfaceCommand.h with 55% similarity]
LayerManagerCommands/src/CommitCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/CreateCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/CreateShaderCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/DebugCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/DestroyShaderCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/ExitCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/GetDimensionCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/GetOpacityCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/GetOrientationCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/GetPixelformatCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/GetPositionCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/GetVisibilityCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/LayerAddSurfaceCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/LayerRemoveSurface.cpp [new file with mode: 0644]
LayerManagerCommands/src/LayergroupAddLayerCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/LayergroupRemoveLayerCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/RemoveCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/ScreenShotCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/SetDestinationRectangleCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/SetDimensionCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/SetLayerOrderCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/SetOpacityCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/SetOrderWithinLayerCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/SetOrientationCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/SetPositionCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/SetShaderCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/SetSourceRectangleCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/SetUniformsCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/SetVisibilityCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/SurfacegroupAddSurfaceCommand.cpp [new file with mode: 0644]
LayerManagerCommands/src/SurfacegroupRemoveSurfaceCommand.cpp [new file with mode: 0644]
LayerManagerExamples/EGLX11ApplicationExample/include/egl_helper.h
LayerManagerExamples/EGLX11ApplicationExample/include/gles2application.h
LayerManagerExamples/EGLX11ApplicationExample/src/eglX11_application.cpp
LayerManagerExamples/EGLX11ApplicationExample/src/egl_helper.cpp
LayerManagerExamples/EGLX11ApplicationExample/src/gles2application.cpp
LayerManagerExamples/GLXApplicationExample/include/gl2application.h
LayerManagerExamples/GLXApplicationExample/include/glx_helper.h
LayerManagerExamples/GLXApplicationExample/src/gl2application.cpp
LayerManagerExamples/GLXApplicationExample/src/glxX11_application.cpp
LayerManagerExamples/GLXApplicationExample/src/glx_helper.cpp
LayerManagerExamples/LayerManagerClientExample/src/LayermanagerClientTest.c
LayerManagerExamples/LayerSceneDescriptionExample/include/LayerScene.h
LayerManagerPlugins/Communicators/DBUSCommunicator/CMakeLists.txt
LayerManagerPlugins/Communicators/DBUSCommunicator/include/DBUSCommunicator.h
LayerManagerPlugins/Communicators/DBUSCommunicator/include/DBUSConfiguration.h [new file with mode: 0644]
LayerManagerPlugins/Communicators/DBUSCommunicator/include/DBUSIntrospection.h [new file with mode: 0644]
LayerManagerPlugins/Communicators/DBUSCommunicator/include/DBUSMessageHandler.h [new file with mode: 0644]
LayerManagerPlugins/Communicators/DBUSCommunicator/include/DBUSTypes.h [new file with mode: 0644]
LayerManagerPlugins/Communicators/DBUSCommunicator/src/DBUSCommunicator.cpp
LayerManagerPlugins/Communicators/DBUSCommunicator/src/DBUSIntrospection.cpp [new file with mode: 0644]
LayerManagerPlugins/Communicators/DBUSCommunicator/src/DBUSMessageHandler.cpp [new file with mode: 0644]
LayerManagerPlugins/Communicators/DBUSCommunicator/test/CMakeLists.txt
LayerManagerPlugins/Communicators/DBUSCommunicator/test/DBUSCommunicatorTest.cpp
LayerManagerPlugins/Communicators/DBUSCommunicator/test/gmock/gmock-gtest-all.cc
LayerManagerPlugins/Communicators/DBUSCommunicator/test/gmock/gmock.h
LayerManagerPlugins/Communicators/DBUSCommunicator/test/gmock/gmock_main.cc
LayerManagerPlugins/Communicators/DBUSCommunicator/test/gtest/gtest-all.cc
LayerManagerPlugins/Communicators/DBUSCommunicator/test/gtest/gtest.h
LayerManagerPlugins/Communicators/DBUSCommunicator/test/gtest/gtest_main.cc
LayerManagerPlugins/Communicators/DBUSCommunicator/test/mock_CommandExecutor.h
LayerManagerPlugins/Communicators/DBUSCommunicator/test/mock_Communicator.h
LayerManagerPlugins/Communicators/DBUSCommunicator/test/mock_Layerlist.h
LayerManagerPlugins/Communicators/DBUSCommunicator/test/mock_Renderer.h
LayerManagerPlugins/Renderers/Base/include/BaseRenderer.h
LayerManagerPlugins/Renderers/Base/include/RenderUtil.h
LayerManagerPlugins/Renderers/Base/src/BaseRenderer.cpp
LayerManagerPlugins/Renderers/Graphic/include/GraphicSystems/BaseGraphicSystem.h
LayerManagerPlugins/Renderers/Graphic/include/GraphicSystems/GLESGraphicSystem.h
LayerManagerPlugins/Renderers/Graphic/include/GraphicSystems/GLXGraphicsystem.h
LayerManagerPlugins/Renderers/Graphic/include/PlatformSurfaces/BeaglePlatformSurface.h
LayerManagerPlugins/Renderers/Graphic/include/PlatformSurfaces/EglXPlatformSurface.h
LayerManagerPlugins/Renderers/Graphic/include/PlatformSurfaces/GLXPlatformSurface.h
LayerManagerPlugins/Renderers/Graphic/include/PlatformSurfaces/XPlatformSurface.h
LayerManagerPlugins/Renderers/Graphic/include/TextureBinders/BeagleEglImage.h
LayerManagerPlugins/Renderers/Graphic/include/TextureBinders/ITextureBinder.h
LayerManagerPlugins/Renderers/Graphic/include/TextureBinders/X11Copy.h
LayerManagerPlugins/Renderers/Graphic/include/TextureBinders/X11CopyGLES.h
LayerManagerPlugins/Renderers/Graphic/include/TextureBinders/X11CopyGLX.h
LayerManagerPlugins/Renderers/Graphic/include/TextureBinders/X11EglImage.h
LayerManagerPlugins/Renderers/Graphic/include/TextureBinders/X11TextureFromPixmap.h
LayerManagerPlugins/Renderers/Graphic/include/WindowSystems/BaseWindowSystem.h
LayerManagerPlugins/Renderers/Graphic/include/WindowSystems/NullWindowSystem.h
LayerManagerPlugins/Renderers/Graphic/include/WindowSystems/X11WindowSystem.h
LayerManagerPlugins/Renderers/Graphic/src/GraphicSystems/GLESGraphicSystem.cpp
LayerManagerPlugins/Renderers/Graphic/src/GraphicSystems/GLXGraphicSystem.cpp
LayerManagerPlugins/Renderers/Graphic/src/TextureBinders/X11Copy.cpp
LayerManagerPlugins/Renderers/Graphic/src/TextureBinders/X11CopyGLES.cpp
LayerManagerPlugins/Renderers/Graphic/src/TextureBinders/X11CopyGLX.cpp
LayerManagerPlugins/Renderers/Graphic/src/TextureBinders/X11EglImage.cpp
LayerManagerPlugins/Renderers/Graphic/src/TextureBinders/X11TextureFromPixmap.cpp
LayerManagerPlugins/Renderers/Graphic/src/WindowSystems/NullWindowSystem.cpp
LayerManagerPlugins/Renderers/Graphic/src/WindowSystems/X11WindowSystem.cpp
LayerManagerPlugins/Renderers/Platform/BeagleRenderer/include/BeagleRenderer.h
LayerManagerPlugins/Renderers/Platform/BeagleRenderer/include/ShaderProgramBeagle.h
LayerManagerPlugins/Renderers/Platform/BeagleRenderer/readme [new file with mode: 0644]
LayerManagerPlugins/Renderers/Platform/BeagleRenderer/src/BeagleRenderer.cpp
LayerManagerPlugins/Renderers/Platform/BeagleRenderer/src/ShaderProgramBeagle.cpp
LayerManagerPlugins/Renderers/Platform/GLXRenderer/include/X11GLXRenderer.h
LayerManagerPlugins/Renderers/Platform/GLXRenderer/src/X11GLXRenderer.cpp
LayerManagerPlugins/Renderers/Platform/X11GLESRenderer/include/ShaderProgramGLES.h
LayerManagerPlugins/Renderers/Platform/X11GLESRenderer/include/X11GLESRenderer.h
LayerManagerPlugins/Renderers/Platform/X11GLESRenderer/src/ShaderProgramGLES.cpp
LayerManagerPlugins/Renderers/Platform/X11GLESRenderer/src/X11GLESRenderer.cpp
LayerManagerService/CMakeLists.txt
LayerManagerService/include/BaseCommunicator.h [deleted file]
LayerManagerService/include/CommandExecutor.h [deleted file]
LayerManagerService/include/CommandList.h [new file with mode: 0644]
LayerManagerService/include/CommunicatorList.h [new file with mode: 0644]
LayerManagerService/include/ExecutionType.h [new file with mode: 0644]
LayerManagerService/include/GraphicalGroup.h
LayerManagerService/include/GraphicalSurface.h
LayerManagerService/include/ICommand.h [new file with mode: 0644]
LayerManagerService/include/ICommandExecutor.h [new file with mode: 0644]
LayerManagerService/include/ICommunicator.h [new file with mode: 0644]
LayerManagerService/include/ILayerList.h [deleted file]
LayerManagerService/include/IRenderer.h
LayerManagerService/include/IScene.h [new file with mode: 0644]
LayerManagerService/include/Layer.h
LayerManagerService/include/LayerCapabilities.h
LayerManagerService/include/LayerGroup.h [moved from LayerManagerService/include/commands/ExitCommand.h with 69% similarity]
LayerManagerService/include/LayerGroupMap.h [new file with mode: 0644]
LayerManagerService/include/LayerList.h
LayerManagerService/include/LayerMap.h [new file with mode: 0644]
LayerManagerService/include/LayerType.h
LayerManagerService/include/Layermanager.h
LayerManagerService/include/LogicalGraphicsObject.h
LayerManagerService/include/ObjectType.h
LayerManagerService/include/OrientationType.h [moved from LayerManagerService/include/Orientation.h with 86% similarity]
LayerManagerService/include/PixelFormat.h
LayerManagerService/include/PlatformSurface.h
LayerManagerService/include/Rectangle.h
LayerManagerService/include/RendererList.h [new file with mode: 0644]
LayerManagerService/include/Scene.h [new file with mode: 0644]
LayerManagerService/include/ScreenShotType.h
LayerManagerService/include/Shader.h
LayerManagerService/include/ShaderMap.h [new file with mode: 0644]
LayerManagerService/include/ShaderProgram.h
LayerManagerService/include/ShaderProgramFactory.h
LayerManagerService/include/ShaderProgramList.h [new file with mode: 0644]
LayerManagerService/include/ShaderUniform.h
LayerManagerService/include/Surface.h
LayerManagerService/include/SurfaceGroup.h [new file with mode: 0644]
LayerManagerService/include/SurfaceGroupMap.h [new file with mode: 0644]
LayerManagerService/include/SurfaceList.h [new file with mode: 0644]
LayerManagerService/include/SurfaceMap.h [new file with mode: 0644]
LayerManagerService/include/UniformMap.h [new file with mode: 0644]
LayerManagerService/include/Vector2.h
LayerManagerService/include/commands/Command.h [deleted file]
LayerManagerService/include/commands/CreateCommand.h [deleted file]
LayerManagerService/include/commands/CreateShaderCommand.h [deleted file]
LayerManagerService/include/commands/DestroyShaderCommand.h [deleted file]
LayerManagerService/include/commands/GetDimensionCommand.h [deleted file]
LayerManagerService/include/commands/GetOpacityCommand.h [deleted file]
LayerManagerService/include/commands/GetOrientationCommand.h [deleted file]
LayerManagerService/include/commands/GetPixelformatCommand.h [deleted file]
LayerManagerService/include/commands/GetPositionCommand.h [deleted file]
LayerManagerService/include/commands/GetVisibilityCommand.h [deleted file]
LayerManagerService/include/commands/LayerAddSurfaceCommand.h [deleted file]
LayerManagerService/include/commands/LayergroupAddLayerCommand.h [deleted file]
LayerManagerService/include/commands/RemoveCommand.h [deleted file]
LayerManagerService/include/commands/SetDestinationRectangleCommand.h [deleted file]
LayerManagerService/include/commands/SetDimensionCommand.h [deleted file]
LayerManagerService/include/commands/SetLayerOrderCommand.h [deleted file]
LayerManagerService/include/commands/SetOpacityCommand.h [deleted file]
LayerManagerService/include/commands/SetOrderWithinLayerCommand.h [deleted file]
LayerManagerService/include/commands/SetOrientationCommand.h [deleted file]
LayerManagerService/include/commands/SetPositionCommand.h [deleted file]
LayerManagerService/include/commands/SetShaderCommand.h [deleted file]
LayerManagerService/include/commands/SetSourceRectangleCommand.h [deleted file]
LayerManagerService/include/commands/SetUniformsCommand.h [deleted file]
LayerManagerService/include/commands/SetVisibilityCommand.h [deleted file]
LayerManagerService/include/commands/SurfacegroupAddSurfaceCommand.h [deleted file]
LayerManagerService/src/LayerList.cpp [deleted file]
LayerManagerService/src/Layermanager.cpp
LayerManagerService/src/LogicalGraphicsObject.cpp
LayerManagerService/src/Scene.cpp [new file with mode: 0644]
LayerManagerService/src/main.cpp
LayerManagerService/src/shader/Shader.cpp
LayerManagerService/src/shader/ShaderProgram.cpp
LayerManagerService/src/shader/ShaderProgramFactory.cpp
LayerManagerService/src/shader/ShaderUniform.cpp
LayerManagerUtils/CMakeLists.txt
LayerManagerUtils/include/Bitmap.h
LayerManagerUtils/include/IlmMatrix.h
LayerManagerUtils/include/Log.h
LayerManagerUtils/include/LogMessageBuffer.h
LayerManagerUtils/src/Bitmap.cpp
LayerManagerUtils/src/IlmMatrix.cpp
LayerManagerUtils/src/Log.cpp
LayerManagerUtils/src/LogMessageBuffer.cpp
README
distfiles