Page MenuHomePhabricator

evas: add support for .9.png file to PNG loader.
ClosedPublic

Authored by cedric on Jun 14 2019, 5:12 PM.

Details

Summary

This support Android 9 patch file format. Only black is a recognized color for both
the stretch area and the content area. All other color are associated with being
"white".

Depends on D9102

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
cedric created this revision.Jun 14 2019, 5:12 PM
cedric updated this revision to Diff 22784.Jun 14 2019, 5:17 PM
cedric edited the summary of this revision. (Show Details)
cedric updated this revision to Diff 22845.Jun 19 2019, 12:18 PM

Rebase and take comments into account.

cedric updated this revision to Diff 22900.Thu, Jun 20, 5:02 PM

Rebase and rename.

Worring about how much this would decrease the loading performance than original one practically.
We cannot recommend use this 9 patch feature if it's worse than others...

Need to profile in some real situations...

Hermet accepted this revision.Tue, Jul 9, 12:55 AM
This revision is now accepted and ready to land.Tue, Jul 9, 12:55 AM
This revision was automatically updated to reflect the committed changes.