diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-03-09 08:27:02 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-03-09 08:37:02 +0000 |
commit | 049ce4397ddf7fd088ce364cbb53cacf5133176f (patch) | |
tree | 18ba8567e79a818d85af8676179dce5e178cacab /src/intel.h | |
parent | 0bb1a5f19e09dc553761ddd90bf6319eab94a597 (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.h | 7 |
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; |