Remove brackets from gm names.

BUG=skia:2634
R=epoger@google.com, borenet@google.com

Author: scroggo@google.com

Review URL: https://codereview.chromium.org/307373003
This commit is contained in:
scroggo 2014-06-03 06:50:26 -07:00 committed by Commit bot
parent 8af0523b38
commit ef470f185f

View File

@ -27,13 +27,12 @@ public:
{ {
SkRect r = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)); SkRect r = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height));
fRRect.setRectXY(r, SkIntToScalar(radius), SkIntToScalar(radius)); fRRect.setRectXY(r, SkIntToScalar(radius), SkIntToScalar(radius));
fName.appendf("-WH[%ix%i]-corner[%i]", width, height, radius); fName.appendf("-WH-%ix%i-corner-%i", width, height, radius);
} }
BlurRoundRectGM(int width, int height) BlurRoundRectGM(int width, int height)
: fName("blurroundrect") { : fName("blurroundrect") {
fName.appendf("-WH[%ix%i]-unevenCorners", fName.appendf("-WH-%ix%i-unevenCorners", width, height);
width, height);
SkVector radii[4]; SkVector radii[4];
radii[0].set(SkIntToScalar(30), SkIntToScalar(30)); radii[0].set(SkIntToScalar(30), SkIntToScalar(30));
radii[1].set(SkIntToScalar(10), SkIntToScalar(10)); radii[1].set(SkIntToScalar(10), SkIntToScalar(10));