[Tizen] Temporarily force updateScene flag true when rendering behavior is continuously
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 1 Sep 2020 07:28:58 +0000 (16:28 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Tue, 1 Sep 2020 07:29:02 +0000 (16:29 +0900)
This reverts commit b2e17281041c0b7f79075cc537612eeb13f4e629.

Change-Id: I666614b1ab22a079a408e832c538ffe3543a7423

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

index ff5e5ac..1b1c5e4 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;