diff options
author | Zack Rusin <zackr@vmware.com> | 2009-10-10 04:45:41 -0400 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2009-10-13 12:25:13 -0400 |
commit | 89bb33fb20e69d9fa5325da10abf31d61d51d371 (patch) | |
tree | 10ddee2def6dfc0071eb186658869b228c2fe745 /src/gallium/state_trackers/xorg/xorg_exa.c | |
parent | eefecf5d2a5bf9fc0f0f7919faf1747b0add8d6f (diff) |
st/xorg: fix and enable by default xrender acceleration
src in mask was broken
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_exa.c')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_exa.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c index 29785c0040..af76d6690f 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa.c +++ b/src/gallium/state_trackers/xorg/xorg_exa.c @@ -506,7 +506,7 @@ ExaComposite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY, struct exa_pixmap_priv *priv = exaGetPixmapDriverPrivate(pDst); #if DEBUG_PRINT - debug_printf("\tExaComposite\n"); + debug_printf("\tExaComposite(src[%d,%d], mask=[%d, %d], dst=[%d, %d], dim=[%d, %d])\n", srcX, srcY, maskX, maskY, dstX, dstY, width, height); #endif xorg_composite(exa, priv, srcX, srcY, maskX, maskY, @@ -526,6 +526,9 @@ ExaCheckComposite(int op, debug_printf("ExaCheckComposite(%d, %p, %p, %p) = %d\n", op, pSrcPicture, pMaskPicture, pDstPicture, accelerated); #endif +#if DISABLE_ACCEL + accelerated = FALSE; +#endif return accelerated; } |