!3746 打开直通通路

Merge pull request !3746 from 沁心/0224
This commit is contained in:
openharmony_ci 2023-02-24 09:04:18 +00:00 committed by Gitee
commit 589c04e268
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -642,7 +642,6 @@ void RSMainThread::Render()
doDirectComposition_ = false;
}
bool needTraverseNodeTree = true;
doDirectComposition_ = false;
if (doDirectComposition_ && !isDirty_) {
if (isHardwareEnabledBufferUpdated_) {
needTraverseNodeTree = !uniVisitor->DoDirectComposition(rootNode);