From 688cfdea5f42582e42fadef183a1c35bb44d2e89 Mon Sep 17 00:00:00 2001 From: balingbaling Date: Thu, 13 Jun 2024 19:53:29 +0800 Subject: [PATCH] trace Signed-off-by: balingbaling Change-Id: I22e0f0767ef874773c6750c73461bed130a9c855 --- .../core/drawable/rs_surface_render_node_drawable.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rosen/modules/render_service/core/drawable/rs_surface_render_node_drawable.cpp b/rosen/modules/render_service/core/drawable/rs_surface_render_node_drawable.cpp index d899147151..15a1e34b18 100644 --- a/rosen/modules/render_service/core/drawable/rs_surface_render_node_drawable.cpp +++ b/rosen/modules/render_service/core/drawable/rs_surface_render_node_drawable.cpp @@ -209,7 +209,8 @@ void RSSurfaceRenderNodeDrawable::OnDraw(Drawing::Canvas& canvas) return; } const auto &absDrawRect = surfaceParams->GetAbsDrawRect(); - RS_OPTIONAL_TRACE_NAME_FMT("RSSurfaceRenderNodeDrawable::OnDraw:[%s] (%d %d %d %d)Alpha: %f", name_.c_str(), + // warning : don't delete this trace or change trace level to optional !!! + RS_TRACE_NAME_FMT("RSSurfaceRenderNodeDrawable::OnDraw:[%s] (%d %d %d %d)Alpha: %f", name_.c_str(), absDrawRect.left_, absDrawRect.top_, absDrawRect.width_, absDrawRect.height_, surfaceNode->GetGlobalAlpha()); RS_LOGD("RSSurfaceRenderNodeDrawable::OnDraw node:%{public}" PRIu64 ",child size:%{public}u,"