Ensured consistency of scene graph and render items 68/125068/2
authorDavid Steele <david.steele@samsung.com>
Thu, 13 Apr 2017 13:21:22 +0000 (14:21 +0100)
committerDavid Steele <david.steele@samsung.com>
Thu, 13 Apr 2017 17:04:43 +0000 (18:04 +0100)
commit14d88559b9e6f8ba65bf26ef710f7040115c313e
treeb740defbbdfc60dcaaf3d04908e1c3236be60602
parent1fd51ce4009daf5b63b2127fc6f5c6d8c34c932e
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