platform/upstream/enlightenment.git
7 years agoe_pixmap: fixed wrong tbm format when checking argb 34/94334/2
Changyeon Lee [Thu, 20 Oct 2016 11:35:33 +0000 (20:35 +0900)]
e_pixmap: fixed wrong tbm format when checking argb

Change-Id: I659a10729df8ca8403733e97a16a94f2c0bdf90b

7 years agoe_zone: added new event type for rotation effect 19/94319/3
MinJeong Kim [Thu, 20 Oct 2016 07:32:22 +0000 (16:32 +0900)]
e_zone: added new event type for rotation effect

- E_EVENT_ZONE_ROTATION_EFFECT_READY : rotation effect is ready
- E_EVENT_ZONE_ROTATION_EFFECT_CANCEL : rotation effect is cancelled
- E_EVENT_ZONE_ROTATION_EFFECT_DONE  : rotation effect is done

Change-Id: I585dc2e2cf56f26bfdf316e37a48cb0725e2e519
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoHWC: Added hwc_deactive configuration to disable hwc policy 05/93805/8
Juyeon Lee [Wed, 26 Oct 2016 04:55:47 +0000 (13:55 +0900)]
HWC: Added hwc_deactive configuration to disable hwc policy

hwc_deactive is a condition whether hwc policy to run or not.
'hwc_fs' is removed because, 'hwc_deactive' condition replaces it exclusively
default value is 0, it may be deactevated by plane init failure
even success, it could be deactivated by e_comp.cfg or by enlightenment_info command

Change-Id: Ic3009e664989b0fa2c50ac0ee282b7221f56889b
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
7 years agoe_comp_wl: check if cursor timer is not NULL when gets mouse_in 41/92541/7
Duna Oh [Mon, 17 Oct 2016 09:02:08 +0000 (18:02 +0900)]
e_comp_wl: check if cursor timer is not NULL when gets mouse_in

When gets mouse_out, we calls e_pointer_object_set() for resetting cursor.
It hides cursor, not by cursor hide timer.
We gets mouse_in after mouse_out. We need to check cursor timer and send wl_pointer.enter event.

Change-Id: Ia9102a60517f23e6b46fe623374bb2669552b18d
Signed-off-by: Duna Oh <duna.oh@samsung.com>
7 years agoe_client: add e_client_cursor_hide() E_API for hiding client's cursor. 44/92544/7
Duna Oh [Mon, 17 Oct 2016 10:01:27 +0000 (19:01 +0900)]
e_client: add e_client_cursor_hide() E_API for hiding client's cursor.

Change-Id: Icdc93dcd741f95101e690f544002d691f6189d49
Signed-off-by: Duna Oh <duna.oh@samsung.com>
7 years agoadd hook E_COMP_WL_HOOK_SUBSURFACE_CREATE 19/93619/2
Jungeun Yoo [Tue, 25 Oct 2016 05:46:45 +0000 (14:46 +0900)]
add hook E_COMP_WL_HOOK_SUBSURFACE_CREATE

Signed-off-by: Jungeun Yoo <jungeun_.yoo@samsung.com>
Change-Id: Ib897b8d6bd94371e457f96ffbf0b7ac7b15b1694

7 years agoe_test_helper: Add initial implementation for rotation. 89/94289/2
Seunghun Lee [Fri, 28 Oct 2016 04:37:56 +0000 (13:37 +0900)]
e_test_helper: Add initial implementation for rotation.

Basic implementation for rotation tc.

Added Signal:
"WinRotationChanged" : send a signal to client when given window finish rotation.

Added Method:
"GetWinInfo" : get a information of window which has given id
"GetCurrentZoneRotation" : get a rotation of current zone.
"ChangeZoneRotation" : request a rotation to a given angle.

Renamed Method:
"GetWindowInfo" -> "GetWinsInfo"

Change-Id: I0f678aeb1536251df5d2ccd931756c1888eb95bd

7 years agoe_client: don't stack vkbd if parent is splitted 76/94276/2
Juyeon Lee [Fri, 28 Oct 2016 02:48:26 +0000 (11:48 +0900)]
e_client: don't stack vkbd if parent is splitted

Change-Id: I4db22e0c4abea9f01b672895345cef06a42ee4e6

7 years agoe_policy: Added interceptor for stack transient_for 57/94057/3
Juyeon Lee [Thu, 27 Oct 2016 04:41:07 +0000 (13:41 +0900)]
e_policy: Added interceptor for stack transient_for

Change-Id: I628d15dd4079e0788eac61b103faa07b97d2ff76
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
7 years agoe_comp_wl_rsm: supporting shm video buffer of remote provider 39/94139/2
MinJeong Kim [Thu, 27 Oct 2016 06:37:12 +0000 (15:37 +0900)]
e_comp_wl_rsm: supporting shm video buffer of remote provider

Change-Id: I57d25545af71ebe66de73bc21d038fdeeca971d5
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoe_comp_wl: consider remote_surface's position for subsurface 39/93339/4
Boram Park [Fri, 21 Oct 2016 09:43:48 +0000 (18:43 +0900)]
e_comp_wl: consider remote_surface's position for subsurface

Change-Id: Iccf177fe00e5b7c74988517a598cb5d511032903

7 years agoe_info: add stand_alone information to subsurface option 14/94314/2
Boram Park [Thu, 27 Oct 2016 02:45:34 +0000 (11:45 +0900)]
e_info: add stand_alone information to subsurface option

Change-Id: Ide1f022a8a8d48246f33c13a1dc72e36e5022214

7 years agoe_comp_wl: not iconify if subc has stand_alone flag. 46/93546/3
Boram Park [Mon, 24 Oct 2016 08:59:16 +0000 (17:59 +0900)]
e_comp_wl: not iconify if subc has stand_alone flag.

If subsurface has stand_alone, it doesn't follow parent's iconifying
or visibility.

Change-Id: Ifee30318a9dc59e695c6612a92b7b4eff43f7293

7 years agoe_comp_wl_rsm: added provider's visibility change event and modified makefile 75/92875/5
MinJeong Kim [Wed, 19 Oct 2016 07:50:24 +0000 (16:50 +0900)]
e_comp_wl_rsm: added provider's visibility change event and modified makefile

- added E_EVENT_REMOTE_SURFACE_PROVIDER_VISIBILITY_CHANGE
- moved checking code for HAVE_REMOTE_SURFACE macros to inside of e_comp_wl_rsm

Change-Id: I10f12525e0600b6420b13c2888ac083362d7cf2f
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoe_comp_wl_rsm: Added client del hook and more log message 70/92770/5
MinJeong Kim [Mon, 17 Oct 2016 12:35:37 +0000 (21:35 +0900)]
e_comp_wl_rsm: Added client del hook and more log message

Change-Id: I1171bc443efa790d81c613570755e89f34464a43
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoe_comp_wl_rsm: send 'visibility' of remote surface provider 69/92769/5
MinJeong Kim [Mon, 17 Oct 2016 11:32:20 +0000 (20:32 +0900)]
e_comp_wl_rsm: send 'visibility' of remote surface provider

Change-Id: I8efbefc0daa70c25bb824ca0cf283e62b94ff9c7
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoe_comp_wl: reparent subsurface if it is child of remote surface provider 68/92768/5
MinJeong Kim [Mon, 17 Oct 2016 11:29:11 +0000 (20:29 +0900)]
e_comp_wl: reparent subsurface if it is child of remote surface provider

Change-Id: I37a7cd02fb2c91e655d9f30c26c2e56fa49174cd
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoe_comp_wl_rsm: Added geometry and owner setting of the remote surface 67/92767/5
MinJeong Kim [Mon, 17 Oct 2016 11:18:42 +0000 (20:18 +0900)]
e_comp_wl_rsm: Added geometry and owner setting of the remote surface

- added remote_surface struct to "E_Comp_Wl_Client_Data"
- support interface "tizen_remote_surface_region"
- added tizen_remote_surface@set_owner callback
- calculates and store top-visible client of provider if its any remote surface's owner is set

Change-Id: I942c218e1a9753ff9bbd1cb9c65a850fb985247c
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agopolicy: changed code to call e_client_uniconify instead e_client_activate. 38/94738/1 accepted/tizen/3.0/ivi/20161102.080522 accepted/tizen/3.0/mobile/20161102.080426 accepted/tizen/3.0/tv/20161102.080443 accepted/tizen/3.0/wearable/20161102.080502 accepted/tizen/ivi/20161101.122620 accepted/tizen/mobile/20161101.122527 accepted/tizen/tv/20161101.122553 accepted/tizen/wearable/20161101.122606 submit/tizen/20161101.050138 submit/tizen_3.0/20161102.065320
Doyoun Kang [Tue, 1 Nov 2016 04:22:55 +0000 (13:22 +0900)]
policy: changed code to call e_client_uniconify instead e_client_activate.

there was a bug that the window which called activate below got focus for a short time

Change-Id: Ie64baf5d4ef328c00ce3241ee24140333283abca

7 years agoe_info_server: getenv E_INFO_TRACE_FILE in init() and trace protocol logs from boot 14/93214/3
Duna Oh [Fri, 21 Oct 2016 04:59:12 +0000 (13:59 +0900)]
e_info_server: getenv E_INFO_TRACE_FILE in init() and trace protocol logs from boot

Change-Id: I08e35c1a00f93d35c4a0b5420de8036432dd915f
Signed-off-by: Duna Oh <duna.oh@samsung.com>
7 years agoe_comp_wl: Remove list of focused when a focused client is destroyed 28/92928/3
JengHyun Kang [Wed, 19 Oct 2016 10:57:35 +0000 (19:57 +0900)]
e_comp_wl: Remove list of focused when a focused client is destroyed

Change-Id: Ic6f4bc903328cc86c2998e0216be9f6f9d97b46e

7 years agoReplacing strerror with thread safe strerror_r 46/93846/1
Dhiraj Kr Mishra [Wed, 26 Oct 2016 06:35:24 +0000 (12:05 +0530)]
Replacing strerror with thread safe strerror_r

Change-Id: I5fa50e3e6bea30b3c9d7596e0887983486fa6c84
Signed-off-by: Dhiraj Kr Mishra <dk.mishra@samsung.com>
7 years agoe_plane_renderer: release displaying surface when candidated ec is deactivated 43/93443/5 accepted/tizen/3.0/ivi/20161028.151256 accepted/tizen/3.0/mobile/20161028.143151 accepted/tizen/3.0/tv/20161028.143458 accepted/tizen/3.0/wearable/20161028.150827 accepted/tizen/common/20161024.135015 accepted/tizen/ivi/20161026.053527 accepted/tizen/mobile/20161026.053421 accepted/tizen/tv/20161026.053453 accepted/tizen/wearable/20161026.053513 submit/tizen/20161024.043840 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092423 submit/tizen_3.0_common/20161104.104000
Changyeon Lee [Mon, 24 Oct 2016 09:28:30 +0000 (18:28 +0900)]
e_plane_renderer: release displaying surface when candidated ec is deactivated

for avoiding e20 and candidated client use scanout buffer at the same time

Change-Id: Ib29d47fcab4fe6db90db1fe880517e3738ec196f

7 years agodeiconify: apply the deiconify mechanism to uniconify by wm 56/93356/1
Doyoun Kang [Mon, 24 Oct 2016 01:32:11 +0000 (10:32 +0900)]
deiconify: apply the deiconify mechanism to uniconify by wm

Change-Id: I4f88db892438e7f2c310b3af93a8598761beac17

7 years agoiconify: added code check ec->visible in _e_policy_cb_hook_client_visibility(). 45/93345/1
Doyoun Kang [Mon, 24 Oct 2016 00:04:43 +0000 (09:04 +0900)]
iconify: added code check ec->visible in _e_policy_cb_hook_client_visibility().

there was a bug that the below window of the alpha opaque window was not uniconified
when the unviewable(unmapped) window existed between them

Change-Id: Iade952daaacc63de52f3695f70daf1e95e966498

7 years agohwc : cancel hwc if surface is not fullfill the fb_target hw layer 44/93244/1
Juyeon Lee [Fri, 21 Oct 2016 08:16:42 +0000 (17:16 +0900)]
hwc : cancel hwc if surface is not fullfill the fb_target hw layer

Change-Id: I6ecf0266834cf57f047a52151d231a05542e7e85

7 years agofocus: added code to handle the focus when the window change its skip_focus state 54/93154/2
Doyoun Kang [Thu, 20 Oct 2016 13:00:25 +0000 (22:00 +0900)]
focus: added code to handle the focus when the window change its skip_focus state

Change-Id: Ib89efe870e5adc9e8f8087c021c96e45a33243ef

7 years agoe_info_server: fixed a warning. 93/93193/1
Gwanglim Lee [Fri, 21 Oct 2016 02:20:24 +0000 (11:20 +0900)]
e_info_server: fixed a warning.

Change-Id: If1eb358564bef9be3e55089465d2ac03b3d21f7c

7 years agoe_info: add output_mode command 11/90711/9
Junkyeong Kim [Tue, 4 Oct 2016 04:39:24 +0000 (13:39 +0900)]
e_info: add output_mode command

Change-Id: Ib73bf9d6459605484b59f70a9f9a7efd1939f443
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_policy_wl: comp job add to check hwc usable when aux hint always.selective.mode... 64/93064/2 accepted/tizen/common/20161020.173529 accepted/tizen/ivi/20161020.133415 accepted/tizen/mobile/20161020.133314 accepted/tizen/tv/20161020.133331 accepted/tizen/wearable/20161020.133352 submit/tizen/20161020.112435
Juyeon Lee [Thu, 20 Oct 2016 07:25:50 +0000 (16:25 +0900)]
e_policy_wl: comp job add to check hwc usable when aux hint always.selective.mode changes

Change-Id: I5d5dd56450d3dcd8d61991f00f2f367e4fa69735

7 years agovisibility: Make composite mode to norender state when foreground activity client... 09/93109/2
Seunghun Lee [Thu, 20 Oct 2016 07:42:37 +0000 (16:42 +0900)]
visibility: Make composite mode to norender state when foreground activity client is hidden.

We need to keep the frame of client which is just about to hide until
below activity is ready to show.

Change-Id: I14829fc5953f99baf5df84096c195cc429347603

7 years agovisibility: expose a e_policy_visibility APIs. 08/93108/2
Seunghun Lee [Thu, 20 Oct 2016 04:32:11 +0000 (13:32 +0900)]
visibility: expose a e_policy_visibility APIs.

Change-Id: Ib05fb0d4b5a5979c72df3d9864c798affd879779

7 years agovisibility: fix the problem that black frame is displayed for a moment when activity... 07/93107/2
Seunghun Lee [Wed, 19 Oct 2016 06:45:50 +0000 (15:45 +0900)]
visibility: fix the problem that black frame is displayed for a moment when activity client is destroyed.

Client can be uniconified and shown by calculating visibility even if it's on
deiconify rendering. in this case, do not change a state to uniconic if a client
on deiconify rendering so that above client keep stay showing until finish the
frame of below client.

Change-Id: I9786794edee9441556c01bdff487a111a36e75c0

7 years agoenlightenment_info -prop : aux_hint info add 29/92929/2
Sungbae Park [Wed, 19 Oct 2016 11:01:56 +0000 (20:01 +0900)]
enlightenment_info -prop : aux_hint info add

Signed-off-by: Sungbae Park <sb34.park@samsung.com>
Change-Id: I42b60f8d6c87a0bc039638249c23071bc30f7182

7 years agoe_comp_wl: force update after changing alpha 42/93042/1
Boram Park [Thu, 20 Oct 2016 06:19:28 +0000 (15:19 +0900)]
e_comp_wl: force update after changing alpha

force update for changing alpha value. If the native surface has been already
set before, changing alpha value can't be applied to egl image.

Change-Id: I5f8120c71fcc3d3048baa807389d9ee44068e9c1

7 years agoe_plane: surface queue of fb plane clear when plane is updated in hwc mode 30/92930/2 accepted/tizen/common/20161019.150327 accepted/tizen/ivi/20161019.142428 accepted/tizen/mobile/20161019.142343 accepted/tizen/tv/20161019.142359 accepted/tizen/wearable/20161019.142413 submit/tizen/20161019.121409
Changyeon Lee [Wed, 19 Oct 2016 10:29:56 +0000 (19:29 +0900)]
e_plane: surface queue of fb plane clear when plane is updated in hwc mode

if surface queue isn't cleared and has surface can be acquired,
e20 will display surface that rendered before hwc mode when entering compositing mode.

Change-Id: Id14d5a7fc9ccc48b4a1a6470b0c955096211d00f

7 years agoe_plane_renderer: fixed warnings 13/92713/1 accepted/tizen/common/20161018.175324 accepted/tizen/ivi/20161019.044205 accepted/tizen/mobile/20161019.044119 accepted/tizen/tv/20161019.044134 accepted/tizen/wearable/20161019.044150 submit/tizen/20161018.102647
Gwanglim Lee [Tue, 18 Oct 2016 08:44:31 +0000 (17:44 +0900)]
e_plane_renderer: fixed warnings

Change-Id: I99ec7bb4f51d4f2219a01f2ea2801414b43656b1

7 years agoe_plane_renderer: using openmp when copying the frame buffer. 05/92705/3
Gwanglim Lee [Tue, 18 Oct 2016 08:04:20 +0000 (17:04 +0900)]
e_plane_renderer: using openmp when copying the frame buffer.

The openmp can reduce time of memcpy about 30 ~ 50ms on the TM1 target.
Now, it is enabled only in the mobile 32bit target. Other profiles and
architectures should also have this feature after testing.

Change-Id: Ic2655bdbe8e2e348bc9c1081b75278c24f884b01

7 years agoe_plane_renderer: release displaying tsurface to queue when enter compositing 60/92660/2
Changyeon Lee [Mon, 17 Oct 2016 15:00:36 +0000 (00:00 +0900)]
e_plane_renderer: release displaying tsurface to queue when enter compositing

if displaying tsurface ins't released when enter compositing mode,
e20 and client use scanout buffer at the same time.

Change-Id: I75bc7d8a70d1e17157f39e3d9f39588e963b32e5

7 years agoDo not reuse launchscreen client having comp_data and rename variables and functions... 95/91995/3 accepted/tizen/common/20161017.170549 accepted/tizen/ivi/20161018.021759 accepted/tizen/mobile/20161018.021641 accepted/tizen/tv/20161018.021703 accepted/tizen/wearable/20161018.021725 submit/tizen/20161017.132052
MinJeong Kim [Wed, 12 Oct 2016 12:52:49 +0000 (21:52 +0900)]
Do not reuse launchscreen client having comp_data and rename variables and functions of launchscreen

Change-Id: I40b9a72be1ba514f68338e560794e024c0311534
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoe_comp_canvas: manual_render_set in norender_push/pop func if conf->hwc is 0 60/92460/7
Juyeon Lee [Mon, 17 Oct 2016 05:52:05 +0000 (14:52 +0900)]
e_comp_canvas: manual_render_set in norender_push/pop func if conf->hwc is 0

e_plane_render is not working when e_comp->hwc is 0, so
do manually render in this case

Change-Id: I19547ccad516e9ac529335f8bb14a5df534b6773
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
7 years agoe_slot: find top most client on slot 25/92425/4
Juyeon Lee [Mon, 17 Oct 2016 03:48:23 +0000 (12:48 +0900)]
e_slot: find top most client on slot

Change-Id: I8fb813edca34b959a66cd64aada21fab3ef1f30b
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
7 years agoe_comp : 1. ERR log added for e_comp_socket_init. 2. delete existing symlink before... 65/92465/3
Junghwan Choi [Mon, 17 Oct 2016 06:07:53 +0000 (15:07 +0900)]
e_comp : 1. ERR log added for e_comp_socket_init. 2. delete existing symlink before creating the symlink

Change-Id: If69fca63c33550a9c0d24a440bd514ce5edd07fb
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
7 years agovisibility: should return true if at least one client is needed to render for deiconi... 58/92558/1
Seunghun Lee [Mon, 17 Oct 2016 06:57:46 +0000 (15:57 +0900)]
visibility: should return true if at least one client is needed to render for deiconifying.

Change-Id: Ia2f465f54150c9eabc78ce9e3d81c60632c64146

7 years agovisibility: add missing 'static' for internal function 57/92557/1
Seunghun Lee [Fri, 14 Oct 2016 09:06:11 +0000 (18:06 +0900)]
visibility: add missing 'static' for internal function

Change-Id: Ie7e5283028c47cfb8f1fcbd0e69f134395fdcb84

7 years agoe_client: fixed a bug for buffer overflow 22/92422/2 accepted/tizen/ivi/20161017.080322 accepted/tizen/mobile/20161017.080230 accepted/tizen/tv/20161017.080246 accepted/tizen/wearable/20161017.080303 submit/tizen/20161017.025753
Doyoun Kang [Mon, 17 Oct 2016 02:44:29 +0000 (11:44 +0900)]
e_client: fixed a bug for buffer overflow

Change-Id: I92a60dc015b734eb12741b4d096ead076941bf21

7 years agoe_client: no visibility calc during norender 49/92149/2
Juyeon Lee [Thu, 13 Oct 2016 11:42:28 +0000 (20:42 +0900)]
e_client: no visibility calc during norender

Change-Id: I9e09eaef5efad98d39e4f1d49613a519fa099cf9

7 years agoe_client: keyboard doesn't change geom when transient parent move 42/92142/2 accepted/tizen/common/20161013.161011 accepted/tizen/ivi/20161014.074518 accepted/tizen/mobile/20161014.074403 accepted/tizen/tv/20161014.074423 accepted/tizen/wearable/20161014.074451 submit/tizen/20161013.120455
Juyeon Lee [Thu, 13 Oct 2016 10:34:26 +0000 (19:34 +0900)]
e_client: keyboard doesn't change geom when transient parent move

Change-Id: I478325facdb000eb38ae25d565882a9cca8006ce

7 years agoe_client: added intercept hook function. 71/92071/1
Doyoun Kang [Thu, 13 Oct 2016 06:35:18 +0000 (15:35 +0900)]
e_client: added intercept hook function.

currently, E_CLIENT_INTERCEPT_HOOK_FOCUS_REVERT hook is provided.

Change-Id: I1e85ad7245dcf04b4f414c8d8f3c02586144068e

7 years agofocus policy: changed the focus policy. 35/92035/1
Doyoun Kang [Thu, 13 Oct 2016 02:52:52 +0000 (11:52 +0900)]
focus policy: changed the focus policy.

previous focus policy was that the top window got the focus always.
we've changed this policy considering latest focus.

Change-Id: I49cb6b62869d844ee8b54ae302e8bac755cca5e3

7 years agoe_comp: remove code that nocomp_use_timer is always 0 47/91947/2 accepted/tizen/common/20161012.154856 accepted/tizen/ivi/20161013.012449 accepted/tizen/mobile/20161013.012406 accepted/tizen/tv/20161013.012420 accepted/tizen/wearable/20161013.012435 submit/tizen/20161012.110306
Juyeon Lee [Wed, 12 Oct 2016 08:46:07 +0000 (17:46 +0900)]
e_comp: remove code that nocomp_use_timer is always 0

Change-Id: If18ddcdd73ed273b76639ea98c0fe67d331f14f1

7 years agohwc: if multi plane mode is disabled, core cancels hwc only about fb target 41/91941/3
Juyeon Lee [Wed, 12 Oct 2016 08:27:59 +0000 (17:27 +0900)]
hwc: if multi plane mode is disabled, core cancels hwc only about fb target

Change-Id: I92a01bd530afe4f7e1a9ff744f4b676c721f6c81

7 years agoe_comp: hwc_mode is enumerated into no, hybird, fully hwc 35/91935/3
Juyeon Lee [Wed, 12 Oct 2016 08:14:44 +0000 (17:14 +0900)]
e_comp: hwc_mode is enumerated into no, hybird, fully hwc

enum added as
 E_HWC_MODE_NO = 0  // no hwc
 E_HWC_MODE_HYBRID, // compositor composites some sufraces on fb plane
 E_HWC_MODE_FULL    // client surfaces are fully assigned on plane, no composite

 hwc_mode will be one of state, and if it is not E_HWC_MODE_FULL,
 refresh cw surface to be composited

Change-Id: I33cc0613a6d457c85f9fb7d18a6c666ec64411dc

7 years agoremove double quotation in ttrace tag 91/91591/2
Changyeon Lee [Mon, 10 Oct 2016 08:54:52 +0000 (17:54 +0900)]
remove double quotation in ttrace tag

browser can't do parsing double quotation.

Change-Id: Ib2476d8539cddd08e9de0e31a2ae2cc061a3af93

7 years agoe_comp_wl: Remove focused list if the surface is destroyed 36/91736/3 accepted/tizen/common/20161011.154405 accepted/tizen/ivi/20161011.234321 accepted/tizen/mobile/20161011.234334 accepted/tizen/tv/20161011.234220 accepted/tizen/wearable/20161011.234236 submit/tizen/20161011.071721
JengHyun Kang [Tue, 11 Oct 2016 06:15:47 +0000 (15:15 +0900)]
e_comp_wl: Remove focused list if the surface is destroyed

Change-Id: Ib01d83eff2ab81b7e15674950399e5c3bc54275f

7 years agoe_comp: Modify arguments name about e_client_mouse_wheel_send() 09/91509/2
JengHyun Kang [Mon, 10 Oct 2016 02:26:12 +0000 (11:26 +0900)]
e_comp: Modify arguments name about e_client_mouse_wheel_send()

Change-Id: I6c2520a7e5609961d98ed4f2cd28f43a1a0f6dc3

7 years agoe_comp_wl: Skip touch move events that be generated before touch down events 96/90696/6
JengHyun Kang [Tue, 4 Oct 2016 01:48:28 +0000 (10:48 +0900)]
e_comp_wl: Skip touch move events that be generated before touch down events

This reverts commit 2f15d823fa6bd90a6f3906ffdc9a4f0778c38699.

Change-Id: Ia9a4a091574c718e3f94def3310b28f78b3691f5

7 years agovisibility: fix a checking code for opaque type. 36/91536/3 accepted/tizen/common/20161010.150005 submit/tizen/20161010.105954
Seunghun Lee [Mon, 10 Oct 2016 06:08:23 +0000 (15:08 +0900)]
visibility: fix a checking code for opaque type.

there was a problem that alpha and non-opaque window was selected as a activity,
because only considered that 0 meant a non-opaque, but -1 also means non-opaque.

Change-Id: Ic64df32f503ca2d29f57bb19843ccd1e291afa2c

7 years agoe_client: add blank API (e_client_cursor_map_apply) to prevent build break in e-mod... 22/91522/2
Duna Oh [Mon, 10 Oct 2016 05:00:04 +0000 (14:00 +0900)]
e_client: add blank API (e_client_cursor_map_apply) to prevent build break in e-mod-tizen-wm-policy

Change-Id: I7ae96d5b2f64cbcae5de6da991abab9c62c4b827
Signed-off-by: Duna Oh <duna.oh@samsung.com>
7 years agoe_info: Modify a protocol trace's time log. real time to monotonic time 17/91517/2
JengHyun Kang [Mon, 10 Oct 2016 04:13:27 +0000 (13:13 +0900)]
e_info: Modify a protocol trace's time log. real time to monotonic time

Change-Id: I8b9cd2b67d1fc52db29b56656ac5c6495602fc24

7 years agoe_plane: correct the layer size information 14/90914/5
Boram Park [Wed, 5 Oct 2016 02:38:33 +0000 (11:38 +0900)]
e_plane: correct the layer size information

Change-Id: I57868132c0747d86a3b7509af17ecd82e8ef7960

7 years agotizen-remote-surface: updated offscreen set and input transfer 94/91394/2
MinJeong Kim [Fri, 7 Oct 2016 07:02:34 +0000 (16:02 +0900)]
tizen-remote-surface: updated offscreen set and input transfer

- support offscreen set/unset
- support bind update
- some renaming for device class
- implement transfer touch cancel/mouse wheel

Change-Id: I7c4764e62cb3f1f933c2355297a855620d6ec939
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoe_comp_wl: when canvas is rotated, change uv of cursor image and calls ecore_drm_devi... 68/89368/8
Duna Oh [Fri, 23 Sep 2016 07:56:42 +0000 (16:56 +0900)]
e_comp_wl: when canvas is rotated, change uv of cursor image and calls ecore_drm_device_pointer_rotation_set()

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I809b9ba1d4c688e0d5fab4276935d324d8780b52

7 years agoe_comp_object_effect_part_swallow api add 32/91132/2
Sungbae Park [Thu, 6 Oct 2016 04:30:25 +0000 (13:30 +0900)]
e_comp_object_effect_part_swallow api add

Signed-off-by: Sungbae Park <sb34.park@samsung.com>
Change-Id: Ie5c95572cc367ddddaafa37c4820262226805edc

7 years agopolicy: send stack changed aux msg after handling activate below request. 79/91379/2 accepted/tizen/common/20161007.173233 accepted/tizen/ivi/20161007.104016 accepted/tizen/mobile/20161007.104101 accepted/tizen/tv/20161007.104032 accepted/tizen/wearable/20161007.104046 submit/tizen/20161007.081241
Doyoun Kang [Fri, 7 Oct 2016 07:50:06 +0000 (16:50 +0900)]
policy: send stack changed aux msg after handling activate below request.

Change-Id: I431b2b0a833c41ef354d8b0571dfae591927cbac

7 years agovisibility: Remove some duplicated code, and rename function more appropriately. 82/91282/2
Seunghun Lee [Thu, 6 Oct 2016 11:27:59 +0000 (20:27 +0900)]
visibility: Remove some duplicated code, and rename function more appropriately.

Change-Id: I379fb8400192154e36d75a84f2d73363742de6d0

7 years agovisibility: Create client data for visibility by a hook, 'E_CLIENT_HOOK_NEW_CLIENT_PO... 81/91281/2
Seunghun Lee [Thu, 6 Oct 2016 12:31:16 +0000 (21:31 +0900)]
visibility: Create client data for visibility by a hook, 'E_CLIENT_HOOK_NEW_CLIENT_POST' instead of 'E_EVENT_CLIENT_ADD'.

There is a problem that if we use 'E_EVENT_CLIENT_ADD', then we cannot fetch
a aux hint into E_Vis_Client. Becase ecore event can be happend later than fetching
aux hint which is called by dispatching wayland protocol.
Thus, we need to create a data, E_Vis_Client by 'E_CLIENT_HOOK_NEW_CLIENT_POST',
so that we can prepare a data before fetching aux hint.

Change-Id: I9792880dbc9d3705f3cdcf2b4d13b9c365278d4f

7 years agovisibility: Added API in order to disable deiconify rendering and make it settable... 80/91280/2
Seunghun Lee [Thu, 6 Oct 2016 11:22:07 +0000 (20:22 +0900)]
visibility: Added API in order to disable deiconify rendering and make it settable by aux hint.

Added New API
e_policy_visibility_deiconify_render_disable_set(E_Client *ec, Eina_Bool disable)

Change-Id: I496e2a5ec4843cdeb4c69113faf2cac81edc5cf1

7 years agoe_comp_canvas: don't manual_render_set in norender_push/pop func 99/91299/1 accepted/tizen/3.0/ivi/20161011.044044 accepted/tizen/3.0/mobile/20161015.033111 accepted/tizen/3.0/tv/20161016.004539 accepted/tizen/3.0/wearable/20161015.082734 accepted/tizen/common/20161006.153843 accepted/tizen/ivi/20161006.235443 accepted/tizen/mobile/20161006.235400 accepted/tizen/tv/20161006.235412 accepted/tizen/wearable/20161006.235426 submit/tizen/20161006.085324 submit/tizen_3.0_ivi/20161010.000002 submit/tizen_3.0_mobile/20161015.000002 submit/tizen_3.0_tv/20161015.000002 submit/tizen_3.0_wearable/20161015.000002
Changyeon Lee [Thu, 6 Oct 2016 14:24:04 +0000 (23:24 +0900)]
e_comp_canvas: don't manual_render_set in norender_push/pop func

e_plane set true manual_render and want don't set false,
because e_plane want control rendering of by manual_render.
if maual_render set false, e20 enter deadlock problem (waiting buffer)

Change-Id: If34594ba4424989f227a33768e1e5316a294d44a

7 years agoe_plane_renderer: remove event lock and always check can acquire 58/91258/9
Sangjin Lee [Thu, 6 Oct 2016 11:37:59 +0000 (20:37 +0900)]
e_plane_renderer: remove event lock and always check can acquire
in nocomp mode if client doesn't update buffer.

we want share only event fd in queue acquirable cb and event acquirable event cb

Change-Id: I36b20ad9a65affd9ce64b45d645dd8c573be2256

7 years agoe_policy: force render for uniconified client having unused shm buffer 46/91246/3
MinJeong Kim [Thu, 6 Oct 2016 10:49:27 +0000 (19:49 +0900)]
e_policy: force render for uniconified client having unused shm buffer

 If there are clients not supporting iconify state change events, those
clients can request wl_surface@commit anytime after being iconfied. but
wl_surface@commit for iconified clients having shm buffer doesn't affect to
its comp object rendering because the comp object is invisible.
 And even if the client is uniconified, it can be never composited if the client
doesn't send new wl_surface@attach.
 So, wl_callback@done is never sent to client as well, and it's possible to
cause block of client-side rendering.

 To resolve the problem, we need to do force render for uniconified client
having unused shm buffer.

Change-Id: I9d227c3a27b5cdaa1b773a174e772f01ed338886
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agofix savce: use strerror_r instead of strerror 49/90849/2
Juyeon Lee [Tue, 4 Oct 2016 11:23:59 +0000 (20:23 +0900)]
fix savce: use strerror_r instead of strerror

Change-Id: I41006ff266f93d8500c0682320e4c8d0ce802c89

7 years agofix savce: use getpwnam_r, getgrnam_r instead of getpwnam and getgrnam 37/90837/2
Juyeon Lee [Tue, 4 Oct 2016 10:10:54 +0000 (19:10 +0900)]
fix savce: use getpwnam_r, getgrnam_r instead of getpwnam and getgrnam

Change-Id: I3bdaa1d4951b8992a233999e88f08ad9726c59e5

7 years agoe_process: added function - e_process_state_get 81/91181/1
Doyoun Kang [Thu, 6 Oct 2016 06:53:45 +0000 (15:53 +0900)]
e_process: added function - e_process_state_get

Change-Id: I39458543262f7974d8172d3f73904b93f3d044f7

7 years agoe_process: changed E_Process_State enumeration 10/91110/3
Doyoun Kang [Thu, 6 Oct 2016 01:46:21 +0000 (10:46 +0900)]
e_process: changed E_Process_State enumeration

Change-Id: I63b0ec613b66b750073558bd7be2adbc1926d3d8

7 years agodon't null set ec of plane in reserved set 53/90953/1 accepted/tizen/common/20161005.165709 accepted/tizen/ivi/20161005.120109 accepted/tizen/mobile/20161005.120001 accepted/tizen/tv/20161005.120029 accepted/tizen/wearable/20161005.120052 submit/tizen/20161004.080631 submit/tizen_common/20161005.072458
Changyeon Lee [Wed, 5 Oct 2016 06:43:39 +0000 (15:43 +0900)]
don't null set ec of plane in reserved set

Change-Id: I8af7fd5ee951452ebbdb56d957f1b5f2c29a9d77

7 years agoe_plane: fixed build warning (unused variable) 00/90900/2
Doyoun Kang [Wed, 5 Oct 2016 01:58:42 +0000 (10:58 +0900)]
e_plane: fixed build warning (unused variable)

Change-Id: I418ba9f0505e002fa68a27e7026ecc72231cd505

7 years agoe_policy_visibility : check above alpha opaque bug fixed 36/90736/3
Junghwan Choi [Tue, 4 Oct 2016 06:16:36 +0000 (15:16 +0900)]
e_policy_visibility : check above alpha opaque bug fixed

Change-Id: I92a5adb774a4b5d3d64c40da8c0e13f109be86d5
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
7 years agoe_client: Add a API to send a mouse wheel event 64/90464/2
JengHyun Kang [Fri, 30 Sep 2016 07:30:06 +0000 (16:30 +0900)]
e_client: Add a API to send a mouse wheel event

Change-Id: Ibcc234976560df4bc11f665c6c807b54154933d1

7 years agoe_output: separate compositor rendering and output commit 41/90641/2 accepted/tizen/common/20161004.194319
Changyeon Lee [Fri, 30 Sep 2016 07:33:07 +0000 (16:33 +0900)]
e_output: separate compositor rendering and output commit

e_output try to render and commit in idle callback.
e_plane_renderer use eventfd and if compositor enqueue surface,
event fd is writed for calling idle callback in acquirable cb

Change-Id: I5723cd0af8406dfb176ed4157823e5b6082b9dfe

7 years agoset a subsurface buffer to ec even if parent is invisible. 04/90704/2
Boram Park [Fri, 30 Sep 2016 01:37:15 +0000 (10:37 +0900)]
set a subsurface buffer to ec even if parent is invisible.

We want to show a newly-attached subsurface buffer when parent becomes
visble. However, if we keep a subsurface buffer to cache when parent is
invisible, it makes the issue that old buffer can be shown on screen when
parent becomes visible. So we have to set a subsurface buffer to e_pixmap
even if parent is invisble. Instead, we just hide ec->frame until parent's
frame is visible.

Change-Id: I1ae07dba21125b5544ac4ef55ba36e9d85ef1bab

7 years agoe_desk: Make E_Desk has geometry, and clients can be membered to E_Desk's smart object. 68/90468/3
Seunghun Lee [Thu, 29 Sep 2016 02:47:21 +0000 (11:47 +0900)]
e_desk: Make E_Desk has geometry, and clients can be membered to E_Desk's smart object.

By this patch, we can change the geometry of E_Desk, and the geometry of clients
can be also changed by the E_Desk, not E_Zone.

Added New APIs :
E_API void e_desk_client_add(E_Desk *desk, E_Client *ec);
E_API void e_desk_client_del(E_Desk *desk, E_Client *ec);
E_API void e_desk_geometry_set(E_Desk *desk, int x, int y, int w, int h);

Usage in console :
$ enlightenment_info -desktop_geometry_set [X] [Y] [W] [H]

Change-Id: Id728a8d9187e6e513e4f69737f7d2e08a5eadaf5

7 years agoe_pointer: changed order of e_pointer initialization prior to e_comp_init. 45/90345/2
Gwanglim Lee [Thu, 29 Sep 2016 12:01:18 +0000 (21:01 +0900)]
e_pointer: changed order of e_pointer initialization prior to e_comp_init.

Change-Id: I5683b49642aabd4f158bb34d46d2dd69640654f6

7 years agoRevert "Apply the temporal replacement of memcpy to get a performance improvement" 74/90274/3 accepted/tizen/common/20160929.163603 accepted/tizen/ivi/20160929.234009 accepted/tizen/mobile/20160929.233951 accepted/tizen/tv/20160929.233959 accepted/tizen/wearable/20160929.233941 submit/tizen/20160929.085344
MinJeong Kim [Thu, 29 Sep 2016 08:23:18 +0000 (17:23 +0900)]
Revert "Apply the temporal replacement of memcpy to get a performance improvement"

This reverts commit e701b9302ae954a4cfea2fde16ec7dcc849e695a.

Change-Id: I3c94e1cdaf6c30b5c31385c3da67325984ab05bc

7 years agoe_comp: fixed a warning. 39/90039/2
Gwanglim Lee [Wed, 28 Sep 2016 06:08:53 +0000 (15:08 +0900)]
e_comp: fixed a warning.

Inclusion of xattr.h is also moved to e_comp from e_comp_wl for socket init.

Change-Id: I1dda5334ecc2042aae6f3440b066ca480ea2fa8b

7 years agoe_policy_wl: fixed bug for crashing enlightenment 59/89959/1 accepted/tizen/common/20160928.163543 accepted/tizen/ivi/20160928.050618 accepted/tizen/mobile/20160928.050527 accepted/tizen/tv/20160928.050544 accepted/tizen/wearable/20160928.050602 submit/tizen/20160927.231501
Doyoun Kang [Wed, 28 Sep 2016 02:12:10 +0000 (11:12 +0900)]
e_policy_wl: fixed bug for crashing enlightenment

Change-Id: Ica483c542f0d61e29d40672dd72da3f41017dd48

7 years agofixed build break 46/89946/2
Doyoun Kang [Tue, 27 Sep 2016 23:03:58 +0000 (08:03 +0900)]
fixed build break

Change-Id: If8d3df5611db56034c683c2d0b44b49c5ce4ce43

7 years agocreate a bg rectangle only if topmost is valid and doesn't have it 75/89875/1
Boram Park [Tue, 27 Sep 2016 09:01:06 +0000 (18:01 +0900)]
create a bg rectangle only if topmost is valid and doesn't have it

Change-Id: I969648508c55793d4827cedc262932379e3cde4b

7 years agoe_process: added code to check ec->visible while checking freezing condition 60/89860/1 submit/tizen/20160927.093519
Doyoun Kang [Tue, 27 Sep 2016 08:13:30 +0000 (17:13 +0900)]
e_process: added code to check ec->visible while checking freezing condition

Change-Id: I07e6656e1a62b950333137b6733fcddec66fe399

7 years agoe_plane_renderer: check the error condition at the surface creation 99/89799/2
SooChan Lim [Tue, 27 Sep 2016 05:16:20 +0000 (14:16 +0900)]
e_plane_renderer: check the error condition at the surface creation

Change-Id: I28792cac38bc444570e40e8c898f64d5ff05fe33

7 years agoe_policy: added code to send stack change event 70/89770/1
Doyoun Kang [Tue, 27 Sep 2016 02:44:35 +0000 (11:44 +0900)]
e_policy: added code to send stack change event

Change-Id: Iba8810530120200d5329ee7ceb8b74e75aa012fb

7 years agoe_slot: raise slot clients, top most 1st and than raise others below the stack 02/89702/1
Juyeon Lee [Mon, 26 Sep 2016 11:30:05 +0000 (20:30 +0900)]
e_slot: raise slot clients, top most 1st and than raise others below the stack

Change-Id: I1ea722d00b2cf661ac715cfc8409c974f9114498

7 years agoe_comp_wl: create a below-bg-rectangle if topmost has normal subsurfaces 80/88980/4 accepted/tizen/common/20160926.154353 accepted/tizen/ivi/20160927.081046 accepted/tizen/mobile/20160927.082720 accepted/tizen/tv/20160927.083532 accepted/tizen/wearable/20160927.081851 submit/tizen/20160926.083253
Boram Park [Wed, 21 Sep 2016 08:58:33 +0000 (17:58 +0900)]
e_comp_wl: create a below-bg-rectangle if topmost has normal subsurfaces

if topmost has a normal(has UI) subsurface, we have to need to create a
below-bg-rectangle always and a mask object for a e-comp-object to punch it.
And also, we better check if topmost has a normal subsurface than a video
subsurface for HWC.

Change-Id: I580a378cd9bfc58aae8d814b28165dda96de1b48

7 years agoe_comp_wl_input: when gets set_cursor, should calls e_pointer_object_set() 49/88649/4
Duna Oh [Tue, 20 Sep 2016 06:05:08 +0000 (15:05 +0900)]
e_comp_wl_input: when gets set_cursor, should calls e_pointer_object_set()

should set ec->visible as true and etc. only when e_pixmap is usable
update evas_object geometry when mapped.

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I43b98e389669dedcbaeb11e3e313c37c42b2bcfd

7 years agoe_client: removed commented out code for client_grab 15/88915/2
Gwanglim Lee [Wed, 21 Sep 2016 06:05:53 +0000 (15:05 +0900)]
e_client: removed commented out code for client_grab

Change-Id: I05c74305e77300c9d3b52a4db661ee703be0742c

7 years agocleaned up remaining uses of ecore_x 12/88912/2
Gwanglim Lee [Wed, 21 Sep 2016 06:01:52 +0000 (15:01 +0900)]
cleaned up remaining uses of ecore_x

Change-Id: I2e8317a15ddc878373ba42b1d42ad2f8c3fc195a

7 years agoe_remeber: get rid of e_remeber that is unnecessary for the tizen. 01/88901/3
Gwanglim Lee [Wed, 21 Sep 2016 05:50:33 +0000 (14:50 +0900)]
e_remeber: get rid of e_remeber that is unnecessary for the tizen.

Change-Id: I5b9e711a6382628564acae92e20883e025c14e1d

7 years agoe_comp: socket permission init added (change permission and symlink creation) 44/87544/6
Junghwan Choi [Thu, 8 Sep 2016 12:16:44 +0000 (21:16 +0900)]
e_comp: socket permission init added (change permission and symlink creation)

Change-Id: I306f98f5b3f6ad26fc2c6de75633937dbc3f423e
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
7 years agoe_policy_wl/e_service_cbhm : removed tws_cbhm and handle tizen_clipboard interface 03/89403/4
MinJeong Kim [Fri, 23 Sep 2016 09:47:17 +0000 (18:47 +0900)]
e_policy_wl/e_service_cbhm : removed tws_cbhm and handle tizen_clipboard interface

Change-Id: Ic6141f890e8b4b65256f025e2a1b59bc7f136dc5
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoadd ASYNC and MARK TTRACE MACRO 15/89315/1
Changyeon Lee [Mon, 5 Sep 2016 12:30:00 +0000 (21:30 +0900)]
add ASYNC and MARK TTRACE MACRO

Change-Id: Id11970eedb45c5189807396c41b1a0dc4540db3b