Home
last modified time | relevance | path

Searched refs:ExcludedTerm (Results 1 – 3 of 3) sorted by relevance

/external/skqp/src/gpu/
DGrPathUtils.cpp636 using ExcludedTerm = GrPathUtils::ExcludedTerm; typedef
638 ExcludedTerm GrPathUtils::calcCubicInverseTransposePowerBasisMatrix(const SkPoint p[4], in calcCubicInverseTransposePowerBasisMatrix()
669 ExcludedTerm skipTerm = SkScalarAbs(dets[0]) > SkScalarAbs(dets[1]) ? in calcCubicInverseTransposePowerBasisMatrix()
670 ExcludedTerm::kQuadraticTerm : ExcludedTerm::kLinearTerm; in calcCubicInverseTransposePowerBasisMatrix()
671 SkScalar det = dets[ExcludedTerm::kQuadraticTerm == skipTerm ? 0 : 1]; in calcCubicInverseTransposePowerBasisMatrix()
673 return ExcludedTerm::kNonInvertible; in calcCubicInverseTransposePowerBasisMatrix()
689 int middleRow = ExcludedTerm::kQuadraticTerm == skipTerm ? 2 : 1; in calcCubicInverseTransposePowerBasisMatrix()
698 ExcludedTerm skipTerm, SkScalar outCoeffs[3]) { in calc_serp_kcoeffs()
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()
[all …]
DGrPathUtils.h123 enum class ExcludedTerm { enum
157 ExcludedTerm calcCubicInverseTransposePowerBasisMatrix(const SkPoint p[4], SkMatrix* out);
/external/skqp/src/gpu/ccpr/
DGrCCFillGeometry.cpp234 enum class ExcludedTerm : bool { enum
250 ExcludedTerm skipTerm, float Cdet, in find_chops_around_inflection_points()
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()
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()
497 ? ExcludedTerm::kQuadraticTerm in cubicTo()
498 : ExcludedTerm::kLinearTerm; in cubicTo()
500 Sk2f C1 = (ExcludedTerm::kLinearTerm == skipTerm in cubicTo()