Lines Matching refs:x1
60 int x1 = MAX(boxes->x1 + dx_dst, box->x1); in glamor_upload_boxes() local
66 ofs += (x1 - dx_dst + dx_src) * bytes_per_pixel; in glamor_upload_boxes()
70 if (x2 <= x1 || y2 <= y1) in glamor_upload_boxes()
74 x2 - x1 == byte_stride / bytes_per_pixel) { in glamor_upload_boxes()
76 x1 - box->x1, y1 - box->y1, in glamor_upload_boxes()
77 x2 - x1, y2 - y1, in glamor_upload_boxes()
83 x1 - box->x1, y1 - box->y1, in glamor_upload_boxes()
84 x2 - x1, 1, in glamor_upload_boxes()
118 box.x1 = 0; in glamor_upload_pixmap()
161 int x1 = MAX(boxes->x1 + dx_src, box->x1); in glamor_download_boxes() local
166 ofs += (x1 - dx_src + dx_dst) * bytes_per_pixel; in glamor_download_boxes()
170 if (x2 <= x1 || y2 <= y1) in glamor_download_boxes()
174 x2 - x1 == byte_stride / bytes_per_pixel) { 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()
178 … glReadPixels(x1 - box->x1, y1 - box->y1, x2 - x1, 1, f->format, f->type, bits + ofs); in glamor_download_boxes()
194 box.x1 = x; in glamor_download_rect()
211 box.x1 = 0; in glamor_download_pixmap()