(Partial Update) partiall update after window rotation works well. 22/281022/5
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 8 Sep 2022 02:23:26 +0000 (11:23 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 15 Sep 2022 08:50:36 +0000 (17:50 +0900)
commit6b4108f04f472159680aa772d98ac612a462f76f
tree6c50e4928a905581505ba4d64bf1c856ce0337b4
parentdacef8cd2e74fdf6b9e2d7c1a1b924c5bf3c3f72
(Partial Update) partiall update after 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 should be cleared.

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