[Tizen] (Partial update) Fix clipping area issue during window rotation 69/266769/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 18 Nov 2021 10:28:43 +0000 (19:28 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 18 Nov 2021 10:46:41 +0000 (19:46 +0900)
commit9f60d28693add365a94e756b156aefa90d2f147f
tree350e9be3c87c5cc4190d65bdd3d02dd8fb20205c
parent3f7bc4e6d64574cc2bfa1f202e8ee0d748f72913
[Tizen] (Partial update) Fix clipping area issue during window rotation

When window rotation events come from ecre, the result will be scored
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 clipping Rect will calculate wrong value.

This patch make clipping area always use current scene surface

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