Prevent event thread from picking up notifications too soon 89/24089/1
authorKimmo Hoikka <kimmo.hoikka@samsung.com>
Tue, 24 Jun 2014 17:22:36 +0000 (18:22 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 13:19:38 +0000 (14:19 +0100)
commit4c0a88c52820b7471e15465ac7caf3c7165a0790
tree2d5bb6d38a04fcbace10e56bcaad3d37ce22d895
parent5bfdf2c8ca6f23e2d71ba587a74074f977ba6a38
Prevent event thread from picking up notifications too soon

[problem]      Animation-finished and property-notifications can be fired off too soon.
[cause]        We queue the message from update straight away, even before the scene has been
               updated.
[solution]     Create another buffer in the notification-manager which is only swapped at the end
               of the update.

Change-Id: I7b72fa2485ed9faa606b52a3925e111df2931776
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
automated-tests/src/dali/tct-dali-core.h
automated-tests/src/dali/utc-Dali-Animation.cpp
dali/internal/event/common/notification-manager.cpp
dali/internal/event/common/notification-manager.h
dali/internal/update/manager/update-manager.cpp