20 fName.
printf(
"samplingoptions_filter_%d_mipmap_%d", (
int)fm, (
int)mm);
31 img = img->makeRasterImage();
39 canvas->
scale(0.75f, 0.75f);
42 paint.setShader(fShader);
43 for (
int i = 0;
i < loops; ++
i) {
44 for (
int j = 0; j < 10; ++j) {
FilteringBench(SkFilterMode fm, SkMipmapMode mm)
void onDelayedSetup() override
const char * onGetName() override
void onDraw(int loops, SkCanvas *canvas) override
void drawRect(const SkRect &rect, const SkPaint &paint)
void scale(SkScalar sx, SkScalar sy)
void printf(const char format[],...) SK_PRINTF_LIKE(2
const char * c_str() const
static SkRect MakeIWH(int w, int h)