mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 09:10:54 +00:00
!16625 purge unlocked resources
Merge pull request !16625 from zed/master
This commit is contained in:
commit
40295b3354
@ -825,6 +825,9 @@ void RSUniRenderThread::PostClearMemoryTask(ClearMemoryMoment moment, bool deepl
|
||||
this->clearMemoryFinished_ = true;
|
||||
} else {
|
||||
this->isDefaultCleanTaskFinished_ = true;
|
||||
if (RSSystemProperties::GetRenderNodePurgeEnabled()) {
|
||||
grContext->PurgeUnlockedResources(false);
|
||||
}
|
||||
}
|
||||
RSUifirstManager::Instance().TryReleaseTextureForIdleThread();
|
||||
this->exitedPidSet_.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user