Add Window::SetPositionSize() and remove redundant value check 62/192862/11
authorJiyun Yang <ji.yang@samsung.com>
Mon, 12 Nov 2018 06:07:26 +0000 (15:07 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Thu, 15 Nov 2018 08:12:02 +0000 (17:12 +0900)
commit2ee98a57619a579e1a33bbcb340bf538eee90fff
treecba24b4cbd16c82fc3a695238c4313a981d43be7
parentf19a9556a3c088adefae7273bbe10685a7560804
Add Window::SetPositionSize() and remove redundant value check

For Window::SetPosition() and Window::SetSize(),
calling one after another does not guarantee to be displayed on the screen at once.
The new API SetPositionSize() can guarantee atomic "move + resize".

And this commit also removes duplicate and wrong surface rect check in
Window::SetPosition() and Window::SetSize().
Previously, WindowRenderSurface only allowed at least 2 pixel bigger/smaller size update,
but codes in Window did not fit this condition so that it could cause a bug.

Change-Id: I7479e5124906af8baafc5e2ec8d1a07d8845f007
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
build/tizen/adaptor/configure.ac
dali/devel-api/adaptor-framework/window-devel.cpp [new file with mode: 0644]
dali/devel-api/adaptor-framework/window-devel.h [new file with mode: 0644]
dali/devel-api/file.list
dali/internal/window-system/common/window-impl.cpp
dali/internal/window-system/common/window-impl.h
dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp
dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.h
packaging/dali-adaptor.spec