- The last DC_vPrepareForBlit/DC_vFinishBlit commit

svn path=/branches/reactos-yarotows/; revision=46925
This commit is contained in:
Jérôme Gardou 2010-04-18 17:33:03 +00:00
parent 11131896db
commit 4cc8e60093
2 changed files with 20 additions and 16 deletions

View file

@ -142,13 +142,9 @@ IntEngPaint(IN SURFOBJ *pso,
{
// Call the driver's DrvPaint
SURFACE_LockBitmapBits(psurf);
MouseSafetyOnDrawStart(pso, ClipRegion->rclBounds.left,
ClipRegion->rclBounds.top, ClipRegion->rclBounds.right,
ClipRegion->rclBounds.bottom);
ret = GDIDEVFUNCS(pso).Paint(
pso, ClipRegion, Brush, BrushOrigin, Mix);
MouseSafetyOnDrawEnd(pso);
SURFACE_UnlockBitmapBits(psurf);
return ret;
}

View file

@ -2299,6 +2299,9 @@ NtGdiFillPath(HDC hDC)
if (pdcattr->ulDirty_ & (DIRTY_FILL | DC_BRUSH_DIRTY))
DC_vUpdateFillBrush(dc);
DC_vPrepareDCsForBlit(dc, dc->rosdc.CombinedClip->rclBounds,
NULL, dc->rosdc.CombinedClip->rclBounds);
ret = PATH_FillPath( dc, pPath );
if ( ret )
{
@ -2308,6 +2311,7 @@ NtGdiFillPath(HDC hDC)
}
PATH_UnlockPath( pPath );
DC_vFinishBlit(dc, NULL);
DC_UnlockDc ( dc );
return ret;
}
@ -2577,11 +2581,15 @@ NtGdiStrokeAndFillPath(HDC hDC)
if (pdcattr->ulDirty_ & (DIRTY_LINE | DC_PEN_DIRTY))
DC_vUpdateLineBrush(pDc);
DC_vPrepareDCsForBlit(dc, dc->rosdc.CombinedClip->rclBounds,
NULL, dc->rosdc.CombinedClip->rclBounds);
bRet = PATH_FillPath(pDc, pPath);
if (bRet) bRet = PATH_StrokePath(pDc, pPath);
if (bRet) PATH_EmptyPath(pPath);
PATH_UnlockPath( pPath );
DC_vFinishBlit(dc, NULL);
DC_UnlockDc(pDc);
return bRet;
}