Home
last modified time | relevance | path

Searched refs:ptCount (Results 1 – 25 of 29) sorted by relevance

12

/external/skia/tests/
DPathOpsThreeWayTest.cpp15 int ptCount; member
58 if (oTest.ptCount == 1 && iTest.ptCount == 1) { in testSetTest()
60 } else if (oTest.ptCount == 1 && iTest.ptCount == 4) { in testSetTest()
62 } else if (oTest.ptCount == 4 && iTest.ptCount == 1) { in testSetTest()
64 } else if (oTest.ptCount == 4 && iTest.ptCount == 4) { in testSetTest()
/external/skqp/tests/
DPathOpsThreeWayTest.cpp15 int ptCount; member
58 if (oTest.ptCount == 1 && iTest.ptCount == 1) { in testSetTest()
60 } else if (oTest.ptCount == 1 && iTest.ptCount == 4) { in testSetTest()
62 } else if (oTest.ptCount == 4 && iTest.ptCount == 1) { in testSetTest()
64 } else if (oTest.ptCount == 4 && iTest.ptCount == 4) { in testSetTest()
/external/skqp/src/core/
DSkScan_Hairline.cpp453 void extend_pts(SkPath::Verb prevVerb, SkPath::Verb nextVerb, SkPoint* pts, int ptCount) { in extend_pts() argument
460 int controls = ptCount - 1; in extend_pts()
467 controls = ptCount - 1; // If all points are equal, move all but one in extend_pts()
475 } while (++controls < ptCount); in extend_pts()
479 SkPoint* last = &pts[ptCount - 1]; in extend_pts()
481 int controls = ptCount - 1; in extend_pts()
488 controls = ptCount - 1; in extend_pts()
496 } while (++controls < ptCount); in extend_pts()
DSkPathRef.cpp287 int ptCount = 0; in deduce_pts_conics() local
293 ptCount = safe.addInt(ptCount, 1); in deduce_pts_conics()
299 ptCount = safe.addInt(ptCount, 2); in deduce_pts_conics()
302 ptCount = safe.addInt(ptCount, 3); in deduce_pts_conics()
313 *ptCountPtr = ptCount; in deduce_pts_conics()
DSkDraw.h69 const uint16_t indices[], int ptCount,
DSkStrike.h192 static void AddPoints(const SkPoint* pts, int ptCount, const SkScalar bounds[2],
DSkStrike.cpp275 void SkStrike::AddPoints(const SkPoint* pts, int ptCount, const SkScalar bounds[2], in AddPoints() argument
277 for (int i = 0; i < ptCount; ++i) { in AddPoints()
DSkGeometry.cpp1300 const int ptCount = 2 * quadCount + 1; in chopIntoQuadsPOW2() local
1301 SkASSERT(endPts - pts == ptCount); in chopIntoQuadsPOW2()
1302 if (!SkPointPriv::AreFinite(pts, ptCount)) { in chopIntoQuadsPOW2()
1305 for (int i = 1; i < ptCount - 1; ++i) { in chopIntoQuadsPOW2()
/external/skia/src/core/
DSkScan_Hairline.cpp453 void extend_pts(SkPath::Verb prevVerb, SkPath::Verb nextVerb, SkPoint* pts, int ptCount) { in extend_pts() argument
460 int controls = ptCount - 1; in extend_pts()
467 controls = ptCount - 1; // If all points are equal, move all but one in extend_pts()
475 } while (++controls < ptCount); in extend_pts()
479 SkPoint* last = &pts[ptCount - 1]; in extend_pts()
481 int controls = ptCount - 1; in extend_pts()
488 controls = ptCount - 1; in extend_pts()
496 } while (++controls < ptCount); in extend_pts()
DSkPathRef.cpp292 int ptCount = 0; in deduce_pts_conics() local
298 ptCount = safe.addInt(ptCount, 1); in deduce_pts_conics()
304 ptCount = safe.addInt(ptCount, 2); in deduce_pts_conics()
307 ptCount = safe.addInt(ptCount, 3); in deduce_pts_conics()
318 *ptCountPtr = ptCount; in deduce_pts_conics()
DSkDraw.h69 const uint16_t indices[], int ptCount,
DSkStrike.h197 static void AddPoints(const SkPoint* pts, int ptCount, const SkScalar bounds[2],
DSkStrike.cpp297 void SkStrike::AddPoints(const SkPoint* pts, int ptCount, const SkScalar bounds[2], in AddPoints() argument
299 for (int i = 0; i < ptCount; ++i) { in AddPoints()
DSkGeometry.cpp1300 const int ptCount = 2 * quadCount + 1; in chopIntoQuadsPOW2() local
1301 SkASSERT(endPts - pts == ptCount); in chopIntoQuadsPOW2()
1302 if (!SkPointPriv::AreFinite(pts, ptCount)) { in chopIntoQuadsPOW2()
1305 for (int i = 1; i < ptCount - 1; ++i) { in chopIntoQuadsPOW2()
/external/skia/src/gpu/
DGrRect.h81 const SkPoint inPts[], SkPoint outPts[], int ptCount) { in GrMapRectPoints() argument
83 rectTransform.mapPoints(outPts, inPts, ptCount); in GrMapRectPoints()
/external/skia/src/utils/
DSkDashPath.cpp255 SkScalar ptCount = pathLength * intervalCount / (float)intervalLength; in init() local
256 ptCount = SkTMin(ptCount, SkDashPath::kMaxDashCount); in init()
257 int n = SkScalarCeilToInt(ptCount) << 2; in init()
/external/skqp/src/utils/
DSkDashPath.cpp255 SkScalar ptCount = pathLength * intervalCount / (float)intervalLength; in init() local
256 ptCount = SkTMin(ptCount, SkDashPath::kMaxDashCount); in init()
257 int n = SkScalarCeilToInt(ptCount) << 2; in init()
/external/skqp/src/pathops/
DSkOpEdgeBuilder.cpp155 int ptCount = SkPathOpsVerbToPoints(verb); in preFetch() local
156 fPathPts.append(ptCount, &pts[1]); in preFetch()
160 curve[0] = pts[ptCount]; in preFetch()
DSkOpAngle.cpp487 int ptCount = SkPathOpsVerbToPoints(segment.verb()); in distEndRatio() local
489 for (int idx1 = 0; idx1 <= ptCount - 1; ++idx1) { in distEndRatio()
490 for (int idx2 = idx1 + 1; idx2 <= ptCount; ++idx2) { in distEndRatio()
581 int ptCount = index ? rPts : lPts; in endsIntersect() local
582 for (int idx2 = 0; idx2 <= ptCount; ++idx2) { in endsIntersect()
DSkPathOpsCubic.h82 bool hullIntersects(const SkDPoint* pts, int ptCount, bool* isLinear) const;
DSkPathOpsCubic.cpp148 bool SkDCubic::hullIntersects(const SkDPoint* pts, int ptCount, bool* isLinear) const { in hullIntersects() argument
180 for (int n = 0; n < ptCount; ++n) { in hullIntersects()
/external/skia/src/pathops/
DSkOpEdgeBuilder.cpp155 int ptCount = SkPathOpsVerbToPoints(verb); in preFetch() local
156 fPathPts.append(ptCount, &pts[1]); in preFetch()
160 curve[0] = pts[ptCount]; in preFetch()
DSkOpAngle.cpp487 int ptCount = SkPathOpsVerbToPoints(segment.verb()); in distEndRatio() local
489 for (int idx1 = 0; idx1 <= ptCount - 1; ++idx1) { in distEndRatio()
490 for (int idx2 = idx1 + 1; idx2 <= ptCount; ++idx2) { in distEndRatio()
581 int ptCount = index ? rPts : lPts; in endsIntersect() local
582 for (int idx2 = 0; idx2 <= ptCount; ++idx2) { in endsIntersect()
DSkPathOpsCubic.h82 bool hullIntersects(const SkDPoint* pts, int ptCount, bool* isLinear) const;
DSkPathOpsCubic.cpp148 bool SkDCubic::hullIntersects(const SkDPoint* pts, int ptCount, bool* isLinear) const { in hullIntersects() argument
180 for (int n = 0; n < ptCount; ++n) { in hullIntersects()

12