platform/upstream/enlightenment.git
6 years agoe_client: add log for calculating visibility 58/164258/2 accepted/tizen/4.0/unified/20171218.113938 submit/tizen_4.0/20171218.085552
Doyoun Kang [Mon, 18 Dec 2017 08:06:41 +0000 (17:06 +0900)]
e_client: add log for calculating visibility

Change-Id: I6e4c3b9836f477e16a4222097000e7a0f9b95420

6 years agoe_plane_renderer: consider export_num when calculating render_count 34/164234/3
Changyeon Lee [Mon, 18 Dec 2017 06:50:21 +0000 (15:50 +0900)]
e_plane_renderer: consider export_num when calculating render_count

Change-Id: Ie9270eff520351f2bd568fb116c263eda941d0f9

6 years agoe_plane: added check ec is del in e_plane_ec_set 25/164225/2
Changyeon Lee [Mon, 18 Dec 2017 05:26:10 +0000 (14:26 +0900)]
e_plane: added check ec is del in e_plane_ec_set

Change-Id: I61665f0be7f6d6fdc510f24b56bd268b040eaf44

6 years agoAdded check for deleted ec in e_plane_renderer_ec_set 77/164177/3
Bahl [Sat, 16 Dec 2017 08:51:48 +0000 (14:21 +0530)]
Added check for deleted ec in e_plane_renderer_ec_set

Change-Id: Idde53b62db2052ae828b457c047ff527e3f501f5
Signed-off-by: Bahl <prashant.b1@samsung.com>
6 years agoRevert "e_user: remove the useless function call" 55/164255/1
Gwanglim Lee [Mon, 18 Dec 2017 08:44:53 +0000 (17:44 +0900)]
Revert "e_user: remove the useless function call"

This reverts commit 8104151d41f55067afce0bdbb9fa57a06adbe52c.

Change-Id: I14c00fc3b9e1bc3ff4221e438d88880c86f0f216

6 years agoe_plane: pend unset ec if plane has set_counter 40/163940/6
Changyeon Lee [Thu, 14 Dec 2017 04:30:49 +0000 (13:30 +0900)]
e_plane: pend unset ec if plane has set_counter

if ec of plane is visible and plane has set_counter,
pend unset ec untill set_coutner is zero for preventing flickering

Change-Id: I694a4f40a7b36a67a1dc9a2ed0e58ce3988ff985

6 years agoe_plane: set correct cursor position in the case of rotation 07/163807/6
Changyeon Lee [Wed, 13 Dec 2017 12:00:33 +0000 (21:00 +0900)]
e_plane: set correct cursor position in the case of rotation

Change-Id: Iab50d73a2f0b52ac7d47a7fe2e2f29416713bce6

6 years agoe_comp: added buffer size check code to avoid buffer overflow when socket init accepted/tizen/4.0/unified/20171215.060708 submit/tizen_4.0/20171214.054153
Gwanglim Lee [Thu, 14 Dec 2017 02:40:46 +0000 (11:40 +0900)]
e_comp: added buffer size check code to avoid buffer overflow when socket init

Change-Id: I196487ccde9f6615b22494ce9942f6b0d20e6dfd

6 years agoe_user: remove the useless function call
Sangjin Lee [Thu, 14 Dec 2017 00:56:38 +0000 (09:56 +0900)]
e_user: remove the useless function call

Change-Id: If98d33fa6d8566f61f8cfe1d5b34901b044d5ede

6 years agoe_comp_wl: always send extra touch axis with touch down events 89/163789/1
JengHyun Kang [Wed, 13 Dec 2017 08:08:42 +0000 (17:08 +0900)]
e_comp_wl: always send extra touch axis with touch down events

Change-Id: Icb018b5554e01066ea7046a275c86473423b31af

6 years agoe_plane: force render when set_counter,unset_counter are decreased 45/163745/2 accepted/tizen/4.0/unified/20171213.153246 submit/tizen_4.0/20171213.082705
Changyeon Lee [Wed, 13 Dec 2017 07:56:48 +0000 (16:56 +0900)]
e_plane: force render when set_counter,unset_counter are decreased

Change-Id: I0f6e9f79be9d1b729ea56d495783c918b530ca39

6 years agoremote_surface: added new EAPIs to get/set the 'skip_save_img' property of E_Client submit/tizen_4.0/20171213.023320
Gwanglim Lee [Mon, 11 Dec 2017 05:39:27 +0000 (14:39 +0900)]
remote_surface: added new EAPIs to get/set the 'skip_save_img' property of E_Client

It enables sub-modules of the E to specify which windows should be excluded from saving
window image phase.

Change-Id: Ie0d684406b25e836ba9788e75f8f031d81faff65

6 years agobufferqueue: fix double free the event_loop of wl_display
Sangjin Lee [Wed, 13 Dec 2017 01:31:05 +0000 (10:31 +0900)]
bufferqueue: fix double free the event_loop of wl_display

In bufferqueue, bq->loop was just get from wl_display. and if call the wl_display_destroy function,
dpy->loop would be destoryed. so we need not call the wl_event_loop_destory().

Change-Id: Ia04f2fef7cd323e81df7ddcb95b2b5e534efe448

6 years agoe_info: add code to print some config information 47/163447/2 accepted/tizen/4.0/unified/20171212.064816 submit/tizen_4.0/20171211.090934
Doyoun Kang [Mon, 11 Dec 2017 07:40:46 +0000 (16:40 +0900)]
e_info: add code to print some config information

we added code to print buffer_flush, deiconify_approve configuration.

Change-Id: I59b7be8f0a361a4ba3dbb9d7c785f3ad084850f7

6 years agoe_plane: prepare_ec resetted when HWC client is freed or deleted. 19/163319/1
Praveen Kumar [Fri, 8 Dec 2017 12:08:13 +0000 (17:38 +0530)]
e_plane: prepare_ec resetted when HWC client is freed or deleted.

Change-Id: I877f44e75af877e5e66140fdbbfed183ba493a9d
Signed-off-by: Praveen Kumar <praveen.pk@samsung.com>
6 years agofix bug for sending visibility event 90/163290/1 accepted/tizen/4.0/unified/20171209.075408 submit/tizen_4.0/20171208.093639
Doyoun Kang [Fri, 8 Dec 2017 08:28:39 +0000 (17:28 +0900)]
fix bug for sending visibility event

There was a bug that the window which was waiting for rendering got the visibility
event sometimes as below.
"pre-unobscured -> fully-obscured -> unobscured"
For this, application's state changed to resume, pause, resume.
So, we fixed code not to send fully-obscured event when it is waiting for rendering.

However, the fully-obscured event is sent when the lcd is turned off.

Change-Id: Ifc400dfc3314407d6fe54b83f64cd40abcfb7eee

6 years agoReset global drag source pointer (e_comp_wl->drag_source) if client destroys its...
Dipen Somani [Thu, 30 Nov 2017 11:43:45 +0000 (17:13 +0530)]
Reset global drag source pointer (e_comp_wl->drag_source) if client destroys its drag source object after starting drag but before dropping it.

Change-Id: Id29e611f8d9fa109d55e9a6423738ca8791326da
Signed-off-by: Dipen Somani <dipen.somani@samsung.com>
6 years agoe_plane: add checking return value
Boram Park [Thu, 7 Dec 2017 02:15:32 +0000 (11:15 +0900)]
e_plane: add checking return value

Change-Id: Ide005ae2a3fd36d1948303a8d00f9c5764c2a3cb

6 years agoe_policy_visibility: send pre-unobscured visibility event when the window do not... 69/162969/2 accepted/tizen/4.0/unified/20171207.070800 submit/tizen_4.0/20171206.124138
Doyoun Kang [Wed, 6 Dec 2017 12:37:20 +0000 (21:37 +0900)]
e_policy_visibility: send pre-unobscured visibility event when the window do not use buffer_flush

Change-Id: Id13c46a3ae9b6340af649edb8ad428f9de1d462e

6 years agoe_policy_visibility: fix bug for sending pre-unobscured visibility event 67/162967/2
Doyoun Kang [Wed, 6 Dec 2017 12:22:31 +0000 (21:22 +0900)]
e_policy_visibility: fix bug for sending pre-unobscured visibility event

there was a bug that the parent which was obscured by child window got the pre-visibility event.
The parent window must not get the pre-visibility event in this case.

Change-Id: I85fa07cd342816e35743f4b511ba08bc62e58939

6 years agoe_policy_visibility: add code to check window's map state while uniconifying window 63/162963/2
Doyoun Kang [Wed, 6 Dec 2017 11:38:01 +0000 (20:38 +0900)]
e_policy_visibility: add code to check window's map state while uniconifying window

Change-Id: I5422fc940a767d6f0bf0135fdcf1994547c49514

6 years agoe_comp_wl: do not send routed keys in ECORE_EVENT_KEY types cb 22/162822/2 accepted/tizen/4.0/unified/20171206.062913 submit/tizen_4.0/20171206.022750
JengHyun Kang [Tue, 5 Dec 2017 11:39:11 +0000 (20:39 +0900)]
e_comp_wl: do not send routed keys in ECORE_EVENT_KEY types cb

Change-Id: I0a7490efdfc126eb9e05cbdfca0c18ffeb467357

6 years agoe_comp: fixed an warning. 26/162826/1
Gwanglim Lee [Tue, 5 Dec 2017 11:59:33 +0000 (20:59 +0900)]
e_comp: fixed an warning.

Change-Id: I3f77371d309c70bbcc24eaea7628e3e8e2bd1a1f

6 years agoe_comp: use e_util_env_get instead of getenv to get NULL-terminated string from the... 25/162825/2
Gwanglim Lee [Tue, 5 Dec 2017 11:50:00 +0000 (20:50 +0900)]
e_comp: use e_util_env_get instead of getenv to get NULL-terminated string from the environment variable

Change-Id: I0a9c63c182e07e282700a660c7c04f89b75a011c

6 years agoe_utils: added e_util_env_get for sanitizing string of enviroment value 23/162823/2
Gwanglim Lee [Tue, 5 Dec 2017 11:41:44 +0000 (20:41 +0900)]
e_utils: added e_util_env_get for sanitizing string of enviroment value

Change-Id: I7aaae930c746a31fe5d004e40211204a7f269511

6 years agoe_comp_object: added missing free for input rect data 63/162763/2
Gwanglim Lee [Tue, 5 Dec 2017 07:29:38 +0000 (16:29 +0900)]
e_comp_object: added missing free for input rect data

Change-Id: I4952893d2e91492492b29d2e5061e443bf061ba2

6 years agoe_comp_wl_input: check the return value of remove() and leave a warning log 62/162762/3
JengHyun Kang [Tue, 5 Dec 2017 07:29:07 +0000 (16:29 +0900)]
e_comp_wl_input: check the return value of remove() and leave a warning log

Change-Id: I47d7198284c11bd12720528a889a9327d33a45a0

6 years agoe_comp_wl_input: fix svace issue about tainted string 46/162746/2
JengHyun Kang [Tue, 5 Dec 2017 06:57:12 +0000 (15:57 +0900)]
e_comp_wl_input: fix svace issue about tainted string

Change-Id: I2f507a678210a0015f4b0891939c834cfe502cbd

6 years agoe_output: Export e_output_dpms_set() API
YoungJun Cho [Tue, 5 Dec 2017 08:04:48 +0000 (17:04 +0900)]
e_output: Export e_output_dpms_set() API

This patch exports e_output_dpms_set() API.

Change-Id: Ia3cb76e9298c5d33e60f5f55b1d54039bb5351bf
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
6 years agoe_info: added missing unref for the xkb_context if mmap is failed. 10/162710/1
Gwanglim Lee [Tue, 5 Dec 2017 04:32:55 +0000 (13:32 +0900)]
e_info: added missing unref for the xkb_context if mmap is failed.

Change-Id: Ic2ee7d49d90faea5cabc5d4a207aa9d0d5c2b9c4

6 years agoe_util_transform: fixed wrong matrix multiplication for rotation in Y axis 93/162693/1
Gwanglim Lee [Tue, 5 Dec 2017 02:39:54 +0000 (11:39 +0900)]
e_util_transform: fixed wrong matrix multiplication for rotation in Y axis

Change-Id: I6a404b290281e5a9ee43cfa29d904f59b2e03c3a

6 years agoe_slot: add code to check the return value of evas_object_smart_data_get 87/162687/1
Doyoun Kang [Tue, 5 Dec 2017 02:11:51 +0000 (11:11 +0900)]
e_slot: add code to check the return value of evas_object_smart_data_get

Change-Id: I8f60ca829c4fd5f375ab7411d104238dc2a614d6

6 years agoe_policy: remove logically dead code 77/162677/1
Doyoun Kang [Tue, 5 Dec 2017 01:56:03 +0000 (10:56 +0900)]
e_policy: remove logically dead code

Change-Id: I4b531fc04e8436241929e224c238ec32210c3c25

6 years agoe_info_client: fixed buffer size warning 75/162675/1
Doyoun Kang [Tue, 5 Dec 2017 01:54:30 +0000 (10:54 +0900)]
e_info_client: fixed buffer size warning

Change-Id: I0b656b19f208d672c5c7ca5b142c7383e51cb203

6 years agoe_layout: add code to check the return value of evas_object_smart_data_get 85/162585/2
Doyoun Kang [Mon, 4 Dec 2017 09:30:13 +0000 (18:30 +0900)]
e_layout: add code to check the return value of evas_object_smart_data_get

Change-Id: Idc7bf93a367e323c3e6adb2016961d2af5f6e3fc

6 years agoe_util_transform: added initialization to e_util_transform_keep_ratio_apply 21/162621/1
Gwanglim Lee [Mon, 4 Dec 2017 11:53:19 +0000 (20:53 +0900)]
e_util_transform: added initialization to e_util_transform_keep_ratio_apply

And this function needs still implementation of function body.

Change-Id: I2d8759438d4fb79ecc681f482992c5cfec678ae7

6 years agoe_splitlayout: add code to check the return value of evas_object_smart_data_get 79/162579/2
Doyoun Kang [Mon, 4 Dec 2017 09:09:33 +0000 (18:09 +0900)]
e_splitlayout: add code to check the return value of evas_object_smart_data_get

Change-Id: I978aba461857c80ebce30e6925292f89c44d99a4

6 years agoe_service_quickpanel: added missing null check after smart data get 74/162574/1
Gwanglim Lee [Mon, 4 Dec 2017 08:54:47 +0000 (17:54 +0900)]
e_service_quickpanel: added missing null check after smart data get

Change-Id: Ie07c9400b4d8faebcde04106cbc01daf0029b4c5

6 years agoe_service_quickpanel: added missing null check after evas_object_smart_data_get 73/162573/1
Gwanglim Lee [Mon, 4 Dec 2017 08:47:01 +0000 (17:47 +0900)]
e_service_quickpanel: added missing null check after evas_object_smart_data_get

Change-Id: Icb534b4108fd69d3a2186232bfb433de2a1099ad

6 years agoe_comp_object: add code to check the return value of evas_object_smart_data_get 64/162564/2
Doyoun Kang [Mon, 4 Dec 2017 08:21:23 +0000 (17:21 +0900)]
e_comp_object: add code to check the return value of evas_object_smart_data_get

Change-Id: Ifa8b1899becee58038803eff4e116155634c0fa4

6 years agobufferqueue: added missing wl_display_destroy 61/162561/1
Gwanglim Lee [Mon, 4 Dec 2017 08:16:06 +0000 (17:16 +0900)]
bufferqueue: added missing wl_display_destroy

Change-Id: I66853ecf7abbf384dc4a11db29a5f36e567b8b1a

6 years agobufferqueue: added checking of wl_display_add_socket return value 60/162560/1
Gwanglim Lee [Mon, 4 Dec 2017 08:13:12 +0000 (17:13 +0900)]
bufferqueue: added checking of wl_display_add_socket return value

Change-Id: Ifc8ba8e0bea80db2797792c9ce5a3919d6f1612d

6 years agoe_plane: don't set set_counter if ec is pointer 05/161905/2 accepted/tizen/4.0/unified/20171129.090422 submit/tizen_4.0/20171128.061750
Changyeon Lee [Tue, 28 Nov 2017 06:24:52 +0000 (15:24 +0900)]
e_plane: don't set set_counter if ec is pointer

Change-Id: Ic401cb6fc490a326821d8cda738354c7416ad8e8

6 years agoe_plane: reset set_counter if fb_target enter hwc 04/161904/2
Changyeon Lee [Tue, 28 Nov 2017 02:52:16 +0000 (11:52 +0900)]
e_plane: reset set_counter if fb_target enter hwc

Change-Id: I9e2cf10fa4aef69f49ec48452daf513afccea2ba

6 years agoadd E_LAYER_DESK_OBJECT layers 72/161872/1
Doyoun Kang [Tue, 28 Nov 2017 01:43:04 +0000 (10:43 +0900)]
add E_LAYER_DESK_OBJECT layers

We added 3 layers - E_LAYER_DESK_OBJECT_BELOW, E_LAYER_DESK_OBJECT, E_LAYER_DESK_OBJECT_ABOVE.
E_LAYER_DESK_OBJECT is used by e_desk object.

Change-Id: I5786761b1593dbdc22dfeb37ab8b177fc0548732

6 years agoe_dpms: set proper result for dbus reply
YoungJun Cho [Fri, 24 Nov 2017 04:57:35 +0000 (13:57 +0900)]
e_dpms: set proper result for dbus reply

This patch sets proper result for dbus reply after dpms set.

Change-Id: Id9eb533ca30263fda155c74a260ef4bf5b097066
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
6 years agoe_plane: commit planes in vsync start point when hwc is changed 63/161363/1 accepted/tizen/4.0/unified/20171124.063640 submit/tizen_4.0/20171123.075006
Changyeon Lee [Tue, 21 Nov 2017 03:57:25 +0000 (12:57 +0900)]
e_plane: commit planes in vsync start point when hwc is changed

commit is done in vsync start point when fb_target and other plane
should be synchronized if output_doens't use commit_per_vblank

Change-Id: Ifefb338832530ced0046239967aa01eda926be1c

6 years agoe_plane: set sync_count to queue when planes need synchronizing 62/161362/1
Changyeon Lee [Tue, 21 Nov 2017 02:52:23 +0000 (11:52 +0900)]
e_plane: set sync_count to queue when planes need synchronizing

if uset_counter and set_counter is set, surface of fb target
should be complete rendering when it is synchronized with
surface of other planes.

Change-Id: I5b9867b4354d25aa51d22823aefef015315ed39b

6 years agoe_policy_wl: add window to focus_stack while handling activate_below request 70/161170/1 accepted/tizen/4.0/unified/20171123.184406 submit/tizen_4.0/20171122.045520
Doyoun Kang [Wed, 22 Nov 2017 04:23:44 +0000 (13:23 +0900)]
e_policy_wl: add window to focus_stack while handling activate_below request

Change-Id: Ie410cdb71312e4a276840d7b4731ca04dd17d3b7

6 years agoe_info_client/server: modify iconic state log 53/160953/1
Doyoun Kang [Tue, 21 Nov 2017 01:09:41 +0000 (10:09 +0900)]
e_info_client/server: modify iconic state log

iconic state
0 : uniconic
1 : iconic by window manager
2 : iconic by client

Change-Id: I50ae3cdf3816bf9237df5829a6faaf992a229f14

6 years agoe_policy_wl: add log for requesting tizen_policy protocol 52/160952/1
Doyoun Kang [Tue, 21 Nov 2017 00:17:53 +0000 (09:17 +0900)]
e_policy_wl: add log for requesting tizen_policy protocol

Change-Id: I33c558e75002441d9d2ba9e4b823555bf7ca8411

6 years agoe_desk: update maximize if ec is a member of desk->smart_obj 31/160631/1
Juyeon Lee [Fri, 17 Nov 2017 07:34:00 +0000 (16:34 +0900)]
e_desk: update maximize if ec is a member of desk->smart_obj

E Client as an member of smart object is not changed even though
parent obj(e_desk->smart_obj) is changed, so
code has been added as an workaround

Change-Id: I2340570736474190342c82dead0f4a6a97cf6d96

6 years agoe_plane: change e_plane_is/set_reserved to E_API 70/159370/2 accepted/tizen/4.0/unified/20171115.173831 submit/tizen_4.0/20171114.115539
Changyeon Lee [Wed, 8 Nov 2017 09:54:54 +0000 (18:54 +0900)]
e_plane: change e_plane_is/set_reserved to E_API

Change-Id: I82a88cfa58a50784ce53cb84e788d7ca4207467d

6 years agoe_comp: add interceptor for hwc policy 96/158796/6
Juyeon Lee [Fri, 3 Nov 2017 06:22:13 +0000 (15:22 +0900)]
e_comp: add interceptor for hwc policy

By adding interceptor, e20 will never replace hwc policy while "hwc_intercept_pol" is enabled

it means the extra-module should handle
   - the decision whether a client could be assinged on a plane or not.
   - hwc assignment and cancel(HWC set/unset)

Change-Id: Ifb6bd16e34e28b9dde5cb070c446ca7fb8743fe0

6 years agoe_comp_screen: free tzsr object when destroyed accepted/tizen/4.0/unified/20171110.071405 submit/tizen_4.0/20171109.073300
Boram Park [Fri, 10 Nov 2017 00:25:33 +0000 (09:25 +0900)]
e_comp_screen: free tzsr object when destroyed

Change-Id: I4e92e675a10616dbe9d99a073bf12f81830a599a

6 years agoe_process: send a "no visible windows" signal when e_client is removed 77/159577/1
Doyoun Kang [Fri, 10 Nov 2017 01:07:31 +0000 (10:07 +0900)]
e_process: send a "no visible windows" signal when e_client is removed

Change-Id: I3f4a1345dc118820cc73d2fb82c4a027697a8a3c

6 years agoe_comp: remove unused codes related _last_keydev_hash 84/159484/2
JengHyun Kang [Mon, 30 Oct 2017 10:33:56 +0000 (19:33 +0900)]
e_comp: remove unused codes related _last_keydev_hash

 - always send key events with event device events

Change-Id: I6d8bb895b76874834ad973dc48ca2f64d487d653

6 years agoe_comp_wl_rsm: correct screen-flickering when unbinded
Boram Park [Wed, 8 Nov 2017 10:51:28 +0000 (19:51 +0900)]
e_comp_wl_rsm: correct screen-flickering when unbinded

When unbinded, the old buffer was still set to the native surface of
e_comp_object and alive. So.. if we disabled evas map, e_comp_object
could be composited wronly when rendered suddenly.

Change-Id: Ic121ebec737daacc6b4d0fb891a3f0e4014c148a

6 years agoe_comp_screen: rendering forcely to prepare HWC
Boram Park [Wed, 8 Nov 2017 10:44:35 +0000 (19:44 +0900)]
e_comp_screen: rendering forcely to prepare HWC

Change-Id: I6dd0727860647392a2e7834e47abc74def2eb0f4

6 years agoe_service_quickpanel: remove log 85/159285/1 accepted/tizen/4.0/unified/20171109.065808 submit/tizen_4.0/20171108.044321
Juyeon Lee [Wed, 8 Nov 2017 04:34:52 +0000 (13:34 +0900)]
e_service_quickpanel: remove log

Change-Id: Idbb4e3866f384e111c8186565e379fa1f904a2bf

6 years agoe_keyrouter: support a event_surface event 14/155514/2 accepted/tizen/4.0/unified/20171108.063713 submit/tizen_4.0/20171107.093340
JengHyun Kang [Fri, 13 Oct 2017 10:13:07 +0000 (19:13 +0900)]
e_keyrouter: support a event_surface event

Change-Id: Ib14f91db1311bb7f96957431328ff26f188ef42a

6 years agodpms: move zone controlling to output temporarily
Boram Park [Thu, 2 Nov 2017 07:26:09 +0000 (16:26 +0900)]
dpms: move zone controlling to output temporarily

Change-Id: If7fdd0a1825c6faea229de95c455885a3c9f3602

6 years agoe_output: support intercept_hook functions
Boram Park [Thu, 2 Nov 2017 07:24:19 +0000 (16:24 +0900)]
e_output: support intercept_hook functions

Change-Id: I88ee11c901554964e043a456730bfa20418e3df3

6 years agoe_output: reset all planes and layers when dpms off
Boram Park [Mon, 23 Oct 2017 23:51:59 +0000 (08:51 +0900)]
e_output: reset all planes and layers when dpms off

Change-Id: If87ba196d96ced11ae11146092c324b6070298d7

6 years agoe_comp_screen: consider the output-transform only if necessary
Boram Park [Mon, 23 Oct 2017 02:56:53 +0000 (11:56 +0900)]
e_comp_screen: consider the output-transform only if necessary

Change-Id: Id8362667b3646784107b2f5b5ef04a35ce578572

6 years agoe_config: add screen_rotation_client_ignore variable
Boram Park [Mon, 23 Oct 2017 02:51:44 +0000 (11:51 +0900)]
e_config: add screen_rotation_client_ignore variable

For all clients to ignore output transform status

Change-Id: I3c9bc13bbaf31fb9543a4b2a387c1c79ef804ebc

6 years agoe_desk: zoom disorder on quickpanel window 43/158743/1
Juyeon Lee [Thu, 2 Nov 2017 12:54:08 +0000 (21:54 +0900)]
e_desk: zoom disorder on quickpanel window

the quickpanel window client is not belong to any smart obj after boot
but, by below condition it became a smart obj member
1. of e_desk smart obj once quickpanel open/close execution done
2. of mover smart obj while dragging mover obj for quicpanel effect

desk-zoom should not be applied on the quickpanel if it belongs to smart obj
because its parent is e_desk smart obj and zoom is already set

Change-Id: Id4cd216934183209b180e0a324e45e0fafff0bb6

6 years agoe_comp: cancel hwc below quickpanel windows when open 41/158441/2 accepted/tizen/4.0/unified/20171102.061819 submit/tizen_4.0/20171101.020824
Juyeon Lee [Wed, 1 Nov 2017 03:46:48 +0000 (12:46 +0900)]
e_comp: cancel hwc below quickpanel windows when open

   if e_config->use_desk_smart_obj is 1,
   e_desk smart obj became a child of canvas.
   and the smart obj has quickpanel as a member of it
   so, quickpanel window couldn't be a child of canvas, but e_desk

Change-Id: I8b6b84f7e9142846244651eea19dcb2cf9c66e80

6 years agoe_plane_renderer: support hw cursor in rotation environment 36/158436/1
Changyeon Lee [Thu, 26 Oct 2017 04:42:12 +0000 (13:42 +0900)]
e_plane_renderer: support hw cursor in rotation environment

Change-Id: Ic59edc0fcdd945bf7e2d082101fc5c4f0830dccc

6 years agoe_plane: use commit_handler for checking wait commit 34/158434/1
Changyeon Lee [Wed, 18 Oct 2017 05:00:41 +0000 (14:00 +0900)]
e_plane: use commit_handler for checking wait commit

if commit_per_vblank is disabled

Change-Id: I4dfc0811e44900547f8a70aafa2ade8747a99a4a

6 years agoe_plane: sync with compositing buffer when ec enter HWC mode 33/158433/1
Changyeon Lee [Thu, 19 Oct 2017 04:21:14 +0000 (13:21 +0900)]
e_plane: sync with compositing buffer when ec enter HWC mode

Change-Id: I3c8fb49dc8e1001511b564287ff5dcd1b4289ee6

6 years agoe_plane: fixed unset_counter when visible client is unset 32/158432/1
Changyeon Lee [Thu, 19 Oct 2017 02:36:42 +0000 (11:36 +0900)]
e_plane: fixed unset_counter when visible client is unset

Change-Id: I5b0c487bd95622fc10f350407080eb85088b304f

6 years agoapply ec->x,y when defer move 19/158419/1
Juyeon Lee [Tue, 31 Oct 2017 05:13:21 +0000 (14:13 +0900)]
apply ec->x,y when defer move

while client doing unmaximize, x,y(0,0)has passed to defer move
but, move request has been applied before the 1st buffer commit
as a result, there were bug for move ignore due to defer move

Change-Id: I7a22a9c93e0e1c64f5d2678f2c9744f692364540

6 years agoe_client: fix focus issue
Doyoun Kang [Thu, 26 Oct 2017 02:03:05 +0000 (11:03 +0900)]
e_client: fix focus issue

There was a side effect on below patch. This patch fix it.
---------------------------------------
    e_client: fixed focus issue

    There was a bug that the focus is set to the top window when user touches the below window.
    in this case (user touches the window), touched window should be get the focus.
    This patch can resolve this issue.

    Change-Id: I090a1ed27b3f20081e4f69fc2a8f5461f6c7ff0d
----------------------------------------

Change-Id: I28840969f94595b8545b6ef36548fc0f7afe5798

6 years agoe_comp_object: fixed a problem that final clip region of the mouse cursor object... 14/158414/1
Gwanglim Lee [Mon, 30 Oct 2017 08:08:24 +0000 (17:08 +0900)]
e_comp_object: fixed a problem that final clip region of the mouse cursor object could be wrong after rotating

Due to an initial position of cw->clip that is (0, 0), it could occur that the
top of the mouse cursor object could be clipped after rotating. Ideally, this
issue should be fixed at the evas rendering engine side, but extending the position
to (-9999,-9999) from (0, 0) is enough for resolving this issue.

Change-Id: Icdf1bfbb428945827b542be1475fac2b32de28bb
(cherry picked from commit 2c047c69b708d31108804403e82d29fb972ec53d)

6 years agoe_comp_wl: flush the buffer by every commit 84/157284/1 submit/tizen_4.0/20171024.073426
Sangjin Lee [Thu, 19 Oct 2017 08:20:39 +0000 (17:20 +0900)]
e_comp_wl: flush the buffer by every commit

If new buffer is commited after the surface was iconic,
server will send the flush event to client for reduce memory.
Also the point of flush moved to _e_vis_client_cb_evas_hide from e_client_iconify.
becase if a surface is on animation, iconify state should delay to stop animation.

Change-Id: I542046c7572ab08f40674cb30515c0d22dd5603d
(cherry picked from commit c57256ce08f27d4bb11dc22774db80d390c90d89)

7 years agoe_output_capture: add sync flag. 07/156807/3
Junkyeong Kim [Fri, 20 Oct 2017 05:05:34 +0000 (14:05 +0900)]
e_output_capture: add sync flag.

Change-Id: I15f5c201718a8f52d81d0d41cb6a69af4a8ec285
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_plane: remove pp pending data if offscreen commit or dpms is not on. 14/156814/1
Junkyeong Kim [Fri, 20 Oct 2017 05:24:43 +0000 (14:24 +0900)]
e_plane: remove pp pending data if offscreen commit or dpms is not on.

Change-Id: I2e7a6586e9c7f298400a8dda272ae5411f6ece66
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agosoftkey: change internal type in E_Policy_Softkey accepted/tizen/4.0/unified/20171018.231645 submit/tizen_4.0/20171018.060340 tizen_4.0.m2_release
Doyoun Kang [Wed, 18 Oct 2017 07:42:40 +0000 (16:42 +0900)]
softkey: change internal type in E_Policy_Softkey

Change-Id: Icc23c1dde649df2b0b54cafaca110f7e4dd6731a

7 years agoe_comp_wl_rsm: do not send latest buffer if remote_surface is already redirected
Changyeon Lee [Wed, 23 Aug 2017 11:17:50 +0000 (20:17 +0900)]
e_comp_wl_rsm: do not send latest buffer if remote_surface is already redirected

Change-Id: I45fdd2c30c4725df0020f6b5868a31509100135f

7 years agoe_comp_wl_rsm: send buffer_destroy event when remote_surface is destroyed
Changyeon Lee [Tue, 10 Oct 2017 09:57:21 +0000 (18:57 +0900)]
e_comp_wl_rsm: send buffer_destroy event when remote_surface is destroyed

Change-Id: Ice3bbbd16e70c6862dff3c2edcacdb9a2a1fa44a

7 years agosoftkey: modify softkey feature
Doyoun Kang [Wed, 18 Oct 2017 01:39:42 +0000 (10:39 +0900)]
softkey: modify softkey feature

We add code to control the softkey by module.

Change-Id: Ice65d31fd1d71cd87daa81653d4e356ab070f988

7 years agoe_policy_visibility: fix bug for deiconify_approve
Doyoun Kang [Tue, 17 Oct 2017 04:45:06 +0000 (13:45 +0900)]
e_policy_visibility: fix bug for deiconify_approve

The child window didn't send uniconify event when it set transient for a parent window
which is running deiconify_approve for activation.
In this case, the child window didn't render because its internal state is iconic.

Change-Id: Ie375ec92004223f9630df3077cdc919420f9c4ee

7 years agoe_config: add configurations for qp_handler's transparency
Doyoun Kang [Tue, 17 Oct 2017 02:03:01 +0000 (11:03 +0900)]
e_config: add configurations for qp_handler's transparency

Change-Id: Ia494c69c6118563097ba58d450c70eb0769fb75b

7 years agoe_comp_object: set visibility_calc flag after all animation is finished
Doyoun Kang [Sat, 14 Oct 2017 08:22:14 +0000 (17:22 +0900)]
e_comp_object: set visibility_calc flag after all animation is finished

Change-Id: I0db00821ca2ec8b42262d8ddcb53adf181ef6e17

7 years agoe_output: execute touch transform if pp zoom was set when rotate
Junkyeong Kim [Mon, 16 Oct 2017 06:14:27 +0000 (15:14 +0900)]
e_output: execute touch transform if pp zoom was set when rotate

Change-Id: Id0b8730da5a93c7a7f49ce5e952c0aacbc28febf
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_desk: erase unused variable
Junkyeong Kim [Fri, 13 Oct 2017 10:02:33 +0000 (19:02 +0900)]
e_desk: erase unused variable

Change-Id: Ib56d4883bbdce27615108905b0ecf45b94193a17
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_plane: release resource if pp fail
Junkyeong Kim [Sun, 15 Oct 2017 12:12:23 +0000 (21:12 +0900)]
e_plane: release resource if pp fail

Change-Id: I401125e536d558cb99d053cc213eb186afc26c63
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_output: check pp commit possible before execute _e_output_render_update
Junkyeong Kim [Fri, 13 Oct 2017 10:03:46 +0000 (19:03 +0900)]
e_output: check pp commit possible before execute _e_output_render_update

Change-Id: I6adb8dcc066ae1618f590cbc0c41ac8297bd275e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_plane: add e_plane_pp_commit_possible_check function
Junkyeong Kim [Fri, 13 Oct 2017 09:49:04 +0000 (18:49 +0900)]
e_plane: add e_plane_pp_commit_possible_check function

Change-Id: I1c8d8fcc4136846cdaf5685621032aeecb85fd04
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_plane: check pp pending lists by eina_list_count
Junkyeong Kim [Fri, 13 Oct 2017 09:34:00 +0000 (18:34 +0900)]
e_plane: check pp pending lists by eina_list_count

Change-Id: Ic0102df1ffeeb5f4d6d1b1b5a32491f9aec3e32a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_plane: set correct src tsurface for pp
Junkyeong Kim [Thu, 28 Sep 2017 11:58:26 +0000 (20:58 +0900)]
e_plane: set correct src tsurface for pp

Change-Id: Iaf43c4bd41947f8f6c99d77e46a49281a5b028a8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_comp_wl: add log to check window name in touch down,up,cancel
Minsu Seo [Wed, 11 Oct 2017 05:01:51 +0000 (14:01 +0900)]
e_comp_wl: add log to check window name in touch down,up,cancel

Change-Id: I0e8a267b01ab063af0c273b190a163928ec5708a

7 years agoe_client: add bind_ref value in E_Client structure
Doyoun Kang [Tue, 10 Oct 2017 11:36:00 +0000 (20:36 +0900)]
e_client: add bind_ref value in E_Client structure

We add a bind_ref value to handle a reference count when the ec is bound to remote surface.

Change-Id: I27fae54dd9037b76a0d3e534c0b2e3ff2ecfbfad

7 years agoe_output: fixed typo.
Gwanglim Lee [Tue, 10 Oct 2017 12:35:11 +0000 (21:35 +0900)]
e_output: fixed typo.

Change-Id: I403273ec8055d2ecb03a1359356dc31a8dd2b981

7 years agoremote_surface: get rid of unused variables
Gwanglim Lee [Tue, 10 Oct 2017 12:33:05 +0000 (21:33 +0900)]
remote_surface: get rid of unused variables

tbm_surface_get_width/height functions are called unnecessarily.

Change-Id: I6621a0138f1231bf180a9c79332904a51ee371c9

7 years agoremote_surface: removed unnecessary rw attributes when using tbm_surface_map
Gwanglim Lee [Tue, 10 Oct 2017 12:20:35 +0000 (21:20 +0900)]
remote_surface: removed unnecessary rw attributes when using tbm_surface_map

Change-Id: I3852eaf88d5f4f0e3ab701cb360d4eb8f58735c2

7 years agoe_comp_screen: performs evas_norender in idle to avoid memory leaks for evas objects
Gwanglim Lee [Wed, 27 Sep 2017 12:51:44 +0000 (21:51 +0900)]
e_comp_screen: performs evas_norender in idle to avoid memory leaks for evas objects

Change-Id: I7b34676dd6a75df2a077653950d22ad7ab45588e

7 years agoe_config: added support for evas_norender to avoid memory leaks for evas objects
Gwanglim Lee [Wed, 27 Sep 2017 05:18:15 +0000 (14:18 +0900)]
e_config: added support for evas_norender to avoid memory leaks for evas objects

The memory leak in the evas could occur if E doesn't perform evas rendering.
It is because cleanup for evas object is processed in the rendering stage of
evas. Thus if E is always performing HWC for compositing the new evas object,
then leak can occurs on the evas side even after deletion of that object.

In order to resolve it, we have added comp_canvas_norender configuration value.
If user enables this configuration, then E always performs evas_norender in idle
to cleanup evas objects which had not been rendered through evas rendering.

Change-Id: I89dd8d931b75f78ca2114e493ca7b46eb81bf28e

7 years agoe_policy_visibility: change uniconify renderer
Sangjin Lee [Thu, 28 Sep 2017 07:59:43 +0000 (16:59 +0900)]
e_policy_visibility: change uniconify renderer

when a surface was binded to remote_surface, it should be check provider's commit for
uniconicy render. so add the function for get provider and use it.

Change-Id: Ieac5f6485efce28e3dd5433096413365fe5fd0f6