platform/upstream/enlightenment.git
6 years agoe_input: fix not to do unnecessary udev-lookups and loops 17/162917/4
Sung-Jin Park [Wed, 6 Dec 2017 07:34:10 +0000 (16:34 +0900)]
e_input: fix not to do unnecessary udev-lookups and loops

Change-Id: Ibc99b5886327deebc5efa338c7bd6210404106e9
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_comp: fixed an warning.
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...
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
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
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
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
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_info: added missing unref for the xkb_context if mmap is failed.
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
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
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
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
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
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
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
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
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
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
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
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
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_output: Export e_output_dpms_set() API 80/162780/2
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_input: add ttrace points to enable performance measurement 72/162672/2
Sung-Jin Park [Tue, 5 Dec 2017 01:46:36 +0000 (10:46 +0900)]
e_input: add ttrace points to enable performance measurement

Change-Id: I9a0aa429a3d06a81d1622dd3a0c169bbe251572c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_input: define/add environment variables to enable choice between two libinput backe... 57/162657/1
Sung-Jin Park [Tue, 5 Dec 2017 00:32:20 +0000 (09:32 +0900)]
e_input: define/add environment variables to enable choice between two libinput backends (udev/path)

Change-Id: Id6fc157681a4d33f72094b8a48f04efe53a7f527
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_input: fix not to call ecore_evas_input_event_register_with_multi() : unnecessary 54/162654/1
Sung-Jin Park [Tue, 5 Dec 2017 00:08:04 +0000 (09:08 +0900)]
e_input: fix not to call ecore_evas_input_event_register_with_multi() : unnecessary

Change-Id: I232c5cc8938b030b0b0bea3e5e2a948e02784c30
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_pointer: set the visibility.obscured at cursor show/hide 16/162116/1
SooChan Lim [Wed, 29 Nov 2017 06:52:24 +0000 (15:52 +0900)]
e_pointer: set the visibility.obscured at cursor show/hide

Change-Id: I30fa48889dca9183bfa1710e147dc41b1c14d684
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
6 years agoe_plane: enhance memory management for external output pp 87/161987/5
Junkyeong Kim [Tue, 28 Nov 2017 10:47:38 +0000 (19:47 +0900)]
e_plane: enhance memory management for external output pp

add _e_plane_ext_pp_commit_data_release function
erase unsued variable

Change-Id: I8e1ed2576e9c26e63c21e571f4fbb830bbca646b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_output: erase unused variable for external output 89/161989/1
Junkyeong Kim [Tue, 28 Nov 2017 10:53:14 +0000 (19:53 +0900)]
e_output: erase unused variable for external output

Change-Id: I9f0542caf35b3b8db19e9918ff5858f83a3d2856
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_plane: don't set set_counter if ec is pointer 22/161922/2
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 21/161921/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 agoe_output_hwc: align the indentation and reposition of the functions 08/161908/3
SooChan Lim [Tue, 28 Nov 2017 06:42:19 +0000 (15:42 +0900)]
e_output_hwc: align the indentation and reposition of the functions

Change-Id: Ie30e7a1701c0f8a3d3318e0603b6cecc54a4d631

6 years agoadd E_LAYER_DESK_OBJECT layers 48/161848/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_comp_hwc: cancel hwc below quickpanel windows when open 92/161792/1
SooChan Lim [Mon, 27 Nov 2017 10:15:36 +0000 (19:15 +0900)]
e_comp_hwc: 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: I8fde7e9656da9279738906120705c136c7a00cd8

6 years agoe_output_hwc: add the e_output_hwc_planes_ prefix to the function name. 91/161791/1
SooChan Lim [Mon, 27 Nov 2017 09:21:46 +0000 (18:21 +0900)]
e_output_hwc: add the e_output_hwc_planes_ prefix to the function name.

Change-Id: Ie7262b2ca6ee565c76f7f48e9ee86402f5ebe395

6 years agoe_output: change the name of _e_output_commit() 90/161790/1
SooChan Lim [Mon, 27 Nov 2017 09:20:51 +0000 (18:20 +0900)]
e_output: change the name of _e_output_commit()

from _e_output_commit() to _e_output_planes_commit()

Change-Id: I9233848b76c28ca0b63ad8a13d973a12b572f440

6 years agoe_comp_screen: add log to succeed the output_setup 89/161789/1
SooChan Lim [Mon, 27 Nov 2017 08:55:02 +0000 (17:55 +0900)]
e_comp_screen: add log to succeed the output_setup

Change-Id: I82a340c51a107bd1f19d2670bd5b51e25981874c

6 years agoe_output: skip plane_commit if plane is over than fb_plane when zoom set to avoid... 01/161401/3
Junkyeong Kim [Thu, 23 Nov 2017 07:37:06 +0000 (16:37 +0900)]
e_output: skip plane_commit if plane is over than fb_plane when zoom set to avoid flickering

Change-Id: Iced17d08dc44eeff7e373efd8402938f0533352d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_plane: commit planes in vsync start point when hwc is changed 61/161361/2
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 60/161360/2
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_dpms: set proper result for dbus reply 50/161550/2
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_comp_wl_video: add the abstract video layer 19/160919/10
Roman Marchenko [Mon, 20 Nov 2017 16:29:49 +0000 (18:29 +0200)]
e_comp_wl_video: add the abstract video layer

struct _E_Video_Layer and the functions were added for reduce dependency of the code from API TDM.

Change-Id: Ia5df931eb0232b8ad2bd35275b662f9ac98cdb89
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
6 years agoe_comp_wl_video: add _e_video_get_available_formats 44/160944/7
SooChan Lim [Tue, 21 Nov 2017 00:55:39 +0000 (09:55 +0900)]
e_comp_wl_video: add _e_video_get_available_formats

Change-Id: Icf33fb949934d9aa90dd01f91faa04b635347579

6 years agoe_comp_wl_video: add _e_video_get_prop_id(). 43/160943/7
SooChan Lim [Tue, 21 Nov 2017 00:37:42 +0000 (09:37 +0900)]
e_comp_wl_video: add _e_video_get_prop_id().

Change-Id: Ib1accfa3263a61c20bb8afb8c2a3568d1ba3702a
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
6 years agoe_comp_wl_video : add _e_video_tdm_output_has_video_layer. 42/160942/6
SooChan Lim [Tue, 21 Nov 2017 00:16:09 +0000 (09:16 +0900)]
e_comp_wl_video : add _e_video_tdm_output_has_video_layer.

Change-Id: Ie20107cd2ec313e44c29e8d0368c8c1d4933800f
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
6 years agoe_policy_wl: add window to focus_stack while handling activate_below request 72/161172/1
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 agoremove the ENABLE_HWC_MULTI build feature. 93/160993/1
SooChan Lim [Tue, 21 Nov 2017 04:47:03 +0000 (13:47 +0900)]
remove the ENABLE_HWC_MULTI build feature.

E20 in tizen always turn on the HWC_MULTI build feature now.

Change-Id: I41b63ee64d2af9fe9a6b498066d6d85f7936bae1

6 years agoe_output: fix the typo 92/160992/1
SooChan Lim [Tue, 21 Nov 2017 04:41:01 +0000 (13:41 +0900)]
e_output: fix the typo

Change-Id: I7b90a88e1ea9cc88d6a76595d234008ed037698e

6 years agoe_output: move the location of initialization things at e_output_new() 91/160991/1
SooChan Lim [Tue, 21 Nov 2017 04:35:32 +0000 (13:35 +0900)]
e_output: move the location of initialization things at e_output_new()

Change-Id: I4e912f74258df0be58f3647b1352948664c92ebb

6 years agoe_eom: rework eom module 22/160322/15
Junkyeong Kim [Wed, 15 Nov 2017 10:10:54 +0000 (19:10 +0900)]
e_eom: rework eom module

erase tdm dependency.
use e_output APIs for ui rendering.
use tdm pp only overlay(video) case.
don't get tdm output change event. the event will be treated from e_output.
remove unused codes.

Change-Id: I7f07ac470fabfbba62f95208bc09ce5eefede977
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_output: get tdm output connection change event 17/160317/10
Junkyeong Kim [Wed, 15 Nov 2017 09:44:59 +0000 (18:44 +0900)]
e_output: get tdm output connection change event

add e_output_external_update API to treat connection changing.

Change-Id: I8beca867e06e25da447d4471e986d23f6ed2d219
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_eom: add e_eom_connect and e_eom_disconnect internal API 10/160310/9
Junkyeong Kim [Wed, 15 Nov 2017 09:03:07 +0000 (18:03 +0900)]
e_eom: add e_eom_connect and e_eom_disconnect internal API

Change-Id: I5c0772656ce379bb828e9be3b96da3afe808db91
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_output: support external output rendering 90/160290/9
Junkyeong Kim [Wed, 15 Nov 2017 08:15:23 +0000 (17:15 +0900)]
e_output: support external output rendering

add two internal API for external output setting
e_output_external_set, e_output_external_unset

if output is not primary_output(index 0) execute _e_output_external_commit.

Change-Id: I80ab7bc31a81cb706b711c429a72a57ed52a5543
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_plane_renderer: do not get ee if plane is external output 66/160266/5
Junkyeong Kim [Wed, 15 Nov 2017 07:06:43 +0000 (16:06 +0900)]
e_plane_renderer: do not get ee if plane is external output

Change-Id: I9528d92fc7662916bd50ca05eeeb6c4cc2587521
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_plane: support external output rendering 00/160100/9
Junkyeong Kim [Tue, 14 Nov 2017 10:59:59 +0000 (19:59 +0900)]
e_plane: support external output rendering

reuse e_plane_pp for external ouutput.
add three internal API for external output rendering.
1. e_plane_external_commit
2. e_plane_external_set
3. e_plane_external_unset
three APIs will be called from e_output.
if MIRROR mode get src surface from primary output showing buffer.
if PRESENTATION mode get src surface from plane->ec.

Change-Id: I55d70cf84f73218c883ac9062db8daf4cec574cf
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_output: make external output state 97/160097/5
Junkyeong Kim [Tue, 14 Nov 2017 10:58:37 +0000 (19:58 +0900)]
e_output: make external output state

Change-Id: Idd998295c17376071958a4c349bf91afd6d573f9
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_info_client/server: modify iconic state log 45/160945/2 accepted/tizen/unified/20171127.083208 submit/tizen/20171127.014924
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_comp_screen: turn off the hwc policy when the deactive is set. 10/160910/2
SooChan Lim [Mon, 20 Nov 2017 12:56:11 +0000 (21:56 +0900)]
e_comp_screen: turn off the hwc policy when the deactive is set.

When the deactive is set,
1. make the composite mode(E_OUTPUT_HWC_MODE_NO)
2. do not apply the hwc policy

Change-Id: Iae12aeaa4b298088470611b21ded11712b9903b3

6 years agoe_policy_wl: add log for requesting tizen_policy protocol 34/160934/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_output_hwc: refactor e_output_hwc_apply() 13/160813/1
SooChan Lim [Mon, 20 Nov 2017 06:33:23 +0000 (15:33 +0900)]
e_output_hwc: refactor e_output_hwc_apply()

Change-Id: I523737375a10e4a9854974f72f0a32e834cb15ca

6 years agoe_output_hwc: refactor e_output_hwc_usable() 61/160761/2
SooChan Lim [Mon, 20 Nov 2017 04:13:01 +0000 (13:13 +0900)]
e_output_hwc: refactor e_output_hwc_usable()

Change-Id: I922199550aefc2284bc92a1895c310df0ffc4583

6 years agoe_output_hwc: refactor e_output_hwc_end() 79/160679/2
SooChan Lim [Fri, 17 Nov 2017 10:20:07 +0000 (19:20 +0900)]
e_output_hwc: refactor e_output_hwc_end()

Change-Id: I50005388df4006665c9504c0b03fddb0933869ab

6 years ago e_output_hwc: refactor e_output_hwc_changed() 23/160623/3
SooChan Lim [Fri, 17 Nov 2017 06:42:36 +0000 (15:42 +0900)]
 e_output_hwc: refactor e_output_hwc_changed()

Change-Id: Ic9d981f2c085122dc1d4539109897f7e012e1021

6 years agoe_output_hwc: refactor e_output_hwc_begin() 64/160464/8
SooChan Lim [Thu, 16 Nov 2017 07:41:46 +0000 (16:41 +0900)]
e_output_hwc: refactor e_output_hwc_begin()

Change-Id: Id961e2fd0197957c0d0ef0d1e8c9f8f650c8b461
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
6 years agoe_desk: update maximize if ec is a member of desk->smart_obj 32/160632/1
Juyeon Lee [Fri, 17 Nov 2017 07:38:31 +0000 (16:38 +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: I0536328815f02f34e374e81674262704f2af0900

6 years agoremove deprecated function usage 30/160330/1
Sergey Sizonov [Wed, 15 Nov 2017 10:03:11 +0000 (13:03 +0300)]
remove deprecated function usage

tdm_helper_output_commit_per_vblank_enabled() now has to be
used instead of tdm_helper_commit_per_vblank_enabled().

Change-Id: I012dce3578aefabbe8e98e8c693e31d7df902d12
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
6 years agofix minor mistyping 29/160329/1
Sergey Sizonov [Wed, 15 Nov 2017 09:51:56 +0000 (12:51 +0300)]
fix minor mistyping

outputs don't exist yet when we try to call
e_comp_hwc_deactive_set/e_comp_hwc_multi_plane_set.

Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
Change-Id: I971751b72f9e067076035ce76f4d2cb03e7d700d

6 years agoe_comp: move hwc policy to e_output_hwc 18/159218/6 accepted/tizen/unified/20171114.132351 submit/tizen/20171114.052113
Changyeon Lee [Mon, 11 Sep 2017 09:07:57 +0000 (18:07 +0900)]
e_comp: move hwc policy to e_output_hwc

The hwc policy applys to each E_Output.
The hwc policy is decided in the idle enterer instead of in the job handler(_e_comp_update_cb).
Therefore, e20 can decide the hwc policy without calling e_comp_redner_queue() when the e20 enters the idle.

Change-Id: I835bae1dd931d9ce157c3944bf6e0151764ab9ca

6 years agoe_process: send a "no visible windows" signal when e_client is removed 76/159576/2
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_screen: free tzsr object when destroyed 72/159572/1
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_comp_wl_rsm: correct screen-flickering when unbinded 74/159374/2
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 73/159373/1
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 84/159284/1
Juyeon Lee [Wed, 8 Nov 2017 04:34:52 +0000 (13:34 +0900)]
e_service_quickpanel: remove log

Change-Id: Idbb4e3866f384e111c8186565e379fa1f904a2bf

6 years agoe_test_helper: add eldbus signal of focus changed 64/158964/2
JunSeok, Kim [Mon, 6 Nov 2017 06:56:25 +0000 (15:56 +0900)]
e_test_helper: add eldbus signal of focus changed

Change-Id: I8d6662fd936de30de22391f093ea3db18f84603e

6 years agoe_desk: zoom disorder on quickpanel window 09/158709/5
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_module: _e_modules_hash initialization is done in the e_module_init, not in the... 95/158895/1
Gwanglim Lee [Mon, 6 Nov 2017 01:15:07 +0000 (10:15 +0900)]
e_module: _e_modules_hash initialization is done in the e_module_init, not in the e_module_new.

Change-Id: Ic3752b63e3918980324facbf9a705011038dda03

6 years agoe_comp_wl_video: fix no-release issue when copied 78/158778/2
Boram Park [Fri, 3 Nov 2017 04:16:45 +0000 (13:16 +0900)]
e_comp_wl_video: fix no-release issue when copied

Change-Id: I8e936a3e9161a9753e368a19c00fed6f5dbe30af

6 years agodpms: move zone controlling to output temporarily 21/158621/2
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 20/158620/2
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_module: added a new init function for initializing module events at pre-stage of... 21/158721/1
Gwanglim Lee [Thu, 2 Nov 2017 14:47:20 +0000 (23:47 +0900)]
e_module: added a new init function for initializing module events at pre-stage of main function

Change-Id: I94ebea2fd0b5798683f8b8de99b6aebe220dae7e

6 years agoe_comp_wl_shell: moved module code for wayland shell handler to enlightenment's core 94/158594/4
Gwanglim Lee [Thu, 2 Nov 2017 04:28:21 +0000 (13:28 +0900)]
e_comp_wl_shell: moved module code for wayland shell handler to enlightenment's core

Change-Id: Ic49ea693a2de9ba62a2e569973c8325e8433fef0

6 years agoe_comp: cancel hwc below quickpanel windows when open 40/158440/1 accepted/tizen/unified/20171102.061619 submit/tizen/20171101.082936
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 agoapply ec->x,y when defer move 12/158312/6
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_comp_object: fixed a problem that final clip region of the mouse cursor object... 81/158181/3
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

6 years agoe_comp_wl_video: correct pp buffer's format 35/158235/2
Boram Park [Mon, 30 Oct 2017 10:38:28 +0000 (19:38 +0900)]
e_comp_wl_video: correct pp buffer's format

It should be one of supported formats of layer

Change-Id: Id6d2e1d2776eff0c647c768dada9a0a0a111730b

6 years agoe_output: change e_output_commit for pp zoom 32/158132/2
Junkyeong Kim [Mon, 30 Oct 2017 04:30:12 +0000 (13:30 +0900)]
e_output: change e_output_commit for pp zoom

Change-Id: Id792eb99a99c8ce3bef758e5951e92016d8ce8a0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_comp_screen: rotation input device when screen rotated 31/157931/4
Boram Park [Fri, 27 Oct 2017 01:49:53 +0000 (10:49 +0900)]
e_comp_screen: rotation input device when screen rotated

Change-Id: I0ad5b199b7195122fec60058f74bf06a61ad9197

6 years agoe_plane_renderer: support hw cursor in rotation environment 76/157776/3
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 01/157301/6
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 92/156792/8
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
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 agoe_input: converting to floating point correctly. 17/158117/1
Gwanglim Lee [Mon, 30 Oct 2017 02:15:50 +0000 (11:15 +0900)]
e_input: converting to floating point correctly.

Change-Id: I1dbe59158d40f786fdebaafe1a5ef491c78dd2d8

6 years agoe_client: fix focus issue 02/157702/4
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_output: change pp zoom touch rect cal method 54/156854/3
Junkyeong Kim [Fri, 20 Oct 2017 07:38:10 +0000 (16:38 +0900)]
e_output: change pp zoom touch rect cal method

fix pp zoom center x, y origin coordinate error.

Change-Id: I6c819c3f8d7d561de99698e20a26f54bbccc6d7e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_plane: check can_dequeue before execute pending pp data commit 33/157533/2
Junkyeong Kim [Wed, 25 Oct 2017 03:06:54 +0000 (12:06 +0900)]
e_plane: check can_dequeue before execute pending pp data commit

Change-Id: Ia815055f1387c2f8d9450698d94d78baf73f3eee
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_output: reset all planes and layers when dpms off 18/157218/7
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 66/156966/5
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 65/156965/3
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_comp_wl: flush the buffer by every commit 81/157081/4
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

6 years agoe_output_capture: add sync flag 60/156660/2
Junkyeong Kim [Thu, 19 Oct 2017 09:40:55 +0000 (18:40 +0900)]
e_output_capture: add sync flag

Change-Id: Ic8a116599401c7a45c9f445e5aa42c2341a6e3ad
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_plane: remove pp pending data if offscreen commit or dpms is not on. 97/155597/6
Junkyeong Kim [Sun, 15 Oct 2017 12:25:01 +0000 (21:25 +0900)]
e_plane: remove pp pending data if offscreen commit or dpms is not on.

Change-Id: I4d895edb0d0a1530cd0208299e9d2ef5ce2f9b5e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agosoftkey: change internal type in E_Policy_Softkey 78/156378/1 accepted/tizen/unified/20171019.145450 submit/tizen/20171018.060412
Doyoun Kang [Wed, 18 Oct 2017 07:42:40 +0000 (16:42 +0900)]
softkey: change internal type in E_Policy_Softkey

Change-Id: Icc23c1dde649df2b0b54cafaca110f7e4dd6731a