platform/upstream/enlightenment.git
5 years agovisibility: add some information in the visibility log 14/193614/2
Doyoun Kang [Thu, 22 Nov 2018 08:19:10 +0000 (17:19 +0900)]
visibility: add some information in the visibility log

Change-Id: Ic3465f425aa109ecc9c6454ff15416538868b6a2

5 years agoe_comp: remove unnecessary log 34/193534/1
Changyeon Lee [Wed, 21 Nov 2018 12:43:23 +0000 (21:43 +0900)]
e_comp: remove unnecessary log

Change-Id: I2f209049408a4ffd9ae62f4d33cc081d57406e5b

5 years agofocus: apply focus history 97/184697/42
JunSeok, Kim [Wed, 27 Jun 2018 11:40:04 +0000 (20:40 +0900)]
focus: apply focus history

Focus history is list of E_Clients that have been focused.
in focus history, E_Client can exist only one and sorted by latest focused.

Revert focus is called when there are no focused E_Client.
If revert focus called then find next focus in turn on the focus history.

Change-Id: I2e72b47c24579bdbf287e815c6dca7e9f56d7c9c

5 years agoe_client: fix wrong bit field for surface sync 94/193394/1
Juyeon Lee [Tue, 20 Nov 2018 06:52:38 +0000 (15:52 +0900)]
e_client: fix wrong bit field for surface sync

Change-Id: I5035b66d60a8b7d9dda14a962e366adc48cd1711

5 years agoe_comp: define e_comp_client_render_list_add 41/193341/1 accepted/tizen/5.0/unified/20181120.061311 accepted/tizen/unified/20181120.061336 submit/tizen/20181119.115215 submit/tizen_5.0/20181119.115322
Changyeon Lee [Mon, 19 Nov 2018 12:01:21 +0000 (21:01 +0900)]
e_comp: define e_comp_client_render_list_add

Change-Id: I6b964f29506c75489a119df3a6a7aae06330f1de

5 years agoe_comp_wl: don't change usable of pixmap if state of ec is unmap
Changyeon Lee [Mon, 19 Nov 2018 11:30:04 +0000 (20:30 +0900)]
e_comp_wl: don't change usable of pixmap if state of ec is unmap

Change-Id: Id9b6246b95938ee66e88a072462bc922c2946dde

5 years agoe_plane_renderer: delay send release event until rendering of compositor is done
Changyeon Lee [Mon, 19 Nov 2018 10:10:32 +0000 (19:10 +0900)]
e_plane_renderer: delay send release event until rendering of compositor is done

e20 send release event when receive buffer of next frame and render post callback of
current frame in compositing.
it is possible that client use buffer while compositor is using buffer as the source.

Change-Id: Ifaaf1359bbcd15cf2ef94eb40144a7663e92dcd0

5 years agoe_comp: add render_list to e_comp
Changyeon Lee [Mon, 19 Nov 2018 10:06:22 +0000 (19:06 +0900)]
e_comp: add render_list to e_comp

clients that are composited at current frame are append to the render list.

Change-Id: Ib9a814b4d87a741420e9c1625326077d2054182a

5 years agoe_pixmap: add e_pixmap_ref_resource_get
Changyeon Lee [Mon, 19 Nov 2018 02:23:41 +0000 (11:23 +0900)]
e_pixmap: add e_pixmap_ref_resource_get

Change-Id: I7d8971e77f42a5a9f1c25b19ed256940467fe4cd

5 years agoe_hwc_windows: enhance the logs 38/193338/1
SooChan Lim [Mon, 19 Nov 2018 10:31:29 +0000 (19:31 +0900)]
e_hwc_windows: enhance the logs

Change-Id: I79d5799f6446cb5fceb66a04527f890e1f475bc5

5 years agoe_hwc_window: change the prefix of the TDM_COMPOSITION_ 27/193327/1
SooChan Lim [Mon, 19 Nov 2018 09:52:28 +0000 (18:52 +0900)]
e_hwc_window: change the prefix of the TDM_COMPOSITION_

Change-Id: I8b381930a502ba43e4286be5d9eb62102ac2c1f3

5 years agoe_hwc_windows: change the tdm_hwc_accept_changes to the tdm_hwc_accept_validation 26/193326/1
SooChan Lim [Mon, 19 Nov 2018 09:50:26 +0000 (18:50 +0900)]
e_hwc_windows: change the tdm_hwc_accept_changes to the tdm_hwc_accept_validation

Change-Id: Ifb49b627a0df2add796c96ea2b506957eaaf024e

5 years agoe_hwc_window: do not make all windows be clients at UI subsurface case 25/193325/1
SooChan Lim [Mon, 19 Nov 2018 09:43:18 +0000 (18:43 +0900)]
e_hwc_window: do not make all windows be clients at UI subsurface case

Change-Id: Ie908d0a34a3fa93c6373b46294c4c9156451e869

5 years agoe_hwc_window_queue: use the address of the tqueue as the key 24/193324/1
SooChan Lim [Mon, 19 Nov 2018 09:41:37 +0000 (18:41 +0900)]
e_hwc_window_queue: use the address of the tqueue as the key

Change-Id: Ib132b00663e774ee19bd6410e181141f3e2cacea

5 years agoe_hwc_window: change the logic to check windows on target 23/193323/1
SooChan Lim [Mon, 19 Nov 2018 09:38:42 +0000 (18:38 +0900)]
e_hwc_window: change the logic to check windows on target

Change-Id: Id7091c0e3518f22708cb83648e474273312913b3

5 years agoe_test_helper: register ec when window is registered. 99/192299/2 accepted/tizen/unified/20181115.151628 submit/tizen/20181115.031559
JunSeok, Kim [Fri, 2 Nov 2018 05:31:21 +0000 (14:31 +0900)]
e_test_helper: register ec when window is registered.

there was so many timeout occured when e-tizen-testcase doing waitEvent.
when event occured, event callback checks their registrant's ec.
but, original code was registed ec when visibility event came up
and it makes timeout issue due to the ec isn't registed.

So, this patch register window's ec instantly to prevent timeout.

Change-Id: Id34968c58497ac9233e1d7f1f6f86c6efeb06d3c

5 years agoe_comp_wl_rsm: capture image with keyboard 18/193018/1
Doyoun Kang [Wed, 14 Nov 2018 02:21:48 +0000 (11:21 +0900)]
e_comp_wl_rsm: capture image with keyboard

Change-Id: I69fdc3d5c8b6b417ff5d4cc0b13c0c93f0e29994

5 years agoe_dbus_conn: added E_DBUS_CONN_INIT_RETRY_INTERVALS to support 42/192742/4 accepted/tizen/5.0/unified/20181115.063706 accepted/tizen/unified/20181114.074436 submit/tizen/20181114.011255 submit/tizen_5.0/20181114.012131
Gwanglim Lee [Fri, 9 Nov 2018 02:28:32 +0000 (11:28 +0900)]
e_dbus_conn: added E_DBUS_CONN_INIT_RETRY_INTERVALS to support
time intervals during retrying D-BUS connection.

If user wants to connect with D-BUS through another thread,
then we also need to check that wants to use time intervals
during retrying connection.

It is required for some systems which don't support sync call
for connecting D-BUS to avoid thread problems.

Change-Id: Id151b3fc722e34d6a52aa28d5cdfc392d76a5edb

5 years agoe_output: get touched information from e_input insteads of e_comp_wl 43/192643/4
jeon [Tue, 6 Nov 2018 09:52:15 +0000 (18:52 +0900)]
e_output: get touched information from e_input insteads of e_comp_wl

Change-Id: Ie008c2606af890a3e06600c1ea7f8f63ba692fbb

5 years agoe_input: support a function to get currently touched fingers 36/192636/2
jeon [Wed, 7 Nov 2018 07:40:14 +0000 (16:40 +0900)]
e_input: support a function to get currently touched fingers

  - unsigned int ecore_drm_device_touch_pressed_get()

Change-Id: Ic5691f34eff430a2ccc4374ab2ff3e66a1886691

5 years agoe_plane_renderer: get the transform before checking config.rotation 02/192902/1
SooChan Lim [Mon, 12 Nov 2018 12:56:10 +0000 (21:56 +0900)]
e_plane_renderer: get the transform before checking config.rotation

Change-Id: I4f19aaa9d4127d426af00d1031391fac51ef4f6e

5 years agoe_hwc_planes: fix the typo 01/192901/1
SooChan Lim [Mon, 12 Nov 2018 12:52:19 +0000 (21:52 +0900)]
e_hwc_planes: fix the typo

Change-Id: I060c649d7e76ec7e12eff9361291ccfb6fec8b55

5 years agoe_hwc_planes: allow begin hwc even if nocomp_override is positive 55/192855/1 accepted/tizen/unified/20181113.085937 submit/tizen/20181112.074735
Changyeon Lee [Fri, 9 Nov 2018 09:14:58 +0000 (18:14 +0900)]
e_hwc_planes: allow begin hwc even if nocomp_override is positive

some hwc module want to use hwc even if nocomp_override is positive.
core policy of hwc set all plane to null when nocomp_override is positive.
if hwc module prepare client to plane, hwc mode is begined.

Change-Id: I6bef487acac93698570c177394e3df02bbe07985

5 years agoe_plane: force render when set/unset_counter are set 54/192854/1
Changyeon Lee [Mon, 29 Oct 2018 05:57:28 +0000 (14:57 +0900)]
e_plane: force render when set/unset_counter are set

Change-Id: I4287be9aa07e364dd318129774da798ad71b115f

5 years agoe_plane_renderer: send output_transform event regardless of current transform 53/192853/1
Changyeon Lee [Thu, 8 Nov 2018 10:05:54 +0000 (19:05 +0900)]
e_plane_renderer: send output_transform event regardless of current transform

Change-Id: Ia104e0b2ce31bf4150c15f6215ffa97d24c22e89

5 years agoe_hwc: unset plane if ec of plane and ec are same 52/192852/1
Changyeon Lee [Fri, 9 Nov 2018 08:55:01 +0000 (17:55 +0900)]
e_hwc: unset plane if ec of plane and ec are same

Change-Id: Ia456f707c5b6e5deb1e1b17a64060ac7b183a56f

5 years agoe_hwc_windows: fix the transition state 59/192759/3
SooChan Lim [Fri, 9 Nov 2018 06:07:46 +0000 (15:07 +0900)]
e_hwc_windows: fix the transition state

Change-Id: Ia917d5dcb6a2ebf9cd4f8c47808593235bf8cbff

5 years agoe_hwc_windows: change the mode_get to the mode_update 57/192757/2
SooChan Lim [Fri, 9 Nov 2018 05:59:16 +0000 (14:59 +0900)]
e_hwc_windows: change the mode_get to the mode_update

Change-Id: I65289d69490de6a4aa04c551c656bf3617b1657d

5 years agoe_hwc_window: change the goto label 56/192756/2
SooChan Lim [Fri, 9 Nov 2018 05:39:31 +0000 (14:39 +0900)]
e_hwc_window: change the goto label

Change-Id: I0e5e8cb00a441f84d9d2d3fa2516597de27dedfa

5 years agoe_hwc_window_queue: refactor the e_hwc_window_queue 55/192755/2
SooChan Lim [Mon, 5 Nov 2018 06:24:40 +0000 (15:24 +0900)]
e_hwc_window_queue: refactor the e_hwc_window_queue

Change-Id: I2a971e08967f54a8eb33989f901f3c3952e33fd5

5 years agoe_client: consider ec's zone size when check fully contain by above 58/192658/2
JunSeok, Kim [Wed, 7 Nov 2018 10:05:04 +0000 (19:05 +0900)]
e_client: consider ec's zone size when check fully contain by above

there was a irregular focus bug during check fully contain by above.
when the below ec's size is bigger then above ec and display size,
the function returns it isn't fully covered by above window despite the above is fullsize window.

so, corrected this bug with clip the below ec's size to their zone size.

Change-Id: I0e136409ee85b939eaf39d307e0b90fbcbcb800e

5 years agoe_devicemgr: use ecore event handler insteads of event filter 15/191415/5 accepted/tizen/5.0/unified/20181108.074417 submit/tizen/20181107.044109 submit/tizen_5.0/20181107.044303
JengHyun Kang [Wed, 17 Oct 2018 02:00:48 +0000 (11:00 +0900)]
e_devicemgr: use ecore event handler insteads of event filter

Change-Id: Ieee6c559fed96ab67b0c174d1c1b03bd5437bec0

5 years agoe_input: do not use E_INPUT_EVENT_INPUT_DEVICE_ADD/DEL events 54/191054/9
JengHyun Kang [Thu, 11 Oct 2018 05:37:32 +0000 (14:37 +0900)]
e_input: do not use E_INPUT_EVENT_INPUT_DEVICE_ADD/DEL events

 - use ECORE_EVENT_DEVICE_ADD/DEL events for notify device add/remove

Change-Id: I17d3b742693508c7f472acb50a57c15853e1bc02

5 years agoe_hwc_window_queue: move the user_pending_set_add call 44/192344/4
SooChan Lim [Fri, 2 Nov 2018 09:55:02 +0000 (18:55 +0900)]
e_hwc_window_queue: move the user_pending_set_add call

Change-Id: I38e4798e41279413a72849a1e274e49fdb4f85c9

5 years agoe_hwc_window_queue: change the internal function names. 29/192329/3
SooChan Lim [Fri, 2 Nov 2018 08:00:35 +0000 (17:00 +0900)]
e_hwc_window_queue: change the internal function names.

Change-Id: I26787310517ddee43e09a8693c6fe7fa5a9a0a2e

5 years agoe_hwc_window_queue: switch the pending to the waiting 24/192324/2
SooChan Lim [Fri, 2 Nov 2018 07:36:19 +0000 (16:36 +0900)]
e_hwc_window_queue: switch the pending to the waiting

The pending means that the queue does not decide the candidate user yet.
The waiting means that the queue decide the candidate user and
the queue is waiting the exported buffer to the candidate user.

Change-Id: I1cd4d0d2526d7b3e6b8fc51882213e67afb61269

5 years agoe_hwc_window_queue: refactor the code 96/192296/3
SooChan Lim [Fri, 2 Nov 2018 05:25:05 +0000 (14:25 +0900)]
e_hwc_window_queue: refactor the code

Change-Id: I230dd04cb99cc5910695b3d3c7b2eba7907fbd4e

5 years agoe_hwc_window_queue: Do not check the cqueue in the e_hwc_window_queue_user_set 94/192294/2
SooChan Lim [Fri, 2 Nov 2018 05:08:47 +0000 (14:08 +0900)]
e_hwc_window_queue: Do not check the cqueue in the e_hwc_window_queue_user_set

check the cqueue at the call of e_hwc_window_queue_user_set

Change-Id: Ic8af48923f13f55accd46cf64819887b9c1b8ed9

5 years agoe_hwc_window_queue: use e_hwc_window_is_target 85/192285/2
SooChan Lim [Fri, 2 Nov 2018 04:37:45 +0000 (13:37 +0900)]
e_hwc_window_queue: use e_hwc_window_is_target

Change-Id: I28720a6e3b3c06588f61507016b8ffe4b7908dc7

5 years agoe_hwc_window_queue: remove e_hwc_window_queue_target_set function 83/192283/2
SooChan Lim [Fri, 2 Nov 2018 04:28:59 +0000 (13:28 +0900)]
e_hwc_window_queue: remove e_hwc_window_queue_target_set function

e_hwc_window_queue_target_set is not used.

Change-Id: Ie1ea6a729155311733778594fefdd6596577cabb

5 years agoe_hwc_window_queue: check the validation of the _hwc_winq_mgr at the EINTERN functions 76/192276/2
SooChan Lim [Fri, 2 Nov 2018 01:52:38 +0000 (10:52 +0900)]
e_hwc_window_queue: check the validation of the _hwc_winq_mgr at the EINTERN functions

- check the validation of the _hwc_winq_mgr at the EINTERN functions
- use the global variable and do not cast the local variable

Change-Id: Ib872bfc84aeafa4d72d279c2b856093ba3052a0e

5 years agoe_hwc: change the order of deinit 75/192275/2
SooChan Lim [Fri, 2 Nov 2018 01:51:47 +0000 (10:51 +0900)]
e_hwc: change the order of deinit

Change-Id: I660fbf368f579336a5dc5951b55d7d5bdb04a29b

5 years agoe_hwc_window_queue: arrange the functions in the file. 69/192269/2
SooChan Lim [Fri, 2 Nov 2018 01:29:21 +0000 (10:29 +0900)]
e_hwc_window_queue: arrange the functions in the file.

Change-Id: Ie7a323fd41174decd7a307b3b7087cdc356bdc3d

5 years agoe_hwc_window_queue: set NULL after un-referencing the object 52/192252/2
SooChan Lim [Thu, 1 Nov 2018 12:03:59 +0000 (21:03 +0900)]
e_hwc_window_queue: set NULL after un-referencing the object

Change-Id: I73e0461bc4676871b9ac1efbaadb0f8c9ed2f3b7

5 years agoe_plane_renderer: don't change pixmap usable in deactivate 01/192201/2
Changyeon Lee [Tue, 30 Oct 2018 05:31:32 +0000 (14:31 +0900)]
e_plane_renderer: don't change pixmap usable in deactivate

if pixmap usable is true when map state is changed to map,
client is immediately showed.
map state should be changed by rendering of client.

Change-Id: Iecbc66dba92f40c70adb1768962a1f31a253adff

5 years agoMakefile: enlightenment_info requires both -fPIE and -pie compile options, even if... 80/190880/4
Gwanglim Lee [Mon, 8 Oct 2018 08:00:37 +0000 (17:00 +0900)]
Makefile: enlightenment_info requires both -fPIE and -pie compile options, even if it is building for TV profile.

Change-Id: Iac8c25573ae88d207387e4392feb7ab9d2a5fbcc

5 years agoe_info_client: modify proc description 89/190189/10
Juyeon Lee [Fri, 28 Sep 2018 05:15:17 +0000 (14:15 +0900)]
e_info_client: modify proc description

by this commit, enlightenment_info provides
options in alphabetic order
options to be categorized in 3 groups
(1. log trace, 2.information print out, 3.execution requests for enlightenment)

Change-Id: Ic9fcfe0259b55bbd722a657ec3246640d32da571

5 years agoe_policy_visibility: add a E_VIS_ICONIFY_STATE_RUNNING_UNICONIFY_RENDER_DONE state 67/191767/6 submit/tizen/20181030.101450
Doyoun Kang [Tue, 23 Oct 2018 08:49:25 +0000 (17:49 +0900)]
e_policy_visibility: add a E_VIS_ICONIFY_STATE_RUNNING_UNICONIFY_RENDER_DONE state

There was a bug that the window which was pending uniconify by visibility didn't raise
even if it requested to activate.

[TOP] A win -> B win(32bit) -> C win [BOTTOM]

Above window stack,
when "A win" request to lower, then "B win" and "C win" are running uniconify_pending with
not_raise flag.
After "C win" is rendered, its internal state changed to E_VIS_ICONIFY_STATE_UNICONIC.
But e_client_uniconify() is not called because e is waiting for rendering of "B win".

In this time, if "C win" requests to activate, then this request is not added to pending list
because the state of "C win" is E_VIS_ICONIFY_STATE_UNICONIC.

As a result of this, the window stack is changed as below.
[TOP] B win(32bit) -> C win -> A win [BOTTOM]

But, the expected stack is as below.
[TOP] C win -> B win(32bit) -> A win [BOTTOM]

To fix this problem, we add a additional state - E_VIS_ICONIFY_STATE_RUNNING_UNICONIFY_RENDER_DONE.
It means that the window is rendered, but it remains iconic state.
So, the activate request of "C win" is added to the pending list in above case.

The E_VIS_ICONIFY_STATE_RUNNING_UNICONIFY_RENDER_DONE state
is changed to E_VIS_ICONIFY_STATE_UNICONIC after all pending windows are rendered.

Change-Id: I3fff995dbbad7f438e952616bc6840e7a92e2424

5 years agoe_hwc_window: reduce the unnecessary code 06/190806/6
SooChan Lim [Fri, 5 Oct 2018 10:28:31 +0000 (19:28 +0900)]
e_hwc_window: reduce the unnecessary code

Change-Id: Ie8778cd9eeb2ad9716a2042717b992b4e60fb222
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
5 years agoe_hwc_windows: refactor the _e_hwc_windows_accept function 18/191818/3
SooChan Lim [Wed, 24 Oct 2018 07:15:38 +0000 (16:15 +0900)]
e_hwc_windows: refactor the _e_hwc_windows_accept function

- split two functions below.
_e_hwc_windows_validated_changes_update
_e_hwc_windows_accept

- if there is no composition changes after validation,
  do not call the _e_hwc_windows_validated_changes_update

Change-Id: Id78635bec1a46418f10e790ef6428d8ea5f3b26c
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
5 years agoe_hwc_windows: update the states of the visible windows at the windows_changes_update 16/191816/3
SooChan Lim [Wed, 24 Oct 2018 06:52:15 +0000 (15:52 +0900)]
e_hwc_windows: update the states of the visible windows at the windows_changes_update

Change-Id: Ic9f62d82a726a1de75b5c7a5256381a96151c8e4
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
5 years agoe_hwc_window: update the composition_types at e_hwc_window_state_set 14/191814/3
SooChan Lim [Wed, 24 Oct 2018 06:39:04 +0000 (15:39 +0900)]
e_hwc_window: update the composition_types at e_hwc_window_state_set

Change-Id: I88e5a826d9d772edc8dc1b08969d348e291e00e2
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
5 years agoe_hwc_windows: update hwc_mode and state of target window in case not accept 68/191568/3
Changyeon Lee [Thu, 18 Oct 2018 12:26:47 +0000 (21:26 +0900)]
e_hwc_windows: update hwc_mode and state of target window in case not accept

target window should be set by DEVICE type for transition

Change-Id: I13d65fa189ea2d05b924b7d8c7ebbe933cb30579
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
5 years agoe_hwc_window: initialize accepted state of target window to DEVICE. 66/191566/5
Changyeon Lee [Thu, 18 Oct 2018 12:19:51 +0000 (21:19 +0900)]
e_hwc_window: initialize accepted state of target window to DEVICE.

Change-Id: I1cfba51a32738a9eff3595d203b8abc4fc7dfae9

5 years agoe_hwc_windows: set the zpos at the _e_hwc_windows_visible_windows_update() 64/191064/8
SooChan Lim [Thu, 11 Oct 2018 04:48:45 +0000 (13:48 +0900)]
e_hwc_windows: set the zpos at the _e_hwc_windows_visible_windows_update()

Change-Id: Ieff70ac175e772c6ce1da922913f7ea963fea2b2

5 years agoe_hwc_window: check the hwc_window->ec 43/191043/5
SooChan Lim [Thu, 11 Oct 2018 02:12:33 +0000 (11:12 +0900)]
e_hwc_window: check the hwc_window->ec

e_hwc_window_activate
e_hwc_window_deactivate

Change-Id: I9ab48ba2ec7685757c08f8bb83faadfe31f5a4cf

5 years agoe_hwc_windows: change the name of the static function 94/190794/7
SooChan Lim [Fri, 5 Oct 2018 08:43:07 +0000 (17:43 +0900)]
e_hwc_windows: change the name of the static function

Change-Id: Ie64793d2fa70dbc23653cf4582b0f9bcdc158e90

5 years agoe_hwc_window: add e_hwc_window_device_state_available_check 61/190761/5
SooChan Lim [Fri, 5 Oct 2018 06:48:37 +0000 (15:48 +0900)]
e_hwc_window: add e_hwc_window_device_state_available_check

Change-Id: I241587e7c14869c408853949e6829855cca9e117

5 years agoe_hwc_windows: set the states in _e_hwc_windows_states_evaluate function 58/190758/5
SooChan Lim [Fri, 5 Oct 2018 06:29:43 +0000 (15:29 +0900)]
e_hwc_windows: set the states in _e_hwc_windows_states_evaluate function

refactor the _e_hwc_windows_states_evaluate()
The comopsition update has to be done in this function and
let the libtdm know the composition type of the tdm_hwc_windows

Change-Id: I727060868bd434b7350f8066b3450f72e91cc86f

5 years agoe_hwc_windows: remove _e_hwc_windows_composition_evaluate 44/190744/5
SooChan Lim [Fri, 5 Oct 2018 05:00:35 +0000 (14:00 +0900)]
e_hwc_windows: remove _e_hwc_windows_composition_evaluate

Change-Id: I3d316dbb9019bd4feaba5756696bb796b69f5878

5 years agoe_hwc_windows: remove the transition at hwc 58/190658/7
SooChan Lim [Fri, 5 Oct 2018 02:55:50 +0000 (11:55 +0900)]
e_hwc_windows: remove the transition at hwc

The transition at hwc is not used.

Change-Id: Ib23a0e682426ebfccef7ede5628a4aa4afa24211

5 years agoe_hwc_windows: remove two static functions 43/190743/4
SooChan Lim [Fri, 5 Oct 2018 02:38:08 +0000 (11:38 +0900)]
e_hwc_windows: remove two static functions

and reduce the for-loop interatrion

Change-Id: I141be389799c7675e523183e44fb47003fc6fb62

5 years agoe_hwc_window: replace api. 42/190742/4
SooChan Lim [Fri, 5 Oct 2018 02:29:58 +0000 (11:29 +0900)]
e_hwc_window: replace api.

replace e_hwc_window_render_target_set to
e_hwc_window_render_target_update

Change-Id: Iab754b3544516c9030738b65098458a7b104865d

5 years agoe_hwc_window: change the constraints api. 41/190741/4
SooChan Lim [Fri, 5 Oct 2018 01:38:35 +0000 (10:38 +0900)]
e_hwc_window: change the constraints api.

change the e_hwc_window_constraints_set to
e_hwc_window_constraints_update

Change-Id: I0e37efef39724e34b3b16014d64550c971bbc3ba

5 years agoe_hwc_windows: remove _e_hwc_windows_activation_states_update 40/190740/4
SooChan Lim [Thu, 4 Oct 2018 11:31:09 +0000 (20:31 +0900)]
e_hwc_windows: remove _e_hwc_windows_activation_states_update

for reducing the for-loop iterartion of the hwc_windows

Change-Id: I345421733c68ecf787e9e0dc4adb6fe8e77757e6

5 years agoenlightenment_info: add an information for map state 14/191514/5
Doyoun Kang [Thu, 18 Oct 2018 00:32:31 +0000 (09:32 +0900)]
enlightenment_info: add an information for map state

Change-Id: I0830ff6d57d7fa247a1985b02f8b36bc4d79ae0f

5 years agoe_comp: job handler(_cb_update) make no update if ec pixmap size is wrong 22/191622/3
Juyeon Lee [Fri, 19 Oct 2018 05:31:48 +0000 (14:31 +0900)]
e_comp: job handler(_cb_update) make no update if ec pixmap size is wrong

if commit wl_buffer is null buffer attached(means explicit hide request)
or if commit wl_buffer is invalid,
than cw object make no updates and let it as it is.
if server make cw object unredirected in above condition, as a result
it never updated on screen on show request, due to unredirect condition.

Change-Id: I4003d360982ed5e821012ff5bd6ba2ac72ba875e

5 years agoe_policy_visibility: check map state of above window in _e_policy_check_above_alpha_o... 28/191928/1
Doyoun Kang [Thu, 25 Oct 2018 12:36:25 +0000 (21:36 +0900)]
e_policy_visibility: check map state of above window in _e_policy_check_above_alpha_opaque

There was a bug that a window which was obscured by alpha opaque window was iconified.

[TOP] A win (32bit) -> B win (unmapped) -> C win [BOTTOM]
If "A win" change its opaque state to true, we expect that "C win" maintain unicoic state
and just change visibility value to fully-obscured.

But, there was no check code to above window's map state, "C win" was changed to iconic
and fully-obscured.

This patch fixes this problem.

Change-Id: I450521110681929ddf7898eea30db685e7a8609a

5 years agoe_xdg_shell_v6: check null for shell resources 17/191917/2
Juyeon Lee [Thu, 25 Oct 2018 08:54:01 +0000 (17:54 +0900)]
e_xdg_shell_v6: check null for shell resources

sometimes, zxdg shell destroy is made at the same time of conifugration changes
   zxdg_toplevel_v6_destroy() --> To destroy zxdg_toplevel_v6 resource.
   tizen_policy_lower()  --> to generate configure event from enlightenment

Change-Id: I0e2a960313da4a78d181c8878b8fa6e5985455d4

5 years agoe_policy_visibility: fix bug for changing iconic state incorrectly 48/191448/1
Doyoun Kang [Wed, 17 Oct 2018 07:53:24 +0000 (16:53 +0900)]
e_policy_visibility: fix bug for changing iconic state incorrectly

There was a bug that the fully obscured window was uniconified and iconified as below case.

[top] alpha-opaque window -> A win -> B win -> C win [bottom]

In above stack, when "B win" is lowered/hidden, then "C win" is changed to uniconic and iconic
state for a moment.
We fixed code not to change iconic state.

Change-Id: Ibd742f972c9b189e28185837eee85db0a941fdad

5 years agoe_devicemgr: do not query input devices when initializing devicemgr 40/191340/1 submit/tizen/20181016.083927
JengHyun Kang [Tue, 16 Oct 2018 06:46:29 +0000 (15:46 +0900)]
e_devicemgr: do not query input devices when initializing devicemgr

Change-Id: I634277a92b5411cedab6be4048c0bbae4ca8526b

5 years agoe_policy_visibility: check the ec's force_obscured flag in _e_vis_ec_activity_check() 17/191117/1 accepted/tizen/5.0/unified/20181102.024347 accepted/tizen/unified/20181012.083507 submit/tizen/20181011.124722 submit/tizen_5.0/20181101.000006
Doyoun Kang [Thu, 11 Oct 2018 10:52:31 +0000 (19:52 +0900)]
e_policy_visibility: check the ec's force_obscured flag in _e_vis_ec_activity_check()

There was a bug that the force_obscured window was uniconified and resumed by a pre-unobscured
visibility event as below sequence.

e_policy_visibility_client_lower/hide/iconify() -> _e_vis_ec_below_uniconify()

While handling _e_vis_ec_below_uniconify(), we need checking the force_obscured flag of a below ec
to skip uniconify it.
So, we add checking code in _e_vis_ec_activity_check().

Change-Id: I09485c6ef091e3459fb05496fdc04d61e50cbe69

5 years agoe_policy_visibility: fix bug for sending pre-unobsucred event 96/190896/2 submit/tizen/20181010.230904
Doyoun Kang [Mon, 8 Oct 2018 10:51:40 +0000 (19:51 +0900)]
e_policy_visibility: fix bug for sending pre-unobsucred event

There was a bug that the pre-unobscured event was sent to the window which was
obscured by alpha-opaque window.

[top] alpha-opaque window -> A win -> B win [bottom]

In above stack, when "A win" is lowered/hidden, then "B win" is chagned to uniconic
and must maintain its visibility to fully-obscured.
So, e must not send a pre-unobscured event to "B win".

But before this patch, e sent a pre-unobscured event to "B win".
We fixes this bug.

Change-Id: If6835790442d619ec0aac2dfa1659e5f0f96729a

5 years agoe_plane_renderer: avoid window map again for unwanted app 17/190817/3 accepted/tizen/unified/20181007.233057 submit/tizen/20181005.112645
Gwanglim Lee [Fri, 5 Oct 2018 11:22:52 +0000 (20:22 +0900)]
e_plane_renderer: avoid window map again for unwanted app

Change-Id: I856c1f4bdacbd670226ef745690565adb666c4af

5 years agoe_comp_wl_shell: check iconify by client before sending pre-unobscured event 48/190648/1
Doyoun Kang [Thu, 4 Oct 2018 10:35:54 +0000 (19:35 +0900)]
e_comp_wl_shell: check iconify by client before sending pre-unobscured event

There was a bug that the iconic window got the pre-unobscured visibility event when it requested to map window.
In this case, e doesn't send the pre-unobsucred event because its window is in iconic state.

Change-Id: I7d42ef99117c1e07756e4d05ebafe32ba2e6c106

5 years agoe_comp_wl: fix dereference after null check 98/190398/1 accepted/tizen/unified/20181002.093320 accepted/tizen/unified/20181005.012431 submit/tizen/20181001.111053 submit/tizen/20181004.045459
Juyeon Lee [Mon, 1 Oct 2018 11:36:52 +0000 (20:36 +0900)]
e_comp_wl: fix dereference after null check

Change-Id: Icd302ae9a7be0ceddaaa9f4e18c2dc017e09afd9

5 years agoe_hwc_windows: remove e_hwc_windows_get function 92/190392/5
SooChan Lim [Mon, 1 Oct 2018 10:35:11 +0000 (19:35 +0900)]
e_hwc_windows: remove e_hwc_windows_get function

Change-Id: I06988349e125def6202d974350a6de45f8c87aac

5 years agoe_hwc_windows: refactor _e_hwc_windows_evaluate(). 89/190389/6
SooChan Lim [Mon, 1 Oct 2018 10:07:09 +0000 (19:07 +0900)]
e_hwc_windows: refactor _e_hwc_windows_evaluate().

Change-Id: Iccc36c58746e0d581afc2544a80ac77802adc4cd

5 years agoe_hwc_windows: change some symbol name 88/190388/3
SooChan Lim [Mon, 1 Oct 2018 09:52:19 +0000 (18:52 +0900)]
e_hwc_windows: change some symbol name

Change-Id: Ic755daeac40176ad9296feaeed01e064ad93a3b7

5 years agoe_hwc_windows: change some logs 87/190387/3
SooChan Lim [Mon, 1 Oct 2018 09:41:52 +0000 (18:41 +0900)]
e_hwc_windows: change some logs

Change-Id: I56ff4674dcf6a6cbb53034b8f23bd83e79d5115c

5 years agoe_hwc_windows: put the windows iteration in _e_hwc_windows_offscreen_commit() 86/190386/3
SooChan Lim [Mon, 1 Oct 2018 09:39:49 +0000 (18:39 +0900)]
e_hwc_windows: put the windows iteration in _e_hwc_windows_offscreen_commit()

Change-Id: Ie9f3809504b0d8ce4f37e1e44b24dd758084a2bb

5 years agoe_hwc_windows: remove the visible_windows_list at the function parameter 85/190385/3
SooChan Lim [Mon, 1 Oct 2018 08:12:24 +0000 (17:12 +0900)]
e_hwc_windows: remove the visible_windows_list at the function parameter

get the visible_windows from the hwc->windows when the
function needs it.

Change-Id: I1d91560f21eeb9ac1ad88658e93ec77916925556

5 years agoe_hwc_windows: remove _e_hwc_windows_compsitions_update function 84/190384/3
SooChan Lim [Mon, 1 Oct 2018 07:54:20 +0000 (16:54 +0900)]
e_hwc_windows: remove _e_hwc_windows_compsitions_update function

reduce the iteration of the visible_windows

Change-Id: Id4e15b1694fa0c3e7c08f99e1456a197785b90a1

5 years agoe_hwc_windows: move the acceptable_check code 83/190383/2
SooChan Lim [Mon, 1 Oct 2018 07:36:00 +0000 (16:36 +0900)]
e_hwc_windows: move the acceptable_check code

move the acceptable_check code into the
 _e_hwc_windows_states_evaluate function

Change-Id: I3d176a56039ff622dae2d7abfe9bd3b223943b69

5 years agoe_hwc_windows: change the condition to check the gl_composite. 82/190382/2
SooChan Lim [Mon, 1 Oct 2018 07:18:58 +0000 (16:18 +0900)]
e_hwc_windows: change the condition to check the gl_composite.

Change-Id: Ia5b5f0cf4137ff1225b7dd8b47b80997c0ab7cb4

5 years agoe_client: check input regions before send touch cancel event 96/190396/1
JengHyun Kang [Mon, 1 Oct 2018 11:06:01 +0000 (20:06 +0900)]
e_client: check input regions before send touch cancel event

Change-Id: I501bf9e86ccf5e9414df8665b6a0b7a2960529dd

5 years agoe_hwc_window: change the tdm_hwc_window symbol and some name 91/190291/3
SooChan Lim [Mon, 1 Oct 2018 00:23:09 +0000 (09:23 +0900)]
e_hwc_window: change the tdm_hwc_window symbol and some name

change the tdm_hwc_window_get_preparations to the tdm_hwc_window_get_constraints
change the preparation to the constraint

Change-Id: I854b013a3845dadafcd47b5372caf58c4735745c

5 years agoe_hwc_windows: add _e_hwc_windows_release_commit_data() 00/190200/2
SooChan Lim [Fri, 28 Sep 2018 06:11:15 +0000 (15:11 +0900)]
e_hwc_windows: add _e_hwc_windows_release_commit_data()

Change-Id: If50cc4cc4bb0ffdb87cad013050c7a568ea941c8

5 years agoe_hwc_windows: add _e_hwc_windows_aquire_commit_data() 99/190199/2
SooChan Lim [Fri, 28 Sep 2018 06:08:00 +0000 (15:08 +0900)]
e_hwc_windows: add _e_hwc_windows_aquire_commit_data()

Change-Id: Ia5e06e319e0af927036ffcd5760793c2bb128453

5 years agoe_hwc_windows: fix the wrong parameter 98/190198/2
SooChan Lim [Fri, 28 Sep 2018 06:00:06 +0000 (15:00 +0900)]
e_hwc_windows: fix the wrong parameter

Change-Id: If771cf79f3a61bf49b6cba8ad777f1c3c481e435

5 years agoe_devicemgr: support a subclass device change event 43/189443/2 accepted/tizen/unified/20180927.174508 submit/tizen/20180927.080107
JengHyun Kang [Tue, 18 Sep 2018 01:01:28 +0000 (10:01 +0900)]
e_devicemgr: support a subclass device change event

Change-Id: I987e531d7f8aef82434473e612b9ca9e735616cf

5 years agoe_plane: set rederer to commit data in case unset commit 39/189839/2 accepted/tizen/unified/20180927.073805 submit/tizen/20180927.045229
Changyeon Lee [Fri, 21 Sep 2018 05:35:36 +0000 (14:35 +0900)]
e_plane: set rederer to commit data in case unset commit

Change-Id: I2a6a4bb185e661bb5bc8c31c8deb801df289331e

5 years agoe_hwc_windows: change some comment 03/189403/4
SooChan Lim [Mon, 17 Sep 2018 10:45:34 +0000 (19:45 +0900)]
e_hwc_windows: change some comment

Change-Id: Id96989dfc393546e6258a2eb73d6d95986b8963f

5 years agoe_hwc_window: get the visible windows in the _e_hwc_windows_visible_windows_updates 77/189377/5
SooChan Lim [Mon, 17 Sep 2018 08:52:24 +0000 (17:52 +0900)]
e_hwc_window: get the visible windows in the _e_hwc_windows_visible_windows_updates

Change-Id: I720253ba7815ced1b956a646b12cada973bf5e04

5 years agoe_hwc_window: make a static function. 61/189361/3
SooChan Lim [Mon, 17 Sep 2018 07:58:50 +0000 (16:58 +0900)]
e_hwc_window: make a static function.

e_hwc_window_target_window_ee_rendered_hw_list_get function is not
used outside the file

Change-Id: Ib44c69c9f637102a392d687057e4f73a8ddadccb

5 years agoe_hwc_window: fix the typo 58/189358/4
SooChan Lim [Mon, 17 Sep 2018 07:49:11 +0000 (16:49 +0900)]
e_hwc_window: fix the typo

Change-Id: I38de4e3e7297a87ebdd501a7064623562a6f94ce

5 years agoe_comp_object: check not_raise of ec when defer_focus_set in show_helper 95/189595/5 accepted/tizen/unified/20180919.142043 submit/tizen/20180919.095245
JunSeok, Kim [Wed, 19 Sep 2018 05:04:41 +0000 (14:04 +0900)]
e_comp_object: check not_raise of ec when defer_focus_set in show_helper

There was a bug with uniconify by window manager.
Uniconified window by wm takes focus from window that really needs the focus.
So, check ec's not_raise flag to prevent this situation during defer_focus set in show sequence.

Change-Id: Ieb2fbe973c882939b5e85d41fe5ea28f91cd70f1

5 years agoe_client: Added function for check above ec has focus 94/189594/4
JunSeok, Kim [Wed, 19 Sep 2018 05:04:05 +0000 (14:04 +0900)]
e_client: Added function for check above ec has focus

Change-Id: I7fdea6d0f594c6840563ac7da2318ce2891b3b45

5 years agoe_info: print dump buffers directory name 09/189509/1
Junkyeong Kim [Tue, 18 Sep 2018 08:20:18 +0000 (17:20 +0900)]
e_info: print dump buffers directory name

Change-Id: I2462f3f18783156d8be777a04d564ecb92bec255
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_comp_wl: fix build warning 99/189399/1
Juyeon Lee [Mon, 17 Sep 2018 10:39:21 +0000 (19:39 +0900)]
e_comp_wl: fix build warning

Change-Id: I31f5cb71505643cd5977dfd975cfe52af9374346