summaryrefslogtreecommitdiff
path: root/src/i830_exa.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-09-07 10:24:23 -0700
committerEric Anholt <eric@anholt.net>2006-09-07 10:24:23 -0700
commit4ad577f83f7190df4d64e66fbf7c515ee6f411ce (patch)
tree69118aebc7be23c13a240add976b0dc6769cbbee /src/i830_exa.c
parentc378328ece701756ddca966eb108e2b1f5c3ed6c (diff)
Remove the UTS/DFS implementations that just match the fallback versions.
Diffstat (limited to 'src/i830_exa.c')
-rw-r--r--src/i830_exa.c64
1 files changed, 0 insertions, 64 deletions
diff --git a/src/i830_exa.c b/src/i830_exa.c
index bb75b24a..0829c345 100644
--- a/src/i830_exa.c
+++ b/src/i830_exa.c
@@ -112,11 +112,6 @@ union intfloat {
Bool is_transform[2];
PictTransform *transform[2];
-Bool i830UploadToScreen(PixmapPtr pDst, int x, int y, int w, int h,
- char *src, int src_pitch);
-Bool i830DownloadFromScreen(PixmapPtr pSrc, int x, int y, int w, int h,
- char *dst, int dst_pitch);
-
extern Bool I830EXACheckComposite(int, PicturePtr, PicturePtr, PicturePtr);
extern Bool I830EXAPrepareComposite(int, PicturePtr, PicturePtr, PicturePtr,
PixmapPtr, PixmapPtr, PixmapPtr);
@@ -325,61 +320,6 @@ I830EXADoneCopy(PixmapPtr pDstPixmap)
return;
}
-static Bool
-I830EXAUploadToScreen(PixmapPtr pDst, int x, int y, int w, int h,
- char *src, int src_pitch)
-{
- ScrnInfoPtr pScrn = xf86Screens[pDst->drawable.pScreen->myNum];
- I830Ptr pI830 = I830PTR(pScrn);
- int dst_pitch = exaGetPixmapPitch(pDst);
- int dst_offset = exaGetPixmapOffset(pDst);
- unsigned char *dst;
-
- 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
- dst = pI830->FbBase + dst_offset + y*dst_pitch +
- x* (pDst->drawable.bitsPerPixel/8);
- w *= pDst->drawable.bitsPerPixel/8;
- while(h--) {
- memcpy(dst, src, w);
- src += src_pitch;
- dst += dst_pitch;
- }
-
- return TRUE;
-}
-
-static Bool
-I830EXADownloadFromScreen(PixmapPtr pSrc, int x, int y, int w, int h,
- char *dst, int dst_pitch)
-{
- ScrnInfoPtr pScrn = xf86Screens[pSrc->drawable.pScreen->myNum];
- I830Ptr pI830 = I830PTR(pScrn);
- int src_pitch = exaGetPixmapPitch(pSrc);
- int src_offset = exaGetPixmapOffset(pSrc);
- unsigned char *src = pI830->FbBase + src_offset + y*src_pitch +
- x*(pSrc->drawable.bitsPerPixel/8);
-
- 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);
- src += src_pitch;
- dst += dst_pitch;
- }
-
- return TRUE;
-}
-
static void
IntelEXAComposite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY,
int dstX, int dstY, int w, int h)
@@ -578,10 +518,6 @@ I830EXAInit(ScreenPtr pScreen)
pI830->EXADriverPtr->DoneComposite = IntelEXADoneComposite;
}
- /* Upload, download to/from Screen, experimental!! */
- pI830->EXADriverPtr->UploadToScreen = I830EXAUploadToScreen;
- pI830->EXADriverPtr->DownloadFromScreen = I830EXADownloadFromScreen;
-
if(!exaDriverInit(pScreen, pI830->EXADriverPtr)) {
xfree(pI830->EXADriverPtr);
pI830->noAccel = TRUE;