Home
last modified time | relevance | path

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

123

/external/skia/src/gpu/ccpr/
DGrCCPerFlushResources.h170 fMaxPointsPerPath = SkTMax(fMaxPointsPerPath, path.countPoints()); in statPath()
171 fNumTotalSkPoints += path.countPoints(); in statPath()
/external/skqp/src/gpu/ccpr/
DGrCCPerFlushResources.h170 fMaxPointsPerPath = SkTMax(fMaxPointsPerPath, path.countPoints()); in statPath()
171 fNumTotalSkPoints += path.countPoints(); in statPath()
/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/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/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()
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 …]
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()
/external/skia/src/core/
DSkPathRef.cpp198 SkASSERT((*dst)->countPoints() == src.countPoints()); in CreateTransformedCopy()
203 bool canXformBounds = !src.fBoundsIsDirty && matrix.rectStaysRect() && src.countPoints() > 1; in CreateTransformedCopy()
364 SkASSERT(pointCount == ref->countPoints()); in CreateFromBuffer()
381 pCount != ref->countPoints() || cCount != ref->fConicWeights.count()) { in CreateFromBuffer()
418 int oldPCnt = (*pathRef)->countPoints(); in Rewind()
547 int count = out->countPoints() * 2; in interpolate()
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 …]
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()
/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/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/gpu/gl/
DGrGLPath.cpp103 int pointCnt = skPath.countPoints(); in init_path_object_for_general_path()
225 int pointCnt = skPath.countPoints(); in InitPathObjectPathData()
/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/skqp/tests/
DParsePathTest.cpp128 REPORTER_ASSERT(r, path.countPoints() == gTests[i].fPoints); in DEF_TEST()
DEmptyPathTest.cpp52 paint.isAntiAlias(), path.getFillType(), path.countPoints()); in drawAndTest()
/external/skia/tests/
DParsePathTest.cpp128 REPORTER_ASSERT(r, path.countPoints() == gTests[i].fPoints); in DEF_TEST()
DEmptyPathTest.cpp52 paint.isAntiAlias(), path.getFillType(), path.countPoints()); in drawAndTest()
/external/skia/fuzz/
DFuzzCommon.cpp32 if (maxOps <= 0 || fuzz->exhausted() || path->countPoints() > 100000) { in FuzzNicePath()
43 if (path->countPoints() > 100000) { in FuzzNicePath()
/external/skqp/fuzz/
DFuzzCommon.cpp32 if (maxOps <= 0 || fuzz->exhausted() || path->countPoints() > 100000) { in FuzzNicePath()
43 if (path->countPoints() > 100000) { in FuzzNicePath()
/external/skqp/gm/
Dstrokerect.cpp32 int n = path.countPoints(); in draw_path()
Dpathcontourstart.cpp115 const int n = path.countPoints(); in drawOneColumn()
/external/skia/gm/
Dstrokerect.cpp32 int n = path.countPoints(); in draw_path()
Dpathcontourstart.cpp115 const int n = path.countPoints(); in drawOneColumn()
/external/skqp/src/effects/
DSk1DPathEffect.cpp175 if (dst->countPoints() > 100000) { in next()

123