platform/upstream/enlightenment.git
6 years agoe_plane: set correct cursor position in the case of rotation 29/164129/2
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_output_hwc: remove checking sync_time_line in hwc_ec_check 61/163761/2
Changyeon Lee [Wed, 13 Dec 2017 08:49:37 +0000 (17:49 +0900)]
e_output_hwc: remove checking sync_time_line in hwc_ec_check

Change-Id: I68b714346aeb44c4af08c757d6c4cb0a8ff02b54

6 years agoRevert "e_info: remove the forced log level setting for "e"" 45/164045/2
Boram Park [Fri, 15 Dec 2017 04:04:20 +0000 (13:04 +0900)]
Revert "e_info: remove the forced log level setting for "e""

The default eina log level is ERR. So need to revert.

This reverts commit 849be49095c903130974beef82df9fdf263a8cfc.

Change-Id: Id709702e3a2e6535bd86fe9d80cdcf3a5b1eb573

6 years agoe_input_evdev: check a invalid shifting value 26/163926/1
JengHyun Kang [Thu, 14 Dec 2017 06:26:40 +0000 (15:26 +0900)]
e_input_evdev: check a invalid shifting value

Change-Id: I614d0a389ecc475c2f863b69e8fd668d30c57105

6 years agoe_input_evdev: remove a invalid code 22/163922/1
JengHyun Kang [Thu, 14 Dec 2017 05:43:02 +0000 (14:43 +0900)]
e_input_evdev: remove a invalid code

Change-Id: Ie13dc12f74cb299f6f821d50cc319e2e88a72b11

6 years agoe_input_evdev: added missing free 00/163900/1 accepted/tizen/unified/20171215.060610 submit/tizen/20171214.054052
Gwanglim Lee [Thu, 14 Dec 2017 03:04:59 +0000 (12:04 +0900)]
e_input_evdev: added missing free

Change-Id: Iac19f7ffa53541bc477e12c92ee6f477c15a28d8

6 years agoe_input_device: added missing free 98/163898/2
Gwanglim Lee [Thu, 14 Dec 2017 02:54:14 +0000 (11:54 +0900)]
e_input_device: added missing free

Change-Id: Ib93eb9f3ff998f0fd9bacbcd795d90d66030cce4

6 years agoe_comp: added buffer size check code to avoid buffer overflow when socket init 95/163895/1
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 78/163878/1
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 48/163748/2 accepted/tizen/unified/20171214.050316 submit/tizen/20171213.235649
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_input: add implementation to initialize libinput udev backend within an ecore thread 39/163739/3
Sung-Jin Park [Wed, 13 Dec 2017 07:28:45 +0000 (16:28 +0900)]
e_input: add implementation to initialize libinput udev backend within an ecore thread

Change-Id: Ib9fcddcfc22f04ca1ac97be0242b4f36002f9856
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_plane: force render when set_counter,unset_counter are decreased 47/163747/2
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 agoe_plane: prepare_ec resetted when HWC client is freed or deleted. 80/163480/2
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 agoe_input: replace getenv() with e_util_env_get() and modify to check only for libinput... 09/163709/1
Sung-Jin Park [Wed, 13 Dec 2017 04:05:55 +0000 (13:05 +0900)]
e_input: replace getenv() with e_util_env_get() and modify to check only for libinput path backend

Change-Id: I7c495cc79ecf169f1804711ea2abe1624a0702a7
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoremote_surface: added new EAPIs to get/set the 'skip_save_img' property of E_Client 15/163415/2 accepted/tizen/unified/20171213.153241 submit/tizen/20171213.023423
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 70/163670/1
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_comp_wl: Ensure touch event radius storage variables update whenever there is an... 05/162205/3
ritesh.u [Wed, 29 Nov 2017 14:20:15 +0000 (19:50 +0530)]
e_comp_wl: Ensure touch event radius storage variables update whenever there is an update from firmware

Change-Id: I5294c64322f04b7825d8f98ebb51ffc3582d1ec4
Signed-off-by: ritesh.u <ritesh.u@samsung.com>
6 years agoe_info: add code to print some config information 45/163445/1 accepted/tizen/unified/20171212.064747 submit/tizen/20171211.091251
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_input: change value types to Ecore_Window 34/163434/3
JengHyun Kang [Mon, 11 Dec 2017 06:49:14 +0000 (15:49 +0900)]
e_input: change value types to Ecore_Window

Change-Id: I3752cbfbc5fb7b1b0025e526e231da9610caa658

6 years agoe_info: remove the forced log level setting for "e" 36/163436/1
Boram Park [Mon, 11 Dec 2017 07:07:55 +0000 (16:07 +0900)]
e_info: remove the forced log level setting for "e"

The default log level is INFO. So we don't need to set it manually. This
forced setting makes EINA_LOG_LEVELS useless.

Change-Id: Ib7437d1c1807278094c6283ed695067dbe32661e

6 years agofix bug for sending visibility event 04/163304/1
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 agoe_info_client: Do not check the visibility.obscured when it print hwc status 30/163230/1
SooChan Lim [Fri, 8 Dec 2017 05:29:45 +0000 (14:29 +0900)]
e_info_client: Do not check the visibility.obscured when it print hwc status

Change-Id: Id9ce3d44019eb262c87fe6be491e140c11df7be8

6 years agoe_util: replaced getenv by e_util_env_get to avoid copying tainted string 99/163099/3
Gwanglim Lee [Thu, 7 Dec 2017 07:29:32 +0000 (16:29 +0900)]
e_util: replaced getenv by e_util_env_get to avoid copying tainted string

Change-Id: I54b8cd66378594580c44502dda7c8ad50b210342

6 years agoReset global drag source pointer (e_comp_wl->drag_source) if client destroys its... 58/162358/5
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_comp_screen: set size 1x1 to fake output config 94/163094/1
Junkyeong Kim [Thu, 7 Dec 2017 07:14:03 +0000 (16:14 +0900)]
e_comp_screen: set size 1x1 to fake output config

Change-Id: I09fe9285b2ee7b982aafa1bc19e8e2018b54283d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_input_evdev: remove warning - reduce the number of conditional operators 89/163089/2
Sung-Jin Park [Thu, 7 Dec 2017 06:52:55 +0000 (15:52 +0900)]
e_input_evdev: remove warning - reduce the number of conditional operators

Change-Id: I7cee5b833e6800d1c08807287a8d21db6435f3ba
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_input: recover removed variables and put them into the right place (inside #ifdef... 88/163088/2
Sung-Jin Park [Thu, 7 Dec 2017 06:47:31 +0000 (15:47 +0900)]
e_input: recover removed variables and put them into the right place (inside #ifdef macros)

Change-Id: I3943fad582214a132afca68d8561539c8d24c5d0
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_input: remove _device_close() not to make unnecessary function call stack 65/163065/1
Sung-Jin Park [Thu, 7 Dec 2017 05:41:40 +0000 (14:41 +0900)]
e_input: remove _device_close() not to make unnecessary function call stack

Change-Id: I79ecaba692479f7ea54ce97b36052e20196fc21e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_input_device: removed unused function 25/163025/3 accepted/tizen/unified/20171208.062104 submit/tizen/20171207.025043
Gwanglim Lee [Thu, 7 Dec 2017 02:44:22 +0000 (11:44 +0900)]
e_input_device: removed unused function

Change-Id: Icbc88eb886f7bc8f16b779bfe2513eb3fa7c4adf

6 years agoe_policy_visibility: send pre-unobscured visibility event when the window do not... 15/163015/2
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 14/163014/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 13/163013/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_plane: add checking return value 19/163019/2
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_input_evdev: fix warnings 24/163024/1
Gwanglim Lee [Thu, 7 Dec 2017 02:37:17 +0000 (11:37 +0900)]
e_input_evdev: fix warnings

Change-Id: I3638be95f20f413e93018fcdaad842e08d35dc05

6 years agoe_main: removed e_first_frame feature. 62/162962/1
Gwanglim Lee [Wed, 6 Dec 2017 11:30:56 +0000 (20:30 +0900)]
e_main: removed e_first_frame feature.

It was intended for measuring initialization time of the enlightenment.
But it used insecure getenv to enable feature. We will try to change this
feature to use e_config later.

Change-Id: Ieef5ce450e8ec2f0dfa26b7c66c3ad80cf00eb2b

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