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,
53 ArenaBlock* AllocateAligned(size_t size, size_t align) in AllocateAligned()
55 SWR_ASSUME_ASSERT(size >= sizeof(ArenaBlock)); in AllocateAligned()
57 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()
62 void Free(ArenaBlock* pMem) in Free()
76 ArenaBlock* AllocateAligned(size_t size, size_t align) in AllocateAligned()
78 SWR_ASSUME_ASSERT(size >= sizeof(ArenaBlock)); in AllocateAligned()
86 ArenaBlock* pPrevBlock = &m_cachedBlocks[bucket]; in AllocateAligned()
[all …]