platform/upstream/enlightenment.git
5 years agoe_comp_wl: adjust mouse in pointer when reload the cursor 05/221205/2
jeon [Mon, 30 Dec 2019 06:21:14 +0000 (15:21 +0900)]
e_comp_wl: adjust mouse in pointer when reload the cursor

Change-Id: I1bccc7df04b4bde8de8eb69c8f9fd20ad9acbd40

5 years agoRevert "video: Use values of evas_map_point_image_uv for source region." 77/221177/1 submit/tizen_5.5/20191230.044854
Seunghun Lee [Mon, 30 Dec 2019 02:37:16 +0000 (11:37 +0900)]
Revert "video: Use values of evas_map_point_image_uv for source region."

This reverts commit 3a5814c90a4e9acf4fc9433f93ed684bae6b7ee4.

Change-Id: Ice7b2a921e181f096a50e670c025d5f58ee13262

5 years agoe_policy_wl: skip to handle tizen_position_set of keyboard window 25/221025/2
Doyoun Kang [Thu, 26 Dec 2019 10:06:44 +0000 (19:06 +0900)]
e_policy_wl: skip to handle tizen_position_set of keyboard window

we handle the keyboard window's geometry by wl_text_input protocol.

Change-Id: I0e5d08269297592e7492d1dd8ae213d655f9e832

5 years agoe_comp_wl: Added E_COMP_WL_CONNECTED_CLIENT_CREATE pid hook call point 24/221024/7
Junseok, Kim [Thu, 26 Dec 2019 09:45:38 +0000 (18:45 +0900)]
e_comp_wl: Added E_COMP_WL_CONNECTED_CLIENT_CREATE pid hook call point

Change-Id: Ia4896d095487b37f7126c8e19f615ed7c41fe67c

5 years agoe_comp_wl: Added hook function using pid variable and added CONNECTED_CLIENT_CREATE... 23/221023/6
Junseok, Kim [Thu, 26 Dec 2019 09:45:30 +0000 (18:45 +0900)]
e_comp_wl: Added hook function using pid variable and added CONNECTED_CLIENT_CREATE hook.

Change-Id: I24c606a3bafc901f3ab15156a31918311c6a4e26

5 years agoe_policy_appinfo: make find_with_pid create e_policy_appinfo if inexist 22/221022/5
Junseok, Kim [Thu, 26 Dec 2019 09:41:51 +0000 (18:41 +0900)]
e_policy_appinfo: make find_with_pid create e_policy_appinfo if inexist

Change-Id: I7b2e6b612a6591f6ab56c1293fbb2dcbfd157571

5 years agoe_pointer: change a cursor rotations's center pointer 82/220982/1
jeon [Tue, 24 Dec 2019 09:48:26 +0000 (18:48 +0900)]
e_pointer: change a cursor rotations's center pointer

  - in rotation cases, cursor will be rotated using evas_map
  - but moving cursor after apply evas_map, reference point will be changed.
  - so cursor will be located invalid position in rotation cases.

Change-Id: Idc5adb9b5dea711982bc1af9a06aab1026bcf38e

5 years agoe_dpms: execute e_output_dpms_set even though output disconnected 95/220895/2
Junkyeong Kim [Tue, 24 Dec 2019 09:02:18 +0000 (18:02 +0900)]
e_dpms: execute e_output_dpms_set even though output disconnected

prevent from e_output.

Change-Id: I0cd7b28a84cba5761dca0314dad021ccedeef5fb
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: do not execute tdm dpms set function if fake config set 93/220893/2
Junkyeong Kim [Tue, 24 Dec 2019 08:58:44 +0000 (17:58 +0900)]
e_output: do not execute tdm dpms set function if fake config set

Change-Id: Ia572d44e3c13af0bc7458b0090910f7249f25ec5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: use zpos to make capture image for hwc_windows 40/220640/2
Junkyeong Kim [Fri, 20 Dec 2019 06:44:25 +0000 (15:44 +0900)]
e_output: use zpos to make capture image for hwc_windows

Change-Id: Iff9795e43830884ddb0dc49424d2950e8068f54b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agovideo: Use values of evas_map_point_image_uv for source region. 14/220614/3
Seunghun Lee [Wed, 18 Dec 2019 04:15:59 +0000 (13:15 +0900)]
video: Use values of evas_map_point_image_uv for source region.

In order to get source region accordingly for video client requesting
'tizen_viewport(or wl_viewport).set_source' without attach new buffer,
values of evas_map_point_image_uv will be considered.

Change-Id: Idb3a28aa38c3d3abf44e2130aa6746b068ebe24a

5 years agoe_service_launcher: added missing buff attach event handler clean up 63/220863/1
MinJeong Kim [Tue, 24 Dec 2019 05:19:48 +0000 (14:19 +0900)]
e_service_launcher: added missing buff attach event handler clean up

Change-Id: Ide8a3af3ef34fffcbf5c673422034dc2e6652d63
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_service_launcher: block input while running custom transition animation 62/220862/1
MinJeong Kim [Thu, 19 Dec 2019 05:07:24 +0000 (14:07 +0900)]
e_service_launcher: block input while running custom transition animation

Change-Id: I9457d7b0eab35c942631fc8341a5e191cda42a27
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_devicemgr: supports input blocking for internal requests 61/220861/1
MinJeong Kim [Wed, 18 Dec 2019 01:56:44 +0000 (10:56 +0900)]
e_devicemgr: supports input blocking for internal requests

Change-Id: I95cceacd339d622bc85b9e9bf1018a14ceed5798
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_policy_visibility: added getter of timeout value 60/220860/1
MinJeong Kim [Fri, 20 Dec 2019 06:10:54 +0000 (15:10 +0900)]
e_policy_visibility: added getter of timeout value

Change-Id: Ic1b4988afcf38b787f27abd3021d6adbce751765
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_policy: get base_output_res_useful_geom instead of zone geometry 41/220841/1
Junseok, Kim [Tue, 24 Dec 2019 02:10:54 +0000 (11:10 +0900)]
e_policy: get base_output_res_useful_geom instead of zone geometry

Change-Id: I2b6cee6a7c4bee8acdada3be2458527de51ae9e8

5 years agoremote_surface: fixed wrong handling of consumer hash data 06/217906/3
MinJeong Kim [Fri, 15 Nov 2019 11:11:14 +0000 (20:11 +0900)]
remote_surface: fixed wrong handling of consumer hash data

Change-Id: I89de523341dce885c1d6e5cd3dbb4bcf86701be0
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_comp_wl: check ec->comp_data in focus in timer 64/220764/1
jeon [Mon, 23 Dec 2019 05:38:22 +0000 (14:38 +0900)]
e_comp_wl: check ec->comp_data in focus in timer

  - sometimes ec is not deleted but ec->comp_data is NULL,
  - so add check conditions.
  - and E_EVENT_HOOK_DEL is called before free ec->comp_data,
  - so cancel and free focus in timer in this hook.

Change-Id: Ia19bad56dd4f91e7c6eeb8f0eb02f03599366e8f

5 years agoe_plane: add checking same tbm_surface is fetched 41/220441/1
Changyeon Lee [Wed, 18 Dec 2019 07:27:12 +0000 (16:27 +0900)]
e_plane: add checking same tbm_surface is fetched

Change-Id: Ie0330966e51dcba29e566337bcf45ce67d52cd96

5 years agoe_client: reset focused value when focused is freed 15/220415/1
Doyoun Kang [Wed, 18 Dec 2019 06:12:04 +0000 (15:12 +0900)]
e_client: reset focused value when focused is freed

Change-Id: I8a5e1749f4cfa707e26da6855393cdf622846b64

5 years agoe_desk: add NULL check code before using evas_map 10/220410/1
Doyoun Kang [Wed, 18 Dec 2019 05:47:35 +0000 (14:47 +0900)]
e_desk: add NULL check code before using evas_map

Change-Id: I86fd0ab8497770b5d4930810ea584116a0c46960

5 years agoe_desk: check ec's deleted flag before applying zoom 07/220407/1
Doyoun Kang [Wed, 18 Dec 2019 04:31:36 +0000 (13:31 +0900)]
e_desk: check ec's deleted flag before applying zoom

Change-Id: I24948b6767e57b7572e84302e65030c090116ab1

5 years agoe_comp_wl: move a cursor follow global positon 48/220248/1 submit/tizen_5.5/20191217.074944
jeon [Tue, 22 Oct 2019 08:05:33 +0000 (17:05 +0900)]
e_comp_wl: move a cursor follow global positon

  - The enlightenment set evas_map to client for transform/zoom.
  - If an evas_map is set, mouse event's axis is changed but this
    changed axis is an window axis, so this is not matched to cursor position.
  - So get global position to calculate inverse from evas event's axis

Change-Id: I7c237b042f9f48e0b60f6a1f0efe25fc64836594
(cherry picked from commit f3ee48cfa2df25337942830bdca38bb9ac3c2a02)

5 years agoe_hwc_windows: use EINA_LIST_FOREACH_SAFE in offscreen commit 91/220091/1 submit/tizen_5.5/20191213.041840
Changyeon Lee [Fri, 13 Dec 2019 04:06:57 +0000 (13:06 +0900)]
e_hwc_windows: use EINA_LIST_FOREACH_SAFE in offscreen commit

Change-Id: I370e8990204704122a8795ccdd6201b2acf3c2db

5 years agoe_hwc_windows: use EINA_LIST_FOREACH_SAFE when release commit_data 90/220090/1
Changyeon Lee [Fri, 13 Dec 2019 03:49:13 +0000 (12:49 +0900)]
e_hwc_windows: use EINA_LIST_FOREACH_SAFE when release commit_data

it is possible that e_hwc_window is freed when release commit_data

Change-Id: Idf22b41fff8d70f93d3d79e20460173df413e2dc

5 years agoe_info_client: fix wrong info of hwc disable in hwc planes mode 44/220044/1
Changyeon Lee [Thu, 12 Dec 2019 12:15:57 +0000 (21:15 +0900)]
e_info_client: fix wrong info of hwc disable in hwc planes mode

Change-Id: Ia59e2a2b74d1e638d896b59d66bbe11442343498

5 years agoe_hwc_window: free e_hwc_window when e_client is freed 10/219510/4
Changyeon Lee [Thu, 5 Dec 2019 11:20:02 +0000 (20:20 +0900)]
e_hwc_window: free e_hwc_window when e_client is freed

it is possible that client is visible even if wl_surface is deleted
becase effect module want to show hide effect with deleted e_client.
so e_hwc_window is needed untill e_client is freed for preventing
transition flicker.

Change-Id: I7a8c065967fad91a401a7989464a48b6842a79d5

5 years agoe_hwc_windows: check transition even if hwc_window doens't have buffer 11/219511/4
Changyeon Lee [Thu, 5 Dec 2019 11:28:29 +0000 (20:28 +0900)]
e_hwc_windows: check transition even if hwc_window doens't have buffer

this is revert commit of c1a8616f8b0d6b3309435f00d159d1f409ba56a2
because transition_failures is added, hwc_window doesn't need
this patch which is for preventing transition lock up

Change-Id: Ibc00d9ee8511392529dcf735195f90d76f34668b

5 years agoe_hwc_windos: add missing parameter 22/220022/1 submit/tizen_5.5/20191212.105945
Junkyeong Kim [Thu, 12 Dec 2019 10:49:12 +0000 (19:49 +0900)]
e_hwc_windos: add missing parameter

Change-Id: I5a155c1d48c0171ff88e72bd1b7216306a2183bb
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_windows: execute commit if there is no pp commit data 11/220011/1 submit/tizen_5.5/20191212.102843
Junkyeong Kim [Thu, 12 Dec 2019 09:12:29 +0000 (18:12 +0900)]
e_hwc_windows: execute commit if there is no pp commit data

Change-Id: I63ff36ebf56c51f6dd514bf5b4a4a7fc8825de74
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_windows: unmap tsurface after mapping 61/219961/2
Zhaowei Yuan [Thu, 12 Dec 2019 02:15:28 +0000 (10:15 +0800)]
e_hwc_windows: unmap tsurface after mapping

Miss calling to tbm_surface_unmap after calling
tbm_surface_map, add it.

Change-Id: I9963e2c76f78ddab453d1d70cb3ce2aa0b84549a
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_windows: check output size to set pp_hwc_window 18/219818/1
Junkyeong Kim [Tue, 10 Dec 2019 08:16:06 +0000 (17:16 +0900)]
e_hwc_windows: check output size to set pp_hwc_window

if buffer size is not match output size, cannot set to pp_window.

Change-Id: Iaf2db8557168646b3aaa6982ffd3efd6961edcf1
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_video_hwc_windows: check commit data is changed 29/219729/3
Changyeon Lee [Mon, 9 Dec 2019 11:15:30 +0000 (20:15 +0900)]
e_hwc_video_hwc_windows: check commit data is changed

Change-Id: I9ef07e909faab70ddd0b0fffcae56d3ea236a6dc

5 years agoe_comp_wl: wait for the requesting client to be mapped before applying input region 12/219612/2 accepted/tizen/5.5/unified/20191209.050136 submit/tizen_5.5/20191206.105723
jeon [Fri, 6 Dec 2019 08:16:10 +0000 (17:16 +0900)]
e_comp_wl: wait for the requesting client to be mapped before applying input region

  - Basically setting input region for a client surface will only be applied
    only when the surface is attached.
  - Otherwise the request for setting input region for the client surface
    will not be applied as the server doesn't know the exact size of the surface.
  - Therefore we apply the input region from the client when the surface of the client is mapped.

Change-Id: I2a85e43d6214839e36dfda9c52249940d758ee79

5 years agoe_client_video: reset video's visibility after calling unfollowing topmost visibility 01/219501/2 accepted/tizen/5.5/unified/20191206.013109 submit/tizen_5.5/20191205.120208
Doyoun Kang [Thu, 5 Dec 2019 09:46:37 +0000 (18:46 +0900)]
e_client_video: reset video's visibility after calling unfollowing topmost visibility

Change-Id: I3f8905011f757dbc8f6d1f878cdc80cb9b827a02

5 years agoRevert "e_policy_visiblity: fix leak" 99/219499/2
JunSeok Kim [Thu, 5 Dec 2019 09:34:39 +0000 (09:34 +0000)]
Revert "e_policy_visiblity: fix leak"

This reverts commit 30cc4470133e7fb1f88a3c3a32ce139d295bf02f.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I2e4c18669dd9c58562eb536dd341e843846d8b34

5 years agoe_hwc_windows: get effect_client only when object is visible 61/219361/1
Changyeon Lee [Wed, 4 Dec 2019 11:06:32 +0000 (20:06 +0900)]
e_hwc_windows: get effect_client only when object is visible

Change-Id: I344bdb57ed91c9594b54df38752904bcc8e71ec6

5 years agoe_hwc_window: update cursor image before tdm_hwc_window_set_cursor_image 60/219360/1
Changyeon Lee [Wed, 4 Dec 2019 07:12:56 +0000 (16:12 +0900)]
e_hwc_window: update cursor image before tdm_hwc_window_set_cursor_image

Change-Id: I690cf814c278d6ee5cfb49cbf03a54984c7ede2a

5 years agoe_devicemgr_block: free a destroy listener when a block is end 05/219205/1 accepted/tizen/5.5/unified/20191205.090133 submit/tizen_5.5/20191203.095917
jeon [Tue, 3 Dec 2019 07:51:00 +0000 (16:51 +0900)]
e_devicemgr_block: free a destroy listener when a block is end

Change-Id: I267f19656a02d12b2daac61e4170fbb05df347ca

5 years agoe_hwc_windows: set STATE_NONE to not visible hwc_window 79/218979/1
Changyeon Lee [Fri, 29 Nov 2019 07:33:10 +0000 (16:33 +0900)]
e_hwc_windows: set STATE_NONE to not visible hwc_window

Change-Id: I8d869018ba60060bf3c851422204c132c55b0cdd

5 years agoe_hwc_windows: add visible skip and hwc to debug info 78/218978/1
Changyeon Lee [Fri, 29 Nov 2019 04:38:25 +0000 (13:38 +0900)]
e_hwc_windows: add visible skip and hwc to debug info

Change-Id: Ibee4f04183fa0dcdd434318c3bf629fb03a41f2d

5 years agoe_client: check e_object_del when focus_unset hook call 62/218662/3
Junseok, Kim [Tue, 26 Nov 2019 11:01:35 +0000 (20:01 +0900)]
e_client: check e_object_del when focus_unset hook call

Change-Id: I8f0bf5e858fda2741222cf0b050ca1820972f09a

5 years agoe_policy_visiblity: fix leak 48/218848/1
Juyeon Lee [Tue, 12 Nov 2019 11:09:16 +0000 (20:09 +0900)]
e_policy_visiblity: fix leak

E_Vis_Client allocation and free is not paired due missing in
client delete hook and event handler
the EVENT_CLIENT_REMOVE is made in pair with E_EVENT_CLIENT_ADD
but, sometimes new_client don't made E_EVENT_CLIENT_ADD and tried to delete
and it leads leak as a result

Use only E_CLIENT_HOOK_DEL for consistanccy

Change-Id: Ic4c7ae3fbda9c14f321ca1969fd57f7690e3643d
(cherry picked from commit 8b3729e78f68cefacbe1acd149b23d6d79b7fa19)

5 years agoe_hwc: fix wrong format specifier 24/218724/1 accepted/tizen/5.5/unified/20191203.011323 submit/tizen_5.5/20191127.101559
Changyeon Lee [Wed, 27 Nov 2019 09:55:05 +0000 (18:55 +0900)]
e_hwc: fix wrong format specifier

Change-Id: I8619ed3b2e52ce4e59bb298908a4742ad378ca56

5 years agoe_hwc_windows: execute commit data release after pp output commit done 21/218721/1 submit/tizen_5.5/20191127.085557
Junkyeong Kim [Wed, 27 Nov 2019 08:36:31 +0000 (17:36 +0900)]
e_hwc_windows: execute commit data release after pp output commit done

Change-Id: I6aab7312826d12426a814a831ad87b06164de654
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc: remove get hwc available property log 61/218661/1
Changyeon Lee [Wed, 20 Nov 2019 02:45:38 +0000 (11:45 +0900)]
e_hwc: remove get hwc available property log

Change-Id: I58226f67932ff2da8868f537035f64a292c17405

5 years agoe_hwc_window: remove need_redirect flag 60/218660/1
Changyeon Lee [Mon, 25 Nov 2019 12:10:27 +0000 (21:10 +0900)]
e_hwc_window: remove need_redirect flag

when hwc_window use redirected of ec,
hwc_window need flag which store redirected of ec.
but current hwc_window use redirected of e_comp_object,
so need_to_redirected flag isn't needed

Change-Id: I013fc54a401c6a7e954f0d5477c1e05080b472cc

5 years agoe_hwc_window_queue: unset user of queue when target window is set device 59/218659/1
Changyeon Lee [Mon, 25 Nov 2019 07:56:39 +0000 (16:56 +0900)]
e_hwc_window_queue: unset user of queue when target window is set device

Change-Id: I0295c7f786ecb865ad650e0408d3eed00d91cb54

5 years agoe_policy: add E_POLICY_HOOK_CLIENT_ROTATION_GEOMETRY_SET hook 64/218364/1 accepted/tizen/5.5/unified/20191203.011131 submit/tizen_5.5/20191121.123717
Doyoun Kang [Thu, 21 Nov 2019 12:10:42 +0000 (21:10 +0900)]
e_policy: add E_POLICY_HOOK_CLIENT_ROTATION_GEOMETRY_SET hook

We added E_POLICY_HOOK_CLIENT_ROTATION_GEOMETRY_SET hook.
This hook can be called by e module such as e-mod-tizen-wm-policy.

Change-Id: If3d67c204b44517482b63e03feafac5a67b89640

5 years agoe_client: add null check 09/218209/2 accepted/tizen/5.5/unified/20191121.073310 submit/tizen_5.5/20191120.113739
Changyeon Lee [Wed, 20 Nov 2019 09:02:54 +0000 (18:02 +0900)]
e_client: add null check

Change-Id: I735e2ef31dc39228ff00d8c6f54c287f1acd1c0a

5 years agoe_comp_object: add null check 08/218208/2
Changyeon Lee [Wed, 20 Nov 2019 09:03:37 +0000 (18:03 +0900)]
e_comp_object: add null check

Change-Id: I97548f9556261074151d99d0f107d3158572fdf6

5 years agoe_comp_object: check smart object before get smart data 07/218207/2
Changyeon Lee [Wed, 20 Nov 2019 08:53:29 +0000 (17:53 +0900)]
e_comp_object: check smart object before get smart data

Change-Id: If7939de60334a7e04f0d149e8541609813365b43

5 years agoe_hwc_windows/e_info_server: check smart_object before get smart_data 25/218125/2
Changyeon Lee [Tue, 19 Nov 2019 11:49:19 +0000 (20:49 +0900)]
e_hwc_windows/e_info_server: check smart_object before get smart_data

Change-Id: I2a468c5efde11b7ff513ff2fdfcd3fa339661269

5 years agoe_hwc_windows: set hybrid/none hwc mode if ui window ins't exist 48/218048/2
Changyeon Lee [Tue, 19 Nov 2019 04:42:05 +0000 (13:42 +0900)]
e_hwc_windows: set hybrid/none hwc mode if ui window ins't exist

Change-Id: I67af4285b1c3b9efef97ebb7f1f8b547f045907b

5 years agoe_comp_wl: send touch cancel event when touch is pressed before map apply 22/217822/3
jeon [Tue, 18 Dec 2018 08:11:26 +0000 (17:11 +0900)]
e_comp_wl: send touch cancel event when touch is pressed before map apply

evas_object which is received touch event is changed when map is applied.
(frame -> map_input_obj)
but if touch is pressed, evas can't change evas_object which is recevied
touch event. so need touch cancel event.

Change-Id: Ic2e023e7dd4a8213a4a0333893377a05eab2cf09

5 years agoe_client: remove cond. skip_rot_pending_show for ec_vis calc 24/218224/1
Juyeon Lee [Tue, 19 Nov 2019 07:44:22 +0000 (16:44 +0900)]
e_client: remove cond. skip_rot_pending_show for ec_vis calc

client ec->visibility.obscured is unobsecured(VIS ON)
eventhough ec->e.state.rot.pending_show is TRUE

Change-Id: I907176a1c97dd4116a3fd2038bea7470a9ee7af3
(cherry picked from commit 585079d025134afc93aa8e4118c49cbda9e6a94e)

5 years agoe_comp_wl: add class condition before send event device 06/218206/1
jeon [Wed, 20 Nov 2019 08:01:46 +0000 (17:01 +0900)]
e_comp_wl: add class condition before send event device

Change-Id: I5852df62565df456d718cfa02fb577bf7a1701a6

5 years agoRevert "e_hwc_windows: check target buffer changed after setting transition" 80/217880/1 submit/tizen_5.5/20191115.080537
Changyeon Lee [Fri, 15 Nov 2019 06:32:52 +0000 (15:32 +0900)]
Revert "e_hwc_windows: check target buffer changed after setting transition"

This reverts commit c3435be4f0e096f1dc60d718730808aed99109f5.

Change-Id: I485502d24fe436135642b2464a3047ab50c6a8d2

5 years agoe_util_transform: Axis reset interface 59/217759/1 accepted/tizen/5.5/unified/20191114.123235 submit/tizen_5.5/20191114.055423
amarnath123 [Mon, 11 Nov 2019 08:17:57 +0000 (13:47 +0530)]
e_util_transform: Axis reset interface

Change-Id: I9f8d23e25128ddce53c89f9df6bdb61556a81e91
Signed-off-by: amarnath123 <a.amarnath@samsung.com>
5 years agoe_info_server: fix a coverity issue not checking return of tbm_surface_map. 96/217696/1 accepted/tizen/5.5/unified/20191114.042730 submit/tizen_5.5/20191113.101822
Seunghun Lee [Wed, 13 Nov 2019 09:15:51 +0000 (18:15 +0900)]
e_info_server: fix a coverity issue not checking return of tbm_surface_map.

Change-Id: I9005d9e25de04689b61d2984c94a30544892b85f

5 years agoe_comp_wl_capture: fix a svace issue not checking return of tbm_surface_map. 95/217695/1
Seunghun Lee [Wed, 13 Nov 2019 08:58:20 +0000 (17:58 +0900)]
e_comp_wl_capture: fix a svace issue not checking return of tbm_surface_map.

Change-Id: Iec473517a5dd569e8ca3b2ced9fcea94e1c9d92a

5 years agoe_comp_wl_capture: Support video capture 76/217676/2
Seunghun Lee [Thu, 7 Nov 2019 04:40:16 +0000 (13:40 +0900)]
e_comp_wl_capture: Support video capture

A video client will be captured with its parent window if given E_Client
has video client as subsurface when e_comp_wl_capture_client_image_save
is called.

Note that it only supports NV12 and RGB colorspace of format of video
buffer and capturing video client by itself isn't supported since its
usage is not defined yet.

Change-Id: Ibaef3c4c0c4459ce7cdc9448800de89e1282d047

5 years agovideo: Added an API to check given 'E_Client' is video. 75/217675/2
Seunghun Lee [Fri, 8 Nov 2019 04:38:51 +0000 (13:38 +0900)]
video: Added an API to check given 'E_Client' is video.

Change-Id: Ic7966dc84a35ef86fa6e08dcf3e80dc9eb2e4580

5 years agoe_comp_wl: Added an API to get buffer/output viewport and transform of E_Client. 74/217674/2
Seunghun Lee [Thu, 7 Nov 2019 07:47:47 +0000 (16:47 +0900)]
e_comp_wl: Added an API to get buffer/output viewport and transform of E_Client.

Change-Id: I72e21d5052030ff92453fba231d4f5a432eca76f

5 years agoe_client: Added an API to provide a way to access surface tree of E_Client. 73/217673/2
Seunghun Lee [Wed, 6 Nov 2019 11:58:25 +0000 (20:58 +0900)]
e_client: Added an API to provide a way to access surface tree of E_Client.

e_client_surface_tree_foreach(E_Client *, E_Client_Surface_Tree_Foreach, void *)

This API will call callback function with E_Client parameter from
the bottom stacked to top stacked one including given E_Client
initially.

Change-Id: I8ff183368c1a21cb4d8fb7ac08f9908dcec090f6

5 years agovideo: Added a util API for converting pixel format of tbm_surface_h from NV12 to... 72/217672/2
Seunghun Lee [Tue, 5 Nov 2019 06:28:27 +0000 (15:28 +0900)]
video: Added a util API for converting pixel format of tbm_surface_h from NV12 to RGB.

Change-Id: Ie98092de369b14f34c4b1d3b754f6555fe28955f

5 years agoe_comp_wl_capture: fix a svace issue not checking return of tbm_surface_map. 80/217680/1
Seunghun Lee [Tue, 12 Nov 2019 02:07:28 +0000 (11:07 +0900)]
e_comp_wl_capture: fix a svace issue not checking return of tbm_surface_map.

Change-Id: I698c336a5c5eff30c5f92ad45671db38afaefe23

5 years agopackaging: set the smack label for tools that will be executed in a shell 62/217562/1 accepted/tizen/5.5/unified/20191113.123234 submit/tizen_5.5/20191112.105946
Sung-Jin Park [Tue, 12 Nov 2019 10:13:03 +0000 (19:13 +0900)]
packaging: set the smack label for tools that will be executed in a shell

Change-Id: I71b3807a0001b678248ea39389ffb19017426389
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
(cherry picked from commit 594a40a8b6cbb6507312411e06e6958aad65507c)

5 years agotools: add PATH variable for security and fix to use an absolute path 61/217561/1
Sung-Jin Park [Tue, 12 Nov 2019 10:11:37 +0000 (19:11 +0900)]
tools: add PATH variable for security and fix to use an absolute path

Change-Id: I4c3768b2318e094664d72d7ea7304be44685fad8
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
(cherry picked from commit 547ffa983db91cfadd91376549fcb0d1b31e9d68)

5 years agoe_service_quickpanel: fix bug for sending quickpanel_state message 46/217446/1
Doyoun Kang [Tue, 12 Nov 2019 01:20:23 +0000 (10:20 +0900)]
e_service_quickpanel: fix bug for sending quickpanel_state message

There was a bug that the window could not hide an indicator after closing the quickpanel in
multi window case.
This was because the window which opened the quickpanel could not get the aux message
"quickpanel_state", "hidden" after closing quickpanel.

Change-Id: I8e4ffe500b13ff1b6e015430103464cc11646cd3

5 years agovideo: fix clipping destination region of tdm info. 18/217418/1
Seunghun Lee [Mon, 11 Nov 2019 10:14:31 +0000 (19:14 +0900)]
video: fix clipping destination region of tdm info.

A region of clipper should be determined according to output transform.

Change-Id: I7ef2d014ede203a2ee8ce41a39f575b55f2ef1b8

5 years agoe_comp_wl_subsurface: fix svace issue dereferencing null pointer. 11/217411/2 accepted/tizen/5.5/unified/20191112.033648 submit/tizen_5.5/20191111.071532
Seunghun Lee [Mon, 11 Nov 2019 07:42:53 +0000 (16:42 +0900)]
e_comp_wl_subsurface: fix svace issue dereferencing null pointer.

Change-Id: I12f584383a5aa0ce802a64ef323e4fa5699a51c9

5 years agoe_dpms: send get_state event if client request get_dpms 98/217398/1
Junkyeong Kim [Wed, 6 Nov 2019 07:24:09 +0000 (16:24 +0900)]
e_dpms: send get_state event if client request get_dpms

Change-Id: I9868e875ac2125d6479b1653541b8f59b57b995a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_window_queue: unset user when target window must use queue 44/217344/1 submit/tizen_5.5/20191111.040925
Changyeon Lee [Thu, 7 Nov 2019 05:41:08 +0000 (14:41 +0900)]
e_hwc_window_queue: unset user when target window must use queue

Change-Id: Ic83129fee7adcc52d21333b0deaae080ee2aa4e5

5 years agoe_hwc_windows: check target buffer changed after setting transition 43/217343/1
Changyeon Lee [Thu, 7 Nov 2019 05:38:21 +0000 (14:38 +0900)]
e_hwc_windows: check target buffer changed after setting transition

Change-Id: Ib688b49055c8e69fe39f12fbaeae767422ed8cea

5 years agovideo: fix compare wrong parameter. 01/217201/2 accepted/tizen/5.5/unified/20191108.065756 submit/tizen_5.5/20191107.103756
Seunghun Lee [Thu, 7 Nov 2019 09:06:11 +0000 (18:06 +0900)]
video: fix compare wrong parameter.

Change-Id: I6c5775f250fb89db3601e5ddd763b4dee05a7fb4

5 years agoe_info: show the accpected_state of the hwc windows on the hwc windows policy 03/217203/1
SooChan Lim [Thu, 7 Nov 2019 08:47:13 +0000 (17:47 +0900)]
e_info: show the accpected_state of the hwc windows on the hwc windows policy

The topvwins shows the accpected_state of the hwc windows on the hwc windows policy
Change-Id: I2073fe4e5a8512acdd12d672430d9b65ec4e071f

5 years agotools: add enlightenment_input_key CLI tool for generating key event(s) 68/217068/2 accepted/tizen/unified/20191107.052013 submit/tizen_5.5/20191107.041841
Sung-Jin Park [Wed, 6 Nov 2019 05:13:58 +0000 (14:13 +0900)]
tools: add enlightenment_input_key CLI tool for generating key event(s)

Change-Id: I44ffbafd83f2bdb3e8dc82c4cc4c7ce8fafbaeab
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agoe_hwc: add e_client_hwc_visible_skip_set accepted/tizen/5.5/unified/20191106.124806 submit/tizen/20191106.050849 submit/tizen_5.5/20191106.081115
Changyeon Lee [Tue, 5 Nov 2019 08:03:51 +0000 (17:03 +0900)]
e_hwc: add e_client_hwc_visible_skip_set

Change-Id: I1c7394e928110b8e253c5aed1e5a8a1634fc0c97

5 years agoe_privilege: add gesture privileges
jeon [Wed, 30 Oct 2019 07:22:10 +0000 (16:22 +0900)]
e_privilege: add gesture privileges

  - privileges for gesture grab / activate

Change-Id: Idfe1fd2246506053b8c8b58ab551305617d0ed69

5 years agovideo: Support setting video property synchronously. 23/216923/4
Seunghun Lee [Thu, 24 Oct 2019 08:45:45 +0000 (17:45 +0900)]
video: Support setting video property synchronously.

This patch is to support setting property synchronously regardless
E_Client is visible or not, plus even if E_Client is in destroy process.
A property will be passed to tdm directly when associated function is
called.

Change-Id: I575e2ae1e8ca3a7a43991a654fb12b2446eb76e4

5 years agoe_hwc_windows: free visible_windows 69/216869/3
Juyeon Lee [Mon, 4 Nov 2019 07:33:49 +0000 (16:33 +0900)]
e_hwc_windows: free visible_windows

Change-Id: I50188bee59d66e33310d2d29f5012354425261af

5 years agovideo: Clipping viewport of out of screen to be set as tdm info. 07/216907/3
Seunghun Lee [Wed, 23 Oct 2019 05:36:25 +0000 (14:36 +0900)]
video: Clipping viewport of out of screen to be set as tdm info.

A backend of TDM does not guarantee that it will translate coordinates
of out of screen region.
This patch is to translate coordinates of viewport for this reason.

Change-Id: I3b18b9fbc71b41815e7243fea17239d0dd3c296c

5 years agovideo: Remove unused prototypes of callback function. 06/216906/2
Seunghun Lee [Tue, 29 Oct 2019 10:15:07 +0000 (19:15 +0900)]
video: Remove unused prototypes of callback function.

Change-Id: I412f23f4f5725781b85525059aca1efad2fd001c

5 years agoe_client: free changed_list 71/216871/2
Juyeon Lee [Mon, 4 Nov 2019 07:55:13 +0000 (16:55 +0900)]
e_client: free changed_list

Change-Id: I385ab004461863a4f28e61d2197152445f9bc020

5 years agoe_hwc_window_queue: set backup buffer in prepare_unset 15/216615/2 accepted/tizen/unified/20191104.115020 submit/tizen/20191104.053427
Changyeon Lee [Thu, 24 Oct 2019 05:56:34 +0000 (14:56 +0900)]
e_hwc_window_queue: set backup buffer in prepare_unset

Change-Id: I9e4c1ac277aea1f3ccd7a7e76306982fa841f774

5 years agoe_hwc_window_queue: reset constraints if window isn't set device type 14/216614/2
Changyeon Lee [Thu, 24 Oct 2019 05:19:03 +0000 (14:19 +0900)]
e_hwc_window_queue: reset constraints if window isn't set device type

if buffer of queue is commited, hwc_window should be set by device type

Change-Id: I30f46a159bfdab455b0dff874b90e69c0d6f8f51

5 years agoe_hwc_window: e_hwc_window_constraints_reset from static to EINTERN 13/216613/2
Changyeon Lee [Thu, 24 Oct 2019 05:00:56 +0000 (14:00 +0900)]
e_hwc_window: e_hwc_window_constraints_reset from static to EINTERN

Change-Id: I8ad2ce1af3e0e93158a3939079b96a755b7a77b0

5 years agoe_hwc_window: change hook accepted_state_change to accpeted_state_set 12/216612/2
Changyeon Lee [Thu, 24 Oct 2019 04:53:40 +0000 (13:53 +0900)]
e_hwc_window: change hook accepted_state_change to accpeted_state_set

Change-Id: I80cfbe14bf259c4b7790d53dd918839233acf24f

5 years agoe_hwc_windows: find visible window with effect_client 11/216611/2
Changyeon Lee [Fri, 18 Oct 2019 05:16:55 +0000 (14:16 +0900)]
e_hwc_windows: find visible window with effect_client

some effect module use another evas object instead ec->frame

Change-Id: Id6b3817a8a6febd36233389241ed34d371010635

5 years agowinfo: add the information for the current zone's display state 39/216539/3
Doyoun Kang [Mon, 28 Oct 2019 08:21:13 +0000 (17:21 +0900)]
winfo: add the information for the current zone's display state

we added the display state of current zone in topwins(topvwins) information.

Change-Id: Ifcd63ed59e8973be36868ac4e85f0d19e42e3e4b

5 years agoRevert "Revert "e_hwc_windows: check type of pixmap before pixmap_image_clear"" 91/216391/4
Seunghun Lee [Thu, 24 Oct 2019 08:53:27 +0000 (17:53 +0900)]
Revert "Revert "e_hwc_windows: check type of pixmap before pixmap_image_clear""

This reverts commit 41fa77c31670d498bedbe279d9dd666cc1f647a6.

Change-Id: I44669f13e6420cf015a6a77bcb96e34e3f895703

5 years agoRevert "Revert "e_service_launcher/swl: fixed getting wrong ec and cleaning callee... 90/216390/4
Seunghun Lee [Thu, 24 Oct 2019 08:53:23 +0000 (17:53 +0900)]
Revert "Revert "e_service_launcher/swl: fixed getting wrong ec and cleaning callee improperly""

This reverts commit 034f4d2fe144ec5b7394a62c65aca5444ce530c6.

Change-Id: I7757a1259b03883a0fadb4e240dcbfc014d46f54

5 years agoRevert "Revert "e_policy_wl: remove privilege checking of tws_shared_widget_launch... 89/216389/2
Seunghun Lee [Thu, 24 Oct 2019 08:53:19 +0000 (17:53 +0900)]
Revert "Revert "e_policy_wl: remove privilege checking of tws_shared_widget_launch interface""

This reverts commit f6f8ef484337b8aabb462763d946491e89188887.

Change-Id: I6c322d7551873ba8dcd598dcf80b87e6d34e0a4b

5 years agoe_test_helper: implement key event generation with e_devicemgr API 65/216365/2
Sung-Jin Park [Thu, 24 Oct 2019 02:34:54 +0000 (11:34 +0900)]
e_test_helper: implement key event generation with e_devicemgr API

Change-Id: Ib69d5859915a06786e0d687614a8968ffa73d24b

5 years agoRevert "e_policy_wl: remove privilege checking of tws_shared_widget_launch interface" 31/216331/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.010251 accepted/tizen/5.5/unified/mobile/hotfix/20201027.063438 accepted/tizen/unified/20191023.142633 submit/tizen/20191023.104123 submit/tizen_5.5/20191031.000006 submit/tizen_5.5_mobile_hotfix/20201026.185106 tizen_5.5.m2_release
Seunghun Lee [Wed, 23 Oct 2019 10:33:23 +0000 (19:33 +0900)]
Revert "e_policy_wl: remove privilege checking of tws_shared_widget_launch interface"

This reverts commit 13b763b961af87a04ee5501e1b7ae0232fa7b82b.

Change-Id: Ifa0bab5139f97b179667e150951075d273ba24c3

5 years agoRevert "e_service_launcher/swl: fixed getting wrong ec and cleaning callee improperly" 30/216330/1
Seunghun Lee [Wed, 23 Oct 2019 10:33:21 +0000 (19:33 +0900)]
Revert "e_service_launcher/swl: fixed getting wrong ec and cleaning callee improperly"

This reverts commit 8e2a434212ed950ab71ab60dbaa08ba3ee8c67bd.

Change-Id: Ib37cc0f84e2f9b2852606bea16f9d12d2dda39f3

5 years agoRevert "e_hwc_windows: check type of pixmap before pixmap_image_clear" 29/216329/1
Seunghun Lee [Wed, 23 Oct 2019 10:33:17 +0000 (19:33 +0900)]
Revert "e_hwc_windows: check type of pixmap before pixmap_image_clear"

This reverts commit 0c45b8d5b723305b7bbe31d672078d94693e099a.

Change-Id: Id35515ed0ff6c979eff98829aa7f37ac3d9a16bb

5 years agoe_hwc_windows: check type of pixmap before pixmap_image_clear 49/216149/2
Changyeon Lee [Mon, 21 Oct 2019 10:57:20 +0000 (19:57 +0900)]
e_hwc_windows: check type of pixmap before pixmap_image_clear

Change-Id: Ic0dbc372b3194956679395176a5f994bacf64106

5 years agovideo: Merge transform from evas_map with E_Comp_Wl_Buffer_Viewport's one. 46/216146/3
Seunghun Lee [Mon, 21 Oct 2019 10:25:27 +0000 (19:25 +0900)]
video: Merge transform from evas_map with E_Comp_Wl_Buffer_Viewport's one.

A transform of E_Comp_Wl_Buffer_Viewport isn't applied using Evas_Map.
So these transform has to be merged. Otherwise, a transform of
E_Comp_Wl_Buffer_Viewport will be ignored.

Change-Id: I891154cfed9909c4ad776c0095fae026ede2ad71