From d0f0d1092c7587a02404e1db07740e6334462ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Fri, 24 Aug 2007 14:10:13 +0200 Subject: [PATCH] exaGetImage: Don't migrate pixmap out of FB with no DownloadFromScreen hook. Based on the assumption that GetImage is relatively rare, so the overhead of the migration is probably bigger than any potential savings. --- exa/exa_accel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exa/exa_accel.c b/exa/exa_accel.c index 3af5c6eb1..692f2b8c3 100644 --- a/exa/exa_accel.c +++ b/exa/exa_accel.c @@ -1357,7 +1357,7 @@ exaGetImage (DrawablePtr pDrawable, int x, int y, int w, int h, goto fallback; if (pExaScr->info->DownloadFromScreen == NULL) - goto migrate_and_fallback; + goto fallback; /* Only cover the ZPixmap, solid copy case. */ if (format != ZPixmap || !EXA_PM_IS_SOLID(pDrawable, planeMask))