Lines Matching defs:desired
1353 rotation_set(struct sna *sna, struct plane *p, uint32_t desired)
1364 if (desired == p->rotation.current)
1367 if ((desired & p->rotation.supported) != desired) {
1373 __FUNCTION__, p->id, LOCAL_MODE_OBJECT_PLANE, p->rotation.prop, desired));
1382 prop.value = desired;
1387 p->rotation.current = desired;
7970 * 'box', then prefer 'desired'. If 'desired' is NULL, then prefer the crtc
7974 sna_covering_crtc(struct sna *sna, const BoxRec *box, xf86CrtcPtr desired)
7997 if (desired == NULL) {
8002 DBG(("%s: have PrimaryOutput? %d marking as desired\n", __FUNCTION__, output->crtc != NULL));
8003 desired = output->crtc;
8005 assert(!desired || desired->scrn == sna->scrn);
8007 if (desired && to_sna_crtc(desired) && to_sna_crtc(desired)->bo) {
8009 if (sna_box_intersect(&cover_box, &desired->bounds, box)) {
8010 DBG(("%s: box overlaps desired crtc: (%d, %d), (%d, %d)\n",
8014 return desired;
8016 best_crtc = desired;
8171 /* Always program one less than the desired value */
8238 /* Always program one less than the desired value */