Lines Matching refs:fShapes
151 fShapes.push_back_n(fNumShapes); in onDelayedSetup()
155 fShapes[i].fMatrix.setTranslate(0.5f * pad + rand.nextF() * (kBenchWidth - pad), in onDelayedSetup()
157 fShapes[i].fMatrix.preRotate(rand.nextF() * 360.0f); in onDelayedSetup()
159 fShapes[i].fMatrix.setPerspX(0.00015f); in onDelayedSetup()
160 fShapes[i].fMatrix.setPerspY(-0.00015f); in onDelayedSetup()
162 fShapes[i].fColor = rand.nextU() | 0xff808080; in onDelayedSetup()
180 fShapes[i].fDraw = bind(&SkCanvas::drawRect, _1, cref(fRect.rect()), _2); in onDelayedSetup()
183 fShapes[i].fDraw = bind(&SkCanvas::drawOval, _1, cref(fOval.rect()), _2); in onDelayedSetup()
186 fShapes[i].fDraw = bind(&SkCanvas::drawRRect, _1, cref(fRRect), _2); in onDelayedSetup()
202 fShapes[i].fDraw = std::bind(&SkCanvas::drawDRRect, std::placeholders::_1, in onDelayedSetup()
215 canvas->setMatrix(fShapes[i].fMatrix); in onDraw()
216 paint.setColor(fShapes[i].fColor); in onDraw()
217 fShapes[i].fDraw(canvas, paint); in onDraw()
246 SkTArray<ShapeInfo> fShapes; member in ShapesBench