Allow to set render effect for off-scene control + Auto deactivate if invisible 51/315351/3
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 30 Jul 2024 12:29:57 +0000 (21:29 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 31 Jul 2024 11:42:14 +0000 (20:42 +0900)
commit73d3885d000117305d67bbd0af47ecedd89dbcfc
tree2a47a40d6c8d28de04969bec401101b20dbd4718
parentc89821e2838bdbb35bd287350bc91f42fa22758e
Allow to set render effect for off-scene control + Auto deactivate if invisible

Let we don't activate the render effect if owner control is not on scene.

And also, auto deactivate if view is invisible + auto activate
if view is visible again.

And Deactivate & Activate is scensitive as changeness of owner control,
Let we Deactivate first before we change the owner control

TODO : Currently we don't consider the SceneHolder's visibility.
It will be fixed after InheritVisibilityChanged signal consider Scene's visibility.

Change-Id: If1f3cdc176a28135b9f7a3184e736b375357a1b3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-toolkit/utc-Dali-RenderEffect.cpp
dali-toolkit/internal/controls/render-effects/blur-effect-impl.cpp
dali-toolkit/internal/controls/render-effects/blur-effect-impl.h
dali-toolkit/internal/controls/render-effects/render-effect-impl.cpp
dali-toolkit/internal/controls/render-effects/render-effect-impl.h
dali-toolkit/public-api/controls/control-impl.cpp