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

5 years agoe_comp_wl_capture: modify internal function name
Doyoun Kang [Wed, 5 Jun 2019 01:41:07 +0000 (10:41 +0900)]
e_comp_wl_capture: modify internal function name

Change-Id: Id4a8266f0fbc146d0c33ff660652646547c6adf5

5 years agoe_dpms: fix typo
Junkyeong Kim [Tue, 4 Jun 2019 10:26:17 +0000 (19:26 +0900)]
e_dpms: fix typo

Change-Id: I3d93097dde9d60f94a348d92e09ccfcc35626c86

5 years agoe_devicemgr_inputgen: change file permission 28/207428/1
Doyoun Kang [Tue, 4 Jun 2019 11:35:45 +0000 (20:35 +0900)]
e_devicemgr_inputgen: change file permission

Change-Id: Ifdc620ee115f5ca04639b248f52d286af172e162

5 years agoe_devicemgr: support wheel/touch axis events generation 55/200455/10 accepted/tizen/unified/20190604.081911 submit/tizen/20190603.081230
jeon [Mon, 25 Feb 2019 08:06:38 +0000 (17:06 +0900)]
e_devicemgr: support wheel/touch axis events generation

  - New request for generation axis is added to input generator.
  - Using this request, input generator generate wheel / touch axis events.

Change-Id: I3f0631f4a92df7fd3a4f36f868ce562606663c3b

5 years agovideo: Revert removal of 'video_client' from 'E_Comp_Wl_Client_Data'. 46/207246/1 accepted/tizen/unified/20190603.095151 submit/tizen/20190530.022318 submit/tizen/20190531.051925
Seunghun Lee [Fri, 31 May 2019 05:12:32 +0000 (14:12 +0900)]
video: Revert removal of 'video_client' from 'E_Comp_Wl_Client_Data'.

This patch fixes build break for E modules.

Change-Id: I21144d42b817e48b440df2960b4e34d549b3bb85

5 years agoe_info: fixed a warning 05/207005/1
Gwanglim Lee [Thu, 30 May 2019 02:08:16 +0000 (11:08 +0900)]
e_info: fixed a warning

Change-Id: Id0bcee7a5f59a2a4c0278ab02e35317450f71de2

5 years agoe_info: print topvwins gl available(with engine config) 86/206286/5
Juyeon Lee [Thu, 16 May 2019 04:58:01 +0000 (13:58 +0900)]
e_info: print topvwins gl available(with engine config)

and remove code not using

Change-Id: Ied52ca19a6bc3a75a2107dab08d8166ab075f9d0

5 years agoe_comp_wl: automic move/resize - remove unnecessary code 43/206643/2
Juyeon Lee [Wed, 22 May 2019 10:45:40 +0000 (19:45 +0900)]
e_comp_wl: automic move/resize - remove unnecessary code

Change-Id: If490b0602b76683a131f6902d6a1dc59435e76c8

5 years agoe_policy_wl: show launchscreen when all requests(launch, owner) are ready 76/206276/4
Juyeon Lee [Thu, 16 May 2019 03:30:16 +0000 (12:30 +0900)]
e_policy_wl: show launchscreen when all requests(launch, owner) are ready

Change-Id: Icb3454c35ec07564e6b2c3f3a0308262a0ea0e7a

5 years agoe_dpms: do not set dpms if e_output is disconnected 34/206934/3
Junkyeong Kim [Wed, 29 May 2019 07:21:08 +0000 (16:21 +0900)]
e_dpms: do not set dpms if e_output is disconnected

Change-Id: I668c6f5de18570109ac058324bc8fc34286eb1c2
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_dpms: send dpms set result event if e_output use async dpms set 23/206923/5
Junkyeong Kim [Wed, 29 May 2019 04:44:16 +0000 (13:44 +0900)]
e_dpms: send dpms set result event if e_output use async dpms set

use e_output hook call to catch async dpms set done.

Change-Id: Ie7aa034a883549f2acee4d81a3c3dc36113fb8ab
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_dpms: manage dpms wayland global resource 20/206920/3
Junkyeong Kim [Wed, 29 May 2019 04:35:02 +0000 (13:35 +0900)]
e_dpms: manage dpms wayland global resource

Change-Id: I51097463e41d9bd4108273f4aab97641036c478d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: add e_output_dpms_async_check function 10/206910/3
Junkyeong Kim [Tue, 28 May 2019 10:07:06 +0000 (19:07 +0900)]
e_output: add e_output_dpms_async_check function

check supporting async dpms set or not

Change-Id: I4b8c496acf0604ae659c48b0e06986a028841948
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: support tdm async dpms set 64/206864/2
Junkyeong Kim [Tue, 28 May 2019 08:40:40 +0000 (17:40 +0900)]
e_output: support tdm async dpms set

if tdm support async dpms set, use tdm_output_set_dpms_async function.(TDM_OUTPUT_CAPABILITY_ASYNC_DPMS)

Change-Id: I0749c718c389dc1d2927b5b7d875faf6687c3011
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_eom: erase unnecessary condition 10/206810/2
Junkyeong Kim [Mon, 27 May 2019 10:40:49 +0000 (19:40 +0900)]
e_eom: erase unnecessary condition

Change-Id: If5f5cd4304e9c7c624cb98d5f08fedc83dc0d006
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_client_video: Lower log level(DEBUG) for API entry to reduce noise levels. 69/206169/7
Seunghun Lee [Fri, 10 May 2019 06:08:09 +0000 (15:08 +0900)]
e_client_video: Lower log level(DEBUG) for API entry to reduce noise levels.

Change-Id: I2a252c085daea385e0886c99a8c72e1909c610b3

5 years agovideo: Remove workaround code, it's not necessary anymore. 68/206168/7
Seunghun Lee [Wed, 8 May 2019 11:11:51 +0000 (20:11 +0900)]
video: Remove workaround code, it's not necessary anymore.

Change-Id: I990cade7c22007bae86b715922cde5ae2ec96826

5 years agovideo: Remove unnecessary include files. 67/206167/7
Seunghun Lee [Wed, 8 May 2019 10:59:14 +0000 (19:59 +0900)]
video: Remove unnecessary include files.

Change-Id: Ie5af2a191f8e38edccddb8a1fc58161a34f0e6cc

5 years agovideo:e_comp_wl_video: Remove unused attribute from 'E_Video' 66/206166/7
Seunghun Lee [Wed, 8 May 2019 10:47:16 +0000 (19:47 +0900)]
video:e_comp_wl_video: Remove unused attribute from 'E_Video'

Change-Id: Ie4b5d677a914db62076890a8f4e833fef3bbdc5f

5 years agovideo:e_comp_wl_video: Add event handler for E_EVENT_CLIENT_REMOVE when create video... 65/206165/7
Seunghun Lee [Wed, 8 May 2019 10:44:36 +0000 (19:44 +0900)]
video:e_comp_wl_video: Add event handler for E_EVENT_CLIENT_REMOVE when create video object.

Change-Id: I1255354e90a529d071df00647dc6525fb6e10783

5 years agovideo:e_comp_wl_video: Use common log macro. 64/206164/8
Seunghun Lee [Wed, 8 May 2019 10:18:33 +0000 (19:18 +0900)]
video:e_comp_wl_video: Use common log macro.

Change-Id: I2ee155958e9a0f95b701bff97416d8eeeacec28b

5 years agovideo: Remove unused attribute 'allow_attribute'. 63/206163/8
Seunghun Lee [Wed, 8 May 2019 06:46:47 +0000 (15:46 +0900)]
video: Remove unused attribute 'allow_attribute'.

It's handled by 'E_Client_Video'

Change-Id: I4fd4daa870ea5c2a3d1916fa55eca0020ceb8ef9

5 years agovideo: Remove unnecessary interface for video. 62/206162/8
Seunghun Lee [Tue, 7 May 2019 07:14:27 +0000 (16:14 +0900)]
video: Remove unnecessary interface for video.

'topmost_visibility_follow' and 'property_allow' interfaces are
unnecessary.

Change-Id: I48b5f3e69f9059682534c112c59da702867edc9c

5 years agovideo: Added e_video_debug_screen_punch_set()/unset() functions. 61/206161/8
Seunghun Lee [Tue, 30 Apr 2019 01:03:13 +0000 (10:03 +0900)]
video: Added e_video_debug_screen_punch_set()/unset() functions.

This API will make full-sized transparent object overlapping canvas of
e_comp to show video plane.

Change-Id: I05976b1465ca486951e6c756d1ec7541fa3b20ad

5 years agovideo: Use internal customized LOG macro. 60/206160/8
Seunghun Lee [Tue, 30 Apr 2019 00:01:57 +0000 (09:01 +0900)]
video: Use internal customized LOG macro.

Change-Id: Ibeb4f51e50d8d59a97f22394061d291029240935

5 years agovideo: Remove deprecated functions of E_Client_Video for HWC Windows. 59/206159/8
Seunghun Lee [Mon, 29 Apr 2019 10:20:50 +0000 (19:20 +0900)]
video: Remove deprecated functions of E_Client_Video for HWC Windows.

Change-Id: I9785982494e79f9793c9b620fbfdc549586442e0

5 years agovideo: Correct name of variable for E_Video_External as proper abbreviation. 58/206158/8
Seunghun Lee [Mon, 29 Apr 2019 08:29:52 +0000 (17:29 +0900)]
video: Correct name of variable for E_Video_External as proper abbreviation.

Change-Id: Iaf82ce80eac680cb7ecfc4c8994b9b9b35be24ed

5 years agovideo: Added e_client_video_hw_composition_set/unset/check() functions to manage... 57/206157/8
Seunghun Lee [Mon, 29 Apr 2019 08:13:02 +0000 (17:13 +0900)]
video: Added e_client_video_hw_composition_set/unset/check() functions to manage the compositing methods of video client.

A internal implementation for video will call set/unset() functions according
to its compositing method. And then e_client_video_hw_composition_check() will be
used instead of video_client flag. This patch removed video_client flag from
E_Client structure.

Change-Id: Iea0e5a412c55b2990622c2f2aeb329311402d805

5 years agoe_hwc_window: check delete of ec before create hwc_window 85/206285/5
Changyeon Lee [Thu, 16 May 2019 04:54:13 +0000 (13:54 +0900)]
e_hwc_window: check delete of ec before create hwc_window

Change-Id: If770cb2c9210175526735e4f4f2ecf34a707493c

5 years agoe_hwc_window_queue: fix wrong checking flags of wayland tbm buffer 54/206854/2
Changyeon Lee [Tue, 28 May 2019 07:40:10 +0000 (16:40 +0900)]
e_hwc_window_queue: fix wrong checking flags of wayland tbm buffer

Change-Id: I8824cf29c5cebf785e8abc328ac1ade5c14fdfab

5 years agoadd e_client_frame_focus_set to set/unset focus 57/206657/1
Doyoun Kang [Thu, 23 May 2019 00:38:39 +0000 (09:38 +0900)]
add e_client_frame_focus_set to set/unset focus

We used evas_object_focus_set(ec->frame, set) API. But it was hard to debug
setting/unsetting focus. So, we make wrapper API.

FYI, no focus logic change in this patch.

Change-Id: Ia973d1da275bd81fbcb53ab6c9be1afe3c048afd

5 years agoFixed unmatched function name 57/206457/1
MinJeong Kim [Fri, 17 May 2019 06:55:49 +0000 (15:55 +0900)]
Fixed unmatched function name

Change-Id: I356dc3ff79139c0333cc4d28126ca42764437ec1
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_dpms: implementation of wayland-extension tizen-dpms-manager server interface 44/204544/9 accepted/tizen/unified/20190515.221739 submit/tizen/20190514.024650
Junkyeong Kim [Wed, 24 Apr 2019 08:35:51 +0000 (17:35 +0900)]
e_dpms: implementation of wayland-extension tizen-dpms-manager server interface

Change-Id: Iba62ebeec7a3173299b6a2e2b3e0decd3ef90e4a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_comp_wl_input: changed a code for creation of temp file to have secure permissions 97/206197/1
Gwanglim Lee [Wed, 15 May 2019 05:29:16 +0000 (14:29 +0900)]
e_comp_wl_input: changed a code for creation of temp file to have secure permissions

Change-Id: I4a74305c1884778b1ddcf6377e01e5ff4b4ca03b

5 years agoe_info_server: added check codes for return value of sscanf 92/206192/1
Gwanglim Lee [Wed, 15 May 2019 05:02:34 +0000 (14:02 +0900)]
e_info_server: added check codes for return value of sscanf

Change-Id: Iab81d293847335d22cfe7807075bbab368ca9cd4

5 years agoe_maximize: fix dereference null 87/206187/3
Juyeon Lee [Wed, 15 May 2019 03:21:48 +0000 (12:21 +0900)]
e_maximize: fix dereference null

Change-Id: I840e84bd8e508c9243ff2fbede959fd159bd6ba7

5 years agoe_comp_object: fix dereference null 85/206185/1
Juyeon Lee [Wed, 15 May 2019 03:00:53 +0000 (12:00 +0900)]
e_comp_object: fix dereference null

Change-Id: If129de06d85655ef60194a7d10a7168974964256