- Get rid of IntEngBitBltEx, it's Exness isn't needed anymore

svn path=/branches/reactos-yarotows/; revision=46940
This commit is contained in:
Jérôme Gardou 2010-04-19 15:08:03 +00:00
parent 75108218f7
commit 82ad88f1ab
3 changed files with 20 additions and 34 deletions

View file

@ -521,7 +521,7 @@ EngBitBlt(SURFOBJ *DestObj,
} }
BOOL APIENTRY BOOL APIENTRY
IntEngBitBltEx( IntEngBitBlt(
SURFOBJ *psoTrg, SURFOBJ *psoTrg,
SURFOBJ *psoSrc, SURFOBJ *psoSrc,
SURFOBJ *psoMask, SURFOBJ *psoMask,
@ -532,8 +532,7 @@ IntEngBitBltEx(
POINTL *pptlMask, POINTL *pptlMask,
BRUSHOBJ *pbo, BRUSHOBJ *pbo,
POINTL *pptlBrush, POINTL *pptlBrush,
ROP4 rop4, ROP4 rop4)
BOOL bRemoveMouse)
{ {
SURFACE *psurfTrg; SURFACE *psurfTrg;
SURFACE *psurfSrc = NULL; SURFACE *psurfSrc = NULL;
@ -950,17 +949,17 @@ IntEngMaskBlt(SURFOBJ *psoDest,
/* Dummy BitBlt to let driver know that it should flush its changes. /* Dummy BitBlt to let driver know that it should flush its changes.
This should really be done using a call to DrvSynchronizeSurface, This should really be done using a call to DrvSynchronizeSurface,
but the VMware driver doesn't hook that call. */ but the VMware driver doesn't hook that call. */
IntEngBitBltEx(psoDest, NULL, psoMask, ClipRegion, DestColorTranslation, IntEngBitBlt(psoDest, NULL, psoMask, ClipRegion, DestColorTranslation,
DestRect, pptlMask, pptlMask, pbo, BrushOrigin, DestRect, pptlMask, pptlMask, pbo, BrushOrigin,
R4_NOOP, FALSE); R4_NOOP);
ret = EngMaskBitBlt(psoDest, psoMask, ClipRegion, DestColorTranslation, SourceColorTranslation, ret = EngMaskBitBlt(psoDest, psoMask, ClipRegion, DestColorTranslation, SourceColorTranslation,
&OutputRect, &InputPoint, pbo, BrushOrigin); &OutputRect, &InputPoint, pbo, BrushOrigin);
/* Dummy BitBlt to let driver know that something has changed. */ /* Dummy BitBlt to let driver know that something has changed. */
IntEngBitBltEx(psoDest, NULL, psoMask, ClipRegion, DestColorTranslation, IntEngBitBlt(psoDest, NULL, psoMask, ClipRegion, DestColorTranslation,
DestRect, pptlMask, pptlMask, pbo, BrushOrigin, DestRect, pptlMask, pptlMask, pbo, BrushOrigin,
R4_NOOP, FALSE); R4_NOOP);
return ret; return ret;
} }

View file

@ -162,7 +162,7 @@ IntHideMousePointer(
ptlSave.x = rclDest.left - pt.x; ptlSave.x = rclDest.left - pt.x;
ptlSave.y = rclDest.top - pt.y; ptlSave.y = rclDest.top - pt.y;
IntEngBitBltEx(psoDest, IntEngBitBlt(psoDest,
&pgp->psurfSave->SurfObj, &pgp->psurfSave->SurfObj,
NULL, NULL,
NULL, NULL,
@ -172,8 +172,7 @@ IntHideMousePointer(
&ptlSave, &ptlSave,
NULL, NULL,
NULL, NULL,
ROP3_TO_ROP4(SRCCOPY), ROP3_TO_ROP4(SRCCOPY));
FALSE);
} }
VOID VOID
@ -213,7 +212,7 @@ IntShowMousePointer(PDEVOBJ *ppdev, SURFOBJ *psoDest)
rclPointer.bottom = min(pgp->Size.cy, psoDest->sizlBitmap.cy - pt.y); rclPointer.bottom = min(pgp->Size.cy, psoDest->sizlBitmap.cy - pt.y);
/* Copy the pixels under the cursor to temporary surface. */ /* Copy the pixels under the cursor to temporary surface. */
IntEngBitBltEx(&pgp->psurfSave->SurfObj, IntEngBitBlt(&pgp->psurfSave->SurfObj,
psoDest, psoDest,
NULL, NULL,
NULL, NULL,
@ -223,13 +222,12 @@ IntShowMousePointer(PDEVOBJ *ppdev, SURFOBJ *psoDest)
NULL, NULL,
NULL, NULL,
NULL, NULL,
ROP3_TO_ROP4(SRCCOPY), ROP3_TO_ROP4(SRCCOPY));
FALSE);
/* Blt the pointer on the screen. */ /* Blt the pointer on the screen. */
if (pgp->psurfColor) if (pgp->psurfColor)
{ {
IntEngBitBltEx(psoDest, IntEngBitBlt(psoDest,
&pgp->psurfMask->SurfObj, &pgp->psurfMask->SurfObj,
NULL, NULL,
NULL, NULL,
@ -239,10 +237,9 @@ IntShowMousePointer(PDEVOBJ *ppdev, SURFOBJ *psoDest)
NULL, NULL,
NULL, NULL,
NULL, NULL,
ROP3_TO_ROP4(SRCAND), ROP3_TO_ROP4(SRCAND));
FALSE);
IntEngBitBltEx(psoDest, IntEngBitBlt(psoDest,
&pgp->psurfColor->SurfObj, &pgp->psurfColor->SurfObj,
NULL, NULL,
NULL, NULL,
@ -252,12 +249,11 @@ IntShowMousePointer(PDEVOBJ *ppdev, SURFOBJ *psoDest)
NULL, NULL,
NULL, NULL,
NULL, NULL,
ROP3_TO_ROP4(SRCINVERT), ROP3_TO_ROP4(SRCINVERT));
FALSE);
} }
else else
{ {
IntEngBitBltEx(psoDest, IntEngBitBlt(psoDest,
&pgp->psurfMask->SurfObj, &pgp->psurfMask->SurfObj,
NULL, NULL,
NULL, NULL,
@ -267,12 +263,11 @@ IntShowMousePointer(PDEVOBJ *ppdev, SURFOBJ *psoDest)
NULL, NULL,
NULL, NULL,
NULL, NULL,
ROP3_TO_ROP4(SRCAND), ROP3_TO_ROP4(SRCAND));
FALSE);
rclPointer.top += pgp->Size.cy; rclPointer.top += pgp->Size.cy;
IntEngBitBltEx(psoDest, IntEngBitBlt(psoDest,
&pgp->psurfMask->SurfObj, &pgp->psurfMask->SurfObj,
NULL, NULL,
NULL, NULL,
@ -282,8 +277,7 @@ IntShowMousePointer(PDEVOBJ *ppdev, SURFOBJ *psoDest)
NULL, NULL,
NULL, NULL,
NULL, NULL,
ROP3_TO_ROP4(SRCINVERT), ROP3_TO_ROP4(SRCINVERT));
FALSE);
} }
} }

View file

@ -45,7 +45,7 @@ IntEngLineTo(SURFOBJ *Surface,
MIX mix); MIX mix);
BOOL APIENTRY BOOL APIENTRY
IntEngBitBltEx(SURFOBJ *DestObj, IntEngBitBlt(SURFOBJ *DestObj,
SURFOBJ *SourceObj, SURFOBJ *SourceObj,
SURFOBJ *Mask, SURFOBJ *Mask,
CLIPOBJ *ClipRegion, CLIPOBJ *ClipRegion,
@ -55,14 +55,7 @@ IntEngBitBltEx(SURFOBJ *DestObj,
POINTL *MaskOrigin, POINTL *MaskOrigin,
BRUSHOBJ *Brush, BRUSHOBJ *Brush,
POINTL *BrushOrigin, POINTL *BrushOrigin,
ROP4 Rop4, ROP4 Rop4);
BOOL RemoveMouse);
#define IntEngBitBlt(DestObj, SourceObj, Mask, ClipRegion, ColorTranslation, \
DestRect, SourcePoint, MaskOrigin, Brush, BrushOrigin, \
Rop4) \
IntEngBitBltEx((DestObj), (SourceObj), (Mask), (ClipRegion), \
(ColorTranslation), (DestRect), (SourcePoint), \
(MaskOrigin), (Brush), (BrushOrigin), (Rop4), TRUE)
BOOL APIENTRY BOOL APIENTRY
IntEngStretchBlt(SURFOBJ *DestObj, IntEngStretchBlt(SURFOBJ *DestObj,