diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-02-27 17:05:01 +0100 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2009-02-27 17:05:01 +0100 |
commit | c7d344f0ad255761d5ae30da59cf0a8b532dfc68 (patch) | |
tree | 38fb4dc8a4a54c69f4db530b222a625de1952aff /src/radeon_exa_funcs.c | |
parent | f4d57105fc869e9318f447a1514f1b284a0a4ec0 (diff) |
EXA: Make sure Prepare/FinishAccess hooks can handle EXA_PREPARE_AUX* indices.
And signal this to the EXA core using the new EXA_SUPPORTS_PREPARE_AUX flag.
Diffstat (limited to 'src/radeon_exa_funcs.c')
-rw-r--r-- | src/radeon_exa_funcs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c index eb16036c..59cb46fc 100644 --- a/src/radeon_exa_funcs.c +++ b/src/radeon_exa_funcs.c @@ -479,6 +479,9 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen) #endif /* X_BYTE_ORDER == X_BIG_ENDIAN */ info->accel_state->exa->flags = EXA_OFFSCREEN_PIXMAPS; +#ifdef EXA_SUPPORTS_PREPARE_AUX + info->accel_state->exa->flags |= EXA_SUPPORTS_PREPARE_AUX; +#endif info->accel_state->exa->pixmapOffsetAlign = RADEON_BUFFER_ALIGN + 1; info->accel_state->exa->pixmapPitchAlign = 64; |