[4.0] Fix to avoid render-task waiting forever 47/181447/1 accepted/tizen/4.0/unified/20180614.125418 submit/tizen_4.0/20180614.045225
authorPaul Wisbey <p.wisbey@samsung.com>
Tue, 12 Jun 2018 17:43:35 +0000 (18:43 +0100)
committerHeeyong Song <heeyong.song@samsung.com>
Thu, 14 Jun 2018 04:40:34 +0000 (13:40 +0900)
commitf4fbb66fb2618691a624e672ec9547d9f240a16b
tree7fb99dc9837816048f005a99092ef9dbd92ebf50
parent2d9b8427885bbf6ae4d31c54fac8905016fe8635
[4.0] Fix to avoid render-task waiting forever

We require a finished signal to be emitted after rendering to the screen,
i.e. to know when the scene has been rendered for the 1st time.

Unfortunately RenderTask SetRefreshRate(REFRESH_ONCE) is causing scene updates to run forever.
This is is due to the mWaitingToRender flag which in that case will never be set to false

Change-Id: I031c05e09c2a00117b74110be601fccaf1e3126a
dali/internal/update/render-tasks/scene-graph-render-task.cpp