[Tizen] Do not skip rendering if update required keep rendering accepted/tizen/unified/20240326.104931 accepted/tizen/unified/x/20240327.045110
authorTaehyub Kim <taehyub.kim@samsung.com>
Mon, 25 Mar 2024 08:24:04 +0000 (17:24 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Mon, 25 Mar 2024 08:24:04 +0000 (17:24 +0900)
This reverts commit 26ac66ba14932e1d1cff7716fa2d7ebf747321fa.

dali/internal/adaptor/common/combined-update-render-controller.cpp

index 3697bc4..b544357 100644 (file)
@@ -736,6 +736,12 @@ void CombinedUpdateRenderController::UpdateRenderThread()
       mNotificationTrigger.Trigger();
       LOG_UPDATE_RENDER("Notification Triggered");
     }
+  
+    if(uploadOnly && (keepUpdatingStatus & Dali::Integration::KeepUpdating::STAGE_KEEP_RENDERING))
+    {
+      // Render forcely if there exist some keep rendering required.
+      uploadOnly = false;
+    }
 
     // Optional logging of update/render status
     mUpdateStatusLogger.Log(keepUpdatingStatus);
@@ -830,6 +836,10 @@ void CombinedUpdateRenderController::UpdateRenderThread()
         }
       }
     }
+    else
+    {
+      DALI_LOG_RELEASE_INFO("DALI Rendering skip (upload only)\n");
+    }
 
     TRACE_UPDATE_RENDER_BEGIN("DALI_POST_RENDER");
     if(!uploadOnly)