/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | threads.cpp | 352 INLINE void UpdateClientStats(SWR_CONTEXT* pContext, uint32_t workerId, DRAW_CONTEXT* pDC) in UpdateClientStats() argument 375 INLINE void ExecuteCallbacks(SWR_CONTEXT* pContext, uint32_t workerId, DRAW_CONTEXT* pDC) in ExecuteCallbacks() argument 377 UpdateClientStats(pContext, workerId, pDC); in ExecuteCallbacks() 388 INLINE int32_t CompleteDrawContextInl(SWR_CONTEXT* pContext, uint32_t workerId, DRAW_CONTEXT* pDC) in CompleteDrawContextInl() argument 397 ExecuteCallbacks(pContext, workerId, pDC); in CompleteDrawContextInl() 424 INLINE bool FindFirstIncompleteDraw(SWR_CONTEXT* pContext, uint32_t workerId, uint32_t& curDrawBE, … in FindFirstIncompleteDraw() argument 442 CompleteDrawContextInl(pContext, workerId, pDC); in FindFirstIncompleteDraw() 471 uint32_t workerId, in WorkOnFifoBE() argument 482 if (FindFirstIncompleteDraw(pContext, workerId, curDrawBE, drawEnqueued) == false) in WorkOnFifoBE() 553 pContext->pHotTileMgr->InitializeHotTiles(pContext, pDC, workerId, tileID); in WorkOnFifoBE() [all …]
|
D | backend.h | 37 void ProcessComputeBE(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t threadGroupId, void*& pSpillFi… 38 void ProcessSyncBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void *pUserData); 39 void ProcessClearBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void *pUserData); 40 void ProcessStoreTilesBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void *pData); 41 void ProcessDiscardInvalidateTilesBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void… 42 void ProcessShutdownBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void *pUserData);
|
D | clip.cpp | 163 void ClipTriangles(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t… in ClipTriangles() argument 168 Clipper<SIMD256, 3> clipper(workerId, pDC); in ClipTriangles() 173 void ClipLines(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t pri… in ClipLines() argument 178 Clipper<SIMD256, 2> clipper(workerId, pDC); in ClipLines() 183 void ClipPoints(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t pr… in ClipPoints() argument 188 Clipper<SIMD256, 1> clipper(workerId, pDC); in ClipPoints() 194 void SIMDCALL ClipTriangles_simd16(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simd16vector… in ClipTriangles_simd16() argument 202 Clipper<SIMD512, VERTS_PER_PRIM> clipper(workerId, pDC); in ClipTriangles_simd16() 210 void SIMDCALL ClipLines_simd16(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simd16vector pri… in ClipLines_simd16() argument 218 Clipper<SIMD512, VERTS_PER_PRIM> clipper(workerId, pDC); in ClipLines_simd16() [all …]
|
D | threads.h | 46 uint32_t workerId; member 69 void WorkOnFifoFE(SWR_CONTEXT *pContext, uint32_t workerId, uint32_t &curDrawFE); 70 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);
|
D | backend.cpp | 47 void ProcessComputeBE(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t threadGroupId, void*& pSpillFi… in ProcessComputeBE() argument 76 csContext.pTGSM = pContext->ppScratch[workerId]; in ProcessComputeBE() 93 void ProcessShutdownBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void *pUserData) in ProcessShutdownBE() argument 98 void ProcessSyncBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void *pUserData) in ProcessSyncBE() argument 105 void ProcessStoreTileBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, STORE_TILES_DESC*… in ProcessStoreTileBE() argument 165 void ProcessStoreTilesBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void *pData) in ProcessStoreTilesBE() argument 174 ProcessStoreTileBE(pDC, workerId, macroTile, pDesc, (SWR_RENDERTARGET_ATTACHMENT)rt); in ProcessStoreTilesBE() 178 void ProcessDiscardInvalidateTilesBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void… in ProcessDiscardInvalidateTilesBE() argument 200 void BackendNullPS(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t x, uint32_t y, SWR_TRIANGLE_DESC … in BackendNullPS() argument
|
D | frontend.cpp | 62 uint32_t workerId, in ProcessSync() argument 82 uint32_t workerId, in ProcessShutdown() argument 113 uint32_t workerId, in ProcessClear() argument 150 uint32_t workerId, in ProcessStoreTiles() argument 191 uint32_t workerId, in ProcessDiscardInvalidateTiles() argument 504 uint32_t workerId, in StreamOut() argument 793 uint32_t workerId, in GeometryShaderStage() argument 991 StreamOut(pDC, gsPa, workerId, pSoPrimData, stream); in GeometryShaderStage() 1029 …pfnClipFunc(pDC, gsPa, workerId, attrib_simd16, GenMask(gsPa.NumPrims()), vPrimId, vViewportIdx, v… in GeometryShaderStage() 1062 … pfnClipFunc(pDC, gsPa, workerId, attrib, GenMask(gsPa.NumPrims()), vPrimId, vViewportIdx, vRtIdx); in GeometryShaderStage() [all …]
|
D | frontend.h | 380 void ProcessClear(SWR_CONTEXT *pContext, DRAW_CONTEXT *pDC, uint32_t workerId, void *pUserData); 381 void ProcessStoreTiles(SWR_CONTEXT *pContext, DRAW_CONTEXT *pDC, uint32_t workerId, void *pUserData… 382 void ProcessDiscardInvalidateTiles(SWR_CONTEXT *pContext, DRAW_CONTEXT *pDC, uint32_t workerId, voi… 383 void ProcessSync(SWR_CONTEXT *pContext, DRAW_CONTEXT *pDC, uint32_t workerId, void *pUserData); 384 void ProcessShutdown(SWR_CONTEXT *pContext, DRAW_CONTEXT *pDC, uint32_t workerId, void *pUserData); 392 void BinPoints(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[3], uint32_t pr… 393 void BinLines(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[3], uint32_t pri… 395 void SIMDCALL BinPoints_simd16(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simd16vector pri… 396 void SIMDCALL BinLines_simd16(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simd16vector prim…
|
D | rasterizer.cpp | 44 void RasterizeLine(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void *pData) in RasterizeLine() argument 173 pfnTriRast(pDC, workerId, macroTile, (void*)&newWorkDesc); in RasterizeLine() 246 pfnTriRast(pDC, workerId, macroTile, (void*)&newWorkDesc); in RasterizeLine() 252 void RasterizeSimplePoint(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void* pData) in RasterizeSimplePoint() argument 312 backendFuncs.pfnBackend(pDC, workerId, tileAlignedX, tileAlignedY, triDesc, renderBuffers); in RasterizeSimplePoint() 316 void RasterizeTriPoint(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void* pData) in RasterizeTriPoint() argument 403 pfnTriRast(pDC, workerId, macroTile, (void*)&newWorkDesc); in RasterizeTriPoint() 441 pfnTriRast(pDC, workerId, macroTile, (void*)&newWorkDesc); in RasterizeTriPoint()
|
D | tilemgr.h | 154 typedef void(*PFN_DISPATCH)(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t threadGroupId, void*& pS… 234 …void dispatch(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t threadGroupId, void*& pSpillFillBuffe… in dispatch() argument 237 mPfnDispatch(pDC, workerId, threadGroupId, pSpillFillBuffer, pScratchSpace); in dispatch() 306 …void InitializeHotTiles(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t macr…
|
D | context.h | 143 typedef void(*PFN_WORK_FUNC)(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t macroTile, void* pDesc); 190 typedef void(*PFN_FE_WORK_FUNC)(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t workerId, void* … 216 typedef void(*PFN_PROCESS_PRIMS)(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector pri… 221 typedef void(SIMDCALL *PFN_PROCESS_PRIMS_SIMD16)(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId… 522 …(name, count) if (GetApiState(pDC).enableStatsBE) { pDC->dynState.pStats[workerId].name += count; } 526 #define AR_WORKER_CTX pContext->pArContext[workerId]
|
D | binner.cpp | 43 uint32_t workerId, 55 uint32_t workerId, 644 uint32_t workerId, in BinTrianglesImpl() argument 985 …BinPostSetupLinesImpl<SIMD_T, SIMD_WIDTH>(pDC, pa, workerId, line, recipW, triMask, primID, viewpo… in BinTrianglesImpl() 992 …BinPostSetupLinesImpl<SIMD_T, SIMD_WIDTH>(pDC, pa, workerId, line, recipW, triMask, primID, viewpo… in BinTrianglesImpl() 999 …BinPostSetupLinesImpl<SIMD_T, SIMD_WIDTH>(pDC, pa, workerId, line, recipW, triMask, primID, viewpo… in BinTrianglesImpl() 1007 …BinPostSetupPointsImpl<SIMD_T, SIMD_WIDTH>(pDC, pa, workerId, &tri[0], triMask, primID, viewportId… in BinTrianglesImpl() 1008 …BinPostSetupPointsImpl<SIMD_T, SIMD_WIDTH>(pDC, pa, workerId, &tri[1], triMask, primID, viewportId… in BinTrianglesImpl() 1009 …BinPostSetupPointsImpl<SIMD_T, SIMD_WIDTH>(pDC, pa, workerId, &tri[2], triMask, primID, viewportId… in BinTrianglesImpl() 1124 uint32_t workerId, in BinTriangles() argument [all …]
|
D | rasterizer.h | 35 void RasterizeLine(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void *pData); 36 void RasterizeSimplePoint(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void *pData); 37 void RasterizeTriPoint(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void *pData);
|
D | clip.h | 181 …void BinFunc(DRAW_CONTEXT *pDC, PA_STATE &pa, uint32_t workerId, SIMD256::Vec4 prims[], uint32_t p… 185 pfnBinFunc(pDC, pa, workerId, prims, primMask, primID, viewportIdx, rtIdx); 234 …void BinFunc(DRAW_CONTEXT *pDC, PA_STATE &pa, uint32_t workerId, SIMD512::Vec4 prims[], uint32_t p… 238 pfnBinFunc(pDC, pa, workerId, prims, primMask, primID, viewportIdx, rtIdx); 309 workerId(in_workerId), pDC(in_pDC), state(GetApiState(in_pDC)) 670 … binner.pfnBinFunc(pDC, clipPA, workerId, attrib, primMask, primID, viewportIdx, rtIdx); 734 … binner.pfnBinFunc(this->pDC, pa, this->workerId, prim, validMask, primId, viewportIdx, rtIdx); 1136 const uint32_t workerId{ 0 }; 1144 void ClipTriangles(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t… 1145 void ClipLines(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t pri… [all …]
|
D | backend_impl.h | 564 …pDC(DC), workerId(_workerId), work(Work), coeffs(Coeffs), state(apiState), psState(apiState.psStat… 676 uint32_t workerId; 865 void BackendPixelRate(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t x, uint32_t y, SWR_TRIANGLE_DE… 889 …PixelRateZTestLoop<T> PixelRateZTest(pDC, workerId, work, coeffs, state, pDepthBuffer, pStencilBuf…
|
D | rasterizer_impl.h | 773 …INLINE GenerateSVInnerCoverage(DRAW_CONTEXT* pDC, uint32_t workerId, EDGE* pRastEdges, double* pSt… 840 void RasterizeTriangle(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t macroTile, void* pDesc) 1243 …rage<RT, typename RT::ValidEdgeMaskT, typename RT::InputCoverageT>(pDC, workerId, rastEdges, start… 1275 …backendFuncs.pfnBackend(pDC, workerId, tileX << KNOB_TILE_X_DIM_SHIFT, tileY << KNOB_TILE_Y_DIM_SH…
|
D | backend_clear.cpp | 172 void ProcessClearBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void *pUserData) in ProcessClearBE() argument
|
D | backend_singlesample.cpp | 41 void BackendSingleSample(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t x, uint32_t y, SWR_TRIANGLE… in BackendSingleSample() argument
|
D | backend_sample.cpp | 41 void BackendSampleRate(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t x, uint32_t y, SWR_TRIANGLE_D… in BackendSampleRate() argument
|
D | tilemgr.cpp | 379 void HotTileMgr::InitializeHotTiles(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t workerId, ui… in InitializeHotTiles() argument
|