Home | History | Annotate | Download | only in gradients

Lines Matching refs:invDx

618                                                               float fx, float dx, float invDx,
629 int n = SkTMin(SkFloatToIntFloor(-fx * invDx) + 1, count);
641 int n = SkTMin(SkFloatToIntFloor((1 - fx) * invDx) + 1, count);
692 n = SkTMin((int)((p1 - fx) * invDx) + 1, count);
694 n = SkTMin((int)((p0 - fx) * invDx) + 1, count);
745 const float invDx = 1 / dx;
760 this->shade4_dx_clamp<true, true>(dstC, count, fx, dx, invDx, dither);
762 this->shade4_dx_clamp<false, true>(dstC, count, fx, dx, invDx, dither);
766 this->shade4_dx_clamp<true, false>(dstC, count, fx, dx, invDx, dither);
768 this->shade4_dx_clamp<false, false>(dstC, count, fx, dx, invDx, dither);