summaryrefslogtreecommitdiff
path: root/src/geode.h
diff options
context:
space:
mode:
authorHunk Cui <Hunk.Cui@amd.com>2010-07-12 13:17:18 +0800
committerMartin-Éric Racine <q-funk@iki.fi>2010-08-06 17:35:40 +0300
commit8a61ef8f9f6b9dac6804754572250e59d80bdf06 (patch)
tree930f35eec5aa6ba5d1303f235b01ca2daa390652 /src/geode.h
parent2bcbc0b64091218d348ad9f699370e4bfde3948b (diff)
Fix rotation with newer Xserver versions (exaOffscreenAlloc)
*Del for deduct the probable size of a shadow buffer. *Use exaOffscreenAlloc allocate the shadow buffer. *Rotateeddata has to be allocate in offscreen memory range. *Ubuntu Bugzilla #377929 Signed-off-by: Hunk Cui <Hunk.Cui@amd.com>
Diffstat (limited to 'src/geode.h')
-rw-r--r--src/geode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/geode.h b/src/geode.h
index 8fe67b5..ad94a02 100644
--- a/src/geode.h
+++ b/src/geode.h
@@ -210,6 +210,8 @@ typedef struct _geodeRec
int Pitch; /* display FB pitch */
int displaySize; /* The size of the visibile area */
+ ExaOffscreenArea *shadowArea;
+
/* Framebuffer memory */
unsigned char *FBBase;