Lines Matching refs:dx
117 fx += dx; \
124 typedef void (*LinearShadeProc)(TileProc proc, SkFixed dx, SkFixed fx,
131 void shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx,
154 void shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx,
159 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1);
191 void shadeSpan_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx,
198 fx += dx;
204 void shadeSpan_linear_repeat(TileProc proc, SkFixed dx, SkFixed fx,
211 fx += dx;
234 SkFixed dx, fx = SkScalarToFixed(srcPt.fX);
239 dx = dxStorage[0];
242 dx = SkScalarToFixed(fDstToIndex.getScaleX());
246 if (0 == dx) {
255 (*shadeProc)(proc, dx, fx, dstC, cache, toggle, count);
314 fx += dx; \
321 typedef void (*LinearShade16Proc)(TileProc proc, SkFixed dx, SkFixed fx,
325 void shadeSpan16_linear_vertical(TileProc proc, SkFixed dx, SkFixed fx,
336 void shadeSpan16_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx,
341 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1);
373 void shadeSpan16_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx,
381 fx += dx;
387 void shadeSpan16_linear_repeat(TileProc proc, SkFixed dx, SkFixed fx,
395 fx += dx;
421 SkFixed dx, fx = SkScalarToFixed(srcPt.fX);
426 dx = dxStorage[0];
429 dx = SkScalarToFixed(fDstToIndex.getScaleX());
433 if (fixed_nearly_zero(dx)) {
442 (*shadeProc)(proc, dx, fx, dstC, cache, toggle, count);