diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2006-12-19 11:28:21 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2006-12-19 11:28:21 +0100 |
commit | 97df0a32b14e34f22dce9cd3b375c1ac5fb1c5eb (patch) | |
tree | f676c4ee1d0fa9b06e9ca26605e5db6ce287225e /src/radeon_exa_funcs.c | |
parent | 295823d0879a5b574bb79843a6acd43adb9259e5 (diff) |
radeon: Advertise 2D engine limits to EXA when we're not using the 3D engine.
Also round up to the maximum width and height, as that's what EXA compares.
Diffstat (limited to 'src/radeon_exa_funcs.c')
-rw-r--r-- | src/radeon_exa_funcs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c index f018e552..0d847d1c 100644 --- a/src/radeon_exa_funcs.c +++ b/src/radeon_exa_funcs.c @@ -517,9 +517,6 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen) info->exa->pixmapOffsetAlign = RADEON_BUFFER_ALIGN + 1; info->exa->pixmapPitchAlign = 64; - info->exa->maxX = 2047; - info->exa->maxY = 2047; - #ifdef RENDER if (info->RenderAccel) { if (info->ChipFamily >= CHIP_FAMILY_R300) { @@ -548,6 +545,9 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen) } #endif + info->exa->maxX = info->exa->Composite ? 2048 : 8192; + info->exa->maxY = info->exa->Composite ? 2048 : 8192; + RADEONEngineInit(pScrn); if (!exaDriverInit(pScreen, info->exa)) { |