[Tizen] Temporarily force updateScene flag true when rendering behavior is continuously
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 7 Sep 2020 05:20:50 +0000 (14:20 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Mon, 7 Sep 2020 05:20:53 +0000 (14:20 +0900)
This reverts commit 32af15b6a181decaafa18779327d414f7f437c2a.

Change-Id: I071912754cca7eed5fc33553ebf8e4d0be68ea70

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

index a8f2c07..d9804ec 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..
   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;
 
 
   bool keepRendererRendering = false;