From a18360a1e5daa5dc14ae4df397b5e3090c6f0b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=B1=E5=B8=B8=E5=BE=B7?= Date: Wed, 17 Apr 2024 21:28:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=95=E5=B1=8F=E6=97=8B?= =?UTF-8?q?=E8=BD=AC=E6=A6=82=E7=8E=87=E6=80=A7=E4=BD=8D=E7=BD=AE=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 钱常德 Change-Id: Iddbb3b7cf90c5f840818ec23eed950b5f50416bd --- .../core/pipeline/rs_uni_render_virtual_processor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e394283891..1d078a7c75 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 @@ -88,7 +88,7 @@ bool RSUniRenderVirtualProcessor::Init(RSDisplayRenderNode& node, int32_t offset if (mirrorNode && isPhone_) { if (!(RSSystemProperties::IsFoldScreenFlag() && mirrorNode->GetScreenId() == 0) && (node.GetOriginScreenRotation() == ScreenRotation::ROTATION_90 || - node.GetOriginScreenRotation() == ScreenRotation::ROTATION_270)) { + node.GetOriginScreenRotation() == ScreenRotation::ROTATION_270) && !canvasRotation_) { CanvasRotation(node.GetOriginScreenRotation(), renderFrameConfig_.width, renderFrameConfig_.height); canvas_->Translate(-(renderFrameConfig_.height / 2.0f), -(renderFrameConfig_.width / 2.0f)); } -- Gitee