evas_render: add restacked mapped obj to redraws rect 46/209046/2
authorShinwoo Kim <cinoo.kim@samsung.com>
Tue, 2 Jul 2019 02:44:08 +0000 (11:44 +0900)
committerHermet Park <chuneon.park@samsung.com>
Tue, 2 Jul 2019 07:29:28 +0000 (07:29 +0000)
commit1eb563f38a3563e6f135230538d91f7e77f0093b
treed48616878d1a4759b0be0c2b5f39754d5e847544
parentb9448e9bd36c0ea97c943d5877874307e8f5f590
evas_render: add restacked mapped obj to redraws rect

Summary:
We are adding A object area to the redraws rect when object stack is changed
from (1) to (2) if A object is not mapped.

(1)
 ┌────────┐
 │Object A│┐
 └────────┘│
  └────────┘

(2)
 ┌────────┐
 │┌────────┐
 └│Object B│
  └────────┘

But if A object is mapped, then we are adding only part of A object area.

(part of A)
 ┌────────┐
 │┌───────┘
 └┘

So the result of stack change is (1) not (2).
This patch set is adding restacked mapped object to the restack_objects array,
after changing the stack of mapped object to add correct redraws rect.

Test Plan: Attached example code

Reviewers: Hermet, jsuya

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9183

Change-Id: I571461a9dbf4dd67dd95d68ce47bf7ebef435a7a
src/lib/evas/canvas/evas_render.c