mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 05:37:44 +00:00
[WIN32K]
- The last DC_vPrepareForBlit/DC_vFinishBlit commit svn path=/branches/reactos-yarotows/; revision=46925
This commit is contained in:
parent
11131896db
commit
4cc8e60093
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue