PlatformSurfaces : modified isReadyForRendering() to always return true
authorTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Wed, 18 Jan 2012 13:39:18 +0000 (15:39 +0200)
committerTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Wed, 18 Jan 2012 13:39:18 +0000 (15:39 +0200)
In some situations, only one damage event is sent during the startup of an application, but the
Platform surface os not yet available. In this case isReadyForRendering will always return false
and the content of the surface is not rendered.

LayerManagerPlugins/Renderers/Graphic/include/PlatformSurfaces/XPlatformSurface.h

index d15a29d..efcd838 100644 (file)
@@ -52,7 +52,8 @@ public:
 
     bool isReadyForRendering()
     {
-        return m_isReadyForRendering;
+       return true;        
+       /*return m_isReadyForRendering;*/
     }
     // TODO: private/protected
     bool isMapped;