mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-23 01:29:58 +00:00
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.
This commit is contained in:
parent
d591c7d1b8
commit
30daba6903
3 changed files with 1 additions and 28 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue