platform/upstream/enlightenment.git
7 years agoe_comp_wl: add null check for ec->comp_data in key_down/up 47/97347/3
Duna Oh [Mon, 14 Nov 2016 02:41:51 +0000 (11:41 +0900)]
e_comp_wl: add null check for ec->comp_data in key_down/up

Change-Id: Idf942edf72ca0fb77f088748f2f0bce1bc63aef9
Signed-off-by: Duna Oh <duna.oh@samsung.com>
7 years agoe_process: added code checking the ec->visible while handling uniconify event. 45/97345/1
Doyoun Kang [Mon, 14 Nov 2016 02:29:51 +0000 (11:29 +0900)]
e_process: added code checking the ec->visible while handling uniconify event.

there was a bug that the status of the process was changed to foreground
when the iconified window is destoryed.

Change-Id: I54939093374a1718a9eb8497ff537908ca27dd38

8 years agoe_comp_wl : add validation codes regarding E_Client pointer and its comp_data pointer 97/97197/2 accepted/tizen/common/20161115.200332 accepted/tizen/ivi/20161114.005806 accepted/tizen/mobile/20161114.005623 accepted/tizen/tv/20161114.005653 accepted/tizen/wearable/20161114.005728 submit/tizen/20161111.082227 submit/tizen_3.0/20161111.082409
Sung-Jin Park [Fri, 11 Nov 2016 11:27:00 +0000 (20:27 +0900)]
e_comp_wl : add validation codes regarding E_Client pointer and its comp_data pointer

Change-Id: I5e5a1348c35246cffca72dc780bf37188fad1528

8 years agoquickpanel_service: changed handler's layer 03/97203/2
Doyoun Kang [Fri, 11 Nov 2016 11:41:59 +0000 (20:41 +0900)]
quickpanel_service: changed handler's layer

Change-Id: Ie3a45771c5482a088ee61bff065f3e5e09dae8be

8 years agoe_policy: changed the layer of service windows 02/97202/1
Doyoun Kang [Fri, 11 Nov 2016 11:41:15 +0000 (20:41 +0900)]
e_policy: changed the layer of service windows

Change-Id: I5ecce9e19ed3cdbaf84563ac9a7bf4c076e244b0

8 years agoe_comp: added a E_LAYER_CLIENT_ALERT_LOW layer 00/97200/1
Doyoun Kang [Fri, 11 Nov 2016 11:38:36 +0000 (20:38 +0900)]
e_comp: added a E_LAYER_CLIENT_ALERT_LOW layer

Change-Id: I2cd33e2bf8bea26f8d38f60acc41946e52987f2d

8 years agoe_plane: send frame::done event 45/97145/1
Sangjin Lee [Fri, 11 Nov 2016 08:34:48 +0000 (17:34 +0900)]
e_plane: send frame::done event

if e_plane_fetch is failed, call e_pixmap_image_clear() for frame::done event.
if not send this event, client(SW backend) is blocked.

Change-Id: Id11e44e178b02d029da149e9fdbd273b6c14ada8

8 years agoe_policy: moved funtion for handling activate_above request. 26/97026/2
Doyoun Kang [Fri, 11 Nov 2016 04:07:08 +0000 (13:07 +0900)]
e_policy: moved funtion for handling activate_above request.

Change-Id: Ib07c69375918f34498295cfba3274be2f808a164

8 years agoquickpanel: Enhance the visual of quickpanel hiding effect during rotation. 80/96280/3
Seunghun Lee [Thu, 3 Nov 2016 10:38:03 +0000 (19:38 +0900)]
quickpanel: Enhance the visual of quickpanel hiding effect during rotation.

Do not hide indicator object and do disable effect during rotation.

Change-Id: I282616e5f3a3af69e70b0bfc757ca227cdb76fc9

8 years agoquickpanel: Implementation for supporting various effect type of quickpanel. 79/96279/3
Seunghun Lee [Mon, 31 Oct 2016 08:20:16 +0000 (17:20 +0900)]
quickpanel: Implementation for supporting various effect type of quickpanel.

1. E_SERVICE_QUICKPANEL_EFFECT_TYPE_NONE
   : No Effect. Just deliver events of gesture information such as position and
     timestamp. (Not implemented yet.)
2. E_SERVICE_QUICKPANEL_EFFECT_TYPE_MOVE
   : Entire surface is moved by tracking mouse position.
3. E_SERVICE_QUICKPANEL_EFFECT_TYPE_SWIPE
   : The effect that surface is exposed come out like peeled.

Change-Id: I499fcb5a9f6d3c966a19b143ef717d508e0dfd24

8 years agoe_service_scrsaver: set layer to alert. 78/97078/1
Gwanglim Lee [Fri, 11 Nov 2016 06:15:59 +0000 (15:15 +0900)]
e_service_scrsaver: set layer to alert.

According to 2.x policy of the window stack, layer of the screen saver window
has been increased to E_LAYER_CLIENT_ALERT from E_LAYER_CLIENT_NOTIFICATION_LOW.

Change-Id: I32aa9aa6ac37e80c2446d38a907d268d8e96f1bb

8 years agoremove executable permission bit of source files 67/97067/1
Gwanglim Lee [Fri, 11 Nov 2016 05:52:00 +0000 (14:52 +0900)]
remove executable permission bit of source files

Change-Id: Ib14edb69728f01102b1d6ff06b25593e8cf03a18

8 years agoe_plane_renderer: Fixed crash when copying image to GEM buffer using openmp. 03/96903/2
Gwanglim Lee [Thu, 10 Nov 2016 13:53:42 +0000 (22:53 +0900)]
e_plane_renderer: Fixed crash when copying image to GEM buffer using openmp.

If destination GEM buffer is not page-aligned (4KB), SIGBUS could occur.

Change-Id: I750498862f6b2a533c48e3daa9d86f2d9ad7b2c7

8 years agowl_desktop_shell: E_Xdg_Shell to support ping-pong for the xdg_shell 96/96896/2
Gwanglim Lee [Thu, 10 Nov 2016 13:18:56 +0000 (22:18 +0900)]
wl_desktop_shell: E_Xdg_Shell to support ping-pong for the xdg_shell

ping-pong protocol of the xdg_shell is working on the wl_client
and not on the wl_surface. However, ping-pong of the enlightenment
is on the wl_surface (E_Client). E_Xdg_Shell is designed for connecting
them. It has a list of E_Client which sent ping event, and if the
client is in responsive, then it sets ping_ok for all E_Clients.

And unnecessary shell_resources and xdg_shell_resources hash are removed.

Change-Id: I0e1e1815377f5488afeb3c1ccff0d8ba441180e1

8 years agoe_client: add a check to prevent the ping-pong for the deleted e_client. 07/96807/2
Gwanglim Lee [Thu, 10 Nov 2016 08:38:41 +0000 (17:38 +0900)]
e_client: add a check to prevent the ping-pong for the deleted e_client.

Change-Id: I9c9ce90d93e7c6f78c8cb8f084cc92b1fd9952a3

8 years agoredo wl (xdg)shell surface ping 59/96059/2
Mike Blumenkrantz [Mon, 18 Apr 2016 19:37:22 +0000 (15:37 -0400)]
redo wl (xdg)shell surface ping

- remove (wrong) global variables which tracked client-specific resources
- start ping upon creating a shell surface
- track client-specific shell resources on a per-client basis

Change-Id: I269fd6653f031be980d1c8bef9ebce431781a71f

8 years agoe_policy_wl: Add EC_CHANGED for update E_Client 93/96493/5
kyoungsik park [Wed, 9 Nov 2016 07:06:34 +0000 (16:06 +0900)]
e_policy_wl: Add EC_CHANGED for update E_Client

Change-Id: I64942e487b269cb84c04a622782145262816c81e
Signed-off-by: kyoungsik park <kstyle.park@samsung.com>
8 years agoAdded layer_pending flag for updating only clients inlist 31/96331/4 accepted/tizen/3.0/common/20161114.082715 accepted/tizen/3.0/ivi/20161110.015452 accepted/tizen/3.0/mobile/20161110.015152 accepted/tizen/3.0/tv/20161110.015229 accepted/tizen/3.0/wearable/20161110.015406 accepted/tizen/common/20161109.140730 accepted/tizen/ivi/20161110.001659 accepted/tizen/mobile/20161110.001503 accepted/tizen/tv/20161110.001604 accepted/tizen/wearable/20161110.001637 submit/tizen/20161109.043305 submit/tizen_3.0/20161108.124320 submit/tizen_3.0_common/20161110.084657
MinJeong Kim [Tue, 8 Nov 2016 09:23:52 +0000 (18:23 +0900)]
Added layer_pending flag for updating only clients inlist

Changes of stack are never applied while a client's layer is blocked.
To assure the changes of stack after end of the block, now we can use
layer_pending flag instead of layer_block flag.

Change-Id: Iff3e7c9f3bf31657e5997a78ff2ca2caafbbfa20
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
8 years agoconformant: set cbhm parent 25/96325/2
MinJeong Kim [Tue, 1 Nov 2016 09:05:59 +0000 (18:05 +0900)]
conformant: set cbhm parent

Change-Id: Ie5a395593519b429e2865edc914dd0dbf776fe23
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
8 years agoFixing memory leak in _hwc_prepare() 79/96479/3
Bhavi Dhingra [Wed, 9 Nov 2016 06:43:10 +0000 (12:13 +0530)]
Fixing memory leak in _hwc_prepare()

Change-Id: I904de1c0085f71a3ae93746befc52d2673de560b
Signed-off-by: Bhavi Dhingra <b.dhingra@samsung.com>
8 years agovisibility: fix a bug that couldn't add a defer job during deiconify rendering. 13/96413/2
Seunghun Lee [Wed, 9 Nov 2016 04:02:10 +0000 (13:02 +0900)]
visibility: fix a bug that couldn't add a defer job during deiconify rendering.

Change-Id: I51817cc33d32f4654ca118bc1d84e1b958152e17

8 years agoDo override nocomp mode when drag icon show 20/96320/1 accepted/tizen/ivi/20161109.003100 accepted/tizen/mobile/20161109.003002 accepted/tizen/tv/20161109.003024 accepted/tizen/wearable/20161109.003043 submit/tizen/20161108.124208
MinJeong Kim [Tue, 8 Nov 2016 12:06:12 +0000 (21:06 +0900)]
Do override nocomp mode when drag icon show

Change-Id: I9602d027a8098c63bb339e3619357b18942c800c
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
8 years agoe_main : add hook for module load done and enlightenment info ready 36/96036/4
Junghwan Choi [Mon, 7 Nov 2016 11:20:10 +0000 (20:20 +0900)]
e_main : add hook for module load done and enlightenment info ready

Change-Id: I7a7e513144af0ca971a8aa85db613b8a47044675
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
8 years agoe_plane: added null check for plane->renderer in _e_plane_surface_from_ecore_evas_acq... 55/96255/1
Gwanglim Lee [Tue, 8 Nov 2016 08:55:03 +0000 (17:55 +0900)]
e_plane: added null check for plane->renderer in _e_plane_surface_from_ecore_evas_acquire()

plane could have null renderer, thus we have to add null check for avoiding crash.

Change-Id: Ief10dacef3002cc374019e86178e13e800309750

8 years agoe_policy_wl: Add some logs related to tizen_policy requests 26/96226/1
Seungjin Park [Tue, 8 Nov 2016 07:43:20 +0000 (16:43 +0900)]
e_policy_wl: Add some logs related to tizen_policy requests

Signed-off-by: Seungjin Park <sj8808.park@samsung.com>
Change-Id: I01d031a9fee1e99c078458877452c4bd6e91c79b

8 years agoe_process: added a E_PROCESS_ACT_NO_VISIBLE_WINDOWS in E_Process_Action enumeration 43/96143/3
Doyoun Kang [Tue, 8 Nov 2016 04:26:01 +0000 (13:26 +0900)]
e_process: added a E_PROCESS_ACT_NO_VISIBLE_WINDOWS in E_Process_Action enumeration

There was a requirement that the specified process wants to get an event when process' windows are all unviewable.
So, we added E_PROCESS_ACT_NO_VISIBLE_WINDOWS enumeration and sent it when process' all windows were hidden.

Change-Id: I903ad5cd4923a191e6cd8f891d4f1b8f61e30275

8 years agohwc: changed static function name for consistency 33/96133/3
Juyeon Lee [Tue, 8 Nov 2016 02:42:02 +0000 (11:42 +0900)]
hwc: changed static function name for consistency

_e_comp_hwc_xxx APIs are mapped for hwc control sequence.
_hwc_xxx APIs are utilized for hwc control.
_hwc_plane_xxx especially manipulate a specific plane.

Change-Id: I17a8be2a38999efa757259ec57b13ee575d93220

8 years agohwc: add value for surface changes not canceling hwc 35/95635/9
Juyeon Lee [Fri, 4 Nov 2016 05:26:22 +0000 (14:26 +0900)]
hwc: add value for surface changes not canceling hwc

added static value _plane_support_surf_to_surf for a verification
once e_plane get able to support surface to surface changes without canceling hwc
it will be always 1 or can be removed out with relative codes

Change-Id: Ie8dd3ea84c23390d86beace5ee98e1a18d535c50
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
8 years agoe_policy: added code to handle the activate_above request. 77/95377/1 accepted/tizen/3.0/ivi/20161104.103620 accepted/tizen/3.0/mobile/20161104.103503 accepted/tizen/3.0/tv/20161104.103529 accepted/tizen/3.0/wearable/20161104.103553 accepted/tizen/common/20161103.160059 accepted/tizen/ivi/20161103.231803 accepted/tizen/mobile/20161103.231636 accepted/tizen/tv/20161103.231700 accepted/tizen/wearable/20161103.231738 submit/tizen/20161103.061853 submit/tizen_3.0/20161103.061123
Doyoun Kang [Thu, 3 Nov 2016 05:20:52 +0000 (14:20 +0900)]
e_policy: added code to handle the activate_above request.

Change-Id: I7a2699fda9d4105ec09025d5d23078f6b1dea30a

8 years agosurface prop add : subsurface, video client info 99/94799/5
Sungbae Park [Tue, 1 Nov 2016 08:29:36 +0000 (17:29 +0900)]
surface prop add : subsurface, video client info

Signed-off-by: Sungbae Park <sb34.park@samsung.com>
Change-Id: Iedce9d995a913007988472f5ec9a2244815730a9
Signed-off-by: Sungbae Park <sb34.park@samsung.com>
8 years agocomp object alphs set flag add 96/94796/3
Sungbae Park [Tue, 1 Nov 2016 08:23:12 +0000 (17:23 +0900)]
comp object alphs set flag add

user_alpha is set by server core source(e_comp_wl.c)
but _e_comp_object_alpha_set function do not consider it.
If you call e_comp_object_alpha_set or not call _e_comp_object_alpha_set function always init alpha setting.
e_comp_object_alpha_set can not be used.
and e_comp_object_alpha_set function used to subsurface relationship in e_comp_wl.c
 - _e_comp_wl_subsurface_check_below_bg_rectangle we had a meeting about 24bit parent and ui child case.
if child position lower then parent, we policy is show parent and child.
 this feature implement is located in _e_comp_wl_subsurface_check_below_bg_rectangle

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

8 years agoe_plane: fix syntax error 47/95147/2
Boram Park [Wed, 2 Nov 2016 10:07:49 +0000 (19:07 +0900)]
e_plane: fix syntax error

Change-Id: I3c947dbda83b796efaf29f7998f3db75193aa1ea

8 years agoFixed build warning 19/95319/1
MinJeong Kim [Thu, 3 Nov 2016 00:43:30 +0000 (09:43 +0900)]
Fixed build warning

Change-Id: Iebba6e4d127641d9531f54fee20d775ba0f82318

8 years agoe_comp_wl: Send device event for key when a client's last key device is changed 43/91143/4 accepted/tizen/common/20161102.121954 accepted/tizen/ivi/20161102.073411 accepted/tizen/mobile/20161102.073313 accepted/tizen/tv/20161102.073331 accepted/tizen/wearable/20161102.073353 submit/tizen/20161102.024749
JengHyun Kang [Thu, 6 Oct 2016 05:32:46 +0000 (14:32 +0900)]
e_comp_wl: Send device event for key when a client's last key device is changed

Change-Id: Id72240656fc77ff4ef53559ae7322909d08c99e5

8 years agohwc: Use tbm_queue in SW Backend 90/94790/3
Sangjin Lee [Mon, 31 Oct 2016 13:11:57 +0000 (22:11 +0900)]
hwc: Use tbm_queue in SW Backend

If evas engine use tbm_surface_queue, then server can hwc
Currently enlightenment set env for ecore_evas,
then ecore_evas create software_tbm evas engine and ecore_evas name is drm_tbm.
So the server can check it.

Change-Id: Ie9d8e069bb12dca2d49e994f955a843586a1634b

8 years agoe_comp: Add event COMPOSITOR_ENABLE when hwc ended 72/93372/4
Juyeon Lee [Mon, 24 Oct 2016 02:30:14 +0000 (11:30 +0900)]
e_comp: Add event COMPOSITOR_ENABLE when hwc ended

Compositor disabled when fb target layer is assigned by a client surface
once fb target is occupied, hwc mode is fully hwc mode.
if hwc mode is ended and need composite again, than assign null on plane with
the E_EVENT_COMPOSITOR_ENABLE

Change-Id: I5d8d941767560b9d497adaa5884ed7ff831c5f1a
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
8 years agoe_comp_wl: removed unused internal function e_comp_wl_surface_create. 97/93197/2
Gwanglim Lee [Fri, 21 Oct 2016 02:47:46 +0000 (11:47 +0900)]
e_comp_wl: removed unused internal function e_comp_wl_surface_create.

Change-Id: I206f6b44d48b067527c17d4657c92e4533b47be3

8 years agoe_pixmap: checked wl_buffer resouce of e_pixmap when qeury format 35/94335/3
Changyeon Lee [Thu, 20 Oct 2016 11:36:32 +0000 (20:36 +0900)]
e_pixmap: checked wl_buffer resouce of e_pixmap when qeury format

Change-Id: I2e979e6bbc47788d217a1ca8aab7db231f898131

8 years agoe_plane_renderer: send queue_size and need flush when send active event 04/92504/3
Changyeon Lee [Thu, 29 Sep 2016 04:53:05 +0000 (13:53 +0900)]
e_plane_renderer: send queue_size and need flush when send active event

Change-Id: I0dd2f45548dd7f06ca8b12321cb1a007fb113ced

8 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

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

8 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

8 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

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

8 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

8 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

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

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

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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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