From c7d344f0ad255761d5ae30da59cf0a8b532dfc68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Fri, 27 Feb 2009 17:05:01 +0100 Subject: 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. --- src/radeon_exa_funcs.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/radeon_exa_funcs.c') 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; -- cgit v1.2.3