/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | rdtsc_core.h | 103 void rdtscReset(BucketManager* pBucketMgr); 104 void rdtscInit(BucketManager* pBucketMgr, int threadId); 105 void rdtscStart(BucketManager* pBucketMgr, uint32_t bucketId); 106 void rdtscStop(BucketManager* pBucketMgr, uint32_t bucketId, uint32_t count, uint64_t drawId); 107 void rdtscEvent(BucketManager* pBucketMgr, uint32_t bucketId, uint32_t count1, uint32_t count2); 108 void rdtscEndFrame(BucketManager* pBucketMgr); 111 #define RDTSC_RESET(pBucketMgr) rdtscReset(pBucketMgr) argument 112 #define RDTSC_INIT(pBucketMgr, threadId) rdtscInit(pBucketMgr,threadId) argument 113 #define RDTSC_START(pBucketMgr, bucket) rdtscStart(pBucketMgr, bucket) argument 114 #define RDTSC_STOP(pBucketMgr, bucket, count, draw) rdtscStop(pBucketMgr, bucket, count, draw) argument [all …]
|
D | clip.cpp | 188 RDTSC_BEGIN(pDC->pContext->pBucketMgr, FEClipRectangles, pDC->drawId); in ClipRectangles() 191 RDTSC_END(pDC->pContext->pBucketMgr, FEClipRectangles, 1); in ClipRectangles() 203 RDTSC_BEGIN(pDC->pContext->pBucketMgr, FEClipTriangles, pDC->drawId); in ClipTriangles() 206 RDTSC_END(pDC->pContext->pBucketMgr, FEClipTriangles, 1); in ClipTriangles() 218 RDTSC_BEGIN(pDC->pContext->pBucketMgr, FEClipLines, pDC->drawId); in ClipLines() 221 RDTSC_END(pDC->pContext->pBucketMgr, FEClipLines, 1); in ClipLines() 233 RDTSC_BEGIN(pDC->pContext->pBucketMgr, FEClipPoints, pDC->drawId); in ClipPoints() 236 RDTSC_END(pDC->pContext->pBucketMgr, FEClipPoints, 1); in ClipPoints() 249 RDTSC_BEGIN(pDC->pContext->pBucketMgr, FEClipRectangles, pDC->drawId); in ClipRectangles_simd16() 261 RDTSC_END(pDC->pContext->pBucketMgr, FEClipRectangles, 1); in ClipRectangles_simd16() [all …]
|
D | backend_sample.cpp | 48 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BESampleRateBackend, pDC->drawId); in BackendSampleRate() 49 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BESetup, pDC->drawId); in BackendSampleRate() 70 RDTSC_END(pDC->pContext->pBucketMgr, BESetup, 0); in BackendSampleRate() 100 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEBarycentric, pDC->drawId); in BackendSampleRate() 107 RDTSC_END(pDC->pContext->pBucketMgr, BEBarycentric, 0); in BackendSampleRate() 133 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEBarycentric, pDC->drawId); in BackendSampleRate() 149 RDTSC_END(pDC->pContext->pBucketMgr, BEBarycentric, 0); in BackendSampleRate() 167 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEEarlyDepthTest, pDC->drawId); in BackendSampleRate() 179 RDTSC_END(pDC->pContext->pBucketMgr, BEEarlyDepthTest, 0); in BackendSampleRate() 206 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEPixelShader, pDC->drawId); in BackendSampleRate() [all …]
|
D | backend_singlesample.cpp | 48 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BESingleSampleBackend, pDC->drawId); in BackendSingleSample() 49 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BESetup, pDC->drawId); in BackendSingleSample() 72 RDTSC_END(pDC->pContext->pBucketMgr, BESetup, 1); in BackendSingleSample() 120 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEBarycentric, pDC->drawId); in BackendSingleSample() 132 RDTSC_END(pDC->pContext->pBucketMgr, BEBarycentric, 1); in BackendSingleSample() 150 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEEarlyDepthTest, pDC->drawId); in BackendSingleSample() 162 RDTSC_END(pDC->pContext->pBucketMgr, BEEarlyDepthTest, 0); in BackendSingleSample() 188 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEPixelShader, pDC->drawId); in BackendSingleSample() 190 RDTSC_END(pDC->pContext->pBucketMgr, BEPixelShader, 0); in BackendSingleSample() 206 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BELateDepthTest, pDC->drawId); in BackendSingleSample() [all …]
|
D | tilemgr.cpp | 371 RDTSC_BEGIN(pContext->pBucketMgr, BELoadTiles, pDC->drawId); in InitializeHotTiles() 382 RDTSC_END(pContext->pBucketMgr, BELoadTiles, 0); in InitializeHotTiles() 386 RDTSC_BEGIN(pContext->pBucketMgr, BELoadTiles, pDC->drawId); in InitializeHotTiles() 390 RDTSC_END(pContext->pBucketMgr, BELoadTiles, 0); in InitializeHotTiles() 402 RDTSC_BEGIN(pContext->pBucketMgr, BELoadTiles, pDC->drawId); in InitializeHotTiles() 413 RDTSC_END(pContext->pBucketMgr, BELoadTiles, 0); in InitializeHotTiles() 417 RDTSC_BEGIN(pContext->pBucketMgr, BELoadTiles, pDC->drawId); in InitializeHotTiles() 421 RDTSC_END(pContext->pBucketMgr, BELoadTiles, 0); in InitializeHotTiles() 432 RDTSC_BEGIN(pContext->pBucketMgr, BELoadTiles, pDC->drawId); in InitializeHotTiles() 443 RDTSC_END(pContext->pBucketMgr, BELoadTiles, 0); in InitializeHotTiles() [all …]
|
D | backend.cpp | 55 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEDispatch, pDC->drawId); in ProcessComputeBE() 93 RDTSC_END(pDC->pContext->pBucketMgr, BEDispatch, 1); in ProcessComputeBE() 122 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEStoreTiles, pDC->drawId); in ProcessStoreTileBE() 197 RDTSC_END(pDC->pContext->pBucketMgr, BEStoreTiles, 1); in ProcessStoreTileBE() 260 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BENullBackend, pDC->drawId); in BackendNullPS() 262 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BESetup, pDC->drawId); in BackendNullPS() 275 RDTSC_END(pDC->pContext->pBucketMgr, BESetup, 0); in BackendNullPS() 318 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEBarycentric, pDC->drawId); in BackendNullPS() 334 RDTSC_END(pDC->pContext->pBucketMgr, BEBarycentric, 0); in BackendNullPS() 348 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEEarlyDepthTest, pDC->drawId); in BackendNullPS() [all …]
|
D | api.cpp | 174 pContext->pBucketMgr = new BucketManager(pCreateInfo->contextName); in SwrCreateContext() 175 RDTSC_RESET(pContext->pBucketMgr); in SwrCreateContext() 176 RDTSC_INIT(pContext->pBucketMgr, 0); in SwrCreateContext() 221 pCreateInfo->pBucketMgr = pContext->pBucketMgr; in SwrCreateContext() 293 RDTSC_BEGIN(pContext->pBucketMgr, APIDrawWakeAllThreads, pDC->drawId); in QueueWork() 295 RDTSC_END(pContext->pBucketMgr, APIDrawWakeAllThreads, 1); in QueueWork() 316 RDTSC_BEGIN(pContext->pBucketMgr, APIGetDrawContext, 0); in GetDrawContext() 405 RDTSC_END(pContext->pBucketMgr, APIGetDrawContext, 0); in GetDrawContext() 458 delete pContext->pBucketMgr; in SwrDestroyContext() 518 RDTSC_BEGIN(pContext->pBucketMgr, APISync, 0); in SwrSync() [all …]
|
D | context.h | 569 BucketManager *pBucketMgr; member 588 #define RDTSC_BEGIN(pBucketMgr, type, drawid) RDTSC_START(pBucketMgr, type) argument 589 #define RDTSC_END(pBucketMgr, type, count) RDTSC_STOP(pBucketMgr, type, count, 0) argument 591 #define RDTSC_BEGIN(pBucketMgr, type, drawid) argument 592 #define RDTSC_END(pBucketMgr, type, count) argument
|
D | frontend.cpp | 129 RDTSC_BEGIN(pContext->pBucketMgr, FEProcessStoreTiles, pDC->drawId); in ProcessStoreTiles() 154 RDTSC_END(pContext->pBucketMgr, FEProcessStoreTiles, 0); in ProcessStoreTiles() 169 RDTSC_BEGIN(pContext->pBucketMgr, FEProcessInvalidateTiles, pDC->drawId); in ProcessDiscardInvalidateTiles() 208 RDTSC_END(pContext->pBucketMgr, FEProcessInvalidateTiles, 0); in ProcessDiscardInvalidateTiles() 512 RDTSC_BEGIN(pDC->pContext->pBucketMgr, FEStreamout, pDC->drawId); in StreamOut() 597 RDTSC_END(pDC->pContext->pBucketMgr, FEStreamout, 1); in StreamOut() 831 RDTSC_BEGIN(pDC->pContext->pBucketMgr, FEGeometryShader, pDC->drawId); in GeometryShaderStage() 1167 RDTSC_END(pDC->pContext->pBucketMgr, FEGeometryShader, 1); in GeometryShaderStage() 1383 RDTSC_BEGIN(pDC->pContext->pBucketMgr, FEHullShader, pDC->drawId); in TessellationStages() 1385 RDTSC_END(pDC->pContext->pBucketMgr, FEHullShader, 0); in TessellationStages() [all …]
|
D | backend_impl.h | 1029 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEPixelRateBackend, pDC->drawId); 1030 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BESetup, pDC->drawId); 1053 RDTSC_END(pDC->pContext->pBucketMgr, BESetup, 0); 1099 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEBarycentric, pDC->drawId); 1106 RDTSC_END(pDC->pContext->pBucketMgr, BEBarycentric, 0); 1133 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEBarycentric, pDC->drawId); 1138 RDTSC_END(pDC->pContext->pBucketMgr, BEBarycentric, 0); 1146 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEPixelShader, pDC->drawId); 1148 RDTSC_END(pDC->pContext->pBucketMgr, BEPixelShader, 0); 1184 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEOutputMerger, pDC->drawId); [all …]
|
D | backend_clear.cpp | 171 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEClear, pDC->drawId); in ProcessClearBE() 229 RDTSC_END(pDC->pContext->pBucketMgr, BEClear, 1); in ProcessClearBE() 235 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEClear, pDC->drawId); in ProcessClearBE() 295 RDTSC_END(pDC->pContext->pBucketMgr, BEClear, 1); in ProcessClearBE()
|
D | rasterizer_impl.h | 845 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BERasterizePartial, pDC->drawId); 848 RDTSC_END(pDC->pContext->pBucketMgr, BERasterizePartial, 0); 930 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BERasterizeTriangle, pDC->drawId); 931 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BETriangleSetup, pDC->drawId); 1106 RDTSC_END(pDC->pContext->pBucketMgr, BETriangleSetup, 0); 1118 RDTSC_EVENT(pDC->pContext->pBucketMgr, BEEmptyTriangle, 1, 0); 1119 RDTSC_END(pDC->pContext->pBucketMgr, BERasterizeTriangle, 1); 1123 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEStepSetup, pDC->drawId); 1235 RDTSC_END(pDC->pContext->pBucketMgr, BEStepSetup, 0); 1300 RDTSC_EVENT(pDC->pContext->pBucketMgr, BETrivialAccept, 1, 0); [all …]
|
D | rasterizer.cpp | 56 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BERasterizeLine, pDC->drawId); in RasterizeLine() 248 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BERasterizeLine, 1); in RasterizeLine() 315 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEPixelBackend, pDC->drawId); in RasterizeSimplePoint() 317 RDTSC_END(pDC->pContext->pBucketMgr, BEPixelBackend, 0); in RasterizeSimplePoint()
|
D | binner.cpp | 377 RDTSC_EVENT(pDC->pContext->pBucketMgr, in EarlyRasterizer() 646 RDTSC_EVENT(pDC->pContext->pBucketMgr, in EarlyRasterizer() 678 RDTSC_BEGIN(pDC->pContext->pBucketMgr, FEBinTriangles, pDC->drawId); in BinTrianglesImpl() 816 RDTSC_EVENT(pDC->pContext->pBucketMgr, in BinTrianglesImpl() 930 RDTSC_EVENT(pDC->pContext->pBucketMgr, in BinTrianglesImpl() 1033 RDTSC_END(pDC->pContext->pBucketMgr, FEBinTriangles, 1); in BinTrianglesImpl() 1045 RDTSC_END(pDC->pContext->pBucketMgr, FEBinTriangles, 1); in BinTrianglesImpl() 1081 RDTSC_END(pDC->pContext->pBucketMgr, FEBinTriangles, 1); in BinTrianglesImpl() 1094 RDTSC_END(pDC->pContext->pBucketMgr, FEBinTriangles, 1); in BinTrianglesImpl() 1210 RDTSC_END(pDC->pContext->pBucketMgr, FEBinTriangles, 1); in BinTrianglesImpl() [all …]
|
D | threads.cpp | 612 RDTSC_BEGIN(pContext->pBucketMgr, WorkerFoundWork, pDC->drawId); in WorkOnFifoBE() 633 RDTSC_END(pContext->pBucketMgr, WorkerFoundWork, numWorkItems); in WorkOnFifoBE() 884 RDTSC_INIT(pContext->pBucketMgr, threadId); in workerThreadMain() 952 RDTSC_BEGIN(pContext->pBucketMgr, WorkerWorkOnFifoBE, 0); in workerThreadMain() 955 RDTSC_END(pContext->pBucketMgr, WorkerWorkOnFifoBE, 0); in workerThreadMain()
|
D | api.h | 286 BucketManager* pBucketMgr; member
|
D | clip.h | 784 RDTSC_BEGIN(pa.pDC->pContext->pBucketMgr, FEGuardbandClip, pa.pDC->drawId); 794 RDTSC_END(pa.pDC->pContext->pBucketMgr, FEGuardbandClip, 1);
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
D | StoreTile.cpp | 50 BucketManager* pBucketMgr, in SwrStoreHotTileToSurface() argument 98 sBuckets[pDstSurface->format] = pBucketMgr->RegisterBucket(desc); in SwrStoreHotTileToSurface() 105 pBucketMgr->StartBucket(sBuckets[pDstSurface->format]); in SwrStoreHotTileToSurface() 109 pBucketMgr->StopBucket(sBuckets[pDstSurface->format]); in SwrStoreHotTileToSurface()
|
D | LoadTile.cpp | 44 BucketManager* pBucketMgr, in SwrLoadHotTile() argument 136 sBuckets[pSrcSurface->format] = pBucketMgr->RegisterBucket(desc); in SwrLoadHotTile() 143 pBucketMgr->StartBucket(sBuckets[pSrcSurface->format]); in SwrLoadHotTile() 147 pBucketMgr->StopBucket(sBuckets[pSrcSurface->format]); in SwrLoadHotTile()
|
D | LoadTile.h | 350 BucketManager* pBucketMgr,
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | rdtsc_buckets.cpp | 184 void BucketManager_StartBucket(BucketManager* pBucketMgr, uint32_t id) in BucketManager_StartBucket() argument 186 pBucketMgr->StartBucket(id); in BucketManager_StartBucket() 189 void BucketManager_StopBucket(BucketManager* pBucketMgr, uint32_t id) in BucketManager_StopBucket() argument 191 pBucketMgr->StopBucket(id); in BucketManager_StopBucket()
|
D | rdtsc_buckets.h | 226 void BucketManager_StartBucket(BucketManager* pBucketMgr, uint32_t id); 227 void BucketManager_StopBucket(BucketManager* pBucketMgr, uint32_t id);
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_memory.h | 38 …pSDC->pTileAPI->pfnSwrLoadHotTile(hWorkerPrivateData, pSrcSurface, pDC->pContext->pBucketMgr, dstF… in swr_LoadHotTile() 53 …rStoreHotTileToSurface(hWorkerPrivateData, pDstSurface, pDC->pContext->pBucketMgr, srcFormat, rend… in swr_StoreHotTile()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | builder_misc.h | 206 void RDTSC_START(Value* pBucketMgr, Value* pId); 207 void RDTSC_STOP(Value* pBucketMgr, Value* pId);
|
D | builder_misc.cpp | 1015 void Builder::RDTSC_START(Value* pBucketMgr, Value* pId) in RDTSC_START() argument 1040 CALL(pFunc, {pBucketMgr, pId}); in RDTSC_START() 1044 void Builder::RDTSC_STOP(Value* pBucketMgr, Value* pId) in RDTSC_STOP() argument 1069 CALL(pFunc, {pBucketMgr, pId}); in RDTSC_STOP()
|