/external/skia/gm/ |
D | convexpaths.cpp | 56 fPaths.push_back().moveTo(0, 0); in makePaths() 57 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths() 59 fPaths.back().lineTo(0, 0); in makePaths() 61 fPaths.push_back().moveTo(0, 50 * SK_Scalar1); in makePaths() 62 fPaths.back().quadTo(50 * SK_Scalar1, 0, in makePaths() 64 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths() 67 fPaths.push_back().addRect(0, 0, in makePaths() 71 fPaths.push_back().addRect(0, 0, in makePaths() 75 fPaths.push_back().addCircle(50 * SK_Scalar1, 50 * SK_Scalar1, in makePaths() 79 fPaths.push_back().addOval(SkRect::MakeXYWH(0, 0, in makePaths() [all …]
|
D | hairlines.cpp | 35 SkPath* lineAnglesPath = &fPaths.push_back(); in onOnceBeforeDraw() 50 SkPath* kindaTightQuad = &fPaths.push_back(); in onOnceBeforeDraw() 56 SkPath* tightQuad = &fPaths.push_back(); in onOnceBeforeDraw() 62 SkPath* tighterQuad = &fPaths.push_back(); in onOnceBeforeDraw() 68 SkPath* unevenTighterQuad = &fPaths.push_back(); in onOnceBeforeDraw() 76 SkPath* reallyTightQuad = &fPaths.push_back(); in onOnceBeforeDraw() 82 SkPath* closedQuad = &fPaths.push_back(); in onOnceBeforeDraw() 88 SkPath* unevenClosedQuad = &fPaths.push_back(); in onOnceBeforeDraw() 97 SkPath* problem1 = &fPaths.push_back(); in onOnceBeforeDraw() 106 SkPath* problem2 = &fPaths.push_back(); in onOnceBeforeDraw() [all …]
|
D | stlouisarch.cpp | 30 SkPath* bigQuad = &fPaths.push_back(); in onOnceBeforeDraw() 36 SkPath* degenBigQuad = &fPaths.push_back(); in onOnceBeforeDraw() 44 SkPath* bigCubic = &fPaths.push_back(); in onOnceBeforeDraw() 52 SkPath* degenBigCubic = &fPaths.push_back(); in onOnceBeforeDraw() 61 SkPath* bigConic = &fPaths.push_back(); in onOnceBeforeDraw() 67 SkPath* degenBigConic = &fPaths.push_back(); in onOnceBeforeDraw() 78 for (int p = 0; p < fPaths.count(); ++p) { in onDraw() 84 canvas->drawPath(fPaths[p], paint); in onDraw() 93 SkTArray<SkPath> fPaths; member in skiagm::StLouisArchGM
|
D | conicpaths.cpp | 36 SkPath* conicCirlce = &fPaths.push_back(); in onOnceBeforeDraw() 45 SkPath* hyperbola = &fPaths.push_back(); in onOnceBeforeDraw() 50 SkPath* thinHyperbola = &fPaths.push_back(); in onOnceBeforeDraw() 55 SkPath* veryThinHyperbola = &fPaths.push_back(); in onOnceBeforeDraw() 60 SkPath* closedHyperbola = &fPaths.push_back(); in onOnceBeforeDraw() 66 SkPath* nearParabola = &fPaths.push_back(); in onOnceBeforeDraw() 71 SkPath* thinEllipse = &fPaths.push_back(); in onOnceBeforeDraw() 76 SkPath* veryThinEllipse = &fPaths.push_back(); in onOnceBeforeDraw() 81 SkPath* closedEllipse = &fPaths.push_back(); in onOnceBeforeDraw() 108 for (int p = 0; p < fPaths.count(); ++p) { in onDraw() [all …]
|
D | complexclip2.cpp | 70 fPaths[0].addRoundRect(fRects[0], 5, 5); in onOnceBeforeDraw() 75 fPaths[1].addRoundRect(fRects[1], 5, 5); in onOnceBeforeDraw() 80 fPaths[2].addRoundRect(fRects[2], 5, 5); in onOnceBeforeDraw() 85 fPaths[3].addRoundRect(fRects[3], 5, 5); in onOnceBeforeDraw() 90 fPaths[4].addRoundRect(fRects[4], 5, 5); in onOnceBeforeDraw() 174 canvas->drawPath(fPaths[k], rectPaint); in onDraw() 192 canvas->clipPath(fPaths[k], in onDraw() 208 SkPath fPaths[5]; member in skiagm::ComplexClip2GM
|
D | convexpolyeffect.cpp | 63 fPaths.addToTail(tri); in onOnceBeforeDraw() 64 fPaths.addToTail(SkPath())->reverseAddPath(tri); in onOnceBeforeDraw() 67 fPaths.addToTail(tri); in onOnceBeforeDraw() 84 fPaths.addToTail(ngon); in onOnceBeforeDraw() 88 fPaths.addToTail(ngon); in onOnceBeforeDraw() 93 fPaths.addToTail(linePath); in onOnceBeforeDraw() 117 for (PathList::Iter iter(fPaths, PathList::Iter::kHead_IterStart); in onDraw() 203 PathList fPaths; member in skiagm::ConvexPolyEffect
|
D | dashcubics.cpp | 83 &fPaths.push_back())); in TrimGM() 90 &fPaths.push_back())); in TrimGM() 98 &fPaths.push_back())); in TrimGM() 152 for (const auto& path : fPaths) { in onDraw() 171 SkTArray<SkPath> fPaths; member in TrimGM
|
/external/skqp/gm/ |
D | convexpaths.cpp | 53 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 …]
|
D | hairlines.cpp | 27 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 …]
|
D | conicpaths.cpp | 27 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 …]
|
D | stlouisarch.cpp | 26 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
|
D | complexclip2.cpp | 63 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
|
D | dashcubics.cpp | 75 &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
|
D | convexpolyeffect.cpp | 131 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
|
/external/skqp/bench/ |
D | AlternatingColorPatternBench.cpp | 86 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/skia/bench/ |
D | AlternatingColorPatternBench.cpp | 86 SkPath fPaths[NUM_DRAWS]; member in AlternatingColorPatternBench 127 fPaths[count].moveTo(SkIntToScalar(x), SkIntToScalar(y)); in onDelayedSetup() 128 fPaths[count].rLineTo(SkIntToScalar(w), 0); in onDelayedSetup() 129 fPaths[count].rLineTo(0, SkIntToScalar(h)); in onDelayedSetup() 130 fPaths[count].rLineTo(SkIntToScalar(-w + 1), 0); in onDelayedSetup() 156 canvas->drawPath(fPaths[j], paint); in onDraw()
|
/external/skia/tools/fonts/ |
D | TestTypeface.cpp | 40 , fPaths(nullptr) { in SkTestFont() 46 delete fPaths[index]; in ~SkTestFont() 48 delete[] fPaths; in ~SkTestFont() 61 fPaths = new SkPath*[fCharCodesCount]; in init() 89 fPaths[index] = path; in init() 109 *path = *fTestFont->fPaths[glyphID]; in getPath()
|
/external/skqp/src/gpu/ops/ |
D | GrAALinearizingConvexPathRenderer.cpp | 148 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 __anon216253dc0111::AAFlatteningConvexPathOp
|
D | GrDefaultPathRenderer.cpp | 366 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 __anonf71676900111::DefaultPathOp
|
D | GrAAConvexPathRenderer.cpp | 687 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 __anon35aa53a00311::AAConvexPathOp
|
/external/skia/src/gpu/ops/ |
D | GrAALinearizingConvexPathRenderer.cpp | 151 fPaths.emplace_back( in AAFlatteningConvexPathOp() 179 for (const auto& path : fPaths) { in dumpInfo() 199 GrProcessorAnalysisCoverage::kSingleChannel, &fPaths.back().fColor, &fWideColor); in finalize() 247 int instanceCount = fPaths.count(); in onPrepareDraws() 256 const PathData& args = fPaths[i]; in onPrepareDraws() 322 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); in onCombineIfPossible() 327 const SkMatrix& viewMatrix() const { return fPaths[0].fViewMatrix; } in viewMatrix() 339 SkSTArray<1, PathData, true> fPaths; member in __anonb3c747050111::AAFlatteningConvexPathOp
|
D | GrDefaultPathRenderer.cpp | 363 string.appendf("Color: 0x%08x Count: %d\n", fColor.toBytes_RGBA(), fPaths.count()); in dumpInfo() 364 for (const auto& path : fPaths) { in dumpInfo() 383 fPaths.emplace_back(PathData{path, tolerance}); in DefaultPathOp() 422 int instanceCount = fPaths.count(); in onPrepareDraws() 426 PathGeoBuilder::PathHasMultipleSubpaths(fPaths[0].fPath); in onPrepareDraws() 439 const PathData& args = fPaths[i]; in onPrepareDraws() 476 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); in onCombineIfPossible() 490 SkSTArray<1, PathData, true> fPaths; member in __anon9512a4390111::DefaultPathOp
|
/external/skqp/tools/fonts/ |
D | SkTestTypeface.cpp | 40 , 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/ |
D | SkPictureData.cpp | 36 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/ |
D | SkPictureData.cpp | 35 for (int i = 0; i < fPaths.count(); i++) { in initForPlayback() 36 fPaths[i].updateBoundsCache(); in initForPlayback() 53 fPaths.reset(record.fPaths.count()); in SkPictureData() 54 record.fPaths.foreach([this](const SkPath& path, int n) { in SkPictureData() 57 fPaths[n-1] = path; in SkPictureData() 157 if ((n = fPaths.count()) > 0) { in flattenToBuffer() 161 buffer.writePath(fPaths[i]); in flattenToBuffer() 433 buffer.readPath(&fPaths.push_back()); in parseBufferTag()
|