mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-24 07:30:38 +00:00
commit
cda3df9c5d
@ -76,6 +76,11 @@ void RSHardwareProcessor::ProcessSurface(RSSurfaceRenderNode &node)
|
||||
ROSEN_LOGE("RSHardwareProcessor::ProcessSurface output is nullptr");
|
||||
return;
|
||||
}
|
||||
if (node.GetRenderProperties().GetBoundsPositionX() >= curScreenInfo_.GetScreenWidth() ||
|
||||
node.GetRenderProperties().GetBoundsPositionY() >= curScreenInfo_.GetScreenHeight()) {
|
||||
ROSEN_LOGE("RsDebug RSHardwareProcessor::ProcessSurface this node:%llu no need to composite", node.GetId());
|
||||
return;
|
||||
}
|
||||
OHOS::sptr<SurfaceBuffer> cbuffer;
|
||||
RSProcessor::SpecialTask task = [] () -> void{};
|
||||
bool ret = ConsumeAndUpdateBuffer(node, task, cbuffer);
|
||||
|
Loading…
Reference in New Issue
Block a user