EXA: Try harder to keep current pixmap copy up to date in exaMigrateToward*.
This is probably required, but apparently not sufficient, for making migration heuristics other than "always" work correctly again. Not that I really care about them...
This commit is contained in:
parent
3948b52389
commit
f112d6bf59
|
@ -463,7 +463,11 @@ exaMigrateTowardFb (ExaMigrationPtr migrate)
|
|||
exaDoMoveInPixmap(migrate);
|
||||
}
|
||||
|
||||
ExaOffscreenMarkUsed (pPixmap);
|
||||
if (exaPixmapIsOffscreen(pPixmap)) {
|
||||
exaCopyDirtyToFb (migrate);
|
||||
ExaOffscreenMarkUsed (pPixmap);
|
||||
} else
|
||||
exaCopyDirtyToSys (migrate);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -496,6 +500,12 @@ exaMigrateTowardSys (ExaMigrationPtr migrate)
|
|||
|
||||
if (pExaPixmap->score <= EXA_PIXMAP_SCORE_MOVE_OUT && pExaPixmap->area)
|
||||
exaDoMoveOutPixmap(migrate);
|
||||
|
||||
if (exaPixmapIsOffscreen(pPixmap)) {
|
||||
exaCopyDirtyToFb (migrate);
|
||||
ExaOffscreenMarkUsed (pPixmap);
|
||||
} else
|
||||
exaCopyDirtyToSys (migrate);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue