Lines Matching defs:pScrPriv
99 RRCrtcPtr crtc = pScrPriv->numCrtcs ? pScrPriv->crtcs[0] : NULL;
104 se.timestamp = pScrPriv->lastSetTime.milliseconds;
105 se.configTimestamp = pScrPriv->lastConfigTime.milliseconds;
140 if (pScrPriv->width == pScreen->width &&
141 pScrPriv->height == pScreen->height &&
142 pScrPriv->mmWidth == pScreen->mmWidth &&
143 pScrPriv->mmHeight == pScreen->mmHeight)
146 pScrPriv->width = pScreen->width;
147 pScrPriv->height = pScreen->height;
148 pScrPriv->mmWidth = pScreen->mmWidth;
149 pScrPriv->mmHeight = pScreen->mmHeight;
150 pScrPriv->changed = TRUE;
151 /* pScrPriv->sizeChanged = TRUE; */
177 if (pScrPriv->rrScreenSetSize)
179 return (*pScrPriv->rrScreenSetSize) (pScreen,
185 if (pScrPriv->rrSetConfig)
203 rrScrPrivPtr pScrPriv;
212 pScrPriv = rrGetScrPriv(pScreen);
219 if (pScrPriv)
223 rep.minWidth = pScrPriv->minWidth;
224 rep.minHeight = pScrPriv->minHeight;
225 rep.maxWidth = pScrPriv->maxWidth;
226 rep.maxHeight = pScrPriv->maxHeight;
254 rrScrPrivPtr pScrPriv;
263 pScrPriv = rrGetScrPriv(pScreen);
264 if (stuff->width < pScrPriv->minWidth || pScrPriv->maxWidth < stuff->width)
269 if (stuff->height < pScrPriv->minHeight ||
270 pScrPriv->maxHeight < stuff->height)
275 for (i = 0; i < pScrPriv->numCrtcs; i++)
277 RRCrtcPtr crtc = pScrPriv->crtcs[i];
318 rrScrPrivPtr pScrPriv;
333 pScrPriv = rrGetScrPriv(pScreen);
336 if (query && pScrPriv)
340 if (!pScrPriv)
366 rep.timestamp = pScrPriv->lastSetTime.milliseconds;
367 rep.configTimestamp = pScrPriv->lastConfigTime.milliseconds;
368 rep.nCrtcs = pScrPriv->numCrtcs;
369 rep.nOutputs = pScrPriv->numOutputs;
376 rep.length = (pScrPriv->numCrtcs +
377 pScrPriv->numOutputs +
395 outputs = (RROutput *) (crtcs + pScrPriv->numCrtcs);
396 modeinfos = (xRRModeInfo *) (outputs + pScrPriv->numOutputs);
399 if (pScrPriv->primaryOutput && pScrPriv->primaryOutput->crtc)
402 crtcs[0] = pScrPriv->primaryOutput->crtc->id;
407 for (i = 0; i < pScrPriv->numCrtcs; i++)
410 pScrPriv->primaryOutput->crtc == pScrPriv->crtcs[i])
415 crtcs[i + has_primary] = pScrPriv->crtcs[i]->id;
420 for (i = 0; i < pScrPriv->numOutputs; i++)
422 outputs[i] = pScrPriv->outputs[i]->id;
597 rrScrPrivPtr pScrPriv;
608 pScrPriv = rrGetScrPriv(pScreen);
611 if (pScrPriv)
617 if (!pScrPriv || !output)
653 rep.timestamp = pScrPriv->lastSetTime.milliseconds;
654 rep.configTimestamp = pScrPriv->lastConfigTime.milliseconds;
752 rrScrPrivPtr pScrPriv;
784 pScrPriv = rrGetScrPriv(pScreen);
788 if (!pScrPriv)
816 if (stuff->configTimestamp != pScrPriv->lastConfigTime.milliseconds)
901 if (CompareTimeStamps (time, pScrPriv->lastSetTime) < 0)
913 if (width < pScrPriv->minWidth || pScrPriv->maxWidth < width) {
918 if (height < pScrPriv->minHeight || pScrPriv->maxHeight < height) {
934 for (c = 0; c < pScrPriv->numCrtcs; c++)
936 if (!RRCrtcSet (pScrPriv->crtcs[c], NULL, 0, 0, RR_Rotate_0,
956 pScrPriv->lastSetTime = time;
973 rep.newTimestamp = pScrPriv->lastSetTime.milliseconds;
974 rep.newConfigTimestamp = pScrPriv->lastConfigTime.milliseconds;