Home
last modified time | relevance | path

Searched refs:ageLimit (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dgpu_resource_manager_base.inl89 … auto const ageLimit = (device_.GetFrameCount() < minAge) ? 0 : (device_.GetFrameCount() - minAge); local
92 [ageLimit](auto const& handleTime) { return handleTime.frameIndex >= ageLimit; });
H A Dgpu_resource_cache.cpp203 const auto ageLimit = (frameCounter_ < minAge) ? 0 : (frameCounter_ - minAge); in DestroyOldImages() local
206 if (imgRef.frameUseIndex < ageLimit) { in DestroyOldImages()
H A Dshader_manager.cpp736 const auto ageLimit = (frameCount < minAge) ? 0 : (frameCount - minAge); in HandlePendingAllocations() local
737 auto CompareForErase = [](const auto ageLimit, auto& vec) { in HandlePendingAllocations() argument
739 if (iter->frameIndex < ageLimit) { in HandlePendingAllocations()
746 CompareForErase(ageLimit, deferredDestructions_.shaderModules); in HandlePendingAllocations()
747 CompareForErase(ageLimit, deferredDestructions_.computePrograms); in HandlePendingAllocations()
748 CompareForErase(ageLimit, deferredDestructions_.shaderPrograms); in HandlePendingAllocations()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_graph_manager.cpp196 …const uint64_t ageLimit = (device_.GetFrameCount() < minAge) ? 0 : (device_.GetFrameCount() - minA… in HandlePendingAllocations() local
239 … [ageLimit](const auto& destructionQueue) { return destructionQueue.frameIndex >= ageLimit; }); in HandlePendingAllocations()
246 … [ageLimit](const auto& destructionQueue) { return destructionQueue.frameIndex >= ageLimit; }); in HandlePendingAllocations()
H A Dnode_context_pso_manager.cpp111 const auto ageLimit = (frameCount < minAge) ? 0 : (frameCount - minAge); in BeginBackendFrame() local
115 if (iter->frameIndex < ageLimit) { in BeginBackendFrame()
125 if (iter->frameIndex < ageLimit) { in BeginBackendFrame()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dnode_context_pool_manager_vk.cpp364 const auto ageLimit = (frameCount < minAge) ? 0 : (frameCount - minAge); in BeginBackendFrame() local
370 if (iter->second.frameUseIndex < ageLimit) { in BeginBackendFrame()
383 if (iter->second.frameUseIndex < ageLimit) { in BeginBackendFrame()
H A Dnode_context_descriptor_set_manager_vk.cpp213 … const auto ageLimit = (device_.GetFrameCount() < minAge) ? 0 : (device_.GetFrameCount() - minAge); in BeginFrame() local
216 [ageLimit](auto const& pd) { return pd.frameIndex >= ageLimit; }); in BeginFrame()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/util/
H A Drender_frame_util.cpp259 const auto ageLimit = (frameCount < minAge) ? 0 : (frameCount - minAge); in ProcessFrameSignalDeferredDestroy() local
262 if (iter->frameUseIndex < ageLimit) { in ProcessFrameSignalDeferredDestroy()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dnode_context_pool_manager_gles.cpp720 const auto ageLimit = (frameCount < minAge) ? 0 : (frameCount - minAge); in BeginBackendFrame() local
725 if (useIndex < ageLimit && (!ref.fbos.empty())) { in BeginBackendFrame()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Drender_system.cpp2431 const uint64_t ageLimit = (frameIndex_ < 2) ? 0 : (frameIndex_ - 2); in ProcessRenderNodeGraphs() local
2433 if (iter->second.enableAutoDestroy && iter->second.lastFrameIndex < ageLimit) { in ProcessRenderNodeGraphs()