From 762e406d138ac80854b6a23b1078b52f6581f0d8 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 22 Sep 2009 01:34:37 +0100 Subject: Revert "8xx: Fallback for any non-affine transformation." This reverts commit 505025053d66d415e1c23ac858b9238fa8541d37. In theory, the non-affine paths work -- at least for the stated test case, so re-enable them and avoid the slow work-around. Signed-off-by: Chris Wilson --- src/i830_render.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/i830_render.c b/src/i830_render.c index c9476990..4fa872b9 100644 --- a/src/i830_render.c +++ b/src/i830_render.c @@ -396,17 +396,6 @@ i830_check_composite(int op, PicturePtr pSrcPicture, PicturePtr pMaskPicture, if (!i830_get_dest_format(pDstPicture, &tmp1)) I830FALLBACK("Get Color buffer format\n"); - /* There exists some code to handle non-affine transformations for - * 8xx, but from what we can tell, it just isn't correct. (An easy - * testcase is to run enlightenemt (e17), click the "e", then - * "settings", "settings panel", "advanced", "engine", and finally - * "XRender" and "Apply". After doing that, moving any window causes - * a GPU hang. */ - if (!i830_transform_is_affine(pSrcPicture->transform) || - !i830_transform_is_affine(pDstPicture->transform) || - (pMaskPicture && !i830_transform_is_affine (pMaskPicture->transform))) - I830FALLBACK("Non-affine transformation\n"); - return TRUE; } -- cgit v1.2.3