Hit-test can hit more than 32 depth clipping actor. 76/272976/4
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 29 Mar 2022 02:54:24 +0000 (11:54 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 1 Apr 2022 12:56:51 +0000 (21:56 +0900)
commit43e2080419cc7ba14dd0ff0a526299dd9a064547
tree092d0489be81da3145f6037f7f6e3c9096a796da
parent464b9e4f68aec9a69ffd7e077bb03a176ce934a3
Hit-test can hit more than 32 depth clipping actor.

When clipping mode is CLIP_TO_BOUNDING_BOX, the limitation of
clipping depth doesn't exist. We can clipping near 2^15-depth.
But current clipping algorithm only allow 31-depth of clipping.

This patch make that we don't use depthmask in hit-test algorithm
When clipping mode is enabled, and current actor hit test failed,
just skip all children's hit test.

Note : CLIP_CHILDREN is kind of rendering method, So when clipping mode is
CLIP_CHILDREN, we can't detect how it "really" clipped.
This is physically limitation, so just ignore it.

Change-Id: I83524d6f96ccbb59d7b2802f1630c7e338b251a0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali/utc-Dali-HitTestAlgorithm.cpp
dali/internal/event/events/hit-test-algorithm-impl.cpp