Searched defs:PDFScalarBench (Results 1 – 2 of 2) sorted by relevance
46 struct PDFScalarBench : public Benchmark { struct47 PDFScalarBench(const char* n, float (*f)(SkRandom*)) : fName(n), fNextFloat(f) {} in PDFScalarBench() function48 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
45 struct PDFScalarBench : public Benchmark { struct46 PDFScalarBench(const char* n, float (*f)(SkRandom*)) : fName(n), fNextFloat(f) {} in PDFScalarBench() argument47 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