summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2008-07-10 22:47:35 -0400
committerAlex Deucher <alexdeucher@gmail.com>2008-08-25 09:46:38 -0400
commit610fe1a937da78f4ac813ac919c158dde8f42442 (patch)
treef45f5358e11cc634f8b53f490eb6b15a87f0d527 /src/radeon.h
parenta6561f2ec673b38907f7181235386f32e60c32ba (diff)
Switch to using radeon_drm.h from the drm
modelled after Matthias' similar rhd change
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;