Lines Matching refs:box
125 BoxPtr box = RegionRects(gc->pCompositeClip); in glamor_fill_spans_gl() local
132 glScissor(box->x1 + off_x, in glamor_fill_spans_gl()
133 box->y1 + off_y, in glamor_fill_spans_gl()
134 box->x2 - box->x1, in glamor_fill_spans_gl()
135 box->y2 - box->y1); in glamor_fill_spans_gl()
136 box++; in glamor_fill_spans_gl()
205 BoxPtr box = glamor_pixmap_box_at(pixmap_priv, box_index); in glamor_get_spans_gl() local
223 if (x1 < box->x1) { in glamor_get_spans_gl()
224 l += (box->x1 - x1) * (drawable->bitsPerPixel >> 3); in glamor_get_spans_gl()
225 x1 = box->x1; in glamor_get_spans_gl()
227 if (x2 > box->x2) in glamor_get_spans_gl()
228 x2 = box->x2; in glamor_get_spans_gl()
232 if (y < box->y1) in glamor_get_spans_gl()
234 if (y >= box->y2) in glamor_get_spans_gl()
237 glReadPixels(x1 - box->x1, y - box->y1, x2 - x1, 1, in glamor_get_spans_gl()
297 BoxPtr box = glamor_pixmap_box_at(pixmap_priv, box_index); in glamor_set_spans_gl() local
335 if (x1 < box->x1) { in glamor_set_spans_gl()
336 l += (box->x1 - x1) * (drawable->bitsPerPixel >> 3); in glamor_set_spans_gl()
337 x1 = box->x1; in glamor_set_spans_gl()
339 if (x2 > box->x2) in glamor_set_spans_gl()
340 x2 = box->x2; in glamor_set_spans_gl()
344 if (y1 < box->y1) in glamor_set_spans_gl()
346 if (y1 >= box->y2) in glamor_set_spans_gl()
350 x1 - box->x1, y1 - box->y1, x2 - x1, 1, in glamor_set_spans_gl()