!12137 修改ondraw关键日志级别

Merge pull request !12137 from balingbaling/trace
This commit is contained in:
openharmony_ci 2024-06-13 13:17:11 +00:00 committed by Gitee
commit 482cf744c0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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,"