diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2009-08-01 19:19:19 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2009-08-06 23:48:14 +0200 |
commit | 03ecb164f2592c954aa408bf121e0c67b604d854 (patch) | |
tree | 98acdd425239b9c8723cea9c537eebca70af8cba /exa/exa_priv.h | |
parent | ac7ac913fd98ea359c05c89968ab53a3223615b4 (diff) |
exa: A simple 3rd backend implementation.
- Based on driver pixmaps with some changes (completely transparent to driver).
- It helps with the problem of known software fallbacks, such as trapezoids.
- exaDoMigration is now called for all cases that provide a do_migration hook.
- exa_migration.c is renamed to exa_migration_classic.c
Diffstat (limited to 'exa/exa_priv.h')
-rw-r--r-- | exa/exa_priv.h | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/exa/exa_priv.h b/exa/exa_priv.h index 3c3451377..620bc67a4 100644 --- a/exa/exa_priv.h +++ b/exa/exa_priv.h @@ -547,6 +547,9 @@ exaSetAccelBlock(ExaScreenPrivPtr pExaScr, ExaPixmapPrivPtr pExaPixmap, void exaDoMigration (ExaMigrationPtr pixmaps, int npixmaps, Bool can_accel); +Bool +exaPixmapIsPinned (PixmapPtr pPix); + extern const GCFuncs exaGCFuncs; /* exa_classic.c */ @@ -579,6 +582,28 @@ exaDestroyPixmap_driver (PixmapPtr pPixmap); Bool exaPixmapIsOffscreen_driver(PixmapPtr pPixmap); +/* exa_mixed.c */ +PixmapPtr +exaCreatePixmap_mixed(ScreenPtr pScreen, int w, int h, int depth, + unsigned usage_hint); + +Bool +exaModifyPixmapHeader_mixed(PixmapPtr pPixmap, int width, int height, int depth, + int bitsPerPixel, int devKind, pointer pPixData); + +Bool +exaDestroyPixmap_mixed(PixmapPtr pPixmap); + +Bool +exaPixmapIsOffscreen_mixed(PixmapPtr pPixmap); + +/* exa_migration_mixed.c */ +void +exaCreateDriverPixmap_mixed(PixmapPtr pPixmap); + +void +exaDoMigration_mixed(ExaMigrationPtr pixmaps, int npixmaps, Bool can_accel); + /* exa_render.c */ Bool exaOpReadsDestination (CARD8 op); @@ -633,7 +658,7 @@ exaGlyphs (CARD8 op, GlyphListPtr list, GlyphPtr *glyphs); -/* exa_migration.c */ +/* exa_migration_classic.c */ void exaDoMigration_classic (ExaMigrationPtr pixmaps, int npixmaps, Bool can_accel); |