Lines Matching defs:pScrPriv

68     rrScrPrivPtr pScrPriv;
74 pScrPriv = rrGetScrPriv(pScreen);
76 outputs = reallocarray(pScrPriv->outputs,
77 pScrPriv->numOutputs + 1, sizeof(RROutputPtr));
81 pScrPriv->outputs = outputs;
115 pScrPriv->outputs[pScrPriv->numOutputs++] = output;
217 if (pScrPriv->rrOutputValidateMode)
218 if (!pScrPriv->rrOutputValidateMode(pScreen, output, mode))
350 .timestamp = pScrPriv->lastSetTime.milliseconds,
351 .configTimestamp = pScrPriv->lastConfigTime.milliseconds,
384 xorg_list_for_each_entry_safe(lease, next, &pScrPriv->leases, list) {
394 if (pScrPriv->primaryOutput == output)
395 pScrPriv->primaryOutput = NULL;
397 for (i = 0; i < pScrPriv->numOutputs; i++) {
398 if (pScrPriv->outputs[i] == output) {
399 memmove(pScrPriv->outputs + i, pScrPriv->outputs + i + 1,
400 (pScrPriv->numOutputs - (i + 1)) * sizeof(RROutputPtr));
401 --pScrPriv->numOutputs;
458 rrScrPrivPtr pScrPriv;
472 pScrPriv = rrGetScrPriv(pScreen);
480 .timestamp = pScrPriv->lastSetTime.milliseconds,
509 .timestamp = pScrPriv->lastSetTime.milliseconds,
582 RRSetPrimaryOutput(ScreenPtr pScreen, rrScrPrivPtr pScrPriv, RROutputPtr output)
584 if (pScrPriv->primaryOutput == output)
588 if (pScrPriv->primaryOutput) {
589 RROutputChanged(pScrPriv->primaryOutput, 0);
590 pScrPriv->primaryOutput = NULL;
595 pScrPriv->primaryOutput = output;
599 pScrPriv->layoutChanged = TRUE;
610 rrScrPrivPtr pScrPriv;
636 pScrPriv = rrGetScrPriv(pWin->drawable.pScreen);
637 if (pScrPriv)
639 RRSetPrimaryOutput(pWin->drawable.pScreen, pScrPriv, output);
657 rrScrPrivPtr pScrPriv;
668 pScrPriv = rrGetScrPriv(pWin->drawable.pScreen);
669 if (pScrPriv)
670 primary = pScrPriv->primaryOutput;