mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 17:21:51 +00:00
memory optimize Signed-off-by: ustc-tianyu <dutianyu4@huawei.com>
This commit is contained in:
parent
1902a37764
commit
1fa16e13f9
@ -294,9 +294,9 @@ void DrawCmdList::UnmarshallingDrawOps()
|
||||
} while (offset != 0);
|
||||
lastOpGenSize_ = opAllocator_.GetSize();
|
||||
|
||||
if ((int)imageAllocator_.GetSize() > 0) {
|
||||
imageAllocator_.ClearData();
|
||||
}
|
||||
opAllocator_.ClearData();
|
||||
imageAllocator_.ClearData();
|
||||
bitmapAllocator_.ClearData();
|
||||
|
||||
if (performanceCaculateOpType_ != 0) {
|
||||
LOGI("Drawing Performance UnmarshallingDrawOps end %{public}lld", PerformanceCaculate::GetUpTime());
|
||||
|
Loading…
Reference in New Issue
Block a user