Searched refs:gpuTimer (Results 1 – 2 of 2) sorted by relevance
133 static void run_gpu_time_benchmark(sk_gpu_test::GpuTimer* gpuTimer, in run_gpu_time_benchmark() argument141 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 …]
36 GpuTimer* gpuTimer() const { SkASSERT(fGpuTimer); return fGpuTimer.get(); } in gpuTimer() function