Lines Matching refs:dx
357 const GGLcoord dx = abs(v0[0] - v1[0]); in linex() local
366 ((dx > dy) ? ny : nx) = halfWidth; in linex()
385 const GGLcoord dx = v0[0] - v1[0]; in aa_linex() local
388 GGLcoord ny = dx; in aa_linex()
695 const int dx = bot[0] - x1; in edge_setup() local
706 if (ggl_likely(ymin <= ymax && dx)) { in edge_setup()
707 edge->x_incr = gglDivQ16(dx, dy); in edge_setup()
881 const int dx = bot[0] - x1; in aa_edge_setup() local
891 if (ggl_likely(ymin <= ymax && dx)) { in aa_edge_setup()
892 edge->x_incr = gglDivQ16(dx, dy); in aa_edge_setup()
893 if (dx != 0) { in aa_edge_setup()
894 edge->y_incr = abs(gglDivQ16(dy, dx)); in aa_edge_setup()
1069 GGLfixed dx = l_max - l_min; in aapolyx() local
1071 int cf = gglMulx((dx >> 1) + (l_min_i + FIXED_ONE - l_max), dy, in aapolyx()
1089 int32_t dx = TRI_FROM_FIXED(l_min_i - l_min) + TRI_ONE; in aapolyx() local
1090 int32_t cf = (dx * dx * y_incr) >> cf_shift; in aapolyx()
1095 dx = TRI_FROM_FIXED(l_min - l_min_i); in aapolyx()
1096 cf -= (dx * dx * y_incr) >> cf_shift; in aapolyx()
1103 dx = TRI_FROM_FIXED(l_max - l_max_i) - TRI_ONE; in aapolyx()
1104 cf += (dx * dx * y_incr) >> cf_shift; in aapolyx()
1122 GGLfixed dx = r_max - r_min; in aapolyx() local
1124 int cf = gglMulx((dx >> 1) + (r_min_i + FIXED_ONE - r_max), dy, in aapolyx()
1131 int32_t dx = TRI_FROM_FIXED(r_min_i - r_min) + TRI_ONE; in aapolyx() local
1132 int32_t cf = (dx * dx * y_incr) >> cf_shift; in aapolyx()
1137 dx = TRI_FROM_FIXED(r_min - r_min_i); in aapolyx()
1138 cf -= (dx * dx * y_incr) >> cf_shift; in aapolyx()
1145 dx = TRI_FROM_FIXED(r_max - r_max_i) - TRI_ONE; in aapolyx()
1146 cf += (dx * dx * y_incr) >> cf_shift; in aapolyx()