Home
last modified time | relevance | path

Searched refs:fPaths (Results 1 – 25 of 44) 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 …]
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
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 …]
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.cpp137 fPaths.addToTail(tri); in onOnceBeforeDraw()
138 fPaths.addToTail(SkPath())->reverseAddPath(tri); in onOnceBeforeDraw()
141 fPaths.addToTail(tri); in onOnceBeforeDraw()
159 fPaths.addToTail(ngon); in onOnceBeforeDraw()
163 fPaths.addToTail(ngon); in onOnceBeforeDraw()
168 fPaths.addToTail(linePath); in onOnceBeforeDraw()
190 for (PathList::Iter iter(fPaths, PathList::Iter::kHead_IterStart); in onDraw()
276 PathList fPaths; member in skiagm::ConvexPolyEffect
Ddashcubics.cpp75 &fPaths.push_back())); in TrimGM()
82 &fPaths.push_back())); in TrimGM()
90 &fPaths.push_back())); in TrimGM()
144 for (const auto& path : fPaths) { in onDraw()
163 SkTArray<SkPath> fPaths; member in TrimGM
/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.cpp131 fPaths.addToTail(tri); in onOnceBeforeDraw()
132 fPaths.addToTail(SkPath())->reverseAddPath(tri); in onOnceBeforeDraw()
135 fPaths.addToTail(tri); in onOnceBeforeDraw()
153 fPaths.addToTail(ngon); in onOnceBeforeDraw()
157 fPaths.addToTail(ngon); in onOnceBeforeDraw()
162 fPaths.addToTail(linePath); in onOnceBeforeDraw()
195 for (PathList::Iter iter(fPaths, PathList::Iter::kHead_IterStart); in onDraw()
281 PathList fPaths; member in skiagm::ConvexPolyEffect
Ddashcubics.cpp75 &fPaths.push_back())); in TrimGM()
82 &fPaths.push_back())); in TrimGM()
90 &fPaths.push_back())); in TrimGM()
144 for (const auto& path : fPaths) { in onDraw()
163 SkTArray<SkPath> fPaths; member in TrimGM
/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.cpp148 fPaths.emplace_back( in AAFlatteningConvexPathOp()
175 for (const auto& path : fPaths) { in dumpInfo()
192 &fPaths.back().fColor); in finalize()
241 int instanceCount = fPaths.count(); in onPrepareDraws()
250 const PathData& args = fPaths[i]; in onPrepareDraws()
307 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); in onCombineIfPossible()
312 const SkMatrix& viewMatrix() const { return fPaths[0].fViewMatrix; } in viewMatrix()
324 SkSTArray<1, PathData, true> fPaths; member in __anonb0cd38b10111::AAFlatteningConvexPathOp
DGrDefaultPathRenderer.cpp366 string.appendf("Color: 0x%08x Count: %d\n", fColor.toBytes_RGBA(), fPaths.count()); in dumpInfo()
367 for (const auto& path : fPaths) { in dumpInfo()
386 fPaths.emplace_back(PathData{path, tolerance}); in DefaultPathOp()
419 int instanceCount = fPaths.count(); in onPrepareDraws()
423 PathGeoBuilder::PathHasMultipleSubpaths(fPaths[0].fPath); in onPrepareDraws()
438 const PathData& args = fPaths[i]; in onPrepareDraws()
465 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); in onCombineIfPossible()
479 SkSTArray<1, PathData, true> fPaths; member in __anon992fb3e50111::DefaultPathOp
DGrAAConvexPathRenderer.cpp687 fPaths.emplace_back(PathData{viewMatrix, path, color}); in AAConvexPathOp()
701 string.appendf("Count: %d\n", fPaths.count()); in dumpInfo()
712 &fPaths.back().fColor); in finalize()
718 int instanceCount = fPaths.count(); in onPrepareDraws()
721 if (fHelper.usesLocalCoords() && !fPaths.back().fViewMatrix.invert(&invert)) { in onPrepareDraws()
732 const PathData& args = fPaths[i]; in onPrepareDraws()
809 !fPaths[0].fViewMatrix.cheapEqualTo(that->fPaths[0].fViewMatrix)) { in onCombineIfPossible()
813 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); in onCombineIfPossible()
825 SkSTArray<1, PathData, true> fPaths; member in __anon1aeb3b950311::AAConvexPathOp
/external/skia/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp148 fPaths.emplace_back( in AAFlatteningConvexPathOp()
175 for (const auto& path : fPaths) { in dumpInfo()
194 &fPaths.back().fColor); in finalize()
241 int instanceCount = fPaths.count(); in onPrepareDraws()
250 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 __anon43322bda0111::AAFlatteningConvexPathOp
DGrDefaultPathRenderer.cpp362 string.appendf("Color: 0x%08x Count: %d\n", fColor.toBytes_RGBA(), fPaths.count()); in dumpInfo()
363 for (const auto& path : fPaths) { in dumpInfo()
382 fPaths.emplace_back(PathData{path, tolerance}); in DefaultPathOp()
416 int instanceCount = fPaths.count(); in onPrepareDraws()
420 PathGeoBuilder::PathHasMultipleSubpaths(fPaths[0].fPath); in onPrepareDraws()
433 const PathData& args = fPaths[i]; in onPrepareDraws()
464 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); in onCombineIfPossible()
478 SkSTArray<1, PathData, true> fPaths; member in __anon372be18e0111::DefaultPathOp
/external/skia/tools/fonts/
DSkTestTypeface.cpp40 , fPaths(nullptr) in SkTestFont()
47 delete fPaths[index]; in ~SkTestFont()
49 delete[] fPaths; in ~SkTestFont()
62 fPaths = new SkPath* [fCharCodesCount]; in init()
94 fPaths[index] = path; in init()
118 *path = *fTestFont->fPaths[glyphID]; in getPath()
/external/skqp/tools/fonts/
DSkTestTypeface.cpp40 , fPaths(nullptr) in SkTestFont()
47 delete fPaths[index]; in ~SkTestFont()
49 delete[] fPaths; in ~SkTestFont()
62 fPaths = new SkPath* [fCharCodesCount]; in init()
94 fPaths[index] = path; in init()
118 *path = *fTestFont->fPaths[glyphID]; in getPath()
/external/skqp/src/core/
DSkPictureData.cpp36 for (int i = 0; i < fPaths.count(); i++) { in initForPlayback()
37 fPaths[i].updateBoundsCache(); in initForPlayback()
54 fPaths.reset(record.fPaths.count()); in SkPictureData()
55 record.fPaths.foreach([this](const SkPath& path, int n) { in SkPictureData()
58 fPaths[n-1] = path; in SkPictureData()
157 if ((n = fPaths.count()) > 0) { in flattenToBuffer()
161 buffer.writePath(fPaths[i]); in flattenToBuffer()
426 buffer.readPath(&fPaths.push_back()); in parseBufferTag()
/external/skia/src/core/
DSkPictureData.cpp36 for (int i = 0; i < fPaths.count(); i++) { in initForPlayback()
37 fPaths[i].updateBoundsCache(); in initForPlayback()
54 fPaths.reset(record.fPaths.count()); in SkPictureData()
55 record.fPaths.foreach([this](const SkPath& path, int n) { in SkPictureData()
58 fPaths[n-1] = path; in SkPictureData()
157 if ((n = fPaths.count()) > 0) { in flattenToBuffer()
161 buffer.writePath(fPaths[i]); in flattenToBuffer()
426 buffer.readPath(&fPaths.push_back()); in parseBufferTag()

12