Home
last modified time | relevance | path

Searched defs:PDFScalarBench (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/bench/
DPDFBench.cpp46 struct PDFScalarBench : public Benchmark { struct
47 PDFScalarBench(const char* n, float (*f)(SkRandom*)) : fName(n), fNextFloat(f) {} in PDFScalarBench() function
48 const char* fName;
49 float (*fNextFloat)(SkRandom*);
50 bool isSuitableFor(Backend b) override { in isSuitableFor()
74 DEF_BENCH(return new PDFScalarBench("PDFScalar_common", next_common);) argument
/third_party/flutter/skia/bench/
DPDFBench.cpp45 struct PDFScalarBench : public Benchmark { struct
46 PDFScalarBench(const char* n, float (*f)(SkRandom*)) : fName(n), fNextFloat(f) {} in PDFScalarBench() argument
47 const char* fName;
48 float (*fNextFloat)(SkRandom*);
49 bool isSuitableFor(Backend b) override { in isSuitableFor()
73 DEF_BENCH(return new PDFScalarBench("PDFScalar_common", next_common);) argument