summaryrefslogtreecommitdiff
path: root/src/radeon_glamor.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-03-18 12:30:09 +0900
committerMichel Dänzer <michel@daenzer.net>2015-03-18 12:30:09 +0900
commit4b0997e56dec0053cb2cb793e0f4ae35055ff7e6 (patch)
treea5b8b9b8de32f9e753539174e69d5a7aec164dcd /src/radeon_glamor.h
parentaf1862a37570fa512a525ab47d72b30400d2e2d6 (diff)
glamor: Add glamor_fd_from_pixmap define for standalone glamor tree
Diffstat (limited to 'src/radeon_glamor.h')
-rw-r--r--src/radeon_glamor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_glamor.h b/src/radeon_glamor.h
index c402a10a..f450f0ee 100644
--- a/src/radeon_glamor.h
+++ b/src/radeon_glamor.h
@@ -35,6 +35,10 @@
#include "radeon_surface.h"
+#ifndef GLAMOR_NO_DRI3
+#define glamor_fd_from_pixmap glamor_dri3_fd_from_pixmap
+#endif
+
Bool radeon_glamor_pre_init(ScrnInfoPtr scrn);
Bool radeon_glamor_init(ScreenPtr screen);
Bool radeon_glamor_create_screen_resources(ScreenPtr screen);