Lines Matching defs:pixmaps
196 /* The caller may restrict the region to be migrated for source pixmaps
333 /* Don't migrate in pixmaps which are less than 8bpp. This avoids a lot of
594 * Performs migration of the pixmaps according to the operation information
595 * provided in pixmaps and can_accel and the migration scheme chosen in the
599 exaDoMigration_classic (ExaMigrationPtr pixmaps, int npixmaps, Bool can_accel)
601 ScreenPtr pScreen = pixmaps[0].pPix->drawable.pScreen;
614 if (!exaPixmapIsDirty (pixmaps[i].pPix) &&
615 !exaAssertNotDirty (pixmaps[i].pPix))
623 if (exaPixmapIsPinned (pixmaps[i].pPix) &&
624 !exaPixmapHasGpuCopy (pixmaps[i].pPix))
626 EXA_FALLBACK(("Pixmap %p (%dx%d) pinned in sys\n", pixmaps[i].pPix,
627 pixmaps[i].pPix->drawable.width,
628 pixmaps[i].pPix->drawable.height));
639 if (pixmaps[i].as_dst && !exaPixmapShouldBeInFB (pixmaps[i].pPix) &&
640 !exaPixmapIsDirty (pixmaps[i].pPix))
643 if (!exaPixmapIsDirty (pixmaps[i].pPix))
644 exaDoMoveOutPixmap (pixmaps + i);
655 exaMigrateTowardSys (pixmaps + i);
656 if (!exaPixmapIsDirty (pixmaps[i].pPix))
657 exaDoMoveOutPixmap (pixmaps + i);
664 exaMigrateTowardFb(pixmaps + i);
665 exaDoMoveInPixmap(pixmaps + i);
669 * the pixmaps is pinned in system memory, then we migrate everybody toward
672 * We also migrate toward system if all pixmaps involved are currently in
674 * more pixmaps active than would fit in memory.
681 exaMigrateTowardSys (pixmaps + i);
686 if (exaPixmapHasGpuCopy(pixmaps[i].pPix)) {
689 exaMigrateTowardFb(pixmaps + i);
696 exaMigrateTowardSys(pixmaps + i);
698 /* Always move the pixmaps out if we can't accelerate. If we can
704 exaDoMoveOutPixmap(pixmaps + i);
710 exaDoMoveInPixmap(pixmaps + i);
715 if (!exaPixmapHasGpuCopy(pixmaps[i].pPix)) {
722 ExaOffscreenMarkUsed (pixmaps[i].pPix);
730 ExaMigrationRec pixmaps[1];
733 pixmaps[0].as_dst = TRUE;
734 pixmaps[0].as_src = FALSE;
736 pixmaps[0].as_dst = FALSE;
737 pixmaps[0].as_src = TRUE;
739 pixmaps[0].pPix = pPixmap;
740 pixmaps[0].pReg = pReg;
742 exaDoMigration(pixmaps, 1, FALSE);