Searched defs:PDFShaderBench (Results 1 – 2 of 2) sorted by relevance
202 struct PDFShaderBench : public Benchmark { struct203 sk_sp<SkShader> fShader;204 const char* onGetName() final { return "PDFShader"; } in onGetName()205 bool isSuitableFor(Backend b) final { return b == kNonRendering_Backend; } in isSuitableFor()206 void onDelayedSetup() final { in onDelayedSetup()216 void onDraw(int loops, SkCanvas*) final { in onDraw()
206 struct PDFShaderBench : public Benchmark { struct207 sk_sp<SkShader> fShader;208 const char* onGetName() final { return "PDFShader"; } in onGetName()209 bool isSuitableFor(Backend b) final { return b == Backend::kNonRendering; } in isSuitableFor()210 void onDelayedSetup() final { in onDelayedSetup()220 void onDraw(int loops, SkCanvas*) final { in onDraw()