From 82d07fdf10cac2211af74ebf7d519daacd7084c0 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 15 May 2010 00:49:39 +0100 Subject: uxa: Only use 1x1R as a solid with an opaque format or SRC Signed-off-by: Chris Wilson --- uxa/uxa-render.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'uxa') diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c index 010d663f..1ded55e7 100644 --- a/uxa/uxa-render.c +++ b/uxa/uxa-render.c @@ -1419,7 +1419,8 @@ uxa_composite(CARD8 op, } } else if (pSrc->pDrawable->width == 1 && pSrc->pDrawable->height == 1 && - pSrc->repeat) { + pSrc->repeat && + (op == PictOpSrc || (op == PictOpOver && !PICT_FORMAT_A(pSrc->format)))) { ret = uxa_try_driver_solid_fill(pSrc, pDst, xSrc, ySrc, xDst, yDst, -- cgit v1.2.3