Multiple Bug fixes in X11WindowSystem
authorRahul Singhal <rasinghal@nvidia.com>
Fri, 2 Sep 2011 11:37:11 +0000 (17:07 +0530)
committerMichael Schuldt <michael.schuldt@bmw-carit.de>
Tue, 6 Sep 2011 06:32:21 +0000 (08:32 +0200)
commit8d1e02c925dba222091a3b394d6671deb5338a76
tree274c345ba7277964241081ca21709163bc3bee88
parent62031e0c277430dec2085999d3e50bbfec48a072
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.
LayerManagerPlugins/Renderers/Graphic/include/WindowSystems/X11WindowSystem.h
LayerManagerPlugins/Renderers/Graphic/src/WindowSystems/X11WindowSystem.cpp