summaryrefslogtreecommitdiff
path: root/src/radeon_glamor.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-11-10 17:31:52 +0900
committerMichel Dänzer <michel@daenzer.net>2015-11-17 12:21:53 +0900
commit535e5438b2c32f774b9c8c27ee0289b4749548ef (patch)
treee8087aed284d9fc5628bc1c3769e382b42672200 /src/radeon_glamor.h
parentdfb52777e43f3855476cff812d64de687a199674 (diff)
glamor: Restore all ScreenRec hooks during CloseScreen
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_glamor.h')
-rw-r--r--src/radeon_glamor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_glamor.h b/src/radeon_glamor.h
index 246336b1..75129f8c 100644
--- a/src/radeon_glamor.h
+++ b/src/radeon_glamor.h
@@ -64,6 +64,7 @@ struct radeon_pixmap;
Bool radeon_glamor_pre_init(ScrnInfoPtr scrn);
Bool radeon_glamor_init(ScreenPtr screen);
+void radeon_glamor_fini(ScreenPtr screen);
void radeon_glamor_screen_init(ScreenPtr screen);
Bool radeon_glamor_create_screen_resources(ScreenPtr screen);
void radeon_glamor_free_screen(int scrnIndex, int flags);
@@ -77,6 +78,7 @@ XF86VideoAdaptorPtr radeon_glamor_xv_init(ScreenPtr pScreen, int num_adapt);
static inline Bool radeon_glamor_pre_init(ScrnInfoPtr scrn) { return FALSE; }
static inline Bool radeon_glamor_init(ScreenPtr screen) { return FALSE; }
+static inline void radeon_glamor_fini(ScreenPtr screen) { }
static inline Bool radeon_glamor_create_screen_resources(ScreenPtr screen) { return FALSE; }
static inline void radeon_glamor_free_screen(int scrnIndex, int flags) { }