Searched refs:skipTerm (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/gpu/ |
D | GrPathUtils.cpp | 612 ExcludedTerm skipTerm = SkScalarAbs(dets[0]) > SkScalarAbs(dets[1]) ? in calcCubicInverseTransposePowerBasisMatrix() local 614 SkScalar det = dets[ExcludedTerm::kQuadraticTerm == skipTerm ? 0 : 1]; in calcCubicInverseTransposePowerBasisMatrix() 632 int middleRow = ExcludedTerm::kQuadraticTerm == skipTerm ? 2 : 1; in calcCubicInverseTransposePowerBasisMatrix() 637 return skipTerm; in calcCubicInverseTransposePowerBasisMatrix() 641 ExcludedTerm skipTerm, SkScalar outCoeffs[3]) { in calc_serp_kcoeffs() argument 642 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_serp_kcoeffs() 644 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? sl*sm : -tl*sm - tm*sl; in calc_serp_kcoeffs() 648 inline static void calc_serp_lmcoeffs(SkScalar t, SkScalar s, ExcludedTerm skipTerm, in calc_serp_lmcoeffs() argument 650 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_serp_lmcoeffs() 652 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? 3*s*s*t : -3*s*t*t; in calc_serp_lmcoeffs() [all …]
|
/external/skqp/src/gpu/ |
D | GrPathUtils.cpp | 612 ExcludedTerm skipTerm = SkScalarAbs(dets[0]) > SkScalarAbs(dets[1]) ? in calcCubicInverseTransposePowerBasisMatrix() local 614 SkScalar det = dets[ExcludedTerm::kQuadraticTerm == skipTerm ? 0 : 1]; in calcCubicInverseTransposePowerBasisMatrix() 632 int middleRow = ExcludedTerm::kQuadraticTerm == skipTerm ? 2 : 1; in calcCubicInverseTransposePowerBasisMatrix() 637 return skipTerm; in calcCubicInverseTransposePowerBasisMatrix() 641 ExcludedTerm skipTerm, SkScalar outCoeffs[3]) { in calc_serp_kcoeffs() argument 642 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_serp_kcoeffs() 644 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? sl*sm : -tl*sm - tm*sl; in calc_serp_kcoeffs() 648 inline static void calc_serp_lmcoeffs(SkScalar t, SkScalar s, ExcludedTerm skipTerm, in calc_serp_lmcoeffs() argument 650 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_serp_lmcoeffs() 652 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? 3*s*s*t : -3*s*t*t; in calc_serp_lmcoeffs() [all …]
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCGeometry.cpp | 172 const SkMatrix& CIT, ExcludedTerm skipTerm) { in calc_inflect_homogeneous_padding() argument 176 Sk2f Cly = (ExcludedTerm::kLinearTerm == skipTerm) ? s*s*t*-3 : s*t*t*3; in calc_inflect_homogeneous_padding() 205 const SkMatrix& CIT, ExcludedTerm skipTerm, in calc_loop_intersect_padding_pts() argument 213 Sk2f Cl = (ExcludedTerm::kLinearTerm == skipTerm) ? T2*-2 - T1 : T2*T2 + T2*T1*2; in calc_loop_intersect_padding_pts() 321 ExcludedTerm skipTerm = GrPathUtils::calcCubicInverseTransposePowerBasisMatrix(devPts, &CIT); in cubicTo() local 322 SkASSERT(ExcludedTerm::kNonInvertible != skipTerm); // Should have been caught above. in cubicTo() 347 Sk2f pad = calc_inflect_homogeneous_padding(inflectPad, t, s, CIT, skipTerm); in cubicTo() 360 calc_loop_intersect_padding_pts(loopIntersectPad, Sk2f::Load(T), CIT, skipTerm, roots); in cubicTo()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCGeometry.cpp | 172 const SkMatrix& CIT, ExcludedTerm skipTerm) { in calc_inflect_homogeneous_padding() argument 176 Sk2f Cly = (ExcludedTerm::kLinearTerm == skipTerm) ? s*s*t*-3 : s*t*t*3; in calc_inflect_homogeneous_padding() 205 const SkMatrix& CIT, ExcludedTerm skipTerm, in calc_loop_intersect_padding_pts() argument 213 Sk2f Cl = (ExcludedTerm::kLinearTerm == skipTerm) ? T2*-2 - T1 : T2*T2 + T2*T1*2; in calc_loop_intersect_padding_pts() 321 ExcludedTerm skipTerm = GrPathUtils::calcCubicInverseTransposePowerBasisMatrix(devPts, &CIT); in cubicTo() local 322 SkASSERT(ExcludedTerm::kNonInvertible != skipTerm); // Should have been caught above. in cubicTo() 347 Sk2f pad = calc_inflect_homogeneous_padding(inflectPad, t, s, CIT, skipTerm); in cubicTo() 360 calc_loop_intersect_padding_pts(loopIntersectPad, Sk2f::Load(T), CIT, skipTerm, roots); in cubicTo()
|