Lines Matching refs:dy
73 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in setLine() local
75 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
114 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in updateLine() local
116 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in updateLine()
148 static inline SkFDot6 cheap_distance(SkFDot6 dx, SkFDot6 dy) in cheap_distance() argument
151 dy = SkAbs32(dy); in cheap_distance()
153 if (dx > dy) in cheap_distance()
154 dx += dy >> 1; in cheap_distance()
156 dx = dy + (dx >> 1); in cheap_distance()
160 static inline int diff_to_shift(SkFDot6 dx, SkFDot6 dy, int shiftAA = 2) in diff_to_shift() argument
163 SkFDot6 dist = cheap_distance(dx, dy); in diff_to_shift()
222 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2; in setQuadraticWithoutUpdate() local
226 shift = diff_to_shift(dx, dy, shift); in setQuadraticWithoutUpdate()
294 SkFixed dy = fQDy; in updateQuadratic() local
305 newy = oldy + (dy >> shift); in updateQuadratic()
306 dy += fQDDy; in updateQuadratic()
321 fQDy = dy; in updateQuadratic()
399 SkFDot6 dy = cubic_delta_from_line(y0, y1, y2, y3); in setCubicWithoutUpdate() local
401 shift = diff_to_shift(dx, dy) + 1; in setCubicWithoutUpdate()