Home
last modified time | relevance | path

Searched refs:pContext (Results 1 – 25 of 53) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dapi.cpp51 void SetupDefaultState(SWR_CONTEXT* pContext);
58 void WakeAllThreads(SWR_CONTEXT* pContext) in WakeAllThreads() argument
60 pContext->FifosNotEmpty.notify_all(); in WakeAllThreads()
70 SWR_CONTEXT* pContext = new (pContextMem) SWR_CONTEXT(); in SwrCreateContext() local
72 pContext->privateStateSize = pCreateInfo->privateStateSize; in SwrCreateContext()
75 pContext->pfnLoadTile = pCreateInfo->pfnLoadTile; in SwrCreateContext()
76 pContext->pfnStoreTile = pCreateInfo->pfnStoreTile; in SwrCreateContext()
77 pContext->pfnTranslateGfxptrForRead = pCreateInfo->pfnTranslateGfxptrForRead; in SwrCreateContext()
78 pContext->pfnTranslateGfxptrForWrite = pCreateInfo->pfnTranslateGfxptrForWrite; in SwrCreateContext()
79 pContext->pfnMakeGfxPtr = pCreateInfo->pfnMakeGfxPtr; in SwrCreateContext()
[all …]
Dthreads.cpp307 void bindThread(SWR_CONTEXT* pContext, in bindThread() argument
313 if (pContext->threadInfo.SINGLE_THREADED || in bindThread()
314 (pContext->threadInfo.MAX_WORKER_THREADS && bindProcGroup == false)) in bindThread()
341 if (!bindProcGroup && !pContext->threadInfo.MAX_WORKER_THREADS) in bindThread()
373 uint32_t GetEnqueuedDraw(SWR_CONTEXT* pContext) in GetEnqueuedDraw() argument
375 return pContext->dcRing.GetHead(); in GetEnqueuedDraw()
379 DRAW_CONTEXT* GetDC(SWR_CONTEXT* pContext, uint32_t drawId) in GetDC() argument
381 return &pContext->dcRing[(drawId - 1) % pContext->MAX_DRAWS_IN_FLIGHT]; in GetDC()
394 bool CheckDependency(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t lastRetiredDraw) in CheckDependency() argument
399 bool CheckDependencyFE(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t lastRetiredDraw) in CheckDependencyFE() argument
[all …]
Dtilemgr.cpp91 HOTTILE* HotTileMgr::GetHotTile(SWR_CONTEXT* pContext, in GetHotTile() argument
113 uint32_t numaNode = ((x ^ y) & pContext->threadPool.numaMask); in GetHotTile()
115 (uint8_t*)AllocHotTileMem(size, 64, numaNode + pContext->threadInfo.BASE_NUMA_NODE); in GetHotTile()
137 uint32_t numaNode = ((x ^ y) & pContext->threadPool.numaMask); in GetHotTile()
139 (uint8_t*)AllocHotTileMem(size, 64, numaNode + pContext->threadInfo.BASE_NUMA_NODE); in GetHotTile()
187 pContext->pfnStoreTile(pDC, in GetHotTile()
197 pContext->pfnLoadTile(pDC, in GetHotTile()
213 HOTTILE* HotTileMgr::GetHotTileNoLoad(SWR_CONTEXT* pContext, in GetHotTileNoLoad() argument
340 void HotTileMgr::InitializeHotTiles(SWR_CONTEXT* pContext, in InitializeHotTiles() argument
346 HANDLE hWorkerPrivateData = pDC->pContext->threadPool.pThreadData[workerId].pWorkerPrivateData; in InitializeHotTiles()
[all …]
Dthreads.h50 SWR_CONTEXT* pContext; member
67 void CreateThreadPool(SWR_CONTEXT* pContext, THREAD_POOL* pPool);
68 void StartThreadPool(SWR_CONTEXT* pContext, THREAD_POOL* pPool);
69 void DestroyThreadPool(SWR_CONTEXT* pContext, THREAD_POOL* pPool);
72 void WorkOnFifoFE(SWR_CONTEXT* pContext, uint32_t workerId, uint32_t& curDrawFE);
73 bool WorkOnFifoBE(SWR_CONTEXT* pContext,
79 void WorkOnCompute(SWR_CONTEXT* pContext, uint32_t workerId, uint32_t& curDrawBE);
80 int32_t CompleteDrawContext(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC);
82 void BindApiThread(SWR_CONTEXT* pContext, uint32_t apiThreadId);
Dbackend.cpp53 SWR_CONTEXT* pContext = pDC->pContext; in ProcessComputeBE() local
55 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEDispatch, pDC->drawId); in ProcessComputeBE()
81 csContext.pTGSM = pContext->ppScratch[workerId]; in ProcessComputeBE()
87 pContext->threadPool.pThreadData[workerId].pWorkerPrivateData, in ProcessComputeBE()
93 RDTSC_END(pDC->pContext->pBucketMgr, BEDispatch, 1); in ProcessComputeBE()
119 SWR_CONTEXT* pContext = pDC->pContext; in ProcessStoreTileBE() local
120 HANDLE hWorkerPrivateData = pContext->threadPool.pThreadData[workerId].pWorkerPrivateData; in ProcessStoreTileBE()
122 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEStoreTiles, pDC->drawId); in ProcessStoreTileBE()
154 pContext->pHotTileMgr->GetHotTileNoLoad(pContext, pDC, macroTile, attachment, false); in ProcessStoreTileBE()
178 pContext->pfnStoreTile(pDC, in ProcessStoreTileBE()
[all …]
Dclip.cpp188 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 …]
Dbackend_sample.cpp48 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BESampleRateBackend, pDC->drawId); in BackendSampleRate()
49 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BESetup, pDC->drawId); in BackendSampleRate()
51 void* pWorkerData = pDC->pContext->threadPool.pThreadData[workerId].pWorkerPrivateData; 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()
[all …]
Dbackend_clear.cpp123 HOTTILE* pHotTile = pDC->pContext->pHotTileMgr->GetHotTile(pDC->pContext, in ClearMacroTile()
160 SWR_CONTEXT* pContext = pDC->pContext; in ProcessClearBE() local
161 HANDLE hWorkerPrivateData = pContext->threadPool.pThreadData[workerId].pWorkerPrivateData; in ProcessClearBE()
171 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BEClear, pDC->drawId); in ProcessClearBE()
182 pContext->pHotTileMgr->GetHotTile(pContext, in ProcessClearBE()
202 HOTTILE* pHotTile = pContext->pHotTileMgr->GetHotTile(pContext, in ProcessClearBE()
216 HOTTILE* pHotTile = pContext->pHotTileMgr->GetHotTile(pContext, 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()
Dbackend_singlesample.cpp48 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BESingleSampleBackend, pDC->drawId); in BackendSingleSample()
49 RDTSC_BEGIN(pDC->pContext->pBucketMgr, BESetup, pDC->drawId); in BackendSingleSample()
51 void* pWorkerData = pDC->pContext->threadPool.pThreadData[workerId].pWorkerPrivateData; 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()
[all …]
Dfrontend.cpp51 void ProcessSync(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t workerId, void* pUserData) in ProcessSync() argument
67 void ProcessShutdown(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t workerId, void* pUserData) in ProcessShutdown() argument
76 uint32_t numNumaNodes = pContext->threadPool.numaMask + 1; in ProcessShutdown()
78 for (uint32_t i = 0; i < pContext->threadPool.numThreads; ++i) in ProcessShutdown()
94 void ProcessClear(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t workerId, void* pUserData) in ProcessClear() argument
127 void ProcessStoreTiles(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t workerId, void* pUserData) in ProcessStoreTiles() argument
129 RDTSC_BEGIN(pContext->pBucketMgr, FEProcessStoreTiles, pDC->drawId); in ProcessStoreTiles()
154 RDTSC_END(pContext->pBucketMgr, FEProcessStoreTiles, 0); in ProcessStoreTiles()
164 void ProcessDiscardInvalidateTiles(SWR_CONTEXT* pContext, in ProcessDiscardInvalidateTiles() argument
169 RDTSC_BEGIN(pContext->pBucketMgr, FEProcessInvalidateTiles, pDC->drawId); in ProcessDiscardInvalidateTiles()
[all …]
Drasterizer_impl.h845 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 …]
/third_party/boost/boost/statechart/
Dstate.hpp38 my_context( typename base_type::context_ptr_type pContext ) : in my_context()
39 pContext_( pContext ) in my_context()
75 const context_ptr_type & pContext, in deep_construct() argument
79 shallow_construct( pContext, outermostContextBase ) ); in deep_construct()
85 const context_ptr_type & pContext, in shallow_construct() argument
89 new MostDerived( my_context( pContext ) ) ); in shallow_construct()
Dsimple_state.hpp551 context_ptr_type pContext = pContext_; in exit_impl() local
553 pContext->exit_impl( in exit_impl()
554 pContext, pOutermostUnstableState, performFullExit ); in exit_impl()
588 const context_ptr_type & pContext, in deep_construct() argument
592 shallow_construct( pContext, outermostContextBase ) ); in deep_construct()
598 const context_ptr_type & pContext, in shallow_construct() argument
602 pInnerContext->set_context( pContext ); in shallow_construct()
607 void set_context( const context_ptr_type & pContext ) in set_context() argument
609 BOOST_ASSERT( get_pointer( pContext ) != 0 ); in set_context()
610 pContext_ = pContext; in set_context()
[all …]
Ddeep_history.hpp48 const context_ptr_type & pContext, in deep_construct() argument
52 DefaultState >( pContext ); in deep_construct()
Dshallow_history.hpp48 const context_ptr_type & pContext, in deep_construct() argument
52 DefaultState >( pContext ); in deep_construct()
/third_party/icu/icu4c/source/common/
Dcmemory.cpp33 static const void *pContext; variable
56 return (*pAlloc)(pContext, s); in uprv_malloc()
75 (*pFree)(pContext, buffer); in uprv_realloc()
82 return (*pRealloc)(pContext, buffer, size); in uprv_realloc()
97 (*pFree)(pContext, buffer); in uprv_free()
125 pContext = context; in u_setMemoryFunctions()
133 pContext = NULL; in cmemory_cleanup()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dcmemory.cpp33 static const void *pContext; variable
56 return (*pAlloc)(pContext, s); in uprv_malloc()
75 (*pFree)(pContext, buffer); in uprv_realloc()
82 return (*pRealloc)(pContext, buffer, size); in uprv_realloc()
97 (*pFree)(pContext, buffer); in uprv_free()
125 pContext = context; in u_setMemoryFunctions()
133 pContext = NULL; in cmemory_cleanup()
/third_party/skia/third_party/externals/icu/source/common/
Dcmemory.cpp33 static const void *pContext; variable
56 return (*pAlloc)(pContext, s); in uprv_malloc()
75 (*pFree)(pContext, buffer); in uprv_realloc()
82 return (*pRealloc)(pContext, buffer, size); in uprv_realloc()
97 (*pFree)(pContext, buffer); in uprv_free()
125 pContext = context; in u_setMemoryFunctions()
133 pContext = NULL; in cmemory_cleanup()
/third_party/node/deps/icu-small/source/common/
Dcmemory.cpp33 static const void *pContext; variable
56 return (*pAlloc)(pContext, s); in uprv_malloc()
75 (*pFree)(pContext, buffer); in uprv_realloc()
82 return (*pRealloc)(pContext, buffer, size); in uprv_realloc()
97 (*pFree)(pContext, buffer); in uprv_free()
125 pContext = context; in u_setMemoryFunctions()
133 pContext = NULL; in cmemory_cleanup()
/third_party/python/Modules/
D_lsprof.c339 ProfilerContext *pContext; in ptrace_enter_call() local
357 pContext = pObj->freelistProfilerContext; in ptrace_enter_call()
358 if (pContext) { in ptrace_enter_call()
359 pObj->freelistProfilerContext = pContext->previous; in ptrace_enter_call()
363 pContext = (ProfilerContext*) in ptrace_enter_call()
365 if (pContext == NULL) { in ptrace_enter_call()
370 initContext(pObj, pContext, profEntry); in ptrace_enter_call()
382 ProfilerContext *pContext; in ptrace_leave_call() local
384 pContext = pObj->currentProfilerContext; in ptrace_leave_call()
385 if (pContext == NULL) in ptrace_leave_call()
[all …]
/third_party/boost/boost/statechart/detail/
Dconstructor.hpp68 const context_ptr_type & pContext, in construct()
72 to_construct::shallow_construct( pContext, outermostContextBase ); in construct()
90 const context_ptr_type & pContext, in construct()
93 to_construct::deep_construct( pContext, outermostContextBase ); in construct()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/windows/
DSDL_xinputjoystick.c108 AddXInputDevice(const Uint8 userid, BYTE SubType, JoyStick_DeviceData **pContext) in AddXInputDevice() argument
111 JoyStick_DeviceData *pNewJoystick = *pContext; in AddXInputDevice()
122 if (pNewJoystick == *pContext) { in AddXInputDevice()
123 *pContext = pNewJoystick->pNext; in AddXInputDevice()
167 SDL_XINPUT_JoystickDetect(JoyStick_DeviceData **pContext) in SDL_XINPUT_JoystickDetect() argument
180 AddXInputDevice(userid, capabilities.SubType, pContext); in SDL_XINPUT_JoystickDetect()
394 SDL_XINPUT_JoystickDetect(JoyStick_DeviceData **pContext) in SDL_XINPUT_JoystickDetect() argument
/third_party/openSLES/api/1.1/
DOpenSLES.h438 const void * pContext,
467 void * pContext
564 void *pContext,
573 void *pContext,
581 void *pContext,
601 void *pContext
616 void *pContext
621 void *pContext
862 void *pContext,
870 void *pContext
[all …]
/third_party/openSLES/api/1.0.1/
DOpenSLES.h393 const void * pContext,
422 void * pContext
519 void *pContext,
528 void *pContext,
536 void *pContext,
556 void *pContext
571 void *pContext
576 void *pContext
882 void *pContext
895 void *pContext
[all …]
/third_party/openSLES/api/1.0/
DOpenSLES.h392 const void * pContext,
421 void * pContext
516 void *pContext,
525 void *pContext,
533 void *pContext,
553 void *pContext
568 void *pContext
573 void *pContext
879 void *pContext
892 void *pContext
[all …]

123