diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2009-11-16 22:57:43 +0100 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2009-11-16 23:33:45 +0100 |
commit | cb060f3b987c9fa07ebe06cf2e7e54d1eaded1e1 (patch) | |
tree | 857e08954e1c4c1aa462d0634f08a4c0d1eaf8aa /src/gallium/state_trackers/xorg/xorg_exa.c | |
parent | 5438ee3ecfe5c25102d196fd6d7258201e27e6ca (diff) |
st/xorg: Fix comp alpha code and deal with luminance masks
There are two fixes in here one is a one liner that fixes
component alpha logic. The other deals better with luminance
formats used for masks, sources not yet implemented.
Fixes component alpha text and icons in gnome. There are a one
or two cases that this code misses. Like if src_luminance is set
but no mask image is given.
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_exa.c')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_exa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c index 25c9fce254..6fa274eb0a 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa.c +++ b/src/gallium/state_trackers/xorg/xorg_exa.c @@ -551,6 +551,9 @@ ExaPrepareComposite(int op, PicturePtr pSrcPicture, XORG_FALLBACK("pSrc pic_format: %s != %s", render_format_name(priv->picture_format), render_format_name(pSrcPicture->format)); + + if (priv->picture_format == PICT_a8) + XORG_FALLBACK("pSrc pic_format == PICT_a8"); } if (pMask) { |