Searched refs:fPaths (Results 1 - 21 of 21) sorted by relevance

/external/skia/gm/
H A Dconvexpaths.cpp53 fPaths.push_back().moveTo(0, 0);
54 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1,
56 fPaths.back().lineTo(0, 0);
58 fPaths.push_back().moveTo(0, 50 * SK_Scalar1);
59 fPaths.back().quadTo(50 * SK_Scalar1, 0,
61 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1,
64 fPaths.push_back().addRect(0, 0,
68 fPaths.push_back().addRect(0, 0,
72 fPaths.push_back().addCircle(50 * SK_Scalar1, 50 * SK_Scalar1,
76 fPaths
290 SkTArray<SkPath> fPaths; member in class:skiagm::ConvexPathsGM
[all...]
H A Dstlouisarch.cpp26 SkPath* bigQuad = &fPaths.push_back();
32 SkPath* degenBigQuad = &fPaths.push_back();
40 SkPath* bigCubic = &fPaths.push_back();
48 SkPath* degenBigCubic = &fPaths.push_back();
57 SkPath* bigConic = &fPaths.push_back();
63 SkPath* degenBigConic = &fPaths.push_back();
74 for (int p = 0; p < fPaths.count(); ++p) {
80 canvas->drawPath(fPaths[p], paint);
89 SkTArray<SkPath> fPaths; member in class:skiagm::StLouisArchGM
H A Dpath_stroke_with_zero_length.cpp15 SkPath fPaths[8]; member in class:StrokeZeroGM
40 fPaths[0].moveTo(30, 0); // single line segment
41 fPaths[0].rLineTo(30, 0);
43 fPaths[1].moveTo(90, 0); // single line segment with close (does not draw caps)
44 fPaths[1].rLineTo(30, 0);
45 fPaths[1].close();
47 fPaths[2].moveTo(150, 0); // zero-length line
48 fPaths[2].rLineTo(0, 0);
50 fPaths[3].moveTo(180, 0); // zero-length line with close (expected not to draw)
51 fPaths[
[all...]
H A Dhairlines.cpp27 SkPath* lineAnglesPath = &fPaths.push_back();
42 SkPath* kindaTightQuad = &fPaths.push_back();
48 SkPath* tightQuad = &fPaths.push_back();
54 SkPath* tighterQuad = &fPaths.push_back();
60 SkPath* unevenTighterQuad = &fPaths.push_back();
68 SkPath* reallyTightQuad = &fPaths.push_back();
74 SkPath* closedQuad = &fPaths.push_back();
80 SkPath* unevenClosedQuad = &fPaths.push_back();
89 SkPath* problem1 = &fPaths.push_back();
98 SkPath* problem2 = &fPaths
217 SkTArray<SkPath> fPaths; member in class:skiagm::HairlinesGM
[all...]
H A Dconicpaths.cpp27 SkPath* conicCirlce = &fPaths.push_back();
36 SkPath* hyperbola = &fPaths.push_back();
41 SkPath* thinHyperbola = &fPaths.push_back();
46 SkPath* veryThinHyperbola = &fPaths.push_back();
51 SkPath* closedHyperbola = &fPaths.push_back();
57 SkPath* nearParabola = &fPaths.push_back();
62 SkPath* thinEllipse = &fPaths.push_back();
67 SkPath* veryThinEllipse = &fPaths.push_back();
72 SkPath* closedEllipse = &fPaths.push_back();
99 for (int p = 0; p < fPaths
127 SkTArray<SkPath> fPaths; member in class:ConicPathsGM
[all...]
H A Dcomplexclip2.cpp63 fPaths[0].addRoundRect(fRects[0], 5, 5);
68 fPaths[1].addRoundRect(fRects[1], 5, 5);
73 fPaths[2].addRoundRect(fRects[2], 5, 5);
78 fPaths[3].addRoundRect(fRects[3], 5, 5);
83 fPaths[4].addRoundRect(fRects[4], 5, 5);
167 canvas->drawPath(fPaths[k], rectPaint);
185 canvas->clipPath(fPaths[k],
201 SkPath fPaths[5]; member in class:skiagm::ComplexClip2GM
H A Dconvexpolyeffect.cpp106 fPaths.addToTail(tri);
107 fPaths.addToTail(SkPath())->reverseAddPath(tri);
110 fPaths.addToTail(tri);
128 fPaths.addToTail(ngon);
132 fPaths.addToTail(ngon);
137 fPaths.addToTail(linePath);
165 for (PathList::Iter iter(fPaths, PathList::Iter::kHead_IterStart);
251 PathList fPaths; member in class:skiagm::ConvexPolyEffect
/external/skia/samplecode/
H A DSamplePathFinder.cpp57 fPaths.push_back() = {path, paint, this->getTotalMatrix()};
82 SkTSwap(fPaths, fTossedPaths);
92 if (fPaths.count() > 1) {
93 int midpt = (fPaths.count() + 1) / 2;
94 fPathHistory.emplace(fPaths, fTossedPaths);
95 fTossedPaths.reset(fPaths.begin() + midpt, fPaths.count() - midpt);
96 fPaths.resize_back(midpt);
103 fPaths = fPathHistory.top().first;
124 for (const FoundPath& foundPath : fPaths) {
147 SkTArray<FoundPath> fPaths; member in class:PathFinderView
[all...]
/external/skia/src/gpu/ops/
H A DGrAALinearizingConvexPathRenderer.cpp138 for (const auto& path : fPaths) {
158 fPaths.emplace_back(
177 color->setToConstant(fPaths[0].fColor);
182 optimizations.getOverrideColorIfSet(&fPaths[0].fColor);
233 int instanceCount = fPaths.count();
242 const PathData& args = fPaths[i];
298 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin());
305 const SkMatrix& viewMatrix() const { return fPaths[
319 SkSTArray<1, PathData, true> fPaths; member in class:final
[all...]
H A DGrDefaultPathRenderer.cpp112 string.appendf("Color: 0x%08x Count: %d\n", fColor, fPaths.count());
113 for (const auto& path : fPaths) {
129 fPaths.emplace_back(PathData{path, tolerance});
161 int instanceCount = fPaths.count();
169 const PathData& args = fPaths[i];
231 const PathData& args = fPaths[i];
289 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin());
404 SkSTArray<1, PathData, true> fPaths; member in class:final
[all...]
H A DGrAAConvexPathRenderer.cpp737 string.appendf("Color: 0x%08x, Count: %d\n", fColor, fPaths.count());
746 fPaths.emplace_back(PathData{viewMatrix, path});
760 fLinesOnly = SkPath::kLine_SegmentMask == fPaths[0].fPath.getSegmentMasks();
783 int instanceCount = fPaths.count();
788 const PathData& args = fPaths[i];
832 int instanceCount = fPaths.count();
846 const PathData& args = fPaths[i];
941 fPaths.push_back_n(that->fPaths.count(), that->fPaths
962 SkSTArray<1, PathData, true> fPaths; member in class:final
[all...]
H A DGrMSAAPathRenderer.cpp242 for (const auto& path : fPaths) {
258 fPaths.emplace_back(PathInfo{color, path});
264 color->setToConstant(fPaths[0].fColor);
269 optimizations.getOverrideColorIfSet(&fPaths[0].fColor);
382 for (int i = 0; i < fPaths.count(); i++) {
383 const PathInfo& pathInfo = fPaths[i];
474 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin());
560 SkSTArray<1, PathInfo, true> fPaths; member in class:final
[all...]
H A DGrAAHairLinePathRenderer.cpp695 fPaths.count());
707 fPaths.emplace_back(PathData{viewMatrix, path, devClipBounds});
764 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin());
772 const SkMatrix& viewMatrix() const { return fPaths[0].fViewMatrix; }
784 SkSTArray<1, PathData, true> fPaths; member in class:final
817 int instanceCount = fPaths.count();
819 const PathData& args = fPaths[i];
/external/skia/bench/
H A DAlternatingColorPatternBench.cpp85 SkPath fPaths[NUM_DRAWS]; member in class:AlternatingColorPatternBench
128 fPaths[count].moveTo(SkIntToScalar(x), SkIntToScalar(y));
129 fPaths[count].rLineTo(SkIntToScalar(w), 0);
130 fPaths[count].rLineTo(0, SkIntToScalar(h));
131 fPaths[count].rLineTo(SkIntToScalar(-w + 1), 0);
157 canvas->drawPath(fPaths[j], paint);
H A DPathBench.cpp446 fPaths.reset(kPathCnt);
449 this->makePath(&fPaths[i]);
456 fCopies[idx] = fPaths[idx];
465 SkAutoTArray<SkPath> fPaths; member in class:PathCopyBench
483 fPaths.reset(kPathCnt);
485 this->makePath(&fPaths[i]);
496 fPaths[i & (kPathCnt - 1)].transform(fMatrix);
501 fPaths[idx].transform(fMatrix, &fTransformed[idx]);
511 SkAutoTArray<SkPath> fPaths; member in class:PathTransformBench
531 fPaths
553 SkAutoTArray<SkPath> fPaths; member in class:PathEqualityBench
[all...]
/external/skia/src/fonts/
H A DSkTestScalerContext.cpp28 , fPaths(nullptr)
39 delete fPaths[index];
41 delete[] fPaths;
84 fPaths = new SkPath* [fCharCodesCount];
116 fPaths[index] = path;
142 *path = *fTestFont->fPaths[glyph];
H A DSkTestScalerContext.h51 SkPath** fPaths; member in class:SkTestFont
/external/skia/src/core/
H A DSkPictureData.cpp34 for (int i = 0; i < fPaths.count(); i++) {
35 fPaths[i].updateBoundsCache();
51 fPaths.reset(record.fPaths.count());
52 record.fPaths.foreach([this](const SkPath& path, int n) {
55 fPaths[n-1] = path;
251 if ((n = fPaths.count()) > 0) {
255 buffer.writePath(fPaths[i]);
568 fPaths.reset(count);
570 buffer.readPath(&fPaths[
[all...]
H A DSkPictureData.h120 return reader->validateIndex(index, fPaths.count()) ? fPaths[index] : fEmptyPath;
181 SkTArray<SkPath> fPaths; member in class:SkPictureData
H A DSkPictureRecord.h267 SkTHashMap<SkPath, int, PathHash> fPaths; member in class:SkPictureRecord
H A DSkPictureRecord.cpp860 if (int* n = fPaths.find(path)) {
863 int n = fPaths.count() + 1; // 0 is reserved for null / error.
864 fPaths.set(path, n);

Completed in 266 milliseconds