Commit Graph

8 Commits

Author SHA1 Message Date
Hermet Park 40bc81ae2b evas map: ++safety anti-aliasing processing.
there was a potential case that overflow range.
here it kicks it out.
2019-03-05 17:11:20 +09:00
Hermet Park 057db36423 evas map: fix wrong range in anti-aliasing processing.
alpha value must be in 0 - 255.
2019-03-04 20:35:31 +09:00
Hermet Park edbce35967 evas map: fine-tune a case by anti-aliasing quality. 2019-03-04 19:23:17 +09:00
Hermet Park febeaab9ce evas map: +comment for maintanance. 2018-08-20 14:39:37 +09:00
Hermet Park d62ee3bea1 evas: improve evas map anti-alising rendering quality.
Old version algorithm was imperfection a bit, quality was poor at some specific
degrees, specifically, when pixel increment pattern on the diagonal lines is
unstable.

This revised version was better than old one even source code is much cleaner
and simpler.

See belows.

*NonAA vs AA:
https://ibb.co/bCNfMc

*Compare the worst case aa in the old version:
https://ibb.co/bEJsZx

*Test video:
https://youtu.be/Wn20Tym5lfg
2018-04-10 11:19:19 +09:00
Hermet Park 63b6d9c17f evas: fix Evas Map AA changes the alpha flag of an image issue.
Evas map supports anti-alias(aa) rendering on sw backened.
When aa is toggled on, map forcely turns alpha channel on while it draws on the surface.
Actually, it was intended to blend polygon edges with destination,
but it breaks one case if the original source image alpha channel were turned off.

Simply, it fixed the issue, new implmentation removes the alpha channel switching,
instead fill the alpha values with 255 when map + aa + alpha_off is drawing on it.

@fix T1975
2018-04-03 19:23:52 +09:00
ChunEon Park e3b7d3daed evas/map: removed unnecessary. 2014-11-26 15:17:51 +09:00
ChunEon Park a3b3e1ecad evas/map: support aa in basic c computation. 2014-11-26 15:12:25 +09:00