Searched refs:fShapes (Results 1 - 3 of 3) sorted by relevance

/external/skia/gm/
H A Dshapes.cpp22 fShapes.push_back().setOval(SkRect::MakeXYWH(-5, 25, 200, 100));
25 fShapes.push_back().setRect(SkRect::MakeXYWH(95, 75, 125, 100));
28 fShapes.push_back().setRectXY(SkRect::MakeXYWH(0, 75, 150, 100), 1e-5f, 1e-5f);
31 fShapes.push_back().setRectXY(SkRect::MakeXYWH(15, -20, 100, 100), 20, 15);
34 fSimpleShapeCount = fShapes.count();
36 fShapes.push_back().setNinePatch(SkRect::MakeXYWH(140, -50, 90, 110), 10, 5, 25, 35);
39 fShapes.push_back().setNinePatch(SkRect::MakeXYWH(160, -60, 60, 90), 10, 60, 50, 30);
42 fShapes.push_back().setNinePatch(SkRect::MakeXYWH(220, -120, 60, 90), 1, 89, 59, 1);
46 fShapes.push_back().setRectRadii(SkRect::MakeXYWH(150, -129, 80, 160), radii);
50 fShapes
80 SkTArray<SkRRect> fShapes; member in class:skiagm::ShapesGM
[all...]
/external/skia/bench/
H A DShapesBench.cpp150 fShapes.push_back_n(fNumShapes);
154 fShapes[i].fMatrix.setTranslate(0.5f * pad + rand.nextF() * (kBenchWidth - pad),
156 fShapes[i].fMatrix.preRotate(rand.nextF() * 360.0f);
158 fShapes[i].fMatrix.setPerspX(0.00015f);
159 fShapes[i].fMatrix.setPerspY(-0.00015f);
161 fShapes[i].fColor = rand.nextU() | 0xff808080;
179 fShapes[i].fDraw = bind(&SkCanvas::drawRect, _1, cref(fRect.rect()), _2);
182 fShapes[i].fDraw = bind(&SkCanvas::drawOval, _1, cref(fOval.rect()), _2);
185 fShapes[i].fDraw = bind(&SkCanvas::drawRRect, _1, cref(fRRect), _2);
201 fShapes[
245 SkTArray<ShapeInfo> fShapes; member in class:ShapesBench
[all...]
/external/skia/src/gpu/ops/
H A DGrSmallPathRenderer.cpp156 for (const auto& geo : fShapes) {
193 fShapes.emplace_back(Entry{color, shape, translate});
204 color->setToConstant(fShapes[0].fColor);
209 optimizations.getOverrideColorIfSet(&fShapes[0].fColor);
222 int instanceCount = fShapes.count();
253 invert.preTranslate(-fShapes[0].fTranslate.fX, -fShapes[0].fTranslate.fY);
282 const Entry& args = fShapes[i];
694 GrColor color() const { return fShapes[0].fColor; }
716 !this->fShapes[
735 SkSTArray<1, Entry> fShapes; member in class:final
[all...]

Completed in 117 milliseconds