Lines Matching refs:box
62 struct drm_clip_rect box; in r300_emit_cliprects() local
79 (&box, &cmdbuf->boxes[n + i], sizeof(box))) { in r300_emit_cliprects()
84 box.x2--; /* Hardware expects inclusive bottom-right corner */ in r300_emit_cliprects()
85 box.y2--; in r300_emit_cliprects()
88 box.x1 = (box.x1) & in r300_emit_cliprects()
90 box.y1 = (box.y1) & in r300_emit_cliprects()
92 box.x2 = (box.x2) & in r300_emit_cliprects()
94 box.y2 = (box.y2) & in r300_emit_cliprects()
97 box.x1 = (box.x1 + R300_CLIPRECT_OFFSET) & in r300_emit_cliprects()
99 box.y1 = (box.y1 + R300_CLIPRECT_OFFSET) & in r300_emit_cliprects()
101 box.x2 = (box.x2 + R300_CLIPRECT_OFFSET) & in r300_emit_cliprects()
103 box.y2 = (box.y2 + R300_CLIPRECT_OFFSET) & in r300_emit_cliprects()
107 OUT_RING((box.x1 << R300_CLIPRECT_X_SHIFT) | in r300_emit_cliprects()
108 (box.y1 << R300_CLIPRECT_Y_SHIFT)); in r300_emit_cliprects()
109 OUT_RING((box.x2 << R300_CLIPRECT_X_SHIFT) | in r300_emit_cliprects()
110 (box.y2 << R300_CLIPRECT_Y_SHIFT)); in r300_emit_cliprects()