Author: fireball Date: Wed Jul 29 17:42:53 2009 New Revision: 42289
URL: http://svn.reactos.org/svn/reactos?rev=42289&view=rev Log: - Silence most of debug warnings. Only errors should have DPRINT1 now.
Modified: branches/arwinss/reactos/subsystems/win32/win32k/gdi/bitmap.c branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c
Modified: branches/arwinss/reactos/subsystems/win32/win32k/gdi/bitmap.c URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win32... ============================================================================== --- branches/arwinss/reactos/subsystems/win32/win32k/gdi/bitmap.c [iso-8859-1] (original) +++ branches/arwinss/reactos/subsystems/win32/win32k/gdi/bitmap.c [iso-8859-1] Wed Jul 29 17:42:53 2009 @@ -29,7 +29,7 @@ BOOLEAN bRes; PDC pSrc, pDst;
- DPRINT1("BitBlt %x -> %x\n", physDevSrc, physDevDst); + DPRINT("BitBlt %x -> %x\n", physDevSrc, physDevDst);
/* Get a pointer to the DCs */ pSrc = GDI_GetObjPtr(physDevSrc, (SHORT)GDI_OBJECT_TYPE_DC); @@ -206,7 +206,7 @@ /* Get a pointer to the DCs */ pDC = GDI_GetObjPtr(physDev, (SHORT)GDI_OBJECT_TYPE_DC);
- DPRINT1("RosGdiSetDIBits for bitmap %x (user handle %x), StartScan %d, ScanLines %d\n", + DPRINT("RosGdiSetDIBits for bitmap %x (user handle %x), StartScan %d, ScanLines %d\n", hBitmap, hUserBitmap, StartScan, ScanLines);
/* Set the bits */
Modified: branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win32... ============================================================================== --- branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c [iso-8859-1] (original) +++ branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c [iso-8859-1] Wed Jul 29 17:42:53 2009 @@ -113,12 +113,12 @@ /* Check if it's a compatible DC */ if (*pdev) { - DPRINT1("Creating a compatible with %x DC!\n", *pdev); + DPRINT("Creating a compatible with %x DC!\n", *pdev); }
if (dc->dwType == OBJ_MEMDC) { - DPRINT1("Creating a memory DC %x\n", hNewDC); + DPRINT("Creating a memory DC %x\n", hNewDC); slSize.cx = 1; slSize.cy = 1; hStockBitmap = GreCreateBitmap(slSize, 1, 1, 0, NULL); pNewDC->pBitmap = GDI_GetObjPtr(hStockBitmap, (SHORT)GDI_OBJECT_TYPE_BITMAP); @@ -130,7 +130,7 @@ } else { - DPRINT1("Creating a display DC %x\n", hNewDC); + DPRINT("Creating a display DC %x\n", hNewDC); pNewDC->pBitmap = GDI_GetObjPtr(PrimarySurface.pSurface, (SHORT)GDI_OBJECT_TYPE_BITMAP);
/* Set DC rectangles */ @@ -195,6 +195,8 @@ slSize.cx = 1; slSize.cy = 1; hBmpKern = GreCreateBitmap(slSize, 1, 1, 0, NULL); } + + DPRINT("Selecting %x bitmap to hdc %x\n", hBmpKern, physDev);
/* Get a pointer to the DC and the bitmap*/ pDC = GDI_GetObjPtr(physDev, (SHORT)GDI_OBJECT_TYPE_DC); @@ -246,7 +248,7 @@ break;
case BS_HATCHED: - DPRINT("BS_HATCHED\n" ); + DPRINT1("BS_HATCHED\n" ); //GreCreateHatchedBrush(); UNIMPLEMENTED; break;