Lines Matching refs:plane
47 static uint32_t choose_format(struct kms_plane *plane) in choose_format() argument
52 if (kms_plane_supports_format(plane, formats[i])) in choose_format()
136 struct kms_plane *plane; in main() local
213 plane = device->planes[i]; in main()
214 switch (plane->type) { in main()
228 printf(" %u: %p\n", i, plane); in main()
229 printf(" ID: %x\n", plane->id); in main()
230 printf(" CRTC: %x\n", plane->crtc->id); in main()
231 printf(" Type: %x (%s)\n", plane->type, type); in main()
239 plane = kms_device_find_plane_by_type(device, in main()
242 if (!plane) { in main()
247 format = choose_format(plane); in main()
264 kms_plane_set(plane, cursor, x, y); in main()
270 plane = kms_device_find_plane_by_type(device, in main()
273 if (!plane) { in main()
278 format = choose_format(plane); in main()
290 kms_plane_set(plane, fb, 0, 0); in main()
297 plane = kms_device_find_plane_by_type(device, in main()
300 if (!plane) { in main()
305 format = choose_format(plane); in main()
320 kms_plane_set(plane, root, x, y); in main()