platform/upstream/enlightenment.git
4 years agoe_comp_wl: add evas mouse callback's input logs
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_screen_recorder: fix warning format-truncation
Seunghun Lee [Tue, 4 Feb 2020 10:53:48 +0000 (19:53 +0900)]
e_info_client_screen_recorder: fix warning format-truncation

Change-Id: I92a814b25c23f3dce3dbc2ddb3b874c452757e57

4 years agoe_info_client: Implement Screen Recorder (Argument name: -dump_video)
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.
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
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_info_client: free strings of input_dev when the input_dev destroying 93/223493/1
Junseok, Kim [Thu, 30 Jan 2020 08:26:45 +0000 (17:26 +0900)]
e_info_client: free strings of input_dev when the input_dev destroying

Change-Id: I30de06d0b1a8a256b529d1de4f3ab56e2bffdb86

4 years agoe_hwc_window_queue: release to next queue even if queue buffer isn't find 22/223422/2
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 agoe_client: initialize output_resolution_useful_geom_get's geometry 48/220748/4
Junseok, Kim [Mon, 23 Dec 2019 00:48:04 +0000 (09:48 +0900)]
e_client: initialize output_resolution_useful_geom_get's geometry

Change-Id: I3c5e4817e4cf729ebccc7ed4d7ae39aa4b51609c

4 years agoe_info_server: check ec is NULL 94/223394/2
Junseok, Kim [Wed, 29 Jan 2020 08:30:43 +0000 (17:30 +0900)]
e_info_server: check ec is NULL

Change-Id: I7a36033da7632cf182b012c2a1fe259cdc837a77

4 years agoe_hwc_window_queue: release tbm_surface of unknown queue in buffer_change cb 19/223319/2
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 18/223318/2
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 17/223317/2
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_policy: change e_policy_stack_transient_for_set to E_API from EINTERN 17/223417/2
anubhavbehera [Wed, 29 Jan 2020 11:27:37 +0000 (16:57 +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: I44f72692361a6e57253a09fd53d92efcc2703243
Signed-off-by: anubhavbehera <anubhav.b@samsung.com>
4 years agoe_input_device: add a new api for remap keyboard 50/212850/7
jeon [Tue, 27 Aug 2019 09:03:27 +0000 (18:03 +0900)]
e_input_device: add a new api for remap keyboard

Change-Id: I0c730955707b46146060a9bd42b07a3be28b79e1

4 years agoe_comp_wl: do not move coordination using min axis value 54/221454/2
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 agoe_dpms: execute request_count append before e_dpms_set executing 05/222705/3
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_service_quickpanel: fix build break 85/222585/1 accepted/tizen/unified/20200117.120809 submit/tizen/20200116.091223 submit/tizen/20200117.010053
Doyoun Kang [Thu, 16 Jan 2020 09:09:46 +0000 (18:09 +0900)]
e_service_quickpanel: fix build break

Change-Id: I1ed0fd71c7614031cea227733f2cbe152dfac115

4 years agoquickpanel: add code for quickpanel's scroll_state_set request 35/222535/2 submit/tizen/20200116.044653
Doyoun Kang [Thu, 16 Jan 2020 02:00:48 +0000 (11:00 +0900)]
quickpanel: add code for quickpanel's scroll_state_set request

New tzsh_quickpanel's request (scroll_state_set) and state (SCROLLABLE_FOLLOW) are added.
We add code to handle these changes.

Change-Id: Id83fc3736a6bacbd8aad7da4dfc50241bb077b9a

4 years agovideo: Using fallback rendering path in case rendering using hwc has been failed. 64/222464/4 accepted/tizen/unified/20200116.101915 submit/tizen/20200116.021659
Seunghun Lee [Fri, 10 Jan 2020 08:05:36 +0000 (17:05 +0900)]
video: Using fallback rendering path in case rendering using hwc has been failed.

This patch is intended to remove codes which copied contents of buffer in a
sowftware way in the HWC implementation when trying to create a buffer for pp
as a source buffer.
Because Copying buffer in a software way caused poor frame rate.

Change-Id: I7f0783545a885594c1a6d6a35c77e45f389afa9f

4 years agovideo: Redraw video client whenever viewport changes. 67/222467/2
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 agovideo: Do not process rendering in a handler for EVAS_CALLBACK_SHOW. 63/222463/3
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_hwc_windows: if fake_config set, execute offscreen_commit and return 88/222488/1
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 agoquickpanel: add log for quickpanel request 59/222459/1
Doyoun Kang [Wed, 15 Jan 2020 07:03:19 +0000 (16:03 +0900)]
quickpanel: add log for quickpanel request

Change-Id: Ia8eb74cbef9db00e05c8795c9bebed664b14138e

4 years agoe_service_quickpanel: skip special windows while finding below/eval windows 98/222398/2
Doyoun Kang [Tue, 14 Jan 2020 10:26:01 +0000 (19:26 +0900)]
e_service_quickpanel: skip special windows while finding below/eval windows

Change-Id: I002336f5803977b23208edc287facd7f895382fb

4 years agoe_policy: get base_output_res_useful_geom instead of zone geometry 15/220915/3 accepted/tizen/unified/20200115.023131 submit/tizen/20200114.120050
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
(cherry picked from commit 824f962e98338642640afdbdf101cccede876134)

4 years agoe_policy_wl: skip to handle tizen_position_set of keyboard window 03/222403/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_appinfo: make find_with_pid create e_appinfo if inexist 04/222404/2
Junseok, Kim [Tue, 14 Jan 2020 11:23:35 +0000 (20:23 +0900)]
e_appinfo: make find_with_pid create e_appinfo if inexist

Change-Id: I578e233ba7b7083d5c6f01bd63cfde91abba2651

4 years agoe_comp_wl: Added E_COMP_WL_CONNECTED_CLIENT_CREATE pid hook call point 29/221029/5
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
(cherry picked from commit 55f3d0616932f2d0484986e7f36b0db659cc2d9f)

4 years agoe_comp_wl: Added hook function using pid variable and added CONNECTED_CLIENT_CREATE... 01/222401/1
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
(cherry picked from commit 77f59cec72a5759c9593924c5ea05a1e8ec1a43c)

4 years agoe_policy_visibility: fix derefer after vc free 66/222366/3 accepted/tizen/unified/20200115.023125 submit/tizen/20200114.081245
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 27/222327/4
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 94/222294/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 agoe_info_client: return if path or name is NULL 65/222365/1
MinJeong Kim [Tue, 14 Jan 2020 05:13:17 +0000 (14:13 +0900)]
e_info_client: return if path or name is NULL

Change-Id: I75f6b331cc7dcb6ec35f7380942cb0517db2d134
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
4 years agoe_plane_renderer: fix dereferencing null pointer 85/222085/2
Changyeon Lee [Thu, 9 Jan 2020 11:18:04 +0000 (20:18 +0900)]
e_plane_renderer: fix dereferencing null pointer

Change-Id: I60c9fc1d52340654612608ee2a919114a38d662c

4 years agoe_hwc_windows: add missing window to visible list 61/221761/3
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_server : fix svace uninitialized data 75/222075/4
Juyeon Lee [Thu, 9 Jan 2020 09:56:20 +0000 (18:56 +0900)]
e_info_server : fix svace uninitialized data

Change-Id: I2f9b8c79b0db798a7067c7e6562cdfe4318471e4

4 years agoe_info_client: fixed NULL dereference 77/222077/1
MinJeong Kim [Thu, 9 Jan 2020 10:16:21 +0000 (19:16 +0900)]
e_info_client: fixed NULL dereference

Change-Id: If6e0998371f22e06692fc585dcc3a573c24be58e
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
4 years agoe_info: add force_obscured info to topvwins and topwins 32/222032/3
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

4 years agoe_policy_visibility: crop ec's geom with e_zone geom 91/221991/4
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_dpms: fix syntax error 05/222005/1
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_presentation_time: fix unreachable code 80/221980/1
Seunghun Lee [Wed, 8 Jan 2020 23:50:39 +0000 (08:50 +0900)]
e_presentation_time: fix unreachable code

Change-Id: Ice76791d39b42c03ae805643ecb354d9dfac0c0f

4 years agoe_info_client: fix resource leak 37/221937/1
Seunghun Lee [Wed, 8 Jan 2020 09:53:20 +0000 (18:53 +0900)]
e_info_client: fix resource leak

Change-Id: I0fb210b41a190fdc91ba55c49d43a2e43b8c7a10

4 years agoe_config,e_comp_wl_capture: Add configuration value for video capture. 91/221891/4
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: I1b4cc97a41065f6fb8fb36bb42d500fd143ea97a

4 years agoe_comp_wl_capture: fix failure case of return value. 90/221890/4
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: I79bf43be90e3cbb72f1d992e24ed5abd9b927f3f

4 years agoe_desk: add zoom rectangle cxcy getting API 17/221317/5
Junkyeong Kim [Tue, 31 Dec 2019 05:29:21 +0000 (14:29 +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: Ia32742c19769bd9e12ddf2db17fe881b947061b5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_dpms: send dpms set request result event with no missing 92/221892/3
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
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_info_server: check smart_object before dump ns 30/221430/2
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

4 years agotoolchain upgrade: warn off for false alarm 01/221401/2 accepted/tizen/unified/20200106.141622 submit/tizen/20200103.060921
Juyeon Lee [Thu, 2 Jan 2020 05:18:18 +0000 (14:18 +0900)]
toolchain upgrade: warn off for false alarm

false alarm found for stringop-overflow and stringop-truncation
temporary off the warning util fixing compiler default behavior

Change-Id: I38c7d1a35140f52c7e734ced8929380b90e4881a

4 years agotoolchain upgrade: fix warn for uninitialized 97/221397/2
Juyeon Lee [Thu, 2 Jan 2020 05:14:15 +0000 (14:14 +0900)]
toolchain upgrade: fix warn for uninitialized

toolchain upgrade(GCC-9) in Tizen 6.0

Change-Id: I21889e5a06bcae4ec19ee9939c28cf9c09ed6abf

4 years agotoolchain upgrade: fix warn for string truncation or overflow 96/221396/2
Juyeon Lee [Thu, 2 Jan 2020 05:10:36 +0000 (14:10 +0900)]
toolchain upgrade: fix warn for string truncation or overflow

toolchain upgrade(GCC-9) in Tizen 6.0

Change-Id: Ia59984091cbdcac61b2f68dac7ea0e04454db6c8

4 years agoe_policy_wl: make appinfo variable names consistent 86/220286/3
Junseok, Kim [Tue, 17 Dec 2019 03:01:31 +0000 (12:01 +0900)]
e_policy_wl: make appinfo variable names consistent

Change-Id: I46904daa0181c96d782f65f13c9ea134f9ef3805

4 years agoe_policy_visibility: modify log to avoid accessing freed resource 71/221371/1
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 06/221206/1
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 agoe_pointer: change a cursor rotations's center pointer 01/220901/2
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 94/220894/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 92/220892/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 38/220638/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 agoe_service_launcher: added missing buff attach event handler clean up 59/220859/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: I342d384adf2393db7e55b65adc6b36524f672714
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
4 years agoe_service_launcher: block input while running custom transition animation 62/220762/3
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: I1dbf0016b8ed2d9b7330d1582aadb9b0cd8e3f7c
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
4 years agoe_devicemgr: supports input blocking for internal requests 61/220761/3
MinJeong Kim [Wed, 18 Dec 2019 01:56:44 +0000 (10:56 +0900)]
e_devicemgr: supports input blocking for internal requests

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

Change-Id: Ic50e9dc959272b760166a3edb5c77ec50dd81634
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
4 years agoe_comp_wl: check ec->comp_data in focus in timer 63/220763/2
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_policy_visibility: add skip_hook_del 71/219571/3
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

4 years agoe_plane: add checking same tbm_surface is fetched 52/220452/1 submit/tizen/20191219.081933
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_hwc_windows: use EINA_LIST_FOREACH_SAFE in offscreen commit 51/220451/1
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: I3e17dcb0240884ec9d87036f4604830ae25376a9

4 years agoe_hwc_windows: use EINA_LIST_FOREACH_SAFE when release commit_data 50/220450/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: I2d471fe0cc5ad9305327f145cdf00b6e4791c9b2

4 years agoe_info_client: fix wrong info of hwc disable in hwc planes mode 49/220449/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_client: add missing parameter in internal function
Doyoun Kang [Tue, 17 Dec 2019 07:34:56 +0000 (16:34 +0900)]
e_client: add missing parameter in internal function

no logic change.

Change-Id: Ie0e3ed220c42517fb312beb8dc30759e38589d8c

4 years agoe_hwc_window: free e_hwc_window when e_client is freed
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: Ic1d44f0c708e474de45a7f10d51d86d1671bf24c

4 years agoe_hwc_windows: check transition even if hwc_window doens't have buffer
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: Id3ea1c64d24c05b4998368709c5dee7ecec1e57a

4 years agoe_hwc_windos: add missing parameter
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
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_input_evdev: change touch event's slot id to 0 if it is -1 94/218194/3
jeon [Wed, 20 Nov 2019 07:54:20 +0000 (16:54 +0900)]
e_input_evdev: change touch event's slot id to 0 if it is -1

  - Touch event's slot id is always -1, if this device is single touch device
  - So change this slot id to 0 to support single touch devices

Change-Id: I2149960d02ec6a5199973700b39f2b7338da8ecd

4 years agoe_comp_wl: move a cursor follow global positon 10/216210/8
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

4 years agoe_hwc_windows: unmap tsurface after mapping 38/219938/1
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>
4 years agoe_presentation_time: fixed NULL dereference 19/219919/1
MinJeong Kim [Wed, 11 Dec 2019 11:55:53 +0000 (20:55 +0900)]
e_presentation_time: fixed NULL dereference

Change-Id: I7fecffa0280a8562e77e844635f925291f13fe4d
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
4 years agoe_hwc_windows: check output size to set pp_hwc_window 17/219817/3
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 84/219784/1
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_client_video: reset video's visibility after calling unfollowing topmost visibility 49/219649/1 accepted/tizen/unified/20191209.144042 submit/tizen/20191209.065546
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 agoe_comp_wl: wait for the requesting client to be mapped before applying input region 01/219601/2
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 agoRevert "e_policy_visiblity: fix leak" 00/219500/3
JunSeok Kim [Thu, 5 Dec 2019 09:39:49 +0000 (09:39 +0000)]
Revert "e_policy_visiblity: fix leak"

This reverts commit 8b3729e78f68cefacbe1acd149b23d6d79b7fa19.
Change-Id: I2404233d608b3aa5b12646465e4923309ae5cea9

4 years agoe_hwc_windows: get effect_client only when object is visible 88/219388/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: Ib64bd4f458c4471a409e3722e0e636ac49daf94b

4 years agoe_hwc_window: update cursor image before tdm_hwc_window_set_cursor_image 87/219387/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: Ic873c4d4b9af475e0ff7eabe676c5c0a5589009b

4 years agoe_devicemgr_block: free a destroy listener when a block is end 02/219202/1
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 89/219189/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: Iab66be8b7f971c42964a8aee40bd010cc7d7ec92

4 years agoe_hwc_windows: add visible skip and hwc to debug info 87/219187/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_hwc_windows: remove redundant codes 07/218607/2
Zhaowei Yuan [Tue, 26 Nov 2019 02:58:57 +0000 (10:58 +0800)]
e_hwc_windows: remove redundant codes

Local variable target_tsurface is assigned twice here
, remove the first assignment which is unnecessary

Change-Id: I0d95bfec17825cef6c958934b0b9767bb67bbc1d
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
4 years agoe_policy_visiblity: fix leak 69/217569/3
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

4 years agoe_presentation_time: fix wrong format specifier 12/218812/1 accepted/tizen/unified/20191201.221501 submit/tizen/20191128.083014
Changyeon Lee [Thu, 28 Nov 2019 08:21:17 +0000 (17:21 +0900)]
e_presentation_time: fix wrong format specifier

Change-Id: I8ae2a5175fabe3b4558b6ecafef9b965a46dd2e6

4 years agoe_presentation_time: fix build error on 64bit system 72/218772/1 submit/tizen/20191128.045039
Changyeon Lee [Thu, 28 Nov 2019 04:29:58 +0000 (13:29 +0900)]
e_presentation_time: fix build error on 64bit system

Change-Id: Ifb73453f4884ca48c805fca030a7394475588a1f

4 years agoe_hwc: fix wrong format specifier 25/218725/1 submit/tizen/20191127.101405
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 19/218519/3 submit/tizen/20191127.085650
Junkyeong Kim [Mon, 25 Nov 2019 05:52:00 +0000 (14:52 +0900)]
e_hwc_windows: execute commit data release after pp output commit done

Change-Id: I0b504669fa9d381d757a55dd83218938aaa1b28a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoimplement presentation-time protocol in e_hwc_windows
Changyeon Lee [Tue, 29 Oct 2019 10:14:12 +0000 (19:14 +0900)]
implement presentation-time protocol in e_hwc_windows

Change-Id: I6f0907f4e4b09469e4ad1103e6fce6cd28eaa399

4 years agoe_hwc: remove get hwc available property log 57/218657/1
Changyeon Lee [Wed, 20 Nov 2019 02:45:38 +0000 (11:45 +0900)]
e_hwc: remove get hwc available property log

Change-Id: Id1adb4a98be8e631c9c61f3345eebe460e97a884

4 years agoe_hwc_window: remove need_redirect flag 56/218656/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: Id82fc30dd69ec9a4c1971afd55e74efd7622488f

4 years agoe_hwc_window_queue: unset user of queue when target window is set device 40/218540/2
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: I828e34ddafaa7d595d65267ba77f74c53e6609a8

4 years agoe_policy_wl: provides tizen_launch_appinfo interface as default 73/218573/1
MinJeong Kim [Mon, 25 Nov 2019 23:27:33 +0000 (08:27 +0900)]
e_policy_wl: provides tizen_launch_appinfo interface as default

Change-Id: I90efc2569d594ce38591963e77c452a6420f4873
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
4 years agoe_policy: add E_POLICY_HOOK_CLIENT_ROTATION_GEOMETRY_SET hook 63/218363/1 submit/tizen/20191121.121804
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 21/218221/2 submit/tizen/20191120.103427
Changyeon Lee [Wed, 20 Nov 2019 09:02:54 +0000 (18:02 +0900)]
e_client: add null check

Change-Id: I735e2ef31dc39228ff00d8c6f54c287f1acd1c0a