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, "Increase BLOCK_ALIGN size");
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()
410 blockSize, ARENA_BLOCK_ALIGN); // Arena blocks are always simd byte aligned. in AllocAligned()
415 m_offset = ARENA_BLOCK_ALIGN; in AllocAligned()
450 m_offset = ARENA_BLOCK_ALIGN;
475 (m_offset == ARENA_BLOCK_ALIGN && m_pCurBlock->pNext == nullptr); in IsEmpty()
480 size_t m_offset = ARENA_BLOCK_ALIGN;