platform/upstream/enlightenment.git
6 years agoe_policy_visibility: check the ec's force_obscured flag in _e_vis_ec_activity_check() 17/191117/1 accepted/tizen/5.0/unified/20181102.024347 accepted/tizen/unified/20181012.083507 submit/tizen/20181011.124722 submit/tizen_5.0/20181101.000006
Doyoun Kang [Thu, 11 Oct 2018 10:52:31 +0000 (19:52 +0900)]
e_policy_visibility: check the ec's force_obscured flag in _e_vis_ec_activity_check()

There was a bug that the force_obscured window was uniconified and resumed by a pre-unobscured
visibility event as below sequence.

e_policy_visibility_client_lower/hide/iconify() -> _e_vis_ec_below_uniconify()

While handling _e_vis_ec_below_uniconify(), we need checking the force_obscured flag of a below ec
to skip uniconify it.
So, we add checking code in _e_vis_ec_activity_check().

Change-Id: I09485c6ef091e3459fb05496fdc04d61e50cbe69

6 years agoe_policy_visibility: fix bug for sending pre-unobsucred event 96/190896/2 submit/tizen/20181010.230904
Doyoun Kang [Mon, 8 Oct 2018 10:51:40 +0000 (19:51 +0900)]
e_policy_visibility: fix bug for sending pre-unobsucred event

There was a bug that the pre-unobscured event was sent to the window which was
obscured by alpha-opaque window.

[top] alpha-opaque window -> A win -> B win [bottom]

In above stack, when "A win" is lowered/hidden, then "B win" is chagned to uniconic
and must maintain its visibility to fully-obscured.
So, e must not send a pre-unobscured event to "B win".

But before this patch, e sent a pre-unobscured event to "B win".
We fixes this bug.

Change-Id: If6835790442d619ec0aac2dfa1659e5f0f96729a

6 years agoe_plane_renderer: avoid window map again for unwanted app 17/190817/3 accepted/tizen/unified/20181007.233057 submit/tizen/20181005.112645
Gwanglim Lee [Fri, 5 Oct 2018 11:22:52 +0000 (20:22 +0900)]
e_plane_renderer: avoid window map again for unwanted app

Change-Id: I856c1f4bdacbd670226ef745690565adb666c4af

6 years agoe_comp_wl_shell: check iconify by client before sending pre-unobscured event 48/190648/1
Doyoun Kang [Thu, 4 Oct 2018 10:35:54 +0000 (19:35 +0900)]
e_comp_wl_shell: check iconify by client before sending pre-unobscured event

There was a bug that the iconic window got the pre-unobscured visibility event when it requested to map window.
In this case, e doesn't send the pre-unobsucred event because its window is in iconic state.

Change-Id: I7d42ef99117c1e07756e4d05ebafe32ba2e6c106

6 years agoe_comp_wl: fix dereference after null check 98/190398/1 accepted/tizen/unified/20181002.093320 accepted/tizen/unified/20181005.012431 submit/tizen/20181001.111053 submit/tizen/20181004.045459
Juyeon Lee [Mon, 1 Oct 2018 11:36:52 +0000 (20:36 +0900)]
e_comp_wl: fix dereference after null check

Change-Id: Icd302ae9a7be0ceddaaa9f4e18c2dc017e09afd9

6 years agoe_hwc_windows: remove e_hwc_windows_get function 92/190392/5
SooChan Lim [Mon, 1 Oct 2018 10:35:11 +0000 (19:35 +0900)]
e_hwc_windows: remove e_hwc_windows_get function

Change-Id: I06988349e125def6202d974350a6de45f8c87aac

6 years agoe_hwc_windows: refactor _e_hwc_windows_evaluate(). 89/190389/6
SooChan Lim [Mon, 1 Oct 2018 10:07:09 +0000 (19:07 +0900)]
e_hwc_windows: refactor _e_hwc_windows_evaluate().

Change-Id: Iccc36c58746e0d581afc2544a80ac77802adc4cd

6 years agoe_hwc_windows: change some symbol name 88/190388/3
SooChan Lim [Mon, 1 Oct 2018 09:52:19 +0000 (18:52 +0900)]
e_hwc_windows: change some symbol name

Change-Id: Ic755daeac40176ad9296feaeed01e064ad93a3b7

6 years agoe_hwc_windows: change some logs 87/190387/3
SooChan Lim [Mon, 1 Oct 2018 09:41:52 +0000 (18:41 +0900)]
e_hwc_windows: change some logs

Change-Id: I56ff4674dcf6a6cbb53034b8f23bd83e79d5115c

6 years agoe_hwc_windows: put the windows iteration in _e_hwc_windows_offscreen_commit() 86/190386/3
SooChan Lim [Mon, 1 Oct 2018 09:39:49 +0000 (18:39 +0900)]
e_hwc_windows: put the windows iteration in _e_hwc_windows_offscreen_commit()

Change-Id: Ie9f3809504b0d8ce4f37e1e44b24dd758084a2bb

6 years agoe_hwc_windows: remove the visible_windows_list at the function parameter 85/190385/3
SooChan Lim [Mon, 1 Oct 2018 08:12:24 +0000 (17:12 +0900)]
e_hwc_windows: remove the visible_windows_list at the function parameter

get the visible_windows from the hwc->windows when the
function needs it.

Change-Id: I1d91560f21eeb9ac1ad88658e93ec77916925556

6 years agoe_hwc_windows: remove _e_hwc_windows_compsitions_update function 84/190384/3
SooChan Lim [Mon, 1 Oct 2018 07:54:20 +0000 (16:54 +0900)]
e_hwc_windows: remove _e_hwc_windows_compsitions_update function

reduce the iteration of the visible_windows

Change-Id: Id4e15b1694fa0c3e7c08f99e1456a197785b90a1

6 years agoe_hwc_windows: move the acceptable_check code 83/190383/2
SooChan Lim [Mon, 1 Oct 2018 07:36:00 +0000 (16:36 +0900)]
e_hwc_windows: move the acceptable_check code

move the acceptable_check code into the
 _e_hwc_windows_states_evaluate function

Change-Id: I3d176a56039ff622dae2d7abfe9bd3b223943b69

6 years agoe_hwc_windows: change the condition to check the gl_composite. 82/190382/2
SooChan Lim [Mon, 1 Oct 2018 07:18:58 +0000 (16:18 +0900)]
e_hwc_windows: change the condition to check the gl_composite.

Change-Id: Ia5b5f0cf4137ff1225b7dd8b47b80997c0ab7cb4

6 years agoe_client: check input regions before send touch cancel event 96/190396/1
JengHyun Kang [Mon, 1 Oct 2018 11:06:01 +0000 (20:06 +0900)]
e_client: check input regions before send touch cancel event

Change-Id: I501bf9e86ccf5e9414df8665b6a0b7a2960529dd

6 years agoe_hwc_window: change the tdm_hwc_window symbol and some name 91/190291/3
SooChan Lim [Mon, 1 Oct 2018 00:23:09 +0000 (09:23 +0900)]
e_hwc_window: change the tdm_hwc_window symbol and some name

change the tdm_hwc_window_get_preparations to the tdm_hwc_window_get_constraints
change the preparation to the constraint

Change-Id: I854b013a3845dadafcd47b5372caf58c4735745c

6 years agoe_hwc_windows: add _e_hwc_windows_release_commit_data() 00/190200/2
SooChan Lim [Fri, 28 Sep 2018 06:11:15 +0000 (15:11 +0900)]
e_hwc_windows: add _e_hwc_windows_release_commit_data()

Change-Id: If50cc4cc4bb0ffdb87cad013050c7a568ea941c8

6 years agoe_hwc_windows: add _e_hwc_windows_aquire_commit_data() 99/190199/2
SooChan Lim [Fri, 28 Sep 2018 06:08:00 +0000 (15:08 +0900)]
e_hwc_windows: add _e_hwc_windows_aquire_commit_data()

Change-Id: Ia5e06e319e0af927036ffcd5760793c2bb128453

6 years agoe_hwc_windows: fix the wrong parameter 98/190198/2
SooChan Lim [Fri, 28 Sep 2018 06:00:06 +0000 (15:00 +0900)]
e_hwc_windows: fix the wrong parameter

Change-Id: If771cf79f3a61bf49b6cba8ad777f1c3c481e435

6 years agoe_devicemgr: support a subclass device change event 43/189443/2 accepted/tizen/unified/20180927.174508 submit/tizen/20180927.080107
JengHyun Kang [Tue, 18 Sep 2018 01:01:28 +0000 (10:01 +0900)]
e_devicemgr: support a subclass device change event

Change-Id: I987e531d7f8aef82434473e612b9ca9e735616cf

6 years agoe_plane: set rederer to commit data in case unset commit 39/189839/2 accepted/tizen/unified/20180927.073805 submit/tizen/20180927.045229
Changyeon Lee [Fri, 21 Sep 2018 05:35:36 +0000 (14:35 +0900)]
e_plane: set rederer to commit data in case unset commit

Change-Id: I2a6a4bb185e661bb5bc8c31c8deb801df289331e

6 years agoe_hwc_windows: change some comment 03/189403/4
SooChan Lim [Mon, 17 Sep 2018 10:45:34 +0000 (19:45 +0900)]
e_hwc_windows: change some comment

Change-Id: Id96989dfc393546e6258a2eb73d6d95986b8963f

6 years agoe_hwc_window: get the visible windows in the _e_hwc_windows_visible_windows_updates 77/189377/5
SooChan Lim [Mon, 17 Sep 2018 08:52:24 +0000 (17:52 +0900)]
e_hwc_window: get the visible windows in the _e_hwc_windows_visible_windows_updates

Change-Id: I720253ba7815ced1b956a646b12cada973bf5e04

6 years agoe_hwc_window: make a static function. 61/189361/3
SooChan Lim [Mon, 17 Sep 2018 07:58:50 +0000 (16:58 +0900)]
e_hwc_window: make a static function.

e_hwc_window_target_window_ee_rendered_hw_list_get function is not
used outside the file

Change-Id: Ib44c69c9f637102a392d687057e4f73a8ddadccb

6 years agoe_hwc_window: fix the typo 58/189358/4
SooChan Lim [Mon, 17 Sep 2018 07:49:11 +0000 (16:49 +0900)]
e_hwc_window: fix the typo

Change-Id: I38de4e3e7297a87ebdd501a7064623562a6f94ce

6 years agoe_comp_object: check not_raise of ec when defer_focus_set in show_helper 95/189595/5 accepted/tizen/unified/20180919.142043 submit/tizen/20180919.095245
JunSeok, Kim [Wed, 19 Sep 2018 05:04:41 +0000 (14:04 +0900)]
e_comp_object: check not_raise of ec when defer_focus_set in show_helper

There was a bug with uniconify by window manager.
Uniconified window by wm takes focus from window that really needs the focus.
So, check ec's not_raise flag to prevent this situation during defer_focus set in show sequence.

Change-Id: Ieb2fbe973c882939b5e85d41fe5ea28f91cd70f1

6 years agoe_client: Added function for check above ec has focus 94/189594/4
JunSeok, Kim [Wed, 19 Sep 2018 05:04:05 +0000 (14:04 +0900)]
e_client: Added function for check above ec has focus

Change-Id: I7fdea6d0f594c6840563ac7da2318ce2891b3b45

6 years agoe_info: print dump buffers directory name 09/189509/1
Junkyeong Kim [Tue, 18 Sep 2018 08:20:18 +0000 (17:20 +0900)]
e_info: print dump buffers directory name

Change-Id: I2462f3f18783156d8be777a04d564ecb92bec255
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_comp_wl: fix build warning 99/189399/1
Juyeon Lee [Mon, 17 Sep 2018 10:39:21 +0000 (19:39 +0900)]
e_comp_wl: fix build warning

Change-Id: I31f5cb71505643cd5977dfd975cfe52af9374346

6 years agoquickpanel: add qp_add_on_desk_smart configuration 68/189068/4
Doyoun Kang [Thu, 13 Sep 2018 07:05:53 +0000 (16:05 +0900)]
quickpanel: add qp_add_on_desk_smart configuration

We added a configuration to choose the operation of quickpanel.
One is added on the desk smart object, the other is stand alone.
In stand alone, the quickpanel must change the geometry of its objects.
We added this code also.

This patch is depends on the below patch.
- e_desk: add E_EVENT_DESK_GEOMETRY_CHANGE event

Change-Id: I4f66a002e2e1bd1d4f19a434ecc238cf15b09453

6 years agoe_hwc_planes: make some function to be static functions 97/189097/3
SooChan Lim [Thu, 13 Sep 2018 09:27:44 +0000 (18:27 +0900)]
e_hwc_planes: make some function to be static functions

The functions below is to be the static functions.

EINTERN Eina_Bool            e_hwc_planes_usable(E_Hwc *hwc);
EINTERN void                 e_hwc_planes_begin(E_Hwc *hwc);
EINTERN void                 e_hwc_planes_changed(E_Hwc *hwc);

Change-Id: I1cc2f9119c09e9ea0b378216541085d924b6d617

6 years agoe_hwc: move e_hwc_apply to e_hwc_planes_apply 96/189096/3
SooChan Lim [Thu, 13 Sep 2018 09:17:09 +0000 (18:17 +0900)]
e_hwc: move e_hwc_apply to e_hwc_planes_apply

The e_hwc_planes_apply() is called in the e_output_commit
when the hwc policy is E_HWC_POLICY_PLANES.
The hwc policy is decided inside e_output_commit.

Change-Id: Ib8b673e6325939de0e8eb33f21abac5832d68277

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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>
6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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>
6 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

6 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

6 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

6 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>
6 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>
6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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>
6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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>
6 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

6 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

6 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

6 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

6 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

6 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