From d3249c184476fcf0cdcf4551823ff2a0b0b1fe9e Mon Sep 17 00:00:00 2001 From: Bowon Ryu Date: Mon, 19 Jun 2023 14:46:39 +0900 Subject: [PATCH] Change trace tag for text dorelayout Change the tag of DALI_TEXT_DORELAYOUT log to DALI_TRACE_PERFORMANCE_MARKER. This will output DoRelayout's trace log by default. Change-Id: I1f75505e172fdb7ab18c5314cd950681d3d4f483 Signed-off-by: Bowon Ryu --- .../internal/text/controller/text-controller-relayouter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dali-toolkit/internal/text/controller/text-controller-relayouter.cpp b/dali-toolkit/internal/text/controller/text-controller-relayouter.cpp index 2f6745b556..d595d00111 100644 --- a/dali-toolkit/internal/text/controller/text-controller-relayouter.cpp +++ b/dali-toolkit/internal/text/controller/text-controller-relayouter.cpp @@ -36,6 +36,7 @@ Debug::Filter* gLogFilter = Debug::Filter::New(Debug::NoLogging, true, "LOG_TEXT #endif DALI_INIT_TRACE_FILTER(gTraceFilter, DALI_TRACE_TEXT_PERFORMANCE_MARKER, false); +DALI_INIT_TRACE_FILTER(gTraceFilter2, DALI_TRACE_PERFORMANCE_MARKER, false); constexpr float MAX_FLOAT = std::numeric_limits::max(); @@ -557,7 +558,7 @@ Controller::UpdateTextType Controller::Relayouter::Relayout(Controller& controll bool Controller::Relayouter::DoRelayout(Controller::Impl& impl, const Size& size, OperationsMask operationsRequired, Size& layoutSize) { DALI_LOG_INFO(gLogFilter, Debug::Verbose, "-->Controller::Relayouter::DoRelayout %p size %f,%f\n", &impl, size.width, size.height); - DALI_TRACE_SCOPE(gTraceFilter, "DALI_TEXT_DORELAYOUT"); + DALI_TRACE_SCOPE(gTraceFilter2, "DALI_TEXT_DORELAYOUT"); bool viewUpdated(false); // Calculate the operations to be done. -- 2.34.1