summaryrefslogtreecommitdiff
path: root/src/radeon_exa_funcs.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-02-27 17:05:01 +0100
committerMichel Dänzer <daenzer@vmware.com>2009-02-27 17:05:01 +0100
commitc7d344f0ad255761d5ae30da59cf0a8b532dfc68 (patch)
tree38fb4dc8a4a54c69f4db530b222a625de1952aff /src/radeon_exa_funcs.c
parentf4d57105fc869e9318f447a1514f1b284a0a4ec0 (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.c3
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;