mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-15 00:13:28 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue