summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 06c76891..7ed39f89 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -72,9 +72,10 @@
/* DRI support */
#ifdef XF86DRI
#define _XF86DRI_SERVER_
-#include "radeon_dripriv.h"
#include "dri.h"
#include "GL/glxint.h"
+#include "xf86drm.h"
+
#ifdef DAMAGE
#include "damage.h"
#include "globals.h"
@@ -434,6 +435,21 @@ struct radeon_cp {
};
+typedef struct {
+ /* Nothing here yet */
+ int dummy;
+} RADEONConfigPrivRec, *RADEONConfigPrivPtr;
+
+typedef struct {
+#ifdef PER_CONTEXT_SAREA
+ drm_context_t ctx_id;
+ drm_handle_t sarea_handle;
+#else
+ /* Nothing here yet */
+ int dummy;
+#endif
+} RADEONDRIContextRec, *RADEONDRIContextPtr;
+
struct radeon_dri {
Bool noBackBuffer;