platform/upstream/enlightenment.git
4 years agoe_input: add touch axis and mouse wheel event logs tizen_5.5_bkup_20200207
jeon [Fri, 7 Feb 2020 10:31:47 +0000 (19:31 +0900)]
e_input: add touch axis and mouse wheel event logs

Change-Id: I3d88302928877cab0f31391b7ada48844141ff2e

4 years agoe_hwc_windows: set wait commit flag to FALSE if pp zoom unsetted
Junkyeong Kim [Fri, 7 Feb 2020 10:12:40 +0000 (19:12 +0900)]
e_hwc_windows: set wait commit flag to FALSE if pp zoom unsetted

Change-Id: I09f537b82abd83cf47eee7e55561b88d17356651
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_hwc_window: delete frame in render update if hwc_window don't set recover buffer 80/223880/4
Changyeon Lee [Tue, 4 Feb 2020 12:11:25 +0000 (21:11 +0900)]
e_hwc_window: delete frame in render update if hwc_window don't set recover buffer

hwc_window don't set recover buffer means client doesn't need compositing.
if add frame in render update, buffer is referenced and naitve surface is set.
so delete frame in render update if hwc_window don't set recover buffer

Change-Id: I2bd03f00c17112a5bad6b76f0508ea9a98fb3b93

4 years agoe_hwc_windows: erase skip commit code for zoom_unset after pp done 67/224267/1
Junkyeong Kim [Fri, 7 Feb 2020 08:54:50 +0000 (17:54 +0900)]
e_hwc_windows: erase skip commit code for zoom_unset after pp done

Change-Id: I4037e6b7ff148897a95633718925a6aaa36591ce
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_keyrouter: add longpress and composition key functions 55/224255/1
jeon [Mon, 3 Feb 2020 12:32:47 +0000 (21:32 +0900)]
e_keyrouter: add longpress and composition key functions

Change-Id: I9f104c5e45cbee9fc752ea0329708d60fdb18c47

4 years agoe_output: fix value type error 35/224235/1 submit/tizen_5.5/20200207.063909
Junkyeong Kim [Fri, 7 Feb 2020 06:37:57 +0000 (15:37 +0900)]
e_output: fix value type error

Change-Id: I662d5298c3862f8f4b1871eae5808d8a28cfa0ae
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_desk: add E_APIs to set/unset skip zoom 27/224227/1
Doyoun Kang [Fri, 7 Feb 2020 06:07:49 +0000 (15:07 +0900)]
e_desk: add E_APIs to set/unset skip zoom

- e_desk_client_zoom_skip_set
- e_desk_client_zoom_skip_unset

Change-Id: I88f42a824c61d1ef2f2573ecd8b9bacbd1628f12

4 years agoe_comp_wl: add evas mouse callback's input logs 12/223912/1 accepted/tizen/5.5/unified/20200206.060355 submit/tizen_5.5/20200205.094653
jeon [Tue, 4 Feb 2020 10:49:46 +0000 (19:49 +0900)]
e_comp_wl: add evas mouse callback's input logs

Change-Id: Ifde52c2ac3e70dc5b7032c4fb41d14b02121d8bf

4 years agoe_info_client: Implement Screen Recorder (Argument name: -dump_video) 04/223604/5
Seunghun Lee [Tue, 12 Nov 2019 01:43:16 +0000 (10:43 +0900)]
e_info_client: Implement Screen Recorder (Argument name: -dump_video)

Recording the screen using streamrecorder library.

usage: winfo -dump_video [--help] [--rate=<framerate>]
   [--resolution=<width>x<height>] <output file>

        --help                          this help text
        --rate=<framerate>              replay frame rate
        --resolution=<width>x<height>   resuoltion size

Change-Id: Ife2769751c485efcb509d6f0b2e6607277b98e27

4 years agoe_info_client: fix wrong result of string comparison. 03/223603/1
Seunghun Lee [Fri, 31 Jan 2020 06:15:59 +0000 (15:15 +0900)]
e_info_client: fix wrong result of string comparison.

Change-Id: I9653d150fb98780e6be02be5f78ca092e6cb7451

4 years agoe_hwc_window: don't set device state if transform isn't matched with output 53/223253/3 accepted/tizen/5.5/unified/20200131.115155 submit/tizen_5.5/20200131.030817
Changyeon Lee [Tue, 28 Jan 2020 04:14:09 +0000 (13:14 +0900)]
e_hwc_window: don't set device state if transform isn't matched with output

if transform ins't matched with output, hwc_window can't be display by hwc
because hwc_windows doesn't change ignore_output_transform.

Change-Id: I2a767457b92443e81b072c52ee632bb06fef1646

4 years agoe_hwc_window_queue: release to next queue even if queue buffer isn't find 23/223423/3 accepted/tizen/5.5/unified/20200130.113822 submit/tizen_5.5/20200130.040422
Changyeon Lee [Wed, 29 Jan 2020 12:45:21 +0000 (21:45 +0900)]
e_hwc_window_queue: release to next queue even if queue buffer isn't find

Change-Id: I475e672665e203ca8001c20c5198c763517a463b

4 years agovideo: Remove listener's link after checking that comp_data is valid. 52/223452/2
Seunghun Lee [Thu, 30 Jan 2020 01:39:39 +0000 (10:39 +0900)]
video: Remove listener's link after checking that comp_data is valid.

Otherwise, it can make memory corrupted.

Change-Id: Iabb5044cd384482db1168def09b5f669700835e4

4 years agoe_policy: change e_policy_stack_transient_for_set to E_API from EINTERN. 24/223424/2
amarnath123 [Wed, 29 Jan 2020 13:11:17 +0000 (18:41 +0530)]
e_policy: change e_policy_stack_transient_for_set to E_API from EINTERN.

E's module need to use this function.

Change-Id: I70cc8eaf91f3e2702cf7ca4b3c4b7f0de53588eb
Signed-off-by: amarnath123 <a.amarnath@samsung.com>
4 years agoe_hwc_window_queue: release tbm_surface of unknown queue in buffer_change cb 00/223300/3
Changyeon Lee [Thu, 23 Jan 2020 07:12:36 +0000 (16:12 +0900)]
e_hwc_window_queue: release tbm_surface of unknown queue in buffer_change cb

in case hwc_window attached queue buffer and had not queue,
checked all queue and released queue_buffer to queue.

Change-Id: I98cb8890b596eda671706b9cecb063a2ed473596

4 years agoe_hwc_windows: don't create backup buffer if buffer_flush is done 99/223299/1
Changyeon Lee [Wed, 22 Jan 2020 08:24:59 +0000 (17:24 +0900)]
e_hwc_windows: don't create backup buffer if buffer_flush is done

if client is iconic and buffer_flush is done, backup buffer isn't
needed. because client isn't shown untill new buffer is attached

Change-Id: I92e5a4847dff462310eddddad3ebdb209fc05b75

4 years agoe_hwc_windows_queue: unset queue if target need to use it 98/223298/1
Changyeon Lee [Wed, 11 Dec 2019 05:39:05 +0000 (14:39 +0900)]
e_hwc_windows_queue: unset queue if target need to use it

if queue state is waiting_buffer and user of queue has
queue buffer, queue of target must be used by target

Change-Id: I67d1eafd7b70afa715a5ecfa734895b13600b597

4 years agoe_dpms: execute request_count append before e_dpms_set executing 07/222707/1 submit/tizen_5.5/20200129.054354
Junkyeong Kim [Fri, 17 Jan 2020 08:33:10 +0000 (17:33 +0900)]
e_dpms: execute request_count append before e_dpms_set executing

Change-Id: I56a0367ba1fc02a5c8640dfae30c6df811c86ae8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_hwc_windows: if fake_config set, execute offscreen_commit and return 89/222489/1 accepted/tizen/5.5/unified/20200117.120915 submit/tizen_5.5/20200117.040404
Junkyeong Kim [Wed, 15 Jan 2020 10:24:46 +0000 (19:24 +0900)]
e_hwc_windows: if fake_config set, execute offscreen_commit and return

do not execute _e_hwc_windows_evaluate function if output disconnected.
it makes error to tdm.(tdm_hwc_validate)

Change-Id: Icb79c52e643d4a0a9c3e13fef1cfc71a609afe6b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_policy_visibility: fix derefer after vc free 76/222376/2 accepted/tizen/5.5/unified/20200116.120655 submit/tizen_5.5/20200114.095217
Juyeon Lee [Tue, 14 Jan 2020 05:29:17 +0000 (14:29 +0900)]
e_policy_visibility: fix derefer after vc free

Change-Id: I8cb06610bfde8ba7ec3d06c9d76323d366716bf8

4 years agoe_hwc_windows: don't release commit_data of target window in list 28/222328/3
Changyeon Lee [Mon, 13 Jan 2020 11:57:41 +0000 (20:57 +0900)]
e_hwc_windows: don't release commit_data of target window in list

it is possible that other hwc_window is freed in
_e_hwc_windows_rendered_windows_free.
we must don't call commit_data_release of target_window in list.

Change-Id: I0916dd36db9e37657deb9b502292040285e1f97e

4 years agoe_hwc_windows: unset buffer of target_window before accept 92/222292/3
Changyeon Lee [Mon, 13 Jan 2020 04:42:24 +0000 (13:42 +0900)]
e_hwc_windows: unset buffer of target_window before accept

Change-Id: Ic0c731c402814c7c9d47881928999a345f5738f0

4 years agovideo: Redraw video client whenever viewport changes. 43/222343/1
Seunghun Lee [Tue, 14 Jan 2020 00:12:39 +0000 (09:12 +0900)]
video: Redraw video client whenever viewport changes.

Without this patch, redrawing video client could be delayed in case
client only changes viewport without any other changes.

Change-Id: Iea5b9846b5ce814a56ba234e2baeb167a505999b

4 years agoe_info_server: check smart_object before dump ns 82/222082/2 submit/tizen_5.5/20200113.080702
Juyeon Lee [Thu, 2 Jan 2020 08:18:02 +0000 (17:18 +0900)]
e_info_server: check smart_object before dump ns

Change-Id: I6a5dc4c5ce9e7f40386e6435fc808d9487f6fe55
(cherry picked from commit c16a40367ee35de560be879055df42643d94f8ba)

4 years agoe_hwc_windows: add missing window to visible list 84/221784/2
Changyeon Lee [Tue, 7 Jan 2020 08:12:44 +0000 (17:12 +0900)]
e_hwc_windows: add missing window to visible list

window is visible even if upper window is fullscreen and 24bit
when upper window is animating

Change-Id: Ib6644afec3efaad40dd7f9142d0e51e9111924de

4 years agoe_info: add force_obscured info to topvwins and topwins 41/222041/1
Junseok, Kim [Thu, 9 Jan 2020 07:15:42 +0000 (16:15 +0900)]
e_info: add force_obscured info to topvwins and topwins

Added force_obscured info to topvwins and topwins list.
if client set force_obscured, 'f' charactor appear just beside visibility.

   [before]            [after]
--------------      --------------
Opaq Vsbt Icon      Opaq Vsbt Icon
--------------  ->  --------------
 -1    2    0        -1    2f   0
--------------      --------------

Change-Id: Ib71dac171675f166df8e4bd1f7782e832bccb352
(cherry picked from commit ba02109220636ae09fb24e49682b85c653e4b4e3)

4 years agoe_policy_visibility: crop ec's geom with e_zone geom 92/221992/3
Junseok, Kim [Thu, 9 Jan 2020 01:48:33 +0000 (10:48 +0900)]
e_policy_visibility: crop ec's geom with e_zone geom

Change-Id: Id7ff0cc165d01fb72b82fe5ab99474e10c5b0413

4 years agoe_policy_visibility: add skip_hook_del 87/221687/2
Juyeon Lee [Fri, 6 Dec 2019 04:56:50 +0000 (13:56 +0900)]
e_policy_visibility: add skip_hook_del

E_Vis_Client allocation and free is not paired due missing E_EVENT_CLIENT_REMOVE event
by adding skip_hook_del flag, free e_vis_client when E_CLIENT_HOOK_DEL is called
without E_EVENT_CLIENT_ADD event.

Change-Id: I2d0d67468cecedf2c265887bd525db8abb478b44
(cherry picked from commit 8e6ef932d2ebe1f46a604db3a1125c57c6291a10)

4 years agoe_dpms: fix syntax error 06/222006/1 accepted/tizen/5.5/unified/20200110.004214 submit/tizen_5.5/20200109.044228
Junkyeong Kim [Thu, 9 Jan 2020 04:32:57 +0000 (13:32 +0900)]
e_dpms: fix syntax error

Change-Id: Ia2e5b0aecd75b70a8f6bd85859b323c19387c3a4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_config,e_comp_wl_capture: Add configuration value for video capture. 13/221913/2
Seunghun Lee [Wed, 8 Jan 2020 06:46:28 +0000 (15:46 +0900)]
e_config,e_comp_wl_capture: Add configuration value for video capture.

A variable 'save_video_buffer' is added for configuration of video
capture feature.
Some platform has to set it zero for disabling this feature.

The reason for introducing this is as follow:
On some platform, a video client doesn't present its image buffer,
but present something like dummy buffer having meta information to display
server. Thus, it doesn't make any sense to save this kind of buffer as an
image file, and it can even cause crash like SIGSEGV.
For this reason, this has to be disabled on such platform.

Change-Id: If4fbada8245c5e0e0862136ef6f4fe89f6bdb4d0

4 years agoe_comp_wl_capture: fix failure case of return value. 12/221912/2
Seunghun Lee [Wed, 8 Jan 2020 04:23:41 +0000 (13:23 +0900)]
e_comp_wl_capture: fix failure case of return value.

Change-Id: If7505c991fd56035c67b50ab3121aa910b92968b

4 years agoe_desk: add zoom rectangle cxcy getting API 65/221865/2
Junkyeong Kim [Wed, 8 Jan 2020 06:30:36 +0000 (15:30 +0900)]
e_desk: add zoom rectangle cxcy getting API

can get cx cy with zoom vector and rectangle's left-top x y values.

Change-Id: I7f79dd11911add20de4ce6459ed20d4315acf08a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_dpms: send dpms set request result event with no missing 93/221893/1
Junkyeong Kim [Wed, 8 Jan 2020 07:10:39 +0000 (16:10 +0900)]
e_dpms: send dpms set request result event with no missing

send dpms event by each request but do not guarantee sequence.

set result success:
send E_DPMS_MANAGER_ERROR_NONE event.

set result fail:
send E_DPMS_MANAGER_ERROR_INVALID_PERMISSION event if dpms set fail.
send E_DPMS_MANAGER_ERROR_ALREADY_DONE event if do dpms set with same mode value.

Change-Id: Icd4c0ab21f53bc74341a4cc6588f21e6f6938b27
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_dpms: support tizen dpms potocol binding only one client 23/221323/3
Junkyeong Kim [Tue, 31 Dec 2019 06:02:00 +0000 (15:02 +0900)]
e_dpms: support tizen dpms potocol binding only one client

Change-Id: I4b248981258e18cb00dc27d5f03bd044047700d8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_comp_wl: do not move coordination using min axis value 53/221453/1
jeon [Thu, 2 Jan 2020 11:23:20 +0000 (20:23 +0900)]
e_comp_wl: do not move coordination using min axis value

  - we get mouse position in output value, so don't move min axis

Change-Id: I246e4135495cf629e26a974d0a01688c2358324a

4 years agovideo: Do not process rendering in a handler for EVAS_CALLBACK_SHOW. 21/221421/1
Seunghun Lee [Thu, 2 Jan 2020 07:45:38 +0000 (16:45 +0900)]
video: Do not process rendering in a handler for EVAS_CALLBACK_SHOW.

Rendering for video client in a handler for EVAS_CALLBACK_SHOW caused
making unintended information to be passed to TDM. This information has
to be made after collecting all client information, such as viewport.

Change-Id: Ife86dd2098148122af13e62a1076c1f6c592bc87

4 years agoe_policy_visibility: modify log to avoid accessing freed resource 66/221366/1 accepted/tizen/5.5/unified/20200102.110147 submit/tizen_5.5/20200102.022810
Doyoun Kang [Thu, 2 Jan 2020 01:49:20 +0000 (10:49 +0900)]
e_policy_visibility: modify log to avoid accessing freed resource

Change-Id: I92afdffb83aa319c1eba97e1df90c7907ce57ee2

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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>
4 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>
4 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>
4 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

4 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>
4 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>
4 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>
4 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>
4 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

4 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>
4 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

4 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

4 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

4 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

4 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

4 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)

4 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

4 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

4 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

4 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

4 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

4 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>
4 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>
4 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>
4 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>
4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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)

4 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

4 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>
4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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)

4 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

4 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

4 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>
4 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

4 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

4 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

4 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