diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-05-22 10:46:39 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-05-22 10:46:39 +0200 |
commit | 9971fac87622c93503540196e1756fded3d4869e (patch) | |
tree | 74a7e63b5f964b021e5ab0f0bfae5ceb6b5735c4 /src/i830_exa.c | |
parent | 5390a2e2611950d3f48cc735df4a0c37bc5377a5 (diff) |
i830: Provide new DRI texOffsetStart hook when available with EXA.
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 |