[Tizen] Temporarily force updateScene flag true when rendering behavior is continuously
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 24 Aug 2020 04:48:51 +0000 (13:48 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Mon, 24 Aug 2020 04:48:55 +0000 (13:48 +0900)
This reverts commit ff79852b5207a3880ff95b4ca3ce06dad7ddd660.

Change-Id: Ie142ab27831b0c0ad0918c8ece4f8040a7778973

dali/internal/update/manager/update-manager.cpp

index a3e4534..2d04a1e 100644 (file)
@@ -889,10 +889,11 @@ uint32_t UpdateManager::Update( float elapsedSeconds,
   const bool gestureUpdated = ProcessGestures( bufferIndex, lastVSyncTimeMilliseconds, nextVSyncTimeMilliseconds );
 
   bool updateScene = // The scene-graph requires an update if..
-      (mImpl->nodeDirtyFlags & RenderableUpdateFlags) ||    // ..nodes were dirty in previous frame OR
-      IsAnimationRunning()                            ||    // ..at least one animation is running OR
-      mImpl->messageQueue.IsSceneUpdateRequired()     ||    // ..a message that modifies the scene graph node tree is queued OR
-      gestureUpdated;                                       // ..a gesture property was updated
+      (mImpl->nodeDirtyFlags & RenderableUpdateFlags)                    ||    // ..nodes were dirty in previous frame OR
+      IsAnimationRunning()                                               ||    // ..at least one animation is running OR
+      mImpl->messageQueue.IsSceneUpdateRequired()                        ||    // ..a message that modifies the scene graph node tree is queued OR
+      (mImpl->renderingBehavior == DevelStage::Rendering::CONTINUOUSLY)  ||    // ..rendering behavior is DevelStage::Rendering::CONTINUOUSLY OR
+      gestureUpdated;                                                          // ..a gesture property was updated
 
   bool keepRendererRendering = false;