evas: Restore flag pre_render_done in render_mapped 95/139695/2
authorjiin.moon <jiin.moon@samsung.com>
Thu, 20 Jul 2017 06:39:55 +0000 (15:39 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Fri, 21 Jul 2017 05:37:48 +0000 (05:37 +0000)
commita0576c799d911ace7a2fec3732db51c3e1e60adb
tree76c8f58bacb97002678e879518b89732cf7c5ca6
parentdd95f864b622ca58bb8cd1e7bdcb6bd11acae886
evas: Restore flag pre_render_done in render_mapped

Author:     Jean-Philippe Andre <jp.andre@samsung.com>
AuthorDate: Thu Jul 20 14:35:48 2017 +0900
Commit:     Jean-Philippe Andre <jp.andre@samsung.com>
CommitDate: Thu Jul 20 15:17:36 2017 +0900

    evas: Restore flag pre_render_done in render_mapped

    Some objects don't go through render_pre (unchanged, child
    of mapped parents), even though they will go through
    evas_render_mapped. Those were marked as pre_render_done
    inside evas_render_mapped since it seemed to fix some issues
    a long time ago.

    Unfortunately, if those objects are changed their flag may
    not be reset to false, which means they never go through
    render_pre, leading to render issues.

    I believe simply restoring the value of the pre_render_done
    flag should be good enough. I don't know why it is set to
    true inside evas_render_mapped but I also don't want to find
    out :)

    See 9ac13e4aec83ea6dadfa62e4253b1db4ffe167e8 (old)
    See 87e5e70a9d888ce93ed807bb0d39d1738241ad9b (older)

    Patch made with @jiin.moon

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