summaryrefslogtreecommitdiff
path: root/src/lx_memory.c
AgeCommit message (Collapse)Author
2010-08-06Fix rotation with newer Xserver versions (exaOffscreenAlloc)Hunk Cui
*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>
2008-12-09xf86-video-geode: fix up cursor size (again)Andres Salomon
The geode hardware (and cimarron) expects cursor memory size to be 48x64, and cimarron will zero out the excess when a smaller cursor is used. It would be nice to be able to use the full cursor size, but xorg's interleaving stuff requires a cursor width that's a multiple of 32. Thus, we're stuck back at 32x32 for cursor size, but we allocate enough memory for a 48x64 cursor. This fixes misc interleaving corruption that we see with 2bpp cursors (when converting to ARGB). Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-11-26xf86-video-geode: change cursor size to match cimarronAndres Salomon
When we use ARGB cursors and rotate the screen, we get double cursors and stale cursor data left over. This is because cimarron expects a cursor that is smaller than or equal to 48x64, but hardcodes a memory shift of 192 bytes (4*48). This means that if we have a 32x64 cursor, cimarron screws it up. Change the cursor size to 48x64. Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-11-18LX: Change the way EXA memory is allocatedJordan Crouse
Change how EXA memory is allocated to better allow for EXA + video + rotation to co-exist on the system. Change the video to only allocate memory when it needs it. Also, automatically disable compression when there is less then 16Mb of memory.
2008-11-18LX: Fix the memory allocated by the video so it failsJordan Crouse
when there isn't enough memory.
2008-11-18LX: Fix a bug in the memory allocatorJordan Crouse
2008-10-07geode: Move the hardware cursor support to full ARGB modeJordan Crouse
2008-08-25[LX] - RandR 1.2 updatesJordan Crouse
Remove a flag that was making EXA pixmaps break horribly. Also, Make the new code compile for Hardy and warning cleanups.
2008-08-18lx: Add rotation for Randr 1.2 + cleanupsJordan Crouse
Enable rotation through RandR 1.2 and add the accelerated rotation blit the EXA composite function. Also, fix a handful of critical bugs and remove some more dead code.
2008-08-07[LX] - Add RandR 1.2 supportJordan Crouse
A wholesale update to Randr 1.2 for LX accompanied by massive cleanup.