Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Darena.h42 struct ArenaBlock struct
45 ArenaBlock* pNext = nullptr; argument
47 static_assert(sizeof(ArenaBlock) <= ARENA_BLOCK_ALIGN, "Increase BLOCK_ALIGN size");
52 ArenaBlock* AllocateAligned(size_t size, size_t align) in AllocateAligned()
54 SWR_ASSUME_ASSERT(size >= sizeof(ArenaBlock)); in AllocateAligned()
56 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()
61 void Free(ArenaBlock* pMem) in Free()
75 ArenaBlock* AllocateAligned(size_t size, size_t align) in AllocateAligned()
77 SWR_ASSUME_ASSERT(size >= sizeof(ArenaBlock)); in AllocateAligned()
85 ArenaBlock* pPrevBlock = &m_cachedBlocks[bucket]; in AllocateAligned()
[all …]