evas filters: Fix artifacts when scaling up & down
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 4 Apr 2017 09:51:34 +0000 (18:51 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 14 Apr 2017 02:26:44 +0000 (11:26 +0900)
commit5467d1eb3eb90126c042e105b93d500f7cf8b323
tree8e0cc408714998a78bfa34b9f5f0810e766721f4
parent4cbff5f0ea011e93a7b2ea6db202dbd8ddf700c8
evas filters: Fix artifacts when scaling up & down

An odd-sized image scaled down by 2 was losing 1 pixel during the
downscale, and it was not restored after scaling up. The same
happened with downscaling by 4 except the effect was even more
visible.

This meant that a moving snapshot with a large blur would trigger
some really ugly sampling issues if the content below was precise
(such a text).
src/lib/evas/filters/evas_filter.c
src/modules/evas/engines/gl_generic/filters/gl_filter_blend.c