Lines Matching refs:CurrentLayout
1030 pApm->CurrentLayout.displayWidth = pScrn->virtualX;
1031 pApm->CurrentLayout.displayHeight = pScrn->virtualY;
1032 pApm->CurrentLayout.bitsPerPixel = pScrn->bitsPerPixel;
1033 pApm->CurrentLayout.bytesPerScanline= (pApm->CurrentLayout.displayWidth * pApm->CurrentLayout.bitsPerPixel) >> 3;
1034 pApm->CurrentLayout.depth = pScrn->depth;
1035 pApm->CurrentLayout.Scanlines = 2 * (pScrn->videoRam << 10) / pApm->CurrentLayout.bytesPerScanline;
1037 pApm->CurrentLayout.mask32 = 3;
1039 pApm->CurrentLayout.mask32 = 32 / pScrn->bitsPerPixel - 1;
1416 offset = (pApm->CurrentLayout.displayWidth *
1417 pApm->CurrentLayout.bitsPerPixel / 8) >> 3;
1424 switch(pApm->CurrentLayout.bitsPerPixel)
1433 if (pApm->CurrentLayout.depth == 15)
1445 FatalError("Unsupported bit depth %d\n", pApm->CurrentLayout.depth);
1500 if (pApm->CurrentLayout.bitsPerPixel > 8)
1645 Bpp = pApm->CurrentLayout.bitsPerPixel >> 3;
1646 FBPitch = pApm->CurrentLayout.bytesPerScanline;
1692 pApm->CurrentLayout.pMode = pScrn->currentMode;
1711 if (pApm->CurrentLayout.bitsPerPixel > 8) {
1915 if (pApm->CurrentLayout.bitsPerPixel == 24)
1917 Base = ((y * pApm->CurrentLayout.displayWidth + x) * (pApm->CurrentLayout.bitsPerPixel / 8)) >> 2;