projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d7fafa
)
radeon: fix the build with older drm headers
author
Alex Deucher
<alexdeucher@gmail.com>
Fri, 7 Aug 2009 20:20:26 +0000
(16:20 -0400)
committer
Alex Deucher
<alexdeucher@gmail.com>
Fri, 7 Aug 2009 20:20:26 +0000
(16:20 -0400)
src/mesa/drivers/dri/radeon/radeon_bo_drm.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_bo_drm.h
b/src/mesa/drivers/dri/radeon/radeon_bo_drm.h
index d52fb017d8afc1dd1c6b77a66fb2bae3ea657c35..427162d98f1254a4ff11316b1853d63b5feb7f17 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_bo_drm.h
+++ b/
src/mesa/drivers/dri/radeon/radeon_bo_drm.h
@@
-42,6
+42,12
@@
#define RADEON_BO_FLAGS_MACRO_TILE 1
#define RADEON_BO_FLAGS_MICRO_TILE 2
+#define RADEON_TILING_MACRO 0x1
+#define RADEON_TILING_MICRO 0x2
+#define RADEON_TILING_SWAP 0x4
+#define RADEON_TILING_SURFACE 0x8 /* this object requires a surface
+ * when mapped - i.e. front buffer */
+
struct radeon_bo_manager;
struct radeon_bo {