/external/skqp/src/gpu/ccpr/ |
D | GrCCPerFlushResources.h | 170 fMaxPointsPerPath = SkTMax(fMaxPointsPerPath, path.countPoints()); in statPath() 171 fNumTotalSkPoints += path.countPoints(); in statPath()
|
/external/skia/include/private/ |
D | SkPathRef.h | 300 int countPoints() const { return fPoints.count(); } in countPoints() function 324 const SkPoint* pointsEnd() const { return this->points() + this->countPoints(); } in pointsEnd() 390 return bounds->setBoundsCheck(ref.points(), ref.countPoints()); in ComputePtBounds()
|
/external/skqp/src/core/ |
D | SkPathRef.cpp | 198 SkASSERT((*dst)->countPoints() == src.countPoints()); in CreateTransformedCopy() 203 bool canXformBounds = !src.fBoundsIsDirty && matrix.rectStaysRect() && src.countPoints() > 1; in CreateTransformedCopy() 359 SkASSERT(pointCount == ref->countPoints()); in CreateFromBuffer() 376 pCount != ref->countPoints() || cCount != ref->fConicWeights.count()) { in CreateFromBuffer() 413 int oldPCnt = (*pathRef)->countPoints(); in Rewind() 542 int count = out->countPoints() * 2; in interpolate()
|
D | SkScan_AntiPath.cpp | 608 int n = path.countPoints(); in compute_complexity() 654 && path.countPoints() >= SkTMax(bounds.width(), bounds.height()) / 8; in ShouldUseDAA() 707 return path.countPoints() < SkTMax(bounds.width(), bounds.height()) / 2 - 10; in ShouldUseAAA() 709 if (path.countPoints() >= path.getBounds().height()) { in ShouldUseAAA()
|
D | SkPath.cpp | 255 int pointCount = fPathRef->countPoints(); in interpolate() 256 if (pointCount != ending.fPathRef->countPoints()) { in interpolate() 412 SkASSERT(2 == fPathRef->countPoints()); in isLine() 662 int SkPath::countPoints() const { in countPoints() function in SkPath 663 return fPathRef->countPoints(); in countPoints() 671 int count = SkMin32(max, fPathRef->countPoints()); in getPoints() 673 return fPathRef->countPoints(); in getPoints() 677 if ((unsigned)index < (unsigned)fPathRef->countPoints()) { in getPoint() 708 int count = fPathRef->countPoints(); in getLastPt() 724 int count = fPathRef->countPoints(); in setPt() [all …]
|
/external/skia/src/utils/ |
D | SkShadowTessellator.cpp | 931 fPositions.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator() 932 fColors.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator() 935 fIndices.setReserve(12 * path.countPoints()); in SkAmbientShadowTessellator() 945 fPathPolygon.setReserve(path.countPoints()); in computePathPolygon() 1034 fPositions.setReserve(5 * path.countPoints()); in SkSpotShadowTessellator() 1035 fColors.setReserve(5 * path.countPoints()); in SkSpotShadowTessellator() 1038 fIndices.setReserve(15 * path.countPoints()); in SkSpotShadowTessellator() 1056 fPathPolygon.setReserve(path.countPoints()); in computeClipAndPathPolygons() 1057 fClipPolygon.setReserve(path.countPoints()); in computeClipAndPathPolygons()
|
/external/skqp/src/utils/ |
D | SkShadowTessellator.cpp | 925 fPositions.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator() 926 fColors.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator() 929 fIndices.setReserve(12 * path.countPoints()); in SkAmbientShadowTessellator() 939 fPathPolygon.setReserve(path.countPoints()); in computePathPolygon() 1028 fPositions.setReserve(5 * path.countPoints()); in SkSpotShadowTessellator() 1029 fColors.setReserve(5 * path.countPoints()); in SkSpotShadowTessellator() 1032 fIndices.setReserve(15 * path.countPoints()); in SkSpotShadowTessellator() 1050 fPathPolygon.setReserve(path.countPoints()); in computeClipAndPathPolygons() 1051 fClipPolygon.setReserve(path.countPoints()); in computeClipAndPathPolygons()
|
/external/skia/docs/examples/ |
D | Path_getPoint.cpp | 10 for (int i= 0; i < path.countPoints(); ++i) { in draw()
|
D | Path_countPoints.cpp | 8 SkDebugf("%s point count: %d\n", prefix, path.countPoints()); in draw()
|
D | Path_getPoints.cpp | 22 debugster("just right", path, points, path.countPoints()); in draw()
|
D | strokerect_gm.cpp | 57 int n = fillPath.countPoints(); in draw()
|
/external/skqp/include/private/ |
D | SkPathRef.h | 251 int countPoints() const { return fPointCnt; } in countPoints() function 273 const SkPoint* pointsEnd() const { return this->points() + this->countPoints(); } in pointsEnd() 371 return bounds->setBoundsCheck(ref.points(), ref.countPoints()); in ComputePtBounds()
|
/external/skia/src/core/ |
D | SkPath.cpp | 242 int pointCount = fPathRef->countPoints(); in interpolate() 243 if (pointCount != ending.fPathRef->countPoints()) { in interpolate() 387 SkASSERT(2 == fPathRef->countPoints()); in isLine() 464 int SkPath::countPoints() const { in countPoints() function in SkPath 465 return fPathRef->countPoints(); in countPoints() 473 int count = std::min(max, fPathRef->countPoints()); in getPoints() 475 return fPathRef->countPoints(); in getPoints() 479 if ((unsigned)index < (unsigned)fPathRef->countPoints()) { in getPoint() 512 int count = fPathRef->countPoints(); in getLastPt() 528 int count = fPathRef->countPoints(); in setPt() [all …]
|
D | SkPathRef.cpp | 175 bool canXformBounds = !src.fBoundsIsDirty && matrix.rectStaysRect() && src.countPoints() > 1; in CreateTransformedCopy() 239 int oldPCnt = (*pathRef)->countPoints(); in Rewind() 331 int count = out->countPoints() * 2; in interpolate() 353 if (int numPts = path.countPoints()) { in growForVerbsInPath()
|
D | SkScan_AntiPath.cpp | 606 int n = path.countPoints(); in compute_complexity() 660 return path.countPoints() < std::max(bounds.width(), bounds.height()) / 2 - 10; in ShouldUseAAA() 662 if (path.countPoints() >= path.getBounds().height()) { in ShouldUseAAA()
|
/external/skia/samplecode/ |
D | SampleTessellatedWedge.cpp | 105 canvas->drawPoints(SkCanvas::kPoints_PointMode, devPath.countPoints(), in onDrawContent() 141 for (int i = 0; i < fPath.countPoints(); ++i) { in onFindClickHandler()
|
/external/skia/modules/canvaskit/ |
D | font.js | 143 if (!path || !path.countPoints()) { 147 if (path.countPoints() === 1) {
|
/external/skqp/tests/ |
D | ParsePathTest.cpp | 128 REPORTER_ASSERT(r, path.countPoints() == gTests[i].fPoints); in DEF_TEST()
|
/external/skia/tests/ |
D | ParsePathTest.cpp | 128 REPORTER_ASSERT(r, path.countPoints() == gTests[i].fPoints); in DEF_TEST()
|
D | PathBuilderTest.cpp | 15 REPORTER_ASSERT(reporter, p.countPoints() == 0); in is_empty() 36 REPORTER_ASSERT(reporter, p0.countPoints() == 4); in DEF_TEST()
|
/external/skqp/src/gpu/gl/ |
D | GrGLPath.cpp | 103 int pointCnt = skPath.countPoints(); in init_path_object_for_general_path() 225 int pointCnt = skPath.countPoints(); in InitPathObjectPathData()
|
/external/skia/gm/ |
D | pathcontourstart.cpp | 109 const int n = path.countPoints(); in drawOneColumn()
|
D | strokerect.cpp | 43 int n = path.countPoints(); in draw_path()
|
/external/skqp/gm/ |
D | strokerect.cpp | 32 int n = path.countPoints(); in draw_path()
|
D | pathcontourstart.cpp | 115 const int n = path.countPoints(); in drawOneColumn()
|