Lines Matching refs:gpuSync
136 virtual int drawAndFlushAndSync(SkSurface* surface, GpuSync& gpuSync) = 0;
143 int drawAndFlushAndSync(SkSurface* surface, GpuSync& gpuSync) override { in drawAndFlushAndSync() argument
145 gpuSync.syncToPreviousFrame(); in drawAndFlushAndSync()
185 int drawAndFlushAndSync(SkSurface* surface, GpuSync& gpuSync) override { in drawAndFlushAndSync() argument
188 gpuSync.syncToPreviousFrame(); in drawAndFlushAndSync()
200 static void ddl_sample(GrContext* context, DDLTileHelper* tiles, GpuSync* gpuSync, Sample* sample, in ddl_sample() argument
210 if (gpuSync) { in ddl_sample()
211 gpuSync->syncToPreviousFrame(); in ddl_sample()
220 SkASSERT(gpuSync); in ddl_sample()
254 GpuSync gpuSync(fenceSync); in run_ddl_benchmark() local
255 ddl_sample(context, &tiles, &gpuSync, nullptr, &startStopTime); in run_ddl_benchmark()
264 ddl_sample(context, &tiles, &gpuSync, &sample, &startStopTime); in run_ddl_benchmark()
288 GpuSync gpuSync(fenceSync); in run_benchmark() local
291 i += skpp->drawAndFlushAndSync(surface, gpuSync); in run_benchmark()
303 sample.fFrames += skpp->drawAndFlushAndSync(surface, gpuSync); in run_benchmark()
330 GpuSync gpuSync(fenceSync); in run_gpu_time_benchmark() local
337 gpuSync.syncToPreviousFrame(); in run_gpu_time_benchmark()
352 gpuSync.syncToPreviousFrame(); in run_gpu_time_benchmark()