Page MenuHomePhabricator

map: Implement objects auto-buffering or explicit buffering (like mapbuf)
Open, WishlistPublic

Description

ORIGINAL TITLE: Refactor mapbuf

Elm_Mapbuf should become Efl.Ui.Mapbuf, inherit from container and frame.

cedric created this task.Mar 30 2017, 2:35 AM
jpeg added a comment.May 12 2017, 12:48 AM

No. Mapbuf should be removed. It is not necessary and should be done at a lower level using map internally, but without explicitely mentionning map. The new Efl.Gfx.Map API may help as it is an API on the object itself, and it supports move/resize tracking by default. This is basically related to the many talks about auto-buffering objects, except that here we want the buffering to be manual: always buffer this object if I tell you to. I believe this would be a hint on the object, like auto-buffer "default", "never", "always"... Or a percentage point like 0 = never buffer, 100 = always buffer, and anything in between triggers some kind of "smart" logic to determine if this object should be buffered.

jpeg claimed this task.May 12 2017, 12:48 AM
jpeg renamed this task from Refactor mapbuf to map: Implement objects auto-buffering or explicit buffering (like mapbuf).
jpeg updated the task description. (Show Details)
cedric added a comment.Jun 8 2017, 2:56 PM

I was wondering if that wasn't done actually ? I remember we were talking about last time I was in korea, but I have lost track of it got implemented.

jpeg added a comment.Jun 8 2017, 8:10 PM
In T5316#88535, @cedric wrote:

I was wondering if that wasn't done actually ? I remember we were talking about last time I was in korea, but I have lost track of it got implemented.

Autobuffering is clearly not done. Even this explicit property or hint is not there. We've been talking about those things a lot but nothing was done yet.

In fact one thing I probably need to check is how mapbuf works wrt. geometry changes, as in case of movement only (scroll) we don't want the map to be redrawn, obviously. Evas would need to know that magically.

cedric raised the priority of this task from TODO to High.Jul 10 2017, 2:25 PM
jpeg lowered the priority of this task from High to Wishlist.Sep 19 2017, 3:23 AM
zmike edited projects, added Restricted Project; removed efl.Jun 11 2018, 6:58 AM
zmike edited projects, added efl: rendering; removed Restricted Project.Jun 11 2018, 7:41 AM