summaryrefslogtreecommitdiff
path: root/drv/impedgc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drv/impedgc.c')
-rw-r--r--drv/impedgc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drv/impedgc.c b/drv/impedgc.c
index 574e3e0a5..db3f07855 100644
--- a/drv/impedgc.c
+++ b/drv/impedgc.c
@@ -606,6 +606,9 @@ impedCopyNtoN (DrawablePtr pSrcDrawable,
impedGetDrawableDeltas(pSrcDrawable, pSrcPixmap, &src_x_off, &src_y_off);
impedGetDrawableDeltas(pDstDrawable, pDstPixmap, &dst_x_off, &dst_y_off);
+
+ fprintf(stderr,"copy: %d/%d %d %d %d %d\n", pSrcDrawable->type, pDstDrawable->type, src_x_off, src_y_off, dst_x_off, dst_y_off);
+ fprintf(stderr,"dx is %d dy is %d\n", dx, dy);
/* copy already takes care of the pixmap clipping */
//dx += pDstPixmap->screen_x - pSrcPixmap->screen_x;
//dy += pDstPixmap->screen_y - pSrcPixmap->screen_y;
@@ -622,6 +625,7 @@ impedCopyNtoN (DrawablePtr pSrcDrawable,
}
#endif
+ fprintf(stderr,"dx is %d dy is %d (%d %d %d %d)\n", dx, dy, pbox[0].x1, pbox[0].x2, pbox[0].y1, pbox[0].y2);
for (i = 0; i < imped_src_screen->num_gpu; i++) {
copy = imped_src_screen->gpu[i]->GetCopyAreaFunction(imped_src_pixmap->gpu[i], imped_dst_pixmap->gpu[i]);
@@ -647,6 +651,10 @@ impedCopyArea (DrawablePtr pSrcDrawable,
int xOut,
int yOut)
{
+
+ fprintf(stderr,"%p -> %p: (%d,%d)(%d,%d)->(%d,%d)\n",
+ pSrcDrawable, pDstDrawable, xIn, yIn,
+ widthSrc, heightSrc, xOut, yOut);
return miDoCopy(pSrcDrawable,
pDstDrawable,
pGC, xIn, yIn,