Lines Matching refs:gpuSync
144 virtual int drawAndFlushAndSync(GrDirectContext*, SkSurface* surface, GpuSync& gpuSync) = 0;
153 GpuSync& gpuSync) override {
154 draw_skp_and_flush_with_sync(context, surface, fSkp.get(), gpuSync);
197 GpuSync& gpuSync) override {
199 draw_skp_and_flush_with_sync(context, surface, this->frame(i).get(), gpuSync);
211 static void ddl_sample(GrDirectContext* dContext, DDLTileHelper* tiles, GpuSync& gpuSync,
238 flush_with_sync(dContext, gpuSync);
242 flush_with_sync(dContext, gpuSync);
297 GpuSync gpuSync;
298 ddl_sample(dContext, &tiles, gpuSync, nullptr, recordingTaskGroup.get(),
309 ddl_sample(dContext, &tiles, gpuSync, &sample, recordingTaskGroup.get(),
350 GpuSync gpuSync;
353 i += skpp->drawAndFlushAndSync(context, surface, gpuSync);
365 sample.fFrames += skpp->drawAndFlushAndSync(context, surface, gpuSync);
390 GpuSync gpuSync;
391 draw_skp_and_flush_with_sync(context, surface, skp, gpuSync);
396 draw_skp_and_flush_with_sync(context, surface, skp, gpuSync);
410 draw_skp_and_flush_with_sync(context, surface, skp, gpuSync);
660 static void flush_with_sync(GrDirectContext* context, GpuSync& gpuSync) {
661 gpuSync.waitIfNeeded();
665 flushInfo.fFinishedContext = gpuSync.newFlushTracker(context);
672 const SkPicture* skp, GpuSync& gpuSync) {
676 flush_with_sync(context, gpuSync);