Mesa (master): st/xorg: solid fills with masks are supported

Zack Rusin zack at kemper.freedesktop.org
Tue Oct 13 16:57:07 UTC 2009


Module: Mesa
Branch: master
Commit: 1cc1c3a0336d74e518417e2e93e141171a50542b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cc1c3a0336d74e518417e2e93e141171a50542b

Author: Zack Rusin <zackr at vmware.com>
Date:   Sat Oct 10 05:24:32 2009 -0400

st/xorg: solid fills with masks are supported

gradients are supported, but not enabled by default due to little
testing they got

---

 src/gallium/state_trackers/xorg/xorg_composite.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/src/gallium/state_trackers/xorg/xorg_composite.c b/src/gallium/state_trackers/xorg/xorg_composite.c
index 90283fe..6871625 100644
--- a/src/gallium/state_trackers/xorg/xorg_composite.c
+++ b/src/gallium/state_trackers/xorg/xorg_composite.c
@@ -125,13 +125,8 @@ boolean xorg_composite_accelerated(int op,
       sizeof(accelerated_ops)/sizeof(struct acceleration_info);
 
    if (pSrcPicture->pSourcePict) {
-      /* Gradients not yet supported */
       if (pSrcPicture->pSourcePict->type != SourcePictTypeSolidFill)
-         XORG_FALLBACK("gradients not yet supported");
-
-      /* Solid source with mask not yet handled properly */
-      if (pMaskPicture)
-         XORG_FALLBACK("solid source with mask not yet handled properly");
+         XORG_FALLBACK("gradients not enabled (haven't been well tested)");
    }
 
    for (i = 0; i < accel_ops_count; ++i) {




More information about the mesa-commit mailing list