(Partial update) Fix clipping area issue during window rotation 68/266768/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 18 Nov 2021 10:07:53 +0000 (19:07 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 19 Nov 2021 06:31:41 +0000 (15:31 +0900)
commite6a69cad03f49c25af199383f30ff750495242e2
tree5d49a9ae11f7744ba4a84479c5802d1f3dd32e69
parent423ab83b310505876a134716176f7fcc32d658c0
(Partial update) Fix clipping area issue during window rotation

When window rotation events come from ecore, the result will be stored
at mPositionSize, and send event message to render thread.

But when the event is not comes to render thread,
the window's size value (mPositionSize) and
the scene's size value (scene.GetCurrentSurfaceRect()) mismatched
So the clippingRect will calculate wrong value.

This patch make clipping area always use current scene surface

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