evas_textblock: fix clipper bug related with textblock 14/196214/1
authorJiyoun Park <jy0703.park@samsung.com>
Wed, 26 Dec 2018 08:14:10 +0000 (17:14 +0900)
committerJiyoun Park <jy0703.park@samsung.com>
Wed, 26 Dec 2018 08:14:10 +0000 (17:14 +0900)
commit6176ed699c963258ca055c137614ee55181d8118
tree8e8501aeed8172aadb25dba347878b2eaa87a5e7
parentccd1f78328b43983d1c2259d6b35a5dba2c813c2
evas_textblock: fix clipper bug related with textblock

assumtion: textblock A has the clipper rect B.

1. evas_render_updates_internal start
 : evas_object_clip_dirty_do( rect B)
 : evas_object_textblock_render_pre( textblock A)
   - if textlock A's o->redraw is EINA_TRUE (o->changed=1 is also same case)
   - textblock A's vis 1->0
   - clipper rect B lose the chance to call render_pre function.
   - clipper rect B's evas_render_mapped function is not called
 : pending_change(Rect B)
   - obj->pre_render_done = 0, so rect cannot be get the change to call evas_object_change_reset

when rect b remained the pending list and changed value is EINA_TRUE, it cause textblock's rendering problem

https://phab.enlightenment.org/D7512

Change-Id: I3624b85c39d0d79b0175965d26739a3a91505c97
src/lib/evas/canvas/evas_object_textblock.c