diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2008-02-28 17:38:04 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2008-02-28 17:40:19 +0100 |
commit | 72a53d6f20ac29b3baddb7d8af04f19b76d2e04f (patch) | |
tree | 7c04c08efc08a373aed605409b60ee4977dce667 /src/radeon_exa_funcs.c | |
parent | 5249f450a2487475a95531603cc8668db2c21c33 (diff) |
Handle EXA coordinate limits more cleverly.
Generally set the 2D engine limits, and only enforce the 3D engine limits in the
CheckComposite hook. This should still prevent useless migration of pixmaps the
3D engine can't handle but allows for basic acceleration of bigger ones.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=14708 .
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 10221c02..3d158824 100644 --- a/src/radeon_exa_funcs.c +++ b/src/radeon_exa_funcs.c @@ -572,11 +572,11 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen) xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Setting EXA maxPitchBytes\n"); info->exa->maxPitchBytes = 16320; - info->exa->maxX = info->exa->Composite ? 2048 : 8192; + info->exa->maxX = 8192; #else - info->exa->maxX = info->exa->Composite ? 2048 : 16320 / 4; + info->exa->maxX = 16320 / 4; #endif - info->exa->maxY = info->exa->Composite ? 2048 : 8192; + info->exa->maxY = 8192; RADEONEngineInit(pScrn); |