platform/upstream/enlightenment.git
5 years agoe_plane: get every time available formats from tdm_layer 80/189080/1
Changyeon Lee [Thu, 13 Sep 2018 02:55:30 +0000 (11:55 +0900)]
e_plane: get every time available formats from tdm_layer

pointer of formats which get from tdm_layer is possible freed.
so e_plane doens't store formats.

Change-Id: I46f52bfcdc9174ce667bf27d61710b6eeaca88c4

5 years agoe_comp: use e_comp_client_override_add/del in case client needs compositing 79/189079/1
Changyeon Lee [Thu, 13 Sep 2018 07:01:57 +0000 (16:01 +0900)]
e_comp: use e_comp_client_override_add/del in case client needs compositing

Change-Id: Id37646c52d7baded448221af60ddd05eba2b42a6

5 years agoe_comp: add e_comp_client_override_add/del 78/189078/1
Changyeon Lee [Thu, 13 Sep 2018 06:58:42 +0000 (15:58 +0900)]
e_comp: add e_comp_client_override_add/del

e_comp_override_add/del is called to unset all hwc plane.
but some case doesn't need to unset all hwc plane.
hwc plane is unset if ec of hwc is locate to below client
which wanted to compositing.

Change-Id: I2bf59e158ddb50953091b85db435e90364e896d3

5 years agoe_comp_wl: lower log level for POSSIZE 06/189006/1 accepted/tizen/unified/20180914.080358 submit/tizen/20180913.113141
Juyeon Lee [Wed, 12 Sep 2018 10:44:20 +0000 (19:44 +0900)]
e_comp_wl: lower log level for POSSIZE

Change-Id: Id4daeaa4a0c6b6f9ea28dd0269ac41822f27a6a0

5 years agoe_comp_wl: update serial when wl_surface_commit 04/187004/7 accepted/tizen/unified/20180913.063835 submit/tizen/20180912.042521
Juyeon Lee [Fri, 17 Aug 2018 07:04:00 +0000 (16:04 +0900)]
e_comp_wl: update serial when wl_surface_commit

by using wayland_tbm_server_buffer_get_buffer_serial,
get serial number from wl_buffer
and assign it into ec->surface_sync.serial

Change-Id: Ie84a0861fd1153e104131052a9418231c0d75735

5 years agoe_comp_wl: fix pending_geometry condition 07/188807/1 accepted/tizen/unified/20180911.055411 submit/tizen/20180910.115140 submit/tizen/20180913.064436
Juyeon Lee [Mon, 10 Sep 2018 11:45:05 +0000 (20:45 +0900)]
e_comp_wl: fix pending_geometry condition

Change-Id: I8a4a6cebd00f0314fc0409b263f881953bc58136

5 years agoe_comp_wl: pending geometry is applied once size is fit 20/186620/9
Juyeon Lee [Mon, 13 Aug 2018 02:21:09 +0000 (11:21 +0900)]
e_comp_wl: pending geometry is applied once size is fit

todo : the code will be reverted once client serial commit works

Change-Id: Ia6f38624fa6ea735acd82110f746b7831b3ee05f

5 years agoSupport tizen_move_resize iface 19/186619/11
Juyeon Lee [Mon, 13 Aug 2018 02:01:49 +0000 (11:01 +0900)]
Support tizen_move_resize iface

Client window is driven its move,resize by display server using xdg_shell.
btw some tizen application wants to make its position and size while they're shown
server received tz_position, and resized buffer in consequence so far.
but client's position, and buffer delivery does not always come to server at the
same idler loop. In that case, user could see move first, and resize after a sec.
here, added new wl protocol and make the move and resize happen at the sametime.

Change-Id: Idfa4c08fe63dae58c597f9d9076d66bba569c8c5

5 years agoe_devicemgr_inputgen: fixed null pointer dereference 90/188790/1
Gwanglim Lee [Mon, 10 Sep 2018 08:47:20 +0000 (17:47 +0900)]
e_devicemgr_inputgen: fixed null pointer dereference

Change-Id: I4d1db3a575425b1e25a6c5b17f5017fbcba8e264

5 years agoe_desk: add E_EVENT_DESK_GEOMETRY_CHANGE event 32/188732/3
Doyoun Kang [Mon, 10 Sep 2018 02:25:33 +0000 (11:25 +0900)]
e_desk: add E_EVENT_DESK_GEOMETRY_CHANGE event

Change-Id: I27b01570ed2ae2ba3a1c807ba951573de3a5cb1b

5 years agoe_client: modified e_client_geomentry_get to return valid x and y values when calling... 45/188745/1
Gwanglim Lee [Mon, 10 Sep 2018 04:42:21 +0000 (13:42 +0900)]
e_client: modified e_client_geomentry_get to return valid x and y values when calling it at the idle time.

Since there was no image buffer in e_comp_object before ec was not mapped,
e_client_geomentry_get had returned (0, 0) position value. From now, it is
changed to return x and y values of ec itself instead of returning invalid
values.

Change-Id: Ie6bfcda214b9608ea18f8511eaef8a20ea9d6a7b

5 years agoe_keyrouter: get release events from focus hook if you send key to specific surface 56/188256/4 accepted/tizen/unified/20180906.144228 submit/tizen/20180906.102505
JengHyun Kang [Mon, 3 Sep 2018 10:07:38 +0000 (19:07 +0900)]
e_keyrouter: get release events from focus hook if you send key to specific surface

Change-Id: I122c89afcce1c5a9daf10ac9426c99637f726094

5 years agoe_devicemgr: import devicemgr module to enlightenment core 15/188015/5
JengHyun Kang [Thu, 30 Aug 2018 09:39:01 +0000 (18:39 +0900)]
e_devicemgr: import devicemgr module to enlightenment core

Change-Id: If7d9a33e173d24e71ef4ae252ce9382a7f206fa4

5 years agoe_hwc: add the log of the evas engine name 68/188168/1 accepted/tizen/unified/20180904.172538 submit/tizen/20180904.022811
SooChan Lim [Mon, 3 Sep 2018 01:44:20 +0000 (10:44 +0900)]
e_hwc: add the log of the evas engine name

Change-Id: I38b1b0e95c3870f6451f5d7508609f0eefaeb1c1

5 years agoe_comp: set the avoid_afill before e_comp_screen_init 67/188167/1
SooChan Lim [Mon, 3 Sep 2018 02:08:22 +0000 (11:08 +0900)]
e_comp: set the avoid_afill before e_comp_screen_init

Change-Id: I887bc86b1c0512811af7d5281ee2a469c7207c15

5 years agohwc: add condition of hwc in case of quickpanel 95/187995/2
Changyeon Lee [Thu, 30 Aug 2018 07:37:29 +0000 (16:37 +0900)]
hwc: add condition of hwc in case of quickpanel

Change-Id: I57d86f90cc6c3f651b6dbf4ea38fd92320b24b4e

5 years agoe_comp: calculate and send touch cancel when visibility is changed during touch 72/187972/2
JengHyun Kang [Thu, 30 Aug 2018 05:21:09 +0000 (14:21 +0900)]
e_comp: calculate and send touch cancel when visibility is changed during touch

Change-Id: Ib5f1da04ce99004a4436b6430b48de0d0be36e38

5 years agoe_gesture: adding x and y coordinate in tap event 56/187956/1
JengHyun Kang [Thu, 30 Aug 2018 04:05:27 +0000 (13:05 +0900)]
e_gesture: adding x and y coordinate in tap event

Change-Id: I3948887ffa5b7533a43b72f91748a7c634b61e5b

5 years agoe_utils: fix a memory leak 64/187764/1 accepted/tizen/unified/20180829.142824 submit/tizen/20180828.083306 submit/tizen/20180828.112301
Sung-Jin Park [Tue, 28 Aug 2018 07:45:30 +0000 (16:45 +0900)]
e_utils: fix a memory leak

Change-Id: I36abc0e8546a36529f457b5e9a571173c978fb7b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agohwc_window_queue: add missing release buffer queue 81/187381/2
Changyeon Lee [Wed, 22 Aug 2018 11:02:13 +0000 (20:02 +0900)]
hwc_window_queue: add missing release buffer queue

Change-Id: I85f4318a85567dd41aa45ca4f43c52bebba4d78d

5 years agohwc_window_queue: fix wrong argument passing 61/187361/3
Changyeon Lee [Wed, 22 Aug 2018 08:04:25 +0000 (17:04 +0900)]
hwc_window_queue: fix wrong argument passing

Change-Id: I9a7b2f0ef1ab3c690362ea5713fa0bc7f9bd62df

5 years agoe_pointer: initialize variables when hide a pointer 27/187327/3
JengHyun Kang [Wed, 22 Aug 2018 05:18:49 +0000 (14:18 +0900)]
e_pointer: initialize variables when hide a pointer

Change-Id: I9fdb3a50be329fddd3effd0241f106d0acc9d85b

5 years agohwc_windows: update preparation before update render target 76/187276/2
Changyeon Lee [Fri, 17 Aug 2018 10:54:39 +0000 (19:54 +0900)]
hwc_windows: update preparation before update render target

Change-Id: I38baa108cbb19deb0508a8281a7d281909151fd4

5 years agohwc: fix sending worng touch position when ec is transform for hwc 86/186986/3
Changyeon Lee [Wed, 8 Aug 2018 08:21:45 +0000 (17:21 +0900)]
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

5 years agoe_plane_renderer: allocate reserved tsurface according to output rotation 89/186889/4
Changyeon Lee [Mon, 6 Aug 2018 08:24:21 +0000 (17:24 +0900)]
e_plane_renderer: allocate reserved tsurface according to output rotation

Conflicts:
src/bin/e_plane_renderer.c

Change-Id: Iceea0d0f2bbb2742793e64e0fb10ada5174d1263

5 years agoe_client: check mapped condition when e_client_iconify 79/187179/1
Doyoun Kang [Mon, 20 Aug 2018 11:45:53 +0000 (20:45 +0900)]
e_client: check mapped condition when e_client_iconify

There was a bug that the unmapped window was iconified by window manager.
So, we add code to check an unmap state of window in e_client_iconify function.

Change-Id: I3cc8df8d59eb0feef4e533191c54841aa0b61c76

5 years agoe_client: check mapped condition before calling evas_object_show in e_client_uniconify 76/187176/2
Doyoun Kang [Mon, 20 Aug 2018 09:59:04 +0000 (18:59 +0900)]
e_client: check mapped condition before calling evas_object_show in e_client_uniconify

The window which had unmapped and iconified by client didn't show when it called show at the first time.
We fixed this problem.

Also, this patch can resolve a bug resolved by below patch.
  - e_client: check mapped condition when e_client_uniconify
  - commit id: 632261617acada66b019931de981eed332f50f04

Change-Id: Ibc5b84ee047002e5d6ee9bfd7c4a4284ffab8174

5 years agoe_input_device: get/set udev monitor information on libinput 27/187127/6 accepted/tizen/unified/20180821.091115 submit/tizen/20180820.112831
Sung-Jin Park [Mon, 20 Aug 2018 07:18:27 +0000 (16:18 +0900)]
e_input_device: get/set udev monitor information on libinput

Change-Id: I71cc583e2f0c059137f89321529abcca9afae5d8
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agofixed a warning 52/187152/2
Gwanglim Lee [Mon, 20 Aug 2018 08:51:16 +0000 (17:51 +0900)]
fixed a warning

Change-Id: I6bfd737b116b1d6bd6dd07ac6739f73aee4b4132

5 years agoe_comp_wl_viewport: Set 'viewport->destination.mode.resource' to null when resource... 26/187126/1
Seunghun Lee [Mon, 20 Aug 2018 07:10:23 +0000 (16:10 +0900)]
e_comp_wl_viewport: Set 'viewport->destination.mode.resource' to null when resource is destroyed.

fix heap-use-after-free issue.

Change-Id: I24e0f4814f80ebf335a36934bfe88ece2cb2b985

5 years agoadd avoid_afill option 03/187003/2 accepted/tizen/unified/20180820.153936 submit/tizen/20180820.053147
SooChan Lim [Mon, 30 Jul 2018 08:31:59 +0000 (17:31 +0900)]
add avoid_afill option

The avoid_afill option is for initializing ecore_evas engine.

When the avoid_afill is 1, e20 uses the gl_tbm_ES engine.
The gl_tbm_ES engine does not fill 0xff the alpha channel even if
the depth of the ecore_evas is 24 depth and the bpp of the buffer
is 32bits.
Otherwise, the gl_tbm engine which is used when the avoid_afill is 0
(default value) fills the 0xff at the same condition.

p.s. this patch is temporary. therefore it will be revoved later.

Change-Id: I8af6e3be883d800687a8cfd893bd5f5c2555eddf

5 years agoe_comp_wl_video: fix wrong argument passing 99/186999/1
Junkyeong Kim [Fri, 17 Aug 2018 06:35:57 +0000 (15:35 +0900)]
e_comp_wl_video: fix wrong argument passing

Change-Id: Ibfb3260f557c73178c9e4ad8ea5643e8a3541ceb
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_plane:remove pp_pending data only dpms off 97/186897/1
Junkyeong Kim [Thu, 16 Aug 2018 09:55:04 +0000 (18:55 +0900)]
e_plane:remove pp_pending data only dpms off

Change-Id: I011549447ba9db9fff09e89e35609d6bc6103fa0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_policy_visibility: add code to check child's uniconify_render state in intercept... 33/186733/2
Doyoun Kang [Tue, 14 Aug 2018 01:09:56 +0000 (10:09 +0900)]
e_policy_visibility: add code to check child's uniconify_render state in intercept show

There was a case that a window was waiting for uniconify_render of child window which
had done uniconify_render in intercept show function.
So, we add an additional checking code not to wait child's uniconify_render.

Change-Id: I0ae12a4dded3bb9db61db8da95d991f6217dba2e

5 years agoe_xdg_shell_v6: fix typo 43/186743/1
Seunghun Lee [Mon, 13 Aug 2018 12:21:04 +0000 (21:21 +0900)]
e_xdg_shell_v6: fix typo

Change-Id: Ia786ffb8a768c23f717f09b55e915cb8a17fad9b

5 years agoe_xdg_shell_v6: set null after destroying shell of e_client, ec will be freed. 42/186742/1
Seunghun Lee [Mon, 13 Aug 2018 11:51:18 +0000 (20:51 +0900)]
e_xdg_shell_v6: set null after destroying shell of e_client, ec will be freed.

fix memory violation, heap-use-after-free

Change-Id: I97b665e317e2e0decd8820e592fdd0e9e9505068

5 years agoe_comp_wl: accepts_focus set true at wl_surface_create instead of xdg_shell_toplevel_set 74/186674/2
JunSeok, Kim [Mon, 13 Aug 2018 07:38:26 +0000 (16:38 +0900)]
e_comp_wl: accepts_focus set true at wl_surface_create instead of xdg_shell_toplevel_set

if accepts_focus set TRUE in xdg_shell_toplevel_set can occure timing issue with focus_skip_set.
in evas_object_show, xdg_shell_toplevel_set is always set the accepts_focus to TRUE
if visibility calculation occurs before processing tizen_policy_set_focus_skip, focus will be in&out quickly.
this patch fix the issue.

Change-Id: I9441770a0c050899da32896833174dd4db709f4b

5 years agoe_input: set correct coords info following correct mt_slot 50/186550/1
JengHyun Kang [Fri, 10 Aug 2018 09:08:23 +0000 (18:08 +0900)]
e_input: set correct coords info following correct mt_slot

Change-Id: I48426afedc3c432c7664d6a71a74a43dffc036d0

5 years agoe_comp_wl: send key events to E_client's wayland client 38/186538/3 accepted/tizen/unified/20180813.061425 submit/tizen/20180810.062205
JengHyun Kang [Fri, 10 Aug 2018 06:40:56 +0000 (15:40 +0900)]
e_comp_wl: send key events to E_client's wayland client

Change-Id: Ieccb7fb8a3bdb69ff99e2a41c35881513d4a0192

5 years agohwc_windows: set hwc_window to queue if preparation type is buffer queue 34/186434/3
Changyeon Lee [Thu, 9 Aug 2018 03:00:47 +0000 (12:00 +0900)]
hwc_windows: set hwc_window to queue if preparation type is buffer queue

Change-Id: Ic756a029adf687d8fa55bbe04fbe003e6482025b

5 years agohwc_windows: support displaying video of hwc_window 33/186433/1
Changyeon Lee [Wed, 8 Aug 2018 09:58:25 +0000 (18:58 +0900)]
hwc_windows: support displaying video of hwc_window

Change-Id: I29f0f95f979c2ca27bc8ee4f6113dbd8d13c530a

5 years agohwc_window_queue: remove unused value 65/186365/2
Changyeon Lee [Thu, 9 Aug 2018 07:11:29 +0000 (16:11 +0900)]
hwc_window_queue: remove unused value

Change-Id: Ie333a85dd8d7ac28d61adda7edeb5e8ad86f4b1d

5 years agohwc_window_queue: fix memory leak 64/186364/2
Changyeon Lee [Thu, 9 Aug 2018 07:05:21 +0000 (16:05 +0900)]
hwc_window_queue: fix memory leak

Change-Id: Iaa4579ab2cb0f04a1075d2cb73615dba94365c68

5 years agoe_test_helper: added null check of ec 69/186369/2
JunSeok, Kim [Thu, 9 Aug 2018 07:29:39 +0000 (16:29 +0900)]
e_test_helper: added null check of ec

Change-Id: I2bdd23ead16815a616a30816d17056bccdf91902

5 years agoe_utils: free dir_path under error condition. 66/186366/2
JunSeok, Kim [Thu, 9 Aug 2018 07:17:10 +0000 (16:17 +0900)]
e_utils: free dir_path under error condition.

Change-Id: I5b62c33ea3452b9628425db0b85b0bbdfb0920da

5 years agoe_info_server: Moved log before destroy client that used in the log 61/186361/2
JunSeok, Kim [Thu, 9 Aug 2018 07:11:52 +0000 (16:11 +0900)]
e_info_server: Moved log before destroy client that used in the log

Change-Id: I1ab517785247eb3ff921bd31cce0235cbb2ed015

5 years agohwc_window_queue: fix dereferencing null pointer 63/186363/1
Changyeon Lee [Thu, 9 Aug 2018 07:02:54 +0000 (16:02 +0900)]
hwc_window_queue: fix dereferencing null pointer

Change-Id: I893fab3dadbad1aa743b5911415cdbe6d15c85f1

5 years agohwc_window_queue: remove unnecessary null checking 62/186362/1
Changyeon Lee [Thu, 9 Aug 2018 06:50:11 +0000 (15:50 +0900)]
hwc_window_queue: remove unnecessary null checking

Change-Id: I3db95bc6b6dea63a3a23cb61e97c7c4160304289

5 years agoe_info_server/client: add an option to destroy a wayland client with the given pid 05/186005/2 accepted/tizen/unified/20180807.061056 submit/tizen/20180807.031351
Sung-Jin Park [Mon, 6 Aug 2018 11:27:39 +0000 (20:27 +0900)]
e_info_server/client: add an option to destroy a wayland client with the given pid

Change-Id: I50243921028643af7d0519f9306899a9cfc398a1
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agoe_xdg_shell_v6: used 'e_object' for managing instance of E_Xdg_Surface. 02/185602/2
Seunghun Lee [Tue, 31 Jul 2018 08:48:45 +0000 (17:48 +0900)]
e_xdg_shell_v6: used 'e_object' for managing instance of E_Xdg_Surface.

A instance of 'E_Xdg_Surface' is shared for zxdg_surface_v6, zxdg_toplevel_v6
and zxdg_popup_v6. So, managed it by e_object's reference method.

Change-Id: I3d3e19456e7240b6785ae65ef3d9160d730e9002

5 years agoe_xdg_shell_v6: reset E_Client's xdg_shell assignment when xdg_surface is destroyed. 01/185601/2
Seunghun Lee [Tue, 31 Jul 2018 05:35:02 +0000 (14:35 +0900)]
e_xdg_shell_v6: reset E_Client's xdg_shell assignment when xdg_surface is destroyed.

Change-Id: I4b1516b8abca91e7e968428e9a0c3f15464a5b49

5 years agoe_xdg_shell_v6: Freed a memory 'E_Xdg_Surface_Configure' when cleanup the configure_list. 00/185600/2
Seunghun Lee [Mon, 30 Jul 2018 09:46:16 +0000 (18:46 +0900)]
e_xdg_shell_v6: Freed a memory 'E_Xdg_Surface_Configure' when cleanup the configure_list.

fix a memory leak

Change-Id: I7329678c86dbd864d8afae021d6dc4f99c8e3331

5 years agoe_xdg_shell_v6: compare with proper enum type 99/185599/2
Seunghun Lee [Mon, 30 Jul 2018 09:42:53 +0000 (18:42 +0900)]
e_xdg_shell_v6: compare with proper enum type

Change-Id: I7572b5192e98394e5252c7e4b601ed1285d6236f

5 years agohwc_window: redesign hwc_windows to prevent flickering in transition 70/185670/2
Changyeon Lee [Wed, 1 Aug 2018 09:26:15 +0000 (18:26 +0900)]
hwc_window: redesign hwc_windows to prevent flickering in transition

- always update buffer and info are changed
- if buffer of target_window isn't matched with current evaluation, skip buffer
- hwc only evaluate windows when visible_window or buffer or info are changed

Change-Id: I481086e190ca96d58c638abbd892c27949331ad4

5 years agohwc_windows: use tdm_hwc_commit instead tdm_output_commit 69/185669/2
Changyeon Lee [Wed, 1 Aug 2018 09:06:21 +0000 (18:06 +0900)]
hwc_windows: use tdm_hwc_commit instead tdm_output_commit

Change-Id: I24c39020fcceb7761fe615f35ec449537c1a0e55

5 years agohwc_windows: update ec of hwc_window redirect after validate 68/185668/2
Changyeon Lee [Wed, 1 Aug 2018 09:01:30 +0000 (18:01 +0900)]
hwc_windows: update ec of hwc_window redirect after validate

- render_target means hwc_window is rendered on gl_compositor
- render_target is set/unset  when hwc_window is set to DEVICE/CLIENT

Change-Id: I159945670a40eb5164f15feda2eb5ef35f660b47

5 years agohwc_windows: update accepted_state and activate after hwc_accept 67/185667/2
Changyeon Lee [Wed, 1 Aug 2018 08:28:05 +0000 (17:28 +0900)]
hwc_windows: update accepted_state and activate after hwc_accept

Change-Id: Iff381a21d60bbdaa7ae47467346fface3b687d00

5 years agohwc_window: manage rendered tsurfaces as a list 60/185660/2
Changyeon Lee [Wed, 1 Aug 2018 07:34:10 +0000 (16:34 +0900)]
hwc_window: manage rendered tsurfaces as a list

- compositor can have several rendered tsurface
- ref/unref hwc_window when add/remove to render_list
- it is appended that tbm_surface which dequeued in manual_render

Change-Id: I4dffd0c8a71d6d127cc357512c7e565a0e53ca54

5 years agohwc_window: clean up code and log 59/185659/2
Changyeon Lee [Wed, 1 Aug 2018 05:56:08 +0000 (14:56 +0900)]
hwc_window: clean up code and log

- use EHWTRACE, EHWINF log instead ELOGF
- remove unnecessary log
- fix indentation and typo
- remove unused func

Change-Id: I4d14906d89f3a6cb982ba6f2f672f72d942f0433

5 years agohwc_window: wrapped cursor infomation to struct 58/185658/2 58/185658/3
Changyeon Lee [Tue, 31 Jul 2018 11:09:55 +0000 (20:09 +0900)]
hwc_window: wrapped cursor infomation to struct

Change-Id: I4db0835c83bb15fa446c4ef8a878ea80ad689d1f

5 years agohwc: added e_hwc_window_queue 56/185656/2
Changyeon Lee [Tue, 31 Jul 2018 10:44:18 +0000 (19:44 +0900)]
hwc: added e_hwc_window_queue

- E_Hwc_Window_Queue is used by hwc_window
- if hwc_window use queue, set and commit tsurface is acquired from queue
- hwc_window should release tsurface to queue when hwc_window doens't use
  tsurface anymore
- Normally target_window uses a queue, client hwc_window use queue when
  reserved memory target

Change-Id: I1eec6b13a821259679300042f47a00e363daf942

5 years agoe_utils: add support for monitoring file creation in the given directory 50/185650/2
Sung-Jin Park [Wed, 1 Aug 2018 09:39:29 +0000 (18:39 +0900)]
e_utils: add support for monitoring file creation in the given directory

Change-Id: Ie8b73efdb1f5971710ad43cc984d35619b72e498
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agohwc_window: change hwc_window hook func from EAPI to EINTERN 21/185621/1
Changyeon Lee [Wed, 1 Aug 2018 07:06:55 +0000 (16:06 +0900)]
hwc_window: change hwc_window hook func from EAPI to EINTERN

Change-Id: I69447981d73eda30e93609f36eaa8049ccf28724

5 years agohwc_windows: clean up log 30/185530/5
Changyeon Lee [Tue, 31 Jul 2018 08:46:16 +0000 (17:46 +0900)]
hwc_windows: clean up log

use EHWSTRACE macro and removed unnecessary log

Change-Id: Ifa1831288d8527f8440c0f63ccf3a25b5fe185d3

5 years agohwc_window: added e_hwc_window_name_get 29/185529/2
Changyeon Lee [Tue, 31 Jul 2018 08:22:18 +0000 (17:22 +0900)]
hwc_window: added e_hwc_window_name_get

Change-Id: Id6621dc23deebd2d3a4df6deceeafb0a0344db50

5 years agohwc_window: used list for managing of hook and event handler 28/185528/2
Changyeon Lee [Tue, 31 Jul 2018 07:36:25 +0000 (16:36 +0900)]
hwc_window: used list for managing of hook and event handler

Change-Id: I701d1118a2a61716379b9e5a21a7ba9ae7ce578f

5 years agohwc_window: used e_object when allocating e_hwc_window 27/185527/2
Changyeon Lee [Tue, 31 Jul 2018 07:13:16 +0000 (16:13 +0900)]
hwc_window: used e_object when allocating e_hwc_window

ref/unref of e_hwc_window are needed, so e_hwc_window is allocated
with e_object

Change-Id: If8240d4fe5abcec0d236aa56c9afb8718d4aac3b

5 years agohwc_window: remove unused enum value 26/185526/2
Changyeon Lee [Tue, 31 Jul 2018 06:50:18 +0000 (15:50 +0900)]
hwc_window: remove unused enum value

E_HWC_WINDOW_STATE_DEVICE_CANDIDATE and E_HWC_WINDOW_ACTIVATION_STATE_NONE
isn't needed

Change-Id: Ib36a31af8a2ae81e78cf774a09067098632fa2f9

5 years agohwc_window: added ACCEPTED_STATE_CHANGE hook 25/185525/3
Changyeon Lee [Tue, 31 Jul 2018 06:38:22 +0000 (15:38 +0900)]
hwc_window: added ACCEPTED_STATE_CHANGE hook

Change-Id: I322ac537931bb8e3c5910c2761cf53ded595bcba

5 years agohwc_window: added accepted_state and removed prev_state 24/185524/2
Changyeon Lee [Tue, 31 Jul 2018 05:47:57 +0000 (14:47 +0900)]
hwc_window: added accepted_state and removed prev_state

accepted_state is set after changing of composition state is accepted

Change-Id: Icacd8f0522a2a63f84add5f4daabf903e9bb9a1c

5 years agohwc_window: added macro for log 23/185523/2
Changyeon Lee [Tue, 31 Jul 2018 05:38:29 +0000 (14:38 +0900)]
hwc_window: added macro for log

Change-Id: I3fcb0b48903e8f5998f65455f0a86e809440557f

5 years agohwc: get tdm_hwc before ecore_evas init 22/185522/2 22/185522/3
Changyeon Lee [Tue, 31 Jul 2018 03:13:42 +0000 (12:13 +0900)]
hwc: get tdm_hwc before ecore_evas init

tdm_hwc is needed for getting tbm_surface_queue of target

Change-Id: If34affb73a63da01187b844ab296c32e67a7b76e

5 years agoe_test_helper: Added eldbus callback for SetWindowFocusSkip 77/185477/2
JunSeok, Kim [Tue, 31 Jul 2018 03:46:33 +0000 (12:46 +0900)]
e_test_helper: Added eldbus callback for SetWindowFocusSkip

Change-Id: I2acf8e0a2a4e033bc9dcaa45d96c385768cb55a3

5 years agoe_test_helper: Added eldbus callback for SetWindowNotiLevel 76/185476/2
JunSeok, Kim [Tue, 31 Jul 2018 03:46:21 +0000 (12:46 +0900)]
e_test_helper: Added eldbus callback for SetWindowNotiLevel

Change-Id: I5b50abb660b4902d03d88683d17cf4def21c7594

5 years agoe_test_helper: Added eldbus callback for SetWindowTransientFor 75/185475/2
JunSeok, Kim [Tue, 31 Jul 2018 03:45:40 +0000 (12:45 +0900)]
e_test_helper: Added eldbus callback for SetWindowTransientFor

Change-Id: Id6ca5bc6311874ff95cc76436fb15186671d1cc1

5 years agoe_test_helper: Added eldbus callback for SetWindowIconify 74/185474/2
JunSeok, Kim [Tue, 31 Jul 2018 03:44:47 +0000 (12:44 +0900)]
e_test_helper: Added eldbus callback for SetWindowIconify

Change-Id: If52a189daa95ce69c740c6a57cc7697b859b5d3c

5 years agoe_test_helper: Added eldbus callback for SetWindowActivate 73/185473/2
JunSeok, Kim [Tue, 31 Jul 2018 03:35:15 +0000 (12:35 +0900)]
e_test_helper: Added eldbus callback for SetWindowActivate

Change-Id: I7ebd1ac0952b3e78df3ab548ad9d1d20d282fd62

5 years agoe_utils: add e_util_file_monitor API to monitor the creation of the given path of... 80/185480/1
Sung-Jin Park [Tue, 31 Jul 2018 04:37:11 +0000 (13:37 +0900)]
e_utils: add e_util_file_monitor API to monitor the creation of the given path of file

Change-Id: I0599a1783256f5b6b0fcf3c644c3f448a580c1d4
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agoe_input: check and set touch device class to touch aux events 23/185423/2 accepted/tizen/unified/20180731.075036 submit/tizen/20180730.104229
JengHyun Kang [Mon, 30 Jul 2018 10:32:18 +0000 (19:32 +0900)]
e_input: check and set touch device class to touch aux events

Change-Id: I266b60b8a003bf3bfb083108d84fe580838590ff

5 years agoe_input: check device's class before find ecore_device for events 13/185413/2
JengHyun Kang [Mon, 30 Jul 2018 08:55:33 +0000 (17:55 +0900)]
e_input: check device's class before find ecore_device for events

Change-Id: If0d011bdd6d9ede91d8aceff8f85eb4ff1756481

5 years agoinput region: fix bug for setting input_region 08/185408/1
Doyoun Kang [Mon, 30 Jul 2018 08:28:06 +0000 (17:28 +0900)]
input region: fix bug for setting input_region

There was a bug that the input region was not applied if it was set before showing window.

Change-Id: I80424219d3ccd384e440c4a62506769c98878d15

5 years agoe_comp_wl: fix bug for creating region 07/185407/1
Doyoun Kang [Thu, 26 Jul 2018 12:48:04 +0000 (21:48 +0900)]
e_comp_wl: fix bug for creating region

There was a bug that the tiler size was wrong while handling creating region.
So, we add the code to check screen rotation value.

Change-Id: I8b39305aadfe434fe6c1c4f7aad98b5bb1da1e7b

5 years agoviewport: fix croped full calculation error if transform set 90 or 270 15/185215/4 accepted/tizen/unified/20180727.135707 submit/tizen/20180727.051729
Junkyeong Kim [Fri, 27 Jul 2018 04:50:06 +0000 (13:50 +0900)]
viewport: fix croped full calculation error if transform set 90 or 270

Change-Id: Iee795785e7513df4c72766e83b241944e62ec376
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_plane_renderer: reset renderer of ec in deactivate if ec is deleted 72/185172/4
Changyeon Lee [Thu, 26 Jul 2018 11:48:22 +0000 (20:48 +0900)]
e_plane_renderer: reset renderer of ec in deactivate if ec is deleted

if ec of renderer is deleted, e_plane_ec_set and reserved_deactivate is called
in _e_plane_renderer_client_cb_del.
reset renderer of ec in reserved_deactivate to prevent acces to freed ec

Change-Id: Iacbe344dcbdd8f3610915d0a9cf80daafac5b2ee

5 years agoe_comp_wl_shell: reset ec's visibility.last_sent_type value when it is unmapped 13/185213/1
Doyoun Kang [Fri, 27 Jul 2018 04:43:26 +0000 (13:43 +0900)]
e_comp_wl_shell: reset ec's visibility.last_sent_type value when it is unmapped

Change-Id: Id47c30c80dd8f690361c4a3190ee9c12d399890f

5 years agoe_comp_object: check pixmap available when e_comp_object_dirty 07/184907/1
Juyeon Lee [Tue, 24 Jul 2018 07:11:53 +0000 (16:11 +0900)]
e_comp_object: check pixmap available when e_comp_object_dirty

e_pixmap_size_get returns last attached buffer size (from commit f009a9a4 )
eventhough it is destroyed, so check resource

Change-Id: Ie1a38be03ba6564e59a2dc54494f4de0920f49a1

5 years agoe_policy_wl_display: fix bug for handling screen mode 68/184768/1 accepted/tizen/unified/20180723.151443 submit/tizen/20180723.062633
Doyoun Kang [Mon, 23 Jul 2018 04:29:47 +0000 (13:29 +0900)]
e_policy_wl_display: fix bug for handling screen mode

There was a bug that display mode couldnot change to normal when the alpha window
which set a display mode to always_on was destroyed.

Change-Id: I004d4fe5ce4dad864f57d817a7676ecf35e3dba4

5 years agoe_policy_wl_display: change code for logging 67/184767/1
Doyoun Kang [Mon, 23 Jul 2018 04:27:45 +0000 (13:27 +0900)]
e_policy_wl_display: change code for logging

Change-Id: Ia142a9f8ed4f0c2d643b082bd6bfdda616a4b8b5

5 years agoe_client: check window's iconic state while handling focus 18/184718/1 accepted/tizen/unified/20180720.155959 submit/tizen/20180720.105749
Doyoun Kang [Fri, 20 Jul 2018 10:20:01 +0000 (19:20 +0900)]
e_client: check window's iconic state while handling focus

We didn't check the iconic state, so there was a possibility that the iconified window got focus.

Change-Id: I24a1f33edab1c12137f561865832688f01b33e7e

6 years agoe_plane: set unset_counter to 1 when fb_target is unset to hwc 59/183959/2
Changyeon Lee [Thu, 12 Jul 2018 09:46:15 +0000 (18:46 +0900)]
e_plane: set unset_counter to 1 when fb_target is unset to hwc

unset_counter is set to 0 when fb_target used by hwc because
compositor is disabled and then plane doesn't need to sync with fb_target.
but unset_candidate plane should sync with fb_target when fb_target is unset to hwc.
so if plane is unset_candidate and unset_counter is 0, set unset_counter to 1
for sync with compositor

Change-Id: I62bae00c12fd3d0e68c9986b2a8b0d8f3ebec952

6 years agoe_comp_screen: add ttrace log at the initial time 53/184353/2
SooChan Lim [Tue, 17 Jul 2018 09:57:48 +0000 (18:57 +0900)]
e_comp_screen: add ttrace log at the initial time

Change-Id: I5a214ddb3ce31a6925ac63aa8edebb2b1e45a989

6 years agoe_dbus_conn : rename from e_dbus as it has some intersections with edbus stuff 06/184306/1 accepted/tizen/unified/20180717.143334 submit/tizen/20180717.070235
Sung-Jin Park [Tue, 17 Jul 2018 06:23:55 +0000 (15:23 +0900)]
e_dbus_conn : rename from e_dbus as it has some intersections with edbus stuff

Change-Id: I9bc93b26b79fa26b1e2ec1f9e2464faf147d0bae
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_info: print input_region information using winfo 39/180339/5
JengHyun Kang [Mon, 28 May 2018 11:44:15 +0000 (20:44 +0900)]
e_info: print input_region information using winfo

Change-Id: Id1748ccf69f0aaf454ceca6f9c599bfba39fad64

6 years agoe_info_server : transform info shows up to three decimal points. 39/184139/1
junghwan Choi [Mon, 16 Jul 2018 02:04:17 +0000 (11:04 +0900)]
e_info_server : transform info shows up to three decimal points.

Change-Id: Ifba711ded2d156fce706ad97e5b2a8e630dfca27

6 years agoe_client : remove build warning regarding 'const' qualifier 48/184048/1 accepted/tizen/unified/20180716.185706 submit/tizen/20180715.225415
Sung-Jin Park [Fri, 13 Jul 2018 07:47:10 +0000 (16:47 +0900)]
e_client : remove build warning regarding 'const' qualifier

Change-Id: I958fb8b4fb9b78f26c199ffea537716c4d448607
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_policy: check uniconify_render_running before sending visibility event
Doyoun Kang [Thu, 12 Jul 2018 10:41:46 +0000 (19:41 +0900)]
e_policy: check uniconify_render_running before sending visibility event

There was a bug that e sent a fully-obscured event to the window which was running uniconify_render.

Change-Id: I728b6718cd56e9f5d7a0cbc2324d36d51c93943a

6 years agoe_client : add condition for waiting view port setting
Lisa kim [Mon, 30 Apr 2018 07:46:54 +0000 (16:46 +0900)]
e_client : add condition for waiting view port setting
display server waits until user set view port.
some of clients only create the viewport and do not using viewport.
in this case, even the subsurface of this window set viewport, display server cannot detect because display server waits until the viewport set of this window.
this patch only adapt viewport wait feature for the leaf node of subsurfaces.

Change-Id: Ibfabe4d520a16f8385b617b22246a8a5a05ccc65
Signed-off-by: Lisa kim <hj0530.kim@samsung.com>
6 years agotransform: Update transform state whenever below bg rectangle is created
Seungjin Park [Fri, 29 Jun 2018 06:16:48 +0000 (15:16 +0900)]
transform: Update transform state whenever below bg rectangle is created

There was an issue that displays full-size punched area because map wasn't applied to below object.

Change-Id: I524f27f8aefb8a0f24d30b43380289df726f18e0
Signed-off-by: Seungjin Park <sj8808.park@samsung.com>
6 years agoe_dbus : add initial version to provide dbus connection initialization 24/183324/15
Sung-Jin Park [Wed, 4 Jul 2018 11:08:44 +0000 (20:08 +0900)]
e_dbus : add initial version to provide dbus connection initialization

Change-Id: Idc4204d2e949449f2be03d0b508b7c44e21fb58d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoconfig: enable extra touch axis, if libinput support extra touch axis 87/183487/2 accepted/tizen/unified/20180710.082827 submit/tizen/20180709.070729
JengHyun Kang [Fri, 6 Jul 2018 04:02:47 +0000 (13:02 +0900)]
config: enable extra touch axis, if libinput support extra touch axis

Change-Id: I8ca786d8b7769590f1e07356ec57b51aea38091f