summaryrefslogtreecommitdiff
path: root/exa/exa_accel.c
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2009-02-08 02:08:13 +0100
committerMaarten Maathuis <madman2003@gmail.com>2009-02-08 02:08:13 +0100
commit30daba6903378dd47f386c0012a0667fd2368f3e (patch)
treefda0bf02537ab252732240a00eb4f23e465ea257 /exa/exa_accel.c
parentd591c7d1b87c61ee8add2fce689e35cf097eed4f (diff)
exa: All fallbacks should have a GC, remove some code.
- I did some testing with full fallbacks forced by the driver. - I ran rendercheck, expedite and the (full) x11perf test suite. - Thanks to ajax for pointing out this should be unneeded.
Diffstat (limited to 'exa/exa_accel.c')
-rw-r--r--exa/exa_accel.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/exa/exa_accel.c b/exa/exa_accel.c
index 326720f9f..b1ab2d1d9 100644
--- a/exa/exa_accel.c
+++ b/exa/exa_accel.c
@@ -533,21 +533,8 @@ exaCopyNtoN (DrawablePtr pSrcDrawable,
return;
}
- /* We need a pGC to call our fallback. */
- if (!pGC) {
- pExaScr->fallback_flags |= EXA_FALLBACK_NOGC;
- pGC = CreateScratchGC(pDstDrawable->pScreen, pDstDrawable->depth);
- if (!pGC)
- return;
- }
-
/* fallback */
ExaCheckCopyNtoN(pSrcDrawable, pDstDrawable, pGC, pbox, nbox, dx, dy, reverse, upsidedown, bitplane, closure);
-
- if (pExaScr->fallback_flags & EXA_FALLBACK_NOGC) {
- pExaScr->fallback_flags &= ~EXA_FALLBACK_NOGC;
- FreeScratchGC(pGC);
- }
}
RegionPtr