Home
last modified time | relevance | path

Searched refs:fActiveTimer (Results 1 – 2 of 2) sorted by relevance

/external/skia/tools/gpu/
DGpuTimer.h27 , fActiveTimer(kInvalidTimerQuery) { in GpuTimer()
29 virtual ~GpuTimer() { SkASSERT(!fActiveTimer); } in ~GpuTimer()
41 SkASSERT(!fActiveTimer); in queueStart()
42 fActiveTimer = this->onQueueTimerStart(); in queueStart()
51 SkASSERT(fActiveTimer); in queueStop()
52 this->onQueueTimerStop(fActiveTimer); in queueStop()
53 return std::exchange(fActiveTimer, kInvalidTimerQuery); in queueStop()
72 PlatformTimerQuery fActiveTimer; variable
/external/skqp/tools/gpu/
DGpuTimer.h28 , fActiveTimer(kInvalidTimerQuery) { in GpuTimer()
30 virtual ~GpuTimer() { SkASSERT(!fActiveTimer); } in ~GpuTimer()
42 SkASSERT(!fActiveTimer); in queueStart()
43 fActiveTimer = this->onQueueTimerStart(); in queueStart()
52 SkASSERT(fActiveTimer); in queueStop()
53 this->onQueueTimerStop(fActiveTimer); in queueStop()
54 return skstd::exchange(fActiveTimer, kInvalidTimerQuery); in queueStop()
73 PlatformTimerQuery fActiveTimer; variable