Lines Matching refs:fShapes
149 fShapes.push_back_n(fNumShapes); in onDelayedSetup()
153 fShapes[i].fMatrix.setTranslate(0.5f * pad + rand.nextF() * (kBenchWidth - pad), in onDelayedSetup()
155 fShapes[i].fMatrix.preRotate(rand.nextF() * 360.0f); in onDelayedSetup()
157 fShapes[i].fMatrix.setPerspX(0.00015f); in onDelayedSetup()
158 fShapes[i].fMatrix.setPerspY(-0.00015f); in onDelayedSetup()
160 fShapes[i].fColor = rand.nextU() | 0xff808080; in onDelayedSetup()
178 fShapes[i].fDraw = bind(&SkCanvas::drawRect, _1, cref(fRect.rect()), _2); in onDelayedSetup()
181 fShapes[i].fDraw = bind(&SkCanvas::drawOval, _1, cref(fOval.rect()), _2); in onDelayedSetup()
184 fShapes[i].fDraw = bind(&SkCanvas::drawRRect, _1, cref(fRRect), _2); in onDelayedSetup()
200 fShapes[i].fDraw = std::bind(&SkCanvas::drawDRRect, std::placeholders::_1, in onDelayedSetup()
213 canvas->setMatrix(fShapes[i].fMatrix); in onDraw()
214 paint.setColor(fShapes[i].fColor); in onDraw()
215 fShapes[i].fDraw(canvas, paint); in onDraw()
244 SkTArray<ShapeInfo> fShapes; member in ShapesBench