Lines Matching refs:PatchBench
22 class PatchBench : public Benchmark { class
33 PatchBench(SkPoint scale, VertexMode vertexMode) in PatchBench() function in PatchBench
159 class SquarePatchBench : public PatchBench {
182 typedef PatchBench INHERITED;
185 class LODDiffPatchBench : public PatchBench {
208 typedef PatchBench INHERITED;
211 class LoopPatchBench : public PatchBench {
234 typedef PatchBench INHERITED;
239 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kNone_VertexMode); )
240 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kColors_VertexMode); )
241 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kTexCoords_VertexMode); )
242 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kBoth_VertexMode); )
243 DEF_BENCH( return new PatchBench(SkVector::Make(1.f, 1.0f), PatchBench::kNone_VertexMode); )
244 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kColors_VertexMode); )
245 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kTexCoords_VertexMode); )
246 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kBoth_VertexMode); )
247 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kNone_VertexMode); )
248 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kColors_VertexMode); )
249 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kTexCoords_VertexMode); )
250 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kBoth_VertexMode); )
253 PatchBench::kNone_VertexMode); )
255 PatchBench::kColors_VertexMode); )
257 PatchBench::kTexCoords_VertexMode); )
259 PatchBench::kBoth_VertexMode); )
261 PatchBench::kNone_VertexMode); )
263 PatchBench::kColors_VertexMode); )
265 PatchBench::kTexCoords_VertexMode); )
267 PatchBench::kBoth_VertexMode); )
269 PatchBench::kNone_VertexMode); )
271 PatchBench::kColors_VertexMode); )
273 PatchBench::kTexCoords_VertexMode); )
275 PatchBench::kBoth_VertexMode); )
278 PatchBench::kNone_VertexMode); )
280 PatchBench::kColors_VertexMode); )
282 PatchBench::kTexCoords_VertexMode); )
284 PatchBench::kBoth_VertexMode); )
286 PatchBench::kNone_VertexMode); )
288 PatchBench::kColors_VertexMode); )
290 PatchBench::kTexCoords_VertexMode); )
292 PatchBench::kBoth_VertexMode); )
294 PatchBench::kNone_VertexMode); )
296 PatchBench::kColors_VertexMode); )
298 PatchBench::kTexCoords_VertexMode); )
300 PatchBench::kBoth_VertexMode); )
303 PatchBench::kNone_VertexMode); )
305 PatchBench::kColors_VertexMode); )
307 PatchBench::kTexCoords_VertexMode); )
309 PatchBench::kBoth_VertexMode); )
311 PatchBench::kNone_VertexMode); )
313 PatchBench::kColors_VertexMode); )
315 PatchBench::kTexCoords_VertexMode); )
317 PatchBench::kBoth_VertexMode); )
319 PatchBench::kNone_VertexMode); )
321 PatchBench::kColors_VertexMode); )
323 PatchBench::kTexCoords_VertexMode); )
325 PatchBench::kBoth_VertexMode); )