platform/upstream/enlightenment.git
3 years agoe_policy_visibility: 24bit quickpanel window is included as activity when activity_check 25/243625/2
Junseok, Kim [Tue, 8 Sep 2020 13:00:30 +0000 (22:00 +0900)]
e_policy_visibility: 24bit quickpanel window is included as activity when activity_check

Suppose there're normal window, 24bit quickpanel and higher layers window.
if the higher window hide, the normal window doing deiconify approve even if it's obscured by 24bit quickpanel window.
It's caused by quickpanel window rule out by special_check
for fix this issue, 24bit quickpanel is not special window for include visibility check of deiconify approve.

Change-Id: I7df994dc7caf165f1d192a398862d9a8e2e6ac32
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_desk: fixed desk zoom effect 43/243643/2
Doyoun Kang [Wed, 9 Sep 2020 01:52:53 +0000 (10:52 +0900)]
e_desk: fixed desk zoom effect

Change-Id: I2deb7b1913c3656e732b6a456f6340416c937404

3 years agoe_hwc_window: reference hwc_window of cursor when display info is set 60/243560/1 accepted/tizen/unified/20200908.073754 submit/tizen/20200908.071647
Changyeon Lee [Tue, 8 Sep 2020 04:41:26 +0000 (13:41 +0900)]
e_hwc_window: reference hwc_window of cursor when display info is set

Change-Id: Ia86caf5aa1a21936058b811314750a74139eeb45

3 years agoe_hwc_window: clear display and commit buffer ref before hwc_window is freed 55/243555/2
Changyeon Lee [Tue, 8 Sep 2020 04:43:00 +0000 (13:43 +0900)]
e_hwc_window: clear display and commit buffer ref before hwc_window is freed

Change-Id: Ib43bee72604e9609e1ae7fc706afdda501240725

3 years agoe_policy_wl: remove unused tzsh_tvsrv 77/237977/2 submit/tizen/20200908.015033
Junseok, Kim [Fri, 17 Apr 2020 09:09:48 +0000 (18:09 +0900)]
e_policy_wl: remove unused tzsh_tvsrv

Change-Id: I9d441d402f773eb1b48a62e9a9c5351226a21d9c
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_policy_wl: remove unused tzsh_service_call 76/237976/4
Junseok, Kim [Fri, 17 Apr 2020 05:35:46 +0000 (14:35 +0900)]
e_policy_wl: remove unused tzsh_service_call

Change-Id: Ia40e292583c37fa643896df6f0ec5b9ffdaf79ef
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_comp_object: convert damage according to evas_map coordinate 34/243434/3 accepted/tizen/unified/20200908.021114 submit/tizen/20200907.115522 submit/tizen/20200907.215450
Changyeon Lee [Mon, 7 Sep 2020 09:58:18 +0000 (18:58 +0900)]
e_comp_object: convert damage according to evas_map coordinate

for example size of evas_object is 100x100 and evas_object is mapped by 200x200 size,
enlgithenment add damage coordinate(50x50+0+0) base on 100x100 size.
it seems that current efl add damage (50x50+0+0) to gl with eglSetDamageRegionKHR.
but damage of gl coordinate should be (100x100+0+0).
so this patch convert damage according to evas_map coordinate.

Change-Id: I53d3f4323125a95b627e120e29cb1a0361fdb372

3 years agoe_policy_visibility: Do not delete a job during executing jobs in a list. 20/243020/2 accepted/tizen/unified/20200903.151707 submit/tizen/20200903.051822
Seunghun Lee [Wed, 2 Sep 2020 21:07:20 +0000 (06:07 +0900)]
e_policy_visibility: Do not delete a job during executing jobs in a list.

Deleting a E_Vis_Client could be happened while job has been executing by
iterating list of job. In that situation, deleting a job and evaluating
job list had list of job corrupted.
So this patch marks a job deleted and lets it be deleted during job execution.

Change-Id: I95059b9f61073a95212de2ca5c31b9127b8a0dcd

3 years agoRevert "e_devicemgr_inputgen: remove memory leak" 96/242996/1 submit/tizen/20200902.112453
jeon [Wed, 2 Sep 2020 09:56:26 +0000 (18:56 +0900)]
Revert "e_devicemgr_inputgen: remove memory leak"

This reverts commit 408fb1ee6e02c8ad67c6144f87a94dc32dd1d8f6.

Change-Id: I14c0bcc35e66bbb561b6ab2943b94ac098818d96

3 years agoe_info_server: add null checking before use 31/242931/1 accepted/tizen/unified/20200902.145522 submit/tizen/20200902.060217
Junkyeong Kim [Wed, 2 Sep 2020 04:50:41 +0000 (13:50 +0900)]
e_info_server: add null checking before use

Change-Id: I483b858f48a2ce1062263775a07cb1cfcfe3cb88
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agoe_client: use previous get type value 30/242930/1
Junkyeong Kim [Wed, 2 Sep 2020 04:21:15 +0000 (13:21 +0900)]
e_client: use previous get type value

Change-Id: I2d76e37c7b0003c3eaff29f11e4601f5621f4cde
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agoe_policy_stack: fix svace issue 00/242800/1 accepted/tizen/unified/20200901.160716 submit/tizen/20200901.021435
Junseok, Kim [Tue, 1 Sep 2020 02:10:21 +0000 (11:10 +0900)]
e_policy_stack: fix svace issue

Change-Id: Ia258532790081743084ca31ee2203bc167aef745
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoviewport: do cache changes according to sub-surface sync mode. 90/242190/7
Seunghun Lee [Tue, 18 Aug 2020 14:10:38 +0000 (23:10 +0900)]
viewport: do cache changes according to sub-surface sync mode.

Now that sub-surface issues SUBSURFACE_COMMIT_TO_CACHE event,
viewport can cache changes requested by client.
The cached state will be applied to current state on the next commit.

Change-Id: Id521b1cd61af4c5c5ba94a13db4e8f04828d1458

3 years agosubsurface: Add a hook point for SUBSURFACE_COMMIT_TO_CACHE. 89/242189/4
Seunghun Lee [Thu, 13 Aug 2020 20:24:59 +0000 (05:24 +0900)]
subsurface: Add a hook point for SUBSURFACE_COMMIT_TO_CACHE.

This patch introduces a hook point for SUBSURFACE_COMMIT_TO_CACHE.
A function given to e_comp_wl_hook_add() with this hook point will be
called when changes of subsurface is committed to cache.
It will give a chance for others to cache its changes by itself.

An implementation of tizen_viewport as an extension of wayland protocol
for tizen will use this hook point for caching its changes in a
future patch.

NOTE:
Modules which listen to this hook event should apply its cached state to
current state first when wl_surface.commit occurs. Yet when there is no
cached state at that moment, it should apply pending state.

COMMIT TO CACHE
pending -> cache

wl_surface.commit
cache ? cache -> current : pending -> current

Change-Id: I35f908881d8ff06a40d90b4d78b381d31b259ef1

3 years agosubsurface: Do not create below bg rectangle for argb window. 02/242702/1
Seunghun Lee [Mon, 31 Aug 2020 11:37:17 +0000 (20:37 +0900)]
subsurface: Do not create below bg rectangle for argb window.

This fixes a bug creating and destroying below bg rectangle repeatedly.

Change-Id: Ibd310e88daaeb230872812a63b3d762ef4326a36

3 years agoe_info: add select window option in dump_buffers 06/242506/3 accepted/tizen/unified/20200828.121346 submit/tizen/20200828.082550
Changyeon Lee [Thu, 27 Aug 2020 08:22:28 +0000 (17:22 +0900)]
e_info: add select window option in dump_buffers

-w [Win_Id] : dump sepecific window
-w server   : dump only server
-w client   : dump only client

Change-Id: I8e54ebe09b74dff8e45e61a623892fc8913d9c25

3 years agoe_policy_wl: add privilege check of all tzsh services 92/242592/3
Junseok, Kim [Fri, 28 Aug 2020 06:26:36 +0000 (15:26 +0900)]
e_policy_wl: add privilege check of all tzsh services

from now on, all of tzsh_service needs privilege.
(default: internal/default/platform)

Change-Id: I03bc29034c900b5148f37d4b8c940854054da7d1
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_keyrouter: retrun false in an intercept hook if only an one hook returns false 59/242459/2
jeon [Thu, 27 Aug 2020 05:48:56 +0000 (14:48 +0900)]
e_keyrouter: retrun false in an intercept hook if only an one hook returns false

Change-Id: Idc9843e852c58eb4523e20924cc70c3d6cce298d

3 years agoe_hwc_window: do not set device state if desk geometry of ec is changed 67/242467/1
Changyeon Lee [Tue, 25 Aug 2020 11:30:44 +0000 (20:30 +0900)]
e_hwc_window: do not set device state if desk geometry of ec is changed

Change-Id: I19f84c6f69a05d3fbcabcd8b569c5a85e9cc98a4

3 years agoe_policy_stack: adjust transient_for always on top hint 94/241894/5 accepted/tizen/unified/20200827.105807 submit/tizen/20200825.123908
Junseok, Kim [Wed, 19 Aug 2020 13:27:04 +0000 (22:27 +0900)]
e_policy_stack: adjust transient_for always on top hint

if use wm.policy.win.transient_for.always_on_top aux hint,
the ec's stack will be fixed topmost of transients.

Change-Id: If532356abcd2efab3df3eeaafa207e1af733c28e
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_policy_wl: support aux_hint for transient_for always on top 93/241893/3
Junseok, Kim [Wed, 19 Aug 2020 13:26:37 +0000 (22:26 +0900)]
e_policy_wl: support aux_hint for transient_for always on top

Change-Id: I341f5b7937e945d2192e8e1bf5ea24ef305a798e
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_module: initialize buffer before use it 29/242229/2 accepted/tizen/unified/20200826.133042 submit/tizen/20200825.082113
Junseok, Kim [Tue, 25 Aug 2020 05:29:27 +0000 (14:29 +0900)]
e_module: initialize buffer before use it

Change-Id: I3358a9ef31e9b33a3cf9606c9cb022ef929daf52
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_hwc_windows: support presentation_time in case of use pp 18/242218/2
Changyeon Lee [Fri, 21 Aug 2020 10:34:54 +0000 (19:34 +0900)]
e_hwc_windows: support presentation_time in case of use pp

take presentation_time of hwc_window or target_buffer in
commit pp_buffer

Change-Id: Ib9e0f29d3a6364a9e7fcb7fb81af61cdd387b1b1

3 years agoe_info: add -hwc_wins commit 05/241305/6
Changyeon Lee [Wed, 19 Aug 2020 04:52:12 +0000 (13:52 +0900)]
e_info: add -hwc_wins commit

print commit infomation of hwc windows

Change-Id: I9382767b378335cfe0f2e20129a9d73a7218f52a

3 years agoe_hwc_windows: support multiple hwc_commit_data 04/241304/6
Changyeon Lee [Wed, 19 Aug 2020 04:49:20 +0000 (13:49 +0900)]
e_hwc_windows: support multiple hwc_commit_data

e_hwc and e_hwc_window has list of commit_data

Change-Id: Icee275fcb791a9d46e993432841550f823a3d873

3 years agoe_hwc_windows: refactoring external output mirror/presentation mode 82/241182/4
Changyeon Lee [Thu, 13 Aug 2020 11:58:22 +0000 (20:58 +0900)]
e_hwc_windows: refactoring external output mirror/presentation mode

1. use pp_queue of target_hwc_window
2. unified tdm_pp of zoom and external output mode
3. set hwc_window to pp_hwc_window if need to use tdm_pp

Change-Id: I3077206a235cceca294abc8f7207f0e3a844fff0

3 years agoe_hwc_windows: refactoring e_hwc_windows_zoom_set/unset 81/241181/3
Changyeon Lee [Thu, 13 Aug 2020 11:34:41 +0000 (20:34 +0900)]
e_hwc_windows: refactoring e_hwc_windows_zoom_set/unset

1. use E_Hwc_Window_Queue and pp_queue of target_window
2. set pp_hwc_window or target_window buffer to pp_buffer of hwc
   after  hwc_windows are updated
3. set pp_buffer of hwc to tdm_pp_commit and pp destination buffer is
   enqueued to pp_queue when pp_commit_handler is called
4. target_window set buffer of pp_queue to tdm client_target_buffer

Change-Id: Ic85bfd3cf58c6371f9297c9fe1385edd3dcd2380

3 years agoe_hwc_windows: remove checking tdm_set 80/241180/2
Changyeon Lee [Thu, 13 Aug 2020 10:47:24 +0000 (19:47 +0900)]
e_hwc_windows: remove checking tdm_set

Change-Id: I89a9db93a6babfe0a9224dcf077c32b91b13e361

3 years agoe_hwc_windows: add pp_queue to E_Hwc_Window_Target 79/241179/2
Changyeon Lee [Thu, 13 Aug 2020 10:26:35 +0000 (19:26 +0900)]
e_hwc_windows: add pp_queue to E_Hwc_Window_Target

if queue of pp is set to E_Hwc_Widnow_Target,
E_Hwc_Window_Target set buffer of pp_queue to tdm

Change-Id: I4c46bd1ee9e5bebb29ba5157a5223cdcfd8b9556

3 years agoe_hwc_window_queue: add e_hwc_window_queue_get api 78/241178/2
Changyeon Lee [Thu, 13 Aug 2020 10:13:18 +0000 (19:13 +0900)]
e_hwc_window_queue: add e_hwc_window_queue_get api

Change-Id: I8743918a5550692db987e0be603fc913b1d1a7a9

3 years agoe_hwc_window: change _e_hwc_window_buffer_set to EINTERN api 77/241177/2
Changyeon Lee [Thu, 13 Aug 2020 10:07:48 +0000 (19:07 +0900)]
e_hwc_window: change _e_hwc_window_buffer_set to EINTERN api

Change-Id: If8a1f7e828c46563da5f10a6e8308b1f09e50738

3 years agoe_comp_wl_remote: add override when saving image in action change hook 23/242123/2
Changyeon Lee [Mon, 24 Aug 2020 08:34:02 +0000 (17:34 +0900)]
e_comp_wl_remote: add override when saving image in action change hook

client can be visible state when action state is changed to DEACTIVATE,
so client can have front buffer by hw reserved memory.

Change-Id: I6221075659a2ab29fe19d8ba071d0602001fa3ca

3 years agoe_info_client: use ELDBUS_TIMEOUT_INFINITE in dump_buffers 14/242114/2
Changyeon Lee [Mon, 24 Aug 2020 06:48:09 +0000 (15:48 +0900)]
e_info_client: use ELDBUS_TIMEOUT_INFINITE in dump_buffers

Change-Id: I94591fdfc89b685ecfa8aeda4b11e307cbd60e0c

3 years agoe_comp_wl: remove a frame resource from cached frame list. 03/242003/3
Seunghun Lee [Fri, 21 Aug 2020 18:29:13 +0000 (03:29 +0900)]
e_comp_wl: remove a frame resource from cached frame list.

this fixes a crash caused by trying to an invalid frame resource which
is destroyed, but dangling from cached frame list.

Change-Id: I3cf097c4b493fec3090a06dfa7f766b934ac2873

3 years agosubsurface: use eina_safety to be loud on invalid parameters. 96/241396/4
Seunghun Lee [Wed, 19 Aug 2020 08:20:25 +0000 (17:20 +0900)]
subsurface: use eina_safety to be loud on invalid parameters.

it should use eina_safety_checks when it comes to the variable that must
not be null. this will make noise and let us know about the misuse.

Change-Id: Ia3eb72eb249e4757e1ef651f0bb5c9acf6b1727f

3 years agosubsurface: add comments about the reason invoking transform_core_update() 29/241229/3
Seunghun Lee [Thu, 23 Jul 2020 09:17:37 +0000 (18:17 +0900)]
subsurface: add comments about the reason invoking transform_core_update()

Change-Id: I6dd0596bd47e4b7892374532efadff1a2615f975

3 years agosubsurface: cleanup for the below_obj of topmost. 28/241228/3
Seunghun Lee [Thu, 23 Jul 2020 06:41:24 +0000 (15:41 +0900)]
subsurface: cleanup for the below_obj of topmost.

do not call recursivley for the clarification. since this function is
obviously for topmost surface, there is no need to use recursive call.

no functional changes

Change-Id: Ibc34b7c324d344b5433220deda7cdae0b0b9da8b

3 years agosubsurface: add and use _e_comp_wl_subsurface_data_get() 27/241227/3
Seunghun Lee [Thu, 23 Jul 2020 02:37:39 +0000 (11:37 +0900)]
subsurface: add and use _e_comp_wl_subsurface_data_get()

Change-Id: Iec6bfcdea79b173e78a266703a421dfc5948c143

3 years agosubsurface: check data validation before calling function 26/241226/3
Seunghun Lee [Sun, 17 May 2020 23:33:50 +0000 (08:33 +0900)]
subsurface: check data validation before calling function

Change-Id: I1b3eb6e73a1ef3f72e62001c85cbb3f2c259c70c

3 years agosubsurface: set_desync should flush 25/241225/3
Seunghun Lee [Fri, 15 May 2020 07:49:40 +0000 (16:49 +0900)]
subsurface: set_desync should flush

wl_subsurface.set_desync should apply the cached wl_surface state.
Otherwise, the sub-surface may be stuck: a commit on the parent surface.
if desynchronized, will not commit the sub-surface because it is
desynchronized, too. A commit on the sub-surface may not happen, if it
is waiting for the frame callback from the previous commit.

Change-Id: I80abff41736ec76ed7449d14d4246eb9c6fc1412

3 years agosubsurface: create 'wl_resource' for wl_subsurface at one place. 24/241224/3
Seunghun Lee [Wed, 13 May 2020 09:09:59 +0000 (18:09 +0900)]
subsurface: create 'wl_resource' for wl_subsurface at one place.

Change-Id: I1aeab454ee00e09f14abaf4232b2598fe1099245

3 years agosubsurface: add a dummy interface for handling a subsurface with invalid parent. 23/241223/2
Seunghun Lee [Wed, 13 May 2020 08:52:41 +0000 (17:52 +0900)]
subsurface: add a dummy interface for handling a subsurface with invalid parent.

now that it uses dummy implementation for wl_subsurface_interface for
invalid parent, there is no need to check if user data of wl_resource
is valid in case of normal parent.

Change-Id: Ib7551574147b8d4358c1fdabf2587e1f6d94a4eb

3 years agosubsurface: add a function checking circular reference for subsurface. 22/241222/2
Seunghun Lee [Wed, 13 May 2020 08:32:34 +0000 (17:32 +0900)]
subsurface: add a function checking circular reference for subsurface.

Change-Id: I25bf7c5ed840f6aa8d121462658b061590e18613

3 years agosubsurface: check parameters unlikely to be false with EINA_SAFETY. 21/241221/2
Seunghun Lee [Wed, 13 May 2020 08:18:01 +0000 (17:18 +0900)]
subsurface: check parameters unlikely to be false with EINA_SAFETY.

Change-Id: I69ae13e2018c6c5155f5ccf416870aec6f5705d7

3 years agosubsurface: remove useless 'if' statement. 20/241220/2
Seunghun Lee [Wed, 13 May 2020 08:14:18 +0000 (17:14 +0900)]
subsurface: remove useless 'if' statement.

it cannot reach here if 'epc' is null.

Change-Id: I3d4f2b18ffd578894077007cf1f6b3ec6ae0f1d1

3 years agoe_client: check iconify by client when client focusable check 79/241379/1 accepted/tizen/unified/20200824.134503 submit/tizen/20200821.110626
Junseok, Kim [Wed, 19 Aug 2020 13:03:36 +0000 (22:03 +0900)]
e_client: check iconify by client when client focusable check

If there're partial size window and using topmost focusable policy,
the topmost window uniconify by focus even if it's iconify by client.
for fix this problem, check iconify by client when client focusable check.

Change-Id: Ibb9b8ee770b442fc20741fc6c923fe2dc5eac290
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agofix wayland frame callback times 26/240726/1
Seunghun Lee [Tue, 11 Aug 2020 12:09:02 +0000 (21:09 +0900)]
fix wayland frame callback times

ecore_time_unix_get() * 1000 is too big to fit in a uint32, so use
ecore_loop_time_get() * 1000.

Change-Id: I1db473a2bf292cce32850da6b1f51178a4ee5bd1

3 years agoe_config: add fake_output_resolution config 12/240112/10 accepted/tizen/unified/20200807.141023 submit/tizen/20200806.063603 submit/tizen/20200806.232945
Junkyeong Kim [Mon, 3 Aug 2020 11:41:07 +0000 (20:41 +0900)]
e_config: add fake_output_resolution config

for test environment, can be set fake resolution by fake_output_resolution config.

Change-Id: I96877f517f02f1e27239e41904875b40fd5a9303
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agoe_process: modify E_CLIENT_HOOK_DEL callback function 07/240407/1
Doyoun Kang [Thu, 6 Aug 2020 05:52:27 +0000 (14:52 +0900)]
e_process: modify E_CLIENT_HOOK_DEL callback function

We add code checking ec->reg_ev.add flag.
If this flag is not set, this means e didn't send E_EVENT_CLIENT_REMOVE event.
In this case, we have to remove ec from ec_list in e_process info.

Change-Id: I7acf1e14c90cc76c1fc7dd835e93e2ed6a9e4466

3 years agoadd log for sending client_add/remove event 05/240405/1
Doyoun Kang [Thu, 6 Aug 2020 05:51:41 +0000 (14:51 +0900)]
add log for sending client_add/remove event

Change-Id: Ib863886a1c7abbc050cacde03fe79fe4bba89771

3 years agoe_comp: add config hwc_send_redraw_request 24/240324/1 accepted/tizen/unified/20200806.121101 submit/tizen/20200805.095055 submit/tizen/20200806.053906
Changyeon Lee [Wed, 5 Aug 2020 09:46:51 +0000 (18:46 +0900)]
e_comp: add config hwc_send_redraw_request

Change-Id: Ibf1ea0bb11c5ea41d8c302c9e3b1d9f3bb3df62f
0: none, 1: send redraw request to client when client need to redraw for hwc

3 years agoe_hwc_windows: add timer of waiting commit handler 84/240184/3
Changyeon Lee [Wed, 29 Jul 2020 08:52:00 +0000 (17:52 +0900)]
e_hwc_windows: add timer of waiting commit handler

add config of e_comp commit_handler_timer.use and
commit_handler_timer.interval

Change-Id: Ib90a43468dc9202ab8ca5b39219819ed47b62d7f

3 years agoe_hwc_windows: attach null buffer after e_comp_object_redirected_set 83/240183/3
Changyeon Lee [Thu, 30 Jul 2020 04:43:46 +0000 (13:43 +0900)]
e_hwc_windows: attach null buffer after e_comp_object_redirected_set

e_comp_object_redireceted_set should be called after buffer is attached to surface,
because evas_map of screen rotation is applied when e_comp_object_redirected_set.

Change-Id: I8073079f0f98c660a02c98361888b973466608cf

3 years agoe_comp_object: disable map when redirect of obj is set to false 82/240182/3
Changyeon Lee [Tue, 28 Jul 2020 11:52:09 +0000 (20:52 +0900)]
e_comp_object: disable map when redirect of obj is set to false

if redirected of obj is set to false, it isn't composited by evas
so map isn't needed.

Change-Id: Id8c18ec04c5d137d438e329962d55826eb4f0fcd

3 years agoe_policy_visibility: check above window is visible when below_uniconify 87/240287/1 accepted/tizen/unified/20200806.062550 submit/tizen/20200806.024821
Junseok, Kim [Wed, 5 Aug 2020 05:29:52 +0000 (14:29 +0900)]
e_policy_visibility: check above window is visible when below_uniconify

Change-Id: I387fe9c1fc8cf179963642340e5752aa87b14837
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_xdg_shell_v6: set ec changed flag when end of toplevel_parent_set 31/240231/2
Junseok, Kim [Tue, 4 Aug 2020 13:16:11 +0000 (22:16 +0900)]
e_xdg_shell_v6: set ec changed flag when end of toplevel_parent_set

Change-Id: Id353d937fcf5a5519c4947e841c933a5acc85e52
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_comp_wl_shell: add log for parent set 53/240153/2
Junseok, Kim [Tue, 4 Aug 2020 04:44:18 +0000 (13:44 +0900)]
e_comp_wl_shell: add log for parent set

Change-Id: I64955936ccc4754371ec05e58ef81c9c88c8f9f4
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_process: add callback for E_CLIENT_HOOK_DEL 49/239849/1 accepted/tizen/unified/20200730.130817 submit/tizen/20200730.084930
Doyoun Kang [Thu, 30 Jul 2020 07:09:24 +0000 (16:09 +0900)]
e_process: add callback for E_CLIENT_HOOK_DEL

There was a potential issue for removing e_process info.
When e doesn't send E_EVENT_CLIENT_REMOVE event, then e_process didn't remove ec from the ec_list.
In this case, e could work invalid.

Change-Id: I04974cb4660b0fc4b1beff82aea104da7135907c

3 years agoe_process: add log for adding/removing e_process info 47/239847/1
Doyoun Kang [Thu, 30 Jul 2020 07:06:02 +0000 (16:06 +0900)]
e_process: add log for adding/removing e_process info

Change-Id: Ib9ea2884ef4e34b3da89ebbbac0b5e59857e3181

3 years agoe_client/e_policy_wl: add log for debugging 95/239695/1 accepted/tizen/unified/20200729.165553 submit/tizen/20200729.055340
Doyoun Kang [Wed, 29 Jul 2020 04:05:03 +0000 (13:05 +0900)]
e_client/e_policy_wl: add log for debugging

Change-Id: Ib3ef8bea1efa8431c2f54886106d44832ce6b13c

3 years agoe_info_server: resize layer_name for prevent string overflow 78/239678/1
Junseok, Kim [Wed, 29 Jul 2020 01:42:12 +0000 (10:42 +0900)]
e_info_server: resize layer_name for prevent string overflow

The maximum size of layer name is 35 (E_LAYER_CLIENT_NOTIFICATION_NORMAL).
But the layer_name size was 32, so it could cause string overflow.
So, resize and initialize layer_name for prevent string overflow.

Change-Id: I8b5da1789d33d8861d70af3746414c387b31ecec
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoRevert "e_info_server: change from eina_stringshare to char array as client title" 76/239676/1
Junseok, Kim [Wed, 29 Jul 2020 01:40:56 +0000 (10:40 +0900)]
Revert "e_info_server: change from eina_stringshare to char array as client title"

This reverts commit 120a9549ea8a375121d19b8b5b041309c8637af9.

Change-Id: I08143062635a5fcb02397b7b15b2ae35a983c30b
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_hwc_windows: check to change of cursor buffer and info in commit_data_acquire 44/239544/1
Changyeon Lee [Tue, 21 Jul 2020 05:28:22 +0000 (14:28 +0900)]
e_hwc_windows: check to change of cursor buffer and info in commit_data_acquire

Change-Id: I62e017be2ea882b8390f8591195181cf9808de54

3 years agoe_hwc_windows: call sync of e_explicit_sync_surface in render pre callback 26/239526/3
Changyeon Lee [Mon, 27 Jul 2020 10:14:31 +0000 (19:14 +0900)]
e_hwc_windows: call sync of e_explicit_sync_surface in render pre callback

eglWaitSyncKHR of e_explicit_sync_surface should be called before gl call

Change-Id: Ia6a2d6b71900fb8d4bb7cd055bbfd482893beca2

3 years agoe_info_server: change from eina_stringshare to char array as client title 16/239216/2 accepted/tizen/unified/20200727.132016 submit/tizen/20200727.024738
Junseok, Kim [Wed, 22 Jul 2020 12:58:30 +0000 (21:58 +0900)]
e_info_server: change from eina_stringshare to char array as client title

use topvwins when there're long name window, can cause E20 crash.
It seems that issue caused by sending eina_stringshare via eldbus, so replace eina_stringshare to char array as hotfix.

+ minor fix: the maximum layer name is 34 (noti_normal), so added more buffer for layer_name.

Change-Id: I07dcf5f56937f4c3178ba25a2ffd55003ebfd1ec
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_keyrouter: Support a API to send event_surface 88/239188/1
jeon [Wed, 22 Jul 2020 10:30:16 +0000 (19:30 +0900)]
e_keyrouter: Support a API to send event_surface

Change-Id: I16be5141433d3d082fda7182d0f57fd39eb42642

3 years agoe_devicemgr_inputgen: remove memory leak 84/238784/4 accepted/tizen/unified/20200722.144544 submit/tizen/20200722.062048
SooChan Lim [Fri, 17 Jul 2020 08:17:05 +0000 (17:17 +0900)]
e_devicemgr_inputgen: remove memory leak

Change-Id: I1d52223e0bf8871763fc8472e69dd1aa3aa77c9a

3 years agoRevert "Revert "subsurface: declare local variable at the beginning of a function."" 27/239127/1
Seunghun Lee [Wed, 22 Jul 2020 04:00:32 +0000 (13:00 +0900)]
Revert "Revert "subsurface: declare local variable at the beginning of a function.""

This reverts commit dc3353dd2213afc94de2873cba08f186bc9fd1ae.

Change-Id: Ic40b32c2a79af35888e57ae1f3611917d7eccf92

3 years agoRevert "Revert "subsurface: check validation of ec at the entry of EINTERN function."" 26/239126/1
Seunghun Lee [Wed, 22 Jul 2020 04:00:31 +0000 (13:00 +0900)]
Revert "Revert "subsurface: check validation of ec at the entry of EINTERN function.""

This reverts commit 62019ea6f6155e924529ec345ce6b5507c2e388e.

Change-Id: I20e73330d05f720a4b08f462004990a371da63f7

3 years agoRevert "Revert "subsurface: cleanup and add some logs for below_obj."" 25/239125/1
Seunghun Lee [Wed, 22 Jul 2020 04:00:29 +0000 (13:00 +0900)]
Revert "Revert "subsurface: cleanup and add some logs for below_obj.""

This reverts commit e6806eb59fc960996109f4f30ad38652cad22b3f.

Change-Id: I8279f67d80025593df5b25126363303797deacaf

3 years agoRevert "Revert "subsurface: remove below_obj when it becomes useless."" 24/239124/1
Seunghun Lee [Wed, 22 Jul 2020 04:00:21 +0000 (13:00 +0900)]
Revert "Revert "subsurface: remove below_obj when it becomes useless.""

This reverts commit 01334e96691eebed6c95192e8cd7ff7174f7e907.

Change-Id: I1077765f4994dae026e1b7c5c52cba9571703dfe

3 years agoRevert "subsurface: remove below_obj when it becomes useless." 48/239048/1 accepted/tizen/unified/20200721.142218 submit/tizen/20200721.101335
Seunghun Lee [Tue, 21 Jul 2020 09:44:37 +0000 (18:44 +0900)]
Revert "subsurface: remove below_obj when it becomes useless."

This reverts commit 8e58cf4ebf8aac359878df727049d07d9b365fdb.

Change-Id: Ia23aa0d1364ee73aacce67ed2bbe88e282c96431

3 years agoRevert "subsurface: cleanup and add some logs for below_obj." 47/239047/1
Seunghun Lee [Tue, 21 Jul 2020 09:44:36 +0000 (18:44 +0900)]
Revert "subsurface: cleanup and add some logs for below_obj."

This reverts commit 19de21428fa12b519199566c3edbe3611603480c.

Change-Id: Ia202cbf29832bc8aeb87a628be18508b79ecaa04

3 years agoRevert "subsurface: check validation of ec at the entry of EINTERN function." 46/239046/1
Seunghun Lee [Tue, 21 Jul 2020 09:44:33 +0000 (18:44 +0900)]
Revert "subsurface: check validation of ec at the entry of EINTERN function."

This reverts commit bf2c1062e1171431778f9d0823ad36f096b41052.

Change-Id: I9f59a18408fbc0d648a17813ab37eaf224db4d5d

3 years agoRevert "subsurface: declare local variable at the beginning of a function." 45/239045/1
Seunghun Lee [Tue, 21 Jul 2020 09:44:30 +0000 (18:44 +0900)]
Revert "subsurface: declare local variable at the beginning of a function."

This reverts commit 4ebe643bdbd69ddea5c94439c3a0085836e91598.

Change-Id: Ia2d816b5e5d5c62f96b55723d26fd5a88904ffb6

3 years agoe_policy_visibility: add job for activating while handling activate request 10/238910/2 accepted/tizen/unified/20200720.125547 submit/tizen/20200720.080509
Doyoun Kang [Mon, 20 Jul 2020 07:23:01 +0000 (16:23 +0900)]
e_policy_visibility: add job for activating while handling activate request

If there is a child which have to run uniconify_render_pending when a parent window request
to activate, e add the parent window to job to sync showing windows both parent and children.

Change-Id: I68c183cdb392a8488e1771f3d763ba5ea677ccd5

4 years agoe_actions: check if the list pointer is null. 83/238783/2
SooChan Lim [Fri, 17 Jul 2020 08:08:09 +0000 (17:08 +0900)]
e_actions: check if the list pointer is null.

Change-Id: Ia80682c7e1a23cf3ea50466cedaa5f1942243852

4 years agoe_comp_object: check if cw->ec is null 82/238782/2
SooChan Lim [Fri, 17 Jul 2020 08:02:55 +0000 (17:02 +0900)]
e_comp_object: check if cw->ec is null

Change-Id: I8c20593eb7eeb17be58d6888a5c087c37e73256c

4 years agoRevert "Revert "dpms: adapt silent boot"" 91/238591/1 accepted/tizen/unified/20200716.144546 submit/tizen/20200716.075032
Junkyeong Kim [Wed, 15 Jul 2020 09:43:18 +0000 (18:43 +0900)]
Revert "Revert "dpms: adapt silent boot""

This reverts commit ffd6ff4e275031cc81f4b43ac78d07d62e231968.

Change-Id: I3d9789413debf4ae2acd90bc7f99d41152adf019
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_hwc_windows_queue: send redraw request when client should render at queue buffer 49/238549/1 accepted/tizen/unified/20200715.115521 submit/tizen/20200715.044126
Changyeon Lee [Thu, 9 Jul 2020 05:42:54 +0000 (14:42 +0900)]
e_hwc_windows_queue: send redraw request when client should render at queue buffer

Change-Id: I3927efb04d295b1461d8ccb50a1e98d8e496927d

4 years agoadd e_comp_wl_renderer for supporting tizen_renderer protocol 48/238548/1
Changyeon Lee [Thu, 9 Jul 2020 05:41:59 +0000 (14:41 +0900)]
add e_comp_wl_renderer for supporting tizen_renderer protocol

Change-Id: I8e978ec3100a1933867507b19061ce279e9a4c52

4 years agoe_comp_wl_rsm: use output transform of pending viewport if buffer is pending 47/238547/1
Changyeon Lee [Tue, 14 Jul 2020 10:10:29 +0000 (19:10 +0900)]
e_comp_wl_rsm: use output transform of pending viewport if buffer is pending

Change-Id: I278978ab56ca59544215092d8b1c1a405de8b0aa

4 years agoe_comp_wl_rsm: send true of ignore output transform if remote surface is redirected 46/238546/1
Changyeon Lee [Tue, 14 Jul 2020 07:07:26 +0000 (16:07 +0900)]
e_comp_wl_rsm: send true of ignore output transform if remote surface is redirected

If buffer is rotated according to output rotation, remote surface doesn't send
buffer change event.
buffer should not be rotated because consumer of remote surface doesn't know
rotation state of buffer.

Change-Id: I490b33c284fe82e4eb4ae5c4c9083964c950308c

4 years agosubsurface: declare local variable at the beginning of a function. 49/238349/2
Seunghun Lee [Mon, 13 Jul 2020 04:25:35 +0000 (13:25 +0900)]
subsurface: declare local variable at the beginning of a function.

Change-Id: Id0c8e3e606bfe62cdcff97b1e0274c9cf11e74f3

4 years agosubsurface: check validation of ec at the entry of EINTERN function. 48/238348/2
Seunghun Lee [Mon, 13 Jul 2020 04:22:38 +0000 (13:22 +0900)]
subsurface: check validation of ec at the entry of EINTERN function.

Change-Id: Ia8cf1d2cc5dfbb7dbf47bb2edbe0ef53d16ad6fd

4 years agosubsurface: cleanup and add some logs for below_obj. 47/238347/2
Seunghun Lee [Mon, 13 Jul 2020 04:03:36 +0000 (13:03 +0900)]
subsurface: cleanup and add some logs for below_obj.

no functional changes

Change-Id: I67dc582715a796a94dfeb5306cc298349881ddb5

4 years agosubsurface: remove below_obj when it becomes useless. 78/238278/7
Seunghun Lee [Fri, 10 Jul 2020 06:49:44 +0000 (15:49 +0900)]
subsurface: remove below_obj when it becomes useless.

this patch is to fix the problem that some animation of surface
underneath 'below_obj' can't be shown.

NOTE: The main purpose behind 'below_obj' is probably for using it as a
background of 24bit toplevel surface, which has to be displayed on the
screen with subsurfaces placed underneath a toplevel surface. In this
case, enlightenment supposes that a buffer for contents of toplevel
surface has an alpha channel to show below subsurfaces. Yet, having an
alpha channel means that other surfaces, not associated subsurfaces, can
be exposed somewhere unexpectedly even though it's 24bit
surface(opaque). In the same time, if the associated subsurface is to
show contents displaying on the overlay, then enlightenment has to make
a hole with alpha value to show a overlay layer. For that reason, a
'below_obj' probably has become transparent and had an render copy
attribute.
Yet, what if an application destroys all subsurfaces including
video surface? Well, in this case, since we can consider that the
application dones't want to show below subsurfaces, 'below_obj' can be
removed.

Change-Id: I3b4f251adbef0034d5cfacde291005ed4ad1a5ed

4 years agoe_egl_sync: use android egl extension 63/238363/1 accepted/tizen/unified/20200713.132951 submit/tizen/20200713.070104
Changyeon Lee [Mon, 13 Jul 2020 04:50:24 +0000 (13:50 +0900)]
e_egl_sync: use android egl extension

current tizen egl extension isn't added in all profile
so temporary use android extension

Change-Id: Id5df26c08f6c6932c1f63939681206336eda14be

4 years agoe_comp_wl: remove include Evas_GL.h in header file 94/238194/4 accepted/tizen/unified/20200710.114027 submit/tizen/20200709.104250
Changyeon Lee [Thu, 9 Jul 2020 08:26:53 +0000 (17:26 +0900)]
e_comp_wl: remove include Evas_GL.h in header file

If Evas_GL and EGL hedaer are included, build error is ouccured in 64bit system.
becase Evas_GL define khronos_unit64_t and khronos_int64_t and
e_egl_sync include EGL header.

Change-Id: Ifde7aa0f88b055deb157c4d50c0df20653a9b927

4 years agoe_hwc_windows: change dump function for debugging to E_API 96/238096/1 submit/tizen/20200709.054137
Changyeon Lee [Wed, 8 Jul 2020 09:40:06 +0000 (18:40 +0900)]
e_hwc_windows: change dump function for debugging to E_API

Change-Id: I0a80387c3ed92a94c47095541e320db84a44f1eb

4 years agoe_info: add -trace exsync option 07/237907/9
Changyeon Lee [Mon, 6 Jul 2020 09:59:21 +0000 (18:59 +0900)]
e_info: add -trace exsync option

trace enable e_explicit_sync

Change-Id: I9b42a37590258f9ab5786a26bb78f02698e2685b

4 years agoe_hwc: support e_explicit_sync in hwc_windows 85/238085/2
Changyeon Lee [Wed, 8 Jul 2020 08:12:23 +0000 (17:12 +0900)]
e_hwc: support e_explicit_sync in hwc_windows

Change-Id: If3e7e54375124a77735842a373c2592b0b0f8850

4 years agoadd e_explicit_sync for supporting zwp_linux_explicit_synchronization 00/237900/10
Changyeon Lee [Wed, 8 Jul 2020 08:11:28 +0000 (17:11 +0900)]
add e_explicit_sync for supporting zwp_linux_explicit_synchronization

Change-Id: Ie79f995c41572bf2652f94df9c87013df659a100

4 years agoadd e_egl_sync for using EGLSyncKHR 99/237899/6
Changyeon Lee [Wed, 1 Jul 2020 10:10:51 +0000 (19:10 +0900)]
add e_egl_sync for using EGLSyncKHR

Change-Id: Ibbbbecfaca2830fbcd0cf8fd55ff802003ef8c50

4 years agoe_desk: add desk_zoom effect 13/237813/3 accepted/tizen/unified/20200709.030133 submit/tizen/20200708.063354
Doyoun Kang [Mon, 6 Jul 2020 01:52:30 +0000 (10:52 +0900)]
e_desk: add desk_zoom effect

Change-Id: I07b4415de3e128f65e4f906d5ae549fcab162255

4 years agoe_policy_visibility: cancel client_lower if ec is unmapped 59/237859/2 accepted/tizen/unified/20200707.140947 submit/tizen/20200706.075111
Junseok, Kim [Mon, 6 Jul 2020 07:13:41 +0000 (16:13 +0900)]
e_policy_visibility: cancel client_lower if ec is unmapped

if the client lower when ec is unmapped, then "post_lower" flag of ec may not be set.
it is timing issue and cause of running e_policy_visibility_client_lower.
for prevent this issue, return false if client is unmapped.

Change-Id: Iea6bc0cb823f06c85e659c248d8de36ecd0bc5b2
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoe_policy_visibility: add null check code in _e_vis_ec_job_exec 21/237821/1
Doyoun Kang [Mon, 6 Jul 2020 02:31:08 +0000 (11:31 +0900)]
e_policy_visibility: add null check code in _e_vis_ec_job_exec

Change-Id: If58c50e46d42480958b4aa9e98af49a3f414f784

4 years agoe_xdg_shell_v6 : add log to check sending ping event 35/237735/4
minsu15.seo [Fri, 3 Jul 2020 06:18:57 +0000 (15:18 +0900)]
e_xdg_shell_v6 : add log to check sending ping event

Change-Id: I91a0e836c3a7679e24dd334451535bf2d5c1323e

4 years agoe_comp_object: don't convert damage of evas_object_image to buffer coordinate 74/237574/2 accepted/tizen/unified/20200702.141717 accepted/tizen/unified/20200703.155016 submit/tizen/20200702.062256 submit/tizen/20200703.083442
Changyeon Lee [Tue, 30 Jun 2020 12:41:26 +0000 (21:41 +0900)]
e_comp_object: don't convert damage of evas_object_image to buffer coordinate

In case of screen rotation, ecore_evas of enlightenment is rotated.
evas converts damage according to rotation of ecore_evas in damage_region_set
of evas engine and doesn't convert damage according to evas_map.
so damage of evas_object_image use surface coordinate.

Change-Id: Idc7a8f9af8c679b02dcbcc7df0f8bf302498f7bf

4 years agoe_policy_wl: update supported version for tizen_ws_shell interface 47/237647/1
Doyoun Kang [Thu, 2 Jul 2020 06:15:42 +0000 (15:15 +0900)]
e_policy_wl: update supported version for tizen_ws_shell interface

Change-Id: I3a2a76746da7d80156fd4b53cc13e3b2db75262a