summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alex@samba.(none)>2008-03-13 18:32:00 -0400
committerAlex Deucher <alex@samba.(none)>2008-03-13 18:32:00 -0400
commit2bf0236c03538ace3ce6d0e68f0829fc47d1385b (patch)
treef5fe74024e2dd67fa5ac62c1f29b5134040587b7
parent74286ba41302107d2fc626fee2181f7c4bc18164 (diff)
R3xx: enable composite for non-mask cases
-rw-r--r--src/radeon_exa_render.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c
index 9bdb4036..6cbe0bb3 100644
--- a/src/radeon_exa_render.c
+++ b/src/radeon_exa_render.c
@@ -946,7 +946,7 @@ static Bool R300CheckComposite(int op, PicturePtr pSrcPicture, PicturePtr pMaskP
if (op >= sizeof(RadeonBlendOp) / sizeof(RadeonBlendOp[0]))
RADEON_FALLBACK(("Unsupported Composite op 0x%x\n", op));
-#if 1
+#if 0
/* Throw out cases that aren't going to be our rotation first */
if (pMaskPicture != NULL || op != PictOpSrc || pSrcPicture->pDrawable == NULL)
RADEON_FALLBACK(("Junk driver\n"));
@@ -1047,9 +1047,12 @@ static Bool FUNC_NAME(R300PrepareComposite)(int op, PicturePtr pSrcPicture,
TRACE;
- if (pMask && pMaskPicture->componentAlpha)
+ //if (pMask && pMaskPicture->componentAlpha)
+ if (pMask)
return FALSE;
+ ErrorF("op: 0x%x, src: 0x%x, dst: 0x%x\n", op, pSrcPicture->format, pDstPicture->format);
+
if (!info->XInited3D)
RADEONInit3DEngine(pScrn);