summaryrefslogtreecommitdiff
path: root/src/sna/sna.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-02-11 11:05:02 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-02-11 11:17:05 +0000
commit58b61bcd02467d2b08b2dd194ab6884437b83fa6 (patch)
treecb952ecd0ae2f2856d7e47b8b890cd8a8c45423a /src/sna/sna.h
parenta13f806ae28459a5cf671ccbf9cc8725f541a4ba (diff)
sna/dri: Tighten the assertions that we have one DRI2Buffer per Pixmap
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r--src/sna/sna.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h
index b470c48a..a51e6a11 100644
--- a/src/sna/sna.h
+++ b/src/sna/sna.h
@@ -118,8 +118,6 @@ struct sna_pixmap {
uint32_t stride;
uint32_t clear_color;
- uint32_t flush;
-
#define SOURCE_BIAS 4
uint16_t source_count;
uint8_t pinned :3;
@@ -128,6 +126,7 @@ struct sna_pixmap {
#define PIN_PRIME 0x4
uint8_t create :4;
uint8_t mapped :1;
+ uint8_t flush :1;
uint8_t shm :1;
uint8_t clear :1;
uint8_t header :1;