path: root/
diff options
authorJean-Philippe Andre <>2014-02-14 16:50:31 +0900
committerJean-Philippe Andre <>2014-02-17 10:14:11 +0900
commit7cc7af14b8016c74f05759cbbd0e3bc8e37302a5 (patch)
treef1da837f1db7d33f67918e28d9fd448c6c9c5487 /
parent9472e035461dd42a533cf893362063bb95811f34 (diff)
Evas filters: Fix alpha in displacement filter
If the displacement map has some alpha values (not 0xFF), then the blending should take this alpha into account. This part is fine. BUT, since Evas relies on premultiplied colors... we have a problem: R (dx) and G (dy) have already been scaled down. Actually we would need to load the map in non premultiplied RGBA, otherwise we'll lose precision on dx,dy as soon as A != 0xFF. Well... I guess this will be a limitation of this filter, for now at least. Most displacement maps shouldn't even have any alpha anyways.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions