Page MenuHomePhabricator

evas proxy: make it work for load_region
Needs RevisionPublic

Authored by kimcinoo on Thu, Nov 7, 9:55 PM.

Details

Reviewers
Hermet
jsuya
Summary

This makes a proxy object use a selective region of a source object.
So far a proxy has not worked for load_region at all.
This should be better solution than https://phab.enlightenment.org/D10604
introducing new interface.

This is useful when the source is too big to allocate a proxy surface.
This will be used by elm_scroller to solve following issue.

[Issue]
If size of elm_sclloer content is too big, then the proxy of
elm_scroller to show loop effect does not work. Because
evas_gl_common_image_surface_new does not allow
bigger size surface than max_texture_size

Diff Detail

Repository
rEFL core/efl
Branch
evas.proxy_work.for.load.region
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 14409
Build 9918: arc lint + arc unit
kimcinoo created this revision.Thu, Nov 7, 9:55 PM
kimcinoo requested review of this revision.Thu, Nov 7, 9:55 PM
Hermet requested changes to this revision.Mon, Nov 11, 4:40 PM

Hmm does this work for smart objects source ?
Very simple solution to fix this issue, user can set the source object as scroller viewport object, not the origin content.

This revision now requires changes to proceed.Mon, Nov 11, 4:40 PM

Hmm does this work for smart objects source ?

Yes sure I tested with a smart object - genlist - first. And then tested a image object as attached example of D10604.

Very simple solution to fix this issue, user can set the source object as scroller viewport object, not the origin content.

Doesn't the scroller viewport show current page, not the first(?) part of content? How does it solve the scroller loop effect issue?

This patch could be separated from the scroller issue.
This patch makes proxy work for load_region.