Searched refs:gpuSync (Results 1 – 2 of 2) sorted by relevance
/external/skia/tools/skpbench/ |
D | skpbench.cpp | 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 [all …]
|
/external/skqp/tools/skpbench/ |
D | skpbench.cpp | 122 static void ddl_sample(GrContext* context, DDLTileHelper* tiles, GpuSync* gpuSync, Sample* sample, in ddl_sample() argument 132 if (gpuSync) { in ddl_sample() 133 gpuSync->syncToPreviousFrame(); in ddl_sample() 142 SkASSERT(gpuSync); in ddl_sample() 174 GpuSync gpuSync(fenceSync); in run_ddl_benchmark() local 175 ddl_sample(context, &tiles, &gpuSync, nullptr, &startStopTime); in run_ddl_benchmark() 184 ddl_sample(context, &tiles, &gpuSync, &sample, &startStopTime); in run_ddl_benchmark() 203 GpuSync gpuSync(fenceSync); in run_benchmark() local 208 gpuSync.syncToPreviousFrame(); in run_benchmark() 221 gpuSync.syncToPreviousFrame(); in run_benchmark() [all …]
|