Searched refs:AllocAligned (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | fifo.hpp | 57 T* pNewBlock = (T*)arena.AllocAligned(sizeof(T) * mBlockSize, KNOB_SIMD_WIDTH * 4); in clear() 123 T* newBlock = (T*)arena.AllocAligned(sizeof(T) * mBlockSize, KNOB_SIMD_WIDTH * 4); in enqueue_try_nosync()
|
D | arena.h | 378 void* AllocAligned(size_t size, size_t align) in AllocAligned() function 421 return AllocAligned(size, align); in AllocAligned() 424 void* Alloc(size_t size) { return AllocAligned(size, 1); } in Alloc() 431 pAlloc = AllocAligned(size, align); in AllocAlignedSync()
|
D | binner.cpp | 1172 float* pAttribs = (float*)pArena->AllocAligned(numScalarAttribs * 3 * sizeof(float), 16); in BinTrianglesImpl() 1178 desc.pTriBuffer = (float*)pArena->AllocAligned(4 * 4 * sizeof(float), 16); in BinTrianglesImpl() 1388 (float*)pArena->AllocAligned(3 * numScalarAttribs * sizeof(float), 16); in BinPostSetupPointsImpl() 1395 float* pTriBuffer = (float*)pArena->AllocAligned(4 * sizeof(float), 16); in BinPostSetupPointsImpl() 1543 desc.pAttribs = (float*)pArena->AllocAligned(numScalarAttribs * 3 * sizeof(float), 16); in BinPostSetupPointsImpl() 1548 float* pTriBuffer = (float*)pArena->AllocAligned(4 * sizeof(float), 16); in BinPostSetupPointsImpl() 1843 desc.pAttribs = (float*)pArena->AllocAligned(numScalarAttribs * 3 * sizeof(float), 16); in BinPostSetupLinesImpl() 1848 desc.pTriBuffer = (float*)pArena->AllocAligned(4 * 4 * sizeof(float), 16); in BinPostSetupLinesImpl()
|
D | frontend.cpp | 1190 pGsBuffers->pGsIn = (uint8_t*)pArena->AllocAligned(vertexInBufferSize, 32); in AllocateGsBuffers() 1197 pGsBuffers->pGsOut[i] = (uint8_t*)pArena->AllocAligned(vertexBufferSize, 32); in AllocateGsBuffers() 1204 pGsBuffers->pGsTransposed = (uint8_t*)pArena->AllocAligned(transposedBufferSize, 32); in AllocateGsBuffers() 1214 (uint8_t*)pArena->AllocAligned(AlignUp(gsState.maxNumVerts * 2, 32), 32); in AllocateGsBuffers() 1749 pSoPrimData = (uint32_t*)pDC->pArena->AllocAligned(4096, 16); in ProcessDraw()
|
D | api.cpp | 1564 COMPUTE_DESC* pTaskData = (COMPUTE_DESC*)pDC->pArena->AllocAligned(sizeof(COMPUTE_DESC), 64); in SwrDispatch() 1675 pState->pPrivateState = pState->pArena->AllocAligned(pContext->privateStateSize, in SwrGetPrivateContextState() 1695 return pDC->pState->pArena->AllocAligned(size, align); in SwrAllocDrawContextMemory()
|