platform/upstream/enlightenment.git
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

4 years agoe_policy_visibility: use e_client_uniconify when visibility job is excuted 16/237616/1
Doyoun Kang [Thu, 2 Jul 2020 01:30:54 +0000 (10:30 +0900)]
e_policy_visibility: use e_client_uniconify when visibility job is excuted

We called _e_policy_client_uniconify_by_visibility() when E_VIS_JOB_TYPE_UNICONIFY_BY_VISIBILITY
job was executed.
However, it caused another uniconify_pending for its transient children in some case.
So,  we change code to call e_client_uniconify() with not_raise flag.

Change-Id: I4714c1e7643955ddb8a898c939631c8a6194b19e

4 years agoe_comp_wl: do not inverse mouse coords for cursor 09/226809/4 accepted/tizen/unified/20200702.141746 submit/tizen/20200701.060448
jeon [Thu, 5 Mar 2020 12:15:11 +0000 (21:15 +0900)]
e_comp_wl: do not inverse mouse coords for cursor

  - Until now, evas_mouse_event's output coords are
    same as canvas coords.
  - But this will be fix, so output coords are not
    implied evas_map.
  - So inverse coords are not necessary.

Change-Id: I77f976256a8bae99c8200da69f6444aa7ba89634

4 years agoadd log for ec's argb value 87/237487/2
Doyoun Kang [Wed, 1 Jul 2020 02:12:05 +0000 (11:12 +0900)]
add log for ec's argb value

Change-Id: Ief6fcbeb0d2b328db22cde758659b59f75115415

4 years agoe_client: change parameters for transform_update_with_desk_zoom 89/237389/1
Doyoun Kang [Tue, 30 Jun 2020 03:46:37 +0000 (12:46 +0900)]
e_client: change parameters for transform_update_with_desk_zoom

From e_client_transform_core_update_with_desk_zoom(E_Client *ec)
To   e_client_transform_core_update_with_desk_zoom(E_Client *ec, double zoomx, double zoomy, Evas_Coord cx, Evas_Coord cy)

Change-Id: I513d646c1c045377c0e24b725a51a24aa11199a6

4 years agoquickpanel service: support new quickpanel type - apps_menu 47/237347/2 accepted/tizen/unified/20200630.131333 submit/tizen/20200629.103028
Doyoun Kang [Mon, 29 Jun 2020 09:36:48 +0000 (18:36 +0900)]
quickpanel service: support new quickpanel type - apps_menu

Change-Id: I02054fc26b266158907c065bbfa8b2554a77cb01

4 years agoe_info_client: fix help message for transform 20/237320/2
Doyoun Kang [Mon, 29 Jun 2020 05:54:52 +0000 (14:54 +0900)]
e_info_client: fix help message for transform

Change-Id: I7fbc4d5455c34b8cd37b1938cf5025db6e5700c6

4 years agoe_comp_wl_subsurface: remove transform of ec->desk_group when create subsurface 77/237277/3 accepted/tizen/unified/20200630.131341 submit/tizen/20200629.093328
Junseok, Kim [Fri, 26 Jun 2020 13:03:16 +0000 (22:03 +0900)]
e_comp_wl_subsurface: remove transform of ec->desk_group when create subsurface

Change-Id: I36b5dd19aa50b4990db973c9580bbaa22c4fe8a2
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoe_desk: remove build warning 00/237300/1
Junseok, Kim [Mon, 29 Jun 2020 02:58:04 +0000 (11:58 +0900)]
e_desk: remove build warning

Change-Id: I2637a4836b70601df1d5af127368982cac7fbd6a
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoe_desk: use cloned list of ECs in check_ec_in_desk_group func 76/237276/1
Junseok, Kim [Fri, 26 Jun 2020 12:56:24 +0000 (21:56 +0900)]
e_desk: use cloned list of ECs in check_ec_in_desk_group func

If using E_CLIENT_FOREACH in this function, it could cause miss out some ECs during stack changing.
for prevent it, use cloned list.

Change-Id: If68ecc00c92224e45afd2452b64795b13ad6404f
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoe_comp_wl: do not send touch cancel events if ec is keyboard sub 34/237134/1 accepted/tizen/unified/20200626.133435 submit/tizen/20200625.115030
jeon [Thu, 25 Jun 2020 08:16:08 +0000 (17:16 +0900)]
e_comp_wl: do not send touch cancel events if ec is keyboard sub

Change-Id: I00def8d821a0cd65b4c238a147e31b48468f92f8

4 years agoe_client: check e_object_del when focus_unset hook call 08/237108/1
Junseok, Kim [Tue, 26 Nov 2019 11:01:35 +0000 (20:01 +0900)]
e_client: check e_object_del when focus_unset hook call

Change-Id: I8f0bf5e858fda2741222cf0b050ca1820972f09a
(cherry picked from commit d2071244c0904d85681109965fff0884411736b9)

4 years agodesk group: add functionality for activating desk group 82/236982/5 accepted/tizen/unified/20200625.110521 submit/tizen/20200625.043839
Doyoun Kang [Wed, 24 Jun 2020 01:54:47 +0000 (10:54 +0900)]
desk group: add functionality for activating desk group

Change-Id: I20f01ec6b16a694db107557f660d3a86a158d362

4 years agoe_hwc: do not set device state if image filter of comp_object is set 97/236997/2
Changyeon Lee [Tue, 23 Jun 2020 11:00:50 +0000 (20:00 +0900)]
e_hwc: do not set device state if image filter of comp_object is set

image filter is rendered by evas

Change-Id: I0d1832601a5e3fe08b2589ba63d9f3c1e1caf751

4 years agoe_comp_object: add e_comp_object_image_filter_get 96/236996/2
Changyeon Lee [Tue, 23 Jun 2020 10:55:25 +0000 (19:55 +0900)]
e_comp_object: add e_comp_object_image_filter_get

Change-Id: I1a400d134b6241724f5d5358777e17e2ba96facd

4 years agoe_hwc_windows: don't release buffer to queue if hwc_window is committing buffer 65/236765/2 accepted/tizen/unified/20200623.080525 submit/tizen/20200623.022629
Changyeon Lee [Fri, 19 Jun 2020 04:46:15 +0000 (13:46 +0900)]
e_hwc_windows: don't release buffer to queue if hwc_window is committing buffer

if committing buffer is released to queue, compositor can render on displaying buffer

Change-Id: Ia300a9a2c021ca9b0b9d886b2ae861ffc448aaf4

4 years agoe_util_transform: add role property 70/236770/1
Doyoun Kang [Mon, 22 Jun 2020 04:23:42 +0000 (13:23 +0900)]
e_util_transform: add role property

Change-Id: I0cc1f2677fd5f689f79b8b09629ae396d27cbc16

4 years agoe_main: remove deprecated API - ecore_evas_app_comp_sync_set 64/236664/1
Doyoun Kang [Fri, 19 Jun 2020 06:57:38 +0000 (15:57 +0900)]
e_main: remove deprecated API - ecore_evas_app_comp_sync_set

Change-Id: I4141c1b6b45425e33b2c2c2f3d114a3e7e9a5893

4 years agoe_policy_visibility: add log for debug info 40/236640/1
Doyoun Kang [Fri, 19 Jun 2020 04:10:18 +0000 (13:10 +0900)]
e_policy_visibility: add log for debug info

Change-Id: Idd9a58be3218db3f6a29e4e398abbb76b5b93804

4 years agoe_comp_object: add log for intercept_show_helper 36/236636/1
Doyoun Kang [Fri, 19 Jun 2020 03:57:37 +0000 (12:57 +0900)]
e_comp_object: add log for intercept_show_helper

Change-Id: Iee145804773dbdf5f38687c13c361c2cf9df3879