platform/upstream/enlightenment.git
4 years agoe_hwc_windows: don't release buffer to queue if hwc_window is committing buffer 51/236651/1 tizen_5.5_tv
Changyeon Lee [Fri, 19 Jun 2020 04:46:15 +0000 (13:46 +0900)]
e_hwc_windows: don't release buffer to queue if hwc_window is committing buffer

if committing buffer is released to queue, compositor can render on displaying buffer

Change-Id: Icd8f276325ac643c2724ffdf5321cf6686691caf

5 years agoe_policy_wl: remove appinfo when unbind tzpol and tzlaunch_appinfo 98/235598/2
Junseok, Kim [Mon, 8 Jun 2020 04:03:48 +0000 (13:03 +0900)]
e_policy_wl: remove appinfo when unbind tzpol and tzlaunch_appinfo

Change-Id: I4c2eefd401196cdcca9184f0b9e0220a3cde7e82
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_comp_wl: remove checking ec->new_client code in sync geometry feature 07/234707/1
Doyoun Kang [Thu, 28 May 2020 06:20:20 +0000 (15:20 +0900)]
e_comp_wl: remove checking ec->new_client code in sync geometry feature

Change-Id: I36c037484c6ac3d7d29bb0bd5099a1e8894abc2b

5 years agovideo: check null pointer before accessing it. 58/232958/1
Seunghun Lee [Mon, 11 May 2020 01:33:17 +0000 (10:33 +0900)]
video: check null pointer before accessing it.

Change-Id: I451c56242fd84948b0f9907dcce9acc747824605

5 years agoe_hwc_windows: set client type to all windows in e_comp_hwc_end 50/230350/3
Changyeon Lee [Fri, 3 Apr 2020 10:31:26 +0000 (19:31 +0900)]
e_hwc_windows: set client type to all windows in e_comp_hwc_end

Change-Id: Ie5b781841a091cd3f371941cba814c2aed0c9e95

5 years agoe_comp_object: add missing pixels_noti callback set 82/230482/2
Changyeon Lee [Fri, 10 Apr 2020 05:44:48 +0000 (14:44 +0900)]
e_comp_object: add missing pixels_noti callback set

Change-Id: I1a6b7058a3179b0d0ca1fa523b6ed836b77b2b5a

5 years agoe_hwc_window: set client type if e_pixmap resource is null 49/230049/5
Changyeon Lee [Tue, 7 Apr 2020 10:44:56 +0000 (19:44 +0900)]
e_hwc_window: set client type if e_pixmap resource is null

in rotation module, e_pixmap resource is set by null for skip frame.
it cause deadlock if client is set HWC and reserved memory is double buffer

Change-Id: Iae95e9174150cc21fe54bc58906b2b69d6b0f130

5 years agoe_hwc_window: fixed resource leak for new tbm buffer 50/230650/4
Gwanglim Lee [Mon, 13 Apr 2020 02:52:15 +0000 (11:52 +0900)]
e_hwc_window: fixed resource leak for new tbm buffer

Change-Id: I128aac98f41158e5b574dec98b72e01d98abcf4d

5 years agoe_client: don't set focus if ec is already focused 87/230587/3
Junseok, Kim [Mon, 6 Apr 2020 02:20:35 +0000 (11:20 +0900)]
e_client: don't set focus if ec is already focused

Change-Id: I9bf51b6db7be09a53e697f7d099c28bedd4d1249
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_hwc_window: recover hwc_window even if client is deleted 84/229784/3
Changyeon Lee [Fri, 3 Apr 2020 08:38:13 +0000 (17:38 +0900)]
e_hwc_window: recover hwc_window even if client is deleted

client can be visible even if it is deleted because hide effect

Change-Id: Ie0af7aa0151a4d3b69df9c4f5a43f08589b5b510

5 years agoe_policy_visibility: get below activity clients with eina_tiler 03/229003/2
Junseok, Kim [Fri, 27 Mar 2020 04:19:32 +0000 (13:19 +0900)]
e_policy_visibility: get below activity clients with eina_tiler

Change-Id: I1710f3174a9c85ff33a53693150bf4542e02cd54

5 years agoe_policy_visibility: cancel lower job before client activate 38/229038/1
Junseok, Kim [Thu, 19 Mar 2020 07:58:31 +0000 (16:58 +0900)]
e_policy_visibility: cancel lower job before client activate

Change-Id: Iec4c8aaab2c10c6642b2e1eb3e669036eb471e7a
(cherry picked from commit 459220787c1ac1ec1d360b311f2b2d2dcf12e1a6)

5 years agoe_client: check argb changes in transform core 04/228904/1
Junseok, Kim [Thu, 26 Mar 2020 01:23:22 +0000 (10:23 +0900)]
e_client: check argb changes in transform core

Change-Id: I5a7c5d1d0086d9f3411aa75c5fd0e1e9f1c1c734
(cherry picked from commit 51ffe93bc05dd32157200adda39ec7a93ce94126)

5 years agoe_pixmap: canceled buffer_flush it's not needed anymore 93/228493/2
Changyeon Lee [Mon, 23 Mar 2020 08:07:53 +0000 (17:07 +0900)]
e_pixmap: canceled buffer_flush it's not needed anymore

remote_surface and quickpanel client do buffer_flush with only_free
even if client isn't iconify state.
if buffer_flush_timer is timeout, e_pixmap can't decide to do buffer_flush.
so add e_pixmap_buffer_clear_cancel and call in e_service_quickpanel
and e_comp_wl_rsm when buffer_flush ins't needed.

Change-Id: I8eb632bb0f523516bf455f216ba3af832629eefb

5 years agoe_comp_object: add log for intercept hide 87/228487/1
Juyeon Lee [Mon, 23 Mar 2020 18:30:38 +0000 (03:30 +0900)]
e_comp_object: add log for intercept hide

Change-Id: I411a1e19597c7fd0ade87b5f4c45c47fef5f9053

5 years agoe_policy_wl: check ec's validation before sending aux_message 05/228305/1
Doyoun Kang [Fri, 13 Mar 2020 11:07:07 +0000 (20:07 +0900)]
e_policy_wl: check ec's validation before sending aux_message

Change-Id: Id86bd688448aa242bfeb84f74a6fe92d33e33863

5 years agoe_config: add config use_buffer_flush_timeout/buffer_flush_timer_interval 23/228123/5
Changyeon Lee [Wed, 18 Mar 2020 12:16:28 +0000 (21:16 +0900)]
e_config: add config use_buffer_flush_timeout/buffer_flush_timer_interval

if use_buffer_flush_timeout and buffer_flush_timer_interval are set,
buffer_flush is not performed immediately.
e20 wait the timer interval after e_pixmap_buffer_clear is called.

Change-Id: I679f1d111121fbb1b1d371a23972bf722039bf56

5 years agoe_policy_visibility: check obscured by aboves when uniconify render 94/228094/1
Junseok, Kim [Wed, 18 Mar 2020 12:29:33 +0000 (21:29 +0900)]
e_policy_visibility: check obscured by aboves when uniconify render

Change-Id: I834fcb2120f389f098584eecd41d7b33918203df

5 years agoe_policy_visibility: check partial window with boolean when running uniconify_render 62/228062/2
Junseok, Kim [Wed, 18 Mar 2020 12:28:56 +0000 (21:28 +0900)]
e_policy_visibility: check partial window with boolean when running uniconify_render

Change-Id: Idfb8f509fd4f7adb4e02035d6073ebe110383147

5 years agoe_hwc_window: don't change buffer of ec when recover buffer 11/227711/1
Changyeon Lee [Thu, 12 Mar 2020 11:00:42 +0000 (20:00 +0900)]
e_hwc_window: don't change buffer of ec when recover buffer

if buffer of ec is null, null buffer attach to ec after recover buffer

Change-Id: I6d28de9d086d605d63cf35d7c315fa94061b968f

5 years agoe_policy_wl: send configured output resolution when failed to read base_output_resolution 49/227149/2
Junseok, Kim [Tue, 10 Mar 2020 04:57:57 +0000 (13:57 +0900)]
e_policy_wl: send configured output resolution when failed to read base_output_resolution

Change-Id: I1f580f3bb7324c2a8d68b88a7986021353cd41d3

5 years agoe_hwc_window_queue: change state of queue even if norender is pushed 61/226661/6
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: I52bf1d463dcd5cceed9b82cbc3975afe99f7b09a

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

Change-Id: I297542259bb1bb87c4bd384308e64964277ab36f

5 years agoe_hwc_window_queue: consider output transform in queue_set 10/226410/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: I44f0efacb9a20a7eff9acd26ff1c79ad2c181ca3

5 years agoe_hwc_windows: check transition of client to none when display state is changed 97/226397/2
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

5 years agoe_comp_wl: end hwc if buffer transform is changed only when mode of hwc is planes 59/225759/2
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

5 years agoe_hwc_window_queue: set backup buffer if user of queue is mismatched in buffer_change 91/225391/3
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

5 years agoe_policy_visibility: check partial window when running uniconify_render 01/226201/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

5 years agoe_comp_wl: set a pointer object after wl_surface commit is came 26/225926/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

5 years agoe_client: remove VIS_ICONIFY_STATE_UNKNOWN condition from focusable state 84/225784/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

5 years agoe_policy_visibility: add code to check comp_skip property in _e_vis_ec_above_visible_type 77/225477/1
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

5 years agoe_client: initialize output_resolution_useful_geom_get's geometry 94/224794/1
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
(cherry picked from commit d59a1c5bfab897f5614e8b14e529cd202e3e88b7)

5 years agoe_hwc_windows: not accept vaildation if norender is set 89/224689/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

5 years agoe_comp_wl: get inverse coords using reverse evas_map 60/224660/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

5 years agoe_policy_appinfo: add getting appid API 33/224633/1
Doyoun Kang [Tue, 11 Feb 2020 09:01:32 +0000 (18:01 +0900)]
e_policy_appinfo: add getting appid API

- e_policy_appinfo_appid_get
- usage:
  E_Policy_Appinfo *appinfo;
  appinfo = e_policy_appinfo_find_with_pid(ec->netwm.pid);

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

  // use appid (const char*)

  eina_stringshare_del(appid);

Change-Id: I8d837667846ab0be61ce5f2a8f4c180c96f84e95

5 years agoe_desk: add E_APIs to set/unset skip zoom 32/224632/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

5 years agoe_hwc_window: delete frame in render update if hwc_window don't set recover buffer 49/223949/1
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

5 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

5 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

5 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

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

5 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

5 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

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

5 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

5 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

5 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

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

5 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

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

5 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

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

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

5 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

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

5 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

5 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

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

Change-Id: I1bccc7df04b4bde8de8eb69c8f9fd20ad9acbd40

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

This reverts commit 3a5814c90a4e9acf4fc9433f93ed684bae6b7ee4.

Change-Id: Ice7b2a921e181f096a50e670c025d5f58ee13262

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

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

Change-Id: I0e5d08269297592e7492d1dd8ae213d655f9e832

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

Change-Id: Ia4896d095487b37f7126c8e19f615ed7c41fe67c

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

Change-Id: I24c606a3bafc901f3ab15156a31918311c6a4e26

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

Change-Id: I7b2e6b612a6591f6ab56c1293fbb2dcbfd157571

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

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

Change-Id: Idc5adb9b5dea711982bc1af9a06aab1026bcf38e

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

prevent from e_output.

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

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

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

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

Change-Id: Idb3a28aa38c3d3abf44e2130aa6746b068ebe24a

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

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

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

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

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

Change-Id: I2b6cee6a7c4bee8acdada3be2458527de51ae9e8

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

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

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

Change-Id: Ia19bad56dd4f91e7c6eeb8f0eb02f03599366e8f

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

Change-Id: Ie0330966e51dcba29e566337bcf45ce67d52cd96

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

Change-Id: I8a5e1749f4cfa707e26da6855393cdf622846b64

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

Change-Id: I86fd0ab8497770b5d4930810ea584116a0c46960

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

Change-Id: I24948b6767e57b7572e84302e65030c090116ab1

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

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

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

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

Change-Id: I370e8990204704122a8795ccdd6201b2acf3c2db

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

it is possible that e_hwc_window is freed when release commit_data

Change-Id: Idf22b41fff8d70f93d3d79e20460173df413e2dc

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

Change-Id: Ia59e2a2b74d1e638d896b59d66bbe11442343498

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

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

Change-Id: I7a8c065967fad91a401a7989464a48b6842a79d5

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

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

Change-Id: Ibc00d9ee8511392529dcf735195f90d76f34668b

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

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

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

Miss calling to tbm_surface_unmap after calling
tbm_surface_map, add it.

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

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

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

Change-Id: I9ef07e909faab70ddd0b0fffcae56d3ea236a6dc

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

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

Change-Id: I2a85e43d6214839e36dfda9c52249940d758ee79

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

Change-Id: I3f8905011f757dbc8f6d1f878cdc80cb9b827a02

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

This reverts commit 30cc4470133e7fb1f88a3c3a32ce139d295bf02f.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I2e4c18669dd9c58562eb536dd341e843846d8b34