[Tizen] Print logs if dali skip rendering accepted/tizen_unified_riscv accepted/tizen/unified/20240124.163244 accepted/tizen/unified/riscv/20240128.235644 accepted/tizen/unified/x/20240205.064111
authorBowon Ryu <bowon.ryu@samsung.com>
Wed, 24 Jan 2024 05:37:14 +0000 (14:37 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Wed, 24 Jan 2024 05:37:14 +0000 (14:37 +0900)
This reverts commit 008f93328d1860326641d8915f10bb8525b6e458.

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

index 4931f12..2844fe3 100644 (file)
@@ -540,6 +540,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;
   }
 
@@ -796,6 +804,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;
   }
 
@@ -808,6 +817,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 098c0a9..ca5f458 100644 (file)
@@ -1141,6 +1141,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);
           }