Lines Matching defs:migrate

108 exaCopyDirty(ExaMigrationPtr migrate, RegionPtr pValidDst, RegionPtr pValidSrc,
113 PixmapPtr pPixmap = migrate->pPix;
141 if (migrate->as_dst) {
192 if (migrate->pReg)
193 RegionSubtract(&CopyReg, &CopyReg, migrate->pReg);
199 if (migrate->pReg)
200 RegionIntersect(&CopyReg, &CopyReg, migrate->pReg);
278 exaCopyDirtyToSys(ExaMigrationPtr migrate)
280 PixmapPtr pPixmap = migrate->pPix;
285 exaCopyDirty(migrate, &pExaPixmap->validSys, &pExaPixmap->validFB,
296 exaCopyDirtyToFb(ExaMigrationPtr migrate)
298 PixmapPtr pPixmap = migrate->pPix;
303 exaCopyDirty(migrate, &pExaPixmap->validFB, &pExaPixmap->validSys,
323 exaDoMoveInPixmap(ExaMigrationPtr migrate)
325 PixmapPtr pPixmap = migrate->pPix;
339 /* Don't migrate in pixmaps which are less than 8bpp. This avoids a lot of
361 exaCopyDirtyToFb(migrate);
382 static ExaMigrationRec migrate = {.as_dst = FALSE,.as_src = TRUE,
386 migrate.pPix = pPixmap;
387 exaDoMoveInPixmap(&migrate);
395 exaDoMoveOutPixmap(ExaMigrationPtr migrate)
397 PixmapPtr pPixmap = migrate->pPix;
404 exaCopyDirtyToSys(migrate);
425 static ExaMigrationRec migrate = {.as_dst = FALSE,.as_src = TRUE,
429 migrate.pPix = pPixmap;
430 exaDoMoveOutPixmap(&migrate);
460 exaMigrateTowardFb(ExaMigrationPtr migrate)
462 PixmapPtr pPixmap = migrate->pPix;
476 exaDoMoveInPixmap(migrate);
485 exaDoMoveInPixmap(migrate);
489 exaCopyDirtyToFb(migrate);
493 exaCopyDirtyToSys(migrate);
501 exaMigrateTowardSys(ExaMigrationPtr migrate)
503 PixmapPtr pPixmap = migrate->pPix;
520 exaDoMoveOutPixmap(migrate);
523 exaCopyDirtyToFb(migrate);
527 exaCopyDirtyToSys(migrate);
663 /* If we aren't going to accelerate, then we migrate everybody toward
683 * the pixmaps is pinned in system memory, then we migrate everybody toward
686 * We also migrate toward system if all pixmaps involved are currently in
690 * If not, then we migrate toward FB so that hopefully acceleration can