summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-03-10 16:53:11 +0900
committerMichel Dänzer <michel@daenzer.net>2015-03-17 11:00:39 +0900
commit64e1e4dbdd3caee6f5d8f6b6c094b4533fa94953 (patch)
tree7355989725cd54119e5ba9d536d49488e2a0a658 /src/radeon.h
parent69ae0194778fe4276895839db92383f63f0b5de4 (diff)
Add DRI3 support v2
Must be enabled with Option "DRI3" in xorg.conf. v2: Adapt to v2 of patches 11/12. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 9346fbd6..6084cfed 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -150,6 +150,7 @@ typedef enum {
OPTION_ZAPHOD_HEADS,
OPTION_SWAPBUFFERS_WAIT,
OPTION_DELETE_DP12,
+ OPTION_DRI3,
} RADEONOpts;
@@ -549,6 +550,9 @@ extern Bool RADEONGetDatatypeBpp(int bpp, uint32_t *type);
extern Bool RADEONGetPixmapOffsetPitch(PixmapPtr pPix,
uint32_t *pitch_offset);
+/* radeon_dri3.c */
+Bool radeon_dri3_screen_init(ScreenPtr screen);
+
/* radeon_present.c */
Bool radeon_present_screen_init(ScreenPtr screen);