Searched refs:curDrawBE (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | threads.cpp | 402 INLINE bool FindFirstIncompleteDraw(SWR_CONTEXT* pContext, uint32_t workerId, uint32_t& curDrawBE, … in FindFirstIncompleteDraw() argument 406 while (IDComparesLess(curDrawBE, drawEnqueued)) in FindFirstIncompleteDraw() 408 DRAW_CONTEXT *pDC = &pContext->dcRing[curDrawBE % KNOB_MAX_DRAWS_IN_FLIGHT]; in FindFirstIncompleteDraw() 419 curDrawBE++; in FindFirstIncompleteDraw() 429 return IDComparesLess(curDrawBE, drawEnqueued); in FindFirstIncompleteDraw() 450 uint32_t &curDrawBE, in WorkOnFifoBE() argument 460 if (FindFirstIncompleteDraw(pContext, workerId, curDrawBE, drawEnqueued) == false) in WorkOnFifoBE() 465 uint32_t lastRetiredDraw = pContext->dcRing[curDrawBE % KNOB_MAX_DRAWS_IN_FLIGHT].drawId - 1; in WorkOnFifoBE() 475 for (uint32_t i = curDrawBE; IDComparesLess(i, drawEnqueued); ++i) in WorkOnFifoBE() 551 if ((curDrawBE == i) && (bShutdown || pDC->pTileMgr->isWorkComplete())) in WorkOnFifoBE() [all …]
|
D | threads.h | 68 bool WorkOnFifoBE(SWR_CONTEXT *pContext, uint32_t workerId, uint32_t &curDrawBE, TileSet &usedTiles… 69 void WorkOnCompute(SWR_CONTEXT *pContext, uint32_t workerId, uint32_t &curDrawBE);
|