summaryrefslogtreecommitdiff
path: root/src/evergreen_state.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-10-04 12:34:47 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-10-04 12:38:41 -0400
commit0921ecc1c751df0dd56e0b1d0b78ab53d7164904 (patch)
treeaf46f93ea14420ebeb9d9cd9b4da7e029fc30572 /src/evergreen_state.h
parent5bdb6434975584eef90eb9e5955b9c2a14b7f327 (diff)
evergreen: use EXACreatePixmap2 if available
Diffstat (limited to 'src/evergreen_state.h')
-rw-r--r--src/evergreen_state.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/evergreen_state.h b/src/evergreen_state.h
index 5869256e..7e49164b 100644
--- a/src/evergreen_state.h
+++ b/src/evergreen_state.h
@@ -331,6 +331,9 @@ EVERGREENSetAccelState(ScrnInfoPtr pScrn,
extern Bool RADEONPrepareAccess_CS(PixmapPtr pPix, int index);
extern void RADEONFinishAccess_CS(PixmapPtr pPix, int index);
extern void *RADEONEXACreatePixmap(ScreenPtr pScreen, int size, int align);
+extern void *RADEONEXACreatePixmap2(ScreenPtr pScreen, int width, int height,
+ int depth, int usage_hint, int bitsPerPixel,
+ int *new_pitch);
extern void RADEONEXADestroyPixmap(ScreenPtr pScreen, void *driverPriv);
extern struct radeon_bo *radeon_get_pixmap_bo(PixmapPtr pPix);
extern Bool RADEONEXAPixmapIsOffscreen(PixmapPtr pPix);