EXA: Fall back in CompositeRects if the driver can't accelerate Composite.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=15780 .
This commit is contained in:
parent
01c61f3d97
commit
3b8d53452c
|
@ -345,6 +345,9 @@ exaTryDriverCompositeRects(CARD8 op,
|
||||||
struct _Pixmap scratch;
|
struct _Pixmap scratch;
|
||||||
ExaMigrationRec pixmaps[2];
|
ExaMigrationRec pixmaps[2];
|
||||||
|
|
||||||
|
if (!pExaScr->info->PrepareComposite)
|
||||||
|
return -1;
|
||||||
|
|
||||||
pSrcPix = exaGetDrawablePixmap(pSrc->pDrawable);
|
pSrcPix = exaGetDrawablePixmap(pSrc->pDrawable);
|
||||||
pSrcExaPix = ExaGetPixmapPriv(pSrcPix);
|
pSrcExaPix = ExaGetPixmapPriv(pSrcPix);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user