sorry foregt test one optimze
remove it until futer
Modified: trunk/reactos/subsys/win32k/dib/dib32bpp.c
_____
Modified: trunk/reactos/subsys/win32k/dib/dib32bpp.c
--- trunk/reactos/subsys/win32k/dib/dib32bpp.c 2005-06-03 18:57:53 UTC
(rev 15756)
+++ trunk/reactos/subsys/win32k/dib/dib32bpp.c 2005-06-03 19:11:10 UTC
(rev 15757)
@@ -464,26 +464,7 @@
}
break;
- case ROP4_DSTINVERT:
- // return(~Dest);
- {
- /* calc dest start position */
- PBYTE Destbyteaddr =
BltInfo->SourceSurface->pvScan0 + BltInfo->DestRect.top *
BltInfo->SourceSurface->lDelta;
- PDWORD Destaddr = (PDWORD)Destbyteaddr +
BltInfo->DestRect.left;
- LONG DestxlDelta =
BltInfo->SourceSurface->lDelta - (BltInfo->DestRect.right -
BltInfo->DestRect.left) ;
-
- for (DestY=BltInfo->DestRect.top;
DestY<BltInfo->DestRect.bottom; DestY++)
- {
- for
(DestX=BltInfo->DestRect.left; DestX<BltInfo->DestRect.right; DestX++,
Destaddr++)
- {
- *Destaddr = ~(*Destaddr);
- }
- Destaddr+=DestxlDelta;
- }
- return TRUE;
- }
- break;
-
+
case ROP4_NOTSRCERASE:
// return(~(Dest | Source));
switch (BltInfo->SourceSurface->iBitmapFormat)
Show replies by date