Lines Matching refs:bench
129 Benchmark* bench; in next() local
132 bench = new WarmupBench; in next()
135 while ((bench = this->innerNext()) && in next()
136 (SkCommandLineFlags::ShouldSkip(FLAGS_match, bench->getUniqueName()) || in next()
137 !bench->isSuitableFor(Benchmark::kGPU_Backend))) { in next()
138 bench->unref(); in next()
143 if (bench && FLAGS_cpu) { in next()
144 bench = new CpuWrappedBenchmark(fSurfaceProps, bench); in next()
145 } else if (bench && FLAGS_offscreen) { in next()
146 bench = new GpuWrappedBenchmark(fSurfaceProps, bench, FLAGS_msaa); in next()
149 fBenchmark.reset(bench); in next()
155 Benchmark* bench = fBenches->factory()(nullptr); in innerNext() local
157 if (bench->isVisual()) { in innerNext()
160 return bench; in innerNext()
162 bench->unref(); in innerNext()