Lines Matching refs:pMode
94 DisplayModePtr pMode, firstMode;
98 pMode = firstMode = pScrn->modes;
100 while(pMode) {
102 otherPitch = secondPitch ? secondPitch : pMode->HDisplay;
104 if(pMode->HDisplay != otherPitch) {
127 currentMode->mode = pMode;
134 if(pMode->Flags & V_DBLSCAN)
136 if(pMode->Flags & V_INTERLACE)
145 currentMode->viewportWidth = pMode->HDisplay;
146 currentMode->viewportHeight = pMode->VDisplay;
156 currentMode->bytesPerScanline = (((pMode->HDisplay * Bpp) + 3) & ~3L);
157 currentMode->imageWidth = pMode->HDisplay;
158 currentMode->imageHeight = pMode->VDisplay;
173 currentMode->imageHeight = pMode->VDisplay;
183 pMode = pMode->next;
184 if(pMode == firstMode)
247 DGAModePtr pMode
253 if(!pMode) { /* restore the original mode */
274 pXGI->CurrentLayout.bitsPerPixel = pMode->bitsPerPixel;
275 pXGI->CurrentLayout.depth = pMode->depth;
276 pXGI->CurrentLayout.displayWidth = pMode->bytesPerScanline / (pMode->bitsPerPixel >> 3);
278 (*pScrn->SwitchMode)(index, pMode->mode, 0);