projects
/
profile
/
ivi
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fe2628
)
Enable component alpha on solid masks.
author
Chris Wilson
<chris@chris-wilson.co.uk>
Sun, 13 Sep 2009 15:26:29 +0000
(16:26 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Sun, 13 Sep 2009 15:29:42 +0000
(16:29 +0100)
pixman/pixman-general.c
patch
|
blob
|
history
diff --git
a/pixman/pixman-general.c
b/pixman/pixman-general.c
index
3ead3da
..
5c40103
100644
(file)
--- a/
pixman/pixman-general.c
+++ b/
pixman/pixman-general.c
@@
-159,9
+159,9
@@
general_composite_rect (pixman_implementation_t *imp,
fetch_src &&
fetch_mask &&
mask &&
- mask->common.
type == BITS
&&
- mask->common.component_alpha &&
-
PIXMAN_FORMAT_RGB (mask->bits.format
);
+ mask->common.
component_alpha
&&
+ (mask->common.type == SOLID ||
+
(mask->common.type == BITS && PIXMAN_FORMAT_RGB (mask->bits.format))
);
if (wide)
{