Huw Davies : gdi32: Move a couple of TRACEs to the beginning of functions.
Alexandre Julliard
julliard at winehq.org
Tue May 13 14:10:33 CDT 2008
Module: wine
Branch: master
Commit: 68420896eb1ff57ba7bd9736310c0aa76ef29115
URL: http://source.winehq.org/git/wine.git/?a=commit;h=68420896eb1ff57ba7bd9736310c0aa76ef29115
Author: Huw Davies <huw at codeweavers.com>
Date: Tue May 13 11:48:24 2008 +0100
gdi32: Move a couple of TRACEs to the beginning of functions.
---
dlls/gdi32/bitblt.c | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/dlls/gdi32/bitblt.c b/dlls/gdi32/bitblt.c
index e91ae53..813deff 100644
--- a/dlls/gdi32/bitblt.c
+++ b/dlls/gdi32/bitblt.c
@@ -65,6 +65,9 @@ BOOL WINAPI BitBlt( HDC hdcDst, INT xDst, INT yDst, INT width,
BOOL ret = FALSE;
DC *dcDst, *dcSrc;
+ TRACE("hdcSrc=%p %d,%d -> hdcDest=%p %d,%d %dx%d rop=%06x\n",
+ hdcSrc, xSrc, ySrc, hdcDst, xDst, yDst, width, height, rop);
+
if (!(dcDst = get_dc_ptr( hdcDst ))) return FALSE;
if (dcDst->funcs->pBitBlt)
@@ -72,8 +75,6 @@ BOOL WINAPI BitBlt( HDC hdcDst, INT xDst, INT yDst, INT width,
update_dc( dcDst );
dcSrc = get_dc_ptr( hdcSrc );
if (dcSrc) update_dc( dcSrc );
- TRACE("hdcSrc=%p %d,%d -> hdcDest=%p %d,%d %dx%d rop=%06x\n",
- hdcSrc, xSrc, ySrc, hdcDst, xDst, yDst, width, height, rop);
ret = dcDst->funcs->pBitBlt( dcDst->physDev, xDst, yDst, width, height,
dcSrc ? dcSrc->physDev : NULL, xSrc, ySrc, rop );
@@ -143,6 +144,11 @@ BOOL WINAPI StretchBlt( HDC hdcDst, INT xDst, INT yDst,
BOOL ret = FALSE;
DC *dcDst, *dcSrc;
+ TRACE("%p %d,%d %dx%d -> %p %d,%d %dx%d rop=%06x\n",
+ hdcSrc, xSrc, ySrc, widthSrc, heightSrc,
+ hdcDst, xDst, yDst, widthDst, heightDst, rop );
+
+
if (!(dcDst = get_dc_ptr( hdcDst ))) return FALSE;
if (dcDst->funcs->pStretchBlt)
@@ -152,10 +158,6 @@ BOOL WINAPI StretchBlt( HDC hdcDst, INT xDst, INT yDst,
update_dc( dcDst );
update_dc( dcSrc );
- TRACE("%p %d,%d %dx%d -> %p %d,%d %dx%d rop=%06x\n",
- hdcSrc, xSrc, ySrc, widthSrc, heightSrc,
- hdcDst, xDst, yDst, widthDst, heightDst, rop );
-
ret = dcDst->funcs->pStretchBlt( dcDst->physDev, xDst, yDst, widthDst, heightDst,
dcSrc->physDev, xSrc, ySrc, widthSrc, heightSrc,
rop );
More information about the wine-cvs
mailing list