Sort overlay actors based on depth index 50/56750/6
authorFerran Sole <ferran.sole@samsung.com>
Tue, 12 Jan 2016 10:28:23 +0000 (10:28 +0000)
committerFerran Sole <ferran.sole@samsung.com>
Wed, 13 Jan 2016 16:15:35 +0000 (08:15 -0800)
commit9fc3347f997470d6336f116b6ecef159f35ff8cc
treef2f7765c467f8c6f3624d24457bb77b66626ce7e
parenta1839bfc1e941c604fdcfde5a6a88deaa54ccfdf
Sort overlay actors based on depth index

Overlay actors were not ordered by depth index for rendering

* Sort overlay actors using same algorithm used by "regular" actors
* Fixed bug in hit test algorithm for overlay actors
* Added test cases to check rendering order of color and overlay actors in 2D layers

Change-Id: I004019faf74a70d3c05502d95c665162cf9f924b
automated-tests/src/dali-devel/utc-Dali-HitTestAlgorithm.cpp
automated-tests/src/dali-devel/utc-Dali-Renderer.cpp
automated-tests/src/dali/dali-test-suite-utils/test-trace-call-stack.cpp
automated-tests/src/dali/dali-test-suite-utils/test-trace-call-stack.h
dali/internal/event/events/hit-test-algorithm-impl.cpp
dali/internal/update/manager/prepare-render-instructions.cpp