Searched refs:ClearMemoryMoment (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/ |
H A D | rs_context.h | 32 enum ClearMemoryMoment : uint32_t { enum 114 void MarkNeedPurge(ClearMemoryMoment moment, PurgeType purgeType); 151 void SetClearMoment(ClearMemoryMoment moment); 152 ClearMemoryMoment GetClearMoment() const; 186 ClearMemoryMoment clearMoment_ = ClearMemoryMoment::NO_CLEAR;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_thread.h | 78 void ClearMemoryCache(ClearMemoryMoment moment, bool deeply, pid_t pid = -1); 80 void PostClearMemoryTask(ClearMemoryMoment moment, bool deeply, bool isDefaultClean); 90 void SetClearMoment(ClearMemoryMoment moment); 91 ClearMemoryMoment GetClearMoment() const; 232 ClearMemoryMoment clearMoment_ = ClearMemoryMoment::NO_CLEAR;
|
H A D | rs_uni_render_thread.cpp | 582 void RSUniRenderThread::SetClearMoment(ClearMemoryMoment moment) in SetClearMoment() 587 ClearMemoryMoment RSUniRenderThread::GetClearMoment() const in GetClearMoment() 772 void RSUniRenderThread::ClearMemoryCache(ClearMemoryMoment moment, bool deeply, pid_t pid) in ClearMemoryCache() 793 PostClearMemoryTask(ClearMemoryMoment::DEFAULT_CLEAN, false, true); in DefaultClearMemoryCache() 796 void RSUniRenderThread::PostClearMemoryTask(ClearMemoryMoment moment, bool deeply, bool isDefaultCl… in PostClearMemoryTask() 851 this->SetClearMoment(ClearMemoryMoment::NO_CLEAR); in PostClearMemoryTask()
|
H A D | rs_main_thread.h | 115 void ClearMemoryCache(ClearMemoryMoment moment, bool deeply = false, pid_t pid = -1); 271 ClearMemoryMoment GetClearMoment() const in GetClearMoment() 274 return ClearMemoryMoment::NO_CLEAR; in GetClearMoment() 279 void SetClearMoment(ClearMemoryMoment moment) in SetClearMoment()
|
H A D | rs_draw_frame.cpp | 84 unirenderInstance_.ClearMemoryCache(ClearMemoryMoment::FILTER_INVALID, true); in NotifyClearGpuCache()
|
H A D | rs_main_thread.cpp | 1713 void RSMainThread::ClearMemoryCache(ClearMemoryMoment moment, bool deeply, pid_t pid) in ClearMemoryCache() 1747 this->SetClearMoment(ClearMemoryMoment::NO_CLEAR); in ClearMemoryCache() 3382 … RSUniRenderThread::Instance().ClearMemoryCache(ClearMemoryMoment::PROCESS_EXIT, true, remotePid); in ClearTransactionDataPidInfo() 3385 ClearMemoryCache(ClearMemoryMoment::PROCESS_EXIT, true); in ClearTransactionDataPidInfo() 4080 … RSUniRenderThread::Instance().ClearMemoryCache(ClearMemoryMoment::LOW_MEMORY, true); in HandleOnTrim() 4083 ClearMemoryCache(ClearMemoryMoment::LOW_MEMORY, true); in HandleOnTrim()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_context.cpp | 64 void RSContext::MarkNeedPurge(ClearMemoryMoment moment, PurgeType purgeType) in MarkNeedPurge() 70 void RSContext::SetClearMoment(ClearMemoryMoment moment) in SetClearMoment() 75 ClearMemoryMoment RSContext::GetClearMoment() const in GetClearMoment()
|
H A D | rs_surface_render_node.cpp | 371 … context->MarkNeedPurge(ClearMemoryMoment::COMMON_SURFACE_NODE_HIDE, RSContext::PurgeType::GENTLY); in OnTreeStateChanged() 374 …context->MarkNeedPurge(ClearMemoryMoment::SCENEBOARD_SURFACE_NODE_HIDE, RSContext::PurgeType::STRO… in OnTreeStateChanged()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uni_render_thread_test.cpp | 302 instance.ClearMemoryCache(ClearMemoryMoment::FILTER_INVALID, true, 0); 507 ClearMemoryMoment moment = ClearMemoryMoment::COMMON_SURFACE_NODE_HIDE; 518 instance.PostClearMemoryTask(ClearMemoryMoment::FILTER_INVALID, true, true);
|