diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-10-10 05:58:41 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-10-10 05:58:41 +0000 |
commit | 13f958fbe8420e406f24c01d320f29002ee860b7 (patch) | |
tree | 4d63c067b52821098f6ec8910be8e77458864598 /exa | |
parent | d82aeb55ca3b6abe4cafa7b9c39777a5f67308e5 (diff) |
Add missing {Prepare,Finish}Access() wrappers for the tile pixmap in the
fallback case
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa.c | 2 | ||||
-rw-r--r-- | exa/exa_accel.c | 2 | ||||
-rw-r--r-- | exa/exa_migration.c | 2 |
3 files changed, 6 insertions, 0 deletions
@@ -1279,7 +1279,9 @@ exaFillRegionTiled (DrawablePtr pDrawable, fallback: EXA_FALLBACK(("from 0x%lx to 0x%lx\n", (long)pTile, (long)pDrawable)); exaPrepareAccess (pDrawable, EXA_PREPARE_DEST); + exaPrepareAccess ((DrawablePtr)pTile, EXA_PREPARE_SRC); fbFillRegionTiled (pDrawable, pRegion, pTile); + exaFinishAccess ((DrawablePtr)pTile, EXA_PREPARE_SRC); exaFinishAccess (pDrawable, EXA_PREPARE_DEST); } diff --git a/exa/exa_accel.c b/exa/exa_accel.c index fb46f4449..e1b48427d 100644 --- a/exa/exa_accel.c +++ b/exa/exa_accel.c @@ -1279,7 +1279,9 @@ exaFillRegionTiled (DrawablePtr pDrawable, fallback: EXA_FALLBACK(("from 0x%lx to 0x%lx\n", (long)pTile, (long)pDrawable)); exaPrepareAccess (pDrawable, EXA_PREPARE_DEST); + exaPrepareAccess ((DrawablePtr)pTile, EXA_PREPARE_SRC); fbFillRegionTiled (pDrawable, pRegion, pTile); + exaFinishAccess ((DrawablePtr)pTile, EXA_PREPARE_SRC); exaFinishAccess (pDrawable, EXA_PREPARE_DEST); } diff --git a/exa/exa_migration.c b/exa/exa_migration.c index fb46f4449..e1b48427d 100644 --- a/exa/exa_migration.c +++ b/exa/exa_migration.c @@ -1279,7 +1279,9 @@ exaFillRegionTiled (DrawablePtr pDrawable, fallback: EXA_FALLBACK(("from 0x%lx to 0x%lx\n", (long)pTile, (long)pDrawable)); exaPrepareAccess (pDrawable, EXA_PREPARE_DEST); + exaPrepareAccess ((DrawablePtr)pTile, EXA_PREPARE_SRC); fbFillRegionTiled (pDrawable, pRegion, pTile); + exaFinishAccess ((DrawablePtr)pTile, EXA_PREPARE_SRC); exaFinishAccess (pDrawable, EXA_PREPARE_DEST); } |