Lines Matching refs:y1
62 int y1 = MAX(boxes->y1 + dy_dst, box->y1); in glamor_upload_boxes() local
65 size_t ofs = (y1 - dy_dst + dy_src) * byte_stride; in glamor_upload_boxes()
70 if (x2 <= x1 || y2 <= y1) in glamor_upload_boxes()
76 x1 - box->x1, y1 - box->y1, in glamor_upload_boxes()
77 x2 - x1, y2 - y1, in glamor_upload_boxes()
81 for (; y1 < y2; y1++, ofs += byte_stride) in glamor_upload_boxes()
83 x1 - box->x1, y1 - box->y1, in glamor_upload_boxes()
120 box.y1 = 0; in glamor_upload_pixmap()
163 int y1 = MAX(boxes->y1 + dy_src, box->y1); in glamor_download_boxes() local
165 size_t ofs = (y1 - dy_src + dy_dst) * byte_stride; in glamor_download_boxes()
170 if (x2 <= x1 || y2 <= y1) in glamor_download_boxes()
175 … glReadPixels(x1 - box->x1, y1 - box->y1, x2 - x1, y2 - y1, f->format, f->type, bits + ofs); in glamor_download_boxes()
177 for (; y1 < y2; y1++, ofs += byte_stride) in glamor_download_boxes()
178 … glReadPixels(x1 - box->x1, y1 - box->y1, x2 - x1, 1, f->format, f->type, bits + ofs); in glamor_download_boxes()
196 box.y1 = y; in glamor_download_rect()
213 box.y1 = 0; in glamor_download_pixmap()