Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbinner.cpp1076 auto pArena = pDC->pArena; in BinTrianglesImpl() local
1077 SWR_ASSERT(pArena != nullptr); in BinTrianglesImpl()
1080 float *pAttribs = (float*)pArena->AllocAligned(numScalarAttribs * 3 * sizeof(float), 16); in BinTrianglesImpl()
1086 desc.pTriBuffer = (float*)pArena->AllocAligned(4 * 4 * sizeof(float), 16); in BinTrianglesImpl()
1097 desc.pUserClipBuffer = (float*)pArena->Alloc(numClipDist * 3 * sizeof(float)); in BinTrianglesImpl()
1289 auto pArena = pDC->pArena; in BinPostSetupPointsImpl() local
1290 SWR_ASSERT(pArena != nullptr); in BinPostSetupPointsImpl()
1293 … float *pAttribs = (float*)pArena->AllocAligned(3 * numScalarAttribs * sizeof(float), 16); in BinPostSetupPointsImpl()
1300 float *pTriBuffer = (float*)pArena->AllocAligned(4 * sizeof(float), 16); in BinPostSetupPointsImpl()
1435 auto pArena = pDC->pArena; in BinPostSetupPointsImpl() local
[all …]
Dapi.cpp91 pContext->dcRing[dc].pArena = new CachingArena(pContext->cachingArenaAllocator); in SwrCreateContext()
92 new (&pContext->pMacroTileManagerArray[dc]) MacroTileMgr(*pContext->dcRing[dc].pArena); in SwrCreateContext()
95 pContext->dsRing[dc].pArena = new CachingArena(pContext->cachingArenaAllocator); in SwrCreateContext()
324 SWR_ASSERT(pCurDrawContext->pState->pArena->IsEmpty() == true); in GetDrawContext()
340 SWR_ASSERT(pCurDrawContext->pState->pArena->IsEmpty() == true); in GetDrawContext()
344 SWR_ASSERT(pCurDrawContext->pArena->IsEmpty() == true); in GetDrawContext()
399 delete pContext->dcRing[i].pArena; in SwrDestroyContext()
400 delete pContext->dsRing[i].pArena; in SwrDestroyContext()
1515 COMPUTE_DESC* pTaskData = (COMPUTE_DESC*)pDC->pArena->AllocAligned(sizeof(COMPUTE_DESC), 64); in SwrDispatch()
1625 …pState->pPrivateState = pState->pArena->AllocAligned(pContext->privateStateSize, KNOB_SIMD_WIDTH*s… in SwrGetPrivateContextState()
[all …]
Dfrontend.cpp1088 auto pArena = pDC->pArena; in AllocateGsBuffers() local
1089 SWR_ASSERT(pArena != nullptr); in AllocateGsBuffers()
1096 pGsBuffers->pGsIn = (uint8_t*)pArena->AllocAligned(vertexInBufferSize, 32); in AllocateGsBuffers()
1103 pGsBuffers->pGsOut[i] = (uint8_t*)pArena->AllocAligned(vertexBufferSize, 32); in AllocateGsBuffers()
1109 pGsBuffers->pGsTransposed = (uint8_t*)pArena->AllocAligned(transposedBufferSize, 32); in AllocateGsBuffers()
1118 …pGsBuffers->pStreamCutBuffer = (uint8_t*)pArena->AllocAligned(AlignUp(gsState.maxNumVerts * 2, 32)… in AllocateGsBuffers()
1593 pSoPrimData = (uint32_t*)pDC->pArena->AllocAligned(4096, 16); in ProcessDraw()
Dcontext.h371 CachingArena* pArena; // This should only be used by API thread. member
405 CachingArena* pArena; member
Dbackend.cpp60 pSpillFillBuffer = pDC->pArena->AllocAlignedSync(spillFillSize, KNOB_SIMD_BYTES); in ProcessComputeBE()
66 pScratchSpace = pDC->pArena->AllocAlignedSync(scratchSpaceSize, KNOB_SIMD_BYTES); in ProcessComputeBE()
Dthreads.cpp400 pDC->pArena->Reset(true); in CompleteDrawContextInl()
407 pDC->pState->pArena->Reset(true); in CompleteDrawContextInl()