Lines Matching refs:crtc_area
58 BoxRec crtc_area, overlap;
65 crtc_area.x1 = crtc->x;
66 crtc_area.x2 = crtc->x + xf86ModeWidth(&crtc->mode, crtc->rotation);
67 crtc_area.y1 = crtc->y;
68 crtc_area.y2 = crtc->y + xf86ModeHeight(&crtc->mode, crtc->rotation);
69 overlap.x1 = crtc_area.x1 > x ? crtc_area.x1 : x;
70 overlap.x2 = crtc_area.x2 < x + w ? crtc_area.x2 : x + w;
71 overlap.y1 = crtc_area.y1 > y ? crtc_area.y1 : y;
72 overlap.y2 = crtc_area.y2 < y ? crtc_area.y2 : y + h;