/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | api.cpp | 207 DRAW_CONTEXT* pDC = pContext->pCurDrawContext; in QueueWork() local 208 uint32_t dcIndex = pDC->drawId % pContext->MAX_DRAWS_IN_FLIGHT; in QueueWork() 212 pDC->pTileMgr = &pContext->pMacroTileManagerArray[dcIndex]; in QueueWork() 213 pDC->pTileMgr->initialize(); in QueueWork() 259 AR_API_BEGIN(APIDrawWakeAllThreads, pDC->drawId); in QueueWork() 376 DRAW_CONTEXT* pDC = GetDrawContext(pContext); in GetDrawState() local 377 SWR_ASSERT(pDC->pState != nullptr); in GetDrawState() 379 return &pDC->pState->state; in GetDrawState() 385 DRAW_CONTEXT* pDC = GetDrawContext(pContext); in SwrDestroyContext() local 387 pDC->FeWork.type = SHUTDOWN; in SwrDestroyContext() [all …]
|
D | threads.cpp | 340 bool CheckDependency(SWR_CONTEXT *pContext, DRAW_CONTEXT *pDC, uint32_t lastRetiredDraw) in CheckDependency() argument 342 return pDC->dependent && IDComparesLess(lastRetiredDraw, pDC->drawId - 1); in CheckDependency() 345 bool CheckDependencyFE(SWR_CONTEXT *pContext, DRAW_CONTEXT *pDC, uint32_t lastRetiredDraw) in CheckDependencyFE() argument 347 return pDC->dependentFE && IDComparesLess(lastRetiredDraw, pDC->drawId - 1); in CheckDependencyFE() 352 INLINE void UpdateClientStats(SWR_CONTEXT* pContext, uint32_t workerId, DRAW_CONTEXT* pDC) in UpdateClientStats() argument 354 if ((pContext->pfnUpdateStats == nullptr) || (GetApiState(pDC).enableStatsBE == false)) in UpdateClientStats() 359 DRAW_DYNAMIC_STATE& dynState = pDC->dynState; in UpdateClientStats() 372 pContext->pfnUpdateStats(GetPrivateState(pDC), &stats); in UpdateClientStats() 375 INLINE void ExecuteCallbacks(SWR_CONTEXT* pContext, uint32_t workerId, DRAW_CONTEXT* pDC) in ExecuteCallbacks() argument 377 UpdateClientStats(pContext, workerId, pDC); in ExecuteCallbacks() [all …]
|
D | backend.cpp | 47 void ProcessComputeBE(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t threadGroupId, void*& pSpillFi… in ProcessComputeBE() argument 49 SWR_CONTEXT *pContext = pDC->pContext; in ProcessComputeBE() 51 AR_BEGIN(BEDispatch, pDC->drawId); in ProcessComputeBE() 53 const COMPUTE_DESC* pTaskData = (COMPUTE_DESC*)pDC->pDispatch->GetTasksData(); in ProcessComputeBE() 57 size_t spillFillSize = pDC->pState->state.totalSpillFillSize; in ProcessComputeBE() 60 pSpillFillBuffer = pDC->pArena->AllocAlignedSync(spillFillSize, KNOB_SIMD_BYTES); in ProcessComputeBE() 63 …size_t scratchSpaceSize = pDC->pState->state.scratchSpaceSize * pDC->pState->state.scratchSpaceNum… in ProcessComputeBE() 66 pScratchSpace = pDC->pArena->AllocAlignedSync(scratchSpaceSize, KNOB_SIMD_BYTES); in ProcessComputeBE() 69 const API_STATE& state = GetApiState(pDC); in ProcessComputeBE() 79 csContext.scratchSpacePerSimd = pDC->pState->state.scratchSpaceSize; in ProcessComputeBE() [all …]
|
D | clip.cpp | 163 void ClipTriangles(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t… in ClipTriangles() argument 166 SWR_CONTEXT *pContext = pDC->pContext; in ClipTriangles() 167 AR_BEGIN(FEClipTriangles, pDC->drawId); in ClipTriangles() 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 176 SWR_CONTEXT *pContext = pDC->pContext; in ClipLines() 177 AR_BEGIN(FEClipLines, pDC->drawId); in ClipLines() 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 186 SWR_CONTEXT *pContext = pDC->pContext; in ClipPoints() [all …]
|
D | frontend.cpp | 61 DRAW_CONTEXT *pDC, in ProcessSync() argument 69 MacroTileMgr *pTileMgr = pDC->pTileMgr; in ProcessSync() 81 DRAW_CONTEXT *pDC, in ProcessShutdown() argument 89 MacroTileMgr *pTileMgr = pDC->pTileMgr; in ProcessShutdown() 112 DRAW_CONTEXT *pDC, in ProcessClear() argument 117 MacroTileMgr *pTileMgr = pDC->pTileMgr; in ProcessClear() 149 DRAW_CONTEXT *pDC, in ProcessStoreTiles() argument 153 AR_BEGIN(FEProcessStoreTiles, pDC->drawId); in ProcessStoreTiles() 154 MacroTileMgr *pTileMgr = pDC->pTileMgr; in ProcessStoreTiles() 190 DRAW_CONTEXT *pDC, in ProcessDiscardInvalidateTiles() argument [all …]
|
D | backend_clear.cpp | 79 INLINE void ClearMacroTile(DRAW_CONTEXT *pDC, SWR_RENDERTARGET_ATTACHMENT rt, uint32_t macroTile, u… in ClearMacroTile() argument 142 const int32_t numSamples = GetNumSamples(pDC->pState->state.rastState.sampleCount); in ClearMacroTile() 149 …HOTTILE *pHotTile = pDC->pContext->pHotTileMgr->GetHotTile(pDC->pContext, pDC, macroTile, rt, true… in ClearMacroTile() 172 void ProcessClearBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void *pUserData) in ProcessClearBE() argument 174 SWR_CONTEXT *pContext = pDC->pContext; in ProcessClearBE() 179 SWR_MULTISAMPLE_COUNT sampleCount = pDC->pState->state.rastState.sampleCount; in ProcessClearBE() 184 AR_BEGIN(BEClear, pDC->drawId); in ProcessClearBE() 194 …HOTTILE *pHotTile = pContext->pHotTileMgr->GetHotTile(pContext, pDC, macroTile, (SWR_RENDERTARGET_… in ProcessClearBE() 207 …HOTTILE *pHotTile = pContext->pHotTileMgr->GetHotTile(pContext, pDC, macroTile, SWR_ATTACHMENT_DEP… in ProcessClearBE() 214 …HOTTILE *pHotTile = pContext->pHotTileMgr->GetHotTile(pContext, pDC, macroTile, SWR_ATTACHMENT_STE… in ProcessClearBE() [all …]
|
D | rasterizer.cpp | 44 void RasterizeLine(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, void *pData) in RasterizeLine() argument 46 SWR_CONTEXT *pContext = pDC->pContext; in RasterizeLine() 56 AR_BEGIN(BERasterizeLine, pDC->drawId); in RasterizeLine() 58 const API_STATE &state = GetApiState(pDC); in RasterizeLine() 97 __m128 vLineWidth = _mm_set1_ps(pDC->pState->state.rastState.lineWidth); in RasterizeLine() 156 …SWR_INPUT_COVERAGE_NONE, EdgeValToEdgeState(ALL_EDGES_VALID), (pDC->pState->state.scissorsTileAlig… in RasterizeLine() 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 254 SWR_CONTEXT *pContext = pDC->pContext; in RasterizeSimplePoint() [all …]
|
D | context.h | 143 typedef void(*PFN_WORK_FUNC)(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t macroTile, void* pDesc); 171 DRAW_CONTEXT* pDC; member 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… 424 INLINE const API_STATE& GetApiState(const DRAW_CONTEXT* pDC) in GetApiState() argument 426 SWR_ASSERT(pDC != nullptr); in GetApiState() 427 SWR_ASSERT(pDC->pState != nullptr); in GetApiState() 429 return pDC->pState->state; in GetApiState() 432 INLINE void* GetPrivateState(const DRAW_CONTEXT* pDC) in GetPrivateState() argument [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 | tilemgr.cpp | 86 HOTTILE* HotTileMgr::GetHotTile(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t macroID, SWR_REN… in GetHotTile() argument 166 pContext->pfnStoreTile(GetPrivateState(pDC), format, attachment, in GetHotTile() 170 pContext->pfnLoadTile(GetPrivateState(pDC), format, attachment, in GetHotTile() 181 SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t macroID, in GetHotTileNoLoad() argument 379 void HotTileMgr::InitializeHotTiles(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t workerId, ui… in InitializeHotTiles() argument 381 const API_STATE& state = GetApiState(pDC); in InitializeHotTiles() 395 …HOTTILE* pHotTile = GetHotTile(pContext, pDC, macroID, (SWR_RENDERTARGET_ATTACHMENT)(SWR_ATTACHMEN… in InitializeHotTiles() 399 AR_BEGIN(BELoadTiles, pDC->drawId); in InitializeHotTiles() 401 …pContext->pfnLoadTile(GetPrivateState(pDC), KNOB_COLOR_HOT_TILE_FORMAT, (SWR_RENDERTARGET_ATTACHME… in InitializeHotTiles() 407 AR_BEGIN(BELoadTiles, pDC->drawId); in InitializeHotTiles() [all …]
|
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 43 SWR_CONTEXT *pContext = pDC->pContext; in BackendSampleRate() 45 AR_BEGIN(BESampleRateBackend, pDC->drawId); in BackendSampleRate() 46 AR_BEGIN(BESetup, pDC->drawId); in BackendSampleRate() 48 const API_STATE &state = GetApiState(pDC); in BackendSampleRate() 86 AR_BEGIN(BEBarycentric, pDC->drawId); in BackendSampleRate() 116 AR_BEGIN(BEBarycentric, pDC->drawId); in BackendSampleRate() 143 AR_BEGIN(BEEarlyDepthTest, pDC->drawId); in BackendSampleRate() 167 AR_BEGIN(BEPixelShader, pDC->drawId); in BackendSampleRate() 169 state.psState.pfnPixelShader(GetPrivateState(pDC), &psContext); in BackendSampleRate() [all …]
|
D | backend_singlesample.cpp | 41 void BackendSingleSample(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t x, uint32_t y, SWR_TRIANGLE… in BackendSingleSample() argument 43 SWR_CONTEXT *pContext = pDC->pContext; in BackendSingleSample() 45 AR_BEGIN(BESingleSampleBackend, pDC->drawId); in BackendSingleSample() 46 AR_BEGIN(BESetup, pDC->drawId); in BackendSingleSample() 48 const API_STATE &state = GetApiState(pDC); in BackendSingleSample() 102 AR_BEGIN(BEBarycentric, pDC->drawId); in BackendSingleSample() 127 AR_BEGIN(BEEarlyDepthTest, pDC->drawId); in BackendSingleSample() 150 AR_BEGIN(BEPixelShader, pDC->drawId); in BackendSingleSample() 152 state.psState.pfnPixelShader(GetPrivateState(pDC), &psContext); in BackendSingleSample() 160 AR_BEGIN(BELateDepthTest, pDC->drawId); in BackendSingleSample() [all …]
|
D | binner.cpp | 41 DRAW_CONTEXT *pDC, 53 DRAW_CONTEXT *pDC, 73 DRAW_CONTEXT *pDC, in ProcessAttributes() argument 80 const SWR_BACKEND_STATE& backendState = pDC->pState->state.backendState; in ProcessAttributes() 83 const uint32_t provokingVertex = pDC->pState->state.frontendState.topologyProvokingVertex; in ProcessAttributes() 84 const PRIMITIVE_TOPOLOGY topo = pDC->pState->state.topology; in ProcessAttributes() 642 DRAW_CONTEXT *pDC, in BinTrianglesImpl() argument 651 SWR_CONTEXT *pContext = pDC->pContext; in BinTrianglesImpl() 654 AR_BEGIN(FEBinTriangles, pDC->drawId); in BinTrianglesImpl() 656 const API_STATE& state = GetApiState(pDC); in BinTrianglesImpl() [all …]
|
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… 308 …HOTTILE *GetHotTile(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t macroID, SWR_RENDERTARGET_A… 311 …HOTTILE *GetHotTileNoLoad(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t macroID, SWR_RENDERTA…
|
D | frontend.h | 348 bool CanUseSimplePoints(DRAW_CONTEXT *pDC) in CanUseSimplePoints() argument 350 const API_STATE& state = GetApiState(pDC); in CanUseSimplePoints() 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… [all …]
|
D | rasterizer_impl.h | 43 void GetRenderHotTiles(DRAW_CONTEXT *pDC, uint32_t macroID, uint32_t x, uint32_t y, RenderOutputBuf… 94 INLINE uint64_t rasterizePartialTile(DRAW_CONTEXT *pDC, double startEdges[NumEdges], EDGE *pRastEdg… in rasterizePartialTile() argument 773 …INLINE GenerateSVInnerCoverage(DRAW_CONTEXT* pDC, uint32_t workerId, EDGE* pRastEdges, double* pSt… 775 SWR_CONTEXT *pContext = pDC->pContext; 784 AR_BEGIN(BERasterizePartial, pDC->drawId); 785 … = rasterizePartialTile<RT::NumEdgesT::value, typename RT::ValidEdgeMaskT>(pDC, startQuadEdgesAdj,… 840 void RasterizeTriangle(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t macroTile, void* pDesc) 842 SWR_CONTEXT *pContext = pDC->pContext; 850 AR_BEGIN(BERasterizeTriangle, pDC->drawId); 851 AR_BEGIN(BETriangleSetup, pDC->drawId); [all …]
|
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)) 516 … BinnerChooser<SIMD_T> binner(NumVertsPerPrim, pa.pDC->pState->state.rastState.conservativeRast); 647 …PA_STATE_OPT clipPA(pDC, numEmittedPrims, reinterpret_cast<uint8_t *>(&transposedPrims[0]), numEmi… 670 … binner.pfnBinFunc(pDC, clipPA, workerId, attrib, primMask, primID, viewportIdx, rtIdx); 688 SWR_ASSERT(pa.pDC != nullptr); 690 SWR_CONTEXT *pContext = pa.pDC->pContext; [all …]
|
D | backend_impl.h | 564 …pDC(DC), workerId(_workerId), work(Work), coeffs(Coeffs), state(apiState), psState(apiState.psStat… 572 SWR_CONTEXT *pContext = pDC->pContext; 603 AR_BEGIN(BEBarycentric, pDC->drawId); 675 DRAW_CONTEXT* pDC; 865 void BackendPixelRate(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t x, uint32_t y, SWR_TRIANGLE_DE… 870 SWR_CONTEXT *pContext = pDC->pContext; 872 AR_BEGIN(BEPixelRateBackend, pDC->drawId); 873 AR_BEGIN(BESetup, pDC->drawId); 875 const API_STATE &state = GetApiState(pDC); 889 …PixelRateZTestLoop<T> PixelRateZTest(pDC, workerId, work, coeffs, state, pDepthBuffer, pStencilBuf… [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 | pa.h | 70 DRAW_CONTEXT *pDC{ nullptr }; // draw context 88 …pDC(in_pDC), pStreamBase(in_pStreamBase), streamSizeInVerts(in_streamSizeInVerts), vertexStride(in… in PA_STATE() 171 PA_STATE_OPT(DRAW_CONTEXT* pDC, uint32_t numPrims, uint8_t* pStream, uint32_t streamSizeInVerts, 436 …PA_STATE_CUT(DRAW_CONTEXT* pDC, uint8_t* in_pStream, uint32_t in_streamSizeInVerts, uint32_t in_ve… in PA_STATE_CUT() 438 : PA_STATE(pDC, in_pStream, in_streamSizeInVerts, in_vertexStride, in_numVertsPerPrim) in PA_STATE_CUT() 461 bool gsEnabled = pDC->pState->state.gsState.gsEnable; in PA_STATE_CUT() 1424 …PA_FACTORY(DRAW_CONTEXT* pDC, PRIMITIVE_TOPOLOGY in_topo, uint32_t numVerts, PA_STATE::SIMDVERTEX … in PA_FACTORY() 1427 const API_STATE& state = GetApiState(pDC); in PA_FACTORY() 1440 …new (&this->paCut) PA_STATE_CUT(pDC, reinterpret_cast<uint8_t *>(pVertexStore), vertexStoreSize * … in PA_FACTORY() 1448 …new (&this->paOpt) PA_STATE_OPT(pDC, numPrims, reinterpret_cast<uint8_t *>(pVertexStore), vertexSt… in PA_FACTORY()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_memory.h | 34 swr_draw_context *pDC = (swr_draw_context*)hPrivateContext; in swr_LoadHotTile() local 35 SWR_SURFACE_STATE *pSrcSurface = &pDC->renderTargets[renderTargetIndex]; in swr_LoadHotTile() 37 …pDC->pAPI->pfnSwrLoadHotTile(pSrcSurface, dstFormat, renderTargetIndex, x, y, renderTargetArrayInd… in swr_LoadHotTile() 48 swr_draw_context *pDC = (swr_draw_context*)hPrivateContext; in swr_StoreHotTile() local 49 SWR_SURFACE_STATE *pDstSurface = &pDC->renderTargets[renderTargetIndex]; in swr_StoreHotTile() 51 …pDC->pAPI->pfnSwrStoreHotTileToSurface(pDstSurface, srcFormat, renderTargetIndex, x, y, renderTarg… in swr_StoreHotTile() 63 swr_draw_context *pDC = (swr_draw_context*)hPrivateContext; in swr_StoreHotTileClear() local 64 SWR_SURFACE_STATE *pDstSurface = &pDC->renderTargets[renderTargetIndex]; in swr_StoreHotTileClear() 66 …pDC->pAPI->pfnSwrStoreHotTileClear(pDstSurface, renderTargetIndex, x, y, renderTargetArrayIndex, p… in swr_StoreHotTileClear()
|
D | swr_draw.cpp | 302 struct swr_draw_context *pDC = &ctx->swrDC; in swr_store_render_target() local 303 struct SWR_SURFACE_STATE *renderTarget = &pDC->renderTargets[attachment]; in swr_store_render_target() 330 swr_draw_context *pDC = &ctx->swrDC; in swr_store_dirty_resource() local 331 SWR_SURFACE_STATE *renderTargets = pDC->renderTargets; in swr_store_dirty_resource()
|
D | swr_context.h | 190 swr_draw_context *pDC = 194 memcpy(pDC, &ctx->swrDC, sizeof(swr_draw_context));
|
D | swr_state.cpp | 849 swr_draw_context *pDC = &ctx->swrDC; in swr_update_constants() local 857 constant = pDC->constantVS; in swr_update_constants() 858 num_constants = pDC->num_constantsVS; in swr_update_constants() 862 constant = pDC->constantFS; in swr_update_constants() 863 num_constants = pDC->num_constantsFS; in swr_update_constants() 867 constant = pDC->constantGS; in swr_update_constants() 868 num_constants = pDC->num_constantsGS; in swr_update_constants() 901 swr_draw_context *pDC = &ctx->swrDC; in swr_change_rt() local 902 struct SWR_SURFACE_STATE *rt = &pDC->renderTargets[attachment]; in swr_change_rt() 1028 struct swr_draw_context *pDC = &ctx->swrDC; in swr_update_poly_stipple() local [all …]
|
D | swr_context.cpp | 431 swr_draw_context *pDC = (swr_draw_context*)hPrivateContext; in swr_UpdateStats() local 433 if (!pDC) in swr_UpdateStats() 436 struct swr_query_result *pqr = pDC->pStats; in swr_UpdateStats() 448 swr_draw_context *pDC = (swr_draw_context*)hPrivateContext; in swr_UpdateStatsFE() local 450 if (!pDC) in swr_UpdateStatsFE() 453 struct swr_query_result *pqr = pDC->pStats; in swr_UpdateStatsFE()
|