diff options
author | Hunk Cui <Hunk.Cui@amd.com> | 2010-07-12 13:17:18 +0800 |
---|---|---|
committer | Martin-Éric Racine <q-funk@iki.fi> | 2010-08-06 17:35:40 +0300 |
commit | 8a61ef8f9f6b9dac6804754572250e59d80bdf06 (patch) | |
tree | 930f35eec5aa6ba5d1303f235b01ca2daa390652 /src/geode.h | |
parent | 2bcbc0b64091218d348ad9f699370e4bfde3948b (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.h | 2 |
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; |