summaryrefslogtreecommitdiff
path: root/src/sna/sna.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-06-15 21:42:10 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-16 07:00:40 +0100
commit243bd26ad31776b2dc45563107e669cf7b45fd91 (patch)
treec17effd0074708980f71864364cfd583d7f106a8 /src/sna/sna.h
parent500e77d765580e8581c95117b941a4daa940c21e (diff)
sna: Clear our private hints about front rendering exported bo
Unlike GLXWindows, GLXPixmaps are rendered directly into, without a staging copy. Therefore we must treat those carefully when exported and clear our hints everytime control passes back to the Client. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79999 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r--src/sna/sna.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h
index a532b4af..76869444 100644
--- a/src/sna/sna.h
+++ b/src/sna/sna.h
@@ -148,7 +148,7 @@ struct sna_pixmap {
uint32_t clear_color;
#define SOURCE_BIAS 4
- uint16_t source_count;
+ uint8_t source_count;
uint8_t pinned :4;
#define PIN_SCANOUT 0x1
#define PIN_DRI2 0x2
@@ -159,7 +159,7 @@ struct sna_pixmap {
#define MAPPED_NONE 0
#define MAPPED_GTT 1
#define MAPPED_CPU 2
- uint8_t flush :1;
+ uint8_t flush :2;
uint8_t shm :1;
uint8_t clear :1;
uint8_t header :1;