platform/upstream/enlightenment.git
5 years agovideo: Removed code lines reducing size for input/output in case it's bigger than... 87/215187/2 accepted/tizen/unified/20191008.101637 submit/tizen/20191002.100931
Seunghun Lee [Wed, 2 Oct 2019 08:23:19 +0000 (17:23 +0900)]
video: Removed code lines reducing size for input/output in case it's bigger than screen size.

There was a bug that a geometry for input couldn't be recalculated
even though geometry for output had gotten smaller than screen size.

Removed this logic because no reason to do this, and it only hides the problem.

Change-Id: I2b76698c29824fb08be20a631f834bdd99c54e9b

5 years agoe_dpms: add prefix log 'DPMS' 39/215139/1
Junkyeong Kim [Wed, 2 Oct 2019 04:07:08 +0000 (13:07 +0900)]
e_dpms: add prefix log 'DPMS'

Change-Id: Ibaa0f7ed8fadc21fdd7bc553d0556cab5f82b891
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_config: add use_thread_max_cpu 56/215056/1 accepted/tizen/unified/20191004.003513 submit/tizen/20191001.045504
Changyeon Lee [Tue, 1 Oct 2019 07:34:49 +0000 (16:34 +0900)]
e_config: add use_thread_max_cpu

capture use too many thread if many client is iconified at the same time
if use_thread_max_cpu is set, we limit ecore thread max by cpu counts

Change-Id: I1456424304aeece518cea7da13489462774c86b2

5 years agoe_config: added global_object_not_provide 05/211805/3 submit/tizen/20190930.063737
Juyeon Lee [Fri, 9 Aug 2019 07:47:17 +0000 (16:47 +0900)]
e_config: added global_object_not_provide

depends on profile, there are demands to on or off specific protocol service.
by adding config on this structure, server don't create global objects
so client cannot bind such interface.

Change-Id: Ifd2926f2647cdbfeef612a2993e6150e86e2d74d

5 years agoe_policy: add e_client_is_watch_viewer function 41/214941/2
Doyoun Kang [Mon, 30 Sep 2019 05:44:02 +0000 (14:44 +0900)]
e_policy: add e_client_is_watch_viewer function

Change-Id: I3f75c937264532abc858de441a670ea11f97bc1b

5 years agoe_info_server: fix build warning 40/214940/1
Doyoun Kang [Mon, 30 Sep 2019 05:39:23 +0000 (14:39 +0900)]
e_info_server: fix build warning

Change-Id: If0146fa2b993db4fa4daffd2189e6b47dce8061a

5 years agoe_client, e_info_server: keep focus history when focus_policy is TOP_STACK 58/214758/3
Junseok, Kim [Thu, 26 Sep 2019 06:13:19 +0000 (15:13 +0900)]
e_client, e_info_server: keep focus history when focus_policy is TOP_STACK

Change-Id: I47c2e029fae7ad785f2821d3b1a5f3b31fe95aeb

5 years agoe_input: add logs to get input event info from kernel 85/214785/4
jeon [Thu, 26 Sep 2019 08:34:38 +0000 (17:34 +0900)]
e_input: add logs to get input event info from kernel

Change-Id: I3fe249827d2e254a5e30bc264a999da194ffe5b0

5 years agoe_input: generate only one mouse move event from pointer warp request 08/214508/7
jeon [Mon, 23 Sep 2019 11:10:50 +0000 (20:10 +0900)]
e_input: generate only one mouse move event from pointer warp request

Change-Id: Iad1053cd9fb6eecc81358d3481a596627e5075ba

5 years agoe_hwc_window_queue: set buffer transform to backup buffer 66/214866/1 accepted/tizen/unified/20190930.003703 submit/tizen/20190927.104956
Changyeon Lee [Fri, 27 Sep 2019 07:20:51 +0000 (16:20 +0900)]
e_hwc_window_queue: set buffer transform to backup buffer

Change-Id: I80ad03400a95471d97b1a22ebb33b699bd02cc70

5 years agoe_hwc_windows: evaluate hwc if property of is changed 17/214717/2
Changyeon Lee [Wed, 25 Sep 2019 12:33:56 +0000 (21:33 +0900)]
e_hwc_windows: evaluate hwc if property of is changed

Change-Id: Id532e9ebc0abb45b687d2b8445e803951a442469

5 years agoe_hwc_window: set tdm transform to cursor hwc_window 69/214469/3
Changyeon Lee [Mon, 23 Sep 2019 04:32:00 +0000 (13:32 +0900)]
e_hwc_window: set tdm transform to cursor hwc_window

Change-Id: Ia8dca39b7f9c4bbf41f7a72d6293c04c7fb61dd5

5 years agoe_client, e_focus: fix indent as coding rule 35/214735/4 accepted/tizen/unified/20190927.013307 submit/tizen/20190926.073108
Junseok, Kim [Thu, 26 Sep 2019 02:17:10 +0000 (11:17 +0900)]
e_client, e_focus: fix indent as coding rule

Change-Id: I6ad930b6d16048c814d06f8a9c649a2b7306f719

5 years agoe_actions: move focus_set into brace 34/214734/2
Junseok, Kim [Thu, 26 Sep 2019 02:14:12 +0000 (11:14 +0900)]
e_actions: move focus_set into brace

Change-Id: I28f522138e1ec631d0a1d909138003f8bcf6e8e6

5 years agoe_xdg_shell: skip checking configure_ack event of specified ec while handling configu... 73/214673/2 submit/tizen/20190925.093401
Doyoun Kang [Wed, 25 Sep 2019 06:34:44 +0000 (15:34 +0900)]
e_xdg_shell: skip checking configure_ack event of specified ec while handling configure event

The ec which is bound with remote surface provider makes the buffer only
and it does not send configure acknowledge event and commit event.
(For this, the error log is printed whenever handling configure event.)

So, we add code to set the flag which checks receiving a configure_ack event or not
if the ec is bound a remote surface provider.

Change-Id: I0133fabe87a9ec83005a45c867667e5a575364fc

5 years agoe_hwc_windows: hwc window always has to set the buffer to the tdm hwc. 40/214640/1 accepted/tizen/unified/20190925.220423 submit/tizen/20190925.040059
SooChan Lim [Wed, 25 Sep 2019 01:52:19 +0000 (10:52 +0900)]
e_hwc_windows: hwc window always has to set the buffer to the tdm hwc.

The tdm_hwc has to know the buffer change of the tdm_hwc_window all the time.

Change-Id: I559fca229d2e06d3a8c3ab5e92318fb5d1a247f9

5 years agoe_hwc_windows: set the buffer to the tdm when it is the pp_set 39/214639/1
SooChan Lim [Wed, 25 Sep 2019 01:48:09 +0000 (10:48 +0900)]
e_hwc_windows: set the buffer to the tdm when it is the pp_set

Change-Id: I979b22578760289cccbf8e4c219aa83764f3f0ed

5 years agoe_hwc_windows: hwc has to check the redirect even if it is the pp_set. 38/214638/1
SooChan Lim [Wed, 25 Sep 2019 01:47:01 +0000 (10:47 +0900)]
e_hwc_windows: hwc has to check the redirect even if it is the pp_set.

Change-Id: Ide89433d8a47446c75decfcccc5b3c07c59fe640

5 years agoe_hwc_windows: use the target window when there is not pp_window 37/214637/1
SooChan Lim [Wed, 25 Sep 2019 01:38:13 +0000 (10:38 +0900)]
e_hwc_windows: use the target window when there is not pp_window

The target window is the src buffer for the zoom pp when
there is not pp_window.

Change-Id: I1e7950857a166267e24573aef69b24dc0ee23f31

5 years agoe_service_launcher: disable old launcher resource if new launcher is connected 06/214506/1
MinJeong Kim [Mon, 23 Sep 2019 10:38:40 +0000 (19:38 +0900)]
e_service_launcher: disable old launcher resource if new launcher is connected

Change-Id: Ib753c6e25e819365685f3af24842bfe33be66138
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_client: add null check 85/214485/1 accepted/tizen/unified/20190924.062055 submit/tizen/20190923.083626 submit/tizen/20190923.092701
Junseok, Kim [Mon, 23 Sep 2019 08:26:50 +0000 (17:26 +0900)]
e_client: add null check

Change-Id: Ib9dbb58c1b3c19139df685d788974619d9f0105c

5 years agoe_client: check buffer_flush during revert_focus 29/214329/2 accepted/tizen/unified/20190921.125429 submit/tizen/20190920.082324
Junseok, Kim [Fri, 20 Sep 2019 08:20:22 +0000 (17:20 +0900)]
e_client: check buffer_flush during revert_focus

there is bug that didn't send iconic_state_changed event to client.
if the client has buffer_flush off, that the client can uniconify
without send iconic_state_changed event in e_comp_intercept_focus.
this patch fix it with check buffer_flush before doing revert_focus.

Change-Id: I0f4932364f0444d544c67c12cd46ece5d32fd994

5 years agoe_main: turn off buffering at the beginning of main 33/214233/3 accepted/tizen/unified/20190920.065338 submit/tizen/20190920.015513
Juyeon Lee [Tue, 17 Sep 2019 07:09:11 +0000 (16:09 +0900)]
e_main: turn off buffering at the beginning of main

move the line to the beginning of main func.
make sure immediate log out in case of stdout and stderr redirection
(e.g. it could redirect to /dev/kmsg for helping of E20 readiness in cold-boot)

Change-Id: I30d6331c46a1fe5c9d0984fb8791a441af693cdc
(cherry picked from commit 50e4899cb841585f5f7c5d071221997fd5b1b9cb)

5 years agoe_hwc_window: check notify when remove destroy listener 21/214221/5 submit/tizen/20190919.071917
Changyeon Lee [Thu, 19 Sep 2019 05:35:21 +0000 (14:35 +0900)]
e_hwc_window: check notify when remove destroy listener

Change-Id: I85d0aef0a7e69a5bf381b4d401e8a766adc64a1a

5 years agoe_comp_wl: set initial scaler values for new client 04/214104/1
MinJeong Kim [Wed, 18 Sep 2019 05:53:07 +0000 (14:53 +0900)]
e_comp_wl: set initial scaler values for new client

Change-Id: Ia7fef27f3e63e972a485643ff7500607a6176b82
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_comp_wl_capture: delete capture client properly if capture failed 37/213937/2
MinJeong Kim [Tue, 17 Sep 2019 01:30:39 +0000 (10:30 +0900)]
e_comp_wl_capture: delete capture client properly if capture failed

Change-Id: I30a5e52e9d8151e608bffa280f9560b59332df79
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agovideo: Keep the size of composite object for video to 1 x 1. 22/214022/1 accepted/tizen/unified/20190917.110551 submit/tizen/20190917.080824
Seunghun Lee [Tue, 17 Sep 2019 07:43:26 +0000 (16:43 +0900)]
video: Keep the size of composite object for video to 1 x 1.

In order to prevent wasting of memory usage, keep the size of composite
object to 1 x 1.
Actually, composite object is virtually unneccessary in case the contents
of video is displayed on overlay plane.

Change-Id: I680db217421225398425bbbf904ba559d9377418

5 years agovideo: 'wl_surface.frame' has to be issued even though client attached the same ... 42/213942/2
Seunghun Lee [Tue, 17 Sep 2019 01:36:23 +0000 (10:36 +0900)]
video: 'wl_surface.frame' has to be issued even though client attached the same 'wl_buffer' as before.

Change-Id: I97b2b09eeb8446f1f17a52e1946e56f8076465cf

5 years agoe_hwc_window: remove destroy listener before resource is unset 10/213910/3
Changyeon Lee [Mon, 16 Sep 2019 09:49:40 +0000 (18:49 +0900)]
e_hwc_window: remove destroy listener before resource is unset

Change-Id: Ia84bc72e3872db2f3c0d0392851db3fc87058209

5 years agoe_hwc_window: compare cursor buffer instead image pointer 09/213909/3
Changyeon Lee [Mon, 16 Sep 2019 09:25:40 +0000 (18:25 +0900)]
e_hwc_window: compare cursor buffer instead image pointer

Change-Id: I862e3422443d646db0a2fc94d0124b5725ec9b2e

5 years agoe_hwc_window: consider transition in is_on_hw_overlay 75/213875/3
Changyeon Lee [Mon, 16 Sep 2019 04:51:17 +0000 (13:51 +0900)]
e_hwc_window: consider transition in is_on_hw_overlay

Change-Id: I25c9df3e9ab9e95ff45aa6a3c6ae35b3d81a961a

5 years agoe_comp: check hwc policy in hwc_end 74/213874/3
Changyeon Lee [Wed, 11 Sep 2019 02:58:12 +0000 (11:58 +0900)]
e_comp: check hwc policy in hwc_end

Change-Id: I21f4010225bb5940463d05cb22d1050cb076698d

5 years agoe_hwc_windows: don't call evas_norender if wait commit is set 41/213741/4
Changyeon Lee [Wed, 11 Sep 2019 02:30:40 +0000 (11:30 +0900)]
e_hwc_windows: don't call evas_norender if wait commit is set

if wait commit is set, hwc mode ins't changed.
call evas_norender after hwc mode is determined

Change-Id: I511b6684f948f211254329202c4781d9ddc01057

5 years agoe_service_launcher: wait callee buffer after asking to prepare show 33/213733/3 accepted/tizen/unified/20190917.110557 submit/tizen/20190917.053802
MinJeong Kim [Wed, 11 Sep 2019 01:14:45 +0000 (10:14 +0900)]
e_service_launcher: wait callee buffer after asking to prepare show

 Post job of forward shared widget launch are started by "prepare_done"
callback from Callee client. But Callee buffers that enlightenment is
holding, might not be "prepared" at this moments. So we need to
some additional process to ensure that at least one buffer of Callee is attached
after enlightenment sent "prepare" message.
 With this patch, Enlightenment will do post forward job of shared widget launch
only after new buffer of callee is attached.

Change-Id: Iaaf0a566348d6c55fb252246fbba6114c86bd958
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_info: Added method for set focus_policy_ext at runtime 98/213898/2 accepted/tizen/unified/20190917.034050 submit/tizen/20190916.115805
Junseok, Kim [Mon, 16 Sep 2019 08:53:02 +0000 (17:53 +0900)]
e_info: Added method for set focus_policy_ext at runtime

Change-Id: I85f433715a7cfb752ef3f59004e52e33d6183574

5 years agoe_info: Added method for get current focus history. 97/213897/2
Junseok, Kim [Mon, 16 Sep 2019 08:51:58 +0000 (17:51 +0900)]
e_info: Added method for get current focus history.

Change-Id: Ic9a72652bde12169b0885993bd0099a6ff8875a6

5 years agoe_client: Make log displayed correctly 94/213894/2
Junseok, Kim [Mon, 16 Sep 2019 08:25:49 +0000 (17:25 +0900)]
e_client: Make log displayed correctly

Change-Id: I5496bbd0822750f32cd5d86140b058380cd23d01

5 years agoe_output: fix return value error 79/213779/2
Junkyeong Kim [Wed, 11 Sep 2019 07:07:57 +0000 (16:07 +0900)]
e_output: fix return value error

Change-Id: I523654ce71ea26b9b510e7401a9560a096cf5438
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: erase unnecessary condition 78/213778/2
Junkyeong Kim [Wed, 11 Sep 2019 07:06:41 +0000 (16:06 +0900)]
e_output: erase unnecessary condition

Change-Id: I819c398807e5088e96939106d3f5199daa24cfb4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agouse e_client_layer_set api for client stack change 96/212596/7 accepted/tizen/unified/20190916.043422 submit/tizen/20190916.002643
Juyeon Lee [Fri, 23 Aug 2019 08:03:43 +0000 (17:03 +0900)]
use e_client_layer_set api for client stack change

if it has only purpose for changing the evas obj layer(such as ibar
   effect animation temporarily, or quickpanel mover generation)
use evas_object_layer_set, but if it is about the client layer policy change
use e_client_layer_set api. because it handles the exception of
layer_pending and layer_block.

Change-Id: I5d25b4ec15d9f3ba4ce10ad467d60ee74733f1c2

5 years agoe_client: add e_client_layer_set() for the change of client layer 64/212564/10
Juyeon Lee [Fri, 23 Aug 2019 05:07:30 +0000 (14:07 +0900)]
e_client: add e_client_layer_set() for the change of client layer

evas_object_layer_set is used for change client layer or effect
to distinguish the usage and reduce inappropriate use, added
NEW API: e_client_layer_set

allowed layer set from E_LAYER_CLIENT_DESKTOP to E_LAYER_CLIENT_CURSOR
this api saves layer to ec->layer when in pending or block state
so the layer can be set after pending or block is free.

Change-Id: Iafdf9d99281cf206dab96f2a52d5920d23120e2e

5 years agofocus: renew topmost focus policy 17/213617/4 accepted/tizen/unified/20190911.111523 submit/tizen/20190911.042318
Junseok, Kim [Mon, 9 Sep 2019 06:48:54 +0000 (15:48 +0900)]
focus: renew topmost focus policy

From now on, device can choice external focus policy via changing focus_policy_ext value in e_config
If focus_policy_ext set to E_FOCUS_EXT_TOP_STACK, then focus alwayls set to topmost visible & focusable window even user click window.
default value of focus_policy_ext is E_FOCUS_EXT_HISTORY

Change-Id: I9f156104cf5931d7ad389b20f84c70b683a625fc

5 years agoe_plane: fix build warning 89/213689/1
Doyoun Kang [Tue, 10 Sep 2019 07:19:39 +0000 (16:19 +0900)]
e_plane: fix build warning

Change-Id: I4f2e43b194402a3ad7cf8c192026ced88085279a

5 years agoe_plane: match ref/unref of ec 31/213631/2 accepted/tizen/unified/20190911.111600 submit/tizen/20190910.052341
MinJeong Kim [Mon, 9 Sep 2019 09:04:14 +0000 (18:04 +0900)]
e_plane: match ref/unref of ec

Change-Id: Iddd747c44044f54c57ff04d66583bc00ccbf9ee1
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_desk: add E_EVENT_DESK_ZOOM_SET/UNSET event 67/213667/1
Doyoun Kang [Tue, 10 Sep 2019 05:11:45 +0000 (14:11 +0900)]
e_desk: add E_EVENT_DESK_ZOOM_SET/UNSET event

Change-Id: Ic20c5de6011a4377af57d37e8bd6aadb550b4fce

5 years agoe_desk: modify code to use simple event structure 65/213665/1
Doyoun Kang [Tue, 10 Sep 2019 05:00:48 +0000 (14:00 +0900)]
e_desk: modify code to use simple event structure

Change-Id: Ie85ad13425dd8dc583d2f7aea7cd5a5795a9bccc

5 years agoe_hwc_windows: update info of target_hwc_window 22/213522/2
Changyeon Lee [Thu, 5 Sep 2019 05:31:03 +0000 (14:31 +0900)]
e_hwc_windows: update info of target_hwc_window

Change-Id: I3e7dae90050c85b094ef3bcf24404ae034212a7c

5 years agoe_hwc_planes: support external output commit 42/213442/5
Junkyeong Kim [Thu, 5 Sep 2019 08:30:50 +0000 (17:30 +0900)]
e_hwc_planes: support external output commit

Change-Id: I1fc16a4087c5f63932925a5c5e1a22e8cea09d7e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_comp_object: fix infinite loop of client inlist 68/212568/3 accepted/tizen/unified/20190905.112930 submit/tizen/20190905.063118
Juyeon Lee [Fri, 23 Aug 2019 05:37:41 +0000 (14:37 +0900)]
e_comp_object: fix infinite loop of client inlist

due to layer change while layer_pending
it causes cw-layer dismatch with ec->layer and its evas object layer

Change-Id: Iee8fca8e70f83236e45c7a3373e6c1e295b47354

5 years agoe_comp_object: add e_comp_object_effect_hiding_set 33/213333/3 accepted/tizen/unified/20190905.060608 submit/tizen/20190905.021322
Juyeon Lee [Wed, 4 Sep 2019 08:18:46 +0000 (17:18 +0900)]
e_comp_object: add e_comp_object_effect_hiding_set

ec->frame never hide when it is animating(bg running, restack showing)
if evas object changes its visibility state, comp_obj emit the signal
   show: state,hidden/action,iconify
   hide: state,visible/action,uniconify
if evas stack has changed than, E-mod effect emit the signal
   show: restack,show
   hide: restack,hide
window transition animation(aka effect) is calculated by the e_mod_effect mod.
refering to signals. therefore it is hard to know in e20 side what is animating
By effect mod set hiding state using this api, intercept hide can process
'hide' unless it is not hiding animation.

Change-Id: Ia580f36270463314f16455dd16f6a6bdf4b94b12

5 years agoe_client/e_comp_wl: use e_client_size_set 16/213316/2
Doyoun Kang [Wed, 4 Sep 2019 07:27:41 +0000 (16:27 +0900)]
e_client/e_comp_wl: use e_client_size_set

we changed code to use e_client_size_set when ec->w and ec->h was changed.

Change-Id: Ia1c7de218d67fb68be98305a8e6db6c4ad38c69e

5 years agoe_comp_screen: send ignore output transform false if hwc policy is windows 63/213263/1
Changyeon Lee [Tue, 3 Sep 2019 06:50:51 +0000 (15:50 +0900)]
e_comp_screen: send ignore output transform false if hwc policy is windows

Change-Id: Ic2bad942e45a88c5c57aed60ebad49f8d4672555

5 years agoe_hwc_windows: fix checking client/none to device/cursor transition 63/213163/4
Changyeon Lee [Mon, 2 Sep 2019 07:13:25 +0000 (16:13 +0900)]
e_hwc_windows: fix checking client/none to device/cursor transition

sholud check hwc_windows of rendering tsurface
when check client/none to device/cursor transition.

Change-Id: I312d106601092c9f1d34521b79f9acb5c4c50b28

5 years agoe_hwc_window: add E_Hwc_Window_Restriction 28/213128/4
Changyeon Lee [Tue, 13 Aug 2019 11:03:00 +0000 (20:03 +0900)]
e_hwc_window: add E_Hwc_Window_Restriction

set restriction of hwc_window if device_state_available is false

Change-Id: I617faaf239e76e10c3fe1e3ad12eb8562c7ef3db

5 years agoe_hwc_windows: check 0 of dst_pos's width and height 76/213176/3 accepted/tizen/unified/20190903.110956 submit/tizen/20190903.042917
Junkyeong Kim [Mon, 2 Sep 2019 08:29:40 +0000 (17:29 +0900)]
e_hwc_windows: check 0 of dst_pos's width and height

Change-Id: If6b82bfac537c942897b0f5496cbbea1ce9a697b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_windows: support external commit with pp converting 66/213166/3
Junkyeong Kim [Mon, 2 Sep 2019 07:29:47 +0000 (16:29 +0900)]
e_hwc_windows: support external commit with pp converting

Change-Id: I8fcf2f88b616489c6b71ea342f96018b76d3ab85
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_comp_wl_subsurface: fixed wrong access to deleted parent ec of subsurface 81/213181/1 submit/tizen/20190903.012850
jeon [Mon, 2 Sep 2019 09:06:08 +0000 (18:06 +0900)]
e_comp_wl_subsurface: fixed wrong access to deleted parent ec of subsurface

Change-Id: If40846a42c5afff04f5be2b937bba8a9932263b7

5 years agoadd a new hook - E_COMP_WL_HOOK_BUFFER_SIZE_CHANGE 09/213009/2 accepted/tizen/unified/20190902.111139 submit/tizen/20190902.063923
Doyoun Kang [Thu, 29 Aug 2019 07:58:51 +0000 (16:58 +0900)]
add a new hook - E_COMP_WL_HOOK_BUFFER_SIZE_CHANGE

We add a hook function to notify changing buffer size.
This hook is called if a buffer size is changed.

Change-Id: I8494f45a6521243dcdc4ab313b8e2046e840d79e

5 years agoe_hwc_window_queue: add info log when backup buffer is created 16/213016/3
Changyeon Lee [Thu, 29 Aug 2019 08:15:39 +0000 (17:15 +0900)]
e_hwc_window_queue: add info log when backup buffer is created

Change-Id: If204afa0d1fd74e68100cc3931dd43b36a79bb2f

5 years agoe_comp_screen: add trace log when Init E_Comp_Screen 07/213007/2
Changyeon Lee [Thu, 29 Aug 2019 07:50:50 +0000 (16:50 +0900)]
e_comp_screen: add trace log when Init E_Comp_Screen

Change-Id: Ife13f10aad25713a4ff17448abca4a4a6f4480fc

5 years agoe_hwc_window_queue: fix memory leak 23/213023/2 accepted/tizen/unified/20190830.040758 submit/tizen/20190829.062859 submit/tizen/20190829.102125
Changyeon Lee [Thu, 29 Aug 2019 09:06:18 +0000 (18:06 +0900)]
e_hwc_window_queue: fix memory leak

Change-Id: I7c431d50023e48bb74f1f5bfa0455f8c8cc0a602

5 years agoe_hwc_window_queue: remove unnecessary null check 24/213024/2
Changyeon Lee [Thu, 29 Aug 2019 09:12:11 +0000 (18:12 +0900)]
e_hwc_window_queue: remove unnecessary null check

Change-Id: I8f65babb647ef622d8d4df076b00d235fbcf8ce9

5 years agoe_util_transform: check if input size is under 0 09/212909/3
Junseok, Kim [Wed, 28 Aug 2019 05:53:19 +0000 (14:53 +0900)]
e_util_transform: check if input size is under 0

Change-Id: I0f6527fbdd9e3444f8364382671a7d6990da2d3f

5 years agoe_hwc_windows: dst buffer clear before sw copy 97/212797/2
Junkyeong Kim [Tue, 27 Aug 2019 02:24:30 +0000 (11:24 +0900)]
e_hwc_windows: dst buffer clear before sw copy

if RGB type, use opaque alpha value.

Change-Id: If9ca50a8c0b57b995321e43b359ff325a6c45c04
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agolog: modify code to use ELOGF not ELOG 33/212833/1
Doyoun Kang [Tue, 27 Aug 2019 06:48:54 +0000 (15:48 +0900)]
log: modify code to use ELOGF not ELOG

Change-Id: Ied20e84aa790a3564568e67674710e3a5b0129be

5 years agoe_info_server: modify infomation for transform property 79/212779/1
Doyoun Kang [Wed, 24 Jul 2019 05:11:15 +0000 (14:11 +0900)]
e_info_server: modify infomation for transform property

Change-Id: I11a4f06faf534725148ba5d3e43427ff52594496

5 years agoe_policy_wl: fixed remaining invalid user data in tzsh client resource 52/212752/2 accepted/tizen/unified/20190827.043506 submit/tizen/20190826.115917
MinJeong Kim [Mon, 26 Aug 2019 11:16:18 +0000 (20:16 +0900)]
e_policy_wl: fixed remaining invalid user data in tzsh client resource

 There were chance to access invalid user data of tzsh client resource(quickpanel,
shared widget launch, etc.) even after tzsh_client object was freed by
unbinding of tzsh.
 This patch unset user data of tzsh client wl_resource when tzsh_client object
is freed before tzsh client resource destroies.

Change-Id: I17dfd8bc1745f23965b49428bc02d707e7ca59ed
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_service_launcher: handle disconnection of tzsh_swl 24/212724/2
MinJeong Kim [Mon, 26 Aug 2019 09:04:27 +0000 (18:04 +0900)]
e_service_launcher: handle disconnection of tzsh_swl

We are not able to progress backward effect of shared widget launch,
if callee client was already disconnected.
Because enlightenment can't receive prepare_done ever.
This patch prevents to wait for prepared done from disconnected callee.
Backward effect will be skipped if calle client is gone before sending prepare_done.

Change-Id: I12f323924a087f84f036c09ba94869fd3a9d6cd2
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_eom: unset the mirror mode when the eom set the presentation 36/212736/1
SooChan Lim [Mon, 26 Aug 2019 10:03:22 +0000 (19:03 +0900)]
e_eom: unset the mirror mode when the eom set the presentation

Change-Id: If0b1364548e485f786380d67561aab99ee62d925

5 years agoe_hwc_windows: change pixman copy scale calculation 08/212608/3
Junkyeong Kim [Fri, 23 Aug 2019 09:19:34 +0000 (18:19 +0900)]
e_hwc_windows: change pixman copy scale calculation

Change-Id: Iad7fd2726f28de412ba894f6c7730723798d2034
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_policy_wl: apply a background state to all windows in same PID 48/212648/2 accepted/tizen/unified/20190826.113241 submit/tizen/20190826.002654
Doyoun Kang [Mon, 26 Aug 2019 00:15:28 +0000 (09:15 +0900)]
e_policy_wl: apply a background state to all windows in same PID

When an application request to set background state to specified PID,
then e changes a background state of all windows belong to specified PID.

Change-Id: Ib18a60152e97a1280c3fe8e8e0f5a9a326c6adc9

5 years agoe_client: check argb and force_obscured while check fully_contain_by_above 38/212438/3 accepted/tizen/unified/20190822.045426 submit/tizen/20190822.002858
Junseok, Kim [Wed, 21 Aug 2019 11:12:56 +0000 (20:12 +0900)]
e_client: check argb and force_obscured while check fully_contain_by_above

Change-Id: If6c439db818f9c3226cdc508d34576f969885990

5 years agoe_output: remove the e_output_external_commit. 41/212441/1
SooChan Lim [Wed, 21 Aug 2019 11:16:26 +0000 (20:16 +0900)]
e_output: remove the e_output_external_commit.

The e_output uses only one e_output_commit in the case of
both primary output and external output.

Change-Id: Ie52e3b311d9f86d34e9e656fc685d93655e0591a

5 years agoeom: e_eom control presentation wait not e_output 52/212352/4
Junkyeong Kim [Tue, 20 Aug 2019 12:05:45 +0000 (21:05 +0900)]
eom: e_eom control presentation wait not e_output

Change-Id: I338203e3e4a9964f04188e9397e50218888247d9
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_window: check if the ec is null. 28/212428/1
SooChan Lim [Wed, 21 Aug 2019 07:39:41 +0000 (16:39 +0900)]
e_hwc_window: check if the ec is null.

Change-Id: I1cbfe52828330312daf1e97b66082b7c181c61dd

5 years agoe_xdg_shell_v6: add api to get ec from zxdg_surface_v6 resource 63/212263/2
Junkyeong Kim [Mon, 19 Aug 2019 11:08:13 +0000 (20:08 +0900)]
e_xdg_shell_v6: add api to get ec from zxdg_surface_v6 resource

the user data of zxdg_surface which is get from ecore_wl2_window_shell_surface_get is not ec.
so need api to get ec from zxdg_surface.

Change-Id: I01297bd630a6dd5ae36cfb7bebfd434b573c221b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_comp_wl_rsm: fixed wrong access to deleted parent ec of subsurface 64/212264/3 accepted/tizen/unified/20190820.114940 submit/tizen/20190820.065053
MinJeong Kim [Mon, 19 Aug 2019 11:12:22 +0000 (20:12 +0900)]
e_comp_wl_rsm: fixed wrong access to deleted parent ec of subsurface

Change-Id: Ie648aac34868ea591c049659f311ccea992fa638
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_client: make do not check focus_skip while check fully_contain_by_above 23/212123/1
Junseok, Kim [Wed, 14 Aug 2019 10:46:25 +0000 (19:46 +0900)]
e_client: make do not check focus_skip while check fully_contain_by_above

At below of the 24-bit color full size and focus skipped window,
if the client doing show and activate immediately can cause client takes a focus for a moment.
For fix this issue, we makes do not check focus_skip in fully_contained_by_above.

Change-Id: I49aa6724dd851b7c2ad51bd6efbacca94fb88bd6

5 years agoe_client: use e_client's geometry values instead of zone 81/212081/1
jeon [Wed, 14 Aug 2019 05:17:53 +0000 (14:17 +0900)]
e_client: use e_client's geometry values instead of zone

  - e_zone's width/height are always full size althought ec is not full size
  - evas_map use e_client's geometry to transform window,
    so this inverse matrix calculate different result before transform.

Change-Id: I1f5e951d8b37116f4b9220260b870c2254a2deb8

5 years agoe_eom: fix the log format 06/212006/3
SooChan Lim [Tue, 13 Aug 2019 07:29:47 +0000 (16:29 +0900)]
e_eom: fix the log format

Change-Id: I684fc3d25381bbc7c5de55131d4927e50d9662c0

5 years agoe_eom: set NULL to the eom_output->eom_client 84/211984/2
SooChan Lim [Tue, 13 Aug 2019 05:59:27 +0000 (14:59 +0900)]
e_eom: set NULL to the eom_output->eom_client

set NULL when the destroying client is assigned at the eom_output

Change-Id: If255d2ae89dbde47641e20c467454729283181f8

5 years agoe_hwc_window_queue: fix error log level 96/211996/2
Changyeon Lee [Tue, 13 Aug 2019 04:28:47 +0000 (13:28 +0900)]
e_hwc_window_queue: fix error log level

Change-Id: I1ff6c2e49cb93bcd13b67330b3a40a41e1a24b41

5 years agoe_hwc_window: add transition_failrues to hwc_window 23/211623/4
Changyeon Lee [Tue, 6 Aug 2019 05:39:21 +0000 (14:39 +0900)]
e_hwc_window: add transition_failrues to hwc_window

1. increase transition_failures when buffer of target_window is changed
   and transition of hwc_window is set.
2. max_transition_failures is set by queue size of target window
3. if transition_failures of hwc_widow larger than max_transition_failrues,
   force accept trainsition of hwc_window.
4. if transition window is exist and buffer and display buffer of target are same,
   transition is set true

Change-Id: I1a7abb639bb1eb47ee415c85fe42272943d43e70

5 years agoe_hwc_windows: add rect to evas when skip target buffer 95/211995/2
Changyeon Lee [Mon, 12 Aug 2019 05:01:23 +0000 (14:01 +0900)]
e_hwc_windows: add rect to evas when skip target buffer

Change-Id: Ida17a7f63969898f2f01e5ba2dc74377f0dd78b6

5 years agoe_hwc_windows: reset buffer of target window if hwc mode is full 94/211994/2
Changyeon Lee [Mon, 12 Aug 2019 05:56:46 +0000 (14:56 +0900)]
e_hwc_windows: reset buffer of target window if hwc mode is full

if target window don't reset buffer before commit null buffer,
buffer release is twice called.
1. commit handler of null buffer
2. fetch buffer of target window

Change-Id: I7d62bdef9d2a01f93e80e06309e1dada4ebbf599

5 years agoe_hwc_window_queue: change log about send/destroy buffer to info 93/211993/2
Changyeon Lee [Fri, 9 Aug 2019 07:00:11 +0000 (16:00 +0900)]
e_hwc_window_queue: change log about send/destroy buffer to info

Change-Id: Ieb187a572457444784138ccf849c3beb00a38312

5 years agoe_hwc_widnow_queue: add E_EVENT_HWC_WINDOW_QUEUE_UNSET 92/211992/2
Changyeon Lee [Fri, 9 Aug 2019 03:15:03 +0000 (12:15 +0900)]
e_hwc_widnow_queue: add E_EVENT_HWC_WINDOW_QUEUE_UNSET

if queue has pending user, prepare_set is called in
callback of E_EVENT_HWC_WINDOW_QUEUE_UNSET

Change-Id: Ib554494ba08b1a864b0054a2eae797d3928164d7

5 years agoe_hwc_window_queue: support resizing non target queue 91/211991/2
Changyeon Lee [Fri, 9 Aug 2019 03:04:50 +0000 (12:04 +0900)]
e_hwc_window_queue: support resizing non target queue

Change-Id: Ief2341d82290583ce1ac0550b5c037cb5faa8873

5 years agoe_hwc_window: reset constraint_buffer_queue when queue is destroyed 90/211990/2
Changyeon Lee [Fri, 9 Aug 2019 02:24:12 +0000 (11:24 +0900)]
e_hwc_window: reset constraint_buffer_queue when queue is destroyed

Change-Id: I571a1e1547a11ecabe20c96760da2253d76d17af

5 years agoe_service_launcher: added identifier 'serial' to shared widget launch 18/212018/1 accepted/tizen/unified/20190814.065102 submit/tizen/20190813.104427
MinJeong Kim [Tue, 13 Aug 2019 09:27:00 +0000 (18:27 +0900)]
e_service_launcher: added identifier 'serial' to shared widget launch

Change-Id: Ia67284e13cfabc836ae26665c8492092830be428
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoremote_surface: send 'prebind' after end of consumer effect 61/211461/3
MinJeong Kim [Mon, 5 Aug 2019 08:21:23 +0000 (17:21 +0900)]
remote_surface: send 'prebind' after end of consumer effect

This patch is for preventing any unwanted visual changes of consumer_ec
by 'bind' operation while window transition effect of consumer_ec runs.

Change-Id: I4d175d3540280d407878e0ded6f013f5633c3add
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_policy_wl: rename prefix of e_client_background_state_set for match with e_policy_w... 79/211779/5 accepted/tizen/unified/20190812.235545 submit/tizen/20190812.054222
Junseok, Kim [Fri, 9 Aug 2019 05:11:05 +0000 (14:11 +0900)]
e_policy_wl: rename prefix of e_client_background_state_set for match with e_policy_wl functions

Change-Id: Ic9e541202541f17ebd5e73a609244c1b6c47cdb3

5 years agoe_eom: refactoring the eom and the external outputs 57/211857/2
SooChan Lim [Tue, 6 Aug 2019 04:07:01 +0000 (13:07 +0900)]
e_eom: refactoring the eom and the external outputs

E20 needs to redesign the code for the support of the multi-dipslay.

Change-Id: I14ace20c2d0011d7acf3245e4bded46ab20cb6a5

5 years agohwc: create the ecore_evas at the only primary output 21/211821/2
SooChan Lim [Thu, 8 Aug 2019 12:41:02 +0000 (21:41 +0900)]
hwc: create the ecore_evas at the only primary output

donot generate and initialize the ecore_evas at the external output.
When e20 uses the two ecore_evas, e20 process the two egl contexts.
It brings the blocking issue of the e20 because of the constrains of
tbm_surface dequeue wait block.

Change-Id: I9ac4cb1aa59524d230b560a9e1f9545d1e228d57

5 years agoe_info: add the -screen_info 95/211795/2
SooChan Lim [Fri, 9 Aug 2019 06:59:10 +0000 (15:59 +0900)]
e_info: add the -screen_info

The screen_info option shows the information of the E_Screen
and E_Outputs. Need to implement to show the specific information later.

Change-Id: I5e5591a3d2b33745fb317b4a7e11e03954f161d0

5 years agoRevert "e_client: add e_client_layer_set() for the change of client layer" 14/211814/1
Juyeon Lee [Fri, 9 Aug 2019 08:23:11 +0000 (17:23 +0900)]
Revert "e_client: add e_client_layer_set() for the change of client layer"

This reverts commit 38dd57d27400437e2d588ae3527902baeecb8ae8.

Change-Id: I0635feaa20b0359774f004956a9148fa7ac164be

5 years agoe_client: add e_client_layer_set() for the change of client layer
Juyeon Lee [Thu, 8 Aug 2019 07:18:44 +0000 (16:18 +0900)]
e_client: add e_client_layer_set() for the change of client layer

evas_object_layer_set is used for change client layer or effect
to distinguish the usage and reduce inappropriate use, added
NEW API: e_client_layer_set

this api ensures layer change.

Change-Id: I7af68025bb642cdd281029bf073a09fd1dc74076

5 years agoe_policy: effect style unset while unmap 58/211758/1
Juyeon Lee [Wed, 10 Jul 2019 03:02:08 +0000 (12:02 +0900)]
e_policy: effect style unset while unmap

in case of keyboard' Magnifier window, it changes its stack between
normal and normal above.
while it changes its stack to normal, animation effect would run.
but after running hide-effect and changing stack to above normal,
its clipper remained in transparent.
as a result, window would be shown transparent due to no edc run.

Change-Id: I07a374bb5bfce7de44d6c163dc27288504b3bca6
(cherry picked from commit b67ca53f383802567d844e2717f14a88002a8ddf)

5 years agoe_client:base_output_resolution: Delete a transform which is applied by base_output_r... 96/211696/1
Seunghun Lee [Thu, 4 Jul 2019 04:25:00 +0000 (13:25 +0900)]
e_client:base_output_resolution: Delete a transform which is applied by base_output_resolution for subsurface.

Change-Id: Ie37e7450e4446ee2b7acd2e9d7bcd33bd0de7da7

5 years agoRevert "e_client: Do not cacluate the base_output_resolution transform of the parent_ec" 95/211695/1
Seunghun Lee [Wed, 3 Jul 2019 05:41:24 +0000 (14:41 +0900)]
Revert "e_client: Do not cacluate the base_output_resolution transform of the parent_ec"

This reverts commit 6e98aeb0bf98e2b026d31a77817ddeb28be882dd.

Change-Id: I8b8dcdad1ea0d08763605dd719fe6c779d111018