Bug fix in screenshot for layer & surface
authorRahul Singhal <rasinghal@nvidia.com>
Thu, 1 Sep 2011 12:14:18 +0000 (17:44 +0530)
committerMichael Schuldt <michael.schuldt@bmw-carit.de>
Tue, 6 Sep 2011 06:32:08 +0000 (08:32 +0200)
commit62031e0c277430dec2085999d3e50bbfec48a072
treedbd5ded4beecda18223eb70ce01e6a7429d4a882
parentb751171fcf654363b22be9e583a25fb913d3d7d4
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).
LayerManagerCommands/src/ScreenShotCommand.cpp
LayerManagerPlugins/Renderers/Graphic/include/WindowSystems/BaseWindowSystem.h
LayerManagerPlugins/Renderers/Graphic/include/WindowSystems/X11WindowSystem.h
LayerManagerPlugins/Renderers/Graphic/src/WindowSystems/X11WindowSystem.cpp
LayerManagerPlugins/Renderers/Platform/GLXRenderer/include/X11GLXRenderer.h
LayerManagerPlugins/Renderers/Platform/GLXRenderer/src/X11GLXRenderer.cpp
LayerManagerPlugins/Renderers/Platform/X11GLESRenderer/include/X11GLESRenderer.h
LayerManagerPlugins/Renderers/Platform/X11GLESRenderer/src/X11GLESRenderer.cpp
LayerManagerService/include/IRenderer.h