mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-15 00:13:28 +00:00
Add a new migration scheme, called "Smart" for lack of a better name. This
one behaves somewhat between Greedy and Always. It moves in if we can
accelerate, unless the destination is clean and shouldn't be kept in
framebuffer according to the score, in which case we migrate out (and
force-migrate anything where migration is free). This should help fix
lack of acceleration for drivers without UTS since removing
exaAsyncPixmapGCOps, and has removed one performance trap with Radeon
I'd noticed. It is the new default.
This commit is contained in:
parent
771b366abe
commit
b17a4de83e
4 changed files with 80 additions and 3 deletions
|
|
@ -557,7 +557,7 @@ exaDriverInit (ScreenPtr pScreen,
|
|||
|
||||
pScreen->devPrivates[exaScreenPrivateIndex].ptr = (pointer) pExaScr;
|
||||
|
||||
pExaScr->migration = ExaMigrationGreedy;
|
||||
pExaScr->migration = ExaMigrationSmart;
|
||||
|
||||
exaDDXDriverInit(pScreen);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue