Home
last modified time | relevance | path

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

123

/external/skia/src/core/
DSkPathRef.cpp151 SkASSERT((*dst)->countPoints() == src.countPoints()); in CreateTransformedCopy()
156 bool canXformBounds = !src.fBoundsIsDirty && matrix.rectStaysRect() && src.countPoints() > 1; in CreateTransformedCopy()
312 SkASSERT(pointCount == ref->countPoints()); in CreateFromBuffer()
329 pCount != ref->countPoints() || cCount != ref->fConicWeights.count()) { in CreateFromBuffer()
366 int oldPCnt = (*pathRef)->countPoints(); in Rewind()
495 int count = out->countPoints() * 2; in interpolate()
DSkPath.cpp386 SkASSERT(2 == fPathRef->countPoints()); in isLine()
607 pts = fPathRef->points() + fPathRef->countPoints(); in isNestedFillRects()
644 int SkPath::countPoints() const { in countPoints() function in SkPath
645 return fPathRef->countPoints(); in countPoints()
653 int count = SkMin32(max, fPathRef->countPoints()); in getPoints()
655 return fPathRef->countPoints(); in getPoints()
659 if ((unsigned)index < (unsigned)fPathRef->countPoints()) { in getPoint()
690 int count = fPathRef->countPoints(); in getLastPt()
706 int count = fPathRef->countPoints(); in setPt()
718 int count = fPathRef->countPoints(); in setLastPt()
[all …]
DSkScan_AntiPath.cpp594 return !path.isConvex() && path.countPoints() >= SkTMax(bounds.width(), bounds.height()) / 8; in ShouldUseDAA()
613 return path.countPoints() < SkTMax(bounds.width(), bounds.height()) / 2 - 10; in ShouldUseAAA()
DSkPath_serial.cpp98 int32_t pts = fPathRef->countPoints(); in writeToMemory()
/external/skqp/src/core/
DSkPathRef.cpp151 SkASSERT((*dst)->countPoints() == src.countPoints()); in CreateTransformedCopy()
156 bool canXformBounds = !src.fBoundsIsDirty && matrix.rectStaysRect() && src.countPoints() > 1; in CreateTransformedCopy()
313 SkASSERT(pointCount == ref->countPoints()); in CreateFromBuffer()
330 pCount != ref->countPoints() || cCount != ref->fConicWeights.count()) { in CreateFromBuffer()
366 int oldPCnt = (*pathRef)->countPoints(); in Rewind()
479 int count = out->countPoints() * 2; in interpolate()
DSkPath.cpp385 SkASSERT(2 == fPathRef->countPoints()); in isLine()
606 pts = fPathRef->points() + fPathRef->countPoints(); in isNestedFillRects()
635 int SkPath::countPoints() const { in countPoints() function in SkPath
636 return fPathRef->countPoints(); in countPoints()
644 int count = SkMin32(max, fPathRef->countPoints()); in getPoints()
646 return fPathRef->countPoints(); in getPoints()
650 if ((unsigned)index < (unsigned)fPathRef->countPoints()) { in getPoint()
681 int count = fPathRef->countPoints(); in getLastPt()
697 int count = fPathRef->countPoints(); in setPt()
709 int count = fPathRef->countPoints(); in setLastPt()
[all …]
DSkScan_AntiPath.cpp594 return !path.isConvex() && path.countPoints() >= SkTMax(bounds.width(), bounds.height()) / 8; in ShouldUseDAA()
613 return path.countPoints() < SkTMax(bounds.width(), bounds.height()) / 2 - 10; in ShouldUseAAA()
/external/skqp/include/private/
DSkPathRef.h249 int countPoints() const { return fPointCnt; } in countPoints() function
271 const SkPoint* pointsEnd() const { return this->points() + this->countPoints(); } in pointsEnd()
351 return bounds->setBoundsCheck(ref.points(), ref.countPoints()); in ComputePtBounds()
/external/skia/include/private/
DSkPathRef.h250 int countPoints() const { return fPointCnt; } in countPoints() function
272 const SkPoint* pointsEnd() const { return this->points() + this->countPoints(); } in pointsEnd()
355 return bounds->setBoundsCheck(ref.points(), ref.countPoints()); in ComputePtBounds()
/external/skia/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp303 maxPathPoints = SkTMax(draw->fPath.countPoints(), maxPathPoints); in preFlush()
304 numSkPoints += draw->fPath.countPoints(); in preFlush()
314 maxPathPoints = SkTMax(path.countPoints(), maxPathPoints); in preFlush()
315 numSkPoints += path.countPoints(); in preFlush()
/external/skqp/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp306 maxPathPoints = SkTMax(draw->fPath.countPoints(), maxPathPoints); in preFlush()
307 numSkPoints += draw->fPath.countPoints(); in preFlush()
317 maxPathPoints = SkTMax(path.countPoints(), maxPathPoints); in preFlush()
318 numSkPoints += path.countPoints(); in preFlush()
/external/skqp/src/utils/
DSkShadowTessellator.cpp391 fPositions.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator()
392 fColors.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator()
395 fIndices.setReserve(12 * path.countPoints()); in SkAmbientShadowTessellator()
837 fPositions.setReserve(5 * path.countPoints()); in SkSpotShadowTessellator()
838 fColors.setReserve(5 * path.countPoints()); in SkSpotShadowTessellator()
841 fIndices.setReserve(15 * path.countPoints()); in SkSpotShadowTessellator()
842 fClipPolygon.setReserve(path.countPoints()); in SkSpotShadowTessellator()
1012 fPathPolygon.setReserve(path.countPoints()); in computeClipAndPathPolygons()
/external/skia/src/utils/
DSkShadowTessellator.cpp404 fPositions.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator()
405 fColors.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator()
408 fIndices.setReserve(12 * path.countPoints()); in SkAmbientShadowTessellator()
857 fPositions.setReserve(5 * path.countPoints()); in SkSpotShadowTessellator()
858 fColors.setReserve(5 * path.countPoints()); in SkSpotShadowTessellator()
861 fIndices.setReserve(15 * path.countPoints()); in SkSpotShadowTessellator()
862 fClipPolygon.setReserve(path.countPoints()); in SkSpotShadowTessellator()
1032 fPathPolygon.setReserve(path.countPoints()); in computeClipAndPathPolygons()
/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/gm/
Dstrokerect.cpp33 int n = path.countPoints(); in draw_path()
Dpathcontourstart.cpp115 const int n = path.countPoints(); in drawOneColumn()
/external/skqp/gm/
Dstrokerect.cpp33 int n = path.countPoints(); in draw_path()
Dpathcontourstart.cpp115 const int n = path.countPoints(); in drawOneColumn()
/external/skqp/src/gpu/
DGrShape.cpp170 const int pointCnt = path.countPoints(); in path_key_from_data_size()
185 const int pointCnt = path.countPoints(); in write_path_key_from_data()
/external/skqp/src/gpu/ops/
DGrAAConvexTessellator.cpp354 this->reservePts(5*path.countPoints()); in extractFromPath()
358 fIndices.setReserve(18*path.countPoints() + 6); in extractFromPath()
360 fNorms.setReserve(path.countPoints()); in extractFromPath()

123