evas - render - clear out pending object array more aggressively
authorViacheslav Lvov <v.lvov@samsung.com>
Thu, 19 Dec 2013 08:34:05 +0000 (17:34 +0900)
committerCedric BAIL <cedric.bail@samsung.com>
Fri, 20 Dec 2013 05:43:23 +0000 (14:43 +0900)
commit067cbf6df84943c86646b57d87c5ec3c3fd17fbb
tree5432bfa0dfd07ce563f40ead880643fcfb867c28
parent846bbafbfb23c3b01eacb7a5382087ff978dfeae
evas - render - clear out pending object array more aggressively

There was detected that pending_objects array of Evas structure of
email application stores at least 550 objects that never are removed
from this array. These objects are not active and are not about to render.
We know that once the decision not to remove changed objects from this
array was accepted. But then the criterion of leaving object in this
array was weakened.
We propose to weaken this criterion more sufficiently – do not store
in this array objects that can not be cause of whole canvas
invalidation. Our exact proposal for this criterion you can see in the
patch attached to this issue.

NOTE: This patch is a try, there may be some side effect especially with
mapped object that we didn't find, so it could be reverted if before the
release of 1.9 we see anything wrong.

Reviewers: cedric

CC: cedric, seoz
Differential Revision: https://phab.enlightenment.org/D354

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
src/lib/evas/canvas/evas_render.c