public:
BlurRoundRectBench(int width, int height, int cornerRadius)
: fName("blurroundrect") {
- fName.appendf("_WH[%ix%i]_cr[%i]", width, height, cornerRadius);
+ fName.appendf("_WH_%ix%i_cr_%i", width, height, cornerRadius);
SkRect r = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height));
fRRect.setRectXY(r, SkIntToScalar(cornerRadius), SkIntToScalar(cornerRadius));
}
}
SkString type;
this->appendName(&type);
- fName.printf("patch_%s_%s_[%f,%f]", type.c_str(), vertexMode.c_str(),
+ fName.printf("patch_%s_%s_%fx%f", type.c_str(), vertexMode.c_str(),
fScale.x(), fScale.y());
return fName.c_str();
}