Fix viewport size when off-screen actor hittest 27/297627/6
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 22 Aug 2023 02:37:11 +0000 (11:37 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 22 Aug 2023 12:26:47 +0000 (21:26 +0900)
commitb9c25f13261e248e0267801abff869d32c2255b6
tree99c3a22884a187e4722378b26cd623bf5b24d5c4
parent954f7da3d9a718c8be913c7d2ee771457b08e060
Fix viewport size when off-screen actor hittest

There was some miss-conversion of screen coordinate
when we use offscreen rendering.

Since hit-test algorithm use converted-screen-coordinate
by inputMappingActor, we also need to use inputMappingActor
when we use viewport value.

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