Keep node by id + Make SceneGraphTraveler don't travel anymore 62/305062/6
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 26 Jan 2024 04:12:28 +0000 (13:12 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 30 Jan 2024 03:15:09 +0000 (12:15 +0900)
commitea5015babf47755f2c3ad37a1ce2b62c758d57b9
tree828889d84db50e6311a27395dc1547f3cc18480e
parent274b94f2fb9e1c7cc6579e2c48ba7252562c0091
Keep node by id + Make SceneGraphTraveler don't travel anymore

Let we keep whole nodes cache by id.
And let we make scene graph traveler use this system instead of traveling.

Previously, if we want to check whether given node is under root node,
we should search whole childrens (travel up-to-down).

Instead, let we travel down-to-up, s.t. will spend much less time than before.

And also, let we make a way to user don't use root actor for frame callback.
It is not a neccessary if we ask to node to mUpdateManger.

Change-Id: Ied34d176a05c87687cbfe0530612d53606c7e7a4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 files changed:
automated-tests/src/dali/utc-Dali-FrameCallbackInterface.cpp
dali/devel-api/common/stage-devel.cpp
dali/devel-api/common/stage-devel.h
dali/internal/event/common/stage-impl.cpp
dali/internal/event/common/stage-impl.h
dali/internal/file.list
dali/internal/update/manager/frame-callback-processor.cpp
dali/internal/update/manager/frame-callback-processor.h
dali/internal/update/manager/global-scene-graph-traveler.cpp [new file with mode: 0644]
dali/internal/update/manager/global-scene-graph-traveler.h [new file with mode: 0644]
dali/internal/update/manager/scene-graph-frame-callback.cpp
dali/internal/update/manager/scene-graph-frame-callback.h
dali/internal/update/manager/scene-graph-traveler-interface.h [new file with mode: 0644]
dali/internal/update/manager/scene-graph-traveler.cpp
dali/internal/update/manager/scene-graph-traveler.h
dali/internal/update/manager/update-manager.cpp
dali/internal/update/manager/update-manager.h
dali/internal/update/manager/update-proxy-impl.cpp
dali/internal/update/manager/update-proxy-impl.h