Home
last modified time | relevance | path

Searched refs:countPoints (Results 1 – 25 of 81) sorted by relevance

1234

/external/skqp/src/gpu/ccpr/
DGrCCPerFlushResources.h170 fMaxPointsPerPath = SkTMax(fMaxPointsPerPath, path.countPoints()); in statPath()
171 fNumTotalSkPoints += path.countPoints(); in statPath()
/external/skia/include/private/
DSkPathRef.h300 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/
DSkPathRef.cpp198 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()
DSkScan_AntiPath.cpp608 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()
DSkPath.cpp255 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/
DSkShadowTessellator.cpp931 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/
DSkShadowTessellator.cpp925 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/
DPath_getPoint.cpp10 for (int i= 0; i < path.countPoints(); ++i) { in draw()
DPath_countPoints.cpp8 SkDebugf("%s point count: %d\n", prefix, path.countPoints()); in draw()
DPath_getPoints.cpp22 debugster("just right", path, points, path.countPoints()); in draw()
Dstrokerect_gm.cpp57 int n = fillPath.countPoints(); in draw()
/external/skqp/include/private/
DSkPathRef.h251 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/
DSkPath.cpp242 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 …]
DSkPathRef.cpp175 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()
DSkScan_AntiPath.cpp606 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/
DSampleTessellatedWedge.cpp105 canvas->drawPoints(SkCanvas::kPoints_PointMode, devPath.countPoints(), in onDrawContent()
141 for (int i = 0; i < fPath.countPoints(); ++i) { in onFindClickHandler()
/external/skia/modules/canvaskit/
Dfont.js143 if (!path || !path.countPoints()) {
147 if (path.countPoints() === 1) {
/external/skqp/tests/
DParsePathTest.cpp128 REPORTER_ASSERT(r, path.countPoints() == gTests[i].fPoints); in DEF_TEST()
/external/skia/tests/
DParsePathTest.cpp128 REPORTER_ASSERT(r, path.countPoints() == gTests[i].fPoints); in DEF_TEST()
DPathBuilderTest.cpp15 REPORTER_ASSERT(reporter, p.countPoints() == 0); in is_empty()
36 REPORTER_ASSERT(reporter, p0.countPoints() == 4); in DEF_TEST()
/external/skqp/src/gpu/gl/
DGrGLPath.cpp103 int pointCnt = skPath.countPoints(); in init_path_object_for_general_path()
225 int pointCnt = skPath.countPoints(); in InitPathObjectPathData()
/external/skia/gm/
Dpathcontourstart.cpp109 const int n = path.countPoints(); in drawOneColumn()
Dstrokerect.cpp43 int n = path.countPoints(); in draw_path()
/external/skqp/gm/
Dstrokerect.cpp32 int n = path.countPoints(); in draw_path()
Dpathcontourstart.cpp115 const int n = path.countPoints(); in drawOneColumn()

1234