Home
last modified time | relevance | path

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

/external/skia/tools/skpbench/
Dskpbench.cpp133 static void run_gpu_time_benchmark(sk_gpu_test::GpuTimer* gpuTimer, in run_gpu_time_benchmark() argument
141 if (!gpuTimer->disjointSupport()) { in run_gpu_time_benchmark()
149 gpuTimer->queueStart(); in run_gpu_time_benchmark()
151 PlatformTimerQuery previousTime = gpuTimer->queueStop(); in run_gpu_time_benchmark()
163 gpuTimer->queueStart(); in run_gpu_time_benchmark()
165 PlatformTimerQuery time = gpuTimer->queueStop(); in run_gpu_time_benchmark()
168 switch (gpuTimer->checkQueryStatus(previousTime)) { in run_gpu_time_benchmark()
180 sample.fDuration += gpuTimer->getTimeElapsed(previousTime); in run_gpu_time_benchmark()
184 gpuTimer->deleteQuery(previousTime); in run_gpu_time_benchmark()
190 gpuTimer->deleteQuery(previousTime); in run_gpu_time_benchmark()
[all …]
/external/skia/tools/gpu/
DTestContext.h36 GpuTimer* gpuTimer() const { SkASSERT(fGpuTimer); return fGpuTimer.get(); } in gpuTimer() function