e_util_transform: fix flickering when client attach null buffer 94/288194/1 accepted/tizen/unified/20230215.100702
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 13 Feb 2023 05:37:36 +0000 (14:37 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 13 Feb 2023 10:38:45 +0000 (19:38 +0900)
commit8b9b4842383a41219bb1f43b51e414de1a0a8cd8
treeb299bf696b17a0d6bdf4d29d6b7c38cc0a9ab99d
parent5853298df5f9e163eba83d9621e783ed319339a2
e_util_transform: fix flickering when client attach null buffer

client attach null buffer when it want to unmap
size of ec is updated by size of buffer and core transform use
size of ec.
so ec is transformed by 0x0 size when window  is unmapped and
core transform is enabled.
it cause flickering frame when client attach valid buffer after
it is unmapped.

ex) window is 1920x1080 and core transform size is 3840x2160
1. client attach null buffer and it is umapped
2. transform is updated by 0x0 size because size of ec is 0x0
3. but ec is visible because hide effect
3. client is rendered with transform 0x0 size
4. client attach 1920x1080 size buffer and transform is updated
   by 3840x2160
5. client is rendered with transform 3840x2160 size

Change-Id: Icd74973ae3bd18fda47fcadc47d9fad37bc667a5
src/bin/e_util_transform.c