summaryrefslogtreecommitdiff
path: root/src/i830_exa.c
diff options
context:
space:
mode:
authorWang Zhenyu <zhenyu.z.wang@intel.com>2006-07-18 10:02:47 +0800
committerWang Zhenyu <zhenyu.z.wang@intel.com>2006-07-18 10:02:47 +0800
commit855a9f13cb7fd4f6c489ff280bf389475bbd9bbe (patch)
treeb59d098d7083c13e4e09c108468d6801e6d10eaa /src/i830_exa.c
parent04d1584737fd0d14e99608a97281fd7b1549ae0e (diff)
fallback in 'repeat' case for now
Diffstat (limited to 'src/i830_exa.c')
-rw-r--r--src/i830_exa.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/i830_exa.c b/src/i830_exa.c
index 83601dc3..40f68683 100644
--- a/src/i830_exa.c
+++ b/src/i830_exa.c
@@ -340,8 +340,10 @@ I830EXAUploadToScreen(PixmapPtr pDst, int x, int y, int w, int h,
I830Sync(pScrn);
+#ifdef I830DEBUG
ErrorF("Up->Screen: dst offset 0x%x, dst pitch %d, x %d, y %d, src %p, src pitch %d\n",
dst_offset, dst_pitch, x, y, src, src_pitch);
+#endif
#ifndef UPLOAD_USE_BLIT
dst = pI830->FbBase + dst_offset + y*dst_pitch +
x* (pDst->drawable.bitsPerPixel/8);
@@ -403,8 +405,10 @@ I830EXADownloadFromScreen(PixmapPtr pSrc, int x, int y, int w, int h,
I830Sync(pScrn);
+#ifdef I830DEBUG
ErrorF("Screen->Mem: src offset 0x%x, src %p, src pitch %d, x %d, y %d, dst %p, dst_pitch %d\n",
src_offset, src, src_pitch, x, y, dst, dst_pitch);
+#endif
w *= pSrc->drawable.bitsPerPixel/8;
while(h--) {
memcpy(dst, src, w);
@@ -426,7 +430,7 @@ IntelEXAComposite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY,
PictVector v;
int pMask = 1;
-ErrorF("Composite: srcX %d, srcY %d\n\t maskX %d, maskY %d\n\t"
+ DPRINTF(PFX, "Composite: srcX %d, srcY %d\n\t maskX %d, maskY %d\n\t"
"dstX %d, dstY %d\n\twidth %d, height %d\n\t"
"src_scale_x %f, src_scale_y %f, mask_scale_x %f, mask_scale_y %f\n""\tdx0 %d, dy0 %x, dx1 %d dy1 %x\n",
srcX, srcY, maskX, maskY, dstX, dstY, w, h,
@@ -472,7 +476,7 @@ ErrorF("Composite: srcX %d, srcY %d\n\t maskX %d, maskY %d\n\t"
maskXend = xFixedToInt(v.vector[0]);
maskYend = xFixedToInt(v.vector[1]);
}
-DPRINTF(PFX, "After transform: srcX %d, srcY %d,srcXend %d, srcYend %d\n\t"
+ DPRINTF(PFX, "After transform: srcX %d, srcY %d,srcXend %d, srcYend %d\n\t"
"maskX %d, maskY %d, maskXend %d, maskYend %d\n\t"
"dstX %d, dstY %d\n", srcX, srcY, srcXend, srcYend,
maskX, maskY, maskXend, maskYend, dstX, dstY);