summaryrefslogtreecommitdiff
path: root/src/intel.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-03-09 08:27:02 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-03-09 08:37:02 +0000
commit049ce4397ddf7fd088ce364cbb53cacf5133176f (patch)
tree18ba8567e79a818d85af8676179dce5e178cacab /src/intel.h
parent0bb1a5f19e09dc553761ddd90bf6319eab94a597 (diff)
Give each user of tiling separate xorg.conf options
So that you can indeed allocate a linear framebuffer if you so desire without breaking mesa. Adds: Section "Driver" Option "LinearFramebuffer" "False|True" # default false EndSection to xorg.conf Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel.h')
-rw-r--r--src/intel.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/intel.h b/src/intel.h
index 4c755fc9..d2a553f1 100644
--- a/src/intel.h
+++ b/src/intel.h
@@ -297,7 +297,12 @@ typedef struct intel_screen_private {
Bool need_mi_flush;
- Bool tiling;
+ unsigned int tiling;
+#define INTEL_TILING_FB 0x1
+#define INTEL_TILING_2D 0x2
+#define INTEL_TILING_3D 0x4
+#define INTEL_TILING_ALL (~0)
+
Bool swapbuffers_wait;
Bool has_relaxed_fencing;