Lines Matching refs:PatchBench
22 class PatchBench : public Benchmark { class
33 PatchBench(SkPoint scale, VertexMode vertexMode) in PatchBench() function in PatchBench
158 class SquarePatchBench : public PatchBench {
181 typedef PatchBench INHERITED;
184 class LODDiffPatchBench : public PatchBench {
207 typedef PatchBench INHERITED;
210 class LoopPatchBench : public PatchBench {
233 typedef PatchBench INHERITED;
238 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kNone_VertexMode); )
239 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kColors_VertexMode); )
240 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kTexCoords_VertexMode); )
241 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kBoth_VertexMode); )
242 DEF_BENCH( return new PatchBench(SkVector::Make(1.f, 1.0f), PatchBench::kNone_VertexMode); )
243 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kColors_VertexMode); )
244 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kTexCoords_VertexMode); )
245 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kBoth_VertexMode); )
246 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kNone_VertexMode); )
247 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kColors_VertexMode); )
248 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kTexCoords_VertexMode); )
249 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kBoth_VertexMode); )
252 PatchBench::kNone_VertexMode); )
254 PatchBench::kColors_VertexMode); )
256 PatchBench::kTexCoords_VertexMode); )
258 PatchBench::kBoth_VertexMode); )
260 PatchBench::kNone_VertexMode); )
262 PatchBench::kColors_VertexMode); )
264 PatchBench::kTexCoords_VertexMode); )
266 PatchBench::kBoth_VertexMode); )
268 PatchBench::kNone_VertexMode); )
270 PatchBench::kColors_VertexMode); )
272 PatchBench::kTexCoords_VertexMode); )
274 PatchBench::kBoth_VertexMode); )
277 PatchBench::kNone_VertexMode); )
279 PatchBench::kColors_VertexMode); )
281 PatchBench::kTexCoords_VertexMode); )
283 PatchBench::kBoth_VertexMode); )
285 PatchBench::kNone_VertexMode); )
287 PatchBench::kColors_VertexMode); )
289 PatchBench::kTexCoords_VertexMode); )
291 PatchBench::kBoth_VertexMode); )
293 PatchBench::kNone_VertexMode); )
295 PatchBench::kColors_VertexMode); )
297 PatchBench::kTexCoords_VertexMode); )
299 PatchBench::kBoth_VertexMode); )
302 PatchBench::kNone_VertexMode); )
304 PatchBench::kColors_VertexMode); )
306 PatchBench::kTexCoords_VertexMode); )
308 PatchBench::kBoth_VertexMode); )
310 PatchBench::kNone_VertexMode); )
312 PatchBench::kColors_VertexMode); )
314 PatchBench::kTexCoords_VertexMode); )
316 PatchBench::kBoth_VertexMode); )
318 PatchBench::kNone_VertexMode); )
320 PatchBench::kColors_VertexMode); )
322 PatchBench::kTexCoords_VertexMode); )
324 PatchBench::kBoth_VertexMode); )