Lines Matching refs:dy
77 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in setLine() local
79 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
118 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in updateLine() local
120 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in updateLine()
152 static inline SkFDot6 cheap_distance(SkFDot6 dx, SkFDot6 dy) in cheap_distance() argument
155 dy = SkAbs32(dy); in cheap_distance()
157 if (dx > dy) in cheap_distance()
158 dx += dy >> 1; in cheap_distance()
160 dx = dy + (dx >> 1); in cheap_distance()
164 static inline int diff_to_shift(SkFDot6 dx, SkFDot6 dy, int shiftAA = 2) in diff_to_shift() argument
167 SkFDot6 dist = cheap_distance(dx, dy); in diff_to_shift()
223 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2; in setQuadraticWithoutUpdate() local
227 shift = diff_to_shift(dx, dy, shift); in setQuadraticWithoutUpdate()
295 SkFixed dy = fQDy; in updateQuadratic() local
306 newy = oldy + (dy >> shift); in updateQuadratic()
307 dy += fQDDy; in updateQuadratic()
322 fQDy = dy; in updateQuadratic()
401 SkFDot6 dy = cubic_delta_from_line(y0, y1, y2, y3); in setCubicWithoutUpdate() local
403 shift = diff_to_shift(dx, dy) + 1; in setCubicWithoutUpdate()