Searched refs:mode_rects (Results 1 – 1 of 1) sorted by relevance
473 struct drm_mode_rect *mode_rects; in meta_kms_plane_assignment_set_fb_damage() local476 mode_rects = g_new0 (struct drm_mode_rect, n_rectangles); in meta_kms_plane_assignment_set_fb_damage()479 mode_rects[i].x1 = rectangles[i * 4]; in meta_kms_plane_assignment_set_fb_damage()480 mode_rects[i].y1 = rectangles[i * 4 + 1]; in meta_kms_plane_assignment_set_fb_damage()481 mode_rects[i].x2 = mode_rects[i].x1 + rectangles[i * 4 + 2]; in meta_kms_plane_assignment_set_fb_damage()482 mode_rects[i].y2 = mode_rects[i].y1 + rectangles[i * 4 + 3]; in meta_kms_plane_assignment_set_fb_damage()487 .rects = mode_rects, in meta_kms_plane_assignment_set_fb_damage()