diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2006-07-03 00:03:22 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2006-07-03 00:03:22 +0200 |
commit | ea5105230c7c3519730b8d3c250e9ba9a4e4374a (patch) | |
tree | 82d48a72830f10c749b7b5af58ca33f17d80e03c /src/radeon_dri.c | |
parent | 66586f905857ea5bf37cb5d34949cd450a9ed067 (diff) |
Reserve HW cursor memory statically instead of from EXA offscreen.
As a result, quite a bit of code can be removed that attempted to deal with the
EXA offscreen memory disappearing, with varying success. Because the HW cursor
memory is now always immediately after the front buffer and before the back
buffer, this also fixes bug #6808.
As the HW cursor memory is now reserved statically with EXA and XAA, change
RADEONUseHWCursor() to check info->cursor instead of info->cursor_offset, for
which 0 might become valid with HW cursor enabled in the future.
Change info->cursor_offset from unsigned long to CARD32 as the corresponding
register is 32 bits wide, and to avoid issues with printf.
Diffstat (limited to 'src/radeon_dri.c')
0 files changed, 0 insertions, 0 deletions