diff --git a/rosen/modules/render_service/core/pipeline/rs_uni_render_virtual_processor.cpp b/rosen/modules/render_service/core/pipeline/rs_uni_render_virtual_processor.cpp index d9e5818ce5..8019bc71af 100644 --- a/rosen/modules/render_service/core/pipeline/rs_uni_render_virtual_processor.cpp +++ b/rosen/modules/render_service/core/pipeline/rs_uni_render_virtual_processor.cpp @@ -220,11 +220,6 @@ void RSUniRenderVirtualProcessor::ProcessDisplaySurface(RSDisplayRenderNode& nod RS_LOGE("RSUniRenderVirtualProcessor::ProcessDisplaySurface: Canvas or buffer is null!"); return; } - RS_TRACE_NAME_FMT("RSUniRenderVirtualProcessor::ProcessDisplaySurface:(%f, %f, %f, %f), " \ - "rotation:%d, oriRotation:%d", - mainWidth_, mainHeight_, mirrorWidth_, mirrorHeight_, - static_cast(node.GetScreenRotation()), static_cast(node.GetOriginScreenRotation())); - CanvasAdjustment(node, canvasRotation_); canvas_->Save(); @@ -238,6 +233,10 @@ void RSUniRenderVirtualProcessor::ProcessDisplaySurface(RSDisplayRenderNode& nod JudgeResolution(node); ScaleMirrorIfNeed(node); RotateMirrorCanvasIfNeed(node, canvasRotation_); + RS_TRACE_NAME_FMT("RSUniRenderVirtualProcessor::ProcessDisplaySurface:(%f, %f, %f, %f), " \ + "rotation:%d, oriRotation:%d", + mainWidth_, mainHeight_, mirrorWidth_, mirrorHeight_, + static_cast(node.GetScreenRotation()), static_cast(node.GetOriginScreenRotation())); renderEngine_->DrawDisplayNodeWithParams(*canvas_, node, params); canvas_->Restore(); diff --git a/rosen/modules/render_service/core/screen_manager/rs_screen_manager.cpp b/rosen/modules/render_service/core/screen_manager/rs_screen_manager.cpp index aa136de038..e6951c9bf6 100644 --- a/rosen/modules/render_service/core/screen_manager/rs_screen_manager.cpp +++ b/rosen/modules/render_service/core/screen_manager/rs_screen_manager.cpp @@ -1030,7 +1030,8 @@ int32_t RSScreenManager::ResizeVirtualScreen(ScreenId id, uint32_t width, uint32 return SCREEN_NOT_FOUND; } screens_.at(id)->ResizeVirtualScreen(width, height); - RS_LOGD("RSScreenManager %{public}s: resize virtual screen success", __func__); + RS_LOGI("RSScreenManager %{public}s: resize virtual screen success, width:%{public}u, height:%{public}u", + __func__, width, height); return SUCCESS; } diff --git a/rosen/modules/render_service_base/src/platform/ohos/rs_render_service_client.cpp b/rosen/modules/render_service_base/src/platform/ohos/rs_render_service_client.cpp index dc9ff95c36..3ba2b44f34 100644 --- a/rosen/modules/render_service_base/src/platform/ohos/rs_render_service_client.cpp +++ b/rosen/modules/render_service_base/src/platform/ohos/rs_render_service_client.cpp @@ -1055,6 +1055,7 @@ int32_t RSRenderServiceClient::ResizeVirtualScreen(ScreenId id, uint32_t width, return RENDER_SERVICE_NULL; } + ROSEN_LOGI("RSRenderServiceClient::ResizeVirtualScreen, width:%{public}u, height:%{public}u", width, height); return renderService->ResizeVirtualScreen(id, width, height); }