Home
last modified time | relevance | path

Searched refs:fPaths (Results 1 – 25 of 40) sorted by relevance

12

/external/skia/gm/
Dconvexpaths.cpp53 fPaths.push_back().moveTo(0, 0); in makePaths()
54 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths()
56 fPaths.back().lineTo(0, 0); in makePaths()
58 fPaths.push_back().moveTo(0, 50 * SK_Scalar1); in makePaths()
59 fPaths.back().quadTo(50 * SK_Scalar1, 0, in makePaths()
61 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths()
64 fPaths.push_back().addRect(0, 0, in makePaths()
68 fPaths.push_back().addRect(0, 0, in makePaths()
72 fPaths.push_back().addCircle(50 * SK_Scalar1, 50 * SK_Scalar1, in makePaths()
76 fPaths.push_back().addOval(SkRect::MakeXYWH(0, 0, in makePaths()
[all …]
Dhairlines.cpp27 SkPath* lineAnglesPath = &fPaths.push_back(); in onOnceBeforeDraw()
42 SkPath* kindaTightQuad = &fPaths.push_back(); in onOnceBeforeDraw()
48 SkPath* tightQuad = &fPaths.push_back(); in onOnceBeforeDraw()
54 SkPath* tighterQuad = &fPaths.push_back(); in onOnceBeforeDraw()
60 SkPath* unevenTighterQuad = &fPaths.push_back(); in onOnceBeforeDraw()
68 SkPath* reallyTightQuad = &fPaths.push_back(); in onOnceBeforeDraw()
74 SkPath* closedQuad = &fPaths.push_back(); in onOnceBeforeDraw()
80 SkPath* unevenClosedQuad = &fPaths.push_back(); in onOnceBeforeDraw()
89 SkPath* problem1 = &fPaths.push_back(); in onOnceBeforeDraw()
98 SkPath* problem2 = &fPaths.push_back(); in onOnceBeforeDraw()
[all …]
Dconicpaths.cpp27 SkPath* conicCirlce = &fPaths.push_back(); in onOnceBeforeDraw()
36 SkPath* hyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
41 SkPath* thinHyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
46 SkPath* veryThinHyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
51 SkPath* closedHyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
57 SkPath* nearParabola = &fPaths.push_back(); in onOnceBeforeDraw()
62 SkPath* thinEllipse = &fPaths.push_back(); in onOnceBeforeDraw()
67 SkPath* veryThinEllipse = &fPaths.push_back(); in onOnceBeforeDraw()
72 SkPath* closedEllipse = &fPaths.push_back(); in onOnceBeforeDraw()
99 for (int p = 0; p < fPaths.count(); ++p) { in onDraw()
[all …]
Dstlouisarch.cpp26 SkPath* bigQuad = &fPaths.push_back(); in onOnceBeforeDraw()
32 SkPath* degenBigQuad = &fPaths.push_back(); in onOnceBeforeDraw()
40 SkPath* bigCubic = &fPaths.push_back(); in onOnceBeforeDraw()
48 SkPath* degenBigCubic = &fPaths.push_back(); in onOnceBeforeDraw()
57 SkPath* bigConic = &fPaths.push_back(); in onOnceBeforeDraw()
63 SkPath* degenBigConic = &fPaths.push_back(); in onOnceBeforeDraw()
74 for (int p = 0; p < fPaths.count(); ++p) { in onDraw()
80 canvas->drawPath(fPaths[p], paint); in onDraw()
89 SkTArray<SkPath> fPaths; member in skiagm::StLouisArchGM
Dcomplexclip2.cpp63 fPaths[0].addRoundRect(fRects[0], 5, 5); in onOnceBeforeDraw()
68 fPaths[1].addRoundRect(fRects[1], 5, 5); in onOnceBeforeDraw()
73 fPaths[2].addRoundRect(fRects[2], 5, 5); in onOnceBeforeDraw()
78 fPaths[3].addRoundRect(fRects[3], 5, 5); in onOnceBeforeDraw()
83 fPaths[4].addRoundRect(fRects[4], 5, 5); in onOnceBeforeDraw()
167 canvas->drawPath(fPaths[k], rectPaint); in onDraw()
185 canvas->clipPath(fPaths[k], in onDraw()
201 SkPath fPaths[5]; member in skiagm::ComplexClip2GM
Dconvexpolyeffect.cpp130 fPaths.addToTail(tri); in onOnceBeforeDraw()
131 fPaths.addToTail(SkPath())->reverseAddPath(tri); in onOnceBeforeDraw()
134 fPaths.addToTail(tri); in onOnceBeforeDraw()
152 fPaths.addToTail(ngon); in onOnceBeforeDraw()
156 fPaths.addToTail(ngon); in onOnceBeforeDraw()
161 fPaths.addToTail(linePath); in onOnceBeforeDraw()
189 for (PathList::Iter iter(fPaths, PathList::Iter::kHead_IterStart); in onDraw()
274 PathList fPaths; member in skiagm::ConvexPolyEffect
/external/skqp/gm/
Dconvexpaths.cpp53 fPaths.push_back().moveTo(0, 0); in makePaths()
54 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths()
56 fPaths.back().lineTo(0, 0); in makePaths()
58 fPaths.push_back().moveTo(0, 50 * SK_Scalar1); in makePaths()
59 fPaths.back().quadTo(50 * SK_Scalar1, 0, in makePaths()
61 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths()
64 fPaths.push_back().addRect(0, 0, in makePaths()
68 fPaths.push_back().addRect(0, 0, in makePaths()
72 fPaths.push_back().addCircle(50 * SK_Scalar1, 50 * SK_Scalar1, in makePaths()
76 fPaths.push_back().addOval(SkRect::MakeXYWH(0, 0, in makePaths()
[all …]
Dhairlines.cpp27 SkPath* lineAnglesPath = &fPaths.push_back(); in onOnceBeforeDraw()
42 SkPath* kindaTightQuad = &fPaths.push_back(); in onOnceBeforeDraw()
48 SkPath* tightQuad = &fPaths.push_back(); in onOnceBeforeDraw()
54 SkPath* tighterQuad = &fPaths.push_back(); in onOnceBeforeDraw()
60 SkPath* unevenTighterQuad = &fPaths.push_back(); in onOnceBeforeDraw()
68 SkPath* reallyTightQuad = &fPaths.push_back(); in onOnceBeforeDraw()
74 SkPath* closedQuad = &fPaths.push_back(); in onOnceBeforeDraw()
80 SkPath* unevenClosedQuad = &fPaths.push_back(); in onOnceBeforeDraw()
89 SkPath* problem1 = &fPaths.push_back(); in onOnceBeforeDraw()
98 SkPath* problem2 = &fPaths.push_back(); in onOnceBeforeDraw()
[all …]
Dconicpaths.cpp27 SkPath* conicCirlce = &fPaths.push_back(); in onOnceBeforeDraw()
36 SkPath* hyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
41 SkPath* thinHyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
46 SkPath* veryThinHyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
51 SkPath* closedHyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
57 SkPath* nearParabola = &fPaths.push_back(); in onOnceBeforeDraw()
62 SkPath* thinEllipse = &fPaths.push_back(); in onOnceBeforeDraw()
67 SkPath* veryThinEllipse = &fPaths.push_back(); in onOnceBeforeDraw()
72 SkPath* closedEllipse = &fPaths.push_back(); in onOnceBeforeDraw()
99 for (int p = 0; p < fPaths.count(); ++p) { in onDraw()
[all …]
Dstlouisarch.cpp26 SkPath* bigQuad = &fPaths.push_back(); in onOnceBeforeDraw()
32 SkPath* degenBigQuad = &fPaths.push_back(); in onOnceBeforeDraw()
40 SkPath* bigCubic = &fPaths.push_back(); in onOnceBeforeDraw()
48 SkPath* degenBigCubic = &fPaths.push_back(); in onOnceBeforeDraw()
57 SkPath* bigConic = &fPaths.push_back(); in onOnceBeforeDraw()
63 SkPath* degenBigConic = &fPaths.push_back(); in onOnceBeforeDraw()
74 for (int p = 0; p < fPaths.count(); ++p) { in onDraw()
80 canvas->drawPath(fPaths[p], paint); in onDraw()
89 SkTArray<SkPath> fPaths; member in skiagm::StLouisArchGM
Dcomplexclip2.cpp63 fPaths[0].addRoundRect(fRects[0], 5, 5); in onOnceBeforeDraw()
68 fPaths[1].addRoundRect(fRects[1], 5, 5); in onOnceBeforeDraw()
73 fPaths[2].addRoundRect(fRects[2], 5, 5); in onOnceBeforeDraw()
78 fPaths[3].addRoundRect(fRects[3], 5, 5); in onOnceBeforeDraw()
83 fPaths[4].addRoundRect(fRects[4], 5, 5); in onOnceBeforeDraw()
167 canvas->drawPath(fPaths[k], rectPaint); in onDraw()
185 canvas->clipPath(fPaths[k], in onDraw()
201 SkPath fPaths[5]; member in skiagm::ComplexClip2GM
Dconvexpolyeffect.cpp130 fPaths.addToTail(tri); in onOnceBeforeDraw()
131 fPaths.addToTail(SkPath())->reverseAddPath(tri); in onOnceBeforeDraw()
134 fPaths.addToTail(tri); in onOnceBeforeDraw()
152 fPaths.addToTail(ngon); in onOnceBeforeDraw()
156 fPaths.addToTail(ngon); in onOnceBeforeDraw()
161 fPaths.addToTail(linePath); in onOnceBeforeDraw()
189 for (PathList::Iter iter(fPaths, PathList::Iter::kHead_IterStart); in onDraw()
274 PathList fPaths; member in skiagm::ConvexPolyEffect
/external/skqp/samplecode/
DSamplePathFinder.cpp66 fPaths.push_back() = {path, paint, this->getTotalMatrix()}; in onDrawPath()
91 SkTSwap(fPaths, fTossedPaths); in handleKeystroke()
100 if (fPaths.count() > 1) { in handleKeystroke()
101 int midpt = (fPaths.count() + 1) / 2; in handleKeystroke()
102 fPathHistory.emplace(fPaths, fTossedPaths); in handleKeystroke()
103 fTossedPaths.reset(fPaths.begin() + midpt, fPaths.count() - midpt); in handleKeystroke()
104 fPaths.resize_back(midpt); in handleKeystroke()
110 fPaths = fPathHistory.top().first; in handleKeystroke()
130 for (const FoundPath& foundPath : fPaths) { in handleKeystroke()
139 for (const FoundPath& path : fPaths) { in onDrawContent()
[all …]
DSampleShadowUtils.cpp26 SkTArray<SkPath> fPaths; member in ShadowUtilsView
46 fPaths.push_back().addRoundRect(SkRect::MakeWH(50, 50), 10, 10); in onOnceBeforeDraw()
49 fPaths.push_back().addRRect(oddRRect); in onOnceBeforeDraw()
50 fPaths.push_back().addRect(SkRect::MakeWH(50, 50)); in onOnceBeforeDraw()
51 fPaths.push_back().addCircle(25, 25, 25); in onOnceBeforeDraw()
52 fPaths.push_back().cubicTo(100, 50, 20, 100, 0, 0); in onOnceBeforeDraw()
53 fPaths.push_back().addOval(SkRect::MakeWH(20, 60)); in onOnceBeforeDraw()
173 for (const auto& path : fPaths) { in onDrawContent()
/external/skia/bench/
DAlternatingColorPatternBench.cpp86 SkPath fPaths[NUM_DRAWS]; member in AlternatingColorPatternBench
129 fPaths[count].moveTo(SkIntToScalar(x), SkIntToScalar(y)); in onDelayedSetup()
130 fPaths[count].rLineTo(SkIntToScalar(w), 0); in onDelayedSetup()
131 fPaths[count].rLineTo(0, SkIntToScalar(h)); in onDelayedSetup()
132 fPaths[count].rLineTo(SkIntToScalar(-w + 1), 0); in onDelayedSetup()
158 canvas->drawPath(fPaths[j], paint); in onDraw()
/external/skqp/bench/
DAlternatingColorPatternBench.cpp86 SkPath fPaths[NUM_DRAWS]; member in AlternatingColorPatternBench
129 fPaths[count].moveTo(SkIntToScalar(x), SkIntToScalar(y)); in onDelayedSetup()
130 fPaths[count].rLineTo(SkIntToScalar(w), 0); in onDelayedSetup()
131 fPaths[count].rLineTo(0, SkIntToScalar(h)); in onDelayedSetup()
132 fPaths[count].rLineTo(SkIntToScalar(-w + 1), 0); in onDelayedSetup()
158 canvas->drawPath(fPaths[j], paint); in onDraw()
/external/skqp/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp161 fPaths.emplace_back( in AAFlatteningConvexPathOp()
186 for (const auto& path : fPaths) { in dumpInfo()
203 &fPaths.back().fColor); in finalize()
256 int instanceCount = fPaths.count(); in onPrepareDraws()
265 const PathData& args = fPaths[i]; in onPrepareDraws()
311 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); in onCombineIfPossible()
316 const SkMatrix& viewMatrix() const { return fPaths[0].fViewMatrix; } in viewMatrix()
328 SkSTArray<1, PathData, true> fPaths; member in __anonb0cd38b10111::AAFlatteningConvexPathOp
DGrDefaultPathRenderer.cpp352 string.appendf("Color: 0x%08x Count: %d\n", fColor, fPaths.count()); in dumpInfo()
353 for (const auto& path : fPaths) { in dumpInfo()
371 fPaths.emplace_back(PathData{path, tolerance}); in DefaultPathOp()
401 int instanceCount = fPaths.count(); in onPrepareDraws()
406 const PathData& args = fPaths[i]; in onPrepareDraws()
423 const PathData& args = fPaths[i]; in onPrepareDraws()
450 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); in onCombineIfPossible()
465 SkSTArray<1, PathData, true> fPaths; member in __anon992fb3e50111::DefaultPathOp
DGrAAConvexPathRenderer.cpp749 fPaths.emplace_back(PathData{viewMatrix, path, color}); in AAConvexPathOp()
762 string.appendf("Count: %d\n", fPaths.count()); in dumpInfo()
774 &fPaths.back().fColor); in finalize()
781 fPaths.back().fViewMatrix, in prepareLinesOnlyDraws()
797 int instanceCount = fPaths.count(); in prepareLinesOnlyDraws()
802 const PathData& args = fPaths[i]; in prepareLinesOnlyDraws()
845 int instanceCount = fPaths.count(); in onPrepareDraws()
848 if (fHelper.usesLocalCoords() && !fPaths.back().fViewMatrix.invert(&invert)) { in onPrepareDraws()
859 const PathData& args = fPaths[i]; in onPrepareDraws()
934 !fPaths[0].fViewMatrix.cheapEqualTo(that->fPaths[0].fViewMatrix)) { in onCombineIfPossible()
[all …]
/external/skia/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp161 fPaths.emplace_back( in AAFlatteningConvexPathOp()
186 for (const auto& path : fPaths) { in dumpInfo()
203 &fPaths.back().fColor); in finalize()
256 int instanceCount = fPaths.count(); in onPrepareDraws()
265 const PathData& args = fPaths[i]; in onPrepareDraws()
310 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); in onCombineIfPossible()
315 const SkMatrix& viewMatrix() const { return fPaths[0].fViewMatrix; } in viewMatrix()
327 SkSTArray<1, PathData, true> fPaths; member in __anon43322bda0111::AAFlatteningConvexPathOp
DGrDefaultPathRenderer.cpp352 string.appendf("Color: 0x%08x Count: %d\n", fColor, fPaths.count()); in dumpInfo()
353 for (const auto& path : fPaths) { in dumpInfo()
371 fPaths.emplace_back(PathData{path, tolerance}); in DefaultPathOp()
401 int instanceCount = fPaths.count(); in onPrepareDraws()
406 const PathData& args = fPaths[i]; in onPrepareDraws()
423 const PathData& args = fPaths[i]; in onPrepareDraws()
450 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); in onCombineIfPossible()
465 SkSTArray<1, PathData, true> fPaths; member in __anon372be18e0111::DefaultPathOp
/external/skia/src/core/
DSkPictureData.cpp34 for (int i = 0; i < fPaths.count(); i++) { in initForPlayback()
35 fPaths[i].updateBoundsCache(); in initForPlayback()
49 fPaths.reset(record.fPaths.count()); in SkPictureData()
50 record.fPaths.foreach([this](const SkPath& path, int n) { in SkPictureData()
53 fPaths[n-1] = path; in SkPictureData()
239 if ((n = fPaths.count()) > 0) { in flattenToBuffer()
243 buffer.writePath(fPaths[i]); in flattenToBuffer()
517 fPaths.reset(count); in parseBufferTag()
519 buffer.readPath(&fPaths[i]); in parseBufferTag()
/external/skqp/src/core/
DSkPictureData.cpp34 for (int i = 0; i < fPaths.count(); i++) { in initForPlayback()
35 fPaths[i].updateBoundsCache(); in initForPlayback()
49 fPaths.reset(record.fPaths.count()); in SkPictureData()
50 record.fPaths.foreach([this](const SkPath& path, int n) { in SkPictureData()
53 fPaths[n-1] = path; in SkPictureData()
239 if ((n = fPaths.count()) > 0) { in flattenToBuffer()
243 buffer.writePath(fPaths[i]); in flattenToBuffer()
517 fPaths.reset(count); in parseBufferTag()
519 buffer.readPath(&fPaths[i]); in parseBufferTag()
/external/skqp/tools/
DSkTestScalerContext.cpp30 , fPaths(nullptr) in SkTestFont()
37 delete fPaths[index]; in ~SkTestFont()
39 delete[] fPaths; in ~SkTestFont()
52 fPaths = new SkPath* [fCharCodesCount]; in init()
84 fPaths[index] = path; in init()
114 *path = *fTestFont->fPaths[glyphID]; in getPath()
/external/skia/tools/fonts/
DSkTestScalerContext.cpp30 , fPaths(nullptr) in SkTestFont()
37 delete fPaths[index]; in ~SkTestFont()
39 delete[] fPaths; in ~SkTestFont()
52 fPaths = new SkPath* [fCharCodesCount]; in init()
84 fPaths[index] = path; in init()
114 *path = *fTestFont->fPaths[glyphID]; in getPath()

12