platform/upstream/enlightenment.git
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>
5 years agoe_policy_visibility: added new hook points and check grab for lower,hide job 62/206962/11
MinJeong Kim [Tue, 28 May 2019 08:13:31 +0000 (17:13 +0900)]
e_policy_visibility: added new hook points and check grab for lower,hide job

- E_POL_VIS_HOOK_UNICONIFY_RENDER_RUNNING hook point is newly added. This
can inform someone that, enlightenment is waiting for render process
in order to uniconify an E_Client. And it means 'someone' who subscribes this
hook point is able to know uniconify process of the E_Client is in pending state.

- E_POL_VIS_HOOK_LOWER hook point is newly added. This hook point provides
a chance that someone can grab 'lower' job.

- E_POL_VIS_HOOK_HIDE hook point is newly added. This hook point provides
a chance that someone can grab 'hide' job.

- additional check for grab on lower API.
- additional check for grab on hide interceptor callback.

Change-Id: I6a928e782fbdca25c789dd25efd568d51afbe37e
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_dpms: if dpms set failed send fail event to wl_client immediately 15/208615/1
Junkyeong Kim [Wed, 26 Jun 2019 11:46:01 +0000 (20:46 +0900)]
e_dpms: if dpms set failed send fail event to wl_client immediately

Change-Id: Iaf36baf084b5c96c449ecb8130ab3d76d8aab456
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_client: Do not cacluate the base_output_resolution transform of the parent_ec 10/208610/1
SooChan Lim [Wed, 26 Jun 2019 10:27:30 +0000 (19:27 +0900)]
e_client: Do not cacluate the base_output_resolution transform of the parent_ec

Do not calcuate the base_output_resolution transform of the parent_ec
when the ec is a subsurface of the parent_ec and when the ec calculate the transform matrix.

Change-Id: I2073621a15ad70424503c6b537bd5bf5b8239324

5 years agoe_hwc_window: set client type when e_comp_client_override_add 90/208290/2 accepted/tizen/unified/20190625.051508 submit/tizen/20190624.092820
Changyeon Lee [Fri, 21 Jun 2019 06:40:38 +0000 (15:40 +0900)]
e_hwc_window: set client type when e_comp_client_override_add

Change-Id: I23da16a414bb00aa3731ae20df67eff0c95b4e39

5 years agoe_hwc_window: add trace log in e_hwc_window_info_update 41/208241/2
Changyeon Lee [Thu, 20 Jun 2019 07:50:39 +0000 (16:50 +0900)]
e_hwc_window: add trace log in e_hwc_window_info_update

Change-Id: I3294a537504ad74296a97a298b8545f10d50ef6c

5 years agoe_hwc_window: consider transform of client when setting info 40/208240/3
Changyeon Lee [Wed, 19 Jun 2019 06:55:30 +0000 (15:55 +0900)]
e_hwc_window: consider transform of client when setting info

Change-Id: Icf5413c9c6f5a05134a9ac8c8c41a4b00cd2dbbd

5 years agoe_output: add the api for the output property 44/208444/3
SooChan Lim [Mon, 24 Jun 2019 05:56:52 +0000 (14:56 +0900)]
e_output: add the api for the output property

add the apis below.
E_API Eina_Bool           e_output_available_properties_get(E_Output *output, const output_prop **props, int *count);
E_API Eina_Bool           e_output_property_get(E_Output *output, unsigned int id, output_prop_value *value);
E_API Eina_Bool           e_output_property_set(E_Output *output, unsigned int id, output_prop_value value);

Change-Id: I6da9b84c091b8c42f14c008ddd8bb48ac897f00e

5 years agoe_client: added skip base_output_resolution_set conditions. 93/208393/3
Junseok, Kim [Mon, 24 Jun 2019 03:52:17 +0000 (12:52 +0900)]
e_client: added skip base_output_resolution_set conditions.

if the window size is same with base output resolution, then it's no need to set base output resolution.
And, if size from appinfo is zero(means the client want maximum size), then it's also no need to set base output resolution.

Change-Id: I71542adf7fee3096a3eb2bc9a4baa9f715ee130e
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_comp_wl_rsm/e_client: capture window in e_client_iconify 28/208428/1
Doyoun Kang [Mon, 24 Jun 2019 07:51:30 +0000 (16:51 +0900)]
e_comp_wl_rsm/e_client: capture window in e_client_iconify

Window was captured in E_CLIENT_HOOK_ICONIFY hook function.
We move this code into e_client_iconify function.

For this change, the capture thread can run before calling evas_object_hide(ec->frame).
So, buffer reference count is not dropped to 0 until finishing capture window.

Change-Id: Ic118feb753ce62ea9cb38733a4bae2f980504c05

5 years agoe_comp_wl_tbm: support creation of remote buffer from tbm_surface 83/207383/2
MinJeong Kim [Tue, 4 Jun 2019 07:43:25 +0000 (16:43 +0900)]
e_comp_wl_tbm: support creation of remote buffer from tbm_surface

Change-Id: I84b8f4969a93a860bbc3c701f4ba85596d45e49a
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_policy: added new animatable lock type CUSTOMIZED 68/206968/2
MinJeong Kim [Wed, 29 May 2019 12:28:03 +0000 (21:28 +0900)]
e_policy: added new animatable lock type CUSTOMIZED

Change-Id: I85200f99df0d2b94757989f1d2df6d1a97cab25b
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_comp_screen: set input rotation for a device added at runtime 26/208226/1 accepted/tizen/unified/20190620.123700 submit/tizen/20190620.065540
Sung-Jin Park [Thu, 20 Jun 2019 05:44:18 +0000 (14:44 +0900)]
e_comp_screen: set input rotation for a device added at runtime

Change-Id: Ic66bfa71c8f330a4c23213a51b0de5225e5bffd2
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agoe_comp_wl: code cleanup (remove hardcode) 43/208143/1
Doyoun Kang [Wed, 19 Jun 2019 01:19:15 +0000 (10:19 +0900)]
e_comp_wl: code cleanup (remove hardcode)

Change-Id: I4841d24d50e5581c96be31f2e37918a2a7de9bf3

5 years agoe_client: add transform core of base output resolution if it is needed 03/208103/1 accepted/tizen/unified/20190618.110341 submit/tizen/20190618.082543
Changyeon Lee [Tue, 18 Jun 2019 05:30:12 +0000 (14:30 +0900)]
e_client: add transform core of base output resolution if it is needed

if base output resolution and desk geometry is same, transform isn't needed.
unnecessary transform affect rendering fps of compositor.

Change-Id: I6fe72385da3b4be3177238fc46e76cc98ef98ccf

5 years agoe_hwc_windows: consider transform of client when getting visible_windows 02/208102/2
Changyeon Lee [Tue, 18 Jun 2019 08:05:22 +0000 (17:05 +0900)]
e_hwc_windows: consider transform of client when getting visible_windows

e_client_geometry_get api checks transform of client

Change-Id: If0e49122c0296797deb309507a27d663c22568c6

5 years agoe_hwc_window: allow device type if ec only has transform of base_output_resolution 01/208101/2
Changyeon Lee [Tue, 18 Jun 2019 06:29:01 +0000 (15:29 +0900)]
e_hwc_window: allow device type if ec only has transform of base_output_resolution

Change-Id: I3d3b4dbccd83e27178367c240263f3b6d99d3ba0

5 years agoe_dpms: send wl-dpms set event to client 34/208034/5
Junkyeong Kim [Mon, 17 Jun 2019 10:21:45 +0000 (19:21 +0900)]
e_dpms: send wl-dpms set event to client

before send dpms set event to client only e_output_dpms_async function executed.
but now send all dpms set evnet to client regardless of e_output_dpms_set sync or async.

use ecore_timer to send the event to client when e_output_dpms_set is not responded.

Change-Id: I6e9ac0f132648a111a2f593d9d35a7a5ddcda557
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_info_server: print ec's geometry as transformed geomtery 94/208094/1
Junseok, Kim [Tue, 18 Jun 2019 07:19:00 +0000 (16:19 +0900)]
e_info_server: print ec's geometry as transformed geomtery

Change-Id: I19029307fe2abc752a4576171c8d69c604e085a3

5 years agoe_client: decide scale size with base_output_resolution size 93/208093/2
Junseok, Kim [Tue, 18 Jun 2019 07:15:21 +0000 (16:15 +0900)]
e_client: decide scale size with base_output_resolution size

Change-Id: Ia6a90c0079dd5b9ead65fb1eaebd7053e25f2062

5 years agoe_comp_wl_shell: send signal when a window is mapped/unmapped 30/208030/1
Doyoun Kang [Mon, 17 Jun 2019 09:18:39 +0000 (18:18 +0900)]
e_comp_wl_shell: send signal when a window is mapped/unmapped

When a window is mapped, "e,state,map" signal is sent.
Like this, "e,state,unmap" signal is sent when a window is unmapped.

Change-Id: I16d4872577e7f72cba517d4a20c878373cec7044

5 years agoe_hwc_windows: don't check transition if pixmap doesn't have resource 76/207776/4 accepted/tizen/unified/20190617.112012 submit/tizen/20190614.071615
Changyeon Lee [Wed, 12 Jun 2019 08:59:35 +0000 (17:59 +0900)]
e_hwc_windows: don't check transition if pixmap doesn't have resource

rotation module set NULL to resource of pixmap when module doesn't
want to update until rotation is done.
it is possible that state of hwc_window is CLIENT but compositor
doesn't render it.

Change-Id: Id18967445d569b253047e9edff6375a63a041633

5 years agoe_hwc_widnows: evaluate and update windows even if norender is pushed 75/207775/3
Changyeon Lee [Wed, 12 Jun 2019 08:50:04 +0000 (17:50 +0900)]
e_hwc_widnows: evaluate and update windows even if norender is pushed

Change-Id: Ideec6c657655ba4cfa618500ffdb8953ee26e1d0

5 years agovideo: It should keep checking 'video_client' flag for E module implementation. 10/207910/4
Seunghun Lee [Fri, 14 Jun 2019 02:35:25 +0000 (11:35 +0900)]
video: It should keep checking 'video_client' flag for E module implementation.

In case of HWC Planes mode, 'video_client' flag is still important to
manage its composition.

Change-Id: I1bd37f7fcb8e49aa80505f433200db8f268671fe

5 years agoe_policy: add hooks for iconify/uniconify requests by client 98/207898/1
Doyoun Kang [Fri, 14 Jun 2019 00:54:00 +0000 (09:54 +0900)]
e_policy: add hooks for iconify/uniconify requests by client

Change-Id: I2809ca50611907134aa96243e9dc5af76bec18ea

5 years agoe_policy_visibility: changes on e_vis_ec_below_uniconify() 74/207674/3 accepted/tizen/unified/20190613.235742 submit/tizen/20190613.092423
Juyeon Lee [Mon, 27 May 2019 09:47:51 +0000 (18:47 +0900)]
e_policy_visibility: changes on e_vis_ec_below_uniconify()

if the ec is not fullfilling the screen, no needs to wait
below clients' uniconify

Change-Id: If9a81f09ab18a7496b7502b68918fad02ede949f
(cherry picked from commit 4421679ef34a3472fcb6c18e3ea11bd020f9dcf1)

5 years agovideo: A composite object for video client has to be punched if it's laid above main... 45/207745/2
Seunghun Lee [Tue, 14 May 2019 06:44:19 +0000 (15:44 +0900)]
video: A composite object for video client has to be punched if it's laid above main client.

Otherwise, Video contents which is displayed through underlay would not
be displayed on screen, because underlay is possibly covered with contents of
primary plane.

Change-Id: I31359e93936eb161ee7063fdcac122ed4e5154a9

5 years agovideo: For code readability of mask_update() function. 44/207744/2
Seunghun Lee [Tue, 14 May 2019 05:49:41 +0000 (14:49 +0900)]
video: For code readability of mask_update() function.

Change-Id: I370d30b9abddd54eafe1d998b57eb881851a605b

5 years agovideo: Render video buffer again when video client becomes visible. 43/207743/2
Seunghun Lee [Tue, 14 May 2019 05:14:07 +0000 (14:14 +0900)]
video: Render video buffer again when video client becomes visible.

Change-Id: Idd37e121e6fbf43e6689196a58104199ab258f54

5 years agovideo: Unset mask object when it's not neccessary anymore. 42/207742/2
Seunghun Lee [Tue, 14 May 2019 05:04:17 +0000 (14:04 +0900)]
video: Unset mask object when it's not neccessary anymore.

Change-Id: I5c923f6c7f919ce6e9a200e9fa2702026e8cde47

5 years agovideo: Don't make a call e_pixmap_image_clear() in spite of no damage when it comes... 41/207741/2
Seunghun Lee [Tue, 14 May 2019 04:14:38 +0000 (13:14 +0900)]
video: Don't make a call e_pixmap_image_clear() in spite of no damage when it comes to hwc video client.

Since E20 don't mark damages on e_comp_object when it comes to
'E_COMP_WL_BUFFER_TYPE_VIDEO', so it shouldn't make a call e_pixmap_image_clear(TRUE).
It will be handled by video implementation.

Change-Id: I05eb5e065e59fa927816593025b29be309a05e6f

5 years agovideo: Changed timing to send 'wl_surface.frame' message for hwc video client. 40/207740/2
Seunghun Lee [Tue, 14 May 2019 03:45:35 +0000 (12:45 +0900)]
video: Changed timing to send 'wl_surface.frame' message for hwc video client.

This patch gives a video client chance to throttle drawing its framebuffer with
framerate under compositor's capable.

Change-Id: I97922f6b47cfab25bbbafd0fd72dff48b12ad3eb

5 years agoe_comp_wl: add the ratio_h and ratio_w variables 62/207762/2
SooChan Lim [Wed, 12 Jun 2019 06:34:09 +0000 (15:34 +0900)]
e_comp_wl: add the ratio_h and ratio_w variables

Change-Id: Ia7be98c97f8a276d437469c6c8af64b0c9f05fc3

5 years agoe_comp_wl: Remove obsolete variable and function. 62/207662/1
Seunghun Lee [Wed, 5 Jun 2019 10:50:50 +0000 (19:50 +0900)]
e_comp_wl: Remove obsolete variable and function.

There is no where setting 'need_commit_extern_parent' as true.

Change-Id: I801b2f5bb74f11c26d2759fe60894eccc7773597

5 years agoe_comp_wl_subsurface: Added separate files for a subsurface implementation. 39/207439/2
Seunghun Lee [Tue, 4 Jun 2019 09:21:19 +0000 (18:21 +0900)]
e_comp_wl_subsurface: Added separate files for a subsurface implementation.

Change-Id: I5cd8863238aea0db2e6bba60bb56cbd8404e38cf

5 years agoe_test_helper: support multi event 65/200765/7 accepted/tizen/unified/20190610.082633 submit/tizen/20190607.045805 submit/tizen/20190610.041752
Junseok, Kim [Thu, 14 Feb 2019 08:22:41 +0000 (17:22 +0900)]
e_test_helper: support multi event

Change-Id: Ied61f322962d56ab43ce08dc8e10e72890fb4ece