[3.0] Ensured consistency of scene graph and render items 53/126153/1
authorDavid Steele <david.steele@samsung.com>
Thu, 13 Apr 2017 13:21:22 +0000 (14:21 +0100)
committerNick Holland <nick.holland@partner.samsung.com>
Thu, 20 Apr 2017 08:42:17 +0000 (09:42 +0100)
commit4c8af0dfb14efdf61ab9eaf507dca05d13b36d0c
tree2c8be4d0a6c1b8d32e549783dcf58f1c4017eef6
parent103930bd66ec46f3a44e02412ca2273f0c7d2319
[3.0] Ensured consistency of scene graph and render items

There was a timing issue where UpdateManager's updateScene could be
false, but the messageQueue flushed messages to the process queue just
prior to ProcessSMessages being called which updated the scene graph.

Have ensured that ProcessMessages returns true if there were updates
to the scene graph, and changed UpdateManager to process the scene
appropriately.

Change-Id: I773f5eae2820ad1d93a78d0f3c784a7592ea320a
Signed-off-by: David Steele <david.steele@samsung.com>
dali/internal/update/manager/update-manager.cpp
dali/internal/update/queue/update-message-queue.cpp
dali/internal/update/queue/update-message-queue.h