Author: tkreuzer
Date: Wed Dec 31 17:10:59 2014
New Revision: 65921
URL: http://svn.reactos.org/svn/reactos?rev=65921&view=rev
Log:
[WIN32K]
Use the correct flags member in the DC to mark the RAO region dirty.
Modified:
trunk/reactos/win32ss/gdi/ntgdi/dcobjs.c
Modified: trunk/reactos/win32ss/gdi/ntgdi/dcobjs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/dcobjs.c…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/dcobjs.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/dcobjs.c [iso-8859-1] Wed Dec 31 17:10:59 2014
@@ -470,8 +470,9 @@
SURFACE_ShareUnlockSurface(psurfOld);
}
- /* Mark the DC brushes invalid */
- pdc->pdcattr->ulDirty_ |= DIRTY_FILL | DIRTY_LINE | DC_FLAG_DIRTY_RAO;
+ /* Mark the DC brushes and the RAO region invalid */
+ pdc->pdcattr->ulDirty_ |= DIRTY_FILL | DIRTY_LINE;
+ pdc->fs |= DC_FLAG_DIRTY_RAO;
/* Update the system region */
REGION_SetRectRgn(pdc->prgnVis,
Author: tkreuzer
Date: Wed Dec 31 15:15:39 2014
New Revision: 65918
URL: http://svn.reactos.org/svn/reactos?rev=65918&view=rev
Log:
[WIN32K]
Fix calculation of the source point in EngCopyBits for complex clipping regions. One might assume that this function is so essential, that it would do at least the most basic stuff correctly, but ...
Modified:
trunk/reactos/win32ss/gdi/eng/copybits.c
Modified: trunk/reactos/win32ss/gdi/eng/copybits.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/eng/copybits.c…
==============================================================================
--- trunk/reactos/win32ss/gdi/eng/copybits.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/eng/copybits.c [iso-8859-1] Wed Dec 31 15:15:39 2014
@@ -146,8 +146,8 @@
{
RECTL_bIntersectRect(&BltInfo.DestRect, prcl, DestRect);
- BltInfo.SourcePoint.x = SourcePoint->x + prcl->left - DestRect->left;
- BltInfo.SourcePoint.y = SourcePoint->y + prcl->top - DestRect->top;
+ BltInfo.SourcePoint.x = SourcePoint->x + BltInfo.DestRect.left - DestRect->left;
+ BltInfo.SourcePoint.y = SourcePoint->y + BltInfo.DestRect.top - DestRect->top;
if (!DibFunctionsForBitmapFormat[psoDest->iBitmapFormat].DIB_BitBltSrcCopy(&BltInfo))
{
Author: pschweitzer
Date: Wed Dec 31 13:04:04 2014
New Revision: 65917
URL: http://svn.reactos.org/svn/reactos?rev=65917&view=rev
Log:
[FREELDR]
Display an error message with the file name in case we cannot get a file size over PXE.
This makes the error message "(../../boot/freeldr/freeldr/fs/pxe.c:107) err: PxeCall(0x25, 0000E8DE) failed with exit=1 status=0x1" in case of PXE boot less dramatic: it is expected not to find NTBOOTDD.SYS
Modified:
trunk/reactos/boot/freeldr/freeldr/fs/pxe.c
Modified: trunk/reactos/boot/freeldr/freeldr/fs/pxe.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/px…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/fs/pxe.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/fs/pxe.c [iso-8859-1] Wed Dec 31 13:04:04 2014
@@ -162,7 +162,11 @@
sizeData.ServerIPAddress = _ServerIP;
strncpy((CHAR*)sizeData.FileName, Path, sizeof(sizeData.FileName));
if (!CallPxe(PXENV_TFTP_GET_FSIZE, &sizeData))
+ {
+ ERR("Failed to get '%s' size\n", Path);
return EIO;
+ }
+
_FileSize = sizeData.FileSize;
if (_FileSize < 1024 * 1024)
{