Fix source rectangle changes every state change
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Thu, 2 Aug 2018 06:34:24 +0000 (15:34 +0900)
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Wed, 8 Aug 2018 06:06:16 +0000 (15:06 +0900)
commit0caf87a20096309a04fb2be1862de31bd573e564
treeac746c30df1fce1a4eb0dfd8dfafcb3c1b30cd29
parent4fe7381b8fb96576291c60b6d4367137e0e90f54
Fix source rectangle changes every state change

Window Manager changes source rectangle size every state change.
This patch changes it to set source rectangle first
when the surface is created.

Related commit: https://gerrit.automotivelinux.org/gerrit/#/c/15595/

Bug-AGL: SPEC-1584

Change-Id: Ia7429956053cfa18e6e82060f84f3b6fe755c0b1
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/window_manager.cpp