[PATCH 1/3] exa/driver: set pExaPixmap->use_gpu_copy to the right value
Maarten Maathuis
madman2003 at gmail.com
Mon Dec 13 10:42:34 PST 2010
- Not sure if it was causing problems, but you never know.
Signed-off-by: Maarten Maathuis <madman2003 at gmail.com>
---
exa/exa_driver.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/exa/exa_driver.c b/exa/exa_driver.c
index a913cfb..b9903d1 100644
--- a/exa/exa_driver.c
+++ b/exa/exa_driver.c
@@ -115,6 +115,8 @@ exaCreatePixmap_driver(ScreenPtr pScreen, int w, int h, int depth,
exaSetAccelBlock(pExaScr, pExaPixmap,
w, h, bpp);
+ pExaPixmap->use_gpu_copy = exaPixmapHasGpuCopy(pPixmap);
+
/* During a fallback we must prepare access. */
if (pExaScr->fallback_counter)
exaPrepareAccess(&pPixmap->drawable, EXA_PREPARE_AUX_DEST);
--
1.7.3.2
More information about the xorg-devel
mailing list