Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dthreads.cpp424 INLINE bool FindFirstIncompleteDraw(SWR_CONTEXT* pContext, uint32_t workerId, uint32_t& curDrawBE, … in FindFirstIncompleteDraw() argument
428 while (IDComparesLess(curDrawBE, drawEnqueued)) in FindFirstIncompleteDraw()
430 DRAW_CONTEXT *pDC = &pContext->dcRing[curDrawBE % pContext->MAX_DRAWS_IN_FLIGHT]; in FindFirstIncompleteDraw()
441 curDrawBE++; in FindFirstIncompleteDraw()
451 return IDComparesLess(curDrawBE, drawEnqueued); in FindFirstIncompleteDraw()
472 uint32_t &curDrawBE, in WorkOnFifoBE() argument
482 if (FindFirstIncompleteDraw(pContext, workerId, curDrawBE, drawEnqueued) == false) in WorkOnFifoBE()
487 … uint32_t lastRetiredDraw = pContext->dcRing[curDrawBE % pContext->MAX_DRAWS_IN_FLIGHT].drawId - 1; in WorkOnFifoBE()
497 for (uint32_t i = curDrawBE; IDComparesLess(i, drawEnqueued); ++i) in WorkOnFifoBE()
573 if ((curDrawBE == i) && (bShutdown || pDC->pTileMgr->isWorkComplete())) in WorkOnFifoBE()
[all …]
Dthreads.h70 bool WorkOnFifoBE(SWR_CONTEXT *pContext, uint32_t workerId, uint32_t &curDrawBE, TileSet &usedTiles…
71 void WorkOnCompute(SWR_CONTEXT *pContext, uint32_t workerId, uint32_t &curDrawBE);