summaryrefslogtreecommitdiff
path: root/src/radeon_exa_funcs.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-05-18 17:59:00 +0200
committerMichel Dänzer <daenzer@vmware.com>2009-05-18 17:59:00 +0200
commit1429133ffdbfe046249fcaaa4cbee432a1012e55 (patch)
treedb00d6a8bf30e203bdae2d621dbfd81aff8e8fbc /src/radeon_exa_funcs.c
parente9cca1e7dc521d3756bb2d97f1d703b9ad65cb47 (diff)
EXA: Set new EXA_SUPPORTS_OFFSCREEN_OVERLAPS flag when we have a 2D engine.
Diffstat (limited to 'src/radeon_exa_funcs.c')
-rw-r--r--src/radeon_exa_funcs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c
index be24668c..7a275655 100644
--- a/src/radeon_exa_funcs.c
+++ b/src/radeon_exa_funcs.c
@@ -482,6 +482,10 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen)
#ifdef EXA_SUPPORTS_PREPARE_AUX
info->accel_state->exa->flags |= EXA_SUPPORTS_PREPARE_AUX;
#endif
+#ifdef EXA_SUPPORTS_OFFSCREEN_OVERLAPS
+ /* The 2D engine supports overlapping memory areas */
+ info->accel_state->exa->flags |= EXA_SUPPORTS_OFFSCREEN_OVERLAPS;
+#endif
info->accel_state->exa->pixmapOffsetAlign = RADEON_BUFFER_ALIGN + 1;
info->accel_state->exa->pixmapPitchAlign = 64;