[PATCH 1/3] exa/driver: set pExaPixmap->use_gpu_copy to the right value

Maarten Maathuis madman2003 at gmail.com
Thu Jan 27 11:40:11 PST 2011


- Not sure if it was causing problems, but you never know.

Reviewed-by: Michel Dänzer <michel at daenzer.net>
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.4.rc2



More information about the xorg-devel mailing list