Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Darena.h40 static const size_t ARENA_BLOCK_ALIGN = 64; variable
47 static_assert(sizeof(ArenaBlock) <= ARENA_BLOCK_ALIGN,
385 SWR_ASSERT(align <= ARENA_BLOCK_ALIGN); in AllocAligned()
404 size_t blockSize = std::max(size + ARENA_BLOCK_ALIGN, ArenaBlockSize); in AllocAligned()
407 blockSize = AlignUp(blockSize, ARENA_BLOCK_ALIGN); in AllocAligned()
409 …ArenaBlock* pNewBlock = m_allocator.AllocateAligned(blockSize, ARENA_BLOCK_ALIGN); // Arena blo… in AllocAligned()
414 m_offset = ARENA_BLOCK_ALIGN; in AllocAligned()
452 m_offset = ARENA_BLOCK_ALIGN;
476 …return (m_pCurBlock == nullptr) || (m_offset == ARENA_BLOCK_ALIGN && m_pCurBlock->pNext == nullptr… in IsEmpty()
482 size_t m_offset = ARENA_BLOCK_ALIGN;