Home
last modified time | relevance | path

Searched refs:fShapesSize (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/bench/
DShapesBench.cpp55 , fShapesSize(shapesSize) in ShapesBench()
90 if (2 != sscanf(FLAGS_shapesSize[0], "%ix%i", &fShapesSize.fWidth, &fShapesSize.fHeight)) { in ShapesBench()
106 float diagonal = sqrtf(static_cast<float>(fShapesSize.width() * fShapesSize.width()) + in clampShapeSize()
107 static_cast<float>(fShapesSize.height() * fShapesSize.height())); in clampShapeSize()
109 fShapesSize.fWidth = static_cast<int>(fShapesSize.width() * maxDiagonal / diagonal); in clampShapeSize()
110 fShapesSize.fHeight = static_cast<int>(fShapesSize.height() * maxDiagonal / diagonal); in clampShapeSize()
125 fName.appendf("_%i_%ix%i", fNumShapes, fShapesSize.width(), fShapesSize.height()); in onGetName()
136 SkScalar w = SkIntToScalar(fShapesSize.width()); in onDelayedSetup()
137 SkScalar h = SkIntToScalar(fShapesSize.height()); in onDelayedSetup()
153 float pad = sqrtf(static_cast<float>(fShapesSize.width() * fShapesSize.width()) + in onDelayedSetup()
[all …]