platform/upstream/enlightenment.git
6 years agoe_xdg_shell_v6: Freed a memory 'E_Xdg_Surface_Configure' when cleanup the configure_list. 00/185600/2
Seunghun Lee [Mon, 30 Jul 2018 09:46:16 +0000 (18:46 +0900)]
e_xdg_shell_v6: Freed a memory 'E_Xdg_Surface_Configure' when cleanup the configure_list.

fix a memory leak

Change-Id: I7329678c86dbd864d8afae021d6dc4f99c8e3331

6 years agoe_xdg_shell_v6: compare with proper enum type 99/185599/2
Seunghun Lee [Mon, 30 Jul 2018 09:42:53 +0000 (18:42 +0900)]
e_xdg_shell_v6: compare with proper enum type

Change-Id: I7572b5192e98394e5252c7e4b601ed1285d6236f

6 years agohwc_window: redesign hwc_windows to prevent flickering in transition 70/185670/2
Changyeon Lee [Wed, 1 Aug 2018 09:26:15 +0000 (18:26 +0900)]
hwc_window: redesign hwc_windows to prevent flickering in transition

- always update buffer and info are changed
- if buffer of target_window isn't matched with current evaluation, skip buffer
- hwc only evaluate windows when visible_window or buffer or info are changed

Change-Id: I481086e190ca96d58c638abbd892c27949331ad4

6 years agohwc_windows: use tdm_hwc_commit instead tdm_output_commit 69/185669/2
Changyeon Lee [Wed, 1 Aug 2018 09:06:21 +0000 (18:06 +0900)]
hwc_windows: use tdm_hwc_commit instead tdm_output_commit

Change-Id: I24c39020fcceb7761fe615f35ec449537c1a0e55

6 years agohwc_windows: update ec of hwc_window redirect after validate 68/185668/2
Changyeon Lee [Wed, 1 Aug 2018 09:01:30 +0000 (18:01 +0900)]
hwc_windows: update ec of hwc_window redirect after validate

- render_target means hwc_window is rendered on gl_compositor
- render_target is set/unset  when hwc_window is set to DEVICE/CLIENT

Change-Id: I159945670a40eb5164f15feda2eb5ef35f660b47

6 years agohwc_windows: update accepted_state and activate after hwc_accept 67/185667/2
Changyeon Lee [Wed, 1 Aug 2018 08:28:05 +0000 (17:28 +0900)]
hwc_windows: update accepted_state and activate after hwc_accept

Change-Id: Iff381a21d60bbdaa7ae47467346fface3b687d00

6 years agohwc_window: manage rendered tsurfaces as a list 60/185660/2
Changyeon Lee [Wed, 1 Aug 2018 07:34:10 +0000 (16:34 +0900)]
hwc_window: manage rendered tsurfaces as a list

- compositor can have several rendered tsurface
- ref/unref hwc_window when add/remove to render_list
- it is appended that tbm_surface which dequeued in manual_render

Change-Id: I4dffd0c8a71d6d127cc357512c7e565a0e53ca54

6 years agohwc_window: clean up code and log 59/185659/2
Changyeon Lee [Wed, 1 Aug 2018 05:56:08 +0000 (14:56 +0900)]
hwc_window: clean up code and log

- use EHWTRACE, EHWINF log instead ELOGF
- remove unnecessary log
- fix indentation and typo
- remove unused func

Change-Id: I4d14906d89f3a6cb982ba6f2f672f72d942f0433

6 years agohwc_window: wrapped cursor infomation to struct 58/185658/2 58/185658/3
Changyeon Lee [Tue, 31 Jul 2018 11:09:55 +0000 (20:09 +0900)]
hwc_window: wrapped cursor infomation to struct

Change-Id: I4db0835c83bb15fa446c4ef8a878ea80ad689d1f

6 years agohwc: added e_hwc_window_queue 56/185656/2
Changyeon Lee [Tue, 31 Jul 2018 10:44:18 +0000 (19:44 +0900)]
hwc: added e_hwc_window_queue

- E_Hwc_Window_Queue is used by hwc_window
- if hwc_window use queue, set and commit tsurface is acquired from queue
- hwc_window should release tsurface to queue when hwc_window doens't use
  tsurface anymore
- Normally target_window uses a queue, client hwc_window use queue when
  reserved memory target

Change-Id: I1eec6b13a821259679300042f47a00e363daf942

6 years agoe_utils: add support for monitoring file creation in the given directory 50/185650/2
Sung-Jin Park [Wed, 1 Aug 2018 09:39:29 +0000 (18:39 +0900)]
e_utils: add support for monitoring file creation in the given directory

Change-Id: Ie8b73efdb1f5971710ad43cc984d35619b72e498
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agohwc_window: change hwc_window hook func from EAPI to EINTERN 21/185621/1
Changyeon Lee [Wed, 1 Aug 2018 07:06:55 +0000 (16:06 +0900)]
hwc_window: change hwc_window hook func from EAPI to EINTERN

Change-Id: I69447981d73eda30e93609f36eaa8049ccf28724

6 years agohwc_windows: clean up log 30/185530/5
Changyeon Lee [Tue, 31 Jul 2018 08:46:16 +0000 (17:46 +0900)]
hwc_windows: clean up log

use EHWSTRACE macro and removed unnecessary log

Change-Id: Ifa1831288d8527f8440c0f63ccf3a25b5fe185d3

6 years agohwc_window: added e_hwc_window_name_get 29/185529/2
Changyeon Lee [Tue, 31 Jul 2018 08:22:18 +0000 (17:22 +0900)]
hwc_window: added e_hwc_window_name_get

Change-Id: Id6621dc23deebd2d3a4df6deceeafb0a0344db50

6 years agohwc_window: used list for managing of hook and event handler 28/185528/2
Changyeon Lee [Tue, 31 Jul 2018 07:36:25 +0000 (16:36 +0900)]
hwc_window: used list for managing of hook and event handler

Change-Id: I701d1118a2a61716379b9e5a21a7ba9ae7ce578f

6 years agohwc_window: used e_object when allocating e_hwc_window 27/185527/2
Changyeon Lee [Tue, 31 Jul 2018 07:13:16 +0000 (16:13 +0900)]
hwc_window: used e_object when allocating e_hwc_window

ref/unref of e_hwc_window are needed, so e_hwc_window is allocated
with e_object

Change-Id: If8240d4fe5abcec0d236aa56c9afb8718d4aac3b

6 years agohwc_window: remove unused enum value 26/185526/2
Changyeon Lee [Tue, 31 Jul 2018 06:50:18 +0000 (15:50 +0900)]
hwc_window: remove unused enum value

E_HWC_WINDOW_STATE_DEVICE_CANDIDATE and E_HWC_WINDOW_ACTIVATION_STATE_NONE
isn't needed

Change-Id: Ib36a31af8a2ae81e78cf774a09067098632fa2f9

6 years agohwc_window: added ACCEPTED_STATE_CHANGE hook 25/185525/3
Changyeon Lee [Tue, 31 Jul 2018 06:38:22 +0000 (15:38 +0900)]
hwc_window: added ACCEPTED_STATE_CHANGE hook

Change-Id: I322ac537931bb8e3c5910c2761cf53ded595bcba

6 years agohwc_window: added accepted_state and removed prev_state 24/185524/2
Changyeon Lee [Tue, 31 Jul 2018 05:47:57 +0000 (14:47 +0900)]
hwc_window: added accepted_state and removed prev_state

accepted_state is set after changing of composition state is accepted

Change-Id: Icacd8f0522a2a63f84add5f4daabf903e9bb9a1c

6 years agohwc_window: added macro for log 23/185523/2
Changyeon Lee [Tue, 31 Jul 2018 05:38:29 +0000 (14:38 +0900)]
hwc_window: added macro for log

Change-Id: I3fcb0b48903e8f5998f65455f0a86e809440557f

6 years agohwc: get tdm_hwc before ecore_evas init 22/185522/2 22/185522/3
Changyeon Lee [Tue, 31 Jul 2018 03:13:42 +0000 (12:13 +0900)]
hwc: get tdm_hwc before ecore_evas init

tdm_hwc is needed for getting tbm_surface_queue of target

Change-Id: If34affb73a63da01187b844ab296c32e67a7b76e

6 years agoe_test_helper: Added eldbus callback for SetWindowFocusSkip 77/185477/2
JunSeok, Kim [Tue, 31 Jul 2018 03:46:33 +0000 (12:46 +0900)]
e_test_helper: Added eldbus callback for SetWindowFocusSkip

Change-Id: I2acf8e0a2a4e033bc9dcaa45d96c385768cb55a3

6 years agoe_test_helper: Added eldbus callback for SetWindowNotiLevel 76/185476/2
JunSeok, Kim [Tue, 31 Jul 2018 03:46:21 +0000 (12:46 +0900)]
e_test_helper: Added eldbus callback for SetWindowNotiLevel

Change-Id: I5b50abb660b4902d03d88683d17cf4def21c7594

6 years agoe_test_helper: Added eldbus callback for SetWindowTransientFor 75/185475/2
JunSeok, Kim [Tue, 31 Jul 2018 03:45:40 +0000 (12:45 +0900)]
e_test_helper: Added eldbus callback for SetWindowTransientFor

Change-Id: Id6ca5bc6311874ff95cc76436fb15186671d1cc1

6 years agoe_test_helper: Added eldbus callback for SetWindowIconify 74/185474/2
JunSeok, Kim [Tue, 31 Jul 2018 03:44:47 +0000 (12:44 +0900)]
e_test_helper: Added eldbus callback for SetWindowIconify

Change-Id: If52a189daa95ce69c740c6a57cc7697b859b5d3c

6 years agoe_test_helper: Added eldbus callback for SetWindowActivate 73/185473/2
JunSeok, Kim [Tue, 31 Jul 2018 03:35:15 +0000 (12:35 +0900)]
e_test_helper: Added eldbus callback for SetWindowActivate

Change-Id: I7ebd1ac0952b3e78df3ab548ad9d1d20d282fd62

6 years agoe_utils: add e_util_file_monitor API to monitor the creation of the given path of... 80/185480/1
Sung-Jin Park [Tue, 31 Jul 2018 04:37:11 +0000 (13:37 +0900)]
e_utils: add e_util_file_monitor API to monitor the creation of the given path of file

Change-Id: I0599a1783256f5b6b0fcf3c644c3f448a580c1d4
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_input: check and set touch device class to touch aux events 23/185423/2 accepted/tizen/unified/20180731.075036 submit/tizen/20180730.104229
JengHyun Kang [Mon, 30 Jul 2018 10:32:18 +0000 (19:32 +0900)]
e_input: check and set touch device class to touch aux events

Change-Id: I266b60b8a003bf3bfb083108d84fe580838590ff

6 years agoe_input: check device's class before find ecore_device for events 13/185413/2
JengHyun Kang [Mon, 30 Jul 2018 08:55:33 +0000 (17:55 +0900)]
e_input: check device's class before find ecore_device for events

Change-Id: If0d011bdd6d9ede91d8aceff8f85eb4ff1756481

6 years agoinput region: fix bug for setting input_region 08/185408/1
Doyoun Kang [Mon, 30 Jul 2018 08:28:06 +0000 (17:28 +0900)]
input region: fix bug for setting input_region

There was a bug that the input region was not applied if it was set before showing window.

Change-Id: I80424219d3ccd384e440c4a62506769c98878d15

6 years agoe_comp_wl: fix bug for creating region 07/185407/1
Doyoun Kang [Thu, 26 Jul 2018 12:48:04 +0000 (21:48 +0900)]
e_comp_wl: fix bug for creating region

There was a bug that the tiler size was wrong while handling creating region.
So, we add the code to check screen rotation value.

Change-Id: I8b39305aadfe434fe6c1c4f7aad98b5bb1da1e7b

6 years agoviewport: fix croped full calculation error if transform set 90 or 270 15/185215/4 accepted/tizen/unified/20180727.135707 submit/tizen/20180727.051729
Junkyeong Kim [Fri, 27 Jul 2018 04:50:06 +0000 (13:50 +0900)]
viewport: fix croped full calculation error if transform set 90 or 270

Change-Id: Iee795785e7513df4c72766e83b241944e62ec376
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_plane_renderer: reset renderer of ec in deactivate if ec is deleted 72/185172/4
Changyeon Lee [Thu, 26 Jul 2018 11:48:22 +0000 (20:48 +0900)]
e_plane_renderer: reset renderer of ec in deactivate if ec is deleted

if ec of renderer is deleted, e_plane_ec_set and reserved_deactivate is called
in _e_plane_renderer_client_cb_del.
reset renderer of ec in reserved_deactivate to prevent acces to freed ec

Change-Id: Iacbe344dcbdd8f3610915d0a9cf80daafac5b2ee

6 years agoe_comp_wl_shell: reset ec's visibility.last_sent_type value when it is unmapped 13/185213/1
Doyoun Kang [Fri, 27 Jul 2018 04:43:26 +0000 (13:43 +0900)]
e_comp_wl_shell: reset ec's visibility.last_sent_type value when it is unmapped

Change-Id: Id47c30c80dd8f690361c4a3190ee9c12d399890f

6 years agoe_comp_object: check pixmap available when e_comp_object_dirty 07/184907/1
Juyeon Lee [Tue, 24 Jul 2018 07:11:53 +0000 (16:11 +0900)]
e_comp_object: check pixmap available when e_comp_object_dirty

e_pixmap_size_get returns last attached buffer size (from commit f009a9a4 )
eventhough it is destroyed, so check resource

Change-Id: Ie1a38be03ba6564e59a2dc54494f4de0920f49a1

6 years agoe_policy_wl_display: fix bug for handling screen mode 68/184768/1 accepted/tizen/unified/20180723.151443 submit/tizen/20180723.062633
Doyoun Kang [Mon, 23 Jul 2018 04:29:47 +0000 (13:29 +0900)]
e_policy_wl_display: fix bug for handling screen mode

There was a bug that display mode couldnot change to normal when the alpha window
which set a display mode to always_on was destroyed.

Change-Id: I004d4fe5ce4dad864f57d817a7676ecf35e3dba4

6 years agoe_policy_wl_display: change code for logging 67/184767/1
Doyoun Kang [Mon, 23 Jul 2018 04:27:45 +0000 (13:27 +0900)]
e_policy_wl_display: change code for logging

Change-Id: Ia142a9f8ed4f0c2d643b082bd6bfdda616a4b8b5

6 years agoe_client: check window's iconic state while handling focus 18/184718/1 accepted/tizen/unified/20180720.155959 submit/tizen/20180720.105749
Doyoun Kang [Fri, 20 Jul 2018 10:20:01 +0000 (19:20 +0900)]
e_client: check window's iconic state while handling focus

We didn't check the iconic state, so there was a possibility that the iconified window got focus.

Change-Id: I24a1f33edab1c12137f561865832688f01b33e7e

6 years agoe_plane: set unset_counter to 1 when fb_target is unset to hwc 59/183959/2
Changyeon Lee [Thu, 12 Jul 2018 09:46:15 +0000 (18:46 +0900)]
e_plane: set unset_counter to 1 when fb_target is unset to hwc

unset_counter is set to 0 when fb_target used by hwc because
compositor is disabled and then plane doesn't need to sync with fb_target.
but unset_candidate plane should sync with fb_target when fb_target is unset to hwc.
so if plane is unset_candidate and unset_counter is 0, set unset_counter to 1
for sync with compositor

Change-Id: I62bae00c12fd3d0e68c9986b2a8b0d8f3ebec952

6 years agoe_comp_screen: add ttrace log at the initial time 53/184353/2
SooChan Lim [Tue, 17 Jul 2018 09:57:48 +0000 (18:57 +0900)]
e_comp_screen: add ttrace log at the initial time

Change-Id: I5a214ddb3ce31a6925ac63aa8edebb2b1e45a989

6 years agoe_dbus_conn : rename from e_dbus as it has some intersections with edbus stuff 06/184306/1 accepted/tizen/unified/20180717.143334 submit/tizen/20180717.070235
Sung-Jin Park [Tue, 17 Jul 2018 06:23:55 +0000 (15:23 +0900)]
e_dbus_conn : rename from e_dbus as it has some intersections with edbus stuff

Change-Id: I9bc93b26b79fa26b1e2ec1f9e2464faf147d0bae
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_info: print input_region information using winfo 39/180339/5
JengHyun Kang [Mon, 28 May 2018 11:44:15 +0000 (20:44 +0900)]
e_info: print input_region information using winfo

Change-Id: Id1748ccf69f0aaf454ceca6f9c599bfba39fad64

6 years agoe_info_server : transform info shows up to three decimal points. 39/184139/1
junghwan Choi [Mon, 16 Jul 2018 02:04:17 +0000 (11:04 +0900)]
e_info_server : transform info shows up to three decimal points.

Change-Id: Ifba711ded2d156fce706ad97e5b2a8e630dfca27

6 years agoe_client : remove build warning regarding 'const' qualifier 48/184048/1 accepted/tizen/unified/20180716.185706 submit/tizen/20180715.225415
Sung-Jin Park [Fri, 13 Jul 2018 07:47:10 +0000 (16:47 +0900)]
e_client : remove build warning regarding 'const' qualifier

Change-Id: I958fb8b4fb9b78f26c199ffea537716c4d448607
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_policy: check uniconify_render_running before sending visibility event
Doyoun Kang [Thu, 12 Jul 2018 10:41:46 +0000 (19:41 +0900)]
e_policy: check uniconify_render_running before sending visibility event

There was a bug that e sent a fully-obscured event to the window which was running uniconify_render.

Change-Id: I728b6718cd56e9f5d7a0cbc2324d36d51c93943a

6 years agoe_client : add condition for waiting view port setting
Lisa kim [Mon, 30 Apr 2018 07:46:54 +0000 (16:46 +0900)]
e_client : add condition for waiting view port setting
display server waits until user set view port.
some of clients only create the viewport and do not using viewport.
in this case, even the subsurface of this window set viewport, display server cannot detect because display server waits until the viewport set of this window.
this patch only adapt viewport wait feature for the leaf node of subsurfaces.

Change-Id: Ibfabe4d520a16f8385b617b22246a8a5a05ccc65
Signed-off-by: Lisa kim <hj0530.kim@samsung.com>
6 years agotransform: Update transform state whenever below bg rectangle is created
Seungjin Park [Fri, 29 Jun 2018 06:16:48 +0000 (15:16 +0900)]
transform: Update transform state whenever below bg rectangle is created

There was an issue that displays full-size punched area because map wasn't applied to below object.

Change-Id: I524f27f8aefb8a0f24d30b43380289df726f18e0
Signed-off-by: Seungjin Park <sj8808.park@samsung.com>
6 years agoe_dbus : add initial version to provide dbus connection initialization 24/183324/15
Sung-Jin Park [Wed, 4 Jul 2018 11:08:44 +0000 (20:08 +0900)]
e_dbus : add initial version to provide dbus connection initialization

Change-Id: Idc4204d2e949449f2be03d0b508b7c44e21fb58d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoconfig: enable extra touch axis, if libinput support extra touch axis 87/183487/2 accepted/tizen/unified/20180710.082827 submit/tizen/20180709.070729
JengHyun Kang [Fri, 6 Jul 2018 04:02:47 +0000 (13:02 +0900)]
config: enable extra touch axis, if libinput support extra touch axis

Change-Id: I8ca786d8b7769590f1e07356ec57b51aea38091f

6 years agoe_comp_wl: transform a cursor pointer following a window transformation 70/183270/3
JengHyun Kang [Wed, 4 Jul 2018 04:34:30 +0000 (13:34 +0900)]
e_comp_wl: transform a cursor pointer following a window transformation

Change-Id: I6b011c1ba1ecea5302ccadabf47daa571c05bfa5

6 years agoe_policy_visibility: check last_sent_type before sending pre-unobscured event 34/183434/1
Doyoun Kang [Thu, 5 Jul 2018 09:42:15 +0000 (18:42 +0900)]
e_policy_visibility: check last_sent_type before sending pre-unobscured event

If a last_sent_type is E_VISIBILITY_PRE_UNOBSCURED or E_VISIBILITY_UNOBSCURED,
then we don't send E_VISIBILITY_PRE_UNOBSCURED event.

Change-Id: I04070661d19dcd970c62160437c5ebc6dd0c3dbb

6 years agoe_comp_object: defer_focus set when ec turn to uniconic state with evas_object_show 08/183308/1 accepted/tizen/unified/20180704.154025 submit/tizen/20180704.090121
JunSeok, Kim [Wed, 4 Jul 2018 08:31:19 +0000 (17:31 +0900)]
e_comp_object: defer_focus set when ec turn to uniconic state with evas_object_show

There was a bug when partial window calls evas_object_show -> raise.
Because of this bug, the window cannot get focus.
This patch is solve this problem to call defer_focus_set when vis_ec turn to uniconic state.

Change-Id: I01f6b85de25641ac33c7433724b7fe8bf5b7a429

6 years agoe_info_server: fix out-of-bounds-write issue 71/183171/1
Doyoun Kang [Tue, 3 Jul 2018 06:57:14 +0000 (15:57 +0900)]
e_info_server: fix out-of-bounds-write issue

Change-Id: I0f973d8107fcb4f5e2558bc8301409eaf51f7414

6 years agomodify check condition before calling e_client_post_raise_lower_set 91/183091/1 accepted/tizen/unified/20180702.151354 submit/tizen/20180702.081014
Doyoun Kang [Mon, 2 Jul 2018 07:00:11 +0000 (16:00 +0900)]
modify check condition before calling e_client_post_raise_lower_set

There was a bug that the lower operation of unmapped window was not work if the window ever mapped.
So, we replaced code to "!ec->comp_data->mapped" from "!ec->first_mapped" before calling
e_client_post_raise_lower_set.

Change-Id: Ib487feb86e3ed4b772f1dfd17dd691e3a61ddf78

6 years agoe_input: add a new API e_input_device_mouse_accel_speed_set() 66/182966/4
JengHyun Kang [Fri, 29 Jun 2018 07:50:50 +0000 (16:50 +0900)]
e_input: add a new API e_input_device_mouse_accel_speed_set()

Change-Id: I4275c39c031142626172d71c02745213e7132d10

6 years agoe_xdg_shell_v6: return if popup_resource is null 44/183044/1
Juyeon Lee [Mon, 2 Jul 2018 04:18:41 +0000 (13:18 +0900)]
e_xdg_shell_v6: return if popup_resource is null

fix coverity

Change-Id: I03390a8c18d847efa8227b77c790429124ac22ce

6 years agoe_policy: fix bug for sending visibility event 89/182989/1 accepted/tizen/unified/20180702.062908 submit/tizen/20180630.071340
Doyoun Kang [Fri, 29 Jun 2018 11:04:21 +0000 (20:04 +0900)]
e_policy: fix bug for sending visibility event

There was a bug that the window didn't get fully-obscured event when it was
iconified by visibility after getting pre-unobscured event.
So, app's state remained to "resume" not "pause".

This patch sends unobscured and fully-obscured event to the iconified window
to change its state correctly.

Change-Id: I43a3b66ab71b204854d2e19f2aa23d3551f3ba10

6 years agoe_comp_wl_video: fix build warning 64/182964/1
Doyoun Kang [Fri, 29 Jun 2018 07:42:10 +0000 (16:42 +0900)]
e_comp_wl_video: fix build warning

Change-Id: I255ae2c222bc87ba4ef6c28ff1ce0f7a0cc600a5

6 years agoe_keyrouter: call hook functions about release events, if press events call hook... 46/182246/6
JengHyun Kang [Thu, 21 Jun 2018 13:54:16 +0000 (22:54 +0900)]
e_keyrouter:  call hook functions about release events, if press events call hook functions

Change-Id: Ie3962a9a1d4666958c5e83655a926ec6a8fa3082

6 years agovideo: Remove waiting_video_set flag and using video_plane_ready_handler for it. 50/182650/2
Seunghun Lee [Tue, 26 Jun 2018 10:37:35 +0000 (19:37 +0900)]
video: Remove waiting_video_set flag and using video_plane_ready_handler for it.

Video_set_hook was renamed video_plane_ready_handler to improve readability.
Plus, video_plane_ready_handler is goning to be deleted after doing its work.
Thus, we can check video_plane_ready_handler instead of waiting_video_set and
remove waiting_video_set flag.

Change-Id: Id6dd54edb288f70c8cbb3f7c6fcef26827f35d53

6 years agovideo: Remove useless code calling find_video_with_surface() in _e_video_layer_get_di... 49/182649/2
Seunghun Lee [Mon, 25 Jun 2018 11:52:08 +0000 (20:52 +0900)]
video: Remove useless code calling find_video_with_surface() in _e_video_layer_get_displaying_buffer().

Change-Id: I889338a4d64b388eb51a403759e2645270d34ad1

6 years agovideo: move a comment proper line 48/182648/2
Seunghun Lee [Mon, 25 Jun 2018 08:50:28 +0000 (17:50 +0900)]
video: move a comment proper line

Change-Id: Ia8fdda18cbb2339b0edc9fd650903f6e424d557a

6 years agovideo: Remove find_topmost_parent_get(), and use e_comp_wl implementation. 47/182647/2
Seunghun Lee [Mon, 25 Jun 2018 07:53:37 +0000 (16:53 +0900)]
video: Remove find_topmost_parent_get(), and use e_comp_wl implementation.

Use e_comp_wl_topmost_parent_get() instead of its video own implementation,
find_topmost_parent_get().

Change-Id: Ia248a7197bfc76ff3d0f96031aba15690c222b08

6 years agovideo: Added a function for duplicated code. 46/182646/2
Seunghun Lee [Mon, 25 Jun 2018 02:38:48 +0000 (11:38 +0900)]
video: Added a function for duplicated code.

Added functions for commiting buffer, _e_video_commit_from_waiting_list() and
_e_video_commit_buffer().

Change-Id: Ib64a77e43a22e4bec943c887637a01835b73b9cf

6 years agovideo: fix formatting. 45/182645/2
Seunghun Lee [Fri, 22 Jun 2018 07:44:32 +0000 (16:44 +0900)]
video: fix formatting.

Change-Id: I8c7d8f50acb63ef4b82ccbe94bcf60a4be19a982

6 years agovideo: use e_comp_screen_pp_support() instead of tdm_display interface directly. 44/182644/2
Seunghun Lee [Fri, 22 Jun 2018 06:49:21 +0000 (15:49 +0900)]
video: use e_comp_screen_pp_support() instead of tdm_display interface directly.

Change-Id: I598e791378e141b8e56e33c30a81b5c33209b539

6 years agovideo: move a comment proper line 43/182643/2
Seunghun Lee [Fri, 22 Jun 2018 04:48:38 +0000 (13:48 +0900)]
video: move a comment proper line

Change-Id: I43d4f0362d639b35b06844c5c78c64cabb67ede8

6 years agovideo: Destroy wl_global for 'tizen_video' when 'e_comp_wl_video_shutdown()'. 42/182642/2
Seunghun Lee [Fri, 22 Jun 2018 04:06:15 +0000 (13:06 +0900)]
video: Destroy wl_global for 'tizen_video' when 'e_comp_wl_video_shutdown()'.

Change-Id: I9f79f16df3c4913d7c0071e6df8ad64b15797844

6 years agovideo: Remove unused function. (e_comp_wl_video_layer_get) 41/182641/2
Seunghun Lee [Thu, 21 Jun 2018 09:01:57 +0000 (18:01 +0900)]
video: Remove unused function. (e_comp_wl_video_layer_get)

Change-Id: I5ec4dfd094ace5cd6268ec28307d232c72c9e514

6 years agovideo: fix formatting. 40/182640/2
Seunghun Lee [Wed, 20 Jun 2018 07:33:45 +0000 (16:33 +0900)]
video: fix formatting.

Change-Id: I8a94a99ee5bd7a71507899d5f3f9809cef180b19

6 years agovideo: Don't pass a null argument to tdm_layer_get_capabilities(). 39/182639/2
Seunghun Lee [Wed, 20 Jun 2018 07:25:22 +0000 (16:25 +0900)]
video: Don't pass a null argument to tdm_layer_get_capabilities().

Change-Id: I3cfdf3800b353c7c9834b5025ad56454bbc99269

6 years agovideo: delete unreachable and wrong check code. 38/182638/2
Seunghun Lee [Wed, 20 Jun 2018 06:14:33 +0000 (15:14 +0900)]
video: delete unreachable and wrong check code.

Change-Id: Ic4ce783ac8197a5b60e885f70a8dd644ae76af52

6 years agovideo: move a code chekcing whther e_client is deleted to entry of creation 37/182637/2
Seunghun Lee [Wed, 20 Jun 2018 04:58:09 +0000 (13:58 +0900)]
video: move a code chekcing whther e_client is deleted to entry of creation

Change-Id: Ibf64d9fb7dfc243fdb42d2ffb65ee8405a36b602

6 years agoe_xdg_shell_v6: Fix illegal access (USE_AFTER_FREE) error. 34/182534/2
Seunghun Lee [Tue, 26 Jun 2018 04:07:45 +0000 (13:07 +0900)]
e_xdg_shell_v6: Fix illegal access (USE_AFTER_FREE) error.

Set user data of wl_resource for toplevel or popup to null, when xdg_surface is
destroyed.

Change-Id: I27cb43c42484c39b4ffc95ba3d4f089c28994a03

6 years agoe_comp_object: fix bug for sending "e,state,visible" signal 90/182490/1 accepted/tizen/unified/20180626.064846 submit/tizen/20180625.112455
Doyoun Kang [Mon, 25 Jun 2018 11:07:42 +0000 (20:07 +0900)]
e_comp_object: fix bug for sending "e,state,visible" signal

There was a bug that e sent "e,state,visible" when ec is iconic state in _e_comp_object_shadow_setup.
The effect module increased reference count and waiting for draw done event while handling "e,state,visible" event.
But if the window set to iconic state, it didn't draw and didn't send draw done event.
So, effect module's reference count couldnot be 0.

Change-Id: Id37d53f3d38b443e9c30aed10ed6448375e2868b

6 years agoe_comp_object: remove useless code. 80/182380/2
Seunghun Lee [Fri, 22 Jun 2018 10:28:22 +0000 (19:28 +0900)]
e_comp_object: remove useless code.

evas_object_layer_set() does not work for smart member object.

Change-Id: I00efa58d39761d7e239e15d98e6e67d5c98ad28e

6 years agoe_comp_object: check iconified by client when evas_object_show in intercept_show 88/181988/2
JunSeok, Kim [Tue, 19 Jun 2018 10:43:27 +0000 (19:43 +0900)]
e_comp_object: check iconified by client when evas_object_show in intercept_show

There was a bug when ec try to map during iconified by client state.
When client set iconify before first evas_object_show, it doesn't setup their comp object.
Next time client turn to uniconic state, client is invisible in screen.
This patch is move the check iconify by client code to intercept_show from mapping logic to fix problem.

Change-Id: I3a92cba6d9d72a48b176dfbdff5814027476cab3

6 years agoe_policy_visibility: add wrapper function of _e_vis_client_is_uniconic 87/181987/4
JunSeok, Kim [Tue, 19 Jun 2018 10:21:36 +0000 (19:21 +0900)]
e_policy_visibility: add wrapper function of _e_vis_client_is_uniconic

Change-Id: I11eceafe7a4fc54f828392f655182c3cfcc09b32

6 years agoe_comp_wl: check unignored state when map 36/182236/1 accepted/tizen/unified/20180622.122642 submit/tizen/20180621.133234
Juyeon Lee [Thu, 21 Jun 2018 13:16:53 +0000 (22:16 +0900)]
e_comp_wl: check unignored state when map

ec->ignored is set 0, when client commit with new_attach

Change-Id: Ia0c9ee295349ee678da8595b7690121f084686e4

6 years agoe_main: remove unused e_precache_end 23/182123/1
Gwanglim Lee [Wed, 20 Jun 2018 12:01:55 +0000 (21:01 +0900)]
e_main: remove unused e_precache_end

Change-Id: I60abb7bbc4389f3c98aa436a49235e7d06f70fdb

6 years agoe_main: remove unused SIGUSR handler 17/182117/1
Gwanglim Lee [Wed, 20 Jun 2018 10:54:41 +0000 (19:54 +0900)]
e_main: remove unused SIGUSR handler

Change-Id: I14bc5fe702d45e77223d940f1ffc2a5524000df9

6 years agoe_main: remove unused arg options 16/182116/1
Gwanglim Lee [Wed, 20 Jun 2018 10:51:00 +0000 (19:51 +0900)]
e_main: remove unused arg options

Change-Id: I2b117f00434a9fc217c89b4fd41240d2f2f32f46

6 years agoe_main: remove ecore_app_args_ codes which are not necessary for now. 00/182100/1
Gwanglim Lee [Wed, 20 Jun 2018 08:45:30 +0000 (17:45 +0900)]
e_main: remove ecore_app_args_ codes which are not necessary for now.

Change-Id: I6e11aece4f34aa2de10b8465d0e967ae2d845d86

6 years agoe_main: remove unused really_know option 98/182098/1
Gwanglim Lee [Wed, 20 Jun 2018 08:42:47 +0000 (17:42 +0900)]
e_main: remove unused really_know option

Change-Id: I5b3798ffb269acb44e094abbd0dfaca62f481663

6 years agoe_main: remove unused codes regarding restart and safe modes 95/182095/1
Gwanglim Lee [Wed, 20 Jun 2018 08:31:28 +0000 (17:31 +0900)]
e_main: remove unused codes regarding restart and safe modes

Change-Id: Ib2763e78a7e767cefb6332d08c4e6da4b7b90a77

6 years agoe_comp_wl: adapt screen rotation condition to find output 50/182050/1
Junkyeong Kim [Wed, 20 Jun 2018 05:39:01 +0000 (14:39 +0900)]
e_comp_wl: adapt screen rotation condition to find output

Change-Id: Ic5a4bac43fdecf7fcf0ed084ae1c153ca6c5bcaa
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_client: check mapped condition when e_client_uniconify accepted/tizen/unified/20180620.131628 submit/tizen/20180620.044252
Juyeon Lee [Wed, 20 Jun 2018 02:04:54 +0000 (11:04 +0900)]
e_client: check mapped condition when e_client_uniconify

Change-Id: I8d70cd417eedbccfc22ddd182833a3fdcc86c0ab

6 years agoe_xdg_shell_v6: allow to get toplv iface when pixmap_usable is TRUE 84/181784/1 accepted/tizen/unified/20180619.141923 submit/tizen/20180618.085127
Juyeon Lee [Mon, 18 Jun 2018 08:36:53 +0000 (17:36 +0900)]
e_xdg_shell_v6: allow to get toplv iface when pixmap_usable is TRUE

client get toplv interface when show.
sometimes, it attached buffer(means rendering) ahead of toplv iface get
- wl_surface has created and rendered in background before show request
- there's wrapping lib. for a client to set titlei(by zxdg_toplevel_v6)
  in this case, there are no grantee that if there is commit buffer already or not.

Change-Id: Id495801d1c92258b85d0c18257a3c5db377e45ad

6 years agoe_xdg_shell_v6: reset toplv and popup resource when destroy 84/181484/2 accepted/tizen/unified/20180614.150832 submit/tizen/20180614.082337
Juyeon Lee [Thu, 14 Jun 2018 06:51:08 +0000 (15:51 +0900)]
e_xdg_shell_v6: reset toplv and popup resource when destroy

Change-Id: I23c82a39b2483d0266c5b3260229c253de8e4a09

6 years agoe_comp_wl: modified log for commit message 53/181453/1
Doyoun Kang [Thu, 14 Jun 2018 05:33:21 +0000 (14:33 +0900)]
e_comp_wl: modified log for commit message

Change-Id: I34f98eccf94574b42f843ca0db599c8c0d2e88a8

6 years agoe_xdg_shell_v6: Reimplement xdg_shell_v6 support 44/179144/5 accepted/tizen/unified/20180612.130759 submit/tizen/20180611.112755
Seunghun Lee [Thu, 10 May 2018 23:18:01 +0000 (08:18 +0900)]
e_xdg_shell_v6: Reimplement xdg_shell_v6 support

Change-Id: I8e90b19ae3acffe2e889405e44361a59c0adb0d6

6 years agoe_info: add memory dump 09/179509/6
Juyeon Lee [Fri, 18 May 2018 08:43:48 +0000 (17:43 +0900)]
e_info: add memory dump

dump a log file under /tmp with allocation stack information
it only works in arch:arm

Change-Id: I2c423e1a668695f35f90f6c6cc6985037650f7b7

6 years agoe_client: fix bug for setting focus_stack list 17/181117/1 accepted/tizen/unified/20180611.015617 submit/tizen/20180608.095310
Doyoun Kang [Fri, 8 Jun 2018 08:01:51 +0000 (17:01 +0900)]
e_client: fix bug for setting focus_stack list

there was a bug that focus_stack was wrong while checking defer_focus_stack.
(below window was prepended to the focus_stack).
so, the focus was set to below window not top window.
this patch fixes it.

Change-Id: I935eb4014dcdf8f29ba8026d8fc4036730c34eab

6 years agoe_util_transform: fix mis-calculation of x/y position for the user-geometry windows 11/181111/1
junghwan Choi [Fri, 8 Jun 2018 07:39:56 +0000 (16:39 +0900)]
e_util_transform: fix mis-calculation of x/y position for the user-geometry windows

Change-Id: I9651705b27573ff904a5a7e4eb06ff4ce6f8be70
Signed-off-by: junghwan Choi <jhhh.choi@samsung.com>
6 years agoe_policy: add e_policy_animatable_lock 88/180888/3 accepted/tizen/unified/20180611.015551 submit/tizen/20180607.120215
Juyeon Lee [Tue, 5 Jun 2018 08:04:38 +0000 (17:04 +0900)]
e_policy: add e_policy_animatable_lock

add policy for ec if it can be animatalbe or not.
1.there are clients never animated
2.client can set aux-hint not to animate by using aux-hint
3.notification windows are not animatalbe,except notification in normal layer

Change-Id: I30d891d192b8740636e4710e6172a6979eb0a578

6 years agoe_policy: fix bug for uniconifying multi windows 62/180662/1
Doyoun Kang [Fri, 1 Jun 2018 01:37:01 +0000 (10:37 +0900)]
e_policy: fix bug for uniconifying multi windows

When the window is hidden, below window should be uniconified. And if the below window
is small size window, then below window's below window should be uniconified also.
But there was a bug that the small size window was uniconified only.

Change-Id: I16c9470096da5ae58554a891676e0d2b21bc92de

6 years agoviewport & video: Changed log level to debug when it comes to frequent printed out... 14/180614/1
Seunghun Lee [Thu, 31 May 2018 07:38:18 +0000 (16:38 +0900)]
viewport & video: Changed log level to debug when it comes to frequent printed out messages.

Change-Id: I286790b0362235c3e3eb34fbc1179d41445191e5

6 years agovideo & viewport: Using common logging method 'ELOGF()' 06/180606/1
Seunghun Lee [Mon, 28 May 2018 00:04:12 +0000 (09:04 +0900)]
video & viewport: Using common logging method 'ELOGF()'

Change-Id: I87bead368d27ecc5f9ad8d9ccb5e19bdd257c553

6 years agoe_comp_wl_video_buffer: Add a comment about buffer format which has multiple handle. 05/180605/1
Seunghun Lee [Thu, 24 May 2018 01:08:53 +0000 (10:08 +0900)]
e_comp_wl_video_buffer: Add a comment about buffer format which has multiple handle.

Change-Id: If626f4723be193289f800fa9b6bbf969d996d4b4

6 years agoe_hwc: fix typo 04/180604/1
Seunghun Lee [Fri, 18 May 2018 02:29:18 +0000 (11:29 +0900)]
e_hwc: fix typo

Change-Id: I858167c2276df524cc3305a5e681d15e41d66a54