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

5 years agoAdd new hooks and signal to notify finishing some user request. 98/209798/2
anubhavbehera [Thu, 11 Jul 2019 04:56:46 +0000 (10:26 +0530)]
Add new hooks and signal to notify finishing some user request.

Some modules needed to know when Activate, Raise and Map requests are completed.
So added below hooks:
- E_CLIENT_HOOK_ACTIVATE_DONE
- E_POLICY_HOOK_CLIENT_RAISE_REQ_DONE
- e_comp_object_signal_emit(ec->frame, e,action,map,done, e)

Change-Id: I68ed431921093211a3515d25db93d650c2c51db3
Signed-off-by: anubhavbehera <anubhav.b@samsung.com>
5 years agoe_comp_wl_tbm: make the functions be EINTERN 38/209738/3
SooChan Lim [Wed, 10 Jul 2019 10:26:20 +0000 (19:26 +0900)]
e_comp_wl_tbm: make the functions be EINTERN

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

Change-Id: I689003f1463d54cf21f570326e8f6cf4bb0cfae7

5 years agoe_comp_screen: make the functions be EINTERN 35/209735/1
SooChan Lim [Wed, 10 Jul 2019 09:53:37 +0000 (18:53 +0900)]
e_comp_screen: make the functions be EINTERN

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

Change-Id: I8ee7e28357ccb2629cb7f627b991259514c9aed4

5 years agoe_hwc_windows: remove assigning to unused value 10/209610/1
Changyeon Lee [Tue, 9 Jul 2019 08:56:57 +0000 (17:56 +0900)]
e_hwc_windows: remove assigning to unused value

Change-Id: I9578ba6693d3baad60273dbcd92e3f012cd2a98a
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
5 years agoe_devicemgr: check socket fd is not negative before cynara check 89/209589/1
jeon [Tue, 9 Jul 2019 07:02:11 +0000 (16:02 +0900)]
e_devicemgr: check socket fd is not negative before cynara check

Change-Id: Ie9963f4bbfd63f9e4a10a4f9298e935bbd62c432

5 years agovideo: Add missing break to a case statement. 67/209567/1
Seunghun Lee [Tue, 9 Jul 2019 02:41:38 +0000 (11:41 +0900)]
video: Add missing break to a case statement.

Change-Id: I572e87a2471a58bf323f96c46c9242559e7ffa62

5 years agoe_info: fixed a resource leak of eldbus_message 61/209561/1
Gwanglim Lee [Tue, 9 Jul 2019 02:12:42 +0000 (11:12 +0900)]
e_info: fixed a resource leak of eldbus_message

Change-Id: I3db497d0c4b7fe5bde64242909fbcef3d53b9e3a

5 years agoe_magnifier: fix resource leak 56/209556/1 accepted/tizen/unified/20190709.071142 submit/tizen/20190709.011051
Doyoun Kang [Tue, 9 Jul 2019 00:14:52 +0000 (09:14 +0900)]
e_magnifier: fix resource leak

Change-Id: Ibbb7ac33601e6346ea5b4edc6729f976f789d050

5 years agoe_video_hwc: fix build break 55/209555/1
Doyoun Kang [Tue, 9 Jul 2019 00:14:21 +0000 (09:14 +0900)]
e_video_hwc: fix build break

Change-Id: I5efef1775769ee0accb40ed8e0567fd95f846f83

5 years agoe_info: removed a dead checking code 40/209540/2
Gwanglim Lee [Mon, 8 Jul 2019 11:49:52 +0000 (20:49 +0900)]
e_info: removed a dead checking code

Change-Id: I883378460c94262cf2e2ba90ca66a46096694991

5 years agoe_comp: remove the e_comp->comp_type 97/209497/7
SooChan Lim [Mon, 8 Jul 2019 10:16:39 +0000 (19:16 +0900)]
e_comp: remove the e_comp->comp_type

The composition type of the e20 always WL.
It never uses the X11. Therefore, e20 does not need
comp_type of the e_comp anymore.

Change-Id: I57f1ec42195b71945730e0561ff629a7428632cc

5 years agoe_comp_canvas: make the functions be EINTERN 66/209466/2
SooChan Lim [Fri, 5 Jul 2019 08:06:21 +0000 (17:06 +0900)]
e_comp_canvas: make the functions be EINTERN

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

Change-Id: Id1312763efa37fadc17e4444ff711fd96d131412

5 years agoe_comp: make the e_comp_util_client_is_fullscreen internal function 65/209465/2
SooChan Lim [Fri, 5 Jul 2019 06:30:49 +0000 (15:30 +0900)]
e_comp: make the e_comp_util_client_is_fullscreen internal function

remove the inline function at the header file and
make it be a internal function.

Change-Id: Iafce7472c43dcfafd9d2c5e780077e3cc9c8ae11

5 years agoe_comp: rearrange the position of the prototypes 64/209464/2
SooChan Lim [Fri, 5 Jul 2019 06:24:33 +0000 (15:24 +0900)]
e_comp: rearrange the position of the prototypes

Change-Id: I73d22cea3e9243277c298382241a626b5d5ffadc

5 years agoe_comp: make the functions be EINTERN 63/209463/2
SooChan Lim [Fri, 5 Jul 2019 05:49:05 +0000 (14:49 +0900)]
e_comp: make the functions be EINTERN

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

Change-Id: I391a2e202806eff7bf53c6ad8bbe8c037cc98720

5 years agovideo: Removed lines that is unknown usage. 62/209462/2
Seunghun Lee [Fri, 31 May 2019 04:22:04 +0000 (13:22 +0900)]
video: Removed lines that is unknown usage.

Change-Id: Iaeb9203b9326792787a5db3c51504bf6fbdd2a87

5 years agovideo: Added comments. 61/209461/2
Seunghun Lee [Fri, 31 May 2019 01:55:54 +0000 (10:55 +0900)]
video: Added comments.

Change-Id: I6b01f4ae9e35eb36af229dbd26f00644367d58be

5 years agovideo: Error noise where it's undefined case. 60/209460/2
Seunghun Lee [Fri, 31 May 2019 01:33:26 +0000 (10:33 +0900)]
video: Error noise where it's undefined case.

Change-Id: I66b7d030555bbe67784b5662d53215ed8bb182f2

5 years agovideo: Check whether 'committed_vbuf' is null instead of using backend interface. 59/209459/2
Seunghun Lee [Fri, 31 May 2019 01:17:09 +0000 (10:17 +0900)]
video: Check whether 'committed_vbuf' is null instead of using backend interface.

Change-Id: Iccea2dc35413949adda8c6f4d89e5c75b9b828cf

5 years agovideo: No need to use list for managing committed buffer. 58/209458/2
Seunghun Lee [Thu, 30 May 2019 10:16:49 +0000 (19:16 +0900)]
video: No need to use list for managing committed buffer.

The number of committed buffer can not be more than one.

Change-Id: If64b4d020ccc7eebb986c6661271812bd98c3cbd

5 years agovideo: Made all attributes of 'tdm_pp' from 'E_Video_Hwc' a separate instance. 57/209457/2
Seunghun Lee [Thu, 30 May 2019 02:16:32 +0000 (11:16 +0900)]
video: Made all attributes of 'tdm_pp' from 'E_Video_Hwc' a separate instance.

Change-Id: I345043a60e7d65f3e5c9593c543f884e68519916

5 years agovideo: Fix wrong bit comparison for flag 'TBM_BO_SCANOUT'. 56/209456/2
Seunghun Lee [Tue, 28 May 2019 07:47:26 +0000 (16:47 +0900)]
video: Fix wrong bit comparison for flag 'TBM_BO_SCANOUT'.

Change-Id: Id36a403fe4c1f2a8c1aa1bf44a3f33a03c4dbafc

5 years agovideo: Made function use attributes of video buffer. 55/209455/2
Seunghun Lee [Tue, 28 May 2019 04:31:25 +0000 (13:31 +0900)]
video: Made function use attributes of video buffer.

It seems more reasonable.

Change-Id: I81faf5b678883e78233fe2e0e46881dbacc47b94

5 years agovideo: Don't pass 'E_Video_Hwc' handle to a function which doesn't need it. 54/209454/2
Seunghun Lee [Tue, 28 May 2019 02:35:46 +0000 (11:35 +0900)]
video: Don't pass 'E_Video_Hwc' handle to a function which doesn't need it.

Change-Id: Id085770f470310d2df9df5a8e3d00174c589bb88

5 years agovideo: Removed unused variables 'input_w/input_h' in 'E_Video_Hwc'. 53/209453/2
Seunghun Lee [Tue, 28 May 2019 02:15:26 +0000 (11:15 +0900)]
video: Removed unused variables 'input_w/input_h' in 'E_Video_Hwc'.

Change-Id: I94c0a7405a9a03dfcb8346363ab2aa58931483de

5 years agovideo: Creating input buffer for setting to layer should consider output preferred... 52/209452/2
Seunghun Lee [Tue, 28 May 2019 01:28:33 +0000 (10:28 +0900)]
video: Creating input buffer for setting to layer should consider output preferred align and scanout as well.

Plus, renamed a variable 'video_align' to 'output_align'

Change-Id: Ia3265e8f747e3080ea18f4b4afd50f03ca1bfd6c

5 years agovideo: Removed obsolete variable 'pp_r'. 51/209451/1
Seunghun Lee [Mon, 27 May 2019 08:10:14 +0000 (17:10 +0900)]
video: Removed obsolete variable 'pp_r'.

Change-Id: I4cb7b72a334e8584a1f799855e57a584eccb2db8

5 years agoe_client: add focus stack append and call it when window show without take focus. 29/209429/2 accepted/tizen/unified/20190708.052403 submit/tizen/20190708.013923
Junseok, Kim [Mon, 8 Jul 2019 01:14:08 +0000 (10:14 +0900)]
e_client: add focus stack append and call it when window show without take focus.

There is a bug that latest focused window can't take focus.
When two or more windows are fully obscured by 24bit color fullsize window, the above window disappears then one of window(A) take focus and the other window set latest focused window(B).
In this situation, another window showing and hide, then below latest focused window(A) has lose focus and the other window(B) takes focus.
For solve the problem, if the window can't take when showing, that the windows focus_stack sets right behind of existing focused window.

Change-Id: Id3cf2711477b7d27c1955e577ec40e2f18bfe26a
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_info_server: added transformed info to topvwins of ECs 20/208520/6
Junseok, Kim [Tue, 25 Jun 2019 11:33:31 +0000 (20:33 +0900)]
e_info_server: added transformed info to topvwins of ECs

Change-Id: I7b9e18ed38ab180968080a876d4a2934cf3cb9d7
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_comp_wl_shell: add some logs for check post_lower&raise 94/209394/3 submit/tizen/20190705.095233
Junseok, Kim [Fri, 5 Jul 2019 09:05:40 +0000 (18:05 +0900)]
e_comp_wl_shell: add some logs for check post_lower&raise

Change-Id: I40d3987cc72818fa64629a138cd97ac0b15271aa
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_comp_object,e_policy_wl: doing focus_stack_lower if ec isn't post_lower set 84/209384/2
Junseok, Kim [Fri, 5 Jul 2019 08:04:19 +0000 (17:04 +0900)]
e_comp_object,e_policy_wl: doing focus_stack_lower if ec isn't post_lower set

There is a focus bug that client appended to focus stack despite it
isn't shown ever.
If client calls evas_object_show & lower, post lower set to client and
doing stack lower.
And Intercept_lower calls focus_stack_lower so that the client appended
to focus stack.
But, the client do not included to focus stack before first shown.
For solve this problem, make post_raise_lower_set little earlier and
didn't call focus_stack_lower if the post_lower set.

Change-Id: I0e9809ca7aa358f88cf5b21bc64dd5f6b29ab996
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_comp_wl_subsurface: 'below_obj' has to be deleted if it was created before subsurface. 08/209308/1 accepted/tizen/unified/20190705.110745 submit/tizen/20190704.234143
Seunghun Lee [Thu, 4 Jul 2019 05:53:18 +0000 (14:53 +0900)]
e_comp_wl_subsurface: 'below_obj' has to be deleted if it was created before subsurface.

If 'below_obj' for 'E_Client' was created before it becomes subsurface,
then 'below_obj' has to be deleted.
Otherwise, it will cause undefined behavior.

Since 'below_obj' is to fill the background of toplevel surface which
wants to show opaque UI but submit buffers that has alpha channel for
overlay video, 'below_obj' obviously isn't for subsurface.

Change-Id: Ica92d9775b42fda5218e84a820f17cf05301f9f8

5 years agovideo: Set use and reference flag on after success of committing for pp. 42/209042/3
Seunghun Lee [Fri, 24 May 2019 06:27:55 +0000 (15:27 +0900)]
video: Set use and reference flag on after success of committing for pp.

Change-Id: Ie02cd346d711fa4c01bcb67abea65479169460b8

5 years agovideo: Added pp_done handler at intiailizing pp. 41/209041/3
Seunghun Lee [Fri, 24 May 2019 06:23:07 +0000 (15:23 +0900)]
video: Added pp_done handler at intiailizing pp.

Change-Id: Ife553f2ff75625752da956fd584454e4ebce7fec

5 years agovideo: Refactoring PP operations. 40/209040/3
Seunghun Lee [Fri, 24 May 2019 06:16:04 +0000 (15:16 +0900)]
video: Refactoring PP operations.

Make functions for lines which render using pp.

Change-Id: Ic6b12889b13e4e741920866df271a2f7e39d0399

5 years agovideo: Added event callback of RESIZE/MOVE for evas object at initial time. 39/209039/3
Seunghun Lee [Fri, 24 May 2019 04:50:04 +0000 (13:50 +0900)]
video: Added event callback of RESIZE/MOVE for evas object at initial time.

There is no need to add these events in _e_video_hwc_render().
It's better to keep consistency unless it has specific reason.

Change-Id: Icc0e40b0882554b3346ed639700ba88722f9f559

5 years agovideo: Removed unused variable. 38/209038/3
Seunghun Lee [Fri, 24 May 2019 04:28:52 +0000 (13:28 +0900)]
video: Removed unused variable.

Change-Id: Id0d71b77a84a6ac0838158d1121d8468e35b91c4

5 years agovideo: Changed a function scope to static which is not necessary to be exposed. 37/209037/3
Seunghun Lee [Tue, 21 May 2019 07:44:05 +0000 (16:44 +0900)]
video: Changed a function scope to static which is not necessary to be exposed.

Change-Id: I1548790bebc766f132622aa220e5cd1242d8e9fa

5 years agovideo: Don't pass null vbuf to buffer_commit in hwc planes. 36/209036/3
Seunghun Lee [Tue, 21 May 2019 06:52:25 +0000 (15:52 +0900)]
video: Don't pass null vbuf to buffer_commit in hwc planes.

Change-Id: Ic23b720a4cea13722c977a3ae4c6451fccae241f

5 years agovideo: 'E_Client_Video' handles 'follow_topmost_visibility' operation instead of... 35/209035/3
Seunghun Lee [Fri, 17 May 2019 08:35:38 +0000 (17:35 +0900)]
video: 'E_Client_Video' handles 'follow_topmost_visibility' operation instead of 'E_Video_Hwc'.

'follow_topmost_visibility' is related to 'E_Client', not HWC mode.

Change-Id: I8377e0a6680d70e163598a4ae23c0f55f8e707cc

5 years agovideo: Removed LOG which seemed unnecessary. 34/209034/2
Seunghun Lee [Thu, 16 May 2019 05:02:26 +0000 (14:02 +0900)]
video: Removed LOG which seemed unnecessary.

Change-Id: I7d8ce4f7eeb96a0e328f6c62f075072b655f8a4d

5 years agovideo: Added 'Ecore_Job' for rendering job of hwc compositing mode. 33/209033/2
Seunghun Lee [Thu, 16 May 2019 04:59:01 +0000 (13:59 +0900)]
video: Added 'Ecore_Job' for rendering job of hwc compositing mode.

Change-Id: I013c22422944e6e37f1dc58f07c04df9776bdbf2

5 years agovideo: Remove useless type casting. 32/209032/2
Seunghun Lee [Thu, 16 May 2019 00:51:08 +0000 (09:51 +0900)]
video: Remove useless type casting.

Change-Id: I7077c6c816fbdfb0b1e3f50396238bc6fd572342

5 years agovideo: Set attributes of 'E_Comp_Wl_Buffer' properly for video. 31/209031/2
Seunghun Lee [Tue, 14 May 2019 07:34:19 +0000 (16:34 +0900)]
video: Set attributes of 'E_Comp_Wl_Buffer' properly for video.

Attributes 'width/height_from_buffer' of ec->comp_data is calculated with
width/height of 'E_Comp_Wl_Buffer', and 'width/height_from_buffer' is
needed to calculate output geometry of tdm in video implementation.
Thus, width/height of 'E_Comp_Wl_Buffer' has to be set properly.
Otherwise, compositor couldn't display video for client which doesn't set
tizen_viewport or wl_viewport.

Change-Id: If511aba67fee1ac4274e8bcd3288cebf259e0a02

5 years agoRevert "e_comp_wl: fix bug for creating region" 37/209137/1 accepted/tizen/unified/20190703.110658 submit/tizen/20190703.062301
Doyoun Kang [Tue, 2 Jul 2019 12:04:55 +0000 (21:04 +0900)]
Revert "e_comp_wl: fix bug for creating region"

This reverts commit 7496271ed3d3bc56b16392c77cfc55b22903d5f4.

There was a bug that the size of input region was wrong when we use a screen rotation.
So, we reverts this patch.

Change-Id: I175e2cd4b3b9e7903f18d3c653c38e3a0638ab84

5 years agofix build break 19/209119/1 accepted/tizen/unified/20190702.234152 submit/tizen/20190702.092333
Juyeon Lee [Tue, 2 Jul 2019 09:38:59 +0000 (18:38 +0900)]
fix build break

Change-Id: I2ef2d2ad746ede60dab7e93bcee055e2d6bc27fd

5 years agoe_client: eval aux hints for clients which is ignored but commit made 45/208245/5
Juyeon Lee [Thu, 20 Jun 2019 08:42:47 +0000 (17:42 +0900)]
e_client: eval aux hints for clients which is ignored but commit made

remote surface providers usally updates in offscree but
its state is assigned as ignored
handle such clients to have event E_CLIENT_HOOK_AUX_HINT_CHANGE

Change-Id: I5c5696de1688b18c8cc68978142f7fb90f28a123

5 years agoe_policy/policy_wl: modify handing aux hint 64/208864/3
Doyoun Kang [Mon, 1 Jul 2019 04:17:50 +0000 (13:17 +0900)]
e_policy/policy_wl: modify handing aux hint

There was a bug that the aux hint code was handled many times
and the aux_hint_allowed event was sent more than once in some case.
So, we modified code that e_policy handles an aux hint once
and sends an aux_hint_allowed event once.

Change-Id: I5a59fc9427296054f3d5fe085a1422d2b78a717b

5 years agohwc: set wait_commit before do commit 64/208764/3
Changyeon Lee [Fri, 28 Jun 2019 07:29:53 +0000 (16:29 +0900)]
hwc: set wait_commit before do commit

it is possible that commit handler is called inside
tdm_layer_commit or hwc_commit.

Change-Id: I984d3afdbf14deda9dfb45fae70e7bd80b7aac0f

5 years agoe_plane: add valid check for commit_data 59/208759/3
Changyeon Lee [Thu, 27 Jun 2019 09:38:23 +0000 (18:38 +0900)]
e_plane: add valid check for commit_data

Change-Id: Ieb03380b49e5647138465aab6745c7f6cb67247f

5 years agoe_hints: change return value of e_hints_aux_hint_add_with_pixmap 46/208746/2
Doyoun Kang [Thu, 27 Jun 2019 11:46:49 +0000 (20:46 +0900)]
e_hints: change return value of e_hints_aux_hint_add_with_pixmap

We changed the return value of e_hints_aux_hint_add_with_pixmap() to true
if the aux hint id was already exist.

Change-Id: I91a321c5b820faf348679e60ec74a27ac9a9086e

5 years agoe_hwc_windows: add null check for tbm_surface of target window 17/208617/2
Changyeon Lee [Wed, 26 Jun 2019 12:08:49 +0000 (21:08 +0900)]
e_hwc_windows: add null check for tbm_surface of target window

Change-Id: I5f7697a7bfbbd9882751f2cd9f39292b9c55ad6d

5 years agoe_serivce_launcher : support launcher service 60/207960/6 accepted/tizen/unified/20190627.115212 submit/tizen/20190627.023120
MinJeong Kim [Wed, 12 Jun 2019 11:02:16 +0000 (20:02 +0900)]
e_serivce_launcher : support launcher service

e_serivce_launcher supports a launcher application who proccesses launching
animation. The launcher application should be privileged to be assigned
a role of launcher service and if the launcher is passed the privilege test,
enlightenment would accepts connection of tws_launcher_service from the launcher.
The launcher application and enlightenment are able to control launching
animation with those connection.

Change-Id: I86366ee188dc8f431a2405f4f2c2f3b6fae308ab
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoremote_surface: get remote buffer from native surface 20/207420/4
MinJeong Kim [Tue, 4 Jun 2019 10:59:14 +0000 (19:59 +0900)]
remote_surface: get remote buffer from native surface

enlightenment has replied nothing if there's no buffer on the pixmap of
remote provder/source E_Client when a remote surface requests 'redirect' or
'get_current_buffer' even if there's available tbm_surface still.

enlightenment will send to client a remote buffer which is  extracted from
available tbm_surface instead of no-reply with this patch.

Change-Id: Ice7c2a0f436c2acc9a931c3480d9f35401405939
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_policy_visibility: added grab filter 48/207348/8
MinJeong Kim [Mon, 3 Jun 2019 10:27:41 +0000 (19:27 +0900)]
e_policy_visibility: added grab filter

Added type variable for visibility grab to identify that a visibility grab is for
what types of visibility job.

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