platform/upstream/enlightenment.git
4 years agoe_hwc_windows: remove unnecessary struct member value and relation code about pp 65/226865/2
Junkyeong Kim [Fri, 6 Mar 2020 04:52:41 +0000 (13:52 +0900)]
e_hwc_windows: remove unnecessary struct member value and relation code about pp

previous code (plane mode) unset 'wait_commit' flag after pp done for the performance.
so need pending list for the pp result's output commit.
but now (window mode) unset 'wait_commit' flag after pp output commit done for sync.
so no more need pending list.

Change-Id: I004d104745a70efe103953b87a6aa15fcf828773
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_hwc_windows: remove duplication code about pp info set 56/226856/3
Junkyeong Kim [Fri, 6 Mar 2020 04:22:42 +0000 (13:22 +0900)]
e_hwc_windows: remove duplication code about pp info set

use _e_hwc_windows_pp_info_set function for pp info set.

Change-Id: I98ce36d0f85490b6e8a44a671934176ba58fdd89
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_hwc_windows: change external pp commit handler name 53/226853/2
Junkyeong Kim [Fri, 6 Mar 2020 04:08:52 +0000 (13:08 +0900)]
e_hwc_windows: change external pp commit handler name

Change-Id: I2d94540a5a9d79950fc7b2f2ce8f2e3952fa7562
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_hwc_window_queue: change state of queue even if norender is pushed 03/226703/4
Changyeon Lee [Wed, 4 Mar 2020 11:18:41 +0000 (20:18 +0900)]
e_hwc_window_queue: change state of queue even if norender is pushed

change state of queue when accpeted state of target window is changed,
because if noreder is pushed, hwc doesn't accept hwc.

Change-Id: I2203e7dea05204b8513ad62f578160331ded5497

4 years agoe_input: if no keyname was found using xkb, name it Keycode-###. 72/227172/4
jeon [Tue, 10 Mar 2020 06:43:33 +0000 (15:43 +0900)]
e_input: if no keyname was found using xkb, name it Keycode-###.

Change-Id: I6808619663042dca08a0697b40312fea5d53ac0f

4 years agoe_service_gesture: remove execution mode from file 75/227175/2
Sung-Jin Park [Tue, 10 Mar 2020 06:40:42 +0000 (15:40 +0900)]
e_service_gesture: remove execution mode from file

Change-Id: Ia53459ff8dd327559e9d01bbb8169cb8aa776f3d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoe_service_gesture: delete timer when free 60/227160/2
Juyeon Lee [Tue, 10 Mar 2020 14:43:14 +0000 (23:43 +0900)]
e_service_gesture: delete timer when free

Change-Id: If6197821d088244f9e0f7091a5dac8b2632bcff8

4 years agoe_comp_wl: check Keycode- prefix to swap keycode and keyname 92/227092/2
jeon [Mon, 9 Mar 2020 12:34:41 +0000 (21:34 +0900)]
e_comp_wl: check Keycode- prefix to swap keycode and keyname

Change-Id: I16283909bf3be0191b6d043a1ef2590f3ad7e6cf

4 years agoe_keyrouter: remove canceled keys in press list 54/227054/3 accepted/tizen/unified/20200310.151117 submit/tizen/20200309.085201
jeon [Mon, 9 Mar 2020 08:27:56 +0000 (17:27 +0900)]
e_keyrouter: remove canceled keys in press list

Change-Id: I477e6c490e57733bb4e9941314c3c78a037725a6

4 years agoe_client: invert merging order of defer_focus_stack 03/226803/2 accepted/tizen/unified/20200306.040326 submit/tizen/20200305.120601
Junseok, Kim [Thu, 5 Mar 2020 06:31:54 +0000 (15:31 +0900)]
e_client: invert merging order of defer_focus_stack

For maintain defer_focus_stack's order, invert E_Client traversal order in _e_client_merge_focus_stack_with_defer_focus()

Change-Id: Ie3b3511df27bb3549e88405474328fff2e277a28

4 years agoe_security: fix to return EINA_FALSE when it's failed to initialize 00/226700/1 accepted/tizen/unified/20200305.123253 submit/tizen/20200305.052845
Sung-Jin Park [Thu, 5 Mar 2020 03:54:21 +0000 (12:54 +0900)]
e_security: fix to return EINA_FALSE when it's failed to initialize

Change-Id: Iccf33f2fe3156de9aa5e7a540752905672eb0a5d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoe_comp_wl_input: add utility APIs using keymap 37/226637/1
jeon [Wed, 4 Mar 2020 08:40:20 +0000 (17:40 +0900)]
e_comp_wl_input: add utility APIs using keymap

  - e_comp_wl_input_keymap_keyname_to_keycode(),
    e_comp_wl_input_keymap_keycode_to_keyname()

Change-Id: If4ad3bdf498727ec5d838ae143ac5093617010d9

4 years agoe_comp_wl_shell: check ec->bg_state flag before sending pre-unobscured visibility... 68/225868/4 accepted/tizen/unified/20200305.051113 submit/tizen/20200304.075907
Doyoun Kang [Tue, 25 Feb 2020 06:01:16 +0000 (15:01 +0900)]
e_comp_wl_shell: check ec->bg_state flag before sending pre-unobscured visibility event

There was a bug that the application state changed to resume state by pre-unobscured event
when using background launching.
So, we changed code not to send pre-unobscured event when the window set the bg_state.

Change-Id: I088621a6b069d925a862afaed438b720df9ae666

4 years agoe_policy_visibility: remove unused variables 19/226619/1
Junseok, Kim [Wed, 4 Mar 2020 06:10:59 +0000 (15:10 +0900)]
e_policy_visibility: remove unused variables

Change-Id: I297542259bb1bb87c4bd384308e64964277ab36f

4 years agoe_hwc_window_queue: consider output transform in queue_set 04/226404/1
Changyeon Lee [Wed, 26 Feb 2020 06:26:47 +0000 (15:26 +0900)]
e_hwc_window_queue: consider output transform in queue_set

Change-Id: I3a131d96899e83e867c2a5113f68c56052b1284b

4 years agoe_hwc_windows: check transition of client to none when display state is changed 03/226403/1
Changyeon Lee [Mon, 2 Mar 2020 07:58:10 +0000 (16:58 +0900)]
e_hwc_windows: check transition of client to none when display state is changed

consider the case below for prevent flickering
1. 1st window is displayed by HW Plane
   2nd window is displayed by gl compositing
2. gl compositor call rendering of 2nd window but buffer is not enqueued
3. 3rd window is launched and 1st window is hidden
   2st window should be hided
4. buffer of 2 step is enqueued
5. 1nd window is unset by HW Plane because buffer of 2 step doesn't render 1st window
6. 2nd window is shown without 3rd window

Change-Id: I8307901fd70f181c009a548fc96fb34e7b17576f

4 years agoe_comp_wl: end hwc if buffer transform is changed only when mode of hwc is planes 02/226402/1
Changyeon Lee [Mon, 24 Feb 2020 08:51:07 +0000 (17:51 +0900)]
e_comp_wl: end hwc if buffer transform is changed only when mode of hwc is planes

because hwc windows check buffer transform before commit, hwc of ec is ended
if buffer transform of ec can't be display by hwc.

Change-Id: I8f80820d0643f3ccbc11b14f71e086908c2c42fc

4 years agoe_hwc_window_queue: set backup buffer if user of queue is mismatched in buffer_change 14/225614/2
Changyeon Lee [Wed, 19 Feb 2020 11:17:39 +0000 (20:17 +0900)]
e_hwc_window_queue: set backup buffer if user of queue is mismatched in buffer_change

it is possible that hwc_window has queue and queue buffer but queue of user is null.

hwc_window set queue and queue state is set ->
hwc_window unset queue and queue state is unset waiting ->
hwc_window set same queue and commit queue buffer ->
not set backup buffer

in this case, set backup buffer and should not be migrate HWC

Change-Id: I33b4324733733932db32be71179d5d7c069feac8

4 years agoe_client: client which obscured by child can take focus 99/225999/3
Junseok, Kim [Wed, 26 Feb 2020 05:47:40 +0000 (14:47 +0900)]
e_client: client which obscured by child can take focus

Change-Id: I657aa16274c13839bd7f3e1e17861c39d56d51e7

4 years agoe_policy_visibility: check partial window when running uniconify_render 95/226195/1
Junseok, Kim [Thu, 27 Feb 2020 06:10:17 +0000 (15:10 +0900)]
e_policy_visibility: check partial window when running uniconify_render

Change-Id: Iebb00642ae5ddd0dd43e65337f5b111e5207878c

4 years agoquickpanel: rename scroll_state_* to scrollable_state_* 82/226082/3 accepted/tizen/unified/20200228.123718 submit/tizen/20200227.111751
Junseok, Kim [Wed, 26 Feb 2020 12:58:41 +0000 (21:58 +0900)]
quickpanel: rename scroll_state_* to scrollable_state_*

Change-Id: I50d9fcf5efde96f214d29293926ecf19185cbea1

4 years agoe_client: support a event delivered function for key cancel 66/226166/2
jeon [Thu, 27 Feb 2020 08:22:28 +0000 (17:22 +0900)]
e_client: support a event delivered function for key cancel

Change-Id: I424e3b8aa1107413fa7d3389bc63079d75edef04

4 years agoe_comp_wl: set a pointer object after wl_surface commit is came 27/225927/2
jeon [Tue, 25 Feb 2020 10:09:45 +0000 (19:09 +0900)]
e_comp_wl: set a pointer object after wl_surface commit is came

Change-Id: I4e4ac659bea2b3b9ac0ea401d465ec754a2cc726

4 years agoe_hwc_window: execute null buffer commit if window state is CLIENT when pp set 93/225793/1
Junkyeong Kim [Mon, 24 Feb 2020 10:49:16 +0000 (19:49 +0900)]
e_hwc_window: execute null buffer commit if window state is CLIENT when pp set

to notify buffer release to client, execute null buffer commit.

Change-Id: I2c598a8fe352c0744093f19ee6882c953f3c72db
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_client: remove VIS_ICONIFY_STATE_UNKNOWN condition from focusable state 85/225785/1
Junseok, Kim [Mon, 24 Feb 2020 10:07:47 +0000 (19:07 +0900)]
e_client: remove VIS_ICONIFY_STATE_UNKNOWN condition from focusable state

Change-Id: Ided11d7562eece32ce26f9fdb97c3595dfaf4235

4 years agoe_video_hwc: enhance pp restriction 02/225502/2
Junkyeong Kim [Thu, 20 Feb 2020 09:08:11 +0000 (18:08 +0900)]
e_video_hwc: enhance pp restriction

check pp minw, minh values also.
check pp preferred vertical align if it is supported.(not supported case this value is -1)

Change-Id: If17b0298e7e536dda6105c45dc3b48b91a68995a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_policy_visibility: add code to check comp_skip property in _e_vis_ec_above_visible_type 78/225478/1 accepted/tizen/unified/20200224.081437 submit/tizen/20200220.070651
Doyoun Kang [Thu, 20 Feb 2020 06:48:58 +0000 (15:48 +0900)]
e_policy_visibility: add code to check comp_skip property in _e_vis_ec_above_visible_type

Change-Id: Ica0c7a8acd49cb991e45b592e66260831458e392

4 years agoe_info_client_screen_recorder: change default file path to '/tmp'. 69/225369/1
Seunghun Lee [Wed, 19 Feb 2020 08:37:06 +0000 (17:37 +0900)]
e_info_client_screen_recorder: change default file path to '/tmp'.

Change-Id: Ifc9c870e73de53fe939194cd23268a72081fc4da

4 years agovideo:hwc_planes: wait next vblank until commit callback handler is called. 34/225334/2
Seunghun Lee [Wed, 19 Feb 2020 01:06:34 +0000 (10:06 +0900)]
video:hwc_planes: wait next vblank until commit callback handler is called.

e_video_hwc_wait_buffer_commit() which is called by vblank would be
failed without updating current fb which is done by commit handler.

Change-Id: I9941188572ed801df356495ec0a9a20d52bf9199

4 years agovideo:hwc_planes: add a pending buffer for use when plane is not ready. 33/225333/2
Seunghun Lee [Wed, 19 Feb 2020 00:47:28 +0000 (09:47 +0900)]
video:hwc_planes: add a pending buffer for use when plane is not ready.

Change-Id: Ia9b628141e15ae61dc5b8ac61146416bd10f3bf2

4 years agovideo:hwc_planes: remove unused forward declaration. 32/225332/1
Seunghun Lee [Wed, 19 Feb 2020 00:49:03 +0000 (09:49 +0900)]
video:hwc_planes: remove unused forward declaration.

Change-Id: I8fb37a70c9b50b29d656bf123b649048d794cc0e

4 years agovideo:hwc_planes: remove unused function. 31/225331/1
Seunghun Lee [Tue, 18 Feb 2020 12:04:32 +0000 (21:04 +0900)]
video:hwc_planes: remove unused function.

Change-Id: Ie2769e4d2fcbe74c6161cf401f6f4c037036c72f

4 years agovideo:hwc_planes: reduce duplicate codes. 30/225330/1
Seunghun Lee [Tue, 18 Feb 2020 11:46:59 +0000 (20:46 +0900)]
video:hwc_planes: reduce duplicate codes.

Change-Id: Ie57acaf419f0549d65e75852ed6d1279512f1b32

4 years agovideo:hwc_planes: remove unused return value. 29/225329/1
Seunghun Lee [Tue, 18 Feb 2020 11:17:46 +0000 (20:17 +0900)]
video:hwc_planes: remove unused return value.

Change-Id: Iabadc0d2d42c0d7c2bd2cc9a17f9a829133d6cc9

4 years agovideo:hwc: fix build warning about unused variable. 64/225264/1
Seunghun Lee [Tue, 18 Feb 2020 11:53:19 +0000 (20:53 +0900)]
video:hwc: fix build warning about unused variable.

Change-Id: Ic9be27c7cafb1c4fff5cd0ee003f561f21e5ee37

4 years agoe_service_launcher: pass correct launchscreen path 97/225097/1
MinJeong Kim [Mon, 17 Feb 2020 08:53:41 +0000 (17:53 +0900)]
e_service_launcher: pass correct launchscreen path

Change-Id: Ie87c030c4448d41034b330b6910a746965466f8d
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
4 years agoe_keyrouter: fix memory leaks 55/224955/2
jeon [Fri, 14 Feb 2020 08:09:04 +0000 (17:09 +0900)]
e_keyrouter: fix memory leaks

  - fix coverity issues

Change-Id: I0c9078f11dc6dbc44232b5d1c63fb726ff018530

4 years agoe_hwc_windows: not accept vaildation if norender is set 85/224785/3
Changyeon Lee [Wed, 12 Feb 2020 08:40:22 +0000 (17:40 +0900)]
e_hwc_windows: not accept vaildation if norender is set

if not accept validation, tdm_hwc_commit also isn't called.

Change-Id: I45b345e47395866d22e23d404bb86c2d1a6f0c9f

4 years agovideo: Move definitions of some macro to a file actually using it. 95/224895/2
Seunghun Lee [Thu, 16 Jan 2020 10:44:23 +0000 (19:44 +0900)]
video: Move definitions of some macro to a file actually using it.

Change-Id: I18424647002ed3001ab4910626c11881482492db

4 years agovideo: Re-ordering internal API list according to interface. 94/224894/2
Seunghun Lee [Thu, 16 Jan 2020 10:40:38 +0000 (19:40 +0900)]
video: Re-ordering internal API list according to interface.

Change-Id: Iae70ee43beca3901ac8a20e59a731a027390d406

4 years agovideo: Make a noise only for failure case. 93/224893/2
Seunghun Lee [Thu, 16 Jan 2020 10:37:01 +0000 (19:37 +0900)]
video: Make a noise only for failure case.

Change-Id: Ia9f76252b396e27b6079bc1583761d452da5df54

4 years agovideo: Remove unused macro 92/224892/2
Seunghun Lee [Thu, 16 Jan 2020 06:30:05 +0000 (15:30 +0900)]
video: Remove unused macro

Change-Id: I73bad39034730b114397ff3f435dcf3657422a84

4 years agovideo: Remove if statement that is not necessary. 91/224891/2
Seunghun Lee [Thu, 16 Jan 2020 06:20:15 +0000 (15:20 +0900)]
video: Remove if statement that is not necessary.

There is no need to check if evas object is bigger than 1.
Just make it 1x1 whenever its size changed.

Change-Id: I40139148914803260571a1fe40a7f53e15ae095f

4 years agovideo: silence a log for information level. 90/224890/2
Seunghun Lee [Thu, 16 Jan 2020 06:18:04 +0000 (15:18 +0900)]
video: silence a log for information level.

Which is being too much printed, and doesn't seem to be necessary.

Change-Id: Iad230d60f7ad161f811e762deefec7288ca5dc18

4 years agocapture: add code to capture window before unmap 29/224929/1 accepted/tizen/unified/20200214.120046 submit/tizen/20200214.070252
Doyoun Kang [Fri, 14 Feb 2020 05:19:11 +0000 (14:19 +0900)]
capture: add code to capture window before unmap

There was a bug that the window was not captured when it was unmapped.
This fixes it.

Change-Id: I93976058115d74ff7cfcf56a60bc432b87100311

4 years agoe_keyrouter: fix a memory leak in _e_keyrouter_long_timer() 99/224899/2
Sung-Jin Park [Fri, 14 Feb 2020 04:09:39 +0000 (13:09 +0900)]
e_keyrouter: fix a memory leak in _e_keyrouter_long_timer()

Change-Id: I5e0c6998bb5a62b4e57a6a7a77370a5b91c4e90f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agovideo: Referencing 'E_Comp_Wl_Buffer' before pp commit. 58/224758/1
Seunghun Lee [Wed, 18 Dec 2019 06:17:12 +0000 (15:17 +0900)]
video: Referencing 'E_Comp_Wl_Buffer' before pp commit.

A handler for pp commit done can be called directly in tdm_pp_commit().
Therefore, a buffer has to be referenced before calling it for safety.

Change-Id: Ief542676d8f6425e4951598796140f8cceb740c6

4 years agoe_comp_wl: Do update stack order of subsurface for safety. 57/224757/1
Seunghun Lee [Thu, 16 Jan 2020 03:34:45 +0000 (12:34 +0900)]
e_comp_wl: Do update stack order of subsurface for safety.

There is possibility that stack order of subsurface is abnormal before
registering callback function for EVAS_CALLBACK_RESTACK.
So, a function updating stack order of subsurface has to be called for
safety.

Change-Id: I8d8704dc012421a2cd444d5549f77ee17d569924

4 years agoe_comp_wl: get inverse coords using reverse evas_map 35/224635/1
jeon [Wed, 12 Feb 2020 05:27:21 +0000 (14:27 +0900)]
e_comp_wl: get inverse coords using reverse evas_map

Change-Id: Ic9f06b3f0f0b243abc198b081f34568cb0e25205

4 years agoe_appinfo/e_policy_appinfo: add getting appid API 59/224559/1
Doyoun Kang [Tue, 11 Feb 2020 11:24:44 +0000 (20:24 +0900)]
e_appinfo/e_policy_appinfo: add getting appid API

- e_appinfo_appid_get / e_policy_appinfo_appid_get
- usage:
  E_Appinfo *appinfo;
  appinfo = e_appinfo_find_with_pid(ec->netwm.pid);

  Eina_Stringshare *appid = e_appinfo_appid_get(appinfo);
  if (!appid) return;

  // use appid (const char*)

  eina_stringshare_del(appid);

Change-Id: I8386ecc3ec51786e07f8e4c88baf20455f96e41d

4 years agoe_appinfo: call E_APPINFO_HOOK_APPID_SET in e_appinfo_appid_set function 25/224525/2
Doyoun Kang [Tue, 11 Feb 2020 08:06:35 +0000 (17:06 +0900)]
e_appinfo: call E_APPINFO_HOOK_APPID_SET in e_appinfo_appid_set function

Change-Id: I3ceb32e2d2114555d2b2d057abff82360e96d0f9

4 years agoe_hwc_windows: release commit data if pp commit failed 72/224372/2
Junkyeong Kim [Mon, 10 Feb 2020 06:28:47 +0000 (15:28 +0900)]
e_hwc_windows: release commit data if pp commit failed

Change-Id: I9071b300028a077a79874d1d45e54fa21dda634e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_comp_wl_rsm: update the base_output_resolution at binding/unbinding the remote_surface 07/224407/2
SooChan Lim [Mon, 10 Feb 2020 08:45:02 +0000 (17:45 +0900)]
e_comp_wl_rsm: update the base_output_resolution at binding/unbinding the remote_surface

Change-Id: If2280be64425218c011ea6e0d06fe65215a2f1a1

4 years agoe_client: add e_client_base_output_resolution_rsm_update function 06/224406/2
SooChan Lim [Mon, 10 Feb 2020 08:05:40 +0000 (17:05 +0900)]
e_client: add e_client_base_output_resolution_rsm_update function

This function changes the base_output_resolution of the bind_ec
by checking the base_output_resolution of provider_ec's appinfo.

Change-Id: I2efcca59c4a878c3f36e06e0f09ef30ccd59b628

4 years agoe_hwc_window: specify the restriction string for the transformation. 94/224394/1
SooChan Lim [Mon, 10 Feb 2020 07:52:14 +0000 (16:52 +0900)]
e_hwc_window: specify the restriction string for the transformation.

Change-Id: I6771a51ae27b6889b6e9e57f7377417d337235c0

4 years agoe_utils: fix coverity, use after free 35/224335/1 accepted/tizen/unified/20200211.055845 submit/tizen/20200210.084753
Juyeon Lee [Mon, 10 Feb 2020 02:30:49 +0000 (11:30 +0900)]
e_utils: fix coverity, use after free

Change-Id: Ifcef7d53798a6282031f06d66d289cf1a112aceb

4 years agoe_input_evdev: fix a svace issue 90/224290/1
jeon [Fri, 7 Feb 2020 11:08:23 +0000 (20:08 +0900)]
e_input_evdev: fix a svace issue

Change-Id: I1125aa201e1230adcb253a9a7c0af024cc932e17

4 years agoe_input: add touch axis and mouse wheel event logs tizen_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 82/223882/3
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 66/224266/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 39/223739/11
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 30/224230/1 accepted/tizen/unified/20200210.131833 submit/tizen/20200207.063847
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 25/224225/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_client: reset focused value when focused is freed 23/224223/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 22/224222/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 20/224220/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 agowinfo: add example for -desk option 79/224079/1 accepted/tizen/unified/20200206.123502 submit/tizen/20200206.060445
Doyoun Kang [Thu, 6 Feb 2020 06:01:53 +0000 (15:01 +0900)]
winfo: add example for -desk option

Change-Id: I9351effc37d476d72e923703426a56914a81475e

4 years agovideo: Remove listener's link after checking that comp_data is valid. 76/224076/1
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_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