[Tizen] Print logs if dali skip rendering accepted/tizen/unified/20240321.142346 accepted/tizen/unified/20240321.155945 accepted/tizen/unified/x/20240326.073703
authorEverLEEst(SangHyeon Lee) <sh10233.lee@samsung.com>
Wed, 20 Mar 2024 09:31:57 +0000 (18:31 +0900)
committerEverLEEst(SangHyeon Lee) <sh10233.lee@samsung.com>
Wed, 20 Mar 2024 09:31:57 +0000 (18:31 +0900)
This reverts commit 91e06cc0af225ca806dbebd4feee3ea39ba1aaca.

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

index 9a7bead..7a934f1 100644 (file)
@@ -533,6 +533,14 @@ void RenderManager::PreRender(Integration::Scene& scene, std::vector<Rect<int>>&
   if(!sceneObject || sceneObject->IsRenderingSkipped())
   {
     // We don't need to calculate dirty rects
+    if(!sceneObject)
+    {
+      DALI_LOG_ERROR("Scene was empty handle. Skip pre-rendering\n");
+    }
+    else
+    {
+      DALI_LOG_RELEASE_INFO("RenderingSkipped set true. Skip pre-rendering\n");
+    }
     return;
   }
 
@@ -789,6 +797,7 @@ void RenderManager::RenderScene(Integration::RenderStatus& status, Integration::
   if(mImpl->partialUpdateAvailable == Integration::PartialUpdateAvailable::TRUE && !renderToFbo && clippingRect.IsEmpty())
   {
     // ClippingRect is empty. Skip rendering
+    DALI_LOG_DEBUG_INFO("ClippingRect is empty. Skip rendering\n");
     return;
   }
 
@@ -801,6 +810,7 @@ void RenderManager::RenderScene(Integration::RenderStatus& status, Integration::
   SceneGraph::Scene* sceneObject   = sceneInternal.GetSceneObject();
   if(!sceneObject)
   {
+    DALI_LOG_ERROR("Scene was empty handle. Skip rendering\n");
     return;
   }
 
index 7a971f5..f462f75 100644 (file)
@@ -1159,6 +1159,10 @@ uint32_t UpdateManager::Update(float    elapsedSeconds,
           }
           else
           {
+            if(uploadOnly)
+            {
+              DALI_LOG_RELEASE_INFO("Scene skip rendering set as true, during 'uploadOnly' was true.\n");
+            }
             scene->scene->SetSkipRendering(true);
           }