diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2009-08-05 16:12:16 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2009-08-06 23:48:14 +0200 |
commit | e8ac2ed5dc4c2ac0a5e1e1f371f94c15b1c729dd (patch) | |
tree | d65f416d213077ad2594d8b182b6d34db2afc2dd /exa/exa_priv.h | |
parent | 9d2a7128d3e66b8c076a714d69f84bcad49391b9 (diff) |
exa: implement exaMoveInPixmap for "mixed"
- This can be used to force creation of driver pixmap.
- Not for 1 or 4 bpp.
- Driver can still fail (driver) pixmap creation.
Diffstat (limited to 'exa/exa_priv.h')
-rw-r--r-- | exa/exa_priv.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/exa/exa_priv.h b/exa/exa_priv.h index 620bc67a4..869cf1772 100644 --- a/exa/exa_priv.h +++ b/exa/exa_priv.h @@ -174,6 +174,8 @@ typedef struct { #endif void (*do_migration) (ExaMigrationPtr pixmaps, int npixmaps, Bool can_accel); Bool (*pixmap_is_offscreen) (PixmapPtr pPixmap); + void (*do_move_in_pixmap) (PixmapPtr pPixmap); + void (*do_move_out_pixmap) (PixmapPtr pPixmap); Bool swappedOut; enum ExaMigrationHeuristic migration; @@ -604,6 +606,9 @@ exaCreateDriverPixmap_mixed(PixmapPtr pPixmap); void exaDoMigration_mixed(ExaMigrationPtr pixmaps, int npixmaps, Bool can_accel); +void +exaMoveInPixmap_mixed(PixmapPtr pPixmap); + /* exa_render.c */ Bool exaOpReadsDestination (CARD8 op); @@ -665,4 +670,10 @@ exaDoMigration_classic (ExaMigrationPtr pixmaps, int npixmaps, Bool can_accel); void exaPixmapSave (ScreenPtr pScreen, ExaOffscreenArea *area); +void +exaMoveOutPixmap_classic (PixmapPtr pPixmap); + +void +exaMoveInPixmap_classic (PixmapPtr pPixmap); + #endif /* EXAPRIV_H */ |