platform/upstream/enlightenment.git
7 years agoe_policy: added code setting ec->changes.pos flag when the window request to set... 28/98628/1 accepted/tizen/3.0/ivi/20161121.074014 accepted/tizen/3.0/mobile/20161121.073910 accepted/tizen/3.0/tv/20161121.073933 accepted/tizen/3.0/wearable/20161121.073954 accepted/tizen/common/20161118.090710 accepted/tizen/ivi/20161121.012210 accepted/tizen/mobile/20161121.012123 accepted/tizen/tv/20161121.012143 accepted/tizen/wearable/20161121.012154 submit/tizen/20161118.063252 submit/tizen_3.0/20161118.063223
Doyoun Kang [Fri, 18 Nov 2016 03:41:21 +0000 (12:41 +0900)]
e_policy: added code setting ec->changes.pos flag when the window request to set the position.

there was a bug that the window didn't move when it just called a evas_object_move().

Change-Id: I367eb9ee060197c88e78a9b8903dfb0b377aa48b

7 years agoremoved build warning 19/98619/1
Doyoun Kang [Fri, 18 Nov 2016 02:39:02 +0000 (11:39 +0900)]
removed build warning

Change-Id: I7f92982e079257f6f9097d9b3b382dedfaffee63

7 years agoe_client: added code considering transient children window while finding focus window... 10/98610/1
Doyoun Kang [Fri, 18 Nov 2016 02:09:19 +0000 (11:09 +0900)]
e_client: added code considering transient children window while finding focus window in e_client_activate.

there was a bug that the tranient child window could not get focus
when its parent window was activated.
The parent window had a focus at that point of time.

Change-Id: I3116bcd6e40d5ed6216512d558fd118c04be9014

7 years agoremove ratiofit workaround code and replace transform bg feature 18/97918/4
Sungbae Park [Tue, 15 Nov 2016 10:07:20 +0000 (19:07 +0900)]
remove ratiofit workaround code and replace transform bg feature

Signed-off-by: Sungbae Park <sb34.park@samsung.com>
Change-Id: Ib677e1a3a73f6518449d3c10195e9ffab471eea1
Signed-off-by: Sungbae Park <sb34.park@samsung.com>
7 years agoe_comp_wl_input: check if wl_client of the cursor is same as that of e_comp_wl->ptr.ec 78/96778/3
Duna Oh [Thu, 10 Nov 2016 06:34:34 +0000 (15:34 +0900)]
e_comp_wl_input: check if wl_client of the cursor is same as that of e_comp_wl->ptr.ec

Should map(show) an cursor only when the owner client of cursor got Evas_Event_Mouse_In.

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

7 years agohwc: set manual render when setup hwc 99/96499/2
Changyeon Lee [Wed, 9 Nov 2016 04:27:37 +0000 (13:27 +0900)]
hwc: set manual render when setup hwc

Change-Id: I12a793c845274e8cd1c04ab18062a370a04c870f

7 years agoe_plane: added role to plane 98/96498/2
Changyeon Lee [Tue, 8 Nov 2016 04:38:58 +0000 (13:38 +0900)]
e_plane: added role to plane

role of e_plane means that current plane is used for what purpose.

Change-Id: I2c1999f509c29c0c236f0364cf795995603ac020

7 years agoe_plane: set type of plane 97/96497/3
Changyeon Lee [Tue, 8 Nov 2016 04:35:12 +0000 (13:35 +0900)]
e_plane: set type of plane

E_PLANE_TYPE_CURSOR: plane can set only ec of cursor.
E_PLANE_TYPE_VIDEO: plane can set only ec of video and ec must have
specific buffer that plane support.
E_PLANE_TYPE_GRAPHIC: plane can set ec that have graphic buffer.
if ec of cursor or video has graphic buffer, ec can be set to plane.

Change-Id: I94853a16b2e2a09f7a216c0843d92444d45e8be6

7 years agoe_process: modified code for handling the E_PROCESS_ACT_NO_VISIBLE_WINDOWS action. 59/98159/1 accepted/tizen/3.0/common/20161117.090639 accepted/tizen/3.0/ivi/20161117.022118 accepted/tizen/3.0/mobile/20161117.022024 accepted/tizen/3.0/tv/20161117.022044 accepted/tizen/3.0/wearable/20161117.022102 accepted/tizen/common/20161116.134546 accepted/tizen/ivi/20161117.010550 accepted/tizen/mobile/20161117.010456 accepted/tizen/tv/20161117.010513 accepted/tizen/wearable/20161117.010529 submit/tizen/20161116.114430 submit/tizen_3.0/20161116.114529
Doyoun Kang [Wed, 16 Nov 2016 09:07:46 +0000 (18:07 +0900)]
e_process: modified code for handling the E_PROCESS_ACT_NO_VISIBLE_WINDOWS action.

we changed code to use E_EVENT_CLIENT_VISIBILITY_CHANGE event for handling this action

Change-Id: I48976de13cb42ed45584d4f8fa1574482a32fe30

7 years agoe_info_server: use wayland protocol logger 41/98041/3
Sangjin Lee [Tue, 15 Nov 2016 23:20:59 +0000 (08:20 +0900)]
e_info_server: use wayland protocol logger

if wayland server version is 1.12.0 then it support api for protocol logger.

Change-Id: Ia725608baddb1f25d9d3cc088084a6c7f3bf9f40

7 years agoe_comp_wl: don't check video buffer format 91/97191/2
Boram Park [Fri, 11 Nov 2016 10:39:33 +0000 (19:39 +0900)]
e_comp_wl: don't check video buffer format

In case of video client, we don't need to check format because video format
can be AR24 and XR24 also.

Change-Id: I491f11030fa37a84207946239a82deaba9bfad82

7 years agoe_log: support E_LOG_FILE_PATH to record enlightenment logs to a file from booting 00/97000/3 accepted/tizen/3.0/common/20161116.143351 accepted/tizen/3.0/ivi/20161116.021610 accepted/tizen/3.0/mobile/20161116.021448 accepted/tizen/3.0/tv/20161116.021516 accepted/tizen/3.0/wearable/20161116.021545 accepted/tizen/common/20161116.134314 accepted/tizen/ivi/20161115.233832 accepted/tizen/mobile/20161115.233702 accepted/tizen/tv/20161115.233746 accepted/tizen/wearable/20161115.233803 submit/tizen/20161115.022149 submit/tizen_3.0/20161115.021406
Boram Park [Mon, 7 Nov 2016 07:58:18 +0000 (16:58 +0900)]
e_log: support E_LOG_FILE_PATH to record enlightenment logs to a file from booting

Sometimes we want to see the enlightenment's log from booting. It's useful becuase
dlog doesn't have all logs. If E_LOG_FILE_PATH is set, enlightenment prints logs
not via dlog but via the file indicated by E_LOG_FILE_PATH.

Change-Id: I79a811b5809d4a06b3b1d8b7c2eb49af8c2ff933

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

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

7 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

7 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

7 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

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

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

7 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

7 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

7 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

7 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

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

7 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

7 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

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