diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-15 00:49:39 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-15 00:49:39 +0100 |
commit | 82d07fdf10cac2211af74ebf7d519daacd7084c0 (patch) | |
tree | 3073e5e1da808fcb45be1128d2f263f496b1d9fb /uxa | |
parent | 3bca186a7ead84d4f0e71dfd83847ef77a4e390b (diff) |
uxa: Only use 1x1R as a solid with an opaque format or SRC
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'uxa')
-rw-r--r-- | uxa/uxa-render.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, |