platform/upstream/enlightenment.git
5 years agoe_comp_wl_rsm: check whether ec is deleted or not before creating E_Comp_Wl_Remote_Source 43/196043/1 accepted/tizen/4.0/unified/20181221.152332 submit/tizen_4.0/20181221.040849
Doyoun Kang [Fri, 21 Dec 2018 03:42:47 +0000 (12:42 +0900)]
e_comp_wl_rsm: check whether ec is deleted or not before creating E_Comp_Wl_Remote_Source

Change-Id: Ic5303795fddc9d850c0cf6f04ef1dc268496b065

5 years agoe_comp_wl_rsm: capture image with keyboard 08/194208/1 accepted/tizen/4.0/unified/20181204.152145 submit/tizen_4.0/20181203.083438
Doyoun Kang [Wed, 14 Nov 2018 02:21:48 +0000 (11:21 +0900)]
e_comp_wl_rsm: capture image with keyboard

Change-Id: I69fdc3d5c8b6b417ff5d4cc0b13c0c93f0e29994

5 years agoe_comp: don't allow hwc if ec is animating 43/193143/1 accepted/tizen/4.0/unified/20181130.133629 submit/tizen_4.0/20181129.110801
Changyeon Lee [Wed, 14 Nov 2018 08:57:59 +0000 (17:57 +0900)]
e_comp: don't allow hwc if ec is animating

Change-Id: I3c189c99c84637c8737f635cf400230f72c1d8fe

5 years agoe_plane_renderer: get the transform before checking config.rotation 42/193142/1
SooChan Lim [Mon, 12 Nov 2018 12:56:10 +0000 (21:56 +0900)]
e_plane_renderer: get the transform before checking config.rotation

Change-Id: I4f19aaa9d4127d426af00d1031391fac51ef4f6e

5 years agoe_comp: allow begin hwc even if nocomp_override is positive 75/192175/3 accepted/tizen/4.0/unified/20181112.120731 submit/tizen_4.0/20181109.044619
Changyeon Lee [Wed, 31 Oct 2018 07:42:46 +0000 (16:42 +0900)]
e_comp: allow begin hwc even if nocomp_override is positive

some hwc module want to use hwc even if nocomp_override is positive.
core policy of hwc set all plane to null when nocomp_override is positive.
if hwc module prepare client to plane, hwc mode is begined.

Change-Id: I7ab3fb33ec3e725e52c256d10de54408d5a9bdbe

5 years agoe_plane: force render when set/unset_counter are set 74/192174/3
Changyeon Lee [Mon, 29 Oct 2018 05:57:28 +0000 (14:57 +0900)]
e_plane: force render when set/unset_counter are set

Change-Id: I4287be9aa07e364dd318129774da798ad71b115f

5 years agoe_output: allow plane commit besides fb_target in zoom case 64/191764/3
Changyeon Lee [Tue, 23 Oct 2018 09:03:23 +0000 (18:03 +0900)]
e_output: allow plane commit besides fb_target in zoom case

Change-Id: I5a416cc8eac0aed8e361438d3dc2172231634b17

5 years agoe_plane_renderer: send output_transform event regardless of current transform 22/192722/1
Changyeon Lee [Thu, 8 Nov 2018 10:05:54 +0000 (19:05 +0900)]
e_plane_renderer: send output_transform event regardless of current transform

Change-Id: Ia104e0b2ce31bf4150c15f6215ffa97d24c22e89

5 years agoe_comp: unset plane if ec of plane and ec are same 21/192721/1
Changyeon Lee [Thu, 8 Nov 2018 07:31:00 +0000 (16:31 +0900)]
e_comp: unset plane if ec of plane and ec are same

Change-Id: I26769a0d51199f966679cc1ecb671b0847a3c0aa

5 years agoe_info_server: fix build error 05/192305/3
Junkyeong Kim [Fri, 2 Nov 2018 07:21:03 +0000 (16:21 +0900)]
e_info_server: fix build error

Change-Id: I7468317e8fd44dfb2575c0c7e9537f21352162ac
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_info: print dump buffers directory name 55/189555/2
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 agoquickpanel: add qp_add_on_desk_smart configuration 88/189088/1 accepted/tizen/4.0/unified/20180914.132332 submit/tizen_4.0/20180913.105207
Doyoun Kang [Thu, 13 Sep 2018 08:15:14 +0000 (17:15 +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: I3fe5c872c9bcc12e69efff9c6b22258c7ca8c2aa

6 years agoe_desk: add E_EVENT_DESK_GEOMETRY_CHANGE event 87/189087/1
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_desk: add a handler to update e_desk's geometry when the zone's geometry is changed 86/189086/1
Doyoun Kang [Mon, 29 Jan 2018 04:36:31 +0000 (13:36 +0900)]
e_desk: add a handler to update e_desk's geometry when the zone's geometry is changed

The e_desk's geometry should be changed to its zone's geometry when the zone's geometry is changed.
(This code operates only if the e_config's use_desk_smart_object value is not set.)

Change-Id: I8ddfb2ff9973eea394c0ffcaeb72fe70b6bc297c

6 years agoe_plane: get every time available formats from tdm_layer 49/189049/3
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 48/189048/3
Changyeon Lee [Thu, 13 Sep 2018 04:14:45 +0000 (13:14 +0900)]
e_comp: use e_comp_client_override_add/del in case client needs compositing

Change-Id: Idc3dd7045cc7a77159b5f97f8c15a3319c68221d

6 years agoe_comp: add e_comp_client_override_add/del 89/188089/3
Changyeon Lee [Thu, 13 Sep 2018 04:07:38 +0000 (13:07 +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: Ica43d8c1745bb87d6bc6a901918947b46552e37c

6 years agoe_comp: fix sending worng touch position when ec is transform for hwc 03/187903/1
Changyeon Lee [Tue, 7 Aug 2018 12:48:56 +0000 (21:48 +0900)]
e_comp: 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: I57353cf0a2fb611799b16af1159e625b7e04c944

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

Change-Id: Ib29ad13b000219d037dd8d8d9b88e3f37a1c0819

6 years agoe_comp_object: fix bug for sending "e,state,visible" signal 18/187318/1 accepted/tizen/4.0/unified/20180903.073201 submit/tizen_4.0/20180829.110503
Doyoun Kang [Mon, 25 Jun 2018 11:07:42 +0000 (20:07 +0900)]
e_comp_object: fix bug for sending "e,state,visible" signal

There was a bug that e sent "e,state,visible" when ec is iconic state in _e_comp_object_shadow_setup.
The effect module increased reference count and waiting for draw done event while handling "e,state,visible" event.
But if the window set to iconic state, it didn't draw and didn't send draw done event.
So, effect module's reference count couldnot be 0.

Change-Id: Id37d53f3d38b443e9c30aed10ed6448375e2868b

6 years agoe_client: check mapped condition when e_client_iconify 08/187308/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 07/187307/1
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 agowl_desktop_shell: reset ec's visibility.last_sent_type value when it is unmapped 06/187306/1
Doyoun Kang [Wed, 22 Aug 2018 01:47:13 +0000 (10:47 +0900)]
wl_desktop_shell: reset ec's visibility.last_sent_type value when it is unmapped

Change-Id: I2c9130b36096189833975f6a4f129b7293f4d5dd

6 years agoe_policy_visibility: check last_sent_type before sending pre-unobscured event 05/187305/1
Doyoun Kang [Thu, 5 Jul 2018 09:42:15 +0000 (18:42 +0900)]
e_policy_visibility: check last_sent_type before sending pre-unobscured event

If a last_sent_type is E_VISIBILITY_PRE_UNOBSCURED or E_VISIBILITY_UNOBSCURED,
then we don't send E_VISIBILITY_PRE_UNOBSCURED event.

Change-Id: I04070661d19dcd970c62160437c5ebc6dd0c3dbb

6 years agoe_comp_wl_viewport: Set 'viewport->destination.mode.resource' to null when resource... 39/187139/1 accepted/tizen/4.0/unified/20180829.004618 submit/tizen_4.0/20180820.075727
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 agoe_plane:remove pp_pending data only dpms off 99/186899/1 accepted/tizen/4.0/unified/20180829.004450 submit/tizen_4.0/20180817.070516
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... 35/186735/1
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: Iad2e52247935fe0209d89b24b0135a3f4eff4a6f

6 years agoe_policy_visibility: add wrapper function of _e_vis_client_is_uniconic 34/186734/1
JunSeok, Kim [Tue, 19 Jun 2018 10:21:36 +0000 (19:21 +0900)]
e_policy_visibility: add wrapper function of _e_vis_client_is_uniconic

Change-Id: I11eceafe7a4fc54f828392f655182c3cfcc09b32

6 years agoe_devicemgr: add a API to check blocked event 36/186236/2
JengHyun Kang [Wed, 8 Aug 2018 07:53:46 +0000 (16:53 +0900)]
e_devicemgr: add a API to check blocked event

Change-Id: Idb0db5ef97c130340a5608af1aa92ac06c9d6ff5

6 years agoviewport: fix croped full calculation error if transform set 90 or 270 23/185223/1 accepted/tizen/4.0/unified/20180803.172310 submit/tizen_4.0/20180727.064400
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>
6 years agoe_comp_object: check pixmap available when e_comp_object_dirty 08/184908/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

6 years agoe_policy_wl_display: fix bug for handling screen mode 70/184770/1 submit/tizen_4.0/20180723.062611
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

6 years agoe_policy_wl_display: change code for logging 69/184769/1
Doyoun Kang [Mon, 23 Jul 2018 04:37:08 +0000 (13:37 +0900)]
e_policy_wl_display: change code for logging

Change-Id: I968f6e268e283f851e968ffbbb05e58d98228f76

6 years agoe_plane: set unset_counter to 1 when fb_target is unset to hwc 29/183929/5
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_policy: check uniconify_render_running before sending visibility event 42/183942/1 accepted/tizen/4.0/unified/20180715.223959 submit/tizen_4.0/20180712.105250
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 agomodify check condition before calling e_client_post_raise_lower_set 89/183189/1 accepted/tizen/4.0/unified/20180703.101217 submit/tizen_4.0/20180703.081422
Doyoun Kang [Mon, 2 Jul 2018 07:59:42 +0000 (16:59 +0900)]
modify check condition before calling e_client_post_raise_lower_set

There was a bug that the lower operation of unmapped window was not work if the window ever mapped.
So, we replaced code to "!ec->comp_data->mapped" from "!ec->first_mapped" before calling
e_client_post_raise_lower_set.

Change-Id: I96e1ac9a5fdfe5e15cf272290e4c8f7981c89bd1

6 years agoe_policy: fix bug for sending visibility event 88/183188/1
Doyoun Kang [Fri, 29 Jun 2018 11:04:21 +0000 (20:04 +0900)]
e_policy: fix bug for sending visibility event

There was a bug that the window didn't get fully-obscured event when it was
iconified by visibility after getting pre-unobscured event.
So, app's state remained to "resume" not "pause".

This patch sends unobscured and fully-obscured event to the iconified window
to change its state correctly.

Change-Id: I43a3b66ab71b204854d2e19f2aa23d3551f3ba10

6 years agoe_info_server: fix out-of-bounds-write issue 72/183172/1
Doyoun Kang [Tue, 3 Jul 2018 06:57:14 +0000 (15:57 +0900)]
e_info_server: fix out-of-bounds-write issue

Change-Id: I0f973d8107fcb4f5e2558bc8301409eaf51f7414

6 years agoe_comp,e_comp_wl: fix memory leaks 52/183152/1 accepted/tizen/4.0/unified/20180703.101200 submit/tizen_4.0/20180703.051546
Juyeon Lee [Tue, 3 Jul 2018 02:59:02 +0000 (11:59 +0900)]
e_comp,e_comp_wl: fix memory leaks

Change-Id: Ic0943a47c272c141f3a27156f2226d0c5e59da36

6 years agoe_comp_wl_data: check return value of ecore_main_fd_handler_fd_get 49/183149/1
Doyoun Kang [Tue, 20 Mar 2018 02:03:03 +0000 (11:03 +0900)]
e_comp_wl_data: check return value of ecore_main_fd_handler_fd_get

Change-Id: Iaec5553a5c4241d96d01e26eaaedd8c92b39b87e

6 years agoe_plane_renderer: check return value of ecore_main_fd_handler_fd_get 06/183106/1
Doyoun Kang [Tue, 20 Mar 2018 07:37:00 +0000 (16:37 +0900)]
e_plane_renderer: check return value of ecore_main_fd_handler_fd_get

Change-Id: Id63f8968c13ce11deea09046e9e3a0c89a51c25e

6 years agoe_comp_wl: adapt screen rotation condition to find output 53/182053/1 accepted/tizen/4.0/unified/20180621.141509 submit/tizen_4.0/20180621.081657
Junkyeong Kim [Wed, 20 Jun 2018 06:02:37 +0000 (15:02 +0900)]
e_comp_wl: adapt screen rotation condition to find output

Change-Id: I9c8889e5062793277be9bc962efbae1ddaf375e4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_client: check mapped condition when e_client_uniconify accepted/tizen/4.0/unified/20180620.131327 submit/tizen_4.0/20180620.043906
Juyeon Lee [Wed, 20 Jun 2018 02:04:54 +0000 (11:04 +0900)]
e_client: check mapped condition when e_client_uniconify

Change-Id: I8d70cd417eedbccfc22ddd182833a3fdcc86c0ab

6 years agoe_client: calculate and send touch cancel when visibility is changed during touch 27/181327/2 accepted/tizen/4.0/unified/20180613.235005 submit/tizen_4.0/20180612.083715
JengHyun Kang [Tue, 12 Jun 2018 07:03:43 +0000 (16:03 +0900)]
e_client: calculate and send touch cancel when visibility is changed during touch

Change-Id: Iaf29a52a3e20f16623fc2455ac3d857592cf30e6

6 years agoe_policy_visibility: remove _e_vis_ec_foreground_check function 60/179360/1 accepted/tizen/4.0/unified/20180521.190708 submit/tizen_4.0/20180517.101807
Doyoun Kang [Thu, 29 Mar 2018 04:35:31 +0000 (13:35 +0900)]
e_policy_visibility: remove _e_vis_ec_foreground_check function

there was a bug that the black screen was shown when multi windows were destroyed.
we checked activity window in _e_vis_ec_above_is_non_alpla_visible,
so we can remove _e_vis_ec_foreground_check function.

Change-Id: I03eac77f7a4d89a6989284c0a873cee6afe9aa58

6 years agoe_plane: set full damage to surface if first client buffer is set to layer 11/179011/3 accepted/tizen/4.0/unified/20180516.065633 submit/tizen_4.0/20180515.115631
Changyeon Lee [Mon, 14 May 2018 10:57:58 +0000 (19:57 +0900)]
e_plane: set full damage to surface if first client buffer is set to layer

Change-Id: I7b026020c0cff69a515cc11a0755f6d32ad584aa

6 years agoe_comp_wl: set dmages of buffer to tbm_surface 10/179010/2
Changyeon Lee [Thu, 10 May 2018 10:14:42 +0000 (19:14 +0900)]
e_comp_wl: set dmages of buffer to tbm_surface

if client do commit without damage of buffer,
full damage is set to surface

Change-Id: I734db42592bb8faa419a2a5a1b63b5c7d9f73708

6 years agoe_policy: fix bug for supporting E_POLICY_INTERCEPT_SEND_PRE_VISIBILITY interceptor 54/179054/1
Doyoun Kang [Mon, 30 Apr 2018 10:52:28 +0000 (19:52 +0900)]
e_policy: fix bug for supporting E_POLICY_INTERCEPT_SEND_PRE_VISIBILITY interceptor

there was no code to define E_POLICY_INTERCEPT_SEND_PRE_VISIBILITY value in E_Policy_Interceptor structure.

Change-Id: I1e07de4d74b1a786a213ce2b9cfa84eab928d318

6 years agoe_policy_visibility: Modified to invoke interceptor before sending pre visibility... 53/179053/1
Seungjin Park [Fri, 27 Apr 2018 07:44:55 +0000 (16:44 +0900)]
e_policy_visibility: Modified to invoke interceptor before sending pre visibility event

Signed-off-by: Seungjin Park <sj8808.park@samsung.com>
Change-Id: Ib09a676a79531674de2837bd9da0d052fd976490

6 years agoe_plane: do not fetch of fb_target when sync plane has pending commit 79/178879/2
Changyeon Lee [Mon, 14 May 2018 10:27:22 +0000 (19:27 +0900)]
e_plane: do not fetch of fb_target when sync plane has pending commit

Change-Id: I40a06b4dd04d6d3522b8502215d522448a337243

6 years agoe_plane: set 1 to set/unset_counter when fb_target enter hwc 78/178878/1
Changyeon Lee [Mon, 14 May 2018 10:13:51 +0000 (19:13 +0900)]
e_plane: set 1 to set/unset_counter when fb_target enter hwc

plane should be synchronize set/unset th fb_target
even if fb_target enter hwc

Change-Id: I70ec8a92540422ac115a8b2c3f2d3c46c73da49c

6 years agoe_plane: free pp_data_list when dpms off 57/177657/1 accepted/tizen/4.0/unified/20180503.080622 submit/tizen_4.0/20180502.123707
Junkyeong Kim [Wed, 2 May 2018 12:31:17 +0000 (21:31 +0900)]
e_plane: free pp_data_list when dpms off

Change-Id: I0859492938a0abbe08f92d4571ef861dad394e93
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agocheck uniconify_render_running before uniconify window while handling focus 36/177536/1 submit/tizen_4.0/20180502.010506
Doyoun Kang [Wed, 2 May 2018 00:14:45 +0000 (09:14 +0900)]
check uniconify_render_running before uniconify window while handling focus

there is a bug that the window which is running uniconify_render is uniconified while handling focus.
for this, enlightenment tries to render it continuously

Change-Id: I621047817ab3589480ebe493c2ecd19bcf3fa2a2

6 years agoorg.enlightenment.wm.conf : apply default deny to method/own in dbus policy 74/176874/1
Sung-Jin Park [Tue, 24 Apr 2018 05:47:20 +0000 (14:47 +0900)]
org.enlightenment.wm.conf : apply default deny to method/own in dbus policy

Change-Id: I68f707c9d681d65a865d25eb3f6a6ce73c7cb8e2
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_comp_wl_rsm: do not use wl_shm_buffer when saving img of remote_source 98/176598/1 accepted/tizen/4.0/unified/20180424.085249 submit/tizen_4.0/20180424.062523
Changyeon Lee [Fri, 20 Apr 2018 06:28:29 +0000 (15:28 +0900)]
e_comp_wl_rsm: do not use wl_shm_buffer when saving img of remote_source

it is possible that wl_shm_buffer is freed during saving img of remote_source
so save information of wl_shm_buffer in Thread_Data

Change-Id: I897ae71b1c2d68ad12826fe389d1d47395701042

6 years agoe_comp_wl: modify to leave COMP log after creating bg_rectangle 68/176368/1
Sung-Jin Park [Thu, 19 Apr 2018 01:44:37 +0000 (10:44 +0900)]
e_comp_wl: modify to leave COMP log after creating bg_rectangle

Change-Id: I39a8b53d3023fafb89e07c8110dbc352c0cf253e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoviewport: check old type only if destination type isn't changed accepted/tizen/4.0/unified/20180330.060833 submit/tizen_4.0/20180329.065259
Boram Park [Thu, 29 Mar 2018 04:12:19 +0000 (13:12 +0900)]
viewport: check old type only if destination type isn't changed

when destination type becomes rect -> mode(letterbox) -> rect, second
rect setting was ignored because rect information is same with
first setting. So we have to check rect information only if destination type
isn't changed.

Change-Id: I3a70540bdf54469b5bf2c7b9ee8eb0d923682d62

6 years agoviewport: check old type only if destination type is mode submit/tizen_4.0/20180329.023007
Boram Park [Thu, 29 Mar 2018 02:07:34 +0000 (11:07 +0900)]
viewport: check old type only if destination type is mode

when destination type becomes mode(letterbox) -> rect -> mode(letterbox), second
mode(letterbox) setting was ignored because destination.mode.type is same with
first setting. So we have to check destination.mode.type only if destination type
is mode.

Change-Id: I6773745c077198c43ca11a818d62eb13d0a1e08a

6 years agoe_policy_visibility: send pre-unobscured event to below window when the window is... 55/173555/1 accepted/tizen/4.0/unified/20180322.145202 submit/tizen_4.0/20180322.083256
Doyoun Kang [Thu, 22 Mar 2018 08:25:31 +0000 (17:25 +0900)]
e_policy_visibility: send pre-unobscured event to below window  when the window is hiding

Change-Id: Ibe8ca4a0c04a611207116c2258cefbb56209729f

6 years agoe_comp: add condition of hwc in case of quickpanel 71/173371/1
Juyeon Lee [Tue, 20 Mar 2018 11:15:02 +0000 (20:15 +0900)]
e_comp: add condition of hwc in case of quickpanel

Change-Id: I4c98aec34939c4b232cee14e55e184d782a1b936

6 years agoe_client: Fixed to reset flag when transform bg is removed 77/172677/1 accepted/tizen/4.0/unified/20180316.062444 submit/tizen_4.0/20180315.051135
Seungjin Park [Thu, 15 Mar 2018 04:25:05 +0000 (13:25 +0900)]
e_client: Fixed to reset flag when transform bg is removed

Change-Id: I3d7c0acd183da6867797dbd903721ac1f5589e15
Signed-off-by: Seungjin Park <sj8808.park@samsung.com>
(cherry picked from commit e051162e79a08b7aab4d3a6d636f31d525bd911e)

6 years agoe_comp_wl: send touch cancel when touched client restacked
JengHyun Kang [Tue, 13 Mar 2018 13:41:53 +0000 (22:41 +0900)]
e_comp_wl: send touch cancel when touched client restacked

Change-Id: I8e3d737c7ce8edd940b6b3439bab74ca81363e3a

6 years agoe_plane_renderer: free release_timer when exported_buffer is released
Changyeon Lee [Fri, 9 Mar 2018 08:58:42 +0000 (17:58 +0900)]
e_plane_renderer: free release_timer when exported_buffer is released

Change-Id: Ie1c14e5972e10b2810a8dab3850cb95d3d3a13ac

6 years agoe_desk: added getter to e_desk_zoom 28/172028/1 accepted/tizen/4.0/unified/20180309.203241 submit/tizen_4.0/20180309.053403
Gwanglim Lee [Fri, 23 Feb 2018 01:41:19 +0000 (10:41 +0900)]
e_desk: added getter to e_desk_zoom

Change-Id: I5382440d321454472753c29625812c539ed0bb12

6 years agovisibility: send pre-unobscured event when the window is first mapped 31/171931/1 accepted/tizen/4.0/unified/20180309.064119 submit/tizen_4.0/20180308.072431
Doyoun Kang [Thu, 8 Mar 2018 07:16:09 +0000 (16:16 +0900)]
visibility: send pre-unobscured event when the window is first mapped

Change-Id: Ib7ac7ff9db4eeb747541ea9689ddc932a1047ca3

6 years agoe_policy_wl: set post_raise flag while handing activate request 30/171930/1
Doyoun Kang [Thu, 8 Mar 2018 00:23:42 +0000 (09:23 +0900)]
e_policy_wl: set post_raise flag while handing activate request

Change-Id: I318f4c233c0b8cd28e67deb37fb0245bb5d70867

6 years agoe_process: not to thaw when prepare_foreground event occur 26/170826/1 accepted/tizen/4.0/unified/20180226.142359 submit/tizen_4.0/20180222.112945
Doyoun Kang [Thu, 22 Feb 2018 11:01:31 +0000 (20:01 +0900)]
e_process: not to thaw when prepare_foreground event occur

we don't send the E_PROCESS_STATE_FOREGROUND event when the "prepare,foreground" event is occured.
E_PROCESS_STATE_FOREGROUND event is sent when unobscured or uniconic event is occured.

Change-Id: Ica2f8c20be83bbe006e1e125f621b543b580339f

6 years agoe_client: modify code for setting latest focus 22/170822/1
Doyoun Kang [Thu, 22 Feb 2018 10:04:02 +0000 (19:04 +0900)]
e_client: modify code for setting latest focus

We added code to set latest focus while handling defered focus.
If above window of defered focus window is current focus window,
then we prepend a current focus window to the latest focus list.

Change-Id: Iccc7560bd9a1cbef1f334683a8a7dfd0683d5eac

6 years agobuffer_flush: no flush for uniconic client 98/170798/1
Juyeon Lee [Thu, 22 Feb 2018 07:26:56 +0000 (16:26 +0900)]
buffer_flush: no flush for uniconic client

client such as keyboard is handled in e_mod_tizen_wl_textinput
and it never be in iconic state(ec->exp_iconify.skip_iconify = 1)
once it keyboard window is hide, the buffer shall not be flushed

Change-Id: I0e1fb43c7a09f5d5b0800905ac92e0c327d14890

6 years agoe_client: modified code for calculating visibility 44/170644/1 accepted/tizen/4.0/unified/20180222.080113 submit/tizen_4.0/20180221.115712
Doyoun Kang [Wed, 21 Feb 2018 06:46:35 +0000 (15:46 +0900)]
e_client: modified code for calculating visibility

we modified code to consider above window's rotation pending state.

Change-Id: I10d560b9738a0ecdd2a8906e10846b91dd5f3b13

6 years agoe_devicemgr: add a intercept hook for a detent event 68/169968/6
JengHyun Kang [Mon, 12 Feb 2018 10:37:57 +0000 (19:37 +0900)]
e_devicemgr: add a intercept hook for a detent event

Change-Id: I4d49e258c2e207d29756843c55925b85b3a319b0

6 years agoe_plane_renderer: remove release_timer when renderer_buffer is freed 60/170360/1
Changyeon Lee [Mon, 19 Feb 2018 09:49:37 +0000 (18:49 +0900)]
e_plane_renderer: remove release_timer when renderer_buffer is freed

Change-Id: I313f81f8ab7bfb571bc4a04a7105c536c93da98d

6 years agoe_plane: do not deactivate renderer if role is cursor 59/170359/1
Changyeon Lee [Tue, 13 Feb 2018 05:56:59 +0000 (14:56 +0900)]
e_plane: do not deactivate renderer if role is cursor

Change-Id: I5dd91e6d3757073cec1751c0444dbbff0950035e

6 years agowl_desktop_shell/e_policy_visibility: add a e_policy_visibility_client_hide_job_cancel 31/170331/2
Doyoun Kang [Mon, 19 Feb 2018 07:28:59 +0000 (16:28 +0900)]
wl_desktop_shell/e_policy_visibility: add a e_policy_visibility_client_hide_job_cancel

There was a bug that the window was not shown when an app called hide and show window continuously.
To fix this, e cancels pending_hide job while handling map request.

Change-Id: Ic95b731a1566a8afca642f13de4bace4bccaf5d4

6 years agoe_policy_visibility: fix error of client iconify when doing grab cancel 99/170299/2
JunSeok, Kim [Wed, 31 Jan 2018 09:01:49 +0000 (18:01 +0900)]
e_policy_visibility: fix error of client iconify when doing grab cancel

Move grab cancel call time before check ec->iconify
because of skip grab cancel when iconify after uniconify situation.
And, add exp_iconify.by_client set to 1

Change-Id: I0ebf30540048c11a6c8d0e6dd4930cfa9a2bfacc
(cherry picked from commit 9719a7ca25785cacbd8caf769aff1622ef036d37)

6 years agoe_gesture: fix build break 29/170329/1
JunSeok, Kim [Mon, 19 Feb 2018 06:49:29 +0000 (15:49 +0900)]
e_gesture: fix build break

Change-Id: Icce9cbb24f35a337e2bdb26ad5b29f91908efa05

6 years agoe_service_region: free ecore_event_handler 38/169838/1
Juyeon Lee [Fri, 9 Feb 2018 13:23:51 +0000 (22:23 +0900)]
e_service_region: free ecore_event_handler

region->event_list is event handler list, it was not freed by _region_free
because wrong free func(ecore_event_del) matched.

Change-Id: I2564d04361111f93a3a5414a12e1042c9feb7197

6 years agoAdding x and y co-ordinate in tap event 50/169550/2
Amit Agrawal [Wed, 7 Feb 2018 09:25:57 +0000 (14:55 +0530)]
Adding x and y co-ordinate in tap event

Change-Id: Icdae3098005306d7416326fc6595558d2f481340
Signed-off-by: Amit Agrawal <a.agrawal@samsung.com>
6 years agoe_plane_renderer: attach buffer to surface when deactivate 19/169719/1 accepted/tizen/4.0/unified/20180212.062608 submit/tizen_4.0/20180209.043800
Changyeon Lee [Mon, 5 Feb 2018 11:35:35 +0000 (20:35 +0900)]
e_plane_renderer: attach buffer to surface when deactivate

if e20 use e_pixmap function for setting backup buffer and
displaying buffer when deactivate, buffer change event isn't generated.
so use e_comp_wl_surface_attach.

Change-Id: I37eb6fb90f17bc166272f754983da0d199a62e64

6 years agoe_policy_visibility: check if the window is under pending hide in intercept hide... 46/169146/3
Doyoun Kang [Fri, 2 Feb 2018 11:36:49 +0000 (20:36 +0900)]
e_policy_visibility: check if the window is under pending hide in intercept hide function

There was a bug that the pending hide window was shown if the window was request to hide
one more time.

Change-Id: I43ea491483741c0c3eb500e96dfd2df783d7785a

6 years agoe_plane: pending delete of renderer until all exported wl_buffer are destroyed 02/168902/1
Changyeon Lee [Wed, 31 Jan 2018 08:11:32 +0000 (17:11 +0900)]
e_plane: pending delete of renderer until all exported wl_buffer are destroyed

Change-Id: I359a081a3d28ba3e02f36dd637930ecccb2199eb

6 years agoe_plane_renderer: check count of display surface in queue set 01/168901/1
Changyeon Lee [Mon, 29 Jan 2018 05:04:45 +0000 (14:04 +0900)]
e_plane_renderer: check count of display surface in queue set

Change-Id: I73cda86ce5ddfa4fcf3000f79096f42a256258a6

6 years agoe_plane_renderer: add dip_surfaces and renderer_buffer when dequeue 00/168900/1
Changyeon Lee [Thu, 25 Jan 2018 12:23:48 +0000 (21:23 +0900)]
e_plane_renderer: add dip_surfaces and renderer_buffer when dequeue

Change-Id: Id2c7d905ed88bc66c3d61008cb13fbfeb3822790

6 years agoe_service_quickpanel: fix bug for quickpanel's visible state 31/168831/1
Doyoun Kang [Tue, 30 Jan 2018 01:32:23 +0000 (10:32 +0900)]
e_service_quickpanel: fix bug for quickpanel's visible state

there was a bug that the quickpanel didn't disappear because its visible state was wrong.

Change-Id: I2c9db7b37968ead0a80d1cb80bfbce6fc985fa3f
Signed-off-by: Doyoun Kang <doyoun.kang@samsung.com>
6 years agowl_desktop_shell: cancel job grab of client while doing unmap 22/168722/1
Doyoun Kang [Tue, 30 Jan 2018 08:53:53 +0000 (17:53 +0900)]
wl_desktop_shell: cancel job grab of client while doing unmap

If the window is unmapped which is under grabbing job, then e cancel the job grab.
And ec's visibility is set to unobscured temporarily because e should send the
fully-obscured event to notice app side.

Change-Id: Id81451f1892685b4078b0233f7c3dd743d48bc22

6 years agoe_policy_visibility: add wrapper function of _e_vis_client_grab_cancel 15/168715/1
JunSeok, Kim [Mon, 22 Jan 2018 11:25:06 +0000 (20:25 +0900)]
e_policy_visibility: add wrapper function of _e_vis_client_grab_cancel

Change-Id: I9b11131c3fb4e0b90da75c11cd1a5d7e02ebf91a

6 years agoe_policy_visibility: change return value of internal function 10/168710/1
Doyoun Kang [Tue, 30 Jan 2018 08:12:03 +0000 (17:12 +0900)]
e_policy_visibility: change return value of internal function

Change-Id: Ie589516cf54f1330c3934a9ca87912632371c22d

6 years agowl_desktop_shell: code cleanup 69/168269/1
Doyoun Kang [Thu, 25 Jan 2018 08:46:18 +0000 (17:46 +0900)]
wl_desktop_shell:  code cleanup

added internal fuctions to remove redundant code.

Change-Id: I60e1cd826f36c7e5ea3fcf3d0536c37213504a37

6 years agoe_policy_visibility: add log for deiconify job 90/168190/1
Doyoun Kang [Thu, 25 Jan 2018 01:28:49 +0000 (10:28 +0900)]
e_policy_visibility: add log for deiconify job

Change-Id: Icd96e5e852c4472d8ba739237562aa633baff541

6 years agoe_comp_wl_rsm: delete render update when remote_surface is unbinded 18/168118/1
Changyeon Lee [Fri, 19 Jan 2018 07:59:58 +0000 (16:59 +0900)]
e_comp_wl_rsm: delete render update when remote_surface is unbinded

if null buffer is attached and bind_ec is remained in update list,
bind_ec is set redirect False and then It can't be composited forever.

Change-Id: I3733a7775902a6c3a4956bd3dd6072c2e051218f

6 years agoe_plane_renderer: always release export buffer in deatch_cb 88/168088/1
Changyeon Lee [Wed, 3 Jan 2018 11:43:04 +0000 (20:43 +0900)]
e_plane_renderer: always release export buffer in deatch_cb

Change-Id: I4af7eed3bd6c13f7ee002b034c90d5b723c63dad

6 years agoe_plane: get tbm_surface according to buffer type 81/167081/3
Changyeon Lee [Mon, 15 Jan 2018 08:38:44 +0000 (17:38 +0900)]
e_plane: get tbm_surface according to buffer type

Change-Id: I9ba3dc261c5cb461419c229ebfe7ea43148f1c69

6 years agoe_comp: allow tbm type buffer to enter hwc 56/167056/2
Changyeon Lee [Mon, 15 Jan 2018 04:01:08 +0000 (13:01 +0900)]
e_comp: allow tbm type buffer to enter hwc

Change-Id: I6da0cfa3b643755d4ba64ff65da9e7d7e13ef3d0

6 years agoe_comp_wl_tbm: ref tbm surface in e_comp_wl_tbm_buffer_get 55/167055/2
Changyeon Lee [Mon, 15 Jan 2018 03:46:30 +0000 (12:46 +0900)]
e_comp_wl_tbm: ref tbm surface in e_comp_wl_tbm_buffer_get

Change-Id: I851af07a1dd965ff7a3f0bf11f21b54277f8df10

6 years agowl_desktop_shell: add log for mapping/unmapping window 78/167778/2 accepted/tizen/4.0/unified/20180123.000838 submit/tizen_4.0/20180122.082001
Doyoun Kang [Mon, 22 Jan 2018 04:34:23 +0000 (13:34 +0900)]
wl_desktop_shell: add log for mapping/unmapping window

Change-Id: I511d38f9d07e5e1ca24664b184dad54a0bcf8b86

6 years agoRevert "e_comp_wl_rsm: To avoid double release of wl_buffer, we changed begining" 24/167824/1
Gwanglim Lee [Mon, 22 Jan 2018 08:14:19 +0000 (17:14 +0900)]
Revert "e_comp_wl_rsm: To avoid double release of wl_buffer, we changed begining"

This reverts commit 5f36da640e1ce08160efcfc811e44f7e9fe78a0b.

Change-Id: Id94260d34781d6210d2135eb69b82bf93ace587a

6 years agoe_comp_wl/e_comp_wl_rsm: add log for mapping/unmapping window 71/167771/2
Doyoun Kang [Mon, 22 Jan 2018 01:01:10 +0000 (10:01 +0900)]
e_comp_wl/e_comp_wl_rsm: add log for mapping/unmapping window

Change-Id: I5a413673d65832711b2297aa76c8117d399cf656

6 years agoe_comp_wl_rsm: stop logging of annoying changed_buff_protocol 69/167669/1
Gwanglim Lee [Fri, 19 Jan 2018 06:43:32 +0000 (15:43 +0900)]
e_comp_wl_rsm: stop logging of annoying changed_buff_protocol

Change-Id: I858d97bf2650d3a2effc991e0299fad5e67e64a7

6 years agoe_comp_wl_data: file mod change 50/167650/1
Juyeon Lee [Fri, 19 Jan 2018 04:15:39 +0000 (13:15 +0900)]
e_comp_wl_data: file mod change

Change-Id: I4e6e8f43f5cc422775d85040518f1e48d7df6aab

6 years agoe_comp_wl_rsm: fixed wrong deletion of ec key in surface_hash 70/167570/1 accepted/tizen/4.0/unified/20180119.060713 submit/tizen_4.0/20180118.082159
Gwanglim Lee [Thu, 18 Jan 2018 07:41:39 +0000 (16:41 +0900)]
e_comp_wl_rsm: fixed wrong deletion of ec key in surface_hash

Change-Id: I2ca811de79d506e643a14364273e5af27305fc16