Alexandre Julliard : winex11: Add some tracing to AlphaBlend.
Alexandre Julliard
julliard at winehq.org
Sun Apr 25 20:01:47 CDT 2010
Module: wine
Branch: master
Commit: f0460e3cfde240c0bd775725edad57a05f2ac938
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f0460e3cfde240c0bd775725edad57a05f2ac938
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Apr 22 20:48:17 2010 +0200
winex11: Add some tracing to AlphaBlend.
---
dlls/winex11.drv/bitblt.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/bitblt.c b/dlls/winex11.drv/bitblt.c
index 94620df..653e418 100644
--- a/dlls/winex11.drv/bitblt.c
+++ b/dlls/winex11.drv/bitblt.c
@@ -1691,6 +1691,12 @@ BOOL CDECL X11DRV_AlphaBlend( X11DRV_PDEVICE *physDevDst, INT xDst, INT yDst, IN
if (!BITBLT_GetVisRectangles( physDevDst, physDevSrc, &dst, &src )) return TRUE;
+ TRACE( "format %x alpha %u rectdst=%d,%d %dx%d orgdst=%d,%d visdst=%s rectsrc=%d,%d %dx%d orgsrc=%d,%d vissrc=%s\n",
+ blendfn.AlphaFormat, blendfn.SourceConstantAlpha, dst.x, dst.y, dst.width, dst.height,
+ physDevDst->dc_rect.left, physDevDst->dc_rect.top, wine_dbgstr_rect( &dst.visrect ),
+ src.x, src.y, src.width, src.height,
+ physDevSrc->dc_rect.left, physDevSrc->dc_rect.top, wine_dbgstr_rect( &src.visrect ) );
+
if (src.x < 0 || src.y < 0 || src.width < 0 || src.height < 0 ||
src.width > physDevSrc->drawable_rect.right - physDevSrc->drawable_rect.left - src.x ||
src.height > physDevSrc->drawable_rect.bottom - physDevSrc->drawable_rect.top - src.y)
More information about the wine-cvs
mailing list