[Tizen] Temporarily force updateScene flag true when rendering behavior is continuously
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 18 Aug 2020 07:08:16 +0000 (16:08 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Tue, 18 Aug 2020 07:08:23 +0000 (16:08 +0900)
This reverts commit 6f7b6afe6838df8371b127930b403287b9b1ecff.

Change-Id: I068b4ee5c872e94537026cb596d3a95b7d02c5d0

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;