[Tizen] Temporarily force updateScene flag true when rendering behavior is continuously 94/239794/2
authorSeungho, Baek <sbsh.baek@samsung.com>
Mon, 13 Jul 2020 04:39:37 +0000 (13:39 +0900)
committerseungho <seungho@seungho.tn.corp.samsungelectronics.net>
Thu, 30 Jul 2020 02:18:32 +0000 (11:18 +0900)
 - Set updateScene flag true if developer set rendering behavior as continuously.

Change-Id: If5003ab5be3fa9293ef94ed2482e6cd36ac5166e
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
dali/internal/update/manager/update-manager.cpp

index b6372c3..7c9400e 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;