Lines Matching refs:box
61 struct drm_clip_rect box; in r300_emit_cliprects() local
78 (&box, &cmdbuf->boxes[n + i], sizeof(box))) { in r300_emit_cliprects()
83 box.x2--; /* Hardware expects inclusive bottom-right corner */ in r300_emit_cliprects()
84 box.y2--; in r300_emit_cliprects()
87 box.x1 = (box.x1) & in r300_emit_cliprects()
89 box.y1 = (box.y1) & in r300_emit_cliprects()
91 box.x2 = (box.x2) & in r300_emit_cliprects()
93 box.y2 = (box.y2) & in r300_emit_cliprects()
96 box.x1 = (box.x1 + R300_CLIPRECT_OFFSET) & in r300_emit_cliprects()
98 box.y1 = (box.y1 + R300_CLIPRECT_OFFSET) & in r300_emit_cliprects()
100 box.x2 = (box.x2 + R300_CLIPRECT_OFFSET) & in r300_emit_cliprects()
102 box.y2 = (box.y2 + R300_CLIPRECT_OFFSET) & in r300_emit_cliprects()
106 OUT_RING((box.x1 << R300_CLIPRECT_X_SHIFT) | in r300_emit_cliprects()
107 (box.y1 << R300_CLIPRECT_Y_SHIFT)); in r300_emit_cliprects()
108 OUT_RING((box.x2 << R300_CLIPRECT_X_SHIFT) | in r300_emit_cliprects()
109 (box.y2 << R300_CLIPRECT_Y_SHIFT)); in r300_emit_cliprects()