Lines Matching defs:pixmaps

196         /* The caller may restrict the region to be migrated for source pixmaps
339 /* Don't migrate in pixmaps which are less than 8bpp. This avoids a lot of
607 * Performs migration of the pixmaps according to the operation information
608 * provided in pixmaps and can_accel and the migration scheme chosen in the
612 exaDoMigration_classic(ExaMigrationPtr pixmaps, int npixmaps, Bool can_accel)
614 ScreenPtr pScreen = pixmaps[0].pPix->drawable.pScreen;
628 if (!exaPixmapIsDirty(pixmaps[i].pPix) &&
629 !exaAssertNotDirty(pixmaps[i].pPix))
638 if (exaPixmapIsPinned(pixmaps[i].pPix) &&
639 !exaPixmapHasGpuCopy(pixmaps[i].pPix)) {
640 EXA_FALLBACK(("Pixmap %p (%dx%d) pinned in sys\n", pixmaps[i].pPix,
641 pixmaps[i].pPix->drawable.width,
642 pixmaps[i].pPix->drawable.height));
653 if (pixmaps[i].as_dst && !exaPixmapShouldBeInFB(pixmaps[i].pPix) &&
654 !exaPixmapIsDirty(pixmaps[i].pPix)) {
656 if (!exaPixmapIsDirty(pixmaps[i].pPix))
657 exaDoMoveOutPixmap(pixmaps + i);
668 exaMigrateTowardSys(pixmaps + i);
669 if (!exaPixmapIsDirty(pixmaps[i].pPix))
670 exaDoMoveOutPixmap(pixmaps + i);
677 exaMigrateTowardFb(pixmaps + i);
678 exaDoMoveInPixmap(pixmaps + i);
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
688 * more pixmaps active than would fit in memory.
695 exaMigrateTowardSys(pixmaps + i);
700 if (exaPixmapHasGpuCopy(pixmaps[i].pPix)) {
703 exaMigrateTowardFb(pixmaps + i);
710 exaMigrateTowardSys(pixmaps + i);
713 /* Always move the pixmaps out if we can't accelerate. If we can
719 exaDoMoveOutPixmap(pixmaps + i);
725 exaDoMoveInPixmap(pixmaps + i);
730 if (!exaPixmapHasGpuCopy(pixmaps[i].pPix)) {
737 ExaOffscreenMarkUsed(pixmaps[i].pPix);
745 ExaMigrationRec pixmaps[1];
748 pixmaps[0].as_dst = TRUE;
749 pixmaps[0].as_src = FALSE;
752 pixmaps[0].as_dst = FALSE;
753 pixmaps[0].as_src = TRUE;
755 pixmaps[0].pPix = pPixmap;
756 pixmaps[0].pReg = pReg;
758 exaDoMigration(pixmaps, 1, FALSE);