mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-24 07:30:38 +00:00
!10360 bugfix for weather app display
Merge pull request !10360 from Hw_zz/zhlocal0424
This commit is contained in:
commit
79c8fb8c89
@ -1621,9 +1621,6 @@ void RSUniRenderVisitor::UpdateHwcNodeInfoForAppNode(RSSurfaceRenderNode& node)
|
||||
UpdateHwcNodeByTransform(node);
|
||||
UpdateHwcNodeEnableByBackgroundAlpha(node);
|
||||
UpdateHwcNodeEnableBySrcRect(node);
|
||||
if (!node.IsHardwareForcedDisabled()) {
|
||||
node.SetIntersectByFilterInApp(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1902,7 +1899,6 @@ void RSUniRenderVisitor::UpdateHwcNodeDirtyRegionAndCreateLayer(std::shared_ptr<
|
||||
continue;
|
||||
}
|
||||
UpdateHwcNodeDirtyRegionForApp(node, hwcNodePtr);
|
||||
hwcNodePtr->SetIntersectByFilterInApp(false);
|
||||
hwcNodePtr->SetCalcRectInPrepare(false);
|
||||
auto transform = RSUniRenderUtil::GetLayerTransform(*hwcNodePtr, screenInfo_);
|
||||
hwcNodePtr->UpdateHwcNodeLayerInfo(transform);
|
||||
@ -2333,7 +2329,7 @@ void RSUniRenderVisitor::UpdateHwcNodeEnableByFilterRect(
|
||||
// [planning]: Has opaque control exists between the filter and hwc.
|
||||
for (auto hwcNode : hwcNodes) {
|
||||
auto hwcNodePtr = hwcNode.lock();
|
||||
if (!hwcNodePtr || !hwcNodePtr->GetIntersectByFilterInApp()) {
|
||||
if (!hwcNodePtr) {
|
||||
continue;
|
||||
}
|
||||
auto dstRect = hwcNodePtr->GetDstRect();
|
||||
|
@ -294,16 +294,6 @@ public:
|
||||
calcRectInPrepare_ = calc;
|
||||
}
|
||||
|
||||
void SetIntersectByFilterInApp(bool intersect)
|
||||
{
|
||||
intersectByFilterInApp_ = intersect;
|
||||
}
|
||||
|
||||
bool GetIntersectByFilterInApp() const
|
||||
{
|
||||
return intersectByFilterInApp_;
|
||||
}
|
||||
|
||||
bool IsSelfDrawingType() const
|
||||
{
|
||||
// self drawing surfacenode has its own buffer, and rendered in its own progress/thread
|
||||
|
Loading…
Reference in New Issue
Block a user