platform/upstream/enlightenment.git
6 years agoviewport: not sending fatal errors when dst'size is wrong 47/171347/2
Boram Park [Thu, 1 Mar 2018 22:57:07 +0000 (07:57 +0900)]
viewport: not sending fatal errors when dst'size is wrong

Change-Id: I90309cfa3bc5cfccce65a1b20e4943b51ad47192

6 years agoe_input: added checking for null before string comparison 50/171350/1 submit/tizen/20180306.065517
Gwanglim Lee [Fri, 2 Mar 2018 01:03:24 +0000 (10:03 +0900)]
e_input: added checking for null before string comparison

Change-Id: I7c493a086c07c1dbb731be895def96e717b2f1a6

6 years agoe_comp_screen: execute fake output setup if there is no connected output. 44/171044/1
Junkyeong Kim [Mon, 26 Feb 2018 07:15:58 +0000 (16:15 +0900)]
e_comp_screen: execute fake output setup if there is no connected output.

Change-Id: Ie6930f7067ff84f7f52def231ee64d80428977b8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_input : add eina safety check on the given ee pointer 31/171031/1
Sung-Jin Park [Mon, 26 Feb 2018 04:51:49 +0000 (13:51 +0900)]
e_input : add eina safety check on the given ee pointer

Change-Id: I658b2d10cac5e713ab3953d189a49ea39267338a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_desk: added getter to e_desk_zoom 63/170863/1
Gwanglim Lee [Fri, 23 Feb 2018 01:41:19 +0000 (10:41 +0900)]
e_desk: added getter to e_desk_zoom

Change-Id: I5382440d321454472753c29625812c539ed0bb12

6 years agoe_process: not to thaw when prepare_foreground event occur 24/170824/1 accepted/tizen/unified/20180223.062058 submit/tizen/20180222.113002
Doyoun Kang [Thu, 22 Feb 2018 11:01:31 +0000 (20:01 +0900)]
e_process: not to thaw when prepare_foreground event occur

we don't send the E_PROCESS_STATE_FOREGROUND event when the "prepare,foreground" event is occured.
E_PROCESS_STATE_FOREGROUND event is sent when unobscured or uniconic event is occured.

Change-Id: Ica2f8c20be83bbe006e1e125f621b543b580339f

6 years agoe_client: modify code for setting latest focus 19/170819/2
Doyoun Kang [Thu, 22 Feb 2018 10:04:02 +0000 (19:04 +0900)]
e_client: modify code for setting latest focus

We added code to set latest focus while handling defered focus.
If above window of defered focus window is current focus window,
then we prepend a current focus window to the latest focus list.

Change-Id: Iccc7560bd9a1cbef1f334683a8a7dfd0683d5eac

6 years agobuffer_flush: no flush for uniconic client 00/170800/1
Juyeon Lee [Thu, 22 Feb 2018 07:31:40 +0000 (16:31 +0900)]
buffer_flush: no flush for uniconic client

client such as keyboard is handled in e_mod_tizen_wl_textinput
and it never be in iconic state(ec->exp_iconify.skip_iconify = 1)
once it keyboard window is hide, the buffer shall not be flushed

Change-Id: I61d94b2eb7ce06204e04b3ba193d66a3045e83c8

6 years agoe_client: modified code for calculating visibility 43/170643/1 accepted/tizen/unified/20180222.080211 submit/tizen/20180221.115624
Doyoun Kang [Wed, 21 Feb 2018 06:46:35 +0000 (15:46 +0900)]
e_client: modified code for calculating visibility

we modified code to consider above window's rotation pending state.

Change-Id: I10d560b9738a0ecdd2a8906e10846b91dd5f3b13

6 years agoe_plane_renderer: remove release_timer when renderer_buffer is freed 62/170362/1
Changyeon Lee [Mon, 19 Feb 2018 09:49:37 +0000 (18:49 +0900)]
e_plane_renderer: remove release_timer when renderer_buffer is freed

Change-Id: I313f81f8ab7bfb571bc4a04a7105c536c93da98d

6 years agoe_plane: do not deactivate renderer if role is cursor 64/170064/2
Changyeon Lee [Tue, 13 Feb 2018 05:56:59 +0000 (14:56 +0900)]
e_plane: do not deactivate renderer if role is cursor

Change-Id: I5dd91e6d3757073cec1751c0444dbbff0950035e

6 years agoe_comp_screen : fix NULL dereference issue about an evas device 14/170314/1
Sung-Jin Park [Mon, 19 Feb 2018 04:52:17 +0000 (13:52 +0900)]
e_comp_screen : fix NULL dereference issue about an evas device

Change-Id: I350d691fcb526827dd110170409b7b7d13d9b73f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_output_hwc: erase unused variables 69/170169/1
Junkyeong Kim [Wed, 14 Feb 2018 02:39:26 +0000 (11:39 +0900)]
e_output_hwc: erase unused variables

Change-Id: Ife5761277fe290bb1d3c8ee2223fccde1e5edafa
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agohwc: remove the set_zpos at E_HWC_WINDOW_STATE_NONE 02/170102/3
SooChan Lim [Mon, 12 Feb 2018 11:11:01 +0000 (20:11 +0900)]
hwc: remove the set_zpos at E_HWC_WINDOW_STATE_NONE

Change-Id: I1bce8374e51b68f5d9547b2e447f3d79673fe08f

6 years agohwc: add log at E_HWC_WINDOW_STATE_NONE 01/170101/3
SooChan Lim [Mon, 12 Feb 2018 11:09:20 +0000 (20:09 +0900)]
hwc: add log at E_HWC_WINDOW_STATE_NONE

Change-Id: Icb68e54b46007e333437139030ec0c1723b57d3a

6 years agohwc: set E_HWC_WINDOW_STATE_NONE for non-visible windows. 00/170100/3
SooChan Lim [Mon, 12 Feb 2018 11:08:36 +0000 (20:08 +0900)]
hwc: set E_HWC_WINDOW_STATE_NONE for non-visible windows.

Change-Id: I6359436ec3201012b7f20669dd722d0dfe3e8504

6 years agoe_output_hwc: do not set null when surface queue free 24/170124/1
Junkyeong Kim [Tue, 13 Feb 2018 11:33:18 +0000 (20:33 +0900)]
e_output_hwc: do not set null when surface queue free

Change-Id: I9b923e61f6aeb7cdb3c7bac939fd95d593261a99
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agohwc: remove the unused code 99/170099/1
SooChan Lim [Mon, 12 Feb 2018 08:03:55 +0000 (17:03 +0900)]
hwc: remove the unused code

Change-Id: I0c36c524c434dfb876edf2765e43351776d05f4d

6 years agohwc: check the only update_changes 98/170098/1
SooChan Lim [Fri, 9 Feb 2018 04:50:04 +0000 (13:50 +0900)]
hwc: check the only update_changes

Change-Id: I9d526120d935b6e30eadb8d118e0409d930bff3f

6 years agohwc: create the ecore_evas at the e_output_hwc 94/170094/1
SooChan Lim [Tue, 13 Feb 2018 08:28:10 +0000 (17:28 +0900)]
hwc: create the ecore_evas at the e_output_hwc

ecore_evas is created at the e_output_hwc.

Change-Id: I8a53a7feb7bfbf5266013b95848e9ed4ad91320a

6 years agoremove the unused variables 93/170093/1
SooChan Lim [Tue, 13 Feb 2018 08:38:14 +0000 (17:38 +0900)]
remove the unused variables

Change-Id: I572000fd193a2ae51fc67a3edc9aeabdc5640abf

6 years agoe_output: treat primary output connection disconnection 71/169671/4
Junkyeong Kim [Thu, 8 Feb 2018 07:27:47 +0000 (16:27 +0900)]
e_output: treat primary output connection disconnection

support displaying after booting without connected output.

Change-Id: I55270e11fc4113a1df90a6178cd2a56268a0045b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_output: add fake_config flag. execute offscreen commit if fake_config is set 69/169669/4
Junkyeong Kim [Thu, 8 Feb 2018 07:26:10 +0000 (16:26 +0900)]
e_output: add fake_config flag. execute offscreen commit if fake_config is set

change fake output refresh rate to 30.

Change-Id: I1cbad3022ff8272b659178278c08da49bc41bf95
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_comp_screen: change e_comp->ee alloc function to ecore_evas_tbm_allocfunc_new 56/169656/3
Junkyeong Kim [Thu, 8 Feb 2018 06:50:06 +0000 (15:50 +0900)]
e_comp_screen: change e_comp->ee alloc function to ecore_evas_tbm_allocfunc_new

change fake output width to 2.

Change-Id: I01a742730ec473dfd08284927cbdaa8c7714aff5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_info_server: send correct output mode dpms info 76/169676/2
Junkyeong Kim [Thu, 8 Feb 2018 07:44:39 +0000 (16:44 +0900)]
e_info_server: send correct output mode dpms info

Change-Id: Ie6dbdf1a7a4c0b67eefa38eaec0d27c124df74db
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_service_region: free ecore_event_handler 37/169837/1 accepted/tizen/unified/20180219.142434 submit/tizen/20180219.024620
Juyeon Lee [Fri, 9 Feb 2018 13:23:51 +0000 (22:23 +0900)]
e_service_region: free ecore_event_handler

region->event_list is event handler list, it was not freed by _region_free
because wrong free func(ecore_event_del) matched.

Change-Id: I2564d04361111f93a3a5414a12e1042c9feb7197

6 years agoremove unreachable code 11/169811/1 accepted/tizen/unified/20180212.062429 submit/tizen/20180209.104154
Doyoun Kang [Fri, 9 Feb 2018 08:54:14 +0000 (17:54 +0900)]
remove unreachable code

Change-Id: I1a4a28dc5c9858bc2a3a7f487f40230318e478c6

6 years agoe_output: fix return value in e_output_is_fb_full_compositing 08/169808/1
Changyeon Lee [Fri, 9 Feb 2018 08:18:09 +0000 (17:18 +0900)]
e_output: fix return value in e_output_is_fb_full_compositing

Change-Id: I3dcf87a20b18b5918b1aaae551b6716b7c5faa3a

6 years agosend mouse in/out when first mouse device is connected/disconnected 64/168864/9
JengHyun Kang [Wed, 31 Jan 2018 15:31:35 +0000 (00:31 +0900)]
send mouse in/out when first mouse device is connected/disconnected

Change-Id: Ieb2a83006ae6a3e81c7c4554cb459ee84cebe42d

6 years agoe_policy: apply maximize policy when the zone's geometry is changed 69/169469/3
Doyoun Kang [Wed, 7 Feb 2018 05:22:41 +0000 (14:22 +0900)]
e_policy: apply maximize policy when the zone's geometry is changed

Change-Id: I3f04f6e7e5f89171895acebea4f94054047a937f

6 years agoe_plane_renderer: attach buffer to surface when deactivate 91/169291/4
Changyeon Lee [Mon, 5 Feb 2018 11:35:35 +0000 (20:35 +0900)]
e_plane_renderer: attach buffer to surface when deactivate

if e20 use e_pixmap function for setting backup buffer and
displaying buffer when deactivate, buffer change event isn't generated.
so use e_comp_wl_surface_attach.

Change-Id: I37eb6fb90f17bc166272f754983da0d199a62e64

6 years agohwc: initial code for hwc windows policy. 23/169323/7
SooChan Lim [Tue, 6 Feb 2018 04:03:26 +0000 (13:03 +0900)]
hwc: initial code for hwc windows policy.

Add the code for hwc windows(Vendor Driven HWC).
It uses the tdm_hwc with which
the hwc policy is decided by the tdm backends and
E20 does not use the E_Plane(tdm_layer).

Change-Id: Ifc8c3ee8f44741ee6d781403b86f55859fc82c35

6 years agoe_info: add deiconify_approve on/off option 26/169226/2 accepted/tizen/unified/20180207.060411 submit/tizen/20180206.232118
JunSeok, Kim [Mon, 5 Feb 2018 04:25:26 +0000 (13:25 +0900)]
e_info: add deiconify_approve on/off option

Add deiconify_approve on/off potion to enlightenment_info

Change-Id: I8c33bc5a191ef4e6414d83c06a2ca9e6c6a62d70

6 years agoe_info: add buffer_flush on/off option 25/169225/2
JunSeok, Kim [Mon, 5 Feb 2018 04:24:46 +0000 (13:24 +0900)]
e_info: add buffer_flush on/off option

Add buffer_flush on/off option to enlightenment_info

Change-Id: I0c66871008eff61bdd5e22b1764821919bc40b0c

6 years agoe_comp_wl_shell/e_policy_visibility: add a e_policy_visibility_client_hide_job_cancel 15/169315/2
Doyoun Kang [Tue, 6 Feb 2018 02:46:33 +0000 (11:46 +0900)]
e_comp_wl_shell/e_policy_visibility: add a e_policy_visibility_client_hide_job_cancel

There was a bug that the window was not shown when an app called hide and show window continuously.
To fix this, e cancels pending_hide job while handling map request.

Change-Id: Icc069a9fdd15251bd2f3b58b2799a3bec87da4ca

6 years agoe_policy_visibility: check if the window is under pending hide in intercept hide... 70/169170/2
Doyoun Kang [Fri, 2 Feb 2018 11:36:49 +0000 (20:36 +0900)]
e_policy_visibility: check if the window is under pending hide in intercept hide function

There was a bug that the pending hide window was shown if the window was request to hide
one more time.

Change-Id: I43ea491483741c0c3eb500e96dfd2df783d7785a

6 years agoe_plane: use usable_buffer protocol for managing exported buffer 80/168980/2 accepted/tizen/unified/20180205.060444 submit/tizen/20180202.055341
Changyeon Lee [Thu, 4 Jan 2018 05:46:42 +0000 (14:46 +0900)]
e_plane: use usable_buffer protocol for managing exported buffer

Change-Id: Ida5bf4a59adf0e9b970e08693748364b23cf6e4f

6 years agoe_plane_renderer: add checking state of renderer in deactivate 79/168979/2
Changyeon Lee [Thu, 1 Feb 2018 12:11:55 +0000 (21:11 +0900)]
e_plane_renderer: add checking state of renderer in deactivate

Change-Id: I589974c05302919aae97286160fab989c1127352

6 years agoe_policy_visibility: fix error of client iconify when doing grab cancel 36/168836/3
JunSeok, Kim [Wed, 31 Jan 2018 09:01:49 +0000 (18:01 +0900)]
e_policy_visibility: fix error of client iconify when doing grab cancel

Move grab cancel call time before check ec->iconify
because of skip grab cancel when iconify after uniconify situation.
And, add exp_iconify.by_client set to 1

Change-Id: I0ebf30540048c11a6c8d0e6dd4930cfa9a2bfacc

6 years agoe_plane: pending delete of renderer until all exported wl_buffer are destroyed 14/168914/1
Changyeon Lee [Wed, 31 Jan 2018 08:11:32 +0000 (17:11 +0900)]
e_plane: pending delete of renderer until all exported wl_buffer are destroyed

Change-Id: I359a081a3d28ba3e02f36dd637930ecccb2199eb

6 years agoe_plane_renderer: check count of display surface in queue set 13/168913/1
Changyeon Lee [Mon, 29 Jan 2018 05:04:45 +0000 (14:04 +0900)]
e_plane_renderer: check count of display surface in queue set

Change-Id: I73cda86ce5ddfa4fcf3000f79096f42a256258a6

6 years agoe_plane_renderer: add dip_surfaces and renderer_buffer when dequeue 12/168912/1
Changyeon Lee [Thu, 25 Jan 2018 12:23:48 +0000 (21:23 +0900)]
e_plane_renderer: add dip_surfaces and renderer_buffer when dequeue

Change-Id: Id2c7d905ed88bc66c3d61008cb13fbfeb3822790

6 years agoe_service_quickpanel: fix bug for quickpanel's visible state 32/168832/1 accepted/tizen/unified/20180131.125348 submit/tizen/20180131.084907
Doyoun Kang [Tue, 30 Jan 2018 01:32:23 +0000 (10:32 +0900)]
e_service_quickpanel: fix bug for quickpanel's visible state

there was a bug that the quickpanel didn't disappear because its visible state was wrong.

Change-Id: I2c9db7b37968ead0a80d1cb80bfbce6fc985fa3f
Signed-off-by: Doyoun Kang <doyoun.kang@samsung.com>
6 years agoe_comp_wl_shell: cancel job grab of client while doing unmap 23/168723/1
Doyoun Kang [Tue, 30 Jan 2018 09:03:57 +0000 (18:03 +0900)]
e_comp_wl_shell: cancel job grab of client while doing unmap

If the window is unmapped which is under grabbing job, then e cancel the job grab.
And ec's visibility is set to unobscured temporarily because e should send the
fully-obscured event to notice app side.

Change-Id: I1c2213b416c13e47cda379b2ed0eb0313433838a

6 years agoe_policy_visibility: add wrapper function of _e_vis_client_grab_cancel 97/167897/3
JunSeok, Kim [Mon, 22 Jan 2018 11:25:06 +0000 (20:25 +0900)]
e_policy_visibility: add wrapper function of _e_vis_client_grab_cancel

Change-Id: I9b11131c3fb4e0b90da75c11cd1a5d7e02ebf91a

6 years agoe_policy_visibility: change return value of internal function 14/168714/1
Doyoun Kang [Tue, 30 Jan 2018 08:12:03 +0000 (17:12 +0900)]
e_policy_visibility: change return value of internal function

Change-Id: Ie589516cf54f1330c3934a9ca87912632371c22d

6 years agoe_input: change calibrations when output is changed 14/168114/3
JengHyun Kang [Wed, 24 Jan 2018 07:49:26 +0000 (16:49 +0900)]
e_input: change calibrations when output is changed

Change-Id: I88a2f65bc3bb157ceb0c1ceeb864d543a034ffaa

6 years agoe_desk: add a handler to update e_desk's geometry when the zone's geometry is changed 86/168486/1
Doyoun Kang [Mon, 29 Jan 2018 04:36:31 +0000 (13:36 +0900)]
e_desk: add a handler to update e_desk's geometry when the zone's geometry is changed

The e_desk's geometry should be changed to its zone's geometry when the zone's geometry is changed.
(This code operates only if the e_config's use_desk_smart_object value is not set.)

Change-Id: I8ddfb2ff9973eea394c0ffcaeb72fe70b6bc297c

6 years agoe_comp_wl_shell: code cleanup 67/168267/1
Doyoun Kang [Thu, 25 Jan 2018 08:43:30 +0000 (17:43 +0900)]
e_comp_wl_shell: code cleanup

added internal fuctions to remove redundant code.

Change-Id: I1e4fbb851d73546d4c4920cb3cdd9164ecd38b55

6 years agoe_comp_wl_rsm: delete render update when remote_surface is unbinded 20/168120/3
Changyeon Lee [Fri, 19 Jan 2018 07:59:58 +0000 (16:59 +0900)]
e_comp_wl_rsm: delete render update when remote_surface is unbinded

if null buffer is attached and bind_ec is remained in update list,
bind_ec is set redirect False and then It can't be composited forever.

Change-Id: I3733a7775902a6c3a4956bd3dd6072c2e051218f

6 years agoe_comp_wl_shell: set ec-changed flag at xdg_surface_parent_set request 87/166887/2
JunSeok, Kim [Fri, 12 Jan 2018 08:47:18 +0000 (17:47 +0900)]
e_comp_wl_shell: set ec-changed flag at xdg_surface_parent_set request

Change-Id: I5cc905e230466949c51c1d40ac3484cb70fba313

6 years agoe_policy_visibility: add log for deiconify job 89/168189/1
Doyoun Kang [Thu, 25 Jan 2018 01:28:49 +0000 (10:28 +0900)]
e_policy_visibility: add log for deiconify job

Change-Id: Icd96e5e852c4472d8ba739237562aa633baff541

6 years agoe_plane_renderer: always release export buffer in deatch_cb 02/168102/2
Changyeon Lee [Wed, 3 Jan 2018 11:43:04 +0000 (20:43 +0900)]
e_plane_renderer: always release export buffer in deatch_cb

Change-Id: I4af7eed3bd6c13f7ee002b034c90d5b723c63dad

6 years agoe_output_hwc_planes: allow tbm type buffer to enter hwc 01/168101/2
Changyeon Lee [Wed, 24 Jan 2018 05:40:56 +0000 (14:40 +0900)]
e_output_hwc_planes: allow tbm type buffer to enter hwc

Change-Id: I002fe47e64026f26e05cf720a5f112a965b12e17

6 years agoe_plane: get tbm_surface according to buffer type 00/168100/2
Changyeon Lee [Mon, 15 Jan 2018 08:38:44 +0000 (17:38 +0900)]
e_plane: get tbm_surface according to buffer type

Change-Id: I9ba3dc261c5cb461419c229ebfe7ea43148f1c69

6 years agoe_comp_wl_tbm: ref tbm surface in e_comp_wl_tbm_buffer_get 99/168099/2
Changyeon Lee [Mon, 15 Jan 2018 03:46:30 +0000 (12:46 +0900)]
e_comp_wl_tbm: ref tbm surface in e_comp_wl_tbm_buffer_get

Change-Id: I851af07a1dd965ff7a3f0bf11f21b54277f8df10

6 years agoe_policy_wl: add destroy callback of tizen_launch_effect 69/168069/2 accepted/tizen/unified/20180124.154245 submit/tizen/20180124.071405
JunSeok, Kim [Wed, 24 Jan 2018 04:31:37 +0000 (13:31 +0900)]
e_policy_wl: add destroy callback of tizen_launch_effect

Change-Id: I5b5990e00f4a125faca3b0eae9a62a568496f009

6 years agoe_comp_wl_rsm: add destroy callback of tizen_remote_surface_manager 68/168068/2
JunSeok, Kim [Wed, 24 Jan 2018 04:27:58 +0000 (13:27 +0900)]
e_comp_wl_rsm: add destroy callback of tizen_remote_surface_manager

Change-Id: Ie16db0fc5dfcb13c8049a58945604f9381e5d459

6 years agotizen-surface: renew tizen-surface protocol path 61/166461/4
JunSeok, Kim [Wed, 10 Jan 2018 09:00:39 +0000 (18:00 +0900)]
tizen-surface: renew tizen-surface protocol path

Change-Id: I58056c190a79fa05702a09d2f0189add87f2329c

6 years agoe_comp_wl: remove destroy_listener only if it exists 43/168043/2
Sung-Jin Park [Tue, 23 Jan 2018 23:34:30 +0000 (08:34 +0900)]
e_comp_wl: remove destroy_listener only if it exists

Change-Id: Ibad08c8bc62644e9cc2ec16d2ebfb55123c3dde6
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoFix ASan build 62/159562/3
Dmitriy Evgenevich Gonzha [Thu, 9 Nov 2017 15:09:05 +0000 (18:09 +0300)]
Fix ASan build

Move variables from header to source to fix build
with -fno-common

Change-Id: I1897f8f0daacd6de74344248c85512b373255d88
Signed-off-by: Dmitriy Evgenevich Gonzha <d.gonzha@samsung.com>
6 years agoe_comp_wl_shell: add log for mapping/unmapping window 82/167782/2
Doyoun Kang [Mon, 22 Jan 2018 05:21:39 +0000 (14:21 +0900)]
e_comp_wl_shell: add log for mapping/unmapping window

Change-Id: I9eaa61b271623fb15d341db9ecf3b6e8289efab5

6 years agoRevert "e_comp_wl_rsm: To avoid double release of wl_buffer, we changed begining" 22/167822/1
Gwanglim Lee [Mon, 22 Jan 2018 08:12:17 +0000 (17:12 +0900)]
Revert "e_comp_wl_rsm: To avoid double release of wl_buffer, we changed begining"

This reverts commit cdc7d391908eada1ccc5da45d81777775cac8af7.

Change-Id: Iecedd5913e94e0d4c6f92807fd172eaca63f9116

6 years agoe_comp_wl/e_comp_wl_rsm: add log for mapping/unmapping window 59/167759/6
Doyoun Kang [Mon, 22 Jan 2018 01:01:10 +0000 (10:01 +0900)]
e_comp_wl/e_comp_wl_rsm: add log for mapping/unmapping window

Change-Id: I5a413673d65832711b2297aa76c8117d399cf656

6 years agoe_comp_wl_video: fix build err 72/167772/1
Junkyeong Kim [Mon, 22 Jan 2018 02:50:17 +0000 (11:50 +0900)]
e_comp_wl_video: fix build err

Change-Id: I1e5d46376a29fe3b1b9c6e5960574d0b0bd4637f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_comp_wl_rsm: stop logging of annoying changed_buff_protocol 68/167668/1
Gwanglim Lee [Fri, 19 Jan 2018 06:43:32 +0000 (15:43 +0900)]
e_comp_wl_rsm: stop logging of annoying changed_buff_protocol

Change-Id: I858d97bf2650d3a2effc991e0299fad5e67e64a7

6 years agoe_comp_wl_data: file mod change 49/167649/2
Juyeon Lee [Fri, 19 Jan 2018 04:15:39 +0000 (13:15 +0900)]
e_comp_wl_data: file mod change

Change-Id: I4e6e8f43f5cc422775d85040518f1e48d7df6aab

6 years agoe_comp_wl_rsm: fixed wrong deletion of ec key in surface_hash 61/167561/2
Gwanglim Lee [Thu, 18 Jan 2018 07:41:39 +0000 (16:41 +0900)]
e_comp_wl_rsm: fixed wrong deletion of ec key in surface_hash

Change-Id: I2ca811de79d506e643a14364273e5af27305fc16

6 years agoe_comp_wl_rsm: To avoid double release of wl_buffer, we changed begining 08/166908/4
Gwanglim Lee [Fri, 12 Jan 2018 11:24:46 +0000 (20:24 +0900)]
e_comp_wl_rsm: To avoid double release of wl_buffer, we changed begining
of window capture to the frame object hide hook callback.

Change-Id: I042ffc42c041693899c1859c83851a0b6785b041

6 years agocheck bg_rectangle's layer when restacking 53/167353/1
Boram Park [Wed, 17 Jan 2018 07:17:12 +0000 (16:17 +0900)]
check bg_rectangle's layer when restacking

Change-Id: I0b57cff615eb920b7b29f2eac3fbd09efbb435da

6 years agoe_comp_wl_video: add pp input buffer scanout checking condition 39/166839/4
Junkyeong Kim [Fri, 12 Jan 2018 05:28:32 +0000 (14:28 +0900)]
e_comp_wl_video: add pp input buffer scanout checking condition

if pp capability has PP_SCANOUT and input buffer is not scanout, make temp scanout buffer and copy.
use the copied scanout buffer for pp's src.

Change-Id: Id1db3248437729acb89b47fb28f930de657531fd
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoadd some log for debugging 84/167084/1 accepted/tizen/unified/20180119.061110 submit/tizen/20180116.114446
Doyoun Kang [Mon, 15 Jan 2018 09:03:12 +0000 (18:03 +0900)]
add some log for debugging

Change-Id: I6f58920d3eac27b35fd3a46ad43eeb8bd3893a60

6 years agoe_policy_stack: fix typo 91/166991/1
JunSeok, Kim [Mon, 15 Jan 2018 02:21:12 +0000 (11:21 +0900)]
e_policy_stack: fix typo

Change-Id: I2a677287d4f268933f46c77cdc7064df9d29d7a8

6 years agoe_info_server: fixed division by zero 87/166987/1
Gwanglim Lee [Mon, 15 Jan 2018 01:44:30 +0000 (10:44 +0900)]
e_info_server: fixed division by zero

Change-Id: I9b043882e6c5c082914b3da8787fea07aa97b7b0

6 years agoe_info: add -m option to dump_buffers to draw a color rectangle on buffers 42/166642/2 accepted/tizen/unified/20180112.073150 submit/tizen/20180111.095239
Boram Park [Thu, 11 Jan 2018 07:58:38 +0000 (16:58 +0900)]
e_info: add -m option to dump_buffers to draw a color rectangle on buffers

Change-Id: I4e49cbdb31cfac7d1c2c00465b8600a450dad1ba

6 years agoe_comp_screen: end hwc when screen rotation is changed 45/166645/1
Changyeon Lee [Thu, 11 Jan 2018 09:13:43 +0000 (18:13 +0900)]
e_comp_screen: end hwc when screen rotation is changed

if screen rotation is changed, e20 should reset hwc policy

Change-Id: Idf8385048f201daae119d104f24d4c118509b76e

6 years agoe_comp_wl: end hwc if buffer transform of overlay ec is changed 88/166488/1
Changyeon Lee [Wed, 10 Jan 2018 08:09:30 +0000 (17:09 +0900)]
e_comp_wl: end hwc if buffer transform of overlay ec is changed

Change-Id: I6da5373d4c802457b1093511ecbd3192311a2825

6 years agoe_comp_object: not apply evas_map if no buffer 25/166425/1 accepted/tizen/unified/20180111.140831 submit/tizen/20180110.082551
Boram Park [Wed, 10 Jan 2018 07:07:17 +0000 (16:07 +0900)]
e_comp_object: not apply evas_map if no buffer

Change-Id: I8c07e65e660143e5633acdea9de45189de8b656c

6 years agoe_policy_visibility: do not uniconify_render when the window is not mapped 17/166217/1 accepted/tizen/unified/20180109.172817 submit/tizen/20180109.022737
Doyoun Kang [Tue, 9 Jan 2018 01:58:29 +0000 (10:58 +0900)]
e_policy_visibility: do not uniconify_render when the window is not mapped

Change-Id: I59ae98aa480fda6a1f02867f6f8c8b234b1896d5

6 years agoRevert "e_policy_wl: check map state while handling activate request" 13/166213/1
Doyoun Kang [Tue, 9 Jan 2018 01:53:03 +0000 (10:53 +0900)]
Revert "e_policy_wl: check map state while handling activate request"

This reverts commit d3e56fc0a2e2bdad68545049a2911cdba3d0c4aa.

Change-Id: Ibda5773468994c9fb179d470e80187da3b6384c6

6 years agoe_policy_wl: check map state while handling activate request 00/166100/1
Doyoun Kang [Mon, 8 Jan 2018 01:45:52 +0000 (10:45 +0900)]
e_policy_wl: check map state while handling activate request

Change-Id: I6aa1361bf2596badd8030f9919a8536291126889

6 years agoe_output: expose the e_output_zoom_rotating_check() function 51/165951/3
SooChan Lim [Thu, 4 Jan 2018 09:00:22 +0000 (18:00 +0900)]
e_output: expose the e_output_zoom_rotating_check() function

Change-Id: I3b2fe8dfd7291d05ec75f91aec980339d651787b

6 years agoe_comp_wl_video: add two functions to abstract video layer 50/165950/3
Roman Marchenko [Tue, 28 Nov 2017 14:54:50 +0000 (16:54 +0200)]
e_comp_wl_video: add two functions to abstract video layer

  _e_video_layer_get_available_properties
  _e_video_layer_get_property

Change-Id: I5a84083a23fca1277b4a54239ab9d2e01c1643f3
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
6 years agoe_output_hwc_planes: change the log type 49/165949/3
SooChan Lim [Thu, 4 Jan 2018 07:47:53 +0000 (16:47 +0900)]
e_output_hwc_planes: change the log type

change the log type from "HWC" to "HWC-PLNS"

Change-Id: I91161e5e2aaa31a86f49477caa9caf945b425551

6 years agoe_output_hwc: generate the e_output_hwc_planes files. 48/165948/3
SooChan Lim [Thu, 4 Jan 2018 07:02:59 +0000 (16:02 +0900)]
e_output_hwc: generate the e_output_hwc_planes files.

move the codes for hwc_planes from e_output_hwc to the e_output_hwc_planes file.

Change-Id: I23e80ce9e615eadae40255704dcc7b4213911f99

6 years agoe_output_hwc: add e_output_hwc_policy_get function 47/165947/3
SooChan Lim [Thu, 4 Jan 2018 07:25:39 +0000 (16:25 +0900)]
e_output_hwc: add e_output_hwc_policy_get function

Change-Id: If3037c277e84780df595557312d5b5c604979b7b

6 years agoe_output_hwc: rename E_OUTPUT_HWC_MODE_NO to E_OUTPUT_HWC_MODE_NONE 46/165946/3
SooChan Lim [Thu, 4 Jan 2018 07:04:29 +0000 (16:04 +0900)]
e_output_hwc: rename E_OUTPUT_HWC_MODE_NO to E_OUTPUT_HWC_MODE_NONE

Change-Id: I58ab8904d58c7b54f768747bf6c04fa137c83dd6

6 years agoe_output_hwc: change the prefix of the symbols. 45/165945/3
SooChan Lim [Wed, 3 Jan 2018 12:25:36 +0000 (21:25 +0900)]
e_output_hwc: change the prefix of the symbols.

These functions are all related to the hwc policy to control the planes.
e_hwc_output --> e_hwc_output_planes

Change-Id: I894a39d2bac180f307fe2683ed75a0713aa623af

6 years agoe_output: check the TDM_OUTPUT_CAPABILITY_HWC caps. 44/165944/3
SooChan Lim [Wed, 3 Jan 2018 12:19:38 +0000 (21:19 +0900)]
e_output: check the TDM_OUTPUT_CAPABILITY_HWC caps.

When the output supports the TDM_OUTPUT_CAPABILITY_HWC,
1. the output does not use the planes(tdm_layers) in e20.
2. the E_OUTPUT_HWC_POLICY_WINDOWS is set.

Change-Id: I4fd77066c9e7c92b5b4fff9fc216340e6070604f

6 years agoe_output_hwc: add E_Output_Hwc_Policy 43/165943/2
SooChan Lim [Wed, 3 Jan 2018 12:13:30 +0000 (21:13 +0900)]
e_output_hwc: add E_Output_Hwc_Policy

E_Output_Hwc_Policy is enum vaules which stands for the hwc policy type.

E_OUTPUT_HWC_POLICY_PLANES is the hwc policy which means e20 decides the hwc policy.
E_OUTPUT_HWC_POLICY_WINDOWS is the hwc policy which means tdm-backend decides the hwc policy.

Change-Id: I82a37784abad1dc8e0740477740b2685f31c715f

6 years agoe_comp: put the hwc options after e_comp_screen_init(). 42/165942/2
SooChan Lim [Tue, 2 Jan 2018 06:51:43 +0000 (15:51 +0900)]
e_comp: put the hwc options after e_comp_screen_init().

Change-Id: Ia90367c5f543e5539195c1a85bbd2a23e9d0dc31

6 years agoRevert "tizen-surface: renew tizen-surface protocol path" 62/165862/2
JunSeok Kim [Thu, 4 Jan 2018 10:31:10 +0000 (10:31 +0000)]
Revert "tizen-surface: renew tizen-surface protocol path"

This reverts commit 9133f07bc5aa0d2f8c57c2c90fb39831391dcef2.

Change-Id: I87e6d5959c34b75dbc1f80ec6143536ce86bda66

6 years agoe_comp_screen: call e_output_hwc_apply before e_output_commit 91/165591/2 submit/tizen/20180103.114435
SooChan Lim [Tue, 2 Jan 2018 10:31:11 +0000 (19:31 +0900)]
e_comp_screen: call e_output_hwc_apply before e_output_commit

Change-Id: Ic9bdae6f0e0698f8a13d8fb19988c44cf8e4caa3

6 years agotizen-surface: renew tizen-surface protocol path 34/165634/1
JunSeok, Kim [Thu, 28 Dec 2017 06:47:49 +0000 (15:47 +0900)]
tizen-surface: renew tizen-surface protocol path

Change-Id: I8e5898523be9b264785f30bf60ae2de913419bde

6 years agoe_plane: set the default value of the cursor position.
SooChan Lim [Tue, 2 Jan 2018 07:04:28 +0000 (16:04 +0900)]
e_plane: set the default value of the cursor position.

Set the default dst positions when the cursor position is out of bound.

Change-Id: I72f87e82b6671388a4eb84867c4a074f14807b81

6 years agoe_policy_visibility: cancel job grab of client when client iconify 37/165437/3 accepted/tizen/unified/20180103.070213 submit/tizen/20180102.065942
JunSeok, Kim [Fri, 29 Dec 2017 02:43:17 +0000 (11:43 +0900)]
e_policy_visibility: cancel job grab of client when client iconify

Change-Id: I5045ed0eda7380889eae4f239b4fbd1bf80bca67

6 years agoe_policy_visibility: cancel job grab of client when client layer lower 36/165436/3
JunSeok, Kim [Fri, 29 Dec 2017 02:42:55 +0000 (11:42 +0900)]
e_policy_visibility: cancel job grab of client when client layer lower

Change-Id: I27a6a022ec044db7bff1f4e0650e445e484fb7d4

6 years agoe_policy_visibility: functionalization of job grab cancel 35/165435/4
JunSeok, Kim [Fri, 29 Dec 2017 02:39:01 +0000 (11:39 +0900)]
e_policy_visibility: functionalization of job grab cancel

Change-Id: Ie1edc186770a3edb1464079bf2d24fd47ff42dcc

6 years agoe_comp_object: Dim mask set/unset logic fixed. 78/165378/3
ritesh.u [Thu, 28 Dec 2017 11:21:24 +0000 (16:51 +0530)]
e_comp_object: Dim mask set/unset logic fixed.

DIM mask logic fixed.
1. Added logs for mask set/unset
2. Correct variable name from dim_enable to enable
3. Ensured mask is set only after dim effect is applied and mask is unset first and then dim effect is removed.
4. dim enable check moved to correct function else mask unset issues existed.

Change-Id: I8890e1630149b87685fff9af66d962e466633204
Signed-off-by: ritesh.u <ritesh.u@samsung.com>
6 years agochange log_tag for visibility (no logic change) 30/165430/2
Doyoun Kang [Fri, 29 Dec 2017 02:44:54 +0000 (11:44 +0900)]
change log_tag for visibility (no logic change)

Change-Id: Ie39708b698a30f70ba9980def24ab7652115a9a3