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

5 years agoe_comp_screen: fix crash when attempt to send a message for 'tizen_screen_rotation... 39/211639/1 accepted/tizen/unified/20190807.221804 submit/tizen/20190807.121140
Seunghun Lee [Wed, 7 Aug 2019 11:16:34 +0000 (20:16 +0900)]
e_comp_screen: fix crash when attempt to send a message for 'tizen_screen_rotation' with invalid 'wl_resource'

A 'wl_resource' for 'tizen_screen_rotation' can have multiple instances
of 'E_Comp_Screen_Tzsr'. Thus, All instances have to be deleted when
'wl_resource' is destroyed.

Change-Id: I7d1e8177a0905263d59aeb9e51f47d21648a5773

5 years agodesk zoom: modify code to zoom the e_desk with transform 64/211364/6
Doyoun Kang [Fri, 2 Aug 2019 02:29:47 +0000 (11:29 +0900)]
desk zoom: modify code to zoom the e_desk with transform

Change-Id: Iea879df066ead94007e32f4e0aaf468de7c97522

5 years agoe_output: add force_render flag 28/211628/1
Junkyeong Kim [Wed, 7 Aug 2019 09:28:36 +0000 (18:28 +0900)]
e_output: add force_render flag

Change-Id: Ib97f41974890444ccf8a9249e6f1ea5c67098f9d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_service_launcher: fixed indentation 06/211606/2
Gwanglim Lee [Wed, 7 Aug 2019 04:56:14 +0000 (13:56 +0900)]
e_service_launcher: fixed indentation

Change-Id: I702b88130a77576631712a9f5590224d759f2f1b

5 years agoe_output: add _e_output_force_render_set/unset function 62/211562/4
Junkyeong Kim [Tue, 6 Aug 2019 12:17:06 +0000 (21:17 +0900)]
e_output: add _e_output_force_render_set/unset function

if external set/unset, need once force commit of primary output.
to make force commit use _e_output_force_render_set function instead _e_output_render_update.
if hwc mode on when external set, there is no force commit by _e_output_render_update.
first set e_comp_override_add, and execute e_comp_override_del after commit.

Change-Id: I8f9bfdc4a37bd0b783498e4af7a63eb171c05032
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_plane: add _e_plane_sw_commit function 59/211559/2
Junkyeong Kim [Tue, 6 Aug 2019 12:11:26 +0000 (21:11 +0900)]
e_plane: add _e_plane_sw_commit function

e_plane zoom can support only tdm backend support pp convert.
if tdm backend do not support pp, use pixman transform for e_plane zoom.

Change-Id: I8827e62c184865342bd3bea29cbe8faf6368948e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: add e_output_phys_size_get 94/211494/2 accepted/tizen/unified/20190807.111846 submit/tizen/20190806.080207
SooChan Lim [Tue, 6 Aug 2019 02:19:51 +0000 (11:19 +0900)]
e_output: add e_output_phys_size_get

Change-Id: I87b4bf5aeff3056c248984dcbf689cc12482bf54

5 years agoe_output: change the E_Output_Ext_State into the E_Output_Display_Mode 92/211492/2
SooChan Lim [Tue, 6 Aug 2019 02:13:46 +0000 (11:13 +0900)]
e_output: change the E_Output_Ext_State into the E_Output_Display_Mode

Change-Id: I5e074f42186a4ffac94e2e2a3d9e0a427c2e3ba9

5 years agonorender works in each output and each hwc 90/211490/3
SooChan Lim [Tue, 6 Aug 2019 01:34:23 +0000 (10:34 +0900)]
norender works in each output and each hwc

A render function(ecore_evas) belongs to one output(hwc).
The norender function on the e_comp_canvas only works on
the primary output.

Change-Id: I69365f91f081446203b463ea00395351c4579c54

5 years agoenhance of user geometry feature 40/211440/3
Juyeon Lee [Mon, 5 Aug 2019 03:16:26 +0000 (12:16 +0900)]
enhance of user geometry feature

the api e_policy_allow_user_geometry_set is called to allow/disallow
user defined geometry and was working reference count based
due to that reason, unexpected result(error) were found.

1) window user geometry policy is not chaned if ref==0(stay in default)
case 1 :
 id1 = elm_win_aux_hint_add(ad->win,"wm.policy.win.user.geometry", "1"); ref--
 id2 = elm_win_aux_hint_add(ad->win,"wm.policy.win.user.geometry", "0"); ref++

case 2
 id1 = elm_win_aux_hint_add(ad->win,"wm.policy.win.user.geometry", "0"); ref++
 id2 = elm_win_aux_hint_add(ad->win,"wm.policy.win.user.geometry", "1"); ref--

2) it is unclear if user geometry can be set or unset by calling this api
   the api is called in various e20 moudles and allow/disallow is decided when
   the last api call made.

NEW API e_policy_user_geometry_set

  by using it check bitmask refering to its usage
  allows/disallow user geometry on each bitmask type.
  if any of caller set its mask 1 than, the feature is turned on.

Change-Id: Icad8b54ac002dd610ea3c9e3ecc2e9e478dcba02

5 years agoe_comp_wl: remove unnecessary comp_data backup 70/211370/4
Juyeon Lee [Fri, 2 Aug 2019 04:58:00 +0000 (13:58 +0900)]
e_comp_wl: remove unnecessary comp_data backup

Change-Id: I71094d42b28ddd3a4e933d781bd2c84cd358ec22

5 years agoe_service_launcher: added shared widget feature 77/210977/5
Gwanglim Lee [Fri, 26 Jul 2019 12:07:07 +0000 (21:07 +0900)]
e_service_launcher: added shared widget feature

Change-Id: Iee243f3854603e3ea1524a0f918dbf035d923959

5 years agoe_hwc_windows: fix checking transition device/cursor to none 81/211281/2
Changyeon Lee [Thu, 1 Aug 2019 05:51:46 +0000 (14:51 +0900)]
e_hwc_windows: fix checking transition device/cursor to none

should check that target_window doens't render client

Change-Id: I4edb678d14d3cd077ed7f7d3fe88523462acfc28

5 years agoe_output: add hook for output add/remove 99/210799/3
SooChan Lim [Thu, 25 Jul 2019 01:37:53 +0000 (10:37 +0900)]
e_output: add hook for output add/remove

Change-Id: Ic51ffd3eb2b9107943a2a4edc0c25e796494a9ab

5 years agoe_output: use the call E_OUTPUT_HOOK_MODE_CHANGE instead of e_eom_mode_change 98/210798/3
SooChan Lim [Wed, 24 Jul 2019 12:54:06 +0000 (21:54 +0900)]
e_output: use the call E_OUTPUT_HOOK_MODE_CHANGE instead of e_eom_mode_change

Change-Id: I592439572a47ab7f16ff76979736cdd3534fb17e

5 years agoe_output: use the call E_OUTPUT_HOOK_CONNECT_STATUS_CHANGE instead of e_eom_connect... 97/210797/3
SooChan Lim [Wed, 24 Jul 2019 12:16:52 +0000 (21:16 +0900)]
e_output: use the call E_OUTPUT_HOOK_CONNECT_STATUS_CHANGE instead of e_eom_connect/disconnect

Change-Id: Ice450dc51cb3523ac9b8da9b6cea8ed5ace39c7c

5 years agovideo: fix a dangling pointer issue by passing eina_list argument as call by value. 71/211371/1 accepted/tizen/unified/20190805.042901 submit/tizen/20190805.004151
Seunghun Lee [Fri, 2 Aug 2019 05:12:19 +0000 (14:12 +0900)]
video: fix a dangling pointer issue by passing eina_list argument as call by value.

Change-Id: I3b007a0e5106579b90892d0ce15715a4c925234a

5 years agoe_output: fix syntax error 00/211300/1
Junkyeong Kim [Thu, 1 Aug 2019 08:17:30 +0000 (17:17 +0900)]
e_output: fix syntax error

Change-Id: If52ecf8f7c19d5066a390f56e1ce019d89ce4002
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_comp_object: add internal function to create evas_map for transform 30/211230/1
Doyoun Kang [Wed, 31 Jul 2019 07:46:18 +0000 (16:46 +0900)]
e_comp_object: add internal function to create evas_map for transform

Change-Id: I60f17f163a8a3c2b7dc86c94666209f47da62c6e

5 years agoe_client: add internal function to create evas_map for transform 29/211229/1
Doyoun Kang [Wed, 31 Jul 2019 07:45:20 +0000 (16:45 +0900)]
e_client: add internal function to create evas_map for transform

Change-Id: Ie6d9bb6219bcbac878f69629e50f1fd16d5ea30b

5 years agovideo: Removed video buffer from queue before appending it if it's been already appended. 12/211212/1
Seunghun Lee [Mon, 27 May 2019 07:40:57 +0000 (16:40 +0900)]
video: Removed video buffer from queue before appending it if it's been already appended.

Change-Id: Ifa79aa90d4f1458e5a4496b83659e7a096c257f6

5 years agoe_test_helper: add kill window method 00/192300/5 accepted/tizen/unified/20190731.112529 submit/tizen/20190731.021950
JunSeok, Kim [Fri, 2 Nov 2018 05:35:17 +0000 (14:35 +0900)]
e_test_helper: add kill window method

Change-Id: If61c6bcae079149915e644c6004e3fa4fb7870be

5 years agoe_service_launcher: added missing break 57/211057/2
MinJeong Kim [Mon, 29 Jul 2019 12:06:07 +0000 (21:06 +0900)]
e_service_launcher: added missing break

Change-Id: Ie03eb6a422d9a9b2b137813ff302f016456da215
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_hwc_window: reset constraints in client_type_override 82/210982/3
Changyeon Lee [Fri, 26 Jul 2019 07:41:05 +0000 (16:41 +0900)]
e_hwc_window: reset constraints in client_type_override

if constraint isn't reset in client_type override,
queue buffer is used by source of compositing

Change-Id: Ifacf9532347eccc6bddc711401fb344d83442594

5 years agoe_hwc_windows: add visible windows to rendered_windows in flush post 81/210981/3
Changyeon Lee [Fri, 26 Jul 2019 06:17:12 +0000 (15:17 +0900)]
e_hwc_windows: add visible windows to rendered_windows in flush post

sometimes visible windows doens't exist in rendered windows

Change-Id: If54714003a953cee5babbb4638400e29381b7f0c

5 years agoe_hwc_windows: add checking transition to none 80/210980/3
Changyeon Lee [Fri, 26 Jul 2019 04:44:34 +0000 (13:44 +0900)]
e_hwc_windows: add checking transition to none

Change-Id: I929750a03d0aa6a7ac596b3da61e88ebb53a118c

5 years agoe_hwc: adjust log alignment 78/210978/3
Changyeon Lee [Fri, 26 Jul 2019 12:18:30 +0000 (21:18 +0900)]
e_hwc: adjust log alignment

Change-Id: Id54acfa315ccc0b8fd30ce00d8449227a60bd5be

5 years agoe_hwc_window_queue: fix null pointer dereference 51/211051/2
Changyeon Lee [Mon, 29 Jul 2019 10:13:39 +0000 (19:13 +0900)]
e_hwc_window_queue: fix null pointer dereference

Change-Id: I21158989def92b49a1687d392e384c91daddc975

5 years agoe_comp_wl: do not send a poiner leave event when a touch down is occurred 36/211036/2
jeon [Mon, 29 Jul 2019 07:21:26 +0000 (16:21 +0900)]
e_comp_wl: do not send a poiner leave event when a touch down is occurred

Change-Id: I0e9b50c9f2eca3e1f625537c95fd736e03f984fc

5 years agovideo: No need to create and copy operation for buffer in case of using video layer. 10/211010/2
Seunghun Lee [Mon, 29 Jul 2019 05:47:04 +0000 (14:47 +0900)]
video: No need to create and copy operation for buffer in case of using video layer.

A buffer which is given by client has to be handed to video layer
without any manipulation. There was a defect that a scanout buffer
was handed to video layer even though client submitted non-scanout
buffer.

Change-Id: I6e8e98f228db7c300dfe10c6ba9835ada0c6f434

5 years agoModified some logs for alignment 43/210943/1
MinJeong Kim [Fri, 26 Jul 2019 06:42:54 +0000 (15:42 +0900)]
Modified some logs for alignment

Change-Id: I2eaac16e0e28a8fc8780a37ecc9246d326ed8759
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_policy_visibility: fix bug for getting above visible type 74/210874/2 accepted/tizen/unified/20190726.112539 submit/tizen/20190725.115243
Doyoun Kang [Thu, 25 Jul 2019 11:17:19 +0000 (20:17 +0900)]
e_policy_visibility: fix bug for getting above visible type

There was a bug in _e_vis_ec_above_visible_type function.

win C : 32bit (  0,   0,  720 x 1280) <-- unobscured
win B : 24bit (100, 100,  480 x  800) <-- unobscured
win A : 24bit (100, 100,  480 x  800) <-- fully-obscured

In above case,
if new "win D" is shown on the top, "win B" should change to fully-obscured.
And we expect that there is no change for "win A".

win D : 24bit (100, 100,  480 x  800) <-- unobscured
win C : 32bit (  0,   0,  720 x 1280) <-- unobscured
win B : 24bit (100, 100,  480 x  800) <-- fully-obscured
win A : 24bit (100, 100,  480 x  800) <-- fully-obscured

But, "win A" get the pre-unobscured event when "win B" is hidden because
_e_vis_ec_above_visible_type() returns E_POL_VIS_TYPE_ALPHA.
For this, e sent pre-unobscured event and tried to uniconify "win A".

So, we added code to check the above window continuously until finding 24bit window.

Change-Id: I3640f96c0aeabb9a319ef2093be18278e25837ee

5 years agofix potential overflow issues 04/210704/3
jeon [Wed, 24 Jul 2019 05:21:13 +0000 (14:21 +0900)]
fix potential overflow issues

Change-Id: I3e8c85f9173aaa269564a737f903a08728cfda28

5 years agoe_service_launcher: added missed runner set and removed back slash 13/210813/1 submit/tizen/20190725.044739
MinJeong Kim [Thu, 25 Jul 2019 04:43:01 +0000 (13:43 +0900)]
e_service_launcher: added missed runner set and removed back slash

Change-Id: I346739c23d10200bb3fa2457de9ba907978455b2
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>