st/xorg: solid fills with masks are supported
authorZack Rusin <zackr@vmware.com>
Sat, 10 Oct 2009 09:24:32 +0000 (05:24 -0400)
committerZack Rusin <zackr@vmware.com>
Tue, 13 Oct 2009 17:04:00 +0000 (13:04 -0400)
gradients are supported, but not enabled by default due to little
testing they got

src/gallium/state_trackers/xorg/xorg_composite.c

index 90283fe6af527de13ed9dfbd6f1f86b40d704461..6871625605f450f178edd5665ac9eb4930ab1a55 100644 (file)
@@ -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) {