Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbinner.cpp1168 auto pArena = pDC->pArena; in BinTrianglesImpl() local
1169 SWR_ASSERT(pArena != nullptr); in BinTrianglesImpl()
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()
1189 desc.pUserClipBuffer = (float*)pArena->Alloc(numClipDist * 3 * sizeof(float)); in BinTrianglesImpl()
1383 auto pArena = pDC->pArena; in BinPostSetupPointsImpl() local
1384 SWR_ASSERT(pArena != nullptr); in BinPostSetupPointsImpl()
1388 (float*)pArena->AllocAligned(3 * numScalarAttribs * sizeof(float), 16); in BinPostSetupPointsImpl()
1395 float* pTriBuffer = (float*)pArena->AllocAligned(4 * sizeof(float), 16); in BinPostSetupPointsImpl()
1539 auto pArena = pDC->pArena; in BinPostSetupPointsImpl() local
[all …]
Dapi.cpp106 pContext->dcRing[dc].pArena = new CachingArena(pContext->cachingArenaAllocator); in SwrCreateContext()
107 new (&pContext->pMacroTileManagerArray[dc]) MacroTileMgr(*pContext->dcRing[dc].pArena); in SwrCreateContext()
110 pContext->dsRing[dc].pArena = new CachingArena(pContext->cachingArenaAllocator); in SwrCreateContext()
359 SWR_ASSERT(pCurDrawContext->pState->pArena->IsEmpty() == true); in GetDrawContext()
375 SWR_ASSERT(pCurDrawContext->pState->pArena->IsEmpty() == true); in GetDrawContext()
379 SWR_ASSERT(pCurDrawContext->pArena->IsEmpty() == true); in GetDrawContext()
434 delete pContext->dcRing[i].pArena; in SwrDestroyContext()
435 delete pContext->dsRing[i].pArena; in SwrDestroyContext()
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()
[all …]
Dcontext.h408 CachingArena* pArena; // This should only be used by API thread. member
441 CachingArena* pArena; member
Dfrontend.cpp1182 auto pArena = pDC->pArena; in AllocateGsBuffers() local
1183 SWR_ASSERT(pArena != nullptr); in AllocateGsBuffers()
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()
Dbackend.cpp64 pSpillFillBuffer = pDC->pArena->AllocAlignedSync(spillFillSize, KNOB_SIMD16_BYTES); in ProcessComputeBE()
71 pScratchSpace = pDC->pArena->AllocAlignedSync(scratchSpaceSize, KNOB_SIMD16_BYTES); in ProcessComputeBE()
Dthreads.cpp459 pDC->pArena->Reset(true); in CompleteDrawContextInl()
466 pDC->pState->pArena->Reset(true); in CompleteDrawContextInl()