summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2011-01-30 14:06:14 +0100
committerKeith Packard <keithp@keithp.com>2011-02-02 14:53:06 -0800
commit648d4fe5172cad33c6f09e05dd3d8d7171ef1a7f (patch)
treecf4a7d0f2efe7ee3f15b6f73ad6feaa76e4eaa02 /exa
parent246d40b685292fa6393ba22127152137494af2af (diff)
exa/driver: set pExaPixmap->use_gpu_copy to the right value
- Not sure if it was causing problems, but you never know. Reviewed-by: Michel Dänzer <michel@daenzer.net> Signed-off-by: Maarten Maathuis <madman2003@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'exa')
-rw-r--r--exa/exa_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/exa/exa_driver.c b/exa/exa_driver.c
index a913cfb02..b9903d1bc 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);