Improve conical gradients opacity check
authorAndrea Canciani <ranma42@gmail.com>
Tue, 2 Nov 2010 16:04:35 +0000 (17:04 +0100)
committerAndrea Canciani <ranma42@gmail.com>
Fri, 12 Nov 2010 16:13:30 +0000 (17:13 +0100)
Conical gradients are completely opaque if all of their stops are
opaque and the repeat mode is not 'none'.

pixman/pixman-image.c

index e78b139..28dc066 100644 (file)
@@ -413,6 +413,7 @@ compute_image_info (pixman_image_t *image)
 
        /* Fall through */
 
+    case CONICAL:
     case LINEAR:
        code = PIXMAN_unknown;