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.
This commit is contained in:
parent
5d9e2c2821
commit
d0f0d1092c
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user