Lines Matching refs:pScrPriv
80 if (pScrPriv) { in RRClientCallback()
81 pTimes[i].setTime = pScrPriv->lastSetTime; in RRClientCallback()
82 pTimes[i].configTime = pScrPriv->lastConfigTime; in RRClientCallback()
94 unwrap(pScrPriv, pScreen, CloseScreen); in RRCloseScreen()
96 xorg_list_for_each_entry_safe(lease, next, &pScrPriv->leases, list) in RRCloseScreen()
98 for (j = pScrPriv->numCrtcs - 1; j >= 0; j--) in RRCloseScreen()
99 RRCrtcDestroy(pScrPriv->crtcs[j]); in RRCloseScreen()
100 for (j = pScrPriv->numOutputs - 1; j >= 0; j--) in RRCloseScreen()
101 RROutputDestroy(pScrPriv->outputs[j]); in RRCloseScreen()
103 if (pScrPriv->provider) in RRCloseScreen()
104 RRProviderDestroy(pScrPriv->provider); in RRCloseScreen()
108 free(pScrPriv->crtcs); in RRCloseScreen()
109 free(pScrPriv->outputs); in RRCloseScreen()
110 free(pScrPriv); in RRCloseScreen()
307 rrScrPrivPtr pScrPriv; in RRScreenInit() local
312 pScrPriv = (rrScrPrivPtr) calloc(1, sizeof(rrScrPrivRec)); in RRScreenInit()
313 if (!pScrPriv) in RRScreenInit()
316 SetRRScreen(pScreen, pScrPriv); in RRScreenInit()
321 pScrPriv->rrGetInfo = 0; in RRScreenInit()
322 pScrPriv->maxWidth = pScrPriv->minWidth = pScreen->width; in RRScreenInit()
323 pScrPriv->maxHeight = pScrPriv->minHeight = pScreen->height; in RRScreenInit()
325 pScrPriv->width = pScreen->width; in RRScreenInit()
326 pScrPriv->height = pScreen->height; in RRScreenInit()
327 pScrPriv->mmWidth = pScreen->mmWidth; in RRScreenInit()
328 pScrPriv->mmHeight = pScreen->mmHeight; in RRScreenInit()
330 pScrPriv->rrScreenSetSize = NULL; in RRScreenInit()
331 pScrPriv->rrCrtcSet = NULL; in RRScreenInit()
332 pScrPriv->rrCrtcSetGamma = NULL; in RRScreenInit()
335 pScrPriv->rrSetConfig = 0; in RRScreenInit()
336 pScrPriv->rotations = RR_Rotate_0; in RRScreenInit()
337 pScrPriv->reqWidth = pScreen->width; in RRScreenInit()
338 pScrPriv->reqHeight = pScreen->height; in RRScreenInit()
339 pScrPriv->nSizes = 0; in RRScreenInit()
340 pScrPriv->pSizes = NULL; in RRScreenInit()
341 pScrPriv->rotation = RR_Rotate_0; in RRScreenInit()
342 pScrPriv->rate = 0; in RRScreenInit()
343 pScrPriv->size = 0; in RRScreenInit()
351 pScrPriv->lastSetTime = currentTime; in RRScreenInit()
352 pScrPriv->lastConfigTime = currentTime; in RRScreenInit()
354 wrap(pScrPriv, pScreen, CloseScreen, RRCloseScreen); in RRScreenInit()
358 pScrPriv->numOutputs = 0; in RRScreenInit()
359 pScrPriv->outputs = NULL; in RRScreenInit()
360 pScrPriv->numCrtcs = 0; in RRScreenInit()
361 pScrPriv->crtcs = NULL; in RRScreenInit()
363 xorg_list_init(&pScrPriv->leases); in RRScreenInit()
458 pScrPriv->resourcesChanged = TRUE; in RRResourcesChanged()
473 .timestamp = pScrPriv->lastSetTime.milliseconds, in RRDeliverResourceEvent()
506 for (i = 0; i < pScrPriv->numCrtcs; i++) { in TellChanged()
507 RRCrtcPtr crtc = pScrPriv->crtcs[i]; in TellChanged()
528 for (i = 0; i < pScrPriv->numOutputs; i++) { in TellChanged()
529 RROutputPtr output = pScrPriv->outputs[i]; in TellChanged()
558 if (pScrPriv->resourcesChanged) { in TellChanged()
564 if (pScrPriv->leasesChanged) { in TellChanged()
588 mastersp = pScrPriv; in RRSetChanged()
615 mastersp = pScrPriv; in RRTellChanged()
636 pScrPriv->changed = FALSE; in RRTellChanged()
643 for (i = 0; i < pScrPriv->numOutputs; i++) in RRTellChanged()
644 pScrPriv->outputs[i]->changed = FALSE; in RRTellChanged()
645 for (i = 0; i < pScrPriv->numCrtcs; i++) in RRTellChanged()
646 pScrPriv->crtcs[i]->changed = FALSE; in RRTellChanged()
660 pScrPriv->layoutChanged = FALSE; in RRTellChanged()
678 if (!pScrPriv) in RRFirstOutput()
681 if (pScrPriv->primaryOutput && pScrPriv->primaryOutput->crtc) in RRFirstOutput()
682 return pScrPriv->primaryOutput; in RRFirstOutput()
684 for (i = 0; i < pScrPriv->numCrtcs; i++) { in RRFirstOutput()
685 RRCrtcPtr crtc = pScrPriv->crtcs[i]; in RRFirstOutput()
687 for (j = 0; j < pScrPriv->numOutputs; j++) { in RRFirstOutput()
688 output = pScrPriv->outputs[j]; in RRFirstOutput()