Added new mechanism to order actor depths 74/126474/7
authorDavid Steele <david.steele@samsung.com>
Mon, 10 Apr 2017 18:38:01 +0000 (19:38 +0100)
committerDavid Steele <david.steele@samsung.com>
Tue, 2 May 2017 16:40:51 +0000 (16:40 +0000)
commit5bff9714dde9f2b394443337c65e673dcb4a031d
tree7729ab97454ba24780e4e2850d87e9aee1a5b405
parent22e6327dbd2567e2ad6163ba838dcbac5da5c470
Added new mechanism to order actor depths

At the end of each frame, if the actor tree was changed, or the
sibling order of any actor was modified, then the actor tree is
traversed to determine the new depth orders.

Currently, the depth order is written back to each actor's mSortedDepth,
and the nodes are updated with a single message containing the nodes
in depth order. (Could be used in a future patch to reduce renderer sorting)

Created a memory pool for managing the lifetime of the depth nodes that
exists for the lifetime of the application.

Change-Id: Iaed004eb8dc790fcc0f6f1b4822037054193b552
13 files changed:
automated-tests/src/dali-internal/CMakeLists.txt
automated-tests/src/dali-internal/utc-Dali-Internal-ActorDepth.cpp [new file with mode: 0644]
automated-tests/src/dali/utc-Dali-Actor.cpp
automated-tests/src/dali/utc-Dali-Renderer.cpp
dali/integration-api/debug.cpp
dali/integration-api/debug.h
dali/internal/common/core-impl.cpp
dali/internal/event/actors/actor-impl.cpp
dali/internal/event/actors/actor-impl.h
dali/internal/event/common/stage-impl.cpp
dali/internal/event/common/stage-impl.h
dali/internal/update/manager/update-manager.cpp
dali/internal/update/manager/update-manager.h