evas map: check render condition more elaborately.
authorHermet Park <hermetpark@gmail.com>
Fri, 29 Jun 2018 00:58:41 +0000 (09:58 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Wed, 4 Jul 2018 05:12:56 +0000 (14:12 +0900)
commitd131f47bcd4912fd80773c9ed510d52809d073d8
treeae88de39c7688355f9fa7f6d8800db23255982a5
parentc7775a6bcb04b7c194a845020e54489f8f0a74ce
evas map: check render condition more elaborately.

Summary:
Ok, this was started from a bug that canvas getting not be updated.
If map is just disabled, at least one frame in the map region should be redrawn
So I added a condition 'map changed' in the render even though map is off
status. Now, I got a performance regression issue because it makes dirty
region is always true for the map object.

That is a corner case acutally, that object is not rendered but map still
have changed status.

I replaced the condition only if object is changed + map is changed.

At least, my test case works better with this patch.

@fix T6975

Reviewers: #committers, ManMower, devilhorns

Reviewed By: #committers, ManMower

Subscribers: ApB, ManMower, cedric, #committers, zmike

Tags: #efl

Maniphest Tasks: T6975

Differential Revision: https://phab.enlightenment.org/D6429
src/lib/evas/canvas/evas_render.c