Searched refs:skipTerm (Results 1 – 2 of 2) sorted by relevance
/external/skqp/src/gpu/ |
D | GrPathUtils.cpp | 669 ExcludedTerm skipTerm = SkScalarAbs(dets[0]) > SkScalarAbs(dets[1]) ? in calcCubicInverseTransposePowerBasisMatrix() local 671 SkScalar det = dets[ExcludedTerm::kQuadraticTerm == skipTerm ? 0 : 1]; in calcCubicInverseTransposePowerBasisMatrix() 689 int middleRow = ExcludedTerm::kQuadraticTerm == skipTerm ? 2 : 1; in calcCubicInverseTransposePowerBasisMatrix() 694 return skipTerm; in calcCubicInverseTransposePowerBasisMatrix() 698 ExcludedTerm skipTerm, SkScalar outCoeffs[3]) { in calc_serp_kcoeffs() argument 699 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_serp_kcoeffs() 701 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? sl*sm : -tl*sm - tm*sl; in calc_serp_kcoeffs() 705 inline static void calc_serp_lmcoeffs(SkScalar t, SkScalar s, ExcludedTerm skipTerm, in calc_serp_lmcoeffs() argument 707 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_serp_lmcoeffs() 709 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? 3*s*s*t : -3*s*t*t; in calc_serp_lmcoeffs() [all …]
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCFillGeometry.cpp | 250 ExcludedTerm skipTerm, float Cdet, in find_chops_around_inflection_points() argument 279 Sk2f l2or1 = (ExcludedTerm::kLinearTerm == skipTerm) ? sl*sl*tl*-3 : sl*tl*tl*3; in find_chops_around_inflection_points() 335 ExcludedTerm skipTerm, float Cdet, in find_chops_around_loop_intersection() argument 373 Sk2f l2or1 = (ExcludedTerm::kLinearTerm == skipTerm) ? l2 : l1; in find_chops_around_loop_intersection() 496 ExcludedTerm skipTerm = (std::abs(D[2]) > std::abs(D[1])) in cubicTo() local 500 Sk2f C1 = (ExcludedTerm::kLinearTerm == skipTerm in cubicTo() 508 find_chops_around_inflection_points(inflectPad, t, s, C0, C1, skipTerm, Cdet, &chops); in cubicTo() 510 find_chops_around_loop_intersection(loopIntersectPad, t, s, C0, C1, skipTerm, Cdet, &chops); in cubicTo()
|