Home
last modified time | relevance | path

Searched refs:fT0 (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/src/shaders/gradients/
DSk4fLinearGradient.cpp107 SkASSERT(in_range(fx, fIntervals->front().fT0, fIntervals->back().fT1)); in findInterval()
114 while (!in_range(fx, fCachedInterval->fT0, fCachedInterval->fT1)) { in findInterval()
130 SkASSERT(in_range(fx, i0->fT0, i1->fT1)); in findInterval()
134 if (in_range(fx, i0->fT0, i->fT1)) { in findInterval()
142 SkASSERT(in_range(fx, i0->fT0, i0->fT1)); in findInterval()
279 const auto spanX = (lastInterval->fT1 - firstInterval->fT0) / dx; in LinearIntervalProcessor()
298 SkASSERT(!std::isfinite(fAdvX) || fAdvX <= (fInterval->fT1 - fInterval->fT0) / fDx); in currentAdvance()
321 SkASSERT(in_range(t, fInterval->fT0, fInterval->fT1)); in compute_interval_props()
344 + DstTraits<premul>::load(i->fCg) * (i->fT0 + i->fT1) * 0.5f; in init_average_props()
345 fCc = fCc + c * (i->fT1 - i->fT0); in init_average_props()
[all …]
DSk4fGradientBase.h26 SkASSERT(fT0 < fT1); in contains()
27 return t >= fT0 && t <= fT1; in contains()
34 SkScalar fT0, fT1; member
DSk4fGradientBase.cpp122 : fT0(t0) in Sk4fGradientInterval()
244 SkASSERT(t >= i0->fT0 && t <= i1->fT1); in find()
264 SkASSERT(t >= fIntervals.front().fT0 && t <= fIntervals.back().fT1); in findNext()
/third_party/flutter/skia/src/shaders/gradients/
DSk4fLinearGradient.cpp106 SkASSERT(in_range(fx, fIntervals->front().fT0, fIntervals->back().fT1)); in findInterval()
113 while (!in_range(fx, fCachedInterval->fT0, fCachedInterval->fT1)) { in findInterval()
129 SkASSERT(in_range(fx, i0->fT0, i1->fT1)); in findInterval()
133 if (in_range(fx, i0->fT0, i->fT1)) { in findInterval()
141 SkASSERT(in_range(fx, i0->fT0, i0->fT1)); in findInterval()
278 const auto spanX = (lastInterval->fT1 - firstInterval->fT0) / dx; in LinearIntervalProcessor()
297 SkASSERT(!std::isfinite(fAdvX) || fAdvX <= (fInterval->fT1 - fInterval->fT0) / fDx); in currentAdvance()
320 SkASSERT(in_range(t, fInterval->fT0, fInterval->fT1)); in compute_interval_props()
343 + DstTraits<premul>::load(i->fCg) * (i->fT0 + i->fT1) * 0.5f; in init_average_props()
344 fCc = fCc + c * (i->fT1 - i->fT0); in init_average_props()
[all …]
DSk4fGradientBase.h26 SkASSERT(fT0 < fT1); in contains()
27 return t >= fT0 && t <= fT1; in contains()
34 SkScalar fT0, fT1; member
DSk4fGradientBase.cpp122 : fT0(t0) in Sk4fGradientInterval()
244 SkASSERT(t >= i0->fT0 && t <= i1->fT1); in find()
264 SkASSERT(t >= fIntervals.front().fT0 && t <= fIntervals.back().fT1); in findNext()