Home
last modified time | relevance | path

Searched refs:allocators (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_barrier_list.cpp36 void* rc = allocator.allocators[allocator.currentIndex]->Allocate(byteSize); in AllocateBarrierListMemory()
40 PLUGIN_ASSERT_MSG(allocator.allocators[allocator.currentIndex]->GetByteSize() > 0, in AllocateBarrierListMemory()
45 allocator.allocators.push_back(make_unique<LinearAllocator>(byteSize, alignment)); in AllocateBarrierListMemory()
46 allocator.currentIndex = static_cast<uint32_t>(allocator.allocators.size() - 1); in AllocateBarrierListMemory()
48 rc = allocator.allocators[allocator.currentIndex]->Allocate(byteSize); in AllocateBarrierListMemory()
80 if (!linearAllocator_.allocators.empty()) { 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()
[all …]
H A Drender_command_list.cpp250 if (!allocator.allocators.empty()) { in AllocateRenderData()
251 const size_t currentIndex = allocator.allocators.size() - 1; in AllocateRenderData()
252 rc = allocator.allocators[currentIndex]->Allocate(byteSz, alignment); in AllocateRenderData()
257 const size_t currentIndex = allocator.allocators.size(); in AllocateRenderData()
262 allocator.allocators.push_back(make_unique<LinearAllocator>(allocatorByteSize)); in AllocateRenderData()
264 rc = allocator.allocators[currentIndex]->Allocate(byteSz, alignment); in AllocateRenderData()
299 if (allocator_.allocators.size() == 1) { // size is good for this frame in BeginFrame()
300 allocator_.allocators[0]->Reset(); in BeginFrame()
301 } else if (allocator_.allocators.size() > 1) { in BeginFrame()
304 for (auto& ref : allocator_.allocators) { in BeginFrame()
[all …]
H A Drender_barrier_list.h58 BASE_NS::vector<BASE_NS::unique_ptr<LinearAllocator>> allocators; in RENDER_BEGIN_NAMESPACE() member
H A Drender_command_list.h463 BASE_NS::vector<BASE_NS::unique_ptr<LinearAllocator>> allocators; member
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/datastore/
H A Drender_data_store_default_material.cpp129 if (!allocator.allocators.empty()) { in AllocateMatrixMemory()
130 data = allocator.allocators[allocator.currentIndex]->Allocate(byteSize); in AllocateMatrixMemory()
136 allocator.allocators.push_back(make_unique<LinearAllocator>(byteSize, MEMORY_ALIGNMENT)); in AllocateMatrixMemory()
137 allocator.currentIndex = static_cast<uint32_t>(allocator.allocators.size() - 1); in AllocateMatrixMemory()
138 data = allocator.allocators[allocator.currentIndex]->Allocate(byteSize); in AllocateMatrixMemory()
246 if (!submeshJointMatricesAllocator_.allocators.empty()) { in Clear()
248 if (submeshJointMatricesAllocator_.allocators.size() == 1) { // size is good for this frame in Clear()
250 } else if (submeshJointMatricesAllocator_.allocators.size() > 1) { in Clear()
252 for (auto& ref : submeshJointMatricesAllocator_.allocators) { in Clear()
256 submeshJointMatricesAllocator_.allocators.clear(); in Clear()
[all …]
H A Drender_data_store_default_material.h54 BASE_NS::vector<BASE_NS::unique_ptr<LinearAllocator>> allocators; in CORE3D_BEGIN_NAMESPACE() member
/ohos5.0/build/config/sanitizers/
H A Dcfi_blocklist.txt7 # STL allocators (T *allocator<T *>::allocate(size_type, const void*)).