Searched refs:fShapes (Results 1 - 4 of 4) sorted by relevance
/third_party/skia/gm/ |
H A D | shapes.cpp | 43 fShapes.push_back().setOval(SkRect::MakeXYWH(-5, 25, 200, 100)); 46 fShapes.push_back().setRect(SkRect::MakeXYWH(95, 75, 125, 100)); 49 fShapes.push_back().setRectXY(SkRect::MakeXYWH(0, 75, 150, 100), 1e-5f, 1e-5f); 52 fShapes.push_back().setRectXY(SkRect::MakeXYWH(15, -20, 100, 100), 20, 15); 55 fSimpleShapeCount = fShapes.count(); 57 fShapes.push_back().setNinePatch(SkRect::MakeXYWH(140, -50, 90, 110), 10, 5, 25, 35); 60 fShapes.push_back().setNinePatch(SkRect::MakeXYWH(160, -60, 60, 90), 10, 60, 50, 30); 63 fShapes.push_back().setNinePatch(SkRect::MakeXYWH(220, -120, 60, 90), 1, 89, 59, 1); 67 fShapes.push_back().setRectRadii(SkRect::MakeXYWH(150, -129, 80, 160), radii); 71 fShapes 92 SkTArray<SkRRect> fShapes; global() member in skiagm::ShapesGM [all...] |
/third_party/skia/bench/ |
H A D | ShapesBench.cpp | 151 fShapes.push_back_n(fNumShapes); 155 fShapes[i].fMatrix.setTranslate(0.5f * pad + rand.nextF() * (kBenchWidth - pad), 157 fShapes[i].fMatrix.preRotate(rand.nextF() * 360.0f); 159 fShapes[i].fMatrix.setPerspX(0.00015f); 160 fShapes[i].fMatrix.setPerspY(-0.00015f); 162 fShapes[i].fColor = rand.nextU() | 0xff808080; 180 fShapes[i].fDraw = bind(&SkCanvas::drawRect, _1, cref(fRect.rect()), _2); 183 fShapes[i].fDraw = bind(&SkCanvas::drawOval, _1, cref(fOval.rect()), _2); 186 fShapes[i].fDraw = bind(&SkCanvas::drawRRect, _1, cref(fRRect), _2); 202 fShapes[ 246 SkTArray<ShapeInfo> fShapes; global() member in ShapesBench [all...] |
/third_party/skia/samplecode/ |
H A D | SampleThinAA.cpp | 258 fShapes.push_back(RectRenderer::Make()); 259 fShapes.push_back(PathRenderer::MakeLine()); 260 fShapes.push_back(PathRenderer::MakeLines(4.f)); // 2 segments 261 fShapes.push_back(PathRenderer::MakeCurve(2.f)); // Shallow curve 262 fShapes.push_back(PathRenderer::MakeCurve(8.f)); // Deep curve 264 for (int i = 0; i < fShapes.count(); ++i) { 265 fNative.push_back(OffscreenShapeRenderer::Make(fShapes[i], 1)); 266 fRaster.push_back(OffscreenShapeRenderer::Make(fShapes[i], 1, /* raster */ true)); 267 fSS4.push_back(OffscreenShapeRenderer::Make(fShapes[i], 4)); // 4x4 -> 16 samples 268 fSS16.push_back(OffscreenShapeRenderer::Make(fShapes[ [all...] |
/third_party/skia/src/gpu/ops/ |
H A D | SmallPathRenderer.cpp | 87 fShapes.emplace_back(Entry{color, shape, viewMatrix}); in SmallPathOp() 104 &fShapes.front().fColor, &fWideColor); 145 int instanceCount = fShapes.count(); 168 const SkMatrix& ctm = fShapes[0].fViewMatrix; 226 const Entry& args = fShapes[i]; 591 const SkPMColor4f& color() const { return fShapes[0].fColor; } in color() 604 const SkMatrix& thisCtm = this->fShapes[0].fViewMatrix; 605 const SkMatrix& thatCtm = that->fShapes[0].fViewMatrix; 626 fShapes.push_back_n(that->fShapes 650 SkSTArray<1, Entry> fShapes; global() member in skgpu::v1::__anon18857::final [all...] |
Completed in 3 milliseconds