Home
last modified time | relevance | path

Searched refs:linearAllocator_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_barrier_list.cpp65linearAllocator_.allocators.push_back(make_unique<LinearAllocator>(memAllocationByteSize, MEMORY_A… in RenderBarrierList()
80 if (!linearAllocator_.allocators.empty()) { in BeginFrame()
81 linearAllocator_.currentIndex = 0; in BeginFrame()
82 if (linearAllocator_.allocators.size() == 1) { // size is good for this frame in BeginFrame()
83 linearAllocator_.allocators[linearAllocator_.currentIndex]->Reset(); in BeginFrame()
84 } else if (linearAllocator_.allocators.size() > 1) { in BeginFrame()
87 for (auto& ref : linearAllocator_.allocators) { in BeginFrame()
92 linearAllocator_.allocators.clear(); in BeginFrame()
95linearAllocator_.allocators.push_back(make_unique<LinearAllocator>(fullByteSize, alignment)); in BeginFrame()
105 AllocateBarrierListMemory(linearAllocator_, sizeof(BarrierPointBarrierList))); in AddBarriersToBarrierPoint()
[all …]
H A Drender_barrier_list.h78 LinearAllocatorStruct linearAllocator_; in RENDER_BEGIN_NAMESPACE() local