diff options
author | Hunk Cui <Hunk.Cui@amd.com> | 2010-10-13 18:26:52 +0800 |
---|---|---|
committer | Martin-Éric Racine <q-funk@iki.fi> | 2010-10-20 08:20:13 +0300 |
commit | 5e72a00ad26f2052bb48fef041d6fbd14ba18153 (patch) | |
tree | 17423d3f0fd88ef641da75d729bcfcb93c7c0f54 /src/lx_memory.c | |
parent | 334534cde47f1ffe126e4e665988480fc57a7307 (diff) |
Allocate video memory with exaOffscreenAlloc
*Del for deduct the probable size of a video overlay.
*Use exaOffscreenAlloc allocate the video overlay.
*Use exaOffscreenAlloc allocate the offscreen surface.
*XV-video data has to be allocate in offscreen memory range.
Signed-off-by: Hunk Cui <Hunk.Cui@amd.com>
Diffstat (limited to 'src/lx_memory.c')
-rw-r--r-- | src/lx_memory.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lx_memory.c b/src/lx_memory.c index 3de7886..d833caa 100644 --- a/src/lx_memory.c +++ b/src/lx_memory.c @@ -247,9 +247,6 @@ LXInitOffscreen(ScrnInfoPtr pScrni) /* Get the amount of offscreen memory still left */ size = GeodeOffscreenFreeSize(pGeode); - /* Deduct the maxmimum size of a video overlay */ - size -= 0x200000; - /* Align the size to a K boundary */ size &= ~1023; |