Lines Matching full:box
50 BoxPtr box = glamor_pixmap_box_at(priv, box_index); in glamor_upload_boxes() local
60 int x1 = MAX(boxes->x1 + dx_dst, box->x1); in glamor_upload_boxes()
61 int x2 = MIN(boxes->x2 + dx_dst, box->x2); in glamor_upload_boxes()
62 int y1 = MAX(boxes->y1 + dy_dst, box->y1); in glamor_upload_boxes()
63 int y2 = MIN(boxes->y2 + dy_dst, box->y2); in glamor_upload_boxes()
76 x1 - box->x1, y1 - box->y1, in glamor_upload_boxes()
83 x1 - box->x1, y1 - box->y1, in glamor_upload_boxes()
116 BoxRec box; in glamor_upload_pixmap() local
118 box.x1 = 0; in glamor_upload_pixmap()
119 box.x2 = pixmap->drawable.width; in glamor_upload_pixmap()
120 box.y1 = 0; in glamor_upload_pixmap()
121 box.y2 = pixmap->drawable.height; in glamor_upload_pixmap()
122 glamor_upload_boxes(pixmap, &box, 1, 0, 0, 0, 0, in glamor_upload_pixmap()
149 BoxPtr box = glamor_pixmap_box_at(priv, box_index); in glamor_download_boxes() local
161 int x1 = MAX(boxes->x1 + dx_src, box->x1); in glamor_download_boxes()
162 int x2 = MIN(boxes->x2 + dx_src, box->x2); in glamor_download_boxes()
163 int y1 = MAX(boxes->y1 + dy_src, box->y1); in glamor_download_boxes()
164 int y2 = MIN(boxes->y2 + dy_src, box->y2); 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()
192 BoxRec box; in glamor_download_rect() local
194 box.x1 = x; in glamor_download_rect()
195 box.x2 = x + w; in glamor_download_rect()
196 box.y1 = y; in glamor_download_rect()
197 box.y2 = y + h; in glamor_download_rect()
199 glamor_download_boxes(pixmap, &box, 1, 0, 0, -x, -y, in glamor_download_rect()
209 BoxRec box; in glamor_download_pixmap() local
211 box.x1 = 0; in glamor_download_pixmap()
212 box.x2 = pixmap->drawable.width; in glamor_download_pixmap()
213 box.y1 = 0; in glamor_download_pixmap()
214 box.y2 = pixmap->drawable.height; in glamor_download_pixmap()
216 glamor_download_boxes(pixmap, &box, 1, 0, 0, 0, 0, in glamor_download_pixmap()