Home
last modified time | relevance | path

Searched refs:nodeParams (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_ui_capture_task_parallel.cpp187 const auto& nodeParams = nodeDrawable_->GetRenderParams(); in Run() local
188 if (nodeParams) { in Run()
193 if (nodeParams->GetMatrix().Invert(invertMatrix)) { in Run()
202 if (!RSUiFirstProcessStateCheckerHelper::CheckMatchAndWaitNotify(*nodeParams, false)) { in Run()
207 nodeParams->GetFirstLevelNodeId(), nodeParams->GetUifirstRootNodeId()); in Run()
H A Drs_base_render_util.h166 static int32_t GetScreenRotationOffset(RSSurfaceRenderParams* nodeParams);
168 RectF& localBounds, BufferDrawParam& params, RSSurfaceRenderParams* nodeParams = nullptr);
198 static ScreenId GetScreenIdFromSurfaceRenderParams(RSSurfaceRenderParams* nodeParams);
H A Drs_base_render_util.cpp1254 ScreenId RSBaseRenderUtil::GetScreenIdFromSurfaceRenderParams(RSSurfaceRenderParams* nodeParams) in GetScreenIdFromSurfaceRenderParams() argument
1259 auto displayLock = nodeParams->GetAncestorDisplayNode().lock(); in GetScreenIdFromSurfaceRenderParams()
1268 auto ancestorDrawable = nodeParams->GetAncestorDisplayDrawable().lock(); in GetScreenIdFromSurfaceRenderParams()
1290 int32_t RSBaseRenderUtil::GetScreenRotationOffset(RSSurfaceRenderParams* nodeParams) in GetScreenRotationOffset() argument
1293 if (nodeParams == nullptr) { in GetScreenRotationOffset()
1298 uint32_t apiCompatibleVersion = nodeParams->GetApiCompatibleVersion(); in GetScreenRotationOffset()
1304 ScreenId screenId = GetScreenIdFromSurfaceRenderParams(nodeParams); in GetScreenRotationOffset()
1316 RectF &localBounds, BufferDrawParam &params, RSSurfaceRenderParams *nodeParams) in DealWithSurfaceRotationAndGravity() argument
1321 if (nodeParams != nullptr && nodeParams->GetFixRotationByUser()) { in DealWithSurfaceRotationAndGravity()
1322 int32_t rotationDegree = GetScreenRotationOffset(nodeParams); in DealWithSurfaceRotationAndGravity()
[all …]
H A Drs_uni_render_util.cpp421 auto& nodeParams = surfaceDrawable->GetRenderParams(); in CreateBufferDrawParam() local
422 if (useRenderParams && !nodeParams) { in CreateBufferDrawParam()
427 auto surfaceParams = static_cast<RSSurfaceRenderParams*>(nodeParams.get()); in CreateBufferDrawParam()
475 auto& nodeParams = surfaceDrawable.GetRenderParams(); in CreateBufferDrawParam() local
476 if (!nodeParams) { in CreateBufferDrawParam()
480 auto surfaceNodeParams = static_cast<RSSurfaceRenderParams*>(nodeParams.get()); in CreateBufferDrawParam()
488 auto boundWidth = nodeParams->GetBounds().GetWidth(); in CreateBufferDrawParam()
489 auto boundHeight = nodeParams->GetBounds().GetHeight(); in CreateBufferDrawParam()
492 const sptr<SurfaceBuffer> buffer = nodeParams->GetBuffer(); in CreateBufferDrawParam()
497 params.acquireFence = nodeParams->GetAcquireFence(); in CreateBufferDrawParam()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_display_render_node_drawable.cpp1253 const auto& nodeParams = GetRenderParams(); in ScaleAndRotateMirrorForWiredScreen() local
1254 if (!nodeParams) { in ScaleAndRotateMirrorForWiredScreen()
1261 auto mirrorScreenInfo = nodeParams->GetScreenInfo(); in ScaleAndRotateMirrorForWiredScreen()