Lines Matching refs:y2
146 draw_line_mmx (Pixel * data, int x1, int y1, int x2, int y2, int col, in draw_line_mmx() argument
152 if ((y1 < 0) || (y2 < 0) || (x1 < 0) || (x2 < 0) || (y1 >= screeny) in draw_line_mmx()
153 || (y2 >= screeny) || (x1 >= screenx) || (x2 >= screenx)) in draw_line_mmx()
157 dy = y2 - y1; in draw_line_mmx()
165 y1 = y2; in draw_line_mmx()
166 y2 = tmp; in draw_line_mmx()
168 dy = y2 - y1; in draw_line_mmx()
173 if (y1 < y2) { in draw_line_mmx()
175 for (y = y1; y <= y2; y++) { in draw_line_mmx()
180 p = &(data[(screenx * y2) + x1]); in draw_line_mmx()
181 for (y = y2; y <= y1; y++) { in draw_line_mmx()
210 if (y2 > y1) { in draw_line_mmx()
215 for (y = y1; y <= y2; y++) { in draw_line_mmx()
252 for (y = y1; y >= y2; y--) { in draw_line_mmx()