X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fadaptor%2Fcommon%2Fcombined-update-render-controller.cpp;h=c19103c2d12fae00b99664616c260e7c4b3eba51;hb=d88967c042a067d2be2f1b64c6e1c24dbca27d97;hp=b9598cc6c061ad690c5493eb90c279917a9bf598;hpb=98aeb516655ec470274c8aa0b0f398dacd7e492f;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/adaptor/common/combined-update-render-controller.cpp b/dali/internal/adaptor/common/combined-update-render-controller.cpp index b9598cc..c19103c 100644 --- a/dali/internal/adaptor/common/combined-update-render-controller.cpp +++ b/dali/internal/adaptor/common/combined-update-render-controller.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023 Samsung Electronics Co., Ltd. + * Copyright (c) 2024 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -623,7 +623,7 @@ void CombinedUpdateRenderController::UpdateRenderThread() while(UpdateRenderReady(useElapsedTime, updateRequired, timeToSleepUntil)) { LOG_UPDATE_RENDER_TRACE; - TRACE_UPDATE_RENDER_SCOPE("DALI_UPDATE_RENDER"); + TRACE_UPDATE_RENDER_BEGIN("DALI_UPDATE_RENDER"); // For thread safe bool uploadOnly = mUploadWithoutRendering; @@ -733,6 +733,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); @@ -827,6 +833,10 @@ void CombinedUpdateRenderController::UpdateRenderThread() } } } + else + { + DALI_LOG_RELEASE_INFO("DALI Rendering skip (upload only)\n"); + } TRACE_UPDATE_RENDER_BEGIN("DALI_POST_RENDER"); if(!uploadOnly) @@ -909,6 +919,8 @@ void CombinedUpdateRenderController::UpdateRenderThread() } } + TRACE_UPDATE_RENDER_END("DALI_UPDATE_RENDER"); + // Render to FBO is intended to measure fps above 60 so sleep is not wanted. if(0u == renderToFboInterval) {