diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-03-19 17:34:27 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-04-03 11:42:00 +0900 |
commit | 051d46382656ffc3e6cac1aab3aee7efdf5b623a (patch) | |
tree | 2228cb4edc0c03d7fbf5901397c36d6c73680793 /src/radeon_glamor.h | |
parent | 2fa021f77372ca93375a3d13a0c43a9089674899 (diff) |
glamor: Add radeon_pixmap parameter to radeon_glamor_create_textured_pixmap
Diffstat (limited to 'src/radeon_glamor.h')
-rw-r--r-- | src/radeon_glamor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/radeon_glamor.h b/src/radeon_glamor.h index e766bcc6..8010b4a6 100644 --- a/src/radeon_glamor.h +++ b/src/radeon_glamor.h @@ -51,12 +51,14 @@ #define GLAMOR_USE_PICTURE_SCREEN 0 #endif +struct radeon_pixmap; + Bool radeon_glamor_pre_init(ScrnInfoPtr scrn); Bool radeon_glamor_init(ScreenPtr screen); Bool radeon_glamor_create_screen_resources(ScreenPtr screen); void radeon_glamor_free_screen(int scrnIndex, int flags); -Bool radeon_glamor_create_textured_pixmap(PixmapPtr pixmap); +Bool radeon_glamor_create_textured_pixmap(PixmapPtr pixmap, struct radeon_pixmap *priv); void radeon_glamor_exchange_buffers(PixmapPtr src, PixmapPtr dst); XF86VideoAdaptorPtr radeon_glamor_xv_init(ScreenPtr pScreen, int num_adapt); @@ -68,7 +70,7 @@ static inline Bool radeon_glamor_init(ScreenPtr screen) { return FALSE; } static inline Bool radeon_glamor_create_screen_resources(ScreenPtr screen) { return FALSE; } static inline void radeon_glamor_free_screen(int scrnIndex, int flags) { } -static inline Bool radeon_glamor_create_textured_pixmap(PixmapPtr pixmap) { return TRUE; } +static inline Bool radeon_glamor_create_textured_pixmap(PixmapPtr pixmap, struct radeon_pixmap *priv) { return TRUE; } static inline void radeon_glamor_exchange_buffers(PixmapPtr src, PixmapPtr dst) {} |