Lines Matching refs:CurrentLayout

26 #define SETSOURCEXY(x,y)	do { int off = ((((y) & 0xFFFF) * pApm->CurrentLayout.displayWidth + ((x) & 0x3FFF)) * 3); SETSOURCEOFF(((off & 0xFFF000) << 4) | (off & 0xFFF)); break;} while(1)
27 #define SETDESTXY(x,y) do { int off = ((((y) & 0xFFFF) * pApm->CurrentLayout.displayWidth + ((x) & 0x3FFF)) * 3); SETDESTOFF(((off & 0xFFF000) << 4) | (off & 0xFFF)); break;} while(1)
30 #define UPDATEDEST(x,y) (void)(curr32[0x54 / 4] = ((((y) & 0xFFFF) * pApm->CurrentLayout.displayWidth + ((x) & 0xFFFF)) * 3))
131 pApm->CurrentLayout.Setup_DEC);
162 SETOFFSET(3*(pApm->CurrentLayout.displayWidth - w));
164 switch ((((y * pApm->CurrentLayout.displayWidth + x)* 3) / 8) % 3) {
187 SETDEC(DEC_START | DEC_OP_RECT | DEC_DEST_UPD_TRCORNER | pApm->CurrentLayout.Setup_DEC);
220 (pApm->apmTransparency ? DEC_SOURCE_TRANSPARENCY : 0) | pApm->CurrentLayout.Setup_DEC |
242 int i = y1 / pApm->CurrentLayout.Scanlines;
257 w = (pApm->pixelStride * 8) / pApm->CurrentLayout.bitsPerPixel;
276 x1 += (((y1 % pApm->CurrentLayout.Scanlines) - pApm->RushY[i - 1]) * pApm->pixelStride * 8) / pApm->CurrentLayout.bitsPerPixel;
280 y1 -= i * pApm->CurrentLayout.Scanlines;
303 pApm->CurrentLayout.Setup_DEC;
312 pApm->CurrentLayout.Setup_DEC;
325 SETOFFSET(3 * (pApm->CurrentLayout.displayWidth - w));
327 SETOFFSET(3 * (pApm->CurrentLayout.displayWidth + w));
337 register unsigned int off = sx + sy * pApm->CurrentLayout.displayWidth;
436 DEC_SOURCE_CONTIG | DEC_SOURCE_TRANSPARENCY | pApm->CurrentLayout.Setup_DEC);
440 DEC_SOURCE_CONTIG | pApm->CurrentLayout.Setup_DEC);
445 DEC_SOURCE_CONTIG | pApm->CurrentLayout.Setup_DEC;
464 switch(pApm->CurrentLayout.bitsPerPixel) {
514 switch(pApm->CurrentLayout.bitsPerPixel) {
584 switch(pApm->CurrentLayout.bitsPerPixel) {
630 switch(pApm->CurrentLayout.bitsPerPixel) {
760 SETDEC(pApm->CurrentLayout.Setup_DEC | ((h == 1) ? DEC_OP_STRIP : DEC_OP_RECT) |
765 SETDEC(pApm->CurrentLayout.Setup_DEC | ((h == 1) ? DEC_OP_STRIP : DEC_OP_RECT) |
774 SETDEC(pApm->CurrentLayout.Setup_DEC | ((h == 1) ? DEC_OP_STRIP : DEC_OP_RECT) |
781 SETDEC(pApm->CurrentLayout.Setup_DEC | ((h == 1) ? DEC_OP_STRIP : DEC_OP_RECT) |
805 DEC_DEST_UPD_TRCORNER | pApm->CurrentLayout.Setup_DEC);
819 DEC_QUICKSTART_ONDIMX | pApm->CurrentLayout.Setup_DEC);
840 pApm->CurrentLayout.Setup_DEC;
880 DEC_SOURCE_TRANSPARENCY | DEC_QUICKSTART_ONDIMX | pApm->CurrentLayout.Setup_DEC);
891 DEC_QUICKSTART_ONDIMX | pApm->CurrentLayout.Setup_DEC);
910 DEC_START | pApm->CurrentLayout.Setup_DEC;
952 DEC_QUICKSTART_ONDIMX | DEC_DEST_UPD_TRCORNER | pApm->CurrentLayout.Setup_DEC;
955 DEC_START | DEC_DEST_UPD_TRCORNER | pApm->CurrentLayout.Setup_DEC;
961 if (srcy >= pApm->CurrentLayout.Scanlines) {
968 pCache = &pApm->apmCache[srcy / pApm->CurrentLayout.Scanlines - 1];
969 if (w != pCache->apmStippleCache.w * pApm->CurrentLayout.bitsPerPixel) {
975 w = pCache->apmStippleCache.w * pApm->CurrentLayout.bitsPerPixel;
989 srcy = pCache->apmStippleCache.y % pApm->CurrentLayout.Scanlines;
990 dist = srcx + srcy * pApm->CurrentLayout.displayWidth;
1032 pApm->CurrentLayout.Setup_DEC;
1034 u32 c = DEC_START | DEC_OP_VECT_ENDP | DEC_DEST_UPD_LASTPIX | pApm->CurrentLayout.Setup_DEC;
1093 pApm->CurrentLayout.Setup_DEC;
1095 u32 c = DEC_START | DEC_OP_VECT_ENDP | DEC_DEST_UPD_LASTPIX | pApm->CurrentLayout.Setup_DEC;
1180 unsigned char *dst = ((unsigned char *)pApm->FbBase) + x * Bpp + y * pApm->CurrentLayout.bytesPerScanline;
1211 dst += pApm->CurrentLayout.bytesPerScanline;
1223 dst += pApm->CurrentLayout.bytesPerScanline;
1235 dst += pApm->CurrentLayout.bytesPerScanline;
1249 dst += pApm->CurrentLayout.bytesPerScanline;
1279 mask = (pApm->CurrentLayout.bitsPerPixel / 8) - 1;
1408 SETDEC(pApm->CurrentLayout.Setup_DEC | DEC_OP_BLT |
1420 SETDEC(pApm->CurrentLayout.Setup_DEC | DEC_OP_BLT |
1448 SETDEC(pApm->CurrentLayout.Setup_DEC | DEC_OP_BLT |