hwc: fix sending worng touch position when ec is transform for hwc 86/186986/3
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 8 Aug 2018 08:21:45 +0000 (17:21 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 22 Aug 2018 02:59:29 +0000 (02:59 +0000)
commite4357f44697690aa8cb5aa605fce0aac76e976b1
treea6d693c98cd5208f7efa1b1f05f9a7240a73b1e0
parentcd203c1f0e197ea53277599d48fc7d742bac645f
hwc: fix sending worng touch position when ec is transform for hwc

- generally touch position is calculated with img object size(last child object of smart object).
- if ec is transform for hwc and screen rotation, img object is resized by transformed buffer
  and then evas calculate touch position with transformed size and e20 get worng touch position.
- for calculating touch position with surface size, e20 add map_input_obj and resize with surface
  size when ec is transformed
- but evas can't change evas_object which calculated (img obj->map_input_obj) when touch is pressed
- so ec isn't available hwc if client is needed transform and touch is pressed

Change-Id: Ide8d29a3f1d30c8cd69c434077c636ed90e5fe59
src/bin/e_hwc_planes.c
src/bin/e_hwc_windows.c