e_mod_rotation_wl: doing rotation if ec is obscured by 32bit opaque window 10/254110/3
authorJunseok, Kim <juns.kim@samsung.com>
Tue, 23 Feb 2021 11:51:07 +0000 (20:51 +0900)
committerJunseok, Kim <juns.kim@samsung.com>
Fri, 5 Mar 2021 07:48:51 +0000 (16:48 +0900)
commit5a0c7bf5dcd61d29b60807c7d9d662466a2b5874
treedb12f5b5a0d91faadce592446f8ff7100fcf92a9
parentae7dd591acde28ab612af5a69681703eea825d91
e_mod_rotation_wl: doing rotation if ec is obscured by 32bit opaque window

There was a bug that below window didn't rotation under 32bit colored upper window changed from opaque to transparent.

The rotation activate trigger is uniconify rendering. (emits e,visibility,prepare,foreground signal)
The above window doing opaque_set -> opaque_unset, and The below window turns FULLY_OBSCURED -> UNOBSCURED.

But the below window is still uniconic state and didn't uniconify rendering, caused by the above window is 32bit colored and opaque state.
So, after the below window turn to UNOBSCURED, it still rotation deactivated.

To solve this problem, if the window is uniconic state, doing rotate under bg_client even if it is fully obscured window.

NOTE:: If above 32-bit opaque window draws translucent buffer, then below window may appear unrotated if below window has parent ec.

Change-Id: Ifc71b237f029f7b7bee153eb45e61824941e793c
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
src/rotation/e_mod_rotation_wl.c