platform/upstream/enlightenment.git
5 years agoe_hwc_window: Set 'is_video' flag for VIDEO STATE hwc window. 90/200790/4
Seunghun [Mon, 4 Mar 2019 08:14:15 +0000 (17:14 +0900)]
e_hwc_window: Set 'is_video' flag for VIDEO STATE hwc window.

The 'is_video' flag has to be set because there are some code using it
to handle video client in hwc implementation.

Change-Id: I65ab8e0dc9aefd373594996ac6331041a1f9fc52

5 years agohwc_window: Remove E_CLIENT_HOOK_NEW_CLIENT, it's dead code due to absence of E_Zone... 89/200789/4
Seunghun [Wed, 27 Feb 2019 02:28:06 +0000 (11:28 +0900)]
hwc_window: Remove E_CLIENT_HOOK_NEW_CLIENT, it's dead code due to absence of E_Zone of E_Client.

Change-Id: I38b30d0bc24e29af696291514f2905f8953eb473

5 years agovideo: Show/Hide evas_object of video client instead of using cb func. 88/200788/4
Seunghun [Wed, 27 Feb 2019 07:55:45 +0000 (16:55 +0900)]
video: Show/Hide evas_object of video client instead of using cb func.

This patch set enlightenment module free to handle a state of show/hide of
evas_object of video client.

Change-Id: I1769c03bc9ee81885d66a6a299f437dab1d5f088

5 years agovideo: Remove _e_video_cb_evas_hide(). 87/200787/4
Seunghun [Wed, 27 Feb 2019 07:51:39 +0000 (16:51 +0900)]
video: Remove _e_video_cb_evas_hide().

it's a dead code.

Change-Id: I1597a20b337d7954aaa2b4d30c654907356cd396

5 years agovideo: Emit 'E_EVENT_CLIENT_VISIBILITY_CHANGE' event to video client. 86/200786/4
Seunghun [Wed, 27 Feb 2019 07:42:50 +0000 (16:42 +0900)]
video: Emit 'E_EVENT_CLIENT_VISIBILITY_CHANGE' event to video client.

'E_EVENT_CLIENT_VISIBILITY_CHANGE' will be raised for video client if
follow_topmost_visibility flag is set. This will set enlightenment
module free to handle changing visibility.

Change-Id: I8721877b21579389fd43a047070f5da1884e7680

5 years agovideo: Exposed APIs related video. 85/200785/3
Seunghun [Thu, 7 Mar 2019 08:06:33 +0000 (17:06 +0900)]
video: Exposed APIs related video.

'E_Client_Video' APIs has to be exposed for video modules.

Change-Id: I0fd5012d49c2df39a8f08b141a0c4b391d0b517c

5 years agotitle: send E_EVENT_CLIENT_PROPERTY when title changed 16/200816/2
Juyeon Lee [Mon, 4 Mar 2019 12:22:23 +0000 (21:22 +0900)]
title: send E_EVENT_CLIENT_PROPERTY when title changed

if zxdg_toplevel_v6 requests title_set than, while evaluating sends e event
   so E modules can handle specific window exceptions refer title

Change-Id: Ic459e7a1040e1178730fe40b9cb6c9b1d47e2567
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
5 years agoe_comp_object: e_comp_object_input_rect_get from EINTERN to E_API 65/200365/3
Juyeon Lee [Fri, 22 Feb 2019 07:19:14 +0000 (16:19 +0900)]
e_comp_object: e_comp_object_input_rect_get from EINTERN to E_API

is changed extra module to use.

Change-Id: Iacbf8eaa8e8b184b46c61c9c4a1ffd0b78bc117f

5 years agoe_policy: add hook for tizen_policy set_notification_level 31/200631/2
Juyeon Lee [Wed, 27 Feb 2019 11:10:18 +0000 (20:10 +0900)]
e_policy: add hook for tizen_policy set_notification_level

notification window such as call window requires transition effect
even it is notification window(gear)

Change-Id: Ieee88221db831e900b1cb04b0616c1fff7f2c252

5 years agobuferqueue: fix svace NULL dereference handling 97/200597/3
Juyeon Lee [Wed, 27 Feb 2019 07:27:01 +0000 (16:27 +0900)]
buferqueue: fix svace NULL dereference handling

Change-Id: I22ba094a07fedc8cf2037239c15ba10409859a3a

5 years agoe_policy: add context menu for e_policy_client_is_quickpanel 96/200596/2
Juyeon Lee [Tue, 26 Feb 2019 09:13:59 +0000 (18:13 +0900)]
e_policy: add context menu for e_policy_client_is_quickpanel

quickpanel service type added (context menu)

Change-Id: Ied2ab67776d1f48f36d8cc27f09d626caa7e5d21

5 years agoe_service_quickpanel: add log for debugging 46/200946/2
Doyoun Kang [Wed, 6 Mar 2019 09:38:05 +0000 (18:38 +0900)]
e_service_quickpanel: add log for debugging

Change-Id: I4c5a34afcd9a4cd7830b6358ba6d3721a50f73c7

5 years agoe_comp_wl_shell: Do not reference 'ec' if e_object_unref() returns '0'. 93/200193/3
Seunghun [Wed, 20 Feb 2019 02:10:11 +0000 (11:10 +0900)]
e_comp_wl_shell: Do not reference 'ec' if e_object_unref() returns '0'.

The instance of E_Client is supposed to be freed if e_object_unref()
returns '0'. Hense, processing cannot access 'ec' in that case.

Change-Id: I842512455a8fac831363bba4a62f10bf43f271fa

5 years agofix memory leak - e_comp_object_input_rect_get() 69/200869/1
jeon [Tue, 5 Mar 2019 08:07:46 +0000 (17:07 +0900)]
fix memory leak - e_comp_object_input_rect_get()

  - In e_comp_object_input_rect_get() function append data
    to list, but currently there are not free list after usage.
    So free these invalid usage.

Change-Id: I0e856cd3e94668e7decd933f93efe6d170500cad

5 years agoadd e_managnifier feature 44/199944/2 accepted/tizen/unified/20190219.154029 submit/tizen/20190219.095209
Doyoun Kang [Sun, 17 Feb 2019 08:31:32 +0000 (17:31 +0900)]
add e_managnifier feature

Change-Id: I6304cd76fa31f1b86414674a1ce7872a74c817b8

5 years agoe_service_gesture: support a multi finger gesture 37/199737/3
jeon [Thu, 14 Feb 2019 09:53:12 +0000 (18:53 +0900)]
e_service_gesture: support a multi finger gesture

Change-Id: Idb673459be03967db3e8e2cb26dce9f669bb74ef

5 years agoe_comp_wl: Remove return code by validation of below_obj. 06/199906/2
Seunghun Lee [Fri, 15 Feb 2019 08:56:09 +0000 (17:56 +0900)]
e_comp_wl: Remove return code by validation of below_obj.

_e_comp_wl_subsurface_check_below_bg_rectangle() implementation should
handle the case that below_obj is exist in case of alpha client.

Change-Id: Idc455eb44f3915525275a59946fb6594442bfc4e

5 years agoe_comp_wl: Delete below background object if client want to change its opaque state... 87/199887/1
Seunghun Lee [Fri, 15 Feb 2019 02:27:25 +0000 (11:27 +0900)]
e_comp_wl: Delete below background object if client want to change its opaque state to alpha.

Background object placed below should be removed when client changes its
opaque state to alpha so that make other windows to be visible.

Change-Id: Iaaab49fce8c7e10f63a87647fdb6650a88928753

5 years agoe_plane_renderer: fix memory leak 45/199445/2
Changyeon Lee [Mon, 11 Feb 2019 10:19:02 +0000 (19:19 +0900)]
e_plane_renderer: fix memory leak

Change-Id: I5b05899e34309137dfa5964d080ed2f6a7848292

5 years agoquickpanel: removed unnecessary null check 15/199515/1 accepted/tizen/unified/20190213.071909 submit/tizen/20190213.014835
Gwanglim Lee [Tue, 12 Feb 2019 09:36:25 +0000 (18:36 +0900)]
quickpanel: removed unnecessary null check

Change-Id: Icfae768becc28ab6e7b750cf2b341bc019b3f710

5 years agoe_info_server: fixed string buffer size warning 14/199514/1
Gwanglim Lee [Tue, 12 Feb 2019 09:32:22 +0000 (18:32 +0900)]
e_info_server: fixed string buffer size warning

Change-Id: Iad26f92998c689ddddc51196b47cbe59de9f5250

5 years agoe_client: removed a dead code 13/199513/1
Gwanglim Lee [Tue, 12 Feb 2019 09:20:54 +0000 (18:20 +0900)]
e_client: removed a dead code

Change-Id: Idb43156c53deab4640fe3e87f70685d54982407c

5 years agoe_info: change the none into the no 29/199229/1 accepted/tizen/unified/20190208.061652 submit/tizen/20190207.124403
SooChan Lim [Thu, 7 Feb 2019 10:38:32 +0000 (19:38 +0900)]
e_info: change the none into the no

Change-Id: Iab1b081a56cee59182beae26b5d45671721e2113

5 years agoe_hwc_window: set the zpos of E_HWC_WINDOW_STATE_NONE. 28/199228/1
SooChan Lim [Thu, 7 Feb 2019 10:34:38 +0000 (19:34 +0900)]
e_hwc_window: set the zpos of E_HWC_WINDOW_STATE_NONE.

Change-Id: Ib9cd8f0ff6780b8558a3eb9063eda747cc0059f2

5 years agoe_hwc_windows: sort the hwc_windows by zpos 27/199227/1
SooChan Lim [Thu, 7 Feb 2019 10:22:02 +0000 (19:22 +0900)]
e_hwc_windows: sort the hwc_windows by zpos

Change-Id: I29ce6c46f69a1ee2fffdc782e5d84ac8a95109ff

5 years agoe_info: print fps of hwc window 99/199199/3
Changyeon Lee [Thu, 31 Jan 2019 07:19:49 +0000 (16:19 +0900)]
e_info: print fps of hwc window

Change-Id: I3b20b35c0ae726c985411b75dcdd1436359ff7fd

5 years agoe_hwc_window: add e_hwc_window_fps_get 98/199198/3
Changyeon Lee [Mon, 28 Jan 2019 08:33:07 +0000 (17:33 +0900)]
e_hwc_window: add e_hwc_window_fps_get

Change-Id: I76485017652d4ccfc137278aeafab5b289e4c8b5

5 years agoe_info: add hwc_wins option to winfo 72/198772/6
Changyeon Lee [Wed, 30 Jan 2019 03:23:53 +0000 (12:23 +0900)]
e_info: add hwc_wins option to winfo

Change-Id: Iebe63457d9585b71f5d6143316117e6cdd908d4e

5 years agoe_info: add hwc_wins option to dump of winfo 73/198773/4
Changyeon Lee [Tue, 29 Jan 2019 08:20:38 +0000 (17:20 +0900)]
e_info: add hwc_wins option to dump of winfo

Change-Id: Icfcb139f2a62b36e29a2b76d01090c54d6dcad96

5 years agoe_info_server: remove unreachable code 94/199194/3
Changyeon Lee [Thu, 7 Feb 2019 06:01:59 +0000 (15:01 +0900)]
e_info_server: remove unreachable code

Change-Id: I8cb120003aa8e1beae1e2d9eb926f18b16850b69

5 years agoe_info_server: add checking null of E_Desk and fp 93/199193/3
Changyeon Lee [Thu, 7 Feb 2019 05:57:14 +0000 (14:57 +0900)]
e_info_server: add checking null of E_Desk and fp

Change-Id: I525414c6a3dee10ebca89b6a4310cb0104323080

5 years agoe_test_helper: change eldbus_connection to e_dbus_conn 66/198966/1
Junseok, Kim [Thu, 31 Jan 2019 09:27:23 +0000 (18:27 +0900)]
e_test_helper: change eldbus_connection to e_dbus_conn

Change-Id: Iff814eca5e166f0ac348754300d959ac94ee40b4

5 years agoe_info: add ec list information for printing topvwins 89/198689/1 accepted/tizen/unified/20190129.064409 submit/tizen/20190129.011240
Doyoun Kang [Tue, 29 Jan 2019 01:08:25 +0000 (10:08 +0900)]
e_info: add ec list information for printing topvwins

Change-Id: I8a144c1fd7716b18cc24a7ad5d3eb479f6bfffad

5 years agoe_comp_wl_rsm: make sure temp file is created with secure permissions. 14/198014/2
Gwanglim Lee [Fri, 18 Jan 2019 00:21:10 +0000 (09:21 +0900)]
e_comp_wl_rsm: make sure temp file is created with secure permissions.

Change-Id: I1bc7262df16c982283e170282d7be800e2a3e430

5 years agoe_hwc_window: reset constraints when device type window transit to composite 13/198613/2
Changyeon Lee [Mon, 28 Jan 2019 04:58:18 +0000 (13:58 +0900)]
e_hwc_window: reset constraints when device type window transit to composite

Change-Id: I58d3eff9db56a51579945bcf7f157ccd19673431

5 years agoe_hwc_window: add e_hwc_window_transition_get/set func 12/198612/2
Changyeon Lee [Fri, 25 Jan 2019 11:58:34 +0000 (20:58 +0900)]
e_hwc_window: add e_hwc_window_transition_get/set func

Change-Id: I2a55c748d92f3dab6e9b4243f582cf64eb174a48

5 years agoe_hwc_windows: fix typo 21/198421/3
Changyeon Lee [Thu, 24 Jan 2019 10:54:45 +0000 (19:54 +0900)]
e_hwc_windows: fix typo

Change-Id: I1c8e706232866d040cc27b718eaeba82afcbafa8

5 years agoe_hwc_windows: commit hwc even if only info of hwc_window is changed 20/198420/3
Changyeon Lee [Thu, 24 Jan 2019 10:17:34 +0000 (19:17 +0900)]
e_hwc_windows: commit hwc even if only info of hwc_window is changed

Change-Id: Ie84db27423287b2a29f91d5fb8f92b1362d9cc72

5 years agoe_info_server: modify printing smart objects' information order 23/198623/1
Doyoun Kang [Mon, 28 Jan 2019 07:09:47 +0000 (16:09 +0900)]
e_info_server: modify printing smart objects' information order

Change-Id: I0b1b6f53551780ef860049da6d20ca275115bd1e

5 years agodevicemgr: add virtual mouse/key device creation using configuration 01/198501/1
jeon [Fri, 25 Jan 2019 04:24:56 +0000 (13:24 +0900)]
devicemgr: add virtual mouse/key device creation using configuration

  - This functions were lost during devicemgr migration to core
  - so cherry pick this funtions

Change-Id: I89195f203cba11624e460488373e0de6c5a53fbe

5 years agoe_dbus_conn: call eldbus_connection_unref() within an ecore main thread 87/198487/1 accepted/tizen/unified/20190128.061814 submit/tizen/20190125.020502
Sung-Jin Park [Fri, 25 Jan 2019 01:06:41 +0000 (10:06 +0900)]
e_dbus_conn: call eldbus_connection_unref() within an ecore main thread

Change-Id: I56774c20de34b68aded26430c3325dce831f6c1a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agoRevert "e_dbus_conn: do eldbus_connection_unref in the main thread, add a logic to... 86/198486/1
Sung-Jin Park [Thu, 24 Jan 2019 09:50:59 +0000 (18:50 +0900)]
Revert "e_dbus_conn: do eldbus_connection_unref in the main thread, add a logic to do unref using reference count"

This reverts commit b5d331adc26b91154b3b4ca1727e8e750b7bf11d.

Change-Id: I99e3028b2ac71a4617e4442fa09812d8f00b0f47

5 years agoe_hwc_windows: fix build warning on 64bit system 49/198349/1 accepted/tizen/unified/20190128.061742 submit/tizen/20190124.052722
Changyeon Lee [Thu, 24 Jan 2019 04:41:31 +0000 (13:41 +0900)]
e_hwc_windows: fix build warning on 64bit system

Change-Id: Ic39f9f5575706e0054304da19b4fd71e1fecdf0c

5 years agoe_hwc_windows: skip hwc_window of ui under 24bit window in visible list 20/198120/2 submit/tizen/20190124.034806
Changyeon Lee [Mon, 21 Jan 2019 02:43:04 +0000 (11:43 +0900)]
e_hwc_windows: skip hwc_window of ui under 24bit window in visible list

Change-Id: I850ceef12d9a8aeca98f02c1c6e4a60c50431236

5 years agoe_comp_screen: support added output's mode change
Junkyeong Kim [Tue, 22 Jan 2019 04:57:10 +0000 (13:57 +0900)]
e_comp_screen: support added output's mode change

Change-Id: I191b8bdcc369cedd927f5bd1b2e50ff7cc006b8e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: support external output mode change
Junkyeong Kim [Tue, 22 Jan 2019 04:52:57 +0000 (13:52 +0900)]
e_output: support external output mode change

Change-Id: I3277e2a3914c67fc0d7a3d8d5b57b85ee8771d9b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_plane: add e_plane_external_reset function
Junkyeong Kim [Mon, 21 Jan 2019 11:47:56 +0000 (20:47 +0900)]
e_plane: add e_plane_external_reset function

to support output mode change, add this function.
external output mirror mode use e_plane zoom's pp.
if output mode changed, pp dst buffers size also have to be changed.

Change-Id: I630cf070359fc2d66b32c2aaa3f37ec272c414b0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_eom: support output mode change
Junkyeong Kim [Mon, 21 Jan 2019 11:37:08 +0000 (20:37 +0900)]
e_eom: support output mode change

Change-Id: I9ba3613704a8bafe1b370e91de759abca2cca751
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_util_transform: Rotation transformation along particular axis
aakarshanga [Wed, 16 Jan 2019 05:04:35 +0000 (10:34 +0530)]
e_util_transform: Rotation transformation along particular axis

Change-Id: Ie0a380724acb394f2c6d7ecf221e2225c8c676e0
Signed-off-by: aakarshanga <aakarshan.ga@samsung.com>
5 years agoremote_surface: added a way to get a list of tizen remote surface providers 38/197638/3
Gwanglim Lee [Tue, 15 Jan 2019 00:54:59 +0000 (09:54 +0900)]
remote_surface: added a way to get a list of tizen remote surface providers

Change-Id: I99fcb17424d3c03c8c79dd06144c15d9b52074cd

5 years agoe_keyrouter: modify top position grab check condition 20/197920/2
jeon [Thu, 17 Jan 2019 06:55:41 +0000 (15:55 +0900)]
e_keyrouter: modify top position grab check condition

  - ec->visible is only check this ec is mapped or not
  - visible window status is always E_VISIBILITY_UNOBSCURED

Change-Id: I4f86ec83cc548e2b06d527bb91d3a58b7bad4c23

5 years agoe_hwc_windows: fix NULL pointer dereferences 19/197919/2
Changyeon Lee [Thu, 17 Jan 2019 06:54:10 +0000 (15:54 +0900)]
e_hwc_windows: fix NULL pointer dereferences

Change-Id: I99c4ce3680b1154a54a2ce882f74e1fb7292d0ce

5 years agoe_plane_renderer: fix NULL pointer dereferences 18/197918/2
Changyeon Lee [Thu, 17 Jan 2019 06:38:43 +0000 (15:38 +0900)]
e_plane_renderer: fix NULL pointer dereferences

Change-Id: I9c97cf2d460dce1dcef7d431df4e40eb230bcfc9

5 years agoe_hwc_windows: support dump_buffers of winfo 60/197660/3
Changyeon Lee [Tue, 15 Jan 2019 04:58:41 +0000 (13:58 +0900)]
e_hwc_windows: support dump_buffers of winfo

Change-Id: Ibe2efc397aa3760457f44a33dda4159b210f66c4

5 years agoe_zone_video, e_comp_wl: Add NULL check code to prevent dereferencing. 22/197922/1
Seunghun [Thu, 17 Jan 2019 06:55:40 +0000 (15:55 +0900)]
e_zone_video, e_comp_wl: Add NULL check code to prevent dereferencing.

Change-Id: I0246771300bc3d185def1e645dee4837a55494ba

5 years agoe_hwc_window: change log to EHWINF in accpeted_state_set 22/197622/1
Changyeon Lee [Mon, 14 Jan 2019 12:05:32 +0000 (21:05 +0900)]
e_hwc_window: change log to EHWINF in accpeted_state_set

Change-Id: Ief8064a58bd11bf2117f498278997334d41bc02a

5 years agoe_hwc_windows: support hwc trace of winfo 18/197618/1
Changyeon Lee [Mon, 14 Jan 2019 11:52:21 +0000 (20:52 +0900)]
e_hwc_windows: support hwc trace of winfo

Change-Id: I19084bd93da54d89f0fe1963943457a38e740202

5 years agoe_hwc_windows: remove exception of checking transition 06/197606/2
Changyeon Lee [Mon, 14 Jan 2019 10:00:59 +0000 (19:00 +0900)]
e_hwc_windows: remove exception of checking transition

Change-Id: Ifbe6877d27549a0e7152f0da2d851968fe377eab

5 years agoe_hwc_windows: update accepted_state even if hwc_window is deleted 05/197605/2
Changyeon Lee [Mon, 14 Jan 2019 09:58:41 +0000 (18:58 +0900)]
e_hwc_windows: update accepted_state even if hwc_window is deleted

Change-Id: I69492a1f23181c8986dcf2cc31045dfe10ad992a

5 years agoe_hwc_window_queue: move checking null before dequeue buffer 67/197567/2
Changyeon Lee [Mon, 14 Jan 2019 06:40:36 +0000 (15:40 +0900)]
e_hwc_window_queue: move checking null before dequeue buffer

Change-Id: Ib3ae14b5ca648c0832831656e5b663cebebaafb9

5 years agoRevert "hwc_windows: call the deactive before tizen_surface_shm_flusher_send_flush" 64/197564/2
Changyeon Lee [Mon, 14 Jan 2019 06:13:30 +0000 (15:13 +0900)]
Revert "hwc_windows: call the deactive before tizen_surface_shm_flusher_send_flush"

This reverts commit 099a756453b8b2ddd61a1cecf55e780a9ffe1059.

Change-Id: I8b773b5b66d3bf4b7e3bc5ac98d14f37bba97b2e

5 years agofixed codes to use E_API instead of EAPI. 80/197580/1 accepted/tizen/unified/20190115.060018 submit/tizen/20190114.084843
Gwanglim Lee [Mon, 14 Jan 2019 08:36:27 +0000 (17:36 +0900)]
fixed codes to use E_API instead of EAPI.

Change-Id: I6eb0864b2a7951019e006c8a99a2670687cf775e

5 years agohwc_window: add e_hwc_window_name_set 21/197521/3
SooChan Lim [Fri, 11 Jan 2019 04:16:56 +0000 (13:16 +0900)]
hwc_window: add e_hwc_window_name_set

set the name of the window to the tdm_hwc_window

Change-Id: I01bb158a5c0de8f4d9f4e5aba7744bc8cfe309d3

5 years agoe_comp_screen: support tdm output add and delete 57/197457/3
Junkyeong Kim [Fri, 11 Jan 2019 08:24:29 +0000 (17:24 +0900)]
e_comp_screen: support tdm output add and delete

Change-Id: I3ddc11629a85d7bfd8c17539419a8f6b7f786304
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: do not execute e_hwc_deactive_set to external output set 55/197455/2
Junkyeong Kim [Fri, 11 Jan 2019 08:15:52 +0000 (17:15 +0900)]
e_output: do not execute e_hwc_deactive_set to external output set

Change-Id: I55276c2ad54f15667a515ccc65fe83ccbf2ea024
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_eom: add e_eom create and destroy function to support added output 54/197454/2
Junkyeong Kim [Fri, 11 Jan 2019 07:59:23 +0000 (16:59 +0900)]
e_eom: add e_eom create and destroy function to support added output

Change-Id: I11fb2058b199bbf939d790cd666ea1ee21cfb2e2
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_client: add a way to prevent generating event duplicated 82/197482/3
Doyoun Kang [Fri, 11 Jan 2019 10:57:35 +0000 (19:57 +0900)]
e_client: add a way to prevent generating event duplicated

There was a bug that events (such as E_EVENT_CLIENT_ADD) were sent duplicated in some cases.
So, we added a flag to e_client structure to check whether an event was generated already.
For example, if a E_EVENT_CLIENT_ADD was generated and sent, then it could not be send until
generating E_EVENT_CLIENT_REMOVE event.

For this, we could pair sending ADD/REMOVE, SHOW/HIDE events.

Change-Id: Id42d9c0a6594d0abef270a4970745fa8f23ebf1e

5 years agoe_plane: do not execute layer_commit if output is disconnected 18/197418/2
Junkyeong Kim [Fri, 11 Jan 2019 05:27:39 +0000 (14:27 +0900)]
e_plane: do not execute layer_commit if output is disconnected

if output is disconnected, cannot use output resources.
so do not execute commit function.

Change-Id: Idbf3262b7edfd87f6c7dbe6ebc456a1ed9c8c1d4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_window_queue: don't release buffer to queue in retrieve 50/197450/2
Changyeon Lee [Fri, 11 Jan 2019 05:29:49 +0000 (14:29 +0900)]
e_hwc_window_queue: don't release buffer to queue in retrieve

Change-Id: Ib282c2bdc6226a9ff8246ec9792134458f87d8cd

5 years agoe_hwc_window_queue: allocate e_hwc_window_queue with E_Object 49/197449/2
Changyeon Lee [Thu, 10 Jan 2019 08:36:32 +0000 (17:36 +0900)]
e_hwc_window_queue: allocate e_hwc_window_queue with E_Object

Change-Id: I252acdf5df5fadb3a543b4fa060ca3c7fcea898f

5 years agoe_hwc_windows: call evas_norender if state of target_hwc_window is none 33/197233/2
Changyeon Lee [Thu, 10 Jan 2019 08:41:49 +0000 (17:41 +0900)]
e_hwc_windows: call evas_norender if state of target_hwc_window is none

input event need to render call even if rendering of compositing
isn't needed. so taget_window call evas_norender.

Change-Id: I0e6646a12b83367dc1cecd1d964bfaa5914c6a49

5 years agoe_hwc_windows: delay send release event until rendering of compositor is done 82/196982/3
Changyeon Lee [Tue, 8 Jan 2019 10:14:46 +0000 (19:14 +0900)]
e_hwc_windows: delay send release event until rendering of compositor is done

e20 send release event when receive buffer of next frame and render post callback of
current frame in compositing.
it is possible that client use buffer while compositor is using buffer as the source.

this patch is same logic with below commit

e_plane_renderer: delay send release event until rendering of compositor is done

Change-Id: Ie6e40f22adc47567cdc6e281f58a16db7f982c1c

5 years agoe_hwc_window_queue: add e_hwc_window_queue_acquirable_buffers_get 81/196981/3
Changyeon Lee [Tue, 8 Jan 2019 10:12:52 +0000 (19:12 +0900)]
e_hwc_window_queue: add e_hwc_window_queue_acquirable_buffers_get

Change-Id: I3ef8fdcc72c89816b696cd68afd12d9119483906

5 years agoe_client: make fake mouse-out upon focus-out conditional 43/197043/4
jeon [Wed, 9 Jan 2019 05:26:11 +0000 (14:26 +0900)]
e_client: make fake mouse-out upon focus-out conditional

  - cursor is not changed correctly on wayland
    when a window lost focus while the cursor remained
    inside the window.
  - so patch this fake mouse-out condition refer to opensource

Change-Id: Iac21c482c4c4a274aa8748c390f6031efc1c7510

5 years agoe_dbus_conn: do eldbus_connection_unref in the main thread, add a logic to do unref... 68/197368/1
Sung-Jin Park [Thu, 10 Jan 2019 07:47:08 +0000 (16:47 +0900)]
e_dbus_conn: do eldbus_connection_unref in the main thread, add a logic to do unref using reference count

Change-Id: Iae87d1903d2a0778c4c22f8902c20f20a7f8d94d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
(cherry picked from commit f03ac88fdc39b7e4bf38065b3bab8c348b982e3e)

5 years agodecrease a e_comp->new_clients when ec->new_client is unset 62/197362/2
Doyoun Kang [Thu, 10 Jan 2019 12:26:17 +0000 (21:26 +0900)]
decrease a e_comp->new_clients when ec->new_client is unset

Change-Id: If7d2df01c89760fdc8ff2a0b0837c3de52fd2ec7

5 years agoremove executable permission bit of spec file 32/197032/3
Gwanglim Lee [Wed, 9 Jan 2019 04:10:30 +0000 (13:10 +0900)]
remove executable permission bit of spec file

Change-Id: Ibd8974e43bcd5faae05fd58a1aac1f15cdefe36d

5 years agovideo: make a function _e_video_hwc_windows_iface_property_get() work. 85/197185/1
Seunghun Lee [Thu, 10 Jan 2019 04:59:07 +0000 (13:59 +0900)]
video: make a function _e_video_hwc_windows_iface_property_get() work.

Change-Id: I3670cd4820e631b99034079b8c8e1e1d7de368c7

5 years agoquickpanel: fixed to send state chagned event of qp service only to qp clients which... 91/196991/2 accepted/tizen/unified/20190109.060108 submit/tizen/20190109.012349
Gwanglim Lee [Tue, 8 Jan 2019 11:50:43 +0000 (20:50 +0900)]
quickpanel: fixed to send state chagned event of qp service only to qp clients which have same type

Change-Id: Iaec661340a6cbf1d9a661eadefa9ed29c6777c21

5 years agoe_plane_renderer: don't set release timer to buffer isn't usable 61/196961/3
Changyeon Lee [Tue, 8 Jan 2019 07:15:48 +0000 (16:15 +0900)]
e_plane_renderer: don't set release timer to buffer isn't usable

not usable buffer isn't sent to client and dequeue,
so it don't needs release timer.

Change-Id: I34ef57f465c49dd15d0b037574df8a1b05131785

5 years agoe_comp_object: add e_comp_object_native_usable_get() 63/196863/6
Juyeon Lee [Mon, 7 Jan 2019 00:37:02 +0000 (09:37 +0900)]
e_comp_object: add e_comp_object_native_usable_get()

API e_comp_object_native_usable_get returns if cw->obj is drawable using ns
when a client attaching and committing NULL buffer, its pixmap is changed unusable
and at the same time, server make the client unmap and emit hide effect
to run hide effect, moudules can refer if a window still holds native surface
by using this api

Change-Id: I976fa4662b7ba931d1ceba81ee8f4518171dbb21

5 years agoe_plane_renderer: fix leak in case fail to get acquirable surfaces 21/196921/1
Changyeon Lee [Tue, 8 Jan 2019 02:40:57 +0000 (11:40 +0900)]
e_plane_renderer: fix leak in case fail to get acquirable surfaces

Change-Id: I81f291f6758c9d252701cf20d8bbf8bf82a6d293

5 years agoe_output: remove defensive code that prevents excessive commit calls 27/196527/2
Junkyeong Kim [Wed, 2 Jan 2019 05:18:59 +0000 (14:18 +0900)]
e_output: remove defensive code that prevents excessive commit calls

fix late update error of wearable watch home after zoom panning.

Change-Id: I09a78f6a2ec754338b1d841c1c73b28903cade7a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: execute e_comp_override_add and del when primary output's dpms changeness 00/196900/2
Junkyeong Kim [Mon, 7 Jan 2019 11:21:54 +0000 (20:21 +0900)]
e_output: execute e_comp_override_add and del when primary output's dpms changeness

Change-Id: I421f0ab0f3845db15d57ff83a0bdd53e3d86887f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_plane_renderer: fix flickering when fb_target switch comp mode 61/196561/7
Changyeon Lee [Wed, 2 Jan 2019 08:45:18 +0000 (17:45 +0900)]
e_plane_renderer: fix flickering when fb_target switch comp mode

if not usable and acquired buffer released to queue of fb_target,
it cause flickering when fb_target switch composite mode.
because not usable and acquired buffer can be displayed.

Change-Id: I86e485b46ee9244eb5b8904ddbcddf403c04beac

5 years agoe_info_server: fix issue which fps isn't shown when hwc policy is planes 82/196882/2
Changyeon Lee [Mon, 7 Jan 2019 08:16:39 +0000 (17:16 +0900)]
e_info_server: fix issue which fps isn't shown when hwc policy is planes

Change-Id: I040ee39f1582c9434ea3114da1351fdf3e110bdd

5 years agoe_service_quickpanel: add bg_rect object while using E_SERVICE_QUICKPANEL_EFFECT_TYPE... 97/196897/1
Doyoun Kang [Mon, 7 Jan 2019 10:33:58 +0000 (19:33 +0900)]
e_service_quickpanel: add bg_rect object while using E_SERVICE_QUICKPANEL_EFFECT_TYPE_MOVE effect

If a quickpanel window sets a E_SERVICE_QUICKPANEL_EFFECT_TYPE_MOVE type effect and
e's configuration sets a qp_use_bg_rect to 1, then enlightenment shows an transparent
bg_rect object while showing/hiding a quickpanel window.

Change-Id: Ia573dc2c6776bc077ff34377c904d513483b67e6

5 years agoe_devicemgr: release input events occurred by input generator 25/196625/7
jeon [Thu, 3 Jan 2019 05:07:41 +0000 (14:07 +0900)]
e_devicemgr: release input events occurred by input generator

  - input events must be paired up.
  - but sometimes client request touch/key/mouse down events
    and suddenly destroyed before request up events.
  - for prepare these issue, input generator release events
    if client is destroyed except up events.

Change-Id: I75624bf706bc792fa714bfa96bb624677f7f866c

5 years agoe_hwc_window: Fix NULL pointer dereference. 74/196874/1
Seunghun Lee [Wed, 2 Jan 2019 08:20:57 +0000 (17:20 +0900)]
e_hwc_window: Fix NULL pointer dereference.

Change-Id: I9c471586d061a0dc958ab094110d08fbf590f6c6

5 years agoe_hwc_window: Give a proper instance to tdm_hwc_window_set_property() 73/196873/1
Seunghun Lee [Wed, 2 Jan 2019 08:19:26 +0000 (17:19 +0900)]
e_hwc_window: Give a proper instance to tdm_hwc_window_set_property()

Change-Id: I1dacf82a21031166cd973dc686d813df07663c5f

5 years agoe_comp_wl_viewport: erase unused variable 94/196794/1
Junkyeong Kim [Fri, 4 Jan 2019 08:30:16 +0000 (17:30 +0900)]
e_comp_wl_viewport: erase unused variable

Change-Id: I1f4f8cf0368aca31ab1c5ae90148930fca3e2983
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agofix memory leak in keyboard capture process 82/196782/1
Doyoun Kang [Fri, 4 Jan 2019 07:37:46 +0000 (16:37 +0900)]
fix memory leak in keyboard capture process

Change-Id: I4081c3f8145a21f2d49a4196b1d37849098b4845

5 years agoe_plane_renderer: unset plane if client commit with normal buffer 60/196560/2
Changyeon Lee [Tue, 11 Dec 2018 09:43:10 +0000 (18:43 +0900)]
e_plane_renderer: unset plane if client commit with normal buffer

Change-Id: I285ed8846e0e1c92aa239e5ef053df8db7df9678

5 years agoe_plane_renderer: remove render_buffers list in free callback 81/196581/2
Changyeon Lee [Wed, 2 Jan 2019 11:43:28 +0000 (20:43 +0900)]
e_plane_renderer: remove render_buffers list in free callback

Change-Id: I42873cabb0dcb6e3c7f208fddae5f042b27ce539

6 years agohwc_windows: call the deactive before tizen_surface_shm_flusher_send_flush 28/196428/1
SooChan Lim [Mon, 10 Dec 2018 10:06:54 +0000 (19:06 +0900)]
hwc_windows: call the deactive before tizen_surface_shm_flusher_send_flush

Without this patch, the client will be blocked.
The wayland-tbm has to be fixed later.

Change-Id: I356548e17719430213622a9f90c0b4c61bff8507

6 years agoe_hwc_window_queue: do not destory the queue at destroying tbm_surface_queue. 25/196425/2
SooChan Lim [Fri, 28 Dec 2018 07:30:14 +0000 (16:30 +0900)]
e_hwc_window_queue: do not destory the queue at destroying tbm_surface_queue.

e20 have to deal with the unexpected tbm_surface_queue's destroy.

Change-Id: Iaa6d1dc63b3d8a3db16434d41cf9d8d274fd0644

6 years agoe_comp_wl_viewport: fix vp source buffer info set error 22/196422/1
Junkyeong Kim [Fri, 28 Dec 2018 07:17:43 +0000 (16:17 +0900)]
e_comp_wl_viewport: fix vp source buffer info set error

Change-Id: Ib9b1bb06f719ed1e4b8174c33dc8bc1251535bcd
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_client: add log for e_client_visibility_skip_set 18/196418/1
Doyoun Kang [Fri, 28 Dec 2018 05:44:52 +0000 (14:44 +0900)]
e_client: add log for e_client_visibility_skip_set

Change-Id: I27313fd3f8cbd3edfd2820df7b311927489a7bea

6 years agovideo: Remove unused function find_offscreen_parent_get(). 12/196312/1
Seunghun Lee [Thu, 27 Dec 2018 05:30:43 +0000 (14:30 +0900)]
video: Remove unused function find_offscreen_parent_get().

Change-Id: Iba03b6a0ce3a6e418435c2404651cd04082f25bd

6 years agovideo: remove unused function _e_video_is_visible() 10/196310/1
Seunghun Lee [Thu, 27 Dec 2018 05:24:50 +0000 (14:24 +0900)]
video: remove unused function _e_video_is_visible()

Change-Id: Ia8f4cb9a2bd99cf856b050b1d7d93696916e628c