Page MenuHomePhabricator

evas_map: use source size for uv instead of proxy size
ClosedPublic

Authored by kimcinoo on Sep 20 2021, 1:34 AM.

Details

Summary

Usually application sets uv point value using proxy object size.
if source object is bigger than proxy object, then only part of
source image is used for map, and it leads to unexpected result.

This patch is solving this problem make map use source object size
instead of proxy object size by comparing both size.

Test Plan

[Samle Code]

[Sample Image]

[Before apply map]

[After apply map WITHOUT patch]

[After apply map WITH patch]

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.
kimcinoo created this revision.Sep 20 2021, 1:34 AM
kimcinoo requested review of this revision.Sep 20 2021, 1:34 AM
kimcinoo updated this revision to Diff 31476.Sep 20 2021, 1:45 AM

Remove unnecessary changes

kimcinoo updated this revision to Diff 31477.Sep 20 2021, 1:47 AM

Remove unnecessary change

kimcinoo edited the test plan for this revision. (Show Details)Sep 20 2021, 1:52 AM
raster accepted this revision.Sep 20 2021, 2:11 AM
This revision is now accepted and ready to land.Sep 20 2021, 2:11 AM
This revision was automatically updated to reflect the committed changes.