Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrPathUtils.cpp670 ExcludedTerm::kQuadraticTerm : ExcludedTerm::kLinearTerm; in calcCubicInverseTransposePowerBasisMatrix()
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()
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()
716 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_loop_kcoeffs()
718 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? sd*se : -tdse - tesd; in calc_loop_kcoeffs()
725 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_loop_lmcoeffs()
727 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? s2 * (2*t2s1 + t1s2) in calc_loop_lmcoeffs()
DGrPathUtils.h126 kLinearTerm enumerator
/external/skqp/src/gpu/ccpr/
DGrCCFillGeometry.cpp236 kLinearTerm enumerator
279 Sk2f l2or1 = (ExcludedTerm::kLinearTerm == skipTerm) ? sl*sl*tl*-3 : sl*tl*tl*3; in find_chops_around_inflection_points()
373 Sk2f l2or1 = (ExcludedTerm::kLinearTerm == skipTerm) ? l2 : l1; in find_chops_around_loop_intersection()
498 : ExcludedTerm::kLinearTerm; in cubicTo()
500 Sk2f C1 = (ExcludedTerm::kLinearTerm == skipTerm in cubicTo()