/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_processor.cpp | 138 screenInfo_ = displayParams->GetScreenInfo(); in InitForRenderThread() 139 screenInfo_.rotation = displayParams->GetNodeRotation(); in InitForRenderThread() 151 static_cast<float>(screenInfo_.width), static_cast<float>(screenInfo_.height), in InitForRenderThread() 158 renderFrameConfig_ = RSBaseRenderUtil::GetFrameBufferRequestConfig(screenInfo_); in InitForRenderThread() 178 screenInfo_ = screenManager->QueryScreenInfo(node.GetScreenId()); in Init() 179 screenInfo_.rotation = node.GetRotation(); in Init() 186 static_cast<float>(screenInfo_.width), static_cast<float>(screenInfo_.height), in Init() 192 renderFrameConfig_ = RSBaseRenderUtil::GetFrameBufferRequestConfig(screenInfo_); in Init() 205 std::swap(screenInfo_.width, screenInfo_.height); in SetMirrorScreenSwap()
|
H A D | rs_uni_render_composer_adapter.cpp | 69 screenInfo_ = screenInfo; in Init() 71 …aphicIRect damageRect {0, 0, static_cast<int32_t>(screenInfo_.width), static_cast<int32_t>(screenI… in Init() 473 int32_t screenWidth = screenInfo_.phyWidth; in DealWithNodeGravity() 474 int32_t screenHeight = screenInfo_.phyHeight; in DealWithNodeGravity() 475 const auto screenRotation = screenInfo_.rotation; in DealWithNodeGravity() 541 int32_t screenWidth = screenInfo_.phyWidth; in DealWithNodeGravity() 542 int32_t screenHeight = screenInfo_.phyHeight; in DealWithNodeGravity() 1022 ScreenRotation rotation = screenInfo_.rotation; in LayerScaleFit() 1068 ScreenRotation rotation = screenInfo_.rotation; in IsOutOfScreenRegion() 1429 SetLayerSize(layer, screenInfo_); in LayerRotate() [all …]
|
H A D | rs_composer_adapter.cpp | 68 screenInfo_ = screenInfo; in Init() 70 …aphicIRect damageRect {0, 0, static_cast<int32_t>(screenInfo_.width), static_cast<int32_t>(screenI… in Init() 174 int32_t boundWidth = static_cast<int32_t>(screenInfo_.width); in IsOutOfScreenRegion() 175 int32_t boundHeight = static_cast<int32_t>(screenInfo_.height); in IsOutOfScreenRegion() 176 ScreenRotation rotation = screenInfo_.rotation; in IsOutOfScreenRegion() 219 int32_t screenWidth = screenInfo_.width; in DealWithNodeGravity() 220 int32_t screenHeight = screenInfo_.height; in DealWithNodeGravity() 221 const auto screenRotation = screenInfo_.rotation; in DealWithNodeGravity() 670 SetLayerSize(layer, screenInfo_); in LayerRotate() 671 SetLayerTransform(layer, node, surface, screenInfo_.rotation); in LayerRotate() [all …]
|
H A D | rs_uni_render_visitor.cpp | 194 screenInfo_ = visitor.screenInfo_; in RSUniRenderVisitor() 664 screenRenderParams.screenInfo = std::move(screenInfo_); in QuickPrepareDisplayRenderNode() 1155 curDisplayDirtyManager_->SetSurfaceSize(screenInfo_.width, screenInfo_.height); in InitDisplayInfo() 1156 screenRect_ = RectI{0, 0, screenInfo_.width, screenInfo_.height}; in InitDisplayInfo() 1179 switch (screenInfo_.state) { in InitDisplayInfo() 1216 curSurfaceDirtyManager_->SetSurfaceSize(screenInfo_.width, screenInfo_.height); in BeforeUpdateSurfaceDirtyCalc() 1359 …auto canvas = std::make_unique<Rosen::Drawing::Canvas>(screenInfo_.phyWidth, screenInfo_.phyHeight… in UpdateSrcRect() 1377 curDisplayNode_->GetDisplayOffsetY(), screenInfo_.width, screenInfo_.height)); in UpdateDstRect() 1404 RSUniRenderUtil::LayerRotate(node, screenInfo_); in UpdateHwcNodeByTransform() 1405 RSUniRenderUtil::LayerCrop(node, screenInfo_); in UpdateHwcNodeByTransform() [all …]
|
H A D | rs_uni_render_visitor.h | 133 screenInfo_ = screenInfo; in SetScreenInfo() 281 return !node.GetSkipLayer() && !node.GetSecurityLayer() && (screenInfo_.whiteList.empty() || in IsValidInVirtualScreen() 282 screenInfo_.whiteList.find(node.GetId()) != screenInfo_.whiteList.end()); in IsValidInVirtualScreen() 308 ScreenInfo screenInfo_; variable
|
H A D | rs_uni_render_processor.cpp | 59 screenInfo_.rotation = ScreenRotation::ROTATION_0; in Init() 61 return uniComposerAdapter_->Init(screenInfo_, offsetX_, offsetY_, mirrorAdaptiveCoefficient_); in Init() 73 screenInfo_.rotation = ScreenRotation::ROTATION_0; in InitForRenderThread() 75 return uniComposerAdapter_->Init(screenInfo_, offsetX_, offsetY_, mirrorAdaptiveCoefficient_); in InitForRenderThread() 329 … } else if (layerInfo.dstRect.x + layerInfo.dstRect.w >= static_cast<int32_t>(screenInfo_.width)) { in ProcessLayerSetCropRect() 343 …} else if (layerInfo.dstRect.y + layerInfo.dstRect.h >= static_cast<int32_t>(screenInfo_.height)) { in ProcessLayerSetCropRect()
|
H A D | rs_physical_screen_processor.cpp | 46 return composerAdapter_->Init(screenInfo_, offsetX, offsetY, mirrorAdaptiveCoefficient_, in Init()
|
H A D | rs_composer_adapter.h | 77 ScreenInfo screenInfo_; variable
|
H A D | rs_uni_render_composer_adapter.h | 89 ScreenInfo screenInfo_; variable
|
H A D | rs_processor.h | 108 ScreenInfo screenInfo_; variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uni_render_composer_adapter_test.cpp | 693 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH; 694 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT; 713 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K; 906 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH; 907 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT; 927 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K; 928 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT; 949 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH; 950 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT; 967 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH; [all …]
|
H A D | rs_physical_screen_processor_test.cpp | 334 ASSERT_EQ(rsHardwareProcessor->screenInfo_.width, 0);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/params/ |
H A D | rs_display_render_params.cpp | 187 targetDisplayParams->screenInfo_ = std::move(screenInfo_); in OnSync() 212 ret += RENDER_PARAM_TO_STRING(screenInfo_); in ToString()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/dfx/ |
H A D | rs_dirty_rects_dfx.h | 54 screenInfo_ = screenInfo; in SetVirtualDirtyRects() 60 ScreenInfo screenInfo_; variable
|
H A D | rs_dirty_rects_dfx.cpp | 113 … static_cast<int32_t>(screenInfo_.GetRotatedHeight()) - subRect.GetTop() - subRect.GetHeight(), in DrawDirtyRegionInVirtual() 118 … static_cast<int32_t>(screenInfo_.GetRotatedHeight()) - subRect.GetTop() - subRect.GetHeight(), in DrawDirtyRegionInVirtual()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/params/ |
H A D | rs_render_thread_params.h | 389 return screenInfo_; in GetScreenInfo() 394 screenInfo_ = info; in SetScreenInfo() 474 ScreenInfo screenInfo_ = {}; variable
|
H A D | rs_display_render_params.h | 58 return screenInfo_; in GetScreenInfo() 169 ScreenInfo screenInfo_; variable
|
/ohos5.0/foundation/window/window_manager/dm/src/ |
H A D | screen.cpp | 36 screenInfo_ = info; in Impl()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_display_render_node.cpp | 246 displayParams->screenInfo_ = std::move(screenRenderParams.screenInfo); in UpdateScreenRenderParams()
|