[Pixman] [PATCH 3/3] Improve conical gradients opacity check

Andrea Canciani ranma42 at gmail.com
Tue Nov 2 12:05:35 PDT 2010


Conical gradients are completely opaque if all of their stops are
opaque and the repeat mode is not 'none'.
---
 pixman/pixman-image.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pixman/pixman-image.c b/pixman/pixman-image.c
index ec277c6..0511f2f 100644
--- a/pixman/pixman-image.c
+++ b/pixman/pixman-image.c
@@ -429,6 +429,7 @@ compute_image_info (pixman_image_t *image)
 	break;
 
     case LINEAR:
+    case CONICAL:
     case RADIAL:
 	code = PIXMAN_unknown;
 
-- 
1.7.1



More information about the Pixman mailing list