Home
last modified time | relevance | path

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

/third_party/skia/tools/skpbench/
H A Dskpbench.cpp377 static void run_gpu_time_benchmark(sk_gpu_test::GpuTimer* gpuTimer, GrDirectContext* context, in run_gpu_time_benchmark() argument
385 if (!gpuTimer->disjointSupport()) { in run_gpu_time_benchmark()
395 gpuTimer->queueStart(); in run_gpu_time_benchmark()
397 previousTime = gpuTimer->queueStop(); in run_gpu_time_benchmark()
409 gpuTimer->queueStart(); in run_gpu_time_benchmark()
411 PlatformTimerQuery time = gpuTimer->queueStop(); in run_gpu_time_benchmark()
413 switch (gpuTimer->checkQueryStatus(previousTime)) { in run_gpu_time_benchmark()
427 sample.fDuration += gpuTimer->getTimeElapsed(previousTime); in run_gpu_time_benchmark()
431 gpuTimer->deleteQuery(previousTime); in run_gpu_time_benchmark()
437 gpuTimer in run_gpu_time_benchmark()
[all...]
/third_party/skia/tools/gpu/
H A DTestContext.h38 GpuTimer* gpuTimer() const { SkASSERT(fGpuTimer); return fGpuTimer.get(); } in gpuTimer() function in sk_gpu_test::TestContext

Completed in 2 milliseconds