[5.0] Add Window::SetPositionSize() and remove redundant value check 62/193662/1 accepted/tizen/5.0/unified/20181126.062102 submit/tizen_5.0/20181123.054101
authorJiyun Yang <ji.yang@samsung.com>
Mon, 12 Nov 2018 06:07:26 +0000 (15:07 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Fri, 23 Nov 2018 02:30:12 +0000 (11:30 +0900)
commit73f3cd8c03b0ac8d535e0ed528463fb387623d17
tree19fe62c01fe8ff33358f9e88d9cc2eba4b443a63
parentada40f512d38bd93635834a2bf1110fc2e784ce2
[5.0] 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