[Tizen] Fix partial update window rotation works well. 23/281023/1 accepted/tizen/unified/20220913.175613
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 8 Sep 2022 02:23:26 +0000 (11:23 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 8 Sep 2022 02:28:52 +0000 (11:28 +0900)
commitdd8d191705a2945b95ed1454a358d51bc10678a0
tree44d5a7a80c0b3a01c7d7f1fab66c0f0b2812549d
parent9e970ac15475a10b45b4d3ee74a3955d54036135
[Tizen] Fix partial update window rotation works well.

Currently, mDamagedRects should be "rotated" rects,
and others (clippingRect, mDamagedBufferRects) are not be rotated.

But current clippingRect merged by 'rotated' rects.

This patch make clippingRect calculate well.

And also, if clippingRect become empty, mDamagedRects not be changed.
so, It can make something annoying actions.

Change-Id: Ia8f35d32411e4ab3786f3a10c97d818a967a0afc
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/window-system/common/window-render-surface.cpp