Page MenuHomePhabricator

evas/render: fix proxy clipping when source_clip is disabled
Needs ReviewPublic

Authored by zmike on Fri, May 10, 11:39 AM.

Details

Reviewers
Hermet
Summary

when source_clip is disabled, the clipper used should be the one used by
the proxy object. previously this would never be the case, meaning that
disabling source_clip had no effect

@fix
Depends on D8879

Diff Detail

Repository
rEFL core/efl
Branch
master
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 11355
zmike created this revision.Fri, May 10, 11:39 AM
Hermet requested changes to this revision.Mon, May 13, 1:37 AM

Please check a comment.

src/lib/evas/canvas/evas_render.c
1655

Should we ignore Proxy object's clipper ?

This seem bring different behavior.

obj->cur->cache.clip.x must be applied with src_obj->cur->cache.clip.x;

This revision now requires changes to proceed.Mon, May 13, 1:37 AM
zmike requested review of this revision.Mon, May 13, 4:35 AM
zmike added inline comments.
src/lib/evas/canvas/evas_render.c
1655

No, this is the exact same behavior; the only difference here is that the clip geometry is being accessed through proxy_render_data->src_obj after this patch instead of through the passed obj parameter.