[Tizen] Do not skip rendering if update required keep rendering accepted/tizen/unified/20240313.134232 accepted/tizen/unified/20240313.135421 accepted/tizen/unified/x/20240314.073451
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 12 Mar 2024 05:09:50 +0000 (14:09 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 12 Mar 2024 05:09:50 +0000 (14:09 +0900)
This reverts commit a4f5e7ebbd3f7c8d965ddfc39d3cb1c0a491977a.

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)