Page MenuHomePhabricator

ui transit: improve zoom effect smoothness by subpixel rendering.
ClosedPublic

Authored by Hermet on Nov 23 2020, 8:34 PM.

Details

Summary

evas image might have a better quaility if scaling/transform is not necessary,
so we have a condition to check if image is axis-aligned transformed or not.

On the other hand sub-pixel(floating point coordinates unit) rendering necessary
if image has an effect such a zooming. This would result in a smoother effect
than integer coodinate system.

We need a more precise condition to confirm this,
so we intrduce "anti-alias" option to decide the condition.
now, anti-aliased objects will have a sub-pixel rendering always.

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.
Hermet created this revision.Nov 23 2020, 8:34 PM

It seems that this patch has no reviewers specified. If you are unsure who can review your patch, please check this wiki page and see if anyone can be added: https://phab.enlightenment.org/w/maintainers_reviewers/

Hermet requested review of this revision.Nov 23 2020, 8:34 PM
jsuya added a comment.Nov 23 2020, 8:43 PM

I have a question. In the case of _transit_effect_rotation_op, is anti_alias not necessary?

Hermet added a comment.EditedNov 24 2020, 5:09 PM

I have a question. In the case of _transit_effect_rotation_op, is anti_alias not necessary?

no, axis-aligned transformed condition requires this.

This revision was not accepted when it landed; it landed in state Needs Review.Nov 24 2020, 5:16 PM
This revision was automatically updated to reflect the committed changes.