diff options
Diffstat (limited to 'src/i830_exa.c')
-rw-r--r-- | src/i830_exa.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/i830_exa.c b/src/i830_exa.c index ff21fbb6..88d1b97b 100644 --- a/src/i830_exa.c +++ b/src/i830_exa.c @@ -541,3 +541,19 @@ I830EXAInit(ScreenPtr pScreen) return TRUE; } + +#ifdef XF86DRI + +#ifndef ExaOffscreenMarkUsed +extern void ExaOffscreenMarkUsed(PixmapPtr); +#endif + +unsigned long long +I830TexOffsetStart(PixmapPtr pPix) +{ + exaMoveInPixmap(pPix); + ExaOffscreenMarkUsed(pPix); + + return exaGetPixmapOffset(pPix); +} +#endif |