diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-12-29 12:51:29 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-12-29 11:04:51 -0800 |
commit | 0c1f43c0f3e888172f11f62a2f208af70e0183cc (patch) | |
tree | c6170151897fef902c3915c3f5ad52ed11973702 /exa/exa.c | |
parent | 08bf26c28fc8147b64f2fe8345b9581e0101571c (diff) |
EXA/mixed: Handle results of software fallbacks in DamageReport hook.
This is more elegant and probably also slightly more correct than doing it
at FinishAccess time.
Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Acked-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'exa/exa.c')
-rw-r--r-- | exa/exa.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -425,9 +425,6 @@ exaFinishAccess(DrawablePtr pDrawable, int index) /* We always hide the devPrivate.ptr. */ pPixmap->devPrivate.ptr = NULL; - if (pExaScr->finish_access) - pExaScr->finish_access(pPixmap, index); - if (!pExaScr->info->FinishAccess || !exaPixmapHasGpuCopy(pPixmap)) return; @@ -981,7 +978,6 @@ exaDriverInit (ScreenPtr pScreen, pExaScr->do_move_in_pixmap = exaMoveInPixmap_mixed; pExaScr->do_move_out_pixmap = NULL; pExaScr->prepare_access_reg = exaPrepareAccessReg_mixed; - pExaScr->finish_access = exaFinishAccess_mixed; } else { wrap(pExaScr, pScreen, CreatePixmap, exaCreatePixmap_driver); wrap(pExaScr, pScreen, DestroyPixmap, exaDestroyPixmap_driver); @@ -991,7 +987,6 @@ exaDriverInit (ScreenPtr pScreen, pExaScr->do_move_in_pixmap = NULL; pExaScr->do_move_out_pixmap = NULL; pExaScr->prepare_access_reg = NULL; - pExaScr->finish_access = NULL; } } else { wrap(pExaScr, pScreen, CreatePixmap, exaCreatePixmap_classic); @@ -1002,7 +997,6 @@ exaDriverInit (ScreenPtr pScreen, pExaScr->do_move_in_pixmap = exaMoveInPixmap_classic; pExaScr->do_move_out_pixmap = exaMoveOutPixmap_classic; pExaScr->prepare_access_reg = exaPrepareAccessReg_classic; - pExaScr->finish_access = NULL; } if (!(pExaScr->info->flags & EXA_HANDLES_PIXMAPS)) { LogMessage(X_INFO, "EXA(%d): Offscreen pixmap area of %lu bytes\n", |