platform/upstream/enlightenment.git
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>
5 years agoe_service_launcher : supports multiple launchers 64/210564/6
MinJeong Kim [Mon, 22 Jul 2019 10:06:42 +0000 (19:06 +0900)]
e_service_launcher : supports multiple launchers

Enlightenment has to handle multiple launchers to support not only
home-to-app but also app-to-app launching animation.
This patch includes below features to support that.

1. E_Service_Launcher_Handler object added
 - provides 'launcher_hansh' to store multiple launcher data
 - manages hooks and event handlers.
 - manages runner, pre_runner launchers.
2. runner/pre_runner
 - 'runner' is a pointer of launcher object currently proccessed by enlightenment now.
 - 'pre_runner' is a pointer of launcher object previously proccessed by enlightenment.
 - runner and pre_runner are able to exist as only single instance(or no instance)
 - A launcher that send the latest 'launch' request is 'runner'.
   If there is 'runner' already. the 'runner' is changed to  'pre_runner'.
 - TODO: grouping runner and pre-runner to support multiple launchers running animation.

Change-Id: Ic54d073b9d42ac6e65782f73ddbf99e3d2867cb7
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_hwc_window_queue: notify reset of queue when hand over or retrieve buffer
Changyeon Lee [Tue, 23 Jul 2019 08:22:05 +0000 (17:22 +0900)]
e_hwc_window_queue: notify reset of queue when hand over or retrieve buffer

ddk of compositor want to know that owner of buffer is changed

Change-Id: I225e9d76ebceef93564c95d6f93f8f3abde1822b

5 years agoe_hwc_window_queue: add null check for hwc_window
Changyeon Lee [Tue, 23 Jul 2019 12:34:30 +0000 (21:34 +0900)]
e_hwc_window_queue: add null check for hwc_window

Change-Id: I7ff22a30292387dcf28b0c743a2824d076d671f6

5 years agoe_hwc_windows: set queue of target window in buffer_fetch
Changyeon Lee [Mon, 22 Jul 2019 09:29:39 +0000 (18:29 +0900)]
e_hwc_windows: set queue of target window in buffer_fetch

queue of target window is destroyed when ecore_evas of
compositor is resized.
so add checking queue and setting queue to target window
in buffer_fetch

Change-Id: I8fc8c0f223fdf3c267d772c3fa50656fe1ca32d0

5 years agoe_hwc_windows: call offscreen commit if fake config of out is set
Changyeon Lee [Mon, 22 Jul 2019 09:06:20 +0000 (18:06 +0900)]
e_hwc_windows: call offscreen commit if fake config of out is set

Change-Id: I8f8303151fc9bcb41d84490d086bac7cd98d9e9c

5 years agoe_hwc: create tbm_surface_queue if fake config of output is set
Changyeon Lee [Mon, 22 Jul 2019 06:11:27 +0000 (15:11 +0900)]
e_hwc: create tbm_surface_queue if fake config of output is set

Change-Id: Ieae15419e6bcdc70cb9f32088dd27359e6a373a1

5 years agoe_output: set fake_config to false before resize ecore_evas
Changyeon Lee [Mon, 22 Jul 2019 06:10:42 +0000 (15:10 +0900)]
e_output: set fake_config to false before resize ecore_evas

Change-Id: Id0c43c52f2f3e1f56ef329fe165f1ce6ab24f863

5 years agoe_eom: add _e_eom_output_status_broadcast 36/210736/3
SooChan Lim [Wed, 24 Jul 2019 06:40:32 +0000 (15:40 +0900)]
e_eom: add _e_eom_output_status_broadcast

Change-Id: If5da3b337764644504490c7cccb8b516962b0018

5 years agoe_eom: add _e_eom_output_info_broadcast 27/210727/4
SooChan Lim [Wed, 24 Jul 2019 06:06:09 +0000 (15:06 +0900)]
e_eom: add _e_eom_output_info_broadcast

Change-Id: I5922df2192d541c9acb8d0e38875f62a82331db8

5 years agoe_eom: use _e_eom_output_get_by_id to send the output information 26/210726/3
SooChan Lim [Wed, 24 Jul 2019 05:45:18 +0000 (14:45 +0900)]
e_eom: use _e_eom_output_get_by_id to send the output information

Change-Id: I903a0bdf39d69c162ae4825bd3a191ece8e95e25

5 years agoe_eom: remove the virtual output. 17/210717/4
SooChan Lim [Wed, 24 Jul 2019 05:15:20 +0000 (14:15 +0900)]
e_eom: remove the virtual output.

Change-Id: I19da92871173695a3190ae4cfe5aeb62cce28cc5

5 years agoe_eom: remove the _e_eom_output_state_get_attribute_state 16/210716/3
SooChan Lim [Wed, 24 Jul 2019 02:20:42 +0000 (11:20 +0900)]
e_eom: remove the _e_eom_output_state_get_attribute_state

It is useless.

Change-Id: Ib1c1edbda8342992c359ae7a0190bc0233d87b18

5 years agoe_eom: remove the meaningless null-checking 15/210715/3
SooChan Lim [Tue, 23 Jul 2019 07:28:55 +0000 (16:28 +0900)]
e_eom: remove the meaningless null-checking

Change-Id: I4d71e1c3daded432f6f05526b6d4d78f2b0866be

5 years agoe_eom: move the code position 14/210714/3
SooChan Lim [Tue, 23 Jul 2019 06:59:48 +0000 (15:59 +0900)]
e_eom: move the code position

Change-Id: Ica117467e77da4592450782de0d3b5ef48300098

5 years agoe_eom: remove the _e_eom_init_internal 13/210713/3
SooChan Lim [Tue, 23 Jul 2019 06:57:23 +0000 (15:57 +0900)]
e_eom: remove the _e_eom_init_internal

move the code from _e_eom_init_internal to _eom_init
Change-Id: Ieb5dbd5beddd913629160a9517c4344b0122af6c

5 years agoe_eom: remove the added_output list at e_output_deinit 12/210712/3
SooChan Lim [Tue, 23 Jul 2019 06:48:15 +0000 (15:48 +0900)]
e_eom: remove the added_output list at e_output_deinit

Change-Id: I73ff7483b882822f2b6bc02f005c19643f5ea128

5 years agoe_eom: use the e_eom_create/e_eom_destroy 11/210711/3
SooChan Lim [Tue, 23 Jul 2019 06:19:48 +0000 (15:19 +0900)]
e_eom: use the e_eom_create/e_eom_destroy

Change-Id: Ib343678d904393b3859f82594fb701ad499a865e

5 years agoe_eom: add _e_eom_viratul_output_deinit 10/210710/3
SooChan Lim [Tue, 23 Jul 2019 04:56:22 +0000 (13:56 +0900)]
e_eom: add _e_eom_viratul_output_deinit

Change-Id: I6cca842c43216a9cbaf538837416ecca95f6928b

5 years agoe_eom: add _e_eom_output_deinit 09/210709/3
SooChan Lim [Tue, 23 Jul 2019 04:46:15 +0000 (13:46 +0900)]
e_eom: add _e_eom_output_deinit

Change-Id: Ibb480b80f4f9dc1ea7e837d0c0f3e87525ae20b8

5 years agoe_eom: check the connection of the primary_output each time 08/210708/3
SooChan Lim [Tue, 23 Jul 2019 04:08:38 +0000 (13:08 +0900)]
e_eom: check the connection of the primary_output each time

Change-Id: I58a801a744ea4a61b188f9ad788e0a1fa2cd4374

5 years agoe_eom: remove the unused variables at E_Eom 07/210707/2
SooChan Lim [Tue, 23 Jul 2019 04:00:48 +0000 (13:00 +0900)]
e_eom: remove the unused variables at E_Eom

Change-Id: I7f0da15ce4fd3ee046ee389f8cb4add42fd13e88

5 years agoe_eom: remove the unused bufmgr 06/210706/3
SooChan Lim [Tue, 23 Jul 2019 03:53:25 +0000 (12:53 +0900)]
e_eom: remove the unused bufmgr

Change-Id: Ie420fbe108ef4ab845436d209713b63d3364e40d

5 years agoe_eom: remove the unused rotate data 05/210705/1
SooChan Lim [Tue, 23 Jul 2019 03:50:01 +0000 (12:50 +0900)]
e_eom: remove the unused rotate data

Change-Id: I41cad77fd7fa207137491b29ab91a3a316630a94

5 years agoe_eom: change the log format 34/210334/7
SooChan Lim [Thu, 18 Jul 2019 05:01:49 +0000 (14:01 +0900)]
e_eom: change the log format

add the output name in the log

Change-Id: If5ed1b87751c77c430f10fefb49b943cc6e591a6

5 years agoe_output: only primary output renders and commits at Hwc_Windows 05/210605/3
SooChan Lim [Tue, 23 Jul 2019 02:04:38 +0000 (11:04 +0900)]
e_output: only primary output renders and commits at Hwc_Windows

Change-Id: Ieba350b59a65da903b7052767e6deecf7889239d

5 years agoe_hwc_windows: check the visible evas object at the hwc->evas 04/210604/3
SooChan Lim [Tue, 23 Jul 2019 02:03:10 +0000 (11:03 +0900)]
e_hwc_windows: check the visible evas object at the hwc->evas

Change-Id: I98eea0bfdad0f6961c572423a0bd700103105157

5 years agoe_hwc: add evas of the ee to the hwc 03/210603/3
SooChan Lim [Tue, 23 Jul 2019 01:59:36 +0000 (10:59 +0900)]
e_hwc: add evas of the ee to the hwc

Change-Id: I0d383209cb420beaa35709e859d282bf8e386a8f

5 years agoe_info_client/server: fix wrong information for transform test 90/210690/4
Doyoun Kang [Wed, 24 Jul 2019 02:54:52 +0000 (11:54 +0900)]
e_info_client/server: fix wrong information for transform test

Change-Id: Ib20c88d664ea4718cbd774aa0dd9099e1a2fff47

5 years agoe_comp_screen: setup the screen for only primary output 35/210335/4
SooChan Lim [Thu, 18 Jul 2019 03:53:29 +0000 (12:53 +0900)]
e_comp_screen: setup the screen for only primary output

Change-Id: I62991161862b55ef6329078a4ba6b0a16a00a860

5 years agoe_dpms: set dpms interface destroy callback to prevent event sending to destroied... 80/210480/2
Junkyeong Kim [Fri, 19 Jul 2019 09:58:08 +0000 (18:58 +0900)]
e_dpms: set dpms interface destroy callback to prevent event sending to destroied client

Change-Id: If7bf5cb32784100ae852594e77339a50f9372573
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_desk/e_comp_wl_shell: apply zoom when ec is mapped 10/210410/1
Doyoun Kang [Fri, 19 Jul 2019 01:34:49 +0000 (10:34 +0900)]
e_desk/e_comp_wl_shell: apply zoom when ec is mapped

There was a flickering issue using e_desk_zoom_set when a small window was shown.
We added a code to apply zomm before mapping window.

Change-Id: I4331f17516ef68137cc320ce911e21790495eb8f

5 years agoe_hwc_window_queue: fix wrong setting width and height 72/210372/2 accepted/tizen/unified/20190721.213239 submit/tizen/20190718.064631
Changyeon Lee [Thu, 18 Jul 2019 11:49:48 +0000 (20:49 +0900)]
e_hwc_window_queue: fix wrong setting width and height

Change-Id: I955f99be3b9968503af565ee410c3c4c2b18f12e

5 years agoe_hwc_windows: add e_hwc_windows_mirror_set/unset 33/210333/6
SooChan Lim [Thu, 18 Jul 2019 03:34:24 +0000 (12:34 +0900)]
e_hwc_windows: add e_hwc_windows_mirror_set/unset

Change-Id: Iac240590beab7b9eb1915e1c7ecdce978438bc25

5 years agoe_hwc_windows: check the dereference variable 32/210332/3
SooChan Lim [Thu, 18 Jul 2019 03:33:07 +0000 (12:33 +0900)]
e_hwc_windows: check the dereference variable

Change-Id: I885bf18572e1cb78d92c09db4a7b6a1e2f98370a

5 years agoe_hwc_windows: use hwc->ee instead of comp->ee 31/210331/3
SooChan Lim [Thu, 18 Jul 2019 03:27:40 +0000 (12:27 +0900)]
e_hwc_windows: use hwc->ee instead of comp->ee

Change-Id: Ia550a88cd56d6a767bdb6ef90a8836076f87d76a

5 years agoe_hwc: call e_hwc_planes_end only when the hwc policy is E_HWC_POLICY_PLANES 30/210330/3
SooChan Lim [Thu, 18 Jul 2019 02:40:28 +0000 (11:40 +0900)]
e_hwc: call e_hwc_planes_end only when the hwc policy is E_HWC_POLICY_PLANES

Change-Id: I3017af05ae0c12d69dab24b2982d4f262e7c4a74

5 years agoe_hwc: add e_hwc_tbm_surface_queue_get 29/210329/3
SooChan Lim [Thu, 18 Jul 2019 02:39:13 +0000 (11:39 +0900)]
e_hwc: add e_hwc_tbm_surface_queue_get

Change-Id: I634c7893f8227f5d69530628a12f9a665cb9ee5e

5 years agoe_comp_screen: call the init/deinit functions once during the lifetime 28/210328/3
SooChan Lim [Thu, 18 Jul 2019 02:28:52 +0000 (11:28 +0900)]
e_comp_screen: call the init/deinit functions once during the lifetime

modify the code that the e20 call the init/deinit functions below only onetime.
When these functions call multiple times, it brings the serious bugs.
- e_hwc_planes_init/deinit
- e_hwc_windows_init/deinit
   - e_hwc_window_init/deinit
   - e_hwc_window_queue_init/deinit

Change-Id: I7b204b85dc395a8ec9d2b432f03f331ed50e8b01

5 years agoe_hwc_windows: add the new/del target window function. 27/210327/3
SooChan Lim [Thu, 18 Jul 2019 02:06:51 +0000 (11:06 +0900)]
e_hwc_windows: add the new/del target window function.

Change-Id: I6d99fc1568ed1a5a5d4b78ab7b2f46d85e122efb

5 years agoe_hwc_window_queue: remove the hwc parameter at e_hwc_window_queue_init/deinit 26/210326/2
SooChan Lim [Thu, 18 Jul 2019 02:20:55 +0000 (11:20 +0900)]
e_hwc_window_queue: remove the hwc parameter at e_hwc_window_queue_init/deinit

Change-Id: Ib279aa869d68e063176a97d7e8042a3ea76009a5

5 years agoe_hwc_window: remove the hwc parameter at e_hwc_window_init/deinit 25/210325/2
SooChan Lim [Thu, 18 Jul 2019 02:15:45 +0000 (11:15 +0900)]
e_hwc_window: remove the hwc parameter at e_hwc_window_init/deinit

Change-Id: Idf8f6ec479b0e412a3fc9abfd8c2af5211024a7c

5 years agoe_output: do not create the e_hwc when there is already existed one 24/210324/2
SooChan Lim [Thu, 18 Jul 2019 03:30:41 +0000 (12:30 +0900)]
e_output: do not create the e_hwc when there is already existed one

Change-Id: I695f57cd8aaddf7f4fac6f70b4c76259175a567e

5 years agoremove the useless definition 23/210323/2
SooChan Lim [Thu, 18 Jul 2019 03:32:12 +0000 (12:32 +0900)]
remove the useless definition

Change-Id: I736b9af807851ef585ab87d766dd2e3db527c08c

5 years agofix the log 22/210322/2
SooChan Lim [Thu, 18 Jul 2019 03:28:53 +0000 (12:28 +0900)]
fix the log

Change-Id: I6964767af053a45deef69cd355c82328a19eb23a

5 years agoe_hwc: fix the indent 21/210321/2
SooChan Lim [Thu, 18 Jul 2019 02:35:04 +0000 (11:35 +0900)]
e_hwc: fix the indent

Change-Id: I5f9edd8c021b2539ff143d5d62eb5b4decd82420

5 years agoe_hwc: call e_hwc_del when e_hwc_new is failed. 20/210320/2
SooChan Lim [Thu, 18 Jul 2019 02:18:10 +0000 (11:18 +0900)]
e_hwc: call e_hwc_del when e_hwc_new is failed.

Change-Id: I3c4864415cdee7bfcf5e15451358592c3ce8da78

5 years agoe_output: change the e_output_setup to the e_output_hwc_setup 19/210319/2
SooChan Lim [Thu, 18 Jul 2019 01:43:06 +0000 (10:43 +0900)]
e_output: change the e_output_setup to the e_output_hwc_setup

Change-Id: Ifb59fdd72bcbb5424686edc8ecf1b9eb06319c22

5 years agoRevert "e_hwc_windows: set CLIENT to state of ec which is located below video" 29/210229/1
Changyeon Lee [Tue, 16 Jul 2019 09:52:18 +0000 (18:52 +0900)]
Revert "e_hwc_windows: set CLIENT to state of ec which is located below video"

set client in tdm_backend

This reverts commit f46927fce42f10b60f6a121c5f9c81bd6aadf949.

Change-Id: I7f15e731e5fc829ea777d78da21b0556fe965405

5 years agoe_hwc_window_queue: add comparing size of client and queue 28/210228/1
Changyeon Lee [Thu, 11 Jul 2019 06:57:30 +0000 (15:57 +0900)]
e_hwc_window_queue: add comparing size of client and queue

Change-Id: I28341a45d28fc8825b35fe87445dcde866a044aa

5 years agohwc: send width and height of queue when activate client queue 27/210227/1
Changyeon Lee [Mon, 15 Jul 2019 09:36:58 +0000 (18:36 +0900)]
hwc: send width and height of queue when activate client queue

Change-Id: I3c808d94601d9267a98146fc68e156f1d0467e41

5 years agoe_hwc_window_queue: add WAITING_WAIT_USABLE state 26/210226/1
Changyeon Lee [Wed, 10 Jul 2019 07:41:54 +0000 (16:41 +0900)]
e_hwc_window_queue: add WAITING_WAIT_USABLE state

add WAITING_WAIT_USABLE state for supporting double buffer queue
of target window.
WAITING_WAIT_USABLE means waiting the wait_usable request of queue.

queue has two case of changing state for setting STATE_SET.

1. WAITING_WAIT_USABLE -> WAITING_BUFFER -> SET
2. WAITING_WAIT_USABLE -> WAITING_DEQUEUEABLE_BUFFER
   -> WAITING_BUFFER - > SET

if target window has double buffer queue, target window can't
get idle buffer for compositing when buffer is sent to client.
hwc_window_queue should send buffer to client when client wait
buffer for rendering.
client send wait_usable request when it wait idle buffer after
active event.

Change-Id: I4fdbcbef2ffe810b3618f035c39602ec4ad451c4

5 years agoe_hwc_window_queue: remove unused code 19/209719/3
Changyeon Lee [Wed, 10 Jul 2019 07:43:30 +0000 (16:43 +0900)]
e_hwc_window_queue: remove unused code

Change-Id: Icbc05dcf3b88ad3f5b11d8605f3f2fea3e812f1d

5 years agoe_hwc_window_queue: rename state of e_hwc_window_queue 15/209715/5
Changyeon Lee [Wed, 10 Jul 2019 07:06:34 +0000 (16:06 +0900)]
e_hwc_window_queue: rename state of e_hwc_window_queue

SET_WAITING -> SET_WAITING_BUFFER
SET_PENDING -> SET_WAITING_DEQUEUEABLE

Change-Id: Id3b2cf6d1140df01ec27584cfd459c3aaf11c3d4

5 years agoe_hwc_window_queue: release tqueue when prepare set is failed 08/209708/4
Changyeon Lee [Tue, 9 Jul 2019 10:41:35 +0000 (19:41 +0900)]
e_hwc_window_queue: release tqueue when prepare set is failed

Change-Id: Ie763f279483047816ba93fe9b8b4690b8925bb01

5 years agoe_plane: remove gbm_tbm.h 24/210124/2 accepted/tizen/unified/20190717.115257 submit/tizen/20190716.054641
Changyeon Lee [Tue, 16 Jul 2019 05:09:02 +0000 (14:09 +0900)]
e_plane: remove gbm_tbm.h

Change-Id: I082d301ce6310f7aeb27b934c440b33876128e79

5 years agoe_output: fix build error 23/210123/2
Changyeon Lee [Tue, 16 Jul 2019 05:08:18 +0000 (14:08 +0900)]
e_output: fix build error

Change-Id: I90de54600c958308f52785758cea1a7da5f03f51

5 years agoe_output: change the log format 41/210041/1
SooChan Lim [Mon, 15 Jul 2019 07:25:16 +0000 (16:25 +0900)]
e_output: change the log format

add the output id(name) into the log

Change-Id: I2f41db6e3da1aaebf288cbefe1d5e0d553b50f87

5 years agoe_hwc_windows: clear buffer queue if target window isn't device type 07/209707/4
Changyeon Lee [Tue, 9 Jul 2019 10:08:30 +0000 (19:08 +0900)]
e_hwc_windows: clear buffer queue if target window isn't device type

it is cuased flickering if rendered buffer of target window is enqueued
to queue after target window is set by none type.

Change-Id: If29dfe3c478e64b2e7e766d46007a4b5e11f0c08

5 years agoe_hwc_window: change the log format 99/209999/5
SooChan Lim [Mon, 15 Jul 2019 02:39:34 +0000 (11:39 +0900)]
e_hwc_window: change the log format

add the output id(name) into the log

Change-Id: I96ea50834068072839dc03f9db69ee49e1fd4115

5 years agoe_hwc_window_queue: change the log format 98/209998/5
SooChan Lim [Mon, 15 Jul 2019 02:32:31 +0000 (11:32 +0900)]
e_hwc_window_queue: change the log format

add the output id(name) into the log

Change-Id: I82457bd733c03bf269137830e2634710182f8258

5 years agoe_hwc_windows: change the log format 97/209997/4
SooChan Lim [Mon, 15 Jul 2019 04:14:50 +0000 (13:14 +0900)]
e_hwc_windows: change the log format

add the output id(name) to the log

Change-Id: Id3de6c2214fd656b8f0ff7e1905c0a71ed8a1116

5 years agoe_hwc: change the log format 96/209996/3
SooChan Lim [Mon, 15 Jul 2019 02:30:55 +0000 (11:30 +0900)]
e_hwc: change the log format

add the output id(name) to the log

Change-Id: I7b0b085065f2849489b0bdb3230e4f9cc3cb6698

5 years agoe_comp_screen: change the log format 95/209995/3
SooChan Lim [Mon, 15 Jul 2019 02:29:36 +0000 (11:29 +0900)]
e_comp_screen: change the log format

Change-Id: Ib75382ff6ad298f3eeb2d8775c45e718f4391073

5 years agoe_hwc: add e_hwc_output_id_get 94/209994/1
SooChan Lim [Mon, 15 Jul 2019 02:28:25 +0000 (11:28 +0900)]
e_hwc: add e_hwc_output_id_get

get the output id from the hwc.

Change-Id: I7a1893f187ed3c486668c62acc6941838f334375

5 years agoe_service_launcher: add argument instance_id into 'launcher' callback 71/209871/1 accepted/tizen/unified/20190715.111921 submit/tizen/20190712.051934
MinJeong Kim [Fri, 12 Jul 2019 04:17:18 +0000 (13:17 +0900)]
e_service_launcher: add argument instance_id into 'launcher' callback

Change-Id: I13eb01494d8f13441145c8c4e7fcb3e7a97f7a31
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_service_launcher: send prepare event with splash screen data 39/209839/5
MinJeong Kim [Thu, 11 Jul 2019 10:57:09 +0000 (19:57 +0900)]
e_service_launcher: send prepare event with splash screen data

This patch supports launching animation with splash screen.

Change-Id: Ic3c71ae5654272ffdd3d107ab527fab3978ef23b
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_comp_wl: make the functions be EINTERN 70/209770/2 accepted/tizen/unified/20190711.132607 submit/tizen/20190711.065953
SooChan Lim [Thu, 11 Jul 2019 00:18:29 +0000 (09:18 +0900)]
e_comp_wl: make the functions be EINTERN

The functions make the internal ones which is not used at the e20 modules.

Change-Id: I5fcd695c7c235936729cf8ef0a3a0d630b5f878f