Change trace tag for text dorelayout 24/294424/1
authorBowon Ryu <bowon.ryu@samsung.com>
Mon, 19 Jun 2023 05:46:39 +0000 (14:46 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Mon, 19 Jun 2023 05:46:39 +0000 (14:46 +0900)
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 <bowon.ryu@samsung.com>
dali-toolkit/internal/text/controller/text-controller-relayouter.cpp

index 2f6745b..d595d00 100644 (file)
@@ -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<float>::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.